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