mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-11 15:00:08 +08:00
* libtool.m4 (OBJDUMP): Pass it to ltconfig.
* configure.in: AC_SUBST DLLTOOL, OBJDUMP and AS. * Makefile.am (libtool, clibtool): Pass them to ltconfig. * doc/libtool.texi (Invoking ltconfig): Document OBJDUMP.
This commit is contained in:
parent
36e0c3cf90
commit
18678cddb5
@ -1,3 +1,9 @@
|
||||
1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* libtool.m4 (OBJDUMP): Pass it to ltconfig.
|
||||
* configure.in: AC_SUBST DLLTOOL, OBJDUMP and AS.
|
||||
* Makefile.am (libtool, clibtool): Pass them to ltconfig.
|
||||
|
||||
1999-04-25 Frank Ch. Eigler <fche@cygnus.com>
|
||||
|
||||
* libtool.m4 (cygwin*): Look for target objdump tool.
|
||||
|
@ -32,6 +32,7 @@ libtool: $(srcdir)/ltmain.sh $(srcdir)/ltconfig
|
||||
CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
|
||||
LD="$(LD)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
||||
LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
|
||||
DLLTOOL="$(DLLTOOL)" OBJDUMP="$(OBJDUMP)" AS="$(AS)" \
|
||||
$(SHELL) $(srcdir)/ltconfig $(LIBTOOL_FLAGS) --srcdir=$(srcdir) \
|
||||
--output=$@ $(srcdir)/ltmain.sh
|
||||
|
||||
@ -40,6 +41,7 @@ clibtool: $(srcdir)/ltmain.c $(srcdir)/ltconfig
|
||||
CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
|
||||
LD="$(LD)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" \
|
||||
LN_S="$(LN_S)" NM="$(NM)" RANLIB="$(RANLIB)" \
|
||||
DLLTOOL="$(DLLTOOL)" OBJDUMP="$(OBJDUMP)" AS="$(AS)" \
|
||||
$(SHELL) $(srcdir)/ltconfig $(LIBTOOL_FLAGS) --srcdir=$(srcdir) \
|
||||
--output=$@ $(srcdir)/ltmain.c
|
||||
|
||||
|
@ -42,6 +42,9 @@ AC_PROG_AWK
|
||||
dnl Check for dlopen support
|
||||
AC_LIBTOOL_DLOPEN
|
||||
AC_LIBTOOL_SETUP
|
||||
AC_SUBST(DLLTOOL)
|
||||
AC_SUBST(OBJDUMP)
|
||||
AC_SUBST(AS)
|
||||
|
||||
LIBTOOL_FLAGS="$libtool_flags"
|
||||
AC_SUBST(LIBTOOL_FLAGS)
|
||||
|
@ -1647,12 +1647,17 @@ hard-link otherwise.
|
||||
|
||||
@defvar DLLTOOL
|
||||
Program to use rather than checking for @code{dlltool}. Only meaningful
|
||||
for MS-Windows.
|
||||
for Cygwin/MS-Windows.
|
||||
@end defvar
|
||||
|
||||
@defvar OBJDUMP
|
||||
Program to use rather than checking for @code{objdump}. Only meaningful
|
||||
for Cygwin/MS-Windows.
|
||||
@end defvar
|
||||
|
||||
@defvar AS
|
||||
Program to use rather than checking for @code{as}. Only meaningful for
|
||||
MS-Windows.
|
||||
Cygwin/MS-Windows.
|
||||
@end defvar
|
||||
|
||||
@node ltconfig example
|
||||
|
7
libtool.m4
vendored
7
libtool.m4
vendored
@ -21,7 +21,7 @@
|
||||
## configuration script generated by Autoconf, you may include it under
|
||||
## the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# serial 36 AC_PROG_LIBTOOL
|
||||
# serial 37 AC_PROG_LIBTOOL
|
||||
AC_DEFUN(AC_PROG_LIBTOOL,
|
||||
[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
|
||||
|
||||
@ -30,8 +30,9 @@ AC_CACHE_SAVE
|
||||
|
||||
# Actually configure libtool. ac_aux_dir is where install-sh is found.
|
||||
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
|
||||
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" LN_S="$LN_S" \
|
||||
NM="$NM" RANLIB="$RANLIB" DLLTOOL="$DLLTOOL" AS="$AS" \
|
||||
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
|
||||
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
|
||||
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
|
||||
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
|
||||
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
||||
|| AC_MSG_ERROR([libtool configure failed])
|
||||
|
Loading…
Reference in New Issue
Block a user