+2017-06-01 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR ada/80921
+ * configure.ac (default_gnatlib_target): Remove bogus condition.
+ (have_getipinfo): Tweak.
+ * configure: Regenerate.
+
2016-12-21 Release Manager
* GCC 6.3.0 released.
# 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"
fi
-have_getipinfo=
if test x$have_unwind_getipinfo = xyes; then
have_getipinfo=-DHAVE_GETIPINFO
+else
+ have_getipinfo=
fi
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"
# 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])
# Output: create a Makefile.
AC_CONFIG_FILES([Makefile])