wmnotify_infos.use_ssl = false;
}
else if( number == 1 ) {
+#if HAVE_SSL
wmnotify_infos.use_ssl = true;
+#else
+ fprintf( stderr, "%s error: You must compile %s with SSL support to\n" \
+ "set parameter 'use_ssl' to true in configuration file\n", PACKAGE, PACKAGE );
+ exit( EXIT_FAILURE );
+#endif
}
else {
- fprintf( stderr, "%s: Invalid value for for parameter 'enablebeep' in\n" \
+ fprintf( stderr, "%s: Invalid value for for parameter 'use_ssl' in\n" \
"configuration file (must be 0 or 1): %d\n", PACKAGE, number );
exit( EXIT_FAILURE );
}