librep r2984 - in trunk: . man



Author: chrisb
Date: Tue Feb  3 18:50:10 2009
New Revision: 2984
URL: http://svn.gnome.org/viewvc/librep?rev=2984&view=rev

Log:
* autogen.sh: re-enable the use of autoheader

* configure.in: fix templates (for autoheader)


Modified:
   trunk/ChangeLog
   trunk/autogen.sh
   trunk/config.h.in
   trunk/configure.in
   trunk/man/news.texi

Modified: trunk/autogen.sh
==============================================================================
--- trunk/autogen.sh	(original)
+++ trunk/autogen.sh	Tue Feb  3 18:50:10 2009
@@ -13,10 +13,10 @@
 fi
 
 if [ -f configure.in ]; then
-#  if grep "AC_CONFIG_HEADER" configure.in >/dev/null; then
-#      echo "Running autoheader"
-#      autoheader || exit 1
-#  fi
+  if grep "AC_CONFIG_HEADER" configure.in >/dev/null; then
+      echo "Running autoheader"
+      autoheader || exit 1
+  fi
   if grep "AM_PROG_LIBTOOL" configure.in >/dev/null; then
     echo "Running libtoolize"
     lver=$(libtool --version | grep 1.5)

Modified: trunk/config.h.in
==============================================================================
--- trunk/config.h.in	(original)
+++ trunk/config.h.in	Tue Feb  3 18:50:10 2009
@@ -1,356 +1,382 @@
-/* config.h.in -- config.h configure input
-   Copyright (C) 1998 John Harper <john dcs warwick ac uk>
-   $Id: config.h.in,v 1.38 2003/07/26 08:34:27 jsh Exp $
-
-   This file is part of Jade.
-
-   Jade 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.
-
-   Jade 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 Jade; see the file COPYING.  If not, write to
-   the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
-
-#ifndef CONFIG_H
-#define CONFIG_H
-
-
-/* librep-specific configuration; these are the things that aren't really
-   inferred automatically by configure. */
-
-/* If defined, this is the character which terminates the user's
-    real-name in the pw_gecos field of the passwd structure.  i.e. if
-    pw_gecos has something like "Real Name,SYS-ID" define it to a
-    comma (',') */
-#undef FULL_NAME_TERMINATOR
+/* config.h.in.  Generated from configure.in by autoheader.  */
 
-/* Define this to track unfreed memory allocations */
-#undef DEBUG_SYS_ALLOC
+/* Have broken alpha gcc */
+#undef BROKEN_ALPHA_GCC
 
-/* When defined, try to translate addresses to their symbols. */
-#undef DB_RESOLVE_SYMBOLS
+/* Broken rtld global */
+#undef BROKEN_RTLD_GLOBAL
 
-
-/* General configuration options */
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+   systems. This function is required for `alloca.c' support on those systems.
+   */
+#undef CRAY_STACKSEG_END
 
-/* Define if dynamic loading is available */
-#undef HAVE_DYNAMIC_LOADING
+/* Define to 1 if using `alloca.c'. */
+#undef C_ALLOCA
 
-/* Define if <dlfcn.h> is available */
-#undef HAVE_DLFCN_H
+/* DB resolve symbols */
+#undef DB_RESOLVE_SYMBOLS
 
-/* Define if names to dlsym () require underscore prefix */
+/* Debug sys alloc */
+#undef DEBUG_SYS_ALLOC
+
+/* Need dlsym uscore */
 #undef DLSYM_NEED_USCORE
 
-/* Define if <dl.h> is available */
-#undef HAVE_DL_H
+/* Have doug lea malloc */
+#undef DOUG_LEA_MALLOC
 
-/* Define if <sys/dl.h> is available */
-#undef HAVE_SYS_DL_H
+/* Env undeclared */
+#undef ENVIRON_UNDECLARED
 
-/* Define if RTLD_GLOBAL is broken on Tru64 UNIX */
-#undef BROKEN_RTLD_GLOBAL
+/* The first pty letter */
+#undef FIRST_PTY_LETTER
 
-/* Define if pseudo terminals are available */
-#undef HAVE_PTYS
+/* Have Fullname Terminator */
+#undef FULL_NAME_TERMINATOR
 
-/* Define if pseudo terminals should be opened through /dev/ptmx
-   followed by calls to grantpt, unlockpt and ptsname */
-#undef HAVE_DEV_PTMX
+/* Define to 1 if you have `alloca', as a function or macro. */
+#undef HAVE_ALLOCA
 
-/* Character of first pty, eg /dev/ptyX0.  */
-#undef FIRST_PTY_LETTER
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+   */
+#undef HAVE_ALLOCA_H
 
