aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
blob: 7d52deb66d541f706929812ea4f03e7b9757448c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/perl
use strict;
use autodie;

my $mib2c_config = 'src/mysqlstat_mib.mib2c';

die "This file must be run from Mysqlstat top level source directory"
    unless -r $mib2c_config;

print "$0: creating ancillary directories and files\n";
foreach my $dir ('m4', 'build-aux') {
    mkdir($dir) unless -d $dir;
}

unless (-f 'ChangeLog') {
    open(my $fd, '>', 'ChangeLog');
    print $fd <<EOT
This file is a placeholder.  It will be filled with actual data by the first
run of make.
EOT
;
    close $fd;
}

print "$0: reconfiguring\n";
exec('autoreconf -f -i -s');

Return to:

Send suggestions and report system problems to the System administrator.