bug-autoconf
[Top][All Lists]
Advanced

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

Re: solaris 10 autoconf check 54 failure


From: Paul Eggert
Subject: Re: solaris 10 autoconf check 54 failure
Date: Wed, 08 Mar 2006 11:24:01 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Thanks for reporting this and diagnosing it.  I installed this to
work around the problem.  Perhaps there's a better fix, but I hope
this works around the problem anyway.

2006-03-08  Paul Eggert  <address@hidden>

        * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
        Require that /lib/cpp include stdio.h correctly.  Solaris 10's
        doesn't.  Problem reported by D'Arcy A MacIsaac and diagnosed by
        Ralf Wildenhues.

--- c.at.~1.7.~ 2005-07-06 14:39:31.000000000 -0700
+++ c.at        2006-03-08 11:17:41.000000000 -0800
@@ -2,7 +2,7 @@
 
 AT_BANNER([C low level compiling/preprocessing macros.])
 
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
 # Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -141,7 +141,8 @@ AT_CLEANUP
 AT_SETUP([AC_PROG_CPP without warnings])
 
 # Ignore if /lib/cpp doesn't work
-AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore])
+AT_CHECK([echo '#include <stdio.h>' | /lib/cpp </dev/null || exit 77],
+  [], [ignore], [ignore])
 
 # A cpp which exit status is meaningless.
 AT_DATA([mycpp],
@@ -178,7 +179,8 @@ AT_CLEANUP
 AT_SETUP([AC_PROG_CPP via CC])
 
 # Ignore if /lib/cpp doesn't work
-AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore])
+AT_CHECK([echo '#include <stdio.h>' | /lib/cpp </dev/null || exit 77],
+  [], [ignore], [ignore])
 
 AT_DATA([mycc],
 [[#! /bin/sh




reply via email to

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