From 166bd448c92574b5fed88d24e9ca0af1481fe680 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 16 Mar 2000 10:48:25 +1100 Subject: - Propogate LD through to Makefile --- configure.in | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 27317bea6..81265f1e8 100644 --- a/configure.in +++ b/configure.in @@ -4,10 +4,6 @@ AC_CONFIG_HEADER(config.h) AC_PROG_CC AC_CANONICAL_HOST -# C Compiler features -if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi -AC_C_INLINE - # Checks for programs. AC_PROG_CPP AC_PROG_RANLIB @@ -16,6 +12,17 @@ AC_CHECK_PROG(AR, ar, ar) AC_PATH_PROG(PERL, perl) AC_SUBST(PERL) +if test -z "$LD" ; then + LD=$CC +fi +AC_SUBST(LD) + +# C Compiler features +AC_C_INLINE +if test "$GCC" = "yes"; then + CFLAGS="$CFLAGS -Wall" +fi + # Check for some target-specific stuff case "$host" in *-*-aix*) -- cgit v1.2.3