| Igor Schein on Thu, 25 Feb 1999 10:50:07 -0500 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| modifications for configure |
Hi,
Here's a patch that updates Configure for the current cygwin release:
--- Configure~ Wed Feb 17 04:28:13 1999
+++ Configure Thu Feb 25 10:39:10 1999
@@ -362,8 +362,8 @@
# First, construct the PATHs
case "$osname" in
cygwin*) libpth="
- /Cygnus/B19/H-i386-cygwin32/lib\
- /Cygnus/B19/H-i386-cygwin32/i386-cygwin32/lib\
+ /Cygnus/cygwin-B20/H-${arch}-cygwin32/lib\
+ /Cygnus/cygwin-B20/H-${arch}-cygwin32/${arch}-cygwin32/lib\
";;
os2) libpth=`echo $LIBRARY_PATH | sed 's/;/ /g' | sed 's,\\\\,/,g'`;;
*) libpth="\
@@ -470,9 +470,9 @@
case "$osname" in
os2) incpth=`echo $C_INCLUDE_PATH | sed -e 's/\([^;]\)$/\1;/g' -e 's%;%/readline %g' -e 's,\\\\,/,g'` ;;
cygwin*) incpth="\
- /Cygnus/B19/include/readline\
- /Cygnus/B19/include\
- /Cygnus/B19/H-i386-cygwin32/i386-cygwin32/include\
+ /Cygnus/cygwin-B20/include/readline\
+ /Cygnus/cygwin-B20/include\
+ /Cygnus/cygwin-B20/H-${arch}-cygwin32/${arch}-cygwin32/include\
";;
*) incpth="\
/usr/local/include/readline\
It can be improved further, as the release number ( currently B20 )
can be extracted from uname output:
uname -r | cut -d" " -f1
Igor