Include ac_exeext when doing nm

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

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