in cases where no threading library was found.
Submitted by: Sascha Schumann
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84370
13f79535-47bb-0310-9956-
ffa450edef68
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