Remove leftover references to log-view-message-face
[emacs.git] / msdos / sed1v2.inp
blob5431d2bd6c1e2bc805fca51aba2ac60385631674
1 # -sed1v2.inp-----------------------------------------------------------
2 # Configuration script for src/Makefile under DJGPP v2.x
3 # ----------------------------------------------------------------------
5 # Copyright (C) 1996-1997, 1999-2017 Free Software Foundation, Inc.
7 # This file is part of GNU Emacs.
9 # This file is free software; as a special exception, the author gives
10 # unlimited permission to copy and/or distribute it, with or without
11 # modifications, as long as this notice is preserved.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 # ----------------------------------------------------------------------
18 s/^[ \f\t][ \f\t]*$//
19 s/^ /   /
20 s/\.h\.in/.h-in/
21 /^SHELL *=/s/^/# /
22 /^srcdir *=/s/@[^@\n]*@/./
23 /^top_srcdir *=/s/@[^@\n]*@/../
24 /^CC *=/s/@[^@\n]*@/gcc -std=gnu99/
25 /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/
26 /^ALL_CFLAGS *=/s/@[^@\n]*@//g
27 /^ALL_CFLAGS *=/s/ -I\.//g
28 /^CPPFLAGS *=/s|@[^@\n]*@|-I../msdos|
29 /^LDFLAGS *=/s/@[^@\n]*@//
30 /^LIBOBJS *=/s/@[^@\n]*@//
31 /^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@//
32 /^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@//
33 /^GNUSTEP_CFLAGS *=/s/@GNUSTEP_CFLAGS@//
34 /^C_SWITCH_X_SITE *=/s/@C_SWITCH_X_SITE@//
35 /^PNG_CFLAGS *=/s/@PNG_CFLAGS@//
36 /^WARN_CFLAGS *=/s/@WARN_CFLAGS@//
37 /^WERROR_CFLAGS *=/s/@WERROR_CFLAGS@//
38 /^PROFILING_CFLAGS *=/s/@PROFILING_CFLAGS@//
39 #/^LD_SWITCH_X_SITE *=/s/@LD_SWITCH_X_SITE@//
40 /^LD_SWITCH_SYSTEM_TEMACS *=/s/@LD_SWITCH_SYSTEM_TEMACS@//
41 /^LD_SWITCH_X_SITE_AUX *=/s/@LD_SWITCH_X_SITE_AUX@//
42 /^LD_SWITCH_X_SITE_AUX_RPATH *=/s/@LD_SWITCH_X_SITE_AUX_RPATH@//
43 /^LD_SWITCH_X_SITE_RPATH *=/s/@LD_SWITCH_X_SITE_RPATH@//
44 /^LD_SWITCH_SYSTEM *=/s/@LD_SWITCH_SYSTEM@//
45 /^LIBS_SYSTEM *=/s/@LIBS_SYSTEM@//
46 /^LIB_GCC *=/s/@LIB_GCC@//
47 /^LIB_STANDARD *=/s/@LIB_STANDARD@//
48 /^LIB_MATH *=/s/@LIB_MATH@/-lm/
49 /^LIB_PTHREAD *=/s/@LIB_PTHREAD@//
50 /^LIB_ACL *=/s/@LIB_ACL@//
51 /^LIB_EACCESS *=/s/@LIB_EACCESS@//
52 /^LIB_FDATASYNC *=/s/@LIB_FDATASYNC@//
53 s/ *@LIBTIFF@//
54 s/ *@LIBJPEG@//
55 s/ *@LIBPNG@//
56 s/ *@LIBGIF@//
57 s/ *@LIBXPM@//
58 /^XFT_LIBS *=/s/@XFT_LIBS@//
59 /^XCB_LIBS *=/s/@XCB_LIBS@//
60 /^FONTCONFIG_CFLAGS *=/s/@FONTCONFIG_CFLAGS@//
61 /^FONTCONFIG_LIBS *=/s/@FONTCONFIG_LIBS@//
62 /^FREETYPE_CFLAGS *=/s/@FREETYPE_CFLAGS@//
63 /^FREETYPE_LIBS *=/s/@FREETYPE_LIBS@//
64 /^LIBOTF_CFLAGS *=/s/@LIBOTF_CFLAGS@//
65 /^LIBOTF_LIBS *=/s/@LIBOTF_LIBS@//
66 /^M17N_FLT_CFLAGS *=/s/@M17N_FLT_CFLAGS@//
67 /^M17N_FLT_LIBS *=/s/@M17N_FLT_LIBS@//
68 /^DBUS_CFLAGS *=/s/@DBUS_CFLAGS@//
69 /^DBUS_LIBS *=/s/@DBUS_LIBS@//
70 /^DBUS_OBJ *=/s/@DBUS_OBJ@//
71 /^NOTIFY_OBJ *=/s/@NOTIFY_OBJ@//
72 /^SETTINGS_CFLAGS *=/s/@SETTINGS_CFLAGS@//
73 /^SETTINGS_LIBS *=/s/@SETTINGS_LIBS@//
74 /^NOTIFY_LIBS *=/s/@NOTIFY_LIBS@//
75 /^NOTIFY_CFLAGS *=/s/@NOTIFY_CFLAGS@//
76 /^GTK_OBJ *=/s/@GTK_OBJ@//
77 /^LIBS_TERMCAP *=/s/@LIBS_TERMCAP@//
78 /^TERMCAP_OBJ *=/s/@TERMCAP_OBJ@/termcap.o tparam.o/
79 /^LIBXMU *=/s/@LIBXMU@//
80 /^LIBXSM *=/s/@LIBXSM@//
81 /^LIBXTR6 *=/s/@LIBXTR6@//
82 /^LIBXT_OTHER *=/s/@LIBXT_OTHER@//
83 /^OLDXMENU_TARGET *=/s/@OLDXMENU_TARGET@//
84 /^OLDXMENU_DEPS *=/s/@OLDXMENU_DEPS@//
85 /^XOBJ *=/s/@XOBJ@//
86 /^XGSELOBJ *=/s/@XGSELOBJ@//
87 /^TOOLKIT_LIBW *=/s/@TOOLKIT_LIBW@//
88 /^LIBSOUND *=/s/@LIBSOUND@//
89 /^LIBS_GNUSTEP *=/s/=.*$/=/
90 /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@//
91 /^RSVG_LIBS *=/s/@RSVG_LIBS@//
92 /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@//
93 /^IMAGEMAGICK_LIBS *=/s/@IMAGEMAGICK_LIBS@//
94 /^IMAGEMAGICK_CFLAGS *=/s/@IMAGEMAGICK_CFLAGS@//
95 /^LIBXML2_LIBS *=/s/@LIBXML2_LIBS@//
96 /^LIBXML2_CFLAGS *=/s/@LIBXML2_CFLAGS@//
97 /^WIDGET_OBJ *=/s/@WIDGET_OBJ@//
98 /^XWIDGETS_OBJ *=/s/@XWIDGETS_OBJ@//
99 /^WEBKIT_LIBS *=/s/@WEBKIT_LIBS@//
100 /^WEBKIT_CFLAGS *=/s/@WEBKIT_CFLAGS@//
101 /^CAIRO_LIBS *=/s/@CAIRO_LIBS@//
102 /^CAIRO_CFLAGS *=/s/@CAIRO_CFLAGS@//
103 /^XFIXES_LIBS *=/s/@XFIXES_LIBS@//
104 /^XFIXES_CFLAGS *=/s/@XFIXES_CFLAGS@//
105 /^CYGWIN_OBJ *=/s/@CYGWIN_OBJ@//
106 /^WINDOW_SYSTEM_OBJ *=/s/@WINDOW_SYSTEM_OBJ@//
107 /^MSDOS_OBJ *=/s/= */= dosfns.o msdos.o w16select.o/
108 /^NS_OBJ *=/s/@NS_OBJ@//
109 /^NS_OBJC_OBJ *=/s/@NS_OBJC_OBJ@//
110 /^GNU_OBJC_CFLAGS*=/s/=.*$/=/
111 /^LIBRESOLV *=/s/@LIBRESOLV@//
112 /^LIBMODULES *=/s/@LIBMODULES@//
113 /^MODULES_OBJ *=/s/@MODULES_OBJ@//
114 /^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@//
115 /^LIB_CLOCK_GETTIME *=/s/@[^@\n]*@//g
116 /^LIB_TIMER_TIME *=/s/@[^@\n]*@//g
117 /^LIB_EXECINFO *=/s/@[^@\n]*@//g
118 /^LIBGNUTLS_LIBS *=/s/@[^@\n]*@//
119 /^LIBGNUTLS_CFLAGS *=/s/@[^@\n]*@//
120 /^GETLOADAVG_LIBS *=/s/@[^@\n]*@//
121 /^START_FILES *=/s/@START_FILES@//
122 /^OTHER_FILES *=/s/@OTHER_FILES@//
123 /^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/
124 /^FONT_OBJ *=/s/@FONT_OBJ@//
125 /^LIBGPM *=/s/@LIBGPM@//
126 /^LIBZ *=/s/@LIBZ@//
127 /^EXEEXT *=/s/@EXEEXT@/.exe/
128 /^MKDIR_P *=/s/@MKDIR_P@/gmkdir -p/
129 /^OLDXMENU *=/s/@OLDXMENU@/nothing/
130 /^LIBXMENU *=/s/@LIBXMENU@//
131 /^LIBX_OTHER *=/s/@LIBX_OTHER@//
132 /^XRANDR_LIBS *=/s/@XRANDR_LIBS@//
133 /^XRANDR_CFLAGS *=/s/@XRANDR_CFLAGS@//
134 /^XINERAMA_LIBS *=/s/@XINERAMA_LIBS@//
135 /^XINERAMA_CFLAGS *=/s/@XINERAMA_CFLAGS@//
136 /^GMALLOC_OBJ *=/s/@GMALLOC_OBJ@/gmalloc.o/
137 /^VMLIMIT_OBJ *=/s/@VMLIMIT_OBJ@/vm-limit.o/
138 /^FIRSTFILE_OBJ *=/s/@FIRSTFILE_OBJ@//
139 /^RALLOC_OBJ *=/s/@RALLOC_OBJ@/ralloc.o/
140 /^PRE_ALLOC_OBJ *=/s/@PRE_ALLOC_OBJ@/lastfile.o/
141 /^POST_ALLOC_OBJ *=/s/@POST_ALLOC_OBJ@/$(vmlimitobj)/
142 /^UNEXEC_OBJ *=/s/@UNEXEC_OBJ@/unexcoff.o/
143 /^CANNOT_DUMP *=/s/@CANNOT_DUMP@/no/
144 /^DEPFLAGS *=/s/@DEPFLAGS@//
145 /^MKDEPDIR *=/s/@MKDEPDIR@//
146 /^W32_OBJ *=/s/@W32_OBJ@//
147 /^W32_LIBS *=/s/@W32_LIBS@//
148 /^version *=/s/@[^@\n]*@//
149 /^EMACSRES *=/s/@EMACSRES@//
150 /^W32_RES_LINK *=/s/@W32_RES_LINK@//
151 /^CM_OBJ *=/s/@CM_OBJ@/cm.o/
152 /^@SET_MAKE@$/s/@SET_MAKE@//
153 /^ADDSECTION *=/s/@ADDSECTION@//
154 /^AM_DEFAULT_VERBOSITY *=/s/@AM_DEFAULT_VERBOSITY@/1/
155 /^[Aa][Mm]_/s/@AM_V@/$(V)/
156 /^[Aa][Mm]_/s/@AM_DEFAULT_V@/$(AM_DEFAULT_VERBOSITY)/
157 /^AUTO_DEPEND *=/s/@AUTO_DEPEND@/yes/
158 /^PAXCTL_dumped *=/s/=.*$/=/
159 /^PAXCTL_notdumped *=/s/=.*$/=/
160 /^lisp\.mk:/,/^$/c\
161 lisp.mk: $(lispsource)/loadup.el\
162         @rm -f $@\
163         ${AM_V_GEN}printf 'shortlisp = \\n' > $@\
164         ${AM_V_GEN}sed -n 's/^[ \t]*(load "\([^"]*\)".*/\1/p' $< | sed -e "s/$/.elc \/" -e "s/\.el\.elc/.el/" >> $@\
165         ${AM_V_GEN}djecho ""  >> $@
169 /^      [       ]*\$(AM_V_at)\$(libsrc)\/make-docfile -d/s!make-docfile!make-docfile -o $(etc)/DOC!
170 / > \$(etc)\/DOC *$/s/ >.*$//
171 /^      [       ]*\$(AM_V_GLOBALS)\$(libsrc)\/make-docfile.*>.*globals.tmp/s!make-docfile!make-docfile -o globals.tmp!
172 /^      [       ]*\$(AM_V_GLOBALS)\$(libsrc)\/make-doc/s!>.*$!!
173 /^\$(libsrc)\/make-docfile\$(EXEEXT): /i\
174         cd ../src
175 /^\$(leimdir)\/leim-list.el: /s/bootstrap-emacs\$(EXEEXT)/b-emacs$(EXEEXT)/
176 /^      if test -f/,/^  fi$/c\
177         command.com /c if exist .gdbinit rm -f _gdbinit
178 /^       *ifneq (\$(PAXCTL_notdumped),)/,/^      *endif/d
179 /^       *ifneq (\$(PAXCTL_dumped),)/,/^         *endif/d
180 /^       *ln /s/ln /cp /
181 /^       *\$(SETFATTR_if_present) -n/d
182 /^      fi/d
183 /^       *\$(RUN_TEMACS) /i\
184         stubedit temacs.exe minstack=1024k
185 /^       *LC_ALL=C \$(RUN_TEMACS)/i\
186         stubedit temacs.exe minstack=1024k
187 /^       *LC_ALL=C.*\$(RUN_TEMACS)/s/LC_ALL=C/set &;/
188 /-batch -l loadup/a\
189         stubify emacs\
190         stubedit emacs.exe minstack=3072k
191 s/ @true *$/ @rem/
192 s/^     [^      ]*move-if-change /      update /
193 /^      [^      ]*echo[         ][      ]*timestamp/s/echo /djecho /
194 /^      .*djecho timestamp/a\
195         @rm -f globals.tmp
196 /^       *@\$(MKDEPDIR) *$/d
197 /^      mv \.\/\.gdbinit/d
198 /^      if test -f/,/^  fi$/c\
199         command.com /c if exist .gdbinit rm -f _gdbinit
200 /^      #/d
201 /^      @: /d
202 /^      -\{0,1\} *ln /s/ln /cp /
203 /^[     ]touch /s/touch/djecho $@ >/
204 s/@YMF_PASS_LDFLAGS@/flags/
205 s/@PRE_EDIT_LDFLAGS@//
206 s/@POST_EDIT_LDFLAGS@//
207 s/bootstrap-emacs/b-emacs/
208 s/bootstrap-temacs/b-temacs/
209 s/bootstrap-doc/b-doc/
210 /rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
211 s/echo.*buildobj.lst/dj&/
212 / --load loadup bootstrap/a\
213         stubify emacs
214 /^      mv -f emacs/a\
215         stubedit b-emacs.exe minstack=3072k\
216         djecho bootlisp > bootlisp
217 /^      -\{0,1\}rm -f/s/\\#/#/
218 /^      echo.* buildobj.h/s|echo |djecho |
219 /^buildobj\.h:/,/^       *\$(AM_V_at)mv /{
220   /^     *\$(AM_V_GEN)for /,/^   *done /c\
221         djecho "$(ALLOBJS)" | sed -e 's/^ */"/' -e 's/ *$$/"/' -e 's/  */", "/g' >>$@.tmp
223 # Remove or replace dependencies we cannot have
224 /^\.PRECIOUS: /s!\.\./config.status !!
225 /^\.\.\/config.status: /d
226 /^Makefile: /s!\.\./config.status !!
227 /^\$(top_srcdir)\/aclocal\.m4 /,/^doc\.o:/c\
229 doc.o: buildobj.h
230 # Make the GCC command line fit one screen line
231 /^[     ][      ]*\$(GNUSTEP_CFLAGS)/d
232 /^[     ][      ]*\$(GCONF_CFLAGS)/d
233 /^[     ][      ]*\$(LIBGNUTLS_CFLAGS)/d
234 s/\$(LIBOTF_CFLAGS) \$(M17N_FLT_CFLAGS) \$(DEPFLAGS) //
235 s/ \$(C_SWITCH_X_SITE)//
236 s/ \$(DBUS_CFLAGS)//
237 s/ \$(PNG_CFLAGS) //
238 s/ \$(XINERAMA_CFLAGS)//
239 s/ \$(XFIXES_CFLAGS)//
240 s/ \$(FREETYPE_CFLAGS)//
241 s/ \$(FONTCONFIG_CFLAGS)//
242 s| -I\$(srcdir)/\.\./lib||
243 s| -I\$(top_srcdir)/lib||
244 # Add our local inttypes.h to prerequisites where needed
245 /^lread\.o:/s|lread\.c|& ../msdos/inttypes.h|
246 /^       *test "X/d