pgpool2.git / summary / log / commit / refs
commit 993e6d4f2ef8f51e2a8db1fb222a7b1390e3a654
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: Fri Sep 13 09:11:55 2013 +0000
Remove -lcompat because it confuses FreeBSD per bug#15.
configure | 39 ---------------------------------------
configure.in | 1 -
src/include/config.h.in | 3 ---
3 files changed, 43 deletions(-)
diff --git a/configure b/configure
index 3c3025f18..8c360551e 100755
--- a/configure
+++ b/configure
@@ -12223,45 +12223,6 @@ _ACEOF
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcompat" >&5
-$as_echo_n "checking for main in -lcompat... " >&6; }
-if test "${ac_cv_lib_compat_main+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcompat $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-
-int
-main ()
-{
-return main ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_compat_main=yes
-else
- ac_cv_lib_compat_main=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compat_main" >&5
-$as_echo "$ac_cv_lib_compat_main" >&6; }
-if test "x$ac_cv_lib_compat_main" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBCOMPAT 1
-_ACEOF
-
- LIBS="-lcompat $LIBS"
-
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lBSD" >&5
$as_echo_n "checking for main in -lBSD... " >&6; }
if test "${ac_cv_lib_BSD_main+set}" = set; then :
diff --git a/configure.in b/configure.in
index 9df2a927b..a28a5b7ec 100644
--- a/configure.in
+++ b/configure.in
@@ -59,7 +59,6 @@ AC_CHECK_LIB(socket, main)
AC_CHECK_LIB(ipc, main)
AC_CHECK_LIB(IPC, main)
AC_CHECK_LIB(lc, main)
-AC_CHECK_LIB(compat, main)
AC_CHECK_LIB(BSD, main)
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
diff --git a/src/include/config.h.in b/src/include/config.h.in
index a0926d7f8..c578dd9e4 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -49,9 +49,6 @@
/* Define to 1 if you have the `BSD' library (-lBSD). */
#undef HAVE_LIBBSD
-/* Define to 1 if you have the `compat' library (-lcompat). */
-#undef HAVE_LIBCOMPAT
-
/* Define to 1 if you have the `crypt' library (-lcrypt). */
#undef HAVE_LIBCRYPT
[parent: 5cc53d87b6c5]