diff options
Diffstat (limited to 'djgpp')
-rw-r--r-- | djgpp/config.hin | 54 | ||||
-rw-r--r-- | djgpp/config.sed | 7 |
2 files changed, 47 insertions, 14 deletions
diff --git a/djgpp/config.hin b/djgpp/config.hin index 973a0db93d..c9c3154871 100644 --- a/djgpp/config.hin +++ b/djgpp/config.hin @@ -1,7 +1,22 @@ -#define USE_THREAD 1 + +#define PACKAGE_NAME "" +#define PACKAGE_TARNAME "" +#define PACKAGE_VERSION "" +#define PACKAGE_STRING "" +#define PACKAGE_BUGREPORT "" +#define STDC_HEADERS 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_UNISTD_H 1 #define SIZEOF_INT 4 #define SIZEOF_SHORT 2 #define SIZEOF_LONG 4 +#define SIZEOF_LONG_LONG 8 +#define SIZEOF___INT64 0 #define SIZEOF_VOIDP 4 #define SIZEOF_FLOAT 4 #define SIZEOF_DOUBLE 8 @@ -11,41 +26,45 @@ #define HAVE_ATTR_NORETURN 1 #define HAVE_DIRENT_H 1 #define STDC_HEADERS 1 +#define HAVE_SYS_WAIT_H 1 #define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 #define HAVE_UNISTD_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 -#define HAVE_PWD_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TIMES_H 1 #define HAVE_SYS_PARAM_H 1 -#define HAVE_SYS_WAIT_H 1 -#define HAVE_STRING_H 1 +#define HAVE_PWD_H 1 #define HAVE_UTIME_H 1 #define HAVE_MEMORY_H 1 #define HAVE_DIRECT_H 1 +#define HAVE_SYS_RESOURCE_H 1 +#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_ST_BLKSIZE 1 +#define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define GETGROUPS_T gid_t #define RETSIGTYPE void #define HAVE_ALLOCA 1 -#define vfork fork #define HAVE_DUP2 1 -#define HAVE_SETENV 1 #define HAVE_MEMMOVE 1 #define HAVE_MKDIR 1 #define HAVE_STRCASECMP 1 +#define HAVE_STRNCASECMP 1 #define HAVE_STRERROR 1 #define HAVE_STRFTIME 1 #define HAVE_STRCHR 1 #define HAVE_STRSTR 1 #define HAVE_STRTOUL 1 -#define HAVE_STRDUP 1 #define HAVE_ISINF 1 #define HAVE_ISNAN 1 #define HAVE_FINITE 1 #define HAVE_FMOD 1 +#define HAVE_DRAND48 1 #define HAVE_RANDOM 1 #define HAVE_WAITPID 1 #define HAVE_GETCWD 1 @@ -53,16 +72,29 @@ #define HAVE_CHSIZE 1 #define HAVE_TIMES 1 #define HAVE_UTIMES 1 -#define HAVE_FCNTL_H 1 -/*#define HAVE_SETITIMER 1*/ +#define HAVE_FCNTL 1 +#define HAVE_SYMLINK 1 +#define HAVE_SETITIMER 1 +#define HAVE_PAUSE 1 +#define HAVE_GETPGRP 1 +#define HAVE_SETPGID 1 #define HAVE_GETGROUPS 1 +#define HAVE_GETRLIMIT 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGACTION 1 #define HAVE_SETSID 1 +#define HAVE_TELLDIR 1 +#define HAVE_SEEKDIR 1 +#define HAVE_INITSTATE 1 +#define HAVE_STRUCT_TM_TM_ZONE 1 +#define HAVE_TM_ZONE 1 +#define HAVE_STRUCT_TM_TM_GMTOFF 1 #define POSIX_SIGNAL 1 -#define BSD_SETPGRP setpgrp -#define RSHIFT(x,y) ((x)>>y) +#define GETPGRP_VOID 1 +#define SETPGRP_VOID 1 +#define RSHIFT(x,y) ((x)>>(int)y) #define FILE_COUNT _cnt +#define DEFAULT_KCODE KCODE_NONE #define DLEXT ".o" #define RUBY_LIB "/lib/ruby/@MAJOR@.@MINOR@" #define RUBY_SITE_LIB "/lib/ruby/site_ruby" diff --git a/djgpp/config.sed b/djgpp/config.sed index 0713759f16..c2f0661913 100644 --- a/djgpp/config.sed +++ b/djgpp/config.sed @@ -57,6 +57,7 @@ s%@SOLIBS@%%g s%@arch@%i386-msdosdjgpp%g ;s%/bin/rm%rm% s%@DLDLIBS@%-lc%g +s%@MAINLIBS@%%g s%@PREP@%% s%@RUBY_INSTALL_NAME@%ruby%g s%@RUBY_SO_NAME@%%g @@ -73,8 +74,8 @@ s%@archlib@%/lib/ruby/i386-msdosdjgpp% ;/^config.status/ { ; N;N;N;N;N;d ;} -;s%mv -f y\.tab\.c%if exist parse.c del parse.c\ - ren y_tab.c% -;s%y\.tab\.c%y_tab.c% +#;s%mv -f y\.tab\.c%if exist parse.c del parse.c\ +# ren y_tab.c% +#;s%y\.tab\.c%y_tab.c% /^,THIS_IS_DUMMY_PATTERN_/i\ ac_given_srcdir=. |