From 1a1155a0ed37d965ff130a08bbfc9a5514cb3f4a Mon Sep 17 00:00:00 2001 From: "rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 10 Aug 2004 21:15:43 +0000 Subject: [PATCH] BUILD : 1.7.5 (317) BUGS : N/A NOTES : autoconf should now deal with no mysql properly git-svn-id: svn://svn.anope.org/anope/trunk@317 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@195 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 7 ++++--- configure | 23 ++++++++++++++++++++--- configure.in | 23 ++++++++++++++++++++--- version.log | 6 +++++- 4 files changed, 49 insertions(+), 10 deletions(-) diff --git a/Changes b/Changes index 426ec9999..55b4643bc 100644 --- a/Changes +++ b/Changes @@ -1,12 +1,13 @@ Anope Version 1.7.5 ------------------- Provided by Anope Dev. - 2004 -08/10 F Fixed previous BotServ buffer fix. [#131] 07/17 A Switched to autoconf for configure script. [ #00] 07/05 A Warning when LocalAddress conflicts with RemoteServer. [#118] -06/18 A Added proper Bahamut1.8 support. [ #55] +08/07 F configure will be ok if you dont have mysqlclient lib file [ #00] +08/10 F Fixed previous BotServ buffer fix. [#131] 08/10 F Updated documentation to reflect the changed build process. [ #00] -07/23 F Fixed BotServ buffer [#131] +07/23 F Fixed BotServ buffer [#131] +07/23 F Fixed BotServ buffer [#131] 07/22 F Free NSNickTracking when a user quits. [#126] 07/22 F NOOP bug with wildcards. [#115] 07/22 F Removed RESTRICTED from incorrectly labeled lang file entry. [#111] diff --git a/configure b/configure index a4964e709..4973e09dd 100755 --- a/configure +++ b/configure @@ -2739,6 +2739,8 @@ if test $ac_cv_lib_bsd_revoke = yes; then ANOPELIBS="$ANOPELIBS-lbsd " fi +x="0"; +DIS_MYSQL=" MySql: No" # Check whether --with-mysqlclient-prefix or --without-mysqlclient-prefix was given. @@ -2888,6 +2890,7 @@ _ACEOF RDB=" rdb.c " + x="1"; else @@ -2926,10 +2929,15 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext -ANOPELIBS="$ANOPELIBS$MYSQLCLIENT_LIBS " -CFLAGS="$CFLAGS $MYSQLCLIENT_CFLAGS " -LDFLAGS="$LDFLAGS $MYSQLCLIENT_LDFLAGS " +if test "$x" = "1"; then + ANOPELIBS="$ANOPELIBS$MYSQLCLIENT_LIBS " + CFLAGS="$CFLAGS $MYSQLCLIENT_CFLAGS " + LDFLAGS="$LDFLAGS $MYSQLCLIENT_LDFLAGS " + DIS_MYSQL=" MySql: Yes" +fi + +DIS_THREAD="Threads: No" ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then @@ -3473,6 +3481,7 @@ cat >>confdefs.h <<_ACEOF #define USE_THREADS 1 _ACEOF + DIS_THREAD="Threads: Yes" : else @@ -4125,6 +4134,8 @@ fi +DIS_MODULES="Modules: NO" + @@ -4294,6 +4305,7 @@ cat >>confdefs.h <<\_ACEOF _ACEOF USE_MODULES="yes" + DIS_MODULES="Modules: Yes" else @@ -9577,6 +9589,11 @@ fi cat <