Blame view

configure.ac 899 Bytes
153dd209   KMG   Setting up autoco...
1
2
3
4
5
# gf-complete autoconf template

# FIXME - add project url as the last argument
AC_INIT(gf-complete, 1.0)

d315d20d   Janne Grunau   build: make CFLAG...
6
7
8
AC_PREREQ([2.61])

AM_INIT_AUTOMAKE([no-dependencies], [foreign])
153dd209   KMG   Setting up autoco...
9
10
LT_INIT # libtool

2a2f1e30   Janne Grunau   check: split unit...
11
AC_CONFIG_HEADER(include/config.h)
153dd209   KMG   Setting up autoco...
12
13
14
15
16
17
18

dnl Needed when reconfiguring with 'autoreconf -i -s'
AC_CONFIG_MACRO_DIR([m4])

# This prevents './configure; make' from trying to run autotools.
AM_MAINTAINER_MODE([disable])

a98f6c11   Kevin Greenan   Added entry to co...
19
20
21
# Override default CFLAGS
CFLAGS="-Wall -Wpointer-arith -O3 -g"

153dd209   KMG   Setting up autoco...
22
23
24
dnl Compiling with per-target flags requires AM_PROG_CC_C_O.
AC_PROG_CC

36e75c3e   Janne Grunau   use posix_memalig...
25
26
27
28
29
30
31
AX_EXT()

AC_ARG_ENABLE([sse],
              AS_HELP_STRING([--disable-sse], [Build without SSE optimizations]),
              [if   test "x$enableval" = "xno" ; then
                SIMD_FLAGS=""
                echo "DISABLED SSE!!!"
0690ba86   Bassam Tabbara   Added --enable fl...
32
33
34
35
36
              fi]
)

AC_CONFIG_FILES([Makefile src/Makefile tools/Makefile test/Makefile examples/Makefile])
AC_OUTPUT
153dd209   KMG   Setting up autoco...

eb5ce0ca   Janne Grunau   configure: add AR...

a11dc931   Kevin Greenan   Adding option to ...

22cd7b15   Loic Dachary   add --enable-valg...

ad110421   Bassam Tabbara   Simplify SIMD mak...

153dd209   KMG   Setting up autoco...