Program to generate an xml file based on a provided text file
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5469 lines
160KB

  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for generarxml 1.0.
  4. #
  5. # Report bugs to <chris@cromer.cl>.
  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. if (eval "$as_required") 2>/dev/null; then :
  188. as_have_required=yes
  189. else
  190. as_have_required=no
  191. fi
  192. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  193. else
  194. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  195. as_found=false
  196. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  197. do
  198. IFS=$as_save_IFS
  199. test -z "$as_dir" && as_dir=.
  200. as_found=:
  201. case $as_dir in #(
  202. /*)
  203. for as_base in sh bash ksh sh5; do
  204. # Try only shells that exist, to save several forks.
  205. as_shell=$as_dir/$as_base
  206. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  207. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  208. CONFIG_SHELL=$as_shell as_have_required=yes
  209. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  210. break 2
  211. fi
  212. fi
  213. done;;
  214. esac
  215. as_found=false
  216. done
  217. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  218. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  219. CONFIG_SHELL=$SHELL as_have_required=yes
  220. fi; }
  221. IFS=$as_save_IFS
  222. if test "x$CONFIG_SHELL" != x; then :
  223. export CONFIG_SHELL
  224. # We cannot yet assume a decent shell, so we have to provide a
  225. # neutralization value for shells without unset; and this also
  226. # works around shells that cannot unset nonexistent variables.
  227. # Preserve -v and -x to the replacement shell.
  228. BASH_ENV=/dev/null
  229. ENV=/dev/null
  230. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  231. case $- in # ((((
  232. *v*x* | *x*v* ) as_opts=-vx ;;
  233. *v* ) as_opts=-v ;;
  234. *x* ) as_opts=-x ;;
  235. * ) as_opts= ;;
  236. esac
  237. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  238. # Admittedly, this is quite paranoid, since all the known shells bail
  239. # out after a failed `exec'.
  240. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  241. exit 255
  242. fi
  243. if test x$as_have_required = xno; then :
  244. $as_echo "$0: This script requires a shell more modern than all"
  245. $as_echo "$0: the shells that I found on your system."
  246. if test x${ZSH_VERSION+set} = xset ; then
  247. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  248. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  249. else
  250. $as_echo "$0: Please tell bug-autoconf@gnu.org and chris@cromer.cl
  251. $0: about your system, including any error possibly output
  252. $0: before this message. Then install a modern shell, or
  253. $0: manually run the script under such a shell if you do
  254. $0: have one."
  255. fi
  256. exit 1
  257. fi
  258. fi
  259. fi
  260. SHELL=${CONFIG_SHELL-/bin/sh}
  261. export SHELL
  262. # Unset more variables known to interfere with behavior of common tools.
  263. CLICOLOR_FORCE= GREP_OPTIONS=
  264. unset CLICOLOR_FORCE GREP_OPTIONS
  265. ## --------------------- ##
  266. ## M4sh Shell Functions. ##
  267. ## --------------------- ##
  268. # as_fn_unset VAR
  269. # ---------------
  270. # Portably unset VAR.
  271. as_fn_unset ()
  272. {
  273. { eval $1=; unset $1;}
  274. }
  275. as_unset=as_fn_unset
  276. # as_fn_set_status STATUS
  277. # -----------------------
  278. # Set $? to STATUS, without forking.
  279. as_fn_set_status ()
  280. {
  281. return $1
  282. } # as_fn_set_status
  283. # as_fn_exit STATUS
  284. # -----------------
  285. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  286. as_fn_exit ()
  287. {
  288. set +e
  289. as_fn_set_status $1
  290. exit $1
  291. } # as_fn_exit
  292. # as_fn_mkdir_p
  293. # -------------
  294. # Create "$as_dir" as a directory, including parents if necessary.
  295. as_fn_mkdir_p ()
  296. {
  297. case $as_dir in #(
  298. -*) as_dir=./$as_dir;;
  299. esac
  300. test -d "$as_dir" || eval $as_mkdir_p || {
  301. as_dirs=
  302. while :; do
  303. case $as_dir in #(
  304. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  305. *) as_qdir=$as_dir;;
  306. esac
  307. as_dirs="'$as_qdir' $as_dirs"
  308. as_dir=`$as_dirname -- "$as_dir" ||
  309. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  310. X"$as_dir" : 'X\(//\)[^/]' \| \
  311. X"$as_dir" : 'X\(//\)$' \| \
  312. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  313. $as_echo X"$as_dir" |
  314. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  315. s//\1/
  316. q
  317. }
  318. /^X\(\/\/\)[^/].*/{
  319. s//\1/
  320. q
  321. }
  322. /^X\(\/\/\)$/{
  323. s//\1/
  324. q
  325. }
  326. /^X\(\/\).*/{
  327. s//\1/
  328. q
  329. }
  330. s/.*/./; q'`
  331. test -d "$as_dir" && break
  332. done
  333. test -z "$as_dirs" || eval "mkdir $as_dirs"
  334. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  335. } # as_fn_mkdir_p
  336. # as_fn_executable_p FILE
  337. # -----------------------
  338. # Test if FILE is an executable regular file.
  339. as_fn_executable_p ()
  340. {
  341. test -f "$1" && test -x "$1"
  342. } # as_fn_executable_p
  343. # as_fn_append VAR VALUE
  344. # ----------------------
  345. # Append the text in VALUE to the end of the definition contained in VAR. Take
  346. # advantage of any shell optimizations that allow amortized linear growth over
  347. # repeated appends, instead of the typical quadratic growth present in naive
  348. # implementations.
  349. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  350. eval 'as_fn_append ()
  351. {
  352. eval $1+=\$2
  353. }'
  354. else
  355. as_fn_append ()
  356. {
  357. eval $1=\$$1\$2
  358. }
  359. fi # as_fn_append
  360. # as_fn_arith ARG...
  361. # ------------------
  362. # Perform arithmetic evaluation on the ARGs, and store the result in the
  363. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  364. # must be portable across $(()) and expr.
  365. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  366. eval 'as_fn_arith ()
  367. {
  368. as_val=$(( $* ))
  369. }'
  370. else
  371. as_fn_arith ()
  372. {
  373. as_val=`expr "$@" || test $? -eq 1`
  374. }
  375. fi # as_fn_arith
  376. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  377. # ----------------------------------------
  378. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  379. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  380. # script with STATUS, using 1 if that was 0.
  381. as_fn_error ()
  382. {
  383. as_status=$1; test $as_status -eq 0 && as_status=1
  384. if test "$4"; then
  385. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  386. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  387. fi
  388. $as_echo "$as_me: error: $2" >&2
  389. as_fn_exit $as_status
  390. } # as_fn_error
  391. if expr a : '\(a\)' >/dev/null 2>&1 &&
  392. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  393. as_expr=expr
  394. else
  395. as_expr=false
  396. fi
  397. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  398. as_basename=basename
  399. else
  400. as_basename=false
  401. fi
  402. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  403. as_dirname=dirname
  404. else
  405. as_dirname=false
  406. fi
  407. as_me=`$as_basename -- "$0" ||
  408. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  409. X"$0" : 'X\(//\)$' \| \
  410. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  411. $as_echo X/"$0" |
  412. sed '/^.*\/\([^/][^/]*\)\/*$/{
  413. s//\1/
  414. q
  415. }
  416. /^X\/\(\/\/\)$/{
  417. s//\1/
  418. q
  419. }
  420. /^X\/\(\/\).*/{
  421. s//\1/
  422. q
  423. }
  424. s/.*/./; q'`
  425. # Avoid depending upon Character Ranges.
  426. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  427. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  428. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  429. as_cr_digits='0123456789'
  430. as_cr_alnum=$as_cr_Letters$as_cr_digits
  431. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  432. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  433. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  434. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  435. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  436. sed -n '
  437. p
  438. /[$]LINENO/=
  439. ' <$as_myself |
  440. sed '
  441. s/[$]LINENO.*/&-/
  442. t lineno
  443. b
  444. :lineno
  445. N
  446. :loop
  447. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  448. t loop
  449. s/-\n.*//
  450. ' >$as_me.lineno &&
  451. chmod +x "$as_me.lineno" ||
  452. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  453. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  454. # already done that, so ensure we don't try to do so again and fall
  455. # in an infinite loop. This has already happened in practice.
  456. _as_can_reexec=no; export _as_can_reexec
  457. # Don't try to exec as it changes $[0], causing all sort of problems
  458. # (the dirname of $[0] is not the place where we might find the
  459. # original and so on. Autoconf is especially sensitive to this).
  460. . "./$as_me.lineno"
  461. # Exit status is that of the last command.
  462. exit
  463. }
  464. ECHO_C= ECHO_N= ECHO_T=
  465. case `echo -n x` in #(((((
  466. -n*)
  467. case `echo 'xy\c'` in
  468. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  469. xy) ECHO_C='\c';;
  470. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  471. ECHO_T=' ';;
  472. esac;;
  473. *)
  474. ECHO_N='-n';;
  475. esac
  476. rm -f conf$$ conf$$.exe conf$$.file
  477. if test -d conf$$.dir; then
  478. rm -f conf$$.dir/conf$$.file
  479. else
  480. rm -f conf$$.dir
  481. mkdir conf$$.dir 2>/dev/null
  482. fi
  483. if (echo >conf$$.file) 2>/dev/null; then
  484. if ln -s conf$$.file conf$$ 2>/dev/null; then
  485. as_ln_s='ln -s'
  486. # ... but there are two gotchas:
  487. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  488. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  489. # In both cases, we have to default to `cp -pR'.
  490. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  491. as_ln_s='cp -pR'
  492. elif ln conf$$.file conf$$ 2>/dev/null; then
  493. as_ln_s=ln
  494. else
  495. as_ln_s='cp -pR'
  496. fi
  497. else
  498. as_ln_s='cp -pR'
  499. fi
  500. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  501. rmdir conf$$.dir 2>/dev/null
  502. if mkdir -p . 2>/dev/null; then
  503. as_mkdir_p='mkdir -p "$as_dir"'
  504. else
  505. test -d ./-p && rmdir ./-p
  506. as_mkdir_p=false
  507. fi
  508. as_test_x='test -x'
  509. as_executable_p=as_fn_executable_p
  510. # Sed expression to map a string onto a valid CPP name.
  511. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  512. # Sed expression to map a string onto a valid variable name.
  513. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  514. test -n "$DJDIR" || exec 7<&0 </dev/null
  515. exec 6>&1
  516. # Name of the host.
  517. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  518. # so uname gets run too.
  519. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  520. #
  521. # Initializations.
  522. #
  523. ac_default_prefix=/usr/local
  524. ac_clean_files=
  525. ac_config_libobj_dir=.
  526. LIBOBJS=
  527. cross_compiling=no
  528. subdirs=
  529. MFLAGS=
  530. MAKEFLAGS=
  531. # Identity of this package.
  532. PACKAGE_NAME='generarxml'
  533. PACKAGE_TARNAME='generarxml'
  534. PACKAGE_VERSION='1.0'
  535. PACKAGE_STRING='generarxml 1.0'
  536. PACKAGE_BUGREPORT='chris@cromer.cl'
  537. PACKAGE_URL='https://www.cromer.cl'
  538. ac_default_prefix=/usr
  539. ac_unique_file="src/main.c"
  540. ac_subst_vars='am__EXEEXT_FALSE
  541. am__EXEEXT_TRUE
  542. LTLIBOBJS
  543. LIBOBJS
  544. libxml2_LIBS
  545. libxml2_CFLAGS
  546. PKG_CONFIG_LIBDIR
  547. PKG_CONFIG_PATH
  548. PKG_CONFIG
  549. XML_LIBS
  550. XML_CPPFLAGS
  551. XML2_CONFIG
  552. M4
  553. am__fastdepCC_FALSE
  554. am__fastdepCC_TRUE
  555. CCDEPMODE
  556. am__nodep
  557. AMDEPBACKSLASH
  558. AMDEP_FALSE
  559. AMDEP_TRUE
  560. am__quote
  561. am__include
  562. DEPDIR
  563. OBJEXT
  564. EXEEXT
  565. ac_ct_CC
  566. CPPFLAGS
  567. LDFLAGS
  568. CFLAGS
  569. CC
  570. AM_BACKSLASH
  571. AM_DEFAULT_VERBOSITY
  572. AM_DEFAULT_V
  573. AM_V
  574. am__untar
  575. am__tar
  576. AMTAR
  577. am__leading_dot
  578. SET_MAKE
  579. AWK
  580. mkdir_p
  581. MKDIR_P
  582. INSTALL_STRIP_PROGRAM
  583. STRIP
  584. install_sh
  585. MAKEINFO
  586. AUTOHEADER
  587. AUTOMAKE
  588. AUTOCONF
  589. ACLOCAL
  590. VERSION
  591. PACKAGE
  592. CYGPATH_W
  593. am__isrc
  594. INSTALL_DATA
  595. INSTALL_SCRIPT
  596. INSTALL_PROGRAM
  597. target_alias
  598. host_alias
  599. build_alias
  600. LIBS
  601. ECHO_T
  602. ECHO_N
  603. ECHO_C
  604. DEFS
  605. mandir
  606. localedir
  607. libdir
  608. psdir
  609. pdfdir
  610. dvidir
  611. htmldir
  612. infodir
  613. docdir
  614. oldincludedir
  615. includedir
  616. localstatedir
  617. sharedstatedir
  618. sysconfdir
  619. datadir
  620. datarootdir
  621. libexecdir
  622. sbindir
  623. bindir
  624. program_transform_name
  625. prefix
  626. exec_prefix
  627. PACKAGE_URL
  628. PACKAGE_BUGREPORT
  629. PACKAGE_STRING
  630. PACKAGE_VERSION
  631. PACKAGE_TARNAME
  632. PACKAGE_NAME
  633. PATH_SEPARATOR
  634. SHELL'
  635. ac_subst_files=''
  636. ac_user_opts='
  637. enable_option_checking
  638. enable_silent_rules
  639. enable_dependency_tracking
  640. with_debug
  641. with_debug_encoding
  642. with_xml_prefix
  643. with_xml_exec_prefix
  644. enable_xmltest
  645. '
  646. ac_precious_vars='build_alias
  647. host_alias
  648. target_alias
  649. CC
  650. CFLAGS
  651. LDFLAGS
  652. LIBS
  653. CPPFLAGS
  654. PKG_CONFIG
  655. PKG_CONFIG_PATH
  656. PKG_CONFIG_LIBDIR
  657. libxml2_CFLAGS
  658. libxml2_LIBS'
  659. # Initialize some variables set by options.
  660. ac_init_help=
  661. ac_init_version=false
  662. ac_unrecognized_opts=
  663. ac_unrecognized_sep=
  664. # The variables have the same names as the options, with
  665. # dashes changed to underlines.
  666. cache_file=/dev/null
  667. exec_prefix=NONE
  668. no_create=
  669. no_recursion=
  670. prefix=NONE
  671. program_prefix=NONE
  672. program_suffix=NONE
  673. program_transform_name=s,x,x,
  674. silent=
  675. site=
  676. srcdir=
  677. verbose=
  678. x_includes=NONE
  679. x_libraries=NONE
  680. # Installation directory options.
  681. # These are left unexpanded so users can "make install exec_prefix=/foo"
  682. # and all the variables that are supposed to be based on exec_prefix
  683. # by default will actually change.
  684. # Use braces instead of parens because sh, perl, etc. also accept them.
  685. # (The list follows the same order as the GNU Coding Standards.)
  686. bindir='${exec_prefix}/bin'
  687. sbindir='${exec_prefix}/sbin'
  688. libexecdir='${exec_prefix}/libexec'
  689. datarootdir='${prefix}/share'
  690. datadir='${datarootdir}'
  691. sysconfdir='${prefix}/etc'
  692. sharedstatedir='${prefix}/com'
  693. localstatedir='${prefix}/var'
  694. includedir='${prefix}/include'
  695. oldincludedir='/usr/include'
  696. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  697. infodir='${datarootdir}/info'
  698. htmldir='${docdir}'
  699. dvidir='${docdir}'
  700. pdfdir='${docdir}'
  701. psdir='${docdir}'
  702. libdir='${exec_prefix}/lib'
  703. localedir='${datarootdir}/locale'
  704. mandir='${datarootdir}/man'
  705. ac_prev=
  706. ac_dashdash=
  707. for ac_option
  708. do
  709. # If the previous option needs an argument, assign it.
  710. if test -n "$ac_prev"; then
  711. eval $ac_prev=\$ac_option
  712. ac_prev=
  713. continue
  714. fi
  715. case $ac_option in
  716. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  717. *=) ac_optarg= ;;
  718. *) ac_optarg=yes ;;
  719. esac
  720. # Accept the important Cygnus configure options, so we can diagnose typos.
  721. case $ac_dashdash$ac_option in
  722. --)
  723. ac_dashdash=yes ;;
  724. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  725. ac_prev=bindir ;;
  726. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  727. bindir=$ac_optarg ;;
  728. -build | --build | --buil | --bui | --bu)
  729. ac_prev=build_alias ;;
  730. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  731. build_alias=$ac_optarg ;;
  732. -cache-file | --cache-file | --cache-fil | --cache-fi \
  733. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  734. ac_prev=cache_file ;;
  735. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  736. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  737. cache_file=$ac_optarg ;;
  738. --config-cache | -C)
  739. cache_file=config.cache ;;
  740. -datadir | --datadir | --datadi | --datad)
  741. ac_prev=datadir ;;
  742. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  743. datadir=$ac_optarg ;;
  744. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  745. | --dataroo | --dataro | --datar)
  746. ac_prev=datarootdir ;;
  747. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  748. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  749. datarootdir=$ac_optarg ;;
  750. -disable-* | --disable-*)
  751. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  752. # Reject names that are not valid shell variable names.
  753. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  754. as_fn_error $? "invalid feature name: $ac_useropt"
  755. ac_useropt_orig=$ac_useropt
  756. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  757. case $ac_user_opts in
  758. *"
  759. "enable_$ac_useropt"
  760. "*) ;;
  761. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  762. ac_unrecognized_sep=', ';;
  763. esac
  764. eval enable_$ac_useropt=no ;;
  765. -docdir | --docdir | --docdi | --doc | --do)
  766. ac_prev=docdir ;;
  767. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  768. docdir=$ac_optarg ;;
  769. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  770. ac_prev=dvidir ;;
  771. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  772. dvidir=$ac_optarg ;;
  773. -enable-* | --enable-*)
  774. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  775. # Reject names that are not valid shell variable names.
  776. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  777. as_fn_error $? "invalid feature name: $ac_useropt"
  778. ac_useropt_orig=$ac_useropt
  779. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  780. case $ac_user_opts in
  781. *"
  782. "enable_$ac_useropt"
  783. "*) ;;
  784. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  785. ac_unrecognized_sep=', ';;
  786. esac
  787. eval enable_$ac_useropt=\$ac_optarg ;;
  788. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  789. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  790. | --exec | --exe | --ex)
  791. ac_prev=exec_prefix ;;
  792. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  793. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  794. | --exec=* | --exe=* | --ex=*)
  795. exec_prefix=$ac_optarg ;;
  796. -gas | --gas | --ga | --g)
  797. # Obsolete; use --with-gas.
  798. with_gas=yes ;;
  799. -help | --help | --hel | --he | -h)
  800. ac_init_help=long ;;
  801. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  802. ac_init_help=recursive ;;
  803. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  804. ac_init_help=short ;;
  805. -host | --host | --hos | --ho)
  806. ac_prev=host_alias ;;
  807. -host=* | --host=* | --hos=* | --ho=*)
  808. host_alias=$ac_optarg ;;
  809. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  810. ac_prev=htmldir ;;
  811. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  812. | --ht=*)
  813. htmldir=$ac_optarg ;;
  814. -includedir | --includedir | --includedi | --included | --include \
  815. | --includ | --inclu | --incl | --inc)
  816. ac_prev=includedir ;;
  817. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  818. | --includ=* | --inclu=* | --incl=* | --inc=*)
  819. includedir=$ac_optarg ;;
  820. -infodir | --infodir | --infodi | --infod | --info | --inf)
  821. ac_prev=infodir ;;
  822. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  823. infodir=$ac_optarg ;;
  824. -libdir | --libdir | --libdi | --libd)
  825. ac_prev=libdir ;;
  826. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  827. libdir=$ac_optarg ;;
  828. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  829. | --libexe | --libex | --libe)
  830. ac_prev=libexecdir ;;
  831. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  832. | --libexe=* | --libex=* | --libe=*)
  833. libexecdir=$ac_optarg ;;
  834. -localedir | --localedir | --localedi | --localed | --locale)
  835. ac_prev=localedir ;;
  836. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  837. localedir=$ac_optarg ;;
  838. -localstatedir | --localstatedir | --localstatedi | --localstated \
  839. | --localstate | --localstat | --localsta | --localst | --locals)
  840. ac_prev=localstatedir ;;
  841. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  842. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  843. localstatedir=$ac_optarg ;;
  844. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  845. ac_prev=mandir ;;
  846. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  847. mandir=$ac_optarg ;;
  848. -nfp | --nfp | --nf)
  849. # Obsolete; use --without-fp.
  850. with_fp=no ;;
  851. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  852. | --no-cr | --no-c | -n)
  853. no_create=yes ;;
  854. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  855. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  856. no_recursion=yes ;;
  857. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  858. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  859. | --oldin | --oldi | --old | --ol | --o)
  860. ac_prev=oldincludedir ;;
  861. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  862. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  863. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  864. oldincludedir=$ac_optarg ;;
  865. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  866. ac_prev=prefix ;;
  867. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  868. prefix=$ac_optarg ;;
  869. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  870. | --program-pre | --program-pr | --program-p)
  871. ac_prev=program_prefix ;;
  872. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  873. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  874. program_prefix=$ac_optarg ;;
  875. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  876. | --program-suf | --program-su | --program-s)
  877. ac_prev=program_suffix ;;
  878. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  879. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  880. program_suffix=$ac_optarg ;;
  881. -program-transform-name | --program-transform-name \
  882. | --program-transform-nam | --program-transform-na \
  883. | --program-transform-n | --program-transform- \
  884. | --program-transform | --program-transfor \
  885. | --program-transfo | --program-transf \
  886. | --program-trans | --program-tran \
  887. | --progr-tra | --program-tr | --program-t)
  888. ac_prev=program_transform_name ;;
  889. -program-transform-name=* | --program-transform-name=* \
  890. | --program-transform-nam=* | --program-transform-na=* \
  891. | --program-transform-n=* | --program-transform-=* \
  892. | --program-transform=* | --program-transfor=* \
  893. | --program-transfo=* | --program-transf=* \
  894. | --program-trans=* | --program-tran=* \
  895. | --progr-tra=* | --program-tr=* | --program-t=*)
  896. program_transform_name=$ac_optarg ;;
  897. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  898. ac_prev=pdfdir ;;
  899. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  900. pdfdir=$ac_optarg ;;
  901. -psdir | --psdir | --psdi | --psd | --ps)
  902. ac_prev=psdir ;;
  903. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  904. psdir=$ac_optarg ;;
  905. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  906. | -silent | --silent | --silen | --sile | --sil)
  907. silent=yes ;;
  908. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  909. ac_prev=sbindir ;;
  910. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  911. | --sbi=* | --sb=*)
  912. sbindir=$ac_optarg ;;
  913. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  914. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  915. | --sharedst | --shareds | --shared | --share | --shar \
  916. | --sha | --sh)
  917. ac_prev=sharedstatedir ;;
  918. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  919. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  920. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  921. | --sha=* | --sh=*)
  922. sharedstatedir=$ac_optarg ;;
  923. -site | --site | --sit)
  924. ac_prev=site ;;
  925. -site=* | --site=* | --sit=*)
  926. site=$ac_optarg ;;
  927. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  928. ac_prev=srcdir ;;
  929. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  930. srcdir=$ac_optarg ;;
  931. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  932. | --syscon | --sysco | --sysc | --sys | --sy)
  933. ac_prev=sysconfdir ;;
  934. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  935. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  936. sysconfdir=$ac_optarg ;;
  937. -target | --target | --targe | --targ | --tar | --ta | --t)
  938. ac_prev=target_alias ;;
  939. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  940. target_alias=$ac_optarg ;;
  941. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  942. verbose=yes ;;
  943. -version | --version | --versio | --versi | --vers | -V)
  944. ac_init_version=: ;;
  945. -with-* | --with-*)
  946. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  947. # Reject names that are not valid shell variable names.
  948. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  949. as_fn_error $? "invalid package name: $ac_useropt"
  950. ac_useropt_orig=$ac_useropt
  951. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  952. case $ac_user_opts in
  953. *"
  954. "with_$ac_useropt"
  955. "*) ;;
  956. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  957. ac_unrecognized_sep=', ';;
  958. esac
  959. eval with_$ac_useropt=\$ac_optarg ;;
  960. -without-* | --without-*)
  961. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  962. # Reject names that are not valid shell variable names.
  963. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  964. as_fn_error $? "invalid package name: $ac_useropt"
  965. ac_useropt_orig=$ac_useropt
  966. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  967. case $ac_user_opts in
  968. *"
  969. "with_$ac_useropt"
  970. "*) ;;
  971. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  972. ac_unrecognized_sep=', ';;
  973. esac
  974. eval with_$ac_useropt=no ;;
  975. --x)
  976. # Obsolete; use --with-x.
  977. with_x=yes ;;
  978. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  979. | --x-incl | --x-inc | --x-in | --x-i)
  980. ac_prev=x_includes ;;
  981. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  982. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  983. x_includes=$ac_optarg ;;
  984. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  985. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  986. ac_prev=x_libraries ;;
  987. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  988. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  989. x_libraries=$ac_optarg ;;
  990. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  991. Try \`$0 --help' for more information"
  992. ;;
  993. *=*)
  994. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  995. # Reject names that are not valid shell variable names.
  996. case $ac_envvar in #(
  997. '' | [0-9]* | *[!_$as_cr_alnum]* )
  998. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  999. esac
  1000. eval $ac_envvar=\$ac_optarg
  1001. export $ac_envvar ;;
  1002. *)
  1003. # FIXME: should be removed in autoconf 3.0.
  1004. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1005. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1006. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1007. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1008. ;;
  1009. esac
  1010. done
  1011. if test -n "$ac_prev"; then
  1012. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1013. as_fn_error $? "missing argument to $ac_option"
  1014. fi
  1015. if test -n "$ac_unrecognized_opts"; then
  1016. case $enable_option_checking in
  1017. no) ;;
  1018. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1019. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1020. esac
  1021. fi
  1022. # Check all directory arguments for consistency.
  1023. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1024. datadir sysconfdir sharedstatedir localstatedir includedir \
  1025. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1026. libdir localedir mandir
  1027. do
  1028. eval ac_val=\$$ac_var
  1029. # Remove trailing slashes.
  1030. case $ac_val in
  1031. */ )
  1032. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1033. eval $ac_var=\$ac_val;;
  1034. esac
  1035. # Be sure to have absolute directory names.
  1036. case $ac_val in
  1037. [\\/$]* | ?:[\\/]* ) continue;;
  1038. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1039. esac
  1040. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1041. done
  1042. # There might be people who depend on the old broken behavior: `$host'
  1043. # used to hold the argument of --host etc.
  1044. # FIXME: To remove some day.
  1045. build=$build_alias
  1046. host=$host_alias
  1047. target=$target_alias
  1048. # FIXME: To remove some day.
  1049. if test "x$host_alias" != x; then
  1050. if test "x$build_alias" = x; then
  1051. cross_compiling=maybe
  1052. elif test "x$build_alias" != "x$host_alias"; then
  1053. cross_compiling=yes
  1054. fi
  1055. fi
  1056. ac_tool_prefix=
  1057. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1058. test "$silent" = yes && exec 6>/dev/null
  1059. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1060. ac_ls_di=`ls -di .` &&
  1061. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1062. as_fn_error $? "working directory cannot be determined"
  1063. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1064. as_fn_error $? "pwd does not report name of working directory"
  1065. # Find the source files, if location was not specified.
  1066. if test -z "$srcdir"; then
  1067. ac_srcdir_defaulted=yes
  1068. # Try the directory containing this script, then the parent directory.
  1069. ac_confdir=`$as_dirname -- "$as_myself" ||
  1070. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1071. X"$as_myself" : 'X\(//\)[^/]' \| \
  1072. X"$as_myself" : 'X\(//\)$' \| \
  1073. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1074. $as_echo X"$as_myself" |
  1075. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1076. s//\1/
  1077. q
  1078. }
  1079. /^X\(\/\/\)[^/].*/{
  1080. s//\1/
  1081. q
  1082. }
  1083. /^X\(\/\/\)$/{
  1084. s//\1/
  1085. q
  1086. }
  1087. /^X\(\/\).*/{
  1088. s//\1/
  1089. q
  1090. }
  1091. s/.*/./; q'`
  1092. srcdir=$ac_confdir
  1093. if test ! -r "$srcdir/$ac_unique_file"; then
  1094. srcdir=..
  1095. fi
  1096. else
  1097. ac_srcdir_defaulted=no
  1098. fi
  1099. if test ! -r "$srcdir/$ac_unique_file"; then
  1100. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1101. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1102. fi
  1103. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1104. ac_abs_confdir=`(
  1105. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1106. pwd)`
  1107. # When building in place, set srcdir=.
  1108. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1109. srcdir=.
  1110. fi
  1111. # Remove unnecessary trailing slashes from srcdir.
  1112. # Double slashes in file names in object file debugging info
  1113. # mess up M-x gdb in Emacs.
  1114. case $srcdir in
  1115. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1116. esac
  1117. for ac_var in $ac_precious_vars; do
  1118. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1119. eval ac_env_${ac_var}_value=\$${ac_var}
  1120. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1121. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1122. done
  1123. #
  1124. # Report the --help message.
  1125. #
  1126. if test "$ac_init_help" = "long"; then
  1127. # Omit some internal or obsolete options to make the list less imposing.
  1128. # This message is too long to be a string in the A/UX 3.1 sh.
  1129. cat <<_ACEOF
  1130. \`configure' configures generarxml 1.0 to adapt to many kinds of systems.
  1131. Usage: $0 [OPTION]... [VAR=VALUE]...
  1132. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1133. VAR=VALUE. See below for descriptions of some of the useful variables.
  1134. Defaults for the options are specified in brackets.
  1135. Configuration:
  1136. -h, --help display this help and exit
  1137. --help=short display options specific to this package
  1138. --help=recursive display the short help of all the included packages
  1139. -V, --version display version information and exit
  1140. -q, --quiet, --silent do not print \`checking ...' messages
  1141. --cache-file=FILE cache test results in FILE [disabled]
  1142. -C, --config-cache alias for \`--cache-file=config.cache'
  1143. -n, --no-create do not create output files
  1144. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1145. Installation directories:
  1146. --prefix=PREFIX install architecture-independent files in PREFIX
  1147. [$ac_default_prefix]
  1148. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1149. [PREFIX]
  1150. By default, \`make install' will install all the files in
  1151. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1152. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1153. for instance \`--prefix=\$HOME'.
  1154. For better control, use the options below.
  1155. Fine tuning of the installation directories:
  1156. --bindir=DIR user executables [EPREFIX/bin]
  1157. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1158. --libexecdir=DIR program executables [EPREFIX/libexec]
  1159. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1160. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1161. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1162. --libdir=DIR object code libraries [EPREFIX/lib]
  1163. --includedir=DIR C header files [PREFIX/include]
  1164. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1165. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1166. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1167. --infodir=DIR info documentation [DATAROOTDIR/info]
  1168. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1169. --mandir=DIR man documentation [DATAROOTDIR/man]
  1170. --docdir=DIR documentation root [DATAROOTDIR/doc/generarxml]
  1171. --htmldir=DIR html documentation [DOCDIR]
  1172. --dvidir=DIR dvi documentation [DOCDIR]
  1173. --pdfdir=DIR pdf documentation [DOCDIR]
  1174. --psdir=DIR ps documentation [DOCDIR]
  1175. _ACEOF
  1176. cat <<\_ACEOF
  1177. Program names:
  1178. --program-prefix=PREFIX prepend PREFIX to installed program names
  1179. --program-suffix=SUFFIX append SUFFIX to installed program names
  1180. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1181. _ACEOF
  1182. fi
  1183. if test -n "$ac_init_help"; then
  1184. case $ac_init_help in
  1185. short | recursive ) echo "Configuration of generarxml 1.0:";;
  1186. esac
  1187. cat <<\_ACEOF
  1188. Optional Features:
  1189. --disable-option-checking ignore unrecognized --enable/--with options
  1190. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1191. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1192. --enable-silent-rules less verbose build output (undo: "make V=1")
  1193. --disable-silent-rules verbose build output (undo: "make V=0")
  1194. --enable-dependency-tracking
  1195. do not reject slow dependency extractors
  1196. --disable-dependency-tracking
  1197. speeds up one-time build
  1198. --disable-xmltest Do not try to compile and run a test LIBXML program
  1199. Optional Packages:
  1200. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1201. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1202. --with-debug include debug messages
  1203. --with-debug-encoding include encoding debug messages
  1204. --with-xml-prefix=PFX Prefix where libxml is installed (optional)
  1205. --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
  1206. Some influential environment variables:
  1207. CC C compiler command
  1208. CFLAGS C compiler flags
  1209. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1210. nonstandard directory <lib dir>
  1211. LIBS libraries to pass to the linker, e.g. -l<library>
  1212. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1213. you have headers in a nonstandard directory <include dir>
  1214. PKG_CONFIG path to pkg-config utility
  1215. PKG_CONFIG_PATH
  1216. directories to add to pkg-config's search path
  1217. PKG_CONFIG_LIBDIR
  1218. path overriding pkg-config's built-in search path
  1219. libxml2_CFLAGS
  1220. C compiler flags for libxml2, overriding pkg-config
  1221. libxml2_LIBS
  1222. linker flags for libxml2, overriding pkg-config
  1223. Use these variables to override the choices made by `configure' or to help
  1224. it to find libraries and programs with nonstandard names/locations.
  1225. Report bugs to <chris@cromer.cl>.
  1226. generarxml home page: <https://www.cromer.cl>.
  1227. _ACEOF
  1228. ac_status=$?
  1229. fi
  1230. if test "$ac_init_help" = "recursive"; then
  1231. # If there are subdirs, report their specific --help.
  1232. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1233. test -d "$ac_dir" ||
  1234. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1235. continue
  1236. ac_builddir=.
  1237. case "$ac_dir" in
  1238. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1239. *)
  1240. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1241. # A ".." for each directory in $ac_dir_suffix.
  1242. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1243. case $ac_top_builddir_sub in
  1244. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1245. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1246. esac ;;
  1247. esac
  1248. ac_abs_top_builddir=$ac_pwd
  1249. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1250. # for backward compatibility:
  1251. ac_top_builddir=$ac_top_build_prefix
  1252. case $srcdir in
  1253. .) # We are building in place.
  1254. ac_srcdir=.
  1255. ac_top_srcdir=$ac_top_builddir_sub
  1256. ac_abs_top_srcdir=$ac_pwd ;;
  1257. [\\/]* | ?:[\\/]* ) # Absolute name.
  1258. ac_srcdir=$srcdir$ac_dir_suffix;
  1259. ac_top_srcdir=$srcdir
  1260. ac_abs_top_srcdir=$srcdir ;;
  1261. *) # Relative name.
  1262. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1263. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1264. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1265. esac
  1266. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1267. cd "$ac_dir" || { ac_status=$?; continue; }
  1268. # Check for guested configure.
  1269. if test -f "$ac_srcdir/configure.gnu"; then
  1270. echo &&
  1271. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1272. elif test -f "$ac_srcdir/configure"; then
  1273. echo &&
  1274. $SHELL "$ac_srcdir/configure" --help=recursive
  1275. else
  1276. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1277. fi || ac_status=$?
  1278. cd "$ac_pwd" || { ac_status=$?; break; }
  1279. done
  1280. fi
  1281. test -n "$ac_init_help" && exit $ac_status
  1282. if $ac_init_version; then
  1283. cat <<\_ACEOF
  1284. generarxml configure 1.0
  1285. generated by GNU Autoconf 2.69
  1286. Copyright (C) 2012 Free Software Foundation, Inc.
  1287. This configure script is free software; the Free Software Foundation
  1288. gives unlimited permission to copy, distribute and modify it.
  1289. _ACEOF
  1290. exit
  1291. fi
  1292. ## ------------------------ ##
  1293. ## Autoconf initialization. ##
  1294. ## ------------------------ ##
  1295. # ac_fn_c_try_compile LINENO
  1296. # --------------------------
  1297. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1298. ac_fn_c_try_compile ()
  1299. {
  1300. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1301. rm -f conftest.$ac_objext
  1302. if { { ac_try="$ac_compile"
  1303. case "(($ac_try" in
  1304. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1305. *) ac_try_echo=$ac_try;;
  1306. esac
  1307. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1308. $as_echo "$ac_try_echo"; } >&5
  1309. (eval "$ac_compile") 2>conftest.err
  1310. ac_status=$?
  1311. if test -s conftest.err; then
  1312. grep -v '^ *+' conftest.err >conftest.er1
  1313. cat conftest.er1 >&5
  1314. mv -f conftest.er1 conftest.err
  1315. fi
  1316. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1317. test $ac_status = 0; } && {
  1318. test -z "$ac_c_werror_flag" ||
  1319. test ! -s conftest.err
  1320. } && test -s conftest.$ac_objext; then :
  1321. ac_retval=0
  1322. else
  1323. $as_echo "$as_me: failed program was:" >&5
  1324. sed 's/^/| /' conftest.$ac_ext >&5
  1325. ac_retval=1
  1326. fi
  1327. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1328. as_fn_set_status $ac_retval
  1329. } # ac_fn_c_try_compile
  1330. # ac_fn_c_try_run LINENO
  1331. # ----------------------
  1332. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1333. # that executables *can* be run.
  1334. ac_fn_c_try_run ()
  1335. {
  1336. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1337. if { { ac_try="$ac_link"
  1338. case "(($ac_try" in
  1339. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1340. *) ac_try_echo=$ac_try;;
  1341. esac
  1342. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1343. $as_echo "$ac_try_echo"; } >&5
  1344. (eval "$ac_link") 2>&5
  1345. ac_status=$?
  1346. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1347. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1348. { { case "(($ac_try" in
  1349. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1350. *) ac_try_echo=$ac_try;;
  1351. esac
  1352. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1353. $as_echo "$ac_try_echo"; } >&5
  1354. (eval "$ac_try") 2>&5
  1355. ac_status=$?
  1356. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1357. test $ac_status = 0; }; }; then :
  1358. ac_retval=0
  1359. else
  1360. $as_echo "$as_me: program exited with status $ac_status" >&5
  1361. $as_echo "$as_me: failed program was:" >&5
  1362. sed 's/^/| /' conftest.$ac_ext >&5
  1363. ac_retval=$ac_status
  1364. fi
  1365. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1366. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1367. as_fn_set_status $ac_retval
  1368. } # ac_fn_c_try_run
  1369. # ac_fn_c_try_link LINENO
  1370. # -----------------------
  1371. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1372. ac_fn_c_try_link ()
  1373. {
  1374. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1375. rm -f conftest.$ac_objext conftest$ac_exeext
  1376. if { { ac_try="$ac_link"
  1377. case "(($ac_try" in
  1378. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1379. *) ac_try_echo=$ac_try;;
  1380. esac
  1381. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1382. $as_echo "$ac_try_echo"; } >&5
  1383. (eval "$ac_link") 2>conftest.err
  1384. ac_status=$?
  1385. if test -s conftest.err; then
  1386. grep -v '^ *+' conftest.err >conftest.er1
  1387. cat conftest.er1 >&5
  1388. mv -f conftest.er1 conftest.err
  1389. fi
  1390. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1391. test $ac_status = 0; } && {
  1392. test -z "$ac_c_werror_flag" ||
  1393. test ! -s conftest.err
  1394. } && test -s conftest$ac_exeext && {
  1395. test "$cross_compiling" = yes ||
  1396. test -x conftest$ac_exeext
  1397. }; then :
  1398. ac_retval=0
  1399. else
  1400. $as_echo "$as_me: failed program was:" >&5
  1401. sed 's/^/| /' conftest.$ac_ext >&5
  1402. ac_retval=1
  1403. fi
  1404. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1405. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1406. # interfere with the next link command; also delete a directory that is
  1407. # left behind by Apple's compiler. We do this before executing the actions.
  1408. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1409. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1410. as_fn_set_status $ac_retval
  1411. } # ac_fn_c_try_link
  1412. cat >config.log <<_ACEOF
  1413. This file contains any messages produced by compilers while
  1414. running configure, to aid debugging if configure makes a mistake.
  1415. It was created by generarxml $as_me 1.0, which was
  1416. generated by GNU Autoconf 2.69. Invocation command line was
  1417. $ $0 $@
  1418. _ACEOF
  1419. exec 5>>config.log
  1420. {
  1421. cat <<_ASUNAME
  1422. ## --------- ##
  1423. ## Platform. ##
  1424. ## --------- ##
  1425. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1426. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1427. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1428. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1429. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1430. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1431. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1432. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1433. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1434. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1435. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1436. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1437. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1438. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1439. _ASUNAME
  1440. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1441. for as_dir in $PATH
  1442. do
  1443. IFS=$as_save_IFS
  1444. test -z "$as_dir" && as_dir=.
  1445. $as_echo "PATH: $as_dir"
  1446. done
  1447. IFS=$as_save_IFS
  1448. } >&5
  1449. cat >&5 <<_ACEOF
  1450. ## ----------- ##
  1451. ## Core tests. ##
  1452. ## ----------- ##
  1453. _ACEOF
  1454. # Keep a trace of the command line.
  1455. # Strip out --no-create and --no-recursion so they do not pile up.
  1456. # Strip out --silent because we don't want to record it for future runs.
  1457. # Also quote any args containing shell meta-characters.
  1458. # Make two passes to allow for proper duplicate-argument suppression.
  1459. ac_configure_args=
  1460. ac_configure_args0=
  1461. ac_configure_args1=
  1462. ac_must_keep_next=false
  1463. for ac_pass in 1 2
  1464. do
  1465. for ac_arg
  1466. do
  1467. case $ac_arg in
  1468. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1469. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1470. | -silent | --silent | --silen | --sile | --sil)
  1471. continue ;;
  1472. *\'*)
  1473. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1474. esac
  1475. case $ac_pass in
  1476. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1477. 2)
  1478. as_fn_append ac_configure_args1 " '$ac_arg'"
  1479. if test $ac_must_keep_next = true; then
  1480. ac_must_keep_next=false # Got value, back to normal.
  1481. else
  1482. case $ac_arg in
  1483. *=* | --config-cache | -C | -disable-* | --disable-* \
  1484. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1485. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1486. | -with-* | --with-* | -without-* | --without-* | --x)
  1487. case "$ac_configure_args0 " in
  1488. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1489. esac
  1490. ;;
  1491. -* ) ac_must_keep_next=true ;;
  1492. esac
  1493. fi
  1494. as_fn_append ac_configure_args " '$ac_arg'"
  1495. ;;
  1496. esac
  1497. done
  1498. done
  1499. { ac_configure_args0=; unset ac_configure_args0;}
  1500. { ac_configure_args1=; unset ac_configure_args1;}
  1501. # When interrupted or exit'd, cleanup temporary files, and complete
  1502. # config.log. We remove comments because anyway the quotes in there
  1503. # would cause problems or look ugly.
  1504. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1505. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1506. trap 'exit_status=$?
  1507. # Save into config.log some information that might help in debugging.
  1508. {
  1509. echo
  1510. $as_echo "## ---------------- ##
  1511. ## Cache variables. ##
  1512. ## ---------------- ##"
  1513. echo
  1514. # The following way of writing the cache mishandles newlines in values,
  1515. (
  1516. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1517. eval ac_val=\$$ac_var
  1518. case $ac_val in #(
  1519. *${as_nl}*)
  1520. case $ac_var in #(
  1521. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1522. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1523. esac
  1524. case $ac_var in #(
  1525. _ | IFS | as_nl) ;; #(
  1526. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1527. *) { eval $ac_var=; unset $ac_var;} ;;
  1528. esac ;;
  1529. esac
  1530. done
  1531. (set) 2>&1 |
  1532. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1533. *${as_nl}ac_space=\ *)
  1534. sed -n \
  1535. "s/'\''/'\''\\\\'\'''\''/g;
  1536. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1537. ;; #(
  1538. *)
  1539. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1540. ;;
  1541. esac |
  1542. sort
  1543. )
  1544. echo
  1545. $as_echo "## ----------------- ##
  1546. ## Output variables. ##
  1547. ## ----------------- ##"
  1548. echo
  1549. for ac_var in $ac_subst_vars
  1550. do
  1551. eval ac_val=\$$ac_var
  1552. case $ac_val in
  1553. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1554. esac
  1555. $as_echo "$ac_var='\''$ac_val'\''"
  1556. done | sort
  1557. echo
  1558. if test -n "$ac_subst_files"; then
  1559. $as_echo "## ------------------- ##
  1560. ## File substitutions. ##
  1561. ## ------------------- ##"
  1562. echo
  1563. for ac_var in $ac_subst_files
  1564. do
  1565. eval ac_val=\$$ac_var
  1566. case $ac_val in
  1567. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1568. esac
  1569. $as_echo "$ac_var='\''$ac_val'\''"
  1570. done | sort
  1571. echo
  1572. fi
  1573. if test -s confdefs.h; then
  1574. $as_echo "## ----------- ##
  1575. ## confdefs.h. ##
  1576. ## ----------- ##"
  1577. echo
  1578. cat confdefs.h
  1579. echo
  1580. fi
  1581. test "$ac_signal" != 0 &&
  1582. $as_echo "$as_me: caught signal $ac_signal"
  1583. $as_echo "$as_me: exit $exit_status"
  1584. } >&5
  1585. rm -f core *.core core.conftest.* &&
  1586. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1587. exit $exit_status
  1588. ' 0
  1589. for ac_signal in 1 2 13 15; do
  1590. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1591. done
  1592. ac_signal=0
  1593. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1594. rm -f -r conftest* confdefs.h
  1595. $as_echo "/* confdefs.h */" > confdefs.h
  1596. # Predefined preprocessor variables.
  1597. cat >>confdefs.h <<_ACEOF
  1598. #define PACKAGE_NAME "$PACKAGE_NAME"
  1599. _ACEOF
  1600. cat >>confdefs.h <<_ACEOF
  1601. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1602. _ACEOF
  1603. cat >>confdefs.h <<_ACEOF
  1604. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1605. _ACEOF
  1606. cat >>confdefs.h <<_ACEOF
  1607. #define PACKAGE_STRING "$PACKAGE_STRING"
  1608. _ACEOF
  1609. cat >>confdefs.h <<_ACEOF
  1610. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1611. _ACEOF
  1612. cat >>confdefs.h <<_ACEOF
  1613. #define PACKAGE_URL "$PACKAGE_URL"
  1614. _ACEOF
  1615. # Let the site file select an alternate cache file if it wants to.
  1616. # Prefer an explicitly selected file to automatically selected ones.
  1617. ac_site_file1=NONE
  1618. ac_site_file2=NONE
  1619. if test -n "$CONFIG_SITE"; then
  1620. # We do not want a PATH search for config.site.
  1621. case $CONFIG_SITE in #((
  1622. -*) ac_site_file1=./$CONFIG_SITE;;
  1623. */*) ac_site_file1=$CONFIG_SITE;;
  1624. *) ac_site_file1=./$CONFIG_SITE;;
  1625. esac
  1626. elif test "x$prefix" != xNONE; then
  1627. ac_site_file1=$prefix/share/config.site
  1628. ac_site_file2=$prefix/etc/config.site
  1629. else
  1630. ac_site_file1=$ac_default_prefix/share/config.site
  1631. ac_site_file2=$ac_default_prefix/etc/config.site
  1632. fi
  1633. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1634. do
  1635. test "x$ac_site_file" = xNONE && continue
  1636. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1637. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1638. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1639. sed 's/^/| /' "$ac_site_file" >&5
  1640. . "$ac_site_file" \
  1641. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1642. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1643. as_fn_error $? "failed to load site script $ac_site_file
  1644. See \`config.log' for more details" "$LINENO" 5; }
  1645. fi
  1646. done
  1647. if test -r "$cache_file"; then
  1648. # Some versions of bash will fail to source /dev/null (special files
  1649. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1650. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1651. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1652. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1653. case $cache_file in
  1654. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1655. *) . "./$cache_file";;
  1656. esac
  1657. fi
  1658. else
  1659. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1660. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1661. >$cache_file
  1662. fi
  1663. # Check that the precious variables saved in the cache have kept the same
  1664. # value.
  1665. ac_cache_corrupted=false
  1666. for ac_var in $ac_precious_vars; do
  1667. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1668. eval ac_new_set=\$ac_env_${ac_var}_set
  1669. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1670. eval ac_new_val=\$ac_env_${ac_var}_value
  1671. case $ac_old_set,$ac_new_set in
  1672. set,)
  1673. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1674. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1675. ac_cache_corrupted=: ;;
  1676. ,set)
  1677. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1678. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1679. ac_cache_corrupted=: ;;
  1680. ,);;
  1681. *)
  1682. if test "x$ac_old_val" != "x$ac_new_val"; then
  1683. # differences in whitespace do not lead to failure.
  1684. ac_old_val_w=`echo x $ac_old_val`
  1685. ac_new_val_w=`echo x $ac_new_val`
  1686. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1687. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1688. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1689. ac_cache_corrupted=:
  1690. else
  1691. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1692. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1693. eval $ac_var=\$ac_old_val
  1694. fi
  1695. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1696. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1697. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1698. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1699. fi;;
  1700. esac
  1701. # Pass precious variables to config.status.
  1702. if test "$ac_new_set" = set; then
  1703. case $ac_new_val in
  1704. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1705. *) ac_arg=$ac_var=$ac_new_val ;;
  1706. esac
  1707. case " $ac_configure_args " in
  1708. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1709. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1710. esac
  1711. fi
  1712. done
  1713. if $ac_cache_corrupted; then
  1714. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1715. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1716. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1717. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1718. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1719. fi
  1720. ## -------------------- ##
  1721. ## Main body of script. ##
  1722. ## -------------------- ##
  1723. ac_ext=c
  1724. ac_cpp='$CPP $CPPFLAGS'
  1725. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1726. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1727. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1728. am__api_version='1.15'
  1729. ac_aux_dir=
  1730. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1731. if test -f "$ac_dir/install-sh"; then
  1732. ac_aux_dir=$ac_dir
  1733. ac_install_sh="$ac_aux_dir/install-sh -c"
  1734. break
  1735. elif test -f "$ac_dir/install.sh"; then
  1736. ac_aux_dir=$ac_dir
  1737. ac_install_sh="$ac_aux_dir/install.sh -c"
  1738. break
  1739. elif test -f "$ac_dir/shtool"; then
  1740. ac_aux_dir=$ac_dir
  1741. ac_install_sh="$ac_aux_dir/shtool install -c"
  1742. break
  1743. fi
  1744. done
  1745. if test -z "$ac_aux_dir"; then
  1746. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1747. fi
  1748. # These three variables are undocumented and unsupported,
  1749. # and are intended to be withdrawn in a future Autoconf release.
  1750. # They can cause serious problems if a builder's source tree is in a directory
  1751. # whose full name contains unusual characters.
  1752. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1753. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1754. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1755. # Find a good install program. We prefer a C program (faster),
  1756. # so one script is as good as another. But avoid the broken or
  1757. # incompatible versions:
  1758. # SysV /etc/install, /usr/sbin/install
  1759. # SunOS /usr/etc/install
  1760. # IRIX /sbin/install
  1761. # AIX /bin/install
  1762. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1763. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1764. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1765. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1766. # OS/2's system install, which has a completely different semantic
  1767. # ./install, which can be erroneously created by make from ./install.sh.
  1768. # Reject install programs that cannot install multiple files.
  1769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1770. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1771. if test -z "$INSTALL"; then
  1772. if ${ac_cv_path_install+:} false; then :
  1773. $as_echo_n "(cached) " >&6
  1774. else
  1775. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1776. for as_dir in $PATH
  1777. do
  1778. IFS=$as_save_IFS
  1779. test -z "$as_dir" && as_dir=.
  1780. # Account for people who put trailing slashes in PATH elements.
  1781. case $as_dir/ in #((
  1782. ./ | .// | /[cC]/* | \
  1783. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1784. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1785. /usr/ucb/* ) ;;
  1786. *)
  1787. # OSF1 and SCO ODT 3.0 have their own names for install.
  1788. # Don't use installbsd from OSF since it installs stuff as root
  1789. # by default.
  1790. for ac_prog in ginstall scoinst install; do
  1791. for ac_exec_ext in '' $ac_executable_extensions; do
  1792. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1793. if test $ac_prog = install &&
  1794. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1795. # AIX install. It has an incompatible calling convention.
  1796. :
  1797. elif test $ac_prog = install &&
  1798. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1799. # program-specific install script used by HP pwplus--don't use.
  1800. :
  1801. else
  1802. rm -rf conftest.one conftest.two conftest.dir
  1803. echo one > conftest.one
  1804. echo two > conftest.two
  1805. mkdir conftest.dir
  1806. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1807. test -s conftest.one && test -s conftest.two &&
  1808. test -s conftest.dir/conftest.one &&
  1809. test -s conftest.dir/conftest.two
  1810. then
  1811. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1812. break 3
  1813. fi
  1814. fi
  1815. fi
  1816. done
  1817. done
  1818. ;;
  1819. esac
  1820. done
  1821. IFS=$as_save_IFS
  1822. rm -rf conftest.one conftest.two conftest.dir
  1823. fi
  1824. if test "${ac_cv_path_install+set}" = set; then
  1825. INSTALL=$ac_cv_path_install
  1826. else
  1827. # As a last resort, use the slow shell script. Don't cache a
  1828. # value for INSTALL within a source directory, because that will
  1829. # break other packages using the cache if that directory is
  1830. # removed, or if the value is a relative name.
  1831. INSTALL=$ac_install_sh
  1832. fi
  1833. fi
  1834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1835. $as_echo "$INSTALL" >&6; }
  1836. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1837. # It thinks the first close brace ends the variable substitution.
  1838. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1839. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1840. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1841. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  1842. $as_echo_n "checking whether build environment is sane... " >&6; }
  1843. # Reject unsafe characters in $srcdir or the absolute working directory
  1844. # name. Accept space and tab only in the latter.
  1845. am_lf='
  1846. '
  1847. case `pwd` in
  1848. *[\\\"\#\$\&\'\`$am_lf]*)
  1849. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  1850. esac
  1851. case $srcdir in
  1852. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  1853. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  1854. esac
  1855. # Do 'set' in a subshell so we don't clobber the current shell's
  1856. # arguments. Must try -L first in case configure is actually a
  1857. # symlink; some systems play weird games with the mod time of symlinks
  1858. # (eg FreeBSD returns the mod time of the symlink's containing
  1859. # directory).
  1860. if (
  1861. am_has_slept=no
  1862. for am_try in 1 2; do
  1863. echo "timestamp, slept: $am_has_slept" > conftest.file
  1864. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1865. if test "$*" = "X"; then
  1866. # -L didn't work.
  1867. set X `ls -t "$srcdir/configure" conftest.file`
  1868. fi
  1869. if test "$*" != "X $srcdir/configure conftest.file" \
  1870. && test "$*" != "X conftest.file $srcdir/configure"; then
  1871. # If neither matched, then we have a broken ls. This can happen
  1872. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1873. # broken ls alias from the environment. This has actually
  1874. # happened. Such a system could not be considered "sane".
  1875. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  1876. alias in your environment" "$LINENO" 5
  1877. fi
  1878. if test "$2" = conftest.file || test $am_try -eq 2; then
  1879. break
  1880. fi
  1881. # Just in case.
  1882. sleep 1
  1883. am_has_slept=yes
  1884. done
  1885. test "$2" = conftest.file
  1886. )
  1887. then
  1888. # Ok.
  1889. :
  1890. else
  1891. as_fn_error $? "newly created file is older than distributed files!
  1892. Check your system clock" "$LINENO" 5
  1893. fi
  1894. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1895. $as_echo "yes" >&6; }
  1896. # If we didn't sleep, we still need to ensure time stamps of config.status and
  1897. # generated files are strictly newer.
  1898. am_sleep_pid=
  1899. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  1900. ( sleep 1 ) &
  1901. am_sleep_pid=$!
  1902. fi
  1903. rm -f conftest.file
  1904. test "$program_prefix" != NONE &&
  1905. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1906. # Use a double $ so make ignores it.
  1907. test "$program_suffix" != NONE &&
  1908. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1909. # Double any \ or $.
  1910. # By default was `s,x,x', remove it if useless.
  1911. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  1912. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  1913. # Expand $ac_aux_dir to an absolute path.
  1914. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  1915. if test x"${MISSING+set}" != xset; then
  1916. case $am_aux_dir in
  1917. *\ * | *\ *)
  1918. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  1919. *)
  1920. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  1921. esac
  1922. fi
  1923. # Use eval to expand $SHELL
  1924. if eval "$MISSING --is-lightweight"; then
  1925. am_missing_run="$MISSING "
  1926. else
  1927. am_missing_run=
  1928. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  1929. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  1930. fi
  1931. if test x"${install_sh+set}" != xset; then
  1932. case $am_aux_dir in
  1933. *\ * | *\ *)
  1934. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  1935. *)
  1936. install_sh="\${SHELL} $am_aux_dir/install-sh"
  1937. esac
  1938. fi
  1939. # Installed binaries are usually stripped using 'strip' when the user
  1940. # run "make install-strip". However 'strip' might not be the right
  1941. # tool to use in cross-compilation environments, therefore Automake
  1942. # will honor the 'STRIP' environment variable to overrule this program.
  1943. if test "$cross_compiling" != no; then
  1944. if test -n "$ac_tool_prefix"; then
  1945. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1946. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1948. $as_echo_n "checking for $ac_word... " >&6; }
  1949. if ${ac_cv_prog_STRIP+:} false; then :
  1950. $as_echo_n "(cached) " >&6
  1951. else
  1952. if test -n "$STRIP"; then
  1953. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1954. else
  1955. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1956. for as_dir in $PATH
  1957. do
  1958. IFS=$as_save_IFS
  1959. test -z "$as_dir" && as_dir=.
  1960. for ac_exec_ext in '' $ac_executable_extensions; do
  1961. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1962. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1963. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1964. break 2
  1965. fi
  1966. done
  1967. done
  1968. IFS=$as_save_IFS
  1969. fi
  1970. fi
  1971. STRIP=$ac_cv_prog_STRIP
  1972. if test -n "$STRIP"; then
  1973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  1974. $as_echo "$STRIP" >&6; }
  1975. else
  1976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1977. $as_echo "no" >&6; }
  1978. fi
  1979. fi
  1980. if test -z "$ac_cv_prog_STRIP"; then
  1981. ac_ct_STRIP=$STRIP
  1982. # Extract the first word of "strip", so it can be a program name with args.
  1983. set dummy strip; ac_word=$2
  1984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1985. $as_echo_n "checking for $ac_word... " >&6; }
  1986. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  1987. $as_echo_n "(cached) " >&6
  1988. else
  1989. if test -n "$ac_ct_STRIP"; then
  1990. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1991. else
  1992. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1993. for as_dir in $PATH
  1994. do
  1995. IFS=$as_save_IFS
  1996. test -z "$as_dir" && as_dir=.
  1997. for ac_exec_ext in '' $ac_executable_extensions; do
  1998. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1999. ac_cv_prog_ac_ct_STRIP="strip"
  2000. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2001. break 2
  2002. fi
  2003. done
  2004. done
  2005. IFS=$as_save_IFS
  2006. fi
  2007. fi
  2008. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2009. if test -n "$ac_ct_STRIP"; then
  2010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2011. $as_echo "$ac_ct_STRIP" >&6; }
  2012. else
  2013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2014. $as_echo "no" >&6; }
  2015. fi
  2016. if test "x$ac_ct_STRIP" = x; then
  2017. STRIP=":"
  2018. else
  2019. case $cross_compiling:$ac_tool_warned in
  2020. yes:)
  2021. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2022. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2023. ac_tool_warned=yes ;;
  2024. esac
  2025. STRIP=$ac_ct_STRIP
  2026. fi
  2027. else
  2028. STRIP="$ac_cv_prog_STRIP"
  2029. fi
  2030. fi
  2031. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2033. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2034. if test -z "$MKDIR_P"; then
  2035. if ${ac_cv_path_mkdir+:} false; then :
  2036. $as_echo_n "(cached) " >&6
  2037. else
  2038. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2039. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2040. do
  2041. IFS=$as_save_IFS
  2042. test -z "$as_dir" && as_dir=.
  2043. for ac_prog in mkdir gmkdir; do
  2044. for ac_exec_ext in '' $ac_executable_extensions; do
  2045. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2046. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2047. 'mkdir (GNU coreutils) '* | \
  2048. 'mkdir (coreutils) '* | \
  2049. 'mkdir (fileutils) '4.1*)
  2050. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2051. break 3;;
  2052. esac
  2053. done
  2054. done
  2055. done
  2056. IFS=$as_save_IFS
  2057. fi
  2058. test -d ./--version && rmdir ./--version
  2059. if test "${ac_cv_path_mkdir+set}" = set; then
  2060. MKDIR_P="$ac_cv_path_mkdir -p"
  2061. else
  2062. # As a last resort, use the slow shell script. Don't cache a
  2063. # value for MKDIR_P within a source directory, because that will
  2064. # break other packages using the cache if that directory is
  2065. # removed, or if the value is a relative name.
  2066. MKDIR_P="$ac_install_sh -d"
  2067. fi
  2068. fi
  2069. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2070. $as_echo "$MKDIR_P" >&6; }
  2071. for ac_prog in gawk mawk nawk awk
  2072. do
  2073. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2074. set dummy $ac_prog; ac_word=$2
  2075. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2076. $as_echo_n "checking for $ac_word... " >&6; }
  2077. if ${ac_cv_prog_AWK+:} false; then :
  2078. $as_echo_n "(cached) " >&6
  2079. else
  2080. if test -n "$AWK"; then
  2081. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2082. else
  2083. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2084. for as_dir in $PATH
  2085. do
  2086. IFS=$as_save_IFS
  2087. test -z "$as_dir" && as_dir=.
  2088. for ac_exec_ext in '' $ac_executable_extensions; do
  2089. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2090. ac_cv_prog_AWK="$ac_prog"
  2091. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2092. break 2
  2093. fi
  2094. done
  2095. done
  2096. IFS=$as_save_IFS
  2097. fi
  2098. fi
  2099. AWK=$ac_cv_prog_AWK
  2100. if test -n "$AWK"; then
  2101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2102. $as_echo "$AWK" >&6; }
  2103. else
  2104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2105. $as_echo "no" >&6; }
  2106. fi
  2107. test -n "$AWK" && break
  2108. done
  2109. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2110. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2111. set x ${MAKE-make}
  2112. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2113. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2114. $as_echo_n "(cached) " >&6
  2115. else
  2116. cat >conftest.make <<\_ACEOF
  2117. SHELL = /bin/sh
  2118. all:
  2119. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2120. _ACEOF
  2121. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2122. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2123. *@@@%%%=?*=@@@%%%*)
  2124. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2125. *)
  2126. eval ac_cv_prog_make_${ac_make}_set=no;;
  2127. esac
  2128. rm -f conftest.make
  2129. fi
  2130. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2132. $as_echo "yes" >&6; }
  2133. SET_MAKE=
  2134. else
  2135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2136. $as_echo "no" >&6; }
  2137. SET_MAKE="MAKE=${MAKE-make}"
  2138. fi
  2139. rm -rf .tst 2>/dev/null
  2140. mkdir .tst 2>/dev/null
  2141. if test -d .tst; then
  2142. am__leading_dot=.
  2143. else
  2144. am__leading_dot=_
  2145. fi
  2146. rmdir .tst 2>/dev/null
  2147. # Check whether --enable-silent-rules was given.
  2148. if test "${enable_silent_rules+set}" = set; then :
  2149. enableval=$enable_silent_rules;
  2150. fi
  2151. case $enable_silent_rules in # (((
  2152. yes) AM_DEFAULT_VERBOSITY=0;;
  2153. no) AM_DEFAULT_VERBOSITY=1;;
  2154. *) AM_DEFAULT_VERBOSITY=1;;
  2155. esac
  2156. am_make=${MAKE-make}
  2157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2158. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2159. if ${am_cv_make_support_nested_variables+:} false; then :
  2160. $as_echo_n "(cached) " >&6
  2161. else
  2162. if $as_echo 'TRUE=$(BAR$(V))
  2163. BAR0=false
  2164. BAR1=true
  2165. V=1
  2166. am__doit:
  2167. @$(TRUE)
  2168. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2169. am_cv_make_support_nested_variables=yes
  2170. else
  2171. am_cv_make_support_nested_variables=no
  2172. fi
  2173. fi
  2174. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2175. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2176. if test $am_cv_make_support_nested_variables = yes; then
  2177. AM_V='$(V)'
  2178. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2179. else
  2180. AM_V=$AM_DEFAULT_VERBOSITY
  2181. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2182. fi
  2183. AM_BACKSLASH='\'
  2184. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2185. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2186. # is not polluted with repeated "-I."
  2187. am__isrc=' -I$(srcdir)'
  2188. # test to see if srcdir already configured
  2189. if test -f $srcdir/config.status; then
  2190. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2191. fi
  2192. fi
  2193. # test whether we have cygpath
  2194. if test -z "$CYGPATH_W"; then
  2195. if (cygpath --version) >/dev/null 2>/dev/null; then
  2196. CYGPATH_W='cygpath -w'
  2197. else
  2198. CYGPATH_W=echo
  2199. fi
  2200. fi
  2201. # Define the identity of the package.
  2202. PACKAGE='generarxml'
  2203. VERSION='1.0'
  2204. cat >>confdefs.h <<_ACEOF
  2205. #define PACKAGE "$PACKAGE"
  2206. _ACEOF
  2207. cat >>confdefs.h <<_ACEOF
  2208. #define VERSION "$VERSION"
  2209. _ACEOF
  2210. # Some tools Automake needs.
  2211. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2212. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2213. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2214. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2215. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2216. # For better backward compatibility. To be removed once Automake 1.9.x
  2217. # dies out for good. For more background, see:
  2218. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2219. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2220. mkdir_p='$(MKDIR_P)'
  2221. # We need awk for the "check" target (and possibly the TAP driver). The
  2222. # system "awk" is bad on some platforms.
  2223. # Always define AMTAR for backward compatibility. Yes, it's still used
  2224. # in the wild :-( We should find a proper way to deprecate it ...
  2225. AMTAR='$${TAR-tar}'
  2226. # We'll loop over all known methods to create a tar archive until one works.
  2227. _am_tools='gnutar pax cpio none'
  2228. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2229. # POSIX will say in a future version that running "rm -f" with no argument
  2230. # is OK; and we want to be able to make that assumption in our Makefile
  2231. # recipes. So use an aggressive probe to check that the usage we want is
  2232. # actually supported "in the wild" to an acceptable degree.
  2233. # See automake bug#10828.
  2234. # To make any issue more visible, cause the running configure to be aborted
  2235. # by default if the 'rm' program in use doesn't match our expectations; the
  2236. # user can still override this though.
  2237. if rm -f && rm -fr && rm -rf; then : OK; else
  2238. cat >&2 <<'END'
  2239. Oops!
  2240. Your 'rm' program seems unable to run without file operands specified
  2241. on the command line, even when the '-f' option is present. This is contrary
  2242. to the behaviour of most rm programs out there, and not conforming with
  2243. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2244. Please tell bug-automake@gnu.org about your system, including the value
  2245. of your $PATH and any error possibly output before this message. This
  2246. can help us improve future automake versions.
  2247. END
  2248. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2249. echo 'Configuration will proceed anyway, since you have set the' >&2
  2250. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2251. echo >&2
  2252. else
  2253. cat >&2 <<'END'
  2254. Aborting the configuration process, to ensure you take notice of the issue.
  2255. You can download and install GNU coreutils to get an 'rm' implementation
  2256. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2257. If you want to complete the configuration process using your problematic
  2258. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2259. to "yes", and re-run configure.
  2260. END
  2261. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2262. fi
  2263. fi
  2264. ac_ext=c
  2265. ac_cpp='$CPP $CPPFLAGS'
  2266. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2267. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2268. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2269. if test -n "$ac_tool_prefix"; then
  2270. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2271. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2272. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2273. $as_echo_n "checking for $ac_word... " >&6; }
  2274. if ${ac_cv_prog_CC+:} false; then :
  2275. $as_echo_n "(cached) " >&6
  2276. else
  2277. if test -n "$CC"; then
  2278. ac_cv_prog_CC="$CC" # Let the user override the test.
  2279. else
  2280. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2281. for as_dir in $PATH
  2282. do
  2283. IFS=$as_save_IFS
  2284. test -z "$as_dir" && as_dir=.
  2285. for ac_exec_ext in '' $ac_executable_extensions; do
  2286. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2287. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2288. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2289. break 2
  2290. fi
  2291. done
  2292. done
  2293. IFS=$as_save_IFS
  2294. fi
  2295. fi
  2296. CC=$ac_cv_prog_CC
  2297. if test -n "$CC"; then
  2298. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2299. $as_echo "$CC" >&6; }
  2300. else
  2301. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2302. $as_echo "no" >&6; }
  2303. fi
  2304. fi
  2305. if test -z "$ac_cv_prog_CC"; then
  2306. ac_ct_CC=$CC
  2307. # Extract the first word of "gcc", so it can be a program name with args.
  2308. set dummy gcc; ac_word=$2
  2309. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2310. $as_echo_n "checking for $ac_word... " >&6; }
  2311. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2312. $as_echo_n "(cached) " >&6
  2313. else
  2314. if test -n "$ac_ct_CC"; then
  2315. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2316. else
  2317. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2318. for as_dir in $PATH
  2319. do
  2320. IFS=$as_save_IFS
  2321. test -z "$as_dir" && as_dir=.
  2322. for ac_exec_ext in '' $ac_executable_extensions; do
  2323. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2324. ac_cv_prog_ac_ct_CC="gcc"
  2325. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2326. break 2
  2327. fi
  2328. done
  2329. done
  2330. IFS=$as_save_IFS
  2331. fi
  2332. fi
  2333. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2334. if test -n "$ac_ct_CC"; then
  2335. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2336. $as_echo "$ac_ct_CC" >&6; }
  2337. else
  2338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2339. $as_echo "no" >&6; }
  2340. fi
  2341. if test "x$ac_ct_CC" = x; then
  2342. CC=""
  2343. else
  2344. case $cross_compiling:$ac_tool_warned in
  2345. yes:)
  2346. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2347. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2348. ac_tool_warned=yes ;;
  2349. esac
  2350. CC=$ac_ct_CC
  2351. fi
  2352. else
  2353. CC="$ac_cv_prog_CC"
  2354. fi
  2355. if test -z "$CC"; then
  2356. if test -n "$ac_tool_prefix"; then
  2357. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2358. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2359. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2360. $as_echo_n "checking for $ac_word... " >&6; }
  2361. if ${ac_cv_prog_CC+:} false; then :
  2362. $as_echo_n "(cached) " >&6
  2363. else
  2364. if test -n "$CC"; then
  2365. ac_cv_prog_CC="$CC" # Let the user override the test.
  2366. else
  2367. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2368. for as_dir in $PATH
  2369. do
  2370. IFS=$as_save_IFS
  2371. test -z "$as_dir" && as_dir=.
  2372. for ac_exec_ext in '' $ac_executable_extensions; do
  2373. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2374. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2375. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2376. break 2
  2377. fi
  2378. done
  2379. done
  2380. IFS=$as_save_IFS
  2381. fi
  2382. fi
  2383. CC=$ac_cv_prog_CC
  2384. if test -n "$CC"; then
  2385. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2386. $as_echo "$CC" >&6; }
  2387. else
  2388. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2389. $as_echo "no" >&6; }
  2390. fi
  2391. fi
  2392. fi
  2393. if test -z "$CC"; then
  2394. # Extract the first word of "cc", so it can be a program name with args.
  2395. set dummy cc; ac_word=$2
  2396. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2397. $as_echo_n "checking for $ac_word... " >&6; }
  2398. if ${ac_cv_prog_CC+:} false; then :
  2399. $as_echo_n "(cached) " >&6
  2400. else
  2401. if test -n "$CC"; then
  2402. ac_cv_prog_CC="$CC" # Let the user override the test.
  2403. else
  2404. ac_prog_rejected=no
  2405. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2406. for as_dir in $PATH
  2407. do
  2408. IFS=$as_save_IFS
  2409. test -z "$as_dir" && as_dir=.
  2410. for ac_exec_ext in '' $ac_executable_extensions; do
  2411. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2412. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2413. ac_prog_rejected=yes
  2414. continue
  2415. fi
  2416. ac_cv_prog_CC="cc"
  2417. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2418. break 2
  2419. fi
  2420. done
  2421. done
  2422. IFS=$as_save_IFS
  2423. if test $ac_prog_rejected = yes; then
  2424. # We found a bogon in the path, so make sure we never use it.
  2425. set dummy $ac_cv_prog_CC
  2426. shift
  2427. if test $# != 0; then
  2428. # We chose a different compiler from the bogus one.
  2429. # However, it has the same basename, so the bogon will be chosen
  2430. # first if we set CC to just the basename; use the full file name.
  2431. shift
  2432. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2433. fi
  2434. fi
  2435. fi
  2436. fi
  2437. CC=$ac_cv_prog_CC
  2438. if test -n "$CC"; then
  2439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2440. $as_echo "$CC" >&6; }
  2441. else
  2442. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2443. $as_echo "no" >&6; }
  2444. fi
  2445. fi
  2446. if test -z "$CC"; then
  2447. if test -n "$ac_tool_prefix"; then
  2448. for ac_prog in cl.exe
  2449. do
  2450. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2451. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2452. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2453. $as_echo_n "checking for $ac_word... " >&6; }
  2454. if ${ac_cv_prog_CC+:} false; then :
  2455. $as_echo_n "(cached) " >&6
  2456. else
  2457. if test -n "$CC"; then
  2458. ac_cv_prog_CC="$CC" # Let the user override the test.
  2459. else
  2460. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2461. for as_dir in $PATH
  2462. do
  2463. IFS=$as_save_IFS
  2464. test -z "$as_dir" && as_dir=.
  2465. for ac_exec_ext in '' $ac_executable_extensions; do
  2466. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2467. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2468. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2469. break 2
  2470. fi
  2471. done
  2472. done
  2473. IFS=$as_save_IFS
  2474. fi
  2475. fi
  2476. CC=$ac_cv_prog_CC
  2477. if test -n "$CC"; then
  2478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2479. $as_echo "$CC" >&6; }
  2480. else
  2481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2482. $as_echo "no" >&6; }
  2483. fi
  2484. test -n "$CC" && break
  2485. done
  2486. fi
  2487. if test -z "$CC"; then
  2488. ac_ct_CC=$CC
  2489. for ac_prog in cl.exe
  2490. do
  2491. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2492. set dummy $ac_prog; ac_word=$2
  2493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2494. $as_echo_n "checking for $ac_word... " >&6; }
  2495. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2496. $as_echo_n "(cached) " >&6
  2497. else
  2498. if test -n "$ac_ct_CC"; then
  2499. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2500. else
  2501. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2502. for as_dir in $PATH
  2503. do
  2504. IFS=$as_save_IFS
  2505. test -z "$as_dir" && as_dir=.
  2506. for ac_exec_ext in '' $ac_executable_extensions; do
  2507. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2508. ac_cv_prog_ac_ct_CC="$ac_prog"
  2509. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2510. break 2
  2511. fi
  2512. done
  2513. done
  2514. IFS=$as_save_IFS
  2515. fi
  2516. fi
  2517. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2518. if test -n "$ac_ct_CC"; then
  2519. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2520. $as_echo "$ac_ct_CC" >&6; }
  2521. else
  2522. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2523. $as_echo "no" >&6; }
  2524. fi
  2525. test -n "$ac_ct_CC" && break
  2526. done
  2527. if test "x$ac_ct_CC" = x; then
  2528. CC=""
  2529. else
  2530. case $cross_compiling:$ac_tool_warned in
  2531. yes:)
  2532. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2533. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2534. ac_tool_warned=yes ;;
  2535. esac
  2536. CC=$ac_ct_CC
  2537. fi
  2538. fi
  2539. fi
  2540. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2541. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2542. as_fn_error $? "no acceptable C compiler found in \$PATH
  2543. See \`config.log' for more details" "$LINENO" 5; }
  2544. # Provide some information about the compiler.
  2545. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2546. set X $ac_compile
  2547. ac_compiler=$2
  2548. for ac_option in --version -v -V -qversion; do
  2549. { { ac_try="$ac_compiler $ac_option >&5"
  2550. case "(($ac_try" in
  2551. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2552. *) ac_try_echo=$ac_try;;
  2553. esac
  2554. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2555. $as_echo "$ac_try_echo"; } >&5
  2556. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2557. ac_status=$?
  2558. if test -s conftest.err; then
  2559. sed '10a\
  2560. ... rest of stderr output deleted ...
  2561. 10q' conftest.err >conftest.er1
  2562. cat conftest.er1 >&5
  2563. fi
  2564. rm -f conftest.er1 conftest.err
  2565. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2566. test $ac_status = 0; }
  2567. done
  2568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2569. /* end confdefs.h. */
  2570. int
  2571. main ()
  2572. {
  2573. ;
  2574. return 0;
  2575. }
  2576. _ACEOF
  2577. ac_clean_files_save=$ac_clean_files
  2578. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2579. # Try to create an executable without -o first, disregard a.out.
  2580. # It will help us diagnose broken compilers, and finding out an intuition
  2581. # of exeext.
  2582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2583. $as_echo_n "checking whether the C compiler works... " >&6; }
  2584. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2585. # The possible output files:
  2586. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2587. ac_rmfiles=
  2588. for ac_file in $ac_files
  2589. do
  2590. case $ac_file in
  2591. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2592. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2593. esac
  2594. done
  2595. rm -f $ac_rmfiles
  2596. if { { ac_try="$ac_link_default"
  2597. case "(($ac_try" in
  2598. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2599. *) ac_try_echo=$ac_try;;
  2600. esac
  2601. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2602. $as_echo "$ac_try_echo"; } >&5
  2603. (eval "$ac_link_default") 2>&5
  2604. ac_status=$?
  2605. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2606. test $ac_status = 0; }; then :
  2607. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2608. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2609. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2610. # so that the user can short-circuit this test for compilers unknown to
  2611. # Autoconf.
  2612. for ac_file in $ac_files ''
  2613. do
  2614. test -f "$ac_file" || continue
  2615. case $ac_file in
  2616. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2617. ;;
  2618. [ab].out )
  2619. # We found the default executable, but exeext='' is most
  2620. # certainly right.
  2621. break;;
  2622. *.* )
  2623. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2624. then :; else
  2625. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2626. fi
  2627. # We set ac_cv_exeext here because the later test for it is not
  2628. # safe: cross compilers may not add the suffix if given an `-o'
  2629. # argument, so we may need to know it at that point already.
  2630. # Even if this section looks crufty: it has the advantage of
  2631. # actually working.
  2632. break;;
  2633. * )
  2634. break;;
  2635. esac
  2636. done
  2637. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2638. else
  2639. ac_file=''
  2640. fi
  2641. if test -z "$ac_file"; then :
  2642. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2643. $as_echo "no" >&6; }
  2644. $as_echo "$as_me: failed program was:" >&5
  2645. sed 's/^/| /' conftest.$ac_ext >&5
  2646. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2647. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2648. as_fn_error 77 "C compiler cannot create executables
  2649. See \`config.log' for more details" "$LINENO" 5; }
  2650. else
  2651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2652. $as_echo "yes" >&6; }
  2653. fi
  2654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2655. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2657. $as_echo "$ac_file" >&6; }
  2658. ac_exeext=$ac_cv_exeext
  2659. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2660. ac_clean_files=$ac_clean_files_save
  2661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2662. $as_echo_n "checking for suffix of executables... " >&6; }
  2663. if { { ac_try="$ac_link"
  2664. case "(($ac_try" in
  2665. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2666. *) ac_try_echo=$ac_try;;
  2667. esac
  2668. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2669. $as_echo "$ac_try_echo"; } >&5
  2670. (eval "$ac_link") 2>&5
  2671. ac_status=$?
  2672. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2673. test $ac_status = 0; }; then :
  2674. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2675. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2676. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2677. # `rm'.
  2678. for ac_file in conftest.exe conftest conftest.*; do
  2679. test -f "$ac_file" || continue
  2680. case $ac_file in
  2681. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2682. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2683. break;;
  2684. * ) break;;
  2685. esac
  2686. done
  2687. else
  2688. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2689. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2690. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  2691. See \`config.log' for more details" "$LINENO" 5; }
  2692. fi
  2693. rm -f conftest conftest$ac_cv_exeext
  2694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2695. $as_echo "$ac_cv_exeext" >&6; }
  2696. rm -f conftest.$ac_ext
  2697. EXEEXT=$ac_cv_exeext
  2698. ac_exeext=$EXEEXT
  2699. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2700. /* end confdefs.h. */
  2701. #include <stdio.h>
  2702. int
  2703. main ()
  2704. {
  2705. FILE *f = fopen ("conftest.out", "w");
  2706. return ferror (f) || fclose (f) != 0;
  2707. ;
  2708. return 0;
  2709. }
  2710. _ACEOF
  2711. ac_clean_files="$ac_clean_files conftest.out"
  2712. # Check that the compiler produces executables we can run. If not, either
  2713. # the compiler is broken, or we cross compile.
  2714. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2715. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2716. if test "$cross_compiling" != yes; then
  2717. { { ac_try="$ac_link"
  2718. case "(($ac_try" in
  2719. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2720. *) ac_try_echo=$ac_try;;
  2721. esac
  2722. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2723. $as_echo "$ac_try_echo"; } >&5
  2724. (eval "$ac_link") 2>&5
  2725. ac_status=$?
  2726. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2727. test $ac_status = 0; }
  2728. if { ac_try='./conftest$ac_cv_exeext'
  2729. { { case "(($ac_try" in
  2730. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2731. *) ac_try_echo=$ac_try;;
  2732. esac
  2733. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2734. $as_echo "$ac_try_echo"; } >&5
  2735. (eval "$ac_try") 2>&5
  2736. ac_status=$?
  2737. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2738. test $ac_status = 0; }; }; then
  2739. cross_compiling=no
  2740. else
  2741. if test "$cross_compiling" = maybe; then
  2742. cross_compiling=yes
  2743. else
  2744. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2745. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2746. as_fn_error $? "cannot run C compiled programs.
  2747. If you meant to cross compile, use \`--host'.
  2748. See \`config.log' for more details" "$LINENO" 5; }
  2749. fi
  2750. fi
  2751. fi
  2752. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2753. $as_echo "$cross_compiling" >&6; }
  2754. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  2755. ac_clean_files=$ac_clean_files_save
  2756. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2757. $as_echo_n "checking for suffix of object files... " >&6; }
  2758. if ${ac_cv_objext+:} false; then :
  2759. $as_echo_n "(cached) " >&6
  2760. else
  2761. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2762. /* end confdefs.h. */
  2763. int
  2764. main ()
  2765. {
  2766. ;
  2767. return 0;
  2768. }
  2769. _ACEOF
  2770. rm -f conftest.o conftest.obj
  2771. if { { ac_try="$ac_compile"
  2772. case "(($ac_try" in
  2773. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2774. *) ac_try_echo=$ac_try;;
  2775. esac
  2776. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2777. $as_echo "$ac_try_echo"; } >&5
  2778. (eval "$ac_compile") 2>&5
  2779. ac_status=$?
  2780. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2781. test $ac_status = 0; }; then :
  2782. for ac_file in conftest.o conftest.obj conftest.*; do
  2783. test -f "$ac_file" || continue;
  2784. case $ac_file in
  2785. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2786. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2787. break;;
  2788. esac
  2789. done
  2790. else
  2791. $as_echo "$as_me: failed program was:" >&5
  2792. sed 's/^/| /' conftest.$ac_ext >&5
  2793. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2794. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2795. as_fn_error $? "cannot compute suffix of object files: cannot compile
  2796. See \`config.log' for more details" "$LINENO" 5; }
  2797. fi
  2798. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2799. fi
  2800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2801. $as_echo "$ac_cv_objext" >&6; }
  2802. OBJEXT=$ac_cv_objext
  2803. ac_objext=$OBJEXT
  2804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2805. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2806. if ${ac_cv_c_compiler_gnu+:} false; then :
  2807. $as_echo_n "(cached) " >&6
  2808. else
  2809. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2810. /* end confdefs.h. */
  2811. int
  2812. main ()
  2813. {
  2814. #ifndef __GNUC__
  2815. choke me
  2816. #endif
  2817. ;
  2818. return 0;
  2819. }
  2820. _ACEOF
  2821. if ac_fn_c_try_compile "$LINENO"; then :
  2822. ac_compiler_gnu=yes
  2823. else
  2824. ac_compiler_gnu=no
  2825. fi
  2826. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2827. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2828. fi
  2829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2830. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2831. if test $ac_compiler_gnu = yes; then
  2832. GCC=yes
  2833. else
  2834. GCC=
  2835. fi
  2836. ac_test_CFLAGS=${CFLAGS+set}
  2837. ac_save_CFLAGS=$CFLAGS
  2838. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2839. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2840. if ${ac_cv_prog_cc_g+:} false; then :
  2841. $as_echo_n "(cached) " >&6
  2842. else
  2843. ac_save_c_werror_flag=$ac_c_werror_flag
  2844. ac_c_werror_flag=yes
  2845. ac_cv_prog_cc_g=no
  2846. CFLAGS="-g"
  2847. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2848. /* end confdefs.h. */
  2849. int
  2850. main ()
  2851. {
  2852. ;
  2853. return 0;
  2854. }
  2855. _ACEOF
  2856. if ac_fn_c_try_compile "$LINENO"; then :
  2857. ac_cv_prog_cc_g=yes
  2858. else
  2859. CFLAGS=""
  2860. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2861. /* end confdefs.h. */
  2862. int
  2863. main ()
  2864. {
  2865. ;
  2866. return 0;
  2867. }
  2868. _ACEOF
  2869. if ac_fn_c_try_compile "$LINENO"; then :
  2870. else
  2871. ac_c_werror_flag=$ac_save_c_werror_flag
  2872. CFLAGS="-g"
  2873. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2874. /* end confdefs.h. */
  2875. int
  2876. main ()
  2877. {
  2878. ;
  2879. return 0;
  2880. }
  2881. _ACEOF
  2882. if ac_fn_c_try_compile "$LINENO"; then :
  2883. ac_cv_prog_cc_g=yes
  2884. fi
  2885. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2886. fi
  2887. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2888. fi
  2889. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2890. ac_c_werror_flag=$ac_save_c_werror_flag
  2891. fi
  2892. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  2893. $as_echo "$ac_cv_prog_cc_g" >&6; }
  2894. if test "$ac_test_CFLAGS" = set; then
  2895. CFLAGS=$ac_save_CFLAGS
  2896. elif test $ac_cv_prog_cc_g = yes; then
  2897. if test "$GCC" = yes; then
  2898. CFLAGS="-g -O2"
  2899. else
  2900. CFLAGS="-g"
  2901. fi
  2902. else
  2903. if test "$GCC" = yes; then
  2904. CFLAGS="-O2"
  2905. else
  2906. CFLAGS=
  2907. fi
  2908. fi
  2909. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  2910. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2911. if ${ac_cv_prog_cc_c89+:} false; then :
  2912. $as_echo_n "(cached) " >&6
  2913. else
  2914. ac_cv_prog_cc_c89=no
  2915. ac_save_CC=$CC
  2916. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2917. /* end confdefs.h. */
  2918. #include <stdarg.h>
  2919. #include <stdio.h>
  2920. struct stat;
  2921. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2922. struct buf { int x; };
  2923. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2924. static char *e (p, i)
  2925. char **p;
  2926. int i;
  2927. {
  2928. return p[i];
  2929. }
  2930. static char *f (char * (*g) (char **, int), char **p, ...)
  2931. {
  2932. char *s;
  2933. va_list v;
  2934. va_start (v,p);
  2935. s = g (p, va_arg (v,int));
  2936. va_end (v);
  2937. return s;
  2938. }
  2939. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2940. function prototypes and stuff, but not '\xHH' hex character constants.
  2941. These don't provoke an error unfortunately, instead are silently treated
  2942. as 'x'. The following induces an error, until -std is added to get
  2943. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2944. array size at least. It's necessary to write '\x00'==0 to get something
  2945. that's true only with -std. */
  2946. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2947. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2948. inside strings and character constants. */
  2949. #define FOO(x) 'x'
  2950. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2951. int test (int i, double x);
  2952. struct s1 {int (*f) (int a);};
  2953. struct s2 {int (*f) (double a);};
  2954. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2955. int argc;
  2956. char **argv;
  2957. int
  2958. main ()
  2959. {
  2960. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2961. ;
  2962. return 0;
  2963. }
  2964. _ACEOF
  2965. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2966. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2967. do
  2968. CC="$ac_save_CC $ac_arg"
  2969. if ac_fn_c_try_compile "$LINENO"; then :
  2970. ac_cv_prog_cc_c89=$ac_arg
  2971. fi
  2972. rm -f core conftest.err conftest.$ac_objext
  2973. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2974. done
  2975. rm -f conftest.$ac_ext
  2976. CC=$ac_save_CC
  2977. fi
  2978. # AC_CACHE_VAL
  2979. case "x$ac_cv_prog_cc_c89" in
  2980. x)
  2981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  2982. $as_echo "none needed" >&6; } ;;
  2983. xno)
  2984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  2985. $as_echo "unsupported" >&6; } ;;
  2986. *)
  2987. CC="$CC $ac_cv_prog_cc_c89"
  2988. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  2989. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2990. esac
  2991. if test "x$ac_cv_prog_cc_c89" != xno; then :
  2992. fi
  2993. ac_ext=c
  2994. ac_cpp='$CPP $CPPFLAGS'
  2995. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2996. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2997. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2998. ac_ext=c
  2999. ac_cpp='$CPP $CPPFLAGS'
  3000. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3001. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3002. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3003. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  3004. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  3005. if ${am_cv_prog_cc_c_o+:} false; then :
  3006. $as_echo_n "(cached) " >&6
  3007. else
  3008. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3009. /* end confdefs.h. */
  3010. int
  3011. main ()
  3012. {
  3013. ;
  3014. return 0;
  3015. }
  3016. _ACEOF
  3017. # Make sure it works both with $CC and with simple cc.
  3018. # Following AC_PROG_CC_C_O, we do the test twice because some
  3019. # compilers refuse to overwrite an existing .o file with -o,
  3020. # though they will create one.
  3021. am_cv_prog_cc_c_o=yes
  3022. for am_i in 1 2; do
  3023. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  3024. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  3025. ac_status=$?
  3026. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3027. (exit $ac_status); } \
  3028. && test -f conftest2.$ac_objext; then
  3029. : OK
  3030. else
  3031. am_cv_prog_cc_c_o=no
  3032. break
  3033. fi
  3034. done
  3035. rm -f core conftest*
  3036. unset am_i
  3037. fi
  3038. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  3039. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  3040. if test "$am_cv_prog_cc_c_o" != yes; then
  3041. # Losing compiler, so override with the script.
  3042. # FIXME: It is wrong to rewrite CC.
  3043. # But if we don't then we get into trouble of one sort or another.
  3044. # A longer-term fix would be to have automake use am__CC in this case,
  3045. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  3046. CC="$am_aux_dir/compile $CC"
  3047. fi
  3048. ac_ext=c
  3049. ac_cpp='$CPP $CPPFLAGS'
  3050. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3051. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3052. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3053. DEPDIR="${am__leading_dot}deps"
  3054. ac_config_commands="$ac_config_commands depfiles"
  3055. am_make=${MAKE-make}
  3056. cat > confinc << 'END'
  3057. am__doit:
  3058. @echo this is the am__doit target
  3059. .PHONY: am__doit
  3060. END
  3061. # If we don't find an include directive, just comment out the code.
  3062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3063. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3064. am__include="#"
  3065. am__quote=
  3066. _am_result=none
  3067. # First try GNU make style include.
  3068. echo "include confinc" > confmf
  3069. # Ignore all kinds of additional output from 'make'.
  3070. case `$am_make -s -f confmf 2> /dev/null` in #(
  3071. *the\ am__doit\ target*)
  3072. am__include=include
  3073. am__quote=
  3074. _am_result=GNU
  3075. ;;
  3076. esac
  3077. # Now try BSD make style include.
  3078. if test "$am__include" = "#"; then
  3079. echo '.include "confinc"' > confmf
  3080. case `$am_make -s -f confmf 2> /dev/null` in #(
  3081. *the\ am__doit\ target*)
  3082. am__include=.include
  3083. am__quote="\""
  3084. _am_result=BSD
  3085. ;;
  3086. esac
  3087. fi
  3088. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3089. $as_echo "$_am_result" >&6; }
  3090. rm -f confinc confmf
  3091. # Check whether --enable-dependency-tracking was given.
  3092. if test "${enable_dependency_tracking+set}" = set; then :
  3093. enableval=$enable_dependency_tracking;
  3094. fi
  3095. if test "x$enable_dependency_tracking" != xno; then
  3096. am_depcomp="$ac_aux_dir/depcomp"
  3097. AMDEPBACKSLASH='\'
  3098. am__nodep='_no'
  3099. fi
  3100. if test "x$enable_dependency_tracking" != xno; then
  3101. AMDEP_TRUE=
  3102. AMDEP_FALSE='#'
  3103. else
  3104. AMDEP_TRUE='#'
  3105. AMDEP_FALSE=
  3106. fi
  3107. depcc="$CC" am_compiler_list=
  3108. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3109. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3110. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3111. $as_echo_n "(cached) " >&6
  3112. else
  3113. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3114. # We make a subdir and do the tests there. Otherwise we can end up
  3115. # making bogus files that we don't know about and never remove. For
  3116. # instance it was reported that on HP-UX the gcc test will end up
  3117. # making a dummy file named 'D' -- because '-MD' means "put the output
  3118. # in D".
  3119. rm -rf conftest.dir
  3120. mkdir conftest.dir
  3121. # Copy depcomp to subdir because otherwise we won't find it if we're
  3122. # using a relative directory.
  3123. cp "$am_depcomp" conftest.dir
  3124. cd conftest.dir
  3125. # We will build objects and dependencies in a subdirectory because
  3126. # it helps to detect inapplicable dependency modes. For instance
  3127. # both Tru64's cc and ICC support -MD to output dependencies as a
  3128. # side effect of compilation, but ICC will put the dependencies in
  3129. # the current directory while Tru64 will put them in the object
  3130. # directory.
  3131. mkdir sub
  3132. am_cv_CC_dependencies_compiler_type=none
  3133. if test "$am_compiler_list" = ""; then
  3134. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3135. fi
  3136. am__universal=false
  3137. case " $depcc " in #(
  3138. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3139. esac
  3140. for depmode in $am_compiler_list; do
  3141. # Setup a source with many dependencies, because some compilers
  3142. # like to wrap large dependency lists on column 80 (with \), and
  3143. # we should not choose a depcomp mode which is confused by this.
  3144. #
  3145. # We need to recreate these files for each test, as the compiler may
  3146. # overwrite some of them when testing with obscure command lines.
  3147. # This happens at least with the AIX C compiler.
  3148. : > sub/conftest.c
  3149. for i in 1 2 3 4 5 6; do
  3150. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3151. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3152. # Solaris 10 /bin/sh.
  3153. echo '/* dummy */' > sub/conftst$i.h
  3154. done
  3155. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3156. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3157. # mode. It turns out that the SunPro C++ compiler does not properly
  3158. # handle '-M -o', and we need to detect this. Also, some Intel
  3159. # versions had trouble with output in subdirs.
  3160. am__obj=sub/conftest.${OBJEXT-o}
  3161. am__minus_obj="-o $am__obj"
  3162. case $depmode in
  3163. gcc)
  3164. # This depmode causes a compiler race in universal mode.
  3165. test "$am__universal" = false || continue
  3166. ;;
  3167. nosideeffect)
  3168. # After this tag, mechanisms are not by side-effect, so they'll
  3169. # only be used when explicitly requested.
  3170. if test "x$enable_dependency_tracking" = xyes; then
  3171. continue
  3172. else
  3173. break
  3174. fi
  3175. ;;
  3176. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3177. # This compiler won't grok '-c -o', but also, the minuso test has
  3178. # not run yet. These depmodes are late enough in the game, and
  3179. # so weak that their functioning should not be impacted.
  3180. am__obj=conftest.${OBJEXT-o}
  3181. am__minus_obj=
  3182. ;;
  3183. none) break ;;
  3184. esac
  3185. if depmode=$depmode \
  3186. source=sub/conftest.c object=$am__obj \
  3187. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3188. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3189. >/dev/null 2>conftest.err &&
  3190. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3191. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3192. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3193. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3194. # icc doesn't choke on unknown options, it will just issue warnings
  3195. # or remarks (even with -Werror). So we grep stderr for any message
  3196. # that says an option was ignored or not supported.
  3197. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3198. # icc: Command line warning: ignoring option '-M'; no argument required
  3199. # The diagnosis changed in icc 8.0:
  3200. # icc: Command line remark: option '-MP' not supported
  3201. if (grep 'ignoring option' conftest.err ||
  3202. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3203. am_cv_CC_dependencies_compiler_type=$depmode
  3204. break
  3205. fi
  3206. fi
  3207. done
  3208. cd ..
  3209. rm -rf conftest.dir
  3210. else
  3211. am_cv_CC_dependencies_compiler_type=none
  3212. fi
  3213. fi
  3214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3215. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3216. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3217. if
  3218. test "x$enable_dependency_tracking" != xno \
  3219. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3220. am__fastdepCC_TRUE=
  3221. am__fastdepCC_FALSE='#'
  3222. else
  3223. am__fastdepCC_TRUE='#'
  3224. am__fastdepCC_FALSE=
  3225. fi
  3226. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -std=c11" >&5
  3227. $as_echo_n "checking whether C compiler accepts -std=c11... " >&6; }
  3228. if ${ax_cv_check_cflags___std_c11+:} false; then :
  3229. $as_echo_n "(cached) " >&6
  3230. else
  3231. ax_check_save_flags=$CFLAGS
  3232. CFLAGS="$CFLAGS -std=c11"
  3233. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3234. /* end confdefs.h. */
  3235. int
  3236. main ()
  3237. {
  3238. ;
  3239. return 0;
  3240. }
  3241. _ACEOF
  3242. if ac_fn_c_try_compile "$LINENO"; then :
  3243. ax_cv_check_cflags___std_c11=yes
  3244. else
  3245. ax_cv_check_cflags___std_c11=no
  3246. fi
  3247. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3248. CFLAGS=$ax_check_save_flags
  3249. fi
  3250. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___std_c11" >&5
  3251. $as_echo "$ax_cv_check_cflags___std_c11" >&6; }
  3252. if test "x$ax_cv_check_cflags___std_c11" = xyes; then :
  3253. CFLAGS+=" -std=c11"
  3254. else
  3255. echo "C compiler cannot compile C11 code"
  3256. exit -1
  3257. fi
  3258. # Extract the first word of "m4", so it can be a program name with args.
  3259. set dummy m4; ac_word=$2
  3260. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3261. $as_echo_n "checking for $ac_word... " >&6; }
  3262. if ${ac_cv_path_M4+:} false; then :
  3263. $as_echo_n "(cached) " >&6
  3264. else
  3265. case $M4 in
  3266. [\\/]* | ?:[\\/]*)
  3267. ac_cv_path_M4="$M4" # Let the user override the test with a path.
  3268. ;;
  3269. *)
  3270. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3271. for as_dir in $PATH
  3272. do
  3273. IFS=$as_save_IFS
  3274. test -z "$as_dir" && as_dir=.
  3275. for ac_exec_ext in '' $ac_executable_extensions; do
  3276. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3277. ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
  3278. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3279. break 2
  3280. fi
  3281. done
  3282. done
  3283. IFS=$as_save_IFS
  3284. ;;
  3285. esac
  3286. fi
  3287. M4=$ac_cv_path_M4
  3288. if test -n "$M4"; then
  3289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $M4" >&5
  3290. $as_echo "$M4" >&6; }
  3291. else
  3292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3293. $as_echo "no" >&6; }
  3294. fi
  3295. # Check whether --with-debug was given.
  3296. if test "${with_debug+set}" = set; then :
  3297. withval=$with_debug; case $with_debug in
  3298. yes) $as_echo "#define DEBUG 1" >>confdefs.h
  3299. ;;
  3300. no) ;;
  3301. *) as_fn_error $? "\"--with-debug does not take an argument.\"" "$LINENO" 5
  3302. ;;
  3303. esac
  3304. fi
  3305. # Check whether --with-debug_encoding was given.
  3306. if test "${with_debug_encoding+set}" = set; then :
  3307. withval=$with_debug_encoding; case $with_debug_encoding in
  3308. yes) $as_echo "#define DEBUG_ENCODING 1" >>confdefs.h
  3309. ;;
  3310. no) ;;
  3311. *) as_fn_error $? "\"--with-debug-encoding does not take an argument.\"" "$LINENO" 5
  3312. ;;
  3313. esac
  3314. fi
  3315. $as_echo "#define _DEFAULT_SOURCE 1" >>confdefs.h
  3316. # Check whether --with-xml-prefix was given.
  3317. if test "${with_xml_prefix+set}" = set; then :
  3318. withval=$with_xml_prefix; xml_config_prefix="$withval"
  3319. else
  3320. xml_config_prefix=""
  3321. fi
  3322. # Check whether --with-xml-exec-prefix was given.
  3323. if test "${with_xml_exec_prefix+set}" = set; then :
  3324. withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
  3325. else
  3326. xml_config_exec_prefix=""
  3327. fi
  3328. # Check whether --enable-xmltest was given.
  3329. if test "${enable_xmltest+set}" = set; then :
  3330. enableval=$enable_xmltest;
  3331. else
  3332. enable_xmltest=yes
  3333. fi
  3334. if test x$xml_config_exec_prefix != x ; then
  3335. xml_config_args="$xml_config_args"
  3336. if test x${XML2_CONFIG+set} != xset ; then
  3337. XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
  3338. fi
  3339. fi
  3340. if test x$xml_config_prefix != x ; then
  3341. xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
  3342. if test x${XML2_CONFIG+set} != xset ; then
  3343. XML2_CONFIG=$xml_config_prefix/bin/xml2-config
  3344. fi
  3345. fi
  3346. # Extract the first word of "xml2-config", so it can be a program name with args.
  3347. set dummy xml2-config; ac_word=$2
  3348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3349. $as_echo_n "checking for $ac_word... " >&6; }
  3350. if ${ac_cv_path_XML2_CONFIG+:} false; then :
  3351. $as_echo_n "(cached) " >&6
  3352. else
  3353. case $XML2_CONFIG in
  3354. [\\/]* | ?:[\\/]*)
  3355. ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
  3356. ;;
  3357. *)
  3358. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3359. for as_dir in $PATH
  3360. do
  3361. IFS=$as_save_IFS
  3362. test -z "$as_dir" && as_dir=.
  3363. for ac_exec_ext in '' $ac_executable_extensions; do
  3364. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3365. ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  3366. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3367. break 2
  3368. fi
  3369. done
  3370. done
  3371. IFS=$as_save_IFS
  3372. test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
  3373. ;;
  3374. esac
  3375. fi
  3376. XML2_CONFIG=$ac_cv_path_XML2_CONFIG
  3377. if test -n "$XML2_CONFIG"; then
  3378. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
  3379. $as_echo "$XML2_CONFIG" >&6; }
  3380. else
  3381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3382. $as_echo "no" >&6; }
  3383. fi
  3384. min_xml_version=2.9.0
  3385. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml - version >= $min_xml_version" >&5
  3386. $as_echo_n "checking for libxml - version >= $min_xml_version... " >&6; }
  3387. no_xml=""
  3388. if test "$XML2_CONFIG" = "no" ; then
  3389. no_xml=yes
  3390. else
  3391. XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
  3392. XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
  3393. xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
  3394. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  3395. xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
  3396. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  3397. xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
  3398. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  3399. if test "x$enable_xmltest" = "xyes" ; then
  3400. ac_save_CPPFLAGS="$CPPFLAGS"
  3401. ac_save_LIBS="$LIBS"
  3402. CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
  3403. LIBS="$XML_LIBS $LIBS"
  3404. rm -f conf.xmltest
  3405. if test "$cross_compiling" = yes; then :
  3406. echo $ac_n "cross compiling; assumed OK... $ac_c"
  3407. else
  3408. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3409. /* end confdefs.h. */
  3410. #include <stdlib.h>
  3411. #include <stdio.h>
  3412. #include <string.h>
  3413. #include <libxml/xmlversion.h>
  3414. int
  3415. main()
  3416. {
  3417. int xml_major_version, xml_minor_version, xml_micro_version;
  3418. int major, minor, micro;
  3419. char *tmp_version;
  3420. system("touch conf.xmltest");
  3421. /* Capture xml2-config output via autoconf/configure variables */
  3422. /* HP/UX 9 (%@#!) writes to sscanf strings */
  3423. tmp_version = (char *)strdup("$min_xml_version");
  3424. if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  3425. printf("%s, bad version string from xml2-config\n", "$min_xml_version");
  3426. exit(1);
  3427. }
  3428. free(tmp_version);
  3429. /* Capture the version information from the header files */
  3430. tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
  3431. if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
  3432. printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
  3433. exit(1);
  3434. }
  3435. free(tmp_version);
  3436. /* Compare xml2-config output to the libxml headers */
  3437. if ((xml_major_version != $xml_config_major_version) ||
  3438. (xml_minor_version != $xml_config_minor_version) ||
  3439. (xml_micro_version != $xml_config_micro_version))
  3440. {
  3441. printf("*** libxml header files (version %d.%d.%d) do not match\n",
  3442. xml_major_version, xml_minor_version, xml_micro_version);
  3443. printf("*** xml2-config (version %d.%d.%d)\n",
  3444. $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
  3445. return 1;
  3446. }
  3447. /* Compare the headers to the library to make sure we match */
  3448. /* Less than ideal -- doesn't provide us with return value feedback,
  3449. * only exits if there's a serious mismatch between header and library.
  3450. */
  3451. LIBXML_TEST_VERSION;
  3452. /* Test that the library is greater than our minimum version */
  3453. if ((xml_major_version > major) ||
  3454. ((xml_major_version == major) && (xml_minor_version > minor)) ||
  3455. ((xml_major_version == major) && (xml_minor_version == minor) &&
  3456. (xml_micro_version >= micro)))
  3457. {
  3458. return 0;
  3459. }
  3460. else
  3461. {
  3462. printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
  3463. xml_major_version, xml_minor_version, xml_micro_version);
  3464. printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
  3465. major, minor, micro);
  3466. printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
  3467. printf("***\n");
  3468. printf("*** If you have already installed a sufficiently new version, this error\n");
  3469. printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
  3470. printf("*** being found. The easiest way to fix this is to remove the old version\n");
  3471. printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
  3472. printf("*** correct copy of xml2-config. (In this case, you will have to\n");
  3473. printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
  3474. printf("*** so that the correct libraries are found at run-time))\n");
  3475. }
  3476. return 1;
  3477. }
  3478. _ACEOF
  3479. if ac_fn_c_try_run "$LINENO"; then :
  3480. else
  3481. no_xml=yes
  3482. fi
  3483. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3484. conftest.$ac_objext conftest.beam conftest.$ac_ext
  3485. fi
  3486. CPPFLAGS="$ac_save_CPPFLAGS"
  3487. LIBS="$ac_save_LIBS"
  3488. fi
  3489. fi
  3490. if test "x$no_xml" = x ; then
  3491. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
  3492. $as_echo "yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6; }
  3493. :
  3494. else
  3495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3496. $as_echo "no" >&6; }
  3497. if test "$XML2_CONFIG" = "no" ; then
  3498. echo "*** The xml2-config script installed by LIBXML could not be found"
  3499. echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
  3500. echo "*** your path, or set the XML2_CONFIG environment variable to the"
  3501. echo "*** full path to xml2-config."
  3502. else
  3503. if test -f conf.xmltest ; then
  3504. :
  3505. else
  3506. echo "*** Could not run libxml test program, checking why..."
  3507. CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
  3508. LIBS="$LIBS $XML_LIBS"
  3509. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3510. /* end confdefs.h. */
  3511. #include <libxml/xmlversion.h>
  3512. #include <stdio.h>
  3513. int
  3514. main ()
  3515. {
  3516. LIBXML_TEST_VERSION; return 0;
  3517. ;
  3518. return 0;
  3519. }
  3520. _ACEOF
  3521. if ac_fn_c_try_link "$LINENO"; then :
  3522. echo "*** The test program compiled, but did not run. This usually means"
  3523. echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
  3524. echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
  3525. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  3526. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  3527. echo "*** is required on your system"
  3528. echo "***"
  3529. echo "*** If you have an old version installed, it is best to remove it, although"
  3530. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  3531. else
  3532. echo "*** The test program failed to compile or link. See the file config.log for the"
  3533. echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
  3534. echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
  3535. echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
  3536. fi
  3537. rm -f core conftest.err conftest.$ac_objext \
  3538. conftest$ac_exeext conftest.$ac_ext
  3539. CPPFLAGS="$ac_save_CPPFLAGS"
  3540. LIBS="$ac_save_LIBS"
  3541. fi
  3542. fi
  3543. XML_CPPFLAGS=""
  3544. XML_LIBS=""
  3545. as_fn_error $? "
  3546. *** Libxml is required to build generarxml; Available at
  3547. http://www.libxml.org/." "$LINENO" 5
  3548. fi
  3549. rm -f conf.xmltest
  3550. AM_CFLAGS=(`xml2-config --cflags --libs`)
  3551. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  3552. if test -n "$ac_tool_prefix"; then
  3553. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  3554. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  3555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3556. $as_echo_n "checking for $ac_word... " >&6; }
  3557. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  3558. $as_echo_n "(cached) " >&6
  3559. else
  3560. case $PKG_CONFIG in
  3561. [\\/]* | ?:[\\/]*)
  3562. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  3563. ;;
  3564. *)
  3565. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3566. for as_dir in $PATH
  3567. do
  3568. IFS=$as_save_IFS
  3569. test -z "$as_dir" && as_dir=.
  3570. for ac_exec_ext in '' $ac_executable_extensions; do
  3571. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3572. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  3573. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3574. break 2
  3575. fi
  3576. done
  3577. done
  3578. IFS=$as_save_IFS
  3579. ;;
  3580. esac
  3581. fi
  3582. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  3583. if test -n "$PKG_CONFIG"; then
  3584. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  3585. $as_echo "$PKG_CONFIG" >&6; }
  3586. else
  3587. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3588. $as_echo "no" >&6; }
  3589. fi
  3590. fi
  3591. if test -z "$ac_cv_path_PKG_CONFIG"; then
  3592. ac_pt_PKG_CONFIG=$PKG_CONFIG
  3593. # Extract the first word of "pkg-config", so it can be a program name with args.
  3594. set dummy pkg-config; ac_word=$2
  3595. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3596. $as_echo_n "checking for $ac_word... " >&6; }
  3597. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  3598. $as_echo_n "(cached) " >&6
  3599. else
  3600. case $ac_pt_PKG_CONFIG in
  3601. [\\/]* | ?:[\\/]*)
  3602. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  3603. ;;
  3604. *)
  3605. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3606. for as_dir in $PATH
  3607. do
  3608. IFS=$as_save_IFS
  3609. test -z "$as_dir" && as_dir=.
  3610. for ac_exec_ext in '' $ac_executable_extensions; do
  3611. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3612. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  3613. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3614. break 2
  3615. fi
  3616. done
  3617. done
  3618. IFS=$as_save_IFS
  3619. ;;
  3620. esac
  3621. fi
  3622. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  3623. if test -n "$ac_pt_PKG_CONFIG"; then
  3624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  3625. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  3626. else
  3627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3628. $as_echo "no" >&6; }
  3629. fi
  3630. if test "x$ac_pt_PKG_CONFIG" = x; then
  3631. PKG_CONFIG=""
  3632. else
  3633. case $cross_compiling:$ac_tool_warned in
  3634. yes:)
  3635. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3636. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3637. ac_tool_warned=yes ;;
  3638. esac
  3639. PKG_CONFIG=$ac_pt_PKG_CONFIG
  3640. fi
  3641. else
  3642. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  3643. fi
  3644. fi
  3645. if test -n "$PKG_CONFIG"; then
  3646. _pkg_min_version=0.9.0
  3647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  3648. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  3649. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  3650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3651. $as_echo "yes" >&6; }
  3652. else
  3653. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3654. $as_echo "no" >&6; }
  3655. PKG_CONFIG=""
  3656. fi
  3657. fi
  3658. pkg_failed=no
  3659. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
  3660. $as_echo_n "checking for libxml2... " >&6; }
  3661. if test -n "$libxml2_CFLAGS"; then
  3662. pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
  3663. elif test -n "$PKG_CONFIG"; then
  3664. if test -n "$PKG_CONFIG" && \
  3665. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
  3666. ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
  3667. ac_status=$?
  3668. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3669. test $ac_status = 0; }; then
  3670. pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
  3671. test "x$?" != "x0" && pkg_failed=yes
  3672. else
  3673. pkg_failed=yes
  3674. fi
  3675. else
  3676. pkg_failed=untried
  3677. fi
  3678. if test -n "$libxml2_LIBS"; then
  3679. pkg_cv_libxml2_LIBS="$libxml2_LIBS"
  3680. elif test -n "$PKG_CONFIG"; then
  3681. if test -n "$PKG_CONFIG" && \
  3682. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
  3683. ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
  3684. ac_status=$?
  3685. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3686. test $ac_status = 0; }; then
  3687. pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
  3688. test "x$?" != "x0" && pkg_failed=yes
  3689. else
  3690. pkg_failed=yes
  3691. fi
  3692. else
  3693. pkg_failed=untried
  3694. fi
  3695. if test $pkg_failed = yes; then
  3696. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3697. $as_echo "no" >&6; }
  3698. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  3699. _pkg_short_errors_supported=yes
  3700. else
  3701. _pkg_short_errors_supported=no
  3702. fi
  3703. if test $_pkg_short_errors_supported = yes; then
  3704. libxml2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
  3705. else
  3706. libxml2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
  3707. fi
  3708. # Put the nasty error message in config.log where it belongs
  3709. echo "$libxml2_PKG_ERRORS" >&5
  3710. as_fn_error $? "Package requirements (libxml-2.0) were not met:
  3711. $libxml2_PKG_ERRORS
  3712. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  3713. installed software in a non-standard prefix.
  3714. Alternatively, you may set the environment variables libxml2_CFLAGS
  3715. and libxml2_LIBS to avoid the need to call pkg-config.
  3716. See the pkg-config man page for more details." "$LINENO" 5
  3717. elif test $pkg_failed = untried; then
  3718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3719. $as_echo "no" >&6; }
  3720. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3721. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3722. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  3723. is in your PATH or set the PKG_CONFIG environment variable to the full
  3724. path to pkg-config.
  3725. Alternatively, you may set the environment variables libxml2_CFLAGS
  3726. and libxml2_LIBS to avoid the need to call pkg-config.
  3727. See the pkg-config man page for more details.
  3728. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  3729. See \`config.log' for more details" "$LINENO" 5; }
  3730. else
  3731. libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
  3732. libxml2_LIBS=$pkg_cv_libxml2_LIBS
  3733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3734. $as_echo "yes" >&6; }
  3735. fi
  3736. ac_config_files="$ac_config_files Makefile src/Makefile"
  3737. cat >confcache <<\_ACEOF
  3738. # This file is a shell script that caches the results of configure
  3739. # tests run on this system so they can be shared between configure
  3740. # scripts and configure runs, see configure's option --config-cache.
  3741. # It is not useful on other systems. If it contains results you don't
  3742. # want to keep, you may remove or edit it.
  3743. #
  3744. # config.status only pays attention to the cache file if you give it
  3745. # the --recheck option to rerun configure.
  3746. #
  3747. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  3748. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  3749. # following values.
  3750. _ACEOF
  3751. # The following way of writing the cache mishandles newlines in values,
  3752. # but we know of no workaround that is simple, portable, and efficient.
  3753. # So, we kill variables containing newlines.
  3754. # Ultrix sh set writes to stderr and can't be redirected directly,
  3755. # and sets the high bit in the cache file unless we assign to the vars.
  3756. (
  3757. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  3758. eval ac_val=\$$ac_var
  3759. case $ac_val in #(
  3760. *${as_nl}*)
  3761. case $ac_var in #(
  3762. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3763. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3764. esac
  3765. case $ac_var in #(
  3766. _ | IFS | as_nl) ;; #(
  3767. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3768. *) { eval $ac_var=; unset $ac_var;} ;;
  3769. esac ;;
  3770. esac
  3771. done
  3772. (set) 2>&1 |
  3773. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  3774. *${as_nl}ac_space=\ *)
  3775. # `set' does not quote correctly, so add quotes: double-quote
  3776. # substitution turns \\\\ into \\, and sed turns \\ into \.
  3777. sed -n \
  3778. "s/'/'\\\\''/g;
  3779. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  3780. ;; #(
  3781. *)
  3782. # `set' quotes correctly as required by POSIX, so do not add quotes.
  3783. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3784. ;;
  3785. esac |
  3786. sort
  3787. ) |
  3788. sed '
  3789. /^ac_cv_env_/b end
  3790. t clear
  3791. :clear
  3792. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  3793. t end
  3794. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  3795. :end' >>confcache
  3796. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  3797. if test -w "$cache_file"; then
  3798. if test "x$cache_file" != "x/dev/null"; then
  3799. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  3800. $as_echo "$as_me: updating cache $cache_file" >&6;}
  3801. if test ! -f "$cache_file" || test -h "$cache_file"; then
  3802. cat confcache >"$cache_file"
  3803. else
  3804. case $cache_file in #(
  3805. */* | ?:*)
  3806. mv -f confcache "$cache_file"$$ &&
  3807. mv -f "$cache_file"$$ "$cache_file" ;; #(
  3808. *)
  3809. mv -f confcache "$cache_file" ;;
  3810. esac
  3811. fi
  3812. fi
  3813. else
  3814. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  3815. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  3816. fi
  3817. fi
  3818. rm -f confcache
  3819. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3820. # Let make expand exec_prefix.
  3821. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3822. # Transform confdefs.h into DEFS.
  3823. # Protect against shell expansion while executing Makefile rules.
  3824. # Protect against Makefile macro expansion.
  3825. #
  3826. # If the first sed substitution is executed (which looks for macros that
  3827. # take arguments), then branch to the quote section. Otherwise,
  3828. # look for a macro that doesn't take arguments.
  3829. ac_script='
  3830. :mline
  3831. /\\$/{
  3832. N
  3833. s,\\\n,,
  3834. b mline
  3835. }
  3836. t clear
  3837. :clear
  3838. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  3839. t quote
  3840. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  3841. t quote
  3842. b any
  3843. :quote
  3844. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  3845. s/\[/\\&/g
  3846. s/\]/\\&/g
  3847. s/\$/$$/g
  3848. H
  3849. :any
  3850. ${
  3851. g
  3852. s/^\n//
  3853. s/\n/ /g
  3854. p
  3855. }
  3856. '
  3857. DEFS=`sed -n "$ac_script" confdefs.h`
  3858. ac_libobjs=
  3859. ac_ltlibobjs=
  3860. U=
  3861. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  3862. # 1. Remove the extension, and $U if already installed.
  3863. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  3864. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  3865. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  3866. # will be set to the directory where LIBOBJS objects are built.
  3867. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  3868. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  3869. done
  3870. LIBOBJS=$ac_libobjs
  3871. LTLIBOBJS=$ac_ltlibobjs
  3872. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  3873. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  3874. if test -n "$am_sleep_pid"; then
  3875. # Hide warnings about reused PIDs.
  3876. wait $am_sleep_pid 2>/dev/null
  3877. fi
  3878. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  3879. $as_echo "done" >&6; }
  3880. if test -n "$EXEEXT"; then
  3881. am__EXEEXT_TRUE=
  3882. am__EXEEXT_FALSE='#'
  3883. else
  3884. am__EXEEXT_TRUE='#'
  3885. am__EXEEXT_FALSE=
  3886. fi
  3887. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  3888. as_fn_error $? "conditional \"AMDEP\" was never defined.
  3889. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3890. fi
  3891. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  3892. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  3893. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3894. fi
  3895. : "${CONFIG_STATUS=./config.status}"
  3896. ac_write_fail=0
  3897. ac_clean_files_save=$ac_clean_files
  3898. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  3899. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  3900. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  3901. as_write_fail=0
  3902. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  3903. #! $SHELL
  3904. # Generated by $as_me.
  3905. # Run this file to recreate the current configuration.
  3906. # Compiler output produced by configure, useful for debugging
  3907. # configure, is in config.log if it exists.
  3908. debug=false
  3909. ac_cs_recheck=false
  3910. ac_cs_silent=false
  3911. SHELL=\${CONFIG_SHELL-$SHELL}
  3912. export SHELL
  3913. _ASEOF
  3914. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  3915. ## -------------------- ##
  3916. ## M4sh Initialization. ##
  3917. ## -------------------- ##
  3918. # Be more Bourne compatible
  3919. DUALCASE=1; export DUALCASE # for MKS sh
  3920. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  3921. emulate sh
  3922. NULLCMD=:
  3923. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  3924. # is contrary to our usage. Disable this feature.
  3925. alias -g '${1+"$@"}'='"$@"'
  3926. setopt NO_GLOB_SUBST
  3927. else
  3928. case `(set -o) 2>/dev/null` in #(
  3929. *posix*) :
  3930. set -o posix ;; #(
  3931. *) :
  3932. ;;
  3933. esac
  3934. fi
  3935. as_nl='
  3936. '
  3937. export as_nl
  3938. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  3939. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3940. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  3941. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  3942. # Prefer a ksh shell builtin over an external printf program on Solaris,
  3943. # but without wasting forks for bash or zsh.
  3944. if test -z "$BASH_VERSION$ZSH_VERSION" \
  3945. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  3946. as_echo='print -r --'
  3947. as_echo_n='print -rn --'
  3948. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  3949. as_echo='printf %s\n'
  3950. as_echo_n='printf %s'
  3951. else
  3952. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  3953. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  3954. as_echo_n='/usr/ucb/echo -n'
  3955. else
  3956. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  3957. as_echo_n_body='eval
  3958. arg=$1;
  3959. case $arg in #(
  3960. *"$as_nl"*)
  3961. expr "X$arg" : "X\\(.*\\)$as_nl";
  3962. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  3963. esac;
  3964. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  3965. '
  3966. export as_echo_n_body
  3967. as_echo_n='sh -c $as_echo_n_body as_echo'
  3968. fi
  3969. export as_echo_body
  3970. as_echo='sh -c $as_echo_body as_echo'
  3971. fi
  3972. # The user is always right.
  3973. if test "${PATH_SEPARATOR+set}" != set; then
  3974. PATH_SEPARATOR=:
  3975. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  3976. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  3977. PATH_SEPARATOR=';'
  3978. }
  3979. fi
  3980. # IFS
  3981. # We need space, tab and new line, in precisely that order. Quoting is
  3982. # there to prevent editors from complaining about space-tab.
  3983. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  3984. # splitting by setting IFS to empty value.)
  3985. IFS=" "" $as_nl"
  3986. # Find who we are. Look in the path if we contain no directory separator.
  3987. as_myself=
  3988. case $0 in #((
  3989. *[\\/]* ) as_myself=$0 ;;
  3990. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3991. for as_dir in $PATH
  3992. do
  3993. IFS=$as_save_IFS
  3994. test -z "$as_dir" && as_dir=.
  3995. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  3996. done
  3997. IFS=$as_save_IFS
  3998. ;;
  3999. esac
  4000. # We did not find ourselves, most probably we were run as `sh COMMAND'
  4001. # in which case we are not to be found in the path.
  4002. if test "x$as_myself" = x; then
  4003. as_myself=$0
  4004. fi
  4005. if test ! -f "$as_myself"; then
  4006. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4007. exit 1
  4008. fi
  4009. # Unset variables that we do not need and which cause bugs (e.g. in
  4010. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  4011. # suppresses any "Segmentation fault" message there. '((' could
  4012. # trigger a bug in pdksh 5.2.14.
  4013. for as_var in BASH_ENV ENV MAIL MAILPATH
  4014. do eval test x\${$as_var+set} = xset \
  4015. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4016. done
  4017. PS1='$ '
  4018. PS2='> '
  4019. PS4='+ '
  4020. # NLS nuisances.
  4021. LC_ALL=C
  4022. export LC_ALL
  4023. LANGUAGE=C
  4024. export LANGUAGE
  4025. # CDPATH.
  4026. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4027. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  4028. # ----------------------------------------
  4029. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4030. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4031. # script with STATUS, using 1 if that was 0.
  4032. as_fn_error ()
  4033. {
  4034. as_status=$1; test $as_status -eq 0 && as_status=1
  4035. if test "$4"; then
  4036. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4037. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  4038. fi
  4039. $as_echo "$as_me: error: $2" >&2
  4040. as_fn_exit $as_status
  4041. } # as_fn_error
  4042. # as_fn_set_status STATUS
  4043. # -----------------------
  4044. # Set $? to STATUS, without forking.
  4045. as_fn_set_status ()
  4046. {
  4047. return $1
  4048. } # as_fn_set_status
  4049. # as_fn_exit STATUS
  4050. # -----------------
  4051. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4052. as_fn_exit ()
  4053. {
  4054. set +e
  4055. as_fn_set_status $1
  4056. exit $1
  4057. } # as_fn_exit
  4058. # as_fn_unset VAR
  4059. # ---------------
  4060. # Portably unset VAR.
  4061. as_fn_unset ()
  4062. {
  4063. { eval $1=; unset $1;}
  4064. }
  4065. as_unset=as_fn_unset
  4066. # as_fn_append VAR VALUE
  4067. # ----------------------
  4068. # Append the text in VALUE to the end of the definition contained in VAR. Take
  4069. # advantage of any shell optimizations that allow amortized linear growth over
  4070. # repeated appends, instead of the typical quadratic growth present in naive
  4071. # implementations.
  4072. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4073. eval 'as_fn_append ()
  4074. {
  4075. eval $1+=\$2
  4076. }'
  4077. else
  4078. as_fn_append ()
  4079. {
  4080. eval $1=\$$1\$2
  4081. }
  4082. fi # as_fn_append
  4083. # as_fn_arith ARG...
  4084. # ------------------
  4085. # Perform arithmetic evaluation on the ARGs, and store the result in the
  4086. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  4087. # must be portable across $(()) and expr.
  4088. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4089. eval 'as_fn_arith ()
  4090. {
  4091. as_val=$(( $* ))
  4092. }'
  4093. else
  4094. as_fn_arith ()
  4095. {
  4096. as_val=`expr "$@" || test $? -eq 1`
  4097. }
  4098. fi # as_fn_arith
  4099. if expr a : '\(a\)' >/dev/null 2>&1 &&
  4100. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4101. as_expr=expr
  4102. else
  4103. as_expr=false
  4104. fi
  4105. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  4106. as_basename=basename
  4107. else
  4108. as_basename=false
  4109. fi
  4110. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4111. as_dirname=dirname
  4112. else
  4113. as_dirname=false
  4114. fi
  4115. as_me=`$as_basename -- "$0" ||
  4116. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4117. X"$0" : 'X\(//\)$' \| \
  4118. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4119. $as_echo X/"$0" |
  4120. sed '/^.*\/\([^/][^/]*\)\/*$/{
  4121. s//\1/
  4122. q
  4123. }
  4124. /^X\/\(\/\/\)$/{
  4125. s//\1/
  4126. q
  4127. }
  4128. /^X\/\(\/\).*/{
  4129. s//\1/
  4130. q
  4131. }
  4132. s/.*/./; q'`
  4133. # Avoid depending upon Character Ranges.
  4134. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4135. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4136. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4137. as_cr_digits='0123456789'
  4138. as_cr_alnum=$as_cr_Letters$as_cr_digits
  4139. ECHO_C= ECHO_N= ECHO_T=
  4140. case `echo -n x` in #(((((
  4141. -n*)
  4142. case `echo 'xy\c'` in
  4143. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  4144. xy) ECHO_C='\c';;
  4145. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  4146. ECHO_T=' ';;
  4147. esac;;
  4148. *)
  4149. ECHO_N='-n';;
  4150. esac
  4151. rm -f conf$$ conf$$.exe conf$$.file
  4152. if test -d conf$$.dir; then
  4153. rm -f conf$$.dir/conf$$.file
  4154. else
  4155. rm -f conf$$.dir
  4156. mkdir conf$$.dir 2>/dev/null
  4157. fi
  4158. if (echo >conf$$.file) 2>/dev/null; then
  4159. if ln -s conf$$.file conf$$ 2>/dev/null; then
  4160. as_ln_s='ln -s'
  4161. # ... but there are two gotchas:
  4162. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4163. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4164. # In both cases, we have to default to `cp -pR'.
  4165. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4166. as_ln_s='cp -pR'
  4167. elif ln conf$$.file conf$$ 2>/dev/null; then
  4168. as_ln_s=ln
  4169. else
  4170. as_ln_s='cp -pR'
  4171. fi
  4172. else
  4173. as_ln_s='cp -pR'
  4174. fi
  4175. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4176. rmdir conf$$.dir 2>/dev/null
  4177. # as_fn_mkdir_p
  4178. # -------------
  4179. # Create "$as_dir" as a directory, including parents if necessary.
  4180. as_fn_mkdir_p ()
  4181. {
  4182. case $as_dir in #(
  4183. -*) as_dir=./$as_dir;;
  4184. esac
  4185. test -d "$as_dir" || eval $as_mkdir_p || {
  4186. as_dirs=
  4187. while :; do
  4188. case $as_dir in #(
  4189. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4190. *) as_qdir=$as_dir;;
  4191. esac
  4192. as_dirs="'$as_qdir' $as_dirs"
  4193. as_dir=`$as_dirname -- "$as_dir" ||
  4194. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4195. X"$as_dir" : 'X\(//\)[^/]' \| \
  4196. X"$as_dir" : 'X\(//\)$' \| \
  4197. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4198. $as_echo X"$as_dir" |
  4199. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4200. s//\1/
  4201. q
  4202. }
  4203. /^X\(\/\/\)[^/].*/{
  4204. s//\1/
  4205. q
  4206. }
  4207. /^X\(\/\/\)$/{
  4208. s//\1/
  4209. q
  4210. }
  4211. /^X\(\/\).*/{
  4212. s//\1/
  4213. q
  4214. }
  4215. s/.*/./; q'`
  4216. test -d "$as_dir" && break
  4217. done
  4218. test -z "$as_dirs" || eval "mkdir $as_dirs"
  4219. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  4220. } # as_fn_mkdir_p
  4221. if mkdir -p . 2>/dev/null; then
  4222. as_mkdir_p='mkdir -p "$as_dir"'
  4223. else
  4224. test -d ./-p && rmdir ./-p
  4225. as_mkdir_p=false
  4226. fi
  4227. # as_fn_executable_p FILE
  4228. # -----------------------
  4229. # Test if FILE is an executable regular file.
  4230. as_fn_executable_p ()
  4231. {
  4232. test -f "$1" && test -x "$1"
  4233. } # as_fn_executable_p
  4234. as_test_x='test -x'
  4235. as_executable_p=as_fn_executable_p
  4236. # Sed expression to map a string onto a valid CPP name.
  4237. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4238. # Sed expression to map a string onto a valid variable name.
  4239. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4240. exec 6>&1
  4241. ## ----------------------------------- ##
  4242. ## Main body of $CONFIG_STATUS script. ##
  4243. ## ----------------------------------- ##
  4244. _ASEOF
  4245. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  4246. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4247. # Save the log message, to keep $0 and so on meaningful, and to
  4248. # report actual input values of CONFIG_FILES etc. instead of their
  4249. # values after options handling.
  4250. ac_log="
  4251. This file was extended by generarxml $as_me 1.0, which was
  4252. generated by GNU Autoconf 2.69. Invocation command line was
  4253. CONFIG_FILES = $CONFIG_FILES
  4254. CONFIG_HEADERS = $CONFIG_HEADERS
  4255. CONFIG_LINKS = $CONFIG_LINKS
  4256. CONFIG_COMMANDS = $CONFIG_COMMANDS
  4257. $ $0 $@
  4258. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4259. "
  4260. _ACEOF
  4261. case $ac_config_files in *"
  4262. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  4263. esac
  4264. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4265. # Files that config.status was made for.
  4266. config_files="$ac_config_files"
  4267. config_commands="$ac_config_commands"
  4268. _ACEOF
  4269. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4270. ac_cs_usage="\
  4271. \`$as_me' instantiates files and other configuration actions
  4272. from templates according to the current configuration. Unless the files
  4273. and actions are specified as TAGs, all are instantiated by default.
  4274. Usage: $0 [OPTION]... [TAG]...
  4275. -h, --help print this help, then exit
  4276. -V, --version print version number and configuration settings, then exit
  4277. --config print configuration, then exit
  4278. -q, --quiet, --silent
  4279. do not print progress messages
  4280. -d, --debug don't remove temporary files
  4281. --recheck update $as_me by reconfiguring in the same conditions
  4282. --file=FILE[:TEMPLATE]
  4283. instantiate the configuration file FILE
  4284. Configuration files:
  4285. $config_files
  4286. Configuration commands:
  4287. $config_commands
  4288. Report bugs to <chris@cromer.cl>.
  4289. generarxml home page: <https://www.cromer.cl>."
  4290. _ACEOF
  4291. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4292. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  4293. ac_cs_version="\\
  4294. generarxml config.status 1.0
  4295. configured by $0, generated by GNU Autoconf 2.69,
  4296. with options \\"\$ac_cs_config\\"
  4297. Copyright (C) 2012 Free Software Foundation, Inc.
  4298. This config.status script is free software; the Free Software Foundation
  4299. gives unlimited permission to copy, distribute and modify it."
  4300. ac_pwd='$ac_pwd'
  4301. srcdir='$srcdir'
  4302. INSTALL='$INSTALL'
  4303. MKDIR_P='$MKDIR_P'
  4304. AWK='$AWK'
  4305. test -n "\$AWK" || AWK=awk
  4306. _ACEOF
  4307. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4308. # The default lists apply if the user does not specify any file.
  4309. ac_need_defaults=:
  4310. while test $# != 0
  4311. do
  4312. case $1 in
  4313. --*=?*)
  4314. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4315. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4316. ac_shift=:
  4317. ;;
  4318. --*=)
  4319. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4320. ac_optarg=
  4321. ac_shift=:
  4322. ;;
  4323. *)
  4324. ac_option=$1
  4325. ac_optarg=$2
  4326. ac_shift=shift
  4327. ;;
  4328. esac
  4329. case $ac_option in
  4330. # Handling of the options.
  4331. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4332. ac_cs_recheck=: ;;
  4333. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4334. $as_echo "$ac_cs_version"; exit ;;
  4335. --config | --confi | --conf | --con | --co | --c )
  4336. $as_echo "$ac_cs_config"; exit ;;
  4337. --debug | --debu | --deb | --de | --d | -d )
  4338. debug=: ;;
  4339. --file | --fil | --fi | --f )
  4340. $ac_shift
  4341. case $ac_optarg in
  4342. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4343. '') as_fn_error $? "missing file argument" ;;
  4344. esac
  4345. as_fn_append CONFIG_FILES " '$ac_optarg'"
  4346. ac_need_defaults=false;;
  4347. --he | --h | --help | --hel | -h )
  4348. $as_echo "$ac_cs_usage"; exit ;;
  4349. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4350. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4351. ac_cs_silent=: ;;
  4352. # This is an error.
  4353. -*) as_fn_error $? "unrecognized option: \`$1'
  4354. Try \`$0 --help' for more information." ;;
  4355. *) as_fn_append ac_config_targets " $1"
  4356. ac_need_defaults=false ;;
  4357. esac
  4358. shift
  4359. done
  4360. ac_configure_extra_args=
  4361. if $ac_cs_silent; then
  4362. exec 6>/dev/null
  4363. ac_configure_extra_args="$ac_configure_extra_args --silent"
  4364. fi
  4365. _ACEOF
  4366. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4367. if \$ac_cs_recheck; then
  4368. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4369. shift
  4370. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  4371. CONFIG_SHELL='$SHELL'
  4372. export CONFIG_SHELL
  4373. exec "\$@"
  4374. fi
  4375. _ACEOF
  4376. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4377. exec 5>>config.log
  4378. {
  4379. echo
  4380. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4381. ## Running $as_me. ##
  4382. _ASBOX
  4383. $as_echo "$ac_log"
  4384. } >&5
  4385. _ACEOF
  4386. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4387. #
  4388. # INIT-COMMANDS
  4389. #
  4390. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  4391. _ACEOF
  4392. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4393. # Handling of arguments.
  4394. for ac_config_target in $ac_config_targets
  4395. do
  4396. case $ac_config_target in
  4397. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  4398. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4399. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  4400. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4401. esac
  4402. done
  4403. # If the user did not use the arguments to specify the items to instantiate,
  4404. # then the envvar interface is used. Set only those that are not.
  4405. # We use the long form for the default assignment because of an extremely
  4406. # bizarre bug on SunOS 4.1.3.
  4407. if $ac_need_defaults; then
  4408. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4409. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  4410. fi
  4411. # Have a temporary directory for convenience. Make it in the build tree
  4412. # simply because there is no reason against having it here, and in addition,
  4413. # creating and moving files from /tmp can sometimes cause problems.
  4414. # Hook for its removal unless debugging.
  4415. # Note that there is a small window in which the directory will not be cleaned:
  4416. # after its creation but before its name has been assigned to `$tmp'.
  4417. $debug ||
  4418. {
  4419. tmp= ac_tmp=
  4420. trap 'exit_status=$?
  4421. : "${ac_tmp:=$tmp}"
  4422. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  4423. ' 0
  4424. trap 'as_fn_exit 1' 1 2 13 15
  4425. }
  4426. # Create a (secure) tmp directory for tmp files.
  4427. {
  4428. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4429. test -d "$tmp"
  4430. } ||
  4431. {
  4432. tmp=./conf$$-$RANDOM
  4433. (umask 077 && mkdir "$tmp")
  4434. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  4435. ac_tmp=$tmp
  4436. # Set up the scripts for CONFIG_FILES section.
  4437. # No need to generate them if there are no CONFIG_FILES.
  4438. # This happens for instance with `./config.status config.h'.
  4439. if test -n "$CONFIG_FILES"; then
  4440. ac_cr=`echo X | tr X '\015'`
  4441. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  4442. # But we know of no other shell where ac_cr would be empty at this
  4443. # point, so we can use a bashism as a fallback.
  4444. if test "x$ac_cr" = x; then
  4445. eval ac_cr=\$\'\\r\'
  4446. fi
  4447. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4448. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4449. ac_cs_awk_cr='\\r'
  4450. else
  4451. ac_cs_awk_cr=$ac_cr
  4452. fi
  4453. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  4454. _ACEOF
  4455. {
  4456. echo "cat >conf$$subs.awk <<_ACEOF" &&
  4457. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  4458. echo "_ACEOF"
  4459. } >conf$$subs.sh ||
  4460. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  4461. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  4462. ac_delim='%!_!# '
  4463. for ac_last_try in false false false false false :; do
  4464. . ./conf$$subs.sh ||
  4465. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  4466. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  4467. if test $ac_delim_n = $ac_delim_num; then
  4468. break
  4469. elif $ac_last_try; then
  4470. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  4471. else
  4472. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4473. fi
  4474. done
  4475. rm -f conf$$subs.sh
  4476. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4477. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  4478. _ACEOF
  4479. sed -n '
  4480. h
  4481. s/^/S["/; s/!.*/"]=/
  4482. p
  4483. g
  4484. s/^[^!]*!//
  4485. :repl
  4486. t repl
  4487. s/'"$ac_delim"'$//
  4488. t delim
  4489. :nl
  4490. h
  4491. s/\(.\{148\}\)..*/\1/
  4492. t more1
  4493. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4494. p
  4495. n
  4496. b repl
  4497. :more1
  4498. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4499. p
  4500. g
  4501. s/.\{148\}//
  4502. t nl
  4503. :delim
  4504. h
  4505. s/\(.\{148\}\)..*/\1/
  4506. t more2
  4507. s/["\\]/\\&/g; s/^/"/; s/$/"/
  4508. p
  4509. b
  4510. :more2
  4511. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4512. p
  4513. g
  4514. s/.\{148\}//
  4515. t delim
  4516. ' <conf$$subs.awk | sed '
  4517. /^[^""]/{
  4518. N
  4519. s/\n//
  4520. }
  4521. ' >>$CONFIG_STATUS || ac_write_fail=1
  4522. rm -f conf$$subs.awk
  4523. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4524. _ACAWK
  4525. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  4526. for (key in S) S_is_set[key] = 1
  4527. FS = ""
  4528. }
  4529. {
  4530. line = $ 0
  4531. nfields = split(line, field, "@")
  4532. substed = 0
  4533. len = length(field[1])
  4534. for (i = 2; i < nfields; i++) {
  4535. key = field[i]
  4536. keylen = length(key)
  4537. if (S_is_set[key]) {
  4538. value = S[key]
  4539. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4540. len += length(value) + length(field[++i])
  4541. substed = 1
  4542. } else
  4543. len += 1 + keylen
  4544. }
  4545. print line
  4546. }
  4547. _ACAWK
  4548. _ACEOF
  4549. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4550. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4551. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4552. else
  4553. cat
  4554. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  4555. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  4556. _ACEOF
  4557. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  4558. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  4559. # trailing colons and then remove the whole line if VPATH becomes empty
  4560. # (actually we leave an empty line to preserve line numbers).
  4561. if test "x$srcdir" = x.; then
  4562. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  4563. h
  4564. s///
  4565. s/^/:/
  4566. s/[ ]*$/:/
  4567. s/:\$(srcdir):/:/g
  4568. s/:\${srcdir}:/:/g
  4569. s/:@srcdir@:/:/g
  4570. s/^:*//
  4571. s/:*$//
  4572. x
  4573. s/\(=[ ]*\).*/\1/
  4574. G
  4575. s/\n//
  4576. s/^[^=]*=[ ]*$//
  4577. }'
  4578. fi
  4579. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4580. fi # test -n "$CONFIG_FILES"
  4581. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  4582. shift
  4583. for ac_tag
  4584. do
  4585. case $ac_tag in
  4586. :[FHLC]) ac_mode=$ac_tag; continue;;
  4587. esac
  4588. case $ac_mode$ac_tag in
  4589. :[FHL]*:*);;
  4590. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  4591. :[FH]-) ac_tag=-:-;;
  4592. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4593. esac
  4594. ac_save_IFS=$IFS
  4595. IFS=:
  4596. set x $ac_tag
  4597. IFS=$ac_save_IFS
  4598. shift
  4599. ac_file=$1
  4600. shift
  4601. case $ac_mode in
  4602. :L) ac_source=$1;;
  4603. :[FH])
  4604. ac_file_inputs=
  4605. for ac_f
  4606. do
  4607. case $ac_f in
  4608. -) ac_f="$ac_tmp/stdin";;
  4609. *) # Look for the file first in the build tree, then in the source tree
  4610. # (if the path is not absolute). The absolute path cannot be DOS-style,
  4611. # because $ac_f cannot contain `:'.
  4612. test -f "$ac_f" ||
  4613. case $ac_f in
  4614. [\\/$]*) false;;
  4615. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4616. esac ||
  4617. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  4618. esac
  4619. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  4620. as_fn_append ac_file_inputs " '$ac_f'"
  4621. done
  4622. # Let's still pretend it is `configure' which instantiates (i.e., don't
  4623. # use $as_me), people would be surprised to read:
  4624. # /* config.h. Generated by config.status. */
  4625. configure_input='Generated from '`
  4626. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  4627. `' by configure.'
  4628. if test x"$ac_file" != x-; then
  4629. configure_input="$ac_file. $configure_input"
  4630. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  4631. $as_echo "$as_me: creating $ac_file" >&6;}
  4632. fi
  4633. # Neutralize special characters interpreted by sed in replacement strings.
  4634. case $configure_input in #(
  4635. *\&* | *\|* | *\\* )
  4636. ac_sed_conf_input=`$as_echo "$configure_input" |
  4637. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  4638. *) ac_sed_conf_input=$configure_input;;
  4639. esac
  4640. case $ac_tag in
  4641. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  4642. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  4643. esac
  4644. ;;
  4645. esac
  4646. ac_dir=`$as_dirname -- "$ac_file" ||
  4647. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4648. X"$ac_file" : 'X\(//\)[^/]' \| \
  4649. X"$ac_file" : 'X\(//\)$' \| \
  4650. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4651. $as_echo X"$ac_file" |
  4652. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4653. s//\1/
  4654. q
  4655. }
  4656. /^X\(\/\/\)[^/].*/{
  4657. s//\1/
  4658. q
  4659. }
  4660. /^X\(\/\/\)$/{
  4661. s//\1/
  4662. q
  4663. }
  4664. /^X\(\/\).*/{
  4665. s//\1/
  4666. q
  4667. }
  4668. s/.*/./; q'`
  4669. as_dir="$ac_dir"; as_fn_mkdir_p
  4670. ac_builddir=.
  4671. case "$ac_dir" in
  4672. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4673. *)
  4674. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4675. # A ".." for each directory in $ac_dir_suffix.
  4676. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4677. case $ac_top_builddir_sub in
  4678. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4679. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4680. esac ;;
  4681. esac
  4682. ac_abs_top_builddir=$ac_pwd
  4683. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  4684. # for backward compatibility:
  4685. ac_top_builddir=$ac_top_build_prefix
  4686. case $srcdir in
  4687. .) # We are building in place.
  4688. ac_srcdir=.
  4689. ac_top_srcdir=$ac_top_builddir_sub
  4690. ac_abs_top_srcdir=$ac_pwd ;;
  4691. [\\/]* | ?:[\\/]* ) # Absolute name.
  4692. ac_srcdir=$srcdir$ac_dir_suffix;
  4693. ac_top_srcdir=$srcdir
  4694. ac_abs_top_srcdir=$srcdir ;;
  4695. *) # Relative name.
  4696. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  4697. ac_top_srcdir=$ac_top_build_prefix$srcdir
  4698. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  4699. esac
  4700. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  4701. case $ac_mode in
  4702. :F)
  4703. #
  4704. # CONFIG_FILE
  4705. #
  4706. case $INSTALL in
  4707. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  4708. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  4709. esac
  4710. ac_MKDIR_P=$MKDIR_P
  4711. case $MKDIR_P in
  4712. [\\/$]* | ?:[\\/]* ) ;;
  4713. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  4714. esac
  4715. _ACEOF
  4716. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4717. # If the template does not know about datarootdir, expand it.
  4718. # FIXME: This hack should be removed a few years after 2.60.
  4719. ac_datarootdir_hack=; ac_datarootdir_seen=
  4720. ac_sed_dataroot='
  4721. /datarootdir/ {
  4722. p
  4723. q
  4724. }
  4725. /@datadir@/p
  4726. /@docdir@/p
  4727. /@infodir@/p
  4728. /@localedir@/p
  4729. /@mandir@/p'
  4730. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  4731. *datarootdir*) ac_datarootdir_seen=yes;;
  4732. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  4733. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  4734. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  4735. _ACEOF
  4736. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4737. ac_datarootdir_hack='
  4738. s&@datadir@&$datadir&g
  4739. s&@docdir@&$docdir&g
  4740. s&@infodir@&$infodir&g
  4741. s&@localedir@&$localedir&g
  4742. s&@mandir@&$mandir&g
  4743. s&\\\${datarootdir}&$datarootdir&g' ;;
  4744. esac
  4745. _ACEOF
  4746. # Neutralize VPATH when `$srcdir' = `.'.
  4747. # Shell code in configure.ac might set extrasub.
  4748. # FIXME: do we really want to maintain this feature?
  4749. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4750. ac_sed_extra="$ac_vpsub
  4751. $extrasub
  4752. _ACEOF
  4753. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4754. :t
  4755. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  4756. s|@configure_input@|$ac_sed_conf_input|;t t
  4757. s&@top_builddir@&$ac_top_builddir_sub&;t t
  4758. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  4759. s&@srcdir@&$ac_srcdir&;t t
  4760. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  4761. s&@top_srcdir@&$ac_top_srcdir&;t t
  4762. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  4763. s&@builddir@&$ac_builddir&;t t
  4764. s&@abs_builddir@&$ac_abs_builddir&;t t
  4765. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  4766. s&@INSTALL@&$ac_INSTALL&;t t
  4767. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  4768. $ac_datarootdir_hack
  4769. "
  4770. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  4771. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  4772. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  4773. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  4774. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  4775. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  4776. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4777. which seems to be undefined. Please make sure it is defined" >&5
  4778. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4779. which seems to be undefined. Please make sure it is defined" >&2;}
  4780. rm -f "$ac_tmp/stdin"
  4781. case $ac_file in
  4782. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  4783. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  4784. esac \
  4785. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  4786. ;;
  4787. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  4788. $as_echo "$as_me: executing $ac_file commands" >&6;}
  4789. ;;
  4790. esac
  4791. case $ac_file$ac_mode in
  4792. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  4793. # Older Autoconf quotes --file arguments for eval, but not when files
  4794. # are listed without --file. Let's play safe and only enable the eval
  4795. # if we detect the quoting.
  4796. case $CONFIG_FILES in
  4797. *\'*) eval set x "$CONFIG_FILES" ;;
  4798. *) set x $CONFIG_FILES ;;
  4799. esac
  4800. shift
  4801. for mf
  4802. do
  4803. # Strip MF so we end up with the name of the file.
  4804. mf=`echo "$mf" | sed -e 's/:.*$//'`
  4805. # Check whether this is an Automake generated Makefile or not.
  4806. # We used to match only the files named 'Makefile.in', but
  4807. # some people rename them; so instead we look at the file content.
  4808. # Grep'ing the first line is not enough: some people post-process
  4809. # each Makefile.in and add a new line on top of each file to say so.
  4810. # Grep'ing the whole file is not good either: AIX grep has a line
  4811. # limit of 2048, but all sed's we know have understand at least 4000.
  4812. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  4813. dirpart=`$as_dirname -- "$mf" ||
  4814. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4815. X"$mf" : 'X\(//\)[^/]' \| \
  4816. X"$mf" : 'X\(//\)$' \| \
  4817. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  4818. $as_echo X"$mf" |
  4819. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4820. s//\1/
  4821. q
  4822. }
  4823. /^X\(\/\/\)[^/].*/{
  4824. s//\1/
  4825. q
  4826. }
  4827. /^X\(\/\/\)$/{
  4828. s//\1/
  4829. q
  4830. }
  4831. /^X\(\/\).*/{
  4832. s//\1/
  4833. q
  4834. }
  4835. s/.*/./; q'`
  4836. else
  4837. continue
  4838. fi
  4839. # Extract the definition of DEPDIR, am__include, and am__quote
  4840. # from the Makefile without running 'make'.
  4841. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  4842. test -z "$DEPDIR" && continue
  4843. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  4844. test -z "$am__include" && continue
  4845. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  4846. # Find all dependency output files, they are included files with
  4847. # $(DEPDIR) in their names. We invoke sed twice because it is the
  4848. # simplest approach to changing $(DEPDIR) to its actual value in the
  4849. # expansion.
  4850. for file in `sed -n "
  4851. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  4852. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  4853. # Make sure the directory exists.
  4854. test -f "$dirpart/$file" && continue
  4855. fdir=`$as_dirname -- "$file" ||
  4856. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4857. X"$file" : 'X\(//\)[^/]' \| \
  4858. X"$file" : 'X\(//\)$' \| \
  4859. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  4860. $as_echo X"$file" |
  4861. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4862. s//\1/
  4863. q
  4864. }
  4865. /^X\(\/\/\)[^/].*/{
  4866. s//\1/
  4867. q
  4868. }
  4869. /^X\(\/\/\)$/{
  4870. s//\1/
  4871. q
  4872. }
  4873. /^X\(\/\).*/{
  4874. s//\1/
  4875. q
  4876. }
  4877. s/.*/./; q'`
  4878. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  4879. # echo "creating $dirpart/$file"
  4880. echo '# dummy' > "$dirpart/$file"
  4881. done
  4882. done
  4883. }
  4884. ;;
  4885. esac
  4886. done # for ac_tag
  4887. as_fn_exit 0
  4888. _ACEOF
  4889. ac_clean_files=$ac_clean_files_save
  4890. test $ac_write_fail = 0 ||
  4891. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  4892. # configure is writing to config.log, and then calls config.status.
  4893. # config.status does its own redirection, appending to config.log.
  4894. # Unfortunately, on DOS this fails, as config.log is still kept open
  4895. # by configure, so config.status won't be able to write to it; its
  4896. # output is simply discarded. So we exec the FD to /dev/null,
  4897. # effectively closing config.log, so it can be properly (re)opened and
  4898. # appended to by config.status. When coming back to configure, we
  4899. # need to make the FD available again.
  4900. if test "$no_create" != yes; then
  4901. ac_cs_success=:
  4902. ac_config_status_args=
  4903. test "$silent" = yes &&
  4904. ac_config_status_args="$ac_config_status_args --quiet"
  4905. exec 5>/dev/null
  4906. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  4907. exec 5>>config.log
  4908. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  4909. # would make configure fail if this is the last instruction.
  4910. $ac_cs_success || as_fn_exit 1
  4911. fi
  4912. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  4913. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  4914. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  4915. fi