Teluhiko HILANO on Fri, 3 Nov 2000 11:51:57 +0900


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

A patch to Configure for cygnus 1.*


For the latest version of cygnus, Configure does not find readline and
termcap libraries. there is a patch. I hope this patch work correct for
cygwin not to install on
the default directory. (not checked )
-------------------------------------------
385c385
<     cygtop=/Cygnus/cygwin/B$ver
---
>     cygtop=/cygdrive/c
387c387
<       cygtop=/Cygnus/cygwin-B$ver
---
>       cygtop=/Cygnus/cygwin/B$ver
389c389
<         cygtop=/usr/${arch}-pc-cygwin
---
>         cygtop=/Cygnus/cygwin-B$ver
391c391,394
<           echo ..."I could not find Cygwin top directory" >&2
---
>           cygtop=/usr/${arch}-pc-cygwin
>           if test ! -d $cygtop; then
>             echo ..."I could not find Cygwin top directory" >&2
>           fi
400,404c403,416
<    cygwin*) libpth="
<         $cygtop/lib\
<  	$cygtop/H-${arch}-cygwin32/lib\
<  	$cygtop/H-${arch}-cygwin32/${arch}-cygwin32/lib\
<      ";;
---
>    cygwin*) if test "$cygtop" = /cygdrive/c; then
> # cygnus for version 1.*
> 	libpth="
>             /lib\
> 	    /usr/local/lib\
>         "
> 	cygtop=/
>         else
> # cygnus for version 0.*
> 	libpth="
>  	    $cygtop/H-${arch}-cygwin32/lib\
>  	    $cygtop/H-${arch}-cygwin32/${arch}-cygwin32/lib\
>         "
> 	fi;;
-------------------------------------------------
      Teluhiko HILANO(teluhiko@hilano.org)
                 (hilano@gen.kanagawa-it.ac.jp)
                 (RXF13157@nifty.ne.jp)
-------------------------------------------------