Check for alloca.h in the configure script
@ -1,12 +1,10 @@
#define _XOPEN_SOURCE_EXTENDED
#include <locale.h>
#ifdef SNDIO
#include <stdlib.h>
#endif
#ifndef SNDIO
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#else
#include <stdio.h>
@ -63,11 +61,6 @@
#include "input/sndio.c"
#include <iniparser.h>
@ -36,6 +36,11 @@ AC_CHECK_HEADERS([pthread.h],
AC_MSG_ERROR([no pthread.h header header file found])
)
dnl ######################
dnl checking for alloca.h
AC_CHECK_HEADER([alloca.h], [CPPFLAGS="$CPPFLAGS -DHAVE_ALLOCA_H"])
dnl checking for alsa dev