CVS update: /ccvs/m4/
[email protected] 28 May 2005 17:38:35 -0000
| Newsgroups | gmane.comp.version-control.cvs.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dprice Date: 05/05/28 10:38:35 Modified: /ccvs/m4/ ChangeLog, glob.m4 Log: * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/. Add comment. File Changes: Directory: /ccvs/m4/ ==================== File [changed]: ChangeLog Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/ChangeLog?r1=1.132&r2=1.133 Delta lines: +4 -0 ------------------- --- ChangeLog 25 May 2005 19:52:31 -0000 1.132 +++ ChangeLog 28 May 2005 17:38:33 -0000 1.133 @@ -1,3 +1,7 @@ +2005-05-28 Derek Price <[email protected]> + + * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/. Add comment. + 2005-05-25 Derek Price <[email protected]> * glob.m4: Don't cater to Solaris here... File [changed]: glob.m4 Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/glob.m4?r1=1.9&r2=1.10 Delta lines: +8 -1 ------------------- --- glob.m4 25 May 2005 19:52:31 -0000 1.9 +++ glob.m4 28 May 2005 17:38:33 -0000 1.10 @@ -43,8 +43,15 @@ AC_CHECK_HEADERS_ONCE([sys/cdefs.h unistd.h])dnl AC_CHECK_FUNCS_ONCE([getlogin_r getpwnam_r])dnl AC_CHECK_HEADERS([sys/cdefs.h], [SYS_CDEFS_H=yes], [SYS_CDEFS_H=no]) + + dnl Note the reversal of the common HAVE_SYS_CDEFS_H idiom below. In this + dnl way, #ifndef _SYS_CDEFS_H may be used to include <sys/cdefs.h> both when + dnl it has been checked for via the GNULIB configure test and found and when + dnl it has not been checked for, which we can presume means that the <glob.h> + dnl GNULIB shares with GLIBC is being included as a system header and not as + dnl part of GNULIB, in which case <sys/cdefs.h> may be assumed. if test $SYS_CDEFS_H = no; then - AC_DEFINE(MISSING_SYS_CDEFS_H, 1, + AC_DEFINE(_SYS_CDEFS_H, 1, [Define to `1' if <sys/cdefs.h> is *not* available on this system.]) fi :])