mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-01 07:04:10 +01:00
d09154465a
While all systems that I have access to support strcasestr, it is in fact not part of POSIX. So here's a fallback reimplementation based on POSIX functions. Signed-off-by: Dirk Hohndel <hohndel@infradead.org> Tested-by: Tomas Carnecky <tom@dbservice.com> (on OpenSolaris snv_134)
14 lines
253 B
Makefile
14 lines
253 B
Makefile
# -*- makefile -*-
|
|
|
|
dir := compat
|
|
extra_cflags += -I$(dir)
|
|
|
|
notmuch_compat_srcs :=
|
|
|
|
ifneq ($(HAVE_GETLINE),1)
|
|
notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c
|
|
endif
|
|
|
|
ifneq ($(HAVE_STRCASESTR),1)
|
|
notmuch_compat_srcs += $(dir)/strcasestr.c
|
|
endif
|