b042dd28fe
contains multiple words, flex fails. Adjust tools/autoconf/Makefile to pass the necessary extra arguments via M4=... in CONFIGURE_ENV. This is similar to what used to be in revision 1.4 of tools/autoconf/Makefile, but it's now after instead of before the inclusion of Makefile.gnuhost, because it has to override the value of M4=... that Makefile.gnuhost stores in CONFIGURE_ENV.
15 lines
428 B
Makefile
15 lines
428 B
Makefile
# $NetBSD: Makefile,v 1.6 2013/08/07 17:50:55 apb Exp $
|
|
|
|
MODULE= autoconf
|
|
|
|
CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX}
|
|
|
|
.include "${.CURDIR}/../Makefile.gnuhost"
|
|
|
|
# This value of M4=... makes our ${TOOL_M4} emulate GNU M4.
|
|
# Makefile.gnuhost stores a different value of M4=... in CONFIGURE_ENV,
|
|
# so we have to append to CONFIGURE_ENV *after* including
|
|
# Makefile.gnuhost.
|
|
#
|
|
CONFIGURE_ENV+= M4=${TOOL_M4:Q}" -g -D__gnu__"
|