blob: 4543e47d01693a746c809051ebbec89a7b6b2417 [file] [log] [blame]
temporal40ee5512008-07-10 02:12:20 +00001## Process this file with autoconf to produce configure.
2## In general, the safest way to proceed is to run ./autogen.sh
3
4AC_PREREQ(2.59)
5
6# Note: If you change the version, you must also update it in:
7# * java/pom.xml
8# * python/setup.py
9# * src/google/protobuf/stubs/common.h
kenton@google.comc76caac2008-09-30 22:11:21 +000010AC_INIT([protobuf],[2.0.2-SNAPSHOT],[protobuf@googlegroups.com])
temporal40ee5512008-07-10 02:12:20 +000011
12AC_CONFIG_SRCDIR(src/google/protobuf/message.cc)
kenton@google.comc76caac2008-09-30 22:11:21 +000013AC_CONFIG_HEADERS([config.h])
temporal40ee5512008-07-10 02:12:20 +000014AM_INIT_AUTOMAKE
15
16# Checks for programs.
17AC_PROG_CC
18AC_PROG_CXX
19AC_PROG_LIBTOOL
20AM_CONDITIONAL(GCC, test "$GCC" = yes) # let the Makefile know if we're gcc
21
22# Checks for header files.
23AC_HEADER_STDC
24AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h stdlib.h unistd.h])
25
26# Checks for library functions.
27AC_FUNC_MEMCMP
28AC_FUNC_STRTOD
29AC_CHECK_FUNCS([ftruncate memset mkdir strchr strerror strtol])
30
31ACX_PTHREAD
32AC_CXX_STL_HASH
33
kenton@google.comc76caac2008-09-30 22:11:21 +000034AC_CONFIG_FILES([Makefile src/Makefile ])
35AC_OUTPUT