Ignore:
Timestamp:
Dec 13, 2005, 2:17:16 AM (14 years ago)
Author:
bcornec
Message:

disable x11 build by default
g_mondo_home is now computed at compile time with a define

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mondo/mondo/common/libmondo-tools.c

    r165 r182  
    352352{
    353353    assert(home_sz != NULL);
    354     strcpy(home_sz,
    355            call_program_and_get_last_line_of_output
    356            ("find /usr/lib/ /usr/local/ /usr/share/ /usr/local/share/ /opt/ /ramdisk/usr/share/ -type d -maxdepth 2 -name include -prune -o -type d -maxdepth 2 -path '*/mondo/restore-scripts' -printf '%h\n' 2> /dev/null"));
    357 
    358     if (home_sz[0] == '\0') {
    359         strcpy(home_sz,
    360                call_program_and_get_last_line_of_output
    361                ("find /usr -type d -path '*/mondo/restore-scripts' -follow -maxdepth 3 -printf '%h\n' 2> /dev/null"));
    362     }
    363     if (home_sz[0] == '\0') {
    364         return (1);
    365     } else {
    366         return (0);
    367     }
     354    strcpy(home_sz, MONDO_LIB);
     355    return (0);
    368356}
    369357
Note: See TracChangeset for help on using the changeset viewer.