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