~ubuntu-branches/ubuntu/lucid/mpop/lucid

« back to all changes in this revision

Viewing changes to gnulib/m4/sys_select_h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Julien Louis
  • Date: 2006-09-25 01:22:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060925012208-fy8x31diroe47syg
Tags: upstream-1.0.3
ImportĀ upstreamĀ versionĀ 1.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# sys_select_h.m4 serial 1
 
2
dnl Copyright (C) 2006 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 Adapted from arpa_inet.m4, written by Simon Josefsson.
 
8
 
 
9
AC_DEFUN([gl_HEADER_SYS_SELECT],
 
10
[
 
11
  AC_CHECK_HEADERS_ONCE([sys/select.h])
 
12
  if test $ac_cv_header_sys_select_h = yes; then
 
13
    SYS_SELECT_H=''
 
14
  else
 
15
    SYS_SELECT_H='sys/select.h'
 
16
  fi
 
17
  AC_SUBST(SYS_SELECT_H)
 
18
])