diff aclocal.m4 @ 6057:0cc5f8afba3f

[project @ 2006-10-18 02:02:36 by jwe]
author jwe
date Wed, 18 Oct 2006 02:05:22 +0000
parents 8702f00329bf
children c968f4198067
line wrap: on
line diff
--- a/aclocal.m4	Tue Oct 17 19:39:14 2006 +0000
+++ b/aclocal.m4	Wed Oct 18 02:05:22 2006 +0000
@@ -633,7 +633,7 @@
 bool FSmy_dld_fcn (void) { return false; }
 EOF
     if AC_TRY_EVAL(ac_compile); then
-      if test "`${NM-nm} conftest.o | grep _FSmy_dld_fcn`" != ""; then
+      if test "`${NM-nm} conftest.$ac_objext | grep _FSmy_dld_fcn`" != ""; then
         octave_cv_cxx_prepends_underscore=yes
       fi
     else
@@ -742,13 +742,13 @@
 bool FSmy_dld_fcn (void) { return false; }
 EOF
     if AC_TRY_EVAL(ac_compile); then
-      if test "`${NM-nm} conftest.o | grep FSmy_dld_fcn__Fv`" != ""; then
+      if test "`${NM-nm} conftest.$ac_objext | grep FSmy_dld_fcn__Fv`" != ""; then
         octave_cv_cxx_abi='gnu_v2'
       fi
-      if test "`${NM-nm} conftest.o | grep _Z12FSmy_dld_fcnv`" != ""; then
+      if test "`${NM-nm} conftest.$ac_objext | grep _Z12FSmy_dld_fcnv`" != ""; then
         octave_cv_cxx_abi='gnu_v3'
       fi
-      if test "`${NM-nm} conftest.o | grep __1cMFSmy_dld_fcn6F_b_`" != ""; then
+      if test "`${NM-nm} conftest.$ac_objext | grep __1cMFSmy_dld_fcn6F_b_`" != ""; then
         octave_cv_cxx_abi='sun_v5'
       fi
     else