1 --- apr/build/apr_threads.m4.orig 2003-10-05 21:35:45.000000000 +0200
2 +++ apr/build/apr_threads.m4 2003-10-05 21:50:16.883264632 +0200
7 +dnl -pthread in CFLAGS is not sufficient if linking in separate process
9 AC_CACHE_CHECK(for pthreads_lib, ac_cv_pthreads_lib,[
11 if test "$pthreads_working" != "yes"; then
12 --- apr/configure.in.orig 2003-09-02 12:19:46.000000000 +0200
13 +++ apr/configure.in 2003-10-05 22:35:55.808884648 +0200
15 # On AIX, libraries need to be specified on the link of lib_target
20 lib_target_libs="\$(EXTRA_LIBS)";
24 dnl It should check for LIBS being empty and set LIBS equal to the new value
25 dnl without the extra " " in that case, but they didn't do that. So, we
26 dnl end up LIBS="-lm -lcrypt -lnsl -ldl" which is an annoyance.
27 -AC_CHECK_LIB(resolv, res_init)
28 -AC_CHECK_LIB(nsl, gethostbyname)
29 +dnl AC_CHECK_LIB(resolv, res_init) -- not used by apr
30 AC_SEARCH_LIBS(gethostname, nsl)
31 -AC_CHECK_LIB(socket, socket)
32 -AC_SEARCH_LIBS(crypt, crypt ufc)
33 +AC_SEARCH_LIBS(socket, socket)
34 AC_CHECK_LIB(truerand, main)
35 AC_SEARCH_LIBS(modf, m)
36 AC_SEARCH_LIBS(sqrt, m)
39 # The real-time POSIX extensions (e.g. shm_*, sem_*) may only
40 # be available if linking against librt.
41 -AC_SEARCH_LIBS(shm_open, rt)
42 +dnl AC_SEARCH_LIBS(shm_open, rt) -- not used by apr
47 if test "$strerror_r" = "1"; then
48 APR_CHECK_STRERROR_R_RC
51 +AC_SEARCH_LIBS(crypt, crypt ufc)
52 AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ])
53 if test "$crypt_r" = "1"; then
54 APR_CHECK_CRYPT_R_STYLE
57 AC_CHECK_FUNCS(mmap, [ mmap="1" ], [ mmap="0" ])
58 if test "$native_mmap_emul" = "1"; then