configure.ac
author Mikael Berthe <mikael@lilotux.net>
Sat, 13 Oct 2012 14:34:18 +0200
changeset 44 3f94f3522960
parent 38 3dad6bd6cde2
child 48 06495be653fd
permissions -rw-r--r--
[killpresence] Add a command /probe to send a presence probe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     1
#                                               -*- Autoconf -*-
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     2
# Process this file with autoconf to produce a configure script.
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     3
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     4
AC_PREREQ(2.59)
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
     5
AC_INIT([mcabber],[0.10.0-dev],[mcabber@lilotux.net])
0
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     6
AM_INIT_AUTOMAKE
1
99fd216641d8 Add module "comment", autotools stuff...
Mikael Berthe <mikael@lilotux.net>
parents: 0
diff changeset
     7
AM_CONFIG_HEADER([config-modules.h])
0
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     8
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
     9
AC_PROG_LIBTOOL
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    10
AC_PROG_RANLIB
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    11
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    12
# Checks for programs.
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    13
AC_PROG_CC
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    14
AC_PROG_INSTALL
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    15
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    16
if test "x$GCC" = "xyes"; then
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    17
    dnl Get gcc version
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    18
    AC_MSG_CHECKING([gcc version])
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    19
        gccver=$($CC -dumpversion)
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    20
        gccvermajor=$(echo $gccver | cut -d . -f1)
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    21
        gccverminor=$(echo $gccver | cut -d . -f2)
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    22
        gccvernum=$(expr $gccvermajor "*" 100 + $gccverminor)
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    23
    AC_MSG_RESULT($gccver)
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    24
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    25
    CFLAGS="$CFLAGS -Wall"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    26
    if test x"$gccvermajor" = x"4" -a x"$gccverminor" = x"2"; then
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    27
        DBGCFLAGS="-fgnu89-inline"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    28
    fi
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    29
fi
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    30
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    31
AC_SYS_LARGEFILE
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    32
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    33
# Checks for header files.
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    34
AC_HEADER_STDC
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    35
AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h \
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    36
                  stdlib.h string.h strings.h sys/socket.h sys/time.h \
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    37
                  syslog.h termios.h wchar.h wctype.h localcharset.h])
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    38
AC_CHECK_HEADERS([unistd.h], , AC_MSG_ERROR([Missing header file]))
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    39
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    40
# Checks for typedefs, structures, and compiler characteristics.
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    41
AC_HEADER_STDBOOL
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    42
AC_C_CONST
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    43
AC_C_INLINE
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    44
AC_TYPE_SIZE_T
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    45
AC_HEADER_TIME
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    46
AC_STRUCT_TM
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    47
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    48
# Checks for library functions.
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    49
AC_FUNC_ERROR_AT_LINE
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    50
AC_FUNC_MALLOC
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    51
AC_FUNC_MEMCMP
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    52
AC_FUNC_REALLOC
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    53
AC_FUNC_SELECT_ARGTYPES
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    54
AC_TYPE_SIGNAL
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    55
AC_FUNC_STRFTIME
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    56
AC_FUNC_VPRINTF
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    57
AC_CHECK_FUNCS([alarm arc4random bzero gethostbyname gethostname inet_ntoa \
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    58
                isascii memmove memset modf select setlocale socket strcasecmp \
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    59
                strchr strdup strncasecmp strrchr strstr strcasestr vsnprintf \
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    60
                iswblank])
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    61
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    62
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
    63
PKG_CHECK_MODULES(MCABBER, mcabber >= 0.10.0)
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
    64
0
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    65
# Check for glib
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    66
AM_PATH_GLIB_2_0(2.14.0,
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    67
                 [AC_DEFINE([HAVE_GLIB_REGEX], 1,
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    68
                            [Define if GLib has regex support])],
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    69
                 [AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR([glib is required]),
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    70
                                  [g_list_append], ["$gmodule_module"])],
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    71
                 [g_regex_new "$gmodule_module"])
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    72
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
    73
PKG_CHECK_MODULES(GMODULES, gmodule-2.0)
0
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    74
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    75
AC_ARG_ENABLE(debug,
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    76
    [AC_HELP_STRING(--enable-debug, add development compilation options)],
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    77
    debug=$enableval, debug="")
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    78
if test x"${debug}" = x"yes"; then
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    79
    AC_DEFINE_UNQUOTED([ENABLE_DEBUG],[1],[Devel compilation options])
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    80
    if test "x$GCC" = "xyes"; then
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    81
        if test "$gccvernum" -ge "400"; then
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    82
            CFLAGS="$CFLAGS -Wextra"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    83
        else
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    84
            CFLAGS="$CFLAGS -W"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    85
        fi
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    86
        CFLAGS="$CFLAGS -Wno-unused-parameter -pedantic -std=gnu99 $DBGCFLAGS -O0"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    87
    fi # gcc
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    88
    CFLAGS="$CFLAGS -g"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    89
else
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    90
    CFLAGS="-O2 $CFLAGS"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    91
fi
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    92
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    93
# We need _GNU_SOURCE for strptime() and strcasestr()
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    94
CFLAGS="$CFLAGS -D_GNU_SOURCE"
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
    95
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
    96
AC_ARG_ENABLE(all-modules,
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
    97
              AC_HELP_STRING([--enable-all-modules], [enable all modules]),
2
b6516e8751bb More autotools tweaking...
Mikael Berthe <mikael@lilotux.net>
parents: 1
diff changeset
    98
              enable_all_modules=$enableval)
b6516e8751bb More autotools tweaking...
Mikael Berthe <mikael@lilotux.net>
parents: 1
diff changeset
    99
