[Pdns-users] [PATCH] configure --with-mysql=

Leo Baltus Leo.Baltus at omroep.nl
Fri Nov 23 15:16:04 UTC 2012


Hi,

./configure --with-mysql=/foo supports /foo/lib/mysql,
/foo/lib and /foo/include/mysql  however it lacks support
for /foo/include

So we always had to specify --with-mysql-includes=/foo/include, which
seems redundant.

Attached patch fixes this in configure.ac so --with-mysql=/foo
would suffice.

If this make sense, please consider applying the patch.

-- 
Leo Baltus, internetbeheerder                         /\
NPO ICT Internet Services                            /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \  /\/
servicedesk at omroep.nl, 035-6773555                    \/
-------------- next part --------------
--- pdns-3.1/configure.ac.org	2012-11-23 11:47:28.000000000 +0100
+++ pdns-3.1/configure.ac	2012-11-23 11:47:31.000000000 +0100
@@ -321,7 +321,7 @@
 	AC_ARG_WITH(mysql,
 	    [  --with-mysql=<path>     root directory path of MySQL installation],
 	    [MYSQL_lib_check="$withval/lib/mysql $with_mysql/lib"
-	MYSQL_inc_check="$withval/include/mysql"],
+	MYSQL_inc_check="$withval/include/mysql $with_mysql/include"],
 	    [MYSQL_lib_check="/usr/local/mysql/lib/mysql /usr/local/lib/mysql /opt/mysql/lib/mysql \
 		/usr/lib/mysql /usr/lib64/mysql /usr/local/mysql/lib /usr/local/lib /opt/mysql/lib /usr/lib \
 		/usr/sfw/lib/"


More information about the Pdns-users mailing list