configure (107500) | configure (130570) |
---|---|
1#! /bin/sh | 1#! /bin/sh |
2 | |
3# Guess values for system-dependent variables and create Makefiles. | 2# Guess values for system-dependent variables and create Makefiles. |
4# Generated automatically using autoconf version 2.13 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | 3# Generated by GNU Autoconf 2.59. |
6# | 4# |
5# Copyright (C) 2003 Free Software Foundation, Inc. |
|
7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. | 6# This configure script is free software; the Free Software Foundation 7# gives unlimited permission to copy, distribute and modify it. |
8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## |
|
9 | 11 |
10# Defaults: 11ac_help= | 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# |
12ac_default_prefix=/usr/local | 254ac_default_prefix=/usr/local |
13# Any additions from configure.in: 14ac_help="$ac_help 15 --enable-shared[=PKGS] build shared libraries [default=yes]" 16ac_help="$ac_help 17 --enable-static[=PKGS] build static libraries [default=yes]" 18ac_help="$ac_help 19 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" 20ac_help="$ac_help 21 --with-gnu-ld assume the C compiler uses GNU ld [default=no]" 22ac_help="$ac_help 23 --disable-libtool-lock avoid locking (might break parallel builds)" 24ac_help="$ac_help 25 --with-pic try to use only PIC/non-PIC objects [default=use both]" 26ac_help="$ac_help 27 --enable-bfd-assembler use BFD back end for writing object files" 28ac_help="$ac_help 29 targets alternative target configurations besides the primary" 30ac_help="$ac_help 31 --enable-commonbfdlib build shared BFD/opcodes/libiberty library" 32ac_help="$ac_help 33 --enable-build-warnings Enable build-time compiler warnings if gcc is used" 34ac_help="$ac_help 35 --disable-nls do not use Native Language Support" 36ac_help="$ac_help 37 --with-included-gettext use the GNU gettext library included here" 38ac_help="$ac_help 39 --enable-maintainer-mode enable make rules and dependencies not useful 40 (and sometimes confusing) to the casual installer" | 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} |
41 | 261 |
262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274ac_unique_file="as.h" 275# Factoring default headers for most tests. 276ac_includes_default="\ 277#include <stdio.h> 278#if HAVE_SYS_TYPES_H 279# include <sys/types.h> 280#endif 281#if HAVE_SYS_STAT_H 282# include <sys/stat.h> 283#endif 284#if STDC_HEADERS 285# include <stdlib.h> 286# include <stddef.h> 287#else 288# if HAVE_STDLIB_H 289# include <stdlib.h> 290# endif 291#endif 292#if HAVE_STRING_H 293# if !STDC_HEADERS && HAVE_MEMORY_H 294# include <memory.h> 295# endif 296# include <string.h> 297#endif 298#if HAVE_STRINGS_H 299# include <strings.h> 300#endif 301#if HAVE_INTTYPES_H 302# include <inttypes.h> 303#else 304# if HAVE_STDINT_H 305# include <stdint.h> 306# endif 307#endif 308#if HAVE_UNISTD_H 309# include <unistd.h> 310#endif" 311 312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL WARN_CFLAGS GDBINIT cgen_cpu_prefix extra_objects target_cpu_type obj_format te_file install_tooldir atof BFDLIB OPCODES_LIB BFDVER_H ALL_OBJ_DEPS YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBM LIBOBJS LTLIBOBJS' 313ac_subst_files='' 314 |
|
42# Initialize some variables set by options. | 315# Initialize some variables set by options. |
316ac_init_help= 317ac_init_version=false |
|
43# The variables have the same names as the options, with 44# dashes changed to underlines. | 318# The variables have the same names as the options, with 319# dashes changed to underlines. |
45build=NONE 46cache_file=./config.cache | 320cache_file=/dev/null |
47exec_prefix=NONE | 321exec_prefix=NONE |
48host=NONE | |
49no_create= | 322no_create= |
50nonopt=NONE | |
51no_recursion= 52prefix=NONE 53program_prefix=NONE 54program_suffix=NONE 55program_transform_name=s,x,x, 56silent= 57site= 58srcdir= | 323no_recursion= 324prefix=NONE 325program_prefix=NONE 326program_suffix=NONE 327program_transform_name=s,x,x, 328silent= 329site= 330srcdir= |
59target=NONE | |
60verbose= 61x_includes=NONE 62x_libraries=NONE | 331verbose= 332x_includes=NONE 333x_libraries=NONE |
334 335# Installation directory options. 336# These are left unexpanded so users can "make install exec_prefix=/foo" 337# and all the variables that are supposed to be based on exec_prefix 338# by default will actually change. 339# Use braces instead of parens because sh, perl, etc. also accept them. |
|
63bindir='${exec_prefix}/bin' 64sbindir='${exec_prefix}/sbin' 65libexecdir='${exec_prefix}/libexec' 66datadir='${prefix}/share' 67sysconfdir='${prefix}/etc' 68sharedstatedir='${prefix}/com' 69localstatedir='${prefix}/var' 70libdir='${exec_prefix}/lib' 71includedir='${prefix}/include' 72oldincludedir='/usr/include' 73infodir='${prefix}/info' 74mandir='${prefix}/man' 75 | 340bindir='${exec_prefix}/bin' 341sbindir='${exec_prefix}/sbin' 342libexecdir='${exec_prefix}/libexec' 343datadir='${prefix}/share' 344sysconfdir='${prefix}/etc' 345sharedstatedir='${prefix}/com' 346localstatedir='${prefix}/var' 347libdir='${exec_prefix}/lib' 348includedir='${prefix}/include' 349oldincludedir='/usr/include' 350infodir='${prefix}/info' 351mandir='${prefix}/man' 352 |
76# Initialize some other variables. 77subdirs= 78MFLAGS= MAKEFLAGS= 79SHELL=${CONFIG_SHELL-/bin/sh} 80# Maximum number of lines to put in a shell here document. 81ac_max_here_lines=12 82 | |
83ac_prev= 84for ac_option 85do | 353ac_prev= 354for ac_option 355do |
86 | |
87 # If the previous option needs an argument, assign it. 88 if test -n "$ac_prev"; then 89 eval "$ac_prev=\$ac_option" 90 ac_prev= 91 continue 92 fi 93 | 356 # If the previous option needs an argument, assign it. 357 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option" 359 ac_prev= 360 continue 361 fi 362 |
94 case "$ac_option" in 95 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 96 *) ac_optarg= ;; 97 esac | 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
98 99 # Accept the important Cygnus configure options, so we can diagnose typos. 100 | 364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366 |
101 case "$ac_option" in | 367 case $ac_option in |
102 103 -bindir | --bindir | --bindi | --bind | --bin | --bi) 104 ac_prev=bindir ;; 105 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 368 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) 370 ac_prev=bindir ;; 371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
106 bindir="$ac_optarg" ;; | 372 bindir=$ac_optarg ;; |
107 108 -build | --build | --buil | --bui | --bu) | 373 374 -build | --build | --buil | --bui | --bu) |
109 ac_prev=build ;; | 375 ac_prev=build_alias ;; |
110 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 376 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
111 build="$ac_optarg" ;; | 377 build_alias=$ac_optarg ;; |
112 113 -cache-file | --cache-file | --cache-fil | --cache-fi \ 114 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 115 ac_prev=cache_file ;; 116 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 117 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 378 379 -cache-file | --cache-file | --cache-fil | --cache-fi \ 380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 381 ac_prev=cache_file ;; 382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
118 cache_file="$ac_optarg" ;; | 384 cache_file=$ac_optarg ;; |
119 | 385 |
386 --config-cache | -C) 387 cache_file=config.cache ;; 388 |
|
120 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 121 ac_prev=datadir ;; 122 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 123 | --da=*) | 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 390 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) |
124 datadir="$ac_optarg" ;; | 393 datadir=$ac_optarg ;; |
125 126 -disable-* | --disable-*) | 394 395 -disable-* | --disable-*) |
127 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | 396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
128 # Reject names that are not valid shell variable names. | 397 # Reject names that are not valid shell variable names. |
129 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 130 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 131 fi 132 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 133 eval "enable_${ac_feature}=no" ;; | 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; |
134 135 -enable-* | --enable-*) | 403 404 -enable-* | --enable-*) |
136 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
137 # Reject names that are not valid shell variable names. | 406 # Reject names that are not valid shell variable names. |
138 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 139 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 140 fi 141 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 142 case "$ac_option" in 143 *=*) ;; | 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
144 *) ac_optarg=yes ;; 145 esac | 413 *) ac_optarg=yes ;; 414 esac |
146 eval "enable_${ac_feature}='$ac_optarg'" ;; | 415 eval "enable_$ac_feature='$ac_optarg'" ;; |
147 148 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 149 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 150 | --exec | --exe | --ex) 151 ac_prev=exec_prefix ;; 152 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 153 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 154 | --exec=* | --exe=* | --ex=*) | 416 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 419 | --exec | --exe | --ex) 420 ac_prev=exec_prefix ;; 421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 423 | --exec=* | --exe=* | --ex=*) |
155 exec_prefix="$ac_optarg" ;; | 424 exec_prefix=$ac_optarg ;; |
156 157 -gas | --gas | --ga | --g) 158 # Obsolete; use --with-gas. 159 with_gas=yes ;; 160 | 425 426 -gas | --gas | --ga | --g) 427 # Obsolete; use --with-gas. 428 with_gas=yes ;; 429 |
161 -help | --help | --hel | --he) 162 # Omit some internal or obsolete options to make the list less imposing. 163 # This message is too long to be a string in the A/UX 3.1 sh. 164 cat << EOF 165Usage: configure [options] [host] 166Options: [defaults in brackets after descriptions] 167Configuration: 168 --cache-file=FILE cache test results in FILE 169 --help print this message 170 --no-create do not create output files 171 --quiet, --silent do not print \`checking...' messages 172 --version print the version of autoconf that created configure 173Directory and file names: 174 --prefix=PREFIX install architecture-independent files in PREFIX 175 [$ac_default_prefix] 176 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 177 [same as prefix] 178 --bindir=DIR user executables in DIR [EPREFIX/bin] 179 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 180 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 181 --datadir=DIR read-only architecture-independent data in DIR 182 [PREFIX/share] 183 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 184 --sharedstatedir=DIR modifiable architecture-independent data in DIR 185 [PREFIX/com] 186 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 187 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 188 --includedir=DIR C header files in DIR [PREFIX/include] 189 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 190 --infodir=DIR info documentation in DIR [PREFIX/info] 191 --mandir=DIR man documentation in DIR [PREFIX/man] 192 --srcdir=DIR find the sources in DIR [configure dir or ..] 193 --program-prefix=PREFIX prepend PREFIX to installed program names 194 --program-suffix=SUFFIX append SUFFIX to installed program names 195 --program-transform-name=PROGRAM 196 run sed PROGRAM on installed program names 197EOF 198 cat << EOF 199Host type: 200 --build=BUILD configure for building on BUILD [BUILD=HOST] 201 --host=HOST configure for HOST [guessed] 202 --target=TARGET configure for TARGET [TARGET=HOST] 203Features and packages: 204 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 205 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 206 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 207 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 208 --x-includes=DIR X include files are in DIR 209 --x-libraries=DIR X library files are in DIR 210EOF 211 if test -n "$ac_help"; then 212 echo "--enable and --with options recognized:$ac_help" 213 fi 214 exit 0 ;; | 430 -help | --help | --hel | --he | -h) 431 ac_init_help=long ;; 432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 433 ac_init_help=recursive ;; 434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 435 ac_init_help=short ;; |
215 216 -host | --host | --hos | --ho) | 436 437 -host | --host | --hos | --ho) |
217 ac_prev=host ;; | 438 ac_prev=host_alias ;; |
218 -host=* | --host=* | --hos=* | --ho=*) | 439 -host=* | --host=* | --hos=* | --ho=*) |
219 host="$ac_optarg" ;; | 440 host_alias=$ac_optarg ;; |
220 221 -includedir | --includedir | --includedi | --included | --include \ 222 | --includ | --inclu | --incl | --inc) 223 ac_prev=includedir ;; 224 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 225 | --includ=* | --inclu=* | --incl=* | --inc=*) | 441 442 -includedir | --includedir | --includedi | --included | --include \ 443 | --includ | --inclu | --incl | --inc) 444 ac_prev=includedir ;; 445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 446 | --includ=* | --inclu=* | --incl=* | --inc=*) |
226 includedir="$ac_optarg" ;; | 447 includedir=$ac_optarg ;; |
227 228 -infodir | --infodir | --infodi | --infod | --info | --inf) 229 ac_prev=infodir ;; 230 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 448 449 -infodir | --infodir | --infodi | --infod | --info | --inf) 450 ac_prev=infodir ;; 451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
231 infodir="$ac_optarg" ;; | 452 infodir=$ac_optarg ;; |
232 233 -libdir | --libdir | --libdi | --libd) 234 ac_prev=libdir ;; 235 -libdir=* | --libdir=* | --libdi=* | --libd=*) | 453 454 -libdir | --libdir | --libdi | --libd) 455 ac_prev=libdir ;; 456 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
236 libdir="$ac_optarg" ;; | 457 libdir=$ac_optarg ;; |
237 238 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 239 | --libexe | --libex | --libe) 240 ac_prev=libexecdir ;; 241 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 242 | --libexe=* | --libex=* | --libe=*) | 458 459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 460 | --libexe | --libex | --libe) 461 ac_prev=libexecdir ;; 462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 463 | --libexe=* | --libex=* | --libe=*) |
243 libexecdir="$ac_optarg" ;; | 464 libexecdir=$ac_optarg ;; |
244 245 -localstatedir | --localstatedir | --localstatedi | --localstated \ 246 | --localstate | --localstat | --localsta | --localst \ 247 | --locals | --local | --loca | --loc | --lo) 248 ac_prev=localstatedir ;; 249 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 250 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 251 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 465 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 469 ac_prev=localstatedir ;; 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
252 localstatedir="$ac_optarg" ;; | 473 localstatedir=$ac_optarg ;; |
253 254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 255 ac_prev=mandir ;; 256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 474 475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 476 ac_prev=mandir ;; 477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
257 mandir="$ac_optarg" ;; | 478 mandir=$ac_optarg ;; |
258 259 -nfp | --nfp | --nf) 260 # Obsolete; use --without-fp. 261 with_fp=no ;; 262 263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 479 480 -nfp | --nfp | --nf) 481 # Obsolete; use --without-fp. 482 with_fp=no ;; 483 484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
264 | --no-cr | --no-c) | 485 | --no-cr | --no-c | -n) |
265 no_create=yes ;; 266 267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 269 no_recursion=yes ;; 270 271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 273 | --oldin | --oldi | --old | --ol | --o) 274 ac_prev=oldincludedir ;; 275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 486 no_create=yes ;; 487 488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 490 no_recursion=yes ;; 491 492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 494 | --oldin | --oldi | --old | --ol | --o) 495 ac_prev=oldincludedir ;; 496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
278 oldincludedir="$ac_optarg" ;; | 499 oldincludedir=$ac_optarg ;; |
279 280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 281 ac_prev=prefix ;; 282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 500 501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 502 ac_prev=prefix ;; 503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
283 prefix="$ac_optarg" ;; | 504 prefix=$ac_optarg ;; |
284 285 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 286 | --program-pre | --program-pr | --program-p) 287 ac_prev=program_prefix ;; 288 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 505 506 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 507 | --program-pre | --program-pr | --program-p) 508 ac_prev=program_prefix ;; 509 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
290 program_prefix="$ac_optarg" ;; | 511 program_prefix=$ac_optarg ;; |
291 292 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 293 | --program-suf | --program-su | --program-s) 294 ac_prev=program_suffix ;; 295 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 512 513 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 514 | --program-suf | --program-su | --program-s) 515 ac_prev=program_suffix ;; 516 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
297 program_suffix="$ac_optarg" ;; | 518 program_suffix=$ac_optarg ;; |
298 299 -program-transform-name | --program-transform-name \ 300 | --program-transform-nam | --program-transform-na \ 301 | --program-transform-n | --program-transform- \ 302 | --program-transform | --program-transfor \ 303 | --program-transfo | --program-transf \ 304 | --program-trans | --program-tran \ 305 | --progr-tra | --program-tr | --program-t) 306 ac_prev=program_transform_name ;; 307 -program-transform-name=* | --program-transform-name=* \ 308 | --program-transform-nam=* | --program-transform-na=* \ 309 | --program-transform-n=* | --program-transform-=* \ 310 | --program-transform=* | --program-transfor=* \ 311 | --program-transfo=* | --program-transf=* \ 312 | --program-trans=* | --program-tran=* \ 313 | --progr-tra=* | --program-tr=* | --program-t=*) | 519 520 -program-transform-name | --program-transform-name \ 521 | --program-transform-nam | --program-transform-na \ 522 | --program-transform-n | --program-transform- \ 523 | --program-transform | --program-transfor \ 524 | --program-transfo | --program-transf \ 525 | --program-trans | --program-tran \ 526 | --progr-tra | --program-tr | --program-t) 527 ac_prev=program_transform_name ;; 528 -program-transform-name=* | --program-transform-name=* \ 529 | --program-transform-nam=* | --program-transform-na=* \ 530 | --program-transform-n=* | --program-transform-=* \ 531 | --program-transform=* | --program-transfor=* \ 532 | --program-transfo=* | --program-transf=* \ 533 | --program-trans=* | --program-tran=* \ 534 | --progr-tra=* | --program-tr=* | --program-t=*) |
314 program_transform_name="$ac_optarg" ;; | 535 program_transform_name=$ac_optarg ;; |
315 316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 317 | -silent | --silent | --silen | --sile | --sil) 318 silent=yes ;; 319 320 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 321 ac_prev=sbindir ;; 322 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 323 | --sbi=* | --sb=*) | 536 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 | -silent | --silent | --silen | --sile | --sil) 539 silent=yes ;; 540 541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 542 ac_prev=sbindir ;; 543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 544 | --sbi=* | --sb=*) |
324 sbindir="$ac_optarg" ;; | 545 sbindir=$ac_optarg ;; |
325 326 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 327 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 328 | --sharedst | --shareds | --shared | --share | --shar \ 329 | --sha | --sh) 330 ac_prev=sharedstatedir ;; 331 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 332 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 333 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 334 | --sha=* | --sh=*) | 546 547 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 549 | --sharedst | --shareds | --shared | --share | --shar \ 550 | --sha | --sh) 551 ac_prev=sharedstatedir ;; 552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 555 | --sha=* | --sh=*) |
335 sharedstatedir="$ac_optarg" ;; | 556 sharedstatedir=$ac_optarg ;; |
336 337 -site | --site | --sit) 338 ac_prev=site ;; 339 -site=* | --site=* | --sit=*) | 557 558 -site | --site | --sit) 559 ac_prev=site ;; 560 -site=* | --site=* | --sit=*) |
340 site="$ac_optarg" ;; | 561 site=$ac_optarg ;; |
341 342 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 343 ac_prev=srcdir ;; 344 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 562 563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 564 ac_prev=srcdir ;; 565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
345 srcdir="$ac_optarg" ;; | 566 srcdir=$ac_optarg ;; |
346 347 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 348 | --syscon | --sysco | --sysc | --sys | --sy) 349 ac_prev=sysconfdir ;; 350 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 351 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 567 568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 569 | --syscon | --sysco | --sysc | --sys | --sy) 570 ac_prev=sysconfdir ;; 571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
352 sysconfdir="$ac_optarg" ;; | 573 sysconfdir=$ac_optarg ;; |
353 354 -target | --target | --targe | --targ | --tar | --ta | --t) | 574 575 -target | --target | --targe | --targ | --tar | --ta | --t) |
355 ac_prev=target ;; | 576 ac_prev=target_alias ;; |
356 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
357 target="$ac_optarg" ;; | 578 target_alias=$ac_optarg ;; |
358 359 -v | -verbose | --verbose | --verbos | --verbo | --verb) 360 verbose=yes ;; 361 | 579 580 -v | -verbose | --verbose | --verbos | --verbo | --verb) 581 verbose=yes ;; 582 |
362 -version | --version | --versio | --versi | --vers) 363 echo "configure generated by autoconf version 2.13" 364 exit 0 ;; | 583 -version | --version | --versio | --versi | --vers | -V) 584 ac_init_version=: ;; |
365 366 -with-* | --with-*) | 585 586 -with-* | --with-*) |
367 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | 587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
368 # Reject names that are not valid shell variable names. | 588 # Reject names that are not valid shell variable names. |
369 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 370 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 371 fi | 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } |
372 ac_package=`echo $ac_package| sed 's/-/_/g'` | 592 ac_package=`echo $ac_package| sed 's/-/_/g'` |
373 case "$ac_option" in 374 *=*) ;; | 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
375 *) ac_optarg=yes ;; 376 esac | 595 *) ac_optarg=yes ;; 596 esac |
377 eval "with_${ac_package}='$ac_optarg'" ;; | 597 eval "with_$ac_package='$ac_optarg'" ;; |
378 379 -without-* | --without-*) | 598 599 -without-* | --without-*) |
380 ac_package=`echo $ac_option|sed -e 's/-*without-//'` | 600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
381 # Reject names that are not valid shell variable names. | 601 # Reject names that are not valid shell variable names. |
382 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 383 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 384 fi 385 ac_package=`echo $ac_package| sed 's/-/_/g'` 386 eval "with_${ac_package}=no" ;; | 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; |
387 388 --x) 389 # Obsolete; use --with-x. 390 with_x=yes ;; 391 392 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 393 | --x-incl | --x-inc | --x-in | --x-i) 394 ac_prev=x_includes ;; 395 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 396 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 607 608 --x) 609 # Obsolete; use --with-x. 610 with_x=yes ;; 611 612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 613 | --x-incl | --x-inc | --x-in | --x-i) 614 ac_prev=x_includes ;; 615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
397 x_includes="$ac_optarg" ;; | 617 x_includes=$ac_optarg ;; |
398 399 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 400 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 401 ac_prev=x_libraries ;; 402 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 403 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 618 619 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 621 ac_prev=x_libraries ;; 622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
404 x_libraries="$ac_optarg" ;; | 624 x_libraries=$ac_optarg ;; |
405 | 625 |
406 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } |
407 ;; 408 | 629 ;; 630 |
631 *=*) 632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633 # Reject names that are not valid shell variable names. 634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 639 export $ac_envvar ;; 640 |
|
409 *) | 641 *) |
410 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 411 echo "configure: warning: $ac_option: invalid host type" 1>&2 412 fi 413 if test "x$nonopt" != xNONE; then 414 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 415 fi 416 nonopt="$ac_option" | 642 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
417 ;; 418 419 esac 420done 421 422if test -n "$ac_prev"; then | 647 ;; 648 649 esac 650done 651 652if test -n "$ac_prev"; then |
423 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | 653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } |
424fi 425 | 656fi 657 |
426trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 658# Be sure to have absolute paths. 659for ac_var in exec_prefix prefix 660do 661 eval ac_val=$`echo $ac_var` 662 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 666 esac 667done |
427 | 668 |
428# File descriptor usage: 429# 0 standard input 430# 1 file creation 431# 2 errors and warnings 432# 3 some systems may open it to /dev/tty 433# 4 used on the Kubota Titan 434# 6 checking for... messages and results 435# 5 compiler messages saved in config.log 436if test "$silent" = yes; then 437 exec 6>/dev/null 438else 439 exec 6>&1 440fi 441exec 5>./config.log 442 443echo "\ 444This file contains any messages produced by compilers while 445running configure, to aid debugging if configure makes a mistake. 446" 1>&5 447 448# Strip out --no-create and --no-recursion so they do not pile up. 449# Also quote any args containing shell metacharacters. 450ac_configure_args= 451for ac_arg | 669# Be sure to have absolute paths. 670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir |
452do | 672do |
453 case "$ac_arg" in 454 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 455 | --no-cr | --no-c) ;; 456 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 457 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 458 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 459 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 460 *) ac_configure_args="$ac_configure_args $ac_arg" ;; | 673 eval ac_val=$`echo $ac_var` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; |
461 esac 462done 463 | 678 esac 679done 680 |
464# NLS nuisances. 465# Only set these to C if already set. These must not be set unconditionally 466# because not all systems understand e.g. LANG=C (notably SCO). 467# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 468# Non-C LC_CTYPE values break the ctype check. 469if test "${LANG+set}" = set; then LANG=C; export LANG; fi 470if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 471if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 472if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | 681# There might be people who depend on the old broken behavior: `$host' 682# used to hold the argument of --host etc. 683# FIXME: To remove some day. 684build=$build_alias 685host=$host_alias 686target=$target_alias |
473 | 687 |
474# confdefs.h avoids OS command line length limits that DEFS can exceed. 475rm -rf conftest* confdefs.h 476# AIX cpp loses on an empty file, so make sure it contains at least a newline. 477echo > confdefs.h | 688# FIXME: To remove some day. 689if test "x$host_alias" != x; then 690 if test "x$build_alias" = x; then 691 cross_compiling=maybe 692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693 If a cross compiler is detected then cross compile mode will be used." >&2 694 elif test "x$build_alias" != "x$host_alias"; then 695 cross_compiling=yes 696 fi 697fi |
478 | 698 |
479# A filename unique to this package, relative to the directory that 480# configure is in, which we can look for to find out if srcdir is correct. 481ac_unique_file=as.h | 699ac_tool_prefix= 700test -n "$host_alias" && ac_tool_prefix=$host_alias- |
482 | 701 |
702test "$silent" = yes && exec 6>/dev/null 703 704 |
|
483# Find the source files, if location was not specified. 484if test -z "$srcdir"; then 485 ac_srcdir_defaulted=yes 486 # Try the directory containing this script, then its parent. | 705# Find the source files, if location was not specified. 706if test -z "$srcdir"; then 707 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent. |
487 ac_prog=$0 488 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 489 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` |
490 srcdir=$ac_confdir 491 if test ! -r $srcdir/$ac_unique_file; then 492 srcdir=.. 493 fi 494else 495 ac_srcdir_defaulted=no 496fi 497if test ! -r $srcdir/$ac_unique_file; then 498 if test "$ac_srcdir_defaulted" = yes; then | 721 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then 723 srcdir=.. 724 fi 725else 726 ac_srcdir_defaulted=no 727fi 728if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then |
499 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } |
500 else | 732 else |
501 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } |
502 fi 503fi | 735 fi 736fi |
504srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | 737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741ac_env_build_alias_set=${build_alias+set} 742ac_env_build_alias_value=$build_alias 743ac_cv_env_build_alias_set=${build_alias+set} 744ac_cv_env_build_alias_value=$build_alias 745ac_env_host_alias_set=${host_alias+set} 746ac_env_host_alias_value=$host_alias 747ac_cv_env_host_alias_set=${host_alias+set} 748ac_cv_env_host_alias_value=$host_alias 749ac_env_target_alias_set=${target_alias+set} 750ac_env_target_alias_value=$target_alias 751ac_cv_env_target_alias_set=${target_alias+set} 752ac_cv_env_target_alias_value=$target_alias 753ac_env_CC_set=${CC+set} 754ac_env_CC_value=$CC 755ac_cv_env_CC_set=${CC+set} 756ac_cv_env_CC_value=$CC 757ac_env_CFLAGS_set=${CFLAGS+set} 758ac_env_CFLAGS_value=$CFLAGS 759ac_cv_env_CFLAGS_set=${CFLAGS+set} 760ac_cv_env_CFLAGS_value=$CFLAGS 761ac_env_LDFLAGS_set=${LDFLAGS+set} 762ac_env_LDFLAGS_value=$LDFLAGS 763ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764ac_cv_env_LDFLAGS_value=$LDFLAGS 765ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766ac_env_CPPFLAGS_value=$CPPFLAGS 767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769ac_env_CPP_set=${CPP+set} 770ac_env_CPP_value=$CPP 771ac_cv_env_CPP_set=${CPP+set} 772ac_cv_env_CPP_value=$CPP |
505 | 773 |
774# 775# Report the --help message. 776# 777if test "$ac_init_help" = "long"; then 778 # Omit some internal or obsolete options to make the list less imposing. 779 # This message is too long to be a string in the A/UX 3.1 sh. 780 cat <<_ACEOF 781\`configure' configures this package to adapt to many kinds of systems. 782 783Usage: $0 [OPTION]... [VAR=VALUE]... 784 785To assign environment variables (e.g., CC, CFLAGS...), specify them as 786VAR=VALUE. See below for descriptions of some of the useful variables. 787 788Defaults for the options are specified in brackets. 789 790Configuration: 791 -h, --help display this help and exit 792 --help=short display options specific to this package 793 --help=recursive display the short help of all the included packages 794 -V, --version display version information and exit 795 -q, --quiet, --silent do not print \`checking...' messages 796 --cache-file=FILE cache test results in FILE [disabled] 797 -C, --config-cache alias for \`--cache-file=config.cache' 798 -n, --no-create do not create output files 799 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 800 801_ACEOF 802 803 cat <<_ACEOF 804Installation directories: 805 --prefix=PREFIX install architecture-independent files in PREFIX 806 [$ac_default_prefix] 807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 808 [PREFIX] 809 810By default, \`make install' will install all the files in 811\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 812an installation prefix other than \`$ac_default_prefix' using \`--prefix', 813for instance \`--prefix=\$HOME'. 814 815For better control, use the options below. 816 817Fine tuning of the installation directories: 818 --bindir=DIR user executables [EPREFIX/bin] 819 --sbindir=DIR system admin executables [EPREFIX/sbin] 820 --libexecdir=DIR program executables [EPREFIX/libexec] 821 --datadir=DIR read-only architecture-independent data [PREFIX/share] 822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 824 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 825 --libdir=DIR object code libraries [EPREFIX/lib] 826 --includedir=DIR C header files [PREFIX/include] 827 --oldincludedir=DIR C header files for non-gcc [/usr/include] 828 --infodir=DIR info documentation [PREFIX/info] 829 --mandir=DIR man documentation [PREFIX/man] 830_ACEOF 831 832 cat <<\_ACEOF 833 834Program names: 835 --program-prefix=PREFIX prepend PREFIX to installed program names 836 --program-suffix=SUFFIX append SUFFIX to installed program names 837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 838 839System types: 840 --build=BUILD configure for building on BUILD [guessed] 841 --host=HOST cross-compile to build programs to run on HOST [BUILD] 842 --target=TARGET configure for building compilers for TARGET [HOST] 843_ACEOF 844fi 845 846if test -n "$ac_init_help"; then 847 848 cat <<\_ACEOF 849 850Optional Features: 851 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 852 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 853 --disable-dependency-tracking speeds up one-time build 854 --enable-dependency-tracking do not reject slow dependency extractors 855 --enable-shared=PKGS build shared libraries default=yes 856 --enable-static=PKGS build static libraries default=yes 857 --enable-fast-install=PKGS optimize for fast installation default=yes 858 --disable-libtool-lock avoid locking (might break parallel builds) 859 --enable-bfd-assembler use BFD back end for writing object files 860 targets alternative target configurations besides the primary 861 --enable-commonbfdlib build shared BFD/opcodes/libiberty library 862 --enable-build-warnings Enable build-time compiler warnings if gcc is used 863 --disable-nls do not use Native Language Support 864 --enable-maintainer-mode enable make rules and dependencies not useful 865 (and sometimes confusing) to the casual installer 866 867Optional Packages: 868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 870 --with-gnu-ld assume the C compiler uses GNU ld default=no 871 --with-pic try to use only PIC/non-PIC objects default=use both 872 --with-included-gettext use the GNU gettext library included here 873 874Some influential environment variables: 875 CC C compiler command 876 CFLAGS C compiler flags 877 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 878 nonstandard directory <lib dir> 879 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 880 headers in a nonstandard directory <include dir> 881 CPP C preprocessor 882 883Use these variables to override the choices made by `configure' or to help 884it to find libraries and programs with nonstandard names/locations. 885 886_ACEOF 887fi 888 889if test "$ac_init_help" = "recursive"; then 890 # If there are subdirs, report their specific --help. 891 ac_popdir=`pwd` 892 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 893 test -d $ac_dir || continue 894 ac_builddir=. 895 896if test "$ac_dir" != .; then 897 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 898 # A "../" for each directory in $ac_dir_suffix. 899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 900else 901 ac_dir_suffix= ac_top_builddir= 902fi 903 904case $srcdir in 905 .) # No --srcdir option. We are building in place. 906 ac_srcdir=. 907 if test -z "$ac_top_builddir"; then 908 ac_top_srcdir=. 909 else 910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 911 fi ;; 912 [\\/]* | ?:[\\/]* ) # Absolute path. 913 ac_srcdir=$srcdir$ac_dir_suffix; 914 ac_top_srcdir=$srcdir ;; 915 *) # Relative path. 916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 917 ac_top_srcdir=$ac_top_builddir$srcdir ;; 918esac 919 920# Do not use `cd foo && pwd` to compute absolute paths, because 921# the directories may not exist. 922case `pwd` in 923.) ac_abs_builddir="$ac_dir";; 924*) 925 case "$ac_dir" in 926 .) ac_abs_builddir=`pwd`;; 927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 928 *) ac_abs_builddir=`pwd`/"$ac_dir";; 929 esac;; 930esac 931case $ac_abs_builddir in 932.) ac_abs_top_builddir=${ac_top_builddir}.;; 933*) 934 case ${ac_top_builddir}. in 935 .) ac_abs_top_builddir=$ac_abs_builddir;; 936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 938 esac;; 939esac 940case $ac_abs_builddir in 941.) ac_abs_srcdir=$ac_srcdir;; 942*) 943 case $ac_srcdir in 944 .) ac_abs_srcdir=$ac_abs_builddir;; 945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 947 esac;; 948esac 949case $ac_abs_builddir in 950.) ac_abs_top_srcdir=$ac_top_srcdir;; 951*) 952 case $ac_top_srcdir in 953 .) ac_abs_top_srcdir=$ac_abs_builddir;; 954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 956 esac;; 957esac 958 959 cd $ac_dir 960 # Check for guested configure; otherwise get Cygnus style configure. 961 if test -f $ac_srcdir/configure.gnu; then 962 echo 963 $SHELL $ac_srcdir/configure.gnu --help=recursive 964 elif test -f $ac_srcdir/configure; then 965 echo 966 $SHELL $ac_srcdir/configure --help=recursive 967 elif test -f $ac_srcdir/configure.ac || 968 test -f $ac_srcdir/configure.in; then 969 echo 970 $ac_configure --help 971 else 972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 973 fi 974 cd "$ac_popdir" 975 done 976fi 977 978test -n "$ac_init_help" && exit 0 979if $ac_init_version; then 980 cat <<\_ACEOF 981 982Copyright (C) 2003 Free Software Foundation, Inc. 983This configure script is free software; the Free Software Foundation 984gives unlimited permission to copy, distribute and modify it. 985_ACEOF 986 exit 0 987fi 988exec 5>config.log 989cat >&5 <<_ACEOF 990This file contains any messages produced by compilers while 991running configure, to aid debugging if configure makes a mistake. 992 993It was created by $as_me, which was 994generated by GNU Autoconf 2.59. Invocation command line was 995 996 $ $0 $@ 997 998_ACEOF 999{ 1000cat <<_ASUNAME 1001## --------- ## 1002## Platform. ## 1003## --------- ## 1004 1005hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1006uname -m = `(uname -m) 2>/dev/null || echo unknown` 1007uname -r = `(uname -r) 2>/dev/null || echo unknown` 1008uname -s = `(uname -s) 2>/dev/null || echo unknown` 1009uname -v = `(uname -v) 2>/dev/null || echo unknown` 1010 1011/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1012/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1013 1014/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1015/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1016/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1017hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1018/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1019/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1020/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1021 1022_ASUNAME 1023 1024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1025for as_dir in $PATH 1026do 1027 IFS=$as_save_IFS 1028 test -z "$as_dir" && as_dir=. 1029 echo "PATH: $as_dir" 1030done 1031 1032} >&5 1033 1034cat >&5 <<_ACEOF 1035 1036 1037## ----------- ## 1038## Core tests. ## 1039## ----------- ## 1040 1041_ACEOF 1042 1043 1044# Keep a trace of the command line. 1045# Strip out --no-create and --no-recursion so they do not pile up. 1046# Strip out --silent because we don't want to record it for future runs. 1047# Also quote any args containing shell meta-characters. 1048# Make two passes to allow for proper duplicate-argument suppression. 1049ac_configure_args= 1050ac_configure_args0= 1051ac_configure_args1= 1052ac_sep= 1053ac_must_keep_next=false 1054for ac_pass in 1 2 1055do 1056 for ac_arg 1057 do 1058 case $ac_arg in 1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1061 | -silent | --silent | --silen | --sile | --sil) 1062 continue ;; 1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1065 esac 1066 case $ac_pass in 1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1068 2) 1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1070 if test $ac_must_keep_next = true; then 1071 ac_must_keep_next=false # Got value, back to normal. 1072 else 1073 case $ac_arg in 1074 *=* | --config-cache | -C | -disable-* | --disable-* \ 1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1077 | -with-* | --with-* | -without-* | --without-* | --x) 1078 case "$ac_configure_args0 " in 1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1080 esac 1081 ;; 1082 -* ) ac_must_keep_next=true ;; 1083 esac 1084 fi 1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1086 # Get rid of the leading space. 1087 ac_sep=" " 1088 ;; 1089 esac 1090 done 1091done 1092$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1093$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1094 1095# When interrupted or exit'd, cleanup temporary files, and complete 1096# config.log. We remove comments because anyway the quotes in there 1097# would cause problems or look ugly. 1098# WARNING: Be sure not to use single quotes in there, as some shells, 1099# such as our DU 5.0 friend, will then `close' the trap. 1100trap 'exit_status=$? 1101 # Save into config.log some information that might help in debugging. 1102 { 1103 echo 1104 1105 cat <<\_ASBOX 1106## ---------------- ## 1107## Cache variables. ## 1108## ---------------- ## 1109_ASBOX 1110 echo 1111 # The following way of writing the cache mishandles newlines in values, 1112{ 1113 (set) 2>&1 | 1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1115 *ac_space=\ *) 1116 sed -n \ 1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1119 ;; 1120 *) 1121 sed -n \ 1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1123 ;; 1124 esac; 1125} 1126 echo 1127 1128 cat <<\_ASBOX 1129## ----------------- ## 1130## Output variables. ## 1131## ----------------- ## 1132_ASBOX 1133 echo 1134 for ac_var in $ac_subst_vars 1135 do 1136 eval ac_val=$`echo $ac_var` 1137 echo "$ac_var='"'"'$ac_val'"'"'" 1138 done | sort 1139 echo 1140 1141 if test -n "$ac_subst_files"; then 1142 cat <<\_ASBOX 1143## ------------- ## 1144## Output files. ## 1145## ------------- ## 1146_ASBOX 1147 echo 1148 for ac_var in $ac_subst_files 1149 do 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 1152 done | sort 1153 echo 1154 fi 1155 1156 if test -s confdefs.h; then 1157 cat <<\_ASBOX 1158## ----------- ## 1159## confdefs.h. ## 1160## ----------- ## 1161_ASBOX 1162 echo 1163 sed "/^$/d" confdefs.h | sort 1164 echo 1165 fi 1166 test "$ac_signal" != 0 && 1167 echo "$as_me: caught signal $ac_signal" 1168 echo "$as_me: exit $exit_status" 1169 } >&5 1170 rm -f core *.core && 1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1172 exit $exit_status 1173 ' 0 1174for ac_signal in 1 2 13 15; do 1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1176done 1177ac_signal=0 1178 1179# confdefs.h avoids OS command line length limits that DEFS can exceed. 1180rm -rf conftest* confdefs.h 1181# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1182echo >confdefs.h 1183 1184# Predefined preprocessor variables. 1185 1186cat >>confdefs.h <<_ACEOF 1187#define PACKAGE_NAME "$PACKAGE_NAME" 1188_ACEOF 1189 1190 1191cat >>confdefs.h <<_ACEOF 1192#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1193_ACEOF 1194 1195 1196cat >>confdefs.h <<_ACEOF 1197#define PACKAGE_VERSION "$PACKAGE_VERSION" 1198_ACEOF 1199 1200 1201cat >>confdefs.h <<_ACEOF 1202#define PACKAGE_STRING "$PACKAGE_STRING" 1203_ACEOF 1204 1205 1206cat >>confdefs.h <<_ACEOF 1207#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1208_ACEOF 1209 1210 1211# Let the site file select an alternate cache file if it wants to. |
|
506# Prefer explicitly selected file to automatically selected ones. 507if test -z "$CONFIG_SITE"; then 508 if test "x$prefix" != xNONE; then 509 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 510 else 511 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 512 fi 513fi 514for ac_site_file in $CONFIG_SITE; do 515 if test -r "$ac_site_file"; then | 1212# Prefer explicitly selected file to automatically selected ones. 1213if test -z "$CONFIG_SITE"; then 1214 if test "x$prefix" != xNONE; then 1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1216 else 1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1218 fi 1219fi 1220for ac_site_file in $CONFIG_SITE; do 1221 if test -r "$ac_site_file"; then |
516 echo "loading site script $ac_site_file" | 1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1223echo "$as_me: loading site script $ac_site_file" >&6;} 1224 sed 's/^/| /' "$ac_site_file" >&5 |
517 . "$ac_site_file" 518 fi 519done 520 521if test -r "$cache_file"; then | 1225 . "$ac_site_file" 1226 fi 1227done 1228 1229if test -r "$cache_file"; then |
522 echo "loading cache $cache_file" 523 . $cache_file | 1230 # Some versions of bash will fail to source /dev/null (special 1231 # files actually), so we avoid doing that. 1232 if test -f "$cache_file"; then 1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1234echo "$as_me: loading cache $cache_file" >&6;} 1235 case $cache_file in 1236 [\\/]* | ?:[\\/]* ) . $cache_file;; 1237 *) . ./$cache_file;; 1238 esac 1239 fi |
524else | 1240else |
525 echo "creating cache $cache_file" 526 > $cache_file | 1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1242echo "$as_me: creating cache $cache_file" >&6;} 1243 >$cache_file |
527fi 528 | 1244fi 1245 |
1246# Check that the precious variables saved in the cache have kept the same 1247# value. 1248ac_cache_corrupted=false 1249for ac_var in `(set) 2>&1 | 1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1252 eval ac_new_set=\$ac_env_${ac_var}_set 1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1254 eval ac_new_val="\$ac_env_${ac_var}_value" 1255 case $ac_old_set,$ac_new_set in 1256 set,) 1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1258echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1259 ac_cache_corrupted=: ;; 1260 ,set) 1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1262echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1263 ac_cache_corrupted=: ;; 1264 ,);; 1265 *) 1266 if test "x$ac_old_val" != "x$ac_new_val"; then 1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1268echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1270echo "$as_me: former value: $ac_old_val" >&2;} 1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1272echo "$as_me: current value: $ac_new_val" >&2;} 1273 ac_cache_corrupted=: 1274 fi;; 1275 esac 1276 # Pass precious variables to config.status. 1277 if test "$ac_new_set" = set; then 1278 case $ac_new_val in 1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1281 *) ac_arg=$ac_var=$ac_new_val ;; 1282 esac 1283 case " $ac_configure_args " in 1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1286 esac 1287 fi 1288done 1289if $ac_cache_corrupted; then 1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1291echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1293echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1294 { (exit 1); exit 1; }; } 1295fi 1296 |
|
529ac_ext=c | 1297ac_ext=c |
530# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
531ac_cpp='$CPP $CPPFLAGS' | 1298ac_cpp='$CPP $CPPFLAGS' |
532ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 533ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 534cross_compiling=$ac_cv_prog_cc_cross | 1299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1301ac_compiler_gnu=$ac_cv_c_compiler_gnu |
535 | 1302 |
536ac_exeext= 537ac_objext=o 538if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 539 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 540 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 541 ac_n= ac_c=' 542' ac_t=' ' 543 else 544 ac_n=-n ac_c= ac_t= 545 fi 546else 547 ac_n= ac_c='\c' ac_t= 548fi | |
549 | 1303 |
550echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 551echo "configure:552: checking for Cygwin environment" >&5 552if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 553 echo $ac_n "(cached) $ac_c" 1>&6 554else 555 cat > conftest.$ac_ext <<EOF 556#line 557 "configure" 557#include "confdefs.h" | |
558 | 1304 |
559int main() { | |
560 | 1305 |
561#ifndef __CYGWIN__ 562#define __CYGWIN__ __CYGWIN32__ 563#endif 564return __CYGWIN__; 565; return 0; } 566EOF 567if { (eval echo configure:568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 568 rm -rf conftest* 569 ac_cv_cygwin=yes 570else 571 echo "configure: failed program was:" >&5 572 cat conftest.$ac_ext >&5 573 rm -rf conftest* 574 ac_cv_cygwin=no 575fi 576rm -f conftest* 577rm -f conftest* 578fi | |
579 | 1306 |
580echo "$ac_t""$ac_cv_cygwin" 1>&6 581CYGWIN= 582test "$ac_cv_cygwin" = yes && CYGWIN=yes 583echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 584echo "configure:585: checking for mingw32 environment" >&5 585if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 586 echo $ac_n "(cached) $ac_c" 1>&6 587else 588 cat > conftest.$ac_ext <<EOF 589#line 590 "configure" 590#include "confdefs.h" | |
591 | 1307 |
592int main() { 593return __MINGW32__; 594; return 0; } 595EOF 596if { (eval echo configure:597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 597 rm -rf conftest* 598 ac_cv_mingw32=yes 599else 600 echo "configure: failed program was:" >&5 601 cat conftest.$ac_ext >&5 602 rm -rf conftest* 603 ac_cv_mingw32=no 604fi 605rm -f conftest* 606rm -f conftest* 607fi | |
608 | 1308 |
609echo "$ac_t""$ac_cv_mingw32" 1>&6 610MINGW32= 611test "$ac_cv_mingw32" = yes && MINGW32=yes | |
612 613 | 1309 1310 |
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 |
|
614ac_aux_dir= | 1322ac_aux_dir= |
615for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 1323for ac_dir in .. $srcdir/..; do |
616 if test -f $ac_dir/install-sh; then 617 ac_aux_dir=$ac_dir 618 ac_install_sh="$ac_aux_dir/install-sh -c" 619 break 620 elif test -f $ac_dir/install.sh; then 621 ac_aux_dir=$ac_dir 622 ac_install_sh="$ac_aux_dir/install.sh -c" 623 break | 1324 if test -f $ac_dir/install-sh; then 1325 ac_aux_dir=$ac_dir 1326 ac_install_sh="$ac_aux_dir/install-sh -c" 1327 break 1328 elif test -f $ac_dir/install.sh; then 1329 ac_aux_dir=$ac_dir 1330 ac_install_sh="$ac_aux_dir/install.sh -c" 1331 break |
1332 elif test -f $ac_dir/shtool; then 1333 ac_aux_dir=$ac_dir 1334 ac_install_sh="$ac_aux_dir/shtool install -c" 1335 break |
|
624 fi 625done 626if test -z "$ac_aux_dir"; then | 1336 fi 1337done 1338if test -z "$ac_aux_dir"; then |
627 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } | 1339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5 1340echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;} 1341 { (exit 1); exit 1; }; } |
628fi | 1342fi |
629ac_config_guess=$ac_aux_dir/config.guess 630ac_config_sub=$ac_aux_dir/config.sub 631ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 1343ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1344ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1345ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
632 | 1346 |
1347# Make sure we can run config.sub. 1348$ac_config_sub sun4 >/dev/null 2>&1 || 1349 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1350echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1351 { (exit 1); exit 1; }; } |
|
633 | 1352 |
634# Do some error checking and defaulting for the host and target type. 635# The inputs are: 636# configure --host=HOST --target=TARGET --build=BUILD NONOPT 637# 638# The rules are: 639# 1. You are not allowed to specify --host, --target, and nonopt at the 640# same time. 641# 2. Host defaults to nonopt. 642# 3. If nonopt is not specified, then host defaults to the current host, 643# as determined by config.guess. 644# 4. Target and build default to nonopt. 645# 5. If nonopt is not specified, then target and build default to host. | 1353echo "$as_me:$LINENO: checking build system type" >&5 1354echo $ECHO_N "checking build system type... $ECHO_C" >&6 1355if test "${ac_cv_build+set}" = set; then 1356 echo $ECHO_N "(cached) $ECHO_C" >&6 1357else 1358 ac_cv_build_alias=$build_alias 1359test -z "$ac_cv_build_alias" && 1360 ac_cv_build_alias=`$ac_config_guess` 1361test -z "$ac_cv_build_alias" && 1362 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1363echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1364 { (exit 1); exit 1; }; } 1365ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1367echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1368 { (exit 1); exit 1; }; } |
646 | 1369 |
647# The aliases save the names the user supplied, while $host etc. 648# will get canonicalized. 649case $host---$target---$nonopt in 650NONE---*---* | *---NONE---* | *---*---NONE) ;; 651*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; 652esac 653 654 655# Make sure we can run config.sub. 656if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 657else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | |
658fi | 1370fi |
1371echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1372echo "${ECHO_T}$ac_cv_build" >&6 1373build=$ac_cv_build 1374build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1375build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1376build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
659 | 1377 |
660echo $ac_n "checking host system type""... $ac_c" 1>&6 661echo "configure:662: checking host system type" >&5 | |
662 | 1378 |
663host_alias=$host 664case "$host_alias" in 665NONE) 666 case $nonopt in 667 NONE) 668 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 669 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 670 fi ;; 671 *) host_alias=$nonopt ;; 672 esac ;; 673esac | 1379echo "$as_me:$LINENO: checking host system type" >&5 1380echo $ECHO_N "checking host system type... $ECHO_C" >&6 1381if test "${ac_cv_host+set}" = set; then 1382 echo $ECHO_N "(cached) $ECHO_C" >&6 1383else 1384 ac_cv_host_alias=$host_alias 1385test -z "$ac_cv_host_alias" && 1386 ac_cv_host_alias=$ac_cv_build_alias 1387ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1388 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1389echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1390 { (exit 1); exit 1; }; } |
674 | 1391 |
675host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 676host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 677host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 678host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 679echo "$ac_t""$host" 1>&6 | 1392fi 1393echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1394echo "${ECHO_T}$ac_cv_host" >&6 1395host=$ac_cv_host 1396host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1397host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1398host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
680 | 1399 |
681echo $ac_n "checking target system type""... $ac_c" 1>&6 682echo "configure:683: checking target system type" >&5 | |
683 | 1400 |
684target_alias=$target 685case "$target_alias" in 686NONE) 687 case $nonopt in 688 NONE) target_alias=$host_alias ;; 689 *) target_alias=$nonopt ;; 690 esac ;; 691esac | 1401echo "$as_me:$LINENO: checking target system type" >&5 1402echo $ECHO_N "checking target system type... $ECHO_C" >&6 1403if test "${ac_cv_target+set}" = set; then 1404 echo $ECHO_N "(cached) $ECHO_C" >&6 1405else 1406 ac_cv_target_alias=$target_alias 1407test "x$ac_cv_target_alias" = "x" && 1408 ac_cv_target_alias=$ac_cv_host_alias 1409ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1411echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1412 { (exit 1); exit 1; }; } |
692 | 1413 |
693target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 694target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 695target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 696target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 697echo "$ac_t""$target" 1>&6 | 1414fi 1415echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1416echo "${ECHO_T}$ac_cv_target" >&6 1417target=$ac_cv_target 1418target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1419target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1420target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
698 | 1421 |
699echo $ac_n "checking build system type""... $ac_c" 1>&6 700echo "configure:701: checking build system type" >&5 | |
701 | 1422 |
702build_alias=$build 703case "$build_alias" in 704NONE) 705 case $nonopt in 706 NONE) build_alias=$host_alias ;; 707 *) build_alias=$nonopt ;; 708 esac ;; 709esac 710 711build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 712build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 713build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 714build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 715echo "$ac_t""$build" 1>&6 716 717test "$host_alias" != "$target_alias" && | 1423# The aliases save the names the user supplied, while $host etc. 1424# will get canonicalized. 1425test -n "$target_alias" && |
718 test "$program_prefix$program_suffix$program_transform_name" = \ 719 NONENONEs,x,x, && 720 program_prefix=${target_alias}- | 1426 test "$program_prefix$program_suffix$program_transform_name" = \ 1427 NONENONEs,x,x, && 1428 program_prefix=${target_alias}- |
1429ac_ext=c 1430ac_cpp='$CPP $CPPFLAGS' 1431ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1432ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1433ac_compiler_gnu=$ac_cv_c_compiler_gnu 1434if test -n "$ac_tool_prefix"; then 1435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1436set dummy ${ac_tool_prefix}gcc; ac_word=$2 1437echo "$as_me:$LINENO: checking for $ac_word" >&5 1438echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1439if test "${ac_cv_prog_CC+set}" = set; then 1440 echo $ECHO_N "(cached) $ECHO_C" >&6 1441else 1442 if test -n "$CC"; then 1443 ac_cv_prog_CC="$CC" # Let the user override the test. 1444else 1445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1446for as_dir in $PATH 1447do 1448 IFS=$as_save_IFS 1449 test -z "$as_dir" && as_dir=. 1450 for ac_exec_ext in '' $ac_executable_extensions; do 1451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1452 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1454 break 2 1455 fi 1456done 1457done |
|
721 | 1458 |
722# Extract the first word of "gcc", so it can be a program name with args. | 1459fi 1460fi 1461CC=$ac_cv_prog_CC 1462if test -n "$CC"; then 1463 echo "$as_me:$LINENO: result: $CC" >&5 1464echo "${ECHO_T}$CC" >&6 1465else 1466 echo "$as_me:$LINENO: result: no" >&5 1467echo "${ECHO_T}no" >&6 1468fi 1469 1470fi 1471if test -z "$ac_cv_prog_CC"; then 1472 ac_ct_CC=$CC 1473 # Extract the first word of "gcc", so it can be a program name with args. |
723set dummy gcc; ac_word=$2 | 1474set dummy gcc; ac_word=$2 |
724echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 725echo "configure:726: checking for $ac_word" >&5 726if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 727 echo $ac_n "(cached) $ac_c" 1>&6 | 1475echo "$as_me:$LINENO: checking for $ac_word" >&5 1476echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1477if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1478 echo $ECHO_N "(cached) $ECHO_C" >&6 |
728else | 1479else |
1480 if test -n "$ac_ct_CC"; then 1481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1482else 1483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1484for as_dir in $PATH 1485do 1486 IFS=$as_save_IFS 1487 test -z "$as_dir" && as_dir=. 1488 for ac_exec_ext in '' $ac_executable_extensions; do 1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1490 ac_cv_prog_ac_ct_CC="gcc" 1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1492 break 2 1493 fi 1494done 1495done 1496 1497fi 1498fi 1499ac_ct_CC=$ac_cv_prog_ac_ct_CC 1500if test -n "$ac_ct_CC"; then 1501 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1502echo "${ECHO_T}$ac_ct_CC" >&6 1503else 1504 echo "$as_me:$LINENO: result: no" >&5 1505echo "${ECHO_T}no" >&6 1506fi 1507 1508 CC=$ac_ct_CC 1509else 1510 CC="$ac_cv_prog_CC" 1511fi 1512 1513if test -z "$CC"; then 1514 if test -n "$ac_tool_prefix"; then 1515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1516set dummy ${ac_tool_prefix}cc; ac_word=$2 1517echo "$as_me:$LINENO: checking for $ac_word" >&5 1518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1519if test "${ac_cv_prog_CC+set}" = set; then 1520 echo $ECHO_N "(cached) $ECHO_C" >&6 1521else |
|
729 if test -n "$CC"; then 730 ac_cv_prog_CC="$CC" # Let the user override the test. 731else | 1522 if test -n "$CC"; then 1523 ac_cv_prog_CC="$CC" # Let the user override the test. 1524else |
732 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 733 ac_dummy="$PATH" 734 for ac_dir in $ac_dummy; do 735 test -z "$ac_dir" && ac_dir=. 736 if test -f $ac_dir/$ac_word; then 737 ac_cv_prog_CC="gcc" 738 break 739 fi 740 done 741 IFS="$ac_save_ifs" | 1525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1526for as_dir in $PATH 1527do 1528 IFS=$as_save_IFS 1529 test -z "$as_dir" && as_dir=. 1530 for ac_exec_ext in '' $ac_executable_extensions; do 1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1532 ac_cv_prog_CC="${ac_tool_prefix}cc" 1533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1534 break 2 1535 fi 1536done 1537done 1538 |
742fi 743fi | 1539fi 1540fi |
744CC="$ac_cv_prog_CC" | 1541CC=$ac_cv_prog_CC |
745if test -n "$CC"; then | 1542if test -n "$CC"; then |
746 echo "$ac_t""$CC" 1>&6 | 1543 echo "$as_me:$LINENO: result: $CC" >&5 1544echo "${ECHO_T}$CC" >&6 |
747else | 1545else |
748 echo "$ac_t""no" 1>&6 | 1546 echo "$as_me:$LINENO: result: no" >&5 1547echo "${ECHO_T}no" >&6 |
749fi 750 | 1548fi 1549 |
1550fi 1551if test -z "$ac_cv_prog_CC"; then 1552 ac_ct_CC=$CC 1553 # Extract the first word of "cc", so it can be a program name with args. 1554set dummy cc; ac_word=$2 1555echo "$as_me:$LINENO: checking for $ac_word" >&5 1556echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1557if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1558 echo $ECHO_N "(cached) $ECHO_C" >&6 1559else 1560 if test -n "$ac_ct_CC"; then 1561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1562else 1563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1564for as_dir in $PATH 1565do 1566 IFS=$as_save_IFS 1567 test -z "$as_dir" && as_dir=. 1568 for ac_exec_ext in '' $ac_executable_extensions; do 1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1570 ac_cv_prog_ac_ct_CC="cc" 1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1572 break 2 1573 fi 1574done 1575done 1576 1577fi 1578fi 1579ac_ct_CC=$ac_cv_prog_ac_ct_CC 1580if test -n "$ac_ct_CC"; then 1581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1582echo "${ECHO_T}$ac_ct_CC" >&6 1583else 1584 echo "$as_me:$LINENO: result: no" >&5 1585echo "${ECHO_T}no" >&6 1586fi 1587 1588 CC=$ac_ct_CC 1589else 1590 CC="$ac_cv_prog_CC" 1591fi 1592 1593fi |
|
751if test -z "$CC"; then 752 # Extract the first word of "cc", so it can be a program name with args. 753set dummy cc; ac_word=$2 | 1594if test -z "$CC"; then 1595 # Extract the first word of "cc", so it can be a program name with args. 1596set dummy cc; ac_word=$2 |
754echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 755echo "configure:756: checking for $ac_word" >&5 756if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 757 echo $ac_n "(cached) $ac_c" 1>&6 | 1597echo "$as_me:$LINENO: checking for $ac_word" >&5 1598echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1599if test "${ac_cv_prog_CC+set}" = set; then 1600 echo $ECHO_N "(cached) $ECHO_C" >&6 |
758else 759 if test -n "$CC"; then 760 ac_cv_prog_CC="$CC" # Let the user override the test. 761else | 1601else 1602 if test -n "$CC"; then 1603 ac_cv_prog_CC="$CC" # Let the user override the test. 1604else |
762 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
763 ac_prog_rejected=no | 1605 ac_prog_rejected=no |
764 ac_dummy="$PATH" 765 for ac_dir in $ac_dummy; do 766 test -z "$ac_dir" && ac_dir=. 767 if test -f $ac_dir/$ac_word; then 768 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 769 ac_prog_rejected=yes 770 continue 771 fi 772 ac_cv_prog_CC="cc" 773 break 774 fi 775 done 776 IFS="$ac_save_ifs" | 1606as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1607for as_dir in $PATH 1608do 1609 IFS=$as_save_IFS 1610 test -z "$as_dir" && as_dir=. 1611 for ac_exec_ext in '' $ac_executable_extensions; do 1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1613 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1614 ac_prog_rejected=yes 1615 continue 1616 fi 1617 ac_cv_prog_CC="cc" 1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1619 break 2 1620 fi 1621done 1622done 1623 |
777if test $ac_prog_rejected = yes; then 778 # We found a bogon in the path, so make sure we never use it. 779 set dummy $ac_cv_prog_CC 780 shift | 1624if test $ac_prog_rejected = yes; then 1625 # We found a bogon in the path, so make sure we never use it. 1626 set dummy $ac_cv_prog_CC 1627 shift |
781 if test $# -gt 0; then | 1628 if test $# != 0; then |
782 # We chose a different compiler from the bogus one. 783 # However, it has the same basename, so the bogon will be chosen 784 # first if we set CC to just the basename; use the full file name. 785 shift | 1629 # We chose a different compiler from the bogus one. 1630 # However, it has the same basename, so the bogon will be chosen 1631 # first if we set CC to just the basename; use the full file name. 1632 shift |
786 set dummy "$ac_dir/$ac_word" "$@" 787 shift 788 ac_cv_prog_CC="$@" | 1633 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
789 fi 790fi 791fi 792fi | 1634 fi 1635fi 1636fi 1637fi |
793CC="$ac_cv_prog_CC" | 1638CC=$ac_cv_prog_CC |
794if test -n "$CC"; then | 1639if test -n "$CC"; then |
795 echo "$ac_t""$CC" 1>&6 | 1640 echo "$as_me:$LINENO: result: $CC" >&5 1641echo "${ECHO_T}$CC" >&6 |
796else | 1642else |
797 echo "$ac_t""no" 1>&6 | 1643 echo "$as_me:$LINENO: result: no" >&5 1644echo "${ECHO_T}no" >&6 |
798fi 799 | 1645fi 1646 |
800 if test -z "$CC"; then 801 case "`uname -s`" in 802 *win32* | *WIN32*) 803 # Extract the first word of "cl", so it can be a program name with args. 804set dummy cl; ac_word=$2 805echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 806echo "configure:807: checking for $ac_word" >&5 807if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 808 echo $ac_n "(cached) $ac_c" 1>&6 | 1647fi 1648if test -z "$CC"; then 1649 if test -n "$ac_tool_prefix"; then 1650 for ac_prog in cl 1651 do 1652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1653set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1654echo "$as_me:$LINENO: checking for $ac_word" >&5 1655echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1656if test "${ac_cv_prog_CC+set}" = set; then 1657 echo $ECHO_N "(cached) $ECHO_C" >&6 |
809else 810 if test -n "$CC"; then 811 ac_cv_prog_CC="$CC" # Let the user override the test. 812else | 1658else 1659 if test -n "$CC"; then 1660 ac_cv_prog_CC="$CC" # Let the user override the test. 1661else |
813 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 814 ac_dummy="$PATH" 815 for ac_dir in $ac_dummy; do 816 test -z "$ac_dir" && ac_dir=. 817 if test -f $ac_dir/$ac_word; then 818 ac_cv_prog_CC="cl" 819 break 820 fi 821 done 822 IFS="$ac_save_ifs" | 1662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1663for as_dir in $PATH 1664do 1665 IFS=$as_save_IFS 1666 test -z "$as_dir" && as_dir=. 1667 for ac_exec_ext in '' $ac_executable_extensions; do 1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1669 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1671 break 2 1672 fi 1673done 1674done 1675 |
823fi 824fi | 1676fi 1677fi |
825CC="$ac_cv_prog_CC" | 1678CC=$ac_cv_prog_CC |
826if test -n "$CC"; then | 1679if test -n "$CC"; then |
827 echo "$ac_t""$CC" 1>&6 | 1680 echo "$as_me:$LINENO: result: $CC" >&5 1681echo "${ECHO_T}$CC" >&6 |
828else | 1682else |
829 echo "$ac_t""no" 1>&6 | 1683 echo "$as_me:$LINENO: result: no" >&5 1684echo "${ECHO_T}no" >&6 |
830fi | 1685fi |
831 ;; 832 esac | 1686 1687 test -n "$CC" && break 1688 done 1689fi 1690if test -z "$CC"; then 1691 ac_ct_CC=$CC 1692 for ac_prog in cl 1693do 1694 # Extract the first word of "$ac_prog", so it can be a program name with args. 1695set dummy $ac_prog; ac_word=$2 1696echo "$as_me:$LINENO: checking for $ac_word" >&5 1697echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1698if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1699 echo $ECHO_N "(cached) $ECHO_C" >&6 1700else 1701 if test -n "$ac_ct_CC"; then 1702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1703else 1704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1705for as_dir in $PATH 1706do 1707 IFS=$as_save_IFS 1708 test -z "$as_dir" && as_dir=. 1709 for ac_exec_ext in '' $ac_executable_extensions; do 1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1711 ac_cv_prog_ac_ct_CC="$ac_prog" 1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1713 break 2 |
833 fi | 1714 fi |
834 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1715done 1716done 1717 |
835fi | 1718fi |
1719fi 1720ac_ct_CC=$ac_cv_prog_ac_ct_CC 1721if test -n "$ac_ct_CC"; then 1722 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1723echo "${ECHO_T}$ac_ct_CC" >&6 1724else 1725 echo "$as_me:$LINENO: result: no" >&5 1726echo "${ECHO_T}no" >&6 1727fi |
|
836 | 1728 |
837echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 838echo "configure:839: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1729 test -n "$ac_ct_CC" && break 1730done |
839 | 1731 |
840ac_ext=c 841# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 842ac_cpp='$CPP $CPPFLAGS' 843ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 844ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 845cross_compiling=$ac_cv_prog_cc_cross | 1732 CC=$ac_ct_CC 1733fi |
846 | 1734 |
847cat > conftest.$ac_ext << EOF | 1735fi |
848 | 1736 |
849#line 850 "configure" 850#include "confdefs.h" | |
851 | 1737 |
852main(){return(0);} 853EOF 854if { (eval echo configure:855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 855 ac_cv_prog_cc_works=yes 856 # If we can't run a trivial program, we are probably using a cross compiler. 857 if (./conftest; exit) 2>/dev/null; then 858 ac_cv_prog_cc_cross=no | 1738test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1739See \`config.log' for more details." >&5 1740echo "$as_me: error: no acceptable C compiler found in \$PATH 1741See \`config.log' for more details." >&2;} 1742 { (exit 1); exit 1; }; } 1743 1744# Provide some information about the compiler. 1745echo "$as_me:$LINENO:" \ 1746 "checking for C compiler version" >&5 1747ac_compiler=`set X $ac_compile; echo $2` 1748{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1749 (eval $ac_compiler --version </dev/null >&5) 2>&5 1750 ac_status=$? 1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1752 (exit $ac_status); } 1753{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1754 (eval $ac_compiler -v </dev/null >&5) 2>&5 1755 ac_status=$? 1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1757 (exit $ac_status); } 1758{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1759 (eval $ac_compiler -V </dev/null >&5) 2>&5 1760 ac_status=$? 1761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1762 (exit $ac_status); } 1763 1764cat >conftest.$ac_ext <<_ACEOF 1765/* confdefs.h. */ 1766_ACEOF 1767cat confdefs.h >>conftest.$ac_ext 1768cat >>conftest.$ac_ext <<_ACEOF 1769/* end confdefs.h. */ 1770 1771int 1772main () 1773{ 1774 1775 ; 1776 return 0; 1777} 1778_ACEOF 1779ac_clean_files_save=$ac_clean_files 1780ac_clean_files="$ac_clean_files a.out a.exe b.out" 1781# Try to create an executable without -o first, disregard a.out. 1782# It will help us diagnose broken compilers, and finding out an intuition 1783# of exeext. 1784echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1785echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1786ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1787if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1788 (eval $ac_link_default) 2>&5 1789 ac_status=$? 1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1791 (exit $ac_status); }; then 1792 # Find the output, starting from the most likely. This scheme is 1793# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1794# resort. 1795 1796# Be careful to initialize this variable, since it used to be cached. 1797# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1798ac_cv_exeext= 1799# b.out is created by i960 compilers. 1800for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1801do 1802 test -f "$ac_file" || continue 1803 case $ac_file in 1804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1805 ;; 1806 conftest.$ac_ext ) 1807 # This is the source file. 1808 ;; 1809 [ab].out ) 1810 # We found the default executable, but exeext='' is most 1811 # certainly right. 1812 break;; 1813 *.* ) 1814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1815 # FIXME: I believe we export ac_cv_exeext for Libtool, 1816 # but it would be cool to find out if it's true. Does anybody 1817 # maintain Libtool? --akim. 1818 export ac_cv_exeext 1819 break;; 1820 * ) 1821 break;; 1822 esac 1823done 1824else 1825 echo "$as_me: failed program was:" >&5 1826sed 's/^/| /' conftest.$ac_ext >&5 1827 1828{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1829See \`config.log' for more details." >&5 1830echo "$as_me: error: C compiler cannot create executables 1831See \`config.log' for more details." >&2;} 1832 { (exit 77); exit 77; }; } 1833fi 1834 1835ac_exeext=$ac_cv_exeext 1836echo "$as_me:$LINENO: result: $ac_file" >&5 1837echo "${ECHO_T}$ac_file" >&6 1838 1839# Check the compiler produces executables we can run. If not, either 1840# the compiler is broken, or we cross compile. 1841echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1842echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1843# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1844# If not cross compiling, check that we can run a simple program. 1845if test "$cross_compiling" != yes; then 1846 if { ac_try='./$ac_file' 1847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1848 (eval $ac_try) 2>&5 1849 ac_status=$? 1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1851 (exit $ac_status); }; }; then 1852 cross_compiling=no |
859 else | 1853 else |
860 ac_cv_prog_cc_cross=yes | 1854 if test "$cross_compiling" = maybe; then 1855 cross_compiling=yes 1856 else 1857 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1858If you meant to cross compile, use \`--host'. 1859See \`config.log' for more details." >&5 1860echo "$as_me: error: cannot run C compiled programs. 1861If you meant to cross compile, use \`--host'. 1862See \`config.log' for more details." >&2;} 1863 { (exit 1); exit 1; }; } 1864 fi |
861 fi | 1865 fi |
862else 863 echo "configure: failed program was:" >&5 864 cat conftest.$ac_ext >&5 865 ac_cv_prog_cc_works=no | |
866fi | 1866fi |
867rm -fr conftest* 868ac_ext=c 869# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 870ac_cpp='$CPP $CPPFLAGS' 871ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 872ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 873cross_compiling=$ac_cv_prog_cc_cross | 1867echo "$as_me:$LINENO: result: yes" >&5 1868echo "${ECHO_T}yes" >&6 |
874 | 1869 |
875echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 876if test $ac_cv_prog_cc_works = no; then 877 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1870rm -f a.out a.exe conftest$ac_cv_exeext b.out 1871ac_clean_files=$ac_clean_files_save 1872# Check the compiler produces executables we can run. If not, either 1873# the compiler is broken, or we cross compile. 1874echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1875echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1876echo "$as_me:$LINENO: result: $cross_compiling" >&5 1877echo "${ECHO_T}$cross_compiling" >&6 1878 1879echo "$as_me:$LINENO: checking for suffix of executables" >&5 1880echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1882 (eval $ac_link) 2>&5 1883 ac_status=$? 1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1885 (exit $ac_status); }; then 1886 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1887# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1888# work properly (i.e., refer to `conftest.exe'), while it won't with 1889# `rm'. 1890for ac_file in conftest.exe conftest conftest.*; do 1891 test -f "$ac_file" || continue 1892 case $ac_file in 1893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1894 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1895 export ac_cv_exeext 1896 break;; 1897 * ) break;; 1898 esac 1899done 1900else 1901 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1902See \`config.log' for more details." >&5 1903echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1904See \`config.log' for more details." >&2;} 1905 { (exit 1); exit 1; }; } |
878fi | 1906fi |
879echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 880echo "configure:881: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 881echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 882cross_compiling=$ac_cv_prog_cc_cross | |
883 | 1907 |
884echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 885echo "configure:886: checking whether we are using GNU C" >&5 886if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 887 echo $ac_n "(cached) $ac_c" 1>&6 | 1908rm -f conftest$ac_cv_exeext 1909echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1910echo "${ECHO_T}$ac_cv_exeext" >&6 1911 1912rm -f conftest.$ac_ext 1913EXEEXT=$ac_cv_exeext 1914ac_exeext=$EXEEXT 1915echo "$as_me:$LINENO: checking for suffix of object files" >&5 1916echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1917if test "${ac_cv_objext+set}" = set; then 1918 echo $ECHO_N "(cached) $ECHO_C" >&6 |
888else | 1919else |
889 cat > conftest.c <<EOF 890#ifdef __GNUC__ 891 yes; 892#endif 893EOF 894if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 895 ac_cv_prog_gcc=yes | 1920 cat >conftest.$ac_ext <<_ACEOF 1921/* confdefs.h. */ 1922_ACEOF 1923cat confdefs.h >>conftest.$ac_ext 1924cat >>conftest.$ac_ext <<_ACEOF 1925/* end confdefs.h. */ 1926 1927int 1928main () 1929{ 1930 1931 ; 1932 return 0; 1933} 1934_ACEOF 1935rm -f conftest.o conftest.obj 1936if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1937 (eval $ac_compile) 2>&5 1938 ac_status=$? 1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1940 (exit $ac_status); }; then 1941 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1942 case $ac_file in 1943 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1944 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1945 break;; 1946 esac 1947done |
896else | 1948else |
897 ac_cv_prog_gcc=no | 1949 echo "$as_me: failed program was:" >&5 1950sed 's/^/| /' conftest.$ac_ext >&5 1951 1952{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1953See \`config.log' for more details." >&5 1954echo "$as_me: error: cannot compute suffix of object files: cannot compile 1955See \`config.log' for more details." >&2;} 1956 { (exit 1); exit 1; }; } |
898fi | 1957fi |
1958 1959rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
899fi | 1960fi |
1961echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1962echo "${ECHO_T}$ac_cv_objext" >&6 1963OBJEXT=$ac_cv_objext 1964ac_objext=$OBJEXT 1965echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1966echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1967if test "${ac_cv_c_compiler_gnu+set}" = set; then 1968 echo $ECHO_N "(cached) $ECHO_C" >&6 1969else 1970 cat >conftest.$ac_ext <<_ACEOF 1971/* confdefs.h. */ 1972_ACEOF 1973cat confdefs.h >>conftest.$ac_ext 1974cat >>conftest.$ac_ext <<_ACEOF 1975/* end confdefs.h. */ |
|
900 | 1976 |
901echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 1977int 1978main () 1979{ 1980#ifndef __GNUC__ 1981 choke me 1982#endif |
902 | 1983 |
903if test $ac_cv_prog_gcc = yes; then 904 GCC=yes | 1984 ; 1985 return 0; 1986} 1987_ACEOF 1988rm -f conftest.$ac_objext 1989if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1990 (eval $ac_compile) 2>conftest.er1 1991 ac_status=$? 1992 grep -v '^ *+' conftest.er1 >conftest.err 1993 rm -f conftest.er1 1994 cat conftest.err >&5 1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1996 (exit $ac_status); } && 1997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1999 (eval $ac_try) 2>&5 2000 ac_status=$? 2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2002 (exit $ac_status); }; } && 2003 { ac_try='test -s conftest.$ac_objext' 2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2005 (eval $ac_try) 2>&5 2006 ac_status=$? 2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2008 (exit $ac_status); }; }; then 2009 ac_compiler_gnu=yes |
905else | 2010else |
906 GCC= | 2011 echo "$as_me: failed program was:" >&5 2012sed 's/^/| /' conftest.$ac_ext >&5 2013 2014ac_compiler_gnu=no |
907fi | 2015fi |
2016rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2017ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
908 | 2018 |
909ac_test_CFLAGS="${CFLAGS+set}" 910ac_save_CFLAGS="$CFLAGS" 911CFLAGS= 912echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 913echo "configure:914: checking whether ${CC-cc} accepts -g" >&5 914if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 915 echo $ac_n "(cached) $ac_c" 1>&6 | 2019fi 2020echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2021echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2022GCC=`test $ac_compiler_gnu = yes && echo yes` 2023ac_test_CFLAGS=${CFLAGS+set} 2024ac_save_CFLAGS=$CFLAGS 2025CFLAGS="-g" 2026echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2027echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2028if test "${ac_cv_prog_cc_g+set}" = set; then 2029 echo $ECHO_N "(cached) $ECHO_C" >&6 |
916else | 2030else |
917 echo 'void f(){}' > conftest.c 918if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2031 cat >conftest.$ac_ext <<_ACEOF 2032/* confdefs.h. */ 2033_ACEOF 2034cat confdefs.h >>conftest.$ac_ext 2035cat >>conftest.$ac_ext <<_ACEOF 2036/* end confdefs.h. */ 2037 2038int 2039main () 2040{ 2041 2042 ; 2043 return 0; 2044} 2045_ACEOF 2046rm -f conftest.$ac_objext 2047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2048 (eval $ac_compile) 2>conftest.er1 2049 ac_status=$? 2050 grep -v '^ *+' conftest.er1 >conftest.err 2051 rm -f conftest.er1 2052 cat conftest.err >&5 2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2054 (exit $ac_status); } && 2055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2057 (eval $ac_try) 2>&5 2058 ac_status=$? 2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2060 (exit $ac_status); }; } && 2061 { ac_try='test -s conftest.$ac_objext' 2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2063 (eval $ac_try) 2>&5 2064 ac_status=$? 2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2066 (exit $ac_status); }; }; then |
919 ac_cv_prog_cc_g=yes 920else | 2067 ac_cv_prog_cc_g=yes 2068else |
921 ac_cv_prog_cc_g=no 922fi 923rm -f conftest* | 2069 echo "$as_me: failed program was:" >&5 2070sed 's/^/| /' conftest.$ac_ext >&5 |
924 | 2071 |
2072ac_cv_prog_cc_g=no |
|
925fi | 2073fi |
926 927echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 2074rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2075fi 2076echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2077echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
928if test "$ac_test_CFLAGS" = set; then | 2078if test "$ac_test_CFLAGS" = set; then |
929 CFLAGS="$ac_save_CFLAGS" | 2079 CFLAGS=$ac_save_CFLAGS |
930elif test $ac_cv_prog_cc_g = yes; then 931 if test "$GCC" = yes; then 932 CFLAGS="-g -O2" 933 else 934 CFLAGS="-g" 935 fi 936else 937 if test "$GCC" = yes; then 938 CFLAGS="-O2" 939 else 940 CFLAGS= 941 fi 942fi | 2080elif test $ac_cv_prog_cc_g = yes; then 2081 if test "$GCC" = yes; then 2082 CFLAGS="-g -O2" 2083 else 2084 CFLAGS="-g" 2085 fi 2086else 2087 if test "$GCC" = yes; then 2088 CFLAGS="-O2" 2089 else 2090 CFLAGS= 2091 fi 2092fi |
2093echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2094echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2095if test "${ac_cv_prog_cc_stdc+set}" = set; then 2096 echo $ECHO_N "(cached) $ECHO_C" >&6 2097else 2098 ac_cv_prog_cc_stdc=no 2099ac_save_CC=$CC 2100cat >conftest.$ac_ext <<_ACEOF 2101/* confdefs.h. */ 2102_ACEOF 2103cat confdefs.h >>conftest.$ac_ext 2104cat >>conftest.$ac_ext <<_ACEOF 2105/* end confdefs.h. */ 2106#include <stdarg.h> 2107#include <stdio.h> 2108#include <sys/types.h> 2109#include <sys/stat.h> 2110/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2111struct buf { int x; }; 2112FILE * (*rcsopen) (struct buf *, struct stat *, int); 2113static char *e (p, i) 2114 char **p; 2115 int i; 2116{ 2117 return p[i]; 2118} 2119static char *f (char * (*g) (char **, int), char **p, ...) 2120{ 2121 char *s; 2122 va_list v; 2123 va_start (v,p); 2124 s = g (p, va_arg (v,int)); 2125 va_end (v); 2126 return s; 2127} |
|
943 | 2128 |
944echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 945echo "configure:946: checking for POSIXized ISC" >&5 946if test -d /etc/conf/kconfig.d && 947 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 948then 949 echo "$ac_t""yes" 1>&6 950 ISC=yes # If later tests want to check for ISC. 951 cat >> confdefs.h <<\EOF 952#define _POSIX_SOURCE 1 953EOF | 2129/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2130 function prototypes and stuff, but not '\xHH' hex character constants. 2131 These don't provoke an error unfortunately, instead are silently treated 2132 as 'x'. The following induces an error, until -std1 is added to get 2133 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2134 array size at least. It's necessary to write '\x00'==0 to get something 2135 that's true only with -std1. */ 2136int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
954 | 2137 |
955 if test "$GCC" = yes; then 956 CC="$CC -posix" 957 else 958 CC="$CC -Xp" 959 fi | 2138int test (int i, double x); 2139struct s1 {int (*f) (int a);}; 2140struct s2 {int (*f) (double a);}; 2141int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2142int argc; 2143char **argv; 2144int 2145main () 2146{ 2147return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2148 ; 2149 return 0; 2150} 2151_ACEOF 2152# Don't try gcc -ansi; that turns off useful extensions and 2153# breaks some systems' header files. 2154# AIX -qlanglvl=ansi 2155# Ultrix and OSF/1 -std1 2156# HP-UX 10.20 and later -Ae 2157# HP-UX older versions -Aa -D_HPUX_SOURCE 2158# SVR4 -Xc -D__EXTENSIONS__ 2159for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2160do 2161 CC="$ac_save_CC $ac_arg" 2162 rm -f conftest.$ac_objext 2163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2164 (eval $ac_compile) 2>conftest.er1 2165 ac_status=$? 2166 grep -v '^ *+' conftest.er1 >conftest.err 2167 rm -f conftest.er1 2168 cat conftest.err >&5 2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); } && 2171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2173 (eval $ac_try) 2>&5 2174 ac_status=$? 2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2176 (exit $ac_status); }; } && 2177 { ac_try='test -s conftest.$ac_objext' 2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2179 (eval $ac_try) 2>&5 2180 ac_status=$? 2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2182 (exit $ac_status); }; }; then 2183 ac_cv_prog_cc_stdc=$ac_arg 2184break |
960else | 2185else |
961 echo "$ac_t""no" 1>&6 962 ISC= | 2186 echo "$as_me: failed program was:" >&5 2187sed 's/^/| /' conftest.$ac_ext >&5 2188 |
963fi | 2189fi |
2190rm -f conftest.err conftest.$ac_objext 2191done 2192rm -f conftest.$ac_ext conftest.$ac_objext 2193CC=$ac_save_CC |
|
964 | 2194 |
2195fi |
|
965 | 2196 |
2197case "x$ac_cv_prog_cc_stdc" in 2198 x|xno) 2199 echo "$as_me:$LINENO: result: none needed" >&5 2200echo "${ECHO_T}none needed" >&6 ;; 2201 *) 2202 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2203echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2204 CC="$CC $ac_cv_prog_cc_stdc" ;; 2205esac 2206 2207# Some people use a C++ compiler to compile C. Since we use `exit', 2208# in C++ we need to declare it. In case someone uses the same compiler 2209# for both compiling C and C++ we need to have the C++ compiler decide 2210# the declaration of exit, since it's the most demanding environment. 2211cat >conftest.$ac_ext <<_ACEOF 2212#ifndef __cplusplus 2213 choke me 2214#endif 2215_ACEOF 2216rm -f conftest.$ac_objext 2217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2218 (eval $ac_compile) 2>conftest.er1 2219 ac_status=$? 2220 grep -v '^ *+' conftest.er1 >conftest.err 2221 rm -f conftest.er1 2222 cat conftest.err >&5 2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2224 (exit $ac_status); } && 2225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2227 (eval $ac_try) 2>&5 2228 ac_status=$? 2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2230 (exit $ac_status); }; } && 2231 { ac_try='test -s conftest.$ac_objext' 2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2233 (eval $ac_try) 2>&5 2234 ac_status=$? 2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2236 (exit $ac_status); }; }; then 2237 for ac_declaration in \ 2238 '' \ 2239 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2240 'extern "C" void std::exit (int); using std::exit;' \ 2241 'extern "C" void exit (int) throw ();' \ 2242 'extern "C" void exit (int);' \ 2243 'void exit (int);' 2244do 2245 cat >conftest.$ac_ext <<_ACEOF 2246/* confdefs.h. */ 2247_ACEOF 2248cat confdefs.h >>conftest.$ac_ext 2249cat >>conftest.$ac_ext <<_ACEOF 2250/* end confdefs.h. */ 2251$ac_declaration 2252#include <stdlib.h> 2253int 2254main () 2255{ 2256exit (42); 2257 ; 2258 return 0; 2259} 2260_ACEOF 2261rm -f conftest.$ac_objext 2262if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2263 (eval $ac_compile) 2>conftest.er1 2264 ac_status=$? 2265 grep -v '^ *+' conftest.er1 >conftest.err 2266 rm -f conftest.er1 2267 cat conftest.err >&5 2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); } && 2270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2272 (eval $ac_try) 2>&5 2273 ac_status=$? 2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2275 (exit $ac_status); }; } && 2276 { ac_try='test -s conftest.$ac_objext' 2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2278 (eval $ac_try) 2>&5 2279 ac_status=$? 2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2281 (exit $ac_status); }; }; then 2282 : 2283else 2284 echo "$as_me: failed program was:" >&5 2285sed 's/^/| /' conftest.$ac_ext >&5 2286 2287continue 2288fi 2289rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2290 cat >conftest.$ac_ext <<_ACEOF 2291/* confdefs.h. */ 2292_ACEOF 2293cat confdefs.h >>conftest.$ac_ext 2294cat >>conftest.$ac_ext <<_ACEOF 2295/* end confdefs.h. */ 2296$ac_declaration 2297int 2298main () 2299{ 2300exit (42); 2301 ; 2302 return 0; 2303} 2304_ACEOF 2305rm -f conftest.$ac_objext 2306if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2307 (eval $ac_compile) 2>conftest.er1 2308 ac_status=$? 2309 grep -v '^ *+' conftest.er1 >conftest.err 2310 rm -f conftest.er1 2311 cat conftest.err >&5 2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2313 (exit $ac_status); } && 2314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2316 (eval $ac_try) 2>&5 2317 ac_status=$? 2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2319 (exit $ac_status); }; } && 2320 { ac_try='test -s conftest.$ac_objext' 2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2322 (eval $ac_try) 2>&5 2323 ac_status=$? 2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2325 (exit $ac_status); }; }; then 2326 break 2327else 2328 echo "$as_me: failed program was:" >&5 2329sed 's/^/| /' conftest.$ac_ext >&5 2330 2331fi 2332rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2333done 2334rm -f conftest* 2335if test -n "$ac_declaration"; then 2336 echo '#ifdef __cplusplus' >>confdefs.h 2337 echo $ac_declaration >>confdefs.h 2338 echo '#endif' >>confdefs.h 2339fi 2340 2341else 2342 echo "$as_me: failed program was:" >&5 2343sed 's/^/| /' conftest.$ac_ext >&5 2344 2345fi 2346rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2347ac_ext=c 2348ac_cpp='$CPP $CPPFLAGS' 2349ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2350ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2351ac_compiler_gnu=$ac_cv_c_compiler_gnu 2352 2353 2354echo "$as_me:$LINENO: checking for library containing strerror" >&5 2355echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 2356if test "${ac_cv_search_strerror+set}" = set; then 2357 echo $ECHO_N "(cached) $ECHO_C" >&6 2358else 2359 ac_func_search_save_LIBS=$LIBS 2360ac_cv_search_strerror=no 2361cat >conftest.$ac_ext <<_ACEOF 2362/* confdefs.h. */ 2363_ACEOF 2364cat confdefs.h >>conftest.$ac_ext 2365cat >>conftest.$ac_ext <<_ACEOF 2366/* end confdefs.h. */ 2367 2368/* Override any gcc2 internal prototype to avoid an error. */ 2369#ifdef __cplusplus 2370extern "C" 2371#endif 2372/* We use char because int might match the return type of a gcc2 2373 builtin and then its argument prototype would still apply. */ 2374char strerror (); 2375int 2376main () 2377{ 2378strerror (); 2379 ; 2380 return 0; 2381} 2382_ACEOF 2383rm -f conftest.$ac_objext conftest$ac_exeext 2384if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2385 (eval $ac_link) 2>conftest.er1 2386 ac_status=$? 2387 grep -v '^ *+' conftest.er1 >conftest.err 2388 rm -f conftest.er1 2389 cat conftest.err >&5 2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2391 (exit $ac_status); } && 2392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2394 (eval $ac_try) 2>&5 2395 ac_status=$? 2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2397 (exit $ac_status); }; } && 2398 { ac_try='test -s conftest$ac_exeext' 2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2400 (eval $ac_try) 2>&5 2401 ac_status=$? 2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2403 (exit $ac_status); }; }; then 2404 ac_cv_search_strerror="none required" 2405else 2406 echo "$as_me: failed program was:" >&5 2407sed 's/^/| /' conftest.$ac_ext >&5 2408 2409fi 2410rm -f conftest.err conftest.$ac_objext \ 2411 conftest$ac_exeext conftest.$ac_ext 2412if test "$ac_cv_search_strerror" = no; then 2413 for ac_lib in cposix; do 2414 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 2415 cat >conftest.$ac_ext <<_ACEOF 2416/* confdefs.h. */ 2417_ACEOF 2418cat confdefs.h >>conftest.$ac_ext 2419cat >>conftest.$ac_ext <<_ACEOF 2420/* end confdefs.h. */ 2421 2422/* Override any gcc2 internal prototype to avoid an error. */ 2423#ifdef __cplusplus 2424extern "C" 2425#endif 2426/* We use char because int might match the return type of a gcc2 2427 builtin and then its argument prototype would still apply. */ 2428char strerror (); 2429int 2430main () 2431{ 2432strerror (); 2433 ; 2434 return 0; 2435} 2436_ACEOF 2437rm -f conftest.$ac_objext conftest$ac_exeext 2438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2439 (eval $ac_link) 2>conftest.er1 2440 ac_status=$? 2441 grep -v '^ *+' conftest.er1 >conftest.err 2442 rm -f conftest.er1 2443 cat conftest.err >&5 2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2445 (exit $ac_status); } && 2446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2448 (eval $ac_try) 2>&5 2449 ac_status=$? 2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2451 (exit $ac_status); }; } && 2452 { ac_try='test -s conftest$ac_exeext' 2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2454 (eval $ac_try) 2>&5 2455 ac_status=$? 2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2457 (exit $ac_status); }; }; then 2458 ac_cv_search_strerror="-l$ac_lib" 2459break 2460else 2461 echo "$as_me: failed program was:" >&5 2462sed 's/^/| /' conftest.$ac_ext >&5 2463 2464fi 2465rm -f conftest.err conftest.$ac_objext \ 2466 conftest$ac_exeext conftest.$ac_ext 2467 done 2468fi 2469LIBS=$ac_func_search_save_LIBS 2470fi 2471echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 2472echo "${ECHO_T}$ac_cv_search_strerror" >&6 2473if test "$ac_cv_search_strerror" != no; then 2474 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 2475 2476fi 2477 2478 |
|
966BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` | 2479BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in` |
2480am__api_version="1.8" |
|
967# Find a good install program. We prefer a C program (faster), 968# so one script is as good as another. But avoid the broken or 969# incompatible versions: 970# SysV /etc/install, /usr/sbin/install 971# SunOS /usr/etc/install 972# IRIX /sbin/install 973# AIX /bin/install | 2481# Find a good install program. We prefer a C program (faster), 2482# so one script is as good as another. But avoid the broken or 2483# incompatible versions: 2484# SysV /etc/install, /usr/sbin/install 2485# SunOS /usr/etc/install 2486# IRIX /sbin/install 2487# AIX /bin/install |
2488# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
974# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 975# AFS /usr/afsws/bin/install, which mishandles nonexistent args 976# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2489# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2490# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2491# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2492# OS/2's system install, which has a completely different semantic |
|
977# ./install, which can be erroneously created by make from ./install.sh. | 2493# ./install, which can be erroneously created by make from ./install.sh. |
978echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 979echo "configure:980: checking for a BSD compatible install" >&5 | 2494echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2495echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
980if test -z "$INSTALL"; then | 2496if test -z "$INSTALL"; then |
981if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 982 echo $ac_n "(cached) $ac_c" 1>&6 | 2497if test "${ac_cv_path_install+set}" = set; then 2498 echo $ECHO_N "(cached) $ECHO_C" >&6 |
983else | 2499else |
984 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 985 for ac_dir in $PATH; do 986 # Account for people who put trailing slashes in PATH elements. 987 case "$ac_dir/" in 988 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 989 *) 990 # OSF1 and SCO ODT 3.0 have their own names for install. 991 # Don't use installbsd from OSF since it installs stuff as root 992 # by default. 993 for ac_prog in ginstall scoinst install; do 994 if test -f $ac_dir/$ac_prog; then | 2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2501for as_dir in $PATH 2502do 2503 IFS=$as_save_IFS 2504 test -z "$as_dir" && as_dir=. 2505 # Account for people who put trailing slashes in PATH elements. 2506case $as_dir/ in 2507 ./ | .// | /cC/* | \ 2508 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2509 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2510 /usr/ucb/* ) ;; 2511 *) 2512 # OSF1 and SCO ODT 3.0 have their own names for install. 2513 # Don't use installbsd from OSF since it installs stuff as root 2514 # by default. 2515 for ac_prog in ginstall scoinst install; do 2516 for ac_exec_ext in '' $ac_executable_extensions; do 2517 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
995 if test $ac_prog = install && | 2518 if test $ac_prog = install && |
996 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 2519 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
997 # AIX install. It has an incompatible calling convention. 998 : | 2520 # AIX install. It has an incompatible calling convention. 2521 : |
2522 elif test $ac_prog = install && 2523 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2524 # program-specific install script used by HP pwplus--don't use. 2525 : |
|
999 else | 2526 else |
1000 ac_cv_path_install="$ac_dir/$ac_prog -c" 1001 break 2 | 2527 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2528 break 3 |
1002 fi 1003 fi 1004 done | 2529 fi 2530 fi 2531 done |
1005 ;; 1006 esac 1007 done 1008 IFS="$ac_save_IFS" | 2532 done 2533 ;; 2534esac 2535done |
1009 | 2536 |
2537 |
|
1010fi 1011 if test "${ac_cv_path_install+set}" = set; then | 2538fi 2539 if test "${ac_cv_path_install+set}" = set; then |
1012 INSTALL="$ac_cv_path_install" | 2540 INSTALL=$ac_cv_path_install |
1013 else 1014 # As a last resort, use the slow shell script. We don't cache a 1015 # path for INSTALL within a source directory, because that will 1016 # break other packages using the cache if that directory is 1017 # removed, or if the path is relative. | 2541 else 2542 # As a last resort, use the slow shell script. We don't cache a 2543 # path for INSTALL within a source directory, because that will 2544 # break other packages using the cache if that directory is 2545 # removed, or if the path is relative. |
1018 INSTALL="$ac_install_sh" | 2546 INSTALL=$ac_install_sh |
1019 fi 1020fi | 2547 fi 2548fi |
1021echo "$ac_t""$INSTALL" 1>&6 | 2549echo "$as_me:$LINENO: result: $INSTALL" >&5 2550echo "${ECHO_T}$INSTALL" >&6 |
1022 1023# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1024# It thinks the first close brace ends the variable substitution. 1025test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1026 | 2551 2552# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2553# It thinks the first close brace ends the variable substitution. 2554test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2555 |
1027test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 2556test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1028 1029test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1030 | 2557 2558test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2559 |
1031echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 1032echo "configure:1033: checking whether build environment is sane" >&5 | 2560echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2561echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
1033# Just in case 1034sleep 1 | 2562# Just in case 2563sleep 1 |
1035echo timestamp > conftestfile | 2564echo timestamp > conftest.file |
1036# Do `set' in a subshell so we don't clobber the current shell's 1037# arguments. Must try -L first in case configure is actually a 1038# symlink; some systems play weird games with the mod time of symlinks 1039# (eg FreeBSD returns the mod time of the symlink's containing 1040# directory). 1041if ( | 2565# Do `set' in a subshell so we don't clobber the current shell's 2566# arguments. Must try -L first in case configure is actually a 2567# symlink; some systems play weird games with the mod time of symlinks 2568# (eg FreeBSD returns the mod time of the symlink's containing 2569# directory). 2570if ( |
1042 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` | 2571 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
1043 if test "$*" = "X"; then 1044 # -L didn't work. | 2572 if test "$*" = "X"; then 2573 # -L didn't work. |
1045 set X `ls -t $srcdir/configure conftestfile` | 2574 set X `ls -t $srcdir/configure conftest.file` |
1046 fi | 2575 fi |
1047 if test "$*" != "X $srcdir/configure conftestfile" \ 1048 && test "$*" != "X conftestfile $srcdir/configure"; then | 2576 rm -f conftest.file 2577 if test "$*" != "X $srcdir/configure conftest.file" \ 2578 && test "$*" != "X conftest.file $srcdir/configure"; then |
1049 1050 # If neither matched, then we have a broken ls. This can happen 1051 # if, for instance, CONFIG_SHELL is bash and it inherits a 1052 # broken ls alias from the environment. This has actually 1053 # happened. Such a system could not be considered "sane". | 2579 2580 # If neither matched, then we have a broken ls. This can happen 2581 # if, for instance, CONFIG_SHELL is bash and it inherits a 2582 # broken ls alias from the environment. This has actually 2583 # happened. Such a system could not be considered "sane". |
1054 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 1055alias in your environment" 1>&2; exit 1; } | 2584 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2585alias in your environment" >&5 2586echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2587alias in your environment" >&2;} 2588 { (exit 1); exit 1; }; } |
1056 fi 1057 | 2589 fi 2590 |
1058 test "$2" = conftestfile | 2591 test "$2" = conftest.file |
1059 ) 1060then 1061 # Ok. 1062 : 1063else | 2592 ) 2593then 2594 # Ok. 2595 : 2596else |
1064 { echo "configure: error: newly created file is older than distributed files! 1065Check your system clock" 1>&2; exit 1; } | 2597 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2598Check your system clock" >&5 2599echo "$as_me: error: newly created file is older than distributed files! 2600Check your system clock" >&2;} 2601 { (exit 1); exit 1; }; } |
1066fi | 2602fi |
1067rm -f conftest* 1068echo "$ac_t""yes" 1>&6 1069if test "$program_transform_name" = s,x,x,; then 1070 program_transform_name= 1071else 1072 # Double any \ or $. echo might interpret backslashes. 1073 cat <<\EOF_SED > conftestsed 1074s,\\,\\\\,g; s,\$,$$,g 1075EOF_SED 1076 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 1077 rm -f conftestsed 1078fi | 2603echo "$as_me:$LINENO: result: yes" >&5 2604echo "${ECHO_T}yes" >&6 |
1079test "$program_prefix" != NONE && | 2605test "$program_prefix" != NONE && |
1080 program_transform_name="s,^,${program_prefix},; $program_transform_name" | 2606 program_transform_name="s,^,$program_prefix,;$program_transform_name" |
1081# Use a double $ so make ignores it. 1082test "$program_suffix" != NONE && | 2607# Use a double $ so make ignores it. 2608test "$program_suffix" != NONE && |
1083 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" | 2609 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 2610# Double any \ or $. echo might interpret backslashes. 2611# By default was `s,x,x', remove it if useless. 2612cat <<\_ACEOF >conftest.sed 2613s/[\\$]/&&/g;s/;s,x,x,$// 2614_ACEOF 2615program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2616rm conftest.sed |
1084 | 2617 |
1085# sed with no file args requires a program. 1086test "$program_transform_name" = "" && program_transform_name="s,x,x," | 2618# expand $ac_aux_dir to an absolute path 2619am_aux_dir=`cd $ac_aux_dir && pwd` |
1087 | 2620 |
1088echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1089echo "configure:1090: checking whether ${MAKE-make} sets \${MAKE}" >&5 1090set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1091if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1092 echo $ac_n "(cached) $ac_c" 1>&6 | 2621test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2622# Use eval to expand $SHELL 2623if eval "$MISSING --run true"; then 2624 am_missing_run="$MISSING --run " |
1093else | 2625else |
1094 cat > conftestmake <<\EOF | 2626 am_missing_run= 2627 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2628echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2629fi 2630 2631if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2632 # Keeping the `.' argument allows $(mkdir_p) to be used without 2633 # argument. Indeed, we sometimes output rules like 2634 # $(mkdir_p) $(somedir) 2635 # where $(somedir) is conditionally defined. 2636 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 2637 # expensive solution, as it forces Make to start a sub-shell.) 2638 mkdir_p='mkdir -p -- .' 2639else 2640 # On NextStep and OpenStep, the `mkdir' command does not 2641 # recognize any option. It will interpret all options as 2642 # directories to create, and then abort because `.' already 2643 # exists. 2644 for d in ./-p ./--version; 2645 do 2646 test -d $d && rmdir $d 2647 done 2648 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 2649 if test -f "$ac_aux_dir/mkinstalldirs"; then 2650 mkdir_p='$(mkinstalldirs)' 2651 else 2652 mkdir_p='$(install_sh) -d' 2653 fi 2654fi 2655 2656for ac_prog in gawk mawk nawk awk 2657do 2658 # Extract the first word of "$ac_prog", so it can be a program name with args. 2659set dummy $ac_prog; ac_word=$2 2660echo "$as_me:$LINENO: checking for $ac_word" >&5 2661echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2662if test "${ac_cv_prog_AWK+set}" = set; then 2663 echo $ECHO_N "(cached) $ECHO_C" >&6 2664else 2665 if test -n "$AWK"; then 2666 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2667else 2668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2669for as_dir in $PATH 2670do 2671 IFS=$as_save_IFS 2672 test -z "$as_dir" && as_dir=. 2673 for ac_exec_ext in '' $ac_executable_extensions; do 2674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2675 ac_cv_prog_AWK="$ac_prog" 2676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2677 break 2 2678 fi 2679done 2680done 2681 2682fi 2683fi 2684AWK=$ac_cv_prog_AWK 2685if test -n "$AWK"; then 2686 echo "$as_me:$LINENO: result: $AWK" >&5 2687echo "${ECHO_T}$AWK" >&6 2688else 2689 echo "$as_me:$LINENO: result: no" >&5 2690echo "${ECHO_T}no" >&6 2691fi 2692 2693 test -n "$AWK" && break 2694done 2695 2696echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2697echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2698set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2699if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2700 echo $ECHO_N "(cached) $ECHO_C" >&6 2701else 2702 cat >conftest.make <<\_ACEOF |
1095all: | 2703all: |
1096 @echo 'ac_maketemp="${MAKE}"' 1097EOF | 2704 @echo 'ac_maketemp="$(MAKE)"' 2705_ACEOF |
1098# GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 2706# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1099eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | 2707eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
1100if test -n "$ac_maketemp"; then 1101 eval ac_cv_prog_make_${ac_make}_set=yes 1102else 1103 eval ac_cv_prog_make_${ac_make}_set=no 1104fi | 2708if test -n "$ac_maketemp"; then 2709 eval ac_cv_prog_make_${ac_make}_set=yes 2710else 2711 eval ac_cv_prog_make_${ac_make}_set=no 2712fi |
1105rm -f conftestmake | 2713rm -f conftest.make |
1106fi 1107if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 2714fi 2715if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
1108 echo "$ac_t""yes" 1>&6 | 2716 echo "$as_me:$LINENO: result: yes" >&5 2717echo "${ECHO_T}yes" >&6 |
1109 SET_MAKE= 1110else | 2718 SET_MAKE= 2719else |
1111 echo "$ac_t""no" 1>&6 | 2720 echo "$as_me:$LINENO: result: no" >&5 2721echo "${ECHO_T}no" >&6 |
1112 SET_MAKE="MAKE=${MAKE-make}" 1113fi 1114 | 2722 SET_MAKE="MAKE=${MAKE-make}" 2723fi 2724 |
2725rm -rf .tst 2>/dev/null 2726mkdir .tst 2>/dev/null 2727if test -d .tst; then 2728 am__leading_dot=. 2729else 2730 am__leading_dot=_ 2731fi 2732rmdir .tst 2>/dev/null |
|
1115 | 2733 |
1116PACKAGE=gas | 2734DEPDIR="${am__leading_dot}deps" |
1117 | 2735 |
1118VERSION=${BFD_VERSION} | 2736 ac_config_commands="$ac_config_commands depfiles" |
1119 | 2737 |
1120if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1121 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 2738 2739am_make=${MAKE-make} 2740cat > confinc << 'END' 2741am__doit: 2742 @echo done 2743.PHONY: am__doit 2744END 2745# If we don't find an include directive, just comment out the code. 2746echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2747echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2748am__include="#" 2749am__quote= 2750_am_result=none 2751# First try GNU make style include. 2752echo "include confinc" > confmf 2753# We grep out `Entering directory' and `Leaving directory' 2754# messages which can occur if `w' ends up in MAKEFLAGS. 2755# In particular we don't look at `^make:' because GNU make might 2756# be invoked under some other name (usually "gmake"), in which 2757# case it prints its new name instead of `make'. 2758if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2759 am__include=include 2760 am__quote= 2761 _am_result=GNU |
1122fi | 2762fi |
1123cat >> confdefs.h <<EOF | 2763# Now try BSD make style include. 2764if test "$am__include" = "#"; then 2765 echo '.include "confinc"' > confmf 2766 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2767 am__include=.include 2768 am__quote="\"" 2769 _am_result=BSD 2770 fi 2771fi 2772 2773 2774echo "$as_me:$LINENO: result: $_am_result" >&5 2775echo "${ECHO_T}$_am_result" >&6 2776rm -f confinc confmf 2777 2778# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2779if test "${enable_dependency_tracking+set}" = set; then 2780 enableval="$enable_dependency_tracking" 2781 2782fi; 2783if test "x$enable_dependency_tracking" != xno; then 2784 am_depcomp="$ac_aux_dir/depcomp" 2785 AMDEPBACKSLASH='\' 2786fi 2787 2788 2789if test "x$enable_dependency_tracking" != xno; then 2790 AMDEP_TRUE= 2791 AMDEP_FALSE='#' 2792else 2793 AMDEP_TRUE='#' 2794 AMDEP_FALSE= 2795fi 2796 2797 2798 2799# test to see if srcdir already configured 2800if test "`cd $srcdir && pwd`" != "`pwd`" && 2801 test -f $srcdir/config.status; then 2802 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2803echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2804 { (exit 1); exit 1; }; } 2805fi 2806 2807# test whether we have cygpath 2808if test -z "$CYGPATH_W"; then 2809 if (cygpath --version) >/dev/null 2>/dev/null; then 2810 CYGPATH_W='cygpath -w' 2811 else 2812 CYGPATH_W=echo 2813 fi 2814fi 2815 2816 2817# Define the identity of the package. 2818 PACKAGE=gas 2819 VERSION=${BFD_VERSION} 2820 2821 2822cat >>confdefs.h <<_ACEOF |
1124#define PACKAGE "$PACKAGE" | 2823#define PACKAGE "$PACKAGE" |
1125EOF | 2824_ACEOF |
1126 | 2825 |
1127cat >> confdefs.h <<EOF | 2826 2827cat >>confdefs.h <<_ACEOF |
1128#define VERSION "$VERSION" | 2828#define VERSION "$VERSION" |
1129EOF | 2829_ACEOF |
1130 | 2830 |
2831# Some tools Automake needs. |
|
1131 | 2832 |
2833ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
1132 | 2834 |
1133missing_dir=`cd $ac_aux_dir && pwd` 1134echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1135echo "configure:1136: checking for working aclocal" >&5 1136# Run test in a subshell; some versions of sh will print an error if 1137# an executable is not found, even if stderr is redirected. 1138# Redirect stdin to placate older versions of autoconf. Sigh. 1139if (aclocal --version) < /dev/null > /dev/null 2>&1; then 1140 ACLOCAL=aclocal 1141 echo "$ac_t""found" 1>&6 | 2835 2836AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2837 2838 2839AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2840 2841 2842AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2843 2844 2845MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2846 2847 2848AMTAR=${AMTAR-"${am_missing_run}tar"} 2849 2850install_sh=${install_sh-"$am_aux_dir/install-sh"} 2851 2852# Installed binaries are usually stripped using `strip' when the user 2853# run `make install-strip'. However `strip' might not be the right 2854# tool to use in cross-compilation environments, therefore Automake 2855# will honor the `STRIP' environment variable to overrule this program. 2856if test "$cross_compiling" != no; then 2857 if test -n "$ac_tool_prefix"; then 2858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2859set dummy ${ac_tool_prefix}strip; ac_word=$2 2860echo "$as_me:$LINENO: checking for $ac_word" >&5 2861echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2862if test "${ac_cv_prog_STRIP+set}" = set; then 2863 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1142else | 2864else |
1143 ACLOCAL="$missing_dir/missing aclocal" 1144 echo "$ac_t""missing" 1>&6 | 2865 if test -n "$STRIP"; then 2866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2867else 2868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2869for as_dir in $PATH 2870do 2871 IFS=$as_save_IFS 2872 test -z "$as_dir" && as_dir=. 2873 for ac_exec_ext in '' $ac_executable_extensions; do 2874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2875 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2877 break 2 2878 fi 2879done 2880done 2881 |
1145fi | 2882fi |
2883fi 2884STRIP=$ac_cv_prog_STRIP 2885if test -n "$STRIP"; then 2886 echo "$as_me:$LINENO: result: $STRIP" >&5 2887echo "${ECHO_T}$STRIP" >&6 2888else 2889 echo "$as_me:$LINENO: result: no" >&5 2890echo "${ECHO_T}no" >&6 2891fi |
|
1146 | 2892 |
1147echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 1148echo "configure:1149: checking for working autoconf" >&5 1149# Run test in a subshell; some versions of sh will print an error if 1150# an executable is not found, even if stderr is redirected. 1151# Redirect stdin to placate older versions of autoconf. Sigh. 1152if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1153 AUTOCONF=autoconf 1154 echo "$ac_t""found" 1>&6 | 2893fi 2894if test -z "$ac_cv_prog_STRIP"; then 2895 ac_ct_STRIP=$STRIP 2896 # Extract the first word of "strip", so it can be a program name with args. 2897set dummy strip; ac_word=$2 2898echo "$as_me:$LINENO: checking for $ac_word" >&5 2899echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2900if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2901 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1155else | 2902else |
1156 AUTOCONF="$missing_dir/missing autoconf" 1157 echo "$ac_t""missing" 1>&6 | 2903 if test -n "$ac_ct_STRIP"; then 2904 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2905else 2906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2907for as_dir in $PATH 2908do 2909 IFS=$as_save_IFS 2910 test -z "$as_dir" && as_dir=. 2911 for ac_exec_ext in '' $ac_executable_extensions; do 2912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2913 ac_cv_prog_ac_ct_STRIP="strip" 2914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2915 break 2 2916 fi 2917done 2918done 2919 2920 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
1158fi | 2921fi |
2922fi 2923ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2924if test -n "$ac_ct_STRIP"; then 2925 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2926echo "${ECHO_T}$ac_ct_STRIP" >&6 2927else 2928 echo "$as_me:$LINENO: result: no" >&5 2929echo "${ECHO_T}no" >&6 2930fi |
|
1159 | 2931 |
1160echo $ac_n "checking for working automake""... $ac_c" 1>&6 1161echo "configure:1162: checking for working automake" >&5 1162# Run test in a subshell; some versions of sh will print an error if 1163# an executable is not found, even if stderr is redirected. 1164# Redirect stdin to placate older versions of autoconf. Sigh. 1165if (automake --version) < /dev/null > /dev/null 2>&1; then 1166 AUTOMAKE=automake 1167 echo "$ac_t""found" 1>&6 | 2932 STRIP=$ac_ct_STRIP |
1168else | 2933else |
1169 AUTOMAKE="$missing_dir/missing automake" 1170 echo "$ac_t""missing" 1>&6 | 2934 STRIP="$ac_cv_prog_STRIP" |
1171fi 1172 | 2935fi 2936 |
1173echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 1174echo "configure:1175: checking for working autoheader" >&5 1175# Run test in a subshell; some versions of sh will print an error if 1176# an executable is not found, even if stderr is redirected. 1177# Redirect stdin to placate older versions of autoconf. Sigh. 1178if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1179 AUTOHEADER=autoheader 1180 echo "$ac_t""found" 1>&6 | 2937fi 2938INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2939 2940# We need awk for the "check" target. The system "awk" is bad on 2941# some platforms. 2942 2943 2944depcc="$CC" am_compiler_list= 2945 2946echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2947echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2948if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2949 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1181else | 2950else |
1182 AUTOHEADER="$missing_dir/missing autoheader" 1183 echo "$ac_t""missing" 1>&6 | 2951 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2952 # We make a subdir and do the tests there. Otherwise we can end up 2953 # making bogus files that we don't know about and never remove. For 2954 # instance it was reported that on HP-UX the gcc test will end up 2955 # making a dummy file named `D' -- because `-MD' means `put the output 2956 # in D'. 2957 mkdir conftest.dir 2958 # Copy depcomp to subdir because otherwise we won't find it if we're 2959 # using a relative directory. 2960 cp "$am_depcomp" conftest.dir 2961 cd conftest.dir 2962 # We will build objects and dependencies in a subdirectory because 2963 # it helps to detect inapplicable dependency modes. For instance 2964 # both Tru64's cc and ICC support -MD to output dependencies as a 2965 # side effect of compilation, but ICC will put the dependencies in 2966 # the current directory while Tru64 will put them in the object 2967 # directory. 2968 mkdir sub 2969 2970 am_cv_CC_dependencies_compiler_type=none 2971 if test "$am_compiler_list" = ""; then 2972 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2973 fi 2974 for depmode in $am_compiler_list; do 2975 # Setup a source with many dependencies, because some compilers 2976 # like to wrap large dependency lists on column 80 (with \), and 2977 # we should not choose a depcomp mode which is confused by this. 2978 # 2979 # We need to recreate these files for each test, as the compiler may 2980 # overwrite some of them when testing with obscure command lines. 2981 # This happens at least with the AIX C compiler. 2982 : > sub/conftest.c 2983 for i in 1 2 3 4 5 6; do 2984 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2985 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2986 # Solaris 8's {/usr,}/bin/sh. 2987 touch sub/conftst$i.h 2988 done 2989 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2990 2991 case $depmode in 2992 nosideeffect) 2993 # after this tag, mechanisms are not by side-effect, so they'll 2994 # only be used when explicitly requested 2995 if test "x$enable_dependency_tracking" = xyes; then 2996 continue 2997 else 2998 break 2999 fi 3000 ;; 3001 none) break ;; 3002 esac 3003 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3004 # mode. It turns out that the SunPro C++ compiler does not properly 3005 # handle `-M -o', and we need to detect this. 3006 if depmode=$depmode \ 3007 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3008 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3009 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3010 >/dev/null 2>conftest.err && 3011 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3012 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3013 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3014 # icc doesn't choke on unknown options, it will just issue warnings 3015 # or remarks (even with -Werror). So we grep stderr for any message 3016 # that says an option was ignored or not supported. 3017 # When given -MP, icc 7.0 and 7.1 complain thusly: 3018 # icc: Command line warning: ignoring option '-M'; no argument required 3019 # The diagnosis changed in icc 8.0: 3020 # icc: Command line remark: option '-MP' not supported 3021 if (grep 'ignoring option' conftest.err || 3022 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3023 am_cv_CC_dependencies_compiler_type=$depmode 3024 break 3025 fi 3026 fi 3027 done 3028 3029 cd .. 3030 rm -rf conftest.dir 3031else 3032 am_cv_CC_dependencies_compiler_type=none |
1184fi 1185 | 3033fi 3034 |
1186echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 1187echo "configure:1188: checking for working makeinfo" >&5 1188# Run test in a subshell; some versions of sh will print an error if 1189# an executable is not found, even if stderr is redirected. 1190# Redirect stdin to placate older versions of autoconf. Sigh. 1191if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1192 MAKEINFO=makeinfo 1193 echo "$ac_t""found" 1>&6 | 3035fi 3036echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3037echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3038CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3039 3040 3041 3042if 3043 test "x$enable_dependency_tracking" != xno \ 3044 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3045 am__fastdepCC_TRUE= 3046 am__fastdepCC_FALSE='#' |
1194else | 3047else |
1195 MAKEINFO="$missing_dir/missing makeinfo" 1196 echo "$ac_t""missing" 1>&6 | 3048 am__fastdepCC_TRUE='#' 3049 am__fastdepCC_FALSE= |
1197fi 1198 1199 1200 | 3050fi 3051 3052 3053 |
3054 |
|
1201# Check whether --enable-shared or --disable-shared was given. 1202if test "${enable_shared+set}" = set; then 1203 enableval="$enable_shared" 1204 p=${PACKAGE-default} 1205case $enableval in 1206yes) enable_shared=yes ;; 1207no) enable_shared=no ;; 1208*) --- 5 unchanged lines hidden (view full) --- 1214 enable_shared=yes 1215 fi 1216 done 1217 IFS="$ac_save_ifs" 1218 ;; 1219esac 1220else 1221 enable_shared=yes | 3055# Check whether --enable-shared or --disable-shared was given. 3056if test "${enable_shared+set}" = set; then 3057 enableval="$enable_shared" 3058 p=${PACKAGE-default} 3059case $enableval in 3060yes) enable_shared=yes ;; 3061no) enable_shared=no ;; 3062*) --- 5 unchanged lines hidden (view full) --- 3068 enable_shared=yes 3069 fi 3070 done 3071 IFS="$ac_save_ifs" 3072 ;; 3073esac 3074else 3075 enable_shared=yes |
1222fi 1223 | 3076fi; |
1224# Check whether --enable-static or --disable-static was given. 1225if test "${enable_static+set}" = set; then 1226 enableval="$enable_static" 1227 p=${PACKAGE-default} 1228case $enableval in 1229yes) enable_static=yes ;; 1230no) enable_static=no ;; 1231*) --- 5 unchanged lines hidden (view full) --- 1237 enable_static=yes 1238 fi 1239 done 1240 IFS="$ac_save_ifs" 1241 ;; 1242esac 1243else 1244 enable_static=yes | 3077# Check whether --enable-static or --disable-static was given. 3078if test "${enable_static+set}" = set; then 3079 enableval="$enable_static" 3080 p=${PACKAGE-default} 3081case $enableval in 3082yes) enable_static=yes ;; 3083no) enable_static=no ;; 3084*) --- 5 unchanged lines hidden (view full) --- 3090 enable_static=yes 3091 fi 3092 done 3093 IFS="$ac_save_ifs" 3094 ;; 3095esac 3096else 3097 enable_static=yes |
1245fi 1246 | 3098fi; |
1247# Check whether --enable-fast-install or --disable-fast-install was given. 1248if test "${enable_fast_install+set}" = set; then 1249 enableval="$enable_fast_install" 1250 p=${PACKAGE-default} 1251case $enableval in 1252yes) enable_fast_install=yes ;; 1253no) enable_fast_install=no ;; 1254*) --- 5 unchanged lines hidden (view full) --- 1260 enable_fast_install=yes 1261 fi 1262 done 1263 IFS="$ac_save_ifs" 1264 ;; 1265esac 1266else 1267 enable_fast_install=yes | 3099# Check whether --enable-fast-install or --disable-fast-install was given. 3100if test "${enable_fast_install+set}" = set; then 3101 enableval="$enable_fast_install" 3102 p=${PACKAGE-default} 3103case $enableval in 3104yes) enable_fast_install=yes ;; 3105no) enable_fast_install=no ;; 3106*) --- 5 unchanged lines hidden (view full) --- 3112 enable_fast_install=yes 3113 fi 3114 done 3115 IFS="$ac_save_ifs" 3116 ;; 3117esac 3118else 3119 enable_fast_install=yes |
1268fi | 3120fi; |
1269 1270# Check whether --with-gnu-ld or --without-gnu-ld was given. 1271if test "${with_gnu_ld+set}" = set; then 1272 withval="$with_gnu_ld" 1273 test "$withval" = no || with_gnu_ld=yes 1274else 1275 with_gnu_ld=no | 3121 3122# Check whether --with-gnu-ld or --without-gnu-ld was given. 3123if test "${with_gnu_ld+set}" = set; then 3124 withval="$with_gnu_ld" 3125 test "$withval" = no || with_gnu_ld=yes 3126else 3127 with_gnu_ld=no |
1276fi 1277 | 3128fi; |
1278ac_prog=ld 1279if test "$GCC" = yes; then 1280 # Check if gcc -print-prog-name=ld gives a path. | 3129ac_prog=ld 3130if test "$GCC" = yes; then 3131 # Check if gcc -print-prog-name=ld gives a path. |
1281 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1282echo "configure:1283: checking for ld used by GCC" >&5 | 3132 echo "$as_me:$LINENO: checking for ld used by GCC" >&5 3133echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
1283 case $host in 1284 *-*-mingw*) 1285 # gcc leaves a trailing carriage return which upsets mingw 1286 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 1287 *) 1288 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1289 esac 1290 case $ac_prog in --- 12 unchanged lines hidden (view full) --- 1303 ac_prog=ld 1304 ;; 1305 *) 1306 # If it is relative, then search for the first ld in PATH. 1307 with_gnu_ld=unknown 1308 ;; 1309 esac 1310elif test "$with_gnu_ld" = yes; then | 3134 case $host in 3135 *-*-mingw*) 3136 # gcc leaves a trailing carriage return which upsets mingw 3137 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3138 *) 3139 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3140 esac 3141 case $ac_prog in --- 12 unchanged lines hidden (view full) --- 3154 ac_prog=ld 3155 ;; 3156 *) 3157 # If it is relative, then search for the first ld in PATH. 3158 with_gnu_ld=unknown 3159 ;; 3160 esac 3161elif test "$with_gnu_ld" = yes; then |
1311 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1312echo "configure:1313: checking for GNU ld" >&5 | 3162 echo "$as_me:$LINENO: checking for GNU ld" >&5 3163echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
1313else | 3164else |
1314 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1315echo "configure:1316: checking for non-GNU ld" >&5 | 3165 echo "$as_me:$LINENO: checking for non-GNU ld" >&5 3166echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
1316fi | 3167fi |
1317if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1318 echo $ac_n "(cached) $ac_c" 1>&6 | 3168if test "${lt_cv_path_LD+set}" = set; then 3169 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1319else 1320 if test -z "$LD"; then 1321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1322 for ac_dir in $PATH; do 1323 test -z "$ac_dir" && ac_dir=. 1324 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1325 lt_cv_path_LD="$ac_dir/$ac_prog" 1326 # Check to see if the program is GNU ld. I'd rather use --version, --- 9 unchanged lines hidden (view full) --- 1336 IFS="$ac_save_ifs" 1337else 1338 lt_cv_path_LD="$LD" # Let the user override the test with a path. 1339fi 1340fi 1341 1342LD="$lt_cv_path_LD" 1343if test -n "$LD"; then | 3170else 3171 if test -z "$LD"; then 3172 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 3173 for ac_dir in $PATH; do 3174 test -z "$ac_dir" && ac_dir=. 3175 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3176 lt_cv_path_LD="$ac_dir/$ac_prog" 3177 # Check to see if the program is GNU ld. I'd rather use --version, --- 9 unchanged lines hidden (view full) --- 3187 IFS="$ac_save_ifs" 3188else 3189 lt_cv_path_LD="$LD" # Let the user override the test with a path. 3190fi 3191fi 3192 3193LD="$lt_cv_path_LD" 3194if test -n "$LD"; then |
1344 echo "$ac_t""$LD" 1>&6 | 3195 echo "$as_me:$LINENO: result: $LD" >&5 3196echo "${ECHO_T}$LD" >&6 |
1345else | 3197else |
1346 echo "$ac_t""no" 1>&6 | 3198 echo "$as_me:$LINENO: result: no" >&5 3199echo "${ECHO_T}no" >&6 |
1347fi | 3200fi |
1348test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1349echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1350echo "configure:1351: checking if the linker ($LD) is GNU ld" >&5 1351if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1352 echo $ac_n "(cached) $ac_c" 1>&6 | 3201test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 3202echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 3203 { (exit 1); exit 1; }; } 3204echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 3205echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 3206if test "${lt_cv_prog_gnu_ld+set}" = set; then 3207 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1353else 1354 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1355if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1356 lt_cv_prog_gnu_ld=yes 1357else 1358 lt_cv_prog_gnu_ld=no 1359fi 1360fi | 3208else 3209 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 3210if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 3211 lt_cv_prog_gnu_ld=yes 3212else 3213 lt_cv_prog_gnu_ld=no 3214fi 3215fi |
1361 1362echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 | 3216echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 3217echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
1363with_gnu_ld=$lt_cv_prog_gnu_ld 1364 1365 | 3218with_gnu_ld=$lt_cv_prog_gnu_ld 3219 3220 |
1366echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1367echo "configure:1368: checking for $LD option to reload object files" >&5 1368if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1369 echo $ac_n "(cached) $ac_c" 1>&6 | 3221echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 3222echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 3223if test "${lt_cv_ld_reload_flag+set}" = set; then 3224 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1370else 1371 lt_cv_ld_reload_flag='-r' 1372fi | 3225else 3226 lt_cv_ld_reload_flag='-r' 3227fi |
1373 1374echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 | 3228echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 3229echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
1375reload_flag=$lt_cv_ld_reload_flag 1376test -n "$reload_flag" && reload_flag=" $reload_flag" 1377 | 3230reload_flag=$lt_cv_ld_reload_flag 3231test -n "$reload_flag" && reload_flag=" $reload_flag" 3232 |
1378echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1379echo "configure:1380: checking for BSD-compatible nm" >&5 1380if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1381 echo $ac_n "(cached) $ac_c" 1>&6 | 3233echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 3234echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 3235if test "${lt_cv_path_NM+set}" = set; then 3236 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1382else 1383 if test -n "$NM"; then 1384 # Let the user override the test. 1385 lt_cv_path_NM="$NM" 1386else 1387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1388 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 1389 test -z "$ac_dir" && ac_dir=. --- 16 unchanged lines hidden (view full) --- 1406 fi 1407 done 1408 IFS="$ac_save_ifs" 1409 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 1410fi 1411fi 1412 1413NM="$lt_cv_path_NM" | 3237else 3238 if test -n "$NM"; then 3239 # Let the user override the test. 3240 lt_cv_path_NM="$NM" 3241else 3242 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 3243 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do 3244 test -z "$ac_dir" && ac_dir=. --- 16 unchanged lines hidden (view full) --- 3261 fi 3262 done 3263 IFS="$ac_save_ifs" 3264 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm 3265fi 3266fi 3267 3268NM="$lt_cv_path_NM" |
1414echo "$ac_t""$NM" 1>&6 | 3269echo "$as_me:$LINENO: result: $NM" >&5 3270echo "${ECHO_T}$NM" >&6 |
1415 | 3271 |
1416echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1417echo "configure:1418: checking whether ln -s works" >&5 1418if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1419 echo $ac_n "(cached) $ac_c" 1>&6 | 3272echo "$as_me:$LINENO: checking whether ln -s works" >&5 3273echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3274LN_S=$as_ln_s 3275if test "$LN_S" = "ln -s"; then 3276 echo "$as_me:$LINENO: result: yes" >&5 3277echo "${ECHO_T}yes" >&6 |
1420else | 3278else |
1421 rm -f conftestdata 1422if ln -s X conftestdata 2>/dev/null 1423then 1424 rm -f conftestdata 1425 ac_cv_prog_LN_S="ln -s" 1426else 1427 ac_cv_prog_LN_S=ln | 3279 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3280echo "${ECHO_T}no, using $LN_S" >&6 |
1428fi | 3281fi |
1429fi 1430LN_S="$ac_cv_prog_LN_S" 1431if test "$ac_cv_prog_LN_S" = "ln -s"; then 1432 echo "$ac_t""yes" 1>&6 1433else 1434 echo "$ac_t""no" 1>&6 1435fi | |
1436 | 3282 |
1437echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1438echo "configure:1439: checking how to recognise dependant libraries" >&5 1439if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1440 echo $ac_n "(cached) $ac_c" 1>&6 | 3283echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 3284echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 3285if test "${lt_cv_deplibs_check_method+set}" = set; then 3286 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1441else 1442 lt_cv_file_magic_cmd='$MAGIC_CMD' 1443lt_cv_file_magic_test_file= 1444lt_cv_deplibs_check_method='unknown' 1445# Need to set the preceding variable on all platforms that support 1446# interlibrary dependencies. 1447# 'none' -- dependencies not supported. 1448# `unknown' -- same as none, but documents that we really don't know. --- 91 unchanged lines hidden (view full) --- 1540 esac 1541 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 1542 lt_cv_deplibs_check_method=pass_all 1543 ;; 1544 1545# This must be Linux ELF. 1546linux-gnu*) 1547 case $host_cpu in | 3287else 3288 lt_cv_file_magic_cmd='$MAGIC_CMD' 3289lt_cv_file_magic_test_file= 3290lt_cv_deplibs_check_method='unknown' 3291# Need to set the preceding variable on all platforms that support 3292# interlibrary dependencies. 3293# 'none' -- dependencies not supported. 3294# `unknown' -- same as none, but documents that we really don't know. --- 91 unchanged lines hidden (view full) --- 3386 esac 3387 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` 3388 lt_cv_deplibs_check_method=pass_all 3389 ;; 3390 3391# This must be Linux ELF. 3392linux-gnu*) 3393 case $host_cpu in |
1548 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) | 3394 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* ) |
1549 lt_cv_deplibs_check_method=pass_all ;; 1550 *) 1551 # glibc up to 2.1.1 does not perform some relocations on ARM 1552 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 1553 esac 1554 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 1555 ;; 1556 --- 40 unchanged lines hidden (view full) --- 1597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 1598 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 1599 ;; 1600 esac 1601 ;; 1602esac 1603 1604fi | 3395 lt_cv_deplibs_check_method=pass_all ;; 3396 *) 3397 # glibc up to 2.1.1 does not perform some relocations on ARM 3398 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; 3399 esac 3400 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 3401 ;; 3402 --- 40 unchanged lines hidden (view full) --- 3443 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 3444 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 3445 ;; 3446 esac 3447 ;; 3448esac 3449 3450fi |
1605 1606echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 | 3451echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 3452echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
1607file_magic_cmd=$lt_cv_file_magic_cmd 1608deplibs_check_method=$lt_cv_deplibs_check_method 1609 | 3453file_magic_cmd=$lt_cv_file_magic_cmd 3454deplibs_check_method=$lt_cv_deplibs_check_method 3455 |
1610echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1611echo "configure:1612: checking for object suffix" >&5 1612if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1613 echo $ac_n "(cached) $ac_c" 1>&6 1614else 1615 rm -f conftest* 1616echo 'int i = 1;' > conftest.$ac_ext 1617if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1618 for ac_file in conftest.*; do 1619 case $ac_file in 1620 *.c) ;; 1621 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; 1622 esac 1623 done 1624else 1625 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } 1626fi 1627rm -f conftest* 1628fi | |
1629 | 3456 |
1630echo "$ac_t""$ac_cv_objext" 1>&6 1631OBJEXT=$ac_cv_objext 1632ac_objext=$ac_cv_objext | |
1633 1634 | 3457 3458 |
1635 1636echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1637echo "configure:1638: checking for executable suffix" >&5 1638if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1639 echo $ac_n "(cached) $ac_c" 1>&6 1640else 1641 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1642 ac_cv_exeext=.exe 1643else 1644 rm -f conftest* 1645 echo 'int main () { return 0; }' > conftest.$ac_ext 1646 ac_cv_exeext= 1647 if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1648 for file in conftest.*; do 1649 case $file in 1650 *.$ac_ext | *.c | *.o | *.obj) ;; 1651 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1652 esac 1653 done 1654 else 1655 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1656 fi 1657 rm -f conftest* 1658 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1659fi 1660fi 1661 1662EXEEXT="" 1663test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1664echo "$ac_t""${ac_cv_exeext}" 1>&6 1665ac_exeext=$EXEEXT 1666 1667if test $host != $build; then 1668 ac_tool_prefix=${host_alias}- 1669else 1670 ac_tool_prefix= 1671fi 1672 | |
1673# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 1674 1675# Only perform the check for file, if the check method requires it 1676case $deplibs_check_method in 1677file_magic*) 1678 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 3459# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 3460 3461# Only perform the check for file, if the check method requires it 3462case $deplibs_check_method in 3463file_magic*) 3464 if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
1679 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1680echo "configure:1681: checking for ${ac_tool_prefix}file" >&5 1681if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1682 echo $ac_n "(cached) $ac_c" 1>&6 | 3465 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 3466echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 3467if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3468 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1683else 1684 case $MAGIC_CMD in 1685 /*) 1686 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 1687 ;; 1688 ?:/*) 1689 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. 1690 ;; --- 35 unchanged lines hidden (view full) --- 1726 IFS="$ac_save_ifs" 1727 MAGIC_CMD="$ac_save_MAGIC_CMD" 1728 ;; 1729esac 1730fi 1731 1732MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1733if test -n "$MAGIC_CMD"; then | 3469else 3470 case $MAGIC_CMD in 3471 /*) 3472 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 3473 ;; 3474 ?:/*) 3475 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. 3476 ;; --- 35 unchanged lines hidden (view full) --- 3512 IFS="$ac_save_ifs" 3513 MAGIC_CMD="$ac_save_MAGIC_CMD" 3514 ;; 3515esac 3516fi 3517 3518MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3519if test -n "$MAGIC_CMD"; then |
1734 echo "$ac_t""$MAGIC_CMD" 1>&6 | 3520 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 3521echo "${ECHO_T}$MAGIC_CMD" >&6 |
1735else | 3522else |
1736 echo "$ac_t""no" 1>&6 | 3523 echo "$as_me:$LINENO: result: no" >&5 3524echo "${ECHO_T}no" >&6 |
1737fi 1738 1739if test -z "$lt_cv_path_MAGIC_CMD"; then 1740 if test -n "$ac_tool_prefix"; then | 3525fi 3526 3527if test -z "$lt_cv_path_MAGIC_CMD"; then 3528 if test -n "$ac_tool_prefix"; then |
1741 echo $ac_n "checking for file""... $ac_c" 1>&6 1742echo "configure:1743: checking for file" >&5 1743if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1744 echo $ac_n "(cached) $ac_c" 1>&6 | 3529 echo "$as_me:$LINENO: checking for file" >&5 3530echo $ECHO_N "checking for file... $ECHO_C" >&6 3531if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 3532 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1745else 1746 case $MAGIC_CMD in 1747 /*) 1748 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 1749 ;; 1750 ?:/*) 1751 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. 1752 ;; --- 35 unchanged lines hidden (view full) --- 1788 IFS="$ac_save_ifs" 1789 MAGIC_CMD="$ac_save_MAGIC_CMD" 1790 ;; 1791esac 1792fi 1793 1794MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 1795if test -n "$MAGIC_CMD"; then | 3533else 3534 case $MAGIC_CMD in 3535 /*) 3536 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 3537 ;; 3538 ?:/*) 3539 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. 3540 ;; --- 35 unchanged lines hidden (view full) --- 3576 IFS="$ac_save_ifs" 3577 MAGIC_CMD="$ac_save_MAGIC_CMD" 3578 ;; 3579esac 3580fi 3581 3582MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3583if test -n "$MAGIC_CMD"; then |
1796 echo "$ac_t""$MAGIC_CMD" 1>&6 | 3584 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 3585echo "${ECHO_T}$MAGIC_CMD" >&6 |
1797else | 3586else |
1798 echo "$ac_t""no" 1>&6 | 3587 echo "$as_me:$LINENO: result: no" >&5 3588echo "${ECHO_T}no" >&6 |
1799fi 1800 1801 else 1802 MAGIC_CMD=: 1803 fi 1804fi 1805 1806 fi 1807 ;; 1808esac 1809 | 3589fi 3590 3591 else 3592 MAGIC_CMD=: 3593 fi 3594fi 3595 3596 fi 3597 ;; 3598esac 3599 |
1810# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 3600if test -n "$ac_tool_prefix"; then 3601 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
1811set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 3602set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
1812echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1813echo "configure:1814: checking for $ac_word" >&5 1814if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1815 echo $ac_n "(cached) $ac_c" 1>&6 | 3603echo "$as_me:$LINENO: checking for $ac_word" >&5 3604echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3605if test "${ac_cv_prog_RANLIB+set}" = set; then 3606 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1816else 1817 if test -n "$RANLIB"; then 1818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1819else | 3607else 3608 if test -n "$RANLIB"; then 3609 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3610else |
1820 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1821 ac_dummy="$PATH" 1822 for ac_dir in $ac_dummy; do 1823 test -z "$ac_dir" && ac_dir=. 1824 if test -f $ac_dir/$ac_word; then 1825 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1826 break 1827 fi 1828 done 1829 IFS="$ac_save_ifs" | 3611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3612for as_dir in $PATH 3613do 3614 IFS=$as_save_IFS 3615 test -z "$as_dir" && as_dir=. 3616 for ac_exec_ext in '' $ac_executable_extensions; do 3617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3618 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3620 break 2 3621 fi 3622done 3623done 3624 |
1830fi 1831fi | 3625fi 3626fi |
1832RANLIB="$ac_cv_prog_RANLIB" | 3627RANLIB=$ac_cv_prog_RANLIB |
1833if test -n "$RANLIB"; then | 3628if test -n "$RANLIB"; then |
1834 echo "$ac_t""$RANLIB" 1>&6 | 3629 echo "$as_me:$LINENO: result: $RANLIB" >&5 3630echo "${ECHO_T}$RANLIB" >&6 |
1835else | 3631else |
1836 echo "$ac_t""no" 1>&6 | 3632 echo "$as_me:$LINENO: result: no" >&5 3633echo "${ECHO_T}no" >&6 |
1837fi 1838 | 3634fi 3635 |
1839 | 3636fi |
1840if test -z "$ac_cv_prog_RANLIB"; then | 3637if test -z "$ac_cv_prog_RANLIB"; then |
1841if test -n "$ac_tool_prefix"; then | 3638 ac_ct_RANLIB=$RANLIB |
1842 # Extract the first word of "ranlib", so it can be a program name with args. 1843set dummy ranlib; ac_word=$2 | 3639 # Extract the first word of "ranlib", so it can be a program name with args. 3640set dummy ranlib; ac_word=$2 |
1844echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1845echo "configure:1846: checking for $ac_word" >&5 1846if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1847 echo $ac_n "(cached) $ac_c" 1>&6 | 3641echo "$as_me:$LINENO: checking for $ac_word" >&5 3642echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3643if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3644 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1848else | 3645else |
1849 if test -n "$RANLIB"; then 1850 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3646 if test -n "$ac_ct_RANLIB"; then 3647 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
1851else | 3648else |
1852 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1853 ac_dummy="$PATH" 1854 for ac_dir in $ac_dummy; do 1855 test -z "$ac_dir" && ac_dir=. 1856 if test -f $ac_dir/$ac_word; then 1857 ac_cv_prog_RANLIB="ranlib" 1858 break 1859 fi 1860 done 1861 IFS="$ac_save_ifs" 1862 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | 3649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3650for as_dir in $PATH 3651do 3652 IFS=$as_save_IFS 3653 test -z "$as_dir" && as_dir=. 3654 for ac_exec_ext in '' $ac_executable_extensions; do 3655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3656 ac_cv_prog_ac_ct_RANLIB="ranlib" 3657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3658 break 2 3659 fi 3660done 3661done 3662 3663 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
1863fi 1864fi | 3664fi 3665fi |
1865RANLIB="$ac_cv_prog_RANLIB" 1866if test -n "$RANLIB"; then 1867 echo "$ac_t""$RANLIB" 1>&6 | 3666ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3667if test -n "$ac_ct_RANLIB"; then 3668 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3669echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
1868else | 3670else |
1869 echo "$ac_t""no" 1>&6 | 3671 echo "$as_me:$LINENO: result: no" >&5 3672echo "${ECHO_T}no" >&6 |
1870fi 1871 | 3673fi 3674 |
3675 RANLIB=$ac_ct_RANLIB |
|
1872else | 3676else |
1873 RANLIB=":" | 3677 RANLIB="$ac_cv_prog_RANLIB" |
1874fi | 3678fi |
1875fi | |
1876 | 3679 |
1877# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 3680if test -n "$ac_tool_prefix"; then 3681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
1878set dummy ${ac_tool_prefix}strip; ac_word=$2 | 3682set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1879echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1880echo "configure:1881: checking for $ac_word" >&5 1881if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1882 echo $ac_n "(cached) $ac_c" 1>&6 | 3683echo "$as_me:$LINENO: checking for $ac_word" >&5 3684echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3685if test "${ac_cv_prog_STRIP+set}" = set; then 3686 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1883else 1884 if test -n "$STRIP"; then 1885 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1886else | 3687else 3688 if test -n "$STRIP"; then 3689 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3690else |
1887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1888 ac_dummy="$PATH" 1889 for ac_dir in $ac_dummy; do 1890 test -z "$ac_dir" && ac_dir=. 1891 if test -f $ac_dir/$ac_word; then 1892 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1893 break 1894 fi 1895 done 1896 IFS="$ac_save_ifs" | 3691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3692for as_dir in $PATH 3693do 3694 IFS=$as_save_IFS 3695 test -z "$as_dir" && as_dir=. 3696 for ac_exec_ext in '' $ac_executable_extensions; do 3697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3698 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3700 break 2 3701 fi 3702done 3703done 3704 |
1897fi 1898fi | 3705fi 3706fi |
1899STRIP="$ac_cv_prog_STRIP" | 3707STRIP=$ac_cv_prog_STRIP |
1900if test -n "$STRIP"; then | 3708if test -n "$STRIP"; then |
1901 echo "$ac_t""$STRIP" 1>&6 | 3709 echo "$as_me:$LINENO: result: $STRIP" >&5 3710echo "${ECHO_T}$STRIP" >&6 |
1902else | 3711else |
1903 echo "$ac_t""no" 1>&6 | 3712 echo "$as_me:$LINENO: result: no" >&5 3713echo "${ECHO_T}no" >&6 |
1904fi 1905 | 3714fi 3715 |
1906 | 3716fi |
1907if test -z "$ac_cv_prog_STRIP"; then | 3717if test -z "$ac_cv_prog_STRIP"; then |
1908if test -n "$ac_tool_prefix"; then | 3718 ac_ct_STRIP=$STRIP |
1909 # Extract the first word of "strip", so it can be a program name with args. 1910set dummy strip; ac_word=$2 | 3719 # Extract the first word of "strip", so it can be a program name with args. 3720set dummy strip; ac_word=$2 |
1911echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1912echo "configure:1913: checking for $ac_word" >&5 1913if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1914 echo $ac_n "(cached) $ac_c" 1>&6 | 3721echo "$as_me:$LINENO: checking for $ac_word" >&5 3722echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3723if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 3724 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1915else | 3725else |
1916 if test -n "$STRIP"; then 1917 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 3726 if test -n "$ac_ct_STRIP"; then 3727 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
1918else | 3728else |
1919 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1920 ac_dummy="$PATH" 1921 for ac_dir in $ac_dummy; do 1922 test -z "$ac_dir" && ac_dir=. 1923 if test -f $ac_dir/$ac_word; then 1924 ac_cv_prog_STRIP="strip" 1925 break 1926 fi 1927 done 1928 IFS="$ac_save_ifs" 1929 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" | 3729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3730for as_dir in $PATH 3731do 3732 IFS=$as_save_IFS 3733 test -z "$as_dir" && as_dir=. 3734 for ac_exec_ext in '' $ac_executable_extensions; do 3735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3736 ac_cv_prog_ac_ct_STRIP="strip" 3737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3738 break 2 3739 fi 3740done 3741done 3742 3743 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
1930fi 1931fi | 3744fi 3745fi |
1932STRIP="$ac_cv_prog_STRIP" 1933if test -n "$STRIP"; then 1934 echo "$ac_t""$STRIP" 1>&6 | 3746ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3747if test -n "$ac_ct_STRIP"; then 3748 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 3749echo "${ECHO_T}$ac_ct_STRIP" >&6 |
1935else | 3750else |
1936 echo "$ac_t""no" 1>&6 | 3751 echo "$as_me:$LINENO: result: no" >&5 3752echo "${ECHO_T}no" >&6 |
1937fi 1938 | 3753fi 3754 |
3755 STRIP=$ac_ct_STRIP |
|
1939else | 3756else |
1940 STRIP=":" | 3757 STRIP="$ac_cv_prog_STRIP" |
1941fi | 3758fi |
1942fi | |
1943 1944 1945# Check for any special flags to pass to ltconfig. 1946libtool_flags="--cache-file=$cache_file" 1947test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" 1948test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1949test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 1950test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 1951test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 1952 1953 1954# Check whether --enable-libtool-lock or --disable-libtool-lock was given. 1955if test "${enable_libtool_lock+set}" = set; then 1956 enableval="$enable_libtool_lock" | 3759 3760 3761# Check for any special flags to pass to ltconfig. 3762libtool_flags="--cache-file=$cache_file" 3763test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" 3764test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 3765test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" 3766test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" 3767test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" 3768 3769 3770# Check whether --enable-libtool-lock or --disable-libtool-lock was given. 3771if test "${enable_libtool_lock+set}" = set; then 3772 enableval="$enable_libtool_lock" |
1957 : 1958fi | |
1959 | 3773 |
3774fi; |
|
1960test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 1961test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 1962 | 3775test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 3776test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 3777 |
3778 |
|
1963# Check whether --with-pic or --without-pic was given. 1964if test "${with_pic+set}" = set; then 1965 withval="$with_pic" 1966 pic_mode="$withval" 1967else 1968 pic_mode=default | 3779# Check whether --with-pic or --without-pic was given. 3780if test "${with_pic+set}" = set; then 3781 withval="$with_pic" 3782 pic_mode="$withval" 3783else 3784 pic_mode=default |
1969fi 1970 | 3785fi; |
1971test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" 1972test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" 1973 1974# Some flags need to be propagated to the compiler or linker for good 1975# libtool support. 1976case $host in 1977*-*-irix6*) 1978 # Find out which ABI we are using. | 3786test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" 3787test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" 3788 3789# Some flags need to be propagated to the compiler or linker for good 3790# libtool support. 3791case $host in 3792*-*-irix6*) 3793 # Find out which ABI we are using. |
1979 echo '#line 1980 "configure"' > conftest.$ac_ext 1980 if { (eval echo configure:1981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3794 echo '#line 3794 "configure"' > conftest.$ac_ext 3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3796 (eval $ac_compile) 2>&5 3797 ac_status=$? 3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3799 (exit $ac_status); }; then 3800 if test "$lt_cv_prog_gnu_ld" = yes; then |
1981 case `/usr/bin/file conftest.$ac_objext` in 1982 *32-bit*) | 3801 case `/usr/bin/file conftest.$ac_objext` in 3802 *32-bit*) |
3803 LD="${LD-ld} -melf32bsmip" 3804 ;; 3805 *N32*) 3806 LD="${LD-ld} -melf32bmipn32" 3807 ;; 3808 *64-bit*) 3809 LD="${LD-ld} -melf64bmip" 3810 ;; 3811 esac 3812 else 3813 case `/usr/bin/file conftest.$ac_objext` in 3814 *32-bit*) |
|
1983 LD="${LD-ld} -32" 1984 ;; 1985 *N32*) 1986 LD="${LD-ld} -n32" 1987 ;; 1988 *64-bit*) 1989 LD="${LD-ld} -64" 1990 ;; 1991 esac | 3815 LD="${LD-ld} -32" 3816 ;; 3817 *N32*) 3818 LD="${LD-ld} -n32" 3819 ;; 3820 *64-bit*) 3821 LD="${LD-ld} -64" 3822 ;; 3823 esac |
3824 fi |
|
1992 fi 1993 rm -rf conftest* 1994 ;; 1995 1996ia64-*-hpux*) 1997 # Find out which ABI we are using. 1998 echo 'int i;' > conftest.$ac_ext | 3825 fi 3826 rm -rf conftest* 3827 ;; 3828 3829ia64-*-hpux*) 3830 # Find out which ABI we are using. 3831 echo 'int i;' > conftest.$ac_ext |
1999 if { (eval echo configure:2000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3833 (eval $ac_compile) 2>&5 3834 ac_status=$? 3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3836 (exit $ac_status); }; then |
2000 case "`/usr/bin/file conftest.o`" in 2001 *ELF-32*) 2002 HPUX_IA64_MODE="32" 2003 ;; 2004 *ELF-64*) 2005 HPUX_IA64_MODE="64" 2006 ;; 2007 esac 2008 fi 2009 rm -rf conftest* 2010 ;; 2011 2012*-*-sco3.2v5*) 2013 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 2014 SAVE_CFLAGS="$CFLAGS" 2015 CFLAGS="$CFLAGS -belf" | 3837 case "`/usr/bin/file conftest.o`" in 3838 *ELF-32*) 3839 HPUX_IA64_MODE="32" 3840 ;; 3841 *ELF-64*) 3842 HPUX_IA64_MODE="64" 3843 ;; 3844 esac 3845 fi 3846 rm -rf conftest* 3847 ;; 3848 3849*-*-sco3.2v5*) 3850 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 3851 SAVE_CFLAGS="$CFLAGS" 3852 CFLAGS="$CFLAGS -belf" |
2016 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2017echo "configure:2018: checking whether the C compiler needs -belf" >&5 2018if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2019 echo $ac_n "(cached) $ac_c" 1>&6 | 3853 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 3854echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 3855if test "${lt_cv_cc_needs_belf+set}" = set; then 3856 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2020else | 3857else |
2021 | 3858 3859 |
2022 ac_ext=c | 3860 ac_ext=c |
2023# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
2024ac_cpp='$CPP $CPPFLAGS' | 3861ac_cpp='$CPP $CPPFLAGS' |
2025ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2026ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2027cross_compiling=$ac_cv_prog_cc_cross | 3862ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3863ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3864ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2028 | 3865 |
2029 cat > conftest.$ac_ext <<EOF 2030#line 2031 "configure" 2031#include "confdefs.h" | 3866 cat >conftest.$ac_ext <<_ACEOF 3867/* confdefs.h. */ 3868_ACEOF 3869cat confdefs.h >>conftest.$ac_ext 3870cat >>conftest.$ac_ext <<_ACEOF 3871/* end confdefs.h. */ |
2032 | 3872 |
2033int main() { | 3873int 3874main () 3875{ |
2034 | 3876 |
2035; return 0; } 2036EOF 2037if { (eval echo configure:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2038 rm -rf conftest* | 3877 ; 3878 return 0; 3879} 3880_ACEOF 3881rm -f conftest.$ac_objext conftest$ac_exeext 3882if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3883 (eval $ac_link) 2>conftest.er1 3884 ac_status=$? 3885 grep -v '^ *+' conftest.er1 >conftest.err 3886 rm -f conftest.er1 3887 cat conftest.err >&5 3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3889 (exit $ac_status); } && 3890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3892 (eval $ac_try) 2>&5 3893 ac_status=$? 3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3895 (exit $ac_status); }; } && 3896 { ac_try='test -s conftest$ac_exeext' 3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3898 (eval $ac_try) 2>&5 3899 ac_status=$? 3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3901 (exit $ac_status); }; }; then |
2039 lt_cv_cc_needs_belf=yes 2040else | 3902 lt_cv_cc_needs_belf=yes 3903else |
2041 echo "configure: failed program was:" >&5 2042 cat conftest.$ac_ext >&5 2043 rm -rf conftest* 2044 lt_cv_cc_needs_belf=no | 3904 echo "$as_me: failed program was:" >&5 3905sed 's/^/| /' conftest.$ac_ext >&5 3906 3907lt_cv_cc_needs_belf=no |
2045fi | 3908fi |
2046rm -f conftest* | 3909rm -f conftest.err conftest.$ac_objext \ 3910 conftest$ac_exeext conftest.$ac_ext |
2047 ac_ext=c | 3911 ac_ext=c |
2048# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
2049ac_cpp='$CPP $CPPFLAGS' | 3912ac_cpp='$CPP $CPPFLAGS' |
2050ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2051ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2052cross_compiling=$ac_cv_prog_cc_cross | 3913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3915ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2053 2054fi | 3916 3917fi |
2055 2056echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | 3918echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 3919echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
2057 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 2058 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 2059 CFLAGS="$SAVE_CFLAGS" 2060 fi 2061 ;; 2062 2063 2064esac 2065 2066 2067# Save cache, so that ltconfig can load it | 3920 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 3921 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 3922 CFLAGS="$SAVE_CFLAGS" 3923 fi 3924 ;; 3925 3926 3927esac 3928 3929 3930# Save cache, so that ltconfig can load it |
2068cat > confcache <<\EOF | 3931cat >confcache <<\_ACEOF |
2069# This file is a shell script that caches the results of configure 2070# tests run on this system so they can be shared between configure | 3932# This file is a shell script that caches the results of configure 3933# tests run on this system so they can be shared between configure |
2071# scripts and configure runs. It is not useful on other systems. 2072# If it contains results you don't want to keep, you may remove or edit it. | 3934# scripts and configure runs, see configure's option --config-cache. 3935# It is not useful on other systems. If it contains results you don't 3936# want to keep, you may remove or edit it. |
2073# | 3937# |
2074# By default, configure uses ./config.cache as the cache file, 2075# creating it if it does not exist already. You can give configure 2076# the --cache-file=FILE option to use a different cache file; that is 2077# what configure does when it calls configure scripts in 2078# subdirectories, so they share the cache. 2079# Giving --cache-file=/dev/null disables caching, for debugging configure. 2080# config.status only pays attention to the cache file if you give it the 2081# --recheck option to rerun configure. | 3938# config.status only pays attention to the cache file if you give it 3939# the --recheck option to rerun configure. |
2082# | 3940# |
2083EOF | 3941# `ac_cv_env_foo' variables (set or unset) will be overridden when 3942# loading this file, other *unset* `ac_cv_foo' will be assigned the 3943# following values. 3944 3945_ACEOF 3946 |
2084# The following way of writing the cache mishandles newlines in values, 2085# but we know of no workaround that is simple, portable, and efficient. 2086# So, don't put newlines in cache variables' values. 2087# Ultrix sh set writes to stderr and can't be redirected directly, 2088# and sets the high bit in the cache file unless we assign to the vars. | 3947# The following way of writing the cache mishandles newlines in values, 3948# but we know of no workaround that is simple, portable, and efficient. 3949# So, don't put newlines in cache variables' values. 3950# Ultrix sh set writes to stderr and can't be redirected directly, 3951# and sets the high bit in the cache file unless we assign to the vars. |
2089(set) 2>&1 | 2090 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2091 *ac_space=\ *) 2092 # `set' does not quote correctly, so add quotes (double-quote substitution 2093 # turns \\\\ into \\, and sed turns \\ into \). 2094 sed -n \ 2095 -e "s/'/'\\\\''/g" \ 2096 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 2097 ;; 2098 *) 2099 # `set' quotes correctly as required by POSIX, so do not add quotes. 2100 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 2101 ;; 2102 esac >> confcache 2103if cmp -s $cache_file confcache; then 2104 : 2105else | 3952{ 3953 (set) 2>&1 | 3954 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3955 *ac_space=\ *) 3956 # `set' does not quote correctly, so add quotes (double-quote 3957 # substitution turns \\\\ into \\, and sed turns \\ into \). 3958 sed -n \ 3959 "s/'/'\\\\''/g; 3960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3961 ;; 3962 *) 3963 # `set' quotes correctly as required by POSIX, so do not add quotes. 3964 sed -n \ 3965 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3966 ;; 3967 esac; 3968} | 3969 sed ' 3970 t clear 3971 : clear 3972 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3973 t end 3974 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3975 : end' >>confcache 3976if diff $cache_file confcache >/dev/null 2>&1; then :; else |
2106 if test -w $cache_file; then | 3977 if test -w $cache_file; then |
2107 echo "updating cache $cache_file" 2108 cat confcache > $cache_file | 3978 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3979 cat confcache >$cache_file |
2109 else 2110 echo "not updating unwritable cache $cache_file" 2111 fi 2112fi 2113rm -f confcache 2114 | 3980 else 3981 echo "not updating unwritable cache $cache_file" 3982 fi 3983fi 3984rm -f confcache 3985 |
2115 | |
2116# Actually configure libtool. ac_aux_dir is where install-sh is found. 2117AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ 2118MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ 2119LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ 2120AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ 2121objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ 2122deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ 2123${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ 2124$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ | 3986# Actually configure libtool. ac_aux_dir is where install-sh is found. 3987AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ 3988MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ 3989LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ 3990AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ 3991objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ 3992deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ 3993${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ 3994$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ |
2125|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } | 3995|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5 3996echo "$as_me: error: libtool configure failed" >&2;} 3997 { (exit 1); exit 1; }; } |
2126 2127# Reload cache, that may have been modified by ltconfig 2128if test -r "$cache_file"; then | 3998 3999# Reload cache, that may have been modified by ltconfig 4000if test -r "$cache_file"; then |
2129 echo "loading cache $cache_file" 2130 . $cache_file | 4001 # Some versions of bash will fail to source /dev/null (special 4002 # files actually), so we avoid doing that. 4003 if test -f "$cache_file"; then 4004 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 4005echo "$as_me: loading cache $cache_file" >&6;} 4006 case $cache_file in 4007 [\\/]* | ?:[\\/]* ) . $cache_file;; 4008 *) . ./$cache_file;; 4009 esac 4010 fi |
2131else | 4011else |
2132 echo "creating cache $cache_file" 2133 > $cache_file | 4012 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 4013echo "$as_me: creating cache $cache_file" >&6;} 4014 >$cache_file |
2134fi 2135 2136 2137# This can be used to rebuild libtool when needed 2138LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh" 2139 2140# Always use our own libtool. 2141LIBTOOL='$(SHELL) $(top_builddir)/libtool' 2142 2143# Redirect the config.log output again, so that the ltconfig log is not 2144# clobbered by the next message. 2145exec 5>>./config.log 2146 | 4015fi 4016 4017 4018# This can be used to rebuild libtool when needed 4019LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh" 4020 4021# Always use our own libtool. 4022LIBTOOL='$(SHELL) $(top_builddir)/libtool' 4023 4024# Redirect the config.log output again, so that the ltconfig log is not 4025# clobbered by the next message. 4026exec 5>>./config.log 4027 |
2147 | |
2148 | 4028 |
2149 2150 2151 | |
2152 | 4029 |
4030 4031 4032 4033 |
|
2153user_bfd_gas= 2154# Check whether --enable-bfd-assembler or --disable-bfd-assembler was given. 2155if test "${enable_bfd_assembler+set}" = set; then 2156 enableval="$enable_bfd_assembler" 2157 case "${enableval}" in 2158 yes) need_bfd=yes user_bfd_gas=yes ;; 2159 no) user_bfd_gas=no ;; | 4034user_bfd_gas= 4035# Check whether --enable-bfd-assembler or --disable-bfd-assembler was given. 4036if test "${enable_bfd_assembler+set}" = set; then 4037 enableval="$enable_bfd_assembler" 4038 case "${enableval}" in 4039 yes) need_bfd=yes user_bfd_gas=yes ;; 4040 no) user_bfd_gas=no ;; |
2160 *) { echo "configure: error: bad value ${enableval} given for bfd-assembler option" 1>&2; exit 1; } ;; | 4041 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} given for bfd-assembler option" >&5 4042echo "$as_me: error: bad value ${enableval} given for bfd-assembler option" >&2;} 4043 { (exit 1); exit 1; }; } ;; |
2161esac | 4044esac |
2162fi 2163# Check whether --enable-targets or --disable-targets was given. | 4045fi; # Check whether --enable-targets or --disable-targets was given. |
2164if test "${enable_targets+set}" = set; then 2165 enableval="$enable_targets" 2166 case "${enableval}" in | 4046if test "${enable_targets+set}" = set; then 4047 enableval="$enable_targets" 4048 case "${enableval}" in |
2167 yes | "") { echo "configure: error: enable-targets option must specify target names or 'all'" 1>&2; exit 1; } | 4049 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5 4050echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;} 4051 { (exit 1); exit 1; }; } |
2168 ;; 2169 no) enable_targets= ;; 2170 *) enable_targets=$enableval ;; 2171esac | 4052 ;; 4053 no) enable_targets= ;; 4054 *) enable_targets=$enableval ;; 4055esac |
2172fi 2173# Check whether --enable-commonbfdlib or --disable-commonbfdlib was given. | 4056fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given. |
2174if test "${enable_commonbfdlib+set}" = set; then 2175 enableval="$enable_commonbfdlib" 2176 case "${enableval}" in 2177 yes) commonbfdlib=true ;; 2178 no) commonbfdlib=false ;; | 4057if test "${enable_commonbfdlib+set}" = set; then 4058 enableval="$enable_commonbfdlib" 4059 case "${enableval}" in 4060 yes) commonbfdlib=true ;; 4061 no) commonbfdlib=false ;; |
2179 *) { echo "configure: error: bad value ${enableval} for BFD commonbfdlib option" 1>&2; exit 1; } ;; | 4062 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5 4063echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;} 4064 { (exit 1); exit 1; }; } ;; |
2180esac | 4065esac |
2181fi 2182 | 4066fi; |
2183using_cgen=no 2184 2185build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 2186# Check whether --enable-build-warnings or --disable-build-warnings was given. 2187if test "${enable_build_warnings+set}" = set; then 2188 enableval="$enable_build_warnings" 2189 case "${enableval}" in 2190 yes) ;; 2191 no) build_warnings="-w";; 2192 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` 2193 build_warnings="${build_warnings} ${t}";; 2194 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 2195 build_warnings="${t} ${build_warnings}";; 2196 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 2197esac 2198if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then 2199 echo "Setting warning flags = $build_warnings" 6>&1 2200fi | 4067using_cgen=no 4068 4069build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" 4070# Check whether --enable-build-warnings or --disable-build-warnings was given. 4071if test "${enable_build_warnings+set}" = set; then 4072 enableval="$enable_build_warnings" 4073 case "${enableval}" in 4074 yes) ;; 4075 no) build_warnings="-w";; 4076 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` 4077 build_warnings="${build_warnings} ${t}";; 4078 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 4079 build_warnings="${t} ${build_warnings}";; 4080 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 4081esac 4082if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then 4083 echo "Setting warning flags = $build_warnings" 6>&1 4084fi |
2201fi 2202WARN_CFLAGS="" | 4085fi; WARN_CFLAGS="" |
2203if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then 2204 WARN_CFLAGS="${build_warnings}" 2205fi 2206 2207 2208# Generate a header file | 4086if test "x${build_warnings}" != x -a "x$GCC" = xyes ; then 4087 WARN_CFLAGS="${build_warnings}" 4088fi 4089 4090 4091# Generate a header file |
4092 ac_config_headers="$ac_config_headers config.h:config.in" |
|
2209 2210 | 4093 4094 |
2211 2212 | |
2213# If we are on a DOS filesystem, we must use gdb.ini rather than 2214# .gdbinit. | 4095# If we are on a DOS filesystem, we must use gdb.ini rather than 4096# .gdbinit. |
2215GDBINIT=".gdbinit" | |
2216case "${host}" in | 4097case "${host}" in |
2217 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) | 4098 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-windows*) |
2218 GDBINIT="gdb.ini" | 4099 GDBINIT="gdb.ini" |
4100 ac_config_files="$ac_config_files gdb.ini:gdbinit.in" 4101 |
|
2219 ;; | 4102 ;; |
4103 *) 4104 GDBINIT=".gdbinit" 4105 ac_config_files="$ac_config_files .gdbinit:gdbinit.in" 4106 4107 ;; |
|
2220esac 2221 2222 2223te_file=generic 2224 2225# Makefile target for installing gas in $(tooldir)/bin. 2226install_tooldir=install-exec-tooldir 2227 --- 33 unchanged lines hidden (view full) --- 2261for this_target in $target $canon_targets ; do 2262 2263 eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'` 2264 2265 # check for architecture variants 2266 arch= 2267 endian= 2268 case ${cpu} in | 4108esac 4109 4110 4111te_file=generic 4112 4113# Makefile target for installing gas in $(tooldir)/bin. 4114install_tooldir=install-exec-tooldir 4115 --- 33 unchanged lines hidden (view full) --- 4149for this_target in $target $canon_targets ; do 4150 4151 eval `echo $this_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/cpu=\1 vendor=\2 os=\3/'` 4152 4153 # check for architecture variants 4154 arch= 4155 endian= 4156 case ${cpu} in |
4157 am33_2.0) cpu_type=mn10300 endian=little ;; |
|
2269 alpha*) cpu_type=alpha ;; 2270 arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;; 2271 arm*|xscale*|strongarm*) cpu_type=arm endian=little ;; | 4158 alpha*) cpu_type=alpha ;; 4159 arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;; 4160 arm*|xscale*|strongarm*) cpu_type=arm endian=little ;; |
4161 c4x*) cpu_type=tic4x ;; |
|
2272 hppa*) cpu_type=hppa ;; | 4162 hppa*) cpu_type=hppa ;; |
2273 i[3456]86) cpu_type=i386 arch=i386;; | 4163 i[3-7]86) cpu_type=i386 arch=i386;; |
2274 x86_64) cpu_type=i386 arch=x86_64;; 2275 ia64) cpu_type=ia64 ;; | 4164 x86_64) cpu_type=i386 arch=x86_64;; 4165 ia64) cpu_type=ia64 ;; |
4166 ip2k) cpu_type=ip2k endian=big ;; 4167 iq2000) cpu_type=iq2000 endian=big ;; |
|
2276 m6811|m6812|m68hc12) cpu_type=m68hc11 ;; 2277 m680[012346]0) cpu_type=m68k ;; 2278 m68008) cpu_type=m68k ;; 2279 m683??) cpu_type=m68k ;; 2280 m5200) cpu_type=m68k ;; 2281 m8*) cpu_type=m88k ;; 2282 mips*el) cpu_type=mips endian=little ;; 2283 mips*) cpu_type=mips endian=big ;; --- 12 unchanged lines hidden (view full) --- 2296 sh*le) cpu_type=sh endian=little ;; 2297 sh*) cpu_type=sh endian=big ;; 2298 sparclite*) cpu_type=sparc arch=sparclite ;; 2299 sparclet*) cpu_type=sparc arch=sparclet ;; 2300 sparc64*) cpu_type=sparc arch=v9-64 ;; 2301 sparc86x*) cpu_type=sparc arch=sparc86x ;; 2302 sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. 2303 v850*) cpu_type=v850 ;; | 4168 m6811|m6812|m68hc12) cpu_type=m68hc11 ;; 4169 m680[012346]0) cpu_type=m68k ;; 4170 m68008) cpu_type=m68k ;; 4171 m683??) cpu_type=m68k ;; 4172 m5200) cpu_type=m68k ;; 4173 m8*) cpu_type=m88k ;; 4174 mips*el) cpu_type=mips endian=little ;; 4175 mips*) cpu_type=mips endian=big ;; --- 12 unchanged lines hidden (view full) --- 4188 sh*le) cpu_type=sh endian=little ;; 4189 sh*) cpu_type=sh endian=big ;; 4190 sparclite*) cpu_type=sparc arch=sparclite ;; 4191 sparclet*) cpu_type=sparc arch=sparclet ;; 4192 sparc64*) cpu_type=sparc arch=v9-64 ;; 4193 sparc86x*) cpu_type=sparc arch=sparc86x ;; 4194 sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. 4195 v850*) cpu_type=v850 ;; |
4196 xtensa*) cpu_type=xtensa arch=xtensa ;; 4197 m32r) cpu_type=m32r target_cpu=m32r endian=big ;; 4198 m32rle) cpu_type=m32r target_cpu=m32r endian=little ;; |
|
2304 *) cpu_type=${cpu} ;; 2305 esac 2306 2307 if test ${this_target} = $target ; then 2308 target_cpu_type=${cpu_type} 2309 elif test ${target_cpu_type} != ${cpu_type} ; then 2310 continue 2311 fi 2312 2313 generic_target=${cpu_type}-$vendor-$os 2314 dev=no 2315 bfd_gas=no 2316 em=generic 2317 2318 # assign object format 2319 case ${generic_target} in | 4199 *) cpu_type=${cpu} ;; 4200 esac 4201 4202 if test ${this_target} = $target ; then 4203 target_cpu_type=${cpu_type} 4204 elif test ${target_cpu_type} != ${cpu_type} ; then 4205 continue 4206 fi 4207 4208 generic_target=${cpu_type}-$vendor-$os 4209 dev=no 4210 bfd_gas=no 4211 em=generic 4212 4213 # assign object format 4214 case ${generic_target} in |
2320 a29k-*-coff) fmt=coff ;; 2321 a29k-amd-udi) fmt=coff ;; 2322 a29k-amd-ebmon) fmt=coff ;; 2323 a29k-nyu-sym1) fmt=coff ;; 2324 a29k-*-rtems*) fmt=coff ;; 2325 a29k-*-vxworks*) fmt=coff ;; | 4215 a29k-*-coff) fmt=coff ;; 4216 a29k-amd-udi) fmt=coff ;; 4217 a29k-amd-ebmon) fmt=coff ;; 4218 a29k-nyu-sym1) fmt=coff ;; 4219 a29k-*-rtems*) fmt=coff ;; 4220 a29k-*-vxworks*) fmt=coff ;; |
2326 | 4221 |
2327 alpha*-*-*vms*) fmt=evax ;; 2328 alpha*-*-netware*) fmt=ecoff ;; 2329 alpha*-*-osf*) fmt=ecoff ;; 2330 alpha*-*-linuxecoff*) fmt=ecoff ;; 2331 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 2332 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 2333 alpha*-*-openbsd*) fmt=elf em=obsd ;; | 4222 alpha*-*-*vms*) fmt=evax ;; 4223 alpha*-*-netware*) fmt=ecoff ;; 4224 alpha*-*-osf*) fmt=ecoff ;; 4225 alpha*-*-linuxecoff*) fmt=ecoff ;; 4226 alpha*-*-linux-gnu*) fmt=elf em=linux ;; 4227 alpha*-*-netbsd*) fmt=elf em=nbsd ;; 4228 alpha*-*-openbsd*) fmt=elf em=obsd ;; |
2334 | 4229 |
2335 arc-*-elf*) fmt=elf bfd_gas=yes ;; | 4230 # cpu_type for am33_2.0 is set to mn10300 4231 mn10300-*-linux*) fmt=elf bfd_gas=yes em=linux ;; |
2336 | 4232 |
2337 arm-*-aout) fmt=aout ;; 2338 arm-*-coff | thumb-*-coff) fmt=coff ;; 2339 arm-*-rtems | thumb-*-rtems) fmt=elf ;; 2340 arm-*-elf | thumb-*-elf) fmt=elf ;; | 4233 arc-*-elf*) fmt=elf ;; 4234 4235 arm-*-aout) fmt=aout ;; 4236 arm-*-coff | thumb-*-coff) fmt=coff ;; 4237 arm-*-rtems* | thumb-*-rtems*) fmt=elf ;; 4238 arm-*-elf | thumb-*-elf) fmt=elf ;; 4239 arm-*-kaos*) fmt=elf ;; |
2341 arm*-*-conix*) fmt=elf ;; | 4240 arm*-*-conix*) fmt=elf ;; |
2342 arm-*-linux*aout*) fmt=aout em=linux ;; 2343 arm*-*-linux-gnu* | arm*-*-uclinux*) 2344 fmt=elf em=linux ;; | 4241 arm-*-linux*aout*) fmt=aout em=linux ;; 4242 arm*-*-linux-gnu*) fmt=elf em=linux ;; 4243 arm*-*-uclinux*) fmt=elf em=linux ;; |
2345 arm-*-netbsdelf*) fmt=elf em=nbsd ;; | 4244 arm-*-netbsdelf*) fmt=elf em=nbsd ;; |
2346 arm-*-netbsd* | arm-*-openbsd*) fmt=aout em=nbsd ;; 2347 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 2348 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 2349 arm-*-wince) fmt=coff em=wince-pe ;; 2350 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 2351 arm-*-riscix*) fmt=aout em=riscix ;; 2352 arm-*-vxworks) fmt=coff ;; | 4245 arm-*-*n*bsd*) fmt=aout em=nbsd ;; 4246 arm-**-nto*) fmt=elf ;; 4247 arm-*-oabi | thumb-*-oabi) fmt=elf ;; 4248 arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; 4249 arm-wince-pe | arm-*-wince) fmt=coff em=wince-pe ;; 4250 arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; 4251 arm-*-riscix*) fmt=aout em=riscix ;; |
2353 | 4252 |
2354 avr-*-*) fmt=elf bfd_gas=yes ;; | 4253 avr-*-*) fmt=elf ;; |
2355 | 4254 |
2356 cris-*-*) fmt=multi bfd_gas=yes ;; | 4255 cris-*-linux-gnu*) fmt=multi bfd_gas=yes em=linux ;; 4256 cris-*-*) fmt=multi bfd_gas=yes ;; |
2357 | 4257 |
2358 d10v-*-*) fmt=elf bfd_gas=yes ;; 2359 d30v-*-*) fmt=elf bfd_gas=yes ;; 2360 dlx-*-*) fmt=elf ;; | 4258 d10v-*-*) fmt=elf ;; 4259 d30v-*-*) fmt=elf ;; 4260 dlx-*-*) fmt=elf ;; |
2361 | 4261 |
4262 fr30-*-*) fmt=elf ;; 4263 frv-*-*linux*) fmt=elf em=linux;; 4264 frv-*-*) fmt=elf ;; |
|
2362 | 4265 |
2363 fr30-*-*) fmt=elf bfd_gas=yes ;; 2364 frv-*-*) fmt=elf bfd_gas=yes ;; | 4266 hppa-*-linux*) case ${cpu} in 4267 hppa*64*) fmt=elf em=hppalinux64;; 4268 hppa*) fmt=elf em=linux;; 4269 esac ;; 4270 hppa-*-*elf*) fmt=elf em=hppa ;; 4271 hppa-*-lites*) fmt=elf em=hppa ;; 4272 hppa-*-netbsd*) fmt=elf em=nbsd ;; 4273 hppa-*-openbsd*) fmt=elf em=hppa ;; 4274 hppa-*-osf*) fmt=som em=hppa ;; 4275 hppa-*-rtems*) fmt=elf em=hppa ;; 4276 hppa-*-hpux11*) case ${cpu} in 4277 hppa*64*) fmt=elf em=hppa64 ;; 4278 hppa*) fmt=som em=hppa ;; 4279 esac ;; 4280 hppa-*-hpux*) fmt=som em=hppa ;; 4281 hppa-*-mpeix*) fmt=som em=hppa ;; 4282 hppa-*-bsd*) fmt=som em=hppa ;; 4283 hppa-*-hiux*) fmt=som em=hppa ;; |
2365 | 4284 |
2366 hppa-*-linux-gnu*) case ${cpu} in 2367 hppa*64*) 2368 fmt=elf em=hppalinux64;; 2369 hppa*) 2370 fmt=elf em=linux;; 2371 esac ;; 2372 hppa-*-*elf*) fmt=elf em=hppa ;; 2373 hppa-*-lites*) fmt=elf em=hppa ;; 2374 hppa-*-netbsd*) fmt=elf em=nbsd ;; 2375 hppa-*-openbsd*) fmt=elf em=hppa ;; 2376 hppa-*-osf*) fmt=som em=hppa ;; 2377 hppa-*-rtems*) fmt=elf em=hppa ;; 2378 hppa-*-hpux11*) case ${cpu} in 2379 hppa*64*) 2380 fmt=elf em=hppa64 ;; 2381 hppa*) 2382 fmt=som em=hppa ;; 2383 esac ;; 2384 hppa-*-hpux*) fmt=som em=hppa ;; 2385 hppa-*-mpeix*) fmt=som em=hppa ;; 2386 hppa-*-bsd*) fmt=som em=hppa ;; 2387 hppa-*-hiux*) fmt=som em=hppa ;; | 4285 h8300-*-rtems*) fmt=coff ;; 4286 h8300-*-coff) fmt=coff ;; 4287 h8300-*-elf) fmt=elf ;; 4288 h8500-*-rtems*) fmt=coff ;; 4289 h8500-*-coff) fmt=coff ;; |
2388 | 4290 |
2389 h8300-*-rtems*) fmt=coff ;; 2390 h8300-*-coff) fmt=coff ;; 2391 h8300-*-elf) fmt=elf ;; 2392 h8500-*-rtems*) fmt=coff ;; 2393 h8500-*-coff) fmt=coff ;; | 4291 i370-*-elf* | i370-*-linux*) fmt=elf ;; 4292 i386-ibm-aix*) fmt=coff em=i386aix ;; 4293 i386-sequent-bsd*) fmt=aout em=dynix ;; 4294 i386-*-beospe*) fmt=coff em=pe ;; 4295 i386-*-beos*) fmt=elf ;; 4296 i386-*-coff) fmt=coff ;; 4297 i386-*-elf) fmt=elf ;; 4298 i386-*-kaos*) fmt=elf ;; 4299 i386-*-bsd*) fmt=aout em=386bsd ;; 4300 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 4301 i386-*-netbsdpe*) fmt=coff em=pe ;; 4302 i386-*-netbsd*-gnu* | \ 4303 i386-*-knetbsd*-gnu | \ 4304 i386-*-netbsdelf*) fmt=elf em=nbsd ;; 4305 i386-*-*n*bsd*) case ${cpu} in 4306 x86_64) fmt=elf em=nbsd ;; 4307 *) fmt=aout em=nbsd ;; 4308 esac ;; 4309 i386-*-linux*aout*) fmt=aout em=linux ;; 4310 i386-*-linux*oldld) fmt=aout em=linux ;; 4311 i386-*-linux*coff*) fmt=coff em=linux ;; 4312 i386-*-linux-gnu*) fmt=elf em=linux ;; 4313 x86_64-*-linux-gnu*) fmt=elf em=linux ;; 4314 i386-*-lynxos*) fmt=coff em=lynx ;; 4315 i386-*-sysv[45]*) fmt=elf ;; 4316 i386-*-solaris*) fmt=elf ;; 4317 i386-*-freebsdaout*) fmt=aout em=386bsd ;; 4318 i386-*-freebsd[12].*) fmt=aout em=386bsd ;; 4319 i386-*-freebsd[12]) fmt=aout em=386bsd ;; 4320 i386-*-freebsd* | i386-*-kfreebsd*-gnu) 4321 fmt=elf em=freebsd ;; 4322 i386-*-sysv*) fmt=coff ;; 4323 i386-*-sco3.2v5*coff) fmt=coff ;; 4324 i386-*-isc*) fmt=coff ;; 4325 i386-*-sco3.2v5*) fmt=elf 4326 if test ${this_target} = $target; then |
2394 | 4327 |
2395 i370-*-elf* | i370-*-linux*) fmt=elf ;; 2396 i386-ibm-aix*) fmt=coff em=i386aix ;; 2397 i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;; 2398 i386-*-beospe*) fmt=coff em=pe bfd_gas=yes ;; 2399 i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;; 2400 i386-*-bsd*) fmt=aout em=386bsd ;; 2401 i386-*-netbsd0.8) fmt=aout em=386bsd ;; 2402 i386-*-netbsdpe*) fmt=coff em=pe bfd_gas=yes ;; 2403 i386-*-netbsd*) em=nbsd bfd_gas=yes 2404 case ${cpu} in 2405 x86_64) fmt=elf ;; 2406 *) case ${os} in 2407 *elf*) fmt=elf ;; 2408 *) fmt=aout ;; 2409 esac 2410 ;; 2411 esac 2412 ;; 2413 i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; 2414 i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;; 2415 i386-*-linux*coff*) fmt=coff em=linux ;; 2416 i386-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2417 x86_64-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 2418 i386-*-lynxos*) fmt=coff em=lynx ;; 2419 i386-*-sysv[45]* | i386-*-solaris* | i386-*-elf) 2420 fmt=elf bfd_gas=yes ;; 2421 i386-*-freebsdaout* | i386-*-freebsd[12].* | i386-*-freebsd[12]) 2422 fmt=aout em=386bsd ;; 2423 i386-*-coff | i386-*-sysv* | i386-*-sco3.2v5*coff | i386-*-isc*) 2424 fmt=coff ;; 2425 i386-*-sco3.2v5*) fmt=elf 2426 if test ${this_target} = $target; then 2427 cat >> confdefs.h <<\EOF | 4328cat >>confdefs.h <<\_ACEOF |
2428#define SCO_ELF 1 | 4329#define SCO_ELF 1 |
2429EOF | 4330_ACEOF |
2430 | 4331 |
2431 fi 2432 ;; 2433 i386-*-sco3.2*) fmt=coff ;; 2434 i386-*-vsta) fmt=aout ;; 2435 i386-*-msdosdjgpp* | i386-*-go32* | i386-go32-rtems*) 2436 fmt=coff em=go32 bfd_gas=yes 2437 cat >> confdefs.h <<\EOF | 4332 fi ;; 4333 i386-*-sco3.2*) fmt=coff ;; 4334 i386-*-vsta) fmt=aout ;; 4335 i386-*-msdosdjgpp* \ 4336 | i386-*-go32* \ 4337 | i386-go32-rtems*) fmt=coff em=go32 4338 4339cat >>confdefs.h <<\_ACEOF |
2438#define STRICTCOFF 1 | 4340#define STRICTCOFF 1 |
2439EOF | 4341_ACEOF 4342 ;; 4343 i386-*-rtemself*) fmt=elf ;; 4344 i386-*-rtemscoff*) fmt=coff ;; 4345 i386-*-rtems*) fmt=elf ;; 4346 i386-*-gnu*) fmt=elf ;; 4347 i386-*-mach*) fmt=aout em=mach ;; 4348 i386-*-msdos*) fmt=aout ;; 4349 i386-*-moss*) fmt=elf ;; 4350 i386-*-pe) fmt=coff em=pe ;; 4351 i386-*-cygwin*) fmt=coff em=pe ;; 4352 i386-*-interix*) fmt=coff em=interix ;; 4353 i386-*-mingw32*) fmt=coff em=pe ;; 4354 i386-*-nto-qnx*) fmt=elf ;; 4355 i386-*-*nt*) fmt=coff em=pe ;; 4356 i386-*-chaos) fmt=elf ;; |
2440 | 4357 |
2441 ;; 2442 i386-*-rtemself*) fmt=elf ;; 2443 i386-*-rtemscoff*) fmt=coff ;; 2444 i386-*-rtems*) fmt=elf ;; 2445 i386-*-gnu*) fmt=elf ;; 2446 i386-*-mach*) 2447 fmt=aout em=mach bfd_gas=yes ;; 2448 i386-*-msdos*) fmt=aout ;; 2449 i386-*-moss*) fmt=elf ;; 2450 i386-*-pe) fmt=coff em=pe bfd_gas=yes ;; 2451 i386-*-cygwin*) fmt=coff em=pe bfd_gas=yes ;; 2452 i386-*-interix*) fmt=coff em=interix bfd_gas=yes ;; 2453 i386-*-mingw32*) fmt=coff em=pe bfd_gas=yes ;; 2454 i386-*-nto-qnx*) fmt=elf ;; 2455 i386-*-*nt*) fmt=coff em=pe bfd_gas=yes ;; 2456 i386-*-vxworks*) fmt=aout ;; 2457 i386-*-chaos) fmt=elf ;; 2458 i860-stardent-sysv4* | i860-stardent-elf*) 2459 fmt=elf bfd_gas=yes endian=little 2460 echo "configure: warning: GAS support for ${generic_target} is preliminary and a work in progress" 1>&2 ;; 2461 i960-*-bout) fmt=bout ;; 2462 i960-*-coff) fmt=coff em=ic960 ;; 2463 i960-*-rtems*) fmt=coff em=ic960 ;; 2464 i960-*-nindy*) fmt=bout ;; 2465 i960-*-vxworks4*) fmt=bout ;; 2466 i960-*-vxworks5.0) fmt=bout ;; 2467 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 2468 i960-*-vxworks*) fmt=bout ;; 2469 i960-*-elf*) fmt=elf ;; | 4358 i860-*-*) fmt=elf endian=little 4359 { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5 4360echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;} ;; 4361 i960-*-bout) fmt=bout ;; 4362 i960-*-coff) fmt=coff em=ic960 ;; 4363 i960-*-rtems*) fmt=coff em=ic960 ;; 4364 i960-*-nindy*) fmt=bout ;; 4365 i960-*-vxworks5.0) fmt=bout ;; 4366 i960-*-vxworks5.*) fmt=coff em=ic960 ;; 4367 i960-*-vxworks*) fmt=bout ;; 4368 i960-*-elf*) fmt=elf ;; |
2470 | 4369 |
2471 ia64-*-elf*) fmt=elf ;; 2472 ia64-*-aix*) fmt=elf em=ia64aix ;; 2473 ia64-*-linux-gnu*) fmt=elf em=linux ;; 2474 ia64-*-hpux*) fmt=elf em=hpux ;; 2475 ia64-*-netbsd*) fmt=elf em=nbsd ;; | 4370 ia64-*-elf*) fmt=elf ;; 4371 ia64-*-aix*) fmt=elf em=ia64aix ;; 4372 ia64-*-linux-gnu*) fmt=elf em=linux ;; 4373 ia64-*-hpux*) fmt=elf em=hpux ;; 4374 ia64-*-netbsd*) fmt=elf em=nbsd ;; |
2476 | 4375 |
2477 m32r-*-*) fmt=elf bfd_gas=yes ;; | 4376 ip2k-*-*) fmt=elf ;; |
2478 | 4377 |
2479 m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)fmt=elf bfd_gas=yes ;; | 4378 iq2000-*-elf) fmt=elf bfd_gas=yes ;; |
2480 | 4379 |
2481 m68k-*-vxworks* | m68k-ericsson-ose | m68k-*-sunos*) 2482 fmt=aout em=sun3 ;; 2483 m68k-motorola-sysv*) fmt=coff em=delta ;; 2484 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 2485 m68k-apollo-*) fmt=coff em=apollo ;; 2486 m68k-*-sysv4*) # must be before -sysv* 2487 fmt=elf em=svr4 ;; 2488 m68k-*-elf*) fmt=elf ;; 2489 m68k-*-coff | m68k-*-sysv* | m68k-*-rtemscoff*) 2490 fmt=coff ;; 2491 m68k-*-rtems*) fmt=elf ;; 2492 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 2493 m68k-*-linux*aout*) fmt=aout em=linux ;; 2494 m68k-*-linux-gnu*) fmt=elf em=linux ;; 2495 m68k-*-gnu*) fmt=elf ;; 2496 m68k-*-lynxos*) fmt=coff em=lynx ;; 2497 m68k-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes ;; 2498 m68k-*-netbsdaout* | m68k-*-netbsd*) 2499 fmt=aout em=nbsd bfd_gas=yes ;; 2500 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 2501 m68k-apple-aux*) fmt=coff em=aux ;; 2502 m68k-*-psos*) fmt=elf em=psos;; | 4380 m32r-*-elf*) fmt=elf ;; 4381 m32r-*-linux*) fmt=elf em=linux;; |
2503 | 4382 |
2504 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 2505 m88k-*-coff*) fmt=coff ;; | 4383 m68hc11-*-* | m6811-*-*) fmt=elf ;; 4384 m68hc12-*-* | m6812-*-*) fmt=elf ;; |
2506 | 4385 |
2507 mcore-*-elf) fmt=elf bfd_gas=yes ;; 2508 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; | 4386 m68k-*-vxworks*) fmt=aout em=sun3 ;; 4387 m68k-ericsson-ose) fmt=aout em=sun3 ;; 4388 m68k-*-sunos*) fmt=aout em=sun3 ;; 4389 m68k-motorola-sysv*) fmt=coff em=delta ;; 4390 m68k-bull-sysv3*) fmt=coff em=dpx2 ;; 4391 m68k-apollo-*) fmt=coff em=apollo ;; 4392 m68k-*-elf*) fmt=elf ;; 4393 m68k-*-sysv4*) fmt=elf em=svr4 ;; 4394 m68k-*-sysv*) fmt=coff ;; 4395 m68k-*-coff | m68k-*-rtemscoff*) fmt=coff ;; 4396 m68k-*-rtems*) fmt=elf ;; 4397 m68k-*-hpux*) fmt=hp300 em=hp300 ;; 4398 m68k-*-linux*aout*) fmt=aout em=linux ;; 4399 m68k-*-linux-gnu*) fmt=elf em=linux ;; 4400 m68k-*-uclinux*) fmt=elf ;; 4401 m68k-*-gnu*) fmt=elf ;; 4402 m68k-*-lynxos*) fmt=coff em=lynx ;; 4403 m68k-*-netbsdelf*) fmt=elf em=nbsd ;; 4404 m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 4405 m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; 4406 m68k-apple-aux*) fmt=coff em=aux ;; 4407 m68k-*-psos*) fmt=elf em=psos;; |
2509 | 4408 |
4409 m88k-motorola-sysv3*) fmt=coff em=delt88 ;; 4410 m88k-*-coff*) fmt=coff ;; 4411 4412 mcore-*-elf) fmt=elf ;; 4413 mcore-*-pe) fmt=coff em=pe bfd_gas=yes ;; 4414 |
|
2510 # don't change em like *-*-bsd does | 4415 # don't change em like *-*-bsd does |
2511 mips-dec-openbsd*) fmt=elf endian=little ;; 2512 mips-dec-bsd*) fmt=aout endian=little ;; 2513 mips-sony-bsd*) fmt=ecoff ;; 2514 mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;; 2515 mips-*-ultrix*) fmt=ecoff endian=little ;; 2516 mips-*-osf*) fmt=ecoff endian=little ;; 2517 mips-*-ecoff*) fmt=ecoff ;; 2518 mips-*-pe*) fmt=coff endian=little em=pe ;; 2519 mips-*-irix6*) fmt=elf ;; 2520 mips-*-irix5*) fmt=elf ;; 2521 mips-*-irix*) fmt=ecoff ;; 2522 mips-*-lnews*) fmt=ecoff em=lnews ;; 2523 mips-*-riscos*) fmt=ecoff ;; 2524 mips*-*-linux*) fmt=elf em=tmips ;; 2525 mips-*-sysv4*MP* | mips-*-gnu*) 2526 fmt=elf em=tmips ;; 2527 mips-*-sysv*) fmt=ecoff ;; 2528 mips-*-elf* | mips-*-rtems* | mips-*-netbsd* | mips-*-openbsd*) 2529 fmt=elf ;; 2530 mips-*-vxworks*) fmt=elf ;; 2531 mmix-*-*) fmt=elf bfd_gas=yes ;; 2532 mn10200-*-*) fmt=elf bfd_gas=yes ;; 2533 mn10300-*-*) fmt=elf bfd_gas=yes ;; 2534 openrisc-*-*) fmt=elf bfd_gas=yes ;; 2535 or32-*-rtems*) fmt=coff ;; 2536 or32-*-coff) fmt=coff ;; 2537 or32-*-elf) fmt=elf ;; 2538 pj*) fmt=elf ;; 2539 ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*) 2540 fmt=coff em=pe ;; 2541 ppc-*-aix5*) fmt=coff em=aix5 ;; 2542 ppc-*-aix*) fmt=coff ;; 2543 ppc-*-beos*) fmt=coff ;; 2544 ppc-*-*bsd* | ppc-*-elf* | ppc-*-eabi* | ppc-*-sysv4*) 2545 fmt=elf ;; 2546 ppc-*-linux-gnu*) fmt=elf 2547 case "$endian" in 2548 big) ;; 2549 *) { echo "configure: error: GNU/Linux must be configured big endian" 1>&2; exit 1; } ;; 2550 esac 2551 ;; 2552 ppc-*-solaris*) fmt=elf 2553 if test ${this_target} = $target; then 2554 cat >> confdefs.h <<\EOF | 4416 mips-dec-openbsd*) fmt=elf endian=little ;; 4417 mips-sony-bsd*) fmt=ecoff ;; 4418 mips-*-bsd*) 4419 { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5 4420echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;} 4421 { (exit 1); exit 1; }; } ;; 4422 mips-*-ultrix*) fmt=ecoff endian=little ;; 4423 mips-*-osf*) fmt=ecoff endian=little ;; 4424 mips-*-ecoff*) fmt=ecoff ;; 4425 mips-*-pe*) fmt=coff endian=little em=pe ;; 4426 mips-*-irix6*) fmt=elf em=irix ;; 4427 mips-*-irix5*) fmt=elf em=irix ;; 4428 mips-*-irix*) fmt=ecoff em=irix ;; 4429 mips-*-lnews*) fmt=ecoff em=lnews ;; 4430 mips-*-riscos*) fmt=ecoff ;; 4431 mips*-*-linux*) fmt=elf em=tmips ;; 4432 mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;; 4433 mips-*-sysv*) fmt=ecoff ;; 4434 mips-*-elf* | mips-*-rtems*) fmt=elf ;; 4435 mips-*-netbsd*) fmt=elf ;; 4436 mips-*-openbsd*) fmt=elf ;; 4437 4438 mmix-*-*) fmt=elf ;; 4439 mn10200-*-*) fmt=elf ;; 4440 mn10300-*-*) fmt=elf ;; 4441 msp430-*-*) fmt=elf ;; 4442 openrisc-*-*) fmt=elf ;; 4443 or32-*-rtems*) fmt=elf ;; 4444 or32-*-coff) fmt=coff ;; 4445 or32-*-elf) fmt=elf ;; 4446 pj*) fmt=elf ;; 4447 4448 ppc-*-pe | ppc-*-cygwin*) fmt=coff em=pe ;; 4449 ppc-*-winnt*) fmt=coff em=pe ;; 4450 ppc-*-aix5.[01]) fmt=coff em=aix5 ;; 4451 ppc-*-aix5.*) fmt=coff em=aix5 4452 4453cat >>confdefs.h <<\_ACEOF 4454#define AIX_WEAK_SUPPORT 1 4455_ACEOF 4456 4457 ;; 4458 ppc-*-aix*) fmt=coff ;; 4459 ppc-*-beos*) fmt=coff ;; 4460 ppc-*-*n*bsd* | ppc-*-elf*) fmt=elf ;; 4461 ppc-*-eabi* | ppc-*-sysv4*) fmt=elf ;; 4462 ppc-*-linux-gnu*) fmt=elf em=linux 4463 case "$endian" in 4464 big) ;; 4465 *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5 4466echo "$as_me: error: GNU/Linux must be configured big endian" >&2;} 4467 { (exit 1); exit 1; }; } ;; 4468 esac ;; 4469 ppc-*-solaris*) fmt=elf 4470 if test ${this_target} = $target; then 4471 4472cat >>confdefs.h <<\_ACEOF |
2555#define TARGET_SOLARIS_COMMENT 1 | 4473#define TARGET_SOLARIS_COMMENT 1 |
2556EOF | 4474_ACEOF |
2557 | 4475 |
2558 fi 2559 if test x${endian} = xbig; then 2560 { echo "configure: error: Solaris must be configured little endian" 1>&2; exit 1; } 2561 fi 2562 ;; 2563 ppc-*-rtems*) fmt=elf ;; 2564 ppc-*-macos* | ppc-*-mpw*) 2565 fmt=coff em=macos ;; 2566 ppc-*-netware*) fmt=elf em=ppcnw ;; 2567 ppc-*-vxworks*) fmt=elf ;; 2568 ppc-*-windiss*) fmt=elf ;; | 4476 fi 4477 if test x${endian} = xbig; then 4478 { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5 4479echo "$as_me: error: Solaris must be configured little endian" >&2;} 4480 { (exit 1); exit 1; }; } 4481 fi ;; 4482 ppc-*-rtems*) fmt=elf ;; 4483 ppc-*-macos* | ppc-*-mpw*) fmt=coff em=macos ;; 4484 ppc-*-netware*) fmt=elf em=ppcnw ;; 4485 ppc-**-nto*) fmt=elf ;; 4486 ppc-*-kaos*) fmt=elf ;; |
2569 | 4487 |
2570 s390x-*-linux-gnu*) fmt=elf em=linux ;; 2571 s390-*-linux-gnu*) fmt=elf em=linux ;; | 4488 s390x-*-linux-gnu*) fmt=elf em=linux ;; 4489 s390-*-linux-gnu*) fmt=elf em=linux ;; |
2572 | 4490 |
2573 sh*-*-linux*) fmt=elf em=linux 2574 case ${cpu} in 2575 sh*eb) 2576 endian=big ;; 2577 sh*) 2578 endian=little ;; 2579 esac ;; 2580 sh5*-*-netbsd*) fmt=elf em=nbsd ;; 2581 sh64*-*-netbsd*) fmt=elf em=nbsd ;; 2582 sh*-*-netbsdelf*) fmt=elf em=nbsd ;; 2583 sh-*-elf*) fmt=elf ;; 2584 sh-*-coff*) fmt=coff ;; 2585 sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; 2586 sh-*-rtemself*) fmt=elf ;; 2587 sh-*-rtems*) fmt=coff ;; | 4491 sh*-*-linux*) fmt=elf em=linux 4492 case ${cpu} in 4493 sh*eb) endian=big ;; 4494 *) endian=little ;; 4495 esac ;; 4496 sh5*-*-netbsd*) fmt=elf em=nbsd ;; 4497 sh64*-*-netbsd*) fmt=elf em=nbsd ;; 4498 sh*-*-netbsdelf*) fmt=elf em=nbsd ;; 4499 sh-*-elf*) fmt=elf ;; 4500 sh-*-coff*) fmt=coff ;; 4501 sh-*-nto*) fmt=elf ;; 4502 sh-*-pe*) fmt=coff em=pe bfd_gas=yes endian=little ;; 4503 sh-*-rtemscoff*) fmt=coff ;; 4504 sh-*-rtems*) fmt=elf ;; 4505 sh-*-kaos*) fmt=elf ;; 4506 shle*-*-kaos*) fmt=elf ;; 4507 sh64-*-elf*) fmt=elf ;; |
2588 | 4508 |
2589 sh64-*-elf*) fmt=elf ;; 2590 ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 2591 ns32k-*-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 2592 ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; | 4509 ns32k-pc532-mach*) fmt=aout em=pc532mach ;; 4510 ns32k-pc532-ux*) fmt=aout em=pc532mach ;; 4511 ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; 4512 ns32k-*-*n*bsd*) fmt=aout em=nbsd532 ;; |
2593 | 4513 |
2594 sparc-*-rtemsaout*) fmt=aout ;; 2595 sparc-*-rtemself*) fmt=elf ;; 2596 sparc-*-rtems*) fmt=elf ;; 2597 sparc-*-sunos4*) fmt=aout em=sun3 ;; 2598 sparc-*-aout | sparc*-*-vxworks*) 2599 fmt=aout em=sparcaout ;; 2600 sparc-*-coff) fmt=coff ;; 2601 sparc-*-linux*aout*) fmt=aout em=linux ;; 2602 sparc-*-linux-gnu*) fmt=elf em=linux ;; 2603 sparc-*-lynxos*) fmt=coff em=lynx ;; 2604 sparc-fujitsu-none) fmt=aout ;; 2605 sparc-*-elf | sparc-*-sysv4* | sparc-*-solaris*) 2606 fmt=elf ;; 2607 sparc-*-netbsd*) em=nbsd bfd_gas=yes 2608 case ${cpu} in 2609 sparc) case ${os} in 2610 *elf*) fmt=elf ;; 2611 *) fmt=aout ;; 2612 esac ;; 2613 sparc64) fmt=elf ;; 2614 esac 2615 ;; 2616 sparc-*-openbsd*) em=nbsd 2617 case ${cpu} in 2618 sparc) fmt=aout ;; 2619 sparc64) fmt=elf ;; 2620 esac 2621 ;; | 4514 sparc-*-rtemsaout*) fmt=aout ;; 4515 sparc-*-rtemself*) fmt=elf ;; 4516 sparc-*-rtems*) fmt=elf ;; 4517 sparc-*-sunos4*) fmt=aout em=sun3 ;; 4518 sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;; 4519 sparc-*-coff) fmt=coff ;; 4520 sparc-*-linux*aout*) fmt=aout em=linux ;; 4521 sparc-*-linux-gnu*) fmt=elf em=linux ;; 4522 sparc-*-lynxos*) fmt=coff em=lynx ;; 4523 sparc-fujitsu-none) fmt=aout ;; 4524 sparc-*-elf) fmt=elf ;; 4525 sparc-*-sysv4*) fmt=elf ;; 4526 sparc-*-solaris*) fmt=elf ;; 4527 sparc-*-netbsdelf*) fmt=elf em=nbsd ;; 4528 sparc-*-*n*bsd*) case ${cpu} in 4529 sparc64) fmt=elf em=nbsd ;; 4530 *) fmt=aout em=nbsd ;; 4531 esac ;; 4532 strongarm-*-coff) fmt=coff ;; 4533 strongarm-*-elf) fmt=elf ;; 4534 strongarm-*-kaos*) fmt=elf ;; 4535 xscale-*-coff) fmt=coff ;; 4536 xscale-*-elf) fmt=elf ;; |
2622 | 4537 |
2623 strongarm-*-coff) fmt=coff ;; 2624 strongarm-*-elf) fmt=elf ;; 2625 xscale-*-coff) fmt=coff ;; 2626 xscale-*-elf) fmt=elf ;; | 4538 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 4539 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 4540 tic4x-*-* | c4x-*-*) fmt=coff bfd_gas=yes ;; 4541 tic54x-*-* | c54x*-*-*) fmt=coff bfd_gas=yes need_libm=yes;; 4542 tic80-*-*) fmt=coff ;; |
2627 | 4543 |
2628 tic30-*-*aout*) fmt=aout bfd_gas=yes ;; 2629 tic30-*-*coff*) fmt=coff bfd_gas=yes ;; 2630 tic54x-*-* | c54x*-*-*) 2631 fmt=coff bfd_gas=yes need_libm=yes;; 2632 tic80-*-*) fmt=coff ;; | 4544 v850-*-*) fmt=elf ;; 4545 v850e-*-*) fmt=elf ;; 4546 v850ea-*-*) fmt=elf ;; |
2633 | 4547 |
2634 v850-*-*) fmt=elf bfd_gas=yes ;; 2635 v850e-*-*) fmt=elf bfd_gas=yes ;; 2636 v850ea-*-*) fmt=elf bfd_gas=yes ;; | 4548 vax-*-netbsdelf*) fmt=elf em=nbsd ;; 4549 vax-*-netbsd*) fmt=aout em=nbsd ;; 4550 vax-*-bsd* | vax-*-ultrix*) fmt=aout ;; 4551 vax-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; 4552 vax-*-vms) fmt=vms ;; |
2637 | 4553 |
2638 vax-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes ;; 2639 vax-*-netbsdaout* | vax-*-netbsd*) 2640 fmt=aout em=nbsd ;; 2641 vax-*-bsd* | vax-*-ultrix*) 2642 fmt=aout ;; 2643 vax-*-vms) fmt=vms ;; | 4554 w65-*-*) fmt=coff ;; |
2644 | 4555 |
2645 w65-*-*) fmt=coff ;; | 4556 xstormy16-*-*) fmt=elf ;; |
2646 | 4557 |
2647 xstormy16-*-*) fmt=elf bfd_gas=yes ;; | 4558 xtensa-*-*) fmt=elf ;; |
2648 | 4559 |
2649 z8k-*-coff | z8k-*-sim) 2650 fmt=coff ;; | 4560 z8k-*-coff | z8k-*-sim) fmt=coff ;; |
2651 | 4561 |
2652 *-*-aout | *-*-scout) 2653 fmt=aout ;; 2654 *-*-freebsd*) fmt=elf em=freebsd bfd_gas=yes ;; 2655 *-*-nindy*) 2656 fmt=bout ;; 2657 *-*-bsd*) 2658 fmt=aout em=sun3 ;; 2659 *-*-generic) fmt=generic ;; 2660 *-*-xray | *-*-hms) fmt=coff ;; 2661 *-*-sim) fmt=coff ;; 2662 *-*-elf | *-*-sysv4* | *-*-solaris*) 2663 echo "configure: warning: GAS support for ${generic_target} is incomplete." 1>&2 2664 fmt=elf dev=yes ;; 2665 *-*-vxworks) fmt=aout ;; 2666 *-*-netware) fmt=elf ;; | 4562 *-*-aout | *-*-scout) fmt=aout ;; 4563 *-*-freebsd* | *-*-kfreebsd*-gnu) fmt=elf em=freebsd ;; 4564 *-*-nindy*) fmt=bout ;; 4565 *-*-bsd*) fmt=aout em=sun3 ;; 4566 *-*-generic) fmt=generic ;; 4567 *-*-xray | *-*-hms) fmt=coff ;; 4568 *-*-sim) fmt=coff ;; 4569 *-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;; 4570 *-*-aros*) fmt=elf em=linux bfd_gas=yes ;; 4571 *-*-vxworks | *-*-windiss) fmt=elf ;; 4572 *-*-netware) fmt=elf ;; |
2667 esac 2668 2669 if test ${this_target} = $target ; then 2670 endian_def= 2671 if test x${endian} = xbig; then 2672 endian_def=1 2673 elif test x${endian} = xlittle; then 2674 endian_def=0 2675 fi 2676 if test x${endian_def} != x; then | 4573 esac 4574 4575 if test ${this_target} = $target ; then 4576 endian_def= 4577 if test x${endian} = xbig; then 4578 endian_def=1 4579 elif test x${endian} = xlittle; then 4580 endian_def=0 4581 fi 4582 if test x${endian_def} != x; then |
2677 cat >> confdefs.h <<EOF | 4583 4584cat >>confdefs.h <<_ACEOF |
2678#define TARGET_BYTES_BIG_ENDIAN $endian_def | 4585#define TARGET_BYTES_BIG_ENDIAN $endian_def |
2679EOF | 4586_ACEOF |
2680 2681 fi 2682 fi 2683 2684 case ${cpu_type}-${fmt} in | 4587 4588 fi 4589 fi 4590 4591 case ${cpu_type}-${fmt} in |
2685 alpha*-*) bfd_gas=yes ;; 2686 arm-*) bfd_gas=yes ;; 2687 # not yet 2688 # i386-aout) bfd_gas=preferred ;; 2689 ia64*-*) bfd_gas=yes ;; 2690 mips-*) bfd_gas=yes ;; 2691 ns32k-*) bfd_gas=yes ;; 2692 pdp11-*) bfd_gas=yes ;; 2693 ppc-*) bfd_gas=yes ;; 2694 sparc-*) bfd_gas=yes ;; 2695 strongarm-*) bfd_gas=yes ;; 2696 xscale-*) bfd_gas=yes ;; 2697 *-elf) bfd_gas=yes ;; 2698 *-ecoff) bfd_gas=yes ;; 2699 *-som) bfd_gas=yes ;; 2700 #enable bfd for coff and aout to allow testing if a bfd target is 2701 #the primary target, but not for coff or aout as the primary target 2702 i386-coff) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2703 i386-aout) if test x${primary_bfd_gas} = xyes; then bfd_gas=yes; fi ;; 2704 *) ;; | 4592 alpha*-* | arm-* | i386-* | ia64*-* | mips-* | ns32k-* \ 4593 | pdp11-* | ppc-* | sparc-* | strongarm-* | xscale-* \ 4594 | *-elf | *-ecoff | *-som) 4595 bfd_gas=yes ;; |
2705 esac 2706 2707# Other random stuff. 2708 | 4596 esac 4597 4598# Other random stuff. 4599 |
4600 case ${cpu_type} in 4601 mips) 4602 # Set mips_cpu to the name of the default CPU. 4603 case ${target_cpu} in 4604 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el) 4605 mips_cpu=from-abi 4606 ;; 4607 mipsisa32 | mipsisa32el) 4608 mips_cpu=mips32 4609 ;; 4610 mipsisa32r2 | mipsisa32r2el) 4611 mips_cpu=mips32r2 4612 ;; 4613 mipsisa64 | mipsisa64el) 4614 mips_cpu=mips64 4615 ;; 4616 mipsisa64r2 | mipsisa64r2el) 4617 mips_cpu=mips64r2 4618 ;; 4619 mipstx39 | mipstx39el) 4620 mips_cpu=r3900 4621 ;; 4622 mips64vr | mips64vrel) 4623 mips_cpu=vr4100 4624 ;; 4625 mipsisa32r2* | mipsisa64r2*) 4626 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'` 4627 ;; 4628 mips64* | mipsisa64* | mipsisa32*) 4629 mips_cpu=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'` 4630 ;; 4631 *) 4632 { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5 4633echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;} 4634 { (exit 1); exit 1; }; } 4635 ;; 4636 esac 4637 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32 4638 # binaries. It's a GNU extension that some OSes don't understand. 4639 # The value only matters on ELF targets. 4640 case ${target} in 4641 *-*-irix*) 4642 use_e_mips_abi_o32=0 4643 ;; 4644 *) 4645 use_e_mips_abi_o32=1 4646 ;; 4647 esac 4648 # Decide whether to generate 32-bit or 64-bit code by default. 4649 # Used to resolve -march=from-abi when an embedded ABI is selected. 4650 case ${target} in 4651 mips64*-*-* | mipsisa64*-*-*) 4652 mips_default_64bit=1 4653 ;; 4654 *) 4655 mips_default_64bit=0 4656 ;; 4657 esac 4658 # Decide which ABI to target by default. 4659 case ${target} in 4660 mips64*-linux* | mips-sgi-irix6*) 4661 mips_default_abi=N32_ABI 4662 ;; 4663 mips*-linux*) 4664 mips_default_abi=O32_ABI 4665 ;; 4666 *) 4667 mips_default_abi=NO_ABI 4668 ;; 4669 esac 4670 4671cat >>confdefs.h <<_ACEOF 4672#define MIPS_CPU_STRING_DEFAULT "$mips_cpu" 4673_ACEOF 4674 4675 4676cat >>confdefs.h <<_ACEOF 4677#define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32 4678_ACEOF 4679 4680 4681cat >>confdefs.h <<_ACEOF 4682#define MIPS_DEFAULT_64BIT $mips_default_64bit 4683_ACEOF 4684 4685 4686cat >>confdefs.h <<_ACEOF 4687#define MIPS_DEFAULT_ABI $mips_default_abi 4688_ACEOF 4689 4690 ;; 4691 esac 4692 |
|
2709 # Do we need the opcodes library? 2710 case ${cpu_type} in 2711 vax | i386 | tic30) 2712 ;; 2713 2714 *) 2715 need_opcodes=yes 2716 --- 6 unchanged lines hidden (view full) --- 2723 # A shared libopcodes must be linked against libbfd. 2724 need_bfd=yes 2725 fi 2726 ;; 2727 esac 2728 2729 # Any other special object files needed ? 2730 case ${cpu_type} in | 4693 # Do we need the opcodes library? 4694 case ${cpu_type} in 4695 vax | i386 | tic30) 4696 ;; 4697 4698 *) 4699 need_opcodes=yes 4700 --- 6 unchanged lines hidden (view full) --- 4707 # A shared libopcodes must be linked against libbfd. 4708 need_bfd=yes 4709 fi 4710 ;; 4711 esac 4712 4713 # Any other special object files needed ? 4714 case ${cpu_type} in |
2731 fr30 | m32r | openrisc) | 4715 fr30 | ip2k | iq2000 | m32r | openrisc) |
2732 using_cgen=yes 2733 ;; 2734 2735 frv) 2736 using_cgen=yes 2737 ;; 2738 m68k) 2739 case ${extra_objects} in 2740 *m68k-parse.o*) ;; 2741 *) extra_objects="$extra_objects m68k-parse.o" ;; 2742 esac 2743 ;; 2744 2745 mips) | 4716 using_cgen=yes 4717 ;; 4718 4719 frv) 4720 using_cgen=yes 4721 ;; 4722 m68k) 4723 case ${extra_objects} in 4724 *m68k-parse.o*) ;; 4725 *) extra_objects="$extra_objects m68k-parse.o" ;; 4726 esac 4727 ;; 4728 4729 mips) |
2746 echo ${extra_objects} | grep -s "itbl-parse.o" | 4730 echo ${extra_objects} | grep -s "itbl-parse.o" |
2747 if test $? -ne 0 ; then 2748 extra_objects="$extra_objects itbl-parse.o" 2749 fi 2750 | 4731 if test $? -ne 0 ; then 4732 extra_objects="$extra_objects itbl-parse.o" 4733 fi 4734 |
2751 echo ${extra_objects} | grep -s "itbl-lex.o" | 4735 echo ${extra_objects} | grep -s "itbl-lex.o" |
2752 if test $? -ne 0 ; then 2753 extra_objects="$extra_objects itbl-lex.o" 2754 fi 2755 | 4736 if test $? -ne 0 ; then 4737 extra_objects="$extra_objects itbl-lex.o" 4738 fi 4739 |
2756 echo ${extra_objects} | grep -s "itbl-ops.o" | 4740 echo ${extra_objects} | grep -s "itbl-ops.o" |
2757 if test $? -ne 0 ; then 2758 extra_objects="$extra_objects itbl-ops.o" 2759 fi 2760 ;; 2761 2762 i386 | s390 | sparc) 2763 if test $this_target = $target ; then | 4741 if test $? -ne 0 ; then 4742 extra_objects="$extra_objects itbl-ops.o" 4743 fi 4744 ;; 4745 4746 i386 | s390 | sparc) 4747 if test $this_target = $target ; then |
2764 cat >> confdefs.h <<EOF | 4748 4749cat >>confdefs.h <<_ACEOF |
2765#define DEFAULT_ARCH "${arch}" | 4750#define DEFAULT_ARCH "${arch}" |
2766EOF | 4751_ACEOF |
2767 2768 fi 2769 ;; 2770 2771 xstormy16) 2772 using_cgen=yes 2773 ;; 2774 | 4752 4753 fi 4754 ;; 4755 4756 xstormy16) 4757 using_cgen=yes 4758 ;; 4759 |
4760 xtensa) 4761 echo ${extra_objects} | grep -s "xtensa-relax.o" 4762 if test $? -ne 0 ; then 4763 extra_objects="$extra_objects xtensa-relax.o" 4764 fi 4765 ;; 4766 |
|
2775 *) 2776 ;; 2777 esac 2778 2779 if test $using_cgen = yes ; then 2780 case "x${extra_objects}" in 2781 *cgen.o*) ;; 2782 *) extra_objects="$extra_objects cgen.o" ;; --- 77 unchanged lines hidden (view full) --- 2860# is emulated. 2861case ${target_cpu} in 2862 vax | tahoe ) atof=${target_cpu} ;; 2863 pdp11) atof=vax ;; 2864 *) atof=ieee ;; 2865esac 2866 2867case "${obj_format}" in | 4767 *) 4768 ;; 4769 esac 4770 4771 if test $using_cgen = yes ; then 4772 case "x${extra_objects}" in 4773 *cgen.o*) ;; 4774 *) extra_objects="$extra_objects cgen.o" ;; --- 77 unchanged lines hidden (view full) --- 4852# is emulated. 4853case ${target_cpu} in 4854 vax | tahoe ) atof=${target_cpu} ;; 4855 pdp11) atof=vax ;; 4856 *) atof=ieee ;; 4857esac 4858 4859case "${obj_format}" in |
2868 "") { echo "configure: error: GAS does not know what format to use for target ${target}" 1>&2; exit 1; } ;; | 4860 "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5 4861echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;} 4862 { (exit 1); exit 1; }; } ;; |
2869esac 2870 2871# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU). 2872cgen_cpu_prefix="" 2873if test $using_cgen = yes ; then 2874 case ${target_cpu} in 2875 *) cgen_cpu_prefix=${target_cpu} ;; 2876 esac | 4863esac 4864 4865# Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU). 4866cgen_cpu_prefix="" 4867if test $using_cgen = yes ; then 4868 case ${target_cpu} in 4869 *) cgen_cpu_prefix=${target_cpu} ;; 4870 esac |
2877 2878 cat >> confdefs.h <<\EOF | 4871 4872 4873cat >>confdefs.h <<\_ACEOF |
2879#define USING_CGEN 1 | 4874#define USING_CGEN 1 |
2880EOF | 4875_ACEOF |
2881 2882fi 2883 2884 2885if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then | 4876 4877fi 4878 4879 4880if test ! -r ${srcdir}/config/tc-${target_cpu_type}.c; then |
2886 { echo "configure: error: GAS does not support target CPU ${target_cpu_type}" 1>&2; exit 1; } | 4881 { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5 4882echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;} 4883 { (exit 1); exit 1; }; } |
2887fi 2888 2889if test ! -r ${srcdir}/config/obj-${obj_format}.c; then | 4884fi 4885 4886if test ! -r ${srcdir}/config/obj-${obj_format}.c; then |
2890 { echo "configure: error: GAS does not have support for object file format ${obj_format}" 1>&2; exit 1; } | 4887 { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5 4888echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;} 4889 { (exit 1); exit 1; }; } |
2891fi 2892 2893case ${user_bfd_gas}-${primary_bfd_gas} in 2894 yes-yes | no-no) 2895 # We didn't override user's choice. 2896 ;; 2897 no-yes) | 4890fi 4891 4892case ${user_bfd_gas}-${primary_bfd_gas} in 4893 yes-yes | no-no) 4894 # We didn't override user's choice. 4895 ;; 4896 no-yes) |
2898 echo "configure: warning: Use of BFD is required for ${target}; overriding config options." 1>&2 | 4897 { echo "$as_me:$LINENO: WARNING: Use of BFD is required for ${target}; overriding config options." >&5 4898echo "$as_me: WARNING: Use of BFD is required for ${target}; overriding config options." >&2;} |
2899 ;; 2900 no-preferred) 2901 primary_bfd_gas=no 2902 ;; 2903 *-preferred) 2904 primary_bfd_gas=yes 2905 ;; 2906 yes-*) 2907 primary_bfd_gas=yes 2908 ;; 2909 -*) 2910 # User specified nothing. 2911 ;; 2912esac 2913 2914# Some COFF configurations want these random other flags set. 2915case ${obj_format} in 2916 coff) 2917 case ${target_cpu_type} in | 4899 ;; 4900 no-preferred) 4901 primary_bfd_gas=no 4902 ;; 4903 *-preferred) 4904 primary_bfd_gas=yes 4905 ;; 4906 yes-*) 4907 primary_bfd_gas=yes 4908 ;; 4909 -*) 4910 # User specified nothing. 4911 ;; 4912esac 4913 4914# Some COFF configurations want these random other flags set. 4915case ${obj_format} in 4916 coff) 4917 case ${target_cpu_type} in |
2918 i386) cat >> confdefs.h <<\EOF | 4918 i386) 4919cat >>confdefs.h <<\_ACEOF |
2919#define I386COFF 1 | 4920#define I386COFF 1 |
2920EOF | 4921_ACEOF |
2921 ;; | 4922 ;; |
2922 m68k) cat >> confdefs.h <<\EOF | 4923 m68k) 4924cat >>confdefs.h <<\_ACEOF |
2923#define M68KCOFF 1 | 4925#define M68KCOFF 1 |
2924EOF | 4926_ACEOF |
2925 ;; | 4927 ;; |
2926 m88k) cat >> confdefs.h <<\EOF | 4928 m88k) 4929cat >>confdefs.h <<\_ACEOF |
2927#define M88KCOFF 1 | 4930#define M88KCOFF 1 |
2928EOF | 4931_ACEOF |
2929 ;; 2930 esac 2931 ;; 2932esac 2933 2934# Getting this done right is going to be a bitch. Each configuration specified 2935# with --enable-targets=... should be checked for environment, format, cpu, and 2936# bfd_gas setting. --- 64 unchanged lines hidden (view full) --- 3001 esac ;; 3002 esac 3003done 3004emfiles=$_gas_uniq_newlist 3005 3006if test `set . $formats ; shift ; echo $#` -gt 1 ; then 3007 for fmt in $formats ; do 3008 case $fmt in | 4932 ;; 4933 esac 4934 ;; 4935esac 4936 4937# Getting this done right is going to be a bitch. Each configuration specified 4938# with --enable-targets=... should be checked for environment, format, cpu, and 4939# bfd_gas setting. --- 64 unchanged lines hidden (view full) --- 5004 esac ;; 5005 esac 5006done 5007emfiles=$_gas_uniq_newlist 5008 5009if test `set . $formats ; shift ; echo $#` -gt 1 ; then 5010 for fmt in $formats ; do 5011 case $fmt in |
3009 aout) cat >> confdefs.h <<\EOF | 5012 aout) 5013cat >>confdefs.h <<\_ACEOF |
3010#define OBJ_MAYBE_AOUT 1 | 5014#define OBJ_MAYBE_AOUT 1 |
3011EOF | 5015_ACEOF |
3012 ;; | 5016 ;; |
3013 bout) cat >> confdefs.h <<\EOF | 5017 bout) 5018cat >>confdefs.h <<\_ACEOF |
3014#define OBJ_MAYBE_BOUT 1 | 5019#define OBJ_MAYBE_BOUT 1 |
3015EOF | 5020_ACEOF |
3016 ;; | 5021 ;; |
3017 coff) cat >> confdefs.h <<\EOF | 5022 coff) 5023cat >>confdefs.h <<\_ACEOF |
3018#define OBJ_MAYBE_COFF 1 | 5024#define OBJ_MAYBE_COFF 1 |
3019EOF | 5025_ACEOF |
3020 ;; | 5026 ;; |
3021 ecoff) cat >> confdefs.h <<\EOF | 5027 ecoff) 5028cat >>confdefs.h <<\_ACEOF |
3022#define OBJ_MAYBE_ECOFF 1 | 5029#define OBJ_MAYBE_ECOFF 1 |
3023EOF | 5030_ACEOF |
3024 ;; | 5031 ;; |
3025 elf) cat >> confdefs.h <<\EOF | 5032 elf) 5033cat >>confdefs.h <<\_ACEOF |
3026#define OBJ_MAYBE_ELF 1 | 5034#define OBJ_MAYBE_ELF 1 |
3027EOF | 5035_ACEOF |
3028 ;; | 5036 ;; |
3029 generic) cat >> confdefs.h <<\EOF | 5037 generic) 5038cat >>confdefs.h <<\_ACEOF |
3030#define OBJ_MAYBE_GENERIC 1 | 5039#define OBJ_MAYBE_GENERIC 1 |
3031EOF | 5040_ACEOF |
3032 ;; | 5041 ;; |
3033 hp300) cat >> confdefs.h <<\EOF | 5042 hp300) 5043cat >>confdefs.h <<\_ACEOF |
3034#define OBJ_MAYBE_HP300 1 | 5044#define OBJ_MAYBE_HP300 1 |
3035EOF | 5045_ACEOF |
3036 ;; | 5046 ;; |
3037 ieee) cat >> confdefs.h <<\EOF | 5047 ieee) 5048cat >>confdefs.h <<\_ACEOF |
3038#define OBJ_MAYBE_IEEE 1 | 5049#define OBJ_MAYBE_IEEE 1 |
3039EOF | 5050_ACEOF |
3040 ;; | 5051 ;; |
3041 som) cat >> confdefs.h <<\EOF | 5052 som) 5053cat >>confdefs.h <<\_ACEOF |
3042#define OBJ_MAYBE_SOM 1 | 5054#define OBJ_MAYBE_SOM 1 |
3043EOF | 5055_ACEOF |
3044 ;; | 5056 ;; |
3045 vms) cat >> confdefs.h <<\EOF | 5057 vms) 5058cat >>confdefs.h <<\_ACEOF |
3046#define OBJ_MAYBE_VMS 1 | 5059#define OBJ_MAYBE_VMS 1 |
3047EOF | 5060_ACEOF |
3048 ;; 3049 esac 3050 extra_objects="$extra_objects obj-$fmt.o" 3051 done 3052 obj_format=multi 3053fi 3054if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then 3055 DEFAULT_EMULATION=`set . $emulations ; echo $2` 3056 # e-mips* has more than one emulation per file, e-i386* has just one at the 3057 # moment. If only one emulation is specified, then don't define 3058 # USE_EMULATIONS or include any of the e-files as they will only be bloat. 3059 case "${obj_format}${emfiles}" in 3060 multi* | *mips*) 3061 extra_objects="$extra_objects $emfiles" | 5061 ;; 5062 esac 5063 extra_objects="$extra_objects obj-$fmt.o" 5064 done 5065 obj_format=multi 5066fi 5067if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then 5068 DEFAULT_EMULATION=`set . $emulations ; echo $2` 5069 # e-mips* has more than one emulation per file, e-i386* has just one at the 5070 # moment. If only one emulation is specified, then don't define 5071 # USE_EMULATIONS or include any of the e-files as they will only be bloat. 5072 case "${obj_format}${emfiles}" in 5073 multi* | *mips*) 5074 extra_objects="$extra_objects $emfiles" |
3062 cat >> confdefs.h <<\EOF | 5075 5076cat >>confdefs.h <<\_ACEOF |
3063#define USE_EMULATIONS 1 | 5077#define USE_EMULATIONS 1 |
3064EOF | 5078_ACEOF |
3065 ;; 3066 esac 3067fi 3068 | 5079 ;; 5080 esac 5081fi 5082 |
3069cat >> confdefs.h <<EOF | 5083 5084cat >>confdefs.h <<_ACEOF |
3070#define EMULATIONS $EMULATIONS | 5085#define EMULATIONS $EMULATIONS |
3071EOF | 5086_ACEOF |
3072 | 5087 |
3073cat >> confdefs.h <<EOF | 5088 5089cat >>confdefs.h <<_ACEOF |
3074#define DEFAULT_EMULATION "$DEFAULT_EMULATION" | 5090#define DEFAULT_EMULATION "$DEFAULT_EMULATION" |
3075EOF | 5091_ACEOF |
3076 3077 3078case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in 3079 yes-*-coff) need_bfd=yes ;; 3080 no-*-coff) need_bfd=yes | 5092 5093 5094case ${primary_bfd_gas}-${target_cpu_type}-${obj_format} in 5095 yes-*-coff) need_bfd=yes ;; 5096 no-*-coff) need_bfd=yes |
3081 cat >> confdefs.h <<\EOF | 5097 5098cat >>confdefs.h <<\_ACEOF |
3082#define MANY_SEGMENTS 1 | 5099#define MANY_SEGMENTS 1 |
3083EOF | 5100_ACEOF |
3084 ;; 3085esac 3086 3087reject_dev_configs=yes 3088 3089case ${reject_dev_configs}-${dev} in 3090 yes-yes) # Oops. | 5101 ;; 5102esac 5103 5104reject_dev_configs=yes 5105 5106case ${reject_dev_configs}-${dev} in 5107 yes-yes) # Oops. |
3091 { echo "configure: error: GAS does not support the ${generic_target} configuration." 1>&2; exit 1; } | 5108 { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5 5109echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;} 5110 { (exit 1); exit 1; }; } |
3092 ;; 3093esac 3094 3095 3096 3097 3098 3099 3100 3101case "${primary_bfd_gas}" in | 5111 ;; 5112esac 5113 5114 5115 5116 5117 5118 5119 5120case "${primary_bfd_gas}" in |
3102 yes) cat >> confdefs.h <<\EOF | 5121 yes) 5122cat >>confdefs.h <<\_ACEOF |
3103#define BFD_ASSEMBLER 1 | 5123#define BFD_ASSEMBLER 1 |
3104EOF | 5124_ACEOF |
3105 3106 need_bfd=yes ;; 3107esac 3108 3109# do we need the opcodes library? 3110case "${need_opcodes}" in 3111yes) 3112 OPCODES_LIB=../opcodes/libopcodes.la 3113 ;; 3114esac 3115 3116case "${need_bfd}" in 3117yes) 3118 BFDLIB=../bfd/libbfd.la | 5125 5126 need_bfd=yes ;; 5127esac 5128 5129# do we need the opcodes library? 5130case "${need_opcodes}" in 5131yes) 5132 OPCODES_LIB=../opcodes/libopcodes.la 5133 ;; 5134esac 5135 5136case "${need_bfd}" in 5137yes) 5138 BFDLIB=../bfd/libbfd.la |
5139 BFDVER_H=../bfd/bfdver.h |
|
3119 ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h' 3120 ;; 3121esac 3122 3123 3124 3125 3126 3127 | 5140 ALL_OBJ_DEPS="$ALL_OBJ_DEPS"' ../bfd/bfd.h $(INCDIR)/symcat.h' 5141 ;; 5142esac 5143 5144 5145 5146 5147 5148 |
3128cat >> confdefs.h <<EOF | 5149 5150 5151cat >>confdefs.h <<_ACEOF |
3129#define TARGET_ALIAS "${target_alias}" | 5152#define TARGET_ALIAS "${target_alias}" |
3130EOF | 5153_ACEOF |
3131 | 5154 |
3132cat >> confdefs.h <<EOF | 5155 5156cat >>confdefs.h <<_ACEOF |
3133#define TARGET_CANONICAL "${target}" | 5157#define TARGET_CANONICAL "${target}" |
3134EOF | 5158_ACEOF |
3135 | 5159 |
3136cat >> confdefs.h <<EOF | 5160 5161cat >>confdefs.h <<_ACEOF |
3137#define TARGET_CPU "${target_cpu}" | 5162#define TARGET_CPU "${target_cpu}" |
3138EOF | 5163_ACEOF |
3139 | 5164 |
3140cat >> confdefs.h <<EOF | 5165 5166cat >>confdefs.h <<_ACEOF |
3141#define TARGET_VENDOR "${target_vendor}" | 5167#define TARGET_VENDOR "${target_vendor}" |
3142EOF | 5168_ACEOF |
3143 | 5169 |
3144cat >> confdefs.h <<EOF | 5170 5171cat >>confdefs.h <<_ACEOF |
3145#define TARGET_OS "${target_os}" | 5172#define TARGET_OS "${target_os}" |
3146EOF | 5173_ACEOF |
3147 3148 | 5174 5175 |
3149# Extract the first word of "gcc", so it can be a program name with args. | 5176ac_ext=c 5177ac_cpp='$CPP $CPPFLAGS' 5178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5180ac_compiler_gnu=$ac_cv_c_compiler_gnu 5181if test -n "$ac_tool_prefix"; then 5182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5183set dummy ${ac_tool_prefix}gcc; ac_word=$2 5184echo "$as_me:$LINENO: checking for $ac_word" >&5 5185echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5186if test "${ac_cv_prog_CC+set}" = set; then 5187 echo $ECHO_N "(cached) $ECHO_C" >&6 5188else 5189 if test -n "$CC"; then 5190 ac_cv_prog_CC="$CC" # Let the user override the test. 5191else 5192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5193for as_dir in $PATH 5194do 5195 IFS=$as_save_IFS 5196 test -z "$as_dir" && as_dir=. 5197 for ac_exec_ext in '' $ac_executable_extensions; do 5198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5199 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5201 break 2 5202 fi 5203done 5204done 5205 5206fi 5207fi 5208CC=$ac_cv_prog_CC 5209if test -n "$CC"; then 5210 echo "$as_me:$LINENO: result: $CC" >&5 5211echo "${ECHO_T}$CC" >&6 5212else 5213 echo "$as_me:$LINENO: result: no" >&5 5214echo "${ECHO_T}no" >&6 5215fi 5216 5217fi 5218if test -z "$ac_cv_prog_CC"; then 5219 ac_ct_CC=$CC 5220 # Extract the first word of "gcc", so it can be a program name with args. |
3150set dummy gcc; ac_word=$2 | 5221set dummy gcc; ac_word=$2 |
3151echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3152echo "configure:3153: checking for $ac_word" >&5 3153if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3154 echo $ac_n "(cached) $ac_c" 1>&6 | 5222echo "$as_me:$LINENO: checking for $ac_word" >&5 5223echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5224if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5225 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3155else | 5226else |
5227 if test -n "$ac_ct_CC"; then 5228 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5229else 5230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5231for as_dir in $PATH 5232do 5233 IFS=$as_save_IFS 5234 test -z "$as_dir" && as_dir=. 5235 for ac_exec_ext in '' $ac_executable_extensions; do 5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5237 ac_cv_prog_ac_ct_CC="gcc" 5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5239 break 2 5240 fi 5241done 5242done 5243 5244fi 5245fi 5246ac_ct_CC=$ac_cv_prog_ac_ct_CC 5247if test -n "$ac_ct_CC"; then 5248 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5249echo "${ECHO_T}$ac_ct_CC" >&6 5250else 5251 echo "$as_me:$LINENO: result: no" >&5 5252echo "${ECHO_T}no" >&6 5253fi 5254 5255 CC=$ac_ct_CC 5256else 5257 CC="$ac_cv_prog_CC" 5258fi 5259 5260if test -z "$CC"; then 5261 if test -n "$ac_tool_prefix"; then 5262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5263set dummy ${ac_tool_prefix}cc; ac_word=$2 5264echo "$as_me:$LINENO: checking for $ac_word" >&5 5265echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5266if test "${ac_cv_prog_CC+set}" = set; then 5267 echo $ECHO_N "(cached) $ECHO_C" >&6 5268else |
|
3156 if test -n "$CC"; then 3157 ac_cv_prog_CC="$CC" # Let the user override the test. 3158else | 5269 if test -n "$CC"; then 5270 ac_cv_prog_CC="$CC" # Let the user override the test. 5271else |
3159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3160 ac_dummy="$PATH" 3161 for ac_dir in $ac_dummy; do 3162 test -z "$ac_dir" && ac_dir=. 3163 if test -f $ac_dir/$ac_word; then 3164 ac_cv_prog_CC="gcc" 3165 break 3166 fi 3167 done 3168 IFS="$ac_save_ifs" | 5272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5273for as_dir in $PATH 5274do 5275 IFS=$as_save_IFS 5276 test -z "$as_dir" && as_dir=. 5277 for ac_exec_ext in '' $ac_executable_extensions; do 5278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5279 ac_cv_prog_CC="${ac_tool_prefix}cc" 5280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5281 break 2 5282 fi 5283done 5284done 5285 |
3169fi 3170fi | 5286fi 5287fi |
3171CC="$ac_cv_prog_CC" | 5288CC=$ac_cv_prog_CC |
3172if test -n "$CC"; then | 5289if test -n "$CC"; then |
3173 echo "$ac_t""$CC" 1>&6 | 5290 echo "$as_me:$LINENO: result: $CC" >&5 5291echo "${ECHO_T}$CC" >&6 |
3174else | 5292else |
3175 echo "$ac_t""no" 1>&6 | 5293 echo "$as_me:$LINENO: result: no" >&5 5294echo "${ECHO_T}no" >&6 |
3176fi 3177 | 5295fi 5296 |
5297fi 5298if test -z "$ac_cv_prog_CC"; then 5299 ac_ct_CC=$CC 5300 # Extract the first word of "cc", so it can be a program name with args. 5301set dummy cc; ac_word=$2 5302echo "$as_me:$LINENO: checking for $ac_word" >&5 5303echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5304if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5305 echo $ECHO_N "(cached) $ECHO_C" >&6 5306else 5307 if test -n "$ac_ct_CC"; then 5308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5309else 5310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5311for as_dir in $PATH 5312do 5313 IFS=$as_save_IFS 5314 test -z "$as_dir" && as_dir=. 5315 for ac_exec_ext in '' $ac_executable_extensions; do 5316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5317 ac_cv_prog_ac_ct_CC="cc" 5318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5319 break 2 5320 fi 5321done 5322done 5323 5324fi 5325fi 5326ac_ct_CC=$ac_cv_prog_ac_ct_CC 5327if test -n "$ac_ct_CC"; then 5328 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5329echo "${ECHO_T}$ac_ct_CC" >&6 5330else 5331 echo "$as_me:$LINENO: result: no" >&5 5332echo "${ECHO_T}no" >&6 5333fi 5334 5335 CC=$ac_ct_CC 5336else 5337 CC="$ac_cv_prog_CC" 5338fi 5339 5340fi |
|
3178if test -z "$CC"; then 3179 # Extract the first word of "cc", so it can be a program name with args. 3180set dummy cc; ac_word=$2 | 5341if test -z "$CC"; then 5342 # Extract the first word of "cc", so it can be a program name with args. 5343set dummy cc; ac_word=$2 |
3181echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3182echo "configure:3183: checking for $ac_word" >&5 3183if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3184 echo $ac_n "(cached) $ac_c" 1>&6 | 5344echo "$as_me:$LINENO: checking for $ac_word" >&5 5345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5346if test "${ac_cv_prog_CC+set}" = set; then 5347 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3185else 3186 if test -n "$CC"; then 3187 ac_cv_prog_CC="$CC" # Let the user override the test. 3188else | 5348else 5349 if test -n "$CC"; then 5350 ac_cv_prog_CC="$CC" # Let the user override the test. 5351else |
3189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
3190 ac_prog_rejected=no | 5352 ac_prog_rejected=no |
3191 ac_dummy="$PATH" 3192 for ac_dir in $ac_dummy; do 3193 test -z "$ac_dir" && ac_dir=. 3194 if test -f $ac_dir/$ac_word; then 3195 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 3196 ac_prog_rejected=yes 3197 continue 3198 fi 3199 ac_cv_prog_CC="cc" 3200 break 3201 fi 3202 done 3203 IFS="$ac_save_ifs" | 5353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5354for as_dir in $PATH 5355do 5356 IFS=$as_save_IFS 5357 test -z "$as_dir" && as_dir=. 5358 for ac_exec_ext in '' $ac_executable_extensions; do 5359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5360 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5361 ac_prog_rejected=yes 5362 continue 5363 fi 5364 ac_cv_prog_CC="cc" 5365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5366 break 2 5367 fi 5368done 5369done 5370 |
3204if test $ac_prog_rejected = yes; then 3205 # We found a bogon in the path, so make sure we never use it. 3206 set dummy $ac_cv_prog_CC 3207 shift | 5371if test $ac_prog_rejected = yes; then 5372 # We found a bogon in the path, so make sure we never use it. 5373 set dummy $ac_cv_prog_CC 5374 shift |
3208 if test $# -gt 0; then | 5375 if test $# != 0; then |
3209 # We chose a different compiler from the bogus one. 3210 # However, it has the same basename, so the bogon will be chosen 3211 # first if we set CC to just the basename; use the full file name. 3212 shift | 5376 # We chose a different compiler from the bogus one. 5377 # However, it has the same basename, so the bogon will be chosen 5378 # first if we set CC to just the basename; use the full file name. 5379 shift |
3213 set dummy "$ac_dir/$ac_word" "$@" 3214 shift 3215 ac_cv_prog_CC="$@" | 5380 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3216 fi 3217fi 3218fi 3219fi | 5381 fi 5382fi 5383fi 5384fi |
3220CC="$ac_cv_prog_CC" | 5385CC=$ac_cv_prog_CC |
3221if test -n "$CC"; then | 5386if test -n "$CC"; then |
3222 echo "$ac_t""$CC" 1>&6 | 5387 echo "$as_me:$LINENO: result: $CC" >&5 5388echo "${ECHO_T}$CC" >&6 |
3223else | 5389else |
3224 echo "$ac_t""no" 1>&6 | 5390 echo "$as_me:$LINENO: result: no" >&5 5391echo "${ECHO_T}no" >&6 |
3225fi 3226 | 5392fi 5393 |
3227 if test -z "$CC"; then 3228 case "`uname -s`" in 3229 *win32* | *WIN32*) 3230 # Extract the first word of "cl", so it can be a program name with args. 3231set dummy cl; ac_word=$2 3232echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3233echo "configure:3234: checking for $ac_word" >&5 3234if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 3235 echo $ac_n "(cached) $ac_c" 1>&6 | 5394fi 5395if test -z "$CC"; then 5396 if test -n "$ac_tool_prefix"; then 5397 for ac_prog in cl 5398 do 5399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5400set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5401echo "$as_me:$LINENO: checking for $ac_word" >&5 5402echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5403if test "${ac_cv_prog_CC+set}" = set; then 5404 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3236else 3237 if test -n "$CC"; then 3238 ac_cv_prog_CC="$CC" # Let the user override the test. 3239else | 5405else 5406 if test -n "$CC"; then 5407 ac_cv_prog_CC="$CC" # Let the user override the test. 5408else |
3240 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3241 ac_dummy="$PATH" 3242 for ac_dir in $ac_dummy; do 3243 test -z "$ac_dir" && ac_dir=. 3244 if test -f $ac_dir/$ac_word; then 3245 ac_cv_prog_CC="cl" 3246 break 3247 fi 3248 done 3249 IFS="$ac_save_ifs" | 5409as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5410for as_dir in $PATH 5411do 5412 IFS=$as_save_IFS 5413 test -z "$as_dir" && as_dir=. 5414 for ac_exec_ext in '' $ac_executable_extensions; do 5415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5416 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5418 break 2 5419 fi 5420done 5421done 5422 |
3250fi 3251fi | 5423fi 5424fi |
3252CC="$ac_cv_prog_CC" | 5425CC=$ac_cv_prog_CC |
3253if test -n "$CC"; then | 5426if test -n "$CC"; then |
3254 echo "$ac_t""$CC" 1>&6 | 5427 echo "$as_me:$LINENO: result: $CC" >&5 5428echo "${ECHO_T}$CC" >&6 |
3255else | 5429else |
3256 echo "$ac_t""no" 1>&6 | 5430 echo "$as_me:$LINENO: result: no" >&5 5431echo "${ECHO_T}no" >&6 |
3257fi | 5432fi |
3258 ;; 3259 esac | 5433 5434 test -n "$CC" && break 5435 done 5436fi 5437if test -z "$CC"; then 5438 ac_ct_CC=$CC 5439 for ac_prog in cl 5440do 5441 # Extract the first word of "$ac_prog", so it can be a program name with args. 5442set dummy $ac_prog; ac_word=$2 5443echo "$as_me:$LINENO: checking for $ac_word" >&5 5444echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5445if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 5446 echo $ECHO_N "(cached) $ECHO_C" >&6 5447else 5448 if test -n "$ac_ct_CC"; then 5449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5450else 5451as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5452for as_dir in $PATH 5453do 5454 IFS=$as_save_IFS 5455 test -z "$as_dir" && as_dir=. 5456 for ac_exec_ext in '' $ac_executable_extensions; do 5457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5458 ac_cv_prog_ac_ct_CC="$ac_prog" 5459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5460 break 2 |
3260 fi | 5461 fi |
3261 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 5462done 5463done 5464 |
3262fi | 5465fi |
5466fi 5467ac_ct_CC=$ac_cv_prog_ac_ct_CC 5468if test -n "$ac_ct_CC"; then 5469 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 5470echo "${ECHO_T}$ac_ct_CC" >&6 5471else 5472 echo "$as_me:$LINENO: result: no" >&5 5473echo "${ECHO_T}no" >&6 5474fi |
|
3263 | 5475 |
3264echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 3265echo "configure:3266: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 5476 test -n "$ac_ct_CC" && break 5477done |
3266 | 5478 |
3267ac_ext=c 3268# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 3269ac_cpp='$CPP $CPPFLAGS' 3270ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 3271ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 3272cross_compiling=$ac_cv_prog_cc_cross | 5479 CC=$ac_ct_CC 5480fi |
3273 | 5481 |
3274cat > conftest.$ac_ext << EOF | 5482fi |
3275 | 5483 |
3276#line 3277 "configure" 3277#include "confdefs.h" | |
3278 | 5484 |
3279main(){return(0);} 3280EOF 3281if { (eval echo configure:3282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3282 ac_cv_prog_cc_works=yes 3283 # If we can't run a trivial program, we are probably using a cross compiler. 3284 if (./conftest; exit) 2>/dev/null; then 3285 ac_cv_prog_cc_cross=no 3286 else 3287 ac_cv_prog_cc_cross=yes 3288 fi 3289else 3290 echo "configure: failed program was:" >&5 3291 cat conftest.$ac_ext >&5 3292 ac_cv_prog_cc_works=no 3293fi 3294rm -fr conftest* 3295ac_ext=c 3296# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 3297ac_cpp='$CPP $CPPFLAGS' 3298ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 3299ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 3300cross_compiling=$ac_cv_prog_cc_cross | 5485test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 5486See \`config.log' for more details." >&5 5487echo "$as_me: error: no acceptable C compiler found in \$PATH 5488See \`config.log' for more details." >&2;} 5489 { (exit 1); exit 1; }; } |
3301 | 5490 |
3302echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 3303if test $ac_cv_prog_cc_works = no; then 3304 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 3305fi 3306echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 3307echo "configure:3308: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 3308echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 3309cross_compiling=$ac_cv_prog_cc_cross | 5491# Provide some information about the compiler. 5492echo "$as_me:$LINENO:" \ 5493 "checking for C compiler version" >&5 5494ac_compiler=`set X $ac_compile; echo $2` 5495{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 5496 (eval $ac_compiler --version </dev/null >&5) 2>&5 5497 ac_status=$? 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5499 (exit $ac_status); } 5500{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 5501 (eval $ac_compiler -v </dev/null >&5) 2>&5 5502 ac_status=$? 5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5504 (exit $ac_status); } 5505{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 5506 (eval $ac_compiler -V </dev/null >&5) 2>&5 5507 ac_status=$? 5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5509 (exit $ac_status); } |
3310 | 5510 |
3311echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 3312echo "configure:3313: checking whether we are using GNU C" >&5 3313if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 3314 echo $ac_n "(cached) $ac_c" 1>&6 | 5511echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 5512echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 5513if test "${ac_cv_c_compiler_gnu+set}" = set; then 5514 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3315else | 5515else |
3316 cat > conftest.c <<EOF 3317#ifdef __GNUC__ 3318 yes; | 5516 cat >conftest.$ac_ext <<_ACEOF 5517/* confdefs.h. */ 5518_ACEOF 5519cat confdefs.h >>conftest.$ac_ext 5520cat >>conftest.$ac_ext <<_ACEOF 5521/* end confdefs.h. */ 5522 5523int 5524main () 5525{ 5526#ifndef __GNUC__ 5527 choke me |
3319#endif | 5528#endif |
3320EOF 3321if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 3322 ac_cv_prog_gcc=yes 3323else 3324 ac_cv_prog_gcc=no 3325fi 3326fi | |
3327 | 5529 |
3328echo "$ac_t""$ac_cv_prog_gcc" 1>&6 3329 3330if test $ac_cv_prog_gcc = yes; then 3331 GCC=yes | 5530 ; 5531 return 0; 5532} 5533_ACEOF 5534rm -f conftest.$ac_objext 5535if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5536 (eval $ac_compile) 2>conftest.er1 5537 ac_status=$? 5538 grep -v '^ *+' conftest.er1 >conftest.err 5539 rm -f conftest.er1 5540 cat conftest.err >&5 5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5542 (exit $ac_status); } && 5543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5545 (eval $ac_try) 2>&5 5546 ac_status=$? 5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5548 (exit $ac_status); }; } && 5549 { ac_try='test -s conftest.$ac_objext' 5550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5551 (eval $ac_try) 2>&5 5552 ac_status=$? 5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5554 (exit $ac_status); }; }; then 5555 ac_compiler_gnu=yes |
3332else | 5556else |
3333 GCC= | 5557 echo "$as_me: failed program was:" >&5 5558sed 's/^/| /' conftest.$ac_ext >&5 5559 5560ac_compiler_gnu=no |
3334fi | 5561fi |
5562rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5563ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
3335 | 5564 |
3336ac_test_CFLAGS="${CFLAGS+set}" 3337ac_save_CFLAGS="$CFLAGS" 3338CFLAGS= 3339echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 3340echo "configure:3341: checking whether ${CC-cc} accepts -g" >&5 3341if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 3342 echo $ac_n "(cached) $ac_c" 1>&6 | 5565fi 5566echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 5567echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 5568GCC=`test $ac_compiler_gnu = yes && echo yes` 5569ac_test_CFLAGS=${CFLAGS+set} 5570ac_save_CFLAGS=$CFLAGS 5571CFLAGS="-g" 5572echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 5573echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 5574if test "${ac_cv_prog_cc_g+set}" = set; then 5575 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3343else | 5576else |
3344 echo 'void f(){}' > conftest.c 3345if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 5577 cat >conftest.$ac_ext <<_ACEOF 5578/* confdefs.h. */ 5579_ACEOF 5580cat confdefs.h >>conftest.$ac_ext 5581cat >>conftest.$ac_ext <<_ACEOF 5582/* end confdefs.h. */ 5583 5584int 5585main () 5586{ 5587 5588 ; 5589 return 0; 5590} 5591_ACEOF 5592rm -f conftest.$ac_objext 5593if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5594 (eval $ac_compile) 2>conftest.er1 5595 ac_status=$? 5596 grep -v '^ *+' conftest.er1 >conftest.err 5597 rm -f conftest.er1 5598 cat conftest.err >&5 5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5600 (exit $ac_status); } && 5601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5603 (eval $ac_try) 2>&5 5604 ac_status=$? 5605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5606 (exit $ac_status); }; } && 5607 { ac_try='test -s conftest.$ac_objext' 5608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5609 (eval $ac_try) 2>&5 5610 ac_status=$? 5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5612 (exit $ac_status); }; }; then |
3346 ac_cv_prog_cc_g=yes 3347else | 5613 ac_cv_prog_cc_g=yes 5614else |
3348 ac_cv_prog_cc_g=no 3349fi 3350rm -f conftest* | 5615 echo "$as_me: failed program was:" >&5 5616sed 's/^/| /' conftest.$ac_ext >&5 |
3351 | 5617 |
5618ac_cv_prog_cc_g=no |
|
3352fi | 5619fi |
3353 3354echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 5620rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5621fi 5622echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 5623echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
3355if test "$ac_test_CFLAGS" = set; then | 5624if test "$ac_test_CFLAGS" = set; then |
3356 CFLAGS="$ac_save_CFLAGS" | 5625 CFLAGS=$ac_save_CFLAGS |
3357elif test $ac_cv_prog_cc_g = yes; then 3358 if test "$GCC" = yes; then 3359 CFLAGS="-g -O2" 3360 else 3361 CFLAGS="-g" 3362 fi 3363else 3364 if test "$GCC" = yes; then 3365 CFLAGS="-O2" 3366 else 3367 CFLAGS= 3368 fi 3369fi | 5626elif test $ac_cv_prog_cc_g = yes; then 5627 if test "$GCC" = yes; then 5628 CFLAGS="-g -O2" 5629 else 5630 CFLAGS="-g" 5631 fi 5632else 5633 if test "$GCC" = yes; then 5634 CFLAGS="-O2" 5635 else 5636 CFLAGS= 5637 fi 5638fi |
5639echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 5640echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 5641if test "${ac_cv_prog_cc_stdc+set}" = set; then 5642 echo $ECHO_N "(cached) $ECHO_C" >&6 5643else 5644 ac_cv_prog_cc_stdc=no 5645ac_save_CC=$CC 5646cat >conftest.$ac_ext <<_ACEOF 5647/* confdefs.h. */ 5648_ACEOF 5649cat confdefs.h >>conftest.$ac_ext 5650cat >>conftest.$ac_ext <<_ACEOF 5651/* end confdefs.h. */ 5652#include <stdarg.h> 5653#include <stdio.h> 5654#include <sys/types.h> 5655#include <sys/stat.h> 5656/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5657struct buf { int x; }; 5658FILE * (*rcsopen) (struct buf *, struct stat *, int); 5659static char *e (p, i) 5660 char **p; 5661 int i; 5662{ 5663 return p[i]; 5664} 5665static char *f (char * (*g) (char **, int), char **p, ...) 5666{ 5667 char *s; 5668 va_list v; 5669 va_start (v,p); 5670 s = g (p, va_arg (v,int)); 5671 va_end (v); 5672 return s; 5673} |
|
3370 | 5674 |
5675/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5676 function prototypes and stuff, but not '\xHH' hex character constants. 5677 These don't provoke an error unfortunately, instead are silently treated 5678 as 'x'. The following induces an error, until -std1 is added to get 5679 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5680 array size at least. It's necessary to write '\x00'==0 to get something 5681 that's true only with -std1. */ 5682int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
3371 | 5683 |
3372for ac_prog in 'bison -y' byacc | 5684int test (int i, double x); 5685struct s1 {int (*f) (int a);}; 5686struct s2 {int (*f) (double a);}; 5687int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5688int argc; 5689char **argv; 5690int 5691main () 5692{ 5693return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5694 ; 5695 return 0; 5696} 5697_ACEOF 5698# Don't try gcc -ansi; that turns off useful extensions and 5699# breaks some systems' header files. 5700# AIX -qlanglvl=ansi 5701# Ultrix and OSF/1 -std1 5702# HP-UX 10.20 and later -Ae 5703# HP-UX older versions -Aa -D_HPUX_SOURCE 5704# SVR4 -Xc -D__EXTENSIONS__ 5705for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3373do | 5706do |
3374# Extract the first word of "$ac_prog", so it can be a program name with args. 3375set dummy $ac_prog; ac_word=$2 3376echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3377echo "configure:3378: checking for $ac_word" >&5 3378if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 3379 echo $ac_n "(cached) $ac_c" 1>&6 | 5707 CC="$ac_save_CC $ac_arg" 5708 rm -f conftest.$ac_objext 5709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5710 (eval $ac_compile) 2>conftest.er1 5711 ac_status=$? 5712 grep -v '^ *+' conftest.er1 >conftest.err 5713 rm -f conftest.er1 5714 cat conftest.err >&5 5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5716 (exit $ac_status); } && 5717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5719 (eval $ac_try) 2>&5 5720 ac_status=$? 5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5722 (exit $ac_status); }; } && 5723 { ac_try='test -s conftest.$ac_objext' 5724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5725 (eval $ac_try) 2>&5 5726 ac_status=$? 5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5728 (exit $ac_status); }; }; then 5729 ac_cv_prog_cc_stdc=$ac_arg 5730break |
3380else | 5731else |
3381 if test -n "$YACC"; then 3382 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3383else 3384 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3385 ac_dummy="$PATH" 3386 for ac_dir in $ac_dummy; do 3387 test -z "$ac_dir" && ac_dir=. 3388 if test -f $ac_dir/$ac_word; then 3389 ac_cv_prog_YACC="$ac_prog" 3390 break 3391 fi 3392 done 3393 IFS="$ac_save_ifs" 3394fi 3395fi 3396YACC="$ac_cv_prog_YACC" 3397if test -n "$YACC"; then 3398 echo "$ac_t""$YACC" 1>&6 3399else 3400 echo "$ac_t""no" 1>&6 3401fi | 5732 echo "$as_me: failed program was:" >&5 5733sed 's/^/| /' conftest.$ac_ext >&5 |
3402 | 5734 |
3403test -n "$YACC" && break | 5735fi 5736rm -f conftest.err conftest.$ac_objext |
3404done | 5737done |
3405test -n "$YACC" || YACC="yacc" | 5738rm -f conftest.$ac_ext conftest.$ac_objext 5739CC=$ac_save_CC |
3406 | 5740 |
3407echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 3408echo "configure:3409: checking how to run the C preprocessor" >&5 3409# On Suns, sometimes $CPP names a directory. 3410if test -n "$CPP" && test -d "$CPP"; then 3411 CPP= | |
3412fi | 5741fi |
3413if test -z "$CPP"; then 3414if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 3415 echo $ac_n "(cached) $ac_c" 1>&6 3416else 3417 # This must be in double quotes, not single quotes, because CPP may get 3418 # substituted into the Makefile and "${CC-cc}" will confuse make. 3419 CPP="${CC-cc} -E" 3420 # On the NeXT, cc -E runs the code through the compiler's parser, 3421 # not just through cpp. 3422 cat > conftest.$ac_ext <<EOF 3423#line 3424 "configure" 3424#include "confdefs.h" 3425#include <assert.h> 3426Syntax Error 3427EOF 3428ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3429{ (eval echo configure:3430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3430ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3431if test -z "$ac_err"; then | 5742 5743case "x$ac_cv_prog_cc_stdc" in 5744 x|xno) 5745 echo "$as_me:$LINENO: result: none needed" >&5 5746echo "${ECHO_T}none needed" >&6 ;; 5747 *) 5748 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 5749echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 5750 CC="$CC $ac_cv_prog_cc_stdc" ;; 5751esac 5752 5753# Some people use a C++ compiler to compile C. Since we use `exit', 5754# in C++ we need to declare it. In case someone uses the same compiler 5755# for both compiling C and C++ we need to have the C++ compiler decide 5756# the declaration of exit, since it's the most demanding environment. 5757cat >conftest.$ac_ext <<_ACEOF 5758#ifndef __cplusplus 5759 choke me 5760#endif 5761_ACEOF 5762rm -f conftest.$ac_objext 5763if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5764 (eval $ac_compile) 2>conftest.er1 5765 ac_status=$? 5766 grep -v '^ *+' conftest.er1 >conftest.err 5767 rm -f conftest.er1 5768 cat conftest.err >&5 5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5770 (exit $ac_status); } && 5771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5773 (eval $ac_try) 2>&5 5774 ac_status=$? 5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5776 (exit $ac_status); }; } && 5777 { ac_try='test -s conftest.$ac_objext' 5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5779 (eval $ac_try) 2>&5 5780 ac_status=$? 5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5782 (exit $ac_status); }; }; then 5783 for ac_declaration in \ 5784 '' \ 5785 'extern "C" void std::exit (int) throw (); using std::exit;' \ 5786 'extern "C" void std::exit (int); using std::exit;' \ 5787 'extern "C" void exit (int) throw ();' \ 5788 'extern "C" void exit (int);' \ 5789 'void exit (int);' 5790do 5791 cat >conftest.$ac_ext <<_ACEOF 5792/* confdefs.h. */ 5793_ACEOF 5794cat confdefs.h >>conftest.$ac_ext 5795cat >>conftest.$ac_ext <<_ACEOF 5796/* end confdefs.h. */ 5797$ac_declaration 5798#include <stdlib.h> 5799int 5800main () 5801{ 5802exit (42); 5803 ; 5804 return 0; 5805} 5806_ACEOF 5807rm -f conftest.$ac_objext 5808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5809 (eval $ac_compile) 2>conftest.er1 5810 ac_status=$? 5811 grep -v '^ *+' conftest.er1 >conftest.err 5812 rm -f conftest.er1 5813 cat conftest.err >&5 5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5815 (exit $ac_status); } && 5816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5818 (eval $ac_try) 2>&5 5819 ac_status=$? 5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5821 (exit $ac_status); }; } && 5822 { ac_try='test -s conftest.$ac_objext' 5823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5824 (eval $ac_try) 2>&5 5825 ac_status=$? 5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5827 (exit $ac_status); }; }; then |
3432 : 3433else | 5828 : 5829else |
3434 echo "$ac_err" >&5 3435 echo "configure: failed program was:" >&5 3436 cat conftest.$ac_ext >&5 3437 rm -rf conftest* 3438 CPP="${CC-cc} -E -traditional-cpp" 3439 cat > conftest.$ac_ext <<EOF 3440#line 3441 "configure" 3441#include "confdefs.h" 3442#include <assert.h> 3443Syntax Error 3444EOF 3445ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3446{ (eval echo configure:3447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3447ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3448if test -z "$ac_err"; then 3449 : | 5830 echo "$as_me: failed program was:" >&5 5831sed 's/^/| /' conftest.$ac_ext >&5 5832 5833continue 5834fi 5835rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5836 cat >conftest.$ac_ext <<_ACEOF 5837/* confdefs.h. */ 5838_ACEOF 5839cat confdefs.h >>conftest.$ac_ext 5840cat >>conftest.$ac_ext <<_ACEOF 5841/* end confdefs.h. */ 5842$ac_declaration 5843int 5844main () 5845{ 5846exit (42); 5847 ; 5848 return 0; 5849} 5850_ACEOF 5851rm -f conftest.$ac_objext 5852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5853 (eval $ac_compile) 2>conftest.er1 5854 ac_status=$? 5855 grep -v '^ *+' conftest.er1 >conftest.err 5856 rm -f conftest.er1 5857 cat conftest.err >&5 5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5859 (exit $ac_status); } && 5860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5862 (eval $ac_try) 2>&5 5863 ac_status=$? 5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5865 (exit $ac_status); }; } && 5866 { ac_try='test -s conftest.$ac_objext' 5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5868 (eval $ac_try) 2>&5 5869 ac_status=$? 5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5871 (exit $ac_status); }; }; then 5872 break |
3450else | 5873else |
3451 echo "$ac_err" >&5 3452 echo "configure: failed program was:" >&5 3453 cat conftest.$ac_ext >&5 3454 rm -rf conftest* 3455 CPP="${CC-cc} -nologo -E" 3456 cat > conftest.$ac_ext <<EOF 3457#line 3458 "configure" 3458#include "confdefs.h" 3459#include <assert.h> 3460Syntax Error 3461EOF 3462ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3463{ (eval echo configure:3464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3464ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3465if test -z "$ac_err"; then 3466 : 3467else 3468 echo "$ac_err" >&5 3469 echo "configure: failed program was:" >&5 3470 cat conftest.$ac_ext >&5 3471 rm -rf conftest* 3472 CPP=/lib/cpp | 5874 echo "$as_me: failed program was:" >&5 5875sed 's/^/| /' conftest.$ac_ext >&5 5876 |
3473fi | 5877fi |
5878rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5879done |
|
3474rm -f conftest* | 5880rm -f conftest* |
5881if test -n "$ac_declaration"; then 5882 echo '#ifdef __cplusplus' >>confdefs.h 5883 echo $ac_declaration >>confdefs.h 5884 echo '#endif' >>confdefs.h |
|
3475fi | 5885fi |
3476rm -f conftest* 3477fi 3478rm -f conftest* 3479 ac_cv_prog_CPP="$CPP" 3480fi 3481 CPP="$ac_cv_prog_CPP" | 5886 |
3482else | 5887else |
3483 ac_cv_prog_CPP="$CPP" | 5888 echo "$as_me: failed program was:" >&5 5889sed 's/^/| /' conftest.$ac_ext >&5 5890 |
3484fi | 5891fi |
3485echo "$ac_t""$CPP" 1>&6 | 5892rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5893ac_ext=c 5894ac_cpp='$CPP $CPPFLAGS' 5895ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5896ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5897ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3486 | 5898 |
3487missing_dir=`cd $ac_aux_dir && pwd` 3488for ac_prog in flex lex | 5899 5900for ac_prog in 'bison -y' byacc |
3489do | 5901do |
3490# Extract the first word of "$ac_prog", so it can be a program name with args. | 5902 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3491set dummy $ac_prog; ac_word=$2 | 5903set dummy $ac_prog; ac_word=$2 |
3492echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3493echo "configure:3494: checking for $ac_word" >&5 3494if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3495 echo $ac_n "(cached) $ac_c" 1>&6 | 5904echo "$as_me:$LINENO: checking for $ac_word" >&5 5905echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5906if test "${ac_cv_prog_YACC+set}" = set; then 5907 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3496else | 5908else |
3497 if test -n "$LEX"; then 3498 ac_cv_prog_LEX="$LEX" # Let the user override the test. | 5909 if test -n "$YACC"; then 5910 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3499else | 5911else |
3500 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3501 ac_dummy="$PATH" 3502 for ac_dir in $ac_dummy; do 3503 test -z "$ac_dir" && ac_dir=. 3504 if test -f $ac_dir/$ac_word; then 3505 ac_cv_prog_LEX="$ac_prog" 3506 break 3507 fi 3508 done 3509 IFS="$ac_save_ifs" | 5912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5913for as_dir in $PATH 5914do 5915 IFS=$as_save_IFS 5916 test -z "$as_dir" && as_dir=. 5917 for ac_exec_ext in '' $ac_executable_extensions; do 5918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5919 ac_cv_prog_YACC="$ac_prog" 5920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5921 break 2 5922 fi 5923done 5924done 5925 |
3510fi 3511fi | 5926fi 5927fi |
3512LEX="$ac_cv_prog_LEX" 3513if test -n "$LEX"; then 3514 echo "$ac_t""$LEX" 1>&6 | 5928YACC=$ac_cv_prog_YACC 5929if test -n "$YACC"; then 5930 echo "$as_me:$LINENO: result: $YACC" >&5 5931echo "${ECHO_T}$YACC" >&6 |
3515else | 5932else |
3516 echo "$ac_t""no" 1>&6 | 5933 echo "$as_me:$LINENO: result: no" >&5 5934echo "${ECHO_T}no" >&6 |
3517fi 3518 | 5935fi 5936 |
3519test -n "$LEX" && break | 5937 test -n "$YACC" && break |
3520done | 5938done |
3521test -n "$LEX" || LEX="$missing_dir/missing flex" | 5939test -n "$YACC" || YACC="yacc" |
3522 | 5940 |
3523# Extract the first word of "flex", so it can be a program name with args. 3524set dummy flex; ac_word=$2 3525echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3526echo "configure:3527: checking for $ac_word" >&5 3527if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 3528 echo $ac_n "(cached) $ac_c" 1>&6 | 5941for ac_prog in flex lex 5942do 5943 # Extract the first word of "$ac_prog", so it can be a program name with args. 5944set dummy $ac_prog; ac_word=$2 5945echo "$as_me:$LINENO: checking for $ac_word" >&5 5946echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 5947if test "${ac_cv_prog_LEX+set}" = set; then 5948 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3529else 3530 if test -n "$LEX"; then 3531 ac_cv_prog_LEX="$LEX" # Let the user override the test. 3532else | 5949else 5950 if test -n "$LEX"; then 5951 ac_cv_prog_LEX="$LEX" # Let the user override the test. 5952else |
3533 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3534 ac_dummy="$PATH" 3535 for ac_dir in $ac_dummy; do 3536 test -z "$ac_dir" && ac_dir=. 3537 if test -f $ac_dir/$ac_word; then 3538 ac_cv_prog_LEX="flex" 3539 break 3540 fi 3541 done 3542 IFS="$ac_save_ifs" 3543 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" | 5953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5954for as_dir in $PATH 5955do 5956 IFS=$as_save_IFS 5957 test -z "$as_dir" && as_dir=. 5958 for ac_exec_ext in '' $ac_executable_extensions; do 5959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5960 ac_cv_prog_LEX="$ac_prog" 5961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5962 break 2 5963 fi 5964done 5965done 5966 |
3544fi 3545fi | 5967fi 5968fi |
3546LEX="$ac_cv_prog_LEX" | 5969LEX=$ac_cv_prog_LEX |
3547if test -n "$LEX"; then | 5970if test -n "$LEX"; then |
3548 echo "$ac_t""$LEX" 1>&6 | 5971 echo "$as_me:$LINENO: result: $LEX" >&5 5972echo "${ECHO_T}$LEX" >&6 |
3549else | 5973else |
3550 echo "$ac_t""no" 1>&6 | 5974 echo "$as_me:$LINENO: result: no" >&5 5975echo "${ECHO_T}no" >&6 |
3551fi 3552 | 5976fi 5977 |
5978 test -n "$LEX" && break 5979done 5980test -n "$LEX" || LEX=":" 5981 |
|
3553if test -z "$LEXLIB" 3554then | 5982if test -z "$LEXLIB" 5983then |
3555 case "$LEX" in 3556 flex*) ac_lib=fl ;; 3557 *) ac_lib=l ;; 3558 esac 3559 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 3560echo "configure:3561: checking for yywrap in -l$ac_lib" >&5 3561ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 3562if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3563 echo $ac_n "(cached) $ac_c" 1>&6 | 5984 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 5985echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 5986if test "${ac_cv_lib_fl_yywrap+set}" = set; then 5987 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3564else | 5988else |
3565 ac_save_LIBS="$LIBS" 3566LIBS="-l$ac_lib $LIBS" 3567cat > conftest.$ac_ext <<EOF 3568#line 3569 "configure" 3569#include "confdefs.h" | 5989 ac_check_lib_save_LIBS=$LIBS 5990LIBS="-lfl $LIBS" 5991cat >conftest.$ac_ext <<_ACEOF 5992/* confdefs.h. */ 5993_ACEOF 5994cat confdefs.h >>conftest.$ac_ext 5995cat >>conftest.$ac_ext <<_ACEOF 5996/* end confdefs.h. */ 5997 |
3570/* Override any gcc2 internal prototype to avoid an error. */ | 5998/* Override any gcc2 internal prototype to avoid an error. */ |
5999#ifdef __cplusplus 6000extern "C" 6001#endif |
|
3571/* We use char because int might match the return type of a gcc2 | 6002/* We use char because int might match the return type of a gcc2 |
3572 builtin and then its argument prototype would still apply. */ 3573char yywrap(); 3574 3575int main() { 3576yywrap() 3577; return 0; } 3578EOF 3579if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3580 rm -rf conftest* 3581 eval "ac_cv_lib_$ac_lib_var=yes" | 6003 builtin and then its argument prototype would still apply. */ 6004char yywrap (); 6005int 6006main () 6007{ 6008yywrap (); 6009 ; 6010 return 0; 6011} 6012_ACEOF 6013rm -f conftest.$ac_objext conftest$ac_exeext 6014if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6015 (eval $ac_link) 2>conftest.er1 6016 ac_status=$? 6017 grep -v '^ *+' conftest.er1 >conftest.err 6018 rm -f conftest.er1 6019 cat conftest.err >&5 6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6021 (exit $ac_status); } && 6022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6024 (eval $ac_try) 2>&5 6025 ac_status=$? 6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6027 (exit $ac_status); }; } && 6028 { ac_try='test -s conftest$ac_exeext' 6029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6030 (eval $ac_try) 2>&5 6031 ac_status=$? 6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6033 (exit $ac_status); }; }; then 6034 ac_cv_lib_fl_yywrap=yes |
3582else | 6035else |
3583 echo "configure: failed program was:" >&5 3584 cat conftest.$ac_ext >&5 3585 rm -rf conftest* 3586 eval "ac_cv_lib_$ac_lib_var=no" 3587fi 3588rm -f conftest* 3589LIBS="$ac_save_LIBS" | 6036 echo "$as_me: failed program was:" >&5 6037sed 's/^/| /' conftest.$ac_ext >&5 |
3590 | 6038 |
6039ac_cv_lib_fl_yywrap=no |
|
3591fi | 6040fi |
3592if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3593 echo "$ac_t""yes" 1>&6 3594 LEXLIB="-l$ac_lib" | 6041rm -f conftest.err conftest.$ac_objext \ 6042 conftest$ac_exeext conftest.$ac_ext 6043LIBS=$ac_check_lib_save_LIBS 6044fi 6045echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 6046echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 6047if test $ac_cv_lib_fl_yywrap = yes; then 6048 LEXLIB="-lfl" |
3595else | 6049else |
3596 echo "$ac_t""no" 1>&6 | 6050 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 6051echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 6052if test "${ac_cv_lib_l_yywrap+set}" = set; then 6053 echo $ECHO_N "(cached) $ECHO_C" >&6 6054else 6055 ac_check_lib_save_LIBS=$LIBS 6056LIBS="-ll $LIBS" 6057cat >conftest.$ac_ext <<_ACEOF 6058/* confdefs.h. */ 6059_ACEOF 6060cat confdefs.h >>conftest.$ac_ext 6061cat >>conftest.$ac_ext <<_ACEOF 6062/* end confdefs.h. */ 6063 6064/* Override any gcc2 internal prototype to avoid an error. */ 6065#ifdef __cplusplus 6066extern "C" 6067#endif 6068/* We use char because int might match the return type of a gcc2 6069 builtin and then its argument prototype would still apply. */ 6070char yywrap (); 6071int 6072main () 6073{ 6074yywrap (); 6075 ; 6076 return 0; 6077} 6078_ACEOF 6079rm -f conftest.$ac_objext conftest$ac_exeext 6080if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6081 (eval $ac_link) 2>conftest.er1 6082 ac_status=$? 6083 grep -v '^ *+' conftest.er1 >conftest.err 6084 rm -f conftest.er1 6085 cat conftest.err >&5 6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6087 (exit $ac_status); } && 6088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6090 (eval $ac_try) 2>&5 6091 ac_status=$? 6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6093 (exit $ac_status); }; } && 6094 { ac_try='test -s conftest$ac_exeext' 6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6096 (eval $ac_try) 2>&5 6097 ac_status=$? 6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6099 (exit $ac_status); }; }; then 6100 ac_cv_lib_l_yywrap=yes 6101else 6102 echo "$as_me: failed program was:" >&5 6103sed 's/^/| /' conftest.$ac_ext >&5 6104 6105ac_cv_lib_l_yywrap=no |
3597fi | 6106fi |
6107rm -f conftest.err conftest.$ac_objext \ 6108 conftest$ac_exeext conftest.$ac_ext 6109LIBS=$ac_check_lib_save_LIBS 6110fi 6111echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 6112echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 6113if test $ac_cv_lib_l_yywrap = yes; then 6114 LEXLIB="-ll" 6115fi |
|
3598 3599fi 3600 | 6116 6117fi 6118 |
3601echo $ac_n "checking lex output file root""... $ac_c" 1>&6 3602echo "configure:3603: checking lex output file root" >&5 3603if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then 3604 echo $ac_n "(cached) $ac_c" 1>&6 | 6119fi 6120 6121if test "x$LEX" != "x:"; then 6122 echo "$as_me:$LINENO: checking lex output file root" >&5 6123echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 6124if test "${ac_cv_prog_lex_root+set}" = set; then 6125 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3605else 3606 # The minimal lex program is just a single line: %%. But some broken lexes 3607# (Solaris, I think it was) want two %% lines, so accommodate them. | 6126else 6127 # The minimal lex program is just a single line: %%. But some broken lexes 6128# (Solaris, I think it was) want two %% lines, so accommodate them. |
3608echo '%% 3609%%' | $LEX | 6129cat >conftest.l <<_ACEOF 6130%% 6131%% 6132_ACEOF 6133{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 6134 (eval $LEX conftest.l) 2>&5 6135 ac_status=$? 6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6137 (exit $ac_status); } |
3610if test -f lex.yy.c; then 3611 ac_cv_prog_lex_root=lex.yy 3612elif test -f lexyy.c; then 3613 ac_cv_prog_lex_root=lexyy 3614else | 6138if test -f lex.yy.c; then 6139 ac_cv_prog_lex_root=lex.yy 6140elif test -f lexyy.c; then 6141 ac_cv_prog_lex_root=lexyy 6142else |
3615 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; } | 6143 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 6144echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 6145 { (exit 1); exit 1; }; } |
3616fi 3617fi | 6146fi 6147fi |
3618 3619echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 | 6148echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 6149echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 6150rm -f conftest.l |
3620LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 3621 | 6151LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 6152 |
3622echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 3623echo "configure:3624: checking whether yytext is a pointer" >&5 3624if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then 3625 echo $ac_n "(cached) $ac_c" 1>&6 | 6153echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 6154echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 6155if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 6156 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3626else 3627 # POSIX says lex can declare yytext either as a pointer or an array; the 3628# default is implementation-dependent. Figure out which it is, since 3629# not all implementations provide the %pointer and %array declarations. 3630ac_cv_prog_lex_yytext_pointer=no 3631echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | 6157else 6158 # POSIX says lex can declare yytext either as a pointer or an array; the 6159# default is implementation-dependent. Figure out which it is, since 6160# not all implementations provide the %pointer and %array declarations. 6161ac_cv_prog_lex_yytext_pointer=no 6162echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c |
3632ac_save_LIBS="$LIBS" | 6163ac_save_LIBS=$LIBS |
3633LIBS="$LIBS $LEXLIB" | 6164LIBS="$LIBS $LEXLIB" |
3634cat > conftest.$ac_ext <<EOF 3635#line 3636 "configure" 3636#include "confdefs.h" | 6165cat >conftest.$ac_ext <<_ACEOF |
3637`cat $LEX_OUTPUT_ROOT.c` | 6166`cat $LEX_OUTPUT_ROOT.c` |
3638int main() { 3639 3640; return 0; } 3641EOF 3642if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3643 rm -rf conftest* | 6167_ACEOF 6168rm -f conftest.$ac_objext conftest$ac_exeext 6169if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6170 (eval $ac_link) 2>conftest.er1 6171 ac_status=$? 6172 grep -v '^ *+' conftest.er1 >conftest.err 6173 rm -f conftest.er1 6174 cat conftest.err >&5 6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6176 (exit $ac_status); } && 6177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6179 (eval $ac_try) 2>&5 6180 ac_status=$? 6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6182 (exit $ac_status); }; } && 6183 { ac_try='test -s conftest$ac_exeext' 6184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6185 (eval $ac_try) 2>&5 6186 ac_status=$? 6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6188 (exit $ac_status); }; }; then |
3644 ac_cv_prog_lex_yytext_pointer=yes 3645else | 6189 ac_cv_prog_lex_yytext_pointer=yes 6190else |
3646 echo "configure: failed program was:" >&5 3647 cat conftest.$ac_ext >&5 | 6191 echo "$as_me: failed program was:" >&5 6192sed 's/^/| /' conftest.$ac_ext >&5 6193 |
3648fi | 6194fi |
3649rm -f conftest* 3650LIBS="$ac_save_LIBS" | 6195rm -f conftest.err conftest.$ac_objext \ 6196 conftest$ac_exeext conftest.$ac_ext 6197LIBS=$ac_save_LIBS |
3651rm -f "${LEX_OUTPUT_ROOT}.c" 3652 3653fi | 6198rm -f "${LEX_OUTPUT_ROOT}.c" 6199 6200fi |
3654 3655echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6 | 6201echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 6202echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
3656if test $ac_cv_prog_lex_yytext_pointer = yes; then | 6203if test $ac_cv_prog_lex_yytext_pointer = yes; then |
3657 cat >> confdefs.h <<\EOF | 6204 6205cat >>confdefs.h <<\_ACEOF |
3658#define YYTEXT_POINTER 1 | 6206#define YYTEXT_POINTER 1 |
3659EOF | 6207_ACEOF |
3660 3661fi 3662 | 6208 6209fi 6210 |
6211fi 6212if test "$LEX" = :; then 6213 LEX=${am_missing_run}flex 6214fi |
|
3663 3664ALL_LINGUAS="fr tr es" | 6215 6216ALL_LINGUAS="fr tr es" |
3665# Extract the first word of "ranlib", so it can be a program name with args. 3666set dummy ranlib; ac_word=$2 3667echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3668echo "configure:3669: checking for $ac_word" >&5 3669if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 3670 echo $ac_n "(cached) $ac_c" 1>&6 | 6217if test -n "$ac_tool_prefix"; then 6218 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6219set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6220echo "$as_me:$LINENO: checking for $ac_word" >&5 6221echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6222if test "${ac_cv_prog_RANLIB+set}" = set; then 6223 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3671else 3672 if test -n "$RANLIB"; then 3673 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3674else | 6224else 6225 if test -n "$RANLIB"; then 6226 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6227else |
3675 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3676 ac_dummy="$PATH" 3677 for ac_dir in $ac_dummy; do 3678 test -z "$ac_dir" && ac_dir=. 3679 if test -f $ac_dir/$ac_word; then 3680 ac_cv_prog_RANLIB="ranlib" 3681 break 3682 fi 3683 done 3684 IFS="$ac_save_ifs" 3685 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | 6228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6229for as_dir in $PATH 6230do 6231 IFS=$as_save_IFS 6232 test -z "$as_dir" && as_dir=. 6233 for ac_exec_ext in '' $ac_executable_extensions; do 6234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6235 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6237 break 2 6238 fi 6239done 6240done 6241 |
3686fi 3687fi | 6242fi 6243fi |
3688RANLIB="$ac_cv_prog_RANLIB" | 6244RANLIB=$ac_cv_prog_RANLIB |
3689if test -n "$RANLIB"; then | 6245if test -n "$RANLIB"; then |
3690 echo "$ac_t""$RANLIB" 1>&6 | 6246 echo "$as_me:$LINENO: result: $RANLIB" >&5 6247echo "${ECHO_T}$RANLIB" >&6 |
3691else | 6248else |
3692 echo "$ac_t""no" 1>&6 | 6249 echo "$as_me:$LINENO: result: no" >&5 6250echo "${ECHO_T}no" >&6 |
3693fi 3694 | 6251fi 6252 |
3695echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 3696echo "configure:3697: checking for ANSI C header files" >&5 3697if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 3698 echo $ac_n "(cached) $ac_c" 1>&6 | 6253fi 6254if test -z "$ac_cv_prog_RANLIB"; then 6255 ac_ct_RANLIB=$RANLIB 6256 # Extract the first word of "ranlib", so it can be a program name with args. 6257set dummy ranlib; ac_word=$2 6258echo "$as_me:$LINENO: checking for $ac_word" >&5 6259echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 6260if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6261 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3699else | 6262else |
3700 cat > conftest.$ac_ext <<EOF 3701#line 3702 "configure" 3702#include "confdefs.h" | 6263 if test -n "$ac_ct_RANLIB"; then 6264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6265else 6266as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6267for as_dir in $PATH 6268do 6269 IFS=$as_save_IFS 6270 test -z "$as_dir" && as_dir=. 6271 for ac_exec_ext in '' $ac_executable_extensions; do 6272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6273 ac_cv_prog_ac_ct_RANLIB="ranlib" 6274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6275 break 2 6276 fi 6277done 6278done 6279 6280 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 6281fi 6282fi 6283ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6284if test -n "$ac_ct_RANLIB"; then 6285 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6286echo "${ECHO_T}$ac_ct_RANLIB" >&6 6287else 6288 echo "$as_me:$LINENO: result: no" >&5 6289echo "${ECHO_T}no" >&6 6290fi 6291 6292 RANLIB=$ac_ct_RANLIB 6293else 6294 RANLIB="$ac_cv_prog_RANLIB" 6295fi 6296 6297ac_ext=c 6298ac_cpp='$CPP $CPPFLAGS' 6299ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6301ac_compiler_gnu=$ac_cv_c_compiler_gnu 6302echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6303echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 6304# On Suns, sometimes $CPP names a directory. 6305if test -n "$CPP" && test -d "$CPP"; then 6306 CPP= 6307fi 6308if test -z "$CPP"; then 6309 if test "${ac_cv_prog_CPP+set}" = set; then 6310 echo $ECHO_N "(cached) $ECHO_C" >&6 6311else 6312 # Double quotes because CPP needs to be expanded 6313 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6314 do 6315 ac_preproc_ok=false 6316for ac_c_preproc_warn_flag in '' yes 6317do 6318 # Use a header file that comes with gcc, so configuring glibc 6319 # with a fresh cross-compiler works. 6320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6321 # <limits.h> exists even on freestanding compilers. 6322 # On the NeXT, cc -E runs the code through the compiler's parser, 6323 # not just through cpp. "Syntax error" is here to catch this case. 6324 cat >conftest.$ac_ext <<_ACEOF 6325/* confdefs.h. */ 6326_ACEOF 6327cat confdefs.h >>conftest.$ac_ext 6328cat >>conftest.$ac_ext <<_ACEOF 6329/* end confdefs.h. */ 6330#ifdef __STDC__ 6331# include <limits.h> 6332#else 6333# include <assert.h> 6334#endif 6335 Syntax error 6336_ACEOF 6337if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6339 ac_status=$? 6340 grep -v '^ *+' conftest.er1 >conftest.err 6341 rm -f conftest.er1 6342 cat conftest.err >&5 6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6344 (exit $ac_status); } >/dev/null; then 6345 if test -s conftest.err; then 6346 ac_cpp_err=$ac_c_preproc_warn_flag 6347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6348 else 6349 ac_cpp_err= 6350 fi 6351else 6352 ac_cpp_err=yes 6353fi 6354if test -z "$ac_cpp_err"; then 6355 : 6356else 6357 echo "$as_me: failed program was:" >&5 6358sed 's/^/| /' conftest.$ac_ext >&5 6359 6360 # Broken: fails on valid input. 6361continue 6362fi 6363rm -f conftest.err conftest.$ac_ext 6364 6365 # OK, works on sane cases. Now check whether non-existent headers 6366 # can be detected and how. 6367 cat >conftest.$ac_ext <<_ACEOF 6368/* confdefs.h. */ 6369_ACEOF 6370cat confdefs.h >>conftest.$ac_ext 6371cat >>conftest.$ac_ext <<_ACEOF 6372/* end confdefs.h. */ 6373#include <ac_nonexistent.h> 6374_ACEOF 6375if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6377 ac_status=$? 6378 grep -v '^ *+' conftest.er1 >conftest.err 6379 rm -f conftest.er1 6380 cat conftest.err >&5 6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6382 (exit $ac_status); } >/dev/null; then 6383 if test -s conftest.err; then 6384 ac_cpp_err=$ac_c_preproc_warn_flag 6385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6386 else 6387 ac_cpp_err= 6388 fi 6389else 6390 ac_cpp_err=yes 6391fi 6392if test -z "$ac_cpp_err"; then 6393 # Broken: success on invalid input. 6394continue 6395else 6396 echo "$as_me: failed program was:" >&5 6397sed 's/^/| /' conftest.$ac_ext >&5 6398 6399 # Passes both tests. 6400ac_preproc_ok=: 6401break 6402fi 6403rm -f conftest.err conftest.$ac_ext 6404 6405done 6406# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6407rm -f conftest.err conftest.$ac_ext 6408if $ac_preproc_ok; then 6409 break 6410fi 6411 6412 done 6413 ac_cv_prog_CPP=$CPP 6414 6415fi 6416 CPP=$ac_cv_prog_CPP 6417else 6418 ac_cv_prog_CPP=$CPP 6419fi 6420echo "$as_me:$LINENO: result: $CPP" >&5 6421echo "${ECHO_T}$CPP" >&6 6422ac_preproc_ok=false 6423for ac_c_preproc_warn_flag in '' yes 6424do 6425 # Use a header file that comes with gcc, so configuring glibc 6426 # with a fresh cross-compiler works. 6427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6428 # <limits.h> exists even on freestanding compilers. 6429 # On the NeXT, cc -E runs the code through the compiler's parser, 6430 # not just through cpp. "Syntax error" is here to catch this case. 6431 cat >conftest.$ac_ext <<_ACEOF 6432/* confdefs.h. */ 6433_ACEOF 6434cat confdefs.h >>conftest.$ac_ext 6435cat >>conftest.$ac_ext <<_ACEOF 6436/* end confdefs.h. */ 6437#ifdef __STDC__ 6438# include <limits.h> 6439#else 6440# include <assert.h> 6441#endif 6442 Syntax error 6443_ACEOF 6444if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6446 ac_status=$? 6447 grep -v '^ *+' conftest.er1 >conftest.err 6448 rm -f conftest.er1 6449 cat conftest.err >&5 6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6451 (exit $ac_status); } >/dev/null; then 6452 if test -s conftest.err; then 6453 ac_cpp_err=$ac_c_preproc_warn_flag 6454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6455 else 6456 ac_cpp_err= 6457 fi 6458else 6459 ac_cpp_err=yes 6460fi 6461if test -z "$ac_cpp_err"; then 6462 : 6463else 6464 echo "$as_me: failed program was:" >&5 6465sed 's/^/| /' conftest.$ac_ext >&5 6466 6467 # Broken: fails on valid input. 6468continue 6469fi 6470rm -f conftest.err conftest.$ac_ext 6471 6472 # OK, works on sane cases. Now check whether non-existent headers 6473 # can be detected and how. 6474 cat >conftest.$ac_ext <<_ACEOF 6475/* confdefs.h. */ 6476_ACEOF 6477cat confdefs.h >>conftest.$ac_ext 6478cat >>conftest.$ac_ext <<_ACEOF 6479/* end confdefs.h. */ 6480#include <ac_nonexistent.h> 6481_ACEOF 6482if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6484 ac_status=$? 6485 grep -v '^ *+' conftest.er1 >conftest.err 6486 rm -f conftest.er1 6487 cat conftest.err >&5 6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6489 (exit $ac_status); } >/dev/null; then 6490 if test -s conftest.err; then 6491 ac_cpp_err=$ac_c_preproc_warn_flag 6492 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6493 else 6494 ac_cpp_err= 6495 fi 6496else 6497 ac_cpp_err=yes 6498fi 6499if test -z "$ac_cpp_err"; then 6500 # Broken: success on invalid input. 6501continue 6502else 6503 echo "$as_me: failed program was:" >&5 6504sed 's/^/| /' conftest.$ac_ext >&5 6505 6506 # Passes both tests. 6507ac_preproc_ok=: 6508break 6509fi 6510rm -f conftest.err conftest.$ac_ext 6511 6512done 6513# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6514rm -f conftest.err conftest.$ac_ext 6515if $ac_preproc_ok; then 6516 : 6517else 6518 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 6519See \`config.log' for more details." >&5 6520echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 6521See \`config.log' for more details." >&2;} 6522 { (exit 1); exit 1; }; } 6523fi 6524 6525ac_ext=c 6526ac_cpp='$CPP $CPPFLAGS' 6527ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6528ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6529ac_compiler_gnu=$ac_cv_c_compiler_gnu 6530 6531 6532echo "$as_me:$LINENO: checking for egrep" >&5 6533echo $ECHO_N "checking for egrep... $ECHO_C" >&6 6534if test "${ac_cv_prog_egrep+set}" = set; then 6535 echo $ECHO_N "(cached) $ECHO_C" >&6 6536else 6537 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 6538 then ac_cv_prog_egrep='grep -E' 6539 else ac_cv_prog_egrep='egrep' 6540 fi 6541fi 6542echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 6543echo "${ECHO_T}$ac_cv_prog_egrep" >&6 6544 EGREP=$ac_cv_prog_egrep 6545 6546 6547echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6548echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 6549if test "${ac_cv_header_stdc+set}" = set; then 6550 echo $ECHO_N "(cached) $ECHO_C" >&6 6551else 6552 cat >conftest.$ac_ext <<_ACEOF 6553/* confdefs.h. */ 6554_ACEOF 6555cat confdefs.h >>conftest.$ac_ext 6556cat >>conftest.$ac_ext <<_ACEOF 6557/* end confdefs.h. */ |
3703#include <stdlib.h> 3704#include <stdarg.h> 3705#include <string.h> 3706#include <float.h> | 6558#include <stdlib.h> 6559#include <stdarg.h> 6560#include <string.h> 6561#include <float.h> |
3707EOF 3708ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3709{ (eval echo configure:3710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3710ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3711if test -z "$ac_err"; then 3712 rm -rf conftest* | 6562 6563int 6564main () 6565{ 6566 6567 ; 6568 return 0; 6569} 6570_ACEOF 6571rm -f conftest.$ac_objext 6572if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6573 (eval $ac_compile) 2>conftest.er1 6574 ac_status=$? 6575 grep -v '^ *+' conftest.er1 >conftest.err 6576 rm -f conftest.er1 6577 cat conftest.err >&5 6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6579 (exit $ac_status); } && 6580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6582 (eval $ac_try) 2>&5 6583 ac_status=$? 6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6585 (exit $ac_status); }; } && 6586 { ac_try='test -s conftest.$ac_objext' 6587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6588 (eval $ac_try) 2>&5 6589 ac_status=$? 6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6591 (exit $ac_status); }; }; then |
3713 ac_cv_header_stdc=yes 3714else | 6592 ac_cv_header_stdc=yes 6593else |
3715 echo "$ac_err" >&5 3716 echo "configure: failed program was:" >&5 3717 cat conftest.$ac_ext >&5 3718 rm -rf conftest* 3719 ac_cv_header_stdc=no | 6594 echo "$as_me: failed program was:" >&5 6595sed 's/^/| /' conftest.$ac_ext >&5 6596 6597ac_cv_header_stdc=no |
3720fi | 6598fi |
3721rm -f conftest* | 6599rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3722 3723if test $ac_cv_header_stdc = yes; then 3724 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6600 6601if test $ac_cv_header_stdc = yes; then 6602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3725cat > conftest.$ac_ext <<EOF 3726#line 3727 "configure" 3727#include "confdefs.h" | 6603 cat >conftest.$ac_ext <<_ACEOF 6604/* confdefs.h. */ 6605_ACEOF 6606cat confdefs.h >>conftest.$ac_ext 6607cat >>conftest.$ac_ext <<_ACEOF 6608/* end confdefs.h. */ |
3728#include <string.h> | 6609#include <string.h> |
3729EOF | 6610 6611_ACEOF |
3730if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6612if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3731 egrep "memchr" >/dev/null 2>&1; then | 6613 $EGREP "memchr" >/dev/null 2>&1; then |
3732 : 3733else | 6614 : 6615else |
3734 rm -rf conftest* | |
3735 ac_cv_header_stdc=no 3736fi 3737rm -f conftest* 3738 3739fi 3740 3741if test $ac_cv_header_stdc = yes; then 3742 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 6616 ac_cv_header_stdc=no 6617fi 6618rm -f conftest* 6619 6620fi 6621 6622if test $ac_cv_header_stdc = yes; then 6623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3743cat > conftest.$ac_ext <<EOF 3744#line 3745 "configure" 3745#include "confdefs.h" | 6624 cat >conftest.$ac_ext <<_ACEOF 6625/* confdefs.h. */ 6626_ACEOF 6627cat confdefs.h >>conftest.$ac_ext 6628cat >>conftest.$ac_ext <<_ACEOF 6629/* end confdefs.h. */ |
3746#include <stdlib.h> | 6630#include <stdlib.h> |
3747EOF | 6631 6632_ACEOF |
3748if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6633if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3749 egrep "free" >/dev/null 2>&1; then | 6634 $EGREP "free" >/dev/null 2>&1; then |
3750 : 3751else | 6635 : 6636else |
3752 rm -rf conftest* | |
3753 ac_cv_header_stdc=no 3754fi 3755rm -f conftest* 3756 3757fi 3758 3759if test $ac_cv_header_stdc = yes; then 3760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 6637 ac_cv_header_stdc=no 6638fi 6639rm -f conftest* 6640 6641fi 6642 6643if test $ac_cv_header_stdc = yes; then 6644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3761if test "$cross_compiling" = yes; then | 6645 if test "$cross_compiling" = yes; then |
3762 : 3763else | 6646 : 6647else |
3764 cat > conftest.$ac_ext <<EOF 3765#line 3766 "configure" 3766#include "confdefs.h" | 6648 cat >conftest.$ac_ext <<_ACEOF 6649/* confdefs.h. */ 6650_ACEOF 6651cat confdefs.h >>conftest.$ac_ext 6652cat >>conftest.$ac_ext <<_ACEOF 6653/* end confdefs.h. */ |
3767#include <ctype.h> | 6654#include <ctype.h> |
3768#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3769#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3770#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3771int main () { int i; for (i = 0; i < 256; i++) 3772if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 3773exit (0); } | 6655#if ((' ' & 0x0FF) == 0x020) 6656# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6657# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6658#else 6659# define ISLOWER(c) \ 6660 (('a' <= (c) && (c) <= 'i') \ 6661 || ('j' <= (c) && (c) <= 'r') \ 6662 || ('s' <= (c) && (c) <= 'z')) 6663# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6664#endif |
3774 | 6665 |
3775EOF 3776if { (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3777then | 6666#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6667int 6668main () 6669{ 6670 int i; 6671 for (i = 0; i < 256; i++) 6672 if (XOR (islower (i), ISLOWER (i)) 6673 || toupper (i) != TOUPPER (i)) 6674 exit(2); 6675 exit (0); 6676} 6677_ACEOF 6678rm -f conftest$ac_exeext 6679if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6680 (eval $ac_link) 2>&5 6681 ac_status=$? 6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6685 (eval $ac_try) 2>&5 6686 ac_status=$? 6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6688 (exit $ac_status); }; }; then |
3778 : 3779else | 6689 : 6690else |
3780 echo "configure: failed program was:" >&5 3781 cat conftest.$ac_ext >&5 3782 rm -fr conftest* 3783 ac_cv_header_stdc=no | 6691 echo "$as_me: program exited with status $ac_status" >&5 6692echo "$as_me: failed program was:" >&5 6693sed 's/^/| /' conftest.$ac_ext >&5 6694 6695( exit $ac_status ) 6696ac_cv_header_stdc=no |
3784fi | 6697fi |
3785rm -fr conftest* | 6698rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3786fi | 6699fi |
3787 | |
3788fi 3789fi | 6700fi 6701fi |
3790 3791echo "$ac_t""$ac_cv_header_stdc" 1>&6 | 6702echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6703echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
3792if test $ac_cv_header_stdc = yes; then | 6704if test $ac_cv_header_stdc = yes; then |
3793 cat >> confdefs.h <<\EOF | 6705 6706cat >>confdefs.h <<\_ACEOF |
3794#define STDC_HEADERS 1 | 6707#define STDC_HEADERS 1 |
3795EOF | 6708_ACEOF |
3796 3797fi 3798 | 6709 6710fi 6711 |
3799echo $ac_n "checking for working const""... $ac_c" 1>&6 3800echo "configure:3801: checking for working const" >&5 3801if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3802 echo $ac_n "(cached) $ac_c" 1>&6 | 6712echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 6713echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 6714if test "${ac_cv_c_const+set}" = set; then 6715 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3803else | 6716else |
3804 cat > conftest.$ac_ext <<EOF 3805#line 3806 "configure" 3806#include "confdefs.h" | 6717 cat >conftest.$ac_ext <<_ACEOF 6718/* confdefs.h. */ 6719_ACEOF 6720cat confdefs.h >>conftest.$ac_ext 6721cat >>conftest.$ac_ext <<_ACEOF 6722/* end confdefs.h. */ |
3807 | 6723 |
3808int main() { | 6724int 6725main () 6726{ 6727/* FIXME: Include the comments suggested by Paul. */ 6728#ifndef __cplusplus 6729 /* Ultrix mips cc rejects this. */ 6730 typedef int charset[2]; 6731 const charset x; 6732 /* SunOS 4.1.1 cc rejects this. */ 6733 char const *const *ccp; 6734 char **p; 6735 /* NEC SVR4.0.2 mips cc rejects this. */ 6736 struct point {int x, y;}; 6737 static struct point const zero = {0,0}; 6738 /* AIX XL C 1.02.0.0 rejects this. 6739 It does not let you subtract one const X* pointer from another in 6740 an arm of an if-expression whose if-part is not a constant 6741 expression */ 6742 const char *g = "string"; 6743 ccp = &g + (g ? g-g : 0); 6744 /* HPUX 7.0 cc rejects these. */ 6745 ++ccp; 6746 p = (char**) ccp; 6747 ccp = (char const *const *) p; 6748 { /* SCO 3.2v4 cc rejects this. */ 6749 char *t; 6750 char const *s = 0 ? (char *) 0 : (char const *) 0; |
3809 | 6751 |
3810/* Ultrix mips cc rejects this. */ 3811typedef int charset[2]; const charset x; 3812/* SunOS 4.1.1 cc rejects this. */ 3813char const *const *ccp; 3814char **p; 3815/* NEC SVR4.0.2 mips cc rejects this. */ 3816struct point {int x, y;}; 3817static struct point const zero = {0,0}; 3818/* AIX XL C 1.02.0.0 rejects this. 3819 It does not let you subtract one const X* pointer from another in an arm 3820 of an if-expression whose if-part is not a constant expression */ 3821const char *g = "string"; 3822ccp = &g + (g ? g-g : 0); 3823/* HPUX 7.0 cc rejects these. */ 3824++ccp; 3825p = (char**) ccp; 3826ccp = (char const *const *) p; 3827{ /* SCO 3.2v4 cc rejects this. */ 3828 char *t; 3829 char const *s = 0 ? (char *) 0 : (char const *) 0; | 6752 *t++ = 0; 6753 } 6754 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 6755 int x[] = {25, 17}; 6756 const int *foo = &x[0]; 6757 ++foo; 6758 } 6759 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6760 typedef const int *iptr; 6761 iptr p = 0; 6762 ++p; 6763 } 6764 { /* AIX XL C 1.02.0.0 rejects this saying 6765 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 6766 struct s { int j; const int *ap[3]; }; 6767 struct s *b; b->j = 5; 6768 } 6769 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6770 const int foo = 10; 6771 } 6772#endif |
3830 | 6773 |
3831 *t++ = 0; | 6774 ; 6775 return 0; |
3832} | 6776} |
3833{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 3834 int x[] = {25, 17}; 3835 const int *foo = &x[0]; 3836 ++foo; 3837} 3838{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 3839 typedef const int *iptr; 3840 iptr p = 0; 3841 ++p; 3842} 3843{ /* AIX XL C 1.02.0.0 rejects this saying 3844 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 3845 struct s { int j; const int *ap[3]; }; 3846 struct s *b; b->j = 5; 3847} 3848{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3849 const int foo = 10; 3850} 3851 3852; return 0; } 3853EOF 3854if { (eval echo configure:3855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3855 rm -rf conftest* | 6777_ACEOF 6778rm -f conftest.$ac_objext 6779if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6780 (eval $ac_compile) 2>conftest.er1 6781 ac_status=$? 6782 grep -v '^ *+' conftest.er1 >conftest.err 6783 rm -f conftest.er1 6784 cat conftest.err >&5 6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6786 (exit $ac_status); } && 6787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6789 (eval $ac_try) 2>&5 6790 ac_status=$? 6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6792 (exit $ac_status); }; } && 6793 { ac_try='test -s conftest.$ac_objext' 6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6795 (eval $ac_try) 2>&5 6796 ac_status=$? 6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6798 (exit $ac_status); }; }; then |
3856 ac_cv_c_const=yes 3857else | 6799 ac_cv_c_const=yes 6800else |
3858 echo "configure: failed program was:" >&5 3859 cat conftest.$ac_ext >&5 3860 rm -rf conftest* 3861 ac_cv_c_const=no | 6801 echo "$as_me: failed program was:" >&5 6802sed 's/^/| /' conftest.$ac_ext >&5 6803 6804ac_cv_c_const=no |
3862fi | 6805fi |
3863rm -f conftest* | 6806rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3864fi | 6807fi |
3865 3866echo "$ac_t""$ac_cv_c_const" 1>&6 | 6808echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 6809echo "${ECHO_T}$ac_cv_c_const" >&6 |
3867if test $ac_cv_c_const = no; then | 6810if test $ac_cv_c_const = no; then |
3868 cat >> confdefs.h <<\EOF 3869#define const 3870EOF | |
3871 | 6811 |
6812cat >>confdefs.h <<\_ACEOF 6813#define const 6814_ACEOF 6815 |
|
3872fi 3873 | 6816fi 6817 |
3874echo $ac_n "checking for inline""... $ac_c" 1>&6 3875echo "configure:3876: checking for inline" >&5 3876if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 3877 echo $ac_n "(cached) $ac_c" 1>&6 | 6818echo "$as_me:$LINENO: checking for inline" >&5 6819echo $ECHO_N "checking for inline... $ECHO_C" >&6 6820if test "${ac_cv_c_inline+set}" = set; then 6821 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3878else 3879 ac_cv_c_inline=no 3880for ac_kw in inline __inline__ __inline; do | 6822else 6823 ac_cv_c_inline=no 6824for ac_kw in inline __inline__ __inline; do |
3881 cat > conftest.$ac_ext <<EOF 3882#line 3883 "configure" 3883#include "confdefs.h" | 6825 cat >conftest.$ac_ext <<_ACEOF 6826/* confdefs.h. */ 6827_ACEOF 6828cat confdefs.h >>conftest.$ac_ext 6829cat >>conftest.$ac_ext <<_ACEOF 6830/* end confdefs.h. */ 6831#ifndef __cplusplus 6832typedef int foo_t; 6833static $ac_kw foo_t static_foo () {return 0; } 6834$ac_kw foo_t foo () {return 0; } 6835#endif |
3884 | 6836 |
3885int main() { 3886} $ac_kw foo() { 3887; return 0; } 3888EOF 3889if { (eval echo configure:3890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3890 rm -rf conftest* | 6837_ACEOF 6838rm -f conftest.$ac_objext 6839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6840 (eval $ac_compile) 2>conftest.er1 6841 ac_status=$? 6842 grep -v '^ *+' conftest.er1 >conftest.err 6843 rm -f conftest.er1 6844 cat conftest.err >&5 6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6846 (exit $ac_status); } && 6847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6849 (eval $ac_try) 2>&5 6850 ac_status=$? 6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6852 (exit $ac_status); }; } && 6853 { ac_try='test -s conftest.$ac_objext' 6854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6855 (eval $ac_try) 2>&5 6856 ac_status=$? 6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6858 (exit $ac_status); }; }; then |
3891 ac_cv_c_inline=$ac_kw; break 3892else | 6859 ac_cv_c_inline=$ac_kw; break 6860else |
3893 echo "configure: failed program was:" >&5 3894 cat conftest.$ac_ext >&5 | 6861 echo "$as_me: failed program was:" >&5 6862sed 's/^/| /' conftest.$ac_ext >&5 6863 |
3895fi | 6864fi |
3896rm -f conftest* | 6865rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3897done 3898 3899fi | 6866done 6867 6868fi |
6869echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 6870echo "${ECHO_T}$ac_cv_c_inline" >&6 |
|
3900 | 6871 |
3901echo "$ac_t""$ac_cv_c_inline" 1>&6 3902case "$ac_cv_c_inline" in | 6872 6873case $ac_cv_c_inline in |
3903 inline | yes) ;; | 6874 inline | yes) ;; |
3904 no) cat >> confdefs.h <<\EOF 3905#define inline 3906EOF 3907 ;; 3908 *) cat >> confdefs.h <<EOF 3909#define inline $ac_cv_c_inline 3910EOF 3911 ;; | 6875 *) 6876 case $ac_cv_c_inline in 6877 no) ac_val=;; 6878 *) ac_val=$ac_cv_c_inline;; 6879 esac 6880 cat >>confdefs.h <<_ACEOF 6881#ifndef __cplusplus 6882#define inline $ac_val 6883#endif 6884_ACEOF 6885 ;; |
3912esac 3913 | 6886esac 6887 |
3914echo $ac_n "checking for off_t""... $ac_c" 1>&6 3915echo "configure:3916: checking for off_t" >&5 3916if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 3917 echo $ac_n "(cached) $ac_c" 1>&6 | 6888# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6899 inttypes.h stdint.h unistd.h 6900do 6901as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6902echo "$as_me:$LINENO: checking for $ac_header" >&5 6903echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6904if eval "test \"\${$as_ac_Header+set}\" = set"; then 6905 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3918else | 6906else |
3919 cat > conftest.$ac_ext <<EOF 3920#line 3921 "configure" 3921#include "confdefs.h" 3922#include <sys/types.h> 3923#if STDC_HEADERS 3924#include <stdlib.h> 3925#include <stddef.h> 3926#endif 3927EOF 3928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3929 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 3930 rm -rf conftest* 3931 ac_cv_type_off_t=yes | 6907 cat >conftest.$ac_ext <<_ACEOF 6908/* confdefs.h. */ 6909_ACEOF 6910cat confdefs.h >>conftest.$ac_ext 6911cat >>conftest.$ac_ext <<_ACEOF 6912/* end confdefs.h. */ 6913$ac_includes_default 6914 6915#include <$ac_header> 6916_ACEOF 6917rm -f conftest.$ac_objext 6918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6919 (eval $ac_compile) 2>conftest.er1 6920 ac_status=$? 6921 grep -v '^ *+' conftest.er1 >conftest.err 6922 rm -f conftest.er1 6923 cat conftest.err >&5 6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6925 (exit $ac_status); } && 6926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6928 (eval $ac_try) 2>&5 6929 ac_status=$? 6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6931 (exit $ac_status); }; } && 6932 { ac_try='test -s conftest.$ac_objext' 6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6934 (eval $ac_try) 2>&5 6935 ac_status=$? 6936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6937 (exit $ac_status); }; }; then 6938 eval "$as_ac_Header=yes" |
3932else | 6939else |
3933 rm -rf conftest* 3934 ac_cv_type_off_t=no | 6940 echo "$as_me: failed program was:" >&5 6941sed 's/^/| /' conftest.$ac_ext >&5 6942 6943eval "$as_ac_Header=no" |
3935fi | 6944fi |
3936rm -f conftest* | 6945rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6946fi 6947echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6948echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6949if test `eval echo '${'$as_ac_Header'}'` = yes; then 6950 cat >>confdefs.h <<_ACEOF 6951#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6952_ACEOF |
3937 3938fi | 6953 6954fi |
3939echo "$ac_t""$ac_cv_type_off_t" 1>&6 3940if test $ac_cv_type_off_t = no; then 3941 cat >> confdefs.h <<\EOF | 6955 6956done 6957 6958 6959echo "$as_me:$LINENO: checking for off_t" >&5 6960echo $ECHO_N "checking for off_t... $ECHO_C" >&6 6961if test "${ac_cv_type_off_t+set}" = set; then 6962 echo $ECHO_N "(cached) $ECHO_C" >&6 6963else 6964 cat >conftest.$ac_ext <<_ACEOF 6965/* confdefs.h. */ 6966_ACEOF 6967cat confdefs.h >>conftest.$ac_ext 6968cat >>conftest.$ac_ext <<_ACEOF 6969/* end confdefs.h. */ 6970$ac_includes_default 6971int 6972main () 6973{ 6974if ((off_t *) 0) 6975 return 0; 6976if (sizeof (off_t)) 6977 return 0; 6978 ; 6979 return 0; 6980} 6981_ACEOF 6982rm -f conftest.$ac_objext 6983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6984 (eval $ac_compile) 2>conftest.er1 6985 ac_status=$? 6986 grep -v '^ *+' conftest.er1 >conftest.err 6987 rm -f conftest.er1 6988 cat conftest.err >&5 6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6990 (exit $ac_status); } && 6991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 6992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6993 (eval $ac_try) 2>&5 6994 ac_status=$? 6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6996 (exit $ac_status); }; } && 6997 { ac_try='test -s conftest.$ac_objext' 6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6999 (eval $ac_try) 2>&5 7000 ac_status=$? 7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7002 (exit $ac_status); }; }; then 7003 ac_cv_type_off_t=yes 7004else 7005 echo "$as_me: failed program was:" >&5 7006sed 's/^/| /' conftest.$ac_ext >&5 7007 7008ac_cv_type_off_t=no 7009fi 7010rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7011fi 7012echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 7013echo "${ECHO_T}$ac_cv_type_off_t" >&6 7014if test $ac_cv_type_off_t = yes; then 7015 : 7016else 7017 7018cat >>confdefs.h <<_ACEOF |
3942#define off_t long | 7019#define off_t long |
3943EOF | 7020_ACEOF |
3944 3945fi 3946 | 7021 7022fi 7023 |
3947echo $ac_n "checking for size_t""... $ac_c" 1>&6 3948echo "configure:3949: checking for size_t" >&5 3949if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3950 echo $ac_n "(cached) $ac_c" 1>&6 | 7024echo "$as_me:$LINENO: checking for size_t" >&5 7025echo $ECHO_N "checking for size_t... $ECHO_C" >&6 7026if test "${ac_cv_type_size_t+set}" = set; then 7027 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3951else | 7028else |
3952 cat > conftest.$ac_ext <<EOF 3953#line 3954 "configure" 3954#include "confdefs.h" 3955#include <sys/types.h> 3956#if STDC_HEADERS 3957#include <stdlib.h> 3958#include <stddef.h> 3959#endif 3960EOF 3961if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3962 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 3963 rm -rf conftest* | 7029 cat >conftest.$ac_ext <<_ACEOF 7030/* confdefs.h. */ 7031_ACEOF 7032cat confdefs.h >>conftest.$ac_ext 7033cat >>conftest.$ac_ext <<_ACEOF 7034/* end confdefs.h. */ 7035$ac_includes_default 7036int 7037main () 7038{ 7039if ((size_t *) 0) 7040 return 0; 7041if (sizeof (size_t)) 7042 return 0; 7043 ; 7044 return 0; 7045} 7046_ACEOF 7047rm -f conftest.$ac_objext 7048if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7049 (eval $ac_compile) 2>conftest.er1 7050 ac_status=$? 7051 grep -v '^ *+' conftest.er1 >conftest.err 7052 rm -f conftest.er1 7053 cat conftest.err >&5 7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7055 (exit $ac_status); } && 7056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7058 (eval $ac_try) 2>&5 7059 ac_status=$? 7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7061 (exit $ac_status); }; } && 7062 { ac_try='test -s conftest.$ac_objext' 7063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7064 (eval $ac_try) 2>&5 7065 ac_status=$? 7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7067 (exit $ac_status); }; }; then |
3964 ac_cv_type_size_t=yes 3965else | 7068 ac_cv_type_size_t=yes 7069else |
3966 rm -rf conftest* 3967 ac_cv_type_size_t=no 3968fi 3969rm -f conftest* | 7070 echo "$as_me: failed program was:" >&5 7071sed 's/^/| /' conftest.$ac_ext >&5 |
3970 | 7072 |
7073ac_cv_type_size_t=no |
|
3971fi | 7074fi |
3972echo "$ac_t""$ac_cv_type_size_t" 1>&6 3973if test $ac_cv_type_size_t = no; then 3974 cat >> confdefs.h <<\EOF | 7075rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7076fi 7077echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 7078echo "${ECHO_T}$ac_cv_type_size_t" >&6 7079if test $ac_cv_type_size_t = yes; then 7080 : 7081else 7082 7083cat >>confdefs.h <<_ACEOF |
3975#define size_t unsigned | 7084#define size_t unsigned |
3976EOF | 7085_ACEOF |
3977 3978fi 3979 3980# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 3981# for constant arguments. Useless! | 7086 7087fi 7088 7089# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7090# for constant arguments. Useless! |
3982echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 3983echo "configure:3984: checking for working alloca.h" >&5 3984if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 3985 echo $ac_n "(cached) $ac_c" 1>&6 | 7091echo "$as_me:$LINENO: checking for working alloca.h" >&5 7092echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7093if test "${ac_cv_working_alloca_h+set}" = set; then 7094 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3986else | 7095else |
3987 cat > conftest.$ac_ext <<EOF 3988#line 3989 "configure" 3989#include "confdefs.h" | 7096 cat >conftest.$ac_ext <<_ACEOF 7097/* confdefs.h. */ 7098_ACEOF 7099cat confdefs.h >>conftest.$ac_ext 7100cat >>conftest.$ac_ext <<_ACEOF 7101/* end confdefs.h. */ |
3990#include <alloca.h> | 7102#include <alloca.h> |
3991int main() { 3992char *p = alloca(2 * sizeof(int)); 3993; return 0; } 3994EOF 3995if { (eval echo configure:3996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3996 rm -rf conftest* 3997 ac_cv_header_alloca_h=yes | 7103int 7104main () 7105{ 7106char *p = (char *) alloca (2 * sizeof (int)); 7107 ; 7108 return 0; 7109} 7110_ACEOF 7111rm -f conftest.$ac_objext conftest$ac_exeext 7112if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7113 (eval $ac_link) 2>conftest.er1 7114 ac_status=$? 7115 grep -v '^ *+' conftest.er1 >conftest.err 7116 rm -f conftest.er1 7117 cat conftest.err >&5 7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7119 (exit $ac_status); } && 7120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7122 (eval $ac_try) 2>&5 7123 ac_status=$? 7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7125 (exit $ac_status); }; } && 7126 { ac_try='test -s conftest$ac_exeext' 7127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7128 (eval $ac_try) 2>&5 7129 ac_status=$? 7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7131 (exit $ac_status); }; }; then 7132 ac_cv_working_alloca_h=yes |
3998else | 7133else |
3999 echo "configure: failed program was:" >&5 4000 cat conftest.$ac_ext >&5 4001 rm -rf conftest* 4002 ac_cv_header_alloca_h=no | 7134 echo "$as_me: failed program was:" >&5 7135sed 's/^/| /' conftest.$ac_ext >&5 7136 7137ac_cv_working_alloca_h=no |
4003fi | 7138fi |
4004rm -f conftest* | 7139rm -f conftest.err conftest.$ac_objext \ 7140 conftest$ac_exeext conftest.$ac_ext |
4005fi | 7141fi |
7142echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 7143echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7144if test $ac_cv_working_alloca_h = yes; then |
|
4006 | 7145 |
4007echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 4008if test $ac_cv_header_alloca_h = yes; then 4009 cat >> confdefs.h <<\EOF | 7146cat >>confdefs.h <<\_ACEOF |
4010#define HAVE_ALLOCA_H 1 | 7147#define HAVE_ALLOCA_H 1 |
4011EOF | 7148_ACEOF |
4012 4013fi 4014 | 7149 7150fi 7151 |
4015echo $ac_n "checking for alloca""... $ac_c" 1>&6 4016echo "configure:4017: checking for alloca" >&5 4017if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 4018 echo $ac_n "(cached) $ac_c" 1>&6 | 7152echo "$as_me:$LINENO: checking for alloca" >&5 7153echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7154if test "${ac_cv_func_alloca_works+set}" = set; then 7155 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4019else | 7156else |
4020 cat > conftest.$ac_ext <<EOF 4021#line 4022 "configure" 4022#include "confdefs.h" 4023 | 7157 cat >conftest.$ac_ext <<_ACEOF 7158/* confdefs.h. */ 7159_ACEOF 7160cat confdefs.h >>conftest.$ac_ext 7161cat >>conftest.$ac_ext <<_ACEOF 7162/* end confdefs.h. */ |
4024#ifdef __GNUC__ 4025# define alloca __builtin_alloca 4026#else 4027# ifdef _MSC_VER 4028# include <malloc.h> 4029# define alloca _alloca 4030# else 4031# if HAVE_ALLOCA_H --- 5 unchanged lines hidden (view full) --- 4037# ifndef alloca /* predefined by HP cc +Olibcalls */ 4038char *alloca (); 4039# endif 4040# endif 4041# endif 4042# endif 4043#endif 4044 | 7163#ifdef __GNUC__ 7164# define alloca __builtin_alloca 7165#else 7166# ifdef _MSC_VER 7167# include <malloc.h> 7168# define alloca _alloca 7169# else 7170# if HAVE_ALLOCA_H --- 5 unchanged lines hidden (view full) --- 7176# ifndef alloca /* predefined by HP cc +Olibcalls */ 7177char *alloca (); 7178# endif 7179# endif 7180# endif 7181# endif 7182#endif 7183 |
4045int main() { 4046char *p = (char *) alloca(1); 4047; return 0; } 4048EOF 4049if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4050 rm -rf conftest* | 7184int 7185main () 7186{ 7187char *p = (char *) alloca (1); 7188 ; 7189 return 0; 7190} 7191_ACEOF 7192rm -f conftest.$ac_objext conftest$ac_exeext 7193if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7194 (eval $ac_link) 2>conftest.er1 7195 ac_status=$? 7196 grep -v '^ *+' conftest.er1 >conftest.err 7197 rm -f conftest.er1 7198 cat conftest.err >&5 7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7200 (exit $ac_status); } && 7201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7203 (eval $ac_try) 2>&5 7204 ac_status=$? 7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7206 (exit $ac_status); }; } && 7207 { ac_try='test -s conftest$ac_exeext' 7208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7209 (eval $ac_try) 2>&5 7210 ac_status=$? 7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7212 (exit $ac_status); }; }; then |
4051 ac_cv_func_alloca_works=yes 4052else | 7213 ac_cv_func_alloca_works=yes 7214else |
4053 echo "configure: failed program was:" >&5 4054 cat conftest.$ac_ext >&5 4055 rm -rf conftest* 4056 ac_cv_func_alloca_works=no | 7215 echo "$as_me: failed program was:" >&5 7216sed 's/^/| /' conftest.$ac_ext >&5 7217 7218ac_cv_func_alloca_works=no |
4057fi | 7219fi |
4058rm -f conftest* | 7220rm -f conftest.err conftest.$ac_objext \ 7221 conftest$ac_exeext conftest.$ac_ext |
4059fi | 7222fi |
7223echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 7224echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
|
4060 | 7225 |
4061echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 | |
4062if test $ac_cv_func_alloca_works = yes; then | 7226if test $ac_cv_func_alloca_works = yes; then |
4063 cat >> confdefs.h <<\EOF | 7227 7228cat >>confdefs.h <<\_ACEOF |
4064#define HAVE_ALLOCA 1 | 7229#define HAVE_ALLOCA 1 |
4065EOF | 7230_ACEOF |
4066 | 7231 |
4067fi 4068 4069if test $ac_cv_func_alloca_works = no; then | 7232else |
4070 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 7233 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
4071 # that cause trouble. Some versions do not even contain alloca or 4072 # contain a buggy version. If you still want to use their alloca, 4073 # use ar to extract alloca.o from them instead of compiling alloca.c. 4074 ALLOCA=alloca.${ac_objext} 4075 cat >> confdefs.h <<\EOF | 7234# that cause trouble. Some versions do not even contain alloca or 7235# contain a buggy version. If you still want to use their alloca, 7236# use ar to extract alloca.o from them instead of compiling alloca.c. 7237 7238ALLOCA=alloca.$ac_objext 7239 7240cat >>confdefs.h <<\_ACEOF |
4076#define C_ALLOCA 1 | 7241#define C_ALLOCA 1 |
4077EOF | 7242_ACEOF |
4078 4079 | 7243 7244 |
4080echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 4081echo "configure:4082: checking whether alloca needs Cray hooks" >&5 4082if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 4083 echo $ac_n "(cached) $ac_c" 1>&6 | 7245echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 7246echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 7247if test "${ac_cv_os_cray+set}" = set; then 7248 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4084else | 7249else |
4085 cat > conftest.$ac_ext <<EOF 4086#line 4087 "configure" 4087#include "confdefs.h" | 7250 cat >conftest.$ac_ext <<_ACEOF 7251/* confdefs.h. */ 7252_ACEOF 7253cat confdefs.h >>conftest.$ac_ext 7254cat >>conftest.$ac_ext <<_ACEOF 7255/* end confdefs.h. */ |
4088#if defined(CRAY) && ! defined(CRAY2) 4089webecray 4090#else 4091wenotbecray 4092#endif 4093 | 7256#if defined(CRAY) && ! defined(CRAY2) 7257webecray 7258#else 7259wenotbecray 7260#endif 7261 |
4094EOF | 7262_ACEOF |
4095if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 7263if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4096 egrep "webecray" >/dev/null 2>&1; then 4097 rm -rf conftest* | 7264 $EGREP "webecray" >/dev/null 2>&1; then |
4098 ac_cv_os_cray=yes 4099else | 7265 ac_cv_os_cray=yes 7266else |
4100 rm -rf conftest* | |
4101 ac_cv_os_cray=no 4102fi 4103rm -f conftest* 4104 4105fi | 7267 ac_cv_os_cray=no 7268fi 7269rm -f conftest* 7270 7271fi |
4106 4107echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7272echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 7273echo "${ECHO_T}$ac_cv_os_cray" >&6 |
4108if test $ac_cv_os_cray = yes; then | 7274if test $ac_cv_os_cray = yes; then |
4109for ac_func in _getb67 GETB67 getb67; do 4110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4111echo "configure:4112: checking for $ac_func" >&5 4112if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4113 echo $ac_n "(cached) $ac_c" 1>&6 | 7275 for ac_func in _getb67 GETB67 getb67; do 7276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7277echo "$as_me:$LINENO: checking for $ac_func" >&5 7278echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7279if eval "test \"\${$as_ac_var+set}\" = set"; then 7280 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4114else | 7281else |
4115 cat > conftest.$ac_ext <<EOF 4116#line 4117 "configure" 4117#include "confdefs.h" | 7282 cat >conftest.$ac_ext <<_ACEOF 7283/* confdefs.h. */ 7284_ACEOF 7285cat confdefs.h >>conftest.$ac_ext 7286cat >>conftest.$ac_ext <<_ACEOF 7287/* end confdefs.h. */ 7288/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7289 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7290#define $ac_func innocuous_$ac_func 7291 |
4118/* System header to define __stub macros and hopefully few prototypes, | 7292/* System header to define __stub macros and hopefully few prototypes, |
4119 which can conflict with char $ac_func(); below. */ 4120#include <assert.h> 4121/* Override any gcc2 internal prototype to avoid an error. */ 4122/* We use char because int might match the return type of a gcc2 4123 builtin and then its argument prototype would still apply. */ 4124char $ac_func(); | 7293 which can conflict with char $ac_func (); below. 7294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7295 <limits.h> exists even on freestanding compilers. */ |
4125 | 7296 |
4126int main() { | 7297#ifdef __STDC__ 7298# include <limits.h> 7299#else 7300# include <assert.h> 7301#endif |
4127 | 7302 |
7303#undef $ac_func 7304 7305/* Override any gcc2 internal prototype to avoid an error. */ 7306#ifdef __cplusplus 7307extern "C" 7308{ 7309#endif 7310/* We use char because int might match the return type of a gcc2 7311 builtin and then its argument prototype would still apply. */ 7312char $ac_func (); |
|
4128/* The GNU C library defines this for functions which it implements 4129 to always fail with ENOSYS. Some functions are actually named 4130 something starting with __ and the normal name is an alias. */ 4131#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4132choke me 4133#else | 7313/* The GNU C library defines this for functions which it implements 7314 to always fail with ENOSYS. Some functions are actually named 7315 something starting with __ and the normal name is an alias. */ 7316#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7317choke me 7318#else |
4134$ac_func(); | 7319char (*f) () = $ac_func; |
4135#endif | 7320#endif |
7321#ifdef __cplusplus 7322} 7323#endif |
|
4136 | 7324 |
4137; return 0; } 4138EOF 4139if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4140 rm -rf conftest* 4141 eval "ac_cv_func_$ac_func=yes" | 7325int 7326main () 7327{ 7328return f != $ac_func; 7329 ; 7330 return 0; 7331} 7332_ACEOF 7333rm -f conftest.$ac_objext conftest$ac_exeext 7334if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7335 (eval $ac_link) 2>conftest.er1 7336 ac_status=$? 7337 grep -v '^ *+' conftest.er1 >conftest.err 7338 rm -f conftest.er1 7339 cat conftest.err >&5 7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7341 (exit $ac_status); } && 7342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7344 (eval $ac_try) 2>&5 7345 ac_status=$? 7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7347 (exit $ac_status); }; } && 7348 { ac_try='test -s conftest$ac_exeext' 7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7350 (eval $ac_try) 2>&5 7351 ac_status=$? 7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7353 (exit $ac_status); }; }; then 7354 eval "$as_ac_var=yes" |
4142else | 7355else |
4143 echo "configure: failed program was:" >&5 4144 cat conftest.$ac_ext >&5 4145 rm -rf conftest* 4146 eval "ac_cv_func_$ac_func=no" | 7356 echo "$as_me: failed program was:" >&5 7357sed 's/^/| /' conftest.$ac_ext >&5 7358 7359eval "$as_ac_var=no" |
4147fi | 7360fi |
4148rm -f conftest* | 7361rm -f conftest.err conftest.$ac_objext \ 7362 conftest$ac_exeext conftest.$ac_ext |
4149fi | 7363fi |
7364echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7365echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7366if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
4150 | 7367 |
4151if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 4152 echo "$ac_t""yes" 1>&6 4153 cat >> confdefs.h <<EOF | 7368cat >>confdefs.h <<_ACEOF |
4154#define CRAY_STACKSEG_END $ac_func | 7369#define CRAY_STACKSEG_END $ac_func |
4155EOF | 7370_ACEOF |
4156 | 7371 |
4157 break 4158else 4159 echo "$ac_t""no" 1>&6 | 7372 break |
4160fi 4161 | 7373fi 7374 |
4162done | 7375 done |
4163fi 4164 | 7376fi 7377 |
4165echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 4166echo "configure:4167: checking stack direction for C alloca" >&5 4167if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 4168 echo $ac_n "(cached) $ac_c" 1>&6 | 7378echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 7379echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 7380if test "${ac_cv_c_stack_direction+set}" = set; then 7381 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4169else 4170 if test "$cross_compiling" = yes; then 4171 ac_cv_c_stack_direction=0 4172else | 7382else 7383 if test "$cross_compiling" = yes; then 7384 ac_cv_c_stack_direction=0 7385else |
4173 cat > conftest.$ac_ext <<EOF 4174#line 4175 "configure" 4175#include "confdefs.h" | 7386 cat >conftest.$ac_ext <<_ACEOF 7387/* confdefs.h. */ 7388_ACEOF 7389cat confdefs.h >>conftest.$ac_ext 7390cat >>conftest.$ac_ext <<_ACEOF 7391/* end confdefs.h. */ 7392int |
4176find_stack_direction () 4177{ 4178 static char *addr = 0; 4179 auto char dummy; 4180 if (addr == 0) 4181 { 4182 addr = &dummy; 4183 return find_stack_direction (); 4184 } 4185 else 4186 return (&dummy > addr) ? 1 : -1; 4187} | 7393find_stack_direction () 7394{ 7395 static char *addr = 0; 7396 auto char dummy; 7397 if (addr == 0) 7398 { 7399 addr = &dummy; 7400 return find_stack_direction (); 7401 } 7402 else 7403 return (&dummy > addr) ? 1 : -1; 7404} |
7405 7406int |
|
4188main () 4189{ | 7407main () 7408{ |
4190 exit (find_stack_direction() < 0); | 7409 exit (find_stack_direction () < 0); |
4191} | 7410} |
4192EOF 4193if { (eval echo configure:4194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4194then | 7411_ACEOF 7412rm -f conftest$ac_exeext 7413if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7414 (eval $ac_link) 2>&5 7415 ac_status=$? 7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7419 (eval $ac_try) 2>&5 7420 ac_status=$? 7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7422 (exit $ac_status); }; }; then |
4195 ac_cv_c_stack_direction=1 4196else | 7423 ac_cv_c_stack_direction=1 7424else |
4197 echo "configure: failed program was:" >&5 4198 cat conftest.$ac_ext >&5 4199 rm -fr conftest* 4200 ac_cv_c_stack_direction=-1 | 7425 echo "$as_me: program exited with status $ac_status" >&5 7426echo "$as_me: failed program was:" >&5 7427sed 's/^/| /' conftest.$ac_ext >&5 7428 7429( exit $ac_status ) 7430ac_cv_c_stack_direction=-1 |
4201fi | 7431fi |
4202rm -fr conftest* | 7432rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4203fi | 7433fi |
4204 | |
4205fi | 7434fi |
7435echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 7436echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
|
4206 | 7437 |
4207echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 4208cat >> confdefs.h <<EOF | 7438cat >>confdefs.h <<_ACEOF |
4209#define STACK_DIRECTION $ac_cv_c_stack_direction | 7439#define STACK_DIRECTION $ac_cv_c_stack_direction |
4210EOF | 7440_ACEOF |
4211 | 7441 |
7442 |
|
4212fi 4213 | 7443fi 7444 |
4214for ac_hdr in unistd.h | 7445 7446 7447for ac_header in stdlib.h unistd.h |
4215do | 7448do |
4216ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4217echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4218echo "configure:4219: checking for $ac_hdr" >&5 4219if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4220 echo $ac_n "(cached) $ac_c" 1>&6 | 7449as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7450if eval "test \"\${$as_ac_Header+set}\" = set"; then 7451 echo "$as_me:$LINENO: checking for $ac_header" >&5 7452echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7453if eval "test \"\${$as_ac_Header+set}\" = set"; then 7454 echo $ECHO_N "(cached) $ECHO_C" >&6 7455fi 7456echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7457echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4221else | 7458else |
4222 cat > conftest.$ac_ext <<EOF 4223#line 4224 "configure" 4224#include "confdefs.h" 4225#include <$ac_hdr> 4226EOF 4227ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4228{ (eval echo configure:4229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4229ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4230if test -z "$ac_err"; then 4231 rm -rf conftest* 4232 eval "ac_cv_header_$ac_safe=yes" | 7459 # Is the header compilable? 7460echo "$as_me:$LINENO: checking $ac_header usability" >&5 7461echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7462cat >conftest.$ac_ext <<_ACEOF 7463/* confdefs.h. */ 7464_ACEOF 7465cat confdefs.h >>conftest.$ac_ext 7466cat >>conftest.$ac_ext <<_ACEOF 7467/* end confdefs.h. */ 7468$ac_includes_default 7469#include <$ac_header> 7470_ACEOF 7471rm -f conftest.$ac_objext 7472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7473 (eval $ac_compile) 2>conftest.er1 7474 ac_status=$? 7475 grep -v '^ *+' conftest.er1 >conftest.err 7476 rm -f conftest.er1 7477 cat conftest.err >&5 7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7479 (exit $ac_status); } && 7480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7482 (eval $ac_try) 2>&5 7483 ac_status=$? 7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7485 (exit $ac_status); }; } && 7486 { ac_try='test -s conftest.$ac_objext' 7487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7488 (eval $ac_try) 2>&5 7489 ac_status=$? 7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7491 (exit $ac_status); }; }; then 7492 ac_header_compiler=yes |
4233else | 7493else |
4234 echo "$ac_err" >&5 4235 echo "configure: failed program was:" >&5 4236 cat conftest.$ac_ext >&5 4237 rm -rf conftest* 4238 eval "ac_cv_header_$ac_safe=no" | 7494 echo "$as_me: failed program was:" >&5 7495sed 's/^/| /' conftest.$ac_ext >&5 7496 7497ac_header_compiler=no |
4239fi | 7498fi |
4240rm -f conftest* | 7499rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7500echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7501echo "${ECHO_T}$ac_header_compiler" >&6 7502 7503# Is the header present? 7504echo "$as_me:$LINENO: checking $ac_header presence" >&5 7505echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7506cat >conftest.$ac_ext <<_ACEOF 7507/* confdefs.h. */ 7508_ACEOF 7509cat confdefs.h >>conftest.$ac_ext 7510cat >>conftest.$ac_ext <<_ACEOF 7511/* end confdefs.h. */ 7512#include <$ac_header> 7513_ACEOF 7514if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7516 ac_status=$? 7517 grep -v '^ *+' conftest.er1 >conftest.err 7518 rm -f conftest.er1 7519 cat conftest.err >&5 7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7521 (exit $ac_status); } >/dev/null; then 7522 if test -s conftest.err; then 7523 ac_cpp_err=$ac_c_preproc_warn_flag 7524 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7525 else 7526 ac_cpp_err= 7527 fi 7528else 7529 ac_cpp_err=yes |
4241fi | 7530fi |
4242if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4243 echo "$ac_t""yes" 1>&6 4244 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 4245 cat >> confdefs.h <<EOF 4246#define $ac_tr_hdr 1 4247EOF 4248 | 7531if test -z "$ac_cpp_err"; then 7532 ac_header_preproc=yes |
4249else | 7533else |
4250 echo "$ac_t""no" 1>&6 | 7534 echo "$as_me: failed program was:" >&5 7535sed 's/^/| /' conftest.$ac_ext >&5 7536 7537 ac_header_preproc=no |
4251fi | 7538fi |
7539rm -f conftest.err conftest.$ac_ext 7540echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7541echo "${ECHO_T}$ac_header_preproc" >&6 7542 7543# So? What about this header? 7544case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7545 yes:no: ) 7546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7547echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7549echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7550 ac_header_preproc=yes 7551 ;; 7552 no:yes:* ) 7553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7554echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7556echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7557 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7558echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7559 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7560echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7562echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7563 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7564echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7565 ( 7566 cat <<\_ASBOX 7567## ------------------------------------------ ## 7568## Report this to the AC_PACKAGE_NAME lists. ## 7569## ------------------------------------------ ## 7570_ASBOX 7571 ) | 7572 sed "s/^/$as_me: WARNING: /" >&2 7573 ;; 7574esac 7575echo "$as_me:$LINENO: checking for $ac_header" >&5 7576echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7577if eval "test \"\${$as_ac_Header+set}\" = set"; then 7578 echo $ECHO_N "(cached) $ECHO_C" >&6 7579else 7580 eval "$as_ac_Header=\$ac_header_preproc" 7581fi 7582echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7583echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7584 7585fi 7586if test `eval echo '${'$as_ac_Header'}'` = yes; then 7587 cat >>confdefs.h <<_ACEOF 7588#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7589_ACEOF 7590 7591fi 7592 |
|
4252done 4253 | 7593done 7594 |
7595 |
|
4254for ac_func in getpagesize 4255do | 7596for ac_func in getpagesize 7597do |
4256echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4257echo "configure:4258: checking for $ac_func" >&5 4258if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4259 echo $ac_n "(cached) $ac_c" 1>&6 | 7598as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7599echo "$as_me:$LINENO: checking for $ac_func" >&5 7600echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7601if eval "test \"\${$as_ac_var+set}\" = set"; then 7602 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4260else | 7603else |
4261 cat > conftest.$ac_ext <<EOF 4262#line 4263 "configure" 4263#include "confdefs.h" | 7604 cat >conftest.$ac_ext <<_ACEOF 7605/* confdefs.h. */ 7606_ACEOF 7607cat confdefs.h >>conftest.$ac_ext 7608cat >>conftest.$ac_ext <<_ACEOF 7609/* end confdefs.h. */ 7610/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 7611 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7612#define $ac_func innocuous_$ac_func 7613 |
4264/* System header to define __stub macros and hopefully few prototypes, | 7614/* System header to define __stub macros and hopefully few prototypes, |
4265 which can conflict with char $ac_func(); below. */ 4266#include <assert.h> 4267/* Override any gcc2 internal prototype to avoid an error. */ 4268/* We use char because int might match the return type of a gcc2 4269 builtin and then its argument prototype would still apply. */ 4270char $ac_func(); | 7615 which can conflict with char $ac_func (); below. 7616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7617 <limits.h> exists even on freestanding compilers. */ |
4271 | 7618 |
4272int main() { | 7619#ifdef __STDC__ 7620# include <limits.h> 7621#else 7622# include <assert.h> 7623#endif |
4273 | 7624 |
7625#undef $ac_func 7626 7627/* Override any gcc2 internal prototype to avoid an error. */ 7628#ifdef __cplusplus 7629extern "C" 7630{ 7631#endif 7632/* We use char because int might match the return type of a gcc2 7633 builtin and then its argument prototype would still apply. */ 7634char $ac_func (); |
|
4274/* The GNU C library defines this for functions which it implements 4275 to always fail with ENOSYS. Some functions are actually named 4276 something starting with __ and the normal name is an alias. */ 4277#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4278choke me 4279#else | 7635/* The GNU C library defines this for functions which it implements 7636 to always fail with ENOSYS. Some functions are actually named 7637 something starting with __ and the normal name is an alias. */ 7638#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7639choke me 7640#else |
4280$ac_func(); | 7641char (*f) () = $ac_func; |
4281#endif | 7642#endif |
7643#ifdef __cplusplus 7644} 7645#endif |
|
4282 | 7646 |
4283; return 0; } 4284EOF 4285if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4286 rm -rf conftest* 4287 eval "ac_cv_func_$ac_func=yes" | 7647int 7648main () 7649{ 7650return f != $ac_func; 7651 ; 7652 return 0; 7653} 7654_ACEOF 7655rm -f conftest.$ac_objext conftest$ac_exeext 7656if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7657 (eval $ac_link) 2>conftest.er1 7658 ac_status=$? 7659 grep -v '^ *+' conftest.er1 >conftest.err 7660 rm -f conftest.er1 7661 cat conftest.err >&5 7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7663 (exit $ac_status); } && 7664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7666 (eval $ac_try) 2>&5 7667 ac_status=$? 7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7669 (exit $ac_status); }; } && 7670 { ac_try='test -s conftest$ac_exeext' 7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7672 (eval $ac_try) 2>&5 7673 ac_status=$? 7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7675 (exit $ac_status); }; }; then 7676 eval "$as_ac_var=yes" |
4288else | 7677else |
4289 echo "configure: failed program was:" >&5 4290 cat conftest.$ac_ext >&5 4291 rm -rf conftest* 4292 eval "ac_cv_func_$ac_func=no" | 7678 echo "$as_me: failed program was:" >&5 7679sed 's/^/| /' conftest.$ac_ext >&5 7680 7681eval "$as_ac_var=no" |
4293fi | 7682fi |
4294rm -f conftest* | 7683rm -f conftest.err conftest.$ac_objext \ 7684 conftest$ac_exeext conftest.$ac_ext |
4295fi | 7685fi |
7686echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 7687echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7688if test `eval echo '${'$as_ac_var'}'` = yes; then 7689 cat >>confdefs.h <<_ACEOF 7690#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7691_ACEOF |
|
4296 | 7692 |
4297if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 4298 echo "$ac_t""yes" 1>&6 4299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 4300 cat >> confdefs.h <<EOF 4301#define $ac_tr_func 1 4302EOF 4303 4304else 4305 echo "$ac_t""no" 1>&6 | |
4306fi 4307done 4308 | 7693fi 7694done 7695 |
4309echo $ac_n "checking for working mmap""... $ac_c" 1>&6 4310echo "configure:4311: checking for working mmap" >&5 4311if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 4312 echo $ac_n "(cached) $ac_c" 1>&6 | 7696echo "$as_me:$LINENO: checking for working mmap" >&5 7697echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 7698if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 7699 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4313else 4314 if test "$cross_compiling" = yes; then 4315 ac_cv_func_mmap_fixed_mapped=no 4316else | 7700else 7701 if test "$cross_compiling" = yes; then 7702 ac_cv_func_mmap_fixed_mapped=no 7703else |
4317 cat > conftest.$ac_ext <<EOF 4318#line 4319 "configure" 4319#include "confdefs.h" | 7704 cat >conftest.$ac_ext <<_ACEOF 7705/* confdefs.h. */ 7706_ACEOF 7707cat confdefs.h >>conftest.$ac_ext 7708cat >>conftest.$ac_ext <<_ACEOF 7709/* end confdefs.h. */ 7710$ac_includes_default 7711/* malloc might have been renamed as rpl_malloc. */ 7712#undef malloc |
4320 4321/* Thanks to Mike Haertel and Jim Avera for this test. 4322 Here is a matrix of mmap possibilities: 4323 mmap private not fixed 4324 mmap private fixed at somewhere currently unmapped 4325 mmap private fixed at somewhere already mapped 4326 mmap shared not fixed 4327 mmap shared fixed at somewhere currently unmapped 4328 mmap shared fixed at somewhere already mapped 4329 For private mappings, we should verify that changes cannot be read() 4330 back from the file, nor mmap's back from the file at a different 4331 address. (There have been systems where private was not correctly 4332 implemented like the infamous i386 svr4.0, and systems where the | 7713 7714/* Thanks to Mike Haertel and Jim Avera for this test. 7715 Here is a matrix of mmap possibilities: 7716 mmap private not fixed 7717 mmap private fixed at somewhere currently unmapped 7718 mmap private fixed at somewhere already mapped 7719 mmap shared not fixed 7720 mmap shared fixed at somewhere currently unmapped 7721 mmap shared fixed at somewhere already mapped 7722 For private mappings, we should verify that changes cannot be read() 7723 back from the file, nor mmap's back from the file at a different 7724 address. (There have been systems where private was not correctly 7725 implemented like the infamous i386 svr4.0, and systems where the |
4333 VM page cache was not coherent with the filesystem buffer cache | 7726 VM page cache was not coherent with the file system buffer cache |
4334 like early versions of FreeBSD and possibly contemporary NetBSD.) 4335 For shared mappings, we should conversely verify that changes get | 7727 like early versions of FreeBSD and possibly contemporary NetBSD.) 7728 For shared mappings, we should conversely verify that changes get |
4336 propogated back to all the places they're supposed to be. | 7729 propagated back to all the places they're supposed to be. |
4337 4338 Grep wants private fixed already mapped. 4339 The main things grep needs to know about mmap are: 4340 * does it exist and is it safe to write into the mmap'd area 4341 * how to use it (BSD variants) */ | 7730 7731 Grep wants private fixed already mapped. 7732 The main things grep needs to know about mmap are: 7733 * does it exist and is it safe to write into the mmap'd area 7734 * how to use it (BSD variants) */ |
4342#include <sys/types.h> | 7735 |
4343#include <fcntl.h> 4344#include <sys/mman.h> 4345 | 7736#include <fcntl.h> 7737#include <sys/mman.h> 7738 |
4346/* This mess was copied from the GNU getpagesize.h. */ 4347#ifndef HAVE_GETPAGESIZE 4348# ifdef HAVE_UNISTD_H 4349# include <unistd.h> 4350# endif | 7739#if !STDC_HEADERS && !HAVE_STDLIB_H 7740char *malloc (); 7741#endif |
4351 | 7742 |
7743/* This mess was copied from the GNU getpagesize.h. */ 7744#if !HAVE_GETPAGESIZE |
|
4352/* Assume that all systems that can run configure have sys/param.h. */ | 7745/* Assume that all systems that can run configure have sys/param.h. */ |
4353# ifndef HAVE_SYS_PARAM_H | 7746# if !HAVE_SYS_PARAM_H |
4354# define HAVE_SYS_PARAM_H 1 4355# endif 4356 4357# ifdef _SC_PAGESIZE 4358# define getpagesize() sysconf(_SC_PAGESIZE) 4359# else /* no _SC_PAGESIZE */ | 7747# define HAVE_SYS_PARAM_H 1 7748# endif 7749 7750# ifdef _SC_PAGESIZE 7751# define getpagesize() sysconf(_SC_PAGESIZE) 7752# else /* no _SC_PAGESIZE */ |
4360# ifdef HAVE_SYS_PARAM_H | 7753# if HAVE_SYS_PARAM_H |
4361# include <sys/param.h> 4362# ifdef EXEC_PAGESIZE 4363# define getpagesize() EXEC_PAGESIZE 4364# else /* no EXEC_PAGESIZE */ 4365# ifdef NBPG 4366# define getpagesize() NBPG * CLSIZE 4367# ifndef CLSIZE 4368# define CLSIZE 1 --- 10 unchanged lines hidden (view full) --- 4379# endif /* no EXEC_PAGESIZE */ 4380# else /* no HAVE_SYS_PARAM_H */ 4381# define getpagesize() 8192 /* punt totally */ 4382# endif /* no HAVE_SYS_PARAM_H */ 4383# endif /* no _SC_PAGESIZE */ 4384 4385#endif /* no HAVE_GETPAGESIZE */ 4386 | 7754# include <sys/param.h> 7755# ifdef EXEC_PAGESIZE 7756# define getpagesize() EXEC_PAGESIZE 7757# else /* no EXEC_PAGESIZE */ 7758# ifdef NBPG 7759# define getpagesize() NBPG * CLSIZE 7760# ifndef CLSIZE 7761# define CLSIZE 1 --- 10 unchanged lines hidden (view full) --- 7772# endif /* no EXEC_PAGESIZE */ 7773# else /* no HAVE_SYS_PARAM_H */ 7774# define getpagesize() 8192 /* punt totally */ 7775# endif /* no HAVE_SYS_PARAM_H */ 7776# endif /* no _SC_PAGESIZE */ 7777 7778#endif /* no HAVE_GETPAGESIZE */ 7779 |
4387#ifdef __cplusplus 4388extern "C" { void *malloc(unsigned); } 4389#else 4390char *malloc(); 4391#endif 4392 | |
4393int | 7780int |
4394main() | 7781main () |
4395{ | 7782{ |
4396 char *data, *data2, *data3; 4397 int i, pagesize; 4398 int fd; | 7783 char *data, *data2, *data3; 7784 int i, pagesize; 7785 int fd; |
4399 | 7786 |
4400 pagesize = getpagesize(); | 7787 pagesize = getpagesize (); |
4401 | 7788 |
4402 /* 4403 * First, make a file with some known garbage in it. 4404 */ 4405 data = malloc(pagesize); 4406 if (!data) 4407 exit(1); 4408 for (i = 0; i < pagesize; ++i) 4409 *(data + i) = rand(); 4410 umask(0); 4411 fd = creat("conftestmmap", 0600); 4412 if (fd < 0) 4413 exit(1); 4414 if (write(fd, data, pagesize) != pagesize) 4415 exit(1); 4416 close(fd); | 7789 /* First, make a file with some known garbage in it. */ 7790 data = (char *) malloc (pagesize); 7791 if (!data) 7792 exit (1); 7793 for (i = 0; i < pagesize; ++i) 7794 *(data + i) = rand (); 7795 umask (0); 7796 fd = creat ("conftest.mmap", 0600); 7797 if (fd < 0) 7798 exit (1); 7799 if (write (fd, data, pagesize) != pagesize) 7800 exit (1); 7801 close (fd); |
4417 | 7802 |
4418 /* 4419 * Next, try to mmap the file at a fixed address which 4420 * already has something else allocated at it. If we can, 4421 * also make sure that we see the same garbage. 4422 */ 4423 fd = open("conftestmmap", O_RDWR); 4424 if (fd < 0) 4425 exit(1); 4426 data2 = malloc(2 * pagesize); 4427 if (!data2) 4428 exit(1); 4429 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 4430 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 4431 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 4432 exit(1); 4433 for (i = 0; i < pagesize; ++i) 4434 if (*(data + i) != *(data2 + i)) 4435 exit(1); | 7803 /* Next, try to mmap the file at a fixed address which already has 7804 something else allocated at it. If we can, also make sure that 7805 we see the same garbage. */ 7806 fd = open ("conftest.mmap", O_RDWR); 7807 if (fd < 0) 7808 exit (1); 7809 data2 = (char *) malloc (2 * pagesize); 7810 if (!data2) 7811 exit (1); 7812 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); 7813 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 7814 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 7815 exit (1); 7816 for (i = 0; i < pagesize; ++i) 7817 if (*(data + i) != *(data2 + i)) 7818 exit (1); |
4436 | 7819 |
4437 /* 4438 * Finally, make sure that changes to the mapped area 4439 * do not percolate back to the file as seen by read(). 4440 * (This is a bug on some variants of i386 svr4.0.) 4441 */ 4442 for (i = 0; i < pagesize; ++i) 4443 *(data2 + i) = *(data2 + i) + 1; 4444 data3 = malloc(pagesize); 4445 if (!data3) 4446 exit(1); 4447 if (read(fd, data3, pagesize) != pagesize) 4448 exit(1); 4449 for (i = 0; i < pagesize; ++i) 4450 if (*(data + i) != *(data3 + i)) 4451 exit(1); 4452 close(fd); 4453 unlink("conftestmmap"); 4454 exit(0); | 7820 /* Finally, make sure that changes to the mapped area do not 7821 percolate back to the file as seen by read(). (This is a bug on 7822 some variants of i386 svr4.0.) */ 7823 for (i = 0; i < pagesize; ++i) 7824 *(data2 + i) = *(data2 + i) + 1; 7825 data3 = (char *) malloc (pagesize); 7826 if (!data3) 7827 exit (1); 7828 if (read (fd, data3, pagesize) != pagesize) 7829 exit (1); 7830 for (i = 0; i < pagesize; ++i) 7831 if (*(data + i) != *(data3 + i)) 7832 exit (1); 7833 close (fd); 7834 exit (0); |
4455} | 7835} |
4456 4457EOF 4458if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4459then | 7836_ACEOF 7837rm -f conftest$ac_exeext 7838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7839 (eval $ac_link) 2>&5 7840 ac_status=$? 7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7844 (eval $ac_try) 2>&5 7845 ac_status=$? 7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7847 (exit $ac_status); }; }; then |
4460 ac_cv_func_mmap_fixed_mapped=yes 4461else | 7848 ac_cv_func_mmap_fixed_mapped=yes 7849else |
4462 echo "configure: failed program was:" >&5 4463 cat conftest.$ac_ext >&5 4464 rm -fr conftest* 4465 ac_cv_func_mmap_fixed_mapped=no | 7850 echo "$as_me: program exited with status $ac_status" >&5 7851echo "$as_me: failed program was:" >&5 7852sed 's/^/| /' conftest.$ac_ext >&5 7853 7854( exit $ac_status ) 7855ac_cv_func_mmap_fixed_mapped=no |
4466fi | 7856fi |
4467rm -fr conftest* | 7857rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4468fi | 7858fi |
4469 | |
4470fi | 7859fi |
4471 4472echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 | 7860echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 7861echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 |
4473if test $ac_cv_func_mmap_fixed_mapped = yes; then | 7862if test $ac_cv_func_mmap_fixed_mapped = yes; then |
4474 cat >> confdefs.h <<\EOF | 7863 7864cat >>confdefs.h <<\_ACEOF |
4475#define HAVE_MMAP 1 | 7865#define HAVE_MMAP 1 |
4476EOF | 7866_ACEOF |
4477 4478fi | 7867 7868fi |
7869rm -f conftest.mmap |
|
4479 | 7870 |
4480 4481 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ | 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881for ac_header in argz.h limits.h locale.h nl_types.h malloc.h string.h \ |
4482unistd.h values.h sys/param.h 4483do | 7882unistd.h values.h sys/param.h 7883do |
4484ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4485echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4486echo "configure:4487: checking for $ac_hdr" >&5 4487if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4488 echo $ac_n "(cached) $ac_c" 1>&6 | 7884as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7885if eval "test \"\${$as_ac_Header+set}\" = set"; then 7886 echo "$as_me:$LINENO: checking for $ac_header" >&5 7887echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7888if eval "test \"\${$as_ac_Header+set}\" = set"; then 7889 echo $ECHO_N "(cached) $ECHO_C" >&6 7890fi 7891echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7892echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4489else | 7893else |
4490 cat > conftest.$ac_ext <<EOF 4491#line 4492 "configure" 4492#include "confdefs.h" 4493#include <$ac_hdr> 4494EOF 4495ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4496{ (eval echo configure:4497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4497ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4498if test -z "$ac_err"; then 4499 rm -rf conftest* 4500 eval "ac_cv_header_$ac_safe=yes" | 7894 # Is the header compilable? 7895echo "$as_me:$LINENO: checking $ac_header usability" >&5 7896echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7897cat >conftest.$ac_ext <<_ACEOF 7898/* confdefs.h. */ 7899_ACEOF 7900cat confdefs.h >>conftest.$ac_ext 7901cat >>conftest.$ac_ext <<_ACEOF 7902/* end confdefs.h. */ 7903$ac_includes_default 7904#include <$ac_header> 7905_ACEOF 7906rm -f conftest.$ac_objext 7907if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7908 (eval $ac_compile) 2>conftest.er1 7909 ac_status=$? 7910 grep -v '^ *+' conftest.er1 >conftest.err 7911 rm -f conftest.er1 7912 cat conftest.err >&5 7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7914 (exit $ac_status); } && 7915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 7916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7917 (eval $ac_try) 2>&5 7918 ac_status=$? 7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7920 (exit $ac_status); }; } && 7921 { ac_try='test -s conftest.$ac_objext' 7922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7923 (eval $ac_try) 2>&5 7924 ac_status=$? 7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7926 (exit $ac_status); }; }; then 7927 ac_header_compiler=yes |
4501else | 7928else |
4502 echo "$ac_err" >&5 4503 echo "configure: failed program was:" >&5 4504 cat conftest.$ac_ext >&5 4505 rm -rf conftest* 4506 eval "ac_cv_header_$ac_safe=no" | 7929 echo "$as_me: failed program was:" >&5 7930sed 's/^/| /' conftest.$ac_ext >&5 7931 7932ac_header_compiler=no |
4507fi | 7933fi |
4508rm -f conftest* | 7934rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7935echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7936echo "${ECHO_T}$ac_header_compiler" >&6 7937 7938# Is the header present? 7939echo "$as_me:$LINENO: checking $ac_header presence" >&5 7940echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7941cat >conftest.$ac_ext <<_ACEOF 7942/* confdefs.h. */ 7943_ACEOF 7944cat confdefs.h >>conftest.$ac_ext 7945cat >>conftest.$ac_ext <<_ACEOF 7946/* end confdefs.h. */ 7947#include <$ac_header> 7948_ACEOF 7949if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7951 ac_status=$? 7952 grep -v '^ *+' conftest.er1 >conftest.err 7953 rm -f conftest.er1 7954 cat conftest.err >&5 7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7956 (exit $ac_status); } >/dev/null; then 7957 if test -s conftest.err; then 7958 ac_cpp_err=$ac_c_preproc_warn_flag 7959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7960 else 7961 ac_cpp_err= 7962 fi 7963else 7964 ac_cpp_err=yes |
4509fi | 7965fi |
4510if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4511 echo "$ac_t""yes" 1>&6 4512 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 4513 cat >> confdefs.h <<EOF 4514#define $ac_tr_hdr 1 4515EOF 4516 | 7966if test -z "$ac_cpp_err"; then 7967 ac_header_preproc=yes |
4517else | 7968else |
4518 echo "$ac_t""no" 1>&6 | 7969 echo "$as_me: failed program was:" >&5 7970sed 's/^/| /' conftest.$ac_ext >&5 7971 7972 ac_header_preproc=no |
4519fi | 7973fi |
7974rm -f conftest.err conftest.$ac_ext 7975echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7976echo "${ECHO_T}$ac_header_preproc" >&6 7977 7978# So? What about this header? 7979case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7980 yes:no: ) 7981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7982echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7984echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7985 ac_header_preproc=yes 7986 ;; 7987 no:yes:* ) 7988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7989echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7991echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7993echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7995echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7997echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7999echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8000 ( 8001 cat <<\_ASBOX 8002## ------------------------------------------ ## 8003## Report this to the AC_PACKAGE_NAME lists. ## 8004## ------------------------------------------ ## 8005_ASBOX 8006 ) | 8007 sed "s/^/$as_me: WARNING: /" >&2 8008 ;; 8009esac 8010echo "$as_me:$LINENO: checking for $ac_header" >&5 8011echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8012if eval "test \"\${$as_ac_Header+set}\" = set"; then 8013 echo $ECHO_N "(cached) $ECHO_C" >&6 8014else 8015 eval "$as_ac_Header=\$ac_header_preproc" 8016fi 8017echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 8018echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8019 8020fi 8021if test `eval echo '${'$as_ac_Header'}'` = yes; then 8022 cat >>confdefs.h <<_ACEOF 8023#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8024_ACEOF 8025 8026fi 8027 |
|
4520done 4521 | 8028done 8029 |
4522 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ | 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ |
4523__argz_count __argz_stringify __argz_next 4524do | 8041__argz_count __argz_stringify __argz_next 8042do |
4525echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4526echo "configure:4527: checking for $ac_func" >&5 4527if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4528 echo $ac_n "(cached) $ac_c" 1>&6 | 8043as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8044echo "$as_me:$LINENO: checking for $ac_func" >&5 8045echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8046if eval "test \"\${$as_ac_var+set}\" = set"; then 8047 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4529else | 8048else |
4530 cat > conftest.$ac_ext <<EOF 4531#line 4532 "configure" 4532#include "confdefs.h" | 8049 cat >conftest.$ac_ext <<_ACEOF 8050/* confdefs.h. */ 8051_ACEOF 8052cat confdefs.h >>conftest.$ac_ext 8053cat >>conftest.$ac_ext <<_ACEOF 8054/* end confdefs.h. */ 8055/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8056 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8057#define $ac_func innocuous_$ac_func 8058 |
4533/* System header to define __stub macros and hopefully few prototypes, | 8059/* System header to define __stub macros and hopefully few prototypes, |
4534 which can conflict with char $ac_func(); below. */ 4535#include <assert.h> 4536/* Override any gcc2 internal prototype to avoid an error. */ 4537/* We use char because int might match the return type of a gcc2 4538 builtin and then its argument prototype would still apply. */ 4539char $ac_func(); | 8060 which can conflict with char $ac_func (); below. 8061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8062 <limits.h> exists even on freestanding compilers. */ |
4540 | 8063 |
4541int main() { | 8064#ifdef __STDC__ 8065# include <limits.h> 8066#else 8067# include <assert.h> 8068#endif |
4542 | 8069 |
8070#undef $ac_func 8071 8072/* Override any gcc2 internal prototype to avoid an error. */ 8073#ifdef __cplusplus 8074extern "C" 8075{ 8076#endif 8077/* We use char because int might match the return type of a gcc2 8078 builtin and then its argument prototype would still apply. */ 8079char $ac_func (); |
|
4543/* The GNU C library defines this for functions which it implements 4544 to always fail with ENOSYS. Some functions are actually named 4545 something starting with __ and the normal name is an alias. */ 4546#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4547choke me 4548#else | 8080/* The GNU C library defines this for functions which it implements 8081 to always fail with ENOSYS. Some functions are actually named 8082 something starting with __ and the normal name is an alias. */ 8083#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8084choke me 8085#else |
4549$ac_func(); | 8086char (*f) () = $ac_func; |
4550#endif | 8087#endif |
8088#ifdef __cplusplus 8089} 8090#endif |
|
4551 | 8091 |
4552; return 0; } 4553EOF 4554if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4555 rm -rf conftest* 4556 eval "ac_cv_func_$ac_func=yes" | 8092int 8093main () 8094{ 8095return f != $ac_func; 8096 ; 8097 return 0; 8098} 8099_ACEOF 8100rm -f conftest.$ac_objext conftest$ac_exeext 8101if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8102 (eval $ac_link) 2>conftest.er1 8103 ac_status=$? 8104 grep -v '^ *+' conftest.er1 >conftest.err 8105 rm -f conftest.er1 8106 cat conftest.err >&5 8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8108 (exit $ac_status); } && 8109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8111 (eval $ac_try) 2>&5 8112 ac_status=$? 8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8114 (exit $ac_status); }; } && 8115 { ac_try='test -s conftest$ac_exeext' 8116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8117 (eval $ac_try) 2>&5 8118 ac_status=$? 8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8120 (exit $ac_status); }; }; then 8121 eval "$as_ac_var=yes" |
4557else | 8122else |
4558 echo "configure: failed program was:" >&5 4559 cat conftest.$ac_ext >&5 4560 rm -rf conftest* 4561 eval "ac_cv_func_$ac_func=no" | 8123 echo "$as_me: failed program was:" >&5 8124sed 's/^/| /' conftest.$ac_ext >&5 8125 8126eval "$as_ac_var=no" |
4562fi | 8127fi |
4563rm -f conftest* | 8128rm -f conftest.err conftest.$ac_objext \ 8129 conftest$ac_exeext conftest.$ac_ext |
4564fi | 8130fi |
8131echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8132echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8133if test `eval echo '${'$as_ac_var'}'` = yes; then 8134 cat >>confdefs.h <<_ACEOF 8135#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8136_ACEOF |
|
4565 | 8137 |
4566if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 4567 echo "$ac_t""yes" 1>&6 4568 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 4569 cat >> confdefs.h <<EOF 4570#define $ac_tr_func 1 4571EOF 4572 4573else 4574 echo "$ac_t""no" 1>&6 | |
4575fi 4576done 4577 4578 4579 if test "${ac_cv_func_stpcpy+set}" != "set"; then | 8138fi 8139done 8140 8141 8142 if test "${ac_cv_func_stpcpy+set}" != "set"; then |
4580 for ac_func in stpcpy | 8143 8144for ac_func in stpcpy |
4581do | 8145do |
4582echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4583echo "configure:4584: checking for $ac_func" >&5 4584if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4585 echo $ac_n "(cached) $ac_c" 1>&6 | 8146as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8147echo "$as_me:$LINENO: checking for $ac_func" >&5 8148echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8149if eval "test \"\${$as_ac_var+set}\" = set"; then 8150 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4586else | 8151else |
4587 cat > conftest.$ac_ext <<EOF 4588#line 4589 "configure" 4589#include "confdefs.h" | 8152 cat >conftest.$ac_ext <<_ACEOF 8153/* confdefs.h. */ 8154_ACEOF 8155cat confdefs.h >>conftest.$ac_ext 8156cat >>conftest.$ac_ext <<_ACEOF 8157/* end confdefs.h. */ 8158/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8159 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8160#define $ac_func innocuous_$ac_func 8161 |
4590/* System header to define __stub macros and hopefully few prototypes, | 8162/* System header to define __stub macros and hopefully few prototypes, |
4591 which can conflict with char $ac_func(); below. */ 4592#include <assert.h> 4593/* Override any gcc2 internal prototype to avoid an error. */ 4594/* We use char because int might match the return type of a gcc2 4595 builtin and then its argument prototype would still apply. */ 4596char $ac_func(); | 8163 which can conflict with char $ac_func (); below. 8164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8165 <limits.h> exists even on freestanding compilers. */ |
4597 | 8166 |
4598int main() { | 8167#ifdef __STDC__ 8168# include <limits.h> 8169#else 8170# include <assert.h> 8171#endif |
4599 | 8172 |
8173#undef $ac_func 8174 8175/* Override any gcc2 internal prototype to avoid an error. */ 8176#ifdef __cplusplus 8177extern "C" 8178{ 8179#endif 8180/* We use char because int might match the return type of a gcc2 8181 builtin and then its argument prototype would still apply. */ 8182char $ac_func (); |
|
4600/* The GNU C library defines this for functions which it implements 4601 to always fail with ENOSYS. Some functions are actually named 4602 something starting with __ and the normal name is an alias. */ 4603#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4604choke me 4605#else | 8183/* The GNU C library defines this for functions which it implements 8184 to always fail with ENOSYS. Some functions are actually named 8185 something starting with __ and the normal name is an alias. */ 8186#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8187choke me 8188#else |
4606$ac_func(); | 8189char (*f) () = $ac_func; |
4607#endif | 8190#endif |
8191#ifdef __cplusplus 8192} 8193#endif |
|
4608 | 8194 |
4609; return 0; } 4610EOF 4611if { (eval echo configure:4612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4612 rm -rf conftest* 4613 eval "ac_cv_func_$ac_func=yes" | 8195int 8196main () 8197{ 8198return f != $ac_func; 8199 ; 8200 return 0; 8201} 8202_ACEOF 8203rm -f conftest.$ac_objext conftest$ac_exeext 8204if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8205 (eval $ac_link) 2>conftest.er1 8206 ac_status=$? 8207 grep -v '^ *+' conftest.er1 >conftest.err 8208 rm -f conftest.er1 8209 cat conftest.err >&5 8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8211 (exit $ac_status); } && 8212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8214 (eval $ac_try) 2>&5 8215 ac_status=$? 8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8217 (exit $ac_status); }; } && 8218 { ac_try='test -s conftest$ac_exeext' 8219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8220 (eval $ac_try) 2>&5 8221 ac_status=$? 8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8223 (exit $ac_status); }; }; then 8224 eval "$as_ac_var=yes" |
4614else | 8225else |
4615 echo "configure: failed program was:" >&5 4616 cat conftest.$ac_ext >&5 4617 rm -rf conftest* 4618 eval "ac_cv_func_$ac_func=no" | 8226 echo "$as_me: failed program was:" >&5 8227sed 's/^/| /' conftest.$ac_ext >&5 8228 8229eval "$as_ac_var=no" |
4619fi | 8230fi |
4620rm -f conftest* | 8231rm -f conftest.err conftest.$ac_objext \ 8232 conftest$ac_exeext conftest.$ac_ext |
4621fi | 8233fi |
8234echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8235echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8236if test `eval echo '${'$as_ac_var'}'` = yes; then 8237 cat >>confdefs.h <<_ACEOF 8238#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8239_ACEOF |
|
4622 | 8240 |
4623if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 4624 echo "$ac_t""yes" 1>&6 4625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 4626 cat >> confdefs.h <<EOF 4627#define $ac_tr_func 1 4628EOF 4629 4630else 4631 echo "$ac_t""no" 1>&6 | |
4632fi 4633done 4634 4635 fi 4636 if test "${ac_cv_func_stpcpy}" = "yes"; then | 8241fi 8242done 8243 8244 fi 8245 if test "${ac_cv_func_stpcpy}" = "yes"; then |
4637 cat >> confdefs.h <<\EOF | 8246 8247cat >>confdefs.h <<\_ACEOF |
4638#define HAVE_STPCPY 1 | 8248#define HAVE_STPCPY 1 |
4639EOF | 8249_ACEOF |
4640 4641 fi 4642 4643 if test $ac_cv_header_locale_h = yes; then | 8250 8251 fi 8252 8253 if test $ac_cv_header_locale_h = yes; then |
4644 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 4645echo "configure:4646: checking for LC_MESSAGES" >&5 4646if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 4647 echo $ac_n "(cached) $ac_c" 1>&6 | 8254 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 8255echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 8256if test "${am_cv_val_LC_MESSAGES+set}" = set; then 8257 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4648else | 8258else |
4649 cat > conftest.$ac_ext <<EOF 4650#line 4651 "configure" 4651#include "confdefs.h" | 8259 cat >conftest.$ac_ext <<_ACEOF 8260/* confdefs.h. */ 8261_ACEOF 8262cat confdefs.h >>conftest.$ac_ext 8263cat >>conftest.$ac_ext <<_ACEOF 8264/* end confdefs.h. */ |
4652#include <locale.h> | 8265#include <locale.h> |
4653int main() { | 8266int 8267main () 8268{ |
4654return LC_MESSAGES | 8269return LC_MESSAGES |
4655; return 0; } 4656EOF 4657if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4658 rm -rf conftest* | 8270 ; 8271 return 0; 8272} 8273_ACEOF 8274rm -f conftest.$ac_objext conftest$ac_exeext 8275if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8276 (eval $ac_link) 2>conftest.er1 8277 ac_status=$? 8278 grep -v '^ *+' conftest.er1 >conftest.err 8279 rm -f conftest.er1 8280 cat conftest.err >&5 8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8282 (exit $ac_status); } && 8283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8285 (eval $ac_try) 2>&5 8286 ac_status=$? 8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8288 (exit $ac_status); }; } && 8289 { ac_try='test -s conftest$ac_exeext' 8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8291 (eval $ac_try) 2>&5 8292 ac_status=$? 8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8294 (exit $ac_status); }; }; then |
4659 am_cv_val_LC_MESSAGES=yes 4660else | 8295 am_cv_val_LC_MESSAGES=yes 8296else |
4661 echo "configure: failed program was:" >&5 4662 cat conftest.$ac_ext >&5 4663 rm -rf conftest* 4664 am_cv_val_LC_MESSAGES=no | 8297 echo "$as_me: failed program was:" >&5 8298sed 's/^/| /' conftest.$ac_ext >&5 8299 8300am_cv_val_LC_MESSAGES=no |
4665fi | 8301fi |
4666rm -f conftest* | 8302rm -f conftest.err conftest.$ac_objext \ 8303 conftest$ac_exeext conftest.$ac_ext |
4667fi | 8304fi |
4668 4669echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6 | 8305echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 8306echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6 |
4670 if test $am_cv_val_LC_MESSAGES = yes; then | 8307 if test $am_cv_val_LC_MESSAGES = yes; then |
4671 cat >> confdefs.h <<\EOF | 8308 8309cat >>confdefs.h <<\_ACEOF |
4672#define HAVE_LC_MESSAGES 1 | 8310#define HAVE_LC_MESSAGES 1 |
4673EOF | 8311_ACEOF |
4674 4675 fi 4676 fi | 8312 8313 fi 8314 fi |
4677 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 4678echo "configure:4679: checking whether NLS is requested" >&5 | 8315 echo "$as_me:$LINENO: checking whether NLS is requested" >&5 8316echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 |
4679 # Check whether --enable-nls or --disable-nls was given. 4680if test "${enable_nls+set}" = set; then 4681 enableval="$enable_nls" 4682 USE_NLS=$enableval 4683else 4684 USE_NLS=yes | 8317 # Check whether --enable-nls or --disable-nls was given. 8318if test "${enable_nls+set}" = set; then 8319 enableval="$enable_nls" 8320 USE_NLS=$enableval 8321else 8322 USE_NLS=yes |
4685fi | 8323fi; 8324 echo "$as_me:$LINENO: result: $USE_NLS" >&5 8325echo "${ECHO_T}$USE_NLS" >&6 |
4686 | 8326 |
4687 echo "$ac_t""$USE_NLS" 1>&6 4688 | |
4689 4690 USE_INCLUDED_LIBINTL=no 4691 4692 if test "$USE_NLS" = "yes"; then | 8327 8328 USE_INCLUDED_LIBINTL=no 8329 8330 if test "$USE_NLS" = "yes"; then |
4693 cat >> confdefs.h <<\EOF | 8331 8332cat >>confdefs.h <<\_ACEOF |
4694#define ENABLE_NLS 1 | 8333#define ENABLE_NLS 1 |
4695EOF | 8334_ACEOF |
4696 | 8335 |
4697 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 4698echo "configure:4699: checking whether included gettext is requested" >&5 4699 # Check whether --with-included-gettext or --without-included-gettext was given. | 8336 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 8337echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6 8338 8339# Check whether --with-included-gettext or --without-included-gettext was given. |
4700if test "${with_included_gettext+set}" = set; then 4701 withval="$with_included_gettext" 4702 nls_cv_force_use_gnu_gettext=$withval 4703else 4704 nls_cv_force_use_gnu_gettext=no | 8340if test "${with_included_gettext+set}" = set; then 8341 withval="$with_included_gettext" 8342 nls_cv_force_use_gnu_gettext=$withval 8343else 8344 nls_cv_force_use_gnu_gettext=no |
4705fi | 8345fi; 8346 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5 8347echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6 |
4706 | 8348 |
4707 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 4708 | |
4709 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 4710 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 4711 nls_cv_header_intl= 4712 nls_cv_header_libgt= 4713 CATOBJEXT=NONE 4714 | 8349 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 8350 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 8351 nls_cv_header_intl= 8352 nls_cv_header_libgt= 8353 CATOBJEXT=NONE 8354 |
4715 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 4716echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 4717echo "configure:4718: checking for libintl.h" >&5 4718if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4719 echo $ac_n "(cached) $ac_c" 1>&6 | 8355 if test "${ac_cv_header_libintl_h+set}" = set; then 8356 echo "$as_me:$LINENO: checking for libintl.h" >&5 8357echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 8358if test "${ac_cv_header_libintl_h+set}" = set; then 8359 echo $ECHO_N "(cached) $ECHO_C" >&6 8360fi 8361echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 8362echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 |
4720else | 8363else |
4721 cat > conftest.$ac_ext <<EOF 4722#line 4723 "configure" 4723#include "confdefs.h" | 8364 # Is the header compilable? 8365echo "$as_me:$LINENO: checking libintl.h usability" >&5 8366echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6 8367cat >conftest.$ac_ext <<_ACEOF 8368/* confdefs.h. */ 8369_ACEOF 8370cat confdefs.h >>conftest.$ac_ext 8371cat >>conftest.$ac_ext <<_ACEOF 8372/* end confdefs.h. */ 8373$ac_includes_default |
4724#include <libintl.h> | 8374#include <libintl.h> |
4725EOF 4726ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4727{ (eval echo configure:4728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4728ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4729if test -z "$ac_err"; then 4730 rm -rf conftest* 4731 eval "ac_cv_header_$ac_safe=yes" | 8375_ACEOF 8376rm -f conftest.$ac_objext 8377if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8378 (eval $ac_compile) 2>conftest.er1 8379 ac_status=$? 8380 grep -v '^ *+' conftest.er1 >conftest.err 8381 rm -f conftest.er1 8382 cat conftest.err >&5 8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8384 (exit $ac_status); } && 8385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8387 (eval $ac_try) 2>&5 8388 ac_status=$? 8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8390 (exit $ac_status); }; } && 8391 { ac_try='test -s conftest.$ac_objext' 8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8393 (eval $ac_try) 2>&5 8394 ac_status=$? 8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8396 (exit $ac_status); }; }; then 8397 ac_header_compiler=yes |
4732else | 8398else |
4733 echo "$ac_err" >&5 4734 echo "configure: failed program was:" >&5 4735 cat conftest.$ac_ext >&5 4736 rm -rf conftest* 4737 eval "ac_cv_header_$ac_safe=no" | 8399 echo "$as_me: failed program was:" >&5 8400sed 's/^/| /' conftest.$ac_ext >&5 8401 8402ac_header_compiler=no |
4738fi | 8403fi |
4739rm -f conftest* | 8404rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8405echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8406echo "${ECHO_T}$ac_header_compiler" >&6 8407 8408# Is the header present? 8409echo "$as_me:$LINENO: checking libintl.h presence" >&5 8410echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6 8411cat >conftest.$ac_ext <<_ACEOF 8412/* confdefs.h. */ 8413_ACEOF 8414cat confdefs.h >>conftest.$ac_ext 8415cat >>conftest.$ac_ext <<_ACEOF 8416/* end confdefs.h. */ 8417#include <libintl.h> 8418_ACEOF 8419if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8421 ac_status=$? 8422 grep -v '^ *+' conftest.er1 >conftest.err 8423 rm -f conftest.er1 8424 cat conftest.err >&5 8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8426 (exit $ac_status); } >/dev/null; then 8427 if test -s conftest.err; then 8428 ac_cpp_err=$ac_c_preproc_warn_flag 8429 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8430 else 8431 ac_cpp_err= 8432 fi 8433else 8434 ac_cpp_err=yes |
4740fi | 8435fi |
4741if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 4742 echo "$ac_t""yes" 1>&6 4743 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 4744echo "configure:4745: checking for gettext in libc" >&5 4745if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 4746 echo $ac_n "(cached) $ac_c" 1>&6 | 8436if test -z "$ac_cpp_err"; then 8437 ac_header_preproc=yes |
4747else | 8438else |
4748 cat > conftest.$ac_ext <<EOF 4749#line 4750 "configure" 4750#include "confdefs.h" | 8439 echo "$as_me: failed program was:" >&5 8440sed 's/^/| /' conftest.$ac_ext >&5 8441 8442 ac_header_preproc=no 8443fi 8444rm -f conftest.err conftest.$ac_ext 8445echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8446echo "${ECHO_T}$ac_header_preproc" >&6 8447 8448# So? What about this header? 8449case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8450 yes:no: ) 8451 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 8452echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8453 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 8454echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} 8455 ac_header_preproc=yes 8456 ;; 8457 no:yes:* ) 8458 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 8459echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} 8460 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 8461echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} 8462 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 8463echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} 8464 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 8465echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} 8466 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 8467echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} 8468 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 8469echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} 8470 ( 8471 cat <<\_ASBOX 8472## ------------------------------------------ ## 8473## Report this to the AC_PACKAGE_NAME lists. ## 8474## ------------------------------------------ ## 8475_ASBOX 8476 ) | 8477 sed "s/^/$as_me: WARNING: /" >&2 8478 ;; 8479esac 8480echo "$as_me:$LINENO: checking for libintl.h" >&5 8481echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 8482if test "${ac_cv_header_libintl_h+set}" = set; then 8483 echo $ECHO_N "(cached) $ECHO_C" >&6 8484else 8485 ac_cv_header_libintl_h=$ac_header_preproc 8486fi 8487echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 8488echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 8489 8490fi 8491if test $ac_cv_header_libintl_h = yes; then 8492 echo "$as_me:$LINENO: checking for gettext in libc" >&5 8493echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6 8494if test "${gt_cv_func_gettext_libc+set}" = set; then 8495 echo $ECHO_N "(cached) $ECHO_C" >&6 8496else 8497 cat >conftest.$ac_ext <<_ACEOF 8498/* confdefs.h. */ 8499_ACEOF 8500cat confdefs.h >>conftest.$ac_ext 8501cat >>conftest.$ac_ext <<_ACEOF 8502/* end confdefs.h. */ |
4751#include <libintl.h> | 8503#include <libintl.h> |
4752int main() { | 8504int 8505main () 8506{ |
4753return (int) gettext ("") | 8507return (int) gettext ("") |
4754; return 0; } 4755EOF 4756if { (eval echo configure:4757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4757 rm -rf conftest* | 8508 ; 8509 return 0; 8510} 8511_ACEOF 8512rm -f conftest.$ac_objext conftest$ac_exeext 8513if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8514 (eval $ac_link) 2>conftest.er1 8515 ac_status=$? 8516 grep -v '^ *+' conftest.er1 >conftest.err 8517 rm -f conftest.er1 8518 cat conftest.err >&5 8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8520 (exit $ac_status); } && 8521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8523 (eval $ac_try) 2>&5 8524 ac_status=$? 8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8526 (exit $ac_status); }; } && 8527 { ac_try='test -s conftest$ac_exeext' 8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8529 (eval $ac_try) 2>&5 8530 ac_status=$? 8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8532 (exit $ac_status); }; }; then |
4758 gt_cv_func_gettext_libc=yes 4759else | 8533 gt_cv_func_gettext_libc=yes 8534else |
4760 echo "configure: failed program was:" >&5 4761 cat conftest.$ac_ext >&5 4762 rm -rf conftest* 4763 gt_cv_func_gettext_libc=no | 8535 echo "$as_me: failed program was:" >&5 8536sed 's/^/| /' conftest.$ac_ext >&5 8537 8538gt_cv_func_gettext_libc=no |
4764fi | 8539fi |
4765rm -f conftest* | 8540rm -f conftest.err conftest.$ac_objext \ 8541 conftest$ac_exeext conftest.$ac_ext |
4766fi | 8542fi |
8543echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5 8544echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6 |
|
4767 | 8545 |
4768echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 4769 | |
4770 if test "$gt_cv_func_gettext_libc" != "yes"; then | 8546 if test "$gt_cv_func_gettext_libc" != "yes"; then |
4771 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 4772echo "configure:4773: checking for bindtextdomain in -lintl" >&5 4773ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 4774if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4775 echo $ac_n "(cached) $ac_c" 1>&6 | 8547 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 8548echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 8549if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then 8550 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4776else | 8551else |
4777 ac_save_LIBS="$LIBS" | 8552 ac_check_lib_save_LIBS=$LIBS |
4778LIBS="-lintl $LIBS" | 8553LIBS="-lintl $LIBS" |
4779cat > conftest.$ac_ext <<EOF 4780#line 4781 "configure" 4781#include "confdefs.h" | 8554cat >conftest.$ac_ext <<_ACEOF 8555/* confdefs.h. */ 8556_ACEOF 8557cat confdefs.h >>conftest.$ac_ext 8558cat >>conftest.$ac_ext <<_ACEOF 8559/* end confdefs.h. */ 8560 |
4782/* Override any gcc2 internal prototype to avoid an error. */ | 8561/* Override any gcc2 internal prototype to avoid an error. */ |
8562#ifdef __cplusplus 8563extern "C" 8564#endif |
|
4783/* We use char because int might match the return type of a gcc2 | 8565/* We use char because int might match the return type of a gcc2 |
4784 builtin and then its argument prototype would still apply. */ 4785char bindtextdomain(); 4786 4787int main() { 4788bindtextdomain() 4789; return 0; } 4790EOF 4791if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4792 rm -rf conftest* 4793 eval "ac_cv_lib_$ac_lib_var=yes" | 8566 builtin and then its argument prototype would still apply. */ 8567char bindtextdomain (); 8568int 8569main () 8570{ 8571bindtextdomain (); 8572 ; 8573 return 0; 8574} 8575_ACEOF 8576rm -f conftest.$ac_objext conftest$ac_exeext 8577if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8578 (eval $ac_link) 2>conftest.er1 8579 ac_status=$? 8580 grep -v '^ *+' conftest.er1 >conftest.err 8581 rm -f conftest.er1 8582 cat conftest.err >&5 8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8584 (exit $ac_status); } && 8585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8587 (eval $ac_try) 2>&5 8588 ac_status=$? 8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8590 (exit $ac_status); }; } && 8591 { ac_try='test -s conftest$ac_exeext' 8592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8593 (eval $ac_try) 2>&5 8594 ac_status=$? 8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8596 (exit $ac_status); }; }; then 8597 ac_cv_lib_intl_bindtextdomain=yes |
4794else | 8598else |
4795 echo "configure: failed program was:" >&5 4796 cat conftest.$ac_ext >&5 4797 rm -rf conftest* 4798 eval "ac_cv_lib_$ac_lib_var=no" 4799fi 4800rm -f conftest* 4801LIBS="$ac_save_LIBS" | 8599 echo "$as_me: failed program was:" >&5 8600sed 's/^/| /' conftest.$ac_ext >&5 |
4802 | 8601 |
8602ac_cv_lib_intl_bindtextdomain=no |
|
4803fi | 8603fi |
4804if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4805 echo "$ac_t""yes" 1>&6 4806 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 4807echo "configure:4808: checking for gettext in libintl" >&5 4808if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 4809 echo $ac_n "(cached) $ac_c" 1>&6 | 8604rm -f conftest.err conftest.$ac_objext \ 8605 conftest$ac_exeext conftest.$ac_ext 8606LIBS=$ac_check_lib_save_LIBS 8607fi 8608echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 8609echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 8610if test $ac_cv_lib_intl_bindtextdomain = yes; then 8611 echo "$as_me:$LINENO: checking for gettext in libintl" >&5 8612echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6 8613if test "${gt_cv_func_gettext_libintl+set}" = set; then 8614 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4810else | 8615else |
4811 cat > conftest.$ac_ext <<EOF 4812#line 4813 "configure" 4813#include "confdefs.h" | 8616 cat >conftest.$ac_ext <<_ACEOF 8617/* confdefs.h. */ 8618_ACEOF 8619cat confdefs.h >>conftest.$ac_ext 8620cat >>conftest.$ac_ext <<_ACEOF 8621/* end confdefs.h. */ |
4814 | 8622 |
4815int main() { | 8623int 8624main () 8625{ |
4816return (int) gettext ("") | 8626return (int) gettext ("") |
4817; return 0; } 4818EOF 4819if { (eval echo configure:4820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4820 rm -rf conftest* | 8627 ; 8628 return 0; 8629} 8630_ACEOF 8631rm -f conftest.$ac_objext conftest$ac_exeext 8632if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8633 (eval $ac_link) 2>conftest.er1 8634 ac_status=$? 8635 grep -v '^ *+' conftest.er1 >conftest.err 8636 rm -f conftest.er1 8637 cat conftest.err >&5 8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8639 (exit $ac_status); } && 8640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8642 (eval $ac_try) 2>&5 8643 ac_status=$? 8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8645 (exit $ac_status); }; } && 8646 { ac_try='test -s conftest$ac_exeext' 8647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8648 (eval $ac_try) 2>&5 8649 ac_status=$? 8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8651 (exit $ac_status); }; }; then |
4821 gt_cv_func_gettext_libintl=yes 4822else | 8652 gt_cv_func_gettext_libintl=yes 8653else |
4823 echo "configure: failed program was:" >&5 4824 cat conftest.$ac_ext >&5 4825 rm -rf conftest* 4826 gt_cv_func_gettext_libintl=no | 8654 echo "$as_me: failed program was:" >&5 8655sed 's/^/| /' conftest.$ac_ext >&5 8656 8657gt_cv_func_gettext_libintl=no |
4827fi | 8658fi |
4828rm -f conftest* | 8659rm -f conftest.err conftest.$ac_objext \ 8660 conftest$ac_exeext conftest.$ac_ext |
4829fi | 8661fi |
4830 4831echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6 4832else 4833 echo "$ac_t""no" 1>&6 | 8662echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5 8663echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6 |
4834fi 4835 4836 fi 4837 4838 if test "$gt_cv_func_gettext_libc" = "yes" \ 4839 || test "$gt_cv_func_gettext_libintl" = "yes"; then | 8664fi 8665 8666 fi 8667 8668 if test "$gt_cv_func_gettext_libc" = "yes" \ 8669 || test "$gt_cv_func_gettext_libintl" = "yes"; then |
4840 cat >> confdefs.h <<\EOF | 8670 8671cat >>confdefs.h <<\_ACEOF |
4841#define HAVE_GETTEXT 1 | 8672#define HAVE_GETTEXT 1 |
4842EOF | 8673_ACEOF |
4843 4844 # Extract the first word of "msgfmt", so it can be a program name with args. 4845set dummy msgfmt; ac_word=$2 | 8674 8675 # Extract the first word of "msgfmt", so it can be a program name with args. 8676set dummy msgfmt; ac_word=$2 |
4846echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4847echo "configure:4848: checking for $ac_word" >&5 4848if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 4849 echo $ac_n "(cached) $ac_c" 1>&6 | 8677echo "$as_me:$LINENO: checking for $ac_word" >&5 8678echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8679if test "${ac_cv_path_MSGFMT+set}" = set; then 8680 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4850else 4851 case "$MSGFMT" in 4852 /*) 4853 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4854 ;; 4855 *) 4856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 4857 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 4865 done 4866 IFS="$ac_save_ifs" 4867 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 4868 ;; 4869esac 4870fi 4871MSGFMT="$ac_cv_path_MSGFMT" 4872if test -n "$MSGFMT"; then | 8681else 8682 case "$MSGFMT" in 8683 /*) 8684 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 8685 ;; 8686 *) 8687 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8688 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 8696 done 8697 IFS="$ac_save_ifs" 8698 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 8699 ;; 8700esac 8701fi 8702MSGFMT="$ac_cv_path_MSGFMT" 8703if test -n "$MSGFMT"; then |
4873 echo "$ac_t""$MSGFMT" 1>&6 | 8704 echo "$as_me:$LINENO: result: $MSGFMT" >&5 8705echo "${ECHO_T}$MSGFMT" >&6 |
4874else | 8706else |
4875 echo "$ac_t""no" 1>&6 | 8707 echo "$as_me:$LINENO: result: no" >&5 8708echo "${ECHO_T}no" >&6 |
4876fi 4877 if test "$MSGFMT" != "no"; then | 8709fi 8710 if test "$MSGFMT" != "no"; then |
4878 for ac_func in dcgettext | 8711 8712for ac_func in dcgettext |
4879do | 8713do |
4880echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4881echo "configure:4882: checking for $ac_func" >&5 4882if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4883 echo $ac_n "(cached) $ac_c" 1>&6 | 8714as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8715echo "$as_me:$LINENO: checking for $ac_func" >&5 8716echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8717if eval "test \"\${$as_ac_var+set}\" = set"; then 8718 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4884else | 8719else |
4885 cat > conftest.$ac_ext <<EOF 4886#line 4887 "configure" 4887#include "confdefs.h" | 8720 cat >conftest.$ac_ext <<_ACEOF 8721/* confdefs.h. */ 8722_ACEOF 8723cat confdefs.h >>conftest.$ac_ext 8724cat >>conftest.$ac_ext <<_ACEOF 8725/* end confdefs.h. */ 8726/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 8727 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 8728#define $ac_func innocuous_$ac_func 8729 |
4888/* System header to define __stub macros and hopefully few prototypes, | 8730/* System header to define __stub macros and hopefully few prototypes, |
4889 which can conflict with char $ac_func(); below. */ 4890#include <assert.h> 4891/* Override any gcc2 internal prototype to avoid an error. */ 4892/* We use char because int might match the return type of a gcc2 4893 builtin and then its argument prototype would still apply. */ 4894char $ac_func(); | 8731 which can conflict with char $ac_func (); below. 8732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8733 <limits.h> exists even on freestanding compilers. */ |
4895 | 8734 |
4896int main() { | 8735#ifdef __STDC__ 8736# include <limits.h> 8737#else 8738# include <assert.h> 8739#endif |
4897 | 8740 |
8741#undef $ac_func 8742 8743/* Override any gcc2 internal prototype to avoid an error. */ 8744#ifdef __cplusplus 8745extern "C" 8746{ 8747#endif 8748/* We use char because int might match the return type of a gcc2 8749 builtin and then its argument prototype would still apply. */ 8750char $ac_func (); |
|
4898/* The GNU C library defines this for functions which it implements 4899 to always fail with ENOSYS. Some functions are actually named 4900 something starting with __ and the normal name is an alias. */ 4901#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4902choke me 4903#else | 8751/* The GNU C library defines this for functions which it implements 8752 to always fail with ENOSYS. Some functions are actually named 8753 something starting with __ and the normal name is an alias. */ 8754#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8755choke me 8756#else |
4904$ac_func(); | 8757char (*f) () = $ac_func; |
4905#endif | 8758#endif |
8759#ifdef __cplusplus 8760} 8761#endif |
|
4906 | 8762 |
4907; return 0; } 4908EOF 4909if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4910 rm -rf conftest* 4911 eval "ac_cv_func_$ac_func=yes" | 8763int 8764main () 8765{ 8766return f != $ac_func; 8767 ; 8768 return 0; 8769} 8770_ACEOF 8771rm -f conftest.$ac_objext conftest$ac_exeext 8772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8773 (eval $ac_link) 2>conftest.er1 8774 ac_status=$? 8775 grep -v '^ *+' conftest.er1 >conftest.err 8776 rm -f conftest.er1 8777 cat conftest.err >&5 8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8779 (exit $ac_status); } && 8780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8782 (eval $ac_try) 2>&5 8783 ac_status=$? 8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8785 (exit $ac_status); }; } && 8786 { ac_try='test -s conftest$ac_exeext' 8787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8788 (eval $ac_try) 2>&5 8789 ac_status=$? 8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8791 (exit $ac_status); }; }; then 8792 eval "$as_ac_var=yes" |
4912else | 8793else |
4913 echo "configure: failed program was:" >&5 4914 cat conftest.$ac_ext >&5 4915 rm -rf conftest* 4916 eval "ac_cv_func_$ac_func=no" | 8794 echo "$as_me: failed program was:" >&5 8795sed 's/^/| /' conftest.$ac_ext >&5 8796 8797eval "$as_ac_var=no" |
4917fi | 8798fi |
4918rm -f conftest* | 8799rm -f conftest.err conftest.$ac_objext \ 8800 conftest$ac_exeext conftest.$ac_ext |
4919fi | 8801fi |
8802echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 8803echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8804if test `eval echo '${'$as_ac_var'}'` = yes; then 8805 cat >>confdefs.h <<_ACEOF 8806#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8807_ACEOF |
|
4920 | 8808 |
4921if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 4922 echo "$ac_t""yes" 1>&6 4923 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 4924 cat >> confdefs.h <<EOF 4925#define $ac_tr_func 1 4926EOF 4927 4928else 4929 echo "$ac_t""no" 1>&6 | |
4930fi 4931done 4932 4933 # Extract the first word of "gmsgfmt", so it can be a program name with args. 4934set dummy gmsgfmt; ac_word=$2 | 8809fi 8810done 8811 8812 # Extract the first word of "gmsgfmt", so it can be a program name with args. 8813set dummy gmsgfmt; ac_word=$2 |
4935echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4936echo "configure:4937: checking for $ac_word" >&5 4937if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 4938 echo $ac_n "(cached) $ac_c" 1>&6 | 8814echo "$as_me:$LINENO: checking for $ac_word" >&5 8815echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8816if test "${ac_cv_path_GMSGFMT+set}" = set; then 8817 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4939else | 8818else |
4940 case "$GMSGFMT" in 4941 /*) | 8819 case $GMSGFMT in 8820 [\\/]* | ?:[\\/]*) |
4942 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4943 ;; | 8821 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 8822 ;; |
4944 ?:/*) 4945 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. 4946 ;; | |
4947 *) | 8823 *) |
4948 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 4949 ac_dummy="$PATH" 4950 for ac_dir in $ac_dummy; do 4951 test -z "$ac_dir" && ac_dir=. 4952 if test -f $ac_dir/$ac_word; then 4953 ac_cv_path_GMSGFMT="$ac_dir/$ac_word" 4954 break 4955 fi 4956 done 4957 IFS="$ac_save_ifs" | 8824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8825for as_dir in $PATH 8826do 8827 IFS=$as_save_IFS 8828 test -z "$as_dir" && as_dir=. 8829 for ac_exec_ext in '' $ac_executable_extensions; do 8830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8831 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 8832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8833 break 2 8834 fi 8835done 8836done 8837 |
4958 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4959 ;; 4960esac 4961fi | 8838 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 8839 ;; 8840esac 8841fi |
4962GMSGFMT="$ac_cv_path_GMSGFMT" | 8842GMSGFMT=$ac_cv_path_GMSGFMT 8843 |
4963if test -n "$GMSGFMT"; then | 8844if test -n "$GMSGFMT"; then |
4964 echo "$ac_t""$GMSGFMT" 1>&6 | 8845 echo "$as_me:$LINENO: result: $GMSGFMT" >&5 8846echo "${ECHO_T}$GMSGFMT" >&6 |
4965else | 8847else |
4966 echo "$ac_t""no" 1>&6 | 8848 echo "$as_me:$LINENO: result: no" >&5 8849echo "${ECHO_T}no" >&6 |
4967fi 4968 4969 # Extract the first word of "xgettext", so it can be a program name with args. 4970set dummy xgettext; ac_word=$2 | 8850fi 8851 8852 # Extract the first word of "xgettext", so it can be a program name with args. 8853set dummy xgettext; ac_word=$2 |
4971echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 4972echo "configure:4973: checking for $ac_word" >&5 4973if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 4974 echo $ac_n "(cached) $ac_c" 1>&6 | 8854echo "$as_me:$LINENO: checking for $ac_word" >&5 8855echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8856if test "${ac_cv_path_XGETTEXT+set}" = set; then 8857 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4975else 4976 case "$XGETTEXT" in 4977 /*) 4978 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4979 ;; 4980 *) 4981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 4982 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 4990 done 4991 IFS="$ac_save_ifs" 4992 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 4993 ;; 4994esac 4995fi 4996XGETTEXT="$ac_cv_path_XGETTEXT" 4997if test -n "$XGETTEXT"; then | 8858else 8859 case "$XGETTEXT" in 8860 /*) 8861 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 8862 ;; 8863 *) 8864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8865 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 8873 done 8874 IFS="$ac_save_ifs" 8875 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 8876 ;; 8877esac 8878fi 8879XGETTEXT="$ac_cv_path_XGETTEXT" 8880if test -n "$XGETTEXT"; then |
4998 echo "$ac_t""$XGETTEXT" 1>&6 | 8881 echo "$as_me:$LINENO: result: $XGETTEXT" >&5 8882echo "${ECHO_T}$XGETTEXT" >&6 |
4999else | 8883else |
5000 echo "$ac_t""no" 1>&6 | 8884 echo "$as_me:$LINENO: result: no" >&5 8885echo "${ECHO_T}no" >&6 |
5001fi 5002 | 8886fi 8887 |
5003 cat > conftest.$ac_ext <<EOF 5004#line 5005 "configure" 5005#include "confdefs.h" | 8888 cat >conftest.$ac_ext <<_ACEOF 8889/* confdefs.h. */ 8890_ACEOF 8891cat confdefs.h >>conftest.$ac_ext 8892cat >>conftest.$ac_ext <<_ACEOF 8893/* end confdefs.h. */ |
5006 | 8894 |
5007int main() { | 8895int 8896main () 8897{ |
5008extern int _nl_msg_cat_cntr; 5009 return _nl_msg_cat_cntr | 8898extern int _nl_msg_cat_cntr; 8899 return _nl_msg_cat_cntr |
5010; return 0; } 5011EOF 5012if { (eval echo configure:5013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5013 rm -rf conftest* | 8900 ; 8901 return 0; 8902} 8903_ACEOF 8904rm -f conftest.$ac_objext conftest$ac_exeext 8905if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 8906 (eval $ac_link) 2>conftest.er1 8907 ac_status=$? 8908 grep -v '^ *+' conftest.er1 >conftest.err 8909 rm -f conftest.er1 8910 cat conftest.err >&5 8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8912 (exit $ac_status); } && 8913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 8914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8915 (eval $ac_try) 2>&5 8916 ac_status=$? 8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8918 (exit $ac_status); }; } && 8919 { ac_try='test -s conftest$ac_exeext' 8920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8921 (eval $ac_try) 2>&5 8922 ac_status=$? 8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8924 (exit $ac_status); }; }; then |
5014 CATOBJEXT=.gmo 5015 DATADIRNAME=share 5016else | 8925 CATOBJEXT=.gmo 8926 DATADIRNAME=share 8927else |
5017 echo "configure: failed program was:" >&5 5018 cat conftest.$ac_ext >&5 5019 rm -rf conftest* 5020 CATOBJEXT=.mo | 8928 echo "$as_me: failed program was:" >&5 8929sed 's/^/| /' conftest.$ac_ext >&5 8930 8931CATOBJEXT=.mo |
5021 DATADIRNAME=lib 5022fi | 8932 DATADIRNAME=lib 8933fi |
5023rm -f conftest* | 8934rm -f conftest.err conftest.$ac_objext \ 8935 conftest$ac_exeext conftest.$ac_ext |
5024 INSTOBJEXT=.mo 5025 fi 5026 fi | 8936 INSTOBJEXT=.mo 8937 fi 8938 fi |
5027 5028else 5029 echo "$ac_t""no" 1>&6 | 8939 |
5030fi 5031 5032 | 8940fi 8941 8942 |
5033 | 8943 8944 |
5034 if test "$CATOBJEXT" = "NONE"; then 5035 nls_cv_use_gnu_gettext=yes 5036 fi 5037 fi 5038 5039 if test "$nls_cv_use_gnu_gettext" = "yes"; then 5040 INTLOBJS="\$(GETTOBJS)" 5041 # Extract the first word of "msgfmt", so it can be a program name with args. 5042set dummy msgfmt; ac_word=$2 | 8945 if test "$CATOBJEXT" = "NONE"; then 8946 nls_cv_use_gnu_gettext=yes 8947 fi 8948 fi 8949 8950 if test "$nls_cv_use_gnu_gettext" = "yes"; then 8951 INTLOBJS="\$(GETTOBJS)" 8952 # Extract the first word of "msgfmt", so it can be a program name with args. 8953set dummy msgfmt; ac_word=$2 |
5043echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5044echo "configure:5045: checking for $ac_word" >&5 5045if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 5046 echo $ac_n "(cached) $ac_c" 1>&6 | 8954echo "$as_me:$LINENO: checking for $ac_word" >&5 8955echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8956if test "${ac_cv_path_MSGFMT+set}" = set; then 8957 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5047else 5048 case "$MSGFMT" in 5049 /*) 5050 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5051 ;; 5052 *) 5053 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5054 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 5062 done 5063 IFS="$ac_save_ifs" 5064 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" 5065 ;; 5066esac 5067fi 5068MSGFMT="$ac_cv_path_MSGFMT" 5069if test -n "$MSGFMT"; then | 8958else 8959 case "$MSGFMT" in 8960 /*) 8961 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 8962 ;; 8963 *) 8964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 8965 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 8973 done 8974 IFS="$ac_save_ifs" 8975 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt" 8976 ;; 8977esac 8978fi 8979MSGFMT="$ac_cv_path_MSGFMT" 8980if test -n "$MSGFMT"; then |
5070 echo "$ac_t""$MSGFMT" 1>&6 | 8981 echo "$as_me:$LINENO: result: $MSGFMT" >&5 8982echo "${ECHO_T}$MSGFMT" >&6 |
5071else | 8983else |
5072 echo "$ac_t""no" 1>&6 | 8984 echo "$as_me:$LINENO: result: no" >&5 8985echo "${ECHO_T}no" >&6 |
5073fi 5074 5075 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5076set dummy gmsgfmt; ac_word=$2 | 8986fi 8987 8988 # Extract the first word of "gmsgfmt", so it can be a program name with args. 8989set dummy gmsgfmt; ac_word=$2 |
5077echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5078echo "configure:5079: checking for $ac_word" >&5 5079if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 5080 echo $ac_n "(cached) $ac_c" 1>&6 | 8990echo "$as_me:$LINENO: checking for $ac_word" >&5 8991echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8992if test "${ac_cv_path_GMSGFMT+set}" = set; then 8993 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5081else | 8994else |
5082 case "$GMSGFMT" in 5083 /*) | 8995 case $GMSGFMT in 8996 [\\/]* | ?:[\\/]*) |
5084 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5085 ;; | 8997 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 8998 ;; |
5086 ?:/*) 5087 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. 5088 ;; | |
5089 *) | 8999 *) |
5090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 5091 ac_dummy="$PATH" 5092 for ac_dir in $ac_dummy; do 5093 test -z "$ac_dir" && ac_dir=. 5094 if test -f $ac_dir/$ac_word; then 5095 ac_cv_path_GMSGFMT="$ac_dir/$ac_word" 5096 break 5097 fi 5098 done 5099 IFS="$ac_save_ifs" | 9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9001for as_dir in $PATH 9002do 9003 IFS=$as_save_IFS 9004 test -z "$as_dir" && as_dir=. 9005 for ac_exec_ext in '' $ac_executable_extensions; do 9006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9007 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 9008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 9009 break 2 9010 fi 9011done 9012done 9013 |
5100 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5101 ;; 5102esac 5103fi | 9014 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 9015 ;; 9016esac 9017fi |
5104GMSGFMT="$ac_cv_path_GMSGFMT" | 9018GMSGFMT=$ac_cv_path_GMSGFMT 9019 |
5105if test -n "$GMSGFMT"; then | 9020if test -n "$GMSGFMT"; then |
5106 echo "$ac_t""$GMSGFMT" 1>&6 | 9021 echo "$as_me:$LINENO: result: $GMSGFMT" >&5 9022echo "${ECHO_T}$GMSGFMT" >&6 |
5107else | 9023else |
5108 echo "$ac_t""no" 1>&6 | 9024 echo "$as_me:$LINENO: result: no" >&5 9025echo "${ECHO_T}no" >&6 |
5109fi 5110 5111 # Extract the first word of "xgettext", so it can be a program name with args. 5112set dummy xgettext; ac_word=$2 | 9026fi 9027 9028 # Extract the first word of "xgettext", so it can be a program name with args. 9029set dummy xgettext; ac_word=$2 |
5113echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 5114echo "configure:5115: checking for $ac_word" >&5 5115if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 5116 echo $ac_n "(cached) $ac_c" 1>&6 | 9030echo "$as_me:$LINENO: checking for $ac_word" >&5 9031echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 9032if test "${ac_cv_path_XGETTEXT+set}" = set; then 9033 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5117else 5118 case "$XGETTEXT" in 5119 /*) 5120 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5121 ;; 5122 *) 5123 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5124 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 5132 done 5133 IFS="$ac_save_ifs" 5134 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5135 ;; 5136esac 5137fi 5138XGETTEXT="$ac_cv_path_XGETTEXT" 5139if test -n "$XGETTEXT"; then | 9034else 9035 case "$XGETTEXT" in 9036 /*) 9037 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 9038 ;; 9039 *) 9040 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 9041 for ac_dir in $PATH; do --- 7 unchanged lines hidden (view full) --- 9049 done 9050 IFS="$ac_save_ifs" 9051 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 9052 ;; 9053esac 9054fi 9055XGETTEXT="$ac_cv_path_XGETTEXT" 9056if test -n "$XGETTEXT"; then |
5140 echo "$ac_t""$XGETTEXT" 1>&6 | 9057 echo "$as_me:$LINENO: result: $XGETTEXT" >&5 9058echo "${ECHO_T}$XGETTEXT" >&6 |
5141else | 9059else |
5142 echo "$ac_t""no" 1>&6 | 9060 echo "$as_me:$LINENO: result: no" >&5 9061echo "${ECHO_T}no" >&6 |
5143fi 5144 | 9062fi 9063 |
5145 | 9064 |
5146 USE_INCLUDED_LIBINTL=yes 5147 CATOBJEXT=.gmo 5148 INSTOBJEXT=.mo 5149 DATADIRNAME=share 5150 INTLDEPS='$(top_builddir)/../intl/libintl.a' 5151 INTLLIBS=$INTLDEPS 5152 LIBS=`echo $LIBS | sed -e 's/-lintl//'` 5153 nls_cv_header_intl=libintl.h 5154 nls_cv_header_libgt=libgettext.h 5155 fi 5156 5157 if test "$XGETTEXT" != ":"; then 5158 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 5159 : ; 5160 else | 9065 USE_INCLUDED_LIBINTL=yes 9066 CATOBJEXT=.gmo 9067 INSTOBJEXT=.mo 9068 DATADIRNAME=share 9069 INTLDEPS='$(top_builddir)/../intl/libintl.a' 9070 INTLLIBS=$INTLDEPS 9071 LIBS=`echo $LIBS | sed -e 's/-lintl//'` 9072 nls_cv_header_intl=libintl.h 9073 nls_cv_header_libgt=libgettext.h 9074 fi 9075 9076 if test "$XGETTEXT" != ":"; then 9077 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 9078 : ; 9079 else |
5161 echo "$ac_t""found xgettext programs is not GNU xgettext; ignore it" 1>&6 | 9080 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5 9081echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6 |
5162 XGETTEXT=":" 5163 fi 5164 fi 5165 5166 # We need to process the po/ directory. 5167 POSUB=po 5168 else 5169 DATADIRNAME=share --- 8 unchanged lines hidden (view full) --- 5178 USE_INCLUDED_LIBINTL=yes 5179 fi 5180 5181 for lang in $ALL_LINGUAS; do 5182 GMOFILES="$GMOFILES $lang.gmo" 5183 POFILES="$POFILES $lang.po" 5184 done 5185 | 9082 XGETTEXT=":" 9083 fi 9084 fi 9085 9086 # We need to process the po/ directory. 9087 POSUB=po 9088 else 9089 DATADIRNAME=share --- 8 unchanged lines hidden (view full) --- 9098 USE_INCLUDED_LIBINTL=yes 9099 fi 9100 9101 for lang in $ALL_LINGUAS; do 9102 GMOFILES="$GMOFILES $lang.gmo" 9103 POFILES="$POFILES $lang.po" 9104 done 9105 |
5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 | |
5198 | 9106 |
9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 |
|
5199 if test "x$CATOBJEXT" != "x"; then 5200 if test "x$ALL_LINGUAS" = "x"; then 5201 LINGUAS= 5202 else | 9119 if test "x$CATOBJEXT" != "x"; then 9120 if test "x$ALL_LINGUAS" = "x"; then 9121 LINGUAS= 9122 else |
5203 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 5204echo "configure:5205: checking for catalogs to be installed" >&5 | 9123 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 9124echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 |
5205 NEW_LINGUAS= 5206 for lang in ${LINGUAS=$ALL_LINGUAS}; do 5207 case "$ALL_LINGUAS" in 5208 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; 5209 esac 5210 done 5211 LINGUAS=$NEW_LINGUAS | 9125 NEW_LINGUAS= 9126 for lang in ${LINGUAS=$ALL_LINGUAS}; do 9127 case "$ALL_LINGUAS" in 9128 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; 9129 esac 9130 done 9131 LINGUAS=$NEW_LINGUAS |
5212 echo "$ac_t""$LINGUAS" 1>&6 | 9132 echo "$as_me:$LINENO: result: $LINGUAS" >&5 9133echo "${ECHO_T}$LINGUAS" >&6 |
5213 fi 5214 5215 if test -n "$LINGUAS"; then 5216 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 5217 fi 5218 fi 5219 5220 if test $ac_cv_header_locale_h = yes; then 5221 INCLUDE_LOCALE_H="#include <locale.h>" 5222 else 5223 INCLUDE_LOCALE_H="\ 5224/* The system does not provide the header <locale.h>. Take care yourself. */" 5225 fi | 9134 fi 9135 9136 if test -n "$LINGUAS"; then 9137 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 9138 fi 9139 fi 9140 9141 if test $ac_cv_header_locale_h = yes; then 9142 INCLUDE_LOCALE_H="#include <locale.h>" 9143 else 9144 INCLUDE_LOCALE_H="\ 9145/* The system does not provide the header <locale.h>. Take care yourself. */" 9146 fi |
5226 | |
5227 | 9147 |
9148 |
|
5228 if test -f $srcdir/po2tbl.sed.in; then 5229 if test "$CATOBJEXT" = ".cat"; then | 9149 if test -f $srcdir/po2tbl.sed.in; then 9150 if test "$CATOBJEXT" = ".cat"; then |
5230 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 5231echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 5232echo "configure:5233: checking for linux/version.h" >&5 5233if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5234 echo $ac_n "(cached) $ac_c" 1>&6 | 9151 if test "${ac_cv_header_linux_version_h+set}" = set; then 9152 echo "$as_me:$LINENO: checking for linux/version.h" >&5 9153echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 9154if test "${ac_cv_header_linux_version_h+set}" = set; then 9155 echo $ECHO_N "(cached) $ECHO_C" >&6 9156fi 9157echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 9158echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 |
5235else | 9159else |
5236 cat > conftest.$ac_ext <<EOF 5237#line 5238 "configure" 5238#include "confdefs.h" | 9160 # Is the header compilable? 9161echo "$as_me:$LINENO: checking linux/version.h usability" >&5 9162echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6 9163cat >conftest.$ac_ext <<_ACEOF 9164/* confdefs.h. */ 9165_ACEOF 9166cat confdefs.h >>conftest.$ac_ext 9167cat >>conftest.$ac_ext <<_ACEOF 9168/* end confdefs.h. */ 9169$ac_includes_default |
5239#include <linux/version.h> | 9170#include <linux/version.h> |
5240EOF 5241ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5242{ (eval echo configure:5243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5243ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5244if test -z "$ac_err"; then 5245 rm -rf conftest* 5246 eval "ac_cv_header_$ac_safe=yes" | 9171_ACEOF 9172rm -f conftest.$ac_objext 9173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9174 (eval $ac_compile) 2>conftest.er1 9175 ac_status=$? 9176 grep -v '^ *+' conftest.er1 >conftest.err 9177 rm -f conftest.er1 9178 cat conftest.err >&5 9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9180 (exit $ac_status); } && 9181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9183 (eval $ac_try) 2>&5 9184 ac_status=$? 9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9186 (exit $ac_status); }; } && 9187 { ac_try='test -s conftest.$ac_objext' 9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9189 (eval $ac_try) 2>&5 9190 ac_status=$? 9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9192 (exit $ac_status); }; }; then 9193 ac_header_compiler=yes |
5247else | 9194else |
5248 echo "$ac_err" >&5 5249 echo "configure: failed program was:" >&5 5250 cat conftest.$ac_ext >&5 5251 rm -rf conftest* 5252 eval "ac_cv_header_$ac_safe=no" | 9195 echo "$as_me: failed program was:" >&5 9196sed 's/^/| /' conftest.$ac_ext >&5 9197 9198ac_header_compiler=no |
5253fi | 9199fi |
5254rm -f conftest* | 9200rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9201echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9202echo "${ECHO_T}$ac_header_compiler" >&6 9203 9204# Is the header present? 9205echo "$as_me:$LINENO: checking linux/version.h presence" >&5 9206echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6 9207cat >conftest.$ac_ext <<_ACEOF 9208/* confdefs.h. */ 9209_ACEOF 9210cat confdefs.h >>conftest.$ac_ext 9211cat >>conftest.$ac_ext <<_ACEOF 9212/* end confdefs.h. */ 9213#include <linux/version.h> 9214_ACEOF 9215if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9217 ac_status=$? 9218 grep -v '^ *+' conftest.er1 >conftest.err 9219 rm -f conftest.er1 9220 cat conftest.err >&5 9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9222 (exit $ac_status); } >/dev/null; then 9223 if test -s conftest.err; then 9224 ac_cpp_err=$ac_c_preproc_warn_flag 9225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9226 else 9227 ac_cpp_err= 9228 fi 9229else 9230 ac_cpp_err=yes |
5255fi | 9231fi |
5256if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5257 echo "$ac_t""yes" 1>&6 | 9232if test -z "$ac_cpp_err"; then 9233 ac_header_preproc=yes 9234else 9235 echo "$as_me: failed program was:" >&5 9236sed 's/^/| /' conftest.$ac_ext >&5 9237 9238 ac_header_preproc=no 9239fi 9240rm -f conftest.err conftest.$ac_ext 9241echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9242echo "${ECHO_T}$ac_header_preproc" >&6 9243 9244# So? What about this header? 9245case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9246 yes:no: ) 9247 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 9248echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9249 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5 9250echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;} 9251 ac_header_preproc=yes 9252 ;; 9253 no:yes:* ) 9254 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5 9255echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;} 9256 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5 9257echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;} 9258 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5 9259echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;} 9260 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5 9261echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 9262 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5 9263echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;} 9264 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5 9265echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;} 9266 ( 9267 cat <<\_ASBOX 9268## ------------------------------------------ ## 9269## Report this to the AC_PACKAGE_NAME lists. ## 9270## ------------------------------------------ ## 9271_ASBOX 9272 ) | 9273 sed "s/^/$as_me: WARNING: /" >&2 9274 ;; 9275esac 9276echo "$as_me:$LINENO: checking for linux/version.h" >&5 9277echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6 9278if test "${ac_cv_header_linux_version_h+set}" = set; then 9279 echo $ECHO_N "(cached) $ECHO_C" >&6 9280else 9281 ac_cv_header_linux_version_h=$ac_header_preproc 9282fi 9283echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5 9284echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6 9285 9286fi 9287if test $ac_cv_header_linux_version_h = yes; then |
5258 msgformat=linux 5259else | 9288 msgformat=linux 9289else |
5260 echo "$ac_t""no" 1>&6 5261msgformat=xopen | 9290 msgformat=xopen |
5262fi 5263 5264 | 9291fi 9292 9293 |
9294 |
|
5265 sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed 5266 fi 5267 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ 5268 $srcdir/po2tbl.sed.in > po2tbl.sed 5269 fi 5270 5271 if test "$PACKAGE" = "gettext"; then 5272 GT_NO="#NO#" 5273 GT_YES= 5274 else 5275 GT_NO= 5276 GT_YES="#YES#" 5277 fi | 9295 sed -e '/^#/d' $srcdir/$msgformat-msg.sed > po2msg.sed 9296 fi 9297 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \ 9298 $srcdir/po2tbl.sed.in > po2tbl.sed 9299 fi 9300 9301 if test "$PACKAGE" = "gettext"; then 9302 GT_NO="#NO#" 9303 GT_YES= 9304 else 9305 GT_NO= 9306 GT_YES="#YES#" 9307 fi |
5278 5279 | |
5280 | 9308 |
9309 9310 |
|
5281 MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs" | 9311 MKINSTALLDIRS="\$(srcdir)/../../mkinstalldirs" |
5282 | |
5283 | 9312 |
9313 |
|
5284 l= | 9314 l= |
5285 | |
5286 | 9315 |
9316 |
|
5287 if test -f $srcdir/po/POTFILES.in; then 5288 test -d po || mkdir po 5289 if test "x$srcdir" != "x."; then 5290 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 5291 posrcprefix="$srcdir/" 5292 else 5293 posrcprefix="../$srcdir/" 5294 fi 5295 else 5296 posrcprefix="../" 5297 fi 5298 rm -f po/POTFILES 5299 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 5300 < $srcdir/po/POTFILES.in > po/POTFILES 5301 fi | 9317 if test -f $srcdir/po/POTFILES.in; then 9318 test -d po || mkdir po 9319 if test "x$srcdir" != "x."; then 9320 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 9321 posrcprefix="$srcdir/" 9322 else 9323 posrcprefix="../$srcdir/" 9324 fi 9325 else 9326 posrcprefix="../" 9327 fi 9328 rm -f po/POTFILES 9329 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 9330 < $srcdir/po/POTFILES.in > po/POTFILES 9331 fi |
5302 | |
5303 | 9332 |
5304echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 5305echo "configure:5306: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 9333 9334echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 9335echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 |
5306 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 5307if test "${enable_maintainer_mode+set}" = set; then 5308 enableval="$enable_maintainer_mode" 5309 USE_MAINTAINER_MODE=$enableval 5310else 5311 USE_MAINTAINER_MODE=no | 9336 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 9337if test "${enable_maintainer_mode+set}" = set; then 9338 enableval="$enable_maintainer_mode" 9339 USE_MAINTAINER_MODE=$enableval 9340else 9341 USE_MAINTAINER_MODE=no |
5312fi | 9342fi; 9343 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 9344echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 |
5313 | 9345 |
5314 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 5315 | |
5316 5317if test $USE_MAINTAINER_MODE = yes; then 5318 MAINTAINER_MODE_TRUE= 5319 MAINTAINER_MODE_FALSE='#' 5320else 5321 MAINTAINER_MODE_TRUE='#' 5322 MAINTAINER_MODE_FALSE= 5323fi | 9346 9347if test $USE_MAINTAINER_MODE = yes; then 9348 MAINTAINER_MODE_TRUE= 9349 MAINTAINER_MODE_FALSE='#' 9350else 9351 MAINTAINER_MODE_TRUE='#' 9352 MAINTAINER_MODE_FALSE= 9353fi |
9354 |
|
5324 MAINT=$MAINTAINER_MODE_TRUE | 9355 MAINT=$MAINTAINER_MODE_TRUE |
5325 | |
5326 5327 5328 | 9356 9357 9358 |
5329echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 5330echo "configure:5331: checking for executable suffix" >&5 5331if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 5332 echo $ac_n "(cached) $ac_c" 1>&6 | 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369for ac_header in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h 9370do 9371as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9372if eval "test \"\${$as_ac_Header+set}\" = set"; then 9373 echo "$as_me:$LINENO: checking for $ac_header" >&5 9374echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9375if eval "test \"\${$as_ac_Header+set}\" = set"; then 9376 echo $ECHO_N "(cached) $ECHO_C" >&6 9377fi 9378echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9379echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5333else | 9380else |
5334 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 5335 ac_cv_exeext=.exe | 9381 # Is the header compilable? 9382echo "$as_me:$LINENO: checking $ac_header usability" >&5 9383echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 9384cat >conftest.$ac_ext <<_ACEOF 9385/* confdefs.h. */ 9386_ACEOF 9387cat confdefs.h >>conftest.$ac_ext 9388cat >>conftest.$ac_ext <<_ACEOF 9389/* end confdefs.h. */ 9390$ac_includes_default 9391#include <$ac_header> 9392_ACEOF 9393rm -f conftest.$ac_objext 9394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9395 (eval $ac_compile) 2>conftest.er1 9396 ac_status=$? 9397 grep -v '^ *+' conftest.er1 >conftest.err 9398 rm -f conftest.er1 9399 cat conftest.err >&5 9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9401 (exit $ac_status); } && 9402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9404 (eval $ac_try) 2>&5 9405 ac_status=$? 9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9407 (exit $ac_status); }; } && 9408 { ac_try='test -s conftest.$ac_objext' 9409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9410 (eval $ac_try) 2>&5 9411 ac_status=$? 9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9413 (exit $ac_status); }; }; then 9414 ac_header_compiler=yes |
5336else | 9415else |
5337 rm -f conftest* 5338 echo 'int main () { return 0; }' > conftest.$ac_ext 5339 ac_cv_exeext= 5340 if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 5341 for file in conftest.*; do 5342 case $file in 5343 *.$ac_ext | *.c | *.o | *.obj) ;; 5344 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 5345 esac 5346 done | 9416 echo "$as_me: failed program was:" >&5 9417sed 's/^/| /' conftest.$ac_ext >&5 9418 9419ac_header_compiler=no 9420fi 9421rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9422echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9423echo "${ECHO_T}$ac_header_compiler" >&6 9424 9425# Is the header present? 9426echo "$as_me:$LINENO: checking $ac_header presence" >&5 9427echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 9428cat >conftest.$ac_ext <<_ACEOF 9429/* confdefs.h. */ 9430_ACEOF 9431cat confdefs.h >>conftest.$ac_ext 9432cat >>conftest.$ac_ext <<_ACEOF 9433/* end confdefs.h. */ 9434#include <$ac_header> 9435_ACEOF 9436if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9438 ac_status=$? 9439 grep -v '^ *+' conftest.er1 >conftest.err 9440 rm -f conftest.er1 9441 cat conftest.err >&5 9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9443 (exit $ac_status); } >/dev/null; then 9444 if test -s conftest.err; then 9445 ac_cpp_err=$ac_c_preproc_warn_flag 9446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
5347 else | 9447 else |
5348 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } | 9448 ac_cpp_err= |
5349 fi | 9449 fi |
5350 rm -f conftest* 5351 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no | 9450else 9451 ac_cpp_err=yes |
5352fi | 9452fi |
9453if test -z "$ac_cpp_err"; then 9454 ac_header_preproc=yes 9455else 9456 echo "$as_me: failed program was:" >&5 9457sed 's/^/| /' conftest.$ac_ext >&5 9458 9459 ac_header_preproc=no |
|
5353fi | 9460fi |
9461rm -f conftest.err conftest.$ac_ext 9462echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9463echo "${ECHO_T}$ac_header_preproc" >&6 |
|
5354 | 9464 |
5355EXEEXT="" 5356test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 5357echo "$ac_t""${ac_cv_exeext}" 1>&6 5358ac_exeext=$EXEEXT 5359 5360 5361for ac_hdr in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h errno.h sys/types.h 5362do 5363ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5364echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5365echo "configure:5366: checking for $ac_hdr" >&5 5366if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5367 echo $ac_n "(cached) $ac_c" 1>&6 | 9465# So? What about this header? 9466case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9467 yes:no: ) 9468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9469echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9471echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9472 ac_header_preproc=yes 9473 ;; 9474 no:yes:* ) 9475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9476echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9478echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9480echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9482echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9484echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9486echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9487 ( 9488 cat <<\_ASBOX 9489## ------------------------------------------ ## 9490## Report this to the AC_PACKAGE_NAME lists. ## 9491## ------------------------------------------ ## 9492_ASBOX 9493 ) | 9494 sed "s/^/$as_me: WARNING: /" >&2 9495 ;; 9496esac 9497echo "$as_me:$LINENO: checking for $ac_header" >&5 9498echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9499if eval "test \"\${$as_ac_Header+set}\" = set"; then 9500 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5368else | 9501else |
5369 cat > conftest.$ac_ext <<EOF 5370#line 5371 "configure" 5371#include "confdefs.h" 5372#include <$ac_hdr> 5373EOF 5374ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5375{ (eval echo configure:5376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5376ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5377if test -z "$ac_err"; then 5378 rm -rf conftest* 5379 eval "ac_cv_header_$ac_safe=yes" 5380else 5381 echo "$ac_err" >&5 5382 echo "configure: failed program was:" >&5 5383 cat conftest.$ac_ext >&5 5384 rm -rf conftest* 5385 eval "ac_cv_header_$ac_safe=no" | 9502 eval "$as_ac_Header=\$ac_header_preproc" |
5386fi | 9503fi |
5387rm -f conftest* | 9504echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 9505echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9506 |
5388fi | 9507fi |
5389if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 5390 echo "$ac_t""yes" 1>&6 5391 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 5392 cat >> confdefs.h <<EOF 5393#define $ac_tr_hdr 1 5394EOF 5395 5396else 5397 echo "$ac_t""no" 1>&6 | 9508if test `eval echo '${'$as_ac_Header'}'` = yes; then 9509 cat >>confdefs.h <<_ACEOF 9510#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9511_ACEOF 9512 |
5398fi | 9513fi |
9514 |
|
5399done 5400 5401 5402# Put this here so that autoconf's "cross-compiling" message doesn't confuse 5403# people who are not cross-compiling but are compiling cross-assemblers. | 9515done 9516 9517 9518# Put this here so that autoconf's "cross-compiling" message doesn't confuse 9519# people who are not cross-compiling but are compiling cross-assemblers. |
5404echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6 5405echo "configure:5406: checking whether compiling a cross-assembler" >&5 | 9520echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5 9521echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6 |
5406if test "${host}" = "${target}"; then 5407 cross_gas=no 5408else 5409 cross_gas=yes | 9522if test "${host}" = "${target}"; then 9523 cross_gas=no 9524else 9525 cross_gas=yes |
5410 cat >> confdefs.h <<\EOF | 9526 9527cat >>confdefs.h <<\_ACEOF |
5411#define CROSS_COMPILE 1 | 9528#define CROSS_COMPILE 1 |
5412EOF | 9529_ACEOF |
5413 5414fi | 9530 9531fi |
5415echo "$ac_t""$cross_gas" 1>&6 | 9532echo "$as_me:$LINENO: result: $cross_gas" >&5 9533echo "${ECHO_T}$cross_gas" >&6 |
5416 5417# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5418# for constant arguments. Useless! | 9534 9535# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 9536# for constant arguments. Useless! |
5419echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 5420echo "configure:5421: checking for working alloca.h" >&5 5421if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 5422 echo $ac_n "(cached) $ac_c" 1>&6 | 9537echo "$as_me:$LINENO: checking for working alloca.h" >&5 9538echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 9539if test "${ac_cv_working_alloca_h+set}" = set; then 9540 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5423else | 9541else |
5424 cat > conftest.$ac_ext <<EOF 5425#line 5426 "configure" 5426#include "confdefs.h" | 9542 cat >conftest.$ac_ext <<_ACEOF 9543/* confdefs.h. */ 9544_ACEOF 9545cat confdefs.h >>conftest.$ac_ext 9546cat >>conftest.$ac_ext <<_ACEOF 9547/* end confdefs.h. */ |
5427#include <alloca.h> | 9548#include <alloca.h> |
5428int main() { 5429char *p = alloca(2 * sizeof(int)); 5430; return 0; } 5431EOF 5432if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5433 rm -rf conftest* 5434 ac_cv_header_alloca_h=yes | 9549int 9550main () 9551{ 9552char *p = (char *) alloca (2 * sizeof (int)); 9553 ; 9554 return 0; 9555} 9556_ACEOF 9557rm -f conftest.$ac_objext conftest$ac_exeext 9558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9559 (eval $ac_link) 2>conftest.er1 9560 ac_status=$? 9561 grep -v '^ *+' conftest.er1 >conftest.err 9562 rm -f conftest.er1 9563 cat conftest.err >&5 9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9565 (exit $ac_status); } && 9566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9568 (eval $ac_try) 2>&5 9569 ac_status=$? 9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9571 (exit $ac_status); }; } && 9572 { ac_try='test -s conftest$ac_exeext' 9573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9574 (eval $ac_try) 2>&5 9575 ac_status=$? 9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9577 (exit $ac_status); }; }; then 9578 ac_cv_working_alloca_h=yes |
5435else | 9579else |
5436 echo "configure: failed program was:" >&5 5437 cat conftest.$ac_ext >&5 5438 rm -rf conftest* 5439 ac_cv_header_alloca_h=no | 9580 echo "$as_me: failed program was:" >&5 9581sed 's/^/| /' conftest.$ac_ext >&5 9582 9583ac_cv_working_alloca_h=no |
5440fi | 9584fi |
5441rm -f conftest* | 9585rm -f conftest.err conftest.$ac_objext \ 9586 conftest$ac_exeext conftest.$ac_ext |
5442fi | 9587fi |
9588echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 9589echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 9590if test $ac_cv_working_alloca_h = yes; then |
|
5443 | 9591 |
5444echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 5445if test $ac_cv_header_alloca_h = yes; then 5446 cat >> confdefs.h <<\EOF | 9592cat >>confdefs.h <<\_ACEOF |
5447#define HAVE_ALLOCA_H 1 | 9593#define HAVE_ALLOCA_H 1 |
5448EOF | 9594_ACEOF |
5449 5450fi 5451 | 9595 9596fi 9597 |
5452echo $ac_n "checking for alloca""... $ac_c" 1>&6 5453echo "configure:5454: checking for alloca" >&5 5454if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 5455 echo $ac_n "(cached) $ac_c" 1>&6 | 9598echo "$as_me:$LINENO: checking for alloca" >&5 9599echo $ECHO_N "checking for alloca... $ECHO_C" >&6 9600if test "${ac_cv_func_alloca_works+set}" = set; then 9601 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5456else | 9602else |
5457 cat > conftest.$ac_ext <<EOF 5458#line 5459 "configure" 5459#include "confdefs.h" 5460 | 9603 cat >conftest.$ac_ext <<_ACEOF 9604/* confdefs.h. */ 9605_ACEOF 9606cat confdefs.h >>conftest.$ac_ext 9607cat >>conftest.$ac_ext <<_ACEOF 9608/* end confdefs.h. */ |
5461#ifdef __GNUC__ 5462# define alloca __builtin_alloca 5463#else 5464# ifdef _MSC_VER 5465# include <malloc.h> 5466# define alloca _alloca 5467# else 5468# if HAVE_ALLOCA_H --- 5 unchanged lines hidden (view full) --- 5474# ifndef alloca /* predefined by HP cc +Olibcalls */ 5475char *alloca (); 5476# endif 5477# endif 5478# endif 5479# endif 5480#endif 5481 | 9609#ifdef __GNUC__ 9610# define alloca __builtin_alloca 9611#else 9612# ifdef _MSC_VER 9613# include <malloc.h> 9614# define alloca _alloca 9615# else 9616# if HAVE_ALLOCA_H --- 5 unchanged lines hidden (view full) --- 9622# ifndef alloca /* predefined by HP cc +Olibcalls */ 9623char *alloca (); 9624# endif 9625# endif 9626# endif 9627# endif 9628#endif 9629 |
5482int main() { 5483char *p = (char *) alloca(1); 5484; return 0; } 5485EOF 5486if { (eval echo configure:5487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5487 rm -rf conftest* | 9630int 9631main () 9632{ 9633char *p = (char *) alloca (1); 9634 ; 9635 return 0; 9636} 9637_ACEOF 9638rm -f conftest.$ac_objext conftest$ac_exeext 9639if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9640 (eval $ac_link) 2>conftest.er1 9641 ac_status=$? 9642 grep -v '^ *+' conftest.er1 >conftest.err 9643 rm -f conftest.er1 9644 cat conftest.err >&5 9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9646 (exit $ac_status); } && 9647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9649 (eval $ac_try) 2>&5 9650 ac_status=$? 9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9652 (exit $ac_status); }; } && 9653 { ac_try='test -s conftest$ac_exeext' 9654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9655 (eval $ac_try) 2>&5 9656 ac_status=$? 9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9658 (exit $ac_status); }; }; then |
5488 ac_cv_func_alloca_works=yes 5489else | 9659 ac_cv_func_alloca_works=yes 9660else |
5490 echo "configure: failed program was:" >&5 5491 cat conftest.$ac_ext >&5 5492 rm -rf conftest* 5493 ac_cv_func_alloca_works=no | 9661 echo "$as_me: failed program was:" >&5 9662sed 's/^/| /' conftest.$ac_ext >&5 9663 9664ac_cv_func_alloca_works=no |
5494fi | 9665fi |
5495rm -f conftest* | 9666rm -f conftest.err conftest.$ac_objext \ 9667 conftest$ac_exeext conftest.$ac_ext |
5496fi | 9668fi |
9669echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 9670echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
|
5497 | 9671 |
5498echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 | |
5499if test $ac_cv_func_alloca_works = yes; then | 9672if test $ac_cv_func_alloca_works = yes; then |
5500 cat >> confdefs.h <<\EOF | 9673 9674cat >>confdefs.h <<\_ACEOF |
5501#define HAVE_ALLOCA 1 | 9675#define HAVE_ALLOCA 1 |
5502EOF | 9676_ACEOF |
5503 | 9677 |
5504fi 5505 5506if test $ac_cv_func_alloca_works = no; then | 9678else |
5507 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 9679 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
5508 # that cause trouble. Some versions do not even contain alloca or 5509 # contain a buggy version. If you still want to use their alloca, 5510 # use ar to extract alloca.o from them instead of compiling alloca.c. 5511 ALLOCA=alloca.${ac_objext} 5512 cat >> confdefs.h <<\EOF | 9680# that cause trouble. Some versions do not even contain alloca or 9681# contain a buggy version. If you still want to use their alloca, 9682# use ar to extract alloca.o from them instead of compiling alloca.c. 9683 9684ALLOCA=alloca.$ac_objext 9685 9686cat >>confdefs.h <<\_ACEOF |
5513#define C_ALLOCA 1 | 9687#define C_ALLOCA 1 |
5514EOF | 9688_ACEOF |
5515 5516 | 9689 9690 |
5517echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 5518echo "configure:5519: checking whether alloca needs Cray hooks" >&5 5519if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 5520 echo $ac_n "(cached) $ac_c" 1>&6 | 9691echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 9692echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 9693if test "${ac_cv_os_cray+set}" = set; then 9694 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5521else | 9695else |
5522 cat > conftest.$ac_ext <<EOF 5523#line 5524 "configure" 5524#include "confdefs.h" | 9696 cat >conftest.$ac_ext <<_ACEOF 9697/* confdefs.h. */ 9698_ACEOF 9699cat confdefs.h >>conftest.$ac_ext 9700cat >>conftest.$ac_ext <<_ACEOF 9701/* end confdefs.h. */ |
5525#if defined(CRAY) && ! defined(CRAY2) 5526webecray 5527#else 5528wenotbecray 5529#endif 5530 | 9702#if defined(CRAY) && ! defined(CRAY2) 9703webecray 9704#else 9705wenotbecray 9706#endif 9707 |
5531EOF | 9708_ACEOF |
5532if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9709if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5533 egrep "webecray" >/dev/null 2>&1; then 5534 rm -rf conftest* | 9710 $EGREP "webecray" >/dev/null 2>&1; then |
5535 ac_cv_os_cray=yes 5536else | 9711 ac_cv_os_cray=yes 9712else |
5537 rm -rf conftest* | |
5538 ac_cv_os_cray=no 5539fi 5540rm -f conftest* 5541 5542fi | 9713 ac_cv_os_cray=no 9714fi 9715rm -f conftest* 9716 9717fi |
5543 5544echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9718echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 9719echo "${ECHO_T}$ac_cv_os_cray" >&6 |
5545if test $ac_cv_os_cray = yes; then | 9720if test $ac_cv_os_cray = yes; then |
5546for ac_func in _getb67 GETB67 getb67; do 5547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5548echo "configure:5549: checking for $ac_func" >&5 5549if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5550 echo $ac_n "(cached) $ac_c" 1>&6 | 9721 for ac_func in _getb67 GETB67 getb67; do 9722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9723echo "$as_me:$LINENO: checking for $ac_func" >&5 9724echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9725if eval "test \"\${$as_ac_var+set}\" = set"; then 9726 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5551else | 9727else |
5552 cat > conftest.$ac_ext <<EOF 5553#line 5554 "configure" 5554#include "confdefs.h" | 9728 cat >conftest.$ac_ext <<_ACEOF 9729/* confdefs.h. */ 9730_ACEOF 9731cat confdefs.h >>conftest.$ac_ext 9732cat >>conftest.$ac_ext <<_ACEOF 9733/* end confdefs.h. */ 9734/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 9735 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9736#define $ac_func innocuous_$ac_func 9737 |
5555/* System header to define __stub macros and hopefully few prototypes, | 9738/* System header to define __stub macros and hopefully few prototypes, |
5556 which can conflict with char $ac_func(); below. */ 5557#include <assert.h> 5558/* Override any gcc2 internal prototype to avoid an error. */ 5559/* We use char because int might match the return type of a gcc2 5560 builtin and then its argument prototype would still apply. */ 5561char $ac_func(); | 9739 which can conflict with char $ac_func (); below. 9740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9741 <limits.h> exists even on freestanding compilers. */ |
5562 | 9742 |
5563int main() { | 9743#ifdef __STDC__ 9744# include <limits.h> 9745#else 9746# include <assert.h> 9747#endif |
5564 | 9748 |
9749#undef $ac_func 9750 9751/* Override any gcc2 internal prototype to avoid an error. */ 9752#ifdef __cplusplus 9753extern "C" 9754{ 9755#endif 9756/* We use char because int might match the return type of a gcc2 9757 builtin and then its argument prototype would still apply. */ 9758char $ac_func (); |
|
5565/* The GNU C library defines this for functions which it implements 5566 to always fail with ENOSYS. Some functions are actually named 5567 something starting with __ and the normal name is an alias. */ 5568#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5569choke me 5570#else | 9759/* The GNU C library defines this for functions which it implements 9760 to always fail with ENOSYS. Some functions are actually named 9761 something starting with __ and the normal name is an alias. */ 9762#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 9763choke me 9764#else |
5571$ac_func(); | 9765char (*f) () = $ac_func; |
5572#endif | 9766#endif |
9767#ifdef __cplusplus 9768} 9769#endif |
|
5573 | 9770 |
5574; return 0; } 5575EOF 5576if { (eval echo configure:5577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5577 rm -rf conftest* 5578 eval "ac_cv_func_$ac_func=yes" | 9771int 9772main () 9773{ 9774return f != $ac_func; 9775 ; 9776 return 0; 9777} 9778_ACEOF 9779rm -f conftest.$ac_objext conftest$ac_exeext 9780if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9781 (eval $ac_link) 2>conftest.er1 9782 ac_status=$? 9783 grep -v '^ *+' conftest.er1 >conftest.err 9784 rm -f conftest.er1 9785 cat conftest.err >&5 9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9787 (exit $ac_status); } && 9788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9790 (eval $ac_try) 2>&5 9791 ac_status=$? 9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9793 (exit $ac_status); }; } && 9794 { ac_try='test -s conftest$ac_exeext' 9795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9796 (eval $ac_try) 2>&5 9797 ac_status=$? 9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9799 (exit $ac_status); }; }; then 9800 eval "$as_ac_var=yes" |
5579else | 9801else |
5580 echo "configure: failed program was:" >&5 5581 cat conftest.$ac_ext >&5 5582 rm -rf conftest* 5583 eval "ac_cv_func_$ac_func=no" | 9802 echo "$as_me: failed program was:" >&5 9803sed 's/^/| /' conftest.$ac_ext >&5 9804 9805eval "$as_ac_var=no" |
5584fi | 9806fi |
5585rm -f conftest* | 9807rm -f conftest.err conftest.$ac_objext \ 9808 conftest$ac_exeext conftest.$ac_ext |
5586fi | 9809fi |
9810echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 9811echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9812if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
5587 | 9813 |
5588if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 5589 echo "$ac_t""yes" 1>&6 5590 cat >> confdefs.h <<EOF | 9814cat >>confdefs.h <<_ACEOF |
5591#define CRAY_STACKSEG_END $ac_func | 9815#define CRAY_STACKSEG_END $ac_func |
5592EOF | 9816_ACEOF |
5593 | 9817 |
5594 break 5595else 5596 echo "$ac_t""no" 1>&6 | 9818 break |
5597fi 5598 | 9819fi 9820 |
5599done | 9821 done |
5600fi 5601 | 9822fi 9823 |
5602echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 5603echo "configure:5604: checking stack direction for C alloca" >&5 5604if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 5605 echo $ac_n "(cached) $ac_c" 1>&6 | 9824echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 9825echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 9826if test "${ac_cv_c_stack_direction+set}" = set; then 9827 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5606else 5607 if test "$cross_compiling" = yes; then 5608 ac_cv_c_stack_direction=0 5609else | 9828else 9829 if test "$cross_compiling" = yes; then 9830 ac_cv_c_stack_direction=0 9831else |
5610 cat > conftest.$ac_ext <<EOF 5611#line 5612 "configure" 5612#include "confdefs.h" | 9832 cat >conftest.$ac_ext <<_ACEOF 9833/* confdefs.h. */ 9834_ACEOF 9835cat confdefs.h >>conftest.$ac_ext 9836cat >>conftest.$ac_ext <<_ACEOF 9837/* end confdefs.h. */ 9838int |
5613find_stack_direction () 5614{ 5615 static char *addr = 0; 5616 auto char dummy; 5617 if (addr == 0) 5618 { 5619 addr = &dummy; 5620 return find_stack_direction (); 5621 } 5622 else 5623 return (&dummy > addr) ? 1 : -1; 5624} | 9839find_stack_direction () 9840{ 9841 static char *addr = 0; 9842 auto char dummy; 9843 if (addr == 0) 9844 { 9845 addr = &dummy; 9846 return find_stack_direction (); 9847 } 9848 else 9849 return (&dummy > addr) ? 1 : -1; 9850} |
9851 9852int |
|
5625main () 5626{ | 9853main () 9854{ |
5627 exit (find_stack_direction() < 0); | 9855 exit (find_stack_direction () < 0); |
5628} | 9856} |
5629EOF 5630if { (eval echo configure:5631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 5631then | 9857_ACEOF 9858rm -f conftest$ac_exeext 9859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 9860 (eval $ac_link) 2>&5 9861 ac_status=$? 9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9865 (eval $ac_try) 2>&5 9866 ac_status=$? 9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9868 (exit $ac_status); }; }; then |
5632 ac_cv_c_stack_direction=1 5633else | 9869 ac_cv_c_stack_direction=1 9870else |
5634 echo "configure: failed program was:" >&5 5635 cat conftest.$ac_ext >&5 5636 rm -fr conftest* 5637 ac_cv_c_stack_direction=-1 | 9871 echo "$as_me: program exited with status $ac_status" >&5 9872echo "$as_me: failed program was:" >&5 9873sed 's/^/| /' conftest.$ac_ext >&5 9874 9875( exit $ac_status ) 9876ac_cv_c_stack_direction=-1 |
5638fi | 9877fi |
5639rm -fr conftest* | 9878rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5640fi | 9879fi |
5641 | |
5642fi | 9880fi |
9881echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 9882echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
|
5643 | 9883 |
5644echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 5645cat >> confdefs.h <<EOF | 9884cat >>confdefs.h <<_ACEOF |
5646#define STACK_DIRECTION $ac_cv_c_stack_direction | 9885#define STACK_DIRECTION $ac_cv_c_stack_direction |
5647EOF | 9886_ACEOF |
5648 | 9887 |
9888 |
|
5649fi 5650 | 9889fi 9890 |
5651echo $ac_n "checking for inline""... $ac_c" 1>&6 5652echo "configure:5653: checking for inline" >&5 5653if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 5654 echo $ac_n "(cached) $ac_c" 1>&6 | 9891echo "$as_me:$LINENO: checking for inline" >&5 9892echo $ECHO_N "checking for inline... $ECHO_C" >&6 9893if test "${ac_cv_c_inline+set}" = set; then 9894 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5655else 5656 ac_cv_c_inline=no 5657for ac_kw in inline __inline__ __inline; do | 9895else 9896 ac_cv_c_inline=no 9897for ac_kw in inline __inline__ __inline; do |
5658 cat > conftest.$ac_ext <<EOF 5659#line 5660 "configure" 5660#include "confdefs.h" | 9898 cat >conftest.$ac_ext <<_ACEOF 9899/* confdefs.h. */ 9900_ACEOF 9901cat confdefs.h >>conftest.$ac_ext 9902cat >>conftest.$ac_ext <<_ACEOF 9903/* end confdefs.h. */ 9904#ifndef __cplusplus 9905typedef int foo_t; 9906static $ac_kw foo_t static_foo () {return 0; } 9907$ac_kw foo_t foo () {return 0; } 9908#endif |
5661 | 9909 |
5662int main() { 5663} $ac_kw foo() { 5664; return 0; } 5665EOF 5666if { (eval echo configure:5667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 5667 rm -rf conftest* | 9910_ACEOF 9911rm -f conftest.$ac_objext 9912if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9913 (eval $ac_compile) 2>conftest.er1 9914 ac_status=$? 9915 grep -v '^ *+' conftest.er1 >conftest.err 9916 rm -f conftest.er1 9917 cat conftest.err >&5 9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9919 (exit $ac_status); } && 9920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 9921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9922 (eval $ac_try) 2>&5 9923 ac_status=$? 9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9925 (exit $ac_status); }; } && 9926 { ac_try='test -s conftest.$ac_objext' 9927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9928 (eval $ac_try) 2>&5 9929 ac_status=$? 9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9931 (exit $ac_status); }; }; then |
5668 ac_cv_c_inline=$ac_kw; break 5669else | 9932 ac_cv_c_inline=$ac_kw; break 9933else |
5670 echo "configure: failed program was:" >&5 5671 cat conftest.$ac_ext >&5 | 9934 echo "$as_me: failed program was:" >&5 9935sed 's/^/| /' conftest.$ac_ext >&5 9936 |
5672fi | 9937fi |
5673rm -f conftest* | 9938rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5674done 5675 5676fi | 9939done 9940 9941fi |
9942echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 9943echo "${ECHO_T}$ac_cv_c_inline" >&6 |
|
5677 | 9944 |
5678echo "$ac_t""$ac_cv_c_inline" 1>&6 5679case "$ac_cv_c_inline" in | 9945 9946case $ac_cv_c_inline in |
5680 inline | yes) ;; | 9947 inline | yes) ;; |
5681 no) cat >> confdefs.h <<\EOF 5682#define inline 5683EOF 5684 ;; 5685 *) cat >> confdefs.h <<EOF 5686#define inline $ac_cv_c_inline 5687EOF 5688 ;; | 9948 *) 9949 case $ac_cv_c_inline in 9950 no) ac_val=;; 9951 *) ac_val=$ac_cv_c_inline;; 9952 esac 9953 cat >>confdefs.h <<_ACEOF 9954#ifndef __cplusplus 9955#define inline $ac_val 9956#endif 9957_ACEOF 9958 ;; |
5689esac 5690 5691 5692# VMS doesn't have unlink. | 9959esac 9960 9961 9962# VMS doesn't have unlink. |
9963 9964 |
|
5693for ac_func in unlink remove 5694do | 9965for ac_func in unlink remove 9966do |
5695echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5696echo "configure:5697: checking for $ac_func" >&5 5697if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5698 echo $ac_n "(cached) $ac_c" 1>&6 | 9967as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9968echo "$as_me:$LINENO: checking for $ac_func" >&5 9969echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9970if eval "test \"\${$as_ac_var+set}\" = set"; then 9971 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5699else | 9972else |
5700 cat > conftest.$ac_ext <<EOF 5701#line 5702 "configure" 5702#include "confdefs.h" | 9973 cat >conftest.$ac_ext <<_ACEOF 9974/* confdefs.h. */ 9975_ACEOF 9976cat confdefs.h >>conftest.$ac_ext 9977cat >>conftest.$ac_ext <<_ACEOF 9978/* end confdefs.h. */ 9979/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 9980 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 9981#define $ac_func innocuous_$ac_func 9982 |
5703/* System header to define __stub macros and hopefully few prototypes, | 9983/* System header to define __stub macros and hopefully few prototypes, |
5704 which can conflict with char $ac_func(); below. */ 5705#include <assert.h> 5706/* Override any gcc2 internal prototype to avoid an error. */ 5707/* We use char because int might match the return type of a gcc2 5708 builtin and then its argument prototype would still apply. */ 5709char $ac_func(); | 9984 which can conflict with char $ac_func (); below. 9985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 9986 <limits.h> exists even on freestanding compilers. */ |
5710 | 9987 |
5711int main() { | 9988#ifdef __STDC__ 9989# include <limits.h> 9990#else 9991# include <assert.h> 9992#endif |
5712 | 9993 |
9994#undef $ac_func 9995 9996/* Override any gcc2 internal prototype to avoid an error. */ 9997#ifdef __cplusplus 9998extern "C" 9999{ 10000#endif 10001/* We use char because int might match the return type of a gcc2 10002 builtin and then its argument prototype would still apply. */ 10003char $ac_func (); |
|
5713/* The GNU C library defines this for functions which it implements 5714 to always fail with ENOSYS. Some functions are actually named 5715 something starting with __ and the normal name is an alias. */ 5716#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5717choke me 5718#else | 10004/* The GNU C library defines this for functions which it implements 10005 to always fail with ENOSYS. Some functions are actually named 10006 something starting with __ and the normal name is an alias. */ 10007#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10008choke me 10009#else |
5719$ac_func(); | 10010char (*f) () = $ac_func; |
5720#endif | 10011#endif |
10012#ifdef __cplusplus 10013} 10014#endif |
|
5721 | 10015 |
5722; return 0; } 5723EOF 5724if { (eval echo configure:5725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5725 rm -rf conftest* 5726 eval "ac_cv_func_$ac_func=yes" | 10016int 10017main () 10018{ 10019return f != $ac_func; 10020 ; 10021 return 0; 10022} 10023_ACEOF 10024rm -f conftest.$ac_objext conftest$ac_exeext 10025if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10026 (eval $ac_link) 2>conftest.er1 10027 ac_status=$? 10028 grep -v '^ *+' conftest.er1 >conftest.err 10029 rm -f conftest.er1 10030 cat conftest.err >&5 10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10032 (exit $ac_status); } && 10033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10035 (eval $ac_try) 2>&5 10036 ac_status=$? 10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10038 (exit $ac_status); }; } && 10039 { ac_try='test -s conftest$ac_exeext' 10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10041 (eval $ac_try) 2>&5 10042 ac_status=$? 10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10044 (exit $ac_status); }; }; then 10045 eval "$as_ac_var=yes" |
5727else | 10046else |
5728 echo "configure: failed program was:" >&5 5729 cat conftest.$ac_ext >&5 5730 rm -rf conftest* 5731 eval "ac_cv_func_$ac_func=no" | 10047 echo "$as_me: failed program was:" >&5 10048sed 's/^/| /' conftest.$ac_ext >&5 10049 10050eval "$as_ac_var=no" |
5732fi | 10051fi |
5733rm -f conftest* | 10052rm -f conftest.err conftest.$ac_objext \ 10053 conftest$ac_exeext conftest.$ac_ext |
5734fi | 10054fi |
5735 5736if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 5737 echo "$ac_t""yes" 1>&6 5738 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 5739 cat >> confdefs.h <<EOF 5740#define $ac_tr_func 1 5741EOF | 10055echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10056echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10057if test `eval echo '${'$as_ac_var'}'` = yes; then 10058 cat >>confdefs.h <<_ACEOF 10059#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10060_ACEOF |
5742 break | 10061 break |
5743else 5744 echo "$ac_t""no" 1>&6 | |
5745fi 5746done 5747 5748 5749# Some systems don't have sbrk(). | 10062fi 10063done 10064 10065 10066# Some systems don't have sbrk(). |
10067 |
|
5750for ac_func in sbrk 5751do | 10068for ac_func in sbrk 10069do |
5752echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5753echo "configure:5754: checking for $ac_func" >&5 5754if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5755 echo $ac_n "(cached) $ac_c" 1>&6 | 10070as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10071echo "$as_me:$LINENO: checking for $ac_func" >&5 10072echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10073if eval "test \"\${$as_ac_var+set}\" = set"; then 10074 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5756else | 10075else |
5757 cat > conftest.$ac_ext <<EOF 5758#line 5759 "configure" 5759#include "confdefs.h" | 10076 cat >conftest.$ac_ext <<_ACEOF 10077/* confdefs.h. */ 10078_ACEOF 10079cat confdefs.h >>conftest.$ac_ext 10080cat >>conftest.$ac_ext <<_ACEOF 10081/* end confdefs.h. */ 10082/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 10083 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10084#define $ac_func innocuous_$ac_func 10085 |
5760/* System header to define __stub macros and hopefully few prototypes, | 10086/* System header to define __stub macros and hopefully few prototypes, |
5761 which can conflict with char $ac_func(); below. */ 5762#include <assert.h> 5763/* Override any gcc2 internal prototype to avoid an error. */ 5764/* We use char because int might match the return type of a gcc2 5765 builtin and then its argument prototype would still apply. */ 5766char $ac_func(); | 10087 which can conflict with char $ac_func (); below. 10088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10089 <limits.h> exists even on freestanding compilers. */ |
5767 | 10090 |
5768int main() { | 10091#ifdef __STDC__ 10092# include <limits.h> 10093#else 10094# include <assert.h> 10095#endif |
5769 | 10096 |
10097#undef $ac_func 10098 10099/* Override any gcc2 internal prototype to avoid an error. */ 10100#ifdef __cplusplus 10101extern "C" 10102{ 10103#endif 10104/* We use char because int might match the return type of a gcc2 10105 builtin and then its argument prototype would still apply. */ 10106char $ac_func (); |
|
5770/* The GNU C library defines this for functions which it implements 5771 to always fail with ENOSYS. Some functions are actually named 5772 something starting with __ and the normal name is an alias. */ 5773#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5774choke me 5775#else | 10107/* The GNU C library defines this for functions which it implements 10108 to always fail with ENOSYS. Some functions are actually named 10109 something starting with __ and the normal name is an alias. */ 10110#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10111choke me 10112#else |
5776$ac_func(); | 10113char (*f) () = $ac_func; |
5777#endif | 10114#endif |
10115#ifdef __cplusplus 10116} 10117#endif |
|
5778 | 10118 |
5779; return 0; } 5780EOF 5781if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5782 rm -rf conftest* 5783 eval "ac_cv_func_$ac_func=yes" | 10119int 10120main () 10121{ 10122return f != $ac_func; 10123 ; 10124 return 0; 10125} 10126_ACEOF 10127rm -f conftest.$ac_objext conftest$ac_exeext 10128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10129 (eval $ac_link) 2>conftest.er1 10130 ac_status=$? 10131 grep -v '^ *+' conftest.er1 >conftest.err 10132 rm -f conftest.er1 10133 cat conftest.err >&5 10134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10135 (exit $ac_status); } && 10136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10138 (eval $ac_try) 2>&5 10139 ac_status=$? 10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10141 (exit $ac_status); }; } && 10142 { ac_try='test -s conftest$ac_exeext' 10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10144 (eval $ac_try) 2>&5 10145 ac_status=$? 10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10147 (exit $ac_status); }; }; then 10148 eval "$as_ac_var=yes" |
5784else | 10149else |
5785 echo "configure: failed program was:" >&5 5786 cat conftest.$ac_ext >&5 5787 rm -rf conftest* 5788 eval "ac_cv_func_$ac_func=no" | 10150 echo "$as_me: failed program was:" >&5 10151sed 's/^/| /' conftest.$ac_ext >&5 10152 10153eval "$as_ac_var=no" |
5789fi | 10154fi |
5790rm -f conftest* | 10155rm -f conftest.err conftest.$ac_objext \ 10156 conftest$ac_exeext conftest.$ac_ext |
5791fi | 10157fi |
10158echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 10159echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10160if test `eval echo '${'$as_ac_var'}'` = yes; then 10161 cat >>confdefs.h <<_ACEOF 10162#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10163_ACEOF |
|
5792 | 10164 |
5793if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 5794 echo "$ac_t""yes" 1>&6 5795 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 5796 cat >> confdefs.h <<EOF 5797#define $ac_tr_func 1 5798EOF 5799 5800else 5801 echo "$ac_t""no" 1>&6 | |
5802fi 5803done 5804 5805 5806# do we need the math library? 5807case "${need_libm}" in | 10165fi 10166done 10167 10168 10169# do we need the math library? 10170case "${need_libm}" in |
5808yes) | 10171yes) |
5809 LIBM= 5810case $host in 5811*-*-beos* | *-*-cygwin* | *-*-pw32*) 5812 # These system don't have libm 5813 ;; 5814*-ncr-sysv4.3*) | 10172 LIBM= 10173case $host in 10174*-*-beos* | *-*-cygwin* | *-*-pw32*) 10175 # These system don't have libm 10176 ;; 10177*-ncr-sysv4.3*) |
5815 echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 5816echo "configure:5817: checking for _mwvalidcheckl in -lmw" >&5 5817ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` 5818if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5819 echo $ac_n "(cached) $ac_c" 1>&6 | 10178 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5 10179echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6 10180if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then 10181 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5820else | 10182else |
5821 ac_save_LIBS="$LIBS" | 10183 ac_check_lib_save_LIBS=$LIBS |
5822LIBS="-lmw $LIBS" | 10184LIBS="-lmw $LIBS" |
5823cat > conftest.$ac_ext <<EOF 5824#line 5825 "configure" 5825#include "confdefs.h" | 10185cat >conftest.$ac_ext <<_ACEOF 10186/* confdefs.h. */ 10187_ACEOF 10188cat confdefs.h >>conftest.$ac_ext 10189cat >>conftest.$ac_ext <<_ACEOF 10190/* end confdefs.h. */ 10191 |
5826/* Override any gcc2 internal prototype to avoid an error. */ | 10192/* Override any gcc2 internal prototype to avoid an error. */ |
10193#ifdef __cplusplus 10194extern "C" 10195#endif |
|
5827/* We use char because int might match the return type of a gcc2 | 10196/* We use char because int might match the return type of a gcc2 |
5828 builtin and then its argument prototype would still apply. */ 5829char _mwvalidcheckl(); 5830 5831int main() { 5832_mwvalidcheckl() 5833; return 0; } 5834EOF 5835if { (eval echo configure:5836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5836 rm -rf conftest* 5837 eval "ac_cv_lib_$ac_lib_var=yes" | 10197 builtin and then its argument prototype would still apply. */ 10198char _mwvalidcheckl (); 10199int 10200main () 10201{ 10202_mwvalidcheckl (); 10203 ; 10204 return 0; 10205} 10206_ACEOF 10207rm -f conftest.$ac_objext conftest$ac_exeext 10208if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10209 (eval $ac_link) 2>conftest.er1 10210 ac_status=$? 10211 grep -v '^ *+' conftest.er1 >conftest.err 10212 rm -f conftest.er1 10213 cat conftest.err >&5 10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10215 (exit $ac_status); } && 10216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10218 (eval $ac_try) 2>&5 10219 ac_status=$? 10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10221 (exit $ac_status); }; } && 10222 { ac_try='test -s conftest$ac_exeext' 10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10224 (eval $ac_try) 2>&5 10225 ac_status=$? 10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10227 (exit $ac_status); }; }; then 10228 ac_cv_lib_mw__mwvalidcheckl=yes |
5838else | 10229else |
5839 echo "configure: failed program was:" >&5 5840 cat conftest.$ac_ext >&5 5841 rm -rf conftest* 5842 eval "ac_cv_lib_$ac_lib_var=no" 5843fi 5844rm -f conftest* 5845LIBS="$ac_save_LIBS" | 10230 echo "$as_me: failed program was:" >&5 10231sed 's/^/| /' conftest.$ac_ext >&5 |
5846 | 10232 |
10233ac_cv_lib_mw__mwvalidcheckl=no |
|
5847fi | 10234fi |
5848if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 5849 echo "$ac_t""yes" 1>&6 | 10235rm -f conftest.err conftest.$ac_objext \ 10236 conftest$ac_exeext conftest.$ac_ext 10237LIBS=$ac_check_lib_save_LIBS 10238fi 10239echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 10240echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6 10241if test $ac_cv_lib_mw__mwvalidcheckl = yes; then |
5850 LIBM="-lmw" | 10242 LIBM="-lmw" |
5851else 5852 echo "$ac_t""no" 1>&6 | |
5853fi 5854 | 10243fi 10244 |
5855 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5856echo "configure:5857: checking for main in -lm" >&5 5857ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5858if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5859 echo $ac_n "(cached) $ac_c" 1>&6 | 10245 echo "$as_me:$LINENO: checking for main in -lm" >&5 10246echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 10247if test "${ac_cv_lib_m_main+set}" = set; then 10248 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5860else | 10249else |
5861 ac_save_LIBS="$LIBS" | 10250 ac_check_lib_save_LIBS=$LIBS |
5862LIBS="-lm $LIBS" | 10251LIBS="-lm $LIBS" |
5863cat > conftest.$ac_ext <<EOF 5864#line 5865 "configure" 5865#include "confdefs.h" | 10252cat >conftest.$ac_ext <<_ACEOF 10253/* confdefs.h. */ 10254_ACEOF 10255cat confdefs.h >>conftest.$ac_ext 10256cat >>conftest.$ac_ext <<_ACEOF 10257/* end confdefs.h. */ |
5866 | 10258 |
5867int main() { 5868main() 5869; return 0; } 5870EOF 5871if { (eval echo configure:5872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5872 rm -rf conftest* 5873 eval "ac_cv_lib_$ac_lib_var=yes" | 10259 10260int 10261main () 10262{ 10263main (); 10264 ; 10265 return 0; 10266} 10267_ACEOF 10268rm -f conftest.$ac_objext conftest$ac_exeext 10269if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10270 (eval $ac_link) 2>conftest.er1 10271 ac_status=$? 10272 grep -v '^ *+' conftest.er1 >conftest.err 10273 rm -f conftest.er1 10274 cat conftest.err >&5 10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10276 (exit $ac_status); } && 10277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10279 (eval $ac_try) 2>&5 10280 ac_status=$? 10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10282 (exit $ac_status); }; } && 10283 { ac_try='test -s conftest$ac_exeext' 10284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10285 (eval $ac_try) 2>&5 10286 ac_status=$? 10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10288 (exit $ac_status); }; }; then 10289 ac_cv_lib_m_main=yes |
5874else | 10290else |
5875 echo "configure: failed program was:" >&5 5876 cat conftest.$ac_ext >&5 5877 rm -rf conftest* 5878 eval "ac_cv_lib_$ac_lib_var=no" 5879fi 5880rm -f conftest* 5881LIBS="$ac_save_LIBS" | 10291 echo "$as_me: failed program was:" >&5 10292sed 's/^/| /' conftest.$ac_ext >&5 |
5882 | 10293 |
10294ac_cv_lib_m_main=no |
|
5883fi | 10295fi |
5884if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 5885 echo "$ac_t""yes" 1>&6 | 10296rm -f conftest.err conftest.$ac_objext \ 10297 conftest$ac_exeext conftest.$ac_ext 10298LIBS=$ac_check_lib_save_LIBS 10299fi 10300echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 10301echo "${ECHO_T}$ac_cv_lib_m_main" >&6 10302if test $ac_cv_lib_m_main = yes; then |
5886 LIBM="$LIBM -lm" | 10303 LIBM="$LIBM -lm" |
5887else 5888 echo "$ac_t""no" 1>&6 | |
5889fi 5890 5891 ;; 5892*) | 10304fi 10305 10306 ;; 10307*) |
5893 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 5894echo "configure:5895: checking for main in -lm" >&5 5895ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 5896if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5897 echo $ac_n "(cached) $ac_c" 1>&6 | 10308 echo "$as_me:$LINENO: checking for main in -lm" >&5 10309echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 10310if test "${ac_cv_lib_m_main+set}" = set; then 10311 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5898else | 10312else |
5899 ac_save_LIBS="$LIBS" | 10313 ac_check_lib_save_LIBS=$LIBS |
5900LIBS="-lm $LIBS" | 10314LIBS="-lm $LIBS" |
5901cat > conftest.$ac_ext <<EOF 5902#line 5903 "configure" 5903#include "confdefs.h" | 10315cat >conftest.$ac_ext <<_ACEOF 10316/* confdefs.h. */ 10317_ACEOF 10318cat confdefs.h >>conftest.$ac_ext 10319cat >>conftest.$ac_ext <<_ACEOF 10320/* end confdefs.h. */ |
5904 | 10321 |
5905int main() { 5906main() 5907; return 0; } 5908EOF 5909if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5910 rm -rf conftest* 5911 eval "ac_cv_lib_$ac_lib_var=yes" | 10322 10323int 10324main () 10325{ 10326main (); 10327 ; 10328 return 0; 10329} 10330_ACEOF 10331rm -f conftest.$ac_objext conftest$ac_exeext 10332if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10333 (eval $ac_link) 2>conftest.er1 10334 ac_status=$? 10335 grep -v '^ *+' conftest.er1 >conftest.err 10336 rm -f conftest.er1 10337 cat conftest.err >&5 10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10339 (exit $ac_status); } && 10340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10342 (eval $ac_try) 2>&5 10343 ac_status=$? 10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10345 (exit $ac_status); }; } && 10346 { ac_try='test -s conftest$ac_exeext' 10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10348 (eval $ac_try) 2>&5 10349 ac_status=$? 10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10351 (exit $ac_status); }; }; then 10352 ac_cv_lib_m_main=yes |
5912else | 10353else |
5913 echo "configure: failed program was:" >&5 5914 cat conftest.$ac_ext >&5 5915 rm -rf conftest* 5916 eval "ac_cv_lib_$ac_lib_var=no" 5917fi 5918rm -f conftest* 5919LIBS="$ac_save_LIBS" | 10354 echo "$as_me: failed program was:" >&5 10355sed 's/^/| /' conftest.$ac_ext >&5 |
5920 | 10356 |
10357ac_cv_lib_m_main=no |
|
5921fi | 10358fi |
5922if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 5923 echo "$ac_t""yes" 1>&6 | 10359rm -f conftest.err conftest.$ac_objext \ 10360 conftest$ac_exeext conftest.$ac_ext 10361LIBS=$ac_check_lib_save_LIBS 10362fi 10363echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 10364echo "${ECHO_T}$ac_cv_lib_m_main" >&6 10365if test $ac_cv_lib_m_main = yes; then |
5924 LIBM="-lm" | 10366 LIBM="-lm" |
5925else 5926 echo "$ac_t""no" 1>&6 | |
5927fi 5928 5929 ;; 5930esac 5931 | 10367fi 10368 10369 ;; 10370esac 10371 |
5932 | 10372 |
5933 ;; 5934esac 5935 5936# Some non-ANSI preprocessors botch requoting inside strings. That's bad 5937# enough, but on some of those systems, the assert macro relies on requoting 5938# working properly! | 10373 ;; 10374esac 10375 10376# Some non-ANSI preprocessors botch requoting inside strings. That's bad 10377# enough, but on some of those systems, the assert macro relies on requoting 10378# working properly! |
5939echo $ac_n "checking for working assert macro""... $ac_c" 1>&6 5940echo "configure:5941: checking for working assert macro" >&5 5941if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then 5942 echo $ac_n "(cached) $ac_c" 1>&6 | 10379echo "$as_me:$LINENO: checking for working assert macro" >&5 10380echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6 10381if test "${gas_cv_assert_ok+set}" = set; then 10382 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5943else | 10383else |
5944 cat > conftest.$ac_ext <<EOF 5945#line 5946 "configure" 5946#include "confdefs.h" | 10384 cat >conftest.$ac_ext <<_ACEOF 10385/* confdefs.h. */ 10386_ACEOF 10387cat confdefs.h >>conftest.$ac_ext 10388cat >>conftest.$ac_ext <<_ACEOF 10389/* end confdefs.h. */ |
5947#include <assert.h> 5948#include <stdio.h> | 10390#include <assert.h> 10391#include <stdio.h> |
5949int main() { | 10392int 10393main () 10394{ |
5950 5951/* check for requoting problems */ 5952static int a, b, c, d; 5953static char *s; 5954assert (!strcmp(s, "foo bar baz quux")); 5955/* check for newline handling */ 5956assert (a == b 5957 || c == d); 5958 | 10395 10396/* check for requoting problems */ 10397static int a, b, c, d; 10398static char *s; 10399assert (!strcmp(s, "foo bar baz quux")); 10400/* check for newline handling */ 10401assert (a == b 10402 || c == d); 10403 |
5959; return 0; } 5960EOF 5961if { (eval echo configure:5962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5962 rm -rf conftest* | 10404 ; 10405 return 0; 10406} 10407_ACEOF 10408rm -f conftest.$ac_objext conftest$ac_exeext 10409if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10410 (eval $ac_link) 2>conftest.er1 10411 ac_status=$? 10412 grep -v '^ *+' conftest.er1 >conftest.err 10413 rm -f conftest.er1 10414 cat conftest.err >&5 10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10416 (exit $ac_status); } && 10417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10419 (eval $ac_try) 2>&5 10420 ac_status=$? 10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10422 (exit $ac_status); }; } && 10423 { ac_try='test -s conftest$ac_exeext' 10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10425 (eval $ac_try) 2>&5 10426 ac_status=$? 10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10428 (exit $ac_status); }; }; then |
5963 gas_cv_assert_ok=yes 5964else | 10429 gas_cv_assert_ok=yes 10430else |
5965 echo "configure: failed program was:" >&5 5966 cat conftest.$ac_ext >&5 5967 rm -rf conftest* 5968 gas_cv_assert_ok=no | 10431 echo "$as_me: failed program was:" >&5 10432sed 's/^/| /' conftest.$ac_ext >&5 10433 10434gas_cv_assert_ok=no |
5969fi | 10435fi |
5970rm -f conftest* | 10436rm -f conftest.err conftest.$ac_objext \ 10437 conftest$ac_exeext conftest.$ac_ext |
5971fi | 10438fi |
5972echo "$ac_t""$gas_cv_assert_ok" 1>&6 5973test $gas_cv_assert_ok = yes || cat >> confdefs.h <<\EOF | 10439echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5 10440echo "${ECHO_T}$gas_cv_assert_ok" >&6 10441test $gas_cv_assert_ok = yes || 10442cat >>confdefs.h <<\_ACEOF |
5974#define BROKEN_ASSERT 1 | 10443#define BROKEN_ASSERT 1 |
5975EOF | 10444_ACEOF |
5976 5977 5978 5979# On some systems, the system header files may not declare malloc, realloc, 5980# and free. There are places where gas needs these functions to have been 5981# declared -- such as when taking their addresses. 5982gas_test_headers=" 5983#ifdef HAVE_MEMORY_H --- 9 unchanged lines hidden (view full) --- 5993#ifdef HAVE_STDLIB_H 5994#include <stdlib.h> 5995#endif 5996#ifdef HAVE_UNISTD_H 5997#include <unistd.h> 5998#endif 5999" 6000 | 10445 10446 10447 10448# On some systems, the system header files may not declare malloc, realloc, 10449# and free. There are places where gas needs these functions to have been 10450# declared -- such as when taking their addresses. 10451gas_test_headers=" 10452#ifdef HAVE_MEMORY_H --- 9 unchanged lines hidden (view full) --- 10462#ifdef HAVE_STDLIB_H 10463#include <stdlib.h> 10464#endif 10465#ifdef HAVE_UNISTD_H 10466#include <unistd.h> 10467#endif 10468" 10469 |
6001echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6 6002echo "configure:6003: checking whether declaration is required for strstr" >&5 6003if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then 6004 echo $ac_n "(cached) $ac_c" 1>&6 | 10470echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5 10471echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6 10472if test "${gas_cv_decl_needed_strstr+set}" = set; then 10473 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6005else | 10474else |
6006 cat > conftest.$ac_ext <<EOF 6007#line 6008 "configure" 6008#include "confdefs.h" | 10475 cat >conftest.$ac_ext <<_ACEOF 10476/* confdefs.h. */ 10477_ACEOF 10478cat confdefs.h >>conftest.$ac_ext 10479cat >>conftest.$ac_ext <<_ACEOF 10480/* end confdefs.h. */ |
6009$gas_test_headers | 10481$gas_test_headers |
6010int main() { | 10482int 10483main () 10484{ |
6011 6012typedef char *(*f)(); 6013f x; 6014x = (f) strstr; 6015 | 10485 10486typedef char *(*f)(); 10487f x; 10488x = (f) strstr; 10489 |
6016; return 0; } 6017EOF 6018if { (eval echo configure:6019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6019 rm -rf conftest* | 10490 ; 10491 return 0; 10492} 10493_ACEOF 10494rm -f conftest.$ac_objext conftest$ac_exeext 10495if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10496 (eval $ac_link) 2>conftest.er1 10497 ac_status=$? 10498 grep -v '^ *+' conftest.er1 >conftest.err 10499 rm -f conftest.er1 10500 cat conftest.err >&5 10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10502 (exit $ac_status); } && 10503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10505 (eval $ac_try) 2>&5 10506 ac_status=$? 10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10508 (exit $ac_status); }; } && 10509 { ac_try='test -s conftest$ac_exeext' 10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10511 (eval $ac_try) 2>&5 10512 ac_status=$? 10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10514 (exit $ac_status); }; }; then |
6020 gas_cv_decl_needed_strstr=no 6021else | 10515 gas_cv_decl_needed_strstr=no 10516else |
6022 echo "configure: failed program was:" >&5 6023 cat conftest.$ac_ext >&5 6024 rm -rf conftest* 6025 gas_cv_decl_needed_strstr=yes | 10517 echo "$as_me: failed program was:" >&5 10518sed 's/^/| /' conftest.$ac_ext >&5 10519 10520gas_cv_decl_needed_strstr=yes |
6026fi | 10521fi |
6027rm -f conftest* | 10522rm -f conftest.err conftest.$ac_objext \ 10523 conftest$ac_exeext conftest.$ac_ext |
6028fi | 10524fi |
6029echo "$ac_t""$gas_cv_decl_needed_strstr" 1>&6 | 10525echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5 10526echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6 |
6030if test $gas_cv_decl_needed_strstr = yes; then | 10527if test $gas_cv_decl_needed_strstr = yes; then |
6031 cat >> confdefs.h <<\EOF | 10528 10529cat >>confdefs.h <<\_ACEOF |
6032#define NEED_DECLARATION_STRSTR 1 | 10530#define NEED_DECLARATION_STRSTR 1 |
6033EOF | 10531_ACEOF |
6034 6035fi 6036 6037 | 10532 10533fi 10534 10535 |
6038echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6 6039echo "configure:6040: checking whether declaration is required for malloc" >&5 6040if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then 6041 echo $ac_n "(cached) $ac_c" 1>&6 | 10536echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5 10537echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6 10538if test "${gas_cv_decl_needed_malloc+set}" = set; then 10539 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6042else | 10540else |
6043 cat > conftest.$ac_ext <<EOF 6044#line 6045 "configure" 6045#include "confdefs.h" | 10541 cat >conftest.$ac_ext <<_ACEOF 10542/* confdefs.h. */ 10543_ACEOF 10544cat confdefs.h >>conftest.$ac_ext 10545cat >>conftest.$ac_ext <<_ACEOF 10546/* end confdefs.h. */ |
6046$gas_test_headers | 10547$gas_test_headers |
6047int main() { | 10548int 10549main () 10550{ |
6048 6049typedef char *(*f)(); 6050f x; 6051x = (f) malloc; 6052 | 10551 10552typedef char *(*f)(); 10553f x; 10554x = (f) malloc; 10555 |
6053; return 0; } 6054EOF 6055if { (eval echo configure:6056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6056 rm -rf conftest* | 10556 ; 10557 return 0; 10558} 10559_ACEOF 10560rm -f conftest.$ac_objext conftest$ac_exeext 10561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10562 (eval $ac_link) 2>conftest.er1 10563 ac_status=$? 10564 grep -v '^ *+' conftest.er1 >conftest.err 10565 rm -f conftest.er1 10566 cat conftest.err >&5 10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10568 (exit $ac_status); } && 10569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10571 (eval $ac_try) 2>&5 10572 ac_status=$? 10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10574 (exit $ac_status); }; } && 10575 { ac_try='test -s conftest$ac_exeext' 10576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10577 (eval $ac_try) 2>&5 10578 ac_status=$? 10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10580 (exit $ac_status); }; }; then |
6057 gas_cv_decl_needed_malloc=no 6058else | 10581 gas_cv_decl_needed_malloc=no 10582else |
6059 echo "configure: failed program was:" >&5 6060 cat conftest.$ac_ext >&5 6061 rm -rf conftest* 6062 gas_cv_decl_needed_malloc=yes | 10583 echo "$as_me: failed program was:" >&5 10584sed 's/^/| /' conftest.$ac_ext >&5 10585 10586gas_cv_decl_needed_malloc=yes |
6063fi | 10587fi |
6064rm -f conftest* | 10588rm -f conftest.err conftest.$ac_objext \ 10589 conftest$ac_exeext conftest.$ac_ext |
6065fi | 10590fi |
6066echo "$ac_t""$gas_cv_decl_needed_malloc" 1>&6 | 10591echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5 10592echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6 |
6067if test $gas_cv_decl_needed_malloc = yes; then | 10593if test $gas_cv_decl_needed_malloc = yes; then |
6068 cat >> confdefs.h <<\EOF | 10594 10595cat >>confdefs.h <<\_ACEOF |
6069#define NEED_DECLARATION_MALLOC 1 | 10596#define NEED_DECLARATION_MALLOC 1 |
6070EOF | 10597_ACEOF |
6071 6072fi 6073 6074 | 10598 10599fi 10600 10601 |
6075echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6 6076echo "configure:6077: checking whether declaration is required for free" >&5 6077if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then 6078 echo $ac_n "(cached) $ac_c" 1>&6 | 10602echo "$as_me:$LINENO: checking whether declaration is required for free" >&5 10603echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6 10604if test "${gas_cv_decl_needed_free+set}" = set; then 10605 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6079else | 10606else |
6080 cat > conftest.$ac_ext <<EOF 6081#line 6082 "configure" 6082#include "confdefs.h" | 10607 cat >conftest.$ac_ext <<_ACEOF 10608/* confdefs.h. */ 10609_ACEOF 10610cat confdefs.h >>conftest.$ac_ext 10611cat >>conftest.$ac_ext <<_ACEOF 10612/* end confdefs.h. */ |
6083$gas_test_headers | 10613$gas_test_headers |
6084int main() { | 10614int 10615main () 10616{ |
6085 6086typedef void (*f)(); 6087f x; 6088x = (f) free; 6089 | 10617 10618typedef void (*f)(); 10619f x; 10620x = (f) free; 10621 |
6090; return 0; } 6091EOF 6092if { (eval echo configure:6093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6093 rm -rf conftest* | 10622 ; 10623 return 0; 10624} 10625_ACEOF 10626rm -f conftest.$ac_objext conftest$ac_exeext 10627if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10628 (eval $ac_link) 2>conftest.er1 10629 ac_status=$? 10630 grep -v '^ *+' conftest.er1 >conftest.err 10631 rm -f conftest.er1 10632 cat conftest.err >&5 10633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10634 (exit $ac_status); } && 10635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10637 (eval $ac_try) 2>&5 10638 ac_status=$? 10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10640 (exit $ac_status); }; } && 10641 { ac_try='test -s conftest$ac_exeext' 10642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10643 (eval $ac_try) 2>&5 10644 ac_status=$? 10645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10646 (exit $ac_status); }; }; then |
6094 gas_cv_decl_needed_free=no 6095else | 10647 gas_cv_decl_needed_free=no 10648else |
6096 echo "configure: failed program was:" >&5 6097 cat conftest.$ac_ext >&5 6098 rm -rf conftest* 6099 gas_cv_decl_needed_free=yes | 10649 echo "$as_me: failed program was:" >&5 10650sed 's/^/| /' conftest.$ac_ext >&5 10651 10652gas_cv_decl_needed_free=yes |
6100fi | 10653fi |
6101rm -f conftest* | 10654rm -f conftest.err conftest.$ac_objext \ 10655 conftest$ac_exeext conftest.$ac_ext |
6102fi | 10656fi |
6103echo "$ac_t""$gas_cv_decl_needed_free" 1>&6 | 10657echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5 10658echo "${ECHO_T}$gas_cv_decl_needed_free" >&6 |
6104if test $gas_cv_decl_needed_free = yes; then | 10659if test $gas_cv_decl_needed_free = yes; then |
6105 cat >> confdefs.h <<\EOF | 10660 10661cat >>confdefs.h <<\_ACEOF |
6106#define NEED_DECLARATION_FREE 1 | 10662#define NEED_DECLARATION_FREE 1 |
6107EOF | 10663_ACEOF |
6108 6109fi 6110 6111 | 10664 10665fi 10666 10667 |
6112echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6 6113echo "configure:6114: checking whether declaration is required for sbrk" >&5 6114if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then 6115 echo $ac_n "(cached) $ac_c" 1>&6 | 10668echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5 10669echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6 10670if test "${gas_cv_decl_needed_sbrk+set}" = set; then 10671 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6116else | 10672else |
6117 cat > conftest.$ac_ext <<EOF 6118#line 6119 "configure" 6119#include "confdefs.h" | 10673 cat >conftest.$ac_ext <<_ACEOF 10674/* confdefs.h. */ 10675_ACEOF 10676cat confdefs.h >>conftest.$ac_ext 10677cat >>conftest.$ac_ext <<_ACEOF 10678/* end confdefs.h. */ |
6120$gas_test_headers | 10679$gas_test_headers |
6121int main() { | 10680int 10681main () 10682{ |
6122 6123typedef char *(*f)(); 6124f x; 6125x = (f) sbrk; 6126 | 10683 10684typedef char *(*f)(); 10685f x; 10686x = (f) sbrk; 10687 |
6127; return 0; } 6128EOF 6129if { (eval echo configure:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6130 rm -rf conftest* | 10688 ; 10689 return 0; 10690} 10691_ACEOF 10692rm -f conftest.$ac_objext conftest$ac_exeext 10693if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10694 (eval $ac_link) 2>conftest.er1 10695 ac_status=$? 10696 grep -v '^ *+' conftest.er1 >conftest.err 10697 rm -f conftest.er1 10698 cat conftest.err >&5 10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10700 (exit $ac_status); } && 10701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10703 (eval $ac_try) 2>&5 10704 ac_status=$? 10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10706 (exit $ac_status); }; } && 10707 { ac_try='test -s conftest$ac_exeext' 10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10709 (eval $ac_try) 2>&5 10710 ac_status=$? 10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10712 (exit $ac_status); }; }; then |
6131 gas_cv_decl_needed_sbrk=no 6132else | 10713 gas_cv_decl_needed_sbrk=no 10714else |
6133 echo "configure: failed program was:" >&5 6134 cat conftest.$ac_ext >&5 6135 rm -rf conftest* 6136 gas_cv_decl_needed_sbrk=yes | 10715 echo "$as_me: failed program was:" >&5 10716sed 's/^/| /' conftest.$ac_ext >&5 10717 10718gas_cv_decl_needed_sbrk=yes |
6137fi | 10719fi |
6138rm -f conftest* | 10720rm -f conftest.err conftest.$ac_objext \ 10721 conftest$ac_exeext conftest.$ac_ext |
6139fi | 10722fi |
6140echo "$ac_t""$gas_cv_decl_needed_sbrk" 1>&6 | 10723echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5 10724echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6 |
6141if test $gas_cv_decl_needed_sbrk = yes; then | 10725if test $gas_cv_decl_needed_sbrk = yes; then |
6142 cat >> confdefs.h <<\EOF | 10726 10727cat >>confdefs.h <<\_ACEOF |
6143#define NEED_DECLARATION_SBRK 1 | 10728#define NEED_DECLARATION_SBRK 1 |
6144EOF | 10729_ACEOF |
6145 6146fi 6147 6148 | 10730 10731fi 10732 10733 |
6149echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6 6150echo "configure:6151: checking whether declaration is required for environ" >&5 6151if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then 6152 echo $ac_n "(cached) $ac_c" 1>&6 | 10734echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5 10735echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6 10736if test "${gas_cv_decl_needed_environ+set}" = set; then 10737 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6153else | 10738else |
6154 cat > conftest.$ac_ext <<EOF 6155#line 6156 "configure" 6156#include "confdefs.h" | 10739 cat >conftest.$ac_ext <<_ACEOF 10740/* confdefs.h. */ 10741_ACEOF 10742cat confdefs.h >>conftest.$ac_ext 10743cat >>conftest.$ac_ext <<_ACEOF 10744/* end confdefs.h. */ |
6157$gas_test_headers | 10745$gas_test_headers |
6158int main() { | 10746int 10747main () 10748{ |
6159 6160typedef char **f; 6161f x; 6162x = (f) environ; 6163 | 10749 10750typedef char **f; 10751f x; 10752x = (f) environ; 10753 |
6164; return 0; } 6165EOF 6166if { (eval echo configure:6167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6167 rm -rf conftest* | 10754 ; 10755 return 0; 10756} 10757_ACEOF 10758rm -f conftest.$ac_objext conftest$ac_exeext 10759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10760 (eval $ac_link) 2>conftest.er1 10761 ac_status=$? 10762 grep -v '^ *+' conftest.er1 >conftest.err 10763 rm -f conftest.er1 10764 cat conftest.err >&5 10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10766 (exit $ac_status); } && 10767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10769 (eval $ac_try) 2>&5 10770 ac_status=$? 10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10772 (exit $ac_status); }; } && 10773 { ac_try='test -s conftest$ac_exeext' 10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10775 (eval $ac_try) 2>&5 10776 ac_status=$? 10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10778 (exit $ac_status); }; }; then |
6168 gas_cv_decl_needed_environ=no 6169else | 10779 gas_cv_decl_needed_environ=no 10780else |
6170 echo "configure: failed program was:" >&5 6171 cat conftest.$ac_ext >&5 6172 rm -rf conftest* 6173 gas_cv_decl_needed_environ=yes | 10781 echo "$as_me: failed program was:" >&5 10782sed 's/^/| /' conftest.$ac_ext >&5 10783 10784gas_cv_decl_needed_environ=yes |
6174fi | 10785fi |
6175rm -f conftest* | 10786rm -f conftest.err conftest.$ac_objext \ 10787 conftest$ac_exeext conftest.$ac_ext |
6176fi | 10788fi |
6177echo "$ac_t""$gas_cv_decl_needed_environ" 1>&6 | 10789echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5 10790echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6 |
6178if test $gas_cv_decl_needed_environ = yes; then | 10791if test $gas_cv_decl_needed_environ = yes; then |
6179 cat >> confdefs.h <<\EOF | 10792 10793cat >>confdefs.h <<\_ACEOF |
6180#define NEED_DECLARATION_ENVIRON 1 | 10794#define NEED_DECLARATION_ENVIRON 1 |
6181EOF | 10795_ACEOF |
6182 6183fi 6184 6185 6186# Does errno.h declare errno, or do we have to add a separate declaration 6187# for it? 6188 | 10796 10797fi 10798 10799 10800# Does errno.h declare errno, or do we have to add a separate declaration 10801# for it? 10802 |
6189echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6 6190echo "configure:6191: checking whether declaration is required for errno" >&5 6191if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then 6192 echo $ac_n "(cached) $ac_c" 1>&6 | 10803echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5 10804echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6 10805if test "${gas_cv_decl_needed_errno+set}" = set; then 10806 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6193else | 10807else |
6194 cat > conftest.$ac_ext <<EOF 6195#line 6196 "configure" 6196#include "confdefs.h" | 10808 cat >conftest.$ac_ext <<_ACEOF 10809/* confdefs.h. */ 10810_ACEOF 10811cat confdefs.h >>conftest.$ac_ext 10812cat >>conftest.$ac_ext <<_ACEOF 10813/* end confdefs.h. */ |
6197 6198#ifdef HAVE_ERRNO_H 6199#include <errno.h> 6200#endif 6201 | 10814 10815#ifdef HAVE_ERRNO_H 10816#include <errno.h> 10817#endif 10818 |
6202int main() { | 10819int 10820main () 10821{ |
6203 6204typedef int f; 6205f x; 6206x = (f) errno; 6207 | 10822 10823typedef int f; 10824f x; 10825x = (f) errno; 10826 |
6208; return 0; } 6209EOF 6210if { (eval echo configure:6211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6211 rm -rf conftest* | 10827 ; 10828 return 0; 10829} 10830_ACEOF 10831rm -f conftest.$ac_objext conftest$ac_exeext 10832if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10833 (eval $ac_link) 2>conftest.er1 10834 ac_status=$? 10835 grep -v '^ *+' conftest.er1 >conftest.err 10836 rm -f conftest.er1 10837 cat conftest.err >&5 10838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10839 (exit $ac_status); } && 10840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' 10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10842 (eval $ac_try) 2>&5 10843 ac_status=$? 10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10845 (exit $ac_status); }; } && 10846 { ac_try='test -s conftest$ac_exeext' 10847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10848 (eval $ac_try) 2>&5 10849 ac_status=$? 10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10851 (exit $ac_status); }; }; then |
6212 gas_cv_decl_needed_errno=no 6213else | 10852 gas_cv_decl_needed_errno=no 10853else |
6214 echo "configure: failed program was:" >&5 6215 cat conftest.$ac_ext >&5 6216 rm -rf conftest* 6217 gas_cv_decl_needed_errno=yes | 10854 echo "$as_me: failed program was:" >&5 10855sed 's/^/| /' conftest.$ac_ext >&5 10856 10857gas_cv_decl_needed_errno=yes |
6218fi | 10858fi |
6219rm -f conftest* | 10859rm -f conftest.err conftest.$ac_objext \ 10860 conftest$ac_exeext conftest.$ac_ext |
6220fi | 10861fi |
6221echo "$ac_t""$gas_cv_decl_needed_errno" 1>&6 | 10862echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5 10863echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6 |
6222if test $gas_cv_decl_needed_errno = yes; then | 10864if test $gas_cv_decl_needed_errno = yes; then |
6223 cat >> confdefs.h <<\EOF | 10865 10866cat >>confdefs.h <<\_ACEOF |
6224#define NEED_DECLARATION_ERRNO 1 | 10867#define NEED_DECLARATION_ERRNO 1 |
6225EOF | 10868_ACEOF |
6226 6227fi 6228 6229 6230 6231 | 10869 10870fi 10871 10872 10873 10874 |
6232trap '' 1 2 15 6233cat > confcache <<\EOF | 10875 ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in" 10876 10877 ac_config_commands="$ac_config_commands default" 10878 10879 10880cat >confcache <<\_ACEOF |
6234# This file is a shell script that caches the results of configure 6235# tests run on this system so they can be shared between configure | 10881# This file is a shell script that caches the results of configure 10882# tests run on this system so they can be shared between configure |
6236# scripts and configure runs. It is not useful on other systems. 6237# If it contains results you don't want to keep, you may remove or edit it. | 10883# scripts and configure runs, see configure's option --config-cache. 10884# It is not useful on other systems. If it contains results you don't 10885# want to keep, you may remove or edit it. |
6238# | 10886# |
6239# By default, configure uses ./config.cache as the cache file, 6240# creating it if it does not exist already. You can give configure 6241# the --cache-file=FILE option to use a different cache file; that is 6242# what configure does when it calls configure scripts in 6243# subdirectories, so they share the cache. 6244# Giving --cache-file=/dev/null disables caching, for debugging configure. 6245# config.status only pays attention to the cache file if you give it the 6246# --recheck option to rerun configure. | 10887# config.status only pays attention to the cache file if you give it 10888# the --recheck option to rerun configure. |
6247# | 10889# |
6248EOF | 10890# `ac_cv_env_foo' variables (set or unset) will be overridden when 10891# loading this file, other *unset* `ac_cv_foo' will be assigned the 10892# following values. 10893 10894_ACEOF 10895 |
6249# The following way of writing the cache mishandles newlines in values, 6250# but we know of no workaround that is simple, portable, and efficient. 6251# So, don't put newlines in cache variables' values. 6252# Ultrix sh set writes to stderr and can't be redirected directly, 6253# and sets the high bit in the cache file unless we assign to the vars. | 10896# The following way of writing the cache mishandles newlines in values, 10897# but we know of no workaround that is simple, portable, and efficient. 10898# So, don't put newlines in cache variables' values. 10899# Ultrix sh set writes to stderr and can't be redirected directly, 10900# and sets the high bit in the cache file unless we assign to the vars. |
6254(set) 2>&1 | 6255 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6256 *ac_space=\ *) 6257 # `set' does not quote correctly, so add quotes (double-quote substitution 6258 # turns \\\\ into \\, and sed turns \\ into \). 6259 sed -n \ 6260 -e "s/'/'\\\\''/g" \ 6261 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 6262 ;; 6263 *) 6264 # `set' quotes correctly as required by POSIX, so do not add quotes. 6265 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 6266 ;; 6267 esac >> confcache 6268if cmp -s $cache_file confcache; then 6269 : 6270else | 10901{ 10902 (set) 2>&1 | 10903 case `(ac_space=' '; set | grep ac_space) 2>&1` in 10904 *ac_space=\ *) 10905 # `set' does not quote correctly, so add quotes (double-quote 10906 # substitution turns \\\\ into \\, and sed turns \\ into \). 10907 sed -n \ 10908 "s/'/'\\\\''/g; 10909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10910 ;; 10911 *) 10912 # `set' quotes correctly as required by POSIX, so do not add quotes. 10913 sed -n \ 10914 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 10915 ;; 10916 esac; 10917} | 10918 sed ' 10919 t clear 10920 : clear 10921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 10922 t end 10923 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10924 : end' >>confcache 10925if diff $cache_file confcache >/dev/null 2>&1; then :; else |
6271 if test -w $cache_file; then | 10926 if test -w $cache_file; then |
6272 echo "updating cache $cache_file" 6273 cat confcache > $cache_file | 10927 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 10928 cat confcache >$cache_file |
6274 else 6275 echo "not updating unwritable cache $cache_file" 6276 fi 6277fi 6278rm -f confcache 6279 | 10929 else 10930 echo "not updating unwritable cache $cache_file" 10931 fi 10932fi 10933rm -f confcache 10934 |
6280trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 6281 | |
6282test "x$prefix" = xNONE && prefix=$ac_default_prefix 6283# Let make expand exec_prefix. 6284test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6285 | 10935test "x$prefix" = xNONE && prefix=$ac_default_prefix 10936# Let make expand exec_prefix. 10937test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 10938 |
6286# Any assignment to VPATH causes Sun make to only execute 6287# the first set of double-colon rules, so remove it if not needed. 6288# If there is a colon in the path, we need to keep it. | 10939# VPATH may cause trouble with some makes, so we remove $(srcdir), 10940# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 10941# trailing colons and then remove the whole line if VPATH becomes empty 10942# (actually we leave an empty line to preserve line numbers). |
6289if test "x$srcdir" = x.; then | 10943if test "x$srcdir" = x.; then |
6290 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' | 10944 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 10945s/:*\$(srcdir):*/:/; 10946s/:*\${srcdir}:*/:/; 10947s/:*@srcdir@:*/:/; 10948s/^\([^=]*=[ ]*\):*/\1/; 10949s/:*$//; 10950s/^[^=]*=[ ]*$//; 10951}' |
6291fi 6292 | 10952fi 10953 |
6293trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 6294 | |
6295DEFS=-DHAVE_CONFIG_H 6296 | 10954DEFS=-DHAVE_CONFIG_H 10955 |
6297# Without the "./", some shells look in PATH for config.status. 6298: ${CONFIG_STATUS=./config.status} | 10956ac_libobjs= 10957ac_ltlibobjs= 10958for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10959 # 1. Remove the extension, and $U if already installed. 10960 ac_i=`echo "$ac_i" | 10961 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 10962 # 2. Add them. 10963 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 10964 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 10965done 10966LIBOBJS=$ac_libobjs |
6299 | 10967 |
6300echo creating $CONFIG_STATUS 6301rm -f $CONFIG_STATUS 6302cat > $CONFIG_STATUS <<EOF 6303#! /bin/sh 6304# Generated automatically by configure. | 10968LTLIBOBJS=$ac_ltlibobjs 10969 10970 10971if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 10972 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 10973Usually this means the macro was only invoked conditionally." >&5 10974echo "$as_me: error: conditional \"AMDEP\" was never defined. 10975Usually this means the macro was only invoked conditionally." >&2;} 10976 { (exit 1); exit 1; }; } 10977fi 10978if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 10979 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 10980Usually this means the macro was only invoked conditionally." >&5 10981echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 10982Usually this means the macro was only invoked conditionally." >&2;} 10983 { (exit 1); exit 1; }; } 10984fi 10985if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 10986 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 10987Usually this means the macro was only invoked conditionally." >&5 10988echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 10989Usually this means the macro was only invoked conditionally." >&2;} 10990 { (exit 1); exit 1; }; } 10991fi 10992 10993: ${CONFIG_STATUS=./config.status} 10994ac_clean_files_save=$ac_clean_files 10995ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10996{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 10997echo "$as_me: creating $CONFIG_STATUS" >&6;} 10998cat >$CONFIG_STATUS <<_ACEOF 10999#! $SHELL 11000# Generated by $as_me. |
6305# Run this file to recreate the current configuration. | 11001# Run this file to recreate the current configuration. |
6306# This directory was configured as follows, 6307# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 6308# 6309# $0 $ac_configure_args 6310# | |
6311# Compiler output produced by configure, useful for debugging | 11002# Compiler output produced by configure, useful for debugging |
6312# configure, is in ./config.log if it exists. | 11003# configure, is in config.log if it exists. |
6313 | 11004 |
6314ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 6315for ac_option | 11005debug=false 11006ac_cs_recheck=false 11007ac_cs_silent=false 11008SHELL=\${CONFIG_SHELL-$SHELL} 11009_ACEOF 11010 11011cat >>$CONFIG_STATUS <<\_ACEOF 11012## --------------------- ## 11013## M4sh Initialization. ## 11014## --------------------- ## 11015 11016# Be Bourne compatible 11017if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 11018 emulate sh 11019 NULLCMD=: 11020 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 11021 # is contrary to our usage. Disable this feature. 11022 alias -g '${1+"$@"}'='"$@"' 11023elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 11024 set -o posix 11025fi 11026DUALCASE=1; export DUALCASE # for MKS sh 11027 11028# Support unset when possible. 11029if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 11030 as_unset=unset 11031else 11032 as_unset=false 11033fi 11034 11035 11036# Work around bugs in pre-3.0 UWIN ksh. 11037$as_unset ENV MAIL MAILPATH 11038PS1='$ ' 11039PS2='> ' 11040PS4='+ ' 11041 11042# NLS nuisances. 11043for as_var in \ 11044 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 11045 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 11046 LC_TELEPHONE LC_TIME |
6316do | 11047do |
6317 case "\$ac_option" in 6318 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6319 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 6320 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 6321 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 6322 echo "$CONFIG_STATUS generated by autoconf version 2.13" 6323 exit 0 ;; 6324 -help | --help | --hel | --he | --h) 6325 echo "\$ac_cs_usage"; exit 0 ;; 6326 *) echo "\$ac_cs_usage"; exit 1 ;; 6327 esac | 11048 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 11049 eval $as_var=C; export $as_var 11050 else 11051 $as_unset $as_var 11052 fi |
6328done 6329 | 11053done 11054 |
6330ac_given_srcdir=$srcdir 6331ac_given_INSTALL="$INSTALL" | 11055# Required to use basename. 11056if expr a : '\(a\)' >/dev/null 2>&1; then 11057 as_expr=expr 11058else 11059 as_expr=false 11060fi |
6332 | 11061 |
6333trap 'rm -fr `echo "Makefile doc/Makefile ${GDBINIT}:gdbinit.in po/Makefile.in:po/Make-in config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 6334EOF 6335cat >> $CONFIG_STATUS <<EOF | 11062if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 11063 as_basename=basename 11064else 11065 as_basename=false 11066fi |
6336 | 11067 |
6337# Protect against being on the right side of a sed subst in config.status. 6338sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 6339 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 6340$ac_vpsub 6341$extrasub 6342s%@SHELL@%$SHELL%g 6343s%@CFLAGS@%$CFLAGS%g 6344s%@CPPFLAGS@%$CPPFLAGS%g 6345s%@CXXFLAGS@%$CXXFLAGS%g 6346s%@FFLAGS@%$FFLAGS%g 6347s%@DEFS@%$DEFS%g 6348s%@LDFLAGS@%$LDFLAGS%g 6349s%@LIBS@%$LIBS%g 6350s%@exec_prefix@%$exec_prefix%g 6351s%@prefix@%$prefix%g 6352s%@program_transform_name@%$program_transform_name%g 6353s%@bindir@%$bindir%g 6354s%@sbindir@%$sbindir%g 6355s%@libexecdir@%$libexecdir%g 6356s%@datadir@%$datadir%g 6357s%@sysconfdir@%$sysconfdir%g 6358s%@sharedstatedir@%$sharedstatedir%g 6359s%@localstatedir@%$localstatedir%g 6360s%@libdir@%$libdir%g 6361s%@includedir@%$includedir%g 6362s%@oldincludedir@%$oldincludedir%g 6363s%@infodir@%$infodir%g 6364s%@mandir@%$mandir%g 6365s%@host@%$host%g 6366s%@host_alias@%$host_alias%g 6367s%@host_cpu@%$host_cpu%g 6368s%@host_vendor@%$host_vendor%g 6369s%@host_os@%$host_os%g 6370s%@target@%$target%g 6371s%@target_alias@%$target_alias%g 6372s%@target_cpu@%$target_cpu%g 6373s%@target_vendor@%$target_vendor%g 6374s%@target_os@%$target_os%g 6375s%@build@%$build%g 6376s%@build_alias@%$build_alias%g 6377s%@build_cpu@%$build_cpu%g 6378s%@build_vendor@%$build_vendor%g 6379s%@build_os@%$build_os%g 6380s%@CC@%$CC%g 6381s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 6382s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 6383s%@INSTALL_DATA@%$INSTALL_DATA%g 6384s%@PACKAGE@%$PACKAGE%g 6385s%@VERSION@%$VERSION%g 6386s%@ACLOCAL@%$ACLOCAL%g 6387s%@AUTOCONF@%$AUTOCONF%g 6388s%@AUTOMAKE@%$AUTOMAKE%g 6389s%@AUTOHEADER@%$AUTOHEADER%g 6390s%@MAKEINFO@%$MAKEINFO%g 6391s%@SET_MAKE@%$SET_MAKE%g 6392s%@LN_S@%$LN_S%g 6393s%@OBJEXT@%$OBJEXT%g 6394s%@EXEEXT@%$EXEEXT%g 6395s%@RANLIB@%$RANLIB%g 6396s%@STRIP@%$STRIP%g 6397s%@LIBTOOL@%$LIBTOOL%g 6398s%@WARN_CFLAGS@%$WARN_CFLAGS%g 6399s%@GDBINIT@%$GDBINIT%g 6400s%@cgen_cpu_prefix@%$cgen_cpu_prefix%g 6401s%@extra_objects@%$extra_objects%g 6402s%@target_cpu_type@%$target_cpu_type%g 6403s%@obj_format@%$obj_format%g 6404s%@te_file@%$te_file%g 6405s%@install_tooldir@%$install_tooldir%g 6406s%@atof@%$atof%g 6407s%@BFDLIB@%$BFDLIB%g 6408s%@OPCODES_LIB@%$OPCODES_LIB%g 6409s%@ALL_OBJ_DEPS@%$ALL_OBJ_DEPS%g 6410s%@YACC@%$YACC%g 6411s%@LEX@%$LEX%g 6412s%@LEXLIB@%$LEXLIB%g 6413s%@CPP@%$CPP%g 6414s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g 6415s%@ALLOCA@%$ALLOCA%g 6416s%@USE_NLS@%$USE_NLS%g 6417s%@MSGFMT@%$MSGFMT%g 6418s%@GMSGFMT@%$GMSGFMT%g 6419s%@XGETTEXT@%$XGETTEXT%g 6420s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g 6421s%@CATALOGS@%$CATALOGS%g 6422s%@CATOBJEXT@%$CATOBJEXT%g 6423s%@DATADIRNAME@%$DATADIRNAME%g 6424s%@GMOFILES@%$GMOFILES%g 6425s%@INSTOBJEXT@%$INSTOBJEXT%g 6426s%@INTLDEPS@%$INTLDEPS%g 6427s%@INTLLIBS@%$INTLLIBS%g 6428s%@INTLOBJS@%$INTLOBJS%g 6429s%@POFILES@%$POFILES%g 6430s%@POSUB@%$POSUB%g 6431s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g 6432s%@GT_NO@%$GT_NO%g 6433s%@GT_YES@%$GT_YES%g 6434s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g 6435s%@l@%$l%g 6436s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g 6437s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 6438s%@MAINT@%$MAINT%g 6439s%@LIBM@%$LIBM%g | |
6440 | 11068 |
6441CEOF 6442EOF | 11069# Name of the executable. 11070as_me=`$as_basename "$0" || 11071$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11072 X"$0" : 'X\(//\)$' \| \ 11073 X"$0" : 'X\(/\)$' \| \ 11074 . : '\(.\)' 2>/dev/null || 11075echo X/"$0" | 11076 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 11077 /^X\/\(\/\/\)$/{ s//\1/; q; } 11078 /^X\/\(\/\).*/{ s//\1/; q; } 11079 s/.*/./; q'` |
6443 | 11080 |
6444cat >> $CONFIG_STATUS <<\EOF | |
6445 | 11081 |
6446# Split the substitutions into bite-sized pieces for seds with 6447# small command number limits, like on Digital OSF/1 and HP-UX. 6448ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 6449ac_file=1 # Number of current file. 6450ac_beg=1 # First line for current file. 6451ac_end=$ac_max_sed_cmds # Line after last line for current file. 6452ac_more_lines=: 6453ac_sed_cmds="" 6454while $ac_more_lines; do 6455 if test $ac_beg -gt 1; then 6456 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file | 11082# PATH needs CR, and LINENO needs CR and PATH. 11083# Avoid depending upon Character Ranges. 11084as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11085as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11086as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11087as_cr_digits='0123456789' 11088as_cr_alnum=$as_cr_Letters$as_cr_digits 11089 11090# The user is always right. 11091if test "${PATH_SEPARATOR+set}" != set; then 11092 echo "#! /bin/sh" >conf$$.sh 11093 echo "exit 0" >>conf$$.sh 11094 chmod +x conf$$.sh 11095 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 11096 PATH_SEPARATOR=';' |
6457 else | 11097 else |
6458 sed "${ac_end}q" conftest.subs > conftest.s$ac_file | 11098 PATH_SEPARATOR=: |
6459 fi | 11099 fi |
6460 if test ! -s conftest.s$ac_file; then 6461 ac_more_lines=false 6462 rm -f conftest.s$ac_file | 11100 rm -f conf$$.sh 11101fi 11102 11103 11104 as_lineno_1=$LINENO 11105 as_lineno_2=$LINENO 11106 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 11107 test "x$as_lineno_1" != "x$as_lineno_2" && 11108 test "x$as_lineno_3" = "x$as_lineno_2" || { 11109 # Find who we are. Look in the path if we contain no path at all 11110 # relative or not. 11111 case $0 in 11112 *[\\/]* ) as_myself=$0 ;; 11113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11114for as_dir in $PATH 11115do 11116 IFS=$as_save_IFS 11117 test -z "$as_dir" && as_dir=. 11118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11119done 11120 11121 ;; 11122 esac 11123 # We did not find ourselves, most probably we were run as `sh COMMAND' 11124 # in which case we are not to be found in the path. 11125 if test "x$as_myself" = x; then 11126 as_myself=$0 11127 fi 11128 if test ! -f "$as_myself"; then 11129 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 11130echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 11131 { (exit 1); exit 1; }; } 11132 fi 11133 case $CONFIG_SHELL in 11134 '') 11135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11136for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 11137do 11138 IFS=$as_save_IFS 11139 test -z "$as_dir" && as_dir=. 11140 for as_base in sh bash ksh sh5; do 11141 case $as_dir in 11142 /*) 11143 if ("$as_dir/$as_base" -c ' 11144 as_lineno_1=$LINENO 11145 as_lineno_2=$LINENO 11146 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 11147 test "x$as_lineno_1" != "x$as_lineno_2" && 11148 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 11149 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 11150 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 11151 CONFIG_SHELL=$as_dir/$as_base 11152 export CONFIG_SHELL 11153 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 11154 fi;; 11155 esac 11156 done 11157done 11158;; 11159 esac 11160 11161 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 11162 # uniformly replaced by the line number. The first 'sed' inserts a 11163 # line-number line before each line; the second 'sed' does the real 11164 # work. The second script uses 'N' to pair each line-number line 11165 # with the numbered line, and appends trailing '-' during 11166 # substitution so that $LINENO is not a special case at line end. 11167 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 11168 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 11169 sed '=' <$as_myself | 11170 sed ' 11171 N 11172 s,$,-, 11173 : loop 11174 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 11175 t loop 11176 s,-$,, 11177 s,^['$as_cr_digits']*\n,, 11178 ' >$as_me.lineno && 11179 chmod +x $as_me.lineno || 11180 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 11181echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 11182 { (exit 1); exit 1; }; } 11183 11184 # Don't try to exec as it changes $[0], causing all sort of problems 11185 # (the dirname of $[0] is not the place where we might find the 11186 # original and so on. Autoconf is especially sensible to this). 11187 . ./$as_me.lineno 11188 # Exit status is that of the last command. 11189 exit 11190} 11191 11192 11193case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 11194 *c*,-n*) ECHO_N= ECHO_C=' 11195' ECHO_T=' ' ;; 11196 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 11197 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 11198esac 11199 11200if expr a : '\(a\)' >/dev/null 2>&1; then 11201 as_expr=expr 11202else 11203 as_expr=false 11204fi 11205 11206rm -f conf$$ conf$$.exe conf$$.file 11207echo >conf$$.file 11208if ln -s conf$$.file conf$$ 2>/dev/null; then 11209 # We could just check for DJGPP; but this test a) works b) is more generic 11210 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 11211 if test -f conf$$.exe; then 11212 # Don't use ln at all; we don't have any links 11213 as_ln_s='cp -p' |
6463 else | 11214 else |
6464 if test -z "$ac_sed_cmds"; then 6465 ac_sed_cmds="sed -f conftest.s$ac_file" 6466 else 6467 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 6468 fi 6469 ac_file=`expr $ac_file + 1` 6470 ac_beg=$ac_end 6471 ac_end=`expr $ac_end + $ac_max_sed_cmds` | 11215 as_ln_s='ln -s' |
6472 fi | 11216 fi |
11217elif ln conf$$.file conf$$ 2>/dev/null; then 11218 as_ln_s=ln 11219else 11220 as_ln_s='cp -p' 11221fi 11222rm -f conf$$ conf$$.exe conf$$.file 11223 11224if mkdir -p . 2>/dev/null; then 11225 as_mkdir_p=: 11226else 11227 test -d ./-p && rmdir ./-p 11228 as_mkdir_p=false 11229fi 11230 11231as_executable_p="test -f" 11232 11233# Sed expression to map a string onto a valid CPP name. 11234as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11235 11236# Sed expression to map a string onto a valid variable name. 11237as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11238 11239 11240# IFS 11241# We need space, tab and new line, in precisely that order. 11242as_nl=' 11243' 11244IFS=" $as_nl" 11245 11246# CDPATH. 11247$as_unset CDPATH 11248 11249exec 6>&1 11250 11251# Open the log real soon, to keep \$[0] and so on meaningful, and to 11252# report actual input values of CONFIG_FILES etc. instead of their 11253# values after options handling. Logging --version etc. is OK. 11254exec 5>>config.log 11255{ 11256 echo 11257 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11258## Running $as_me. ## 11259_ASBOX 11260} >&5 11261cat >&5 <<_CSEOF 11262 11263This file was extended by $as_me, which was 11264generated by GNU Autoconf 2.59. Invocation command line was 11265 11266 CONFIG_FILES = $CONFIG_FILES 11267 CONFIG_HEADERS = $CONFIG_HEADERS 11268 CONFIG_LINKS = $CONFIG_LINKS 11269 CONFIG_COMMANDS = $CONFIG_COMMANDS 11270 $ $0 $@ 11271 11272_CSEOF 11273echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 11274echo >&5 11275_ACEOF 11276 11277# Files that config.status was made for. 11278if test -n "$ac_config_files"; then 11279 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 11280fi 11281 11282if test -n "$ac_config_headers"; then 11283 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 11284fi 11285 11286if test -n "$ac_config_links"; then 11287 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 11288fi 11289 11290if test -n "$ac_config_commands"; then 11291 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 11292fi 11293 11294cat >>$CONFIG_STATUS <<\_ACEOF 11295 11296ac_cs_usage="\ 11297\`$as_me' instantiates files from templates according to the 11298current configuration. 11299 11300Usage: $0 [OPTIONS] [FILE]... 11301 11302 -h, --help print this help, then exit 11303 -V, --version print version number, then exit 11304 -q, --quiet do not print progress messages 11305 -d, --debug don't remove temporary files 11306 --recheck update $as_me by reconfiguring in the same conditions 11307 --file=FILE[:TEMPLATE] 11308 instantiate the configuration file FILE 11309 --header=FILE[:TEMPLATE] 11310 instantiate the configuration header FILE 11311 11312Configuration files: 11313$config_files 11314 11315Configuration headers: 11316$config_headers 11317 11318Configuration commands: 11319$config_commands 11320 11321Report bugs to <bug-autoconf@gnu.org>." 11322_ACEOF 11323 11324cat >>$CONFIG_STATUS <<_ACEOF 11325ac_cs_version="\\ 11326config.status 11327configured by $0, generated by GNU Autoconf 2.59, 11328 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 11329 11330Copyright (C) 2003 Free Software Foundation, Inc. 11331This config.status script is free software; the Free Software Foundation 11332gives unlimited permission to copy, distribute and modify it." 11333srcdir=$srcdir 11334INSTALL="$INSTALL" 11335_ACEOF 11336 11337cat >>$CONFIG_STATUS <<\_ACEOF 11338# If no file are specified by the user, then we need to provide default 11339# value. By we need to know if files were specified by the user. 11340ac_need_defaults=: 11341while test $# != 0 11342do 11343 case $1 in 11344 --*=*) 11345 ac_option=`expr "x$1" : 'x\([^=]*\)='` 11346 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 11347 ac_shift=: 11348 ;; 11349 -*) 11350 ac_option=$1 11351 ac_optarg=$2 11352 ac_shift=shift 11353 ;; 11354 *) # This is not an option, so the user has probably given explicit 11355 # arguments. 11356 ac_option=$1 11357 ac_need_defaults=false;; 11358 esac 11359 11360 case $ac_option in 11361 # Handling of the options. 11362_ACEOF 11363cat >>$CONFIG_STATUS <<\_ACEOF 11364 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11365 ac_cs_recheck=: ;; 11366 --version | --vers* | -V ) 11367 echo "$ac_cs_version"; exit 0 ;; 11368 --he | --h) 11369 # Conflict between --help and --header 11370 { { echo "$as_me:$LINENO: error: ambiguous option: $1 11371Try \`$0 --help' for more information." >&5 11372echo "$as_me: error: ambiguous option: $1 11373Try \`$0 --help' for more information." >&2;} 11374 { (exit 1); exit 1; }; };; 11375 --help | --hel | -h ) 11376 echo "$ac_cs_usage"; exit 0 ;; 11377 --debug | --d* | -d ) 11378 debug=: ;; 11379 --file | --fil | --fi | --f ) 11380 $ac_shift 11381 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 11382 ac_need_defaults=false;; 11383 --header | --heade | --head | --hea ) 11384 $ac_shift 11385 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 11386 ac_need_defaults=false;; 11387 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11388 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11389 ac_cs_silent=: ;; 11390 11391 # This is an error. 11392 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 11393Try \`$0 --help' for more information." >&5 11394echo "$as_me: error: unrecognized option: $1 11395Try \`$0 --help' for more information." >&2;} 11396 { (exit 1); exit 1; }; } ;; 11397 11398 *) ac_config_targets="$ac_config_targets $1" ;; 11399 11400 esac 11401 shift |
|
6473done | 11402done |
6474if test -z "$ac_sed_cmds"; then 6475 ac_sed_cmds=cat | 11403 11404ac_configure_extra_args= 11405 11406if $ac_cs_silent; then 11407 exec 6>/dev/null 11408 ac_configure_extra_args="$ac_configure_extra_args --silent" |
6476fi | 11409fi |
6477EOF | |
6478 | 11410 |
6479cat >> $CONFIG_STATUS <<EOF | 11411_ACEOF 11412cat >>$CONFIG_STATUS <<_ACEOF 11413if \$ac_cs_recheck; then 11414 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 11415 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11416fi |
6480 | 11417 |
6481CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile ${GDBINIT}:gdbinit.in po/Makefile.in:po/Make-in"} 6482EOF 6483cat >> $CONFIG_STATUS <<\EOF 6484for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 6485 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6486 case "$ac_file" in 6487 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 6488 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 6489 *) ac_file_in="${ac_file}.in" ;; | 11418_ACEOF 11419 11420cat >>$CONFIG_STATUS <<_ACEOF 11421# 11422# INIT-COMMANDS section. 11423# 11424 11425AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 11426target_cpu_type=${target_cpu_type} 11427 cgen_cpu_prefix=${cgen_cpu_prefix} 11428 obj_format=${obj_format} 11429 te_file=${te_file} 11430 11431_ACEOF 11432 11433 11434 11435cat >>$CONFIG_STATUS <<\_ACEOF 11436for ac_config_target in $ac_config_targets 11437do 11438 case "$ac_config_target" in 11439 # Handling of arguments. 11440 "gdb.ini" ) CONFIG_FILES="$CONFIG_FILES gdb.ini:gdbinit.in" ;; 11441 ".gdbinit" ) CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;; 11442 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 11443 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 11444 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;; 11445 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 11446 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 11447 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; 11448 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 11449echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 11450 { (exit 1); exit 1; }; };; |
6490 esac | 11451 esac |
11452done |
|
6491 | 11453 |
6492 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. | 11454# If the user did not use the arguments to specify the items to instantiate, 11455# then the envvar interface is used. Set only those that are not. 11456# We use the long form for the default assignment because of an extremely 11457# bizarre bug on SunOS 4.1.3. 11458if $ac_need_defaults; then 11459 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11460 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 11461 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11462fi |
6493 | 11463 |
6494 # Remove last slash and all that follows it. Not all systems have dirname. 6495 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 6496 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 6497 # The file is in a subdirectory. 6498 test ! -d "$ac_dir" && mkdir "$ac_dir" 6499 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 6500 # A "../" for each directory in $ac_dir_suffix. 6501 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 6502 else 6503 ac_dir_suffix= ac_dots= | 11464# Have a temporary directory for convenience. Make it in the build tree 11465# simply because there is no reason to put it here, and in addition, 11466# creating and moving files from /tmp can sometimes cause problems. 11467# Create a temporary directory, and hook for its removal unless debugging. 11468$debug || 11469{ 11470 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 11471 trap '{ (exit 1); exit 1; }' 1 2 13 15 11472} 11473 11474# Create a (secure) tmp directory for tmp files. 11475 11476{ 11477 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 11478 test -n "$tmp" && test -d "$tmp" 11479} || 11480{ 11481 tmp=./confstat$$-$RANDOM 11482 (umask 077 && mkdir $tmp) 11483} || 11484{ 11485 echo "$me: cannot create a temporary directory in ." >&2 11486 { (exit 1); exit 1; } 11487} 11488 11489_ACEOF 11490 11491cat >>$CONFIG_STATUS <<_ACEOF 11492 11493# 11494# CONFIG_FILES section. 11495# 11496 11497# No need to generate the scripts if there are no CONFIG_FILES. 11498# This happens for instance when ./config.status config.h 11499if test -n "\$CONFIG_FILES"; then 11500 # Protect against being on the right side of a sed subst in config.status. 11501 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 11502 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 11503s,@SHELL@,$SHELL,;t t 11504s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 11505s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 11506s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 11507s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 11508s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 11509s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 11510s,@exec_prefix@,$exec_prefix,;t t 11511s,@prefix@,$prefix,;t t 11512s,@program_transform_name@,$program_transform_name,;t t 11513s,@bindir@,$bindir,;t t 11514s,@sbindir@,$sbindir,;t t 11515s,@libexecdir@,$libexecdir,;t t 11516s,@datadir@,$datadir,;t t 11517s,@sysconfdir@,$sysconfdir,;t t 11518s,@sharedstatedir@,$sharedstatedir,;t t 11519s,@localstatedir@,$localstatedir,;t t 11520s,@libdir@,$libdir,;t t 11521s,@includedir@,$includedir,;t t 11522s,@oldincludedir@,$oldincludedir,;t t 11523s,@infodir@,$infodir,;t t 11524s,@mandir@,$mandir,;t t 11525s,@build_alias@,$build_alias,;t t 11526s,@host_alias@,$host_alias,;t t 11527s,@target_alias@,$target_alias,;t t 11528s,@DEFS@,$DEFS,;t t 11529s,@ECHO_C@,$ECHO_C,;t t 11530s,@ECHO_N@,$ECHO_N,;t t 11531s,@ECHO_T@,$ECHO_T,;t t 11532s,@LIBS@,$LIBS,;t t 11533s,@build@,$build,;t t 11534s,@build_cpu@,$build_cpu,;t t 11535s,@build_vendor@,$build_vendor,;t t 11536s,@build_os@,$build_os,;t t 11537s,@host@,$host,;t t 11538s,@host_cpu@,$host_cpu,;t t 11539s,@host_vendor@,$host_vendor,;t t 11540s,@host_os@,$host_os,;t t 11541s,@target@,$target,;t t 11542s,@target_cpu@,$target_cpu,;t t 11543s,@target_vendor@,$target_vendor,;t t 11544s,@target_os@,$target_os,;t t 11545s,@CC@,$CC,;t t 11546s,@CFLAGS@,$CFLAGS,;t t 11547s,@LDFLAGS@,$LDFLAGS,;t t 11548s,@CPPFLAGS@,$CPPFLAGS,;t t 11549s,@ac_ct_CC@,$ac_ct_CC,;t t 11550s,@EXEEXT@,$EXEEXT,;t t 11551s,@OBJEXT@,$OBJEXT,;t t 11552s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 11553s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 11554s,@INSTALL_DATA@,$INSTALL_DATA,;t t 11555s,@CYGPATH_W@,$CYGPATH_W,;t t 11556s,@PACKAGE@,$PACKAGE,;t t 11557s,@VERSION@,$VERSION,;t t 11558s,@ACLOCAL@,$ACLOCAL,;t t 11559s,@AUTOCONF@,$AUTOCONF,;t t 11560s,@AUTOMAKE@,$AUTOMAKE,;t t 11561s,@AUTOHEADER@,$AUTOHEADER,;t t 11562s,@MAKEINFO@,$MAKEINFO,;t t 11563s,@AMTAR@,$AMTAR,;t t 11564s,@install_sh@,$install_sh,;t t 11565s,@STRIP@,$STRIP,;t t 11566s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 11567s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 11568s,@mkdir_p@,$mkdir_p,;t t 11569s,@AWK@,$AWK,;t t 11570s,@SET_MAKE@,$SET_MAKE,;t t 11571s,@am__leading_dot@,$am__leading_dot,;t t 11572s,@DEPDIR@,$DEPDIR,;t t 11573s,@am__include@,$am__include,;t t 11574s,@am__quote@,$am__quote,;t t 11575s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 11576s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 11577s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 11578s,@CCDEPMODE@,$CCDEPMODE,;t t 11579s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 11580s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 11581s,@LN_S@,$LN_S,;t t 11582s,@RANLIB@,$RANLIB,;t t 11583s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 11584s,@LIBTOOL@,$LIBTOOL,;t t 11585s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t 11586s,@GDBINIT@,$GDBINIT,;t t 11587s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t 11588s,@extra_objects@,$extra_objects,;t t 11589s,@target_cpu_type@,$target_cpu_type,;t t 11590s,@obj_format@,$obj_format,;t t 11591s,@te_file@,$te_file,;t t 11592s,@install_tooldir@,$install_tooldir,;t t 11593s,@atof@,$atof,;t t 11594s,@BFDLIB@,$BFDLIB,;t t 11595s,@OPCODES_LIB@,$OPCODES_LIB,;t t 11596s,@BFDVER_H@,$BFDVER_H,;t t 11597s,@ALL_OBJ_DEPS@,$ALL_OBJ_DEPS,;t t 11598s,@YACC@,$YACC,;t t 11599s,@LEX@,$LEX,;t t 11600s,@LEXLIB@,$LEXLIB,;t t 11601s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t 11602s,@CPP@,$CPP,;t t 11603s,@EGREP@,$EGREP,;t t 11604s,@ALLOCA@,$ALLOCA,;t t 11605s,@USE_NLS@,$USE_NLS,;t t 11606s,@MSGFMT@,$MSGFMT,;t t 11607s,@GMSGFMT@,$GMSGFMT,;t t 11608s,@XGETTEXT@,$XGETTEXT,;t t 11609s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t 11610s,@CATALOGS@,$CATALOGS,;t t 11611s,@CATOBJEXT@,$CATOBJEXT,;t t 11612s,@DATADIRNAME@,$DATADIRNAME,;t t 11613s,@GMOFILES@,$GMOFILES,;t t 11614s,@INSTOBJEXT@,$INSTOBJEXT,;t t 11615s,@INTLDEPS@,$INTLDEPS,;t t 11616s,@INTLLIBS@,$INTLLIBS,;t t 11617s,@INTLOBJS@,$INTLOBJS,;t t 11618s,@POFILES@,$POFILES,;t t 11619s,@POSUB@,$POSUB,;t t 11620s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t 11621s,@GT_NO@,$GT_NO,;t t 11622s,@GT_YES@,$GT_YES,;t t 11623s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t 11624s,@l@,$l,;t t 11625s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 11626s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 11627s,@MAINT@,$MAINT,;t t 11628s,@LIBM@,$LIBM,;t t 11629s,@LIBOBJS@,$LIBOBJS,;t t 11630s,@LTLIBOBJS@,$LTLIBOBJS,;t t 11631CEOF 11632 11633_ACEOF 11634 11635 cat >>$CONFIG_STATUS <<\_ACEOF 11636 # Split the substitutions into bite-sized pieces for seds with 11637 # small command number limits, like on Digital OSF/1 and HP-UX. 11638 ac_max_sed_lines=48 11639 ac_sed_frag=1 # Number of current file. 11640 ac_beg=1 # First line for current file. 11641 ac_end=$ac_max_sed_lines # Line after last line for current file. 11642 ac_more_lines=: 11643 ac_sed_cmds= 11644 while $ac_more_lines; do 11645 if test $ac_beg -gt 1; then 11646 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 11647 else 11648 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 11649 fi 11650 if test ! -s $tmp/subs.frag; then 11651 ac_more_lines=false 11652 else 11653 # The purpose of the label and of the branching condition is to 11654 # speed up the sed processing (if there are no `@' at all, there 11655 # is no need to browse any of the substitutions). 11656 # These are the two extra sed commands mentioned above. 11657 (echo ':t 11658 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 11659 if test -z "$ac_sed_cmds"; then 11660 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 11661 else 11662 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 11663 fi 11664 ac_sed_frag=`expr $ac_sed_frag + 1` 11665 ac_beg=$ac_end 11666 ac_end=`expr $ac_end + $ac_max_sed_lines` 11667 fi 11668 done 11669 if test -z "$ac_sed_cmds"; then 11670 ac_sed_cmds=cat |
6504 fi | 11671 fi |
11672fi # test -n "$CONFIG_FILES" |
|
6505 | 11673 |
6506 case "$ac_given_srcdir" in 6507 .) srcdir=. 6508 if test -z "$ac_dots"; then top_srcdir=. 6509 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 6510 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 6511 *) # Relative path. 6512 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 6513 top_srcdir="$ac_dots$ac_given_srcdir" ;; | 11674_ACEOF 11675cat >>$CONFIG_STATUS <<\_ACEOF 11676for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 11677 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 11678 case $ac_file in 11679 - | *:- | *:-:* ) # input from stdin 11680 cat >$tmp/stdin 11681 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11682 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11683 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11684 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11685 * ) ac_file_in=$ac_file.in ;; |
6514 esac 6515 | 11686 esac 11687 |
6516 case "$ac_given_INSTALL" in 6517 [/$]*) INSTALL="$ac_given_INSTALL" ;; 6518 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 6519 esac | 11688 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 11689 ac_dir=`(dirname "$ac_file") 2>/dev/null || 11690$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11691 X"$ac_file" : 'X\(//\)[^/]' \| \ 11692 X"$ac_file" : 'X\(//\)$' \| \ 11693 X"$ac_file" : 'X\(/\)' \| \ 11694 . : '\(.\)' 2>/dev/null || 11695echo X"$ac_file" | 11696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11697 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11698 /^X\(\/\/\)$/{ s//\1/; q; } 11699 /^X\(\/\).*/{ s//\1/; q; } 11700 s/.*/./; q'` 11701 { if $as_mkdir_p; then 11702 mkdir -p "$ac_dir" 11703 else 11704 as_dir="$ac_dir" 11705 as_dirs= 11706 while test ! -d "$as_dir"; do 11707 as_dirs="$as_dir $as_dirs" 11708 as_dir=`(dirname "$as_dir") 2>/dev/null || 11709$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11710 X"$as_dir" : 'X\(//\)[^/]' \| \ 11711 X"$as_dir" : 'X\(//\)$' \| \ 11712 X"$as_dir" : 'X\(/\)' \| \ 11713 . : '\(.\)' 2>/dev/null || 11714echo X"$as_dir" | 11715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11717 /^X\(\/\/\)$/{ s//\1/; q; } 11718 /^X\(\/\).*/{ s//\1/; q; } 11719 s/.*/./; q'` 11720 done 11721 test ! -n "$as_dirs" || mkdir $as_dirs 11722 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 11723echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 11724 { (exit 1); exit 1; }; }; } |
6520 | 11725 |
6521 echo creating "$ac_file" 6522 rm -f "$ac_file" 6523 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 6524 case "$ac_file" in 6525 *Makefile*) ac_comsub="1i\\ 6526# $configure_input" ;; 6527 *) ac_comsub= ;; | 11726 ac_builddir=. 11727 11728if test "$ac_dir" != .; then 11729 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 11730 # A "../" for each directory in $ac_dir_suffix. 11731 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 11732else 11733 ac_dir_suffix= ac_top_builddir= 11734fi 11735 11736case $srcdir in 11737 .) # No --srcdir option. We are building in place. 11738 ac_srcdir=. 11739 if test -z "$ac_top_builddir"; then 11740 ac_top_srcdir=. 11741 else 11742 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 11743 fi ;; 11744 [\\/]* | ?:[\\/]* ) # Absolute path. 11745 ac_srcdir=$srcdir$ac_dir_suffix; 11746 ac_top_srcdir=$srcdir ;; 11747 *) # Relative path. 11748 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 11749 ac_top_srcdir=$ac_top_builddir$srcdir ;; 11750esac 11751 11752# Do not use `cd foo && pwd` to compute absolute paths, because 11753# the directories may not exist. 11754case `pwd` in 11755.) ac_abs_builddir="$ac_dir";; 11756*) 11757 case "$ac_dir" in 11758 .) ac_abs_builddir=`pwd`;; 11759 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 11760 *) ac_abs_builddir=`pwd`/"$ac_dir";; 11761 esac;; 11762esac 11763case $ac_abs_builddir in 11764.) ac_abs_top_builddir=${ac_top_builddir}.;; 11765*) 11766 case ${ac_top_builddir}. in 11767 .) ac_abs_top_builddir=$ac_abs_builddir;; 11768 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 11769 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 11770 esac;; 11771esac 11772case $ac_abs_builddir in 11773.) ac_abs_srcdir=$ac_srcdir;; 11774*) 11775 case $ac_srcdir in 11776 .) ac_abs_srcdir=$ac_abs_builddir;; 11777 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 11778 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 11779 esac;; 11780esac 11781case $ac_abs_builddir in 11782.) ac_abs_top_srcdir=$ac_top_srcdir;; 11783*) 11784 case $ac_top_srcdir in 11785 .) ac_abs_top_srcdir=$ac_abs_builddir;; 11786 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 11787 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 11788 esac;; 11789esac 11790 11791 11792 case $INSTALL in 11793 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11794 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
6528 esac 6529 | 11795 esac 11796 |
6530 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 6531 sed -e "$ac_comsub 6532s%@configure_input@%$configure_input%g 6533s%@srcdir@%$srcdir%g 6534s%@top_srcdir@%$top_srcdir%g 6535s%@INSTALL@%$INSTALL%g 6536" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 6537fi; done 6538rm -f conftest.s* | 11797 # Let's still pretend it is `configure' which instantiates (i.e., don't 11798 # use $as_me), people would be surprised to read: 11799 # /* config.h. Generated by config.status. */ 11800 if test x"$ac_file" = x-; then 11801 configure_input= 11802 else 11803 configure_input="$ac_file. " 11804 fi 11805 configure_input=$configure_input"Generated from `echo $ac_file_in | 11806 sed 's,.*/,,'` by configure." |
6539 | 11807 |
11808 # First look for the input files in the build tree, otherwise in the 11809 # src tree. 11810 ac_file_inputs=`IFS=: 11811 for f in $ac_file_in; do 11812 case $f in 11813 -) echo $tmp/stdin ;; 11814 [\\/$]*) 11815 # Absolute (can't be DOS-style, as IFS=:) 11816 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11817echo "$as_me: error: cannot find input file: $f" >&2;} 11818 { (exit 1); exit 1; }; } 11819 echo "$f";; 11820 *) # Relative 11821 if test -f "$f"; then 11822 # Build tree 11823 echo "$f" 11824 elif test -f "$srcdir/$f"; then 11825 # Source tree 11826 echo "$srcdir/$f" 11827 else 11828 # /dev/null tree 11829 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11830echo "$as_me: error: cannot find input file: $f" >&2;} 11831 { (exit 1); exit 1; }; } 11832 fi;; 11833 esac 11834 done` || { (exit 1); exit 1; } 11835 11836 if test x"$ac_file" != x-; then 11837 { echo "$as_me:$LINENO: creating $ac_file" >&5 11838echo "$as_me: creating $ac_file" >&6;} 11839 rm -f "$ac_file" 11840 fi 11841_ACEOF 11842cat >>$CONFIG_STATUS <<_ACEOF 11843 sed "$ac_vpsub 11844$extrasub 11845_ACEOF 11846cat >>$CONFIG_STATUS <<\_ACEOF 11847:t 11848/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 11849s,@configure_input@,$configure_input,;t t 11850s,@srcdir@,$ac_srcdir,;t t 11851s,@abs_srcdir@,$ac_abs_srcdir,;t t 11852s,@top_srcdir@,$ac_top_srcdir,;t t 11853s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 11854s,@builddir@,$ac_builddir,;t t 11855s,@abs_builddir@,$ac_abs_builddir,;t t 11856s,@top_builddir@,$ac_top_builddir,;t t 11857s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 11858s,@INSTALL@,$ac_INSTALL,;t t 11859" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 11860 rm -f $tmp/stdin 11861 if test x"$ac_file" != x-; then 11862 mv $tmp/out $ac_file 11863 else 11864 cat $tmp/out 11865 rm -f $tmp/out 11866 fi 11867 11868done 11869_ACEOF 11870cat >>$CONFIG_STATUS <<\_ACEOF 11871 11872# 11873# CONFIG_HEADER section. 11874# 11875 |
|
6540# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 6541# NAME is the cpp macro being defined and VALUE is the value it is being given. 6542# 6543# ac_d sets the value in "#define NAME VALUE" lines. | 11876# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 11877# NAME is the cpp macro being defined and VALUE is the value it is being given. 11878# 11879# ac_d sets the value in "#define NAME VALUE" lines. |
6544ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' 6545ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' 6546ac_dC='\3' 6547ac_dD='%g' 6548# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". 6549ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 6550ac_uB='\([ ]\)%\1#\2define\3' | 11880ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 11881ac_dB='[ ].*$,\1#\2' 11882ac_dC=' ' 11883ac_dD=',;t' 11884# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 11885ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 11886ac_uB='$,\1#\2define\3' |
6551ac_uC=' ' | 11887ac_uC=' ' |
6552ac_uD='\4%g' 6553# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 6554ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 6555ac_eB='$%\1#\2define\3' 6556ac_eC=' ' 6557ac_eD='%g' | 11888ac_uD=',;t' |
6558 | 11889 |
6559if test "${CONFIG_HEADERS+set}" != set; then 6560EOF 6561cat >> $CONFIG_STATUS <<EOF 6562 CONFIG_HEADERS="config.h:config.in" 6563EOF 6564cat >> $CONFIG_STATUS <<\EOF 6565fi 6566for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | 11890for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
6567 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 11891 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
6568 case "$ac_file" in 6569 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 6570 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 6571 *) ac_file_in="${ac_file}.in" ;; | 11892 case $ac_file in 11893 - | *:- | *:-:* ) # input from stdin 11894 cat >$tmp/stdin 11895 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11896 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11897 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11898 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11899 * ) ac_file_in=$ac_file.in ;; |
6572 esac 6573 | 11900 esac 11901 |
6574 echo creating $ac_file | 11902 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 11903echo "$as_me: creating $ac_file" >&6;} |
6575 | 11904 |
6576 rm -f conftest.frag conftest.in conftest.out 6577 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 6578 cat $ac_file_inputs > conftest.in | 11905 # First look for the input files in the build tree, otherwise in the 11906 # src tree. 11907 ac_file_inputs=`IFS=: 11908 for f in $ac_file_in; do 11909 case $f in 11910 -) echo $tmp/stdin ;; 11911 [\\/$]*) 11912 # Absolute (can't be DOS-style, as IFS=:) 11913 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11914echo "$as_me: error: cannot find input file: $f" >&2;} 11915 { (exit 1); exit 1; }; } 11916 # Do quote $f, to prevent DOS paths from being IFS'd. 11917 echo "$f";; 11918 *) # Relative 11919 if test -f "$f"; then 11920 # Build tree 11921 echo "$f" 11922 elif test -f "$srcdir/$f"; then 11923 # Source tree 11924 echo "$srcdir/$f" 11925 else 11926 # /dev/null tree 11927 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 11928echo "$as_me: error: cannot find input file: $f" >&2;} 11929 { (exit 1); exit 1; }; } 11930 fi;; 11931 esac 11932 done` || { (exit 1); exit 1; } 11933 # Remove the trailing spaces. 11934 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
6579 | 11935 |
6580EOF | 11936_ACEOF |
6581 | 11937 |
6582# Transform confdefs.h into a sed script conftest.vals that substitutes 6583# the proper values into config.h.in to produce config.h. And first: 6584# Protect against being on the right side of a sed subst in config.status. 6585# Protect against being in an unquoted here document in config.status. 6586rm -f conftest.vals 6587cat > conftest.hdr <<\EOF 6588s/[\\&%]/\\&/g 6589s%[\\$`]%\\&%g 6590s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 6591s%ac_d%ac_u%gp 6592s%ac_u%ac_e%gp 6593EOF 6594sed -n -f conftest.hdr confdefs.h > conftest.vals 6595rm -f conftest.hdr | 11938# Transform confdefs.h into two sed scripts, `conftest.defines' and 11939# `conftest.undefs', that substitutes the proper values into 11940# config.h.in to produce config.h. The first handles `#define' 11941# templates, and the second `#undef' templates. 11942# And first: Protect against being on the right side of a sed subst in 11943# config.status. Protect against being in an unquoted here document 11944# in config.status. 11945rm -f conftest.defines conftest.undefs 11946# Using a here document instead of a string reduces the quoting nightmare. 11947# Putting comments in sed scripts is not portable. 11948# 11949# `end' is used to avoid that the second main sed command (meant for 11950# 0-ary CPP macros) applies to n-ary macro definitions. 11951# See the Autoconf documentation for `clear'. 11952cat >confdef2sed.sed <<\_ACEOF 11953s/[\\&,]/\\&/g 11954s,[\\$`],\\&,g 11955t clear 11956: clear 11957s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 11958t end 11959s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 11960: end 11961_ACEOF 11962# If some macros were called several times there might be several times 11963# the same #defines, which is useless. Nevertheless, we may not want to 11964# sort them, since we want the *last* AC-DEFINE to be honored. 11965uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 11966sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 11967rm -f confdef2sed.sed |
6596 6597# This sed command replaces #undef with comments. This is necessary, for 6598# example, in the case of _POSIX_SOURCE, which is predefined and required 6599# on some systems where configure will not decide to define it. | 11968 11969# This sed command replaces #undef with comments. This is necessary, for 11970# example, in the case of _POSIX_SOURCE, which is predefined and required 11971# on some systems where configure will not decide to define it. |
6600cat >> conftest.vals <<\EOF 6601s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 6602EOF | 11972cat >>conftest.undefs <<\_ACEOF 11973s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 11974_ACEOF |
6603 | 11975 |
6604# Break up conftest.vals because some shells have a limit on 6605# the size of here documents, and old seds have small limits too. | 11976# Break up conftest.defines because some shells have a limit on the size 11977# of here documents, and old seds have small limits too (100 cmds). 11978echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 11979echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 11980echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 11981echo ' :' >>$CONFIG_STATUS 11982rm -f conftest.tail 11983while grep . conftest.defines >/dev/null 11984do 11985 # Write a limited-size here document to $tmp/defines.sed. 11986 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 11987 # Speed up: don't consider the non `#define' lines. 11988 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 11989 # Work around the forget-to-reset-the-flag bug. 11990 echo 't clr' >>$CONFIG_STATUS 11991 echo ': clr' >>$CONFIG_STATUS 11992 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 11993 echo 'CEOF 11994 sed -f $tmp/defines.sed $tmp/in >$tmp/out 11995 rm -f $tmp/in 11996 mv $tmp/out $tmp/in 11997' >>$CONFIG_STATUS 11998 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 11999 rm -f conftest.defines 12000 mv conftest.tail conftest.defines 12001done 12002rm -f conftest.defines 12003echo ' fi # grep' >>$CONFIG_STATUS 12004echo >>$CONFIG_STATUS |
6606 | 12005 |
12006# Break up conftest.undefs because some shells have a limit on the size 12007# of here documents, and old seds have small limits too (100 cmds). 12008echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
6607rm -f conftest.tail | 12009rm -f conftest.tail |
6608while : | 12010while grep . conftest.undefs >/dev/null |
6609do | 12011do |
6610 ac_lines=`grep -c . conftest.vals` 6611 # grep -c gives empty output for an empty file on some AIX systems. 6612 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi 6613 # Write a limited-size here document to conftest.frag. 6614 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS 6615 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS | 12012 # Write a limited-size here document to $tmp/undefs.sed. 12013 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 12014 # Speed up: don't consider the non `#undef' 12015 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 12016 # Work around the forget-to-reset-the-flag bug. 12017 echo 't clr' >>$CONFIG_STATUS 12018 echo ': clr' >>$CONFIG_STATUS 12019 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
6616 echo 'CEOF | 12020 echo 'CEOF |
6617 sed -f conftest.frag conftest.in > conftest.out 6618 rm -f conftest.in 6619 mv conftest.out conftest.in 6620' >> $CONFIG_STATUS 6621 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail 6622 rm -f conftest.vals 6623 mv conftest.tail conftest.vals | 12021 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 12022 rm -f $tmp/in 12023 mv $tmp/out $tmp/in 12024' >>$CONFIG_STATUS 12025 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 12026 rm -f conftest.undefs 12027 mv conftest.tail conftest.undefs |
6624done | 12028done |
6625rm -f conftest.vals | 12029rm -f conftest.undefs |
6626 | 12030 |
6627cat >> $CONFIG_STATUS <<\EOF 6628 rm -f conftest.frag conftest.h 6629 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h 6630 cat conftest.in >> conftest.h 6631 rm -f conftest.in 6632 if cmp -s $ac_file conftest.h 2>/dev/null; then 6633 echo "$ac_file is unchanged" 6634 rm -f conftest.h | 12031cat >>$CONFIG_STATUS <<\_ACEOF 12032 # Let's still pretend it is `configure' which instantiates (i.e., don't 12033 # use $as_me), people would be surprised to read: 12034 # /* config.h. Generated by config.status. */ 12035 if test x"$ac_file" = x-; then 12036 echo "/* Generated by configure. */" >$tmp/config.h |
6635 else | 12037 else |
6636 # Remove last slash and all that follows it. Not all systems have dirname. 6637 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 6638 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 6639 # The file is in a subdirectory. 6640 test ! -d "$ac_dir" && mkdir "$ac_dir" | 12038 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 12039 fi 12040 cat $tmp/in >>$tmp/config.h 12041 rm -f $tmp/in 12042 if test x"$ac_file" != x-; then 12043 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 12044 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 12045echo "$as_me: $ac_file is unchanged" >&6;} 12046 else 12047 ac_dir=`(dirname "$ac_file") 2>/dev/null || 12048$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12049 X"$ac_file" : 'X\(//\)[^/]' \| \ 12050 X"$ac_file" : 'X\(//\)$' \| \ 12051 X"$ac_file" : 'X\(/\)' \| \ 12052 . : '\(.\)' 2>/dev/null || 12053echo X"$ac_file" | 12054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12055 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12056 /^X\(\/\/\)$/{ s//\1/; q; } 12057 /^X\(\/\).*/{ s//\1/; q; } 12058 s/.*/./; q'` 12059 { if $as_mkdir_p; then 12060 mkdir -p "$ac_dir" 12061 else 12062 as_dir="$ac_dir" 12063 as_dirs= 12064 while test ! -d "$as_dir"; do 12065 as_dirs="$as_dir $as_dirs" 12066 as_dir=`(dirname "$as_dir") 2>/dev/null || 12067$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12068 X"$as_dir" : 'X\(//\)[^/]' \| \ 12069 X"$as_dir" : 'X\(//\)$' \| \ 12070 X"$as_dir" : 'X\(/\)' \| \ 12071 . : '\(.\)' 2>/dev/null || 12072echo X"$as_dir" | 12073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12074 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12075 /^X\(\/\/\)$/{ s//\1/; q; } 12076 /^X\(\/\).*/{ s//\1/; q; } 12077 s/.*/./; q'` 12078 done 12079 test ! -n "$as_dirs" || mkdir $as_dirs 12080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 12081echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 12082 { (exit 1); exit 1; }; }; } 12083 12084 rm -f $ac_file 12085 mv $tmp/config.h $ac_file |
6641 fi | 12086 fi |
6642 rm -f $ac_file 6643 mv conftest.h $ac_file | 12087 else 12088 cat $tmp/config.h 12089 rm -f $tmp/config.h |
6644 fi | 12090 fi |
6645fi; done | 12091# Compute $ac_file's index in $config_headers. 12092_am_stamp_count=1 12093for _am_header in $config_headers :; do 12094 case $_am_header in 12095 $ac_file | $ac_file:* ) 12096 break ;; 12097 * ) 12098 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 12099 esac 12100done 12101echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 12102$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12103 X$ac_file : 'X\(//\)[^/]' \| \ 12104 X$ac_file : 'X\(//\)$' \| \ 12105 X$ac_file : 'X\(/\)' \| \ 12106 . : '\(.\)' 2>/dev/null || 12107echo X$ac_file | 12108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12109 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12110 /^X\(\/\/\)$/{ s//\1/; q; } 12111 /^X\(\/\).*/{ s//\1/; q; } 12112 s/.*/./; q'`/stamp-h$_am_stamp_count 12113done 12114_ACEOF 12115cat >>$CONFIG_STATUS <<\_ACEOF |
6646 | 12116 |
6647EOF 6648cat >> $CONFIG_STATUS <<EOF | 12117# 12118# CONFIG_COMMANDS section. 12119# 12120for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 12121 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 12122 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 12123 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 12124$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12125 X"$ac_dest" : 'X\(//\)[^/]' \| \ 12126 X"$ac_dest" : 'X\(//\)$' \| \ 12127 X"$ac_dest" : 'X\(/\)' \| \ 12128 . : '\(.\)' 2>/dev/null || 12129echo X"$ac_dest" | 12130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12131 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12132 /^X\(\/\/\)$/{ s//\1/; q; } 12133 /^X\(\/\).*/{ s//\1/; q; } 12134 s/.*/./; q'` 12135 { if $as_mkdir_p; then 12136 mkdir -p "$ac_dir" 12137 else 12138 as_dir="$ac_dir" 12139 as_dirs= 12140 while test ! -d "$as_dir"; do 12141 as_dirs="$as_dir $as_dirs" 12142 as_dir=`(dirname "$as_dir") 2>/dev/null || 12143$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12144 X"$as_dir" : 'X\(//\)[^/]' \| \ 12145 X"$as_dir" : 'X\(//\)$' \| \ 12146 X"$as_dir" : 'X\(/\)' \| \ 12147 . : '\(.\)' 2>/dev/null || 12148echo X"$as_dir" | 12149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12150 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12151 /^X\(\/\/\)$/{ s//\1/; q; } 12152 /^X\(\/\).*/{ s//\1/; q; } 12153 s/.*/./; q'` 12154 done 12155 test ! -n "$as_dirs" || mkdir $as_dirs 12156 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 12157echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 12158 { (exit 1); exit 1; }; }; } |
6649 | 12159 |
6650target_cpu_type=${target_cpu_type} 6651 cgen_cpu_prefix=${cgen_cpu_prefix} 6652 obj_format=${obj_format} 6653 te_file=${te_file} 6654EOF 6655cat >> $CONFIG_STATUS <<\EOF 6656test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 6657rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h | 12160 ac_builddir=. 12161 12162if test "$ac_dir" != .; then 12163 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 12164 # A "../" for each directory in $ac_dir_suffix. 12165 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 12166else 12167 ac_dir_suffix= ac_top_builddir= 12168fi 12169 12170case $srcdir in 12171 .) # No --srcdir option. We are building in place. 12172 ac_srcdir=. 12173 if test -z "$ac_top_builddir"; then 12174 ac_top_srcdir=. 12175 else 12176 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 12177 fi ;; 12178 [\\/]* | ?:[\\/]* ) # Absolute path. 12179 ac_srcdir=$srcdir$ac_dir_suffix; 12180 ac_top_srcdir=$srcdir ;; 12181 *) # Relative path. 12182 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 12183 ac_top_srcdir=$ac_top_builddir$srcdir ;; 12184esac 12185 12186# Do not use `cd foo && pwd` to compute absolute paths, because 12187# the directories may not exist. 12188case `pwd` in 12189.) ac_abs_builddir="$ac_dir";; 12190*) 12191 case "$ac_dir" in 12192 .) ac_abs_builddir=`pwd`;; 12193 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 12194 *) ac_abs_builddir=`pwd`/"$ac_dir";; 12195 esac;; 12196esac 12197case $ac_abs_builddir in 12198.) ac_abs_top_builddir=${ac_top_builddir}.;; 12199*) 12200 case ${ac_top_builddir}. in 12201 .) ac_abs_top_builddir=$ac_abs_builddir;; 12202 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 12203 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 12204 esac;; 12205esac 12206case $ac_abs_builddir in 12207.) ac_abs_srcdir=$ac_srcdir;; 12208*) 12209 case $ac_srcdir in 12210 .) ac_abs_srcdir=$ac_abs_builddir;; 12211 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 12212 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 12213 esac;; 12214esac 12215case $ac_abs_builddir in 12216.) ac_abs_top_srcdir=$ac_top_srcdir;; 12217*) 12218 case $ac_top_srcdir in 12219 .) ac_abs_top_srcdir=$ac_abs_builddir;; 12220 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 12221 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 12222 esac;; 12223esac 12224 12225 12226 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 12227echo "$as_me: executing $ac_dest commands" >&6;} 12228 case $ac_dest in 12229 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 12230 # Strip MF so we end up with the name of the file. 12231 mf=`echo "$mf" | sed -e 's/:.*$//'` 12232 # Check whether this is an Automake generated Makefile or not. 12233 # We used to match only the files named `Makefile.in', but 12234 # some people rename them; so instead we look at the file content. 12235 # Grep'ing the first line is not enough: some people post-process 12236 # each Makefile.in and add a new line on top of each file to say so. 12237 # So let's grep whole file. 12238 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 12239 dirpart=`(dirname "$mf") 2>/dev/null || 12240$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12241 X"$mf" : 'X\(//\)[^/]' \| \ 12242 X"$mf" : 'X\(//\)$' \| \ 12243 X"$mf" : 'X\(/\)' \| \ 12244 . : '\(.\)' 2>/dev/null || 12245echo X"$mf" | 12246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12247 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12248 /^X\(\/\/\)$/{ s//\1/; q; } 12249 /^X\(\/\).*/{ s//\1/; q; } 12250 s/.*/./; q'` 12251 else 12252 continue 12253 fi 12254 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 12255 # Extract the definition of DEP_FILES from the Makefile without 12256 # running `make'. 12257 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 12258 test -z "$DEPDIR" && continue 12259 # When using ansi2knr, U may be empty or an underscore; expand it 12260 U=`sed -n 's/^U = //p' < "$mf"` 12261 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 12262 # We invoke sed twice because it is the simplest approach to 12263 # changing $(DEPDIR) to its actual value in the expansion. 12264 for file in `sed -n ' 12265 /^DEP_FILES = .*\\\\$/ { 12266 s/^DEP_FILES = // 12267 :loop 12268 s/\\\\$// 12269 p 12270 n 12271 /\\\\$/ b loop 12272 p 12273 } 12274 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 12275 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 12276 # Make sure the directory exists. 12277 test -f "$dirpart/$file" && continue 12278 fdir=`(dirname "$file") 2>/dev/null || 12279$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12280 X"$file" : 'X\(//\)[^/]' \| \ 12281 X"$file" : 'X\(//\)$' \| \ 12282 X"$file" : 'X\(/\)' \| \ 12283 . : '\(.\)' 2>/dev/null || 12284echo X"$file" | 12285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12286 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12287 /^X\(\/\/\)$/{ s//\1/; q; } 12288 /^X\(\/\).*/{ s//\1/; q; } 12289 s/.*/./; q'` 12290 { if $as_mkdir_p; then 12291 mkdir -p $dirpart/$fdir 12292 else 12293 as_dir=$dirpart/$fdir 12294 as_dirs= 12295 while test ! -d "$as_dir"; do 12296 as_dirs="$as_dir $as_dirs" 12297 as_dir=`(dirname "$as_dir") 2>/dev/null || 12298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12299 X"$as_dir" : 'X\(//\)[^/]' \| \ 12300 X"$as_dir" : 'X\(//\)$' \| \ 12301 X"$as_dir" : 'X\(/\)' \| \ 12302 . : '\(.\)' 2>/dev/null || 12303echo X"$as_dir" | 12304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12305 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12306 /^X\(\/\/\)$/{ s//\1/; q; } 12307 /^X\(\/\).*/{ s//\1/; q; } 12308 s/.*/./; q'` 12309 done 12310 test ! -n "$as_dirs" || mkdir $as_dirs 12311 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 12312echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 12313 { (exit 1); exit 1; }; }; } 12314 12315 # echo "creating $dirpart/$file" 12316 echo '# dummy' > "$dirpart/$file" 12317 done 12318done 12319 ;; 12320 default ) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h |
6658 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h 6659 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h 6660 echo '#include "te-'"${te_file}"'.h"' > targ-env.h 6661 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h 6662 if test "x$cgen_cpu_prefix" != x ; then 6663 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h 6664 fi 6665 | 12321 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h 12322 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h 12323 echo '#include "te-'"${te_file}"'.h"' > targ-env.h 12324 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h 12325 if test "x$cgen_cpu_prefix" != x ; then 12326 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h 12327 fi 12328 |
6666 sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile 6667exit 0 6668EOF | 12329 sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;; 12330 esac 12331done 12332_ACEOF 12333 12334cat >>$CONFIG_STATUS <<\_ACEOF 12335 12336{ (exit 0); exit 0; } 12337_ACEOF |
6669chmod +x $CONFIG_STATUS | 12338chmod +x $CONFIG_STATUS |
6670rm -fr confdefs* $ac_clean_files 6671test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | 12339ac_clean_files=$ac_clean_files_save |
6672 | 12340 |
12341 12342# configure is writing to config.log, and then calls config.status. 12343# config.status does its own redirection, appending to config.log. 12344# Unfortunately, on DOS this fails, as config.log is still kept open 12345# by configure, so config.status won't be able to write to it; its 12346# output is simply discarded. So we exec the FD to /dev/null, 12347# effectively closing config.log, so it can be properly (re)opened and 12348# appended to by config.status. When coming back to configure, we 12349# need to make the FD available again. 12350if test "$no_create" != yes; then 12351 ac_cs_success=: 12352 ac_config_status_args= 12353 test "$silent" = yes && 12354 ac_config_status_args="$ac_config_status_args --quiet" 12355 exec 5>/dev/null 12356 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 12357 exec 5>>config.log 12358 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 12359 # would make configure fail if this is the last instruction. 12360 $ac_cs_success || { (exit 1); exit 1; } 12361fi 12362 |
|