mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
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:
parent
3500c55b55
commit
fdf53a9743
3 changed files with 1911 additions and 1643 deletions
|
@ -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
|
||||
|
|
13
configure.ac
13
configure.ac
|
@ -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)])
|
||||
|
|
Loading…
Reference in a new issue