--- sql/pgsql/Attic/configure.in 2012/06/09 22:38:25 1.30 +++ sql/pgsql/Attic/configure.in 2013/10/30 16:31:30 1.41 @@ -1,6 +1,6 @@ dnl Autoconf initialisation AC_PREREQ(2.59) -AC_INIT(parser3pgsql.C, 10.3) +AC_INIT(parser3pgsql, 10.5) AC_CONFIG_SRCDIR(parser3pgsql.C) AM_CONFIG_HEADER(config_auto.h) @@ -24,8 +24,10 @@ AC_ARG_WITH(pgsql-inc,[ --with-pgsql-in , AC_MSG_CHECKING(for PGSQL_INC directory) for d in \ - /usr/local/include/postgresql \ + /usr/include \ /usr/include/postgresql \ + /usr/local/include \ + /usr/local/include/postgresql \ /usr/local/pgsql/include ; do PGSQL_INC_CHK($d) done @@ -39,15 +41,6 @@ AC_ARG_WITH(pgsql-inc,[ --with-pgsql-in AC_SUBST(PGSQL_INC) -AC_ARG_WITH(dynamic-stdcpp, [ --with-dynamic-stdcpp link libstdc++ dynamically - by default, libstdc++ is linked statically],[ - LDFLAGS="-lstdc++" -],[ - LDFLAGS="-Wl,-Bstatic -Wl,-lstdc++ -Wl,-Bdynamic" -]) - -AC_SUBST(LDFLAGS) - dnl Checks for programs AC_PROG_INSTALL AC_PROG_CXX @@ -55,12 +48,9 @@ AC_PROG_CC dnl Enable building of the convenience library LT_CONFIG_LTDL_DIR(libltdl) -LT_INIT(dlopen win32-dll) +LT_INIT(disable-static dlopen win32-dll) LTDL_INIT -dnl Configure libtool -AC_DISABLE_STATIC - dnl Checks for libraries dnl Checks for header files