autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoscan and AC_CHECK_DECLS


From: Mike Castle
Subject: Re: autoscan and AC_CHECK_DECLS
Date: Mon, 27 Jan 2003 20:19:56 -0800

In article <address@hidden>,
Mike Castle <address@hidden> wrote:
>Ok.  Strange interactions with autoscan and autom4te.cache.  And a possible
>bug in autoscan otherwise.


Hmmm.  The following patch seems to improve my system a little bit.  But
I'm not certain if they are correct.

Looks like, for autom4te.in, maybe the process SHOULD be automated.  Or at
least made possible for a sanity check before shipping.  Without that
update, the stuff in /usr/share/autoconf/autoscan also contains
AC_DECL_SYS_SIGLIST, which was a bit confusing at first.

mrc

patch -p1 << \EOF
diff -ru autoconf-2.57.orig/bin/autoscan.in autoconf-2.57/bin/autoscan.in
--- autoconf-2.57.orig/bin/autoscan.in  2002-11-07 06:11:31.000000000 -0800
+++ autoconf-2.57/bin/autoscan.in       2003-01-27 20:06:45.000000000 -0800
@@ -565,7 +565,7 @@
     {
       chomp;
       my ($file, $line, $macro, @args) = split (/:/, $_);
-      if ($macro =~ /^AC_CHECK_(HEADER|FUNC|TYPE|MEMBER)S$/)
+      if ($macro =~ /^AC_CHECK_(DECL|HEADER|FUNC|TYPE|MEMBER)S$/)
        {
          # To be rigorous, we should distinguish between space and comma
          # separated macros.  But there is no point.
diff -ru autoconf-2.57.orig/lib/autom4te.in autoconf-2.57/lib/autom4te.in
--- autoconf-2.57.orig/lib/autom4te.in  2002-10-29 00:07:29.000000000 -0800
+++ autoconf-2.57/lib/autom4te.in       2003-01-27 20:04:16.000000000 -0800
@@ -84,15 +84,14 @@
 # which is what we are building :(  In fact we need three files, not
 # two (autom4te.pre -> autom4te.in -> autom4te.cfg).
 begin-language: "Autoscan-preselections"
+args: --preselect AC_CHECK_DECLS
 args: --preselect AC_CHECK_FUNCS
 args: --preselect AC_CHECK_HEADERS
-args: --preselect AC_CHECK_LIB
 args: --preselect AC_CHECK_MEMBERS
 args: --preselect AC_CHECK_TYPES
 args: --preselect AC_C_CONST
 args: --preselect AC_C_INLINE
 args: --preselect AC_C_VOLATILE
-args: --preselect AC_DECL_SYS_SIGLIST
 args: --preselect AC_FUNC_ALLOCA
 args: --preselect AC_FUNC_CHOWN
 args: --preselect AC_FUNC_CLOSEDIR_VOID
@@ -127,6 +126,7 @@
 args: --preselect AC_HEADER_DIRENT
 args: --preselect AC_HEADER_MAJOR
 args: --preselect AC_HEADER_STAT
+args: --preselect AC_HEADER_STDBOOL
 args: --preselect AC_HEADER_STDC
 args: --preselect AC_HEADER_SYS_WAIT
 args: --preselect AC_HEADER_TIME
EOF


-- 
     Mike Castle      address@hidden      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]