mirror of
git://git.sv.gnu.org/autoconf
synced 2025-04-06 15:10:23 +08:00
* autoscan.pl ($dir, $autoconf): New.
This commit is contained in:
parent
c3aa22ab53
commit
2b4643604b
@ -1,3 +1,7 @@
|
||||
2001-01-22 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* autoscan.pl ($dir, $autoconf): New.
|
||||
|
||||
2001-01-22 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* autoscan.pl ($headers, $functions, $identifiers, $libraries):
|
||||
|
19
autoscan.in
19
autoscan.in
@ -22,7 +22,24 @@
|
||||
require "find.pl";
|
||||
use Getopt::Long;
|
||||
|
||||
# Find the lib files and autoconf.
|
||||
$datadir = $ENV{"AC_MACRODIR"} || "@datadir@";
|
||||
($dir = $0) =~ s,[^/]*$,,;
|
||||
$autoconf = '';
|
||||
# We test "$dir/autoconf" in case we are in the build tree, in which case
|
||||
# the names are not transformed yet.
|
||||
foreach $file ("$ENV{AUTOCONF}" || '',
|
||||
"$dir/@autoconf-name@",
|
||||
"$dir/autoconf",
|
||||
"@bindir@/@autoconf-name@")
|
||||
{
|
||||
if (-f $file)
|
||||
{
|
||||
$autoconf = $file;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
($me = $0) =~ s,.*/,,;
|
||||
$verbose = 0;
|
||||
|
||||
@ -538,7 +555,7 @@ sub check_configure_ac
|
||||
$trace_option .= " -t $macro";
|
||||
}
|
||||
|
||||
open (TRACES, "/home/akim/src/ace/autoconf -A $datadir $trace_option $configure_ac|") ||
|
||||
open (TRACES, "$autoconf -A $datadir $trace_option $configure_ac|") ||
|
||||
die "$me: cannot create read traces: $!\n";
|
||||
|
||||
while (<TRACES>)
|
||||
|
19
autoscan.pl
19
autoscan.pl
@ -22,7 +22,24 @@
|
||||
require "find.pl";
|
||||
use Getopt::Long;
|
||||
|
||||
# Find the lib files and autoconf.
|
||||
$datadir = $ENV{"AC_MACRODIR"} || "@datadir@";
|
||||
($dir = $0) =~ s,[^/]*$,,;
|
||||
$autoconf = '';
|
||||
# We test "$dir/autoconf" in case we are in the build tree, in which case
|
||||
# the names are not transformed yet.
|
||||
foreach $file ("$ENV{AUTOCONF}" || '',
|
||||
"$dir/@autoconf-name@",
|
||||
"$dir/autoconf",
|
||||
"@bindir@/@autoconf-name@")
|
||||
{
|
||||
if (-f $file)
|
||||
{
|
||||
$autoconf = $file;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
($me = $0) =~ s,.*/,,;
|
||||
$verbose = 0;
|
||||
|
||||
@ -538,7 +555,7 @@ sub check_configure_ac
|
||||
$trace_option .= " -t $macro";
|
||||
}
|
||||
|
||||
open (TRACES, "/home/akim/src/ace/autoconf -A $datadir $trace_option $configure_ac|") ||
|
||||
open (TRACES, "$autoconf -A $datadir $trace_option $configure_ac|") ||
|
||||
die "$me: cannot create read traces: $!\n";
|
||||
|
||||
while (<TRACES>)
|
||||
|
@ -22,7 +22,24 @@
|
||||
require "find.pl";
|
||||
use Getopt::Long;
|
||||
|
||||
# Find the lib files and autoconf.
|
||||
$datadir = $ENV{"AC_MACRODIR"} || "@datadir@";
|
||||
($dir = $0) =~ s,[^/]*$,,;
|
||||
$autoconf = '';
|
||||
# We test "$dir/autoconf" in case we are in the build tree, in which case
|
||||
# the names are not transformed yet.
|
||||
foreach $file ("$ENV{AUTOCONF}" || '',
|
||||
"$dir/@autoconf-name@",
|
||||
"$dir/autoconf",
|
||||
"@bindir@/@autoconf-name@")
|
||||
{
|
||||
if (-f $file)
|
||||
{
|
||||
$autoconf = $file;
|
||||
last;
|
||||
}
|
||||
}
|
||||
|
||||
($me = $0) =~ s,.*/,,;
|
||||
$verbose = 0;
|
||||
|
||||
@ -538,7 +555,7 @@ sub check_configure_ac
|
||||
$trace_option .= " -t $macro";
|
||||
}
|
||||
|
||||
open (TRACES, "/home/akim/src/ace/autoconf -A $datadir $trace_option $configure_ac|") ||
|
||||
open (TRACES, "$autoconf -A $datadir $trace_option $configure_ac|") ||
|
||||
die "$me: cannot create read traces: $!\n";
|
||||
|
||||
while (<TRACES>)
|
||||
|
Loading…
x
Reference in New Issue
Block a user