1dnl This file is part of the KDE libraries/packages 2dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org) 3 4dnl This file is free software; you can redistribute it and/or 5dnl modify it under the terms of the GNU Library General Public 6dnl License as published by the Free Software Foundation; either 7dnl version 2 of the License, or (at your option) any later version. 8 9dnl This library is distributed in the hope that it will be useful, 10dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 11dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12dnl Library General Public License for more details. 13 14dnl You should have received a copy of the GNU Library General Public License 15dnl along with this library; see the file COPYING.LIB. If not, write to 16dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17dnl Boston, MA 02111-1307, USA. 18 19# Original Author was Kalle@kde.org 20# I lifted it in some mater. (Stephan Kulow) 21# I used much code from Janos Farkas 22 23dnl Process this file with autoconf to produce a configure script. 24 25AC_INIT(acinclude.m4) dnl a source file from your sub dir 26 27dnl This is so we can use kde-common 28AC_CONFIG_AUX_DIR(admin) 29 30dnl This ksh/zsh feature conflicts with `cd blah ; pwd` 31unset CDPATH 32 33dnl Checking host/target/build systems, for make, install etc. 34AC_CANONICAL_SYSTEM 35dnl Perform program name transformation 36AC_ARG_PROGRAM 37 38dnl Automake doc recommends to do this only here. (Janos) 39AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs 40 41KDE_SET_PREFIX 42 43dnl generate the config header 44AM_CONFIG_HEADER(config.h) dnl at the distribution this done 45 46dnl Checks for programs. 47AC_CHECK_COMPILERS 48AC_ENABLE_SHARED(yes) 49AC_ENABLE_STATIC(no) 50KDE_PROG_LIBTOOL 51 52dnl for NLS support. Call them in this order! 53dnl WITH_NLS is for the po files 54AM_KDE_WITH_NLS 55 56dnl KDE_USE_QT 57AC_PATH_KDE 58