Module Name: src Committed By: christos Date: Sun Dec 27 22:26:19 UTC 2015
Modified Files: src/external/bsd/mdocml/dist: configure Log Message: - Don't look for tests in the local directory, we might be running this from somewhere else. - Clear MAKEFLAGS so that make(1) behaves as it is supposed to. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/mdocml/dist/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/mdocml/dist/configure diff -u src/external/bsd/mdocml/dist/configure:1.3 src/external/bsd/mdocml/dist/configure:1.4 --- src/external/bsd/mdocml/dist/configure:1.3 Sat Dec 19 14:28:06 2015 +++ src/external/bsd/mdocml/dist/configure Sun Dec 27 17:26:19 2015 @@ -15,6 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. set -e +DIR="`dirname "$0"`" [ -e config.log ] && mv config.log config.log.old [ -e config.h ] && mv config.h config.h.old @@ -32,6 +33,7 @@ echo "config.log: writing..." # such that nothing can leak in from the environment. OSNAME= +MAKEFLAGS= CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make -f -` CFLAGS="-g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings" @@ -127,7 +129,7 @@ ${1}: testing... ${COMP} ${3} -o test-${1} test-${1}.c __HEREDOC__ - if ${COMP} ${3} -o "test-${1}" "test-${1}.c" 1>&3 2>&3; then + if ${COMP} ${3} -o "test-${1}" "${DIR}/test-${1}.c" 1>&3 2>&3; then echo "${1}: ${CC} succeeded" 1>&3 else echo "${1}: ${CC} failed with $?" 1>&3