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