SHARE
TWEET

Untitled

a guest Jun 19th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [  --with-mysql=<path>     root directory path of MySQL installation],
  2.     [MYSQL_lib_check="$with_mysql/lib/mysql $with_mysql/lib"
  3. MYSQL_inc_check="$with_mysql/include/mysql"],
  4.     [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"
  5. MYSQL_inc_check="/usr/local/mysql/include/mysql /usr/local/include/mysql /opt/mysql/include/mysql /usr/include/mysql"])
  6.  
  7. AC_ARG_WITH(mysql-lib,
  8.     [  --with-mysql-lib=<path> directory path of MySQL library installation],
  9.     [MYSQL_lib_check=$with_mysql/lib/mysql])
  10.  
  11. AC_ARG_WITH(mysql-include,
  12.     [  --with-mysql-include=<path>
  13.                           directory path of MySQL header installation],
  14.     [MYSQL_inc_check=$with_mysql/include/mysql])
  15.  
  16. AC_MSG_CHECKING([for MySQL library directory])
  17. MYSQL_libdir=
  18. for m in $MYSQL_lib_check; do
  19.         if test -d "$m" &&
  20.        (test -f "$m/libmysqlclient.so" || test -f "$m/libmysqlclient.a")
  21.         then
  22.                 MYSQL_libdir=$m
  23.                 break
  24.         fi
  25. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top