diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-01-16 09:02:55 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-01-16 09:02:55 +0100 |
commit | 8572aeb0703107705fc7dde35961cd6a5f89c0c8 (patch) | |
tree | 833d2a593591ac362a7dfe90971bef61d155bfaa /configure | |
parent | 0b82e05fe264306004119e30119e665365331e17 (diff) | |
download | php-8572aeb0703107705fc7dde35961cd6a5f89c0c8.tar.gz |
Imported Upstream version 5.5.0~alpha3upstream/5.5.0_alpha3
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 242 |
1 files changed, 216 insertions, 26 deletions
@@ -3661,7 +3661,7 @@ ac_config_headers="$ac_config_headers main/php_config.h" PHP_MAJOR_VERSION=5 PHP_MINOR_VERSION=5 PHP_RELEASE_VERSION=0 -PHP_EXTRA_VERSION="alpha1" +PHP_EXTRA_VERSION="alpha3" PHP_VERSION="$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION" PHP_VERSION_ID=`expr $PHP_MAJOR_VERSION \* 10000 + $PHP_MINOR_VERSION \* 100 + $PHP_RELEASE_VERSION` @@ -20556,6 +20556,9 @@ _ACEOF *solaris*) PHP_GLOBAL_OBJS="$PHP_GLOBAL_OBJS $ac_bdir$ac_provsrc.o" ;; + *linux*) + PHP_GLOBAL_OBJS="$PHP_GLOBAL_OBJS $ac_bdir$ac_provsrc.o" + ;; esac old_IFS=$IFS @@ -20584,12 +20587,12 @@ _ACEOF cat>>Makefile.objects<<EOF $ac_bdir$ac_hdrobj: $abs_srcdir/$ac_provsrc - dtrace -h -C -s $ac_srcdir$ac_provsrc -o \$@ && \$(SED) -ibak 's,PHP_,DTRACE_,g' \$@ + CFLAGS="\$(CFLAGS_CLEAN)" dtrace -h -C -s $ac_srcdir$ac_provsrc -o \$@ && \$(SED) -ibak 's,PHP_,DTRACE_,g' \$@ \$(PHP_DTRACE_OBJS): $ac_bdir$ac_hdrobj $ac_bdir$ac_provsrc.o: \$(PHP_DTRACE_OBJS) - dtrace -G -o \$@ -s $abs_srcdir/$ac_provsrc $dtrace_objs + CFLAGS="\$(CFLAGS_CLEAN)" dtrace -G -o \$@ -s $abs_srcdir/$ac_provsrc $dtrace_objs EOF @@ -25187,6 +25190,156 @@ else fi + save_old_LDFLAGS=$LDFLAGS + ac_stuff="" + + save_ext_shared=$ext_shared + ext_shared=yes + + for ac_i in $ac_stuff; do + case $ac_i in + -pthread) + if test "$ext_shared" = "yes"; then + LDFLAGS="$LDFLAGS -pthread" + else + + + unique=`echo $ac_i|$SED 's/[^a-zA-Z0-9]/_/g'` + + cmd="echo $ac_n \"\$EXTRA_LDFLAGS$unique$ac_c\"" + if test -n "$unique" && test "`eval $cmd`" = "" ; then + eval "EXTRA_LDFLAGS$unique=set" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS $ac_i" + fi + + fi + ;; + -l*) + ac_ii=`echo $ac_i|cut -c 3-` + + + case $ac_ii in + c|c_r|pthread*) ;; + *) + if test "$ext_shared" = "yes"; then + LDFLAGS="$LDFLAGS -l$ac_ii" + else + + + case $ac_ii in + c|c_r|pthread*) ;; + *) + LIBS="$LIBS -l$ac_ii" + ;; + esac + + + fi + ;; + esac + + + ;; + -L*) + ac_ii=`echo $ac_i|cut -c 3-` + + if test "$ac_ii" != "/usr/$PHP_LIBDIR" && test "$ac_ii" != "/usr/lib"; then + + if test -z "$ac_ii" || echo "$ac_ii" | grep '^/' >/dev/null ; then + ai_p=$ac_ii + else + + ep_dir="`echo $ac_ii|$SED 's%/*[^/][^/]*/*$%%'`" + + ep_realdir="`(cd \"$ep_dir\" && pwd)`" + ai_p="$ep_realdir/`basename \"$ac_ii\"`" + fi + + + if test "$ext_shared" = "yes"; then + LDFLAGS="-L$ai_p $LDFLAGS" + test -n "$ld_runpath_switch" && LDFLAGS="$ld_runpath_switch$ai_p $LDFLAGS" + else + + + + unique=`echo $ai_p|$SED 's/[^a-zA-Z0-9]/_/g'` + + cmd="echo $ac_n \"\$LIBPATH$unique$ac_c\"" + if test -n "$unique" && test "`eval $cmd`" = "" ; then + eval "LIBPATH$unique=set" + + test -n "$ld_runpath_switch" && LDFLAGS="$LDFLAGS $ld_runpath_switch$ai_p" + LDFLAGS="$LDFLAGS -L$ai_p" + PHP_RPATHS="$PHP_RPATHS $ai_p" + + fi + + + fi + + fi + + ;; + esac + done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_column_table_name in -lsqlite3" >&5 +$as_echo_n "checking for sqlite3_column_table_name in -lsqlite3... " >&6; } +if ${ac_cv_lib_sqlite3_sqlite3_column_table_name+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsqlite3 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sqlite3_column_table_name (); +int +main () +{ +return sqlite3_column_table_name (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_sqlite3_sqlite3_column_table_name=yes +else + ac_cv_lib_sqlite3_sqlite3_column_table_name=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_column_table_name" >&5 +$as_echo "$ac_cv_lib_sqlite3_sqlite3_column_table_name" >&6; } +if test "x$ac_cv_lib_sqlite3_sqlite3_column_table_name" = xyes; then : + + LDFLAGS=$save_old_LDFLAGS + ext_shared=$save_ext_shared + + +$as_echo "#define SQLITE_ENABLE_COLUMN_METADATA 1" >>confdefs.h + + + +else + + LDFLAGS=$save_old_LDFLAGS + ext_shared=$save_ext_shared + unset ac_cv_lib_sqlite3_sqlite3_column_table_name + + +fi + + save_old_LDFLAGS=$LDFLAGS ac_stuff="" @@ -54245,7 +54398,7 @@ fi old_IFS=$IFS - for ac_src in json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c; do + for ac_src in json.c utf8_decode.c JSON_parser.c; do IFS=. set $ac_src @@ -54294,7 +54447,7 @@ EOF old_IFS=$IFS - for ac_src in json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c; do + for ac_src in json.c utf8_decode.c JSON_parser.c; do IFS=. set $ac_src @@ -54424,7 +54577,7 @@ _ACEOF old_IFS=$IFS - for ac_src in json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c; do + for ac_src in json.c utf8_decode.c JSON_parser.c; do IFS=. set $ac_src @@ -54470,7 +54623,7 @@ EOF old_IFS=$IFS - for ac_src in json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c; do + for ac_src in json.c utf8_decode.c JSON_parser.c; do IFS=. set $ac_src @@ -63256,6 +63409,43 @@ but you've either not enabled mysqlnd, or have disabled it. $as_echo "#define MYSQLI_USE_MYSQLND 1" >>confdefs.h + + + for header_file in ext/mysqli/mysqli_mysqlnd.h; do + + + unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'` + + cmd="echo $ac_n \"\$INSTALLHEADERS$unique$ac_c\"" + if test -n "$unique" && test "`eval $cmd`" = "" ; then + eval "INSTALLHEADERS$unique=set" + + INSTALL_HEADERS="$INSTALL_HEADERS $header_file" + + fi + + done + + + else + + + for header_file in ext/mysqli/mysqli_libmysql.h; do + + + unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'` + + cmd="echo $ac_n \"\$INSTALLHEADERS$unique$ac_c\"" + if test -n "$unique" && test "`eval $cmd`" = "" ; then + eval "INSTALLHEADERS$unique=set" + + INSTALL_HEADERS="$INSTALL_HEADERS $header_file" + + fi + + done + + fi fi @@ -104565,7 +104755,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 104568 "configure" +#line 104758 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -106477,7 +106667,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 106480 "configure"' > conftest.$ac_ext + echo '#line 106670 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -107869,7 +108059,7 @@ else LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat > conftest.$ac_ext <<EOF -#line 107872 "configure" +#line 108062 "configure" #include "confdefs.h" int main() { ; return 0; } @@ -108027,11 +108217,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:108030: $lt_compile\"" >&5) + (eval echo "\"configure:108220: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "configure:108034: \$? = $ac_status" >&5 + echo "configure:108224: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -108325,11 +108515,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:108328: $lt_compile\"" >&5) + (eval echo "\"configure:108518: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "configure:108332: \$? = $ac_status" >&5 + echo "configure:108522: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -108429,11 +108619,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:108432: $lt_compile\"" >&5) + (eval echo "\"configure:108622: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "configure:108436: \$? = $ac_status" >&5 + echo "configure:108626: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -108893,7 +109083,7 @@ _LT_EOF # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <<EOF -#line 108896 "configure" +#line 109086 "configure" #include "confdefs.h" int main() { ; return 0; } @@ -108935,7 +109125,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <<EOF -#line 108938 "configure" +#line 109128 "configure" #include "confdefs.h" int main() { ; return 0; } @@ -110460,7 +110650,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 110463 "configure" +#line 110653 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -110560,7 +110750,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 110563 "configure" +#line 110753 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -111625,7 +111815,7 @@ case $host_os in # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <<EOF -#line 111628 "configure" +#line 111818 "configure" #include "confdefs.h" int main() { ; return 0; } @@ -111668,7 +111858,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Determine the default libpath from the value encoded in an empty executable. cat > conftest.$ac_ext <<EOF -#line 111671 "configure" +#line 111861 "configure" #include "confdefs.h" int main() { ; return 0; } @@ -112920,11 +113110,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:112923: $lt_compile\"" >&5) + (eval echo "\"configure:113113: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "configure:112927: \$? = $ac_status" >&5 + echo "configure:113117: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -113024,11 +113214,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"configure:113027: $lt_compile\"" >&5) + (eval echo "\"configure:113217: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "configure:113031: \$? = $ac_status" >&5 + echo "configure:113221: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized |