aboutsummaryrefslogtreecommitdiffstats
path: root/krootwarning/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'krootwarning/configure.in')
-rw-r--r--krootwarning/configure.in51
1 files changed, 51 insertions, 0 deletions
diff --git a/krootwarning/configure.in b/krootwarning/configure.in
new file mode 100644
index 0000000..ea584bd
--- /dev/null
+++ b/krootwarning/configure.in
@@ -0,0 +1,51 @@
+# Original Author was Kalle@kde.org
+# I lifted it in some mater. (Stephan Kulow)
+# I used much code from Janos Farkas
+
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(acinclude.m4) dnl a source file from your sub dir
+
+dnl This is so we can use kde-common
+AC_CONFIG_AUX_DIR(admin)
+
+dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
+unset CDPATH
+
+dnl Checking host/target/build systems, for make, install etc.
+AC_CANONICAL_SYSTEM
+dnl Perform program name transformation
+AC_ARG_PROGRAM
+
+dnl Automake doc recommends to do this only here. (Janos)
+AM_INIT_AUTOMAKE(krootwarning, 0.1) dnl searches for some needed programs
+
+KDE_SET_PREFIX
+
+dnl generate the config header
+AM_CONFIG_HEADER(config.h) dnl at the distribution this done
+
+dnl Checks for programs.
+AC_CHECK_COMPILERS
+AC_ENABLE_SHARED(yes)
+AC_ENABLE_STATIC(no)
+KDE_PROG_LIBTOOL
+
+dnl for NLS support. Call them in this order!
+dnl WITH_NLS is for the po files
+AM_KDE_WITH_NLS
+
+AC_PATH_KDE
+#MIN_CONFIG
+
+dnl PACKAGE set before
+
+KDE_CREATE_SUBDIRSLIST
+AC_OUTPUT( \
+./Makefile \
+doc/Makefile \
+doc/en/Makefile \
+krootwarning/Makefile \
+krootwarning/pics/Makefile \
+po/Makefile \
+)