dnl This file is part of the KDE libraries/packages dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org) dnl This file is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Library General Public dnl License as published by the Free Software Foundation; either dnl version 2 of the License, or (at your option) any later version. dnl This library is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl Library General Public License for more details. dnl You should have received a copy of the GNU Library General Public License dnl along with this library; see the file COPYING.LIB. If not, write to dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330, dnl Boston, MA 02111-1307, USA. # 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_PREREQ(2.50) AC_INIT AC_CONFIG_SRCDIR([acinclude.m4]) 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_TARGET([]) dnl Perform program name transformation AC_ARG_PROGRAM dnl have to put this in so we don't require our users to have uic UIC_NOT_NEEDED=true dnl Automake doc recommends to do this only here. (Janos) AM_INIT_AUTOMAKE(bbconf, 1.10) AM_MAINTAINER_MODE AC_PREFIX_DEFAULT(/usr/local) if test "x$prefix" = "xNONE"; then prefix=$ac_default_prefix ac_configure_args="$ac_configure_args --prefix $prefix" fi dnl generate the config header AM_CONFIG_HEADER(config.h) dnl Checks for programs. AC_LIBTOOL_DLOPEN AC_CHECK_COMPILERS AC_ENABLE_SHARED(yes) AC_ENABLE_STATIC(no) KDE_PROG_LIBTOOL dnl AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) KDE_CHECK_EXTRA_LIBS all_libraries="$all_libraries $USER_LDFLAGS" all_includes="$all_includes $USER_INCLUDES" AC_SUBST(all_includes) AC_SUBST(all_libraries) dnl for NLS support. Call them in this order! dnl WITH_NLS is for the po files AM_KDE_WITH_NLS KDE_MISC_TESTS AC_PATH_QT #MIN_CONFIG dnl PACKAGE set before KDE_CREATE_SUBDIRSLIST AC_CONFIG_FILES([\ ./Makefile \ bbconf/Makefile \ bbconf/plugins/Makefile \ bbconf/plugins/bbconf/Makefile \ bbconf/plugins/bbconf/ui/Makefile \ bbconf/plugins/bbconf/images/Makefile \ bbconf/plugins/keybindings/Makefile \ bbconf/plugins/keybindings/ui/Makefile \ bbconf/plugins/menu/Makefile \ bbconf/plugins/menu/ui/Makefile \ bbconf/plugins/themes/Makefile \ bbconf/plugins/themes/ui/Makefile \ bbconf/plugins/themes/images/Makefile \ doc/Makefile \ doc/bbconf.1 \ doc/en/Makefile \ po/Makefile \ dists/Makefile \ dists/redhat/Makefile \ dists/redhat/bbconf.spec \ ]) AC_OUTPUT