summaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: 7764022835b694963884f77402824ed93b0395aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AC_INIT(tiptorrent, 1.0, info@soleta.eu)
AC_CONFIG_AUX_DIR([build-aux])
AC_PREFIX_DEFAULT(/usr)

AC_CANONICAL_HOST
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax no-dist-gzip dist-bzip2 1.6])

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S

case "$host" in
*-*-linux*) ;;
*) AC_MSG_ERROR([Linux only, sorry!]);;
esac

AC_CHECK_LIB([ev], [ev_loop_new], , AC_MSG_ERROR([libev not found]))

AC_CONFIG_FILES([Makefile])
AC_OUTPUT