Fix the build with cups < 2.3

PPD_CUSTOM_UNKNOWN was introduced in cups 2.3.
Only handle it when we build against a new enough cups.

Fixes: #2968
This commit is contained in:
Matthias Clasen 2020-07-31 10:00:20 -04:00
parent 360ffb8e87
commit d761e3cf2c

View File

@ -647,7 +647,9 @@ add_cups_options (const char *key,
custom_value = TRUE;
break;
#if CUPS_VERSION_MAJOR == 2 && CUPS_VERSION_MINOR >= 3
case PPD_CUSTOM_UNKNOWN:
#endif
default :
custom_value = FALSE;
}