git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
when disabling jpeg2swf, make also a "clean" target.
[swftools.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
983a033
..
931a48b
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,9
+1,8
@@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/)
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/)
-AC_ARG_PROGRAM
export PACKAGE=swftools
export PACKAGE=swftools
-export VERSION=0.1.1
+export VERSION=0.2.1
export CFLAGS="-O2 -fomit-frame-pointer"
export CXXFLAGS="-O2 -fomit-frame-pointer"
export CFLAGS="-O2 -fomit-frame-pointer"
export CXXFLAGS="-O2 -fomit-frame-pointer"
@@
-16,6
+15,7
@@
dnl Checks for programs.
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S
+ AC_CHECK_PROGS(UNCOMPRESS, gzip uncompress compress, )
dnl Checks for system services
AC_EXEEXT
dnl Checks for system services
AC_EXEEXT
@@
-40,6
+40,13
@@
dnl Checks for libraries.
MISSINGLIBS="${MISSINGLIBS} T1lib"
)
MISSINGLIBS="${MISSINGLIBS} T1lib"
)
+SWF_CHECK_BYTEORDER
+AC_SUBST(WORDS_BIGENDIAN)
+SWF_CHECK_SYSTEM_BACKTICKS
+AC_SUBST(SYSTEM_BACKTICKS)
+
+AC_ARG_PROGRAM
+
dnl do we need those?
dnl AC_CHECK_LIB(pthread, pthread_create)
dnl AC_CHECK_LIB(X11, XFlush)
dnl do we need those?
dnl AC_CHECK_LIB(pthread, pthread_create)
dnl AC_CHECK_LIB(X11, XFlush)
@@
-80,6
+87,7
@@
dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_STRUCT_TM
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_STRUCT_TM
+ AC_CHECK_TYPE(boolean,int)
dnl AC_CHECK_TYPE(uchar,unsigned char)
dnl AC_CHECK_TYPE(schar,signed char)
dnl AC_CHECK_TYPE(word,unsigned short int)
dnl AC_CHECK_TYPE(uchar,unsigned char)
dnl AC_CHECK_TYPE(schar,signed char)
dnl AC_CHECK_TYPE(word,unsigned short int)
@@
-90,7
+98,12
@@
dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_MMAP
AC_FUNC_VPRINTF
AC_FUNC_MEMCMP
AC_FUNC_MMAP
AC_FUNC_VPRINTF
- AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr)
+ AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr lrand48 rand srand48 srand)
+
+if test "x${UNCOMPRESS}" = "xgzip"; then
+ AC_DEFINE_UNQUOTED(USE_GZIP, 1)
+fi
+AC_SUBST(USE_GZIP)
export JPEG2SWF='jpeg2swf$(EXEEXT)'
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
export JPEG2SWF='jpeg2swf$(EXEEXT)'
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
@@
-100,14
+113,15
@@
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
rm -f pdf2swf/Makefile
echo all: > pdf2swf/Makefile
echo install: >> pdf2swf/Makefile
rm -f pdf2swf/Makefile
echo all: > pdf2swf/Makefile
echo install: >> pdf2swf/Makefile
+ echo clean: >> pdf2swf/Makefile
if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
echo "Disabling jpeg2swf tool..."
export JPEG2SWF=
fi
echo "***************************************************"
if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
echo "Disabling jpeg2swf tool..."
export JPEG2SWF=
fi
echo "***************************************************"
- FILES="./release Makefile lib/Makefile src/Makefile"
+ FILES="./release Makefile lib/Makefile src/Makefile swfs/Makefile"
else
else
- FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/fonts/Makefile"
+ FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile swfs/Makefile"
fi
AC_SUBST(JPEG2SWF)
fi
AC_SUBST(JPEG2SWF)