Changeset 358


Ignore:
Timestamp:
Jun 7, 2007, 12:42:50 AM (16 years ago)
Author:
Peter Johansson
Message:

Include and lib dirs given by --with-apr' should be prior standard dirs, to enable user to use include a modern version of svn even when he suffers from a non-optimal version in his standard installation (/usr/local/)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r279 r358  
    100100APR_FIND_APR(,,1)
    101101if test "$apr_found" = "yes" ; then
    102     LDFLAGS="$LDFLAGS `$apr_config --link-ld`"
    103     CPPFLAGS="$CPPFLAGS `$apr_config --includes`"
     102    LDFLAGS="`$apr_config --link-ld` $LDFLAGS"
     103    CPPFLAGS="`$apr_config --includes` $CPPFLAGS"
    104104    AC_CHECK_HEADER([apr_allocator.h],,apr_found="no")
    105105fi
     
    109109AC_ARG_WITH(svn,
    110110  [AS_HELP_STRING([--with-svn=DIR],[prefix for svn developer files [[PREFIX]]])],
    111   [ LDFLAGS="$LDFLAGS -L$withval/lib" CPPFLAGS="$CPPFLAGS -I$withval/include"])
     111  [ LDFLAGS="-L$withval/lib $LDFLAGS" CPPFLAGS="-I$withval/include $CPPFLAGS"])
    112112AC_CHECK_HEADER([subversion-1/svn_types.h],,svn_found="no")
    113113# The library checks below may match shared libs even when
Note: See TracChangeset for help on using the changeset viewer.