view acinclude.m4 @ 3454:c0eb377bb4e5 trunk

Check pointer to prevent NULL dereference.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 08 Sep 2007 02:55:28 +0300
parents 817f9357b81a
children 40f998ddd0a4
line wrap: on
line source

dnl ADD_PKG_REQUIRES([requirement])

AC_DEFUN([ADD_PC_REQUIRES],
[
   test -z "$PC_REQUIRES" && PC_REQUIRES="$1" || PC_REQUIRES="$PC_REQUIRES, $1"
   AC_SUBST(PC_REQUIRES)
]
)