diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 87b8e2c..6ce6b0b 100644 --- a/configure.in +++ b/configure.in | |||
@@ -261,6 +261,10 @@ if test -z "$MYSQLCONFIG"; then | |||
261 | else | 261 | else |
262 | EXTRAS="$EXTRAS check_mysql check_mysql_query" | 262 | EXTRAS="$EXTRAS check_mysql check_mysql_query" |
263 | MYSQLINCLUDE=`$MYSQLCONFIG --include` | 263 | MYSQLINCLUDE=`$MYSQLCONFIG --include` |
264 | if test $? != 0 ; then | ||
265 | # mysql_config for 3.x does not support --include | ||
266 | MYSQLINCLUDE="" | ||
267 | fi | ||
264 | MYSQLLIBS=`$MYSQLCONFIG --libs` | 268 | MYSQLLIBS=`$MYSQLCONFIG --libs` |
265 | MYSQLCFLAGS=`$MYSQLCONFIG --cflags` | 269 | MYSQLCFLAGS=`$MYSQLCONFIG --cflags` |
266 | AC_SUBST(MYSQLINCLUDE) | 270 | AC_SUBST(MYSQLINCLUDE) |