configure.ac 806 B

12345678910111213141516171819202122232425262728293031
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.59])
  4. AC_INIT(bind10-examples, 20120817, bind10-dev@isc.org)
  5. AC_CONFIG_SRCDIR([README])
  6. AM_INIT_AUTOMAKE
  7. AC_CONFIG_HEADERS([config.h])
  8. # Checks for programs.
  9. AC_PROG_CXX
  10. AC_LANG([C++])
  11. # Checks for BIND 10 headers and libraries
  12. AX_ISC_BIND10
  13. if test "x$BIND10_RPATH" != "x"; then
  14. LDFLAGS="$LDFLAGS $BIND10_RPATH"
  15. fi
  16. # For the example host program, we require the BIND 10 DNS library
  17. if test "x$BIND10_DNS_LIB" = "x"; then
  18. AC_MSG_ERROR([unable to find BIND 10 DNS library needed to build 'host'])
  19. fi
  20. # Checks for typedefs, structures, and compiler characteristics.
  21. AC_HEADER_STDBOOL
  22. AC_CONFIG_FILES([Makefile
  23. host/Makefile])
  24. AC_OUTPUT