KORG microX utility.
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.

16 lines
577 B

9 years ago
  1. dnl ICP_CHECK_NOTCH_FUNCS
  2. dnl Check for various functions that may not be present
  3. dnl everywhere, and for which we provide a replacement.
  4. dnl
  5. AC_DEFUN([ICP_CHECK_NOTCH_FUNCS],[
  6. AC_CHECK_HEADERS([err.h], [], [AC_CONFIG_LINKS([err.h:lib/err.compat.h])])
  7. AC_REPLACE_FUNCS([err])
  8. AC_CHECK_DECLS([program_invocation_short_name], [],
  9. [AC_CHECK_FUNCS([getprogname setprogname], [],
  10. [AC_LIBOBJ([progname])])],
  11. [#include <errno.h>
  12. ])
  13. AC_CHECK_DECLS([P_tmpdir])
  14. AH_BOTTOM([#include <compat.h>
  15. ])
  16. ])