2 # Most of this configure script was ripped from gaim or the
3 # gaim-encryption configure script, thanks guys ;)
6 AC_INIT([pidgin-blinklight], [0.10], [mail@joachim-breitner.de])
9 AM_CONFIG_HEADER(config.h)
11 AM_INIT_AUTOMAKE([1.8])
15 AC_PATH_PROG(sedpath, sed)
21 LIBTOOL="$LIBTOOL --silent"
27 #ALL_LINGUAS="de en_AU en_GB es fr he it ja nl no pt pt_BR sk sv zh_CN zh_TW"
29 AM_GNU_GETTEXT(external)
30 #AM_GNU_GETTEXT(external)
31 AM_GNU_GETTEXT_VERSION(0.16.1)
34 # Look for the C compiler
40 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
42 if test "x$enable_debug" = "xyes" ; then
43 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
46 AC_SUBST(DEBUG_CFLAGS)
48 if test "x$GCC" = "xyes"; then
49 CFLAGS="$CFLAGS -Wall -g3"
57 PKG_CHECK_MODULES(PURPLE, purple,
59 AC_DEFINE(HAVE_PURPLE, 1, [Define if we've found purple.])
63 PURPLE_LIBDIR=`pkg-config --variable=libdir purple`
64 PURPLE_DATADIR=`pkg-config --variable=datadir purple`
65 AC_SUBST(PURPLE_LIBDIR)
66 AC_SUBST(PURPLE_DATADIR)
70 # Check if plugins are enabled
73 AM_CONDITIONAL(PLUGINS, test "$want_plugins" = "yes")
85 echo Configuration complete
87 echo Debugging enabled..............: $enable_debug
89 echo Type make to compile
90 echo Thank you for using pidgin-blinklight