configure.in: Use "have_gnat" variable, not "gnat".
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Tue, 13 Feb 2001 13:00:04 +0000 (13:00 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 13 Feb 2001 13:00:04 +0000 (08:00 -0500)
* configure.in: Use "have_gnat" variable, not "gnat".
* configure: Regenerated.

From-SVN: r39632

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 776b9958e2b2ac4cc94fcf8fcb2a7f2e4e038b09..456841fba3b06941deb170463676431d16b32724 100644 (file)
@@ -1,5 +1,8 @@
 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
        aggregate types like used to treat UNION_TYPE.
 
index 2fa46112e2612062434895994e736337990f03cd..c5c9b02f717ed54e4fb7c76a4f12818d4e29b011 100755 (executable)
@@ -2207,28 +2207,28 @@ fi
 set dummy gnatbind; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 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
 else
-  if test -n "$gnat"; then
-  ac_cv_prog_gnat="$gnat" # Let the user override the test.
+  if test -n "$have_gnat"; then
+  ac_cv_prog_have_gnat="$have_gnat" # Let the user override the test.
 else
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_gnat="yes"
+      ac_cv_prog_have_gnat="yes"
       break
     fi
   done
   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
-gnat="$ac_cv_prog_gnat"
-if test -n "$gnat"; then
-  echo "$ac_t""$gnat" 1>&6
+have_gnat="$ac_cv_prog_have_gnat"
+if test -n "$have_gnat"; then
+  echo "$ac_t""$have_gnat" 1>&6
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -6475,7 +6475,7 @@ do
          if test x"${add_this_lang}" = xyes; then
                case $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,'`"
                        fi
                        ;;
@@ -7021,7 +7021,7 @@ s%@INSTALL@%$INSTALL%g
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 s%@INSTALL_DATA@%$INSTALL_DATA%g
 s%@CPP@%$CPP%g
-s%@gnat@%$gnat%g
+s%@have_gnat@%$have_gnat%g
 s%@have_mktemp_command@%$have_mktemp_command%g
 s%@MAKEINFO@%$MAKEINFO%g
 s%@BUILD_INFO@%$BUILD_INFO%g
index 1ad41a6b47498aab457a4077522176898e45381b..52207e63456d66d830c8d538901523a61b157460 100644 (file)
@@ -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=])
 
 # 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.
 AC_CHECK_PROG(have_mktemp_command, mktemp, yes, no)
@@ -1520,7 +1520,7 @@ changequote(,)dnl
          if test x"${add_this_lang}" = xyes; then
                case $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,'`"
                        fi
                        ;;