From 52a817f80ef21e19994e34f288b4573d5a87e5c3 Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Fri, 14 Jul 2006 21:57:46 +0000 Subject: [PATCH] Cygwin fixes --- configure | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 3d8089049..dd4714f02 100755 --- a/configure +++ b/configure @@ -73,11 +73,11 @@ cc_test() EOF if ! runcmd $CC -o testconf testconf.c then - rm -f testconf.c testconf + rm -f testconf* echo "Could not find a working compiler" exit 1 fi - rm -f testconf.c testconf + rm -f testconf* } openssl_test() @@ -99,7 +99,7 @@ EOF echo "missing, using built-in SHA1 implementation" OPENSSL=no fi - rm -f testconf.c testconf + rm -f testconf* } lm_test() @@ -118,7 +118,7 @@ EOF LDFLAGS="$LDFLAGS -lm" fi fi - rm -f testconf.c testconf + rm -f testconf* } lrintf_test() @@ -134,7 +134,7 @@ EOF then CFLAGS="$CFLAGS -DHAVE_LRINTF" fi - rm -f testconf.c testconf + rm -f testconf* } gettext_test() @@ -150,7 +150,7 @@ EOF if runcmd $CC $CFLAGS_GTK $LDFLAGS_GTK -o testconf testconf.c then - rm -f testconf.c testconf + rm -f testconf* return 0 fi @@ -160,11 +160,11 @@ EOF if runcmd $CC $CFLAGS_GTK -I$intl_testdir $LDFLAGS_GTK -o testconf testconf.c then CFLAGS_GTK="$CFLAGS_GTK -I$intl_testdir" - rm -f testconf.c testconf + rm -f testconf* return 0 fi done - rm -f testconf.c testconf + rm -f testconf* return 1 } @@ -200,7 +200,7 @@ EOF echo "no" GTK=no fi - rm -f testconf.c testconf + rm -f testconf* else echo "no (2.6.0 or later is required)" GTK=no @@ -278,6 +278,9 @@ EOF PTHREAD=yes ;; + CYGWIN*) + ;; + *) echo "Unsupported operating system" exit 1 ;;