3 @@ -26343,235 +26343,9 @@
5 echo "${nl}Checking for OS UUID Support..."
7 -for ac_header in uuid.h uuid/uuid.h sys/uuid.h
9 - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10 -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11 -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12 - cat >>confdefs.h <<_ACEOF
13 -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21 -apr_revert_save_LIBS=$LIBS
23 -# Prefer the flavor(s) that live in libc;
24 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uuid_create" >&5
25 -$as_echo_n "checking for library containing uuid_create... " >&6; }
26 -if ${ac_cv_search_uuid_create+:} false; then :
27 - $as_echo_n "(cached) " >&6
29 - ac_func_search_save_LIBS=$LIBS
30 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31 -/* end confdefs.h. */
33 -/* Override any GCC internal prototype to avoid an error.
34 - Use char because int might match the return type of a GCC
35 - builtin and then its argument prototype would still apply. */
43 -return uuid_create ();
48 -for ac_lib in '' uuid; do
49 - if test -z "$ac_lib"; then
50 - ac_res="none required"
53 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
55 - if ac_fn_c_try_link "$LINENO"; then :
56 - ac_cv_search_uuid_create=$ac_res
58 -rm -f core conftest.err conftest.$ac_objext \
60 - if ${ac_cv_search_uuid_create+:} false; then :
64 -if ${ac_cv_search_uuid_create+:} false; then :
67 - ac_cv_search_uuid_create=no
70 -LIBS=$ac_func_search_save_LIBS
72 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uuid_create" >&5
73 -$as_echo "$ac_cv_search_uuid_create" >&6; }
74 -ac_res=$ac_cv_search_uuid_create
75 -if test "$ac_res" != no; then :
76 - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
80 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing uuid_generate" >&5
81 -$as_echo_n "checking for library containing uuid_generate... " >&6; }
82 -if ${ac_cv_search_uuid_generate+:} false; then :
83 - $as_echo_n "(cached) " >&6
85 - ac_func_search_save_LIBS=$LIBS
86 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87 -/* end confdefs.h. */
89 -/* Override any GCC internal prototype to avoid an error.
90 - Use char because int might match the return type of a GCC
91 - builtin and then its argument prototype would still apply. */
95 -char uuid_generate ();
99 -return uuid_generate ();
104 -for ac_lib in '' uuid; do
105 - if test -z "$ac_lib"; then
106 - ac_res="none required"
109 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
111 - if ac_fn_c_try_link "$LINENO"; then :
112 - ac_cv_search_uuid_generate=$ac_res
114 -rm -f core conftest.err conftest.$ac_objext \
116 - if ${ac_cv_search_uuid_generate+:} false; then :
120 -if ${ac_cv_search_uuid_generate+:} false; then :
123 - ac_cv_search_uuid_generate=no
126 -LIBS=$ac_func_search_save_LIBS
128 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_uuid_generate" >&5
129 -$as_echo "$ac_cv_search_uuid_generate" >&6; }
130 -ac_res=$ac_cv_search_uuid_generate
131 -if test "$ac_res" != no; then :
132 - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
136 -if test "$ac_cv_search_uuid_create" = "none required" -o \
137 - "$ac_cv_search_uuid_generate" = "none required"; then
138 - LIBS=$apr_revert_save_LIBS
141 -for ac_func in uuid_create uuid_generate
143 - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
144 -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
145 -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
146 - cat >>confdefs.h <<_ACEOF
147 -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
154 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for os uuid usability" >&5
155 -$as_echo_n "checking for os uuid usability... " >&6; }
156 -if ${apr_cv_osuuid+:} false; then :
157 - $as_echo_n "(cached) " >&6
160 -# Ensure this test closely mirrors misc/unix/rand.c!
162 -#if defined(HAVE_SYS_TYPES_H)
163 -#include <sys/types.h>
165 -#if defined(HAVE_UNISTD_H)
168 -#if defined(HAVE_UUID_H)
170 -#elif defined(HAVE_UUID_UUID_H)
171 -#include <uuid/uuid.h>
172 -#elif defined(HAVE_SYS_UUID_H)
173 -#include <sys/uuid.h>
177 - if test $ac_cv_func_uuid_create = yes; then
178 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
179 -/* end confdefs.h. */
187 - uuid_create(&g, &s);
188 - if (s == uuid_s_ok) s = 0;
194 -if ac_fn_c_try_link "$LINENO"; then :
197 - apr_cv_func_uuid_create=no
199 -rm -f core conftest.err conftest.$ac_objext \
200 - conftest$ac_exeext conftest.$ac_ext
202 - if test $ac_cv_func_uuid_generate = yes; then
203 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
204 -/* end confdefs.h. */
217 -if ac_fn_c_try_link "$LINENO"; then :
220 - apr_cv_func_uuid_generate=no
222 -rm -f core conftest.err conftest.$ac_objext \
223 - conftest$ac_exeext conftest.$ac_ext
227 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_cv_osuuid" >&5
228 -$as_echo "$apr_cv_osuuid" >&6; }
230 -if test $apr_cv_osuuid = yes; then
234 - LIBS=$apr_revert_save_LIBS
236 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5