Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 877:b38760d9ec2d
autoconf: Remove --with-datadir, use built-in --datarootdir option
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 27 May 2006 12:51:19 +0200 |
parents | cefdaeb42e67 |
children | 618967a008a2 |
comparison
equal
deleted
inserted
replaced
876:e583d617838a | 877:b38760d9ec2d |
---|---|
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, | 116 # Export $datarootdir to the source tree. |
117 [AC_HELP_STRING(--with-datadir, Read-only data (help files))], | 117 if test x"${datarootdir}" != x""; then |
118 datadir=$withval, datadir="") | 118 AC_DEFINE_UNQUOTED(DATA_ROOT_DIR, "${datarootdir}", [Data files directory]) |
119 if test x"${datadir}" != x""; then | |
120 AC_DEFINE_UNQUOTED(DATA_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="") |