-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
43 lines (34 loc) · 1.07 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([pushmac], [0.0.1], [github.com/flynnzac/pushmac])
AC_CONFIG_SRCDIR([pushmac.pshm])
# Check if any version of pushmac is installed
AC_CHECK_PROG([pushmac_avail], [pushmac], [true], [false])
AM_CONDITIONAL([PUSHMAC], [test x$pushmac_avail = xtrue])
# Defines
AC_DEFINE([PAGE_MACRO], 100)
AC_DEFINE([PAGE_BUFFER], 10000)
AC_DEFINE([PAGE_STACK], 100)
AC_DEFINE([DEFINE], ['@'])
AC_DEFINE([SHELL], ['|'])
AC_DEFINE([PUSH], ['\#'])
AC_DEFINE([PUSH2], ['='])
AC_DEFINE([REF], ['~'])
AC_DEFINE([EXPAND], [36])
AC_DEFINE([QUESTION], ['?'])
AC_DEFINE([IGNORE], ['%'])
AC_DEFINE([SILENCE], ['^'])
AC_DEFINE([SPEAK], ['!'])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT