about summary refs log tree commit diff
path: root/sysdeps/unix/common/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/common/configure')
-rwxr-xr-xsysdeps/unix/common/configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/unix/common/configure b/sysdeps/unix/common/configure
index c7e4ae2037..9112edee33 100755
--- a/sysdeps/unix/common/configure
+++ b/sysdeps/unix/common/configure
@@ -13,6 +13,12 @@ else
 #line $LINENO "configure"
 #include "confdefs.h"
 
+#ifdef F77_DUMMY_MAIN
+#  ifdef __cplusplus
+     extern "C"
+#  endif
+   int F77_DUMMY_MAIN() { return 1; }
+#endif
 int
 main ()
 {
@@ -60,6 +66,12 @@ else
 #line $LINENO "configure"
 #include "confdefs.h"
 
+#ifdef F77_DUMMY_MAIN
+#  ifdef __cplusplus
+     extern "C"
+#  endif
+   int F77_DUMMY_MAIN() { return 1; }
+#endif
 int
 main ()
 {
@@ -111,6 +123,12 @@ cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
 #include <ctype.h>
+#ifdef F77_DUMMY_MAIN
+#  ifdef __cplusplus
+     extern "C"
+#  endif
+   int F77_DUMMY_MAIN() { return 1; }
+#endif
 int
 main ()
 {