diff options
author | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2001-01-11 19:24:27 +0000 |
---|---|---|
committer | jim <jim@13f79535-47bb-0310-9956-ffa450edef68> | 2001-01-11 19:24:27 +0000 |
commit | 2fb79af960ed53a0ee7fa9fdd04d5d315c9b7ba5 (patch) | |
tree | d097cc1e180fd6f2598aa795a402d963820e7ca0 /hints.m4 | |
parent | f6e14636dcb2f65204a9153d85bcede01225d4e5 (diff) | |
download | libapr-2fb79af960ed53a0ee7fa9fdd04d5d315c9b7ba5.tar.gz |
Avoid re-adding values during each call.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'hints.m4')
-rw-r--r-- | hints.m4 | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -8,9 +8,12 @@ dnl Generally, we force the setting of CC, and add flags 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 @@ dnl ;; APR_ADDTO(CFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK]) APR_ADDTO(CFLAGS, [-DTCP_NODELAY=1]) ;; -esac -APR_DOEXTRA + esac + APR_DOEXTRA +fi ]) |