You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
754 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -280,6 +280,9 @@ AS_IF([test x != x$ALLOCA],
  4. [LTALLOCA=`echo "$ALLOCA" | sed 's/\.o$//; s/\.obj$//'`.lo])
  5. AC_SUBST(LTALLOCA)
  6. +dnl Check mkostemp (missing in uclibc)
  7. +AC_CHECK_FUNC(mkostemp)
  8. +
  9. dnl Define SOCKET_LIB, NSL_LIB, BIND_LIB, and RESOLV_LIB when required
  10. dnl for functions we use.
  11. AC_CHECK_FUNC(gethostbyaddr,, [AC_CHECK_LIB(bind, gethostbyaddr, BIND_LIB="-lbind")])
  12. --- a/include/sane/config.h.in
  13. +++ b/include/sane/config.h.in
  14. @@ -229,6 +229,9 @@
  15. /* Define to 1 if you have the `mkdir' function. */
  16. #undef HAVE_MKDIR
  17. +/* Define to 1 if you have a working `mkostemp' function. */
  18. +#undef HAVE_MKOSTEMP
  19. +
  20. /* Define to 1 if you have a working `mmap' system call. */
  21. #undef HAVE_MMAP