Malcolm, please review. Vin says it solves his "can't find libpng"
problem, but I'm not entirely sure what the logic is supposed to be
now.
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/ChangeLog,v
retrieving revision 1.444
diff -u -U0 -r1.444 ChangeLog
--- ChangeLog 14 Mar 2005 12:22:16 -0000 1.444
+++ ChangeLog 15 Mar 2005 03:14:37 -0000
@@ -0,0 +1,4 @@
+2005-03-15 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * configure.ac (Autodetect PNG): PNG & TIFF need -lz in AC_CHECK_LIB.
+
Index: configure.ac
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/configure.ac,v
retrieving revision 1.3
diff -u -r1.3 configure.ac
--- configure.ac 14 Mar 2005 12:22:22 -0000 1.3
+++ configure.ac 15 Mar 2005 03:14:44 -0000
@@ -3811,7 +3811,7 @@
png_problem=""
test -z "$with_png" && { AC_CHECK_FUNC(pow,
,with_png=no) }
test -z "$with_png" && { AC_CHECK_HEADER(png.h,
,with_png=no) }
- test -z "$with_png" && { AC_CHECK_LIB(png,
png_read_image,[:],with_png=no) }
+ test -z "$with_png" && { AC_CHECK_LIB(png,
png_read_image,[:],with_png=no,[-lz]) }
if test -z "$with_png"; then
AC_MSG_CHECKING(for workable png version information)
xe_check_libs="-lpng -lz"
@@ -3847,7 +3847,7 @@
dnl autodetect TIFF
test -z "$with_tiff" && { AC_CHECK_HEADER(tiffio.h,
,with_tiff=no) }
- test -z "$with_tiff" && { AC_CHECK_LIB(tiff,
TIFFClientOpen,[:],with_tiff=no) }
+ test -z "$with_tiff" && { AC_CHECK_LIB(tiff,
TIFFClientOpen,[:],with_tiff=no,[-lz]) }
test -z "$with_tiff" && with_tiff=yes
if test "$with_tiff" = "yes"; then
AC_DEFINE(HAVE_TIFF)
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.