-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
69 lines (54 loc) · 1.98 KB
/
configure.ac
File metadata and controls
69 lines (54 loc) · 1.98 KB
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
# Process this file with autoconf to produce a configure script.
#
# ReCaged - a Free Software, Futuristic, Racing Game
#
# Copyright (C) 2012, 2013, 2014, 2015 Mats Wahlberg
#
# This file is part of ReCaged.
#
# ReCaged is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ReCaged is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ReCaged. If not, see <http://www.gnu.org/licenses/>.
#
AC_PREREQ([2.60]) #should work (and be old enough)
AC_INIT([ReCaged], [0.8.3~git], [rcxslinger@gmail.com], [recaged], [http://recaged.net])
# Define codename and year (for title and version printout)
AC_DEFINE([PACKAGE_CODENAME], ["The Devil's Mind is an Idle Workshop"])
AC_DEFINE([PACKAGE_YEAR], ["2023"])
# Only a safety check
AC_CONFIG_SRCDIR([src/recaged.cpp])
# For checking os/target
AC_CANONICAL_TARGET
# No need for "AC_CONFIG_HEADERS" right now?
# Arguments for automake
AM_INIT_AUTOMAKE([-Wall -Werror])
# Silent rules by default (easier to spot errors)
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
# Checks for header files.
AC_CHECK_HEADERS([limits.h stddef.h stdlib.h string.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_STRTOD
AC_CHECK_FUNCS([floor memset pow sqrt strcasecmp strrchr strtol])
# Check for additional libraries (in acinclude.m4)
RC_LIBS_CONFIG
# Finally: what to generate
AC_CONFIG_FILES([Makefile config/Makefile data/Makefile man/Makefile src/Makefile w32/Makefile])
AC_OUTPUT