summaryrefslogtreecommitdiff
path: root/gl
Commit message (Collapse)AuthorAgeFilesLines
* Use MK_OS_DOS macro instead of __MSDOS__Paul Smith2023-01-161-6/+6
| | | | | | * src/configh.dos: Set MK_OS_DOS to 1 * src/*: Convert #if refs to __MSDOS__, to use MK_OS_DOS. * gl/lib/*: Ditto.
* Rename WINDOWS32 macro to MK_OS_W32Paul Smith2023-01-151-14/+14
| | | | | | | | | | * configure.ac: Set MK_OS_W32 to 1 if we're on Windows32. * src/config.h.W32: Ditto. * mk/Windows32.mk: Ditto. * src/makeint.h: Convert #if refs to WINDOWS32, to use MK_OS_W32. * src/*: Ditto. * src/w32/*: Ditto. * gl/lib/*: Ditto.
* Rename VMS macro to MK_OS_VMSPaul Smith2023-01-152-11/+11
| | | | | | * src/makeint.h: Set MK_OS_VMS to 1 if we're on VMS. * src/*: Convert all #if references to VMS, to use MK_OS_VMS. * gl/lib/*: Ditto.
* * gl/modules/make-glob: Avoid glibc glob if bug #866 is presentPaul Smith2023-02-191-15/+53
|
* * gl/lib/glob.c: Don't try to support _LIBC, don't use __stat()Paul Smith2023-01-071-35/+15
|
* Update ancient glob/fnmatch implementationsPaul Smith2023-01-024-281/+86
| | | | | | | | | | | | | | | | | | | | | | | | I looked again at trying to use the latest gnulib implemenentations of GNU glob and fnmatch, and the effort required to extract them from gnulib and make them portable to systems which don't support configure is simply far too daunting for me. However it's clear that the previous implementations are growing too long on the tooth to continue to be used without some maintenance, so perform some upkeep on them. - Remove support for pre-ANSI function definitions. - Remove the obsolete "register" keyword. - Assume standard ISO C90/C99 header file support. - Assume standard ISO C "void" and "const" support. - Avoid symbols prefixed with "__" as they're reserved. * maintMakefile: Add a rule to verify lib has the latest content. * src/dir.c: Use void* not __ptr_t which was removed. * gl/lib/glob.c: See above. * gl/lib/fnmatch.in.h: See above. * gl/lib/glob.in.h: See above. * gl/lib/fnmatch.c: See above. Remove __strchrnul(): it is not checked anywhere and is only used in one place anyway.
* Convert references from "GNU make" to "GNU Make"Paul Smith2023-01-014-19/+19
|
* Update the copyright year on all filesPaul Smith2023-01-013-4/+4
|
* Update URLs to use https rather than httpPaul Smith2022-10-182-2/+2
| | | | | * (all): Change http:// to https:// * README.W32: Remove invalid link to mingw.org.
* Merge in the latest gnulib findprog-in modulePaul Smith2022-07-091-0/+28
|\
| * Add gnulib findprog-inPaul Smith2022-07-071-0/+34
| |
* | Merge in the latest gnulib concat-filename modulePaul Smith2022-07-091-0/+24
|\ \ | |/
| * Add gnulib concat-filenamePaul Smith2022-07-071-0/+26
| |
* | Merge in the latest gnulib getloadavg modulePaul Smith2022-07-092-0/+256
|\ \ | |/
| * Add gnulib getloadavgPaul Smith2022-07-072-0/+200
| |
* | Initial merge of the gnulib-port branchPaul Smith2022-07-092-0/+75
|\ \ | |/
| * Initial gnulib-port branch commitPaul Smith2022-07-072-0/+75
|
* Move our local m4 macros to gl/m4Paul Smith2022-07-093-0/+181
| | | | | | | | | | | The gl subdirectory contains our local versions of gnulib module implementations, so move m4/acinclude.m4 and m4/dospaths.m4 there. * gl/modules/make-macros: Create a new module to handle the macros. * bootstrap.conf: Add the new module. * configure.ac: Macro invocation is moved to make-macros. * m4/.gitignore: Delete unnecessary ignore file: m4 is empty. * .gitignore: Add m4/ as an ignored directory.
* Move our fnmatch/glob implementation into gl/libPaul Smith2022-07-095-2/+2226
| | | | | | | | | The gl subdirectory contains our local versions of gnulib module implementations, so move fnmatch* and glob* from lib to gl/lib. * gl/modules/make-glob: Add a proper Files: section. * lib/.gitignore: Delete unnecessary ignore file: lib is empty. * .gitignore: Add lib/ as an ignored directory.
* * gl/modules/make-glob: Move local glob configure.ac to herePaul Smith2019-09-081-0/+27
| | | | * configure.ac: from here.
* Convert GNU make to use the gnulib portability libraryPaul Smith2018-07-021-0/+44
Move content from glob/* and config/* into standard GNU directory locations lib/* and m4/*. Install the gnulib bootstrap script and its configuration file, and create a bootstrap.bat file for Windows. Update the README.git file with new requirements and instructions for building from Git. At this point we only install the alloca, getloadavg, and FDL modules from gnulib. We keep our old glob/fnmatch implementation since the gnulib versions require significant amounts of infrastructure which doesn't exist on Windows yet. Further work is required here. Due to a problem with gnulib's version of getloadavg, we need to bump the minimum required version of automake to 1.16.1 unfortunately. * README.git: Update instructions * NEWS: Move developer news to a separate section * configure.ac: Update for use with gnulib modules * bootstrap: Bootstrap from Git workspace (import from gnulib) * bootstrap.conf: Bootstrap configuration for GNU make * bootstrap.bat: Bootstrap from Git workspace for Windows * gl/modules/make-glob: Support our local fnmatch/glob implementation * config/acinclude.m4: Move to m4/ * config/dospaths.m4: Move to m4/ * glob/fnmatch.c: Move to lib/ * glob/fnmatch.h.in: Move to lib/ * glob/glob.c: Move to lib/ * glob/glob.h.in: Move to lib/ * Makefile.am: Update for new directories * build.template: Update for new directories * build_w32.bat: Update for new directories * builddos.bat: Update for new directories * maintMakefile: Update for new directories * makefile.com: Update for new directories * mk/Amiga.mk: Update for new directories * mk/Posix.mk.in: Update for new directories * mk/VMS.mk: Update for new directories * mk/Windows32.mk: Update for new directories * mk/msdosdjgpp.mk: Update for new directories * po/LINGUAS: One language per line (needed by gnulib) * INSTALL: Remove (obtained from gnulib) * src/alloca.c: Remove (obtained from gnulib) * src/getloadavg.c: Remove (obtained from gnulib) * po/Makevars: Remove (created by bootstrap) * config/*: Remove leftover files * glob/*: Remove leftover files