patches/binutils/2.20/110-RPATH_ENVVAR-smack.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Dec 14 19:17:37 2009 +0100 (2009-12-14)
changeset 1662 ea3490d46f4e
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
scripts: correctly warn when the local tarballs directory does not exist

Warn about a missing local tarball directory, only if it was configured.
Avoid the spurious message:
Directory '${CT_LOCAL_TARBALLS_DIR}' does not exist.
Will not save downloaded tarballs to local storage.

Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out the
issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
     1 http://sourceware.org/ml/binutils/2007-07/msg00401.html
     2 http://sourceware.org/bugzilla/show_bug.cgi?id=4970
     3 
     4 --- binutils/configure
     5 +++ binutils/configure
     6 @@ -5601,6 +5601,7 @@ case "${host}" in
     7    *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
     8    *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
     9  esac
    10 +RPATH_ENVVAR="cant_touch_this_nah_nah_nah"
    11  
    12  # On systems where the dynamic library environment variable is PATH,
    13  if test "$RPATH_ENVVAR" = PATH; then