git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix -Wparentheses warnings.
[swftools.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
61790a8
..
3e3f4dd
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1,11
+1,11
@@
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/)
-export PACKAGE=swftools
-export VERSION=0.2.0
-
-export CFLAGS="-O2 -fomit-frame-pointer"
-export CXXFLAGS="-O2 -fomit-frame-pointer"
+PACKAGE=swftools
+VERSION=0.2.3
+CFLAGS="-Winline -Wparentheses -Wimplicit -Wreturn-type -O2 -fomit-frame-pointer"
+CXXFLAGS="-Winline -Wparentheses -Wimplicit -Wreturn-type -O2 -fomit-frame-pointer"
+export PACKAGE VERSION CFLAGS CXXFLAGS
dnl Checks for programs.
AC_PROG_CC
dnl Checks for programs.
AC_PROG_CC
@@
-57,7
+57,7
@@
dnl AC_PATH_X
dnl AC_PATH_XTRA
AC_HEADER_DIRENT
AC_HEADER_STDC
dnl AC_PATH_XTRA
AC_HEADER_DIRENT
AC_HEADER_STDC
- AC_CHECK_HEADERS(math.h fcntl.h limits.h malloc.h unistd.h memory.h zlib.h jpeglib.h t1lib.h sys/stat.h sys/types.h)
+ AC_CHECK_HEADERS(zlib.h jpeglib.h t1lib.h sys/stat.h sys/types.h dirent.h sys/ndir.h sys/dir.h ndir.h)
if test "x${ac_cv_header_jpeglib_h}" != "xyes"; then
DISABLEPDF2SWF=true;
if test "x${ac_cv_header_jpeglib_h}" != "xyes"; then
DISABLEPDF2SWF=true;
@@
-95,17
+95,15
@@
dnl Checks for typedefs, structures, and compiler characteristics.
dnl AC_CHECK_TYPE(uint,unsigned long int)
dnl Checks for library functions.
dnl AC_CHECK_TYPE(uint,unsigned long int)
dnl Checks for library functions.
- AC_FUNC_MEMCMP
- AC_FUNC_MMAP
- AC_FUNC_VPRINTF
- AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr lrand48 rand srand48 srand)
+ AC_CHECK_FUNCS(popen mkstemp stat lrand48 rand srand48 srand)
if test "x${UNCOMPRESS}" = "xgzip"; then
AC_DEFINE_UNQUOTED(USE_GZIP, 1)
fi
AC_SUBST(USE_GZIP)
if test "x${UNCOMPRESS}" = "xgzip"; then
AC_DEFINE_UNQUOTED(USE_GZIP, 1)
fi
AC_SUBST(USE_GZIP)
-export JPEG2SWF='jpeg2swf$(EXEEXT)'
+JPEG2SWF='jpeg2swf$(EXEEXT)'
+export JPEG2SWF
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
echo "***************************************************"
echo "The following headers/libraries are missing: " ${MISSINGLIBS}
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
echo "***************************************************"
echo "The following headers/libraries are missing: " ${MISSINGLIBS}
@@
-113,14
+111,16
@@
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..."
if test "x${DISABLEJPEG2SWF}" = "xtrue"; then
echo "Disabling jpeg2swf tool..."
- export JPEG2SWF=
+ JPEG2SWF=
+ export JPEG2SWF
fi
echo "***************************************************"
fi
echo "***************************************************"
- FILES="./release Makefile lib/Makefile src/Makefile swfs/Makefile"
+ FILES="./release Makefile lib/bladeenc/Makefile lib/Makefile src/Makefile swfs/Makefile"
else
else
- FILES="./release Makefile lib/Makefile src/Makefile pdf2swf/Makefile pdf2swf/xpdf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/fonts/Makefile swfs/Makefile"
+ FILES="./release Makefile lib/bladeenc/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)