mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
ac853c9071
commit
2d16708fa1
|
@ -1,3 +1,10 @@
|
||||||
|
2017-06-01 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
|
PR ada/80921
|
||||||
|
* configure.ac (default_gnatlib_target): Remove bogus condition.
|
||||||
|
(have_getipinfo): Tweak.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2017-05-22 Eric Botcazou <ebotcazou@adacore.com>
|
2017-05-22 Eric Botcazou <ebotcazou@adacore.com>
|
||||||
|
|
||||||
* configure.ac: Add check for sys/capability.h header.
|
* configure.ac: Add check for sys/capability.h header.
|
||||||
|
@ -11,7 +18,7 @@
|
||||||
* configure.ac: Add GCC_BASE_VER.
|
* configure.ac: Add GCC_BASE_VER.
|
||||||
* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
|
* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
|
||||||
version from BASE-VER file.
|
version from BASE-VER file.
|
||||||
* configure: Regenerated.
|
* configure: Regenerate.
|
||||||
|
|
||||||
2017-01-04 Alan Modra <amodra@gmail.com>
|
2017-01-04 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
|
|
@ -3201,9 +3201,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
# Determine what to build for 'gnatlib'
|
# Determine what to build for 'gnatlib'
|
||||||
if test $build = $target \
|
if test ${enable_shared} = yes; then
|
||||||
&& test ${enable_shared} = yes ; then
|
|
||||||
# Note that build=target is almost certainly the wrong test; FIXME
|
|
||||||
default_gnatlib_target="gnatlib-shared"
|
default_gnatlib_target="gnatlib-shared"
|
||||||
else
|
else
|
||||||
default_gnatlib_target="gnatlib-plain"
|
default_gnatlib_target="gnatlib-plain"
|
||||||
|
@ -3247,9 +3245,10 @@ $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
have_getipinfo=
|
|
||||||
if test x$have_unwind_getipinfo = xyes; then
|
if test x$have_unwind_getipinfo = xyes; then
|
||||||
have_getipinfo=-DHAVE_GETIPINFO
|
have_getipinfo=-DHAVE_GETIPINFO
|
||||||
|
else
|
||||||
|
have_getipinfo=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -127,9 +127,7 @@ AC_PROG_AWK
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
|
|
||||||
# Determine what to build for 'gnatlib'
|
# Determine what to build for 'gnatlib'
|
||||||
if test $build = $target \
|
if test ${enable_shared} = yes; then
|
||||||
&& test ${enable_shared} = yes ; then
|
|
||||||
# Note that build=target is almost certainly the wrong test; FIXME
|
|
||||||
default_gnatlib_target="gnatlib-shared"
|
default_gnatlib_target="gnatlib-shared"
|
||||||
else
|
else
|
||||||
default_gnatlib_target="gnatlib-plain"
|
default_gnatlib_target="gnatlib-plain"
|
||||||
|
@ -138,15 +136,16 @@ AC_SUBST([default_gnatlib_target])
|
||||||
|
|
||||||
# Check for _Unwind_GetIPInfo
|
# Check for _Unwind_GetIPInfo
|
||||||
GCC_CHECK_UNWIND_GETIPINFO
|
GCC_CHECK_UNWIND_GETIPINFO
|
||||||
have_getipinfo=
|
|
||||||
if test x$have_unwind_getipinfo = xyes; then
|
if test x$have_unwind_getipinfo = xyes; then
|
||||||
have_getipinfo=-DHAVE_GETIPINFO
|
have_getipinfo=-DHAVE_GETIPINFO
|
||||||
|
else
|
||||||
|
have_getipinfo=
|
||||||
fi
|
fi
|
||||||
AC_SUBST(have_getipinfo)
|
AC_SUBST([have_getipinfo])
|
||||||
|
|
||||||
# Check for <sys/capability.h>
|
# Check for <sys/capability.h>
|
||||||
AC_CHECK_HEADER([sys/capability.h], have_capability=-DHAVE_CAPABILITY, have_capability=)
|
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.
|
# Determine what GCC version number to use in filesystem paths.
|
||||||
GCC_BASE_VER
|
GCC_BASE_VER
|
||||||
|
|
Loading…
Reference in New Issue