rse 99/10/01 02:36:31
Modified: src/lib/apr configure.in Log: - remove bogus subshell usage and avoid test -z - remove FreeBSD hack: first SYS_SW is not set anywhere (same actually also for AIX) and second, -D__STR__ is useless on FreeBSD and -pthread should not be used always (think about Pth or other libs except FreeBSD uthread) Revision Changes Path 1.12 +2 -6 apache-2.0/src/lib/apr/configure.in Index: configure.in =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- configure.in 1999/09/12 12:12:00 1.11 +++ configure.in 1999/10/01 09:36:30 1.12 @@ -50,7 +50,7 @@ AC_C_INLINE # Use /bin/sh if it exists, otherwise go looking for sh in the path -if (test -z "$SH" -a -f /bin/sh); then +if test ".$SH" = . -a -f /bin/sh; then SH="/bin/sh" fi AC_CHECK_PROG(SH, sh, sh) @@ -97,7 +97,7 @@ AC_CHECK_LIB(socket,socket) AC_CHECK_LIB(ufc,crypt) -if (test "$SYS_SW" = "AIX"); then +if test ".$SYS_SW" = ".AIX"; then CFLAGS="$CFLAGS -U__STR__" case "$SYS_KV" in [12]*) @@ -110,10 +110,6 @@ AC_DEFINE(NEED_RLIM_T) ;; esac -fi - -if (test "$SYS_SW" = "FreeBSD"); then - CFLAGS="$CFLAGS -pthread -U__STR__" fi dnl Checks for header files.