complain if ar is missing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-08-14 15:36:33 +00:00
parent f7a8c1299b
commit 911740e77a
2 changed files with 9 additions and 4 deletions

8
configure vendored
View File

@ -11362,7 +11362,6 @@ do
done
done
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
fi
fi
AR=$ac_cv_prog_AR
@ -11374,6 +11373,11 @@ else
echo "${ECHO_T}no" >&6
fi
if test "x$AR" = "x" ; then
{ { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
echo "$as_me: error: ar is needed to build wxWindows" >&2;}
{ (exit 1); exit 1; }; }
fi
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@ -34880,8 +34884,6 @@ fi
# Check whether --enable-precomp-headers or --disable-precomp-headers was given.
if test "${enable_precomp_headers+set}" = set; then
enableval="$enable_precomp_headers"

View File

@ -1309,7 +1309,10 @@ AC_PROG_RANLIB
dnl ar command
dnl defines AR with the appropriate command
AC_CHECK_PROG(AR, ar, ar, ar)
AC_CHECK_PROG(AR, ar, ar)
if test "x$AR" = "x" ; then
AC_MSG_ERROR([ar is needed to build wxWindows])
fi
dnl install checks
dnl defines INSTALL with the appropriate command