~ubuntu-branches/ubuntu/intrepid/parted/intrepid

« back to all changes in this revision

Viewing changes to gnulib/m4/math_h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-24 14:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624143105-rd7yw67a9qnvh51i
Tags: 1.8.8.git.2008.03.24-7ubuntu1
* Resynchronise with Debian (LP: #237568). Remaining changes:
  - swap-uuid.dpatch: Create UUIDs on new swap partitions.
  - gptsync.dpatch: On Intel Mac systems, write a synced MBR rather than a
    protective MBR.
  - Add -fno-stack-protector on sparc.
  - sparc-new-label.dpatch: Fix sparc disk label generation. This is
    required for LDOM and parallel installations with Solaris 10.
  - loop-partitions.dpatch: Loop devices can only have one partition, so
    don't generate device names such as "/dev/loop0p1".
  - unpartitioned-disks.dpatch: Don't try to call BLKPG ioctls on
    unpartitionable disks (only implemented for loop devices at the
    moment), as they will always fail.
  - When building with gcc-4.3, add -Wno-array-bounds to CFLAGS.
  - Cell partition tables are misdetected as pc98, so disable pc98 support
    on powerpc.
  - array-bounds.dpatch: Backport patch from git to allow building with
    gcc-4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# math_h.m4 serial 5
 
2
dnl Copyright (C) 2007 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_MATH_H],
 
8
[
 
9
  AC_REQUIRE([gl_MATH_H_DEFAULTS])
 
10
  gl_CHECK_NEXT_HEADERS([math.h])
 
11
])
 
12
 
 
13
AC_DEFUN([gl_MATH_MODULE_INDICATOR],
 
14
[
 
15
  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
 
16
  AC_REQUIRE([gl_MATH_H_DEFAULTS])
 
17
  GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
 
18
])
 
19
 
 
20
AC_DEFUN([gl_MATH_H_DEFAULTS],
 
21
[
 
22
  GNULIB_FREXP=0;   AC_SUBST([GNULIB_FREXP])
 
23
  GNULIB_FREXPL=0;  AC_SUBST([GNULIB_FREXPL])
 
24
  GNULIB_LDEXPL=0;  AC_SUBST([GNULIB_LDEXPL])
 
25
  GNULIB_MATHL=0;   AC_SUBST([GNULIB_MATHL])
 
26
  GNULIB_SIGNBIT=0; AC_SUBST([GNULIB_SIGNBIT])
 
27
  dnl Assume proper GNU behavior unless another module says otherwise.
 
28
  HAVE_DECL_ACOSL=1;  AC_SUBST([HAVE_DECL_ACOSL])
 
29
  HAVE_DECL_ASINL=1;  AC_SUBST([HAVE_DECL_ASINL])
 
30
  HAVE_DECL_ATANL=1;  AC_SUBST([HAVE_DECL_ATANL])
 
31
  HAVE_DECL_CEILL=1;  AC_SUBST([HAVE_DECL_CEILL])
 
32
  HAVE_DECL_COSL=1;   AC_SUBST([HAVE_DECL_COSL])
 
33
  HAVE_DECL_EXPL=1;   AC_SUBST([HAVE_DECL_EXPL])
 
34
  HAVE_DECL_FLOORL=1; AC_SUBST([HAVE_DECL_FLOORL])
 
35
  HAVE_DECL_FREXPL=1; AC_SUBST([HAVE_DECL_FREXPL])
 
36
  HAVE_DECL_LDEXPL=1; AC_SUBST([HAVE_DECL_LDEXPL])
 
37
  HAVE_DECL_LOGL=1;   AC_SUBST([HAVE_DECL_LOGL])
 
38
  HAVE_DECL_SINL=1;   AC_SUBST([HAVE_DECL_SINL])
 
39
  HAVE_DECL_SQRTL=1;  AC_SUBST([HAVE_DECL_SQRTL])
 
40
  HAVE_DECL_TANL=1;   AC_SUBST([HAVE_DECL_TANL])
 
41
  REPLACE_FREXP=0;    AC_SUBST([REPLACE_FREXP])
 
42
  REPLACE_FREXPL=0;   AC_SUBST([REPLACE_FREXPL])
 
43
  REPLACE_LDEXPL=0;   AC_SUBST([REPLACE_LDEXPL])
 
44
  REPLACE_SIGNBIT=0;  AC_SUBST([REPLACE_SIGNBIT])
 
45
])