55 AC_MSG_ERROR([bad value $enable_doc for option --enable-doc]) |
51 AC_MSG_ERROR([bad value $enable_doc for option --enable-doc]) |
56 ;; |
52 ;; |
57 esac |
53 esac |
58 AC_SUBST(DOXYGEN_INTERNAL_DOCS) |
54 AC_SUBST(DOXYGEN_INTERNAL_DOCS) |
59 AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"]) |
55 AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"]) |
60 |
|
61 dnl Disable/enable building the GUI |
|
62 AC_ARG_ENABLE([gui], |
|
63 AS_HELP_STRING([--enable-gui], [build the GUI]) |
|
64 AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]), |
|
65 [], [enable_gui=no]) |
|
66 AC_MSG_CHECKING([whether to build the GUI]) |
|
67 if test x"$enable_gui" != x"no"; then |
|
68 AC_MSG_RESULT([yes]) |
|
69 else |
|
70 AC_MSG_RESULT([no]) |
|
71 fi |
|
72 if test x"$enable_gui" != x"no"; then |
|
73 PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0 gtkmm-2.4 >= 2.6]) |
|
74 fi |
|
75 AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"]) |
|
76 |
56 |
77 dnl Disable/enable building the demo programs |
57 dnl Disable/enable building the demo programs |
78 AC_ARG_ENABLE([demo], |
58 AC_ARG_ENABLE([demo], |
79 AS_HELP_STRING([--enable-demo], [build the demo programs]) |
59 AS_HELP_STRING([--enable-demo], [build the demo programs]) |
80 AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]), |
60 AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]), |
143 echo GLPK support.................. : $lx_glpk_found |
120 echo GLPK support.................. : $lx_glpk_found |
144 echo CPLEX support................. : $lx_cplex_found |
121 echo CPLEX support................. : $lx_cplex_found |
145 echo |
122 echo |
146 echo build benchmarks.............. : $enable_benchmark |
123 echo build benchmarks.............. : $enable_benchmark |
147 echo build demo programs........... : $enable_demo |
124 echo build demo programs........... : $enable_demo |
148 echo build GUI..................... : $enable_gui |
|
149 echo |
125 echo |
150 echo The packace will be installed in |
126 echo The packace will be installed in |
151 echo -n ' ' |
127 echo -n ' ' |
152 echo $prefix. |
128 echo $prefix. |
153 echo |
129 echo |