Lines Matching refs:prog
92 foreach my $prog (sort keys %missing) {
93 my $is_optional = $missing{$prog};
108 print "Warning: better to also install \"$prog\".\n";
110 print "ERROR: please install \"$prog\", otherwise, build won't work.\n";
113 if (defined($map{$prog})) {
114 $install .= " " . $map{$prog};
116 $install .= " " . $prog;
158 my $prog = shift;
176 my $prog = shift;
179 return $prog if findprog($prog);
181 add_package($prog, $is_optional);
186 my $prog = shift;
189 my $err = system("perl -M$prog -e 1 2>/dev/null /dev/null");
192 add_package($prog, $is_optional);
197 my $prog = shift;
202 my $err = system("$python_cmd -c 'import $prog' 2>/dev/null /dev/null");
205 add_package($prog, $is_optional);
213 foreach my $prog(@pkgs) {
214 my $err = system("rpm -q '$prog' 2>/dev/null >/dev/null");
215 add_package($prog, $is_optional) if ($err);
224 foreach my $prog(@pkgs) {
225 my $err = system("pacman -Q '$prog' 2>/dev/null >/dev/null");
226 add_package($prog, $is_optional) if ($err);
235 foreach my $prog(keys %texlive) {
236 my $package = $texlive{$prog};
241 my $file = qx($kpsewhich $prog);