forked from LLNL/lustre-tools-llnl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
41 lines (33 loc) · 1007 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT
X_AC_META
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_SRCDIR([src/lpurge.c])
AC_CONFIG_HEADER([config.h])
AC_CANONICAL_HOST
AC_CANONICAL_SYSTEM
# Check for system capabilities
AC_SYS_LARGEFILE
case "$target_cpu" in
i[[3456]]86*)
# need large file support on 32-bit systems
AC_DEFINE([_LARGEFILE64_SOURCE], [1], [Support large file sizes])
;;
*)
;;
esac
# Automake support
AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION], [check-news dist-bzip2 gnu no-define])
AM_MAINTAINER_MODE
# Checks for programs.
AC_PROG_CC
# Check for headers
AC_CHECK_HEADERS([lustre/lustre_user.h], [],
[AC_MSG_ERROR([lustre header not found])])
AC_CONFIG_FILES([Makefile
doc/Makefile
doc/man/Makefile
src/Makefile
scripts/Makefile])
AC_OUTPUT