patch to allow building on debian/ubuntu

Jan-Henrik Haukeland hauk at tildeslash.com
Sun Oct 22 20:41:13 CEST 2006


Thanks, useful and checked into CVS. BTW we expect to have added  
PostgreSQL to libzdb soon. I remember you asked about this some time  
ago :)

Best regards
--
Jan-Henrik Haukeland
Mobil +47 97141255


On 22. okt. 2006, at 13.53, Paul J Stevens wrote:

>
> Hi there,
>
> This simple patch will allow building libzdb on debian/ubuntu  
> machines:
>
>
> regards,
>
> -- 
>   ________________________________________________________________
>   Paul Stevens                                      paul at nfg.nl
>   NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
>   The Netherlands________________________________http://www.nfg.nl
> --- libzdb-1.0.4/configure.ac	2006-08-25 09:13:53.000000000 +0200
> +++ libzdb-1.0.4.ac/configure.ac	2006-10-22 13:49:58.000000000 +0200
> @@ -116,7 +116,13 @@
>                          CPPFLAGS=$svd_CPPFLAGS
>                  fi
>          fi
> -        ], [AC_CHECK_LIB([mysqlclient], [mysql_init], [],  
> [mysql="no"], [-lz])])
> +        ], [
> +
> +	LDFLAGS=`mysql_config --libs $LDFLAGS`
> +	CPPFLAGS=`mysql_config --include $CPPFLAGS`
> +
> +	AC_CHECK_LIB([mysqlclient], [mysql_init], [], [mysql="no"], [-lz])])
> +
>  if test "xyes" = "x$mysql"; then
>          AC_MSG_CHECKING(mysql version)
>          AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <mysql.h>]],
> --
> To unsubscribe:
> http://www.tildeslash.com/mailman/listinfo/libzdb-general




More information about the libzdb-general mailing list