Compile modules based on HAVE_* features
[geeqie.git] / src / image-load-jpeg.cc
index 8573bc2..2514a16 100644 (file)
 /** This is a Will Not Fix */
 #pragma GCC diagnostic ignored "-Wclobbered"
 
-#include <config.h>
-
-#if HAVE_JPEG
-
 #include "image-load-jpeg.h"
 
 #include <csetjmp>
@@ -460,6 +456,4 @@ std::unique_ptr<ImageLoaderBackend> get_image_loader_backend_jpeg()
        return std::make_unique<ImageLoaderJpeg>();
 }
 
-#endif
-
 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */