configure.ac
changeset 2403 b8f65d8528e1
parent 2386 81b47fc5c444
child 2412 086fc76d591d
equal deleted inserted replaced
44:195c1f9e4504 45:873dd3567591
    15 AC_PROG_INSTALL
    15 AC_PROG_INSTALL
    16 AC_DISABLE_SHARED
    16 AC_DISABLE_SHARED
    17 AC_PROG_LIBTOOL
    17 AC_PROG_LIBTOOL
    18 
    18 
    19 if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then
    19 if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then
    20   CXXFLAGS="$CXXFLAGS -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -Woverloaded-virtual -Wshadow -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas"
    20   CXXFLAGS="$CXXFLAGS -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas"
    21 fi
    21 fi
    22 
    22 
    23 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
    23 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
    24 
    24 
    25 dnl Checks for libraries.
    25 dnl Checks for libraries.
    64   AC_MSG_RESULT([yes])
    64   AC_MSG_RESULT([yes])
    65 else
    65 else
    66   AC_MSG_RESULT([no])
    66   AC_MSG_RESULT([no])
    67 fi
    67 fi
    68 AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"])
    68 AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"])
       
    69 
       
    70 dnl Disable/enable building the binary tools
       
    71 AC_ARG_ENABLE([tools],
       
    72 AS_HELP_STRING([--enable-tools], [build additional tools @<:@default@:>@])
       
    73 AS_HELP_STRING([--disable-tools], [do not build additional tools]),
       
    74               [], [enable_tools=yes])
       
    75 AC_MSG_CHECKING([whether to build the additional tools])
       
    76 if test x"$enable_tools" != x"no"; then
       
    77   AC_MSG_RESULT([yes])
       
    78 else
       
    79   AC_MSG_RESULT([no])
       
    80 fi
       
    81 AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"])
    69 
    82 
    70 dnl Disable/enable building the benchmarks
    83 dnl Disable/enable building the benchmarks
    71 AC_ARG_ENABLE([benchmark],
    84 AC_ARG_ENABLE([benchmark],
    72 AS_HELP_STRING([--enable-benchmark], [build the benchmarks])
    85 AS_HELP_STRING([--enable-benchmark], [build the benchmarks])
    73 AS_HELP_STRING([--disable-benchmark], [do not build the benchmarks @<:@default@:>@]),
    86 AS_HELP_STRING([--disable-benchmark], [do not build the benchmarks @<:@default@:>@]),
   116 echo CPLEX support................. : $lx_cplex_found
   129 echo CPLEX support................. : $lx_cplex_found
   117 echo SOPLEX support................ : $lx_soplex_found
   130 echo SOPLEX support................ : $lx_soplex_found
   118 echo
   131 echo
   119 echo build benchmarks.............. : $enable_benchmark
   132 echo build benchmarks.............. : $enable_benchmark
   120 echo build demo programs........... : $enable_demo
   133 echo build demo programs........... : $enable_demo
       
   134 echo build additional tools........ : $enable_tools
   121 echo
   135 echo
   122 echo The packace will be installed in
   136 echo The packace will be installed in
   123 echo -n '  '
   137 echo -n '  '
   124 echo $prefix.
   138 echo $prefix.
   125 echo
   139 echo