summaryrefslogtreecommitdiff
path: root/arch/djgpp/config.sed
blob: 6127488f43ff9e4ede80aae249f66d9f3b9bcef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Additional editing of Makefiles and atconfig
/ac_given_INSTALL=/,/^CEOF/ {
  /^s%@g@%/a\
  /path=/s,:,;,g
}

# DOS-style absolute file names should be supported as well
/\*) srcdir=/s,/\*,[\\\\/]* | [A-z]:[\\\\/]*,
/\$]\*) INSTALL=/s,\[/\$\]\*,[\\\\/$]* | [A-z]:[\\\\/]*,

# Who said each line has only \012 at its end?
/DEFS=`sed -f/s,'\\012','\\012\\015',

# Switch the order of the two Sed commands, since DOS path names
# could include a colon
/ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,