File: tools.m4

package info (click to toggle)
enca 1.13-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,440 kB
  • sloc: sh: 11,125; ansic: 10,330; xml: 2,926; makefile: 698; perl: 232
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])