-/* Define this when <unistd.h> doesn't declare environ, */
-#undef ENVIRON_UNDECLARED
+/* Define to 1 if you have the <argz.h> header file. */
+#undef HAVE_ARGZ_H
 
-/* Define if using alloca.c.  */
-#undef C_ALLOCA
+/* Have crypt */
+#undef HAVE_CRYPT
 
-/* Define to empty if the keyword does not work.  */
-#undef const
+/* Have dev/ptmx */
+#undef HAVE_DEV_PTMX
 
-/* Define as __inline if that's what the C compiler calls it.  */
-#undef inline
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+   */
+#undef HAVE_DIRENT_H
 
-/* Define to `long' if <sys/types.h> doesn't define.  */
-#undef off_t
+/* Define to 1 if you have the `dladdr' function. */
+#undef HAVE_DLADDR
 
-/* Define if you need to in order for stat and other things to work.  */
-#undef _POSIX_SOURCE
+/* Define to 1 if you have the `dlerror' function. */
+#undef HAVE_DLERROR
 
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
-   This function is required for alloca.c support on those systems.  */
-#undef CRAY_STACKSEG_END
+/* Have dlfcn header */
+#undef HAVE_DLFCN_H
 
-/* Define if you have alloca, as a function or macro.  */
-#undef HAVE_ALLOCA
+/* Have dlopen */
+#undef HAVE_DLOPEN
 
-/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
-#undef HAVE_ALLOCA_H
+/* Have dl header */
+#undef HAVE_DL_H
 
-/* Define if you don't have vprintf but do have _doprnt.  */
+/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
 #undef HAVE_DOPRNT
 
-/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
-#undef HAVE_SYS_WAIT_H
+/* Have dynamic Loading */
+#undef HAVE_DYNAMIC_LOADING
 
-/* Define if you have the vprintf function.  */
-#undef HAVE_VPRINTF
+/* Define to 1 if you have the <fcntl.h> header file. */
+#undef HAVE_FCNTL_H
 
-/* Define to `int' if <sys/types.h> doesn't define.  */
-#undef pid_t
+/* Have ffi header */
+#undef HAVE_FFI_H
 
-/* Define as the return type of signal handlers (int or void).  */
-#undef RETSIGTYPE
+/* Define to 1 if you have the `getcwd' function. */
+#undef HAVE_GETCWD
 
-/* Define to `unsigned' if <sys/types.h> doesn't define.  */
-#undef size_t
+/* Define to 1 if you have the `gethostname' function. */
+#undef HAVE_GETHOSTNAME
 
-/* Define if your locale.h file contains LC_MESSAGES.  */
-#undef HAVE_LC_MESSAGES
+/* Define to 1 if you have the `getpagesize' function. */
+#undef HAVE_GETPAGESIZE
 
-/* If using the C implementation of alloca, define if you know the
-   direction of stack growth for your system; otherwise it will be
-   automatically deduced at run-time.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown
- */
-#undef STACK_DIRECTION
+/* Define to 1 if you have the `gettimeofday' function. */
+#undef HAVE_GETTIMEOFDAY
 
-/* Define if you have the ANSI C header files.  */
-#undef STDC_HEADERS
+/* Have libgmp */
+#undef HAVE_GMP
 
-/* Define if you can safely include both <sys/time.h> and <time.h>.  */
-#undef TIME_WITH_SYS_TIME
+/* Have randinit in libgmp */
+#undef HAVE_GMP_RANDINIT
 
-/* Define if <memory.h> exists */
-#undef HAVE_MEMORY_H
-#ifdef HAVE_MEMORY_H
-# define NEED_MEMORY_H		/* backwards compatibility */
-#endif
+/* Define to 1 if you have the `grantpt' function. */
+#undef HAVE_GRANTPT
 
-/* Define if you have the getcwd function.  */
-#undef HAVE_GETCWD
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
 
-/* Define if you have the gethostname function.  */
-#undef HAVE_GETHOSTNAME
+/* Define to 1 if you have the `dl' library (-ldl). */
+#undef HAVE_LIBDL
 
-/* Define if you have the strcspn function.  */
-#undef HAVE_STRCSPN
+/* Have libffi */
+#undef HAVE_LIBFFI
 
-/* Define if you have the strerror function.  */
-#undef HAVE_STRERROR
+/* Define to 1 if you have the <libintl.h> header file. */
+#undef HAVE_LIBINTL_H
 
-/* Define if you have the strstr function.  */
-#undef HAVE_STRSTR
+/* Define to 1 if you have the `nsl' library (-lnsl). */
+#undef HAVE_LIBNSL
 
-/* Define if you have the strtol function.  */
-#undef HAVE_STRTOL
+/* Have libreadline */
+#undef HAVE_LIBREADLINE
 
