diff options
author | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-17 14:13:40 +0200 |
---|---|---|
committer | tiptorrent development team <tiptorrent@soleta.eu> | 2021-09-18 18:36:06 +0200 |
commit | 5c8ec91711f4cc1a52c499f0b1adfb0d10754cdd (patch) | |
tree | a4103bad51f5e00e686459d398f9fbb887d24049 /configure.ac |
initial commit
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..e78ac0e --- /dev/null +++ b/configure.ac @@ -0,0 +1,23 @@ +AC_INIT(tiptorrent-client, 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 |