Debian Codegraph @

configure

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