pike.git/
src/
modules/
Mysql/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-07-16
2002-07-16 19:46:28 by Per Hedbor <ph@opera.com>
8db4cc56c3600526ddefb4a58634b9d1d1a14073 (
14
lines) (+
11
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
-ldbug and -lmystrings are not to be used for -lmysqlclient
Rev: src/modules/Mysql/configure.in:1.32
1:
#
-
# $Id: configure.in,v 1.
31
2002/
03
/
18
13
:
10
:
53
grubba
Exp $
+
# $Id: configure.in,v 1.
32
2002/
07
/
16
19
:
46
:
28
per
Exp $
# # Configure script for the mysql-module #
9:
# # NOTE: # Prior to 3.20.0 After 3.20.0
-
# --------------------------------------------------------------
+
# --------------------------------------------------------------
-----
# /usr/local/mysql/mach-lib-threads /usr/local/lib/mysql # /usr/local/mysql/include /usr/local/include/mysql # libmysql.a libmysqllib.a
92:
pike_cv_mysql="unknown"
+
+
AC_CHECK_LIB(mysqlclient, bchange, [
+
LIBS="-lmysqlclient $LIBS"
+
MYSQL_LIBS="-lmysqlclient"
+
pike_cv_mysql="post3.20"
+
], [
AC_CHECK_LIB(mystrings, bchange, [ LIBS="-lmystrings $LIBS" MYSQL_LIBS="-lmystrings ${MYSQL_LIBS}"
103:
pike_cv_mysql="pre3.20" ], []) ])
+
])
AC_MSG_CHECKING(Mysql version)