libmspack 0.10.1.2 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/ext/libmspack/ChangeLog +145 -0
- data/ext/libmspack/INSTALL +3 -3
- data/ext/libmspack/Makefile.am +7 -4
- data/ext/libmspack/Makefile.in +265 -147
- data/ext/libmspack/README +3 -2
- data/ext/libmspack/aclocal.m4 +111 -113
- data/ext/libmspack/ar-lib +10 -9
- data/ext/libmspack/compile +9 -8
- data/ext/libmspack/config.guess +887 -613
- data/ext/libmspack/config.h.in +6 -9
- data/ext/libmspack/config.sub +1349 -1260
- data/ext/libmspack/configure +3035 -2490
- data/ext/libmspack/configure.ac +3 -3
- data/ext/libmspack/depcomp +4 -4
- data/ext/libmspack/install-sh +107 -74
- data/ext/libmspack/libmscabd.la +1 -1
- data/ext/libmspack/libmschmd.la +1 -1
- data/ext/libmspack/libmspack.la +1 -1
- data/ext/libmspack/ltmain.sh +156 -61
- data/ext/libmspack/m4/libtool.m4 +19 -12
- data/ext/libmspack/missing +8 -8
- data/ext/libmspack/mspack/cabd.c +21 -19
- data/ext/libmspack/mspack/chm.h +3 -2
- data/ext/libmspack/mspack/chmd.c +137 -57
- data/ext/libmspack/mspack/kwajd.c +29 -29
- data/ext/libmspack/mspack/lzx.h +0 -1
- data/ext/libmspack/mspack/lzxd.c +30 -154
- data/ext/libmspack/mspack/macros.h +64 -0
- data/ext/libmspack/mspack/mszipd.c +7 -18
- data/ext/libmspack/mspack/qtmd.c +3 -5
- data/ext/libmspack/mspack/readbits.h +14 -5
- data/ext/libmspack/mspack/readhuff.h +26 -21
- data/ext/libmspack/mspack/system.c +0 -5
- data/ext/libmspack/mspack/system.h +20 -67
- data/ext/libmspack/test-driver +16 -11
- data/ext/x86_64-linux/libmspack.so +0 -0
- data/ext/x86_64-windows/mspack.dll +0 -0
- data/lib/libmspack/version.rb +1 -1
- metadata +4 -3
data/ext/libmspack/README
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
libmspack 0.
|
1
|
+
libmspack 0.11alpha
|
2
2
|
|
3
3
|
The purpose of libmspack is to provide compressors and decompressors,
|
4
4
|
archivers and dearchivers for Microsoft compression formats: CAB, CHM, WIM,
|
@@ -90,7 +90,7 @@ examples/msexpand.c - expands an SZDD or KWAJ file
|
|
90
90
|
examples/oabextract.c - extracts an Exchange Offline Address Book (.LZX) file
|
91
91
|
|
92
92
|
test/cabd_c10 - tests the CAB decompressor on the C10 collection
|
93
|
-
test/cabd_compare - compares libmspack with Microsoft's EXTRACT.EXE
|
93
|
+
test/cabd_compare - compares libmspack with Microsoft's EXTRACT/EXPAND.EXE
|
94
94
|
test/cabd_md5 - shows MD5 checksums of all files in a CAB file/set
|
95
95
|
test/chmd_compare - compares libmspack with Microsoft's HH.EXE
|
96
96
|
test/chmd_find.c - checks all files in a CHM file can be fast-found
|
@@ -98,6 +98,7 @@ test/chmd_md5.c - shows MD5 checksums of all files within a CHM file
|
|
98
98
|
test/chmd_order.c - extracts files in a CHM file in four different ways
|
99
99
|
test/chminfo.c - prints verbose information about CHM file structures
|
100
100
|
test/msdecompile_md5 - runs Microsoft's HH.EXE -DECOMPILE via WINE
|
101
|
+
test/msexpand_md5 - runs Microsoft's EXPAND.EXE via WINE
|
101
102
|
test/msextract_md5 - runs Microsoft's EXTRACT.EXE via WINE
|
102
103
|
|
103
104
|
Here is a simple example of usage, which will create a CAB decompressor,
|
data/ext/libmspack/aclocal.m4
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# generated automatically by aclocal 1.
|
1
|
+
# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
|
2
2
|
|
3
|
-
# Copyright (C) 1996-
|
3
|
+
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
4
4
|
|
5
5
|
# This file is free software; the Free Software Foundation
|
6
6
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -14,13 +14,13 @@
|
|
14
14
|
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
15
15
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
16
16
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
17
|
-
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.
|
18
|
-
[m4_warning([this file was generated for autoconf 2.
|
17
|
+
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],,
|
18
|
+
[m4_warning([this file was generated for autoconf 2.71.
|
19
19
|
You have another version of autoconf. It may work, but is not guaranteed to.
|
20
20
|
If you have problems, you may need to regenerate the build system entirely.
|
21
21
|
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
22
22
|
|
23
|
-
# Copyright (C) 2002-
|
23
|
+
# Copyright (C) 2002-2021 Free Software Foundation, Inc.
|
24
24
|
#
|
25
25
|
# This file is free software; the Free Software Foundation
|
26
26
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
|
|
32
32
|
# generated from the m4 files accompanying Automake X.Y.
|
33
33
|
# (This private macro should not be called outside this file.)
|
34
34
|
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
35
|
-
[am__api_version='1.
|
35
|
+
[am__api_version='1.16'
|
36
36
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
37
37
|
dnl require some minimum version. Point them to the right macro.
|
38
|
-
m4_if([$1], [1.
|
38
|
+
m4_if([$1], [1.16.5], [],
|
39
39
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
40
40
|
])
|
41
41
|
|
@@ -51,12 +51,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
|
51
51
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
52
52
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
53
53
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
54
|
-
[AM_AUTOMAKE_VERSION([1.
|
54
|
+
[AM_AUTOMAKE_VERSION([1.16.5])dnl
|
55
55
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
56
56
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
57
57
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
58
58
|
|
59
|
-
# Copyright (C) 2011-
|
59
|
+
# Copyright (C) 2011-2021 Free Software Foundation, Inc.
|
60
60
|
#
|
61
61
|
# This file is free software; the Free Software Foundation
|
62
62
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -118,7 +118,7 @@ AC_SUBST([AR])dnl
|
|
118
118
|
|
119
119
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
120
120
|
|
121
|
-
# Copyright (C) 2001-
|
121
|
+
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
122
122
|
#
|
123
123
|
# This file is free software; the Free Software Foundation
|
124
124
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -170,7 +170,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
|
170
170
|
|
171
171
|
# AM_CONDITIONAL -*- Autoconf -*-
|
172
172
|
|
173
|
-
# Copyright (C) 1997-
|
173
|
+
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
|
174
174
|
#
|
175
175
|
# This file is free software; the Free Software Foundation
|
176
176
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -201,7 +201,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|
201
201
|
Usually this means the macro was only invoked conditionally.]])
|
202
202
|
fi])])
|
203
203
|
|
204
|
-
# Copyright (C) 1999-
|
204
|
+
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
205
205
|
#
|
206
206
|
# This file is free software; the Free Software Foundation
|
207
207
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -392,13 +392,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
|
|
392
392
|
|
393
393
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
394
394
|
|
395
|
-
# Copyright (C) 1999-
|
395
|
+
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
396
396
|
#
|
397
397
|
# This file is free software; the Free Software Foundation
|
398
398
|
# gives unlimited permission to copy and/or distribute it,
|
399
399
|
# with or without modifications, as long as this notice is preserved.
|
400
400
|
|
401
|
-
|
402
401
|
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
403
402
|
# ------------------------------
|
404
403
|
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
@@ -406,49 +405,43 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
406
405
|
# Older Autoconf quotes --file arguments for eval, but not when files
|
407
406
|
# are listed without --file. Let's play safe and only enable the eval
|
408
407
|
# if we detect the quoting.
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
408
|
+
# TODO: see whether this extra hack can be removed once we start
|
409
|
+
# requiring Autoconf 2.70 or later.
|
410
|
+
AS_CASE([$CONFIG_FILES],
|
411
|
+
[*\'*], [eval set x "$CONFIG_FILES"],
|
412
|
+
[*], [set x $CONFIG_FILES])
|
413
413
|
shift
|
414
|
-
|
414
|
+
# Used to flag and report bootstrapping failures.
|
415
|
+
am_rc=0
|
416
|
+
for am_mf
|
415
417
|
do
|
416
418
|
# Strip MF so we end up with the name of the file.
|
417
|
-
|
418
|
-
# Check whether this is an Automake generated Makefile
|
419
|
-
#
|
420
|
-
#
|
421
|
-
# Grep'ing the first line is not enough: some people post-process
|
422
|
-
# each Makefile.in and add a new line on top of each file to say so.
|
423
|
-
# Grep'ing the whole file is not good either: AIX grep has a line
|
419
|
+
am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
|
420
|
+
# Check whether this is an Automake generated Makefile which includes
|
421
|
+
# dependency-tracking related rules and includes.
|
422
|
+
# Grep'ing the whole file directly is not great: AIX grep has a line
|
424
423
|
# limit of 2048, but all sed's we know have understand at least 4000.
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
433
|
-
test -z "$DEPDIR" && continue
|
434
|
-
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
435
|
-
test -z "$am__include" && continue
|
436
|
-
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
437
|
-
# Find all dependency output files, they are included files with
|
438
|
-
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
439
|
-
# simplest approach to changing $(DEPDIR) to its actual value in the
|
440
|
-
# expansion.
|
441
|
-
for file in `sed -n "
|
442
|
-
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
443
|
-
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
|
444
|
-
# Make sure the directory exists.
|
445
|
-
test -f "$dirpart/$file" && continue
|
446
|
-
fdir=`AS_DIRNAME(["$file"])`
|
447
|
-
AS_MKDIR_P([$dirpart/$fdir])
|
448
|
-
# echo "creating $dirpart/$file"
|
449
|
-
echo '# dummy' > "$dirpart/$file"
|
450
|
-
done
|
424
|
+
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|
425
|
+
|| continue
|
426
|
+
am_dirpart=`AS_DIRNAME(["$am_mf"])`
|
427
|
+
am_filepart=`AS_BASENAME(["$am_mf"])`
|
428
|
+
AM_RUN_LOG([cd "$am_dirpart" \
|
429
|
+
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
430
|
+
| $MAKE -f - am--depfiles]) || am_rc=$?
|
451
431
|
done
|
432
|
+
if test $am_rc -ne 0; then
|
433
|
+
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
|
434
|
+
for automatic dependency tracking. If GNU make was not used, consider
|
435
|
+
re-running the configure script with MAKE="gmake" (or whatever is
|
436
|
+
necessary). You can also try re-running configure with the
|
437
|
+
'--disable-dependency-tracking' option to at least be able to build
|
438
|
+
the package (albeit without support for automatic dependency tracking).])
|
439
|
+
fi
|
440
|
+
AS_UNSET([am_dirpart])
|
441
|
+
AS_UNSET([am_filepart])
|
442
|
+
AS_UNSET([am_mf])
|
443
|
+
AS_UNSET([am_rc])
|
444
|
+
rm -f conftest-deps.mk
|
452
445
|
}
|
453
446
|
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
454
447
|
|
@@ -457,18 +450,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
457
450
|
# -----------------------------
|
458
451
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
459
452
|
#
|
460
|
-
# This code is only required when automatic dependency tracking
|
461
|
-
#
|
462
|
-
#
|
453
|
+
# This code is only required when automatic dependency tracking is enabled.
|
454
|
+
# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
|
455
|
+
# order to bootstrap the dependency handling code.
|
463
456
|
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
464
457
|
[AC_CONFIG_COMMANDS([depfiles],
|
465
458
|
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
466
|
-
[AMDEP_TRUE="$AMDEP_TRUE"
|
467
|
-
])
|
459
|
+
[AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
|
468
460
|
|
469
461
|
# Do all the work for Automake. -*- Autoconf -*-
|
470
462
|
|
471
|
-
# Copyright (C) 1996-
|
463
|
+
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
472
464
|
#
|
473
465
|
# This file is free software; the Free Software Foundation
|
474
466
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -496,6 +488,10 @@ m4_defn([AC_PROG_CC])
|
|
496
488
|
# release and drop the old call support.
|
497
489
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
498
490
|
[AC_PREREQ([2.65])dnl
|
491
|
+
m4_ifdef([_$0_ALREADY_INIT],
|
492
|
+
[m4_fatal([$0 expanded multiple times
|
493
|
+
]m4_defn([_$0_ALREADY_INIT]))],
|
494
|
+
[m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
|
499
495
|
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
500
496
|
dnl the ones we care about.
|
501
497
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
@@ -532,7 +528,7 @@ m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
|
532
528
|
[_AM_SET_OPTIONS([$1])dnl
|
533
529
|
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
534
530
|
m4_if(
|
535
|
-
|
531
|
+
m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
|
536
532
|
[ok:ok],,
|
537
533
|
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
538
534
|
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
@@ -555,8 +551,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
|
|
555
551
|
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
556
552
|
# For better backward compatibility. To be removed once Automake 1.9.x
|
557
553
|
# dies out for good. For more background, see:
|
558
|
-
# <
|
559
|
-
# <
|
554
|
+
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
555
|
+
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
560
556
|
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
|
561
557
|
# We need awk for the "check" target (and possibly the TAP driver). The
|
562
558
|
# system "awk" is bad on some platforms.
|
@@ -584,6 +580,20 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
|
|
584
580
|
[m4_define([AC_PROG_OBJCXX],
|
585
581
|
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
|
586
582
|
])
|
583
|
+
# Variables for tags utilities; see am/tags.am
|
584
|
+
if test -z "$CTAGS"; then
|
585
|
+
CTAGS=ctags
|
586
|
+
fi
|
587
|
+
AC_SUBST([CTAGS])
|
588
|
+
if test -z "$ETAGS"; then
|
589
|
+
ETAGS=etags
|
590
|
+
fi
|
591
|
+
AC_SUBST([ETAGS])
|
592
|
+
if test -z "$CSCOPE"; then
|
593
|
+
CSCOPE=cscope
|
594
|
+
fi
|
595
|
+
AC_SUBST([CSCOPE])
|
596
|
+
|
587
597
|
AC_REQUIRE([AM_SILENT_RULES])dnl
|
588
598
|
dnl The testsuite driver may need to know about EXEEXT, so add the
|
589
599
|
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
|
@@ -623,7 +633,7 @@ END
|
|
623
633
|
Aborting the configuration process, to ensure you take notice of the issue.
|
624
634
|
|
625
635
|
You can download and install GNU coreutils to get an 'rm' implementation
|
626
|
-
that behaves properly: <
|
636
|
+
that behaves properly: <https://www.gnu.org/software/coreutils/>.
|
627
637
|
|
628
638
|
If you want to complete the configuration process using your problematic
|
629
639
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
@@ -665,7 +675,7 @@ for _am_header in $config_headers :; do
|
|
665
675
|
done
|
666
676
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
667
677
|
|
668
|
-
# Copyright (C) 2001-
|
678
|
+
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
669
679
|
#
|
670
680
|
# This file is free software; the Free Software Foundation
|
671
681
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -686,7 +696,7 @@ if test x"${install_sh+set}" != xset; then
|
|
686
696
|
fi
|
687
697
|
AC_SUBST([install_sh])])
|
688
698
|
|
689
|
-
# Copyright (C) 2003-
|
699
|
+
# Copyright (C) 2003-2021 Free Software Foundation, Inc.
|
690
700
|
#
|
691
701
|
# This file is free software; the Free Software Foundation
|
692
702
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -707,7 +717,7 @@ AC_SUBST([am__leading_dot])])
|
|
707
717
|
|
708
718
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
709
719
|
|
710
|
-
# Copyright (C) 2001-
|
720
|
+
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
711
721
|
#
|
712
722
|
# This file is free software; the Free Software Foundation
|
713
723
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -715,49 +725,42 @@ AC_SUBST([am__leading_dot])])
|
|
715
725
|
|
716
726
|
# AM_MAKE_INCLUDE()
|
717
727
|
# -----------------
|
718
|
-
# Check
|
728
|
+
# Check whether make has an 'include' directive that can support all
|
729
|
+
# the idioms we need for our automatic dependency tracking code.
|
719
730
|
AC_DEFUN([AM_MAKE_INCLUDE],
|
720
|
-
[
|
721
|
-
cat > confinc << 'END'
|
731
|
+
[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
|
732
|
+
cat > confinc.mk << 'END'
|
722
733
|
am__doit:
|
723
|
-
@echo this is the am__doit target
|
734
|
+
@echo this is the am__doit target >confinc.out
|
724
735
|
.PHONY: am__doit
|
725
736
|
END
|
726
|
-
# If we don't find an include directive, just comment out the code.
|
727
|
-
AC_MSG_CHECKING([for style of include used by $am_make])
|
728
737
|
am__include="#"
|
729
738
|
am__quote=
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
if test "$am__include"
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
fi
|
752
|
-
AC_SUBST([am__include])
|
753
|
-
AC_SUBST([am__quote])
|
754
|
-
AC_MSG_RESULT([$_am_result])
|
755
|
-
rm -f confinc confmf
|
756
|
-
])
|
739
|
+
# BSD make does it like this.
|
740
|
+
echo '.include "confinc.mk" # ignored' > confmf.BSD
|
741
|
+
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
|
742
|
+
echo 'include confinc.mk # ignored' > confmf.GNU
|
743
|
+
_am_result=no
|
744
|
+
for s in GNU BSD; do
|
745
|
+
AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
|
746
|
+
AS_CASE([$?:`cat confinc.out 2>/dev/null`],
|
747
|
+
['0:this is the am__doit target'],
|
748
|
+
[AS_CASE([$s],
|
749
|
+
[BSD], [am__include='.include' am__quote='"'],
|
750
|
+
[am__include='include' am__quote=''])])
|
751
|
+
if test "$am__include" != "#"; then
|
752
|
+
_am_result="yes ($s style)"
|
753
|
+
break
|
754
|
+
fi
|
755
|
+
done
|
756
|
+
rm -f confinc.* confmf.*
|
757
|
+
AC_MSG_RESULT([${_am_result}])
|
758
|
+
AC_SUBST([am__include])])
|
759
|
+
AC_SUBST([am__quote])])
|
757
760
|
|
758
761
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
759
762
|
|
760
|
-
# Copyright (C) 1997-
|
763
|
+
# Copyright (C) 1997-2021 Free Software Foundation, Inc.
|
761
764
|
#
|
762
765
|
# This file is free software; the Free Software Foundation
|
763
766
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -778,12 +781,7 @@ AC_DEFUN([AM_MISSING_HAS_RUN],
|
|
778
781
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
779
782
|
AC_REQUIRE_AUX_FILE([missing])dnl
|
780
783
|
if test x"${MISSING+set}" != xset; then
|
781
|
-
|
782
|
-
*\ * | *\ *)
|
783
|
-
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
784
|
-
*)
|
785
|
-
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
786
|
-
esac
|
784
|
+
MISSING="\${SHELL} '$am_aux_dir/missing'"
|
787
785
|
fi
|
788
786
|
# Use eval to expand $SHELL
|
789
787
|
if eval "$MISSING --is-lightweight"; then
|
@@ -796,7 +794,7 @@ fi
|
|
796
794
|
|
797
795
|
# Helper functions for option handling. -*- Autoconf -*-
|
798
796
|
|
799
|
-
# Copyright (C) 2001-
|
797
|
+
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
800
798
|
#
|
801
799
|
# This file is free software; the Free Software Foundation
|
802
800
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -825,7 +823,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
|
|
825
823
|
AC_DEFUN([_AM_IF_OPTION],
|
826
824
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
827
825
|
|
828
|
-
# Copyright (C) 1999-
|
826
|
+
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
829
827
|
#
|
830
828
|
# This file is free software; the Free Software Foundation
|
831
829
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -872,7 +870,7 @@ AC_LANG_POP([C])])
|
|
872
870
|
# For backward compatibility.
|
873
871
|
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
874
872
|
|
875
|
-
# Copyright (C) 2001-
|
873
|
+
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
876
874
|
#
|
877
875
|
# This file is free software; the Free Software Foundation
|
878
876
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -891,7 +889,7 @@ AC_DEFUN([AM_RUN_LOG],
|
|
891
889
|
|
892
890
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
893
891
|
|
894
|
-
# Copyright (C) 1996-
|
892
|
+
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
895
893
|
#
|
896
894
|
# This file is free software; the Free Software Foundation
|
897
895
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -972,7 +970,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|
972
970
|
rm -f conftest.file
|
973
971
|
])
|
974
972
|
|
975
|
-
# Copyright (C) 2009-
|
973
|
+
# Copyright (C) 2009-2021 Free Software Foundation, Inc.
|
976
974
|
#
|
977
975
|
# This file is free software; the Free Software Foundation
|
978
976
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -1032,7 +1030,7 @@ AC_SUBST([AM_BACKSLASH])dnl
|
|
1032
1030
|
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
1033
1031
|
])
|
1034
1032
|
|
1035
|
-
# Copyright (C) 2001-
|
1033
|
+
# Copyright (C) 2001-2021 Free Software Foundation, Inc.
|
1036
1034
|
#
|
1037
1035
|
# This file is free software; the Free Software Foundation
|
1038
1036
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -1060,7 +1058,7 @@ fi
|
|
1060
1058
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
1061
1059
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
1062
1060
|
|
1063
|
-
# Copyright (C) 2006-
|
1061
|
+
# Copyright (C) 2006-2021 Free Software Foundation, Inc.
|
1064
1062
|
#
|
1065
1063
|
# This file is free software; the Free Software Foundation
|
1066
1064
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -1079,7 +1077,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|
1079
1077
|
|
1080
1078
|
# Check how to create a tarball. -*- Autoconf -*-
|
1081
1079
|
|
1082
|
-
# Copyright (C) 2004-
|
1080
|
+
# Copyright (C) 2004-2021 Free Software Foundation, Inc.
|
1083
1081
|
#
|
1084
1082
|
# This file is free software; the Free Software Foundation
|
1085
1083
|
# gives unlimited permission to copy and/or distribute it,
|
data/ext/libmspack/ar-lib
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
# Wrapper for Microsoft lib.exe
|
3
3
|
|
4
4
|
me=ar-lib
|
5
|
-
scriptversion=
|
5
|
+
scriptversion=2019-07-04.01; # UTC
|
6
6
|
|
7
|
-
# Copyright (C) 2010-
|
7
|
+
# Copyright (C) 2010-2021 Free Software Foundation, Inc.
|
8
8
|
# Written by Peter Rosin <peda@lysator.liu.se>.
|
9
9
|
#
|
10
10
|
# This program is free software; you can redistribute it and/or modify
|
@@ -18,7 +18,7 @@ scriptversion=2012-03-01.08; # UTC
|
|
18
18
|
# GNU General Public License for more details.
|
19
19
|
#
|
20
20
|
# You should have received a copy of the GNU General Public License
|
21
|
-
# along with this program. If not, see <
|
21
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
22
22
|
|
23
23
|
# As a special exception to the GNU General Public License, if you
|
24
24
|
# distribute this file as part of a program that contains a
|
@@ -53,7 +53,7 @@ func_file_conv ()
|
|
53
53
|
MINGW*)
|
54
54
|
file_conv=mingw
|
55
55
|
;;
|
56
|
-
CYGWIN*)
|
56
|
+
CYGWIN* | MSYS*)
|
57
57
|
file_conv=cygwin
|
58
58
|
;;
|
59
59
|
*)
|
@@ -65,7 +65,7 @@ func_file_conv ()
|
|
65
65
|
mingw)
|
66
66
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
67
67
|
;;
|
68
|
-
cygwin)
|
68
|
+
cygwin | msys)
|
69
69
|
file=`cygpath -m "$file" || echo "$file"`
|
70
70
|
;;
|
71
71
|
wine)
|
@@ -224,10 +224,11 @@ elif test -n "$extract"; then
|
|
224
224
|
esac
|
225
225
|
done
|
226
226
|
else
|
227
|
-
$AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g'
|
228
|
-
|
229
|
-
|
230
|
-
|
227
|
+
$AR -NOLOGO -LIST "$archive" | tr -d '\r' | sed -e 's/\\/\\\\/g' \
|
228
|
+
| while read member
|
229
|
+
do
|
230
|
+
$AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $?
|
231
|
+
done
|
231
232
|
fi
|
232
233
|
|
233
234
|
elif test -n "$quick$replace"; then
|
data/ext/libmspack/compile
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Wrapper for compilers which do not understand '-c -o'.
|
3
3
|
|
4
|
-
scriptversion=
|
4
|
+
scriptversion=2018-03-07.03; # UTC
|
5
5
|
|
6
|
-
# Copyright (C) 1999-
|
6
|
+
# Copyright (C) 1999-2021 Free Software Foundation, Inc.
|
7
7
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
8
8
|
#
|
9
9
|
# This program is free software; you can redistribute it and/or modify
|
@@ -17,7 +17,7 @@ scriptversion=2012-10-14.11; # UTC
|
|
17
17
|
# GNU General Public License for more details.
|
18
18
|
#
|
19
19
|
# You should have received a copy of the GNU General Public License
|
20
|
-
# along with this program. If not, see <
|
20
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
21
21
|
|
22
22
|
# As a special exception to the GNU General Public License, if you
|
23
23
|
# distribute this file as part of a program that contains a
|
@@ -53,7 +53,7 @@ func_file_conv ()
|
|
53
53
|
MINGW*)
|
54
54
|
file_conv=mingw
|
55
55
|
;;
|
56
|
-
CYGWIN*)
|
56
|
+
CYGWIN* | MSYS*)
|
57
57
|
file_conv=cygwin
|
58
58
|
;;
|
59
59
|
*)
|
@@ -67,7 +67,7 @@ func_file_conv ()
|
|
67
67
|
mingw/*)
|
68
68
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
69
69
|
;;
|
70
|
-
cygwin/*)
|
70
|
+
cygwin/* | msys/*)
|
71
71
|
file=`cygpath -m "$file" || echo "$file"`
|
72
72
|
;;
|
73
73
|
wine/*)
|
@@ -255,7 +255,8 @@ EOF
|
|
255
255
|
echo "compile $scriptversion"
|
256
256
|
exit $?
|
257
257
|
;;
|
258
|
-
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe
|
258
|
+
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
|
259
|
+
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
|
259
260
|
func_cl_wrapper "$@" # Doesn't return...
|
260
261
|
;;
|
261
262
|
esac
|
@@ -339,9 +340,9 @@ exit $ret
|
|
339
340
|
# Local Variables:
|
340
341
|
# mode: shell-script
|
341
342
|
# sh-indentation: 2
|
342
|
-
# eval: (add-hook '
|
343
|
+
# eval: (add-hook 'before-save-hook 'time-stamp)
|
343
344
|
# time-stamp-start: "scriptversion="
|
344
345
|
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
345
|
-
# time-stamp-time-zone: "
|
346
|
+
# time-stamp-time-zone: "UTC0"
|
346
347
|
# time-stamp-end: "; # UTC"
|
347
348
|
# End:
|