rse         98/04/26 11:29:32

  Modified:    .        STATUS
               src      CHANGES Configure
  Log:
  Fix broken ap_config.h generation by avoiding nested function calls which some
  braindead AWK's (like Solaris 2.6 awk) dislike.
  
  PR: 2139
  
  Revision  Changes    Path
  1.331     +1 -0      apache-1.3/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.330
  retrieving revision 1.331
  diff -u -r1.330 -r1.331
  --- STATUS    1998/04/26 16:20:57     1.330
  +++ STATUS    1998/04/26 18:29:26     1.331
  @@ -66,6 +66,7 @@
       * Ralf's paranoia-fixes for the IFS-handling in `configure'
       * Fix for the DEBUG_CGI (#ifdef'ed) situation in mod_cgi.c, PR#2114
       * Ralf's various bugfixes and cleanups for the configure script
  +    * Ralf's workaround for braindead awk when generating ap_config.h, 
PR#2139
   
   Available Patches:
   
  
  
  
  1.794     +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.793
  retrieving revision 1.794
  diff -u -r1.793 -r1.794
  --- CHANGES   1998/04/26 16:20:59     1.793
  +++ CHANGES   1998/04/26 18:29:28     1.794
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b7
   
  +  *) Workaround braindead AWK's when generating ap_config.h: The split() and
  +     substr() functions cannot be nested under vendor AWK from Solaris 2.6.
  +     [Ralf S. Engelschall] PR#2139
  +
     *) Various bugfixes and cleanups for the APACI configure script:
        o fix IFS handling for _nested_ situation
        o fix Perl interpreter search: take first one found instead of last one
  
  
  
  1.246     +2 -1      apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.245
  retrieving revision 1.246
  diff -u -r1.245 -r1.246
  --- Configure 1998/04/22 22:54:55     1.245
  +++ Configure 1998/04/26 18:29:29     1.246
  @@ -1457,7 +1457,8 @@
                printf "/* Automatically generated file - do not edit */\n\n"
        }
        /^-D.*/ {
  -             split(substr($1,3,length($1)),parts,"=")
  +             define = substr($1, 3, length($1)-2)
  +             split(define, parts, "=")
                printf ("#ifndef %s\n#define %s %s\n#endif\n", 
parts[1],parts[1],parts[2])
        }
   '
  
  
  

Reply via email to