]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
11 years agoMerge pull request #50 from mcuelenaere/fix-win32-ascii-unicode
Tim Kientzle [Fri, 13 Dec 2013 06:01:32 +0000 (22:01 -0800)] 
Merge pull request #50 from mcuelenaere/fix-win32-ascii-unicode

Use correct variable types for ASCII Windows functions.

11 years agoMerge pull request #52 from seishun/patch-1
Tim Kientzle [Fri, 13 Dec 2013 06:00:31 +0000 (22:00 -0800)] 
Merge pull request #52 from seishun/patch-1

Remove unnecessary windows.h include

11 years agoMerge pull request #48 from kwk/master
Tim Kientzle [Fri, 13 Dec 2013 05:49:25 +0000 (21:49 -0800)] 
Merge pull request #48 from kwk/master

Added all Zip compression names from 6.3.3 format

11 years agoMerge pull request #46 from trel/master
Tim Kientzle [Fri, 13 Dec 2013 05:48:31 +0000 (21:48 -0800)] 
Merge pull request #46 from trel/master

include linux/types.h on CentOS 5 in test/test_sparse_basic.c

11 years agoENH: Allow fine grained control over dependancies
Hans Johnson [Thu, 16 May 2013 16:26:46 +0000 (11:26 -0500)] 
ENH: Allow fine grained control over dependancies

An end user may want to explicitly avoid using
a feature that can be automatically found on the
build system.  This arose when the build machine
had libraries for LZMA but the target machine
did not have those libraries available.

By allowing flags the optional features provided by
LZMA/ZLIB/BZip2/EXPAT/PCREPOSIX/LibGCC
can be explicitly removed (Default behavior is
to use what can be found).

11 years agoFix tar test build with CMake
Tim Kientzle [Fri, 13 Dec 2013 05:22:13 +0000 (21:22 -0800)] 
Fix tar test build with CMake

11 years agoMerge pull request #39 from arsenm/master
Tim Kientzle [Fri, 13 Dec 2013 04:38:05 +0000 (20:38 -0800)] 
Merge pull request #39 from arsenm/master

Fix test builds when building as a sub-project

11 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Fri, 13 Dec 2013 04:24:52 +0000 (20:24 -0800)] 
Merge branch 'master' of github.com:libarchive/libarchive

11 years agotar option mac-ext can now be used to control whether mac extensions are processed...
Tim Kientzle [Fri, 13 Dec 2013 04:24:43 +0000 (20:24 -0800)] 
tar option mac-ext can now be used to control whether mac extensions are processed; defaults to off on non-MacOS

11 years agolibarchive: Use ARCHIVE_LITERAL_ULL to add ULL integer suffix
Brad King [Mon, 9 Dec 2013 19:03:43 +0000 (14:03 -0500)] 
libarchive: Use ARCHIVE_LITERAL_ULL to add ULL integer suffix

The macro maps to an implementation that works on older compilers when
necessary.  Convert the 0ULL literal introduced by commit 6cf33c93
(Issue 320:  Rewrite (again) to avoid the left shift that CLang dislikes
so much, 2013-12-07) to use the macro.

11 years agoFix tabs.
Tim Kientzle [Sat, 7 Dec 2013 22:56:38 +0000 (14:56 -0800)] 
Fix tabs.

11 years agoIssue 320: Rewrite (again) to avoid the left shift that CLang dislikes so much.
Tim Kientzle [Sat, 7 Dec 2013 22:51:26 +0000 (14:51 -0800)] 
Issue 320:  Rewrite (again) to avoid the left shift that CLang dislikes so much.

This version simulates 2s-complement arithmetic on an
unsigned value, then casts it to signed at the end.

11 years agoIssue 332: Be more careful guessing file mode information from
Tim Kientzle [Sun, 24 Nov 2013 16:44:34 +0000 (08:44 -0800)] 
Issue 332: Be more careful guessing file mode information from
incomplete Zip archives.  In particular, some epub files have
0 in the file type part of the mode field.

11 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Sun, 24 Nov 2013 00:02:30 +0000 (16:02 -0800)] 
Merge branch 'master' of github.com:libarchive/libarchive

