1.2b18: NT port trouble [notes + patch]

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 24 Mar 1998 22:51:34 +0100

This is a multi-part message in MIME format.

--------------7D5BB1196D92E97C4C9CCB0F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have now installed gnuwin32 on my NT partition, and attempted a NT
compile.. it looks promising but some "illegal" file names needs to be
changed...

squid/aux
needs to be renamed to something else than aux (aux is a reserved name
in the MS world). For example squid/auxconf

There is a filename collision in squid/src/Mem.c and mem.c. Please
rename Mem.c to MemPool.c, and avoid creating two files with the same
name but different case in the future ;-)

The gnuwin32 header files is far from perfect, and one of the things
that is broken is regex_t. To get around this --enable-gnuregex is
needed but this is currently a no-op.. (patch included).

Now back to NT for another try to get it to compile....

/Henrik

--------------7D5BB1196D92E97C4C9CCB0F
Content-Type: text/plain; charset=us-ascii; name="squid.enable_gnuregex.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="squid.enable_gnuregex.patch"

Index: squid/configure
diff -u squid/configure:1.1.1.9 squid/configure:1.1.1.9.2.1
--- squid/configure:1.1.1.9 Tue Mar 24 19:59:55 1998
+++ squid/configure Tue Mar 24 22:45:25 1998
@@ -3605,7 +3605,7 @@
 
 echo $ac_n "checking if GNUregex needs to be compiled""... $ac_c" 1>&6
 echo "configure:3608: checking if GNUregex needs to be compiled" >&5
-if test "$ac_cv_func_regcomp" = "no" ; then
+if test "$ac_cv_func_regcomp" = "no" || test "$USE_GNUREGEX" = "yes" ; then
         USE_GNUREGEX="yes"
 else
         USE_GNUREGEX="no"
Index: squid/configure.in
diff -u squid/configure.in:1.1.1.11 squid/configure.in:1.1.1.11.2.1
--- squid/configure.in:1.1.1.11 Tue Mar 24 19:59:55 1998
+++ squid/configure.in Tue Mar 24 22:45:26 1998
@@ -666,7 +666,7 @@
 fi
 
 AC_MSG_CHECKING(if GNUregex needs to be compiled)
-if test "$ac_cv_func_regcomp" = "no" ; then
+if test "$ac_cv_func_regcomp" = "no" || test "$USE_GNUREGEX" = "yes" ; then
         USE_GNUREGEX="yes"
 else
         USE_GNUREGEX="no"

--------------7D5BB1196D92E97C4C9CCB0F--
Received on Tue Jul 29 2003 - 13:15:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:44 MST