diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1998-03-13 11:18:12 -0500 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-03-16 15:59:16 +0000 |
commit | 9b8c873da9b477cf6707f85a51d6be52310c30b4 (patch) | |
tree | c06b369d79de4ccf3834ee0033ad9723e4b5ba22 /hints | |
parent | 09b7f37c58c6da6f4965b846b64eab7d9a205663 (diff) | |
download | perl-9b8c873da9b477cf6707f85a51d6be52310c30b4.tar.gz |
[Configure PATCH] for OS/2
[Two hunks to Configure failed to apply due to clashes]
p4raw-id: //depot/perl@818
Diffstat (limited to 'hints')
-rw-r--r-- | hints/os2.sh | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/hints/os2.sh b/hints/os2.sh index f11eeb36ed..2293adf446 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -33,25 +33,25 @@ cc='gcc' set $C_INCLUDE_PATH usrinc="$@" IFS="$oifs" - tryman="`../UU/loc . /man $tryman`" + tryman="`./UU/loc . /man $tryman`" tryman="`echo $tryman | tr '\\\' '/'`" # indented to avoid having it *two* times at start - libemx="`../UU/loc os2.a /emx/lib $libemx`" + libemx="`./UU/loc os2.a /emx/lib $libemx`" -usrinc="`../UU/loc stdlib.h /emx/include $usrinc`" +usrinc="`./UU/loc stdlib.h /emx/include $usrinc`" usrinc="`dirname $usrinc | tr '\\\' '/'`" libemx="`dirname $libemx | tr '\\\' '/'`" if test -d $tryman/man1; then sysman="$tryman/man1" else - sysman="`../UU/loc . /man/man1 c:/man/man1 c:/usr/man/man1 d:/man/man1 d:/usr/man/man1 e:/man/man1 e:/usr/man/man1 f:/man/man1 f:/usr/man/man1 g:/man/man1 g:/usr/man/man1 /usr/man/man1`" + sysman="`./UU/loc . /man/man1 c:/man/man1 c:/usr/man/man1 d:/man/man1 d:/usr/man/man1 e:/man/man1 e:/usr/man/man1 f:/man/man1 f:/usr/man/man1 g:/man/man1 g:/usr/man/man1 /usr/man/man1`" fi emxpath="`dirname $libemx`" if test ! -d "$emxpath"; then - emxpath="`../UU/loc . /emx c:/emx d:/emx e:/emx f:/emx g:/emx h:/emx /emx`" + emxpath="`./UU/loc . /emx c:/emx d:/emx e:/emx f:/emx g:/emx h:/emx /emx`" fi if test ! -d "$libemx"; then @@ -61,7 +61,7 @@ if test ! -d "$libemx"; then if test -d "$LIBRARY_PATH"; then libemx="$LIBRARY_PATH" else - libemx="`../UU/loc . X c:/emx/lib d:/emx/lib e:/emx/lib f:/emx/lib g:/emx/lib h:/emx/lib /emx/lib`" + libemx="`./UU/loc . X c:/emx/lib d:/emx/lib e:/emx/lib f:/emx/lib g:/emx/lib h:/emx/lib /emx/lib`" fi fi @@ -72,12 +72,12 @@ if test ! -d "$usrinc"; then if test -d "$C_INCLUDE_PATH"; then usrinc="$C_INCLUDE_PATH" else - usrinc="`../UU/loc . X c:/emx/include d:/emx/include e:/emx/include f:/emx/include g:/emx/include h:/emx/include /emx/include`" + usrinc="`./UU/loc . X c:/emx/include d:/emx/include e:/emx/include f:/emx/include g:/emx/include h:/emx/include /emx/include`" fi fi fi -rsx="`../UU/loc rsx.exe undef $pth`" +rsx="`./UU/loc rsx.exe undef $pth`" if test "$libemx" = "X"; then echo "Cannot find C library!" >&2; fi @@ -164,6 +164,9 @@ else usedl='define' fi +# indented to miss config.sh + _ar="$ar" + # To get into config.sh (should start at the beginning of line) # or you can put it into config.over. plibext="$plibext" @@ -263,11 +266,11 @@ fi # Copy pod: -cp ../README.os2 ../pod/perlos2.pod +cp ./README.os2 ./pod/perlos2.pod # Now install the external modules. We are in the ./hints directory. -cd ../os2/OS2 +cd ./os2/OS2 if ! test -d ../../ext/OS2 ; then mkdir ../../ext/OS2 @@ -295,4 +298,4 @@ done # Now go back -cd ../../hints +cd ../.. |