aboutsummaryrefslogtreecommitdiffstats
path: root/conf/m4/kde/AM_PATH_PROG_WITH_TEST_KDE.m4
diff options
context:
space:
mode:
Diffstat (limited to 'conf/m4/kde/AM_PATH_PROG_WITH_TEST_KDE.m4')
-rw-r--r--conf/m4/kde/AM_PATH_PROG_WITH_TEST_KDE.m443
1 files changed, 0 insertions, 43 deletions
diff --git a/conf/m4/kde/AM_PATH_PROG_WITH_TEST_KDE.m4 b/conf/m4/kde/AM_PATH_PROG_WITH_TEST_KDE.m4
deleted file mode 100644
index de1cba8..0000000
--- a/conf/m4/kde/AM_PATH_PROG_WITH_TEST_KDE.m4
+++ /dev/null
@@ -1,43 +0,0 @@
-# Search path for a program which passes the given test.
-# Ulrich Drepper <drepper@cygnus.com>, 1996.
-
-# serial 1
-# Stephan Kulow: I appended a _KDE against name conflicts
-
-dnl AM_PATH_PROG_WITH_TEST_KDE(VARIABLE, PROG-TO-CHECK-FOR,
-dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
-AC_DEFUN([AM_PATH_PROG_WITH_TEST_KDE],
-[# Extract the first word of "$2", so it can be a program name with args.
-set dummy $2; ac_word=[$]2
-AC_MSG_CHECKING([for $ac_word])
-AC_CACHE_VAL(ac_cv_path_$1,
-[case "[$]$1" in
- /*)
- ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in ifelse([$5], , $PATH, [$5]); do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- if [$3]; then
- ac_cv_path_$1="$ac_dir/$ac_word"
- break
- fi
- fi
- done
- IFS="$ac_save_ifs"
-dnl If no 4th arg is given, leave the cache variable unset,
-dnl so AC_PATH_PROGS will keep looking.
-ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
-])dnl
- ;;
-esac])dnl
-$1="$ac_cv_path_$1"
-if test -n "[$]$1"; then
- AC_MSG_RESULT([$]$1)
-else
- AC_MSG_RESULT(no)
-fi
-AC_SUBST($1)dnl
-])