dbTalk Databases Forums  

bug in mysql++-2.1.1 configure.ac to use mysqlclient_r

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss bug in mysql++-2.1.1 configure.ac to use mysqlclient_r in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David McLaughlin
 
Posts: n/a

Default bug in mysql++-2.1.1 configure.ac to use mysqlclient_r - 09-01-2006 , 11:32 AM






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 (AT) thredx (DOT) com


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Warren Young
 
Posts: n/a

Default Re: bug in mysql++-2.1.1 configure.ac to use mysqlclient_r - 01-12-2007 , 12:53 PM






David McLaughlin wrote:
Quote:
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.
Thanks for the report. I've applied a fix for this, which will appear
in MySQL++ v2.2.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.