aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-01-21 05:20:29 +0100
committerYang Tse <yangsita@gmail.com>2013-01-21 05:20:29 +0100
commita3e65b1a5081bae3fdbdd815d1425508744a3ac4 (patch)
treec5cf3526910cfb5b79245275de24e00c6ea46f18
parent1347b3085c2e2c512bcc782cde13df8a869b12bc (diff)
xc-cc-check.m4: avoid recursive package automake'ing breakage
-rw-r--r--m4/xc-cc-check.m424
1 files changed, 12 insertions, 12 deletions
diff --git a/m4/xc-cc-check.m4 b/m4/xc-cc-check.m4
index a6db65d4c..286e798f4 100644
--- a/m4/xc-cc-check.m4
+++ b/m4/xc-cc-check.m4
@@ -26,12 +26,12 @@ dnl -------------------------------------------------
dnl Private macro.
AC_DEFUN([_XC_PROG_CC_PREAMBLE], [
- export CC
- export CPP
- export LIBS
- export CFLAGS
- export LDFLAGS
- export CPPFLAGS
+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 +50,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
- AC_SUBST([CC])dnl
- AC_SUBST([CPP])dnl
- AC_SUBST([LIBS])dnl
- AC_SUBST([CFLAGS])dnl
- AC_SUBST([LDFLAGS])dnl
- AC_SUBST([CPPFLAGS])dnl
+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
])