SVN Commit by dpage: r4703 - trunk/pgadmin3 - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by dpage: r4703 - trunk/pgadmin3
Date
Msg-id 200511080840.jA88e54V009809@developer.pgadmin.org
Whole thread Raw
List pgadmin-hackers
Author: dpage
Date: 2005-11-08 08:40:04 +0000 (Tue, 08 Nov 2005)
New Revision: 4703

Modified:
   trunk/pgadmin3/acinclude.m4
Log:
Don't forget to set WX_CONFIG and PG_CONFIG if --with-wx or --with-pgsql are used


Modified: trunk/pgadmin3/acinclude.m4
===================================================================
--- trunk/pgadmin3/acinclude.m4    2005-11-07 22:06:33 UTC (rev 4702)
+++ trunk/pgadmin3/acinclude.m4    2005-11-08 08:40:04 UTC (rev 4703)
@@ -41,7 +41,13 @@
         if test "$withval" != no
         then
             WX_HOME="$withval"
+                        if test ! -f "${WX_HOME}/bin/wx-config"
+                        then
+                                AC_MSG_ERROR([Could not find your wxWidgets installation in ${WX_HOME}])
+                        fi
+
         fi
+        WX_CONFIG=${WX_HOME}/bin/wx-config
     ],
     [
         WX_HOME=/usr/local/wx2
@@ -71,7 +77,13 @@
         if test "$withval" != no
         then
             PG_HOME="$withval"
+                        if test ! -f "${PG_HOME}/bin/pg_config"
+                        then
+                                AC_MSG_ERROR([Could not find your PostgreSQL installation in ${PG_HOME}])
+                        fi
+
         fi
+        PG_CONFIG=${PG_HOME}/bin/pg_config
     ],
     [
         PG_HOME=/usr/local/pgsql
@@ -347,4 +359,4 @@
         echo "Building a Mac OS X appbundle:       No"
     fi
     echo
-])
\ No newline at end of file
+])


pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Fatal Error: Mismatch ... C++ ABI ...
Next
From: "Florian G. Pflug"
Date:
Subject: Re: SVN Commit by dpage: r4685 - trunk/pgadmin3