Make it possible to prototype port-specific functions (and convert i386 to use this)

From-SVN: r29514
This commit is contained in:
Bernd Schmidt 1999-09-20 10:00:03 +00:00 committed by Bernd Schmidt
parent 34a24f1806
commit 6baf1cc8f8
45 changed files with 350 additions and 226 deletions

View File

@ -1,3 +1,58 @@
Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* Makefile.in (distclean): Delete tm_p.h.
* configure.in: Create a new file, "tm_p.h", from a list in
"tm_p_file". For ix86 systems, set up "tm_p_file" to include
"i386/i386-protos.h".
* alias.c: Include "tm_p.h".
* c-typeck.c: Likewise.
* calls.c: Likewise.
* cse.c: Likewise.
* emit-rtl.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* gcse.c: Likewise.
* global.c: Likewise.
* haifa-sched.c: Likewise.
* integrate.c: Likewise.
* jump.c: Likewise.
* local-alloc.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* reload.c: Likewise.
* reload1.c: Likewise.
* reorg.c: Likewise.
* resource.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* toplev.c: Likewise.
* tree.c: Likewise.
* unroll.c: Likewise.
* genattrtab.c (main): Make generated file include "tm_p.h".
* genemit.c (main): Likewise.
* genoutput.c (main): Likewise.
* genrecog.c (main): Likewise.
* i386.h: Delete all prototypes.
* i386.c: Include "tm_p.h".
(ix86_attr_length_default): Call constant_call_address_operand
with correct number of arguments.
* i386-protos.h: New file.
* i386.md (unnamed patterns): Call constant_call_address_operand
with correct number of arguments.
(exception_receiver): Call load_pic_register with correct number
of arguments.
Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
* c-pragma.c (mark_align_stack): Dereference the void* properly.

View File

@ -2371,7 +2371,7 @@ clean: mostlyclean intl.clean lang.clean
# while building and installing GCC.
INTL_DISTCLEAN = intl.distclean
distclean: clean $(INTL_DISTCLEAN) lang.distclean
-rm -f tm.h config.h auto-host.h auto-build.h tconfig.h hconfig.h
-rm -f tm.h tm_p.h config.h auto-host.h auto-build.h tconfig.h hconfig.h
-rm -f md cstamp-h
-rm -f config.status config.run config.cache config.bak
-rm -f Make-lang Make-hooks Make-host Make-target

View File

@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "function.h"
#include "expr.h"
#include "regs.h"

View File

@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "tree.h"
#include "c-tree.h"
#include "tm_p.h"
#include "flags.h"
#include "output.h"
#include "rtl.h"

View File

@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "flags.h"
#include "expr.h"
#include "function.h"

View File

