From 8c8079a8b14fac5e8ca6b682e5c76e08a824f2e7 Mon Sep 17 00:00:00 2001 From: Aaron Ecay Date: Sun, 11 Apr 2010 19:44:53 -0400 Subject: Add infrastructure for building shared library on OS X. This patch adds a configure check for OS X (actually Darwin), and sets up the Makefiles to build a proper shared library on that platform. Signed-off-by: Aaron Ecay --- configure | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 90a399c..8af3dc9 100755 --- a/configure +++ b/configure @@ -234,6 +234,15 @@ else have_emacs=0 fi +printf "Checking for Mac OS X (for shared library)... " +if [ `uname` = "Darwin" ] ; then + printf "Yes.\n" + mac_os_x=1 +else + printf "No.\n" + mac_os_x=0 +fi + if [ $errors -gt 0 ]; then cat <