Jim Meyering
9d6231ef2a
maint: update all copyright year number ranges
...
Run "make update-copyright".
2011-01-01 22:16:47 +01:00
Jim Meyering
1aa17dc89b
maint: update all FSF copyright year lists to include 2010
...
Use this command:
git ls-files | grep -v COPYING \
| xargs env UPDATE_COPYRIGHT_USE_INTERVALS=1 \
build-aux/update-copyright
2010-01-01 14:06:47 +01:00
Jim Meyering
2fa407885c
build: don't let environment settings perturb build
...
Setting the envvars, LIB_FDATASYNC, LIB_XATTR or LIB_CRYPT
could cause a configure-time and/or build-time malfunction.
Typically, a configure-time function-in-library test is performed
via code like this:
LIB_VAR=
AC_SUBST([LIB_VAR])
prefix_saved_LIBS=$LIBS
AC_SEARCH_LIBS([FUNC], [LIB_NAME],
[test "$ac_cv_search_FUNC" = "none required" ||
LIB_VAR=$ac_cv_search_FUNC])
LIBS=$prefix_saved_LIBS
However, in each of the files affected by this change, the LIB_VAR=
initialization was omitted. Thus, when set in the environment, its
value would propagate into generated Makefiles when FUNC is not found
in LIB_NAME.
* m4/jm-macros.m4 (coreutils_MACROS): Initialize AC_SUBST'd var
* m4/lib-check.m4 (cu_LIB_CHECK): Likewise.
* m4/xattr.m4 (gl_FUNC_XATTR): Likewise.
2009-10-15 21:03:40 +02:00
Jim Meyering
5e778f7c8d
global: convert indentation-TABs to spaces
...
Transformed via this shell code:
t=$'\t'
git ls-files \
| grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
| grep -vE 'tests/pr/|help2man' \
| xargs grep -lE "^ *$t" \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
2009-08-25 09:21:00 +02:00
Jim Meyering
e40c5f735c
maint: make update-copyright work in yet another case
...
* build-aux/update-copyright: Handle the case in which "\n#"
appears between the final year number and the copyright holder name.
* m4/lib-check.m4: Update copyright year list.
Reported by Joel E. Denny.
2009-07-29 15:39:25 +02:00
Jim Meyering
7fc5292a29
improve M4 quoting
...
* configure.ac: Add quotes.
* gl/m4/mgetgroups.m4 (gl_MGETGROUPS): Likewise.
* m4/boottime.m4 (GNULIB_BOOT_TIME): Likewise.
* m4/check-decl.m4 (gl_CHECK_DECLS): Likewise.
* m4/gmp.m4 (cu_GMP): Likewise.
* m4/jm-macros.m4 (coreutils_MACROS, gl_CHECK_ALL_HEADERS): Likewise.
(gl_CHECK_ALL_TYPES): Likewise.
* m4/lib-check.m4 (cu_LIB_CHECK): Likewise.
* m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Likewise.
FYI, I first ran this command:
git ls-files | grep -E '\.(m4|ac)$' | xargs perl -pi \
-e 's/(AC_[A-Z_]+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \
-e 's/(AC_[A-Z_]+\(\[[^,]+?\], )([^,[()]+?)([,)])/$1\[$2]$3/g;' \
-e 's/(AC_[A-Z_]+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g'
Then I updated serial numbers and copyright dates manually.
Also, I manually added two pairs of quotes in boottime.m4.
2009-01-01 02:15:07 +01:00
Jim Meyering
71aa3ea880
Update all copyright notices to use the newer form.
2007-07-23 14:35:58 +02:00
Jim Meyering
33342c1a0a
Change "version 2" to "version 3" in all copyright notices.
2007-07-10 13:35:56 +02:00
Paul Eggert
6b2cf24aac
(cu_LIB_CHECK): Remuve SEQ_LIBM, since seq no longer
...
needs -lm directly.
2006-07-01 00:08:31 +00:00
Paul Eggert
9cfc51e083
Remove FESETROUND_LIBM; no longer needed.
2005-07-14 00:03:08 +00:00
Paul Eggert
58d6230525
lib-check.m4: Add copyright notice.
...
(cu_LIB_CHECK): Renamed from gl_LIB_CHECK.
Don't check for sqrt; factor no longer needs it.
Revamp tests for floor, modf, rint, to define SEQ_LIBM.
Redo tests for fesetround to act like the other wons.
Use "cu_saved_libs" for local var name, not "ac_su_saved_lib".
2005-05-18 19:31:20 +00:00
Jim Meyering
72002f81e3
Change jm_' in AC_DEFINE'd names to gl_'. Update all uses.
2004-04-13 15:28:45 +00:00
Jim Meyering
31361deb52
(jm_LIB_CHECK): Do not set LIB_CRYPT to the
...
value, $ac_cv_search_crypt, if it's "none required".
2003-12-20 16:51:51 +00:00
Jim Meyering
1f295ae62d
Quote the first argument in each use of AC_DEFUN.
2001-08-12 13:26:00 +00:00
Jim Meyering
429093f9ad
(jm_LIB_CHECK): Use []-quoted list in
...
AC_CHECK_MEMBERS, now that autoconf requires that.
2000-05-24 07:49:09 +00:00
Jim Meyering
5d65fd5e99
su doesn't work on Solaris2.6.
...
When checking for struct spwd.sp_pwdp, also include
<shadow.h>. Reported by Dragos Harabor.
2000-05-05 11:39:25 +00:00
Jim Meyering
a63b8f03f4
Look for getspnam in -lgen, too.
2000-03-10 09:08:53 +00:00
Jim Meyering
40a4ab97fe
(jm_LIB_CHECK): Fix typo: check for sp_pwdp in
...
struct spwd, rather than in struct passwd. Reported by G. Queri.
2000-02-09 11:57:55 +00:00
Jim Meyering
c453666c3a
use double parens on AC_CHECK_MEMBERS
2000-01-30 21:19:00 +00:00
Jim Meyering
fd3817b9dc
Clean up some kludgy old shadow password tests.
2000-01-30 16:48:19 +00:00
Jim Meyering
7a4fca9d77
whoops: s/jm_MACROS/jm_LIB_CHECK/
2000-01-29 17:05:03 +00:00
Jim Meyering
e446ebf6c3
New file containing library-related checks from
...
fileutils and sh-utils (textutils had none).
2000-01-29 14:11:35 +00:00