Check for Perl and sigaction().

Original commit message from CVS:
Check for Perl and sigaction().
This commit is contained in:
David Schleef 2003-05-18 03:31:58 +00:00
parent c51366dc49
commit a47e41e879

View file

@ -67,6 +67,12 @@ AC_ARG_WITH(pkg-config-path,
GST_DOC() GST_DOC()
GST_ARCH() GST_ARCH()
dnl Perl is used in building documentation
AC_PATH_PROG(PERL_PATH, perl, no)
if test x$PERL_PATH = xno; then
AC_MSG_ERROR(Could not find perl)
fi
dnl we require bison for building of some of the marshal files dnl we require bison for building of some of the marshal files
dnl FIXME: check if AC_PROG_YACC is suitable here dnl FIXME: check if AC_PROG_YACC is suitable here
AC_PATH_PROG(BISON_PATH, bison, no) AC_PATH_PROG(BISON_PATH, bison, no)
@ -362,6 +368,11 @@ AC_CHECK_FUNC(posix_memalign,
AC_DEFINE(HAVE_POSIX_MEMALIGN, 1, AC_DEFINE(HAVE_POSIX_MEMALIGN, 1,
[Defined if we have posix_memalign ()])) [Defined if we have posix_memalign ()]))
dnl test for sigaction()
AC_CHECK_FUNC(sigaction,
AC_DEFINE(HAVE_SIGACTION, 1,
[Defined if we have sigaction ()]))
if test "x$PLUGINS_USE_BUILDDIR" = xyes; then if test "x$PLUGINS_USE_BUILDDIR" = xyes; then
AC_DEFINE(PLUGINS_USE_BUILDDIR, 1, [Define if plugins should be loaded from the build tree - only developers should use this]) AC_DEFINE(PLUGINS_USE_BUILDDIR, 1, [Define if plugins should be loaded from the build tree - only developers should use this])
fi fi