diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-21 02:21:30 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:15 +0200 |
commit | ba07288e32b07a98c79f8812eed7e03daa5b7f26 (patch) | |
tree | 7551c0ed21854b8b64522063021c9974e60be82e /modules/isnanf | |
parent | ceca6f59a7a33a33572cca9df5105f62506044a6 (diff) | |
download | gnulib-ba07288e32b07a98c79f8812eed7e03daa5b7f26.tar.gz |
isnan: Respect rules for use of AC_LIBOBJ.
* m4/isnan.m4 (gl_ISNAN): Don't do the AC_LIBOBJ and gl_PREREQ_ISNAN*
invocations here.
* modules/isnanf (configure.ac): Require gl_ISNAN if it exists. Test
REPLACE_ISNAN.
* modules/isnand (configure.ac): Likewise.
* modules/isnanl (configure.ac): Likewise.
Diffstat (limited to 'modules/isnanf')
-rw-r--r-- | modules/isnanf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/isnanf b/modules/isnanf index a04a8b364a..8b9e3a1388 100644 --- a/modules/isnanf +++ b/modules/isnanf @@ -15,7 +15,10 @@ memcmp configure.ac: gl_FUNC_ISNANF -if test $HAVE_ISNANF = 0; then +m4_ifdef([gl_ISNAN], [ + AC_REQUIRE([gl_ISNAN]) +]) +if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then AC_LIBOBJ([isnanf]) gl_PREREQ_ISNANF fi |