Configure option to set lemon prefix.
authorladanyi
Mon, 09 Oct 2006 08:06:31 +0000
changeset 1597ea73c90a7f0
parent 158 aa50a64b3a6e
child 160 14a76109b561
Configure option to set lemon prefix.
configure.ac
     1.1 --- a/configure.ac	Mon Oct 02 19:00:23 2006 +0000
     1.2 +++ b/configure.ac	Mon Oct 09 08:06:31 2006 +0000
     1.3 @@ -15,6 +15,13 @@
     1.4  
     1.5  dnl Checks for libraries.
     1.6  PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0 gtkmm-2.4 >= 2.6])
     1.7 +
     1.8 +AC_ARG_WITH([lemon-prefix],
     1.9 +AS_HELP_STRING([--with-lemon-prefix@<:@=PREFIX@:>@], [search for LEMON under PREFIX]), [], [with_lemon_prefix=no])
    1.10 +if test x"$with_lemon_prefix" != x"no"; then
    1.11 +  PKG_CONFIG_PATH="$with_lemon_prefix/lib/pkgconfig/"
    1.12 +fi
    1.13 +
    1.14  PKG_CHECK_MODULES([LEMON_0_5], [lemon >= 0.5],
    1.15    [lemon_0_5_found=yes], [
    1.16      AC_MSG_RESULT([no])