From 4cd55dc1662c2e4cdc150b8bd77349bf3e776245 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Sat, 28 Nov 2015 13:22:05 +0100 Subject: [PATCH] Add missing AC_CONFIG_MACRO_DIRS and some configure.ac cleanup --- configure.ac | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 1fff1d53..76e37961 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,12 @@ AC_INIT([Icecast], [2.4.99.1], [icecast@xiph.org]) -AC_PREREQ(2.54) -AC_CONFIG_SRCDIR(src/main.c) +AC_PREREQ([2.54]) +AC_CONFIG_SRCDIR([src/main.c]) +AC_CONFIG_MACRO_DIRS([m4]) dnl Process this file with autoconf to produce a configure script. AM_INIT_AUTOMAKE -AM_CONFIG_HEADER(config.h) +AM_CONFIG_HEADER([config.h]) AM_MAINTAINER_MODE AC_PROG_CC @@ -51,9 +52,9 @@ XIPH_C__FUNC__ dnl Check for types dnl Checks for library functions. -AC_CHECK_FUNCS(localtime_r poll gettimeofday ftime) -AC_SEARCH_LIBS(nanosleep, rt posix4, AC_DEFINE(HAVE_NANOSLEEP, 1, - [Define if you have nanosleep])) +AC_CHECK_FUNCS([localtime_r poll gettimeofday ftime]) + +AC_SEARCH_LIBS([nanosleep], [rt posix4], AC_DEFINE([HAVE_NANOSLEEP], [1], [Define if you have nanosleep])) XIPH_NET dnl -- configure options --