Debian Codegraph @

configure

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