COIN-OR::LEMON - Graph Library

Changeset 144:887cd09ea943 in glemon-0.x


Ignore:
Timestamp:
07/12/06 00:14:52 (13 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2842
Message:

Handle 'svn-head' as lemon version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r139 r144  
    1616dnl Checks for libraries.
    1717PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0 gtkmm-2.4 >= 2.6])
    18 PKG_CHECK_MODULES([LEMON], [lemon >= 0.5])
     18PKG_CHECK_MODULES([LEMON_0_5], [lemon >= 0.5],
     19  [lemon_0_5_found=yes], [
     20    AC_MSG_RESULT([no])
     21    lemon_0_5_found=no])
     22PKG_CHECK_MODULES([LEMON_SVN_HEAD], [lemon = svn-head],
     23  [lemon_svn_head_found=yes], [
     24    AC_MSG_RESULT([no])
     25    lemon_svn_head_found=no])
     26if test x"$lemon_0_5_found" = x"no" -a x"$lemon_svn_head_found" = x"no"; then
     27  AC_MSG_ERROR([LEMON not found.])
     28else
     29  if test x"$lemon_svn_head_found" = x"yes"; then
     30    LEMON_CFLAGS="$LEMON_SVN_HEAD_CFLAGS"
     31    LEMON_LIBS="$LEMON_SVN_HEAD_LIBS"
     32  else
     33    LEMON_CFLAGS="$LEMON_0_5_CFLAGS"
     34    LEMON_LIBS="$LEMON_0_5_LIBS"
     35  fi
     36  AC_SUBST(LEMON_CFLAGS)
     37  AC_SUBST(LEMON_LIBS)
     38fi
    1939
    2040dnl Checks for header files.
Note: See TracChangeset for help on using the changeset viewer.