float_h.m4 590 B

123456789101112131415161718192021
  1. # float_h.m4 serial 6
  2. dnl Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
  3. dnl This file is free software; the Free Software Foundation
  4. dnl gives unlimited permission to copy and/or distribute it,
  5. dnl with or without modifications, as long as this notice is preserved.
  6. AC_DEFUN([gl_FLOAT_H],
  7. [
  8. AC_REQUIRE([AC_PROG_CC])
  9. AC_REQUIRE([AC_CANONICAL_HOST])
  10. FLOAT_H=
  11. case "$host_os" in
  12. beos* | openbsd* | mirbsd*)
  13. FLOAT_H=float.h
  14. gl_NEXT_HEADERS([float.h])
  15. ;;
  16. esac
  17. AC_SUBST([FLOAT_H])
  18. AM_CONDITIONAL([GL_GENERATE_FLOAT_H], [test -n "$FLOAT_H"])
  19. ])