Adding a more complete example of porting a library with autotools