=================================================================== RCS file: /cvs/mandoc/configure,v retrieving revision 1.43.2.6 retrieving revision 1.43.2.8 diff -u -p -r1.43.2.6 -r1.43.2.8 --- mandoc/configure 2016/10/20 18:52:27 1.43.2.6 +++ mandoc/configure 2017/01/12 15:47:47 1.43.2.8 @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: configure,v 1.43.2.6 2016/10/20 18:52:27 schwarze Exp $ +# $Id: configure,v 1.43.2.8 2017/01/12 15:47:47 schwarze Exp $ # # Copyright (c) 2014, 2015, 2016 Ingo Schwarze # @@ -147,10 +147,10 @@ ismanual() { singletest() { cat 1>&3 << __HEREDOC__ ${1}${3}: testing... -${COMP} ${3} -o test-${1} test-${1}.c +${COMP} -o test-${1} test-${1}.c ${3} __HEREDOC__ - if ${COMP} ${3} -o "test-${1}" "test-${1}.c" 1>&3 2>&3; then + if ${COMP} -o "test-${1}" "test-${1}.c" ${3} 1>&3 2>&3; then echo "${1}${3}: ${CC} succeeded" 1>&3 else echo "${1}${3}: ${CC} failed with $?" 1>&3 @@ -262,6 +262,7 @@ elif runtest sqlite3 SQLITE3 \ "-I/usr/local/include -L/usr/local/lib -lsqlite3"; then LD_SQLITE3="-L/usr/local/lib -lsqlite3" CFLAGS="${CFLAGS} -I/usr/local/include" + COMP="${COMP} -I/usr/local/include" fi if [ ${HAVE_SQLITE3} -eq 0 ]; then LD_SQLITE3=