Commit d743b2b6 by Nathanael Nerode

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
parent 060c5f00
2004-04-19 Nathanael Nerode <neroden@gcc.gnu.org> 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 * Makefile.in: Revert most of Arnaud's last change. Prefer anything
over error-prone Make abuse. Remove temporary debug code. over error-prone Make abuse. Remove temporary debug code.
(gnatlib-zcx): New target. (gnatlib-zcx): New target.
......
...@@ -1556,13 +1556,19 @@ if test $build = $target \ ...@@ -1556,13 +1556,19 @@ if test $build = $target \
&& test ${enable_shared} = yes ; then && test ${enable_shared} = yes ; then
# Note that build=target is almost certainly the wrong test; FIXME # Note that build=target is almost certainly the wrong test; FIXME
default_gnatlib_target="gnatlib-shared" default_gnatlib_target="gnatlib-shared"
default_gnattools_target="gnattools-cross"
else else
default_gnatlib_target="gnatlib-plain" default_gnatlib_target="gnatlib-plain"
default_gnattools_target="gnattools-native"
fi 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. # Output: create a Makefile.
ac_config_files="$ac_config_files Makefile" ac_config_files="$ac_config_files Makefile"
......
...@@ -81,12 +81,18 @@ if test $build = $target \ ...@@ -81,12 +81,18 @@ if test $build = $target \
&& test ${enable_shared} = yes ; then && test ${enable_shared} = yes ; then
# Note that build=target is almost certainly the wrong test; FIXME # Note that build=target is almost certainly the wrong test; FIXME
default_gnatlib_target="gnatlib-shared" default_gnatlib_target="gnatlib-shared"
default_gnattools_target="gnattools-cross"
else else
default_gnatlib_target="gnatlib-plain" default_gnatlib_target="gnatlib-plain"
default_gnattools_target="gnattools-native"
fi fi
AC_SUBST([default_gnatlib_target]) 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]) AC_SUBST([default_gnattools_target])
# Output: create a Makefile. # Output: create a Makefile.
......
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