@ -0,0 +1,125 @@
/* Definitions of target machine for GNU compiler for IA-32.
Copyright (C) 1988, 92, 94-98, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Functions in i386.c */
extern void override_options PROTO((void));
extern void order_regs_for_local_alloc PROTO((void));
extern void optimization_options PROTO((int, int));
extern int ix86_can_use_return_insn_p PROTO((void));
extern void asm_output_function_prefix PROTO((FILE *, char *));
extern void load_pic_register PROTO((void));
extern HOST_WIDE_INT ix86_compute_frame_size PROTO((HOST_WIDE_INT, int *));
extern void ix86_expand_prologue PROTO((void));
extern void ix86_expand_epilogue PROTO((void));
extern void ix86_output_function_block_profiler PROTO((FILE *, int));
extern void ix86_output_block_profiler PROTO((FILE *, int));
#ifdef RTX_CODE
extern int ix86_aligned_p PROTO((rtx));
extern int standard_80387_constant_p PROTO((rtx));
extern int symbolic_reference_mentioned_p PROTO((rtx));
extern int symbolic_operand PROTO((rtx, enum machine_mode));
extern int pic_symbolic_operand PROTO((rtx, enum machine_mode));
extern int call_insn_operand PROTO((rtx, enum machine_mode));
extern int expander_call_insn_operand PROTO((rtx, enum machine_mode));
extern int constant_call_address_operand PROTO((rtx, enum machine_mode));
extern int const0_operand PROTO((rtx, enum machine_mode));
extern int const1_operand PROTO((rtx, enum machine_mode));
extern int const248_operand PROTO((rtx, enum machine_mode));
extern int incdec_operand PROTO((rtx, enum machine_mode));
extern int reg_no_sp_operand PROTO((rtx, enum machine_mode));
extern int q_regs_operand PROTO((rtx, enum machine_mode));
extern int non_q_regs_operand PROTO((rtx, enum machine_mode));
extern int no_comparison_operator PROTO((rtx, enum machine_mode));
extern int fcmov_comparison_operator PROTO((rtx, enum machine_mode));
extern int cmp_fp_expander_operand PROTO((rtx, enum machine_mode));
extern int ext_register_operand PROTO((rtx, enum machine_mode));
extern int binary_fp_operator PROTO((rtx, enum machine_mode));
extern int mult_operator PROTO((rtx, enum machine_mode));
extern int div_operator PROTO((rtx, enum machine_mode));
extern int arith_or_logical_operator PROTO((rtx, enum machine_mode));
extern int memory_displacement_operand PROTO((rtx, enum machine_mode));
extern int cmpsi_operand PROTO((rtx, enum machine_mode));
extern int legitimate_pic_address_disp_p PROTO((rtx));
extern int legitimate_address_p PROTO((enum machine_mode, rtx, int));
extern rtx legitimize_pic_address PROTO((rtx, rtx));
extern rtx legitimize_address PROTO((rtx, rtx, enum machine_mode));
extern void print_reg PROTO((rtx, int, FILE*));
extern void print_operand PROTO((FILE*, rtx, int));
extern void print_operand_address PROTO((FILE*, rtx));
extern void split_di PROTO((rtx[], int, rtx[], rtx[]));
extern char *output_387_binary_op PROTO((rtx, rtx*));
extern char *output_fix_trunc PROTO((rtx, rtx*));
extern char *output_fp_compare PROTO((rtx, rtx*, int, int));
extern void ix86_expand_move PROTO((enum machine_mode, rtx[]));
extern void ix86_expand_binary_operator PROTO((enum rtx_code,
enum machine_mode, rtx[]));
extern int ix86_binary_operator_ok PROTO((enum rtx_code, enum machine_mode,
rtx[]));
extern int ix86_expand_unary_operator PROTO((enum rtx_code, enum machine_mode,
rtx[]));
extern int ix86_unary_operator_ok PROTO((enum rtx_code, enum machine_mode,
rtx[]));
extern void ix86_expand_branch PROTO((enum rtx_code, int, rtx));
extern int ix86_expand_setcc PROTO((enum rtx_code, int, rtx));
extern int ix86_expand_int_movcc PROTO((rtx[]));
extern int ix86_expand_fp_movcc PROTO((rtx[]));
extern int ix86_split_movdi PROTO((rtx[]));
extern void ix86_split_ashldi PROTO((rtx *, rtx));
extern void ix86_split_ashrdi PROTO((rtx *, rtx));
extern void ix86_split_lshrdi PROTO((rtx *, rtx));
extern void ix86_expand_strlensi_unroll_1 PROTO((rtx, rtx, rtx));
extern rtx assign_386_stack_local PROTO((enum machine_mode, int));
extern int ix86_attr_length_default PROTO((rtx));
extern int ix86_issue_rate PROTO((void));
extern int ix86_adjust_cost PROTO((rtx, rtx, rtx, int));
extern void ix86_sched_init PROTO((FILE *, int));
extern int ix86_sched_reorder PROTO((FILE *, int, rtx *, int, int));
extern int ix86_variable_issue PROTO((FILE *, int, rtx, int));
#ifdef TREE_CODE
extern void init_cumulative_args PROTO((CUMULATIVE_ARGS *, tree, rtx));
extern rtx function_arg PROTO((CUMULATIVE_ARGS *, enum machine_mode, tree, int));
extern void function_arg_advance PROTO((CUMULATIVE_ARGS *, enum machine_mode,
tree, int));
#endif
#endif
#ifdef TREE_CODE
extern int ix86_valid_decl_attribute_p PROTO((tree, tree, tree, tree));
extern int ix86_valid_type_attribute_p PROTO((tree, tree, tree, tree));
extern int ix86_comp_type_attributes PROTO((tree, tree));
extern int ix86_return_pops_args PROTO((tree, tree, int));
#endif

View File

@ -22,6 +22,8 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "real.h"
@ -30,7 +32,6 @@ Boston, MA 02111-1307, USA. */
#include "insn-flags.h"
#include "output.h"
#include "insn-attr.h"
#include "tree.h"
#include "flags.h"
#include "except.h"
#include "function.h"
@ -5110,12 +5111,14 @@ ix86_attr_length_default (insn)
break;
case TYPE_CALL:
if (constant_call_address_operand (recog_data.operand[0]))
if (constant_call_address_operand (recog_data.operand[0],
GET_MODE (recog_data.operand[0])))
return 5;
break;
case TYPE_CALLV:
if (constant_call_address_operand (recog_data.operand[1]))
if (constant_call_address_operand (recog_data.operand[1],
GET_MODE (recog_data.operand[1])))
return 5;
break;

View File

