1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

xc-cc-check.m4: avoid recursive package automake'ing breakage

This commit is contained in:
Yang Tse 2013-01-21 05:20:29 +01:00
parent 1347b3085c
commit a3e65b1a50

View File

@ -26,12 +26,12 @@ dnl -------------------------------------------------
dnl Private macro. dnl Private macro.
AC_DEFUN([_XC_PROG_CC_PREAMBLE], [ AC_DEFUN([_XC_PROG_CC_PREAMBLE], [
export CC dnl export CC
export CPP dnl export CPP
export LIBS dnl export LIBS
export CFLAGS dnl export CFLAGS
export LDFLAGS dnl export LDFLAGS
export CPPFLAGS dnl export CPPFLAGS
xc_prog_cc_prev_IFS=$IFS xc_prog_cc_prev_IFS=$IFS
xc_prog_cc_prev_LIBS=$LIBS xc_prog_cc_prev_LIBS=$LIBS
xc_prog_cc_prev_CFLAGS=$CFLAGS xc_prog_cc_prev_CFLAGS=$CFLAGS
@ -50,12 +50,12 @@ AC_DEFUN([_XC_PROG_CC_POSTLUDE], [
CFLAGS=$xc_prog_cc_prev_CFLAGS CFLAGS=$xc_prog_cc_prev_CFLAGS
LDFLAGS=$xc_prog_cc_prev_LDFLAGS LDFLAGS=$xc_prog_cc_prev_LDFLAGS
CPPFLAGS=$xc_prog_cc_prev_CPPFLAGS CPPFLAGS=$xc_prog_cc_prev_CPPFLAGS
AC_SUBST([CC])dnl dnl AC_SUBST([CC])dnl
AC_SUBST([CPP])dnl dnl AC_SUBST([CPP])dnl
AC_SUBST([LIBS])dnl dnl AC_SUBST([LIBS])dnl
AC_SUBST([CFLAGS])dnl dnl AC_SUBST([CFLAGS])dnl
AC_SUBST([LDFLAGS])dnl dnl AC_SUBST([LDFLAGS])dnl
AC_SUBST([CPPFLAGS])dnl dnl AC_SUBST([CPPFLAGS])dnl
]) ])