mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
* 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.
This commit is contained in:
parent
5da74960c2
commit
b2f428a0c6
@ -1,5 +1,9 @@
|
||||
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
|
||||
|
@ -150,6 +150,12 @@ AC_SUBST([DIST_MAKEFILE_LIST])
|
||||
## 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
|
||||
|
Loading…
Reference in New Issue
Block a user