This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Minor cleanup in configure.in
- To: gcc-patches at gcc dot gnu dot org
- Subject: Minor cleanup in configure.in
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Tue, 13 Feb 01 08:02:55 EST
Whoever added the test to see if GNAT was present sets a shell variable
"gnat" to indicate that it is. Setting "have_gnat" is cleaner.
Tue Feb 13 07:52:04 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* configure.in: Use "have_gnat" variable, not "gnat".
* configure: Regenerated.
*** configure.in 2001/02/12 07:35:03 1.483
--- configure.in 2001/02/13 12:57:54
*************** AC_CHECK_HEADER(pthread.h, [have_pthread
*** 434,438 ****
# See if GNAT has been installed
! AC_CHECK_PROG(gnat, gnatbind, yes, no)
# See if we have the mktemp command.
--- 434,438 ----
# See if GNAT has been installed
! AC_CHECK_PROG(have_gnat, gnatbind, yes, no)
# See if we have the mktemp command.
*************** changequote(,)dnl
*** 1521,1525 ****
case $lang in
${srcdir}/ada/config-lang.in)
! if test x$gnat = xyes ; then
subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
fi
--- 1521,1525 ----
case $lang in
${srcdir}/ada/config-lang.in)
! if test x$have_gnat = xyes ; then
subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
fi