| Back to the Main Page. | ac_prog_scp |
Download the M4 Source. |
AC_PROG_SCP
1.1 (2002/09/12) 0.5.57 : Installed_Packages
Gleen Salmon <gleensalmon@yahoo.com>
Check for the program 'scp', let script continue if exists, pops up error message if not.
Besides checking existence, this macro also set these environment variables upon completion:
SCP = which scp
AC_DEFUN([AC_PROG_SCP],[
AC_REQUIRE([AC_EXEEXT])dnl
AC_PATH_PROG(SCP, scp$EXEEXT, nocommand)
if test "$SCP" = nocommand; then
AC_MSG_ERROR([scp not found in $PATH])
fi;dnl
])