forked from Lainports/freebsd-ports
44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
--- configure.orig Sun Nov 5 05:57:07 2006
|
|
+++ configure Sun Nov 5 18:57:50 2006
|
|
@@ -19366,7 +19366,7 @@
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="-pthread $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -19429,7 +19429,7 @@
|
|
#define HAVE_LIBPTHREAD 1
|
|
_ACEOF
|
|
|
|
- LIBS="-lpthread $LIBS"
|
|
+ LIBS="-pthread $LIBS"
|
|
|
|
else
|
|
{ { echo "$as_me:$LINENO: error: POSIX thread library is required" >&5
|
|
@@ -19455,8 +19455,8 @@
|
|
else
|
|
svd_LDFLAGS=$LDFLAGS
|
|
svd_CPPFLAGS=$CPPFLAGS
|
|
- LDFLAGS="-L$with_mysql/lib $LDFLAGS"
|
|
- CPPFLAGS="-I$with_mysql/include $CPPFLAGS"
|
|
+ LDFLAGS="-L$with_mysql/lib/mysql $LDFLAGS"
|
|
+ CPPFLAGS="-I$with_mysql/include/mysql $CPPFLAGS"
|
|
|
|
for ac_header in mysql.h
|
|
do
|
|
@@ -19604,9 +19604,9 @@
|
|
_ACEOF
|
|
|
|
mysql="yes"
|
|
- if test -r "$with_mysql/lib/libmysqlclient.a"; then
|
|
- DBCPPFLAGS="$DBCPPFLAGS -I$with_mysql/include"
|
|
- DBLDFLAGS="$DBLDFLAGS -L$with_mysql/lib/ -lmysqlclient"
|
|
+ if test -r "$with_mysql/lib/mysql/libmysqlclient.a"; then
|
|
+ DBCPPFLAGS="$DBCPPFLAGS -I$with_mysql/includemysql"
|
|
+ DBLDFLAGS="$DBLDFLAGS -L$with_mysql/lib/mysql -lmysqlclient"
|
|
else
|
|
mysql="no"
|
|
fi
|