view m4/afs.m4 @ 17921:58c1b50299a6

getopt: give accurate ambiguity diagnostic on mem exhaustion * lib/getopt.c (_getopt_internal_r): The previous commit broke out the loop too early, which could give a false indication of ambiguous options under memory exhaustion.
author Pádraig Brady <P@draigBrady.com>
date Wed, 18 Feb 2015 22:37:31 +0000
parents ab58d4870664
children
line wrap: on
line source

# serial 10

# Copyright (C) 1999-2001, 2004, 2008-2015 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

AC_DEFUN([gl_AFS],
  [
    AC_ARG_WITH([afs],
                AS_HELP_STRING([--with-afs],
                               [support for the Andrew File System [[default=no]]]),
    test "$withval" = no || with_afs=yes, with_afs=no)
    if test "$with_afs" = yes; then
      AC_DEFINE([AFS], [1], [Define if you have the Andrew File System.])
    fi
  ])