OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* configure.ac: Fix stupid brain-fade; set default_gnattools_target
[pf3gnuchains/gcc-fork.git]
/
libada
/
configure
diff --git
a/libada/configure
b/libada/configure
index
b5e1827
..
1d5e30d
100755
(executable)
--- 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"
&& 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"
else
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.
ac_config_files="$ac_config_files Makefile"
# Output: create a Makefile.
ac_config_files="$ac_config_files Makefile"