programs.ac

来自「这是国外的resip协议栈」· AC 代码 · 共 72 行

AC
72
字号
# $Id: programs.ac,v 11.22 2004/06/10 16:38:18 bostic Exp $# Check for programs used in building/installation.AC_DEFUN(AM_PROGRAMS_SET, [AC_CHECK_TOOL(db_cv_path_ar, ar, missing_ar)if test "$db_cv_path_ar" = missing_ar; then	AC_MSG_ERROR([No ar utility found.])fiAC_CHECK_TOOL(db_cv_path_chmod, chmod, missing_chmod)if test "$db_cv_path_chmod" = missing_chmod; then	AC_MSG_ERROR([No chmod utility found.])fiAC_CHECK_TOOL(db_cv_path_cp, cp, missing_cp)if test "$db_cv_path_cp" = missing_cp; then	AC_MSG_ERROR([No cp utility found.])fiAC_CHECK_TOOL(db_cv_path_ln, ln, missing_ln)if test "$db_cv_path_ln" = missing_ln; then	AC_MSG_ERROR([No ln utility found.])fiAC_CHECK_TOOL(db_cv_path_mkdir, mkdir, missing_mkdir)if test "$db_cv_path_mkdir" = missing_mkdir; then	AC_MSG_ERROR([No mkdir utility found.])fi# We need a complete path for ranlib, because it doesn't exist on some# architectures because the ar utility packages the library itself.AC_CHECK_TOOL(path_ranlib, ranlib, missing_ranlib)AC_PATH_PROG(db_cv_path_ranlib, $path_ranlib, missing_ranlib)AC_CHECK_TOOL(db_cv_path_rm, rm, missing_rm)if test "$db_cv_path_rm" = missing_rm; then	AC_MSG_ERROR([No rm utility found.])fiif test "$db_cv_rpc" = "yes"; then	AC_CHECK_TOOL(db_cv_path_rpcgen, rpcgen, missing_rpcgen)	if test "$db_cv_path_rpcgen" = missing_rpcgen; then		AC_MSG_ERROR([No rpcgen utility found.])	fifi# We need a complete path for sh, because some implementations of make# get upset if SHELL is set to just the command name.AC_CHECK_TOOL(path_sh, sh, missing_sh)AC_PATH_PROG(db_cv_path_sh, $path_sh, missing_sh)if test "$db_cv_path_sh" = missing_sh; then	AC_MSG_ERROR([No sh utility found.])fi# Don't strip the binaries if --enable-debug was specified.if test "$db_cv_debug" = yes; then	db_cv_path_strip=debug_build_no_stripelse	AC_CHECK_TOOL(path_strip, strip, missing_strip)	AC_PATH_PROG(db_cv_path_strip, $path_strip, missing_strip)fiif test "$db_cv_test" = "yes"; then	AC_CHECK_TOOL(db_cv_path_kill, kill, missing_kill)	if test "$db_cv_path_kill" = missing_kill; then		AC_MSG_ERROR([No kill utility found.])	fifi])

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?