-
Notifications
You must be signed in to change notification settings - Fork 9
/
configure.ac
39 lines (28 loc) · 1.04 KB
/
configure.ac
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
30
31
32
33
34
35
36
37
38
39
AC_PREREQ([2.65])
AC_INIT([Klatt], [3.05], [[email protected]], [klatt], [https://github.com/rhdunn/klatt])
AM_INIT_AUTOMAKE()
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES])
AM_SILENT_RULES([yes])
AC_CONFIG_SRCDIR([.])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
dnl ================================================================
dnl Program checks.
dnl ================================================================
AC_PROG_CC
dnl ================================================================
dnl getopt checks.
dnl ================================================================
AC_CHECK_HEADERS([getopt.h])
AC_CHECK_FUNCS([getopt_long])
dnl ================================================================
dnl Generate output.
dnl ================================================================
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
AC_MSG_NOTICE([
Configuration for Klatt complete.
Source code location: ${srcdir}
Compiler: ${CC}
Compiler flags: ${CFLAGS}
])