319 |
char *path; |
char *path; |
320 |
|
|
321 |
/* |
/* |
|
* Some GNU/Linux has gctags as '/usr/bin/gctags', that is |
|
|
* different from GLOBAL's one. |
|
322 |
* usable search in BINDIR at first. |
* usable search in BINDIR at first. |
323 |
*/ |
*/ |
324 |
#if defined(_WIN32) || defined(__DJGPP__) |
#if defined(_WIN32) || defined(__DJGPP__) |
325 |
path = "gctags.exe"; |
path = "gtags-parser.exe"; |
326 |
#else |
#else |
327 |
path = usable("gctags"); |
path = usable("gtags-parser"); |
328 |
if (!path) |
if (!path) |
329 |
path = "gctags"; |
path = "gtags-parser"; |
330 |
#endif /* _WIN32 */ |
#endif /* _WIN32 */ |
331 |
strbuf_puts(sb, ":GTAGS="); |
strbuf_puts(sb, ":GTAGS="); |
332 |
strbuf_puts(sb, path); |
strbuf_puts(sb, path); |