File: tools.m4

package info (click to toggle)
enca 1.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,948 kB
  • sloc: ansic: 10,297; sh: 5,858; xml: 2,132; makefile: 700; perl: 261
file content (18 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## Some non-test macros. This file is in public domain.

## Set directories containing automake m4 macros (bootstraping).
## Defines: (nothing)
dnl AM_ACLOCAL_INCLUDE(macrodir)
AC_DEFUN([AM_ACLOCAL_INCLUDE],
[dnl Append aclocal flags and then add all specified dirs.
  test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
  for k in $1 ; do ACLOCAL="$ACLOCAL -I $k" ; done
])

## Print warning.
## Defines: (nothing)
AC_DEFUN([ye_WARN_FAIL],
[dnl Test if given variable is yes and possibly print warning.
if test "$1" != yes; then
  AC_MSG_WARN(expect build to fail since we depend on $2)
fi])