Advertisement
Emulatorman

autoconfig error on gnun

Jan 23rd, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.98 KB | None | 0 0
  1. $ autoconf -v configure.ac
  2. autoconf: running /usr/bin/autom4te -v --language=autoconf --output=- configure.ac
  3. autom4te: formatting traces for `/tmp/am4tnZi9VC/dependencies': include, m4_include
  4. autom4te: up_to_date (autom4te.cache/traces.0): up to date
  5. autom4te: the trace request object is:
  6. autom4te: $VAR1 = bless( [
  7. autom4te: '0',
  8. autom4te: 1,
  9. autom4te: [
  10. autom4te: '/usr/share/autoconf'
  11. autom4te: ],
  12. autom4te: [
  13. autom4te: '/usr/share/autoconf/autoconf/autoconf.m4f',
  14. autom4te: 'configure.ac'
  15. autom4te: ],
  16. autom4te: {
  17. autom4te: 'AM_PROG_F77_C_O' => 1,
  18. autom4te: '_LT_AC_TAGCONFIG' => 1,
  19. autom4te: 'm4_pattern_forbid' => 1,
  20. autom4te: 'AC_INIT' => 1,
  21. autom4te: 'AC_CANONICAL_TARGET' => 1,
  22. autom4te: '_AM_COND_IF' => 1,
  23. autom4te: 'AC_CONFIG_LIBOBJ_DIR' => 1,
  24. autom4te: 'AC_SUBST' => 1,
  25. autom4te: 'AC_CANONICAL_HOST' => 1,
  26. autom4te: 'AC_FC_SRCEXT' => 1,
  27. autom4te: 'AC_PROG_LIBTOOL' => 1,
  28. autom4te: 'AM_INIT_AUTOMAKE' => 1,
  29. autom4te: 'AC_CONFIG_SUBDIRS' => 1,
  30. autom4te: 'AM_PATH_GUILE' => 1,
  31. autom4te: 'AM_AUTOMAKE_VERSION' => 1,
  32. autom4te: 'LT_CONFIG_LTDL_DIR' => 1,
  33. autom4te: 'AC_CONFIG_LINKS' => 1,
  34. autom4te: 'AC_REQUIRE_AUX_FILE' => 1,
  35. autom4te: 'LT_SUPPORTED_TAG' => 1,
  36. autom4te: 'm4_sinclude' => 1,
  37. autom4te: 'AM_MAINTAINER_MODE' => 1,
  38. autom4te: 'AM_NLS' => 1,
  39. autom4te: 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
  40. autom4te: '_m4_warn' => 1,
  41. autom4te: 'AM_MAKEFILE_INCLUDE' => 1,
  42. autom4te: 'AM_PROG_CXX_C_O' => 1,
  43. autom4te: '_AM_MAKEFILE_INCLUDE' => 1,
  44. autom4te: '_AM_COND_ENDIF' => 1,
  45. autom4te: 'AM_ENABLE_MULTILIB' => 1,
  46. autom4te: 'AM_SILENT_RULES' => 1,
  47. autom4te: 'AM_PROG_MOC' => 1,
  48. autom4te: 'AC_CONFIG_FILES' => 1,
  49. autom4te: 'LT_INIT' => 1,
  50. autom4te: 'include' => 1,
  51. autom4te: 'AM_GNU_GETTEXT' => 1,
  52. autom4te: 'AM_PROG_AR' => 1,
  53. autom4te: 'AC_LIBSOURCE' => 1,
  54. autom4te: 'AC_CANONICAL_BUILD' => 1,
  55. autom4te: 'AM_PROG_FC_C_O' => 1,
  56. autom4te: 'AC_FC_FREEFORM' => 1,
  57. autom4te: 'AH_OUTPUT' => 1,
  58. autom4te: 'AC_CONFIG_AUX_DIR' => 1,
  59. autom4te: '_AM_SUBST_NOTMAKE' => 1,
  60. autom4te: 'm4_pattern_allow' => 1,
  61. autom4te: 'AM_PROG_CC_C_O' => 1,
  62. autom4te: 'sinclude' => 1,
  63. autom4te: 'AM_CONDITIONAL' => 1,
  64. autom4te: 'AC_CANONICAL_SYSTEM' => 1,
  65. autom4te: 'AM_XGETTEXT_OPTION' => 1,
  66. autom4te: 'AC_CONFIG_HEADERS' => 1,
  67. autom4te: 'AC_DEFINE_TRACE_LITERAL' => 1,
  68. autom4te: 'AM_POT_TOOLS' => 1,
  69. autom4te: 'm4_include' => 1,
  70. autom4te: '_AM_COND_ELSE' => 1,
  71. autom4te: 'AC_SUBST_TRACE' => 1
  72. autom4te: }
  73. autom4te: ], 'Autom4te::Request' );
  74. autom4te: formatting traces for `/tmp/am4tnZi9VC/warnings': _m4_warn
  75. autom4te: reading /tmp/am4tnZi9VC/warnings
  76. autom4te: creating -
  77. autom4te: formatting traces for `/tmp/am4tnZi9VC/patterns': m4_pattern_allow, m4_pattern_forbid
  78. autom4te: forbidden tokens: ^_?A[CHUM]_|_AC_|^LIBOBJS$|^_?m4_|^dnl$|^_?AS_
  79. autom4te: forbidden token : ^LIBOBJS$ => do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
  80. autom4te: allowed tokens: ^AS_FLAGS$|^SHELL$|^PATH_SEPARATOR$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^exec_prefix$|^prefix$|^program_transform_name$|^bindir$|^sbindir$|^libexecdir$|^datarootdir$|^datadir$|^sysconfdir$|^sharedstatedir$|^localstatedir$|^includedir$|^oldincludedir$|^docdir$|^infodir$|^htmldir$|^dvidir$|^pdfdir$|^psdir$|^libdir$|^localedir$|^mandir$|^PACKAGE_NAME$|^PACKAGE_TARNAME$|^PACKAGE_VERSION$|^PACKAGE_STRING$|^PACKAGE_BUGREPORT$|^PACKAGE_URL$|^DEFS$|^ECHO_C$|^ECHO_N$|^ECHO_T$|^LIBS$|^build_alias$|^host_alias$|^target_alias$|^MULTIVIEWS$|^AWK$|^SED$|^SED$|^GREP$|^EGREP$|^GREP$|^EGREP$|^MSGFMT$|^MSGFMT$|^MSGMERGE$|^MSGMERGE$|^MSGATTRIB$|^GUILE$|^WDIFF$|^WDIFF$|^PO4A_GETTEXTIZE$|^PO4A_GETTEXTIZE$|^PO4A_TRANSLATE$|^PO4A_TRANSLATE$|^have_mail$|^CVS$|^SVN$|^BZR$|^have_xmllint$|^LIBOBJS$|^LTLIBOBJS$
  81. #! /bin/sh
  82. # Guess values for system-dependent variables and create Makefiles.
  83. # Generated by GNU Autoconf 2.68 for GNUnited Nations 0.5.
  84. #
  85. # Report bugs to <bug-gnun@gnu.org>.
  86. #
  87. #
  88. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  89. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  90. # Foundation, Inc.
  91. #
  92. #
  93. # This configure script is free software; the Free Software Foundation
  94. # gives unlimited permission to copy, distribute and modify it.
  95. ## -------------------- ##
  96. ## M4sh Initialization. ##
  97. ## -------------------- ##
  98.  
  99. # Be more Bourne compatible
  100. DUALCASE=1; export DUALCASE # for MKS sh
  101. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  102. emulate sh
  103. NULLCMD=:
  104. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  105. # is contrary to our usage. Disable this feature.
  106. alias -g '${1+"$@"}'='"$@"'
  107. setopt NO_GLOB_SUBST
  108. else
  109. case `(set -o) 2>/dev/null` in #(
  110. *posix*) :
  111. set -o posix ;; #(
  112. *) :
  113. ;;
  114. esac
  115. fi
  116.  
  117.  
  118. as_nl='
  119. '
  120. export as_nl
  121. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  122. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  123. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  124. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  125. # Prefer a ksh shell builtin over an external printf program on Solaris,
  126. # but without wasting forks for bash or zsh.
  127. if test -z "$BASH_VERSION$ZSH_VERSION" \
  128. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  129. as_echo='print -r --'
  130. as_echo_n='print -rn --'
  131. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  132. as_echo='printf %s\n'
  133. as_echo_n='printf %s'
  134. else
  135. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  136. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  137. as_echo_n='/usr/ucb/echo -n'
  138. else
  139. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  140. as_echo_n_body='eval
  141. arg=$1;
  142. case $arg in #(
  143. *"$as_nl"*)
  144. expr "X$arg" : "X\\(.*\\)$as_nl";
  145. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  146. esac;
  147. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  148. '
  149. export as_echo_n_body
  150. as_echo_n='sh -c $as_echo_n_body as_echo'
  151. fi
  152. export as_echo_body
  153. as_echo='sh -c $as_echo_body as_echo'
  154. fi
  155.  
  156. # The user is always right.
  157. if test "${PATH_SEPARATOR+set}" != set; then
  158. PATH_SEPARATOR=:
  159. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  160. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  161. PATH_SEPARATOR=';'
  162. }
  163. fi
  164.  
  165.  
  166. # IFS
  167. # We need space, tab and new line, in precisely that order. Quoting is
  168. # there to prevent editors from complaining about space-tab.
  169. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  170. # splitting by setting IFS to empty value.)
  171. IFS=" "" $as_nl"
  172.  
  173. # Find who we are. Look in the path if we contain no directory separator.
  174. as_myself=
  175. case $0 in #((
  176. *[\\/]* ) as_myself=$0 ;;
  177. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  178. for as_dir in $PATH
  179. do
  180. IFS=$as_save_IFS
  181. test -z "$as_dir" && as_dir=.
  182. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  183. done
  184. IFS=$as_save_IFS
  185.  
  186. ;;
  187. esac
  188. # We did not find ourselves, most probably we were run as `sh COMMAND'
  189. # in which case we are not to be found in the path.
  190. if test "x$as_myself" = x; then
  191. as_myself=$0
  192. fi
  193. if test ! -f "$as_myself"; then
  194. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  195. exit 1
  196. fi
  197.  
  198. # Unset variables that we do not need and which cause bugs (e.g. in
  199. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  200. # suppresses any "Segmentation fault" message there. '((' could
  201. # trigger a bug in pdksh 5.2.14.
  202. for as_var in BASH_ENV ENV MAIL MAILPATH
  203. do eval test x\${$as_var+set} = xset \
  204. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  205. done
  206. PS1='$ '
  207. PS2='> '
  208. PS4='+ '
  209.  
  210. # NLS nuisances.
  211. LC_ALL=C
  212. export LC_ALL
  213. LANGUAGE=C
  214. export LANGUAGE
  215.  
  216. # CDPATH.
  217. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  218.  
  219. if test "x$CONFIG_SHELL" = x; then
  220. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  221. emulate sh
  222. NULLCMD=:
  223. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  224. # is contrary to our usage. Disable this feature.
  225. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  226. setopt NO_GLOB_SUBST
  227. else
  228. case \`(set -o) 2>/dev/null\` in #(
  229. *posix*) :
  230. set -o posix ;; #(
  231. *) :
  232. ;;
  233. esac
  234. fi
  235. "
  236. as_required="as_fn_return () { (exit \$1); }
  237. as_fn_success () { as_fn_return 0; }
  238. as_fn_failure () { as_fn_return 1; }
  239. as_fn_ret_success () { return 0; }
  240. as_fn_ret_failure () { return 1; }
  241.  
  242. exitcode=0
  243. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  244. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  245. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  246. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  247. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  248.  
  249. else
  250. exitcode=1; echo positional parameters were not saved.
  251. fi
  252. test x\$exitcode = x0 || exit 1"
  253. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  254. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  255. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  256. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  257. test \$(( 1 + 1 )) = 2 || exit 1"
  258. if (eval "$as_required") 2>/dev/null; then :
  259. as_have_required=yes
  260. else
  261. as_have_required=no
  262. fi
  263. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  264.  
  265. else
  266. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  267. as_found=false
  268. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  269. do
  270. IFS=$as_save_IFS
  271. test -z "$as_dir" && as_dir=.
  272. as_found=:
  273. case $as_dir in #(
  274. /*)
  275. for as_base in sh bash ksh sh5; do
  276. # Try only shells that exist, to save several forks.
  277. as_shell=$as_dir/$as_base
  278. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  279. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  280. CONFIG_SHELL=$as_shell as_have_required=yes
  281. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  282. break 2
  283. fi
  284. fi
  285. done;;
  286. esac
  287. as_found=false
  288. done
  289. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  290. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  291. CONFIG_SHELL=$SHELL as_have_required=yes
  292. fi; }
  293. IFS=$as_save_IFS
  294.  
  295.  
  296. if test "x$CONFIG_SHELL" != x; then :
  297. # We cannot yet assume a decent shell, so we have to provide a
  298. # neutralization value for shells without unset; and this also
  299. # works around shells that cannot unset nonexistent variables.
  300. # Preserve -v and -x to the replacement shell.
  301. BASH_ENV=/dev/null
  302. ENV=/dev/null
  303. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  304. export CONFIG_SHELL
  305. case $- in # ((((
  306. *v*x* | *x*v* ) as_opts=-vx ;;
  307. *v* ) as_opts=-v ;;
  308. *x* ) as_opts=-x ;;
  309. * ) as_opts= ;;
  310. esac
  311. exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
  312. fi
  313.  
  314. if test x$as_have_required = xno; then :
  315. $as_echo "$0: This script requires a shell more modern than all"
  316. $as_echo "$0: the shells that I found on your system."
  317. if test x${ZSH_VERSION+set} = xset ; then
  318. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  319. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  320. else
  321. $as_echo "$0: Please tell bug-autoconf@gnu.org and bug-gnun@gnu.org
  322. $0: about your system, including any error possibly output
  323. $0: before this message. Then install a modern shell, or
  324. $0: manually run the script under such a shell if you do
  325. $0: have one."
  326. fi
  327. exit 1
  328. fi
  329. fi
  330. fi
  331. SHELL=${CONFIG_SHELL-/bin/sh}
  332. export SHELL
  333. # Unset more variables known to interfere with behavior of common tools.
  334. CLICOLOR_FORCE= GREP_OPTIONS=
  335. unset CLICOLOR_FORCE GREP_OPTIONS
  336.  
  337. ## --------------------- ##
  338. ## M4sh Shell Functions. ##
  339. ## --------------------- ##
  340. # as_fn_unset VAR
  341. # ---------------
  342. # Portably unset VAR.
  343. as_fn_unset ()
  344. {
  345. { eval $1=; unset $1;}
  346. }
  347. as_unset=as_fn_unset
  348.  
  349. # as_fn_set_status STATUS
  350. # -----------------------
  351. # Set $? to STATUS, without forking.
  352. as_fn_set_status ()
  353. {
  354. return $1
  355. } # as_fn_set_status
  356.  
  357. # as_fn_exit STATUS
  358. # -----------------
  359. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  360. as_fn_exit ()
  361. {
  362. set +e
  363. as_fn_set_status $1
  364. exit $1
  365. } # as_fn_exit
  366.  
  367. # as_fn_mkdir_p
  368. # -------------
  369. # Create "$as_dir" as a directory, including parents if necessary.
  370. as_fn_mkdir_p ()
  371. {
  372.  
  373. case $as_dir in #(
  374. -*) as_dir=./$as_dir;;
  375. esac
  376. test -d "$as_dir" || eval $as_mkdir_p || {
  377. as_dirs=
  378. while :; do
  379. case $as_dir in #(
  380. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  381. *) as_qdir=$as_dir;;
  382. esac
  383. as_dirs="'$as_qdir' $as_dirs"
  384. as_dir=`$as_dirname -- "$as_dir" ||
  385. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  386. X"$as_dir" : 'X\(//\)[^/]' \| \
  387. X"$as_dir" : 'X\(//\)$' \| \
  388. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  389. $as_echo X"$as_dir" |
  390. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  391. s//\1/
  392. q
  393. }
  394. /^X\(\/\/\)[^/].*/{
  395. s//\1/
  396. q
  397. }
  398. /^X\(\/\/\)$/{
  399. s//\1/
  400. q
  401. }
  402. /^X\(\/\).*/{
  403. s//\1/
  404. q
  405. }
  406. s/.*/./; q'`
  407. test -d "$as_dir" && break
  408. done
  409. test -z "$as_dirs" || eval "mkdir $as_dirs"
  410. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  411.  
  412.  
  413. } # as_fn_mkdir_p
  414. # as_fn_append VAR VALUE
  415. # ----------------------
  416. # Append the text in VALUE to the end of the definition contained in VAR. Take
  417. # advantage of any shell optimizations that allow amortized linear growth over
  418. # repeated appends, instead of the typical quadratic growth present in naive
  419. # implementations.
  420. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  421. eval 'as_fn_append ()
  422. {
  423. eval $1+=\$2
  424. }'
  425. else
  426. as_fn_append ()
  427. {
  428. eval $1=\$$1\$2
  429. }
  430. fi # as_fn_append
  431.  
  432. # as_fn_arith ARG...
  433. # ------------------
  434. # Perform arithmetic evaluation on the ARGs, and store the result in the
  435. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  436. # must be portable across $(()) and expr.
  437. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  438. eval 'as_fn_arith ()
  439. {
  440. as_val=$(( $* ))
  441. }'
  442. else
  443. as_fn_arith ()
  444. {
  445. as_val=`expr "$@" || test $? -eq 1`
  446. }
  447. fi # as_fn_arith
  448.  
  449.  
  450. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  451. # ----------------------------------------
  452. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  453. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  454. # script with STATUS, using 1 if that was 0.
  455. as_fn_error ()
  456. {
  457. as_status=$1; test $as_status -eq 0 && as_status=1
  458. if test "$4"; then
  459. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  460. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  461. fi
  462. $as_echo "$as_me: error: $2" >&2
  463. as_fn_exit $as_status
  464. } # as_fn_error
  465.  
  466. if expr a : '\(a\)' >/dev/null 2>&1 &&
  467. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  468. as_expr=expr
  469. else
  470. as_expr=false
  471. fi
  472.  
  473. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  474. as_basename=basename
  475. else
  476. as_basename=false
  477. fi
  478.  
  479. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  480. as_dirname=dirname
  481. else
  482. as_dirname=false
  483. fi
  484.  
  485. as_me=`$as_basename -- "$0" ||
  486. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  487. X"$0" : 'X\(//\)$' \| \
  488. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  489. $as_echo X/"$0" |
  490. sed '/^.*\/\([^/][^/]*\)\/*$/{
  491. s//\1/
  492. q
  493. }
  494. /^X\/\(\/\/\)$/{
  495. s//\1/
  496. q
  497. }
  498. /^X\/\(\/\).*/{
  499. s//\1/
  500. q
  501. }
  502. s/.*/./; q'`
  503.  
  504. # Avoid depending upon Character Ranges.
  505. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  506. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  507. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  508. as_cr_digits='0123456789'
  509. as_cr_alnum=$as_cr_Letters$as_cr_digits
  510.  
  511.  
  512. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  513. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  514. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  515. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  516. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  517. sed -n '
  518. p
  519. /[$]LINENO/=
  520. ' <$as_myself |
  521. sed '
  522. s/[$]LINENO.*/&-/
  523. t lineno
  524. b
  525. :lineno
  526. N
  527. :loop
  528. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  529. t loop
  530. s/-\n.*//
  531. ' >$as_me.lineno &&
  532. chmod +x "$as_me.lineno" ||
  533. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  534.  
  535. # Don't try to exec as it changes $[0], causing all sort of problems
  536. # (the dirname of $[0] is not the place where we might find the
  537. # original and so on. Autoconf is especially sensitive to this).
  538. . "./$as_me.lineno"
  539. # Exit status is that of the last command.
  540. exit
  541. }
  542.  
  543. ECHO_C= ECHO_N= ECHO_T=
  544. case `echo -n x` in #(((((
  545. -n*)
  546. case `echo 'xy\c'` in
  547. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  548. xy) ECHO_C='\c';;
  549. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  550. ECHO_T=' ';;
  551. esac;;
  552. *)
  553. ECHO_N='-n';;
  554. esac
  555.  
  556. rm -f conf$$ conf$$.exe conf$$.file
  557. if test -d conf$$.dir; then
  558. rm -f conf$$.dir/conf$$.file
  559. else
  560. rm -f conf$$.dir
  561. mkdir conf$$.dir 2>/dev/null
  562. fi
  563. if (echo >conf$$.file) 2>/dev/null; then
  564. if ln -s conf$$.file conf$$ 2>/dev/null; then
  565. as_ln_s='ln -s'
  566. # ... but there are two gotchas:
  567. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  568. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  569. # In both cases, we have to default to `cp -p'.
  570. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  571. as_ln_s='cp -p'
  572. elif ln conf$$.file conf$$ 2>/dev/null; then
  573. as_ln_s=ln
  574. else
  575. as_ln_s='cp -p'
  576. fi
  577. else
  578. as_ln_s='cp -p'
  579. fi
  580. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  581. rmdir conf$$.dir 2>/dev/null
  582.  
  583. if mkdir -p . 2>/dev/null; then
  584. as_mkdir_p='mkdir -p "$as_dir"'
  585. else
  586. test -d ./-p && rmdir ./-p
  587. as_mkdir_p=false
  588. fi
  589.  
  590. if test -x / >/dev/null 2>&1; then
  591. as_test_x='test -x'
  592. else
  593. if ls -dL / >/dev/null 2>&1; then
  594. as_ls_L_option=L
  595. else
  596. as_ls_L_option=
  597. fi
  598. as_test_x='
  599. eval sh -c '\''
  600. if test -d "$1"; then
  601. test -d "$1/.";
  602. else
  603. case $1 in #(
  604. -*)set "./$1";;
  605. esac;
  606. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  607. ???[sx]*):;;*)false;;esac;fi
  608. '\'' sh
  609. '
  610. fi
  611. as_executable_p=$as_test_x
  612.  
  613. # Sed expression to map a string onto a valid CPP name.
  614. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  615.  
  616. # Sed expression to map a string onto a valid variable name.
  617. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  618.  
  619.  
  620. test -n "$DJDIR" || exec 7<&0 </dev/null
  621. exec 6>&1
  622.  
  623. # Name of the host.
  624. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  625. # so uname gets run too.
  626. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  627.  
  628. #
  629. # Initializations.
  630. #
  631. ac_default_prefix=/usr/local
  632. ac_clean_files=
  633. ac_config_libobj_dir=.
  634. LIBOBJS=
  635. cross_compiling=no
  636. subdirs=
  637. MFLAGS=
  638. MAKEFLAGS=
  639.  
  640. # Identity of this package.
  641. PACKAGE_NAME='GNUnited Nations'
  642. PACKAGE_TARNAME='gnun'
  643. PACKAGE_VERSION='0.5'
  644. PACKAGE_STRING='GNUnited Nations 0.5'
  645. PACKAGE_BUGREPORT='bug-gnun@gnu.org'
  646. PACKAGE_URL='http://www.gnu.org/software/gnun/'
  647.  
  648. ac_unique_file="GNUmakefile"
  649. ac_subst_vars='LTLIBOBJS
  650. LIBOBJS
  651. have_xmllint
  652. BZR
  653. SVN
  654. CVS
  655. have_mail
  656. PO4A_TRANSLATE
  657. PO4A_GETTEXTIZE
  658. WDIFF
  659. GUILE
  660. MSGATTRIB
  661. MSGMERGE
  662. MSGFMT
  663. EGREP
  664. GREP
  665. SED
  666. AWK
  667. MULTIVIEWS
  668. target_alias
  669. host_alias
  670. build_alias
  671. LIBS
  672. ECHO_T
  673. ECHO_N
  674. ECHO_C
  675. DEFS
  676. mandir
  677. localedir
  678. libdir
  679. psdir
  680. pdfdir
  681. dvidir
  682. htmldir
  683. infodir
  684. docdir
  685. oldincludedir
  686. includedir
  687. localstatedir
  688. sharedstatedir
  689. sysconfdir
  690. datadir
  691. datarootdir
  692. libexecdir
  693. sbindir
  694. bindir
  695. program_transform_name
  696. prefix
  697. exec_prefix
  698. PACKAGE_URL
  699. PACKAGE_BUGREPORT
  700. PACKAGE_STRING
  701. PACKAGE_VERSION
  702. PACKAGE_TARNAME
  703. PACKAGE_NAME
  704. PATH_SEPARATOR
  705. SHELL'
  706. ac_subst_files=''
  707. ac_user_opts='
  708. enable_option_checking
  709. enable_multiviews
  710. '
  711. ac_precious_vars='build_alias
  712. host_alias
  713. target_alias
  714. AWK
  715. SED
  716. GREP
  717. EGREP
  718. MSGFMT
  719. MSGMERGE
  720. WDIFF
  721. PO4A_GETTEXTIZE
  722. PO4A_TRANSLATE'
  723.  
  724.  
  725. # Initialize some variables set by options.
  726. ac_init_help=
  727. ac_init_version=false
  728. ac_unrecognized_opts=
  729. ac_unrecognized_sep=
  730. # The variables have the same names as the options, with
  731. # dashes changed to underlines.
  732. cache_file=/dev/null
  733. exec_prefix=NONE
  734. no_create=
  735. no_recursion=
  736. prefix=NONE
  737. program_prefix=NONE
  738. program_suffix=NONE
  739. program_transform_name=s,x,x,
  740. silent=
  741. site=
  742. srcdir=
  743. verbose=
  744. x_includes=NONE
  745. x_libraries=NONE
  746.  
  747. # Installation directory options.
  748. # These are left unexpanded so users can "make install exec_prefix=/foo"
  749. # and all the variables that are supposed to be based on exec_prefix
  750. # by default will actually change.
  751. # Use braces instead of parens because sh, perl, etc. also accept them.
  752. # (The list follows the same order as the GNU Coding Standards.)
  753. bindir='${exec_prefix}/bin'
  754. sbindir='${exec_prefix}/sbin'
  755. libexecdir='${exec_prefix}/libexec'
  756. datarootdir='${prefix}/share'
  757. datadir='${datarootdir}'
  758. sysconfdir='${prefix}/etc'
  759. sharedstatedir='${prefix}/com'
  760. localstatedir='${prefix}/var'
  761. includedir='${prefix}/include'
  762. oldincludedir='/usr/include'
  763. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  764. infodir='${datarootdir}/info'
  765. htmldir='${docdir}'
  766. dvidir='${docdir}'
  767. pdfdir='${docdir}'
  768. psdir='${docdir}'
  769. libdir='${exec_prefix}/lib'
  770. localedir='${datarootdir}/locale'
  771. mandir='${datarootdir}/man'
  772.  
  773. ac_prev=
  774. ac_dashdash=
  775. for ac_option
  776. do
  777. # If the previous option needs an argument, assign it.
  778. if test -n "$ac_prev"; then
  779. eval $ac_prev=\$ac_option
  780. ac_prev=
  781. continue
  782. fi
  783.  
  784. case $ac_option in
  785. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  786. *=) ac_optarg= ;;
  787. *) ac_optarg=yes ;;
  788. esac
  789.  
  790. # Accept the important Cygnus configure options, so we can diagnose typos.
  791.  
  792. case $ac_dashdash$ac_option in
  793. --)
  794. ac_dashdash=yes ;;
  795.  
  796. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  797. ac_prev=bindir ;;
  798. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  799. bindir=$ac_optarg ;;
  800.  
  801. -build | --build | --buil | --bui | --bu)
  802. ac_prev=build_alias ;;
  803. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  804. build_alias=$ac_optarg ;;
  805.  
  806. -cache-file | --cache-file | --cache-fil | --cache-fi \
  807. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  808. ac_prev=cache_file ;;
  809. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  810. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  811. cache_file=$ac_optarg ;;
  812.  
  813. --config-cache | -C)
  814. cache_file=config.cache ;;
  815.  
  816. -datadir | --datadir | --datadi | --datad)
  817. ac_prev=datadir ;;
  818. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  819. datadir=$ac_optarg ;;
  820.  
  821. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  822. | --dataroo | --dataro | --datar)
  823. ac_prev=datarootdir ;;
  824. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  825. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  826. datarootdir=$ac_optarg ;;
  827.  
  828. -disable-* | --disable-*)
  829. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  830. # Reject names that are not valid shell variable names.
  831. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  832. as_fn_error $? "invalid feature name: $ac_useropt"
  833. ac_useropt_orig=$ac_useropt
  834. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  835. case $ac_user_opts in
  836. *"
  837. "enable_$ac_useropt"
  838. "*) ;;
  839. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  840. ac_unrecognized_sep=', ';;
  841. esac
  842. eval enable_$ac_useropt=no ;;
  843.  
  844. -docdir | --docdir | --docdi | --doc | --do)
  845. ac_prev=docdir ;;
  846. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  847. docdir=$ac_optarg ;;
  848.  
  849. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  850. ac_prev=dvidir ;;
  851. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  852. dvidir=$ac_optarg ;;
  853.  
  854. -enable-* | --enable-*)
  855. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  856. # Reject names that are not valid shell variable names.
  857. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  858. as_fn_error $? "invalid feature name: $ac_useropt"
  859. ac_useropt_orig=$ac_useropt
  860. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  861. case $ac_user_opts in
  862. *"
  863. "enable_$ac_useropt"
  864. "*) ;;
  865. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  866. ac_unrecognized_sep=', ';;
  867. esac
  868. eval enable_$ac_useropt=\$ac_optarg ;;
  869.  
  870. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  871. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  872. | --exec | --exe | --ex)
  873. ac_prev=exec_prefix ;;
  874. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  875. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  876. | --exec=* | --exe=* | --ex=*)
  877. exec_prefix=$ac_optarg ;;
  878.  
  879. -gas | --gas | --ga | --g)
  880. # Obsolete; use --with-gas.
  881. with_gas=yes ;;
  882.  
  883. -help | --help | --hel | --he | -h)
  884. ac_init_help=long ;;
  885. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  886. ac_init_help=recursive ;;
  887. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  888. ac_init_help=short ;;
  889.  
  890. -host | --host | --hos | --ho)
  891. ac_prev=host_alias ;;
  892. -host=* | --host=* | --hos=* | --ho=*)
  893. host_alias=$ac_optarg ;;
  894.  
  895. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  896. ac_prev=htmldir ;;
  897. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  898. | --ht=*)
  899. htmldir=$ac_optarg ;;
  900.  
  901. -includedir | --includedir | --includedi | --included | --include \
  902. | --includ | --inclu | --incl | --inc)
  903. ac_prev=includedir ;;
  904. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  905. | --includ=* | --inclu=* | --incl=* | --inc=*)
  906. includedir=$ac_optarg ;;
  907.  
  908. -infodir | --infodir | --infodi | --infod | --info | --inf)
  909. ac_prev=infodir ;;
  910. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  911. infodir=$ac_optarg ;;
  912.  
  913. -libdir | --libdir | --libdi | --libd)
  914. ac_prev=libdir ;;
  915. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  916. libdir=$ac_optarg ;;
  917.  
  918. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  919. | --libexe | --libex | --libe)
  920. ac_prev=libexecdir ;;
  921. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  922. | --libexe=* | --libex=* | --libe=*)
  923. libexecdir=$ac_optarg ;;
  924.  
  925. -localedir | --localedir | --localedi | --localed | --locale)
  926. ac_prev=localedir ;;
  927. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  928. localedir=$ac_optarg ;;
  929.  
  930. -localstatedir | --localstatedir | --localstatedi | --localstated \
  931. | --localstate | --localstat | --localsta | --localst | --locals)
  932. ac_prev=localstatedir ;;
  933. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  934. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  935. localstatedir=$ac_optarg ;;
  936.  
  937. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  938. ac_prev=mandir ;;
  939. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  940. mandir=$ac_optarg ;;
  941.  
  942. -nfp | --nfp | --nf)
  943. # Obsolete; use --without-fp.
  944. with_fp=no ;;
  945.  
  946. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  947. | --no-cr | --no-c | -n)
  948. no_create=yes ;;
  949.  
  950. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  951. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  952. no_recursion=yes ;;
  953.  
  954. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  955. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  956. | --oldin | --oldi | --old | --ol | --o)
  957. ac_prev=oldincludedir ;;
  958. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  959. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  960. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  961. oldincludedir=$ac_optarg ;;
  962.  
  963. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  964. ac_prev=prefix ;;
  965. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  966. prefix=$ac_optarg ;;
  967.  
  968. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  969. | --program-pre | --program-pr | --program-p)
  970. ac_prev=program_prefix ;;
  971. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  972. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  973. program_prefix=$ac_optarg ;;
  974.  
  975. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  976. | --program-suf | --program-su | --program-s)
  977. ac_prev=program_suffix ;;
  978. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  979. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  980. program_suffix=$ac_optarg ;;
  981.  
  982. -program-transform-name | --program-transform-name \
  983. | --program-transform-nam | --program-transform-na \
  984. | --program-transform-n | --program-transform- \
  985. | --program-transform | --program-transfor \
  986. | --program-transfo | --program-transf \
  987. | --program-trans | --program-tran \
  988. | --progr-tra | --program-tr | --program-t)
  989. ac_prev=program_transform_name ;;
  990. -program-transform-name=* | --program-transform-name=* \
  991. | --program-transform-nam=* | --program-transform-na=* \
  992. | --program-transform-n=* | --program-transform-=* \
  993. | --program-transform=* | --program-transfor=* \
  994. | --program-transfo=* | --program-transf=* \
  995. | --program-trans=* | --program-tran=* \
  996. | --progr-tra=* | --program-tr=* | --program-t=*)
  997. program_transform_name=$ac_optarg ;;
  998.  
  999. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1000. ac_prev=pdfdir ;;
  1001. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1002. pdfdir=$ac_optarg ;;
  1003.  
  1004. -psdir | --psdir | --psdi | --psd | --ps)
  1005. ac_prev=psdir ;;
  1006. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1007. psdir=$ac_optarg ;;
  1008.  
  1009. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1010. | -silent | --silent | --silen | --sile | --sil)
  1011. silent=yes ;;
  1012.  
  1013. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1014. ac_prev=sbindir ;;
  1015. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1016. | --sbi=* | --sb=*)
  1017. sbindir=$ac_optarg ;;
  1018.  
  1019. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1020. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1021. | --sharedst | --shareds | --shared | --share | --shar \
  1022. | --sha | --sh)
  1023. ac_prev=sharedstatedir ;;
  1024. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1025. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1026. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1027. | --sha=* | --sh=*)
  1028. sharedstatedir=$ac_optarg ;;
  1029.  
  1030. -site | --site | --sit)
  1031. ac_prev=site ;;
  1032. -site=* | --site=* | --sit=*)
  1033. site=$ac_optarg ;;
  1034.  
  1035. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1036. ac_prev=srcdir ;;
  1037. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1038. srcdir=$ac_optarg ;;
  1039.  
  1040. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1041. | --syscon | --sysco | --sysc | --sys | --sy)
  1042. ac_prev=sysconfdir ;;
  1043. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1044. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1045. sysconfdir=$ac_optarg ;;
  1046.  
  1047. -target | --target | --targe | --targ | --tar | --ta | --t)
  1048. ac_prev=target_alias ;;
  1049. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1050. target_alias=$ac_optarg ;;
  1051.  
  1052. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1053. verbose=yes ;;
  1054.  
  1055. -version | --version | --versio | --versi | --vers | -V)
  1056. ac_init_version=: ;;
  1057.  
  1058. -with-* | --with-*)
  1059. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1060. # Reject names that are not valid shell variable names.
  1061. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1062. as_fn_error $? "invalid package name: $ac_useropt"
  1063. ac_useropt_orig=$ac_useropt
  1064. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1065. case $ac_user_opts in
  1066. *"
  1067. "with_$ac_useropt"
  1068. "*) ;;
  1069. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1070. ac_unrecognized_sep=', ';;
  1071. esac
  1072. eval with_$ac_useropt=\$ac_optarg ;;
  1073.  
  1074. -without-* | --without-*)
  1075. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1076. # Reject names that are not valid shell variable names.
  1077. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1078. as_fn_error $? "invalid package name: $ac_useropt"
  1079. ac_useropt_orig=$ac_useropt
  1080. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1081. case $ac_user_opts in
  1082. *"
  1083. "with_$ac_useropt"
  1084. "*) ;;
  1085. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1086. ac_unrecognized_sep=', ';;
  1087. esac
  1088. eval with_$ac_useropt=no ;;
  1089.  
  1090. --x)
  1091. # Obsolete; use --with-x.
  1092. with_x=yes ;;
  1093.  
  1094. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1095. | --x-incl | --x-inc | --x-in | --x-i)
  1096. ac_prev=x_includes ;;
  1097. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1098. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1099. x_includes=$ac_optarg ;;
  1100.  
  1101. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1102. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1103. ac_prev=x_libraries ;;
  1104. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1105. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1106. x_libraries=$ac_optarg ;;
  1107.  
  1108. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1109. Try \`$0 --help' for more information"
  1110. ;;
  1111.  
  1112. *=*)
  1113. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1114. # Reject names that are not valid shell variable names.
  1115. case $ac_envvar in #(
  1116. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1117. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1118. esac
  1119. eval $ac_envvar=\$ac_optarg
  1120. export $ac_envvar ;;
  1121.  
  1122. *)
  1123. # FIXME: should be removed in autoconf 3.0.
  1124. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1125. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1126. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1127. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1128. ;;
  1129.  
  1130. esac
  1131. done
  1132.  
  1133. if test -n "$ac_prev"; then
  1134. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1135. as_fn_error $? "missing argument to $ac_option"
  1136. fi
  1137.  
  1138. if test -n "$ac_unrecognized_opts"; then
  1139. case $enable_option_checking in
  1140. no) ;;
  1141. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1142. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1143. esac
  1144. fi
  1145.  
  1146. # Check all directory arguments for consistency.
  1147. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1148. datadir sysconfdir sharedstatedir localstatedir includedir \
  1149. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1150. libdir localedir mandir
  1151. do
  1152. eval ac_val=\$$ac_var
  1153. # Remove trailing slashes.
  1154. case $ac_val in
  1155. */ )
  1156. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1157. eval $ac_var=\$ac_val;;
  1158. esac
  1159. # Be sure to have absolute directory names.
  1160. case $ac_val in
  1161. [\\/$]* | ?:[\\/]* ) continue;;
  1162. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1163. esac
  1164. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1165. done
  1166.  
  1167. # There might be people who depend on the old broken behavior: `$host'
  1168. # used to hold the argument of --host etc.
  1169. # FIXME: To remove some day.
  1170. build=$build_alias
  1171. host=$host_alias
  1172. target=$target_alias
  1173.  
  1174. # FIXME: To remove some day.
  1175. if test "x$host_alias" != x; then
  1176. if test "x$build_alias" = x; then
  1177. cross_compiling=maybe
  1178. $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1179. If a cross compiler is detected then cross compile mode will be used" >&2
  1180. elif test "x$build_alias" != "x$host_alias"; then
  1181. cross_compiling=yes
  1182. fi
  1183. fi
  1184.  
  1185. ac_tool_prefix=
  1186. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1187.  
  1188. test "$silent" = yes && exec 6>/dev/null
  1189.  
  1190.  
  1191. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1192. ac_ls_di=`ls -di .` &&
  1193. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1194. as_fn_error $? "working directory cannot be determined"
  1195. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1196. as_fn_error $? "pwd does not report name of working directory"
  1197.  
  1198.  
  1199. # Find the source files, if location was not specified.
  1200. if test -z "$srcdir"; then
  1201. ac_srcdir_defaulted=yes
  1202. # Try the directory containing this script, then the parent directory.
  1203. ac_confdir=`$as_dirname -- "$as_myself" ||
  1204. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1205. X"$as_myself" : 'X\(//\)[^/]' \| \
  1206. X"$as_myself" : 'X\(//\)$' \| \
  1207. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1208. $as_echo X"$as_myself" |
  1209. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1210. s//\1/
  1211. q
  1212. }
  1213. /^X\(\/\/\)[^/].*/{
  1214. s//\1/
  1215. q
  1216. }
  1217. /^X\(\/\/\)$/{
  1218. s//\1/
  1219. q
  1220. }
  1221. /^X\(\/\).*/{
  1222. s//\1/
  1223. q
  1224. }
  1225. s/.*/./; q'`
  1226. srcdir=$ac_confdir
  1227. if test ! -r "$srcdir/$ac_unique_file"; then
  1228. srcdir=..
  1229. fi
  1230. else
  1231. ac_srcdir_defaulted=no
  1232. fi
  1233. if test ! -r "$srcdir/$ac_unique_file"; then
  1234. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1235. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1236. fi
  1237. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1238. ac_abs_confdir=`(
  1239. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1240. pwd)`
  1241. # When building in place, set srcdir=.
  1242. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1243. srcdir=.
  1244. fi
  1245. # Remove unnecessary trailing slashes from srcdir.
  1246. # Double slashes in file names in object file debugging info
  1247. # mess up M-x gdb in Emacs.
  1248. case $srcdir in
  1249. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1250. esac
  1251. for ac_var in $ac_precious_vars; do
  1252. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1253. eval ac_env_${ac_var}_value=\$${ac_var}
  1254. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1255. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1256. done
  1257.  
  1258. #
  1259. # Report the --help message.
  1260. #
  1261. if test "$ac_init_help" = "long"; then
  1262. # Omit some internal or obsolete options to make the list less imposing.
  1263. # This message is too long to be a string in the A/UX 3.1 sh.
  1264. cat <<_ACEOF
  1265. \`configure' configures GNUnited Nations 0.5 to adapt to many kinds of systems.
  1266.  
  1267. Usage: $0 [OPTION]... [VAR=VALUE]...
  1268.  
  1269. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1270. VAR=VALUE. See below for descriptions of some of the useful variables.
  1271.  
  1272. Defaults for the options are specified in brackets.
  1273.  
  1274. Configuration:
  1275. -h, --help display this help and exit
  1276. --help=short display options specific to this package
  1277. --help=recursive display the short help of all the included packages
  1278. -V, --version display version information and exit
  1279. -q, --quiet, --silent do not print \`checking ...' messages
  1280. --cache-file=FILE cache test results in FILE [disabled]
  1281. -C, --config-cache alias for \`--cache-file=config.cache'
  1282. -n, --no-create do not create output files
  1283. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1284.  
  1285. Installation directories:
  1286. --prefix=PREFIX install architecture-independent files in PREFIX
  1287. [$ac_default_prefix]
  1288. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1289. [PREFIX]
  1290.  
  1291. By default, \`make install' will install all the files in
  1292. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1293. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1294. for instance \`--prefix=\$HOME'.
  1295.  
  1296. For better control, use the options below.
  1297.  
  1298. Fine tuning of the installation directories:
  1299. --bindir=DIR user executables [EPREFIX/bin]
  1300. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1301. --libexecdir=DIR program executables [EPREFIX/libexec]
  1302. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1303. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1304. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1305. --libdir=DIR object code libraries [EPREFIX/lib]
  1306. --includedir=DIR C header files [PREFIX/include]
  1307. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1308. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1309. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1310. --infodir=DIR info documentation [DATAROOTDIR/info]
  1311. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1312. --mandir=DIR man documentation [DATAROOTDIR/man]
  1313. --docdir=DIR documentation root [DATAROOTDIR/doc/gnun]
  1314. --htmldir=DIR html documentation [DOCDIR]
  1315. --dvidir=DIR dvi documentation [DOCDIR]
  1316. --pdfdir=DIR pdf documentation [DOCDIR]
  1317. --psdir=DIR ps documentation [DOCDIR]
  1318. _ACEOF
  1319.  
  1320. cat <<\_ACEOF
  1321. _ACEOF
  1322. fi
  1323.  
  1324. if test -n "$ac_init_help"; then
  1325. case $ac_init_help in
  1326. short | recursive ) echo "Configuration of GNUnited Nations 0.5:";;
  1327. esac
  1328. cat <<\_ACEOF
  1329.  
  1330. Optional Features:
  1331. --disable-option-checking ignore unrecognized --enable/--with options
  1332. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1333. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1334. --disable-multiviews Use pre-Multiviews naming conventions for English
  1335. URLs (`foo.html' rather than `foo.en.html').
  1336.  
  1337.  
  1338. Some influential environment variables:
  1339. AWK the `awk' program
  1340. SED the `sed' program
  1341. GREP the `grep' program
  1342. EGREP the `egrep' program
  1343. MSGFMT the `msgfmt' program
  1344. MSGMERGE the `msgmerge' program
  1345. WDIFF the `wdiff' program
  1346. PO4A_GETTEXTIZE
  1347. the `po4a-gettextize' program
  1348. PO4A_TRANSLATE
  1349. the `po4a-translate' program
  1350.  
  1351. Use these variables to override the choices made by `configure' or to help
  1352. it to find libraries and programs with nonstandard names/locations.
  1353.  
  1354. Report bugs to <bug-gnun@gnu.org>.
  1355. GNUnited Nations home page: <http://www.gnu.org/software/gnun/>.
  1356. _ACEOF
  1357. ac_status=$?
  1358. fi
  1359.  
  1360. if test "$ac_init_help" = "recursive"; then
  1361. # If there are subdirs, report their specific --help.
  1362. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1363. test -d "$ac_dir" ||
  1364. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1365. continue
  1366. ac_builddir=.
  1367.  
  1368. case "$ac_dir" in
  1369. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1370. *)
  1371. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1372. # A ".." for each directory in $ac_dir_suffix.
  1373. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1374. case $ac_top_builddir_sub in
  1375. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1376. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1377. esac ;;
  1378. esac
  1379. ac_abs_top_builddir=$ac_pwd
  1380. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1381. # for backward compatibility:
  1382. ac_top_builddir=$ac_top_build_prefix
  1383.  
  1384. case $srcdir in
  1385. .) # We are building in place.
  1386. ac_srcdir=.
  1387. ac_top_srcdir=$ac_top_builddir_sub
  1388. ac_abs_top_srcdir=$ac_pwd ;;
  1389. [\\/]* | ?:[\\/]* ) # Absolute name.
  1390. ac_srcdir=$srcdir$ac_dir_suffix;
  1391. ac_top_srcdir=$srcdir
  1392. ac_abs_top_srcdir=$srcdir ;;
  1393. *) # Relative name.
  1394. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1395. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1396. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1397. esac
  1398. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1399.  
  1400. cd "$ac_dir" || { ac_status=$?; continue; }
  1401. # Check for guested configure.
  1402. if test -f "$ac_srcdir/configure.gnu"; then
  1403. echo &&
  1404. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1405. elif test -f "$ac_srcdir/configure"; then
  1406. echo &&
  1407. $SHELL "$ac_srcdir/configure" --help=recursive
  1408. else
  1409. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1410. fi || ac_status=$?
  1411. cd "$ac_pwd" || { ac_status=$?; break; }
  1412. done
  1413. fi
  1414.  
  1415. test -n "$ac_init_help" && exit $ac_status
  1416. if $ac_init_version; then
  1417. cat <<\_ACEOF
  1418. GNUnited Nations configure 0.5
  1419. generated by GNU Autoconf 2.68
  1420.  
  1421. Copyright (C) 2010 Free Software Foundation, Inc.
  1422. This configure script is free software; the Free Software Foundation
  1423. gives unlimited permission to copy, distribute and modify it.
  1424. _ACEOF
  1425. exit
  1426. fi
  1427.  
  1428. ## ------------------------ ##
  1429. ## Autoconf initialization. ##
  1430. ## ------------------------ ##
  1431. cat >config.log <<_ACEOF
  1432. This file contains any messages produced by compilers while
  1433. running configure, to aid debugging if configure makes a mistake.
  1434.  
  1435. It was created by GNUnited Nations $as_me 0.5, which was
  1436. generated by GNU Autoconf 2.68. Invocation command line was
  1437.  
  1438. $ $0 $@
  1439.  
  1440. _ACEOF
  1441. exec 5>>config.log
  1442. {
  1443. cat <<_ASUNAME
  1444. ## --------- ##
  1445. ## Platform. ##
  1446. ## --------- ##
  1447.  
  1448. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1449. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1450. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1451. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1452. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1453.  
  1454. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1455. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1456.  
  1457. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1458. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1459. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1460. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1461. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1462. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1463. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1464.  
  1465. _ASUNAME
  1466.  
  1467. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1468. for as_dir in $PATH
  1469. do
  1470. IFS=$as_save_IFS
  1471. test -z "$as_dir" && as_dir=.
  1472. $as_echo "PATH: $as_dir"
  1473. done
  1474. IFS=$as_save_IFS
  1475.  
  1476. } >&5
  1477.  
  1478. cat >&5 <<_ACEOF
  1479.  
  1480.  
  1481. ## ----------- ##
  1482. ## Core tests. ##
  1483. ## ----------- ##
  1484.  
  1485. _ACEOF
  1486.  
  1487.  
  1488. # Keep a trace of the command line.
  1489. # Strip out --no-create and --no-recursion so they do not pile up.
  1490. # Strip out --silent because we don't want to record it for future runs.
  1491. # Also quote any args containing shell meta-characters.
  1492. # Make two passes to allow for proper duplicate-argument suppression.
  1493. ac_configure_args=
  1494. ac_configure_args0=
  1495. ac_configure_args1=
  1496. ac_must_keep_next=false
  1497. for ac_pass in 1 2
  1498. do
  1499. for ac_arg
  1500. do
  1501. case $ac_arg in
  1502. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1503. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1504. | -silent | --silent | --silen | --sile | --sil)
  1505. continue ;;
  1506. *\'*)
  1507. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1508. esac
  1509. case $ac_pass in
  1510. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1511. 2)
  1512. as_fn_append ac_configure_args1 " '$ac_arg'"
  1513. if test $ac_must_keep_next = true; then
  1514. ac_must_keep_next=false # Got value, back to normal.
  1515. else
  1516. case $ac_arg in
  1517. *=* | --config-cache | -C | -disable-* | --disable-* \
  1518. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1519. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1520. | -with-* | --with-* | -without-* | --without-* | --x)
  1521. case "$ac_configure_args0 " in
  1522. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1523. esac
  1524. ;;
  1525. -* ) ac_must_keep_next=true ;;
  1526. esac
  1527. fi
  1528. as_fn_append ac_configure_args " '$ac_arg'"
  1529. ;;
  1530. esac
  1531. done
  1532. done
  1533. { ac_configure_args0=; unset ac_configure_args0;}
  1534. { ac_configure_args1=; unset ac_configure_args1;}
  1535.  
  1536. # When interrupted or exit'd, cleanup temporary files, and complete
  1537. # config.log. We remove comments because anyway the quotes in there
  1538. # would cause problems or look ugly.
  1539. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1540. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1541. trap 'exit_status=$?
  1542. # Save into config.log some information that might help in debugging.
  1543. {
  1544. echo
  1545.  
  1546. $as_echo "## ---------------- ##
  1547. ## Cache variables. ##
  1548. ## ---------------- ##"
  1549. echo
  1550. # The following way of writing the cache mishandles newlines in values,
  1551. (
  1552. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1553. eval ac_val=\$$ac_var
  1554. case $ac_val in #(
  1555. *${as_nl}*)
  1556. case $ac_var in #(
  1557. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1558. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1559. esac
  1560. case $ac_var in #(
  1561. _ | IFS | as_nl) ;; #(
  1562. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1563. *) { eval $ac_var=; unset $ac_var;} ;;
  1564. esac ;;
  1565. esac
  1566. done
  1567. (set) 2>&1 |
  1568. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1569. *${as_nl}ac_space=\ *)
  1570. sed -n \
  1571. "s/'\''/'\''\\\\'\'''\''/g;
  1572. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1573. ;; #(
  1574. *)
  1575. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1576. ;;
  1577. esac |
  1578. sort
  1579. )
  1580. echo
  1581.  
  1582. $as_echo "## ----------------- ##
  1583. ## Output variables. ##
  1584. ## ----------------- ##"
  1585. echo
  1586. for ac_var in $ac_subst_vars
  1587. do
  1588. eval ac_val=\$$ac_var
  1589. case $ac_val in
  1590. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1591. esac
  1592. $as_echo "$ac_var='\''$ac_val'\''"
  1593. done | sort
  1594. echo
  1595.  
  1596. if test -n "$ac_subst_files"; then
  1597. $as_echo "## ------------------- ##
  1598. ## File substitutions. ##
  1599. ## ------------------- ##"
  1600. echo
  1601. for ac_var in $ac_subst_files
  1602. do
  1603. eval ac_val=\$$ac_var
  1604. case $ac_val in
  1605. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1606. esac
  1607. $as_echo "$ac_var='\''$ac_val'\''"
  1608. done | sort
  1609. echo
  1610. fi
  1611.  
  1612. if test -s confdefs.h; then
  1613. $as_echo "## ----------- ##
  1614. ## confdefs.h. ##
  1615. ## ----------- ##"
  1616. echo
  1617. cat confdefs.h
  1618. echo
  1619. fi
  1620. test "$ac_signal" != 0 &&
  1621. $as_echo "$as_me: caught signal $ac_signal"
  1622. $as_echo "$as_me: exit $exit_status"
  1623. } >&5
  1624. rm -f core *.core core.conftest.* &&
  1625. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1626. exit $exit_status
  1627. ' 0
  1628. for ac_signal in 1 2 13 15; do
  1629. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1630. done
  1631. ac_signal=0
  1632.  
  1633. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1634. rm -f -r conftest* confdefs.h
  1635.  
  1636. $as_echo "/* confdefs.h */" > confdefs.h
  1637.  
  1638. # Predefined preprocessor variables.
  1639.  
  1640. cat >>confdefs.h <<_ACEOF
  1641. #define PACKAGE_NAME "$PACKAGE_NAME"
  1642. _ACEOF
  1643.  
  1644. cat >>confdefs.h <<_ACEOF
  1645. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1646. _ACEOF
  1647.  
  1648. cat >>confdefs.h <<_ACEOF
  1649. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1650. _ACEOF
  1651.  
  1652. cat >>confdefs.h <<_ACEOF
  1653. #define PACKAGE_STRING "$PACKAGE_STRING"
  1654. _ACEOF
  1655.  
  1656. cat >>confdefs.h <<_ACEOF
  1657. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1658. _ACEOF
  1659.  
  1660. cat >>confdefs.h <<_ACEOF
  1661. #define PACKAGE_URL "$PACKAGE_URL"
  1662. _ACEOF
  1663.  
  1664.  
  1665. # Let the site file select an alternate cache file if it wants to.
  1666. # Prefer an explicitly selected file to automatically selected ones.
  1667. ac_site_file1=NONE
  1668. ac_site_file2=NONE
  1669. if test -n "$CONFIG_SITE"; then
  1670. # We do not want a PATH search for config.site.
  1671. case $CONFIG_SITE in #((
  1672. -*) ac_site_file1=./$CONFIG_SITE;;
  1673. */*) ac_site_file1=$CONFIG_SITE;;
  1674. *) ac_site_file1=./$CONFIG_SITE;;
  1675. esac
  1676. elif test "x$prefix" != xNONE; then
  1677. ac_site_file1=$prefix/share/config.site
  1678. ac_site_file2=$prefix/etc/config.site
  1679. else
  1680. ac_site_file1=$ac_default_prefix/share/config.site
  1681. ac_site_file2=$ac_default_prefix/etc/config.site
  1682. fi
  1683. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1684. do
  1685. test "x$ac_site_file" = xNONE && continue
  1686. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1687. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1688. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1689. sed 's/^/| /' "$ac_site_file" >&5
  1690. . "$ac_site_file" \
  1691. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1692. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1693. as_fn_error $? "failed to load site script $ac_site_file
  1694. See \`config.log' for more details" "$LINENO" 5; }
  1695. fi
  1696. done
  1697.  
  1698. if test -r "$cache_file"; then
  1699. # Some versions of bash will fail to source /dev/null (special files
  1700. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1701. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1702. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1703. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1704. case $cache_file in
  1705. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1706. *) . "./$cache_file";;
  1707. esac
  1708. fi
  1709. else
  1710. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1711. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1712. >$cache_file
  1713. fi
  1714.  
  1715. # Check that the precious variables saved in the cache have kept the same
  1716. # value.
  1717. ac_cache_corrupted=false
  1718. for ac_var in $ac_precious_vars; do
  1719. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1720. eval ac_new_set=\$ac_env_${ac_var}_set
  1721. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1722. eval ac_new_val=\$ac_env_${ac_var}_value
  1723. case $ac_old_set,$ac_new_set in
  1724. set,)
  1725. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1726. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1727. ac_cache_corrupted=: ;;
  1728. ,set)
  1729. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1730. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1731. ac_cache_corrupted=: ;;
  1732. ,);;
  1733. *)
  1734. if test "x$ac_old_val" != "x$ac_new_val"; then
  1735. # differences in whitespace do not lead to failure.
  1736. ac_old_val_w=`echo x $ac_old_val`
  1737. ac_new_val_w=`echo x $ac_new_val`
  1738. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1739. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1740. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1741. ac_cache_corrupted=:
  1742. else
  1743. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1744. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1745. eval $ac_var=\$ac_old_val
  1746. fi
  1747. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1748. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1749. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1750. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1751. fi;;
  1752. esac
  1753. # Pass precious variables to config.status.
  1754. if test "$ac_new_set" = set; then
  1755. case $ac_new_val in
  1756. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1757. *) ac_arg=$ac_var=$ac_new_val ;;
  1758. esac
  1759. case " $ac_configure_args " in
  1760. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1761. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1762. esac
  1763. fi
  1764. done
  1765. if $ac_cache_corrupted; then
  1766. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1767. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1768. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1769. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1770. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1771. fi
  1772. ## -------------------- ##
  1773. ## Main body of script. ##
  1774. ## -------------------- ##
  1775.  
  1776. ac_ext=c
  1777. ac_cpp='$CPP $CPPFLAGS'
  1778. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1779. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1780. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789. ## 1.11 is needed for the `pkglibexecdir' definition.
  1790. AM_INIT_AUTOMAKE(1.11 -Wall silent-rules)
  1791.  
  1792. # Checks for programs. Missing some of them is not fatal, as the user
  1793. # might want to use `make report' only, or some other limited
  1794. # functionality. Most variables are declared `precious' in order to
  1795. # override them both via `configure' and `make' when building
  1796. # translations.
  1797. CHECK_GNU_MAKE
  1798. if test -z "$ifGNUmake"; then :
  1799. decent_make=yes
  1800. else
  1801. decent_make=no
  1802. fi
  1803.  
  1804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use www.gnu.org Multiviews naming conventions" >&5
  1805. $as_echo_n "checking whether to use www.gnu.org Multiviews naming conventions... " >&6; }
  1806. # Check whether --enable-multiviews was given.
  1807. if test "${enable_multiviews+set}" = set; then :
  1808. enableval=$enable_multiviews;
  1809. fi
  1810.  
  1811. case "x$enable_multiviews" in #(
  1812. xno) :
  1813. ;; #(
  1814. *) :
  1815. enable_multiviews=yes ;;
  1816. esac
  1817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_multiviews" >&5
  1818. $as_echo "$enable_multiviews" >&6; }
  1819. MULTIVIEWS=$enable_multiviews
  1820.  
  1821.  
  1822.  
  1823. AX_CHECK_AWK_GSUB(decent_awk=yes, decent_awk=no)
  1824.  
  1825.  
  1826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  1827. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  1828. if ${ac_cv_path_SED+:} false; then :
  1829. $as_echo_n "(cached) " >&6
  1830. else
  1831. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  1832. for ac_i in 1 2 3 4 5 6 7; do
  1833. ac_script="$ac_script$as_nl$ac_script"
  1834. done
  1835. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  1836. { ac_script=; unset ac_script;}
  1837. if test -z "$SED"; then
  1838. ac_path_SED_found=false
  1839. # Loop through the user's path and test for each of PROGNAME-LIST
  1840. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1841. for as_dir in $PATH
  1842. do
  1843. IFS=$as_save_IFS
  1844. test -z "$as_dir" && as_dir=.
  1845. for ac_prog in sed gsed; do
  1846. for ac_exec_ext in '' $ac_executable_extensions; do
  1847. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  1848. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  1849. # Check for GNU ac_path_SED and select it if it is found.
  1850. # Check for GNU $ac_path_SED
  1851. case `"$ac_path_SED" --version 2>&1` in
  1852. *GNU*)
  1853. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  1854. *)
  1855. ac_count=0
  1856. $as_echo_n 0123456789 >"conftest.in"
  1857. while :
  1858. do
  1859. cat "conftest.in" "conftest.in" >"conftest.tmp"
  1860. mv "conftest.tmp" "conftest.in"
  1861. cp "conftest.in" "conftest.nl"
  1862. $as_echo '' >> "conftest.nl"
  1863. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1864. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1865. as_fn_arith $ac_count + 1 && ac_count=$as_val
  1866. if test $ac_count -gt ${ac_path_SED_max-0}; then
  1867. # Best one so far, save it but keep looking for a better one
  1868. ac_cv_path_SED="$ac_path_SED"
  1869. ac_path_SED_max=$ac_count
  1870. fi
  1871. # 10*(2^10) chars as input seems more than enough
  1872. test $ac_count -gt 10 && break
  1873. done
  1874. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1875. esac
  1876.  
  1877. $ac_path_SED_found && break 3
  1878. done
  1879. done
  1880. done
  1881. IFS=$as_save_IFS
  1882. if test -z "$ac_cv_path_SED"; then
  1883. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  1884. fi
  1885. else
  1886. ac_cv_path_SED=$SED
  1887. fi
  1888.  
  1889. fi
  1890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  1891. $as_echo "$ac_cv_path_SED" >&6; }
  1892. SED="$ac_cv_path_SED"
  1893. rm -f conftest.sed
  1894.  
  1895.  
  1896. # We really really really depend on GNU sed.
  1897. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sed supports --in-place option" >&5
  1898. $as_echo_n "checking whether sed supports --in-place option... " >&6; }
  1899. cat > conftest0.sed <<'EOF'
  1900. lorem ipsum dolor sit amet
  1901. EOF
  1902. sedtest=s/lor/minator/g
  1903. ${SED} ${sedtest} < conftest0.sed > conftest.sed
  1904. ${SED} --in-place ${sedtest} conftest0.sed
  1905. if test $? = 0 && cmp -s conftest0.sed conftest.sed; then :
  1906. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1907. $as_echo "yes" >&6; }
  1908. else
  1909. as_fn_error $? "
  1910.  
  1911. Unlike GNU sed, the \`sed' program doesn't support --in-place option.
  1912. " "$LINENO" 5
  1913.  
  1914. fi
  1915.  
  1916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sed supports the \`e' option of the \`s' command" >&5
  1917. $as_echo_n "checking whether sed supports the \`e' option of the \`s' command... " >&6; }
  1918. test="$(echo false | ${SED} 's/.*/true/e')"
  1919. if test $? = 0 -a x"${test}" = x; then :
  1920. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1921. $as_echo "yes" >&6; }
  1922. else
  1923. as_fn_error $? "
  1924.  
  1925. Unlike GNU sed, the \`sed' program doesn't support the \`e' option
  1926. of the \`s' command.
  1927. " "$LINENO" 5
  1928.  
  1929. fi
  1930.  
  1931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sed supports the \`q' command with an exit code" >&5
  1932. $as_echo_n "checking whether sed supports the \`q' command with an exit code... " >&6; }
  1933. echo seventeen | ${SED} -n '1 {q 17}' > /dev/null
  1934. result=$?
  1935. echo zero | ${SED} -n '1 {q 0}' > /dev/null
  1936. if test ${result} = 17 -a $? = 0; then :
  1937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1938. $as_echo "yes" >&6; }
  1939. else
  1940. as_fn_error $? "
  1941.  
  1942. Unlike GNU sed, the \`sed' program doesn't support the \`q' command
  1943. with an exit code.
  1944. " "$LINENO" 5
  1945.  
  1946. fi
  1947.  
  1948.  
  1949.  
  1950. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  1951. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  1952. if ${ac_cv_path_GREP+:} false; then :
  1953. $as_echo_n "(cached) " >&6
  1954. else
  1955. if test -z "$GREP"; then
  1956. ac_path_GREP_found=false
  1957. # Loop through the user's path and test for each of PROGNAME-LIST
  1958. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1959. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1960. do
  1961. IFS=$as_save_IFS
  1962. test -z "$as_dir" && as_dir=.
  1963. for ac_prog in grep ggrep; do
  1964. for ac_exec_ext in '' $ac_executable_extensions; do
  1965. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  1966. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  1967. # Check for GNU ac_path_GREP and select it if it is found.
  1968. # Check for GNU $ac_path_GREP
  1969. case `"$ac_path_GREP" --version 2>&1` in
  1970. *GNU*)
  1971. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  1972. *)
  1973. ac_count=0
  1974. $as_echo_n 0123456789 >"conftest.in"
  1975. while :
  1976. do
  1977. cat "conftest.in" "conftest.in" >"conftest.tmp"
  1978. mv "conftest.tmp" "conftest.in"
  1979. cp "conftest.in" "conftest.nl"
  1980. $as_echo 'GREP' >> "conftest.nl"
  1981. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1982. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1983. as_fn_arith $ac_count + 1 && ac_count=$as_val
  1984. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  1985. # Best one so far, save it but keep looking for a better one
  1986. ac_cv_path_GREP="$ac_path_GREP"
  1987. ac_path_GREP_max=$ac_count
  1988. fi
  1989. # 10*(2^10) chars as input seems more than enough
  1990. test $ac_count -gt 10 && break
  1991. done
  1992. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1993. esac
  1994.  
  1995. $ac_path_GREP_found && break 3
  1996. done
  1997. done
  1998. done
  1999. IFS=$as_save_IFS
  2000. if test -z "$ac_cv_path_GREP"; then
  2001. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  2002. fi
  2003. else
  2004. ac_cv_path_GREP=$GREP
  2005. fi
  2006.  
  2007. fi
  2008. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  2009. $as_echo "$ac_cv_path_GREP" >&6; }
  2010. GREP="$ac_cv_path_GREP"
  2011.  
  2012.  
  2013. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  2014. $as_echo_n "checking for egrep... " >&6; }
  2015. if ${ac_cv_path_EGREP+:} false; then :
  2016. $as_echo_n "(cached) " >&6
  2017. else
  2018. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  2019. then ac_cv_path_EGREP="$GREP -E"
  2020. else
  2021. if test -z "$EGREP"; then
  2022. ac_path_EGREP_found=false
  2023. # Loop through the user's path and test for each of PROGNAME-LIST
  2024. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2025. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  2026. do
  2027. IFS=$as_save_IFS
  2028. test -z "$as_dir" && as_dir=.
  2029. for ac_prog in egrep; do
  2030. for ac_exec_ext in '' $ac_executable_extensions; do
  2031. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  2032. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  2033. # Check for GNU ac_path_EGREP and select it if it is found.
  2034. # Check for GNU $ac_path_EGREP
  2035. case `"$ac_path_EGREP" --version 2>&1` in
  2036. *GNU*)
  2037. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  2038. *)
  2039. ac_count=0
  2040. $as_echo_n 0123456789 >"conftest.in"
  2041. while :
  2042. do
  2043. cat "conftest.in" "conftest.in" >"conftest.tmp"
  2044. mv "conftest.tmp" "conftest.in"
  2045. cp "conftest.in" "conftest.nl"
  2046. $as_echo 'EGREP' >> "conftest.nl"
  2047. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  2048. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  2049. as_fn_arith $ac_count + 1 && ac_count=$as_val
  2050. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  2051. # Best one so far, save it but keep looking for a better one
  2052. ac_cv_path_EGREP="$ac_path_EGREP"
  2053. ac_path_EGREP_max=$ac_count
  2054. fi
  2055. # 10*(2^10) chars as input seems more than enough
  2056. test $ac_count -gt 10 && break
  2057. done
  2058. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  2059. esac
  2060.  
  2061. $ac_path_EGREP_found && break 3
  2062. done
  2063. done
  2064. done
  2065. IFS=$as_save_IFS
  2066. if test -z "$ac_cv_path_EGREP"; then
  2067. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  2068. fi
  2069. else
  2070. ac_cv_path_EGREP=$EGREP
  2071. fi
  2072.  
  2073. fi
  2074. fi
  2075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  2076. $as_echo "$ac_cv_path_EGREP" >&6; }
  2077. EGREP="$ac_cv_path_EGREP"
  2078.  
  2079.  
  2080.  
  2081.  
  2082. for ac_prog in msgfmt gmsgfmt
  2083. do
  2084. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2085. set dummy $ac_prog; ac_word=$2
  2086. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2087. $as_echo_n "checking for $ac_word... " >&6; }
  2088. if ${ac_cv_prog_MSGFMT+:} false; then :
  2089. $as_echo_n "(cached) " >&6
  2090. else
  2091. if test -n "$MSGFMT"; then
  2092. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  2093. else
  2094. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2095. for as_dir in $PATH
  2096. do
  2097. IFS=$as_save_IFS
  2098. test -z "$as_dir" && as_dir=.
  2099. for ac_exec_ext in '' $ac_executable_extensions; do
  2100. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2101. ac_cv_prog_MSGFMT="$ac_prog"
  2102. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2103. break 2
  2104. fi
  2105. done
  2106. done
  2107. IFS=$as_save_IFS
  2108.  
  2109. fi
  2110. fi
  2111. MSGFMT=$ac_cv_prog_MSGFMT
  2112. if test -n "$MSGFMT"; then
  2113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  2114. $as_echo "$MSGFMT" >&6; }
  2115. else
  2116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2117. $as_echo "no" >&6; }
  2118. fi
  2119.  
  2120.  
  2121. test -n "$MSGFMT" && break
  2122. done
  2123.  
  2124.  
  2125. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msgmerge that supports --previous" >&5
  2126. $as_echo_n "checking for msgmerge that supports --previous... " >&6; }
  2127. if ${ac_cv_path_MSGMERGE+:} false; then :
  2128. $as_echo_n "(cached) " >&6
  2129. else
  2130. if test -z "$MSGMERGE"; then
  2131. ac_path_MSGMERGE_found=false
  2132. # Loop through the user's path and test for each of PROGNAME-LIST
  2133. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2134. for as_dir in $PATH
  2135. do
  2136. IFS=$as_save_IFS
  2137. test -z "$as_dir" && as_dir=.
  2138. for ac_prog in msgmerge gmsgmerge; do
  2139. for ac_exec_ext in '' $ac_executable_extensions; do
  2140. ac_path_MSGMERGE="$as_dir/$ac_prog$ac_exec_ext"
  2141. { test -f "$ac_path_MSGMERGE" && $as_test_x "$ac_path_MSGMERGE"; } || continue
  2142. $ac_path_MSGMERGE --previous /dev/null /dev/null 2>/dev/null \
  2143. && ac_cv_path_MSGMERGE=$ac_path_MSGMERGE
  2144. $ac_path_MSGMERGE_found && break 3
  2145. done
  2146. done
  2147. done
  2148. IFS=$as_save_IFS
  2149. if test -z "$ac_cv_path_MSGMERGE"; then
  2150. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: none found -- consider updating gettext" >&5
  2151. $as_echo "$as_me: WARNING: none found -- consider updating gettext" >&2;}
  2152. fi
  2153. else
  2154. ac_cv_path_MSGMERGE=$MSGMERGE
  2155. fi
  2156.  
  2157. fi
  2158. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_MSGMERGE" >&5
  2159. $as_echo "$ac_cv_path_MSGMERGE" >&6; }
  2160. MSGMERGE=$ac_cv_path_MSGMERGE
  2161.  
  2162. if test -n "$MSGMERGE"; then :
  2163. decent_gettext=yes
  2164. else
  2165. decent_gettext=no
  2166. fi
  2167.  
  2168. # Presumably if msgmerge supports --previous, msgattrib supports
  2169. # --clear-previous as well, but it's safer to check anyway.
  2170. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msgattrib that supports --clear-previous" >&5
  2171. $as_echo_n "checking for msgattrib that supports --clear-previous... " >&6; }
  2172. if ${ac_cv_path_MSGATTRIB+:} false; then :
  2173. $as_echo_n "(cached) " >&6
  2174. else
  2175. if test -z "$MSGATTRIB"; then
  2176. ac_path_MSGATTRIB_found=false
  2177. # Loop through the user's path and test for each of PROGNAME-LIST
  2178. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2179. for as_dir in $PATH
  2180. do
  2181. IFS=$as_save_IFS
  2182. test -z "$as_dir" && as_dir=.
  2183. for ac_prog in msgattrib gmsgattrib; do
  2184. for ac_exec_ext in '' $ac_executable_extensions; do
  2185. ac_path_MSGATTRIB="$as_dir/$ac_prog$ac_exec_ext"
  2186. { test -f "$ac_path_MSGATTRIB" && $as_test_x "$ac_path_MSGATTRIB"; } || continue
  2187. $ac_path_MSGATTRIB --clear-previous /dev/null 2>/dev/null \
  2188. && ac_cv_path_MSGATTRIB=$ac_path_MSGATTRIB
  2189. $ac_path_MSGATTRIB_found && break 3
  2190. done
  2191. done
  2192. done
  2193. IFS=$as_save_IFS
  2194. if test -z "$ac_cv_path_MSGATTRIB"; then
  2195. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: none found -- consider updating gettext" >&5
  2196. $as_echo "$as_me: WARNING: none found -- consider updating gettext" >&2;}
  2197. fi
  2198. else
  2199. ac_cv_path_MSGATTRIB=$MSGATTRIB
  2200. fi
  2201.  
  2202. fi
  2203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_MSGATTRIB" >&5
  2204. $as_echo "$ac_cv_path_MSGATTRIB" >&6; }
  2205. MSGATTRIB=$ac_cv_path_MSGATTRIB
  2206.  
  2207. if test -n "$MSGATTRIB"; then :
  2208. decent_msgattrib=yes
  2209. else
  2210. decent_msgattrib=no
  2211. fi
  2212. AM_CONDITIONAL(NEW_MSGATTRIB, test "$decent_msgattrib" = yes)
  2213.  
  2214. # Extract the first word of "guile", so it can be a program name with args.
  2215. set dummy guile; ac_word=$2
  2216. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2217. $as_echo_n "checking for $ac_word... " >&6; }
  2218. if ${ac_cv_path_GUILE+:} false; then :
  2219. $as_echo_n "(cached) " >&6
  2220. else
  2221. case $GUILE in
  2222. [\\/]* | ?:[\\/]*)
  2223. ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
  2224. ;;
  2225. *)
  2226. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2227. for as_dir in $PATH
  2228. do
  2229. IFS=$as_save_IFS
  2230. test -z "$as_dir" && as_dir=.
  2231. for ac_exec_ext in '' $ac_executable_extensions; do
  2232. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2233. ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
  2234. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2235. break 2
  2236. fi
  2237. done
  2238. done
  2239. IFS=$as_save_IFS
  2240.  
  2241. ;;
  2242. esac
  2243. fi
  2244. GUILE=$ac_cv_path_GUILE
  2245. if test -n "$GUILE"; then
  2246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
  2247. $as_echo "$GUILE" >&6; }
  2248. else
  2249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2250. $as_echo "no" >&6; }
  2251. fi
  2252.  
  2253.  
  2254. if test -n "$GUILE"; then :
  2255. have_guile=yes
  2256. else
  2257. have_guile=no
  2258. fi
  2259. AM_CONDITIONAL(HAVE_GUILE, test -n "$GUILE")
  2260.  
  2261.  
  2262. # Extract the first word of "wdiff", so it can be a program name with args.
  2263. set dummy wdiff; ac_word=$2
  2264. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2265. $as_echo_n "checking for $ac_word... " >&6; }
  2266. if ${ac_cv_path_WDIFF+:} false; then :
  2267. $as_echo_n "(cached) " >&6
  2268. else
  2269. case $WDIFF in
  2270. [\\/]* | ?:[\\/]*)
  2271. ac_cv_path_WDIFF="$WDIFF" # Let the user override the test with a path.
  2272. ;;
  2273. *)
  2274. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2275. for as_dir in $PATH
  2276. do
  2277. IFS=$as_save_IFS
  2278. test -z "$as_dir" && as_dir=.
  2279. for ac_exec_ext in '' $ac_executable_extensions; do
  2280. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2281. ac_cv_path_WDIFF="$as_dir/$ac_word$ac_exec_ext"
  2282. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2283. break 2
  2284. fi
  2285. done
  2286. done
  2287. IFS=$as_save_IFS
  2288.  
  2289. ;;
  2290. esac
  2291. fi
  2292. WDIFF=$ac_cv_path_WDIFF
  2293. if test -n "$WDIFF"; then
  2294. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WDIFF" >&5
  2295. $as_echo "$WDIFF" >&6; }
  2296. else
  2297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2298. $as_echo "no" >&6; }
  2299. fi
  2300.  
  2301.  
  2302. AM_CONDITIONAL(HAVE_WDIFF, test -n "$WDIFF")
  2303.  
  2304. # Po4a is useless for our purpose if Guile is missing.
  2305. if test "$have_guile" = yes; then
  2306.  
  2307. for ac_prog in po4a-gettextize
  2308. do
  2309. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2310. set dummy $ac_prog; ac_word=$2
  2311. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2312. $as_echo_n "checking for $ac_word... " >&6; }
  2313. if ${ac_cv_prog_PO4A_GETTEXTIZE+:} false; then :
  2314. $as_echo_n "(cached) " >&6
  2315. else
  2316. if test -n "$PO4A_GETTEXTIZE"; then
  2317. ac_cv_prog_PO4A_GETTEXTIZE="$PO4A_GETTEXTIZE" # Let the user override the test.
  2318. else
  2319. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2320. for as_dir in $PATH
  2321. do
  2322. IFS=$as_save_IFS
  2323. test -z "$as_dir" && as_dir=.
  2324. for ac_exec_ext in '' $ac_executable_extensions; do
  2325. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2326. ac_cv_prog_PO4A_GETTEXTIZE="$ac_prog"
  2327. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2328. break 2
  2329. fi
  2330. done
  2331. done
  2332. IFS=$as_save_IFS
  2333.  
  2334. fi
  2335. fi
  2336. PO4A_GETTEXTIZE=$ac_cv_prog_PO4A_GETTEXTIZE
  2337. if test -n "$PO4A_GETTEXTIZE"; then
  2338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A_GETTEXTIZE" >&5
  2339. $as_echo "$PO4A_GETTEXTIZE" >&6; }
  2340. else
  2341. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2342. $as_echo "no" >&6; }
  2343. fi
  2344.  
  2345.  
  2346. test -n "$PO4A_GETTEXTIZE" && break
  2347. done
  2348.  
  2349.  
  2350. for ac_prog in po4a-translate
  2351. do
  2352. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2353. set dummy $ac_prog; ac_word=$2
  2354. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2355. $as_echo_n "checking for $ac_word... " >&6; }
  2356. if ${ac_cv_prog_PO4A_TRANSLATE+:} false; then :
  2357. $as_echo_n "(cached) " >&6
  2358. else
  2359. if test -n "$PO4A_TRANSLATE"; then
  2360. ac_cv_prog_PO4A_TRANSLATE="$PO4A_TRANSLATE" # Let the user override the test.
  2361. else
  2362. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2363. for as_dir in $PATH
  2364. do
  2365. IFS=$as_save_IFS
  2366. test -z "$as_dir" && as_dir=.
  2367. for ac_exec_ext in '' $ac_executable_extensions; do
  2368. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2369. ac_cv_prog_PO4A_TRANSLATE="$ac_prog"
  2370. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2371. break 2
  2372. fi
  2373. done
  2374. done
  2375. IFS=$as_save_IFS
  2376.  
  2377. fi
  2378. fi
  2379. PO4A_TRANSLATE=$ac_cv_prog_PO4A_TRANSLATE
  2380. if test -n "$PO4A_TRANSLATE"; then
  2381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A_TRANSLATE" >&5
  2382. $as_echo "$PO4A_TRANSLATE" >&6; }
  2383. else
  2384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2385. $as_echo "no" >&6; }
  2386. fi
  2387.  
  2388.  
  2389. test -n "$PO4A_TRANSLATE" && break
  2390. done
  2391.  
  2392.  
  2393. # This is a weak test; should be replaced with a feature check.
  2394. if test -n "$PO4A_TRANSLATE"; then
  2395. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if po4a version is at least 0.34" >&5
  2396. $as_echo_n "checking if po4a version is at least 0.34... " >&6; }
  2397. if ${gnun_cv_recent_po4a+:} false; then :
  2398. $as_echo_n "(cached) " >&6
  2399. else
  2400. gnun_cv_recent_po4a=no
  2401. po4a_version=`$PO4A_TRANSLATE --version 2> /dev/null \
  2402. | $GREP po4a | $AWK '{print $3}' | $SED 's/.$//'`
  2403. AX_COMPARE_VERSION($po4a_version, ge, 0.34,
  2404. gnun_cv_recent_po4a=yes)
  2405.  
  2406. fi
  2407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnun_cv_recent_po4a" >&5
  2408. $as_echo "$gnun_cv_recent_po4a" >&6; }
  2409. else
  2410. gnun_cv_recent_po4a=no
  2411. fi
  2412. else
  2413. gnun_cv_recent_po4a=no
  2414. fi
  2415.  
  2416. # Extract the first word of "mail", so it can be a program name with args.
  2417. set dummy mail; ac_word=$2
  2418. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2419. $as_echo_n "checking for $ac_word... " >&6; }
  2420. if ${ac_cv_prog_have_mail+:} false; then :
  2421. $as_echo_n "(cached) " >&6
  2422. else
  2423. if test -n "$have_mail"; then
  2424. ac_cv_prog_have_mail="$have_mail" # Let the user override the test.
  2425. else
  2426. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2427. for as_dir in $PATH
  2428. do
  2429. IFS=$as_save_IFS
  2430. test -z "$as_dir" && as_dir=.
  2431. for ac_exec_ext in '' $ac_executable_extensions; do
  2432. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2433. ac_cv_prog_have_mail="yes"
  2434. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2435. break 2
  2436. fi
  2437. done
  2438. done
  2439. IFS=$as_save_IFS
  2440.  
  2441. test -z "$ac_cv_prog_have_mail" && ac_cv_prog_have_mail="no"
  2442. fi
  2443. fi
  2444. have_mail=$ac_cv_prog_have_mail
  2445. if test -n "$have_mail"; then
  2446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mail" >&5
  2447. $as_echo "$have_mail" >&6; }
  2448. else
  2449. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2450. $as_echo "no" >&6; }
  2451. fi
  2452.  
  2453.  
  2454.  
  2455. # This test is currently unnecessary, but might be useful if we rely
  2456. # on GNU Mailutils features in the future.
  2457. if test "$have_mail" = yes; then
  2458. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`mail' is from GNU Mailutils" >&5
  2459. $as_echo_n "checking whether \`mail' is from GNU Mailutils... " >&6; }
  2460. if ${gnun_cv_gnu_mailutils+:} false; then :
  2461. $as_echo_n "(cached) " >&6
  2462. else
  2463. gnun_cv_gnu_mailutils=no
  2464. if (sh -c "mail --version" 2> /dev/null | $GREP GNU \
  2465. 2>&1 > /dev/null) ; then
  2466. gnun_cv_gnu_mailutils=yes ;
  2467. fi
  2468. fi
  2469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gnun_cv_gnu_mailutils" >&5
  2470. $as_echo "$gnun_cv_gnu_mailutils" >&6; }
  2471. fi
  2472.  
  2473. # Check for supported VCS. Currently the tests are run only for the
  2474. # sake of pretty-printing the summary at the end, but the results will
  2475. # be used for the future testsuite.
  2476. # Extract the first word of "cvs", so it can be a program name with args.
  2477. set dummy cvs; ac_word=$2
  2478. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2479. $as_echo_n "checking for $ac_word... " >&6; }
  2480. if ${ac_cv_prog_CVS+:} false; then :
  2481. $as_echo_n "(cached) " >&6
  2482. else
  2483. if test -n "$CVS"; then
  2484. ac_cv_prog_CVS="$CVS" # Let the user override the test.
  2485. else
  2486. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2487. for as_dir in $PATH
  2488. do
  2489. IFS=$as_save_IFS
  2490. test -z "$as_dir" && as_dir=.
  2491. for ac_exec_ext in '' $ac_executable_extensions; do
  2492. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2493. ac_cv_prog_CVS="yes"
  2494. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2495. break 2
  2496. fi
  2497. done
  2498. done
  2499. IFS=$as_save_IFS
  2500.  
  2501. fi
  2502. fi
  2503. CVS=$ac_cv_prog_CVS
  2504. if test -n "$CVS"; then
  2505. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CVS" >&5
  2506. $as_echo "$CVS" >&6; }
  2507. else
  2508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2509. $as_echo "no" >&6; }
  2510. fi
  2511.  
  2512.  
  2513. if test -n "$CVS"; then :
  2514. cvs="(CVS)"
  2515. fi
  2516. # Extract the first word of "svn", so it can be a program name with args.
  2517. set dummy svn; ac_word=$2
  2518. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2519. $as_echo_n "checking for $ac_word... " >&6; }
  2520. if ${ac_cv_prog_SVN+:} false; then :
  2521. $as_echo_n "(cached) " >&6
  2522. else
  2523. if test -n "$SVN"; then
  2524. ac_cv_prog_SVN="$SVN" # Let the user override the test.
  2525. else
  2526. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2527. for as_dir in $PATH
  2528. do
  2529. IFS=$as_save_IFS
  2530. test -z "$as_dir" && as_dir=.
  2531. for ac_exec_ext in '' $ac_executable_extensions; do
  2532. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2533. ac_cv_prog_SVN="yes"
  2534. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2535. break 2
  2536. fi
  2537. done
  2538. done
  2539. IFS=$as_save_IFS
  2540.  
  2541. fi
  2542. fi
  2543. SVN=$ac_cv_prog_SVN
  2544. if test -n "$SVN"; then
  2545. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
  2546. $as_echo "$SVN" >&6; }
  2547. else
  2548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2549. $as_echo "no" >&6; }
  2550. fi
  2551.  
  2552.  
  2553. if test -n "$SVN"; then :
  2554. svn="(Subversion)"
  2555. fi
  2556. # Extract the first word of "bzr", so it can be a program name with args.
  2557. set dummy bzr; ac_word=$2
  2558. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2559. $as_echo_n "checking for $ac_word... " >&6; }
  2560. if ${ac_cv_prog_BZR+:} false; then :
  2561. $as_echo_n "(cached) " >&6
  2562. else
  2563. if test -n "$BZR"; then
  2564. ac_cv_prog_BZR="$BZR" # Let the user override the test.
  2565. else
  2566. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2567. for as_dir in $PATH
  2568. do
  2569. IFS=$as_save_IFS
  2570. test -z "$as_dir" && as_dir=.
  2571. for ac_exec_ext in '' $ac_executable_extensions; do
  2572. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2573. ac_cv_prog_BZR="yes"
  2574. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2575. break 2
  2576. fi
  2577. done
  2578. done
  2579. IFS=$as_save_IFS
  2580.  
  2581. fi
  2582. fi
  2583. BZR=$ac_cv_prog_BZR
  2584. if test -n "$BZR"; then
  2585. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BZR" >&5
  2586. $as_echo "$BZR" >&6; }
  2587. else
  2588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2589. $as_echo "no" >&6; }
  2590. fi
  2591.  
  2592.  
  2593. if test -n "$BZR"; then :
  2594. bzr="(Bazaar)"
  2595. fi
  2596. if test -n "$CVS" || test -n "$SVN" || test -n "$BZR"; then :
  2597. have_vcs=yes
  2598. else
  2599. have_vcs=no
  2600. fi
  2601.  
  2602. # Extract the first word of "xmllint", so it can be a program name with args.
  2603. set dummy xmllint; ac_word=$2
  2604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2605. $as_echo_n "checking for $ac_word... " >&6; }
  2606. if ${ac_cv_prog_have_xmllint+:} false; then :
  2607. $as_echo_n "(cached) " >&6
  2608. else
  2609. if test -n "$have_xmllint"; then
  2610. ac_cv_prog_have_xmllint="$have_xmllint" # Let the user override the test.
  2611. else
  2612. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2613. for as_dir in $PATH
  2614. do
  2615. IFS=$as_save_IFS
  2616. test -z "$as_dir" && as_dir=.
  2617. for ac_exec_ext in '' $ac_executable_extensions; do
  2618. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2619. ac_cv_prog_have_xmllint="yes"
  2620. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2621. break 2
  2622. fi
  2623. done
  2624. done
  2625. IFS=$as_save_IFS
  2626.  
  2627. test -z "$ac_cv_prog_have_xmllint" && ac_cv_prog_have_xmllint="no"
  2628. fi
  2629. fi
  2630. have_xmllint=$ac_cv_prog_have_xmllint
  2631. if test -n "$have_xmllint"; then
  2632. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xmllint" >&5
  2633. $as_echo "$have_xmllint" >&6; }
  2634. else
  2635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2636. $as_echo "no" >&6; }
  2637. fi
  2638.  
  2639.  
  2640. if test "$have_xmllint" = yes; then
  2641. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if XHTML DTDs are installed" >&5
  2642. $as_echo_n "checking if XHTML DTDs are installed... " >&6; }
  2643. have_dtds=no
  2644. cat > conftest.dtd <<'EOF'
  2645. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2646. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2647. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  2648. <head>
  2649. <title>Foo</title>
  2650. </head>
  2651. <body>
  2652. <p>Bar.</p>
  2653. </body>
  2654. </html>
  2655. EOF
  2656. if xmllint --valid --nonet --noout conftest.dtd 2> /dev/null ; then
  2657. have_dtds=yes;
  2658. fi
  2659. if test "$have_dtds" = no; then
  2660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dtds (will use our copy)" >&5
  2661. $as_echo "$have_dtds (will use our copy)" >&6; }
  2662. else
  2663. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dtds" >&5
  2664. $as_echo "$have_dtds" >&6; }
  2665. fi
  2666. fi
  2667.  
  2668. AM_CONDITIONAL(HAVE_XMLLINT, test "$have_xmllint" = yes)
  2669. AM_CONDITIONAL(NO_DTD, test "$have_dtds" = no)
  2670.  
  2671. ac_config_files="$ac_config_files Makefile doc/Makefile dtd/Makefile config.mk"
  2672.  
  2673. if test -n "$GUILE"; then :
  2674. ac_config_files="$ac_config_files make-prototype"
  2675.  
  2676. fi
  2677. if test "$decent_msgattrib" = yes; then :
  2678. ac_config_files="$ac_config_files gnun-clear-previous"
  2679.  
  2680. fi
  2681. cat >confcache <<\_ACEOF
  2682. # This file is a shell script that caches the results of configure
  2683. # tests run on this system so they can be shared between configure
  2684. # scripts and configure runs, see configure's option --config-cache.
  2685. # It is not useful on other systems. If it contains results you don't
  2686. # want to keep, you may remove or edit it.
  2687. #
  2688. # config.status only pays attention to the cache file if you give it
  2689. # the --recheck option to rerun configure.
  2690. #
  2691. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  2692. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  2693. # following values.
  2694.  
  2695. _ACEOF
  2696.  
  2697. # The following way of writing the cache mishandles newlines in values,
  2698. # but we know of no workaround that is simple, portable, and efficient.
  2699. # So, we kill variables containing newlines.
  2700. # Ultrix sh set writes to stderr and can't be redirected directly,
  2701. # and sets the high bit in the cache file unless we assign to the vars.
  2702. (
  2703. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  2704. eval ac_val=\$$ac_var
  2705. case $ac_val in #(
  2706. *${as_nl}*)
  2707. case $ac_var in #(
  2708. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2709. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2710. esac
  2711. case $ac_var in #(
  2712. _ | IFS | as_nl) ;; #(
  2713. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2714. *) { eval $ac_var=; unset $ac_var;} ;;
  2715. esac ;;
  2716. esac
  2717. done
  2718.  
  2719. (set) 2>&1 |
  2720. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  2721. *${as_nl}ac_space=\ *)
  2722. # `set' does not quote correctly, so add quotes: double-quote
  2723. # substitution turns \\\\ into \\, and sed turns \\ into \.
  2724. sed -n \
  2725. "s/'/'\\\\''/g;
  2726. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  2727. ;; #(
  2728. *)
  2729. # `set' quotes correctly as required by POSIX, so do not add quotes.
  2730. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2731. ;;
  2732. esac |
  2733. sort
  2734. ) |
  2735. sed '
  2736. /^ac_cv_env_/b end
  2737. t clear
  2738. :clear
  2739. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  2740. t end
  2741. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  2742. :end' >>confcache
  2743. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  2744. if test -w "$cache_file"; then
  2745. if test "x$cache_file" != "x/dev/null"; then
  2746. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  2747. $as_echo "$as_me: updating cache $cache_file" >&6;}
  2748. if test ! -f "$cache_file" || test -h "$cache_file"; then
  2749. cat confcache >"$cache_file"
  2750. else
  2751. case $cache_file in #(
  2752. */* | ?:*)
  2753. mv -f confcache "$cache_file"$$ &&
  2754. mv -f "$cache_file"$$ "$cache_file" ;; #(
  2755. *)
  2756. mv -f confcache "$cache_file" ;;
  2757. esac
  2758. fi
  2759. fi
  2760. else
  2761. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  2762. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  2763. fi
  2764. fi
  2765. rm -f confcache
  2766.  
  2767. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2768. # Let make expand exec_prefix.
  2769. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2770.  
  2771. # Transform confdefs.h into DEFS.
  2772. # Protect against shell expansion while executing Makefile rules.
  2773. # Protect against Makefile macro expansion.
  2774. #
  2775. # If the first sed substitution is executed (which looks for macros that
  2776. # take arguments), then branch to the quote section. Otherwise,
  2777. # look for a macro that doesn't take arguments.
  2778. ac_script='
  2779. :mline
  2780. /\\$/{
  2781. N
  2782. s,\\\n,,
  2783. b mline
  2784. }
  2785. t clear
  2786. :clear
  2787. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  2788. t quote
  2789. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  2790. t quote
  2791. b any
  2792. :quote
  2793. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  2794. s/\[/\\&/g
  2795. s/\]/\\&/g
  2796. s/\$/$$/g
  2797. H
  2798. :any
  2799. ${
  2800. g
  2801. s/^\n//
  2802. s/\n/ /g
  2803. p
  2804. }
  2805. '
  2806. DEFS=`sed -n "$ac_script" confdefs.h`
  2807.  
  2808.  
  2809. ac_libobjs=
  2810. ac_ltlibobjs=
  2811. U=
  2812. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  2813. # 1. Remove the extension, and $U if already installed.
  2814. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  2815. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  2816. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  2817. # will be set to the directory where LIBOBJS objects are built.
  2818. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  2819. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  2820. done
  2821. LIBOBJS=$ac_libobjs
  2822.  
  2823. LTLIBOBJS=$ac_ltlibobjs
  2824.  
  2825.  
  2826.  
  2827. : "${CONFIG_STATUS=./config.status}"
  2828. ac_write_fail=0
  2829. ac_clean_files_save=$ac_clean_files
  2830. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  2831. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  2832. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  2833. as_write_fail=0
  2834. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  2835. #! $SHELL
  2836. # Generated by $as_me.
  2837. # Run this file to recreate the current configuration.
  2838. # Compiler output produced by configure, useful for debugging
  2839. # configure, is in config.log if it exists.
  2840.  
  2841. debug=false
  2842. ac_cs_recheck=false
  2843. ac_cs_silent=false
  2844.  
  2845. SHELL=\${CONFIG_SHELL-$SHELL}
  2846. export SHELL
  2847. _ASEOF
  2848. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  2849. ## -------------------- ##
  2850. ## M4sh Initialization. ##
  2851. ## -------------------- ##
  2852.  
  2853. # Be more Bourne compatible
  2854. DUALCASE=1; export DUALCASE # for MKS sh
  2855. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  2856. emulate sh
  2857. NULLCMD=:
  2858. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  2859. # is contrary to our usage. Disable this feature.
  2860. alias -g '${1+"$@"}'='"$@"'
  2861. setopt NO_GLOB_SUBST
  2862. else
  2863. case `(set -o) 2>/dev/null` in #(
  2864. *posix*) :
  2865. set -o posix ;; #(
  2866. *) :
  2867. ;;
  2868. esac
  2869. fi
  2870.  
  2871.  
  2872. as_nl='
  2873. '
  2874. export as_nl
  2875. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  2876. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  2877. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  2878. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  2879. # Prefer a ksh shell builtin over an external printf program on Solaris,
  2880. # but without wasting forks for bash or zsh.
  2881. if test -z "$BASH_VERSION$ZSH_VERSION" \
  2882. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  2883. as_echo='print -r --'
  2884. as_echo_n='print -rn --'
  2885. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  2886. as_echo='printf %s\n'
  2887. as_echo_n='printf %s'
  2888. else
  2889. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  2890. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  2891. as_echo_n='/usr/ucb/echo -n'
  2892. else
  2893. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  2894. as_echo_n_body='eval
  2895. arg=$1;
  2896. case $arg in #(
  2897. *"$as_nl"*)
  2898. expr "X$arg" : "X\\(.*\\)$as_nl";
  2899. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  2900. esac;
  2901. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  2902. '
  2903. export as_echo_n_body
  2904. as_echo_n='sh -c $as_echo_n_body as_echo'
  2905. fi
  2906. export as_echo_body
  2907. as_echo='sh -c $as_echo_body as_echo'
  2908. fi
  2909.  
  2910. # The user is always right.
  2911. if test "${PATH_SEPARATOR+set}" != set; then
  2912. PATH_SEPARATOR=:
  2913. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  2914. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  2915. PATH_SEPARATOR=';'
  2916. }
  2917. fi
  2918.  
  2919.  
  2920. # IFS
  2921. # We need space, tab and new line, in precisely that order. Quoting is
  2922. # there to prevent editors from complaining about space-tab.
  2923. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  2924. # splitting by setting IFS to empty value.)
  2925. IFS=" "" $as_nl"
  2926.  
  2927. # Find who we are. Look in the path if we contain no directory separator.
  2928. as_myself=
  2929. case $0 in #((
  2930. *[\\/]* ) as_myself=$0 ;;
  2931. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2932. for as_dir in $PATH
  2933. do
  2934. IFS=$as_save_IFS
  2935. test -z "$as_dir" && as_dir=.
  2936. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  2937. done
  2938. IFS=$as_save_IFS
  2939.  
  2940. ;;
  2941. esac
  2942. # We did not find ourselves, most probably we were run as `sh COMMAND'
  2943. # in which case we are not to be found in the path.
  2944. if test "x$as_myself" = x; then
  2945. as_myself=$0
  2946. fi
  2947. if test ! -f "$as_myself"; then
  2948. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  2949. exit 1
  2950. fi
  2951.  
  2952. # Unset variables that we do not need and which cause bugs (e.g. in
  2953. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  2954. # suppresses any "Segmentation fault" message there. '((' could
  2955. # trigger a bug in pdksh 5.2.14.
  2956. for as_var in BASH_ENV ENV MAIL MAILPATH
  2957. do eval test x\${$as_var+set} = xset \
  2958. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  2959. done
  2960. PS1='$ '
  2961. PS2='> '
  2962. PS4='+ '
  2963.  
  2964. # NLS nuisances.
  2965. LC_ALL=C
  2966. export LC_ALL
  2967. LANGUAGE=C
  2968. export LANGUAGE
  2969.  
  2970. # CDPATH.
  2971. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  2972.  
  2973.  
  2974. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  2975. # ----------------------------------------
  2976. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  2977. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  2978. # script with STATUS, using 1 if that was 0.
  2979. as_fn_error ()
  2980. {
  2981. as_status=$1; test $as_status -eq 0 && as_status=1
  2982. if test "$4"; then
  2983. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2984. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  2985. fi
  2986. $as_echo "$as_me: error: $2" >&2
  2987. as_fn_exit $as_status
  2988. } # as_fn_error
  2989.  
  2990.  
  2991. # as_fn_set_status STATUS
  2992. # -----------------------
  2993. # Set $? to STATUS, without forking.
  2994. as_fn_set_status ()
  2995. {
  2996. return $1
  2997. } # as_fn_set_status
  2998.  
  2999. # as_fn_exit STATUS
  3000. # -----------------
  3001. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  3002. as_fn_exit ()
  3003. {
  3004. set +e
  3005. as_fn_set_status $1
  3006. exit $1
  3007. } # as_fn_exit
  3008.  
  3009. # as_fn_unset VAR
  3010. # ---------------
  3011. # Portably unset VAR.
  3012. as_fn_unset ()
  3013. {
  3014. { eval $1=; unset $1;}
  3015. }
  3016. as_unset=as_fn_unset
  3017. # as_fn_append VAR VALUE
  3018. # ----------------------
  3019. # Append the text in VALUE to the end of the definition contained in VAR. Take
  3020. # advantage of any shell optimizations that allow amortized linear growth over
  3021. # repeated appends, instead of the typical quadratic growth present in naive
  3022. # implementations.
  3023. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  3024. eval 'as_fn_append ()
  3025. {
  3026. eval $1+=\$2
  3027. }'
  3028. else
  3029. as_fn_append ()
  3030. {
  3031. eval $1=\$$1\$2
  3032. }
  3033. fi # as_fn_append
  3034.  
  3035. # as_fn_arith ARG...
  3036. # ------------------
  3037. # Perform arithmetic evaluation on the ARGs, and store the result in the
  3038. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  3039. # must be portable across $(()) and expr.
  3040. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  3041. eval 'as_fn_arith ()
  3042. {
  3043. as_val=$(( $* ))
  3044. }'
  3045. else
  3046. as_fn_arith ()
  3047. {
  3048. as_val=`expr "$@" || test $? -eq 1`
  3049. }
  3050. fi # as_fn_arith
  3051.  
  3052.  
  3053. if expr a : '\(a\)' >/dev/null 2>&1 &&
  3054. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  3055. as_expr=expr
  3056. else
  3057. as_expr=false
  3058. fi
  3059.  
  3060. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  3061. as_basename=basename
  3062. else
  3063. as_basename=false
  3064. fi
  3065.  
  3066. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  3067. as_dirname=dirname
  3068. else
  3069. as_dirname=false
  3070. fi
  3071.  
  3072. as_me=`$as_basename -- "$0" ||
  3073. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3074. X"$0" : 'X\(//\)$' \| \
  3075. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  3076. $as_echo X/"$0" |
  3077. sed '/^.*\/\([^/][^/]*\)\/*$/{
  3078. s//\1/
  3079. q
  3080. }
  3081. /^X\/\(\/\/\)$/{
  3082. s//\1/
  3083. q
  3084. }
  3085. /^X\/\(\/\).*/{
  3086. s//\1/
  3087. q
  3088. }
  3089. s/.*/./; q'`
  3090.  
  3091. # Avoid depending upon Character Ranges.
  3092. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3093. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3094. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3095. as_cr_digits='0123456789'
  3096. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3097.  
  3098. ECHO_C= ECHO_N= ECHO_T=
  3099. case `echo -n x` in #(((((
  3100. -n*)
  3101. case `echo 'xy\c'` in
  3102. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  3103. xy) ECHO_C='\c';;
  3104. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  3105. ECHO_T=' ';;
  3106. esac;;
  3107. *)
  3108. ECHO_N='-n';;
  3109. esac
  3110.  
  3111. rm -f conf$$ conf$$.exe conf$$.file
  3112. if test -d conf$$.dir; then
  3113. rm -f conf$$.dir/conf$$.file
  3114. else
  3115. rm -f conf$$.dir
  3116. mkdir conf$$.dir 2>/dev/null
  3117. fi
  3118. if (echo >conf$$.file) 2>/dev/null; then
  3119. if ln -s conf$$.file conf$$ 2>/dev/null; then
  3120. as_ln_s='ln -s'
  3121. # ... but there are two gotchas:
  3122. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  3123. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  3124. # In both cases, we have to default to `cp -p'.
  3125. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  3126. as_ln_s='cp -p'
  3127. elif ln conf$$.file conf$$ 2>/dev/null; then
  3128. as_ln_s=ln
  3129. else
  3130. as_ln_s='cp -p'
  3131. fi
  3132. else
  3133. as_ln_s='cp -p'
  3134. fi
  3135. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  3136. rmdir conf$$.dir 2>/dev/null
  3137.  
  3138.  
  3139. # as_fn_mkdir_p
  3140. # -------------
  3141. # Create "$as_dir" as a directory, including parents if necessary.
  3142. as_fn_mkdir_p ()
  3143. {
  3144.  
  3145. case $as_dir in #(
  3146. -*) as_dir=./$as_dir;;
  3147. esac
  3148. test -d "$as_dir" || eval $as_mkdir_p || {
  3149. as_dirs=
  3150. while :; do
  3151. case $as_dir in #(
  3152. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  3153. *) as_qdir=$as_dir;;
  3154. esac
  3155. as_dirs="'$as_qdir' $as_dirs"
  3156. as_dir=`$as_dirname -- "$as_dir" ||
  3157. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3158. X"$as_dir" : 'X\(//\)[^/]' \| \
  3159. X"$as_dir" : 'X\(//\)$' \| \
  3160. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  3161. $as_echo X"$as_dir" |
  3162. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3163. s//\1/
  3164. q
  3165. }
  3166. /^X\(\/\/\)[^/].*/{
  3167. s//\1/
  3168. q
  3169. }
  3170. /^X\(\/\/\)$/{
  3171. s//\1/
  3172. q
  3173. }
  3174. /^X\(\/\).*/{
  3175. s//\1/
  3176. q
  3177. }
  3178. s/.*/./; q'`
  3179. test -d "$as_dir" && break
  3180. done
  3181. test -z "$as_dirs" || eval "mkdir $as_dirs"
  3182. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  3183.  
  3184.  
  3185. } # as_fn_mkdir_p
  3186. if mkdir -p . 2>/dev/null; then
  3187. as_mkdir_p='mkdir -p "$as_dir"'
  3188. else
  3189. test -d ./-p && rmdir ./-p
  3190. as_mkdir_p=false
  3191. fi
  3192.  
  3193. if test -x / >/dev/null 2>&1; then
  3194. as_test_x='test -x'
  3195. else
  3196. if ls -dL / >/dev/null 2>&1; then
  3197. as_ls_L_option=L
  3198. else
  3199. as_ls_L_option=
  3200. fi
  3201. as_test_x='
  3202. eval sh -c '\''
  3203. if test -d "$1"; then
  3204. test -d "$1/.";
  3205. else
  3206. case $1 in #(
  3207. -*)set "./$1";;
  3208. esac;
  3209. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  3210. ???[sx]*):;;*)false;;esac;fi
  3211. '\'' sh
  3212. '
  3213. fi
  3214. as_executable_p=$as_test_x
  3215.  
  3216. # Sed expression to map a string onto a valid CPP name.
  3217. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  3218.  
  3219. # Sed expression to map a string onto a valid variable name.
  3220. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  3221.  
  3222.  
  3223. exec 6>&1
  3224. ## ----------------------------------- ##
  3225. ## Main body of $CONFIG_STATUS script. ##
  3226. ## ----------------------------------- ##
  3227. _ASEOF
  3228. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  3229.  
  3230. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3231. # Save the log message, to keep $0 and so on meaningful, and to
  3232. # report actual input values of CONFIG_FILES etc. instead of their
  3233. # values after options handling.
  3234. ac_log="
  3235. This file was extended by GNUnited Nations $as_me 0.5, which was
  3236. generated by GNU Autoconf 2.68. Invocation command line was
  3237.  
  3238. CONFIG_FILES = $CONFIG_FILES
  3239. CONFIG_HEADERS = $CONFIG_HEADERS
  3240. CONFIG_LINKS = $CONFIG_LINKS
  3241. CONFIG_COMMANDS = $CONFIG_COMMANDS
  3242. $ $0 $@
  3243.  
  3244. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  3245. "
  3246.  
  3247. _ACEOF
  3248.  
  3249. case $ac_config_files in *"
  3250. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  3251. esac
  3252.  
  3253.  
  3254.  
  3255. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3256. # Files that config.status was made for.
  3257. config_files="$ac_config_files"
  3258.  
  3259. _ACEOF
  3260.  
  3261. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3262. ac_cs_usage="\
  3263. \`$as_me' instantiates files and other configuration actions
  3264. from templates according to the current configuration. Unless the files
  3265. and actions are specified as TAGs, all are instantiated by default.
  3266.  
  3267. Usage: $0 [OPTION]... [TAG]...
  3268.  
  3269. -h, --help print this help, then exit
  3270. -V, --version print version number and configuration settings, then exit
  3271. --config print configuration, then exit
  3272. -q, --quiet, --silent
  3273. do not print progress messages
  3274. -d, --debug don't remove temporary files
  3275. --recheck update $as_me by reconfiguring in the same conditions
  3276. --file=FILE[:TEMPLATE]
  3277. instantiate the configuration file FILE
  3278.  
  3279. Configuration files:
  3280. $config_files
  3281.  
  3282. Report bugs to <bug-gnun@gnu.org>.
  3283. GNUnited Nations home page: <http://www.gnu.org/software/gnun/>."
  3284.  
  3285. _ACEOF
  3286. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3287. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  3288. ac_cs_version="\\
  3289. GNUnited Nations config.status 0.5
  3290. configured by $0, generated by GNU Autoconf 2.68,
  3291. with options \\"\$ac_cs_config\\"
  3292.  
  3293. Copyright (C) 2010 Free Software Foundation, Inc.
  3294. This config.status script is free software; the Free Software Foundation
  3295. gives unlimited permission to copy, distribute and modify it."
  3296.  
  3297. ac_pwd='$ac_pwd'
  3298. srcdir='$srcdir'
  3299. test -n "\$AWK" || AWK=awk
  3300. _ACEOF
  3301.  
  3302. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3303. # The default lists apply if the user does not specify any file.
  3304. ac_need_defaults=:
  3305. while test $# != 0
  3306. do
  3307. case $1 in
  3308. --*=?*)
  3309. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3310. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  3311. ac_shift=:
  3312. ;;
  3313. --*=)
  3314. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3315. ac_optarg=
  3316. ac_shift=:
  3317. ;;
  3318. *)
  3319. ac_option=$1
  3320. ac_optarg=$2
  3321. ac_shift=shift
  3322. ;;
  3323. esac
  3324.  
  3325. case $ac_option in
  3326. # Handling of the options.
  3327. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3328. ac_cs_recheck=: ;;
  3329. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  3330. $as_echo "$ac_cs_version"; exit ;;
  3331. --config | --confi | --conf | --con | --co | --c )
  3332. $as_echo "$ac_cs_config"; exit ;;
  3333. --debug | --debu | --deb | --de | --d | -d )
  3334. debug=: ;;
  3335. --file | --fil | --fi | --f )
  3336. $ac_shift
  3337. case $ac_optarg in
  3338. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3339. '') as_fn_error $? "missing file argument" ;;
  3340. esac
  3341. as_fn_append CONFIG_FILES " '$ac_optarg'"
  3342. ac_need_defaults=false;;
  3343. --he | --h | --help | --hel | -h )
  3344. $as_echo "$ac_cs_usage"; exit ;;
  3345. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3346. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  3347. ac_cs_silent=: ;;
  3348.  
  3349. # This is an error.
  3350. -*) as_fn_error $? "unrecognized option: \`$1'
  3351. Try \`$0 --help' for more information." ;;
  3352.  
  3353. *) as_fn_append ac_config_targets " $1"
  3354. ac_need_defaults=false ;;
  3355.  
  3356. esac
  3357. shift
  3358. done
  3359.  
  3360. ac_configure_extra_args=
  3361.  
  3362. if $ac_cs_silent; then
  3363. exec 6>/dev/null
  3364. ac_configure_extra_args="$ac_configure_extra_args --silent"
  3365. fi
  3366.  
  3367. _ACEOF
  3368. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3369. if \$ac_cs_recheck; then
  3370. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  3371. shift
  3372. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  3373. CONFIG_SHELL='$SHELL'
  3374. export CONFIG_SHELL
  3375. exec "\$@"
  3376. fi
  3377.  
  3378. _ACEOF
  3379. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3380. exec 5>>config.log
  3381. {
  3382. echo
  3383. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  3384. ## Running $as_me. ##
  3385. _ASBOX
  3386. $as_echo "$ac_log"
  3387. } >&5
  3388.  
  3389. _ACEOF
  3390. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3391. _ACEOF
  3392.  
  3393. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3394.  
  3395. # Handling of arguments.
  3396. for ac_config_target in $ac_config_targets
  3397. do
  3398. case $ac_config_target in
  3399. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  3400. "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  3401. "dtd/Makefile") CONFIG_FILES="$CONFIG_FILES dtd/Makefile" ;;
  3402. "config.mk") CONFIG_FILES="$CONFIG_FILES config.mk" ;;
  3403. "make-prototype") CONFIG_FILES="$CONFIG_FILES make-prototype" ;;
  3404. "gnun-clear-previous") CONFIG_FILES="$CONFIG_FILES gnun-clear-previous" ;;
  3405.  
  3406. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  3407. esac
  3408. done
  3409.  
  3410.  
  3411. # If the user did not use the arguments to specify the items to instantiate,
  3412. # then the envvar interface is used. Set only those that are not.
  3413. # We use the long form for the default assignment because of an extremely
  3414. # bizarre bug on SunOS 4.1.3.
  3415. if $ac_need_defaults; then
  3416. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  3417. fi
  3418.  
  3419. # Have a temporary directory for convenience. Make it in the build tree
  3420. # simply because there is no reason against having it here, and in addition,
  3421. # creating and moving files from /tmp can sometimes cause problems.
  3422. # Hook for its removal unless debugging.
  3423. # Note that there is a small window in which the directory will not be cleaned:
  3424. # after its creation but before its name has been assigned to `$tmp'.
  3425. $debug ||
  3426. {
  3427. tmp= ac_tmp=
  3428. trap 'exit_status=$?
  3429. : "${ac_tmp:=$tmp}"
  3430. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  3431. ' 0
  3432. trap 'as_fn_exit 1' 1 2 13 15
  3433. }
  3434. # Create a (secure) tmp directory for tmp files.
  3435.  
  3436. {
  3437. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  3438. test -d "$tmp"
  3439. } ||
  3440. {
  3441. tmp=./conf$$-$RANDOM
  3442. (umask 077 && mkdir "$tmp")
  3443. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  3444. ac_tmp=$tmp
  3445.  
  3446. # Set up the scripts for CONFIG_FILES section.
  3447. # No need to generate them if there are no CONFIG_FILES.
  3448. # This happens for instance with `./config.status config.h'.
  3449. if test -n "$CONFIG_FILES"; then
  3450.  
  3451.  
  3452. ac_cr=`echo X | tr X '\015'`
  3453. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  3454. # But we know of no other shell where ac_cr would be empty at this
  3455. # point, so we can use a bashism as a fallback.
  3456. if test "x$ac_cr" = x; then
  3457. eval ac_cr=\$\'\\r\'
  3458. fi
  3459. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  3460. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  3461. ac_cs_awk_cr='\\r'
  3462. else
  3463. ac_cs_awk_cr=$ac_cr
  3464. fi
  3465.  
  3466. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  3467. _ACEOF
  3468.  
  3469.  
  3470. {
  3471. echo "cat >conf$$subs.awk <<_ACEOF" &&
  3472. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  3473. echo "_ACEOF"
  3474. } >conf$$subs.sh ||
  3475. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3476. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  3477. ac_delim='%!_!# '
  3478. for ac_last_try in false false false false false :; do
  3479. . ./conf$$subs.sh ||
  3480. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3481.  
  3482. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  3483. if test $ac_delim_n = $ac_delim_num; then
  3484. break
  3485. elif $ac_last_try; then
  3486. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3487. else
  3488. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  3489. fi
  3490. done
  3491. rm -f conf$$subs.sh
  3492.  
  3493. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3494. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  3495. _ACEOF
  3496. sed -n '
  3497. h
  3498. s/^/S["/; s/!.*/"]=/
  3499. p
  3500. g
  3501. s/^[^!]*!//
  3502. :repl
  3503. t repl
  3504. s/'"$ac_delim"'$//
  3505. t delim
  3506. :nl
  3507. h
  3508. s/\(.\{148\}\)..*/\1/
  3509. t more1
  3510. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  3511. p
  3512. n
  3513. b repl
  3514. :more1
  3515. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  3516. p
  3517. g
  3518. s/.\{148\}//
  3519. t nl
  3520. :delim
  3521. h
  3522. s/\(.\{148\}\)..*/\1/
  3523. t more2
  3524. s/["\\]/\\&/g; s/^/"/; s/$/"/
  3525. p
  3526. b
  3527. :more2
  3528. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  3529. p
  3530. g
  3531. s/.\{148\}//
  3532. t delim
  3533. ' <conf$$subs.awk | sed '
  3534. /^[^""]/{
  3535. N
  3536. s/\n//
  3537. }
  3538. ' >>$CONFIG_STATUS || ac_write_fail=1
  3539. rm -f conf$$subs.awk
  3540. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3541. _ACAWK
  3542. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  3543. for (key in S) S_is_set[key] = 1
  3544. FS = ""
  3545.  
  3546. }
  3547. {
  3548. line = $ 0
  3549. nfields = split(line, field, "@")
  3550. substed = 0
  3551. len = length(field[1])
  3552. for (i = 2; i < nfields; i++) {
  3553. key = field[i]
  3554. keylen = length(key)
  3555. if (S_is_set[key]) {
  3556. value = S[key]
  3557. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  3558. len += length(value) + length(field[++i])
  3559. substed = 1
  3560. } else
  3561. len += 1 + keylen
  3562. }
  3563.  
  3564. print line
  3565. }
  3566.  
  3567. _ACAWK
  3568. _ACEOF
  3569. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3570. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  3571. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  3572. else
  3573. cat
  3574. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  3575. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  3576. _ACEOF
  3577.  
  3578. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  3579. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  3580. # trailing colons and then remove the whole line if VPATH becomes empty
  3581. # (actually we leave an empty line to preserve line numbers).
  3582. if test "x$srcdir" = x.; then
  3583. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  3584. h
  3585. s///
  3586. s/^/:/
  3587. s/[ ]*$/:/
  3588. s/:\$(srcdir):/:/g
  3589. s/:\${srcdir}:/:/g
  3590. s/:@srcdir@:/:/g
  3591. s/^:*//
  3592. s/:*$//
  3593. x
  3594. s/\(=[ ]*\).*/\1/
  3595. G
  3596. s/\n//
  3597. s/^[^=]*=[ ]*$//
  3598. }'
  3599. fi
  3600.  
  3601. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3602. fi # test -n "$CONFIG_FILES"
  3603.  
  3604.  
  3605. eval set X " :F $CONFIG_FILES "
  3606. shift
  3607. for ac_tag
  3608. do
  3609. case $ac_tag in
  3610. :[FHLC]) ac_mode=$ac_tag; continue;;
  3611. esac
  3612. case $ac_mode$ac_tag in
  3613. :[FHL]*:*);;
  3614. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  3615. :[FH]-) ac_tag=-:-;;
  3616. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  3617. esac
  3618. ac_save_IFS=$IFS
  3619. IFS=:
  3620. set x $ac_tag
  3621. IFS=$ac_save_IFS
  3622. shift
  3623. ac_file=$1
  3624. shift
  3625.  
  3626. case $ac_mode in
  3627. :L) ac_source=$1;;
  3628. :[FH])
  3629. ac_file_inputs=
  3630. for ac_f
  3631. do
  3632. case $ac_f in
  3633. -) ac_f="$ac_tmp/stdin";;
  3634. *) # Look for the file first in the build tree, then in the source tree
  3635. # (if the path is not absolute). The absolute path cannot be DOS-style,
  3636. # because $ac_f cannot contain `:'.
  3637. test -f "$ac_f" ||
  3638. case $ac_f in
  3639. [\\/$]*) false;;
  3640. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  3641. esac ||
  3642. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  3643. esac
  3644. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  3645. as_fn_append ac_file_inputs " '$ac_f'"
  3646. done
  3647.  
  3648. # Let's still pretend it is `configure' which instantiates (i.e., don't
  3649. # use $as_me), people would be surprised to read:
  3650. # /* config.h. Generated by config.status. */
  3651. configure_input='Generated from '`
  3652. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  3653. `' by configure.'
  3654. if test x"$ac_file" != x-; then
  3655. configure_input="$ac_file. $configure_input"
  3656. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  3657. $as_echo "$as_me: creating $ac_file" >&6;}
  3658. fi
  3659. # Neutralize special characters interpreted by sed in replacement strings.
  3660. case $configure_input in #(
  3661. *\&* | *\|* | *\\* )
  3662. ac_sed_conf_input=`$as_echo "$configure_input" |
  3663. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  3664. *) ac_sed_conf_input=$configure_input;;
  3665. esac
  3666.  
  3667. case $ac_tag in
  3668. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  3669. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  3670. esac
  3671. ;;
  3672. esac
  3673.  
  3674. ac_dir=`$as_dirname -- "$ac_file" ||
  3675. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3676. X"$ac_file" : 'X\(//\)[^/]' \| \
  3677. X"$ac_file" : 'X\(//\)$' \| \
  3678. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  3679. $as_echo X"$ac_file" |
  3680. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3681. s//\1/
  3682. q
  3683. }
  3684. /^X\(\/\/\)[^/].*/{
  3685. s//\1/
  3686. q
  3687. }
  3688. /^X\(\/\/\)$/{
  3689. s//\1/
  3690. q
  3691. }
  3692. /^X\(\/\).*/{
  3693. s//\1/
  3694. q
  3695. }
  3696. s/.*/./; q'`
  3697. as_dir="$ac_dir"; as_fn_mkdir_p
  3698. ac_builddir=.
  3699.  
  3700. case "$ac_dir" in
  3701. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3702. *)
  3703. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  3704. # A ".." for each directory in $ac_dir_suffix.
  3705. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  3706. case $ac_top_builddir_sub in
  3707. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3708. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  3709. esac ;;
  3710. esac
  3711. ac_abs_top_builddir=$ac_pwd
  3712. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  3713. # for backward compatibility:
  3714. ac_top_builddir=$ac_top_build_prefix
  3715.  
  3716. case $srcdir in
  3717. .) # We are building in place.
  3718. ac_srcdir=.
  3719. ac_top_srcdir=$ac_top_builddir_sub
  3720. ac_abs_top_srcdir=$ac_pwd ;;
  3721. [\\/]* | ?:[\\/]* ) # Absolute name.
  3722. ac_srcdir=$srcdir$ac_dir_suffix;
  3723. ac_top_srcdir=$srcdir
  3724. ac_abs_top_srcdir=$srcdir ;;
  3725. *) # Relative name.
  3726. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  3727. ac_top_srcdir=$ac_top_build_prefix$srcdir
  3728. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  3729. esac
  3730. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  3731.  
  3732.  
  3733. case $ac_mode in
  3734. :F)
  3735. #
  3736. # CONFIG_FILE
  3737. #
  3738.  
  3739. _ACEOF
  3740.  
  3741. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3742. # If the template does not know about datarootdir, expand it.
  3743. # FIXME: This hack should be removed a few years after 2.60.
  3744. ac_datarootdir_hack=; ac_datarootdir_seen=
  3745. ac_sed_dataroot='
  3746. /datarootdir/ {
  3747. p
  3748. q
  3749. }
  3750. /@datadir@/p
  3751. /@docdir@/p
  3752. /@infodir@/p
  3753. /@localedir@/p
  3754. /@mandir@/p'
  3755. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  3756. *datarootdir*) ac_datarootdir_seen=yes;;
  3757. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  3758. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  3759. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  3760. _ACEOF
  3761. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3762. ac_datarootdir_hack='
  3763. s&@datadir@&$datadir&g
  3764. s&@docdir@&$docdir&g
  3765. s&@infodir@&$infodir&g
  3766. s&@localedir@&$localedir&g
  3767. s&@mandir@&$mandir&g
  3768. s&\\\${datarootdir}&$datarootdir&g' ;;
  3769. esac
  3770. _ACEOF
  3771.  
  3772. # Neutralize VPATH when `$srcdir' = `.'.
  3773. # Shell code in configure.ac might set extrasub.
  3774. # FIXME: do we really want to maintain this feature?
  3775. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3776. ac_sed_extra="$ac_vpsub
  3777. $extrasub
  3778. _ACEOF
  3779. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3780. :t
  3781. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  3782. s|@configure_input@|$ac_sed_conf_input|;t t
  3783. s&@top_builddir@&$ac_top_builddir_sub&;t t
  3784. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  3785. s&@srcdir@&$ac_srcdir&;t t
  3786. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  3787. s&@top_srcdir@&$ac_top_srcdir&;t t
  3788. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  3789. s&@builddir@&$ac_builddir&;t t
  3790. s&@abs_builddir@&$ac_abs_builddir&;t t
  3791. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  3792. $ac_datarootdir_hack
  3793. "
  3794. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  3795. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  3796.  
  3797. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  3798. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  3799. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  3800. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  3801. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  3802. which seems to be undefined. Please make sure it is defined" >&5
  3803. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  3804. which seems to be undefined. Please make sure it is defined" >&2;}
  3805.  
  3806. rm -f "$ac_tmp/stdin"
  3807. case $ac_file in
  3808. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  3809. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  3810. esac \
  3811. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  3812. ;;
  3813.  
  3814.  
  3815.  
  3816. esac
  3817.  
  3818.  
  3819. case $ac_file$ac_mode in
  3820. "make-prototype":F) chmod +x make-prototype ;;
  3821. "gnun-clear-previous":F) chmod +x gnun-clear-previous ;;
  3822.  
  3823. esac
  3824. done # for ac_tag
  3825.  
  3826.  
  3827. as_fn_exit 0
  3828. _ACEOF
  3829. ac_clean_files=$ac_clean_files_save
  3830.  
  3831. test $ac_write_fail = 0 ||
  3832. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  3833.  
  3834.  
  3835. # configure is writing to config.log, and then calls config.status.
  3836. # config.status does its own redirection, appending to config.log.
  3837. # Unfortunately, on DOS this fails, as config.log is still kept open
  3838. # by configure, so config.status won't be able to write to it; its
  3839. # output is simply discarded. So we exec the FD to /dev/null,
  3840. # effectively closing config.log, so it can be properly (re)opened and
  3841. # appended to by config.status. When coming back to configure, we
  3842. # need to make the FD available again.
  3843. if test "$no_create" != yes; then
  3844. ac_cs_success=:
  3845. ac_config_status_args=
  3846. test "$silent" = yes &&
  3847. ac_config_status_args="$ac_config_status_args --quiet"
  3848. exec 5>/dev/null
  3849. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  3850. exec 5>>config.log
  3851. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  3852. # would make configure fail if this is the last instruction.
  3853. $ac_cs_success || as_fn_exit 1
  3854. fi
  3855. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  3856. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  3857. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  3858. fi
  3859.  
  3860.  
  3861. cat <<EOF
  3862. ## ------- ##
  3863. ## Results ##
  3864. ## ------- ##
  3865. EOF
  3866. echo "Basic make operations... $decent_make"
  3867. echo "PO files manipulation, make report... $decent_gettext"
  3868. echo "make-prototype... $have_guile"
  3869. echo "gnun-clear-previous... $decent_msgattrib"
  3870. echo "POT/HTML generation... $gnun_cv_recent_po4a"
  3871. echo "HTML validation... $have_xmllint"
  3872. echo "GRACE support... $decent_awk"
  3873. echo "NOTIFY support... $have_mail"
  3874. echo "VCS support... $have_vcs $cvs $svn $bzr"
  3875. echo "Use Multiviews naming conventions... $enable_multiviews"
  3876. echo
  3877. echo "Type \"make\" to build the scripts and \"make install\" to install
  3878. them along with the manuals."
  3879. configure.ac:32: error: possibly undefined macro: AM_INIT_AUTOMAKE
  3880. If this token and others are legitimate, please use m4_pattern_allow.
  3881. See the Autoconf documentation.
  3882. configure.ac:125: error: possibly undefined macro: AM_CONDITIONAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement