comparison mcabber/configure.ac @ 882:c3c2f7a0c5d5

autoconf: use datadir, not datarootdir Fix changeset b38760d9ec2d, I didn't see there was a datadir variable.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 27 May 2006 18:53:56 +0200
parents 618967a008a2
children 788e088702d6
comparison
equal deleted inserted replaced
881:618967a008a2 882:c3c2f7a0c5d5
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 # Export $datarootdir to the source tree. 116 # Export $datadir to the source tree.
117 if test x"${datarootdir}" != x""; then 117 if test x"${datadir}" != x""; then
118 AC_DEFINE_DIR(DATA_ROOT_DIR, "${datarootdir}", [Data files directory]) 118 AC_DEFINE_DIR(DATA_DIR, "${datadir}", [Data files directory])
119 elif test x"${datadir}" != x""; then
120 AC_DEFINE_DIR(DATA_ROOT_DIR, "${datadir}", [Data files directory])
121 fi 119 fi
122 120
123 AC_ARG_ENABLE(debug, 121 AC_ARG_ENABLE(debug,
124 [AC_HELP_STRING(--enable-debug, Add development compilation options)], 122 [AC_HELP_STRING(--enable-debug, Add development compilation options)],
125 debug=$enableval, debug="") 123 debug=$enableval, debug="")