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