Changeset 771 for trunk/configure.ac


Ignore:
Timestamp:
Jan 31, 2009, 11:40:09 PM (13 years ago)
Author:
Peter Johansson
Message:

adding svn-support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r770 r771  
    103103  [SD_CXXFLAGS="$SD_CXXFLAGS -g -O"],
    104104  [SD_CPPFLAGS="-DNDEBUG" SD_CXXFLAGS="$SD_CXXFLAGS -O3"])
     105
     106# enable svn-support
     107AC_ARG_ENABLE([svn-support],
     108   [AS_HELP_STRING([--enable-svn-support],
     109                   [enable svn support - used by maintainer])],
     110   [enable_svn_support=yes])
     111AS_IF([test "x$enable_svn_support" = xyes],
     112      [AC_CHECK_FILE([$srcdir/.svn],,
     113                     [AC_MSG_ERROR([svn support cannot be enabled: `$srcdir' is not an svn wc.])])])
     114AM_CONDITIONAL([ENABLE_SVN_SUPPORT], [test "x$enable_svn_support" = "xyes"])
    105115
    106116# Apache Portable Runtime (APR) API checks
Note: See TracChangeset for help on using the changeset viewer.