-###############################################################################
-###############################################################################
-####### READ THIS:
-####### THIS FILE IS BASED ON THE VERSION IN libtool 1.5.10.
-####### The following changes have been made:
-####### * this big bold header has been added
-####### * fix obsolete constructs (ala autoupdate)
-####### * the name of the generated tool is "mklib" instead of "libtool"
-####### The last change is provided to avoid tab completion errors on the "lib"
-####### prefix. AutoRegen.sh checks for version 1.5.10 of libtool so attempts
-####### to use another version with this AC_PROG_LIBTOOL definition should
-####### fail.
-####### You've been warned.
-###############################################################################
-###############################################################################
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
## Free Software Foundation, Inc.
rm="rm -f"
# Global variables:
-default_ofile=libtool
+default_ofile=mklib
can_build_shared=yes
# All known linkers require a `.a' archive for static linking (except M$VC,
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
- [AC_LANG_PUSH(C)
+ [AC_LANG_PUSH([C])
AC_LINK_IFELSE([AC_LANG_SOURCE([[]],[[]])],
- lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
- AC_LANG_POP])
+ [lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP([C])])
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
CFLAGS="$SAVE_CFLAGS"
# Update the list of available tags.
if test -n "$tagname"; then
- echo appending configuration tag \"$tagname\" to $ofile
+ echo appending configuration tag "$tagname" to $ofile
case $tagname in
CXX)