mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
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:
parent
8160d39d8c
commit
e00c7b6eb6
2 changed files with 216 additions and 210 deletions
13
aclocal.m4
vendored
13
aclocal.m4
vendored
|
@ -123,11 +123,14 @@ int main()
|
|||
}
|
||||
EOF
|
||||
${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
|
||||
objc_cv_con_autoload=yes
|
||||
else
|
||||
objc_cv_con_autoload=no
|
||||
fi
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue