📄 aclocal.m4
字号:
dnldnl Borrowed (and altered) from Bill Gropp's confdb PAC_PROG_CHECK_INSTALL_WORKS.dnldnl Fixes to bugs in AC_xxx macrosdnl dnl MPD_AC_PROG_CHECK_INSTALL_WORKS - Check whether the install program in INSTALLdnl works.dnldnl Synopsis:dnl MPD_AC_PROG_CHECK_INSTALL_WORKSdnldnl Output Effect:dnl Sets the variable 'INSTALL' to the value of 'ac_sh_install' if dnl a file cannot be installed into a local directory with the 'INSTALL'dnl programdnldnl Notes:dnl The 'AC_PROG_INSTALL' scripts tries to avoid broken versions of dnl install by avoiding directories such as '/usr/sbin' where some dnl systems are known to have bad versions of 'install'. Unfortunately, dnl this is exactly the sort of test-on-name instead of test-on-capabilitydnl that 'autoconf' is meant to eliminate. The test in this scriptdnl is very simple but has been adequate for working around problems dnl on Solaris, where the '/usr/sbin/install' program (known by dnl autoconf to be bad because it is in /usr/sbin) is also reached by a dnl soft link through /bin, which autoconf believes is good.dnldnl No variables are cached to ensure that we do not make a mistake in dnl our choice of install program.dnlAC_DEFUN([MPD_AC_PROG_CHECK_INSTALL_WORKS],[# Check that this install really worksrm -f conftestecho "Test file" > conftestif test ! -d .conftest ; then mkdir .conftest ; fiAC_MSG_CHECKING([whether install $INSTALL works])if $INSTALL -m 644 conftest .conftest >/dev/null 2>&1 ; then installOk=yeselse installOk=nofirm -rf .conftest conftestAC_MSG_RESULT($installOk)dnl if test "$installOk" = no ; then dnl AC_MSG_ERROR([Unable to find working install])dnl fidnl installOk=no # RMB DEBUG])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -