19 lines
532 B
Plaintext
19 lines
532 B
Plaintext
|
divert(-1)
|
||
|
#
|
||
|
# Copyright (c) 1999 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.
|
||
|
#
|
||
|
#
|
||
|
# Definitions for Makefile construction for sendmail
|
||
|
#
|
||
|
# $Id: string.m4,v 1.1.1.1 2000/05/03 09:27:17 itojun Exp $
|
||
|
#
|
||
|
divert(0)dnl
|
||
|
define(`bldRINDEX',
|
||
|
`ifelse(index($1, $2), `-1', `-1', `eval(index($1, $2) + bldRINDEX(substr($1, eval(index($1, $2) + 1)), $2) + 1)')'dnl
|
||
|
)dnl
|