X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fposixver.m4;h=4f818ed036627b9b2213b283112218b41bb9d8f0;hb=5ff811558adf7013f9fd9109fa794dd4e5ee8c91;hp=838441a49f716325de2c3507f0c865897cf1552b;hpb=7c3f8da8f075e3813ced160d5b53a28c6f7dfe78;p=gnulib.git diff --git a/m4/posixver.m4 b/m4/posixver.m4 index 838441a49..4f818ed03 100644 --- a/m4/posixver.m4 +++ b/m4/posixver.m4 @@ -1,12 +1,11 @@ -# posixver.m4 serial 7 -dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# posixver.m4 serial 10 +dnl Copyright (C) 2002-2006, 2009 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_POSIXVER], [ - AC_LIBSOURCES([posixver.c, posixver.h]) AC_LIBOBJ([posixver]) AC_REQUIRE([gl_DEFAULT_POSIX2_VERSION]) @@ -15,7 +14,7 @@ AC_DEFUN([gl_POSIXVER], # Set the default level of POSIX conformance at configure-time. # Build with `./configure DEFAULT_POSIX2_VERSION=199209 ...' to # support the older version, thus preserving portability with -# scripts that use sort +1, tail +32, head -1, etc. +# scripts that use sort +1, tail +32, etc. # Note however, that this breaks tools that might run commands # like `sort +some-file' that conform with the newer standard. AC_DEFUN([gl_DEFAULT_POSIX2_VERSION], @@ -24,7 +23,7 @@ AC_DEFUN([gl_DEFAULT_POSIX2_VERSION], gl_default_posix2_version=none-specified if test -n "$ac_cv_env_DEFAULT_POSIX2_VERSION_set"; then gl_default_posix2_version=$ac_cv_env_DEFAULT_POSIX2_VERSION_value - AC_DEFINE_UNQUOTED(DEFAULT_POSIX2_VERSION, + AC_DEFINE_UNQUOTED([DEFAULT_POSIX2_VERSION], $gl_default_posix2_version, [Define the default level of POSIX conformance. The value is of the form YYYYMM, specifying the year and month the standard was @@ -39,7 +38,7 @@ AC_DEFUN([gl_DEFAULT_POSIX2_VERSION], overridden at run time via the _POSIX2_VERSION environment variable.]) fi - AC_MSG_RESULT($gl_default_posix2_version) + AC_MSG_RESULT([$gl_default_posix2_version]) AC_ARG_VAR( [DEFAULT_POSIX2_VERSION], [POSIX version to default to; see 'config.hin'.])