medit/m4/moo-funcs.m4

34 lines
932 B
Plaintext
Raw Normal View History

##############################################################################
# MOO_AC_FUNCS()
# various checks needed in moo
#
AC_DEFUN_ONCE([MOO_AC_FUNCS],[
2008-05-25 01:56:25 -05:00
# for xdgmime
AC_CHECK_FUNCS(getc_unlocked)
2007-01-06 04:18:50 -06:00
2008-05-25 01:56:25 -05:00
# for GMappedFile and xdgmime
AC_CHECK_FUNCS(mmap)
2008-05-25 01:56:25 -05:00
AC_CHECK_HEADERS(unistd.h)
2008-05-25 01:56:25 -05:00
# for mooappabout.h
AC_CHECK_HEADERS(sys/utsname.h)
2006-03-15 15:21:48 -06:00
2008-05-25 01:56:25 -05:00
# for mooapp.c
AC_CHECK_HEADERS(signal.h)
2006-06-18 18:31:23 -05:00
2008-05-25 01:56:25 -05:00
# for mdfileops.c
AC_CHECK_FUNCS([link fchown fchmod])
################################################################################
# Terminal stuff
AC_CHECK_HEADERS([poll.h sys/wait.h])
AC_CHECK_HEADERS([sys/termios.h sys/un.h stropts.h termios.h])
AC_CHECK_HEADERS([libutil.h util.h])
AC_CHECK_FUNCS([signal posix_openpt])
AC_CHECK_FUNCS([getpt grantpt unlockpt ptsname ptsname_r])
AC_TYPE_PID_T
AC_HEADER_TIOCGWINSZ
################################################################################
])