more administrative stuff
[wmaker-crm.git] / plugins / configure.in
blobce53ca7a7828bcca04c5cdc63ee2ab3bf80bc5dc
1 AC_INIT(libwmfun/generic.h)
2 AM_INIT_AUTOMAKE(libwmfun, 0.0.4)
4 AM_PROG_LIBTOOL
6 AM_CONFIG_HEADER(libwmfun/config.h)
8 dnl FreeType Support
9 dnl ================
10 freetype=yes
11 AC_ARG_ENABLE(freetype,
12 [  --disable-freetype      disable FreeType 2 support],
13         freetype=$enableval, freetype=yes, freetype=no)
15 if test "$freetype" = yes ; then
16     WM_CHECK_LIB(freetype, FT_Init_FreeType, )
18     if test "x$ac_cv_lib_freetype_FT_Init_FreeType" = xyes; then
19         LIBS="$LIBS -lfreetype"
20         AC_DEFINE(USE_FREETYPE)
21     fi
24 AC_OUTPUT([Makefile libwmfun/Makefile])