diff options
author | Steve Zesch <[email protected]> | 2013-01-20 14:00:54 -0500 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2013-01-20 14:00:54 -0500 |
commit | 276eae936334c109ffa6b2e3199f97b1885dfa62 (patch) | |
tree | 4a2fa58f85b799ec8e2c63012244b1a015877220 /macros/progtest.m4 | |
parent | 4a1eb4d4d53baf0c34d1c7ecf8cce1a74a93db50 (diff) | |
parent | 61d109a6e5794cf393d1f9d5bebda10f8efce902 (diff) | |
download | mate-notification-daemon-276eae936334c109ffa6b2e3199f97b1885dfa62.tar.bz2 mate-notification-daemon-276eae936334c109ffa6b2e3199f97b1885dfa62.tar.xz |
Merged.
Diffstat (limited to 'macros/progtest.m4')
-rw-r--r-- | macros/progtest.m4 | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/macros/progtest.m4 b/macros/progtest.m4 deleted file mode 100644 index 443c8e3..0000000 --- a/macros/progtest.m4 +++ /dev/null @@ -1,59 +0,0 @@ -# progtest.m4 serial 2 (gettext-0.10.40) -dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. -dnl This file is free software, distributed under the terms of the GNU -dnl General Public License. As a special exception to the GNU General -dnl Public License, this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. -dnl -dnl This file can can be used in projects which are not available under -dnl the GNU General Public License or the GNU Library General Public -dnl License but which still want to provide support for the GNU gettext -dnl functionality. -dnl Please note that the actual code of the GNU gettext library is covered -dnl by the GNU Library General Public License, and the rest of the GNU -dnl gettext package package is covered by the GNU General Public License. -dnl They are *not* in the public domain. - -dnl Authors: -dnl Ulrich Drepper <[email protected]>, 1996. - -# Search path for a program which passes the given test. - -dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, -dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN([AM_PATH_PROG_WITH_TEST], -[# 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 ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then - AC_MSG_RESULT([$]$1) -else - AC_MSG_RESULT(no) -fi -AC_SUBST($1)dnl -]) |