AC_PROG_SCP ,
2002年04月11日
Gleen Salmon <gleensalmon@yahoo.com>
GPLWithACException
This program is free software; you can
redistribute it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation. As a special exception, the respective
Autoconf Macro's copyright owner gives unlimited permission to copy, distribute and modify
the configure scripts that are the output of Autoconf when processing the Macro. You
need not follow the terms of the
GNU General Public License when using or distributing such scripts
cryp.to ac-archive's Installed Packages (released)
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 ])