1
0

patch-configure 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --- collectd-4.10.0.orig/configure 2010-05-01 11:16:01.000000000 +0200
  2. +++ collectd-4.10.0/configure 2010-06-14 15:51:32.263465769 +0200
  3. @@ -16636,53 +16636,6 @@ $as_echo "#define HAVE_GEN_GETMNTENT 1"
  4. fi
  5. -# Check for htonll
  6. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if have htonll defined" >&5
  7. -$as_echo_n "checking if have htonll defined... " >&6; }
  8. -
  9. - have_htonll="no"
  10. - if test "$cross_compiling" = yes; then :
  11. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  12. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13. -as_fn_error "cannot run test program while cross compiling
  14. -See \`config.log' for more details." "$LINENO" 5; }
  15. -else
  16. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17. -/* end confdefs.h. */
  18. -
  19. -
  20. -#include <sys/types.h>
  21. -#include <netinet/in.h>
  22. -#if HAVE_INTTYPES_H
  23. -# include <inttypes.h>
  24. -#endif
  25. -
  26. -int
  27. -main ()
  28. -{
  29. -
  30. - return htonll(0);
  31. -
  32. - ;
  33. - return 0;
  34. -}
  35. -
  36. -_ACEOF
  37. -if ac_fn_c_try_run "$LINENO"; then :
  38. -
  39. - have_htonll="yes"
  40. -
  41. -$as_echo "#define HAVE_HTONLL 1" >>confdefs.h
  42. -
  43. -
  44. -fi
  45. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  46. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  47. -fi
  48. -
  49. -
  50. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_htonll" >&5
  51. -$as_echo "$have_htonll" >&6; }
  52. # Check for structures
  53. ac_fn_c_check_member "$LINENO" "struct if_data" "ifi_ibytes" "ac_cv_member_struct_if_data_ifi_ibytes" "