Debian Codegraph @

configure

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