Convert coreutils' rand*.{c,h,m4} into modules.
authorJim Meyering <meyering@redhat.com>
Sat, 1 Sep 2007 07:54:45 +0000 (09:54 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 7 Oct 2007 17:43:35 +0000 (19:43 +0200)
commit58a7ead41d056909784bfab9323c5f44f577d3d0
treeea0f1849f46529be4cac93d09f1b4f6f85f53255
parent696f4a8042e11f6caf479f729b09dcae2700e541
Convert coreutils' rand*.{c,h,m4} into modules.

First step: move these files to gl/lib:
* lib/rand-isaac.c, lib/rand-isaac.h
* lib/randint.c, lib/randint.h
* lib/randperm.c, lib/randperm.h
* lib/randread.c, lib/randread.h

Step 2: add modules/rand* and remove now-unneeded .m4 files.
* gl/modules/randint: New file.
* gl/modules/randperm: New file.
* gl/modules/randread: New file.
* m4/randint.m4: Remove file.
* m4/randperm.m4: Remove file.
* m4/randread.m4: Remove file.

Step 3: use the new modules
* bootstrap.conf (gnulib_modules): Add randint and randperm.
* m4/prereq.m4 (gl_RANDINT, gl_RANDREAD, gl_RANDPERM): Don't require;
These have been removed.
(gl_ROOT_DEV_INO): Don't require; already handled via bootstrap.conf.
17 files changed:
ChangeLog
bootstrap.conf
gl/lib/rand-isaac.c [moved from lib/rand-isaac.c with 100% similarity]
gl/lib/rand-isaac.h [moved from lib/rand-isaac.h with 100% similarity]
gl/lib/randint.c [moved from lib/randint.c with 100% similarity]
gl/lib/randint.h [moved from lib/randint.h with 100% similarity]
gl/lib/randperm.c [moved from lib/randperm.c with 100% similarity]
gl/lib/randperm.h [moved from lib/randperm.h with 100% similarity]
gl/lib/randread.c [moved from lib/randread.c with 100% similarity]
gl/lib/randread.h [moved from lib/randread.h with 100% similarity]
gl/modules/randint [new file with mode: 0644]
gl/modules/randperm [new file with mode: 0644]
gl/modules/randread [new file with mode: 0644]
m4/prereq.m4
m4/randint.m4 [deleted file]
m4/randperm.m4 [deleted file]
m4/randread.m4 [deleted file]