Add pkg-config input file and work on the autoconf logic.