Skip to content
Snippets Groups Projects
Commit 4da36853 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Revert irix change to suppress configure warnings.

parent 5c1cfb5f
No related branches found
No related tags found
No related merge requests found
...@@ -4293,84 +4293,25 @@ _ACEOF ...@@ -4293,84 +4293,25 @@ _ACEOF
fi fi
   
fi fi
# Irix has nsl, socket, gen, and sun in its libc, but also
# keeps separate libs around for backwords compatibility.
# Using them creates warnings in config.log. This test quiets that.
# See also: http://freeware.sgi.com/howto.html
if test "$PORTNAME" != "irix"
then
   
echo "$as_me:$LINENO: checking for main in -lnsl" >&5 echo "$as_me:$LINENO: checking for setproctitle in -lutil" >&5
echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6 echo $ECHO_N "checking for setproctitle in -lutil... $ECHO_C" >&6
if test "${ac_cv_lib_nsl_main+set}" = set; then if test "${ac_cv_lib_util_setproctitle+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lnsl $LIBS" LIBS="-lutil $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
   
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef F77_DUMMY_MAIN
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
#endif #endif
int F77_DUMMY_MAIN() { return 1; } /* We use char because int might match the return type of a gcc2
#endif builtin and then its argument prototype would still apply. */
int char setproctitle ();
main ()
{
main ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_nsl_main=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_nsl_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
if test $ac_cv_lib_nsl_main = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBNSL 1
_ACEOF
LIBS="-lnsl $LIBS"
fi
echo "$as_me:$LINENO: checking for main in -lsocket" >&5
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
if test "${ac_cv_lib_socket_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN #ifdef F77_DUMMY_MAIN
# ifdef __cplusplus # ifdef __cplusplus
extern "C" extern "C"
...@@ -4380,7 +4321,7 @@ cat >conftest.$ac_ext <<_ACEOF ...@@ -4380,7 +4321,7 @@ cat >conftest.$ac_ext <<_ACEOF
int int
main () main ()
{ {
main (); setproctitle ();
; ;
return 0; return 0;
} }
...@@ -4397,34 +4338,34 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ...@@ -4397,34 +4338,34 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_lib_socket_main=yes ac_cv_lib_util_setproctitle=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_cv_lib_socket_main=no ac_cv_lib_util_setproctitle=no
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5 echo "$as_me:$LINENO: result: $ac_cv_lib_util_setproctitle" >&5
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6 echo "${ECHO_T}$ac_cv_lib_util_setproctitle" >&6
if test $ac_cv_lib_socket_main = yes; then if test $ac_cv_lib_util_setproctitle = yes; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBSOCKET 1 #define HAVE_LIBUTIL 1
_ACEOF _ACEOF
   
LIBS="-lsocket $LIBS" LIBS="-lutil $LIBS"
   
fi fi
   
   
echo "$as_me:$LINENO: checking for main in -lgen" >&5 echo "$as_me:$LINENO: checking for main in -lm" >&5
echo $ECHO_N "checking for main in -lgen... $ECHO_C" >&6 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
if test "${ac_cv_lib_gen_main+set}" = set; then if test "${ac_cv_lib_m_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lgen $LIBS" LIBS="-lm $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
...@@ -4456,47 +4397,39 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ...@@ -4456,47 +4397,39 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_lib_gen_main=yes ac_cv_lib_m_main=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_cv_lib_gen_main=no ac_cv_lib_m_main=no
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_main" >&5 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
echo "${ECHO_T}$ac_cv_lib_gen_main" >&6 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
if test $ac_cv_lib_gen_main = yes; then if test $ac_cv_lib_m_main = yes; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBGEN 1 #define HAVE_LIBM 1
_ACEOF _ACEOF
   
LIBS="-lgen $LIBS" LIBS="-lm $LIBS"
fi
   
fi fi
   
   
echo "$as_me:$LINENO: checking for setproctitle in -lutil" >&5 echo "$as_me:$LINENO: checking for main in -ldl" >&5
echo $ECHO_N "checking for setproctitle in -lutil... $ECHO_C" >&6 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
if test "${ac_cv_lib_util_setproctitle+set}" = set; then if test "${ac_cv_lib_dl_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lutil $LIBS" LIBS="-ldl $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
   
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char setproctitle ();
#ifdef F77_DUMMY_MAIN #ifdef F77_DUMMY_MAIN
# ifdef __cplusplus # ifdef __cplusplus
extern "C" extern "C"
...@@ -4506,7 +4439,7 @@ char setproctitle (); ...@@ -4506,7 +4439,7 @@ char setproctitle ();
int int
main () main ()
{ {
setproctitle (); main ();
; ;
return 0; return 0;
} }
...@@ -4523,34 +4456,34 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ...@@ -4523,34 +4456,34 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_lib_util_setproctitle=yes ac_cv_lib_dl_main=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_cv_lib_util_setproctitle=no ac_cv_lib_dl_main=no
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
echo "$as_me:$LINENO: result: $ac_cv_lib_util_setproctitle" >&5 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
echo "${ECHO_T}$ac_cv_lib_util_setproctitle" >&6 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
if test $ac_cv_lib_util_setproctitle = yes; then if test $ac_cv_lib_dl_main = yes; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBUTIL 1 #define HAVE_LIBDL 1
_ACEOF _ACEOF
   
LIBS="-lutil $LIBS" LIBS="-ldl $LIBS"
   
fi fi
   
   
echo "$as_me:$LINENO: checking for main in -lm" >&5 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
if test "${ac_cv_lib_m_main+set}" = set; then if test "${ac_cv_lib_nsl_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS" LIBS="-lnsl $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
...@@ -4582,34 +4515,34 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ...@@ -4582,34 +4515,34 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_lib_m_main=yes ac_cv_lib_nsl_main=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_cv_lib_m_main=no ac_cv_lib_nsl_main=no
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
echo "${ECHO_T}$ac_cv_lib_m_main" >&6 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
if test $ac_cv_lib_m_main = yes; then if test $ac_cv_lib_nsl_main = yes; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBM 1 #define HAVE_LIBNSL 1
_ACEOF _ACEOF
   
LIBS="-lm $LIBS" LIBS="-lnsl $LIBS"
   
fi fi
   
   
echo "$as_me:$LINENO: checking for main in -ldl" >&5 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
if test "${ac_cv_lib_dl_main+set}" = set; then if test "${ac_cv_lib_socket_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6 echo $ECHO_N "(cached) $ECHO_C" >&6
else else
ac_check_lib_save_LIBS=$LIBS ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS" LIBS="-lsocket $LIBS"
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure" #line $LINENO "configure"
#include "confdefs.h" #include "confdefs.h"
...@@ -4641,23 +4574,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ...@@ -4641,23 +4574,23 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$? ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
ac_cv_lib_dl_main=yes ac_cv_lib_socket_main=yes
else else
echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5 cat conftest.$ac_ext >&5
ac_cv_lib_dl_main=no ac_cv_lib_socket_main=no
fi fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS LIBS=$ac_check_lib_save_LIBS
fi fi
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
echo "${ECHO_T}$ac_cv_lib_dl_main" >&6 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
if test $ac_cv_lib_dl_main = yes; then if test $ac_cv_lib_socket_main = yes; then
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define HAVE_LIBDL 1 #define HAVE_LIBSOCKET 1
_ACEOF _ACEOF
   
LIBS="-ldl $LIBS" LIBS="-lsocket $LIBS"
   
fi fi
   
...@@ -5075,6 +5008,65 @@ _ACEOF ...@@ -5075,6 +5008,65 @@ _ACEOF
fi fi
   
   
echo "$as_me:$LINENO: checking for main in -lgen" >&5
echo $ECHO_N "checking for main in -lgen... $ECHO_C" >&6
if test "${ac_cv_lib_gen_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgen $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
main ();
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -s conftest$ac_exeext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_cv_lib_gen_main=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_lib_gen_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_main" >&5
echo "${ECHO_T}$ac_cv_lib_gen_main" >&6
if test $ac_cv_lib_gen_main = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBGEN 1
_ACEOF
LIBS="-lgen $LIBS"
fi
echo "$as_me:$LINENO: checking for main in -lPW" >&5 echo "$as_me:$LINENO: checking for main in -lPW" >&5
echo $ECHO_N "checking for main in -lPW... $ECHO_C" >&6 echo $ECHO_N "checking for main in -lPW... $ECHO_C" >&6
if test "${ac_cv_lib_PW_main+set}" = set; then if test "${ac_cv_lib_PW_main+set}" = set; then
...@@ -5827,9 +5819,9 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 ...@@ -5827,9 +5819,9 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
   
# NetBSD and OpenBSD have a broken linker that does not # NetBSD, OpenBSD, and Irix have a broken linker that does not
# recognize dependent libraries # recognize dependent libraries
case $host_os in netbsd* | openbsd* ) case $host_os in netbsd* | openbsd* | irix*)
case $pgac_lib in case $pgac_lib in
*curses*) ;; *curses*) ;;
*) pgac_lib=" -lcurses" ;; *) pgac_lib=" -lcurses" ;;
...@@ -12019,14 +12011,7 @@ case $host_os in mingw*) ...@@ -12019,14 +12011,7 @@ case $host_os in mingw*)
LIBOBJS="$LIBOBJS copydir.$ac_objext" LIBOBJS="$LIBOBJS copydir.$ac_objext"
LIBOBJS="$LIBOBJS gettimeofday.$ac_objext" LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
LIBOBJS="$LIBOBJS open.$ac_objext" LIBOBJS="$LIBOBJS open.$ac_objext"
LIBOBJS="$LIBOBJS rand.$ac_objext" LIBOBJS="$LIBOBJS rand.$ac_objext" ;;
cat >>confdefs.h <<\_ACEOF
#define USE_PGTZ 1
_ACEOF
USE_PGTZ=yes
;;
esac esac
   