11 years agoAdd tests to verify that the seeking Zip reader can correctly
Tim Kientzle [Sun, 24 Nov 2013 00:01:11 +0000 (16:01 -0800)] 
Add tests to verify that the seeking Zip reader can correctly
ignore padding at beginning or end.  Fix Issue #257.

11 years agoExport the seekable and streamable zip readers separately
Tim Kientzle [Sat, 23 Nov 2013 23:59:38 +0000 (15:59 -0800)] 
Export the seekable and streamable zip readers separately
to simplify testing.

11 years agoMention the -r option when we can't find our reference files.
Tim Kientzle [Sat, 23 Nov 2013 23:59:07 +0000 (15:59 -0800)] 
Mention the -r option when we can't find our reference files.

11 years agoRemove unnecessary windows.h include 52/head
Nikolai Vavilov [Sat, 12 Oct 2013 20:42:17 +0000 (23:42 +0300)] 
Remove unnecessary windows.h include

11 years agoAvoid struct init with variable
Brad King [Thu, 26 Sep 2013 12:58:24 +0000 (08:58 -0400)] 
Avoid struct init with variable

Compilers such as Borland and MIPSpro do not like struct initialization
with variables.  Initialize using assignment instead.

11 years agoMerge branch 'simplify-link-flags'
Brad King [Wed, 25 Sep 2013 12:37:31 +0000 (08:37 -0400)] 
Merge branch 'simplify-link-flags'

11 years agoMerge branch 'no-signed-shift'
Brad King [Wed, 25 Sep 2013 12:37:26 +0000 (08:37 -0400)] 
Merge branch 'no-signed-shift'

11 years agoUse correct variable types for ASCII Windows functions. 50/head
Maurus Cuelenaere [Mon, 16 Sep 2013 12:28:46 +0000 (14:28 +0200)] 
Use correct variable types for ASCII Windows functions.

There are both an ASCII and an Unicode variant for most of the Win32 API.
Fix some inconsistent uses.

11 years agoRemoved compression_method struct type 48/head
Konrad Kleine [Fri, 13 Sep 2013 14:01:36 +0000 (16:01 +0200)] 
Removed compression_method struct type

Since it was only used in one place, I've remove the struct type.

11 years agoSimplified and fixed Zip compression method array
Konrad Kleine [Fri, 13 Sep 2013 07:22:26 +0000 (09:22 +0200)] 
Simplified and fixed Zip compression method array

I've removed the description string element from the compression_method
struct and fixed some spelling errors (imb -> ibm).

11 years agoAdded all Zip compression names from 6.3.3 format
Konrad Kleine [Thu, 12 Sep 2013 15:01:31 +0000 (17:01 +0200)] 
Added all Zip compression names from 6.3.3 format

I've added all the compression names and IDs from the ".ZIP File Format
Specification" version 6.3.3  that can be found in section "4.4.5
compression method" of this document:

http://www.pkware.com/documents/casestudies/APPNOTE.TXT

11 years agoFix chown line in shardump format
Tony Morlan [Sat, 24 Aug 2013 01:43:26 +0000 (20:43 -0500)] 
Fix chown line in shardump format

Currently the chown line is written with no space before entry name.

11 years agoSome more test cases around the "2 hours ago" concept.
Tim Kientzle [Wed, 4 Sep 2013 03:30:16 +0000 (20:30 -0700)] 
Some more test cases around the "2 hours ago" concept.

