rbb         99/12/24 13:22:28

  Modified:    src      acinclude.m4
  Log:
  Cleanup the threads check, also resets the CFLAGS and LDFLAGS variables
  in cases where no threading library was found.
  Submitted by: Sascha Schumann
  Reviewed by:  Ryan Bloom
  
  Revision  Changes    Path
  1.12      +8 -6      apache-2.0/src/acinclude.m4
  
  Index: acinclude.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/acinclude.m4,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- acinclude.m4      1999/12/24 19:04:40     1.11
  +++ acinclude.m4      1999/12/24 21:22:27     1.12
  @@ -127,15 +127,17 @@
         LDFLAGS="$test_ldflag $ldflags_orig"
         THREAD_TEST()
         if test "$apache_threads_working" = "yes"; then
  -        break
  +        break 2
         fi
       done
  -    if test "$apache_threads_working" = "yes"; then
  -      threads_result="Updating CFLAGS and LDFLAGS"
  -      break
  -    fi
  -      threads_result="Threads not found"
     done
  +  if test "$apache_threads_working" = "yes"; then
  +    threads_result="POSIX Threads found"
  +  else
  +    CFLAGS="$cflags_orig"
  +    LDFLAGS="$ldflags_orig"
  +    threads_result="POSIX Threads not found"
  +  fi
   ] )
   
   dnl
  
  
  

Reply via email to