2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU help2man 1.46.1.
5 # Report bugs to <bug-help2man@gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
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 :
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
239 if test "x$CONFIG_SHELL" != x; then :
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.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
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
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."
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."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
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
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
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 :
400 as_val=`expr "$@" || test $? -eq 1`
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.
412 as_status=$1; test $as_status -eq 0 && as_status=1
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
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
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'"
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'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
580 PACKAGE_NAME='GNU help2man'
581 PACKAGE_TARNAME='help2man'
582 PACKAGE_VERSION='1.46.1'
583 PACKAGE_STRING='GNU help2man 1.46.1'
584 PACKAGE_BUGREPORT='bug-help2man@gnu.org'
585 PACKAGE_URL='http://www.gnu.org/software/help2man/'
587 ac_unique_file="help2man.PL"
588 ac_subst_vars='LTLIBOBJS
639 program_transform_name
652 enable_option_checking
655 ac_precious_vars='build_alias
665 # Initialize some variables set by options.
667 ac_init_version=false
668 ac_unrecognized_opts=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
679 program_transform_name=s,x,x,
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
704 infodir='${datarootdir}/info'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
725 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
730 # Accept the important Cygnus configure options, so we can diagnose typos.
732 case $ac_dashdash$ac_option in
736 -bindir | --bindir | --bindi | --bind | --bin | --bi)
738 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
741 -build | --build | --buil | --bui | --bu)
742 ac_prev=build_alias ;;
743 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
744 build_alias=$ac_optarg ;;
746 -cache-file | --cache-file | --cache-fil | --cache-fi \
747 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
748 ac_prev=cache_file ;;
749 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
750 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
751 cache_file=$ac_optarg ;;
754 cache_file=config.cache ;;
756 -datadir | --datadir | --datadi | --datad)
758 -datadir=* | --datadir=* | --datadi=* | --datad=*)
759 datadir=$ac_optarg ;;
761 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
762 | --dataroo | --dataro | --datar)
763 ac_prev=datarootdir ;;
764 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
765 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
766 datarootdir=$ac_optarg ;;
768 -disable-* | --disable-*)
769 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
772 as_fn_error $? "invalid feature name: $ac_useropt"
773 ac_useropt_orig=$ac_useropt
774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
782 eval enable_$ac_useropt=no ;;
784 -docdir | --docdir | --docdi | --doc | --do)
786 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
789 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
791 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
794 -enable-* | --enable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 as_fn_error $? "invalid feature name: $ac_useropt"
799 ac_useropt_orig=$ac_useropt
800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
801 case $ac_user_opts in
805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
806 ac_unrecognized_sep=', ';;
808 eval enable_$ac_useropt=\$ac_optarg ;;
810 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
811 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
812 | --exec | --exe | --ex)
813 ac_prev=exec_prefix ;;
814 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
815 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
816 | --exec=* | --exe=* | --ex=*)
817 exec_prefix=$ac_optarg ;;
819 -gas | --gas | --ga | --g)
820 # Obsolete; use --with-gas.
823 -help | --help | --hel | --he | -h)
825 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
826 ac_init_help=recursive ;;
827 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
828 ac_init_help=short ;;
830 -host | --host | --hos | --ho)
831 ac_prev=host_alias ;;
832 -host=* | --host=* | --hos=* | --ho=*)
833 host_alias=$ac_optarg ;;
835 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
837 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
839 htmldir=$ac_optarg ;;
841 -includedir | --includedir | --includedi | --included | --include \
842 | --includ | --inclu | --incl | --inc)
843 ac_prev=includedir ;;
844 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
845 | --includ=* | --inclu=* | --incl=* | --inc=*)
846 includedir=$ac_optarg ;;
848 -infodir | --infodir | --infodi | --infod | --info | --inf)
850 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
851 infodir=$ac_optarg ;;
853 -libdir | --libdir | --libdi | --libd)
855 -libdir=* | --libdir=* | --libdi=* | --libd=*)
858 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
859 | --libexe | --libex | --libe)
860 ac_prev=libexecdir ;;
861 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
862 | --libexe=* | --libex=* | --libe=*)
863 libexecdir=$ac_optarg ;;
865 -localedir | --localedir | --localedi | --localed | --locale)
867 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
868 localedir=$ac_optarg ;;
870 -localstatedir | --localstatedir | --localstatedi | --localstated \
871 | --localstate | --localstat | --localsta | --localst | --locals)
872 ac_prev=localstatedir ;;
873 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
874 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
875 localstatedir=$ac_optarg ;;
877 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
879 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
883 # Obsolete; use --without-fp.
886 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
887 | --no-cr | --no-c | -n)
890 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
891 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
894 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
895 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
896 | --oldin | --oldi | --old | --ol | --o)
897 ac_prev=oldincludedir ;;
898 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
899 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
900 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
901 oldincludedir=$ac_optarg ;;
903 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
905 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
908 -program-prefix | --program-prefix | --program-prefi | --program-pref \
909 | --program-pre | --program-pr | --program-p)
910 ac_prev=program_prefix ;;
911 -program-prefix=* | --program-prefix=* | --program-prefi=* \
912 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
913 program_prefix=$ac_optarg ;;
915 -program-suffix | --program-suffix | --program-suffi | --program-suff \
916 | --program-suf | --program-su | --program-s)
917 ac_prev=program_suffix ;;
918 -program-suffix=* | --program-suffix=* | --program-suffi=* \
919 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
920 program_suffix=$ac_optarg ;;
922 -program-transform-name | --program-transform-name \
923 | --program-transform-nam | --program-transform-na \
924 | --program-transform-n | --program-transform- \
925 | --program-transform | --program-transfor \
926 | --program-transfo | --program-transf \
927 | --program-trans | --program-tran \
928 | --progr-tra | --program-tr | --program-t)
929 ac_prev=program_transform_name ;;
930 -program-transform-name=* | --program-transform-name=* \
931 | --program-transform-nam=* | --program-transform-na=* \
932 | --program-transform-n=* | --program-transform-=* \
933 | --program-transform=* | --program-transfor=* \
934 | --program-transfo=* | --program-transf=* \
935 | --program-trans=* | --program-tran=* \
936 | --progr-tra=* | --program-tr=* | --program-t=*)
937 program_transform_name=$ac_optarg ;;
939 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
941 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
944 -psdir | --psdir | --psdi | --psd | --ps)
946 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
950 | -silent | --silent | --silen | --sile | --sil)
953 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
955 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
957 sbindir=$ac_optarg ;;
959 -sharedstatedir | --sharedstatedir | --sharedstatedi \
960 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
961 | --sharedst | --shareds | --shared | --share | --shar \
963 ac_prev=sharedstatedir ;;
964 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
965 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
966 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
968 sharedstatedir=$ac_optarg ;;
970 -site | --site | --sit)
972 -site=* | --site=* | --sit=*)
975 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
977 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
980 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
981 | --syscon | --sysco | --sysc | --sys | --sy)
982 ac_prev=sysconfdir ;;
983 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
984 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
985 sysconfdir=$ac_optarg ;;
987 -target | --target | --targe | --targ | --tar | --ta | --t)
988 ac_prev=target_alias ;;
989 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
990 target_alias=$ac_optarg ;;
992 -v | -verbose | --verbose | --verbos | --verbo | --verb)
995 -version | --version | --versio | --versi | --vers | -V)
999 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error $? "invalid package name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1012 eval with_$ac_useropt=\$ac_optarg ;;
1014 -without-* | --without-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 as_fn_error $? "invalid package name: $ac_useropt"
1019 ac_useropt_orig=$ac_useropt
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1028 eval with_$ac_useropt=no ;;
1031 # Obsolete; use --with-x.
1034 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1035 | --x-incl | --x-inc | --x-in | --x-i)
1036 ac_prev=x_includes ;;
1037 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1038 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1039 x_includes=$ac_optarg ;;
1041 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1042 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1043 ac_prev=x_libraries ;;
1044 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1045 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 x_libraries=$ac_optarg ;;
1048 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1049 Try \`$0 --help' for more information"
1053 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1054 # Reject names that are not valid shell variable names.
1055 case $ac_envvar in #(
1056 '' | [0-9]* | *[!_$as_cr_alnum]* )
1057 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1059 eval $ac_envvar=\$ac_optarg
1060 export $ac_envvar ;;
1063 # FIXME: should be removed in autoconf 3.0.
1064 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1065 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1067 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1073 if test -n "$ac_prev"; then
1074 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075 as_fn_error $? "missing argument to $ac_option"
1078 if test -n "$ac_unrecognized_opts"; then
1079 case $enable_option_checking in
1081 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1082 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1086 # Check all directory arguments for consistency.
1087 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1088 datadir sysconfdir sharedstatedir localstatedir includedir \
1089 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1090 libdir localedir mandir
1092 eval ac_val=\$$ac_var
1093 # Remove trailing slashes.
1096 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1097 eval $ac_var=\$ac_val;;
1099 # Be sure to have absolute directory names.
1101 [\\/$]* | ?:[\\/]* ) continue;;
1102 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1104 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1107 # There might be people who depend on the old broken behavior: `$host'
1108 # used to hold the argument of --host etc.
1109 # FIXME: To remove some day.
1112 target=$target_alias
1114 # FIXME: To remove some day.
1115 if test "x$host_alias" != x; then
1116 if test "x$build_alias" = x; then
1117 cross_compiling=maybe
1118 elif test "x$build_alias" != "x$host_alias"; then
1124 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1126 test "$silent" = yes && exec 6>/dev/null
1129 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1130 ac_ls_di=`ls -di .` &&
1131 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1132 as_fn_error $? "working directory cannot be determined"
1133 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1134 as_fn_error $? "pwd does not report name of working directory"
1137 # Find the source files, if location was not specified.
1138 if test -z "$srcdir"; then
1139 ac_srcdir_defaulted=yes
1140 # Try the directory containing this script, then the parent directory.
1141 ac_confdir=`$as_dirname -- "$as_myself" ||
1142 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1143 X"$as_myself" : 'X\(//\)[^/]' \| \
1144 X"$as_myself" : 'X\(//\)$' \| \
1145 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1146 $as_echo X"$as_myself" |
1147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1165 if test ! -r "$srcdir/$ac_unique_file"; then
1169 ac_srcdir_defaulted=no
1171 if test ! -r "$srcdir/$ac_unique_file"; then
1172 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1173 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1175 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1177 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1179 # When building in place, set srcdir=.
1180 if test "$ac_abs_confdir" = "$ac_pwd"; then
1183 # Remove unnecessary trailing slashes from srcdir.
1184 # Double slashes in file names in object file debugging info
1185 # mess up M-x gdb in Emacs.
1187 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1189 for ac_var in $ac_precious_vars; do
1190 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1191 eval ac_env_${ac_var}_value=\$${ac_var}
1192 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1193 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1197 # Report the --help message.
1199 if test "$ac_init_help" = "long"; then
1200 # Omit some internal or obsolete options to make the list less imposing.
1201 # This message is too long to be a string in the A/UX 3.1 sh.
1203 \`configure' configures GNU help2man 1.46.1 to adapt to many kinds of systems.
1205 Usage: $0 [OPTION]... [VAR=VALUE]...
1207 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1208 VAR=VALUE. See below for descriptions of some of the useful variables.
1210 Defaults for the options are specified in brackets.
1213 -h, --help display this help and exit
1214 --help=short display options specific to this package
1215 --help=recursive display the short help of all the included packages
1216 -V, --version display version information and exit
1217 -q, --quiet, --silent do not print \`checking ...' messages
1218 --cache-file=FILE cache test results in FILE [disabled]
1219 -C, --config-cache alias for \`--cache-file=config.cache'
1220 -n, --no-create do not create output files
1221 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1223 Installation directories:
1224 --prefix=PREFIX install architecture-independent files in PREFIX
1225 [$ac_default_prefix]
1226 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1229 By default, \`make install' will install all the files in
1230 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1231 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1232 for instance \`--prefix=\$HOME'.
1234 For better control, use the options below.
1236 Fine tuning of the installation directories:
1237 --bindir=DIR user executables [EPREFIX/bin]
1238 --sbindir=DIR system admin executables [EPREFIX/sbin]
1239 --libexecdir=DIR program executables [EPREFIX/libexec]
1240 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1241 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1242 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1243 --libdir=DIR object code libraries [EPREFIX/lib]
1244 --includedir=DIR C header files [PREFIX/include]
1245 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1246 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1247 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1248 --infodir=DIR info documentation [DATAROOTDIR/info]
1249 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1250 --mandir=DIR man documentation [DATAROOTDIR/man]
1251 --docdir=DIR documentation root [DATAROOTDIR/doc/help2man]
1252 --htmldir=DIR html documentation [DOCDIR]
1253 --dvidir=DIR dvi documentation [DOCDIR]
1254 --pdfdir=DIR pdf documentation [DOCDIR]
1255 --psdir=DIR ps documentation [DOCDIR]
1262 if test -n "$ac_init_help"; then
1263 case $ac_init_help in
1264 short | recursive ) echo "Configuration of GNU help2man 1.46.1:";;
1269 --disable-option-checking ignore unrecognized --enable/--with options
1270 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1271 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1272 --enable-nls enable support for generating localised pages
1274 Some influential environment variables:
1275 CC C compiler command
1276 CFLAGS C compiler flags
1277 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1278 nonstandard directory <lib dir>
1279 LIBS libraries to pass to the linker, e.g. -l<library>
1280 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1281 you have headers in a nonstandard directory <include dir>
1283 Use these variables to override the choices made by `configure' or to help
1284 it to find libraries and programs with nonstandard names/locations.
1286 Report bugs to <bug-help2man@gnu.org>.
1287 GNU help2man home page: <http://www.gnu.org/software/help2man/>.
1288 General help using GNU software: <http://www.gnu.org/gethelp/>.
1293 if test "$ac_init_help" = "recursive"; then
1294 # If there are subdirs, report their specific --help.
1295 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1296 test -d "$ac_dir" ||
1297 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1302 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1305 # A ".." for each directory in $ac_dir_suffix.
1306 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1307 case $ac_top_builddir_sub in
1308 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1312 ac_abs_top_builddir=$ac_pwd
1313 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1314 # for backward compatibility:
1315 ac_top_builddir=$ac_top_build_prefix
1318 .) # We are building in place.
1320 ac_top_srcdir=$ac_top_builddir_sub
1321 ac_abs_top_srcdir=$ac_pwd ;;
1322 [\\/]* | ?:[\\/]* ) # Absolute name.
1323 ac_srcdir=$srcdir$ac_dir_suffix;
1324 ac_top_srcdir=$srcdir
1325 ac_abs_top_srcdir=$srcdir ;;
1327 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1328 ac_top_srcdir=$ac_top_build_prefix$srcdir
1329 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1331 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1333 cd "$ac_dir" || { ac_status=$?; continue; }
1334 # Check for guested configure.
1335 if test -f "$ac_srcdir/configure.gnu"; then
1337 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1338 elif test -f "$ac_srcdir/configure"; then
1340 $SHELL "$ac_srcdir/configure" --help=recursive
1342 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1344 cd "$ac_pwd" || { ac_status=$?; break; }
1348 test -n "$ac_init_help" && exit $ac_status
1349 if $ac_init_version; then
1351 GNU help2man configure 1.46.1
1352 generated by GNU Autoconf 2.69
1354 Copyright (C) 2012 Free Software Foundation, Inc.
1355 This configure script is free software; the Free Software Foundation
1356 gives unlimited permission to copy, distribute and modify it.
1361 ## ------------------------ ##
1362 ## Autoconf initialization. ##
1363 ## ------------------------ ##
1365 # ac_fn_c_try_compile LINENO
1366 # --------------------------
1367 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1368 ac_fn_c_try_compile ()
1370 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1371 rm -f conftest.$ac_objext
1372 if { { ac_try="$ac_compile"
1374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1375 *) ac_try_echo=$ac_try;;
1377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1378 $as_echo "$ac_try_echo"; } >&5
1379 (eval "$ac_compile") 2>conftest.err
1381 if test -s conftest.err; then
1382 grep -v '^ *+' conftest.err >conftest.er1
1383 cat conftest.er1 >&5
1384 mv -f conftest.er1 conftest.err
1386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1387 test $ac_status = 0; } && {
1388 test -z "$ac_c_werror_flag" ||
1389 test ! -s conftest.err
1390 } && test -s conftest.$ac_objext; then :
1393 $as_echo "$as_me: failed program was:" >&5
1394 sed 's/^/| /' conftest.$ac_ext >&5
1398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1399 as_fn_set_status $ac_retval
1401 } # ac_fn_c_try_compile
1403 # ac_fn_c_try_link LINENO
1404 # -----------------------
1405 # Try to link conftest.$ac_ext, and return whether this succeeded.
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext conftest$ac_exeext
1410 if { { ac_try="$ac_link"
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_link") 2>conftest.err
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest$ac_exeext && {
1429 test "$cross_compiling" = yes ||
1430 test -x conftest$ac_exeext
1434 $as_echo "$as_me: failed program was:" >&5
1435 sed 's/^/| /' conftest.$ac_ext >&5
1439 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1440 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1441 # interfere with the next link command; also delete a directory that is
1442 # left behind by Apple's compiler. We do this before executing the actions.
1443 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1444 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1445 as_fn_set_status $ac_retval
1447 } # ac_fn_c_try_link
1448 cat >config.log <<_ACEOF
1449 This file contains any messages produced by compilers while
1450 running configure, to aid debugging if configure makes a mistake.
1452 It was created by GNU help2man $as_me 1.46.1, which was
1453 generated by GNU Autoconf 2.69. Invocation command line was
1465 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1466 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1467 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1468 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1469 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1471 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1472 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1474 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1475 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1476 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1477 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1478 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1479 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1480 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir=.
1489 $as_echo "PATH: $as_dir"
1505 # Keep a trace of the command line.
1506 # Strip out --no-create and --no-recursion so they do not pile up.
1507 # Strip out --silent because we don't want to record it for future runs.
1508 # Also quote any args containing shell meta-characters.
1509 # Make two passes to allow for proper duplicate-argument suppression.
1513 ac_must_keep_next=false
1519 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1521 | -silent | --silent | --silen | --sile | --sil)
1524 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1527 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1529 as_fn_append ac_configure_args1 " '$ac_arg'"
1530 if test $ac_must_keep_next = true; then
1531 ac_must_keep_next=false # Got value, back to normal.
1534 *=* | --config-cache | -C | -disable-* | --disable-* \
1535 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1536 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1537 | -with-* | --with-* | -without-* | --without-* | --x)
1538 case "$ac_configure_args0 " in
1539 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1542 -* ) ac_must_keep_next=true ;;
1545 as_fn_append ac_configure_args " '$ac_arg'"
1550 { ac_configure_args0=; unset ac_configure_args0;}
1551 { ac_configure_args1=; unset ac_configure_args1;}
1553 # When interrupted or exit'd, cleanup temporary files, and complete
1554 # config.log. We remove comments because anyway the quotes in there
1555 # would cause problems or look ugly.
1556 # WARNING: Use '\'' to represent an apostrophe within the trap.
1557 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1558 trap 'exit_status=$?
1559 # Save into config.log some information that might help in debugging.
1563 $as_echo "## ---------------- ##
1564 ## Cache variables. ##
1565 ## ---------------- ##"
1567 # The following way of writing the cache mishandles newlines in values,
1569 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1570 eval ac_val=\$$ac_var
1574 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1575 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1578 _ | IFS | as_nl) ;; #(
1579 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1580 *) { eval $ac_var=; unset $ac_var;} ;;
1585 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1586 *${as_nl}ac_space=\ *)
1588 "s/'\''/'\''\\\\'\'''\''/g;
1589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1599 $as_echo "## ----------------- ##
1600 ## Output variables. ##
1601 ## ----------------- ##"
1603 for ac_var in $ac_subst_vars
1605 eval ac_val=\$$ac_var
1607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1609 $as_echo "$ac_var='\''$ac_val'\''"
1613 if test -n "$ac_subst_files"; then
1614 $as_echo "## ------------------- ##
1615 ## File substitutions. ##
1616 ## ------------------- ##"
1618 for ac_var in $ac_subst_files
1620 eval ac_val=\$$ac_var
1622 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1624 $as_echo "$ac_var='\''$ac_val'\''"
1629 if test -s confdefs.h; then
1630 $as_echo "## ----------- ##
1637 test "$ac_signal" != 0 &&
1638 $as_echo "$as_me: caught signal $ac_signal"
1639 $as_echo "$as_me: exit $exit_status"
1641 rm -f core *.core core.conftest.* &&
1642 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1645 for ac_signal in 1 2 13 15; do
1646 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1650 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1651 rm -f -r conftest* confdefs.h
1653 $as_echo "/* confdefs.h */" > confdefs.h
1655 # Predefined preprocessor variables.
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_NAME "$PACKAGE_NAME"
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_STRING "$PACKAGE_STRING"
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_URL "$PACKAGE_URL"
1682 # Let the site file select an alternate cache file if it wants to.
1683 # Prefer an explicitly selected file to automatically selected ones.
1686 if test -n "$CONFIG_SITE"; then
1687 # We do not want a PATH search for config.site.
1688 case $CONFIG_SITE in #((
1689 -*) ac_site_file1=./$CONFIG_SITE;;
1690 */*) ac_site_file1=$CONFIG_SITE;;
1691 *) ac_site_file1=./$CONFIG_SITE;;
1693 elif test "x$prefix" != xNONE; then
1694 ac_site_file1=$prefix/share/config.site
1695 ac_site_file2=$prefix/etc/config.site
1697 ac_site_file1=$ac_default_prefix/share/config.site
1698 ac_site_file2=$ac_default_prefix/etc/config.site
1700 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1702 test "x$ac_site_file" = xNONE && continue
1703 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1705 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1706 sed 's/^/| /' "$ac_site_file" >&5
1708 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1710 as_fn_error $? "failed to load site script $ac_site_file
1711 See \`config.log' for more details" "$LINENO" 5; }
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special files
1717 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1718 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1720 $as_echo "$as_me: loading cache $cache_file" >&6;}
1722 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1723 *) . "./$cache_file";;
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1728 $as_echo "$as_me: creating cache $cache_file" >&6;}
1732 # Check that the precious variables saved in the cache have kept the same
1734 ac_cache_corrupted=false
1735 for ac_var in $ac_precious_vars; do
1736 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1737 eval ac_new_set=\$ac_env_${ac_var}_set
1738 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1739 eval ac_new_val=\$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1743 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted=: ;;
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1747 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted=: ;;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 # differences in whitespace do not lead to failure.
1753 ac_old_val_w=`echo x $ac_old_val`
1754 ac_new_val_w=`echo x $ac_new_val`
1755 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1757 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1758 ac_cache_corrupted=:
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1761 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1762 eval $ac_var=\$ac_old_val
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1765 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1767 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1770 # Pass precious variables to config.status.
1771 if test "$ac_new_set" = set; then
1773 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1774 *) ac_arg=$ac_var=$ac_new_val ;;
1776 case " $ac_configure_args " in
1777 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1778 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1782 if $ac_cache_corrupted; then
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1786 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1789 ## -------------------- ##
1790 ## Main body of script. ##
1791 ## -------------------- ##
1794 ac_cpp='$CPP $CPPFLAGS'
1795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1803 for ac_dir in build-aux "$srcdir"/build-aux; do
1804 if test -f "$ac_dir/install-sh"; then
1806 ac_install_sh="$ac_aux_dir/install-sh -c"
1808 elif test -f "$ac_dir/install.sh"; then
1810 ac_install_sh="$ac_aux_dir/install.sh -c"
1812 elif test -f "$ac_dir/shtool"; then
1814 ac_install_sh="$ac_aux_dir/shtool install -c"
1818 if test -z "$ac_aux_dir"; then
1819 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1822 # These three variables are undocumented and unsupported,
1823 # and are intended to be withdrawn in a future Autoconf release.
1824 # They can cause serious problems if a builder's source tree is in a directory
1825 # whose full name contains unusual characters.
1826 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1827 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1828 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5
1836 $as_echo_n "checking for perl... " >&6; }
1837 if ${ac_cv_prog_PERL+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 echo "configure:1840: ...version 5.008 required" >&5
1841 # allow user to override
1842 if test -n "$PERL"; then
1848 for ac_prog in $ac_try; do
1849 echo "configure:1849: trying $ac_prog" >&5
1850 if ($ac_prog -e 'printf "found version %g\n",$] ;exit($]<5.008)') 1>&5 2>&1; then
1851 ac_cv_prog_PERL=$ac_prog
1856 PERL="$ac_cv_prog_PERL"
1857 if test -n "$PERL"; then
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
1859 $as_echo "$PERL" >&6; }
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1862 $as_echo "no" >&6; }
1865 test -z "$PERL" && as_fn_error $? "perl 5.8 required" "$LINENO" 5
1867 # check module exists
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module Locale::gettext" >&5
1869 $as_echo_n "checking for module Locale::gettext... " >&6; }
1870 if ${ac_cv_module_Locale__gettext+:} false; then :
1871 $as_echo_n "(cached) " >&6
1873 if ($PERL -mLocale::gettext -e 1) 1>&5 2>&1; then
1874 ac_cv_module_Locale__gettext=yes
1876 ac_cv_module_Locale__gettext=no
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_module_Locale__gettext" >&5
1881 $as_echo "$ac_cv_module_Locale__gettext" >&6; }
1883 # Extract the first word of "msgfmt", so it can be a program name with args.
1884 set dummy msgfmt; ac_word=$2
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1886 $as_echo_n "checking for $ac_word... " >&6; }
1887 if ${ac_cv_path_MSGFMT+:} false; then :
1888 $as_echo_n "(cached) " >&6
1892 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir=.
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
1903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 MSGFMT=$ac_cv_path_MSGFMT
1914 if test -n "$MSGFMT"; then
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
1916 $as_echo "$MSGFMT" >&6; }
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1919 $as_echo "no" >&6; }
1925 ac_cpp='$CPP $CPPFLAGS'
1926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1929 if test -n "$ac_tool_prefix"; then
1930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1933 $as_echo_n "checking for $ac_word... " >&6; }
1934 if ${ac_cv_prog_CC+:} false; then :
1935 $as_echo_n "(cached) " >&6
1937 if test -n "$CC"; then
1938 ac_cv_prog_CC="$CC" # Let the user override the test.
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 if test -n "$CC"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1960 $as_echo "$CC" >&6; }
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1963 $as_echo "no" >&6; }
1968 if test -z "$ac_cv_prog_CC"; then
1970 # Extract the first word of "gcc", so it can be a program name with args.
1971 set dummy gcc; ac_word=$2
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1973 $as_echo_n "checking for $ac_word... " >&6; }
1974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1975 $as_echo_n "(cached) " >&6
1977 if test -n "$ac_ct_CC"; then
1978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 ac_cv_prog_ac_ct_CC="gcc"
1988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1998 if test -n "$ac_ct_CC"; then
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2000 $as_echo "$ac_ct_CC" >&6; }
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2003 $as_echo "no" >&6; }
2006 if test "x$ac_ct_CC" = x; then
2009 case $cross_compiling:$ac_tool_warned in
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2013 ac_tool_warned=yes ;;
2021 if test -z "$CC"; then
2022 if test -n "$ac_tool_prefix"; then
2023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2024 set dummy ${ac_tool_prefix}cc; ac_word=$2
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2026 $as_echo_n "checking for $ac_word... " >&6; }
2027 if ${ac_cv_prog_CC+:} false; then :
2028 $as_echo_n "(cached) " >&6
2030 if test -n "$CC"; then
2031 ac_cv_prog_CC="$CC" # Let the user override the test.
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_CC="${ac_tool_prefix}cc"
2041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$CC"; then
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2053 $as_echo "$CC" >&6; }
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2056 $as_echo "no" >&6; }
2062 if test -z "$CC"; then
2063 # Extract the first word of "cc", so it can be a program name with args.
2064 set dummy cc; ac_word=$2
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2066 $as_echo_n "checking for $ac_word... " >&6; }
2067 if ${ac_cv_prog_CC+:} false; then :
2068 $as_echo_n "(cached) " >&6
2070 if test -n "$CC"; then
2071 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2082 ac_prog_rejected=yes
2086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 if test $ac_prog_rejected = yes; then
2094 # We found a bogon in the path, so make sure we never use it.
2095 set dummy $ac_cv_prog_CC
2097 if test $# != 0; then
2098 # We chose a different compiler from the bogus one.
2099 # However, it has the same basename, so the bogon will be chosen
2100 # first if we set CC to just the basename; use the full file name.
2102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2108 if test -n "$CC"; then
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2110 $as_echo "$CC" >&6; }
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2113 $as_echo "no" >&6; }
2118 if test -z "$CC"; then
2119 if test -n "$ac_tool_prefix"; then
2120 for ac_prog in cl.exe
2122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 $as_echo_n "checking for $ac_word... " >&6; }
2126 if ${ac_cv_prog_CC+:} false; then :
2127 $as_echo_n "(cached) " >&6
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152 $as_echo "$CC" >&6; }
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2159 test -n "$CC" && break
2162 if test -z "$CC"; then
2164 for ac_prog in cl.exe
2166 # Extract the first word of "$ac_prog", so it can be a program name with args.
2167 set dummy $ac_prog; ac_word=$2
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2169 $as_echo_n "checking for $ac_word... " >&6; }
2170 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2171 $as_echo_n "(cached) " >&6
2173 if test -n "$ac_ct_CC"; then
2174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 ac_cv_prog_ac_ct_CC="$ac_prog"
2184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2194 if test -n "$ac_ct_CC"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2196 $as_echo "$ac_ct_CC" >&6; }
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2199 $as_echo "no" >&6; }
2203 test -n "$ac_ct_CC" && break
2206 if test "x$ac_ct_CC" = x; then
2209 case $cross_compiling:$ac_tool_warned in
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2213 ac_tool_warned=yes ;;
2222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2224 as_fn_error $? "no acceptable C compiler found in \$PATH
2225 See \`config.log' for more details" "$LINENO" 5; }
2227 # Provide some information about the compiler.
2228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2231 for ac_option in --version -v -V -qversion; do
2232 { { ac_try="$ac_compiler $ac_option >&5"
2234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2235 *) ac_try_echo=$ac_try;;
2237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2238 $as_echo "$ac_try_echo"; } >&5
2239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2241 if test -s conftest.err; then
2243 ... rest of stderr output deleted ...
2244 10q' conftest.err >conftest.er1
2245 cat conftest.er1 >&5
2247 rm -f conftest.er1 conftest.err
2248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2249 test $ac_status = 0; }
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2263 ac_clean_files_save=$ac_clean_files
2264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2265 # Try to create an executable without -o first, disregard a.out.
2266 # It will help us diagnose broken compilers, and finding out an intuition
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2269 $as_echo_n "checking whether the C compiler works... " >&6; }
2270 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2272 # The possible output files:
2273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2276 for ac_file in $ac_files
2279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2280 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2285 if { { ac_try="$ac_link_default"
2287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2288 *) ac_try_echo=$ac_try;;
2290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2291 $as_echo "$ac_try_echo"; } >&5
2292 (eval "$ac_link_default") 2>&5
2294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2295 test $ac_status = 0; }; then :
2296 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2298 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2299 # so that the user can short-circuit this test for compilers unknown to
2301 for ac_file in $ac_files ''
2303 test -f "$ac_file" || continue
2305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2308 # We found the default executable, but exeext='' is most
2312 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2314 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2316 # We set ac_cv_exeext here because the later test for it is not
2317 # safe: cross compilers may not add the suffix if given an `-o'
2318 # argument, so we may need to know it at that point already.
2319 # Even if this section looks crufty: it has the advantage of
2326 test "$ac_cv_exeext" = no && ac_cv_exeext=
2331 if test -z "$ac_file"; then :
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333 $as_echo "no" >&6; }
2334 $as_echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 as_fn_error 77 "C compiler cannot create executables
2340 See \`config.log' for more details" "$LINENO" 5; }
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2343 $as_echo "yes" >&6; }
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2346 $as_echo_n "checking for C compiler default output file name... " >&6; }
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2348 $as_echo "$ac_file" >&6; }
2349 ac_exeext=$ac_cv_exeext
2351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2352 ac_clean_files=$ac_clean_files_save
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2354 $as_echo_n "checking for suffix of executables... " >&6; }
2355 if { { ac_try="$ac_link"
2357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2358 *) ac_try_echo=$ac_try;;
2360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2361 $as_echo "$ac_try_echo"; } >&5
2362 (eval "$ac_link") 2>&5
2364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2365 test $ac_status = 0; }; then :
2366 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2367 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2368 # work properly (i.e., refer to `conftest.exe'), while it won't with
2370 for ac_file in conftest.exe conftest conftest.*; do
2371 test -f "$ac_file" || continue
2373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2374 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2382 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2383 See \`config.log' for more details" "$LINENO" 5; }
2385 rm -f conftest conftest$ac_cv_exeext
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2387 $as_echo "$ac_cv_exeext" >&6; }
2389 rm -f conftest.$ac_ext
2390 EXEEXT=$ac_cv_exeext
2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2393 /* end confdefs.h. */
2398 FILE *f = fopen ("conftest.out", "w");
2399 return ferror (f) || fclose (f) != 0;
2405 ac_clean_files="$ac_clean_files conftest.out"
2406 # Check that the compiler produces executables we can run. If not, either
2407 # the compiler is broken, or we cross compile.
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2409 $as_echo_n "checking whether we are cross compiling... " >&6; }
2410 if test "$cross_compiling" != yes; then
2411 { { ac_try="$ac_link"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2417 $as_echo "$ac_try_echo"; } >&5
2418 (eval "$ac_link") 2>&5
2420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2421 test $ac_status = 0; }
2422 if { ac_try='./conftest$ac_cv_exeext'
2423 { { case "(($ac_try" in
2424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2425 *) ac_try_echo=$ac_try;;
2427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2428 $as_echo "$ac_try_echo"; } >&5
2429 (eval "$ac_try") 2>&5
2431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2432 test $ac_status = 0; }; }; then
2435 if test "$cross_compiling" = maybe; then
2438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440 as_fn_error $? "cannot run C compiled programs.
2441 If you meant to cross compile, use \`--host'.
2442 See \`config.log' for more details" "$LINENO" 5; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2447 $as_echo "$cross_compiling" >&6; }
2449 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2450 ac_clean_files=$ac_clean_files_save
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2452 $as_echo_n "checking for suffix of object files... " >&6; }
2453 if ${ac_cv_objext+:} false; then :
2454 $as_echo_n "(cached) " >&6
2456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2457 /* end confdefs.h. */
2467 rm -f conftest.o conftest.obj
2468 if { { ac_try="$ac_compile"
2470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471 *) ac_try_echo=$ac_try;;
2473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2474 $as_echo "$ac_try_echo"; } >&5
2475 (eval "$ac_compile") 2>&5
2477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2478 test $ac_status = 0; }; then :
2479 for ac_file in conftest.o conftest.obj conftest.*; do
2480 test -f "$ac_file" || continue;
2482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2483 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2488 $as_echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.$ac_ext >&5
2491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2493 as_fn_error $? "cannot compute suffix of object files: cannot compile
2494 See \`config.log' for more details" "$LINENO" 5; }
2496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2499 $as_echo "$ac_cv_objext" >&6; }
2500 OBJEXT=$ac_cv_objext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2504 if ${ac_cv_c_compiler_gnu+:} false; then :
2505 $as_echo_n "(cached) " >&6
2507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2508 /* end confdefs.h. */
2521 if ac_fn_c_try_compile "$LINENO"; then :
2526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2532 if test $ac_compiler_gnu = yes; then
2537 ac_test_CFLAGS=${CFLAGS+set}
2538 ac_save_CFLAGS=$CFLAGS
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2541 if ${ac_cv_prog_cc_g+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 ac_save_c_werror_flag=$ac_c_werror_flag
2545 ac_c_werror_flag=yes
2548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2559 if ac_fn_c_try_compile "$LINENO"; then :
2563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2564 /* end confdefs.h. */
2574 if ac_fn_c_try_compile "$LINENO"; then :
2577 ac_c_werror_flag=$ac_save_c_werror_flag
2579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580 /* end confdefs.h. */
2590 if ac_fn_c_try_compile "$LINENO"; then :
2593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2598 ac_c_werror_flag=$ac_save_c_werror_flag
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2601 $as_echo "$ac_cv_prog_cc_g" >&6; }
2602 if test "$ac_test_CFLAGS" = set; then
2603 CFLAGS=$ac_save_CFLAGS
2604 elif test $ac_cv_prog_cc_g = yes; then
2605 if test "$GCC" = yes; then
2611 if test "$GCC" = yes; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2619 if ${ac_cv_prog_cc_c89+:} false; then :
2620 $as_echo_n "(cached) " >&6
2622 ac_cv_prog_cc_c89=no
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2630 struct buf { int x; };
2631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2632 static char *e (p, i)
2638 static char *f (char * (*g) (char **, int), char **p, ...)
2643 s = g (p, va_arg (v,int));
2648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2649 function prototypes and stuff, but not '\xHH' hex character constants.
2650 These don't provoke an error unfortunately, instead are silently treated
2651 as 'x'. The following induces an error, until -std is added to get
2652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2653 array size at least. It's necessary to write '\x00'==0 to get something
2654 that's true only with -std. */
2655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2657 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2658 inside strings and character constants. */
2660 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2662 int test (int i, double x);
2663 struct s1 {int (*f) (int a);};
2664 struct s2 {int (*f) (double a);};
2665 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2671 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2677 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2679 CC="$ac_save_CC $ac_arg"
2680 if ac_fn_c_try_compile "$LINENO"; then :
2681 ac_cv_prog_cc_c89=$ac_arg
2683 rm -f core conftest.err conftest.$ac_objext
2684 test "x$ac_cv_prog_cc_c89" != "xno" && break
2686 rm -f conftest.$ac_ext
2691 case "x$ac_cv_prog_cc_c89" in
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2694 $as_echo "none needed" >&6; } ;;
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2697 $as_echo "unsupported" >&6; } ;;
2699 CC="$CC $ac_cv_prog_cc_c89"
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2701 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2703 if test "x$ac_cv_prog_cc_c89" != xno; then :
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
2715 $as_echo_n "checking for library containing dlsym... " >&6; }
2716 if ${ac_cv_search_dlsym+:} false; then :
2717 $as_echo_n "(cached) " >&6
2719 ac_func_search_save_LIBS=$LIBS
2720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2721 /* end confdefs.h. */
2723 /* Override any GCC internal prototype to avoid an error.
2724 Use char because int might match the return type of a GCC
2725 builtin and then its argument prototype would still apply. */
2738 for ac_lib in '' dl; do
2739 if test -z "$ac_lib"; then
2740 ac_res="none required"
2743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2745 if ac_fn_c_try_link "$LINENO"; then :
2746 ac_cv_search_dlsym=$ac_res
2748 rm -f core conftest.err conftest.$ac_objext \
2750 if ${ac_cv_search_dlsym+:} false; then :
2754 if ${ac_cv_search_dlsym+:} false; then :
2757 ac_cv_search_dlsym=no
2760 LIBS=$ac_func_search_save_LIBS
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
2763 $as_echo "$ac_cv_search_dlsym" >&6; }
2764 ac_res=$ac_cv_search_dlsym
2765 if test "$ac_res" != no; then :
2766 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
2771 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
2772 if ${ac_cv_search_bindtextdomain+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 ac_func_search_save_LIBS=$LIBS
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2779 /* Override any GCC internal prototype to avoid an error.
2780 Use char because int might match the return type of a GCC
2781 builtin and then its argument prototype would still apply. */
2785 char bindtextdomain ();
2789 return bindtextdomain ();
2794 for ac_lib in '' intl; do
2795 if test -z "$ac_lib"; then
2796 ac_res="none required"
2799 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2801 if ac_fn_c_try_link "$LINENO"; then :
2802 ac_cv_search_bindtextdomain=$ac_res
2804 rm -f core conftest.err conftest.$ac_objext \
2806 if ${ac_cv_search_bindtextdomain+:} false; then :
2810 if ${ac_cv_search_bindtextdomain+:} false; then :
2813 ac_cv_search_bindtextdomain=no
2816 LIBS=$ac_func_search_save_LIBS
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
2819 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
2820 ac_res=$ac_cv_search_bindtextdomain
2821 if test "$ac_res" != no; then :
2822 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2828 test "x$ac_cv_module_Locale__gettext" = xno && nls_default=no
2829 test -z "$MSGFMT" && nls_default=no
2830 test "x$ac_cv_search_dlsym" = xno && nls_default=no
2831 test "x$ac_cv_search_bindtextdomain" = xno && nls_default=no
2833 # Check whether --enable-nls was given.
2834 if test "${enable_nls+set}" = set; then :
2835 enableval=$enable_nls; ac_cv_enable_nls=$enableval
2837 ac_cv_enable_nls=$nls_default
2843 extra_make_install=''
2845 extra_extract_args=''
2847 if test "$ac_cv_enable_nls" = yes
2849 # note: the following tests should match what is used to set nls_default above
2850 test "x$ac_cv_module_Locale__gettext" = xno &&
2851 as_fn_error $? "perl module Locale::gettext required" "$LINENO" 5
2853 test -z "$MSGFMT" && as_fn_error $? "gettext required" "$LINENO" 5
2855 test "x$ac_cv_search_dlsym" = xno &&
2856 as_fn_error $? "dlsym() required" "$LINENO" 5
2858 test "x$ac_cv_search_bindtextdomain" = xno &&
2859 as_fn_error $? "bindtextdomain() required" "$LINENO" 5
2861 extra_make_all='preload man_l10n info_l10n'
2862 extra_make_install='install_preload install_l10n'
2863 extra_extract_args='--with-gettext'
2866 # Find a good install program. We prefer a C program (faster),
2867 # so one script is as good as another. But avoid the broken or
2868 # incompatible versions:
2869 # SysV /etc/install, /usr/sbin/install
2870 # SunOS /usr/etc/install
2871 # IRIX /sbin/install
2873 # AmigaOS /C/install, which installs bootblocks on floppy discs
2874 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2875 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2876 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2877 # OS/2's system install, which has a completely different semantic
2878 # ./install, which can be erroneously created by make from ./install.sh.
2879 # Reject install programs that cannot install multiple files.
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2881 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2882 if test -z "$INSTALL"; then
2883 if ${ac_cv_path_install+:} false; then :
2884 $as_echo_n "(cached) " >&6
2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 test -z "$as_dir" && as_dir=.
2891 # Account for people who put trailing slashes in PATH elements.
2892 case $as_dir/ in #((
2893 ./ | .// | /[cC]/* | \
2894 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2895 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2898 # OSF1 and SCO ODT 3.0 have their own names for install.
2899 # Don't use installbsd from OSF since it installs stuff as root
2901 for ac_prog in ginstall scoinst install; do
2902 for ac_exec_ext in '' $ac_executable_extensions; do
2903 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2904 if test $ac_prog = install &&
2905 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2906 # AIX install. It has an incompatible calling convention.
2908 elif test $ac_prog = install &&
2909 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2910 # program-specific install script used by HP pwplus--don't use.
2913 rm -rf conftest.one conftest.two conftest.dir
2914 echo one > conftest.one
2915 echo two > conftest.two
2917 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2918 test -s conftest.one && test -s conftest.two &&
2919 test -s conftest.dir/conftest.one &&
2920 test -s conftest.dir/conftest.two
2922 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2935 rm -rf conftest.one conftest.two conftest.dir
2938 if test "${ac_cv_path_install+set}" = set; then
2939 INSTALL=$ac_cv_path_install
2941 # As a last resort, use the slow shell script. Don't cache a
2942 # value for INSTALL within a source directory, because that will
2943 # break other packages using the cache if that directory is
2944 # removed, or if the value is a relative name.
2945 INSTALL=$ac_install_sh
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2949 $as_echo "$INSTALL" >&6; }
2951 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2952 # It thinks the first close brace ends the variable substitution.
2953 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2955 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2957 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2959 # find path or use "missing"
2961 # Extract the first word of "makeinfo", so it can be a program name with args.
2962 set dummy makeinfo; ac_word=$2
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2964 $as_echo_n "checking for $ac_word... " >&6; }
2965 if ${ac_cv_path_MAKEINFO+:} false; then :
2966 $as_echo_n "(cached) " >&6
2970 ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2980 ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="$ac_aux_dir/missing makeinfo"
2992 MAKEINFO=$ac_cv_path_MAKEINFO
2993 if test -n "$MAKEINFO"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
2995 $as_echo "$MAKEINFO" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3003 # find path or use "missing"
3005 # Extract the first word of "install-info", so it can be a program name with args.
3006 set dummy install-info; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_path_INSTALL_INFO+:} false; then :
3010 $as_echo_n "(cached) " >&6
3012 case $INSTALL_INFO in
3014 ac_cv_path_INSTALL_INFO="$INSTALL_INFO" # Let the user override the test with a path.
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3024 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext"
3025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO="$ac_aux_dir/missing install-info"
3036 INSTALL_INFO=$ac_cv_path_INSTALL_INFO
3037 if test -n "$INSTALL_INFO"; then
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL_INFO" >&5
3039 $as_echo "$INSTALL_INFO" >&6; }
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3047 # find path or use "missing"
3049 # Extract the first word of "msgmerge", so it can be a program name with args.
3050 set dummy msgmerge; ac_word=$2
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3052 $as_echo_n "checking for $ac_word... " >&6; }
3053 if ${ac_cv_path_MSGMERGE+:} false; then :
3054 $as_echo_n "(cached) " >&6
3058 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3065 test -z "$as_dir" && as_dir=.
3066 for ac_exec_ext in '' $ac_executable_extensions; do
3067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3068 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="$ac_aux_dir/missing msgmerge"
3080 MSGMERGE=$ac_cv_path_MSGMERGE
3081 if test -n "$MSGMERGE"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3083 $as_echo "$MSGMERGE" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3091 # find path or use "missing"
3093 # Extract the first word of "xgettext", so it can be a program name with args.
3094 set dummy xgettext; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_path_XGETTEXT+:} false; then :
3098 $as_echo_n "(cached) " >&6
3102 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3112 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="$ac_aux_dir/missing xgettext"
3124 XGETTEXT=$ac_cv_path_XGETTEXT
3125 if test -n "$XGETTEXT"; then
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3127 $as_echo "$XGETTEXT" >&6; }
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3135 # find path or use "missing"
3137 # Extract the first word of "po4a-updatepo", so it can be a program name with args.
3138 set dummy po4a-updatepo; ac_word=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_path_PO4A_UPDATEPO+:} false; then :
3142 $as_echo_n "(cached) " >&6
3144 case $PO4A_UPDATEPO in
3146 ac_cv_path_PO4A_UPDATEPO="$PO4A_UPDATEPO" # Let the user override the test with a path.
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir=.
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156 ac_cv_path_PO4A_UPDATEPO="$as_dir/$ac_word$ac_exec_ext"
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 test -z "$ac_cv_path_PO4A_UPDATEPO" && ac_cv_path_PO4A_UPDATEPO="$ac_aux_dir/missing po4a-updatepo"
3168 PO4A_UPDATEPO=$ac_cv_path_PO4A_UPDATEPO
3169 if test -n "$PO4A_UPDATEPO"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A_UPDATEPO" >&5
3171 $as_echo "$PO4A_UPDATEPO" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3179 # find path or use "missing"
3181 # Extract the first word of "po4a-translate", so it can be a program name with args.
3182 set dummy po4a-translate; ac_word=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if ${ac_cv_path_PO4A_TRANSLATE+:} false; then :
3186 $as_echo_n "(cached) " >&6
3188 case $PO4A_TRANSLATE in
3190 ac_cv_path_PO4A_TRANSLATE="$PO4A_TRANSLATE" # Let the user override the test with a path.
3193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir=.
3198 for ac_exec_ext in '' $ac_executable_extensions; do
3199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200 ac_cv_path_PO4A_TRANSLATE="$as_dir/$ac_word$ac_exec_ext"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 test -z "$ac_cv_path_PO4A_TRANSLATE" && ac_cv_path_PO4A_TRANSLATE="$ac_aux_dir/missing po4a-translate"
3212 PO4A_TRANSLATE=$ac_cv_path_PO4A_TRANSLATE
3213 if test -n "$PO4A_TRANSLATE"; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A_TRANSLATE" >&5
3215 $as_echo "$PO4A_TRANSLATE" >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3224 ac_config_files="$ac_config_files Makefile"
3226 cat >confcache <<\_ACEOF
3227 # This file is a shell script that caches the results of configure
3228 # tests run on this system so they can be shared between configure
3229 # scripts and configure runs, see configure's option --config-cache.
3230 # It is not useful on other systems. If it contains results you don't
3231 # want to keep, you may remove or edit it.
3233 # config.status only pays attention to the cache file if you give it
3234 # the --recheck option to rerun configure.
3236 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3237 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3242 # The following way of writing the cache mishandles newlines in values,
3243 # but we know of no workaround that is simple, portable, and efficient.
3244 # So, we kill variables containing newlines.
3245 # Ultrix sh set writes to stderr and can't be redirected directly,
3246 # and sets the high bit in the cache file unless we assign to the vars.
3248 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3249 eval ac_val=\$$ac_var
3253 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3257 _ | IFS | as_nl) ;; #(
3258 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3259 *) { eval $ac_var=; unset $ac_var;} ;;
3265 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3266 *${as_nl}ac_space=\ *)
3267 # `set' does not quote correctly, so add quotes: double-quote
3268 # substitution turns \\\\ into \\, and sed turns \\ into \.
3271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3274 # `set' quotes correctly as required by POSIX, so do not add quotes.
3275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3286 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3288 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3289 if test -w "$cache_file"; then
3290 if test "x$cache_file" != "x/dev/null"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3292 $as_echo "$as_me: updating cache $cache_file" >&6;}
3293 if test ! -f "$cache_file" || test -h "$cache_file"; then
3294 cat confcache >"$cache_file"
3296 case $cache_file in #(
3298 mv -f confcache "$cache_file"$$ &&
3299 mv -f "$cache_file"$$ "$cache_file" ;; #(
3301 mv -f confcache "$cache_file" ;;
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3307 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3312 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3313 # Let make expand exec_prefix.
3314 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3316 # Transform confdefs.h into DEFS.
3317 # Protect against shell expansion while executing Makefile rules.
3318 # Protect against Makefile macro expansion.
3320 # If the first sed substitution is executed (which looks for macros that
3321 # take arguments), then branch to the quote section. Otherwise,
3322 # look for a macro that doesn't take arguments.
3332 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3334 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3338 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3351 DEFS=`sed -n "$ac_script" confdefs.h`
3357 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3358 # 1. Remove the extension, and $U if already installed.
3359 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3360 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3361 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3362 # will be set to the directory where LIBOBJS objects are built.
3363 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3364 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3368 LTLIBOBJS=$ac_ltlibobjs
3372 : "${CONFIG_STATUS=./config.status}"
3374 ac_clean_files_save=$ac_clean_files
3375 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3377 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3379 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3381 # Generated by $as_me.
3382 # Run this file to recreate the current configuration.
3383 # Compiler output produced by configure, useful for debugging
3384 # configure, is in config.log if it exists.
3390 SHELL=\${CONFIG_SHELL-$SHELL}
3393 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3394 ## -------------------- ##
3395 ## M4sh Initialization. ##
3396 ## -------------------- ##
3398 # Be more Bourne compatible
3399 DUALCASE=1; export DUALCASE # for MKS sh
3400 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3403 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3404 # is contrary to our usage. Disable this feature.
3405 alias -g '${1+"$@"}'='"$@"'
3406 setopt NO_GLOB_SUBST
3408 case `(set -o) 2>/dev/null` in #(
3420 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3421 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3422 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3423 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3424 # Prefer a ksh shell builtin over an external printf program on Solaris,
3425 # but without wasting forks for bash or zsh.
3426 if test -z "$BASH_VERSION$ZSH_VERSION" \
3427 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3428 as_echo='print -r --'
3429 as_echo_n='print -rn --'
3430 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3431 as_echo='printf %s\n'
3432 as_echo_n='printf %s'
3434 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3435 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3436 as_echo_n='/usr/ucb/echo -n'
3438 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3439 as_echo_n_body='eval
3443 expr "X$arg" : "X\\(.*\\)$as_nl";
3444 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3446 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3448 export as_echo_n_body
3449 as_echo_n='sh -c $as_echo_n_body as_echo'
3452 as_echo='sh -c $as_echo_body as_echo'
3455 # The user is always right.
3456 if test "${PATH_SEPARATOR+set}" != set; then
3458 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3459 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3466 # We need space, tab and new line, in precisely that order. Quoting is
3467 # there to prevent editors from complaining about space-tab.
3468 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3469 # splitting by setting IFS to empty value.)
3472 # Find who we are. Look in the path if we contain no directory separator.
3475 *[\\/]* ) as_myself=$0 ;;
3476 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir=.
3481 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3487 # We did not find ourselves, most probably we were run as `sh COMMAND'
3488 # in which case we are not to be found in the path.
3489 if test "x$as_myself" = x; then
3492 if test ! -f "$as_myself"; then
3493 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3497 # Unset variables that we do not need and which cause bugs (e.g. in
3498 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3499 # suppresses any "Segmentation fault" message there. '((' could
3500 # trigger a bug in pdksh 5.2.14.
3501 for as_var in BASH_ENV ENV MAIL MAILPATH
3502 do eval test x\${$as_var+set} = xset \
3503 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3516 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3519 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3520 # ----------------------------------------
3521 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3522 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3523 # script with STATUS, using 1 if that was 0.
3526 as_status=$1; test $as_status -eq 0 && as_status=1
3528 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3529 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3531 $as_echo "$as_me: error: $2" >&2
3532 as_fn_exit $as_status
3536 # as_fn_set_status STATUS
3537 # -----------------------
3538 # Set $? to STATUS, without forking.
3542 } # as_fn_set_status
3546 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3556 # Portably unset VAR.
3559 { eval $1=; unset $1;}
3561 as_unset=as_fn_unset
3562 # as_fn_append VAR VALUE
3563 # ----------------------
3564 # Append the text in VALUE to the end of the definition contained in VAR. Take
3565 # advantage of any shell optimizations that allow amortized linear growth over
3566 # repeated appends, instead of the typical quadratic growth present in naive
3568 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3569 eval 'as_fn_append ()
3580 # as_fn_arith ARG...
3581 # ------------------
3582 # Perform arithmetic evaluation on the ARGs, and store the result in the
3583 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3584 # must be portable across $(()) and expr.
3585 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3586 eval 'as_fn_arith ()
3593 as_val=`expr "$@" || test $? -eq 1`
3598 if expr a : '\(a\)' >/dev/null 2>&1 &&
3599 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3605 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3606 as_basename=basename
3611 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3617 as_me=`$as_basename -- "$0" ||
3618 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3619 X"$0" : 'X\(//\)$' \| \
3620 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3622 sed '/^.*\/\([^/][^/]*\)\/*$/{
3636 # Avoid depending upon Character Ranges.
3637 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3638 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3639 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3640 as_cr_digits='0123456789'
3641 as_cr_alnum=$as_cr_Letters$as_cr_digits
3643 ECHO_C= ECHO_N= ECHO_T=
3644 case `echo -n x` in #(((((
3646 case `echo 'xy\c'` in
3647 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3649 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3656 rm -f conf$$ conf$$.exe conf$$.file
3657 if test -d conf$$.dir; then
3658 rm -f conf$$.dir/conf$$.file
3661 mkdir conf$$.dir 2>/dev/null
3663 if (echo >conf$$.file) 2>/dev/null; then
3664 if ln -s conf$$.file conf$$ 2>/dev/null; then
3666 # ... but there are two gotchas:
3667 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3668 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3669 # In both cases, we have to default to `cp -pR'.
3670 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3672 elif ln conf$$.file conf$$ 2>/dev/null; then
3680 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3681 rmdir conf$$.dir 2>/dev/null
3686 # Create "$as_dir" as a directory, including parents if necessary.
3691 -*) as_dir=./$as_dir;;
3693 test -d "$as_dir" || eval $as_mkdir_p || {
3697 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3698 *) as_qdir=$as_dir;;
3700 as_dirs="'$as_qdir' $as_dirs"
3701 as_dir=`$as_dirname -- "$as_dir" ||
3702 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3703 X"$as_dir" : 'X\(//\)[^/]' \| \
3704 X"$as_dir" : 'X\(//\)$' \| \
3705 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3706 $as_echo X"$as_dir" |
3707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3724 test -d "$as_dir" && break
3726 test -z "$as_dirs" || eval "mkdir $as_dirs"
3727 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3731 if mkdir -p . 2>/dev/null; then
3732 as_mkdir_p='mkdir -p "$as_dir"'
3734 test -d ./-p && rmdir ./-p
3739 # as_fn_executable_p FILE
3740 # -----------------------
3741 # Test if FILE is an executable regular file.
3742 as_fn_executable_p ()
3744 test -f "$1" && test -x "$1"
3745 } # as_fn_executable_p
3747 as_executable_p=as_fn_executable_p
3749 # Sed expression to map a string onto a valid CPP name.
3750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3752 # Sed expression to map a string onto a valid variable name.
3753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3757 ## ----------------------------------- ##
3758 ## Main body of $CONFIG_STATUS script. ##
3759 ## ----------------------------------- ##
3761 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3764 # Save the log message, to keep $0 and so on meaningful, and to
3765 # report actual input values of CONFIG_FILES etc. instead of their
3766 # values after options handling.
3768 This file was extended by GNU help2man $as_me 1.46.1, which was
3769 generated by GNU Autoconf 2.69. Invocation command line was
3771 CONFIG_FILES = $CONFIG_FILES
3772 CONFIG_HEADERS = $CONFIG_HEADERS
3773 CONFIG_LINKS = $CONFIG_LINKS
3774 CONFIG_COMMANDS = $CONFIG_COMMANDS
3777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3782 case $ac_config_files in *"
3783 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3789 # Files that config.status was made for.
3790 config_files="$ac_config_files"
3794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3796 \`$as_me' instantiates files and other configuration actions
3797 from templates according to the current configuration. Unless the files
3798 and actions are specified as TAGs, all are instantiated by default.
3800 Usage: $0 [OPTION]... [TAG]...
3802 -h, --help print this help, then exit
3803 -V, --version print version number and configuration settings, then exit
3804 --config print configuration, then exit
3805 -q, --quiet, --silent
3806 do not print progress messages
3807 -d, --debug don't remove temporary files
3808 --recheck update $as_me by reconfiguring in the same conditions
3809 --file=FILE[:TEMPLATE]
3810 instantiate the configuration file FILE
3812 Configuration files:
3815 Report bugs to <bug-help2man@gnu.org>.
3816 GNU help2man home page: <http://www.gnu.org/software/help2man/>.
3817 General help using GNU software: <http://www.gnu.org/gethelp/>."
3820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3821 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3823 GNU help2man config.status 1.46.1
3824 configured by $0, generated by GNU Autoconf 2.69,
3825 with options \\"\$ac_cs_config\\"
3827 Copyright (C) 2012 Free Software Foundation, Inc.
3828 This config.status script is free software; the Free Software Foundation
3829 gives unlimited permission to copy, distribute and modify it."
3834 test -n "\$AWK" || AWK=awk
3837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3838 # The default lists apply if the user does not specify any file.
3844 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3845 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3849 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3861 # Handling of the options.
3862 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3864 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3865 $as_echo "$ac_cs_version"; exit ;;
3866 --config | --confi | --conf | --con | --co | --c )
3867 $as_echo "$ac_cs_config"; exit ;;
3868 --debug | --debu | --deb | --de | --d | -d )
3870 --file | --fil | --fi | --f )
3873 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3874 '') as_fn_error $? "missing file argument" ;;
3876 as_fn_append CONFIG_FILES " '$ac_optarg'"
3877 ac_need_defaults=false;;
3878 --he | --h | --help | --hel | -h )
3879 $as_echo "$ac_cs_usage"; exit ;;
3880 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3881 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3885 -*) as_fn_error $? "unrecognized option: \`$1'
3886 Try \`$0 --help' for more information." ;;
3888 *) as_fn_append ac_config_targets " $1"
3889 ac_need_defaults=false ;;
3895 ac_configure_extra_args=
3897 if $ac_cs_silent; then
3899 ac_configure_extra_args="$ac_configure_extra_args --silent"
3903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3904 if \$ac_cs_recheck; then
3905 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3907 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3908 CONFIG_SHELL='$SHELL'
3914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3918 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3919 ## Running $as_me. ##
3925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3930 # Handling of arguments.
3931 for ac_config_target in $ac_config_targets
3933 case $ac_config_target in
3934 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3936 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3941 # If the user did not use the arguments to specify the items to instantiate,
3942 # then the envvar interface is used. Set only those that are not.
3943 # We use the long form for the default assignment because of an extremely
3944 # bizarre bug on SunOS 4.1.3.
3945 if $ac_need_defaults; then
3946 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3949 # Have a temporary directory for convenience. Make it in the build tree
3950 # simply because there is no reason against having it here, and in addition,
3951 # creating and moving files from /tmp can sometimes cause problems.
3952 # Hook for its removal unless debugging.
3953 # Note that there is a small window in which the directory will not be cleaned:
3954 # after its creation but before its name has been assigned to `$tmp'.
3958 trap 'exit_status=$?
3960 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3962 trap 'as_fn_exit 1' 1 2 13 15
3964 # Create a (secure) tmp directory for tmp files.
3967 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3971 tmp=./conf$$-$RANDOM
3972 (umask 077 && mkdir "$tmp")
3973 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3976 # Set up the scripts for CONFIG_FILES section.
3977 # No need to generate them if there are no CONFIG_FILES.
3978 # This happens for instance with `./config.status config.h'.
3979 if test -n "$CONFIG_FILES"; then
3982 ac_cr=`echo X | tr X '\015'`
3983 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3984 # But we know of no other shell where ac_cr would be empty at this
3985 # point, so we can use a bashism as a fallback.
3986 if test "x$ac_cr" = x; then
3987 eval ac_cr=\$\'\\r\'
3989 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3990 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3996 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4001 echo "cat >conf$$subs.awk <<_ACEOF" &&
4002 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4005 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4006 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4008 for ac_last_try in false false false false false :; do
4009 . ./conf$$subs.sh ||
4010 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4012 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4013 if test $ac_delim_n = $ac_delim_num; then
4015 elif $ac_last_try; then
4016 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4018 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4024 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4028 s/^/S["/; s/!.*/"]=/
4038 s/\(.\{148\}\)..*/\1/
4040 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4045 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4052 s/\(.\{148\}\)..*/\1/
4054 s/["\\]/\\&/g; s/^/"/; s/$/"/
4058 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4063 ' <conf$$subs.awk | sed '
4068 ' >>$CONFIG_STATUS || ac_write_fail=1
4069 rm -f conf$$subs.awk
4070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4072 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4073 for (key in S) S_is_set[key] = 1
4079 nfields = split(line, field, "@")
4081 len = length(field[1])
4082 for (i = 2; i < nfields; i++) {
4084 keylen = length(key)
4085 if (S_is_set[key]) {
4087 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4088 len += length(value) + length(field[++i])
4099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4100 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4101 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4104 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4105 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4108 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4109 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4110 # trailing colons and then remove the whole line if VPATH becomes empty
4111 # (actually we leave an empty line to preserve line numbers).
4112 if test "x$srcdir" = x.; then
4113 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4132 fi # test -n "$CONFIG_FILES"
4135 eval set X " :F $CONFIG_FILES "
4140 :[FHLC]) ac_mode=$ac_tag; continue;;
4142 case $ac_mode$ac_tag in
4144 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4145 :[FH]-) ac_tag=-:-;;
4146 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4163 -) ac_f="$ac_tmp/stdin";;
4164 *) # Look for the file first in the build tree, then in the source tree
4165 # (if the path is not absolute). The absolute path cannot be DOS-style,
4166 # because $ac_f cannot contain `:'.
4170 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4172 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4174 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4175 as_fn_append ac_file_inputs " '$ac_f'"
4178 # Let's still pretend it is `configure' which instantiates (i.e., don't
4179 # use $as_me), people would be surprised to read:
4180 # /* config.h. Generated by config.status. */
4181 configure_input='Generated from '`
4182 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4184 if test x"$ac_file" != x-; then
4185 configure_input="$ac_file. $configure_input"
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4187 $as_echo "$as_me: creating $ac_file" >&6;}
4189 # Neutralize special characters interpreted by sed in replacement strings.
4190 case $configure_input in #(
4191 *\&* | *\|* | *\\* )
4192 ac_sed_conf_input=`$as_echo "$configure_input" |
4193 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4194 *) ac_sed_conf_input=$configure_input;;
4198 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4199 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4204 ac_dir=`$as_dirname -- "$ac_file" ||
4205 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4206 X"$ac_file" : 'X\(//\)[^/]' \| \
4207 X"$ac_file" : 'X\(//\)$' \| \
4208 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4209 $as_echo X"$ac_file" |
4210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4227 as_dir="$ac_dir"; as_fn_mkdir_p
4231 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4233 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4234 # A ".." for each directory in $ac_dir_suffix.
4235 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4236 case $ac_top_builddir_sub in
4237 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4238 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4241 ac_abs_top_builddir=$ac_pwd
4242 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4243 # for backward compatibility:
4244 ac_top_builddir=$ac_top_build_prefix
4247 .) # We are building in place.
4249 ac_top_srcdir=$ac_top_builddir_sub
4250 ac_abs_top_srcdir=$ac_pwd ;;
4251 [\\/]* | ?:[\\/]* ) # Absolute name.
4252 ac_srcdir=$srcdir$ac_dir_suffix;
4253 ac_top_srcdir=$srcdir
4254 ac_abs_top_srcdir=$srcdir ;;
4256 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4257 ac_top_srcdir=$ac_top_build_prefix$srcdir
4258 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4260 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4270 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4271 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4276 # If the template does not know about datarootdir, expand it.
4277 # FIXME: This hack should be removed a few years after 2.60.
4278 ac_datarootdir_hack=; ac_datarootdir_seen=
4289 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4290 *datarootdir*) ac_datarootdir_seen=yes;;
4291 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4293 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4296 ac_datarootdir_hack='
4297 s&@datadir@&$datadir&g
4298 s&@docdir@&$docdir&g
4299 s&@infodir@&$infodir&g
4300 s&@localedir@&$localedir&g
4301 s&@mandir@&$mandir&g
4302 s&\\\${datarootdir}&$datarootdir&g' ;;
4306 # Neutralize VPATH when `$srcdir' = `.'.
4307 # Shell code in configure.ac might set extrasub.
4308 # FIXME: do we really want to maintain this feature?
4309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4310 ac_sed_extra="$ac_vpsub
4313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4315 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4316 s|@configure_input@|$ac_sed_conf_input|;t t
4317 s&@top_builddir@&$ac_top_builddir_sub&;t t
4318 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4319 s&@srcdir@&$ac_srcdir&;t t
4320 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4321 s&@top_srcdir@&$ac_top_srcdir&;t t
4322 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4323 s&@builddir@&$ac_builddir&;t t
4324 s&@abs_builddir@&$ac_abs_builddir&;t t
4325 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4326 s&@INSTALL@&$ac_INSTALL&;t t
4327 $ac_datarootdir_hack
4329 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4330 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4333 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4334 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4335 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4337 which seems to be undefined. Please make sure it is defined" >&5
4338 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4339 which seems to be undefined. Please make sure it is defined" >&2;}
4341 rm -f "$ac_tmp/stdin"
4343 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4344 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4346 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4358 ac_clean_files=$ac_clean_files_save
4360 test $ac_write_fail = 0 ||
4361 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4364 # configure is writing to config.log, and then calls config.status.
4365 # config.status does its own redirection, appending to config.log.
4366 # Unfortunately, on DOS this fails, as config.log is still kept open
4367 # by configure, so config.status won't be able to write to it; its
4368 # output is simply discarded. So we exec the FD to /dev/null,
4369 # effectively closing config.log, so it can be properly (re)opened and
4370 # appended to by config.status. When coming back to configure, we
4371 # need to make the FD available again.
4372 if test "$no_create" != yes; then
4374 ac_config_status_args=
4375 test "$silent" = yes &&
4376 ac_config_status_args="$ac_config_status_args --quiet"
4378 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4381 # would make configure fail if this is the last instruction.
4382 $ac_cs_success || as_fn_exit 1
4384 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4386 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}