summaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-12 00:39:10 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-12 00:39:10 +0000
commit1b3028bc7307e0e77c8b82f91b8a6def479b70d3 (patch)
tree9967e62cae8c7aa4d2496aab83dab8ebbff68935 /gcc/configure
parent2e678402a5908a34e34216d2e92e20fef26e088e (diff)
downloadgcc-1b3028bc7307e0e77c8b82f91b8a6def479b70d3.tar.gz
Patches from Fred Fish for systems with sys/varargs.h but not varargs.h.
* protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is defined. If not defined, include <sys/varargs.h> if HAVE_SYS_VARARGS_H is defined. * configure.in: Test for varargs.h and sys/varargs.h. * configure: Regenerate with autoconf. * config.in: Regenerate with autoheader. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15420 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index 5270ece10f5..af5e0c8429c 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -1330,7 +1330,7 @@ else
fi
echo "$ac_t""$CPP" 1>&6
-for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h
+for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h varargs.h sys/varargs.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6