2005-10-30 23:30:22 +00:00
|
|
|
##############################################################################
|
|
|
|
# MOO_AC_FUNCS()
|
|
|
|
# various checks needed in moo
|
|
|
|
#
|
2007-01-02 05:07:30 -06:00
|
|
|
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)
|
2005-10-30 23:30:22 +00:00
|
|
|
|
2008-05-25 01:56:25 -05:00
|
|
|
AC_CHECK_HEADERS(unistd.h)
|
2005-10-30 23:30:22 +00:00
|
|
|
|
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
|
|
|
|
################################################################################
|
2005-10-30 23:30:22 +00:00
|
|
|
])
|