summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorunknown <joerg@trift2.>2007-09-13 23:42:17 +0200
committerunknown <joerg@trift2.>2007-09-13 23:42:17 +0200
commitf2dd535bbcbb2aceb9a86566894d7de753221976 (patch)
tree3b7f80ca4d441a515589eb63afbb9a0ff0f58977 /config
parent5c836d24f64eb99aba3cb94da3ee90bcca209500 (diff)
parentdacab8d91c303cee3a8ff2b99ef894800323cdad (diff)
downloadmariadb-git-f2dd535bbcbb2aceb9a86566894d7de753221976.tar.gz
Merge trift2.:/MySQL/M50/push-5.0
into trift2.:/MySQL/M50/tmp-5.0
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 60c0469e449..9c7b9aeb171 100644
--- a/config/ac-macros/misc.m4
+++ b/config/ac-macros/misc.m4
@@ -773,11 +773,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