summaryrefslogtreecommitdiff
path: root/configure.ac
blob: f55f47accecc74ee7eadfcc44803127134c2843b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AC_PREREQ(2.59)
AC_INIT
AC_CONFIG_SRCDIR([eio.h])
AC_CONFIG_HEADERS([config.h])

AM_INIT_AUTOMAKE(libeio,1.0)
AM_MAINTAINER_MODE
AC_PROG_LIBTOOL

AC_PROG_CC

if test "x$GCC" = xyes ; then
  CFLAGS="$CFLAGS -O3"
fi

dnl somebody will forgive me
CFLAGS="-D_GNU_SOURCE"

m4_include([libeio.m4])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT