COIN-OR::LEMON - Graph Library

Changeset 1404:17c80cb3754b in lemon-0.x


Ignore:
Timestamp:
05/05/05 17:34:43 (19 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

Files:
3 added
3 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])
  • configure.ac

    r1400 r1404  
    3131
    3232LX_ENABLE_DOCS
     33LX_ENABLE_GUI
    3334
    3435dnl Checks for header files.
     
    5758src/demo/Makefile
    5859src/test/Makefile
     60src/gui/Makefile
     61src/gui/src/Makefile
    5962])
    6063
     
    7275echo CPLEX support................. : $lx_cplex_found
    7376echo
     77echo build GUI..................... : $enable_gui
     78echo
    7479echo The packace will be installed in
    7580echo -n '  '
  • src/Makefile.am

    r934 r1404  
    1 SUBDIRS = lemon benchmark demo test
     1if WANT_GUI
     2  MAYBE_GUI = gui
     3endif
     4SUBDIRS = lemon benchmark demo test $(MAYBE_GUI)
Note: See TracChangeset for help on using the changeset viewer.