echo $ac_n "checking whether to enable mpe support""... $ac_c" 1>&6 echo "configure:28642: checking whether to enable mpe support" >&5 # Check whether --enable-mpe or --disable-mpe was given. if test "${enable_mpe+set}" = set; then enableval="$enable_mpe" PHP_MPE=$enableval else PHP_MPE=no fi case "$PHP_MPE" in shared,*) ext_output="yes, shared" ext_shared=yes PHP_MPE=`echo "$PHP_MPE"|sed 's/^shared,//'` ;; shared) ext_output="yes, shared" ext_shared=yes PHP_MPE=yes ;; no) ext_output="no" ext_shared=no ;; *) ext_output="yes" ext_shared=no ;; esac if test "$php_always_shared" = "yes"; then ext_output="yes, shared" ext_shared=yes test "$PHP_MPE" = "no" && PHP_MPE=yes fi echo "$ac_t""$ext_output" 1>&6 if test "$PHP_MPE" != "no"; then cat >> confdefs.h <<\EOF #define HAVE_MPE 1 EOF if test "$ext_srcdir/inc" != "/usr/include"; then if test -z "$ext_srcdir/inc" || echo "$ext_srcdir/inc" | grep '^/' >/dev/null ; then ai_p="$ext_srcdir/inc" else ep_dir="`echo $ext_srcdir/inc|sed 's%/*[^/][^/]*/*$%%'`" ep_realdir="`(cd \"$ep_dir\" && pwd)`" ai_p="$ep_realdir/`basename \"$ext_srcdir/inc\"`" fi unique=`echo $ai_p|sed 's/[^a-zA-Z0-9]/_/g'` cmd="echo $ac_n \"\$INCLUDEPATH$unique$ac_c\"" if test -n "$unique" && test "`eval $cmd`" = "" ; then eval "INCLUDEPATH$unique=set" if test ""; then INCLUDES="-I$ai_p $INCLUDES" else INCLUDES="$INCLUDES -I$ai_p" fi fi fi EXT_SUBDIRS="$EXT_SUBDIRS mpe" if test -d "$abs_srcdir/ext/mpe"; then ext_builddir="ext/mpe" ext_srcdir="$abs_srcdir/ext/mpe" else ext_builddir="." ext_srcdir="$abs_srcdir" fi if test "$ext_shared" != "shared" && test "$ext_shared" != "yes"; then lib_makefile="$ext_builddir/libs.mk" lib_target="" $php_shtool mkdir -p $ext_builddir if test "$BSD_MAKEFILE" = "yes"; then lib_include_conf=".include \"\$(top_builddir)/config_vars.mk\"" else lib_include_conf="include \$(top_builddir)/config_vars.mk" fi cat >$lib_makefile<>$lib_makefile<>$lib_makefile<>$lib_makefile<>$lib_makefile<$lib_makefile<>$lib_makefile<>$lib_makefile<>$lib_makefile<>$lib_makefile<> confdefs.h <