acinclude.m4

来自「RAM Defragmentation tools」· M4 代码 · 共 18 行

M4
18
字号
dnl Available from the GNU Autoconf Macro Archive at:dnl http://www.gnu.org/software/ac-archive/htmldoc/adl_func_getopt_long.htmldnldnl knilch: s/lib/src/g - we don't need an extra 'lib' directoryAC_DEFUN([adl_FUNC_GETOPT_LONG], [AC_PREREQ(2.49)dnl  # clean out junk possibly left behind by a previous configuration  rm -f src/getopt.h  # Check for getopt_long support  AC_CHECK_HEADERS([getopt.h])  AC_CHECK_FUNCS([getopt_long],,   [# FreeBSD has a gnugetopt library for this    AC_CHECK_LIB([gnugetopt],[getopt_long],[AC_DEFINE([HAVE_GETOPT_LONG])],     [# use the GNU replacement      AC_LIBOBJ(getopt)      AC_LIBOBJ(getopt1)      AC_CONFIG_LINKS([src/getopt.h:src/gnugetopt.h])])])])

⌨️ 快捷键说明

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