Special case for cygwin in CON_AUTOLOAD.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2001-06-07 17:42:58 +00:00
parent 8160d39d8c
commit e00c7b6eb6
2 changed files with 216 additions and 210 deletions

13
aclocal.m4 vendored
View file

@ -123,11 +123,14 @@ int main()
} }
EOF EOF
${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.constructor.$ac_ext $LIBS 1>&5 ${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.constructor.$ac_ext $LIBS 1>&5
if test -n "`nm conftest${ac_exeext} | grep global_ctors`"; then case "$target_os" in
objc_cv_con_autoload=yes cygwin*) objc_cv_con_autoload=yes;;
else *) if test -n "`nm conftest${ac_exeext} | grep global_ctors`"; then
objc_cv_con_autoload=no objc_cv_con_autoload=yes
fi else
objc_cv_con_autoload=no
fi ;;
esac
]) ])
if test $objc_cv_con_autoload = yes; then if test $objc_cv_con_autoload = yes; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)

413
configure vendored

File diff suppressed because it is too large Load diff