The problem is back (probably it was a fluke that it went away), so I'm sending specifics. This is a Solaris 8 machine on SPARC in the sourceforge compile farm. Recap of problem: configure script doesn't generate config.h on the basis of results from tests. Removing config.cache and rerunning configure yeilds a correct config.h. Akim Demaille <[EMAIL PROTECTED]> writes: > Hi! > > Sorry, but if you want help, you need to help us. We have little > time. > > What version of Autoconf? 2.13 and 2.50. > Could you attach config.h.in? It's generated by autoheader:
/* config.h.in. Generated automatically from configure.in by autoheader. */ /* integrit - file integrity verification system Copyright (C) 2001 Ed Cashin 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 of the License, 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. */ /* PROGNAME will be used in error messages, etc. */ #define PROGNAME "integrit" /* version string lives in configure.in */ #undef INTEGRIT_VERSION /* define this for debugging runtime diagnostics to stderr */ #undef DEBUG /* define this to compile in memory-leak detection */ #undef ELC_FIND_LEAKS /* Define this if your system provides strstr */ #undef HAVE_STRSTR /* Define this if your system provides strerror */ #undef HAVE_STRERROR /* define this on a host with little-endian byte order */ #undef LITTLE_ENDIAN_HOST /* define this on a host with big-endian byte order */ #undef BIG_ENDIAN_HOST /* biggest file size in bytes that cdb-reading code will mmap */ #undef CDB_MMAP_MAX /* ---------------- gnupg crypto support ------------ */ /* define when system provides typedef for byte */ #undef HAVE_BYTE_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_USHORT_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_ULONG_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_U16_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_U32_TYPEDEF /* (end acconfig.h) */ /* Define if you have the <dirent.h> header file, and it defines `DIR'. */ #undef HAVE_DIRENT_H /* Define if you don't have `vprintf' but do have `_doprnt.' */ #undef HAVE_DOPRNT /* Define if you have the <fcntl.h> header file. */ #undef HAVE_FCNTL_H /* Define if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE /* Define if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H /* Define if you have the `gc' library (-lgc). */ #undef HAVE_LIBGC /* Define if you have the <limits.h> header file. */ #undef HAVE_LIMITS_H /* Define if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H /* Define if you have the `mkdir' function. */ #undef HAVE_MKDIR /* Define if you have a working `mmap' system call. */ #undef HAVE_MMAP /* Define if you have the <ndir.h> header file, and it defines `DIR'. */ #undef HAVE_NDIR_H /* Define if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H /* Define if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H /* Define if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H /* Define if you have the <string.h> header file. */ #undef HAVE_STRING_H /* Define if you have the <syslog.h> header file. */ #undef HAVE_SYSLOG_H /* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */ #undef HAVE_SYS_DIR_H /* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H /* Define if you have the <sys/time.h> header file. */ #undef HAVE_SYS_TIME_H /* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H /* Define if `utime(file, NULL)' sets file's timestamp to the present. */ #undef HAVE_UTIME_NULL /* Define if you have the `vprintf' function. */ #undef HAVE_VPRINTF /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* The size of a `unsigned int', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_INT /* The size of a `unsigned long', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_LONG /* The size of a `unsigned long long', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_LONG_LONG /* The size of a `unsigned short', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_SHORT /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define as `__inline' if that's what the C compiler calls it, or to nothing if it is not supported. */ #undef inline /* Define to `long' if <sys/types.h> does not define. */ #undef off_t /* Define to `unsigned' if <sys/types.h> does not define. */ #undef size_t
> Could you send the two versions of config.h? OK.
/* config.h.in. Generated automatically from configure.in by autoheader. */ /* integrit - file integrity verification system Copyright (C) 2001 Ed Cashin 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 of the License, 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. */ /* PROGNAME will be used in error messages, etc. */ #define PROGNAME "integrit" /* version string lives in configure.in */ #undef INTEGRIT_VERSION /* define this for debugging runtime diagnostics to stderr */ #undef DEBUG /* define this to compile in memory-leak detection */ #undef ELC_FIND_LEAKS /* Define this if your system provides strstr */ #undef HAVE_STRSTR /* Define this if your system provides strerror */ #undef HAVE_STRERROR /* define this on a host with little-endian byte order */ #undef LITTLE_ENDIAN_HOST /* define this on a host with big-endian byte order */ #undef BIG_ENDIAN_HOST /* biggest file size in bytes that cdb-reading code will mmap */ #undef CDB_MMAP_MAX /* ---------------- gnupg crypto support ------------ */ /* define when system provides typedef for byte */ #undef HAVE_BYTE_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_USHORT_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_ULONG_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_U16_TYPEDEF /* define when system provides typedef for byte */ #undef HAVE_U32_TYPEDEF /* (end acconfig.h) */ /* Define if you have the <dirent.h> header file, and it defines `DIR'. */ #undef HAVE_DIRENT_H /* Define if you don't have `vprintf' but do have `_doprnt.' */ #undef HAVE_DOPRNT /* Define if you have the <fcntl.h> header file. */ #undef HAVE_FCNTL_H /* Define if you have the `getpagesize' function. */ #undef HAVE_GETPAGESIZE /* Define if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H /* Define if you have the `gc' library (-lgc). */ #undef HAVE_LIBGC /* Define if you have the <limits.h> header file. */ #undef HAVE_LIMITS_H /* Define if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H /* Define if you have the `mkdir' function. */ #undef HAVE_MKDIR /* Define if you have a working `mmap' system call. */ #undef HAVE_MMAP /* Define if you have the <ndir.h> header file, and it defines `DIR'. */ #undef HAVE_NDIR_H /* Define if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H /* Define if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H /* Define if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H /* Define if you have the <string.h> header file. */ #undef HAVE_STRING_H /* Define if you have the <syslog.h> header file. */ #undef HAVE_SYSLOG_H /* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */ #undef HAVE_SYS_DIR_H /* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H /* Define if you have the <sys/time.h> header file. */ #undef HAVE_SYS_TIME_H /* Define if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H /* Define if `utime(file, NULL)' sets file's timestamp to the present. */ #undef HAVE_UTIME_NULL /* Define if you have the `vprintf' function. */ #undef HAVE_VPRINTF /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* The size of a `unsigned int', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_INT /* The size of a `unsigned long', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_LONG /* The size of a `unsigned long long', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_LONG_LONG /* The size of a `unsigned short', as computed by sizeof. */ #undef SIZEOF_UNSIGNED_SHORT /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define as `__inline' if that's what the C compiler calls it, or to nothing if it is not supported. */ #undef inline /* Define to `long' if <sys/types.h> does not define. */ #undef off_t /* Define to `unsigned' if <sys/types.h> does not define. */ #undef size_t
/* config.h. Generated automatically by configure. */ /* config.h.in. Generated automatically from configure.in by autoheader. */ /* integrit - file integrity verification system Copyright (C) 2001 Ed Cashin 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 of the License, 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. */ /* PROGNAME will be used in error messages, etc. */ #define PROGNAME "integrit" /* version string lives in configure.in */ #define INTEGRIT_VERSION "2.00" /* define this for debugging runtime diagnostics to stderr */ #define DEBUG 1 /* define this to compile in memory-leak detection */ /* #undef ELC_FIND_LEAKS */ /* Define this if your system provides strstr */ #define HAVE_STRSTR 1 /* Define this if your system provides strerror */ #define HAVE_STRERROR 1 /* define this on a host with little-endian byte order */ /* #undef LITTLE_ENDIAN_HOST */ /* define this on a host with big-endian byte order */ #define BIG_ENDIAN_HOST 1 /* biggest file size in bytes that cdb-reading code will mmap */ #define CDB_MMAP_MAX 10485760 /* ---------------- gnupg crypto support ------------ */ /* define when system provides typedef for byte */ /* #undef HAVE_BYTE_TYPEDEF */ /* define when system provides typedef for byte */ #define HAVE_USHORT_TYPEDEF 1 /* define when system provides typedef for byte */ #define HAVE_ULONG_TYPEDEF 1 /* define when system provides typedef for byte */ /* #undef HAVE_U16_TYPEDEF */ /* define when system provides typedef for byte */ /* #undef HAVE_U32_TYPEDEF */ /* (end acconfig.h) */ /* Define if you have the <dirent.h> header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 /* Define if you have the `getpagesize' function. */ #define HAVE_GETPAGESIZE 1 /* Define if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* Define if you have the `gc' library (-lgc). */ /* #undef HAVE_LIBGC */ /* Define if you have the <limits.h> header file. */ #define HAVE_LIMITS_H 1 /* Define if you have the <memory.h> header file. */ /* #undef HAVE_MEMORY_H */ /* Define if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define if you have a working `mmap' system call. */ #define HAVE_MMAP 1 /* Define if you have the <ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define if you have the <stdint.h> header file. */ /* #undef HAVE_STDINT_H */ /* Define if you have the <stdlib.h> header file. */ /* #undef HAVE_STDLIB_H */ /* Define if you have the <strings.h> header file. */ /* #undef HAVE_STRINGS_H */ /* Define if you have the <string.h> header file. */ /* #undef HAVE_STRING_H */ /* Define if you have the <syslog.h> header file. */ #define HAVE_SYSLOG_H 1 /* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define if you have the <sys/time.h> header file. */ #define HAVE_SYS_TIME_H 1 /* Define if you have the <unistd.h> header file. */ #define HAVE_UNISTD_H 1 /* Define if `utime(file, NULL)' sets file's timestamp to the present. */ #define HAVE_UTIME_NULL 1 /* Define if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void /* The size of a `unsigned int', as computed by sizeof. */ #define SIZEOF_UNSIGNED_INT 4 /* The size of a `unsigned long', as computed by sizeof. */ #define SIZEOF_UNSIGNED_LONG 4 /* The size of a `unsigned long long', as computed by sizeof. */ #define SIZEOF_UNSIGNED_LONG_LONG 8 /* The size of a `unsigned short', as computed by sizeof. */ #define SIZEOF_UNSIGNED_SHORT 2 /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define as `__inline' if that's what the C compiler calls it, or to nothing if it is not supported. */ /* #undef inline */ /* Define to `long' if <sys/types.h> does not define. */ /* #undef off_t */ /* Define to `unsigned' if <sys/types.h> does not define. */ /* #undef size_t */
-- --Ed Cashin PGP public key: [EMAIL PROTECTED] http://www.terry.uga.edu/~ecashin/pgp/