autoconf
[Top][All Lists]
Advanced

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

Re: autoconf 2.49 on UNICOS


From: Akim Demaille
Subject: Re: autoconf 2.49 on UNICOS
Date: 17 Nov 2000 10:29:18 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

| I'm trying to build autoconf on UNICOS 10, besides the sed issue, I
| get these errors when running make check:
| 
| ./semantics.m4:118: testing...
| --- -   Tue Nov 14 18:17:47 2000
| +++ stdout      Tue Nov 14 18:17:47 2000
| @@ -1,6 +1,6 @@
|  #define SIZEOF_CHAR 1
| -#define SIZEOF_CHARCHAR 2
| +#define SIZEOF_CHARCHAR 8
|  #define SIZEOF_CHARCHARCHAR 0
| -#define SIZEOF_UCHARCHAR 2
| +#define SIZEOF_UCHARCHAR 8
|  #define SIZEOF_UCHARCHARCHAR 0
|  #define SIZEOF_UNSIGNED_CHAR 1
| 
| 
| Does this mean someone assumes that the `charchar' struct has to be
| two bytes? If so, why?

Because I believe the definition I gave of it implied it was two chars
wide.  But maybe I'm making wrong assumptions:

# AC_CHECK_SIZEOF
# ---------------
AT_CHECK_MACRO(AC_CHECK_SIZEOF,
[AC_CHECK_SIZEOF(char)
AC_CHECK_SIZEOF(charchar,,
[#include <stdio.h>
typedef struct
{
  char a;
  char b;
} charchar;])
AC_CHECK_SIZEOF(charcharchar)

# Exercize the code used when cross-compiling
cross_compiling=yes
AC_CHECK_SIZEOF(unsigned char)
AC_CHECK_SIZEOF(ucharchar,,
[#include <stdio.h>
typedef struct
{
  unsigned char a;
  unsigned char b;
} ucharchar;])
AC_CHECK_SIZEOF(ucharcharchar)],
[AT_CHECK_DEFINES(
[#define SIZEOF_CHAR 1
#define SIZEOF_CHARCHAR 2
#define SIZEOF_CHARCHARCHAR 0
#define SIZEOF_UCHARCHAR 2
#define SIZEOF_UCHARCHARCHAR 0
#define SIZEOF_UNSIGNED_CHAR 1
])])



| ==================================
| ./debug-111.sh: Testing autoupdate
| ==================================
| ./tools.m4:180: testing...
| --- -   Tue Nov 14 18:17:49 2000
| +++ stdout      Tue Nov 14 18:17:49 2000
| @@ -1,6 +1,4 @@
|  AC_INIT
|  dnl The doc says 27 is a valid fubar.
|  fubar=27
| -AC_CONFIG_FILES([Makefile])
| -AC_CONFIG_COMMANDS([default],[[echo $fubar]],[[fubar=$fubar]])
| -AC_OUTPUT
| +AC_OUTPUT(Makefile, echo $fubar, fubar=$fubar)
| 
| 
| What does this mean?

That autoupdate does not work at all on Unicos.  My suspicion is that
our test for GNUness of sed failed to diagnose this is GNU sed.

Could you please run this:

echo 'xyz-xY' | sed 's/\bx.\b/XY/'

and sed --version?

If the first one answers xyz-XY and the latter shows this is not GNU
Sed, then you'll have to go into tests/, rerun ./debug-111.sh, and
then run

        ../autoupdate -A .. -v <configure.in >update.log 2>&1

and send me update.log together with update-x.log.

        sh -x ../autoupdate -A .. <configure.in >update-x.log 2>&1

Thanks!



reply via email to

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