summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
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])