Work around environments that (stupidly) ignore SIGALRM.
authorEric Blake <ebb9@byu.net>
Mon, 9 Jun 2008 22:21:34 +0000 (16:21 -0600)
committerEric Blake <ebb9@byu.net>
Mon, 9 Jun 2008 22:21:34 +0000 (16:21 -0600)
commit5c89085f979329a97768dc096b1303942b062958
treecf4d066bbde44976e138eb0c3ea513f0dda8c152
parentbede52934556196b082508b76eb295ab3f857fae
Work around environments that (stupidly) ignore SIGALRM.

* m4/strstr.m4 (gl_FUNC_STRSTR): Reset SIGALRM to default handling
before using alarm().
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise.
* m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise.
Reported by Ian Beckwith <ianb@erislabs.net>.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
m4/memmem.m4
m4/strcasestr.m4
m4/strstr.m4