Maintenance update for automake and PHP.
[gnucomo.git] / configure.in
diff --git a/configure.in b/configure.in
deleted file mode 100644 (file)
index 8a70d5a..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT(src/gcm_input/message.h)
-AM_INIT_AUTOMAKE(GnuCoMo, 0.0.10)
-
-
-dnl Checks for programs.
-AC_PROG_CC
-AC_PROG_CXX
-AC_PROG_CPP
-AM_PROG_LEX
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_RANLIB
-AC_PROG_YACC
-AC_PROG_AWK
-
-AC_PATH_PROG(XML_CONFIG,xml2-config,no)
-
-if test $XML_CONFIG = "no"
-then
-   echo "XML library not found (see http://xmlsoft.org/)."
-   exit 1;
-fi
-
-
-dnl Checks for libraries.
-AC_PATH_XTRA
-
-XML_CFLAGS=`$XML_CONFIG --cflags`
-XML_LFLAGS=`$XML_CONFIG --libs`
-
-LIBS="$LIBS $X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
-LIBS="$LIBS $XML_LFLAGS"
-#LIBS="$LIBS -L/usr/local/lib $XML_LFLAGS"
-CFLAGS="$CFLAGS $X_CFLAGS $XML_CFLAGS "
-CXXFLAGS="$CXXFLAGS  -Wno-deprecated $X_CFLAGS $XML_CFLAGS"
-
-AC_CHECK_LIB(AXE, main, , AC_MSG_ERROR(AXE Library is not installed))
-#AC_CHECK_LIB(X11, XOpenDisplay)
-#AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData)
-#AC_CHECK_LIB(pthread, pthread_create)
-AC_CHECK_LIB(xml2, xmlParseFile)
-
-# PostgreSQL includes and libraries
-with_postgres_include="-I/usr/include/pqxx"
-AC_MSG_NOTICE([using PostgreSQL headers at $with_postgres_include])
-with_postgres_lib="-lpqxx -lpq"
-AC_MSG_NOTICE([using PostgreSQL libraries at $with_postgres_lib])
-
-AC_SUBST(with_postgres_lib)
-AC_SUBST(with_postgres_include)
-POSTGRES_LIB="${with_postgres_lib}"
-AC_SUBST(POSTGRES_LIB)
-POSTGRES_INCLUDE="${with_postgres_include}"
-AC_SUBST(POSTGRES_INCLUDE)
-
-
-# Checks for libraries.
-AC_CHECK_LIB([pq], [PQexec], [], [AC_MSG_ERROR([Failed to find a suitable libpq.
-
-PostgreSQL's libpq needs to be installed.
-Perhaps you need to specify --with-postgres-lib?
-])], -L${with_postgres_lib})
-
-
-CXXFLAGS="$CXXFLAGS $POSTGRES_INCLUDE"
-LIBS="$LIBS $POSTGRES_LIB"
-
-#
-#  There is no convenient way to detect libpqxx, so we'll
-#  use fixed paths for the time being.
-
-#CXXFLAGS="$CXXFLAGS -I/usr/local/pqxx/include"
-#LIBS="$LIBS -L/usr/local/pqxx/lib -lpqxx"
-
-dnl Checks for header files.
-AC_HEADER_DIRENT
-AC_HEADER_STDC
-AC_CHECK_HEADERS(unistd.h)
-
-dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-
-dnl Checks for library functions.
-AC_CHECK_FUNCS(strtod strtol strtoul)
-
-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 test/Makefile)