6
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   100
AC_ARG_ENABLE(module-clock,
21
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   101
              AC_HELP_STRING([--enable-module-clock],
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   102
                             [enable module clock]),
6
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   103
              enable_module_clock=$enableval)
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   104
AC_ARG_ENABLE(module-comment,
21
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   105
              AC_HELP_STRING([--enable-module-comment],
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   106
                             [enable module comment]),
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   107
              enable_module_comment=$enableval)
21
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   108
AC_ARG_ENABLE(module-extsayng,
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   109
              AC_HELP_STRING([--enable-module-extsayng],
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   110
                             [enable module extsayng]),
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   111
              enable_module_extsayng=$enableval)
38
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   112
AC_ARG_ENABLE(module-ignore_auth,
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   113
              AC_HELP_STRING([--enable-module-ignore_auth],
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   114
                             [enable module ignore_auth]),
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   115
              enable_module_ignore_auth=$enableval)
17
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   116
AC_ARG_ENABLE(module-info_msgcount,
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   117
              AC_HELP_STRING([--enable-module-info_msgcount],
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   118
                             [enable module info_msgcount]),
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   119
              enable_module_info_msgcount=$enableval)
19
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   120
AC_ARG_ENABLE(module-killpresence,
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   121
              AC_HELP_STRING([--enable-module-killpresence],
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   122
                             [enable module killpresence]),
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   123
              enable_module_lastmsg=$enableval)
10
14f4f6dcc75a Add lastmsg module
Mikael Berthe <mikael@lilotux.net>
parents: 6
diff changeset
   124
AC_ARG_ENABLE(module-lastmsg,
21
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   125
              AC_HELP_STRING([--enable-module-lastmsg],
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   126
                             [enable module lastmsg]),
10
14f4f6dcc75a Add lastmsg module
Mikael Berthe <mikael@lilotux.net>
parents: 6
diff changeset
   127
              enable_module_lastmsg=$enableval)
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   128
6
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   129
AM_CONDITIONAL([INSTALL_MODULE_CLOCK],
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   130
               [test x"${enable_all_modules}" = x"yes" -o \
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   131
                     x"${enable_module_clock}" = x"yes"])
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   132
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   133
AM_CONDITIONAL([INSTALL_MODULE_COMMENT],
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   134
               [test x"${enable_all_modules}" = x"yes" -o \
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   135
                     x"${enable_module_comment}" = x"yes"])
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   136
21
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   137
AM_CONDITIONAL([INSTALL_MODULE_EXTSAYNG],
4
807420cf8002 More autotools stuff
Mikael Berthe <mikael@lilotux.net>
parents: 2
diff changeset
   138
               [test x"${enable_all_modules}" = x"yes" -o \
21
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   139
                     x"${enable_module_extsayng}" = x"yes"])
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   140
38
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   141
AM_CONDITIONAL([INSTALL_MODULE_IGNORE_AUTH],
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   142
               [test x"${enable_all_modules}" = x"yes" -o \
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   143
                     x"${enable_module_ignore_auth}" = x"yes"])
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   144
17
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   145
AM_CONDITIONAL([INSTALL_MODULE_INFO_MSGCOUNT],
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   146
               [test x"${enable_all_modules}" = x"yes" -o \
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   147
                     x"${enable_module_info_msgcount}" = x"yes"])
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   148
19
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   149
AM_CONDITIONAL([INSTALL_MODULE_KILLPRESENCE],
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   150
               [test x"${enable_all_modules}" = x"yes" -o \
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   151
                     x"${enable_module_killpresence}" = x"yes"])
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   152
10
14f4f6dcc75a Add lastmsg module
Mikael Berthe <mikael@lilotux.net>
parents: 6
diff changeset
   153
AM_CONDITIONAL([INSTALL_MODULE_LASTMSG],
14f4f6dcc75a Add lastmsg module
Mikael Berthe <mikael@lilotux.net>
parents: 6
diff changeset
   154
               [test x"${enable_all_modules}" = x"yes" -o \
14f4f6dcc75a Add lastmsg module
Mikael Berthe <mikael@lilotux.net>
parents: 6
diff changeset
   155
                     x"${enable_module_lastmsg}" = x"yes"])
14f4f6dcc75a Add lastmsg module
Mikael Berthe <mikael@lilotux.net>
parents: 6
diff changeset
   156
6
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   157
AC_CONFIG_FILES([clock/Makefile
c2ad0b151a5e New module: clock
Mikael Berthe <mikael@lilotux.net>
parents: 4
diff changeset
   158
                 comment/Makefile
21
9798e3aaa851 Add module extsayng, rename previous one to extsay_old
Mikael Berthe <mikael@lilotux.net>
parents: 19
diff changeset
   159
                 extsay-ng/Makefile
38
3dad6bd6cde2 Add ignore_auth module
franky
parents: 34
diff changeset
   160
                 ignore_auth/Makefile
17
be7e71438f76 Add module info_msgcount
Mikael Berthe <mikael@lilotux.net>
parents: 16
diff changeset
   161
                 info_msgcount/Makefile
19
85296f26810e Add module killpresence
Mikael Berthe <mikael@lilotux.net>
parents: 17
diff changeset
   162
                 killpresence/Makefile
10
14f4f6dcc75a Add lastmsg module
Mikael Berthe <mikael@lilotux.net>
parents: 6
diff changeset
   163
                 lastmsg/Makefile
0
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
   164
                 Makefile])
d6d9e95a4ae5 Initial module repository
Mikael Berthe <mikael@lilotux.net>
parents:
diff changeset
   165
AC_OUTPUT