Changes in configure.ac [55:9bd0d6e0c279:64:761622e5ed4c] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r55 r64 14 14 AC_CONFIG_AUX_DIR([build-aux]) 15 15 AC_CONFIG_MACRO_DIR([m4]) 16 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects ])16 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects nostdinc]) 17 17 AC_CONFIG_SRCDIR([lemon/list_graph.h]) 18 18 AC_CONFIG_HEADERS([config.h lemon/config.h]) … … 27 27 AC_PROG_LIBTOOL 28 28 29 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no]) 30 29 31 if test x"$lx_cmdline_cxxflags_set" != x"set" -a "$GXX" = yes; then 30 32 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" 31 33 fi 32 33 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])34 34 35 35 dnl Checks for libraries. … … 37 37 LX_CHECK_CPLEX 38 38 LX_CHECK_SOPLEX 39 40 dnl Enable/disable installing the documentation41 AC_ARG_ENABLE([doc],42 AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])43 AS_HELP_STRING([--disable-doc], [do not build the documentation]),44 [], [enable_doc=yes])45 46 AC_MSG_CHECKING([whether to build the documention])47 case "$enable_doc" in48 yes)49 DOXYGEN_INTERNAL_DOCS=NO50 AC_MSG_RESULT([yes])51 ;;52 full)53 DOXYGEN_INTERNAL_DOCS=YES54 AC_MSG_RESULT([full])55 ;;56 no)57 DOXYGEN_INTERNAL_DOCS=NO58 AC_MSG_RESULT([no])59 ;;60 *)61 AC_MSG_ERROR([bad value $enable_doc for option --enable-doc])62 ;;63 esac64 AC_SUBST(DOXYGEN_INTERNAL_DOCS)65 AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"])66 39 67 40 dnl Disable/enable building the demo programs … … 146 119 echo $prefix. 147 120 echo 148 echo The documentation will be installed in149 echo -n ' '150 eval echo ${datadir}/doc/$PACKAGE.151 echo152 121 echo '*********************************************************************' 153 122
Note: See TracChangeset
for help on using the changeset viewer.