+2000-11-10 Akim Demaille <akim@epita.fr>
+
+ When running
+
+ AC_INIT
+ AC_PROG_CC
+ AC_LANG_COMPILER_REQUIRE
+
+ AC_PROG_CC is expanded twice, because AC_PROG_CC provides
+ `AC_PROG_CC', and not `AC_LANG_COMPILER(C)' as expected by
+ AC_LANG_COMPILER_REQUIRE.
+
+ * aclang.m4 (AC_LANG_COMPILER(C)): Instead of calling AC_PROG_CC,
+ require it.
+ (AC_LANG_COMPILER(C++), AC_LANG_COMPILER(Fortran 77)): Likewise.
+
2000-11-10 Akim Demaille <akim@epita.fr>
* m4sh.m4 (AS_MKDIR_P, AS_DIRNAME_SED): Don't shell quote $1.
# -------------------
# Find the C compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C)],
-[AC_PROG_CC])
+[AC_REQUIRE([AC_PROG_CC])])
# ac_cv_prog_gcc
# ---------------------
# Find the C++ compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C++)],
-[AC_PROG_CXX])
+[AC_REQUIRE([AC_PROG_CXX])])
# ac_cv_prog_gxx
# Find the Fortran 77 compiler. Must be AC_DEFUN'd to be
# AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
-[AC_PROG_F77])
+[AC_REQUIRE([AC_PROG_F77])])
# ac_cv_prog_g77
# -------------------
# Find the C compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C)],
-[AC_PROG_CC])
+[AC_REQUIRE([AC_PROG_CC])])
# ac_cv_prog_gcc
# ---------------------
# Find the C++ compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C++)],
-[AC_PROG_CXX])
+[AC_REQUIRE([AC_PROG_CXX])])
# ac_cv_prog_gxx
# Find the Fortran 77 compiler. Must be AC_DEFUN'd to be
# AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
-[AC_PROG_F77])
+[AC_REQUIRE([AC_PROG_F77])])
# ac_cv_prog_g77
# -------------------
# Find the C compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C)],
-[AC_PROG_CC])
+[AC_REQUIRE([AC_PROG_CC])])
# ac_cv_prog_gcc
# ---------------------
# Find the C++ compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C++)],
-[AC_PROG_CXX])
+[AC_REQUIRE([AC_PROG_CXX])])
# ac_cv_prog_gxx
# Find the Fortran 77 compiler. Must be AC_DEFUN'd to be
# AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
-[AC_PROG_F77])
+[AC_REQUIRE([AC_PROG_F77])])
# ac_cv_prog_g77
# -------------------
# Find the C compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C)],
-[AC_PROG_CC])
+[AC_REQUIRE([AC_PROG_CC])])
# ac_cv_prog_gcc
# ---------------------
# Find the C++ compiler. Must be AC_DEFUN'd to be AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(C++)],
-[AC_PROG_CXX])
+[AC_REQUIRE([AC_PROG_CXX])])
# ac_cv_prog_gxx
# Find the Fortran 77 compiler. Must be AC_DEFUN'd to be
# AC_REQUIRE'able.
AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
-[AC_PROG_F77])
+[AC_REQUIRE([AC_PROG_F77])])
# ac_cv_prog_g77