Declared a variable in settings.php
$conf['my-variable'] ="my-variable-value";
Added inline javascript
drupal_add_js("array('my-variable'=>variable_get('my-variable'))");
Need to print variable values from Drupal.setttings in inline js
drupal_add_js("jQuery(document).ready(function(){
window.my-val = Drupal.settings.my-variable;
})",'inline');
So the output on page is comming up like
<script type="text/javascript">
window.my-val =Drupal.settings.my-variable;
</script>
But I need it should be like below for seo requirement
<script type="text/javascript">
window.my-val = "my-variable-value";
</script>