~andrewsomething/parcellite/unstable

« back to all changes in this revision

Viewing changes to m4/progtest.m4

  • Committer: Andrew Starr-Bochicchio
  • Date: 2011-09-14 21:18:06 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: a.starr.b@gmail.com-20110914211806-pwbn58qizqu39x8w
Tags: upstream-1.0.2~rc5
ImportĀ upstreamĀ versionĀ 1.0.2~rc5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# progtest.m4 serial 6 (gettext-0.18)
2
 
dnl Copyright (C) 1996-2003, 2005, 2008-2010 Free Software Foundation, Inc.
 
1
# progtest.m4 serial 4 (gettext-0.14.2)
 
2
dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
16
16
dnl Authors:
17
17
dnl   Ulrich Drepper <drepper@cygnus.com>, 1996.
18
18
 
19
 
AC_PREREQ([2.50])
 
19
AC_PREREQ(2.50)
20
20
 
21
21
# Search path for a program which passes the given test.
22
22
 
55
55
# Extract the first word of "$2", so it can be a program name with args.
56
56
set dummy $2; ac_word=[$]2
57
57
AC_MSG_CHECKING([for $ac_word])
58
 
AC_CACHE_VAL([ac_cv_path_$1],
 
58
AC_CACHE_VAL(ac_cv_path_$1,
59
59
[case "[$]$1" in
60
60
  [[\\/]]* | ?:[[\\/]]*)
61
61
    ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
84
84
esac])dnl
85
85
$1="$ac_cv_path_$1"
86
86
if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
87
 
  AC_MSG_RESULT([$][$1])
 
87
  AC_MSG_RESULT([$]$1)
88
88
else
89
 
  AC_MSG_RESULT([no])
 
89
  AC_MSG_RESULT(no)
90
90
fi
91
 
AC_SUBST([$1])dnl
 
91
AC_SUBST($1)dnl
92
92
])