aboutsummaryrefslogtreecommitdiff
path: root/example/calc/configure.in
blob: 260baa0c2da80c7136cff225c433666592f55b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.5)
AC_INIT(calc.c)
AM_CONFIG_HEADER(calc.h)
AM_INIT_AUTOMAKE(calc, 1.1)

AC_PROG_CC
AC_PROG_INSTALL
#
# Look for various header files
#
AC_CHECK_HEADERS(stdlib.h)

#
# Look for various functions
#
AC_CHECK_FUNC(strcmp)

AM_MAINTAINER_MODE

#
# Output Makefile with substitutions
AC_SUBST(CC)
AC_OUTPUT(Makefile)