X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=blobdiff_plain;f=configure.in;h=f7ee27b7480a626b4d6424495c1ca3cac39f283e;hp=0b57e300da73c66946442249527630419183a464;hb=ee198da02877cf3afeec618db265a132e97d0439;hpb=88da6a0adecc179c4b0d4de4d6354fc288102174 diff --git a/configure.in b/configure.in index 0b57e30..f7ee27b 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/gcm_input/message.h) -AM_INIT_AUTOMAKE(GnuCoMo, 0.0.9) +AM_INIT_AUTOMAKE(GnuCoMo, 0.0.10) dnl Checks for programs. @@ -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)