-/* Define if you have the psignal function.  */
-#undef HAVE_PSIGNAL
+/* Define to 1 if you have the `socket' library (-lsocket). */
+#undef HAVE_LIBSOCKET
 
-/* Define if you have the strsignal function.  */
-#undef HAVE_STRSIGNAL
+/* Define to 1 if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
 
-/* Define if you have the snprintf function. */
-#undef HAVE_SNPRINTF
+/* Define to 1 if you have the <locale.h> header file. */
+#undef HAVE_LOCALE_H
 
-/* Define if you have the grantpt (and ptsname and unlockpt) function. */
-#undef HAVE_GRANTPT
+/* Define to 1 if you have the `lrand48' function. */
+#undef HAVE_LRAND48
 
-/* Define if you have the getpagesize function. */
-#undef HAVE_GETPAGESIZE
+/* Define to 1 if you have the <malloc.h> header file. */
+#undef HAVE_MALLOC_H
 
-/* Define if you have the stpcpy function.  */
-#undef HAVE_STPCPY
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
 
-/* Define if you have the memchr function.  */
-#undef HAVE_MEMCHR
+/* Define to 1 if you have a working `mmap' system call. */
+#undef HAVE_MMAP
 
-/* Define if you have the lrand48() and srand48() functions */
-#undef HAVE_LRAND48
+/* Define to 1 if you have the `munmap' function. */
+#undef HAVE_MUNMAP
 
-/* Define if you have the setitimer() function */
-#undef HAVE_SETITIMER
+/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
+#undef HAVE_NDIR_H
 
-/* Define if you have the dlopen() function */
-#undef HAVE_DLOPEN
+/* Define to 1 if you have the <nl_types.h> header file. */
+#undef HAVE_NL_TYPES_H
 
-/* Define if you have the dladdr() function */
-#undef HAVE_DLADDR
+/* Define to 1 if you have the `psignal' function. */
+#undef HAVE_PSIGNAL
 
-/* Define if you have the dlerror() function */
-#undef HAVE_DLERROR
+/* Have ptys */
+#undef HAVE_PTYS
 
-/* Define if you have the shl_load() function */
-#undef HAVE_SHL_LOAD
+/* Define to 1 if you have the `putenv' function. */
+#undef HAVE_PUTENV
 
-/* Define if you have realpath() */
+/* Define to 1 if you have the `realpath' function. */
 #undef HAVE_REALPATH
 
-/* Define if you have the __argz_count function.  */
-#undef HAVE___ARGZ_COUNT
+/* Define to 1 if you have the `select' function. */
+#undef HAVE_SELECT
 
-/* Define if you have the __argz_next function.  */
-#undef HAVE___ARGZ_NEXT
+/* Define to 1 if you have the `setenv' function. */
+#undef HAVE_SETENV
 
-/* Define if you have the __argz_stringify function.  */
-#undef HAVE___ARGZ_STRINGIFY
+/* Define to 1 if you have the `setitimer' function. */
+#undef HAVE_SETITIMER
 
-/* Define if you have the munmap function.  */
-#undef HAVE_MUNMAP
+/* Define to 1 if you have the `setlocale' function. */
+#undef HAVE_SETLOCALE
 
-/* Define if you have the putenv function.  */
-#undef HAVE_PUTENV
+/* Have shlload */
+#undef HAVE_SHL_LOAD
 
-/* Define if you have the setenv function.  */
-#undef HAVE_SETENV
+/* Define to 1 if you have the <siginfo.h> header file. */
+#undef HAVE_SIGINFO_H
 
-/* Define if you have the setlocale function.  */
-#undef HAVE_SETLOCALE
+/* Define to 1 if you have the `siginterrupt' function. */
+#undef HAVE_SIGINTERRUPT
 
-/* Define if you have the strchr function.  */
-#undef HAVE_STRCHR
+/* Define to 1 if you have the `snprintf' function. */
+#undef HAVE_SNPRINTF
+
+/* Define to 1 if you have the `socket' function. */
+#undef HAVE_SOCKET
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
 
-/* Define if you have the strcasecmp function.  */
+/* Define to 1 if you have the `stpcpy' function. */
+#undef HAVE_STPCPY
+
+/* Define to 1 if you have the `strcasecmp' function. */
 #undef HAVE_STRCASECMP
 
-/* Define if you have the strncasecmp function.  */
-#undef HAVE_STRNCASECMP
+/* Define to 1 if you have the `strchr' function. */
+#undef HAVE_STRCHR
+
+/* Define to 1 if you have the `strcspn' function. */
+#undef HAVE_STRCSPN
 
