1
# Process this file with autoconf to produce a configure script.
3
AM_INIT_AUTOMAKE(mp3check,0.8.3)
4
AC_CONFIG_SRCDIR(mp3check.cc)
5
AM_CONFIG_HEADER(config.h)
12
# Checks for libraries.
14
# Checks for header files.
17
AC_CHECK_HEADERS([fcntl.h float.h limits.h stdlib.h string.h sys/ioctl.h termios.h unistd.h])
19
# Checks for typedefs, structures, and compiler characteristics.
27
AC_CHECK_MEMBERS([struct stat.st_rdev])
29
# Checks for library functions.
31
AC_PROG_GCC_TRADITIONAL
38
AC_CHECK_FUNCS([asprintf ftruncate memmove memset munmap strchr strdup strerror strrchr strtol strtoul])
40
AC_CONFIG_FILES([Makefile])
43
echo "========================================================================"
47
echo ' make CXXFLAGS="-Wall -W -g"'
48
echo ' make CXXFLAGS="-Wall -W -Woverloaded-virtual -Wsynth -Wsign-promo -g"'