summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <jperkin@production.mysql.com>2007-09-07 15:37:04 +0200
committerunknown <jperkin@production.mysql.com>2007-09-07 15:37:04 +0200
commitfa4b12f9b235b69b7e482210b2148b1935a8da2f (patch)
tree45940e41311e0c0430a9c173fa5e86998cb12e72 /config
parent9bfd45098ac011580861d73e4b32ade7285970a4 (diff)
parentdacab8d91c303cee3a8ff2b99ef894800323cdad (diff)
downloadmariadb-git-fa4b12f9b235b69b7e482210b2148b1935a8da2f.tar.gz
Merge production.mysql.com:/usersnfs/jperkin/bk/tmp/bug-27520
into production.mysql.com:/usersnfs/jperkin/bk/trees/51/mysql-5.1 config/ac-macros/misc.m4: Auto merged
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/misc.m47
1 files changed, 2 insertions, 5 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4
index 791cd754bc4..975e48d0487 100644
--- a/config/ac-macros/misc.m4
+++ b/config/ac-macros/misc.m4
@@ -648,11 +648,8 @@ case $CXX_VERSION in
ARFLAGS="-xar -o"
;;
*)
- if test -z "$AR"
- then
- AC_CHECK_PROG([AR], [ar], [ar])
- fi
- if test -z "$AR"
+ AC_CHECK_PROG([AR], [ar], [ar])
+ if test -z "$AR" || test "$AR" = "false"
then
AC_MSG_ERROR([You need ar to build the library])
fi