-/* Define if you have the strdup function.  */
+/* Define to 1 if you have the `strdup' function. */
 #undef HAVE_STRDUP
 
-/* Define if you have the siginterrupt function.  */
-#undef HAVE_SIGINTERRUPT
+/* Define to 1 if you have the `strerror' function. */
+#undef HAVE_STRERROR
 
-/* Define if you have the gettimeofday function.  */
-#undef HAVE_GETTIMEOFDAY
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
 
-/* Define if you have the strtoll function. */
-#undef HAVE_STRTOLL
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
 
-/* Define if you have the strtoq function. */
-#undef HAVE_STRTOQ
+/* Define to 1 if you have the `strncasecmp' function. */
+#undef HAVE_STRNCASECMP
 
-/* Define if you have the crypt function. */
-#undef HAVE_CRYPT
+/* Define to 1 if you have the <stropts.h> header file. */
+#undef HAVE_STROPTS_H
 
-/* Define if you have the <dirent.h> header file.  */
-#undef HAVE_DIRENT_H
+/* Define to 1 if you have the `strsignal' function. */
+#undef HAVE_STRSIGNAL
 
-/* Define if you have the <fcntl.h> header file.  */
-#undef HAVE_FCNTL_H
+/* Define to 1 if you have the `strstr' function. */
+#undef HAVE_STRSTR
 
-/* Define if you have the <ndir.h> header file.  */
-#undef HAVE_NDIR_H
+/* Define to 1 if you have the `strtol' function. */
+#undef HAVE_STRTOL
+
+/* Define to 1 if you have the `strtoll' function. */
+#undef HAVE_STRTOLL
+
+/* Define to 1 if you have the `strtoq' function. */
+#undef HAVE_STRTOQ
 
-/* Define if you have the <sys/dir.h> header file.  */
+/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
+   */
 #undef HAVE_SYS_DIR_H
 
-/* Define if you have the <sys/ioctl.h> header file.  */
+/* Have sysdl header */
+#undef HAVE_SYS_DL_H
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
 #undef HAVE_SYS_IOCTL_H
 
-/* Define if you have the <sys/ndir.h> header file.  */
+/* Define to 1 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 to 1 if you have the <sys/param.h> header file. */
+#undef HAVE_SYS_PARAM_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/time.h> header file. */
 #undef HAVE_SYS_TIME_H
 
-/* Define if you have the <sys/utsname.h> header file.  */
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <sys/utsname.h> header file. */
 #undef HAVE_SYS_UTSNAME_H
 
-/* Define if you have the <unistd.h> header file.  */
+/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
+#undef HAVE_SYS_WAIT_H
+
+/* Define to 1 if you have the <termios.h> header file. */
+#undef HAVE_TERMIOS_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
 #undef HAVE_UNISTD_H
 
-/* Define if you have the <siginfo.h> header file.  */
-#undef HAVE_SIGINFO_H
+/* Define to 1 if you have the `vprintf' function. */
+#undef HAVE_VPRINTF
 
-/* Define if you have the <stropts.h> header file.  */
-#undef HAVE_STROPTS_H
+/* Define to 1 if you have the `__argz_count' function. */
+#undef HAVE___ARGZ_COUNT
 
-/* Define if you have the <termios.h> header file.  */
-#undef HAVE_TERMIOS_H
+/* Define to 1 if you have the `__argz_next' function. */
+#undef HAVE___ARGZ_NEXT
 
-/* Define if you have the <string.h> header file.  */
-#undef HAVE_STRING_H
+/* Define to 1 if you have the `__argz_stringify' function. */
+#undef HAVE___ARGZ_STRINGIFY
 
-/* Define if you have the <limits.h> header file.  */
-#undef HAVE_LIMITS_H
+/* Have libc gettext */
+#undef LIBC_GETTEXT
 
-/* Define if you have the <argz.h> header file.  */
-#undef HAVE_ARGZ_H
+/* Have libc malloc */
+#undef LIBC_MALLOC
 
-/* Define if you have the <locale.h> header file.  */
-#undef HAVE_LOCALE_H
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
 
-/* Define if you have the <nl_types.h> header file.  */
-#undef HAVE_NL_TYPES_H
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
 
-/* Define if you have the <sys/param.h> header file.  */
-#undef HAVE_SYS_PARAM_H
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
 
-/* Define if you have the <malloc.h> header file.  */
-#undef HAVE_MALLOC_H
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
 
-/* Define if you have the nsl library (-lnsl).  */
-#undef HAVE_LIBNSL
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
 
-/* Define if you have the og library (-log).  */
-#undef HAVE_LIBOG
+/* Define as the return type of signal handlers (`int' or `void'). */
+#undef RETSIGTYPE
 
