bug-autoconf
[Top][All Lists]
Advanced

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

Re: Release 2.51 now?


From: Lars J. Aas
Subject: Re: Release 2.51 now?
Date: Tue, 17 Jul 2001 11:24:49 +0200
User-agent: Mutt/1.2.5i

On Mon, Jul 16, 2001 at 10:44:50AM +0200, Akim Demaille wrote:
: Ralf> Coin.orig > /opt/dev/bin/autoheader autoheader: error: shell
: Ralf> error while sourcing /tmp/ahSc5L0L/traces.sh

I copied traces.sh at this point and got this when I sourced it:

[nfs] source > . traces.sh
bash: syntax error near unexpected token `ac_verbatim_AC_TR_CPP(have_int8_t)'
bash: ./traces-backup.sh: line 88: `ac_verbatim_AC_TR_CPP(have_int8_t)="\'

So it's related to the inttypes tests we've added to Coin.  Given Morten's
comment in the relevant macro, I suppose this could be our problem and not
Autoconf's.

I've attached the full traces.sh file.

  Lars J

# SIM_AC_BYTESIZE_TYPE(TYPEDEFTYPE, BYTESIZE, ALTERNATE_TYPELIST,
#                     [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
# ----------------------------------------------------------
#
# FIXME: pretty ugly code with several quick hacks. 20010324 mortene.
AC_DEFUN([SIM_AC_BYTESIZE_TYPE],
[
sim_ac_searching=true
for sim_ac_type in $1 $3
do
  if $sim_ac_searching; then
    SIM_AC_CHECK_SIZEOF($sim_ac_type, [
#include <stdio.h>
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#else
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif /* HAVE_STDINT_H */
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */
])
    if test "$sim_ac_bytesize" = "$2"; then
      sim_ac_searching=false
      if test "$sim_ac_type" = "$1"; then
        AC_DEFINE_UNQUOTED(AC_TR_CPP(have_$1), 1, [define this if the type is 
available on the system])
      fi
      AC_DEFINE_UNQUOTED(AC_TR_CPP(coin_$1), $sim_ac_type, [define this to a 
type of the indicated bitwidth])
    fi
  fi
done

if $sim_ac_searching; then
  ifelse([$5], , :, [$5])
else
  ifelse([$4], , :, [$4])
fi
])# SIM_AC_BYTESIZE_TYPE

Attachment: traces.sh
Description: Bourne shell script


reply via email to

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