Lines 136-148
Link Here
|
136 |
else |
136 |
else |
137 |
svd_LDFLAGS=$LDFLAGS |
137 |
svd_LDFLAGS=$LDFLAGS |
138 |
svd_CPPFLAGS=$CPPFLAGS |
138 |
svd_CPPFLAGS=$CPPFLAGS |
139 |
LDFLAGS="-L$with_mysql/lib $LDFLAGS" |
139 |
LDFLAGS="-L$with_mysql/lib/mysql $LDFLAGS" |
140 |
CPPFLAGS="-I$with_mysql/include $CPPFLAGS" |
140 |
CPPFLAGS="-I$with_mysql/include/mysql $CPPFLAGS" |
141 |
AC_CHECK_HEADERS([mysql.h], [ |
141 |
AC_CHECK_HEADERS([mysql.h], [ |
142 |
mysql="yes" |
142 |
mysql="yes" |
143 |
if test -r "$with_mysql/lib/libmysqlclient.a"; then |
143 |
if test -r "$with_mysql/lib/mysql/libmysqlclient.a"; then |
144 |
DBCPPFLAGS="$DBCPPFLAGS -I$with_mysql/include" |
144 |
DBCPPFLAGS="$DBCPPFLAGS -I$with_mysql/include/mysql" |
145 |
DBLDFLAGS="$DBLDFLAGS -L$with_mysql/lib/ -lmysqlclient" |
145 |
DBLDFLAGS="$DBLDFLAGS -L$with_mysql/lib/mysql -lmysqlclient" |
146 |
else |
146 |
else |
147 |
mysql="no" |
147 |
mysql="no" |
148 |
fi |
148 |
fi |