Fix #ifndef statements: HAVE_ variables are all upper case
The autoconf manual states:
define HAVE_function (in all capitals) if it is available
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Generic-Functions.html#Generic-Functions
Thanks to @sur5r for the report
Michael Stapelberg
4 years ago
346 | 346 | */ |
347 | 347 | uint32_t get_colorpixel(const char *hex) __attribute__((const)); |
348 | 348 | |
349 | #ifndef HAVE_strndup | |
349 | #ifndef HAVE_STRNDUP | |
350 | 350 | /** |
351 | 351 | * Taken from FreeBSD |
352 | 352 | * Returns a pointer to a new string which is a duplicate of the |
531 | 531 | */ |
532 | 532 | char *get_config_path(const char *override_configpath, bool use_system_paths); |
533 | 533 | |
534 | #ifndef HAVE_mkdirp | |
534 | #ifndef HAVE_MKDIRP | |
535 | 535 | /** |
536 | 536 | * Emulates mkdir -p (creates any missing folders) |
537 | 537 | * |