diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-19 16:51:15 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-19 16:51:33 +0400 |
commit | f21b5fd68b9464e645e93effc5f49a11f08bc9e8 (patch) | |
tree | 4119be81acd0a89460a3a3ebb59ae325e52ae9f0 /configure | |
parent | acd21dc0d1492396f9e3151f31f0fb81c06a5721 (diff) |
Fix configure regression
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -173,12 +173,10 @@ create_local_config () # Copy the .pc file to local-config, and set the base lib directory mkdir -p local-config builddir=`pwd`/$path/build - if test -a $1/*.pc.in; then - for f in `ls $1/*.pc.in` ; do - pcfile=`echo $f | sed s,.*/,, | sed s/\.in$//` - sed -e s,libdir=.*,libdir=$builddir, -e s/@VERSION@/$ver/g $f> local-config/$pcfile - done - fi + for f in `ls $1/*.pc.in 2>/dev/null`; do + pcfile=`echo $f | sed s,.*/,, | sed s/\.in$//` + sed -e s,libdir=.*,libdir=$builddir, -e s/@VERSION@/$ver/g $f> local-config/$pcfile + done # Generate the .addins file for the package addins=local-config/`echo $path | sed s,/,_,`.addins |