Update upstream source from tag 'upstream/1.12a'
Update to upstream version '1.12a'
with Debian dir 4989acd2a925f24ee14b7b55fdbc3f0b07241df1
Chris Hofstaedtler
3 years ago
139 | 139 | sending inquiries to every device returned by standard |
140 | 140 | CISS_REPORT_LUNS to get the device type. |
141 | 141 | |
142 | Changes since 1.11 | |
143 | ||
144 | * Fixed Gen8 controller names | |
145 | * Added support for Gen9 controllers | |
146 | * Fixed some compilation warnings | |
147 | * Print out Total Cache memory and Cache Ratio | |
148 | ||
149 | Changes since 1.12 | |
150 | ||
151 | * Correct some logic, use bitwise instead of logical ands |
0 | # Makefile.in generated by automake 1.15 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.16.1 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
118 | 118 | am__v_at_1 = |
119 | 119 | DEFAULT_INCLUDES = -I.@am__isrc@ |
120 | 120 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
121 | am__depfiles_maybe = depfiles | |
121 | am__maybe_remake_depfiles = depfiles | |
122 | am__depfiles_remade = ./$(DEPDIR)/cciss_vol_status.Po | |
122 | 123 | am__mv = mv -f |
123 | 124 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
124 | 125 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
326 | 327 | echo ' $(SHELL) ./config.status'; \ |
327 | 328 | $(SHELL) ./config.status;; \ |
328 | 329 | *) \ |
329 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | |
330 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | |
330 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ | |
331 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ | |
331 | 332 | esac; |
332 | 333 | |
333 | 334 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
406 | 407 | distclean-compile: |
407 | 408 | -rm -f *.tab.c |
408 | 409 | |
409 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cciss_vol_status.Po@am__quote@ | |
410 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cciss_vol_status.Po@am__quote@ # am--include-marker | |
411 | ||
412 | $(am__depfiles_remade): | |
413 | @$(MKDIR_P) $(@D) | |
414 | @echo '# dummy' >$@-t && $(am__mv) $@-t $@ | |
415 | ||
416 | am--depfiles: $(am__depfiles_remade) | |
410 | 417 | |
411 | 418 | .c.o: |
412 | 419 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
522 | 529 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
523 | 530 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
524 | 531 | |
525 | distdir: $(DISTFILES) | |
532 | distdir: $(BUILT_SOURCES) | |
533 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
534 | ||
535 | distdir-am: $(DISTFILES) | |
526 | 536 | $(am__remove_distdir) |
527 | 537 | test -d "$(distdir)" || mkdir "$(distdir)" |
528 | 538 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
562 | 572 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
563 | 573 | || chmod -R a+r "$(distdir)" |
564 | 574 | dist-gzip: distdir |
565 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | |
575 | tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz | |
566 | 576 | $(am__post_remove_distdir) |
567 | 577 | |
568 | 578 | dist-bzip2: distdir |
588 | 598 | @echo WARNING: "Support for shar distribution archives is" \ |
589 | 599 | "deprecated." >&2 |
590 | 600 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
591 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | |
601 | shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz | |
592 | 602 | $(am__post_remove_distdir) |
593 | 603 | |
594 | 604 | dist-zip: distdir |
606 | 616 | distcheck: dist |
607 | 617 | case '$(DIST_ARCHIVES)' in \ |
608 | 618 | *.tar.gz*) \ |
609 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | |
619 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ | |
610 | 620 | *.tar.bz2*) \ |
611 | 621 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
612 | 622 | *.tar.lz*) \ |
616 | 626 | *.tar.Z*) \ |
617 | 627 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
618 | 628 | *.shar.gz*) \ |
619 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |
629 | eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ | |
620 | 630 | *.zip*) \ |
621 | 631 | unzip $(distdir).zip ;;\ |
622 | 632 | esac |
728 | 738 | |
729 | 739 | distclean: distclean-am |
730 | 740 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
731 | -rm -rf ./$(DEPDIR) | |
741 | -rm -f ./$(DEPDIR)/cciss_vol_status.Po | |
732 | 742 | -rm -f Makefile |
733 | 743 | distclean-am: clean-am distclean-compile distclean-generic \ |
734 | 744 | distclean-hdr distclean-tags |
776 | 786 | maintainer-clean: maintainer-clean-am |
777 | 787 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
778 | 788 | -rm -rf $(top_srcdir)/autom4te.cache |
779 | -rm -rf ./$(DEPDIR) | |
789 | -rm -f ./$(DEPDIR)/cciss_vol_status.Po | |
780 | 790 | -rm -f Makefile |
781 | 791 | maintainer-clean-am: distclean-am maintainer-clean-generic |
782 | 792 | |
798 | 808 | |
799 | 809 | .MAKE: all install-am install-strip |
800 | 810 | |
801 | .PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \ | |
802 | clean-binPROGRAMS clean-cscope clean-generic cscope \ | |
803 | cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
811 | .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles am--refresh check \ | |
812 | check-am clean clean-binPROGRAMS clean-cscope clean-generic \ | |
813 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | |
804 | 814 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ |
805 | 815 | distcheck distclean distclean-compile distclean-generic \ |
806 | 816 | distclean-hdr distclean-tags distcleancheck distdir \ |
0 | # generated automatically by aclocal 1.15 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
0 | # generated automatically by aclocal 1.16.1 -*- Autoconf -*- | |
1 | ||
2 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
19 | 19 | If you have problems, you may need to regenerate the build system entirely. |
20 | 20 | To do so, use the procedure documented by the package, typically 'autoreconf'.])]) |
21 | 21 | |
22 | # Copyright (C) 2002-2014 Free Software Foundation, Inc. | |
22 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
23 | 23 | # |
24 | 24 | # This file is free software; the Free Software Foundation |
25 | 25 | # gives unlimited permission to copy and/or distribute it, |
31 | 31 | # generated from the m4 files accompanying Automake X.Y. |
32 | 32 | # (This private macro should not be called outside this file.) |
33 | 33 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
34 | [am__api_version='1.15' | |
34 | [am__api_version='1.16' | |
35 | 35 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
36 | 36 | dnl require some minimum version. Point them to the right macro. |
37 | m4_if([$1], [1.15], [], | |
37 | m4_if([$1], [1.16.1], [], | |
38 | 38 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
39 | 39 | ]) |
40 | 40 | |
50 | 50 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
51 | 51 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
52 | 52 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
53 | [AM_AUTOMAKE_VERSION([1.15])dnl | |
53 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
54 | 54 | m4_ifndef([AC_AUTOCONF_VERSION], |
55 | 55 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
56 | 56 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
57 | 57 | |
58 | 58 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
59 | 59 | |
60 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
60 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
61 | 61 | # |
62 | 62 | # This file is free software; the Free Software Foundation |
63 | 63 | # gives unlimited permission to copy and/or distribute it, |
109 | 109 | |
110 | 110 | # AM_CONDITIONAL -*- Autoconf -*- |
111 | 111 | |
112 | # Copyright (C) 1997-2014 Free Software Foundation, Inc. | |
112 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
113 | 113 | # |
114 | 114 | # This file is free software; the Free Software Foundation |
115 | 115 | # gives unlimited permission to copy and/or distribute it, |
140 | 140 | Usually this means the macro was only invoked conditionally.]]) |
141 | 141 | fi])]) |
142 | 142 | |
143 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
143 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
144 | 144 | # |
145 | 145 | # This file is free software; the Free Software Foundation |
146 | 146 | # gives unlimited permission to copy and/or distribute it, |
331 | 331 | |
332 | 332 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
333 | 333 | |
334 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
335 | # | |
336 | # This file is free software; the Free Software Foundation | |
337 | # gives unlimited permission to copy and/or distribute it, | |
338 | # with or without modifications, as long as this notice is preserved. | |
339 | ||
334 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
335 | # | |
336 | # This file is free software; the Free Software Foundation | |
337 | # gives unlimited permission to copy and/or distribute it, | |
338 | # with or without modifications, as long as this notice is preserved. | |
340 | 339 | |
341 | 340 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
342 | 341 | # ------------------------------ |
345 | 344 | # Older Autoconf quotes --file arguments for eval, but not when files |
346 | 345 | # are listed without --file. Let's play safe and only enable the eval |
347 | 346 | # if we detect the quoting. |
348 | case $CONFIG_FILES in | |
349 | *\'*) eval set x "$CONFIG_FILES" ;; | |
350 | *) set x $CONFIG_FILES ;; | |
351 | esac | |
347 | # TODO: see whether this extra hack can be removed once we start | |
348 | # requiring Autoconf 2.70 or later. | |
349 | AS_CASE([$CONFIG_FILES], | |
350 | [*\'*], [eval set x "$CONFIG_FILES"], | |
351 | [*], [set x $CONFIG_FILES]) | |
352 | 352 | shift |
353 | for mf | |
353 | # Used to flag and report bootstrapping failures. | |
354 | am_rc=0 | |
355 | for am_mf | |
354 | 356 | do |
355 | 357 | # Strip MF so we end up with the name of the file. |
356 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
357 | # Check whether this is an Automake generated Makefile or not. | |
358 | # We used to match only the files named 'Makefile.in', but | |
359 | # some people rename them; so instead we look at the file content. | |
360 | # Grep'ing the first line is not enough: some people post-process | |
361 | # each Makefile.in and add a new line on top of each file to say so. | |
362 | # Grep'ing the whole file is not good either: AIX grep has a line | |
358 | am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` | |
359 | # Check whether this is an Automake generated Makefile which includes | |
360 | # dependency-tracking related rules and includes. | |
361 | # Grep'ing the whole file directly is not great: AIX grep has a line | |
363 | 362 | # limit of 2048, but all sed's we know have understand at least 4000. |
364 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
365 | dirpart=`AS_DIRNAME("$mf")` | |
366 | else | |
367 | continue | |
368 | fi | |
369 | # Extract the definition of DEPDIR, am__include, and am__quote | |
370 | # from the Makefile without running 'make'. | |
371 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
372 | test -z "$DEPDIR" && continue | |
373 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
374 | test -z "$am__include" && continue | |
375 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
376 | # Find all dependency output files, they are included files with | |
377 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
378 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
379 | # expansion. | |
380 | for file in `sed -n " | |
381 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
382 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
383 | # Make sure the directory exists. | |
384 | test -f "$dirpart/$file" && continue | |
385 | fdir=`AS_DIRNAME(["$file"])` | |
386 | AS_MKDIR_P([$dirpart/$fdir]) | |
387 | # echo "creating $dirpart/$file" | |
388 | echo '# dummy' > "$dirpart/$file" | |
389 | done | |
363 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |
364 | || continue | |
365 | am_dirpart=`AS_DIRNAME(["$am_mf"])` | |
366 | am_filepart=`AS_BASENAME(["$am_mf"])` | |
367 | AM_RUN_LOG([cd "$am_dirpart" \ | |
368 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
369 | | $MAKE -f - am--depfiles]) || am_rc=$? | |
390 | 370 | done |
371 | if test $am_rc -ne 0; then | |
372 | AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments | |
373 | for automatic dependency tracking. Try re-running configure with the | |
374 | '--disable-dependency-tracking' option to at least be able to build | |
375 | the package (albeit without support for automatic dependency tracking).]) | |
376 | fi | |
377 | AS_UNSET([am_dirpart]) | |
378 | AS_UNSET([am_filepart]) | |
379 | AS_UNSET([am_mf]) | |
380 | AS_UNSET([am_rc]) | |
381 | rm -f conftest-deps.mk | |
391 | 382 | } |
392 | 383 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
393 | 384 | |
396 | 387 | # ----------------------------- |
397 | 388 | # This macro should only be invoked once -- use via AC_REQUIRE. |
398 | 389 | # |
399 | # This code is only required when automatic dependency tracking | |
400 | # is enabled. FIXME. This creates each '.P' file that we will | |
401 | # need in order to bootstrap the dependency handling code. | |
390 | # This code is only required when automatic dependency tracking is enabled. | |
391 | # This creates each '.Po' and '.Plo' makefile fragment that we'll need in | |
392 | # order to bootstrap the dependency handling code. | |
402 | 393 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
403 | 394 | [AC_CONFIG_COMMANDS([depfiles], |
404 | 395 | [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
405 | [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) | |
406 | ]) | |
396 | [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) | |
407 | 397 | |
408 | 398 | # Do all the work for Automake. -*- Autoconf -*- |
409 | 399 | |
410 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
400 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
411 | 401 | # |
412 | 402 | # This file is free software; the Free Software Foundation |
413 | 403 | # gives unlimited permission to copy and/or distribute it, |
494 | 484 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
495 | 485 | # For better backward compatibility. To be removed once Automake 1.9.x |
496 | 486 | # dies out for good. For more background, see: |
497 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
498 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
487 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
488 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
499 | 489 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
500 | 490 | # We need awk for the "check" target (and possibly the TAP driver). The |
501 | 491 | # system "awk" is bad on some platforms. |
562 | 552 | Aborting the configuration process, to ensure you take notice of the issue. |
563 | 553 | |
564 | 554 | You can download and install GNU coreutils to get an 'rm' implementation |
565 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
555 | that behaves properly: <https://www.gnu.org/software/coreutils/>. | |
566 | 556 | |
567 | 557 | If you want to complete the configuration process using your problematic |
568 | 558 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
604 | 594 | done |
605 | 595 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
606 | 596 | |
607 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
597 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
608 | 598 | # |
609 | 599 | # This file is free software; the Free Software Foundation |
610 | 600 | # gives unlimited permission to copy and/or distribute it, |
625 | 615 | fi |
626 | 616 | AC_SUBST([install_sh])]) |
627 | 617 | |
628 | # Copyright (C) 2003-2014 Free Software Foundation, Inc. | |
618 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
629 | 619 | # |
630 | 620 | # This file is free software; the Free Software Foundation |
631 | 621 | # gives unlimited permission to copy and/or distribute it, |
646 | 636 | |
647 | 637 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
648 | 638 | |
649 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
639 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
650 | 640 | # |
651 | 641 | # This file is free software; the Free Software Foundation |
652 | 642 | # gives unlimited permission to copy and/or distribute it, |
654 | 644 | |
655 | 645 | # AM_MAKE_INCLUDE() |
656 | 646 | # ----------------- |
657 | # Check to see how make treats includes. | |
647 | # Check whether make has an 'include' directive that can support all | |
648 | # the idioms we need for our automatic dependency tracking code. | |
658 | 649 | AC_DEFUN([AM_MAKE_INCLUDE], |
659 | [am_make=${MAKE-make} | |
660 | cat > confinc << 'END' | |
650 | [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) | |
651 | cat > confinc.mk << 'END' | |
661 | 652 | am__doit: |
662 | @echo this is the am__doit target | |
653 | @echo this is the am__doit target >confinc.out | |
663 | 654 | .PHONY: am__doit |
664 | 655 | END |
665 | # If we don't find an include directive, just comment out the code. | |
666 | AC_MSG_CHECKING([for style of include used by $am_make]) | |
667 | 656 | am__include="#" |
668 | 657 | am__quote= |
669 | _am_result=none | |
670 | # First try GNU make style include. | |
671 | echo "include confinc" > confmf | |
672 | # Ignore all kinds of additional output from 'make'. | |
673 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
674 | *the\ am__doit\ target*) | |
675 | am__include=include | |
676 | am__quote= | |
677 | _am_result=GNU | |
678 | ;; | |
679 | esac | |
680 | # Now try BSD make style include. | |
681 | if test "$am__include" = "#"; then | |
682 | echo '.include "confinc"' > confmf | |
683 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
684 | *the\ am__doit\ target*) | |
685 | am__include=.include | |
686 | am__quote="\"" | |
687 | _am_result=BSD | |
688 | ;; | |
689 | esac | |
690 | fi | |
691 | AC_SUBST([am__include]) | |
692 | AC_SUBST([am__quote]) | |
693 | AC_MSG_RESULT([$_am_result]) | |
694 | rm -f confinc confmf | |
695 | ]) | |
658 | # BSD make does it like this. | |
659 | echo '.include "confinc.mk" # ignored' > confmf.BSD | |
660 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |
661 | echo 'include confinc.mk # ignored' > confmf.GNU | |
662 | _am_result=no | |
663 | for s in GNU BSD; do | |
664 | AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) | |
665 | AS_CASE([$?:`cat confinc.out 2>/dev/null`], | |
666 | ['0:this is the am__doit target'], | |
667 | [AS_CASE([$s], | |
668 | [BSD], [am__include='.include' am__quote='"'], | |
669 | [am__include='include' am__quote=''])]) | |
670 | if test "$am__include" != "#"; then | |
671 | _am_result="yes ($s style)" | |
672 | break | |
673 | fi | |
674 | done | |
675 | rm -f confinc.* confmf.* | |
676 | AC_MSG_RESULT([${_am_result}]) | |
677 | AC_SUBST([am__include])]) | |
678 | AC_SUBST([am__quote])]) | |
696 | 679 | |
697 | 680 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
698 | 681 | |
699 | # Copyright (C) 1997-2014 Free Software Foundation, Inc. | |
682 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
700 | 683 | # |
701 | 684 | # This file is free software; the Free Software Foundation |
702 | 685 | # gives unlimited permission to copy and/or distribute it, |
735 | 718 | |
736 | 719 | # Helper functions for option handling. -*- Autoconf -*- |
737 | 720 | |
738 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
721 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
739 | 722 | # |
740 | 723 | # This file is free software; the Free Software Foundation |
741 | 724 | # gives unlimited permission to copy and/or distribute it, |
764 | 747 | AC_DEFUN([_AM_IF_OPTION], |
765 | 748 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
766 | 749 | |
767 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
750 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
768 | 751 | # |
769 | 752 | # This file is free software; the Free Software Foundation |
770 | 753 | # gives unlimited permission to copy and/or distribute it, |
811 | 794 | # For backward compatibility. |
812 | 795 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
813 | 796 | |
814 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
797 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
815 | 798 | # |
816 | 799 | # This file is free software; the Free Software Foundation |
817 | 800 | # gives unlimited permission to copy and/or distribute it, |
830 | 813 | |
831 | 814 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
832 | 815 | |
833 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. | |
816 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
834 | 817 | # |
835 | 818 | # This file is free software; the Free Software Foundation |
836 | 819 | # gives unlimited permission to copy and/or distribute it, |
911 | 894 | rm -f conftest.file |
912 | 895 | ]) |
913 | 896 | |
914 | # Copyright (C) 2009-2014 Free Software Foundation, Inc. | |
897 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
915 | 898 | # |
916 | 899 | # This file is free software; the Free Software Foundation |
917 | 900 | # gives unlimited permission to copy and/or distribute it, |
971 | 954 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
972 | 955 | ]) |
973 | 956 | |
974 | # Copyright (C) 2001-2014 Free Software Foundation, Inc. | |
957 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
975 | 958 | # |
976 | 959 | # This file is free software; the Free Software Foundation |
977 | 960 | # gives unlimited permission to copy and/or distribute it, |
999 | 982 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
1000 | 983 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
1001 | 984 | |
1002 | # Copyright (C) 2006-2014 Free Software Foundation, Inc. | |
985 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
1003 | 986 | # |
1004 | 987 | # This file is free software; the Free Software Foundation |
1005 | 988 | # gives unlimited permission to copy and/or distribute it, |
1018 | 1001 | |
1019 | 1002 | # Check how to create a tarball. -*- Autoconf -*- |
1020 | 1003 | |
1021 | # Copyright (C) 2004-2014 Free Software Foundation, Inc. | |
1004 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
1022 | 1005 | # |
1023 | 1006 | # This file is free software; the Free Software Foundation |
1024 | 1007 | # gives unlimited permission to copy and/or distribute it, |
21 | 21 | #if HAVE_CONFIG_H |
22 | 22 | #include <config.h> |
23 | 23 | #endif |
24 | ||
25 | #include <arpa/inet.h> | |
24 | 26 | |
25 | 27 | #define VERSION_NUMBER PACKAGE_VERSION |
26 | 28 | |
636 | 638 | int big_map_support; |
637 | 639 | int drives_per_scsi_bus; |
638 | 640 | |
639 | big_map_support = (id->controller_flags && (1<<7)); | |
641 | big_map_support = (id->controller_flags & (1<<7)); | |
640 | 642 | drives_per_scsi_bus = id->drives_per_scsi_bus;; |
641 | 643 | |
642 | 644 | /* if no big drive map support, & zero devices per scsi bus */ |
682 | 684 | copy_drive_field(model, device_data->drive_model, sizeof(device_data->drive_model)); |
683 | 685 | copy_drive_field(serial_no, device_data->drive_serial_no, sizeof(device_data->drive_serial_no)); |
684 | 686 | copy_drive_field(fw_rev, device_data->drive_fw_rev, sizeof(device_data->drive_fw_rev)); |
685 | sprintf(tail, " connector %c%c box %d bay %d %40s %40s %8s", | |
687 | sprintf(tail, " connector %c%c box %d bay %-2d %40s %40s %8s", | |
686 | 688 | device_data->phys_connector[0], |
687 | 689 | device_data->phys_connector[1], |
688 | 690 | device_data->phys_box_on_bus, |
1000 | 1002 | struct identify_physical_device device_data; |
1001 | 1003 | char location[300]; |
1002 | 1004 | |
1003 | big_map_support = (id->controller_flags && (1<<7)); | |
1005 | big_map_support = (id->controller_flags & (1<<7)); | |
1004 | 1006 | drives_per_scsi_bus = id->drives_per_scsi_bus;; |
1005 | 1007 | |
1006 | 1008 | /* if no big drive map support, & zero devices per scsi bus */ |
1097 | 1099 | break; |
1098 | 1100 | case 1: sprintf(raid_level, "RAID 4"); |
1099 | 1101 | break; |
1100 | case 2: sprintf(raid_level, "RAID 1"); | |
1102 | case 2: sprintf(raid_level, "RAID 1(1+0)"); | |
1101 | 1103 | break; |
1102 | 1104 | case 3: sprintf(raid_level, "RAID 5"); |
1103 | 1105 | break; |
1203 | 1205 | /* Eg. 6400 with internal card cage gives back bogus info */ |
1204 | 1206 | /* for me for the serial number. */ |
1205 | 1207 | strncpy(enclosure_sn, bus_param->chassis_sn, 40); |
1206 | enclosure_sn[41] = '\0'; | |
1208 | enclosure_sn[40] = '\0'; | |
1207 | 1209 | for (i = 40 - 1; i > 0; i--) |
1208 | 1210 | if (enclosure_sn[i] == ' ') { |
1209 | 1211 | enclosure_sn[i] = '\0'; |
2290 | 2292 | return; |
2291 | 2293 | |
2292 | 2294 | printf("%35s: %hu MiB\n", "Total cache memory", cache_config->total_memory_size); |
2293 | printf("%35s: %d% Read / %d% Write\n", "Cache Ratio", cache_config->percent_read_cache, cache_config->percent_write_cache); | |
2295 | printf("%35s: %d%% Read / %d%% Write\n", "Cache Ratio", cache_config->percent_read_cache, cache_config->percent_write_cache); | |
2294 | 2296 | printf("%35s: %hu MiB\n", "Read cache memory", cache_config->mem_for_read_cache); |
2295 | 2297 | printf("%35s: %hu MiB\n", "Write cache memory", cache_config->mem_for_write_cache); |
2296 | 2298 | printf("%35s: %s\n", "Write cache enabled", |
2476 | 2478 | |
2477 | 2479 | static inline int bmic_supports_big_maps(struct identify_controller *id) |
2478 | 2480 | { |
2479 | return id->controller_flags && (1<<7); | |
2481 | return id->controller_flags & (1<<7); | |
2480 | 2482 | } |
2481 | 2483 | |
2482 | 2484 | static int bmic_next_disk_bits(uint8_t *bits, int bitmapsize, int disk) |
0 | 0 | #! /bin/sh |
1 | 1 | # Wrapper for compilers which do not understand '-c -o'. |
2 | 2 | |
3 | scriptversion=2012-10-14.11; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | ||
5 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | # |
18 | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
254 | 254 | echo "compile $scriptversion" |
255 | 255 | exit $? |
256 | 256 | ;; |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ | |
258 | icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) | |
258 | 259 | func_cl_wrapper "$@" # Doesn't return... |
259 | 260 | ;; |
260 | 261 | esac |
338 | 339 | # Local Variables: |
339 | 340 | # mode: shell-script |
340 | 341 | # sh-indentation: 2 |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
342 | 343 | # time-stamp-start: "scriptversion=" |
343 | 344 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-time-zone: "UTC0" | |
345 | 346 | # time-stamp-end: "; # UTC" |
346 | 347 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for cciss_vol_status 1.12. | |
2 | # Generated by GNU Autoconf 2.69 for cciss_vol_status 1.12a. | |
3 | 3 | # |
4 | 4 | # Report bugs to <esc.storagedev@microsemi.com>. |
5 | 5 | # |
579 | 579 | # Identity of this package. |
580 | 580 | PACKAGE_NAME='cciss_vol_status' |
581 | 581 | PACKAGE_TARNAME='cciss_vol_status' |
582 | PACKAGE_VERSION='1.12' | |
583 | PACKAGE_STRING='cciss_vol_status 1.12' | |
582 | PACKAGE_VERSION='1.12a' | |
583 | PACKAGE_STRING='cciss_vol_status 1.12a' | |
584 | 584 | PACKAGE_BUGREPORT='esc.storagedev@microsemi.com' |
585 | 585 | PACKAGE_URL='' |
586 | 586 | |
635 | 635 | AMDEPBACKSLASH |
636 | 636 | AMDEP_FALSE |
637 | 637 | AMDEP_TRUE |
638 | am__quote | |
639 | 638 | am__include |
640 | 639 | DEPDIR |
641 | 640 | OBJEXT |
709 | 708 | PACKAGE_TARNAME |
710 | 709 | PACKAGE_NAME |
711 | 710 | PATH_SEPARATOR |
712 | SHELL' | |
711 | SHELL | |
712 | am__quote' | |
713 | 713 | ac_subst_files='' |
714 | 714 | ac_user_opts=' |
715 | 715 | enable_option_checking |
1265 | 1265 | # Omit some internal or obsolete options to make the list less imposing. |
1266 | 1266 | # This message is too long to be a string in the A/UX 3.1 sh. |
1267 | 1267 | cat <<_ACEOF |
1268 | \`configure' configures cciss_vol_status 1.12 to adapt to many kinds of systems. | |
1268 | \`configure' configures cciss_vol_status 1.12a to adapt to many kinds of systems. | |
1269 | 1269 | |
1270 | 1270 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1271 | 1271 | |
1332 | 1332 | |
1333 | 1333 | if test -n "$ac_init_help"; then |
1334 | 1334 | case $ac_init_help in |
1335 | short | recursive ) echo "Configuration of cciss_vol_status 1.12:";; | |
1335 | short | recursive ) echo "Configuration of cciss_vol_status 1.12a:";; | |
1336 | 1336 | esac |
1337 | 1337 | cat <<\_ACEOF |
1338 | 1338 | |
1423 | 1423 | test -n "$ac_init_help" && exit $ac_status |
1424 | 1424 | if $ac_init_version; then |
1425 | 1425 | cat <<\_ACEOF |
1426 | cciss_vol_status configure 1.12 | |
1426 | cciss_vol_status configure 1.12a | |
1427 | 1427 | generated by GNU Autoconf 2.69 |
1428 | 1428 | |
1429 | 1429 | Copyright (C) 2012 Free Software Foundation, Inc. |
1846 | 1846 | This file contains any messages produced by compilers while |
1847 | 1847 | running configure, to aid debugging if configure makes a mistake. |
1848 | 1848 | |
1849 | It was created by cciss_vol_status $as_me 1.12, which was | |
1849 | It was created by cciss_vol_status $as_me 1.12a, which was | |
1850 | 1850 | generated by GNU Autoconf 2.69. Invocation command line was |
1851 | 1851 | |
1852 | 1852 | $ $0 $@ |
2198 | 2198 | ac_config_headers="$ac_config_headers config.h" |
2199 | 2199 | |
2200 | 2200 | |
2201 | am__api_version='1.15' | |
2201 | am__api_version='1.16' | |
2202 | 2202 | |
2203 | 2203 | ac_aux_dir= |
2204 | 2204 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2713 | 2713 | |
2714 | 2714 | # Define the identity of the package. |
2715 | 2715 | PACKAGE='cciss_vol_status' |
2716 | VERSION='1.12' | |
2716 | VERSION='1.12a' | |
2717 | 2717 | |
2718 | 2718 | |
2719 | 2719 | cat >>confdefs.h <<_ACEOF |
2743 | 2743 | |
2744 | 2744 | # For better backward compatibility. To be removed once Automake 1.9.x |
2745 | 2745 | # dies out for good. For more background, see: |
2746 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
2747 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
2746 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | |
2747 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | |
2748 | 2748 | mkdir_p='$(MKDIR_P)' |
2749 | 2749 | |
2750 | 2750 | # We need awk for the "check" target (and possibly the TAP driver). The |
2795 | 2795 | Aborting the configuration process, to ensure you take notice of the issue. |
2796 | 2796 | |
2797 | 2797 | You can download and install GNU coreutils to get an 'rm' implementation |
2798 | that behaves properly: <http://www.gnu.org/software/coreutils/>. | |
2798 | that behaves properly: <https://www.gnu.org/software/coreutils/>. | |
2799 | 2799 | |
2800 | 2800 | If you want to complete the configuration process using your problematic |
2801 | 2801 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3658 | 3658 | |
3659 | 3659 | ac_config_commands="$ac_config_commands depfiles" |
3660 | 3660 | |
3661 | ||
3662 | am_make=${MAKE-make} | |
3663 | cat > confinc << 'END' | |
3661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 | |
3662 | $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } | |
3663 | cat > confinc.mk << 'END' | |
3664 | 3664 | am__doit: |
3665 | @echo this is the am__doit target | |
3665 | @echo this is the am__doit target >confinc.out | |
3666 | 3666 | .PHONY: am__doit |
3667 | 3667 | END |
3668 | # If we don't find an include directive, just comment out the code. | |
3669 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
3670 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
3671 | 3668 | am__include="#" |
3672 | 3669 | am__quote= |
3673 | _am_result=none | |
3674 | # First try GNU make style include. | |
3675 | echo "include confinc" > confmf | |
3676 | # Ignore all kinds of additional output from 'make'. | |
3677 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3678 | *the\ am__doit\ target*) | |
3679 | am__include=include | |
3680 | am__quote= | |
3681 | _am_result=GNU | |
3682 | ;; | |
3670 | # BSD make does it like this. | |
3671 | echo '.include "confinc.mk" # ignored' > confmf.BSD | |
3672 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. | |
3673 | echo 'include confinc.mk # ignored' > confmf.GNU | |
3674 | _am_result=no | |
3675 | for s in GNU BSD; do | |
3676 | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 | |
3677 | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 | |
3678 | ac_status=$? | |
3679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3680 | (exit $ac_status); } | |
3681 | case $?:`cat confinc.out 2>/dev/null` in #( | |
3682 | '0:this is the am__doit target') : | |
3683 | case $s in #( | |
3684 | BSD) : | |
3685 | am__include='.include' am__quote='"' ;; #( | |
3686 | *) : | |
3687 | am__include='include' am__quote='' ;; | |
3688 | esac ;; #( | |
3689 | *) : | |
3690 | ;; | |
3683 | 3691 | esac |
3684 | # Now try BSD make style include. | |
3685 | if test "$am__include" = "#"; then | |
3686 | echo '.include "confinc"' > confmf | |
3687 | case `$am_make -s -f confmf 2> /dev/null` in #( | |
3688 | *the\ am__doit\ target*) | |
3689 | am__include=.include | |
3690 | am__quote="\"" | |
3691 | _am_result=BSD | |
3692 | ;; | |
3693 | esac | |
3694 | fi | |
3695 | ||
3696 | ||
3697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
3698 | $as_echo "$_am_result" >&6; } | |
3699 | rm -f confinc confmf | |
3692 | if test "$am__include" != "#"; then | |
3693 | _am_result="yes ($s style)" | |
3694 | break | |
3695 | fi | |
3696 | done | |
3697 | rm -f confinc.* confmf.* | |
3698 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 | |
3699 | $as_echo "${_am_result}" >&6; } | |
3700 | 3700 | |
3701 | 3701 | # Check whether --enable-dependency-tracking was given. |
3702 | 3702 | if test "${enable_dependency_tracking+set}" = set; then : |
5138 | 5138 | # report actual input values of CONFIG_FILES etc. instead of their |
5139 | 5139 | # values after options handling. |
5140 | 5140 | ac_log=" |
5141 | This file was extended by cciss_vol_status $as_me 1.12, which was | |
5141 | This file was extended by cciss_vol_status $as_me 1.12a, which was | |
5142 | 5142 | generated by GNU Autoconf 2.69. Invocation command line was |
5143 | 5143 | |
5144 | 5144 | CONFIG_FILES = $CONFIG_FILES |
5204 | 5204 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5205 | 5205 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
5206 | 5206 | ac_cs_version="\\ |
5207 | cciss_vol_status config.status 1.12 | |
5207 | cciss_vol_status config.status 1.12a | |
5208 | 5208 | configured by $0, generated by GNU Autoconf 2.69, |
5209 | 5209 | with options \\"\$ac_cs_config\\" |
5210 | 5210 | |
5323 | 5323 | # |
5324 | 5324 | # INIT-COMMANDS |
5325 | 5325 | # |
5326 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
5326 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |
5327 | 5327 | |
5328 | 5328 | _ACEOF |
5329 | 5329 | |
5935 | 5935 | # Older Autoconf quotes --file arguments for eval, but not when files |
5936 | 5936 | # are listed without --file. Let's play safe and only enable the eval |
5937 | 5937 | # if we detect the quoting. |
5938 | case $CONFIG_FILES in | |
5939 | *\'*) eval set x "$CONFIG_FILES" ;; | |
5940 | *) set x $CONFIG_FILES ;; | |
5941 | esac | |
5938 | # TODO: see whether this extra hack can be removed once we start | |
5939 | # requiring Autoconf 2.70 or later. | |
5940 | case $CONFIG_FILES in #( | |
5941 | *\'*) : | |
5942 | eval set x "$CONFIG_FILES" ;; #( | |
5943 | *) : | |
5944 | set x $CONFIG_FILES ;; #( | |
5945 | *) : | |
5946 | ;; | |
5947 | esac | |
5942 | 5948 | shift |
5943 | for mf | |
5949 | # Used to flag and report bootstrapping failures. | |
5950 | am_rc=0 | |
5951 | for am_mf | |
5944 | 5952 | do |
5945 | 5953 | # Strip MF so we end up with the name of the file. |
5946 | mf=`echo "$mf" | sed -e 's/:.*$//'` | |
5947 | # Check whether this is an Automake generated Makefile or not. | |
5948 | # We used to match only the files named 'Makefile.in', but | |
5949 | # some people rename them; so instead we look at the file content. | |
5950 | # Grep'ing the first line is not enough: some people post-process | |
5951 | # each Makefile.in and add a new line on top of each file to say so. | |
5952 | # Grep'ing the whole file is not good either: AIX grep has a line | |
5954 | am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` | |
5955 | # Check whether this is an Automake generated Makefile which includes | |
5956 | # dependency-tracking related rules and includes. | |
5957 | # Grep'ing the whole file directly is not great: AIX grep has a line | |
5953 | 5958 | # limit of 2048, but all sed's we know have understand at least 4000. |
5954 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | |
5955 | dirpart=`$as_dirname -- "$mf" || | |
5956 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5957 | X"$mf" : 'X\(//\)[^/]' \| \ | |
5958 | X"$mf" : 'X\(//\)$' \| \ | |
5959 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
5960 | $as_echo X"$mf" | | |
5959 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ | |
5960 | || continue | |
5961 | am_dirpart=`$as_dirname -- "$am_mf" || | |
5962 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5963 | X"$am_mf" : 'X\(//\)[^/]' \| \ | |
5964 | X"$am_mf" : 'X\(//\)$' \| \ | |
5965 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
5966 | $as_echo X"$am_mf" | | |
5961 | 5967 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5962 | 5968 | s//\1/ |
5963 | 5969 | q |
5975 | 5981 | q |
5976 | 5982 | } |
5977 | 5983 | s/.*/./; q'` |
5978 | else | |
5979 | continue | |
5980 | fi | |
5981 | # Extract the definition of DEPDIR, am__include, and am__quote | |
5982 | # from the Makefile without running 'make'. | |
5983 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
5984 | test -z "$DEPDIR" && continue | |
5985 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
5986 | test -z "$am__include" && continue | |
5987 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
5988 | # Find all dependency output files, they are included files with | |
5989 | # $(DEPDIR) in their names. We invoke sed twice because it is the | |
5990 | # simplest approach to changing $(DEPDIR) to its actual value in the | |
5991 | # expansion. | |
5992 | for file in `sed -n " | |
5993 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
5994 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
5995 | # Make sure the directory exists. | |
5996 | test -f "$dirpart/$file" && continue | |
5997 | fdir=`$as_dirname -- "$file" || | |
5998 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5999 | X"$file" : 'X\(//\)[^/]' \| \ | |
6000 | X"$file" : 'X\(//\)$' \| \ | |
6001 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
6002 | $as_echo X"$file" | | |
6003 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
5984 | am_filepart=`$as_basename -- "$am_mf" || | |
5985 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ | |
5986 | X"$am_mf" : 'X\(//\)$' \| \ | |
5987 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || | |
5988 | $as_echo X/"$am_mf" | | |
5989 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
6004 | 5990 | s//\1/ |
6005 | 5991 | q |
6006 | 5992 | } |
6007 | /^X\(\/\/\)[^/].*/{ | |
5993 | /^X\/\(\/\/\)$/{ | |
6008 | 5994 | s//\1/ |
6009 | 5995 | q |
6010 | 5996 | } |
6011 | /^X\(\/\/\)$/{ | |
6012 | s//\1/ | |
6013 | q | |
6014 | } | |
6015 | /^X\(\/\).*/{ | |
5997 | /^X\/\(\/\).*/{ | |
6016 | 5998 | s//\1/ |
6017 | 5999 | q |
6018 | 6000 | } |
6019 | 6001 | s/.*/./; q'` |
6020 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
6021 | # echo "creating $dirpart/$file" | |
6022 | echo '# dummy' > "$dirpart/$file" | |
6023 | done | |
6002 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ | |
6003 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
6004 | | $MAKE -f - am--depfiles" >&5 | |
6005 | (cd "$am_dirpart" \ | |
6006 | && sed -e '/# am--include-marker/d' "$am_filepart" \ | |
6007 | | $MAKE -f - am--depfiles) >&5 2>&5 | |
6008 | ac_status=$? | |
6009 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6010 | (exit $ac_status); } || am_rc=$? | |
6024 | 6011 | done |
6012 | if test $am_rc -ne 0; then | |
6013 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
6014 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
6015 | as_fn_error $? "Something went wrong bootstrapping makefile fragments | |
6016 | for automatic dependency tracking. Try re-running configure with the | |
6017 | '--disable-dependency-tracking' option to at least be able to build | |
6018 | the package (albeit without support for automatic dependency tracking). | |
6019 | See \`config.log' for more details" "$LINENO" 5; } | |
6020 | fi | |
6021 | { am_dirpart=; unset am_dirpart;} | |
6022 | { am_filepart=; unset am_filepart;} | |
6023 | { am_mf=; unset am_mf;} | |
6024 | { am_rc=; unset am_rc;} | |
6025 | rm -f conftest-deps.mk | |
6025 | 6026 | } |
6026 | 6027 | ;; |
6027 | 6028 |