Example scripts may not be needed always. It might be a helpful option to disable its compilation.
Added option of disabling using --with-examples=no option in for autoconf.

Please find the attached patch.

Regards

--
*Venkatesh Shukla*