Changeset 771


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

adding svn-support

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.am

    r768 r771  
    3131  rm -rf svndigest *~
    3232
     33if ENABLE_SVN_SUPPORT
     34include build_support/svn_support.am
     35endif
    3336
    34 md5: dist
    35   md5sum $(DIST_ARCHIVES) > $(DIST_ARCHIVES).MD5
     37
     38# This is a workaround to avoid a broken make when .m4 files are
     39# renamed or deleted. Something similar will be provided by Automake 1.11
     40$(am__aclocal_m4_deps):
  • 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.