b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | dnl DO NOT EDIT THIS FILE. |
| 2 | dnl Place personal settings in devtools/Site/site.config.m4 |
| 3 | |
| 4 | define(`confDEPEND_TYPE', `CC-M') |
| 5 | define(`confCCOPTS_SO', `-fPIC') |
| 6 | define(`confSM_OS_HEADER', `sm_os_linux') |
| 7 | define(`confLIBS', `-ldl') |
| 8 | define(`confEBINDIR', `/usr/sbin') |
| 9 | define(`confMKDIR', `mkdir') |
| 10 | define(`confLIBSEARCHPATH', `STAGING_DIR/lib STAGING_DIR/usr/lib') |
| 11 | APPENDDEF(`confLIBSEARCH', `crypt') |
| 12 | |
| 13 | define(`confMTCCOPTS', `-D_REENTRANT') |
| 14 | define(`confMTLDOPTS', `-lpthread') |
| 15 | define(`confLDOPTS_SO', `-shared') |
| 16 | define(`confSONAME',`-Wl,-soname') |
| 17 | |
| 18 | define(`currentuser', esyscmd(`id -nu')) |
| 19 | define(`currentgroup', esyscmd(`id -ng')) |
| 20 | |
| 21 | define(`confDONT_INSTALL_CATMAN',) |
| 22 | define(`confNO_MAN_BUILD',) |
| 23 | define(`confINCOWN', currentuser) |
| 24 | define(`confINCGRP', currentgroup) |
| 25 | define(`confINCMODE', `644') |
| 26 | define(`confLIBOWN', currentuser) |
| 27 | define(`confLIBGRP', currentgroup) |
| 28 | define(`confLIBMODE', `644') |
| 29 | define(`confMBINOWN', currentuser) |
| 30 | define(`confMBINGRP', currentgroup) |
| 31 | define(`confMBINMODE', `750') |
| 32 | define(`confSBINOWN', currentuser) |
| 33 | define(`confSBINGRP', currentgroup) |
| 34 | define(`confSBINMODE', `755') |
| 35 | define(`confUBINOWN', currentuser) |
| 36 | define(`confUBINGRP', currentgroup) |
| 37 | define(`confUBINMODE', `755') |
| 38 | define(`confGBINOWN', currentuser) |
| 39 | define(`confGBINGRP', currentgroup) |
| 40 | define(`confGBINMODE', `755') |
| 41 | define(`confMSPQOWN', currentuser) |
| 42 | |
| 43 | ifelse(confBLDVARIANT, `DEBUG', |
| 44 | dnl Debug build |
| 45 | ` |
| 46 | define(`confOPTIMIZE',`-g -Wall') |
| 47 | ', |
| 48 | dnl Optimized build |
| 49 | confBLDVARIANT, `OPTIMIZED', |
| 50 | ` |
| 51 | define(`confOPTIMIZE',`-O2') |
| 52 | ', |
| 53 | dnl Purify build |
| 54 | confBLDVARIANT, `PURIFY', |
| 55 | ` |
| 56 | define(`confOPTIMIZE',`-g') |
| 57 | ', |
| 58 | dnl default |
| 59 | ` |
| 60 | define(`confOPTIMIZE',`-O2') |
| 61 | ') |