1 dnl configure.in for wmusic
10 echo "Configuring package: $PACKAGE-$VERSION"
15 AC_CONFIG_HEADER(src/config.h:src/config.h.in)
19 dnl AC_CHECK_LIB(dockapp, DAProcessActionRects, ,
21 dnl echo "Error: libdockapp was not found"
25 AC_CHECK_LIB(Xxf86vm,XF86VidModeQueryExtension,[
26 AC_DEFINE(XF86VIDMODE,1,[XF86VidMode extension is present])
27 VM_LIBS="-lXxf86vm"],,-L$x_libraries -lXext)
29 AC_CHECK_LIB(Xxf86dga,XF86DGAQueryExtension,[
30 AC_DEFINE(XF86DGA,1,[XF86DGA extension is present])
31 DGA_LIBS="-lXxf86dga"],,-L$x_libraries -lXext)
33 AC_PATH_PROG(PATH_XMMSCONFIG,xmms-config, no,
34 $PATH:/usr/X11R6/bin:/usr/local/bin)
36 if test $PATH_XMMSCONFIG = "no"; then
38 echo "It appears as if Xmms (X Multimedia System - http://www.xmms.org)"
39 echo "is not installed on your computer."
41 echo "If you have Xmms, make sure xmms-config is in your \$PATH"
46 AC_PATH_PROG(PATH_GTKCONFIG,gtk-config, no,
47 $PATH:/usr/X11R6/bin:/usr/local/bin)
49 if test $PATH_GTKCONFIG = "no"; then
51 echo "It appears as if GTK+ - http://www.gtk.org)"
52 echo "is not installed on your computer."
54 echo "If you have gtk+, make sure gtk-config is in your \$PATH"
63 AC_OUTPUT(Makefile wmusic.spec src/Makefile src/version.h)