1 |
# This file is part of Autoconf. -*- Autoconf -*- |
# This file is part of Autoconf. -*- Autoconf -*- |
2 |
# Checking for programs. |
# Checking for programs. |
3 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
4 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
5 |
|
|
6 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
92 |
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
93 |
# first if we set $1 to just the basename; use the full file name. |
# first if we set $1 to just the basename; use the full file name. |
94 |
shift |
shift |
95 |
set dummy "$as_dir/$ac_word" ${1+"$[@]"} |
ac_cv_prog_$1="$as_dir/$ac_word${1+' '}$[@]" |
|
shift |
|
|
ac_cv_prog_$1="$[@]" |
|
96 |
m4_if([$2], [$4], |
m4_if([$2], [$4], |
97 |
[ else |
[ else |
98 |
# Default is a loser. |
# Default is a loser. |