autoconf-patches
[Top][All Lists]
Advanced

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

05-single-autoscan-file.patch


From: Akim Demaille
Subject: 05-single-autoscan-file.patch
Date: Mon, 30 Sep 2002 09:32:46 +0200

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * lib/autoscan/functions, lib/autoscan/headers,
        * lib/autoscan/identifiers, lib/autoscan/makevars,
        * lib/autoscan/programs: Merge into...
        * lib/autoscan/autoscan.list: this.
        * bin/autoscan.in (&init_tables): Adjust.

Index: bin/autoscan.in
--- bin/autoscan.in Fri, 27 Sep 2002 22:52:07 +0200 akim
+++ bin/autoscan.in Sat, 28 Sep 2002 09:14:44 +0200 akim
@@ -143,57 +143,36 @@ sub parse_args ()
 # Put values in the tables of what to do with each token.
 sub init_tables ()
 {
-  # Initialize a table of C keywords (to ignore).
-  # Taken from K&R 1st edition p. 180.
-  # ANSI C, GNU C, and C++ keywords can introduce portability problems,
-  # so don't ignore them.
-
   # The data file format supports only one line of macros per function.
   # If more than that is required for a common portability problem,
   # a new Autoconf macro should probably be written for that case,
   # instead of duplicating the code in lots of configure.ac files.
+  my $file = find_file ("autoscan/autoscan.list",
+                       reverse (@prepend_include), @include);
+  my $table = new Autom4te::XFile $file;
   my $tables_are_consistent = 1;
-  foreach my $kind (@kinds)
+
+  while ($_ = $table->getline)
     {
-      my $file = find_file ("autoscan/$kind",
-                            reverse(@prepend_include), @include);
-      my $table = new Autom4te::XFile $file;
-      while ($_ = $table->getline)
+      # Ignore blank lines and comments.
+      next
+       if /^\s*$/ || /^\s*\#/;
+
+      # '<kind>: <word> <macro invocation>' or...
+      # '<kind>: <word> warn: <message>'.
+      if (/^(\S+):\s+(\S+)\s+(\S.*)$/)
        {
-         # Ignore blank lines and comments.
-         next
-           if /^\s*$/ || /^\s*\#/;
-
-         # '<kind>: <word> <macro invocation>' or...
-         # '<kind>: <word> warn: <message>'.
-         if (/^(\S+):\s+(\S+)\s+(\S.*)$/)
-           {
-             my ($mkind, $word, $macro) = ($1, $2, $3);
-             die "$mkind:$kind\n"
-               unless "${mkind}s" eq $kind;
-             # The default macro must be explicitly listed for words
-             # which have a specific macros.  This allows to enforce
-             # consistency checks.
-             if (!defined $word && exists $macro{$kind}{$word})
-               {
-                 warn ("$file:$.: "
-                       . "ignoring implicit call to the generic macro for 
$word\n");
-                 $tables_are_consistent = 0;
-               }
-             else
-               {
-                 push @{$macro{$kind}{$word}}, $macro;
-               }
-             next;
-           }
-
-         error "cannot parse definition in $file:\n$_";
+         my ($kind, $word, $macro) = ("$1s", $2, $3);
+         error "$file:$.: invalid kind: $_"
+           unless grep { $_ eq $kind } @kinds;
+         push @{$macro{$kind}{$word}}, $macro;
+       }
+      else
+       {
+         error "$file:$.: invalid definition: $_";
        }
-      $table->close;
     }

-  error "some tables are inconsistent"
-    if !$tables_are_consistent;
 }


@@ -207,7 +186,7 @@ sub used ($$;$)
   if (
       # Check for all the libraries.  But `-links' is certainly a
       # `find' argument, and `-le', a `test' argument.
-      ($kind eq 'libraries' && $word !~ /^e|inks$/)
+      ($kind eq 'libraries' && $word !~ /^(e|inks)$/)
       # Other than libraries are to be checked only if listed in
       # the Autoscan library files.
       || defined $macro{$kind}{$word}
Index: lib/autoscan/Makefile.am
--- lib/autoscan/Makefile.am Fri, 24 Aug 2001 08:01:11 +0200 akim
+++ lib/autoscan/Makefile.am Fri, 27 Sep 2002 22:55:15 +0200 akim
@@ -2,5 +2,4 @@

 autoscanlibdir = $(pkgdatadir)/autoscan

-dist_autoscanlib_DATA = headers libraries programs functions \
-identifiers makevars
+dist_autoscanlib_DATA = autoscan.list
Index: lib/autoscan/autoscan.list
--- lib/autoscan/autoscan.list Sat, 28 Sep 2002 09:19:33 +0200 akim
+++ lib/autoscan/autoscan.list Sat, 28 Sep 2002 09:13:23 +0200 akim
@@ -0,0 +1,319 @@
+# autoscan's mapping to Autoconf macros
+# Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+# 02111-1307, USA.
+
+# Functions that have their own macros.
+function: alloca                  AC_FUNC_ALLOCA
+function: bcmp                    AC_HEADER_STDC
+function: bcopy                   AC_HEADER_STDC
+function: bzero                   AC_CHECK_FUNCS
+function: bzero                   AC_HEADER_STDC
+function: chown                   AC_FUNC_CHOWN
+function: dcgettext               AM_GNU_GETTEXT
+function: error                   AC_FUNC_ERROR_AT_LINE
+function: error_at_line           AC_FUNC_ERROR_AT_LINE
+function: fnmatch                 AC_FUNC_FNMATCH
+function: fork                    AC_FUNC_FORK
+function: fseeko                  AC_FUNC_FSEEKO
+function: ftello                  AC_FUNC_FSEEKO
+function: getgroups               AC_FUNC_GETGROUPS
+function: getloadavg              AC_FUNC_GETLOADAVG
+function: getpgrp                 AC_FUNC_GETPGRP
+function: index                   AC_HEADER_STDC
+function: ioctl                   AC_PROG_GCC_TRADITIONAL
+function: lstat                   AC_FUNC_LSTAT
+function: major                   AC_HEADER_MAJOR
+function: makedev                 AC_HEADER_MAJOR
+function: malloc                  AC_FUNC_MALLOC
+function: mbrtowc                 AC_FUNC_MBRTOWC
+function: memchr                  AC_CHECK_FUNCS
+function: memchr                  AC_HEADER_STDC
+function: memcmp                  AC_FUNC_MEMCMP
+function: memcpy                  AC_HEADER_STDC
+function: memmove                 AC_CHECK_FUNCS
+function: memmove                 AC_HEADER_STDC
+function: memset                  AC_CHECK_FUNCS
+function: memset                  AC_HEADER_STDC
+function: minor                   AC_HEADER_MAJOR
+function: mktime                  AC_FUNC_MKTIME
+function: mmap                    AC_FUNC_MMAP
+function: obstack_init            AC_FUNC_OBSTACK
+function: realloc                 AC_FUNC_REALLOC
+function: rindex                  AC_HEADER_STDC
+function: setpgrp                 AC_FUNC_SETPGRP
+function: setvbuf                 AC_FUNC_SETVBUF_REVERSED
+function: signal                  AC_TYPE_SIGNAL
+function: stat                    AC_FUNC_STAT
+function: strcoll                 AC_FUNC_STRCOLL
+function: strerror_r              AC_FUNC_STRERROR_R
+function: strftime                AC_FUNC_STRFTIME
+function: strnlen                 AC_FUNC_STRNLEN
+function: strtod                  AC_FUNC_STRTOD
+function: utime                   AC_CHECK_FUNCS
+function: utime                   AC_FUNC_UTIME_NULL
+function: vfork                   AC_FUNC_FORK
+function: vfprintf                AC_FUNC_VPRINTF
+function: vprintf                 AC_FUNC_VPRINTF
+function: vsprintf                AC_FUNC_VPRINTF
+function: wait3                   AC_FUNC_WAIT3
+
+# Functions we should no longer use.
+function: getwd          warn: getwd is deprecated, use getcwd instead
+
+# Functions checked with AC_CHECK_FUNCS.
+function: __argz_count            AC_CHECK_FUNCS
+function: __argz_next             AC_CHECK_FUNCS
+function: __argz_stringify        AC_CHECK_FUNCS
+function: __fpending              AC_CHECK_FUNCS
+function: acl                     AC_CHECK_FUNCS
+function: alarm                   AC_CHECK_FUNCS
+function: atexit                  AC_CHECK_FUNCS
+function: btowc                   AC_CHECK_FUNCS
+function: clock_gettime           AC_CHECK_FUNCS
+function: doprnt                  AC_CHECK_FUNCS
+function: dup2                    AC_CHECK_FUNCS
+function: endgrent                AC_CHECK_FUNCS
+function: endpwent                AC_CHECK_FUNCS
+function: euidaccess              AC_CHECK_FUNCS
+function: fchdir                  AC_CHECK_FUNCS
+function: fdatasync               AC_CHECK_FUNCS
+function: fesetround              AC_CHECK_FUNCS
+function: floor                   AC_CHECK_FUNCS
+function: fs_stat_dev             AC_CHECK_FUNCS
+function: ftime                   AC_CHECK_FUNCS
+function: ftruncate               AC_CHECK_FUNCS
+function: getcwd                  AC_CHECK_FUNCS
+function: getdelim                AC_CHECK_FUNCS
+function: gethostbyaddr           AC_CHECK_FUNCS
+function: gethostbyname           AC_CHECK_FUNCS
+function: gethostname             AC_CHECK_FUNCS
+function: gethrtime               AC_CHECK_FUNCS
+function: getmntent               AC_CHECK_FUNCS
+function: getmntinfo              AC_CHECK_FUNCS
+function: getpagesize             AC_CHECK_FUNCS
+function: getpass                 AC_CHECK_FUNCS
+function: getspnam                AC_CHECK_FUNCS
+function: gettimeofday            AC_CHECK_FUNCS
+function: getusershell            AC_CHECK_FUNCS
+function: hasmntopt               AC_CHECK_FUNCS
+function: inet_ntoa               AC_CHECK_FUNCS
+function: isascii                 AC_CHECK_FUNCS
+function: iswprint                AC_CHECK_FUNCS
+function: lchown                  AC_CHECK_FUNCS
+function: listmntent              AC_CHECK_FUNCS
+function: localeconv              AC_CHECK_FUNCS
+function: localtime_r             AC_CHECK_FUNCS
+function: mblen                   AC_CHECK_FUNCS
+function: mbrlen                  AC_CHECK_FUNCS
+function: mempcpy                 AC_CHECK_FUNCS
+function: mkdir                   AC_CHECK_FUNCS
+function: mkfifo                  AC_CHECK_FUNCS
+function: modf                    AC_CHECK_FUNCS
+function: munmap                  AC_CHECK_FUNCS
+function: next_dev                AC_CHECK_FUNCS
+function: nl_langinfo             AC_CHECK_FUNCS
+function: pathconf                AC_CHECK_FUNCS
+function: pow                     AC_CHECK_FUNCS
+function: pstat_getdynamic        AC_CHECK_FUNCS
+function: putenv                  AC_CHECK_FUNCS
+function: re_comp                 AC_CHECK_FUNCS
+function: realpath                AC_CHECK_FUNCS
+function: regcmp                  AC_CHECK_FUNCS
+function: regcomp                 AC_CHECK_FUNCS
+function: resolvepath             AC_CHECK_FUNCS
+function: rint                    AC_CHECK_FUNCS
+function: rmdir                   AC_CHECK_FUNCS
+function: rpmatch                 AC_CHECK_FUNCS
+function: select                  AC_CHECK_FUNCS
+function: setenv                  AC_CHECK_FUNCS
+function: sethostname             AC_CHECK_FUNCS
+function: setlocale               AC_CHECK_FUNCS
+function: socket                  AC_CHECK_FUNCS
+function: sqrt                    AC_CHECK_FUNCS
+function: stime                   AC_CHECK_FUNCS
+function: stpcpy                  AC_CHECK_FUNCS
+function: strcasecmp              AC_CHECK_FUNCS
+function: strchr                  AC_CHECK_FUNCS
+function: strcspn                 AC_CHECK_FUNCS
+function: strdup                  AC_CHECK_FUNCS
+function: strerror                AC_CHECK_FUNCS
+function: strncasecmp             AC_CHECK_FUNCS
+function: strndup                 AC_CHECK_FUNCS
+function: strpbrk                 AC_CHECK_FUNCS
+function: strrchr                 AC_CHECK_FUNCS
+function: strspn                  AC_CHECK_FUNCS
+function: strstr                  AC_CHECK_FUNCS
+function: strtol                  AC_CHECK_FUNCS
+function: strtoul                 AC_CHECK_FUNCS
+function: strtoull                AC_CHECK_FUNCS
+function: strtoumax               AC_CHECK_FUNCS
+function: strverscmp              AC_CHECK_FUNCS
+function: sysinfo                 AC_CHECK_FUNCS
+function: tzset                   AC_CHECK_FUNCS
+function: uname                   AC_CHECK_FUNCS
+function: utmpname                AC_CHECK_FUNCS
+function: utmpxname               AC_CHECK_FUNCS
+function: wcwidth                 AC_CHECK_FUNCS
+
+# Headers with specific macros.
+header: X11/Xlib.h      AC_PATH_X
+header: alloca.h        AC_FUNC_ALLOCA
+header: dirent.h        AC_HEADER_DIRENT
+header: float.h         AC_CHECK_HEADERS
+header: float.h         AC_HEADER_STDC
+header: ndir.h          AC_HEADER_DIRENT
+header: stdarg.h        AC_HEADER_STDC
+header: stddef.h        AC_CHECK_HEADERS
+header: stddef.h        AC_HEADER_STDC
+header: stdlib.h        AC_CHECK_HEADERS
+header: stdlib.h        AC_HEADER_STDC
+header: string.h        AC_CHECK_HEADERS
+header: string.h        AC_HEADER_STDC
+header: sys/dir.h       AC_HEADER_DIRENT
+header: sys/mkdev.h     AC_HEADER_MAJOR
+header: sys/ndir.h      AC_HEADER_DIRENT
+header: sys/wait.h      AC_HEADER_SYS_WAIT
+
+# Others, checked with AC_CHECK_HEADERS.
+header: OS.h                    AC_CHECK_HEADERS
+header: argz.h                  AC_CHECK_HEADERS
+header: arpa/inet.h             AC_CHECK_HEADERS
+
+# errno.h is portable.
+header: fcntl.h                 AC_CHECK_HEADERS
+header: fenv.h                  AC_CHECK_HEADERS
+header: fs_info.h               AC_CHECK_HEADERS
+header: inttypes.h              AC_CHECK_HEADERS
+header: langinfo.h              AC_CHECK_HEADERS
+header: libintl.h               AC_CHECK_HEADERS
+header: limits.h                AC_CHECK_HEADERS
+header: locale.h                AC_CHECK_HEADERS
+header: mach/mach.h             AC_CHECK_HEADERS
+header: malloc.h                AC_CHECK_HEADERS
+header: memory.h                AC_CHECK_HEADERS
+header: mntent.h                AC_CHECK_HEADERS
+header: mnttab.h                AC_CHECK_HEADERS
+header: netdb.h                 AC_CHECK_HEADERS
+header: netinet/in.h            AC_CHECK_HEADERS
+header: nl_types.h              AC_CHECK_HEADERS
+header: nlist.h                 AC_CHECK_HEADERS
+header: paths.h                 AC_CHECK_HEADERS
+header: sgtty.h                 AC_CHECK_HEADERS
+header: shadow.h                AC_CHECK_HEADERS
+header: stdint.h                AC_CHECK_HEADERS
+header: stdio_ext.h             AC_CHECK_HEADERS
+header: strings.h               AC_CHECK_HEADERS
+header: sys/acl.h               AC_CHECK_HEADERS
+header: sys/file.h              AC_CHECK_HEADERS
+header: sys/filsys.h            AC_CHECK_HEADERS
+header: sys/fs/s5param.h        AC_CHECK_HEADERS
+header: sys/fs_types.h          AC_CHECK_HEADERS
+header: sys/fstyp.h             AC_CHECK_HEADERS
+header: sys/ioctl.h             AC_CHECK_HEADERS
+header: sys/mntent.h            AC_CHECK_HEADERS
+header: sys/mount.h             AC_CHECK_HEADERS
+header: sys/param.h             AC_CHECK_HEADERS
+header: sys/socket.h            AC_CHECK_HEADERS
+header: sys/statfs.h            AC_CHECK_HEADERS
+header: sys/statvfs.h           AC_CHECK_HEADERS
+header: sys/systeminfo.h        AC_CHECK_HEADERS
+header: sys/time.h              AC_CHECK_HEADERS
+header: sys/timeb.h             AC_CHECK_HEADERS
+header: sys/vfs.h               AC_CHECK_HEADERS
+header: sys/window.h            AC_CHECK_HEADERS
+header: syslog.h                AC_CHECK_HEADERS
+header: termio.h                AC_CHECK_HEADERS
+header: termios.h               AC_CHECK_HEADERS
+header: unistd.h                AC_CHECK_HEADERS
+header: utime.h                 AC_CHECK_HEADERS
+header: utmp.h                  AC_CHECK_HEADERS
+header: utmpx.h                 AC_CHECK_HEADERS
+header: values.h                AC_CHECK_HEADERS
+header: wchar.h                 AC_CHECK_HEADERS
+header: wctype.h                AC_CHECK_HEADERS
+
+# Keywords.
+identifier: const           AC_C_CONST
+identifier: inline          AC_C_INLINE
+
+# Variables.
+identifier: sys_siglist     AC_DECL_SYS_SIGLIST
+
+# Types.
+identifier: gid_t           AC_TYPE_UID_T
+identifier: mode_t          AC_TYPE_MODE_T
+identifier: obstack         AC_FUNC_OBSTACK
+identifier: off_t           AC_TYPE_OFF_T
+identifier: pid_t           AC_TYPE_PID_T
+identifier: ptrdiff_t       AC_CHECK_TYPES
+identifier: size_t          AC_TYPE_SIZE_T
+identifier: timeval         AC_HEADER_TIME
+identifier: tm              AC_STRUCT_TM
+identifier: uid_t           AC_TYPE_UID_T
+
+# Macros.
+identifier: S_ISBLK         AC_HEADER_STAT
+identifier: S_ISCHR         AC_HEADER_STAT
+identifier: S_ISDIR         AC_HEADER_STAT
+identifier: S_ISFIFO        AC_HEADER_STAT
+identifier: S_ISLNK         AC_HEADER_STAT
+identifier: S_ISREG         AC_HEADER_STAT
+identifier: S_ISSOCK        AC_HEADER_STAT
+
+# Members of structures.
+identifier: st_blksize      AC_CHECK_MEMBERS([struct stat.st_blksize])
+identifier: st_blocks       AC_STRUCT_ST_BLOCKS
+identifier: st_rdev         AC_CHECK_MEMBERS([struct stat.st_rdev])
+identifier: tm_zone         AC_STRUCT_TIMEZONE
+
+makevar: AWK             AC_PROG_AWK
+makevar: BISON           AC_PROG_YACC
+makevar: CC              AC_PROG_CC
+makevar: CPP             AC_PROG_CPP
+makevar: CXX             AC_PROG_CXX
+makevar: INSTALL         AC_PROG_INSTALL
+makevar: LEX             AC_PROG_LEX
+makevar: LN              AC_PROG_LN_S
+makevar: MAKE            AC_PROG_MAKE_SET
+makevar: RANLIB          AC_PROG_RANLIB
+makevar: YACC            AC_PROG_YACC
+
+program: CC              AC_PROG_CXX
+program: awk             AC_PROG_AWK
+program: bison           AC_PROG_YACC
+program: byacc           AC_PROG_YACC
+program: c++             AC_PROG_CXX
+program: cc              AC_PROG_CC
+program: cpp             AC_PROG_CPP
+program: flex            AC_PROG_LEX
+program: g++             AC_PROG_CXX
+program: gawk            AC_PROG_AWK
+program: gcc             AC_PROG_CC
+program: install         AC_PROG_INSTALL
+program: lex             AC_PROG_LEX
+program: ln              AC_PROG_LN_S
+program: make            AC_PROG_MAKE_SET
+program: mawk            AC_PROG_AWK
+program: nawk            AC_PROG_AWK
+program: ranlib          AC_PROG_RANLIB
+program: yacc            AC_PROG_YACC
+
+
+# Local Variables:
+# mode: shell-script
+# End:
Index: lib/autoscan/functions
--- lib/autoscan/functions Fri, 27 Sep 2002 22:52:07 +0200 akim
+++ lib/autoscan/functions Sat, 28 Sep 2002 09:19:33 +0200 akim
@@ -1,175 +0,0 @@
-# functions -- autoscan's mapping from functions to Autoconf macros
-# Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# Ones that have their own macros.
-function: alloca          AC_FUNC_ALLOCA
-function: bcmp            AC_HEADER_STDC
-function: bcopy           AC_HEADER_STDC
-function: bzero           AC_CHECK_FUNCS
-function: bzero           AC_HEADER_STDC
-function: chown           AC_FUNC_CHOWN
-function: dcgettext       AM_GNU_GETTEXT
-function: error           AC_FUNC_ERROR_AT_LINE
-function: error_at_line   AC_FUNC_ERROR_AT_LINE
-function: fnmatch         AC_FUNC_FNMATCH
-function: fork            AC_FUNC_FORK
-function: fseeko          AC_FUNC_FSEEKO
-function: ftello          AC_FUNC_FSEEKO
-function: getgroups       AC_FUNC_GETGROUPS
-function: getloadavg      AC_FUNC_GETLOADAVG
-function: getpgrp         AC_FUNC_GETPGRP
-function: index           AC_HEADER_STDC
-function: ioctl           AC_PROG_GCC_TRADITIONAL
-function: lstat           AC_FUNC_LSTAT
-function: major           AC_HEADER_MAJOR
-function: makedev         AC_HEADER_MAJOR
-function: malloc          AC_FUNC_MALLOC
-function: mbrtowc         AC_FUNC_MBRTOWC
-function: memchr          AC_CHECK_FUNCS
-function: memchr          AC_HEADER_STDC
-function: memcmp          AC_FUNC_MEMCMP
-function: memcpy          AC_HEADER_STDC
-function: memmove         AC_CHECK_FUNCS
-function: memmove         AC_HEADER_STDC
-function: memset          AC_CHECK_FUNCS
-function: memset          AC_HEADER_STDC
-function: minor           AC_HEADER_MAJOR
-function: mktime          AC_FUNC_MKTIME
-function: mmap            AC_FUNC_MMAP
-function: obstack_init    AC_FUNC_OBSTACK
-function: realloc         AC_FUNC_REALLOC
-function: rindex          AC_HEADER_STDC
-function: setpgrp         AC_FUNC_SETPGRP
-function: setvbuf         AC_FUNC_SETVBUF_REVERSED
-function: signal          AC_TYPE_SIGNAL
-function: stat            AC_FUNC_STAT
-function: strcoll         AC_FUNC_STRCOLL
-function: strerror_r      AC_FUNC_STRERROR_R
-function: strftime        AC_FUNC_STRFTIME
-function: strnlen         AC_FUNC_STRNLEN
-function: strtod          AC_FUNC_STRTOD
-function: utime           AC_CHECK_FUNCS
-function: utime           AC_FUNC_UTIME_NULL
-function: vfork           AC_FUNC_FORK
-function: vfprintf        AC_FUNC_VPRINTF
-function: vprintf         AC_FUNC_VPRINTF
-function: vsprintf        AC_FUNC_VPRINTF
-function: wait3           AC_FUNC_WAIT3
-
-# Functions we should no longer use.
-function: getwd          warn: getwd is deprecated, use getcwd instead
-
-# Others, checked with AC_CHECK_FUNCS.
-function: __argz_count            AC_CHECK_FUNCS
-function: __argz_next             AC_CHECK_FUNCS
-function: __argz_stringify        AC_CHECK_FUNCS
-function: __fpending              AC_CHECK_FUNCS
-function: acl                     AC_CHECK_FUNCS
-function: alarm                   AC_CHECK_FUNCS
-function: atexit                  AC_CHECK_FUNCS
-function: btowc                   AC_CHECK_FUNCS
-function: clock_gettime           AC_CHECK_FUNCS
-function: doprnt                  AC_CHECK_FUNCS
-function: dup2                    AC_CHECK_FUNCS
-function: endgrent                AC_CHECK_FUNCS
-function: endpwent                AC_CHECK_FUNCS
-function: euidaccess              AC_CHECK_FUNCS
-function: fchdir                  AC_CHECK_FUNCS
-function: fdatasync               AC_CHECK_FUNCS
-function: fesetround              AC_CHECK_FUNCS
-function: floor                   AC_CHECK_FUNCS
-function: fs_stat_dev             AC_CHECK_FUNCS
-function: ftime                   AC_CHECK_FUNCS
-function: ftruncate               AC_CHECK_FUNCS
-function: getcwd                  AC_CHECK_FUNCS
-function: getdelim                AC_CHECK_FUNCS
-function: gethostbyaddr           AC_CHECK_FUNCS
-function: gethostbyname           AC_CHECK_FUNCS
-function: gethostname             AC_CHECK_FUNCS
-function: gethrtime               AC_CHECK_FUNCS
-function: getmntent               AC_CHECK_FUNCS
-function: getmntinfo              AC_CHECK_FUNCS
-function: getpagesize             AC_CHECK_FUNCS
-function: getpass                 AC_CHECK_FUNCS
-function: getspnam                AC_CHECK_FUNCS
-function: gettimeofday            AC_CHECK_FUNCS
-function: getusershell            AC_CHECK_FUNCS
-function: hasmntopt               AC_CHECK_FUNCS
-function: inet_ntoa               AC_CHECK_FUNCS
-function: isascii                 AC_CHECK_FUNCS
-function: iswprint                AC_CHECK_FUNCS
-function: lchown                  AC_CHECK_FUNCS
-function: listmntent              AC_CHECK_FUNCS
-function: localeconv              AC_CHECK_FUNCS
-function: localtime_r             AC_CHECK_FUNCS
-function: mblen                   AC_CHECK_FUNCS
-function: mbrlen                  AC_CHECK_FUNCS
-function: mempcpy                 AC_CHECK_FUNCS
-function: mkdir                   AC_CHECK_FUNCS
-function: mkfifo                  AC_CHECK_FUNCS
-function: modf                    AC_CHECK_FUNCS
-function: munmap                  AC_CHECK_FUNCS
-function: next_dev                AC_CHECK_FUNCS
-function: nl_langinfo             AC_CHECK_FUNCS
-function: pathconf                AC_CHECK_FUNCS
-function: pow                     AC_CHECK_FUNCS
-function: pstat_getdynamic        AC_CHECK_FUNCS
-function: putenv                  AC_CHECK_FUNCS
-function: re_comp                 AC_CHECK_FUNCS
-function: realpath                AC_CHECK_FUNCS
-function: regcmp                  AC_CHECK_FUNCS
-function: regcomp                 AC_CHECK_FUNCS
-function: resolvepath             AC_CHECK_FUNCS
-function: rint                    AC_CHECK_FUNCS
-function: rmdir                   AC_CHECK_FUNCS
-function: rpmatch                 AC_CHECK_FUNCS
-function: select                  AC_CHECK_FUNCS
-function: setenv                  AC_CHECK_FUNCS
-function: sethostname             AC_CHECK_FUNCS
-function: setlocale               AC_CHECK_FUNCS
-function: socket                  AC_CHECK_FUNCS
-function: sqrt                    AC_CHECK_FUNCS
-function: stime                   AC_CHECK_FUNCS
-function: stpcpy                  AC_CHECK_FUNCS
-function: strcasecmp              AC_CHECK_FUNCS
-function: strchr                  AC_CHECK_FUNCS
-function: strcspn                 AC_CHECK_FUNCS
-function: strdup                  AC_CHECK_FUNCS
-function: strerror                AC_CHECK_FUNCS
-function: strncasecmp             AC_CHECK_FUNCS
-function: strndup                 AC_CHECK_FUNCS
-function: strpbrk                 AC_CHECK_FUNCS
-function: strrchr                 AC_CHECK_FUNCS
-function: strspn                  AC_CHECK_FUNCS
-function: strstr                  AC_CHECK_FUNCS
-function: strtol                  AC_CHECK_FUNCS
-function: strtoul                 AC_CHECK_FUNCS
-function: strtoull                AC_CHECK_FUNCS
-function: strtoumax               AC_CHECK_FUNCS
-function: strverscmp              AC_CHECK_FUNCS
-function: sysinfo                 AC_CHECK_FUNCS
-function: tzset                   AC_CHECK_FUNCS
-function: uname                   AC_CHECK_FUNCS
-function: utmpname                AC_CHECK_FUNCS
-function: utmpxname               AC_CHECK_FUNCS
-function: wcwidth                 AC_CHECK_FUNCS
-
-# Local Variables:
-# mode: shell-script
-# End:
Index: lib/autoscan/headers
--- lib/autoscan/headers Fri, 27 Sep 2002 22:52:07 +0200 akim
+++ lib/autoscan/headers Sat, 28 Sep 2002 09:19:33 +0200 akim
@@ -1,102 +0,0 @@
-# acheaders -- autoscan's mapping from headers to Autoconf macros
-# Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# FIXME: The case of AC_HEADER_STDC + AC_CHECK_HEADERS headers is
-# unclear to me --akim.
-
-# Ones that have their own macros.
-header: X11/Xlib.h      AC_PATH_X
-header: alloca.h        AC_FUNC_ALLOCA
-header: dirent.h        AC_HEADER_DIRENT
-header: float.h         AC_HEADER_STDC
-header: float.h         AC_CHECK_HEADERS
-header: ndir.h          AC_HEADER_DIRENT
-header: stdarg.h        AC_HEADER_STDC
-header: stddef.h        AC_HEADER_STDC
-header: stddef.h        AC_CHECK_HEADERS
-header: stdlib.h        AC_HEADER_STDC
-header: stdlib.h        AC_CHECK_HEADERS
-header: string.h        AC_HEADER_STDC
-header: string.h        AC_CHECK_HEADERS
-header: sys/dir.h       AC_HEADER_DIRENT
-header: sys/mkdev.h     AC_HEADER_MAJOR
-header: sys/ndir.h      AC_HEADER_DIRENT
-header: sys/wait.h      AC_HEADER_SYS_WAIT
-
-# Others, checked with AC_CHECK_HEADERS.
-header: OS.h                    AC_CHECK_HEADERS
-header: argz.h                  AC_CHECK_HEADERS
-header: arpa/inet.h             AC_CHECK_HEADERS
-
-# errno.h is portable.
-header: fcntl.h                 AC_CHECK_HEADERS
-header: fenv.h                  AC_CHECK_HEADERS
-header: fs_info.h               AC_CHECK_HEADERS
-header: inttypes.h              AC_CHECK_HEADERS
-header: langinfo.h              AC_CHECK_HEADERS
-header: libintl.h               AC_CHECK_HEADERS
-header: limits.h                AC_CHECK_HEADERS
-header: locale.h                AC_CHECK_HEADERS
-header: mach/mach.h             AC_CHECK_HEADERS
-header: malloc.h                AC_CHECK_HEADERS
-header: memory.h                AC_CHECK_HEADERS
-header: mntent.h                AC_CHECK_HEADERS
-header: mnttab.h                AC_CHECK_HEADERS
-header: netdb.h                 AC_CHECK_HEADERS
-header: netinet/in.h            AC_CHECK_HEADERS
-header: nl_types.h              AC_CHECK_HEADERS
-header: nlist.h                 AC_CHECK_HEADERS
-header: paths.h                 AC_CHECK_HEADERS
-header: sgtty.h                 AC_CHECK_HEADERS
-header: shadow.h                AC_CHECK_HEADERS
-header: stdint.h                AC_CHECK_HEADERS
-header: stdio_ext.h             AC_CHECK_HEADERS
-header: strings.h               AC_CHECK_HEADERS
-header: sys/acl.h               AC_CHECK_HEADERS
-header: sys/file.h              AC_CHECK_HEADERS
-header: sys/filsys.h            AC_CHECK_HEADERS
-header: sys/fs/s5param.h        AC_CHECK_HEADERS
-header: sys/fs_types.h          AC_CHECK_HEADERS
-header: sys/fstyp.h             AC_CHECK_HEADERS
-header: sys/ioctl.h             AC_CHECK_HEADERS
-header: sys/mntent.h            AC_CHECK_HEADERS
-header: sys/mount.h             AC_CHECK_HEADERS
-header: sys/param.h             AC_CHECK_HEADERS
-header: sys/socket.h            AC_CHECK_HEADERS
-header: sys/statfs.h            AC_CHECK_HEADERS
-header: sys/statvfs.h           AC_CHECK_HEADERS
-header: sys/systeminfo.h        AC_CHECK_HEADERS
-header: sys/time.h              AC_CHECK_HEADERS
-header: sys/timeb.h             AC_CHECK_HEADERS
-header: sys/vfs.h               AC_CHECK_HEADERS
-header: sys/window.h            AC_CHECK_HEADERS
-header: syslog.h                AC_CHECK_HEADERS
-header: termio.h                AC_CHECK_HEADERS
-header: termios.h               AC_CHECK_HEADERS
-header: unistd.h                AC_CHECK_HEADERS
-header: utime.h                 AC_CHECK_HEADERS
-header: utmp.h                  AC_CHECK_HEADERS
-header: utmpx.h                 AC_CHECK_HEADERS
-header: values.h                AC_CHECK_HEADERS
-header: wchar.h                 AC_CHECK_HEADERS
-header: wctype.h                AC_CHECK_HEADERS
-
-# Local Variables:
-# mode: shell-script
-# End:
Index: lib/autoscan/identifiers
--- lib/autoscan/identifiers Fri, 27 Sep 2002 22:52:07 +0200 akim
+++ lib/autoscan/identifiers Sat, 28 Sep 2002 09:19:33 +0200 akim
@@ -1,58 +0,0 @@
-# identifiers -- autoscan's mapping from identifiers which are not
-# involved in function calls to Autoconf macros.
-
-# Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# Keywords.
-identifier: const           AC_C_CONST
-identifier: inline          AC_C_INLINE
-
-# Variables.
-identifier: sys_siglist     AC_DECL_SYS_SIGLIST
-
-# Types.
-identifier: gid_t           AC_TYPE_UID_T
-identifier: mode_t          AC_TYPE_MODE_T
-identifier: obstack         AC_FUNC_OBSTACK
-identifier: off_t           AC_TYPE_OFF_T
-identifier: pid_t           AC_TYPE_PID_T
-identifier: ptrdiff_t       AC_CHECK_TYPES
-identifier: size_t          AC_TYPE_SIZE_T
-identifier: timeval         AC_HEADER_TIME
-identifier: tm              AC_STRUCT_TM
-identifier: uid_t           AC_TYPE_UID_T
-
-# Macros.
-identifier: S_ISBLK         AC_HEADER_STAT
-identifier: S_ISCHR         AC_HEADER_STAT
-identifier: S_ISDIR         AC_HEADER_STAT
-identifier: S_ISFIFO        AC_HEADER_STAT
-identifier: S_ISLNK         AC_HEADER_STAT
-identifier: S_ISREG         AC_HEADER_STAT
-identifier: S_ISSOCK        AC_HEADER_STAT
-
-# Members of structures.
-identifier: st_blksize      AC_CHECK_MEMBERS([struct stat.st_blksize])
-identifier: st_blocks       AC_STRUCT_ST_BLOCKS
-identifier: st_rdev         AC_CHECK_MEMBERS([struct stat.st_rdev])
-identifier: tm_zone         AC_STRUCT_TIMEZONE
-
-# Local Variables:
-# mode: shell-script
-# End:
Index: lib/autoscan/libraries
--- lib/autoscan/libraries Sat, 23 Jun 2001 23:01:08 +0200 akim
+++ lib/autoscan/libraries Sat, 28 Sep 2002 09:19:33 +0200 akim
@@ -1,26 +0,0 @@
-# aclibraries -- autoscan's mapping from libraries to Autoconf macros
-# Copyright 2001
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-# Ones that have their own macros.
-
-# Others, checked with AC_CHECK_LIB.
-
-# Local Variables:
-# mode: shell-script
-# End:
Index: lib/autoscan/makevars
--- lib/autoscan/makevars Fri, 27 Sep 2002 22:52:07 +0200 akim
+++ lib/autoscan/makevars Sat, 28 Sep 2002 09:19:33 +0200 akim
@@ -1,34 +0,0 @@
-# acmakevars -- autoscan's mapping from Make variables to Autoconf macros
-# Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-makevar: AWK             AC_PROG_AWK
-makevar: BISON           AC_PROG_YACC
-makevar: CC              AC_PROG_CC
-makevar: CPP             AC_PROG_CPP
-makevar: CXX             AC_PROG_CXX
-makevar: INSTALL         AC_PROG_INSTALL
-makevar: LEX             AC_PROG_LEX
-makevar: LN              AC_PROG_LN_S
-makevar: MAKE            AC_PROG_MAKE_SET
-makevar: RANLIB          AC_PROG_RANLIB
-makevar: YACC            AC_PROG_YACC
-
-# Local Variables:
-# mode: shell-script
-# End:
Index: lib/autoscan/programs
--- lib/autoscan/programs Fri, 27 Sep 2002 22:52:07 +0200 akim
+++ lib/autoscan/programs Sat, 28 Sep 2002 09:19:33 +0200 akim
@@ -1,42 +0,0 @@
-# acprograms -- autoscan's mapping from programs to Autoconf macros
-# Copyright 1992, 1993, 1994, 1996, 1999, 2000, 2001
-# Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
-
-program: CC              AC_PROG_CXX
-program: awk             AC_PROG_AWK
-program: bison           AC_PROG_YACC
-program: byacc           AC_PROG_YACC
-program: c++             AC_PROG_CXX
-program: cc              AC_PROG_CC
-program: cpp             AC_PROG_CPP
-program: flex            AC_PROG_LEX
-program: g++             AC_PROG_CXX
-program: gawk            AC_PROG_AWK
-program: gcc             AC_PROG_CC
-program: install         AC_PROG_INSTALL
-program: lex             AC_PROG_LEX
-program: ln              AC_PROG_LN_S
-program: make            AC_PROG_MAKE_SET
-program: mawk            AC_PROG_AWK
-program: nawk            AC_PROG_AWK
-program: ranlib          AC_PROG_RANLIB
-program: yacc            AC_PROG_YACC
-
-# Local Variables:
-# mode: shell-script
-# End:




reply via email to

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