aboutsummaryrefslogtreecommitdiffstats
path: root/skype/configure.ac
diff options
context:
space:
mode:
authorVMiklos <vmiklos@frugalware.org>2007-08-21 20:46:37 +0200
committerVMiklos <vmiklos@frugalware.org>2007-08-21 20:46:37 +0200
commit68312b81a0adc34e5d868b447393af0ea1fb3ffe (patch)
treecc721909776dea75bfaf2c2361f3a3341d36f356 /skype/configure.ac
parentbff265c81bf79b535841ac5774472cb82cd762f0 (diff)
import configure.ac and config.mak.in
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)