]>
Commit | Line | Data |
---|---|---|
74eb4773 JB |
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 | |
3 | @@ -463,11 +463,9 @@ | |
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) | |
17 | @@ -604,7 +602,7 @@ | |
b4838f76 JB |
18 | |
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) | |
74eb4773 | 22 | +dnl AC_SEARCH_LIBS(shm_open, rt) -- not used by apr |
b4838f76 JB |
23 | |
24 | case $host in | |
25 | *-sysv*) | |
74eb4773 | 26 | @@ -863,10 +861,13 @@ |
b4838f76 JB |
27 | if test "$strerror_r" = "1"; then |
28 | APR_CHECK_STRERROR_R_RC | |
29 | fi | |
30 | +save_LIBS="$LIBS" | |
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 | |
35 | fi | |
36 | +LIBS="$save_LIBS" | |
37 | AC_CHECK_FUNCS(mmap, [ mmap="1" ], [ mmap="0" ]) | |
38 | if test "$native_mmap_emul" = "1"; then | |
39 | mmap="1" |