# Win32 can't to rename or unlink on an open file # Win32 can't to rename or unlink on an open file
...@@ -18631,7 +18616,6 @@ s,@python_includespec@,$python_includespec,;t t ...@@ -18631,7 +18616,6 @@ s,@python_includespec@,$python_includespec,;t t
s,@python_libspec@,$python_libspec,;t t s,@python_libspec@,$python_libspec,;t t
s,@LIBOBJS@,$LIBOBJS,;t t s,@LIBOBJS@,$LIBOBJS,;t t
s,@HAVE_IPV6@,$HAVE_IPV6,;t t s,@HAVE_IPV6@,$HAVE_IPV6,;t t
s,@USE_PGTZ@,$USE_PGTZ,;t t
s,@acx_pthread_config@,$acx_pthread_config,;t t s,@acx_pthread_config@,$acx_pthread_config,;t t
s,@PTHREAD_CC@,$PTHREAD_CC,;t t s,@PTHREAD_CC@,$PTHREAD_CC,;t t
s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
......
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.353 2004/05/19 22:12:30 momjian Exp $ dnl $PostgreSQL: pgsql/configure.in,v 1.354 2004/05/19 22:36:36 momjian Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -580,20 +580,11 @@ if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha" ...@@ -580,20 +580,11 @@ if test "$PORTNAME" != "aix" -a "$PORTNAME" != "alpha"
then then
AC_CHECK_LIB(bsd, main) AC_CHECK_LIB(bsd, main)
fi fi
# Irix has nsl, socket, gen, and sun in its libc, but also
# keeps separate libs around for backwords compatibility.
# Using them creates warnings in config.log. This test quiets that.
# See also: http://freeware.sgi.com/howto.html
if test "$PORTNAME" != "irix"
then
AC_CHECK_LIB(nsl, main)
AC_CHECK_LIB(socket, main)
AC_CHECK_LIB(gen, main)
fi
AC_CHECK_LIB(util, setproctitle) AC_CHECK_LIB(util, setproctitle)
AC_CHECK_LIB(m, main) AC_CHECK_LIB(m, main)
AC_CHECK_LIB(dl, main) AC_CHECK_LIB(dl, main)
AC_CHECK_LIB(nsl, main)
AC_CHECK_LIB(socket, main)
AC_CHECK_LIB(ipc, main) AC_CHECK_LIB(ipc, main)
AC_CHECK_LIB(IPC, main) AC_CHECK_LIB(IPC, main)
AC_CHECK_LIB(lc, main) AC_CHECK_LIB(lc, main)
...@@ -601,6 +592,7 @@ AC_CHECK_LIB(dld, main) ...@@ -601,6 +592,7 @@ AC_CHECK_LIB(dld, main)
AC_CHECK_LIB(ld, main) AC_CHECK_LIB(ld, main)
AC_CHECK_LIB(compat, main) AC_CHECK_LIB(compat, main)
AC_CHECK_LIB(BSD, main) AC_CHECK_LIB(BSD, main)
AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main) AC_CHECK_LIB(PW, main)
AC_CHECK_LIB(resolv, main) AC_CHECK_LIB(resolv, main)
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt]) AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
...@@ -900,11 +892,7 @@ case $host_os in mingw*) ...@@ -900,11 +892,7 @@ case $host_os in mingw*)
AC_LIBOBJ(copydir) AC_LIBOBJ(copydir)
AC_LIBOBJ(gettimeofday) AC_LIBOBJ(gettimeofday)
AC_LIBOBJ(open) AC_LIBOBJ(open)
AC_LIBOBJ(rand) AC_LIBOBJ(rand) ;;
AC_DEFINE(USE_PGTZ, 1,
[Define to 1 to use our own timezone library])
USE_PGTZ=yes
AC_SUBST(USE_PGTZ) ;;
esac esac
# Win32 can't to rename or unlink on an open file # Win32 can't to rename or unlink on an open file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment