view modules/posix-shell @ 16498:e04c5a489c44

remainderf-ieee: Work around test failure on OSF/1. * m4/remainderf-ieee.m4: New file. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is present, test whether remainderf works with a zero second argument. Replace it if not. * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF. * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF. * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF. (Depends-on): Update conditions. * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4. (Depends-on): Add remainder-ieee. (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE. * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 19:33:31 +0100
parents 5c14f373b379
children
line wrap: on
line source

Description:
Find a POSIX-conforming shell.

Files:
m4/posix-shell.m4

Depends-on:

configure.ac:
gl_POSIX_SHELL

Makefile.am:
##Sample usage of posix-shell module:
#script: script.in
#	rm -f $@-t $@
#	sed -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \
#	    -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \
#	    -e $(srcdir)/$@.in >$@-t
#	chmod a+x $@-t
#	mv $@-t $@
#EXTRA_DIST += script.in
#MOSTLYCLEANFILES += script script-t

Include:

License:
GPLed build tool

Maintainer:
Paul Eggert