diff 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
line wrap: on
line diff
--- a/mcabber/configure.ac	Thu Nov 29 22:40:56 2007 +0100
+++ b/mcabber/configure.ac	Sun Dec 02 10:36:42 2007 +0100
@@ -189,7 +189,7 @@
 
 # Export $datadir to the source tree.
 if test x"${datadir}" != x""; then
-    AC_DEFINE_DIR(DATA_DIR, "${datadir}", [Data files directory])
+    AC_DEFINE_DIR(DATA_DIR, "$datadir", [Data files directory])
 fi
 
 AC_ARG_ENABLE(debug,