~ubuntu-branches/ubuntu/vivid/gzip/vivid

« back to all changes in this revision

Viewing changes to m4/float_h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-10-19 11:42:42 UTC
  • mfrom: (4.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20111019114242-d8wiiu8kbvdtgmgj
Tags: 1.4-1ubuntu1
* Merge with Debian testing.  Remaining Ubuntu changes:
  - debian/{control,rules}: Remove the Win32 build and mingw64
    build-dependency, since mingw is in universe, and will remain so for
    the forseeable future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# float_h.m4 serial 3
 
2
dnl Copyright (C) 2007, 2009, 2010 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
 
 
7
AC_DEFUN([gl_FLOAT_H],
 
8
[
 
9
  AC_REQUIRE([AC_PROG_CC])
 
10
  AC_REQUIRE([AC_CANONICAL_HOST])
 
11
  FLOAT_H=
 
12
  case "$host_os" in
 
13
    beos* | openbsd*)
 
14
      FLOAT_H=float.h
 
15
      gl_CHECK_NEXT_HEADERS([float.h])
 
16
      ;;
 
17
  esac
 
18
  AC_SUBST([FLOAT_H])
 
19
])