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:
fedor 2002-05-02 15:17:54 +00:00
parent dbe3a76e41
commit ef8ec22cfe
16 changed files with 15854 additions and 7017 deletions

View file

@ -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