~ubuntu-branches/debian/experimental/parted/experimental

« back to all changes in this revision

Viewing changes to gnulib/m4/absolute-header.m4

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador, Otavio Salvador, Colin Watson, Xavier Oswald, Xavier Oswald, Colin Watson
  • Date: 2010-02-06 16:39:19 UTC
  • mfrom: (1.1.4 upstream) (7.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100206163919-rt7jssmitulmp010
Tags: 2.1-1
* New upstream release

[ Otavio Salvador ]
* control.in: bump preferred soname for libreadline (closes: #553824).

[ Colin Watson ]
* control.in: Remove copy-and-paste error from libparted1.8-i18n
  description (closes: #497626).
* copyright: Document parted.info's licence, namely GFDL 1.1 with no
  invariant sections, front-cover texts, or back-cover texts (closes:
  #500201).
* rules: Cell partition tables are misdetected as pc98, so disable pc98
  support on powerpc (closes: #487833).
* control.in: Don't build-depend on libdevmapper-dev on hurd-i386.
* control.in: Build-depend on libdevmapper-dev (>= 1.02.33), for
  dm_task_set_major_minor.

[ Xavier Oswald ]
* debian/control.in: 
  - Change my mail address
  - Bump Standards-Version to 3.8.3
  - Update Build-Depends on debhelper 7
* debian/compat: update version to 7
* Parted not informing the kernel of changes to the partition table 
  (Closes: #557044), fixed upstream

[ Otavio Salvador ]
* debian/watch: fix URL to download
* Switch to quilt to manage patches
  - unpartitioned-disks.dpatch, drop (merged upstream)
  - unblacklist-md.dpatch, drop (merged upstream)
  - amiga-raid-lvm-fix.dpatch, drop (not used for ages)
  - devfs.dpatch, drop (devfs is not used)
  - reiserfs-libname.dpatch, drop (referenced library is unavailable)

[ Xavier Oswald, Colin Watson ]
* Refresh update-ext4-code.patch

[ Otavio Salvador ]
* Fix parted-doc info files installation
* Add lintian overrides for parted package
* Use soname in libparted udeb name

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# absolute-header.m4 serial 7
2
 
dnl Copyright (C) 2006, 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
 
dnl From Derek Price.
8
 
 
9
 
# gl_ABSOLUTE_HEADER(HEADER1 HEADER2 ...)
10
 
# ---------------------------------------
11
 
# Find the absolute name of a header file, assuming the header exists.
12
 
# If the header were sys/inttypes.h, this macro would define
13
 
# ABSOLUTE_SYS_INTTYPES_H to the `""' quoted absolute name of sys/inttypes.h
14
 
# in config.h
15
 
# (e.g. `#define ABSOLUTE_SYS_INTTYPES_H "///usr/include/sys/inttypes.h"').
16
 
# The three "///" are to pacify Sun C 5.8, which otherwise would say
17
 
# "warning: #include of /usr/include/... may be non-portable".
18
 
# Use `""', not `<>', so that the /// cannot be confused with a C99 comment.
19
 
AC_DEFUN([gl_ABSOLUTE_HEADER],
20
 
[AC_LANG_PREPROC_REQUIRE()dnl
21
 
AC_FOREACH([gl_HEADER_NAME], [$1],
22
 
  [AS_VAR_PUSHDEF([gl_absolute_header],
23
 
                  [gl_cv_absolute_]m4_quote(m4_defn([gl_HEADER_NAME])))dnl
24
 
  AC_CACHE_CHECK([absolute name of <]m4_quote(m4_defn([gl_HEADER_NAME]))[>],
25
 
    m4_quote(m4_defn([gl_absolute_header])),
26
 
    [AS_VAR_PUSHDEF([ac_header_exists],
27
 
                    [ac_cv_header_]m4_quote(m4_defn([gl_HEADER_NAME])))dnl
28
 
    AC_CHECK_HEADERS_ONCE(m4_quote(m4_defn([gl_HEADER_NAME])))dnl
29
 
    if test AS_VAR_GET(ac_header_exists) = yes; then
30
 
      AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]])])
31
 
dnl eval is necessary to expand ac_cpp.
32
 
dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
33
 
      AS_VAR_SET(gl_absolute_header,
34
 
[`(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
35
 
sed -n '\#/]m4_quote(m4_defn([gl_HEADER_NAME]))[#{
36
 
        s#.*"\(.*/]m4_quote(m4_defn([gl_HEADER_NAME]))[\)".*#\1#
37
 
        s#^/[^/]#//&#
38
 
        p
39
 
        q
40
 
}'`])
41
 
    fi
42
 
    AS_VAR_POPDEF([ac_header_exists])dnl
43
 
    ])dnl
44
 
  AC_DEFINE_UNQUOTED(AS_TR_CPP([ABSOLUTE_]m4_quote(m4_defn([gl_HEADER_NAME]))),
45
 
                     ["AS_VAR_GET(gl_absolute_header)"],
46
 
                     [Define this to an absolute name of <]m4_quote(m4_defn([gl_HEADER_NAME]))[>.])
47
 
  AS_VAR_POPDEF([gl_absolute_header])dnl
48
 
])dnl
49
 
])# gl_ABSOLUTE_HEADER