summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:55:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:55:11 +0000
commit854bf52eebd2da47ff45f6ae85f4cb89bae89876 (patch)
tree24fa0a7eabb9c300a1655d665f72327fe5ab3464 /configure.in.in
downloadsmb4k-854bf52eebd2da47ff45f6ae85f4cb89bae89876.tar.gz
smb4k-854bf52eebd2da47ff45f6ae85f4cb89bae89876.zip
Added old KDE3 version of SMB4K
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smb4k@1097609 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..cf59121
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,34 @@
+#MIN_CONFIG(3.3.0)
+#AM_KDE_MIN_VERSION(3.3.0)
+
+AM_INIT_AUTOMAKE(smb4k,0.9.4)
+
+
+dnl=========================================================================dnl
+dnl Konqueror plugin dnl
+dnl=========================================================================dnl
+
+AC_ARG_WITH(
+ [konqplugin],
+ [AS_HELP_STRING([--with-konqplugin=ARG],
+ [build with Konqueror plugin (default ARG=yes)])],
+ [],
+ [with_konqplugin=yes])
+
+if test x$with_konqplugin = xyes; then
+ KDE_CHECK_HEADER(
+ [konqsidebarplugin.h],
+ [AC_DEFINE(HAVE_KONQPLUGIN,1,
+ [define if the Konqueror plugin is compiled])],
+ [AC_MSG_ERROR([
+***
+*** Cannot build Konqueror plugin. Install the development files for KDE base
+*** or pass the '--with-konqplugin=no' option to the configure script.
+***])],
+ []
+ )
+else
+ DO_NOT_COMPILE="$DO_NOT_COMPILE plugin"
+fi
+
+AM_CONDITIONAL([compile_konqplugin], [test x$with_konqplugin = xyes])