summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPekka Nikander <pekka.nikander@senseg.com>2012-05-11 19:23:21 +0300
committerUwe Hermann <uwe@hermann-uwe.de>2012-05-15 20:58:20 +0200
commitbdd820e3c0c2681b171fc7cc0198244f40a64b34 (patch)
treea54b48fa6044216bddb9d21cd819084f5fc5df0a /configure.ac
parent1cc590f73673ce209ae41d6aa42ffa9a60649415 (diff)
downloadlibsigrokdecode-bdd820e3c0c2681b171fc7cc0198244f40a64b34.tar.gz
libsigrokdecode-bdd820e3c0c2681b171fc7cc0198244f40a64b34.zip
sr/srd/cli: Fix compiling with Homebrew.
Add ACLOCAL_DIR setting and AM_PROG_AR macro for compiling with Homebrew under Mac OS X. Applies essentially the same change to {libsigrok,libsigrokdecode,sigrok-cli}/{autogen.sh,configure.ac} It may be that the same fix is needed for the other autogen.sh and/or configure.ac files, but that hasn't been tested and therefore not in this commit.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0d7f710..f42f0f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,7 @@ AC_CONFIG_AUX_DIR([autostuff])
# We require at least automake 1.11 (needed for 'silent rules').
AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign std-options])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AH_TOP([#ifndef SRD_CONFIG_H
#define SRD_CONFIG_H /* To stop multiple inclusions. */])