Permalink
Browse files

store configure options in pnp4nagios_release

  • Loading branch information...
1 parent ec1dd79 commit c44b489f69b037b56615625873a9844b9ed5618d @lingej committed Feb 13, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 sample-config/pnp/pnp4nagios_release.in
  2. +1 −0 scripts/verify_pnp_config_v2.pl
@@ -4,5 +4,5 @@ PKG_NAME="@PKG_NAME@"
#
# Configure Arguments
-# ./configure @ac_configure_args@
#
+CONFIGURE_ARGS=@ac_configure_args@
@@ -150,6 +150,7 @@
if( -r "$PNPCfg/pnp4nagios_release" ){
process_pnp4nagios_release("$PNPCfg/pnp4nagios_release");
info("Found PNP4Nagios version ".get_config_var('PKG_VERSION'), 0);
+ info("./configure Options ".get_config_var('CONFIGURE_ARGS'), 0) if get_config_var('CONFIGURE_ARGS');
}else{
info("No pnp4nagios_release file found. This might be an older version of PNP4Nagios", 0);
}

0 comments on commit c44b489

Please sign in to comment.