Upload Tizen:Main source
[pkgs/xorg/util/xorg-x11-xauth.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for xauth 1.0.5.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178   if (eval "$as_required") 2>/dev/null; then :
179   as_have_required=yes
180 else
181   as_have_required=no
182 fi
183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190   IFS=$as_save_IFS
191   test -z "$as_dir" && as_dir=.
192   as_found=:
193   case $as_dir in #(
194          /*)
195            for as_base in sh bash ksh sh5; do
196              # Try only shells that exist, to save several forks.
197              as_shell=$as_dir/$as_base
198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200   CONFIG_SHELL=$as_shell as_have_required=yes
201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202   break 2
203 fi
204 fi
205            done;;
206        esac
207   as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211   CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216       if test "x$CONFIG_SHELL" != x; then :
217   # We cannot yet assume a decent shell, so we have to provide a
218         # neutralization value for shells without unset; and this also
219         # works around shells that cannot unset nonexistent variables.
220         # Preserve -v and -x to the replacement shell.
221         BASH_ENV=/dev/null
222         ENV=/dev/null
223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224         export CONFIG_SHELL
225         case $- in # ((((
226           *v*x* | *x*v* ) as_opts=-vx ;;
227           *v* ) as_opts=-v ;;
228           *x* ) as_opts=-x ;;
229           * ) as_opts= ;;
230         esac
231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234     if test x$as_have_required = xno; then :
235   $as_echo "$0: This script requires a shell more modern than all"
236   $as_echo "$0: the shells that I found on your system."
237   if test x${ZSH_VERSION+set} = xset ; then
238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240   else
241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
243 $0: about your system, including any error possibly output
244 $0: before this message. Then install a modern shell, or
245 $0: manually run the script under such a shell if you do
246 $0: have one."
247   fi
248   exit 1
249 fi
250 fi
251 fi
252 SHELL=${CONFIG_SHELL-/bin/sh}
253 export SHELL
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
257
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
261 # as_fn_unset VAR
262 # ---------------
263 # Portably unset VAR.
264 as_fn_unset ()
265 {
266   { eval $1=; unset $1;}
267 }
268 as_unset=as_fn_unset
269
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
273 as_fn_set_status ()
274 {
275   return $1
276 } # as_fn_set_status
277
278 # as_fn_exit STATUS
279 # -----------------
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 as_fn_exit ()
282 {
283   set +e
284   as_fn_set_status $1
285   exit $1
286 } # as_fn_exit
287
288 # as_fn_mkdir_p
289 # -------------
290 # Create "$as_dir" as a directory, including parents if necessary.
291 as_fn_mkdir_p ()
292 {
293
294   case $as_dir in #(
295   -*) as_dir=./$as_dir;;
296   esac
297   test -d "$as_dir" || eval $as_mkdir_p || {
298     as_dirs=
299     while :; do
300       case $as_dir in #(
301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302       *) as_qdir=$as_dir;;
303       esac
304       as_dirs="'$as_qdir' $as_dirs"
305       as_dir=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307          X"$as_dir" : 'X\(//\)[^/]' \| \
308          X"$as_dir" : 'X\(//\)$' \| \
309          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
312             s//\1/
313             q
314           }
315           /^X\(\/\/\)[^/].*/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\).*/{
324             s//\1/
325             q
326           }
327           s/.*/./; q'`
328       test -d "$as_dir" && break
329     done
330     test -z "$as_dirs" || eval "mkdir $as_dirs"
331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
332
333
334 } # as_fn_mkdir_p
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
340 # implementations.
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342   eval 'as_fn_append ()
343   {
344     eval $1+=\$2
345   }'
346 else
347   as_fn_append ()
348   {
349     eval $1=\$$1\$2
350   }
351 fi # as_fn_append
352
353 # as_fn_arith ARG...
354 # ------------------
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359   eval 'as_fn_arith ()
360   {
361     as_val=$(( $* ))
362   }'
363 else
364   as_fn_arith ()
365   {
366     as_val=`expr "$@" || test $? -eq 1`
367   }
368 fi # as_fn_arith
369
370
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
376 as_fn_error ()
377 {
378   as_status=$1; test $as_status -eq 0 && as_status=1
379   if test "$4"; then
380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382   fi
383   $as_echo "$as_me: error: $2" >&2
384   as_fn_exit $as_status
385 } # as_fn_error
386
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
389   as_expr=expr
390 else
391   as_expr=false
392 fi
393
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
395   as_basename=basename
396 else
397   as_basename=false
398 fi
399
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
401   as_dirname=dirname
402 else
403   as_dirname=false
404 fi
405
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408          X"$0" : 'X\(//\)$' \| \
409          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 $as_echo X/"$0" |
411     sed '/^.*\/\([^/][^/]*\)\/*$/{
412             s//\1/
413             q
414           }
415           /^X\/\(\/\/\)$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\).*/{
420             s//\1/
421             q
422           }
423           s/.*/./; q'`
424
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
431
432
433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455
456   # Don't try to exec as it changes $[0], causing all sort of problems
457   # (the dirname of $[0] is not the place where we might find the
458   # original and so on.  Autoconf is especially sensitive to this).
459   . "./$as_me.lineno"
460   # Exit status is that of the last command.
461   exit
462 }
463
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
466 -n*)
467   case `echo 'xy\c'` in
468   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
469   xy)  ECHO_C='\c';;
470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
471        ECHO_T=' ';;
472   esac;;
473 *)
474   ECHO_N='-n';;
475 esac
476
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479   rm -f conf$$.dir/conf$$.file
480 else
481   rm -f conf$$.dir
482   mkdir conf$$.dir 2>/dev/null
483 fi
484 if (echo >conf$$.file) 2>/dev/null; then
485   if ln -s conf$$.file conf$$ 2>/dev/null; then
486     as_ln_s='ln -s'
487     # ... but there are two gotchas:
488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490     # In both cases, we have to default to `cp -p'.
491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492       as_ln_s='cp -p'
493   elif ln conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s=ln
495   else
496     as_ln_s='cp -p'
497   fi
498 else
499   as_ln_s='cp -p'
500 fi
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
503
504 if mkdir -p . 2>/dev/null; then
505   as_mkdir_p='mkdir -p "$as_dir"'
506 else
507   test -d ./-p && rmdir ./-p
508   as_mkdir_p=false
509 fi
510
511 if test -x / >/dev/null 2>&1; then
512   as_test_x='test -x'
513 else
514   if ls -dL / >/dev/null 2>&1; then
515     as_ls_L_option=L
516   else
517     as_ls_L_option=
518   fi
519   as_test_x='
520     eval sh -c '\''
521       if test -d "$1"; then
522         test -d "$1/.";
523       else
524         case $1 in #(
525         -*)set "./$1";;
526         esac;
527         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528         ???[sx]*):;;*)false;;esac;fi
529     '\'' sh
530   '
531 fi
532 as_executable_p=$as_test_x
533
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539
540
541 test -n "$DJDIR" || exec 7<&0 </dev/null
542 exec 6>&1
543
544 # Name of the host.
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
549 #
550 # Initializations.
551 #
552 ac_default_prefix=/usr/local
553 ac_clean_files=
554 ac_config_libobj_dir=.
555 LIBOBJS=
556 cross_compiling=no
557 subdirs=
558 MFLAGS=
559 MAKEFLAGS=
560
561 # Identity of this package.
562 PACKAGE_NAME='xauth'
563 PACKAGE_TARNAME='xauth'
564 PACKAGE_VERSION='1.0.5'
565 PACKAGE_STRING='xauth 1.0.5'
566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
567 PACKAGE_URL=''
568
569 # Factoring default headers for most tests.
570 ac_includes_default="\
571 #include <stdio.h>
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
574 #endif
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
577 #endif
578 #ifdef STDC_HEADERS
579 # include <stdlib.h>
580 # include <stddef.h>
581 #else
582 # ifdef HAVE_STDLIB_H
583 #  include <stdlib.h>
584 # endif
585 #endif
586 #ifdef HAVE_STRING_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #  include <memory.h>
589 # endif
590 # include <string.h>
591 #endif
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
594 #endif
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
597 #endif
598 #ifdef HAVE_STDINT_H
599 # include <stdint.h>
600 #endif
601 #ifdef HAVE_UNISTD_H
602 # include <unistd.h>
603 #endif"
604
605 ac_subst_vars='am__EXEEXT_FALSE
606 am__EXEEXT_TRUE
607 LTLIBOBJS
608 LIBOBJS
609 LINT_FALSE
610 LINT_TRUE
611 LINT_FLAGS
612 LINT
613 XAUTH_LIBS
614 XAUTH_CFLAGS
615 AM_BACKSLASH
616 AM_DEFAULT_VERBOSITY
617 MAN_SUBSTS
618 XORG_MAN_PAGE
619 ADMIN_MAN_DIR
620 DRIVER_MAN_DIR
621 MISC_MAN_DIR
622 FILE_MAN_DIR
623 LIB_MAN_DIR
624 APP_MAN_DIR
625 ADMIN_MAN_SUFFIX
626 DRIVER_MAN_SUFFIX
627 MISC_MAN_SUFFIX
628 FILE_MAN_SUFFIX
629 LIB_MAN_SUFFIX
630 APP_MAN_SUFFIX
631 SED
632 host_os
633 host_vendor
634 host_cpu
635 host
636 build_os
637 build_vendor
638 build_cpu
639 build
640 INSTALL_CMD
641 PKG_CONFIG
642 CHANGELOG_CMD
643 CWARNFLAGS
644 EGREP
645 GREP
646 CPP
647 am__fastdepCC_FALSE
648 am__fastdepCC_TRUE
649 CCDEPMODE
650 AMDEPBACKSLASH
651 AMDEP_FALSE
652 AMDEP_TRUE
653 am__quote
654 am__include
655 DEPDIR
656 OBJEXT
657 EXEEXT
658 ac_ct_CC
659 CPPFLAGS
660 LDFLAGS
661 CFLAGS
662 CC
663 MAINT
664 MAINTAINER_MODE_FALSE
665 MAINTAINER_MODE_TRUE
666 am__untar
667 am__tar
668 AMTAR
669 am__leading_dot
670 SET_MAKE
671 AWK
672 mkdir_p
673 MKDIR_P
674 INSTALL_STRIP_PROGRAM
675 STRIP
676 install_sh
677 MAKEINFO
678 AUTOHEADER
679 AUTOMAKE
680 AUTOCONF
681 ACLOCAL
682 VERSION
683 PACKAGE
684 CYGPATH_W
685 am__isrc
686 INSTALL_DATA
687 INSTALL_SCRIPT
688 INSTALL_PROGRAM
689 target_alias
690 host_alias
691 build_alias
692 LIBS
693 ECHO_T
694 ECHO_N
695 ECHO_C
696 DEFS
697 mandir
698 localedir
699 libdir
700 psdir
701 pdfdir
702 dvidir
703 htmldir
704 infodir
705 docdir
706 oldincludedir
707 includedir
708 localstatedir
709 sharedstatedir
710 sysconfdir
711 datadir
712 datarootdir
713 libexecdir
714 sbindir
715 bindir
716 program_transform_name
717 prefix
718 exec_prefix
719 PACKAGE_URL
720 PACKAGE_BUGREPORT
721 PACKAGE_STRING
722 PACKAGE_VERSION
723 PACKAGE_TARNAME
724 PACKAGE_NAME
725 PATH_SEPARATOR
726 SHELL'
727 ac_subst_files=''
728 ac_user_opts='
729 enable_option_checking
730 enable_maintainer_mode
731 enable_dependency_tracking
732 enable_strict_compilation
733 enable_silent_rules
734 enable_unix_transport
735 enable_tcp_transport
736 enable_ipv6
737 enable_local_transport
738 with_lint
739 '
740       ac_precious_vars='build_alias
741 host_alias
742 target_alias
743 CC
744 CFLAGS
745 LDFLAGS
746 LIBS
747 CPPFLAGS
748 CPP
749 PKG_CONFIG
750 XAUTH_CFLAGS
751 XAUTH_LIBS
752 LINT
753 LINT_FLAGS'
754
755
756 # Initialize some variables set by options.
757 ac_init_help=
758 ac_init_version=false
759 ac_unrecognized_opts=
760 ac_unrecognized_sep=
761 # The variables have the same names as the options, with
762 # dashes changed to underlines.
763 cache_file=/dev/null
764 exec_prefix=NONE
765 no_create=
766 no_recursion=
767 prefix=NONE
768 program_prefix=NONE
769 program_suffix=NONE
770 program_transform_name=s,x,x,
771 silent=
772 site=
773 srcdir=
774 verbose=
775 x_includes=NONE
776 x_libraries=NONE
777
778 # Installation directory options.
779 # These are left unexpanded so users can "make install exec_prefix=/foo"
780 # and all the variables that are supposed to be based on exec_prefix
781 # by default will actually change.
782 # Use braces instead of parens because sh, perl, etc. also accept them.
783 # (The list follows the same order as the GNU Coding Standards.)
784 bindir='${exec_prefix}/bin'
785 sbindir='${exec_prefix}/sbin'
786 libexecdir='${exec_prefix}/libexec'
787 datarootdir='${prefix}/share'
788 datadir='${datarootdir}'
789 sysconfdir='${prefix}/etc'
790 sharedstatedir='${prefix}/com'
791 localstatedir='${prefix}/var'
792 includedir='${prefix}/include'
793 oldincludedir='/usr/include'
794 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
795 infodir='${datarootdir}/info'
796 htmldir='${docdir}'
797 dvidir='${docdir}'
798 pdfdir='${docdir}'
799 psdir='${docdir}'
800 libdir='${exec_prefix}/lib'
801 localedir='${datarootdir}/locale'
802 mandir='${datarootdir}/man'
803
804 ac_prev=
805 ac_dashdash=
806 for ac_option
807 do
808   # If the previous option needs an argument, assign it.
809   if test -n "$ac_prev"; then
810     eval $ac_prev=\$ac_option
811     ac_prev=
812     continue
813   fi
814
815   case $ac_option in
816   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817   *=)   ac_optarg= ;;
818   *)    ac_optarg=yes ;;
819   esac
820
821   # Accept the important Cygnus configure options, so we can diagnose typos.
822
823   case $ac_dashdash$ac_option in
824   --)
825     ac_dashdash=yes ;;
826
827   -bindir | --bindir | --bindi | --bind | --bin | --bi)
828     ac_prev=bindir ;;
829   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
830     bindir=$ac_optarg ;;
831
832   -build | --build | --buil | --bui | --bu)
833     ac_prev=build_alias ;;
834   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
835     build_alias=$ac_optarg ;;
836
837   -cache-file | --cache-file | --cache-fil | --cache-fi \
838   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
839     ac_prev=cache_file ;;
840   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
841   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
842     cache_file=$ac_optarg ;;
843
844   --config-cache | -C)
845     cache_file=config.cache ;;
846
847   -datadir | --datadir | --datadi | --datad)
848     ac_prev=datadir ;;
849   -datadir=* | --datadir=* | --datadi=* | --datad=*)
850     datadir=$ac_optarg ;;
851
852   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
853   | --dataroo | --dataro | --datar)
854     ac_prev=datarootdir ;;
855   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
856   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
857     datarootdir=$ac_optarg ;;
858
859   -disable-* | --disable-*)
860     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861     # Reject names that are not valid shell variable names.
862     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863       as_fn_error $? "invalid feature name: $ac_useropt"
864     ac_useropt_orig=$ac_useropt
865     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866     case $ac_user_opts in
867       *"
868 "enable_$ac_useropt"
869 "*) ;;
870       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
871          ac_unrecognized_sep=', ';;
872     esac
873     eval enable_$ac_useropt=no ;;
874
875   -docdir | --docdir | --docdi | --doc | --do)
876     ac_prev=docdir ;;
877   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
878     docdir=$ac_optarg ;;
879
880   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
881     ac_prev=dvidir ;;
882   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
883     dvidir=$ac_optarg ;;
884
885   -enable-* | --enable-*)
886     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
887     # Reject names that are not valid shell variable names.
888     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889       as_fn_error $? "invalid feature name: $ac_useropt"
890     ac_useropt_orig=$ac_useropt
891     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892     case $ac_user_opts in
893       *"
894 "enable_$ac_useropt"
895 "*) ;;
896       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
897          ac_unrecognized_sep=', ';;
898     esac
899     eval enable_$ac_useropt=\$ac_optarg ;;
900
901   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
902   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
903   | --exec | --exe | --ex)
904     ac_prev=exec_prefix ;;
905   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
906   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
907   | --exec=* | --exe=* | --ex=*)
908     exec_prefix=$ac_optarg ;;
909
910   -gas | --gas | --ga | --g)
911     # Obsolete; use --with-gas.
912     with_gas=yes ;;
913
914   -help | --help | --hel | --he | -h)
915     ac_init_help=long ;;
916   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
917     ac_init_help=recursive ;;
918   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
919     ac_init_help=short ;;
920
921   -host | --host | --hos | --ho)
922     ac_prev=host_alias ;;
923   -host=* | --host=* | --hos=* | --ho=*)
924     host_alias=$ac_optarg ;;
925
926   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
927     ac_prev=htmldir ;;
928   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
929   | --ht=*)
930     htmldir=$ac_optarg ;;
931
932   -includedir | --includedir | --includedi | --included | --include \
933   | --includ | --inclu | --incl | --inc)
934     ac_prev=includedir ;;
935   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
936   | --includ=* | --inclu=* | --incl=* | --inc=*)
937     includedir=$ac_optarg ;;
938
939   -infodir | --infodir | --infodi | --infod | --info | --inf)
940     ac_prev=infodir ;;
941   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
942     infodir=$ac_optarg ;;
943
944   -libdir | --libdir | --libdi | --libd)
945     ac_prev=libdir ;;
946   -libdir=* | --libdir=* | --libdi=* | --libd=*)
947     libdir=$ac_optarg ;;
948
949   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
950   | --libexe | --libex | --libe)
951     ac_prev=libexecdir ;;
952   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
953   | --libexe=* | --libex=* | --libe=*)
954     libexecdir=$ac_optarg ;;
955
956   -localedir | --localedir | --localedi | --localed | --locale)
957     ac_prev=localedir ;;
958   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
959     localedir=$ac_optarg ;;
960
961   -localstatedir | --localstatedir | --localstatedi | --localstated \
962   | --localstate | --localstat | --localsta | --localst | --locals)
963     ac_prev=localstatedir ;;
964   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
965   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
966     localstatedir=$ac_optarg ;;
967
968   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
969     ac_prev=mandir ;;
970   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971     mandir=$ac_optarg ;;
972
973   -nfp | --nfp | --nf)
974     # Obsolete; use --without-fp.
975     with_fp=no ;;
976
977   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
978   | --no-cr | --no-c | -n)
979     no_create=yes ;;
980
981   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
982   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
983     no_recursion=yes ;;
984
985   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
986   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
987   | --oldin | --oldi | --old | --ol | --o)
988     ac_prev=oldincludedir ;;
989   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
990   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
991   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
992     oldincludedir=$ac_optarg ;;
993
994   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
995     ac_prev=prefix ;;
996   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
997     prefix=$ac_optarg ;;
998
999   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1000   | --program-pre | --program-pr | --program-p)
1001     ac_prev=program_prefix ;;
1002   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1003   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1004     program_prefix=$ac_optarg ;;
1005
1006   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1007   | --program-suf | --program-su | --program-s)
1008     ac_prev=program_suffix ;;
1009   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1010   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1011     program_suffix=$ac_optarg ;;
1012
1013   -program-transform-name | --program-transform-name \
1014   | --program-transform-nam | --program-transform-na \
1015   | --program-transform-n | --program-transform- \
1016   | --program-transform | --program-transfor \
1017   | --program-transfo | --program-transf \
1018   | --program-trans | --program-tran \
1019   | --progr-tra | --program-tr | --program-t)
1020     ac_prev=program_transform_name ;;
1021   -program-transform-name=* | --program-transform-name=* \
1022   | --program-transform-nam=* | --program-transform-na=* \
1023   | --program-transform-n=* | --program-transform-=* \
1024   | --program-transform=* | --program-transfor=* \
1025   | --program-transfo=* | --program-transf=* \
1026   | --program-trans=* | --program-tran=* \
1027   | --progr-tra=* | --program-tr=* | --program-t=*)
1028     program_transform_name=$ac_optarg ;;
1029
1030   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1031     ac_prev=pdfdir ;;
1032   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1033     pdfdir=$ac_optarg ;;
1034
1035   -psdir | --psdir | --psdi | --psd | --ps)
1036     ac_prev=psdir ;;
1037   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1038     psdir=$ac_optarg ;;
1039
1040   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041   | -silent | --silent | --silen | --sile | --sil)
1042     silent=yes ;;
1043
1044   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1045     ac_prev=sbindir ;;
1046   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1047   | --sbi=* | --sb=*)
1048     sbindir=$ac_optarg ;;
1049
1050   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1051   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1052   | --sharedst | --shareds | --shared | --share | --shar \
1053   | --sha | --sh)
1054     ac_prev=sharedstatedir ;;
1055   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1056   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1057   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1058   | --sha=* | --sh=*)
1059     sharedstatedir=$ac_optarg ;;
1060
1061   -site | --site | --sit)
1062     ac_prev=site ;;
1063   -site=* | --site=* | --sit=*)
1064     site=$ac_optarg ;;
1065
1066   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1067     ac_prev=srcdir ;;
1068   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1069     srcdir=$ac_optarg ;;
1070
1071   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1072   | --syscon | --sysco | --sysc | --sys | --sy)
1073     ac_prev=sysconfdir ;;
1074   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1075   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1076     sysconfdir=$ac_optarg ;;
1077
1078   -target | --target | --targe | --targ | --tar | --ta | --t)
1079     ac_prev=target_alias ;;
1080   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1081     target_alias=$ac_optarg ;;
1082
1083   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1084     verbose=yes ;;
1085
1086   -version | --version | --versio | --versi | --vers | -V)
1087     ac_init_version=: ;;
1088
1089   -with-* | --with-*)
1090     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091     # Reject names that are not valid shell variable names.
1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093       as_fn_error $? "invalid package name: $ac_useropt"
1094     ac_useropt_orig=$ac_useropt
1095     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1096     case $ac_user_opts in
1097       *"
1098 "with_$ac_useropt"
1099 "*) ;;
1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1101          ac_unrecognized_sep=', ';;
1102     esac
1103     eval with_$ac_useropt=\$ac_optarg ;;
1104
1105   -without-* | --without-*)
1106     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107     # Reject names that are not valid shell variable names.
1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109       as_fn_error $? "invalid package name: $ac_useropt"
1110     ac_useropt_orig=$ac_useropt
1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112     case $ac_user_opts in
1113       *"
1114 "with_$ac_useropt"
1115 "*) ;;
1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1117          ac_unrecognized_sep=', ';;
1118     esac
1119     eval with_$ac_useropt=no ;;
1120
1121   --x)
1122     # Obsolete; use --with-x.
1123     with_x=yes ;;
1124
1125   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1126   | --x-incl | --x-inc | --x-in | --x-i)
1127     ac_prev=x_includes ;;
1128   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1129   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1130     x_includes=$ac_optarg ;;
1131
1132   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1133   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1134     ac_prev=x_libraries ;;
1135   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1136   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1137     x_libraries=$ac_optarg ;;
1138
1139   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1140 Try \`$0 --help' for more information"
1141     ;;
1142
1143   *=*)
1144     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145     # Reject names that are not valid shell variable names.
1146     case $ac_envvar in #(
1147       '' | [0-9]* | *[!_$as_cr_alnum]* )
1148       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1149     esac
1150     eval $ac_envvar=\$ac_optarg
1151     export $ac_envvar ;;
1152
1153   *)
1154     # FIXME: should be removed in autoconf 3.0.
1155     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1156     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1158     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1159     ;;
1160
1161   esac
1162 done
1163
1164 if test -n "$ac_prev"; then
1165   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1166   as_fn_error $? "missing argument to $ac_option"
1167 fi
1168
1169 if test -n "$ac_unrecognized_opts"; then
1170   case $enable_option_checking in
1171     no) ;;
1172     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1173     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1174   esac
1175 fi
1176
1177 # Check all directory arguments for consistency.
1178 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179                 datadir sysconfdir sharedstatedir localstatedir includedir \
1180                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181                 libdir localedir mandir
1182 do
1183   eval ac_val=\$$ac_var
1184   # Remove trailing slashes.
1185   case $ac_val in
1186     */ )
1187       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1188       eval $ac_var=\$ac_val;;
1189   esac
1190   # Be sure to have absolute directory names.
1191   case $ac_val in
1192     [\\/$]* | ?:[\\/]* )  continue;;
1193     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194   esac
1195   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1196 done
1197
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1201 build=$build_alias
1202 host=$host_alias
1203 target=$target_alias
1204
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207   if test "x$build_alias" = x; then
1208     cross_compiling=maybe
1209     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1210     If a cross compiler is detected then cross compile mode will be used" >&2
1211   elif test "x$build_alias" != "x$host_alias"; then
1212     cross_compiling=yes
1213   fi
1214 fi
1215
1216 ac_tool_prefix=
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1218
1219 test "$silent" = yes && exec 6>/dev/null
1220
1221
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225   as_fn_error $? "working directory cannot be determined"
1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227   as_fn_error $? "pwd does not report name of working directory"
1228
1229
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232   ac_srcdir_defaulted=yes
1233   # Try the directory containing this script, then the parent directory.
1234   ac_confdir=`$as_dirname -- "$as_myself" ||
1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236          X"$as_myself" : 'X\(//\)[^/]' \| \
1237          X"$as_myself" : 'X\(//\)$' \| \
1238          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239 $as_echo X"$as_myself" |
1240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241             s//\1/
1242             q
1243           }
1244           /^X\(\/\/\)[^/].*/{
1245             s//\1/
1246             q
1247           }
1248           /^X\(\/\/\)$/{
1249             s//\1/
1250             q
1251           }
1252           /^X\(\/\).*/{
1253             s//\1/
1254             q
1255           }
1256           s/.*/./; q'`
1257   srcdir=$ac_confdir
1258   if test ! -r "$srcdir/$ac_unique_file"; then
1259     srcdir=..
1260   fi
1261 else
1262   ac_srcdir_defaulted=no
1263 fi
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1267 fi
1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1269 ac_abs_confdir=`(
1270         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1271         pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274   srcdir=.
1275 fi
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284   eval ac_env_${ac_var}_value=\$${ac_var}
1285   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1288
1289 #
1290 # Report the --help message.
1291 #
1292 if test "$ac_init_help" = "long"; then
1293   # Omit some internal or obsolete options to make the list less imposing.
1294   # This message is too long to be a string in the A/UX 3.1 sh.
1295   cat <<_ACEOF
1296 \`configure' configures xauth 1.0.5 to adapt to many kinds of systems.
1297
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1299
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE.  See below for descriptions of some of the useful variables.
1302
1303 Defaults for the options are specified in brackets.
1304
1305 Configuration:
1306   -h, --help              display this help and exit
1307       --help=short        display options specific to this package
1308       --help=recursive    display the short help of all the included packages
1309   -V, --version           display version information and exit
1310   -q, --quiet, --silent   do not print \`checking ...' messages
1311       --cache-file=FILE   cache test results in FILE [disabled]
1312   -C, --config-cache      alias for \`--cache-file=config.cache'
1313   -n, --no-create         do not create output files
1314       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1315
1316 Installation directories:
1317   --prefix=PREFIX         install architecture-independent files in PREFIX
1318                           [$ac_default_prefix]
1319   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1320                           [PREFIX]
1321
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1326
1327 For better control, use the options below.
1328
1329 Fine tuning of the installation directories:
1330   --bindir=DIR            user executables [EPREFIX/bin]
1331   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1332   --libexecdir=DIR        program executables [EPREFIX/libexec]
1333   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1334   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1335   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1336   --libdir=DIR            object code libraries [EPREFIX/lib]
1337   --includedir=DIR        C header files [PREFIX/include]
1338   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1339   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1340   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1341   --infodir=DIR           info documentation [DATAROOTDIR/info]
1342   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1343   --mandir=DIR            man documentation [DATAROOTDIR/man]
1344   --docdir=DIR            documentation root [DATAROOTDIR/doc/xauth]
1345   --htmldir=DIR           html documentation [DOCDIR]
1346   --dvidir=DIR            dvi documentation [DOCDIR]
1347   --pdfdir=DIR            pdf documentation [DOCDIR]
1348   --psdir=DIR             ps documentation [DOCDIR]
1349 _ACEOF
1350
1351   cat <<\_ACEOF
1352
1353 Program names:
1354   --program-prefix=PREFIX            prepend PREFIX to installed program names
1355   --program-suffix=SUFFIX            append SUFFIX to installed program names
1356   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1357
1358 System types:
1359   --build=BUILD     configure for building on BUILD [guessed]
1360   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1361 _ACEOF
1362 fi
1363
1364 if test -n "$ac_init_help"; then
1365   case $ac_init_help in
1366      short | recursive ) echo "Configuration of xauth 1.0.5:";;
1367    esac
1368   cat <<\_ACEOF
1369
1370 Optional Features:
1371   --disable-option-checking  ignore unrecognized --enable/--with options
1372   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1373   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1374   --enable-maintainer-mode  enable make rules and dependencies not useful
1375                           (and sometimes confusing) to the casual installer
1376   --disable-dependency-tracking  speeds up one-time build
1377   --enable-dependency-tracking   do not reject slow dependency extractors
1378   --enable-strict-compilation
1379                           Enable all warnings from compiler and make them
1380                           errors (default: disabled)
1381   --enable-silent-rules          less verbose build output (undo: `make V=1')
1382   --disable-silent-rules         verbose build output (undo: `make V=0')
1383   --enable-unix-transport Enable UNIX domain socket transport
1384   --enable-tcp-transport  Enable TCP socket transport
1385   --enable-ipv6           Enable IPv6 support
1386   --enable-local-transport
1387                           Enable os-specific local transport
1388
1389 Optional Packages:
1390   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1391   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1392   --with-lint             Use a lint-style source code checker (default:
1393                           disabled)
1394
1395 Some influential environment variables:
1396   CC          C compiler command
1397   CFLAGS      C compiler flags
1398   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1399               nonstandard directory <lib dir>
1400   LIBS        libraries to pass to the linker, e.g. -l<library>
1401   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1402               you have headers in a nonstandard directory <include dir>
1403   CPP         C preprocessor
1404   PKG_CONFIG  path to pkg-config utility
1405   XAUTH_CFLAGS
1406               C compiler flags for XAUTH, overriding pkg-config
1407   XAUTH_LIBS  linker flags for XAUTH, overriding pkg-config
1408   LINT        Path to a lint-style command
1409   LINT_FLAGS  Flags for the lint-style command
1410
1411 Use these variables to override the choices made by `configure' or to help
1412 it to find libraries and programs with nonstandard names/locations.
1413
1414 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1415 _ACEOF
1416 ac_status=$?
1417 fi
1418
1419 if test "$ac_init_help" = "recursive"; then
1420   # If there are subdirs, report their specific --help.
1421   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422     test -d "$ac_dir" ||
1423       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424       continue
1425     ac_builddir=.
1426
1427 case "$ac_dir" in
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429 *)
1430   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1431   # A ".." for each directory in $ac_dir_suffix.
1432   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433   case $ac_top_builddir_sub in
1434   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436   esac ;;
1437 esac
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1442
1443 case $srcdir in
1444   .)  # We are building in place.
1445     ac_srcdir=.
1446     ac_top_srcdir=$ac_top_builddir_sub
1447     ac_abs_top_srcdir=$ac_pwd ;;
1448   [\\/]* | ?:[\\/]* )  # Absolute name.
1449     ac_srcdir=$srcdir$ac_dir_suffix;
1450     ac_top_srcdir=$srcdir
1451     ac_abs_top_srcdir=$srcdir ;;
1452   *) # Relative name.
1453     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454     ac_top_srcdir=$ac_top_build_prefix$srcdir
1455     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456 esac
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458
1459     cd "$ac_dir" || { ac_status=$?; continue; }
1460     # Check for guested configure.
1461     if test -f "$ac_srcdir/configure.gnu"; then
1462       echo &&
1463       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464     elif test -f "$ac_srcdir/configure"; then
1465       echo &&
1466       $SHELL "$ac_srcdir/configure" --help=recursive
1467     else
1468       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469     fi || ac_status=$?
1470     cd "$ac_pwd" || { ac_status=$?; break; }
1471   done
1472 fi
1473
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1476   cat <<\_ACEOF
1477 xauth configure 1.0.5
1478 generated by GNU Autoconf 2.68
1479
1480 Copyright (C) 2010 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1483 _ACEOF
1484   exit
1485 fi
1486
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1490
1491 # ac_fn_c_try_compile LINENO
1492 # --------------------------
1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1494 ac_fn_c_try_compile ()
1495 {
1496   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497   rm -f conftest.$ac_objext
1498   if { { ac_try="$ac_compile"
1499 case "(($ac_try" in
1500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501   *) ac_try_echo=$ac_try;;
1502 esac
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505   (eval "$ac_compile") 2>conftest.err
1506   ac_status=$?
1507   if test -s conftest.err; then
1508     grep -v '^ *+' conftest.err >conftest.er1
1509     cat conftest.er1 >&5
1510     mv -f conftest.er1 conftest.err
1511   fi
1512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513   test $ac_status = 0; } && {
1514          test -z "$ac_c_werror_flag" ||
1515          test ! -s conftest.err
1516        } && test -s conftest.$ac_objext; then :
1517   ac_retval=0
1518 else
1519   $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1521
1522         ac_retval=1
1523 fi
1524   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525   as_fn_set_status $ac_retval
1526
1527 } # ac_fn_c_try_compile
1528
1529 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1530 # ---------------------------------------------
1531 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1532 # accordingly.
1533 ac_fn_c_check_decl ()
1534 {
1535   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536   as_decl_name=`echo $2|sed 's/ *(.*//'`
1537   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1539 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1540 if eval \${$3+:} false; then :
1541   $as_echo_n "(cached) " >&6
1542 else
1543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1544 /* end confdefs.h.  */
1545 $4
1546 int
1547 main ()
1548 {
1549 #ifndef $as_decl_name
1550 #ifdef __cplusplus
1551   (void) $as_decl_use;
1552 #else
1553   (void) $as_decl_name;
1554 #endif
1555 #endif
1556
1557   ;
1558   return 0;
1559 }
1560 _ACEOF
1561 if ac_fn_c_try_compile "$LINENO"; then :
1562   eval "$3=yes"
1563 else
1564   eval "$3=no"
1565 fi
1566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1567 fi
1568 eval ac_res=\$$3
1569                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1570 $as_echo "$ac_res" >&6; }
1571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572
1573 } # ac_fn_c_check_decl
1574
1575 # ac_fn_c_try_cpp LINENO
1576 # ----------------------
1577 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1578 ac_fn_c_try_cpp ()
1579 {
1580   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581   if { { ac_try="$ac_cpp conftest.$ac_ext"
1582 case "(($ac_try" in
1583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584   *) ac_try_echo=$ac_try;;
1585 esac
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589   ac_status=$?
1590   if test -s conftest.err; then
1591     grep -v '^ *+' conftest.err >conftest.er1
1592     cat conftest.er1 >&5
1593     mv -f conftest.er1 conftest.err
1594   fi
1595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596   test $ac_status = 0; } > conftest.i && {
1597          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1598          test ! -s conftest.err
1599        }; then :
1600   ac_retval=0
1601 else
1602   $as_echo "$as_me: failed program was:" >&5
1603 sed 's/^/| /' conftest.$ac_ext >&5
1604
1605     ac_retval=1
1606 fi
1607   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608   as_fn_set_status $ac_retval
1609
1610 } # ac_fn_c_try_cpp
1611
1612 # ac_fn_c_try_run LINENO
1613 # ----------------------
1614 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1615 # that executables *can* be run.
1616 ac_fn_c_try_run ()
1617 {
1618   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619   if { { ac_try="$ac_link"
1620 case "(($ac_try" in
1621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1622   *) ac_try_echo=$ac_try;;
1623 esac
1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1625 $as_echo "$ac_try_echo"; } >&5
1626   (eval "$ac_link") 2>&5
1627   ac_status=$?
1628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1630   { { case "(($ac_try" in
1631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632   *) ac_try_echo=$ac_try;;
1633 esac
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636   (eval "$ac_try") 2>&5
1637   ac_status=$?
1638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639   test $ac_status = 0; }; }; then :
1640   ac_retval=0
1641 else
1642   $as_echo "$as_me: program exited with status $ac_status" >&5
1643        $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1645
1646        ac_retval=$ac_status
1647 fi
1648   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650   as_fn_set_status $ac_retval
1651
1652 } # ac_fn_c_try_run
1653
1654 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1655 # -------------------------------------------------------
1656 # Tests whether HEADER exists and can be compiled using the include files in
1657 # INCLUDES, setting the cache variable VAR accordingly.
1658 ac_fn_c_check_header_compile ()
1659 {
1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1662 $as_echo_n "checking for $2... " >&6; }
1663 if eval \${$3+:} false; then :
1664   $as_echo_n "(cached) " >&6
1665 else
1666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1667 /* end confdefs.h.  */
1668 $4
1669 #include <$2>
1670 _ACEOF
1671 if ac_fn_c_try_compile "$LINENO"; then :
1672   eval "$3=yes"
1673 else
1674   eval "$3=no"
1675 fi
1676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677 fi
1678 eval ac_res=\$$3
1679                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680 $as_echo "$ac_res" >&6; }
1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
1683 } # ac_fn_c_check_header_compile
1684
1685 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1686 # -------------------------------------------------------
1687 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1688 # the include files in INCLUDES and setting the cache variable VAR
1689 # accordingly.
1690 ac_fn_c_check_header_mongrel ()
1691 {
1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693   if eval \${$3+:} false; then :
1694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if eval \${$3+:} false; then :
1697   $as_echo_n "(cached) " >&6
1698 fi
1699 eval ac_res=\$$3
1700                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701 $as_echo "$ac_res" >&6; }
1702 else
1703   # Is the header compilable?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1705 $as_echo_n "checking $2 usability... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h.  */
1708 $4
1709 #include <$2>
1710 _ACEOF
1711 if ac_fn_c_try_compile "$LINENO"; then :
1712   ac_header_compiler=yes
1713 else
1714   ac_header_compiler=no
1715 fi
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1718 $as_echo "$ac_header_compiler" >&6; }
1719
1720 # Is the header present?
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1722 $as_echo_n "checking $2 presence... " >&6; }
1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724 /* end confdefs.h.  */
1725 #include <$2>
1726 _ACEOF
1727 if ac_fn_c_try_cpp "$LINENO"; then :
1728   ac_header_preproc=yes
1729 else
1730   ac_header_preproc=no
1731 fi
1732 rm -f conftest.err conftest.i conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1734 $as_echo "$ac_header_preproc" >&6; }
1735
1736 # So?  What about this header?
1737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1738   yes:no: )
1739     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1740 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1741     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1743     ;;
1744   no:yes:* )
1745     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1746 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1747     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1748 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1749     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1750 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1751     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1752 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1753     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1754 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1755 ( $as_echo "## ---------------------------------------------------------------------- ##
1756 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1757 ## ---------------------------------------------------------------------- ##"
1758      ) | sed "s/^/$as_me: WARNING:     /" >&2
1759     ;;
1760 esac
1761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if eval \${$3+:} false; then :
1764   $as_echo_n "(cached) " >&6
1765 else
1766   eval "$3=\$ac_header_compiler"
1767 fi
1768 eval ac_res=\$$3
1769                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771 fi
1772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773
1774 } # ac_fn_c_check_header_mongrel
1775
1776 # ac_fn_c_try_link LINENO
1777 # -----------------------
1778 # Try to link conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_c_try_link ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   rm -f conftest.$ac_objext conftest$ac_exeext
1783   if { { ac_try="$ac_link"
1784 case "(($ac_try" in
1785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786   *) ac_try_echo=$ac_try;;
1787 esac
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790   (eval "$ac_link") 2>conftest.err
1791   ac_status=$?
1792   if test -s conftest.err; then
1793     grep -v '^ *+' conftest.err >conftest.er1
1794     cat conftest.er1 >&5
1795     mv -f conftest.er1 conftest.err
1796   fi
1797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798   test $ac_status = 0; } && {
1799          test -z "$ac_c_werror_flag" ||
1800          test ! -s conftest.err
1801        } && test -s conftest$ac_exeext && {
1802          test "$cross_compiling" = yes ||
1803          $as_test_x conftest$ac_exeext
1804        }; then :
1805   ac_retval=0
1806 else
1807   $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.$ac_ext >&5
1809
1810         ac_retval=1
1811 fi
1812   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814   # interfere with the next link command; also delete a directory that is
1815   # left behind by Apple's compiler.  We do this before executing the actions.
1816   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818   as_fn_set_status $ac_retval
1819
1820 } # ac_fn_c_try_link
1821
1822 # ac_fn_c_check_func LINENO FUNC VAR
1823 # ----------------------------------
1824 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1825 ac_fn_c_check_func ()
1826 {
1827   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if eval \${$3+:} false; then :
1831   $as_echo_n "(cached) " >&6
1832 else
1833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h.  */
1835 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1837 #define $2 innocuous_$2
1838
1839 /* System header to define __stub macros and hopefully few prototypes,
1840     which can conflict with char $2 (); below.
1841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1842     <limits.h> exists even on freestanding compilers.  */
1843
1844 #ifdef __STDC__
1845 # include <limits.h>
1846 #else
1847 # include <assert.h>
1848 #endif
1849
1850 #undef $2
1851
1852 /* Override any GCC internal prototype to avoid an error.
1853    Use char because int might match the return type of a GCC
1854    builtin and then its argument prototype would still apply.  */
1855 #ifdef __cplusplus
1856 extern "C"
1857 #endif
1858 char $2 ();
1859 /* The GNU C library defines this for functions which it implements
1860     to always fail with ENOSYS.  Some functions are actually named
1861     something starting with __ and the normal name is an alias.  */
1862 #if defined __stub_$2 || defined __stub___$2
1863 choke me
1864 #endif
1865
1866 int
1867 main ()
1868 {
1869 return $2 ();
1870   ;
1871   return 0;
1872 }
1873 _ACEOF
1874 if ac_fn_c_try_link "$LINENO"; then :
1875   eval "$3=yes"
1876 else
1877   eval "$3=no"
1878 fi
1879 rm -f core conftest.err conftest.$ac_objext \
1880     conftest$ac_exeext conftest.$ac_ext
1881 fi
1882 eval ac_res=\$$3
1883                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886
1887 } # ac_fn_c_check_func
1888
1889 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1890 # ----------------------------------------------------
1891 # Tries to find if the field MEMBER exists in type AGGR, after including
1892 # INCLUDES, setting cache variable VAR accordingly.
1893 ac_fn_c_check_member ()
1894 {
1895   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1897 $as_echo_n "checking for $2.$3... " >&6; }
1898 if eval \${$4+:} false; then :
1899   $as_echo_n "(cached) " >&6
1900 else
1901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902 /* end confdefs.h.  */
1903 $5
1904 int
1905 main ()
1906 {
1907 static $2 ac_aggr;
1908 if (ac_aggr.$3)
1909 return 0;
1910   ;
1911   return 0;
1912 }
1913 _ACEOF
1914 if ac_fn_c_try_compile "$LINENO"; then :
1915   eval "$4=yes"
1916 else
1917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h.  */
1919 $5
1920 int
1921 main ()
1922 {
1923 static $2 ac_aggr;
1924 if (sizeof ac_aggr.$3)
1925 return 0;
1926   ;
1927   return 0;
1928 }
1929 _ACEOF
1930 if ac_fn_c_try_compile "$LINENO"; then :
1931   eval "$4=yes"
1932 else
1933   eval "$4=no"
1934 fi
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 fi
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 fi
1939 eval ac_res=\$$4
1940                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943
1944 } # ac_fn_c_check_member
1945
1946 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1947 # -------------------------------------------
1948 # Tests whether TYPE exists after having included INCLUDES, setting cache
1949 # variable VAR accordingly.
1950 ac_fn_c_check_type ()
1951 {
1952   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if eval \${$3+:} false; then :
1956   $as_echo_n "(cached) " >&6
1957 else
1958   eval "$3=no"
1959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h.  */
1961 $4
1962 int
1963 main ()
1964 {
1965 if (sizeof ($2))
1966          return 0;
1967   ;
1968   return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_compile "$LINENO"; then :
1972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h.  */
1974 $4
1975 int
1976 main ()
1977 {
1978 if (sizeof (($2)))
1979             return 0;
1980   ;
1981   return 0;
1982 }
1983 _ACEOF
1984 if ac_fn_c_try_compile "$LINENO"; then :
1985
1986 else
1987   eval "$3=yes"
1988 fi
1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1990 fi
1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1992 fi
1993 eval ac_res=\$$3
1994                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997
1998 } # ac_fn_c_check_type
1999 cat >config.log <<_ACEOF
2000 This file contains any messages produced by compilers while
2001 running configure, to aid debugging if configure makes a mistake.
2002
2003 It was created by xauth $as_me 1.0.5, which was
2004 generated by GNU Autoconf 2.68.  Invocation command line was
2005
2006   $ $0 $@
2007
2008 _ACEOF
2009 exec 5>>config.log
2010 {
2011 cat <<_ASUNAME
2012 ## --------- ##
2013 ## Platform. ##
2014 ## --------- ##
2015
2016 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2017 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2018 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2019 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2020 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2021
2022 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2023 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2024
2025 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2026 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2027 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2028 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2029 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2030 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2031 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2032
2033 _ASUNAME
2034
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2037 do
2038   IFS=$as_save_IFS
2039   test -z "$as_dir" && as_dir=.
2040     $as_echo "PATH: $as_dir"
2041   done
2042 IFS=$as_save_IFS
2043
2044 } >&5
2045
2046 cat >&5 <<_ACEOF
2047
2048
2049 ## ----------- ##
2050 ## Core tests. ##
2051 ## ----------- ##
2052
2053 _ACEOF
2054
2055
2056 # Keep a trace of the command line.
2057 # Strip out --no-create and --no-recursion so they do not pile up.
2058 # Strip out --silent because we don't want to record it for future runs.
2059 # Also quote any args containing shell meta-characters.
2060 # Make two passes to allow for proper duplicate-argument suppression.
2061 ac_configure_args=
2062 ac_configure_args0=
2063 ac_configure_args1=
2064 ac_must_keep_next=false
2065 for ac_pass in 1 2
2066 do
2067   for ac_arg
2068   do
2069     case $ac_arg in
2070     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2071     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2072     | -silent | --silent | --silen | --sile | --sil)
2073       continue ;;
2074     *\'*)
2075       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2076     esac
2077     case $ac_pass in
2078     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2079     2)
2080       as_fn_append ac_configure_args1 " '$ac_arg'"
2081       if test $ac_must_keep_next = true; then
2082         ac_must_keep_next=false # Got value, back to normal.
2083       else
2084         case $ac_arg in
2085           *=* | --config-cache | -C | -disable-* | --disable-* \
2086           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2087           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2088           | -with-* | --with-* | -without-* | --without-* | --x)
2089             case "$ac_configure_args0 " in
2090               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2091             esac
2092             ;;
2093           -* ) ac_must_keep_next=true ;;
2094         esac
2095       fi
2096       as_fn_append ac_configure_args " '$ac_arg'"
2097       ;;
2098     esac
2099   done
2100 done
2101 { ac_configure_args0=; unset ac_configure_args0;}
2102 { ac_configure_args1=; unset ac_configure_args1;}
2103
2104 # When interrupted or exit'd, cleanup temporary files, and complete
2105 # config.log.  We remove comments because anyway the quotes in there
2106 # would cause problems or look ugly.
2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2109 trap 'exit_status=$?
2110   # Save into config.log some information that might help in debugging.
2111   {
2112     echo
2113
2114     $as_echo "## ---------------- ##
2115 ## Cache variables. ##
2116 ## ---------------- ##"
2117     echo
2118     # The following way of writing the cache mishandles newlines in values,
2119 (
2120   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2121     eval ac_val=\$$ac_var
2122     case $ac_val in #(
2123     *${as_nl}*)
2124       case $ac_var in #(
2125       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2127       esac
2128       case $ac_var in #(
2129       _ | IFS | as_nl) ;; #(
2130       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2131       *) { eval $ac_var=; unset $ac_var;} ;;
2132       esac ;;
2133     esac
2134   done
2135   (set) 2>&1 |
2136     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2137     *${as_nl}ac_space=\ *)
2138       sed -n \
2139         "s/'\''/'\''\\\\'\'''\''/g;
2140           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2141       ;; #(
2142     *)
2143       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2144       ;;
2145     esac |
2146     sort
2147 )
2148     echo
2149
2150     $as_echo "## ----------------- ##
2151 ## Output variables. ##
2152 ## ----------------- ##"
2153     echo
2154     for ac_var in $ac_subst_vars
2155     do
2156       eval ac_val=\$$ac_var
2157       case $ac_val in
2158       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2159       esac
2160       $as_echo "$ac_var='\''$ac_val'\''"
2161     done | sort
2162     echo
2163
2164     if test -n "$ac_subst_files"; then
2165       $as_echo "## ------------------- ##
2166 ## File substitutions. ##
2167 ## ------------------- ##"
2168       echo
2169       for ac_var in $ac_subst_files
2170       do
2171         eval ac_val=\$$ac_var
2172         case $ac_val in
2173         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2174         esac
2175         $as_echo "$ac_var='\''$ac_val'\''"
2176       done | sort
2177       echo
2178     fi
2179
2180     if test -s confdefs.h; then
2181       $as_echo "## ----------- ##
2182 ## confdefs.h. ##
2183 ## ----------- ##"
2184       echo
2185       cat confdefs.h
2186       echo
2187     fi
2188     test "$ac_signal" != 0 &&
2189       $as_echo "$as_me: caught signal $ac_signal"
2190     $as_echo "$as_me: exit $exit_status"
2191   } >&5
2192   rm -f core *.core core.conftest.* &&
2193     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2194     exit $exit_status
2195 ' 0
2196 for ac_signal in 1 2 13 15; do
2197   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2198 done
2199 ac_signal=0
2200
2201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2202 rm -f -r conftest* confdefs.h
2203
2204 $as_echo "/* confdefs.h */" > confdefs.h
2205
2206 # Predefined preprocessor variables.
2207
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_NAME "$PACKAGE_NAME"
2210 _ACEOF
2211
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2214 _ACEOF
2215
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2218 _ACEOF
2219
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_STRING "$PACKAGE_STRING"
2222 _ACEOF
2223
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2226 _ACEOF
2227
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_URL "$PACKAGE_URL"
2230 _ACEOF
2231
2232
2233 # Let the site file select an alternate cache file if it wants to.
2234 # Prefer an explicitly selected file to automatically selected ones.
2235 ac_site_file1=NONE
2236 ac_site_file2=NONE
2237 if test -n "$CONFIG_SITE"; then
2238   # We do not want a PATH search for config.site.
2239   case $CONFIG_SITE in #((
2240     -*)  ac_site_file1=./$CONFIG_SITE;;
2241     */*) ac_site_file1=$CONFIG_SITE;;
2242     *)   ac_site_file1=./$CONFIG_SITE;;
2243   esac
2244 elif test "x$prefix" != xNONE; then
2245   ac_site_file1=$prefix/share/config.site
2246   ac_site_file2=$prefix/etc/config.site
2247 else
2248   ac_site_file1=$ac_default_prefix/share/config.site
2249   ac_site_file2=$ac_default_prefix/etc/config.site
2250 fi
2251 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2252 do
2253   test "x$ac_site_file" = xNONE && continue
2254   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2255     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2256 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2257     sed 's/^/| /' "$ac_site_file" >&5
2258     . "$ac_site_file" \
2259       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2261 as_fn_error $? "failed to load site script $ac_site_file
2262 See \`config.log' for more details" "$LINENO" 5; }
2263   fi
2264 done
2265
2266 if test -r "$cache_file"; then
2267   # Some versions of bash will fail to source /dev/null (special files
2268   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2269   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2270     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2271 $as_echo "$as_me: loading cache $cache_file" >&6;}
2272     case $cache_file in
2273       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2274       *)                      . "./$cache_file";;
2275     esac
2276   fi
2277 else
2278   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2279 $as_echo "$as_me: creating cache $cache_file" >&6;}
2280   >$cache_file
2281 fi
2282
2283 # Check that the precious variables saved in the cache have kept the same
2284 # value.
2285 ac_cache_corrupted=false
2286 for ac_var in $ac_precious_vars; do
2287   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2288   eval ac_new_set=\$ac_env_${ac_var}_set
2289   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2290   eval ac_new_val=\$ac_env_${ac_var}_value
2291   case $ac_old_set,$ac_new_set in
2292     set,)
2293       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2294 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2295       ac_cache_corrupted=: ;;
2296     ,set)
2297       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2298 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2299       ac_cache_corrupted=: ;;
2300     ,);;
2301     *)
2302       if test "x$ac_old_val" != "x$ac_new_val"; then
2303         # differences in whitespace do not lead to failure.
2304         ac_old_val_w=`echo x $ac_old_val`
2305         ac_new_val_w=`echo x $ac_new_val`
2306         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2307           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2308 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2309           ac_cache_corrupted=:
2310         else
2311           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2312 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2313           eval $ac_var=\$ac_old_val
2314         fi
2315         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2316 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2317         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2318 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2319       fi;;
2320   esac
2321   # Pass precious variables to config.status.
2322   if test "$ac_new_set" = set; then
2323     case $ac_new_val in
2324     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2325     *) ac_arg=$ac_var=$ac_new_val ;;
2326     esac
2327     case " $ac_configure_args " in
2328       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2329       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2330     esac
2331   fi
2332 done
2333 if $ac_cache_corrupted; then
2334   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2336   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2337 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2338   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2339 fi
2340 ## -------------------- ##
2341 ## Main body of script. ##
2342 ## -------------------- ##
2343
2344 ac_ext=c
2345 ac_cpp='$CPP $CPPFLAGS'
2346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2349
2350
2351 am__api_version='1.11'
2352
2353 ac_aux_dir=
2354 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2355   if test -f "$ac_dir/install-sh"; then
2356     ac_aux_dir=$ac_dir
2357     ac_install_sh="$ac_aux_dir/install-sh -c"
2358     break
2359   elif test -f "$ac_dir/install.sh"; then
2360     ac_aux_dir=$ac_dir
2361     ac_install_sh="$ac_aux_dir/install.sh -c"
2362     break
2363   elif test -f "$ac_dir/shtool"; then
2364     ac_aux_dir=$ac_dir
2365     ac_install_sh="$ac_aux_dir/shtool install -c"
2366     break
2367   fi
2368 done
2369 if test -z "$ac_aux_dir"; then
2370   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2371 fi
2372
2373 # These three variables are undocumented and unsupported,
2374 # and are intended to be withdrawn in a future Autoconf release.
2375 # They can cause serious problems if a builder's source tree is in a directory
2376 # whose full name contains unusual characters.
2377 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2378 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2379 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2380
2381
2382 # Find a good install program.  We prefer a C program (faster),
2383 # so one script is as good as another.  But avoid the broken or
2384 # incompatible versions:
2385 # SysV /etc/install, /usr/sbin/install
2386 # SunOS /usr/etc/install
2387 # IRIX /sbin/install
2388 # AIX /bin/install
2389 # AmigaOS /C/install, which installs bootblocks on floppy discs
2390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2393 # OS/2's system install, which has a completely different semantic
2394 # ./install, which can be erroneously created by make from ./install.sh.
2395 # Reject install programs that cannot install multiple files.
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2397 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2398 if test -z "$INSTALL"; then
2399 if ${ac_cv_path_install+:} false; then :
2400   $as_echo_n "(cached) " >&6
2401 else
2402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2404 do
2405   IFS=$as_save_IFS
2406   test -z "$as_dir" && as_dir=.
2407     # Account for people who put trailing slashes in PATH elements.
2408 case $as_dir/ in #((
2409   ./ | .// | /[cC]/* | \
2410   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2411   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2412   /usr/ucb/* ) ;;
2413   *)
2414     # OSF1 and SCO ODT 3.0 have their own names for install.
2415     # Don't use installbsd from OSF since it installs stuff as root
2416     # by default.
2417     for ac_prog in ginstall scoinst install; do
2418       for ac_exec_ext in '' $ac_executable_extensions; do
2419         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2420           if test $ac_prog = install &&
2421             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2422             # AIX install.  It has an incompatible calling convention.
2423             :
2424           elif test $ac_prog = install &&
2425             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2426             # program-specific install script used by HP pwplus--don't use.
2427             :
2428           else
2429             rm -rf conftest.one conftest.two conftest.dir
2430             echo one > conftest.one
2431             echo two > conftest.two
2432             mkdir conftest.dir
2433             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2434               test -s conftest.one && test -s conftest.two &&
2435               test -s conftest.dir/conftest.one &&
2436               test -s conftest.dir/conftest.two
2437             then
2438               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2439               break 3
2440             fi
2441           fi
2442         fi
2443       done
2444     done
2445     ;;
2446 esac
2447
2448   done
2449 IFS=$as_save_IFS
2450
2451 rm -rf conftest.one conftest.two conftest.dir
2452
2453 fi
2454   if test "${ac_cv_path_install+set}" = set; then
2455     INSTALL=$ac_cv_path_install
2456   else
2457     # As a last resort, use the slow shell script.  Don't cache a
2458     # value for INSTALL within a source directory, because that will
2459     # break other packages using the cache if that directory is
2460     # removed, or if the value is a relative name.
2461     INSTALL=$ac_install_sh
2462   fi
2463 fi
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2465 $as_echo "$INSTALL" >&6; }
2466
2467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2468 # It thinks the first close brace ends the variable substitution.
2469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2470
2471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2472
2473 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2474
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2476 $as_echo_n "checking whether build environment is sane... " >&6; }
2477 # Just in case
2478 sleep 1
2479 echo timestamp > conftest.file
2480 # Reject unsafe characters in $srcdir or the absolute working directory
2481 # name.  Accept space and tab only in the latter.
2482 am_lf='
2483 '
2484 case `pwd` in
2485   *[\\\"\#\$\&\'\`$am_lf]*)
2486     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2487 esac
2488 case $srcdir in
2489   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2490     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2491 esac
2492
2493 # Do `set' in a subshell so we don't clobber the current shell's
2494 # arguments.  Must try -L first in case configure is actually a
2495 # symlink; some systems play weird games with the mod time of symlinks
2496 # (eg FreeBSD returns the mod time of the symlink's containing
2497 # directory).
2498 if (
2499    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2500    if test "$*" = "X"; then
2501       # -L didn't work.
2502       set X `ls -t "$srcdir/configure" conftest.file`
2503    fi
2504    rm -f conftest.file
2505    if test "$*" != "X $srcdir/configure conftest.file" \
2506       && test "$*" != "X conftest.file $srcdir/configure"; then
2507
2508       # If neither matched, then we have a broken ls.  This can happen
2509       # if, for instance, CONFIG_SHELL is bash and it inherits a
2510       # broken ls alias from the environment.  This has actually
2511       # happened.  Such a system could not be considered "sane".
2512       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2513 alias in your environment" "$LINENO" 5
2514    fi
2515
2516    test "$2" = conftest.file
2517    )
2518 then
2519    # Ok.
2520    :
2521 else
2522    as_fn_error $? "newly created file is older than distributed files!
2523 Check your system clock" "$LINENO" 5
2524 fi
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2526 $as_echo "yes" >&6; }
2527 test "$program_prefix" != NONE &&
2528   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2529 # Use a double $ so make ignores it.
2530 test "$program_suffix" != NONE &&
2531   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2532 # Double any \ or $.
2533 # By default was `s,x,x', remove it if useless.
2534 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2535 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2536
2537 # expand $ac_aux_dir to an absolute path
2538 am_aux_dir=`cd $ac_aux_dir && pwd`
2539
2540 if test x"${MISSING+set}" != xset; then
2541   case $am_aux_dir in
2542   *\ * | *\     *)
2543     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2544   *)
2545     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2546   esac
2547 fi
2548 # Use eval to expand $SHELL
2549 if eval "$MISSING --run true"; then
2550   am_missing_run="$MISSING --run "
2551 else
2552   am_missing_run=
2553   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2554 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2555 fi
2556
2557 if test x"${install_sh}" != xset; then
2558   case $am_aux_dir in
2559   *\ * | *\     *)
2560     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2561   *)
2562     install_sh="\${SHELL} $am_aux_dir/install-sh"
2563   esac
2564 fi
2565
2566 # Installed binaries are usually stripped using `strip' when the user
2567 # run `make install-strip'.  However `strip' might not be the right
2568 # tool to use in cross-compilation environments, therefore Automake
2569 # will honor the `STRIP' environment variable to overrule this program.
2570 if test "$cross_compiling" != no; then
2571   if test -n "$ac_tool_prefix"; then
2572   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2573 set dummy ${ac_tool_prefix}strip; ac_word=$2
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575 $as_echo_n "checking for $ac_word... " >&6; }
2576 if ${ac_cv_prog_STRIP+:} false; then :
2577   $as_echo_n "(cached) " >&6
2578 else
2579   if test -n "$STRIP"; then
2580   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2581 else
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 for as_dir in $PATH
2584 do
2585   IFS=$as_save_IFS
2586   test -z "$as_dir" && as_dir=.
2587     for ac_exec_ext in '' $ac_executable_extensions; do
2588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591     break 2
2592   fi
2593 done
2594   done
2595 IFS=$as_save_IFS
2596
2597 fi
2598 fi
2599 STRIP=$ac_cv_prog_STRIP
2600 if test -n "$STRIP"; then
2601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2602 $as_echo "$STRIP" >&6; }
2603 else
2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605 $as_echo "no" >&6; }
2606 fi
2607
2608
2609 fi
2610 if test -z "$ac_cv_prog_STRIP"; then
2611   ac_ct_STRIP=$STRIP
2612   # Extract the first word of "strip", so it can be a program name with args.
2613 set dummy strip; ac_word=$2
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2615 $as_echo_n "checking for $ac_word... " >&6; }
2616 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2617   $as_echo_n "(cached) " >&6
2618 else
2619   if test -n "$ac_ct_STRIP"; then
2620   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2621 else
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 for as_dir in $PATH
2624 do
2625   IFS=$as_save_IFS
2626   test -z "$as_dir" && as_dir=.
2627     for ac_exec_ext in '' $ac_executable_extensions; do
2628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2629     ac_cv_prog_ac_ct_STRIP="strip"
2630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2631     break 2
2632   fi
2633 done
2634   done
2635 IFS=$as_save_IFS
2636
2637 fi
2638 fi
2639 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2640 if test -n "$ac_ct_STRIP"; then
2641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2642 $as_echo "$ac_ct_STRIP" >&6; }
2643 else
2644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2645 $as_echo "no" >&6; }
2646 fi
2647
2648   if test "x$ac_ct_STRIP" = x; then
2649     STRIP=":"
2650   else
2651     case $cross_compiling:$ac_tool_warned in
2652 yes:)
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2655 ac_tool_warned=yes ;;
2656 esac
2657     STRIP=$ac_ct_STRIP
2658   fi
2659 else
2660   STRIP="$ac_cv_prog_STRIP"
2661 fi
2662
2663 fi
2664 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2665
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2667 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2668 if test -z "$MKDIR_P"; then
2669   if ${ac_cv_path_mkdir+:} false; then :
2670   $as_echo_n "(cached) " >&6
2671 else
2672   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2674 do
2675   IFS=$as_save_IFS
2676   test -z "$as_dir" && as_dir=.
2677     for ac_prog in mkdir gmkdir; do
2678          for ac_exec_ext in '' $ac_executable_extensions; do
2679            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2680            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2681              'mkdir (GNU coreutils) '* | \
2682              'mkdir (coreutils) '* | \
2683              'mkdir (fileutils) '4.1*)
2684                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2685                break 3;;
2686            esac
2687          done
2688        done
2689   done
2690 IFS=$as_save_IFS
2691
2692 fi
2693
2694   test -d ./--version && rmdir ./--version
2695   if test "${ac_cv_path_mkdir+set}" = set; then
2696     MKDIR_P="$ac_cv_path_mkdir -p"
2697   else
2698     # As a last resort, use the slow shell script.  Don't cache a
2699     # value for MKDIR_P within a source directory, because that will
2700     # break other packages using the cache if that directory is
2701     # removed, or if the value is a relative name.
2702     MKDIR_P="$ac_install_sh -d"
2703   fi
2704 fi
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2706 $as_echo "$MKDIR_P" >&6; }
2707
2708 mkdir_p="$MKDIR_P"
2709 case $mkdir_p in
2710   [\\/$]* | ?:[\\/]*) ;;
2711   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2712 esac
2713
2714 for ac_prog in gawk mawk nawk awk
2715 do
2716   # Extract the first word of "$ac_prog", so it can be a program name with args.
2717 set dummy $ac_prog; ac_word=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_AWK+:} false; then :
2721   $as_echo_n "(cached) " >&6
2722 else
2723   if test -n "$AWK"; then
2724   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2725 else
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727 for as_dir in $PATH
2728 do
2729   IFS=$as_save_IFS
2730   test -z "$as_dir" && as_dir=.
2731     for ac_exec_ext in '' $ac_executable_extensions; do
2732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733     ac_cv_prog_AWK="$ac_prog"
2734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735     break 2
2736   fi
2737 done
2738   done
2739 IFS=$as_save_IFS
2740
2741 fi
2742 fi
2743 AWK=$ac_cv_prog_AWK
2744 if test -n "$AWK"; then
2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2746 $as_echo "$AWK" >&6; }
2747 else
2748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2750 fi
2751
2752
2753   test -n "$AWK" && break
2754 done
2755
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2757 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2758 set x ${MAKE-make}
2759 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2760 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2761   $as_echo_n "(cached) " >&6
2762 else
2763   cat >conftest.make <<\_ACEOF
2764 SHELL = /bin/sh
2765 all:
2766         @echo '@@@%%%=$(MAKE)=@@@%%%'
2767 _ACEOF
2768 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2769 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2770   *@@@%%%=?*=@@@%%%*)
2771     eval ac_cv_prog_make_${ac_make}_set=yes;;
2772   *)
2773     eval ac_cv_prog_make_${ac_make}_set=no;;
2774 esac
2775 rm -f conftest.make
2776 fi
2777 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2779 $as_echo "yes" >&6; }
2780   SET_MAKE=
2781 else
2782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784   SET_MAKE="MAKE=${MAKE-make}"
2785 fi
2786
2787 rm -rf .tst 2>/dev/null
2788 mkdir .tst 2>/dev/null
2789 if test -d .tst; then
2790   am__leading_dot=.
2791 else
2792   am__leading_dot=_
2793 fi
2794 rmdir .tst 2>/dev/null
2795
2796 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2797   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2798   # is not polluted with repeated "-I."
2799   am__isrc=' -I$(srcdir)'
2800   # test to see if srcdir already configured
2801   if test -f $srcdir/config.status; then
2802     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2803   fi
2804 fi
2805
2806 # test whether we have cygpath
2807 if test -z "$CYGPATH_W"; then
2808   if (cygpath --version) >/dev/null 2>/dev/null; then
2809     CYGPATH_W='cygpath -w'
2810   else
2811     CYGPATH_W=echo
2812   fi
2813 fi
2814
2815
2816 # Define the identity of the package.
2817  PACKAGE='xauth'
2818  VERSION='1.0.5'
2819
2820
2821 cat >>confdefs.h <<_ACEOF
2822 #define PACKAGE "$PACKAGE"
2823 _ACEOF
2824
2825
2826 cat >>confdefs.h <<_ACEOF
2827 #define VERSION "$VERSION"
2828 _ACEOF
2829
2830 # Some tools Automake needs.
2831
2832 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2833
2834
2835 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2836
2837
2838 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2839
2840
2841 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2842
2843
2844 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2845
2846 # We need awk for the "check" target.  The system "awk" is bad on
2847 # some platforms.
2848 # Always define AMTAR for backward compatibility.
2849
2850 AMTAR=${AMTAR-"${am_missing_run}tar"}
2851
2852 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2853
2854
2855
2856
2857
2858
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2861     # Check whether --enable-maintainer-mode was given.
2862 if test "${enable_maintainer_mode+set}" = set; then :
2863   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2864 else
2865   USE_MAINTAINER_MODE=no
2866 fi
2867
2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2870    if test $USE_MAINTAINER_MODE = yes; then
2871   MAINTAINER_MODE_TRUE=
2872   MAINTAINER_MODE_FALSE='#'
2873 else
2874   MAINTAINER_MODE_TRUE='#'
2875   MAINTAINER_MODE_FALSE=
2876 fi
2877
2878   MAINT=$MAINTAINER_MODE_TRUE
2879
2880
2881
2882 ac_config_headers="$ac_config_headers config.h"
2883
2884
2885 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897 DEPDIR="${am__leading_dot}deps"
2898
2899 ac_config_commands="$ac_config_commands depfiles"
2900
2901
2902 am_make=${MAKE-make}
2903 cat > confinc << 'END'
2904 am__doit:
2905         @echo this is the am__doit target
2906 .PHONY: am__doit
2907 END
2908 # If we don't find an include directive, just comment out the code.
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2910 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2911 am__include="#"
2912 am__quote=
2913 _am_result=none
2914 # First try GNU make style include.
2915 echo "include confinc" > confmf
2916 # Ignore all kinds of additional output from `make'.
2917 case `$am_make -s -f confmf 2> /dev/null` in #(
2918 *the\ am__doit\ target*)
2919   am__include=include
2920   am__quote=
2921   _am_result=GNU
2922   ;;
2923 esac
2924 # Now try BSD make style include.
2925 if test "$am__include" = "#"; then
2926    echo '.include "confinc"' > confmf
2927    case `$am_make -s -f confmf 2> /dev/null` in #(
2928    *the\ am__doit\ target*)
2929      am__include=.include
2930      am__quote="\""
2931      _am_result=BSD
2932      ;;
2933    esac
2934 fi
2935
2936
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2938 $as_echo "$_am_result" >&6; }
2939 rm -f confinc confmf
2940
2941 # Check whether --enable-dependency-tracking was given.
2942 if test "${enable_dependency_tracking+set}" = set; then :
2943   enableval=$enable_dependency_tracking;
2944 fi
2945
2946 if test "x$enable_dependency_tracking" != xno; then
2947   am_depcomp="$ac_aux_dir/depcomp"
2948   AMDEPBACKSLASH='\'
2949 fi
2950  if test "x$enable_dependency_tracking" != xno; then
2951   AMDEP_TRUE=
2952   AMDEP_FALSE='#'
2953 else
2954   AMDEP_TRUE='#'
2955   AMDEP_FALSE=
2956 fi
2957
2958
2959 ac_ext=c
2960 ac_cpp='$CPP $CPPFLAGS'
2961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964 if test -n "$ac_tool_prefix"; then
2965   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2966 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if ${ac_cv_prog_CC+:} false; then :
2970   $as_echo_n "(cached) " >&6
2971 else
2972   if test -n "$CC"; then
2973   ac_cv_prog_CC="$CC" # Let the user override the test.
2974 else
2975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 for as_dir in $PATH
2977 do
2978   IFS=$as_save_IFS
2979   test -z "$as_dir" && as_dir=.
2980     for ac_exec_ext in '' $ac_executable_extensions; do
2981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984     break 2
2985   fi
2986 done
2987   done
2988 IFS=$as_save_IFS
2989
2990 fi
2991 fi
2992 CC=$ac_cv_prog_CC
2993 if test -n "$CC"; then
2994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2995 $as_echo "$CC" >&6; }
2996 else
2997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
2999 fi
3000
3001
3002 fi
3003 if test -z "$ac_cv_prog_CC"; then
3004   ac_ct_CC=$CC
3005   # Extract the first word of "gcc", so it can be a program name with args.
3006 set dummy gcc; ac_word=$2
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3008 $as_echo_n "checking for $ac_word... " >&6; }
3009 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3010   $as_echo_n "(cached) " >&6
3011 else
3012   if test -n "$ac_ct_CC"; then
3013   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3014 else
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3016 for as_dir in $PATH
3017 do
3018   IFS=$as_save_IFS
3019   test -z "$as_dir" && as_dir=.
3020     for ac_exec_ext in '' $ac_executable_extensions; do
3021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3022     ac_cv_prog_ac_ct_CC="gcc"
3023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024     break 2
3025   fi
3026 done
3027   done
3028 IFS=$as_save_IFS
3029
3030 fi
3031 fi
3032 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3033 if test -n "$ac_ct_CC"; then
3034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3035 $as_echo "$ac_ct_CC" >&6; }
3036 else
3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3039 fi
3040
3041   if test "x$ac_ct_CC" = x; then
3042     CC=""
3043   else
3044     case $cross_compiling:$ac_tool_warned in
3045 yes:)
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3048 ac_tool_warned=yes ;;
3049 esac
3050     CC=$ac_ct_CC
3051   fi
3052 else
3053   CC="$ac_cv_prog_CC"
3054 fi
3055
3056 if test -z "$CC"; then
3057           if test -n "$ac_tool_prefix"; then
3058     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3059 set dummy ${ac_tool_prefix}cc; ac_word=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if ${ac_cv_prog_CC+:} false; then :
3063   $as_echo_n "(cached) " >&6
3064 else
3065   if test -n "$CC"; then
3066   ac_cv_prog_CC="$CC" # Let the user override the test.
3067 else
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 for as_dir in $PATH
3070 do
3071   IFS=$as_save_IFS
3072   test -z "$as_dir" && as_dir=.
3073     for ac_exec_ext in '' $ac_executable_extensions; do
3074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3075     ac_cv_prog_CC="${ac_tool_prefix}cc"
3076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3077     break 2
3078   fi
3079 done
3080   done
3081 IFS=$as_save_IFS
3082
3083 fi
3084 fi
3085 CC=$ac_cv_prog_CC
3086 if test -n "$CC"; then
3087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3088 $as_echo "$CC" >&6; }
3089 else
3090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3092 fi
3093
3094
3095   fi
3096 fi
3097 if test -z "$CC"; then
3098   # Extract the first word of "cc", so it can be a program name with args.
3099 set dummy cc; ac_word=$2
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 $as_echo_n "checking for $ac_word... " >&6; }
3102 if ${ac_cv_prog_CC+:} false; then :
3103   $as_echo_n "(cached) " >&6
3104 else
3105   if test -n "$CC"; then
3106   ac_cv_prog_CC="$CC" # Let the user override the test.
3107 else
3108   ac_prog_rejected=no
3109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110 for as_dir in $PATH
3111 do
3112   IFS=$as_save_IFS
3113   test -z "$as_dir" && as_dir=.
3114     for ac_exec_ext in '' $ac_executable_extensions; do
3115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3116     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3117        ac_prog_rejected=yes
3118        continue
3119      fi
3120     ac_cv_prog_CC="cc"
3121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122     break 2
3123   fi
3124 done
3125   done
3126 IFS=$as_save_IFS
3127
3128 if test $ac_prog_rejected = yes; then
3129   # We found a bogon in the path, so make sure we never use it.
3130   set dummy $ac_cv_prog_CC
3131   shift
3132   if test $# != 0; then
3133     # We chose a different compiler from the bogus one.
3134     # However, it has the same basename, so the bogon will be chosen
3135     # first if we set CC to just the basename; use the full file name.
3136     shift
3137     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3138   fi
3139 fi
3140 fi
3141 fi
3142 CC=$ac_cv_prog_CC
3143 if test -n "$CC"; then
3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3145 $as_echo "$CC" >&6; }
3146 else
3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3149 fi
3150
3151
3152 fi
3153 if test -z "$CC"; then
3154   if test -n "$ac_tool_prefix"; then
3155   for ac_prog in cl.exe
3156   do
3157     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_CC+:} false; then :
3162   $as_echo_n "(cached) " >&6
3163 else
3164   if test -n "$CC"; then
3165   ac_cv_prog_CC="$CC" # Let the user override the test.
3166 else
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 for as_dir in $PATH
3169 do
3170   IFS=$as_save_IFS
3171   test -z "$as_dir" && as_dir=.
3172     for ac_exec_ext in '' $ac_executable_extensions; do
3173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3174     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176     break 2
3177   fi
3178 done
3179   done
3180 IFS=$as_save_IFS
3181
3182 fi
3183 fi
3184 CC=$ac_cv_prog_CC
3185 if test -n "$CC"; then
3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3187 $as_echo "$CC" >&6; }
3188 else
3189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 fi
3192
3193
3194     test -n "$CC" && break
3195   done
3196 fi
3197 if test -z "$CC"; then
3198   ac_ct_CC=$CC
3199   for ac_prog in cl.exe
3200 do
3201   # Extract the first word of "$ac_prog", so it can be a program name with args.
3202 set dummy $ac_prog; ac_word=$2
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3204 $as_echo_n "checking for $ac_word... " >&6; }
3205 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3206   $as_echo_n "(cached) " >&6
3207 else
3208   if test -n "$ac_ct_CC"; then
3209   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3210 else
3211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 for as_dir in $PATH
3213 do
3214   IFS=$as_save_IFS
3215   test -z "$as_dir" && as_dir=.
3216     for ac_exec_ext in '' $ac_executable_extensions; do
3217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3218     ac_cv_prog_ac_ct_CC="$ac_prog"
3219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220     break 2
3221   fi
3222 done
3223   done
3224 IFS=$as_save_IFS
3225
3226 fi
3227 fi
3228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3229 if test -n "$ac_ct_CC"; then
3230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3231 $as_echo "$ac_ct_CC" >&6; }
3232 else
3233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3235 fi
3236
3237
3238   test -n "$ac_ct_CC" && break
3239 done
3240
3241   if test "x$ac_ct_CC" = x; then
3242     CC=""
3243   else
3244     case $cross_compiling:$ac_tool_warned in
3245 yes:)
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3248 ac_tool_warned=yes ;;
3249 esac
3250     CC=$ac_ct_CC
3251   fi
3252 fi
3253
3254 fi
3255
3256
3257 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3259 as_fn_error $? "no acceptable C compiler found in \$PATH
3260 See \`config.log' for more details" "$LINENO" 5; }
3261
3262 # Provide some information about the compiler.
3263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3264 set X $ac_compile
3265 ac_compiler=$2
3266 for ac_option in --version -v -V -qversion; do
3267   { { ac_try="$ac_compiler $ac_option >&5"
3268 case "(($ac_try" in
3269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270   *) ac_try_echo=$ac_try;;
3271 esac
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3275   ac_status=$?
3276   if test -s conftest.err; then
3277     sed '10a\
3278 ... rest of stderr output deleted ...
3279          10q' conftest.err >conftest.er1
3280     cat conftest.er1 >&5
3281   fi
3282   rm -f conftest.er1 conftest.err
3283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3284   test $ac_status = 0; }
3285 done
3286
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h.  */
3289
3290 int
3291 main ()
3292 {
3293
3294   ;
3295   return 0;
3296 }
3297 _ACEOF
3298 ac_clean_files_save=$ac_clean_files
3299 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3300 # Try to create an executable without -o first, disregard a.out.
3301 # It will help us diagnose broken compilers, and finding out an intuition
3302 # of exeext.
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3304 $as_echo_n "checking whether the C compiler works... " >&6; }
3305 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3306
3307 # The possible output files:
3308 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3309
3310 ac_rmfiles=
3311 for ac_file in $ac_files
3312 do
3313   case $ac_file in
3314     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3315     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3316   esac
3317 done
3318 rm -f $ac_rmfiles
3319
3320 if { { ac_try="$ac_link_default"
3321 case "(($ac_try" in
3322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323   *) ac_try_echo=$ac_try;;
3324 esac
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327   (eval "$ac_link_default") 2>&5
3328   ac_status=$?
3329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330   test $ac_status = 0; }; then :
3331   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3332 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3333 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3334 # so that the user can short-circuit this test for compilers unknown to
3335 # Autoconf.
3336 for ac_file in $ac_files ''
3337 do
3338   test -f "$ac_file" || continue
3339   case $ac_file in
3340     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3341         ;;
3342     [ab].out )
3343         # We found the default executable, but exeext='' is most
3344         # certainly right.
3345         break;;
3346     *.* )
3347         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3348         then :; else
3349            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3350         fi
3351         # We set ac_cv_exeext here because the later test for it is not
3352         # safe: cross compilers may not add the suffix if given an `-o'
3353         # argument, so we may need to know it at that point already.
3354         # Even if this section looks crufty: it has the advantage of
3355         # actually working.
3356         break;;
3357     * )
3358         break;;
3359   esac
3360 done
3361 test "$ac_cv_exeext" = no && ac_cv_exeext=
3362
3363 else
3364   ac_file=''
3365 fi
3366 if test -z "$ac_file"; then :
3367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3369 $as_echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3371
3372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3374 as_fn_error 77 "C compiler cannot create executables
3375 See \`config.log' for more details" "$LINENO" 5; }
3376 else
3377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3378 $as_echo "yes" >&6; }
3379 fi
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3381 $as_echo_n "checking for C compiler default output file name... " >&6; }
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3383 $as_echo "$ac_file" >&6; }
3384 ac_exeext=$ac_cv_exeext
3385
3386 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3387 ac_clean_files=$ac_clean_files_save
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3389 $as_echo_n "checking for suffix of executables... " >&6; }
3390 if { { ac_try="$ac_link"
3391 case "(($ac_try" in
3392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393   *) ac_try_echo=$ac_try;;
3394 esac
3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396 $as_echo "$ac_try_echo"; } >&5
3397   (eval "$ac_link") 2>&5
3398   ac_status=$?
3399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400   test $ac_status = 0; }; then :
3401   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3402 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3403 # work properly (i.e., refer to `conftest.exe'), while it won't with
3404 # `rm'.
3405 for ac_file in conftest.exe conftest conftest.*; do
3406   test -f "$ac_file" || continue
3407   case $ac_file in
3408     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3409     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3410           break;;
3411     * ) break;;
3412   esac
3413 done
3414 else
3415   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3417 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3418 See \`config.log' for more details" "$LINENO" 5; }
3419 fi
3420 rm -f conftest conftest$ac_cv_exeext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3422 $as_echo "$ac_cv_exeext" >&6; }
3423
3424 rm -f conftest.$ac_ext
3425 EXEEXT=$ac_cv_exeext
3426 ac_exeext=$EXEEXT
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h.  */
3429 #include <stdio.h>
3430 int
3431 main ()
3432 {
3433 FILE *f = fopen ("conftest.out", "w");
3434  return ferror (f) || fclose (f) != 0;
3435
3436   ;
3437   return 0;
3438 }
3439 _ACEOF
3440 ac_clean_files="$ac_clean_files conftest.out"
3441 # Check that the compiler produces executables we can run.  If not, either
3442 # the compiler is broken, or we cross compile.
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3444 $as_echo_n "checking whether we are cross compiling... " >&6; }
3445 if test "$cross_compiling" != yes; then
3446   { { ac_try="$ac_link"
3447 case "(($ac_try" in
3448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449   *) ac_try_echo=$ac_try;;
3450 esac
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453   (eval "$ac_link") 2>&5
3454   ac_status=$?
3455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456   test $ac_status = 0; }
3457   if { ac_try='./conftest$ac_cv_exeext'
3458   { { case "(($ac_try" in
3459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460   *) ac_try_echo=$ac_try;;
3461 esac
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464   (eval "$ac_try") 2>&5
3465   ac_status=$?
3466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467   test $ac_status = 0; }; }; then
3468     cross_compiling=no
3469   else
3470     if test "$cross_compiling" = maybe; then
3471         cross_compiling=yes
3472     else
3473         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475 as_fn_error $? "cannot run C compiled programs.
3476 If you meant to cross compile, use \`--host'.
3477 See \`config.log' for more details" "$LINENO" 5; }
3478     fi
3479   fi
3480 fi
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3482 $as_echo "$cross_compiling" >&6; }
3483
3484 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3485 ac_clean_files=$ac_clean_files_save
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3487 $as_echo_n "checking for suffix of object files... " >&6; }
3488 if ${ac_cv_objext+:} false; then :
3489   $as_echo_n "(cached) " >&6
3490 else
3491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h.  */
3493
3494 int
3495 main ()
3496 {
3497
3498   ;
3499   return 0;
3500 }
3501 _ACEOF
3502 rm -f conftest.o conftest.obj
3503 if { { ac_try="$ac_compile"
3504 case "(($ac_try" in
3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506   *) ac_try_echo=$ac_try;;
3507 esac
3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3509 $as_echo "$ac_try_echo"; } >&5
3510   (eval "$ac_compile") 2>&5
3511   ac_status=$?
3512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3513   test $ac_status = 0; }; then :
3514   for ac_file in conftest.o conftest.obj conftest.*; do
3515   test -f "$ac_file" || continue;
3516   case $ac_file in
3517     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3518     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3519        break;;
3520   esac
3521 done
3522 else
3523   $as_echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3525
3526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3528 as_fn_error $? "cannot compute suffix of object files: cannot compile
3529 See \`config.log' for more details" "$LINENO" 5; }
3530 fi
3531 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3532 fi
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3534 $as_echo "$ac_cv_objext" >&6; }
3535 OBJEXT=$ac_cv_objext
3536 ac_objext=$OBJEXT
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3538 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3539 if ${ac_cv_c_compiler_gnu+:} false; then :
3540   $as_echo_n "(cached) " >&6
3541 else
3542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h.  */
3544
3545 int
3546 main ()
3547 {
3548 #ifndef __GNUC__
3549        choke me
3550 #endif
3551
3552   ;
3553   return 0;
3554 }
3555 _ACEOF
3556 if ac_fn_c_try_compile "$LINENO"; then :
3557   ac_compiler_gnu=yes
3558 else
3559   ac_compiler_gnu=no
3560 fi
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3563
3564 fi
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3566 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3567 if test $ac_compiler_gnu = yes; then
3568   GCC=yes
3569 else
3570   GCC=
3571 fi
3572 ac_test_CFLAGS=${CFLAGS+set}
3573 ac_save_CFLAGS=$CFLAGS
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3575 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3576 if ${ac_cv_prog_cc_g+:} false; then :
3577   $as_echo_n "(cached) " >&6
3578 else
3579   ac_save_c_werror_flag=$ac_c_werror_flag
3580    ac_c_werror_flag=yes
3581    ac_cv_prog_cc_g=no
3582    CFLAGS="-g"
3583    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h.  */
3585
3586 int
3587 main ()
3588 {
3589
3590   ;
3591   return 0;
3592 }
3593 _ACEOF
3594 if ac_fn_c_try_compile "$LINENO"; then :
3595   ac_cv_prog_cc_g=yes
3596 else
3597   CFLAGS=""
3598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h.  */
3600
3601 int
3602 main ()
3603 {
3604
3605   ;
3606   return 0;
3607 }
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610
3611 else
3612   ac_c_werror_flag=$ac_save_c_werror_flag
3613          CFLAGS="-g"
3614          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h.  */
3616
3617 int
3618 main ()
3619 {
3620
3621   ;
3622   return 0;
3623 }
3624 _ACEOF
3625 if ac_fn_c_try_compile "$LINENO"; then :
3626   ac_cv_prog_cc_g=yes
3627 fi
3628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3629 fi
3630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3631 fi
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633    ac_c_werror_flag=$ac_save_c_werror_flag
3634 fi
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3636 $as_echo "$ac_cv_prog_cc_g" >&6; }
3637 if test "$ac_test_CFLAGS" = set; then
3638   CFLAGS=$ac_save_CFLAGS
3639 elif test $ac_cv_prog_cc_g = yes; then
3640   if test "$GCC" = yes; then
3641     CFLAGS="-g -O2"
3642   else
3643     CFLAGS="-g"
3644   fi
3645 else
3646   if test "$GCC" = yes; then
3647     CFLAGS="-O2"
3648   else
3649     CFLAGS=
3650   fi
3651 fi
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3653 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3654 if ${ac_cv_prog_cc_c89+:} false; then :
3655   $as_echo_n "(cached) " >&6
3656 else
3657   ac_cv_prog_cc_c89=no
3658 ac_save_CC=$CC
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h.  */
3661 #include <stdarg.h>
3662 #include <stdio.h>
3663 #include <sys/types.h>
3664 #include <sys/stat.h>
3665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3666 struct buf { int x; };
3667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3668 static char *e (p, i)
3669      char **p;
3670      int i;
3671 {
3672   return p[i];
3673 }
3674 static char *f (char * (*g) (char **, int), char **p, ...)
3675 {
3676   char *s;
3677   va_list v;
3678   va_start (v,p);
3679   s = g (p, va_arg (v,int));
3680   va_end (v);
3681   return s;
3682 }
3683
3684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3685    function prototypes and stuff, but not '\xHH' hex character constants.
3686    These don't provoke an error unfortunately, instead are silently treated
3687    as 'x'.  The following induces an error, until -std is added to get
3688    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3689    array size at least.  It's necessary to write '\x00'==0 to get something
3690    that's true only with -std.  */
3691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3692
3693 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3694    inside strings and character constants.  */
3695 #define FOO(x) 'x'
3696 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3697
3698 int test (int i, double x);
3699 struct s1 {int (*f) (int a);};
3700 struct s2 {int (*f) (double a);};
3701 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3702 int argc;
3703 char **argv;
3704 int
3705 main ()
3706 {
3707 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3708   ;
3709   return 0;
3710 }
3711 _ACEOF
3712 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3713         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3714 do
3715   CC="$ac_save_CC $ac_arg"
3716   if ac_fn_c_try_compile "$LINENO"; then :
3717   ac_cv_prog_cc_c89=$ac_arg
3718 fi
3719 rm -f core conftest.err conftest.$ac_objext
3720   test "x$ac_cv_prog_cc_c89" != "xno" && break
3721 done
3722 rm -f conftest.$ac_ext
3723 CC=$ac_save_CC
3724
3725 fi
3726 # AC_CACHE_VAL
3727 case "x$ac_cv_prog_cc_c89" in
3728   x)
3729     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3730 $as_echo "none needed" >&6; } ;;
3731   xno)
3732     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3733 $as_echo "unsupported" >&6; } ;;
3734   *)
3735     CC="$CC $ac_cv_prog_cc_c89"
3736     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3737 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3738 esac
3739 if test "x$ac_cv_prog_cc_c89" != xno; then :
3740
3741 fi
3742
3743 ac_ext=c
3744 ac_cpp='$CPP $CPPFLAGS'
3745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3748
3749 depcc="$CC"   am_compiler_list=
3750
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3752 $as_echo_n "checking dependency style of $depcc... " >&6; }
3753 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3754   $as_echo_n "(cached) " >&6
3755 else
3756   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3757   # We make a subdir and do the tests there.  Otherwise we can end up
3758   # making bogus files that we don't know about and never remove.  For
3759   # instance it was reported that on HP-UX the gcc test will end up
3760   # making a dummy file named `D' -- because `-MD' means `put the output
3761   # in D'.
3762   mkdir conftest.dir
3763   # Copy depcomp to subdir because otherwise we won't find it if we're
3764   # using a relative directory.
3765   cp "$am_depcomp" conftest.dir
3766   cd conftest.dir
3767   # We will build objects and dependencies in a subdirectory because
3768   # it helps to detect inapplicable dependency modes.  For instance
3769   # both Tru64's cc and ICC support -MD to output dependencies as a
3770   # side effect of compilation, but ICC will put the dependencies in
3771   # the current directory while Tru64 will put them in the object
3772   # directory.
3773   mkdir sub
3774
3775   am_cv_CC_dependencies_compiler_type=none
3776   if test "$am_compiler_list" = ""; then
3777      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3778   fi
3779   am__universal=false
3780   case " $depcc " in #(
3781      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3782      esac
3783
3784   for depmode in $am_compiler_list; do
3785     # Setup a source with many dependencies, because some compilers
3786     # like to wrap large dependency lists on column 80 (with \), and
3787     # we should not choose a depcomp mode which is confused by this.
3788     #
3789     # We need to recreate these files for each test, as the compiler may
3790     # overwrite some of them when testing with obscure command lines.
3791     # This happens at least with the AIX C compiler.
3792     : > sub/conftest.c
3793     for i in 1 2 3 4 5 6; do
3794       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3795       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3796       # Solaris 8's {/usr,}/bin/sh.
3797       touch sub/conftst$i.h
3798     done
3799     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3800
3801     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3802     # mode.  It turns out that the SunPro C++ compiler does not properly
3803     # handle `-M -o', and we need to detect this.  Also, some Intel
3804     # versions had trouble with output in subdirs
3805     am__obj=sub/conftest.${OBJEXT-o}
3806     am__minus_obj="-o $am__obj"
3807     case $depmode in
3808     gcc)
3809       # This depmode causes a compiler race in universal mode.
3810       test "$am__universal" = false || continue
3811       ;;
3812     nosideeffect)
3813       # after this tag, mechanisms are not by side-effect, so they'll
3814       # only be used when explicitly requested
3815       if test "x$enable_dependency_tracking" = xyes; then
3816         continue
3817       else
3818         break
3819       fi
3820       ;;
3821     msvisualcpp | msvcmsys)
3822       # This compiler won't grok `-c -o', but also, the minuso test has
3823       # not run yet.  These depmodes are late enough in the game, and
3824       # so weak that their functioning should not be impacted.
3825       am__obj=conftest.${OBJEXT-o}
3826       am__minus_obj=
3827       ;;
3828     none) break ;;
3829     esac
3830     if depmode=$depmode \
3831        source=sub/conftest.c object=$am__obj \
3832        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3833        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3834          >/dev/null 2>conftest.err &&
3835        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3836        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3837        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3838        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3839       # icc doesn't choke on unknown options, it will just issue warnings
3840       # or remarks (even with -Werror).  So we grep stderr for any message
3841       # that says an option was ignored or not supported.
3842       # When given -MP, icc 7.0 and 7.1 complain thusly:
3843       #   icc: Command line warning: ignoring option '-M'; no argument required
3844       # The diagnosis changed in icc 8.0:
3845       #   icc: Command line remark: option '-MP' not supported
3846       if (grep 'ignoring option' conftest.err ||
3847           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3848         am_cv_CC_dependencies_compiler_type=$depmode
3849         break
3850       fi
3851     fi
3852   done
3853
3854   cd ..
3855   rm -rf conftest.dir
3856 else
3857   am_cv_CC_dependencies_compiler_type=none
3858 fi
3859
3860 fi
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3862 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3863 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3864
3865  if
3866   test "x$enable_dependency_tracking" != xno \
3867   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3868   am__fastdepCC_TRUE=
3869   am__fastdepCC_FALSE='#'
3870 else
3871   am__fastdepCC_TRUE='#'
3872   am__fastdepCC_FALSE=
3873 fi
3874
3875
3876    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3877 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3878 if ${ac_cv_prog_cc_c99+:} false; then :
3879   $as_echo_n "(cached) " >&6
3880 else
3881   ac_cv_prog_cc_c99=no
3882 ac_save_CC=$CC
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h.  */
3885 #include <stdarg.h>
3886 #include <stdbool.h>
3887 #include <stdlib.h>
3888 #include <wchar.h>
3889 #include <stdio.h>
3890
3891 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
3892 #define debug(...) fprintf (stderr, __VA_ARGS__)
3893 #define showlist(...) puts (#__VA_ARGS__)
3894 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3895 static void
3896 test_varargs_macros (void)
3897 {
3898   int x = 1234;
3899   int y = 5678;
3900   debug ("Flag");
3901   debug ("X = %d\n", x);
3902   showlist (The first, second, and third items.);
3903   report (x>y, "x is %d but y is %d", x, y);
3904 }
3905
3906 // Check long long types.
3907 #define BIG64 18446744073709551615ull
3908 #define BIG32 4294967295ul
3909 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3910 #if !BIG_OK
3911   your preprocessor is broken;
3912 #endif
3913 #if BIG_OK
3914 #else
3915   your preprocessor is broken;
3916 #endif
3917 static long long int bignum = -9223372036854775807LL;
3918 static unsigned long long int ubignum = BIG64;
3919
3920 struct incomplete_array
3921 {
3922   int datasize;
3923   double data[];
3924 };
3925
3926 struct named_init {
3927   int number;
3928   const wchar_t *name;
3929   double average;
3930 };
3931
3932 typedef const char *ccp;
3933
3934 static inline int
3935 test_restrict (ccp restrict text)
3936 {
3937   // See if C++-style comments work.
3938   // Iterate through items via the restricted pointer.
3939   // Also check for declarations in for loops.
3940   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3941     continue;
3942   return 0;
3943 }
3944
3945 // Check varargs and va_copy.
3946 static void
3947 test_varargs (const char *format, ...)
3948 {
3949   va_list args;
3950   va_start (args, format);
3951   va_list args_copy;
3952   va_copy (args_copy, args);
3953
3954   const char *str;
3955   int number;
3956   float fnumber;
3957
3958   while (*format)
3959     {
3960       switch (*format++)
3961         {
3962         case 's': // string
3963           str = va_arg (args_copy, const char *);
3964           break;
3965         case 'd': // int
3966           number = va_arg (args_copy, int);
3967           break;
3968         case 'f': // float
3969           fnumber = va_arg (args_copy, double);
3970           break;
3971         default:
3972           break;
3973         }
3974     }
3975   va_end (args_copy);
3976   va_end (args);
3977 }
3978
3979 int
3980 main ()
3981 {
3982
3983   // Check bool.
3984   _Bool success = false;
3985
3986   // Check restrict.
3987   if (test_restrict ("String literal") == 0)
3988     success = true;
3989   char *restrict newvar = "Another string";
3990
3991   // Check varargs.
3992   test_varargs ("s, d' f .", "string", 65, 34.234);
3993   test_varargs_macros ();
3994
3995   // Check flexible array members.
3996   struct incomplete_array *ia =
3997     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3998   ia->datasize = 10;
3999   for (int i = 0; i < ia->datasize; ++i)
4000     ia->data[i] = i * 1.234;
4001
4002   // Check named initializers.
4003   struct named_init ni = {
4004     .number = 34,
4005     .name = L"Test wide string",
4006     .average = 543.34343,
4007   };
4008
4009   ni.number = 58;
4010
4011   int dynamic_array[ni.number];
4012   dynamic_array[ni.number - 1] = 543;
4013
4014   // work around unused variable warnings
4015   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4016           || dynamic_array[ni.number - 1] != 543);
4017
4018   ;
4019   return 0;
4020 }
4021 _ACEOF
4022 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4023 do
4024   CC="$ac_save_CC $ac_arg"
4025   if ac_fn_c_try_compile "$LINENO"; then :
4026   ac_cv_prog_cc_c99=$ac_arg
4027 fi
4028 rm -f core conftest.err conftest.$ac_objext
4029   test "x$ac_cv_prog_cc_c99" != "xno" && break
4030 done
4031 rm -f conftest.$ac_ext
4032 CC=$ac_save_CC
4033
4034 fi
4035 # AC_CACHE_VAL
4036 case "x$ac_cv_prog_cc_c99" in
4037   x)
4038     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4039 $as_echo "none needed" >&6; } ;;
4040   xno)
4041     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4042 $as_echo "unsupported" >&6; } ;;
4043   *)
4044     CC="$CC $ac_cv_prog_cc_c99"
4045     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4046 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4047 esac
4048 if test "x$ac_cv_prog_cc_c99" != xno; then :
4049
4050 fi
4051
4052
4053
4054 ac_ext=c
4055 ac_cpp='$CPP $CPPFLAGS'
4056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4060 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4061 # On Suns, sometimes $CPP names a directory.
4062 if test -n "$CPP" && test -d "$CPP"; then
4063   CPP=
4064 fi
4065 if test -z "$CPP"; then
4066   if ${ac_cv_prog_CPP+:} false; then :
4067   $as_echo_n "(cached) " >&6
4068 else
4069       # Double quotes because CPP needs to be expanded
4070     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4071     do
4072       ac_preproc_ok=false
4073 for ac_c_preproc_warn_flag in '' yes
4074 do
4075   # Use a header file that comes with gcc, so configuring glibc
4076   # with a fresh cross-compiler works.
4077   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4078   # <limits.h> exists even on freestanding compilers.
4079   # On the NeXT, cc -E runs the code through the compiler's parser,
4080   # not just through cpp. "Syntax error" is here to catch this case.
4081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h.  */
4083 #ifdef __STDC__
4084 # include <limits.h>
4085 #else
4086 # include <assert.h>
4087 #endif
4088                      Syntax error
4089 _ACEOF
4090 if ac_fn_c_try_cpp "$LINENO"; then :
4091
4092 else
4093   # Broken: fails on valid input.
4094 continue
4095 fi
4096 rm -f conftest.err conftest.i conftest.$ac_ext
4097
4098   # OK, works on sane cases.  Now check whether nonexistent headers
4099   # can be detected and how.
4100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h.  */
4102 #include <ac_nonexistent.h>
4103 _ACEOF
4104 if ac_fn_c_try_cpp "$LINENO"; then :
4105   # Broken: success on invalid input.
4106 continue
4107 else
4108   # Passes both tests.
4109 ac_preproc_ok=:
4110 break
4111 fi
4112 rm -f conftest.err conftest.i conftest.$ac_ext
4113
4114 done
4115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4116 rm -f conftest.i conftest.err conftest.$ac_ext
4117 if $ac_preproc_ok; then :
4118   break
4119 fi
4120
4121     done
4122     ac_cv_prog_CPP=$CPP
4123
4124 fi
4125   CPP=$ac_cv_prog_CPP
4126 else
4127   ac_cv_prog_CPP=$CPP
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4130 $as_echo "$CPP" >&6; }
4131 ac_preproc_ok=false
4132 for ac_c_preproc_warn_flag in '' yes
4133 do
4134   # Use a header file that comes with gcc, so configuring glibc
4135   # with a fresh cross-compiler works.
4136   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4137   # <limits.h> exists even on freestanding compilers.
4138   # On the NeXT, cc -E runs the code through the compiler's parser,
4139   # not just through cpp. "Syntax error" is here to catch this case.
4140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h.  */
4142 #ifdef __STDC__
4143 # include <limits.h>
4144 #else
4145 # include <assert.h>
4146 #endif
4147                      Syntax error
4148 _ACEOF
4149 if ac_fn_c_try_cpp "$LINENO"; then :
4150
4151 else
4152   # Broken: fails on valid input.
4153 continue
4154 fi
4155 rm -f conftest.err conftest.i conftest.$ac_ext
4156
4157   # OK, works on sane cases.  Now check whether nonexistent headers
4158   # can be detected and how.
4159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h.  */
4161 #include <ac_nonexistent.h>
4162 _ACEOF
4163 if ac_fn_c_try_cpp "$LINENO"; then :
4164   # Broken: success on invalid input.
4165 continue
4166 else
4167   # Passes both tests.
4168 ac_preproc_ok=:
4169 break
4170 fi
4171 rm -f conftest.err conftest.i conftest.$ac_ext
4172
4173 done
4174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4175 rm -f conftest.i conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then :
4177
4178 else
4179   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4181 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4182 See \`config.log' for more details" "$LINENO" 5; }
4183 fi
4184
4185 ac_ext=c
4186 ac_cpp='$CPP $CPPFLAGS'
4187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4190
4191
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4193 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4194 if ${ac_cv_path_GREP+:} false; then :
4195   $as_echo_n "(cached) " >&6
4196 else
4197   if test -z "$GREP"; then
4198   ac_path_GREP_found=false
4199   # Loop through the user's path and test for each of PROGNAME-LIST
4200   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4202 do
4203   IFS=$as_save_IFS
4204   test -z "$as_dir" && as_dir=.
4205     for ac_prog in grep ggrep; do
4206     for ac_exec_ext in '' $ac_executable_extensions; do
4207       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4208       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4209 # Check for GNU ac_path_GREP and select it if it is found.
4210   # Check for GNU $ac_path_GREP
4211 case `"$ac_path_GREP" --version 2>&1` in
4212 *GNU*)
4213   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4214 *)
4215   ac_count=0
4216   $as_echo_n 0123456789 >"conftest.in"
4217   while :
4218   do
4219     cat "conftest.in" "conftest.in" >"conftest.tmp"
4220     mv "conftest.tmp" "conftest.in"
4221     cp "conftest.in" "conftest.nl"
4222     $as_echo 'GREP' >> "conftest.nl"
4223     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4224     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4225     as_fn_arith $ac_count + 1 && ac_count=$as_val
4226     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4227       # Best one so far, save it but keep looking for a better one
4228       ac_cv_path_GREP="$ac_path_GREP"
4229       ac_path_GREP_max=$ac_count
4230     fi
4231     # 10*(2^10) chars as input seems more than enough
4232     test $ac_count -gt 10 && break
4233   done
4234   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4235 esac
4236
4237       $ac_path_GREP_found && break 3
4238     done
4239   done
4240   done
4241 IFS=$as_save_IFS
4242   if test -z "$ac_cv_path_GREP"; then
4243     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4244   fi
4245 else
4246   ac_cv_path_GREP=$GREP
4247 fi
4248
4249 fi
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4251 $as_echo "$ac_cv_path_GREP" >&6; }
4252  GREP="$ac_cv_path_GREP"
4253
4254
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4256 $as_echo_n "checking for egrep... " >&6; }
4257 if ${ac_cv_path_EGREP+:} false; then :
4258   $as_echo_n "(cached) " >&6
4259 else
4260   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4261    then ac_cv_path_EGREP="$GREP -E"
4262    else
4263      if test -z "$EGREP"; then
4264   ac_path_EGREP_found=false
4265   # Loop through the user's path and test for each of PROGNAME-LIST
4266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4268 do
4269   IFS=$as_save_IFS
4270   test -z "$as_dir" && as_dir=.
4271     for ac_prog in egrep; do
4272     for ac_exec_ext in '' $ac_executable_extensions; do
4273       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4274       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4275 # Check for GNU ac_path_EGREP and select it if it is found.
4276   # Check for GNU $ac_path_EGREP
4277 case `"$ac_path_EGREP" --version 2>&1` in
4278 *GNU*)
4279   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4280 *)
4281   ac_count=0
4282   $as_echo_n 0123456789 >"conftest.in"
4283   while :
4284   do
4285     cat "conftest.in" "conftest.in" >"conftest.tmp"
4286     mv "conftest.tmp" "conftest.in"
4287     cp "conftest.in" "conftest.nl"
4288     $as_echo 'EGREP' >> "conftest.nl"
4289     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4290     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4291     as_fn_arith $ac_count + 1 && ac_count=$as_val
4292     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4293       # Best one so far, save it but keep looking for a better one
4294       ac_cv_path_EGREP="$ac_path_EGREP"
4295       ac_path_EGREP_max=$ac_count
4296     fi
4297     # 10*(2^10) chars as input seems more than enough
4298     test $ac_count -gt 10 && break
4299   done
4300   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4301 esac
4302
4303       $ac_path_EGREP_found && break 3
4304     done
4305   done
4306   done
4307 IFS=$as_save_IFS
4308   if test -z "$ac_cv_path_EGREP"; then
4309     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4310   fi
4311 else
4312   ac_cv_path_EGREP=$EGREP
4313 fi
4314
4315    fi
4316 fi
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4318 $as_echo "$ac_cv_path_EGREP" >&6; }
4319  EGREP="$ac_cv_path_EGREP"
4320
4321
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4323 $as_echo_n "checking for ANSI C header files... " >&6; }
4324 if ${ac_cv_header_stdc+:} false; then :
4325   $as_echo_n "(cached) " >&6
4326 else
4327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h.  */
4329 #include <stdlib.h>
4330 #include <stdarg.h>
4331 #include <string.h>
4332 #include <float.h>
4333
4334 int
4335 main ()
4336 {
4337
4338   ;
4339   return 0;
4340 }
4341 _ACEOF
4342 if ac_fn_c_try_compile "$LINENO"; then :
4343   ac_cv_header_stdc=yes
4344 else
4345   ac_cv_header_stdc=no
4346 fi
4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4348
4349 if test $ac_cv_header_stdc = yes; then
4350   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h.  */
4353 #include <string.h>
4354
4355 _ACEOF
4356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4357   $EGREP "memchr" >/dev/null 2>&1; then :
4358
4359 else
4360   ac_cv_header_stdc=no
4361 fi
4362 rm -f conftest*
4363
4364 fi
4365
4366 if test $ac_cv_header_stdc = yes; then
4367   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h.  */
4370 #include <stdlib.h>
4371
4372 _ACEOF
4373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4374   $EGREP "free" >/dev/null 2>&1; then :
4375
4376 else
4377   ac_cv_header_stdc=no
4378 fi
4379 rm -f conftest*
4380
4381 fi
4382
4383 if test $ac_cv_header_stdc = yes; then
4384   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4385   if test "$cross_compiling" = yes; then :
4386   :
4387 else
4388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h.  */
4390 #include <ctype.h>
4391 #include <stdlib.h>
4392 #if ((' ' & 0x0FF) == 0x020)
4393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4395 #else
4396 # define ISLOWER(c) \
4397                    (('a' <= (c) && (c) <= 'i') \
4398                      || ('j' <= (c) && (c) <= 'r') \
4399                      || ('s' <= (c) && (c) <= 'z'))
4400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4401 #endif
4402
4403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4404 int
4405 main ()
4406 {
4407   int i;
4408   for (i = 0; i < 256; i++)
4409     if (XOR (islower (i), ISLOWER (i))
4410         || toupper (i) != TOUPPER (i))
4411       return 2;
4412   return 0;
4413 }
4414 _ACEOF
4415 if ac_fn_c_try_run "$LINENO"; then :
4416
4417 else
4418   ac_cv_header_stdc=no
4419 fi
4420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4421   conftest.$ac_objext conftest.beam conftest.$ac_ext
4422 fi
4423
4424 fi
4425 fi
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4427 $as_echo "$ac_cv_header_stdc" >&6; }
4428 if test $ac_cv_header_stdc = yes; then
4429
4430 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4431
4432 fi
4433
4434 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4436                   inttypes.h stdint.h unistd.h
4437 do :
4438   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4439 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4440 "
4441 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4442   cat >>confdefs.h <<_ACEOF
4443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4444 _ACEOF
4445
4446 fi
4447
4448 done
4449
4450
4451
4452
4453 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4454         if test -n "$ac_tool_prefix"; then
4455   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4456 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4460   $as_echo_n "(cached) " >&6
4461 else
4462   case $PKG_CONFIG in
4463   [\\/]* | ?:[\\/]*)
4464   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4465   ;;
4466   *)
4467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH
4469 do
4470   IFS=$as_save_IFS
4471   test -z "$as_dir" && as_dir=.
4472     for ac_exec_ext in '' $ac_executable_extensions; do
4473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4474     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4476     break 2
4477   fi
4478 done
4479   done
4480 IFS=$as_save_IFS
4481
4482   ;;
4483 esac
4484 fi
4485 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4486 if test -n "$PKG_CONFIG"; then
4487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4488 $as_echo "$PKG_CONFIG" >&6; }
4489 else
4490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4492 fi
4493
4494
4495 fi
4496 if test -z "$ac_cv_path_PKG_CONFIG"; then
4497   ac_pt_PKG_CONFIG=$PKG_CONFIG
4498   # Extract the first word of "pkg-config", so it can be a program name with args.
4499 set dummy pkg-config; ac_word=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4503   $as_echo_n "(cached) " >&6
4504 else
4505   case $ac_pt_PKG_CONFIG in
4506   [\\/]* | ?:[\\/]*)
4507   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4508   ;;
4509   *)
4510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511 for as_dir in $PATH
4512 do
4513   IFS=$as_save_IFS
4514   test -z "$as_dir" && as_dir=.
4515     for ac_exec_ext in '' $ac_executable_extensions; do
4516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4517     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519     break 2
4520   fi
4521 done
4522   done
4523 IFS=$as_save_IFS
4524
4525   ;;
4526 esac
4527 fi
4528 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4529 if test -n "$ac_pt_PKG_CONFIG"; then
4530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4531 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4532 else
4533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 $as_echo "no" >&6; }
4535 fi
4536
4537   if test "x$ac_pt_PKG_CONFIG" = x; then
4538     PKG_CONFIG=""
4539   else
4540     case $cross_compiling:$ac_tool_warned in
4541 yes:)
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4544 ac_tool_warned=yes ;;
4545 esac
4546     PKG_CONFIG=$ac_pt_PKG_CONFIG
4547   fi
4548 else
4549   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4550 fi
4551
4552 fi
4553 if test -n "$PKG_CONFIG"; then
4554         _pkg_min_version=0.9.0
4555         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4556 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4557         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4558                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4559 $as_echo "yes" >&6; }
4560         else
4561                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4563                 PKG_CONFIG=""
4564         fi
4565
4566 fi
4567 # Make sure we can run config.sub.
4568 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4569   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4570
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4572 $as_echo_n "checking build system type... " >&6; }
4573 if ${ac_cv_build+:} false; then :
4574   $as_echo_n "(cached) " >&6
4575 else
4576   ac_build_alias=$build_alias
4577 test "x$ac_build_alias" = x &&
4578   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4579 test "x$ac_build_alias" = x &&
4580   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4581 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4582   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4583
4584 fi
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4586 $as_echo "$ac_cv_build" >&6; }
4587 case $ac_cv_build in
4588 *-*-*) ;;
4589 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4590 esac
4591 build=$ac_cv_build
4592 ac_save_IFS=$IFS; IFS='-'
4593 set x $ac_cv_build
4594 shift
4595 build_cpu=$1
4596 build_vendor=$2
4597 shift; shift
4598 # Remember, the first character of IFS is used to create $*,
4599 # except with old shells:
4600 build_os=$*
4601 IFS=$ac_save_IFS
4602 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4603
4604
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4606 $as_echo_n "checking host system type... " >&6; }
4607 if ${ac_cv_host+:} false; then :
4608   $as_echo_n "(cached) " >&6
4609 else
4610   if test "x$host_alias" = x; then
4611   ac_cv_host=$ac_cv_build
4612 else
4613   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4614     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4615 fi
4616
4617 fi
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4619 $as_echo "$ac_cv_host" >&6; }
4620 case $ac_cv_host in
4621 *-*-*) ;;
4622 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4623 esac
4624 host=$ac_cv_host
4625 ac_save_IFS=$IFS; IFS='-'
4626 set x $ac_cv_host
4627 shift
4628 host_cpu=$1
4629 host_vendor=$2
4630 shift; shift
4631 # Remember, the first character of IFS is used to create $*,
4632 # except with old shells:
4633 host_os=$*
4634 IFS=$ac_save_IFS
4635 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4636
4637
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4639 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4640 if ${ac_cv_path_SED+:} false; then :
4641   $as_echo_n "(cached) " >&6
4642 else
4643             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4644      for ac_i in 1 2 3 4 5 6 7; do
4645        ac_script="$ac_script$as_nl$ac_script"
4646      done
4647      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4648      { ac_script=; unset ac_script;}
4649      if test -z "$SED"; then
4650   ac_path_SED_found=false
4651   # Loop through the user's path and test for each of PROGNAME-LIST
4652   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH
4654 do
4655   IFS=$as_save_IFS
4656   test -z "$as_dir" && as_dir=.
4657     for ac_prog in sed gsed; do
4658     for ac_exec_ext in '' $ac_executable_extensions; do
4659       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4660       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4661 # Check for GNU ac_path_SED and select it if it is found.
4662   # Check for GNU $ac_path_SED
4663 case `"$ac_path_SED" --version 2>&1` in
4664 *GNU*)
4665   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4666 *)
4667   ac_count=0
4668   $as_echo_n 0123456789 >"conftest.in"
4669   while :
4670   do
4671     cat "conftest.in" "conftest.in" >"conftest.tmp"
4672     mv "conftest.tmp" "conftest.in"
4673     cp "conftest.in" "conftest.nl"
4674     $as_echo '' >> "conftest.nl"
4675     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4676     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4677     as_fn_arith $ac_count + 1 && ac_count=$as_val
4678     if test $ac_count -gt ${ac_path_SED_max-0}; then
4679       # Best one so far, save it but keep looking for a better one
4680       ac_cv_path_SED="$ac_path_SED"
4681       ac_path_SED_max=$ac_count
4682     fi
4683     # 10*(2^10) chars as input seems more than enough
4684     test $ac_count -gt 10 && break
4685   done
4686   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4687 esac
4688
4689       $ac_path_SED_found && break 3
4690     done
4691   done
4692   done
4693 IFS=$as_save_IFS
4694   if test -z "$ac_cv_path_SED"; then
4695     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4696   fi
4697 else
4698   ac_cv_path_SED=$SED
4699 fi
4700
4701 fi
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4703 $as_echo "$ac_cv_path_SED" >&6; }
4704  SED="$ac_cv_path_SED"
4705   rm -f conftest.sed
4706
4707
4708
4709
4710
4711 if  test "x$GCC" = xyes ; then
4712     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4713 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4714 -Wbad-function-cast -Wformat=2"
4715     case `$CC -dumpversion` in
4716     3.4.* | 4.*)
4717         CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4718         ;;
4719     esac
4720 else
4721     ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4722 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4723   SUNCC="yes"
4724 else
4725   SUNCC="no"
4726 fi
4727
4728     if test "x$SUNCC" = "xyes"; then
4729         CWARNFLAGS="-v"
4730     fi
4731 fi
4732
4733
4734
4735 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
4736
4737
4738
4739 # Check whether --enable-strict-compilation was given.
4740 if test "${enable_strict_compilation+set}" = set; then :
4741   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4742 else
4743   STRICT_COMPILE=no
4744 fi
4745
4746 if test "x$STRICT_COMPILE" = "xyes"; then
4747         ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
4748 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4749   SUNCC="yes"
4750 else
4751   SUNCC="no"
4752 fi
4753
4754         ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
4755 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
4756   INTELCC="yes"
4757 else
4758   INTELCC="no"
4759 fi
4760
4761         if test "x$GCC" = xyes ; then
4762                 STRICT_CFLAGS="-pedantic -Werror"
4763         elif test "x$SUNCC" = "xyes"; then
4764                 STRICT_CFLAGS="-errwarn"
4765     elif test "x$INTELCC" = "xyes"; then
4766                 STRICT_CFLAGS="-Werror"
4767         fi
4768 fi
4769 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4770
4771
4772
4773
4774 cat >>confdefs.h <<_ACEOF
4775 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4776 _ACEOF
4777
4778         PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4779         if test "x$PVM" = "x"; then
4780                 PVM="0"
4781         fi
4782
4783 cat >>confdefs.h <<_ACEOF
4784 #define PACKAGE_VERSION_MINOR $PVM
4785 _ACEOF
4786
4787         PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4788         if test "x$PVP" = "x"; then
4789                 PVP="0"
4790         fi
4791
4792 cat >>confdefs.h <<_ACEOF
4793 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4794 _ACEOF
4795
4796
4797
4798 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
4799 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
4800 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
4801 echo 'git directory not found: installing possibly empty changelog.' >&2)"
4802
4803
4804
4805
4806 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
4807 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
4808 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
4809 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
4810 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
4811
4812
4813
4814
4815
4816
4817 if test x$APP_MAN_SUFFIX = x    ; then
4818     APP_MAN_SUFFIX=1
4819 fi
4820 if test x$APP_MAN_DIR = x    ; then
4821     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4822 fi
4823
4824 if test x$LIB_MAN_SUFFIX = x    ; then
4825     LIB_MAN_SUFFIX=3
4826 fi
4827 if test x$LIB_MAN_DIR = x    ; then
4828     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4829 fi
4830
4831 if test x$FILE_MAN_SUFFIX = x    ; then
4832     case $host_os in
4833         solaris*)       FILE_MAN_SUFFIX=4  ;;
4834         *)              FILE_MAN_SUFFIX=5  ;;
4835     esac
4836 fi
4837 if test x$FILE_MAN_DIR = x    ; then
4838     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4839 fi
4840
4841 if test x$MISC_MAN_SUFFIX = x    ; then
4842     case $host_os in
4843         solaris*)       MISC_MAN_SUFFIX=5  ;;
4844         *)              MISC_MAN_SUFFIX=7  ;;
4845     esac
4846 fi
4847 if test x$MISC_MAN_DIR = x    ; then
4848     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4849 fi
4850
4851 if test x$DRIVER_MAN_SUFFIX = x    ; then
4852     case $host_os in
4853         solaris*)       DRIVER_MAN_SUFFIX=7  ;;
4854         *)              DRIVER_MAN_SUFFIX=4  ;;
4855     esac
4856 fi
4857 if test x$DRIVER_MAN_DIR = x    ; then
4858     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4859 fi
4860
4861 if test x$ADMIN_MAN_SUFFIX = x    ; then
4862     case $host_os in
4863         solaris*)       ADMIN_MAN_SUFFIX=1m ;;
4864         *)              ADMIN_MAN_SUFFIX=8  ;;
4865     esac
4866 fi
4867 if test x$ADMIN_MAN_DIR = x    ; then
4868     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4869 fi
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885 XORG_MAN_PAGE="X Version 11"
4886
4887 MAN_SUBSTS="\
4888         -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4889         -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
4890         -e 's|__xservername__|Xorg|g' \
4891         -e 's|__xconfigfile__|xorg.conf|g' \
4892         -e 's|__projectroot__|\$(prefix)|g' \
4893         -e 's|__apploaddir__|\$(appdefaultdir)|g' \
4894         -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
4895         -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
4896         -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
4897         -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
4898         -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
4899         -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
4900
4901
4902
4903 # Check whether --enable-silent-rules was given.
4904 if test "${enable_silent_rules+set}" = set; then :
4905   enableval=$enable_silent_rules;
4906 fi
4907
4908 case $enable_silent_rules in
4909 yes) AM_DEFAULT_VERBOSITY=0;;
4910 no)  AM_DEFAULT_VERBOSITY=1;;
4911 *)   AM_DEFAULT_VERBOSITY=0;;
4912 esac
4913 AM_BACKSLASH='\'
4914
4915
4916
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4918 $as_echo_n "checking return type of signal handlers... " >&6; }
4919 if ${ac_cv_type_signal+:} false; then :
4920   $as_echo_n "(cached) " >&6
4921 else
4922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h.  */
4924 #include <sys/types.h>
4925 #include <signal.h>
4926
4927 int
4928 main ()
4929 {
4930 return *(signal (0, 0)) (0) == 1;
4931   ;
4932   return 0;
4933 }
4934 _ACEOF
4935 if ac_fn_c_try_compile "$LINENO"; then :
4936   ac_cv_type_signal=int
4937 else
4938   ac_cv_type_signal=void
4939 fi
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 fi
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4943 $as_echo "$ac_cv_type_signal" >&6; }
4944
4945 cat >>confdefs.h <<_ACEOF
4946 #define RETSIGTYPE $ac_cv_type_signal
4947 _ACEOF
4948
4949
4950
4951 for ac_header in net/errno.h
4952 do :
4953   ac_fn_c_check_header_mongrel "$LINENO" "net/errno.h" "ac_cv_header_net_errno_h" "$ac_includes_default"
4954 if test "x$ac_cv_header_net_errno_h" = xyes; then :
4955   cat >>confdefs.h <<_ACEOF
4956 #define HAVE_NET_ERRNO_H 1
4957 _ACEOF
4958
4959 fi
4960
4961 done
4962
4963
4964 for ac_func in strlcpy
4965 do :
4966   ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
4967 if test "x$ac_cv_func_strlcpy" = xyes; then :
4968   cat >>confdefs.h <<_ACEOF
4969 #define HAVE_STRLCPY 1
4970 _ACEOF
4971
4972 fi
4973 done
4974
4975
4976 # Checks for pkg-config packages
4977
4978 pkg_failed=no
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAUTH" >&5
4980 $as_echo_n "checking for XAUTH... " >&6; }
4981
4982 if test -n "$XAUTH_CFLAGS"; then
4983     pkg_cv_XAUTH_CFLAGS="$XAUTH_CFLAGS"
4984  elif test -n "$PKG_CONFIG"; then
4985     if test -n "$PKG_CONFIG" && \
4986     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\""; } >&5
4987   ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5
4988   ac_status=$?
4989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4990   test $ac_status = 0; }; then
4991   pkg_cv_XAUTH_CFLAGS=`$PKG_CONFIG --cflags "x11 xau xext xmuu" 2>/dev/null`
4992 else
4993   pkg_failed=yes
4994 fi
4995  else
4996     pkg_failed=untried
4997 fi
4998 if test -n "$XAUTH_LIBS"; then
4999     pkg_cv_XAUTH_LIBS="$XAUTH_LIBS"
5000  elif test -n "$PKG_CONFIG"; then
5001     if test -n "$PKG_CONFIG" && \
5002     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\""; } >&5
5003   ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5
5004   ac_status=$?
5005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5006   test $ac_status = 0; }; then
5007   pkg_cv_XAUTH_LIBS=`$PKG_CONFIG --libs "x11 xau xext xmuu" 2>/dev/null`
5008 else
5009   pkg_failed=yes
5010 fi
5011  else
5012     pkg_failed=untried
5013 fi
5014
5015
5016
5017 if test $pkg_failed = yes; then
5018
5019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5020         _pkg_short_errors_supported=yes
5021 else
5022         _pkg_short_errors_supported=no
5023 fi
5024         if test $_pkg_short_errors_supported = yes; then
5025                 XAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xau xext xmuu" 2>&1`
5026         else
5027                 XAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xau xext xmuu" 2>&1`
5028         fi
5029         # Put the nasty error message in config.log where it belongs
5030         echo "$XAUTH_PKG_ERRORS" >&5
5031
5032         as_fn_error $? "Package requirements (x11 xau xext xmuu) were not met:
5033
5034 $XAUTH_PKG_ERRORS
5035
5036 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5037 installed software in a non-standard prefix.
5038
5039 Alternatively, you may set the environment variables XAUTH_CFLAGS
5040 and XAUTH_LIBS to avoid the need to call pkg-config.
5041 See the pkg-config man page for more details.
5042 " "$LINENO" 5
5043 elif test $pkg_failed = untried; then
5044         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5046 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
5047 is in your PATH or set the PKG_CONFIG environment variable to the full
5048 path to pkg-config.
5049
5050 Alternatively, you may set the environment variables XAUTH_CFLAGS
5051 and XAUTH_LIBS to avoid the need to call pkg-config.
5052 See the pkg-config man page for more details.
5053
5054 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5055 See \`config.log' for more details" "$LINENO" 5; }
5056 else
5057         XAUTH_CFLAGS=$pkg_cv_XAUTH_CFLAGS
5058         XAUTH_LIBS=$pkg_cv_XAUTH_LIBS
5059         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5060 $as_echo "yes" >&6; }
5061         :
5062 fi
5063
5064 # Transport selection macro from xtrans.m4
5065 # Needed to set *CONN defines for gethost.c & parsedpy.c
5066
5067
5068
5069  case $host_os in
5070         mingw*) unixdef="no"   ;;
5071         *)      unixdef="yes"  ;;
5072  esac
5073  # Check whether --enable-unix-transport was given.
5074 if test "${enable_unix_transport+set}" = set; then :
5075   enableval=$enable_unix_transport; UNIXCONN=$enableval
5076 else
5077   UNIXCONN=$unixdef
5078 fi
5079
5080  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
5081 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
5082  if test "$UNIXCONN" = "yes"; then
5083
5084 $as_echo "#define UNIXCONN 1" >>confdefs.h
5085
5086  fi
5087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
5088 $as_echo "$UNIXCONN" >&6; }
5089  # Check whether --enable-tcp-transport was given.
5090 if test "${enable_tcp_transport+set}" = set; then :
5091   enableval=$enable_tcp_transport; TCPCONN=$enableval
5092 else
5093   TCPCONN=yes
5094 fi
5095
5096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
5097 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
5098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
5099 $as_echo "$TCPCONN" >&6; }
5100  if test "$TCPCONN" = "yes"; then
5101
5102 $as_echo "#define TCPCONN 1" >>confdefs.h
5103
5104
5105  # SVR4 hides these in libraries other than libc
5106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
5107 $as_echo_n "checking for library containing socket... " >&6; }
5108 if ${ac_cv_search_socket+:} false; then :
5109   $as_echo_n "(cached) " >&6
5110 else
5111   ac_func_search_save_LIBS=$LIBS
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h.  */
5114
5115 /* Override any GCC internal prototype to avoid an error.
5116    Use char because int might match the return type of a GCC
5117    builtin and then its argument prototype would still apply.  */
5118 #ifdef __cplusplus
5119 extern "C"
5120 #endif
5121 char socket ();
5122 int
5123 main ()
5124 {
5125 return socket ();
5126   ;
5127   return 0;
5128 }
5129 _ACEOF
5130 for ac_lib in '' socket; do
5131   if test -z "$ac_lib"; then
5132     ac_res="none required"
5133   else
5134     ac_res=-l$ac_lib
5135     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5136   fi
5137   if ac_fn_c_try_link "$LINENO"; then :
5138   ac_cv_search_socket=$ac_res
5139 fi
5140 rm -f core conftest.err conftest.$ac_objext \
5141     conftest$ac_exeext
5142   if ${ac_cv_search_socket+:} false; then :
5143   break
5144 fi
5145 done
5146 if ${ac_cv_search_socket+:} false; then :
5147
5148 else
5149   ac_cv_search_socket=no
5150 fi
5151 rm conftest.$ac_ext
5152 LIBS=$ac_func_search_save_LIBS
5153 fi
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
5155 $as_echo "$ac_cv_search_socket" >&6; }
5156 ac_res=$ac_cv_search_socket
5157 if test "$ac_res" != no; then :
5158   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5159
5160 fi
5161
5162  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
5163 $as_echo_n "checking for library containing gethostbyname... " >&6; }
5164 if ${ac_cv_search_gethostbyname+:} false; then :
5165   $as_echo_n "(cached) " >&6
5166 else
5167   ac_func_search_save_LIBS=$LIBS
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h.  */
5170
5171 /* Override any GCC internal prototype to avoid an error.
5172    Use char because int might match the return type of a GCC
5173    builtin and then its argument prototype would still apply.  */
5174 #ifdef __cplusplus
5175 extern "C"
5176 #endif
5177 char gethostbyname ();
5178 int
5179 main ()
5180 {
5181 return gethostbyname ();
5182   ;
5183   return 0;
5184 }
5185 _ACEOF
5186 for ac_lib in '' nsl; do
5187   if test -z "$ac_lib"; then
5188     ac_res="none required"
5189   else
5190     ac_res=-l$ac_lib
5191     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5192   fi
5193   if ac_fn_c_try_link "$LINENO"; then :
5194   ac_cv_search_gethostbyname=$ac_res
5195 fi
5196 rm -f core conftest.err conftest.$ac_objext \
5197     conftest$ac_exeext
5198   if ${ac_cv_search_gethostbyname+:} false; then :
5199   break
5200 fi
5201 done
5202 if ${ac_cv_search_gethostbyname+:} false; then :
5203
5204 else
5205   ac_cv_search_gethostbyname=no
5206 fi
5207 rm conftest.$ac_ext
5208 LIBS=$ac_func_search_save_LIBS
5209 fi
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
5211 $as_echo "$ac_cv_search_gethostbyname" >&6; }
5212 ac_res=$ac_cv_search_gethostbyname
5213 if test "$ac_res" != no; then :
5214   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5215
5216 fi
5217
5218  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
5219    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
5220 $as_echo_n "checking for main in -lws2_32... " >&6; }
5221 if ${ac_cv_lib_ws2_32_main+:} false; then :
5222   $as_echo_n "(cached) " >&6
5223 else
5224   ac_check_lib_save_LIBS=$LIBS
5225 LIBS="-lws2_32  $LIBS"
5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 /* end confdefs.h.  */
5228
5229
5230 int
5231 main ()
5232 {
5233 return main ();
5234   ;
5235   return 0;
5236 }
5237 _ACEOF
5238 if ac_fn_c_try_link "$LINENO"; then :
5239   ac_cv_lib_ws2_32_main=yes
5240 else
5241   ac_cv_lib_ws2_32_main=no
5242 fi
5243 rm -f core conftest.err conftest.$ac_objext \
5244     conftest$ac_exeext conftest.$ac_ext
5245 LIBS=$ac_check_lib_save_LIBS
5246 fi
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
5248 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
5249 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
5250   cat >>confdefs.h <<_ACEOF
5251 #define HAVE_LIBWS2_32 1
5252 _ACEOF
5253
5254   LIBS="-lws2_32 $LIBS"
5255
5256 fi
5257 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
5258
5259  fi
5260
5261  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
5262  # Check whether --enable-ipv6 was given.
5263 if test "${enable_ipv6+set}" = set; then :
5264   enableval=$enable_ipv6; IPV6CONN=$enableval
5265 else
5266   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
5267 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
5268   IPV6CONN=yes
5269 else
5270   IPV6CONN=no
5271 fi
5272
5273 fi
5274
5275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
5276 $as_echo_n "checking if IPv6 support should be built... " >&6; }
5277  if test "$IPV6CONN" = "yes"; then
5278
5279 $as_echo "#define IPv6 1" >>confdefs.h
5280
5281  fi
5282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
5283 $as_echo "$IPV6CONN" >&6; }
5284
5285  # 4.3BSD-Reno added a new member to struct sockaddr_in
5286  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
5287 #include <sys/types.h>
5288 #include <sys/socket.h>
5289 #include <netinet/in.h>
5290
5291 "
5292 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
5293
5294 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
5295
5296 fi
5297
5298
5299  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
5300  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
5301 $ac_includes_default
5302 #include <sys/socket.h>
5303 "
5304 if test "x$ac_cv_type_socklen_t" = xyes; then :
5305
5306 cat >>confdefs.h <<_ACEOF
5307 #define HAVE_SOCKLEN_T 1
5308 _ACEOF
5309
5310
5311 fi
5312
5313
5314
5315  fi
5316  case $host_os in
5317         solaris*|sco*|sysv4*)   localdef="yes" ;;
5318         *)                      localdef="no"  ;;
5319  esac
5320  # Check whether --enable-local-transport was given.
5321 if test "${enable_local_transport+set}" = set; then :
5322   enableval=$enable_local_transport; LOCALCONN=$enableval
5323 else
5324   LOCALCONN=$localdef
5325 fi
5326
5327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
5328 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
5329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
5330 $as_echo "$LOCALCONN" >&6; }
5331  if test "$LOCALCONN" = "yes"; then
5332
5333 $as_echo "#define LOCALCONN 1" >>confdefs.h
5334
5335  fi
5336
5337
5338
5339
5340
5341
5342
5343
5344 # Check whether --with-lint was given.
5345 if test "${with_lint+set}" = set; then :
5346   withval=$with_lint; use_lint=$withval
5347 else
5348   use_lint=no
5349 fi
5350
5351
5352 # Obtain platform specific info like program name and options
5353 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
5354 case $host_os in
5355   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
5356         lint_name=splint
5357         lint_options="-badflag"
5358         ;;
5359   *freebsd* | *netbsd*)
5360         lint_name=lint
5361         lint_options="-u -b"
5362         ;;
5363   *solaris*)
5364         lint_name=lint
5365         lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
5366         ;;
5367 esac
5368
5369 # Test for the presence of the program (either guessed by the code or spelled out by the user)
5370 if test "x$use_lint" = x"yes" ; then
5371    # Extract the first word of "$lint_name", so it can be a program name with args.
5372 set dummy $lint_name; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_path_LINT+:} false; then :
5376   $as_echo_n "(cached) " >&6
5377 else
5378   case $LINT in
5379   [\\/]* | ?:[\\/]*)
5380   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
5381   ;;
5382   *)
5383   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5385 do
5386   IFS=$as_save_IFS
5387   test -z "$as_dir" && as_dir=.
5388     for ac_exec_ext in '' $ac_executable_extensions; do
5389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5390     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
5391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392     break 2
5393   fi
5394 done
5395   done
5396 IFS=$as_save_IFS
5397
5398   ;;
5399 esac
5400 fi
5401 LINT=$ac_cv_path_LINT
5402 if test -n "$LINT"; then
5403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
5404 $as_echo "$LINT" >&6; }
5405 else
5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5408 fi
5409
5410
5411    if test "x$LINT" = "x"; then
5412         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
5413    fi
5414 elif test "x$use_lint" = x"no" ; then
5415    if test "x$LINT" != "x"; then
5416       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
5417 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
5418    fi
5419 else
5420    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
5421 fi
5422
5423 # User supplied flags override default flags
5424 if test "x$LINT_FLAGS" != "x"; then
5425    lint_options=$LINT_FLAGS
5426 fi
5427
5428 LINT_FLAGS=$lint_options
5429
5430  if test "x$LINT" != x; then
5431   LINT_TRUE=
5432   LINT_FALSE='#'
5433 else
5434   LINT_TRUE='#'
5435   LINT_FALSE=
5436 fi
5437
5438
5439
5440
5441 ac_config_files="$ac_config_files Makefile"
5442
5443 cat >confcache <<\_ACEOF
5444 # This file is a shell script that caches the results of configure
5445 # tests run on this system so they can be shared between configure
5446 # scripts and configure runs, see configure's option --config-cache.
5447 # It is not useful on other systems.  If it contains results you don't
5448 # want to keep, you may remove or edit it.
5449 #
5450 # config.status only pays attention to the cache file if you give it
5451 # the --recheck option to rerun configure.
5452 #
5453 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5454 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5455 # following values.
5456
5457 _ACEOF
5458
5459 # The following way of writing the cache mishandles newlines in values,
5460 # but we know of no workaround that is simple, portable, and efficient.
5461 # So, we kill variables containing newlines.
5462 # Ultrix sh set writes to stderr and can't be redirected directly,
5463 # and sets the high bit in the cache file unless we assign to the vars.
5464 (
5465   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5466     eval ac_val=\$$ac_var
5467     case $ac_val in #(
5468     *${as_nl}*)
5469       case $ac_var in #(
5470       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5471 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5472       esac
5473       case $ac_var in #(
5474       _ | IFS | as_nl) ;; #(
5475       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5476       *) { eval $ac_var=; unset $ac_var;} ;;
5477       esac ;;
5478     esac
5479   done
5480
5481   (set) 2>&1 |
5482     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5483     *${as_nl}ac_space=\ *)
5484       # `set' does not quote correctly, so add quotes: double-quote
5485       # substitution turns \\\\ into \\, and sed turns \\ into \.
5486       sed -n \
5487         "s/'/'\\\\''/g;
5488           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5489       ;; #(
5490     *)
5491       # `set' quotes correctly as required by POSIX, so do not add quotes.
5492       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5493       ;;
5494     esac |
5495     sort
5496 ) |
5497   sed '
5498      /^ac_cv_env_/b end
5499      t clear
5500      :clear
5501      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5502      t end
5503      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5504      :end' >>confcache
5505 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5506   if test -w "$cache_file"; then
5507     if test "x$cache_file" != "x/dev/null"; then
5508       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5509 $as_echo "$as_me: updating cache $cache_file" >&6;}
5510       if test ! -f "$cache_file" || test -h "$cache_file"; then
5511         cat confcache >"$cache_file"
5512       else
5513         case $cache_file in #(
5514         */* | ?:*)
5515           mv -f confcache "$cache_file"$$ &&
5516           mv -f "$cache_file"$$ "$cache_file" ;; #(
5517         *)
5518           mv -f confcache "$cache_file" ;;
5519         esac
5520       fi
5521     fi
5522   else
5523     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5524 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5525   fi
5526 fi
5527 rm -f confcache
5528
5529 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5530 # Let make expand exec_prefix.
5531 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5532
5533 DEFS=-DHAVE_CONFIG_H
5534
5535 ac_libobjs=
5536 ac_ltlibobjs=
5537 U=
5538 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5539   # 1. Remove the extension, and $U if already installed.
5540   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5541   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5542   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5543   #    will be set to the directory where LIBOBJS objects are built.
5544   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5545   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5546 done
5547 LIBOBJS=$ac_libobjs
5548
5549 LTLIBOBJS=$ac_ltlibobjs
5550
5551
5552  if test -n "$EXEEXT"; then
5553   am__EXEEXT_TRUE=
5554   am__EXEEXT_FALSE='#'
5555 else
5556   am__EXEEXT_TRUE='#'
5557   am__EXEEXT_FALSE=
5558 fi
5559
5560 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5561   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5563 fi
5564 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5565   as_fn_error $? "conditional \"AMDEP\" was never defined.
5566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5567 fi
5568 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5569   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5571 fi
5572 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
5573   as_fn_error $? "conditional \"LINT\" was never defined.
5574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5575 fi
5576
5577 : "${CONFIG_STATUS=./config.status}"
5578 ac_write_fail=0
5579 ac_clean_files_save=$ac_clean_files
5580 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5582 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5583 as_write_fail=0
5584 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5585 #! $SHELL
5586 # Generated by $as_me.
5587 # Run this file to recreate the current configuration.
5588 # Compiler output produced by configure, useful for debugging
5589 # configure, is in config.log if it exists.
5590
5591 debug=false
5592 ac_cs_recheck=false
5593 ac_cs_silent=false
5594
5595 SHELL=\${CONFIG_SHELL-$SHELL}
5596 export SHELL
5597 _ASEOF
5598 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5599 ## -------------------- ##
5600 ## M4sh Initialization. ##
5601 ## -------------------- ##
5602
5603 # Be more Bourne compatible
5604 DUALCASE=1; export DUALCASE # for MKS sh
5605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5606   emulate sh
5607   NULLCMD=:
5608   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5609   # is contrary to our usage.  Disable this feature.
5610   alias -g '${1+"$@"}'='"$@"'
5611   setopt NO_GLOB_SUBST
5612 else
5613   case `(set -o) 2>/dev/null` in #(
5614   *posix*) :
5615     set -o posix ;; #(
5616   *) :
5617      ;;
5618 esac
5619 fi
5620
5621
5622 as_nl='
5623 '
5624 export as_nl
5625 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5626 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5629 # Prefer a ksh shell builtin over an external printf program on Solaris,
5630 # but without wasting forks for bash or zsh.
5631 if test -z "$BASH_VERSION$ZSH_VERSION" \
5632     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5633   as_echo='print -r --'
5634   as_echo_n='print -rn --'
5635 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5636   as_echo='printf %s\n'
5637   as_echo_n='printf %s'
5638 else
5639   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5640     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5641     as_echo_n='/usr/ucb/echo -n'
5642   else
5643     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5644     as_echo_n_body='eval
5645       arg=$1;
5646       case $arg in #(
5647       *"$as_nl"*)
5648         expr "X$arg" : "X\\(.*\\)$as_nl";
5649         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5650       esac;
5651       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5652     '
5653     export as_echo_n_body
5654     as_echo_n='sh -c $as_echo_n_body as_echo'
5655   fi
5656   export as_echo_body
5657   as_echo='sh -c $as_echo_body as_echo'
5658 fi
5659
5660 # The user is always right.
5661 if test "${PATH_SEPARATOR+set}" != set; then
5662   PATH_SEPARATOR=:
5663   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5664     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5665       PATH_SEPARATOR=';'
5666   }
5667 fi
5668
5669
5670 # IFS
5671 # We need space, tab and new line, in precisely that order.  Quoting is
5672 # there to prevent editors from complaining about space-tab.
5673 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5674 # splitting by setting IFS to empty value.)
5675 IFS=" ""        $as_nl"
5676
5677 # Find who we are.  Look in the path if we contain no directory separator.
5678 as_myself=
5679 case $0 in #((
5680   *[\\/]* ) as_myself=$0 ;;
5681   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5683 do
5684   IFS=$as_save_IFS
5685   test -z "$as_dir" && as_dir=.
5686     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5687   done
5688 IFS=$as_save_IFS
5689
5690      ;;
5691 esac
5692 # We did not find ourselves, most probably we were run as `sh COMMAND'
5693 # in which case we are not to be found in the path.
5694 if test "x$as_myself" = x; then
5695   as_myself=$0
5696 fi
5697 if test ! -f "$as_myself"; then
5698   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5699   exit 1
5700 fi
5701
5702 # Unset variables that we do not need and which cause bugs (e.g. in
5703 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5704 # suppresses any "Segmentation fault" message there.  '((' could
5705 # trigger a bug in pdksh 5.2.14.
5706 for as_var in BASH_ENV ENV MAIL MAILPATH
5707 do eval test x\${$as_var+set} = xset \
5708   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5709 done
5710 PS1='$ '
5711 PS2='> '
5712 PS4='+ '
5713
5714 # NLS nuisances.
5715 LC_ALL=C
5716 export LC_ALL
5717 LANGUAGE=C
5718 export LANGUAGE
5719
5720 # CDPATH.
5721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5722
5723
5724 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5725 # ----------------------------------------
5726 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5727 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5728 # script with STATUS, using 1 if that was 0.
5729 as_fn_error ()
5730 {
5731   as_status=$1; test $as_status -eq 0 && as_status=1
5732   if test "$4"; then
5733     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5734     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5735   fi
5736   $as_echo "$as_me: error: $2" >&2
5737   as_fn_exit $as_status
5738 } # as_fn_error
5739
5740
5741 # as_fn_set_status STATUS
5742 # -----------------------
5743 # Set $? to STATUS, without forking.
5744 as_fn_set_status ()
5745 {
5746   return $1
5747 } # as_fn_set_status
5748
5749 # as_fn_exit STATUS
5750 # -----------------
5751 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5752 as_fn_exit ()
5753 {
5754   set +e
5755   as_fn_set_status $1
5756   exit $1
5757 } # as_fn_exit
5758
5759 # as_fn_unset VAR
5760 # ---------------
5761 # Portably unset VAR.
5762 as_fn_unset ()
5763 {
5764   { eval $1=; unset $1;}
5765 }
5766 as_unset=as_fn_unset
5767 # as_fn_append VAR VALUE
5768 # ----------------------
5769 # Append the text in VALUE to the end of the definition contained in VAR. Take
5770 # advantage of any shell optimizations that allow amortized linear growth over
5771 # repeated appends, instead of the typical quadratic growth present in naive
5772 # implementations.
5773 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5774   eval 'as_fn_append ()
5775   {
5776     eval $1+=\$2
5777   }'
5778 else
5779   as_fn_append ()
5780   {
5781     eval $1=\$$1\$2
5782   }
5783 fi # as_fn_append
5784
5785 # as_fn_arith ARG...
5786 # ------------------
5787 # Perform arithmetic evaluation on the ARGs, and store the result in the
5788 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5789 # must be portable across $(()) and expr.
5790 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5791   eval 'as_fn_arith ()
5792   {
5793     as_val=$(( $* ))
5794   }'
5795 else
5796   as_fn_arith ()
5797   {
5798     as_val=`expr "$@" || test $? -eq 1`
5799   }
5800 fi # as_fn_arith
5801
5802
5803 if expr a : '\(a\)' >/dev/null 2>&1 &&
5804    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5805   as_expr=expr
5806 else
5807   as_expr=false
5808 fi
5809
5810 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5811   as_basename=basename
5812 else
5813   as_basename=false
5814 fi
5815
5816 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5817   as_dirname=dirname
5818 else
5819   as_dirname=false
5820 fi
5821
5822 as_me=`$as_basename -- "$0" ||
5823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5824          X"$0" : 'X\(//\)$' \| \
5825          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5826 $as_echo X/"$0" |
5827     sed '/^.*\/\([^/][^/]*\)\/*$/{
5828             s//\1/
5829             q
5830           }
5831           /^X\/\(\/\/\)$/{
5832             s//\1/
5833             q
5834           }
5835           /^X\/\(\/\).*/{
5836             s//\1/
5837             q
5838           }
5839           s/.*/./; q'`
5840
5841 # Avoid depending upon Character Ranges.
5842 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5843 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5844 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5845 as_cr_digits='0123456789'
5846 as_cr_alnum=$as_cr_Letters$as_cr_digits
5847
5848 ECHO_C= ECHO_N= ECHO_T=
5849 case `echo -n x` in #(((((
5850 -n*)
5851   case `echo 'xy\c'` in
5852   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5853   xy)  ECHO_C='\c';;
5854   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5855        ECHO_T=' ';;
5856   esac;;
5857 *)
5858   ECHO_N='-n';;
5859 esac
5860
5861 rm -f conf$$ conf$$.exe conf$$.file
5862 if test -d conf$$.dir; then
5863   rm -f conf$$.dir/conf$$.file
5864 else
5865   rm -f conf$$.dir
5866   mkdir conf$$.dir 2>/dev/null
5867 fi
5868 if (echo >conf$$.file) 2>/dev/null; then
5869   if ln -s conf$$.file conf$$ 2>/dev/null; then
5870     as_ln_s='ln -s'
5871     # ... but there are two gotchas:
5872     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5873     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5874     # In both cases, we have to default to `cp -p'.
5875     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5876       as_ln_s='cp -p'
5877   elif ln conf$$.file conf$$ 2>/dev/null; then
5878     as_ln_s=ln
5879   else
5880     as_ln_s='cp -p'
5881   fi
5882 else
5883   as_ln_s='cp -p'
5884 fi
5885 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5886 rmdir conf$$.dir 2>/dev/null
5887
5888
5889 # as_fn_mkdir_p
5890 # -------------
5891 # Create "$as_dir" as a directory, including parents if necessary.
5892 as_fn_mkdir_p ()
5893 {
5894
5895   case $as_dir in #(
5896   -*) as_dir=./$as_dir;;
5897   esac
5898   test -d "$as_dir" || eval $as_mkdir_p || {
5899     as_dirs=
5900     while :; do
5901       case $as_dir in #(
5902       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5903       *) as_qdir=$as_dir;;
5904       esac
5905       as_dirs="'$as_qdir' $as_dirs"
5906       as_dir=`$as_dirname -- "$as_dir" ||
5907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5908          X"$as_dir" : 'X\(//\)[^/]' \| \
5909          X"$as_dir" : 'X\(//\)$' \| \
5910          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5911 $as_echo X"$as_dir" |
5912     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5913             s//\1/
5914             q
5915           }
5916           /^X\(\/\/\)[^/].*/{
5917             s//\1/
5918             q
5919           }
5920           /^X\(\/\/\)$/{
5921             s//\1/
5922             q
5923           }
5924           /^X\(\/\).*/{
5925             s//\1/
5926             q
5927           }
5928           s/.*/./; q'`
5929       test -d "$as_dir" && break
5930     done
5931     test -z "$as_dirs" || eval "mkdir $as_dirs"
5932   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5933
5934
5935 } # as_fn_mkdir_p
5936 if mkdir -p . 2>/dev/null; then
5937   as_mkdir_p='mkdir -p "$as_dir"'
5938 else
5939   test -d ./-p && rmdir ./-p
5940   as_mkdir_p=false
5941 fi
5942
5943 if test -x / >/dev/null 2>&1; then
5944   as_test_x='test -x'
5945 else
5946   if ls -dL / >/dev/null 2>&1; then
5947     as_ls_L_option=L
5948   else
5949     as_ls_L_option=
5950   fi
5951   as_test_x='
5952     eval sh -c '\''
5953       if test -d "$1"; then
5954         test -d "$1/.";
5955       else
5956         case $1 in #(
5957         -*)set "./$1";;
5958         esac;
5959         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5960         ???[sx]*):;;*)false;;esac;fi
5961     '\'' sh
5962   '
5963 fi
5964 as_executable_p=$as_test_x
5965
5966 # Sed expression to map a string onto a valid CPP name.
5967 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5968
5969 # Sed expression to map a string onto a valid variable name.
5970 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5971
5972
5973 exec 6>&1
5974 ## ----------------------------------- ##
5975 ## Main body of $CONFIG_STATUS script. ##
5976 ## ----------------------------------- ##
5977 _ASEOF
5978 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5979
5980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5981 # Save the log message, to keep $0 and so on meaningful, and to
5982 # report actual input values of CONFIG_FILES etc. instead of their
5983 # values after options handling.
5984 ac_log="
5985 This file was extended by xauth $as_me 1.0.5, which was
5986 generated by GNU Autoconf 2.68.  Invocation command line was
5987
5988   CONFIG_FILES    = $CONFIG_FILES
5989   CONFIG_HEADERS  = $CONFIG_HEADERS
5990   CONFIG_LINKS    = $CONFIG_LINKS
5991   CONFIG_COMMANDS = $CONFIG_COMMANDS
5992   $ $0 $@
5993
5994 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5995 "
5996
5997 _ACEOF
5998
5999 case $ac_config_files in *"
6000 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6001 esac
6002
6003 case $ac_config_headers in *"
6004 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6005 esac
6006
6007
6008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6009 # Files that config.status was made for.
6010 config_files="$ac_config_files"
6011 config_headers="$ac_config_headers"
6012 config_commands="$ac_config_commands"
6013
6014 _ACEOF
6015
6016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6017 ac_cs_usage="\
6018 \`$as_me' instantiates files and other configuration actions
6019 from templates according to the current configuration.  Unless the files
6020 and actions are specified as TAGs, all are instantiated by default.
6021
6022 Usage: $0 [OPTION]... [TAG]...
6023
6024   -h, --help       print this help, then exit
6025   -V, --version    print version number and configuration settings, then exit
6026       --config     print configuration, then exit
6027   -q, --quiet, --silent
6028                    do not print progress messages
6029   -d, --debug      don't remove temporary files
6030       --recheck    update $as_me by reconfiguring in the same conditions
6031       --file=FILE[:TEMPLATE]
6032                    instantiate the configuration file FILE
6033       --header=FILE[:TEMPLATE]
6034                    instantiate the configuration header FILE
6035
6036 Configuration files:
6037 $config_files
6038
6039 Configuration headers:
6040 $config_headers
6041
6042 Configuration commands:
6043 $config_commands
6044
6045 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
6046
6047 _ACEOF
6048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6049 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6050 ac_cs_version="\\
6051 xauth config.status 1.0.5
6052 configured by $0, generated by GNU Autoconf 2.68,
6053   with options \\"\$ac_cs_config\\"
6054
6055 Copyright (C) 2010 Free Software Foundation, Inc.
6056 This config.status script is free software; the Free Software Foundation
6057 gives unlimited permission to copy, distribute and modify it."
6058
6059 ac_pwd='$ac_pwd'
6060 srcdir='$srcdir'
6061 INSTALL='$INSTALL'
6062 MKDIR_P='$MKDIR_P'
6063 AWK='$AWK'
6064 test -n "\$AWK" || AWK=awk
6065 _ACEOF
6066
6067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6068 # The default lists apply if the user does not specify any file.
6069 ac_need_defaults=:
6070 while test $# != 0
6071 do
6072   case $1 in
6073   --*=?*)
6074     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6075     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6076     ac_shift=:
6077     ;;
6078   --*=)
6079     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6080     ac_optarg=
6081     ac_shift=:
6082     ;;
6083   *)
6084     ac_option=$1
6085     ac_optarg=$2
6086     ac_shift=shift
6087     ;;
6088   esac
6089
6090   case $ac_option in
6091   # Handling of the options.
6092   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6093     ac_cs_recheck=: ;;
6094   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6095     $as_echo "$ac_cs_version"; exit ;;
6096   --config | --confi | --conf | --con | --co | --c )
6097     $as_echo "$ac_cs_config"; exit ;;
6098   --debug | --debu | --deb | --de | --d | -d )
6099     debug=: ;;
6100   --file | --fil | --fi | --f )
6101     $ac_shift
6102     case $ac_optarg in
6103     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6104     '') as_fn_error $? "missing file argument" ;;
6105     esac
6106     as_fn_append CONFIG_FILES " '$ac_optarg'"
6107     ac_need_defaults=false;;
6108   --header | --heade | --head | --hea )
6109     $ac_shift
6110     case $ac_optarg in
6111     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6112     esac
6113     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6114     ac_need_defaults=false;;
6115   --he | --h)
6116     # Conflict between --help and --header
6117     as_fn_error $? "ambiguous option: \`$1'
6118 Try \`$0 --help' for more information.";;
6119   --help | --hel | -h )
6120     $as_echo "$ac_cs_usage"; exit ;;
6121   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6122   | -silent | --silent | --silen | --sile | --sil | --si | --s)
6123     ac_cs_silent=: ;;
6124
6125   # This is an error.
6126   -*) as_fn_error $? "unrecognized option: \`$1'
6127 Try \`$0 --help' for more information." ;;
6128
6129   *) as_fn_append ac_config_targets " $1"
6130      ac_need_defaults=false ;;
6131
6132   esac
6133   shift
6134 done
6135
6136 ac_configure_extra_args=
6137
6138 if $ac_cs_silent; then
6139   exec 6>/dev/null
6140   ac_configure_extra_args="$ac_configure_extra_args --silent"
6141 fi
6142
6143 _ACEOF
6144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6145 if \$ac_cs_recheck; then
6146   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6147   shift
6148   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6149   CONFIG_SHELL='$SHELL'
6150   export CONFIG_SHELL
6151   exec "\$@"
6152 fi
6153
6154 _ACEOF
6155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6156 exec 5>>config.log
6157 {
6158   echo
6159   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6160 ## Running $as_me. ##
6161 _ASBOX
6162   $as_echo "$ac_log"
6163 } >&5
6164
6165 _ACEOF
6166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6167 #
6168 # INIT-COMMANDS
6169 #
6170 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6171
6172 _ACEOF
6173
6174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6175
6176 # Handling of arguments.
6177 for ac_config_target in $ac_config_targets
6178 do
6179   case $ac_config_target in
6180     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6181     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6182     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6183
6184   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6185   esac
6186 done
6187
6188
6189 # If the user did not use the arguments to specify the items to instantiate,
6190 # then the envvar interface is used.  Set only those that are not.
6191 # We use the long form for the default assignment because of an extremely
6192 # bizarre bug on SunOS 4.1.3.
6193 if $ac_need_defaults; then
6194   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6195   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6196   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6197 fi
6198
6199 # Have a temporary directory for convenience.  Make it in the build tree
6200 # simply because there is no reason against having it here, and in addition,
6201 # creating and moving files from /tmp can sometimes cause problems.
6202 # Hook for its removal unless debugging.
6203 # Note that there is a small window in which the directory will not be cleaned:
6204 # after its creation but before its name has been assigned to `$tmp'.
6205 $debug ||
6206 {
6207   tmp= ac_tmp=
6208   trap 'exit_status=$?
6209   : "${ac_tmp:=$tmp}"
6210   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6211 ' 0
6212   trap 'as_fn_exit 1' 1 2 13 15
6213 }
6214 # Create a (secure) tmp directory for tmp files.
6215
6216 {
6217   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6218   test -d "$tmp"
6219 }  ||
6220 {
6221   tmp=./conf$$-$RANDOM
6222   (umask 077 && mkdir "$tmp")
6223 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6224 ac_tmp=$tmp
6225
6226 # Set up the scripts for CONFIG_FILES section.
6227 # No need to generate them if there are no CONFIG_FILES.
6228 # This happens for instance with `./config.status config.h'.
6229 if test -n "$CONFIG_FILES"; then
6230
6231
6232 ac_cr=`echo X | tr X '\015'`
6233 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6234 # But we know of no other shell where ac_cr would be empty at this
6235 # point, so we can use a bashism as a fallback.
6236 if test "x$ac_cr" = x; then
6237   eval ac_cr=\$\'\\r\'
6238 fi
6239 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6240 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6241   ac_cs_awk_cr='\\r'
6242 else
6243   ac_cs_awk_cr=$ac_cr
6244 fi
6245
6246 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6247 _ACEOF
6248
6249
6250 {
6251   echo "cat >conf$$subs.awk <<_ACEOF" &&
6252   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6253   echo "_ACEOF"
6254 } >conf$$subs.sh ||
6255   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6256 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6257 ac_delim='%!_!# '
6258 for ac_last_try in false false false false false :; do
6259   . ./conf$$subs.sh ||
6260     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6261
6262   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6263   if test $ac_delim_n = $ac_delim_num; then
6264     break
6265   elif $ac_last_try; then
6266     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6267   else
6268     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6269   fi
6270 done
6271 rm -f conf$$subs.sh
6272
6273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6274 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6275 _ACEOF
6276 sed -n '
6277 h
6278 s/^/S["/; s/!.*/"]=/
6279 p
6280 g
6281 s/^[^!]*!//
6282 :repl
6283 t repl
6284 s/'"$ac_delim"'$//
6285 t delim
6286 :nl
6287 h
6288 s/\(.\{148\}\)..*/\1/
6289 t more1
6290 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6291 p
6292 n
6293 b repl
6294 :more1
6295 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6296 p
6297 g
6298 s/.\{148\}//
6299 t nl
6300 :delim
6301 h
6302 s/\(.\{148\}\)..*/\1/
6303 t more2
6304 s/["\\]/\\&/g; s/^/"/; s/$/"/
6305 p
6306 b
6307 :more2
6308 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6309 p
6310 g
6311 s/.\{148\}//
6312 t delim
6313 ' <conf$$subs.awk | sed '
6314 /^[^""]/{
6315   N
6316   s/\n//
6317 }
6318 ' >>$CONFIG_STATUS || ac_write_fail=1
6319 rm -f conf$$subs.awk
6320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6321 _ACAWK
6322 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6323   for (key in S) S_is_set[key] = 1
6324   FS = "\a"
6325
6326 }
6327 {
6328   line = $ 0
6329   nfields = split(line, field, "@")
6330   substed = 0
6331   len = length(field[1])
6332   for (i = 2; i < nfields; i++) {
6333     key = field[i]
6334     keylen = length(key)
6335     if (S_is_set[key]) {
6336       value = S[key]
6337       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6338       len += length(value) + length(field[++i])
6339       substed = 1
6340     } else
6341       len += 1 + keylen
6342   }
6343
6344   print line
6345 }
6346
6347 _ACAWK
6348 _ACEOF
6349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6350 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6351   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6352 else
6353   cat
6354 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6355   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6356 _ACEOF
6357
6358 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6359 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6360 # trailing colons and then remove the whole line if VPATH becomes empty
6361 # (actually we leave an empty line to preserve line numbers).
6362 if test "x$srcdir" = x.; then
6363   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6364 h
6365 s///
6366 s/^/:/
6367 s/[      ]*$/:/
6368 s/:\$(srcdir):/:/g
6369 s/:\${srcdir}:/:/g
6370 s/:@srcdir@:/:/g
6371 s/^:*//
6372 s/:*$//
6373 x
6374 s/\(=[   ]*\).*/\1/
6375 G
6376 s/\n//
6377 s/^[^=]*=[       ]*$//
6378 }'
6379 fi
6380
6381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6382 fi # test -n "$CONFIG_FILES"
6383
6384 # Set up the scripts for CONFIG_HEADERS section.
6385 # No need to generate them if there are no CONFIG_HEADERS.
6386 # This happens for instance with `./config.status Makefile'.
6387 if test -n "$CONFIG_HEADERS"; then
6388 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6389 BEGIN {
6390 _ACEOF
6391
6392 # Transform confdefs.h into an awk script `defines.awk', embedded as
6393 # here-document in config.status, that substitutes the proper values into
6394 # config.h.in to produce config.h.
6395
6396 # Create a delimiter string that does not exist in confdefs.h, to ease
6397 # handling of long lines.
6398 ac_delim='%!_!# '
6399 for ac_last_try in false false :; do
6400   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6401   if test -z "$ac_tt"; then
6402     break
6403   elif $ac_last_try; then
6404     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6405   else
6406     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6407   fi
6408 done
6409
6410 # For the awk script, D is an array of macro values keyed by name,
6411 # likewise P contains macro parameters if any.  Preserve backslash
6412 # newline sequences.
6413
6414 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6415 sed -n '
6416 s/.\{148\}/&'"$ac_delim"'/g
6417 t rset
6418 :rset
6419 s/^[     ]*#[    ]*define[       ][      ]*/ /
6420 t def
6421 d
6422 :def
6423 s/\\$//
6424 t bsnl
6425 s/["\\]/\\&/g
6426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6427 D["\1"]=" \3"/p
6428 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6429 d
6430 :bsnl
6431 s/["\\]/\\&/g
6432 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6433 D["\1"]=" \3\\\\\\n"\\/p
6434 t cont
6435 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6436 t cont
6437 d
6438 :cont
6439 n
6440 s/.\{148\}/&'"$ac_delim"'/g
6441 t clear
6442 :clear
6443 s/\\$//
6444 t bsnlc
6445 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6446 d
6447 :bsnlc
6448 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6449 b cont
6450 ' <confdefs.h | sed '
6451 s/'"$ac_delim"'/"\\\
6452 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6453
6454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6455   for (key in D) D_is_set[key] = 1
6456   FS = "\a"
6457 }
6458 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6459   line = \$ 0
6460   split(line, arg, " ")
6461   if (arg[1] == "#") {
6462     defundef = arg[2]
6463     mac1 = arg[3]
6464   } else {
6465     defundef = substr(arg[1], 2)
6466     mac1 = arg[2]
6467   }
6468   split(mac1, mac2, "(") #)
6469   macro = mac2[1]
6470   prefix = substr(line, 1, index(line, defundef) - 1)
6471   if (D_is_set[macro]) {
6472     # Preserve the white space surrounding the "#".
6473     print prefix "define", macro P[macro] D[macro]
6474     next
6475   } else {
6476     # Replace #undef with comments.  This is necessary, for example,
6477     # in the case of _POSIX_SOURCE, which is predefined and required
6478     # on some systems where configure will not decide to define it.
6479     if (defundef == "undef") {
6480       print "/*", prefix defundef, macro, "*/"
6481       next
6482     }
6483   }
6484 }
6485 { print }
6486 _ACAWK
6487 _ACEOF
6488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6489   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6490 fi # test -n "$CONFIG_HEADERS"
6491
6492
6493 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6494 shift
6495 for ac_tag
6496 do
6497   case $ac_tag in
6498   :[FHLC]) ac_mode=$ac_tag; continue;;
6499   esac
6500   case $ac_mode$ac_tag in
6501   :[FHL]*:*);;
6502   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6503   :[FH]-) ac_tag=-:-;;
6504   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6505   esac
6506   ac_save_IFS=$IFS
6507   IFS=:
6508   set x $ac_tag
6509   IFS=$ac_save_IFS
6510   shift
6511   ac_file=$1
6512   shift
6513
6514   case $ac_mode in
6515   :L) ac_source=$1;;
6516   :[FH])
6517     ac_file_inputs=
6518     for ac_f
6519     do
6520       case $ac_f in
6521       -) ac_f="$ac_tmp/stdin";;
6522       *) # Look for the file first in the build tree, then in the source tree
6523          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6524          # because $ac_f cannot contain `:'.
6525          test -f "$ac_f" ||
6526            case $ac_f in
6527            [\\/$]*) false;;
6528            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6529            esac ||
6530            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6531       esac
6532       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6533       as_fn_append ac_file_inputs " '$ac_f'"
6534     done
6535
6536     # Let's still pretend it is `configure' which instantiates (i.e., don't
6537     # use $as_me), people would be surprised to read:
6538     #    /* config.h.  Generated by config.status.  */
6539     configure_input='Generated from '`
6540           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6541         `' by configure.'
6542     if test x"$ac_file" != x-; then
6543       configure_input="$ac_file.  $configure_input"
6544       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6545 $as_echo "$as_me: creating $ac_file" >&6;}
6546     fi
6547     # Neutralize special characters interpreted by sed in replacement strings.
6548     case $configure_input in #(
6549     *\&* | *\|* | *\\* )
6550        ac_sed_conf_input=`$as_echo "$configure_input" |
6551        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6552     *) ac_sed_conf_input=$configure_input;;
6553     esac
6554
6555     case $ac_tag in
6556     *:-:* | *:-) cat >"$ac_tmp/stdin" \
6557       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6558     esac
6559     ;;
6560   esac
6561
6562   ac_dir=`$as_dirname -- "$ac_file" ||
6563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6564          X"$ac_file" : 'X\(//\)[^/]' \| \
6565          X"$ac_file" : 'X\(//\)$' \| \
6566          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6567 $as_echo X"$ac_file" |
6568     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6569             s//\1/
6570             q
6571           }
6572           /^X\(\/\/\)[^/].*/{
6573             s//\1/
6574             q
6575           }
6576           /^X\(\/\/\)$/{
6577             s//\1/
6578             q
6579           }
6580           /^X\(\/\).*/{
6581             s//\1/
6582             q
6583           }
6584           s/.*/./; q'`
6585   as_dir="$ac_dir"; as_fn_mkdir_p
6586   ac_builddir=.
6587
6588 case "$ac_dir" in
6589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6590 *)
6591   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6592   # A ".." for each directory in $ac_dir_suffix.
6593   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6594   case $ac_top_builddir_sub in
6595   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6596   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6597   esac ;;
6598 esac
6599 ac_abs_top_builddir=$ac_pwd
6600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6601 # for backward compatibility:
6602 ac_top_builddir=$ac_top_build_prefix
6603
6604 case $srcdir in
6605   .)  # We are building in place.
6606     ac_srcdir=.
6607     ac_top_srcdir=$ac_top_builddir_sub
6608     ac_abs_top_srcdir=$ac_pwd ;;
6609   [\\/]* | ?:[\\/]* )  # Absolute name.
6610     ac_srcdir=$srcdir$ac_dir_suffix;
6611     ac_top_srcdir=$srcdir
6612     ac_abs_top_srcdir=$srcdir ;;
6613   *) # Relative name.
6614     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6615     ac_top_srcdir=$ac_top_build_prefix$srcdir
6616     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6617 esac
6618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6619
6620
6621   case $ac_mode in
6622   :F)
6623   #
6624   # CONFIG_FILE
6625   #
6626
6627   case $INSTALL in
6628   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6629   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6630   esac
6631   ac_MKDIR_P=$MKDIR_P
6632   case $MKDIR_P in
6633   [\\/$]* | ?:[\\/]* ) ;;
6634   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6635   esac
6636 _ACEOF
6637
6638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6639 # If the template does not know about datarootdir, expand it.
6640 # FIXME: This hack should be removed a few years after 2.60.
6641 ac_datarootdir_hack=; ac_datarootdir_seen=
6642 ac_sed_dataroot='
6643 /datarootdir/ {
6644   p
6645   q
6646 }
6647 /@datadir@/p
6648 /@docdir@/p
6649 /@infodir@/p
6650 /@localedir@/p
6651 /@mandir@/p'
6652 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6653 *datarootdir*) ac_datarootdir_seen=yes;;
6654 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6655   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6656 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6657 _ACEOF
6658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6659   ac_datarootdir_hack='
6660   s&@datadir@&$datadir&g
6661   s&@docdir@&$docdir&g
6662   s&@infodir@&$infodir&g
6663   s&@localedir@&$localedir&g
6664   s&@mandir@&$mandir&g
6665   s&\\\${datarootdir}&$datarootdir&g' ;;
6666 esac
6667 _ACEOF
6668
6669 # Neutralize VPATH when `$srcdir' = `.'.
6670 # Shell code in configure.ac might set extrasub.
6671 # FIXME: do we really want to maintain this feature?
6672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6673 ac_sed_extra="$ac_vpsub
6674 $extrasub
6675 _ACEOF
6676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6677 :t
6678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6679 s|@configure_input@|$ac_sed_conf_input|;t t
6680 s&@top_builddir@&$ac_top_builddir_sub&;t t
6681 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6682 s&@srcdir@&$ac_srcdir&;t t
6683 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6684 s&@top_srcdir@&$ac_top_srcdir&;t t
6685 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6686 s&@builddir@&$ac_builddir&;t t
6687 s&@abs_builddir@&$ac_abs_builddir&;t t
6688 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6689 s&@INSTALL@&$ac_INSTALL&;t t
6690 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6691 $ac_datarootdir_hack
6692 "
6693 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6694   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6695
6696 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6697   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6698   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6699       "$ac_tmp/out"`; test -z "$ac_out"; } &&
6700   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6701 which seems to be undefined.  Please make sure it is defined" >&5
6702 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6703 which seems to be undefined.  Please make sure it is defined" >&2;}
6704
6705   rm -f "$ac_tmp/stdin"
6706   case $ac_file in
6707   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6708   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6709   esac \
6710   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6711  ;;
6712   :H)
6713   #
6714   # CONFIG_HEADER
6715   #
6716   if test x"$ac_file" != x-; then
6717     {
6718       $as_echo "/* $configure_input  */" \
6719       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6720     } >"$ac_tmp/config.h" \
6721       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6722     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6723       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6724 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6725     else
6726       rm -f "$ac_file"
6727       mv "$ac_tmp/config.h" "$ac_file" \
6728         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6729     fi
6730   else
6731     $as_echo "/* $configure_input  */" \
6732       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6733       || as_fn_error $? "could not create -" "$LINENO" 5
6734   fi
6735 # Compute "$ac_file"'s index in $config_headers.
6736 _am_arg="$ac_file"
6737 _am_stamp_count=1
6738 for _am_header in $config_headers :; do
6739   case $_am_header in
6740     $_am_arg | $_am_arg:* )
6741       break ;;
6742     * )
6743       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6744   esac
6745 done
6746 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6747 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6748          X"$_am_arg" : 'X\(//\)[^/]' \| \
6749          X"$_am_arg" : 'X\(//\)$' \| \
6750          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6751 $as_echo X"$_am_arg" |
6752     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6753             s//\1/
6754             q
6755           }
6756           /^X\(\/\/\)[^/].*/{
6757             s//\1/
6758             q
6759           }
6760           /^X\(\/\/\)$/{
6761             s//\1/
6762             q
6763           }
6764           /^X\(\/\).*/{
6765             s//\1/
6766             q
6767           }
6768           s/.*/./; q'`/stamp-h$_am_stamp_count
6769  ;;
6770
6771   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6772 $as_echo "$as_me: executing $ac_file commands" >&6;}
6773  ;;
6774   esac
6775
6776
6777   case $ac_file$ac_mode in
6778     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6779   # Autoconf 2.62 quotes --file arguments for eval, but not when files
6780   # are listed without --file.  Let's play safe and only enable the eval
6781   # if we detect the quoting.
6782   case $CONFIG_FILES in
6783   *\'*) eval set x "$CONFIG_FILES" ;;
6784   *)   set x $CONFIG_FILES ;;
6785   esac
6786   shift
6787   for mf
6788   do
6789     # Strip MF so we end up with the name of the file.
6790     mf=`echo "$mf" | sed -e 's/:.*$//'`
6791     # Check whether this is an Automake generated Makefile or not.
6792     # We used to match only the files named `Makefile.in', but
6793     # some people rename them; so instead we look at the file content.
6794     # Grep'ing the first line is not enough: some people post-process
6795     # each Makefile.in and add a new line on top of each file to say so.
6796     # Grep'ing the whole file is not good either: AIX grep has a line
6797     # limit of 2048, but all sed's we know have understand at least 4000.
6798     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6799       dirpart=`$as_dirname -- "$mf" ||
6800 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6801          X"$mf" : 'X\(//\)[^/]' \| \
6802          X"$mf" : 'X\(//\)$' \| \
6803          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6804 $as_echo X"$mf" |
6805     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6806             s//\1/
6807             q
6808           }
6809           /^X\(\/\/\)[^/].*/{
6810             s//\1/
6811             q
6812           }
6813           /^X\(\/\/\)$/{
6814             s//\1/
6815             q
6816           }
6817           /^X\(\/\).*/{
6818             s//\1/
6819             q
6820           }
6821           s/.*/./; q'`
6822     else
6823       continue
6824     fi
6825     # Extract the definition of DEPDIR, am__include, and am__quote
6826     # from the Makefile without running `make'.
6827     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6828     test -z "$DEPDIR" && continue
6829     am__include=`sed -n 's/^am__include = //p' < "$mf"`
6830     test -z "am__include" && continue
6831     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6832     # When using ansi2knr, U may be empty or an underscore; expand it
6833     U=`sed -n 's/^U = //p' < "$mf"`
6834     # Find all dependency output files, they are included files with
6835     # $(DEPDIR) in their names.  We invoke sed twice because it is the
6836     # simplest approach to changing $(DEPDIR) to its actual value in the
6837     # expansion.
6838     for file in `sed -n "
6839       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6840          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6841       # Make sure the directory exists.
6842       test -f "$dirpart/$file" && continue
6843       fdir=`$as_dirname -- "$file" ||
6844 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6845          X"$file" : 'X\(//\)[^/]' \| \
6846          X"$file" : 'X\(//\)$' \| \
6847          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6848 $as_echo X"$file" |
6849     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6850             s//\1/
6851             q
6852           }
6853           /^X\(\/\/\)[^/].*/{
6854             s//\1/
6855             q
6856           }
6857           /^X\(\/\/\)$/{
6858             s//\1/
6859             q
6860           }
6861           /^X\(\/\).*/{
6862             s//\1/
6863             q
6864           }
6865           s/.*/./; q'`
6866       as_dir=$dirpart/$fdir; as_fn_mkdir_p
6867       # echo "creating $dirpart/$file"
6868       echo '# dummy' > "$dirpart/$file"
6869     done
6870   done
6871 }
6872  ;;
6873
6874   esac
6875 done # for ac_tag
6876
6877
6878 as_fn_exit 0
6879 _ACEOF
6880 ac_clean_files=$ac_clean_files_save
6881
6882 test $ac_write_fail = 0 ||
6883   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6884
6885
6886 # configure is writing to config.log, and then calls config.status.
6887 # config.status does its own redirection, appending to config.log.
6888 # Unfortunately, on DOS this fails, as config.log is still kept open
6889 # by configure, so config.status won't be able to write to it; its
6890 # output is simply discarded.  So we exec the FD to /dev/null,
6891 # effectively closing config.log, so it can be properly (re)opened and
6892 # appended to by config.status.  When coming back to configure, we
6893 # need to make the FD available again.
6894 if test "$no_create" != yes; then
6895   ac_cs_success=:
6896   ac_config_status_args=
6897   test "$silent" = yes &&
6898     ac_config_status_args="$ac_config_status_args --quiet"
6899   exec 5>/dev/null
6900   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6901   exec 5>>config.log
6902   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6903   # would make configure fail if this is the last instruction.
6904   $ac_cs_success || as_fn_exit 1
6905 fi
6906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6907   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6909 fi
6910