In libf2c:

	* configure.in: Don't run AC_PROG_CC_WORKS, because
	we're not interested in the result and it might fail.
	* libF77/configure.in: Likewise.
	* libI77/configure.in: Likewise.
	* libU77/configure.in: Likewise.
	* configure: Regenerated.
	* libF77/configure: Likewise.
	* libI77/configure: Likewise.
	* libU77/configure: Likewise.
In libobjc:
	* configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
	we're not interested in the result and they might fail.
	* configure: Regenerated.

From-SVN: r39560
diff --git a/libobjc/configure.in b/libobjc/configure.in
index 9183e52..d568610 100644
--- a/libobjc/configure.in
+++ b/libobjc/configure.in
@@ -65,6 +65,11 @@
 fi
 
 dnl Checks for programs.
+
+dnl FIXME AC_PROG_CC wants CC to be able to link things, but it may
+dnl not be able to.
+define([AC_PROG_CC_WORKS],[])
+
 # For ObjC we'll set CC to point at the built gcc, but this will get it into
 # the makefiles
 AC_PROG_CC
@@ -78,6 +83,17 @@
 fi
 AC_PROG_INSTALL
 
+# We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
+# at least currently, we never actually build a program, so we never
+# need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
+# fails, because we are probably configuring with a cross compiler
+# which cant create executables.  So we include AC_EXEEXT to keep
+# automake happy, but we dont execute it, since we dont care about
+# the result.
+if false; then
+  AC_EXEEXT
+fi
+
 dnl Checks for libraries.
 
 dnl Checks for header files.