COIN-OR::LEMON - Graph Library

Changeset 201:879e47e5b731 in glemon-0.x for configure.ac


Ignore:
Timestamp:
01/02/08 22:03:09 (12 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3431
Message:

Merge branches/akos to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r183 r201  
    2727PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0 gtkmm-2.4 >= 2.6])
    2828
    29 AC_ARG_WITH([lemon-prefix],
    30 AS_HELP_STRING([--with-lemon-prefix@<:@=PREFIX@:>@], [search for LEMON under PREFIX]), [], [with_lemon_prefix=no])
    31 if test x"$with_lemon_prefix" != x"no"; then
    32   export PKG_CONFIG_PATH="$with_lemon_prefix/lib/pkgconfig/:$PKG_CONFIG_PATH"
     29AC_ARG_WITH([lemon],
     30AS_HELP_STRING([--with-lemon@<:@=PREFIX@:>@], [search for LEMON under PREFIX]), [], [with_lemon=no])
     31if test x"$with_lemon" != x"no"; then
     32  export PKG_CONFIG_PATH="$with_lemon/lib/pkgconfig/:$PKG_CONFIG_PATH"
    3333fi
    3434
    35 PKG_CHECK_MODULES([LEMON_0_5], [lemon >= 0.5],
    36   [lemon_0_5_found=yes], [
    37     AC_MSG_RESULT([no])
    38     lemon_0_5_found=no])
    39 PKG_CHECK_MODULES([LEMON_SVNHEAD], [lemon = svnhead],
    40   [lemon_svn_head_found=yes], [
    41     AC_MSG_RESULT([no])
    42     lemon_svn_head_found=no])
    43 if test x"$lemon_0_5_found" = x"no" -a x"$lemon_svn_head_found" = x"no"; then
    44   AC_MSG_ERROR([LEMON not found.])
    45 else
    46   if test x"$lemon_svn_head_found" = x"yes"; then
    47     LEMON_CFLAGS="$LEMON_SVNHEAD_CFLAGS"
    48     LEMON_LIBS="$LEMON_SVNHEAD_LIBS"
    49   else
    50     LEMON_CFLAGS="$LEMON_0_5_CFLAGS"
    51     LEMON_LIBS="$LEMON_0_5_LIBS"
    52   fi
    53   AC_SUBST(LEMON_CFLAGS)
    54   AC_SUBST(LEMON_LIBS)
    55 fi
     35PKG_CHECK_MODULES([LEMON], [lemon >= 0.6.90])
    5636
    5737dnl Checks for header files.
Note: See TracChangeset for help on using the changeset viewer.