summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2004-08-09 06:31:59 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2004-08-09 06:31:59 +0000
commiteb07ba7194ab22cacf41bf008292e14d0defa3f4 (patch)
tree11478c50f061682f01a3b348f3350118ef4b91a6
parent58f6a45ed307def8dc5fa07bf74d4155c12d1e5c (diff)
downloadlibapr-eb07ba7194ab22cacf41bf008292e14d0defa3f4.tar.gz
Ditch autoconf-2.5x+ syntax (m4_*) and only print the warning on ac-2.5x+
(apr-util now configures correctly on autoconf-2.13) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65299 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build/find_apr.m49
1 files changed, 4 insertions, 5 deletions
diff --git a/build/find_apr.m4 b/build/find_apr.m4
index 5ff75a7c7..a74681636 100644
--- a/build/find_apr.m4
+++ b/build/find_apr.m4
@@ -53,11 +53,10 @@ AC_DEFUN(APR_FIND_APR, [
TEST_X="test -x"
fi
- m4_if([$4], [],
- [
- AC_WARNING([$0: missing argument 4 (acceptable-majors): Defaulting to APR 0.x then APR 1.x])
- acceptable_majors="0 1"
- ], [acceptable_majors="$4"])
+ ifelse([$4], [], [
+ ifdef(AC_WARNING,AC_WARNING([$0: missing argument 4 (acceptable-majors): Defaulting to APR 0.x then APR 1.x]))
+ acceptable_majors="0 1"],
+ [acceptable_majors="$4"])
apr_temp_acceptable_apr_config=""
for apr_temp_major in $acceptable_majors