]> andersk Git - openssh.git/blobdiff - configure.in
- Propogate LD through to Makefile
[openssh.git] / configure.in
index 27317bea62e0be2ab8866ee20294c1053089dc3e..81265f1e82ad09dcac70057d51ab3c7197638cbb 100644 (file)
@@ -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*)
This page took 0.053758 seconds and 4 git commands to generate.