2 AM_INIT_AUTOMAKE(xpenguins,2.2)
3 AM_CONFIG_HEADER(config.h)
5 dnl Checks for programs.
12 XPENGUINS_CFLAGS="$X_CFLAGS $CFLAGS"
14 LIBS="$X_LIBS -lX11 -lXext"
16 AC_CHECK_LIB(Xpm, XpmReadFileToData,, \
17 AC_MSG_ERROR(Valid xpm library not found),$LIBS)
18 AC_CHECK_LIB(Xpm, XpmFree,, \
19 AC_MSG_ERROR(Valid xpm library not found),$LIBS)
21 dnl Checks for header files.
23 AC_CHECK_HEADERS(unistd.h)
25 dnl Checks for typedefs, structures, and compiler characteristics.
28 dnl Checks for library functions.
30 AC_CHECK_FUNCS(select strdup)
32 AC_SUBST(XPENGUINS_CFLAGS)
34 AC_OUTPUT(Makefile src/Makefile themes/Makefile themes/Penguins/Makefile themes/Big_Penguins/Makefile themes/Classic_Penguins/Makefile themes/Turtles/Makefile themes/Bill/Makefile xpenguins.spec)