/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: 2021-07-05 19:14:32 UTC
  • Revision ID: tim@ed.am-20210705191432-243ayb7s2nmussvi
python3ification

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# configure.ac -- process this file with autoconf to produce a configure script
2
2
 
3
 
AC_INIT([stdhome], [m4_esyscmd_s(cat version)],
 
3
AC_INIT([stdhome], m4_esyscmd(cat VERSION|tr -d '\n'),
4
4
        [tim@ed.am], ,[http://ed.am/dev/stdhome])
5
5
AC_CONFIG_MACRO_DIR([m4])
6
6
AC_CONFIG_AUX_DIR([build-aux])
7
 
AM_INIT_AUTOMAKE([foreign dist-xz])
 
7
AM_INIT_AUTOMAKE([foreign dist-lzip])
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