From: kramm Date: Sun, 7 Nov 2004 16:25:51 +0000 (+0000) Subject: added MacOS X -shared/-bundle handling. X-Git-Tag: release-0-6-3~206 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=f7b80586819383664dd9c60bcc5f8d0eaefb751f;p=swftools.git added MacOS X -shared/-bundle handling. --- 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