File: configure.in

package info (click to toggle)
gsnes9x 3.12-10.1
  • links: PTS
  • area: contrib
  • in suites: etch, etch-m68k
  • size: 1,912 kB
  • ctags: 843
  • sloc: ansic: 9,821; sh: 765; makefile: 385; yacc: 318
file content (94 lines) | stat: -rw-r--r-- 3,253 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
dnl GSnes9x -- configure.in
dnl Copyright (C) 1999 Canek Pel�ez Vald�s <canek@abulafia.fciencias.unam.mx>
dnl
dnl     This program is free software; you can redistribute it and/or modify
dnl     it under the terms of the GNU General Public License as published by
dnl     the Free Software Foundation; either version 2 of the License, or
dnl     (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., 675 Mass Ave, Cambridge, MA 02139, USA.

dnl ---------------------------------------------------------------------------
dnl Process this file with autoconf to produce a configure script.
dnl ---------------------------------------------------------------------------

dnl ---------------------------------------------------------------------------
dnl Initialization.
dnl ---------------------------------------------------------------------------
AC_INIT(src/gsnes9x.h)
PACKAGE=GSnes9x
VERSION=3.12
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
AM_CONFIG_HEADER(config.h)

dnl ---------------------------------------------------------------------------
dnl All the GNOME stuff
dnl ---------------------------------------------------------------------------
AM_ACLOCAL_INCLUDE(macros)
GNOME_INIT

dnl ---------------------------------------------------------------------------
dnl Checks for programs.
dnl ---------------------------------------------------------------------------
AC_ISC_POSIX
AC_PROG_CC
AC_PROG_INSTALL
AC_C_CONST

dnl ---------------------------------------------------------------------------
dnl Checks for library functions.
dnl ---------------------------------------------------------------------------
AC_DEFINE(_GNU_SOURCE)
AC_CHECK_FUNCS(mkdir getline,
	,
	AC_MSG_WARN(Cannot find the mkdir or getline functions.))

dnl ---------------------------------------------------------------------------
dnl Gettext stuff.
dnl ---------------------------------------------------------------------------
ALL_LINGUAS="es no"
AM_GNU_GETTEXT

dnl ---------------------------------------------------------------------------
dnl Esound support.
dnl ---------------------------------------------------------------------------
AC_ARG_WITH(esd,
	[  --without-esd           disable Esound support        [default=Esound support]],
	,
	with_esd=yes)

if test "$with_esd" != yes; then
  AC_DEFINE(NO_ESD_SUPPORT)
fi

dnl ---------------------------------------------------------------------------
dnl Debug flags.
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE(debug,
	[  --enable-debug          show GSnes9x function names   [default=no]],
	,
	enable_debug=no)

if test "$enable_debug" = yes; then
  AC_DEFINE(__DEBUG__)
fi

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