mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 01:21:08 +00:00
Update to autoconf 2.53
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13574 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dbe3a76e41
commit
ef8ec22cfe
16 changed files with 15854 additions and 7017 deletions
|
@ -24,16 +24,19 @@ int main()
|
|||
return 0;
|
||||
}
|
||||
EOF
|
||||
${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.constructor.$ac_ext $LIBS 1>&5
|
||||
if test -n "`nm conftest | grep _ctors_aux`"; then
|
||||
objc_cv_con_autoload=yes
|
||||
else
|
||||
objc_cv_con_autoload=no
|
||||
fi
|
||||
${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.constructor.$ac_ext $LIBS 1>&5
|
||||
case "$target_os" in
|
||||
cygwin*) objc_cv_con_autoload=yes;;
|
||||
*) if test -n "`nm conftest${ac_exeext} | grep global_ctors`"; then
|
||||
objc_cv_con_autoload=yes
|
||||
else
|
||||
objc_cv_con_autoload=no
|
||||
fi ;;
|
||||
esac
|
||||
])
|
||||
if test $objc_cv_con_autoload = yes; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(CON_AUTOLOAD)
|
||||
AC_DEFINE(CON_AUTOLOAD,,[Define if constructors are automatically loaded])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue