mirror of https://github.com/getdnsapi/getdns.git
No longer using automake
This commit is contained in:
parent
75cdad16ec
commit
02c79fd479
14
configure.ac
14
configure.ac
|
@ -8,12 +8,21 @@
|
||||||
AC_PREREQ([2.68])
|
AC_PREREQ([2.68])
|
||||||
AC_INIT([getdns], [0.320], [melinda.shore@nomountain.net])
|
AC_INIT([getdns], [0.320], [melinda.shore@nomountain.net])
|
||||||
AC_CONFIG_SRCDIR([src/getdns/getdns.h])
|
AC_CONFIG_SRCDIR([src/getdns/getdns.h])
|
||||||
AM_INIT_AUTOMAKE
|
# AM_INIT_AUTOMAKE
|
||||||
LT_INIT
|
# LT_INIT
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
# Checks for programs.
|
# 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 <string.h>
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
AC_PROG_CPP
|
||||||
|
|
||||||
# Checks for libraries.
|
# Checks for libraries.
|
||||||
found_all_libs=1
|
found_all_libs=1
|
||||||
|
@ -26,6 +35,7 @@ then
|
||||||
AC_MSG_ERROR([One more dependencies is missing])
|
AC_MSG_ERROR([One more dependencies is missing])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_CHECK_HEADERS([inttypes.h netinet/in.h stdint.h stdlib.h string.h])
|
AC_CHECK_HEADERS([inttypes.h netinet/in.h stdint.h stdlib.h string.h])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue