Add missing libraries to examples' Makefiles
[dockapps.git] / wmmp3 / configure.ac
blobb1156a3782b2f83b2d73270ab92d1ee24cb52d4e
1 AC_INIT(wmmp3,0.12)
2 AC_CONFIG_SRCDIR(main.c)
3 AM_INIT_AUTOMAKE(foreign)
4 AC_PROG_CC
5 AC_PROG_INSTALL
7 if test "$x_includes" != "NONE"; then
8         CFLAGS="$CFLAGS -I$x_includes"
9 fi
11 if test "$x_libraries" != "NONE"; then
12         LDFLAGS="$LDFLAGS -L$x_libraries"
15 AC_CHECK_LIB(X11, XOpenDisplay)
16 AC_CHECK_LIB(Xext, XShapeCombineMask)
17 AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, , , $LIBS)
19 AC_OUTPUT(Makefile)