--enable-optimizations turn on compiler optimizations (recommended for avi2swf)
--disable-lame don't compile any L.A.M.E. mp3 encoding code in
-Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-poppler use poppler instead of internal xpdf (currently broken)
-
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
# Check whether --enable-lame was given.
if test "${enable_lame+set}" = set; then
- enableval=$enable_lame; DISABLE_LAME=true
+ enableval=$enable_lame; if test "x$enable_lame" = "xno";then
+ DISABLE_LAME=yes
fi
-
-
-# Check whether --with-poppler was given.
-if test "${with_poppler+set}" = set; then
- withval=$with_poppler; USE_POPPLER=true
+else
+ DISABLE_LAME=
fi
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
"lib/action/lex.swf4.c", "lib/action/lex.swf5.c", "lib/action/libming.c",
"lib/action/swf4compiler.tab.c",
"lib/as3/abc.c", "lib/as3/code.c", "lib/as3/pool.c", "lib/as3/files.c", "lib/as3/opcodes.c",
-"lib/action/swf5compiler.tab.c", "lib/action/actioncompiler.c"
+"lib/as3/scripts.c", "lib/as3/common.c", "lib/as3/builtin.c", "lib/as3/compiler.c", "lib/as3/expr.c", "lib/as3/import.c",
+"lib/as3/initcode.c", "lib/as3/parser.tab.c", "lib/as3/registry.c", "lib/as3/tokenizer.yy.c",
+"lib/action/swf5compiler.tab.c", "lib/action/actioncompiler.c",
]
libpdf_sources = [
"lib/pdf/GFXOutputDev.cc", "lib/pdf/InfoOutputDev.cc", "lib/pdf/BitmapOutputDev.cc",
exit(1);
}
- if(info_only) {
- show_info(driver, filename);
- return 0;
- }
-
if(!outputname)
{
if(filename) {
// test if the page range is o.k.
is_in_range(0x7fffffff, pagerange);
- if(pagerange)
- driver->set_parameter(driver, "pages", pagerange);
-
if (!filename) {
args_callback_usage(argv[0]);
exit(0);
}
-
- /* add fonts */
- for(t=0;t<fontpathpos;t++) {
- driver->set_parameter(driver, "fontdir", fontpaths[t]);
- }
-
+
char fullname[256];
if(password && *password) {
sprintf(fullname, "%s|%s", filename, password);
filename = fullname;
}
+
+ if(pagerange)
+ driver->set_parameter(driver, "pages", pagerange);
+
+ if(info_only) {
+ show_info(driver, filename);
+ return 0;
+ }
+
+ /* add fonts */
+ for(t=0;t<fontpathpos;t++) {
+ driver->set_parameter(driver, "fontdir", fontpaths[t]);
+ }
char*u = 0;
if((u = strchr(outputname, '%'))) {