2017-02-21 01:25:27 +00:00
|
|
|
AC_INIT(wmmp3,0.12)
|
|
|
|
AC_CONFIG_SRCDIR(main.c)
|
|
|
|
AM_INIT_AUTOMAKE(foreign)
|
2016-08-08 15:41:15 +00:00
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
if test "$x_includes" != "NONE"; then
|
|
|
|
CFLAGS="$CFLAGS -I$x_includes"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "$x_libraries" != "NONE"; then
|
|
|
|
LDFLAGS="$LDFLAGS -L$x_libraries"
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_CHECK_LIB(X11, XOpenDisplay)
|
|
|
|
AC_CHECK_LIB(Xext, XShapeCombineMask)
|
|
|
|
AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, , , $LIBS)
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile)
|