summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@saftware.de>2016-09-19 20:21:57 +0200
committerGlenn Strauss <gstrauss@gluelogic.com>2016-10-20 16:50:28 -0400
commit30c54b65e4a3fbf77d2d11c11432d8a923c62d52 (patch)
treed373b85748d8a7a5c6ebd6766d205db0228e392f /configure.ac
parent75040e9988c2b06d181b76e7548787a3da869643 (diff)
downloadlighttpd1.4-30c54b65e4a3fbf77d2d11c11432d8a923c62d52.tar.gz
lighttpd1.4-30c54b65e4a3fbf77d2d11c11432d8a923c62d52.zip
build: use CC_FOR_BUILD for lemon when cross-compiling
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 9f563b98..cb10b245 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,6 +63,7 @@ AC_DEFUN([TRY_LDFLAGS],
dnl Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
+AX_PROG_CC_FOR_BUILD
AC_PROG_LD
AC_PROG_INSTALL
AC_PROG_AWK
@@ -861,9 +862,6 @@ if test x$mmap = xtrue; then
AC_DEFINE(ENABLE_MMAP, [1], [Use mmap if available])
fi
-
-AM_CONDITIONAL(CROSS_COMPILING, test "x$cross_compiling" = xyes)
-
dnl check for fastcgi lib, for the tests only
fastcgi_found=no
AC_CHECK_LIB(fcgi, FCGI_Accept, [