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