2020-07-05 19:55:30 +00:00
|
|
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ 60cbef0)
|
2020-08-11 07:43:02 +00:00
|
|
|
// from gir-files (https://github.com/gtk-rs/gir-files @ a1b3b9d)
|
2019-03-19 07:37:29 +00:00
|
|
|
// DO NOT EDIT
|
|
|
|
|
2019-08-05 10:06:30 +00:00
|
|
|
#[cfg(not(feature = "dox"))]
|
2020-06-23 14:12:51 +00:00
|
|
|
extern crate system_deps;
|
2017-12-16 12:33:19 +00:00
|
|
|
|
2019-08-05 10:06:30 +00:00
|
|
|
#[cfg(not(feature = "dox"))]
|
2017-12-16 12:33:19 +00:00
|
|
|
use std::io;
|
2019-08-05 10:06:30 +00:00
|
|
|
#[cfg(not(feature = "dox"))]
|
2019-06-18 10:04:39 +00:00
|
|
|
use std::io::prelude::*;
|
2019-08-05 10:06:30 +00:00
|
|
|
#[cfg(not(feature = "dox"))]
|
2017-12-16 12:33:19 +00:00
|
|
|
use std::process;
|
|
|
|
|
2019-08-05 10:06:30 +00:00
|
|
|
#[cfg(feature = "dox")]
|
|
|
|
fn main() {} // prevent linking libraries to avoid documentation failure
|
|
|
|
|
|
|
|
#[cfg(not(feature = "dox"))]
|
2017-12-16 12:33:19 +00:00
|
|
|
fn main() {
|
2020-06-23 14:12:51 +00:00
|
|
|
if let Err(s) = system_deps::Config::new().probe() {
|
2020-07-05 19:55:30 +00:00
|
|
|
let _ = eprintln!("{}", s);
|
2017-12-16 12:33:19 +00:00
|
|
|
process::exit(1);
|
|
|
|
}
|
|
|
|
}
|