~ubuntu-branches/debian/squeeze/protobuf/squeeze

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-06-02 16:19:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602161900-vm176i3ryt35yk91
Tags: 2.0.3-2.2
* Non-maintainer upload.
* Fix FTBFS from -2.1: don't fail when we can't clean up the java build,
  such as when openjdk isn't installed.
* Disable parallel builds, because libtool is made of fail (if binary-arch
  and build-indep run concurrently, we relink a library while it's being
  used; that doesn't work so well).

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
# * java/pom.xml
8
8
# * python/setup.py
9
9
# * src/google/protobuf/stubs/common.h
10
 
AC_INIT(protobuf, 2.0.0beta, protobuf@googlegroups.com)
 
10
# * src/Makefile.am (Update -version-info for LDFLAGS if needed)
 
11
AC_INIT([protobuf],[2.0.3],[protobuf@googlegroups.com])
11
12
 
12
13
AC_CONFIG_SRCDIR(src/google/protobuf/message.cc)
13
 
AM_CONFIG_HEADER(config.h)
 
14
AC_CONFIG_HEADERS([config.h])
 
15
AC_CONFIG_MACRO_DIR([m4])
14
16
AM_INIT_AUTOMAKE
15
17
 
16
18
# Checks for programs.
17
19
AC_PROG_CC
18
20
AC_PROG_CXX
 
21
ACX_USE_SYSTEM_EXTENSIONS
19
22
AC_PROG_LIBTOOL
20
23
AM_CONDITIONAL(GCC, test "$GCC" = yes)   # let the Makefile know if we're gcc
 
24
AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
 
25
 
 
26
AS_IF([test "$SUNCC" = "yes"],[
 
27
  CFLAGS="$CFLAGS -xO4 -xlibmil -xdepend -Xa -mt -xstrconst -D_FORTEC_"
 
28
  CXXFLAGS="$CXXFLAGS -xO4 -xlibmil -mt -D_FORTEC_ -xlang=c99 -compat=5 -library=stlport4 -template=no%extdef"
 
29
])
 
30
 
21
31
 
22
32
# Checks for header files.
23
33
AC_HEADER_STDC
31
41
ACX_PTHREAD
32
42
AC_CXX_STL_HASH
33
43
 
34
 
AC_OUTPUT( Makefile src/Makefile )
 
44
AC_CONFIG_FILES([Makefile src/Makefile ])
 
45
AC_OUTPUT