log4cxx: fix compile error with clang using autogen.sh
log4cxx: fix compile error with clang using autogen.sh

log4cxx building universal fails to link because the software uses
old libtool scripts that craft one compile command missing both
of the arch flags.

* Add conditional deps on automake & libtool
* Add a system call to `autogen.sh` to update the scripts
* Note in comments the upstream bug report.
* Tested on Lion 10.7.4 with clang and llvm.

Fixes Homebrew/homebrew#12127.
Closes Homebrew/homebrew#12211.

Signed-off-by: Jack Nagel <43386ce32af96f5c56f2a88e458cb94cebee3751@gmail.com>

lembacon/homebrew-core,mvbattista/homebrew-core,jdubois/homebrew-core,aren55555/homebrew-core,kuahyeow/homebrew-core,stgraber/homebrew-core,chrisfinazzo/homebrew-core,grhawk/homebrew-core,makigumo/homebrew-core,adamliter/homebrew-core,sdorra/homebrew-core,BrewTestBot/homebrew-core,forevergenin/homebrew-core,mvbattista/homebrew-core,maxim-belkin/homebrew-core,bigbes/homebrew-core,uyjulian/homebrew-core,bcg62/homebrew-core,battlemidget/homebrew-core,zmwangx/homebrew-core,jdubois/homebrew-core,mbcoguno/homebrew-core,ShivaHuang/homebrew-core,smessmer/homebrew-core,git-lfs/homebrew-core,bcg62/homebrew-core,zyedidia/homebrew-core,tkoenig/homebrew-core,gserra-olx/homebrew-core,zmwangx/homebrew-core,wolffaxn/homebrew-core,straxhaber/homebrew-core,passerbyid/homebrew-core,mahori/homebrew-core,bigbes/homebrew-core,grhawk/homebrew-core,Linuxbrew/homebrew-core,reelsense/homebrew-core,rwhogg/homebrew-core,reelsense/homebrew-core,dsXLII/homebrew-core,jabenninghoff/homebrew-core,aren55555/homebrew-core,moderndeveloperllc/homebrew-core,LinuxbrewTestBot/homebrew-core,JCount/homebrew-core,adam-moss/homebrew-core,cblecker/homebrew-core,git-lfs/homebrew-core,kuahyeow/homebrew-core,jvillard/homebrew-core,jvehent/homebrew-core,Linuxbrew/homebrew-core,filcab/homebrew-core,LinuxbrewTestBot/homebrew-core,cblecker/homebrew-core,jvillard/homebrew-core,ilovezfs/homebrew-core,uyjulian/homebrew-core,forevergenin/homebrew-core,sdorra/homebrew-core,DomT4/homebrew-core,gserra-olx/homebrew-core,adamliter/homebrew-core,mbcoguno/homebrew-core,bfontaine/homebrew-core,aabdnn/homebrew-core,Moisan/homebrew-core,mbcoguno/homebrew-core,Moisan/homebrew-core,maxim-belkin/homebrew-core,ylluminarious/homebrew-core,robohack/homebrew-core,BrewTestBot/homebrew-core,lemzwerg/homebrew-core,tkoenig/homebrew-core,j-bennet/homebrew-core,lasote/homebrew-core,bcg62/homebrew-core,ylluminarious/homebrew-core,spaam/homebrew-core,aabdnn/homebrew-core,JCount/homebrew-core,bfontaine/homebrew-core,kunickiaj/homebrew-core,mahori/homebrew-core,jvillard/homebrew-core,wolffaxn/homebrew-core,DomT4/homebrew-core,sjackman/homebrew-core,mvitz/homebrew-core,FinalDes/homebrew-core,Homebrew/homebrew-core,wolffaxn/homebrew-core,lembacon/homebrew-core,mvitz/homebrew-core,mfikes/homebrew-core,lembacon/homebrew-core,mfikes/homebrew-core,adam-moss/homebrew-core,chrisfinazzo/homebrew-core,edporras/homebrew-core,moderndeveloperllc/homebrew-core,mvitz/homebrew-core,lasote/homebrew-core,fvioz/homebrew-core,smessmer/homebrew-core,ilovezfs/homebrew-core,stgraber/homebrew-core,nandub/homebrew-core,lemzwerg/homebrew-core,jdubois/homebrew-core,filcab/homebrew-core,robohack/homebrew-core,nandub/homebrew-core,zyedidia/homebrew-core,rwhogg/homebrew-core,straxhaber/homebrew-core,kunickiaj/homebrew-core,nbari/homebrew-core,ShivaHuang/homebrew-core,passerbyid/homebrew-core,dsXLII/homebrew-core,fvioz/homebrew-core,andyjeffries/homebrew-core,sjackman/homebrew-core,phusion/homebrew-core,andyjeffries/homebrew-core,battlemidget/homebrew-core,makigumo/homebrew-core,Homebrew/homebrew-core,nbari/homebrew-core,jabenninghoff/homebrew-core,FinalDes/homebrew-core,phusion/homebrew-core,spaam/homebrew-core,edporras/homebrew-core,jvehent/homebrew-core,j-bennet/homebrew-core