Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 115 lines (103 sloc) 2.117 kb
5dbe11a Jim Garlick import trunk
garlick authored
1 ##
2 # Prologue
3 ##
dd37f10 Jim Garlick Clean up build system and integrate npfs. Add make rpm target.
garlick authored
4 AC_INIT(m4_esyscmd([awk '/Name:/ {printf "%s",$2; exit}' META]),
5 m4_esyscmd([awk '/Version:/ {printf "%s",$2; exit}' META]))
5dbe11a Jim Garlick import trunk
garlick authored
6 AC_CONFIG_AUX_DIR([config])
7 AC_CONFIG_SRCDIR([NEWS])
8 AC_CANONICAL_SYSTEM
9 X_AC_META
10 X_AC_EXPAND_INSTALL_DIRS
11
12 ##
13 # Automake support
14 ##
15 AM_INIT_AUTOMAKE($META_NAME, $META_VERSION)
16 AM_CONFIG_HEADER([config/config.h])
17 AM_MAINTAINER_MODE
18
f56df34 Jim Garlick Fine tune autoconf rules for dbench
garlick authored
19 AC_DEFINE([_GNU_SOURCE], 1,
20 [Define _GNU_SOURCE so that we get all necessary prototypes])
21
5dbe11a Jim Garlick import trunk
garlick authored
22 ##
23 # Checks for programs
24 ##
25 AC_PROG_CC
26 if test "$GCC" = yes; then
62ce2c8 Jim Garlick Drop -Werror from default CFLAGS (issue #19)
garlick authored
27 GCCWARN="-Wall"
5dbe11a Jim Garlick import trunk
garlick authored
28 AC_SUBST([GCCWARN])
29 fi
30 AC_PROG_RANLIB
31
f56df34 Jim Garlick Fine tune autoconf rules for dbench
garlick authored
32 # dbench is conditionally compiled for 'make check'
33 DBENCH
91e2071 Jim Garlick Add dbench and postmark tests
garlick authored
34
5dbe11a Jim Garlick import trunk
garlick authored
35 ##
36 # Checks for header files.
37 ##
38 AC_HEADER_STDC
39 AC_CHECK_HEADERS( \
40 getopt.h \
31980e8 Jim Garlick Fix race in liblsd (issue #18).
garlick authored
41 pthread.h \
5dbe11a Jim Garlick import trunk
garlick authored
42 )
43
44 ##
45 # Checks for typedefs, structures, and compiler characteristics
46 ##
47 AC_C_BIGENDIAN
48 AC_C_CONST
49
50 ##
51 # Checks for library functions
52 ##
53 AC_CHECK_FUNCS( \
54 getopt_long \
55 vsnprintf \
56 vsscanf \
50afea1 Jim Garlick add allsquash option, portability to glibc-2.5, prep for pre20 release
garlick authored
57 utimensat \
5dbe11a Jim Garlick import trunk
garlick authored
58 )
59 X_AC_CHECK_PTHREADS
60 X_AC_WRAP
8bbada1 Jim Garlick First pass at implementing dtop monitoring utility
garlick authored
61 X_AC_CURSES
a434373 Jim Garlick Don't require munge to be found or explicitly disabled (issue 23)
garlick authored
62 X_AC_CHECK_COND_LIB(munge, munge_ctx_create)
364aea4 Jim Garlick Bypass DAC check on root-authenticated connection (issue 53)
garlick authored
63 X_AC_CHECK_COND_LIB(cap, cap_get_proc)
9f3ebdf Jim Garlick Prepare infrastructure for testing with tcmalloc
garlick authored
64 X_AC_TCMALLOC
c04ccbb Jim Garlick Fix configure to find lua on debian/ubuntu
garlick authored
65 AX_LUA_HEADERS
66 AX_LUA_HEADERS(501)
67 AX_LUA_LIBS
53a1a5a Jim Garlick Add more infrastructure for rdma transport
garlick authored
68 X_AC_RDMATRANS
5dbe11a Jim Garlick import trunk
garlick authored
69
70 ##
71 # For list.c, hostlist.c, hash.c
72 ##
73 AC_DEFINE(WITH_LSD_FATAL_ERROR_FUNC, 1, [Define lsd_fatal_error])
31980e8 Jim Garlick Fix race in liblsd (issue #18).
garlick authored
74 AC_DEFINE(WITH_LSD_NOMEM_ERROR_FUNC, 1, [Define lsd_nomem_error])
75 AC_DEFINE(WITH_PTHREADS, 1, [Make liblsd thread safe])
5dbe11a Jim Garlick import trunk
garlick authored
76
0d66217 Jim Garlick Misc. clean up
garlick authored
77 AC_SYS_LARGEFILE
78
5dbe11a Jim Garlick import trunk
garlick authored
79 ##
80 # Epilogue
81 ##
82 AC_CONFIG_FILES( \
83 Makefile \
dd37f10 Jim Garlick Clean up build system and integrate npfs. Add make rpm target.
garlick authored
84 diod.spec \
85 libdiod/Makefile \
5dbe11a Jim Garlick import trunk
garlick authored
86 liblsd/Makefile \
dd37f10 Jim Garlick Clean up build system and integrate npfs. Add make rpm target.
garlick authored
87 libnpfs/Makefile \
48d9fde Jim Garlick add a copy of libnpclient, needs porting.
garlick authored
88 libnpclient/Makefile \
6e97ddf Jim Garlick move man pages around, reconfig on rhel6, re-fix gcc4 fcall.c problem
garlick authored
89 diod/diod.8 \
99c9f07 Jim Garlick reorganize utilities in preparation for automounter integration
garlick authored
90 utils/diodmount.8 \
5e388ae Jim Garlick Add diodcat utility.
garlick authored
91 utils/diodcat.8 \
6c0cd8f Jim Garlick Add missing rule to make dtop man page.
garlick authored
92 utils/dtop.8 \
77f110a Jim Garlick Add diodload utility for testing.
garlick authored
93 utils/diodload.8 \
40d78d8 Jim Garlick Add diodls utility
garlick authored
94 utils/diodls.8 \
a1e7f62 Jim Garlick Add diodshowmount utility (issue 111)
garlick authored
95 utils/diodshowmount.8 \
60df8ea Jim Garlick Arrange for config file reload in sighup.
garlick authored
96 etc/diod.conf.5 \
5dbe11a Jim Garlick import trunk
garlick authored
97 scripts/Makefile \
b921b4a Jim Garlick Perform a late term abortion on diodctl.
garlick authored
98 scripts/diod.init \
74e0f5e Jim Garlick post process auto.diod paths
garlick authored
99 scripts/auto.diod \
66d1e89 Jim Garlick intermediate commit during reorg
garlick authored
100 diod/Makefile \
99c9f07 Jim Garlick reorganize utilities in preparation for automounter integration
garlick authored
101 utils/Makefile \
62f7fd5 Jim Garlick consolidate tests under tests directory
garlick authored
102 tests/Makefile \
103 tests/misc/Makefile \
104 tests/kern/Makefile \
91e2071 Jim Garlick Add dbench and postmark tests
garlick authored
105 tests/kern/fstest/Makefile \
106 tests/kern/dbench/Makefile \
f92068b Jim Garlick Move postmark to its own directory
garlick authored
107 tests/kern/postmark/Makefile \
8008181 Jim Garlick Add fsx test, with caveats (issue 75)
garlick authored
108 tests/kern/fsx/Makefile \
7fc1569 Jim Garlick Add fsstress test
garlick authored
109 tests/kern/fsstress/Makefile \
62f7fd5 Jim Garlick consolidate tests under tests directory
garlick authored
110 tests/user/Makefile \
fbd6521 Jim Garlick update example config and include it in package
garlick authored
111 etc/Makefile \
5dbe11a Jim Garlick import trunk
garlick authored
112 )
dd37f10 Jim Garlick Clean up build system and integrate npfs. Add make rpm target.
garlick authored
113
5dbe11a Jim Garlick import trunk
garlick authored
114 AC_OUTPUT
Something went wrong with that request. Please try again.