1 | --- contrib/dlz/config.dlz.in.orig 2009-01-29 14:42:22.000000000 -0800 |
---|
2 | +++ contrib/dlz/config.dlz.in 2009-01-29 14:42:34.000000000 -0800 |
---|
3 | @@ -155,6 +155,14 @@ |
---|
4 | break |
---|
5 | fi |
---|
6 | done |
---|
7 | +elif test -f `$use_dlz_mysql --include | awk '{print substr($1,3)}'`/mysql.h |
---|
8 | +then |
---|
9 | + mysql_include=`$use_dlz_mysql --include | awk '{print substr($1,3)}'` |
---|
10 | + if test -d `$use_dlz_mysql --libs | awk '{print substr($2,3)}'` |
---|
11 | + then |
---|
12 | + mysql_lib=`$use_dlz_mysql --libs | awk '{print substr($2,3)}'` |
---|
13 | + fi |
---|
14 | +elif test "$use_dlz_mysql" != "no" |
---|
15 | elif test "$use_dlz_mysql" != "no" |
---|
16 | then |
---|
17 | d=$use_dlz_mysql |
---|
18 | @@ -193,7 +201,7 @@ |
---|
19 | *) |
---|
20 | DLZ_ADD_DRIVER(MYSQL, dlz_mysql_driver, |
---|
21 | [-I${mysql_include}], |
---|
22 | - [-L${mysql_lib} -lmysqlclient -lz -lcrypt -lm]) |
---|
23 | + [-L${mysql_lib} -lmysqlclient -lz -lm]) |
---|
24 | |
---|
25 | AC_MSG_RESULT( |
---|
26 | [using mysql from ${mysql_lib} and ${mysql_include}]) |
---|