From a86f241d08e0dbd7ef23f2be0f3cee875ff8b3be Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 20 May 2014 11:39:54 +0700 Subject: [PATCH] Add MacPorts default include/lib paths for OSX --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 178ccbc..fdc12bc 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,13 @@ case $host in ;; esac +case $host_os in + darwin*) + CPPFLAGS="$CPPFLAGS -I/opt/local/include" + LDFLAGS="$LDFLAGS -L/opt/local/lib" + ;; +esac + AC_ARG_ENABLE(benchmark, AS_HELP_STRING([--enable-benchmark],[compile benchmark (default is yes)]), [use_benchmark=$enableval],