$OpenBSD: patch-configure,v 1.6 2018/10/02 11:57:47 jasper Exp $

Don't reset CFLAGS/LDFLAGS, which are needed to pass -L/usr/local/lib as
otherwise -ljpeg/-ltiff cannot be found.
Effectively reverts patch from https://bugzilla.gnome.org/show_bug.cgi?id=747982

Index: configure
--- configure.orig
+++ configure
@@ -20827,8 +20827,6 @@ fi
 if test "x$enable_jpeg" = "xyes"; then
 	SAVE_CFLAGS="$CFLAGS"
 	SAVE_LDFLAGS="$LDFLAGS"
-	CFLAGS=""
-	LDFLAGS=""
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
@@ -20984,8 +20982,6 @@ fi
 if test x$enable_tiff = xyes ; then
 	SAVE_CFLAGS="$CFLAGS"
 	SAVE_LDFLAGS="$LDFLAGS"
-	CFLAGS=""
-	LDFLAGS=""
 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFWriteScanline in -ltiff" >&5
 $as_echo_n "checking for TIFFWriteScanline in -ltiff... " >&6; }
 if ${ac_cv_lib_tiff_TIFFWriteScanline+:} false; then :
