aboutsummaryrefslogtreecommitdiffstats
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
parentbff265c81bf79b535841ac5774472cb82cd762f0 (diff)
import configure.ac and config.mak.in
-rw-r--r--skype/config.mak.in6
-rw-r--r--skype/configure.ac18
2 files changed, 24 insertions, 0 deletions
diff --git a/skype/config.mak.in b/skype/config.mak.in
new file mode 100644
index 00000000..06dd386a
--- /dev/null
+++ b/skype/config.mak.in
@@ -0,0 +1,6 @@
+CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@
+INSTALL = @INSTALL@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+libdir = @libdir@
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)