Jean-Michel POURE wrote:Attached is a patch that will do what you ask. Or you can use Raphaël's solution. :-)Dear all, To make a portable SRPM (which would rebuild on any platform) we need the ./configure script to search for "--with-pgsql-include" variable in /usr/include and /usr/include/pgsql (without having to specify it).Otherwise, there will be one SRPM for RedHat and Mandrake and another for SuSE 8.2. Could someone kindly modify the ./configure script? Cheers, Jean-Michel Pouré ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend ahp |
--- pgadmin3/acinclude.m4 2003-08-24 20:44:17.000000000 -0400
+++ pgadmin3.new/acinclude.m4 2003-09-10 12:21:26.000000000 -0400
@@ -81,6 +81,15 @@
LIBPQ_HOME=/usr
fi
fi
+ if test -f "/usr/include/libpq-fe.h"
+ then
+ pgsql_include="/usr/include"
+ else
+ if test -f "/usr/include/pgsql/libpq-fe.h"
+ then
+ pgsql_include="/usr/include/pgsql"
+ fi
+ fi
fi
])
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
