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 \  /\/
[email protected], 035-6773555                    \/
--- 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/"
_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to