Code

Flag common compile error because of no ar on Solaris
authorTon Voon <tonvoon@users.sourceforge.net>
Wed, 6 Dec 2006 17:00:30 +0000 (17:00 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Wed, 6 Dec 2006 17:00:30 +0000 (17:00 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1543 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index 0dd8551925cca73a030da179b001ddb2187b2864..706ded1cf956330ce299bec78d514a1a86918961 100644 (file)
@@ -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