COIN-OR::LEMON - Graph Library

Changeset 1404:17c80cb3754b in lemon-0.x for config/misc.m4


Ignore:
Timestamp:
05/05/05 17:34:43 (15 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1866
Message:

added directory and check for the GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • config/misc.m4

    r1370 r1404  
    2727  AM_CONDITIONAL([WANT_DOCS], [test x"$enable_docs" != x"no"])
    2828])
     29
     30AC_DEFUN([LX_ENABLE_GUI],
     31[
     32  AC_ARG_ENABLE([gui],
     33AS_HELP_STRING([--enable-gui], [build the GUI])
     34AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]),
     35         [], [enable_gui=no])
     36
     37  AC_MSG_CHECKING([whether to build the GUI])
     38  if test x"$enable_gui" != x"no"; then
     39      AC_MSG_RESULT([yes])
     40  else
     41      AC_MSG_RESULT([no])
     42  fi
     43  if test x"$enable_gui" != x"no"; then
     44    PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0])
     45  fi
     46  AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"])
     47])
Note: See TracChangeset for help on using the changeset viewer.