File: c-stack.m4

package info (click to toggle)
diffutils 1%3A3.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,980 kB
  • sloc: ansic: 116,841; sh: 12,881; perl: 535; makefile: 233; sed: 16
file content (21 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# c-stack.m4
# serial 25
dnl Copyright (C) 2002-2004, 2008-2025 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file is offered as-is, without any warranty.

# Check prerequisites for compiling lib/c-stack.c.

# Written by Paul Eggert.

AC_DEFUN([gl_C_STACK],
[
  dnl 'c-stack' needs -lsigsegv if and only if the 'sigsegv' module needs it.
  AC_REQUIRE([gl_SIGSEGV])
  if test $gl_sigsegv_uses_libsigsegv = yes; then
    AC_SUBST([LIBCSTACK], [$LIBSIGSEGV])
    AC_SUBST([LTLIBCSTACK], [$LTLIBSIGSEGV])
  fi
])