From 02c79fd479e024b3fa7a1ffeeb64cbafcb625aa9 Mon Sep 17 00:00:00 2001 From: Melinda Shore Date: Mon, 7 Oct 2013 08:08:41 -0700 Subject: [PATCH] No longer using automake --- configure.ac | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 939941cb..74fb18c6 100644 --- a/configure.ac +++ b/configure.ac @@ -8,12 +8,21 @@ AC_PREREQ([2.68]) AC_INIT([getdns], [0.320], [melinda.shore@nomountain.net]) AC_CONFIG_SRCDIR([src/getdns/getdns.h]) -AM_INIT_AUTOMAKE -LT_INIT +# AM_INIT_AUTOMAKE +# LT_INIT AC_CONFIG_MACRO_DIR([m4]) # Checks for programs. +AC_CANONICAL_HOST +case "$host_os" in + linux* ) CFLAGS="$CFLAGS -D_XOPEN_SOURCE=501" # unfortunate, but needed to + # pick up strdup() declaration + # in + ;; +esac + AC_PROG_CC +AC_PROG_CPP # Checks for libraries. found_all_libs=1 @@ -26,6 +35,7 @@ then AC_MSG_ERROR([One more dependencies is missing]) fi + # Checks for header files. AC_CHECK_HEADERS([inttypes.h netinet/in.h stdint.h stdlib.h string.h])