View | Details | Raw Unified | Return to bug 180619 | Differences between
and this patch

Collapse All | Expand All

(-)configure (-48 lines)
Lines 35808-35861 Link Here
35808
fi
35808
fi
35809
35809
35810
35810
35811
ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
35812
if test "x$ac_cv_header_uuid_uuid_h" = xyes; then :
35813
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5
35814
$as_echo_n "checking for uuid_generate in -luuid... " >&6; }
35815
if ${ac_cv_lib_uuid_uuid_generate+:} false; then :
35816
  $as_echo_n "(cached) " >&6
35817
else
35818
  ac_check_lib_save_LIBS=$LIBS
35819
LIBS="-luuid  $LIBS"
35820
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35821
/* end confdefs.h.  */
35822
35823
/* Override any GCC internal prototype to avoid an error.
35824
   Use char because int might match the return type of a GCC
35825
   builtin and then its argument prototype would still apply.  */
35826
#ifdef __cplusplus
35827
extern "C"
35828
#endif
35829
char uuid_generate ();
35830
int
35831
main ()
35832
{
35833
return uuid_generate ();
35834
  ;
35835
  return 0;
35836
}
35837
_ACEOF
35838
if ac_fn_c_try_link "$LINENO"; then :
35839
  ac_cv_lib_uuid_uuid_generate=yes
35840
else
35841
  ac_cv_lib_uuid_uuid_generate=no
35842
fi
35843
rm -f core conftest.err conftest.$ac_objext \
35844
    conftest$ac_exeext conftest.$ac_ext
35845
LIBS=$ac_check_lib_save_LIBS
35846
fi
35847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5
35848
$as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }
35849
if test "x$ac_cv_lib_uuid_uuid_generate" = xyes; then :
35850
  LIBS="${LIBS} -luuid"
35851
35852
$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h
35853
35854
35855
fi
35856
35857
35858
fi

Return to bug 180619