23 |
|
int argc; |
24 |
|
char *argv[]; |
25 |
|
{ |
26 |
– |
#if UNIX || MAC |
26 |
|
char *getenv(); |
28 |
– |
#endif |
27 |
|
int i, file0; |
28 |
|
|
31 |
– |
#ifdef CPM |
32 |
– |
fixargs("dgraph", &argc, &argv); |
29 |
|
progname = argv[0]; |
34 |
– |
libpath[0] = ""; |
35 |
– |
libpath[1] = "0/"; |
36 |
– |
libpath[2] = NULL; |
37 |
– |
#endif |
38 |
– |
#ifdef MAC |
39 |
– |
progname = argv[0]; |
30 |
|
libpath[0] = "./"; |
31 |
|
if ((libpath[i=1] = getenv("MDIR")) != NULL) |
32 |
|
i++; |
43 |
– |
libpath[i++] = "/meta/"; |
44 |
– |
libpath[i] = NULL; |
45 |
– |
#endif |
46 |
– |
#ifdef UNIX |
47 |
– |
progname = argv[0]; |
48 |
– |
libpath[0] = "./"; |
49 |
– |
if ((libpath[i=1] = getenv("MDIR")) != NULL) |
50 |
– |
i++; |
33 |
|
libpath[i++] = "/usr/local/lib/meta/"; |
34 |
|
libpath[i] = NULL; |
53 |
– |
#endif |
35 |
|
|
36 |
|
for (file0 = 1; file0 < argc-1; file0 += 2) |
37 |
|
if (!isopt(argv[file0])) |