/configure

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