aboutsummaryrefslogtreecommitdiffstats
path: root/krootwarning/configure.in
diff options
context:
space:
mode:
authorDavid Baudens <baudens@mandriva.com>2001-08-08 13:19:07 +0000
committerDavid Baudens <baudens@mandriva.com>2001-08-08 13:19:07 +0000
commitd8476b9bb5a5949128d702fa56df755caa0180ec (patch)
treece56167fb61c87819e9ea2a23212747371d12a5f /krootwarning/configure.in
parente05cca7d7ce5693a38c3a39f9abddf69822301ca (diff)
downloadcommon-data-d8476b9bb5a5949128d702fa56df755caa0180ec.tar
common-data-d8476b9bb5a5949128d702fa56df755caa0180ec.tar.gz
common-data-d8476b9bb5a5949128d702fa56df755caa0180ec.tar.bz2
common-data-d8476b9bb5a5949128d702fa56df755caa0180ec.tar.xz
common-data-d8476b9bb5a5949128d702fa56df755caa0180ec.zip
Add krootwarning (KDE)
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 \
+)