view m4/getsubopt.m4 @ 6479:913b40e88d1a

Update
author Sergey Poznyakoff <gray@gnu.org.ua>
date Fri, 09 Dec 2005 12:34:04 +0000
parents 87c42e194f4a
children d84ab7c183f4
line wrap: on
line source

# getsubopt.m4 serial 2
dnl Copyright (C) 2004 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_FUNC_GETSUBOPT],
[
  dnl Persuade glibc <stdlib.h> to declare getsubopt().
  AC_REQUIRE([AC_GNU_SOURCE])

  AC_REPLACE_FUNCS(getsubopt)
  if test $ac_cv_func_getsubopt = no; then
    gl_PREREQ_GETSUBOPT
  fi
])

# Prerequisites of lib/getsubopt.c.
AC_DEFUN([gl_PREREQ_GETSUBOPT], [:])