diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-10 05:14:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-10 05:14:00 +0000 |
commit | fa949b6b7fa553547f26305d4227e8baa0091c1f (patch) | |
tree | 9199255f7d3e0f276f6f53000f13fb0081f3c4c5 /configure.in.in | |
download | bibletime-fa949b6b7fa553547f26305d4227e8baa0091c1f.tar.gz bibletime-fa949b6b7fa553547f26305d4227e8baa0091c1f.zip |
Added initial Trinity version of BibleTime
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1173688 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r-- | configure.in.in | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in new file mode 100644 index 0000000..ea108e4 --- /dev/null +++ b/configure.in.in @@ -0,0 +1,68 @@ +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.6.6.0) 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 +CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" +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 -I\$(top_builddir)/bibletime" +AC_CHECK_STATIC_LINKING(ac_use_static) +AC_CHECK_SWORD(1.5.9, [$ac_use_static]) +AC_CHECK_CLUCENE([$ac_use_static]) + +AC_ARG_ENABLE(howto, + AC_HELP_STRING([--enable-howto], + [install Bible Study Howto (default=yes)]), + , + enable_howto=yes +) +HOWTODIR="" +if test "x$enable_howto" = xyes; then + HOWTODIR="howto" +fi +AC_SUBST(HOWTODIR) + +dnl Chek for the used distribution +AC_CHECK_DISTRIBUTION + +dnl add here all your Makefiles. They are created by configure + +AC_CONFIG_FILES([ README ]) +AC_CONFIG_FILES([ INSTALL ]) +AC_CONFIG_FILES([ bibletime.lsm ]) +AC_CONFIG_FILES([ bibletime.spec ]) +AC_CONFIG_FILES([ bibletime.desktop ]) |