PageRenderTime 65ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 2ms

/configure

http://github.com/dreamcat4/php-fpm
Shell | 15637 lines | 14000 code | 626 blank | 1011 comment | 494 complexity | f9b00f14c2e54ebbaa357f26ad85320c MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.59 for php-fpm 0.6.
  4. #
  5. # Report bugs to <andrei.nigmatulin@gmail.com>.
  6. #
  7. # Copyright (C) 2003 Free Software Foundation, Inc.
  8. # This configure script is free software; the Free Software Foundation
  9. # gives unlimited permission to copy, distribute and modify it.
  10. ## --------------------- ##
  11. ## M4sh Initialization. ##
  12. ## --------------------- ##
  13. # Be Bourne compatible
  14. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  15. emulate sh
  16. NULLCMD=:
  17. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  18. # is contrary to our usage. Disable this feature.
  19. alias -g '${1+"$@"}'='"$@"'
  20. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  21. set -o posix
  22. fi
  23. DUALCASE=1; export DUALCASE # for MKS sh
  24. # Support unset when possible.
  25. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  26. as_unset=unset
  27. else
  28. as_unset=false
  29. fi
  30. # Work around bugs in pre-3.0 UWIN ksh.
  31. $as_unset ENV MAIL MAILPATH
  32. PS1='$ '
  33. PS2='> '
  34. PS4='+ '
  35. # NLS nuisances.
  36. for as_var in \
  37. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  38. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  39. LC_TELEPHONE LC_TIME
  40. do
  41. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  42. eval $as_var=C; export $as_var
  43. else
  44. $as_unset $as_var
  45. fi
  46. done
  47. # Required to use basename.
  48. if expr a : '\(a\)' >/dev/null 2>&1; then
  49. as_expr=expr
  50. else
  51. as_expr=false
  52. fi
  53. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  54. as_basename=basename
  55. else
  56. as_basename=false
  57. fi
  58. # Name of the executable.
  59. as_me=`$as_basename "$0" ||
  60. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  61. X"$0" : 'X\(//\)$' \| \
  62. X"$0" : 'X\(/\)$' \| \
  63. . : '\(.\)' 2>/dev/null ||
  64. echo X/"$0" |
  65. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  66. /^X\/\(\/\/\)$/{ s//\1/; q; }
  67. /^X\/\(\/\).*/{ s//\1/; q; }
  68. s/.*/./; q'`
  69. # PATH needs CR, and LINENO needs CR and PATH.
  70. # Avoid depending upon Character Ranges.
  71. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  72. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  73. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  74. as_cr_digits='0123456789'
  75. as_cr_alnum=$as_cr_Letters$as_cr_digits
  76. # The user is always right.
  77. if test "${PATH_SEPARATOR+set}" != set; then
  78. echo "#! /bin/sh" >conf$$.sh
  79. echo "exit 0" >>conf$$.sh
  80. chmod +x conf$$.sh
  81. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  82. PATH_SEPARATOR=';'
  83. else
  84. PATH_SEPARATOR=:
  85. fi
  86. rm -f conf$$.sh
  87. fi
  88. as_lineno_1=$LINENO
  89. as_lineno_2=$LINENO
  90. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  91. test "x$as_lineno_1" != "x$as_lineno_2" &&
  92. test "x$as_lineno_3" = "x$as_lineno_2" || {
  93. # Find who we are. Look in the path if we contain no path at all
  94. # relative or not.
  95. case $0 in
  96. *[\\/]* ) as_myself=$0 ;;
  97. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  98. for as_dir in $PATH
  99. do
  100. IFS=$as_save_IFS
  101. test -z "$as_dir" && as_dir=.
  102. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  103. done
  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. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  113. { (exit 1); exit 1; }; }
  114. fi
  115. case $CONFIG_SHELL in
  116. '')
  117. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  118. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  119. do
  120. IFS=$as_save_IFS
  121. test -z "$as_dir" && as_dir=.
  122. for as_base in sh bash ksh sh5; do
  123. case $as_dir in
  124. /*)
  125. if ("$as_dir/$as_base" -c '
  126. as_lineno_1=$LINENO
  127. as_lineno_2=$LINENO
  128. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  129. test "x$as_lineno_1" != "x$as_lineno_2" &&
  130. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  131. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  132. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  133. CONFIG_SHELL=$as_dir/$as_base
  134. export CONFIG_SHELL
  135. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  136. fi;;
  137. esac
  138. done
  139. done
  140. ;;
  141. esac
  142. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  143. # uniformly replaced by the line number. The first 'sed' inserts a
  144. # line-number line before each line; the second 'sed' does the real
  145. # work. The second script uses 'N' to pair each line-number line
  146. # with the numbered line, and appends trailing '-' during
  147. # substitution so that $LINENO is not a special case at line end.
  148. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  149. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  150. sed '=' <$as_myself |
  151. sed '
  152. N
  153. s,$,-,
  154. : loop
  155. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  156. t loop
  157. s,-$,,
  158. s,^['$as_cr_digits']*\n,,
  159. ' >$as_me.lineno &&
  160. chmod +x $as_me.lineno ||
  161. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  162. { (exit 1); exit 1; }; }
  163. # Don't try to exec as it changes $[0], causing all sort of problems
  164. # (the dirname of $[0] is not the place where we might find the
  165. # original and so on. Autoconf is especially sensible to this).
  166. . ./$as_me.lineno
  167. # Exit status is that of the last command.
  168. exit
  169. }
  170. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  171. *c*,-n*) ECHO_N= ECHO_C='
  172. ' ECHO_T=' ' ;;
  173. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  174. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  175. esac
  176. if expr a : '\(a\)' >/dev/null 2>&1; then
  177. as_expr=expr
  178. else
  179. as_expr=false
  180. fi
  181. rm -f conf$$ conf$$.exe conf$$.file
  182. echo >conf$$.file
  183. if ln -s conf$$.file conf$$ 2>/dev/null; then
  184. # We could just check for DJGPP; but this test a) works b) is more generic
  185. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  186. if test -f conf$$.exe; then
  187. # Don't use ln at all; we don't have any links
  188. as_ln_s='cp -p'
  189. else
  190. as_ln_s='ln -s'
  191. fi
  192. elif ln conf$$.file conf$$ 2>/dev/null; then
  193. as_ln_s=ln
  194. else
  195. as_ln_s='cp -p'
  196. fi
  197. rm -f conf$$ conf$$.exe conf$$.file
  198. if mkdir -p . 2>/dev/null; then
  199. as_mkdir_p=:
  200. else
  201. test -d ./-p && rmdir ./-p
  202. as_mkdir_p=false
  203. fi
  204. as_executable_p="test -f"
  205. # Sed expression to map a string onto a valid CPP name.
  206. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  207. # Sed expression to map a string onto a valid variable name.
  208. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  209. # IFS
  210. # We need space, tab and new line, in precisely that order.
  211. as_nl='
  212. '
  213. IFS=" $as_nl"
  214. # CDPATH.
  215. $as_unset CDPATH
  216. # Check that we are running under the correct shell.
  217. SHELL=${CONFIG_SHELL-/bin/sh}
  218. case X$ECHO in
  219. X*--fallback-echo)
  220. # Remove one level of quotation (which was required for Make).
  221. ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  222. ;;
  223. esac
  224. echo=${ECHO-echo}
  225. if test "X$1" = X--no-reexec; then
  226. # Discard the --no-reexec flag, and continue.
  227. shift
  228. elif test "X$1" = X--fallback-echo; then
  229. # Avoid inline document here, it may be left over
  230. :
  231. elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  232. # Yippee, $echo works!
  233. :
  234. else
  235. # Restart under the correct shell.
  236. exec $SHELL "$0" --no-reexec ${1+"$@"}
  237. fi
  238. if test "X$1" = X--fallback-echo; then
  239. # used as fallback echo
  240. shift
  241. cat <<EOF
  242. $*
  243. EOF
  244. exit 0
  245. fi
  246. # The HP-UX ksh and POSIX shell print the target directory to stdout
  247. # if CDPATH is set.
  248. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  249. if test -z "$ECHO"; then
  250. if test "X${echo_test_string+set}" != Xset; then
  251. # find a string as large as possible, as long as the shell can cope with it
  252. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  253. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  254. if (echo_test_string="`eval $cmd`") 2>/dev/null &&
  255. echo_test_string="`eval $cmd`" &&
  256. (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  257. then
  258. break
  259. fi
  260. done
  261. fi
  262. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  263. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  264. test "X$echo_testing_string" = "X$echo_test_string"; then
  265. :
  266. else
  267. # The Solaris, AIX, and Digital Unix default echo programs unquote
  268. # backslashes. This makes it impossible to quote backslashes using
  269. # echo "$something" | sed 's/\\/\\\\/g'
  270. #
  271. # So, first we look for a working echo in the user's PATH.
  272. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  273. for dir in $PATH /usr/ucb; do
  274. IFS="$lt_save_ifs"
  275. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  276. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  277. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  278. test "X$echo_testing_string" = "X$echo_test_string"; then
  279. echo="$dir/echo"
  280. break
  281. fi
  282. done
  283. IFS="$lt_save_ifs"
  284. if test "X$echo" = Xecho; then
  285. # We didn't find a better echo, so look for alternatives.
  286. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  287. echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  288. test "X$echo_testing_string" = "X$echo_test_string"; then
  289. # This shell has a builtin print -r that does the trick.
  290. echo='print -r'
  291. elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  292. test "X$CONFIG_SHELL" != X/bin/ksh; then
  293. # If we have ksh, try running configure again with it.
  294. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  295. export ORIGINAL_CONFIG_SHELL
  296. CONFIG_SHELL=/bin/ksh
  297. export CONFIG_SHELL
  298. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  299. else
  300. # Try using printf.
  301. echo='printf %s\n'
  302. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  303. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  304. test "X$echo_testing_string" = "X$echo_test_string"; then
  305. # Cool, printf works
  306. :
  307. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  308. test "X$echo_testing_string" = 'X\t' &&
  309. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  310. test "X$echo_testing_string" = "X$echo_test_string"; then
  311. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  312. export CONFIG_SHELL
  313. SHELL="$CONFIG_SHELL"
  314. export SHELL
  315. echo="$CONFIG_SHELL $0 --fallback-echo"
  316. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  317. test "X$echo_testing_string" = 'X\t' &&
  318. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  319. test "X$echo_testing_string" = "X$echo_test_string"; then
  320. echo="$CONFIG_SHELL $0 --fallback-echo"
  321. else
  322. # maybe with a smaller string...
  323. prev=:
  324. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  325. if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  326. then
  327. break
  328. fi
  329. prev="$cmd"
  330. done
  331. if test "$prev" != 'sed 50q "$0"'; then
  332. echo_test_string=`eval $prev`
  333. export echo_test_string
  334. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  335. else
  336. # Oops. We lost completely, so just stick with echo.
  337. echo=echo
  338. fi
  339. fi
  340. fi
  341. fi
  342. fi
  343. fi
  344. # Copy echo and quote the copy suitably for passing to libtool from
  345. # the Makefile, instead of quoting the original, which is used later.
  346. ECHO=$echo
  347. if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  348. ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  349. fi
  350. tagnames=${tagnames+${tagnames},}CXX
  351. tagnames=${tagnames+${tagnames},}F77
  352. # Name of the host.
  353. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  354. # so uname gets run too.
  355. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  356. exec 6>&1
  357. #
  358. # Initializations.
  359. #
  360. ac_default_prefix=/usr/local
  361. ac_config_libobj_dir=.
  362. cross_compiling=no
  363. subdirs=
  364. MFLAGS=
  365. MAKEFLAGS=
  366. SHELL=${CONFIG_SHELL-/bin/sh}
  367. # Maximum number of lines to put in a shell here document.
  368. # This variable seems obsolete. It should probably be removed, and
  369. # only ac_max_sed_lines should be used.
  370. : ${ac_max_here_lines=38}
  371. # Identity of this package.
  372. PACKAGE_NAME='php-fpm'
  373. PACKAGE_TARNAME='php-fpm'
  374. PACKAGE_VERSION='0.6'
  375. PACKAGE_STRING='php-fpm 0.6'
  376. PACKAGE_BUGREPORT='andrei.nigmatulin@gmail.com'
  377. ac_unique_file="fpm/fpm.c"
  378. # Factoring default headers for most tests.
  379. ac_includes_default="\
  380. #include <stdio.h>
  381. #if HAVE_SYS_TYPES_H
  382. # include <sys/types.h>
  383. #endif
  384. #if HAVE_SYS_STAT_H
  385. # include <sys/stat.h>
  386. #endif
  387. #if STDC_HEADERS
  388. # include <stdlib.h>
  389. # include <stddef.h>
  390. #else
  391. # if HAVE_STDLIB_H
  392. # include <stdlib.h>
  393. # endif
  394. #endif
  395. #if HAVE_STRING_H
  396. # if !STDC_HEADERS && HAVE_MEMORY_H
  397. # include <memory.h>
  398. # endif
  399. # include <string.h>
  400. #endif
  401. #if HAVE_STRINGS_H
  402. # include <strings.h>
  403. #endif
  404. #if HAVE_INTTYPES_H
  405. # include <inttypes.h>
  406. #else
  407. # if HAVE_STDINT_H
  408. # include <stdint.h>
  409. # endif
  410. #endif
  411. #if HAVE_UNISTD_H
  412. # include <unistd.h>
  413. #endif"
  414. ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PHP_OBJS PHP_SRCDIR PHP_BUILDDIR PHP_VERSION XMLCONFIG FPM_TRACE_USE_PTRACE_TRUE FPM_TRACE_USE_PTRACE_FALSE FPM_TRACE_USE_PREAD_TRUE FPM_TRACE_USE_PREAD_FALSE FPM_TRACE_USE_MACH_TRUE FPM_TRACE_USE_MACH_FALSE LIBEVENT_CFLAGS LIBEVENT_LIBS ENDIF AM_CFLAGS php_fpm_ADD_CFLAGS php_fpm_ADD_LIBS fpm_version php_fpm_bin php_fpm_bin_dir php_fpm_bin_path php_fpm_port php_fpm_conf php_fpm_conf_dir php_fpm_conf_path php_fpm_init php_fpm_init_dir php_fpm_init_path php_fpm_log_dir php_fpm_log_path php_fpm_pid_dir php_fpm_pid_path php_fpm_user php_fpm_group LIBOBJS LTLIBOBJS'
  415. ac_subst_files=''
  416. # Initialize some variables set by options.
  417. ac_init_help=
  418. ac_init_version=false
  419. # The variables have the same names as the options, with
  420. # dashes changed to underlines.
  421. cache_file=/dev/null
  422. exec_prefix=NONE
  423. no_create=
  424. no_recursion=
  425. prefix=NONE
  426. program_prefix=NONE
  427. program_suffix=NONE
  428. program_transform_name=s,x,x,
  429. silent=
  430. site=
  431. srcdir=
  432. verbose=
  433. x_includes=NONE
  434. x_libraries=NONE
  435. # Installation directory options.
  436. # These are left unexpanded so users can "make install exec_prefix=/foo"
  437. # and all the variables that are supposed to be based on exec_prefix
  438. # by default will actually change.
  439. # Use braces instead of parens because sh, perl, etc. also accept them.
  440. bindir='${exec_prefix}/bin'
  441. sbindir='${exec_prefix}/sbin'
  442. libexecdir='${exec_prefix}/libexec'
  443. datadir='${prefix}/share'
  444. sysconfdir='${prefix}/etc'
  445. sharedstatedir='${prefix}/com'
  446. localstatedir='${prefix}/var'
  447. libdir='${exec_prefix}/lib'
  448. includedir='${prefix}/include'
  449. oldincludedir='/usr/include'
  450. infodir='${prefix}/info'
  451. mandir='${prefix}/man'
  452. ac_prev=
  453. for ac_option
  454. do
  455. # If the previous option needs an argument, assign it.
  456. if test -n "$ac_prev"; then
  457. eval "$ac_prev=\$ac_option"
  458. ac_prev=
  459. continue
  460. fi
  461. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  462. # Accept the important Cygnus configure options, so we can diagnose typos.
  463. case $ac_option in
  464. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  465. ac_prev=bindir ;;
  466. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  467. bindir=$ac_optarg ;;
  468. -build | --build | --buil | --bui | --bu)
  469. ac_prev=build_alias ;;
  470. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  471. build_alias=$ac_optarg ;;
  472. -cache-file | --cache-file | --cache-fil | --cache-fi \
  473. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  474. ac_prev=cache_file ;;
  475. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  476. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  477. cache_file=$ac_optarg ;;
  478. --config-cache | -C)
  479. cache_file=config.cache ;;
  480. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  481. ac_prev=datadir ;;
  482. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  483. | --da=*)
  484. datadir=$ac_optarg ;;
  485. -disable-* | --disable-*)
  486. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  487. # Reject names that are not valid shell variable names.
  488. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  489. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  490. { (exit 1); exit 1; }; }
  491. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  492. eval "enable_$ac_feature=no" ;;
  493. -enable-* | --enable-*)
  494. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  495. # Reject names that are not valid shell variable names.
  496. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  497. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  498. { (exit 1); exit 1; }; }
  499. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  500. case $ac_option in
  501. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  502. *) ac_optarg=yes ;;
  503. esac
  504. eval "enable_$ac_feature='$ac_optarg'" ;;
  505. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  506. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  507. | --exec | --exe | --ex)
  508. ac_prev=exec_prefix ;;
  509. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  510. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  511. | --exec=* | --exe=* | --ex=*)
  512. exec_prefix=$ac_optarg ;;
  513. -gas | --gas | --ga | --g)
  514. # Obsolete; use --with-gas.
  515. with_gas=yes ;;
  516. -help | --help | --hel | --he | -h)
  517. ac_init_help=long ;;
  518. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  519. ac_init_help=recursive ;;
  520. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  521. ac_init_help=short ;;
  522. -host | --host | --hos | --ho)
  523. ac_prev=host_alias ;;
  524. -host=* | --host=* | --hos=* | --ho=*)
  525. host_alias=$ac_optarg ;;
  526. -includedir | --includedir | --includedi | --included | --include \
  527. | --includ | --inclu | --incl | --inc)
  528. ac_prev=includedir ;;
  529. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  530. | --includ=* | --inclu=* | --incl=* | --inc=*)
  531. includedir=$ac_optarg ;;
  532. -infodir | --infodir | --infodi | --infod | --info | --inf)
  533. ac_prev=infodir ;;
  534. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  535. infodir=$ac_optarg ;;
  536. -libdir | --libdir | --libdi | --libd)
  537. ac_prev=libdir ;;
  538. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  539. libdir=$ac_optarg ;;
  540. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  541. | --libexe | --libex | --libe)
  542. ac_prev=libexecdir ;;
  543. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  544. | --libexe=* | --libex=* | --libe=*)
  545. libexecdir=$ac_optarg ;;
  546. -localstatedir | --localstatedir | --localstatedi | --localstated \
  547. | --localstate | --localstat | --localsta | --localst \
  548. | --locals | --local | --loca | --loc | --lo)
  549. ac_prev=localstatedir ;;
  550. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  551. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  552. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  553. localstatedir=$ac_optarg ;;
  554. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  555. ac_prev=mandir ;;
  556. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  557. mandir=$ac_optarg ;;
  558. -nfp | --nfp | --nf)
  559. # Obsolete; use --without-fp.
  560. with_fp=no ;;
  561. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  562. | --no-cr | --no-c | -n)
  563. no_create=yes ;;
  564. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  565. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  566. no_recursion=yes ;;
  567. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  568. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  569. | --oldin | --oldi | --old | --ol | --o)
  570. ac_prev=oldincludedir ;;
  571. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  572. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  573. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  574. oldincludedir=$ac_optarg ;;
  575. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  576. ac_prev=prefix ;;
  577. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  578. prefix=$ac_optarg ;;
  579. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  580. | --program-pre | --program-pr | --program-p)
  581. ac_prev=program_prefix ;;
  582. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  583. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  584. program_prefix=$ac_optarg ;;
  585. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  586. | --program-suf | --program-su | --program-s)
  587. ac_prev=program_suffix ;;
  588. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  589. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  590. program_suffix=$ac_optarg ;;
  591. -program-transform-name | --program-transform-name \
  592. | --program-transform-nam | --program-transform-na \
  593. | --program-transform-n | --program-transform- \
  594. | --program-transform | --program-transfor \
  595. | --program-transfo | --program-transf \
  596. | --program-trans | --program-tran \
  597. | --progr-tra | --program-tr | --program-t)
  598. ac_prev=program_transform_name ;;
  599. -program-transform-name=* | --program-transform-name=* \
  600. | --program-transform-nam=* | --program-transform-na=* \
  601. | --program-transform-n=* | --program-transform-=* \
  602. | --program-transform=* | --program-transfor=* \
  603. | --program-transfo=* | --program-transf=* \
  604. | --program-trans=* | --program-tran=* \
  605. | --progr-tra=* | --program-tr=* | --program-t=*)
  606. program_transform_name=$ac_optarg ;;
  607. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  608. | -silent | --silent | --silen | --sile | --sil)
  609. silent=yes ;;
  610. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  611. ac_prev=sbindir ;;
  612. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  613. | --sbi=* | --sb=*)
  614. sbindir=$ac_optarg ;;
  615. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  616. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  617. | --sharedst | --shareds | --shared | --share | --shar \
  618. | --sha | --sh)
  619. ac_prev=sharedstatedir ;;
  620. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  621. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  622. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  623. | --sha=* | --sh=*)
  624. sharedstatedir=$ac_optarg ;;
  625. -site | --site | --sit)
  626. ac_prev=site ;;
  627. -site=* | --site=* | --sit=*)
  628. site=$ac_optarg ;;
  629. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  630. ac_prev=srcdir ;;
  631. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  632. srcdir=$ac_optarg ;;
  633. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  634. | --syscon | --sysco | --sysc | --sys | --sy)
  635. ac_prev=sysconfdir ;;
  636. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  637. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  638. sysconfdir=$ac_optarg ;;
  639. -target | --target | --targe | --targ | --tar | --ta | --t)
  640. ac_prev=target_alias ;;
  641. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  642. target_alias=$ac_optarg ;;
  643. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  644. verbose=yes ;;
  645. -version | --version | --versio | --versi | --vers | -V)
  646. ac_init_version=: ;;
  647. -with-* | --with-*)
  648. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  649. # Reject names that are not valid shell variable names.
  650. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  651. { echo "$as_me: error: invalid package name: $ac_package" >&2
  652. { (exit 1); exit 1; }; }
  653. ac_package=`echo $ac_package| sed 's/-/_/g'`
  654. case $ac_option in
  655. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  656. *) ac_optarg=yes ;;
  657. esac
  658. eval "with_$ac_package='$ac_optarg'" ;;
  659. -without-* | --without-*)
  660. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  661. # Reject names that are not valid shell variable names.
  662. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  663. { echo "$as_me: error: invalid package name: $ac_package" >&2
  664. { (exit 1); exit 1; }; }
  665. ac_package=`echo $ac_package | sed 's/-/_/g'`
  666. eval "with_$ac_package=no" ;;
  667. --x)
  668. # Obsolete; use --with-x.
  669. with_x=yes ;;
  670. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  671. | --x-incl | --x-inc | --x-in | --x-i)
  672. ac_prev=x_includes ;;
  673. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  674. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  675. x_includes=$ac_optarg ;;
  676. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  677. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  678. ac_prev=x_libraries ;;
  679. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  680. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  681. x_libraries=$ac_optarg ;;
  682. -*) { echo "$as_me: error: unrecognized option: $ac_option
  683. Try \`$0 --help' for more information." >&2
  684. { (exit 1); exit 1; }; }
  685. ;;
  686. *=*)
  687. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  688. # Reject names that are not valid shell variable names.
  689. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  690. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  691. { (exit 1); exit 1; }; }
  692. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  693. eval "$ac_envvar='$ac_optarg'"
  694. export $ac_envvar ;;
  695. *)
  696. # FIXME: should be removed in autoconf 3.0.
  697. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  698. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  699. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  700. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  701. ;;
  702. esac
  703. done
  704. if test -n "$ac_prev"; then
  705. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  706. { echo "$as_me: error: missing argument to $ac_option" >&2
  707. { (exit 1); exit 1; }; }
  708. fi
  709. # Be sure to have absolute paths.
  710. for ac_var in exec_prefix prefix
  711. do
  712. eval ac_val=$`echo $ac_var`
  713. case $ac_val in
  714. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  715. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  716. { (exit 1); exit 1; }; };;
  717. esac
  718. done
  719. # Be sure to have absolute paths.
  720. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  721. localstatedir libdir includedir oldincludedir infodir mandir
  722. do
  723. eval ac_val=$`echo $ac_var`
  724. case $ac_val in
  725. [\\/$]* | ?:[\\/]* ) ;;
  726. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  727. { (exit 1); exit 1; }; };;
  728. esac
  729. done
  730. # There might be people who depend on the old broken behavior: `$host'
  731. # used to hold the argument of --host etc.
  732. # FIXME: To remove some day.
  733. build=$build_alias
  734. host=$host_alias
  735. target=$target_alias
  736. # FIXME: To remove some day.
  737. if test "x$host_alias" != x; then
  738. if test "x$build_alias" = x; then
  739. cross_compiling=maybe
  740. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  741. If a cross compiler is detected then cross compile mode will be used." >&2
  742. elif test "x$build_alias" != "x$host_alias"; then
  743. cross_compiling=yes
  744. fi
  745. fi
  746. ac_tool_prefix=
  747. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  748. test "$silent" = yes && exec 6>/dev/null
  749. # Find the source files, if location was not specified.
  750. if test -z "$srcdir"; then
  751. ac_srcdir_defaulted=yes
  752. # Try the directory containing this script, then its parent.
  753. ac_confdir=`(dirname "$0") 2>/dev/null ||
  754. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  755. X"$0" : 'X\(//\)[^/]' \| \
  756. X"$0" : 'X\(//\)$' \| \
  757. X"$0" : 'X\(/\)' \| \
  758. . : '\(.\)' 2>/dev/null ||
  759. echo X"$0" |
  760. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  761. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  762. /^X\(\/\/\)$/{ s//\1/; q; }
  763. /^X\(\/\).*/{ s//\1/; q; }
  764. s/.*/./; q'`
  765. srcdir=$ac_confdir
  766. if test ! -r $srcdir/$ac_unique_file; then
  767. srcdir=..
  768. fi
  769. else
  770. ac_srcdir_defaulted=no
  771. fi
  772. if test ! -r $srcdir/$ac_unique_file; then
  773. if test "$ac_srcdir_defaulted" = yes; then
  774. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  775. { (exit 1); exit 1; }; }
  776. else
  777. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  778. { (exit 1); exit 1; }; }
  779. fi
  780. fi
  781. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  782. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  783. { (exit 1); exit 1; }; }
  784. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  785. ac_env_build_alias_set=${build_alias+set}
  786. ac_env_build_alias_value=$build_alias
  787. ac_cv_env_build_alias_set=${build_alias+set}
  788. ac_cv_env_build_alias_value=$build_alias
  789. ac_env_host_alias_set=${host_alias+set}
  790. ac_env_host_alias_value=$host_alias
  791. ac_cv_env_host_alias_set=${host_alias+set}
  792. ac_cv_env_host_alias_value=$host_alias
  793. ac_env_target_alias_set=${target_alias+set}
  794. ac_env_target_alias_value=$target_alias
  795. ac_cv_env_target_alias_set=${target_alias+set}
  796. ac_cv_env_target_alias_value=$target_alias
  797. ac_env_CC_set=${CC+set}
  798. ac_env_CC_value=$CC
  799. ac_cv_env_CC_set=${CC+set}
  800. ac_cv_env_CC_value=$CC
  801. ac_env_CFLAGS_set=${CFLAGS+set}
  802. ac_env_CFLAGS_value=$CFLAGS
  803. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  804. ac_cv_env_CFLAGS_value=$CFLAGS
  805. ac_env_LDFLAGS_set=${LDFLAGS+set}
  806. ac_env_LDFLAGS_value=$LDFLAGS
  807. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  808. ac_cv_env_LDFLAGS_value=$LDFLAGS
  809. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  810. ac_env_CPPFLAGS_value=$CPPFLAGS
  811. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  812. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  813. ac_env_CPP_set=${CPP+set}
  814. ac_env_CPP_value=$CPP
  815. ac_cv_env_CPP_set=${CPP+set}
  816. ac_cv_env_CPP_value=$CPP
  817. ac_env_CXX_set=${CXX+set}
  818. ac_env_CXX_value=$CXX
  819. ac_cv_env_CXX_set=${CXX+set}
  820. ac_cv_env_CXX_value=$CXX
  821. ac_env_CXXFLAGS_set=${CXXFLAGS+set}
  822. ac_env_CXXFLAGS_value=$CXXFLAGS
  823. ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
  824. ac_cv_env_CXXFLAGS_value=$CXXFLAGS
  825. ac_env_CXXCPP_set=${CXXCPP+set}
  826. ac_env_CXXCPP_value=$CXXCPP
  827. ac_cv_env_CXXCPP_set=${CXXCPP+set}
  828. ac_cv_env_CXXCPP_value=$CXXCPP
  829. ac_env_F77_set=${F77+set}
  830. ac_env_F77_value=$F77
  831. ac_cv_env_F77_set=${F77+set}
  832. ac_cv_env_F77_value=$F77
  833. ac_env_FFLAGS_set=${FFLAGS+set}
  834. ac_env_FFLAGS_value=$FFLAGS
  835. ac_cv_env_FFLAGS_set=${FFLAGS+set}
  836. ac_cv_env_FFLAGS_value=$FFLAGS
  837. #
  838. # Report the --help message.
  839. #
  840. if test "$ac_init_help" = "long"; then
  841. # Omit some internal or obsolete options to make the list less imposing.
  842. # This message is too long to be a string in the A/UX 3.1 sh.
  843. cat <<_ACEOF
  844. \`configure' configures php-fpm 0.6 to adapt to many kinds of systems.
  845. Usage: $0 [OPTION]... [VAR=VALUE]...
  846. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  847. VAR=VALUE. See below for descriptions of some of the useful variables.
  848. Defaults for the options are specified in brackets.
  849. Configuration:
  850. -h, --help display this help and exit
  851. --help=short display options specific to this package
  852. --help=recursive display the short help of all the included packages
  853. -V, --version display version information and exit
  854. -q, --quiet, --silent do not print \`checking...' messages
  855. --cache-file=FILE cache test results in FILE [disabled]
  856. -C, --config-cache alias for \`--cache-file=config.cache'
  857. -n, --no-create do not create output files
  858. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  859. _ACEOF
  860. cat <<_ACEOF
  861. Installation directories:
  862. --prefix=PREFIX install architecture-independent files in PREFIX
  863. [$ac_default_prefix]
  864. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  865. [PREFIX]
  866. By default, \`make install' will install all the files in
  867. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  868. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  869. for instance \`--prefix=\$HOME'.
  870. For better control, use the options below.
  871. Fine tuning of the installation directories:
  872. --bindir=DIR user executables [EPREFIX/bin]
  873. --sbindir=DIR system admin executables [EPREFIX/sbin]
  874. --libexecdir=DIR program executables [EPREFIX/libexec]
  875. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  876. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  877. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  878. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  879. --libdir=DIR object code libraries [EPREFIX/lib]
  880. --includedir=DIR C header files [PREFIX/include]
  881. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  882. --infodir=DIR info documentation [PREFIX/info]
  883. --mandir=DIR man documentation [PREFIX/man]
  884. _ACEOF
  885. cat <<\_ACEOF
  886. Program names:
  887. --program-prefix=PREFIX prepend PREFIX to installed program names
  888. --program-suffix=SUFFIX append SUFFIX to installed program names
  889. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  890. System types:
  891. --build=BUILD configure for building on BUILD [guessed]
  892. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  893. _ACEOF
  894. fi
  895. if test -n "$ac_init_help"; then
  896. case $ac_init_help in
  897. short | recursive ) echo "Configuration of php-fpm 0.6:";;
  898. esac
  899. cat <<\_ACEOF
  900. Optional Features:
  901. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  902. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  903. --disable-dependency-tracking speeds up one-time build
  904. --enable-dependency-tracking do not reject slow dependency extractors
  905. --enable-shared[=PKGS]
  906. build shared libraries [default=yes]
  907. --enable-static[=PKGS]
  908. build static libraries [default=yes]
  909. --enable-fast-install[=PKGS]
  910. optimize for fast installation [default=yes]
  911. --disable-libtool-lock avoid locking (might break parallel builds)
  912. Optional Packages:
  913. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  914. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  915. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  916. --with-pic try to use only PIC/non-PIC objects [default=use
  917. both]
  918. --with-tags[=TAGS]
  919. include additional configurations [automatic]
  920. --with-fpm-bin=[PATH]
  921. Set the path for php-fpm binary
  922. [/usr/local/bin/php-fpm]
  923. --with-fpm-port=[PORT]
  924. Set the tcp port number to listen for cgi requests
  925. [9000]
  926. --with-fpm-conf=[PATH]
  927. Set the path for php-fpm configuration file
  928. [/etc/php-fpm.conf]
  929. --with-fpm-init=[PATH]
  930. Set the path for php-fpm init file
  931. [/etc/init.d/php-fpm]
  932. --with-fpm-log=[PATH]
  933. Set the path for php-fpm log file
  934. [/var/log/php-fpm.log]
  935. --with-fpm-pid=[PATH]
  936. Set the path for php-fpm pid file
  937. [/var/run/php-fpm.pid]
  938. --with-fpm-user=[USER]
  939. Set the user for php-fpm to run as [nobody]
  940. --with-fpm-group=[GRP]
  941. Set the group for php-fpm to run as [nobody]
  942. --with-php-src=DIR full path to php source dir
  943. --with-php-build=DIR full path to php build dir, only needed if differ
  944. from source dir
  945. --with-xml-config=PATH path to xml-config
  946. --with-libevent[=PATH] Path to the libevent, for fpm SAPI [/usr/local]
  947. Some influential environment variables:
  948. CC C compiler command
  949. CFLAGS C compiler flags
  950. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  951. nonstandard directory <lib dir>
  952. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  953. headers in a nonstandard directory <include dir>
  954. CPP C preprocessor
  955. CXX C++ compiler command
  956. CXXFLAGS C++ compiler flags
  957. CXXCPP C++ preprocessor
  958. F77 Fortran 77 compiler command
  959. FFLAGS Fortran 77 compiler flags
  960. Use these variables to override the choices made by `configure' or to help
  961. it to find libraries and programs with nonstandard names/locations.
  962. Report bugs to <andrei.nigmatulin@gmail.com>.
  963. _ACEOF
  964. fi
  965. if test "$ac_init_help" = "recursive"; then
  966. # If there are subdirs, report their specific --help.
  967. ac_popdir=`pwd`
  968. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  969. test -d $ac_dir || continue
  970. ac_builddir=.
  971. if test "$ac_dir" != .; then
  972. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  973. # A "../" for each directory in $ac_dir_suffix.
  974. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  975. else
  976. ac_dir_suffix= ac_top_builddir=
  977. fi
  978. case $srcdir in
  979. .) # No --srcdir option. We are building in place.
  980. ac_srcdir=.
  981. if test -z "$ac_top_builddir"; then
  982. ac_top_srcdir=.
  983. else
  984. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  985. fi ;;
  986. [\\/]* | ?:[\\/]* ) # Absolute path.
  987. ac_srcdir=$srcdir$ac_dir_suffix;
  988. ac_top_srcdir=$srcdir ;;
  989. *) # Relative path.
  990. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  991. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  992. esac
  993. # Do not use `cd foo && pwd` to compute absolute paths, because
  994. # the directories may not exist.
  995. case `pwd` in
  996. .) ac_abs_builddir="$ac_dir";;
  997. *)
  998. case "$ac_dir" in
  999. .) ac_abs_builddir=`pwd`;;
  1000. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1001. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1002. esac;;
  1003. esac
  1004. case $ac_abs_builddir in
  1005. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  1006. *)
  1007. case ${ac_top_builddir}. in
  1008. .) ac_abs_top_builddir=$ac_abs_builddir;;
  1009. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1010. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1011. esac;;
  1012. esac
  1013. case $ac_abs_builddir in
  1014. .) ac_abs_srcdir=$ac_srcdir;;
  1015. *)
  1016. case $ac_srcdir in
  1017. .) ac_abs_srcdir=$ac_abs_builddir;;
  1018. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1019. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1020. esac;;
  1021. esac
  1022. case $ac_abs_builddir in
  1023. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  1024. *)
  1025. case $ac_top_srcdir in
  1026. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1027. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1028. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1029. esac;;
  1030. esac
  1031. cd $ac_dir
  1032. # Check for guested configure; otherwise get Cygnus style configure.
  1033. if test -f $ac_srcdir/configure.gnu; then
  1034. echo
  1035. $SHELL $ac_srcdir/configure.gnu --help=recursive
  1036. elif test -f $ac_srcdir/configure; then
  1037. echo
  1038. $SHELL $ac_srcdir/configure --help=recursive
  1039. elif test -f $ac_srcdir/configure.ac ||
  1040. test -f $ac_srcdir/configure.in; then
  1041. echo
  1042. $ac_configure --help
  1043. else
  1044. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1045. fi
  1046. cd $ac_popdir
  1047. done
  1048. fi
  1049. test -n "$ac_init_help" && exit 0
  1050. if $ac_init_version; then
  1051. cat <<\_ACEOF
  1052. php-fpm configure 0.6
  1053. generated by GNU Autoconf 2.59
  1054. Copyright (C) 2003 Free Software Foundation, Inc.
  1055. This configure script is free software; the Free Software Foundation
  1056. gives unlimited permission to copy, distribute and modify it.
  1057. _ACEOF
  1058. exit 0
  1059. fi
  1060. exec 5>config.log
  1061. cat >&5 <<_ACEOF
  1062. This file contains any messages produced by compilers while
  1063. running configure, to aid debugging if configure makes a mistake.
  1064. It was created by php-fpm $as_me 0.6, which was
  1065. generated by GNU Autoconf 2.59. Invocation command line was
  1066. $ $0 $@
  1067. _ACEOF
  1068. {
  1069. cat <<_ASUNAME
  1070. ## --------- ##
  1071. ## Platform. ##
  1072. ## --------- ##
  1073. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1074. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1075. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1076. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1077. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1078. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1079. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1080. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1081. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1082. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1083. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1084. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1085. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1086. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1087. _ASUNAME
  1088. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1089. for as_dir in $PATH
  1090. do
  1091. IFS=$as_save_IFS
  1092. test -z "$as_dir" && as_dir=.
  1093. echo "PATH: $as_dir"
  1094. done
  1095. } >&5
  1096. cat >&5 <<_ACEOF
  1097. ## ----------- ##
  1098. ## Core tests. ##
  1099. ## ----------- ##
  1100. _ACEOF
  1101. # Keep a trace of the command line.
  1102. # Strip out --no-create and --no-recursion so they do not pile up.
  1103. # Strip out --silent because we don't want to record it for future runs.
  1104. # Also quote any args containing shell meta-characters.
  1105. # Make two passes to allow for proper duplicate-argument suppression.
  1106. ac_configure_args=
  1107. ac_configure_args0=
  1108. ac_configure_args1=
  1109. ac_sep=
  1110. ac_must_keep_next=false
  1111. for ac_pass in 1 2
  1112. do
  1113. for ac_arg
  1114. do
  1115. case $ac_arg in
  1116. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1117. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1118. | -silent | --silent | --silen | --sile | --sil)
  1119. continue ;;
  1120. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1121. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1122. esac
  1123. case $ac_pass in
  1124. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1125. 2)
  1126. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1127. if test $ac_must_keep_next = true; then
  1128. ac_must_keep_next=false # Got value, back to normal.
  1129. else
  1130. case $ac_arg in
  1131. *=* | --config-cache | -C | -disable-* | --disable-* \
  1132. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1133. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1134. | -with-* | --with-* | -without-* | --without-* | --x)
  1135. case "$ac_configure_args0 " in
  1136. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1137. esac
  1138. ;;
  1139. -* ) ac_must_keep_next=true ;;
  1140. esac
  1141. fi
  1142. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1143. # Get rid of the leading space.
  1144. ac_sep=" "
  1145. ;;
  1146. esac
  1147. done
  1148. done
  1149. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1150. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1151. # When interrupted or exit'd, cleanup temporary files, and complete
  1152. # config.log. We remove comments because anyway the quotes in there
  1153. # would cause problems or look ugly.
  1154. # WARNING: Be sure not to use single quotes in there, as some shells,
  1155. # such as our DU 5.0 friend, will then `close' the trap.
  1156. trap 'exit_status=$?
  1157. # Save into config.log some information that might help in debugging.
  1158. {
  1159. echo
  1160. cat <<\_ASBOX
  1161. ## ---------------- ##
  1162. ## Cache variables. ##
  1163. ## ---------------- ##
  1164. _ASBOX
  1165. echo
  1166. # The following way of writing the cache mishandles newlines in values,
  1167. {
  1168. (set) 2>&1 |
  1169. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1170. *ac_space=\ *)
  1171. sed -n \
  1172. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1173. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1174. ;;
  1175. *)
  1176. sed -n \
  1177. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1178. ;;
  1179. esac;
  1180. }
  1181. echo
  1182. cat <<\_ASBOX
  1183. ## ----------------- ##
  1184. ## Output variables. ##
  1185. ## ----------------- ##
  1186. _ASBOX
  1187. echo
  1188. for ac_var in $ac_subst_vars
  1189. do
  1190. eval ac_val=$`echo $ac_var`
  1191. echo "$ac_var='"'"'$ac_val'"'"'"
  1192. done | sort
  1193. echo
  1194. if test -n "$ac_subst_files"; then
  1195. cat <<\_ASBOX
  1196. ## ------------- ##
  1197. ## Output files. ##
  1198. ## ------------- ##
  1199. _ASBOX
  1200. echo
  1201. for ac_var in $ac_subst_files
  1202. do
  1203. eval ac_val=$`echo $ac_var`
  1204. echo "$ac_var='"'"'$ac_val'"'"'"
  1205. done | sort
  1206. echo
  1207. fi
  1208. if test -s confdefs.h; then
  1209. cat <<\_ASBOX
  1210. ## ----------- ##
  1211. ## confdefs.h. ##
  1212. ## ----------- ##
  1213. _ASBOX
  1214. echo
  1215. sed "/^$/d" confdefs.h | sort
  1216. echo
  1217. fi
  1218. test "$ac_signal" != 0 &&
  1219. echo "$as_me: caught signal $ac_signal"
  1220. echo "$as_me: exit $exit_status"
  1221. } >&5
  1222. rm -f core *.core &&
  1223. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1224. exit $exit_status
  1225. ' 0
  1226. for ac_signal in 1 2 13 15; do
  1227. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1228. done
  1229. ac_signal=0
  1230. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1231. rm -rf conftest* confdefs.h
  1232. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1233. echo >confdefs.h
  1234. # Predefined preprocessor variables.
  1235. cat >>confdefs.h <<_ACEOF
  1236. #define PACKAGE_NAME "$PACKAGE_NAME"
  1237. _ACEOF
  1238. cat >>confdefs.h <<_ACEOF
  1239. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1240. _ACEOF
  1241. cat >>confdefs.h <<_ACEOF
  1242. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1243. _ACEOF
  1244. cat >>confdefs.h <<_ACEOF
  1245. #define PACKAGE_STRING "$PACKAGE_STRING"
  1246. _ACEOF
  1247. cat >>confdefs.h <<_ACEOF
  1248. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1249. _ACEOF
  1250. # Let the site file select an alternate cache file if it wants to.
  1251. # Prefer explicitly selected file to automatically selected ones.
  1252. if test -z "$CONFIG_SITE"; then
  1253. if test "x$prefix" != xNONE; then
  1254. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1255. else
  1256. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1257. fi
  1258. fi
  1259. for ac_site_file in $CONFIG_SITE; do
  1260. if test -r "$ac_site_file"; then
  1261. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1262. echo "$as_me: loading site script $ac_site_file" >&6;}
  1263. sed 's/^/| /' "$ac_site_file" >&5
  1264. . "$ac_site_file"
  1265. fi
  1266. done
  1267. if test -r "$cache_file"; then
  1268. # Some versions of bash will fail to source /dev/null (special
  1269. # files actually), so we avoid doing that.
  1270. if test -f "$cache_file"; then
  1271. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1272. echo "$as_me: loading cache $cache_file" >&6;}
  1273. case $cache_file in
  1274. [\\/]* | ?:[\\/]* ) . $cache_file;;
  1275. *) . ./$cache_file;;
  1276. esac
  1277. fi
  1278. else
  1279. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1280. echo "$as_me: creating cache $cache_file" >&6;}
  1281. >$cache_file
  1282. fi
  1283. # Check that the precious variables saved in the cache have kept the same
  1284. # value.
  1285. ac_cache_corrupted=false
  1286. for ac_var in `(set) 2>&1 |
  1287. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1288. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1289. eval ac_new_set=\$ac_env_${ac_var}_set
  1290. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1291. eval ac_new_val="\$ac_env_${ac_var}_value"
  1292. case $ac_old_set,$ac_new_set in
  1293. set,)
  1294. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1295. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1296. ac_cache_corrupted=: ;;
  1297. ,set)
  1298. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1299. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1300. ac_cache_corrupted=: ;;
  1301. ,);;
  1302. *)
  1303. if test "x$ac_old_val" != "x$ac_new_val"; then
  1304. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1305. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1306. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1307. echo "$as_me: former value: $ac_old_val" >&2;}
  1308. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1309. echo "$as_me: current value: $ac_new_val" >&2;}
  1310. ac_cache_corrupted=:
  1311. fi;;
  1312. esac
  1313. # Pass precious variables to config.status.
  1314. if test "$ac_new_set" = set; then
  1315. case $ac_new_val in
  1316. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1317. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1318. *) ac_arg=$ac_var=$ac_new_val ;;
  1319. esac
  1320. case " $ac_configure_args " in
  1321. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1322. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1323. esac
  1324. fi
  1325. done
  1326. if $ac_cache_corrupted; then
  1327. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1328. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1329. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1330. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1331. { (exit 1); exit 1; }; }
  1332. fi
  1333. ac_ext=c
  1334. ac_cpp='$CPP $CPPFLAGS'
  1335. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1336. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1337. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1338. fpm_version="$PACKAGE_VERSION"
  1339. am__api_ver

Large files files are truncated, but you can click here to view the full file