~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/extensions.m4

  • Committer: Monty Taylor
  • Date: 2009-04-18 05:26:04 UTC
  • mto: (997.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 1003.
  • Revision ID: mordred@inaugust.com-20090418052604-wjog6lrqdsc83tdi
Updated gnulib files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# serial 5  -*- Autoconf -*-
 
1
# serial 6  -*- Autoconf -*-
2
2
# Enable extensions on systems that normally disable them.
3
3
 
4
4
# Copyright (C) 2003, 2006-2008 Free Software Foundation, Inc.
24
24
[AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
25
25
AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
26
26
 
 
27
  AC_REQUIRE([AC_CANONICAL_HOST])
 
28
 
27
29
  AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=])
28
30
  if test "$MINIX" = yes; then
29
31
    AC_DEFINE([_POSIX_SOURCE], [1],
36
38
      [Define to 1 if on MINIX.])
37
39
  fi
38
40
 
 
41
  dnl HP-UX 11.11 defines mbstate_t only if _XOPEN_SOURCE is defined to 500,
 
42
  dnl regardless of whether the flags -Ae or _D_HPUX_SOURCE=1 are already
 
43
  dnl provided.
 
44
  case "$host_os" in
 
45
    hpux*)
 
46
      AC_DEFINE([_XOPEN_SOURCE], [500],
 
47
        [Define to 500 only on HP-UX.])
 
48
      ;;
 
49
  esac
 
50
 
39
51
  AH_VERBATIM([__EXTENSIONS__],
40
52
[/* Enable extensions on AIX 3, Interix.  */
41
53
#ifndef _ALL_SOURCE