Fix Python header check failure due to invalid cached state
authorJohnathan Corgan <jcorgan@corganenterprises.com>
Thu, 3 Sep 2009 19:53:02 +0000 (12:53 -0700)
committerJohnathan Corgan <jcorgan@corganenterprises.com>
Thu, 3 Sep 2009 19:55:27 +0000 (12:55 -0700)
* GR_FORTRAN macro leaves $ac_ext=f on some systems
* Restore by invoking AC_PROG_CC

Reported-by: Szymon Jakubczak <szym@csail.mit.edu>
Signed-off-by: Johnathan Corgan <jcorgan@corganenterprises.com>
configure.ac

index 2bb37935e9a4cb1ef10b664c6a1463f13368a064..4b90b723cff4664f21d02b904d68011e6783d56f 100644 (file)
@@ -125,6 +125,7 @@ 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