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