Mercurial > hg > forks > geeqie
changeset 2405:a23536c9055f
Remove useless check from BPG configure bit.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 18 Apr 2017 14:00:23 +0300 |
parents | 084d650233f0 |
children | |
files | configure.in |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Thu Dec 08 16:11:31 2016 +0200 +++ b/configure.in Tue Apr 18 14:00:23 2017 +0300 @@ -366,13 +366,8 @@ AS_HELP_STRING([--disable-bpg],[disable direct bpg support]), [libbpg=$enableval], [libbpg=auto]) -if test "x${libbpg}" = "xyes"; then - HAVE_BPG=yes - BPG_LIBS=/usr/local/lib/libbpg.a - BPG_CFLAGS=-I/usr/local/include/ - AC_DEFINE(HAVE_BPG, 1, [define to enable use of BPG loader]) -elif test "x${libbpg}" != "xno"; then - AC_CHECK_LIB(bpg, bpg_decoder_open, +if test "x${libbpg}" != "xno"; then + AC_CHECK_LIB([bpg], [bpg_decoder_decode], [ HAVE_BPG=yes BPG_LIBS=-lbpg