--- pnet-0.6.0-org/configure.in 2003-10-15 03:07:09.000000000 +0200 +++ pnet-0.6.0-new/configure.in 2003-11-12 10:39:04.000000000 +0100 @@ -304,8 +304,8 @@ dnl Check to see whether cc accepts "-no-cpp-precomp" or not. AC_CACHE_CHECK(whether ${CC-cc} accepts -no-cpp-precomp, ac_cv_prog_cc_precomp, -[echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -no-cpp-precomp -c conftest.c 2>&1`"; then +[echo 'int main(){return 0;}' > conftest.c +if test -z "`${CC-cc} -no-cpp-precomp -oconftest conftest.c 2>&1`"; then ac_cv_prog_cc_precomp=yes else ac_cv_prog_cc_precomp=no @@ -320,8 +320,8 @@ dnl Check to see whether cc accepts "-fno-gcse" or not. AC_SUBST(NO_GCSE) AC_CACHE_CHECK(whether ${CC-cc} accepts -fno-gcse, ac_cv_prog_cc_no_gcse, -[echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -fno-gcse -c conftest.c 2>&1`"; then +[echo 'int main(){return 0;}' > conftest.c +if test -z "`${CC-cc} -fno-gcse -oconftest conftest.c 2>&1`"; then ac_cv_prog_cc_no_gcse=yes else ac_cv_prog_cc_no_gcse=no @@ -337,8 +337,8 @@ dnl Check to see whether cc accepts "-fno-inline-functions" or not. AC_SUBST(NO_INLINE_FUNCTIONS) AC_CACHE_CHECK(whether ${CC-cc} accepts -fno-inline-functions, ac_cv_prog_cc_no_inline_functions, -[echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -fno-inline-functions -c conftest.c 2>&1`"; then +[echo 'int main(){return 0;}' > conftest.c +if test -z "`${CC-cc} -fno-inline-functions -oconftest conftest.c 2>&1`"; then ac_cv_prog_cc_no_inline_functions=yes else ac_cv_prog_cc_no_inline_functions=no