On Sun, Apr 22, 2001 at 03:15:08AM -0300, Alexandre Oliva wrote:
> On Apr 20, 2001, Daniel Carroll <[EMAIL PROTECTED]> wrote:
> 
> >     I have a somewhat unusal C compiler and version
> > of unix that is giving me problems with a configure
> > script (using Autoconf 2.13).
> 
> Try autoconf 2.49e, it's supposed to work with compilers that print
> stuff when run.

It looks like someone submitted some code for that, but they don't
appear to work.

The attached patch worked for me, though.

        - Dan

*** autoconf-2.49e.orig/aclang.m4       Tue Apr 17 07:12:03 2001
--- autoconf-2.49e/aclang.m4    Mon Apr 23 14:56:52 2001
***************
*** 820,826 ****
  Syntax error]])],
  [# Now check whether non-existent headers can be detected and how
  # Skip if ac_cpp_err is not empty - ac_cpp is broken
! if test -z "$ac_cpp_err"; then
    _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <ac_nonexistent.h>]])],
    [# cannot detect missing includes at all
  ac_cpp_err=yes],
--- 820,826 ----
  Syntax error]])],
  [# Now check whether non-existent headers can be detected and how
  # Skip if ac_cpp_err is not empty - ac_cpp is broken
! if test -z "$ac_cpp_err" -o "x$ac_cpp_err" = xmaybe; then
    _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <ac_nonexistent.h>]])],
    [# cannot detect missing includes at all
  ac_cpp_err=yes],
*** autoconf-2.49e.orig/acgeneral.m4    Fri Apr 20 10:47:18 2001
--- autoconf-2.49e/acgeneral.m4 Mon Apr 23 14:57:00 2001
***************
*** 2734,2740 ****
  else
    ac_cpp_err=yes
  fi
! if test -z "$ac_cpp_err"; then
    m4_default([$2], :)
  else
    echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
--- 2734,2740 ----
  else
    ac_cpp_err=yes
  fi
! if test -z "$ac_cpp_err" -o "x$ac_cpp_err" = xmaybe; then
    m4_default([$2], :)
  else
    echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD

Reply via email to