-/* Define if you have the socket library (-lsocket).  */
-#undef HAVE_LIBSOCKET
+/* The size of `long', as computed by sizeof. */
+#undef SIZEOF_LONG
 
-/* Define if using Doug Lea's malloc */
-#undef DOUG_LEA_MALLOC
+/* The size of `long long', as computed by sizeof. */
+#undef SIZEOF_LONG_LONG
 
-/* Define if using libc's malloc */
-#undef LIBC_MALLOC
+/* The size of `void *', as computed by sizeof. */
+#undef SIZEOF_VOID_P
 
-/* Define if using r_alloc and friends */
-#undef USE_R_ALLOC
+/* Have stack direction */
+#undef STACK_DIRECTION
 
-/* Define to use the readline library. */
-#undef HAVE_LIBREADLINE
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
 
-/* Define if we have a broken gcc on alpha */
-#undef BROKEN_ALPHA_GCC
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#undef TIME_WITH_SYS_TIME
 
-/* Define if using LIBC gettext */
-#undef LIBC_GETTEXT
+/* Have continuations */
+#undef WITH_CONTINUATIONS
 
-/* Define if you have the <libintl.h> header file. */
-#undef HAVE_LIBINTL_H
+/* Define to empty if `const' does not conform to ANSI C. */
+#undef const
 
-/* Define the sizes of long, long long and void * */
-#undef SIZEOF_LONG
-#undef SIZEOF_LONG_LONG
-#undef SIZEOF_VOID_P
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+   calls it, or to nothing if 'inline' is not supported under any name.  */
+#ifndef __cplusplus
+#undef inline
+#endif
 
-/* Define this if GMP is to be used. */
-#undef HAVE_GMP
+/* Define to `long int' if <sys/types.h> does not define. */
+#undef off_t
 
-/* The random number functions are only in gmp 3 */
-#undef HAVE_GMP_RANDINIT
+/* Define to `int' if <sys/types.h> does not define. */
+#undef pid_t
 
-/* Define if continuations / threading support should be built */
-#undef WITH_CONTINUATIONS
+/* Have long long */
+#undef rep_HAVE_LONG_LONG
 
-/* Define if <ffi.h> exists */
-#undef HAVE_FFI_H
+/* Having Unix */
+#undef rep_HAVE_UNIX
 
-/* Define if libffi exists and works */
-#undef HAVE_LIBFFI
+/* Rep interface */
+#undef rep_INTERFACE
+
+/* Have malloc alignment */
+#undef rep_MALLOC_ALIGNMENT
 
-#endif /* CONFIG_H */
+/* Have ptr sized int */
+#undef rep_PTR_SIZED_INT
+
+/* Have ptr sized int conv */
+#undef rep_PTR_SIZED_INT_CONV
+
+/* Have ptr sized int sizeof */
+#undef rep_PTR_SIZED_INT_SIZEOF
+
+/* Have ptr sized suffix */
+#undef rep_PTR_SIZED_INT_SUFFIX
+
+/* Rep version */
+#undef rep_VERSION
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#undef size_t

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Tue Feb  3 18:50:10 2009
@@ -134,10 +134,10 @@
           [GMP_LIBS="-lgmp -lm"; found_gmp=yes])])])
 
   if test "$found_gmp" = "yes"; then
-    AC_DEFINE(HAVE_GMP)
+    AC_DEFINE(HAVE_GMP, 1, [Have libgmp])
     _libs="$LIBS"
     LIBS="$LIBS $GMP_LIBS"
-    AC_CHECK_FUNC(__gmp_randinit, AC_DEFINE(HAVE_GMP_RANDINIT))
+    AC_CHECK_FUNC(__gmp_randinit, AC_DEFINE(HAVE_GMP_RANDINIT, 1, [Have randinit in libgmp]))
     LIBS="$_libs"
   elif test "$with_gmp" != "no"; then
     AC_MSG_ERROR([Can't find GMP (--without-gmp for cut-down non-GMP build)])
@@ -167,10 +167,10 @@
   dnl We used to compile our own version of dlmalloc on most
   dnl platforms that didn't have it in their libc. But the list
   dnl of exceptions was growing too long..
-  AC_DEFINE(LIBC_MALLOC)
+  AC_DEFINE(LIBC_MALLOC, 1, [Have libc malloc])
 else
-  AC_DEFINE(DOUG_LEA_MALLOC)
-  AC_DEFINE(LIBC_MALLOC)
+  AC_DEFINE(DOUG_LEA_MALLOC, 1, [Have doug lea malloc])
+  AC_DEFINE(LIBC_MALLOC, 1, [Have libc malloc])
 fi
 
 dnl Check for readline
@@ -205,7 +205,7 @@
   AC_CHECK_HEADER(readline/readline.h,
     AC_CHECK_LIB(readline, readline,[
       READLINE_LIBS=" -L/lib${libsuff} -lreadline $tcap"
-      AC_DEFINE(HAVE_LIBREADLINE)] found_readline=yes, , $tcap))
+      AC_DEFINE(HAVE_LIBREADLINE, 1, [Have libreadline])] found_readline=yes, , $tcap))
 
   if test -z "$READLINE_LIBS"; then
     if test "$with_readline_prefix" = "yes"; then
