]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
authorAkim Demaille <akim@epita.fr>
Thu, 14 Sep 2000 07:55:32 +0000 (07:55 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 14 Sep 2000 07:55:32 +0000 (07:55 +0000)
and eliminate ac_tmp_cpp.
(AC_PROG_CXXCPP): Use double quotes in the for loop and
eliminate ac_tmp_cxxcpp.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4
tests/Makefile.in

index e7c49816969f0a7391cca3adf56e36057bcd9a08..20905d9a856daf57267136e058210a258a15a60b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-14  Pavel Roskin  <proski@gnu.org>
+
+       * aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
+       and eliminate ac_tmp_cpp.
+       (AC_PROG_CXXCPP): Use double quotes in the for loop and
+       eliminate ac_tmp_cxxcpp.
+
 2000-09-14  Pavel Roskin  <proski@gnu.org>
 
        * acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
index 22ce95dff5293695f0608b8823ecc71752608707..60d49813fe82afd0a9d96fa1524c7f76d39208c3 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -615,10 +615,9 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
+    # Double quotes because CPP needs to be expanded
+    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
     do
-      # CPP needs to be expanded
-      eval "CPP=\"$ac_tmp_cpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
@@ -833,10 +832,9 @@ AC_LANG_PUSH(C++)dnl
 if test -z "$CXXCPP"; then
   AC_CACHE_VAL(ac_cv_prog_CXXCPP,
   [dnl
-    for ac_tmp_cxxcpp in '${CXX-g++} -E' '/lib/cpp'
+    # Double quotes because CXXCPP needs to be expanded
+    for CXXCPP in "${CXX-g++} -E" "/lib/cpp"
     do
-      # CXXCPP needs to be expanded
-      eval "CXXCPP=\"$ac_tmp_cxxcpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
index 22ce95dff5293695f0608b8823ecc71752608707..60d49813fe82afd0a9d96fa1524c7f76d39208c3 100644 (file)
@@ -615,10 +615,9 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
+    # Double quotes because CPP needs to be expanded
+    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
     do
-      # CPP needs to be expanded
-      eval "CPP=\"$ac_tmp_cpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
@@ -833,10 +832,9 @@ AC_LANG_PUSH(C++)dnl
 if test -z "$CXXCPP"; then
   AC_CACHE_VAL(ac_cv_prog_CXXCPP,
   [dnl
-    for ac_tmp_cxxcpp in '${CXX-g++} -E' '/lib/cpp'
+    # Double quotes because CXXCPP needs to be expanded
+    for CXXCPP in "${CXX-g++} -E" "/lib/cpp"
     do
-      # CXXCPP needs to be expanded
-      eval "CXXCPP=\"$ac_tmp_cxxcpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
index 22ce95dff5293695f0608b8823ecc71752608707..60d49813fe82afd0a9d96fa1524c7f76d39208c3 100644 (file)
@@ -615,10 +615,9 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
+    # Double quotes because CPP needs to be expanded
+    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
     do
-      # CPP needs to be expanded
-      eval "CPP=\"$ac_tmp_cpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
@@ -833,10 +832,9 @@ AC_LANG_PUSH(C++)dnl
 if test -z "$CXXCPP"; then
   AC_CACHE_VAL(ac_cv_prog_CXXCPP,
   [dnl
-    for ac_tmp_cxxcpp in '${CXX-g++} -E' '/lib/cpp'
+    # Double quotes because CXXCPP needs to be expanded
+    for CXXCPP in "${CXX-g++} -E" "/lib/cpp"
     do
-      # CXXCPP needs to be expanded
-      eval "CXXCPP=\"$ac_tmp_cxxcpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
index 22ce95dff5293695f0608b8823ecc71752608707..60d49813fe82afd0a9d96fa1524c7f76d39208c3 100644 (file)
@@ -615,10 +615,9 @@ fi
 if test -z "$CPP"; then
   AC_CACHE_VAL(ac_cv_prog_CPP,
   [dnl
-    for ac_tmp_cpp in '${CC-cc} -E' '${CC-cc} -E -traditional-cpp' '/lib/cpp'
+    # Double quotes because CPP needs to be expanded
+    for CPP in "${CC-cc} -E" "${CC-cc} -E -traditional-cpp" "/lib/cpp"
     do
-      # CPP needs to be expanded
-      eval "CPP=\"$ac_tmp_cpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
@@ -833,10 +832,9 @@ AC_LANG_PUSH(C++)dnl
 if test -z "$CXXCPP"; then
   AC_CACHE_VAL(ac_cv_prog_CXXCPP,
   [dnl
-    for ac_tmp_cxxcpp in '${CXX-g++} -E' '/lib/cpp'
+    # Double quotes because CXXCPP needs to be expanded
+    for CXXCPP in "${CXX-g++} -E" "/lib/cpp"
     do
-      # CXXCPP needs to be expanded
-      eval "CXXCPP=\"$ac_tmp_cxxcpp\""
       _AC_PROG_PREPROC_WORKS()
       if test -z "$ac_cpp_err"; then
         break
index 218f1fee2e6de1abff15aea06c3b65976b88fe73..c9475e4a4b8a1f179437f7da1359f2584439fd59 100644 (file)
@@ -121,8 +121,7 @@ CLEANFILES = debug-*.sh macro configure configure.in config.status config.cache
 DISTCLEANFILES = atconfig testsuite
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES =  atconfig
-DIST_COMMON =  Makefile.am Makefile.in atconfig.in configure \
-configure.in
+DIST_COMMON =  Makefile.am Makefile.in atconfig.in
 
 
 PACKAGE = @PACKAGE@