Fix bug #7398 with truncated glyphs in w32 tooltips.
[emacs.git] / msdos / sed1v2.inp
blobe2384ef2866ed29d814cc09a97567edb419b1f94
1 # -sed1v2.inp-----------------------------------------------------------
2 # Configuration script for src/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
6 #   2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
8 # This file is part of GNU Emacs.
10 # This file is free software; as a special exception, the author gives
11 # unlimited permission to copy and/or distribute it, with or without
12 # modifications, as long as this notice is preserved.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 # ----------------------------------------------------------------------
19 s/^#.*//
20 s/^[ \f\t][ \f\t]*$//
21 s/^ /   /
22 s/\.h\.in/.h-in/
23 /^MAKE *=/s/^/# /
24 /^SHELL *=/s/^/# /
25 /^srcdir *=/s/@[^@\n]*@/./
26 /^abs_builddir *=/s|@abs_builddir@|../src|
27 /^VPATH *=/s/@[^@\n]*@/./
28 /^CC *=/s/@[^@\n]*@/gcc/
29 /^CPP *=/s/@[^@\n]*@/gcc -e/
30 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
31 /^ALL_CFLAGS *=/s/@[^@\n]*@//g
32 /^CPPFLAGS *=/s/@[^@\n]*@//
33 /^LDFLAGS *=/s/@[^@\n]*@//
34 /^LD_FIRSTFLAG *=/s/@[^@\n]*@//
35 /^LIBS *=/s/@[^@\n]*@//
36 /^LIBES *=/,/^ *$/ {
37   s/@[^@\n]*@//g
39 /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/
40 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
41 /^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@//
42 /^C_SWITCH_X_SYSTEM *=/s/@C_SWITCH_X_SYSTEM@//
43 /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@//
44 /^C_WARNINGS_SWITCH *=/s/@C_WARNINGS_SWITCH@//
45 /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
46 #/^LD_SWITCH_X_SITE *=/s/@LD_SWITCH_X_SITE@//
47 /^LD_SWITCH_SYSTEM_TEMACS *=/s/@LD_SWITCH_SYSTEM_TEMACS@//
48 /^LD_SWITCH_X_SITE_AUX *=/s/@LD_SWITCH_X_SITE_AUX@//
49 /^LD_SWITCH_X_SITE_AUX_RPATH *=/s/@LD_SWITCH_X_SITE_AUX_RPATH@//
50 /^LD_SWITCH_SYSTEM *=/s/@LD_SWITCH_SYSTEM@//
51 /^TEMACS_LDFLAGS2 *=/s/@TEMACS_LDFLAGS2@/$(LDFLAGS)/
52 /^LIBS_SYSTEM *=/s/@LIBS_SYSTEM@//
53 /^LIB_GCC *=/s/@LIB_GCC@//
54 /^LIB_STANDARD *=/s/@LIB_STANDARD@//
55 /^LIB_MATH *=/s/@LIB_MATH@/-lm/
56 /^LIBTIFF *=/s/@LIBTIFF@//
57 /^LIBJPEG *=/s/@LIBJPEG@//
58 /^LIBPNG *=/s/@LIBPNG@//
59 /^LIBGIF *=/s/@LIBGIF@//
60 /^LIBXPM *=/s/@LIBXPM@//
61 /^XFT_LIBS *=/s/@XFT_LIBS@//
62 /^FONTCONFIG_CFLAGS *=/s/@FONTCONFIG_CFLAGS@//
63 /^FONTCONFIG_LIBS *=/s/@FONTCONFIG_LIBS@//
64 /^FREETYPE_CFLAGS *=/s/@FREETYPE_CFLAGS@//
65 /^FREETYPE_LIBS *=/s/@FREETYPE_LIBS@//
66 /^LIBOTF_CFLAGS *=/s/@LIBOTF_CFLAGS@//
67 /^LIBOTF_LIBS *=/s/@LIBOTF_LIBS@//
68 /^M17N_FLT_CFLAGS *=/s/@M17N_FLT_CFLAGS@//
69 /^M17N_FLT_LIBS *=/s/@M17N_FLT_LIBS@//
70 /^DBUS_CFLAGS *=/s/@DBUS_CFLAGS@//
71 /^DBUS_LIBS *=/s/@DBUS_LIBS@//
72 /^DBUS_OBJ *=/s/@DBUS_OBJ@//
73 /^GCONF_CFLAGS *=/s/@GCONF_CFLAGS@//
74 /^GCONF_LIBS *=/s/@GCONF_LIBS@//
75 /^GTK_OBJ *=/s/@GTK_OBJ@//
76 /^LIBS_TERMCAP *=/s/@LIBS_TERMCAP@//
77 /^TERMCAP_OBJ *=/s/@TERMCAP_OBJ@/termcap.o tparam.o/
78 /^LIBXMU *=/s/@LIBXMU@//
79 /^LIBXSM *=/s/@LIBXSM@//
80 /^LIBXTR6 *=/s/@LIBXTR6@//
81 /^LIBXT_OTHER *=/s/@LIBXT_OTHER@//
82 /^OLDXMENU_TARGET *=/s/@OLDXMENU_TARGET@//
83 /^OLDXMENU_DEPS *=/s/@OLDXMENU_DEPS@//
84 /^XOBJ *=/s/@XOBJ@//
85 /^TOOLKIT_LIBW *=/s/@TOOLKIT_LIBW@//
86 /^LIBSOUND *=/s/@LIBSOUND@//
87 /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@//
88 /^RSVG_LIBS *=/s/@RSVG_LIBS@//
89 /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@//
90 /^IMAGEMAGICK_LIBS *=/s/@IMAGEMAGICK_LIBS@//
91 /^IMAGEMAGICK_CFLAGS *=/s/@IMAGEMAGICK_CFLAGS@//
92 /^LIBXML2_LIBS *=/s/@LIBXML2_LIBS@//
93 /^LIBXML2_CFLAGS *=/s/@LIBXML2_CFLAGS@//
94 /^WIDGET_OBJ *=/s/@WIDGET_OBJ@//
95 /^CYGWIN_OBJ *=/s/@CYGWIN_OBJ@//
96 /^MSDOS_OBJ *=/s/= */= dosfns.o msdos.o w16select.o/
97 /^MSDOS_SUPPORT *=/s/= */= $(MSDOS_SUPPORT_REAL)/
98 /^ns_appdir *=/s/@ns_appdir@//
99 /^ns_appbindir *=/s/@ns_appbindir@//
100 /^ns_appsrc *=/s/@ns_appsrc@//
101 /^NS_OBJ *=/s/@NS_OBJ@//
102 /^NS_SUPPORT *=/s/@NS_SUPPORT@//
103 /^GNU_OBJC_CFLAGS*=/s/@GNU_OBJC_CFLAGS@//
104 /^LIBRESOLV *=/s/@LIBRESOLV@//
105 /^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@//
106 /^LIBGNUTLS_LIBS *=/s/@[^@\n]*@//
107 /^LIBGNUTLS_CFLAGS *=/s/@[^@\n]*@//
108 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
109 /^START_FILES *=/s/@START_FILES@//
110 /^OTHER_FILES *=/s/@OTHER_FILES@//
111 /^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/
112 /^FONT_OBJ *=/s/@FONT_OBJ@//
113 /^MOUSE_SUPPORT *=/s/@MOUSE_SUPPORT@/$(REAL_MOUSE_SUPPORT)/
114 /^TOOLTIP_SUPPORT *=/s/@TOOLTIP_SUPPORT@//
115 /^WINDOW_SUPPORT *=/s/@WINDOW_SUPPORT@//
116 /^LIBGPM *=/s/@LIBGPM@//
117 /^EXEEXT *=/s/@EXEEXT@/.exe/
118 /^OLDXMENU *=/s/@OLDXMENU@/nothing/
119 /^LIBXMENU *=/s/@LIBXMENU@//
120 /^LIBX_OTHER *=/s/@LIBX_OTHER@//
121 /^GMALLOC_OBJ *=/s/@GMALLOC_OBJ@/gmalloc.o/
122 /^VMLIMIT_OBJ *=/s/@VMLIMIT_OBJ@/vm-limit.o/
123 /^RALLOC_OBJ *=/s/@RALLOC_OBJ@/ralloc.o/
124 /^PRE_ALLOC_OBJ *=/s/@PRE_ALLOC_OBJ@/lastfile.o/
125 /^POST_ALLOC_OBJ *=/s/@POST_ALLOC_OBJ@/$(vmlimitobj)/
126 /^UNEXEC_OBJ *=/s/@UNEXEC_OBJ@/unexcoff.o/
127 /^CANNOT_DUMP *=/s/@CANNOT_DUMP@/no/
128 /^DEPFLAGS *=/s/@DEPFLAGS@//
129 /^MKDEPDIR *=/s/@MKDEPDIR@//
130 /^version *=/s/@[^@\n]*@//
131 /^M_FILE *=/s!@M_FILE@!$(srcdir)/m/intel386.h!
132 /^S_FILE *=/s!@S_FILE@!$(srcdir)/s/msdos.h!
133 /^@SET_MAKE@$/s/@SET_MAKE@//
134 /^.\$(libsrc)\/make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
135 /^.\$(libsrc)\/make-doc/s!>.*$!!
136 /^[\f    ]*$/d
137 /^      if test -f/,/^  fi$/c\
138         command.com /c if exist .gdbinit rm -f _gdbinit
139 /^      if test "\$(CANNOT_DUMP)" =/,/^ else /d
140 /^      fi/d
141 /^      LC_ALL=C \$(RUN_TEMACS)/i\
142         stubedit temacs.exe minstack=1024k
143 /^       *LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
144 /-batch -l loadup/a\
145         stubify emacs\
146         stubedit emacs.exe minstack=2048k
147 s/ || exit 1\; \\$//
148 s/ || true\; \\$//
149 /^RUN_TEMACS *=/s|`/bin/pwd`|.|
150 /^       *@\$(MKDEPDIR) *$/d
151 /^      mv \.\/\.gdbinit/d
152 /^      if test -f/,/^  fi$/c\
153         command.com /c if exist .gdbinit rm -f _gdbinit
154 /^      #/d
155 /^      cd.*make-docfile/s!$!; cd ../src!
156 /^      @: /d
157 /^      -\{0,1\} *ln -/s/ln -f/cp -pf/
158 /^[     ]touch /s/touch/djecho $@ >/
159 s/@YMF_PASS_LDFLAGS@/flags/
160 s/@deps_frag@//
161 s/@ns_frag@//
162 s/@PRE_EDIT_LDFLAGS@//
163 s/@POST_EDIT_LDFLAGS@//
164 s/bootstrap-emacs/b-emacs/
165 s/bootstrap-temacs/b-temacs/
166 s/bootstrap-doc/b-doc/
167 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
168 s/echo.*buildobj.lst/dj&/
169 / --load loadup bootstrap/i\
170         stubedit temacs.exe minstack=1024k
171 / --load loadup bootstrap/a\
172         stubify emacs
173 /^      mv -f emacs/a\
174         stubedit b-emacs.exe minstack=3072k\
175         djecho bootlisp > bootlisp
176 /^      -\{0,1\}rm -f/s/\\#/#/
177 /^      @\{0,1\}cd ..\/lisp;.*[^\]$/s|$|\; cd ../src|
178 /^       *THEFILE=/s|$|\; cd ../src|
179 /^      echo.* buildobj.h/s|echo |djecho |
181 # arch-tag: c7e3aacb-4162-460e-99f9-4252bca68d2c