aboutsummaryrefslogtreecommitdiffstats
path: root/skype/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'skype/configure.ac')
-rw-r--r--skype/configure.ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/skype/configure.ac b/skype/configure.ac
new file mode 100644
index 00000000..36c4fdcd
--- /dev/null
+++ b/skype/configure.ac
@@ -0,0 +1,18 @@
+AC_INIT([Skype plugin for BitlBee], 1.0, [vmiklos@frugalware.org], bitlbee-skype)
+AC_PROG_CC
+AC_PROG_INSTALL
+
+AC_ARG_ENABLE([debug], AS_HELP_STRING([--enable-debug], [Enable debug support (default: disabled)]), debug=yes)
+AC_MSG_CHECKING(for debug mode request)
+if test x$debug = xyes ; then
+ CFLAGS="-g -Wall -Werror"
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_RESULT(no)
+fi
+
+dnl Check for bitlbee
+PKG_CHECK_MODULES(BITLBEE, bitlbee)
+CFLAGS="$CFLAGS $BITLBEE_CFLAGS"
+LDFLAGS="$LDFLAGS $BITLBEE_LIBS"
+AC_OUTPUT(config.mak)