diff --git a/configure.ac b/configure.ac index 269da65b0..0f0ce9280 100644 --- a/configure.ac +++ b/configure.ac @@ -2146,7 +2146,7 @@ jpeg=no AC_ARG_ENABLE(jpeg, [ --disable-jpeg disable JPEG compression (auto)] -[ Requires: libgpujpeg ], +[ Requires: CUDA libgpujpeg ], [jpeg_req=$enableval], [jpeg_req=auto]) @@ -2181,6 +2181,7 @@ else fi if test "$jpeg_req" != no -a \ + "$FOUND_CUDA" = yes -a \ "$found_gpujpeg" = yes then jpeg=yes