/vendor/pcre/configure

http://github.com/feyeleanor/RubyGoLightly · Shell · 24388 lines · 20171 code · 1902 blank · 2315 comment · 1447 complexity · 13d205a8cceea8922fd5c55383e0ab58 MD5 · raw file

Large files are truncated 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.61 for PCRE 7.8.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. ## --------------------- ##
  10. ## M4sh Initialization. ##
  11. ## --------------------- ##
  12. # Be more Bourne compatible
  13. DUALCASE=1; export DUALCASE # for MKS sh
  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. setopt NO_GLOB_SUBST
  21. else
  22. case `(set -o) 2>/dev/null` in
  23. *posix*) set -o posix ;;
  24. esac
  25. fi
  26. # PATH needs CR
  27. # Avoid depending upon Character Ranges.
  28. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  29. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  30. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  31. as_cr_digits='0123456789'
  32. as_cr_alnum=$as_cr_Letters$as_cr_digits
  33. # The user is always right.
  34. if test "${PATH_SEPARATOR+set}" != set; then
  35. echo "#! /bin/sh" >conf$$.sh
  36. echo "exit 0" >>conf$$.sh
  37. chmod +x conf$$.sh
  38. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  39. PATH_SEPARATOR=';'
  40. else
  41. PATH_SEPARATOR=:
  42. fi
  43. rm -f conf$$.sh
  44. fi
  45. # Support unset when possible.
  46. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  47. as_unset=unset
  48. else
  49. as_unset=false
  50. fi
  51. # IFS
  52. # We need space, tab and new line, in precisely that order. Quoting is
  53. # there to prevent editors from complaining about space-tab.
  54. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  55. # splitting by setting IFS to empty value.)
  56. as_nl='
  57. '
  58. IFS=" "" $as_nl"
  59. # Find who we are. Look in the path if we contain no directory separator.
  60. case $0 in
  61. *[\\/]* ) as_myself=$0 ;;
  62. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  63. for as_dir in $PATH
  64. do
  65. IFS=$as_save_IFS
  66. test -z "$as_dir" && as_dir=.
  67. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  68. done
  69. IFS=$as_save_IFS
  70. ;;
  71. esac
  72. # We did not find ourselves, most probably we were run as `sh COMMAND'
  73. # in which case we are not to be found in the path.
  74. if test "x$as_myself" = x; then
  75. as_myself=$0
  76. fi
  77. if test ! -f "$as_myself"; then
  78. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  79. { (exit 1); exit 1; }
  80. fi
  81. # Work around bugs in pre-3.0 UWIN ksh.
  82. for as_var in ENV MAIL MAILPATH
  83. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  84. done
  85. PS1='$ '
  86. PS2='> '
  87. PS4='+ '
  88. # NLS nuisances.
  89. for as_var in \
  90. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  91. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  92. LC_TELEPHONE LC_TIME
  93. do
  94. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  95. eval $as_var=C; export $as_var
  96. else
  97. ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  98. fi
  99. done
  100. # Required to use basename.
  101. if expr a : '\(a\)' >/dev/null 2>&1 &&
  102. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  103. as_expr=expr
  104. else
  105. as_expr=false
  106. fi
  107. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  108. as_basename=basename
  109. else
  110. as_basename=false
  111. fi
  112. # Name of the executable.
  113. as_me=`$as_basename -- "$0" ||
  114. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  115. X"$0" : 'X\(//\)$' \| \
  116. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  117. echo X/"$0" |
  118. sed '/^.*\/\([^/][^/]*\)\/*$/{
  119. s//\1/
  120. q
  121. }
  122. /^X\/\(\/\/\)$/{
  123. s//\1/
  124. q
  125. }
  126. /^X\/\(\/\).*/{
  127. s//\1/
  128. q
  129. }
  130. s/.*/./; q'`
  131. # CDPATH.
  132. $as_unset CDPATH
  133. if test "x$CONFIG_SHELL" = x; then
  134. if (eval ":") 2>/dev/null; then
  135. as_have_required=yes
  136. else
  137. as_have_required=no
  138. fi
  139. if test $as_have_required = yes && (eval ":
  140. (as_func_return () {
  141. (exit \$1)
  142. }
  143. as_func_success () {
  144. as_func_return 0
  145. }
  146. as_func_failure () {
  147. as_func_return 1
  148. }
  149. as_func_ret_success () {
  150. return 0
  151. }
  152. as_func_ret_failure () {
  153. return 1
  154. }
  155. exitcode=0
  156. if as_func_success; then
  157. :
  158. else
  159. exitcode=1
  160. echo as_func_success failed.
  161. fi
  162. if as_func_failure; then
  163. exitcode=1
  164. echo as_func_failure succeeded.
  165. fi
  166. if as_func_ret_success; then
  167. :
  168. else
  169. exitcode=1
  170. echo as_func_ret_success failed.
  171. fi
  172. if as_func_ret_failure; then
  173. exitcode=1
  174. echo as_func_ret_failure succeeded.
  175. fi
  176. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  177. :
  178. else
  179. exitcode=1
  180. echo positional parameters were not saved.
  181. fi
  182. test \$exitcode = 0) || { (exit 1); exit 1; }
  183. (
  184. as_lineno_1=\$LINENO
  185. as_lineno_2=\$LINENO
  186. test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  187. test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  188. ") 2> /dev/null; then
  189. :
  190. else
  191. as_candidate_shells=
  192. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  193. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  194. do
  195. IFS=$as_save_IFS
  196. test -z "$as_dir" && as_dir=.
  197. case $as_dir in
  198. /*)
  199. for as_base in sh bash ksh sh5; do
  200. as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  201. done;;
  202. esac
  203. done
  204. IFS=$as_save_IFS
  205. for as_shell in $as_candidate_shells $SHELL; do
  206. # Try only shells that exist, to save several forks.
  207. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  208. { ("$as_shell") 2> /dev/null <<\_ASEOF
  209. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  210. emulate sh
  211. NULLCMD=:
  212. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  213. # is contrary to our usage. Disable this feature.
  214. alias -g '${1+"$@"}'='"$@"'
  215. setopt NO_GLOB_SUBST
  216. else
  217. case `(set -o) 2>/dev/null` in
  218. *posix*) set -o posix ;;
  219. esac
  220. fi
  221. :
  222. _ASEOF
  223. }; then
  224. CONFIG_SHELL=$as_shell
  225. as_have_required=yes
  226. if { "$as_shell" 2> /dev/null <<\_ASEOF
  227. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  228. emulate sh
  229. NULLCMD=:
  230. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  231. # is contrary to our usage. Disable this feature.
  232. alias -g '${1+"$@"}'='"$@"'
  233. setopt NO_GLOB_SUBST
  234. else
  235. case `(set -o) 2>/dev/null` in
  236. *posix*) set -o posix ;;
  237. esac
  238. fi
  239. :
  240. (as_func_return () {
  241. (exit $1)
  242. }
  243. as_func_success () {
  244. as_func_return 0
  245. }
  246. as_func_failure () {
  247. as_func_return 1
  248. }
  249. as_func_ret_success () {
  250. return 0
  251. }
  252. as_func_ret_failure () {
  253. return 1
  254. }
  255. exitcode=0
  256. if as_func_success; then
  257. :
  258. else
  259. exitcode=1
  260. echo as_func_success failed.
  261. fi
  262. if as_func_failure; then
  263. exitcode=1
  264. echo as_func_failure succeeded.
  265. fi
  266. if as_func_ret_success; then
  267. :
  268. else
  269. exitcode=1
  270. echo as_func_ret_success failed.
  271. fi
  272. if as_func_ret_failure; then
  273. exitcode=1
  274. echo as_func_ret_failure succeeded.
  275. fi
  276. if ( set x; as_func_ret_success y && test x = "$1" ); then
  277. :
  278. else
  279. exitcode=1
  280. echo positional parameters were not saved.
  281. fi
  282. test $exitcode = 0) || { (exit 1); exit 1; }
  283. (
  284. as_lineno_1=$LINENO
  285. as_lineno_2=$LINENO
  286. test "x$as_lineno_1" != "x$as_lineno_2" &&
  287. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  288. _ASEOF
  289. }; then
  290. break
  291. fi
  292. fi
  293. done
  294. if test "x$CONFIG_SHELL" != x; then
  295. for as_var in BASH_ENV ENV
  296. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  297. done
  298. export CONFIG_SHELL
  299. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  300. fi
  301. if test $as_have_required = no; then
  302. echo This script requires a shell more modern than all the
  303. echo shells that I found on your system. Please install a
  304. echo modern shell, or manually run the script under such a
  305. echo shell if you do have one.
  306. { (exit 1); exit 1; }
  307. fi
  308. fi
  309. fi
  310. (eval "as_func_return () {
  311. (exit \$1)
  312. }
  313. as_func_success () {
  314. as_func_return 0
  315. }
  316. as_func_failure () {
  317. as_func_return 1
  318. }
  319. as_func_ret_success () {
  320. return 0
  321. }
  322. as_func_ret_failure () {
  323. return 1
  324. }
  325. exitcode=0
  326. if as_func_success; then
  327. :
  328. else
  329. exitcode=1
  330. echo as_func_success failed.
  331. fi
  332. if as_func_failure; then
  333. exitcode=1
  334. echo as_func_failure succeeded.
  335. fi
  336. if as_func_ret_success; then
  337. :
  338. else
  339. exitcode=1
  340. echo as_func_ret_success failed.
  341. fi
  342. if as_func_ret_failure; then
  343. exitcode=1
  344. echo as_func_ret_failure succeeded.
  345. fi
  346. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  347. :
  348. else
  349. exitcode=1
  350. echo positional parameters were not saved.
  351. fi
  352. test \$exitcode = 0") || {
  353. echo No shell found that supports shell functions.
  354. echo Please tell autoconf@gnu.org about your system,
  355. echo including any error possibly output before this
  356. echo message
  357. }
  358. as_lineno_1=$LINENO
  359. as_lineno_2=$LINENO
  360. test "x$as_lineno_1" != "x$as_lineno_2" &&
  361. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  362. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  363. # uniformly replaced by the line number. The first 'sed' inserts a
  364. # line-number line after each line using $LINENO; the second 'sed'
  365. # does the real work. The second script uses 'N' to pair each
  366. # line-number line with the line containing $LINENO, and appends
  367. # trailing '-' during substitution so that $LINENO is not a special
  368. # case at line end.
  369. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  370. # scripts with optimization help from Paolo Bonzini. Blame Lee
  371. # E. McMahon (1931-1989) for sed's syntax. :-)
  372. sed -n '
  373. p
  374. /[$]LINENO/=
  375. ' <$as_myself |
  376. sed '
  377. s/[$]LINENO.*/&-/
  378. t lineno
  379. b
  380. :lineno
  381. N
  382. :loop
  383. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  384. t loop
  385. s/-\n.*//
  386. ' >$as_me.lineno &&
  387. chmod +x "$as_me.lineno" ||
  388. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  389. { (exit 1); exit 1; }; }
  390. # Don't try to exec as it changes $[0], causing all sort of problems
  391. # (the dirname of $[0] is not the place where we might find the
  392. # original and so on. Autoconf is especially sensitive to this).
  393. . "./$as_me.lineno"
  394. # Exit status is that of the last command.
  395. exit
  396. }
  397. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  398. as_dirname=dirname
  399. else
  400. as_dirname=false
  401. fi
  402. ECHO_C= ECHO_N= ECHO_T=
  403. case `echo -n x` in
  404. -n*)
  405. case `echo 'x\c'` in
  406. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  407. *) ECHO_C='\c';;
  408. esac;;
  409. *)
  410. ECHO_N='-n';;
  411. esac
  412. if expr a : '\(a\)' >/dev/null 2>&1 &&
  413. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  414. as_expr=expr
  415. else
  416. as_expr=false
  417. fi
  418. rm -f conf$$ conf$$.exe conf$$.file
  419. if test -d conf$$.dir; then
  420. rm -f conf$$.dir/conf$$.file
  421. else
  422. rm -f conf$$.dir
  423. mkdir conf$$.dir
  424. fi
  425. echo >conf$$.file
  426. if ln -s conf$$.file conf$$ 2>/dev/null; then
  427. as_ln_s='ln -s'
  428. # ... but there are two gotchas:
  429. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  430. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  431. # In both cases, we have to default to `cp -p'.
  432. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  433. as_ln_s='cp -p'
  434. elif ln conf$$.file conf$$ 2>/dev/null; then
  435. as_ln_s=ln
  436. else
  437. as_ln_s='cp -p'
  438. fi
  439. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  440. rmdir conf$$.dir 2>/dev/null
  441. if mkdir -p . 2>/dev/null; then
  442. as_mkdir_p=:
  443. else
  444. test -d ./-p && rmdir ./-p
  445. as_mkdir_p=false
  446. fi
  447. if test -x / >/dev/null 2>&1; then
  448. as_test_x='test -x'
  449. else
  450. if ls -dL / >/dev/null 2>&1; then
  451. as_ls_L_option=L
  452. else
  453. as_ls_L_option=
  454. fi
  455. as_test_x='
  456. eval sh -c '\''
  457. if test -d "$1"; then
  458. test -d "$1/.";
  459. else
  460. case $1 in
  461. -*)set "./$1";;
  462. esac;
  463. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  464. ???[sx]*):;;*)false;;esac;fi
  465. '\'' sh
  466. '
  467. fi
  468. as_executable_p=$as_test_x
  469. # Sed expression to map a string onto a valid CPP name.
  470. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  471. # Sed expression to map a string onto a valid variable name.
  472. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  473. # Check that we are running under the correct shell.
  474. SHELL=${CONFIG_SHELL-/bin/sh}
  475. case X$ECHO in
  476. X*--fallback-echo)
  477. # Remove one level of quotation (which was required for Make).
  478. ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
  479. ;;
  480. esac
  481. echo=${ECHO-echo}
  482. if test "X$1" = X--no-reexec; then
  483. # Discard the --no-reexec flag, and continue.
  484. shift
  485. elif test "X$1" = X--fallback-echo; then
  486. # Avoid inline document here, it may be left over
  487. :
  488. elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
  489. # Yippee, $echo works!
  490. :
  491. else
  492. # Restart under the correct shell.
  493. exec $SHELL "$0" --no-reexec ${1+"$@"}
  494. fi
  495. if test "X$1" = X--fallback-echo; then
  496. # used as fallback echo
  497. shift
  498. cat <<EOF
  499. $*
  500. EOF
  501. exit 0
  502. fi
  503. # The HP-UX ksh and POSIX shell print the target directory to stdout
  504. # if CDPATH is set.
  505. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  506. if test -z "$ECHO"; then
  507. if test "X${echo_test_string+set}" != Xset; then
  508. # find a string as large as possible, as long as the shell can cope with it
  509. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  510. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  511. if (echo_test_string=`eval $cmd`) 2>/dev/null &&
  512. echo_test_string=`eval $cmd` &&
  513. (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
  514. then
  515. break
  516. fi
  517. done
  518. fi
  519. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  520. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  521. test "X$echo_testing_string" = "X$echo_test_string"; then
  522. :
  523. else
  524. # The Solaris, AIX, and Digital Unix default echo programs unquote
  525. # backslashes. This makes it impossible to quote backslashes using
  526. # echo "$something" | sed 's/\\/\\\\/g'
  527. #
  528. # So, first we look for a working echo in the user's PATH.
  529. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  530. for dir in $PATH /usr/ucb; do
  531. IFS="$lt_save_ifs"
  532. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  533. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  534. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  535. test "X$echo_testing_string" = "X$echo_test_string"; then
  536. echo="$dir/echo"
  537. break
  538. fi
  539. done
  540. IFS="$lt_save_ifs"
  541. if test "X$echo" = Xecho; then
  542. # We didn't find a better echo, so look for alternatives.
  543. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
  544. echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
  545. test "X$echo_testing_string" = "X$echo_test_string"; then
  546. # This shell has a builtin print -r that does the trick.
  547. echo='print -r'
  548. elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
  549. test "X$CONFIG_SHELL" != X/bin/ksh; then
  550. # If we have ksh, try running configure again with it.
  551. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  552. export ORIGINAL_CONFIG_SHELL
  553. CONFIG_SHELL=/bin/ksh
  554. export CONFIG_SHELL
  555. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  556. else
  557. # Try using printf.
  558. echo='printf %s\n'
  559. if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
  560. echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
  561. test "X$echo_testing_string" = "X$echo_test_string"; then
  562. # Cool, printf works
  563. :
  564. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  565. test "X$echo_testing_string" = 'X\t' &&
  566. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  567. test "X$echo_testing_string" = "X$echo_test_string"; then
  568. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  569. export CONFIG_SHELL
  570. SHELL="$CONFIG_SHELL"
  571. export SHELL
  572. echo="$CONFIG_SHELL $0 --fallback-echo"
  573. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  574. test "X$echo_testing_string" = 'X\t' &&
  575. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  576. test "X$echo_testing_string" = "X$echo_test_string"; then
  577. echo="$CONFIG_SHELL $0 --fallback-echo"
  578. else
  579. # maybe with a smaller string...
  580. prev=:
  581. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  582. if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
  583. then
  584. break
  585. fi
  586. prev="$cmd"
  587. done
  588. if test "$prev" != 'sed 50q "$0"'; then
  589. echo_test_string=`eval $prev`
  590. export echo_test_string
  591. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  592. else
  593. # Oops. We lost completely, so just stick with echo.
  594. echo=echo
  595. fi
  596. fi
  597. fi
  598. fi
  599. fi
  600. fi
  601. # Copy echo and quote the copy suitably for passing to libtool from
  602. # the Makefile, instead of quoting the original, which is used later.
  603. ECHO=$echo
  604. if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  605. ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  606. fi
  607. tagnames=${tagnames+${tagnames},}CXX
  608. tagnames=${tagnames+${tagnames},}F77
  609. exec 7<&0 </dev/null 6>&1
  610. # Name of the host.
  611. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  612. # so uname gets run too.
  613. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  614. #
  615. # Initializations.
  616. #
  617. ac_default_prefix=/usr/local
  618. ac_clean_files=
  619. ac_config_libobj_dir=.
  620. LIBOBJS=
  621. cross_compiling=no
  622. subdirs=
  623. MFLAGS=
  624. MAKEFLAGS=
  625. SHELL=${CONFIG_SHELL-/bin/sh}
  626. # Identity of this package.
  627. PACKAGE_NAME='PCRE'
  628. PACKAGE_TARNAME='pcre'
  629. PACKAGE_VERSION='7.8'
  630. PACKAGE_STRING='PCRE 7.8'
  631. PACKAGE_BUGREPORT=''
  632. ac_unique_file="pcre.h.in"
  633. # Factoring default headers for most tests.
  634. ac_includes_default="\
  635. #include <stdio.h>
  636. #ifdef HAVE_SYS_TYPES_H
  637. # include <sys/types.h>
  638. #endif
  639. #ifdef HAVE_SYS_STAT_H
  640. # include <sys/stat.h>
  641. #endif
  642. #ifdef STDC_HEADERS
  643. # include <stdlib.h>
  644. # include <stddef.h>
  645. #else
  646. # ifdef HAVE_STDLIB_H
  647. # include <stdlib.h>
  648. # endif
  649. #endif
  650. #ifdef HAVE_STRING_H
  651. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  652. # include <memory.h>
  653. # endif
  654. # include <string.h>
  655. #endif
  656. #ifdef HAVE_STRINGS_H
  657. # include <strings.h>
  658. #endif
  659. #ifdef HAVE_INTTYPES_H
  660. # include <inttypes.h>
  661. #endif
  662. #ifdef HAVE_STDINT_H
  663. # include <stdint.h>
  664. #endif
  665. #ifdef HAVE_UNISTD_H
  666. # include <unistd.h>
  667. #endif"
  668. ac_subst_vars='SHELL
  669. PATH_SEPARATOR
  670. PACKAGE_NAME
  671. PACKAGE_TARNAME
  672. PACKAGE_VERSION
  673. PACKAGE_STRING
  674. PACKAGE_BUGREPORT
  675. exec_prefix
  676. prefix
  677. program_transform_name
  678. bindir
  679. sbindir
  680. libexecdir
  681. datarootdir
  682. datadir
  683. sysconfdir
  684. sharedstatedir
  685. localstatedir
  686. includedir
  687. oldincludedir
  688. docdir
  689. infodir
  690. htmldir
  691. dvidir
  692. pdfdir
  693. psdir
  694. libdir
  695. localedir
  696. mandir
  697. DEFS
  698. ECHO_C
  699. ECHO_N
  700. ECHO_T
  701. LIBS
  702. build_alias
  703. host_alias
  704. target_alias
  705. INSTALL_PROGRAM
  706. INSTALL_SCRIPT
  707. INSTALL_DATA
  708. am__isrc
  709. CYGPATH_W
  710. PACKAGE
  711. VERSION
  712. ACLOCAL
  713. AUTOCONF
  714. AUTOMAKE
  715. AUTOHEADER
  716. MAKEINFO
  717. install_sh
  718. STRIP
  719. INSTALL_STRIP_PROGRAM
  720. mkdir_p
  721. AWK
  722. SET_MAKE
  723. am__leading_dot
  724. AMTAR
  725. am__tar
  726. am__untar
  727. CC
  728. CFLAGS
  729. LDFLAGS
  730. CPPFLAGS
  731. ac_ct_CC
  732. EXEEXT
  733. OBJEXT
  734. DEPDIR
  735. am__include
  736. am__quote
  737. AMDEP_TRUE
  738. AMDEP_FALSE
  739. AMDEPBACKSLASH
  740. CCDEPMODE
  741. am__fastdepCC_TRUE
  742. am__fastdepCC_FALSE
  743. CXX
  744. CXXFLAGS
  745. ac_ct_CXX
  746. CXXDEPMODE
  747. am__fastdepCXX_TRUE
  748. am__fastdepCXX_FALSE
  749. build
  750. build_cpu
  751. build_vendor
  752. build_os
  753. host
  754. host_cpu
  755. host_vendor
  756. host_os
  757. SED
  758. GREP
  759. EGREP
  760. LN_S
  761. ECHO
  762. AR
  763. RANLIB
  764. DSYMUTIL
  765. NMEDIT
  766. DLLTOOL
  767. AS
  768. OBJDUMP
  769. CPP
  770. CXXCPP
  771. F77
  772. FFLAGS
  773. ac_ct_F77
  774. LIBTOOL
  775. PCRE_MAJOR
  776. PCRE_MINOR
  777. PCRE_PRERELEASE
  778. PCRE_DATE
  779. pcre_have_type_traits
  780. pcre_have_bits_type_traits
  781. WITH_PCRE_CPP_TRUE
  782. WITH_PCRE_CPP_FALSE
  783. WITH_REBUILD_CHARTABLES_TRUE
  784. WITH_REBUILD_CHARTABLES_FALSE
  785. pcre_have_long_long
  786. pcre_have_ulong_long
  787. EXTRA_LIBPCRE_LDFLAGS
  788. EXTRA_LIBPCREPOSIX_LDFLAGS
  789. EXTRA_LIBPCRECPP_LDFLAGS
  790. DISTCHECK_CONFIGURE_FLAGS
  791. LIBOBJS
  792. LTLIBOBJS'
  793. ac_subst_files=''
  794. ac_precious_vars='build_alias
  795. host_alias
  796. target_alias
  797. CC
  798. CFLAGS
  799. LDFLAGS
  800. LIBS
  801. CPPFLAGS
  802. CXX
  803. CXXFLAGS
  804. CCC
  805. CPP
  806. CXXCPP
  807. F77
  808. FFLAGS'
  809. # Initialize some variables set by options.
  810. ac_init_help=
  811. ac_init_version=false
  812. # The variables have the same names as the options, with
  813. # dashes changed to underlines.
  814. cache_file=/dev/null
  815. exec_prefix=NONE
  816. no_create=
  817. no_recursion=
  818. prefix=NONE
  819. program_prefix=NONE
  820. program_suffix=NONE
  821. program_transform_name=s,x,x,
  822. silent=
  823. site=
  824. srcdir=
  825. verbose=
  826. x_includes=NONE
  827. x_libraries=NONE
  828. # Installation directory options.
  829. # These are left unexpanded so users can "make install exec_prefix=/foo"
  830. # and all the variables that are supposed to be based on exec_prefix
  831. # by default will actually change.
  832. # Use braces instead of parens because sh, perl, etc. also accept them.
  833. # (The list follows the same order as the GNU Coding Standards.)
  834. bindir='${exec_prefix}/bin'
  835. sbindir='${exec_prefix}/sbin'
  836. libexecdir='${exec_prefix}/libexec'
  837. datarootdir='${prefix}/share'
  838. datadir='${datarootdir}'
  839. sysconfdir='${prefix}/etc'
  840. sharedstatedir='${prefix}/com'
  841. localstatedir='${prefix}/var'
  842. includedir='${prefix}/include'
  843. oldincludedir='/usr/include'
  844. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  845. infodir='${datarootdir}/info'
  846. htmldir='${docdir}'
  847. dvidir='${docdir}'
  848. pdfdir='${docdir}'
  849. psdir='${docdir}'
  850. libdir='${exec_prefix}/lib'
  851. localedir='${datarootdir}/locale'
  852. mandir='${datarootdir}/man'
  853. ac_prev=
  854. ac_dashdash=
  855. for ac_option
  856. do
  857. # If the previous option needs an argument, assign it.
  858. if test -n "$ac_prev"; then
  859. eval $ac_prev=\$ac_option
  860. ac_prev=
  861. continue
  862. fi
  863. case $ac_option in
  864. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  865. *) ac_optarg=yes ;;
  866. esac
  867. # Accept the important Cygnus configure options, so we can diagnose typos.
  868. case $ac_dashdash$ac_option in
  869. --)
  870. ac_dashdash=yes ;;
  871. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  872. ac_prev=bindir ;;
  873. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  874. bindir=$ac_optarg ;;
  875. -build | --build | --buil | --bui | --bu)
  876. ac_prev=build_alias ;;
  877. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  878. build_alias=$ac_optarg ;;
  879. -cache-file | --cache-file | --cache-fil | --cache-fi \
  880. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  881. ac_prev=cache_file ;;
  882. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  883. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  884. cache_file=$ac_optarg ;;
  885. --config-cache | -C)
  886. cache_file=config.cache ;;
  887. -datadir | --datadir | --datadi | --datad)
  888. ac_prev=datadir ;;
  889. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  890. datadir=$ac_optarg ;;
  891. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  892. | --dataroo | --dataro | --datar)
  893. ac_prev=datarootdir ;;
  894. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  895. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  896. datarootdir=$ac_optarg ;;
  897. -disable-* | --disable-*)
  898. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  899. # Reject names that are not valid shell variable names.
  900. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  901. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  902. { (exit 1); exit 1; }; }
  903. ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  904. eval enable_$ac_feature=no ;;
  905. -docdir | --docdir | --docdi | --doc | --do)
  906. ac_prev=docdir ;;
  907. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  908. docdir=$ac_optarg ;;
  909. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  910. ac_prev=dvidir ;;
  911. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  912. dvidir=$ac_optarg ;;
  913. -enable-* | --enable-*)
  914. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  915. # Reject names that are not valid shell variable names.
  916. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  917. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  918. { (exit 1); exit 1; }; }
  919. ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  920. eval enable_$ac_feature=\$ac_optarg ;;
  921. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  922. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  923. | --exec | --exe | --ex)
  924. ac_prev=exec_prefix ;;
  925. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  926. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  927. | --exec=* | --exe=* | --ex=*)
  928. exec_prefix=$ac_optarg ;;
  929. -gas | --gas | --ga | --g)
  930. # Obsolete; use --with-gas.
  931. with_gas=yes ;;
  932. -help | --help | --hel | --he | -h)
  933. ac_init_help=long ;;
  934. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  935. ac_init_help=recursive ;;
  936. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  937. ac_init_help=short ;;
  938. -host | --host | --hos | --ho)
  939. ac_prev=host_alias ;;
  940. -host=* | --host=* | --hos=* | --ho=*)
  941. host_alias=$ac_optarg ;;
  942. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  943. ac_prev=htmldir ;;
  944. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  945. | --ht=*)
  946. htmldir=$ac_optarg ;;
  947. -includedir | --includedir | --includedi | --included | --include \
  948. | --includ | --inclu | --incl | --inc)
  949. ac_prev=includedir ;;
  950. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  951. | --includ=* | --inclu=* | --incl=* | --inc=*)
  952. includedir=$ac_optarg ;;
  953. -infodir | --infodir | --infodi | --infod | --info | --inf)
  954. ac_prev=infodir ;;
  955. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  956. infodir=$ac_optarg ;;
  957. -libdir | --libdir | --libdi | --libd)
  958. ac_prev=libdir ;;
  959. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  960. libdir=$ac_optarg ;;
  961. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  962. | --libexe | --libex | --libe)
  963. ac_prev=libexecdir ;;
  964. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  965. | --libexe=* | --libex=* | --libe=*)
  966. libexecdir=$ac_optarg ;;
  967. -localedir | --localedir | --localedi | --localed | --locale)
  968. ac_prev=localedir ;;
  969. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  970. localedir=$ac_optarg ;;
  971. -localstatedir | --localstatedir | --localstatedi | --localstated \
  972. | --localstate | --localstat | --localsta | --localst | --locals)
  973. ac_prev=localstatedir ;;
  974. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  975. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  976. localstatedir=$ac_optarg ;;
  977. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  978. ac_prev=mandir ;;
  979. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  980. mandir=$ac_optarg ;;
  981. -nfp | --nfp | --nf)
  982. # Obsolete; use --without-fp.
  983. with_fp=no ;;
  984. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  985. | --no-cr | --no-c | -n)
  986. no_create=yes ;;
  987. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  988. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  989. no_recursion=yes ;;
  990. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  991. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  992. | --oldin | --oldi | --old | --ol | --o)
  993. ac_prev=oldincludedir ;;
  994. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  995. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  996. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  997. oldincludedir=$ac_optarg ;;
  998. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  999. ac_prev=prefix ;;
  1000. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1001. prefix=$ac_optarg ;;
  1002. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1003. | --program-pre | --program-pr | --program-p)
  1004. ac_prev=program_prefix ;;
  1005. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1006. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1007. program_prefix=$ac_optarg ;;
  1008. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1009. | --program-suf | --program-su | --program-s)
  1010. ac_prev=program_suffix ;;
  1011. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1012. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1013. program_suffix=$ac_optarg ;;
  1014. -program-transform-name | --program-transform-name \
  1015. | --program-transform-nam | --program-transform-na \
  1016. | --program-transform-n | --program-transform- \
  1017. | --program-transform | --program-transfor \
  1018. | --program-transfo | --program-transf \
  1019. | --program-trans | --program-tran \
  1020. | --progr-tra | --program-tr | --program-t)
  1021. ac_prev=program_transform_name ;;
  1022. -program-transform-name=* | --program-transform-name=* \
  1023. | --program-transform-nam=* | --program-transform-na=* \
  1024. | --program-transform-n=* | --program-transform-=* \
  1025. | --program-transform=* | --program-transfor=* \
  1026. | --program-transfo=* | --program-transf=* \
  1027. | --program-trans=* | --program-tran=* \
  1028. | --progr-tra=* | --program-tr=* | --program-t=*)
  1029. program_transform_name=$ac_optarg ;;
  1030. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1031. ac_prev=pdfdir ;;
  1032. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1033. pdfdir=$ac_optarg ;;
  1034. -psdir | --psdir | --psdi | --psd | --ps)
  1035. ac_prev=psdir ;;
  1036. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1037. psdir=$ac_optarg ;;
  1038. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1039. | -silent | --silent | --silen | --sile | --sil)
  1040. silent=yes ;;
  1041. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1042. ac_prev=sbindir ;;
  1043. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1044. | --sbi=* | --sb=*)
  1045. sbindir=$ac_optarg ;;
  1046. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1047. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1048. | --sharedst | --shareds | --shared | --share | --shar \
  1049. | --sha | --sh)
  1050. ac_prev=sharedstatedir ;;
  1051. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1052. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1053. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1054. | --sha=* | --sh=*)
  1055. sharedstatedir=$ac_optarg ;;
  1056. -site | --site | --sit)
  1057. ac_prev=site ;;
  1058. -site=* | --site=* | --sit=*)
  1059. site=$ac_optarg ;;
  1060. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1061. ac_prev=srcdir ;;
  1062. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1063. srcdir=$ac_optarg ;;
  1064. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1065. | --syscon | --sysco | --sysc | --sys | --sy)
  1066. ac_prev=sysconfdir ;;
  1067. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1068. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1069. sysconfdir=$ac_optarg ;;
  1070. -target | --target | --targe | --targ | --tar | --ta | --t)
  1071. ac_prev=target_alias ;;
  1072. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1073. target_alias=$ac_optarg ;;
  1074. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1075. verbose=yes ;;
  1076. -version | --version | --versio | --versi | --vers | -V)
  1077. ac_init_version=: ;;
  1078. -with-* | --with-*)
  1079. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1080. # Reject names that are not valid shell variable names.
  1081. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1082. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1083. { (exit 1); exit 1; }; }
  1084. ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1085. eval with_$ac_package=\$ac_optarg ;;
  1086. -without-* | --without-*)
  1087. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1088. # Reject names that are not valid shell variable names.
  1089. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1090. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1091. { (exit 1); exit 1; }; }
  1092. ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1093. eval with_$ac_package=no ;;
  1094. --x)
  1095. # Obsolete; use --with-x.
  1096. with_x=yes ;;
  1097. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1098. | --x-incl | --x-inc | --x-in | --x-i)
  1099. ac_prev=x_includes ;;
  1100. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1101. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1102. x_includes=$ac_optarg ;;
  1103. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1104. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1105. ac_prev=x_libraries ;;
  1106. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1107. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1108. x_libraries=$ac_optarg ;;
  1109. -*) { echo "$as_me: error: unrecognized option: $ac_option
  1110. Try \`$0 --help' for more information." >&2
  1111. { (exit 1); exit 1; }; }
  1112. ;;
  1113. *=*)
  1114. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1115. # Reject names that are not valid shell variable names.
  1116. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1117. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1118. { (exit 1); exit 1; }; }
  1119. eval $ac_envvar=\$ac_optarg
  1120. export $ac_envvar ;;
  1121. *)
  1122. # FIXME: should be removed in autoconf 3.0.
  1123. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1124. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1125. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1126. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1127. ;;
  1128. esac
  1129. done
  1130. if test -n "$ac_prev"; then
  1131. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1132. { echo "$as_me: error: missing argument to $ac_option" >&2
  1133. { (exit 1); exit 1; }; }
  1134. fi
  1135. # Be sure to have absolute directory names.
  1136. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1137. datadir sysconfdir sharedstatedir localstatedir includedir \
  1138. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1139. libdir localedir mandir
  1140. do
  1141. eval ac_val=\$$ac_var
  1142. case $ac_val in
  1143. [\\/$]* | ?:[\\/]* ) continue;;
  1144. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1145. esac
  1146. { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1147. { (exit 1); exit 1; }; }
  1148. done
  1149. # There might be people who depend on the old broken behavior: `$host'
  1150. # used to hold the argument of --host etc.
  1151. # FIXME: To remove some day.
  1152. build=$build_alias
  1153. host=$host_alias
  1154. target=$target_alias
  1155. # FIXME: To remove some day.
  1156. if test "x$host_alias" != x; then
  1157. if test "x$build_alias" = x; then
  1158. cross_compiling=maybe
  1159. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1160. If a cross compiler is detected then cross compile mode will be used." >&2
  1161. elif test "x$build_alias" != "x$host_alias"; then
  1162. cross_compiling=yes
  1163. fi
  1164. fi
  1165. ac_tool_prefix=
  1166. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1167. test "$silent" = yes && exec 6>/dev/null
  1168. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1169. ac_ls_di=`ls -di .` &&
  1170. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1171. { echo "$as_me: error: Working directory cannot be determined" >&2
  1172. { (exit 1); exit 1; }; }
  1173. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1174. { echo "$as_me: error: pwd does not report name of working directory" >&2
  1175. { (exit 1); exit 1; }; }
  1176. # Find the source files, if location was not specified.
  1177. if test -z "$srcdir"; then
  1178. ac_srcdir_defaulted=yes
  1179. # Try the directory containing this script, then the parent directory.
  1180. ac_confdir=`$as_dirname -- "$0" ||
  1181. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1182. X"$0" : 'X\(//\)[^/]' \| \
  1183. X"$0" : 'X\(//\)$' \| \
  1184. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1185. echo X"$0" |
  1186. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1187. s//\1/
  1188. q
  1189. }
  1190. /^X\(\/\/\)[^/].*/{
  1191. s//\1/
  1192. q
  1193. }
  1194. /^X\(\/\/\)$/{
  1195. s//\1/
  1196. q
  1197. }
  1198. /^X\(\/\).*/{
  1199. s//\1/
  1200. q
  1201. }
  1202. s/.*/./; q'`
  1203. srcdir=$ac_confdir
  1204. if test ! -r "$srcdir/$ac_unique_file"; then
  1205. srcdir=..
  1206. fi
  1207. else
  1208. ac_srcdir_defaulted=no
  1209. fi
  1210. if test ! -r "$srcdir/$ac_unique_file"; then
  1211. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1212. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1213. { (exit 1); exit 1; }; }
  1214. fi
  1215. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1216. ac_abs_confdir=`(
  1217. cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1218. { (exit 1); exit 1; }; }
  1219. pwd)`
  1220. # When building in place, set srcdir=.
  1221. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1222. srcdir=.
  1223. fi
  1224. # Remove unnecessary trailing slashes from srcdir.
  1225. # Double slashes in file names in object file debugging info
  1226. # mess up M-x gdb in Emacs.
  1227. case $srcdir in
  1228. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1229. esac
  1230. for ac_var in $ac_precious_vars; do
  1231. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1232. eval ac_env_${ac_var}_value=\$${ac_var}
  1233. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1234. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1235. done
  1236. #
  1237. # Report the --help message.
  1238. #
  1239. if test "$ac_init_help" = "long"; then
  1240. # Omit some internal or obsolete options to make the list less imposing.
  1241. # This message is too long to be a string in the A/UX 3.1 sh.
  1242. cat <<_ACEOF
  1243. \`configure' configures PCRE 7.8 to adapt to many kinds of systems.
  1244. Usage: $0 [OPTION]... [VAR=VALUE]...
  1245. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1246. VAR=VALUE. See below for descriptions of some of the useful variables.
  1247. Defaults for the options are specified in brackets.
  1248. Configuration:
  1249. -h, --help display this help and exit
  1250. --help=short display options specific to this package
  1251. --help=recursive display the short help of all the included packages
  1252. -V, --version display version information and exit
  1253. -q, --quiet, --silent do not print \`checking...' messages
  1254. --cache-file=FILE cache test results in FILE [disabled]
  1255. -C, --config-cache alias for \`--cache-file=config.cache'
  1256. -n, --no-create do not create output files
  1257. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1258. Installation directories:
  1259. --prefix=PREFIX install architecture-independent files in PREFIX
  1260. [$ac_default_prefix]
  1261. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1262. [PREFIX]
  1263. By default, \`make install' will install all the files in
  1264. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1265. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1266. for instance \`--prefix=\$HOME'.
  1267. For better control, use the options below.
  1268. Fine tuning of the installation directories:
  1269. --bindir=DIR user executables [EPREFIX/bin]
  1270. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1271. --libexecdir=DIR program executables [EPREFIX/libexec]
  1272. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1273. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1274. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1275. --libdir=DIR object code libraries [EPREFIX/lib]
  1276. --includedir=DIR C header files [PREFIX/include]
  1277. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1278. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1279. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1280. --infodir=DIR info documentation [DATAROOTDIR/info]
  1281. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1282. --mandir=DIR man documentation [DATAROOTDIR/man]
  1283. --docdir=DIR documentation root [DATAROOTDIR/doc/pcre]
  1284. --htmldir=DIR html documentation [DOCDIR]
  1285. --dvidir=DIR dvi documentation [DOCDIR]
  1286. --pdfdir=DIR pdf documentation [DOCDIR]
  1287. --psdir=DIR ps documentation [DOCDIR]
  1288. _ACEOF
  1289. cat <<\_ACEOF
  1290. Program names:
  1291. --program-prefix=PREFIX prepend PREFIX to installed program names
  1292. --program-suffix=SUFFIX append SUFFIX to installed program names
  1293. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1294. System types:
  1295. --build=BUILD configure for building on BUILD [guessed]
  1296. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1297. _ACEOF
  1298. fi
  1299. if test -n "$ac_init_help"; then
  1300. case $ac_init_help in
  1301. short | recursive ) echo "Configuration of PCRE 7.8:";;
  1302. esac
  1303. cat <<\_ACEOF
  1304. Optional Features:
  1305. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1306. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1307. --disable-dependency-tracking speeds up one-time build
  1308. --enable-dependency-tracking do not reject slow dependency extractors
  1309. --enable-shared[=PKGS] build shared libraries [default=yes]
  1310. --enable-static[=PKGS] build static libraries [default=yes]
  1311. --enable-fast-install[=PKGS]
  1312. optimize for fast installation [default=yes]
  1313. --disable-libtool-lock avoid locking (might break parallel builds)
  1314. --disable-cpp disable C++ support
  1315. --enable-rebuild-chartables
  1316. rebuild character tables in current locale
  1317. --enable-utf8 enable UTF-8 support
  1318. --enable-unicode-properties
  1319. enable Unicode properties support (implies
  1320. --enable-utf8)
  1321. --enable-newline-is-cr use CR as newline character
  1322. --enable-newline-is-lf use LF as newline character (default)
  1323. --enable-newline-is-crlf
  1324. use CRLF as newline sequence
  1325. --enable-newline-is-anycrlf
  1326. use CR, LF, or CRLF as newline sequence
  1327. --enable-newline-is-any use any valid Unicode newline sequence
  1328. --enable-bsr-anycrlf \R matches only CR, LF, CRLF by default
  1329. --enable-ebcdic assume EBCDIC coding rather than ASCII; use this
  1330. only in (uncommon) EBCDIC environments; it implies
  1331. --enable-rebuild-chartables
  1332. --disable-stack-for-recursion
  1333. don't use stack recursion when matching
  1334. --enable-pcregrep-libz link pcregrep with libz to handle .gz files
  1335. --enable-pcregrep-libbz2
  1336. link pcregrep with libbz2 to handle .bz2 files
  1337. --enable-pcretest-libreadline
  1338. link pcretest with libreadline
  1339. Optional Packages:
  1340. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1341. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1342. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1343. --with-pic try to use only PIC/non-PIC objects [default=use
  1344. both]
  1345. --with-tags[=TAGS] include additional configurations [automatic]
  1346. --with-posix-malloc-threshold=NBYTES
  1347. threshold for POSIX malloc usage (default=10)
  1348. --with-link-size=N internal link size (2, 3, or 4 allowed; default=2)
  1349. --with-match-limit=N default limit on internal looping (default=10000000)
  1350. --with-match-limit-recursion=N
  1351. default limit on internal recursion
  1352. (default=MATCH_LIMIT)
  1353. Some influential environment variables:
  1354. CC C compiler command
  1355. CFLAGS C compiler flags
  1356. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1357. nonstandard directory <lib dir>
  1358. LIBS libraries to pass to the linker, e.g. -l<library>
  1359. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1360. you have headers in a nonstandard directory <include dir>
  1361. CXX C++ compiler command
  1362. CXXFLAGS C++ compiler flags
  1363. CPP C preprocessor
  1364. CXXCPP C++ preprocessor
  1365. F77 Fortran 77 compiler command
  1366. FFLAGS Fortran 77 compiler flags
  1367. Use these variables to override the choices made by `configure' or to help
  1368. it to find libraries and programs with nonstandard names/locations.
  1369. _ACEOF
  1370. ac_status=$?
  1371. fi
  1372. if test "$ac_init_help" = "recursive"; then
  1373. # If there are subdirs, report their specific --help.
  1374. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1375. test -d "$ac_dir" || continue
  1376. ac_builddir=.
  1377. case "$ac_dir" in
  1378. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1379. *)
  1380. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1381. # A ".." for each directory in $ac_dir_suffix.
  1382. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1383. case $ac_top_builddir_sub in
  1384. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1385. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1386. esac ;;
  1387. esac
  1388. ac_abs_top_builddir=$ac_pwd
  1389. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1390. # for backward compatibility:
  1391. ac_top_builddir=$ac_top_build_prefix
  1392. case $srcdir in
  1393. .) # We are building in place.
  1394. ac_srcdir=.
  1395. ac_top_srcdir=$ac_top_builddir_sub
  1396. ac_abs_top_srcdir=$ac_pwd ;;
  1397. [\\/]* | ?:[\\/]* ) # Absolute name.
  1398. ac_srcdir=$srcdir$ac_dir_suffix;
  1399. ac_top_srcdir=$srcdir
  1400. ac_abs_top_srcdir=$srcdir ;;
  1401. *) # Relative name.
  1402. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1403. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1404. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1405. esac
  1406. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1407. cd "$ac_dir" || { ac_status=$?; continue; }
  1408. # Check for guested configure.
  1409. if test -f "$ac_srcdir/configure.gnu"; then
  1410. echo &&
  1411. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1412. elif test -f "$ac_srcdir/configure"; then
  1413. echo &&
  1414. $SHELL "$ac_srcdir/configure" --help=recursive
  1415. else
  1416. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1417. fi || ac_status=$?
  1418. cd "$ac_pwd" || { ac_status=$?; break; }
  1419. done
  1420. fi
  1421. test -n "$ac_init_help" && exit $ac_status
  1422. if $ac_init_version; then
  1423. cat <<\_ACEOF
  1424. PCRE configure 7.8
  1425. generated by GNU Autoconf 2.61
  1426. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1427. 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1428. This configure script is free software; the Free Software Foundation
  1429. gives unlimited permission to copy, distribute and modify it.
  1430. _ACEOF
  1431. exit
  1432. fi
  1433. cat >config.log <<_ACEOF
  1434. This file contains any messages produced by compilers while
  1435. running configure, to aid debugging if configure makes a mistake.
  1436. It was created by PCRE $as_me 7.8, which was
  1437. generated by GNU Autoconf 2.61. Invocation command line was
  1438. $ $0 $@
  1439. _ACEOF
  1440. exec 5>>config.log
  1441. {
  1442. cat <<_ASUNAME
  1443. ## --------- ##
  1444. ## Platform. ##
  1445. ## --------- ##
  1446. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1447. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1448. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1449. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1450. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1451. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1452. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1453. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1454. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1455. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1456. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1457. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1458. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1459. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1460. _ASUNAME
  1461. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1462. for as_dir in $PATH
  1463. do
  1464. IFS=$as_save_IFS
  1465. test -z "$as_dir" && as_dir=.
  1466. echo "PATH: $as_dir"
  1467. done
  1468. IFS=$as_save_IFS
  1469. } >&5
  1470. cat >&5 <<_ACEOF
  1471. ## ----------- ##
  1472. ## Core tests. ##
  1473. ## ----------- ##
  1474. _ACEOF
  1475. # Keep a trace of the command line.
  1476. # Strip out --no-create and --no-recursion so they do not pile up.
  1477. # Strip out --silent because we don't want to record it for future runs.
  1478. # Also quote any args containing shell meta-characters.
  1479. # Make two passes to allow for proper duplicate-argument suppression.
  1480. ac_configure_args=
  1481. ac_configure_args0=
  1482. ac_configure_args1=
  1483. ac_must_keep_next=false
  1484. for ac_pass in 1 2
  1485. do
  1486. for ac_arg
  1487. do
  1488. case $ac_arg in
  1489. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1490. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1491. | -silent | --silent | --silen | --sile | --sil)
  1492. continue ;;
  1493. *\'*)
  1494. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1495. esac
  1496. case $ac_pass in
  1497. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1498. 2)
  1499. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1500. if test $ac_must_keep_next = true; then
  1501. ac_must_keep_next=false # Got value, back to normal.
  1502. else
  1503. case $ac_arg in
  1504. *=* | --config-cache | -C | -disable-* | --disable-* \
  1505. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1506. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1507. | -with-* | --with-* | -without-* | --without-* | --x)
  1508. case "$ac_configure_args0 " in
  1509. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1510. esac
  1511. ;;
  1512. -* ) ac_must_keep_next=true ;;
  1513. esac
  1514. fi
  1515. ac_configure_args="$ac_configure_args '$ac_arg'"
  1516. ;;
  1517. esac
  1518. done
  1519. done
  1520. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1521. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1522. # When interrupted or exit'd, cleanup temporary files, and complete
  1523. # config.log. We remove comments because anyway the quotes in there
  1524. # would cause problems or look ugly.
  1525. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1526. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1527. trap 'exit_status=$?
  1528. # Save into config.log some information that might help in debugging.
  1529. {
  1530. echo
  1531. cat <<\_ASBOX
  1532. ## ---------------- ##
  1533. ## Cache variables. ##
  1534. ## ---------------- ##
  1535. _ASBOX
  1536. echo
  1537. # The following way of writing the cache mishandles newlines in values,
  1538. (
  1539. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1540. eval ac_val=\$$ac_var
  1541. case $ac_val in #(
  1542. *${as_nl}*)
  1543. case $ac_var in #(
  1544. *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1545. echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1546. esac
  1547. case $ac_var in #(
  1548. _ | IFS | as_nl) ;; #(
  1549. *) $as_unset $ac_var ;;
  1550. esac ;;
  1551. esac
  1552. done
  1553. (set) 2>&1