On Wed, Jun 02, 2004 at 06:48:07PM +0200, Lars Gullik Bj?nnes wrote:

> How updated are your 3.5?

Very. The problem is that the gettext.m4 changes are doing:

typedef int ptrdiff_t

into config.h. However, the check is going wrong because of course
ptrdiff_t is defined fine on my system, so you e nd up with:

typedef int long

Here's the log (note I'm using CC=... CXX=... ./configure)

configure:28957: checking for ptrdiff_t
configure:28982: /usr/local/gcc-cvs/bin/gcc -c -g -O2
-I/usr/X11R6/include conftest.c >&5
configure: In function `main':
configure:29059: error: 'ptrdiff_t' undeclared (first use in this
function)
configure:29059: error: (Each undeclared identifier is reported only
once
configure:29059: error: for each function it appears in.)
configure:29059: error: parse error before ')' token
configure:28985: $? = 1
configure: failed program was:
| #line 28962 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "lyx"
| #define PACKAGE_TARNAME "lyx"
| #define PACKAGE_VERSION "1.4.0cvs"
| #define PACKAGE_STRING "lyx 1.4.0cvs"
| #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]"
| #define DEVEL_VERSION 1
| #define PACKAGE "lyx"
| #define VERSION "1.4.0cvs"
| #define HAVE_KPSEWHICH 1
| #ifdef __cplusplus
| #include <stdlib.h>
| #endif
| #define WITH_WARNINGS 1
| #define HAVE_STD_COUNT 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_OSTREAM 1
| #define HAVE_ISTREAM 1
| #define HAVE_SSTREAM 1
| #define HAVE_LOCALE 1
| #define HAVE_LIMITS 1
| #define HAVE_IOS 1
| #define MODERN_STL_STREAMS 1
| #define ENABLE_ASSERTIONS 1
| #define HAVE_LIBM 1
| #define HAVE_LIBC 1
| #define AIKSAURUS_H_LOCATION
| #define HAVE_DLFCN_H 1
| #define HAVE_FLIMAGE_H 1
| #define USE_JPEG_IMAGE_LOADER 1
| #define HAVE_LONG_LONG 1
| #define HAVE_LONG_DOUBLE 1
| #define HAVE_WCHAR_T 1
| #define HAVE_WINT_T 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define HAVE_POSIX_PRINTF 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define INTDIV0_RAISES_SIGFPE 1
| #define HAVE_UNSIGNED_LONG_LONG 1
| #define HAVE_UINTMAX_T 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
 #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if ((ptrdiff_t *) 0)
|   return 0;
| if (sizeof (ptrdiff_t))
|   return 0;
|   ;
|   return 0;
| }
configure:29002: result: no

john

Reply via email to