X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Flink-follow.m4;h=813369b00883d3fb3959830f4f170b765665cc1b;hb=5cc13c0f36d18dd428c7cceebd30ff8de6e2ff1e;hp=d61a0e0721e2aab3299acc4d163a3778c46b994d;hpb=fa6276d1f0dd6997441ac88142d22c2dfe04c20a;p=gnulib.git diff --git a/m4/link-follow.m4 b/m4/link-follow.m4 index d61a0e072..813369b00 100644 --- a/m4/link-follow.m4 +++ b/m4/link-follow.m4 @@ -1,10 +1,16 @@ -#serial 1 +#serial 5 dnl Run a program to determine whether whether link(2) follows symlinks. dnl Set LINK_FOLLOWS_SYMLINKS accordingly. -AC_DEFUN(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK, +# Copyright (C) 1999, 2000, 2001, 2004 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_AC_FUNC_LINK_FOLLOWS_SYMLINK], [dnl - AC_CACHE_CHECK([whether link(2) follows symlinks], + AC_CACHE_CHECK( + [whether link(2) dereferences a symlink specified with a trailing slash], jm_ac_cv_func_link_follows_symlink, [ dnl poor-man's AC_REQUIRE: FIXME: repair this once autoconf-3 provides