Lines Matching refs:prog
91 foreach my $prog (sort keys %missing) {
92 my $is_optional = $missing{$prog};
106 print "Warning: better to also install \"$prog\".\n";
108 print "ERROR: please install \"$prog\", otherwise, build won't work.\n";
110 if (defined($map{$prog})) {
111 $install .= " " . $map{$prog};
113 $install .= " " . $prog;
155 my $prog = shift;
173 my $prog = shift;
176 return $prog if findprog($prog);
178 add_package($prog, $is_optional);
183 my $prog = shift;
186 my $err = system("perl -M$prog -e 1 2>/dev/null /dev/null");
189 add_package($prog, $is_optional);
194 my $prog = shift;
199 my $err = system("$python_cmd -c 'import $prog' 2>/dev/null /dev/null");
202 add_package($prog, $is_optional);
210 foreach my $prog(@pkgs) {
211 my $err = system("rpm -q '$prog' 2>/dev/null >/dev/null");
212 add_package($prog, $is_optional) if ($err);
221 foreach my $prog(@pkgs) {
222 my $err = system("pacman -Q '$prog' 2>/dev/null >/dev/null");
223 add_package($prog, $is_optional) if ($err);
232 foreach my $prog(keys %texlive) {
233 my $package = $texlive{$prog};
238 my $file = qx($kpsewhich $prog);