From 796dcbf99e5ccbbb34017a79f99c43032a79d3f6 Mon Sep 17 00:00:00 2001
From: Ton Voon <tonvoon@users.sourceforge.net>
Date: Wed, 6 Dec 2006 17:00:30 +0000
Subject: Flag common compile error because of no ar on Solaris

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1543 f882894a-f735-0410-b71e-b25c423dba1c

diff --git a/configure.in b/configure.in
index 0dd8551..706ded1 100644
--- a/configure.in
+++ b/configure.in
@@ -1685,6 +1685,11 @@ dnl External libraries - see ACKNOWLEDGEMENTS
 np_COREUTILS
 np_CURL
 
+dnl Some helpful common compile errors checked here
+if test "$ac_cv_uname_s" = 'SunOS' -a "$ac_cv_prog_ac_ct_AR" = 'false' ; then
+	AC_MSG_ERROR(No ar found for Solaris - is /usr/ccs/bin in PATH?)
+fi
+
 AC_OUTPUT(
   Makefile 
   lib/Makefile 
-- 
cgit v0.10-9-g596f

