diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch) | |
tree | 9047cf9e6b5c43878d5bf82660adae77ceee097a /arts/configure.in.in | |
download | tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/configure.in.in')
-rw-r--r-- | arts/configure.in.in | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/arts/configure.in.in b/arts/configure.in.in new file mode 100644 index 00000000..e76c7e40 --- /dev/null +++ b/arts/configure.in.in @@ -0,0 +1,60 @@ + +if test "x$build_arts" = "xno"; then + DO_NOT_COMPILE="$DO_NOT_COMPILE arts" +fi + +dnl Find aRts using artsc-config +AC_DEFUN([AC_FIND_ARTS], +[ + AC_PATH_PROG(ARTSCCONFIG, artsc-config, no) + if test "x$ARTSCCONFIG" = "xno" ; then + AC_MSG_ERROR(Cannot find artsc-config - missing from path?) + fi + ARTSDIR=[`$ARTSCCONFIG --arts-prefix`] +]) + +KDE_CHECK_THREADING + +dnl Check if we are building as part of KDE. + +AC_MSG_CHECKING(if building standalone aRts snapshot without KDE) +if test "$DCOPIDL" = ""; then + AC_MSG_RESULT(yes) + + AC_FIND_ARTS + + dnl find mcopidl + MCOPIDL="$ARTSDIR/bin/mcopidl" + AC_SUBST(MCOPIDL) + + dnl fake KDE_RPATH, moc, uic + KDE_RPATH="" + MOC=true + UIC=true + AC_SUBST(KDE_RPATH) + AC_SUBST(MOC) + AC_SUBST(UIC) + + dnl variables + arts_datadir="$ARTSDIR/share" + arts_includes="$ARTSDIR/include/arts" + arts_libraries="$ARTSDIR/lib" + ARTS_BUILD_KDE="" + ARTS_BUILD_KDE_GUI="" +else + AC_MSG_RESULT(no) + + dnl variables + arts_datadir="$kde_datadir" + arts_includes="$kde_includes/arts" + arts_libraries="$kde_libraries" + + dnl conditional build some things + ARTS_BUILD_KDE="builder tools" + ARTS_BUILD_KDE_GUI="kde" +fi + +AC_SUBST(arts_datadir) +AC_SUBST(arts_includes) +AC_SUBST(arts_libraries) +AM_CONDITIONAL(arts_within_KDE, test -n "$ARTS_BUILD_KDE") |