summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..49e3383
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,27 @@
+#MIN_CONFIG(3.3)
+# Define a symbol, to know that we're compiling WITH kde. (for apps that
+# can compile without KDE, optionally)
+AM_CONDITIONAL(KDE_INSTALLED, test "$have_kde" = "yes")
+
+dnl Checks for header files.
+AC_HEADER_DIRENT
+AC_HEADER_STDC
+AC_CHECK_HEADERS(fcntl.h sys/time.h sys/stat.h stdint.h)
+AC_CHECK_HEADERS(sys/cdefs.h fnmatch.h sysent.h strings.h paths.h)
+AC_CHECK_HEADERS(utmp.h sys/param.h linux/tcp.h sys/proc.h)
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_HEADER_TIME
+
+AC_C_LONG_DOUBLE
+
+dnl Checks for library functions.
+KDE_CHECK_DLOPEN
+AC_CHECK_FUNCS(socket fabsl strdup vsnprintf re_comp flock)
+AC_CHECK_SETENV
+AC_CHECK_UNSETENV
+AC_CHECK_GETDOMAINNAME
+AC_CHECK_GETHOSTNAME
+AM_PROG_LEX
+LFLAGS="-o${LEX_OUTPUT_ROOT}.c"
+AC_SUBST(LFLAGS)