From 6ed7cf2f1bc6c312fb8bfaf3cb5cf06412785b26 Mon Sep 17 00:00:00 2001 From: eban Date: Mon, 13 May 2002 05:42:47 +0000 Subject: [PATCH] * djgpp/config.hin, djgpp/config.sed: catch up with the latest change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++-- djgpp/config.hin | 65 ++++++++++++++++++++++++++++++++++++++++-------- djgpp/config.sed | 7 +++--- 3 files changed, 64 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index a39d5d8c22..4ea947dbb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ -Sat May 11 23:24:52 2002 Takaaki Tateishi +Mon May 13 14:38:33 2002 WATANABE Hirofumi - * ext/dl: enable dl's stack emulation for constructing function call. + * djgpp/config.hin, djgpp/config.sed: catch up with the latest change. Sun May 12 03:01:08 2002 WATANABE Hirofumi @@ -12,6 +12,10 @@ Sun May 12 03:01:08 2002 WATANABE Hirofumi * MANIFEST: add missing.h +Sat May 11 23:24:52 2002 Takaaki Tateishi + + * ext/dl: enable dl's stack emulation for constructing function call. + Sat May 11 10:52:09 2002 Nobuyoshi Nakada * dir.c (glob_helper): remove escaping backslashes. diff --git a/djgpp/config.hin b/djgpp/config.hin index 81941d79fa..862ef8dc2a 100644 --- a/djgpp/config.hin +++ b/djgpp/config.hin @@ -1,7 +1,26 @@ + +#define PACKAGE_NAME "" +#define PACKAGE_TARNAME "" +#define PACKAGE_VERSION "" +#define PACKAGE_STRING "" +#define PACKAGE_BUGREPORT "" +#define USE_BUILTIN_FRAME_ADDRESS 1 +#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 HAVE_LONG_LONG 1 +#define HAVE_OFF_T 1 #define SIZEOF_INT 4 #define SIZEOF_SHORT 2 #define SIZEOF_LONG 4 +#define SIZEOF_LONG_LONG 8 #define SIZEOF___INT64 0 +#define SIZEOF_OFF_T 4 #define SIZEOF_VOIDP 4 #define SIZEOF_FLOAT 4 #define SIZEOF_DOUBLE 8 @@ -9,61 +28,85 @@ #define TOKEN_PASTE(x,y) x##y #define HAVE_STDARG_PROTOTYPES 1 #define NORETURN(x) x __attribute__ ((noreturn)) +#define HAVE_DECL_SYS_NERR 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_HYPOT 1 +#define HAVE_ACOSH 1 #define HAVE_FMOD 1 +#define HAVE_DRAND48 1 #define HAVE_RANDOM 1 #define HAVE_WAITPID 1 -#define HAVE_GETCWD 1 +#define HAVE_FSYNC 1 #define HAVE_TRUNCATE 1 #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_MKTIME 1 +#define HAVE_COSH 1 +#define HAVE_SINH 1 +#define HAVE_TANH 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 GETPGRP_VOID 1 +#define SETPGRP_VOID 1 #define RSHIFT(x,y) ((x)>>(int)y) -#define DEFAULT_KCODE KCODE_NONE #define FILE_COUNT _cnt +#define FILE_READPTR _ptr +#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=.