patches/binutils/2.20/110-RPATH_ENVVAR-smack.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:41:35 2011 +0200 (2011-08-22)
branch1.12
changeset 2636 d53c6d529923
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
configure: fix --with-prog=[...]

check_for didn't set variable 'where' when the path to a prog
was passed manually "(cached)".

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from b1be254591e7b524a0b06a2247a9331ebe0faf1d)
     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