[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: bug in mysql++-2.1.1 configure.ac to use mysqlclient_r
From: David McLaughlin <davidm () theredx ! com>
Date: 2006-09-01 16:26:04
Message-ID: 44F85F1C.3040501 () theredx ! com
[Download RAW message or body]
To whom it may concern:
There is a bug in mysql++-2.1.1's configure.ac file that was not in
mysql++-2.0x.
The thread has to do with not using the mysqlcient_r library even
thought --enable-thread-check is specified.
The problem is the block of code:
# Figure out whether/how to handle threading support, if available.
AC_ARG_ENABLE(thread-check,
[ --enable-thread-check Check for threads, and use if available. ],
[ thread_check=yes ])
if test "x$thread_check" = "xyes"
then
ACX_PTHREAD
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CC="$PTHREAD_CC"
fi
should come somewhere before the line MYSL_API_LOCATION, as this line
includes the mysql_loc.m4 file that uses acx_pthread_ok.
As it currently stands, acx_pthread_ok will not be defined when it first
being used in mysql_loc.m4, because it gets defined as a result of the
block below it.
Please contact me if you have any questions.
Thanks so much,
David
davidm@thredx.com
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=mysql-plusplus@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic