Annotation of embedaddon/php/config.status, revision 1.1.1.1
1.1 misho 1: #! /bin/sh
2: # Generated by configure.
3: # Run this file to recreate the current configuration.
4: # Compiler output produced by configure, useful for debugging
5: # configure, is in config.log if it exists.
6:
7: debug=false
8: ac_cs_recheck=false
9: ac_cs_silent=false
10:
11: SHELL=${CONFIG_SHELL-/bin/sh}
12: export SHELL
13: ## -------------------- ##
14: ## M4sh Initialization. ##
15: ## -------------------- ##
16:
17: # Be more Bourne compatible
18: DUALCASE=1; export DUALCASE # for MKS sh
19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20: emulate sh
21: NULLCMD=:
22: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23: # is contrary to our usage. Disable this feature.
24: alias -g '${1+"$@"}'='"$@"'
25: setopt NO_GLOB_SUBST
26: else
27: case `(set -o) 2>/dev/null` in #(
28: *posix*) :
29: set -o posix ;; #(
30: *) :
31: ;;
32: esac
33: fi
34:
35:
36: as_nl='
37: '
38: export as_nl
39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43: # Prefer a ksh shell builtin over an external printf program on Solaris,
44: # but without wasting forks for bash or zsh.
45: if test -z "$BASH_VERSION$ZSH_VERSION" \
46: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47: as_echo='print -r --'
48: as_echo_n='print -rn --'
49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50: as_echo='printf %s\n'
51: as_echo_n='printf %s'
52: else
53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55: as_echo_n='/usr/ucb/echo -n'
56: else
57: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58: as_echo_n_body='eval
59: arg=$1;
60: case $arg in #(
61: *"$as_nl"*)
62: expr "X$arg" : "X\\(.*\\)$as_nl";
63: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64: esac;
65: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66: '
67: export as_echo_n_body
68: as_echo_n='sh -c $as_echo_n_body as_echo'
69: fi
70: export as_echo_body
71: as_echo='sh -c $as_echo_body as_echo'
72: fi
73:
74: # The user is always right.
75: if test "${PATH_SEPARATOR+set}" != set; then
76: PATH_SEPARATOR=:
77: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79: PATH_SEPARATOR=';'
80: }
81: fi
82:
83:
84: # IFS
85: # We need space, tab and new line, in precisely that order. Quoting is
86: # there to prevent editors from complaining about space-tab.
87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88: # splitting by setting IFS to empty value.)
89: IFS=" "" $as_nl"
90:
91: # Find who we are. Look in the path if we contain no directory separator.
92: as_myself=
93: case $0 in #((
94: *[\\/]* ) as_myself=$0 ;;
95: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96: for as_dir in $PATH
97: do
98: IFS=$as_save_IFS
99: test -z "$as_dir" && as_dir=.
100: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101: done
102: IFS=$as_save_IFS
103:
104: ;;
105: esac
106: # We did not find ourselves, most probably we were run as `sh COMMAND'
107: # in which case we are not to be found in the path.
108: if test "x$as_myself" = x; then
109: as_myself=$0
110: fi
111: if test ! -f "$as_myself"; then
112: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113: exit 1
114: fi
115:
116: # Unset variables that we do not need and which cause bugs (e.g. in
117: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118: # suppresses any "Segmentation fault" message there. '((' could
119: # trigger a bug in pdksh 5.2.14.
120: for as_var in BASH_ENV ENV MAIL MAILPATH
121: do eval test x\${$as_var+set} = xset \
122: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123: done
124: PS1='$ '
125: PS2='> '
126: PS4='+ '
127:
128: # NLS nuisances.
129: LC_ALL=C
130: export LC_ALL
131: LANGUAGE=C
132: export LANGUAGE
133:
134: # CDPATH.
135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136:
137:
138: # as_fn_error STATUS ERROR [LINENO LOG_FD]
139: # ----------------------------------------
140: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142: # script with STATUS, using 1 if that was 0.
143: as_fn_error ()
144: {
145: as_status=$1; test $as_status -eq 0 && as_status=1
146: if test "$4"; then
147: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149: fi
150: $as_echo "$as_me: error: $2" >&2
151: as_fn_exit $as_status
152: } # as_fn_error
153:
154:
155: # as_fn_set_status STATUS
156: # -----------------------
157: # Set $? to STATUS, without forking.
158: as_fn_set_status ()
159: {
160: return $1
161: } # as_fn_set_status
162:
163: # as_fn_exit STATUS
164: # -----------------
165: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166: as_fn_exit ()
167: {
168: set +e
169: as_fn_set_status $1
170: exit $1
171: } # as_fn_exit
172:
173: # as_fn_unset VAR
174: # ---------------
175: # Portably unset VAR.
176: as_fn_unset ()
177: {
178: { eval $1=; unset $1;}
179: }
180: as_unset=as_fn_unset
181: # as_fn_append VAR VALUE
182: # ----------------------
183: # Append the text in VALUE to the end of the definition contained in VAR. Take
184: # advantage of any shell optimizations that allow amortized linear growth over
185: # repeated appends, instead of the typical quadratic growth present in naive
186: # implementations.
187: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188: eval 'as_fn_append ()
189: {
190: eval $1+=\$2
191: }'
192: else
193: as_fn_append ()
194: {
195: eval $1=\$$1\$2
196: }
197: fi # as_fn_append
198:
199: # as_fn_arith ARG...
200: # ------------------
201: # Perform arithmetic evaluation on the ARGs, and store the result in the
202: # global $as_val. Take advantage of shells that can avoid forks. The arguments
203: # must be portable across $(()) and expr.
204: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205: eval 'as_fn_arith ()
206: {
207: as_val=$(( $* ))
208: }'
209: else
210: as_fn_arith ()
211: {
212: as_val=`expr "$@" || test $? -eq 1`
213: }
214: fi # as_fn_arith
215:
216:
217: if expr a : '\(a\)' >/dev/null 2>&1 &&
218: test "X`expr 00001 : '.*\(...\)'`" = X001; then
219: as_expr=expr
220: else
221: as_expr=false
222: fi
223:
224: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225: as_basename=basename
226: else
227: as_basename=false
228: fi
229:
230: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231: as_dirname=dirname
232: else
233: as_dirname=false
234: fi
235:
236: as_me=`$as_basename -- "$0" ||
237: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238: X"$0" : 'X\(//\)$' \| \
239: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240: $as_echo X/"$0" |
241: sed '/^.*\/\([^/][^/]*\)\/*$/{
242: s//\1/
243: q
244: }
245: /^X\/\(\/\/\)$/{
246: s//\1/
247: q
248: }
249: /^X\/\(\/\).*/{
250: s//\1/
251: q
252: }
253: s/.*/./; q'`
254:
255: # Avoid depending upon Character Ranges.
256: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259: as_cr_digits='0123456789'
260: as_cr_alnum=$as_cr_Letters$as_cr_digits
261:
262: ECHO_C= ECHO_N= ECHO_T=
263: case `echo -n x` in #(((((
264: -n*)
265: case `echo 'xy\c'` in
266: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267: xy) ECHO_C='\c';;
268: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
269: ECHO_T=' ';;
270: esac;;
271: *)
272: ECHO_N='-n';;
273: esac
274:
275: rm -f conf$$ conf$$.exe conf$$.file
276: if test -d conf$$.dir; then
277: rm -f conf$$.dir/conf$$.file
278: else
279: rm -f conf$$.dir
280: mkdir conf$$.dir 2>/dev/null
281: fi
282: if (echo >conf$$.file) 2>/dev/null; then
283: if ln -s conf$$.file conf$$ 2>/dev/null; then
284: as_ln_s='ln -s'
285: # ... but there are two gotchas:
286: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288: # In both cases, we have to default to `cp -pR'.
289: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290: as_ln_s='cp -pR'
291: elif ln conf$$.file conf$$ 2>/dev/null; then
292: as_ln_s=ln
293: else
294: as_ln_s='cp -pR'
295: fi
296: else
297: as_ln_s='cp -pR'
298: fi
299: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300: rmdir conf$$.dir 2>/dev/null
301:
302:
303: # as_fn_mkdir_p
304: # -------------
305: # Create "$as_dir" as a directory, including parents if necessary.
306: as_fn_mkdir_p ()
307: {
308:
309: case $as_dir in #(
310: -*) as_dir=./$as_dir;;
311: esac
312: test -d "$as_dir" || eval $as_mkdir_p || {
313: as_dirs=
314: while :; do
315: case $as_dir in #(
316: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317: *) as_qdir=$as_dir;;
318: esac
319: as_dirs="'$as_qdir' $as_dirs"
320: as_dir=`$as_dirname -- "$as_dir" ||
321: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322: X"$as_dir" : 'X\(//\)[^/]' \| \
323: X"$as_dir" : 'X\(//\)$' \| \
324: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325: $as_echo X"$as_dir" |
326: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327: s//\1/
328: q
329: }
330: /^X\(\/\/\)[^/].*/{
331: s//\1/
332: q
333: }
334: /^X\(\/\/\)$/{
335: s//\1/
336: q
337: }
338: /^X\(\/\).*/{
339: s//\1/
340: q
341: }
342: s/.*/./; q'`
343: test -d "$as_dir" && break
344: done
345: test -z "$as_dirs" || eval "mkdir $as_dirs"
346: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347:
348:
349: } # as_fn_mkdir_p
350: if mkdir -p . 2>/dev/null; then
351: as_mkdir_p='mkdir -p "$as_dir"'
352: else
353: test -d ./-p && rmdir ./-p
354: as_mkdir_p=false
355: fi
356:
357:
358: # as_fn_executable_p FILE
359: # -----------------------
360: # Test if FILE is an executable regular file.
361: as_fn_executable_p ()
362: {
363: test -f "$1" && test -x "$1"
364: } # as_fn_executable_p
365: as_test_x='test -x'
366: as_executable_p=as_fn_executable_p
367:
368: # Sed expression to map a string onto a valid CPP name.
369: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
370:
371: # Sed expression to map a string onto a valid variable name.
372: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
373:
374:
375: exec 6>&1
376: ## ----------------------------------- ##
377: ## Main body of $CONFIG_STATUS script. ##
378: ## ----------------------------------- ##
379: # Save the log message, to keep $0 and so on meaningful, and to
380: # report actual input values of CONFIG_FILES etc. instead of their
381: # values after options handling.
382: ac_log="
383: This file was extended by $as_me, which was
384: generated by GNU Autoconf 2.69. Invocation command line was
385:
386: CONFIG_FILES = $CONFIG_FILES
387: CONFIG_HEADERS = $CONFIG_HEADERS
388: CONFIG_LINKS = $CONFIG_LINKS
389: CONFIG_COMMANDS = $CONFIG_COMMANDS
390: $ $0 $@
391:
392: on `(hostname || uname -n) 2>/dev/null | sed 1q`
393: "
394:
395: # Files that config.status was made for.
396: config_files=" php5.spec main/build-defs.h scripts/phpize scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1"
397: config_headers=" main/php_config.h"
398: config_commands=" default"
399:
400: ac_cs_usage="\
401: \`$as_me' instantiates files and other configuration actions
402: from templates according to the current configuration. Unless the files
403: and actions are specified as TAGs, all are instantiated by default.
404:
405: Usage: $0 [OPTION]... [TAG]...
406:
407: -h, --help print this help, then exit
408: -V, --version print version number and configuration settings, then exit
409: --config print configuration, then exit
410: -q, --quiet, --silent
411: do not print progress messages
412: -d, --debug don't remove temporary files
413: --recheck update $as_me by reconfiguring in the same conditions
414: --file=FILE[:TEMPLATE]
415: instantiate the configuration file FILE
416: --header=FILE[:TEMPLATE]
417: instantiate the configuration header FILE
418:
419: Configuration files:
420: $config_files
421:
422: Configuration headers:
423: $config_headers
424:
425: Configuration commands:
426: $config_commands
427:
428: Report bugs to the package provider."
429:
430: ac_cs_config="'--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--enable-embed' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0' 'build_alias=i386-portbld-freebsd10.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS=' 'CPPFLAGS=' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -fno-strict-aliasing'"
431: ac_cs_version="\
432: config.status
433: configured by ./configure, generated by GNU Autoconf 2.69,
434: with options \"$ac_cs_config\"
435:
436: Copyright (C) 2012 Free Software Foundation, Inc.
437: This config.status script is free software; the Free Software Foundation
438: gives unlimited permission to copy, distribute and modify it."
439:
440: ac_pwd='/usr/ports/lang/php5/work/php-5.4.3'
441: srcdir='.'
442: test -n "$AWK" || AWK=awk
443: # The default lists apply if the user does not specify any file.
444: ac_need_defaults=:
445: while test $# != 0
446: do
447: case $1 in
448: --*=?*)
449: ac_option=`expr "X$1" : 'X\([^=]*\)='`
450: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
451: ac_shift=:
452: ;;
453: --*=)
454: ac_option=`expr "X$1" : 'X\([^=]*\)='`
455: ac_optarg=
456: ac_shift=:
457: ;;
458: *)
459: ac_option=$1
460: ac_optarg=$2
461: ac_shift=shift
462: ;;
463: esac
464:
465: case $ac_option in
466: # Handling of the options.
467: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
468: ac_cs_recheck=: ;;
469: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
470: $as_echo "$ac_cs_version"; exit ;;
471: --config | --confi | --conf | --con | --co | --c )
472: $as_echo "$ac_cs_config"; exit ;;
473: --debug | --debu | --deb | --de | --d | -d )
474: debug=: ;;
475: --file | --fil | --fi | --f )
476: $ac_shift
477: case $ac_optarg in
478: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
479: '') as_fn_error $? "missing file argument" ;;
480: esac
481: as_fn_append CONFIG_FILES " '$ac_optarg'"
482: ac_need_defaults=false;;
483: --header | --heade | --head | --hea )
484: $ac_shift
485: case $ac_optarg in
486: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
487: esac
488: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
489: ac_need_defaults=false;;
490: --he | --h)
491: # Conflict between --help and --header
492: as_fn_error $? "ambiguous option: \`$1'
493: Try \`$0 --help' for more information.";;
494: --help | --hel | -h )
495: $as_echo "$ac_cs_usage"; exit ;;
496: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
497: | -silent | --silent | --silen | --sile | --sil | --si | --s)
498: ac_cs_silent=: ;;
499:
500: # This is an error.
501: -*) as_fn_error $? "unrecognized option: \`$1'
502: Try \`$0 --help' for more information." ;;
503:
504: *) as_fn_append ac_config_targets " $1"
505: ac_need_defaults=false ;;
506:
507: esac
508: shift
509: done
510:
511: ac_configure_extra_args=
512:
513: if $ac_cs_silent; then
514: exec 6>/dev/null
515: ac_configure_extra_args="$ac_configure_extra_args --silent"
516: fi
517:
518: if $ac_cs_recheck; then
519: set X /bin/sh './configure' '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--enable-embed' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0' 'build_alias=i386-portbld-freebsd10.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS=' 'CPPFLAGS=' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -fno-strict-aliasing' $ac_configure_extra_args --no-create --no-recursion
520: shift
521: $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
522: CONFIG_SHELL='/bin/sh'
523: export CONFIG_SHELL
524: exec "$@"
525: fi
526:
527: exec 5>>config.log
528: {
529: echo
530: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
531: ## Running $as_me. ##
532: _ASBOX
533: $as_echo "$ac_log"
534: } >&5
535:
536: #
537: # INIT-COMMANDS
538: #
539:
540:
541: if test "$CONFIG_FILES" = "php5.spec main/build-defs.h scripts/phpize scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1" || test "$CONFIG_FILES" = " php5.spec main/build-defs.h scripts/phpize scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1" || test -z "$CONFIG_FILES"; then
542: REDO_ALL=yes
543: fi
544:
545: ################################################################
546: # Create configuration headers
547: #
548:
549: test -d TSRM || ./build/shtool mkdir TSRM
550: echo '#include <../main/php_config.h>' > TSRM/tsrm_config.h
551:
552: test -d Zend || ./build/shtool mkdir Zend
553:
554: cat >Zend/zend_config.h <<FEO
555: #include <../main/php_config.h>
556: #if defined(APACHE) && defined(PHP_API_VERSION)
557: #undef HAVE_DLFCN_H
558: #endif
559: FEO
560:
561: # run this only when generating all the files?
562: if test -n "$REDO_ALL"; then
563: # Hacking while airborne considered harmful.
564: #
565: echo "creating main/internal_functions.c"
566: extensions=" date ereg libxml pcre reflection spl standard mysqlnd"
567: sh ./build/genif.sh ./main/internal_functions.c.in . "" gawk $extensions > main/internal_functions.c
568:
569: echo "creating main/internal_functions_cli.c"
570: cli_extensions=" date ereg libxml pcre reflection spl standard mysqlnd"
571: sh ./build/genif.sh ./main/internal_functions.c.in . "" gawk $cli_extensions > main/internal_functions_cli.c
572:
573: if test "" = "FreeBSD" && test "embed" = "apache2filter" && test "" != "pth-config" ; then
574: echo "+--------------------------------------------------------------------+"
575: echo "| *** WARNING *** |"
576: echo "| |"
577: echo "| In order to build PHP as a Apache2 module on FreeBSD, you have to |"
578: echo "| add --with-tsrm-pth to your ./configure line. Therefore you need |"
579: echo "| to install gnu-pth from /usr/ports/devel/pth. |"
580: fi
581:
582: if test -n ""; then
583: echo "+--------------------------------------------------------------------+"
584: echo "| WARNING: Your script is most likely broken."
585: echo "| |"
586: echo "| Please go read http://www.php.net/faq.build#faq.build.apxs |"
587: echo "| and make the changes described there and try again. |"
588: fi
589:
590: if test -n ""; then
591: rm -f config.cache
592: cat <<X
593: +--------------------------------------------------------------------+
594: | *** ATTENTION *** |
595: | |
596: | Something is likely to be messed up here, because the configure |
597: | script was not able to detect a simple feature on your platform. |
598: | This is often caused by incorrect configuration parameters. Please |
599: | see the file debug.log for error messages. |
600: | |
601: | If you are unable to fix this, send the file debug.log to the |
602: | php-install@lists.php.net mailing list and include appropiate |
603: | information about your setup. |
604: X
605: fi
606:
607: if test "embed" = "apache2handler" || test "embed" = "apache2filter"; then
608: if test "" -ge 2004001; then
609: if test -z ""; then
610: cat <<X
611: +--------------------------------------------------------------------+
612: | *** WARNING *** |
613: | |
614: | You have built PHP for Apache's current non-threaded MPM. |
615: | If you change Apache to use a threaded MPM you must reconfigure |
616: | PHP with --enable-maintainer-zts |
617: X
618: fi
619: fi
620: fi
621:
622: # Warn about linking Apache with libpthread if oci8 extension is enabled on linux.
623: if test "no" != "no"; then
624: if test "embed" = "apache"; then
625: if test FreeBSD = "Linux"; then
626: cat <<X
627: +--------------------------------------------------------------------+
628: | *** WARNING *** |
629: | |
630: | Please check that your Apache (httpd) is linked with libpthread. |
631: | If not, you have to recompile Apache with pthread. For more |
632: | details, see this page: http://www.php.net/manual/ref.oci8.php |
633: X
634: fi
635: fi
636:
637: if test "no" != "yes"; then
638: if test "" = "no"; then
639: cat <<X
640: +--------------------------------------------------------------------+
641: | Notice: |
642: | If you encounter <defunc> processes when using a local Oracle |
643: | database, set the value BEQUEATH_DETACH=YES in Oracle Net's |
644: | sqlnet.ora file on the PHP host, or set the environment variable |
645: | BEQUEATH_DETACH to YES before starting Apache. If the problem |
646: | still occurs, then recompile PHP and specify --enable-sigchild |
647: | when configuring. |
648: X
649: fi
650: fi
651: fi
652:
653: cat <<X
654: +--------------------------------------------------------------------+
655: | License: |
656: | This software is subject to the PHP License, available in this |
657: | distribution in the file LICENSE. By continuing this installation |
658: | process, you are bound by the terms of this license agreement. |
659: | If you do not agree with the terms of this license, you must abort |
660: | the installation process at this point. |
661: +--------------------------------------------------------------------+
662:
663: Thank you for using PHP.
664:
665: X
666:
667: # Output unknown configure options
668: if test ""; then
669: echo "Notice: Following unknown configure options were used:
670:
671:
672: Check './configure --help' for available options
673: "
674: fi
675:
676: fi
677:
678:
679:
680: # Handling of arguments.
681: for ac_config_target in $ac_config_targets
682: do
683: case $ac_config_target in
684: "main/php_config.h") CONFIG_HEADERS="$CONFIG_HEADERS main/php_config.h" ;;
685: "$ALL_OUTPUT_FILES") CONFIG_FILES="$CONFIG_FILES $ALL_OUTPUT_FILES" ;;
686: "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
687:
688: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
689: esac
690: done
691:
692:
693: # If the user did not use the arguments to specify the items to instantiate,
694: # then the envvar interface is used. Set only those that are not.
695: # We use the long form for the default assignment because of an extremely
696: # bizarre bug on SunOS 4.1.3.
697: if $ac_need_defaults; then
698: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
699: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
700: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
701: fi
702:
703: # Have a temporary directory for convenience. Make it in the build tree
704: # simply because there is no reason against having it here, and in addition,
705: # creating and moving files from /tmp can sometimes cause problems.
706: # Hook for its removal unless debugging.
707: # Note that there is a small window in which the directory will not be cleaned:
708: # after its creation but before its name has been assigned to `$tmp'.
709: $debug ||
710: {
711: tmp= ac_tmp=
712: trap 'exit_status=$?
713: : "${ac_tmp:=$tmp}"
714: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
715: ' 0
716: trap 'as_fn_exit 1' 1 2 13 15
717: }
718: # Create a (secure) tmp directory for tmp files.
719:
720: {
721: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
722: test -d "$tmp"
723: } ||
724: {
725: tmp=./conf$$-$RANDOM
726: (umask 077 && mkdir "$tmp")
727: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
728: ac_tmp=$tmp
729:
730: # Set up the scripts for CONFIG_FILES section.
731: # No need to generate them if there are no CONFIG_FILES.
732: # This happens for instance with `./config.status config.h'.
733: if test -n "$CONFIG_FILES"; then
734:
735:
736: ac_cr=`echo X | tr X '\015'`
737: # On cygwin, bash can eat \r inside `` if the user requested igncr.
738: # But we know of no other shell where ac_cr would be empty at this
739: # point, so we can use a bashism as a fallback.
740: if test "x$ac_cr" = x; then
741: eval ac_cr=\$\'\\r\'
742: fi
743: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
744: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
745: ac_cs_awk_cr='\\r'
746: else
747: ac_cs_awk_cr=$ac_cr
748: fi
749:
750: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
751: cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
752: S["LTLIBOBJS"]=""
753: S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool --silent --preserve-dup-deps"
754: S["NMEDIT"]=""
755: S["DSYMUTIL"]=""
756: S["STRIP"]="strip"
757: S["AR"]="ar"
758: S["ECHO"]="echo"
759: S["PHP_VERSION_ID"]="50403"
760: S["PHP_VERSION"]="5.4.3"
761: S["PHP_LIBS"]=""
762: S["PHP_LDFLAGS"]=" -L/usr/local/lib"
763: S["PEAR_INSTALLDIR"]=""
764: S["NATIVE_RPATHS"]=" -R/usr/local/lib"
765: S["INSTALL_IT"]="$(mkinstalldirs) $(INSTALL_ROOT)$(prefix)/lib; $(INSTALL) -m 0755 libs/libphp5.so $(INSTALL_ROOT)$(prefix)/lib"
766: S["EXTRA_INCLUDES"]=""
767: S["INCLUDES"]=" -I/usr/ports/lang/php5/work/php-5.4.3/ext/date/lib -I/usr/ports/lang/php5/work/php-5.4.3/ext/ereg/regex -I/usr/local/include/libxml2 -I/usr/local/i"\
768: "nclude -I$(top_builddir)/TSRM -I$(top_builddir)/Zend"
769: S["ZEND_EXTRA_LIBS"]=""
770: S["EXTRA_LIBS"]="-lcrypt -lcrypt -lpcre -lm -lxml2 -lz -liconv -lm -lcrypt -lcrypt "
771: S["EXTRA_LDFLAGS_PROGRAM"]=" -L/usr/local/lib"
772: S["EXTRA_LDFLAGS"]=" -avoid-version -module -L/usr/local/lib"
773: S["EXTENSION_DIR"]="/usr/local/lib/php/20100525"
774: S["DEBUG_CFLAGS"]=""
775: S["program_suffix"]=""
776: S["program_prefix"]=""
777: S["php_abs_top_srcdir"]="/usr/ports/lang/php5/work/php-5.4.3"
778: S["php_abs_top_builddir"]="/usr/ports/lang/php5/work/php-5.4.3"
779: S["abs_srcdir"]="/usr/ports/lang/php5/work/php-5.4.3"
780: S["abs_builddir"]="/usr/ports/lang/php5/work/php-5.4.3"
781: S["PHP_INSTALLED_SAPIS"]=" cli embed cgi"
782: S["EXPANDED_PHP_CONFIG_FILE_SCAN_DIR"]="/usr/local/etc/php"
783: S["EXPANDED_PHP_CONFIG_FILE_PATH"]="/usr/local/etc"
784: S["EXPANDED_LOCALSTATEDIR"]="/var"
785: S["EXPANDED_SYSCONFDIR"]="/usr/local/etc"
786: S["EXPANDED_DATADIR"]="${prefix}/share"
787: S["EXPANDED_LIBDIR"]="/usr/local/lib/php"
788: S["EXPANDED_MANDIR"]="/usr/local/man"
789: S["EXPANDED_SBINDIR"]="/usr/local/sbin"
790: S["EXPANDED_BINDIR"]="/usr/local/bin"
791: S["EXPANDED_EXTENSION_DIR"]="/usr/local/lib/php/20100525"
792: S["EXPANDED_PEAR_INSTALLDIR"]=""
793: S["INCLUDE_PATH"]=".:/usr/local/share/pear"
794: S["INLINE_CFLAGS"]="-O2 -pipe -fno-strict-aliasing -fvisibility=hidden -prefer-non-pic"
795: S["RANLIB"]="ranlib"
796: S["SNMP_CONFIG"]=""
797: S["PDO_OCI_VERSION"]=""
798: S["PDO_OCI_DIR"]=""
799: S["PDO_OCI_SHARED_LIBADD"]=""
800: S["PDO_MYSQL_MODULE_TYPE"]=""
801: S["ODBC_TYPE"]=""
802: S["ODBC_LFLAGS"]=""
803: S["ODBC_LIBS"]=""
804: S["ODBC_INCLUDE"]=""
805: S["OCI8_ORACLE_VERSION"]=""
806: S["OCI8_DIR"]=""
807: S["OCI8_SHARED_LIBADD"]=""
808: S["MYSQL_INCLUDE"]=""
809: S["MYSQL_LIBS"]=""
810: S["MYSQL_MODULE_TYPE"]=""
811: S["CXXCPP"]="c++ -E"
812: S["ac_ct_CXX"]=""
813: S["CXXFLAGS"]="-O2 -pipe -fno-strict-aliasing -prefer-non-pic"
814: S["CXX"]="c++"
815: S["ICU_CONFIG"]=""
816: S["OPENSSL_INCDIR_OPT"]=""
817: S["PKG_CONFIG"]=""
818: S["KRB5_CONFIG"]=""
819: S["LTP_GENHTML"]=""
820: S["LTP"]=""
821: S["ALLOCA"]=""
822: S["LIBOBJS"]=""
823: S["PROG_SENDMAIL"]="/usr/sbin/sendmail"
824: S["php_fpm_prefix"]=""
825: S["php_fpm_localstatedir"]=""
826: S["php_fpm_sysconfdir"]=""
827: S["php_fpm_group"]=""
828: S["php_fpm_user"]=""
829: S["SHLIB_DL_SUFFIX_NAME"]="so"
830: S["SHLIB_SUFFIX_NAME"]="so"
831: S["RE2C"]="exit 0;"
832: S["YFLAGS"]=""
833: S["YACC"]="bison -y"
834: S["AWK"]="gawk"
835: S["LN_S"]="ln -s"
836: S["CPP"]="cpp"
837: S["OBJEXT"]="o"
838: S["EXEEXT"]=""
839: S["ac_ct_CC"]=""
840: S["CPPFLAGS"]=""
841: S["LDFLAGS"]=" "
842: S["CFLAGS"]="$(CFLAGS_CLEAN) -prefer-non-pic"
843: S["CC"]="cc"
844: S["target_os"]="freebsd10.0"
845: S["target_vendor"]="portbld"
846: S["target_cpu"]="i386"
847: S["target"]="i386-portbld-freebsd10.0"
848: S["host_os"]="freebsd10.0"
849: S["host_vendor"]="portbld"
850: S["host_cpu"]="i386"
851: S["host"]="i386-portbld-freebsd10.0"
852: S["build_os"]="freebsd10.0"
853: S["build_vendor"]="portbld"
854: S["build_cpu"]="i386"
855: S["build"]="i386-portbld-freebsd10.0"
856: S["CONFIGURE_OPTIONS"]=" '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--enable-mysqlnd' '-"\
857: "-with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--enable-embed' '--with-regex=php' '--with-z"\
858: "end-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0'"
859: S["CONFIGURE_COMMAND"]=" './configure' '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--ena"\
860: "ble-mysqlnd' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--enable-embed' '--with-regex"\
861: "=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd10.0'"
862: S["SED"]="sed"
863: S["EGREP"]="/usr/bin/grep -E"
864: S["GREP"]="/usr/bin/grep"
865: S["target_alias"]=""
866: S["host_alias"]="i386-portbld-freebsd10.0"
867: S["build_alias"]="i386-portbld-freebsd10.0"
868: S["LIBS"]=""
869: S["ECHO_T"]=""
870: S["ECHO_N"]="-n"
871: S["ECHO_C"]=""
872: S["DEFS"]="-DHAVE_CONFIG_H"
873: S["mandir"]="/usr/local/man"
874: S["localedir"]="${datarootdir}/locale"
875: S["libdir"]="${exec_prefix}/lib/php"
876: S["psdir"]="${docdir}"
877: S["pdfdir"]="${docdir}"
878: S["dvidir"]="${docdir}"
879: S["htmldir"]="${docdir}"
880: S["infodir"]="/usr/local/info"
881: S["docdir"]="${datarootdir}/doc/${PACKAGE}"
882: S["oldincludedir"]="/usr/include"
883: S["includedir"]="${prefix}/include"
884: S["localstatedir"]="/var"
885: S["sharedstatedir"]="${prefix}/com"
886: S["sysconfdir"]="${prefix}/etc"
887: S["datadir"]="${datarootdir}"
888: S["datarootdir"]="/usr/local/share"
889: S["libexecdir"]="${exec_prefix}/libexec"
890: S["sbindir"]="${exec_prefix}/sbin"
891: S["bindir"]="${exec_prefix}/bin"
892: S["program_transform_name"]="s,x,x,"
893: S["prefix"]="/usr/local"
894: S["exec_prefix"]="${prefix}"
895: S["PACKAGE_URL"]=""
896: S["PACKAGE_BUGREPORT"]=""
897: S["PACKAGE_STRING"]=""
898: S["PACKAGE_VERSION"]=""
899: S["PACKAGE_TARNAME"]=""
900: S["PACKAGE_NAME"]=""
901: S["PATH_SEPARATOR"]=":"
902: S["SHELL"]="/bin/sh"
903: _ACAWK
904: cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
905: for (key in S) S_is_set[key] = 1
906: FS = ""
907:
908: }
909: {
910: line = $ 0
911: nfields = split(line, field, "@")
912: substed = 0
913: len = length(field[1])
914: for (i = 2; i < nfields; i++) {
915: key = field[i]
916: keylen = length(key)
917: if (S_is_set[key]) {
918: value = S[key]
919: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
920: len += length(value) + length(field[++i])
921: substed = 1
922: } else
923: len += 1 + keylen
924: }
925:
926: print line
927: }
928:
929: _ACAWK
930: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
931: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
932: else
933: cat
934: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
935: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
936: fi # test -n "$CONFIG_FILES"
937:
938: # Set up the scripts for CONFIG_HEADERS section.
939: # No need to generate them if there are no CONFIG_HEADERS.
940: # This happens for instance with `./config.status Makefile'.
941: if test -n "$CONFIG_HEADERS"; then
942: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
943: BEGIN {
944: D["PACKAGE_NAME"]=" \"\""
945: D["PACKAGE_TARNAME"]=" \"\""
946: D["PACKAGE_VERSION"]=" \"\""
947: D["PACKAGE_STRING"]=" \"\""
948: D["PACKAGE_BUGREPORT"]=" \"\""
949: D["PACKAGE_URL"]=" \"\""
950: D["STDC_HEADERS"]=" 1"
951: D["HAVE_SYS_TYPES_H"]=" 1"
952: D["HAVE_SYS_STAT_H"]=" 1"
953: D["HAVE_STDLIB_H"]=" 1"
954: D["HAVE_STRING_H"]=" 1"
955: D["HAVE_MEMORY_H"]=" 1"
956: D["HAVE_STRINGS_H"]=" 1"
957: D["HAVE_INTTYPES_H"]=" 1"
958: D["HAVE_STDINT_H"]=" 1"
959: D["HAVE_UNISTD_H"]=" 1"
960: D["__EXTENSIONS__"]=" 1"
961: D["_ALL_SOURCE"]=" 1"
962: D["_GNU_SOURCE"]=" 1"
963: D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
964: D["_TANDEM_SOURCE"]=" 1"
965: D["HAVE_DEV_URANDOM"]=" 1"
966: D["HAVE_SOCKLEN_T"]=" 1"
967: D["HAVE_SOCKADDR_UN_SUN_LEN"]=" 1"
968: D["PHP_WRITE_STDOUT"]=" 1"
969: D["HAVE_SOCKET"]=" 1"
970: D["HAVE_SOCKETPAIR"]=" 1"
971: D["HAVE_HTONL"]=" 1"
972: D["HAVE_GETHOSTNAME"]=" 1"
973: D["HAVE_GETHOSTBYADDR"]=" 1"
974: D["HAVE_YP_GET_DEFAULT_DOMAIN"]=" 1"
975: D["HAVE_DLOPEN"]=" 1"
976: D["HAVE_LIBDL"]=" 1"
977: D["HAVE_LIBM"]=" 1"
978: D["HAVE_INET_ATON"]=" 1"
979: D["STDC_HEADERS"]=" 1"
980: D["HAVE_DIRENT_H"]=" 1"
981: D["HAVE_INTTYPES_H"]=" 1"
982: D["HAVE_STDINT_H"]=" 1"
983: D["HAVE_DIRENT_H"]=" 1"
984: D["HAVE_SYS_PARAM_H"]=" 1"
985: D["HAVE_SYS_TYPES_H"]=" 1"
986: D["HAVE_SYS_TIME_H"]=" 1"
987: D["HAVE_NETINET_IN_H"]=" 1"
988: D["HAVE_ARPA_INET_H"]=" 1"
989: D["HAVE_ARPA_NAMESER_H"]=" 1"
990: D["HAVE_ASSERT_H"]=" 1"
991: D["HAVE_FCNTL_H"]=" 1"
992: D["HAVE_GRP_H"]=" 1"
993: D["HAVE_IEEEFP_H"]=" 1"
994: D["HAVE_LANGINFO_H"]=" 1"
995: D["HAVE_LIMITS_H"]=" 1"
996: D["HAVE_LOCALE_H"]=" 1"
997: D["HAVE_MONETARY_H"]=" 1"
998: D["HAVE_NETDB_H"]=" 1"
999: D["HAVE_PWD_H"]=" 1"
1000: D["HAVE_RESOLV_H"]=" 1"
1001: D["HAVE_SIGNAL_H"]=" 1"
1002: D["HAVE_STDARG_H"]=" 1"
1003: D["HAVE_STDLIB_H"]=" 1"
1004: D["HAVE_STRING_H"]=" 1"
1005: D["HAVE_SYSLOG_H"]=" 1"
1006: D["HAVE_SYSEXITS_H"]=" 1"
1007: D["HAVE_SYS_IOCTL_H"]=" 1"
1008: D["HAVE_SYS_FILE_H"]=" 1"
1009: D["HAVE_SYS_MMAN_H"]=" 1"
1010: D["HAVE_SYS_MOUNT_H"]=" 1"
1011: D["HAVE_SYS_POLL_H"]=" 1"
1012: D["HAVE_SYS_RESOURCE_H"]=" 1"
1013: D["HAVE_SYS_SELECT_H"]=" 1"
1014: D["HAVE_SYS_SOCKET_H"]=" 1"
1015: D["HAVE_SYS_STAT_H"]=" 1"
1016: D["HAVE_SYS_STATVFS_H"]=" 1"
1017: D["HAVE_SYS_WAIT_H"]=" 1"
1018: D["HAVE_TERMIOS_H"]=" 1"
1019: D["HAVE_UNISTD_H"]=" 1"
1020: D["HAVE_UTIME_H"]=" 1"
1021: D["HAVE_SYS_UTSNAME_H"]=" 1"
1022: D["HAVE_SYS_IPC_H"]=" 1"
1023: D["HAVE_DLFCN_H"]=" 1"
1024: D["HAVE_ASSERT_H"]=" 1"
1025: D["HAVE_STRUCT_TM_TM_ZONE"]=" 1"
1026: D["HAVE_TM_ZONE"]=" 1"
1027: D["MISSING_FCLOSE_DECL"]=" 0"
1028: D["HAVE_TM_GMTOFF"]=" 1"
1029: D["HAVE_STRUCT_FLOCK"]=" 1"
1030: D["HAVE_SOCKLEN_T"]=" 1"
1031: D["SIZEOF_SIZE_T"]=" 4"
1032: D["SIZEOF_LONG_LONG"]=" 8"
1033: D["SIZEOF_LONG_LONG_INT"]=" 8"
1034: D["SIZEOF_LONG"]=" 4"
1035: D["SIZEOF_INT"]=" 4"
1036: D["SIZEOF_INTMAX_T"]=" 8"
1037: D["HAVE_INTMAX_T"]=" 1"
1038: D["SIZEOF_SSIZE_T"]=" 4"
1039: D["HAVE_SSIZE_T"]=" 1"
1040: D["SIZEOF_PTRDIFF_T"]=" 4"
1041: D["HAVE_PTRDIFF_T"]=" 1"
1042: D["HAVE_STRUCT_STAT_ST_BLKSIZE"]=" 1"
1043: D["HAVE_ST_BLKSIZE"]=" 1"
1044: D["HAVE_STRUCT_STAT_ST_BLOCKS"]=" 1"
1045: D["HAVE_ST_BLOCKS"]=" 1"
1046: D["HAVE_STRUCT_STAT_ST_RDEV"]=" 1"
1047: D["HAVE_ST_RDEV"]=" 1"
1048: D["HAVE_SOCKADDR_STORAGE"]=" 1"
1049: D["HAVE_SOCKADDR_SA_LEN"]=" 1"
1050: D["HAVE_VPRINTF"]=" 1"
1051: D["HAVE_ALPHASORT"]=" 1"
1052: D["HAVE_ASCTIME_R"]=" 1"
1053: D["HAVE_CHROOT"]=" 1"
1054: D["HAVE_CTIME_R"]=" 1"
1055: D["HAVE_FLOCK"]=" 1"
1056: D["HAVE_FTOK"]=" 1"
1057: D["HAVE_FUNOPEN"]=" 1"
1058: D["HAVE_GAI_STRERROR"]=" 1"
1059: D["HAVE_GETLOADAVG"]=" 1"
1060: D["HAVE_GETLOGIN"]=" 1"
1061: D["HAVE_GETPROTOBYNAME"]=" 1"
1062: D["HAVE_GETPROTOBYNUMBER"]=" 1"
1063: D["HAVE_GETSERVBYNAME"]=" 1"
1064: D["HAVE_GETSERVBYPORT"]=" 1"
1065: D["HAVE_GETHOSTNAME"]=" 1"
1066: D["HAVE_GETRUSAGE"]=" 1"
1067: D["HAVE_GETTIMEOFDAY"]=" 1"
1068: D["HAVE_GMTIME_R"]=" 1"
1069: D["HAVE_GETPWNAM_R"]=" 1"
1070: D["HAVE_GETGRNAM_R"]=" 1"
1071: D["HAVE_GETPWUID_R"]=" 1"
1072: D["HAVE_GRANTPT"]=" 1"
1073: D["HAVE_INET_NTOA"]=" 1"
1074: D["HAVE_INET_NTOP"]=" 1"
1075: D["HAVE_INET_PTON"]=" 1"
1076: D["HAVE_ISASCII"]=" 1"
1077: D["HAVE_LINK"]=" 1"
1078: D["HAVE_LOCALTIME_R"]=" 1"
1079: D["HAVE_LOCKF"]=" 1"
1080: D["HAVE_LCHOWN"]=" 1"
1081: D["HAVE_LRAND48"]=" 1"
1082: D["HAVE_MEMCPY"]=" 1"
1083: D["HAVE_MEMMOVE"]=" 1"
1084: D["HAVE_MKSTEMP"]=" 1"
1085: D["HAVE_MMAP"]=" 1"
1086: D["HAVE_NL_LANGINFO"]=" 1"
1087: D["HAVE_PERROR"]=" 1"
1088: D["HAVE_POLL"]=" 1"
1089: D["HAVE_PTSNAME"]=" 1"
1090: D["HAVE_PUTENV"]=" 1"
1091: D["HAVE_REALPATH"]=" 1"
1092: D["HAVE_RANDOM"]=" 1"
1093: D["HAVE_RAND_R"]=" 1"
1094: D["HAVE_SCANDIR"]=" 1"
1095: D["HAVE_SETITIMER"]=" 1"
1096: D["HAVE_SETLOCALE"]=" 1"
1097: D["HAVE_LOCALECONV"]=" 1"
1098: D["HAVE_SETENV"]=" 1"
1099: D["HAVE_SETPGID"]=" 1"
1100: D["HAVE_SETSOCKOPT"]=" 1"
1101: D["HAVE_SETVBUF"]=" 1"
1102: D["HAVE_SHUTDOWN"]=" 1"
1103: D["HAVE_SIN"]=" 1"
1104: D["HAVE_SNPRINTF"]=" 1"
1105: D["HAVE_SRAND48"]=" 1"
1106: D["HAVE_SRANDOM"]=" 1"
1107: D["HAVE_STATFS"]=" 1"
1108: D["HAVE_STATVFS"]=" 1"
1109: D["HAVE_STRCASECMP"]=" 1"
1110: D["HAVE_STRCOLL"]=" 1"
1111: D["HAVE_STRDUP"]=" 1"
1112: D["HAVE_STRERROR"]=" 1"
1113: D["HAVE_STRFTIME"]=" 1"
1114: D["HAVE_STRNLEN"]=" 1"
1115: D["HAVE_STRPTIME"]=" 1"
1116: D["HAVE_STRSTR"]=" 1"
1117: D["HAVE_STRTOK_R"]=" 1"
1118: D["HAVE_SYMLINK"]=" 1"
1119: D["HAVE_TEMPNAM"]=" 1"
1120: D["HAVE_TZSET"]=" 1"
1121: D["HAVE_UNLOCKPT"]=" 1"
1122: D["HAVE_UNSETENV"]=" 1"
1123: D["HAVE_USLEEP"]=" 1"
1124: D["HAVE_UTIME"]=" 1"
1125: D["HAVE_VSNPRINTF"]=" 1"
1126: D["HAVE_VASPRINTF"]=" 1"
1127: D["HAVE_ASPRINTF"]=" 1"
1128: D["HAVE_NANOSLEEP"]=" 1"
1129: D["HAVE_NANOSLEEP"]=" 1"
1130: D["HAVE_GETADDRINFO"]=" 1"
1131: D["HAVE_SYNC_FETCH_AND_ADD"]=" 1"
1132: D["HAVE_STRLCAT"]=" 1"
1133: D["HAVE_STRLCPY"]=" 1"
1134: D["HAVE_GETOPT"]=" 1"
1135: D["HAVE_UTIME_H"]=" 1"
1136: D["HAVE_UTIME_NULL"]=" 1"
1137: D["HAVE_ALLOCA"]=" 1"
1138: D["HAVE_DECLARED_TIMEZONE"]=" 1"
1139: D["HAVE_POSIX_READDIR_R"]=" 1"
1140: D["PHP_SIGCHILD"]=" 0"
1141: D["DEFAULT_SHORT_OPEN_TAG"]=" \"1\""
1142: D["HAVE_IPV6"]=" 1"
1143: D["SIZEOF_LONG"]=" 4"
1144: D["SIZEOF_INT"]=" 4"
1145: D["HAVE_INT32_T"]=" 1"
1146: D["HAVE_UINT32_T"]=" 1"
1147: D["HAVE_SYS_TYPES_H"]=" 1"
1148: D["HAVE_INTTYPES_H"]=" 1"
1149: D["HAVE_STDINT_H"]=" 1"
1150: D["HAVE_STRING_H"]=" 1"
1151: D["HAVE_STDLIB_H"]=" 1"
1152: D["HAVE_STRTOLL"]=" 1"
1153: D["HAVE_ATOLL"]=" 1"
1154: D["HAVE_STRFTIME"]=" 1"
1155: D["HAVE_REGEX_T_RE_MAGIC"]=" 1"
1156: D["HSREGEX"]=" 1"
1157: D["REGEX"]=" 1"
1158: D["HAVE_LIBXML"]=" 1"
1159: D["HAVE_LIBXML"]=" 1"
1160: D["HAVE_PCRE"]=" 1"
1161: D["HAVE_REFLECTION"]=" 1"
1162: D["HAVE_PACKED_OBJECT_VALUE"]=" 1"
1163: D["HAVE_SPL"]=" 1"
1164: D["HAVE_FLUSHIO"]=" 1"
1165: D["HAVE_CRYPT"]=" 1"
1166: D["HAVE_ALIGNOF"]=" 1"
1167: D["HAVE_ATTRIBUTE_ALIGNED"]=" 1"
1168: D["PHP_USE_PHP_CRYPT_R"]=" 1"
1169: D["PHP_STD_DES_CRYPT"]=" 1"
1170: D["PHP_BLOWFISH_CRYPT"]=" 1"
1171: D["PHP_EXT_DES_CRYPT"]=" 1"
1172: D["PHP_MD5_CRYPT"]=" 1"
1173: D["PHP_SHA512_CRYPT"]=" 1"
1174: D["PHP_SHA256_CRYPT"]=" 1"
1175: D["HAVE_GETCWD"]=" 1"
1176: D["HAVE_GETWD"]=" 1"
1177: D["HAVE_ASINH"]=" 1"
1178: D["HAVE_ACOSH"]=" 1"
1179: D["HAVE_ATANH"]=" 1"
1180: D["HAVE_LOG1P"]=" 1"
1181: D["HAVE_HYPOT"]=" 1"
1182: D["HAVE_GLOB"]=" 1"
1183: D["HAVE_STRFMON"]=" 1"
1184: D["HAVE_NICE"]=" 1"
1185: D["HAVE_ISINF"]=" 1"
1186: D["HAVE_ISNAN"]=" 1"
1187: D["HAVE_FNMATCH"]=" 1"
1188: D["HAVE_FORK"]=" 1"
1189: D["PHP_CAN_SUPPORT_PROC_OPEN"]=" 1"
1190: D["ENABLE_CHROOT_FUNC"]=" 1"
1191: D["HAVE_RES_NSEARCH"]=" 1"
1192: D["HAVE_DN_EXPAND"]=" 1"
1193: D["HAVE_DN_SKIPNAME"]=" 1"
1194: D["HAVE_RES_SEARCH"]=" 1"
1195: D["HAVE_ATOF_ACCEPTS_NAN"]=" 1"
1196: D["HAVE_ATOF_ACCEPTS_INF"]=" 1"
1197: D["HAVE_HUGE_VAL_INF"]=" 1"
1198: D["HAVE_HUGE_VAL_NAN"]=" 1"
1199: D["HAVE_STRPTIME_DECL_FAILS"]=" 1"
1200: D["HAVE_WCHAR_H"]=" 1"
1201: D["HAVE_MBLEN"]=" 1"
1202: D["HAVE_MBRLEN"]=" 1"
1203: D["HAVE_MBSINIT"]=" 1"
1204: D["HAVE_MBSTATE_T"]=" 1"
1205: D["MYSQLND_COMPRESSION_WANTED"]=" 1"
1206: D["MYSQLND_SSL_SUPPORTED"]=" 1"
1207: D["HAVE_INTTYPES_H"]=" 1"
1208: D["HAVE_STDINT_H"]=" 1"
1209: D["HAVE_LIMITS_H"]=" 1"
1210: D["HAVE_STRING_H"]=" 1"
1211: D["HAVE_UNISTD_H"]=" 1"
1212: D["HAVE_STDARG_H"]=" 1"
1213: D["HAVE_SYS_TYPES_H"]=" 1"
1214: D["HAVE_SYS_TIME_H"]=" 1"
1215: D["HAVE_SIGNAL_H"]=" 1"
1216: D["HAVE_STDLIB_H"]=" 1"
1217: D["HAVE_DLFCN_H"]=" 1"
1218: D["RETSIGTYPE"]=" void"
1219: D["ulong"]=" unsigned long"
1220: D["HAVE_INT32_T"]=" 1"
1221: D["HAVE_UINT32_T"]=" 1"
1222: D["HAVE_VPRINTF"]=" 1"
1223: D["HAVE_ALLOCA"]=" 1"
1224: D["HAVE_MEMCPY"]=" 1"
1225: D["HAVE_STRDUP"]=" 1"
1226: D["HAVE_GETPID"]=" 1"
1227: D["HAVE_KILL"]=" 1"
1228: D["HAVE_STRTOD"]=" 1"
1229: D["HAVE_STRTOL"]=" 1"
1230: D["HAVE_SIGSETJMP"]=" 1"
1231: D["ZEND_BROKEN_SPRINTF"]=" 0"
1232: D["HAVE_ISINF"]=" 1"
1233: D["HAVE_ISNAN"]=" 1"
1234: D["HAVE_FPU_INLINE_ASM_X86"]=" 1"
1235: D["HAVE_DLFCN_H"]=" 1"
1236: D["ZEND_VM_KIND"]=" ZEND_VM_KIND_CALL"
1237: D["ZEND_DEBUG"]=" 0"
1238: D["ZEND_MM_ALIGNMENT"]=" 4"
1239: D["ZEND_MM_ALIGNMENT_LOG2"]=" 2"
1240: D["HAVE_MEM_MMAP_ANON"]=" 1"
1241: D["HAVE_MEM_MMAP_ZERO"]=" 1"
1242: D["HAVE_SIGACTION"]=" 1"
1243: D["HAVE_STDARG_H"]=" 1"
1244: D["HAVE_SIGPROCMASK"]=" 1"
1245: D["PHP_BUILD_DATE"]=" \"2012-05-29\""
1246: D["PHP_UNAME"]=" \"FreeBSD elwix.aitnet.org 10.0-CURRENT FreeBSD 10.0-CURRENT #14: Mon May 28 16:02:57 EEST 2012 root@elwix.aitnet.org:/usr/obj/usr/"\
1247: "src/sys/GENERIC i386\""
1248: D["PHP_OS"]=" \"FreeBSD\""
1249: D["HAVE_BUILD_DEFS_H"]=" 1"
1250: for (key in D) D_is_set[key] = 1
1251: FS = ""
1252: }
1253: /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1254: line = $ 0
1255: split(line, arg, " ")
1256: if (arg[1] == "#") {
1257: defundef = arg[2]
1258: mac1 = arg[3]
1259: } else {
1260: defundef = substr(arg[1], 2)
1261: mac1 = arg[2]
1262: }
1263: split(mac1, mac2, "(") #)
1264: macro = mac2[1]
1265: prefix = substr(line, 1, index(line, defundef) - 1)
1266: if (D_is_set[macro]) {
1267: # Preserve the white space surrounding the "#".
1268: print prefix "define", macro P[macro] D[macro]
1269: next
1270: } else {
1271: # Replace #undef with comments. This is necessary, for example,
1272: # in the case of _POSIX_SOURCE, which is predefined and required
1273: # on some systems where configure will not decide to define it.
1274: if (defundef == "undef") {
1275: print "/*", prefix defundef, macro, "*/"
1276: next
1277: }
1278: }
1279: }
1280: { print }
1281: _ACAWK
1282: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1283: fi # test -n "$CONFIG_HEADERS"
1284:
1285:
1286: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1287: shift
1288: for ac_tag
1289: do
1290: case $ac_tag in
1291: :[FHLC]) ac_mode=$ac_tag; continue;;
1292: esac
1293: case $ac_mode$ac_tag in
1294: :[FHL]*:*);;
1295: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1296: :[FH]-) ac_tag=-:-;;
1297: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1298: esac
1299: ac_save_IFS=$IFS
1300: IFS=:
1301: set x $ac_tag
1302: IFS=$ac_save_IFS
1303: shift
1304: ac_file=$1
1305: shift
1306:
1307: case $ac_mode in
1308: :L) ac_source=$1;;
1309: :[FH])
1310: ac_file_inputs=
1311: for ac_f
1312: do
1313: case $ac_f in
1314: -) ac_f="$ac_tmp/stdin";;
1315: *) # Look for the file first in the build tree, then in the source tree
1316: # (if the path is not absolute). The absolute path cannot be DOS-style,
1317: # because $ac_f cannot contain `:'.
1318: test -f "$ac_f" ||
1319: case $ac_f in
1320: [\\/$]*) false;;
1321: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1322: esac ||
1323: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1324: esac
1325: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1326: as_fn_append ac_file_inputs " '$ac_f'"
1327: done
1328:
1329: # Let's still pretend it is `configure' which instantiates (i.e., don't
1330: # use $as_me), people would be surprised to read:
1331: # /* config.h. Generated by config.status. */
1332: configure_input='Generated from '`
1333: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1334: `' by configure.'
1335: if test x"$ac_file" != x-; then
1336: configure_input="$ac_file. $configure_input"
1337: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1338: $as_echo "$as_me: creating $ac_file" >&6;}
1339: fi
1340: # Neutralize special characters interpreted by sed in replacement strings.
1341: case $configure_input in #(
1342: *\&* | *\|* | *\\* )
1343: ac_sed_conf_input=`$as_echo "$configure_input" |
1344: sed 's/[\\\\&|]/\\\\&/g'`;; #(
1345: *) ac_sed_conf_input=$configure_input;;
1346: esac
1347:
1348: case $ac_tag in
1349: *:-:* | *:-) cat >"$ac_tmp/stdin" \
1350: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1351: esac
1352: ;;
1353: esac
1354:
1355: ac_dir=`$as_dirname -- "$ac_file" ||
1356: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1357: X"$ac_file" : 'X\(//\)[^/]' \| \
1358: X"$ac_file" : 'X\(//\)$' \| \
1359: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1360: $as_echo X"$ac_file" |
1361: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362: s//\1/
1363: q
1364: }
1365: /^X\(\/\/\)[^/].*/{
1366: s//\1/
1367: q
1368: }
1369: /^X\(\/\/\)$/{
1370: s//\1/
1371: q
1372: }
1373: /^X\(\/\).*/{
1374: s//\1/
1375: q
1376: }
1377: s/.*/./; q'`
1378: as_dir="$ac_dir"; as_fn_mkdir_p
1379: ac_builddir=.
1380:
1381: case "$ac_dir" in
1382: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383: *)
1384: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1385: # A ".." for each directory in $ac_dir_suffix.
1386: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1387: case $ac_top_builddir_sub in
1388: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1389: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1390: esac ;;
1391: esac
1392: ac_abs_top_builddir=$ac_pwd
1393: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1394: # for backward compatibility:
1395: ac_top_builddir=$ac_top_build_prefix
1396:
1397: case $srcdir in
1398: .) # We are building in place.
1399: ac_srcdir=.
1400: ac_top_srcdir=$ac_top_builddir_sub
1401: ac_abs_top_srcdir=$ac_pwd ;;
1402: [\\/]* | ?:[\\/]* ) # Absolute name.
1403: ac_srcdir=$srcdir$ac_dir_suffix;
1404: ac_top_srcdir=$srcdir
1405: ac_abs_top_srcdir=$srcdir ;;
1406: *) # Relative name.
1407: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1408: ac_top_srcdir=$ac_top_build_prefix$srcdir
1409: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1410: esac
1411: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1412:
1413:
1414: case $ac_mode in
1415: :F)
1416: #
1417: # CONFIG_FILE
1418: #
1419:
1420: # If the template does not know about datarootdir, expand it.
1421: # FIXME: This hack should be removed a few years after 2.60.
1422: ac_datarootdir_hack=; ac_datarootdir_seen=
1423: ac_sed_dataroot='
1424: /datarootdir/ {
1425: p
1426: q
1427: }
1428: /@datadir@/p
1429: /@docdir@/p
1430: /@infodir@/p
1431: /@localedir@/p
1432: /@mandir@/p'
1433: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1434: *datarootdir*) ac_datarootdir_seen=yes;;
1435: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1436: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1437: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1438: ac_datarootdir_hack='
1439: s&@datadir@&${datarootdir}&g
1440: s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
1441: s&@infodir@&/usr/local/info&g
1442: s&@localedir@&${datarootdir}/locale&g
1443: s&@mandir@&/usr/local/man&g
1444: s&\${datarootdir}&/usr/local/share&g' ;;
1445: esac
1446: ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1447: h
1448: s///
1449: s/^/:/
1450: s/[ ]*$/:/
1451: s/:\$(srcdir):/:/g
1452: s/:\${srcdir}:/:/g
1453: s/:@srcdir@:/:/g
1454: s/^:*//
1455: s/:*$//
1456: x
1457: s/\(=[ ]*\).*/\1/
1458: G
1459: s/\n//
1460: s/^[^=]*=[ ]*$//
1461: }
1462:
1463: :t
1464: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1465: s|@configure_input@|$ac_sed_conf_input|;t t
1466: s&@top_builddir@&$ac_top_builddir_sub&;t t
1467: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1468: s&@srcdir@&$ac_srcdir&;t t
1469: s&@abs_srcdir@&$ac_abs_srcdir&;t t
1470: s&@top_srcdir@&$ac_top_srcdir&;t t
1471: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1472: s&@builddir@&$ac_builddir&;t t
1473: s&@abs_builddir@&$ac_abs_builddir&;t t
1474: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1475: $ac_datarootdir_hack
1476: "
1477: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1478: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1479:
1480: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1481: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1482: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1483: "$ac_tmp/out"`; test -z "$ac_out"; } &&
1484: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1485: which seems to be undefined. Please make sure it is defined" >&5
1486: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1487: which seems to be undefined. Please make sure it is defined" >&2;}
1488:
1489: rm -f "$ac_tmp/stdin"
1490: case $ac_file in
1491: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1492: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1493: esac \
1494: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1495: ;;
1496: :H)
1497: #
1498: # CONFIG_HEADER
1499: #
1500: if test x"$ac_file" != x-; then
1501: {
1502: $as_echo "/* $configure_input */" \
1503: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1504: } >"$ac_tmp/config.h" \
1505: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1506: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1507: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1508: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1509: else
1510: rm -f "$ac_file"
1511: mv "$ac_tmp/config.h" "$ac_file" \
1512: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1513: fi
1514: else
1515: $as_echo "/* $configure_input */" \
1516: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1517: || as_fn_error $? "could not create -" "$LINENO" 5
1518: fi
1519: ;;
1520:
1521: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1522: $as_echo "$as_me: executing $ac_file commands" >&6;}
1523: ;;
1524: esac
1525:
1526: done # for ac_tag
1527:
1528:
1529: as_fn_exit 0
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>