From f7b80586819383664dd9c60bcc5f8d0eaefb751f Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 7 Nov 2004 16:25:51 +0000 Subject: [PATCH] added MacOS X -shared/-bundle handling. --- configure.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 4c3d6b2..d1ce0c1 100644 --- a/configure.in +++ b/configure.in @@ -16,7 +16,7 @@ AC_ARG_ENABLE(lame, [ --disable-lame don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true) PACKAGE=swftools -VERSION=2004-10-24-1908 +VERSION=2004-11-03-1856 # ------------------------------------------------------------------ @@ -56,15 +56,22 @@ fi export PACKAGE VERSION CFLAGS CXXFLAGS dnl Checks for programs. - AC_CANONICAL_HOST + +AC_CANONICAL_HOST + +SHARED="-shared" MACOSX= case $host_os in *darwin* ) MACOSX=yes CFLAGS="$CFLAGS -fno-rtti" CXXFLAGS="$CXXFLAGS -fno-rtti" + SHARED="-bundle" ;; esac + +AC_SUBST(SHARED) + dnl Checks for programs. AC_PROG_CC AC_PROG_CXX -- 1.7.10.4