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.
 
 
 
 

5461 lines
160 KiB

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