summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: cf59121099951cbf7d778887b7061febfabd995f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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])