summaryrefslogtreecommitdiffstats
path: root/hw3/configure.ac
blob: 422b82b7c7d563e9f240c1ec6b2af823407a4b11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_INIT([sphw-b01902062], [3])
AC_CONFIG_SRCDIR([merger.c])
AC_CONFIG_HEADERS([config.h])

AM_INIT_AUTOMAKE([foreign])
AM_SILENT_RULES([yes])

# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C99
AC_PROG_RANLIB

if test x"${ac_cv_prog_cc_c99}" = xno; then
    AC_MSG_ERROR([C99 support is required to compile $PACKAGE])
fi

# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_TYPE_SIZE_T

# Checks for library functions.
AC_FUNC_MALLOC

AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([alltest.sh], [chmod a+x alltest.sh])
AC_OUTPUT