@ -2397,114 +2397,6 @@ do { long l; \
{"cmpsi_operand", {CONST_INT, CONST_DOUBLE, CONST, SYMBOL_REF, \
LABEL_REF, SUBREG, REG, MEM, AND}},
/* Functions in i386.c */
#if 1
#define XPARAMS(x) ()
#else
#define XPARAMS(x) PROTO(x)
#endif
#define xrtx struct rtx_def *
#define xtree struct tree_def *
#define xmode enum machine_mode
#define xcode enum rtx_code
extern void override_options XPARAMS((void));
extern void order_regs_for_local_alloc XPARAMS((void));
extern void optimization_options XPARAMS((int, int));
extern int ix86_aligned_p XPARAMS((xrtx));
extern int ix86_valid_decl_attribute_p XPARAMS((xtree, xtree, xtree, xtree));
extern int ix86_valid_type_attribute_p XPARAMS((xtree, xtree, xtree, xtree));
extern int ix86_comp_type_attributes XPARAMS((xtree, xtree));
extern int ix86_return_pops_args XPARAMS((xtree, xtree, int));
extern void init_cumulative_args XPARAMS((CUMULATIVE_ARGS*, xtree, xrtx));
extern void function_arg_advance XPARAMS((CUMULATIVE_ARGS*,xmode,xtree,int));
extern xrtx function_arg XPARAMS((CUMULATIVE_ARGS*, xmode, xtree, int));
extern int symbolic_operand XPARAMS((xrtx, xmode));
extern int pic_symbolic_operand XPARAMS((xrtx, xmode));
extern int call_insn_operand XPARAMS((xrtx, xmode));
extern int expander_call_insn_operand XPARAMS((xrtx, xmode));
extern int constant_call_address_operand XPARAMS((xrtx, xmode));
extern int const0_operand XPARAMS((xrtx, xmode));
extern int const1_operand XPARAMS((xrtx, xmode));
extern int const248_operand XPARAMS((xrtx, xmode));
extern int incdec_operand XPARAMS((xrtx, xmode));
extern int reg_no_sp_operand XPARAMS((xrtx, xmode));
extern int q_regs_operand XPARAMS((xrtx, xmode));
extern int non_q_regs_operand XPARAMS((xrtx, xmode));
extern int no_comparison_operator XPARAMS((xrtx, xmode));
extern int fcmov_comparison_operator XPARAMS((xrtx, xmode));
extern int cmp_fp_expander_operand XPARAMS((xrtx, xmode));
extern int ext_register_operand XPARAMS((xrtx, xmode));
extern int binary_fp_operator XPARAMS((xrtx, xmode));
extern int mult_operator XPARAMS((xrtx, xmode));
extern int div_operator XPARAMS((xrtx, xmode));
extern int arith_or_logical_operator XPARAMS((xrtx, xmode));
extern int memory_displacement_operand XPARAMS((xrtx, xmode));
extern int cmpsi_operand XPARAMS((xrtx, xmode));
extern int standard_80387_constant_p XPARAMS((xrtx));
extern int symbolic_reference_mentioned_p XPARAMS((xrtx));
extern int ix86_can_use_return_insn_p XPARAMS((void));
extern void asm_output_function_prefix XPARAMS((FILE, char *));
extern void load_pic_register XPARAMS((void));
#if 0
/* HOST_WIDE_INT isn't defined yet. */
extern HOST_WIDE_INT ix86_compute_frame_size XPARAMS ((HOST_WIDE_INT, int *));
#endif
extern void ix86_expand_prologue XPARAMS((void));
extern void ix86_expand_epilogue XPARAMS((void));
extern int legitimate_pic_address_disp_p XPARAMS((xrtx));
extern int legitimate_address_p XPARAMS((xmode, xrtx, int));
extern xrtx legitimize_pic_address XPARAMS((xrtx, xrtx));
extern xrtx legitimize_address XPARAMS((xrtx, xrtx, xmode));
extern void print_reg XPARAMS((xrtx, int, FILE*));
extern void print_operand XPARAMS((FILE*, xrtx, int));
extern void print_operand_address XPARAMS((FILE*, xrtx));
extern void split_di XPARAMS((xrtx[], int, xrtx[], xrtx[]));
extern char *output_387_binary_op XPARAMS((xrtx, xrtx*));
extern char *output_fix_trunc XPARAMS((xrtx, xrtx*));
extern char *output_fp_compare XPARAMS((xrtx, xrtx*, int, int));
extern void ix86_output_function_block_profiler XPARAMS((FILE*, int));
extern void ix86_output_block_profiler XPARAMS((FILE*, int));
extern void ix86_expand_move XPARAMS((xmode, xrtx[]));
extern void ix86_expand_binary_operator XPARAMS((xcode, xmode, xrtx[]));
extern int ix86_binary_operator_ok XPARAMS((xcode, xmode, xrtx[]));
extern int ix86_expand_unary_operator XPARAMS((xcode, xmode, xrtx[]));
extern int ix86_unary_operator_ok XPARAMS((xcode, xmode, xrtx[]));
extern void ix86_expand_branch XPARAMS((xcode, int, xrtx));
extern int ix86_expand_setcc XPARAMS((xcode, int, xrtx));
extern int ix86_expand_int_movcc XPARAMS((xrtx[]));
extern int ix86_expand_fp_movcc XPARAMS((xrtx[]));
extern int ix86_split_movdi XPARAMS((xrtx[]));
extern void ix86_split_ashldi XPARAMS((xrtx *, xrtx));
extern void ix86_split_ashrdi XPARAMS((xrtx *, xrtx));
extern void ix86_split_lshrdi XPARAMS((xrtx *, xrtx));
extern void ix86_expand_strlensi_unroll_1 XPARAMS((xrtx, xrtx, xrtx));
extern xrtx assign_386_stack_local XPARAMS((xmode, int));
extern int ix86_attr_length_default XPARAMS((xrtx));
extern int ix86_issue_rate XPARAMS((void));
extern int ix86_adjust_cost XPARAMS((xrtx, xrtx, xrtx, int));
extern void ix86_sched_init XPARAMS((FILE *, int));
extern int ix86_sched_reorder XPARAMS((FILE *, int, xrtx *, int));
extern int ix86_variable_issue XPARAMS((FILE *, int, xrtx, int));
#undef XPARAMS
#undef xrtx
#undef xtree
#undef xmode
#undef xcode
/* Variables in i386.c */
extern const char *ix86_cpu_string; /* for -mcpu=<xxx> */
extern const char *ix86_arch_string; /* for -march=<xxx> */

View File

@ -6455,7 +6455,7 @@
""
"*
{
if (constant_call_address_operand (operands[0]))
if (constant_call_address_operand (operands[0], GET_MODE (operands[0])))
return \"call\\t%P0\";
operands[0] = XEXP (operands[0], 0);
@ -6502,7 +6502,7 @@
""
"*
{
if (constant_call_address_operand (operands[0]))
if (constant_call_address_operand (operands[0], GET_MODE (operands[0])))
return \"call\\t%P0\";
operands[0] = XEXP (operands[0], 0);
@ -6561,7 +6561,7 @@
""
"*
{
if (constant_call_address_operand (operands[1]))
if (constant_call_address_operand (operands[1], GET_MODE (operands[1])))
return \"call\\t%P1\";
operands[1] = XEXP (operands[1], 0);
@ -6611,7 +6611,7 @@
""
"*
{
if (constant_call_address_operand (operands[1]))
if (constant_call_address_operand (operands[1], GET_MODE (operands[1])))
return \"call\\t%P1\";
operands[1] = XEXP (operands[1], 0);
@ -7754,7 +7754,7 @@
"flag_pic"
"
{
load_pic_register (1);
load_pic_register ();
DONE;
}")

212
gcc/configure vendored
View File

@ -1334,7 +1334,7 @@ else
fi
# Find some useful tools
for ac_prog in mawk gawk nawk awk
for ac_prog in gawk mawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@ -3010,8 +3010,9 @@ for machine in $build $host $target; do
gnu_ld="$gnu_ld_flag"
enable_threads=$enable_threads_flag
# Set default cpu_type, tm_file and xm_file so it can be updated in
# each machine entry.
# Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
# updated in each machine entry.
tm_p_file=
cpu_type=`echo $machine | sed 's/-.*$//'`
case $machine in
alpha*-*-*)
@ -3048,7 +3049,10 @@ for machine in $build $host $target; do
tm_file=${cpu_type}/${cpu_type}.h
xm_file=${cpu_type}/xm-${cpu_type}.h
if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h;
then
tm_p_file=${cpu_type}/${cpu_type}-protos.h;
fi
# On a.out targets, we need to use collect2.
case $machine in
*-*-*aout*)
@ -6261,9 +6265,9 @@ fi
xm_file="gansidecl.h ${xm_file}"
tm_file="gansidecl.h ${tm_file}"
vars="host_xm_file tm_file xm_file build_xm_file"
links="config.h tm.h tconfig.h hconfig.h"
defines="host_xm_defines null_defines xm_defines build_xm_defines"
vars="host_xm_file tm_file tm_p_file xm_file build_xm_file"
links="config.h tm.h tm_p.h tconfig.h hconfig.h"
defines="host_xm_defines null_defines null_defines xm_defines build_xm_defines"
rm -f config.bak
if test -f config.status; then mv -f config.status config.bak; fi
@ -6276,6 +6280,8 @@ do
set $defines; define=$1; shift; defines=$*
rm -f $link
# Make sure the file is created, even if it is empty.
echo >$link
# Define TARGET_CPU_DEFAULT if the system wants one.
# This substitutes for lots of *.h files.
@ -6350,7 +6356,7 @@ fi
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
echo "configure:6354: checking for strerror in -lcposix" >&5
echo "configure:6360: checking for strerror in -lcposix" >&5
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -6358,7 +6364,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcposix $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6362 "configure"
#line 6368 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -6369,7 +6375,7 @@ int main() {
strerror()
; return 0; }
EOF
if { (eval echo configure:6373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -6392,12 +6398,12 @@ fi
echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:6396: checking for working const" >&5
echo "configure:6402: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6401 "configure"
#line 6407 "configure"
#include "confdefs.h"
int main() {
@ -6446,7 +6452,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if { (eval echo configure:6450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:6456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
@ -6467,21 +6473,21 @@ EOF
fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
echo "configure:6471: checking for inline" >&5
echo "configure:6477: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
#line 6478 "configure"
#line 6484 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:6485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:6491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
@ -6507,12 +6513,12 @@ EOF
esac
echo $ac_n "checking for off_t""... $ac_c" 1>&6
echo "configure:6511: checking for off_t" >&5
echo "configure:6517: checking for off_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6516 "configure"
#line 6522 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -6540,12 +6546,12 @@ EOF
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:6544: checking for size_t" >&5
echo "configure:6550: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6549 "configure"
#line 6555 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
@ -6575,19 +6581,19 @@ fi
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
echo "configure:6579: checking for working alloca.h" >&5
echo "configure:6585: checking for working alloca.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6584 "configure"
#line 6590 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if { (eval echo configure:6591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
@ -6608,12 +6614,12 @@ EOF
fi
echo $ac_n "checking for alloca""... $ac_c" 1>&6
echo "configure:6612: checking for alloca" >&5
echo "configure:6618: checking for alloca" >&5
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6617 "configure"
#line 6623 "configure"
#include "confdefs.h"
#ifdef __GNUC__
@ -6641,7 +6647,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if { (eval echo configure:6645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_func_alloca_works=yes
else
@ -6673,12 +6679,12 @@ EOF
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
echo "configure:6677: checking whether alloca needs Cray hooks" >&5
echo "configure:6683: checking whether alloca needs Cray hooks" >&5
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6682 "configure"
#line 6688 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
@ -6703,12 +6709,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
if test $ac_cv_os_cray = yes; then
for ac_func in _getb67 GETB67 getb67; do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6707: checking for $ac_func" >&5
echo "configure:6713: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6712 "configure"
#line 6718 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -6731,7 +6737,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:6735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -6758,7 +6764,7 @@ done
fi
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
echo "configure:6762: checking stack direction for C alloca" >&5
echo "configure:6768: checking stack direction for C alloca" >&5
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -6766,7 +6772,7 @@ else
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
#line 6770 "configure"
#line 6776 "configure"
#include "confdefs.h"
find_stack_direction ()
{
@ -6785,7 +6791,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if { (eval echo configure:6789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:6795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_stack_direction=1
else
@ -6810,17 +6816,17 @@ for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6814: checking for $ac_hdr" >&5
echo "configure:6820: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6819 "configure"
#line 6825 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:6830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -6849,12 +6855,12 @@ done
for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6853: checking for $ac_func" >&5
echo "configure:6859: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 6858 "configure"
#line 6864 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -6877,7 +6883,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -6902,7 +6908,7 @@ fi
done
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
echo "configure:6906: checking for working mmap" >&5
echo "configure:6912: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -6910,7 +6916,7 @@ else
ac_cv_func_mmap_fixed_mapped=no
else
cat > conftest.$ac_ext <<EOF
#line 6914 "configure"
#line 6920 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
@ -7050,7 +7056,7 @@ main()
}
EOF
if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_fixed_mapped=yes
else
@ -7078,17 +7084,17 @@ unistd.h sys/param.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:7082: checking for $ac_hdr" >&5
echo "configure:7088: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7087 "configure"
#line 7093 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:7098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -7118,12 +7124,12 @@ done
strdup __argz_count __argz_stringify __argz_next
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7122: checking for $ac_func" >&5
echo "configure:7128: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7127 "configure"
#line 7133 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -7146,7 +7152,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:7150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -7175,12 +7181,12 @@ done
for ac_func in stpcpy
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7179: checking for $ac_func" >&5
echo "configure:7185: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7184 "configure"
#line 7190 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -7203,7 +7209,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:7207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -7237,19 +7243,19 @@ EOF
if test $ac_cv_header_locale_h = yes; then
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:7241: checking for LC_MESSAGES" >&5
echo "configure:7247: checking for LC_MESSAGES" >&5
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7246 "configure"
#line 7252 "configure"
#include "confdefs.h"
#include <locale.h>
int main() {
return LC_MESSAGES
; return 0; }
EOF
if { (eval echo configure:7253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_val_LC_MESSAGES=yes
else
@ -7270,7 +7276,7 @@ EOF
fi
fi
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
echo "configure:7274: checking whether NLS is requested" >&5
echo "configure:7280: checking whether NLS is requested" >&5
# Check whether --enable-nls or --disable-nls was given.
if test "${enable_nls+set}" = set; then
enableval="$enable_nls"
@ -7290,7 +7296,7 @@ fi
EOF
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
echo "configure:7294: checking whether included gettext is requested" >&5
echo "configure:7300: checking whether included gettext is requested" >&5
# Check whether --with-included-gettext or --without-included-gettext was given.
if test "${with_included_gettext+set}" = set; then
withval="$with_included_gettext"
@ -7309,17 +7315,17 @@ fi
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
echo "configure:7313: checking for libintl.h" >&5
echo "configure:7319: checking for libintl.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7318 "configure"
#line 7324 "configure"
#include "confdefs.h"
#include <libintl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:7323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:7329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -7336,19 +7342,19 @@ fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
echo "configure:7340: checking for gettext in libc" >&5
echo "configure:7346: checking for gettext in libc" >&5
if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7345 "configure"
#line 7351 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) gettext ("")
; return 0; }
EOF
if { (eval echo configure:7352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
gt_cv_func_gettext_libc=yes
else
@ -7364,7 +7370,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
if test "$gt_cv_func_gettext_libc" != "yes"; then
echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
echo "configure:7368: checking for bindtextdomain in -lintl" >&5
echo "configure:7374: checking for bindtextdomain in -lintl" >&5
ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7372,7 +7378,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7376 "configure"
#line 7382 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -7383,7 +7389,7 @@ int main() {
bindtextdomain()
; return 0; }
EOF
if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -7399,12 +7405,12 @@ fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
echo "configure:7403: checking for gettext in libintl" >&5
echo "configure:7409: checking for gettext in libintl" >&5
if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
echo "configure:7408: checking for gettext in -lintl" >&5
echo "configure:7414: checking for gettext in -lintl" >&5
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7412,7 +7418,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7416 "configure"
#line 7422 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -7423,7 +7429,7 @@ int main() {
gettext()
; return 0; }
EOF
if { (eval echo configure:7427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -7462,7 +7468,7 @@ EOF
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7466: checking for $ac_word" >&5
echo "configure:7472: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7496,12 +7502,12 @@ fi
for ac_func in dcgettext
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7500: checking for $ac_func" >&5
echo "configure:7506: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7505 "configure"
#line 7511 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -7524,7 +7530,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:7528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -7551,7 +7557,7 @@ done
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7555: checking for $ac_word" >&5
echo "configure:7561: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7587,7 +7593,7 @@ fi
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7591: checking for $ac_word" >&5
echo "configure:7597: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7619,7 +7625,7 @@ else
fi
cat > conftest.$ac_ext <<EOF
#line 7623 "configure"
#line 7629 "configure"
#include "confdefs.h"
int main() {
@ -7627,7 +7633,7 @@ extern int _nl_msg_cat_cntr;
return _nl_msg_cat_cntr
; return 0; }
EOF
if { (eval echo configure:7631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
CATOBJEXT=.gmo
DATADIRNAME=share
@ -7650,7 +7656,7 @@ fi
if test "$CATOBJEXT" = "NONE"; then
echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
echo "configure:7654: checking whether catgets can be used" >&5
echo "configure:7660: checking whether catgets can be used" >&5
# Check whether --with-catgets or --without-catgets was given.
if test "${with_catgets+set}" = set; then
withval="$with_catgets"
@ -7663,7 +7669,7 @@ fi
if test "$nls_cv_use_catgets" = "yes"; then
echo $ac_n "checking for main in -li""... $ac_c" 1>&6
echo "configure:7667: checking for main in -li" >&5
echo "configure:7673: checking for main in -li" >&5
ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -7671,14 +7677,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-li $LIBS"
cat > conftest.$ac_ext <<EOF
#line 7675 "configure"
#line 7681 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:7682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -7706,12 +7712,12 @@ else
fi
echo $ac_n "checking for catgets""... $ac_c" 1>&6
echo "configure:7710: checking for catgets" >&5
echo "configure:7716: checking for catgets" >&5
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 7715 "configure"
#line 7721 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char catgets(); below. */
@ -7734,7 +7740,7 @@ catgets();
; return 0; }
EOF
if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_catgets=yes"
else
@ -7756,7 +7762,7 @@ EOF
# Extract the first word of "gencat", so it can be a program name with args.
set dummy gencat; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7760: checking for $ac_word" >&5
echo "configure:7766: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7792,7 +7798,7 @@ fi
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7796: checking for $ac_word" >&5
echo "configure:7802: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7829,7 +7835,7 @@ fi
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7833: checking for $ac_word" >&5
echo "configure:7839: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7864,7 +7870,7 @@ fi
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7868: checking for $ac_word" >&5
echo "configure:7874: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7922,7 +7928,7 @@ fi
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7926: checking for $ac_word" >&5
echo "configure:7932: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7956,7 +7962,7 @@ fi
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7960: checking for $ac_word" >&5
echo "configure:7966: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -7992,7 +7998,7 @@ fi
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:7996: checking for $ac_word" >&5
echo "configure:8002: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -8085,7 +8091,7 @@ fi
LINGUAS=
else
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
echo "configure:8089: checking for catalogs to be installed" >&5
echo "configure:8095: checking for catalogs to be installed" >&5
NEW_LINGUAS=
for lang in ${LINGUAS=$ALL_LINGUAS}; do
case "$ALL_LINGUAS" in
@ -8113,17 +8119,17 @@ echo "configure:8089: checking for catalogs to be installed" >&5
if test "$CATOBJEXT" = ".cat"; then
ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
echo "configure:8117: checking for linux/version.h" >&5
echo "configure:8123: checking for linux/version.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 8122 "configure"
#line 8128 "configure"
#include "confdefs.h"
#include <linux/version.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:8127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:8133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -8198,7 +8204,7 @@ fi
echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
echo "configure:8202: checking whether windows registry support is requested" >&5
echo "configure:8208: checking whether windows registry support is requested" >&5
if test x$enable_win32_registry != xno; then
cat >> confdefs.h <<\EOF
#define ENABLE_WIN32_REGISTRY 1
@ -8227,7 +8233,7 @@ esac
if test x$enable_win32_registry != xno; then
echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
echo "configure:8231: checking registry key on windows hosts" >&5
echo "configure:8237: checking registry key on windows hosts" >&5
cat >> confdefs.h <<EOF
#define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
EOF
@ -8403,7 +8409,7 @@ fi
# Figure out what assembler alignment features are present.
echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
echo "configure:8407: checking assembler alignment features" >&5
echo "configure:8413: checking assembler alignment features" >&5
gcc_cv_as=
gcc_cv_as_alignment_features=
gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/gas
@ -8524,7 +8530,7 @@ fi
echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
echo "configure:8528: checking assembler subsection support" >&5
echo "configure:8534: checking assembler subsection support" >&5
gcc_cv_as_subsections=
if test x$gcc_cv_as != x; then
# Check if we have .subsection
@ -8566,7 +8572,7 @@ echo "$ac_t""$gcc_cv_as_subsections" 1>&6
case "$target" in
sparc*-*-*)
echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
echo "configure:8570: checking assembler .register pseudo-op support" >&5
echo "configure:8576: checking assembler .register pseudo-op support" >&5
gcc_cv_as_register_pseudo_op=
if test x$gcc_cv_as != x; then
# Check if we have .register
@ -8583,7 +8589,7 @@ EOF
echo "$ac_t""$gcc_cv_as_register_pseudo_op" 1>&6
echo $ac_n "checking assembler offsetable %lo() support""... $ac_c" 1>&6
echo "configure:8587: checking assembler offsetable %lo() support" >&5
echo "configure:8593: checking assembler offsetable %lo() support" >&5
gcc_cv_as_offsetable_lo10=
if test x$gcc_cv_as != x; then
# Check if assembler has offsetable %lo()
@ -8620,7 +8626,7 @@ EOF
i[34567]86-*-*)
echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
echo "configure:8624: checking assembler instructions" >&5
echo "configure:8630: checking assembler instructions" >&5
gcc_cv_as_instructions=
if test x$gcc_cv_as != x; then
set "filds fists" "filds mem; fists mem"

View File

@ -475,8 +475,9 @@ for machine in $build $host $target; do
gnu_ld="$gnu_ld_flag"
enable_threads=$enable_threads_flag
# Set default cpu_type, tm_file and xm_file so it can be updated in
# each machine entry.
# Set default cpu_type, tm_file, tm_p_file and xm_file so it can be
# updated in each machine entry.
tm_p_file=
cpu_type=`echo $machine | sed 's/-.*$//'`
case $machine in
alpha*-*-*)
@ -515,7 +516,10 @@ changequote([,])dnl
tm_file=${cpu_type}/${cpu_type}.h
xm_file=${cpu_type}/xm-${cpu_type}.h
if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h;
then
tm_p_file=${cpu_type}/${cpu_type}-protos.h;
fi
# On a.out targets, we need to use collect2.
case $machine in
*-*-*aout*)
@ -3860,9 +3864,9 @@ fi
xm_file="gansidecl.h ${xm_file}"
tm_file="gansidecl.h ${tm_file}"
vars="host_xm_file tm_file xm_file build_xm_file"
links="config.h tm.h tconfig.h hconfig.h"
defines="host_xm_defines null_defines xm_defines build_xm_defines"
vars="host_xm_file tm_file tm_p_file xm_file build_xm_file"
links="config.h tm.h tm_p.h tconfig.h hconfig.h"
defines="host_xm_defines null_defines null_defines xm_defines build_xm_defines"
rm -f config.bak
if test -f config.status; then mv -f config.status config.bak; fi
@ -3875,6 +3879,8 @@ do
set $defines; define=$1; shift; defines=$*
rm -f $link
# Make sure the file is created, even if it is empty.
echo >$link
# Define TARGET_CPU_DEFAULT if the system wants one.
# This substitutes for lots of *.h files.

View File

@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
#include <setjmp.h>
#include "rtl.h"
#include "tm_p.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "flags.h"

View File

@ -39,6 +39,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "flags.h"
#include "function.h"
#include "expr.h"

View File

@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "flags.h"
#include "function.h"
#include "expr.h"

View File

@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "flags.h"
#include "insn-flags.h"
#include "insn-codes.h"

View File

@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
#include "machmode.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "obstack.h"
#include "flags.h"
#include "regs.h"

View File

@ -49,6 +49,7 @@ Boston, MA 02111-1307, USA. */
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
#include "regs.h"
#include "insn-config.h"
#include "insn-flags.h"

View File

@ -121,6 +121,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "basic-block.h"
#include "insn-config.h"
#include "regs.h"

View File

@ -48,6 +48,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
#include "toplev.h"
#include "ggc.h"

View File

@ -42,6 +42,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "flags.h"
#include "except.h"
#include "function.h"

View File

@ -144,6 +144,7 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "rtl.h"
#include "tm_p.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "flags.h"

View File

@ -6073,6 +6073,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"config.h\"\n");
printf ("#include \"system.h\"\n");
printf ("#include \"rtl.h\"\n");
printf ("#include \"tm_p.h\"\n");
printf ("#include \"insn-config.h\"\n");
printf ("#include \"recog.h\"\n");
printf ("#include \"regs.h\"\n");

View File

@ -800,6 +800,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"config.h\"\n");
printf ("#include \"system.h\"\n");
printf ("#include \"rtl.h\"\n");
printf ("#include \"tm_p.h\"\n");
printf ("#include \"function.h\"\n");
printf ("#include \"expr.h\"\n");
printf ("#include \"real.h\"\n");

View File

@ -227,6 +227,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"system.h\"\n");
printf ("#include \"flags.h\"\n");
printf ("#include \"rtl.h\"\n");
printf ("#include \"tm_p.h\"\n");
printf ("#include \"function.h\"\n");
printf ("#include \"regs.h\"\n");
printf ("#include \"hard-reg-set.h\"\n");

View File

@ -1903,6 +1903,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"config.h\"\n");
printf ("#include \"system.h\"\n");
printf ("#include \"rtl.h\"\n");
printf ("#include \"tm_p.h\"\n");
printf ("#include \"function.h\"\n");
printf ("#include \"insn-config.h\"\n");
printf ("#include \"recog.h\"\n");

View File

@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
#include "machmode.h"
#include "hard-reg-set.h"
#include "rtl.h"
#include "tm_p.h"
#include "flags.h"
#include "basic-block.h"
#include "regs.h"

View File

@ -159,6 +159,7 @@
#include "system.h"
#include "toplev.h"
#include "rtl.h"
#include "tm_p.h"
#include "basic-block.h"
#include "regs.h"
#include "function.h"

View File

@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "regs.h"
#include "flags.h"
#include "insn-config.h"

View File

@ -54,6 +54,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "flags.h"
#include "hard-reg-set.h"
#include "regs.h"

View File

@ -62,6 +62,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "flags.h"
#include "basic-block.h"
#include "regs.h"

View File

@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "obstack.h"
#include "function.h"
#include "expr.h"

View File

@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */
#include "insn-config.h"
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "flags.h"
#include "insn-flags.h"
#include "insn-codes.h"

View File

@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "insn-config.h"
#include "insn-attr.h"
#include "insn-flags.h"

View File

@ -154,6 +154,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
#include "function.h"
#include "insn-config.h"
#include "regs.h"

View File

@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "hard-reg-set.h"
#include "flags.h"
#include "basic-block.h"

View File

@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h" /* stdio.h must precede rtl.h for FFS. */
#include "tm_p.h"
#include "insn-config.h"
#include "recog.h"
#include "output.h"

View File

@ -90,6 +90,7 @@ a register with any other reload. */
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "insn-config.h"
#include "insn-codes.h"
#include "recog.h"

View File

@ -25,6 +25,7 @@ Boston, MA 02111-1307, USA. */
#include "machmode.h"
#include "hard-reg-set.h"
#include "rtl.h"
#include "tm_p.h"
#include "obstack.h"
#include "insn-config.h"
#include "insn-flags.h"

View File

@ -123,6 +123,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "toplev.h"
#include "rtl.h"
#include "tm_p.h"
#include "expr.h"
#include "function.h"
#include "insn-config.h"

View File

@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "toplev.h"
#include "rtl.h"
#include "tm_p.h"
#include "hard-reg-set.h"
#include "basic-block.h"
#include "function.h"

View File

@ -38,6 +38,7 @@ Boston, MA 02111-1307, USA. */
#include "rtl.h"
#include "tree.h"
#include "tm_p.h"
#include "flags.h"
#include "except.h"
#include "function.h"

View File

@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
#include "flags.h"
#include "function.h"
#include "expr.h"

View File

@ -41,6 +41,7 @@ Boston, MA 02111-1307, USA. */
#include "input.h"
#include "tree.h"
#include "rtl.h"
#include "tm_p.h"
#include "flags.h"
#include "insn-attr.h"
#include "insn-codes.h"

View File

@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA. */
#include "system.h"
#include "flags.h"
#include "tree.h"
#include "tm_p.h"
#include "function.h"
#include "obstack.h"
#include "toplev.h"

View File

@ -149,6 +149,7 @@ enum unroll_types { UNROLL_COMPLETELY, UNROLL_MODULO, UNROLL_NAIVE };
#include "config.h"
#include "system.h"
#include "rtl.h"
#include "tm_p.h"
#include "insn-config.h"
#include "integrate.h"
#include "regs.h"