gphoto2: depends on popt and readline.