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