_AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
(AC_PROG_CXXCPP): Likewise.
+2001-05-23 Pavel Roskin <proski@gnu.org>
+
+ * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
+ _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
+ (AC_PROG_CXXCPP): Likewise.
+
2001-05-22 Akim Demaille <akim@epita.fr>
* config: New directory.
# Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CPP=$CPP
])dnl
# Double quotes because CXXCPP needs to be expanded
for CXXCPP in "$CXX -E" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CXXCPP=$CXXCPP
])dnl
# Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CPP=$CPP
])dnl
# Double quotes because CXXCPP needs to be expanded
for CXXCPP in "$CXX -E" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CXXCPP=$CXXCPP
])dnl
# Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CPP=$CPP
])dnl
# Double quotes because CXXCPP needs to be expanded
for CXXCPP in "$CXX -E" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CXXCPP=$CXXCPP
])dnl
# Double quotes because CPP needs to be expanded
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CPP=$CPP
])dnl
# Double quotes because CXXCPP needs to be expanded
for CXXCPP in "$CXX -E" "/lib/cpp"
do
- # break 2 since there is a loop in there.
- _AC_PROG_PREPROC_WORKS_IFELSE([break 2])
+ _AC_PROG_PREPROC_WORKS_IFELSE([break])
done
ac_cv_prog_CXXCPP=$CXXCPP
])dnl