diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -173,10 +173,12 @@ create_local_config () # Copy the .pc file to local-config, and set the base lib directory mkdir -p local-config builddir=`pwd`/$path/build - 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 + 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 # Generate the .addins file for the package addins=local-config/`echo $path | sed s,/,_,`.addins |