From 31231effb488243954814b2e34c2b7c846fb3cac Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 9 Dec 2011 23:15:44 -0800 Subject: Build and pass test suite on Cygwin. * configure (longlong, ulonglong, superlong, usuperlong): Initialize these variables so that if the detection tests fail, the script does not access unbound variables. Avoid adding junk like .bss.* into config.h. * mpi-patches/config-types: Fixed wrong use of nonexistent SIZEOF_LONG_T. --- configure | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index d961b59f..b6c91967 100755 --- a/configure +++ b/configure @@ -603,6 +603,8 @@ printf "okay\n" # printf "Checking what C type we have for integers wider than \"long\" ... " +longlong= + for try_type in int64 __int64 "long long" ; do cat > conftest.c < conftest.c < conftest.c < conftest.c <> config.h ;; esac - # retain all useful information! - printf "#define %s %s\n" "$symbol" "$size" >> config.h done < conftest.syms rm -f conftest.syms conftest.o -- cgit v1.2.3