git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6e63aa9
)
bugfixes
author
kramm
<kramm>
Sun, 19 Nov 2006 21:37:23 +0000
(21:37 +0000)
committer
kramm
<kramm>
Sun, 19 Nov 2006 21:37:23 +0000
(21:37 +0000)
m4/gcc.2.95.m4
patch
|
blob
|
history
diff --git
a/m4/gcc.2.95.m4
b/m4/gcc.2.95.m4
index
1bcc827
..
d607b66
100644
(file)
--- a/
m4/gcc.2.95.m4
+++ b/
m4/gcc.2.95.m4
@@
-2,7
+2,7
@@
AC_DEFUN(RFX_CHECK_OLDGCC,
[
AC_MSG_CHECKING([whether gcc supports lazy variable declaration])
[
AC_MSG_CHECKING([whether gcc supports lazy variable declaration])
-cat > conftest.cpp << EOF
+cat > conftest.c << EOF
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
@@
-16,14
+16,14
@@
int main (int argc, char*argv[])
}
EOF
}
EOF
-testprog_link='$CC $CPPFLAGS $CFLAGS conftest.cpp -o conftest${ac_exeext}'
+testprog_link='$CC $CPPFLAGS $CFLAGS conftest.c -o conftest${ac_exeext}'
if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext}; then
AC_MSG_RESULT(yes)
GCC_IS_OK=true
export GCC_IS_OK
else
echo "configure: failed program was:" >&5
if { (eval echo gcc.2.95.m4:19: \"$testprog_link\") 1>&5; (eval $testprog_link) 2>&5; } && test -s conftest${ac_exeext}; then
AC_MSG_RESULT(yes)
GCC_IS_OK=true
export GCC_IS_OK
else
echo "configure: failed program was:" >&5
- cat conftest.cpp >&5
+ cat conftest.c >&5
AC_MSG_RESULT(no)
fi
rm -f conftest*
AC_MSG_RESULT(no)
fi
rm -f conftest*