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.

17 lines
598 B

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -42,14 +42,6 @@ ifdef HAVE_LIBIDN
  4. $(error Please fix your build system to stop defining HAVE_LIBIDN!)
  5. endif
  6. -ifeq ($(shell $(PKG_CONFIG) --exists 'libidn2 >= 2.0.3' || echo NO),)
  7. -whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn2)
  8. -DEFS += -DHAVE_LIBIDN2 $(shell $(PKG_CONFIG) --cflags libidn2)
  9. -else ifeq ($(shell $(PKG_CONFIG) --exists 'libidn' || echo NO),)
  10. -whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn)
  11. -DEFS += -DHAVE_LIBIDN $(shell $(PKG_CONFIG) --cflags libidn)
  12. -endif
  13. -
  14. ifdef HAVE_ICONV
  15. whois_OBJECTS += simple_recode.o
  16. DEFS += -DHAVE_ICONV