summaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-01-24 02:27:02 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-01-24 02:27:02 +0000
commit78ce0b87530fe22e1a5b9c6e3a170b13c3e81a91 (patch)
treeaf6310a87ec05bc2ffddee1d8d6146b00674adc3 /libtool.m4
parent2ed6805514cd0a4e8d58dbc4762056723c5eb40a (diff)
downloadbinutils-redhat-78ce0b87530fe22e1a5b9c6e3a170b13c3e81a91.tar.gz
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/libtool.m4 b/libtool.m4
index d732789657..cb004e223a 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -1,5 +1,6 @@
## libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
-## Copyright (C) 1996-1999,2000 Free Software Foundation, Inc.
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001
+## Free Software Foundation, Inc.
## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
##
## This program is free software; you can redistribute it and/or modify
@@ -802,7 +803,7 @@ lt_save_CC="$CC"
lt_save_CFLAGS="$CFLAGS"
dnl Make sure LTCC is set to the C compiler, i.e. set LTCC before CC
dnl is set to the C++ compiler.
-AR="$AR" LTCC="$CC" CC="$GCJ" CFLAGS="$GCJFLAGS" CPPFLAGS="" \
+AR="$AR" LTCC="$CC" CC="$GCJ" CFLAGS="$GCJFLAGS" CPPFLAGS="$CPPFLAGS" \
MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \