-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
49 lines (37 loc) · 939 Bytes
/
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
## ============================================================
##
## Configuration file
##
## Copyright (c) Yinka Ashon 2016
##
## ============================================================
AC_PREREQ([2.69])
AC_INIT([file-inspector], [0.0.4], [[email protected]])
AM_PROG_AR
LT_INIT
## Files
AC_CONFIG_SRCDIR([src/common.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
man/Makefile
test/Makefile
src/Makefile
src/lib/Makefile
src/inspector/Makefile
])
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
# Checks for library functions.
PKG_CHECK_MODULES([FI_DEPS], [glib-2.0 gobject-2.0])
## Automake things
AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror foreign])
AC_CONFIG_MACRO_DIRS([m4])
AC_OUTPUT
printf "\n\nAll good\n"