view m4/afs.m4 @ 15009:2917eb19f982

truncl: Move AC_LIBOBJ invocations to module description. * m4/truncl.m4 (gl_FUNC_TRUNCL): Move AC_LIBOBJ invocation from here... * modules/truncl (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 11:32:55 +0200
parents 97fc9a21a8fb
children 8250f2777afc
line wrap: on
line source

# serial 10

# Copyright (C) 1999-2001, 2004, 2008-2011 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
  ])