#![feature(env)] extern crate "pkg-config" as pkg_config; fn main() { match pkg_config::find_library("fftw3") { Ok(_) => return, Err(..) => {} } println!("failed to find libfftw3, and automatically building it is currently unimplemented."); std::env::set_exit_status(1); }