add -Wall -pg into configure