diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-09-04 18:22:30 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-09-04 18:36:04 +0200 |
commit | 3a1c5ee7c1394ae0acf6785eb257a0ad121230af (patch) | |
tree | c84814794fb11584a370fab2f90f0c3e9adf8d29 | |
parent | ad6f10a81be19c4dca2f7e77a2f8173d3eaf2591 (diff) | |
download | libxml2-3a1c5ee7c1394ae0acf6785eb257a0ad121230af.tar.gz |
Disable fuzzer tests if glob.h wasn't found
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 6b79dc9a..d567c07c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,10 +2,13 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = include . doc example fuzz xstc +SUBDIRS = include . doc example xstc if WITH_PYTHON SUBDIRS += python endif +if WITH_GLOB +SUBDIRS += fuzz +endif DIST_SUBDIRS = include . doc example fuzz python xstc diff --git a/configure.ac b/configure.ac index 1c9da738..c4ff7527 100644 --- a/configure.ac +++ b/configure.ac @@ -293,7 +293,9 @@ AC_CHECK_HEADERS([ sys/socket.h netinet/in.h arpa/inet.h netdb.h sys/select.h poll.h sys/time.h sys/timeb.h - dl.h dlfcn.h]) + dl.h dlfcn.h + glob.h]) +AM_CONDITIONAL(WITH_GLOB, test "$ac_cv_header_glob_h" = "yes") dnl dnl Checking types |