|
Lines 38189-38242
Link Here
|
| 38189 |
|
38189 |
|
| 38190 |
|
38190 |
|
| 38191 |
|
38191 |
|
| 38192 |
ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" |
|
|
| 38193 |
if test "x$ac_cv_header_uuid_uuid_h" = xyes; then : |
| 38194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 |
| 38195 |
$as_echo_n "checking for uuid_generate in -luuid... " >&6; } |
| 38196 |
if ${ac_cv_lib_uuid_uuid_generate+:} false; then : |
| 38197 |
$as_echo_n "(cached) " >&6 |
| 38198 |
else |
| 38199 |
ac_check_lib_save_LIBS=$LIBS |
| 38200 |
LIBS="-luuid $LIBS" |
| 38201 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 38202 |
/* end confdefs.h. */ |
| 38203 |
|
| 38204 |
/* Override any GCC internal prototype to avoid an error. |
| 38205 |
Use char because int might match the return type of a GCC |
| 38206 |
builtin and then its argument prototype would still apply. */ |
| 38207 |
#ifdef __cplusplus |
| 38208 |
extern "C" |
| 38209 |
#endif |
| 38210 |
char uuid_generate (); |
| 38211 |
int |
| 38212 |
main () |
| 38213 |
{ |
| 38214 |
return uuid_generate (); |
| 38215 |
; |
| 38216 |
return 0; |
| 38217 |
} |
| 38218 |
_ACEOF |
| 38219 |
if ac_fn_c_try_link "$LINENO"; then : |
| 38220 |
ac_cv_lib_uuid_uuid_generate=yes |
| 38221 |
else |
| 38222 |
ac_cv_lib_uuid_uuid_generate=no |
| 38223 |
fi |
| 38224 |
rm -f core conftest.err conftest.$ac_objext \ |
| 38225 |
conftest$ac_exeext conftest.$ac_ext |
| 38226 |
LIBS=$ac_check_lib_save_LIBS |
| 38227 |
fi |
| 38228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 |
| 38229 |
$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } |
| 38230 |
if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then : |
| 38231 |
LIBS="${LIBS} -luuid" |
| 38232 |
|
| 38233 |
$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h |
| 38234 |
|
| 38235 |
|
| 38236 |
fi |
| 38237 |
|
| 38238 |
|
| 38239 |
fi |
| 38240 |
|
38192 |
|
| 38241 |
|
38193 |
|
| 38242 |
|
38194 |
|