From 6cd7b00928bba3cbef70ad613277d75ede964610 Mon Sep 17 00:00:00 2001 From: neroden Date: Sun, 25 Apr 2004 21:29:37 +0000 Subject: * configure.ac: Fix stupid brain-fade; set default_gnattools_target correctly. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81167 138bc75d-0d04-0410-961f-82ee72b054a4 --- libada/configure | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libada/configure') diff --git a/libada/configure b/libada/configure index b5e1827717e..1d5e30da9d5 100755 --- a/libada/configure +++ b/libada/configure @@ -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" -- cgit v1.2.1