bzr branch
http://bzr.ed.am/stdhome
1
by Tim Marston
initial commit; basic app startup and initial command-line processing |
1 |
# configure.ac -- process this file with autoconf to produce a configure script |
2 |
||
12
by Tim Marston
removed square brackets from AC_INIT parameter |
3 |
AC_INIT([stdhome], m4_esyscmd(cat version|tr -d '\n'), |
1
by Tim Marston
initial commit; basic app startup and initial command-line processing |
4 |
[tim@ed.am], ,[http://ed.am/dev/stdhome]) |
5 |
AC_CONFIG_MACRO_DIR([m4]) |
|
6 |
AC_CONFIG_AUX_DIR([build-aux]) |
|
54
by Tim Marston
switch to lzip |
7 |
AM_INIT_AUTOMAKE([foreign dist-lzip]) |
1
by Tim Marston
initial commit; basic app startup and initial command-line processing |
8 |
|
47
by Tim Marston
added bzr revno to version info, when available |
9 |
# checks for programs |
1
by Tim Marston
initial commit; basic app startup and initial command-line processing |
10 |
AM_PATH_PYTHON([2.6]) |
11 |
||
47
by Tim Marston
added bzr revno to version info, when available |
12 |
# checks for libraries |
13 |
||
14 |
# checks for header files |
|
15 |
||
16 |
# checks for types |
|
17 |
||
18 |
# checks for structures |
|
19 |
||
20 |
# checks for compiler characteristics |
|
21 |
||
22 |
# checks for library functions |
|
23 |
||
24 |
# checks for system services |
|
25 |
||
26 |
# determine bzr info (if any) |
|
27 |
bzr_info= |
|
28 |
if test -d .bzr |
|
29 |
then |
|
30 |
bzr=$( command -v bzr ) |
|
31 |
if test -n "$bzr" |
|
32 |
then |
|
33 |
bzr_info=" (bzr r"$( "$bzr" revno --tree )")" |
|
34 |
fi |
|
35 |
fi |
|
36 |
AC_SUBST([bzr_info]) |
|
37 |
||
38 |
AC_CONFIG_FILES([Makefile src/Makefile lib/stdhome/Makefile]) |
|
1
by Tim Marston
initial commit; basic app startup and initial command-line processing |
39 |
AC_CONFIG_FILES([src/stdhome], [chmod +x src/stdhome]) |
47
by Tim Marston
added bzr revno to version info, when available |
40 |
AC_OUTPUT |