put -std=c99 in CFLAGS_NODIST
diff --git a/configure b/configure
index 121cf6a..94a7435 100755
--- a/configure
+++ b/configure
@@ -6694,8 +6694,6 @@
 	    SCO_SV*) OPT="$OPT -m486 -DSCO5"
 	    ;;
         esac
-
-        OPT="$OPT -std=c99"
 	;;
 
     *)
@@ -6714,6 +6712,8 @@
 # tweak BASECFLAGS based on compiler and platform
 case $GCC in
 yes)
+    CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
+
     # Python doesn't violate C99 aliasing rules, but older versions of
     # GCC produce warnings for legal Python code.  Enable
     # -fno-strict-aliasing on versions of GCC that support but produce