libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

~ line termination character


From: Albert Chin
Subject: ~ line termination character
Date: Wed, 4 May 2005 13:13:45 -0500
User-agent: Mutt/1.5.6i

In libtool.m4, we have:
  ...
  if test -n "$RANLIB"; then
    case $host_os in
    openbsd*)
      old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
      ;;
    *)
      old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
      ;;
    esac
    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  fi
and:
    library_names_spec='$libname.dll.a'
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    postinstall_cmds='base_file=`basename \${file}`~
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo 
\$dlname'\''`~
      dldir=$destdir/`dirname \$dlpath`~
      test -d \$dldir || mkdir -p \$dldir~
      $install_prog $dir/$dlname \$dldir/$dlname~
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
      fi'
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
      dlpath=$dir/\$dldll~
       $RM \$dlpath'
    shlibpath_overrides_runpath=yes

So, some values using '~' use a newline after, and some don't. Does it
matter or should we have some consistency?

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]