Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (37 sloc) 1.134 kb
02d35c0 @jperkin Bump to 0.16-dev
authored
1 AC_INIT([irssi-icb], [0.16-dev], [jonathan@perkin.org.uk])
d89f5ac @jperkin Autotools cleanup:
authored
2 AC_PREREQ([2.61])
3
4 AC_CONFIG_HEADERS(config.h)
5
6 AM_INIT_AUTOMAKE([-Wall -Werror foreign nostdinc silent-rules])
7 AM_MAINTAINER_MODE
8
9 AC_PROG_CC
10 AC_PROG_CPP
11 AC_PROG_LIBTOOL
12 AC_STDC_HEADERS
13 AC_ARG_PROGRAM
14 AM_DISABLE_STATIC
15
16 AC_ARG_WITH([irssi],
17 [AS_HELP_STRING([--with-irssi], [path to irssi directory])],
18 [],
19 [with_irssi=no])
20
21 AS_IF([test "x$with_irssi" = "xno"], [
22 AS_IF([test -f ../irssi-config],
23 [with_irssi=".."],
24 AS_IF([test -f ../irssi/irssi-config],
25 [with_irssi="../.."],
26 AS_IF([test -f ../../irssi/irssi-config],
27 [with_irssi="../../irssi"],
28 AS_ERROR([Could not determine irssi directory])))) ])
29
30 # fix relative paths
31 IRSSI_INCLUDE=`cd $with_irssi; pwd`
32
33 AC_SUBST(IRSSI_INCLUDE)
34
35 AS_IF([test ! -f "$IRSSI_INCLUDE/irssi-config"],
36 [AC_ERROR(Not irssi directory: $IRSSI_INCLUDE)]
37 )
38
39 PKG_CHECK_MODULES(GLIB, glib-2.0)
40
41 AC_CONFIG_FILES([
42 Makefile
43 src/Makefile
44 src/core/Makefile
45 src/fe-common/Makefile
46 ])
47
48 AC_OUTPUT
Something went wrong with that request. Please try again.