Re: ./configure worked on 1.98 but not 1.99!

Edward Rudd <[email protected]> Mon, 02 Aug 2004 02:27:08 -0500
Newsgroups gmane.comp.apache.mod-log-sql
Organization OutOfOrder.cc
Message-ID <[email protected]>
On Mon, 2004-08-02 at 01:02, Matt Erbst wrote:
> But I was getting around to upgrading to 1.99 and found that no matter
> what I did, configure was looking for the dbi libraries.
> 
** urkle grumbles **
>  
> 
> I’m running FreeBSD 5.2, and everything else is recently updated.  I
> suppose I could install libDBI, but I really don’t need it.

I've attached a patch to configure that will fix the issue (I changed
the AC_MSG_ERROR to AC_MSG_WARN as they should have been in
configure.ac)

> If this is my mistake, I apologize, otherwise, I thought you should be
> made aware of this problem if you aren’t already.
> 
I didn't know about this one, Thanks for the report.

-- 
Edward Rudd <[email protected]>
Website http://www.outoforder.cc/

_______________________________________________
Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/

To unsubscribe send an e-mail to 
mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org
mod_log_sql.diff (text/plain, 1.6 KB)
--- configure.old	Tue Jul 20 17:47:33 2004
+++ configure	Mon Aug  2 02:21:00 2004
@@ -3174,9 +3174,8 @@
         MYSQL_CFLAGS=""
         MYSQL_LDFLAGS=""
         MYSQL_LIBS=""
-        { { echo "$as_me:$LINENO: error: *** Mysql client libraries not found!" >&5
-echo "$as_me: error: *** Mysql client libraries not found!" >&2;}
-   { (exit 1); exit 1; }; }
+        { echo "$as_me:$LINENO: WARNING: *** Mysql client libraries not found!" >&5
+echo "$as_me: WARNING: *** Mysql client libraries not found!" >&2;}
         WANT_MYSQL_MOD=0
 
       fi
@@ -3218,9 +3217,8 @@
 done
 
 if test -z "$DBI_CFLAGS"; then
-  { { echo "$as_me:$LINENO: error: ** libDBI client libraries not found!" >&5
-echo "$as_me: error: ** libDBI client libraries not found!" >&2;}
-   { (exit 1); exit 1; }; }
+  { echo "$as_me:$LINENO: WARNING: ** libDBI client libraries not found!" >&5
+echo "$as_me: WARNING: ** libDBI client libraries not found!" >&2;}
         WANT_DBI_MOD=0
 
 fi
@@ -3309,9 +3307,8 @@
     fi
 done
 if test -z "$DBI_LDFLAGS"; then
-  { { echo "$as_me:$LINENO: error: ** libDBI client libraries not found!" >&5
-echo "$as_me: error: ** libDBI client libraries not found!" >&2;}
-   { (exit 1); exit 1; }; }
+  { echo "$as_me:$LINENO: WARNING: ** libDBI client libraries not found!" >&5
+echo "$as_me: WARNING: ** libDBI client libraries not found!" >&2;}
         WANT_DBI_MOD=0
 
 else
@@ -4004,7 +4001,7 @@
 
 case "$target" in
 	*-*-solaris* | *-*-osf* )
-		if test $APACHE_VERSION -eq 1.3; then
+		if test $AP_VERSION -eq 1.3; then
 			RT_LIBS=-lrt
 		fi
 		;;
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBBDezLvwMxRUUct20RAmk+AKCNbBswN/aHi4g9m7Fh5mTgXrcj7QCfYXJ0
kgcUWCyRHUw8j5VpxCI1R7Q=
=yNuB
-----END PGP SIGNATURE-----