Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (25 sloc) 0.801 kB
PHP_ARG_WITH(mogilefs, for mogilefs support,
[ --with-mogilefs Include mogilefs support])
if test "$PHP_MOGILEFS" != "no"; then
paths="/usr /usr/local /sw"
for path in $paths; do
if test -x "$path/bin/xml2-config"; then
XML2_CONFIG=$path/bin/xml2-config
break
fi
done
test -z "$XML2_CONFIG" && AC_MSG_ERROR(Cannot find libxml2)
for path in $paths; do
if test -x "$path/bin/neon-config"; then
NEON_CONFIG=$path/bin/neon-config
break
fi
done
test -z "$NEON_CONFIG" && AC_MSG_ERROR(Cannot find libneon)
MOGILEFS_LIBS=$($NEON_CONFIG --libs)
MOGILEFS_INCS=$($NEON_CONFIG --cflags)
PHP_EVAL_LIBLINE($MOGILEFS_LIBS, MOGILEFS_SHARED_LIBADD)
PHP_EVAL_INCLINE($MOGILEFS_INCS)
PHP_SUBST(MOGILEFS_SHARED_LIBADD)
PHP_NEW_EXTENSION(mogilefs, mogilefs.c, $ext_shared)
fi
Jump to Line
Something went wrong with that request. Please try again.