summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2011-09-23 13:55:38 +0100
committerPete Batard <pete@akeo.ie>2011-09-23 13:57:39 +0100
commit63dc2ef327eaf3833de80f90cb820485891ba672 (patch)
treef831d79b4993e942a63d6248de0b2c441e281be1
parentfad9572c6bf30689eb3faa6af923b99a55c9166b (diff)
downloadlibusb-63dc2ef327eaf3833de80f90cb820485891ba672.tar.gz
[darwin] fix "non-POSIX variable name" from automake with X-Code
* introduced by the windres step improvement: libusb/Makefile.am:28: pkg_v_rc_$(V: non-POSIX variable name libusb/Makefile.am:29: pkg_v_rc_$(AM_DEFAULT_VERBOSITY: non-POSIX variable name
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a006927..6c00b0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,8 @@ lt_revision="0"
lt_age="1"
LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
-AM_INIT_AUTOMAKE
+# -Wno-portability to avoid "non-POSIX variable name" warnings on OS X
+AM_INIT_AUTOMAKE([-Wno-portability])
AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([libusb/core.c])