$OpenBSD: patch-configure_in,v 1.6 2007/04/01 21:37:27 robert Exp $ --- configure.in.orig Sun Apr 1 15:15:11 2007 +++ configure.in Sun Apr 1 15:18:07 2007 @@ -919,7 +919,7 @@ enable_static=yes case $php_build_target in program|static) - standard_libtool_flag='-prefer-non-pic -static' + standard_libtool_flag='' if test -z "$PHP_MODULES"; then enable_shared=no fi @@ -927,8 +927,8 @@ program|static) shared) enable_static=no case $with_pic in - yes) standard_libtool_flag='-prefer-pic';; - no) standard_libtool_flag='-prefer-non-pic';; + yes) standard_libtool_flag='';; + no) standard_libtool_flag='';; esac EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version -module" ;; @@ -1121,7 +1121,7 @@ EXPANDED_SYSCONFDIR=`eval echo $sysconfdir` EXPANDED_DATADIR=$datadir EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"` EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"` -INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR +INCLUDE_PATH=.:$libdir exec_prefix=$old_exec_prefix libdir=$old_libdir @@ -1293,7 +1293,7 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag" INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag" CXXFLAGS="$CXXFLAGS $standard_libtool_flag" -all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_CLI_TARGET)" +all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_CLI_TARGET) \$(PHP_CGI_TARGET)" install_targets="$install_modules install-build install-headers install-programs $install_pear" case $PHP_SAPI in