1dnl Process this file with autoconf to produce a configure script.
2
3dnl Require minimum autoconf version
4AC_PREREQ(2.50)
5
6AC_INIT(configure.ac)
7AM_INIT_AUTOMAKE(sweep, 0.9.3)
8AM_CONFIG_HEADER(config.h)
9
10AC_ISC_POSIX
11AC_PROG_CC
12AM_PROG_CC_STDC
13AC_HEADER_STDC
14AM_PROG_LIBTOOL
15
16AC_CHECK_PROG(HAVE_GNOME_MOZ_REMOTE, 'gnome-moz-remote', yes, no)
17
18AC_C_BIGENDIAN
19
20AC_CHECK_FUNCS(strchr)
21AC_CHECK_FUNCS(madvise)
22
23ALL_LINGUAS="de el es_ES fr hu it ja pl ru en_AU"
24AM_GNU_GETTEXT
25
26dnl Overall configuration success flag
27sweep_config_ok=yes
28
29dnl Default audio handling to build in
30sweep_config_driver=none
31
32dnl
33dnl  Configuration option for building of experimental code.
34dnl
35
36ac_enable_experimental=no
37AC_ARG_ENABLE(experimental,
38     [  --enable-experimental   enable building of experimental code ],
39     [ ac_enable_experimental=yes ])
40
41if test "x${ac_enable_experimental}" = xyes ; then
42    AC_DEFINE([DEVEL_CODE], [], [Whether to build the develpment code.])
43fi
44
45
46dnl
47dnl  Detect pthreads libraries
48dnl
49
50PTHREAD_LIBS=error
51AC_CHECK_LIB(pthread, pthread_attr_init, PTHREAD_LIBS="-lpthread")
52if test "x$PTHREAD_LIBS" = xerror; then
53        AC_CHECK_LIB(pthreads, pthread_attr_init, PTHREAD_LIBS="-lpthreads")
54fi
55if test "x$PTHREAD_LIBS" = xerror; then
56        AC_CHECK_LIB(c_r, pthread_attr_init, PTHREAD_LIBS="-lc_r")
57fi
58if test "x$PTHREAD_LIBS" = xerror; then
59        AC_CHECK_FUNC(pthread_attr_init, PTHREAD_LIBS="")
60fi
61AC_SUBST(PTHREAD_LIBS)
62
63
64
65dnl
66dnl  Detect Gthread, GLib and GTK+ libraries
67dnl
68
69PKG_CHECK_MODULES(GTK, gtk+-2.0 >=  2.4.0, HAVE_GTK="yes", sweep_config_ok="no")
70AC_SUBST(GTK_CFLAGS)
71AC_SUBST(GTK_LIBS)
72if test "x$HAVE_GTK" != xyes ; then
73    AC_CHECK_LIB(gtk-x11-2.0, gtk_init, HAVE_GTK="maybe", sweep_config_ok="no")
74fi
75
76PKG_CHECK_MODULES(GLIB, glib-2.0 >=  2.2.0, HAVE_GLIB="yes", sweep_config_ok="no")
77AC_SUBST(GLIB_CFLAGS)
78AC_SUBST(GLIB_LIBS)
79if test "x$HAVE_GLIB" != xyes ; then
80  AC_CHECK_LIB(glib-2.0, g_list_append, HAVE_GLIB="maybe", sweep_config_ok="no")
81fi
82
83PKG_CHECK_MODULES(GTHREADS, gthread-2.0 >=  2.2.0, HAVE_GTHREADS="yes", sweep_config_ok="no")
84AC_SUBST(GTHREADS_CFLAGS)
85AC_SUBST(GTHREADS_LIBS)
86if test "x$HAVE_GTHREADS" != xyes ; then
87  AC_CHECK_LIB(gthread-2.0, g_thread_init, HAVE_GTHREADS="maybe", sweep_config_ok="no")
88fi
89
90dnl
91dnl  Detect libsndfile 1.0
92dnl
93
94PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.0,
95                  HAVE_LIBSNDFILE1="yes", HAVE_LIBSNDFILE1="no")
96
97if test "x$HAVE_LIBSNDFILE1" = xyes ; then
98  AC_DEFINE([HAVE_LIBSNDFILE1], [], [Define if we have libsndfile1.])
99  AC_SUBST(SNDFILE_LIBS)
100else
101  sweep_config_ok="no"
102  AC_CHECK_LIB(sndfile, sf_open, HAVE_LIBSNDFILE1="maybe")
103fi
104
105if test "x$HAVE_LIBSNDFILE1" = xmaybe ; then
106  AC_CHECK_HEADERS(sndfile.h, HAVE_LIBSNDFILE1="ouch")
107  if test "x$HAVE_LIBSNDFILE1" = xouch ; then
108    AC_MSG_ERROR([
109***
110*** libsndfile-1.0.0 or greater seems to exist on your system, however
111*** the pkg-config tool cannot find its build information.
112***
113*** Please set your PKG_CONFIG_PATH environment variable to include the
114*** directory in which sndfile.pc was installed. For example, sndfile.pc
115*** is installed in /usr/local/lib/pkgconfig by default; if that is the
116*** case do:
117***
118***     export PKG_CONFIG_PATH="\$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
119***
120*** then run this ./configure again. If you configured libsndfile with a
121*** different --prefix option, replace /usr/local above with that prefix.
122***
123])
124  fi
125fi
126
127AC_CHECK_SIZEOF(off_t,1)
128
129
130dnl
131dnl Detect Ogg
132dnl
133
134HAVE_OGG=no
135HAVE_VORBIS=no
136HAVE_SPEEX=no
137
138ac_enable_oggvorbis=yes
139AC_ARG_ENABLE(oggvorbis,
140     [  --disable-oggvorbis     disable Ogg Vorbis support],
141     [ ac_enable_oggvorbis=no ], [ ac_enable_oggvorbis=yes ])
142
143ac_enable_speex=yes
144AC_ARG_ENABLE(speex,
145     [  --disable-speex         disable Speex support],
146     [ ac_enable_speex=no ], [ ac_enable_speex=yes ])
147
148dnl Both Vorbis and Speex require Ogg, so check for it first either way
149if test "x${ac_enable_oggvorbis}" != xno ||
150   test "x${ac_enable_speex}" != xno ; then
151
152  XIPH_PATH_OGG(HAVE_OGG="yes", HAVE_OGG="no")
153  if test "x$HAVE_OGG" = xno ; then
154    AC_CHECK_LIB(ogg, ogg_stream_init, HAVE_OGG="maybe")
155  fi
156  if test "x$HAVE_OGG" = xmaybe; then
157    AC_CHECK_HEADER([ogg/ogg.h], HAVE_OGG="yes", HAVE_OGG="no")
158  fi
159
160  AC_SUBST(OGG_LIBS)
161fi
162
163dnl
164dnl Detect Vorbis
165dnl
166dnl LIBS="$LIBS -lm -logg -lvorbis -lvorbisenc -lvorbisfile"
167
168if test "x$HAVE_OGG" = xyes && test "x${ac_enable_oggvorbis}" != xno ; then
169
170  XIPH_PATH_VORBIS(HAVE_VORBIS="yes", HAVE_VORBIS="no")
171
172  dnl Fall back to explicit checks if this fails
173  if test "x$HAVE_VORBIS" = xno ; then
174    AC_MSG_RESULT([
175*** Trying explicit detection of Ogg Vorbis libraries and headers ...])
176    AC_CHECK_LIB(vorbis, vorbis_info_init, HAVE_VORBIS="maybe", ,
177                 [-lm -logg])
178    AC_CHECK_LIB(vorbisenc, vorbis_encode_init, HAVE_VORBISENC="maybe", ,
179                 [-lm -logg -lvorbis])
180    AC_CHECK_LIB(vorbisfile, ov_open, HAVE_VORBISFILE="maybe", ,
181                 [-lm -logg -lvorbis])
182    AC_CHECK_HEADERS([vorbis/codec.h vorbis/vorbisfile.h vorbis/vorbisenc.h],
183                     HAVE_VORBIS_HEADERS="yes", HAVE_VORBIS_HEADERS="no")
184
185    if test "x$HAVE_VORBIS" = xmaybe && test "x$HAVE_VORBISENC" = xmaybe &&
186       test "x$HAVE_VORBISFILE" = xmaybe &&
187       test "x$HAVE_VORBIS_HEADERS" = xyes ; then
188
189       VORBIS_LIBS="-lvorbis -lm"
190       VORBISFILE_LIBS="-lvorbisfile"
191       VORBISENC_LIBS="-lvorbisenc"
192       VORBIS_CFLAGS=""
193
194       dnl HAVE_VORBIS="maybe"
195       HAVE_VORBIS="yes"
196    else
197       HAVE_VORBIS="no"
198    fi
199  fi
200
201  AC_SUBST(VORBIS_LIBS)
202  AC_SUBST(VORBISENC_LIBS)
203  AC_SUBST(VORBISFILE_LIBS)
204
205  if test "x$HAVE_VORBIS" = xyes ; then
206    AC_DEFINE([HAVE_OGGVORBIS], [], [Define if we have Ogg Vorbis.])
207
208    dnl Test out ov_read_float
209    AC_MSG_CHECKING([for deprecated ov_read_float() interface])
210
211    ac_save_CFLAGS="$CFLAGS"
212    ac_save_LIBS="$LIBS"
213    CFLAGS="$CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS"
214    LIBS="$LIBS $OGG_LIBS $VORBIS_LIBS $VORBISFILE_LIBS"
215
216    AC_TRY_COMPILE([#include <vorbis/codec.h>
217                    #include <vorbis/vorbisfile.h> ],
218                   [OggVorbis_File * vf; float ** pcm; int b;
219                    ov_read_float (vf, &pcm, &b);],
220		   [ AC_DEFINE([OV_READ_FLOAT_THREE_ARGS], [], [Define if ov_read_float takes 3 arguments.])
221		     AC_MSG_RESULT(yes) ],
222                   [ AC_MSG_RESULT(no) ])
223
224    CFLAGS="$ac_save_CFLAGS"
225    LIBS="$ac_save_LIBS"
226
227  else
228    sweep_config_ok="no"
229  fi
230
231else
232  HAVE_VORBIS=disabled
233fi
234
235dnl
236dnl Detect speex
237dnl
238dnl LIBS="$LIBS -lm -logg -lspeex"
239
240if test "x$HAVE_OGG" = xyes && test "x${ac_enable_speex}" != xno ; then
241
242  XIPH_PATH_SPEEX(HAVE_SPEEX="yes", HAVE_SPEEX="no")
243
244  dnl Fall back to explicit checks if this fails
245  if test "x$HAVE_SPEEX" = xno ; then
246    AC_CHECK_LIB(speex, speex_encoder_init, HAVE_SPEEX="maybe", , [-lm -logg])
247    if test "x$HAVE_SPEEX" = xmaybe; then
248      AC_CHECK_HEADER(speex.h, HAVE_SPEEX="yes",
249        [AC_CHECK_HEADER([speex/speex.h], HAVE_SPEEX="yes", HAVE_SPEEX="no")]
250      )
251    fi
252  fi
253
254  if test "x$HAVE_SPEEX" = xyes ; then
255    AC_CHECK_HEADER([speex/speex.h],
256                    AC_DEFINE(HAVE_SPEEX_SUBDIR, [1], [Define to 1 if speex headers are eg. <speex/speex.h>])
257    )
258
259    AC_DEFINE([HAVE_SPEEX], [], [Define if we have speex.])
260    SPEEX_LIBS="-lspeex -lm"
261    AC_SUBST(SPEEX_LIBS)
262  fi
263
264else
265  HAVE_SPEEX=disabled
266fi
267
268
269dnl
270dnl Detect libmad
271dnl
272
273HAVE_MAD=no
274
275ac_enable_mad=yes
276AC_ARG_ENABLE(mad,
277     [  --disable-mad           disable libmad (MPEG audio loading) support],
278     [ ac_enable_mad=no ], [ ac_enable_mad=yes ])
279
280if test "x${ac_enable_mad}" != xno ; then
281  AC_CHECK_LIB(mad, mad_decoder_init, HAVE_MAD="maybe")
282
283  if test "x$HAVE_MAD" = xmaybe ; then
284    AC_CHECK_HEADER(mad.h, HAVE_MAD="yes", HAVE_MAD="no")
285  fi
286  if test "x$HAVE_MAD" = xyes ; then
287    AC_DEFINE([HAVE_MAD], [], [Define if we have mad.])
288    MAD_LIBS="-lmad"
289    AC_SUBST(MAD_LIBS)
290  fi
291
292else
293  HAVE_MAD=disabled
294fi
295
296dnl
297dnl Detect secret rabbit code
298dnl
299
300HAVE_LIBSAMPLERATE=no
301
302ac_enable_src=yes
303AC_ARG_ENABLE(src,
304     [  --disable-src            enable secret rabbit code (libsamplerate)],
305     [ ac_enable_src=no ], [ ac_enable_src=yes])
306
307if test "x${ac_enable_src}" != xno ; then
308  PKG_CHECK_MODULES(SAMPLERATE, samplerate >= 0.0.9,
309                    HAVE_LIBSAMPLERATE="yes", HAVE_LIBSAMPLERATE="no")
310
311  if test "x$HAVE_LIBSAMPLERATE" = xyes ; then
312    AC_DEFINE([HAVE_LIBSAMPLERATE], [], [Define if we have libsamplerate.])
313    AC_SUBST(SAMPLERATE_LIBS)
314  fi
315else
316  HAVE_LIBSAMPLERATE=disabled
317fi
318
319
320dnl
321dnl Test for ALSA -- requires explicit enabling
322dnl
323
324
325ac_enable_alsa=yes
326AC_ARG_ENABLE(alsa,
327     [  --disable-alsa           Disable ALSA, and enable use of OSS],
328     [ ac_enable_alsa=no ])
329
330if test "x${ac_enable_alsa}" != xno ; then
331
332  PKG_CHECK_MODULES(ALSA, alsa >= 1.0.0,
333                  HAVE_ALSA="yes", sweep_config_ok="no")
334  AC_SUBST(ALSA_CFLAGS)
335  AC_SUBST(ALSA_LIBS)
336  AC_DEFINE([DRIVER_ALSA], [], [Define if we have and want alsa.])
337  if test "x$HAVE_ALSA" != xyes ; then
338    AC_CHECK_LIB(asound, snd_seq_open, HAVE_ALSA="maybe", sweep_config_ok="no")
339  fi
340  sweep_config_driver="ALSA"
341fi
342
343dnl Test for OSS
344AC_CHECK_HEADERS(sys/soundcard.h machine/soundcard.h)
345if test "x${ac_cv_header_sys_soundcard_h}" = xyes || \
346  test "x${ac_cv_header_machine_soundcard_h}" = xyes; then
347  if test "x$ac_enable_alsa" = xno ; then
348    AC_DEFINE([DRIVER_OSS], [], [Define if we have and want OSS.])
349
350    dnl Check for NetBSD's OSS compatability layer
351    AC_CHECK_LIB(ossaudio, _oss_ioctl, LIBS="$LIBS -lossaudio")
352
353    sweep_config_driver="OSS"
354  fi
355fi
356
357dnl Test for Solaris audio
358case $host in
359*-*-solaris*)
360AC_CHECK_HEADERS(sys/audioio.h)
361if test "x${ac_cv_header_sys_audioio_h}" = xyes; then
362    AC_DEFINE([DRIVER_SOLARIS_AUDIO], [], [Define if we have and want the solaris audio driver.])
363    sweep_config_driver="Solaris"
364fi
365;;
366esac
367
368
369dnl Set PACKAGE_LOCALE_DIR in config.h.
370if test "x${prefix}" = xNONE; then
371  AC_DEFINE_UNQUOTED([PACKAGE_LOCALE_DIR], "${ac_default_prefix}/${DATADIRNAME}/locale", [Define the PACKAGE_LOCALE_DIR.])
372else
373  AC_DEFINE_UNQUOTED([PACKAGE_LOCALE_DIR], "${prefix}/${DATADIRNAME}/locale")
374fi
375
376 if test "x${datadir}" = 'x${prefix}/share'; then
377   if test "x${prefix}" = xNONE; then
378     PACKAGE_DATA_DIR='"${ac_default_prefix}/share/${PACKAGE}"'
379   else
380     PACKAGE_DATA_DIR='"${prefix}/share/${PACKAGE}"'
381   fi
382 else
383   PACKAGE_DATA_DIR='"${datadir}/${PACKAGE}"'
384 fi
385AC_SUBST(PACKAGE_DATA_DIR)
386
387dnl Set PACKAGE_PLUGIN_DIR in Makefiles and config.h.
388PACKAGE_PLUGIN_DIR=$libdir/sweep
389AC_SUBST(PACKAGE_PLUGIN_DIR)
390if test "x${prefix}" = xNONE; then
391  sweep_plugin_dir="${ac_default_prefix}/lib/${PACKAGE}"
392else
393  sweep_plugin_dir="${prefix}/lib/${PACKAGE}"
394fi
395AC_DEFINE_UNQUOTED([PACKAGE_PLUGIN_DIR], "$sweep_plugin_dir", [Define the PACKAGE_PLUGIN_DIR.])
396
397dnl Set PACKAGE_SOURCE_DIR in config.h.
398packagesrcdir=`cd $srcdir && pwd`
399AC_DEFINE_UNQUOTED([PACKAGE_SOURCE_DIR], "${packagesrcdir}", [Define the PACKAGE_SOURCE_DIR.])
400
401
402AC_ARG_ENABLE(gcc-werror,
403	AC_HELP_STRING([--enable-gcc-werror], [enable -Werror in all Makefiles]))
404
405dnl Use -Wall if we have gcc.
406dnl changequote(,)dnl
407if test "x$ac_cv_prog_gcc" = xyes ; then
408  CFLAGS="$CFLAGS -Wall"
409
410  if test x$enable_gcc_werror = "xyes" ; then
411    CFLAGS="$CFLAGS -Werror"
412	fi
413
414fi
415dnl changequote([,])dnl
416
417dnl - Modified from www.nagios.org who modified it from www.erlang.org
418
419dnl   Check how to export functions from the sweep executable, needed
420dnl   when dynamically loaded drivers are loaded (so that they can find
421dnl   sweep functions).
422dnl   OS'es with ELF executables using the GNU linker (Linux and recent *BSD ,
423dnl   in rare cases Solaris) typically need '-Wl,-export-dynamic' (i.e. pass
424dnl   -export-dynamic to the linker - also known as -rdynamic and some other
425dnl   variants); some sysVr4 system(s) instead need(s) '-Wl,-Bexport'.
426dnl   AIX 4.x (perhaps only for x>=2) wants -Wl,-bexpall,-brtl and doesn't
427dnl   reliably return an error for others, thus we separate it out.
428dnl   Otherwise we assume that if the linker accepts the flag, it is needed.
429
430       AC_MSG_CHECKING(for extra flags needed to export symbols)
431       case $host_os in
432               aix4*|aix5*)
433                       EXPORT_DYNAMIC_FLAGS="-Wl,-bexpall,-brtl"
434               ;;
435               bsdi*)
436                       EXPORT_DYNAMIC_FLAGS="-rdynamic"
437               ;;
438               *)
439                       save_ldflags="$LDFLAGS"
440                       LDFLAGS=-Wl,-export-dynamic
441                       AC_TRY_LINK(,,[EXPORT_DYNAMIC_FLAGS="-Wl,-export-dynamic"], [
442                               LDFLAGS=-Wl,-Bexport
443                               AC_TRY_LINK(,,[EXPORT_DYNAMIC_FLAGS="- Wl,-Bexport"],
444                                       AC_MSG_RESULT(none))])
445                       LDFLAGS="$save_ldflags"
446               ;;
447       esac
448       AC_SUBST(EXPORT_DYNAMIC_FLAGS)
449       test "x$EXPORT_DYNAMIC_FLAGS" != x && AC_MSG_RESULT([$EXPORT_DYNAMIC_FLAGS])
450
451
452
453dnl
454dnl  Configuration tests complete -- provide summary of results.
455dnl
456
457if test $sweep_config_ok = no ; then
458
459AC_MSG_RESULT([
460**************************************************************
461
462*** Sweep $VERSION: Automatic configuration FAILED.
463
464*** The file config.log has full details.
465
466*** The following required libraries are missing or
467*** misconfigured on your system:
468])
469
470if test "x$HAVE_GLIB" != xyes ||  test "x$HAVE_GTHREADS" != xyes; then
471  AC_MSG_RESULT([
472*** GLib version 2.2.x or greater, available from  http://www.gtk.org/
473])
474fi
475
476if test "x$HAVE_GLIB" = xmaybe || test "x$HAVE_GTHREADS" = xmaybe; then
477  AC_MSG_RESULT([
478      Development files missing: The libglib-2.0 binary seems
479      to be installed, but the pkg-config tool cannot find its build
480      information.
481])
482fi
483
484if test "x$HAVE_GTK" != xyes ; then
485  AC_MSG_RESULT([
486*** GTK+ version 2.2.x or greater, available from  http://www.gtk.org/
487])
488fi
489if test "x$HAVE_GTK" = xmaybe ; then
490  AC_MSG_RESULT([
491      Development files missing: The libgtk binary seems
492      to be installed, but the pkg-config tool cannot find its build
493      information..
494])
495fi
496
497if test "x$HAVE_LIBSNDFILE1" != xyes ; then
498  AC_MSG_RESULT([
499*** libsndfile version 1.0.0 or greater, available from
500*** http://www.mega-nerd.com/libsndfile/
501])
502fi
503if test "x$HAVE_LIBSNDFILE1" = xmaybe ; then
504    AC_MSG_RESULT([
505      Development files missing: libsndfile-1.0.0 or greater
506      seems to exist on your system, however the header files
507      are missing and the pkg-config tool cannot find its build
508      information.
509])
510fi
511
512if test "x$HAVE_ALSA" = xmaybe ; then
513    AC_MSG_RESULT([
514      Development files missing: alsa-lib 1.0.0 or greater seems to exist
515      on your system, however the pkg-config tool cannot find the
516      build information.
517])
518fi
519
520if test "x$HAVE_ALSA" != xyes ; then
521  AC_MSG_RESULT([
522*** alsa-lib version 1.0.0 or greater, available from
523*** http://alsa-project.org/
524])
525fi
526
527if test "x$HAVE_VORBIS" = xmaybe ; then
528    AC_MSG_RESULT([
529      Development files missing: The libogg, libvorbis, libvorbisenc and
530      libvorbisfile library binaries seem to be installed, but building of
531      a test program failed.
532])
533fi
534
535if test "x$HAVE_VORBIS" != xyes ; then
536    AC_MSG_RESULT([
537*** Ogg Vorbis libraries, available from  http://www.xiph.org/ogg/vorbis/
538])
539fi
540
541if test "x$HAVE_VORBIS" != xyes ; then
542    AC_MSG_RESULT([
543*** Or, to build a version of Sweep without Ogg Vorbis support, do:
544***
545***         ./configure --disable-oggvorbis
546])
547fi
548
549if test "x$HAVE_GLIB" = xmaybe || test "x$HAVE_GTK" = xmaybe ||
550   test "x$HAVE_LIBSNDFILE1" = xmaybe || test "x$HAVE_TDB" = xmaybe ||
551   test "x$HAVE_GTHREADS" = xmaybe || test "x$HAVE_ALSA" = xmaybe ||
552   test "x$HAVE_OGG" = xmaybe || test "x$HAVE_VORBIS" = xmaybe ; then
553  AC_MSG_RESULT([
554*** HOW TO FIX "development files missing": you have probably
555*** installed the library package from your distribution. You
556*** must also install the library's "development" package.
557])
558fi
559
560AC_MSG_RESULT([
561*** If you install the required libraries from source, you
562*** need to inform the dynamic linker of their location. If
563*** you install them in a system-wide directory such as
564*** /usr/local (the default), you must ensure that
565*** /usr/local/lib is listed in /etc/ld.so.conf, then run
566*** ldconfig to update the dynamic linking system.
567*** Alternatively, you can set your LD_LIBRARY_PATH environment
568*** variable to include the library installation directory.
569])
570
571
572AC_MSG_RESULT([
573**************************************************************
574])
575
576AC_MSG_ERROR([
577***
578*** After fixing the above problems, you must run ./configure again.
579***
580])
581
582else
583
584AC_OUTPUT([
585Makefile
586sweep.spec
587m4/Makefile
588include/Makefile
589include/sweep/Makefile
590src/Makefile
591src/tdb/Makefile
592plugins/Makefile
593plugins/echo/Makefile
594plugins/normalise/Makefile
595plugins/fade/Makefile
596plugins/reverse/Makefile
597plugins/ladspa/Makefile
598plugins/byenergy/Makefile
599plugins/example/Makefile
600doc/Makefile
601intl/Makefile
602po/Makefile.in
603doc/sweep.1
604])
605
606AC_MSG_RESULT([
607  ************************************************************
608 * Sweep $VERSION:  Automatic configuration OK.
609**
610**  Configuration summary:
611**
612**     Experimental code: ....... ${ac_enable_experimental}
613**     Audio device handling: ... $sweep_config_driver
614**     PCM: libsndfile .......... $HAVE_LIBSNDFILE1
615**     Ogg Vorbis support: ...... $HAVE_VORBIS
616**     MPEG (MP3) loading: ...... $HAVE_MAD
617**     Speex support: ........... $HAVE_SPEEX
618**     Secret Rabbit Code: ...... $HAVE_LIBSAMPLERATE
619**     Translations: ............ $ALL_LINGUAS
620**
621**  Installation directories:
622**
623**     Program: ................. ${prefix}/bin
624**     Plugins: ................. $sweep_plugin_dir
625**
626**************************************************************
627**
628**  Type 'make' to compile Sweep.
629**
630**  Type 'make install' to install Sweep. Plugins will not be
631**  accessible until you have done this.
632**
633**  Have fun with Scrubby!
634 *
635  ************************************************************
636])
637
638fi
639