Commit 1ffc5c6e by Richard Kenner Committed by Richard Kenner

configure.in: Use "have_gnat" variable, not "gnat".

	* configure.in: Use "have_gnat" variable, not "gnat".
	* configure: Regenerated.

From-SVN: r39632
parent 7b18790c
Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* configure.in: Use "have_gnat" variable, not "gnat".
* configure: Regenerated.
* config/sparc/sparc.c (function_value): Treat all non-record * config/sparc/sparc.c (function_value): Treat all non-record
aggregate types like used to treat UNION_TYPE. aggregate types like used to treat UNION_TYPE.
......
...@@ -2207,28 +2207,28 @@ fi ...@@ -2207,28 +2207,28 @@ fi
set dummy gnatbind; ac_word=$2 set dummy gnatbind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2210: checking for $ac_word" >&5 echo "configure:2210: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gnat'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_have_gnat'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
if test -n "$gnat"; then if test -n "$have_gnat"; then
ac_cv_prog_gnat="$gnat" # Let the user override the test. ac_cv_prog_have_gnat="$have_gnat" # Let the user override the test.
else else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH" ac_dummy="$PATH"
for ac_dir in $ac_dummy; do for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=. test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then if test -f $ac_dir/$ac_word; then
ac_cv_prog_gnat="yes" ac_cv_prog_have_gnat="yes"
break break
fi fi
done done
IFS="$ac_save_ifs" IFS="$ac_save_ifs"
test -z "$ac_cv_prog_gnat" && ac_cv_prog_gnat="no" test -z "$ac_cv_prog_have_gnat" && ac_cv_prog_have_gnat="no"
fi fi
fi fi
gnat="$ac_cv_prog_gnat" have_gnat="$ac_cv_prog_have_gnat"
if test -n "$gnat"; then if test -n "$have_gnat"; then
echo "$ac_t""$gnat" 1>&6 echo "$ac_t""$have_gnat" 1>&6
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
fi fi
...@@ -6475,7 +6475,7 @@ do ...@@ -6475,7 +6475,7 @@ do
if test x"${add_this_lang}" = xyes; then if test x"${add_this_lang}" = xyes; then
case $lang in case $lang in
${srcdir}/ada/config-lang.in) ${srcdir}/ada/config-lang.in)
if test x$gnat = xyes ; then if test x$have_gnat = xyes ; then
subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`" subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
fi fi
;; ;;
...@@ -7021,7 +7021,7 @@ s%@INSTALL@%$INSTALL%g ...@@ -7021,7 +7021,7 @@ s%@INSTALL@%$INSTALL%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@CPP@%$CPP%g s%@CPP@%$CPP%g
s%@gnat@%$gnat%g s%@have_gnat@%$have_gnat%g
s%@have_mktemp_command@%$have_mktemp_command%g s%@have_mktemp_command@%$have_mktemp_command%g
s%@MAKEINFO@%$MAKEINFO%g s%@MAKEINFO@%$MAKEINFO%g
s%@BUILD_INFO@%$BUILD_INFO%g s%@BUILD_INFO@%$BUILD_INFO%g
......
...@@ -433,7 +433,7 @@ AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=]) ...@@ -433,7 +433,7 @@ AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=]) AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
# See if GNAT has been installed # See if GNAT has been installed
AC_CHECK_PROG(gnat, gnatbind, yes, no) AC_CHECK_PROG(have_gnat, gnatbind, yes, no)
# See if we have the mktemp command. # See if we have the mktemp command.
AC_CHECK_PROG(have_mktemp_command, mktemp, yes, no) AC_CHECK_PROG(have_mktemp_command, mktemp, yes, no)
...@@ -1520,7 +1520,7 @@ changequote(,)dnl ...@@ -1520,7 +1520,7 @@ changequote(,)dnl
if test x"${add_this_lang}" = xyes; then if test x"${add_this_lang}" = xyes; then
case $lang in case $lang in
${srcdir}/ada/config-lang.in) ${srcdir}/ada/config-lang.in)
if test x$gnat = xyes ; then if test x$have_gnat = xyes ; then
subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`" subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
fi fi
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment