=================================================================== RCS file: /cvs/mandoc/configure,v retrieving revision 1.1 retrieving revision 1.7 diff -u -p -r1.1 -r1.7 --- mandoc/configure 2014/01/04 01:11:00 1.1 +++ mandoc/configure 2014/08/08 23:47:21 1.7 @@ -20,8 +20,8 @@ exec > config.h 2> config.log CFLAGS="${CFLAGS} -Wno-unused -Werror" runtest() { - echo ${CC} ${CFLAGS} -o test-${1} test-${1}.c 1>&2 - ${CC} ${CFLAGS} -o "test-${1}" "test-${1}.c" 1>&2 || return 0 + echo ${CC} ${CFLAGS} ${3} -o test-${1} test-${1}.c 1>&2 + ${CC} ${CFLAGS} ${3} -o "test-${1}" "test-${1}.c" 1>&2 || return 0 "./test-${1}" && echo "#define HAVE_${2}" \ || echo FAILURE: test-${1} returned $? 1>&2 rm "test-${1}" @@ -33,7 +33,9 @@ echo "#define VERSION \"${VERSION}\"" runtest fgetln FGETLN runtest getsubopt GETSUBOPT runtest mmap MMAP -runtest ohash OHASH +runtest ohash OHASH "${DBLIB}" +runtest reallocarray REALLOCARRAY +runtest sqlite3_errstr SQLITE3_ERRSTR "${DBLIB}" runtest strcasestr STRCASESTR runtest strlcat STRLCAT runtest strlcpy STRLCPY