Update configure.ac

auto generate makefile for sample code