diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-05-09 15:56:09 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-05-09 15:56:09 +0000 |
commit | ea150b72628d2391a1e49c42130ee35e100c1881 (patch) | |
tree | 4788f87e7462fe1cf280c1ede7fc5de45d869f83 /buildtools/configure.pl | |
parent | 43d5e7b140301a8ef7ba24b1c9909cc3a65285a1 (diff) | |
download | netpbm-mirror-ea150b72628d2391a1e49c42130ee35e100c1881.tar.gz netpbm-mirror-ea150b72628d2391a1e49c42130ee35e100c1881.tar.xz netpbm-mirror-ea150b72628d2391a1e49c42130ee35e100c1881.zip |
Fix bug detecting presence of libvga with ldconfig
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@293 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools/configure.pl')
-rwxr-xr-x | buildtools/configure.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/configure.pl b/buildtools/configure.pl index 16ee575a..97e3c33f 100755 --- a/buildtools/configure.pl +++ b/buildtools/configure.pl @@ -1091,7 +1091,7 @@ sub getLinuxsvgaLibrary($@) { $default = '/usr/link/svgalib/libvga.so'; } elsif (-d('/usr/lib/svgalib')) { $default = '/usr/lib/svgalib/libvga.so'; - } elsif (system('ldconfig -p | grep libvga &>/dev/null')) { + } elsif (system('ldconfig -p | grep libvga &>/dev/null') == 0) { $default = 'libvga.so'; } else { $default = 'none'; |