Fix constructor test

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9351 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-03-13 22:10:53 +00:00
parent e0f0a574d7
commit 16b58c8d3c
3 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
2001-03-13 Adam Fedor <fedor@gnu.org>
* configure.in: Check and set EXEEXT needed by some tests.
* aclocal.m4: Fixes for constructor test.
* Makefile.postamble (header-links): Copy directory rather than link
if LN_S does not support symbolic links.

2
aclocal.m4 vendored
View file

@ -123,7 +123,7 @@ 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 _ctors_aux`"; then
if test -n "`nm conftest${ac_exeext} | grep global_ctors`"; then
objc_cv_con_autoload=yes
else
objc_cv_con_autoload=no

2
configure vendored
View file

@ -2041,7 +2041,7 @@ 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 _ctors_aux`"; then
if test -n "`nm conftest${ac_exeext} | grep global_ctors`"; then
objc_cv_con_autoload=yes
else
objc_cv_con_autoload=no