title: aclocal: error: 'configure.ac' is required
body: <p>I am try to use .autogen.sh to build the files from this repository:
  <a href="https://github.com/cnangel/pidgin-libqq" rel="nofollow noreferrer">https://github.com/cnangel/pidgin-libqq</a></p>
  
  <p>It works when I input the command (.autogen.sh) from the directory(<strong>/project</strong>) where everything is unzipped.</p>
  
  <p>But when I want to build them from different directory (<strong>/test</strong>), it shows the error: <strong>aclocal: error: 'configure.ac' is required</strong>. I believe this is because when running autogen.sh in /project from /test directory, the autogen.sh still looks for configure.ac in /test directory.</p>
  
  <p>How should I rewrite the <strong>autogen.sh</strong> file for it to recognize/scan the <strong>configure.ac</strong> file in the directory (<strong>/project</strong>) where they both located?</p>
  
  <p>Appreciate any suggestion for this problem!</p>