diff --git a/configure.ac b/configure.ac index 92bca0d..b632bcb 100644 --- a/configure.ac +++ b/configure.ac @@ -404,7 +404,7 @@ for dir in "" /usr/local $SEARCH_DIR; do AC_CHECK_LIB([exif], [exif_data_new_from_file], [LIBEXIF_LIBS="-lexif"], [unset ac_cv_lib_exif_exif_data_new_from_file; LDFLAGS="$LDFLAGS_SAVE"; continue]) break done -test x"$ac_cv_lib_jpeg_jpeg_set_defaults" = x"yes" || AC_MSG_ERROR([Could not find libexif]) +test x"$ac_cv_lib_exif_exif_data_new_from_file" = x"yes" || AC_MSG_ERROR([Could not find libexif]) AC_SUBST(LIBEXIF_LIBS) LDFLAGS_SAVE="$LDFLAGS"