summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-04-07 12:06:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2008-04-07 12:06:18 +0000
commit41fdc70e57b74afa2a63e751e435055e5dfe7c58 (patch)
tree200d74ecd21d8b77bdcb5687576a6d7f012be322 /Build/source/texk/xdvipdfmx
parent1999147223756159c17c4e47fbbaf7b7d0344f4f (diff)
respect library dependencies
git-svn-id: svn://tug.org/texlive/trunk@7345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx')
-rw-r--r--Build/source/texk/xdvipdfmx/ChangeLog3
-rw-r--r--Build/source/texk/xdvipdfmx/Makefile.in4
-rwxr-xr-xBuild/source/texk/xdvipdfmx/configure306
-rw-r--r--Build/source/texk/xdvipdfmx/configure.in6
-rw-r--r--Build/source/texk/xdvipdfmx/data/Makefile.in4
-rw-r--r--Build/source/texk/xdvipdfmx/src/Makefile.in4
6 files changed, 165 insertions, 162 deletions
diff --git a/Build/source/texk/xdvipdfmx/ChangeLog b/Build/source/texk/xdvipdfmx/ChangeLog
index 83e67b6e750..6021e3396cc 100644
--- a/Build/source/texk/xdvipdfmx/ChangeLog
+++ b/Build/source/texk/xdvipdfmx/ChangeLog
@@ -3,6 +3,9 @@ $Header: /home/cvsroot/dvipdfmx/ChangeLog,v 1.141 2006/12/11 13:01:38 chofchof E
ChangeLog: Changes for xdvipdfmx (teTeX / TeX live)
===================================================
+2008-04-06 Peter Breitenlohner <peb@mppmu.mpg.de>
+ * configure.in: respect library dependencies.
+
2008-03-31 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.in, data/Makefile.in, src/Makefile.in: regenerated.
diff --git a/Build/source/texk/xdvipdfmx/Makefile.in b/Build/source/texk/xdvipdfmx/Makefile.in
index c3754da2fe9..31883de4fb5 100644
--- a/Build/source/texk/xdvipdfmx/Makefile.in
+++ b/Build/source/texk/xdvipdfmx/Makefile.in
@@ -47,10 +47,10 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/cho-kpse.m4 \
$(top_srcdir)/m4/cho-libs.m4 $(top_srcdir)/m4/jfk-macos.m4 \
$(top_srcdir)/m4/maw-time.m4 \
- $(top_srcdir)/../../libs/libpng/withenable.ac \
- $(top_srcdir)/../../libs/libpng/libpng.ac \
$(top_srcdir)/../../libs/zlib/withenable.ac \
$(top_srcdir)/../../libs/zlib/zlib.ac \
+ $(top_srcdir)/../../libs/libpng/withenable.ac \
+ $(top_srcdir)/../../libs/libpng/libpng.ac \
$(top_srcdir)/../../libs/freetype2/withenable.ac \
$(top_srcdir)/../../libs/freetype2/freetype2.ac \
$(top_srcdir)/configure.in
diff --git a/Build/source/texk/xdvipdfmx/configure b/Build/source/texk/xdvipdfmx/configure
index 65ddf2c2754..9224b4d31e3 100755
--- a/Build/source/texk/xdvipdfmx/configure
+++ b/Build/source/texk/xdvipdfmx/configure
@@ -877,12 +877,12 @@ xdvipdfmx_LDFLAGS
TDS_VERSION_11_TRUE
TDS_VERSION_11_FALSE
LIBOBJS
-LIBPNGCPPFLAGS
-LDLIBPNG
-LIBPNGDEP
ZLIBCPPFLAGS
LDZLIB
ZLIBDEP
+LIBPNGCPPFLAGS
+LDLIBPNG
+LIBPNGDEP
FREETYPE2CPPFLAGS
LDFREETYPE2
FREETYPE2DEP
@@ -1505,14 +1505,14 @@ Optional Packages:
--with-ft2include=DIR use freetype2 include files from DIR
--with-freetype2=DIR use installed freetype2 include & lib files from DIR
--with-fontconfig=DIR use fontconfig include/library files from DIR
- --with-system-pnglib use installed pnglib library
- --with-pnglib-libdir=DIR specify directory where the png library (libpng.a) resides.
- --with-pnglib-include=DIR specify directory with the pnglib header files.
--with-system-zlib use installed zlib library
--with-zlib-libdir=DIR
Specify directory where the zlib.a resides.
--with-zlib-include=DIR
Specify the zlib header files location.
+ --with-system-pnglib use installed pnglib library
+ --with-pnglib-libdir=DIR specify directory where the png library (libpng.a) resides.
+ --with-pnglib-include=DIR specify directory with the pnglib header files.
--with-system-freetype2 use installed freetype2 library
--with-freetype2-libdir=DIR
Specify directory where the freetype2 library resides.
@@ -24356,150 +24356,6 @@ if test "x$enable_tetex_build" = xyes; then
# Get these common libraries from the sources, too.
# Seems like it would be simpler to treat kpathsea this way too, but
# we're just starting from what lcdf-typetools did.
- # beginning of libpng/withenable.ac
-# public domain.
-
-# Check whether --with-system-pnglib was given.
-if test "${with_system_pnglib+set}" = set; then
- withval=$with_system_pnglib;
-fi
-
-
-
-# Check whether --with-pnglib_libdir was given.
-if test "${with_pnglib_libdir+set}" = set; then
- withval=$with_pnglib_libdir;
-fi
-
-
-
-# Check whether --with-pnglib_include was given.
-if test "${with_pnglib_include+set}" = set; then
- withval=$with_pnglib_include;
-fi
-
-# end of libpng/withenable.ac
-
- # beginning of libpng.ac
-if test "$needs_pnglib" = no; then
- LIBPNGCPPFLAGS=
- LDLIBPNG=
- LIBPNGDEP=
-else
- EXTRA_LIBPNG_INCLUDE=
- EXTRA_LIBPNG_LIBDIR=
-
- if test "$with_system_pnglib" = yes; then
- if test "x$with_pnglib_libdir" != x; then
- EXTRA_LIBPNG_LIBDIR="-L$with_pnglib_libdir"
- fi
- if test "x$with_pnglib_include" != x; then
- EXTRA_LIBPNG_INCLUDE="-I$with_pnglib_include"
- fi
- fi
-
- OLD_LDFLAGS=$LDFLAGS
- OLD_CPP=$CPP
- OLD_LIBS=$LIBS
-
- LDFLAGS="$LDFLAGS $EXTRA_LIBPNG_LIBDIR"
- CPP="$CPP $EXTRA_LIBPNG_INCLUDE"
-
- if test "$with_system_pnglib" = yes; then
- { echo "$as_me:$LINENO: checking for png_set_read_fn in -lpng" >&5
-echo $ECHO_N "checking for png_set_read_fn in -lpng... $ECHO_C" >&6; }
-if test "${ac_cv_lib_png_png_set_read_fn+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpng -lz -lm $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char png_set_read_fn ();
-int
-main ()
-{
-return png_set_read_fn ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- ac_cv_lib_png_png_set_read_fn=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_lib_png_png_set_read_fn=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_set_read_fn" >&5
-echo "${ECHO_T}$ac_cv_lib_png_png_set_read_fn" >&6; }
-if test $ac_cv_lib_png_png_set_read_fn = yes; then
- pnglib=-lpng
-else
- { echo "$as_me:$LINENO: WARNING: Standard PNG library not found. Compiling my own." >&5
-echo "$as_me: WARNING: Standard PNG library not found. Compiling my own." >&2;}
- with_system_pnglib=no
-fi
-
- fi
-
- LDFLAGS=$OLD_LDFLAGS
- CPP=$OLD_CPP
- LIBS=$OLD_LIBS
-
- if test "$with_system_pnglib" != yes; then
- LIBPNGCPPFLAGS='-I$(LIBPNGDIR) -I$(LIBPNGSRCDIR)'
- LDLIBPNG='$(LIBPNGDIR)/libpng.a'
- LIBPNGDEP='$(LIBPNGDIR)/libpng.a'
- using_system_pnglib=no
- else
- LIBPNGCPPFLAGS="$EXTRA_LIBPNG_INCLUDE"
- LDLIBPNG="$EXTRA_LIBPNG_LIBDIR -lpng"
- LIBPNGDEP=
- using_system_pnglib=yes
- fi
-fi
-
-
-
-
-# end of libpng.ac
-
-
# Check whether --with-system_zlib was given.
if test "${with_system_zlib+set}" = set; then
@@ -24793,6 +24649,150 @@ fi
+ # beginning of libpng/withenable.ac
+# public domain.
+
+# Check whether --with-system-pnglib was given.
+if test "${with_system_pnglib+set}" = set; then
+ withval=$with_system_pnglib;
+fi
+
+
+
+# Check whether --with-pnglib_libdir was given.
+if test "${with_pnglib_libdir+set}" = set; then
+ withval=$with_pnglib_libdir;
+fi
+
+
+
+# Check whether --with-pnglib_include was given.
+if test "${with_pnglib_include+set}" = set; then
+ withval=$with_pnglib_include;
+fi
+
+# end of libpng/withenable.ac
+
+ # beginning of libpng.ac
+if test "$needs_pnglib" = no; then
+ LIBPNGCPPFLAGS=
+ LDLIBPNG=
+ LIBPNGDEP=
+else
+ EXTRA_LIBPNG_INCLUDE=
+ EXTRA_LIBPNG_LIBDIR=
+
+ if test "$with_system_pnglib" = yes; then
+ if test "x$with_pnglib_libdir" != x; then
+ EXTRA_LIBPNG_LIBDIR="-L$with_pnglib_libdir"
+ fi
+ if test "x$with_pnglib_include" != x; then
+ EXTRA_LIBPNG_INCLUDE="-I$with_pnglib_include"
+ fi
+ fi
+
+ OLD_LDFLAGS=$LDFLAGS
+ OLD_CPP=$CPP
+ OLD_LIBS=$LIBS
+
+ LDFLAGS="$LDFLAGS $EXTRA_LIBPNG_LIBDIR"
+ CPP="$CPP $EXTRA_LIBPNG_INCLUDE"
+
+ if test "$with_system_pnglib" = yes; then
+ { echo "$as_me:$LINENO: checking for png_set_read_fn in -lpng" >&5
+echo $ECHO_N "checking for png_set_read_fn in -lpng... $ECHO_C" >&6; }
+if test "${ac_cv_lib_png_png_set_read_fn+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpng -lz -lm $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char png_set_read_fn ();
+int
+main ()
+{
+return png_set_read_fn ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_png_png_set_read_fn=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_png_png_set_read_fn=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_set_read_fn" >&5
+echo "${ECHO_T}$ac_cv_lib_png_png_set_read_fn" >&6; }
+if test $ac_cv_lib_png_png_set_read_fn = yes; then
+ pnglib=-lpng
+else
+ { echo "$as_me:$LINENO: WARNING: Standard PNG library not found. Compiling my own." >&5
+echo "$as_me: WARNING: Standard PNG library not found. Compiling my own." >&2;}
+ with_system_pnglib=no
+fi
+
+ fi
+
+ LDFLAGS=$OLD_LDFLAGS
+ CPP=$OLD_CPP
+ LIBS=$OLD_LIBS
+
+ if test "$with_system_pnglib" != yes; then
+ LIBPNGCPPFLAGS='-I$(LIBPNGDIR) -I$(LIBPNGSRCDIR)'
+ LDLIBPNG='$(LIBPNGDIR)/libpng.a'
+ LIBPNGDEP='$(LIBPNGDIR)/libpng.a'
+ using_system_pnglib=no
+ else
+ LIBPNGCPPFLAGS="$EXTRA_LIBPNG_INCLUDE"
+ LDLIBPNG="$EXTRA_LIBPNG_LIBDIR -lpng"
+ LIBPNGDEP=
+ using_system_pnglib=yes
+ fi
+fi
+
+
+
+
+# end of libpng.ac
+
+
# Check whether --with-system_freetype2 was given.
if test "${with_system_freetype2+set}" = set; then
@@ -26570,12 +26570,12 @@ xdvipdfmx_LDFLAGS!$xdvipdfmx_LDFLAGS$ac_delim
TDS_VERSION_11_TRUE!$TDS_VERSION_11_TRUE$ac_delim
TDS_VERSION_11_FALSE!$TDS_VERSION_11_FALSE$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
-LIBPNGCPPFLAGS!$LIBPNGCPPFLAGS$ac_delim
-LDLIBPNG!$LDLIBPNG$ac_delim
-LIBPNGDEP!$LIBPNGDEP$ac_delim
ZLIBCPPFLAGS!$ZLIBCPPFLAGS$ac_delim
LDZLIB!$LDZLIB$ac_delim
ZLIBDEP!$ZLIBDEP$ac_delim
+LIBPNGCPPFLAGS!$LIBPNGCPPFLAGS$ac_delim
+LDLIBPNG!$LDLIBPNG$ac_delim
+LIBPNGDEP!$LIBPNGDEP$ac_delim
FREETYPE2CPPFLAGS!$FREETYPE2CPPFLAGS$ac_delim
LDFREETYPE2!$LDFREETYPE2$ac_delim
FREETYPE2DEP!$FREETYPE2DEP$ac_delim
diff --git a/Build/source/texk/xdvipdfmx/configure.in b/Build/source/texk/xdvipdfmx/configure.in
index a17136be807..029ca21b801 100644
--- a/Build/source/texk/xdvipdfmx/configure.in
+++ b/Build/source/texk/xdvipdfmx/configure.in
@@ -113,12 +113,12 @@ if test "x$enable_tetex_build" = xyes; then
# Get these common libraries from the sources, too.
# Seems like it would be simpler to treat kpathsea this way too, but
# we're just starting from what lcdf-typetools did.
- sinclude(../../libs/libpng/withenable.ac)
- sinclude(../../libs/libpng/libpng.ac)
-
sinclude(../../libs/zlib/withenable.ac)
sinclude(../../libs/zlib/zlib.ac)
+ sinclude(../../libs/libpng/withenable.ac)
+ sinclude(../../libs/libpng/libpng.ac)
+
sinclude(../../libs/freetype2/withenable.ac)
sinclude(../../libs/freetype2/freetype2.ac)
diff --git a/Build/source/texk/xdvipdfmx/data/Makefile.in b/Build/source/texk/xdvipdfmx/data/Makefile.in
index 9195a8391be..1a90e6f9531 100644
--- a/Build/source/texk/xdvipdfmx/data/Makefile.in
+++ b/Build/source/texk/xdvipdfmx/data/Makefile.in
@@ -42,10 +42,10 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/cho-kpse.m4 \
$(top_srcdir)/m4/cho-libs.m4 $(top_srcdir)/m4/jfk-macos.m4 \
$(top_srcdir)/m4/maw-time.m4 \
- $(top_srcdir)/../../libs/libpng/withenable.ac \
- $(top_srcdir)/../../libs/libpng/libpng.ac \
$(top_srcdir)/../../libs/zlib/withenable.ac \
$(top_srcdir)/../../libs/zlib/zlib.ac \
+ $(top_srcdir)/../../libs/libpng/withenable.ac \
+ $(top_srcdir)/../../libs/libpng/libpng.ac \
$(top_srcdir)/../../libs/freetype2/withenable.ac \
$(top_srcdir)/../../libs/freetype2/freetype2.ac \
$(top_srcdir)/configure.in
diff --git a/Build/source/texk/xdvipdfmx/src/Makefile.in b/Build/source/texk/xdvipdfmx/src/Makefile.in
index 734333027e9..027c6fa9f57 100644
--- a/Build/source/texk/xdvipdfmx/src/Makefile.in
+++ b/Build/source/texk/xdvipdfmx/src/Makefile.in
@@ -43,10 +43,10 @@ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/cho-kpse.m4 \
$(top_srcdir)/m4/cho-libs.m4 $(top_srcdir)/m4/jfk-macos.m4 \
$(top_srcdir)/m4/maw-time.m4 \
- $(top_srcdir)/../../libs/libpng/withenable.ac \
- $(top_srcdir)/../../libs/libpng/libpng.ac \
$(top_srcdir)/../../libs/zlib/withenable.ac \
$(top_srcdir)/../../libs/zlib/zlib.ac \
+ $(top_srcdir)/../../libs/libpng/withenable.ac \
+ $(top_srcdir)/../../libs/libpng/libpng.ac \
$(top_srcdir)/../../libs/freetype2/withenable.ac \
$(top_srcdir)/../../libs/freetype2/freetype2.ac \
$(top_srcdir)/configure.in