aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-08 23:47:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-08 23:47:21 +0000
commit09d389ebd4006fc12155be20228b2db958997136 (patch)
tree0ccd0f4f6e3a890a3fb5f6405a6e3dedd97f4123 /configure
parente9c84e4c9192171aad637d5edfea33f3b3f496f1 (diff)
downloadmandoc-09d389ebd4006fc12155be20228b2db958997136.tar.gz
mandoc-09d389ebd4006fc12155be20228b2db958997136.tar.zst
mandoc-09d389ebd4006fc12155be20228b2db958997136.zip
Do not hardcode stuff in ./configure that is actually user-configurable
in the Makefile; instead, pass it down via the environment just like CFLAGS. Nice suggestion from kristaps@ hoping to make MacOS X happier.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 991c7669..8a6a74d9 100755
--- a/configure
+++ b/configure
@@ -33,10 +33,9 @@ echo "#define VERSION \"${VERSION}\""
runtest fgetln FGETLN
runtest getsubopt GETSUBOPT
runtest mmap MMAP
-runtest ohash OHASH -lutil
+runtest ohash OHASH "${DBLIB}"
runtest reallocarray REALLOCARRAY
-runtest sqlite3_errstr SQLITE3_ERRSTR \
- "-I/usr/local/include -L/usr/local/lib -lsqlite3"
+runtest sqlite3_errstr SQLITE3_ERRSTR "${DBLIB}"
runtest strcasestr STRCASESTR
runtest strlcat STRLCAT
runtest strlcpy STRLCPY