@@ -235,10 +235,10 @@
   fi ])
 
   AC_CHECK_HEADER(ffi.h,
-    AC_DEFINE(HAVE_FFI_H)
+    AC_DEFINE(HAVE_FFI_H, 1, [Have ffi header])
     AC_CHECK_LIB(ffi, ffi_call,[
       FFI_LIBS="-lffi"
-      AC_DEFINE(HAVE_LIBFFI)] found_ffi=yes))
+      AC_DEFINE(HAVE_LIBFFI, 1, [Have libffi])] found_ffi=yes))
 
   if test -z "$FFI_LIBS"; then
     if test "$with_ffi_prefix" = "yes"; then
@@ -252,14 +252,14 @@
 AC_SUBST(FFI_LIBS)
 
 dnl Check for dynamic loading
-AC_CHECK_HEADER(dlfcn.h, [AC_DEFINE(HAVE_DLFCN_H)])
-AC_CHECK_HEADER(dl.h, [AC_DEFINE(HAVE_DL_H)])
-AC_CHECK_HEADER(sys/dl.h, [AC_DEFINE(HAVE_SYS_DL_H)])
+AC_CHECK_HEADER(dlfcn.h, [AC_DEFINE(HAVE_DLFCN_H, 1, [Have dlfcn header])])
+AC_CHECK_HEADER(dl.h, [AC_DEFINE(HAVE_DL_H, 1, [Have dl header])])
+AC_CHECK_HEADER(sys/dl.h, [AC_DEFINE(HAVE_SYS_DL_H, 1, [Have sysdl header])])
 dl_ok=no
-AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_DLOPEN) dl_ok=dl],
-    AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_DLOPEN) dl_ok=dl]))
-AC_CHECK_FUNC(shl_load, [AC_DEFINE(HAVE_SHL_LOAD) dl_ok=shl],
-    AC_CHECK_LIB(dld, shl_load, [AC_DEFINE(HAVE_DLOPEN) dl_ok=shl]))
+AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_DLOPEN, 1, [Have dlopen]) dl_ok=dl],
+    AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_DLOPEN, 1, [Have dlopen]) dl_ok=dl]))
+AC_CHECK_FUNC(shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1, [Have shlload]) dl_ok=shl],
+    AC_CHECK_LIB(dld, shl_load, [AC_DEFINE(HAVE_DLOPEN, 1, [Have dlopen]) dl_ok=shl]))
 
 if test $dl_ok = dl; then
   AC_MSG_CHECKING([for preceding underscore in symbols])
@@ -276,7 +276,7 @@
                   f2 = dlsym (handle, "_glib_underscore_test");
                 } return (!f2 || f1);
               }],
-              [AC_DEFINE(DLSYM_NEED_USCORE)
+              [AC_DEFINE(DLSYM_NEED_USCORE, 1, [Need dlsym uscore])
 	       AC_MSG_RESULT(yes)],
 	      [AC_MSG_RESULT(no)])
 
@@ -290,7 +290,7 @@
     *-dec-osf5*)
       AC_MSG_CHECKING([for broken RTLD_GLOBAL on Tru64])
       if /usr/sbin/sizer -v | grep -E -q -e 'UNIX [[TVX]]5\.0A?(-[[[:digit:]]]+)? '; then
-	  AC_DEFINE(BROKEN_RTLD_GLOBAL)
+	  AC_DEFINE(BROKEN_RTLD_GLOBAL, 1, [Broken rtld global])
 	  AC_MSG_RESULT(yes)
       else
 	  AC_MSG_RESULT(no)
@@ -300,7 +300,7 @@
 fi
 
 if test $dl_ok != no; then
