summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:27:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 15:27:17 -0500
commit883a1fc629f00e9a41efad8514afd1ccf259d8c2 (patch)
tree53191c33748f9cd949a2eb86a64fbedc86c5ac75 /configure.in
parent1385303ea163214e30825730ac0fbcc27f9634aa (diff)
downloadkftpgrabber-883a1fc629f00e9a41efad8514afd1ccf259d8c2.tar.gz
kftpgrabber-883a1fc629f00e9a41efad8514afd1ccf259d8c2.zip
Convert to TDE R14 API
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure.in b/configure.in
index 6b8ac3d..c833f2d 100644
--- a/configure.in
+++ b/configure.in
@@ -82,11 +82,11 @@ dnl =======================================================
dnl PACKAGE set before
-dnl Check for the 3.4 kde version (for kdnssd)
+dnl Check for the 3.4 kde version (for tdednssd)
AC_DEFUN([CHECK_KDNSSD],
[
AC_MSG_CHECKING(for KDNSSD support)
- AC_CACHE_VAL(ac_cv_kdnssd,
+ AC_CACHE_VAL(ac_cv_tdednssd,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
@@ -96,23 +96,23 @@ AC_DEFUN([CHECK_KDNSSD],
CXXFLAGS="$CXXFLAGS $all_includes"
AC_TRY_LINK([
- #include <kdeversion.h>
+ #include <tdeversion.h>
],
[
#if ! KDE_IS_VERSION(3,4,0)
KDE_choke me
#endif
],
- ac_cv_kdnssd=yes,
- ac_cv_kdnssd=no
+ ac_cv_tdednssd=yes,
+ ac_cv_tdednssd=no
)
CXXFLAGS="$save_CXXFLAGS"
AC_LANG_RESTORE
])
- if test "$ac_cv_kdnssd" = "yes"; then
+ if test "$ac_cv_tdednssd" = "yes"; then
AC_MSG_RESULT(yes)
- LIB_KDNSSD="-lkdnssd"
+ LIB_KDNSSD="-ltdednssd"
else
AC_MSG_RESULT(no)
LIB_KDNSSD=""
@@ -136,7 +136,7 @@ AC_DEFUN([CHECK_KDEVERSION],
CXXFLAGS="$CXXFLAGS $all_includes"
AC_TRY_LINK([
- #include <kdeversion.h>
+ #include <tdeversion.h>
],
[
#if ! KDE_IS_VERSION(3,3,0)
@@ -280,13 +280,13 @@ if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
- echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
+ echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
- echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
+ echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi