Fixed native exception detection when using --enable-objc-nonfragile-abi.

Based on a patch by Christopher Armstrong, see bug report #36186


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@35259 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2012-07-05 14:31:35 +00:00
parent 2940f06494
commit 695f80a68f
3 changed files with 244 additions and 191 deletions

View file

@ -1,3 +1,11 @@
2012-07-05 Quentin Mathe <quentin.mathe@gmail.com>
* configure.ac: Fixed ObjC non fragile ABI check to restore CFLAGS
correctly, --enable-objc-nonfragile-abi was breaking native exceptions
detection. Based on a patch by Christopher Armstrong, see bug report
#36186
* configure: Regenerated.
2012-02-21 Nicola Pero <nicola.pero@meta-innovation.com>
* GNUstep.sh.in: Use "setopt shwordsplit" instead of "set -y" to

425
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -1355,7 +1355,7 @@ AC_MSG_CHECKING(whether we should use the nonfragile ABI)
if test x"$USE_NONFRAGILE_ABI" = x"yes"; then
# What we want to do: set USE_NONFRAGILE_ABI to yes if we can compile
# something with -fobjc-nonfragile-abi.
CFLAGS_nonfragile="$CFLAGS"
CFLAGS_no_nonfragile="$CFLAGS"
CFLAGS="$CFLAGS -fobjc-nonfragile-abi"
AC_COMPILE_IFELSE([[
/* Note that we never execute this code so it does not really matter