Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ --with-mysql=<path> root directory path of MySQL installation],
- [MYSQL_lib_check="$with_mysql/lib/mysql $with_mysql/lib"
- MYSQL_inc_check="$with_mysql/include/mysql"],
- [MYSQL_lib_check="/usr/local/mysql/lib/mysql /usr/local/lib/mysql /opt/mysql/lib/mysql /usr/lib/mysql /usr/local/mysql/lib /usr/local/lib /opt/mysql/lib /usr/lib"
- MYSQL_inc_check="/usr/local/mysql/include/mysql /usr/local/include/mysql /opt/mysql/include/mysql /usr/include/mysql"])
- AC_ARG_WITH(mysql-lib,
- [ --with-mysql-lib=<path> directory path of MySQL library installation],
- [MYSQL_lib_check=$with_mysql/lib/mysql])
- AC_ARG_WITH(mysql-include,
- [ --with-mysql-include=<path>
- directory path of MySQL header installation],
- [MYSQL_inc_check=$with_mysql/include/mysql])
- AC_MSG_CHECKING([for MySQL library directory])
- MYSQL_libdir=
- for m in $MYSQL_lib_check; do
- if test -d "$m" &&
- (test -f "$m/libmysqlclient.so" || test -f "$m/libmysqlclient.a")
- then
- MYSQL_libdir=$m
- break
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement