# Minimal configuration file. # TODO: # - Define a nice (verbose) behaviour for failed checks # - Check for different audio drivers. # - Include command line options for # * sound driver choice. AC_INIT(../src/Base/DynamicType.hxx) AC_SUBST(XERCESC_LIB_PATH) AC_SUBST(XERCESC_LIBS) AC_SUBST(XERCESCROOT) AC_SUBST(XERCESC_INCLUDES) AC_SUBST(FLTK_LIB_PATH) AC_SUBST(FLTK_LIBS) AC_SUBST(FLTK_INCLUDES) AC_SUBST(QT_LIB_PATH) AC_SUBST(QT_LIBS) AC_SUBST(QT_INCLUDES) AC_SUBST(FFTW_LIBS) AC_SUBST(FFTW_LIB_PATH) AC_SUBST(FFTW_INCLUDES) AC_SUBST(OPTFLAGS) AC_SUBST(DATATYPE) AC_SUBST(DEFINE_CLAM_DOUBLE) AC_SUBST(DEFINE_HAVE_FFTW) AC_SUBST(DEFINE_HAVE_FLTK) AC_SUBST(DEFINE_HAVE_QT) AC_SUBST(DEFINE_HAVE_STANDARD_SSTREAM) AC_SUBST(DEFINE_HAVE_STANDARD_SSTREAM_STR) AC_SUBST(DEFINE_HAVE_STANDARD_VECTOR_AT) AC_SUBST(DEFINE_HAVE_STRSTREAM_SSTREAM) AC_SUBST(DEFINE_CLAM_HAVE_PTHREADS) AC_SUBST(DEFINE_HAVE_XERCESC) # MRJ: Variables defined by autoconf for libsndfile AC_SUBST(SNDFILE_INCLUDES) AC_SUBST(SNDFILE_LIB_PATH) AC_SUBST(SNDFILE_LIBS) #MRJ: Variables defined by autoconf for libogg and libvorbis AC_SUBST(OGGVORBIS_INCLUDES) AC_SUBST(OGGVORBIS_LIB_PATH) AC_SUBST(OGGVORBIS_LIBS) #MRJ: Variables defined by autoconf for libmad AC_SUBST(LIBMAD_INCLUDES) AC_SUBST(LIBMAD_LIB_PATH) AC_SUBST(LIBMAD_LIBS) #MRJ: Variables defined by autoconf for libid3tag AC_SUBST(ID3TAG_INCLUDES) AC_SUBST(ID3TAG_LIB_PATH) AC_SUBST(ID3TAG_LIBS) #MRJ: Variables defined by autoconf for id3lib AC_SUBST(ID3LIB_INCLUDES) AC_SUBST(ID3LIB_LIB_PATH) AC_SUBST(ID3LIB_LIBS) # Check external C libraries AC_PROG_CC # FFTW checking procedure CLAM_LIB_FFTW # libsndfile checking procedure CLAM_LIB_SNDFILE # Vorbis I SDK checking procedure CLAM_LIB_OGGVORBIS # Underbit's MAD checking procedure CLAM_LIB_MAD # MAD's ID3 tag library CLAM_LIB_ID3TAG # Check external C++ libraries AC_PROG_CXX AC_LANG_CPLUSPLUS CLAM_CHECK_CXX CLAM_LIB_FLTK CLAM_LIB_QT # id3lib checking procedure CLAM_LIB_ID3LIB AC_ARG_ENABLE(xml,[ --disable-xml do check for XML support], [ if test $enableval = no; then XERCESC_LIB_PATH= XERCESC_LIBS= XERCESCROOT= XERCESC_INCLUDES= DEFINE_CLAM_USE_XML= else CLAM_LIB_XERCESC fi ], [ CLAM_LIB_XERCESC ] ) CLAM_CHECK_LIBCXX_FEATURES # Should we check for this? DEFINE_CLAM_HAVE_PTHREADS=CLAM_HAVE_PTHREADS AC_OUTPUT(system-linux.cfg) AC_OUTPUT(system-macosx.cfg)