Return-Path: Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 68786 invoked by uid 1078); 11 Jan 2001 19:24:33 -0000 Date: 11 Jan 2001 19:24:33 -0000 Message-ID: <20010111192433.68784.qmail@apache.org> From: jim@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr hints.m4 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 ])