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)
|
2008-08-23 14:07:21 -05:00
|
|
|
AC_CHECK_FUNCS([signal])
|
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])
|
|
|
|
|
2008-08-23 14:07:21 -05:00
|
|
|
# for mooutils-fs.c
|
|
|
|
AC_CHECK_HEADERS(sys/wait.h)
|
2005-10-30 23:30:22 +00:00
|
|
|
])
|