akosut      96/05/12 14:51:30

  Modified:    src       Configure
  Log:
  Modify Configure to generate *module_names[] with the names of the
  installed modules when writing modules.c
  
  Revision  Changes    Path
  1.6       +6 -0      apache/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache/src/Configure,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -C3 -r1.5 -r1.6
  *** Configure 1996/03/16 22:58:26     1.5
  --- Configure 1996/05/12 21:51:28     1.6
  ***************
  *** 57,62 ****
  --- 57,68 ----
             } \
         print "  NULL"; \
             print "};"; \
  +          print "char *module_names[] = {"; \
  +          for (i = n-1; i > -1; --i) { \
  +              printf "  \"%s\",\n", modules[i]; \
  +          } \
  +        print "  NULL"; \
  +          print "};"; \
       }'
    
    awk >Makefile <$tmpfile '\
  
  
  

Reply via email to