jim 01/01/11 11:24:32
Modified: . hints.m4
Log:
Avoid re-adding values during each call.
Revision Changes Path
1.35 +8 -4 apr/hints.m4
Index: hints.m4
===================================================================
RCS file: /home/cvs/apr/hints.m4,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- hints.m4 2001/01/11 13:49:00 1.34
+++ hints.m4 2001/01/11 19:24:27 1.35
@@ -8,9 +8,12 @@
dnl to CFLAGS, LIBS and LDFLAGS.
dnl
AC_DEFUN(APR_PRELOAD, [
-echo "Applying hints file rules for $host"
+if test "$DID_APR_PRELOAD" != "yes" ; then
+ DID_APR_PRELOAD="yes"; export DID_APR_PRELOAD
-case "$host" in
+ echo "Applying APR hints file rules for $host"
+
+ case "$host" in
*mint)
APR_ADDTO(CFLAGS, [-DMINT])
APR_ADDTO(LIBS, [-lportlib -lsocket])
@@ -362,6 +365,7 @@
APR_ADDTO(CFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK])
APR_ADDTO(CFLAGS, [-DTCP_NODELAY=1])
;;
-esac
-APR_DOEXTRA
+ esac
+ APR_DOEXTRA
+fi
])