File: configure.in

package info (click to toggle)
mathwar 0.1.1-2.5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,304 kB
  • ctags: 484
  • sloc: sh: 8,816; ansic: 4,614; makefile: 320; sed: 93
file content (72 lines) | stat: -rw-r--r-- 2,082 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
dnl Process this file with autoconf to produce  configure script.
dnl
dnl Copyright (c) 2000, Kenneth W. Sodemann (stufflehead@bigfoot.com)
dnl
dnl $Id: configure.in,v 1.2 2000/11/17 11:53:03 stuffle Exp $
dnl
dnl This program is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU General Public License
dnl as published by the Free Software Foundation; either version 2
dnl of the License, or (at your option) any later version.
dnl 
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU General Public License for more details.
dnl 
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

AC_INIT(src/mathwar_main.c)
AM_INIT_AUTOMAKE(MathWar, 0.1.1)
AM_CONFIG_HEADER(config.h)

AM_MAINTAINER_MODE
AM_ACLOCAL_INCLUDE(macros)

GNOME_INIT

AC_PROG_CC
AC_ISC_POSIX
AC_HEADER_STDC
AC_ARG_PROGRAM
AM_PROG_LIBTOOL

AM_PATH_GLIB(1.2.0)

GNOME_X_CHECKS
GNOME_COMPILE_WARNINGS

ALL_LINGUAS=""
AM_GNU_GETTEXT

dnl Set PACKAGE_LOCALE_DIR in config.h.
if test "x${prefix}" = "xNONE"; then
  AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale")
else
  AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale")
fi

dnl Set PACKAGE_DATA_DIR in config.h
if test "x${prefix}" = "xNONE"; then
  AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR,
                     "${ac_default_prefix}/${DATADIRNAME}/${PACKAGE}")
else
  AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR,
                     "${prefix}/${DATADIRNAME}/${PACKAGE}")
fi

AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)

AC_OUTPUT([Makefile
           macros/Makefile
           src/Makefile
           intl/Makefile
           po/Makefile.in
           pixmaps/Makefile
           doc/Makefile
           doc/C/Makefile
           doc/C/images/Makefile])