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
|
# configure.ac -- process this file with autoconf to produce a configure script
AC_INIT([stdhome], m4_esyscmd(cat VERSION|tr -d '\n'),
[tim@ed.am], ,[http://ed.am/dev/stdhome])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign dist-lzip])
# checks for programs
AM_PATH_PYTHON([2.6])
# checks for libraries
# checks for header files
# checks for types
# checks for structures
# checks for compiler characteristics
# checks for library functions
# checks for system services
# determine bzr info (if any)
bzr_info=
if test -d .bzr
then
bzr=$( command -v bzr )
if test -n "$bzr"
then
bzr_info=" (bzr r"$( "$bzr" revno --tree )")"
fi
fi
AC_SUBST([bzr_info])
AC_CONFIG_FILES([Makefile src/Makefile lib/stdhome/Makefile])
AC_CONFIG_FILES([src/stdhome], [chmod +x src/stdhome])
AC_OUTPUT
|