Signed-off-by: Chris Mayo <aklh...@gmail.com>
---

If configured --without-jpeg, currently see:

compile time options summary
============================

    Host OS                    : linux-gnu
    X11                        : yes
    GL                         : yes
    glu                        : yes
    libjpeg                    : 

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index dc1e9cbf5..cfbdffd99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,7 +195,8 @@ AS_IF([test "x$with_jpeg" != xno],
                                      [have_jpeg=no
                                       AC_MSG_WARN(cannot find libjpeg (v6 or 
later required))])],
                        [have_jpeg=no
-                        AC_MSG_WARN(cannot find libjpeg)])])
+                        AC_MSG_WARN(cannot find libjpeg)])],
+      [have_jpeg=no])
 
 AM_CONDITIONAL([HAVE_JPEG], [test x$have_jpeg = xyes])
 
-- 
2.13.6

Reply via email to