Blame view

configure.ac 844 Bytes
00a17c0a   KMG   Setup autoconf to...
1
2
# Jerasure autoconf template

e79904ea   David Glessner   This is the squas...
3
4
# FIXME - add project url as the last argument
AC_INIT(Jerasure, 2.0)
99ae37b8   Loic Dachary   documentation: up...
5

e79904ea   David Glessner   This is the squas...
6
7
AC_PREREQ([2.61])

00a17c0a   KMG   Setup autoconf to...
8
AM_INIT_AUTOMAKE([no-dependencies], [foreign])
e79904ea   David Glessner   This is the squas...
9
10
LT_INIT # libtool

00a17c0a   KMG   Setup autoconf to...
11
AC_CONFIG_HEADER(include/config.h)
e79904ea   David Glessner   This is the squas...
12

00a17c0a   KMG   Setup autoconf to...
13
dnl Needed when reconfiguring with 'autoreconf -i -s'
e79904ea   David Glessner   This is the squas...
14
15
16
AC_CONFIG_MACRO_DIR([m4])

dnl Compiling with per-target flags requires AM_PROG_CC_C_O.
00a17c0a   KMG   Setup autoconf to...
17
AC_PROG_CC
e79904ea   David Glessner   This is the squas...
18

00a17c0a   KMG   Setup autoconf to...
19
# Check for gf_complete headers
e79904ea   David Glessner   This is the squas...
20
AC_CHECK_HEADERS(gf_complete.h gf_general.h gf_int.h gf_method.h gf_rand.h)
00a17c0a   KMG   Setup autoconf to...
21
22

AC_CHECK_LIB([gf_complete], [gf_init_easy], [],
e79904ea   David Glessner   This is the squas...
23
             [
00a17c0a   KMG   Setup autoconf to...
24
              echo "Error! You need to have gf_complete installed."
e79904ea   David Glessner   This is the squas...
25
26
              echo "gf_complete is available from http://web.eecs.utk.edu/~plank/plank/papers/CS-13-703.html"
              exit -1
99ae37b8   Loic Dachary   documentation: up...
27
             ])
00a17c0a   KMG   Setup autoconf to...
28
29

AX_EXT()
e79904ea   David Glessner   This is the squas...
30
31
32

AC_CONFIG_FILES([Makefile Examples/Makefile src/Makefile])
AC_OUTPUT
21de9838   Kevin Greenan   Adding option to ...

e79904ea   David Glessner   This is the squas...

00a17c0a   KMG   Setup autoconf to...

e79904ea   David Glessner   This is the squas...

00a17c0a   KMG   Setup autoconf to...