-  AC_DEFINE(HAVE_DYNAMIC_LOADING)
+  AC_DEFINE(HAVE_DYNAMIC_LOADING, 1, [Have dynamic Loading])
 else
   AC_MSG_ERROR([can't figure out how to do dynamic loading])
 fi
@@ -323,7 +323,7 @@
 
 dnl check for crypt () function
 AC_CHECK_FUNC(crypt, [AC_DEFINE(HAVE_CRYPT)],
-    AC_CHECK_LIB(crypt, crypt, [AC_DEFINE(HAVE_CRYPT)
+    AC_CHECK_LIB(crypt, crypt, [AC_DEFINE(HAVE_CRYPT, 1, [Have crypt])
 			        LIBS="$LIBS -lcrypt"]))
 
 dnl Custom tests
@@ -376,15 +376,15 @@
   [jade_cv_decl_environ=yes],
   [jade_cv_decl_environ=no]))
 if test ${jade_cv_decl_environ} = no; then
-  AC_DEFINE(ENVIRON_UNDECLARED)
+  AC_DEFINE(ENVIRON_UNDECLARED, 1, [Env undeclared])
 fi
 
 dnl Are ptys available, and if so, how?
 AC_MSG_CHECKING([whether /dev/ptmx exists])
 if test -r /dev/ptmx; then
   AC_MSG_RESULT([yes])
-  AC_DEFINE(HAVE_PTYS)
-  AC_DEFINE(HAVE_DEV_PTMX)
+  AC_DEFINE(HAVE_PTYS, 1, [Have ptys])
+  AC_DEFINE(HAVE_DEV_PTMX, 1, [Have dev/ptmx])
 else
   AC_MSG_RESULT([no])
 fi
@@ -399,8 +399,8 @@
    fi
  done)
 if test ${jade_cv_sys_dev_pty} != no; then
-  AC_DEFINE(HAVE_PTYS)
-  AC_DEFINE_UNQUOTED(FIRST_PTY_LETTER, '${jade_cv_sys_dev_pty}')
+  AC_DEFINE(HAVE_PTYS, 1, [Have ptys])
+  AC_DEFINE_UNQUOTED(FIRST_PTY_LETTER, '${jade_cv_sys_dev_pty}', [The first pty letter])
 fi
 
 dnl Try to find the aclocal directory for installation
@@ -421,18 +421,18 @@
 AC_ARG_ENABLE(continuations,
  [  --disable-continuations Don't include support for continuations
 			   or multi-threading],
- [if test "$enableval" != "no"; then AC_DEFINE(WITH_CONTINUATIONS) fi],
- [AC_DEFINE(WITH_CONTINUATIONS)])
+ [if test "$enableval" != "no"; then AC_DEFINE(WITH_CONTINUATIONS, 1, [Have continuations]) fi],
+ [AC_DEFINE(WITH_CONTINUATIONS, 1, [Have continuations])])
 
 AC_ARG_ENABLE(dballoc,
  [  --enable-dballoc	  Trace all memory allocations],
- [if test "$enableval" != "no"; then AC_DEFINE(DEBUG_SYS_ALLOC) fi])
+ [if test "$enableval" != "no"; then AC_DEFINE(DEBUG_SYS_ALLOC, 1, [Debug sys alloc]) fi])
 
 AC_ARG_ENABLE(dbsyms,
  [  --disable-dbsyms	  When writing debug output, don't translate
 			   addresses to symbol names],
- [if test "$enableval" != "no"; then AC_DEFINE(DB_RESOLVE_SYMBOLS) fi],
- [AC_DEFINE(DB_RESOLVE_SYMBOLS)])
+ [if test "$enableval" != "no"; then AC_DEFINE(DB_RESOLVE_SYMBOLS, 1, [DB resolve symbols]) fi],
+ [AC_DEFINE(DB_RESOLVE_SYMBOLS, 1, [DB resolve symbols])])
 
 AC_ARG_ENABLE(gprof,
  [  --enable-gprof	  Build for gprof (needs --enable-static)],
@@ -443,12 +443,12 @@
 			   file is terminated by first C character],
  [if test "$enableval" != "no"; then
    enableval="'$enableval'"
-   AC_DEFINE_UNQUOTED(FULL_NAME_TERMINATOR, $enableval)
+   AC_DEFINE_UNQUOTED(FULL_NAME_TERMINATOR, $enableval, [Have Fullname Terminator])
   fi])
 
 dnl Assumption for now
 HAVE_UNIX=1
-AC_DEFINE(rep_HAVE_UNIX, 1)
+AC_DEFINE(rep_HAVE_UNIX, 1, [Having Unix])
 
 dnl We need to find an integer type that's big enough to store any pointer
 AC_MSG_CHECKING([for data type to store Lisp values])
@@ -472,7 +472,7 @@
   AC_MSG_ERROR([can't find Lisp value type; set --with-value-type (see README)])
 fi
 AC_MSG_RESULT([${with_value_type}])
-AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT, ${with_value_type})
+AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT, ${with_value_type}, [Have ptr sized int])
 
 dnl Find the size (in bits) of the chosen value type
 AC_MSG_CHECKING([for size of Lisp value type])
