From af2e161faad9599ce5846969b4292e129feffb57 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Fri, 24 Jul 2009 02:57:41 +0000 Subject: Recognize libvga.a when there is no libvga.so git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@958 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- buildtools/configure.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildtools') diff --git a/buildtools/configure.pl b/buildtools/configure.pl index 29887642..11c662fd 100755 --- a/buildtools/configure.pl +++ b/buildtools/configure.pl @@ -1135,6 +1135,8 @@ sub getLinuxsvgaLibrary($@) { $default = '/usr/lib/svgalib/libvga.so'; } elsif (system('ldconfig -p | grep libvga &>/dev/null') == 0) { $default = 'libvga.so'; + } elsif (-f('/usr/lib/libvga.a')) { + $default = '/usr/lib/libvga.a'; } else { $default = 'none'; } -- cgit 1.4.1