mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 02:26:36 +12:00
2000-02-06 Ben Elliston <bje@redhat.com>
* config.guess: Include <stdio.h> when compiling test programs with a C++ compiler. Function prototypes are mandatory in C++. From Ossama Othman <othman@cs.wustl.edu>.
This commit is contained in:
parent
d1b7ebbaf6
commit
94968c5834
@ -1,3 +1,9 @@
|
||||
2000-02-06 Ben Elliston <bje@redhat.com>
|
||||
|
||||
* config.guess: Include <stdio.h> when compiling test programs
|
||||
with a C++ compiler. Function prototypes are mandatory in C++.
|
||||
From Ossama Othman <othman@cs.wustl.edu>.
|
||||
|
||||
2000-02-03 Ben Elliston <bje@redhat.com>
|
||||
|
||||
* config.guess: Handle versions of DJGPP's uname(1) command which
|
||||
|
3
config.guess
vendored
3
config.guess
vendored
@ -291,6 +291,7 @@ EOF
|
||||
mips:*:*:UMIPS | mips:*:*:RISCos)
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#ifdef __cplusplus
|
||||
#include <stdio.h> /* for printf() prototype */
|
||||
int main (int argc, char *argv[]) {
|
||||
#else
|
||||
int main (argc, argv) int argc; char *argv[]; {
|
||||
@ -752,6 +753,7 @@ EOF
|
||||
elif test "${UNAME_MACHINE}" = "mips" ; then
|
||||
cat >$dummy.c <<EOF
|
||||
#ifdef __cplusplus
|
||||
#include <stdio.h> /* for printf() prototype */
|
||||
int main (int argc, char *argv[]) {
|
||||
#else
|
||||
int main (argc, argv) int argc; char *argv[]; {
|
||||
@ -788,6 +790,7 @@ EOF
|
||||
cat >$dummy.c <<EOF
|
||||
#include <features.h>
|
||||
#ifdef __cplusplus
|
||||
#include <stdio.h> /* for printf() prototype */
|
||||
int main (int argc, char *argv[]) {
|
||||
#else
|
||||
int main (argc, argv) int argc; char *argv[]; {
|
||||
|
Loading…
x
Reference in New Issue
Block a user