Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4ecfc231
Kaydet (Commit)
4ecfc231
authored
May 17, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Show all available distro configs
Change-Id: Ibecd89bb12b3e488a4cf25766bd6ffe5a097f135
üst
273da4e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
6 deletions
+18
-6
autogen.sh
autogen.sh
+18
-6
No files found.
autogen.sh
Dosyayı görüntüle @
4ecfc231
...
...
@@ -102,20 +102,32 @@ sub read_args($)
return @lst;
}
sub
invalid_distro
($$)
sub
show_distro_configs
($$)
{
my ($config, $distro) = @_;
print STDERR "Can'
t find distro option
set
:
$config
\n
This is not necessarily a problem.
\n
";
print STDERR "
Distros with distro option sets are:
\n
";
my ($prefix, $path) = @_;
my $dirh;
opendir (
$dirh
, "
$
src_path
/distro-configs
");
opendir ($dirh, "$
path
");
while (($_ = readdir ($dirh))) {
if (-d "$path/$_") {
show_distro_configs(
$prefix eq "" ? "$_/" : "$prefix/$_/", "$path/$_")
unless $_ eq '
.
' || $_ eq '
..
';
next;
}
/(.*)\.conf$/ || next;
print STDERR "
\t
$1
\n
";
print STDERR "\t$
prefix$
1\n";
}
closedir ($dirh);
}
sub invalid_distro($$)
{
my ($config, $distro) = @_;
print STDERR "Can'
t find distro option
set
:
$config
\n
This is not necessarily a problem.
\n
";
print STDERR "
Distros with distro option sets are:
\n
";
show_distro_configs("", "
$src_path
/distro-configs
");
}
# Avoid confusing "
aclocal: error: non-option arguments are not accepted:
'.../m4'
.
" error message.
die "
\$
src_path must not contain spaces, but it is
'$src_path'
.
" if (
$src_path
=~ / /);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment