diff options
author | Baligh Uddin <baligh@google.com> | 2013-11-01 16:01:04 -0700 |
---|---|---|
committer | Baligh Uddin <baligh@google.com> | 2013-11-01 16:01:04 -0700 |
commit | e3234efd26ff1ee30da0d1b5fb335384a0e460d6 (patch) | |
tree | 397b357285cc32d233d3537bf222757d937ea816 /testdata/configure.ac.v0.2 | |
parent | 54c5956c89c52a2e22f2ea67e491817b39fa8699 (diff) | |
parent | e485ff1fb732be2dff497b6aed11d5c0d681de82 (diff) | |
download | open-vcdiff-e3234efd26ff1ee30da0d1b5fb335384a0e460d6.tar.gz |
Merge remote-tracking branch 'origin/kitkat-dev'chromium_org-pre-replicationidea133
Diffstat (limited to 'testdata/configure.ac.v0.2')
-rw-r--r-- | testdata/configure.ac.v0.2 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/testdata/configure.ac.v0.2 b/testdata/configure.ac.v0.2 new file mode 100644 index 0000000..8872538 --- /dev/null +++ b/testdata/configure.ac.v0.2 @@ -0,0 +1,55 @@ +## Process this file with autoconf to produce configure. +## In general, the safest way to proceed is to run ./autogen.sh + +# make sure we're interpreted by some minimal autoconf +AC_PREREQ(2.57) + +AC_INIT(open-vcdiff, 0.2, opensource@google.com) +AC_CONFIG_SRCDIR(README) +AM_INIT_AUTOMAKE +AM_CONFIG_HEADER(src/config.h) + +# Checks for programs. +AC_PROG_CC +AC_PROG_CPP +AC_PROG_CXX +AM_CONDITIONAL(GCC, test "$GCC" = yes) # let the Makefile know if we're gcc +AC_CANONICAL_HOST + +AC_PROG_LIBTOOL +AC_SUBST(LIBTOOL_DEPS) + +# Check whether some low-level functions/files are available +AC_HEADER_STDC + +case $host in + *86*-*-*bsd* | *86*-*-gnu*) + AC_DEFINE(VCDIFF_USE_BLOCK_COMPARE_WORDS, 1, + Use custom compare function instead of memcmp) + ;; +esac + +AC_CHECK_HEADERS([ext/rope]) +AC_CHECK_HEADERS([getopt.h]) +AC_CHECK_HEADERS([malloc.h]) +AC_CHECK_HEADERS([sys/mman.h]) +AC_CHECK_HEADERS([sys/time.h]) +AC_CHECK_HEADERS([unistd.h]) +AC_CHECK_HEADERS([windows.h]) +AC_CHECK_FUNCS([gettimeofday QueryPerformanceCounter]) +AC_CHECK_FUNCS([memalign posix_memalign]) +AC_CHECK_FUNCS([mprotect]) + +# Start of definitions needed by gflags package + +AC_CHECK_HEADERS([stdint.h sys/types.h inttypes.h]) +AC_CHECK_HEADERS([fnmatch.h]) +AC_CHECK_FUNCS([strtoll strtoq]) +AC_CHECK_TYPES([uint16_t, u_int16_t, __int16]) + +AX_C___ATTRIBUTE__ + +# End of definitions needed by gflags package + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT |