# HG changeset patch # User John W. Eaton # Date 1424750730 18000 # Node ID 4006a7377a190ef6b975574f5c2038b497a3d294 # Parent d3dcc62512d786d89042c2014bbf227d1cd3dcc3 don't save and restore FFLAGS in configure (bug #44359) * configure.ac: Don't attempt to save and restore FFLAGS. diff -r d3dcc62512d7 -r 4006a7377a19 configure.ac --- a/configure.ac Mon Feb 23 20:10:05 2015 -0500 +++ b/configure.ac Mon Feb 23 23:05:30 2015 -0500 @@ -316,16 +316,14 @@ AC_PROG_CPP AC_PROG_GCC_TRADITIONAL -## Save and restore CFLAGS, CXXFLAGS, and FFLAGS globally. These variables -## are for users, so we shouldn't be touching them. Instead, we should set -## the corresponding AM_ flags (currently by way of the XTRA_ variables). -## However, for the duration of the configure script, we may set CFLAGS, -## CXXFLAGS, or FFLAGS so that subsequent tests succeed. Temporary -## settings like this are currently done for pthreads and openmp, for -## example. +## Save and restore CFLAGS and CXXFLAGS globally. These variables +## are for users, so we shouldn't be touching them. Instead, we should +## set the corresponding AM_ flags (currently by way of the XTRA_ variables). +## However, for the duration of the configure script, we may set CFLAGS +## and CXXFLAGS so that subsequent tests succeed. Temporary settings +## like this are currently done for pthreads and openmp, for example. original_octave_configure_CFLAGS="$CFLAGS" original_octave_configure_CXXFLAGS="$CXXFLAGS" -original_octave_configure_FFLAGS="$FFLAGS" ## Check for MSVC have_msvc=no @@ -2969,7 +2967,6 @@ CFLAGS="$original_octave_configure_CFLAGS" CXXFLAGS="$original_octave_configure_CXXFLAGS" -FFLAGS="$original_octave_configure_FFLAGS" AH_BOTTOM([#include "oct-conf-post.h"])