diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 12:07:58 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 12:07:58 +0000 |
commit | 51a8bf55920a28646bc701a7b2a438aa5fc935a0 (patch) | |
tree | f9ce2c50ff4ae00f59c460b71c009c7f3cc0396e /Build/source/libs/configure | |
parent | 8a9fa865b4d372ab53ccc70fe46a25273c49e9af (diff) |
automake 1.14
git-svn-id: svn://tug.org/texlive/trunk@30904 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/configure')
-rwxr-xr-x | Build/source/libs/configure | 355 |
1 files changed, 229 insertions, 126 deletions
diff --git a/Build/source/libs/configure b/Build/source/libs/configure index 6b09ddfdc4d..521b971775a 100755 --- a/Build/source/libs/configure +++ b/Build/source/libs/configure @@ -761,7 +761,9 @@ enable_dtl enable_dvi2tty enable_dvidvi enable_dviljk +enable_dvipdfm_x enable_dvipdfmx +enable_xdvipdfmx enable_dvipng enable_debug enable_timing @@ -796,10 +798,8 @@ enable_tex4htk enable_ttf2pk enable_ttf2pk2 enable_ttfdump -enable_xdv2pdf enable_xdvik with_xdvi_x_toolkit -enable_xdvipdfmx enable_texlive with_system_harfbuzz with_system_icu @@ -812,6 +812,9 @@ with_system_xpdf with_system_poppler with_system_cairo with_system_pixman +with_system_potrace +with_potrace_includes +with_potrace_libdir with_system_gd with_gd_includes with_gd_libdir @@ -819,9 +822,6 @@ with_system_freetype2 with_system_freetype with_freetype_includes with_freetype_libdir -with_system_t1lib -with_t1lib_includes -with_t1lib_libdir with_system_libpng with_system_zlib with_zlib_includes @@ -861,11 +861,12 @@ xpdf poppler cairo pixman +potrace gd freetype2 freetype -t1lib libpng +lua52 zlib' # Initialize some variables set by options. @@ -1557,7 +1558,9 @@ Optional Features: --disable-dvi2tty do not build the dvi2tty package --disable-dvidvi do not build the dvidvi package --disable-dviljk do not build the dviljk package - --disable-dvipdfmx do not build the dvipdfmx package + --disable-dvipdfm-x do not build the dvipdfm-x package + --disable-dvipdfmx do not build the dvipdfmx program + --disable-xdvipdfmx do not build the xdvipdfmx program --disable-dvipng do not build the dvipng package --disable-debug Compile without debug (-d) option --enable-timing Output execution time of dvipng @@ -1590,12 +1593,10 @@ Optional Features: --disable-ps2pkm do not build the ps2pkm package --disable-seetexk do not build the seetexk package --disable-tex4htk do not build the tex4htk package - --disable-ttf2pk do not build the ttf2pk package - --enable-ttf2pk2 build the ttf2pk2 package + --enable-ttf2pk build the ttf2pk package + --disable-ttf2pk2 do not build the ttf2pk2 package --disable-ttfdump do not build the ttfdump package - --enable-xdv2pdf build the xdv2pdf package --disable-xdvik do not build the xdvik package - --disable-xdvipdfmx do not build the xdvipdfmx package --disable-texlive do not build the texlive (TeX Live scripts) package --disable-mktexmf-default do not run mktexmf if MF source missing --disable-mktexpk-default do not run mktexpk if PK font missing @@ -1624,7 +1625,7 @@ Optional Packages: pathname of clisp runtime to install for `xindy', `default' to derive from clisp, or `system' to use installed version - --with-recode use `recode' instead of `iconv' to build xindy + --with-xindy-recode use `recode' instead of `iconv' to build xindy [default: no] --with-banner-add=STR add STR to version string appended to banner lines --with-editor=CMD invoke CMD from the `e' option [vi +%d '%s'] or @@ -1660,6 +1661,11 @@ Optional Packages: pkg-config) --with-system-pixman use installed pixman headers and library (requires pkg-config) + --with-system-potrace use installed potrace headers and library + --with-potrace-includes=DIR + potrace headers installed in DIR + --with-potrace-libdir=DIR + potrace library installed in DIR --with-system-gd use installed gd headers and library --with-gd-includes=DIR gd headers installed in DIR --with-gd-libdir=DIR gd library installed in DIR @@ -1670,10 +1676,6 @@ Optional Packages: freetype headers installed in DIR --with-freetype-libdir=DIR freetype library installed in DIR - --with-system-t1lib use installed t1lib headers and library - --with-t1lib-includes=DIR - t1lib headers installed in DIR - --with-t1lib-libdir=DIR t1lib library installed in DIR --with-system-libpng use installed libpng headers and library (requires pkg-config) --with-system-zlib use installed zlib headers and library @@ -2324,6 +2326,9 @@ IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3113,6 +3118,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 +$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } +if ${am_cv_prog_cc_c_o+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 + ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 +$as_echo "$am_cv_prog_cc_c_o" >&6; } +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + @@ -3764,6 +3828,7 @@ test "x$enable_web2c:$enable_luatex" = xyes:yes && { need_cairo=yes need_libpng=yes need_zziplib=yes + need_lua52=yes } # Check whether --enable-mp was given. if test "${enable_mp+set}" = set; then : @@ -4110,29 +4175,55 @@ test "x$enable_dviljk" = xno || { } -## texk/dvipdfmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfmx/ -## configure options and TL libraries required for dvipdfmx -# Check whether --enable-dvipdfmx was given. -if test "${enable_dvipdfmx+set}" = set; then : - enableval=$enable_dvipdfmx; +## texk/dvipdfm-x/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipdfm-x/ +## configure options and TL libraries required for dvipdfm-x +# Check whether --enable-dvipdfm-x was given. +if test "${enable_dvipdfm_x+set}" = set; then : + enableval=$enable_dvipdfm_x; fi -case $enable_dvipdfmx in #( +case $enable_dvipdfm_x in #( yes|no) : ;; #( *) : - enable_dvipdfmx=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipdfmx=$enable_dvipdfmx'" >&5 -$as_echo "$as_me: Assuming \`--enable-dvipdfmx=$enable_dvipdfmx'" >&6;} - ac_configure_args="$ac_configure_args '--enable-dvipdfmx=$enable_dvipdfmx'" + enable_dvipdfm_x=$enable_all_pkgs + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-dvipdfm-x=$enable_dvipdfm_x'" >&5 +$as_echo "$as_me: Assuming \`--enable-dvipdfm-x=$enable_dvipdfm_x'" >&6;} + ac_configure_args="$ac_configure_args '--enable-dvipdfm-x=$enable_dvipdfm_x'" ;; esac -test "x$enable_dvipdfmx" = xno || { +test "x$enable_dvipdfm_x" = xno || { need_kpathsea=yes need_libpng=yes } +## Define configure options for dvipdfm-x. +# Check whether --enable-dvipdfmx was given. +if test "${enable_dvipdfmx+set}" = set; then : + enableval=$enable_dvipdfmx; +fi + +case enable_dvipdfmx in #( + yes | no) : + ;; #( + *) : + enable_dvipdfmx=yes ;; +esac +# Check whether --enable-xdvipdfmx was given. +if test "${enable_xdvipdfmx+set}" = set; then : + enableval=$enable_xdvipdfmx; +fi + +case enable_xdvipdfmx in #( + yes | no) : + ;; #( + *) : + enable_xdvipdfmx=yes ;; +esac + +test "x$enable_dvipdfm_x:$enable_xdviodfm" = xyes:yes && need_freetype2=yes + ## texk/dvipng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ ## configure options and TL libraries required for dvipng @@ -4155,7 +4246,6 @@ esac test "x$enable_dvipng" = xno || { need_kpathsea=yes need_gd=yes - need_t1lib=yes } ## texk/dvipng/ac/dvipng.ac: configure.ac fragment for the TeX Live subdirectory texk/dvipng/ @@ -4244,6 +4334,7 @@ esac test "x$enable_dvisvgm" = xno || { need_kpathsea=yes + need_potrace=yes need_freetype2=yes need_zlib=yes } @@ -4555,7 +4646,7 @@ case $enable_ttf2pk in #( ;; #( *) : - enable_ttf2pk=$enable_all_pkgs + enable_ttf2pk=no { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttf2pk=$enable_ttf2pk'" >&5 $as_echo "$as_me: Assuming \`--enable-ttf2pk=$enable_ttf2pk'" >&6;} ac_configure_args="$ac_configure_args '--enable-ttf2pk=$enable_ttf2pk'" @@ -4579,7 +4670,7 @@ case $enable_ttf2pk2 in #( ;; #( *) : - enable_ttf2pk2=no + enable_ttf2pk2=$enable_all_pkgs { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-ttf2pk2=$enable_ttf2pk2'" >&5 $as_echo "$as_me: Assuming \`--enable-ttf2pk2=$enable_ttf2pk2'" >&6;} ac_configure_args="$ac_configure_args '--enable-ttf2pk2=$enable_ttf2pk2'" @@ -4611,29 +4702,6 @@ $as_echo "$as_me: Assuming \`--enable-ttfdump=$enable_ttfdump'" >&6;} esac -## texk/xdv2pdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdv2pdf/ -## configure options and TL libraries required for xdv2pdf -# Check whether --enable-xdv2pdf was given. -if test "${enable_xdv2pdf+set}" = set; then : - enableval=$enable_xdv2pdf; -fi -case $enable_xdv2pdf in #( - yes|no) : - ;; #( - *) : - - enable_xdv2pdf=no - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdv2pdf=$enable_xdv2pdf'" >&5 -$as_echo "$as_me: Assuming \`--enable-xdv2pdf=$enable_xdv2pdf'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xdv2pdf=$enable_xdv2pdf'" - ;; -esac - -test "x$enable_xdv2pdf" = xno || { - need_kpathsea=yes -} - - ## texk/xdvik/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvik/ ## configure options and TL libraries required for xdvik # Check whether --enable-xdvik was given. @@ -4680,31 +4748,6 @@ fi -## texk/xdvipdfmx/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/xdvipdfmx/ -## configure options and TL libraries required for xdvipdfmx -# Check whether --enable-xdvipdfmx was given. -if test "${enable_xdvipdfmx+set}" = set; then : - enableval=$enable_xdvipdfmx; -fi -case $enable_xdvipdfmx in #( - yes|no) : - ;; #( - *) : - - enable_xdvipdfmx=$enable_all_pkgs - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-xdvipdfmx=$enable_xdvipdfmx'" >&5 -$as_echo "$as_me: Assuming \`--enable-xdvipdfmx=$enable_xdvipdfmx'" >&6;} - ac_configure_args="$ac_configure_args '--enable-xdvipdfmx=$enable_xdvipdfmx'" - ;; -esac - -test "x$enable_xdvipdfmx" = xno || { - need_kpathsea=yes - need_freetype2=yes - need_libpng=yes -} - - ## texk/texlive/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/texlive/ ## configure options and TL libraries required for texlive # Check whether --enable-texlive was given. @@ -5003,6 +5046,37 @@ $as_echo "$as_me: Assuming installed \`pixman' headers and library" >&6;} fi +## libs/potrace/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/potrace/ +## configure options and TL libraries required for potrace + +# Check whether --with-system-potrace was given. +if test "${with_system_potrace+set}" = set; then : + withval=$with_system_potrace; +fi + +# Check whether --with-potrace-includes was given. +if test "${with_potrace_includes+set}" = set; then : + withval=$with_potrace_includes; +fi + +# Check whether --with-potrace-libdir was given. +if test "${with_potrace_libdir+set}" = set; then : + withval=$with_potrace_libdir; +fi +if test "x$with_system_potrace" = x; then + if test -f $srcdir/../libs/potrace/configure; then + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`potrace' headers and library from TL tree" >&5 +$as_echo "$as_me: Assuming \`potrace' headers and library from TL tree" >&6;} + with_system_potrace=no + else + { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`potrace' headers and library" >&5 +$as_echo "$as_me: Assuming installed \`potrace' headers and library" >&6;} + with_system_potrace=yes + fi + ac_configure_args="$ac_configure_args '--with-system-potrace=$with_system_potrace'" +fi + + ## libs/gd/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/gd/ ## configure options and TL libraries required for gd @@ -5123,37 +5197,6 @@ $as_echo "$as_me: Assuming installed \`freetype' headers and library" >&6;} fi -## libs/t1lib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/t1lib/ -## configure options and TL libraries required for t1lib - -# Check whether --with-system-t1lib was given. -if test "${with_system_t1lib+set}" = set; then : - withval=$with_system_t1lib; -fi - -# Check whether --with-t1lib-includes was given. -if test "${with_t1lib_includes+set}" = set; then : - withval=$with_t1lib_includes; -fi - -# Check whether --with-t1lib-libdir was given. -if test "${with_t1lib_libdir+set}" = set; then : - withval=$with_t1lib_libdir; -fi -if test "x$with_system_t1lib" = x; then - if test -f $srcdir/../libs/t1lib/configure; then - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`t1lib' headers and library from TL tree" >&5 -$as_echo "$as_me: Assuming \`t1lib' headers and library from TL tree" >&6;} - with_system_t1lib=no - else - { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`t1lib' headers and library" >&5 -$as_echo "$as_me: Assuming installed \`t1lib' headers and library" >&6;} - with_system_t1lib=yes - fi - ac_configure_args="$ac_configure_args '--with-system-t1lib=$with_system_t1lib'" -fi - - ## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/ ## configure options and TL libraries required for libpng @@ -5189,6 +5232,10 @@ test "x$need_libpng" = xyes && { } +## libs/lua52/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/lua52/ +## configure options and TL libraries required for lua52 + + ## libs/zlib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/ ## configure options and TL libraries required for zlib @@ -5332,7 +5379,7 @@ fi -am__api_version='1.13' +am__api_version='1.14' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -5504,9 +5551,6 @@ test "$program_suffix" != NONE && ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -# expand $ac_aux_dir to an absolute path -am_aux_dir=`cd $ac_aux_dir && pwd` - if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) @@ -5937,11 +5981,16 @@ mkdir_p='$(MKDIR_P)' # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar pax cpio none' + am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' + depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 @@ -6071,6 +6120,47 @@ fi +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: <http://www.gnu.org/software/coreutils/>. + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 + fi +fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } @@ -6305,6 +6395,19 @@ if test -x $srcdir/pixman/configure; then fi +if test -x $srcdir/potrace/configure; then + if test "x$with_system_potrace" != xyes && \ + test "x$need_potrace" = xyes; then + SUBLIBS="potrace $SUBLIBS" + fi + DIST_SUBLIBS="potrace $DIST_SUBLIBS" + if false; then + subdirs="$subdirs potrace" + + fi +fi + + if test -x $srcdir/gd/configure; then if test "x$with_system_gd" != xyes && \ test "x$need_gd" = xyes; then @@ -6344,27 +6447,27 @@ if test -x $srcdir/freetype/configure; then fi -if test -x $srcdir/t1lib/configure; then - if test "x$with_system_t1lib" != xyes && \ - test "x$need_t1lib" = xyes; then - SUBLIBS="t1lib $SUBLIBS" +if test -x $srcdir/libpng/configure; then + if test "x$with_system_libpng" != xyes && \ + test "x$need_libpng" = xyes; then + SUBLIBS="libpng $SUBLIBS" fi - DIST_SUBLIBS="t1lib $DIST_SUBLIBS" + DIST_SUBLIBS="libpng $DIST_SUBLIBS" if false; then - subdirs="$subdirs t1lib" + subdirs="$subdirs libpng" fi fi -if test -x $srcdir/libpng/configure; then - if test "x$with_system_libpng" != xyes && \ - test "x$need_libpng" = xyes; then - SUBLIBS="libpng $SUBLIBS" +if test -x $srcdir/lua52/configure; then + if test "x$with_system_lua52" != xyes && \ + test "x$need_lua52" = xyes; then + SUBLIBS="lua52 $SUBLIBS" fi - DIST_SUBLIBS="libpng $DIST_SUBLIBS" + DIST_SUBLIBS="lua52 $DIST_SUBLIBS" if false; then - subdirs="$subdirs libpng" + subdirs="$subdirs lua52" fi fi @@ -7619,7 +7722,7 @@ $as_echo X"$mf" | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "am__include" && continue + test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the |