diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2008-08-28 04:33:50 +0000 |
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2008-08-28 04:33:50 +0000 |
| commit | e8e0e5823adff1aed6bf456d75e58353e6dcf68e (patch) | |
| tree | 366be2f317b4d052916d4861096c4a53ba6f9a26 /devtools/M4/UNIX/check.m4 | |
| parent | aa651f666c6d33d54b6572c19534539ed5ae7637 (diff) | |
Import sendmail 8.14.3 and clean up svn properties as documented in:vendor/sendmail/8.14.3
Notes
svn path=/vendor/sendmail/dist/; revision=182329
svn path=/vendor/sendmail/8.14.3/; revision=182330; tag=vendor/sendmail/8.14.3
Diffstat (limited to 'devtools/M4/UNIX/check.m4')
| -rw-r--r-- | devtools/M4/UNIX/check.m4 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devtools/M4/UNIX/check.m4 b/devtools/M4/UNIX/check.m4 new file mode 100644 index 000000000000..581a5aa889c7 --- /dev/null +++ b/devtools/M4/UNIX/check.m4 @@ -0,0 +1,28 @@ +divert(-1) +# +# Copyright (c) 2006 Sendmail, Inc. and its suppliers. +# All rights reserved. +# +# By using this file, you agree to the terms and conditions set +# forth in the LICENSE file which can be found at the top level of +# the sendmail distribution. +# +# Compile/run a test program. +# +# $Id: check.m4,v 8.5 2006/08/28 23:48:54 ca Exp $ +# +define(`smcheck', `dnl +ifelse(X`'$2, `X', `', `ifelse(index($2, `run'), `-1', `', `dnl +bldLIST_PUSH_ITEM(`bldCHECK_TARGETS', $1)dnl +')') +ifelse(X`'$2, `X', `', `ifelse(index($2, `compile'), `-1', `', `dnl +bldLIST_PUSH_ITEM(`bldC_CHECKS', $1)dnl +bldLIST_PUSH_ITEM(`bldCHECK_PROGRAMS', $1)dnl +bldPUSH_CLEAN_TARGET($1`-clean')dnl +divert(bldTARGETS_SECTION) +$1`'SRCS=$1.c +$1: ${BEFORE} $1.o ifdef(`confCHECK_LIBS', `confCHECK_LIBS') + ${CC} -o $1 ${LDOPTS} ${LIBDIRS} $1.o ifdef(`confCHECK_LIBS', `confCHECK_LIBS') ${LIBS} +$1-clean: + rm -f $1 $1.o')') +divert(0)') |
