1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
"http://www.w3.org/TR/html4/strict.dtd">
6
<title>Autoconf Macro: ac_prog_scp</title>
7
<link rel="stylesheet" type="text/css" href="ac-archive.css">
11
<table summary="web navigation" style="width:100%;">
14
<td style="width:50%;" align="center">[<a href="index.html">Macro Index
17
<td style="width:50%;" align="center">[<a href=
18
"../m4source/ac_prog_scp.m4">Download M4 Source</a>]</td>
29
<p style="text-align:left; white-space:nowrap;">
30
<code>AC_PROG_SCP</code></p>
36
<p>Check for the program 'scp', let script continue if exists, pops up
37
error message if not.</p>
39
<p>Besides checking existence, this macro also set these environment
40
variables upon completion:</p>
49
<p>1.1 (last modified: 2002-04-11)</p>
55
<p>Gleen Salmon <gleensalmon@yahoo.com></p>
58
<h2>M4 Source Code</h2>
61
<pre class="m4source">
62
AC_DEFUN([AC_PROG_SCP],[
63
AC_REQUIRE([AC_EXEEXT])dnl
64
AC_PATH_PROG(SCP, scp$EXEEXT, nocommand)
65
if test "$SCP" = nocommand; then
66
AC_MSG_ERROR([scp not found in $PATH])
75
<a href="COPYING.html">GNU General Public License</a> with this special
76
<a href="COPYING-Exception.html">exception</a>.