added AM_PROG_CC_C_O for example2