shmpatch-configure_in 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. $OpenBSD: shmpatch-configure_in,v 1.1 2003/11/22 00:56:58 espie Exp $
  2. --- configure.in.orig 2003-06-03 13:58:24.000000000 +0200
  3. +++ configure.in 2003-11-17 23:37:54.000000000 +0100
  4. @@ -1193,17 +1193,17 @@ main() {
  5. exit(0); /* libc version works properly. */
  6. }], AC_DEFINE(USEMEMCPY))
  7. -AC_MSG_CHECKING(long file names)
  8. -(echo 1 > /tmp/conftest9012345) 2>/dev/null
  9. -(echo 2 > /tmp/conftest9012346) 2>/dev/null
  10. -val=`cat /tmp/conftest9012345 2>/dev/null`
  11. -if test -f /tmp/conftest9012345 && test "$val" = 1; then
  12. -AC_MSG_RESULT(yes)
  13. -else
  14. -AC_MSG_RESULT(no)
  15. -AC_DEFINE(NAME_MAX, 14)
  16. -fi
  17. -rm -f /tmp/conftest*
  18. +#AC_MSG_CHECKING(long file names)
  19. +#(echo 1 > /tmp/conftest9012345) 2>/dev/null
  20. +#(echo 2 > /tmp/conftest9012346) 2>/dev/null
  21. +#val=`cat /tmp/conftest9012345 2>/dev/null`
  22. +#if test -f /tmp/conftest9012345 && test "$val" = 1; then
  23. +#AC_MSG_RESULT(yes)
  24. +#else
  25. +#AC_MSG_RESULT(no)
  26. +#AC_DEFINE(NAME_MAX, 14)
  27. +#fi
  28. +#rm -f /tmp/conftest*
  29. AC_MSG_CHECKING(for vsprintf)
  30. AC_TRY_LINK(,[vsprintf(0,0,0);], AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS), AC_MSG_RESULT(no))