aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-08-10 12:50:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-08-10 12:50:24 +0000
commit72aea85c53fcac9c83340ff235805d5227119998 (patch)
tree0304071932892583151c92f856214c81383e7242 /configure
parent7b924e8a8456dcc91027409b05ad1daa42559c46 (diff)
downloadmandoc-72aea85c53fcac9c83340ff235805d5227119998.tar.gz
mandoc-72aea85c53fcac9c83340ff235805d5227119998.tar.zst
mandoc-72aea85c53fcac9c83340ff235805d5227119998.zip
When trying to figure out which C compiler make(1) wants to use,
pass it the POSIX -s option. On most systems, this won't make a difference, but Bdale Garbee reported that the make(1) on his Debian system, most likely some version of gmake, breaks Makefile.local by printing some 'entering directory' messages. I failed to reproduce and Bdale didn't report back, but judging from gmake source code, this is likely to help and unlikely to do harm elsewhere.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1aa95cc5..9d43a192 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id: configure,v 1.50 2016/08/05 23:15:08 schwarze Exp $
+# $Id: configure,v 1.51 2016/08/10 12:50:24 schwarze Exp $
#
# Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -37,7 +37,7 @@ MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man"
OSNAME=
UTF8_LOCALE=
-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -f -`
+CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
CFLAGS="-g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings"
CFLAGS="${CFLAGS} -Wno-unused-parameter"
LDADD=