Преглед изворни кода

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
Ton Voon пре 19 година
родитељ
комит
796dcbf99e
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      configure.in

+ 5 - 0
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