/[autoconf]/autoconf/bin/autoheader.in
ViewVC logotype

Diff of /autoconf/bin/autoheader.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.135 by akim, Thu Aug 21 17:50:11 2003 UTC revision 1.136 by akim, Wed Aug 27 11:35:09 2003 UTC
# Line 126  sub parse_args () Line 126  sub parse_args ()
126  ## -------------- ##  ## -------------- ##
127    
128  mktmpdir ('ah');  mktmpdir ('ah');
129    switch_warning 'obsolete';
130  parse_args;  parse_args;
131    
132  # Preach.  # Preach.
# Line 146  if ($config_h_top || $config_h_bot || $a Line 147  if ($config_h_top || $config_h_bot || $a
147      \`AC_DEFINE_UNQUOTED\' allows to define a template without      \`AC_DEFINE_UNQUOTED\' allows to define a template without
148      \`acconfig.h\':      \`acconfig.h\':
149    
150        AC_DEFINE([NEED_MAIN], 1,        AC_DEFINE([NEED_FUNC_MAIN], 1,
151                  [Define if a function \`main\' is needed.])                  [Define if a function \`main\' is needed.])
152    
153      More sophisticated templates can also be produced, see the      More sophisticated templates can also be produced, see the
154      documentation.      documentation.
155  END  END
156      $msg =~ s/^    /WARNING: /gm;      $msg =~ s/^    /WARNING: /gm;
157      print STDERR $msg;      msg 'obsolete', $msg;
158    }    }
159    
160  # Set up autoconf.  # Set up autoconf.
# Line 265  $out->close; Line 266  $out->close;
266      }      }
267    foreach (sort keys %symbol)    foreach (sort keys %symbol)
268      {      {
269        print STDERR "$me: missing template: $_\n";        msg 'syntax', "warning: missing template: $_";
270        if ($suggest_ac_define)        if ($suggest_ac_define)
271          {          {
272            print STDERR "Use AC_DEFINE([$_], [], [Description])\n";            msg 'syntax',  "Use AC_DEFINE([$_], [], [Description])";
273            $suggest_ac_define = 0;            $suggest_ac_define = 0;
274          }          }
275    

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26