[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AX_PATH_BDB and -I/include, -L/lib
From: |
Peter Simons |
Subject: |
Re: AX_PATH_BDB and -I/include, -L/lib |
Date: |
14 Jan 2005 16:59:58 +0100 |
Florian Weimer writes:
> ----------------------------------------------------------------------
> r687: fw | 2004-12-04 17:35:09 +0100
> * aclocal.m4 (AX_PATH_BDB_NO_OPTIONS):
> Suppress -I and -L if the Berkeley DB path is empty.
> ----------------------------------------------------------------------
> === enyo/trunk/aclocal.m4
> ==================================================================
> --- enyo/trunk/aclocal.m4 (revision 686)
> +++ enyo/trunk/aclocal.m4 (revision 687)
> @@ -483,8 +483,10 @@
> if test "$ax_compare_version" = "true" ; then
> ax_path_bdb_no_options_ok=yes
> BDB_LIBS="-ldb"
> - BDB_CPPFLAGS="-I$ax_path_bdb_path_find_highest_DIR/include"
> - BDB_LDFLAGS="-L$ax_path_bdb_path_find_highest_DIR/lib"
> + if test "x$ax_path_bdb_path_find_highest_DIR" != x ; then
> + BDB_CPPFLAGS="-I$ax_path_bdb_path_find_highest_DIR/include"
> + BDB_LDFLAGS="-L$ax_path_bdb_path_find_highest_DIR/lib"
> + fi
> BDB_VERSION="$ax_path_bdb_path_find_highest_VERSION"
> fi
> fi
I have tried to apply that patch to the macro we have in the
repository, but it appears that the archive has a different
version than the one this diff was made against. Could you
please check that? Or could you send me the complete macro
including your changes?
Peter
- Re: AX_PATH_BDB and -I/include, -L/lib,
Peter Simons <=