configure.ac: Fix stupid brain-fade; set default_gnattools_target correctly.

* configure.ac: Fix stupid brain-fade; set default_gnattools_target
	correctly.
	* configure: Regenerate.

From-SVN: r81167
This commit is contained in:
Nathanael Nerode 2004-04-25 21:29:37 +00:00
parent 060c5f005e
commit d743b2b6b1
3 changed files with 22 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2004-04-19 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Fix stupid brain-fade; set default_gnattools_target
correctly.
* configure: Regenerate.
2004-04-19 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Revert most of Arnaud's last change. Prefer anything

10
libada/configure vendored
View File

@ -1556,13 +1556,19 @@ if test $build = $target \
&& test ${enable_shared} = yes ; then
# Note that build=target is almost certainly the wrong test; FIXME
default_gnatlib_target="gnatlib-shared"
default_gnattools_target="gnattools-cross"
else
default_gnatlib_target="gnatlib-plain"
default_gnattools_target="gnattools-native"
fi
# Determine what to build for 'gnattools'
if test $build = $target ; then
# Note that build=target is almost certainly the wrong test; FIXME
default_gnattools_target="gnattools-native"
else
default_gnattools_target="gnattools-cross"
fi
# Output: create a Makefile.
ac_config_files="$ac_config_files Makefile"

View File

@ -81,12 +81,18 @@ if test $build = $target \
&& test ${enable_shared} = yes ; then
# Note that build=target is almost certainly the wrong test; FIXME
default_gnatlib_target="gnatlib-shared"
default_gnattools_target="gnattools-cross"
else
default_gnatlib_target="gnatlib-plain"
default_gnattools_target="gnattools-native"
fi
AC_SUBST([default_gnatlib_target])
# Determine what to build for 'gnattools'
if test $build = $target ; then
# Note that build=target is almost certainly the wrong test; FIXME
default_gnattools_target="gnattools-native"
else
default_gnattools_target="gnattools-cross"
fi
AC_SUBST([default_gnattools_target])
# Output: create a Makefile.