X-Git-Url: http://www.andromeda.nl/gitweb/?a=blobdiff_plain;f=configure.in;h=f7ee27b7480a626b4d6424495c1ca3cac39f283e;hb=ee198da02877cf3afeec618db265a132e97d0439;hp=cc36f33787a945b02dfb7e7122fcff7ba37a90f1;hpb=be94362cd5511ad727c8ac6a04f83bd465a5cf7f;p=gnucomo.git diff --git a/configure.in b/configure.in index cc36f33..f7ee27b 100644 --- a/configure.in +++ b/configure.in @@ -41,14 +41,10 @@ AC_CHECK_LIB(AXE, main, , AC_MSG_ERROR(AXE Library is not installed)) #AC_CHECK_LIB(pthread, pthread_create) AC_CHECK_LIB(xml2, xmlParseFile) -# Find PostgreSQL includes and libraries -AC_PATH_PROGS(PG_CONFIG, pqxx-config) -if test -z "$PG_CONFIG" || test ! -r "$PG_CONFIG"; then - AC_MSG_ERROR([libpqxx configuration script was not found]) -fi -with_postgres_include=`$PG_CONFIG --cflags` +# PostgreSQL includes and libraries +with_postgres_include="-I/usr/include/pqxx" AC_MSG_NOTICE([using PostgreSQL headers at $with_postgres_include]) -with_postgres_lib=`$PG_CONFIG --libs` +with_postgres_lib="-lpqxx -lpq" AC_MSG_NOTICE([using PostgreSQL libraries at $with_postgres_lib]) AC_SUBST(with_postgres_lib) @@ -93,4 +89,4 @@ dnl Edit this to be your web server's document root DocumentRoot=/var/www/html #AC_OUTPUT(Makefile src/Makefile src/lib/Makefile src/gcm_input/Makefile src/web/Makefile) -AC_OUTPUT(Makefile src/Makefile src/lib/Makefile src/gcm_input/Makefile) +AC_OUTPUT(Makefile src/Makefile src/lib/Makefile src/gcm_input/Makefile test/Makefile)