/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Tim Marston
  • Date: 2014-07-17 18:20:34 UTC
  • Revision ID: tim@ed.am-20140717182034-3rjqq9qbn0eeq34i
added bzr revno to version info, when available

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
AC_CONFIG_AUX_DIR([build-aux])
7
7
AM_INIT_AUTOMAKE([foreign dist-xz])
8
8
 
9
 
# checks for programs.
 
9
# checks for programs
10
10
AM_PATH_PYTHON([2.6])
11
11
 
12
 
# checks for libraries.
13
 
 
14
 
# checks for header files.
15
 
 
16
 
# checks for typedefs, structures, and compiler characteristics.
17
 
 
18
 
# checks for library functions.
19
 
 
 
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])
20
39
AC_CONFIG_FILES([src/stdhome], [chmod +x src/stdhome])
21
 
AC_OUTPUT([Makefile src/Makefile lib/stdhome/Makefile])
 
40
AC_OUTPUT