handle filesystems where lowercase(file)==file more gracefully
[swftools.git] / configure.in
index ea8a51f..fea975e 100644 (file)
@@ -18,9 +18,10 @@ AC_ARG_ENABLE(warnings,
 AC_ARG_ENABLE(optimizations,
 [  --enable-optimizations  turn on compiler optimizations (recommended for avi2swf)], OPTIMIZE=true)
 AC_ARG_ENABLE(lame,
-[  --disable-lame          don't compile any L.A.M.E. mp3 encoding code in], DISABLE_LAME=true)
-AC_ARG_WITH([poppler],
-[  --with-poppler          use poppler instead of internal xpdf (currently broken)], [USE_POPPLER=true])
+[  --disable-lame          don't compile any L.A.M.E. mp3 encoding code in],
+if test "x$enable_lame" = "xno";then
+    DISABLE_LAME=yes
+fi,DISABLE_LAME=)
 
 PACKAGE=swftools
 VERSION=0.9.0
@@ -199,7 +200,11 @@ fi
 
 # this must be done after (I believe) AC_PROG_MAKE_SET
 if test "x$DEBUG" '!=' "x" -o "x$STRIP" = "x";then
-    STRIP="@echo debug enabled, not stripping "
+    if test "$MACOSX";then
+       STRIP=dsymutil
+    else
+       STRIP="@echo debug enabled, not stripping "
+    fi
     export STRIP
     AC_SUBST(STRIP)
 fi
@@ -330,7 +335,8 @@ AC_SUBST([xpdf_in_source])
 AC_SUBST([splash_in_source])
 
 # ------------------------------------------------------------------
+
+RFX_CHECK_LOWERCASE_UPPERCASE
 RFX_CHECK_AVI2SWF
 if test "x${AVIFILE}" = "xtrue"; then
     VIDEO_LIBS="$VIDEO_LIBS $AVIFILE_LIBS"