diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-01 10:51:15 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-01 10:51:15 +0000 |
commit | 8c3a6139f87e65f8ef83402b54624dbe4202c61b (patch) | |
tree | b0da6bbe0781512661a8ba3f8846af72d3b1e933 /libada/configure.ac | |
parent | 409bb09ce954dbcccffbf92f7a735bdc415b5c44 (diff) | |
download | gcc-8c3a6139f87e65f8ef83402b54624dbe4202c61b.tar.gz |
PR ada/80921
* configure.ac (default_gnatlib_target): Remove bogus condition.
(have_getipinfo): Tweak.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248785 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libada/configure.ac')
-rw-r--r-- | libada/configure.ac | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libada/configure.ac b/libada/configure.ac index f990a07432f..bcab9840281 100644 --- a/libada/configure.ac +++ b/libada/configure.ac @@ -127,9 +127,7 @@ AC_PROG_AWK AC_PROG_LN_S # 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" @@ -138,15 +136,16 @@ AC_SUBST([default_gnatlib_target]) # Check for _Unwind_GetIPInfo GCC_CHECK_UNWIND_GETIPINFO -have_getipinfo= if test x$have_unwind_getipinfo = xyes; then have_getipinfo=-DHAVE_GETIPINFO +else + have_getipinfo= fi -AC_SUBST(have_getipinfo) +AC_SUBST([have_getipinfo]) # Check for <sys/capability.h> AC_CHECK_HEADER([sys/capability.h], have_capability=-DHAVE_CAPABILITY, have_capability=) -AC_SUBST(have_capability) +AC_SUBST([have_capability]) # Determine what GCC version number to use in filesystem paths. GCC_BASE_VER |