Debian Codegraph @

external/crcutil-1.0/configure

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