diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-03-02 00:39:48 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-03-02 00:39:48 +0000 |
commit | de545c09d0363e6964822ec92529a80feaca152d (patch) | |
tree | ca6411127fed322c8f789a6b907ca93b9022b353 /configure.ac | |
parent | Breakpad Linux symbol dumper: Handle programs linked with --gc-sections. (diff) | |
download | breakpad-de545c09d0363e6964822ec92529a80feaca152d.tar.xz |
ARM support, with some build system changes to support x86-64, arm, and i386 in an autoconf style build in Linux. The O2 build for the unit tests is still broken but I'm checking this in to unblock people
A=nealsid
R=ajwong, hannahtang, ted.mielczarek
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@541 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 117856d8..209fe06a 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,26 @@ AC_PROG_LIBTOOL AC_SUBST(LIBTOOL_DEPS) AC_HEADER_STDC +m4_include(m4/ax_pthread.m4) +AX_PTHREAD + +AC_ARG_ENABLE(m32, + AS_HELP_STRING([--enable-m32], + [Compile/build with -m32] + [(default is no)]), + [case "${enableval}" in + yes) + CFLAGS=$(CFLAGS) -m32 + usem32=true + ;; + no) + usem32=false + ;; + *) + AC_MSG_ERROR(bad value ${enableval} for --enable-m32) + ;; + esac], + [usem32=false]) AC_ARG_ENABLE(selftest, AS_HELP_STRING([--enable-selftest], |