summaryrefslogtreecommitdiffstats
path: root/korganizer/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/configure.in.in')
-rw-r--r--korganizer/configure.in.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/korganizer/configure.in.in b/korganizer/configure.in.in
new file mode 100644
index 000000000..850f2053c
--- /dev/null
+++ b/korganizer/configure.in.in
@@ -0,0 +1,28 @@
+KDE_FIND_PATH(perl, PERL, [],
+ [
+ AC_MSG_WARN([Couldn't find perl 5 or later. ical2vcal will not work.]) ],
+ [-e 'require 5.000;']
+)
+
+AC_SUBST(PERL)
+
+KDE_CHECK_STL
+AC_HEADER_DIRENT
+AC_HEADER_STDC
+AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/select.h \
+ malloc.h sys/param.h libgen.h)
+AC_HEADER_TIME
+
+AC_LANG_C
+AC_C_LONG_DOUBLE
+AC_TYPE_GETGROUPS
+
+dnl Checks for library functions.
+AC_CHECK_FUNCS(socket strdup vsnprintf basename setenv unsetenv)
+AC_CHECK_GETDOMAINNAME
+AC_CHECK_GETHOSTNAME
+AC_CHECK_USLEEP
+
+dnl AC_OUTPUT(korganizer/ical2vcal)
+
+AC_PROG_YACC