- Timestamp:
- Mar 5, 2008, 4:45:58 PM (15 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, upstream
- Children:
- 1897a1c
- Parents:
- b71edd5
- git-author:
- Nikos Mavrogiannopoulos <nmav@…> (03/05/08 16:45:58)
- git-committer:
- Nokis Mavrogiannopoulos <nmav@…> (03/05/08 16:45:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/apr_memcache.m4
rb71edd5 r0e277f2 10 10 [AC_HELP_STRING([--with-apr-memcache-prefix=PATH],[Install prefix for apr_memcache])], 11 11 apr_memcache_prefix="$withval", 12 apr_memcache_prefix="/usr",13 12 :) 14 13 AC_ARG_WITH( … … 16 15 [AC_HELP_STRING([--with-apr-memcache-libs=PATH],[Path to apr_memcache libs])], 17 16 apr_memcache_libs="$withval", 18 apr_memcache_libs="$apr_memcache_prefix/lib"19 17 :) 20 18 AC_ARG_WITH( … … 22 20 [AC_HELP_STRING([--with-apr-memcache-includes=PATH],[Path to apr_memcache includes])], 23 21 apr_memcache_includes="$withval", 24 apr_memcache_includes="$apr_memcache_prefix/include/apr_memcache-0"25 22 :) 26 23 … … 31 28 save_CFLAGS=$CFLAGS 32 29 save_LDFLAGS=$LDFLAGS 33 CFLAGS="-I$apr_memcache_includes $APR_INCLUDES $CFLAGS" 34 LDFLAGS="-L$apr_memcache_libs $LDFLAGS" 30 31 if test -n "$apr_memcache_libs"; then 32 apr_memcache_libdir=$apr_memcache_libs 33 elif test -n "$apr_memcache_prefix"; then 34 apr_memcache_libdir=$apr_memcache_prefix/lib 35 fi 36 if test -n "$apr_memcache_libdir"; then 37 LDFLAGS="-L$apr_memcache_libdir $LDFLAGS" 38 fi 39 40 if test -n "$apr_memcache_includes"; then 41 apr_memcache_includedir=$apr_memcache_includes 42 elif test -n "$apr_memcache_prefix"; then 43 apr_memcache_includedir=$apr_memcache_prefix/include/apr_memcache-0 44 else 45 apr_memcache_includedir=$includedir/apr_memcache-0 46 fi 47 CFLAGS="-I$apr_memcache_includedir $CFLAGS" 48 35 49 AC_CHECK_LIB( 36 50 apr_memcache, 37 51 apr_memcache_create, 38 52 [ 39 APR_MEMCACHE_LIBS="-R$apr_memcache_libs -L$apr_memcache_libs -lapr_memcache" 40 APR_MEMCACHE_CFLAGS="-I$apr_memcache_includes" 53 APR_MEMCACHE_LIBS="-lapr_memcache" 54 if test -n "$apr_memcache_libdir"; then 55 APR_MEMCACHE_LIBS="-R$apr_memcache_libdir -L$apr_memcache_libdir $APR_MEMCACHE_LIBS" 56 fi 57 APR_MEMCACHE_CFLAGS="-I$apr_memcache_includedir" 41 58 ] 42 59 )
Note: See TracChangeset
for help on using the changeset viewer.