-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
60 lines (40 loc) · 1.14 KB
/
configure.ac
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
# Autoconf requirements
AC_PREREQ([2.68])
# Initialize package
AC_INIT([git-info], [0.1.0.5], [git-info@guillermo.in], [git-info], [https://github.com/LeakyAbstractions/git-info/])
# Information on the package
AC_COPYRIGHT([Copyright 2018 Guillermo Calvo])
AC_REVISION([$PACKAGE_VERSION])
AC_MSG_NOTICE([
_ _ _ __
(_) | (_) / _|
__ _ _| |_ _____ _ _ __ | |_ ___
/ _` | | __|_____| | '_ \| _/ _ \\
| (_| | | |_ | | | | | || (_) |
\__, |_|\__| |_|_| |_|_| \___/
__/ | Automatically generate a
|___/ header file with GIT info
])
# Check if the source folder is correct
AC_CONFIG_SRCDIR([src/generate-git-info])
# Checks for programs.
AC_PROG_CC
AC_PROG_CPP
# Checks for header files.
AC_HEADER_STDC
# Checks for compiler characteristics
AC_LANG([C])
# The config file is generated but not used by the source code
AC_CONFIG_FILES([
git-info.pc
Makefile
])
# Automake initialisation
AM_INIT_AUTOMAKE([
foreign
subdir-objects
no-define
])
AC_OUTPUT