HAVE_SYS_CDEFS_H to control the inclusion of sys/cdefs.h and
defining a fake __FBSDID() macro if we need one. In particular,
this deals a lot more gracefully with systems that are not
FreeBSD but use FreeBSD-derived system headers.
See Issue 46 on libarchive.googlecode.com for discussion.
Submitted by: cpr420
SVN-Revision: 1565
This needs to be implemented in the autoconf machinery
and tar and cpio need to be taught to use it when printing
very large numbers.
SVN-Revision: 1351
the style of built-in cmake tests:
* One test per invocation
* macro name is explicit
Convert some of the tests to CHECK_SYMBOL_EXISTS(),
which further reduces some of the magic within the
old CHECK_FUNCS. It is now primarily an extended
version of CHECK_FUNCTION_EXISTS that understands the
glibc __stub_ convention for marking functions that
should be treated as nonexistent even though they
do exist in the local library. I've renamed the
macro to CHECK_FUNCTION_EXISTS_GLIBC to better
reflect this.
SVN-Revision: 1308
the build/autoconf dir. We may need to further split that
out to separate the files that get generated by autoconf/automake/etc
from the files that are provided by libarchive.
SVN-Revision: 828
build/m4/la_syslibsearchpath.m4: New. Allows to automatically
determine where binmode.o is located, even on cross builds (hopefully).
configure.ac: specify AC_CONFIG_MACRO_DIR, AC_CANONICAL_HOST, and
AC_LIBTOOL_WIN32_DLL. Add new AM_CONDITIONALs INC_WINDOWS_FILES and
INC_CYGWIN_FILES. Use new macro LA_SYS_LIB_SEARCH_PATH to set
new AC_SUBST, PROG_LDADD_EXTRA, to <some path>/binmode.o on cygwin.
Makefile.am: Specify ACLOCAL_AMFLAGS. Use INC_WINDOWS_FILES and
INC_CYGWIN_FILES where appropriate. Update all *_EXTRA_DIST variables
with new files. Add -DLIBARCHIVE_STATIC to all *_test_CPPFLAGS. Add
or update existing ${APP}_LDADD to specify @PROG_LDADD_EXTRA@ (this
enables to link apps with binmode.o on cygwin).
Works on cygwin (ac-2.63, am-1.10.1, libtool-2.2.7a). Passes all tests.
Works on linux (ac-2.61, am-1.10, libtool-1.5.22). Passes all tests.
Makefile.am | 75 +++++++++++++++++++++++++++++++----
build/m4/la_syslibsearchpath.m4 | 84 ++++++++++++++++++++++++++++++++++++++++
configure.ac | 34 ++++++++++++++++
SVN-Revision: 827
The GNU C library defines stub functions(chflags, fchflags..),
and so cmake detecting the function process found out that
stub function. This commit avoid detecting the stub function.
SVN-Revision: 812
build/cmake and the windows build files down into build/windows.
I intend to do the same with the autoconf files, but that will
require a little more creativity.
SVN-Revision: 610