Use AC_FD_CC uniformly (one & was missing).
This commit was SVN r7407.
Этот коммит содержится в:
родитель
5b5da322e8
Коммит
4637ca6027
@ -87,7 +87,7 @@ AC_DEFUN([_OMPI_CHECK_ASM_LSYM],[
|
|||||||
|
|
||||||
for sym in L .L $ L$ ; do
|
for sym in L .L $ L$ ; do
|
||||||
asm_result=0
|
asm_result=0
|
||||||
echo "configure: trying $sym" >& AC_FD_CC
|
echo "configure: trying $sym" >&AC_FD_CC
|
||||||
OMPI_TRY_ASSEMBLE([foobar$ompi_cv_asm_label_suffix
|
OMPI_TRY_ASSEMBLE([foobar$ompi_cv_asm_label_suffix
|
||||||
${sym}mytestlabel$ompi_cv_asm_label_suffix],
|
${sym}mytestlabel$ompi_cv_asm_label_suffix],
|
||||||
[# ok, we succeeded at assembling. see if we can nm,
|
[# ok, we succeeded at assembling. see if we can nm,
|
||||||
@ -104,8 +104,8 @@ ${sym}mytestlabel$ompi_cv_asm_label_suffix],
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# not so much on the NM goodness :/
|
# not so much on the NM goodness :/
|
||||||
echo "$NM failed. Output from NM was:" >& AC_FD_CC
|
echo "$NM failed. Output from NM was:" >&AC_FD_CC
|
||||||
cat conftest.out > AC_FD_CC
|
cat conftest.out >&AC_FD_CC
|
||||||
AC_MSG_WARN([$NM could not read object file])
|
AC_MSG_WARN([$NM could not read object file])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
@ -166,7 +166,7 @@ AC_DEFUN([_OMPI_CHECK_ASM_GSYM],[
|
|||||||
|
|
||||||
for sym in "_" "" "." ; do
|
for sym in "_" "" "." ; do
|
||||||
asm_result=0
|
asm_result=0
|
||||||
echo "configure: trying $sym" >& AC_FD_CC
|
echo "configure: trying $sym" >&AC_FD_CC
|
||||||
cat > conftest_c.c <<EOF
|
cat > conftest_c.c <<EOF
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -272,7 +272,7 @@ foo$ompi_cv_asm_label_suffix
|
|||||||
[ompi_asm_addr=[`$NM conftest.$OBJEXT | grep foo | sed -e 's/.*\([0-9a-fA-F][0-9a-fA-F]\).*foo.*/\1/'`]],
|
[ompi_asm_addr=[`$NM conftest.$OBJEXT | grep foo | sed -e 's/.*\([0-9a-fA-F][0-9a-fA-F]\).*foo.*/\1/'`]],
|
||||||
[ompi_asm_addr=""])
|
[ompi_asm_addr=""])
|
||||||
# test for both 16 and 10 (decimal and hex notations)
|
# test for both 16 and 10 (decimal and hex notations)
|
||||||
echo "configure: .align test address offset is $ompi_asm_addr" >& AC_FD_CC
|
echo "configure: .align test address offset is $ompi_asm_addr" >&AC_FD_CC
|
||||||
if test "$ompi_asm_addr" = "16" -o "$ompi_asm_addr" = "10" ; then
|
if test "$ompi_asm_addr" = "16" -o "$ompi_asm_addr" = "10" ; then
|
||||||
ompi_cv_asm_align_log="yes"
|
ompi_cv_asm_align_log="yes"
|
||||||
else
|
else
|
||||||
@ -329,7 +329,7 @@ AC_DEFUN([_OMPI_CHECK_ASM_TYPE],[
|
|||||||
*)
|
*)
|
||||||
for type in @ \# % ; do
|
for type in @ \# % ; do
|
||||||
asm_result=0
|
asm_result=0
|
||||||
echo "configure: trying $type" >& AC_FD_CC
|
echo "configure: trying $type" >&AC_FD_CC
|
||||||
OMPI_TRY_ASSEMBLE([ .type mysym, ${type}function],
|
OMPI_TRY_ASSEMBLE([ .type mysym, ${type}function],
|
||||||
[# ok, we succeeded at assembling. see if there was
|
[# ok, we succeeded at assembling. see if there was
|
||||||
# a warning in the output.
|
# a warning in the output.
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user