Imported Upstream version 1.22.4
[platform/upstream/groff.git] / arch / djgpp / config.sed
1 # Copyright (C) 2000-2018 Free Software Foundation, Inc.
2 #
3 # This configure script is free software; the Free Software Foundation
4 # gives unlimited permission to copy, distribute and modify it.
5
6 # Additional editing of Makefiles and atconfig
7 /ac_given_INSTALL=/,/^CEOF/ {
8   /^s%@g@%/a\
9   /path=/s,:,;,g
10 }
11
12 # DOS-style absolute file names should be supported as well
13 /\*) srcdir=/s,/\*,[\\\\/]* | [A-z]:[\\\\/]*,
14 /\$]\*) INSTALL=/s,\[/\$\]\*,[\\\\/$]* | [A-z]:[\\\\/]*,
15
16 # Who said each line has only \012 at its end?
17 /DEFS=`sed -f/s,'\\012','\\012\\015',
18
19 # Switch the order of the two Sed commands, since DOS path names
20 # could include a colon
21 /ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,