73 |
# $NEEDED_MACROS{MACRO} is an array of locations requiring MACRO. |
# $NEEDED_MACROS{MACRO} is an array of locations requiring MACRO. |
74 |
# E.g., $NEEDED_MACROS{AC_FUNC_ALLOC} the list of `file:line' containing |
# E.g., $NEEDED_MACROS{AC_FUNC_ALLOC} the list of `file:line' containing |
75 |
# `alloca (...)'. |
# `alloca (...)'. |
76 |
my %needed_macros = (); |
my %needed_macros = |
77 |
|
( |
78 |
|
'AC_PREREQ' => [$me], |
79 |
|
); |
80 |
|
|
81 |
my $configure_scan = 'configure.scan'; |
my $configure_scan = 'configure.scan'; |
82 |
my $log = new Autom4te::XFile ">$me.log"; |
my $log = new Autom4te::XFile ">$me.log"; |
101 |
-V, --version print version number, then exit |
-V, --version print version number, then exit |
102 |
-v, --verbose verbosely report processing |
-v, --verbose verbosely report processing |
103 |
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
104 |
|
|
105 |
|
Library directories: |
106 |
-B, --prepend-include=DIR prepend directory DIR to search path |
-B, --prepend-include=DIR prepend directory DIR to search path |
107 |
-I, --include=DIR append directory DIR to search path |
-I, --include=DIR append directory DIR to search path |
108 |
|
|
501 |
my $file = new Autom4te::XFile ">$configure_scan"; |
my $file = new Autom4te::XFile ">$configure_scan"; |
502 |
|
|
503 |
print $file |
print $file |
504 |
("# Process this file with autoconf to produce a configure script.\n" |
("# -*- Autoconf -*-\n" . |
505 |
. "AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)\n"); |
"# Process this file with autoconf to produce a configure script.\n" . |
506 |
|
"\n" . |
507 |
|
"AC_PREREQ(@VERSION@)\n" . |
508 |
|
"AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)\n"); |
509 |
if (defined $cfiles[0]) |
if (defined $cfiles[0]) |
510 |
{ |
{ |
511 |
print $file "AC_CONFIG_SRCDIR([$cfiles[0]])\n"; |
print $file "AC_CONFIG_SRCDIR([$cfiles[0]])\n"; |