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