~ubuntu-branches/debian/sid/libdc0/sid

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