-
Notifications
You must be signed in to change notification settings - Fork 6
/
configure.ac
77 lines (62 loc) · 1.63 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(neftis, 0.0.0)
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADER([common/include/config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE
AM_ARCH=x86
cflags_were_set=false
if test "${CFLAGS+set}" = set; then
AM_CFLAGS=$CFLAGS
CFLAGS=
cflags_were_set=:
fi
ccasflags_were_set=false
if test "${CCASFLAGS+set}" = set; then
AM_CCASFLAGS=$CCASFLAGS
CCASFLAGS=
ccasflags_were_set=:
fi
# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AM_PROG_AS
AC_PROG_LIBTOOL
# the following needs to come after the expansion of AC_PROG_CC
if $cflags_were_set; then :; else
AM_CFLAGS=$CFLAGS
CFLAGS=
fi
if $ccasflags_were_set; then :; else
AM_CCASFLAGS=$CCASFLAGS
CCASFLAGS=
fi
AC_SUBST(AM_CCASFLAGS)
AC_SUBST(AM_CFLAGS)
AC_SUBST(AM_ARCH)
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
if test "$ac_cv_c_inline" != no ; then
AC_DEFINE([HAVE_INLINE], [0], [This compiler supports inline functions])
AC_DEFINE(HAVE_INLINE,1)
AC_SUBST(HAVE_INLINE)
fi
# Checks for library functions.
AC_CONFIG_FILES([Makefile
user/Makefile
serv/Makefile
serv/fs/Makefile
serv/auth/Makefile
common/Makefile
arch/x86/Makefile
microkernel/loaders/elf/Makefile
microkernel/scheds/default/Makefile
microkernel/Makefile
osabi/elf32-linux-gnu/Makefile
])
AC_OUTPUT