summaryrefslogtreecommitdiff
path: root/m4/lib-check.m4
AgeCommit message (Collapse)Author
2011-01-01maint: update all copyright year number rangesJim Meyering
Run "make update-copyright".
2010-01-01maint: update all FSF copyright year lists to include 2010Jim Meyering
Use this command: git ls-files | grep -v COPYING \ | xargs env UPDATE_COPYRIGHT_USE_INTERVALS=1 \ build-aux/update-copyright
2009-10-15build: don't let environment settings perturb buildJim Meyering
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-08-25global: convert indentation-TABs to spacesJim Meyering
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-07-29maint: make update-copyright work in yet another caseJim Meyering
* 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-01-01improve M4 quotingJim Meyering
* 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.
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2006-07-01(cu_LIB_CHECK): Remuve SEQ_LIBM, since seq no longerPaul Eggert
needs -lm directly.
2005-07-14Remove FESETROUND_LIBM; no longer needed.Paul Eggert
2005-05-18lib-check.m4: Add copyright notice.Paul Eggert
(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".
2004-04-13Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.Jim Meyering
2003-12-20(jm_LIB_CHECK): Do not set LIB_CRYPT to theJim Meyering
value, $ac_cv_search_crypt, if it's "none required".
2001-08-12Quote the first argument in each use of AC_DEFUN.Jim Meyering
2000-05-24(jm_LIB_CHECK): Use []-quoted list inJim Meyering
AC_CHECK_MEMBERS, now that autoconf requires that.
2000-05-05su doesn't work on Solaris2.6.Jim Meyering
When checking for struct spwd.sp_pwdp, also include <shadow.h>. Reported by Dragos Harabor.
2000-03-10Look for getspnam in -lgen, too.Jim Meyering
2000-02-09(jm_LIB_CHECK): Fix typo: check for sp_pwdp inJim Meyering
struct spwd, rather than in struct passwd. Reported by G. Queri.
2000-01-30use double parens on AC_CHECK_MEMBERSJim Meyering
2000-01-30Clean up some kludgy old shadow password tests.Jim Meyering
2000-01-29whoops: s/jm_MACROS/jm_LIB_CHECK/Jim Meyering
2000-01-29New file containing library-related checks fromJim Meyering
fileutils and sh-utils (textutils had none).