VirtualBox

Changeset 549 in kBuild


Ignore:
Timestamp:
Sep 24, 2006 4:19:23 AM (18 years ago)
Author:
bird
Message:

Regenerated config.h.os2 and make adjustments to make it all build quietly on OS/2.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r548 r549  
    22
    332006-09-23:
     4    - src/gmake:
     5        o Regenerated config.h.os2 and make adjustments to make it all
     6          build quietly on OS/2.
    47    - kBuild/envos2.cmd:
    58        o Environment script (REXX) for OS/2.
  • trunk/src/gmake/config.h.os2

    r200 r549  
    1 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
    2 
    3 /* Define if on AIX 3.
    4    System headers sometimes define this.
    5    We just want to avoid a redefinition error message.  */
    6 #ifndef _ALL_SOURCE
    7 /* #undef _ALL_SOURCE */
    8 #endif
    9 
    10 /* Define if using alloca.c.  */
     1/* config.h.  Generated by configure.  */
     2/* config.h.in.  Generated from configure.in by autoheader.  */
     3
     4/* Define to 1 if the `closedir' function returns void instead of `int'. */
     5/* #undef CLOSEDIR_VOID */
     6
     7/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
     8   systems. This function is required for `alloca.c' support on those systems.
     9   */
     10/* #undef CRAY_STACKSEG_END */
     11
     12/* Define to 1 if using `alloca.c'. */
    1113/* #undef C_ALLOCA */
    1214
    13 /* Define if the closedir function returns void instead of int.  */
    14 /* #undef CLOSEDIR_VOID */
    15 
    16 /* Define to empty if the keyword does not work.  */
    17 /* #undef const */
    18 
    19 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
    20    This function is required for alloca.c support on those systems.  */
    21 /* #undef CRAY_STACKSEG_END */
    22 
    23 /* Define for DGUX with <sys/dg_sys_info.h>.  */
     15/* Define to 1 if using `getloadavg.c'. */
     16/* #undef C_GETLOADAVG */
     17
     18/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
    2419/* #undef DGUX */
    2520
    26 /* Define if the `getloadavg' function needs to be run setuid or setgid.  */
     21/* Define to 1 if translation of program messages to the user's native
     22   language is requested. */
     23#define ENABLE_NLS 1
     24
     25/* Use high resolution file timestamps if nonzero. */
     26#define FILE_TIMESTAMP_HI_RES 0
     27
     28/* Define to 1 if the `getloadavg' function needs to be run setuid or setgid.
     29   */
    2730/* #undef GETLOADAVG_PRIVILEGED */
    2831
    29 /* Define to `unsigned long' or `unsigned long long'
    30    if <inttypes.h> doesn't define.  */
    31 #include <sys/stdint.h>
    32 
    33 /* Define to `int' if <sys/types.h> doesn't define.  */
    34 //#undef gid_t
    35 //#define gid_t int
    36 
    37 /* Define if you have alloca, as a function or macro.  */
    38 #undef HAVE_ALLOCA
     32/* Define to 1 if you have `alloca', as a function or macro. */
    3933#define HAVE_ALLOCA 1
    4034
    41 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
    42 /* #undef HAVE_ALLOCA_H */
     35/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
     36  */
    4337#define HAVE_ALLOCA_H 1
    4438
    45 /* Define if you don't have vprintf but do have _doprnt.  */
     39/* Define if your compiler conforms to the ANSI C standard. */
     40#define HAVE_ANSI_COMPILER 1
     41
     42/* Define to 1 if you have the `atexit' function. */
     43#define HAVE_ATEXIT 1
     44
     45/* Define to 1 if you have the `bsd_signal' function. */
     46#define HAVE_BSD_SIGNAL 1
     47
     48/* Use case insensitive file names */
     49/* #undef HAVE_CASE_INSENSITIVE_FS */
     50
     51/* Define if you have the clock_gettime function. */
     52/* #undef HAVE_CLOCK_GETTIME */
     53
     54/* Define if the GNU dcgettext() function is already present or preinstalled.
     55   */
     56#define HAVE_DCGETTEXT 1
     57
     58/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
     59   don't. */
     60#define HAVE_DECL_SYS_SIGLIST 1
     61
     62/* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you
     63   don't. */
     64#define HAVE_DECL__SYS_SIGLIST 0
     65
     66/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
     67   don't. */
     68#define HAVE_DECL___SYS_SIGLIST 0
     69
     70/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
     71   */
     72#define HAVE_DIRENT_H 1
     73
     74/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
    4675/* #undef HAVE_DOPRNT */
    4776
    48 /* Define if your system has a working fnmatch function.  */
    49 #define HAVE_FNMATCH 1
    50 
    51 /* Define if your system has its own `getloadavg' function.  */
    52 /* #undef HAVE_GETLOADAVG */
    53 
    54 /* Define if you have the getmntent function.  */
    55 /* #undef HAVE_GETMNTENT */
    56 
    57 /* Define if the `long double' type works.  */
    58 #define HAVE_LONG_DOUBLE 1
    59 
    60 /* Define if you support file names longer than 14 characters.  */
    61 #undef HAVE_LONG_FILE_NAMES
    62 #define HAVE_LONG_FILE_NAMES 1
    63 
    64 /* Define if you have a working `mmap' system call.  */
    65 /* #undef HAVE_MMAP */
    66 
    67 /* Define if system calls automatically restart after interruption
    68    by a signal.  */
    69 /* #undef HAVE_RESTARTABLE_SYSCALLS */
    70 
    71 /* Define if your struct stat has st_blksize.  */
    72 #define HAVE_ST_BLKSIZE 1
    73 
    74 /* Define if your struct stat has st_blocks.  */
    75 #define HAVE_ST_BLOCKS 1
    76 
    77 /* Define if you have the strcoll function and it is properly defined.  */
    78 #undef HAVE_STRCOLL
     77/* Use platform specific coding */
     78#define HAVE_DOS_PATHS 1
     79
     80/* Define to 1 if you have the `dup2' function. */
     81#define HAVE_DUP2 1
     82
     83/* Define to 1 if you have the <fcntl.h> header file. */
     84#define HAVE_FCNTL_H 1
     85
     86/* Define to 1 if you have the `fdopen' function. */
     87#define HAVE_FDOPEN 1
     88
     89/* Define to 1 if you have the `fork' function. */
     90#define HAVE_FORK 1
     91
     92/* Define to 1 if you have the `getcwd' function. */
     93#define HAVE_GETCWD 1
     94
     95/* Define to 1 if you have the `getgroups' function. */
     96#define HAVE_GETGROUPS 1
     97
     98/* Define to 1 if you have the `gethostbyname' function. */
     99/* #undef HAVE_GETHOSTBYNAME */
     100
     101/* Define to 1 if you have the `gethostname' function. */
     102/* #undef HAVE_GETHOSTNAME */
     103
     104/* Define to 1 if you have the `getloadavg' function. */
     105#define HAVE_GETLOADAVG 1
     106
     107/* Define to 1 if you have the `getrlimit' function. */
     108#define HAVE_GETRLIMIT 1
     109
     110/* Define if the GNU gettext() function is already present or preinstalled. */
     111#define HAVE_GETTEXT 1
     112
     113/* Define if you have a standard gettimeofday function */
     114#define HAVE_GETTIMEOFDAY 1
     115
     116/* Define if you have the iconv() function. */
     117/* #undef HAVE_ICONV */
     118
     119/* Define to 1 if you have the <inttypes.h> header file. */
     120#define HAVE_INTTYPES_H 1
     121
     122/* Define to 1 if you have the `dgc' library (-ldgc). */
     123/* #undef HAVE_LIBDGC */
     124
     125/* Define to 1 if you have the `kstat' library (-lkstat). */
     126/* #undef HAVE_LIBKSTAT */
     127
     128/* Define to 1 if you have the <limits.h> header file. */
     129#define HAVE_LIMITS_H 1
     130
     131/* Define to 1 if you have the <locale.h> header file. */
     132#define HAVE_LOCALE_H 1
     133
     134/* Define to 1 if you have the `lstat' function. */
     135#define HAVE_LSTAT 1
     136
     137/* Define to 1 if you have the <mach/mach.h> header file. */
     138/* #undef HAVE_MACH_MACH_H */
     139
     140/* Define to 1 if you have the `memcpy' function. */
     141#define HAVE_MEMCPY 1
     142
     143/* Define to 1 if you have the `memmove' function. */
     144#define HAVE_MEMMOVE 1
     145
     146/* Define to 1 if you have the <memory.h> header file. */
     147#define HAVE_MEMORY_H 1
     148
     149/* Define to 1 if you have the `mkstemp' function. */
     150#define HAVE_MKSTEMP 1
     151
     152/* Define to 1 if you have the `mktemp' function. */
     153#define HAVE_MKTEMP 1
     154
     155/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
     156/* #undef HAVE_NDIR_H */
     157
     158/* Define to 1 if you have the <nlist.h> header file. */
     159/* #undef HAVE_NLIST_H */
     160
     161/* Define to 1 if you have the `pipe' function. */
     162#define HAVE_PIPE 1
     163
     164/* Define to 1 if you have the `pstat_getdynamic' function. */
     165/* #undef HAVE_PSTAT_GETDYNAMIC */
     166
     167/* Define to 1 if you have the `readlink' function. */
     168#define HAVE_READLINK 1
     169
     170/* Define to 1 if you have the `realpath' function. */
     171#define HAVE_REALPATH 1
     172
     173/* Define if <signal.h> defines the SA_RESTART constant. */
     174#define HAVE_SA_RESTART 1
     175
     176/* Define to 1 if you have the `setegid' function. */
     177#define HAVE_SETEGID 1
     178
     179/* Define to 1 if you have the `seteuid' function. */
     180#define HAVE_SETEUID 1
     181
     182/* Define to 1 if you have the `setlinebuf' function. */
     183#define HAVE_SETLINEBUF 1
     184
     185/* Define to 1 if you have the `setlocale' function. */
     186/* #undef HAVE_SETLOCALE */
     187
     188/* Define to 1 if you have the `setregid' function. */
     189#define HAVE_SETREGID 1
     190
     191/* Define to 1 if you have the `setreuid' function. */
     192#define HAVE_SETREUID 1
     193
     194/* Define to 1 if you have the `setrlimit' function. */
     195#define HAVE_SETRLIMIT 1
     196
     197/* Define to 1 if you have the `setvbuf' function. */
     198#define HAVE_SETVBUF 1
     199
     200/* Define to 1 if you have the `sigaction' function. */
     201#define HAVE_SIGACTION 1
     202
     203/* Define to 1 if you have the `sigsetmask' function. */
     204#define HAVE_SIGSETMASK 1
     205
     206/* Define to 1 if you have the `socket' function. */
     207/* #undef HAVE_SOCKET */
     208
     209/* Define to 1 if you have the <stdarg.h> header file. */
     210#define HAVE_STDARG_H 1
     211
     212/* Define to 1 if you have the <stdint.h> header file. */
     213#define HAVE_STDINT_H 1
     214
     215/* Define to 1 if you have the <stdlib.h> header file. */
     216#define HAVE_STDLIB_H 1
     217
     218/* Define to 1 if you have the `strcasecmp' function. */
     219/* #undef HAVE_STRCASECMP */
     220
     221/* Define to 1 if you have the `strchr' function. */
     222#define HAVE_STRCHR 1
     223
     224/* Define to 1 if you have the `strcoll' function and it is properly defined.
     225   */
    79226#define HAVE_STRCOLL 1
    80227
    81 /* Define if your struct stat has st_rdev.  */
    82 #undef HAVE_ST_RDEV
    83 
    84 /* Define if you have the strftime function.  */
    85 #undef HAVE_STRFTIME
    86 #define HAVE_STRFTIME 1
    87 
    88 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
     228/* Define to 1 if you have the `strdup' function. */
     229#define HAVE_STRDUP 1
     230
     231/* Define to 1 if you have the `strerror' function. */
     232#define HAVE_STRERROR 1
     233
     234/* Define to 1 if you have the <strings.h> header file. */
     235#define HAVE_STRINGS_H 1
     236
     237/* Define to 1 if you have the <string.h> header file. */
     238#define HAVE_STRING_H 1
     239
     240/* Define to 1 if you have the `strsignal' function. */
     241#define HAVE_STRSIGNAL 1
     242
     243/* Define to 1 if `n_un.n_name' is member of `struct nlist'. */
     244/* #undef HAVE_STRUCT_NLIST_N_UN_N_NAME */
     245
     246/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
     247   */
     248/* #undef HAVE_SYS_DIR_H */
     249
     250/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
     251   */
     252/* #undef HAVE_SYS_NDIR_H */
     253
     254/* Define to 1 if you have the <sys/param.h> header file. */
     255#define HAVE_SYS_PARAM_H 1
     256
     257/* Define to 1 if you have the <sys/resource.h> header file. */
     258#define HAVE_SYS_RESOURCE_H 1
     259
     260/* Define to 1 if you have the <sys/stat.h> header file. */
     261#define HAVE_SYS_STAT_H 1
     262
     263/* Define to 1 if you have the <sys/timeb.h> header file. */
     264#define HAVE_SYS_TIMEB_H 1
     265
     266/* Define to 1 if you have the <sys/time.h> header file. */
     267#define HAVE_SYS_TIME_H 1
     268
     269/* Define to 1 if you have the <sys/types.h> header file. */
     270#define HAVE_SYS_TYPES_H 1
     271
     272/* Define to 1 if you have the <sys/wait.h> header file. */
    89273#define HAVE_SYS_WAIT_H 1
    90274
    91 /* Define if your struct tm has tm_zone.  */
    92 /* #undef HAVE_TM_ZONE */
    93 
    94 /* Define if you don't have tm_zone but do have the external array
    95    tzname.  */
    96 #undef HAVE_TZNAME
    97 #define HAVE_TZNAME 1
    98 
    99 /* Define if you have <unistd.h>.  */
    100 #define HAVE_UNISTD_H  1
    101 
    102 /* Define if utime(file, NULL) sets file's timestamp to the present.  */
    103 #undef HAVE_UTIME_NULL
    104 #define HAVE_UTIME_NULL 1
    105 
    106 /* Define if you have <vfork.h>.  */
     275/* Define this if you have the \`union wait' type in <sys/wait.h>. */
     276/* #undef HAVE_UNION_WAIT */
     277
     278/* Define to 1 if you have the <unistd.h> header file. */
     279#define HAVE_UNISTD_H 1
     280
     281/* Define to 1 if you have the <varargs.h> header file. */
     282/* #undef HAVE_VARARGS_H */
     283
     284/* Define to 1 if you have the `vfork' function. */
     285/* #undef HAVE_VFORK */
     286
     287/* Define to 1 if you have the <vfork.h> header file. */
    107288/* #undef HAVE_VFORK_H */
    108289
    109 /* Define if you have the vprintf function.  */
    110 #undef HAVE_VPRINTF
     290/* Define to 1 if you have the `vprintf' function. */
    111291#define HAVE_VPRINTF 1
    112292
    113 /* Define if you have the wait3 system call.  */
    114 /* #undef HAVE_WAIT3 */
    115 
    116 /* Define if on MINIX.  */
    117 /* #undef _MINIX */
    118 
    119 /* Define if your struct nlist has an n_un member.  */
     293/* Define to 1 if you have the `wait3' function. */
     294#define HAVE_WAIT3 1
     295
     296/* Define to 1 if you have the `waitpid' function. */
     297#define HAVE_WAITPID 1
     298
     299/* Define to 1 if `fork' works. */
     300#define HAVE_WORKING_FORK 1
     301
     302/* Define to 1 if `vfork' works. */
     303/* #undef HAVE_WORKING_VFORK */
     304
     305/* Build host information. */
     306#define MAKE_HOST "i386-pc-os2-emx"
     307
     308/* Define this to enable job server support in GNU make. */
     309#define MAKE_JOBSERVER 1
     310
     311/* Define this to enable symbolic link timestamp checking. */
     312#define MAKE_SYMLINKS 1
     313
     314/* Define to 1 if your `struct nlist' has an `n_un' member. Obsolete, depend
     315   on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
    120316/* #undef NLIST_NAME_UNION */
    121317
    122 /* Define if you have <nlist.h>. */
     318/* Define if struct nlist.n_name is a pointer rather than an array. */
    123319/* #undef NLIST_STRUCT */
    124320
    125 /* Define if your C compiler doesn't accept -c and -o together. */
     321/* Define to 1 if your C compiler doesn't accept -c and -o together. */
    126322/* #undef NO_MINUS_C_MINUS_O */
    127323
    128 /* Define to `int' if <sys/types.h> doesn't define.  */
    129 /*#undef pid_t*/
    130 
    131 /* Define if the system does not provide POSIX.1 features except
    132    with this defined.  */
    133 /* #undef _POSIX_1_SOURCE */
    134 
    135 /* Define if you need to in order for stat and other things to work.  */
    136 /*#undef _POSIX_SOURCE*/
    137 
    138 /* Define as the return type of signal handlers (int or void).  */
    139 #undef RETSIGTYPE
     324/* Name of package */
     325#define PACKAGE "make"
     326
     327/* Define to the address where bug reports for this package should be sent. */
     328#define PACKAGE_BUGREPORT "[email protected]"
     329
     330/* Define to the full name of this package. */
     331#define PACKAGE_NAME "GNU make"
     332
     333/* Define to the full name and version of this package. */
     334#define PACKAGE_STRING "GNU make 3.81"
     335
     336/* Define to the one symbol short name of this package. */
     337#define PACKAGE_TARNAME "make"
     338
     339/* Define to the version of this package. */
     340#define PACKAGE_VERSION "3.81"
     341
     342/* Define to 1 if the C compiler supports function prototypes. */
     343#define PROTOTYPES 1
     344
     345/* Define as the return type of signal handlers (`int' or `void'). */
    140346#define RETSIGTYPE void
    141347
    142 /* Define if the setvbuf function takes the buffering type as its second
    143    argument and the buffer pointer as the third, as on System V
    144    before release 3.  */
     348/* Define to the name of the SCCS 'get' command. */
     349#define SCCS_GET "get"
     350
     351/* Define this if the SCCS 'get' command understands the '-G<file>' option. */
     352/* #undef SCCS_GET_MINUS_G */
     353
     354/* Define to 1 if the `setvbuf' function takes the buffering type as its
     355   second argument and the buffer pointer as the third, as on System V before
     356   release 3. */
    145357/* #undef SETVBUF_REVERSED */
    146358
     
    150362        STACK_DIRECTION > 0 => grows toward higher addresses
    151363        STACK_DIRECTION < 0 => grows toward lower addresses
    152         STACK_DIRECTION = 0 => direction of growth unknown
     364        STACK_DIRECTION = 0 => direction of growth unknown */
     365/* #undef STACK_DIRECTION */
     366
     367/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
     368/* #undef STAT_MACROS_BROKEN */
     369
     370/* Define to 1 if you have the ANSI C header files. */
     371#define STDC_HEADERS 1
     372
     373/* Define if struct stat contains a nanoseconds field */
     374/* #undef ST_MTIM_NSEC */
     375
     376/* Define to 1 on System V Release 4. */
     377/* #undef SVR4 */
     378
     379/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
     380#define TIME_WITH_SYS_TIME 1
     381
     382/* Define to 1 for Encore UMAX. */
     383/* #undef UMAX */
     384
     385/* Define to 1 for Encore UMAX 4.3 that has <inq_status/cpustats.h> instead of
     386   <sys/cpustats.h>. */
     387/* #undef UMAX4_3 */
     388
     389/* Version number of package */
     390#define VERSION "3.81"
     391
     392/* Use platform specific coding */
     393/* #undef WINDOWS32 */
     394
     395/* Define if using the dmalloc debugging malloc package */
     396/* #undef WITH_DMALLOC */
     397
     398/* Define to 1 if on AIX 3.
     399   System headers sometimes define this.
     400   We just want to avoid a redefinition error message.  */
     401#ifndef _ALL_SOURCE
     402/* # undef _ALL_SOURCE */
     403#endif
     404
     405/* Number of bits in a file offset, on hosts where this is settable. */
     406/* #undef _FILE_OFFSET_BITS */
     407
     408/* Define for large files, on AIX-style hosts. */
     409/* #undef _LARGE_FILES */
     410
     411/* Define to 1 if on MINIX. */
     412/* #undef _MINIX */
     413
     414/* Define to 2 if the system does not provide POSIX.1 features except with
     415   this defined. */
     416/* #undef _POSIX_1_SOURCE */
     417
     418/* Define to 1 if you need to in order for `stat' and other things to work. */
     419/* #undef _POSIX_SOURCE */
     420
     421/* Define like PROTOTYPES; this can be used by system headers. */
     422#define __PROTOTYPES 1
     423
     424/* Define to empty if `const' does not conform to ANSI C. */
     425/* #undef const */
     426
     427/* Define to `int' if <sys/types.h> doesn't define. */
     428/* #undef gid_t */
     429
     430/* Define to `int' if <sys/types.h> does not define. */
     431/* #undef pid_t */
     432
     433/* Define to `int' if <sys/types.h> doesn't define. */
     434/* #undef uid_t */
     435
     436/* Define uintmax_t if not defined in <stdint.h> or <inttypes.h>. */
     437/* #undef uintmax_t */
     438
     439/* Define as `fork' if `vfork' does not work. */
     440#define vfork fork
     441
     442/*
     443 * Modifications:
    153444 */
    154 /* #undef STACK_DIRECTION */
    155 
    156 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
    157 /* #undef STAT_MACROS_BROKEN */
    158 
    159 /* Define if you have the ANSI C header files.  */
    160 #undef STDC_HEADERS
    161 #define STDC_HEADERS 1
    162 
    163 /* Define on System V Release 4.  */
    164 /* #undef SVR4 */
    165 
    166 /* Define if `sys_siglist' is declared by <signal.h>.  */
    167 /* #undef SYS_SIGLIST_DECLARED */
    168 
    169 /* Define to `int' if <sys/types.h> doesn't define.  */
    170 /*#undef uid_t */
    171 
    172 /* Define for Encore UMAX.  */
    173 /* #undef UMAX */
    174 
    175 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
    176    instead of <sys/cpustats.h>.  */
    177 /* #undef UMAX4_3 */
    178 
    179 /* Define vfork as fork if vfork does not work.  */
    180 /* #undef vfork */
    181 
    182 /* Name of this package (needed by automake) */
    183 #define PACKAGE "make"
    184 
    185 /* Version of this package (needed by automake) */
    186 #define VERSION "3.81rc1"
    187 
    188 /* Define to the name of the SCCS `get' command.  */
    189 #undef SCCS_GET
    190 #define SCCS_GET "echo no sccs get"
    191 
    192 /* Define to 1 if NLS is requested.  */
    193 /* #undef ENABLE_NLS */
    194 
    195 /* Define as 1 if you have dcgettext.  */
    196 /* #undef HAVE_DCGETTEXT */
    197 
    198 /* Define as 1 if you have gettext and don't want to use GNU gettext.  */
    199 /* #undef HAVE_GETTEXT */
    200 
    201 /* Define if your locale.h file contains LC_MESSAGES.  */
    202 /* #undef HAVE_LC_MESSAGES */
    203445
    204446/* Define to the installation directory for locales.  */
    205447#define LOCALEDIR ""
    206 
    207 /* Define this if the SCCS `get' command understands the `-G<file>' option.  */
    208 /* #undef SCCS_GET_MINUS_G */
    209 
    210 /* Define this to enable job server support in GNU make.  */
    211 #define MAKE_JOBSERVER 1
    212 
    213 /* Define to be the nanoseconds member of struct stat's st_mtim,
    214    if it exists.  */
    215 /* #undef ST_MTIM_NSEC */
    216 
    217 /* Define this if the C library defines the variable `sys_siglist'.  */
    218 #define HAVE_SYS_SIGLIST 1
    219 
    220 /* Define this if the C library defines the variable `_sys_siglist'.  */
    221 /* #undef HAVE__SYS_SIGLIST */
    222 
    223 /* Define this if you have the `union wait' type in <sys/wait.h>.  */
    224 /* #undef HAVE_UNION_WAIT */
    225 
    226 /* Define if you have the dup2 function.  */
    227 #undef HAVE_DUP2
    228 #define HAVE_DUP2 1
    229 
    230 /* Define if you have the getcwd function.  */
    231 #undef HAVE_GETCWD
    232 #define HAVE_GETCWD 1
    233 
    234 /* Define if you have the getgroups function.  */
    235 /* #undef HAVE_GETGROUPS */
    236 
    237 /* Define if you have the gethostbyname function.  */
    238 #define HAVE_GETHOSTBYNAME 1
    239 
    240 /* Define if you have the gethostname function.  */
    241 #define HAVE_GETHOSTNAME 1
    242 
    243 /* Define if you have the getloadavg function.  */
    244 /* #undef HAVE_GETLOADAVG */
    245 
    246 /* Define if you have the memmove function.  */
    247 #undef HAVE_MEMMOVE
    248 #define HAVE_MEMMOVE 1
    249 
    250 /* Define if you have the mktemp function.  */
    251 #undef HAVE_MKTEMP
    252 #define HAVE_MKTEMP 1
    253 
    254 /* Define if you have the psignal function.  */
    255 /* #undef HAVE_PSIGNAL */
    256 
    257 /* Define if you have the pstat_getdynamic function.  */
    258 /* #undef HAVE_PSTAT_GETDYNAMIC */
    259 
    260 /* Define if you have the setegid function.  */
    261 /* #undef HAVE_SETEGID */
    262 
    263 /* Define if you have the seteuid function.  */
    264 /* #undef HAVE_SETEUID */
    265 
    266 /* Define if you have the setlinebuf function.  */
    267 /* #undef HAVE_SETLINEBUF */
    268 
    269 /* Define if you have the setregid function.  */
    270 /* #undef HAVE_SETREGID */
    271 
    272 /* Define if you have the setreuid function.  */
    273 /* #undef HAVE_SETREUID */
    274 
    275 /* Define if you have the sigsetmask function.  */
    276 /* #undef HAVE_SIGSETMASK */
    277 
    278 /* Define if you have the socket function.  */
    279 #define HAVE_SOCKET 1
    280 
    281 /* Define if you have the strcasecmp function.  */
    282 #define HAVE_STRCASECMP 1
    283 
    284 /* Define if you have the strerror function.  */
    285 #undef HAVE_STRERROR
    286 #define HAVE_STRERROR 1
    287 
    288 /* Define if you have the strsignal function.  */
    289 #define HAVE_STRSIGNAL
    290 
    291 /* Define if you have the wait3 function.  */
    292 #define HAVE_WAIT3 1
    293 
    294 /* Define if you have the waitpid function.  */
    295 #define HAVE_WAITPID 1
    296 
    297 /* Define if you have the <dirent.h> header file.  */
    298 #undef HAVE_DIRENT_H
    299 #define HAVE_DIRENT_H 1
    300 
    301 /* Define if you have the <fcntl.h> header file.  */
    302 #undef HAVE_FCNTL_H
    303 #define HAVE_FCNTL_H 1
    304 
    305 /* Define if you have the <limits.h> header file.  */
    306 #undef HAVE_LIMITS_H
    307 #define HAVE_LIMITS_H 1
    308 
    309 /* Define if you have the <mach/mach.h> header file.  */
    310 /* #undef HAVE_MACH_MACH_H */
    311 
    312 /* Define if you have the <memory.h> header file.  */
    313 #undef HAVE_MEMORY_H
    314 #define HAVE_MEMORY_H 1
    315 
    316 /* Define if you have the <ndir.h> header file.  */
    317 /* #undef HAVE_NDIR_H */
    318 
    319 /* Define if you have the <string.h> header file.  */
    320 #undef HAVE_STRING_H
    321 #define HAVE_STRING_H 1
    322 
    323 /* Define if you have the <sys/dir.h> header file.  */
    324 #define HAVE_SYS_DIR_H 1
    325 
    326 /* Define if you have the <sys/ndir.h> header file.  */
    327 /* #undef HAVE_SYS_NDIR_H */
    328 
    329 /* Define if you have the <sys/param.h> header file.  */
    330 #define HAVE_SYS_PARAM_H 1
    331 
    332 /* Define if you have the <sys/timeb.h> header file.  */
    333 #undef HAVE_SYS_TIMEB_H
    334 #define HAVE_SYS_TIMEB_H 1
    335 
    336 /* Define if you have the <sys/wait.h> header file.  */
    337 #define HAVE_SYS_WAIT_H 1
    338 
    339 /* Define if you have the <unistd.h> header file.  */
    340 #define HAVE_UNISTD_H 1
    341 
    342 /* Define if you have the dgc library (-ldgc).  */
    343 /* #undef HAVE_LIBDGC */
    344 
    345 /* Define if you have the kstat library (-lkstat).  */
    346 /* #undef HAVE_LIBKSTAT */
    347 
    348 /* Define if you have the sun library (-lsun).  */
    349 /* #undef HAVE_LIBSUN */
    350 
    351 /* Use high resolution file timestamps if nonzero. */
    352 #define FILE_TIMESTAMP_HI_RES 0
    353 
    354 /* Build host information. */
    355 #define MAKE_HOST "OS/2 using Innotek LIBC"
    356 
    357 /* Grok DOS paths (drive specs and backslash path element separators) */
    358 #define HAVE_DOS_PATHS
    359 
    360 /*
    361  * Refer to README.W32 for info on the following settings
    362  */
    363448
    364449/*
     
    367452 * shell support.
    368453 */
    369 #undef BATCH_MODE_ONLY_SHELL
    370454#define BATCH_MODE_ONLY_SHELL 1
    371 
    372 /*
    373  * Define if you have the Cygnus "Cygwin" GNU Windows32 tool set.
    374  * Do NOT define BATCH_MODE_ONLY_SHELL if you define HAVE_CYGWIN_SHELL
    375  */
    376 #undef HAVE_CYGWIN_SHELL
    377 
    378 /*
    379  * Define if you have the MKS tool set or shell. Do NOT define
    380  * BATCH_MODE_ONLY_SHELL if you define HAVE_MKS_SHELL
    381  */
    382 #undef HAVE_MKS_SHELL
    383 
    384 /*
    385  * Enforce the mutual exclusivity restriction.
    386  */
    387 #ifdef HAVE_MKS_SHELL
    388 #undef BATCH_MODE_ONLY_SHELL
    389 #endif
    390 
    391 #ifdef HAVE_CYGWIN_SHELL
    392 #undef BATCH_MODE_ONLY_SHELL
    393 #endif
    394 
    395 /* Define if you prefer Case Insensitive behavior */
    396 #undef HAVE_CASE_INSENSITIVE_FS
    397 
    398 #define HAVE_STRDUP 1
    399455
    400456#define _DIRENT_HAVE_D_NAMLEN 1
    401457#define _DIRENT_HAVE_D_TYPE   1
    402 #define __ptr_t void *
    403458
    404459#define INCLUDEDIR "."
    405460#define LIBDIR "."
    406461
    407 #define HAVE_SA_RESTART 1
    408 
    409 #if 0
    410 static inline int getloadavg(double loadavg[], int nelem)
    411 {
    412     loadavg[0] = 0.01;
    413     if (nelem > 1)
    414         loadavg[1] = 0.01;
    415     if (nelem > 2)
    416         loadavg[2] = 0.01;
    417     return 0;
    418 }
    419 #endif
    420 
    421 
    422 #if 0
    423 #include <string.h>
    424 
    425 static inline void *
    426 memmove (void *__dest, __const void *__src, size_t __n)
    427 {
    428   register unsigned long int __d0, __d1, __d2;
    429   if (__dest < __src)
    430     __asm__ __volatile__
    431       ("cld\n\t"
    432        "rep\n\t"
    433        "movsb"
    434        : "=&c" (__d0), "=&S" (__d1), "=&D" (__d2)
    435        : "0" (__n), "1" (__src), "2" (__dest)
    436        : "memory");
    437   else
    438     __asm__ __volatile__
    439       ("std\n\t"
    440        "rep\n\t"
    441        "movsb\n\t"
    442        "cld"
    443        : "=&c" (__d0), "=&S" (__d1), "=&D" (__d2)
    444        : "0" (__n), "1" (__n - 1 + (const char *) __src),
    445          "2" (__n - 1 + (char *) __dest)
    446        : "memory");
    447   return __dest;
    448 }
    449 #endif
    450 #if 0
    451 
    452 #define strchr(s, c) \
    453   (__extension__ (__builtin_constant_p (c)                                    \
    454                   ? __strchr_c (s, ((c) & 0xff) << 8)                         \
    455                   : __strchr_g (s, c)))
    456 
    457 static inline char *__strchr_g (__const char *__s, int __c);
    458 
    459 static inline char *
    460 __strchr_g (__const char *__s, int __c)
    461 {
    462   register unsigned long int __d0;
    463   register char *__res;
    464   __asm__ __volatile__
    465     ("cld\n\t"
    466      "movb      %%al,%%ah\n"
    467      "1:\n\t"
    468      "lodsb\n\t"
    469      "cmpb      %%ah,%%al\n\t"
    470      "je        2f\n\t"
    471      "testb     %%al,%%al\n\t"
    472      "jne       1b\n\t"
    473      "movl      $1,%1\n"
    474      "2:\n\t"
    475      "movl      %1,%0"
    476      : "=a" (__res), "=&S" (__d0)
    477      : "0" (__c), "1" (__s)
    478      : "cc");
    479   return __res - 1;
    480 }
    481 
    482 static inline char *__strchr_c (__const char *__s, int __c);
    483 
    484 static inline char *
    485 __strchr_c (__const char *__s, int __c)
    486 {
    487   register unsigned long int __d0;
    488   register char *__res;
    489   __asm__ __volatile__
    490     ("cld\n\t"
    491      "1:\n\t"
    492      "lodsb\n\t"
    493      "cmpb      %%ah,%%al\n\t"
    494      "je        2f\n\t"
    495      "testb     %%al,%%al\n\t"
    496      "jne       1b\n\t"
    497      "movl      $1,%1\n"
    498      "2:\n\t"
    499      "movl      %1,%0"
    500      : "=a" (__res), "=&S" (__d0)
    501      : "0" (__c), "1" (__s)
    502      : "cc");
    503   return __res - 1;
    504 }
    505 #endif
  • trunk/src/gmake/make.h

    r527 r549  
    616616
    617617#if defined(__EMX__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS) /* bird: saves 40-100ms on libc. */
     618static inline void *__my_rawmemchr (const void *__s, int __c);
    618619#undef strchr
    619620#define strchr(s, c) \
    620621  (__extension__ (__builtin_constant_p (c)                                    \
    621622                  ? ((c) == '\0'                                              \
    622                      ? (char *) __rawmemchr ((s), (c))                        \
    623                      : __strchr_c ((s), ((c) & 0xff) << 8))                   \
    624                   : __strchr_g ((s), (c))))
    625 static inline char *__strchr_c (const char *__s, int __c)
     623                     ? (char *) __my_rawmemchr ((s), (c))                             \
     624                     : __my_strchr_c ((s), ((c) & 0xff) << 8))                \
     625                  : __my_strchr_g ((s), (c))))
     626static inline char *__my_strchr_c (const char *__s, int __c)
    626627{
    627628  register unsigned long int __d0;
     
    644645}
    645646
    646 static inline char *__strchr_g (__const char *__s, int __c)
     647static inline char *__my_strchr_g (__const char *__s, int __c)
    647648{
    648649  register unsigned long int __d0;
     
    666667}
    667668
    668 static inline void *__rawmemchr (const void *__s, int __c)
     669static inline void *__my_rawmemchr (const void *__s, int __c)
    669670{
    670671  register unsigned long int __d0;
     
    681682
    682683#undef memchr
    683 #define memchr(a,b,c) __memchr((a),(b),(c))
    684 static inline void *__memchr (__const void *__s, int __c, size_t __n)
     684#define memchr(a,b,c) __my_memchr((a),(b),(c))
     685static inline void *__my_memchr (__const void *__s, int __c, size_t __n)
    685686{
    686687  register unsigned long int __d0;
  • trunk/src/gmake/misc.c

    r527 r549  
    2121#include "debug.h"
    2222
    23 #if defined(__EMX__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS) /* bird: saves 5-10ms on libc */
    24 # define bcopy(src, dst, size)   __builtin_memcpy((dst), (src), (size))
     23/* All bcopy calls in this file can be replaced by memcpy and save a tick or two. */
     24#ifdef CONFIG_WITH_OPTIMIZATION_HACKS
     25# undef bcopy
     26# if defined(__GNUC__) && defined(CONFIG_WITH_OPTIMIZATION_HACKS)
     27#  define bcopy(src, dst, size)   __builtin_memcpy ((dst), (src), (size))
     28# else
     29#  define bcopy(src, dst, size)   memcpy ((dst), (src), (size))
     30# endif
    2531#endif
    2632
     
    406412
    407413
    408 #ifndef CONFIG_WITH_OPTIMIZATION_HACKS /* This is really a reimplemntation of 
     414#ifndef CONFIG_WITH_OPTIMIZATION_HACKS /* This is really a reimplemntation of
    409415   memchr, only slower. It's been replaced by a macro in the header file. */
    410416
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette