1 do not override user supplied LIBJPEG_LIBS so we can use the one in WORKDIR
3 --- poppler/configure.orig 2016-11-02 13:58:32.530617038 +0100
4 +++ poppler/configure 2016-11-02 13:58:06.233617689 +0100
5 @@ -21377,8 +21377,9 @@
6 ac_save_USER_INCLUDES="$USER_INCLUDES"
7 ac_save_USER_LDFLAGS="$USER_LDFLAGS"
8 USER_INCLUDES="$USER_INCLUDES $LIBJPEG_CFLAGS"
9 - USER_LDFLAGS="$USER_LDFLAGS $LIBJPEG_CFLAGS"
10 + USER_LDFLAGS="$USER_LDFLAGS $LIBJPEG_LIBS"
12 +if test -z "$LIBJPEG_LIBS"; then
14 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libjpeg6b" >&5
15 $as_echo_n "checking for libjpeg6b... " >&6; }
16 @@ -21489,6 +21490,7 @@
23 ac_save_CPPFLAGS="$CPPFLAGS"