diff options
Diffstat (limited to 'misc/autopoint-files/archive/m4/progtest.m4,v')
-rw-r--r-- | misc/autopoint-files/archive/m4/progtest.m4,v | 197 |
1 files changed, 197 insertions, 0 deletions
diff --git a/misc/autopoint-files/archive/m4/progtest.m4,v b/misc/autopoint-files/archive/m4/progtest.m4,v new file mode 100644 index 0000000..d7cd87b --- /dev/null +++ b/misc/autopoint-files/archive/m4/progtest.m4,v @@ -0,0 +1,197 @@ +head 1.1; +branch 1.1.1; +access; +symbols + gettext-0_11_2:1.1.1.5 + gettext-0_11_1:1.1.1.5 + gettext-0_11:1.1.1.5 + gettext-0_10_40:1.1.1.4 + gettext-0_10_39:1.1.1.3 + gettext-0_10_38:1.1.1.2 + gettext-0_10_37:1.1.1.2 + gettext-0_10_36:1.1.1.2 + gettext-0_10_35:1.1.1.1 + release:1.1.1; +locks; strict; +comment @# @; + + +1.1 +date 2002.05.01.17.43.22; author bruno; state Exp; +branches + 1.1.1.1; +next ; + +1.1.1.1 +date 2002.05.01.17.43.22; author bruno; state Exp; +branches; +next 1.1.1.2; + +1.1.1.2 +date 2002.05.01.17.46.37; author bruno; state Exp; +branches; +next 1.1.1.3; + +1.1.1.3 +date 2002.05.01.17.51.15; author bruno; state Exp; +branches; +next 1.1.1.4; + +1.1.1.4 +date 2002.05.01.17.52.40; author bruno; state Exp; +branches; +next 1.1.1.5; + +1.1.1.5 +date 2002.05.01.17.56.22; author bruno; state Exp; +branches; +next ; + + +desc +@@ + + +1.1 +log +@Initial revision +@ +text +@# Search path for a program which passes the given test. +# Ulrich Drepper <drepper@@cygnus.com>, 1996. +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# Please note that the actual code is *not* freely available. + +# serial 1 + +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 -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) +@ + + +1.1.1.1 +log +@Import gettext-0.10.35 +@ +text +@@ + + +1.1.1.2 +log +@Import gettext-0.10.36 +@ +text +@d13 1 +a13 1 +AC_DEFUN([AM_PATH_PROG_WITH_TEST], +@ + + +1.1.1.3 +log +@Import gettext-0.10.39 +@ +text +@d5 3 +a7 5 +# be used in projects which are not available under the GNU General Public +# License but which still want to provide support for the GNU gettext +# functionality. +# Please note that the actual code of GNU gettext is covered by the GNU +# General Public License and is *not* in the public domain. +d9 1 +a9 1 +# serial 2 +d41 1 +a41 1 +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then +@ + + +1.1.1.4 +log +@Import gettext-0.10.40 +@ +text +@d6 4 +a9 6 +# License or the GNU Library General Public License but which still want +# to provide support for the GNU gettext functionality. +# Please note that the actual code of the GNU gettext library is covered +# by the GNU Library General Public License, and the rest of the GNU +# gettext package package is covered by the GNU General Public License. +# They are *not* in the public domain. +@ + + +1.1.1.5 +log +@Import gettext-0.11 +@ +text +@d1 11 +a11 19 +# 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 <drepper@@cygnus.com>, 1996. +d13 1 +a13 1 +# Search path for a program which passes the given test. +@ + + |