Changeset 740 for trunk/configure.ac


Ignore:
Timestamp:
Dec 17, 2008, 7:54:14 PM (15 years ago)
Author:
Peter Johansson
Message:

refs #363: moved configure warning about missing help2man when have_svn_wc rather than when --enable-debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r739 r740  
    8888AC_ARG_ENABLE(debug,
    8989  [AS_HELP_STRING([--enable-debug],[turn on debug options and code])],
    90   [SD_CXXFLAGS="$SD_CXXFLAGS -g -O";
    91   if test x$help2man = xno; then
    92     AC_MSG_WARN(m4_text_wrap(m4_normalize([
    93       `help2man' is missing on your system.  You will not be
    94       able to create the man page. A sound man page should be
    95       included in a distribution, and since you will not able
    96       to create a complete distribution `make dist' will fail.
    97       ]),[                   ],
    98          [                             ], 79))
    99   fi],
     90  [SD_CXXFLAGS="$SD_CXXFLAGS -g -O"],
    10091  [SD_CPPFLAGS="-DNDEBUG" SD_CXXFLAGS="$SD_CXXFLAGS -O3"])
    10192
     
    193184
    194185if (test "$wc_found" = "yes"); then
     186   if test x$help2man = xno; then
     187     AC_MSG_WARN(m4_text_wrap(m4_normalize([
     188       `help2man' is missing on your system.  You will not be
     189       able to create the man page. A sound man page should be
     190       included in a distribution, and since you will not able
     191       to create a complete distribution `make dist' will fail.
     192       ]),[                   ],
     193          [                             ], 79))
     194   fi
    195195   # svnversion is required when building from svn wc
    196196   if (test "$svnversion" = "no"); then
Note: See TracChangeset for help on using the changeset viewer.