-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
37 lines (30 loc) · 921 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
dnl Copyright (C) 2023 Trevor Woerner <[email protected]>
dnl AC_PREREQ(2.57)
AC_INIT([kernel config diff to fragment], 1.0.0, [email protected], kernel-config-diff-to-fragment)
AC_CONFIG_SRCDIR(src/kernel-config-diff-to-fragment.c)
AC_CONFIG_AUX_DIR(cfg)
AC_CONFIG_MACRO_DIRS([cfg])
AM_INIT_AUTOMAKE([foreign no-dist-gzip dist-xz])
AM_CONFIG_HEADER(cfg/config.h)
SUBDIRS="src"
dnl **********************************
dnl checks for programs
dnl **********************************
AC_PROG_CC
AC_PROG_CPP
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S
dnl **********************************
dnl checks for header files
dnl **********************************
AC_HEADER_STDC
AC_CHECK_HEADERS(stdio.h string.h stdlib.h)
AC_CHECK_HEADERS(errno.h unistd.h getopt.h)
dnl **********************************
dnl output
dnl **********************************
AC_SUBST(SUBDIRS)
AC_OUTPUT(Makefile
cfg/Makefile
src/Makefile)