-
Notifications
You must be signed in to change notification settings - Fork 6
/
configure.ac
45 lines (35 loc) · 1.02 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
40
41
42
43
44
45
#=====================================================
# Lilith M-Code Emulator
#
# Guido Hoss, 12.03.2022
#
# Published by Guido Hoss under GNU Public License V3.
#=====================================================
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.71])
AC_INIT([mule], [0.2], [Guido Hoss])
AM_INIT_AUTOMAKE([-Werror foreign subdir-objects])
AC_CONFIG_HEADERS([config.h])
# Checks for extra GNU functions
AC_USE_SYSTEM_EXTENSIONS
AC_DEFINE([_GNU_SOURCE])
AH_VERBATIM([_GNU_SOURCE],
[/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif])
AC_CHECK_DECLS([asprintf])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
AC_CHECK_LIB(ncurses, initscr, ,
[AC_MSG_ERROR([ncurses not found])])
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([
src/Makefile
Makefile
])
AC_OUTPUT