Mercurial > hg
comparison mcabber/configure.ac @ 1381:40095d413da9
Fix compilation on OpenBSD
This patch fixes compilation on some BSD systems.
Thanks to "undet" for the suggestion regarding DATA_DIR.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 02 Dec 2007 10:36:42 +0100 |
parents | 6fd893fe0908 |
children | 1447c5296977 |
comparison
equal
deleted
inserted
replaced
1380:605f9e1f9f76 | 1381:40095d413da9 |
---|---|
187 | 187 |
188 AC_DEFINE(BUILD_JABBER, 1, [build with jabber support]) | 188 AC_DEFINE(BUILD_JABBER, 1, [build with jabber support]) |
189 | 189 |
190 # Export $datadir to the source tree. | 190 # Export $datadir to the source tree. |
191 if test x"${datadir}" != x""; then | 191 if test x"${datadir}" != x""; then |
192 AC_DEFINE_DIR(DATA_DIR, "${datadir}", [Data files directory]) | 192 AC_DEFINE_DIR(DATA_DIR, "$datadir", [Data files directory]) |
193 fi | 193 fi |
194 | 194 |
195 AC_ARG_ENABLE(debug, | 195 AC_ARG_ENABLE(debug, |
196 [AC_HELP_STRING(--enable-debug, Add development compilation options)], | 196 [AC_HELP_STRING(--enable-debug, Add development compilation options)], |
197 debug=$enableval, debug="") | 197 debug=$enableval, debug="") |