2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 * Author: Ceriel J.H. Jacobs
8 /* U S E R O P T I O N - H A N D L I N G */
10 /* stripped down version from the one in the Modula-2 compiler */
12 /* $Id: options.c,v 1.6 1994/06/24 12:45:28 ceriel Exp $ */
24 extern char *compiler;
50 { static unsigned int liblen = 0;
51 unsigned int len = strlen(text) + 4;
54 llibs = Realloc(llibs, liblen += len);
57 llibs = Malloc(liblen = len);
60 strcat(llibs,"\\\n\t");
66 Gerror("Unrecognized option: -%s", text-1);
75 register char *new = text;
84 DEFPATH = (char **) Realloc((char *)DEFPATH,
85 (unsigned)(mDEF * sizeof(char *)));
88 for (i = ndirs++; i < nDEF; i++) {
89 char *tmp = DEFPATH[i];