summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 9f4cea9d12d2ace8da7c9bcf49cf2a3f19c3e5e1 (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 $CFLAGS"

m4_include([libeio.m4])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT