* acspecific.m4: Likewise.
* aclang.m4: Likewise.
+2000-04-11 Akim Demaille <akim@epita.fr>
+
+ * acgeneral.m4: Simplify all the `foo="$bar"' into `foo=$bar'.
+ * acspecific.m4: Likewise.
+ * aclang.m4: Likewise.
+
2000-04-11 Akim Demaille <akim@epita.fr>
Move obsolete macros' definitions out of the way.
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir="$ac_optarg" ;;
+ bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu)
ac_prev=build ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build="$ac_optarg" ;;
+ build=$ac_optarg ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file="$ac_optarg" ;;
+ cache_file=$ac_optarg ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
| --da=*)
- datadir="$ac_optarg" ;;
+ datadir=$ac_optarg ;;
-disable-* | --disable-*)
ac_feature=`echo "$ac_option"|sed -e 's/-*disable-//'`
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
- exec_prefix="$ac_optarg" ;;
+ exec_prefix=$ac_optarg ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
-host | --host | --hos | --ho)
ac_prev=host ;;
-host=* | --host=* | --hos=* | --ho=*)
- host="$ac_optarg" ;;
+ host=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir="$ac_optarg" ;;
+ includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir="$ac_optarg" ;;
+ infodir=$ac_optarg ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir="$ac_optarg" ;;
+ libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
- libexecdir="$ac_optarg" ;;
+ libexecdir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
- localstatedir="$ac_optarg" ;;
+ localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir="$ac_optarg" ;;
+ mandir=$ac_optarg ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir="$ac_optarg" ;;
+ oldincludedir=$ac_optarg ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix="$ac_optarg" ;;
+ prefix=$ac_optarg ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix="$ac_optarg" ;;
+ program_prefix=$ac_optarg ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix="$ac_optarg" ;;
+ program_suffix=$ac_optarg ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name="$ac_optarg" ;;
+ program_transform_name=$ac_optarg ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
- sbindir="$ac_optarg" ;;
+ sbindir=$ac_optarg ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
- sharedstatedir="$ac_optarg" ;;
+ sharedstatedir=$ac_optarg ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
- site="$ac_optarg" ;;
+ site=$ac_optarg ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir="$ac_optarg" ;;
+ srcdir=$ac_optarg ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir="$ac_optarg" ;;
+ sysconfdir=$ac_optarg ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
ac_prev=target ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target="$ac_optarg" ;;
+ target=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes="$ac_optarg" ;;
+ x_includes=$ac_optarg ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
+ x_libraries=$ac_optarg ;;
-*) AC_MSG_ERROR([unrecognized option: $ac_option
Try `configure --help' for more information.])
if test "x$nonopt" != xNONE; then
AC_MSG_ERROR(can only configure for one host and one target at a time)
fi
- nonopt="$ac_option"
+ nonopt=$ac_option
;;
esac
else
AC_MSG_RESULT(ok)
fi
-ac_cv_host_system_type="$host"
-ac_cv_build_system_type="$build"
-ac_cv_target_system_type="$target"dnl
+ac_cv_host_system_type=$host
+ac_cv_build_system_type=$build
+ac_cv_target_system_type=$target[]dnl
])
ifval([$4], [ test -z "[$]ac_cv_prog_$1" && ac_cv_prog_$1="$4"
])dnl
fi])dnl
-$1="$ac_cv_prog_$1"
+$1=$ac_cv_prog_$1
if test -n "[$]$1"; then
AC_MSG_RESULT([$]$1)
else
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_word"; then
- ac_cv_path_$1="$ac_dir/$ac_word"
+ ac_cv_path_$1=$ac_dir/$ac_word
break
fi
done
])dnl
;;
esac])dnl
-$1="$ac_cv_path_$1"
+$1=$ac_cv_path_$1
if test -n "[$]$1"; then
AC_MSG_RESULT([$]$1)
else
# Search for a library defining FUNC, if it's not already available.
AC_DEFUN(AC_SEARCH_LIBS,
[AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1],
-[ac_func_search_save_LIBS="$LIBS"
+[ac_func_search_save_LIBS=$LIBS
ac_cv_search_$1="no"
AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1="none required"])
test "$ac_cv_search_$1" = "no" && for ac_lib in $2; do
[ac_cv_search_$1="-l$ac_lib"
break])
done
-LIBS="$ac_func_search_save_LIBS"])
+LIBS=$ac_func_search_save_LIBS])
AC_SHELL_IFELSE([test "$ac_cv_search_$1" != "no"],
[test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
$3],
[AH_CHECK_LIB([$1])dnl
AC_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])dnl
AC_CACHE_CHECK([for $2 in -l$1], ac_Lib,
-[ac_save_LIBS="$LIBS"
+[ac_save_LIBS=$LIBS
LIBS="-l$1 $5 $LIBS"
AC_TRY_LINK_FUNC([$2],
[AC_VAR_SET(ac_Lib, yes)],
[AC_VAR_SET(ac_Lib, no)])
-LIBS="$ac_save_LIBS"])
+LIBS=$ac_save_LIBS])
AC_SHELL_IFELSE([test AC_VAR_GET(ac_Lib) = yes],
[m4_default([$3],
[AC_DEFINE_UNQUOTED(AC_TR_CPP(HAVE_LIB$1))
# Root of the tmp file names. Use pid to allow concurrent executions.
ac_cs_root=cs\$\$
ac_given_srcdir=$srcdir
-ifdef([AC_PROVIDE_AC_PROG_INSTALL], [ac_given_INSTALL="$INSTALL"
+ifdef([AC_PROVIDE_AC_PROG_INSTALL],
+[dnl Leave those double quotes here: this $INSTALL is evaluated in a
+dnl here document, wbich might result in `ac_given_srcdir=/bin/install -c'.
+ac_given_INSTALL="$INSTALL"
])dnl
# If no file are specified by the user, then we need to provide default
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file" | sed 's%[[^:]]*:%%'`
ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
+ *) ac_file_in=$ac_file.in ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
[[\\/]]* | ?:[[\\/]]* )
- srcdir="$ac_given_srcdir$ac_dir_suffix";
+ srcdir=$ac_given_srcdir$ac_dir_suffix;
top_srcdir=$ac_given_srcdir ;;
*) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
+ top_srcdir=$ac_dots$ac_given_srcdir ;;
esac
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
[ case "$ac_given_INSTALL" in
- [[\\/$]]* | ?:[[\\/]]* ) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+ [[\\/$]]* | ?:[[\\/]]* ) INSTALL=$ac_given_INSTALL ;;
+ *) INSTALL=$ac_dots$ac_given_INSTALL ;;
esac
])dnl
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file" | sed 's%[[^:]]*:%%'`
ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
+ *) ac_file_in=$ac_file.in ;;
esac
echo creating $ac_file
fi
case "$srcdir" in
- [[\\/$]]* | ?:[[\\/]]* ) ac_rel_source="$srcdir/$ac_source" ;;
- *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
+ [[\\/$]]* | ?:[[\\/]]* ) ac_rel_source=$srcdir/$ac_source ;;
+ *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
esac
# Make a symlink if possible; otherwise try a hard link.
esac
done
-ifdef([AC_PROVIDE_AC_PROG_INSTALL], [ ac_given_INSTALL="$INSTALL"
+ifdef([AC_PROVIDE_AC_PROG_INSTALL], [ ac_given_INSTALL=$INSTALL
])dnl
for ac_subdir in AC_LIST_SUBDIRS; do
case "$cache_file" in
[[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
*) # Relative path.
- ac_sub_cache_file="$ac_dots$cache_file" ;;
+ ac_sub_cache_file=$ac_dots$cache_file ;;
esac
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
[ case "$ac_given_INSTALL" in
- [[\\/$]]* | ?:[[\\/]]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+ [[\\/$]]* | ?:[[\\/]]*) INSTALL=$ac_given_INSTALL ;;
+ *) INSTALL=$ac_dots$ac_given_INSTALL ;;
esac
])dnl
CPP="${CC-cc} -nologo -E"
AC_TRY_CPP([#include <assert.h>
Syntax Error], , CPP=/lib/cpp)))
- ac_cv_prog_CPP="$CPP"])dnl
- CPP="$ac_cv_prog_CPP"
+ ac_cv_prog_CPP=$CPP])dnl
+ CPP=$ac_cv_prog_CPP
else
- ac_cv_prog_CPP="$CPP"
+ ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
AC_SUBST(CPP)dnl
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CFLAGS="${CFLAGS+set}"
-ac_save_CFLAGS="$CFLAGS"
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
CFLAGS=
AC_PROG_CC_G
if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
+ CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
AC_LANG(C++)dnl
CXXCPP="${CXX-g++} -E"
AC_TRY_CPP([#include <stdlib.h>], , CXXCPP=/lib/cpp)
- ac_cv_prog_CXXCPP="$CXXCPP"
+ ac_cv_prog_CXXCPP=$CXXCPP
AC_LANG_RESTORE()dnl
])dnl
-CXXCPP="$ac_cv_prog_CXXCPP"
+CXXCPP=$ac_cv_prog_CXXCPP
fi
AC_MSG_RESULT($CXXCPP)
AC_SUBST(CXXCPP)dnl
dnl Check whether -g works, even if CXXFLAGS is set, in case the package
dnl plays around with CXXFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CXXFLAGS="${CXXFLAGS+set}"
-ac_save_CXXFLAGS="$CXXFLAGS"
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
CXXFLAGS=
AC_PROG_CXX_G
if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS="$ac_save_CXXFLAGS"
+ CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
CXXFLAGS="-g -O2"
dnl Check whether -g works, even if FFLAGS is set, in case the package
dnl plays around with FFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
- ac_test_FFLAGS="${FFLAGS+set}"
- ac_save_FFLAGS="$FFLAGS"
+ ac_test_FFLAGS=${FFLAGS+set}
+ ac_save_FFLAGS=$FFLAGS
FFLAGS=
AC_PROG_F77_G
if test "$ac_test_FFLAGS" = set; then
- FFLAGS="$ac_save_FFLAGS"
+ FFLAGS=$ac_save_FFLAGS
elif test $ac_cv_prog_f77_g = yes; then
FFLAGS="-g -O2"
else
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(ac_cv_prog_cc_stdc,
[ac_cv_prog_cc_stdc=no
-ac_save_CC="$CC"
+ac_save_CC=$CC
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
int argc;
char **argv;],
[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];],
-[ac_cv_prog_cc_stdc="$ac_arg"; break])
+[ac_cv_prog_cc_stdc=$ac_arg; break])
done
-CC="$ac_save_CC"
+CC=$ac_save_CC
])
case "x$ac_cv_prog_cc_stdc" in
x|xno)
# to the Fortran 77 compiler in order to get "verbose" output that
# we can then parse for the Fortran 77 linker flags. I don't know
# what to do if your compiler doesn't have -v.
-ac_save_FFLAGS="$FFLAGS"
+ac_save_FFLAGS=$FFLAGS
FFLAGS="$FFLAGS -v"
ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'`
-FFLAGS="$ac_save_FFLAGS"
+FFLAGS=$ac_save_FFLAGS
# Restore the "compiler output file descriptor".
exec AC_FD_LOG>&8
# argument to start with a "-". If we ever see this case, then
# reset AC_PREVIOUS_ARG so that we don't try and process AC_ARG as
# an argument.
- ac_previous_arg="$ac_save_arg"
+ ac_previous_arg=$ac_save_arg
test -n "`echo $ac_arg | sed -n -e '/^-/!p'`" && ac_previous_arg=
case "$ac_previous_arg" in
'')
temp_arg="$temp_arg $ac_i",
ac_seen="$ac_seen $ac_i")
done
- ac_arg="$temp_arg"
+ ac_arg=$temp_arg
;;
-[[lLR]]*)
# Append to AC_SEEN if it's not already there.
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
test -n "$ac_ld_run_path" && FLIBS="$ac_ld_run_path $FLIBS"
-ac_cv_flibs="$FLIBS"
+ac_cv_flibs=$FLIBS
])
AC_SUBST(FLIBS)
])# AC_F77_LIBRARY_LDFLAGS
AC_LANG_SAVE()dnl
AC_LANG(C)
- ac_save_LIBS="$LIBS"
+ ac_save_LIBS=$LIBS
LIBS="cf77_test.${ac_objext} $FLIBS $LIBS"
f77_case=
ac_cv_f77_mangling="$f77_case case, $f77_underscore underscores"
fi
- LIBS="$ac_save_LIBS"
+ LIBS=$ac_save_LIBS
AC_LANG_RESTORE()dnl
rm -f conftest*
# not all implementations provide the %pointer and %array declarations.
ac_cv_prog_lex_yytext_pointer=no
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
-ac_save_LIBS="$LIBS"
+ac_save_LIBS=$LIBS
LIBS="$LIBS $LEXLIB"
AC_LINK_IFELSE([`cat $LEX_OUTPUT_ROOT.c`], ac_cv_prog_lex_yytext_pointer=yes)
-LIBS="$ac_save_LIBS"
+LIBS=$ac_save_LIBS
rm -f "${LEX_OUTPUT_ROOT}.c"
])
dnl
IFS=$ac_save_IFS
])dnl
if test "${ac_cv_path_install+set}" = set; then
- INSTALL="$ac_cv_path_install"
+ INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the path is relative.
- INSTALL="$ac_install_sh"
+ INSTALL=$ac_install_sh
fi
fi
dnl We do special magic for INSTALL instead of AC_SUBST, to get
else
ac_cv_prog_LN_S=ln
fi])dnl
-LN_S="$ac_cv_prog_LN_S"
+LN_S=$ac_cv_prog_LN_S
if test "$ac_cv_prog_LN_S" = "ln -s"; then
AC_MSG_RESULT(yes)
else
if test $ac_have_func = no; then
# There is a commonly available library for RS/6000 AIX.
# Since it is not a standard part of AIX, it might be installed locally.
- ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
+ ac_getloadavg_LIBS=$LIBS; LIBS="-L/usr/local/lib $LIBS"
AC_CHECK_LIB(getloadavg, getloadavg,
- LIBS="-lgetloadavg $LIBS", LIBS="$ac_getloadavg_LIBS")
+ LIBS="-lgetloadavg $LIBS", LIBS=$ac_getloadavg_LIBS)
fi
# Make sure it is really in the library, if we think we found it.
ac_cv_sys_interpreter=no
fi
rm -f conftest])
-interpval="$ac_cv_sys_interpreter"
+interpval=$ac_cv_sys_interpreter
])
AC_DEFUNCT(AC_HAVE_POUNDBANG, [;use AC_SYS_INTERPRETER, taking no arguments])
# using them would break gcc on systems where it needs fixed includes.
case "$ac_im_incroot" in
/usr/include) ;;
- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
case "$ac_im_usrlibdir" in
/usr/lib | /lib) ;;
- *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
cd ..
# See if we find them without any special options.
# Don't add to $LIBS permanently.
- ac_save_LIBS="$LIBS"
+ ac_save_LIBS=$LIBS
LIBS="-l$ac_x_direct_test_library $LIBS"
AC_TRY_LINK(, [${ac_x_direct_test_function}()],
-[LIBS="$ac_save_LIBS"
+[LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=],
-[LIBS="$ac_save_LIBS"
+[LIBS=$ac_save_LIBS
# First see if replacing the include by lib works.
# Check X11 before X11Rn because it is often a symlink to the current release.
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
case "`(uname -sr) 2>/dev/null`" in
"SunOS 5"*)
AC_MSG_CHECKING(whether -R must be followed by a space)
- ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
+ ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
AC_LINK_IFELSE([], ac_R_nospace=yes, ac_R_nospace=no)
if test $ac_R_nospace = yes; then
AC_MSG_RESULT(no)
AC_MSG_RESULT(neither works)
fi
fi
- LIBS="$ac_xsave_LIBS"
+ LIBS=$ac_xsave_LIBS
esac
fi
fi
# Check for libraries that X11R6 Xt/Xaw programs need.
- ac_save_LDFLAGS="$LDFLAGS"
+ ac_save_LDFLAGS=$LDFLAGS
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# John Interrante, Karl Berry
AC_CHECK_LIB(ICE, IceConnectionNumber,
[X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
- LDFLAGS="$ac_save_LDFLAGS"
+ LDFLAGS=$ac_save_LDFLAGS
fi
AC_SUBST(X_CFLAGS)dnl
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir="$ac_optarg" ;;
+ bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu)
ac_prev=build ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build="$ac_optarg" ;;
+ build=$ac_optarg ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file="$ac_optarg" ;;
+ cache_file=$ac_optarg ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
| --da=*)
- datadir="$ac_optarg" ;;
+ datadir=$ac_optarg ;;
-disable-* | --disable-*)
ac_feature=`echo "$ac_option"|sed -e 's/-*disable-//'`
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
- exec_prefix="$ac_optarg" ;;
+ exec_prefix=$ac_optarg ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
-host | --host | --hos | --ho)
ac_prev=host ;;
-host=* | --host=* | --hos=* | --ho=*)
- host="$ac_optarg" ;;
+ host=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir="$ac_optarg" ;;
+ includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir="$ac_optarg" ;;
+ infodir=$ac_optarg ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir="$ac_optarg" ;;
+ libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
- libexecdir="$ac_optarg" ;;
+ libexecdir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
- localstatedir="$ac_optarg" ;;
+ localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir="$ac_optarg" ;;
+ mandir=$ac_optarg ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir="$ac_optarg" ;;
+ oldincludedir=$ac_optarg ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix="$ac_optarg" ;;
+ prefix=$ac_optarg ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix="$ac_optarg" ;;
+ program_prefix=$ac_optarg ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix="$ac_optarg" ;;
+ program_suffix=$ac_optarg ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name="$ac_optarg" ;;
+ program_transform_name=$ac_optarg ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
- sbindir="$ac_optarg" ;;
+ sbindir=$ac_optarg ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
- sharedstatedir="$ac_optarg" ;;
+ sharedstatedir=$ac_optarg ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
- site="$ac_optarg" ;;
+ site=$ac_optarg ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir="$ac_optarg" ;;
+ srcdir=$ac_optarg ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir="$ac_optarg" ;;
+ sysconfdir=$ac_optarg ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
ac_prev=target ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target="$ac_optarg" ;;
+ target=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes="$ac_optarg" ;;
+ x_includes=$ac_optarg ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
+ x_libraries=$ac_optarg ;;
-*) { echo "configure: error: unrecognized option: $ac_option
Try \`configure --help' for more information." >&2; exit 1; }
if test "x$nonopt" != xNONE; then
{ echo "configure: error: can only configure for one host and one target at a time" >&2; exit 1; }
fi
- nonopt="$ac_option"
+ nonopt=$ac_option
;;
esac
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
+echo "configure:606: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
-echo "configure:607: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
if test "${ac_cv_path_install+set}" = set; then
- INSTALL="$ac_cv_path_install"
+ INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the path is relative.
- INSTALL="$ac_install_sh"
+ INSTALL=$ac_install_sh
fi
fi
+echo "configure:652: result: $INSTALL" >&5
echo "$ECHO_T""$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
echo "configure:659: checking whether build environment is sane" >&5
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
# Just in case
sleep 1
echo timestamp > conftestfile
Check your system clock" >&2; exit 1; }
fi
rm -f conftest*
+echo "configure:694: result: yes" >&5
echo "$ECHO_T""yes" >&6
if test "$program_transform_name" = s,x,x,; then
program_transform_name=
# sed with no file args requires a program.
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
+echo "configure:713: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
-echo "configure:712: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
rm -f conftestmake
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
- echo "$ECHO_T""yes" >&6
+ echo "configure:733: result: yes" >&5
+echo "$ECHO_T""yes" >&6
SET_MAKE=
else
- echo "$ECHO_T""no" >&6
+ echo "configure:737: result: no" >&5
+echo "$ECHO_T""no" >&6
SET_MAKE="MAKE=${MAKE-make}"
fi
EOF
missing_dir=`cd $ac_aux_dir && pwd`
+echo "configure:755: checking for working aclocal" >&5
echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
-echo "configure:752: checking for working aclocal" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
ACLOCAL=aclocal
- echo "$ECHO_T""found" >&6
+ echo "configure:762: result: found" >&5
+echo "$ECHO_T""found" >&6
else
ACLOCAL="$missing_dir/missing aclocal"
- echo "$ECHO_T""missing" >&6
+ echo "configure:766: result: missing" >&5
+echo "$ECHO_T""missing" >&6
fi
+echo "configure:769: checking for working autoconf" >&5
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
-echo "configure:764: checking for working autoconf" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
AUTOCONF=autoconf
- echo "$ECHO_T""found" >&6
+ echo "configure:776: result: found" >&5
+echo "$ECHO_T""found" >&6
else
AUTOCONF="$missing_dir/missing autoconf"
- echo "$ECHO_T""missing" >&6
+ echo "configure:780: result: missing" >&5
+echo "$ECHO_T""missing" >&6
fi
+echo "configure:783: checking for working automake" >&5
echo $ECHO_N "checking for working automake... $ECHO_C" >&6
-echo "configure:776: checking for working automake" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (automake --version) < /dev/null > /dev/null 2>&1; then
AUTOMAKE=automake
- echo "$ECHO_T""found" >&6
+ echo "configure:790: result: found" >&5
+echo "$ECHO_T""found" >&6
else
AUTOMAKE="$missing_dir/missing automake"
- echo "$ECHO_T""missing" >&6
+ echo "configure:794: result: missing" >&5
+echo "$ECHO_T""missing" >&6
fi
+echo "configure:797: checking for working autoheader" >&5
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
-echo "configure:788: checking for working autoheader" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
AUTOHEADER=autoheader
- echo "$ECHO_T""found" >&6
+ echo "configure:804: result: found" >&5
+echo "$ECHO_T""found" >&6
else
AUTOHEADER="$missing_dir/missing autoheader"
- echo "$ECHO_T""missing" >&6
+ echo "configure:808: result: missing" >&5
+echo "$ECHO_T""missing" >&6
fi
+echo "configure:811: checking for working makeinfo" >&5
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
-echo "configure:800: checking for working makeinfo" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
MAKEINFO=makeinfo
- echo "$ECHO_T""found" >&6
+ echo "configure:818: result: found" >&5
+echo "$ECHO_T""found" >&6
else
MAKEINFO="$missing_dir/missing makeinfo"
- echo "$ECHO_T""missing" >&6
+ echo "configure:822: result: missing" >&5
+echo "$ECHO_T""missing" >&6
fi
AT_TESTPATH=..
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
+echo "configure:830: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-echo "configure:817: checking for $ac_word" >&5
if test "${ac_cv_path_M4+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_word"; then
- ac_cv_path_M4="$ac_dir/$ac_word"
+ ac_cv_path_M4=$ac_dir/$ac_word
break
fi
done
;;
esac
fi
-M4="$ac_cv_path_M4"
+M4=$ac_cv_path_M4
if test -n "$M4"; then
- echo "$ECHO_T""$M4" >&6
+ echo "configure:855: result: $M4" >&5
+echo "$ECHO_T""$M4" >&6
else
- echo "$ECHO_T""no" >&6
+ echo "configure:858: result: no" >&5
+echo "$ECHO_T""no" >&6
fi
test -n "$M4" && break
done
test -n "$M4" || M4="m4"
+echo "configure:864: checking whether m4 supports frozen files" >&5
echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
-echo "configure:849: checking whether m4 supports frozen files" >&5
if test "${ac_cv_prog_gnu_m4+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
esac
fi
fi
+echo "configure:876: result: $ac_cv_prog_gnu_m4" >&5
echo "$ECHO_T""$ac_cv_prog_gnu_m4" >&6
if test x"$ac_cv_prog_gnu_m4" != xyes; then
{ echo "configure: error: GNU m4 1.4 is required" >&2; exit 1; }
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
+echo "configure:885: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-echo "configure:869: checking for $ac_word" >&5
if test "${ac_cv_prog_AWK+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
done
fi
fi
-AWK="$ac_cv_prog_AWK"
+AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
- echo "$ECHO_T""$AWK" >&6
+ echo "configure:910: result: $AWK" >&5
+echo "$ECHO_T""$AWK" >&6
else
- echo "$ECHO_T""no" >&6
+ echo "configure:913: result: no" >&5
+echo "$ECHO_T""no" >&6
fi
test -n "$AWK" && break
done
+echo "configure:918: checking for working help2man" >&5
echo $ECHO_N "checking for working help2man... $ECHO_C" >&6
-echo "configure:900: checking for working help2man" >&5
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf. Sigh.
if (help2man --version) < /dev/null > /dev/null 2>&1; then
HELP2MAN=help2man
- echo "$ECHO_T""found" >&6
+ echo "configure:925: result: found" >&5
+echo "$ECHO_T""found" >&6
else
HELP2MAN="\${SHELL} \${top_srcdir}/missing help2man"
- echo "$ECHO_T""missing" >&6
+ echo "configure:929: result: missing" >&5
+echo "$ECHO_T""missing" >&6
fi
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
+echo "configure:934: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
-echo "configure:914: checking for $ac_word" >&5
if test "${ac_cv_path_PERL+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_word"; then
- ac_cv_path_PERL="$ac_dir/$ac_word"
+ ac_cv_path_PERL=$ac_dir/$ac_word
break
fi
done
;;
esac
fi
-PERL="$ac_cv_path_PERL"
+PERL=$ac_cv_path_PERL
if test -n "$PERL"; then
- echo "$ECHO_T""$PERL" >&6
+ echo "configure:960: result: $PERL" >&5
+echo "$ECHO_T""$PERL" >&6
else
- echo "$ECHO_T""no" >&6
+ echo "configure:963: result: no" >&5
+echo "$ECHO_T""no" >&6
fi
if test "$PERL" != no; then
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
+echo "configure:982: checking for a BSD compatible install" >&5
echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
-echo "configure:960: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if test "${ac_cv_path_install+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
fi
if test "${ac_cv_path_install+set}" = set; then
- INSTALL="$ac_cv_path_install"
+ INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the path is relative.
- INSTALL="$ac_install_sh"
+ INSTALL=$ac_install_sh
fi
fi
+echo "configure:1028: result: $INSTALL" >&5
echo "$ECHO_T""$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
DEFS=`sed -f conftest.defs confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f conftest.defs
-# Save into config.log some information that might help in debugging
+# Save into config.log some information that might help in debugging.
echo >&5
echo "Cache variables:" >&5
# The following way of writing the cache mishandles newlines in values,
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
+ *) ac_file_in=$ac_file.in ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
[\\/]* | ?:[\\/]* )
- srcdir="$ac_given_srcdir$ac_dir_suffix";
+ srcdir=$ac_given_srcdir$ac_dir_suffix;
top_srcdir=$ac_given_srcdir ;;
*) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
+ top_srcdir=$ac_dots$ac_given_srcdir ;;
esac
case "$ac_given_INSTALL" in
- [\\/$]* | ?:[\\/]* ) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+ [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
+ *) INSTALL=$ac_dots$ac_given_INSTALL ;;
esac
echo creating "$ac_file"
CPP="${CC-cc} -nologo -E"
AC_TRY_CPP([#include <assert.h>
Syntax Error], , CPP=/lib/cpp)))
- ac_cv_prog_CPP="$CPP"])dnl
- CPP="$ac_cv_prog_CPP"
+ ac_cv_prog_CPP=$CPP])dnl
+ CPP=$ac_cv_prog_CPP
else
- ac_cv_prog_CPP="$CPP"
+ ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
AC_SUBST(CPP)dnl
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CFLAGS="${CFLAGS+set}"
-ac_save_CFLAGS="$CFLAGS"
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
CFLAGS=
AC_PROG_CC_G
if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
+ CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
AC_LANG(C++)dnl
CXXCPP="${CXX-g++} -E"
AC_TRY_CPP([#include <stdlib.h>], , CXXCPP=/lib/cpp)
- ac_cv_prog_CXXCPP="$CXXCPP"
+ ac_cv_prog_CXXCPP=$CXXCPP
AC_LANG_RESTORE()dnl
])dnl
-CXXCPP="$ac_cv_prog_CXXCPP"
+CXXCPP=$ac_cv_prog_CXXCPP
fi
AC_MSG_RESULT($CXXCPP)
AC_SUBST(CXXCPP)dnl
dnl Check whether -g works, even if CXXFLAGS is set, in case the package
dnl plays around with CXXFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CXXFLAGS="${CXXFLAGS+set}"
-ac_save_CXXFLAGS="$CXXFLAGS"
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
CXXFLAGS=
AC_PROG_CXX_G
if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS="$ac_save_CXXFLAGS"
+ CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
CXXFLAGS="-g -O2"
dnl Check whether -g works, even if FFLAGS is set, in case the package
dnl plays around with FFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
- ac_test_FFLAGS="${FFLAGS+set}"
- ac_save_FFLAGS="$FFLAGS"
+ ac_test_FFLAGS=${FFLAGS+set}
+ ac_save_FFLAGS=$FFLAGS
FFLAGS=
AC_PROG_F77_G
if test "$ac_test_FFLAGS" = set; then
- FFLAGS="$ac_save_FFLAGS"
+ FFLAGS=$ac_save_FFLAGS
elif test $ac_cv_prog_f77_g = yes; then
FFLAGS="-g -O2"
else
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(ac_cv_prog_cc_stdc,
[ac_cv_prog_cc_stdc=no
-ac_save_CC="$CC"
+ac_save_CC=$CC
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
int argc;
char **argv;],
[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];],
-[ac_cv_prog_cc_stdc="$ac_arg"; break])
+[ac_cv_prog_cc_stdc=$ac_arg; break])
done
-CC="$ac_save_CC"
+CC=$ac_save_CC
])
case "x$ac_cv_prog_cc_stdc" in
x|xno)
# to the Fortran 77 compiler in order to get "verbose" output that
# we can then parse for the Fortran 77 linker flags. I don't know
# what to do if your compiler doesn't have -v.
-ac_save_FFLAGS="$FFLAGS"
+ac_save_FFLAGS=$FFLAGS
FFLAGS="$FFLAGS -v"
ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'`
-FFLAGS="$ac_save_FFLAGS"
+FFLAGS=$ac_save_FFLAGS
# Restore the "compiler output file descriptor".
exec AC_FD_LOG>&8
# argument to start with a "-". If we ever see this case, then
# reset AC_PREVIOUS_ARG so that we don't try and process AC_ARG as
# an argument.
- ac_previous_arg="$ac_save_arg"
+ ac_previous_arg=$ac_save_arg
test -n "`echo $ac_arg | sed -n -e '/^-/!p'`" && ac_previous_arg=
case "$ac_previous_arg" in
'')
temp_arg="$temp_arg $ac_i",
ac_seen="$ac_seen $ac_i")
done
- ac_arg="$temp_arg"
+ ac_arg=$temp_arg
;;
-[[lLR]]*)
# Append to AC_SEEN if it's not already there.
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
test -n "$ac_ld_run_path" && FLIBS="$ac_ld_run_path $FLIBS"
-ac_cv_flibs="$FLIBS"
+ac_cv_flibs=$FLIBS
])
AC_SUBST(FLIBS)
])# AC_F77_LIBRARY_LDFLAGS
AC_LANG_SAVE()dnl
AC_LANG(C)
- ac_save_LIBS="$LIBS"
+ ac_save_LIBS=$LIBS
LIBS="cf77_test.${ac_objext} $FLIBS $LIBS"
f77_case=
ac_cv_f77_mangling="$f77_case case, $f77_underscore underscores"
fi
- LIBS="$ac_save_LIBS"
+ LIBS=$ac_save_LIBS
AC_LANG_RESTORE()dnl
rm -f conftest*
CPP="${CC-cc} -nologo -E"
AC_TRY_CPP([#include <assert.h>
Syntax Error], , CPP=/lib/cpp)))
- ac_cv_prog_CPP="$CPP"])dnl
- CPP="$ac_cv_prog_CPP"
+ ac_cv_prog_CPP=$CPP])dnl
+ CPP=$ac_cv_prog_CPP
else
- ac_cv_prog_CPP="$CPP"
+ ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
AC_SUBST(CPP)dnl
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CFLAGS="${CFLAGS+set}"
-ac_save_CFLAGS="$CFLAGS"
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
CFLAGS=
AC_PROG_CC_G
if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
+ CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
AC_LANG(C++)dnl
CXXCPP="${CXX-g++} -E"
AC_TRY_CPP([#include <stdlib.h>], , CXXCPP=/lib/cpp)
- ac_cv_prog_CXXCPP="$CXXCPP"
+ ac_cv_prog_CXXCPP=$CXXCPP
AC_LANG_RESTORE()dnl
])dnl
-CXXCPP="$ac_cv_prog_CXXCPP"
+CXXCPP=$ac_cv_prog_CXXCPP
fi
AC_MSG_RESULT($CXXCPP)
AC_SUBST(CXXCPP)dnl
dnl Check whether -g works, even if CXXFLAGS is set, in case the package
dnl plays around with CXXFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CXXFLAGS="${CXXFLAGS+set}"
-ac_save_CXXFLAGS="$CXXFLAGS"
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
CXXFLAGS=
AC_PROG_CXX_G
if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS="$ac_save_CXXFLAGS"
+ CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
CXXFLAGS="-g -O2"
dnl Check whether -g works, even if FFLAGS is set, in case the package
dnl plays around with FFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
- ac_test_FFLAGS="${FFLAGS+set}"
- ac_save_FFLAGS="$FFLAGS"
+ ac_test_FFLAGS=${FFLAGS+set}
+ ac_save_FFLAGS=$FFLAGS
FFLAGS=
AC_PROG_F77_G
if test "$ac_test_FFLAGS" = set; then
- FFLAGS="$ac_save_FFLAGS"
+ FFLAGS=$ac_save_FFLAGS
elif test $ac_cv_prog_f77_g = yes; then
FFLAGS="-g -O2"
else
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(ac_cv_prog_cc_stdc,
[ac_cv_prog_cc_stdc=no
-ac_save_CC="$CC"
+ac_save_CC=$CC
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
int argc;
char **argv;],
[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];],
-[ac_cv_prog_cc_stdc="$ac_arg"; break])
+[ac_cv_prog_cc_stdc=$ac_arg; break])
done
-CC="$ac_save_CC"
+CC=$ac_save_CC
])
case "x$ac_cv_prog_cc_stdc" in
x|xno)
# to the Fortran 77 compiler in order to get "verbose" output that
# we can then parse for the Fortran 77 linker flags. I don't know
# what to do if your compiler doesn't have -v.
-ac_save_FFLAGS="$FFLAGS"
+ac_save_FFLAGS=$FFLAGS
FFLAGS="$FFLAGS -v"
ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'`
-FFLAGS="$ac_save_FFLAGS"
+FFLAGS=$ac_save_FFLAGS
# Restore the "compiler output file descriptor".
exec AC_FD_LOG>&8
# argument to start with a "-". If we ever see this case, then
# reset AC_PREVIOUS_ARG so that we don't try and process AC_ARG as
# an argument.
- ac_previous_arg="$ac_save_arg"
+ ac_previous_arg=$ac_save_arg
test -n "`echo $ac_arg | sed -n -e '/^-/!p'`" && ac_previous_arg=
case "$ac_previous_arg" in
'')
temp_arg="$temp_arg $ac_i",
ac_seen="$ac_seen $ac_i")
done
- ac_arg="$temp_arg"
+ ac_arg=$temp_arg
;;
-[[lLR]]*)
# Append to AC_SEEN if it's not already there.
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
test -n "$ac_ld_run_path" && FLIBS="$ac_ld_run_path $FLIBS"
-ac_cv_flibs="$FLIBS"
+ac_cv_flibs=$FLIBS
])
AC_SUBST(FLIBS)
])# AC_F77_LIBRARY_LDFLAGS
AC_LANG_SAVE()dnl
AC_LANG(C)
- ac_save_LIBS="$LIBS"
+ ac_save_LIBS=$LIBS
LIBS="cf77_test.${ac_objext} $FLIBS $LIBS"
f77_case=
ac_cv_f77_mangling="$f77_case case, $f77_underscore underscores"
fi
- LIBS="$ac_save_LIBS"
+ LIBS=$ac_save_LIBS
AC_LANG_RESTORE()dnl
rm -f conftest*
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir="$ac_optarg" ;;
+ bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu)
ac_prev=build ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build="$ac_optarg" ;;
+ build=$ac_optarg ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file="$ac_optarg" ;;
+ cache_file=$ac_optarg ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
| --da=*)
- datadir="$ac_optarg" ;;
+ datadir=$ac_optarg ;;
-disable-* | --disable-*)
ac_feature=`echo "$ac_option"|sed -e 's/-*disable-//'`
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
- exec_prefix="$ac_optarg" ;;
+ exec_prefix=$ac_optarg ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
-host | --host | --hos | --ho)
ac_prev=host ;;
-host=* | --host=* | --hos=* | --ho=*)
- host="$ac_optarg" ;;
+ host=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir="$ac_optarg" ;;
+ includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir="$ac_optarg" ;;
+ infodir=$ac_optarg ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir="$ac_optarg" ;;
+ libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
- libexecdir="$ac_optarg" ;;
+ libexecdir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
- localstatedir="$ac_optarg" ;;
+ localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir="$ac_optarg" ;;
+ mandir=$ac_optarg ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir="$ac_optarg" ;;
+ oldincludedir=$ac_optarg ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix="$ac_optarg" ;;
+ prefix=$ac_optarg ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix="$ac_optarg" ;;
+ program_prefix=$ac_optarg ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix="$ac_optarg" ;;
+ program_suffix=$ac_optarg ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name="$ac_optarg" ;;
+ program_transform_name=$ac_optarg ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
- sbindir="$ac_optarg" ;;
+ sbindir=$ac_optarg ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
- sharedstatedir="$ac_optarg" ;;
+ sharedstatedir=$ac_optarg ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
- site="$ac_optarg" ;;
+ site=$ac_optarg ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir="$ac_optarg" ;;
+ srcdir=$ac_optarg ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir="$ac_optarg" ;;
+ sysconfdir=$ac_optarg ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
ac_prev=target ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target="$ac_optarg" ;;
+ target=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes="$ac_optarg" ;;
+ x_includes=$ac_optarg ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
+ x_libraries=$ac_optarg ;;
-*) AC_MSG_ERROR([unrecognized option: $ac_option
Try `configure --help' for more information.])
if test "x$nonopt" != xNONE; then
AC_MSG_ERROR(can only configure for one host and one target at a time)
fi
- nonopt="$ac_option"
+ nonopt=$ac_option
;;
esac
else
AC_MSG_RESULT(ok)
fi
-ac_cv_host_system_type="$host"
-ac_cv_build_system_type="$build"
-ac_cv_target_system_type="$target"dnl
+ac_cv_host_system_type=$host
+ac_cv_build_system_type=$build
+ac_cv_target_system_type=$target[]dnl
])
ifval([$4], [ test -z "[$]ac_cv_prog_$1" && ac_cv_prog_$1="$4"
])dnl
fi])dnl
-$1="$ac_cv_prog_$1"
+$1=$ac_cv_prog_$1
if test -n "[$]$1"; then
AC_MSG_RESULT([$]$1)
else
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_word"; then
- ac_cv_path_$1="$ac_dir/$ac_word"
+ ac_cv_path_$1=$ac_dir/$ac_word
break
fi
done
])dnl
;;
esac])dnl
-$1="$ac_cv_path_$1"
+$1=$ac_cv_path_$1
if test -n "[$]$1"; then
AC_MSG_RESULT([$]$1)
else
# Search for a library defining FUNC, if it's not already available.
AC_DEFUN(AC_SEARCH_LIBS,
[AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1],
-[ac_func_search_save_LIBS="$LIBS"
+[ac_func_search_save_LIBS=$LIBS
ac_cv_search_$1="no"
AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1="none required"])
test "$ac_cv_search_$1" = "no" && for ac_lib in $2; do
[ac_cv_search_$1="-l$ac_lib"
break])
done
-LIBS="$ac_func_search_save_LIBS"])
+LIBS=$ac_func_search_save_LIBS])
AC_SHELL_IFELSE([test "$ac_cv_search_$1" != "no"],
[test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
$3],
[AH_CHECK_LIB([$1])dnl
AC_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])dnl
AC_CACHE_CHECK([for $2 in -l$1], ac_Lib,
-[ac_save_LIBS="$LIBS"
+[ac_save_LIBS=$LIBS
LIBS="-l$1 $5 $LIBS"
AC_TRY_LINK_FUNC([$2],
[AC_VAR_SET(ac_Lib, yes)],
[AC_VAR_SET(ac_Lib, no)])
-LIBS="$ac_save_LIBS"])
+LIBS=$ac_save_LIBS])
AC_SHELL_IFELSE([test AC_VAR_GET(ac_Lib) = yes],
[m4_default([$3],
[AC_DEFINE_UNQUOTED(AC_TR_CPP(HAVE_LIB$1))
# Root of the tmp file names. Use pid to allow concurrent executions.
ac_cs_root=cs\$\$
ac_given_srcdir=$srcdir
-ifdef([AC_PROVIDE_AC_PROG_INSTALL], [ac_given_INSTALL="$INSTALL"
+ifdef([AC_PROVIDE_AC_PROG_INSTALL],
+[dnl Leave those double quotes here: this $INSTALL is evaluated in a
+dnl here document, wbich might result in `ac_given_srcdir=/bin/install -c'.
+ac_given_INSTALL="$INSTALL"
])dnl
# If no file are specified by the user, then we need to provide default
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file" | sed 's%[[^:]]*:%%'`
ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
+ *) ac_file_in=$ac_file.in ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
[[\\/]]* | ?:[[\\/]]* )
- srcdir="$ac_given_srcdir$ac_dir_suffix";
+ srcdir=$ac_given_srcdir$ac_dir_suffix;
top_srcdir=$ac_given_srcdir ;;
*) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
+ srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
+ top_srcdir=$ac_dots$ac_given_srcdir ;;
esac
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
[ case "$ac_given_INSTALL" in
- [[\\/$]]* | ?:[[\\/]]* ) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+ [[\\/$]]* | ?:[[\\/]]* ) INSTALL=$ac_given_INSTALL ;;
+ *) INSTALL=$ac_dots$ac_given_INSTALL ;;
esac
])dnl
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file" | sed 's%[[^:]]*:%%'`
ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
+ *) ac_file_in=$ac_file.in ;;
esac
echo creating $ac_file
fi
case "$srcdir" in
- [[\\/$]]* | ?:[[\\/]]* ) ac_rel_source="$srcdir/$ac_source" ;;
- *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
+ [[\\/$]]* | ?:[[\\/]]* ) ac_rel_source=$srcdir/$ac_source ;;
+ *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
esac
# Make a symlink if possible; otherwise try a hard link.
esac
done
-ifdef([AC_PROVIDE_AC_PROG_INSTALL], [ ac_given_INSTALL="$INSTALL"
+ifdef([AC_PROVIDE_AC_PROG_INSTALL], [ ac_given_INSTALL=$INSTALL
])dnl
for ac_subdir in AC_LIST_SUBDIRS; do
case "$cache_file" in
[[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
*) # Relative path.
- ac_sub_cache_file="$ac_dots$cache_file" ;;
+ ac_sub_cache_file=$ac_dots$cache_file ;;
esac
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
[ case "$ac_given_INSTALL" in
- [[\\/$]]* | ?:[[\\/]]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+ [[\\/$]]* | ?:[[\\/]]*) INSTALL=$ac_given_INSTALL ;;
+ *) INSTALL=$ac_dots$ac_given_INSTALL ;;
esac
])dnl
CPP="${CC-cc} -nologo -E"
AC_TRY_CPP([#include <assert.h>
Syntax Error], , CPP=/lib/cpp)))
- ac_cv_prog_CPP="$CPP"])dnl
- CPP="$ac_cv_prog_CPP"
+ ac_cv_prog_CPP=$CPP])dnl
+ CPP=$ac_cv_prog_CPP
else
- ac_cv_prog_CPP="$CPP"
+ ac_cv_prog_CPP=$CPP
fi
AC_MSG_RESULT($CPP)
AC_SUBST(CPP)dnl
dnl Check whether -g works, even if CFLAGS is set, in case the package
dnl plays around with CFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CFLAGS="${CFLAGS+set}"
-ac_save_CFLAGS="$CFLAGS"
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
CFLAGS=
AC_PROG_CC_G
if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
+ CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
AC_LANG(C++)dnl
CXXCPP="${CXX-g++} -E"
AC_TRY_CPP([#include <stdlib.h>], , CXXCPP=/lib/cpp)
- ac_cv_prog_CXXCPP="$CXXCPP"
+ ac_cv_prog_CXXCPP=$CXXCPP
AC_LANG_RESTORE()dnl
])dnl
-CXXCPP="$ac_cv_prog_CXXCPP"
+CXXCPP=$ac_cv_prog_CXXCPP
fi
AC_MSG_RESULT($CXXCPP)
AC_SUBST(CXXCPP)dnl
dnl Check whether -g works, even if CXXFLAGS is set, in case the package
dnl plays around with CXXFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
-ac_test_CXXFLAGS="${CXXFLAGS+set}"
-ac_save_CXXFLAGS="$CXXFLAGS"
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
CXXFLAGS=
AC_PROG_CXX_G
if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS="$ac_save_CXXFLAGS"
+ CXXFLAGS=$ac_save_CXXFLAGS
elif test $ac_cv_prog_cxx_g = yes; then
if test "$GXX" = yes; then
CXXFLAGS="-g -O2"
dnl Check whether -g works, even if FFLAGS is set, in case the package
dnl plays around with FFLAGS (such as to build both debugging and
dnl normal versions of a library), tasteless as that idea is.
- ac_test_FFLAGS="${FFLAGS+set}"
- ac_save_FFLAGS="$FFLAGS"
+ ac_test_FFLAGS=${FFLAGS+set}
+ ac_save_FFLAGS=$FFLAGS
FFLAGS=
AC_PROG_F77_G
if test "$ac_test_FFLAGS" = set; then
- FFLAGS="$ac_save_FFLAGS"
+ FFLAGS=$ac_save_FFLAGS
elif test $ac_cv_prog_f77_g = yes; then
FFLAGS="-g -O2"
else
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(ac_cv_prog_cc_stdc,
[ac_cv_prog_cc_stdc=no
-ac_save_CC="$CC"
+ac_save_CC=$CC
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
int argc;
char **argv;],
[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];],
-[ac_cv_prog_cc_stdc="$ac_arg"; break])
+[ac_cv_prog_cc_stdc=$ac_arg; break])
done
-CC="$ac_save_CC"
+CC=$ac_save_CC
])
case "x$ac_cv_prog_cc_stdc" in
x|xno)
# to the Fortran 77 compiler in order to get "verbose" output that
# we can then parse for the Fortran 77 linker flags. I don't know
# what to do if your compiler doesn't have -v.
-ac_save_FFLAGS="$FFLAGS"
+ac_save_FFLAGS=$FFLAGS
FFLAGS="$FFLAGS -v"
ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'`
-FFLAGS="$ac_save_FFLAGS"
+FFLAGS=$ac_save_FFLAGS
# Restore the "compiler output file descriptor".
exec AC_FD_LOG>&8
# argument to start with a "-". If we ever see this case, then
# reset AC_PREVIOUS_ARG so that we don't try and process AC_ARG as
# an argument.
- ac_previous_arg="$ac_save_arg"
+ ac_previous_arg=$ac_save_arg
test -n "`echo $ac_arg | sed -n -e '/^-/!p'`" && ac_previous_arg=
case "$ac_previous_arg" in
'')
temp_arg="$temp_arg $ac_i",
ac_seen="$ac_seen $ac_i")
done
- ac_arg="$temp_arg"
+ ac_arg=$temp_arg
;;
-[[lLR]]*)
# Append to AC_SEEN if it's not already there.
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
test -n "$ac_ld_run_path" && FLIBS="$ac_ld_run_path $FLIBS"
-ac_cv_flibs="$FLIBS"
+ac_cv_flibs=$FLIBS
])
AC_SUBST(FLIBS)
])# AC_F77_LIBRARY_LDFLAGS
AC_LANG_SAVE()dnl
AC_LANG(C)
- ac_save_LIBS="$LIBS"
+ ac_save_LIBS=$LIBS
LIBS="cf77_test.${ac_objext} $FLIBS $LIBS"
f77_case=
ac_cv_f77_mangling="$f77_case case, $f77_underscore underscores"
fi
- LIBS="$ac_save_LIBS"
+ LIBS=$ac_save_LIBS
AC_LANG_RESTORE()dnl
rm -f conftest*
# not all implementations provide the %pointer and %array declarations.
ac_cv_prog_lex_yytext_pointer=no
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
-ac_save_LIBS="$LIBS"
+ac_save_LIBS=$LIBS
LIBS="$LIBS $LEXLIB"
AC_LINK_IFELSE([`cat $LEX_OUTPUT_ROOT.c`], ac_cv_prog_lex_yytext_pointer=yes)
-LIBS="$ac_save_LIBS"
+LIBS=$ac_save_LIBS
rm -f "${LEX_OUTPUT_ROOT}.c"
])
dnl
IFS=$ac_save_IFS
])dnl
if test "${ac_cv_path_install+set}" = set; then
- INSTALL="$ac_cv_path_install"
+ INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the path is relative.
- INSTALL="$ac_install_sh"
+ INSTALL=$ac_install_sh
fi
fi
dnl We do special magic for INSTALL instead of AC_SUBST, to get
else
ac_cv_prog_LN_S=ln
fi])dnl
-LN_S="$ac_cv_prog_LN_S"
+LN_S=$ac_cv_prog_LN_S
if test "$ac_cv_prog_LN_S" = "ln -s"; then
AC_MSG_RESULT(yes)
else
if test $ac_have_func = no; then
# There is a commonly available library for RS/6000 AIX.
# Since it is not a standard part of AIX, it might be installed locally.
- ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS"
+ ac_getloadavg_LIBS=$LIBS; LIBS="-L/usr/local/lib $LIBS"
AC_CHECK_LIB(getloadavg, getloadavg,
- LIBS="-lgetloadavg $LIBS", LIBS="$ac_getloadavg_LIBS")
+ LIBS="-lgetloadavg $LIBS", LIBS=$ac_getloadavg_LIBS)
fi
# Make sure it is really in the library, if we think we found it.
ac_cv_sys_interpreter=no
fi
rm -f conftest])
-interpval="$ac_cv_sys_interpreter"
+interpval=$ac_cv_sys_interpreter
])
AC_DEFUNCT(AC_HAVE_POUNDBANG, [;use AC_SYS_INTERPRETER, taking no arguments])
# using them would break gcc on systems where it needs fixed includes.
case "$ac_im_incroot" in
/usr/include) ;;
- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
case "$ac_im_usrlibdir" in
/usr/lib | /lib) ;;
- *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
cd ..
# See if we find them without any special options.
# Don't add to $LIBS permanently.
- ac_save_LIBS="$LIBS"
+ ac_save_LIBS=$LIBS
LIBS="-l$ac_x_direct_test_library $LIBS"
AC_TRY_LINK(, [${ac_x_direct_test_function}()],
-[LIBS="$ac_save_LIBS"
+[LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=],
-[LIBS="$ac_save_LIBS"
+[LIBS=$ac_save_LIBS
# First see if replacing the include by lib works.
# Check X11 before X11Rn because it is often a symlink to the current release.
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
case "`(uname -sr) 2>/dev/null`" in
"SunOS 5"*)
AC_MSG_CHECKING(whether -R must be followed by a space)
- ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
+ ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
AC_LINK_IFELSE([], ac_R_nospace=yes, ac_R_nospace=no)
if test $ac_R_nospace = yes; then
AC_MSG_RESULT(no)
AC_MSG_RESULT(neither works)
fi
fi
- LIBS="$ac_xsave_LIBS"
+ LIBS=$ac_xsave_LIBS
esac
fi
fi
# Check for libraries that X11R6 Xt/Xaw programs need.
- ac_save_LDFLAGS="$LDFLAGS"
+ ac_save_LDFLAGS=$LDFLAGS
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# John Interrante, Karl Berry
AC_CHECK_LIB(ICE, IceConnectionNumber,
[X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
- LDFLAGS="$ac_save_LDFLAGS"
+ LDFLAGS=$ac_save_LDFLAGS
fi
AC_SUBST(X_CFLAGS)dnl