Changeset 1829


Ignore:
Timestamp:
Sep 30, 2007, 5:03:38 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Further refined the tetex/texlive detection method.
  • Support for autotools-1.10.
Location:
libcaca/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/bootstrap

    r523 r1829  
    3232# Check for automake
    3333amvers="no"
    34 for v in "-1.9" "19" "-1.8" "18" "-1.7" "17" "-1.6" "16" "-1.5" "15"; do
    35   if automake${v} --version >/dev/null 2>&1; then
    36     amvers="${v}"
    37     break
    38   fi
     34for n in 10 9 8 7 6 5; do
     35  for v in "-1.${n}" "1${n}"; do
     36    if automake${v} --version >/dev/null 2>&1; then
     37      amvers="${v}"
     38      break
     39    fi
     40  done
    3941done
    4042
  • libcaca/trunk/configure.ac

    r1828 r1829  
    350350      LATEX="no"
    351351    fi
    352     AC_MSG_CHECKING(for a4wide.sty)
    353     if test -f /usr/share/texmf/tex/latex/misc/a4wide.sty; then
     352    AC_MSG_CHECKING(for a4.sty)
     353    if test "$(find /usr/share/texmf* -name 'a4.sty')" != ""; then
    354354      AC_MSG_RESULT(yes)
    355     elif test -f /usr/share/texmf-tetex/tex/latex/a4wide/a4wide.sty; then
    356       AC_MSG_RESULT(yes)
    357     elif test -f /usr/share/texmf-texlive/tex/latex/ltxmisc/a4wide.sty; then
    358       AC_MSG_RESULT(yes)
     355      AC_MSG_CHECKING(for a4wide.sty)
     356      if test "$(find /usr/share/texmf* -name 'a4wide.sty')" != ""; then
     357        AC_MSG_RESULT(yes)
     358      else
     359        LATEX="no"
     360        AC_MSG_RESULT(no)
     361      fi
    359362    else
    360363      LATEX="no"
Note: See TracChangeset for help on using the changeset viewer.