From 9b05ea6970eb7612e6ab5468184f1cc0c1a4da77 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 8 Aug 2014 23:47:21 +0000 Subject: 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. --- configure | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configure') 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 -- cgit