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