Executables have .exe extension on OS/2

This commit is contained in:
KO Myung-Hun 2015-05-06 16:19:49 +09:00
parent aeeabefbe5
commit fb22b94007
1 changed files with 2 additions and 1 deletions

View File

@ -314,6 +314,7 @@ ac_testnnd() {
vv ']' "$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN conftest.c $LIBS $ccpr"
test $tcfn = no && test -f a.out && tcfn=a.out
test $tcfn = no && test -f a.exe && tcfn=a.exe
test $tcfn = no && test -f conftest.exe && tcfn=conftest.exe
test $tcfn = no && test -f conftest && tcfn=conftest
if test -f $tcfn; then
test 1 = $fr || fv=1
@ -2340,7 +2341,7 @@ files=
objs=
sp=
case $tcfn in
a.exe) mkshexe=$tfn.exe ;;
a.exe | conftest.exe) mkshexe=$tfn.exe ;;
*) mkshexe=$tfn ;;
esac
case $curdir in