comparison mcabber/configure.ac @ 1388:40371a7d49f4

Fix DATA_DIR in configure.ac (patch from "undet")
author Mikael Berthe <mikael@lilotux.net>
date Tue, 04 Dec 2007 19:38:24 +0100
parents 8e763c2c331f
children dd565420a1f6
comparison
equal deleted inserted replaced
1387:3067c096cfc4 1388:40371a7d49f4
202 202
203 AC_DEFINE(BUILD_JABBER, 1, [build with jabber support]) 203 AC_DEFINE(BUILD_JABBER, 1, [build with jabber support])
204 204
205 # Export $datadir to the source tree. 205 # Export $datadir to the source tree.
206 if test x"${datadir}" != x""; then 206 if test x"${datadir}" != x""; then
207 AC_DEFINE_DIR(DATA_DIR, "${datadir}", [Data files directory]) 207 AC_DEFINE_DIR(DATA_DIR, datadir, [Data files directory])
208 fi 208 fi
209 209
210 AC_ARG_ENABLE(debug, 210 AC_ARG_ENABLE(debug,
211 [AC_HELP_STRING(--enable-debug, Add development compilation options)], 211 [AC_HELP_STRING(--enable-debug, Add development compilation options)],
212 debug=$enableval, debug="") 212 debug=$enableval, debug="")