summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-08-06 00:12:41 +0100
committerIan Lynagh <ian@well-typed.com>2012-08-06 00:12:41 +0100
commit4cdfe67528aa548671fedafb50b4b2b914f5ef18 (patch)
treed3d1da5f920aefdff15c200d986b1d6e094e7cb5 /distrib
parentc7c2d6c81027a5704b1ec666bc510ca068aa94e3 (diff)
downloadhaskell-4cdfe67528aa548671fedafb50b4b2b914f5ef18.tar.gz
Define LdCmd in the bindist configure.ac
Diffstat (limited to 'distrib')
-rw-r--r--distrib/configure.ac.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index d1ef5d592c..767ba4c540 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -67,6 +67,12 @@ FIND_GCC([WhatGccIsCalled], [gcc], [gcc])
CC="$WhatGccIsCalled"
export CC
+dnl ** Which ld to use?
+dnl --------------------------------------------------------------
+FP_ARG_WITH_PATH_GNU_PROG([LD], [ld], [ld])
+LdCmd="$LD"
+AC_SUBST([LdCmd])
+
FP_GCC_VERSION
AC_PROG_CPP