11 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Wed, 4 Sep 2013 03:27:46 +0000 (20:27 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

12 years agoinclude linux/types.h on CentOS 5 in test_sparse_basic.c 46/head
Terrell Russell [Tue, 30 Jul 2013 18:52:24 +0000 (14:52 -0400)] 
include linux/types.h on CentOS 5 in test_sparse_basic.c

Was getting this error:

In file included from ....../libarchive-3.1.2/libarchive/test/test_sparse_basic.c:44:
/usr/include/linux/fiemap.h:15: error: expected specifier-qualifier-list before ‘__u64’
/usr/include/linux/fiemap.h:26: error: expected specifier-qualifier-list before ‘__u64’

From https://groups.google.com/forum/#!msg/libarchive-discuss/691PHz5ENOc/4OzXBevG75AJ I see that the <linux/types.h> file is not included.

This fixed the problem for me on CentOS 5.8.
It was not visible as an issue on CentOS 6.3 or Ubuntu 10 or 12.

This change did not appear to break those already functioning platforms.

12 years agoSimplify passing of linker flags to try_compile calls 45/head
Brad King [Tue, 30 Jul 2013 15:37:11 +0000 (11:37 -0400)] 
Simplify passing of linker flags to try_compile calls

In commit d7bd02b6 (Modify CHECK_C_SOURCE_* checks to fix builds using
Visual Studio 12, 2013-02-01), commit e3d14342 (Set use of /SAFESEH linker
flag for all LIBARCHIVE_CHECK_C_SOURCE_* checks, 2013-02-01), and commit
58dc42aa (Fix checks for crypto algorithms in Visual Studio builds,
2013-02-01) we introduced and used custom copies of the CMake
CheckCSource(Compiles|Runs) modules in order to pass linker flags to
try_compile calls.  CMake has an issue tracker entry about passing
CMAKE_*_LINKER_FLAGS to try_compile calls:

  http://www.cmake.org/Bug/view.php?id=14066

Discussion there suggests a much simpler workaround: pass the flags
through the LDFLAGS environment variable.  Remove our custom check
macros and use the simpler workaround instead.

12 years agohttp://code.google.com/p/libarchive/issues/detail?id=325
Tim Kientzle [Fri, 12 Jul 2013 16:14:20 +0000 (09:14 -0700)] 
http://code.google.com/p/libarchive/issues/detail?id=325

Close the file handle on error.

12 years agohttp://code.google.com/p/libarchive/issues/detail?id=325
Tim Kientzle [Fri, 12 Jul 2013 16:12:34 +0000 (09:12 -0700)] 
http://code.google.com/p/libarchive/issues/detail?id=325

Simplify the method/level checks here and fix a bug.

12 years agoAdd more files autogenerated by automake build system to .gitignore.
Andres Mejia [Sat, 29 Jun 2013 19:53:08 +0000 (15:53 -0400)] 
Add more files autogenerated by automake build system to .gitignore.

12 years agoUse ustar format in the test_option_b test
Pavel Raiskup [Thu, 27 Jun 2013 14:01:30 +0000 (16:01 +0200)] 
Use ustar format in the test_option_b test

.. because the ustar archive does not store SELinux context.  As the default
format for bsdtar is "restricted pax" (trying to store xattrs and other
things by default), the test failed on Fedora because our files have by
default SELinux context set.  This results in additional data in tested
archive ~> and the test failed because the archive was unexpectedly big:

 tar/test/test_option_b.c:41: File archive1.tar has size 3072, expected 2048

Reviewed by Konrad Kleine <konrad.wilhelm.kleine@gmail.com>

12 years agoRework the sign-extension to avoid left-shift of
Tim Kientzle [Sat, 29 Jun 2013 15:15:23 +0000 (08:15 -0700)] 
Rework the sign-extension to avoid left-shift of
an explicit negative number (which newer GCC complains about).

12 years agoUpdated libarchive.spec from Nikolai Lifanov.
Tim Kientzle [Wed, 1 May 2013 15:55:40 +0000 (08:55 -0700)] 
Updated libarchive.spec from Nikolai Lifanov.

12 years agoMerge pull request #32 from bamiaux/fix_win32_exclusive_read_access
Tim Kientzle [Sun, 14 Apr 2013 04:38:30 +0000 (21:38 -0700)] 
Merge pull request #32 from bamiaux/fix_win32_exclusive_read_access

Do not require exclusive read access when reading files under windows

12 years agoMerge pull request #40 from juikim/master
Tim Kientzle [Sun, 14 Apr 2013 01:42:08 +0000 (18:42 -0700)] 
Merge pull request #40 from juikim/master

Do not overwrite file size if the local file header has valid file size.

12 years agoIssue 314: A tar archive containing only a single 'g' record
Tim Kientzle [Thu, 11 Apr 2013 04:52:15 +0000 (21:52 -0700)] 
Issue 314:  A tar archive containing only a single 'g' record
should be treated as a valid empty tar archive.
(Such archives are generated by 'git archive' from an empty
repository.)

http://thread.gmane.org/gmane.comp.version-control.git/220485
http://code.google.com/p/libarchive/issues/detail?id=314

12 years agoExpose the generic archive_free hook
Tim Kientzle [Sat, 6 Apr 2013 19:17:52 +0000 (12:17 -0700)] 
Expose the generic archive_free hook

12 years agoIf seek fails, fail the xar read. We should be able to do better than this.
Tim Kientzle [Sat, 6 Apr 2013 19:06:15 +0000 (12:06 -0700)] 
If seek fails, fail the xar read.  We should be able to do better than this.

12 years agoDo not overwrite file size if the local file header has valid file size. 40/head
Jung-uk Kim [Mon, 1 Apr 2013 21:02:18 +0000 (17:02 -0400)] 
Do not overwrite file size if the local file header has valid file size.
This allows us to extract index.xml from Apple iWork '09 format files.

12 years agoMerge pull request #33 from xiw/overflow
Tim Kientzle [Sat, 30 Mar 2013 17:58:21 +0000 (10:58 -0700)] 
Merge pull request #33 from xiw/overflow

Fix overflow checking in archive_entry_sparse_add_entry()

12 years agoLimit write requests to at most INT_MAX.
Tim Kientzle [Sat, 23 Mar 2013 06:48:41 +0000 (23:48 -0700)] 
Limit write requests to at most INT_MAX.
This prevents a certain common programming error (passing -1 to write)
from leading to other problems deeper in the library.

12 years agoFix overflow checking in archive_entry_sparse_add_entry() 33/head
Xi Wang [Sun, 20 Jan 2013 23:17:20 +0000 (18:17 -0500)] 
Fix overflow checking in archive_entry_sparse_add_entry()

gcc will optimize the overflow check x + y < 0 (assuming x, y >= 0)
into false, since signed integer overflow is undefined behavior in C.
Use a safe precondition check instead.

12 years agoFix cmake test builds when building as a sub-project 39/head
Matt Arsenault [Wed, 13 Mar 2013 04:27:39 +0000 (21:27 -0700)] 
Fix cmake test builds when building as a sub-project

12 years agoFix test_archive_write_add_filter_by_name_lrzip test case.
Andres Mejia [Sun, 24 Feb 2013 18:06:28 +0000 (13:06 -0500)] 
Fix test_archive_write_add_filter_by_name_lrzip test case.
There's some bug in lrzip where small files cannot use 2nd stage
compression.
See http://ck-hack.blogspot.com/2012/03/lrzip-0612.html?showComment=1337356929450#c3154145708572533571

12 years agoAllow the option to use no 2nd stage compression with lrzip.
Andres Mejia [Sun, 24 Feb 2013 18:05:33 +0000 (13:05 -0500)] 
Allow the option to use no 2nd stage compression with lrzip.

12 years agoInitialize buff to all zeros.
Andres Mejia [Sun, 24 Feb 2013 17:54:44 +0000 (12:54 -0500)] 
Initialize buff to all zeros.

12 years agoFix test cases for LZO write support.
Andres Mejia [Sun, 24 Feb 2013 16:54:26 +0000 (11:54 -0500)] 
Fix test cases for LZO write support.
Some architectures would produce a bigger archive for compression
level 9 than with the default level, possibly due to memory
limitations.
Fixes #303

12 years agowrite_raw support from Marek Kubica
Tim Kientzle [Sat, 23 Feb 2013 21:19:59 +0000 (13:19 -0800)] 
write_raw support from Marek Kubica

Merged branch 'feature/write-format-raw' of https://github.com/Leonidas-from-XIV/libarchive

12 years agoRevert "Allow adding extra CFLAGS with a configure option."
Andres Mejia [Sat, 23 Feb 2013 02:40:33 +0000 (21:40 -0500)] 
Revert "Allow adding extra CFLAGS with a configure option."

This reverts commit 64b3cefbdbc0d6deef1dd3bcde890e273c323168.

Apparently, setting CFLAGS won't override the preset AM_CFLAGS
afterall. Not sure why this was giving me a problem before.

12 years agoRevert "Remove unnecessary use of arguments from AC_ARG_WITH([extra-cflags])."
Andres Mejia [Sat, 23 Feb 2013 02:40:07 +0000 (21:40 -0500)] 
Revert "Remove unnecessary use of arguments from AC_ARG_WITH([extra-cflags])."

This reverts commit 6a917dcd1378e2a50ece9f007e79a8a5058a59cb.

12 years agoRemove unnecessary use of arguments from AC_ARG_WITH([extra-cflags]).
Andres Mejia [Sat, 23 Feb 2013 01:10:08 +0000 (20:10 -0500)] 
Remove unnecessary use of arguments from AC_ARG_WITH([extra-cflags]).

12 years agoAllow adding extra CFLAGS with a configure option.
Andres Mejia [Sat, 23 Feb 2013 01:02:40 +0000 (20:02 -0500)] 
Allow adding extra CFLAGS with a configure option.
This is a convenience option to pass in extra CFLAGS without overriding other
CFLAGS.

12 years agoFix compile warning due to -Wcast-qual.
Andres Mejia [Sat, 23 Feb 2013 01:01:42 +0000 (20:01 -0500)] 
Fix compile warning due to -Wcast-qual.

12 years agoFix compiler warning from compiling with clang.
Andres Mejia [Fri, 22 Feb 2013 01:14:16 +0000 (20:14 -0500)] 
Fix compiler warning from compiling with clang.
Assigning from a read-only variable to a regular variable will issue
a warning from clang.

12 years agoAdd test case for adding pathnames with no leading './' in mtree format.
Andres Mejia [Fri, 22 Feb 2013 00:51:22 +0000 (19:51 -0500)] 
Add test case for adding pathnames with no leading './' in mtree format.
libarchive should add the leading './' for such pathnames.

12 years agomtree: fix line filename length calculation.
Dave Reisner [Fri, 22 Feb 2013 00:01:06 +0000 (19:01 -0500)] 
mtree: fix line filename length calculation.
Fixes #301.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
12 years agoTest correct archive in test_extract_cpio_lzo test case.
Andres Mejia [Thu, 21 Feb 2013 23:03:09 +0000 (18:03 -0500)] 
Test correct archive in test_extract_cpio_lzo test case.

12 years agostyle fix
Tim Kientzle [Sun, 17 Feb 2013 02:40:30 +0000 (18:40 -0800)] 
style fix

12 years agoMerge pull request #38 from Leonidas-from-XIV/bugfix/optional-finish-entry
Tim Kientzle [Sun, 17 Feb 2013 02:37:17 +0000 (18:37 -0800)] 
Merge pull request #38 from Leonidas-from-XIV/bugfix/optional-finish-entry

Make calls to the finish_entry callback optional

12 years agoMade calls to the finish_entry callback optional 38/head
Marek Kubica [Sat, 16 Feb 2013 23:36:56 +0000 (00:36 +0100)] 
Made calls to the finish_entry callback optional

12 years agoRedo the strings sorting function, allocate/free memory as needed.
Andres Mejia [Sun, 10 Feb 2013 03:09:30 +0000 (22:09 -0500)] 
Redo the strings sorting function, allocate/free memory as needed.
This is the normal implementation of quicksort.

12 years agoAdd a convenience function to sort a list of strings.
Andres Mejia [Sun, 10 Feb 2013 00:13:53 +0000 (19:13 -0500)] 
Add a convenience function to sort a list of strings.
This is useful for sorting a list of filepaths to
multivolume RARs for example.

12 years agoSet offset to correct data type.
Martin Pitt [Sat, 9 Feb 2013 19:09:04 +0000 (14:09 -0500)] 
Set offset to correct data type.
Fixes #282
Signed-off-by: Andres Mejia <amejia004@gmail.com>
12 years agoUse correct define for libarchive version number in archive.h.
Martin Pitt [Sat, 9 Feb 2013 19:07:28 +0000 (14:07 -0500)] 
Use correct define for libarchive version number in archive.h.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
12 years agoSet a default error message if message passed in is NULL.
Benjamin Drung [Sat, 9 Feb 2013 19:05:36 +0000 (14:05 -0500)] 
Set a default error message if message passed in is NULL.
Signed-off-by: Andres Mejia <amejia004@gmail.com>
12 years agoFix build failure of example program because of __FBSDID define.
Benjamin Drung [Sat, 9 Feb 2013 18:58:53 +0000 (13:58 -0500)] 
Fix build failure of example program because of __FBSDID define.
Fixes #283
Signed-off-by: Andres Mejia <amejia004@gmail.com>
12 years agoReenable developer cflags.
Andres Mejia [Sat, 9 Feb 2013 18:45:18 +0000 (13:45 -0500)] 
Reenable developer cflags.

12 years agoUpdate NEWS file. v3.1.2
Andres Mejia [Sat, 9 Feb 2013 17:17:57 +0000 (12:17 -0500)] 
Update NEWS file.

12 years agoRemove developer cflags.
Andres Mejia [Sat, 9 Feb 2013 17:11:03 +0000 (12:11 -0500)] 
Remove developer cflags.

12 years agoBump version to 3.1.2.
Andres Mejia [Sat, 9 Feb 2013 04:00:28 +0000 (23:00 -0500)] 
Bump version to 3.1.2.

12 years agoUpdate libarchive website location.
Andres Mejia [Sat, 9 Feb 2013 03:19:44 +0000 (22:19 -0500)] 
Update libarchive website location.

12 years agoRemove the 4th argument to CRYPTO_CHECK, it is no longer used.
Andres Mejia [Sat, 9 Feb 2013 00:21:53 +0000 (19:21 -0500)] 
Remove the 4th argument to CRYPTO_CHECK, it is no longer used.

12 years agoFix check for openssl on Windows.
Andres Mejia [Fri, 8 Feb 2013 21:15:37 +0000 (16:15 -0500)] 
Fix check for openssl on Windows.

OpenSSL libraries are named differently on Windows.

12 years agoChange crypto checks, find necessary library before corresponding checks are done.
Andres Mejia [Fri, 8 Feb 2013 20:00:05 +0000 (15:00 -0500)] 
Change crypto checks, find necessary library before corresponding checks are done.
LIBS are set back to original value if all crypto checks for that implementation
fail.

12 years agoInitialize buff, fix valgrind warning about use of uninitialized bytes.
Andres Mejia [Fri, 8 Feb 2013 01:04:40 +0000 (20:04 -0500)] 
Initialize buff, fix valgrind warning about use of uninitialized bytes.

12 years agoMerge pull request #36 from falconindy/manpages
Andres Mejia [Fri, 8 Feb 2013 00:08:18 +0000 (16:08 -0800)] 
Merge pull request #36 from falconindy/manpages

build-sys: install all library manpages

12 years agoCast comparison functions to __compar_fn_t if stdlib.h defines it.
Andres Mejia [Thu, 7 Feb 2013 21:57:22 +0000 (16:57 -0500)] 
Cast comparison functions to __compar_fn_t if stdlib.h defines it.

12 years agoFix warnings about redefinition of variables, use either sys/xattr.h or attr/xattr.h.
Andres Mejia [Thu, 7 Feb 2013 21:57:22 +0000 (16:57 -0500)] 
Fix warnings about redefinition of variables, use either sys/xattr.h or attr/xattr.h.

12 years agoFix warning about unused variable triggered when not building on WIN32.
Andres Mejia [Thu, 7 Feb 2013 21:57:22 +0000 (16:57 -0500)] 
Fix warning about unused variable triggered when not building on WIN32.

12 years agoModel the pcre checks for the autotools build system to be similar as that used in...
Andres Mejia [Thu, 7 Feb 2013 00:17:25 +0000 (19:17 -0500)] 
Model the pcre checks for the autotools build system to be similar as that used in the cmake build system.

12 years agoSet WINVER default to use Windows 2000 API.
Andres Mejia [Wed, 6 Feb 2013 00:04:37 +0000 (19:04 -0500)] 
Set WINVER default to use Windows 2000 API.

12 years agoRemove redundant defines of WINVER and _WIN32_WINNT from CRYPTO_CHECK_WIN.
Andres Mejia [Tue, 5 Feb 2013 23:23:53 +0000 (18:23 -0500)] 
Remove redundant defines of WINVER and _WIN32_WINNT from CRYPTO_CHECK_WIN.

Defines will be added from confdefs.h which is generated while configure script executes.

12 years agoProvide better check for when libpcreposix is to be used for regex support.
Andres Mejia [Tue, 5 Feb 2013 22:51:15 +0000 (17:51 -0500)] 
Provide better check for when libpcreposix is to be used for regex support.

On Windows, if the static libraries for PCRE are to be used and the PCRE static libs were built
using the mingw toolchain, libgcc must also be linked for resolving the symbol ___chkstk_ms.

12 years agoFix pcre checks to work on visual studio builds using pcre static libraries built...
Andres Mejia [Tue, 5 Feb 2013 22:51:13 +0000 (17:51 -0500)] 
Fix pcre checks to work on visual studio builds using pcre static libraries built using mingw toolchain.

12 years agoAdd check for finding libgcc.
Andres Mejia [Tue, 5 Feb 2013 22:51:11 +0000 (17:51 -0500)] 
Add check for finding libgcc.

12 years agobuild-sys: install all library manpages 36/head
Dave Reisner [Fri, 6 Jul 2012 03:31:49 +0000 (23:31 -0400)] 
build-sys: install all library manpages

A number of manpages were curiously omitted from the installation
process, but are referred to in installed manpages. To avoid developers
spontaneously combusting, ship all available manpages.

12 years agoFix crypto check failures on Windows.
Andres Mejia [Mon, 4 Feb 2013 03:05:34 +0000 (22:05 -0500)] 
Fix crypto check failures on Windows.

Checks will now be similar to checks done with autotools, where all defines are passed into a source file
along with the append source code to be checked. Also, once a library that support a crypto function is
found, all other checks for that crypto function will be skipped.

12 years agoCorrect ordering of preferred library for crypto function in mingw builds.
Andres Mejia [Sun, 3 Feb 2013 23:21:30 +0000 (18:21 -0500)] 
Correct ordering of preferred library for crypto function in mingw builds.

12 years agoPartially revert commit 58dc42aaea93cd281aafaaaa4c3926c3578b7e26 as this broke mingw...
Andres Mejia [Sun, 3 Feb 2013 22:42:45 +0000 (17:42 -0500)] 
Partially revert commit 58dc42aaea93cd281aafaaaa4c3926c3578b7e26 as this broke mingw builds.

12 years agoUpdate the ordering of preferred libraries that provide crypto functions.
Andres Mejia [Sun, 3 Feb 2013 22:40:00 +0000 (17:40 -0500)] 
Update the ordering of preferred libraries that provide crypto functions.

12 years agoMake sure to check for Windows crypto functions for both mingw and cygwin.
Andres Mejia [Sun, 3 Feb 2013 06:49:21 +0000 (01:49 -0500)] 
Make sure to check for Windows crypto functions for both mingw and cygwin.

12 years agoAdd *.exe to .gitignore.
Andres Mejia [Sun, 3 Feb 2013 06:44:33 +0000 (01:44 -0500)] 
Add *.exe to .gitignore.

12 years agoFix mingw build because of bad check for libpcreposix.
Andres Mejia [Sun, 3 Feb 2013 06:42:59 +0000 (01:42 -0500)] 
Fix mingw build because of bad check for libpcreposix.

12 years agoMake POSIX regex checks cleaner.
Andres Mejia [Sun, 3 Feb 2013 04:46:44 +0000 (23:46 -0500)] 
Make POSIX regex checks cleaner.

12 years agoUse different check for libbz2 on Windows.
Andres Mejia [Sun, 3 Feb 2013 03:56:39 +0000 (22:56 -0500)] 
Use different check for libbz2 on Windows.

Windows port of libbz2 cannot use AC_CHECK_LIB.
See https://mail.gnome.org/archives/gnumeric-list/2008-November/msg00038.html for an explanation.

12 years agoDo not ignore errors when generating documentation.
Andres Mejia [Sat, 2 Feb 2013 23:42:30 +0000 (18:42 -0500)] 
Do not ignore errors when generating documentation.
This will ensure documentation is actually generated when building
release tarballs.

12 years agoUse same check from cmake in autotools for POSIX regex support.
Andres Mejia [Sat, 2 Feb 2013 06:23:40 +0000 (01:23 -0500)] 
Use same check from cmake in autotools for POSIX regex support.