From c6cead5dfe1080eabac232527e31f3f3a6de325e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 16 Sep 1997 20:52:45 +0000 Subject: Autoconfigure correctly for SunOS boxes. svn path=/trunk/; revision=1355 --- configure.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 949e68c2..385292b3 100644 --- a/configure.in +++ b/configure.in @@ -128,6 +128,17 @@ AC_TRY_LINK([#include [AC_DEFINE(SYS_SIGLIST_DECLARED) AC_MSG_RESULT(yes)], AC_MSG_RESULT(no)) +# Find the right directory to put the root-mode PID file in +for dir in "/var/run" "/etc" +do + if test -d $dir + then + break; + fi +done +AC_MSG_RESULT(root-mode pid file will go in $dir) +AC_DEFINE_UNQUOTED(PID_DIR, "$dir") + AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) -- cgit v1.2.3