Remove -lcompat because it confuses FreeBSD per bug#15.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 13 Sep 2013 09:11:55 +0000 (18:11 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 13 Sep 2013 09:11:55 +0000 (18:11 +0900)
configure
configure.in
src/include/config.h.in

index 3c3025f184f044d304c2de5c72abc163e9115ca3..8c360551efda40937be3346a2852ea7cbd8bf6a5 100755 (executable)
--- 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 :
index 9df2a927b4c5b277e08ec327ee93f4ec1827bf94..a28a5b7ec7c9e30f34400893b05a336df00753fd 100644 (file)
@@ -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)
index a0926d7f87985e5a507c2ee588977548c2cc5025..c578dd9e4d7700ff2575943f50d4fd1c4eed03d2 100644 (file)
@@ -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