mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Use musl getopt implementation.
LICENSE:
Mention files derived from musl library.
runtime/process_getopt:
Process files from ../getopt/*.[ch] to produce
mercury_getopt.h, mercury_getopt.c, mercury_getopt_long.c.
runtime/mercury_getopt.h:
runtime/mercury_getopt.c:
runtime/mercury_getopt_long.c:
Add files generated by process_getopt.
runtime/Mmakefile:
Update list of source files.
util/Mmakefile:
Use musl getopt if the system C library does not have getopt().
tests/debugger/browser_test.exp:
tests/debugger/browser_test.exp2:
tests/debugger/browser_test.exp3:
tests/hard_coded/runtime_opt.exp:
Update expected error messages to match new getopt() output.
changed exp output
This commit is contained in:
6
LICENSE
6
LICENSE
@@ -27,6 +27,12 @@ entirety.
|
||||
|
||||
--------
|
||||
|
||||
The files in the `getopt' directory, as well as runtime/mercury_getopt.c,
|
||||
runtime/mercury_getopt_long.c and runtime/mercury_getopt.h, are derived
|
||||
from the musl library. See the files for copyright information.
|
||||
|
||||
--------
|
||||
|
||||
A few files (config.guess, config.sub) are derived from code that is
|
||||
copyright by the Free Software Foundation, Inc, and are distributed
|
||||
under the GNU General Public License version 2.
|
||||
|
||||
Reference in New Issue
Block a user