/[emacs]/emacs/msdos/sed2.inp
ViewVC logotype

Diff of /emacs/msdos/sed2.inp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by eliz, Fri Dec 7 17:57:52 2001 UTC revision 1.26 by eliz, Tue Apr 16 17:36:19 2002 UTC
# Line 2  Line 2 
2  # Configuration script for src/config.h  # Configuration script for src/config.h
3  # ----------------------------------------------------------------------  # ----------------------------------------------------------------------
4  #  #
5  # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000  # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2002
6  #   Free Software Foundation, Inc.  #   Free Software Foundation, Inc.
7  #  #
8  # This file is part of GNU Emacs.  # This file is part of GNU Emacs.
# Line 20  Line 20 
20  /^#undef GNU_MALLOC *$/s/undef/define/  /^#undef GNU_MALLOC *$/s/undef/define/
21  /^#undef REL_ALLOC *$/s/undef/define/  /^#undef REL_ALLOC *$/s/undef/define/
22  /^#undef HAVE_SYS_SELECT/i\  /^#undef HAVE_SYS_SELECT/i\
 #if defined(__DJGPP__) && __DJGPP__ > 1\  
 /* In v2.0 and later almost everything is defined in <sys/config.h>  */\  
 #include <sys/config.h>\  
 /* For those who still use DJGPP v2.01  */\  
 #if __DJGPP__ == 2 && __DJGPP_MINOR__ == 1\  
 #define NSIG 320\  
 #endif\  
 #define HAVE_SETITIMER 1\  
 #undef HAVE_SELECT\  
 #undef _LIBC\  
 #define HAVE_STRUCT_UTIMBUF 1\  
 #define LOCALTIME_CACHE 1\  
 #define HAVE_TZSET 1\  
 #define HAVE_LOGB 1\  
 #define HAVE_FREXP 1\  
 #define HAVE_FMOD 1\  
 #define HAVE_RINT 1\  
 #define HAVE_CBRT 1\  
 #define HAVE_FPATHCONF 1\  
 #define HAVE_SETRLIMIT 1\  
 #define HAVE_TM_GMTOFF 1\  
 #define HAVE_MBLEN 1\  
 #define HAVE_STRUCT_TIMEZONE 1\  
 #define HAVE_INDEX 1\  
 #define HAVE_RINDEX 1\  
 #define HAVE_MKSTEMP 1\  
 #else /* not __DJGPP__ > 1 */  
23  /^#undef STDC_HEADERS *$/s/undef/define/  /^#undef STDC_HEADERS *$/s/undef/define/
24  /^#undef HAVE_SYS_TIMEB_H *$/s/undef/define/  /^#undef HAVE_SYS_TIMEB_H *$/s/undef/define/
25  /^#undef HAVE_SYS_TIME_H *$/s/undef/define/  /^#undef HAVE_SYS_TIME_H *$/s/undef/define/
# Line 71  Line 44 
44  /^#undef HAVE_MKTIME *$/s/undef/define/  /^#undef HAVE_MKTIME *$/s/undef/define/
45  /^#undef HAVE_STRERROR *$/s/undef/define/  /^#undef HAVE_STRERROR *$/s/undef/define/
46  /^#undef HAVE_TIMEVAL *$/s/undef/define/  /^#undef HAVE_TIMEVAL *$/s/undef/define/
 / HAVE_TIMEVAL/a\  
 #endif /* not __DJGPP__ > 1 */  
47  s/^#define USER_FULL_NAME .*$/#define USER_FULL_NAME (getenv ("NAME"))/  s/^#define USER_FULL_NAME .*$/#define USER_FULL_NAME (getenv ("NAME"))/
48  s/^#undef STACK_DIRECTION *$/#define STACK_DIRECTION -1/  s/^#undef STACK_DIRECTION *$/#define STACK_DIRECTION -1/
49  s/^#undef EMACS_CONFIGURATION *$/#define EMACS_CONFIGURATION "i386-pc-msdosdjgpp"/  s/^#undef EMACS_CONFIGURATION *$/#define EMACS_CONFIGURATION "i386-pc-msdosdjgpp"/
# Line 81  s!^#undef config_opsysfile *$!#define co Line 52  s!^#undef config_opsysfile *$!#define co
52  s!^#undef config_machfile *$!#define config_machfile "m/intel386.h"!  s!^#undef config_machfile *$!#define config_machfile "m/intel386.h"!
53  s/^#undef PROTOTYPES *$/#define PROTOTYPES 1/  s/^#undef PROTOTYPES *$/#define PROTOTYPES 1/
54  s/^#undef POINTER_TYPE *$/#define POINTER_TYPE void/  s/^#undef POINTER_TYPE *$/#define POINTER_TYPE void/
 # ------------------------------------------------------------  
 # Without this ifndef, gcc -E -traditional barfs with GCC 3.0  
 # on the line which says if ! HAVE_MKTIME...  
 # ------------------------------------------------------------  
 /^#if ! HAVE_MKTIME || BROKEN_MKTIME/i\  
 #ifndef __DJGPP__  
 /^#define mktime emacs_mktime/a\  
 #endif  

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26