1 |
# progtest.m4 serial 3 (gettext-0.12) |
# progtest.m4 serial 4 (gettext-0.14.2) |
2 |
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. |
dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. |
3 |
dnl This file is free software, distributed under the terms of the GNU |
dnl This file is free software; the Free Software Foundation |
4 |
dnl General Public License. As a special exception to the GNU General |
dnl gives unlimited permission to copy and/or distribute it, |
5 |
dnl Public License, this file may be distributed as part of a program |
dnl with or without modifications, as long as this notice is preserved. |
|
dnl that contains a configuration script generated by Autoconf, under |
|
|
dnl the same distribution terms as the rest of that program. |
|
6 |
dnl |
dnl |
7 |
dnl This file can can be used in projects which are not available under |
dnl This file can can be used in projects which are not available under |
8 |
dnl the GNU General Public License or the GNU Library General Public |
dnl the GNU General Public License or the GNU Library General Public |
16 |
dnl Authors: |
dnl Authors: |
17 |
dnl Ulrich Drepper <drepper@cygnus.com>, 1996. |
dnl Ulrich Drepper <drepper@cygnus.com>, 1996. |
18 |
|
|
19 |
|
AC_PREREQ(2.50) |
20 |
|
|
21 |
# Search path for a program which passes the given test. |
# Search path for a program which passes the given test. |
22 |
|
|
23 |
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, |
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, |
67 |
test -z "$ac_dir" && ac_dir=. |
test -z "$ac_dir" && ac_dir=. |
68 |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
69 |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then |
70 |
|
echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD |
71 |
if [$3]; then |
if [$3]; then |
72 |
ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" |
ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" |
73 |
break 2 |
break 2 |