From: kramm Date: Thu, 25 Nov 2004 13:13:22 +0000 (+0000) Subject: added AREXT (.a on Unix, .lib on Windows). X-Git-Tag: release-0-6-3~114 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=3a8e90ae8b50ac5230ccbb79c060bcdea8447222;p=swftools.git added AREXT (.a on Unix, .lib on Windows). --- diff --git a/configure.in b/configure.in index 492a6bb..bec8aa1 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,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-11-13-2026 +VERSION=2004-11-23-2234 # ------------------------------------------------------------------ @@ -107,11 +107,16 @@ fi dnl Checks for system services OBJEXT="o" - AC_EXEEXT +AREXT=".a" + +AC_EXEEXT + if test "x$EXEEXT" = "x.exe";then OBJEXT="obj" + AREXT=".lib" fi AC_SUBST(OBJEXT) +AC_SUBST(AREXT) RFX_CHECK_MING @@ -148,6 +153,10 @@ if test "$prefix" != "NONE" -a "$prefix" != "/usr/local" -a "$prefix" != "/usr/l # TODO- test whether gcc still works after this fi +#Mac OS: +#LDFLAGS "-L/sw/lib" ; CPPFLAGS "-I/sw/include -I/sw/include/lame" + + # this must be done after (I believe) AC_PROG_MAKE_SET if test "x$DEBUG" '!=' "x";then STRIP="@echo debug enabled, not stripping "