@@ -491,7 +491,7 @@
 	      [ with_value_sizeof=`cat conftestval`; rm -f conftestval])
 fi
 AC_MSG_RESULT([${with_value_sizeof} bytes])
-AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT_SIZEOF, ${with_value_sizeof})
+AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT_SIZEOF, ${with_value_sizeof}, [Have ptr sized int sizeof])
 
 dnl What's the suffix to get an integer constant of the above size?
 AC_MSG_CHECKING([for value type constant suffix])
@@ -505,7 +505,7 @@
     ;;
 esac
 AC_MSG_RESULT([${rep_value_suffix}])
-AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT_SUFFIX, ${rep_value_suffix})
+AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT_SUFFIX, ${rep_value_suffix}, [Have ptr sized suffix])
 
 dnl What's the printf integer conversion for this type?
 AC_MSG_CHECKING([for value type printf conversion])
@@ -522,7 +522,7 @@
     ;;
 esac
 AC_MSG_RESULT([${rep_value_conv}])
-AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT_CONV, "${rep_value_conv}")
+AC_DEFINE_UNQUOTED(rep_PTR_SIZED_INT_CONV, "${rep_value_conv}", [Have ptr sized int conv])
 
 dnl Check for size of some types
 AC_CHECK_SIZEOF(long)
@@ -530,7 +530,7 @@
 AC_CHECK_SIZEOF(void *)
 
 if test "x$ac_cv_sizeof_long_long" != "x0"; then
-  AC_DEFINE(rep_HAVE_LONG_LONG,1)
+  AC_DEFINE(rep_HAVE_LONG_LONG, 1, [Have long long])
 fi
 
 dnl This is the malloc granularity. It's unlikely that anything has
@@ -540,7 +540,7 @@
  [  --with-malloc-alignment=BYTES Must be less than or equal to the alignment
 			   returned by the malloc function. [BYTES=N]], [],
  [with_malloc_alignment=${with_value_sizeof}])
-AC_DEFINE_UNQUOTED(rep_MALLOC_ALIGNMENT, ${with_malloc_alignment})
+AC_DEFINE_UNQUOTED(rep_MALLOC_ALIGNMENT, ${with_malloc_alignment}, [Have malloc alignment])
 
 dnl Check for gcc crashes on alpha (seems to be fixed in new snapshots, but
 dnl just to make it compile on all machines)
@@ -548,7 +548,7 @@
   AC_MSG_CHECKING([for broken alpha gcc])
   AC_TRY_COMPILE([],[__builtin_return_address(1);],
 		 [AC_MSG_RESULT(no)],
-		 [AC_DEFINE(BROKEN_ALPHA_GCC,1)
+		 [AC_DEFINE(BROKEN_ALPHA_GCC, 1, [Have broken alpha gcc])
 		  AC_MSG_RESULT(yes)
 		  AC_MSG_WARN([Backtrace support will not be compiled])])
 fi
@@ -577,7 +577,7 @@
     with_stack_direction=+1])
 fi
 if test "${with_stack_direction}" != unknown; then
-  AC_DEFINE_UNQUOTED(STACK_DIRECTION, ${with_stack_direction})
+  AC_DEFINE_UNQUOTED(STACK_DIRECTION, ${with_stack_direction}, [Have stack direction])
 fi
 
 AC_ARG_ENABLE(paranoia,          [  --enable-paranoia       use wall, wno-error, ansi, pedantic compiler flags], [paranoia=$enableval],  [paranoia="no"])
@@ -598,8 +598,8 @@
 AC_SUBST(HAVE_UNIX)
 AC_SUBST(HAVE_X11)
 
-AC_DEFINE_UNQUOTED(rep_VERSION, "${version}")
-AC_DEFINE_UNQUOTED(rep_INTERFACE, ${libcurrent})
+AC_DEFINE_UNQUOTED(rep_VERSION, "${version}", [Rep version])
+AC_DEFINE_UNQUOTED(rep_INTERFACE, ${libcurrent}, [Rep interface])
 
 dnl Hacks for libintl
 gt_LC_MESSAGES
@@ -624,7 +624,7 @@
 USE_INCLUDED_LIBINTL=yes
 AC_SUBST(USE_INCLUDED_LIBINTL)
 AC_CHECK_FUNC(_nl_msg_cat_cntr,
- [AC_DEFINE(LIBC_GETTEXT)
+ [AC_DEFINE(LIBC_GETTEXT, 1, [Have libc gettext])
   AC_CHECK_HEADERS(libintl.h)
   USE_INCLUDED_LIBINTL=no])
 

Modified: trunk/man/news.texi
==============================================================================
Binary files. No diff available.



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