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