Ready for testing
[enscript.git] / autom4te.cache / output.1
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.71 for GNU Enscript 1.6.6.
4 @%:@
5 @%:@ Report bugs to <bug-enscript@gnu.org>.
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 test \$(( 1 + 1 )) = 2 || exit 1"
187   if (eval "$as_required") 2>/dev/null
188 then :
189   as_have_required=yes
190 else $as_nop
191   as_have_required=no
192 fi
193   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
195   
196 else $as_nop
197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201   IFS=$as_save_IFS
202   case $as_dir in #(((
203     '') as_dir=./ ;;
204     */) ;;
205     *) as_dir=$as_dir/ ;;
206   esac
207   as_found=:
208   case $as_dir in @%:@(
209          /*)
210            for as_base in sh bash ksh sh5; do
211              # Try only shells that exist, to save several forks.
212              as_shell=$as_dir$as_base
213              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214                     as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216   CONFIG_SHELL=$as_shell as_have_required=yes
217                    if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219   break 2
220 fi
221 fi
222            done;;
223        esac
224   as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229   
230 else $as_nop
231   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232               as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234   CONFIG_SHELL=$SHELL as_have_required=yes
235 fi
236 fi
237
238
239       if test "x$CONFIG_SHELL" != x
240 then :
241   export CONFIG_SHELL
242              # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in @%:@ ((((
250   *v*x* | *x*v* ) as_opts=-vx ;;
251   *v* ) as_opts=-v ;;
252   *x* ) as_opts=-x ;;
253   * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262     if test x$as_have_required = xno
263 then :
264   printf "%s\n" "$0: This script requires a shell more modern than all"
265   printf "%s\n" "$0: the shells that I found on your system."
266   if test ${ZSH_VERSION+y} ; then
267     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269   else
270     printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: bug-enscript@gnu.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
275   fi
276   exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 @%:@ as_fn_unset VAR
290 @%:@ ---------------
291 @%:@ Portably unset VAR.
292 as_fn_unset ()
293 {
294   { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298
299 @%:@ as_fn_set_status STATUS
300 @%:@ -----------------------
301 @%:@ Set @S|@? to STATUS, without forking.
302 as_fn_set_status ()
303 {
304   return $1
305 } @%:@ as_fn_set_status
306
307 @%:@ as_fn_exit STATUS
308 @%:@ -----------------
309 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
311 {
312   set +e
313   as_fn_set_status $1
314   exit $1
315 } @%:@ as_fn_exit
316 @%:@ as_fn_nop
317 @%:@ ---------
318 @%:@ Do nothing but, unlike ":", preserve the value of @S|@?.
319 as_fn_nop ()
320 {
321   return $?
322 }
323 as_nop=as_fn_nop
324
325 @%:@ as_fn_mkdir_p
326 @%:@ -------------
327 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
329 {
330
331   case $as_dir in #(
332   -*) as_dir=./$as_dir;;
333   esac
334   test -d "$as_dir" || eval $as_mkdir_p || {
335     as_dirs=
336     while :; do
337       case $as_dir in #(
338       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339       *) as_qdir=$as_dir;;
340       esac
341       as_dirs="'$as_qdir' $as_dirs"
342       as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344          X"$as_dir" : 'X\(//\)[^/]' \| \
345          X"$as_dir" : 'X\(//\)$' \| \
346          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349             s//\1/
350             q
351           }
352           /^X\(\/\/\)[^/].*/{
353             s//\1/
354             q
355           }
356           /^X\(\/\/\)$/{
357             s//\1/
358             q
359           }
360           /^X\(\/\).*/{
361             s//\1/
362             q
363           }
364           s/.*/./; q'`
365       test -d "$as_dir" && break
366     done
367     test -z "$as_dirs" || eval "mkdir $as_dirs"
368   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371 } @%:@ as_fn_mkdir_p
372
373 @%:@ as_fn_executable_p FILE
374 @%:@ -----------------------
375 @%:@ Test if FILE is an executable regular file.
376 as_fn_executable_p ()
377 {
378   test -f "$1" && test -x "$1"
379 } @%:@ as_fn_executable_p
380 @%:@ as_fn_append VAR VALUE
381 @%:@ ----------------------
382 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
383 @%:@ advantage of any shell optimizations that allow amortized linear growth over
384 @%:@ repeated appends, instead of the typical quadratic growth present in naive
385 @%:@ implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388   eval 'as_fn_append ()
389   {
390     eval $1+=\$2
391   }'
392 else $as_nop
393   as_fn_append ()
394   {
395     eval $1=\$$1\$2
396   }
397 fi # as_fn_append
398
399 @%:@ as_fn_arith ARG...
400 @%:@ ------------------
401 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
402 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
403 @%:@ must be portable across @S|@(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406   eval 'as_fn_arith ()
407   {
408     as_val=$(( $* ))
409   }'
410 else $as_nop
411   as_fn_arith ()
412   {
413     as_val=`expr "$@" || test $? -eq 1`
414   }
415 fi # as_fn_arith
416
417 @%:@ as_fn_nop
418 @%:@ ---------
419 @%:@ Do nothing but, unlike ":", preserve the value of @S|@?.
420 as_fn_nop ()
421 {
422   return $?
423 }
424 as_nop=as_fn_nop
425
426 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
427 @%:@ ----------------------------------------
428 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 @%:@ script with STATUS, using 1 if that was 0.
431 as_fn_error ()
432 {
433   as_status=$1; test $as_status -eq 0 && as_status=1
434   if test "$4"; then
435     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437   fi
438   printf "%s\n" "$as_me: error: $2" >&2
439   as_fn_exit $as_status
440 } @%:@ as_fn_error
441
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443    test "X`expr 00001 : '.*\(...\)'`" = X001; then
444   as_expr=expr
445 else
446   as_expr=false
447 fi
448
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450   as_basename=basename
451 else
452   as_basename=false
453 fi
454
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456   as_dirname=dirname
457 else
458   as_dirname=false
459 fi
460
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463          X"$0" : 'X\(//\)$' \| \
464          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466     sed '/^.*\/\([^/][^/]*\)\/*$/{
467             s//\1/
468             q
469           }
470           /^X\/\(\/\/\)$/{
471             s//\1/
472             q
473           }
474           /^X\/\(\/\).*/{
475             s//\1/
476             q
477           }
478           s/.*/./; q'`
479
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
486
487
488   as_lineno_1=$LINENO as_lineno_1a=$LINENO
489   as_lineno_2=$LINENO as_lineno_2a=$LINENO
490   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
493   sed -n '
494     p
495     /[$]LINENO/=
496   ' <$as_myself |
497     sed '
498       s/[$]LINENO.*/&-/
499       t lineno
500       b
501       :lineno
502       N
503       :loop
504       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505       t loop
506       s/-\n.*//
507     ' >$as_me.lineno &&
508   chmod +x "$as_me.lineno" ||
509     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510
511   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512   # already done that, so ensure we don't try to do so again and fall
513   # in an infinite loop.  This has already happened in practice.
514   _as_can_reexec=no; export _as_can_reexec
515   # Don't try to exec as it changes $[0], causing all sort of problems
516   # (the dirname of $[0] is not the place where we might find the
517   # original and so on.  Autoconf is especially sensitive to this).
518   . "./$as_me.lineno"
519   # Exit status is that of the last command.
520   exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in @%:@(((((
529 -n*)
530   case `echo 'xy\c'` in
531   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
532   xy)  ECHO_C='\c';;
533   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
534        ECHO_T=' ';;
535   esac;;
536 *)
537   ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n.  New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_@&t@echo='printf %s\n'
544 as_@&t@echo_n='printf %s'
545
546
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549   rm -f conf$$.dir/conf$$.file
550 else
551   rm -f conf$$.dir
552   mkdir conf$$.dir 2>/dev/null
553 fi
554 if (echo >conf$$.file) 2>/dev/null; then
555   if ln -s conf$$.file conf$$ 2>/dev/null; then
556     as_ln_s='ln -s'
557     # ... but there are two gotchas:
558     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560     # In both cases, we have to default to `cp -pR'.
561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562       as_ln_s='cp -pR'
563   elif ln conf$$.file conf$$ 2>/dev/null; then
564     as_ln_s=ln
565   else
566     as_ln_s='cp -pR'
567   fi
568 else
569   as_ln_s='cp -pR'
570 fi
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
573
574 if mkdir -p . 2>/dev/null; then
575   as_mkdir_p='mkdir -p "$as_dir"'
576 else
577   test -d ./-p && rmdir ./-p
578   as_mkdir_p=false
579 fi
580
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
583
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589
590
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
593
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
598
599 #
600 # Initializations.
601 #
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIB@&t@OBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
610
611 # Identity of this package.
612 PACKAGE_NAME='GNU Enscript'
613 PACKAGE_TARNAME='enscript'
614 PACKAGE_VERSION='1.6.6'
615 PACKAGE_STRING='GNU Enscript 1.6.6'
616 PACKAGE_BUGREPORT='bug-enscript@gnu.org'
617 PACKAGE_URL='https://www.gnu.org/software/enscript/'
618
619 ac_unique_file="src/gsint.h"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
650
651 ac_header_c_list=
652 ac_func_c_list=
653 gt_needs=
654 ac_subst_vars='am__EXEEXT_FALSE
655 am__EXEEXT_TRUE
656 LTLIBOBJS
657 PERL
658 POSUB
659 LTLIBINTL
660 LIBINTL
661 INTLLIBS
662 LTLIBICONV
663 LIBICONV
664 INTL_MACOSX_LIBS
665 CPP
666 host_os
667 host_vendor
668 host_cpu
669 host
670 build_os
671 build_vendor
672 build_cpu
673 build
674 XGETTEXT_EXTRA_OPTIONS
675 MSGMERGE_FOR_MSGFMT_OPTION
676 MSGMERGE
677 XGETTEXT_015
678 XGETTEXT
679 GMSGFMT_015
680 GMSGFMT
681 MSGFMT
682 GETTEXT_MACRO_VERSION
683 USE_NLS
684 SED
685 PSLEVEL
686 SPOOLER
687 ENCODING
688 MEDIA
689 LEXLIB
690 LEX_OUTPUT_ROOT
691 LEX
692 YFLAGS
693 YACC
694 RANLIB
695 LIB@&t@OBJS
696 EGREP
697 GREP
698 ALLOCA
699 am__fastdepCC_FALSE
700 am__fastdepCC_TRUE
701 CCDEPMODE
702 am__nodep
703 AMDEPBACKSLASH
704 AMDEP_FALSE
705 AMDEP_TRUE
706 am__include
707 DEPDIR
708 OBJEXT
709 EXEEXT
710 ac_ct_CC
711 CPPFLAGS
712 LDFLAGS
713 CFLAGS
714 CC
715 AM_BACKSLASH
716 AM_DEFAULT_VERBOSITY
717 AM_DEFAULT_V
718 AM_V
719 CSCOPE
720 ETAGS
721 CTAGS
722 am__untar
723 am__tar
724 AMTAR
725 am__leading_dot
726 SET_MAKE
727 AWK
728 mkdir_p
729 MKDIR_P
730 INSTALL_STRIP_PROGRAM
731 STRIP
732 install_sh
733 MAKEINFO
734 AUTOHEADER
735 AUTOMAKE
736 AUTOCONF
737 ACLOCAL
738 VERSION
739 PACKAGE
740 CYGPATH_W
741 am__isrc
742 INSTALL_DATA
743 INSTALL_SCRIPT
744 INSTALL_PROGRAM
745 target_alias
746 host_alias
747 build_alias
748 LIBS
749 ECHO_T
750 ECHO_N
751 ECHO_C
752 DEFS
753 mandir
754 localedir
755 libdir
756 psdir
757 pdfdir
758 dvidir
759 htmldir
760 infodir
761 docdir
762 oldincludedir
763 includedir
764 runstatedir
765 localstatedir
766 sharedstatedir
767 sysconfdir
768 datadir
769 datarootdir
770 libexecdir
771 sbindir
772 bindir
773 program_transform_name
774 prefix
775 exec_prefix
776 PACKAGE_URL
777 PACKAGE_BUGREPORT
778 PACKAGE_STRING
779 PACKAGE_VERSION
780 PACKAGE_TARNAME
781 PACKAGE_NAME
782 PATH_SEPARATOR
783 SHELL
784 am__quote'
785 ac_subst_files=''
786 ac_user_opts='
787 enable_option_checking
788 enable_silent_rules
789 enable_dependency_tracking
790 enable_debug
791 with_media
792 with_encoding
793 with_spooler
794 with_ps_level
795 enable_nls
796 with_gnu_ld
797 enable_rpath
798 with_libiconv_prefix
799 with_libintl_prefix
800 '
801       ac_precious_vars='build_alias
802 host_alias
803 target_alias
804 CC
805 CFLAGS
806 LDFLAGS
807 LIBS
808 CPPFLAGS
809 YACC
810 YFLAGS
811 CPP'
812
813
814 # Initialize some variables set by options.
815 ac_init_help=
816 ac_init_version=false
817 ac_unrecognized_opts=
818 ac_unrecognized_sep=
819 # The variables have the same names as the options, with
820 # dashes changed to underlines.
821 cache_file=/dev/null
822 exec_prefix=NONE
823 no_create=
824 no_recursion=
825 prefix=NONE
826 program_prefix=NONE
827 program_suffix=NONE
828 program_transform_name=s,x,x,
829 silent=
830 site=
831 srcdir=
832 verbose=
833 x_includes=NONE
834 x_libraries=NONE
835
836 # Installation directory options.
837 # These are left unexpanded so users can "make install exec_prefix=/foo"
838 # and all the variables that are supposed to be based on exec_prefix
839 # by default will actually change.
840 # Use braces instead of parens because sh, perl, etc. also accept them.
841 # (The list follows the same order as the GNU Coding Standards.)
842 bindir='${exec_prefix}/bin'
843 sbindir='${exec_prefix}/sbin'
844 libexecdir='${exec_prefix}/libexec'
845 datarootdir='${prefix}/share'
846 datadir='${datarootdir}'
847 sysconfdir='${prefix}/etc'
848 sharedstatedir='${prefix}/com'
849 localstatedir='${prefix}/var'
850 runstatedir='${localstatedir}/run'
851 includedir='${prefix}/include'
852 oldincludedir='/usr/include'
853 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
854 infodir='${datarootdir}/info'
855 htmldir='${docdir}'
856 dvidir='${docdir}'
857 pdfdir='${docdir}'
858 psdir='${docdir}'
859 libdir='${exec_prefix}/lib'
860 localedir='${datarootdir}/locale'
861 mandir='${datarootdir}/man'
862
863 ac_prev=
864 ac_dashdash=
865 for ac_option
866 do
867   # If the previous option needs an argument, assign it.
868   if test -n "$ac_prev"; then
869     eval $ac_prev=\$ac_option
870     ac_prev=
871     continue
872   fi
873
874   case $ac_option in
875   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
876   *=)   ac_optarg= ;;
877   *)    ac_optarg=yes ;;
878   esac
879
880   case $ac_dashdash$ac_option in
881   --)
882     ac_dashdash=yes ;;
883
884   -bindir | --bindir | --bindi | --bind | --bin | --bi)
885     ac_prev=bindir ;;
886   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
887     bindir=$ac_optarg ;;
888
889   -build | --build | --buil | --bui | --bu)
890     ac_prev=build_alias ;;
891   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
892     build_alias=$ac_optarg ;;
893
894   -cache-file | --cache-file | --cache-fil | --cache-fi \
895   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
896     ac_prev=cache_file ;;
897   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
898   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
899     cache_file=$ac_optarg ;;
900
901   --config-cache | -C)
902     cache_file=config.cache ;;
903
904   -datadir | --datadir | --datadi | --datad)
905     ac_prev=datadir ;;
906   -datadir=* | --datadir=* | --datadi=* | --datad=*)
907     datadir=$ac_optarg ;;
908
909   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
910   | --dataroo | --dataro | --datar)
911     ac_prev=datarootdir ;;
912   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
913   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
914     datarootdir=$ac_optarg ;;
915
916   -disable-* | --disable-*)
917     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
918     # Reject names that are not valid shell variable names.
919     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
920       as_fn_error $? "invalid feature name: \`$ac_useropt'"
921     ac_useropt_orig=$ac_useropt
922     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
923     case $ac_user_opts in
924       *"
925 "enable_$ac_useropt"
926 "*) ;;
927       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
928          ac_unrecognized_sep=', ';;
929     esac
930     eval enable_$ac_useropt=no ;;
931
932   -docdir | --docdir | --docdi | --doc | --do)
933     ac_prev=docdir ;;
934   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
935     docdir=$ac_optarg ;;
936
937   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
938     ac_prev=dvidir ;;
939   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
940     dvidir=$ac_optarg ;;
941
942   -enable-* | --enable-*)
943     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
944     # Reject names that are not valid shell variable names.
945     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946       as_fn_error $? "invalid feature name: \`$ac_useropt'"
947     ac_useropt_orig=$ac_useropt
948     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
949     case $ac_user_opts in
950       *"
951 "enable_$ac_useropt"
952 "*) ;;
953       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
954          ac_unrecognized_sep=', ';;
955     esac
956     eval enable_$ac_useropt=\$ac_optarg ;;
957
958   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
959   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
960   | --exec | --exe | --ex)
961     ac_prev=exec_prefix ;;
962   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
963   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
964   | --exec=* | --exe=* | --ex=*)
965     exec_prefix=$ac_optarg ;;
966
967   -gas | --gas | --ga | --g)
968     # Obsolete; use --with-gas.
969     with_gas=yes ;;
970
971   -help | --help | --hel | --he | -h)
972     ac_init_help=long ;;
973   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
974     ac_init_help=recursive ;;
975   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
976     ac_init_help=short ;;
977
978   -host | --host | --hos | --ho)
979     ac_prev=host_alias ;;
980   -host=* | --host=* | --hos=* | --ho=*)
981     host_alias=$ac_optarg ;;
982
983   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
984     ac_prev=htmldir ;;
985   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
986   | --ht=*)
987     htmldir=$ac_optarg ;;
988
989   -includedir | --includedir | --includedi | --included | --include \
990   | --includ | --inclu | --incl | --inc)
991     ac_prev=includedir ;;
992   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
993   | --includ=* | --inclu=* | --incl=* | --inc=*)
994     includedir=$ac_optarg ;;
995
996   -infodir | --infodir | --infodi | --infod | --info | --inf)
997     ac_prev=infodir ;;
998   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
999     infodir=$ac_optarg ;;
1000
1001   -libdir | --libdir | --libdi | --libd)
1002     ac_prev=libdir ;;
1003   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1004     libdir=$ac_optarg ;;
1005
1006   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1007   | --libexe | --libex | --libe)
1008     ac_prev=libexecdir ;;
1009   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1010   | --libexe=* | --libex=* | --libe=*)
1011     libexecdir=$ac_optarg ;;
1012
1013   -localedir | --localedir | --localedi | --localed | --locale)
1014     ac_prev=localedir ;;
1015   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1016     localedir=$ac_optarg ;;
1017
1018   -localstatedir | --localstatedir | --localstatedi | --localstated \
1019   | --localstate | --localstat | --localsta | --localst | --locals)
1020     ac_prev=localstatedir ;;
1021   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1022   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1023     localstatedir=$ac_optarg ;;
1024
1025   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1026     ac_prev=mandir ;;
1027   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1028     mandir=$ac_optarg ;;
1029
1030   -nfp | --nfp | --nf)
1031     # Obsolete; use --without-fp.
1032     with_fp=no ;;
1033
1034   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1035   | --no-cr | --no-c | -n)
1036     no_create=yes ;;
1037
1038   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1039   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1040     no_recursion=yes ;;
1041
1042   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1043   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1044   | --oldin | --oldi | --old | --ol | --o)
1045     ac_prev=oldincludedir ;;
1046   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1047   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1048   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1049     oldincludedir=$ac_optarg ;;
1050
1051   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1052     ac_prev=prefix ;;
1053   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1054     prefix=$ac_optarg ;;
1055
1056   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1057   | --program-pre | --program-pr | --program-p)
1058     ac_prev=program_prefix ;;
1059   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1060   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1061     program_prefix=$ac_optarg ;;
1062
1063   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1064   | --program-suf | --program-su | --program-s)
1065     ac_prev=program_suffix ;;
1066   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1067   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1068     program_suffix=$ac_optarg ;;
1069
1070   -program-transform-name | --program-transform-name \
1071   | --program-transform-nam | --program-transform-na \
1072   | --program-transform-n | --program-transform- \
1073   | --program-transform | --program-transfor \
1074   | --program-transfo | --program-transf \
1075   | --program-trans | --program-tran \
1076   | --progr-tra | --program-tr | --program-t)
1077     ac_prev=program_transform_name ;;
1078   -program-transform-name=* | --program-transform-name=* \
1079   | --program-transform-nam=* | --program-transform-na=* \
1080   | --program-transform-n=* | --program-transform-=* \
1081   | --program-transform=* | --program-transfor=* \
1082   | --program-transfo=* | --program-transf=* \
1083   | --program-trans=* | --program-tran=* \
1084   | --progr-tra=* | --program-tr=* | --program-t=*)
1085     program_transform_name=$ac_optarg ;;
1086
1087   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1088     ac_prev=pdfdir ;;
1089   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1090     pdfdir=$ac_optarg ;;
1091
1092   -psdir | --psdir | --psdi | --psd | --ps)
1093     ac_prev=psdir ;;
1094   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1095     psdir=$ac_optarg ;;
1096
1097   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1098   | -silent | --silent | --silen | --sile | --sil)
1099     silent=yes ;;
1100
1101   -runstatedir | --runstatedir | --runstatedi | --runstated \
1102   | --runstate | --runstat | --runsta | --runst | --runs \
1103   | --run | --ru | --r)
1104     ac_prev=runstatedir ;;
1105   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1106   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1107   | --run=* | --ru=* | --r=*)
1108     runstatedir=$ac_optarg ;;
1109
1110   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1111     ac_prev=sbindir ;;
1112   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1113   | --sbi=* | --sb=*)
1114     sbindir=$ac_optarg ;;
1115
1116   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1117   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1118   | --sharedst | --shareds | --shared | --share | --shar \
1119   | --sha | --sh)
1120     ac_prev=sharedstatedir ;;
1121   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1122   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1123   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1124   | --sha=* | --sh=*)
1125     sharedstatedir=$ac_optarg ;;
1126
1127   -site | --site | --sit)
1128     ac_prev=site ;;
1129   -site=* | --site=* | --sit=*)
1130     site=$ac_optarg ;;
1131
1132   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1133     ac_prev=srcdir ;;
1134   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1135     srcdir=$ac_optarg ;;
1136
1137   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1138   | --syscon | --sysco | --sysc | --sys | --sy)
1139     ac_prev=sysconfdir ;;
1140   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1141   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1142     sysconfdir=$ac_optarg ;;
1143
1144   -target | --target | --targe | --targ | --tar | --ta | --t)
1145     ac_prev=target_alias ;;
1146   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1147     target_alias=$ac_optarg ;;
1148
1149   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1150     verbose=yes ;;
1151
1152   -version | --version | --versio | --versi | --vers | -V)
1153     ac_init_version=: ;;
1154
1155   -with-* | --with-*)
1156     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1157     # Reject names that are not valid shell variable names.
1158     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159       as_fn_error $? "invalid package name: \`$ac_useropt'"
1160     ac_useropt_orig=$ac_useropt
1161     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1162     case $ac_user_opts in
1163       *"
1164 "with_$ac_useropt"
1165 "*) ;;
1166       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1167          ac_unrecognized_sep=', ';;
1168     esac
1169     eval with_$ac_useropt=\$ac_optarg ;;
1170
1171   -without-* | --without-*)
1172     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1173     # Reject names that are not valid shell variable names.
1174     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1175       as_fn_error $? "invalid package name: \`$ac_useropt'"
1176     ac_useropt_orig=$ac_useropt
1177     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1178     case $ac_user_opts in
1179       *"
1180 "with_$ac_useropt"
1181 "*) ;;
1182       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1183          ac_unrecognized_sep=', ';;
1184     esac
1185     eval with_$ac_useropt=no ;;
1186
1187   --x)
1188     # Obsolete; use --with-x.
1189     with_x=yes ;;
1190
1191   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1192   | --x-incl | --x-inc | --x-in | --x-i)
1193     ac_prev=x_includes ;;
1194   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1195   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1196     x_includes=$ac_optarg ;;
1197
1198   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1199   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1200     ac_prev=x_libraries ;;
1201   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1202   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1203     x_libraries=$ac_optarg ;;
1204
1205   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1206 Try \`$0 --help' for more information"
1207     ;;
1208
1209   *=*)
1210     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1211     # Reject names that are not valid shell variable names.
1212     case $ac_envvar in #(
1213       '' | [0-9]* | *[!_$as_cr_alnum]* )
1214       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1215     esac
1216     eval $ac_envvar=\$ac_optarg
1217     export $ac_envvar ;;
1218
1219   *)
1220     # FIXME: should be removed in autoconf 3.0.
1221     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1222     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1223       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1224     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1225     ;;
1226
1227   esac
1228 done
1229
1230 if test -n "$ac_prev"; then
1231   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1232   as_fn_error $? "missing argument to $ac_option"
1233 fi
1234
1235 if test -n "$ac_unrecognized_opts"; then
1236   case $enable_option_checking in
1237     no) ;;
1238     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1239     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1240   esac
1241 fi
1242
1243 # Check all directory arguments for consistency.
1244 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1245                 datadir sysconfdir sharedstatedir localstatedir includedir \
1246                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1247                 libdir localedir mandir runstatedir
1248 do
1249   eval ac_val=\$$ac_var
1250   # Remove trailing slashes.
1251   case $ac_val in
1252     */ )
1253       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1254       eval $ac_var=\$ac_val;;
1255   esac
1256   # Be sure to have absolute directory names.
1257   case $ac_val in
1258     [\\/$]* | ?:[\\/]* )  continue;;
1259     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1260   esac
1261   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1262 done
1263
1264 # There might be people who depend on the old broken behavior: `$host'
1265 # used to hold the argument of --host etc.
1266 # FIXME: To remove some day.
1267 build=$build_alias
1268 host=$host_alias
1269 target=$target_alias
1270
1271 # FIXME: To remove some day.
1272 if test "x$host_alias" != x; then
1273   if test "x$build_alias" = x; then
1274     cross_compiling=maybe
1275   elif test "x$build_alias" != "x$host_alias"; then
1276     cross_compiling=yes
1277   fi
1278 fi
1279
1280 ac_tool_prefix=
1281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1282
1283 test "$silent" = yes && exec 6>/dev/null
1284
1285
1286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1287 ac_ls_di=`ls -di .` &&
1288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1289   as_fn_error $? "working directory cannot be determined"
1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291   as_fn_error $? "pwd does not report name of working directory"
1292
1293
1294 # Find the source files, if location was not specified.
1295 if test -z "$srcdir"; then
1296   ac_srcdir_defaulted=yes
1297   # Try the directory containing this script, then the parent directory.
1298   ac_confdir=`$as_dirname -- "$as_myself" ||
1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1300          X"$as_myself" : 'X\(//\)[^/]' \| \
1301          X"$as_myself" : 'X\(//\)$' \| \
1302          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1303 printf "%s\n" X"$as_myself" |
1304     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305             s//\1/
1306             q
1307           }
1308           /^X\(\/\/\)[^/].*/{
1309             s//\1/
1310             q
1311           }
1312           /^X\(\/\/\)$/{
1313             s//\1/
1314             q
1315           }
1316           /^X\(\/\).*/{
1317             s//\1/
1318             q
1319           }
1320           s/.*/./; q'`
1321   srcdir=$ac_confdir
1322   if test ! -r "$srcdir/$ac_unique_file"; then
1323     srcdir=..
1324   fi
1325 else
1326   ac_srcdir_defaulted=no
1327 fi
1328 if test ! -r "$srcdir/$ac_unique_file"; then
1329   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1330   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1331 fi
1332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1333 ac_abs_confdir=`(
1334         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1335         pwd)`
1336 # When building in place, set srcdir=.
1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
1338   srcdir=.
1339 fi
1340 # Remove unnecessary trailing slashes from srcdir.
1341 # Double slashes in file names in object file debugging info
1342 # mess up M-x gdb in Emacs.
1343 case $srcdir in
1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1345 esac
1346 for ac_var in $ac_precious_vars; do
1347   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1348   eval ac_env_${ac_var}_value=\$${ac_var}
1349   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1350   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1351 done
1352
1353 #
1354 # Report the --help message.
1355 #
1356 if test "$ac_init_help" = "long"; then
1357   # Omit some internal or obsolete options to make the list less imposing.
1358   # This message is too long to be a string in the A/UX 3.1 sh.
1359   cat <<_ACEOF
1360 \`configure' configures GNU Enscript 1.6.6 to adapt to many kinds of systems.
1361
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1363
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE.  See below for descriptions of some of the useful variables.
1366
1367 Defaults for the options are specified in brackets.
1368
1369 Configuration:
1370   -h, --help              display this help and exit
1371       --help=short        display options specific to this package
1372       --help=recursive    display the short help of all the included packages
1373   -V, --version           display version information and exit
1374   -q, --quiet, --silent   do not print \`checking ...' messages
1375       --cache-file=FILE   cache test results in FILE [disabled]
1376   -C, --config-cache      alias for \`--cache-file=config.cache'
1377   -n, --no-create         do not create output files
1378       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1379
1380 Installation directories:
1381   --prefix=PREFIX         install architecture-independent files in PREFIX
1382                           @<:@@S|@ac_default_prefix@:>@
1383   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1384                           @<:@PREFIX@:>@
1385
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1390
1391 For better control, use the options below.
1392
1393 Fine tuning of the installation directories:
1394   --bindir=DIR            user executables [EPREFIX/bin]
1395   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1396   --libexecdir=DIR        program executables [EPREFIX/libexec]
1397   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1398   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1399   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1400   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1401   --libdir=DIR            object code libraries [EPREFIX/lib]
1402   --includedir=DIR        C header files [PREFIX/include]
1403   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1404   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1405   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1406   --infodir=DIR           info documentation [DATAROOTDIR/info]
1407   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1408   --mandir=DIR            man documentation [DATAROOTDIR/man]
1409   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/enscript@:>@
1410   --htmldir=DIR           html documentation [DOCDIR]
1411   --dvidir=DIR            dvi documentation [DOCDIR]
1412   --pdfdir=DIR            pdf documentation [DOCDIR]
1413   --psdir=DIR             ps documentation [DOCDIR]
1414 _ACEOF
1415
1416   cat <<\_ACEOF
1417
1418 Program names:
1419   --program-prefix=PREFIX            prepend PREFIX to installed program names
1420   --program-suffix=SUFFIX            append SUFFIX to installed program names
1421   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1422
1423 System types:
1424   --build=BUILD     configure for building on BUILD [guessed]
1425   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1426 _ACEOF
1427 fi
1428
1429 if test -n "$ac_init_help"; then
1430   case $ac_init_help in
1431      short | recursive ) echo "Configuration of GNU Enscript 1.6.6:";;
1432    esac
1433   cat <<\_ACEOF
1434
1435 Optional Features:
1436   --disable-option-checking  ignore unrecognized --enable/--with options
1437   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1438   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1439   --enable-silent-rules   less verbose build output (undo: "make V=1")
1440   --disable-silent-rules  verbose build output (undo: "make V=0")
1441   --enable-dependency-tracking 
1442                           do not reject slow dependency extractors
1443   --disable-dependency-tracking 
1444                           speeds up one-time build
1445   --enable-debug          enable debugging
1446   --disable-nls           do not use Native Language Support
1447   --disable-rpath         do not hardcode runtime library paths
1448
1449 Optional Packages:
1450   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1451   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1452   --with-media(=MEDIA)    use output media Letter (MEDIA), default is A4
1453   --with-encoding(=ENCODING) use input encoding (ENCODING), default is latin1
1454   --with-spooler=SPOOLER  set the printer spooler command
1455   --with-ps-level=LEVEL   set the PostScript language level to LEVEL
1456   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1457   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1458   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1459   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1460   --without-libintl-prefix     don't search for libintl in includedir and libdir
1461
1462 Some influential environment variables:
1463   CC          C compiler command
1464   CFLAGS      C compiler flags
1465   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1466               nonstandard directory <lib dir>
1467   LIBS        libraries to pass to the linker, e.g. -l<library>
1468   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1469               you have headers in a nonstandard directory <include dir>
1470   YACC        The `Yet Another Compiler Compiler' implementation to use.
1471               Defaults to the first program found out of: `bison -y', `byacc',
1472               `yacc'.
1473   YFLAGS      The list of arguments that will be passed by default to @S|@YACC.
1474               This script will default YFLAGS to the empty string to avoid a
1475               default value of `-d' given by some make applications.
1476   CPP         C preprocessor
1477
1478 Use these variables to override the choices made by `configure' or to help
1479 it to find libraries and programs with nonstandard names/locations.
1480
1481 Report bugs to <bug-enscript@gnu.org>.
1482 GNU Enscript home page: <https://www.gnu.org/software/enscript/>.
1483 General help using GNU software: <https://www.gnu.org/gethelp/>.
1484 _ACEOF
1485 ac_status=$?
1486 fi
1487
1488 if test "$ac_init_help" = "recursive"; then
1489   # If there are subdirs, report their specific --help.
1490   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1491     test -d "$ac_dir" ||
1492       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493       continue
1494     ac_builddir=.
1495
1496 case "$ac_dir" in
1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 *)
1499   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1500   # A ".." for each directory in $ac_dir_suffix.
1501   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1502   case $ac_top_builddir_sub in
1503   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1505   esac ;;
1506 esac
1507 ac_abs_top_builddir=$ac_pwd
1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1509 # for backward compatibility:
1510 ac_top_builddir=$ac_top_build_prefix
1511
1512 case $srcdir in
1513   .)  # We are building in place.
1514     ac_srcdir=.
1515     ac_top_srcdir=$ac_top_builddir_sub
1516     ac_abs_top_srcdir=$ac_pwd ;;
1517   [\\/]* | ?:[\\/]* )  # Absolute name.
1518     ac_srcdir=$srcdir$ac_dir_suffix;
1519     ac_top_srcdir=$srcdir
1520     ac_abs_top_srcdir=$srcdir ;;
1521   *) # Relative name.
1522     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1523     ac_top_srcdir=$ac_top_build_prefix$srcdir
1524     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1525 esac
1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1527
1528     cd "$ac_dir" || { ac_status=$?; continue; }
1529     # Check for configure.gnu first; this name is used for a wrapper for
1530     # Metaconfig's "Configure" on case-insensitive file systems.
1531     if test -f "$ac_srcdir/configure.gnu"; then
1532       echo &&
1533       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1534     elif test -f "$ac_srcdir/configure"; then
1535       echo &&
1536       $SHELL "$ac_srcdir/configure" --help=recursive
1537     else
1538       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1539     fi || ac_status=$?
1540     cd "$ac_pwd" || { ac_status=$?; break; }
1541   done
1542 fi
1543
1544 test -n "$ac_init_help" && exit $ac_status
1545 if $ac_init_version; then
1546   cat <<\_ACEOF
1547 GNU Enscript configure 1.6.6
1548 generated by GNU Autoconf 2.71
1549
1550 Copyright (C) 2021 Free Software Foundation, Inc.
1551 This configure script is free software; the Free Software Foundation
1552 gives unlimited permission to copy, distribute and modify it.
1553 _ACEOF
1554   exit
1555 fi
1556
1557 ## ------------------------ ##
1558 ## Autoconf initialization. ##
1559 ## ------------------------ ##
1560
1561 @%:@ ac_fn_c_try_compile LINENO
1562 @%:@ --------------------------
1563 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1564 ac_fn_c_try_compile ()
1565 {
1566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1567   rm -f conftest.$ac_objext conftest.beam
1568   if { { ac_try="$ac_compile"
1569 case "(($ac_try" in
1570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1571   *) ac_try_echo=$ac_try;;
1572 esac
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 printf "%s\n" "$ac_try_echo"; } >&5
1575   (eval "$ac_compile") 2>conftest.err
1576   ac_status=$?
1577   if test -s conftest.err; then
1578     grep -v '^ *+' conftest.err >conftest.er1
1579     cat conftest.er1 >&5
1580     mv -f conftest.er1 conftest.err
1581   fi
1582   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1583   test $ac_status = 0; } && {
1584          test -z "$ac_c_werror_flag" ||
1585          test ! -s conftest.err
1586        } && test -s conftest.$ac_objext
1587 then :
1588   ac_retval=0
1589 else $as_nop
1590   printf "%s\n" "$as_me: failed program was:" >&5
1591 sed 's/^/| /' conftest.$ac_ext >&5
1592
1593         ac_retval=1
1594 fi
1595   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596   as_fn_set_status $ac_retval
1597
1598 } @%:@ ac_fn_c_try_compile
1599
1600 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601 @%:@ -------------------------------------------------------
1602 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1603 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1604 ac_fn_c_check_header_compile ()
1605 {
1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608 printf %s "checking for $2... " >&6; }
1609 if eval test \${$3+y}
1610 then :
1611   printf %s "(cached) " >&6
1612 else $as_nop
1613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h.  */
1615 $4
1616 @%:@include <$2>
1617 _ACEOF
1618 if ac_fn_c_try_compile "$LINENO"
1619 then :
1620   eval "$3=yes"
1621 else $as_nop
1622   eval "$3=no"
1623 fi
1624 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1625 fi
1626 eval ac_res=\$$3
1627                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628 printf "%s\n" "$ac_res" >&6; }
1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630
1631 } @%:@ ac_fn_c_check_header_compile
1632
1633 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1634 @%:@ -------------------------------------------
1635 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1636 @%:@ variable VAR accordingly.
1637 ac_fn_c_check_type ()
1638 {
1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1641 printf %s "checking for $2... " >&6; }
1642 if eval test \${$3+y}
1643 then :
1644   printf %s "(cached) " >&6
1645 else $as_nop
1646   eval "$3=no"
1647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h.  */
1649 $4
1650 int
1651 main (void)
1652 {
1653 if (sizeof ($2))
1654          return 0;
1655   ;
1656   return 0;
1657 }
1658 _ACEOF
1659 if ac_fn_c_try_compile "$LINENO"
1660 then :
1661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662 /* end confdefs.h.  */
1663 $4
1664 int
1665 main (void)
1666 {
1667 if (sizeof (($2)))
1668             return 0;
1669   ;
1670   return 0;
1671 }
1672 _ACEOF
1673 if ac_fn_c_try_compile "$LINENO"
1674 then :
1675   
1676 else $as_nop
1677   eval "$3=yes"
1678 fi
1679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1680 fi
1681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1682 fi
1683 eval ac_res=\$$3
1684                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 printf "%s\n" "$ac_res" >&6; }
1686   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687
1688 } @%:@ ac_fn_c_check_type
1689
1690 @%:@ ac_fn_c_try_link LINENO
1691 @%:@ -----------------------
1692 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1693 ac_fn_c_try_link ()
1694 {
1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1697   if { { ac_try="$ac_link"
1698 case "(($ac_try" in
1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700   *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 printf "%s\n" "$ac_try_echo"; } >&5
1704   (eval "$ac_link") 2>conftest.err
1705   ac_status=$?
1706   if test -s conftest.err; then
1707     grep -v '^ *+' conftest.err >conftest.er1
1708     cat conftest.er1 >&5
1709     mv -f conftest.er1 conftest.err
1710   fi
1711   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712   test $ac_status = 0; } && {
1713          test -z "$ac_c_werror_flag" ||
1714          test ! -s conftest.err
1715        } && test -s conftest$ac_exeext && {
1716          test "$cross_compiling" = yes ||
1717          test -x conftest$ac_exeext
1718        }
1719 then :
1720   ac_retval=0
1721 else $as_nop
1722   printf "%s\n" "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1724
1725         ac_retval=1
1726 fi
1727   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1728   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1729   # interfere with the next link command; also delete a directory that is
1730   # left behind by Apple's compiler.  We do this before executing the actions.
1731   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1732   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1733   as_fn_set_status $ac_retval
1734
1735 } @%:@ ac_fn_c_try_link
1736
1737 @%:@ ac_fn_c_try_run LINENO
1738 @%:@ ----------------------
1739 @%:@ Try to run conftest.@S|@ac_ext, and return whether this succeeded. Assumes that
1740 @%:@ executables *can* be run.
1741 ac_fn_c_try_run ()
1742 {
1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744   if { { ac_try="$ac_link"
1745 case "(($ac_try" in
1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747   *) ac_try_echo=$ac_try;;
1748 esac
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 printf "%s\n" "$ac_try_echo"; } >&5
1751   (eval "$ac_link") 2>&5
1752   ac_status=$?
1753   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1755   { { case "(($ac_try" in
1756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757   *) ac_try_echo=$ac_try;;
1758 esac
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 printf "%s\n" "$ac_try_echo"; } >&5
1761   (eval "$ac_try") 2>&5
1762   ac_status=$?
1763   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764   test $ac_status = 0; }; }
1765 then :
1766   ac_retval=0
1767 else $as_nop
1768   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1769        printf "%s\n" "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1771
1772        ac_retval=$ac_status
1773 fi
1774   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776   as_fn_set_status $ac_retval
1777
1778 } @%:@ ac_fn_c_try_run
1779
1780 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1781 @%:@ ----------------------------------
1782 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1783 ac_fn_c_check_func ()
1784 {
1785   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 printf %s "checking for $2... " >&6; }
1788 if eval test \${$3+y}
1789 then :
1790   printf %s "(cached) " >&6
1791 else $as_nop
1792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h.  */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1796 #define $2 innocuous_$2
1797
1798 /* System header to define __stub macros and hopefully few prototypes,
1799    which can conflict with char $2 (); below.  */
1800
1801 #include <limits.h>
1802 #undef $2
1803
1804 /* Override any GCC internal prototype to avoid an error.
1805    Use char because int might match the return type of a GCC
1806    builtin and then its argument prototype would still apply.  */
1807 #ifdef __cplusplus
1808 extern "C"
1809 #endif
1810 char $2 ();
1811 /* The GNU C library defines this for functions which it implements
1812     to always fail with ENOSYS.  Some functions are actually named
1813     something starting with __ and the normal name is an alias.  */
1814 #if defined __stub_$2 || defined __stub___$2
1815 choke me
1816 #endif
1817
1818 int
1819 main (void)
1820 {
1821 return $2 ();
1822   ;
1823   return 0;
1824 }
1825 _ACEOF
1826 if ac_fn_c_try_link "$LINENO"
1827 then :
1828   eval "$3=yes"
1829 else $as_nop
1830   eval "$3=no"
1831 fi
1832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1833     conftest$ac_exeext conftest.$ac_ext
1834 fi
1835 eval ac_res=\$$3
1836                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1837 printf "%s\n" "$ac_res" >&6; }
1838   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839
1840 } @%:@ ac_fn_c_check_func
1841
1842 @%:@ ac_fn_c_try_cpp LINENO
1843 @%:@ ----------------------
1844 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1845 ac_fn_c_try_cpp ()
1846 {
1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848   if { { ac_try="$ac_cpp conftest.$ac_ext"
1849 case "(($ac_try" in
1850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851   *) ac_try_echo=$ac_try;;
1852 esac
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 printf "%s\n" "$ac_try_echo"; } >&5
1855   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1856   ac_status=$?
1857   if test -s conftest.err; then
1858     grep -v '^ *+' conftest.err >conftest.er1
1859     cat conftest.er1 >&5
1860     mv -f conftest.er1 conftest.err
1861   fi
1862   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863   test $ac_status = 0; } > conftest.i && {
1864          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1865          test ! -s conftest.err
1866        }
1867 then :
1868   ac_retval=0
1869 else $as_nop
1870   printf "%s\n" "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1872
1873     ac_retval=1
1874 fi
1875   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876   as_fn_set_status $ac_retval
1877
1878 } @%:@ ac_fn_c_try_cpp
1879 ac_configure_args_raw=
1880 for ac_arg
1881 do
1882   case $ac_arg in
1883   *\'*)
1884     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1885   esac
1886   as_fn_append ac_configure_args_raw " '$ac_arg'"
1887 done
1888
1889 case $ac_configure_args_raw in
1890   *$as_nl*)
1891     ac_safe_unquote= ;;
1892   *)
1893     ac_unsafe_z='|&;<>()$`\\"*?@<:@ ''  ' # This string ends in space, tab.
1894     ac_unsafe_a="$ac_unsafe_z#~"
1895     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1896     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1897 esac
1898
1899 cat >config.log <<_ACEOF
1900 This file contains any messages produced by compilers while
1901 running configure, to aid debugging if configure makes a mistake.
1902
1903 It was created by GNU Enscript $as_me 1.6.6, which was
1904 generated by GNU Autoconf 2.71.  Invocation command line was
1905
1906   $ $0$ac_configure_args_raw
1907
1908 _ACEOF
1909 exec 5>>config.log
1910 {
1911 cat <<_ASUNAME
1912 ## --------- ##
1913 ## Platform. ##
1914 ## --------- ##
1915
1916 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1917 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1918 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1919 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1920 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1921
1922 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1923 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1924
1925 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1926 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1927 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1928 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1929 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1930 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1931 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1932
1933 _ASUNAME
1934
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1937 do
1938   IFS=$as_save_IFS
1939   case $as_dir in #(((
1940     '') as_dir=./ ;;
1941     */) ;;
1942     *) as_dir=$as_dir/ ;;
1943   esac
1944     printf "%s\n" "PATH: $as_dir"
1945   done
1946 IFS=$as_save_IFS
1947
1948 } >&5
1949
1950 cat >&5 <<_ACEOF
1951
1952
1953 ## ----------- ##
1954 ## Core tests. ##
1955 ## ----------- ##
1956
1957 _ACEOF
1958
1959
1960 # Keep a trace of the command line.
1961 # Strip out --no-create and --no-recursion so they do not pile up.
1962 # Strip out --silent because we don't want to record it for future runs.
1963 # Also quote any args containing shell meta-characters.
1964 # Make two passes to allow for proper duplicate-argument suppression.
1965 ac_configure_args=
1966 ac_configure_args0=
1967 ac_configure_args1=
1968 ac_must_keep_next=false
1969 for ac_pass in 1 2
1970 do
1971   for ac_arg
1972   do
1973     case $ac_arg in
1974     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1975     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1976     | -silent | --silent | --silen | --sile | --sil)
1977       continue ;;
1978     *\'*)
1979       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1980     esac
1981     case $ac_pass in
1982     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1983     2)
1984       as_fn_append ac_configure_args1 " '$ac_arg'"
1985       if test $ac_must_keep_next = true; then
1986         ac_must_keep_next=false # Got value, back to normal.
1987       else
1988         case $ac_arg in
1989           *=* | --config-cache | -C | -disable-* | --disable-* \
1990           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1991           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1992           | -with-* | --with-* | -without-* | --without-* | --x)
1993             case "$ac_configure_args0 " in
1994               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1995             esac
1996             ;;
1997           -* ) ac_must_keep_next=true ;;
1998         esac
1999       fi
2000       as_fn_append ac_configure_args " '$ac_arg'"
2001       ;;
2002     esac
2003   done
2004 done
2005 { ac_configure_args0=; unset ac_configure_args0;}
2006 { ac_configure_args1=; unset ac_configure_args1;}
2007
2008 # When interrupted or exit'd, cleanup temporary files, and complete
2009 # config.log.  We remove comments because anyway the quotes in there
2010 # would cause problems or look ugly.
2011 # WARNING: Use '\'' to represent an apostrophe within the trap.
2012 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2013 trap 'exit_status=$?
2014   # Sanitize IFS.
2015   IFS=" ""      $as_nl"
2016   # Save into config.log some information that might help in debugging.
2017   {
2018     echo
2019
2020     printf "%s\n" "## ---------------- ##
2021 ## Cache variables. ##
2022 ## ---------------- ##"
2023     echo
2024     # The following way of writing the cache mishandles newlines in values,
2025 (
2026   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2027     eval ac_val=\$$ac_var
2028     case $ac_val in #(
2029     *${as_nl}*)
2030       case $ac_var in #(
2031       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2032 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2033       esac
2034       case $ac_var in #(
2035       _ | IFS | as_nl) ;; #(
2036       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2037       *) { eval $ac_var=; unset $ac_var;} ;;
2038       esac ;;
2039     esac
2040   done
2041   (set) 2>&1 |
2042     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2043     *${as_nl}ac_space=\ *)
2044       sed -n \
2045         "s/'\''/'\''\\\\'\'''\''/g;
2046           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2047       ;; #(
2048     *)
2049       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2050       ;;
2051     esac |
2052     sort
2053 )
2054     echo
2055
2056     printf "%s\n" "## ----------------- ##
2057 ## Output variables. ##
2058 ## ----------------- ##"
2059     echo
2060     for ac_var in $ac_subst_vars
2061     do
2062       eval ac_val=\$$ac_var
2063       case $ac_val in
2064       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2065       esac
2066       printf "%s\n" "$ac_var='\''$ac_val'\''"
2067     done | sort
2068     echo
2069
2070     if test -n "$ac_subst_files"; then
2071       printf "%s\n" "## ------------------- ##
2072 ## File substitutions. ##
2073 ## ------------------- ##"
2074       echo
2075       for ac_var in $ac_subst_files
2076       do
2077         eval ac_val=\$$ac_var
2078         case $ac_val in
2079         *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2080         esac
2081         printf "%s\n" "$ac_var='\''$ac_val'\''"
2082       done | sort
2083       echo
2084     fi
2085
2086     if test -s confdefs.h; then
2087       printf "%s\n" "## ----------- ##
2088 ## confdefs.h. ##
2089 ## ----------- ##"
2090       echo
2091       cat confdefs.h
2092       echo
2093     fi
2094     test "$ac_signal" != 0 &&
2095       printf "%s\n" "$as_me: caught signal $ac_signal"
2096     printf "%s\n" "$as_me: exit $exit_status"
2097   } >&5
2098   rm -f core *.core core.conftest.* &&
2099     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2100     exit $exit_status
2101 ' 0
2102 for ac_signal in 1 2 13 15; do
2103   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2104 done
2105 ac_signal=0
2106
2107 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2108 rm -f -r conftest* confdefs.h
2109
2110 printf "%s\n" "/* confdefs.h */" > confdefs.h
2111
2112 # Predefined preprocessor variables.
2113
2114 printf "%s\n" "@%:@define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2115
2116 printf "%s\n" "@%:@define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2117
2118 printf "%s\n" "@%:@define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2119
2120 printf "%s\n" "@%:@define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2121
2122 printf "%s\n" "@%:@define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2123
2124 printf "%s\n" "@%:@define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2125
2126
2127 # Let the site file select an alternate cache file if it wants to.
2128 # Prefer an explicitly selected file to automatically selected ones.
2129 if test -n "$CONFIG_SITE"; then
2130   ac_site_files="$CONFIG_SITE"
2131 elif test "x$prefix" != xNONE; then
2132   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2133 else
2134   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2135 fi
2136
2137 for ac_site_file in $ac_site_files
2138 do
2139   case $ac_site_file in @%:@(
2140   */*) :
2141      ;; @%:@(
2142   *) :
2143     ac_site_file=./$ac_site_file ;;
2144 esac
2145   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2146     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2147 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2148     sed 's/^/| /' "$ac_site_file" >&5
2149     . "$ac_site_file" \
2150       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2151 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2152 as_fn_error $? "failed to load site script $ac_site_file
2153 See \`config.log' for more details" "$LINENO" 5; }
2154   fi
2155 done
2156
2157 if test -r "$cache_file"; then
2158   # Some versions of bash will fail to source /dev/null (special files
2159   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2160   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2161     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2162 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2163     case $cache_file in
2164       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2165       *)                      . "./$cache_file";;
2166     esac
2167   fi
2168 else
2169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2170 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2171   >$cache_file
2172 fi
2173
2174 # Test code for whether the C compiler supports C89 (global declarations)
2175 ac_c_conftest_c89_globals='
2176 /* Does the compiler advertise C89 conformance?
2177    Do not test the value of __STDC__, because some compilers set it to 0
2178    while being otherwise adequately conformant. */
2179 #if !defined __STDC__
2180 # error "Compiler does not advertise C89 conformance"
2181 #endif
2182
2183 #include <stddef.h>
2184 #include <stdarg.h>
2185 struct stat;
2186 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2187 struct buf { int x; };
2188 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2189 static char *e (p, i)
2190      char **p;
2191      int i;
2192 {
2193   return p[i];
2194 }
2195 static char *f (char * (*g) (char **, int), char **p, ...)
2196 {
2197   char *s;
2198   va_list v;
2199   va_start (v,p);
2200   s = g (p, va_arg (v,int));
2201   va_end (v);
2202   return s;
2203 }
2204
2205 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2206    function prototypes and stuff, but not \xHH hex character constants.
2207    These do not provoke an error unfortunately, instead are silently treated
2208    as an "x".  The following induces an error, until -std is added to get
2209    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2210    array size at least.  It is necessary to write \x00 == 0 to get something
2211    that is true only with -std.  */
2212 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2213
2214 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2215    inside strings and character constants.  */
2216 #define FOO(x) '\''x'\''
2217 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2218
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2223                int, int);'
2224
2225 # Test code for whether the C compiler supports C89 (body of main).
2226 ac_c_conftest_c89_main='
2227 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2228 '
2229
2230 # Test code for whether the C compiler supports C99 (global declarations)
2231 ac_c_conftest_c99_globals='
2232 // Does the compiler advertise C99 conformance?
2233 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2234 # error "Compiler does not advertise C99 conformance"
2235 #endif
2236
2237 #include <stdbool.h>
2238 extern int puts (const char *);
2239 extern int printf (const char *, ...);
2240 extern int dprintf (int, const char *, ...);
2241 extern void *malloc (size_t);
2242
2243 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2244 // dprintf is used instead of fprintf to avoid needing to declare
2245 // FILE and stderr.
2246 #define debug(...) dprintf (2, __VA_ARGS__)
2247 #define showlist(...) puts (#__VA_ARGS__)
2248 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2249 static void
2250 test_varargs_macros (void)
2251 {
2252   int x = 1234;
2253   int y = 5678;
2254   debug ("Flag");
2255   debug ("X = %d\n", x);
2256   showlist (The first, second, and third items.);
2257   report (x>y, "x is %d but y is %d", x, y);
2258 }
2259
2260 // Check long long types.
2261 #define BIG64 18446744073709551615ull
2262 #define BIG32 4294967295ul
2263 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2264 #if !BIG_OK
2265   #error "your preprocessor is broken"
2266 #endif
2267 #if BIG_OK
2268 #else
2269   #error "your preprocessor is broken"
2270 #endif
2271 static long long int bignum = -9223372036854775807LL;
2272 static unsigned long long int ubignum = BIG64;
2273
2274 struct incomplete_array
2275 {
2276   int datasize;
2277   double data[];
2278 };
2279
2280 struct named_init {
2281   int number;
2282   const wchar_t *name;
2283   double average;
2284 };
2285
2286 typedef const char *ccp;
2287
2288 static inline int
2289 test_restrict (ccp restrict text)
2290 {
2291   // See if C++-style comments work.
2292   // Iterate through items via the restricted pointer.
2293   // Also check for declarations in for loops.
2294   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2295     continue;
2296   return 0;
2297 }
2298
2299 // Check varargs and va_copy.
2300 static bool
2301 test_varargs (const char *format, ...)
2302 {
2303   va_list args;
2304   va_start (args, format);
2305   va_list args_copy;
2306   va_copy (args_copy, args);
2307
2308   const char *str = "";
2309   int number = 0;
2310   float fnumber = 0;
2311
2312   while (*format)
2313     {
2314       switch (*format++)
2315         {
2316         case '\''s'\'': // string
2317           str = va_arg (args_copy, const char *);
2318           break;
2319         case '\''d'\'': // int
2320           number = va_arg (args_copy, int);
2321           break;
2322         case '\''f'\'': // float
2323           fnumber = va_arg (args_copy, double);
2324           break;
2325         default:
2326           break;
2327         }
2328     }
2329   va_end (args_copy);
2330   va_end (args);
2331
2332   return *str && number && fnumber;
2333 }
2334 '
2335
2336 # Test code for whether the C compiler supports C99 (body of main).
2337 ac_c_conftest_c99_main='
2338   // Check bool.
2339   _Bool success = false;
2340   success |= (argc != 0);
2341
2342   // Check restrict.
2343   if (test_restrict ("String literal") == 0)
2344     success = true;
2345   char *restrict newvar = "Another string";
2346
2347   // Check varargs.
2348   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2349   test_varargs_macros ();
2350
2351   // Check flexible array members.
2352   struct incomplete_array *ia =
2353     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2354   ia->datasize = 10;
2355   for (int i = 0; i < ia->datasize; ++i)
2356     ia->data[i] = i * 1.234;
2357
2358   // Check named initializers.
2359   struct named_init ni = {
2360     .number = 34,
2361     .name = L"Test wide string",
2362     .average = 543.34343,
2363   };
2364
2365   ni.number = 58;
2366
2367   int dynamic_array[ni.number];
2368   dynamic_array[0] = argv[0][0];
2369   dynamic_array[ni.number - 1] = 543;
2370
2371   // work around unused variable warnings
2372   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2373          || dynamic_array[ni.number - 1] != 543);
2374 '
2375
2376 # Test code for whether the C compiler supports C11 (global declarations)
2377 ac_c_conftest_c11_globals='
2378 // Does the compiler advertise C11 conformance?
2379 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2380 # error "Compiler does not advertise C11 conformance"
2381 #endif
2382
2383 // Check _Alignas.
2384 char _Alignas (double) aligned_as_double;
2385 char _Alignas (0) no_special_alignment;
2386 extern char aligned_as_int;
2387 char _Alignas (0) _Alignas (int) aligned_as_int;
2388
2389 // Check _Alignof.
2390 enum
2391 {
2392   int_alignment = _Alignof (int),
2393   int_array_alignment = _Alignof (int[100]),
2394   char_alignment = _Alignof (char)
2395 };
2396 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2397
2398 // Check _Noreturn.
2399 int _Noreturn does_not_return (void) { for (;;) continue; }
2400
2401 // Check _Static_assert.
2402 struct test_static_assert
2403 {
2404   int x;
2405   _Static_assert (sizeof (int) <= sizeof (long int),
2406                   "_Static_assert does not work in struct");
2407   long int y;
2408 };
2409
2410 // Check UTF-8 literals.
2411 #define u8 syntax error!
2412 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2413
2414 // Check duplicate typedefs.
2415 typedef long *long_ptr;
2416 typedef long int *long_ptr;
2417 typedef long_ptr long_ptr;
2418
2419 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2420 struct anonymous
2421 {
2422   union {
2423     struct { int i; int j; };
2424     struct { int k; long int l; } w;
2425   };
2426   int m;
2427 } v1;
2428 '
2429
2430 # Test code for whether the C compiler supports C11 (body of main).
2431 ac_c_conftest_c11_main='
2432   _Static_assert ((offsetof (struct anonymous, i)
2433                    == offsetof (struct anonymous, w.k)),
2434                   "Anonymous union alignment botch");
2435   v1.i = 2;
2436   v1.w.k = 5;
2437   ok |= v1.i != 5;
2438 '
2439
2440 # Test code for whether the C compiler supports C11 (complete).
2441 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2442 ${ac_c_conftest_c99_globals}
2443 ${ac_c_conftest_c11_globals}
2444
2445 int
2446 main (int argc, char **argv)
2447 {
2448   int ok = 0;
2449   ${ac_c_conftest_c89_main}
2450   ${ac_c_conftest_c99_main}
2451   ${ac_c_conftest_c11_main}
2452   return ok;
2453 }
2454 "
2455
2456 # Test code for whether the C compiler supports C99 (complete).
2457 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2458 ${ac_c_conftest_c99_globals}
2459
2460 int
2461 main (int argc, char **argv)
2462 {
2463   int ok = 0;
2464   ${ac_c_conftest_c89_main}
2465   ${ac_c_conftest_c99_main}
2466   return ok;
2467 }
2468 "
2469
2470 # Test code for whether the C compiler supports C89 (complete).
2471 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2472
2473 int
2474 main (int argc, char **argv)
2475 {
2476   int ok = 0;
2477   ${ac_c_conftest_c89_main}
2478   return ok;
2479 }
2480 "
2481
2482 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2483 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2484 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2485 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2486 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2487 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2488 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2489 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2490 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2491 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2492 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2493 as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF"
2494 gt_needs="$gt_needs "
2495
2496 # Auxiliary files required by this configure script.
2497 ac_aux_files="config.guess config.sub config.rpath compile missing install-sh"
2498
2499 # Locations in which to look for auxiliary files.
2500 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2501
2502 # Search for a directory containing all of the required auxiliary files,
2503 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2504 # If we don't find one directory that contains all the files we need,
2505 # we report the set of missing files from the *first* directory in
2506 # $ac_aux_dir_candidates and give up.
2507 ac_missing_aux_files=""
2508 ac_first_candidate=:
2509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 as_found=false
2512 for as_dir in $ac_aux_dir_candidates
2513 do
2514   IFS=$as_save_IFS
2515   case $as_dir in #(((
2516     '') as_dir=./ ;;
2517     */) ;;
2518     *) as_dir=$as_dir/ ;;
2519   esac
2520   as_found=:
2521   
2522   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
2523   ac_aux_dir_found=yes
2524   ac_install_sh=
2525   for ac_aux in $ac_aux_files
2526   do
2527     # As a special case, if "install-sh" is required, that requirement
2528     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2529     # and $ac_install_sh is set appropriately for whichever one is found.
2530     if test x"$ac_aux" = x"install-sh"
2531     then
2532       if test -f "${as_dir}install-sh"; then
2533         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
2534         ac_install_sh="${as_dir}install-sh -c"
2535       elif test -f "${as_dir}install.sh"; then
2536         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
2537         ac_install_sh="${as_dir}install.sh -c"
2538       elif test -f "${as_dir}shtool"; then
2539         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
2540         ac_install_sh="${as_dir}shtool install -c"
2541       else
2542         ac_aux_dir_found=no
2543         if $ac_first_candidate; then
2544           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2545         else
2546           break
2547         fi
2548       fi
2549     else
2550       if test -f "${as_dir}${ac_aux}"; then
2551         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
2552       else
2553         ac_aux_dir_found=no
2554         if $ac_first_candidate; then
2555           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2556         else
2557           break
2558         fi
2559       fi
2560     fi
2561   done
2562   if test "$ac_aux_dir_found" = yes; then
2563     ac_aux_dir="$as_dir"
2564     break
2565   fi
2566   ac_first_candidate=false
2567
2568   as_found=false
2569 done
2570 IFS=$as_save_IFS
2571 if $as_found
2572 then :
2573   
2574 else $as_nop
2575   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2576 fi
2577
2578
2579 # These three variables are undocumented and unsupported,
2580 # and are intended to be withdrawn in a future Autoconf release.
2581 # They can cause serious problems if a builder's source tree is in a directory
2582 # whose full name contains unusual characters.
2583 if test -f "${ac_aux_dir}config.guess"; then
2584   ac_@&t@config_guess="$SHELL ${ac_aux_dir}config.guess"
2585 fi
2586 if test -f "${ac_aux_dir}config.sub"; then
2587   ac_@&t@config_sub="$SHELL ${ac_aux_dir}config.sub"
2588 fi
2589 if test -f "$ac_aux_dir/configure"; then
2590   ac_@&t@configure="$SHELL ${ac_aux_dir}configure"
2591 fi
2592
2593 # Check that the precious variables saved in the cache have kept the same
2594 # value.
2595 ac_cache_corrupted=false
2596 for ac_var in $ac_precious_vars; do
2597   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2598   eval ac_new_set=\$ac_env_${ac_var}_set
2599   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2600   eval ac_new_val=\$ac_env_${ac_var}_value
2601   case $ac_old_set,$ac_new_set in
2602     set,)
2603       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2604 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2605       ac_cache_corrupted=: ;;
2606     ,set)
2607       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2608 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2609       ac_cache_corrupted=: ;;
2610     ,);;
2611     *)
2612       if test "x$ac_old_val" != "x$ac_new_val"; then
2613         # differences in whitespace do not lead to failure.
2614         ac_old_val_w=`echo x $ac_old_val`
2615         ac_new_val_w=`echo x $ac_new_val`
2616         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2617           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2618 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2619           ac_cache_corrupted=:
2620         else
2621           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2622 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2623           eval $ac_var=\$ac_old_val
2624         fi
2625         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2626 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
2627         { printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2628 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
2629       fi;;
2630   esac
2631   # Pass precious variables to config.status.
2632   if test "$ac_new_set" = set; then
2633     case $ac_new_val in
2634     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2635     *) ac_arg=$ac_var=$ac_new_val ;;
2636     esac
2637     case " $ac_configure_args " in
2638       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2639       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2640     esac
2641   fi
2642 done
2643 if $ac_cache_corrupted; then
2644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2645 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2647 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2648   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2649             and start over" "$LINENO" 5
2650 fi
2651 ## -------------------- ##
2652 ## Main body of script. ##
2653 ## -------------------- ##
2654
2655 ac_ext=c
2656 ac_cpp='$CPP $CPPFLAGS'
2657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2660
2661
2662
2663
2664 ac_config_headers="$ac_config_headers config.h"
2665
2666
2667 am__api_version='1.16'
2668
2669
2670
2671   # Find a good install program.  We prefer a C program (faster),
2672 # so one script is as good as another.  But avoid the broken or
2673 # incompatible versions:
2674 # SysV /etc/install, /usr/sbin/install
2675 # SunOS /usr/etc/install
2676 # IRIX /sbin/install
2677 # AIX /bin/install
2678 # AmigaOS /C/install, which installs bootblocks on floppy discs
2679 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2680 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2681 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2682 # OS/2's system install, which has a completely different semantic
2683 # ./install, which can be erroneously created by make from ./install.sh.
2684 # Reject install programs that cannot install multiple files.
2685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2686 printf %s "checking for a BSD-compatible install... " >&6; }
2687 if test -z "$INSTALL"; then
2688 if test ${ac_cv_path_install+y}
2689 then :
2690   printf %s "(cached) " >&6
2691 else $as_nop
2692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH
2694 do
2695   IFS=$as_save_IFS
2696   case $as_dir in #(((
2697     '') as_dir=./ ;;
2698     */) ;;
2699     *) as_dir=$as_dir/ ;;
2700   esac
2701     # Account for fact that we put trailing slashes in our PATH walk.
2702 case $as_dir in @%:@((
2703   ./ | /[cC]/* | \
2704   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2705   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2706   /usr/ucb/* ) ;;
2707   *)
2708     # OSF1 and SCO ODT 3.0 have their own names for install.
2709     # Don't use installbsd from OSF since it installs stuff as root
2710     # by default.
2711     for ac_prog in ginstall scoinst install; do
2712       for ac_exec_ext in '' $ac_executable_extensions; do
2713         if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2714           if test $ac_prog = install &&
2715             grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2716             # AIX install.  It has an incompatible calling convention.
2717             :
2718           elif test $ac_prog = install &&
2719             grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2720             # program-specific install script used by HP pwplus--don't use.
2721             :
2722           else
2723             rm -rf conftest.one conftest.two conftest.dir
2724             echo one > conftest.one
2725             echo two > conftest.two
2726             mkdir conftest.dir
2727             if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2728               test -s conftest.one && test -s conftest.two &&
2729               test -s conftest.dir/conftest.one &&
2730               test -s conftest.dir/conftest.two
2731             then
2732               ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2733               break 3
2734             fi
2735           fi
2736         fi
2737       done
2738     done
2739     ;;
2740 esac
2741
2742   done
2743 IFS=$as_save_IFS
2744
2745 rm -rf conftest.one conftest.two conftest.dir
2746
2747 fi
2748   if test ${ac_cv_path_install+y}; then
2749     INSTALL=$ac_cv_path_install
2750   else
2751     # As a last resort, use the slow shell script.  Don't cache a
2752     # value for INSTALL within a source directory, because that will
2753     # break other packages using the cache if that directory is
2754     # removed, or if the value is a relative name.
2755     INSTALL=$ac_install_sh
2756   fi
2757 fi
2758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2759 printf "%s\n" "$INSTALL" >&6; }
2760
2761 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2762 # It thinks the first close brace ends the variable substitution.
2763 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2764
2765 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2766
2767 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2768
2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2770 printf %s "checking whether build environment is sane... " >&6; }
2771 # Reject unsafe characters in $srcdir or the absolute working directory
2772 # name.  Accept space and tab only in the latter.
2773 am_lf='
2774 '
2775 case `pwd` in
2776   *[\\\"\#\$\&\'\`$am_lf]*)
2777     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2778 esac
2779 case $srcdir in
2780   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2781     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2782 esac
2783
2784 # Do 'set' in a subshell so we don't clobber the current shell's
2785 # arguments.  Must try -L first in case configure is actually a
2786 # symlink; some systems play weird games with the mod time of symlinks
2787 # (eg FreeBSD returns the mod time of the symlink's containing
2788 # directory).
2789 if (
2790    am_has_slept=no
2791    for am_try in 1 2; do
2792      echo "timestamp, slept: $am_has_slept" > conftest.file
2793      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2794      if test "$*" = "X"; then
2795         # -L didn't work.
2796         set X `ls -t "$srcdir/configure" conftest.file`
2797      fi
2798      if test "$*" != "X $srcdir/configure conftest.file" \
2799         && test "$*" != "X conftest.file $srcdir/configure"; then
2800
2801         # If neither matched, then we have a broken ls.  This can happen
2802         # if, for instance, CONFIG_SHELL is bash and it inherits a
2803         # broken ls alias from the environment.  This has actually
2804         # happened.  Such a system could not be considered "sane".
2805         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2806   alias in your environment" "$LINENO" 5
2807      fi
2808      if test "$2" = conftest.file || test $am_try -eq 2; then
2809        break
2810      fi
2811      # Just in case.
2812      sleep 1
2813      am_has_slept=yes
2814    done
2815    test "$2" = conftest.file
2816    )
2817 then
2818    # Ok.
2819    :
2820 else
2821    as_fn_error $? "newly created file is older than distributed files!
2822 Check your system clock" "$LINENO" 5
2823 fi
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2825 printf "%s\n" "yes" >&6; }
2826 # If we didn't sleep, we still need to ensure time stamps of config.status and
2827 # generated files are strictly newer.
2828 am_sleep_pid=
2829 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2830   ( sleep 1 ) &
2831   am_sleep_pid=$!
2832 fi
2833
2834 rm -f conftest.file
2835
2836 test "$program_prefix" != NONE &&
2837   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2838 # Use a double $ so make ignores it.
2839 test "$program_suffix" != NONE &&
2840   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2841 # Double any \ or $.
2842 # By default was `s,x,x', remove it if useless.
2843 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2844 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2845
2846
2847 # Expand $ac_aux_dir to an absolute path.
2848 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2849
2850
2851   if test x"${MISSING+set}" != xset; then
2852   MISSING="\${SHELL} '$am_aux_dir/missing'"
2853 fi
2854 # Use eval to expand $SHELL
2855 if eval "$MISSING --is-lightweight"; then
2856   am_missing_run="$MISSING "
2857 else
2858   am_missing_run=
2859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2860 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2861 fi
2862
2863 if test x"${install_sh+set}" != xset; then
2864   case $am_aux_dir in
2865   *\ * | *\     *)
2866     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2867   *)
2868     install_sh="\${SHELL} $am_aux_dir/install-sh"
2869   esac
2870 fi
2871
2872 # Installed binaries are usually stripped using 'strip' when the user
2873 # run "make install-strip".  However 'strip' might not be the right
2874 # tool to use in cross-compilation environments, therefore Automake
2875 # will honor the 'STRIP' environment variable to overrule this program.
2876 if test "$cross_compiling" != no; then
2877   if test -n "$ac_tool_prefix"; then
2878   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2879 set dummy ${ac_tool_prefix}strip; ac_word=$2
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 printf %s "checking for $ac_word... " >&6; }
2882 if test ${ac_cv_prog_STRIP+y}
2883 then :
2884   printf %s "(cached) " >&6
2885 else $as_nop
2886   if test -n "$STRIP"; then
2887   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2888 else
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890 for as_dir in $PATH
2891 do
2892   IFS=$as_save_IFS
2893   case $as_dir in #(((
2894     '') as_dir=./ ;;
2895     */) ;;
2896     *) as_dir=$as_dir/ ;;
2897   esac
2898     for ac_exec_ext in '' $ac_executable_extensions; do
2899   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2900     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2901     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2902     break 2
2903   fi
2904 done
2905   done
2906 IFS=$as_save_IFS
2907
2908 fi
2909 fi
2910 STRIP=$ac_cv_prog_STRIP
2911 if test -n "$STRIP"; then
2912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2913 printf "%s\n" "$STRIP" >&6; }
2914 else
2915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2916 printf "%s\n" "no" >&6; }
2917 fi
2918
2919
2920 fi
2921 if test -z "$ac_cv_prog_STRIP"; then
2922   ac_ct_STRIP=$STRIP
2923   # Extract the first word of "strip", so it can be a program name with args.
2924 set dummy strip; ac_word=$2
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2926 printf %s "checking for $ac_word... " >&6; }
2927 if test ${ac_cv_prog_ac_ct_STRIP+y}
2928 then :
2929   printf %s "(cached) " >&6
2930 else $as_nop
2931   if test -n "$ac_ct_STRIP"; then
2932   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2933 else
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 for as_dir in $PATH
2936 do
2937   IFS=$as_save_IFS
2938   case $as_dir in #(((
2939     '') as_dir=./ ;;
2940     */) ;;
2941     *) as_dir=$as_dir/ ;;
2942   esac
2943     for ac_exec_ext in '' $ac_executable_extensions; do
2944   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2945     ac_cv_prog_ac_ct_STRIP="strip"
2946     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2947     break 2
2948   fi
2949 done
2950   done
2951 IFS=$as_save_IFS
2952
2953 fi
2954 fi
2955 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2956 if test -n "$ac_ct_STRIP"; then
2957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2958 printf "%s\n" "$ac_ct_STRIP" >&6; }
2959 else
2960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 printf "%s\n" "no" >&6; }
2962 fi
2963
2964   if test "x$ac_ct_STRIP" = x; then
2965     STRIP=":"
2966   else
2967     case $cross_compiling:$ac_tool_warned in
2968 yes:)
2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2970 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2971 ac_tool_warned=yes ;;
2972 esac
2973     STRIP=$ac_ct_STRIP
2974   fi
2975 else
2976   STRIP="$ac_cv_prog_STRIP"
2977 fi
2978
2979 fi
2980 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2981
2982
2983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2984 printf %s "checking for a race-free mkdir -p... " >&6; }
2985 if test -z "$MKDIR_P"; then
2986   if test ${ac_cv_path_mkdir+y}
2987 then :
2988   printf %s "(cached) " >&6
2989 else $as_nop
2990   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2992 do
2993   IFS=$as_save_IFS
2994   case $as_dir in #(((
2995     '') as_dir=./ ;;
2996     */) ;;
2997     *) as_dir=$as_dir/ ;;
2998   esac
2999     for ac_prog in mkdir gmkdir; do
3000          for ac_exec_ext in '' $ac_executable_extensions; do
3001            as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
3002            case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3003              'mkdir ('*'coreutils) '* | \
3004              'BusyBox '* | \
3005              'mkdir (fileutils) '4.1*)
3006                ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
3007                break 3;;
3008            esac
3009          done
3010        done
3011   done
3012 IFS=$as_save_IFS
3013
3014 fi
3015
3016   test -d ./--version && rmdir ./--version
3017   if test ${ac_cv_path_mkdir+y}; then
3018     MKDIR_P="$ac_cv_path_mkdir -p"
3019   else
3020     # As a last resort, use the slow shell script.  Don't cache a
3021     # value for MKDIR_P within a source directory, because that will
3022     # break other packages using the cache if that directory is
3023     # removed, or if the value is a relative name.
3024     MKDIR_P="$ac_install_sh -d"
3025   fi
3026 fi
3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3028 printf "%s\n" "$MKDIR_P" >&6; }
3029
3030 for ac_prog in gawk mawk nawk awk
3031 do
3032   # Extract the first word of "$ac_prog", so it can be a program name with args.
3033 set dummy $ac_prog; ac_word=$2
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 printf %s "checking for $ac_word... " >&6; }
3036 if test ${ac_cv_prog_AWK+y}
3037 then :
3038   printf %s "(cached) " >&6
3039 else $as_nop
3040   if test -n "$AWK"; then
3041   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3042 else
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 for as_dir in $PATH
3045 do
3046   IFS=$as_save_IFS
3047   case $as_dir in #(((
3048     '') as_dir=./ ;;
3049     */) ;;
3050     *) as_dir=$as_dir/ ;;
3051   esac
3052     for ac_exec_ext in '' $ac_executable_extensions; do
3053   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3054     ac_cv_prog_AWK="$ac_prog"
3055     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3056     break 2
3057   fi
3058 done
3059   done
3060 IFS=$as_save_IFS
3061
3062 fi
3063 fi
3064 AWK=$ac_cv_prog_AWK
3065 if test -n "$AWK"; then
3066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3067 printf "%s\n" "$AWK" >&6; }
3068 else
3069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 printf "%s\n" "no" >&6; }
3071 fi
3072
3073
3074   test -n "$AWK" && break
3075 done
3076
3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3078 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3079 set x ${MAKE-make}
3080 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3081 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
3082 then :
3083   printf %s "(cached) " >&6
3084 else $as_nop
3085   cat >conftest.make <<\_ACEOF
3086 SHELL = /bin/sh
3087 all:
3088         @echo '@@@%%%=$(MAKE)=@@@%%%'
3089 _ACEOF
3090 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3091 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3092   *@@@%%%=?*=@@@%%%*)
3093     eval ac_cv_prog_make_${ac_make}_set=yes;;
3094   *)
3095     eval ac_cv_prog_make_${ac_make}_set=no;;
3096 esac
3097 rm -f conftest.make
3098 fi
3099 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3101 printf "%s\n" "yes" >&6; }
3102   SET_MAKE=
3103 else
3104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 printf "%s\n" "no" >&6; }
3106   SET_MAKE="MAKE=${MAKE-make}"
3107 fi
3108
3109 rm -rf .tst 2>/dev/null
3110 mkdir .tst 2>/dev/null
3111 if test -d .tst; then
3112   am__leading_dot=.
3113 else
3114   am__leading_dot=_
3115 fi
3116 rmdir .tst 2>/dev/null
3117
3118 @%:@ Check whether --enable-silent-rules was given.
3119 if test ${enable_silent_rules+y}
3120 then :
3121   enableval=$enable_silent_rules; 
3122 fi
3123
3124 case $enable_silent_rules in @%:@ (((
3125   yes) AM_DEFAULT_VERBOSITY=0;;
3126    no) AM_DEFAULT_VERBOSITY=1;;
3127     *) AM_DEFAULT_VERBOSITY=1;;
3128 esac
3129 am_make=${MAKE-make}
3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3131 printf %s "checking whether $am_make supports nested variables... " >&6; }
3132 if test ${am_cv_make_support_nested_variables+y}
3133 then :
3134   printf %s "(cached) " >&6
3135 else $as_nop
3136   if printf "%s\n" 'TRUE=$(BAR$(V))
3137 BAR0=false
3138 BAR1=true
3139 V=1
3140 am__doit:
3141         @$(TRUE)
3142 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3143   am_cv_make_support_nested_variables=yes
3144 else
3145   am_cv_make_support_nested_variables=no
3146 fi
3147 fi
3148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3149 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3150 if test $am_cv_make_support_nested_variables = yes; then
3151     AM_V='$(V)'
3152   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3153 else
3154   AM_V=$AM_DEFAULT_VERBOSITY
3155   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3156 fi
3157 AM_BACKSLASH='\'
3158
3159 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3160   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3161   # is not polluted with repeated "-I."
3162   am__isrc=' -I$(srcdir)'
3163   # test to see if srcdir already configured
3164   if test -f $srcdir/config.status; then
3165     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3166   fi
3167 fi
3168
3169 # test whether we have cygpath
3170 if test -z "$CYGPATH_W"; then
3171   if (cygpath --version) >/dev/null 2>/dev/null; then
3172     CYGPATH_W='cygpath -w'
3173   else
3174     CYGPATH_W=echo
3175   fi
3176 fi
3177
3178
3179 # Define the identity of the package.
3180  PACKAGE='enscript'
3181  VERSION='1.6.6'
3182
3183
3184 printf "%s\n" "@%:@define PACKAGE \"$PACKAGE\"" >>confdefs.h
3185
3186  
3187 printf "%s\n" "@%:@define VERSION \"$VERSION\"" >>confdefs.h
3188
3189 # Some tools Automake needs.
3190
3191 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3192
3193
3194 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3195
3196
3197 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3198
3199
3200 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3201
3202
3203 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3204
3205 # For better backward compatibility.  To be removed once Automake 1.9.x
3206 # dies out for good.  For more background, see:
3207 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3208 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3209 mkdir_p='$(MKDIR_P)'
3210
3211 # We need awk for the "check" target (and possibly the TAP driver).  The
3212 # system "awk" is bad on some platforms.
3213 # Always define AMTAR for backward compatibility.  Yes, it's still used
3214 # in the wild :-(  We should find a proper way to deprecate it ...
3215 AMTAR='$${TAR-tar}'
3216
3217
3218 # We'll loop over all known methods to create a tar archive until one works.
3219 _am_tools='gnutar  pax cpio none'
3220
3221 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3222
3223
3224
3225
3226
3227 # Variables for tags utilities; see am/tags.am
3228 if test -z "$CTAGS"; then
3229   CTAGS=ctags
3230 fi
3231
3232 if test -z "$ETAGS"; then
3233   ETAGS=etags
3234 fi
3235
3236 if test -z "$CSCOPE"; then
3237   CSCOPE=cscope
3238 fi
3239
3240
3241
3242 # POSIX will say in a future version that running "rm -f" with no argument
3243 # is OK; and we want to be able to make that assumption in our Makefile
3244 # recipes.  So use an aggressive probe to check that the usage we want is
3245 # actually supported "in the wild" to an acceptable degree.
3246 # See automake bug#10828.
3247 # To make any issue more visible, cause the running configure to be aborted
3248 # by default if the 'rm' program in use doesn't match our expectations; the
3249 # user can still override this though.
3250 if rm -f && rm -fr && rm -rf; then : OK; else
3251   cat >&2 <<'END'
3252 Oops!
3253
3254 Your 'rm' program seems unable to run without file operands specified
3255 on the command line, even when the '-f' option is present.  This is contrary
3256 to the behaviour of most rm programs out there, and not conforming with
3257 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3258
3259 Please tell bug-automake@gnu.org about your system, including the value
3260 of your $PATH and any error possibly output before this message.  This
3261 can help us improve future automake versions.
3262
3263 END
3264   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3265     echo 'Configuration will proceed anyway, since you have set the' >&2
3266     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3267     echo >&2
3268   else
3269     cat >&2 <<'END'
3270 Aborting the configuration process, to ensure you take notice of the issue.
3271
3272 You can download and install GNU coreutils to get an 'rm' implementation
3273 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3274
3275 If you want to complete the configuration process using your problematic
3276 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3277 to "yes", and re-run configure.
3278
3279 END
3280     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3281   fi
3282 fi
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296 ac_ext=c
3297 ac_cpp='$CPP $CPPFLAGS'
3298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3301 if test -n "$ac_tool_prefix"; then
3302   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3303 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305 printf %s "checking for $ac_word... " >&6; }
3306 if test ${ac_cv_prog_CC+y}
3307 then :
3308   printf %s "(cached) " >&6
3309 else $as_nop
3310   if test -n "$CC"; then
3311   ac_cv_prog_CC="$CC" # Let the user override the test.
3312 else
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 for as_dir in $PATH
3315 do
3316   IFS=$as_save_IFS
3317   case $as_dir in #(((
3318     '') as_dir=./ ;;
3319     */) ;;
3320     *) as_dir=$as_dir/ ;;
3321   esac
3322     for ac_exec_ext in '' $ac_executable_extensions; do
3323   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3324     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3325     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3326     break 2
3327   fi
3328 done
3329   done
3330 IFS=$as_save_IFS
3331
3332 fi
3333 fi
3334 CC=$ac_cv_prog_CC
3335 if test -n "$CC"; then
3336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3337 printf "%s\n" "$CC" >&6; }
3338 else
3339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 printf "%s\n" "no" >&6; }
3341 fi
3342
3343
3344 fi
3345 if test -z "$ac_cv_prog_CC"; then
3346   ac_ct_CC=$CC
3347   # Extract the first word of "gcc", so it can be a program name with args.
3348 set dummy gcc; ac_word=$2
3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 printf %s "checking for $ac_word... " >&6; }
3351 if test ${ac_cv_prog_ac_ct_CC+y}
3352 then :
3353   printf %s "(cached) " >&6
3354 else $as_nop
3355   if test -n "$ac_ct_CC"; then
3356   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3357 else
3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 for as_dir in $PATH
3360 do
3361   IFS=$as_save_IFS
3362   case $as_dir in #(((
3363     '') as_dir=./ ;;
3364     */) ;;
3365     *) as_dir=$as_dir/ ;;
3366   esac
3367     for ac_exec_ext in '' $ac_executable_extensions; do
3368   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3369     ac_cv_prog_ac_ct_CC="gcc"
3370     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3371     break 2
3372   fi
3373 done
3374   done
3375 IFS=$as_save_IFS
3376
3377 fi
3378 fi
3379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3380 if test -n "$ac_ct_CC"; then
3381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3382 printf "%s\n" "$ac_ct_CC" >&6; }
3383 else
3384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 printf "%s\n" "no" >&6; }
3386 fi
3387
3388   if test "x$ac_ct_CC" = x; then
3389     CC=""
3390   else
3391     case $cross_compiling:$ac_tool_warned in
3392 yes:)
3393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3394 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3395 ac_tool_warned=yes ;;
3396 esac
3397     CC=$ac_ct_CC
3398   fi
3399 else
3400   CC="$ac_cv_prog_CC"
3401 fi
3402
3403 if test -z "$CC"; then
3404           if test -n "$ac_tool_prefix"; then
3405     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3406 set dummy ${ac_tool_prefix}cc; ac_word=$2
3407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 printf %s "checking for $ac_word... " >&6; }
3409 if test ${ac_cv_prog_CC+y}
3410 then :
3411   printf %s "(cached) " >&6
3412 else $as_nop
3413   if test -n "$CC"; then
3414   ac_cv_prog_CC="$CC" # Let the user override the test.
3415 else
3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 for as_dir in $PATH
3418 do
3419   IFS=$as_save_IFS
3420   case $as_dir in #(((
3421     '') as_dir=./ ;;
3422     */) ;;
3423     *) as_dir=$as_dir/ ;;
3424   esac
3425     for ac_exec_ext in '' $ac_executable_extensions; do
3426   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3427     ac_cv_prog_CC="${ac_tool_prefix}cc"
3428     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3429     break 2
3430   fi
3431 done
3432   done
3433 IFS=$as_save_IFS
3434
3435 fi
3436 fi
3437 CC=$ac_cv_prog_CC
3438 if test -n "$CC"; then
3439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3440 printf "%s\n" "$CC" >&6; }
3441 else
3442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 printf "%s\n" "no" >&6; }
3444 fi
3445
3446
3447   fi
3448 fi
3449 if test -z "$CC"; then
3450   # Extract the first word of "cc", so it can be a program name with args.
3451 set dummy cc; ac_word=$2
3452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3453 printf %s "checking for $ac_word... " >&6; }
3454 if test ${ac_cv_prog_CC+y}
3455 then :
3456   printf %s "(cached) " >&6
3457 else $as_nop
3458   if test -n "$CC"; then
3459   ac_cv_prog_CC="$CC" # Let the user override the test.
3460 else
3461   ac_prog_rejected=no
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3463 for as_dir in $PATH
3464 do
3465   IFS=$as_save_IFS
3466   case $as_dir in #(((
3467     '') as_dir=./ ;;
3468     */) ;;
3469     *) as_dir=$as_dir/ ;;
3470   esac
3471     for ac_exec_ext in '' $ac_executable_extensions; do
3472   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3473     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3474        ac_prog_rejected=yes
3475        continue
3476      fi
3477     ac_cv_prog_CC="cc"
3478     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3479     break 2
3480   fi
3481 done
3482   done
3483 IFS=$as_save_IFS
3484
3485 if test $ac_prog_rejected = yes; then
3486   # We found a bogon in the path, so make sure we never use it.
3487   set dummy $ac_cv_prog_CC
3488   shift
3489   if test $@%:@ != 0; then
3490     # We chose a different compiler from the bogus one.
3491     # However, it has the same basename, so the bogon will be chosen
3492     # first if we set CC to just the basename; use the full file name.
3493     shift
3494     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3495   fi
3496 fi
3497 fi
3498 fi
3499 CC=$ac_cv_prog_CC
3500 if test -n "$CC"; then
3501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3502 printf "%s\n" "$CC" >&6; }
3503 else
3504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 printf "%s\n" "no" >&6; }
3506 fi
3507
3508
3509 fi
3510 if test -z "$CC"; then
3511   if test -n "$ac_tool_prefix"; then
3512   for ac_prog in cl.exe
3513   do
3514     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 printf %s "checking for $ac_word... " >&6; }
3518 if test ${ac_cv_prog_CC+y}
3519 then :
3520   printf %s "(cached) " >&6
3521 else $as_nop
3522   if test -n "$CC"; then
3523   ac_cv_prog_CC="$CC" # Let the user override the test.
3524 else
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 for as_dir in $PATH
3527 do
3528   IFS=$as_save_IFS
3529   case $as_dir in #(((
3530     '') as_dir=./ ;;
3531     */) ;;
3532     *) as_dir=$as_dir/ ;;
3533   esac
3534     for ac_exec_ext in '' $ac_executable_extensions; do
3535   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3536     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3537     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3538     break 2
3539   fi
3540 done
3541   done
3542 IFS=$as_save_IFS
3543
3544 fi
3545 fi
3546 CC=$ac_cv_prog_CC
3547 if test -n "$CC"; then
3548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3549 printf "%s\n" "$CC" >&6; }
3550 else
3551   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 printf "%s\n" "no" >&6; }
3553 fi
3554
3555
3556     test -n "$CC" && break
3557   done
3558 fi
3559 if test -z "$CC"; then
3560   ac_ct_CC=$CC
3561   for ac_prog in cl.exe
3562 do
3563   # Extract the first word of "$ac_prog", so it can be a program name with args.
3564 set dummy $ac_prog; ac_word=$2
3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 printf %s "checking for $ac_word... " >&6; }
3567 if test ${ac_cv_prog_ac_ct_CC+y}
3568 then :
3569   printf %s "(cached) " >&6
3570 else $as_nop
3571   if test -n "$ac_ct_CC"; then
3572   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3576 do
3577   IFS=$as_save_IFS
3578   case $as_dir in #(((
3579     '') as_dir=./ ;;
3580     */) ;;
3581     *) as_dir=$as_dir/ ;;
3582   esac
3583     for ac_exec_ext in '' $ac_executable_extensions; do
3584   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3585     ac_cv_prog_ac_ct_CC="$ac_prog"
3586     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3587     break 2
3588   fi
3589 done
3590   done
3591 IFS=$as_save_IFS
3592
3593 fi
3594 fi
3595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3596 if test -n "$ac_ct_CC"; then
3597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3598 printf "%s\n" "$ac_ct_CC" >&6; }
3599 else
3600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 printf "%s\n" "no" >&6; }
3602 fi
3603
3604
3605   test -n "$ac_ct_CC" && break
3606 done
3607
3608   if test "x$ac_ct_CC" = x; then
3609     CC=""
3610   else
3611     case $cross_compiling:$ac_tool_warned in
3612 yes:)
3613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3614 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3615 ac_tool_warned=yes ;;
3616 esac
3617     CC=$ac_ct_CC
3618   fi
3619 fi
3620
3621 fi
3622 if test -z "$CC"; then
3623   if test -n "$ac_tool_prefix"; then
3624   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3625 set dummy ${ac_tool_prefix}clang; ac_word=$2
3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 printf %s "checking for $ac_word... " >&6; }
3628 if test ${ac_cv_prog_CC+y}
3629 then :
3630   printf %s "(cached) " >&6
3631 else $as_nop
3632   if test -n "$CC"; then
3633   ac_cv_prog_CC="$CC" # Let the user override the test.
3634 else
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_prog_CC="${ac_tool_prefix}clang"
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 fi
3655 fi
3656 CC=$ac_cv_prog_CC
3657 if test -n "$CC"; then
3658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 printf "%s\n" "$CC" >&6; }
3660 else
3661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 printf "%s\n" "no" >&6; }
3663 fi
3664
3665
3666 fi
3667 if test -z "$ac_cv_prog_CC"; then
3668   ac_ct_CC=$CC
3669   # Extract the first word of "clang", so it can be a program name with args.
3670 set dummy clang; ac_word=$2
3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 printf %s "checking for $ac_word... " >&6; }
3673 if test ${ac_cv_prog_ac_ct_CC+y}
3674 then :
3675   printf %s "(cached) " >&6
3676 else $as_nop
3677   if test -n "$ac_ct_CC"; then
3678   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3679 else
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3682 do
3683   IFS=$as_save_IFS
3684   case $as_dir in #(((
3685     '') as_dir=./ ;;
3686     */) ;;
3687     *) as_dir=$as_dir/ ;;
3688   esac
3689     for ac_exec_ext in '' $ac_executable_extensions; do
3690   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3691     ac_cv_prog_ac_ct_CC="clang"
3692     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3693     break 2
3694   fi
3695 done
3696   done
3697 IFS=$as_save_IFS
3698
3699 fi
3700 fi
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 printf "%s\n" "$ac_ct_CC" >&6; }
3705 else
3706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 printf "%s\n" "no" >&6; }
3708 fi
3709
3710   if test "x$ac_ct_CC" = x; then
3711     CC=""
3712   else
3713     case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719     CC=$ac_ct_CC
3720   fi
3721 else
3722   CC="$ac_cv_prog_CC"
3723 fi
3724
3725 fi
3726
3727
3728 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error $? "no acceptable C compiler found in \$PATH
3731 See \`config.log' for more details" "$LINENO" 5; }
3732
3733 # Provide some information about the compiler.
3734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3735 set X $ac_compile
3736 ac_compiler=$2
3737 for ac_option in --version -v -V -qversion -version; do
3738   { { ac_try="$ac_compiler $ac_option >&5"
3739 case "(($ac_try" in
3740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741   *) ac_try_echo=$ac_try;;
3742 esac
3743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3744 printf "%s\n" "$ac_try_echo"; } >&5
3745   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3746   ac_status=$?
3747   if test -s conftest.err; then
3748     sed '10a\
3749 ... rest of stderr output deleted ...
3750          10q' conftest.err >conftest.er1
3751     cat conftest.er1 >&5
3752   fi
3753   rm -f conftest.er1 conftest.err
3754   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755   test $ac_status = 0; }
3756 done
3757
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h.  */
3760
3761 int
3762 main (void)
3763 {
3764
3765   ;
3766   return 0;
3767 }
3768 _ACEOF
3769 ac_clean_files_save=$ac_clean_files
3770 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3771 # Try to create an executable without -o first, disregard a.out.
3772 # It will help us diagnose broken compilers, and finding out an intuition
3773 # of exeext.
3774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3775 printf %s "checking whether the C compiler works... " >&6; }
3776 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3777
3778 # The possible output files:
3779 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3780
3781 ac_rmfiles=
3782 for ac_file in $ac_files
3783 do
3784   case $ac_file in
3785     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3786     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3787   esac
3788 done
3789 rm -f $ac_rmfiles
3790
3791 if { { ac_try="$ac_link_default"
3792 case "(($ac_try" in
3793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794   *) ac_try_echo=$ac_try;;
3795 esac
3796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3797 printf "%s\n" "$ac_try_echo"; } >&5
3798   (eval "$ac_link_default") 2>&5
3799   ac_status=$?
3800   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3801   test $ac_status = 0; }
3802 then :
3803   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3804 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3805 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3806 # so that the user can short-circuit this test for compilers unknown to
3807 # Autoconf.
3808 for ac_file in $ac_files ''
3809 do
3810   test -f "$ac_file" || continue
3811   case $ac_file in
3812     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3813         ;;
3814     [ab].out )
3815         # We found the default executable, but exeext='' is most
3816         # certainly right.
3817         break;;
3818     *.* )
3819         if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3820         then :; else
3821            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3822         fi
3823         # We set ac_cv_exeext here because the later test for it is not
3824         # safe: cross compilers may not add the suffix if given an `-o'
3825         # argument, so we may need to know it at that point already.
3826         # Even if this section looks crufty: it has the advantage of
3827         # actually working.
3828         break;;
3829     * )
3830         break;;
3831   esac
3832 done
3833 test "$ac_cv_exeext" = no && ac_cv_exeext=
3834
3835 else $as_nop
3836   ac_file=''
3837 fi
3838 if test -z "$ac_file"
3839 then :
3840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 printf "%s\n" "no" >&6; }
3842 printf "%s\n" "$as_me: failed program was:" >&5
3843 sed 's/^/| /' conftest.$ac_ext >&5
3844
3845 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error 77 "C compiler cannot create executables
3848 See \`config.log' for more details" "$LINENO" 5; }
3849 else $as_nop
3850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3851 printf "%s\n" "yes" >&6; }
3852 fi
3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3854 printf %s "checking for C compiler default output file name... " >&6; }
3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3856 printf "%s\n" "$ac_file" >&6; }
3857 ac_exeext=$ac_cv_exeext
3858
3859 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3860 ac_clean_files=$ac_clean_files_save
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3862 printf %s "checking for suffix of executables... " >&6; }
3863 if { { ac_try="$ac_link"
3864 case "(($ac_try" in
3865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866   *) ac_try_echo=$ac_try;;
3867 esac
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 printf "%s\n" "$ac_try_echo"; } >&5
3870   (eval "$ac_link") 2>&5
3871   ac_status=$?
3872   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873   test $ac_status = 0; }
3874 then :
3875   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3876 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3877 # work properly (i.e., refer to `conftest.exe'), while it won't with
3878 # `rm'.
3879 for ac_file in conftest.exe conftest conftest.*; do
3880   test -f "$ac_file" || continue
3881   case $ac_file in
3882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3883     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3884           break;;
3885     * ) break;;
3886   esac
3887 done
3888 else $as_nop
3889   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3890 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3891 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3892 See \`config.log' for more details" "$LINENO" 5; }
3893 fi
3894 rm -f conftest conftest$ac_cv_exeext
3895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3896 printf "%s\n" "$ac_cv_exeext" >&6; }
3897
3898 rm -f conftest.$ac_ext
3899 EXEEXT=$ac_cv_exeext
3900 ac_exeext=$EXEEXT
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h.  */
3903 @%:@include <stdio.h>
3904 int
3905 main (void)
3906 {
3907 FILE *f = fopen ("conftest.out", "w");
3908  return ferror (f) || fclose (f) != 0;
3909
3910   ;
3911   return 0;
3912 }
3913 _ACEOF
3914 ac_clean_files="$ac_clean_files conftest.out"
3915 # Check that the compiler produces executables we can run.  If not, either
3916 # the compiler is broken, or we cross compile.
3917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3918 printf %s "checking whether we are cross compiling... " >&6; }
3919 if test "$cross_compiling" != yes; then
3920   { { ac_try="$ac_link"
3921 case "(($ac_try" in
3922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923   *) ac_try_echo=$ac_try;;
3924 esac
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 printf "%s\n" "$ac_try_echo"; } >&5
3927   (eval "$ac_link") 2>&5
3928   ac_status=$?
3929   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930   test $ac_status = 0; }
3931   if { ac_try='./conftest$ac_cv_exeext'
3932   { { case "(($ac_try" in
3933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934   *) ac_try_echo=$ac_try;;
3935 esac
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 printf "%s\n" "$ac_try_echo"; } >&5
3938   (eval "$ac_try") 2>&5
3939   ac_status=$?
3940   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941   test $ac_status = 0; }; }; then
3942     cross_compiling=no
3943   else
3944     if test "$cross_compiling" = maybe; then
3945         cross_compiling=yes
3946     else
3947         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3949 as_fn_error 77 "cannot run C compiled programs.
3950 If you meant to cross compile, use \`--host'.
3951 See \`config.log' for more details" "$LINENO" 5; }
3952     fi
3953   fi
3954 fi
3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3956 printf "%s\n" "$cross_compiling" >&6; }
3957
3958 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3959 ac_clean_files=$ac_clean_files_save
3960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3961 printf %s "checking for suffix of object files... " >&6; }
3962 if test ${ac_cv_objext+y}
3963 then :
3964   printf %s "(cached) " >&6
3965 else $as_nop
3966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h.  */
3968
3969 int
3970 main (void)
3971 {
3972
3973   ;
3974   return 0;
3975 }
3976 _ACEOF
3977 rm -f conftest.o conftest.obj
3978 if { { ac_try="$ac_compile"
3979 case "(($ac_try" in
3980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981   *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 printf "%s\n" "$ac_try_echo"; } >&5
3985   (eval "$ac_compile") 2>&5
3986   ac_status=$?
3987   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988   test $ac_status = 0; }
3989 then :
3990   for ac_file in conftest.o conftest.obj conftest.*; do
3991   test -f "$ac_file" || continue;
3992   case $ac_file in
3993     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3994     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3995        break;;
3996   esac
3997 done
3998 else $as_nop
3999   printf "%s\n" "$as_me: failed program was:" >&5
4000 sed 's/^/| /' conftest.$ac_ext >&5
4001
4002 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error $? "cannot compute suffix of object files: cannot compile
4005 See \`config.log' for more details" "$LINENO" 5; }
4006 fi
4007 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4008 fi
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4010 printf "%s\n" "$ac_cv_objext" >&6; }
4011 OBJEXT=$ac_cv_objext
4012 ac_objext=$OBJEXT
4013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4014 printf %s "checking whether the compiler supports GNU C... " >&6; }
4015 if test ${ac_cv_c_compiler_gnu+y}
4016 then :
4017   printf %s "(cached) " >&6
4018 else $as_nop
4019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h.  */
4021
4022 int
4023 main (void)
4024 {
4025 #ifndef __GNUC__
4026        choke me
4027 #endif
4028
4029   ;
4030   return 0;
4031 }
4032 _ACEOF
4033 if ac_fn_c_try_compile "$LINENO"
4034 then :
4035   ac_compiler_gnu=yes
4036 else $as_nop
4037   ac_compiler_gnu=no
4038 fi
4039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4040 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4041
4042 fi
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4044 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046
4047 if test $ac_compiler_gnu = yes; then
4048   GCC=yes
4049 else
4050   GCC=
4051 fi
4052 ac_test_CFLAGS=${CFLAGS+y}
4053 ac_save_CFLAGS=$CFLAGS
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4055 printf %s "checking whether $CC accepts -g... " >&6; }
4056 if test ${ac_cv_prog_cc_g+y}
4057 then :
4058   printf %s "(cached) " >&6
4059 else $as_nop
4060   ac_save_c_werror_flag=$ac_c_werror_flag
4061    ac_c_werror_flag=yes
4062    ac_cv_prog_cc_g=no
4063    CFLAGS="-g"
4064    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h.  */
4066
4067 int
4068 main (void)
4069 {
4070
4071   ;
4072   return 0;
4073 }
4074 _ACEOF
4075 if ac_fn_c_try_compile "$LINENO"
4076 then :
4077   ac_cv_prog_cc_g=yes
4078 else $as_nop
4079   CFLAGS=""
4080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h.  */
4082
4083 int
4084 main (void)
4085 {
4086
4087   ;
4088   return 0;
4089 }
4090 _ACEOF
4091 if ac_fn_c_try_compile "$LINENO"
4092 then :
4093   
4094 else $as_nop
4095   ac_c_werror_flag=$ac_save_c_werror_flag
4096          CFLAGS="-g"
4097          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h.  */
4099
4100 int
4101 main (void)
4102 {
4103
4104   ;
4105   return 0;
4106 }
4107 _ACEOF
4108 if ac_fn_c_try_compile "$LINENO"
4109 then :
4110   ac_cv_prog_cc_g=yes
4111 fi
4112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4113 fi
4114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4115 fi
4116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4117    ac_c_werror_flag=$ac_save_c_werror_flag
4118 fi
4119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4120 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4121 if test $ac_test_CFLAGS; then
4122   CFLAGS=$ac_save_CFLAGS
4123 elif test $ac_cv_prog_cc_g = yes; then
4124   if test "$GCC" = yes; then
4125     CFLAGS="-g -O2"
4126   else
4127     CFLAGS="-g"
4128   fi
4129 else
4130   if test "$GCC" = yes; then
4131     CFLAGS="-O2"
4132   else
4133     CFLAGS=
4134   fi
4135 fi
4136 ac_prog_cc_stdc=no
4137 if test x$ac_prog_cc_stdc = xno
4138 then :
4139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4140 printf %s "checking for $CC option to enable C11 features... " >&6; }
4141 if test ${ac_cv_prog_cc_c11+y}
4142 then :
4143   printf %s "(cached) " >&6
4144 else $as_nop
4145   ac_cv_prog_cc_c11=no
4146 ac_save_CC=$CC
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h.  */
4149 $ac_c_conftest_c11_program
4150 _ACEOF
4151 for ac_arg in '' -std=gnu11
4152 do
4153   CC="$ac_save_CC $ac_arg"
4154   if ac_fn_c_try_compile "$LINENO"
4155 then :
4156   ac_cv_prog_cc_c11=$ac_arg
4157 fi
4158 rm -f core conftest.err conftest.$ac_objext conftest.beam
4159   test "x$ac_cv_prog_cc_c11" != "xno" && break
4160 done
4161 rm -f conftest.$ac_ext
4162 CC=$ac_save_CC
4163 fi
4164
4165 if test "x$ac_cv_prog_cc_c11" = xno
4166 then :
4167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4168 printf "%s\n" "unsupported" >&6; }
4169 else $as_nop
4170   if test "x$ac_cv_prog_cc_c11" = x
4171 then :
4172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4173 printf "%s\n" "none needed" >&6; }
4174 else $as_nop
4175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4176 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4177      CC="$CC $ac_cv_prog_cc_c11"
4178 fi
4179   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4180   ac_prog_cc_stdc=c11
4181 fi
4182 fi
4183 if test x$ac_prog_cc_stdc = xno
4184 then :
4185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4186 printf %s "checking for $CC option to enable C99 features... " >&6; }
4187 if test ${ac_cv_prog_cc_c99+y}
4188 then :
4189   printf %s "(cached) " >&6
4190 else $as_nop
4191   ac_cv_prog_cc_c99=no
4192 ac_save_CC=$CC
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h.  */
4195 $ac_c_conftest_c99_program
4196 _ACEOF
4197 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4198 do
4199   CC="$ac_save_CC $ac_arg"
4200   if ac_fn_c_try_compile "$LINENO"
4201 then :
4202   ac_cv_prog_cc_c99=$ac_arg
4203 fi
4204 rm -f core conftest.err conftest.$ac_objext conftest.beam
4205   test "x$ac_cv_prog_cc_c99" != "xno" && break
4206 done
4207 rm -f conftest.$ac_ext
4208 CC=$ac_save_CC
4209 fi
4210
4211 if test "x$ac_cv_prog_cc_c99" = xno
4212 then :
4213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4214 printf "%s\n" "unsupported" >&6; }
4215 else $as_nop
4216   if test "x$ac_cv_prog_cc_c99" = x
4217 then :
4218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4219 printf "%s\n" "none needed" >&6; }
4220 else $as_nop
4221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4222 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4223      CC="$CC $ac_cv_prog_cc_c99"
4224 fi
4225   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4226   ac_prog_cc_stdc=c99
4227 fi
4228 fi
4229 if test x$ac_prog_cc_stdc = xno
4230 then :
4231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4232 printf %s "checking for $CC option to enable C89 features... " >&6; }
4233 if test ${ac_cv_prog_cc_c89+y}
4234 then :
4235   printf %s "(cached) " >&6
4236 else $as_nop
4237   ac_cv_prog_cc_c89=no
4238 ac_save_CC=$CC
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h.  */
4241 $ac_c_conftest_c89_program
4242 _ACEOF
4243 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4244 do
4245   CC="$ac_save_CC $ac_arg"
4246   if ac_fn_c_try_compile "$LINENO"
4247 then :
4248   ac_cv_prog_cc_c89=$ac_arg
4249 fi
4250 rm -f core conftest.err conftest.$ac_objext conftest.beam
4251   test "x$ac_cv_prog_cc_c89" != "xno" && break
4252 done
4253 rm -f conftest.$ac_ext
4254 CC=$ac_save_CC
4255 fi
4256
4257 if test "x$ac_cv_prog_cc_c89" = xno
4258 then :
4259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4260 printf "%s\n" "unsupported" >&6; }
4261 else $as_nop
4262   if test "x$ac_cv_prog_cc_c89" = x
4263 then :
4264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4265 printf "%s\n" "none needed" >&6; }
4266 else $as_nop
4267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4268 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4269      CC="$CC $ac_cv_prog_cc_c89"
4270 fi
4271   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4272   ac_prog_cc_stdc=c89
4273 fi
4274 fi
4275
4276 ac_ext=c
4277 ac_cpp='$CPP $CPPFLAGS'
4278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4281
4282
4283   ac_ext=c
4284 ac_cpp='$CPP $CPPFLAGS'
4285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4289 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4290 if test ${am_cv_prog_cc_c_o+y}
4291 then :
4292   printf %s "(cached) " >&6
4293 else $as_nop
4294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h.  */
4296
4297 int
4298 main (void)
4299 {
4300
4301   ;
4302   return 0;
4303 }
4304 _ACEOF
4305   # Make sure it works both with $CC and with simple cc.
4306   # Following AC_PROG_CC_C_O, we do the test twice because some
4307   # compilers refuse to overwrite an existing .o file with -o,
4308   # though they will create one.
4309   am_cv_prog_cc_c_o=yes
4310   for am_i in 1 2; do
4311     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4312    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4313    ac_status=$?
4314    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315    (exit $ac_status); } \
4316          && test -f conftest2.$ac_objext; then
4317       : OK
4318     else
4319       am_cv_prog_cc_c_o=no
4320       break
4321     fi
4322   done
4323   rm -f core conftest*
4324   unset am_i
4325 fi
4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4327 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4328 if test "$am_cv_prog_cc_c_o" != yes; then
4329    # Losing compiler, so override with the script.
4330    # FIXME: It is wrong to rewrite CC.
4331    # But if we don't then we get into trouble of one sort or another.
4332    # A longer-term fix would be to have automake use am__CC in this case,
4333    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4334    CC="$am_aux_dir/compile $CC"
4335 fi
4336 ac_ext=c
4337 ac_cpp='$CPP $CPPFLAGS'
4338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341
4342 DEPDIR="${am__leading_dot}deps"
4343
4344 ac_config_commands="$ac_config_commands depfiles"
4345
4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4347 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4348 cat > confinc.mk << 'END'
4349 am__doit:
4350         @echo this is the am__doit target >confinc.out
4351 .PHONY: am__doit
4352 END
4353 am__include="#"
4354 am__quote=
4355 # BSD make does it like this.
4356 echo '.include "confinc.mk" # ignored' > confmf.BSD
4357 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4358 echo 'include confinc.mk # ignored' > confmf.GNU
4359 _am_result=no
4360 for s in GNU BSD; do
4361   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4362    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4363    ac_status=$?
4364    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365    (exit $ac_status); }
4366   case $?:`cat confinc.out 2>/dev/null` in @%:@(
4367   '0:this is the am__doit target') :
4368     case $s in @%:@(
4369   BSD) :
4370     am__include='.include' am__quote='"' ;; @%:@(
4371   *) :
4372     am__include='include' am__quote='' ;;
4373 esac ;; @%:@(
4374   *) :
4375      ;;
4376 esac
4377   if test "$am__include" != "#"; then
4378     _am_result="yes ($s style)"
4379     break
4380   fi
4381 done
4382 rm -f confinc.* confmf.*
4383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4384 printf "%s\n" "${_am_result}" >&6; }
4385
4386 @%:@ Check whether --enable-dependency-tracking was given.
4387 if test ${enable_dependency_tracking+y}
4388 then :
4389   enableval=$enable_dependency_tracking; 
4390 fi
4391
4392 if test "x$enable_dependency_tracking" != xno; then
4393   am_depcomp="$ac_aux_dir/depcomp"
4394   AMDEPBACKSLASH='\'
4395   am__nodep='_no'
4396 fi
4397  if test "x$enable_dependency_tracking" != xno; then
4398   AMDEP_TRUE=
4399   AMDEP_FALSE='#'
4400 else
4401   AMDEP_TRUE='#'
4402   AMDEP_FALSE=
4403 fi
4404
4405
4406
4407 depcc="$CC"   am_compiler_list=
4408
4409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4410 printf %s "checking dependency style of $depcc... " >&6; }
4411 if test ${am_cv_CC_dependencies_compiler_type+y}
4412 then :
4413   printf %s "(cached) " >&6
4414 else $as_nop
4415   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4416   # We make a subdir and do the tests there.  Otherwise we can end up
4417   # making bogus files that we don't know about and never remove.  For
4418   # instance it was reported that on HP-UX the gcc test will end up
4419   # making a dummy file named 'D' -- because '-MD' means "put the output
4420   # in D".
4421   rm -rf conftest.dir
4422   mkdir conftest.dir
4423   # Copy depcomp to subdir because otherwise we won't find it if we're
4424   # using a relative directory.
4425   cp "$am_depcomp" conftest.dir
4426   cd conftest.dir
4427   # We will build objects and dependencies in a subdirectory because
4428   # it helps to detect inapplicable dependency modes.  For instance
4429   # both Tru64's cc and ICC support -MD to output dependencies as a
4430   # side effect of compilation, but ICC will put the dependencies in
4431   # the current directory while Tru64 will put them in the object
4432   # directory.
4433   mkdir sub
4434
4435   am_cv_CC_dependencies_compiler_type=none
4436   if test "$am_compiler_list" = ""; then
4437      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4438   fi
4439   am__universal=false
4440   case " $depcc " in #(
4441      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4442      esac
4443
4444   for depmode in $am_compiler_list; do
4445     # Setup a source with many dependencies, because some compilers
4446     # like to wrap large dependency lists on column 80 (with \), and
4447     # we should not choose a depcomp mode which is confused by this.
4448     #
4449     # We need to recreate these files for each test, as the compiler may
4450     # overwrite some of them when testing with obscure command lines.
4451     # This happens at least with the AIX C compiler.
4452     : > sub/conftest.c
4453     for i in 1 2 3 4 5 6; do
4454       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4455       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4456       # Solaris 10 /bin/sh.
4457       echo '/* dummy */' > sub/conftst$i.h
4458     done
4459     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4460
4461     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4462     # mode.  It turns out that the SunPro C++ compiler does not properly
4463     # handle '-M -o', and we need to detect this.  Also, some Intel
4464     # versions had trouble with output in subdirs.
4465     am__obj=sub/conftest.${OBJEXT-o}
4466     am__minus_obj="-o $am__obj"
4467     case $depmode in
4468     gcc)
4469       # This depmode causes a compiler race in universal mode.
4470       test "$am__universal" = false || continue
4471       ;;
4472     nosideeffect)
4473       # After this tag, mechanisms are not by side-effect, so they'll
4474       # only be used when explicitly requested.
4475       if test "x$enable_dependency_tracking" = xyes; then
4476         continue
4477       else
4478         break
4479       fi
4480       ;;
4481     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4482       # This compiler won't grok '-c -o', but also, the minuso test has
4483       # not run yet.  These depmodes are late enough in the game, and
4484       # so weak that their functioning should not be impacted.
4485       am__obj=conftest.${OBJEXT-o}
4486       am__minus_obj=
4487       ;;
4488     none) break ;;
4489     esac
4490     if depmode=$depmode \
4491        source=sub/conftest.c object=$am__obj \
4492        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4493        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4494          >/dev/null 2>conftest.err &&
4495        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4496        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4497        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4498        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4499       # icc doesn't choke on unknown options, it will just issue warnings
4500       # or remarks (even with -Werror).  So we grep stderr for any message
4501       # that says an option was ignored or not supported.
4502       # When given -MP, icc 7.0 and 7.1 complain thusly:
4503       #   icc: Command line warning: ignoring option '-M'; no argument required
4504       # The diagnosis changed in icc 8.0:
4505       #   icc: Command line remark: option '-MP' not supported
4506       if (grep 'ignoring option' conftest.err ||
4507           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4508         am_cv_CC_dependencies_compiler_type=$depmode
4509         break
4510       fi
4511     fi
4512   done
4513
4514   cd ..
4515   rm -rf conftest.dir
4516 else
4517   am_cv_CC_dependencies_compiler_type=none
4518 fi
4519
4520 fi
4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4522 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4523 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4524
4525  if 
4526   test "x$enable_dependency_tracking" != xno \
4527   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4528   am__fastdepCC_TRUE=
4529   am__fastdepCC_FALSE='#'
4530 else
4531   am__fastdepCC_TRUE='#'
4532   am__fastdepCC_FALSE=
4533 fi
4534
4535
4536
4537
4538 ac_header= ac_cache=
4539 for ac_item in $ac_header_c_list
4540 do
4541   if test $ac_cache; then
4542     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4543     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4544       printf "%s\n" "#define $ac_item 1" >> confdefs.h
4545     fi
4546     ac_header= ac_cache=
4547   elif test $ac_header; then
4548     ac_cache=$ac_item
4549   else
4550     ac_header=$ac_item
4551   fi
4552 done
4553
4554
4555
4556
4557
4558
4559
4560
4561 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4562 then :
4563   
4564 printf "%s\n" "@%:@define STDC_HEADERS 1" >>confdefs.h
4565
4566 fi
4567
4568
4569
4570     
4571   
4572
4573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4574 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4575 if test ${ac_cv_safe_to_define___extensions__+y}
4576 then :
4577   printf %s "(cached) " >&6
4578 else $as_nop
4579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h.  */
4581
4582 #         define __EXTENSIONS__ 1
4583           $ac_includes_default
4584 int
4585 main (void)
4586 {
4587
4588   ;
4589   return 0;
4590 }
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"
4593 then :
4594   ac_cv_safe_to_define___extensions__=yes
4595 else $as_nop
4596   ac_cv_safe_to_define___extensions__=no
4597 fi
4598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4599 fi
4600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4601 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4602
4603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4604 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4605 if test ${ac_cv_should_define__xopen_source+y}
4606 then :
4607   printf %s "(cached) " >&6
4608 else $as_nop
4609   ac_cv_should_define__xopen_source=no
4610     if test $ac_cv_header_wchar_h = yes
4611 then :
4612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h.  */
4614
4615           #include <wchar.h>
4616           mbstate_t x;
4617 int
4618 main (void)
4619 {
4620
4621   ;
4622   return 0;
4623 }
4624 _ACEOF
4625 if ac_fn_c_try_compile "$LINENO"
4626 then :
4627   
4628 else $as_nop
4629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h.  */
4631
4632             #define _XOPEN_SOURCE 500
4633             #include <wchar.h>
4634             mbstate_t x;
4635 int
4636 main (void)
4637 {
4638
4639   ;
4640   return 0;
4641 }
4642 _ACEOF
4643 if ac_fn_c_try_compile "$LINENO"
4644 then :
4645   ac_cv_should_define__xopen_source=yes
4646 fi
4647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4650 fi
4651 fi
4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4653 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4654
4655   printf "%s\n" "@%:@define _ALL_SOURCE 1" >>confdefs.h
4656
4657   printf "%s\n" "@%:@define _DARWIN_C_SOURCE 1" >>confdefs.h
4658
4659   printf "%s\n" "@%:@define _GNU_SOURCE 1" >>confdefs.h
4660
4661   printf "%s\n" "@%:@define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4662
4663   printf "%s\n" "@%:@define _NETBSD_SOURCE 1" >>confdefs.h
4664
4665   printf "%s\n" "@%:@define _OPENBSD_SOURCE 1" >>confdefs.h
4666
4667   printf "%s\n" "@%:@define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4668
4669   printf "%s\n" "@%:@define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4670
4671   printf "%s\n" "@%:@define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4672
4673   printf "%s\n" "@%:@define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4674
4675   printf "%s\n" "@%:@define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4676
4677   printf "%s\n" "@%:@define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4678
4679   printf "%s\n" "@%:@define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4680
4681   printf "%s\n" "@%:@define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4682
4683   printf "%s\n" "@%:@define _TANDEM_SOURCE 1" >>confdefs.h
4684
4685   if test $ac_cv_header_minix_config_h = yes
4686 then :
4687   MINIX=yes
4688     printf "%s\n" "@%:@define _MINIX 1" >>confdefs.h
4689
4690     printf "%s\n" "@%:@define _POSIX_SOURCE 1" >>confdefs.h
4691
4692     printf "%s\n" "@%:@define _POSIX_1_SOURCE 2" >>confdefs.h
4693
4694 else $as_nop
4695   MINIX=
4696 fi
4697   if test $ac_cv_safe_to_define___extensions__ = yes
4698 then :
4699   printf "%s\n" "@%:@define __EXTENSIONS__ 1" >>confdefs.h
4700
4701 fi
4702   if test $ac_cv_should_define__xopen_source = yes
4703 then :
4704   printf "%s\n" "@%:@define _XOPEN_SOURCE 500" >>confdefs.h
4705
4706 fi
4707
4708
4709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4710 printf %s "checking for an ANSI C-conforming const... " >&6; }
4711 if test ${ac_cv_c_const+y}
4712 then :
4713   printf %s "(cached) " >&6
4714 else $as_nop
4715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h.  */
4717
4718 int
4719 main (void)
4720 {
4721
4722 #ifndef __cplusplus
4723   /* Ultrix mips cc rejects this sort of thing.  */
4724   typedef int charset[2];
4725   const charset cs = { 0, 0 };
4726   /* SunOS 4.1.1 cc rejects this.  */
4727   char const *const *pcpcc;
4728   char **ppc;
4729   /* NEC SVR4.0.2 mips cc rejects this.  */
4730   struct point {int x, y;};
4731   static struct point const zero = {0,0};
4732   /* IBM XL C 1.02.0.0 rejects this.
4733      It does not let you subtract one const X* pointer from another in
4734      an arm of an if-expression whose if-part is not a constant
4735      expression */
4736   const char *g = "string";
4737   pcpcc = &g + (g ? g-g : 0);
4738   /* HPUX 7.0 cc rejects these. */
4739   ++pcpcc;
4740   ppc = (char**) pcpcc;
4741   pcpcc = (char const *const *) ppc;
4742   { /* SCO 3.2v4 cc rejects this sort of thing.  */
4743     char tx;
4744     char *t = &tx;
4745     char const *s = 0 ? (char *) 0 : (char const *) 0;
4746
4747     *t++ = 0;
4748     if (s) return 0;
4749   }
4750   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4751     int x[] = {25, 17};
4752     const int *foo = &x[0];
4753     ++foo;
4754   }
4755   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4756     typedef const int *iptr;
4757     iptr p = 0;
4758     ++p;
4759   }
4760   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
4761        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4762     struct s { int j; const int *ap[3]; } bx;
4763     struct s *b = &bx; b->j = 5;
4764   }
4765   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4766     const int foo = 10;
4767     if (!foo) return 0;
4768   }
4769   return !cs[0] && !zero.x;
4770 #endif
4771
4772   ;
4773   return 0;
4774 }
4775 _ACEOF
4776 if ac_fn_c_try_compile "$LINENO"
4777 then :
4778   ac_cv_c_const=yes
4779 else $as_nop
4780   ac_cv_c_const=no
4781 fi
4782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4783 fi
4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4785 printf "%s\n" "$ac_cv_c_const" >&6; }
4786 if test $ac_cv_c_const = no; then
4787   
4788 printf "%s\n" "@%:@define const /**/" >>confdefs.h
4789
4790 fi
4791
4792 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4793 if test "x$ac_cv_type_size_t" = xyes
4794 then :
4795   
4796 else $as_nop
4797   
4798 printf "%s\n" "@%:@define size_t unsigned int" >>confdefs.h
4799
4800 fi
4801
4802 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4803 # for constant arguments.  Useless!
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
4805 printf %s "checking for working alloca.h... " >&6; }
4806 if test ${ac_cv_working_alloca_h+y}
4807 then :
4808   printf %s "(cached) " >&6
4809 else $as_nop
4810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h.  */
4812 @%:@include <alloca.h>
4813 int
4814 main (void)
4815 {
4816 char *p = (char *) alloca (2 * sizeof (int));
4817                           if (p) return 0;
4818   ;
4819   return 0;
4820 }
4821 _ACEOF
4822 if ac_fn_c_try_link "$LINENO"
4823 then :
4824   ac_cv_working_alloca_h=yes
4825 else $as_nop
4826   ac_cv_working_alloca_h=no
4827 fi
4828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4829     conftest$ac_exeext conftest.$ac_ext
4830 fi
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
4832 printf "%s\n" "$ac_cv_working_alloca_h" >&6; }
4833 if test $ac_cv_working_alloca_h = yes; then
4834   
4835 printf "%s\n" "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
4836
4837 fi
4838
4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
4840 printf %s "checking for alloca... " >&6; }
4841 if test ${ac_cv_func_alloca_works+y}
4842 then :
4843   printf %s "(cached) " >&6
4844 else $as_nop
4845   if test $ac_cv_working_alloca_h = yes; then
4846   ac_cv_func_alloca_works=yes
4847 else
4848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h.  */
4850 #include <stdlib.h>
4851 #include <stddef.h>
4852 #ifndef alloca
4853 # ifdef __GNUC__
4854 #  define alloca __builtin_alloca
4855 # elif defined _MSC_VER
4856 #  include <malloc.h>
4857 #  define alloca _alloca
4858 # else
4859 #  ifdef  __cplusplus
4860 extern "C"
4861 #  endif
4862 void *alloca (size_t);
4863 # endif
4864 #endif
4865
4866 int
4867 main (void)
4868 {
4869 char *p = (char *) alloca (1);
4870                                     if (p) return 0;
4871   ;
4872   return 0;
4873 }
4874 _ACEOF
4875 if ac_fn_c_try_link "$LINENO"
4876 then :
4877   ac_cv_func_alloca_works=yes
4878 else $as_nop
4879   ac_cv_func_alloca_works=no
4880 fi
4881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4882     conftest$ac_exeext conftest.$ac_ext
4883 fi
4884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
4885 printf "%s\n" "$ac_cv_func_alloca_works" >&6; }
4886 fi
4887
4888 if test $ac_cv_func_alloca_works = yes; then
4889   
4890 printf "%s\n" "@%:@define HAVE_ALLOCA 1" >>confdefs.h
4891
4892 else
4893   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4894 # that cause trouble.  Some versions do not even contain alloca or
4895 # contain a buggy version.  If you still want to use their alloca,
4896 # use ar to extract alloca.o from them instead of compiling alloca.c.
4897
4898 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
4899
4900 printf "%s\n" "@%:@define C_ALLOCA 1" >>confdefs.h
4901
4902
4903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4904 printf %s "checking stack direction for C alloca... " >&6; }
4905 if test ${ac_cv_c_stack_direction+y}
4906 then :
4907   printf %s "(cached) " >&6
4908 else $as_nop
4909   if test "$cross_compiling" = yes
4910 then :
4911   ac_cv_c_stack_direction=0
4912 else $as_nop
4913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h.  */
4915 $ac_includes_default
4916 int
4917 find_stack_direction (int *addr, int depth)
4918 {
4919   int dir, dummy = 0;
4920   if (! addr)
4921     addr = &dummy;
4922   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
4923   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
4924   return dir + dummy;
4925 }
4926
4927 int
4928 main (int argc, char **argv)
4929 {
4930   return find_stack_direction (0, argc + !argv + 20) < 0;
4931 }
4932 _ACEOF
4933 if ac_fn_c_try_run "$LINENO"
4934 then :
4935   ac_cv_c_stack_direction=1
4936 else $as_nop
4937   ac_cv_c_stack_direction=-1
4938 fi
4939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4940   conftest.$ac_objext conftest.beam conftest.$ac_ext
4941 fi
4942
4943 fi
4944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4945 printf "%s\n" "$ac_cv_c_stack_direction" >&6; }
4946 printf "%s\n" "@%:@define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h
4947
4948
4949 fi
4950
4951
4952 printf "%s\n" "@%:@define PROTOTYPES 1" >>confdefs.h
4953
4954
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4956 printf %s "checking for grep that handles long lines and -e... " >&6; }
4957 if test ${ac_cv_path_GREP+y}
4958 then :
4959   printf %s "(cached) " >&6
4960 else $as_nop
4961   if test -z "$GREP"; then
4962   ac_path_GREP_found=false
4963   # Loop through the user's path and test for each of PROGNAME-LIST
4964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4966 do
4967   IFS=$as_save_IFS
4968   case $as_dir in #(((
4969     '') as_dir=./ ;;
4970     */) ;;
4971     *) as_dir=$as_dir/ ;;
4972   esac
4973     for ac_prog in grep ggrep
4974    do
4975     for ac_exec_ext in '' $ac_executable_extensions; do
4976       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
4977       as_fn_executable_p "$ac_path_GREP" || continue
4978 # Check for GNU ac_path_GREP and select it if it is found.
4979   # Check for GNU $ac_path_GREP
4980 case `"$ac_path_GREP" --version 2>&1` in
4981 *GNU*)
4982   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4983 *)
4984   ac_count=0
4985   printf %s 0123456789 >"conftest.in"
4986   while :
4987   do
4988     cat "conftest.in" "conftest.in" >"conftest.tmp"
4989     mv "conftest.tmp" "conftest.in"
4990     cp "conftest.in" "conftest.nl"
4991     printf "%s\n" 'GREP' >> "conftest.nl"
4992     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4993     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4994     as_fn_arith $ac_count + 1 && ac_count=$as_val
4995     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4996       # Best one so far, save it but keep looking for a better one
4997       ac_cv_path_GREP="$ac_path_GREP"
4998       ac_path_GREP_max=$ac_count
4999     fi
5000     # 10*(2^10) chars as input seems more than enough
5001     test $ac_count -gt 10 && break
5002   done
5003   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5004 esac
5005
5006       $ac_path_GREP_found && break 3
5007     done
5008   done
5009   done
5010 IFS=$as_save_IFS
5011   if test -z "$ac_cv_path_GREP"; then
5012     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5013   fi
5014 else
5015   ac_cv_path_GREP=$GREP
5016 fi
5017
5018 fi
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5020 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5021  GREP="$ac_cv_path_GREP"
5022  
5023
5024 # Autoupdate added the next two lines to ensure that your configure
5025 # script's behavior did not change.  They are probably safe to remove.
5026
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5028 printf %s "checking for egrep... " >&6; }
5029 if test ${ac_cv_path_EGREP+y}
5030 then :
5031   printf %s "(cached) " >&6
5032 else $as_nop
5033   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5034    then ac_cv_path_EGREP="$GREP -E"
5035    else
5036      if test -z "$EGREP"; then
5037   ac_path_EGREP_found=false
5038   # Loop through the user's path and test for each of PROGNAME-LIST
5039   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5041 do
5042   IFS=$as_save_IFS
5043   case $as_dir in #(((
5044     '') as_dir=./ ;;
5045     */) ;;
5046     *) as_dir=$as_dir/ ;;
5047   esac
5048     for ac_prog in egrep
5049    do
5050     for ac_exec_ext in '' $ac_executable_extensions; do
5051       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5052       as_fn_executable_p "$ac_path_EGREP" || continue
5053 # Check for GNU ac_path_EGREP and select it if it is found.
5054   # Check for GNU $ac_path_EGREP
5055 case `"$ac_path_EGREP" --version 2>&1` in
5056 *GNU*)
5057   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5058 *)
5059   ac_count=0
5060   printf %s 0123456789 >"conftest.in"
5061   while :
5062   do
5063     cat "conftest.in" "conftest.in" >"conftest.tmp"
5064     mv "conftest.tmp" "conftest.in"
5065     cp "conftest.in" "conftest.nl"
5066     printf "%s\n" 'EGREP' >> "conftest.nl"
5067     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5068     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5069     as_fn_arith $ac_count + 1 && ac_count=$as_val
5070     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5071       # Best one so far, save it but keep looking for a better one
5072       ac_cv_path_EGREP="$ac_path_EGREP"
5073       ac_path_EGREP_max=$ac_count
5074     fi
5075     # 10*(2^10) chars as input seems more than enough
5076     test $ac_count -gt 10 && break
5077   done
5078   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5079 esac
5080
5081       $ac_path_EGREP_found && break 3
5082     done
5083   done
5084   done
5085 IFS=$as_save_IFS
5086   if test -z "$ac_cv_path_EGREP"; then
5087     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5088   fi
5089 else
5090   ac_cv_path_EGREP=$EGREP
5091 fi
5092
5093    fi
5094 fi
5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5096 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
5097  EGREP="$ac_cv_path_EGREP"
5098  
5099
5100
5101 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
5102 if test "x$ac_cv_header_string_h" = xyes
5103 then :
5104   printf "%s\n" "@%:@define HAVE_STRING_H 1" >>confdefs.h
5105
5106 fi
5107 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5108 if test "x$ac_cv_header_stdlib_h" = xyes
5109 then :
5110   printf "%s\n" "@%:@define HAVE_STDLIB_H 1" >>confdefs.h
5111
5112 fi
5113 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5114 if test "x$ac_cv_header_unistd_h" = xyes
5115 then :
5116   printf "%s\n" "@%:@define HAVE_UNISTD_H 1" >>confdefs.h
5117
5118 fi
5119 ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
5120 if test "x$ac_cv_header_stdarg_h" = xyes
5121 then :
5122   printf "%s\n" "@%:@define HAVE_STDARG_H 1" >>confdefs.h
5123
5124 fi
5125 ac_fn_c_check_header_compile "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
5126 if test "x$ac_cv_header_math_h" = xyes
5127 then :
5128   printf "%s\n" "@%:@define HAVE_MATH_H 1" >>confdefs.h
5129
5130 fi
5131 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
5132 if test "x$ac_cv_header_pwd_h" = xyes
5133 then :
5134   printf "%s\n" "@%:@define HAVE_PWD_H 1" >>confdefs.h
5135
5136 fi
5137
5138 ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
5139 if test "x$ac_cv_header_sys_types_h" = xyes
5140 then :
5141   printf "%s\n" "@%:@define HAVE_SYS_TYPES_H 1" >>confdefs.h
5142
5143 fi
5144 ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
5145 if test "x$ac_cv_header_sys_stat_h" = xyes
5146 then :
5147   printf "%s\n" "@%:@define HAVE_SYS_STAT_H 1" >>confdefs.h
5148
5149 fi
5150
5151
5152 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
5153 if test "x$ac_cv_func_strchr" = xyes
5154 then :
5155   printf "%s\n" "@%:@define HAVE_STRCHR 1" >>confdefs.h
5156
5157 fi
5158 ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd"
5159 if test "x$ac_cv_func_getcwd" = xyes
5160 then :
5161   printf "%s\n" "@%:@define HAVE_GETCWD 1" >>confdefs.h
5162
5163 fi
5164
5165 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
5166 if test "x$ac_cv_func_strerror" = xyes
5167 then :
5168   printf "%s\n" "@%:@define HAVE_STRERROR 1" >>confdefs.h
5169
5170 else $as_nop
5171   case " $LIB@&t@OBJS " in
5172   *" strerror.$ac_objext "* ) ;;
5173   *) LIB@&t@OBJS="$LIB@&t@OBJS strerror.$ac_objext"
5174  ;;
5175 esac
5176
5177 fi
5178 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
5179 if test "x$ac_cv_func_memmove" = xyes
5180 then :
5181   printf "%s\n" "@%:@define HAVE_MEMMOVE 1" >>confdefs.h
5182
5183 else $as_nop
5184   case " $LIB@&t@OBJS " in
5185   *" memmove.$ac_objext "* ) ;;
5186   *) LIB@&t@OBJS="$LIB@&t@OBJS memmove.$ac_objext"
5187  ;;
5188 esac
5189
5190 fi
5191 ac_fn_c_check_func "$LINENO" "memcpy" "ac_cv_func_memcpy"
5192 if test "x$ac_cv_func_memcpy" = xyes
5193 then :
5194   printf "%s\n" "@%:@define HAVE_MEMCPY 1" >>confdefs.h
5195
5196 else $as_nop
5197   case " $LIB@&t@OBJS " in
5198   *" memcpy.$ac_objext "* ) ;;
5199   *) LIB@&t@OBJS="$LIB@&t@OBJS memcpy.$ac_objext"
5200  ;;
5201 esac
5202
5203 fi
5204 ac_fn_c_check_func "$LINENO" "strtoul" "ac_cv_func_strtoul"
5205 if test "x$ac_cv_func_strtoul" = xyes
5206 then :
5207   printf "%s\n" "@%:@define HAVE_STRTOUL 1" >>confdefs.h
5208
5209 else $as_nop
5210   case " $LIB@&t@OBJS " in
5211   *" strtoul.$ac_objext "* ) ;;
5212   *) LIB@&t@OBJS="$LIB@&t@OBJS strtoul.$ac_objext"
5213  ;;
5214 esac
5215
5216 fi
5217
5218 ac_func=
5219 for ac_item in $ac_func_c_list
5220 do
5221   if test $ac_func; then
5222     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
5223     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
5224       echo "#define $ac_item 1" >> confdefs.h
5225     fi
5226     ac_func=
5227   else
5228     ac_func=$ac_item
5229   fi
5230 done
5231
5232 if test "x$ac_cv_func_vprintf" = xno
5233 then :
5234   ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
5235 if test "x$ac_cv_func__doprnt" = xyes
5236 then :
5237   
5238 printf "%s\n" "@%:@define HAVE_DOPRNT 1" >>confdefs.h
5239
5240 fi
5241
5242 fi
5243
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lsun" >&5
5245 printf %s "checking for main in -lsun... " >&6; }
5246 if test ${ac_cv_lib_sun_main+y}
5247 then :
5248   printf %s "(cached) " >&6
5249 else $as_nop
5250   ac_check_lib_save_LIBS=$LIBS
5251 LIBS="-lsun  $LIBS"
5252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h.  */
5254
5255
5256 int
5257 main (void)
5258 {
5259 return main ();
5260   ;
5261   return 0;
5262 }
5263 _ACEOF
5264 if ac_fn_c_try_link "$LINENO"
5265 then :
5266   ac_cv_lib_sun_main=yes
5267 else $as_nop
5268   ac_cv_lib_sun_main=no
5269 fi
5270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5271     conftest$ac_exeext conftest.$ac_ext
5272 LIBS=$ac_check_lib_save_LIBS
5273 fi
5274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_main" >&5
5275 printf "%s\n" "$ac_cv_lib_sun_main" >&6; }
5276 if test "x$ac_cv_lib_sun_main" = xyes
5277 then :
5278   printf "%s\n" "@%:@define HAVE_LIBSUN 1" >>confdefs.h
5279
5280   LIBS="-lsun $LIBS"
5281
5282 fi
5283
5284
5285 ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
5286 if test "x$ac_cv_func_gethostname" = xyes
5287 then :
5288   
5289 else $as_nop
5290   
5291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5
5292 printf %s "checking for gethostname in -lnsl... " >&6; }
5293 if test ${ac_cv_lib_nsl_gethostname+y}
5294 then :
5295   printf %s "(cached) " >&6
5296 else $as_nop
5297   ac_check_lib_save_LIBS=$LIBS
5298 LIBS="-lnsl  $LIBS"
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h.  */
5301
5302 /* Override any GCC internal prototype to avoid an error.
5303    Use char because int might match the return type of a GCC
5304    builtin and then its argument prototype would still apply.  */
5305 char gethostname ();
5306 int
5307 main (void)
5308 {
5309 return gethostname ();
5310   ;
5311   return 0;
5312 }
5313 _ACEOF
5314 if ac_fn_c_try_link "$LINENO"
5315 then :
5316   ac_cv_lib_nsl_gethostname=yes
5317 else $as_nop
5318   ac_cv_lib_nsl_gethostname=no
5319 fi
5320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5321     conftest$ac_exeext conftest.$ac_ext
5322 LIBS=$ac_check_lib_save_LIBS
5323 fi
5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5
5325 printf "%s\n" "$ac_cv_lib_nsl_gethostname" >&6; }
5326 if test "x$ac_cv_lib_nsl_gethostname" = xyes
5327 then :
5328   LIBS="$LIBS -lnsl"
5329 else $as_nop
5330   
5331     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lsocket" >&5
5332 printf %s "checking for gethostname in -lsocket... " >&6; }
5333 if test ${ac_cv_lib_socket_gethostname+y}
5334 then :
5335   printf %s "(cached) " >&6
5336 else $as_nop
5337   ac_check_lib_save_LIBS=$LIBS
5338 LIBS="-lsocket  $LIBS"
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h.  */
5341
5342 /* Override any GCC internal prototype to avoid an error.
5343    Use char because int might match the return type of a GCC
5344    builtin and then its argument prototype would still apply.  */
5345 char gethostname ();
5346 int
5347 main (void)
5348 {
5349 return gethostname ();
5350   ;
5351   return 0;
5352 }
5353 _ACEOF
5354 if ac_fn_c_try_link "$LINENO"
5355 then :
5356   ac_cv_lib_socket_gethostname=yes
5357 else $as_nop
5358   ac_cv_lib_socket_gethostname=no
5359 fi
5360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5361     conftest$ac_exeext conftest.$ac_ext
5362 LIBS=$ac_check_lib_save_LIBS
5363 fi
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostname" >&5
5365 printf "%s\n" "$ac_cv_lib_socket_gethostname" >&6; }
5366 if test "x$ac_cv_lib_socket_gethostname" = xyes
5367 then :
5368   printf "%s\n" "@%:@define HAVE_LIBSOCKET 1" >>confdefs.h
5369
5370   LIBS="-lsocket $LIBS"
5371
5372 fi
5373
5374   
5375 fi
5376
5377
5378 fi
5379
5380
5381 if test -n "$ac_tool_prefix"; then
5382   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5383 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5385 printf %s "checking for $ac_word... " >&6; }
5386 if test ${ac_cv_prog_RANLIB+y}
5387 then :
5388   printf %s "(cached) " >&6
5389 else $as_nop
5390   if test -n "$RANLIB"; then
5391   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5392 else
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 for as_dir in $PATH
5395 do
5396   IFS=$as_save_IFS
5397   case $as_dir in #(((
5398     '') as_dir=./ ;;
5399     */) ;;
5400     *) as_dir=$as_dir/ ;;
5401   esac
5402     for ac_exec_ext in '' $ac_executable_extensions; do
5403   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5404     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5405     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5406     break 2
5407   fi
5408 done
5409   done
5410 IFS=$as_save_IFS
5411
5412 fi
5413 fi
5414 RANLIB=$ac_cv_prog_RANLIB
5415 if test -n "$RANLIB"; then
5416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5417 printf "%s\n" "$RANLIB" >&6; }
5418 else
5419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5420 printf "%s\n" "no" >&6; }
5421 fi
5422
5423
5424 fi
5425 if test -z "$ac_cv_prog_RANLIB"; then
5426   ac_ct_RANLIB=$RANLIB
5427   # Extract the first word of "ranlib", so it can be a program name with args.
5428 set dummy ranlib; ac_word=$2
5429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430 printf %s "checking for $ac_word... " >&6; }
5431 if test ${ac_cv_prog_ac_ct_RANLIB+y}
5432 then :
5433   printf %s "(cached) " >&6
5434 else $as_nop
5435   if test -n "$ac_ct_RANLIB"; then
5436   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5437 else
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH
5440 do
5441   IFS=$as_save_IFS
5442   case $as_dir in #(((
5443     '') as_dir=./ ;;
5444     */) ;;
5445     *) as_dir=$as_dir/ ;;
5446   esac
5447     for ac_exec_ext in '' $ac_executable_extensions; do
5448   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5449     ac_cv_prog_ac_ct_RANLIB="ranlib"
5450     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5451     break 2
5452   fi
5453 done
5454   done
5455 IFS=$as_save_IFS
5456
5457 fi
5458 fi
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5462 printf "%s\n" "$ac_ct_RANLIB" >&6; }
5463 else
5464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 printf "%s\n" "no" >&6; }
5466 fi
5467
5468   if test "x$ac_ct_RANLIB" = x; then
5469     RANLIB=":"
5470   else
5471     case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5474 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5475 ac_tool_warned=yes ;;
5476 esac
5477     RANLIB=$ac_ct_RANLIB
5478   fi
5479 else
5480   RANLIB="$ac_cv_prog_RANLIB"
5481 fi
5482
5483 for ac_prog in 'bison -y' byacc
5484 do
5485   # Extract the first word of "$ac_prog", so it can be a program name with args.
5486 set dummy $ac_prog; ac_word=$2
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 printf %s "checking for $ac_word... " >&6; }
5489 if test ${ac_cv_prog_YACC+y}
5490 then :
5491   printf %s "(cached) " >&6
5492 else $as_nop
5493   if test -n "$YACC"; then
5494   ac_cv_prog_YACC="$YACC" # Let the user override the test.
5495 else
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH
5498 do
5499   IFS=$as_save_IFS
5500   case $as_dir in #(((
5501     '') as_dir=./ ;;
5502     */) ;;
5503     *) as_dir=$as_dir/ ;;
5504   esac
5505     for ac_exec_ext in '' $ac_executable_extensions; do
5506   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5507     ac_cv_prog_YACC="$ac_prog"
5508     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5509     break 2
5510   fi
5511 done
5512   done
5513 IFS=$as_save_IFS
5514
5515 fi
5516 fi
5517 YACC=$ac_cv_prog_YACC
5518 if test -n "$YACC"; then
5519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5520 printf "%s\n" "$YACC" >&6; }
5521 else
5522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 printf "%s\n" "no" >&6; }
5524 fi
5525
5526
5527   test -n "$YACC" && break
5528 done
5529 test -n "$YACC" || YACC="yacc"
5530
5531 for ac_prog in flex lex
5532 do
5533   # Extract the first word of "$ac_prog", so it can be a program name with args.
5534 set dummy $ac_prog; ac_word=$2
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 printf %s "checking for $ac_word... " >&6; }
5537 if test ${ac_cv_prog_LEX+y}
5538 then :
5539   printf %s "(cached) " >&6
5540 else $as_nop
5541   if test -n "$LEX"; then
5542   ac_cv_prog_LEX="$LEX" # Let the user override the test.
5543 else
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 for as_dir in $PATH
5546 do
5547   IFS=$as_save_IFS
5548   case $as_dir in #(((
5549     '') as_dir=./ ;;
5550     */) ;;
5551     *) as_dir=$as_dir/ ;;
5552   esac
5553     for ac_exec_ext in '' $ac_executable_extensions; do
5554   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5555     ac_cv_prog_LEX="$ac_prog"
5556     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5557     break 2
5558   fi
5559 done
5560   done
5561 IFS=$as_save_IFS
5562
5563 fi
5564 fi
5565 LEX=$ac_cv_prog_LEX
5566 if test -n "$LEX"; then
5567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5568 printf "%s\n" "$LEX" >&6; }
5569 else
5570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 printf "%s\n" "no" >&6; }
5572 fi
5573
5574
5575   test -n "$LEX" && break
5576 done
5577 test -n "$LEX" || LEX=":"
5578
5579   if test "x$LEX" != "x:"; then
5580     cat >conftest.l <<_ACEOF
5581 %{
5582 #ifdef __cplusplus
5583 extern "C"
5584 #endif
5585 int yywrap(void);
5586 %}
5587 %%
5588 a { ECHO; }
5589 b { REJECT; }
5590 c { yymore (); }
5591 d { yyless (1); }
5592 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
5593 #ifdef __cplusplus
5594     yyless ((yyinput () != 0));
5595 #else
5596     yyless ((input () != 0));
5597 #endif
5598   }
5599 f { unput (yytext[0]); }
5600 . { BEGIN INITIAL; }
5601 %%
5602 #ifdef YYTEXT_POINTER
5603 extern char *yytext;
5604 #endif
5605 int
5606 yywrap (void)
5607 {
5608   return 1;
5609 }
5610 int
5611 main (void)
5612 {
5613   return ! yylex ();
5614 }
5615 _ACEOF
5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
5617 printf %s "checking for lex output file root... " >&6; }
5618 if test ${ac_cv_prog_lex_root+y}
5619 then :
5620   printf %s "(cached) " >&6
5621 else $as_nop
5622   
5623 ac_cv_prog_lex_root=unknown
5624 { { ac_try="$LEX conftest.l"
5625 case "(($ac_try" in
5626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5627   *) ac_try_echo=$ac_try;;
5628 esac
5629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5630 printf "%s\n" "$ac_try_echo"; } >&5
5631   (eval "$LEX conftest.l") 2>&5
5632   ac_status=$?
5633   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5634   test $ac_status = 0; } &&
5635 if test -f lex.yy.c; then
5636   ac_cv_prog_lex_root=lex.yy
5637 elif test -f lexyy.c; then
5638   ac_cv_prog_lex_root=lexyy
5639 fi
5640 fi
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5642 printf "%s\n" "$ac_cv_prog_lex_root" >&6; }
5643 if test "$ac_cv_prog_lex_root" = unknown
5644 then :
5645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
5646 printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;}
5647    LEX=: LEXLIB=
5648 fi
5649 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5650
5651 if test ${LEXLIB+y}
5652 then :
5653   
5654 else $as_nop
5655   
5656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
5657 printf %s "checking for lex library... " >&6; }
5658 if test ${ac_cv_lib_lex+y}
5659 then :
5660   printf %s "(cached) " >&6
5661 else $as_nop
5662   
5663     ac_save_LIBS="$LIBS"
5664     ac_found=false
5665     for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
5666       case $ac_cv_lib_lex in @%:@(
5667   'none needed') :
5668      ;; @%:@(
5669   'not found') :
5670     break ;; @%:@(
5671   *) :
5672     LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; @%:@(
5673   *) :
5674      ;;
5675 esac
5676
5677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h.  */
5679 `cat $LEX_OUTPUT_ROOT.c`
5680 _ACEOF
5681 if ac_fn_c_try_link "$LINENO"
5682 then :
5683   ac_found=:
5684 fi
5685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5686     conftest$ac_exeext conftest.$ac_ext
5687       if $ac_found; then
5688         break
5689       fi
5690     done
5691     LIBS="$ac_save_LIBS"
5692   
5693 fi
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5695 printf "%s\n" "$ac_cv_lib_lex" >&6; }
5696   if test "$ac_cv_lib_lex" = 'not found'
5697 then :
5698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5
5699 printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;}
5700          LEX=: LEXLIB=
5701 elif test "$ac_cv_lib_lex" = 'none needed'
5702 then :
5703   LEXLIB=''
5704 else $as_nop
5705   LEXLIB=$ac_cv_lib_lex
5706 fi
5707   ac_save_LIBS="$LIBS"
5708       LIBS=
5709       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yywrap" >&5
5710 printf %s "checking for library containing yywrap... " >&6; }
5711 if test ${ac_cv_search_yywrap+y}
5712 then :
5713   printf %s "(cached) " >&6
5714 else $as_nop
5715   ac_func_search_save_LIBS=$LIBS
5716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h.  */
5718
5719 /* Override any GCC internal prototype to avoid an error.
5720    Use char because int might match the return type of a GCC
5721    builtin and then its argument prototype would still apply.  */
5722 char yywrap ();
5723 int
5724 main (void)
5725 {
5726 return yywrap ();
5727   ;
5728   return 0;
5729 }
5730 _ACEOF
5731 for ac_lib in '' fl l
5732 do
5733   if test -z "$ac_lib"; then
5734     ac_res="none required"
5735   else
5736     ac_res=-l$ac_lib
5737     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5738   fi
5739   if ac_fn_c_try_link "$LINENO"
5740 then :
5741   ac_cv_search_yywrap=$ac_res
5742 fi
5743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5744     conftest$ac_exeext
5745   if test ${ac_cv_search_yywrap+y}
5746 then :
5747   break
5748 fi
5749 done
5750 if test ${ac_cv_search_yywrap+y}
5751 then :
5752   
5753 else $as_nop
5754   ac_cv_search_yywrap=no
5755 fi
5756 rm conftest.$ac_ext
5757 LIBS=$ac_func_search_save_LIBS
5758 fi
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yywrap" >&5
5760 printf "%s\n" "$ac_cv_search_yywrap" >&6; }
5761 ac_res=$ac_cv_search_yywrap
5762 if test "$ac_res" != no
5763 then :
5764   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5765   LEXLIB="$LIBS"
5766 fi
5767
5768       LIBS="$ac_save_LIBS"
5769 fi
5770
5771
5772 if test "$LEX" != :
5773 then :
5774   
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5776 printf %s "checking whether yytext is a pointer... " >&6; }
5777 if test ${ac_cv_prog_lex_yytext_pointer+y}
5778 then :
5779   printf %s "(cached) " >&6
5780 else $as_nop
5781   # POSIX says lex can declare yytext either as a pointer or an array; the
5782 # default is implementation-dependent.  Figure out which it is, since
5783 # not all implementations provide the %pointer and %array declarations.
5784 ac_cv_prog_lex_yytext_pointer=no
5785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5786 /* end confdefs.h.  */
5787
5788   #define YYTEXT_POINTER 1
5789 `cat $LEX_OUTPUT_ROOT.c`
5790 _ACEOF
5791 if ac_fn_c_try_compile "$LINENO"
5792 then :
5793   ac_cv_prog_lex_yytext_pointer=yes
5794 fi
5795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5796
5797 fi
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5799 printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; }
5800 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5801   
5802 printf "%s\n" "@%:@define YYTEXT_POINTER 1" >>confdefs.h
5803
5804 fi
5805
5806 fi
5807 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5808
5809 fi
5810 if test "$LEX" = :; then
5811   LEX=${am_missing_run}flex
5812 fi
5813
5814 @%:@ Check whether --enable-debug was given.
5815 if test ${enable_debug+y}
5816 then :
5817   enableval=$enable_debug; 
5818   echo enabling debugging
5819   if test -n "$GCC"; then
5820     CFLAGS="$CFLAGS -Wall"
5821   fi
5822
5823 fi
5824
5825
5826
5827
5828 @%:@ Check whether --with-media was given.
5829 if test ${with_media+y}
5830 then :
5831   withval=$with_media; if test "X$withval" != "Xno"; then
5832     if test "X$withval" = "Xyes"; then
5833       ac_cv_value_media='Letter'
5834     else
5835       ac_cv_value_media=$withval
5836     fi
5837   else
5838     ac_cv_value_media=${MEDIA-A4}
5839   fi
5840 else $as_nop
5841   ac_cv_value_media=${MEDIA-A4}
5842
5843 fi
5844
5845 MEDIA=$ac_cv_value_media
5846
5847
5848
5849 @%:@ Check whether --with-encoding was given.
5850 if test ${with_encoding+y}
5851 then :
5852   withval=$with_encoding; if test "X$withval" != "Xno"; then
5853     if test "X$withval" = "Xyes"; then
5854       ac_cv_value_encoding='latin1'
5855     else
5856       ac_cv_value_encoding=$withval
5857     fi
5858   else
5859     ac_cv_value_encoding=${ENCODING-latin1}
5860   fi
5861 else $as_nop
5862   ac_cv_value_encoding=${ENCODING-latin1}
5863
5864 fi
5865
5866 ENCODING=$ac_cv_value_encoding
5867
5868
5869
5870 # Extract the first word of "lpr", so it can be a program name with args.
5871 set dummy lpr; ac_word=$2
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873 printf %s "checking for $ac_word... " >&6; }
5874 if test ${ac_cv_prog_SPOOLER+y}
5875 then :
5876   printf %s "(cached) " >&6
5877 else $as_nop
5878   if test -n "$SPOOLER"; then
5879   ac_cv_prog_SPOOLER="$SPOOLER" # Let the user override the test.
5880 else
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in $PATH
5883 do
5884   IFS=$as_save_IFS
5885   case $as_dir in #(((
5886     '') as_dir=./ ;;
5887     */) ;;
5888     *) as_dir=$as_dir/ ;;
5889   esac
5890     for ac_exec_ext in '' $ac_executable_extensions; do
5891   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5892     ac_cv_prog_SPOOLER="lpr"
5893     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5894     break 2
5895   fi
5896 done
5897   done
5898 IFS=$as_save_IFS
5899
5900 fi
5901 fi
5902 SPOOLER=$ac_cv_prog_SPOOLER
5903 if test -n "$SPOOLER"; then
5904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SPOOLER" >&5
5905 printf "%s\n" "$SPOOLER" >&6; }
5906 else
5907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5908 printf "%s\n" "no" >&6; }
5909 fi
5910
5911
5912 # Extract the first word of "lp", so it can be a program name with args.
5913 set dummy lp; ac_word=$2
5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 printf %s "checking for $ac_word... " >&6; }
5916 if test ${ac_cv_prog_SPOOLER+y}
5917 then :
5918   printf %s "(cached) " >&6
5919 else $as_nop
5920   if test -n "$SPOOLER"; then
5921   ac_cv_prog_SPOOLER="$SPOOLER" # Let the user override the test.
5922 else
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5924 for as_dir in $PATH
5925 do
5926   IFS=$as_save_IFS
5927   case $as_dir in #(((
5928     '') as_dir=./ ;;
5929     */) ;;
5930     *) as_dir=$as_dir/ ;;
5931   esac
5932     for ac_exec_ext in '' $ac_executable_extensions; do
5933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5934     ac_cv_prog_SPOOLER="lp"
5935     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5936     break 2
5937   fi
5938 done
5939   done
5940 IFS=$as_save_IFS
5941
5942 fi
5943 fi
5944 SPOOLER=$ac_cv_prog_SPOOLER
5945 if test -n "$SPOOLER"; then
5946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SPOOLER" >&5
5947 printf "%s\n" "$SPOOLER" >&6; }
5948 else
5949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5950 printf "%s\n" "no" >&6; }
5951 fi
5952
5953
5954
5955
5956 @%:@ Check whether --with-spooler was given.
5957 if test ${with_spooler+y}
5958 then :
5959   withval=$with_spooler; if test "X$withval" != "Xno"; then
5960     SPOOLER=$withval
5961   fi
5962
5963 fi
5964
5965
5966 if test "X$SPOOLER" = "X"; then
5967   SPOOLER=lpr
5968 fi
5969
5970 PSLEVEL="2"
5971
5972 @%:@ Check whether --with-ps-level was given.
5973 if test ${with_ps_level+y}
5974 then :
5975   withval=$with_ps_level; if test "X$withval" != "Xno"; then
5976     PSLEVEL=$withval
5977   fi
5978
5979 fi
5980
5981
5982
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5984 printf %s "checking for a sed that does not truncate output... " >&6; }
5985 if test ${ac_cv_path_SED+y}
5986 then :
5987   printf %s "(cached) " >&6
5988 else $as_nop
5989             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5990      for ac_i in 1 2 3 4 5 6 7; do
5991        ac_script="$ac_script$as_nl$ac_script"
5992      done
5993      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5994      { ac_script=; unset ac_script;}
5995      if test -z "$SED"; then
5996   ac_path_SED_found=false
5997   # Loop through the user's path and test for each of PROGNAME-LIST
5998   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in $PATH
6000 do
6001   IFS=$as_save_IFS
6002   case $as_dir in #(((
6003     '') as_dir=./ ;;
6004     */) ;;
6005     *) as_dir=$as_dir/ ;;
6006   esac
6007     for ac_prog in sed gsed
6008    do
6009     for ac_exec_ext in '' $ac_executable_extensions; do
6010       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
6011       as_fn_executable_p "$ac_path_SED" || continue
6012 # Check for GNU ac_path_SED and select it if it is found.
6013   # Check for GNU $ac_path_SED
6014 case `"$ac_path_SED" --version 2>&1` in
6015 *GNU*)
6016   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6017 *)
6018   ac_count=0
6019   printf %s 0123456789 >"conftest.in"
6020   while :
6021   do
6022     cat "conftest.in" "conftest.in" >"conftest.tmp"
6023     mv "conftest.tmp" "conftest.in"
6024     cp "conftest.in" "conftest.nl"
6025     printf "%s\n" '' >> "conftest.nl"
6026     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6027     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6028     as_fn_arith $ac_count + 1 && ac_count=$as_val
6029     if test $ac_count -gt ${ac_path_SED_max-0}; then
6030       # Best one so far, save it but keep looking for a better one
6031       ac_cv_path_SED="$ac_path_SED"
6032       ac_path_SED_max=$ac_count
6033     fi
6034     # 10*(2^10) chars as input seems more than enough
6035     test $ac_count -gt 10 && break
6036   done
6037   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6038 esac
6039
6040       $ac_path_SED_found && break 3
6041     done
6042   done
6043   done
6044 IFS=$as_save_IFS
6045   if test -z "$ac_cv_path_SED"; then
6046     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6047   fi
6048 else
6049   ac_cv_path_SED=$SED
6050 fi
6051
6052 fi
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6054 printf "%s\n" "$ac_cv_path_SED" >&6; }
6055  SED="$ac_cv_path_SED"
6056   rm -f conftest.sed
6057
6058
6059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6060 printf %s "checking whether NLS is requested... " >&6; }
6061     @%:@ Check whether --enable-nls was given.
6062 if test ${enable_nls+y}
6063 then :
6064   enableval=$enable_nls; USE_NLS=$enableval
6065 else $as_nop
6066   USE_NLS=yes
6067 fi
6068
6069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6070 printf "%s\n" "$USE_NLS" >&6; }
6071   
6072
6073
6074           
6075       GETTEXT_MACRO_VERSION=0.20
6076
6077
6078     
6079         
6080 # Prepare PATH_SEPARATOR.
6081 # The user is always right.
6082 if test "${PATH_SEPARATOR+set}" != set; then
6083   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6084   # contains only /bin. Note that ksh looks also at the FPATH variable,
6085   # so we have to set that as well for the test.
6086   PATH_SEPARATOR=:
6087   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6088     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6089            || PATH_SEPARATOR=';'
6090        }
6091 fi
6092
6093 # Find out how to test for executable files. Don't use a zero-byte file,
6094 # as systems may use methods other than mode bits to determine executability.
6095 cat >conf$$.file <<_ASEOF
6096 #! /bin/sh
6097 exit 0
6098 _ASEOF
6099 chmod +x conf$$.file
6100 if test -x conf$$.file >/dev/null 2>&1; then
6101   ac_executable_p="test -x"
6102 else
6103   ac_executable_p="test -f"
6104 fi
6105 rm -f conf$$.file
6106
6107 # Extract the first word of "msgfmt", so it can be a program name with args.
6108 set dummy msgfmt; ac_word=$2
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 printf %s "checking for $ac_word... " >&6; }
6111 if test ${ac_cv_path_MSGFMT+y}
6112 then :
6113   printf %s "(cached) " >&6
6114 else $as_nop
6115   case "$MSGFMT" in
6116   [\\/]* | ?:[\\/]*)
6117     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6118     ;;
6119   *)
6120     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6121     for ac_dir in $PATH; do
6122       IFS="$ac_save_IFS"
6123       test -z "$ac_dir" && ac_dir=.
6124       for ac_exec_ext in '' $ac_executable_extensions; do
6125         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6126           echo "$as_me: trying $ac_dir/$ac_word..." >&5
6127           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
6128      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6129             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
6130             break 2
6131           fi
6132         fi
6133       done
6134     done
6135     IFS="$ac_save_IFS"
6136   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
6137     ;;
6138 esac
6139 fi
6140 MSGFMT="$ac_cv_path_MSGFMT"
6141 if test "$MSGFMT" != ":"; then
6142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6143 printf "%s\n" "$MSGFMT" >&6; }
6144 else
6145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 printf "%s\n" "no" >&6; }
6147 fi
6148
6149   # Extract the first word of "gmsgfmt", so it can be a program name with args.
6150 set dummy gmsgfmt; ac_word=$2
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 printf %s "checking for $ac_word... " >&6; }
6153 if test ${ac_cv_path_GMSGFMT+y}
6154 then :
6155   printf %s "(cached) " >&6
6156 else $as_nop
6157   case $GMSGFMT in
6158   [\\/]* | ?:[\\/]*)
6159   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6160   ;;
6161   *)
6162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165   IFS=$as_save_IFS
6166   case $as_dir in #(((
6167     '') as_dir=./ ;;
6168     */) ;;
6169     *) as_dir=$as_dir/ ;;
6170   esac
6171     for ac_exec_ext in '' $ac_executable_extensions; do
6172   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6173     ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
6174     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6175     break 2
6176   fi
6177 done
6178   done
6179 IFS=$as_save_IFS
6180
6181   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6182   ;;
6183 esac
6184 fi
6185 GMSGFMT=$ac_cv_path_GMSGFMT
6186 if test -n "$GMSGFMT"; then
6187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6188 printf "%s\n" "$GMSGFMT" >&6; }
6189 else
6190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 printf "%s\n" "no" >&6; }
6192 fi
6193
6194
6195
6196     case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6197     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
6198     *) GMSGFMT_015=$GMSGFMT ;;
6199   esac
6200   
6201
6202         
6203 # Prepare PATH_SEPARATOR.
6204 # The user is always right.
6205 if test "${PATH_SEPARATOR+set}" != set; then
6206   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6207   # contains only /bin. Note that ksh looks also at the FPATH variable,
6208   # so we have to set that as well for the test.
6209   PATH_SEPARATOR=:
6210   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6211     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6212            || PATH_SEPARATOR=';'
6213        }
6214 fi
6215
6216 # Find out how to test for executable files. Don't use a zero-byte file,
6217 # as systems may use methods other than mode bits to determine executability.
6218 cat >conf$$.file <<_ASEOF
6219 #! /bin/sh
6220 exit 0
6221 _ASEOF
6222 chmod +x conf$$.file
6223 if test -x conf$$.file >/dev/null 2>&1; then
6224   ac_executable_p="test -x"
6225 else
6226   ac_executable_p="test -f"
6227 fi
6228 rm -f conf$$.file
6229
6230 # Extract the first word of "xgettext", so it can be a program name with args.
6231 set dummy xgettext; ac_word=$2
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 printf %s "checking for $ac_word... " >&6; }
6234 if test ${ac_cv_path_XGETTEXT+y}
6235 then :
6236   printf %s "(cached) " >&6
6237 else $as_nop
6238   case "$XGETTEXT" in
6239   [\\/]* | ?:[\\/]*)
6240     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6241     ;;
6242   *)
6243     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6244     for ac_dir in $PATH; do
6245       IFS="$ac_save_IFS"
6246       test -z "$ac_dir" && ac_dir=.
6247       for ac_exec_ext in '' $ac_executable_extensions; do
6248         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6249           echo "$as_me: trying $ac_dir/$ac_word..." >&5
6250           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
6251      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
6252             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
6253             break 2
6254           fi
6255         fi
6256       done
6257     done
6258     IFS="$ac_save_IFS"
6259   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6260     ;;
6261 esac
6262 fi
6263 XGETTEXT="$ac_cv_path_XGETTEXT"
6264 if test "$XGETTEXT" != ":"; then
6265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6266 printf "%s\n" "$XGETTEXT" >&6; }
6267 else
6268   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 printf "%s\n" "no" >&6; }
6270 fi
6271
6272     rm -f messages.po
6273
6274     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6275     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
6276     *) XGETTEXT_015=$XGETTEXT ;;
6277   esac
6278   
6279
6280     
6281 # Prepare PATH_SEPARATOR.
6282 # The user is always right.
6283 if test "${PATH_SEPARATOR+set}" != set; then
6284   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6285   # contains only /bin. Note that ksh looks also at the FPATH variable,
6286   # so we have to set that as well for the test.
6287   PATH_SEPARATOR=:
6288   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6289     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6290            || PATH_SEPARATOR=';'
6291        }
6292 fi
6293
6294 # Find out how to test for executable files. Don't use a zero-byte file,
6295 # as systems may use methods other than mode bits to determine executability.
6296 cat >conf$$.file <<_ASEOF
6297 #! /bin/sh
6298 exit 0
6299 _ASEOF
6300 chmod +x conf$$.file
6301 if test -x conf$$.file >/dev/null 2>&1; then
6302   ac_executable_p="test -x"
6303 else
6304   ac_executable_p="test -f"
6305 fi
6306 rm -f conf$$.file
6307
6308 # Extract the first word of "msgmerge", so it can be a program name with args.
6309 set dummy msgmerge; ac_word=$2
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311 printf %s "checking for $ac_word... " >&6; }
6312 if test ${ac_cv_path_MSGMERGE+y}
6313 then :
6314   printf %s "(cached) " >&6
6315 else $as_nop
6316   case "$MSGMERGE" in
6317   [\\/]* | ?:[\\/]*)
6318     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6319     ;;
6320   *)
6321     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6322     for ac_dir in $PATH; do
6323       IFS="$ac_save_IFS"
6324       test -z "$ac_dir" && ac_dir=.
6325       for ac_exec_ext in '' $ac_executable_extensions; do
6326         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6327           echo "$as_me: trying $ac_dir/$ac_word..." >&5
6328           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
6329             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
6330             break 2
6331           fi
6332         fi
6333       done
6334     done
6335     IFS="$ac_save_IFS"
6336   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
6337     ;;
6338 esac
6339 fi
6340 MSGMERGE="$ac_cv_path_MSGMERGE"
6341 if test "$MSGMERGE" != ":"; then
6342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6343 printf "%s\n" "$MSGMERGE" >&6; }
6344 else
6345   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 printf "%s\n" "no" >&6; }
6347 fi
6348
6349
6350     if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
6351     MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
6352   else
6353         if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
6354       MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
6355     else
6356                         MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
6357     fi
6358   fi
6359   
6360
6361     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
6362   
6363
6364   ac_config_commands="$ac_config_commands po-directories"
6365
6366
6367
6368       if test "X$prefix" = "XNONE"; then
6369     acl_final_prefix="$ac_default_prefix"
6370   else
6371     acl_final_prefix="$prefix"
6372   fi
6373   if test "X$exec_prefix" = "XNONE"; then
6374     acl_final_exec_prefix='${prefix}'
6375   else
6376     acl_final_exec_prefix="$exec_prefix"
6377   fi
6378   acl_save_prefix="$prefix"
6379   prefix="$acl_final_prefix"
6380   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
6381   prefix="$acl_save_prefix"
6382
6383
6384   
6385   # Make sure we can run config.sub.
6386 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
6387   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
6388
6389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6390 printf %s "checking build system type... " >&6; }
6391 if test ${ac_cv_build+y}
6392 then :
6393   printf %s "(cached) " >&6
6394 else $as_nop
6395   ac_build_alias=$build_alias
6396 test "x$ac_build_alias" = x &&
6397   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
6398 test "x$ac_build_alias" = x &&
6399   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6400 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
6401   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
6402
6403 fi
6404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6405 printf "%s\n" "$ac_cv_build" >&6; }
6406 case $ac_cv_build in
6407 *-*-*) ;;
6408 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6409 esac
6410 build=$ac_cv_build
6411 ac_save_IFS=$IFS; IFS='-'
6412 set x $ac_cv_build
6413 shift
6414 build_cpu=$1
6415 build_vendor=$2
6416 shift; shift
6417 # Remember, the first character of IFS is used to create $*,
6418 # except with old shells:
6419 build_os=$*
6420 IFS=$ac_save_IFS
6421 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6422
6423
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6425 printf %s "checking host system type... " >&6; }
6426 if test ${ac_cv_host+y}
6427 then :
6428   printf %s "(cached) " >&6
6429 else $as_nop
6430   if test "x$host_alias" = x; then
6431   ac_cv_host=$ac_cv_build
6432 else
6433   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
6434     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
6435 fi
6436
6437 fi
6438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6439 printf "%s\n" "$ac_cv_host" >&6; }
6440 case $ac_cv_host in
6441 *-*-*) ;;
6442 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6443 esac
6444 host=$ac_cv_host
6445 ac_save_IFS=$IFS; IFS='-'
6446 set x $ac_cv_host
6447 shift
6448 host_cpu=$1
6449 host_vendor=$2
6450 shift; shift
6451 # Remember, the first character of IFS is used to create $*,
6452 # except with old shells:
6453 host_os=$*
6454 IFS=$ac_save_IFS
6455 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6456
6457
6458
6459
6460 @%:@ Check whether --with-gnu-ld was given.
6461 if test ${with_gnu_ld+y}
6462 then :
6463   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6464 else $as_nop
6465   with_gnu_ld=no
6466 fi
6467
6468 # Prepare PATH_SEPARATOR.
6469 # The user is always right.
6470 if test "${PATH_SEPARATOR+set}" != set; then
6471   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
6472   # contains only /bin. Note that ksh looks also at the FPATH variable,
6473   # so we have to set that as well for the test.
6474   PATH_SEPARATOR=:
6475   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6476     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
6477            || PATH_SEPARATOR=';'
6478        }
6479 fi
6480
6481 if test -n "$LD"; then
6482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
6483 printf %s "checking for ld... " >&6; }
6484 elif test "$GCC" = yes; then
6485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6486 printf %s "checking for ld used by $CC... " >&6; }
6487 elif test "$with_gnu_ld" = yes; then
6488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6489 printf %s "checking for GNU ld... " >&6; }
6490 else
6491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6492 printf %s "checking for non-GNU ld... " >&6; }
6493 fi
6494 if test -n "$LD"; then
6495   # Let the user override the test with a path.
6496   :
6497 else
6498   if test ${acl_cv_path_LD+y}
6499 then :
6500   printf %s "(cached) " >&6
6501 else $as_nop
6502   
6503     acl_cv_path_LD= # Final result of this test
6504     ac_prog=ld # Program to search in $PATH
6505     if test "$GCC" = yes; then
6506       # Check if gcc -print-prog-name=ld gives a path.
6507       case $host in
6508         *-*-mingw*)
6509           # gcc leaves a trailing carriage return which upsets mingw
6510           acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6511         *)
6512           acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
6513       esac
6514       case $acl_output in
6515         # Accept absolute paths.
6516         [\\/]* | ?:[\\/]*)
6517           re_direlt='/[^/][^/]*/\.\./'
6518           # Canonicalize the pathname of ld
6519           acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
6520           while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
6521             acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
6522           done
6523           # Got the pathname. No search in PATH is needed.
6524           acl_cv_path_LD="$acl_output"
6525           ac_prog=
6526           ;;
6527         "")
6528           # If it fails, then pretend we aren't using GCC.
6529           ;;
6530         *)
6531           # If it is relative, then search for the first ld in PATH.
6532           with_gnu_ld=unknown
6533           ;;
6534       esac
6535     fi
6536     if test -n "$ac_prog"; then
6537       # Search for $ac_prog in $PATH.
6538       acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6539       for ac_dir in $PATH; do
6540         IFS="$acl_save_ifs"
6541         test -z "$ac_dir" && ac_dir=.
6542         if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6543           acl_cv_path_LD="$ac_dir/$ac_prog"
6544           # Check to see if the program is GNU ld.  I'd rather use --version,
6545           # but apparently some variants of GNU ld only accept -v.
6546           # Break only if it was the GNU/non-GNU ld that we prefer.
6547           case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
6548             *GNU* | *'with BFD'*)
6549               test "$with_gnu_ld" != no && break
6550               ;;
6551             *)
6552               test "$with_gnu_ld" != yes && break
6553               ;;
6554           esac
6555         fi
6556       done
6557       IFS="$acl_save_ifs"
6558     fi
6559     case $host in
6560       *-*-aix*)
6561         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h.  */
6563 #if defined __powerpc64__ || defined __LP64__
6564                 int ok;
6565                #else
6566                 error fail
6567                #endif
6568              
6569 _ACEOF
6570 if ac_fn_c_try_compile "$LINENO"
6571 then :
6572   # The compiler produces 64-bit code. Add option '-b64' so that the
6573            # linker groks 64-bit object files.
6574            case "$acl_cv_path_LD " in
6575              *" -b64 "*) ;;
6576              *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
6577            esac
6578           
6579 fi
6580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6581         ;;
6582       sparc64-*-netbsd*)
6583         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h.  */
6585 #if defined __sparcv9 || defined __arch64__
6586                 int ok;
6587                #else
6588                 error fail
6589                #endif
6590              
6591 _ACEOF
6592 if ac_fn_c_try_compile "$LINENO"
6593 then :
6594   
6595 else $as_nop
6596   # The compiler produces 32-bit code. Add option '-m elf32_sparc'
6597            # so that the linker groks 32-bit object files.
6598            case "$acl_cv_path_LD " in
6599              *" -m elf32_sparc "*) ;;
6600              *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
6601            esac
6602           
6603 fi
6604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6605         ;;
6606     esac
6607   
6608 fi
6609
6610   LD="$acl_cv_path_LD"
6611 fi
6612 if test -n "$LD"; then
6613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6614 printf "%s\n" "$LD" >&6; }
6615 else
6616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617 printf "%s\n" "no" >&6; }
6618   as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6619 fi
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6621 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
6622 if test ${acl_cv_prog_gnu_ld+y}
6623 then :
6624   printf %s "(cached) " >&6
6625 else $as_nop
6626   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6627 case `$LD -v 2>&1 </dev/null` in
6628 *GNU* | *'with BFD'*)
6629   acl_cv_prog_gnu_ld=yes
6630   ;;
6631 *)
6632   acl_cv_prog_gnu_ld=no
6633   ;;
6634 esac
6635 fi
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
6637 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
6638 with_gnu_ld=$acl_cv_prog_gnu_ld
6639
6640
6641
6642     
6643   
6644                                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
6645 printf %s "checking for shared library run path origin... " >&6; }
6646 if test ${acl_cv_rpath+y}
6647 then :
6648   printf %s "(cached) " >&6
6649 else $as_nop
6650   
6651     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
6652     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6653     . ./conftest.sh
6654     rm -f ./conftest.sh
6655     acl_cv_rpath=done
6656   
6657 fi
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
6659 printf "%s\n" "$acl_cv_rpath" >&6; }
6660   wl="$acl_cv_wl"
6661   acl_libext="$acl_cv_libext"
6662   acl_shlibext="$acl_cv_shlibext"
6663   acl_libname_spec="$acl_cv_libname_spec"
6664   acl_library_names_spec="$acl_cv_library_names_spec"
6665   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
6666   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
6667   acl_hardcode_direct="$acl_cv_hardcode_direct"
6668   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
6669     @%:@ Check whether --enable-rpath was given.
6670 if test ${enable_rpath+y}
6671 then :
6672   enableval=$enable_rpath; :
6673 else $as_nop
6674   enable_rpath=yes
6675 fi
6676
6677
6678
6679   
6680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
6681 printf %s "checking 32-bit host C ABI... " >&6; }
6682 if test ${gl_cv_host_cpu_c_abi_32bit+y}
6683 then :
6684   printf %s "(cached) " >&6
6685 else $as_nop
6686   if test -n "$gl_cv_host_cpu_c_abi"; then
6687        case "$gl_cv_host_cpu_c_abi" in
6688          i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
6689            gl_cv_host_cpu_c_abi_32bit=yes ;;
6690          x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
6691            gl_cv_host_cpu_c_abi_32bit=no ;;
6692          *)
6693            gl_cv_host_cpu_c_abi_32bit=unknown ;;
6694        esac
6695      else
6696        case "$host_cpu" in
6697
6698          # CPUs that only support a 32-bit ABI.
6699          arc \
6700          | bfin \
6701          | cris* \
6702          | csky \
6703          | epiphany \
6704          | ft32 \
6705          | h8300 \
6706          | m68k \
6707          | microblaze | microblazeel \
6708          | nds32 | nds32le | nds32be \
6709          | nios2 | nios2eb | nios2el \
6710          | or1k* \
6711          | or32 \
6712          | sh | sh1234 | sh1234elb \
6713          | tic6x \
6714          | xtensa* )
6715            gl_cv_host_cpu_c_abi_32bit=yes
6716            ;;
6717
6718          # CPUs that only support a 64-bit ABI.
6719          alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
6720          | mmix )
6721            gl_cv_host_cpu_c_abi_32bit=no
6722            ;;
6723
6724          i[34567]86 )
6725            gl_cv_host_cpu_c_abi_32bit=yes
6726            ;;
6727
6728          x86_64 )
6729            # On x86_64 systems, the C compiler may be generating code in one of
6730            # these ABIs:
6731            # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
6732            # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
6733            #   with native Windows (mingw, MSVC).
6734            # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
6735            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
6736            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h.  */
6738 #if (defined __x86_64__ || defined __amd64__ \
6739                        || defined _M_X64 || defined _M_AMD64) \
6740                       && !(defined __ILP32__ || defined _ILP32)
6741                    int ok;
6742                   #else
6743                    error fail
6744                   #endif
6745                 
6746 _ACEOF
6747 if ac_fn_c_try_compile "$LINENO"
6748 then :
6749   gl_cv_host_cpu_c_abi_32bit=no
6750 else $as_nop
6751   gl_cv_host_cpu_c_abi_32bit=yes
6752 fi
6753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6754            ;;
6755
6756          arm* | aarch64 )
6757            # Assume arm with EABI.
6758            # On arm64 systems, the C compiler may be generating code in one of
6759            # these ABIs:
6760            # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
6761            # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
6762            # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
6763            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h.  */
6765 #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
6766                    int ok;
6767                   #else
6768                    error fail
6769                   #endif
6770                 
6771 _ACEOF
6772 if ac_fn_c_try_compile "$LINENO"
6773 then :
6774   gl_cv_host_cpu_c_abi_32bit=no
6775 else $as_nop
6776   gl_cv_host_cpu_c_abi_32bit=yes
6777 fi
6778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6779            ;;
6780
6781          hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
6782            # On hppa, the C compiler may be generating 32-bit code or 64-bit
6783            # code. In the latter case, it defines _LP64 and __LP64__.
6784            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h.  */
6786 #ifdef __LP64__
6787                    int ok;
6788                   #else
6789                    error fail
6790                   #endif
6791                 
6792 _ACEOF
6793 if ac_fn_c_try_compile "$LINENO"
6794 then :
6795   gl_cv_host_cpu_c_abi_32bit=no
6796 else $as_nop
6797   gl_cv_host_cpu_c_abi_32bit=yes
6798 fi
6799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6800            ;;
6801
6802          ia64* )
6803            # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
6804            # 32-bit code. In the latter case, it defines _ILP32.
6805            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h.  */
6807 #ifdef _ILP32
6808                    int ok;
6809                   #else
6810                    error fail
6811                   #endif
6812                 
6813 _ACEOF
6814 if ac_fn_c_try_compile "$LINENO"
6815 then :
6816   gl_cv_host_cpu_c_abi_32bit=yes
6817 else $as_nop
6818   gl_cv_host_cpu_c_abi_32bit=no
6819 fi
6820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6821            ;;
6822
6823          mips* )
6824            # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
6825            # at 32.
6826            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h.  */
6828 #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
6829                    int ok;
6830                   #else
6831                    error fail
6832                   #endif
6833                 
6834 _ACEOF
6835 if ac_fn_c_try_compile "$LINENO"
6836 then :
6837   gl_cv_host_cpu_c_abi_32bit=no
6838 else $as_nop
6839   gl_cv_host_cpu_c_abi_32bit=yes
6840 fi
6841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6842            ;;
6843
6844          powerpc* )
6845            # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
6846            # No need to distinguish them here; the caller may distinguish
6847            # them based on the OS.
6848            # On powerpc64 systems, the C compiler may still be generating
6849            # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
6850            # be generating 64-bit code.
6851            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h.  */
6853 #if defined __powerpc64__ || defined __LP64__
6854                    int ok;
6855                   #else
6856                    error fail
6857                   #endif
6858                 
6859 _ACEOF
6860 if ac_fn_c_try_compile "$LINENO"
6861 then :
6862   gl_cv_host_cpu_c_abi_32bit=no
6863 else $as_nop
6864   gl_cv_host_cpu_c_abi_32bit=yes
6865 fi
6866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6867            ;;
6868
6869          rs6000 )
6870            gl_cv_host_cpu_c_abi_32bit=yes
6871            ;;
6872
6873          riscv32 | riscv64 )
6874            # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
6875            # Size of 'long' and 'void *':
6876            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6877 /* end confdefs.h.  */
6878 #if defined __LP64__
6879                     int ok;
6880                   #else
6881                     error fail
6882                   #endif
6883                 
6884 _ACEOF
6885 if ac_fn_c_try_compile "$LINENO"
6886 then :
6887   gl_cv_host_cpu_c_abi_32bit=no
6888 else $as_nop
6889   gl_cv_host_cpu_c_abi_32bit=yes
6890 fi
6891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6892            ;;
6893
6894          s390* )
6895            # On s390x, the C compiler may be generating 64-bit (= s390x) code
6896            # or 31-bit (= s390) code.
6897            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h.  */
6899 #if defined __LP64__ || defined __s390x__
6900                     int ok;
6901                   #else
6902                     error fail
6903                   #endif
6904                 
6905 _ACEOF
6906 if ac_fn_c_try_compile "$LINENO"
6907 then :
6908   gl_cv_host_cpu_c_abi_32bit=no
6909 else $as_nop
6910   gl_cv_host_cpu_c_abi_32bit=yes
6911 fi
6912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6913            ;;
6914
6915          sparc | sparc64 )
6916            # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
6917            # C compiler still generates 32-bit code.
6918            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h.  */
6920 #if defined __sparcv9 || defined __arch64__
6921                    int ok;
6922                   #else
6923                    error fail
6924                   #endif
6925                 
6926 _ACEOF
6927 if ac_fn_c_try_compile "$LINENO"
6928 then :
6929   gl_cv_host_cpu_c_abi_32bit=no
6930 else $as_nop
6931   gl_cv_host_cpu_c_abi_32bit=yes
6932 fi
6933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6934            ;;
6935
6936          *)
6937            gl_cv_host_cpu_c_abi_32bit=unknown
6938            ;;
6939        esac
6940      fi
6941     
6942 fi
6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
6944 printf "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; }
6945
6946   HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
6947
6948 ac_ext=c
6949 ac_cpp='$CPP $CPPFLAGS'
6950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6954 printf %s "checking how to run the C preprocessor... " >&6; }
6955 # On Suns, sometimes $CPP names a directory.
6956 if test -n "$CPP" && test -d "$CPP"; then
6957   CPP=
6958 fi
6959 if test -z "$CPP"; then
6960   if test ${ac_cv_prog_CPP+y}
6961 then :
6962   printf %s "(cached) " >&6
6963 else $as_nop
6964       # Double quotes because $CC needs to be expanded
6965     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
6966     do
6967       ac_preproc_ok=false
6968 for ac_c_preproc_warn_flag in '' yes
6969 do
6970   # Use a header file that comes with gcc, so configuring glibc
6971   # with a fresh cross-compiler works.
6972   # On the NeXT, cc -E runs the code through the compiler's parser,
6973   # not just through cpp. "Syntax error" is here to catch this case.
6974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h.  */
6976 @%:@include <limits.h>
6977                      Syntax error
6978 _ACEOF
6979 if ac_fn_c_try_cpp "$LINENO"
6980 then :
6981   
6982 else $as_nop
6983   # Broken: fails on valid input.
6984 continue
6985 fi
6986 rm -f conftest.err conftest.i conftest.$ac_ext
6987
6988   # OK, works on sane cases.  Now check whether nonexistent headers
6989   # can be detected and how.
6990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6991 /* end confdefs.h.  */
6992 @%:@include <ac_nonexistent.h>
6993 _ACEOF
6994 if ac_fn_c_try_cpp "$LINENO"
6995 then :
6996   # Broken: success on invalid input.
6997 continue
6998 else $as_nop
6999   # Passes both tests.
7000 ac_preproc_ok=:
7001 break
7002 fi
7003 rm -f conftest.err conftest.i conftest.$ac_ext
7004
7005 done
7006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7007 rm -f conftest.i conftest.err conftest.$ac_ext
7008 if $ac_preproc_ok
7009 then :
7010   break
7011 fi
7012
7013     done
7014     ac_cv_prog_CPP=$CPP
7015   
7016 fi
7017   CPP=$ac_cv_prog_CPP
7018 else
7019   ac_cv_prog_CPP=$CPP
7020 fi
7021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7022 printf "%s\n" "$CPP" >&6; }
7023 ac_preproc_ok=false
7024 for ac_c_preproc_warn_flag in '' yes
7025 do
7026   # Use a header file that comes with gcc, so configuring glibc
7027   # with a fresh cross-compiler works.
7028   # On the NeXT, cc -E runs the code through the compiler's parser,
7029   # not just through cpp. "Syntax error" is here to catch this case.
7030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h.  */
7032 @%:@include <limits.h>
7033                      Syntax error
7034 _ACEOF
7035 if ac_fn_c_try_cpp "$LINENO"
7036 then :
7037   
7038 else $as_nop
7039   # Broken: fails on valid input.
7040 continue
7041 fi
7042 rm -f conftest.err conftest.i conftest.$ac_ext
7043
7044   # OK, works on sane cases.  Now check whether nonexistent headers
7045   # can be detected and how.
7046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h.  */
7048 @%:@include <ac_nonexistent.h>
7049 _ACEOF
7050 if ac_fn_c_try_cpp "$LINENO"
7051 then :
7052   # Broken: success on invalid input.
7053 continue
7054 else $as_nop
7055   # Passes both tests.
7056 ac_preproc_ok=:
7057 break
7058 fi
7059 rm -f conftest.err conftest.i conftest.$ac_ext
7060
7061 done
7062 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7063 rm -f conftest.i conftest.err conftest.$ac_ext
7064 if $ac_preproc_ok
7065 then :
7066   
7067 else $as_nop
7068   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7069 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
7070 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7071 See \`config.log' for more details" "$LINENO" 5; }
7072 fi
7073
7074 ac_ext=c
7075 ac_cpp='$CPP $CPPFLAGS'
7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7079
7080
7081
7082                                 
7083   
7084
7085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
7086 printf %s "checking for ELF binary format... " >&6; }
7087 if test ${gl_cv_elf+y}
7088 then :
7089   printf %s "(cached) " >&6
7090 else $as_nop
7091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7092 /* end confdefs.h.  */
7093 #if defined __ELF__ || (defined __linux__ && defined __EDG__)
7094         Extensible Linking Format
7095         #endif
7096        
7097 _ACEOF
7098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7099   $EGREP "Extensible Linking Format" >/dev/null 2>&1
7100 then :
7101   gl_cv_elf=yes
7102 else $as_nop
7103   gl_cv_elf=no
7104 fi
7105 rm -rf conftest*
7106
7107     
7108 fi
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
7110 printf "%s\n" "$gl_cv_elf" >&6; }
7111   if test $gl_cv_elf = yes; then
7112     # Extract the ELF class of a file (5th byte) in decimal.
7113     # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
7114     if od -A x < /dev/null >/dev/null 2>/dev/null; then
7115       # Use POSIX od.
7116       func_elfclass ()
7117       {
7118         od -A n -t d1 -j 4 -N 1
7119       }
7120     else
7121       # Use BSD hexdump.
7122       func_elfclass ()
7123       {
7124         dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
7125         echo
7126       }
7127     fi
7128     # Use 'expr', not 'test', to compare the values of func_elfclass, because on
7129     # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
7130     # not 1 or 2.
7131     case $HOST_CPU_C_ABI_32BIT in
7132       yes)
7133         # 32-bit ABI.
7134         acl_is_expected_elfclass ()
7135         {
7136           expr "`func_elfclass | sed -e 's/[    ]//g'`" = 1 > /dev/null
7137         }
7138         ;;
7139       no)
7140         # 64-bit ABI.
7141         acl_is_expected_elfclass ()
7142         {
7143           expr "`func_elfclass | sed -e 's/[    ]//g'`" = 2 > /dev/null
7144         }
7145         ;;
7146       *)
7147         # Unknown.
7148         acl_is_expected_elfclass ()
7149         {
7150           :
7151         }
7152         ;;
7153     esac
7154   else
7155     acl_is_expected_elfclass ()
7156     {
7157       :
7158     }
7159   fi
7160
7161     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
7162 printf %s "checking for the common suffixes of directories in the library search path... " >&6; }
7163 if test ${acl_cv_libdirstems+y}
7164 then :
7165   printf %s "(cached) " >&6
7166 else $as_nop
7167             acl_libdirstem=lib
7168      acl_libdirstem2=
7169      acl_libdirstem3=
7170      case "$host_os" in
7171        solaris*)
7172                                                       if test $HOST_CPU_C_ABI_32BIT = no; then
7173            acl_libdirstem2=lib/64
7174            case "$host_cpu" in
7175              sparc*)        acl_libdirstem3=lib/sparcv9 ;;
7176              i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
7177            esac
7178          fi
7179          ;;
7180        *)
7181                                                                                  searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
7182                      | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7183          if test $HOST_CPU_C_ABI_32BIT != no; then
7184            # 32-bit or unknown ABI.
7185            if test -d /usr/lib32; then
7186              acl_libdirstem2=lib32
7187            fi
7188          fi
7189          if test $HOST_CPU_C_ABI_32BIT != yes; then
7190            # 64-bit or unknown ABI.
7191            if test -d /usr/lib64; then
7192              acl_libdirstem3=lib64
7193            fi
7194          fi
7195          if test -n "$searchpath"; then
7196            acl_save_IFS="${IFS=         }"; IFS=":"
7197            for searchdir in $searchpath; do
7198              if test -d "$searchdir"; then
7199                case "$searchdir" in
7200                  */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
7201                  */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
7202                  */../ | */.. )
7203                    # Better ignore directories of this form. They are misleading.
7204                    ;;
7205                  *) searchdir=`cd "$searchdir" && pwd`
7206                     case "$searchdir" in
7207                       */lib32 ) acl_libdirstem2=lib32 ;;
7208                       */lib64 ) acl_libdirstem3=lib64 ;;
7209                     esac ;;
7210                esac
7211              fi
7212            done
7213            IFS="$acl_save_IFS"
7214            if test $HOST_CPU_C_ABI_32BIT = yes; then
7215              # 32-bit ABI.
7216              acl_libdirstem3=
7217            fi
7218            if test $HOST_CPU_C_ABI_32BIT = no; then
7219              # 64-bit ABI.
7220              acl_libdirstem2=
7221            fi
7222          fi
7223          ;;
7224      esac
7225      test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
7226      test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
7227      acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
7228     
7229 fi
7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
7231 printf "%s\n" "$acl_cv_libdirstems" >&6; }
7232       acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
7233   acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
7234   acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
7235
7236
7237     
7238   
7239
7240       
7241   
7242   
7243   
7244   
7245   
7246     use_additional=yes
7247   
7248   acl_save_prefix="$prefix"
7249   prefix="$acl_final_prefix"
7250   acl_save_exec_prefix="$exec_prefix"
7251   exec_prefix="$acl_final_exec_prefix"
7252   
7253     eval additional_includedir=\"$includedir\"
7254     eval additional_libdir=\"$libdir\"
7255     eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
7256     eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
7257   
7258   exec_prefix="$acl_save_exec_prefix"
7259   prefix="$acl_save_prefix"
7260
7261   
7262 @%:@ Check whether --with-libiconv-prefix was given.
7263 if test ${with_libiconv_prefix+y}
7264 then :
7265   withval=$with_libiconv_prefix; 
7266     if test "X$withval" = "Xno"; then
7267       use_additional=no
7268     else
7269       if test "X$withval" = "X"; then
7270         
7271   acl_save_prefix="$prefix"
7272   prefix="$acl_final_prefix"
7273   acl_save_exec_prefix="$exec_prefix"
7274   exec_prefix="$acl_final_exec_prefix"
7275   
7276           eval additional_includedir=\"$includedir\"
7277           eval additional_libdir=\"$libdir\"
7278           eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
7279           eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
7280         
7281   exec_prefix="$acl_save_exec_prefix"
7282   prefix="$acl_save_prefix"
7283
7284       else
7285         additional_includedir="$withval/include"
7286         additional_libdir="$withval/$acl_libdirstem"
7287         additional_libdir2="$withval/$acl_libdirstem2"
7288         additional_libdir3="$withval/$acl_libdirstem3"
7289       fi
7290     fi
7291
7292 fi
7293
7294   if test "X$additional_libdir2" = "X$additional_libdir"; then
7295     additional_libdir2=
7296   fi
7297   if test "X$additional_libdir3" = "X$additional_libdir"; then
7298     additional_libdir3=
7299   fi
7300       LIBICONV=
7301   LTLIBICONV=
7302   INCICONV=
7303   LIBICONV_PREFIX=
7304       HAVE_LIBICONV=
7305   rpathdirs=
7306   ltrpathdirs=
7307   names_already_handled=
7308   names_next_round='iconv '
7309   while test -n "$names_next_round"; do
7310     names_this_round="$names_next_round"
7311     names_next_round=
7312     for name in $names_this_round; do
7313       already_handled=
7314       for n in $names_already_handled; do
7315         if test "$n" = "$name"; then
7316           already_handled=yes
7317           break
7318         fi
7319       done
7320       if test -z "$already_handled"; then
7321         names_already_handled="$names_already_handled $name"
7322                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
7323         eval value=\"\$HAVE_LIB$uppername\"
7324         if test -n "$value"; then
7325           if test "$value" = yes; then
7326             eval value=\"\$LIB$uppername\"
7327             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
7328             eval value=\"\$LTLIB$uppername\"
7329             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
7330           else
7331                                     :
7332           fi
7333         else
7334                               found_dir=
7335           found_la=
7336           found_so=
7337           found_a=
7338           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
7339           if test -n "$acl_shlibext"; then
7340             shrext=".$acl_shlibext"             # typically: shrext=.so
7341           else
7342             shrext=
7343           fi
7344           if test $use_additional = yes; then
7345             for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
7346               if test "X$found_dir" = "X"; then
7347                 eval dir=\$$additional_libdir_variable
7348                 if test -n "$dir"; then
7349                                                       if test -n "$acl_shlibext"; then
7350                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
7351                       found_dir="$dir"
7352                       found_so="$dir/$libname$shrext"
7353                     else
7354                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7355                         ver=`(cd "$dir" && \
7356                               for f in "$libname$shrext".*; do echo "$f"; done \
7357                               | sed -e "s,^$libname$shrext\\\\.,," \
7358                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7359                               | sed 1q ) 2>/dev/null`
7360                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
7361                           found_dir="$dir"
7362                           found_so="$dir/$libname$shrext.$ver"
7363                         fi
7364                       else
7365                         eval library_names=\"$acl_library_names_spec\"
7366                         for f in $library_names; do
7367                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
7368                             found_dir="$dir"
7369                             found_so="$dir/$f"
7370                             break
7371                           fi
7372                         done
7373                       fi
7374                     fi
7375                   fi
7376                                     if test "X$found_dir" = "X"; then
7377                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
7378                       found_dir="$dir"
7379                       found_a="$dir/$libname.$acl_libext"
7380                     fi
7381                   fi
7382                   if test "X$found_dir" != "X"; then
7383                     if test -f "$dir/$libname.la"; then
7384                       found_la="$dir/$libname.la"
7385                     fi
7386                   fi
7387                 fi
7388               fi
7389             done
7390           fi
7391           if test "X$found_dir" = "X"; then
7392             for x in $LDFLAGS $LTLIBICONV; do
7393               
7394   acl_save_prefix="$prefix"
7395   prefix="$acl_final_prefix"
7396   acl_save_exec_prefix="$exec_prefix"
7397   exec_prefix="$acl_final_exec_prefix"
7398   eval x=\"$x\"
7399   exec_prefix="$acl_save_exec_prefix"
7400   prefix="$acl_save_prefix"
7401
7402               case "$x" in
7403                 -L*)
7404                   dir=`echo "X$x" | sed -e 's/^X-L//'`
7405                                     if test -n "$acl_shlibext"; then
7406                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
7407                       found_dir="$dir"
7408                       found_so="$dir/$libname$shrext"
7409                     else
7410                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
7411                         ver=`(cd "$dir" && \
7412                               for f in "$libname$shrext".*; do echo "$f"; done \
7413                               | sed -e "s,^$libname$shrext\\\\.,," \
7414                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
7415                               | sed 1q ) 2>/dev/null`
7416                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
7417                           found_dir="$dir"
7418                           found_so="$dir/$libname$shrext.$ver"
7419                         fi
7420                       else
7421                         eval library_names=\"$acl_library_names_spec\"
7422                         for f in $library_names; do
7423                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
7424                             found_dir="$dir"
7425                             found_so="$dir/$f"
7426                             break
7427                           fi
7428                         done
7429                       fi
7430                     fi
7431                   fi
7432                                     if test "X$found_dir" = "X"; then
7433                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
7434                       found_dir="$dir"
7435                       found_a="$dir/$libname.$acl_libext"
7436                     fi
7437                   fi
7438                   if test "X$found_dir" != "X"; then
7439                     if test -f "$dir/$libname.la"; then
7440                       found_la="$dir/$libname.la"
7441                     fi
7442                   fi
7443                   ;;
7444               esac
7445               if test "X$found_dir" != "X"; then
7446                 break
7447               fi
7448             done
7449           fi
7450           if test "X$found_dir" != "X"; then
7451                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7452             if test "X$found_so" != "X"; then
7453                                                         if test "$enable_rpath" = no \
7454                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7455                  || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
7456                  || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
7457                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7458               else
7459                                                                                 haveit=
7460                 for x in $ltrpathdirs; do
7461                   if test "X$x" = "X$found_dir"; then
7462                     haveit=yes
7463                     break
7464                   fi
7465                 done
7466                 if test -z "$haveit"; then
7467                   ltrpathdirs="$ltrpathdirs $found_dir"
7468                 fi
7469                                 if test "$acl_hardcode_direct" = yes; then
7470                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7471                 else
7472                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
7473                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7474                                                             haveit=
7475                     for x in $rpathdirs; do
7476                       if test "X$x" = "X$found_dir"; then
7477                         haveit=yes
7478                         break
7479                       fi
7480                     done
7481                     if test -z "$haveit"; then
7482                       rpathdirs="$rpathdirs $found_dir"
7483                     fi
7484                   else
7485                                                                                 haveit=
7486                     for x in $LDFLAGS $LIBICONV; do
7487                       
7488   acl_save_prefix="$prefix"
7489   prefix="$acl_final_prefix"
7490   acl_save_exec_prefix="$exec_prefix"
7491   exec_prefix="$acl_final_exec_prefix"
7492   eval x=\"$x\"
7493   exec_prefix="$acl_save_exec_prefix"
7494   prefix="$acl_save_prefix"
7495
7496                       if test "X$x" = "X-L$found_dir"; then
7497                         haveit=yes
7498                         break
7499                       fi
7500                     done
7501                     if test -z "$haveit"; then
7502                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7503                     fi
7504                     if test "$acl_hardcode_minus_L" != no; then
7505                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
7506                     else
7507                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7508                     fi
7509                   fi
7510                 fi
7511               fi
7512             else
7513               if test "X$found_a" != "X"; then
7514                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
7515               else
7516                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7517               fi
7518             fi
7519                         additional_includedir=
7520             case "$found_dir" in
7521               */$acl_libdirstem | */$acl_libdirstem/)
7522                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7523                 if test "$name" = 'iconv'; then
7524                   LIBICONV_PREFIX="$basedir"
7525                 fi
7526                 additional_includedir="$basedir/include"
7527                 ;;
7528               */$acl_libdirstem2 | */$acl_libdirstem2/)
7529                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7530                 if test "$name" = 'iconv'; then
7531                   LIBICONV_PREFIX="$basedir"
7532                 fi
7533                 additional_includedir="$basedir/include"
7534                 ;;
7535               */$acl_libdirstem3 | */$acl_libdirstem3/)
7536                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
7537                 if test "$name" = 'iconv'; then
7538                   LIBICONV_PREFIX="$basedir"
7539                 fi
7540                 additional_includedir="$basedir/include"
7541                 ;;
7542             esac
7543             if test "X$additional_includedir" != "X"; then
7544                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
7545                 haveit=
7546                 if test "X$additional_includedir" = "X/usr/local/include"; then
7547                   if test -n "$GCC"; then
7548                     case $host_os in
7549                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7550                     esac
7551                   fi
7552                 fi
7553                 if test -z "$haveit"; then
7554                   for x in $CPPFLAGS $INCICONV; do
7555                     
7556   acl_save_prefix="$prefix"
7557   prefix="$acl_final_prefix"
7558   acl_save_exec_prefix="$exec_prefix"
7559   exec_prefix="$acl_final_exec_prefix"
7560   eval x=\"$x\"
7561   exec_prefix="$acl_save_exec_prefix"
7562   prefix="$acl_save_prefix"
7563
7564                     if test "X$x" = "X-I$additional_includedir"; then
7565                       haveit=yes
7566                       break
7567                     fi
7568                   done
7569                   if test -z "$haveit"; then
7570                     if test -d "$additional_includedir"; then
7571                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7572                     fi
7573                   fi
7574                 fi
7575               fi
7576             fi
7577                         if test -n "$found_la"; then
7578                                                         save_libdir="$libdir"
7579               case "$found_la" in
7580                 */* | *\\*) . "$found_la" ;;
7581                 *) . "./$found_la" ;;
7582               esac
7583               libdir="$save_libdir"
7584                             for dep in $dependency_libs; do
7585                 case "$dep" in
7586                   -L*)
7587                     dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7588                                                                                                                                                                 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
7589                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
7590                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
7591                       haveit=
7592                       if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
7593                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
7594                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
7595                         if test -n "$GCC"; then
7596                           case $host_os in
7597                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7598                           esac
7599                         fi
7600                       fi
7601                       if test -z "$haveit"; then
7602                         haveit=
7603                         for x in $LDFLAGS $LIBICONV; do
7604                           
7605   acl_save_prefix="$prefix"
7606   prefix="$acl_final_prefix"
7607   acl_save_exec_prefix="$exec_prefix"
7608   exec_prefix="$acl_final_exec_prefix"
7609   eval x=\"$x\"
7610   exec_prefix="$acl_save_exec_prefix"
7611   prefix="$acl_save_prefix"
7612
7613                           if test "X$x" = "X-L$dependency_libdir"; then
7614                             haveit=yes
7615                             break
7616                           fi
7617                         done
7618                         if test -z "$haveit"; then
7619                           if test -d "$dependency_libdir"; then
7620                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
7621                           fi
7622                         fi
7623                         haveit=
7624                         for x in $LDFLAGS $LTLIBICONV; do
7625                           
7626   acl_save_prefix="$prefix"
7627   prefix="$acl_final_prefix"
7628   acl_save_exec_prefix="$exec_prefix"
7629   exec_prefix="$acl_final_exec_prefix"
7630   eval x=\"$x\"
7631   exec_prefix="$acl_save_exec_prefix"
7632   prefix="$acl_save_prefix"
7633
7634                           if test "X$x" = "X-L$dependency_libdir"; then
7635                             haveit=yes
7636                             break
7637                           fi
7638                         done
7639                         if test -z "$haveit"; then
7640                           if test -d "$dependency_libdir"; then
7641                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
7642                           fi
7643                         fi
7644                       fi
7645                     fi
7646                     ;;
7647                   -R*)
7648                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
7649                     if test "$enable_rpath" != no; then
7650                                                                   haveit=
7651                       for x in $rpathdirs; do
7652                         if test "X$x" = "X$dir"; then
7653                           haveit=yes
7654                           break
7655                         fi
7656                       done
7657                       if test -z "$haveit"; then
7658                         rpathdirs="$rpathdirs $dir"
7659                       fi
7660                                                                   haveit=
7661                       for x in $ltrpathdirs; do
7662                         if test "X$x" = "X$dir"; then
7663                           haveit=yes
7664                           break
7665                         fi
7666                       done
7667                       if test -z "$haveit"; then
7668                         ltrpathdirs="$ltrpathdirs $dir"
7669                       fi
7670                     fi
7671                     ;;
7672                   -l*)
7673                                                                                                                                                                 dep=`echo "X$dep" | sed -e 's/^X-l//'`
7674                     if test "X$dep" != Xc \
7675                        || case $host_os in
7676                             linux* | gnu* | k*bsd*-gnu) false ;;
7677                             *)                          true ;;
7678                           esac; then
7679                       names_next_round="$names_next_round $dep"
7680                     fi
7681                     ;;
7682                   *.la)
7683                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7684                     ;;
7685                   *)
7686                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
7687                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7688                     ;;
7689                 esac
7690               done
7691             fi
7692           else
7693                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
7694             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7695           fi
7696         fi
7697       fi
7698     done
7699   done
7700   if test "X$rpathdirs" != "X"; then
7701     if test -n "$acl_hardcode_libdir_separator"; then
7702                         alldirs=
7703       for found_dir in $rpathdirs; do
7704         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
7705       done
7706             acl_save_libdir="$libdir"
7707       libdir="$alldirs"
7708       eval flag=\"$acl_hardcode_libdir_flag_spec\"
7709       libdir="$acl_save_libdir"
7710       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7711     else
7712             for found_dir in $rpathdirs; do
7713         acl_save_libdir="$libdir"
7714         libdir="$found_dir"
7715         eval flag=\"$acl_hardcode_libdir_flag_spec\"
7716         libdir="$acl_save_libdir"
7717         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
7718       done
7719     fi
7720   fi
7721   if test "X$ltrpathdirs" != "X"; then
7722             for found_dir in $ltrpathdirs; do
7723       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7724     done
7725   fi
7726   
7727   
7728   
7729   
7730
7731
7732
7733     
7734   
7735   
7736   
7737   
7738   
7739   
7740
7741   
7742   
7743
7744
7745     
7746
7747     
7748   
7749
7750                       
7751     
7752   
7753
7754     
7755     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
7756 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
7757 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
7758 then :
7759   printf %s "(cached) " >&6
7760 else $as_nop
7761   gt_save_LIBS="$LIBS"
7762      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7763      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7764 /* end confdefs.h.  */
7765 #include <CoreFoundation/CFPreferences.h>
7766 int
7767 main (void)
7768 {
7769 CFPreferencesCopyAppValue(NULL, NULL)
7770   ;
7771   return 0;
7772 }
7773 _ACEOF
7774 if ac_fn_c_try_link "$LINENO"
7775 then :
7776   gt_cv_func_CFPreferencesCopyAppValue=yes
7777 else $as_nop
7778   gt_cv_func_CFPreferencesCopyAppValue=no
7779 fi
7780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7781     conftest$ac_exeext conftest.$ac_ext
7782      LIBS="$gt_save_LIBS"
7783 fi
7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
7785 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
7786   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
7787     
7788 printf "%s\n" "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
7789
7790   fi
7791                     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
7792 printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; }
7793 if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y}
7794 then :
7795   printf %s "(cached) " >&6
7796 else $as_nop
7797   gt_save_LIBS="$LIBS"
7798      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
7799      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h.  */
7801 #include <CoreFoundation/CFLocale.h>
7802 int
7803 main (void)
7804 {
7805 CFLocaleCopyPreferredLanguages();
7806   ;
7807   return 0;
7808 }
7809 _ACEOF
7810 if ac_fn_c_try_link "$LINENO"
7811 then :
7812   gt_cv_func_CFLocaleCopyPreferredLanguages=yes
7813 else $as_nop
7814   gt_cv_func_CFLocaleCopyPreferredLanguages=no
7815 fi
7816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7817     conftest$ac_exeext conftest.$ac_ext
7818      LIBS="$gt_save_LIBS"
7819 fi
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
7821 printf "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
7822   if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7823     
7824 printf "%s\n" "@%:@define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
7825
7826   fi
7827   INTL_MACOSX_LIBS=
7828   if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
7829      || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
7830     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
7831   fi
7832   
7833
7834
7835     
7836
7837   
7838   LIBINTL=
7839   LTLIBINTL=
7840   POSUB=
7841
7842     case " $gt_needs " in
7843     *" need-formatstring-macros "*) gt_api_version=3 ;;
7844     *" need-ngettext "*) gt_api_version=2 ;;
7845     *) gt_api_version=1 ;;
7846   esac
7847   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
7848   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
7849
7850     if test "$USE_NLS" = "yes"; then
7851     gt_use_preinstalled_gnugettext=no
7852     
7853                         
7854         if test $gt_api_version -ge 3; then
7855           gt_revision_test_code='
7856 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7857 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
7858 #endif
7859 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
7860 '
7861         else
7862           gt_revision_test_code=
7863         fi
7864         if test $gt_api_version -ge 2; then
7865           gt_expression_test_code=' + * ngettext ("", "", 0)'
7866         else
7867           gt_expression_test_code=
7868         fi
7869
7870         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
7871 printf %s "checking for GNU gettext in libc... " >&6; }
7872 if eval test \${$gt_func_gnugettext_libc+y}
7873 then :
7874   printf %s "(cached) " >&6
7875 else $as_nop
7876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 /* end confdefs.h.  */
7878
7879 #include <libintl.h>
7880 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
7881 extern int _nl_msg_cat_cntr;
7882 extern int *_nl_domain_bindings;
7883 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
7884 #else
7885 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
7886 #endif
7887 $gt_revision_test_code
7888                
7889 int
7890 main (void)
7891 {
7892
7893 bindtextdomain ("", "");
7894 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
7895                
7896   ;
7897   return 0;
7898 }
7899 _ACEOF
7900 if ac_fn_c_try_link "$LINENO"
7901 then :
7902   eval "$gt_func_gnugettext_libc=yes"
7903 else $as_nop
7904   eval "$gt_func_gnugettext_libc=no"
7905 fi
7906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7907     conftest$ac_exeext conftest.$ac_ext
7908 fi
7909 eval ac_res=\$$gt_func_gnugettext_libc
7910                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7911 printf "%s\n" "$ac_res" >&6; }
7912
7913         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
7914                     
7915             
7916        
7917       
7918
7919           am_save_CPPFLAGS="$CPPFLAGS"
7920   
7921   for element in $INCICONV; do
7922     haveit=
7923     for x in $CPPFLAGS; do
7924       
7925   acl_save_prefix="$prefix"
7926   prefix="$acl_final_prefix"
7927   acl_save_exec_prefix="$exec_prefix"
7928   exec_prefix="$acl_final_exec_prefix"
7929   eval x=\"$x\"
7930   exec_prefix="$acl_save_exec_prefix"
7931   prefix="$acl_save_prefix"
7932
7933       if test "X$x" = "X$element"; then
7934         haveit=yes
7935         break
7936       fi
7937     done
7938     if test -z "$haveit"; then
7939       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
7940     fi
7941   done
7942
7943
7944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
7945 printf %s "checking for iconv... " >&6; }
7946 if test ${am_cv_func_iconv+y}
7947 then :
7948   printf %s "(cached) " >&6
7949 else $as_nop
7950   
7951     am_cv_func_iconv="no, consider installing GNU libiconv"
7952     am_cv_lib_iconv=no
7953     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h.  */
7955
7956 #include <stdlib.h>
7957 #include <iconv.h>
7958          
7959 int
7960 main (void)
7961 {
7962 iconv_t cd = iconv_open("","");
7963            iconv(cd,NULL,NULL,NULL,NULL);
7964            iconv_close(cd);
7965   ;
7966   return 0;
7967 }
7968 _ACEOF
7969 if ac_fn_c_try_link "$LINENO"
7970 then :
7971   am_cv_func_iconv=yes
7972 fi
7973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7974     conftest$ac_exeext conftest.$ac_ext
7975     if test "$am_cv_func_iconv" != yes; then
7976       am_save_LIBS="$LIBS"
7977       LIBS="$LIBS $LIBICONV"
7978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h.  */
7980
7981 #include <stdlib.h>
7982 #include <iconv.h>
7983            
7984 int
7985 main (void)
7986 {
7987 iconv_t cd = iconv_open("","");
7988              iconv(cd,NULL,NULL,NULL,NULL);
7989              iconv_close(cd);
7990   ;
7991   return 0;
7992 }
7993 _ACEOF
7994 if ac_fn_c_try_link "$LINENO"
7995 then :
7996   am_cv_lib_iconv=yes
7997         am_cv_func_iconv=yes
7998 fi
7999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8000     conftest$ac_exeext conftest.$ac_ext
8001       LIBS="$am_save_LIBS"
8002     fi
8003   
8004 fi
8005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
8006 printf "%s\n" "$am_cv_func_iconv" >&6; }
8007   if test "$am_cv_func_iconv" = yes; then
8008     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
8009 printf %s "checking for working iconv... " >&6; }
8010 if test ${am_cv_func_iconv_works+y}
8011 then :
8012   printf %s "(cached) " >&6
8013 else $as_nop
8014   
8015                   am_save_LIBS="$LIBS"
8016       if test $am_cv_lib_iconv = yes; then
8017         LIBS="$LIBS $LIBICONV"
8018       fi
8019       am_cv_func_iconv_works=no
8020       for ac_iconv_const in '' 'const'; do
8021         if test "$cross_compiling" = yes
8022 then :
8023   case "$host_os" in
8024              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
8025              *)            am_cv_func_iconv_works="guessing yes" ;;
8026            esac
8027 else $as_nop
8028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8029 /* end confdefs.h.  */
8030
8031 #include <iconv.h>
8032 #include <string.h>
8033
8034 #ifndef ICONV_CONST
8035 # define ICONV_CONST $ac_iconv_const
8036 #endif
8037              
8038 int
8039 main (void)
8040 {
8041 int result = 0;
8042   /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
8043      successful returns.  This is even documented in
8044      <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
8045   {
8046     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
8047     if (cd_utf8_to_88591 != (iconv_t)(-1))
8048       {
8049         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
8050         char buf[10];
8051         ICONV_CONST char *inptr = input;
8052         size_t inbytesleft = strlen (input);
8053         char *outptr = buf;
8054         size_t outbytesleft = sizeof (buf);
8055         size_t res = iconv (cd_utf8_to_88591,
8056                             &inptr, &inbytesleft,
8057                             &outptr, &outbytesleft);
8058         if (res == 0)
8059           result |= 1;
8060         iconv_close (cd_utf8_to_88591);
8061       }
8062   }
8063   /* Test against Solaris 10 bug: Failures are not distinguishable from
8064      successful returns.  */
8065   {
8066     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
8067     if (cd_ascii_to_88591 != (iconv_t)(-1))
8068       {
8069         static ICONV_CONST char input[] = "\263";
8070         char buf[10];
8071         ICONV_CONST char *inptr = input;
8072         size_t inbytesleft = strlen (input);
8073         char *outptr = buf;
8074         size_t outbytesleft = sizeof (buf);
8075         size_t res = iconv (cd_ascii_to_88591,
8076                             &inptr, &inbytesleft,
8077                             &outptr, &outbytesleft);
8078         if (res == 0)
8079           result |= 2;
8080         iconv_close (cd_ascii_to_88591);
8081       }
8082   }
8083   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
8084   {
8085     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
8086     if (cd_88591_to_utf8 != (iconv_t)(-1))
8087       {
8088         static ICONV_CONST char input[] = "\304";
8089         static char buf[2] = { (char)0xDE, (char)0xAD };
8090         ICONV_CONST char *inptr = input;
8091         size_t inbytesleft = 1;
8092         char *outptr = buf;
8093         size_t outbytesleft = 1;
8094         size_t res = iconv (cd_88591_to_utf8,
8095                             &inptr, &inbytesleft,
8096                             &outptr, &outbytesleft);
8097         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
8098           result |= 4;
8099         iconv_close (cd_88591_to_utf8);
8100       }
8101   }
8102 #if 0 /* This bug could be worked around by the caller.  */
8103   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
8104   {
8105     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
8106     if (cd_88591_to_utf8 != (iconv_t)(-1))
8107       {
8108         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
8109         char buf[50];
8110         ICONV_CONST char *inptr = input;
8111         size_t inbytesleft = strlen (input);
8112         char *outptr = buf;
8113         size_t outbytesleft = sizeof (buf);
8114         size_t res = iconv (cd_88591_to_utf8,
8115                             &inptr, &inbytesleft,
8116                             &outptr, &outbytesleft);
8117         if ((int)res > 0)
8118           result |= 8;
8119         iconv_close (cd_88591_to_utf8);
8120       }
8121   }
8122 #endif
8123   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
8124      provided.  */
8125   {
8126     /* Try standardized names.  */
8127     iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
8128     /* Try IRIX, OSF/1 names.  */
8129     iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
8130     /* Try AIX names.  */
8131     iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
8132     /* Try HP-UX names.  */
8133     iconv_t cd4 = iconv_open ("utf8", "eucJP");
8134     if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
8135         && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
8136       result |= 16;
8137     if (cd1 != (iconv_t)(-1))
8138       iconv_close (cd1);
8139     if (cd2 != (iconv_t)(-1))
8140       iconv_close (cd2);
8141     if (cd3 != (iconv_t)(-1))
8142       iconv_close (cd3);
8143     if (cd4 != (iconv_t)(-1))
8144       iconv_close (cd4);
8145   }
8146   return result;
8147
8148   ;
8149   return 0;
8150 }
8151 _ACEOF
8152 if ac_fn_c_try_run "$LINENO"
8153 then :
8154   am_cv_func_iconv_works=yes
8155 fi
8156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8157   conftest.$ac_objext conftest.beam conftest.$ac_ext
8158 fi
8159
8160         test "$am_cv_func_iconv_works" = no || break
8161       done
8162       LIBS="$am_save_LIBS"
8163     
8164 fi
8165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
8166 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
8167     case "$am_cv_func_iconv_works" in
8168       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
8169       *)   am_func_iconv=yes ;;
8170     esac
8171   else
8172     am_func_iconv=no am_cv_lib_iconv=no
8173   fi
8174   if test "$am_func_iconv" = yes; then
8175     
8176 printf "%s\n" "@%:@define HAVE_ICONV 1" >>confdefs.h
8177
8178   fi
8179   if test "$am_cv_lib_iconv" = yes; then
8180     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
8181 printf %s "checking how to link with libiconv... " >&6; }
8182     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
8183 printf "%s\n" "$LIBICONV" >&6; }
8184   else
8185             CPPFLAGS="$am_save_CPPFLAGS"
8186     LIBICONV=
8187     LTLIBICONV=
8188   fi
8189   
8190   
8191
8192           
8193                                                   
8194   
8195   
8196   
8197   
8198   
8199     use_additional=yes
8200   
8201   acl_save_prefix="$prefix"
8202   prefix="$acl_final_prefix"
8203   acl_save_exec_prefix="$exec_prefix"
8204   exec_prefix="$acl_final_exec_prefix"
8205   
8206     eval additional_includedir=\"$includedir\"
8207     eval additional_libdir=\"$libdir\"
8208     eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
8209     eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
8210   
8211   exec_prefix="$acl_save_exec_prefix"
8212   prefix="$acl_save_prefix"
8213
8214   
8215 @%:@ Check whether --with-libintl-prefix was given.
8216 if test ${with_libintl_prefix+y}
8217 then :
8218   withval=$with_libintl_prefix; 
8219     if test "X$withval" = "Xno"; then
8220       use_additional=no
8221     else
8222       if test "X$withval" = "X"; then
8223         
8224   acl_save_prefix="$prefix"
8225   prefix="$acl_final_prefix"
8226   acl_save_exec_prefix="$exec_prefix"
8227   exec_prefix="$acl_final_exec_prefix"
8228   
8229           eval additional_includedir=\"$includedir\"
8230           eval additional_libdir=\"$libdir\"
8231           eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
8232           eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
8233         
8234   exec_prefix="$acl_save_exec_prefix"
8235   prefix="$acl_save_prefix"
8236
8237       else
8238         additional_includedir="$withval/include"
8239         additional_libdir="$withval/$acl_libdirstem"
8240         additional_libdir2="$withval/$acl_libdirstem2"
8241         additional_libdir3="$withval/$acl_libdirstem3"
8242       fi
8243     fi
8244
8245 fi
8246
8247   if test "X$additional_libdir2" = "X$additional_libdir"; then
8248     additional_libdir2=
8249   fi
8250   if test "X$additional_libdir3" = "X$additional_libdir"; then
8251     additional_libdir3=
8252   fi
8253       LIBINTL=
8254   LTLIBINTL=
8255   INCINTL=
8256   LIBINTL_PREFIX=
8257       HAVE_LIBINTL=
8258   rpathdirs=
8259   ltrpathdirs=
8260   names_already_handled=
8261   names_next_round='intl '
8262   while test -n "$names_next_round"; do
8263     names_this_round="$names_next_round"
8264     names_next_round=
8265     for name in $names_this_round; do
8266       already_handled=
8267       for n in $names_already_handled; do
8268         if test "$n" = "$name"; then
8269           already_handled=yes
8270           break
8271         fi
8272       done
8273       if test -z "$already_handled"; then
8274         names_already_handled="$names_already_handled $name"
8275                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
8276         eval value=\"\$HAVE_LIB$uppername\"
8277         if test -n "$value"; then
8278           if test "$value" = yes; then
8279             eval value=\"\$LIB$uppername\"
8280             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
8281             eval value=\"\$LTLIB$uppername\"
8282             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
8283           else
8284                                     :
8285           fi
8286         else
8287                               found_dir=
8288           found_la=
8289           found_so=
8290           found_a=
8291           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
8292           if test -n "$acl_shlibext"; then
8293             shrext=".$acl_shlibext"             # typically: shrext=.so
8294           else
8295             shrext=
8296           fi
8297           if test $use_additional = yes; then
8298             for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
8299               if test "X$found_dir" = "X"; then
8300                 eval dir=\$$additional_libdir_variable
8301                 if test -n "$dir"; then
8302                                                       if test -n "$acl_shlibext"; then
8303                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
8304                       found_dir="$dir"
8305                       found_so="$dir/$libname$shrext"
8306                     else
8307                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8308                         ver=`(cd "$dir" && \
8309                               for f in "$libname$shrext".*; do echo "$f"; done \
8310                               | sed -e "s,^$libname$shrext\\\\.,," \
8311                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8312                               | sed 1q ) 2>/dev/null`
8313                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
8314                           found_dir="$dir"
8315                           found_so="$dir/$libname$shrext.$ver"
8316                         fi
8317                       else
8318                         eval library_names=\"$acl_library_names_spec\"
8319                         for f in $library_names; do
8320                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
8321                             found_dir="$dir"
8322                             found_so="$dir/$f"
8323                             break
8324                           fi
8325                         done
8326                       fi
8327                     fi
8328                   fi
8329                                     if test "X$found_dir" = "X"; then
8330                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
8331                       found_dir="$dir"
8332                       found_a="$dir/$libname.$acl_libext"
8333                     fi
8334                   fi
8335                   if test "X$found_dir" != "X"; then
8336                     if test -f "$dir/$libname.la"; then
8337                       found_la="$dir/$libname.la"
8338                     fi
8339                   fi
8340                 fi
8341               fi
8342             done
8343           fi
8344           if test "X$found_dir" = "X"; then
8345             for x in $LDFLAGS $LTLIBINTL; do
8346               
8347   acl_save_prefix="$prefix"
8348   prefix="$acl_final_prefix"
8349   acl_save_exec_prefix="$exec_prefix"
8350   exec_prefix="$acl_final_exec_prefix"
8351   eval x=\"$x\"
8352   exec_prefix="$acl_save_exec_prefix"
8353   prefix="$acl_save_prefix"
8354
8355               case "$x" in
8356                 -L*)
8357                   dir=`echo "X$x" | sed -e 's/^X-L//'`
8358                                     if test -n "$acl_shlibext"; then
8359                     if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
8360                       found_dir="$dir"
8361                       found_so="$dir/$libname$shrext"
8362                     else
8363                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8364                         ver=`(cd "$dir" && \
8365                               for f in "$libname$shrext".*; do echo "$f"; done \
8366                               | sed -e "s,^$libname$shrext\\\\.,," \
8367                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8368                               | sed 1q ) 2>/dev/null`
8369                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
8370                           found_dir="$dir"
8371                           found_so="$dir/$libname$shrext.$ver"
8372                         fi
8373                       else
8374                         eval library_names=\"$acl_library_names_spec\"
8375                         for f in $library_names; do
8376                           if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
8377                             found_dir="$dir"
8378                             found_so="$dir/$f"
8379                             break
8380                           fi
8381                         done
8382                       fi
8383                     fi
8384                   fi
8385                                     if test "X$found_dir" = "X"; then
8386                     if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
8387                       found_dir="$dir"
8388                       found_a="$dir/$libname.$acl_libext"
8389                     fi
8390                   fi
8391                   if test "X$found_dir" != "X"; then
8392                     if test -f "$dir/$libname.la"; then
8393                       found_la="$dir/$libname.la"
8394                     fi
8395                   fi
8396                   ;;
8397               esac
8398               if test "X$found_dir" != "X"; then
8399                 break
8400               fi
8401             done
8402           fi
8403           if test "X$found_dir" != "X"; then
8404                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
8405             if test "X$found_so" != "X"; then
8406                                                         if test "$enable_rpath" = no \
8407                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
8408                  || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
8409                  || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
8410                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8411               else
8412                                                                                 haveit=
8413                 for x in $ltrpathdirs; do
8414                   if test "X$x" = "X$found_dir"; then
8415                     haveit=yes
8416                     break
8417                   fi
8418                 done
8419                 if test -z "$haveit"; then
8420                   ltrpathdirs="$ltrpathdirs $found_dir"
8421                 fi
8422                                 if test "$acl_hardcode_direct" = yes; then
8423                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8424                 else
8425                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
8426                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8427                                                             haveit=
8428                     for x in $rpathdirs; do
8429                       if test "X$x" = "X$found_dir"; then
8430                         haveit=yes
8431                         break
8432                       fi
8433                     done
8434                     if test -z "$haveit"; then
8435                       rpathdirs="$rpathdirs $found_dir"
8436                     fi
8437                   else
8438                                                                                 haveit=
8439                     for x in $LDFLAGS $LIBINTL; do
8440                       
8441   acl_save_prefix="$prefix"
8442   prefix="$acl_final_prefix"
8443   acl_save_exec_prefix="$exec_prefix"
8444   exec_prefix="$acl_final_exec_prefix"
8445   eval x=\"$x\"
8446   exec_prefix="$acl_save_exec_prefix"
8447   prefix="$acl_save_prefix"
8448
8449                       if test "X$x" = "X-L$found_dir"; then
8450                         haveit=yes
8451                         break
8452                       fi
8453                     done
8454                     if test -z "$haveit"; then
8455                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
8456                     fi
8457                     if test "$acl_hardcode_minus_L" != no; then
8458                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
8459                     else
8460                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8461                     fi
8462                   fi
8463                 fi
8464               fi
8465             else
8466               if test "X$found_a" != "X"; then
8467                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
8468               else
8469                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
8470               fi
8471             fi
8472                         additional_includedir=
8473             case "$found_dir" in
8474               */$acl_libdirstem | */$acl_libdirstem/)
8475                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8476                 if test "$name" = 'intl'; then
8477                   LIBINTL_PREFIX="$basedir"
8478                 fi
8479                 additional_includedir="$basedir/include"
8480                 ;;
8481               */$acl_libdirstem2 | */$acl_libdirstem2/)
8482                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8483                 if test "$name" = 'intl'; then
8484                   LIBINTL_PREFIX="$basedir"
8485                 fi
8486                 additional_includedir="$basedir/include"
8487                 ;;
8488               */$acl_libdirstem3 | */$acl_libdirstem3/)
8489                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
8490                 if test "$name" = 'intl'; then
8491                   LIBINTL_PREFIX="$basedir"
8492                 fi
8493                 additional_includedir="$basedir/include"
8494                 ;;
8495             esac
8496             if test "X$additional_includedir" != "X"; then
8497                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
8498                 haveit=
8499                 if test "X$additional_includedir" = "X/usr/local/include"; then
8500                   if test -n "$GCC"; then
8501                     case $host_os in
8502                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8503                     esac
8504                   fi
8505                 fi
8506                 if test -z "$haveit"; then
8507                   for x in $CPPFLAGS $INCINTL; do
8508                     
8509   acl_save_prefix="$prefix"
8510   prefix="$acl_final_prefix"
8511   acl_save_exec_prefix="$exec_prefix"
8512   exec_prefix="$acl_final_exec_prefix"
8513   eval x=\"$x\"
8514   exec_prefix="$acl_save_exec_prefix"
8515   prefix="$acl_save_prefix"
8516
8517                     if test "X$x" = "X-I$additional_includedir"; then
8518                       haveit=yes
8519                       break
8520                     fi
8521                   done
8522                   if test -z "$haveit"; then
8523                     if test -d "$additional_includedir"; then
8524                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
8525                     fi
8526                   fi
8527                 fi
8528               fi
8529             fi
8530                         if test -n "$found_la"; then
8531                                                         save_libdir="$libdir"
8532               case "$found_la" in
8533                 */* | *\\*) . "$found_la" ;;
8534                 *) . "./$found_la" ;;
8535               esac
8536               libdir="$save_libdir"
8537                             for dep in $dependency_libs; do
8538                 case "$dep" in
8539                   -L*)
8540                     dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8541                                                                                                                                                                 if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
8542                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
8543                        && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
8544                       haveit=
8545                       if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
8546                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
8547                          || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
8548                         if test -n "$GCC"; then
8549                           case $host_os in
8550                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8551                           esac
8552                         fi
8553                       fi
8554                       if test -z "$haveit"; then
8555                         haveit=
8556                         for x in $LDFLAGS $LIBINTL; do
8557                           
8558   acl_save_prefix="$prefix"
8559   prefix="$acl_final_prefix"
8560   acl_save_exec_prefix="$exec_prefix"
8561   exec_prefix="$acl_final_exec_prefix"
8562   eval x=\"$x\"
8563   exec_prefix="$acl_save_exec_prefix"
8564   prefix="$acl_save_prefix"
8565
8566                           if test "X$x" = "X-L$dependency_libdir"; then
8567                             haveit=yes
8568                             break
8569                           fi
8570                         done
8571                         if test -z "$haveit"; then
8572                           if test -d "$dependency_libdir"; then
8573                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
8574                           fi
8575                         fi
8576                         haveit=
8577                         for x in $LDFLAGS $LTLIBINTL; do
8578                           
8579   acl_save_prefix="$prefix"
8580   prefix="$acl_final_prefix"
8581   acl_save_exec_prefix="$exec_prefix"
8582   exec_prefix="$acl_final_exec_prefix"
8583   eval x=\"$x\"
8584   exec_prefix="$acl_save_exec_prefix"
8585   prefix="$acl_save_prefix"
8586
8587                           if test "X$x" = "X-L$dependency_libdir"; then
8588                             haveit=yes
8589                             break
8590                           fi
8591                         done
8592                         if test -z "$haveit"; then
8593                           if test -d "$dependency_libdir"; then
8594                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
8595                           fi
8596                         fi
8597                       fi
8598                     fi
8599                     ;;
8600                   -R*)
8601                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
8602                     if test "$enable_rpath" != no; then
8603                                                                   haveit=
8604                       for x in $rpathdirs; do
8605                         if test "X$x" = "X$dir"; then
8606                           haveit=yes
8607                           break
8608                         fi
8609                       done
8610                       if test -z "$haveit"; then
8611                         rpathdirs="$rpathdirs $dir"
8612                       fi
8613                                                                   haveit=
8614                       for x in $ltrpathdirs; do
8615                         if test "X$x" = "X$dir"; then
8616                           haveit=yes
8617                           break
8618                         fi
8619                       done
8620                       if test -z "$haveit"; then
8621                         ltrpathdirs="$ltrpathdirs $dir"
8622                       fi
8623                     fi
8624                     ;;
8625                   -l*)
8626                                                                                                                                                                 dep=`echo "X$dep" | sed -e 's/^X-l//'`
8627                     if test "X$dep" != Xc \
8628                        || case $host_os in
8629                             linux* | gnu* | k*bsd*-gnu) false ;;
8630                             *)                          true ;;
8631                           esac; then
8632                       names_next_round="$names_next_round $dep"
8633                     fi
8634                     ;;
8635                   *.la)
8636                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8637                     ;;
8638                   *)
8639                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
8640                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
8641                     ;;
8642                 esac
8643               done
8644             fi
8645           else
8646                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
8647             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
8648           fi
8649         fi
8650       fi
8651     done
8652   done
8653   if test "X$rpathdirs" != "X"; then
8654     if test -n "$acl_hardcode_libdir_separator"; then
8655                         alldirs=
8656       for found_dir in $rpathdirs; do
8657         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8658       done
8659             acl_save_libdir="$libdir"
8660       libdir="$alldirs"
8661       eval flag=\"$acl_hardcode_libdir_flag_spec\"
8662       libdir="$acl_save_libdir"
8663       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8664     else
8665             for found_dir in $rpathdirs; do
8666         acl_save_libdir="$libdir"
8667         libdir="$found_dir"
8668         eval flag=\"$acl_hardcode_libdir_flag_spec\"
8669         libdir="$acl_save_libdir"
8670         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
8671       done
8672     fi
8673   fi
8674   if test "X$ltrpathdirs" != "X"; then
8675             for found_dir in $ltrpathdirs; do
8676       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
8677     done
8678   fi
8679   
8680   
8681   
8682   
8683
8684           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
8685 printf %s "checking for GNU gettext in libintl... " >&6; }
8686 if eval test \${$gt_func_gnugettext_libintl+y}
8687 then :
8688   printf %s "(cached) " >&6
8689 else $as_nop
8690   gt_save_CPPFLAGS="$CPPFLAGS"
8691             CPPFLAGS="$CPPFLAGS $INCINTL"
8692             gt_save_LIBS="$LIBS"
8693             LIBS="$LIBS $LIBINTL"
8694                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h.  */
8696
8697 #include <libintl.h>
8698 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8699 extern int _nl_msg_cat_cntr;
8700 extern
8701 #ifdef __cplusplus
8702 "C"
8703 #endif
8704 const char *_nl_expand_alias (const char *);
8705 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8706 #else
8707 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8708 #endif
8709 $gt_revision_test_code
8710                  
8711 int
8712 main (void)
8713 {
8714
8715 bindtextdomain ("", "");
8716 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8717                  
8718   ;
8719   return 0;
8720 }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"
8723 then :
8724   eval "$gt_func_gnugettext_libintl=yes"
8725 else $as_nop
8726   eval "$gt_func_gnugettext_libintl=no"
8727 fi
8728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8729     conftest$ac_exeext conftest.$ac_ext
8730                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
8731               LIBS="$LIBS $LIBICONV"
8732               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8733 /* end confdefs.h.  */
8734
8735 #include <libintl.h>
8736 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8737 extern int _nl_msg_cat_cntr;
8738 extern
8739 #ifdef __cplusplus
8740 "C"
8741 #endif
8742 const char *_nl_expand_alias (const char *);
8743 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
8744 #else
8745 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
8746 #endif
8747 $gt_revision_test_code
8748                    
8749 int
8750 main (void)
8751 {
8752
8753 bindtextdomain ("", "");
8754 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
8755                    
8756   ;
8757   return 0;
8758 }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"
8761 then :
8762   LIBINTL="$LIBINTL $LIBICONV"
8763                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
8764                  eval "$gt_func_gnugettext_libintl=yes"
8765                 
8766 fi
8767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8768     conftest$ac_exeext conftest.$ac_ext
8769             fi
8770             CPPFLAGS="$gt_save_CPPFLAGS"
8771             LIBS="$gt_save_LIBS"
8772 fi
8773 eval ac_res=\$$gt_func_gnugettext_libintl
8774                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8775 printf "%s\n" "$ac_res" >&6; }
8776         fi
8777
8778                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
8779            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
8780                 && test "$PACKAGE" != gettext-runtime \
8781                 && test "$PACKAGE" != gettext-tools; }; then
8782           gt_use_preinstalled_gnugettext=yes
8783         else
8784                     LIBINTL=
8785           LTLIBINTL=
8786           INCINTL=
8787         fi
8788
8789     
8790
8791     if test -n "$INTL_MACOSX_LIBS"; then
8792       if test "$gt_use_preinstalled_gnugettext" = "yes" \
8793          || test "$nls_cv_use_gnu_gettext" = "yes"; then
8794                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
8795         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
8796       fi
8797     fi
8798
8799     if test "$gt_use_preinstalled_gnugettext" = "yes" \
8800        || test "$nls_cv_use_gnu_gettext" = "yes"; then
8801       
8802 printf "%s\n" "@%:@define ENABLE_NLS 1" >>confdefs.h
8803
8804     else
8805       USE_NLS=no
8806     fi
8807   fi
8808
8809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
8810 printf %s "checking whether to use NLS... " >&6; }
8811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8812 printf "%s\n" "$USE_NLS" >&6; }
8813   if test "$USE_NLS" = "yes"; then
8814     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
8815 printf %s "checking where the gettext function comes from... " >&6; }
8816     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8817       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8818         gt_source="external libintl"
8819       else
8820         gt_source="libc"
8821       fi
8822     else
8823       gt_source="included intl directory"
8824     fi
8825     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
8826 printf "%s\n" "$gt_source" >&6; }
8827   fi
8828
8829   if test "$USE_NLS" = "yes"; then
8830
8831     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
8832       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
8833         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
8834 printf %s "checking how to link with libintl... " >&6; }
8835         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
8836 printf "%s\n" "$LIBINTL" >&6; }
8837         
8838   for element in $INCINTL; do
8839     haveit=
8840     for x in $CPPFLAGS; do
8841       
8842   acl_save_prefix="$prefix"
8843   prefix="$acl_final_prefix"
8844   acl_save_exec_prefix="$exec_prefix"
8845   exec_prefix="$acl_final_exec_prefix"
8846   eval x=\"$x\"
8847   exec_prefix="$acl_save_exec_prefix"
8848   prefix="$acl_save_prefix"
8849
8850       if test "X$x" = "X$element"; then
8851         haveit=yes
8852         break
8853       fi
8854     done
8855     if test -z "$haveit"; then
8856       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8857     fi
8858   done
8859
8860       fi
8861
8862             
8863 printf "%s\n" "@%:@define HAVE_GETTEXT 1" >>confdefs.h
8864
8865       
8866 printf "%s\n" "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h
8867
8868     fi
8869
8870         POSUB=po
8871   fi
8872
8873   
8874
8875     INTLLIBS="$LIBINTL"
8876   
8877
8878     
8879   
8880   
8881
8882
8883
8884
8885 printf "%s\n" "@%:@define PATH_SEPARATOR ':'" >>confdefs.h
8886
8887
8888 printf "%s\n" "@%:@define PATH_SEPARATOR_STR \":\"" >>confdefs.h
8889
8890
8891
8892
8893 # Extract the first word of "perl", so it can be a program name with args.
8894 set dummy perl; ac_word=$2
8895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8896 printf %s "checking for $ac_word... " >&6; }
8897 if test ${ac_cv_path_PERL+y}
8898 then :
8899   printf %s "(cached) " >&6
8900 else $as_nop
8901   case $PERL in
8902   [\\/]* | ?:[\\/]*)
8903   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8904   ;;
8905   *)
8906   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8907 for as_dir in $PATH
8908 do
8909   IFS=$as_save_IFS
8910   case $as_dir in #(((
8911     '') as_dir=./ ;;
8912     */) ;;
8913     *) as_dir=$as_dir/ ;;
8914   esac
8915     for ac_exec_ext in '' $ac_executable_extensions; do
8916   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8917     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
8918     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8919     break 2
8920   fi
8921 done
8922   done
8923 IFS=$as_save_IFS
8924
8925   ;;
8926 esac
8927 fi
8928 PERL=$ac_cv_path_PERL
8929 if test -n "$PERL"; then
8930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
8931 printf "%s\n" "$PERL" >&6; }
8932 else
8933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8934 printf "%s\n" "no" >&6; }
8935 fi
8936
8937
8938
8939
8940
8941
8942
8943 ac_config_files="$ac_config_files Makefile po/Makefile.in compat/Makefile afm/Makefile afmlib/Makefile src/Makefile src/tests/Makefile lib/Makefile scripts/Makefile states/Makefile states/hl/Makefile states/tests/Makefile docs/Makefile w32/Makefile"
8944
8945
8946 cat >confcache <<\_ACEOF
8947 # This file is a shell script that caches the results of configure
8948 # tests run on this system so they can be shared between configure
8949 # scripts and configure runs, see configure's option --config-cache.
8950 # It is not useful on other systems.  If it contains results you don't
8951 # want to keep, you may remove or edit it.
8952 #
8953 # config.status only pays attention to the cache file if you give it
8954 # the --recheck option to rerun configure.
8955 #
8956 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8958 # following values.
8959
8960 _ACEOF
8961
8962 # The following way of writing the cache mishandles newlines in values,
8963 # but we know of no workaround that is simple, portable, and efficient.
8964 # So, we kill variables containing newlines.
8965 # Ultrix sh set writes to stderr and can't be redirected directly,
8966 # and sets the high bit in the cache file unless we assign to the vars.
8967 (
8968   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8969     eval ac_val=\$$ac_var
8970     case $ac_val in #(
8971     *${as_nl}*)
8972       case $ac_var in #(
8973       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8974 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8975       esac
8976       case $ac_var in #(
8977       _ | IFS | as_nl) ;; #(
8978       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8979       *) { eval $ac_var=; unset $ac_var;} ;;
8980       esac ;;
8981     esac
8982   done
8983
8984   (set) 2>&1 |
8985     case $as_nl`(ac_space=' '; set) 2>&1` in #(
8986     *${as_nl}ac_space=\ *)
8987       # `set' does not quote correctly, so add quotes: double-quote
8988       # substitution turns \\\\ into \\, and sed turns \\ into \.
8989       sed -n \
8990         "s/'/'\\\\''/g;
8991           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8992       ;; #(
8993     *)
8994       # `set' quotes correctly as required by POSIX, so do not add quotes.
8995       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8996       ;;
8997     esac |
8998     sort
8999 ) |
9000   sed '
9001      /^ac_cv_env_/b end
9002      t clear
9003      :clear
9004      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
9005      t end
9006      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9007      :end' >>confcache
9008 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9009   if test -w "$cache_file"; then
9010     if test "x$cache_file" != "x/dev/null"; then
9011       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9012 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
9013       if test ! -f "$cache_file" || test -h "$cache_file"; then
9014         cat confcache >"$cache_file"
9015       else
9016         case $cache_file in #(
9017         */* | ?:*)
9018           mv -f confcache "$cache_file"$$ &&
9019           mv -f "$cache_file"$$ "$cache_file" ;; #(
9020         *)
9021           mv -f confcache "$cache_file" ;;
9022         esac
9023       fi
9024     fi
9025   else
9026     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9027 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
9028   fi
9029 fi
9030 rm -f confcache
9031
9032 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9033 # Let make expand exec_prefix.
9034 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9035
9036 DEFS=-DHAVE_CONFIG_H
9037
9038 ac_libobjs=
9039 ac_ltlibobjs=
9040 U=
9041 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
9042   # 1. Remove the extension, and $U if already installed.
9043   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9044   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
9045   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9046   #    will be set to the directory where LIBOBJS objects are built.
9047   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9048   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9049 done
9050 LIB@&t@OBJS=$ac_libobjs
9051
9052 LTLIBOBJS=$ac_ltlibobjs
9053
9054
9055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
9056 printf %s "checking that generated files are newer than configure... " >&6; }
9057    if test -n "$am_sleep_pid"; then
9058      # Hide warnings about reused PIDs.
9059      wait $am_sleep_pid 2>/dev/null
9060    fi
9061    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
9062 printf "%s\n" "done" >&6; }
9063  if test -n "$EXEEXT"; then
9064   am__EXEEXT_TRUE=
9065   am__EXEEXT_FALSE='#'
9066 else
9067   am__EXEEXT_TRUE='#'
9068   am__EXEEXT_FALSE=
9069 fi
9070
9071 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9072   as_fn_error $? "conditional \"AMDEP\" was never defined.
9073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9074 fi
9075 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9076   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9078 fi
9079
9080 : "${CONFIG_STATUS=./config.status}"
9081 ac_write_fail=0
9082 ac_clean_files_save=$ac_clean_files
9083 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9085 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
9086 as_write_fail=0
9087 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9088 #! $SHELL
9089 # Generated by $as_me.
9090 # Run this file to recreate the current configuration.
9091 # Compiler output produced by configure, useful for debugging
9092 # configure, is in config.log if it exists.
9093
9094 debug=false
9095 ac_cs_recheck=false
9096 ac_cs_silent=false
9097
9098 SHELL=\${CONFIG_SHELL-$SHELL}
9099 export SHELL
9100 _ASEOF
9101 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9102 ## -------------------- ##
9103 ## M4sh Initialization. ##
9104 ## -------------------- ##
9105
9106 # Be more Bourne compatible
9107 DUALCASE=1; export DUALCASE # for MKS sh
9108 as_nop=:
9109 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
9110 then :
9111   emulate sh
9112   NULLCMD=:
9113   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9114   # is contrary to our usage.  Disable this feature.
9115   alias -g '${1+"$@"}'='"$@"'
9116   setopt NO_GLOB_SUBST
9117 else $as_nop
9118   case `(set -o) 2>/dev/null` in @%:@(
9119   *posix*) :
9120     set -o posix ;; @%:@(
9121   *) :
9122      ;;
9123 esac
9124 fi
9125
9126
9127
9128 # Reset variables that may have inherited troublesome values from
9129 # the environment.
9130
9131 # IFS needs to be set, to space, tab, and newline, in precisely that order.
9132 # (If _AS_PATH_WALK were called with IFS unset, it would have the
9133 # side effect of setting IFS to empty, thus disabling word splitting.)
9134 # Quoting is to prevent editors from complaining about space-tab.
9135 as_nl='
9136 '
9137 export as_nl
9138 IFS=" ""        $as_nl"
9139
9140 PS1='$ '
9141 PS2='> '
9142 PS4='+ '
9143
9144 # Ensure predictable behavior from utilities with locale-dependent output.
9145 LC_ALL=C
9146 export LC_ALL
9147 LANGUAGE=C
9148 export LANGUAGE
9149
9150 # We cannot yet rely on "unset" to work, but we need these variables
9151 # to be unset--not just set to an empty or harmless value--now, to
9152 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
9153 # also avoids known problems related to "unset" and subshell syntax
9154 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
9155 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
9156 do eval test \${$as_var+y} \
9157   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9158 done
9159
9160 # Ensure that fds 0, 1, and 2 are open.
9161 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
9162 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
9163 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
9164
9165 # The user is always right.
9166 if ${PATH_SEPARATOR+false} :; then
9167   PATH_SEPARATOR=:
9168   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9169     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9170       PATH_SEPARATOR=';'
9171   }
9172 fi
9173
9174
9175 # Find who we are.  Look in the path if we contain no directory separator.
9176 as_myself=
9177 case $0 in @%:@((
9178   *[\\/]* ) as_myself=$0 ;;
9179   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9180 for as_dir in $PATH
9181 do
9182   IFS=$as_save_IFS
9183   case $as_dir in #(((
9184     '') as_dir=./ ;;
9185     */) ;;
9186     *) as_dir=$as_dir/ ;;
9187   esac
9188     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
9189   done
9190 IFS=$as_save_IFS
9191
9192      ;;
9193 esac
9194 # We did not find ourselves, most probably we were run as `sh COMMAND'
9195 # in which case we are not to be found in the path.
9196 if test "x$as_myself" = x; then
9197   as_myself=$0
9198 fi
9199 if test ! -f "$as_myself"; then
9200   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9201   exit 1
9202 fi
9203
9204
9205
9206 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
9207 @%:@ ----------------------------------------
9208 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9209 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9210 @%:@ script with STATUS, using 1 if that was 0.
9211 as_fn_error ()
9212 {
9213   as_status=$1; test $as_status -eq 0 && as_status=1
9214   if test "$4"; then
9215     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9216     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9217   fi
9218   printf "%s\n" "$as_me: error: $2" >&2
9219   as_fn_exit $as_status
9220 } @%:@ as_fn_error
9221
9222
9223
9224 @%:@ as_fn_set_status STATUS
9225 @%:@ -----------------------
9226 @%:@ Set @S|@? to STATUS, without forking.
9227 as_fn_set_status ()
9228 {
9229   return $1
9230 } @%:@ as_fn_set_status
9231
9232 @%:@ as_fn_exit STATUS
9233 @%:@ -----------------
9234 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9235 as_fn_exit ()
9236 {
9237   set +e
9238   as_fn_set_status $1
9239   exit $1
9240 } @%:@ as_fn_exit
9241
9242 @%:@ as_fn_unset VAR
9243 @%:@ ---------------
9244 @%:@ Portably unset VAR.
9245 as_fn_unset ()
9246 {
9247   { eval $1=; unset $1;}
9248 }
9249 as_unset=as_fn_unset
9250
9251 @%:@ as_fn_append VAR VALUE
9252 @%:@ ----------------------
9253 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
9254 @%:@ advantage of any shell optimizations that allow amortized linear growth over
9255 @%:@ repeated appends, instead of the typical quadratic growth present in naive
9256 @%:@ implementations.
9257 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
9258 then :
9259   eval 'as_fn_append ()
9260   {
9261     eval $1+=\$2
9262   }'
9263 else $as_nop
9264   as_fn_append ()
9265   {
9266     eval $1=\$$1\$2
9267   }
9268 fi # as_fn_append
9269
9270 @%:@ as_fn_arith ARG...
9271 @%:@ ------------------
9272 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
9273 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
9274 @%:@ must be portable across @S|@(()) and expr.
9275 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
9276 then :
9277   eval 'as_fn_arith ()
9278   {
9279     as_val=$(( $* ))
9280   }'
9281 else $as_nop
9282   as_fn_arith ()
9283   {
9284     as_val=`expr "$@" || test $? -eq 1`
9285   }
9286 fi # as_fn_arith
9287
9288
9289 if expr a : '\(a\)' >/dev/null 2>&1 &&
9290    test "X`expr 00001 : '.*\(...\)'`" = X001; then
9291   as_expr=expr
9292 else
9293   as_expr=false
9294 fi
9295
9296 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9297   as_basename=basename
9298 else
9299   as_basename=false
9300 fi
9301
9302 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9303   as_dirname=dirname
9304 else
9305   as_dirname=false
9306 fi
9307
9308 as_me=`$as_basename -- "$0" ||
9309 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9310          X"$0" : 'X\(//\)$' \| \
9311          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9312 printf "%s\n" X/"$0" |
9313     sed '/^.*\/\([^/][^/]*\)\/*$/{
9314             s//\1/
9315             q
9316           }
9317           /^X\/\(\/\/\)$/{
9318             s//\1/
9319             q
9320           }
9321           /^X\/\(\/\).*/{
9322             s//\1/
9323             q
9324           }
9325           s/.*/./; q'`
9326
9327 # Avoid depending upon Character Ranges.
9328 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9329 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9330 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9331 as_cr_digits='0123456789'
9332 as_cr_alnum=$as_cr_Letters$as_cr_digits
9333
9334
9335 # Determine whether it's possible to make 'echo' print without a newline.
9336 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
9337 # for compatibility with existing Makefiles.
9338 ECHO_C= ECHO_N= ECHO_T=
9339 case `echo -n x` in @%:@(((((
9340 -n*)
9341   case `echo 'xy\c'` in
9342   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
9343   xy)  ECHO_C='\c';;
9344   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
9345        ECHO_T=' ';;
9346   esac;;
9347 *)
9348   ECHO_N='-n';;
9349 esac
9350
9351 # For backward compatibility with old third-party macros, we provide
9352 # the shell variables $as_echo and $as_echo_n.  New code should use
9353 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
9354 as_@&t@echo='printf %s\n'
9355 as_@&t@echo_n='printf %s'
9356
9357 rm -f conf$$ conf$$.exe conf$$.file
9358 if test -d conf$$.dir; then
9359   rm -f conf$$.dir/conf$$.file
9360 else
9361   rm -f conf$$.dir
9362   mkdir conf$$.dir 2>/dev/null
9363 fi
9364 if (echo >conf$$.file) 2>/dev/null; then
9365   if ln -s conf$$.file conf$$ 2>/dev/null; then
9366     as_ln_s='ln -s'
9367     # ... but there are two gotchas:
9368     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9369     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9370     # In both cases, we have to default to `cp -pR'.
9371     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9372       as_ln_s='cp -pR'
9373   elif ln conf$$.file conf$$ 2>/dev/null; then
9374     as_ln_s=ln
9375   else
9376     as_ln_s='cp -pR'
9377   fi
9378 else
9379   as_ln_s='cp -pR'
9380 fi
9381 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9382 rmdir conf$$.dir 2>/dev/null
9383
9384
9385 @%:@ as_fn_mkdir_p
9386 @%:@ -------------
9387 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
9388 as_fn_mkdir_p ()
9389 {
9390
9391   case $as_dir in #(
9392   -*) as_dir=./$as_dir;;
9393   esac
9394   test -d "$as_dir" || eval $as_mkdir_p || {
9395     as_dirs=
9396     while :; do
9397       case $as_dir in #(
9398       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9399       *) as_qdir=$as_dir;;
9400       esac
9401       as_dirs="'$as_qdir' $as_dirs"
9402       as_dir=`$as_dirname -- "$as_dir" ||
9403 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9404          X"$as_dir" : 'X\(//\)[^/]' \| \
9405          X"$as_dir" : 'X\(//\)$' \| \
9406          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9407 printf "%s\n" X"$as_dir" |
9408     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9409             s//\1/
9410             q
9411           }
9412           /^X\(\/\/\)[^/].*/{
9413             s//\1/
9414             q
9415           }
9416           /^X\(\/\/\)$/{
9417             s//\1/
9418             q
9419           }
9420           /^X\(\/\).*/{
9421             s//\1/
9422             q
9423           }
9424           s/.*/./; q'`
9425       test -d "$as_dir" && break
9426     done
9427     test -z "$as_dirs" || eval "mkdir $as_dirs"
9428   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9429
9430
9431 } @%:@ as_fn_mkdir_p
9432 if mkdir -p . 2>/dev/null; then
9433   as_mkdir_p='mkdir -p "$as_dir"'
9434 else
9435   test -d ./-p && rmdir ./-p
9436   as_mkdir_p=false
9437 fi
9438
9439
9440 @%:@ as_fn_executable_p FILE
9441 @%:@ -----------------------
9442 @%:@ Test if FILE is an executable regular file.
9443 as_fn_executable_p ()
9444 {
9445   test -f "$1" && test -x "$1"
9446 } @%:@ as_fn_executable_p
9447 as_test_x='test -x'
9448 as_executable_p=as_fn_executable_p
9449
9450 # Sed expression to map a string onto a valid CPP name.
9451 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9452
9453 # Sed expression to map a string onto a valid variable name.
9454 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9455
9456
9457 exec 6>&1
9458 ## ----------------------------------- ##
9459 ## Main body of $CONFIG_STATUS script. ##
9460 ## ----------------------------------- ##
9461 _ASEOF
9462 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9463
9464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9465 # Save the log message, to keep $0 and so on meaningful, and to
9466 # report actual input values of CONFIG_FILES etc. instead of their
9467 # values after options handling.
9468 ac_log="
9469 This file was extended by GNU Enscript $as_me 1.6.6, which was
9470 generated by GNU Autoconf 2.71.  Invocation command line was
9471
9472   CONFIG_FILES    = $CONFIG_FILES
9473   CONFIG_HEADERS  = $CONFIG_HEADERS
9474   CONFIG_LINKS    = $CONFIG_LINKS
9475   CONFIG_COMMANDS = $CONFIG_COMMANDS
9476   $ $0 $@
9477
9478 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9479 "
9480
9481 _ACEOF
9482
9483 case $ac_config_files in *"
9484 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9485 esac
9486
9487 case $ac_config_headers in *"
9488 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9489 esac
9490
9491
9492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9493 # Files that config.status was made for.
9494 config_files="$ac_config_files"
9495 config_headers="$ac_config_headers"
9496 config_commands="$ac_config_commands"
9497
9498 _ACEOF
9499
9500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9501 ac_cs_usage="\
9502 \`$as_me' instantiates files and other configuration actions
9503 from templates according to the current configuration.  Unless the files
9504 and actions are specified as TAGs, all are instantiated by default.
9505
9506 Usage: $0 [OPTION]... [TAG]...
9507
9508   -h, --help       print this help, then exit
9509   -V, --version    print version number and configuration settings, then exit
9510       --config     print configuration, then exit
9511   -q, --quiet, --silent
9512                    do not print progress messages
9513   -d, --debug      don't remove temporary files
9514       --recheck    update $as_me by reconfiguring in the same conditions
9515       --file=FILE[:TEMPLATE] 
9516                    instantiate the configuration file FILE
9517       --header=FILE[:TEMPLATE] 
9518                    instantiate the configuration header FILE
9519
9520 Configuration files:
9521 $config_files
9522
9523 Configuration headers:
9524 $config_headers
9525
9526 Configuration commands:
9527 $config_commands
9528
9529 Report bugs to <bug-enscript@gnu.org>.
9530 GNU Enscript home page: <https://www.gnu.org/software/enscript/>.
9531 General help using GNU software: <https://www.gnu.org/gethelp/>."
9532
9533 _ACEOF
9534 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
9535 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
9536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9537 ac_cs_config='$ac_cs_config_escaped'
9538 ac_cs_version="\\
9539 GNU Enscript config.status 1.6.6
9540 configured by $0, generated by GNU Autoconf 2.71,
9541   with options \\"\$ac_cs_config\\"
9542
9543 Copyright (C) 2021 Free Software Foundation, Inc.
9544 This config.status script is free software; the Free Software Foundation
9545 gives unlimited permission to copy, distribute and modify it."
9546
9547 ac_pwd='$ac_pwd'
9548 srcdir='$srcdir'
9549 INSTALL='$INSTALL'
9550 MKDIR_P='$MKDIR_P'
9551 AWK='$AWK'
9552 test -n "\$AWK" || AWK=awk
9553 _ACEOF
9554
9555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9556 # The default lists apply if the user does not specify any file.
9557 ac_need_defaults=:
9558 while test $# != 0
9559 do
9560   case $1 in
9561   --*=?*)
9562     ac_option=`expr "X$1" : 'X\([^=]*\)='`
9563     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9564     ac_shift=:
9565     ;;
9566   --*=)
9567     ac_option=`expr "X$1" : 'X\([^=]*\)='`
9568     ac_optarg=
9569     ac_shift=:
9570     ;;
9571   *)
9572     ac_option=$1
9573     ac_optarg=$2
9574     ac_shift=shift
9575     ;;
9576   esac
9577
9578   case $ac_option in
9579   # Handling of the options.
9580   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9581     ac_cs_recheck=: ;;
9582   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9583     printf "%s\n" "$ac_cs_version"; exit ;;
9584   --config | --confi | --conf | --con | --co | --c )
9585     printf "%s\n" "$ac_cs_config"; exit ;;
9586   --debug | --debu | --deb | --de | --d | -d )
9587     debug=: ;;
9588   --file | --fil | --fi | --f )
9589     $ac_shift
9590     case $ac_optarg in
9591     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9592     '') as_fn_error $? "missing file argument" ;;
9593     esac
9594     as_fn_append CONFIG_FILES " '$ac_optarg'"
9595     ac_need_defaults=false;;
9596   --header | --heade | --head | --hea )
9597     $ac_shift
9598     case $ac_optarg in
9599     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9600     esac
9601     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9602     ac_need_defaults=false;;
9603   --he | --h)
9604     # Conflict between --help and --header
9605     as_fn_error $? "ambiguous option: \`$1'
9606 Try \`$0 --help' for more information.";;
9607   --help | --hel | -h )
9608     printf "%s\n" "$ac_cs_usage"; exit ;;
9609   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9610   | -silent | --silent | --silen | --sile | --sil | --si | --s)
9611     ac_cs_silent=: ;;
9612
9613   # This is an error.
9614   -*) as_fn_error $? "unrecognized option: \`$1'
9615 Try \`$0 --help' for more information." ;;
9616
9617   *) as_fn_append ac_config_targets " $1"
9618      ac_need_defaults=false ;;
9619
9620   esac
9621   shift
9622 done
9623
9624 ac_configure_extra_args=
9625
9626 if $ac_cs_silent; then
9627   exec 6>/dev/null
9628   ac_configure_extra_args="$ac_configure_extra_args --silent"
9629 fi
9630
9631 _ACEOF
9632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9633 if \$ac_cs_recheck; then
9634   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9635   shift
9636   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
9637   CONFIG_SHELL='$SHELL'
9638   export CONFIG_SHELL
9639   exec "\$@"
9640 fi
9641
9642 _ACEOF
9643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9644 exec 5>>config.log
9645 {
9646   echo
9647   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
9648 @%:@@%:@ Running $as_me. @%:@@%:@
9649 _ASBOX
9650   printf "%s\n" "$ac_log"
9651 } >&5
9652
9653 _ACEOF
9654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9655 #
9656 # INIT-COMMANDS
9657 #
9658 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
9659 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9660     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
9661     OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
9662     # Capture the value of LINGUAS because we need it to compute CATALOGS.
9663     LINGUAS="${LINGUAS-%UNSET%}"
9664    
9665
9666 _ACEOF
9667
9668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9669
9670 # Handling of arguments.
9671 for ac_config_target in $ac_config_targets
9672 do
9673   case $ac_config_target in
9674     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9675     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9676     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9677     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9678     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9679     "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
9680     "afm/Makefile") CONFIG_FILES="$CONFIG_FILES afm/Makefile" ;;
9681     "afmlib/Makefile") CONFIG_FILES="$CONFIG_FILES afmlib/Makefile" ;;
9682     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9683     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
9684     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9685     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
9686     "states/Makefile") CONFIG_FILES="$CONFIG_FILES states/Makefile" ;;
9687     "states/hl/Makefile") CONFIG_FILES="$CONFIG_FILES states/hl/Makefile" ;;
9688     "states/tests/Makefile") CONFIG_FILES="$CONFIG_FILES states/tests/Makefile" ;;
9689     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
9690     "w32/Makefile") CONFIG_FILES="$CONFIG_FILES w32/Makefile" ;;
9691
9692   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9693   esac
9694 done
9695
9696
9697 # If the user did not use the arguments to specify the items to instantiate,
9698 # then the envvar interface is used.  Set only those that are not.
9699 # We use the long form for the default assignment because of an extremely
9700 # bizarre bug on SunOS 4.1.3.
9701 if $ac_need_defaults; then
9702   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
9703   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
9704   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
9705 fi
9706
9707 # Have a temporary directory for convenience.  Make it in the build tree
9708 # simply because there is no reason against having it here, and in addition,
9709 # creating and moving files from /tmp can sometimes cause problems.
9710 # Hook for its removal unless debugging.
9711 # Note that there is a small window in which the directory will not be cleaned:
9712 # after its creation but before its name has been assigned to `$tmp'.
9713 $debug ||
9714 {
9715   tmp= ac_tmp=
9716   trap 'exit_status=$?
9717   : "${ac_tmp:=$tmp}"
9718   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9719 ' 0
9720   trap 'as_fn_exit 1' 1 2 13 15
9721 }
9722 # Create a (secure) tmp directory for tmp files.
9723
9724 {
9725   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9726   test -d "$tmp"
9727 }  ||
9728 {
9729   tmp=./conf$$-$RANDOM
9730   (umask 077 && mkdir "$tmp")
9731 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9732 ac_tmp=$tmp
9733
9734 # Set up the scripts for CONFIG_FILES section.
9735 # No need to generate them if there are no CONFIG_FILES.
9736 # This happens for instance with `./config.status config.h'.
9737 if test -n "$CONFIG_FILES"; then
9738
9739
9740 ac_cr=`echo X | tr X '\015'`
9741 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9742 # But we know of no other shell where ac_cr would be empty at this
9743 # point, so we can use a bashism as a fallback.
9744 if test "x$ac_cr" = x; then
9745   eval ac_cr=\$\'\\r\'
9746 fi
9747 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9748 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9749   ac_cs_awk_cr='\\r'
9750 else
9751   ac_cs_awk_cr=$ac_cr
9752 fi
9753
9754 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9755 _ACEOF
9756
9757
9758 {
9759   echo "cat >conf$$subs.awk <<_ACEOF" &&
9760   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9761   echo "_ACEOF"
9762 } >conf$$subs.sh ||
9763   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9764 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9765 ac_delim='%!_!# '
9766 for ac_last_try in false false false false false :; do
9767   . ./conf$$subs.sh ||
9768     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9769
9770   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9771   if test $ac_delim_n = $ac_delim_num; then
9772     break
9773   elif $ac_last_try; then
9774     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9775   else
9776     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9777   fi
9778 done
9779 rm -f conf$$subs.sh
9780
9781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9782 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9783 _ACEOF
9784 sed -n '
9785 h
9786 s/^/S["/; s/!.*/"]=/
9787 p
9788 g
9789 s/^[^!]*!//
9790 :repl
9791 t repl
9792 s/'"$ac_delim"'$//
9793 t delim
9794 :nl
9795 h
9796 s/\(.\{148\}\)..*/\1/
9797 t more1
9798 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9799 p
9800 n
9801 b repl
9802 :more1
9803 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9804 p
9805 g
9806 s/.\{148\}//
9807 t nl
9808 :delim
9809 h
9810 s/\(.\{148\}\)..*/\1/
9811 t more2
9812 s/["\\]/\\&/g; s/^/"/; s/$/"/
9813 p
9814 b
9815 :more2
9816 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9817 p
9818 g
9819 s/.\{148\}//
9820 t delim
9821 ' <conf$$subs.awk | sed '
9822 /^[^""]/{
9823   N
9824   s/\n//
9825 }
9826 ' >>$CONFIG_STATUS || ac_write_fail=1
9827 rm -f conf$$subs.awk
9828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9829 _ACAWK
9830 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9831   for (key in S) S_is_set[key] = 1
9832   FS = "\a"
9833
9834 }
9835 {
9836   line = $ 0
9837   nfields = split(line, field, "@")
9838   substed = 0
9839   len = length(field[1])
9840   for (i = 2; i < nfields; i++) {
9841     key = field[i]
9842     keylen = length(key)
9843     if (S_is_set[key]) {
9844       value = S[key]
9845       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9846       len += length(value) + length(field[++i])
9847       substed = 1
9848     } else
9849       len += 1 + keylen
9850   }
9851
9852   print line
9853 }
9854
9855 _ACAWK
9856 _ACEOF
9857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9858 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9859   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9860 else
9861   cat
9862 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9863   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9864 _ACEOF
9865
9866 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9867 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9868 # trailing colons and then remove the whole line if VPATH becomes empty
9869 # (actually we leave an empty line to preserve line numbers).
9870 if test "x$srcdir" = x.; then
9871   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
9872 h
9873 s///
9874 s/^/:/
9875 s/[      ]*$/:/
9876 s/:\$(srcdir):/:/g
9877 s/:\${srcdir}:/:/g
9878 s/:@srcdir@:/:/g
9879 s/^:*//
9880 s/:*$//
9881 x
9882 s/\(=[   ]*\).*/\1/
9883 G
9884 s/\n//
9885 s/^[^=]*=[       ]*$//
9886 }'
9887 fi
9888
9889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9890 fi # test -n "$CONFIG_FILES"
9891
9892 # Set up the scripts for CONFIG_HEADERS section.
9893 # No need to generate them if there are no CONFIG_HEADERS.
9894 # This happens for instance with `./config.status Makefile'.
9895 if test -n "$CONFIG_HEADERS"; then
9896 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9897 BEGIN {
9898 _ACEOF
9899
9900 # Transform confdefs.h into an awk script `defines.awk', embedded as
9901 # here-document in config.status, that substitutes the proper values into
9902 # config.h.in to produce config.h.
9903
9904 # Create a delimiter string that does not exist in confdefs.h, to ease
9905 # handling of long lines.
9906 ac_delim='%!_!# '
9907 for ac_last_try in false false :; do
9908   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
9909   if test -z "$ac_tt"; then
9910     break
9911   elif $ac_last_try; then
9912     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9913   else
9914     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9915   fi
9916 done
9917
9918 # For the awk script, D is an array of macro values keyed by name,
9919 # likewise P contains macro parameters if any.  Preserve backslash
9920 # newline sequences.
9921
9922 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9923 sed -n '
9924 s/.\{148\}/&'"$ac_delim"'/g
9925 t rset
9926 :rset
9927 s/^[     ]*#[    ]*define[       ][      ]*/ /
9928 t def
9929 d
9930 :def
9931 s/\\$//
9932 t bsnl
9933 s/["\\]/\\&/g
9934 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
9935 D["\1"]=" \3"/p
9936 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
9937 d
9938 :bsnl
9939 s/["\\]/\\&/g
9940 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
9941 D["\1"]=" \3\\\\\\n"\\/p
9942 t cont
9943 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9944 t cont
9945 d
9946 :cont
9947 n
9948 s/.\{148\}/&'"$ac_delim"'/g
9949 t clear
9950 :clear
9951 s/\\$//
9952 t bsnlc
9953 s/["\\]/\\&/g; s/^/"/; s/$/"/p
9954 d
9955 :bsnlc
9956 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9957 b cont
9958 ' <confdefs.h | sed '
9959 s/'"$ac_delim"'/"\\\
9960 "/g' >>$CONFIG_STATUS || ac_write_fail=1
9961
9962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9963   for (key in D) D_is_set[key] = 1
9964   FS = "\a"
9965 }
9966 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9967   line = \$ 0
9968   split(line, arg, " ")
9969   if (arg[1] == "#") {
9970     defundef = arg[2]
9971     mac1 = arg[3]
9972   } else {
9973     defundef = substr(arg[1], 2)
9974     mac1 = arg[2]
9975   }
9976   split(mac1, mac2, "(") #)
9977   macro = mac2[1]
9978   prefix = substr(line, 1, index(line, defundef) - 1)
9979   if (D_is_set[macro]) {
9980     # Preserve the white space surrounding the "#".
9981     print prefix "define", macro P[macro] D[macro]
9982     next
9983   } else {
9984     # Replace #undef with comments.  This is necessary, for example,
9985     # in the case of _POSIX_SOURCE, which is predefined and required
9986     # on some systems where configure will not decide to define it.
9987     if (defundef == "undef") {
9988       print "/*", prefix defundef, macro, "*/"
9989       next
9990     }
9991   }
9992 }
9993 { print }
9994 _ACAWK
9995 _ACEOF
9996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9997   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9998 fi # test -n "$CONFIG_HEADERS"
9999
10000
10001 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10002 shift
10003 for ac_tag
10004 do
10005   case $ac_tag in
10006   :[FHLC]) ac_mode=$ac_tag; continue;;
10007   esac
10008   case $ac_mode$ac_tag in
10009   :[FHL]*:*);;
10010   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10011   :[FH]-) ac_tag=-:-;;
10012   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10013   esac
10014   ac_save_IFS=$IFS
10015   IFS=:
10016   set x $ac_tag
10017   IFS=$ac_save_IFS
10018   shift
10019   ac_file=$1
10020   shift
10021
10022   case $ac_mode in
10023   :L) ac_source=$1;;
10024   :[FH])
10025     ac_file_inputs=
10026     for ac_f
10027     do
10028       case $ac_f in
10029       -) ac_f="$ac_tmp/stdin";;
10030       *) # Look for the file first in the build tree, then in the source tree
10031          # (if the path is not absolute).  The absolute path cannot be DOS-style,
10032          # because $ac_f cannot contain `:'.
10033          test -f "$ac_f" ||
10034            case $ac_f in
10035            [\\/$]*) false;;
10036            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10037            esac ||
10038            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10039       esac
10040       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10041       as_fn_append ac_file_inputs " '$ac_f'"
10042     done
10043
10044     # Let's still pretend it is `configure' which instantiates (i.e., don't
10045     # use $as_me), people would be surprised to read:
10046     #    /* config.h.  Generated by config.status.  */
10047     configure_input='Generated from '`
10048           printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10049         `' by configure.'
10050     if test x"$ac_file" != x-; then
10051       configure_input="$ac_file.  $configure_input"
10052       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10053 printf "%s\n" "$as_me: creating $ac_file" >&6;}
10054     fi
10055     # Neutralize special characters interpreted by sed in replacement strings.
10056     case $configure_input in #(
10057     *\&* | *\|* | *\\* )
10058        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
10059        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10060     *) ac_sed_conf_input=$configure_input;;
10061     esac
10062
10063     case $ac_tag in
10064     *:-:* | *:-) cat >"$ac_tmp/stdin" \
10065       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10066     esac
10067     ;;
10068   esac
10069
10070   ac_dir=`$as_dirname -- "$ac_file" ||
10071 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10072          X"$ac_file" : 'X\(//\)[^/]' \| \
10073          X"$ac_file" : 'X\(//\)$' \| \
10074          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10075 printf "%s\n" X"$ac_file" |
10076     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10077             s//\1/
10078             q
10079           }
10080           /^X\(\/\/\)[^/].*/{
10081             s//\1/
10082             q
10083           }
10084           /^X\(\/\/\)$/{
10085             s//\1/
10086             q
10087           }
10088           /^X\(\/\).*/{
10089             s//\1/
10090             q
10091           }
10092           s/.*/./; q'`
10093   as_dir="$ac_dir"; as_fn_mkdir_p
10094   ac_builddir=.
10095
10096 case "$ac_dir" in
10097 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10098 *)
10099   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
10100   # A ".." for each directory in $ac_dir_suffix.
10101   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10102   case $ac_top_builddir_sub in
10103   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10104   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10105   esac ;;
10106 esac
10107 ac_abs_top_builddir=$ac_pwd
10108 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10109 # for backward compatibility:
10110 ac_top_builddir=$ac_top_build_prefix
10111
10112 case $srcdir in
10113   .)  # We are building in place.
10114     ac_srcdir=.
10115     ac_top_srcdir=$ac_top_builddir_sub
10116     ac_abs_top_srcdir=$ac_pwd ;;
10117   [\\/]* | ?:[\\/]* )  # Absolute name.
10118     ac_srcdir=$srcdir$ac_dir_suffix;
10119     ac_top_srcdir=$srcdir
10120     ac_abs_top_srcdir=$srcdir ;;
10121   *) # Relative name.
10122     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10123     ac_top_srcdir=$ac_top_build_prefix$srcdir
10124     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10125 esac
10126 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10127
10128
10129   case $ac_mode in
10130   :F)
10131   #
10132   # CONFIG_FILE
10133   #
10134
10135   case $INSTALL in
10136   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10137   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10138   esac
10139   ac_MKDIR_P=$MKDIR_P
10140   case $MKDIR_P in
10141   [\\/$]* | ?:[\\/]* ) ;;
10142   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10143   esac
10144 _ACEOF
10145
10146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10147 # If the template does not know about datarootdir, expand it.
10148 # FIXME: This hack should be removed a few years after 2.60.
10149 ac_datarootdir_hack=; ac_datarootdir_seen=
10150 ac_sed_dataroot='
10151 /datarootdir/ {
10152   p
10153   q
10154 }
10155 /@datadir@/p
10156 /@docdir@/p
10157 /@infodir@/p
10158 /@localedir@/p
10159 /@mandir@/p'
10160 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10161 *datarootdir*) ac_datarootdir_seen=yes;;
10162 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10164 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10165 _ACEOF
10166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10167   ac_datarootdir_hack='
10168   s&@datadir@&$datadir&g
10169   s&@docdir@&$docdir&g
10170   s&@infodir@&$infodir&g
10171   s&@localedir@&$localedir&g
10172   s&@mandir@&$mandir&g
10173   s&\\\${datarootdir}&$datarootdir&g' ;;
10174 esac
10175 _ACEOF
10176
10177 # Neutralize VPATH when `$srcdir' = `.'.
10178 # Shell code in configure.ac might set extrasub.
10179 # FIXME: do we really want to maintain this feature?
10180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10181 ac_sed_extra="$ac_vpsub
10182 $extrasub
10183 _ACEOF
10184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10185 :t
10186 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10187 s|@configure_input@|$ac_sed_conf_input|;t t
10188 s&@top_builddir@&$ac_top_builddir_sub&;t t
10189 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10190 s&@srcdir@&$ac_srcdir&;t t
10191 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10192 s&@top_srcdir@&$ac_top_srcdir&;t t
10193 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10194 s&@builddir@&$ac_builddir&;t t
10195 s&@abs_builddir@&$ac_abs_builddir&;t t
10196 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10197 s&@INSTALL@&$ac_INSTALL&;t t
10198 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10199 $ac_datarootdir_hack
10200 "
10201 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10202   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10203
10204 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10205   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10206   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
10207       "$ac_tmp/out"`; test -z "$ac_out"; } &&
10208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10209 which seems to be undefined.  Please make sure it is defined" >&5
10210 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10211 which seems to be undefined.  Please make sure it is defined" >&2;}
10212
10213   rm -f "$ac_tmp/stdin"
10214   case $ac_file in
10215   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10216   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10217   esac \
10218   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10219  ;;
10220   :H)
10221   #
10222   # CONFIG_HEADER
10223   #
10224   if test x"$ac_file" != x-; then
10225     {
10226       printf "%s\n" "/* $configure_input  */" >&1 \
10227       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10228     } >"$ac_tmp/config.h" \
10229       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10230     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10231       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10232 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
10233     else
10234       rm -f "$ac_file"
10235       mv "$ac_tmp/config.h" "$ac_file" \
10236         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10237     fi
10238   else
10239     printf "%s\n" "/* $configure_input  */" >&1 \
10240       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10241       || as_fn_error $? "could not create -" "$LINENO" 5
10242   fi
10243 # Compute "$ac_file"'s index in $config_headers.
10244 _am_arg="$ac_file"
10245 _am_stamp_count=1
10246 for _am_header in $config_headers :; do
10247   case $_am_header in
10248     $_am_arg | $_am_arg:* )
10249       break ;;
10250     * )
10251       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10252   esac
10253 done
10254 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10255 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10256          X"$_am_arg" : 'X\(//\)[^/]' \| \
10257          X"$_am_arg" : 'X\(//\)$' \| \
10258          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10259 printf "%s\n" X"$_am_arg" |
10260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10261             s//\1/
10262             q
10263           }
10264           /^X\(\/\/\)[^/].*/{
10265             s//\1/
10266             q
10267           }
10268           /^X\(\/\/\)$/{
10269             s//\1/
10270             q
10271           }
10272           /^X\(\/\).*/{
10273             s//\1/
10274             q
10275           }
10276           s/.*/./; q'`/stamp-h$_am_stamp_count
10277  ;;
10278   
10279   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10280 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
10281  ;;
10282   esac
10283
10284
10285   case $ac_file$ac_mode in
10286     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10287   # Older Autoconf quotes --file arguments for eval, but not when files
10288   # are listed without --file.  Let's play safe and only enable the eval
10289   # if we detect the quoting.
10290   # TODO: see whether this extra hack can be removed once we start
10291   # requiring Autoconf 2.70 or later.
10292   case $CONFIG_FILES in @%:@(
10293   *\'*) :
10294     eval set x "$CONFIG_FILES" ;; @%:@(
10295   *) :
10296     set x $CONFIG_FILES ;; @%:@(
10297   *) :
10298      ;;
10299 esac
10300   shift
10301   # Used to flag and report bootstrapping failures.
10302   am_rc=0
10303   for am_mf
10304   do
10305     # Strip MF so we end up with the name of the file.
10306     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
10307     # Check whether this is an Automake generated Makefile which includes
10308     # dependency-tracking related rules and includes.
10309     # Grep'ing the whole file directly is not great: AIX grep has a line
10310     # limit of 2048, but all sed's we know have understand at least 4000.
10311     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
10312       || continue
10313     am_dirpart=`$as_dirname -- "$am_mf" ||
10314 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10315          X"$am_mf" : 'X\(//\)[^/]' \| \
10316          X"$am_mf" : 'X\(//\)$' \| \
10317          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
10318 printf "%s\n" X"$am_mf" |
10319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10320             s//\1/
10321             q
10322           }
10323           /^X\(\/\/\)[^/].*/{
10324             s//\1/
10325             q
10326           }
10327           /^X\(\/\/\)$/{
10328             s//\1/
10329             q
10330           }
10331           /^X\(\/\).*/{
10332             s//\1/
10333             q
10334           }
10335           s/.*/./; q'`
10336     am_filepart=`$as_basename -- "$am_mf" ||
10337 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
10338          X"$am_mf" : 'X\(//\)$' \| \
10339          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
10340 printf "%s\n" X/"$am_mf" |
10341     sed '/^.*\/\([^/][^/]*\)\/*$/{
10342             s//\1/
10343             q
10344           }
10345           /^X\/\(\/\/\)$/{
10346             s//\1/
10347             q
10348           }
10349           /^X\/\(\/\).*/{
10350             s//\1/
10351             q
10352           }
10353           s/.*/./; q'`
10354     { echo "$as_me:$LINENO: cd "$am_dirpart" \
10355       && sed -e '/# am--include-marker/d' "$am_filepart" \
10356         | $MAKE -f - am--depfiles" >&5
10357    (cd "$am_dirpart" \
10358       && sed -e '/# am--include-marker/d' "$am_filepart" \
10359         | $MAKE -f - am--depfiles) >&5 2>&5
10360    ac_status=$?
10361    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362    (exit $ac_status); } || am_rc=$?
10363   done
10364   if test $am_rc -ne 0; then
10365     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10366 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
10367 as_fn_error $? "Something went wrong bootstrapping makefile fragments
10368     for automatic dependency tracking.  If GNU make was not used, consider
10369     re-running the configure script with MAKE=\"gmake\" (or whatever is
10370     necessary).  You can also try re-running configure with the
10371     '--disable-dependency-tracking' option to at least be able to build
10372     the package (albeit without support for automatic dependency tracking).
10373 See \`config.log' for more details" "$LINENO" 5; }
10374   fi
10375   { am_dirpart=; unset am_dirpart;}
10376   { am_filepart=; unset am_filepart;}
10377   { am_mf=; unset am_mf;}
10378   { am_rc=; unset am_rc;}
10379   rm -f conftest-deps.mk
10380 }
10381  ;;
10382     "po-directories":C) 
10383     for ac_file in $CONFIG_FILES; do
10384       # Support "outfile[:infile[:infile...]]"
10385       case "$ac_file" in
10386         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10387       esac
10388       # PO directories have a Makefile.in generated from Makefile.in.in.
10389       case "$ac_file" in */Makefile.in)
10390         # Adjust a relative srcdir.
10391         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10392         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
10393         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10394         # In autoconf-2.13 it is called $ac_given_srcdir.
10395         # In autoconf-2.50 it is called $srcdir.
10396         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10397         case "$ac_given_srcdir" in
10398           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10399           /*) top_srcdir="$ac_given_srcdir" ;;
10400           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
10401         esac
10402         # Treat a directory as a PO directory if and only if it has a
10403         # POTFILES.in file. This allows packages to have multiple PO
10404         # directories under different names or in different locations.
10405         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10406           rm -f "$ac_dir/POTFILES"
10407           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10408           gt_tab=`printf '\t'`
10409           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10410           POMAKEFILEDEPS="POTFILES.in"
10411           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10412           # on $ac_dir but don't depend on user-specified configuration
10413           # parameters.
10414           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10415             # The LINGUAS file contains the set of available languages.
10416             if test -n "$OBSOLETE_ALL_LINGUAS"; then
10417               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10418             fi
10419             ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10420             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10421           else
10422             # The set of available languages was given in configure.in.
10423             ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
10424           fi
10425           # Compute POFILES
10426           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10427           # Compute UPDATEPOFILES
10428           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10429           # Compute DUMMYPOFILES
10430           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10431           # Compute GMOFILES
10432           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10433           case "$ac_given_srcdir" in
10434             .) srcdirpre= ;;
10435             *) srcdirpre='$(srcdir)/' ;;
10436           esac
10437           POFILES=
10438           UPDATEPOFILES=
10439           DUMMYPOFILES=
10440           GMOFILES=
10441           for lang in $ALL_LINGUAS; do
10442             POFILES="$POFILES $srcdirpre$lang.po"
10443             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10444             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10445             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10446           done
10447           # CATALOGS depends on both $ac_dir and the user's LINGUAS
10448           # environment variable.
10449           INST_LINGUAS=
10450           if test -n "$ALL_LINGUAS"; then
10451             for presentlang in $ALL_LINGUAS; do
10452               useit=no
10453               if test "%UNSET%" != "$LINGUAS"; then
10454                 desiredlanguages="$LINGUAS"
10455               else
10456                 desiredlanguages="$ALL_LINGUAS"
10457               fi
10458               for desiredlang in $desiredlanguages; do
10459                 # Use the presentlang catalog if desiredlang is
10460                 #   a. equal to presentlang, or
10461                 #   b. a variant of presentlang (because in this case,
10462                 #      presentlang can be used as a fallback for messages
10463                 #      which are not translated in the desiredlang catalog).
10464                 case "$desiredlang" in
10465                   "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
10466                     useit=yes
10467                     ;;
10468                 esac
10469               done
10470               if test $useit = yes; then
10471                 INST_LINGUAS="$INST_LINGUAS $presentlang"
10472               fi
10473             done
10474           fi
10475           CATALOGS=
10476           if test -n "$INST_LINGUAS"; then
10477             for lang in $INST_LINGUAS; do
10478               CATALOGS="$CATALOGS $lang.gmo"
10479             done
10480           fi
10481           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10482           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10483           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10484             if test -f "$f"; then
10485               case "$f" in
10486                 *.orig | *.bak | *~) ;;
10487                 *) cat "$f" >> "$ac_dir/Makefile" ;;
10488               esac
10489             fi
10490           done
10491         fi
10492         ;;
10493       esac
10494     done ;;
10495
10496   esac
10497 done # for ac_tag
10498
10499
10500 as_fn_exit 0
10501 _ACEOF
10502 ac_clean_files=$ac_clean_files_save
10503
10504 test $ac_write_fail = 0 ||
10505   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10506
10507
10508 # configure is writing to config.log, and then calls config.status.
10509 # config.status does its own redirection, appending to config.log.
10510 # Unfortunately, on DOS this fails, as config.log is still kept open
10511 # by configure, so config.status won't be able to write to it; its
10512 # output is simply discarded.  So we exec the FD to /dev/null,
10513 # effectively closing config.log, so it can be properly (re)opened and
10514 # appended to by config.status.  When coming back to configure, we
10515 # need to make the FD available again.
10516 if test "$no_create" != yes; then
10517   ac_cs_success=:
10518   ac_config_status_args=
10519   test "$silent" = yes &&
10520     ac_config_status_args="$ac_config_status_args --quiet"
10521   exec 5>/dev/null
10522   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10523   exec 5>>config.log
10524   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10525   # would make configure fail if this is the last instruction.
10526   $ac_cs_success || as_fn_exit 1
10527 fi
10528 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10530 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10531 fi
10532
10533
10534 echo ""
10535
10536 echo "Enscript is now configured to your system with the following"
10537 echo "user-definable options.  Please, check that they are correct and"
10538 echo "match to your system's properties."
10539 echo ""
10540 echo "Option     Change with configure's option   Current value"
10541 echo "---------------------------------------------------------"
10542 echo "Media      --with-media=MEDIA               $MEDIA"
10543 echo "Encoding   --with-encoding=ENCODING         $ENCODING"
10544 echo "Spooler    --with-spooler=SPOOLER           $SPOOLER"
10545 echo "PS level   --with-ps-level=LEVEL            $PSLEVEL"
10546 echo ""