From acdf13612f55c3a4abd4f2f05d759a4fd2fdf7d0 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Thu, 3 Sep 2009 17:12:40 -0700 Subject: [PATCH] Better fix for broken AC_PROG_F77 macro * Move AC_PROG_CC into GR_FORTRAN macro definition --- config/gr_fortran.m4 | 1 + configure.ac | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/config/gr_fortran.m4 b/config/gr_fortran.m4 index b5b0470f..a558b2f7 100644 --- a/config/gr_fortran.m4 +++ b/config/gr_fortran.m4 @@ -28,5 +28,6 @@ AC_DEFUN([GR_FORTRAN],[ then AC_PROG_F77 AC_F77_LIBRARY_LDFLAGS + AC_PROG_CC dnl bux fix to restore $ac_ext fi ]) diff --git a/configure.ac b/configure.ac index 4b90b723..2bb37935 100644 --- a/configure.ac +++ b/configure.ac @@ -125,7 +125,6 @@ AC_ENABLE_SHARED dnl do build shared libraries AC_DISABLE_STATIC dnl don't build static libraries m4_ifdef([LT_INIT],[LT_INIT],[AC_PROG_LIBTOOL]) GR_FORTRAN -AC_PROG_CC dnl ensure $ac_ext set correctly after Fortran test GR_NO_UNDEFINED dnl do we need the -no-undefined linker flag GR_SCRIPTING -- 2.47.2