The R Project SVN R

Rev

Rev 28254 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28254 Rev 28362
Line 1617... Line 1617...
1617
## to the entire path of the script if found, and leave it empty
1617
## to the entire path of the script if found, and leave it empty
1618
## otherwise.
1618
## otherwise.
1619
AC_DEFUN([_R_PATH_TCL_CONFIG],
1619
AC_DEFUN([_R_PATH_TCL_CONFIG],
1620
[AC_MSG_CHECKING([for tclConfig.sh in library (sub)directories])
1620
[AC_MSG_CHECKING([for tclConfig.sh in library (sub)directories])
1621
AC_CACHE_VAL([r_cv_path_TCL_CONFIG],
1621
AC_CACHE_VAL([r_cv_path_TCL_CONFIG],
1622
[for ldir in /opt/lib /sw/lib /usr/local/lib /usr/lib /lib; do
1622
[for ldir in /opt/lib /sw/lib /usr/local/lib /usr/lib /lib /usr/lib64 ; do
1623
  for dir in \
1623
  for dir in \
1624
      ${ldir} \
1624
      ${ldir} \
1625
      `ls -d ${ldir}/tcl[[8-9]].[[0-9]]* 2>/dev/null | sort -r`; do
1625
      `ls -d ${ldir}/tcl[[8-9]].[[0-9]]* 2>/dev/null | sort -r`; do
1626
    if test -f ${dir}/tclConfig.sh; then
1626
    if test -f ${dir}/tclConfig.sh; then
1627
      r_cv_path_TCL_CONFIG="${dir}/tclConfig.sh"
1627
      r_cv_path_TCL_CONFIG="${dir}/tclConfig.sh"
Line 1643... Line 1643...
1643
## to the entire path of the script if found, and leave it empty
1643
## to the entire path of the script if found, and leave it empty
1644
## otherwise.
1644
## otherwise.
1645
AC_DEFUN([_R_PATH_TK_CONFIG],
1645
AC_DEFUN([_R_PATH_TK_CONFIG],
1646
[AC_MSG_CHECKING([for tkConfig.sh in library (sub)directories])
1646
[AC_MSG_CHECKING([for tkConfig.sh in library (sub)directories])
1647
AC_CACHE_VAL([r_cv_path_TK_CONFIG],
1647
AC_CACHE_VAL([r_cv_path_TK_CONFIG],
1648
[for ldir in /opt/lib /sw/lib /usr/local/lib /usr/lib /lib; do
1648
[for ldir in /opt/lib /sw/lib /usr/local/lib /usr/lib /lib /usr/lib64 ; do
1649
  for dir in \
1649
  for dir in \
1650
      ${ldir} \
1650
      ${ldir} \
1651
      `ls -d ${ldir}/tk[[8-9]].[[0-9]]* 2>/dev/null | sort -r`; do
1651
      `ls -d ${ldir}/tk[[8-9]].[[0-9]]* 2>/dev/null | sort -r`; do
1652
    if test -f ${dir}/tkConfig.sh; then
1652
    if test -f ${dir}/tkConfig.sh; then
1653
      r_cv_path_TK_CONFIG="${dir}/tkConfig.sh"
1653
      r_cv_path_TK_CONFIG="${dir}/tkConfig.sh"