rse         98/03/22 23:26:05

  Modified:    src      Configure
  Log:
  Make shared object compilation more portable, because there are vendor
  compilers out there (for instance UnixWare's cc) which don't honor the `-o'
  option when used in combination with the `-c' option. They always create xx.o
  for xx.c and just pass `-o' to the linker phase (which doesn't exist when `-c'
  is used :-( ). This way shared objects are even supported under UnixWare.
  
  Revision  Changes    Path
  1.217     +1 -1      apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.216
  retrieving revision 1.217
  diff -u -r1.216 -r1.217
  --- Configure 1998/03/20 18:29:48     1.216
  +++ Configure 1998/03/23 07:26:03     1.217
  @@ -1416,7 +1416,7 @@
        $(CC) -c $(INCLUDES) $(CFLAGS) $(SPACER) $<
   
   .c.so:
  -     $(CC) -c $(INCLUDES) $(CFLAGS) $(CFLAGS_SHLIB) $(SPACER) -o $*-so.o $<
  +     $(CC) -c $(INCLUDES) $(CFLAGS) $(CFLAGS_SHLIB) $(SPACER) $< && mv $*.o 
$*-so.o
        $(LD) $(LDFLAGS_SHLIB) -o $@ $*-so.o
   
   clean:
  
  
  

Reply via email to