16 |
|
|
17 |
|
#include "object.h" |
18 |
|
|
19 |
– |
#ifndef DEFPATH |
20 |
– |
#define DEFPATH ":/usr/local/lib/ray" |
21 |
– |
#endif |
22 |
– |
|
19 |
|
char *progname; /* argv[0] */ |
20 |
|
|
25 |
– |
char *libpath; /* library search path */ |
26 |
– |
|
21 |
|
int nowarn = 0; /* supress warnings? */ |
22 |
|
|
23 |
|
int (*addobjnotify[])() = {NULL}; /* new object notifier functions */ |
40 |
|
int i; |
41 |
|
|
42 |
|
progname = argv[0]; |
49 |
– |
|
50 |
– |
if ((libpath = getenv("RAYPATH")) == NULL) |
51 |
– |
libpath = DEFPATH; |
43 |
|
|
44 |
|
for (i = 1; i < argc && argv[i][0] == '-'; i++) { |
45 |
|
switch (argv[i][1]) { |