pull/1/head
Tatsuhiro Tsujikawa 2006-03-01 07:55:09 +00:00
parent 4a5fa077b3
commit 726e14aa81
2 changed files with 6 additions and 3 deletions

7
configure vendored
View File

@ -3556,7 +3556,8 @@ else
ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
as_dummy="$PATH:/usr/ccs/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
@ -3594,7 +3595,8 @@ else
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
as_dummy="$PATH:/usr/ccs/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
@ -3607,6 +3609,7 @@ do
done
done
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR=":"
fi
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR

View File

@ -16,7 +16,7 @@ AC_ARG_ENABLE([ssl], [ --enable-ssl enalbe SSL support if libssl is
AC_PROG_CXX
AC_PROG_CC
AC_CHECK_TOOL(AR, ar)
AC_CHECK_TOOL(AR, [ar], [:], $PATH:/usr/ccs/bin)
# Checks for libraries.
if test "x$enable_ssl" = "xyes"; then