You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
754 B

  1. From 031c3d802e51bbc233b1044f812402a66bfcf237 Mon Sep 17 00:00:00 2001
  2. From: Memphiz <memphis@machzwo.de>
  3. Date: Fri, 21 Dec 2018 20:39:11 +0100
  4. Subject: [PATCH] [configure] - only check for dns_sd.h in case libdl was not
  5. found
  6. ---
  7. configure.ac | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. --- a/configure.ac
  10. +++ b/configure.ac
  11. @@ -19,7 +19,7 @@ LT_LIB_DLLOAD
  12. # Checks for header files.
  13. AC_HEADER_STDC
  14. -if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"
  15. +if test no = "$libltdl_cv_func_dlopen" && test no = "$libltdl_cv_lib_dl_dlopen"
  16. then
  17. AC_CHECK_HEADERS([dns_sd.h], [],
  18. [AC_MSG_ERROR([Could not find dns_sd.h header, please install libavahi-compat-libdnssd-dev or equivalent.])])