diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-06-20 02:55:49 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-06-20 02:55:49 +0000 |
commit | b7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60 (patch) | |
tree | 84fab7d32d1d75541223c2aff50989ce0d264485 /configure | |
parent | 9bf5108aa6a4bdf442bea16a012952806fbaa900 (diff) | |
download | mandoc-b7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60.tar.gz mandoc-b7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60.tar.zst mandoc-b7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60.zip |
let the build system cope with the recent ohash changes
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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,7 @@ echo "#define VERSION \"${VERSION}\"" runtest fgetln FGETLN runtest getsubopt GETSUBOPT runtest mmap MMAP -runtest ohash OHASH +runtest ohash OHASH -lutil runtest reallocarray REALLOCARRAY runtest strcasestr STRCASESTR runtest strlcat STRLCAT |