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