configure: support directories containing .o
configure: support directories containing .o

Fixes http://code.google.com/p/webm/issues/detail?id=96

The regex which postprocesses the gcc make-deps (-M) output was too
greedy and matching in the dependencies part of the rule rather than
the target only. The patch provided with the issue was not correct, as
it tried to match the .o at the end of the line, which isn't correct
at least for my GCC version. This patch matches word characters
instead of .*

Thanks to raimue and the MacPorts community for isolating this issue.

Change-Id: I28510da2252e03db910c017101d9db12e5945a27

Topopiccione/libvpx,VTCSecureLLC/libvpx,jdm/libvpx,liqianggao/libvpx,ShiftMediaProject/libvpx,Distrotech/libvpx,luctrudeau/aom,iniwf/webm.libvpx,shacklettbp/aom,cinema6/libvpx,VTCSecureLLC/libvpx,ittiamvpx/libvpx-1,kim42083/webm.libvpx,sanyaade-teachings/libvpx,ittiamvpx/libvpx,openpeer/libvpx_new,zofuthan/libvpx,altogother/webm.libvpx,cinema6/libvpx,altogother/webm.libvpx,ittiamvpx/libvpx,charup/https---github.com-webmproject-libvpx-,mbebenita/aom,jmvalin/aom,charup/https---github.com-webmproject-libvpx-,jdm/libvpx,luctrudeau/aom,genesi/libvpx0,enmasse-entertainment/libvpx,jacklicn/webm.libvpx,jdm/libvpx,Maria1099/webm.libvpx,kalli123/webm.libvpx,reimaginemedia/webm.libvpx,thdav/aom,ittiamvpx/libvpx-1,smarter/aom,stewnorriss/libvpx,pcwalton/libvpx,mbebenita/aom,awatry/libvpx.opencl,jmvalin/aom,gshORTON/webm.libvpx,Suvarna1488/webm.libvpx,matanbs/webm.libvpx,GrokImageCompression/aom,Topopiccione/libvpx,webmproject/libvpx,jmvalin/aom,Suvarna1488/webm.libvpx,hsueceumd/test_hui,charup/https---github.com-webmproject-libvpx-,turbulenz/libvpx,sanyaade-teachings/libvpx,shareefalis/libvpx,awatry/libvpx.opencl,shacklettbp/aom,shyamalschandra/libvpx,running770/libvpx,abwiz0086/webm.libvpx,iniwf/webm.libvpx,lyx2014/libvpx_c,cinema6/libvpx,thdav/aom,n4t/libvpx,ittiamvpx/libvpx-1,Maria1099/webm.libvpx,thdav/aom,openpeer/libvpx_new,GrokImageCompression/aom,kim42083/webm.libvpx,charup/https---github.com-webmproject-libvpx-,goodleixiao/vpx,ShiftMediaProject/libvpx,jacklicn/webm.libvpx,openpeer/libvpx_new,felipebetancur/libvpx,pcwalton/libvpx,matanbs/webm.libvpx,mwgoldsmith/libvpx,turbulenz/libvpx,sanyaade-teachings/libvpx,mwgoldsmith/vpx,abwiz0086/webm.libvpx,rikaunite/gst-opera_libvpx,iniwf/webm.libvpx,sanyaade-teachings/libvpx,goodleixiao/vpx,mwgoldsmith/vpx,hsueceumd/test_hui,stewnorriss/libvpx,turbulenz/libvpx,zofuthan/libvpx,reimaginemedia/webm.libvpx,stewnorriss/libvpx,felipebetancur/libvpx,liqianggao/libvpx,Laknot/libvpx,ittiamvpx/libvpx-1,altogother/webm.libvpx,rikaunite/gst-opera_libvpx,turbulenz/libvpx,n4t/libvpx,mbebenita/aom,vasilvv/esvp8,smarter/aom,Distrotech/libvpx,Suvarna1488/webm.libvpx,cinema6/libvpx,hsueceumd/test_hui,matanbs/vp982,matanbs/vp982,webmproject/libvpx,running770/libvpx,liqianggao/libvpx,running770/libvpx,Maria1099/webm.libvpx,matanbs/vp982,felipebetancur/libvpx,kalli123/webm.libvpx,genesi/libvpx0,shyamalschandra/libvpx,Acidburn0zzz/webm.libvpx,webmproject/libvpx,mwgoldsmith/vpx,enmasse-entertainment/libvpx,charup/https---github.com-webmproject-libvpx-,Maria1099/webm.libvpx,reimaginemedia/webm.libvpx,running770/libvpx,pcwalton/libvpx,ShiftMediaProject/libvpx,mbebenita/aom,WebRTC-Labs/libvpx,goodleixiao/vpx,mbebenita/aom,lyx2014/libvpx_c,stewnorriss/libvpx,turbulenz/libvpx,smarter/aom,jacklicn/webm.libvpx,Distrotech/libvpx,altogother/webm.libvpx,rikaunite/gst-opera_libvpx,Suvarna1488/webm.libvpx,enmasse-entertainment/libvpx,VTCSecureLLC/libvpx,Maria1099/webm.libvpx,sanyaade-teachings/libvpx,shareefalis/libvpx,smarter/aom,n4t/libvpx,webmproject/libvpx,matanbs/webm.libvpx,jdm/libvpx,zofuthan/libvpx,awatry/libvpx.opencl,reimaginemedia/webm.libvpx,Topopiccione/libvpx,vasilvv/esvp8,pcwalton/libvpx,matanbs/vp982,matanbs/webm.libvpx,iniwf/webm.libvpx,vasilvv/esvp8,luctrudeau/aom,shyamalschandra/libvpx,luctrudeau/aom,genesi/libvpx0,turbulenz/libvpx,GrokImageCompression/aom,gshORTON/webm.libvpx,shyamalschandra/libvpx,WebRTC-Labs/libvpx,mwgoldsmith/vpx,ittiamvpx/libvpx,openpeer/libvpx_new,Suvarna1488/webm.libvpx,iniwf/webm.libvpx,ittiamvpx/libvpx-1,gshORTON/webm.libvpx,jmvalin/aom,Acidburn0zzz/webm.libvpx,goodleixiao/vpx,n4t/libvpx,hsueceumd/test_hui,Laknot/libvpx,kleopatra999/webm.libvpx,smarter/aom,GrokImageCompression/aom,turbulenz/libvpx,ittiamvpx/libvpx-1,goodleixiao/vpx,turbulenz/libvpx,hsueceumd/test_hui,shyamalschandra/libvpx,vasilvv/esvp8,lyx2014/libvpx_c,Acidburn0zzz/webm.libvpx,kleopatra999/webm.libvpx,genesi/libvpx0,thdav/aom,mwgoldsmith/vpx,running770/libvpx,rikaunite/gst-opera_libvpx,abwiz0086/webm.libvpx,thdav/aom,mwgoldsmith/libvpx,reimaginemedia/webm.libvpx,jacklicn/webm.libvpx,mwgoldsmith/libvpx,matanbs/vp982,luctrudeau/aom,cinema6/libvpx,kleopatra999/webm.libvpx,Topopiccione/libvpx,shyamalschandra/libvpx,ShiftMediaProject/libvpx,kim42083/webm.libvpx,shareefalis/libvpx,rikaunite/gst-opera_libvpx,ittiamvpx/libvpx,thdav/aom,jacklicn/webm.libvpx,reimaginemedia/webm.libvpx,stewnorriss/libvpx,matanbs/vp982,cinema6/libvpx,GrokImageCompression/aom,Suvarna1488/webm.libvpx,zofuthan/libvpx,Laknot/libvpx,WebRTC-Labs/libvpx,pcwalton/libvpx,jacklicn/webm.libvpx,jmvalin/aom,jmvalin/aom,VTCSecureLLC/libvpx,kim42083/webm.libvpx,kleopatra999/webm.libvpx,stewnorriss/libvpx,liqianggao/libvpx,kalli123/webm.libvpx,webmproject/libvpx,n4t/libvpx,genesi/libvpx0,goodleixiao/vpx,jdm/libvpx,Laknot/libvpx,altogother/webm.libvpx,jdm/libvpx,mbebenita/aom,genesi/libvpx0,enmasse-entertainment/libvpx,felipebetancur/libvpx,mwgoldsmith/libvpx,vasilvv/esvp8,shareefalis/libvpx,matanbs/vp982,GrokImageCompression/aom,webmproject/libvpx,VTCSecureLLC/libvpx,smarter/aom,Topopiccione/libvpx,turbulenz/libvpx,awatry/libvpx.opencl,abwiz0086/webm.libvpx,lyx2014/libvpx_c,Laknot/libvpx,WebRTC-Labs/libvpx,pcwalton/libvpx,felipebetancur/libvpx,hsueceumd/test_hui,mwgoldsmith/libvpx,Acidburn0zzz/webm.libvpx,felipebetancur/libvpx,running770/libvpx,shacklettbp/aom,vasilvv/esvp8,ShiftMediaProject/libvpx,WebRTC-Labs/libvpx,Distrotech/libvpx,abwiz0086/webm.libvpx,openpeer/libvpx_new,kalli123/webm.libvpx,mbebenita/aom,shareefalis/libvpx,kleopatra999/webm.libvpx,matanbs/webm.libvpx,vasilvv/esvp8,Topopiccione/libvpx,liqianggao/libvpx,lyx2014/libvpx_c,Acidburn0zzz/webm.libvpx,mbebenita/aom,openpeer/libvpx_new,shacklettbp/aom,Distrotech/libvpx,luctrudeau/aom,charup/https---github.com-webmproject-libvpx-,ittiamvpx/libvpx,shareefalis/libvpx,mwgoldsmith/vpx,kleopatra999/webm.libvpx,abwiz0086/webm.libvpx,Maria1099/webm.libvpx,kim42083/webm.libvpx,zofuthan/libvpx,gshORTON/webm.libvpx,shacklettbp/aom,zofuthan/libvpx,kalli123/webm.libvpx,altogother/webm.libvpx,Acidburn0zzz/webm.libvpx,gshORTON/webm.libvpx,kalli123/webm.libvpx,gshORTON/webm.libvpx,liqianggao/libvpx,cinema6/libvpx,Distrotech/libvpx,mbebenita/aom,ittiamvpx/libvpx,mwgoldsmith/libvpx,matanbs/webm.libvpx,VTCSecureLLC/libvpx,lyx2014/libvpx_c,iniwf/webm.libvpx,shacklettbp/aom,kim42083/webm.libvpx,Laknot/libvpx,enmasse-entertainment/libvpx