diff options
Diffstat (limited to 'configure.in.in')
-rw-r--r-- | configure.in.in | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in new file mode 100644 index 0000000..0a4d78a --- /dev/null +++ b/configure.in.in @@ -0,0 +1,29 @@ +#MIN_CONFIG(3.2) +# 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) + +CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" |