/[libtool]/libtool/libtool.m4
ViewVC logotype

Diff of /libtool/libtool.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.229 by gary, Mon Sep 10 22:41:02 2001 UTC revision 1.230 by gary, Mon Sep 10 23:33:26 2001 UTC
# Line 318  else Line 318  else
318    #    #
319    # So, first we look for a working echo in the user's PATH.    # So, first we look for a working echo in the user's PATH.
320    
321    IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
322    for dir in $PATH /usr/ucb; do    for dir in $PATH /usr/ucb; do
323      IFS="$lt_save_ifs"      IFS="$lt_save_ifs"
324      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
# Line 1087  cygwin* | mingw* | pw32*) Line 1087  cygwin* | mingw* | pw32*)
1087      ;;      ;;
1088    yes,mingw*)    yes,mingw*)
1089      library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'      library_names_spec='${libname}`echo ${release} | sed -e 's/[[.]]/-/g'`${versuffix}.dll'
1090      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/$ac_path_separator/ /g"`      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/$PATH_SEPARATOR/ /g"`
1091      ;;      ;;
1092    yes,pw32*)    yes,pw32*)
1093      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
# Line 1429  if test -f "$ltmain" && test -n "$tagnam Line 1429  if test -f "$ltmain" && test -n "$tagnam
1429    # Note that this assumes the entire list is on one line.    # Note that this assumes the entire list is on one line.
1430    available_tags=`grep "^available_tags=" "${ofile}" | sed -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`    available_tags=`grep "^available_tags=" "${ofile}" | sed -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
1431    
1432    IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator,"    lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1433    for tagname in $tagnames; do    for tagname in $tagnames; do
1434      IFS="$lt_save_ifs"      IFS="$lt_save_ifs"
1435      # Check whether tagname contains only valid characters      # Check whether tagname contains only valid characters
# Line 1512  AC_ARG_ENABLE([shared], Line 1512  AC_ARG_ENABLE([shared],
1512      *)      *)
1513        enable_shared=no        enable_shared=no
1514        # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
1515        IFS="${IFS=       }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1516        for pkg in $enableval; do        for pkg in $enableval; do
1517          IFS="$lt_save_ifs"          IFS="$lt_save_ifs"
1518          if test "X$pkg" = "X$p"; then          if test "X$pkg" = "X$p"; then
# Line 1551  AC_ARG_ENABLE([static], Line 1551  AC_ARG_ENABLE([static],
1551      *)      *)
1552       enable_static=no       enable_static=no
1553        # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
1554        IFS="${IFS=       }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1555        for pkg in $enableval; do        for pkg in $enableval; do
1556          IFS="$lt_save_ifs"          IFS="$lt_save_ifs"
1557          if test "X$pkg" = "X$p"; then          if test "X$pkg" = "X$p"; then
# Line 1590  AC_ARG_ENABLE([fast-install], Line 1590  AC_ARG_ENABLE([fast-install],
1590      *)      *)
1591        enable_fast_install=no        enable_fast_install=no
1592        # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
1593        IFS="${IFS=       }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1594        for pkg in $enableval; do        for pkg in $enableval; do
1595          IFS="$lt_save_ifs"          IFS="$lt_save_ifs"
1596          if test "X$pkg" = "X$p"; then          if test "X$pkg" = "X$p"; then
# Line 1635  AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, Line 1635  AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
1635    ;;    ;;
1636  *)  *)
1637    lt_save_MAGIC_CMD="$MAGIC_CMD"    lt_save_MAGIC_CMD="$MAGIC_CMD"
1638    IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="$ac_path_separator"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1639  dnl $ac_dummy forces splitting on constant user-supplied paths.  dnl $ac_dummy forces splitting on constant user-supplied paths.
1640  dnl POSIX.2 word splitting is done only on the output of word expansions,  dnl POSIX.2 word splitting is done only on the output of word expansions,
1641  dnl not every word.  This closes a longstanding sh security hole.  dnl not every word.  This closes a longstanding sh security hole.
# Line 1689  fi Line 1689  fi
1689  # -------------  # -------------
1690  # find a file program which can recognise a shared library  # find a file program which can recognise a shared library
1691  AC_DEFUN([AC_PATH_MAGIC],  AC_DEFUN([AC_PATH_MAGIC],
1692  [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$ac_path_separator$PATH)  [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
1693  if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
1694    if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
1695      AC_PATH_TOOL_PREFIX(file, /usr/bin$ac_path_separator$PATH)      AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
1696    else    else
1697      MAGIC_CMD=:      MAGIC_CMD=:
1698    fi    fi
# Line 1750  else Line 1750  else
1750  fi  fi
1751  AC_CACHE_VAL(lt_cv_path_LD,  AC_CACHE_VAL(lt_cv_path_LD,
1752  [if test -z "$LD"; then  [if test -z "$LD"; then
1753    IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1754    for ac_dir in $PATH; do    for ac_dir in $PATH; do
1755      IFS="$lt_save_ifs"      IFS="$lt_save_ifs"
1756      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
# Line 2015  AC_DEFUN([AC_PROG_NM], Line 2015  AC_DEFUN([AC_PROG_NM],
2015    # Let the user override the test.    # Let the user override the test.
2016    lt_cv_path_NM="$NM"    lt_cv_path_NM="$NM"
2017  else  else
2018    IFS="${IFS=   }"; lt_save_ifs="$IFS"; IFS="${IFS}$ac_path_separator"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2019    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
2020      IFS="$lt_save_ifs"      IFS="$lt_save_ifs"
2021      test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.

Legend:
Removed from v.1.229  
changed lines
  Added in v.1.230

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26