aboutsummaryrefslogtreecommitdiffstats
path: root/conf/m4/kde/KDE_CHECK_EXTRA_LIBS.m4
diff options
context:
space:
mode:
Diffstat (limited to 'conf/m4/kde/KDE_CHECK_EXTRA_LIBS.m4')
-rw-r--r--conf/m4/kde/KDE_CHECK_EXTRA_LIBS.m456
1 files changed, 0 insertions, 56 deletions
diff --git a/conf/m4/kde/KDE_CHECK_EXTRA_LIBS.m4 b/conf/m4/kde/KDE_CHECK_EXTRA_LIBS.m4
deleted file mode 100644
index f1edb66..0000000
--- a/conf/m4/kde/KDE_CHECK_EXTRA_LIBS.m4
+++ /dev/null
@@ -1,56 +0,0 @@
-AC_DEFUN([KDE_CHECK_EXTRA_LIBS],
-[
-AC_MSG_CHECKING(for extra includes)
-AC_ARG_WITH(extra-includes, [ --with-extra-includes=DIR
- adds non standard include paths],
- kde_use_extra_includes="$withval",
- kde_use_extra_includes=NONE
-)
-kde_extra_includes=
-if test -n "$kde_use_extra_includes" && \
- test "$kde_use_extra_includes" != "NONE"; then
-
- ac_save_ifs=$IFS
- IFS=':'
- for dir in $kde_use_extra_includes; do
- kde_extra_includes="$kde_extra_includes $dir"
- all_includes="$all_includes -I$dir"
- USER_INCLUDES="$USER_INCLUDES -I$dir"
- done
- IFS=$ac_save_ifs
- kde_use_extra_includes="added"
-else
- kde_use_extra_includes="no"
-fi
-AC_SUBST(USER_INCLUDES)
-
-AC_MSG_RESULT($kde_use_extra_includes)
-
-kde_extra_libs=
-AC_MSG_CHECKING(for extra libs)
-AC_ARG_WITH(extra-libs, [ --with-extra-libs=DIR adds non standard library paths],
- kde_use_extra_libs=$withval,
- kde_use_extra_libs=NONE
-)
-if test -n "$kde_use_extra_libs" && \
- test "$kde_use_extra_libs" != "NONE"; then
-
- ac_save_ifs=$IFS
- IFS=':'
- for dir in $kde_use_extra_libs; do
- kde_extra_libs="$kde_extra_libs $dir"
- all_libraries="$all_libraries -L$dir"
- KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
- USER_LDFLAGS="$USER_LDFLAGS -L$dir"
- done
- IFS=$ac_save_ifs
- kde_use_extra_libs="added"
-else
- kde_use_extra_libs="no"
-fi
-
-AC_SUBST(USER_LDFLAGS)
-
-AC_MSG_RESULT($kde_use_extra_libs)
-
-])