+Mon Mar 23 19:43:35 1992 K. Richard Pixley (rich@cygnus.com)
+
+ * configure: pass down site_option during recursion.
+
Thu Mar 19 16:49:36 1992 Stu Grossman (grossman at cygnus.com)
* Makefile.in (all.cross): Add .stmp-bfd .stmp-readline.
program_prefix=
program_prefix_option=
silent=
+site=
+site_option=
site_makefile_frag=
srcdir=
srctrigger=
exec_prefix=${arg}
exec_prefixoption="-exec_prefix=${exec_prefix}"
next_exec_prefix=
- elif [ -n "${next_site}" ] ; then site=${arg} ; next_site=
+ elif [ -n "${next_site}" ] ; then site=${arg} ; site_option=-site=${site} ; next_site=
# remove any possible trailing slash from srcdir. See note below.
elif [ -n "${next_srcdir}" ] ; then srcdir=`echo ${arg} | sed -e 's:/$::'` ; next_srcdir=
elif [ -n "${next_program_prefix}" ] ; then
arguments=`echo ${arguments} | sed "s:${arg}::"`
;;
-site=* | --site=* | --sit=* | --si=*)
+ site_option=${arg}
site=`echo ${arg} | sed 's/^[-a-z]*=//'`
;;
-site | --site | --sit)
".") ;;
*)
if [ -f ${srcdir}/config.status ] ; then
- echo '***' Cannot configure for ${PWD} when ${srcdir}/config.status exists. 1>&2
+ echo '***' Cannot configure here in \"${PWD}\" when \"${srcdir}\" is currently configured. 1>&2
exit 1
fi
esac
# default exec_prefix
case "${exec_prefix}" in
-"") exec_prefix="${prefix}" ;;
+"") exec_prefix="$(prefix)" ;;
*) ;;
esac
### The recursion line is here.
if ${recprog} -s ${host_alias} -target=${target_alias} \
${verbose} ${prefixoption} ${tmpdiroption} ${exec_prefixoption} \
- ${srcdiroption} ${program_prefixoption} ; then
+ ${srcdiroption} ${program_prefixoption} ${site_option} ; then
true
else
exit 1