blob: 2f067b90d1678474a790e07325830e821ec9ef6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
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(bibletime, 1.4.1) dnl searches for some needed programs
KDE_SET_PREFIX
KDE_USE_QT(3.0)
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(no)
AC_ENABLE_STATIC(yes)
KDE_PROG_LIBTOOL
AM_MAINTAINER_MODE
dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS
AC_PATH_KDE
dnl in this space add everything you want to check for;
dnl examples are specific headers, libraries, etc.
dnl everything to compile and run a KDE program is already checked
CPPFLAGS="$CPPFLAGS -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -Wall -I\$(top_srcdir)/ -I\$(top_srcdir)/bibletime"
AC_CHECK_STATIC_LINKING(ac_use_static)
AC_CHECK_SWORD(1.5.7, [$ac_use_static])
AC_CHECK_CURL()
dnl Chek for the used distribution
AC_CHECK_DISTRIBUTION
dnl add here all your Makefiles. They are created by configure
AC_CONFIG_FILES([ NEWS ])
AC_CONFIG_FILES([ README ])
AC_CONFIG_FILES([ INSTALL ])
AC_CONFIG_FILES([ bibletime.lsm ])
AC_CONFIG_FILES([ bibletime.spec ])
AC_CONFIG_FILES([ bibletime.desktop ])
|