works, we need to call the C test first to work in an environment
that has no C++ compiler.
2004-08-30 Gary V. Vaughan <gary@gnu.org>
+ * configure.ac: Because of the way the autoconf C++ testing
+ works, we need to call the C test first to work in an environment
+ that has no C++ compiler.
+
* libltdl/lt_dlloader.c (lt_dlloader_remove): Since the return
value of this function is often passed to free, don't declare it
`const'. Responsibility for this memory is given back to the
## compiler checks. ##
## ---------------- ##
+# Need to be sure that we have a working C compiler, otherwise even with
+# a good C compiler: if the following C++ tests fail, the whole libtool
+# build fails!
+AC_PROG_CC
+AC_PROG_CPP
+
# The Autoconf tests for C++ and Fortran 77 sometimes call AC_MSG_ERROR
# and we don't want that to be an error whilst creating the libtool script.
# As these are AC_REQUIREd inside libtool.m4 we can simply call them here