⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ax_dirname.m4

📁 A C++ class library for scientific computing
💻 M4
字号:
dnl @* AX_DIRNAME(PATHNAME)dnldnl Parts of the implementation have been taken from AS_DIRNAME from thednl main autoconf package in generation 2.5x. However, we do only use dnl "sed" to cut out the dirname, and we do additionally clean up some dnl dir/.. parts in the resulting pattern.dnldnl this macro may be used in autoconf 2.13 scripts as well.dnldnl @$Id: ax_dirname.m4,v 1.1 2004/04/17 10:15:43 patricg Exp $AC_DEFUN([AX_DIRNAME],[echo X[]$1 |    sed ['s/\/[^\/:][^\/:]*\/..\//\//g          s/\/[^\/:][^\/:]*\/..\//\//g          s/\/[^\/:][^\/:]*\/..\//\//g          s/\/[^\/:][^\/:]*\/..\//\//g          /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }          /^X\(\/\/\)[^/].*/{ s//\1/; q; }          /^X\(\/\/\)$/{ s//\1/; q; }          /^X\(\/\).*/{ s//\1/; q; }          s/.*/./; q']])

⌨️ 快捷键说明

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