configure.in 533 B

12345678910111213141516171819202122232425
  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_PREREQ([2.12])
  3. AC_INIT(start-stop-daemon.c)
  4. AM_CONFIG_HEADER(config.h)
  5. AC_CHECK_TOOL(CC, gcc)
  6. AC_PROG_CC
  7. AC_CANONICAL_SYSTEM
  8. AC_CHECK_TOOL_PREFIX
  9. AM_INIT_AUTOMAKE(start-stop-daemon,[`sed -n '1s/dpkg (\([0-9.]\+\)).*/\1/p' ${srcdir}/../debian/changelog`])
  10. AC_PREFIX_DEFAULT(/)
  11. AC_PROG_INSTALL
  12. AC_CHECK_HEADERS(error.h hurd.h ps.h hurd/ihash.h)
  13. AC_CHECK_LIB(shouldbeinlibc, fmt_past_time)
  14. AC_CHECK_LIB(ps, proc_stat_list_pid_proc_stat)
  15. AC_OUTPUT(Makefile)