title: How to add include and lib paths to configure/make cycle?
body: <p>I need a place to install libraries in a linux box I have no su access to. I'm using ~/local[/bin,/lib,/include], but I don't know how can I tell ./configure to look for libraries there (particularly, I'm trying to compile emacs, which needs libgif, which doesn't come in my distro).</p>
  
  <p>I tried adding</p>
  
  <pre><code>export PATH=$PATH:~/local/bin
  export LD_LIBRARY_PATH=~/local/lib
  export C_INCLUDE_PATH=~/local/include
  export CPLUS_INCLUDE_PATH=~/local/include
  </code></pre>
  
  <p>to .bashrc but it doesn't seem to work.</p>