c-bs-a.m4

来自「制作2.6内核的CLFS时 使用的diffutils-2.8.7.tar.gz包」· M4 代码 · 共 30 行

M4
30
字号
# c-bs-a.m4 serial 4 (fileutils-4.1.3)dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.dnl This file is free software, distributed under the terms of the GNUdnl General Public License.  As a special exception to the GNU Generaldnl Public License, this file may be distributed as part of a programdnl that contains a configuration script generated by Autoconf, underdnl the same distribution terms as the rest of that program.dnl From Paul Eggert.AC_DEFUN([AC_C_BACKSLASH_A],[  AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,   [AC_TRY_COMPILE([],     [#if '\a' == 'a'      syntax error;#endif      char buf['\a' == 'a' ? -1 : 1];      buf[0] = '\a';      return buf[0] != "\a"[0];     ],     ac_cv_c_backslash_a=yes,     ac_cv_c_backslash_a=no)])  if test $ac_cv_c_backslash_a = yes; then    AC_DEFINE(HAVE_C_BACKSLASH_A, 1,      [Define if backslash-a works in C strings.])  fi])

⌨️ 快捷键说明

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