diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2017-06-01 10:51:15 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2017-06-01 10:51:15 +0000 |
commit | 2d16708fa186148ca13f375c18e05abb806508eb (patch) | |
tree | b0da6bbe0781512661a8ba3f8846af72d3b1e933 /libada/configure | |
parent | ac853c9071ab9a8df483c26fe8672732546c51ab (diff) | |
download | gcc-2d16708fa186148ca13f375c18e05abb806508eb.zip gcc-2d16708fa186148ca13f375c18e05abb806508eb.tar.gz gcc-2d16708fa186148ca13f375c18e05abb806508eb.tar.bz2 |
re PR ada/80921 (cross compiling fails to build Ada shared libraries)
PR ada/80921
* configure.ac (default_gnatlib_target): Remove bogus condition.
(have_getipinfo): Tweak.
* configure: Regenerate.
From-SVN: r248785
Diffstat (limited to 'libada/configure')
-rwxr-xr-x | libada/configure | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libada/configure b/libada/configure index 78b9245..76b3992 100755 --- a/libada/configure +++ b/libada/configure @@ -3201,9 +3201,7 @@ fi # Determine what to build for 'gnatlib' -if test $build = $target \ - && test ${enable_shared} = yes ; then - # Note that build=target is almost certainly the wrong test; FIXME +if test ${enable_shared} = yes; then default_gnatlib_target="gnatlib-shared" else default_gnatlib_target="gnatlib-plain" @@ -3247,9 +3245,10 @@ $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h fi -have_getipinfo= if test x$have_unwind_getipinfo = xyes; then have_getipinfo=-DHAVE_GETIPINFO +else + have_getipinfo= fi |