# HG changeset patch # User ladanyi # Date 1160381191 0 # Node ID 7ea73c90a7f0367b3329b67d9ca343c0bc57ca9d # Parent aa50a64b3a6e0b183a9fca69c5e8186b0019caad Configure option to set lemon prefix. diff -r aa50a64b3a6e -r 7ea73c90a7f0 configure.ac --- a/configure.ac Mon Oct 02 19:00:23 2006 +0000 +++ b/configure.ac Mon Oct 09 08:06:31 2006 +0000 @@ -15,6 +15,13 @@ dnl Checks for libraries. PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0 gtkmm-2.4 >= 2.6]) + +AC_ARG_WITH([lemon-prefix], +AS_HELP_STRING([--with-lemon-prefix@<:@=PREFIX@:>@], [search for LEMON under PREFIX]), [], [with_lemon_prefix=no]) +if test x"$with_lemon_prefix" != x"no"; then + PKG_CONFIG_PATH="$with_lemon_prefix/lib/pkgconfig/" +fi + PKG_CHECK_MODULES([LEMON_0_5], [lemon >= 0.5], [lemon_0_5_found=yes], [ AC_MSG_RESULT([no])