~zeitgeist/plank/zeitgeist

« back to all changes in this revision

Viewing changes to m4/progtest.m4

  • Committer: Rico Tzschichholz
  • Date: 2011-01-18 21:25:01 UTC
  • Revision ID: ricotz@t-online.de-20110118212501-0e1bo5a4i2x0xynh
update and clean buildsys

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# progtest.m4 serial 4 (gettext-0.14.2)
2
 
dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc.
 
1
# progtest.m4 serial 6 (gettext-0.18)
 
2
dnl Copyright (C) 1996-2003, 2005, 2008-2010 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
])