git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a3ae1e3
)
disable pdf2swf/jpeg2swf also if t1lib.h and/or jpeglib.h are not found.
author
kramm
<kramm>
Fri, 26 Oct 2001 20:17:11 +0000
(20:17 +0000)
committer
kramm
<kramm>
Fri, 26 Oct 2001 20:17:11 +0000
(20:17 +0000)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
b384539
..
cfb1ec6
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-53,6
+53,16
@@
dnl AC_PATH_XTRA
AC_HEADER_STDC
AC_CHECK_HEADERS(math.h fcntl.h limits.h malloc.h unistd.h memory.h zlib.h jpeglib.h t1lib.h)
AC_HEADER_STDC
AC_CHECK_HEADERS(math.h fcntl.h limits.h malloc.h unistd.h memory.h zlib.h jpeglib.h t1lib.h)
+if test "$ac_cv_header_jpeglib_h" != yes; then
+ DISABLEPDF2SWF=true;
+ DISABLEJPEG2SWF=true;
+ MISSINGLIBS="${MISSINGLIBS} jpeglib.h"
+fi
+if test "$ac_cv_header_t1lib_h" != yes; then
+ DISABLEPDF2SWF=true;
+ MISSINGLIBS="${MISSINGLIBS} t1lib.h"
+fi
+
AC_SUBST(HAVE_UNISTD_H)
AC_SUBST(EXEEXT)
AC_SUBST(HAVE_UNISTD_H)
AC_SUBST(EXEEXT)
@@
-75,9
+85,10
@@
dnl Checks for library functions.
AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr)
AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr)
+
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
echo "***************************************************"
if test "x${DISABLEPDF2SWF}" = "xtrue"; then
echo "***************************************************"
- echo "The following libraries are missing: " ${MISSINGLIBS}
+ echo "The following header/libraries are missing: " ${MISSINGLIBS}
echo "Disabling pdf2swf tool..."
rm pdf2swf/Makefile
echo all: > pdf2swf/Makefile
echo "Disabling pdf2swf tool..."
rm pdf2swf/Makefile
echo all: > pdf2swf/Makefile