Lines Matching defs:prefix
22 the directory format and to handle any prefix translation.
24 This file must be compiled with -DPREFIX= to specify the "prefix"
26 prefix, it will not be affected other than by directory canonicalization.
29 a translation prefix and consist of the name of the package that contains
32 If the prefix is not specified, the filename will only undergo
36 by the specified prefix (with a '@' in front unless the prefix begins
71 #include "prefix.h"
101 const char *prefix = 0;
105 prefix = lookup_key (key);
108 if (prefix == 0)
109 prefix = getenv (temp = concat (key, "_ROOT", NULL_PTR));
111 if (prefix == 0)
112 prefix = std_prefix;
117 return prefix;
248 const char *prefix = 0;
267 prefix = get_key_value (key);
268 if (prefix == 0)
269 prefix = std_prefix;
272 prefix = getenv (key);
274 if (prefix == 0)
275 prefix = PREFIX;
278 if (IS_DIR_SEPARATOR (prefix[strlen (prefix) - 1]))
280 char * temp = save_string (prefix, strlen (prefix));
282 prefix = temp;
285 return concat (prefix, name, NULL_PTR);
338 /* Reset the standard prefix */
340 set_std_prefix (prefix, len)
341 const char *prefix;
344 std_prefix = save_string (prefix, len);