1 --- apr/configure.in.orig 2003-09-02 12:19:46.000000000 +0200
2 +++ apr/configure.in 2003-10-05 22:35:55.808884648 +0200
4 dnl It should check for LIBS being empty and set LIBS equal to the new value
5 dnl without the extra " " in that case, but they didn't do that. So, we
6 dnl end up LIBS="-lm -lcrypt -lnsl -ldl" which is an annoyance.
7 -AC_CHECK_LIB(resolv, res_init)
8 -AC_CHECK_LIB(nsl, gethostbyname)
9 +dnl AC_CHECK_LIB(resolv, res_init) -- not used by apr
10 AC_SEARCH_LIBS(gethostname, nsl)
11 -AC_CHECK_LIB(socket, socket)
12 -AC_SEARCH_LIBS(crypt, crypt ufc)
13 +AC_SEARCH_LIBS(socket, socket)
14 AC_CHECK_LIB(truerand, main)
15 AC_SEARCH_LIBS(modf, m)
16 AC_SEARCH_LIBS(sqrt, m)
19 # The real-time POSIX extensions (e.g. shm_*, sem_*) may only
20 # be available if linking against librt.
21 -AC_SEARCH_LIBS(shm_open, rt)
22 +dnl AC_SEARCH_LIBS(shm_open, rt) -- not used by apr
27 if test "$strerror_r" = "1"; then
28 APR_CHECK_STRERROR_R_RC
31 +AC_SEARCH_LIBS(crypt, crypt ufc)
32 AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ])
33 if test "$crypt_r" = "1"; then
34 APR_CHECK_CRYPT_R_STYLE
37 AC_CHECK_FUNCS(mmap, [ mmap="1" ], [ mmap="0" ])
38 if test "$native_mmap_emul" = "1"; then