Changeset 905 for trunk/configure.ac


Ignore:
Timestamp:
Nov 28, 2009, 12:14:37 AM (11 years ago)
Author:
Peter Johansson
Message:

disallow --with-svn and --without-svn. The same arg check already existed for apr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r904 r905  
    137137AC_ARG_WITH([svn],
    138138  [AS_HELP_STRING([--with-svn=DIR],[prefix for svn developer files [[PREFIX]]])],
    139   [ DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --with-svn=$withval"
     139  [ AS_CASE([$withval], [yes|no],
     140            [AC_MSG_ERROR([--with-svn requires a directory to be provided])])
     141    DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS --with-svn=$withval"
    140142    YAT_LD_ADD_FLAG([SVN_LDFLAGS], [-L$withval/lib])
    141143    YAT_CPP_ADD_FLAG([SVN_CPPFLAGS], [-I$withval/include])
Note: See TracChangeset for help on using the changeset viewer.