1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Use autoconf to detect LD reliably.

Target LD is different from ld when cross-compiling, change it together with CC.

Signed-off-by: Sergey Kvachonok <ravenexp@gmail.com>
This commit is contained in:
Sergey Kvachonok 2010-12-13 14:08:46 +02:00 committed by witekfl
parent 7933724dc8
commit d65ca4a7fe
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ ASCIIDOC_FLAGS = --unsafe
AWK = @AWK@
CATALOGS = @CATALOGS@
CC = @CC@
LD = @LD@
GIT = @GIT@
CONFDIR = @CONFDIR@
DOXYGEN = @DOXYGEN@

View File

@ -57,6 +57,7 @@ echo "Feature summary:" > features.log
# ===================================================================
AC_PROG_CC
AC_CHECK_TOOL([LD], [ld])
AC_PROG_AWK
AC_PATH_PROGS(AWK, "$AWK")
AC_PROG_RANLIB