-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.in
More file actions
51 lines (36 loc) · 954 Bytes
/
configure.in
File metadata and controls
51 lines (36 loc) · 954 Bytes
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
46
47
48
49
50
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT
AM_CONFIG_HEADER(config.h)
AC_PREFIX_DEFAULT(/usr/local)
gaadatadir=$datadir/gaa
gaadocdir=$datadir/doc/gaa
gaasampledir=$datadir/gaa/sample
AC_SUBST(gaadatadir)
AC_SUBST(gaadocdir)
AC_SUBST(gaasampledir)
AM_INIT_AUTOMAKE(gaa, 1.6.6)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S
dnl Checks for libraries.
if test $ac_cv_c_compiler_gnu != no; then
CFLAGS="${CFLAGS} -ggdb3 -Wall -Wpointer-arith"
fi
dnl Checks for header files.
AC_HEADER_STDC
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
dnl We depend on BISON (other yacc's may not do)
AC_CHECK_PROGS([BISON], [bison])
if test -z "$BISON"; then
YACC=:
else
YACC="$BISON -y"
fi
AC_SUBST(YACC)
AM_PROG_LEX
dnl Checks for library functions.
AC_FUNC_ALLOCA
AC_OUTPUT(source/Makefile Makefile doc/Makefile source/skel/Makefile sample/Makefile)