Preset ac_cv_path_CC="${CC}" before running ./configure,

needed for Autoconf 2
This commit is contained in:
Andrey A. Chernov 1995-01-01 20:06:20 +00:00
parent 7a69a00210
commit 8751565558
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=658

View file

@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
# $Id: bsd.port.mk,v 1.88 1994/12/28 04:14:19 ache Exp $
# $Id: bsd.port.mk,v 1.89 1994/12/28 04:17:54 ache Exp $
#
# Please view me with 4 column tabs!
@ -425,7 +425,7 @@ ${CONFIGURE_COOKIE}:
sh ${SCRIPTDIR}/configure; \
fi
.if defined(HAS_CONFIGURE)
@(cd ${WRKSRC}; CC="${CC}" CFLAGS="${CFLAGS}" \
@(cd ${WRKSRC}; CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
INSTALL="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP}" \
INSTALL_PROGRAM="${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" \
./configure ${CONFIGURE_ARGS})