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