Lines Matching refs:prog
93 foreach my $prog (sort keys %missing) {
94 my $is_optional = $missing{$prog};
109 print "Warning: better to also install \"$prog\".\n";
111 print "ERROR: please install \"$prog\", otherwise, build won't work.\n";
114 if (defined($map{$prog})) {
115 $install .= " " . $map{$prog};
117 $install .= " " . $prog;
159 my $prog = shift;
177 my $prog = shift;
180 return $prog if findprog($prog);
182 add_package($prog, $is_optional);
187 my $prog = shift;
190 my $err = system("perl -M$prog -e 1 2>/dev/null /dev/null");
193 add_package($prog, $is_optional);
198 my $prog = shift;
203 my $err = system("$python_cmd -c 'import $prog' 2>/dev/null /dev/null");
206 add_package($prog, $is_optional);
214 foreach my $prog(@pkgs) {
215 my $err = system("rpm -q '$prog' 2>/dev/null >/dev/null");
216 add_package($prog, $is_optional) if ($err);
225 foreach my $prog(@pkgs) {
226 my $err = system("pacman -Q '$prog' 2>/dev/null >/dev/null");
227 add_package($prog, $is_optional) if ($err);
236 foreach my $prog(keys %texlive) {
237 my $package = $texlive{$prog};
242 my $file = qx($kpsewhich $prog);