gphoto2.ds: Don't warn about libjpeg if gphoto support is not enabled.
This commit is contained in:
parent
57ff710cde
commit
86ba62a563
|
@ -24,7 +24,7 @@
|
||||||
# error You must include config.h first
|
# error You must include config.h first
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(HAVE_JPEGLIB_H)
|
#if defined(HAVE_GPHOTO2) && !defined(HAVE_JPEGLIB_H)
|
||||||
# warning "gphoto2 support in twain needs jpeg development headers"
|
# warning "gphoto2 support in twain needs jpeg development headers"
|
||||||
# undef HAVE_GPHOTO2
|
# undef HAVE_GPHOTO2
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue