mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
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:
parent
e0f0a574d7
commit
16b58c8d3c
3 changed files with 3 additions and 2 deletions
|
@ -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
2
aclocal.m4
vendored
|
@ -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
2
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue