~paulliu/+junk/cfly

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
# Process this file with autoconf to produce a configure script.
AC_INIT(cfly, 1.0, grandpaul@gmail.com)
#AC_CONFIG_SRCDIR([normalkey.cc])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(cfly,1.0)

# Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S

# Checks for libraries.
AC_HAVE_LIBRARY([pthread])
AC_HAVE_LIBRARY([ncurses])
AC_HAVE_LIBRARY([m])

# Checks for header files.
AC_HEADER_SYS_WAIT
AC_HEADER_STDC
AC_UNISTD_H
AC_CHECK_HEADERS([termios.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([memset])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT