2 # Configure Script for Hic Est Leo
3 # (c) 2014 Martin Mares <mj@ucw.cz>
10 my $pkgfile = "sym-line.c";
11 if (!defined ($srcdir = $ENV{"SRCDIR"})) {
14 } elsif ($0 =~ m@^(.*)/configure$@ && -f "$1/$pkgfile") {
17 die "Don't know how to find myself. Please set SRCDIR manually.\n";
22 use lib "$srcdir/perl/";
25 Init($srcdir, "default.cfg");
26 Log "### Configuring Hic Est Leo with configuration " . Get("CONFIG") . "\n";
27 Include Get("CONFIG");
28 require UCW::Configure::Paths;
29 require UCW::Configure::C;
30 require UCW::Configure::Pkg;
32 UCW::Configure::Pkg::PkgConfig("libucw") or Fail("libucw is required");
33 UCW::Configure::Pkg::PkgConfig("libucw-charset") or Fail("libucw-charset is required");
34 UCW::Configure::Pkg::PkgConfig("libucw-xml") or Fail("libucw-xml is required");
35 UCW::Configure::Pkg::PkgConfig("pangoft2") or Fail("pangoft2 is required");
36 UCW::Configure::Pkg::PkgConfig("freetype2") or Fail("freetype2 is required");
39 Log "\nConfigured, run `make' to build everything.\n";