[mod_webdav] check HAVE_UUID for -luuid

check HAVE_UUID for -luuid in order to detect more pedantic cases,
e.g. when -luuid is not installed under Cygwin, even if devel headers
are present (<uuid/uuid.h>)
personal/stbuehler/mod-csrf
Glenn Strauss 6 years ago
parent cf4bc764dc
commit 2bed2c14af

@ -31,7 +31,8 @@
#include <sqlite3.h>
#endif
#if defined(HAVE_LIBXML_H) && defined(HAVE_SQLITE3_H) && defined(HAVE_UUID_UUID_H)
#if defined(HAVE_LIBXML_H) && defined(HAVE_SQLITE3_H) \
&& defined(HAVE_UUID) && defined(HAVE_UUID_UUID_H)
#define USE_LOCKS
#include <uuid/uuid.h>
#endif

Loading…
Cancel
Save