Mercurial > hg > xmms-sid
view configure.in @ 4:4bb09e405eab
Added new files for 0.8
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Jun 2003 11:03:04 +0000 |
parents | 183e7cbc1036 |
children | 364fe4a69c2b |
line wrap: on
line source
dnl *** dnl *** Process this file with autoconf to produce a configure script. dnl *** AC_INIT(README) AM_INIT_AUTOMAKE(xmms-sid, 0.7.4) dnl *** dnl *** Some general checks dnl *** AC_DISABLE_STATIC AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL dnl *** dnl *** Checks for programs dnl *** AC_PROG_CC AC_PROG_CXX AC_PROG_CPP AC_PROG_INSTALL AC_HEADER_STDC AC_PATH_LIBSIDPLAY AM_PATH_XMMS(1.2.0, [ # Check if the libdir has been set by user #if test "x$libdir" = "x$exec_prefix/lib"; then libdir=$XMMS_INPUT_PLUGIN_DIR #fi ], AC_MSG_ERROR([*** XMMS >= 1.2.0 not found. You need XMMS v1.2.0 or later to use XMMS-SID plugin.] )) dnl *** dnl *** Checks for libraries. dnl *** AM_PATH_GLIB(1.2.2,,AC_MSG_ERROR([*** GLIB >= 1.2.2 not found. You either don't have GLIB at all or your GLIB is too old. Latest GLIB can be found from Gtk+ homepages (http://www.gtk.org/)])) AM_PATH_GTK(1.2.2,,AC_MSG_ERROR([*** Gtk+ >= 1.2.2 not found. You either don't have Gtk+ at all or your Gtk+ is too old. Latest Gtk+ can be found from Gtk+ homepages (http://www.gtk.org/)]), gthread) dnl *** dnl *** Song position patch check dnl *** AC_MSG_CHECKING([for song position patch]) dnl botte hack tmp_CPPFLAGS=$CPPFLAGS if test -d "$prefix" ;then CPPFLAGS="$CPPFLAGS -I${prefix}/include" fi AC_EGREP_HEADER(set_song_position,xmms/plugin.h, AC_DEFINE(HAVE_SONG_POSITION) AC_MSG_RESULT(yes),AC_MSG_RESULT(no)) CPPFLAGS=$tmp_CPPFLAGS dnl *** dnl *** And finally, output the all generatable files! dnl *** AC_OUTPUT([ Makefile src/Makefile dnl xmms-sid.spec ])