aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/xc-cc-check.m418
1 files changed, 6 insertions, 12 deletions
diff --git a/m4/xc-cc-check.m4 b/m4/xc-cc-check.m4
index 286e798f4..cd5540531 100644
--- a/m4/xc-cc-check.m4
+++ b/m4/xc-cc-check.m4
@@ -26,12 +26,6 @@ dnl -------------------------------------------------
dnl Private macro.
AC_DEFUN([_XC_PROG_CC_PREAMBLE], [
-dnl export CC
-dnl export CPP
-dnl export LIBS
-dnl export CFLAGS
-dnl export LDFLAGS
-dnl export CPPFLAGS
xc_prog_cc_prev_IFS=$IFS
xc_prog_cc_prev_LIBS=$LIBS
xc_prog_cc_prev_CFLAGS=$CFLAGS
@@ -50,12 +44,12 @@ AC_DEFUN([_XC_PROG_CC_POSTLUDE], [
CFLAGS=$xc_prog_cc_prev_CFLAGS
LDFLAGS=$xc_prog_cc_prev_LDFLAGS
CPPFLAGS=$xc_prog_cc_prev_CPPFLAGS
-dnl AC_SUBST([CC])dnl
-dnl AC_SUBST([CPP])dnl
-dnl AC_SUBST([LIBS])dnl
-dnl AC_SUBST([CFLAGS])dnl
-dnl AC_SUBST([LDFLAGS])dnl
-dnl AC_SUBST([CPPFLAGS])dnl
+ AC_SUBST([CC])dnl
+ AC_SUBST([CPP])dnl
+ AC_SUBST([LIBS])dnl
+ AC_SUBST([CFLAGS])dnl
+ AC_SUBST([LDFLAGS])dnl
+ AC_SUBST([CPPFLAGS])dnl
])