Skip to content
Snippets Groups Projects
Commit c10e06cf authored by Lev Walkin's avatar Lev Walkin
Browse files

ar for Solaris

parent 7c1b27bd
No related branches found
No related tags found
No related merge requests found
...@@ -21389,6 +21389,46 @@ fi ...@@ -21389,6 +21389,46 @@ fi
if test "$LEX" = :; then if test "$LEX" = :; then
LEX=${am_missing_run}flex LEX=${am_missing_run}flex
fi fi
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_AR+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $AR in
[\\/]* | ?:[\\/]*)
ac_cv_path_AR="$AR" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_dummy="$PATH:/usr/ucb:/usr/ccs/bin"
for as_dir in $as_dummy
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
;;
esac
fi
AR=$ac_cv_path_AR
if test -n "$AR"; then
echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
   
case "$host_os" in case "$host_os" in
cygwin*) cygwin*)
......
...@@ -34,6 +34,7 @@ AC_PROG_LN_S ...@@ -34,6 +34,7 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_YACC AC_PROG_YACC
AM_PROG_LEX AM_PROG_LEX
AC_PATH_PROG(AR, ar, ar, $PATH:/usr/ucb:/usr/ccs/bin) dnl for Solaris
dnl *** Building mingw32 with cygwin compiler *** dnl *** Building mingw32 with cygwin compiler ***
case "$host_os" in case "$host_os" in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment