Mercurial > hg
comparison mcabber/configure.ac @ 868:cefdaeb42e67
Add online /help command
We use help files stored in "$DATA_DIR/mcabber/help/$lang/", with $lang
defaulting to "en".
The DATA_DIR location can be set using configure --with-datadir="...".
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 25 May 2006 18:20:52 +0200 |
parents | 8c64874c449e |
children | b38760d9ec2d |
comparison
equal
deleted
inserted
replaced
867:7f056c566569 | 868:cefdaeb42e67 |
---|---|
111 fi | 111 fi |
112 fi | 112 fi |
113 | 113 |
114 AC_DEFINE(BUILD_JABBER, 1, [build with jabber support]) | 114 AC_DEFINE(BUILD_JABBER, 1, [build with jabber support]) |
115 | 115 |
116 AC_ARG_WITH(datadir, | |
117 [AC_HELP_STRING(--with-datadir, Read-only data (help files))], | |
118 datadir=$withval, datadir="") | |
119 if test x"${datadir}" != x""; then | |
120 AC_DEFINE_UNQUOTED(DATA_DIR, "${datadir}", [Data files directory]) | |
121 fi | |
122 | |
116 AC_ARG_ENABLE(debug, | 123 AC_ARG_ENABLE(debug, |
117 [AC_HELP_STRING(--enable-debug, Add development compilation options)], | 124 [AC_HELP_STRING(--enable-debug, Add development compilation options)], |
118 debug=$enableval, debug="") | 125 debug=$enableval, debug="") |
119 if test "${debug}" = "yes"; then | 126 if test "${debug}" = "yes"; then |
120 AC_DEFINE_UNQUOTED([DEBUG_ENABLE],[1],[Devel compilation options]) | 127 AC_DEFINE_UNQUOTED([DEBUG_ENABLE],[1],[Devel compilation options]) |