configure.ac
changeset 566 e7017ec2d5cd
parent 517 2b6d5d22bb23
child 567 3314f58e7b25
equal deleted inserted replaced
29:922498c88909 30:de635ab391ac
    62 LX_CHECK_CLP
    62 LX_CHECK_CLP
    63 
    63 
    64 AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"])
    64 AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"])
    65 AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"])
    65 AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"])
    66 
    66 
    67 dnl Disable/enable building the demo programs.
       
    68 AC_ARG_ENABLE([demo],
       
    69 AS_HELP_STRING([--enable-demo], [build the demo programs])
       
    70 AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]),
       
    71               [], [enable_demo=no])
       
    72 AC_MSG_CHECKING([whether to build the demo programs])
       
    73 if test x"$enable_demo" != x"no"; then
       
    74   AC_MSG_RESULT([yes])
       
    75 else
       
    76   AC_MSG_RESULT([no])
       
    77 fi
       
    78 AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"])
       
    79 
       
    80 dnl Disable/enable building the binary tools.
    67 dnl Disable/enable building the binary tools.
    81 AC_ARG_ENABLE([tools],
    68 AC_ARG_ENABLE([tools],
    82 AS_HELP_STRING([--enable-tools], [build additional tools @<:@default@:>@])
    69 AS_HELP_STRING([--enable-tools], [build additional tools @<:@default@:>@])
    83 AS_HELP_STRING([--disable-tools], [do not build additional tools]),
    70 AS_HELP_STRING([--disable-tools], [do not build additional tools]),
    84               [], [enable_tools=yes])
    71               [], [enable_tools=yes])
   108 AC_SUBST([CONFIG_STATUS_DEPENDENCIES],
    95 AC_SUBST([CONFIG_STATUS_DEPENDENCIES],
   109   ['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/lemon/lemon.pc.in $(top_srcdir)/cmake/version.cmake.in'])
    96   ['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/lemon/lemon.pc.in $(top_srcdir)/cmake/version.cmake.in'])
   110 
    97 
   111 AC_CONFIG_FILES([
    98 AC_CONFIG_FILES([
   112 Makefile
    99 Makefile
       
   100 demo/Makefile
   113 cmake/version.cmake
   101 cmake/version.cmake
   114 doc/Doxyfile
   102 doc/Doxyfile
   115 lemon/lemon.pc
   103 lemon/lemon.pc
   116 ])
   104 ])
   117 
   105 
   130 echo GLPK support.................. : $lx_glpk_found
   118 echo GLPK support.................. : $lx_glpk_found
   131 echo CPLEX support................. : $lx_cplex_found
   119 echo CPLEX support................. : $lx_cplex_found
   132 echo SOPLEX support................ : $lx_soplex_found
   120 echo SOPLEX support................ : $lx_soplex_found
   133 echo CLP support................... : $lx_clp_found
   121 echo CLP support................... : $lx_clp_found
   134 echo
   122 echo
   135 echo Build demo programs........... : $enable_demo
       
   136 echo Build additional tools........ : $enable_tools
   123 echo Build additional tools........ : $enable_tools
   137 echo
   124 echo
   138 echo The packace will be installed in
   125 echo The packace will be installed in
   139 echo -n '  '
   126 echo -n '  '
   140 echo $prefix.
   127 echo $prefix.