14 lines
207 B
Perl
Executable file
14 lines
207 B
Perl
Executable file
#!/usr/bin/perl -w
|
|
|
|
use strict;
|
|
|
|
open(CONF, "configure.ac") or die "Couldn't open configure.ac: $!\n";
|
|
|
|
while (<CONF>) {
|
|
if (/^AC_INIT\(\[stow\], \[(.+?)\]/) {
|
|
print "$1\n";
|
|
exit 0;
|
|
}
|
|
}
|
|
|
|
exit 1;
|