joachim99@2: dnl This file is part of the KDE libraries/packages joachim99@2: dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org) joachim99@2: joachim99@2: dnl This file is free software; you can redistribute it and/or joachim99@2: dnl modify it under the terms of the GNU Library General Public joachim99@2: dnl License as published by the Free Software Foundation; either joachim99@2: dnl version 2 of the License, or (at your option) any later version. joachim99@2: joachim99@2: dnl This library is distributed in the hope that it will be useful, joachim99@2: dnl but WITHOUT ANY WARRANTY; without even the implied warranty of joachim99@2: dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU joachim99@2: dnl Library General Public License for more details. joachim99@2: joachim99@2: dnl You should have received a copy of the GNU Library General Public License joachim99@2: dnl along with this library; see the file COPYING.LIB. If not, write to joachim99@2: dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330, joachim99@2: dnl Boston, MA 02111-1307, USA. joachim99@2: joachim99@2: # Original Author was Kalle@kde.org joachim99@2: # I lifted it in some mater. (Stephan Kulow) joachim99@2: # I used much code from Janos Farkas joachim99@2: joachim99@2: dnl Process this file with autoconf to produce a configure script. joachim99@2: joachim99@2: AC_INIT(acinclude.m4) dnl a source file from your sub dir joachim99@2: joachim99@2: dnl This is so we can use kde-common joachim99@2: AC_CONFIG_AUX_DIR(admin) joachim99@2: joachim99@2: dnl This ksh/zsh feature conflicts with `cd blah ; pwd` joachim99@2: unset CDPATH joachim99@2: joachim99@2: dnl Checking host/target/build systems, for make, install etc. joachim99@2: AC_CANONICAL_SYSTEM joachim99@2: dnl Perform program name transformation joachim99@2: AC_ARG_PROGRAM joachim99@2: joachim99@2: dnl Automake doc recommends to do this only here. (Janos) joachim99@2: AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs joachim99@2: joachim99@2: KDE_SET_PREFIX joachim99@2: joachim99@2: dnl generate the config header joachim99@2: AM_CONFIG_HEADER(config.h) dnl at the distribution this done joachim99@2: joachim99@2: dnl Checks for programs. joachim99@2: AC_CHECK_COMPILERS joachim99@2: AC_ENABLE_SHARED(yes) joachim99@2: AC_ENABLE_STATIC(no) joachim99@2: KDE_PROG_LIBTOOL joachim99@2: joachim99@2: dnl for NLS support. Call them in this order! joachim99@2: dnl WITH_NLS is for the po files joachim99@2: AM_KDE_WITH_NLS joachim99@2: joachim99@2: dnl KDE_USE_QT joachim99@2: AC_PATH_KDE