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 0aee3bc5..5988b332 100644 --- a/configure.in +++ b/configure.in | |||
@@ -273,6 +273,10 @@ if test $with_mysql != "no" ; then | |||
273 | with_mysql=$MYSQLCONFIG | 273 | with_mysql=$MYSQLCONFIG |
274 | EXTRAS="$EXTRAS check_mysql check_mysql_query" | 274 | EXTRAS="$EXTRAS check_mysql check_mysql_query" |
275 | MYSQLINCLUDE=`$MYSQLCONFIG --include` | 275 | MYSQLINCLUDE=`$MYSQLCONFIG --include` |
276 | # Mysql 3 does not support --include. --cflags should be sufficient | ||
277 | if test $? -ne 0 ; then | ||
278 | MYSQLINCLUDE="" | ||
279 | fi | ||
276 | MYSQLLIBS=`$MYSQLCONFIG --libs` | 280 | MYSQLLIBS=`$MYSQLCONFIG --libs` |
277 | MYSQLCFLAGS=`$MYSQLCONFIG --cflags` | 281 | MYSQLCFLAGS=`$MYSQLCONFIG --cflags` |
278 | AC_SUBST(MYSQLINCLUDE) | 282 | AC_SUBST(MYSQLINCLUDE) |