/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: 2013-12-08 19:28:11 UTC
  • Revision ID: tim@ed.am-20131208192811-r20qj7cgmn4duw11
initial commit; basic app startup and initial command-line processing

Show diffs side-by-side

added added

removed removed

1
1
# configure.ac -- process this file with autoconf to produce a configure script
2
2
 
3
 
AC_INIT([stdhome], m4_esyscmd(cat VERSION|tr -d '\n'),
 
3
AC_INIT([stdhome], [m4_esyscmd_s(cat version)],
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-lzip])
 
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 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])
 
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
 
39
20
AC_CONFIG_FILES([src/stdhome], [chmod +x src/stdhome])
40
 
AC_OUTPUT
 
21
AC_OUTPUT([Makefile src/Makefile lib/stdhome/Makefile])