Skip site navigation (1) Skip section navigation (2)

SVN Commit by dpage: r4703 - trunk/pgadmin3

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r4703 - trunk/pgadmin3
Date: 2005-11-08 08:40:05
Message-ID: 200511080840.jA88e54V009809@developer.pgadmin.org (view raw or flat)
Thread:
Lists: 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

Next:From: Florian G. PflugDate: 2005-11-08 12:26:17
Subject: Re: SVN Commit by dpage: r4685 - trunk/pgadmin3
Previous:From: Dave PageDate: 2005-11-08 08:12:33
Subject: Re: Fatal Error: Mismatch ... C++ ABI ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group