~ubuntu-branches/ubuntu/saucy/ricochet/saucy

« back to all changes in this revision

Viewing changes to ricochet_0.2.orig/configure.ac

  • Committer: Package Import Robot
  • Author(s): Keith Packard
  • Date: 2012-06-11 13:37:57 UTC
  • Revision ID: package-import@ubuntu.com-20120611133757-zn0ukd22vz56ymto
Tags: 0.3
* Improve appearance of board
* Fix user list when removing/adding same user

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl Process this file with autoconf to produce a configure script.
2
 
 
3
 
dnl Copyright © 2012 Keith Packard
4
 
dnl This program is free software; you can redistribute it and/or modify
5
 
dnl it under the terms of the GNU General Public License as published by
6
 
dnl the Free Software Foundation; version 2 of the License.
7
 
dnl
8
 
dnl This program is distributed in the hope that it will be useful, but
9
 
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
 
dnl General Public License for more details.
12
 
dnl
13
 
dnl You should have received a copy of the GNU General Public License along
14
 
dnl with this program; if not, write to the Free Software Foundation, Inc.,
15
 
dnl 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16
 
 
17
 
AC_PREREQ([2.64])
18
 
 
19
 
AC_INIT([server-main.5c],[0.2],[http://rr.nickle.org],[ricochet])
20
 
 
21
 
AC_CONFIG_SRCDIR([server-main.5c])
22
 
AC_CONFIG_AUX_DIR(.)
23
 
 
24
 
AM_INIT_AUTOMAKE([foreign])
25
 
 
26
 
AM_MAINTAINER_MODE
27
 
 
28
 
AC_PROG_INSTALL
29
 
 
30
 
ricochetlibdir='${datadir}'/ricochet
31
 
 
32
 
AC_SUBST(ricochetlibdir)
33
 
 
34
 
AC_ARG_ENABLE([gameman],
35
 
[  --enable-gameman  Install manual pages in section 6 rather than section 1],
36
 
[case "${enableval}" in
37
 
  yes) gameman=true ;;
38
 
  no) gameman=false ;;
39
 
  *) AC_MSG_ERROR([bad value ${enableval} for --enable-gameman]) ;;
40
 
esac],[gameman=false])
41
 
 
42
 
AM_CONDITIONAL([GAMEMAN], [test x$gameman = xtrue])
43
 
 
44
 
if test x$gameman = xtrue; then
45
 
        MAN_SECTION=6
46
 
else
47
 
        MAN_SECTION=1
48
 
fi
49
 
 
50
 
AC_SUBST(MAN_SECTION)
51
 
 
52
 
BUILD_DATE=`date +%F`
53
 
 
54
 
AC_SUBST(BUILD_DATE)
55
 
 
56
 
AC_CONFIG_FILES(
57
 
 Makefile
58
 
 ricochet.man
59
 
 rrserve.man
60
 
 ricochet.spec
61
 
 )
62
 
 
63
 
AC_OUTPUT