revert to working configure script

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@36937 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-07-27 08:55:09 +00:00
parent 3500c55b55
commit fdf53a9743
3 changed files with 1911 additions and 1643 deletions

View file

@ -1,3 +1,9 @@
2013-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Revert last change to get nonfragile abi detection
working on gnu/linux and freebsd again (not tested on other platforms).
* configure: Regenerated.
2013-07-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Rewrite test whether the compiler supports the

3535
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -57,6 +57,9 @@ AC_PROG_CXX
#AC_PROG_OBJCXX
OBJCXX="${CXX}"
# We may use egrep for some tests further down below
AC_PROG_EGREP
AC_CANONICAL_TARGET([])
@ -1380,16 +1383,12 @@ return __has_feature(objc_nonfragile_abi) ? 0 : 1;
fi
else
if test x"$USE_NONFRAGILE_ABI" != x"no"; then
AC_COMPILE_IFELSE([[
int
main()
{
AC_EGREP_CPP([^1$], [
#ifndef __has_feature
#define __has_feature(x) 0
#endif
return __has_feature(objc_nonfragile_abi) ? 0 : 1;
}
]], USE_NONFRAGILE_ABI=yes, USE_NONFRAGILE_ABI=no)
__has_feature(objc_nonfragile_abi)
], USE_NONFRAGILE_ABI=yes, USE_NONFRAGILE_ABI=no)
fi
if test x"$USE_NONFRAGILE_ABI" = x"yes"; then
AC_MSG_RESULT([yes (compiler default)])