view m4/getsubopt.m4 @ 8057:d5ba49b9b586

* m4/string_h.m4 (gl_STRING_MODULE_INDICATOR): Correct m4 usage bug. * modules/string (Makefile.am): Remove redundant replacement. * modules/regex (Depends-on): Add mempcpy.
author Eric Blake <ebb9@byu.net>
date Thu, 01 Feb 2007 05:01:17 +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], [:])