Skip to contentSkip to conversation

buildsystem: Fix not reporting if libjpeg is not being used

PATCH New Chris Mayo 1 participant 1 message Jan 15, 2018 Media (V4L/DVB)

lore
Share & tools
lore

Chris Mayo

author
#0 lore raw

PATCH 1/1 buildsystem: Fix not reporting if libjpeg is not being used

---

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(-)
configure.ac +2 -1
index dc1e9cbf5..cfbdffd99 100644
@@ -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])
 
Signature · 1 line
2.13.6