1 # Process this file with autoconf to produce a configure script.
3 # This file is part of DisOrder.
4 # Copyright (C) 2004-2008 Richard Kettlewell
5 # Portions copyright (C) 2007 Ross Younger
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23 AC_INIT([disorder], [4.1], [richard+disorder@sfere.greenend.org.uk])
24 AC_CONFIG_AUX_DIR([config.aux])
25 AM_INIT_AUTOMAKE(disorder, [4.1])
26 AC_CONFIG_SRCDIR([server/disorderd.c])
27 AM_CONFIG_HEADER([config.h])
32 # What we want to build
44 # Checks for programs.
47 if test "x$GCC" = xyes; then
57 AC_MSG_ERROR([GNU C is required to build this program])
62 [AS_HELP_STRING([--without-alsa],
63 [do not build with ALSA support])],
66 [AS_HELP_STRING([--without-oss],
67 [do not build with OSS support])],
69 AC_ARG_WITH([coreaudio],
70 [AS_HELP_STRING([--without-coreaudio],
71 [do not build with Core Audio support])],
72 [want_coreaudio=$withval])
74 [AS_HELP_STRING([--without-tests],
75 [do not build test suit])],
76 [want_tests=$withval])
78 AC_MSG_CHECKING([for a known target platform])
81 AC_MSG_RESULT([empeg car stereo])
82 AC_DEFINE([EMPEG_HOST],[1],[define if host is an empeg car stereo])
83 # work around broken toolchain
84 AC_CHECK_LIB([gpg-error], [gpg_strerror])
85 AC_CHECK_LIB([pthread], [pthread_create])
90 AC_MSG_RESULT([Linux])
93 AC_MSG_RESULT([Mac OS X])
94 if test $want_coreaudio = yes; then
95 COREAUDIO="-framework CoreAudio"
98 AC_MSG_CHECKING([Mac OS X target version])
99 # We honor MACOSX_DEPLOYMENT_TARGET in the environment, emulating gcc's
100 # behaviour. But we provide a command line option to override it and
101 # we default to wide support instead of supporting only the build platform.
103 # Currently if you ask for 10.5 you will get a deprecation warning
104 # when building the CoreAudio support code. For the time being the
105 # answer to this is "don't do that then". If a good reason to ask
106 # for a 10.5 deployment target emerges then this will be fixed.
107 if test -z "$MACOSX_DEPLOYMENT_TARGET"; then
108 MACOSX_DEPLOYMENT_TARGET=10.0
110 AC_ARG_WITH([deployment-target],
111 [AS_HELP_STRING([--with-deployment-target=TARGET],
112 [set target OS X version])],
113 [MACOSX_DEPLOYMENT_TARGET=$withval])
114 # Convert to desired format
115 underscored=`echo $MACOSX_DEPLOYMENT_TARGET|sed 's/\./_/'`
116 minver="MAC_OS_X_VERSION_$underscored"
117 AC_MSG_RESULT([$minver])
118 AC_DEFINE_UNQUOTED([MAC_OS_X_VERSION_MIN_REQUIRED], [$minver],
119 [define to minimum version of Mac OS X to support])
122 AC_MSG_RESULT([FreeBSD])
123 # Ports install to /usr/local but the compiler stupidly doesn't look
125 LDFLAGS="${LDFLAGS} -L/usr/local/lib"
126 CPPFLAGS="${CPPFLAGS} -isystem /usr/local/include"
127 # Look for a suitable version of libdb among the versions found in FreeBSD 7.0
128 AC_CACHE_CHECK([looking for a libdb install],[rjk_cv_libdb],[
130 for db in db43 db44 db45 db46; do
131 if test -e /usr/local/lib/$db; then
137 if test $rjk_cv_libdb != none; then
138 LDFLAGS="${LDFLAGS} -L/usr/local/lib/$rjk_cv_libdb"
139 CPPFLAGS="${CPPFLAGS} -isystem /usr/local/include/$rjk_cv_libdb"
143 AC_MSG_RESULT([unknown, winging it])
146 AC_SUBST([COREAUDIO])
148 AC_ARG_WITH([browser],
149 [AS_HELP_STRING([--with-browser=BROWSER],
150 [use BROWSER to display HTML])],
153 AC_CACHE_CHECK([default HTML viewer],[rjk_cv_browser],[
154 rjk_cv_browser=UNKNOWN
155 for candidate in x-www-browser sensible-browser firefox mozilla konqueror netscape; do
156 if type $candidate >/dev/null 2>&1; then
157 rjk_cv_browser="$candidate"
162 if test -z "$browser"; then
163 browser="$rjk_cv_browser"
165 AC_DEFINE_UNQUOTED([BROWSER],["$browser"],[HTML viewer])
167 AC_ARG_WITH([server],
168 [AS_HELP_STRING([--without-server],
169 [do not build server])],
170 [want_server=$withval])
172 [AS_HELP_STRING([--without-cgi],
173 [do not build CGI])],
176 [AS_HELP_STRING([--without-gtk],
177 [do not build GTK+ client])],
179 AC_ARG_WITH([python],
180 [AS_HELP_STRING([--without-python],
181 [do not build Python support])],
182 [want_python=$withval])
184 if test $want_server = no; then
189 # OS Document Root CGI directory
190 # == ============= =============
191 # Debian /var/www /usr/lib/cgi-bin
192 # Ubuntu /var/www /usr/lib/cgi-bin
193 # Red Hat /var/www/html /var/www/cgi-bin
194 # or: /home/httpd/html/ /home/httpd/cgi-bin
195 # Slackware /var/www/htdocs (unknown)
196 # SuSE /srv/www/html /srv/www/cgi-bin
197 # Gentoo /var/www/localhost/htdocs /var/www/localhost/cgi-bin/
198 # FreeBSD /usr/local/www/data /usr/local/www/cgi-bin
199 # or: /usr/local/www/???/data /usr/local/www/???/cgi-bin
200 # OS X /Library/WebServer/Documents /Library/WebServer/CGI-Executables
201 # Apache /usr/local/apache/htdocs (none)
204 # http://wiki.linuxquestions.org/wiki/Apache
205 # http://mapserver.gis.umn.edu/docs/howto/suse-linux
206 # http://www.yolinux.com/TUTORIALS/LinuxTutorialWebSiteConfig.html
207 # http://sources.gentoo.org/viewcvs.py/apache/trunk/dist/2.2/conf/vhosts.d/default_vhost.include?rev=198&view=log
208 # http://httpd.apache.org/docs/
210 if test $want_cgi = yes; then
211 if test -z "$httpdir"; then
212 AC_CACHE_CHECK([for httpd document root],[rjk_cv_httpdir],[
213 rjk_cv_httpdir="not found"
214 for dir in /var/www/html \
216 /var/www/localhost/htdocs \
220 /usr/local/www/data \
221 /usr/local/www/*/data \
222 /Library/WebServer/Documents \
223 /usr/local/apache/htdocs; do
224 if test -d "$dir"; then
225 rjk_cv_httpdir="$dir"
229 if test "$rjk_cv_cgiexecdir" = "not found"; then
230 AC_MSG_ERROR([cannot identify httpd documentroot. Set httpdir on configure command line])
232 httpdir="$rjk_cv_httpdir"
234 if test ! -z "$cgidir"; then
235 # This is a bit harsh but should stop any disasters
236 AC_MSG_ERROR([cgidir has been renamed to cgiexecdir])
238 if test -z "$cgiexecdir"; then
239 AC_CACHE_CHECK([for CGI directory],[rjk_cv_cgiexecdir],[
240 rjk_cv_cgiexecdir="not found"
241 for dir in /usr/lib/cgi-bin \
242 /Library/WebServer/CGI-Executables \
245 /home/httpd/cgi-bin \
246 /var/www/localhost/cgi-bin \
247 /usr/local/lib/cgi-bin \
248 /usr/local/www/cgi-bin \
249 /usr/local/www/*/cgi-bin; do
250 if test -d "$dir"; then
251 rjk_cv_cgiexecdir="$dir"
256 if test "$rjk_cv_cgiexecdir" = "not found"; then
257 AC_MSG_ERROR([cannot identify CGI install directory. Set cgiexecdir on configure command line])
259 cgiexecdir="$rjk_cv_cgiexecdir"
262 AC_ARG_VAR([cgiexecdir], [location of cgi-bin directory, e.g. /usr/lib/cgi-bin])
263 AC_ARG_VAR([httpdir], [location of http document root, e.g. /var/www/htdocs])
264 if test -z "$pkghttpdir"; then
265 pkghttpdir='$(httpdir)/disorder'
267 AC_SUBST([pkghttpdir])
269 subdirs="scripts lib"
270 if test $want_tests = yes; then
271 subdirs="${subdirs} libtests"
273 subdirs="${subdirs} clients doc examples debian"
275 if test $want_server = yes; then
276 subdirs="${subdirs} server plugins driver sounds"
278 if test $want_cgi = yes; then
279 subdirs="${subdirs} cgi templates images"
281 if test $want_gtk = yes; then
282 subdirs="${subdirs} disobedience"
283 if test $want_server = no; then
284 subdirs="${subdirs} images"
287 if test $want_tests = yes && test $want_python = yes; then
288 AM_PATH_PYTHON([2.4])
289 subdirs="${subdirs} python tests"
299 AC_CACHE_CHECK([for GNU sed],[rjk_cv_gnused],[
300 rjk_cv_gnused="not found"
301 for candidate in sed gsed; do
302 if $candidate --version >/dev/null 2>&1; then
303 rjk_cv_gnused=$candidate
307 GNUSED="${GNUSED:-$rjk_cv_gnused}"
308 if test "$GNUSED" = "not found"; then
309 AC_MSG_ERROR([GNU sed is required to build this program])
313 AC_CHECK_PROGS([GROG],[grog])
314 AM_CONDITIONAL([GROG],[test "x$GROG" != xnone])
320 AC_DEFINE(_GNU_SOURCE, 1, [required for e.g. strsignal])
322 AC_PATH_PROG([SENDMAIL],[sendmail],[none],[$PATH:/usr/sbin:/usr/lib])
324 # Macs might have libraries under fink's root
325 AC_PATH_PROG([FINK],[fink],[none],[$PATH:/sw/bin])
326 if test "x$FINK" != xnone; then
327 AC_CACHE_CHECK([fink install directory],[rjk_cv_finkprefix],[
328 rjk_cv_finkprefix="`echo "$FINK" | sed 's,/bin/fink$,,'`"
330 finkdir="${rjk_cv_finkprefix}"
331 finkbindir="${rjk_cv_finkprefix}/bin"
332 CPPFLAGS="${CPPFLAGS} -I${rjk_cv_finkprefix}/include/gc -I${rjk_cv_finkprefix}/include"
333 if test $want_server = yes; then
334 CPPFLAGS="${CPPFLAGS} -I${rjk_cv_finkprefix}/include/db4"
336 LDFLAGS="${LDFLAGS} -L${rjk_cv_finkprefix}/lib"
341 AC_SUBST([finkbindir])
343 # Checks for libraries.
344 # We save up a list of missing libraries that we can't do without
345 # and report them all at once.
346 AC_CHECK_LIB(gc, GC_malloc, [AC_SUBST(LIBGC,[-lgc])],
347 [missing_libraries="$missing_libraries libgc"])
348 AC_CHECK_LIB(gcrypt, gcry_md_open,
349 [AC_SUBST(LIBGCRYPT,[-lgcrypt])],
350 [missing_libraries="$missing_libraries libgcrypt"])
351 AC_CHECK_LIB(pcre, pcre_compile,
352 [AC_SUBST(LIBPCRE,[-lpcre])],
353 [missing_libraries="$missing_libraries libpcre"])
354 if test $want_alsa = yes; then
355 AC_CHECK_LIB([asound], [snd_pcm_open],
356 [AC_SUBST(LIBASOUND,[-lasound])])
358 if test $want_server = yes; then
359 RJK_CHECK_LIB(db, db_create, [#include <db.h>],
360 [AC_SUBST(LIBDB,[-ldb])],
361 [missing_libraries="$missing_libraries libdb"])
362 AC_CHECK_LIB(vorbis, vorbis_info_clear,
364 [missing_libraries="$missing_libraries libvorbis"])
365 AC_CHECK_LIB(vorbisfile, ov_open,
366 [AC_SUBST(LIBVORBISFILE,["-lvorbisfile -lvorbis"])],
367 [missing_libraries="$missing_libraries libvorbisfile"],
369 AC_CHECK_LIB(mad, mad_stream_init,
370 [AC_SUBST(LIBMAD,[-lmad])],
371 [missing_libraries="$missing_libraries libmad"])
372 AC_CHECK_LIB([ao], [ao_initialize],
373 [AC_SUBST(LIBAO,[-lao])],
374 [missing_libraries="$missing_libraries libao"])
375 AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_new],
376 [AC_SUBST(LIBFLAC,[-lFLAC])],
377 [missing_libraries="$missing_libraries libFLAC"])
379 AC_CHECK_LIB([pthread], [pthread_create],
380 [AC_SUBST(LIBPTHREAD,[-lpthread])],
381 [missing_libraries="$missing_libraries libpthread"])
383 if test $want_gtk = yes; then
384 AM_PATH_GLIB_2_0([],[],[missing_libraries="$missing_libraries libglib"])
385 AM_PATH_GTK_2_0([],[],[missing_libraries="$missing_libraries libgtk"])
388 # Some platforms have iconv already
389 AC_CHECK_FUNC(iconv_open, [:],
390 [RJK_CHECK_LIB(iconv, iconv_open, [#include <iconv.h>],
391 [AC_SUBST(LIBICONV,[-liconv])],
392 [missing_functions="$missing_functions iconv_open"])])
393 AC_CHECK_FUNC([gethostbyname],[:],[
394 AC_CHECK_LIB(nsl,gethostbyname,
395 [AC_SUBST(LIBNSL,[-lnsl])],
396 [missing_functions="$missing_functions gethostbyname"])])
397 AC_CHECK_FUNC([socket],[:],[
398 AC_CHECK_LIB(socket,socket,
399 [AC_SUBST(LIBSOCKET,[-lsocket])],
400 [missing_functions="$missing_functions socket"])])
401 AC_CHECK_FUNC([dlopen],[:],[
402 AC_CHECK_LIB(dl,dlopen,
403 [AC_SUBST(LIBDL,[-ldl])],
404 [missing_functions="$missing_functions dlopen"])])
406 if test ! -z "$missing_libraries"; then
407 AC_MSG_ERROR([missing libraries:$missing_libraries])
410 # Checks for header files.
412 if test $want_oss = yes; then
413 AC_CHECK_HEADERS([sys/soundcard.h])
415 if test $want_alsa = yes; then
416 AC_CHECK_HEADERS([alsa/asoundlib.h])
418 if test $want_coreaudio = yes; then
419 AC_CHECK_HEADERS([CoreAudio/AudioHardware.h])
421 AC_CHECK_HEADERS([inttypes.h])
422 # We don't bother checking very standard stuff
423 # Compilation will fail if any of these headers are missing, so we
424 # check for them here and fail early.
425 if test $want_server = yes; then
426 AC_CHECK_HEADERS([db.h],[:],[
427 missing_headers="$missing_headers $ac_header"
429 AC_CHECK_HEADERS([FLAC/file_decoder.h])
431 AC_CHECK_HEADERS([dlfcn.h gcrypt.h \
432 getopt.h iconv.h langinfo.h \
434 syslog.h unistd.h],[:],[
435 missing_headers="$missing_headers $ac_header"
438 if test ! -z "$missing_headers"; then
439 AC_MSG_ERROR([missing headers:$missing_headers])
442 # We require that libpcre support UTF-8
443 RJK_REQUIRE_PCRE_UTF8([-lpcre])
445 # Checks for typedefs, structures, and compiler characteristics.
450 AC_CHECK_TYPES([struct sockaddr_in6],,,[AC_INCLUDES_DEFAULT
451 #include <netinet/in.h>])
453 # enable -Werror when we check for certain characteristics:
455 old_CFLAGS="${CFLAGS}"
456 CFLAGS="${CFLAGS} $gcc_werror"
457 AC_CHECK_TYPES([long long,uint32_t,uint8_t,intmax_t,uintmax_t])
459 # Some GCC invocations warn for converting function pointers to void *.
460 # This is fair enough, as it's technically forbidden, but we use dlsym()
461 # which can pretty much only exist if object and function pointers are
462 # interconvertable. So we disable -Werror if need be.
463 if test ! -z "$gcc_werror"; then
464 AC_CACHE_CHECK([whether function pointers can be converted to void * without a warning],
465 [rjk_cv_function_pointer_cast],[
466 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
467 void somefunction(void);],
468 [(void *)somefunction])],
469 [rjk_cv_function_pointer_cast=yes],
470 [rjk_cv_function_pointer_cast=no])])
471 if test $rjk_cv_function_pointer_cast = no; then
476 CFLAGS="${old_CFLAGS}"
478 # gcrypt maintainers keep changing everything. Design your interface
479 # first, then implement it once, rather than getting it wrong three or
480 # four times and shipping between each attempt.
481 AC_CACHE_CHECK([for hash handle type in <grypt.h>],
482 [rjk_cv_gcrypt_hash_handle],[
483 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
487 [rjk_cv_gcrypt_hash_handle=gcry_md_hd_t],[
488 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
492 [rjk_cv_gcrypt_hash_handle=GcryMDHd],
493 [rjk_cv_gcrypt_hash_handle=GCRY_MD_HD])])])
494 AC_DEFINE_UNQUOTED([gcrypt_hash_handle],[$rjk_cv_gcrypt_hash_handle],
495 [libgcrypt hash handle type])
497 AC_CACHE_CHECK([for gcry_error_t in <grypt.h>],
498 [rjk_cv_have_gcry_error_t],[
499 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
503 [rjk_cv_have_gcry_error_t=yes],
504 [rjk_cv_have_gcry_error_t=no])])
505 if test $rjk_cv_have_gcry_error_t = yes; then
506 AC_DEFINE([HAVE_GCRY_ERROR_T],1,[define if <gcrypt.h> defines gcry_error_t])
509 # Checks for functions
510 if test $ac_cv_type_long_long = yes; then
511 AC_CHECK_FUNCS([atoll strtoll],[:],[
512 missing_functions="$missing_functions $ac_func"
514 # Darwin sometimes fails to declare strtoll (e.g. if you ask for -std=c99)
515 AC_CACHE_CHECK([whether strtoll is declared in <stdlib.h>],
516 [rjk_cv_strtoll_declared],[
517 AC_EGREP_HEADER([strtoll], [stdlib.h],
518 [rjk_cv_strtoll_declared=yes],
519 [rjk_cv_strtoll_declared=no])])
520 if test $rjk_cv_strtoll_declared = yes; then
521 AC_DEFINE([DECLARES_STRTOLL],[1],[define if <stdlib.h> declares strtoll])
523 AC_CACHE_CHECK([whether atoll is declared in <stdlib.h>],
524 [rjk_cv_atoll_declared],[
525 AC_EGREP_HEADER([atoll], [stdlib.h],
526 [rjk_cv_atoll_declared=yes],
527 [rjk_cv_atoll_declared=no])])
528 if test $rjk_cv_atoll_declared = yes; then
529 AC_DEFINE([DECLARES_ATOLL],[1],[define if <stdlib.h> declares atoll])
532 AC_CHECK_FUNCS([ioctl nl_langinfo strsignal setenv unsetenv],[:],[
533 missing_functions="$missing_functions $ac_func"
535 # fsync will do if fdatasync not available
536 AC_CHECK_FUNCS([fdatasync],[:],[
537 AC_CHECK_FUNCS([fsync],
538 [AC_DEFINE([fdatasync],[fsync],[define fdatasync to fsync if not available])],
539 [missing_functions="$missing_functions fdatasync"])])
540 if test ! -z "$missing_functions"; then
541 AC_MSG_ERROR([missing functions:$missing_functions])
544 # Functions we can take or leave
545 AC_CHECK_FUNCS([fls])
547 if test $want_server = yes; then
548 # <db.h> had better be version 3 or later
549 AC_CACHE_CHECK([db.h version],[rjk_cv_db_version],[
552 #ifndef DB_VERSION_MAJOR
553 # error cannot determine db version
555 #if DB_VERSION_MAJOR < 4
556 # error inadequate db version
558 #if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR <= 2
559 # error inadequate db version
562 [rjk_cv_db_version=ok],
563 [rjk_cv_db_version=inadequate])
565 if test $rjk_cv_db_version != ok; then
566 AC_MSG_ERROR([need db.h version at least 4.2])
570 AM_CONDITIONAL([SERVER], [test x$want_server = xyes])
571 if test $want_gtk = yes; then
572 AC_DEFINE([WITH_GTK], [1], [define if using GTK+])
575 if test "x$GCC" = xyes; then
576 # We need LLONG_MAX and annoyingly GCC doesn't always give it to us
578 AC_CACHE_CHECK([what C version to ask for],[rjk_cv_cstd],[
579 AC_TRY_COMPILE([#include <limits.h>],[
580 long long n = LLONG_MAX;
581 ],[rjk_cv_cstd=default],[
583 CC="${CC} -std=gnu99"
584 AC_TRY_COMPILE([#include <limits.h>],[
585 long long n = LLONG_MAX;
586 ],[rjk_cv_cstd=gnu99],[rjk_cv_cstd=unknown])
594 CC="${CC} -std=${rjk_cv_cstd}"
598 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29478
599 AC_CACHE_CHECK([checking for GCC bug 29478],[rjk_cv_pr29478],[
601 if test $GCC = yes; then
602 CC="$CC -Wall -Werror"
605 static int x(char *f) {
608 int z(const char *g) {
616 if test $rjk_cv_pr29478 = yes; then
620 # a reasonable default set of warnings
621 CC="${CC} -Wall -W -Wpointer-arith -Wbad-function-cast \
622 -Wwrite-strings -Wmissing-prototypes \
623 -Wmissing-declarations -Wnested-externs"
625 # Fix up GTK+ and GLib compiler flags
626 GTK_CFLAGS="`echo \"$GTK_CFLAGS\"|sed 's/-I/-isystem /g'`"
627 GLIB_CFLAGS="`echo \"$GLIB_CFLAGS\"|sed 's/-I/-isystem /g'`"
629 if test "$gcc_werror" != ''; then
630 # GCC 2.95 doesn't know to ignore warnings from system headers
631 AC_CACHE_CHECK([whether -Werror is usable],
633 save_CFLAGS="${CFLAGS}"
634 CFLAGS="${CFLAGS} ${GTK_CFLAGS} -Werror"
635 AC_TRY_COMPILE([#if WITH_GTK
639 struct s { int a, b; };
640 const struct s sv = { .a = 1 };],
644 CFLAGS="${save_CFLAGS}"
646 if test $rjk_cv_werror = no; then
650 CC="${CC} $gcc_werror"
652 # for older GCCs that don't know %ju (etc)
653 AC_CACHE_CHECK([whether -Wno-format is required],
655 AC_TRY_COMPILE([#include <stdio.h>
658 [printf("%ju", (uintmax_t)0);],
659 [rjk_cv_noformat=no],
660 [rjk_cv_noformat=yes]))
661 if test $rjk_cv_noformat = yes; then
662 CC="${CC} -Wno-format"
665 AC_CACHE_CHECK([whether -Wshadow is OK],
671 #include <vorbis/vorbisfile.h>
677 if test $rjk_cv_shadow = yes; then
684 AH_BOTTOM([#ifdef __GNUC__
685 # define attribute(x) __attribute__(x)
687 # define attribute(x)
690 AC_CONFIG_FILES([Makefile
697 disobedience/Makefile
710 if test $GCC = yes && test "$gcc_werror" = ''; then
711 AC_MSG_WARN([building without -Werror])
713 if test $want_python = no; then
714 AC_MSG_WARN([cannot run the test suit without Python])
718 # indent-tabs-mode:nil