configure (100616) | configure (131962) |
---|---|
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.57. |
6# | 4# |
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6# 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. | 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. |
9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## |
|
9 | 12 |
10# Defaults: 11ac_help= | 13# Be Bourne compatible 14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 set -o posix 22fi 23 24# Support unset when possible. 25if (FOO=FOO; unset FOO) >/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 -n "`(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 as_mkdir_p=false 222fi 223 224as_executable_p="test -f" 225 226# Sed expression to map a string onto a valid CPP name. 227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 228 229# Sed expression to map a string onto a valid variable name. 230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231 232 233# IFS 234# We need space, tab and new line, in precisely that order. 235as_nl=' 236' 237IFS=" $as_nl" 238 239# CDPATH. 240$as_unset CDPATH 241 242 243# Name of the host. 244# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 245# so uname gets run too. 246ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 247 248exec 6>&1 249 250# 251# Initializations. 252# |
12ac_default_prefix=/usr/local | 253ac_default_prefix=/usr/local |
13# Any additions from configure.in: 14ac_help="$ac_help 15 --with-hesiod=PREFIX Use Hesiod lookup for ~ expansion" | 254ac_config_libobj_dir=. 255cross_compiling=no 256subdirs= 257MFLAGS= 258MAKEFLAGS= 259SHELL=${CONFIG_SHELL-/bin/sh} |
16 | 260 |
261# Maximum number of lines to put in a shell here document. 262# This variable seems obsolete. It should probably be removed, and 263# only ac_max_sed_lines should be used. 264: ${ac_max_here_lines=38} 265 266# Identity of this package. 267PACKAGE_NAME= 268PACKAGE_TARNAME= 269PACKAGE_VERSION= 270PACKAGE_STRING= 271PACKAGE_BUGREPORT= 272 273ac_unique_file="tc.vers.c" 274ac_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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP DFLAGS HESDEF HESLIB LIBOBJS LTLIBOBJS' 275ac_subst_files='' 276 |
|
17# Initialize some variables set by options. | 277# Initialize some variables set by options. |
278ac_init_help= 279ac_init_version=false |
|
18# The variables have the same names as the options, with 19# dashes changed to underlines. | 280# The variables have the same names as the options, with 281# dashes changed to underlines. |
20build=NONE 21cache_file=./config.cache | 282cache_file=/dev/null |
22exec_prefix=NONE | 283exec_prefix=NONE |
23host=NONE | |
24no_create= | 284no_create= |
25nonopt=NONE | |
26no_recursion= 27prefix=NONE 28program_prefix=NONE 29program_suffix=NONE 30program_transform_name=s,x,x, 31silent= 32site= 33srcdir= | 285no_recursion= 286prefix=NONE 287program_prefix=NONE 288program_suffix=NONE 289program_transform_name=s,x,x, 290silent= 291site= 292srcdir= |
34target=NONE | |
35verbose= 36x_includes=NONE 37x_libraries=NONE | 293verbose= 294x_includes=NONE 295x_libraries=NONE |
296 297# Installation directory options. 298# These are left unexpanded so users can "make install exec_prefix=/foo" 299# and all the variables that are supposed to be based on exec_prefix 300# by default will actually change. 301# Use braces instead of parens because sh, perl, etc. also accept them. |
|
38bindir='${exec_prefix}/bin' 39sbindir='${exec_prefix}/sbin' 40libexecdir='${exec_prefix}/libexec' 41datadir='${prefix}/share' 42sysconfdir='${prefix}/etc' 43sharedstatedir='${prefix}/com' 44localstatedir='${prefix}/var' 45libdir='${exec_prefix}/lib' 46includedir='${prefix}/include' 47oldincludedir='/usr/include' 48infodir='${prefix}/info' 49mandir='${prefix}/man' 50 | 302bindir='${exec_prefix}/bin' 303sbindir='${exec_prefix}/sbin' 304libexecdir='${exec_prefix}/libexec' 305datadir='${prefix}/share' 306sysconfdir='${prefix}/etc' 307sharedstatedir='${prefix}/com' 308localstatedir='${prefix}/var' 309libdir='${exec_prefix}/lib' 310includedir='${prefix}/include' 311oldincludedir='/usr/include' 312infodir='${prefix}/info' 313mandir='${prefix}/man' 314 |
51# Initialize some other variables. 52subdirs= 53MFLAGS= MAKEFLAGS= 54SHELL=${CONFIG_SHELL-/bin/sh} 55# Maximum number of lines to put in a shell here document. 56ac_max_here_lines=12 57 | |
58ac_prev= 59for ac_option 60do | 315ac_prev= 316for ac_option 317do |
61 | |
62 # If the previous option needs an argument, assign it. 63 if test -n "$ac_prev"; then 64 eval "$ac_prev=\$ac_option" 65 ac_prev= 66 continue 67 fi 68 | 318 # If the previous option needs an argument, assign it. 319 if test -n "$ac_prev"; then 320 eval "$ac_prev=\$ac_option" 321 ac_prev= 322 continue 323 fi 324 |
69 case "$ac_option" in 70 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 71 *) ac_optarg= ;; 72 esac | 325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
73 74 # Accept the important Cygnus configure options, so we can diagnose typos. 75 | 326 327 # Accept the important Cygnus configure options, so we can diagnose typos. 328 |
76 case "$ac_option" in | 329 case $ac_option in |
77 78 -bindir | --bindir | --bindi | --bind | --bin | --bi) 79 ac_prev=bindir ;; 80 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 330 331 -bindir | --bindir | --bindi | --bind | --bin | --bi) 332 ac_prev=bindir ;; 333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
81 bindir="$ac_optarg" ;; | 334 bindir=$ac_optarg ;; |
82 83 -build | --build | --buil | --bui | --bu) | 335 336 -build | --build | --buil | --bui | --bu) |
84 ac_prev=build ;; | 337 ac_prev=build_alias ;; |
85 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 338 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
86 build="$ac_optarg" ;; | 339 build_alias=$ac_optarg ;; |
87 88 -cache-file | --cache-file | --cache-fil | --cache-fi \ 89 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 90 ac_prev=cache_file ;; 91 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 92 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 340 341 -cache-file | --cache-file | --cache-fil | --cache-fi \ 342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 343 ac_prev=cache_file ;; 344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
93 cache_file="$ac_optarg" ;; | 346 cache_file=$ac_optarg ;; |
94 | 347 |
348 --config-cache | -C) 349 cache_file=config.cache ;; 350 |
|
95 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 96 ac_prev=datadir ;; 97 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 98 | --da=*) | 351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 352 ac_prev=datadir ;; 353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 354 | --da=*) |
99 datadir="$ac_optarg" ;; | 355 datadir=$ac_optarg ;; |
100 101 -disable-* | --disable-*) | 356 357 -disable-* | --disable-*) |
102 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | 358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
103 # Reject names that are not valid shell variable names. | 359 # Reject names that are not valid shell variable names. |
104 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 105 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 106 fi 107 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 108 eval "enable_${ac_feature}=no" ;; | 360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 362 { (exit 1); exit 1; }; } 363 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 364 eval "enable_$ac_feature=no" ;; |
109 110 -enable-* | --enable-*) | 365 366 -enable-* | --enable-*) |
111 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | 367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
112 # Reject names that are not valid shell variable names. | 368 # Reject names that are not valid shell variable names. |
113 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 114 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 115 fi 116 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 117 case "$ac_option" in 118 *=*) ;; | 369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 371 { (exit 1); exit 1; }; } 372 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 373 case $ac_option in 374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
119 *) ac_optarg=yes ;; 120 esac | 375 *) ac_optarg=yes ;; 376 esac |
121 eval "enable_${ac_feature}='$ac_optarg'" ;; | 377 eval "enable_$ac_feature='$ac_optarg'" ;; |
122 123 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 124 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 125 | --exec | --exe | --ex) 126 ac_prev=exec_prefix ;; 127 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 128 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 129 | --exec=* | --exe=* | --ex=*) | 378 379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 381 | --exec | --exe | --ex) 382 ac_prev=exec_prefix ;; 383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 385 | --exec=* | --exe=* | --ex=*) |
130 exec_prefix="$ac_optarg" ;; | 386 exec_prefix=$ac_optarg ;; |
131 132 -gas | --gas | --ga | --g) 133 # Obsolete; use --with-gas. 134 with_gas=yes ;; 135 | 387 388 -gas | --gas | --ga | --g) 389 # Obsolete; use --with-gas. 390 with_gas=yes ;; 391 |
136 -help | --help | --hel | --he) 137 # Omit some internal or obsolete options to make the list less imposing. 138 # This message is too long to be a string in the A/UX 3.1 sh. 139 cat << EOF 140Usage: configure [options] [host] 141Options: [defaults in brackets after descriptions] 142Configuration: 143 --cache-file=FILE cache test results in FILE 144 --help print this message 145 --no-create do not create output files 146 --quiet, --silent do not print \`checking...' messages 147 --version print the version of autoconf that created configure 148Directory and file names: 149 --prefix=PREFIX install architecture-independent files in PREFIX 150 [$ac_default_prefix] 151 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 152 [same as prefix] 153 --bindir=DIR user executables in DIR [EPREFIX/bin] 154 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 155 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 156 --datadir=DIR read-only architecture-independent data in DIR 157 [PREFIX/share] 158 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 159 --sharedstatedir=DIR modifiable architecture-independent data in DIR 160 [PREFIX/com] 161 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 162 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 163 --includedir=DIR C header files in DIR [PREFIX/include] 164 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 165 --infodir=DIR info documentation in DIR [PREFIX/info] 166 --mandir=DIR man documentation in DIR [PREFIX/man] 167 --srcdir=DIR find the sources in DIR [configure dir or ..] 168 --program-prefix=PREFIX prepend PREFIX to installed program names 169 --program-suffix=SUFFIX append SUFFIX to installed program names 170 --program-transform-name=PROGRAM 171 run sed PROGRAM on installed program names 172EOF 173 cat << EOF 174Host type: 175 --build=BUILD configure for building on BUILD [BUILD=HOST] 176 --host=HOST configure for HOST [guessed] 177 --target=TARGET configure for TARGET [TARGET=HOST] 178Features and packages: 179 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 180 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 181 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 182 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 183 --x-includes=DIR X include files are in DIR 184 --x-libraries=DIR X library files are in DIR 185EOF 186 if test -n "$ac_help"; then 187 echo "--enable and --with options recognized:$ac_help" 188 fi 189 exit 0 ;; | 392 -help | --help | --hel | --he | -h) 393 ac_init_help=long ;; 394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 395 ac_init_help=recursive ;; 396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 397 ac_init_help=short ;; |
190 191 -host | --host | --hos | --ho) | 398 399 -host | --host | --hos | --ho) |
192 ac_prev=host ;; | 400 ac_prev=host_alias ;; |
193 -host=* | --host=* | --hos=* | --ho=*) | 401 -host=* | --host=* | --hos=* | --ho=*) |
194 host="$ac_optarg" ;; | 402 host_alias=$ac_optarg ;; |
195 196 -includedir | --includedir | --includedi | --included | --include \ 197 | --includ | --inclu | --incl | --inc) 198 ac_prev=includedir ;; 199 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 200 | --includ=* | --inclu=* | --incl=* | --inc=*) | 403 404 -includedir | --includedir | --includedi | --included | --include \ 405 | --includ | --inclu | --incl | --inc) 406 ac_prev=includedir ;; 407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 408 | --includ=* | --inclu=* | --incl=* | --inc=*) |
201 includedir="$ac_optarg" ;; | 409 includedir=$ac_optarg ;; |
202 203 -infodir | --infodir | --infodi | --infod | --info | --inf) 204 ac_prev=infodir ;; 205 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 410 411 -infodir | --infodir | --infodi | --infod | --info | --inf) 412 ac_prev=infodir ;; 413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
206 infodir="$ac_optarg" ;; | 414 infodir=$ac_optarg ;; |
207 208 -libdir | --libdir | --libdi | --libd) 209 ac_prev=libdir ;; 210 -libdir=* | --libdir=* | --libdi=* | --libd=*) | 415 416 -libdir | --libdir | --libdi | --libd) 417 ac_prev=libdir ;; 418 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
211 libdir="$ac_optarg" ;; | 419 libdir=$ac_optarg ;; |
212 213 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 214 | --libexe | --libex | --libe) 215 ac_prev=libexecdir ;; 216 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 217 | --libexe=* | --libex=* | --libe=*) | 420 421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 422 | --libexe | --libex | --libe) 423 ac_prev=libexecdir ;; 424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 425 | --libexe=* | --libex=* | --libe=*) |
218 libexecdir="$ac_optarg" ;; | 426 libexecdir=$ac_optarg ;; |
219 220 -localstatedir | --localstatedir | --localstatedi | --localstated \ 221 | --localstate | --localstat | --localsta | --localst \ 222 | --locals | --local | --loca | --loc | --lo) 223 ac_prev=localstatedir ;; 224 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 225 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 226 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 427 428 -localstatedir | --localstatedir | --localstatedi | --localstated \ 429 | --localstate | --localstat | --localsta | --localst \ 430 | --locals | --local | --loca | --loc | --lo) 431 ac_prev=localstatedir ;; 432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
227 localstatedir="$ac_optarg" ;; | 435 localstatedir=$ac_optarg ;; |
228 229 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 230 ac_prev=mandir ;; 231 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 436 437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 438 ac_prev=mandir ;; 439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
232 mandir="$ac_optarg" ;; | 440 mandir=$ac_optarg ;; |
233 234 -nfp | --nfp | --nf) 235 # Obsolete; use --without-fp. 236 with_fp=no ;; 237 238 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 441 442 -nfp | --nfp | --nf) 443 # Obsolete; use --without-fp. 444 with_fp=no ;; 445 446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
239 | --no-cr | --no-c) | 447 | --no-cr | --no-c | -n) |
240 no_create=yes ;; 241 242 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 243 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 244 no_recursion=yes ;; 245 246 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 247 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 248 | --oldin | --oldi | --old | --ol | --o) 249 ac_prev=oldincludedir ;; 250 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 251 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 252 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 448 no_create=yes ;; 449 450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 452 no_recursion=yes ;; 453 454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 456 | --oldin | --oldi | --old | --ol | --o) 457 ac_prev=oldincludedir ;; 458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
253 oldincludedir="$ac_optarg" ;; | 461 oldincludedir=$ac_optarg ;; |
254 255 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 256 ac_prev=prefix ;; 257 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 462 463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 464 ac_prev=prefix ;; 465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
258 prefix="$ac_optarg" ;; | 466 prefix=$ac_optarg ;; |
259 260 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 261 | --program-pre | --program-pr | --program-p) 262 ac_prev=program_prefix ;; 263 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 264 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 467 468 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 469 | --program-pre | --program-pr | --program-p) 470 ac_prev=program_prefix ;; 471 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
265 program_prefix="$ac_optarg" ;; | 473 program_prefix=$ac_optarg ;; |
266 267 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 268 | --program-suf | --program-su | --program-s) 269 ac_prev=program_suffix ;; 270 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 271 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 474 475 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 476 | --program-suf | --program-su | --program-s) 477 ac_prev=program_suffix ;; 478 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
272 program_suffix="$ac_optarg" ;; | 480 program_suffix=$ac_optarg ;; |
273 274 -program-transform-name | --program-transform-name \ 275 | --program-transform-nam | --program-transform-na \ 276 | --program-transform-n | --program-transform- \ 277 | --program-transform | --program-transfor \ 278 | --program-transfo | --program-transf \ 279 | --program-trans | --program-tran \ 280 | --progr-tra | --program-tr | --program-t) 281 ac_prev=program_transform_name ;; 282 -program-transform-name=* | --program-transform-name=* \ 283 | --program-transform-nam=* | --program-transform-na=* \ 284 | --program-transform-n=* | --program-transform-=* \ 285 | --program-transform=* | --program-transfor=* \ 286 | --program-transfo=* | --program-transf=* \ 287 | --program-trans=* | --program-tran=* \ 288 | --progr-tra=* | --program-tr=* | --program-t=*) | 481 482 -program-transform-name | --program-transform-name \ 483 | --program-transform-nam | --program-transform-na \ 484 | --program-transform-n | --program-transform- \ 485 | --program-transform | --program-transfor \ 486 | --program-transfo | --program-transf \ 487 | --program-trans | --program-tran \ 488 | --progr-tra | --program-tr | --program-t) 489 ac_prev=program_transform_name ;; 490 -program-transform-name=* | --program-transform-name=* \ 491 | --program-transform-nam=* | --program-transform-na=* \ 492 | --program-transform-n=* | --program-transform-=* \ 493 | --program-transform=* | --program-transfor=* \ 494 | --program-transfo=* | --program-transf=* \ 495 | --program-trans=* | --program-tran=* \ 496 | --progr-tra=* | --program-tr=* | --program-t=*) |
289 program_transform_name="$ac_optarg" ;; | 497 program_transform_name=$ac_optarg ;; |
290 291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 292 | -silent | --silent | --silen | --sile | --sil) 293 silent=yes ;; 294 295 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 296 ac_prev=sbindir ;; 297 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 298 | --sbi=* | --sb=*) | 498 499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 500 | -silent | --silent | --silen | --sile | --sil) 501 silent=yes ;; 502 503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 504 ac_prev=sbindir ;; 505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 506 | --sbi=* | --sb=*) |
299 sbindir="$ac_optarg" ;; | 507 sbindir=$ac_optarg ;; |
300 301 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 302 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 303 | --sharedst | --shareds | --shared | --share | --shar \ 304 | --sha | --sh) 305 ac_prev=sharedstatedir ;; 306 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 307 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 308 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 309 | --sha=* | --sh=*) | 508 509 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 511 | --sharedst | --shareds | --shared | --share | --shar \ 512 | --sha | --sh) 513 ac_prev=sharedstatedir ;; 514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 517 | --sha=* | --sh=*) |
310 sharedstatedir="$ac_optarg" ;; | 518 sharedstatedir=$ac_optarg ;; |
311 312 -site | --site | --sit) 313 ac_prev=site ;; 314 -site=* | --site=* | --sit=*) | 519 520 -site | --site | --sit) 521 ac_prev=site ;; 522 -site=* | --site=* | --sit=*) |
315 site="$ac_optarg" ;; | 523 site=$ac_optarg ;; |
316 317 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 318 ac_prev=srcdir ;; 319 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 524 525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 526 ac_prev=srcdir ;; 527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
320 srcdir="$ac_optarg" ;; | 528 srcdir=$ac_optarg ;; |
321 322 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 323 | --syscon | --sysco | --sysc | --sys | --sy) 324 ac_prev=sysconfdir ;; 325 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 326 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 529 530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 531 | --syscon | --sysco | --sysc | --sys | --sy) 532 ac_prev=sysconfdir ;; 533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
327 sysconfdir="$ac_optarg" ;; | 535 sysconfdir=$ac_optarg ;; |
328 329 -target | --target | --targe | --targ | --tar | --ta | --t) | 536 537 -target | --target | --targe | --targ | --tar | --ta | --t) |
330 ac_prev=target ;; | 538 ac_prev=target_alias ;; |
331 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
332 target="$ac_optarg" ;; | 540 target_alias=$ac_optarg ;; |
333 334 -v | -verbose | --verbose | --verbos | --verbo | --verb) 335 verbose=yes ;; 336 | 541 542 -v | -verbose | --verbose | --verbos | --verbo | --verb) 543 verbose=yes ;; 544 |
337 -version | --version | --versio | --versi | --vers) 338 echo "configure generated by autoconf version 2.13" 339 exit 0 ;; | 545 -version | --version | --versio | --versi | --vers | -V) 546 ac_init_version=: ;; |
340 341 -with-* | --with-*) | 547 548 -with-* | --with-*) |
342 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | 549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
343 # Reject names that are not valid shell variable names. | 550 # Reject names that are not valid shell variable names. |
344 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 345 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 346 fi | 551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 552 { echo "$as_me: error: invalid package name: $ac_package" >&2 553 { (exit 1); exit 1; }; } |
347 ac_package=`echo $ac_package| sed 's/-/_/g'` | 554 ac_package=`echo $ac_package| sed 's/-/_/g'` |
348 case "$ac_option" in 349 *=*) ;; | 555 case $ac_option in 556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
350 *) ac_optarg=yes ;; 351 esac | 557 *) ac_optarg=yes ;; 558 esac |
352 eval "with_${ac_package}='$ac_optarg'" ;; | 559 eval "with_$ac_package='$ac_optarg'" ;; |
353 354 -without-* | --without-*) | 560 561 -without-* | --without-*) |
355 ac_package=`echo $ac_option|sed -e 's/-*without-//'` | 562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
356 # Reject names that are not valid shell variable names. | 563 # Reject names that are not valid shell variable names. |
357 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 358 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 359 fi 360 ac_package=`echo $ac_package| sed 's/-/_/g'` 361 eval "with_${ac_package}=no" ;; | 564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 565 { echo "$as_me: error: invalid package name: $ac_package" >&2 566 { (exit 1); exit 1; }; } 567 ac_package=`echo $ac_package | sed 's/-/_/g'` 568 eval "with_$ac_package=no" ;; |
362 363 --x) 364 # Obsolete; use --with-x. 365 with_x=yes ;; 366 367 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 368 | --x-incl | --x-inc | --x-in | --x-i) 369 ac_prev=x_includes ;; 370 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 371 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 569 570 --x) 571 # Obsolete; use --with-x. 572 with_x=yes ;; 573 574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 575 | --x-incl | --x-inc | --x-in | --x-i) 576 ac_prev=x_includes ;; 577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
372 x_includes="$ac_optarg" ;; | 579 x_includes=$ac_optarg ;; |
373 374 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 375 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 376 ac_prev=x_libraries ;; 377 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 378 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 580 581 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 583 ac_prev=x_libraries ;; 584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
379 x_libraries="$ac_optarg" ;; | 586 x_libraries=$ac_optarg ;; |
380 | 587 |
381 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | 588 -*) { echo "$as_me: error: unrecognized option: $ac_option 589Try \`$0 --help' for more information." >&2 590 { (exit 1); exit 1; }; } |
382 ;; 383 | 591 ;; 592 |
593 *=*) 594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 595 # Reject names that are not valid shell variable names. 596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 598 { (exit 1); exit 1; }; } 599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 600 eval "$ac_envvar='$ac_optarg'" 601 export $ac_envvar ;; 602 |
|
384 *) | 603 *) |
385 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 386 echo "configure: warning: $ac_option: invalid host type" 1>&2 387 fi 388 if test "x$nonopt" != xNONE; then 389 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 390 fi 391 nonopt="$ac_option" | 604 # FIXME: should be removed in autoconf 3.0. 605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
392 ;; 393 394 esac 395done 396 397if test -n "$ac_prev"; then | 609 ;; 610 611 esac 612done 613 614if test -n "$ac_prev"; then |
398 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | 615 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 616 { echo "$as_me: error: missing argument to $ac_option" >&2 617 { (exit 1); exit 1; }; } |
399fi 400 | 618fi 619 |
401trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 620# Be sure to have absolute paths. 621for ac_var in exec_prefix prefix 622do 623 eval ac_val=$`echo $ac_var` 624 case $ac_val in 625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 627 { (exit 1); exit 1; }; };; 628 esac 629done |
402 | 630 |
403# File descriptor usage: 404# 0 standard input 405# 1 file creation 406# 2 errors and warnings 407# 3 some systems may open it to /dev/tty 408# 4 used on the Kubota Titan 409# 6 checking for... messages and results 410# 5 compiler messages saved in config.log 411if test "$silent" = yes; then 412 exec 6>/dev/null 413else 414 exec 6>&1 415fi 416exec 5>./config.log 417 418echo "\ 419This file contains any messages produced by compilers while 420running configure, to aid debugging if configure makes a mistake. 421" 1>&5 422 423# Strip out --no-create and --no-recursion so they do not pile up. 424# Also quote any args containing shell metacharacters. 425ac_configure_args= 426for ac_arg | 631# Be sure to have absolute paths. 632for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 633 localstatedir libdir includedir oldincludedir infodir mandir |
427do | 634do |
428 case "$ac_arg" in 429 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 430 | --no-cr | --no-c) ;; 431 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 432 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 433 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 434 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 435 *) ac_configure_args="$ac_configure_args $ac_arg" ;; | 635 eval ac_val=$`echo $ac_var` 636 case $ac_val in 637 [\\/$]* | ?:[\\/]* ) ;; 638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 639 { (exit 1); exit 1; }; };; |
436 esac 437done 438 | 640 esac 641done 642 |
439# NLS nuisances. 440# Only set these to C if already set. These must not be set unconditionally 441# because not all systems understand e.g. LANG=C (notably SCO). 442# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 443# Non-C LC_CTYPE values break the ctype check. 444if test "${LANG+set}" = set; then LANG=C; export LANG; fi 445if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 446if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 447if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | 643# There might be people who depend on the old broken behavior: `$host' 644# used to hold the argument of --host etc. 645# FIXME: To remove some day. 646build=$build_alias 647host=$host_alias 648target=$target_alias |
448 | 649 |
449# confdefs.h avoids OS command line length limits that DEFS can exceed. 450rm -rf conftest* confdefs.h 451# AIX cpp loses on an empty file, so make sure it contains at least a newline. 452echo > confdefs.h | 650# FIXME: To remove some day. 651if test "x$host_alias" != x; then 652 if test "x$build_alias" = x; then 653 cross_compiling=maybe 654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 655 If a cross compiler is detected then cross compile mode will be used." >&2 656 elif test "x$build_alias" != "x$host_alias"; then 657 cross_compiling=yes 658 fi 659fi |
453 | 660 |
454# A filename unique to this package, relative to the directory that 455# configure is in, which we can look for to find out if srcdir is correct. 456ac_unique_file=tc.vers.c | 661ac_tool_prefix= 662test -n "$host_alias" && ac_tool_prefix=$host_alias- |
457 | 663 |
664test "$silent" = yes && exec 6>/dev/null 665 666 |
|
458# Find the source files, if location was not specified. 459if test -z "$srcdir"; then 460 ac_srcdir_defaulted=yes 461 # Try the directory containing this script, then its parent. | 667# Find the source files, if location was not specified. 668if test -z "$srcdir"; then 669 ac_srcdir_defaulted=yes 670 # Try the directory containing this script, then its parent. |
462 ac_prog=$0 463 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 464 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | 671 ac_confdir=`(dirname "$0") 2>/dev/null || 672$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 673 X"$0" : 'X\(//\)[^/]' \| \ 674 X"$0" : 'X\(//\)$' \| \ 675 X"$0" : 'X\(/\)' \| \ 676 . : '\(.\)' 2>/dev/null || 677echo X"$0" | 678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 679 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 680 /^X\(\/\/\)$/{ s//\1/; q; } 681 /^X\(\/\).*/{ s//\1/; q; } 682 s/.*/./; q'` |
465 srcdir=$ac_confdir 466 if test ! -r $srcdir/$ac_unique_file; then 467 srcdir=.. 468 fi 469else 470 ac_srcdir_defaulted=no 471fi 472if test ! -r $srcdir/$ac_unique_file; then 473 if test "$ac_srcdir_defaulted" = yes; then | 683 srcdir=$ac_confdir 684 if test ! -r $srcdir/$ac_unique_file; then 685 srcdir=.. 686 fi 687else 688 ac_srcdir_defaulted=no 689fi 690if test ! -r $srcdir/$ac_unique_file; then 691 if test "$ac_srcdir_defaulted" = yes; then |
474 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | 692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 693 { (exit 1); exit 1; }; } |
475 else | 694 else |
476 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | 695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 696 { (exit 1); exit 1; }; } |
477 fi 478fi | 697 fi 698fi |
479srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | 699(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 701 { (exit 1); exit 1; }; } 702srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 703ac_env_build_alias_set=${build_alias+set} 704ac_env_build_alias_value=$build_alias 705ac_cv_env_build_alias_set=${build_alias+set} 706ac_cv_env_build_alias_value=$build_alias 707ac_env_host_alias_set=${host_alias+set} 708ac_env_host_alias_value=$host_alias 709ac_cv_env_host_alias_set=${host_alias+set} 710ac_cv_env_host_alias_value=$host_alias 711ac_env_target_alias_set=${target_alias+set} 712ac_env_target_alias_value=$target_alias 713ac_cv_env_target_alias_set=${target_alias+set} 714ac_cv_env_target_alias_value=$target_alias 715ac_env_CC_set=${CC+set} 716ac_env_CC_value=$CC 717ac_cv_env_CC_set=${CC+set} 718ac_cv_env_CC_value=$CC 719ac_env_CFLAGS_set=${CFLAGS+set} 720ac_env_CFLAGS_value=$CFLAGS 721ac_cv_env_CFLAGS_set=${CFLAGS+set} 722ac_cv_env_CFLAGS_value=$CFLAGS 723ac_env_LDFLAGS_set=${LDFLAGS+set} 724ac_env_LDFLAGS_value=$LDFLAGS 725ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 726ac_cv_env_LDFLAGS_value=$LDFLAGS 727ac_env_CPPFLAGS_set=${CPPFLAGS+set} 728ac_env_CPPFLAGS_value=$CPPFLAGS 729ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 730ac_cv_env_CPPFLAGS_value=$CPPFLAGS 731ac_env_CPP_set=${CPP+set} 732ac_env_CPP_value=$CPP 733ac_cv_env_CPP_set=${CPP+set} 734ac_cv_env_CPP_value=$CPP |
480 | 735 |
736# 737# Report the --help message. 738# 739if test "$ac_init_help" = "long"; then 740 # Omit some internal or obsolete options to make the list less imposing. 741 # This message is too long to be a string in the A/UX 3.1 sh. 742 cat <<_ACEOF 743\`configure' configures this package to adapt to many kinds of systems. 744 745Usage: $0 [OPTION]... [VAR=VALUE]... 746 747To assign environment variables (e.g., CC, CFLAGS...), specify them as 748VAR=VALUE. See below for descriptions of some of the useful variables. 749 750Defaults for the options are specified in brackets. 751 752Configuration: 753 -h, --help display this help and exit 754 --help=short display options specific to this package 755 --help=recursive display the short help of all the included packages 756 -V, --version display version information and exit 757 -q, --quiet, --silent do not print \`checking...' messages 758 --cache-file=FILE cache test results in FILE [disabled] 759 -C, --config-cache alias for \`--cache-file=config.cache' 760 -n, --no-create do not create output files 761 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 762 763_ACEOF 764 765 cat <<_ACEOF 766Installation directories: 767 --prefix=PREFIX install architecture-independent files in PREFIX 768 [$ac_default_prefix] 769 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 770 [PREFIX] 771 772By default, \`make install' will install all the files in 773\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 774an installation prefix other than \`$ac_default_prefix' using \`--prefix', 775for instance \`--prefix=\$HOME'. 776 777For better control, use the options below. 778 779Fine tuning of the installation directories: 780 --bindir=DIR user executables [EPREFIX/bin] 781 --sbindir=DIR system admin executables [EPREFIX/sbin] 782 --libexecdir=DIR program executables [EPREFIX/libexec] 783 --datadir=DIR read-only architecture-independent data [PREFIX/share] 784 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 785 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 786 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 787 --libdir=DIR object code libraries [EPREFIX/lib] 788 --includedir=DIR C header files [PREFIX/include] 789 --oldincludedir=DIR C header files for non-gcc [/usr/include] 790 --infodir=DIR info documentation [PREFIX/info] 791 --mandir=DIR man documentation [PREFIX/man] 792_ACEOF 793 794 cat <<\_ACEOF 795 796System types: 797 --build=BUILD configure for building on BUILD [guessed] 798 --host=HOST cross-compile to build programs to run on HOST [BUILD] 799_ACEOF 800fi 801 802if test -n "$ac_init_help"; then 803 804 cat <<\_ACEOF 805 806Optional Packages: 807 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 808 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 809 --with-hesiod=PREFIX Use Hesiod lookup for ~ expansion 810 811Some influential environment variables: 812 CC C compiler command 813 CFLAGS C compiler flags 814 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 815 nonstandard directory <lib dir> 816 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 817 headers in a nonstandard directory <include dir> 818 CPP C preprocessor 819 820Use these variables to override the choices made by `configure' or to help 821it to find libraries and programs with nonstandard names/locations. 822 823_ACEOF 824fi 825 826if test "$ac_init_help" = "recursive"; then 827 # If there are subdirs, report their specific --help. 828 ac_popdir=`pwd` 829 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 830 test -d $ac_dir || continue 831 ac_builddir=. 832 833if test "$ac_dir" != .; then 834 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 835 # A "../" for each directory in $ac_dir_suffix. 836 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 837else 838 ac_dir_suffix= ac_top_builddir= 839fi 840 841case $srcdir in 842 .) # No --srcdir option. We are building in place. 843 ac_srcdir=. 844 if test -z "$ac_top_builddir"; then 845 ac_top_srcdir=. 846 else 847 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 848 fi ;; 849 [\\/]* | ?:[\\/]* ) # Absolute path. 850 ac_srcdir=$srcdir$ac_dir_suffix; 851 ac_top_srcdir=$srcdir ;; 852 *) # Relative path. 853 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 854 ac_top_srcdir=$ac_top_builddir$srcdir ;; 855esac 856# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 857# absolute. 858ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 859ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 860ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 861ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 862 863 cd $ac_dir 864 # Check for guested configure; otherwise get Cygnus style configure. 865 if test -f $ac_srcdir/configure.gnu; then 866 echo 867 $SHELL $ac_srcdir/configure.gnu --help=recursive 868 elif test -f $ac_srcdir/configure; then 869 echo 870 $SHELL $ac_srcdir/configure --help=recursive 871 elif test -f $ac_srcdir/configure.ac || 872 test -f $ac_srcdir/configure.in; then 873 echo 874 $ac_configure --help 875 else 876 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 877 fi 878 cd $ac_popdir 879 done 880fi 881 882test -n "$ac_init_help" && exit 0 883if $ac_init_version; then 884 cat <<\_ACEOF 885 886Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 887Free Software Foundation, Inc. 888This configure script is free software; the Free Software Foundation 889gives unlimited permission to copy, distribute and modify it. 890_ACEOF 891 exit 0 892fi 893exec 5>config.log 894cat >&5 <<_ACEOF 895This file contains any messages produced by compilers while 896running configure, to aid debugging if configure makes a mistake. 897 898It was created by $as_me, which was 899generated by GNU Autoconf 2.57. Invocation command line was 900 901 $ $0 $@ 902 903_ACEOF 904{ 905cat <<_ASUNAME 906## --------- ## 907## Platform. ## 908## --------- ## 909 910hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 911uname -m = `(uname -m) 2>/dev/null || echo unknown` 912uname -r = `(uname -r) 2>/dev/null || echo unknown` 913uname -s = `(uname -s) 2>/dev/null || echo unknown` 914uname -v = `(uname -v) 2>/dev/null || echo unknown` 915 916/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 917/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 918 919/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 920/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 921/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 922hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 923/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 924/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 925/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 926 927_ASUNAME 928 929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 930for as_dir in $PATH 931do 932 IFS=$as_save_IFS 933 test -z "$as_dir" && as_dir=. 934 echo "PATH: $as_dir" 935done 936 937} >&5 938 939cat >&5 <<_ACEOF 940 941 942## ----------- ## 943## Core tests. ## 944## ----------- ## 945 946_ACEOF 947 948 949# Keep a trace of the command line. 950# Strip out --no-create and --no-recursion so they do not pile up. 951# Strip out --silent because we don't want to record it for future runs. 952# Also quote any args containing shell meta-characters. 953# Make two passes to allow for proper duplicate-argument suppression. 954ac_configure_args= 955ac_configure_args0= 956ac_configure_args1= 957ac_sep= 958ac_must_keep_next=false 959for ac_pass in 1 2 960do 961 for ac_arg 962 do 963 case $ac_arg in 964 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 966 | -silent | --silent | --silen | --sile | --sil) 967 continue ;; 968 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 969 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 970 esac 971 case $ac_pass in 972 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 973 2) 974 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 975 if test $ac_must_keep_next = true; then 976 ac_must_keep_next=false # Got value, back to normal. 977 else 978 case $ac_arg in 979 *=* | --config-cache | -C | -disable-* | --disable-* \ 980 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 981 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 982 | -with-* | --with-* | -without-* | --without-* | --x) 983 case "$ac_configure_args0 " in 984 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 985 esac 986 ;; 987 -* ) ac_must_keep_next=true ;; 988 esac 989 fi 990 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 991 # Get rid of the leading space. 992 ac_sep=" " 993 ;; 994 esac 995 done 996done 997$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 998$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 999 1000# When interrupted or exit'd, cleanup temporary files, and complete 1001# config.log. We remove comments because anyway the quotes in there 1002# would cause problems or look ugly. 1003# WARNING: Be sure not to use single quotes in there, as some shells, 1004# such as our DU 5.0 friend, will then `close' the trap. 1005trap 'exit_status=$? 1006 # Save into config.log some information that might help in debugging. 1007 { 1008 echo 1009 1010 cat <<\_ASBOX 1011## ---------------- ## 1012## Cache variables. ## 1013## ---------------- ## 1014_ASBOX 1015 echo 1016 # The following way of writing the cache mishandles newlines in values, 1017{ 1018 (set) 2>&1 | 1019 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1020 *ac_space=\ *) 1021 sed -n \ 1022 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1024 ;; 1025 *) 1026 sed -n \ 1027 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1028 ;; 1029 esac; 1030} 1031 echo 1032 1033 cat <<\_ASBOX 1034## ----------------- ## 1035## Output variables. ## 1036## ----------------- ## 1037_ASBOX 1038 echo 1039 for ac_var in $ac_subst_vars 1040 do 1041 eval ac_val=$`echo $ac_var` 1042 echo "$ac_var='"'"'$ac_val'"'"'" 1043 done | sort 1044 echo 1045 1046 if test -n "$ac_subst_files"; then 1047 cat <<\_ASBOX 1048## ------------- ## 1049## Output files. ## 1050## ------------- ## 1051_ASBOX 1052 echo 1053 for ac_var in $ac_subst_files 1054 do 1055 eval ac_val=$`echo $ac_var` 1056 echo "$ac_var='"'"'$ac_val'"'"'" 1057 done | sort 1058 echo 1059 fi 1060 1061 if test -s confdefs.h; then 1062 cat <<\_ASBOX 1063## ----------- ## 1064## confdefs.h. ## 1065## ----------- ## 1066_ASBOX 1067 echo 1068 sed "/^$/d" confdefs.h | sort 1069 echo 1070 fi 1071 test "$ac_signal" != 0 && 1072 echo "$as_me: caught signal $ac_signal" 1073 echo "$as_me: exit $exit_status" 1074 } >&5 1075 rm -f core core.* *.core && 1076 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1077 exit $exit_status 1078 ' 0 1079for ac_signal in 1 2 13 15; do 1080 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1081done 1082ac_signal=0 1083 1084# confdefs.h avoids OS command line length limits that DEFS can exceed. 1085rm -rf conftest* confdefs.h 1086# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1087echo >confdefs.h 1088 1089# Predefined preprocessor variables. 1090 1091cat >>confdefs.h <<_ACEOF 1092#define PACKAGE_NAME "$PACKAGE_NAME" 1093_ACEOF 1094 1095 1096cat >>confdefs.h <<_ACEOF 1097#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1098_ACEOF 1099 1100 1101cat >>confdefs.h <<_ACEOF 1102#define PACKAGE_VERSION "$PACKAGE_VERSION" 1103_ACEOF 1104 1105 1106cat >>confdefs.h <<_ACEOF 1107#define PACKAGE_STRING "$PACKAGE_STRING" 1108_ACEOF 1109 1110 1111cat >>confdefs.h <<_ACEOF 1112#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1113_ACEOF 1114 1115 1116# Let the site file select an alternate cache file if it wants to. |
|
481# Prefer explicitly selected file to automatically selected ones. 482if test -z "$CONFIG_SITE"; then 483 if test "x$prefix" != xNONE; then 484 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 485 else 486 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 487 fi 488fi 489for ac_site_file in $CONFIG_SITE; do 490 if test -r "$ac_site_file"; then | 1117# Prefer explicitly selected file to automatically selected ones. 1118if test -z "$CONFIG_SITE"; then 1119 if test "x$prefix" != xNONE; then 1120 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1121 else 1122 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1123 fi 1124fi 1125for ac_site_file in $CONFIG_SITE; do 1126 if test -r "$ac_site_file"; then |
491 echo "loading site script $ac_site_file" | 1127 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1128echo "$as_me: loading site script $ac_site_file" >&6;} 1129 sed 's/^/| /' "$ac_site_file" >&5 |
492 . "$ac_site_file" 493 fi 494done 495 496if test -r "$cache_file"; then | 1130 . "$ac_site_file" 1131 fi 1132done 1133 1134if test -r "$cache_file"; then |
497 echo "loading cache $cache_file" 498 . $cache_file | 1135 # Some versions of bash will fail to source /dev/null (special 1136 # files actually), so we avoid doing that. 1137 if test -f "$cache_file"; then 1138 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1139echo "$as_me: loading cache $cache_file" >&6;} 1140 case $cache_file in 1141 [\\/]* | ?:[\\/]* ) . $cache_file;; 1142 *) . ./$cache_file;; 1143 esac 1144 fi |
499else | 1145else |
500 echo "creating cache $cache_file" 501 > $cache_file | 1146 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1147echo "$as_me: creating cache $cache_file" >&6;} 1148 >$cache_file |
502fi 503 | 1149fi 1150 |
1151# Check that the precious variables saved in the cache have kept the same 1152# value. 1153ac_cache_corrupted=false 1154for ac_var in `(set) 2>&1 | 1155 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1156 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1157 eval ac_new_set=\$ac_env_${ac_var}_set 1158 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1159 eval ac_new_val="\$ac_env_${ac_var}_value" 1160 case $ac_old_set,$ac_new_set in 1161 set,) 1162 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1163echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1164 ac_cache_corrupted=: ;; 1165 ,set) 1166 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1167echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1168 ac_cache_corrupted=: ;; 1169 ,);; 1170 *) 1171 if test "x$ac_old_val" != "x$ac_new_val"; then 1172 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1173echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1174 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1175echo "$as_me: former value: $ac_old_val" >&2;} 1176 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1177echo "$as_me: current value: $ac_new_val" >&2;} 1178 ac_cache_corrupted=: 1179 fi;; 1180 esac 1181 # Pass precious variables to config.status. 1182 if test "$ac_new_set" = set; then 1183 case $ac_new_val in 1184 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1185 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1186 *) ac_arg=$ac_var=$ac_new_val ;; 1187 esac 1188 case " $ac_configure_args " in 1189 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1190 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1191 esac 1192 fi 1193done 1194if $ac_cache_corrupted; then 1195 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1196echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1197 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1198echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1199 { (exit 1); exit 1; }; } 1200fi 1201 |
|
504ac_ext=c | 1202ac_ext=c |
505# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
506ac_cpp='$CPP $CPPFLAGS' | 1203ac_cpp='$CPP $CPPFLAGS' |
507ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 508ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 509cross_compiling=$ac_cv_prog_cc_cross | 1204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1206ac_compiler_gnu=$ac_cv_c_compiler_gnu |
510 | 1207 |
511ac_exeext= 512ac_objext=o 513if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 514 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 515 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 516 ac_n= ac_c=' 517' ac_t=' ' 518 else 519 ac_n=-n ac_c= ac_t= 520 fi 521else 522 ac_n= ac_c='\c' ac_t= 523fi | |
524 525 526 | 1208 1209 1210 |
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
|
527ac_aux_dir= 528for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 529 if test -f $ac_dir/install-sh; then 530 ac_aux_dir=$ac_dir 531 ac_install_sh="$ac_aux_dir/install-sh -c" 532 break 533 elif test -f $ac_dir/install.sh; then 534 ac_aux_dir=$ac_dir 535 ac_install_sh="$ac_aux_dir/install.sh -c" 536 break | 1227ac_aux_dir= 1228for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1229 if test -f $ac_dir/install-sh; then 1230 ac_aux_dir=$ac_dir 1231 ac_install_sh="$ac_aux_dir/install-sh -c" 1232 break 1233 elif test -f $ac_dir/install.sh; then 1234 ac_aux_dir=$ac_dir 1235 ac_install_sh="$ac_aux_dir/install.sh -c" 1236 break |
1237 elif test -f $ac_dir/shtool; then 1238 ac_aux_dir=$ac_dir 1239 ac_install_sh="$ac_aux_dir/shtool install -c" 1240 break |
|
537 fi 538done 539if test -z "$ac_aux_dir"; then | 1241 fi 1242done 1243if test -z "$ac_aux_dir"; then |
540 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } | 1244 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1245echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1246 { (exit 1); exit 1; }; } |
541fi | 1247fi |
542ac_config_guess=$ac_aux_dir/config.guess 543ac_config_sub=$ac_aux_dir/config.sub 544ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 1248ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1249ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1250ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
545 | 1251 |
546 | |
547# Make sure we can run config.sub. | 1252# Make sure we can run config.sub. |
548if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 549else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 1253$ac_config_sub sun4 >/dev/null 2>&1 || 1254 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1255echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1256 { (exit 1); exit 1; }; } 1257 1258echo "$as_me:$LINENO: checking build system type" >&5 1259echo $ECHO_N "checking build system type... $ECHO_C" >&6 1260if test "${ac_cv_build+set}" = set; then 1261 echo $ECHO_N "(cached) $ECHO_C" >&6 1262else 1263 ac_cv_build_alias=$build_alias 1264test -z "$ac_cv_build_alias" && 1265 ac_cv_build_alias=`$ac_config_guess` 1266test -z "$ac_cv_build_alias" && 1267 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1268echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1269 { (exit 1); exit 1; }; } 1270ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1271 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1272echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1273 { (exit 1); exit 1; }; } 1274 |
550fi | 1275fi |
1276echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1277echo "${ECHO_T}$ac_cv_build" >&6 1278build=$ac_cv_build 1279build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1280build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1281build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
551 | 1282 |
552echo $ac_n "checking host system type""... $ac_c" 1>&6 553echo "configure:554: checking host system type" >&5 | |
554 | 1283 |
555host_alias=$host 556case "$host_alias" in 557NONE) 558 case $nonopt in 559 NONE) 560 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 561 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 562 fi ;; 563 *) host_alias=$nonopt ;; 564 esac ;; 565esac | 1284echo "$as_me:$LINENO: checking host system type" >&5 1285echo $ECHO_N "checking host system type... $ECHO_C" >&6 1286if test "${ac_cv_host+set}" = set; then 1287 echo $ECHO_N "(cached) $ECHO_C" >&6 1288else 1289 ac_cv_host_alias=$host_alias 1290test -z "$ac_cv_host_alias" && 1291 ac_cv_host_alias=$ac_cv_build_alias 1292ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1293 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1294echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1295 { (exit 1); exit 1; }; } |
566 | 1296 |
567host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 568host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 569host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 570host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 571echo "$ac_t""$host" 1>&6 | 1297fi 1298echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1299echo "${ECHO_T}$ac_cv_host" >&6 1300host=$ac_cv_host 1301host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1302host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1303host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
572 573 | 1304 1305 |
574echo $ac_n "checking cached host tuple""... $ac_c" 1>&6 575echo "configure:576: checking cached host tuple" >&5 | 1306 1307echo "$as_me:$LINENO: checking cached host tuple" >&5 1308echo $ECHO_N "checking cached host tuple... $ECHO_C" >&6 |
576if { test x"${ac_cv_host_system_type+set}" = x"set" && 577 test x"$ac_cv_host_system_type" != x"$host"; }; then | 1309if { test x"${ac_cv_host_system_type+set}" = x"set" && 1310 test x"$ac_cv_host_system_type" != x"$host"; }; then |
578 echo "$ac_t""different" 1>&6 579 { echo "configure: error: remove config.cache and re-run configure" 1>&2; exit 1; } | 1311 echo "$as_me:$LINENO: result: different" >&5 1312echo "${ECHO_T}different" >&6 1313 { { echo "$as_me:$LINENO: error: remove config.cache and re-run configure" >&5 1314echo "$as_me: error: remove config.cache and re-run configure" >&2;} 1315 { (exit 1); exit 1; }; } |
580else | 1316else |
581 echo "$ac_t""ok" 1>&6 | 1317 echo "$as_me:$LINENO: result: ok" >&5 1318echo "${ECHO_T}ok" >&6 |
582fi 583ac_cv_host_system_type="$host" 584 585 586 587case "${host}" in 588 589 ## Alpha (DEC) machines. --- 148 unchanged lines hidden (view full) --- 738 tcsh_config_file=bsd 739 NON_GNU_DFLAGS='-DBSD -DUTek' 740 ;; 741 m88k-tektronix-sysv3* ) 742 tcsh_config_file=tekXD88 743 ;; 744 745 ## SCO | 1319fi 1320ac_cv_host_system_type="$host" 1321 1322 1323 1324case "${host}" in 1325 1326 ## Alpha (DEC) machines. --- 148 unchanged lines hidden (view full) --- 1475 tcsh_config_file=bsd 1476 NON_GNU_DFLAGS='-DBSD -DUTek' 1477 ;; 1478 m88k-tektronix-sysv3* ) 1479 tcsh_config_file=tekXD88 1480 ;; 1481 1482 ## SCO |
746 *-sco3.2v5*) | 1483 *-sco3.2v5*) |
747 tcsh_config_file=sco32v5 748 ;; 749 *-sco3.2v4*) 750 tcsh_config_file=sco32v4 751 ;; 752 *-sco3.2v2*) 753 tcsh_config_file=sco32v2 754 ;; --- 24 unchanged lines hidden (view full) --- 779 ;; 780 781 ## Apollo Domain/OS 782 *-apollo-*) 783 tcsh_config_file=apollo 784 ;; 785 786 * ) | 1484 tcsh_config_file=sco32v5 1485 ;; 1486 *-sco3.2v4*) 1487 tcsh_config_file=sco32v4 1488 ;; 1489 *-sco3.2v2*) 1490 tcsh_config_file=sco32v2 1491 ;; --- 24 unchanged lines hidden (view full) --- 1516 ;; 1517 1518 ## Apollo Domain/OS 1519 *-apollo-*) 1520 tcsh_config_file=apollo 1521 ;; 1522 1523 * ) |
787 { echo "configure: error: Tcsh can't guess the configuration file name | 1524 { { echo "$as_me:$LINENO: error: Tcsh can't guess the configuration file name |
788for \`${host}' systems. | 1525for \`${host}' systems. |
789Check tcsh's \`Ported' file for manual configuration instructions." 1>&2; exit 1; } | 1526Check tcsh's \`Ported' file for manual configuration instructions." >&5 1527echo "$as_me: error: Tcsh can't guess the configuration file name 1528for \`${host}' systems. 1529Check tcsh's \`Ported' file for manual configuration instructions." >&2;} 1530 { (exit 1); exit 1; }; } |
790 ;; 791 792esac 793 794echo "Tcsh will use configuration file \`$tcsh_config_file'." 795 | 1531 ;; 1532 1533esac 1534 1535echo "Tcsh will use configuration file \`$tcsh_config_file'." 1536 |
1537 ac_config_headers="$ac_config_headers config.h:config/${tcsh_config_file}:config.h.in" |
|
796 | 1538 |
797# Extract the first word of "gcc", so it can be a program name with args. | 1539ac_ext=c 1540ac_cpp='$CPP $CPPFLAGS' 1541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1543ac_compiler_gnu=$ac_cv_c_compiler_gnu 1544if test -n "$ac_tool_prefix"; then 1545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1546set dummy ${ac_tool_prefix}gcc; ac_word=$2 1547echo "$as_me:$LINENO: checking for $ac_word" >&5 1548echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1549if test "${ac_cv_prog_CC+set}" = set; then 1550 echo $ECHO_N "(cached) $ECHO_C" >&6 1551else 1552 if test -n "$CC"; then 1553 ac_cv_prog_CC="$CC" # Let the user override the test. 1554else 1555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1556for as_dir in $PATH 1557do 1558 IFS=$as_save_IFS 1559 test -z "$as_dir" && as_dir=. 1560 for ac_exec_ext in '' $ac_executable_extensions; do 1561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1562 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1564 break 2 1565 fi 1566done 1567done 1568 1569fi 1570fi 1571CC=$ac_cv_prog_CC 1572if test -n "$CC"; then 1573 echo "$as_me:$LINENO: result: $CC" >&5 1574echo "${ECHO_T}$CC" >&6 1575else 1576 echo "$as_me:$LINENO: result: no" >&5 1577echo "${ECHO_T}no" >&6 1578fi 1579 1580fi 1581if test -z "$ac_cv_prog_CC"; then 1582 ac_ct_CC=$CC 1583 # Extract the first word of "gcc", so it can be a program name with args. |
798set dummy gcc; ac_word=$2 | 1584set dummy gcc; ac_word=$2 |
799echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 800echo "configure:801: checking for $ac_word" >&5 801if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 802 echo $ac_n "(cached) $ac_c" 1>&6 | 1585echo "$as_me:$LINENO: checking for $ac_word" >&5 1586echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1587if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1588 echo $ECHO_N "(cached) $ECHO_C" >&6 |
803else | 1589else |
1590 if test -n "$ac_ct_CC"; then 1591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1592else 1593as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1594for as_dir in $PATH 1595do 1596 IFS=$as_save_IFS 1597 test -z "$as_dir" && as_dir=. 1598 for ac_exec_ext in '' $ac_executable_extensions; do 1599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1600 ac_cv_prog_ac_ct_CC="gcc" 1601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1602 break 2 1603 fi 1604done 1605done 1606 1607fi 1608fi 1609ac_ct_CC=$ac_cv_prog_ac_ct_CC 1610if test -n "$ac_ct_CC"; then 1611 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1612echo "${ECHO_T}$ac_ct_CC" >&6 1613else 1614 echo "$as_me:$LINENO: result: no" >&5 1615echo "${ECHO_T}no" >&6 1616fi 1617 1618 CC=$ac_ct_CC 1619else 1620 CC="$ac_cv_prog_CC" 1621fi 1622 1623if test -z "$CC"; then 1624 if test -n "$ac_tool_prefix"; then 1625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1626set dummy ${ac_tool_prefix}cc; ac_word=$2 1627echo "$as_me:$LINENO: checking for $ac_word" >&5 1628echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1629if test "${ac_cv_prog_CC+set}" = set; then 1630 echo $ECHO_N "(cached) $ECHO_C" >&6 1631else |
|
804 if test -n "$CC"; then 805 ac_cv_prog_CC="$CC" # Let the user override the test. 806else | 1632 if test -n "$CC"; then 1633 ac_cv_prog_CC="$CC" # Let the user override the test. 1634else |
807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 808 ac_dummy="$PATH" 809 for ac_dir in $ac_dummy; do 810 test -z "$ac_dir" && ac_dir=. 811 if test -f $ac_dir/$ac_word; then 812 ac_cv_prog_CC="gcc" 813 break 814 fi 815 done 816 IFS="$ac_save_ifs" | 1635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1636for as_dir in $PATH 1637do 1638 IFS=$as_save_IFS 1639 test -z "$as_dir" && as_dir=. 1640 for ac_exec_ext in '' $ac_executable_extensions; do 1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1642 ac_cv_prog_CC="${ac_tool_prefix}cc" 1643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1644 break 2 1645 fi 1646done 1647done 1648 |
817fi 818fi | 1649fi 1650fi |
819CC="$ac_cv_prog_CC" | 1651CC=$ac_cv_prog_CC |
820if test -n "$CC"; then | 1652if test -n "$CC"; then |
821 echo "$ac_t""$CC" 1>&6 | 1653 echo "$as_me:$LINENO: result: $CC" >&5 1654echo "${ECHO_T}$CC" >&6 |
822else | 1655else |
823 echo "$ac_t""no" 1>&6 | 1656 echo "$as_me:$LINENO: result: no" >&5 1657echo "${ECHO_T}no" >&6 |
824fi 825 | 1658fi 1659 |
1660fi 1661if test -z "$ac_cv_prog_CC"; then 1662 ac_ct_CC=$CC 1663 # Extract the first word of "cc", so it can be a program name with args. 1664set dummy cc; ac_word=$2 1665echo "$as_me:$LINENO: checking for $ac_word" >&5 1666echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1667if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1668 echo $ECHO_N "(cached) $ECHO_C" >&6 1669else 1670 if test -n "$ac_ct_CC"; then 1671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1672else 1673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1674for as_dir in $PATH 1675do 1676 IFS=$as_save_IFS 1677 test -z "$as_dir" && as_dir=. 1678 for ac_exec_ext in '' $ac_executable_extensions; do 1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1680 ac_cv_prog_ac_ct_CC="cc" 1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1682 break 2 1683 fi 1684done 1685done 1686 1687fi 1688fi 1689ac_ct_CC=$ac_cv_prog_ac_ct_CC 1690if test -n "$ac_ct_CC"; then 1691 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1692echo "${ECHO_T}$ac_ct_CC" >&6 1693else 1694 echo "$as_me:$LINENO: result: no" >&5 1695echo "${ECHO_T}no" >&6 1696fi 1697 1698 CC=$ac_ct_CC 1699else 1700 CC="$ac_cv_prog_CC" 1701fi 1702 1703fi |
|
826if test -z "$CC"; then 827 # Extract the first word of "cc", so it can be a program name with args. 828set dummy cc; ac_word=$2 | 1704if test -z "$CC"; then 1705 # Extract the first word of "cc", so it can be a program name with args. 1706set dummy cc; ac_word=$2 |
829echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 830echo "configure:831: checking for $ac_word" >&5 831if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 832 echo $ac_n "(cached) $ac_c" 1>&6 | 1707echo "$as_me:$LINENO: checking for $ac_word" >&5 1708echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1709if test "${ac_cv_prog_CC+set}" = set; then 1710 echo $ECHO_N "(cached) $ECHO_C" >&6 |
833else 834 if test -n "$CC"; then 835 ac_cv_prog_CC="$CC" # Let the user override the test. 836else | 1711else 1712 if test -n "$CC"; then 1713 ac_cv_prog_CC="$CC" # Let the user override the test. 1714else |
837 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
838 ac_prog_rejected=no | 1715 ac_prog_rejected=no |
839 ac_dummy="$PATH" 840 for ac_dir in $ac_dummy; do 841 test -z "$ac_dir" && ac_dir=. 842 if test -f $ac_dir/$ac_word; then 843 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 844 ac_prog_rejected=yes 845 continue 846 fi 847 ac_cv_prog_CC="cc" 848 break 849 fi 850 done 851 IFS="$ac_save_ifs" | 1716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1717for as_dir in $PATH 1718do 1719 IFS=$as_save_IFS 1720 test -z "$as_dir" && as_dir=. 1721 for ac_exec_ext in '' $ac_executable_extensions; do 1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1723 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1724 ac_prog_rejected=yes 1725 continue 1726 fi 1727 ac_cv_prog_CC="cc" 1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1729 break 2 1730 fi 1731done 1732done 1733 |
852if test $ac_prog_rejected = yes; then 853 # We found a bogon in the path, so make sure we never use it. 854 set dummy $ac_cv_prog_CC 855 shift | 1734if test $ac_prog_rejected = yes; then 1735 # We found a bogon in the path, so make sure we never use it. 1736 set dummy $ac_cv_prog_CC 1737 shift |
856 if test $# -gt 0; then | 1738 if test $# != 0; then |
857 # We chose a different compiler from the bogus one. 858 # However, it has the same basename, so the bogon will be chosen 859 # first if we set CC to just the basename; use the full file name. 860 shift | 1739 # We chose a different compiler from the bogus one. 1740 # However, it has the same basename, so the bogon will be chosen 1741 # first if we set CC to just the basename; use the full file name. 1742 shift |
861 set dummy "$ac_dir/$ac_word" "$@" 862 shift 863 ac_cv_prog_CC="$@" | 1743 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
864 fi 865fi 866fi 867fi | 1744 fi 1745fi 1746fi 1747fi |
868CC="$ac_cv_prog_CC" | 1748CC=$ac_cv_prog_CC |
869if test -n "$CC"; then | 1749if test -n "$CC"; then |
870 echo "$ac_t""$CC" 1>&6 | 1750 echo "$as_me:$LINENO: result: $CC" >&5 1751echo "${ECHO_T}$CC" >&6 |
871else | 1752else |
872 echo "$ac_t""no" 1>&6 | 1753 echo "$as_me:$LINENO: result: no" >&5 1754echo "${ECHO_T}no" >&6 |
873fi 874 | 1755fi 1756 |
875 if test -z "$CC"; then 876 case "`uname -s`" in 877 *win32* | *WIN32*) 878 # Extract the first word of "cl", so it can be a program name with args. 879set dummy cl; ac_word=$2 880echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 881echo "configure:882: checking for $ac_word" >&5 882if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 883 echo $ac_n "(cached) $ac_c" 1>&6 | 1757fi 1758if test -z "$CC"; then 1759 if test -n "$ac_tool_prefix"; then 1760 for ac_prog in cl 1761 do 1762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1763set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1764echo "$as_me:$LINENO: checking for $ac_word" >&5 1765echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1766if test "${ac_cv_prog_CC+set}" = set; then 1767 echo $ECHO_N "(cached) $ECHO_C" >&6 |
884else 885 if test -n "$CC"; then 886 ac_cv_prog_CC="$CC" # Let the user override the test. 887else | 1768else 1769 if test -n "$CC"; then 1770 ac_cv_prog_CC="$CC" # Let the user override the test. 1771else |
888 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 889 ac_dummy="$PATH" 890 for ac_dir in $ac_dummy; do 891 test -z "$ac_dir" && ac_dir=. 892 if test -f $ac_dir/$ac_word; then 893 ac_cv_prog_CC="cl" 894 break 895 fi 896 done 897 IFS="$ac_save_ifs" | 1772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1773for as_dir in $PATH 1774do 1775 IFS=$as_save_IFS 1776 test -z "$as_dir" && as_dir=. 1777 for ac_exec_ext in '' $ac_executable_extensions; do 1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1779 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1781 break 2 1782 fi 1783done 1784done 1785 |
898fi 899fi | 1786fi 1787fi |
900CC="$ac_cv_prog_CC" | 1788CC=$ac_cv_prog_CC |
901if test -n "$CC"; then | 1789if test -n "$CC"; then |
902 echo "$ac_t""$CC" 1>&6 | 1790 echo "$as_me:$LINENO: result: $CC" >&5 1791echo "${ECHO_T}$CC" >&6 |
903else | 1792else |
904 echo "$ac_t""no" 1>&6 | 1793 echo "$as_me:$LINENO: result: no" >&5 1794echo "${ECHO_T}no" >&6 |
905fi | 1795fi |
906 ;; 907 esac | 1796 1797 test -n "$CC" && break 1798 done 1799fi 1800if test -z "$CC"; then 1801 ac_ct_CC=$CC 1802 for ac_prog in cl 1803do 1804 # Extract the first word of "$ac_prog", so it can be a program name with args. 1805set dummy $ac_prog; ac_word=$2 1806echo "$as_me:$LINENO: checking for $ac_word" >&5 1807echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1808if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1809 echo $ECHO_N "(cached) $ECHO_C" >&6 1810else 1811 if test -n "$ac_ct_CC"; then 1812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1813else 1814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1815for as_dir in $PATH 1816do 1817 IFS=$as_save_IFS 1818 test -z "$as_dir" && as_dir=. 1819 for ac_exec_ext in '' $ac_executable_extensions; do 1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1821 ac_cv_prog_ac_ct_CC="$ac_prog" 1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1823 break 2 |
908 fi | 1824 fi |
909 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1825done 1826done 1827 |
910fi | 1828fi |
1829fi 1830ac_ct_CC=$ac_cv_prog_ac_ct_CC 1831if test -n "$ac_ct_CC"; then 1832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1833echo "${ECHO_T}$ac_ct_CC" >&6 1834else 1835 echo "$as_me:$LINENO: result: no" >&5 1836echo "${ECHO_T}no" >&6 1837fi |
|
911 | 1838 |
912echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 913echo "configure:914: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1839 test -n "$ac_ct_CC" && break 1840done |
914 | 1841 |
915ac_ext=c 916# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 917ac_cpp='$CPP $CPPFLAGS' 918ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 919ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 920cross_compiling=$ac_cv_prog_cc_cross | 1842 CC=$ac_ct_CC 1843fi |
921 | 1844 |
922cat > conftest.$ac_ext << EOF | 1845fi |
923 | 1846 |
924#line 925 "configure" 925#include "confdefs.h" | |
926 | 1847 |
927main(){return(0);} 928EOF 929if { (eval echo configure:930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 930 ac_cv_prog_cc_works=yes 931 # If we can't run a trivial program, we are probably using a cross compiler. 932 if (./conftest; exit) 2>/dev/null; then 933 ac_cv_prog_cc_cross=no | 1848test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1849See \`config.log' for more details." >&5 1850echo "$as_me: error: no acceptable C compiler found in \$PATH 1851See \`config.log' for more details." >&2;} 1852 { (exit 1); exit 1; }; } 1853 1854# Provide some information about the compiler. 1855echo "$as_me:$LINENO:" \ 1856 "checking for C compiler version" >&5 1857ac_compiler=`set X $ac_compile; echo $2` 1858{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1859 (eval $ac_compiler --version </dev/null >&5) 2>&5 1860 ac_status=$? 1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1862 (exit $ac_status); } 1863{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1864 (eval $ac_compiler -v </dev/null >&5) 2>&5 1865 ac_status=$? 1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1867 (exit $ac_status); } 1868{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1869 (eval $ac_compiler -V </dev/null >&5) 2>&5 1870 ac_status=$? 1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1872 (exit $ac_status); } 1873 1874cat >conftest.$ac_ext <<_ACEOF 1875#line $LINENO "configure" 1876/* confdefs.h. */ 1877_ACEOF 1878cat confdefs.h >>conftest.$ac_ext 1879cat >>conftest.$ac_ext <<_ACEOF 1880/* end confdefs.h. */ 1881 1882int 1883main () 1884{ 1885 1886 ; 1887 return 0; 1888} 1889_ACEOF 1890ac_clean_files_save=$ac_clean_files 1891ac_clean_files="$ac_clean_files a.out a.exe b.out" 1892# Try to create an executable without -o first, disregard a.out. 1893# It will help us diagnose broken compilers, and finding out an intuition 1894# of exeext. 1895echo "$as_me:$LINENO: checking for C compiler default output" >&5 1896echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1897ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1898if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1899 (eval $ac_link_default) 2>&5 1900 ac_status=$? 1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1902 (exit $ac_status); }; then 1903 # Find the output, starting from the most likely. This scheme is 1904# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1905# resort. 1906 1907# Be careful to initialize this variable, since it used to be cached. 1908# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1909ac_cv_exeext= 1910# b.out is created by i960 compilers. 1911for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1912do 1913 test -f "$ac_file" || continue 1914 case $ac_file in 1915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1916 ;; 1917 conftest.$ac_ext ) 1918 # This is the source file. 1919 ;; 1920 [ab].out ) 1921 # We found the default executable, but exeext='' is most 1922 # certainly right. 1923 break;; 1924 *.* ) 1925 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1926 # FIXME: I believe we export ac_cv_exeext for Libtool, 1927 # but it would be cool to find out if it's true. Does anybody 1928 # maintain Libtool? --akim. 1929 export ac_cv_exeext 1930 break;; 1931 * ) 1932 break;; 1933 esac 1934done 1935else 1936 echo "$as_me: failed program was:" >&5 1937sed 's/^/| /' conftest.$ac_ext >&5 1938 1939{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1940See \`config.log' for more details." >&5 1941echo "$as_me: error: C compiler cannot create executables 1942See \`config.log' for more details." >&2;} 1943 { (exit 77); exit 77; }; } 1944fi 1945 1946ac_exeext=$ac_cv_exeext 1947echo "$as_me:$LINENO: result: $ac_file" >&5 1948echo "${ECHO_T}$ac_file" >&6 1949 1950# Check the compiler produces executables we can run. If not, either 1951# the compiler is broken, or we cross compile. 1952echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1953echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1954# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1955# If not cross compiling, check that we can run a simple program. 1956if test "$cross_compiling" != yes; then 1957 if { ac_try='./$ac_file' 1958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1959 (eval $ac_try) 2>&5 1960 ac_status=$? 1961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1962 (exit $ac_status); }; }; then 1963 cross_compiling=no |
934 else | 1964 else |
935 ac_cv_prog_cc_cross=yes | 1965 if test "$cross_compiling" = maybe; then 1966 cross_compiling=yes 1967 else 1968 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1969If you meant to cross compile, use \`--host'. 1970See \`config.log' for more details." >&5 1971echo "$as_me: error: cannot run C compiled programs. 1972If you meant to cross compile, use \`--host'. 1973See \`config.log' for more details." >&2;} 1974 { (exit 1); exit 1; }; } 1975 fi |
936 fi | 1976 fi |
937else 938 echo "configure: failed program was:" >&5 939 cat conftest.$ac_ext >&5 940 ac_cv_prog_cc_works=no | |
941fi | 1977fi |
942rm -fr conftest* 943ac_ext=c 944# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 945ac_cpp='$CPP $CPPFLAGS' 946ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 947ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 948cross_compiling=$ac_cv_prog_cc_cross | 1978echo "$as_me:$LINENO: result: yes" >&5 1979echo "${ECHO_T}yes" >&6 |
949 | 1980 |
950echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 951if test $ac_cv_prog_cc_works = no; then 952 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1981rm -f a.out a.exe conftest$ac_cv_exeext b.out 1982ac_clean_files=$ac_clean_files_save 1983# Check the compiler produces executables we can run. If not, either 1984# the compiler is broken, or we cross compile. 1985echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1986echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1987echo "$as_me:$LINENO: result: $cross_compiling" >&5 1988echo "${ECHO_T}$cross_compiling" >&6 1989 1990echo "$as_me:$LINENO: checking for suffix of executables" >&5 1991echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1992if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1993 (eval $ac_link) 2>&5 1994 ac_status=$? 1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1996 (exit $ac_status); }; then 1997 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1998# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1999# work properly (i.e., refer to `conftest.exe'), while it won't with 2000# `rm'. 2001for ac_file in conftest.exe conftest conftest.*; do 2002 test -f "$ac_file" || continue 2003 case $ac_file in 2004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2005 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2006 export ac_cv_exeext 2007 break;; 2008 * ) break;; 2009 esac 2010done 2011else 2012 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2013See \`config.log' for more details." >&5 2014echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2015See \`config.log' for more details." >&2;} 2016 { (exit 1); exit 1; }; } |
953fi | 2017fi |
954echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 955echo "configure:956: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 956echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 957cross_compiling=$ac_cv_prog_cc_cross | |
958 | 2018 |
959echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 960echo "configure:961: checking whether we are using GNU C" >&5 961if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 962 echo $ac_n "(cached) $ac_c" 1>&6 | 2019rm -f conftest$ac_cv_exeext 2020echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2021echo "${ECHO_T}$ac_cv_exeext" >&6 2022 2023rm -f conftest.$ac_ext 2024EXEEXT=$ac_cv_exeext 2025ac_exeext=$EXEEXT 2026echo "$as_me:$LINENO: checking for suffix of object files" >&5 2027echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2028if test "${ac_cv_objext+set}" = set; then 2029 echo $ECHO_N "(cached) $ECHO_C" >&6 |
963else | 2030else |
964 cat > conftest.c <<EOF 965#ifdef __GNUC__ 966 yes; 967#endif 968EOF 969if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 970 ac_cv_prog_gcc=yes | 2031 cat >conftest.$ac_ext <<_ACEOF 2032#line $LINENO "configure" 2033/* confdefs.h. */ 2034_ACEOF 2035cat confdefs.h >>conftest.$ac_ext 2036cat >>conftest.$ac_ext <<_ACEOF 2037/* end confdefs.h. */ 2038 2039int 2040main () 2041{ 2042 2043 ; 2044 return 0; 2045} 2046_ACEOF 2047rm -f conftest.o conftest.obj 2048if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2049 (eval $ac_compile) 2>&5 2050 ac_status=$? 2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2052 (exit $ac_status); }; then 2053 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2054 case $ac_file in 2055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2056 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2057 break;; 2058 esac 2059done |
971else | 2060else |
972 ac_cv_prog_gcc=no | 2061 echo "$as_me: failed program was:" >&5 2062sed 's/^/| /' conftest.$ac_ext >&5 2063 2064{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2065See \`config.log' for more details." >&5 2066echo "$as_me: error: cannot compute suffix of object files: cannot compile 2067See \`config.log' for more details." >&2;} 2068 { (exit 1); exit 1; }; } |
973fi | 2069fi |
2070 2071rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
974fi | 2072fi |
2073echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2074echo "${ECHO_T}$ac_cv_objext" >&6 2075OBJEXT=$ac_cv_objext 2076ac_objext=$OBJEXT 2077echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2078echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2079if test "${ac_cv_c_compiler_gnu+set}" = set; then 2080 echo $ECHO_N "(cached) $ECHO_C" >&6 2081else 2082 cat >conftest.$ac_ext <<_ACEOF 2083#line $LINENO "configure" 2084/* confdefs.h. */ 2085_ACEOF 2086cat confdefs.h >>conftest.$ac_ext 2087cat >>conftest.$ac_ext <<_ACEOF 2088/* end confdefs.h. */ |
|
975 | 2089 |
976echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 2090int 2091main () 2092{ 2093#ifndef __GNUC__ 2094 choke me 2095#endif |
977 | 2096 |
978if test $ac_cv_prog_gcc = yes; then 979 GCC=yes | 2097 ; 2098 return 0; 2099} 2100_ACEOF 2101rm -f conftest.$ac_objext 2102if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2103 (eval $ac_compile) 2>&5 2104 ac_status=$? 2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2106 (exit $ac_status); } && 2107 { ac_try='test -s conftest.$ac_objext' 2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2109 (eval $ac_try) 2>&5 2110 ac_status=$? 2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2112 (exit $ac_status); }; }; then 2113 ac_compiler_gnu=yes |
980else | 2114else |
981 GCC= | 2115 echo "$as_me: failed program was:" >&5 2116sed 's/^/| /' conftest.$ac_ext >&5 2117 2118ac_compiler_gnu=no |
982fi | 2119fi |
2120rm -f conftest.$ac_objext conftest.$ac_ext 2121ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
983 | 2122 |
984ac_test_CFLAGS="${CFLAGS+set}" 985ac_save_CFLAGS="$CFLAGS" 986CFLAGS= 987echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 988echo "configure:989: checking whether ${CC-cc} accepts -g" >&5 989if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 990 echo $ac_n "(cached) $ac_c" 1>&6 | 2123fi 2124echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2125echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2126GCC=`test $ac_compiler_gnu = yes && echo yes` 2127ac_test_CFLAGS=${CFLAGS+set} 2128ac_save_CFLAGS=$CFLAGS 2129CFLAGS="-g" 2130echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2131echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2132if test "${ac_cv_prog_cc_g+set}" = set; then 2133 echo $ECHO_N "(cached) $ECHO_C" >&6 |
991else | 2134else |
992 echo 'void f(){}' > conftest.c 993if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2135 cat >conftest.$ac_ext <<_ACEOF 2136#line $LINENO "configure" 2137/* confdefs.h. */ 2138_ACEOF 2139cat confdefs.h >>conftest.$ac_ext 2140cat >>conftest.$ac_ext <<_ACEOF 2141/* end confdefs.h. */ 2142 2143int 2144main () 2145{ 2146 2147 ; 2148 return 0; 2149} 2150_ACEOF 2151rm -f conftest.$ac_objext 2152if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2153 (eval $ac_compile) 2>&5 2154 ac_status=$? 2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2156 (exit $ac_status); } && 2157 { ac_try='test -s conftest.$ac_objext' 2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2159 (eval $ac_try) 2>&5 2160 ac_status=$? 2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2162 (exit $ac_status); }; }; then |
994 ac_cv_prog_cc_g=yes 995else | 2163 ac_cv_prog_cc_g=yes 2164else |
996 ac_cv_prog_cc_g=no 997fi 998rm -f conftest* | 2165 echo "$as_me: failed program was:" >&5 2166sed 's/^/| /' conftest.$ac_ext >&5 |
999 | 2167 |
2168ac_cv_prog_cc_g=no |
|
1000fi | 2169fi |
1001 1002echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 2170rm -f conftest.$ac_objext conftest.$ac_ext 2171fi 2172echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2173echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1003if test "$ac_test_CFLAGS" = set; then | 2174if test "$ac_test_CFLAGS" = set; then |
1004 CFLAGS="$ac_save_CFLAGS" | 2175 CFLAGS=$ac_save_CFLAGS |
1005elif test $ac_cv_prog_cc_g = yes; then 1006 if test "$GCC" = yes; then 1007 CFLAGS="-g -O2" 1008 else 1009 CFLAGS="-g" 1010 fi 1011else 1012 if test "$GCC" = yes; then 1013 CFLAGS="-O2" 1014 else 1015 CFLAGS= 1016 fi 1017fi | 2176elif test $ac_cv_prog_cc_g = yes; then 2177 if test "$GCC" = yes; then 2178 CFLAGS="-g -O2" 2179 else 2180 CFLAGS="-g" 2181 fi 2182else 2183 if test "$GCC" = yes; then 2184 CFLAGS="-O2" 2185 else 2186 CFLAGS= 2187 fi 2188fi |
2189echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2190echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2191if test "${ac_cv_prog_cc_stdc+set}" = set; then 2192 echo $ECHO_N "(cached) $ECHO_C" >&6 2193else 2194 ac_cv_prog_cc_stdc=no 2195ac_save_CC=$CC 2196cat >conftest.$ac_ext <<_ACEOF 2197#line $LINENO "configure" 2198/* confdefs.h. */ 2199_ACEOF 2200cat confdefs.h >>conftest.$ac_ext 2201cat >>conftest.$ac_ext <<_ACEOF 2202/* end confdefs.h. */ 2203#include <stdarg.h> 2204#include <stdio.h> 2205#include <sys/types.h> 2206#include <sys/stat.h> 2207/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2208struct buf { int x; }; 2209FILE * (*rcsopen) (struct buf *, struct stat *, int); 2210static char *e (p, i) 2211 char **p; 2212 int i; 2213{ 2214 return p[i]; 2215} 2216static char *f (char * (*g) (char **, int), char **p, ...) 2217{ 2218 char *s; 2219 va_list v; 2220 va_start (v,p); 2221 s = g (p, va_arg (v,int)); 2222 va_end (v); 2223 return s; 2224} 2225int test (int i, double x); 2226struct s1 {int (*f) (int a);}; 2227struct s2 {int (*f) (double a);}; 2228int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2229int argc; 2230char **argv; 2231int 2232main () 2233{ 2234return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2235 ; 2236 return 0; 2237} 2238_ACEOF 2239# Don't try gcc -ansi; that turns off useful extensions and 2240# breaks some systems' header files. 2241# AIX -qlanglvl=ansi 2242# Ultrix and OSF/1 -std1 2243# HP-UX 10.20 and later -Ae 2244# HP-UX older versions -Aa -D_HPUX_SOURCE 2245# SVR4 -Xc -D__EXTENSIONS__ 2246for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2247do 2248 CC="$ac_save_CC $ac_arg" 2249 rm -f conftest.$ac_objext 2250if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2251 (eval $ac_compile) 2>&5 2252 ac_status=$? 2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2254 (exit $ac_status); } && 2255 { ac_try='test -s conftest.$ac_objext' 2256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2257 (eval $ac_try) 2>&5 2258 ac_status=$? 2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2260 (exit $ac_status); }; }; then 2261 ac_cv_prog_cc_stdc=$ac_arg 2262break 2263else 2264 echo "$as_me: failed program was:" >&5 2265sed 's/^/| /' conftest.$ac_ext >&5 |
|
1018 | 2266 |
1019echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1020echo "configure:1021: checking how to run the C preprocessor" >&5 | 2267fi 2268rm -f conftest.$ac_objext 2269done 2270rm -f conftest.$ac_ext conftest.$ac_objext 2271CC=$ac_save_CC 2272 2273fi 2274 2275case "x$ac_cv_prog_cc_stdc" in 2276 x|xno) 2277 echo "$as_me:$LINENO: result: none needed" >&5 2278echo "${ECHO_T}none needed" >&6 ;; 2279 *) 2280 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2281echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2282 CC="$CC $ac_cv_prog_cc_stdc" ;; 2283esac 2284 2285# Some people use a C++ compiler to compile C. Since we use `exit', 2286# in C++ we need to declare it. In case someone uses the same compiler 2287# for both compiling C and C++ we need to have the C++ compiler decide 2288# the declaration of exit, since it's the most demanding environment. 2289cat >conftest.$ac_ext <<_ACEOF 2290#ifndef __cplusplus 2291 choke me 2292#endif 2293_ACEOF 2294rm -f conftest.$ac_objext 2295if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2296 (eval $ac_compile) 2>&5 2297 ac_status=$? 2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2299 (exit $ac_status); } && 2300 { ac_try='test -s conftest.$ac_objext' 2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2302 (eval $ac_try) 2>&5 2303 ac_status=$? 2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2305 (exit $ac_status); }; }; then 2306 for ac_declaration in \ 2307 ''\ 2308 '#include <stdlib.h>' \ 2309 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2310 'extern "C" void std::exit (int); using std::exit;' \ 2311 'extern "C" void exit (int) throw ();' \ 2312 'extern "C" void exit (int);' \ 2313 'void exit (int);' 2314do 2315 cat >conftest.$ac_ext <<_ACEOF 2316#line $LINENO "configure" 2317/* confdefs.h. */ 2318_ACEOF 2319cat confdefs.h >>conftest.$ac_ext 2320cat >>conftest.$ac_ext <<_ACEOF 2321/* end confdefs.h. */ 2322#include <stdlib.h> 2323$ac_declaration 2324int 2325main () 2326{ 2327exit (42); 2328 ; 2329 return 0; 2330} 2331_ACEOF 2332rm -f conftest.$ac_objext 2333if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2334 (eval $ac_compile) 2>&5 2335 ac_status=$? 2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2337 (exit $ac_status); } && 2338 { ac_try='test -s conftest.$ac_objext' 2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2340 (eval $ac_try) 2>&5 2341 ac_status=$? 2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2343 (exit $ac_status); }; }; then 2344 : 2345else 2346 echo "$as_me: failed program was:" >&5 2347sed 's/^/| /' conftest.$ac_ext >&5 2348 2349continue 2350fi 2351rm -f conftest.$ac_objext conftest.$ac_ext 2352 cat >conftest.$ac_ext <<_ACEOF 2353#line $LINENO "configure" 2354/* confdefs.h. */ 2355_ACEOF 2356cat confdefs.h >>conftest.$ac_ext 2357cat >>conftest.$ac_ext <<_ACEOF 2358/* end confdefs.h. */ 2359$ac_declaration 2360int 2361main () 2362{ 2363exit (42); 2364 ; 2365 return 0; 2366} 2367_ACEOF 2368rm -f conftest.$ac_objext 2369if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2370 (eval $ac_compile) 2>&5 2371 ac_status=$? 2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2373 (exit $ac_status); } && 2374 { ac_try='test -s conftest.$ac_objext' 2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2376 (eval $ac_try) 2>&5 2377 ac_status=$? 2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2379 (exit $ac_status); }; }; then 2380 break 2381else 2382 echo "$as_me: failed program was:" >&5 2383sed 's/^/| /' conftest.$ac_ext >&5 2384 2385fi 2386rm -f conftest.$ac_objext conftest.$ac_ext 2387done 2388rm -f conftest* 2389if test -n "$ac_declaration"; then 2390 echo '#ifdef __cplusplus' >>confdefs.h 2391 echo $ac_declaration >>confdefs.h 2392 echo '#endif' >>confdefs.h 2393fi 2394 2395else 2396 echo "$as_me: failed program was:" >&5 2397sed 's/^/| /' conftest.$ac_ext >&5 2398 2399fi 2400rm -f conftest.$ac_objext conftest.$ac_ext 2401ac_ext=c 2402ac_cpp='$CPP $CPPFLAGS' 2403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2405ac_compiler_gnu=$ac_cv_c_compiler_gnu 2406 2407ac_ext=c 2408ac_cpp='$CPP $CPPFLAGS' 2409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2411ac_compiler_gnu=$ac_cv_c_compiler_gnu 2412echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2413echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
1021# On Suns, sometimes $CPP names a directory. 1022if test -n "$CPP" && test -d "$CPP"; then 1023 CPP= 1024fi 1025if test -z "$CPP"; then | 2414# On Suns, sometimes $CPP names a directory. 2415if test -n "$CPP" && test -d "$CPP"; then 2416 CPP= 2417fi 2418if test -z "$CPP"; then |
1026if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 1027 echo $ac_n "(cached) $ac_c" 1>&6 | 2419 if test "${ac_cv_prog_CPP+set}" = set; then 2420 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1028else | 2421else |
1029 # This must be in double quotes, not single quotes, because CPP may get 1030 # substituted into the Makefile and "${CC-cc}" will confuse make. 1031 CPP="${CC-cc} -E" | 2422 # Double quotes because CPP needs to be expanded 2423 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2424 do 2425 ac_preproc_ok=false 2426for ac_c_preproc_warn_flag in '' yes 2427do 2428 # Use a header file that comes with gcc, so configuring glibc 2429 # with a fresh cross-compiler works. 2430 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2431 # <limits.h> exists even on freestanding compilers. |
1032 # On the NeXT, cc -E runs the code through the compiler's parser, | 2432 # On the NeXT, cc -E runs the code through the compiler's parser, |
1033 # not just through cpp. 1034 cat > conftest.$ac_ext <<EOF 1035#line 1036 "configure" 1036#include "confdefs.h" 1037#include <assert.h> 1038Syntax Error 1039EOF 1040ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1041{ (eval echo configure:1042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1042ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1043if test -z "$ac_err"; then 1044 : | 2433 # not just through cpp. "Syntax error" is here to catch this case. 2434 cat >conftest.$ac_ext <<_ACEOF 2435#line $LINENO "configure" 2436/* confdefs.h. */ 2437_ACEOF 2438cat confdefs.h >>conftest.$ac_ext 2439cat >>conftest.$ac_ext <<_ACEOF 2440/* end confdefs.h. */ 2441#ifdef __STDC__ 2442# include <limits.h> 2443#else 2444# include <assert.h> 2445#endif 2446 Syntax error 2447_ACEOF 2448if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2450 ac_status=$? 2451 grep -v '^ *+' conftest.er1 >conftest.err 2452 rm -f conftest.er1 2453 cat conftest.err >&5 2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2455 (exit $ac_status); } >/dev/null; then 2456 if test -s conftest.err; then 2457 ac_cpp_err=$ac_c_preproc_warn_flag 2458 else 2459 ac_cpp_err= 2460 fi |
1045else | 2461else |
1046 echo "$ac_err" >&5 1047 echo "configure: failed program was:" >&5 1048 cat conftest.$ac_ext >&5 1049 rm -rf conftest* 1050 CPP="${CC-cc} -E -traditional-cpp" 1051 cat > conftest.$ac_ext <<EOF 1052#line 1053 "configure" 1053#include "confdefs.h" 1054#include <assert.h> 1055Syntax Error 1056EOF 1057ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1058{ (eval echo configure:1059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1059ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1060if test -z "$ac_err"; then | 2462 ac_cpp_err=yes 2463fi 2464if test -z "$ac_cpp_err"; then |
1061 : 1062else | 2465 : 2466else |
1063 echo "$ac_err" >&5 1064 echo "configure: failed program was:" >&5 1065 cat conftest.$ac_ext >&5 1066 rm -rf conftest* 1067 CPP="${CC-cc} -nologo -E" 1068 cat > conftest.$ac_ext <<EOF 1069#line 1070 "configure" 1070#include "confdefs.h" 1071#include <assert.h> 1072Syntax Error 1073EOF 1074ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1075{ (eval echo configure:1076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1076ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1077if test -z "$ac_err"; then | 2467 echo "$as_me: failed program was:" >&5 2468sed 's/^/| /' conftest.$ac_ext >&5 2469 2470 # Broken: fails on valid input. 2471continue 2472fi 2473rm -f conftest.err conftest.$ac_ext 2474 2475 # OK, works on sane cases. Now check whether non-existent headers 2476 # can be detected and how. 2477 cat >conftest.$ac_ext <<_ACEOF 2478#line $LINENO "configure" 2479/* confdefs.h. */ 2480_ACEOF 2481cat confdefs.h >>conftest.$ac_ext 2482cat >>conftest.$ac_ext <<_ACEOF 2483/* end confdefs.h. */ 2484#include <ac_nonexistent.h> 2485_ACEOF 2486if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2488 ac_status=$? 2489 grep -v '^ *+' conftest.er1 >conftest.err 2490 rm -f conftest.er1 2491 cat conftest.err >&5 2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2493 (exit $ac_status); } >/dev/null; then 2494 if test -s conftest.err; then 2495 ac_cpp_err=$ac_c_preproc_warn_flag 2496 else 2497 ac_cpp_err= 2498 fi 2499else 2500 ac_cpp_err=yes 2501fi 2502if test -z "$ac_cpp_err"; then 2503 # Broken: success on invalid input. 2504continue 2505else 2506 echo "$as_me: failed program was:" >&5 2507sed 's/^/| /' conftest.$ac_ext >&5 2508 2509 # Passes both tests. 2510ac_preproc_ok=: 2511break 2512fi 2513rm -f conftest.err conftest.$ac_ext 2514 2515done 2516# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2517rm -f conftest.err conftest.$ac_ext 2518if $ac_preproc_ok; then 2519 break 2520fi 2521 2522 done 2523 ac_cv_prog_CPP=$CPP 2524 2525fi 2526 CPP=$ac_cv_prog_CPP 2527else 2528 ac_cv_prog_CPP=$CPP 2529fi 2530echo "$as_me:$LINENO: result: $CPP" >&5 2531echo "${ECHO_T}$CPP" >&6 2532ac_preproc_ok=false 2533for ac_c_preproc_warn_flag in '' yes 2534do 2535 # Use a header file that comes with gcc, so configuring glibc 2536 # with a fresh cross-compiler works. 2537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2538 # <limits.h> exists even on freestanding compilers. 2539 # On the NeXT, cc -E runs the code through the compiler's parser, 2540 # not just through cpp. "Syntax error" is here to catch this case. 2541 cat >conftest.$ac_ext <<_ACEOF 2542#line $LINENO "configure" 2543/* confdefs.h. */ 2544_ACEOF 2545cat confdefs.h >>conftest.$ac_ext 2546cat >>conftest.$ac_ext <<_ACEOF 2547/* end confdefs.h. */ 2548#ifdef __STDC__ 2549# include <limits.h> 2550#else 2551# include <assert.h> 2552#endif 2553 Syntax error 2554_ACEOF 2555if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2557 ac_status=$? 2558 grep -v '^ *+' conftest.er1 >conftest.err 2559 rm -f conftest.er1 2560 cat conftest.err >&5 2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2562 (exit $ac_status); } >/dev/null; then 2563 if test -s conftest.err; then 2564 ac_cpp_err=$ac_c_preproc_warn_flag 2565 else 2566 ac_cpp_err= 2567 fi 2568else 2569 ac_cpp_err=yes 2570fi 2571if test -z "$ac_cpp_err"; then |
1078 : 1079else | 2572 : 2573else |
1080 echo "$ac_err" >&5 1081 echo "configure: failed program was:" >&5 1082 cat conftest.$ac_ext >&5 1083 rm -rf conftest* 1084 CPP=/lib/cpp | 2574 echo "$as_me: failed program was:" >&5 2575sed 's/^/| /' conftest.$ac_ext >&5 2576 2577 # Broken: fails on valid input. 2578continue |
1085fi | 2579fi |
1086rm -f conftest* | 2580rm -f conftest.err conftest.$ac_ext 2581 2582 # OK, works on sane cases. Now check whether non-existent headers 2583 # can be detected and how. 2584 cat >conftest.$ac_ext <<_ACEOF 2585#line $LINENO "configure" 2586/* confdefs.h. */ 2587_ACEOF 2588cat confdefs.h >>conftest.$ac_ext 2589cat >>conftest.$ac_ext <<_ACEOF 2590/* end confdefs.h. */ 2591#include <ac_nonexistent.h> 2592_ACEOF 2593if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2595 ac_status=$? 2596 grep -v '^ *+' conftest.er1 >conftest.err 2597 rm -f conftest.er1 2598 cat conftest.err >&5 2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2600 (exit $ac_status); } >/dev/null; then 2601 if test -s conftest.err; then 2602 ac_cpp_err=$ac_c_preproc_warn_flag 2603 else 2604 ac_cpp_err= 2605 fi 2606else 2607 ac_cpp_err=yes |
1087fi | 2608fi |
1088rm -f conftest* | 2609if test -z "$ac_cpp_err"; then 2610 # Broken: success on invalid input. 2611continue 2612else 2613 echo "$as_me: failed program was:" >&5 2614sed 's/^/| /' conftest.$ac_ext >&5 2615 2616 # Passes both tests. 2617ac_preproc_ok=: 2618break |
1089fi | 2619fi |
1090rm -f conftest* 1091 ac_cv_prog_CPP="$CPP" | 2620rm -f conftest.err conftest.$ac_ext 2621 2622done 2623# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2624rm -f conftest.err conftest.$ac_ext 2625if $ac_preproc_ok; then 2626 : 2627else 2628 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2629See \`config.log' for more details." >&5 2630echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2631See \`config.log' for more details." >&2;} 2632 { (exit 1); exit 1; }; } |
1092fi | 2633fi |
1093 CPP="$ac_cv_prog_CPP" | 2634 2635ac_ext=c 2636ac_cpp='$CPP $CPPFLAGS' 2637ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2639ac_compiler_gnu=$ac_cv_c_compiler_gnu 2640 2641 2642 2643echo "$as_me:$LINENO: checking for egrep" >&5 2644echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2645if test "${ac_cv_prog_egrep+set}" = set; then 2646 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1094else | 2647else |
1095 ac_cv_prog_CPP="$CPP" | 2648 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2649 then ac_cv_prog_egrep='grep -E' 2650 else ac_cv_prog_egrep='egrep' 2651 fi |
1096fi | 2652fi |
1097echo "$ac_t""$CPP" 1>&6 | 2653echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2654echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2655 EGREP=$ac_cv_prog_egrep |
1098 | 2656 |
1099if test $ac_cv_prog_gcc = yes; then 1100 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 1101echo "configure:1102: checking whether ${CC-cc} needs -traditional" >&5 1102if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 1103 echo $ac_n "(cached) $ac_c" 1>&6 | 2657 2658if test $ac_cv_c_compiler_gnu = yes; then 2659 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 2660echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 2661if test "${ac_cv_prog_gcc_traditional+set}" = set; then 2662 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1104else 1105 ac_pattern="Autoconf.*'x'" | 2663else 2664 ac_pattern="Autoconf.*'x'" |
1106 cat > conftest.$ac_ext <<EOF 1107#line 1108 "configure" 1108#include "confdefs.h" | 2665 cat >conftest.$ac_ext <<_ACEOF 2666#line $LINENO "configure" 2667/* confdefs.h. */ 2668_ACEOF 2669cat confdefs.h >>conftest.$ac_ext 2670cat >>conftest.$ac_ext <<_ACEOF 2671/* end confdefs.h. */ |
1109#include <sgtty.h> 1110Autoconf TIOCGETP | 2672#include <sgtty.h> 2673Autoconf TIOCGETP |
1111EOF | 2674_ACEOF |
1112if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2675if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1113 egrep "$ac_pattern" >/dev/null 2>&1; then 1114 rm -rf conftest* | 2676 $EGREP "$ac_pattern" >/dev/null 2>&1; then |
1115 ac_cv_prog_gcc_traditional=yes 1116else | 2677 ac_cv_prog_gcc_traditional=yes 2678else |
1117 rm -rf conftest* | |
1118 ac_cv_prog_gcc_traditional=no 1119fi 1120rm -f conftest* 1121 1122 1123 if test $ac_cv_prog_gcc_traditional = no; then | 2679 ac_cv_prog_gcc_traditional=no 2680fi 2681rm -f conftest* 2682 2683 2684 if test $ac_cv_prog_gcc_traditional = no; then |
1124 cat > conftest.$ac_ext <<EOF 1125#line 1126 "configure" 1126#include "confdefs.h" | 2685 cat >conftest.$ac_ext <<_ACEOF 2686#line $LINENO "configure" 2687/* confdefs.h. */ 2688_ACEOF 2689cat confdefs.h >>conftest.$ac_ext 2690cat >>conftest.$ac_ext <<_ACEOF 2691/* end confdefs.h. */ |
1127#include <termio.h> 1128Autoconf TCGETA | 2692#include <termio.h> 2693Autoconf TCGETA |
1129EOF | 2694_ACEOF |
1130if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2695if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1131 egrep "$ac_pattern" >/dev/null 2>&1; then 1132 rm -rf conftest* | 2696 $EGREP "$ac_pattern" >/dev/null 2>&1; then |
1133 ac_cv_prog_gcc_traditional=yes 1134fi 1135rm -f conftest* 1136 1137 fi 1138fi | 2697 ac_cv_prog_gcc_traditional=yes 2698fi 2699rm -f conftest* 2700 2701 fi 2702fi |
1139 1140echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 | 2703echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 2704echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 |
1141 if test $ac_cv_prog_gcc_traditional = yes; then 1142 CC="$CC -traditional" 1143 fi 1144fi 1145 1146 | 2705 if test $ac_cv_prog_gcc_traditional = yes; then 2706 CC="$CC -traditional" 2707 fi 2708fi 2709 2710 |
1147if test $ac_cv_prog_gcc = no ; then | 2711if test $ac_cv_c_compiler_gnu = no ; then |
1148 DFLAGS="$DFLAGS $NON_GNU_DFLAGS" 1149 CFLAGS="$CFLAGS $NON_GNU_CFLAGS" 1150fi 1151 1152case "${host}" in 1153 ## Cygnus GNU Win32 1154 *-cygwin) 1155 CFLAGS="$CFLAGS -mno-win32" 1156 ;; 1157esac 1158 | 2712 DFLAGS="$DFLAGS $NON_GNU_DFLAGS" 2713 CFLAGS="$CFLAGS $NON_GNU_CFLAGS" 2714fi 2715 2716case "${host}" in 2717 ## Cygnus GNU Win32 2718 *-cygwin) 2719 CFLAGS="$CFLAGS -mno-win32" 2720 ;; 2721esac 2722 |
1159 1160echo $ac_n "checking for library containing crypt""... $ac_c" 1>&6 1161echo "configure:1162: checking for library containing crypt" >&5 1162if eval "test \"`echo '$''{'ac_cv_search_crypt'+set}'`\" = set"; then 1163 echo $ac_n "(cached) $ac_c" 1>&6 | 2723echo "$as_me:$LINENO: checking for library containing crypt" >&5 2724echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6 2725if test "${ac_cv_search_crypt+set}" = set; then 2726 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1164else | 2727else |
1165 ac_func_search_save_LIBS="$LIBS" 1166ac_cv_search_crypt="no" 1167cat > conftest.$ac_ext <<EOF 1168#line 1169 "configure" 1169#include "confdefs.h" | 2728 ac_func_search_save_LIBS=$LIBS 2729ac_cv_search_crypt=no 2730cat >conftest.$ac_ext <<_ACEOF 2731#line $LINENO "configure" 2732/* confdefs.h. */ 2733_ACEOF 2734cat confdefs.h >>conftest.$ac_ext 2735cat >>conftest.$ac_ext <<_ACEOF 2736/* end confdefs.h. */ 2737 |
1170/* Override any gcc2 internal prototype to avoid an error. */ | 2738/* Override any gcc2 internal prototype to avoid an error. */ |
2739#ifdef __cplusplus 2740extern "C" 2741#endif |
|
1171/* We use char because int might match the return type of a gcc2 | 2742/* We use char because int might match the return type of a gcc2 |
1172 builtin and then its argument prototype would still apply. */ 1173char crypt(); 1174 1175int main() { 1176crypt() 1177; return 0; } 1178EOF 1179if { (eval echo configure:1180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1180 rm -rf conftest* | 2743 builtin and then its argument prototype would still apply. */ 2744char crypt (); 2745int 2746main () 2747{ 2748crypt (); 2749 ; 2750 return 0; 2751} 2752_ACEOF 2753rm -f conftest.$ac_objext conftest$ac_exeext 2754if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2755 (eval $ac_link) 2>&5 2756 ac_status=$? 2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2758 (exit $ac_status); } && 2759 { ac_try='test -s conftest$ac_exeext' 2760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2761 (eval $ac_try) 2>&5 2762 ac_status=$? 2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764 (exit $ac_status); }; }; then |
1181 ac_cv_search_crypt="none required" 1182else | 2765 ac_cv_search_crypt="none required" 2766else |
1183 echo "configure: failed program was:" >&5 1184 cat conftest.$ac_ext >&5 | 2767 echo "$as_me: failed program was:" >&5 2768sed 's/^/| /' conftest.$ac_ext >&5 2769 |
1185fi | 2770fi |
1186rm -f conftest* 1187test "$ac_cv_search_crypt" = "no" && for i in crypt; do 1188LIBS="-l$i $ac_func_search_save_LIBS" 1189cat > conftest.$ac_ext <<EOF 1190#line 1191 "configure" 1191#include "confdefs.h" | 2771rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2772if test "$ac_cv_search_crypt" = no; then 2773 for ac_lib in crypt; do 2774 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 2775 cat >conftest.$ac_ext <<_ACEOF 2776#line $LINENO "configure" 2777/* confdefs.h. */ 2778_ACEOF 2779cat confdefs.h >>conftest.$ac_ext 2780cat >>conftest.$ac_ext <<_ACEOF 2781/* end confdefs.h. */ 2782 |
1192/* Override any gcc2 internal prototype to avoid an error. */ | 2783/* Override any gcc2 internal prototype to avoid an error. */ |
2784#ifdef __cplusplus 2785extern "C" 2786#endif |
|
1193/* We use char because int might match the return type of a gcc2 | 2787/* We use char because int might match the return type of a gcc2 |
1194 builtin and then its argument prototype would still apply. */ 1195char crypt(); 1196 1197int main() { 1198crypt() 1199; return 0; } 1200EOF 1201if { (eval echo configure:1202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1202 rm -rf conftest* 1203 ac_cv_search_crypt="-l$i" | 2788 builtin and then its argument prototype would still apply. */ 2789char crypt (); 2790int 2791main () 2792{ 2793crypt (); 2794 ; 2795 return 0; 2796} 2797_ACEOF 2798rm -f conftest.$ac_objext conftest$ac_exeext 2799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2800 (eval $ac_link) 2>&5 2801 ac_status=$? 2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2803 (exit $ac_status); } && 2804 { ac_try='test -s conftest$ac_exeext' 2805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2806 (eval $ac_try) 2>&5 2807 ac_status=$? 2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2809 (exit $ac_status); }; }; then 2810 ac_cv_search_crypt="-l$ac_lib" |
1204break 1205else | 2811break 2812else |
1206 echo "configure: failed program was:" >&5 1207 cat conftest.$ac_ext >&5 | 2813 echo "$as_me: failed program was:" >&5 2814sed 's/^/| /' conftest.$ac_ext >&5 2815 |
1208fi | 2816fi |
1209rm -f conftest* 1210done 1211LIBS="$ac_func_search_save_LIBS" | 2817rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2818 done |
1212fi | 2819fi |
1213 1214echo "$ac_t""$ac_cv_search_crypt" 1>&6 1215if test "$ac_cv_search_crypt" != "no"; then | 2820LIBS=$ac_func_search_save_LIBS 2821fi 2822echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 2823echo "${ECHO_T}$ac_cv_search_crypt" >&6 2824if test "$ac_cv_search_crypt" != no; then |
1216 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS" | 2825 test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS" |
1217 1218else : 1219 | 2826 |
1220fi 1221 | 2827fi 2828 |
1222echo $ac_n "checking for library containing tgetent""... $ac_c" 1>&6 1223echo "configure:1224: checking for library containing tgetent" >&5 1224if eval "test \"`echo '$''{'ac_cv_search_tgetent'+set}'`\" = set"; then 1225 echo $ac_n "(cached) $ac_c" 1>&6 | 2829echo "$as_me:$LINENO: checking for library containing tgetent" >&5 2830echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6 2831if test "${ac_cv_search_tgetent+set}" = set; then 2832 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1226else | 2833else |
1227 ac_func_search_save_LIBS="$LIBS" 1228ac_cv_search_tgetent="no" 1229cat > conftest.$ac_ext <<EOF 1230#line 1231 "configure" 1231#include "confdefs.h" | 2834 ac_func_search_save_LIBS=$LIBS 2835ac_cv_search_tgetent=no 2836cat >conftest.$ac_ext <<_ACEOF 2837#line $LINENO "configure" 2838/* confdefs.h. */ 2839_ACEOF 2840cat confdefs.h >>conftest.$ac_ext 2841cat >>conftest.$ac_ext <<_ACEOF 2842/* end confdefs.h. */ 2843 |
1232/* Override any gcc2 internal prototype to avoid an error. */ | 2844/* Override any gcc2 internal prototype to avoid an error. */ |
2845#ifdef __cplusplus 2846extern "C" 2847#endif |
|
1233/* We use char because int might match the return type of a gcc2 | 2848/* We use char because int might match the return type of a gcc2 |
1234 builtin and then its argument prototype would still apply. */ 1235char tgetent(); 1236 1237int main() { 1238tgetent() 1239; return 0; } 1240EOF 1241if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1242 rm -rf conftest* | 2849 builtin and then its argument prototype would still apply. */ 2850char tgetent (); 2851int 2852main () 2853{ 2854tgetent (); 2855 ; 2856 return 0; 2857} 2858_ACEOF 2859rm -f conftest.$ac_objext conftest$ac_exeext 2860if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2861 (eval $ac_link) 2>&5 2862 ac_status=$? 2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2864 (exit $ac_status); } && 2865 { ac_try='test -s conftest$ac_exeext' 2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2867 (eval $ac_try) 2>&5 2868 ac_status=$? 2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2870 (exit $ac_status); }; }; then |
1243 ac_cv_search_tgetent="none required" 1244else | 2871 ac_cv_search_tgetent="none required" 2872else |
1245 echo "configure: failed program was:" >&5 1246 cat conftest.$ac_ext >&5 | 2873 echo "$as_me: failed program was:" >&5 2874sed 's/^/| /' conftest.$ac_ext >&5 2875 |
1247fi | 2876fi |
1248rm -f conftest* 1249test "$ac_cv_search_tgetent" = "no" && for i in termlib curses termcap; do 1250LIBS="-l$i $ac_func_search_save_LIBS" 1251cat > conftest.$ac_ext <<EOF 1252#line 1253 "configure" 1253#include "confdefs.h" | 2877rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2878if test "$ac_cv_search_tgetent" = no; then 2879 for ac_lib in termlib curses termcap; do 2880 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 2881 cat >conftest.$ac_ext <<_ACEOF 2882#line $LINENO "configure" 2883/* confdefs.h. */ 2884_ACEOF 2885cat confdefs.h >>conftest.$ac_ext 2886cat >>conftest.$ac_ext <<_ACEOF 2887/* end confdefs.h. */ 2888 |
1254/* Override any gcc2 internal prototype to avoid an error. */ | 2889/* Override any gcc2 internal prototype to avoid an error. */ |
2890#ifdef __cplusplus 2891extern "C" 2892#endif |
|
1255/* We use char because int might match the return type of a gcc2 | 2893/* We use char because int might match the return type of a gcc2 |
1256 builtin and then its argument prototype would still apply. */ 1257char tgetent(); 1258 1259int main() { 1260tgetent() 1261; return 0; } 1262EOF 1263if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1264 rm -rf conftest* 1265 ac_cv_search_tgetent="-l$i" | 2894 builtin and then its argument prototype would still apply. */ 2895char tgetent (); 2896int 2897main () 2898{ 2899tgetent (); 2900 ; 2901 return 0; 2902} 2903_ACEOF 2904rm -f conftest.$ac_objext conftest$ac_exeext 2905if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2906 (eval $ac_link) 2>&5 2907 ac_status=$? 2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2909 (exit $ac_status); } && 2910 { ac_try='test -s conftest$ac_exeext' 2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2912 (eval $ac_try) 2>&5 2913 ac_status=$? 2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2915 (exit $ac_status); }; }; then 2916 ac_cv_search_tgetent="-l$ac_lib" |
1266break 1267else | 2917break 2918else |
1268 echo "configure: failed program was:" >&5 1269 cat conftest.$ac_ext >&5 | 2919 echo "$as_me: failed program was:" >&5 2920sed 's/^/| /' conftest.$ac_ext >&5 2921 |
1270fi | 2922fi |
1271rm -f conftest* 1272done 1273LIBS="$ac_func_search_save_LIBS" | 2923rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2924 done |
1274fi | 2925fi |
1275 1276echo "$ac_t""$ac_cv_search_tgetent" 1>&6 1277if test "$ac_cv_search_tgetent" != "no"; then | 2926LIBS=$ac_func_search_save_LIBS 2927fi 2928echo "$as_me:$LINENO: result: $ac_cv_search_tgetent" >&5 2929echo "${ECHO_T}$ac_cv_search_tgetent" >&6 2930if test "$ac_cv_search_tgetent" != no; then |
1278 test "$ac_cv_search_tgetent" = "none required" || LIBS="$ac_cv_search_tgetent $LIBS" | 2931 test "$ac_cv_search_tgetent" = "none required" || LIBS="$ac_cv_search_tgetent $LIBS" |
1279 1280else : 1281 | 2932 |
1282fi 1283 | 2933fi 2934 |
1284echo $ac_n "checking for library containing gethostbyname""... $ac_c" 1>&6 1285echo "configure:1286: checking for library containing gethostbyname" >&5 1286if eval "test \"`echo '$''{'ac_cv_search_gethostbyname'+set}'`\" = set"; then 1287 echo $ac_n "(cached) $ac_c" 1>&6 | 2935echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 2936echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6 2937if test "${ac_cv_search_gethostbyname+set}" = set; then 2938 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1288else | 2939else |
1289 ac_func_search_save_LIBS="$LIBS" 1290ac_cv_search_gethostbyname="no" 1291cat > conftest.$ac_ext <<EOF 1292#line 1293 "configure" 1293#include "confdefs.h" | 2940 ac_func_search_save_LIBS=$LIBS 2941ac_cv_search_gethostbyname=no 2942cat >conftest.$ac_ext <<_ACEOF 2943#line $LINENO "configure" 2944/* confdefs.h. */ 2945_ACEOF 2946cat confdefs.h >>conftest.$ac_ext 2947cat >>conftest.$ac_ext <<_ACEOF 2948/* end confdefs.h. */ 2949 |
1294/* Override any gcc2 internal prototype to avoid an error. */ | 2950/* Override any gcc2 internal prototype to avoid an error. */ |
2951#ifdef __cplusplus 2952extern "C" 2953#endif |
|
1295/* We use char because int might match the return type of a gcc2 | 2954/* We use char because int might match the return type of a gcc2 |
1296 builtin and then its argument prototype would still apply. */ 1297char gethostbyname(); 1298 1299int main() { 1300gethostbyname() 1301; return 0; } 1302EOF 1303if { (eval echo configure:1304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1304 rm -rf conftest* | 2955 builtin and then its argument prototype would still apply. */ 2956char gethostbyname (); 2957int 2958main () 2959{ 2960gethostbyname (); 2961 ; 2962 return 0; 2963} 2964_ACEOF 2965rm -f conftest.$ac_objext conftest$ac_exeext 2966if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2967 (eval $ac_link) 2>&5 2968 ac_status=$? 2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2970 (exit $ac_status); } && 2971 { ac_try='test -s conftest$ac_exeext' 2972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2973 (eval $ac_try) 2>&5 2974 ac_status=$? 2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2976 (exit $ac_status); }; }; then |
1305 ac_cv_search_gethostbyname="none required" 1306else | 2977 ac_cv_search_gethostbyname="none required" 2978else |
1307 echo "configure: failed program was:" >&5 1308 cat conftest.$ac_ext >&5 | 2979 echo "$as_me: failed program was:" >&5 2980sed 's/^/| /' conftest.$ac_ext >&5 2981 |
1309fi | 2982fi |
1310rm -f conftest* 1311test "$ac_cv_search_gethostbyname" = "no" && for i in nsl; do 1312LIBS="-l$i $ac_func_search_save_LIBS" 1313cat > conftest.$ac_ext <<EOF 1314#line 1315 "configure" 1315#include "confdefs.h" | 2983rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2984if test "$ac_cv_search_gethostbyname" = no; then 2985 for ac_lib in nsl; do 2986 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 2987 cat >conftest.$ac_ext <<_ACEOF 2988#line $LINENO "configure" 2989/* confdefs.h. */ 2990_ACEOF 2991cat confdefs.h >>conftest.$ac_ext 2992cat >>conftest.$ac_ext <<_ACEOF 2993/* end confdefs.h. */ 2994 |
1316/* Override any gcc2 internal prototype to avoid an error. */ | 2995/* Override any gcc2 internal prototype to avoid an error. */ |
2996#ifdef __cplusplus 2997extern "C" 2998#endif |
|
1317/* We use char because int might match the return type of a gcc2 | 2999/* We use char because int might match the return type of a gcc2 |
1318 builtin and then its argument prototype would still apply. */ 1319char gethostbyname(); 1320 1321int main() { 1322gethostbyname() 1323; return 0; } 1324EOF 1325if { (eval echo configure:1326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1326 rm -rf conftest* 1327 ac_cv_search_gethostbyname="-l$i" | 3000 builtin and then its argument prototype would still apply. */ 3001char gethostbyname (); 3002int 3003main () 3004{ 3005gethostbyname (); 3006 ; 3007 return 0; 3008} 3009_ACEOF 3010rm -f conftest.$ac_objext conftest$ac_exeext 3011if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3012 (eval $ac_link) 2>&5 3013 ac_status=$? 3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3015 (exit $ac_status); } && 3016 { ac_try='test -s conftest$ac_exeext' 3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3018 (eval $ac_try) 2>&5 3019 ac_status=$? 3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3021 (exit $ac_status); }; }; then 3022 ac_cv_search_gethostbyname="-l$ac_lib" |
1328break 1329else | 3023break 3024else |
1330 echo "configure: failed program was:" >&5 1331 cat conftest.$ac_ext >&5 | 3025 echo "$as_me: failed program was:" >&5 3026sed 's/^/| /' conftest.$ac_ext >&5 3027 |
1332fi | 3028fi |
1333rm -f conftest* 1334done 1335LIBS="$ac_func_search_save_LIBS" | 3029rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3030 done |
1336fi | 3031fi |
1337 1338echo "$ac_t""$ac_cv_search_gethostbyname" 1>&6 1339if test "$ac_cv_search_gethostbyname" != "no"; then | 3032LIBS=$ac_func_search_save_LIBS 3033fi 3034echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 3035echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6 3036if test "$ac_cv_search_gethostbyname" != no; then |
1340 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS" | 3037 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS" |
1341 1342else : 1343 | 3038 |
1344fi 1345 | 3039fi 3040 |
1346echo $ac_n "checking for library containing connect""... $ac_c" 1>&6 1347echo "configure:1348: checking for library containing connect" >&5 1348if eval "test \"`echo '$''{'ac_cv_search_connect'+set}'`\" = set"; then 1349 echo $ac_n "(cached) $ac_c" 1>&6 | 3041echo "$as_me:$LINENO: checking for library containing connect" >&5 3042echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6 3043if test "${ac_cv_search_connect+set}" = set; then 3044 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1350else | 3045else |
1351 ac_func_search_save_LIBS="$LIBS" 1352ac_cv_search_connect="no" 1353cat > conftest.$ac_ext <<EOF 1354#line 1355 "configure" 1355#include "confdefs.h" | 3046 ac_func_search_save_LIBS=$LIBS 3047ac_cv_search_connect=no 3048cat >conftest.$ac_ext <<_ACEOF 3049#line $LINENO "configure" 3050/* confdefs.h. */ 3051_ACEOF 3052cat confdefs.h >>conftest.$ac_ext 3053cat >>conftest.$ac_ext <<_ACEOF 3054/* end confdefs.h. */ 3055 |
1356/* Override any gcc2 internal prototype to avoid an error. */ | 3056/* Override any gcc2 internal prototype to avoid an error. */ |
3057#ifdef __cplusplus 3058extern "C" 3059#endif |
|
1357/* We use char because int might match the return type of a gcc2 | 3060/* We use char because int might match the return type of a gcc2 |
1358 builtin and then its argument prototype would still apply. */ 1359char connect(); 1360 1361int main() { 1362connect() 1363; return 0; } 1364EOF 1365if { (eval echo configure:1366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1366 rm -rf conftest* | 3061 builtin and then its argument prototype would still apply. */ 3062char connect (); 3063int 3064main () 3065{ 3066connect (); 3067 ; 3068 return 0; 3069} 3070_ACEOF 3071rm -f conftest.$ac_objext conftest$ac_exeext 3072if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3073 (eval $ac_link) 2>&5 3074 ac_status=$? 3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3076 (exit $ac_status); } && 3077 { ac_try='test -s conftest$ac_exeext' 3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3079 (eval $ac_try) 2>&5 3080 ac_status=$? 3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3082 (exit $ac_status); }; }; then |
1367 ac_cv_search_connect="none required" 1368else | 3083 ac_cv_search_connect="none required" 3084else |
1369 echo "configure: failed program was:" >&5 1370 cat conftest.$ac_ext >&5 | 3085 echo "$as_me: failed program was:" >&5 3086sed 's/^/| /' conftest.$ac_ext >&5 3087 |
1371fi | 3088fi |
1372rm -f conftest* 1373test "$ac_cv_search_connect" = "no" && for i in socket; do 1374LIBS="-l$i $ac_func_search_save_LIBS" 1375cat > conftest.$ac_ext <<EOF 1376#line 1377 "configure" 1377#include "confdefs.h" | 3089rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3090if test "$ac_cv_search_connect" = no; then 3091 for ac_lib in socket; do 3092 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3093 cat >conftest.$ac_ext <<_ACEOF 3094#line $LINENO "configure" 3095/* confdefs.h. */ 3096_ACEOF 3097cat confdefs.h >>conftest.$ac_ext 3098cat >>conftest.$ac_ext <<_ACEOF 3099/* end confdefs.h. */ 3100 |
1378/* Override any gcc2 internal prototype to avoid an error. */ | 3101/* Override any gcc2 internal prototype to avoid an error. */ |
3102#ifdef __cplusplus 3103extern "C" 3104#endif |
|
1379/* We use char because int might match the return type of a gcc2 | 3105/* We use char because int might match the return type of a gcc2 |
1380 builtin and then its argument prototype would still apply. */ 1381char connect(); 1382 1383int main() { 1384connect() 1385; return 0; } 1386EOF 1387if { (eval echo configure:1388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1388 rm -rf conftest* 1389 ac_cv_search_connect="-l$i" | 3106 builtin and then its argument prototype would still apply. */ 3107char connect (); 3108int 3109main () 3110{ 3111connect (); 3112 ; 3113 return 0; 3114} 3115_ACEOF 3116rm -f conftest.$ac_objext conftest$ac_exeext 3117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3118 (eval $ac_link) 2>&5 3119 ac_status=$? 3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3121 (exit $ac_status); } && 3122 { ac_try='test -s conftest$ac_exeext' 3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3124 (eval $ac_try) 2>&5 3125 ac_status=$? 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); }; }; then 3128 ac_cv_search_connect="-l$ac_lib" |
1390break 1391else | 3129break 3130else |
1392 echo "configure: failed program was:" >&5 1393 cat conftest.$ac_ext >&5 | 3131 echo "$as_me: failed program was:" >&5 3132sed 's/^/| /' conftest.$ac_ext >&5 3133 |
1394fi | 3134fi |
1395rm -f conftest* 1396done 1397LIBS="$ac_func_search_save_LIBS" | 3135rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3136 done |
1398fi | 3137fi |
1399 1400echo "$ac_t""$ac_cv_search_connect" 1>&6 1401if test "$ac_cv_search_connect" != "no"; then | 3138LIBS=$ac_func_search_save_LIBS 3139fi 3140echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5 3141echo "${ECHO_T}$ac_cv_search_connect" >&6 3142if test "$ac_cv_search_connect" != no; then |
1402 test "$ac_cv_search_connect" = "none required" || LIBS="$ac_cv_search_connect $LIBS" | 3143 test "$ac_cv_search_connect" = "none required" || LIBS="$ac_cv_search_connect $LIBS" |
1403 1404else : 1405 | 3144 |
1406fi 1407 1408 | 3145fi 3146 3147 |
1409echo $ac_n "checking ss_family in sockaddr_storage""... $ac_c" 1>&6 1410echo "configure:1411: checking ss_family in sockaddr_storage" >&5 1411if eval "test \"`echo '$''{'ac_cv_ss_family'+set}'`\" = set"; then 1412 echo $ac_n "(cached) $ac_c" 1>&6 | 3148 3149echo "$as_me:$LINENO: checking ss_family in sockaddr_storage" >&5 3150echo $ECHO_N "checking ss_family in sockaddr_storage... $ECHO_C" >&6 3151if test "${ac_cv_ss_family+set}" = set; then 3152 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1413else | 3153else |
1414 cat > conftest.$ac_ext <<EOF 1415#line 1416 "configure" 1416#include "confdefs.h" | 3154 cat >conftest.$ac_ext <<_ACEOF 3155#line $LINENO "configure" 3156/* confdefs.h. */ 3157_ACEOF 3158cat confdefs.h >>conftest.$ac_ext 3159cat >>conftest.$ac_ext <<_ACEOF 3160/* end confdefs.h. */ |
1417#include <sys/types.h> 1418#include <sys/socket.h> | 3161#include <sys/types.h> 3162#include <sys/socket.h> |
1419int main() { | 3163int 3164main () 3165{ |
1420struct sockaddr_storage ss; ss.ss_family; | 3166struct sockaddr_storage ss; ss.ss_family; |
1421; return 0; } 1422EOF 1423if { (eval echo configure:1424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1424 rm -rf conftest* | 3167 ; 3168 return 0; 3169} 3170_ACEOF 3171rm -f conftest.$ac_objext 3172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3173 (eval $ac_compile) 2>&5 3174 ac_status=$? 3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3176 (exit $ac_status); } && 3177 { ac_try='test -s conftest.$ac_objext' 3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3179 (eval $ac_try) 2>&5 3180 ac_status=$? 3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3182 (exit $ac_status); }; }; then |
1425 ac_cv_ss_family=yes 1426else | 3183 ac_cv_ss_family=yes 3184else |
1427 echo "configure: failed program was:" >&5 1428 cat conftest.$ac_ext >&5 1429 rm -rf conftest* 1430 ac_cv_ss_family=no | 3185 echo "$as_me: failed program was:" >&5 3186sed 's/^/| /' conftest.$ac_ext >&5 3187 3188ac_cv_ss_family=no |
1431fi | 3189fi |
1432rm -f conftest* | 3190rm -f conftest.$ac_objext conftest.$ac_ext |
1433if test "$ac_cv_ss_family" = no; then 1434 DFLAGS="$DFLAGS -DNO_SS_FAMILY" 1435fi 1436 1437fi | 3191if test "$ac_cv_ss_family" = no; then 3192 DFLAGS="$DFLAGS -DNO_SS_FAMILY" 3193fi 3194 3195fi |
3196echo "$as_me:$LINENO: result: $ac_cv_ss_family" >&5 3197echo "${ECHO_T}$ac_cv_ss_family" >&6 |
|
1438 | 3198 |
1439echo "$ac_t""$ac_cv_ss_family" 1>&6 | |
1440 1441 1442 1443# Check whether --with-hesiod or --without-hesiod was given. 1444if test "${with_hesiod+set}" = set; then 1445 withval="$with_hesiod" 1446 hesiod="$withval" 1447else 1448 hesiod=no | 3199 3200 3201 3202# Check whether --with-hesiod or --without-hesiod was given. 3203if test "${with_hesiod+set}" = set; then 3204 withval="$with_hesiod" 3205 hesiod="$withval" 3206else 3207 hesiod=no |
1449fi 1450 | 3208fi; |
1451if test "$hesiod" != no; then 1452 HESLIB="-lhesiod" | 3209if test "$hesiod" != no; then 3210 HESLIB="-lhesiod" |
1453 echo $ac_n "checking for res_send""... $ac_c" 1>&6 1454echo "configure:1455: checking for res_send" >&5 1455if eval "test \"`echo '$''{'ac_cv_func_res_send'+set}'`\" = set"; then 1456 echo $ac_n "(cached) $ac_c" 1>&6 | 3211 echo "$as_me:$LINENO: checking for res_send" >&5 3212echo $ECHO_N "checking for res_send... $ECHO_C" >&6 3213if test "${ac_cv_func_res_send+set}" = set; then 3214 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1457else | 3215else |
1458 cat > conftest.$ac_ext <<EOF 1459#line 1460 "configure" 1460#include "confdefs.h" | 3216 cat >conftest.$ac_ext <<_ACEOF 3217#line $LINENO "configure" 3218/* confdefs.h. */ 3219_ACEOF 3220cat confdefs.h >>conftest.$ac_ext 3221cat >>conftest.$ac_ext <<_ACEOF 3222/* end confdefs.h. */ |
1461/* System header to define __stub macros and hopefully few prototypes, | 3223/* System header to define __stub macros and hopefully few prototypes, |
1462 which can conflict with char res_send(); below. */ 1463#include <assert.h> | 3224 which can conflict with char res_send (); below. 3225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3226 <limits.h> exists even on freestanding compilers. */ 3227#ifdef __STDC__ 3228# include <limits.h> 3229#else 3230# include <assert.h> 3231#endif |
1464/* Override any gcc2 internal prototype to avoid an error. */ | 3232/* Override any gcc2 internal prototype to avoid an error. */ |
3233#ifdef __cplusplus 3234extern "C" 3235{ 3236#endif |
|
1465/* We use char because int might match the return type of a gcc2 | 3237/* We use char because int might match the return type of a gcc2 |
1466 builtin and then its argument prototype would still apply. */ 1467char res_send(); 1468 1469int main() { 1470 | 3238 builtin and then its argument prototype would still apply. */ 3239char res_send (); |
1471/* The GNU C library defines this for functions which it implements 1472 to always fail with ENOSYS. Some functions are actually named 1473 something starting with __ and the normal name is an alias. */ 1474#if defined (__stub_res_send) || defined (__stub___res_send) 1475choke me 1476#else | 3240/* The GNU C library defines this for functions which it implements 3241 to always fail with ENOSYS. Some functions are actually named 3242 something starting with __ and the normal name is an alias. */ 3243#if defined (__stub_res_send) || defined (__stub___res_send) 3244choke me 3245#else |
1477res_send(); | 3246char (*f) () = res_send; |
1478#endif | 3247#endif |
3248#ifdef __cplusplus 3249} 3250#endif |
|
1479 | 3251 |
1480; return 0; } 1481EOF 1482if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1483 rm -rf conftest* 1484 eval "ac_cv_func_res_send=yes" | 3252int 3253main () 3254{ 3255return f != res_send; 3256 ; 3257 return 0; 3258} 3259_ACEOF 3260rm -f conftest.$ac_objext conftest$ac_exeext 3261if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3262 (eval $ac_link) 2>&5 3263 ac_status=$? 3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3265 (exit $ac_status); } && 3266 { ac_try='test -s conftest$ac_exeext' 3267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3268 (eval $ac_try) 2>&5 3269 ac_status=$? 3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3271 (exit $ac_status); }; }; then 3272 ac_cv_func_res_send=yes |
1485else | 3273else |
1486 echo "configure: failed program was:" >&5 1487 cat conftest.$ac_ext >&5 1488 rm -rf conftest* 1489 eval "ac_cv_func_res_send=no" | 3274 echo "$as_me: failed program was:" >&5 3275sed 's/^/| /' conftest.$ac_ext >&5 3276 3277ac_cv_func_res_send=no |
1490fi | 3278fi |
1491rm -f conftest* | 3279rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
1492fi | 3280fi |
1493 1494if eval "test \"`echo '$ac_cv_func_'res_send`\" = yes"; then 1495 echo "$ac_t""yes" 1>&6 | 3281echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 3282echo "${ECHO_T}$ac_cv_func_res_send" >&6 3283if test $ac_cv_func_res_send = yes; then |
1496 : 1497else | 3284 : 3285else |
1498 echo "$ac_t""no" 1>&6 1499echo $ac_n "checking for res_send in -lresolv""... $ac_c" 1>&6 1500echo "configure:1501: checking for res_send in -lresolv" >&5 1501ac_lib_var=`echo resolv'_'res_send | sed 'y%./+-%__p_%'` 1502if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1503 echo $ac_n "(cached) $ac_c" 1>&6 | 3286 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 3287echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 3288if test "${ac_cv_lib_resolv_res_send+set}" = set; then 3289 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1504else | 3290else |
1505 ac_save_LIBS="$LIBS" | 3291 ac_check_lib_save_LIBS=$LIBS |
1506LIBS="-lresolv $LIBS" | 3292LIBS="-lresolv $LIBS" |
1507cat > conftest.$ac_ext <<EOF 1508#line 1509 "configure" 1509#include "confdefs.h" | 3293cat >conftest.$ac_ext <<_ACEOF 3294#line $LINENO "configure" 3295/* confdefs.h. */ 3296_ACEOF 3297cat confdefs.h >>conftest.$ac_ext 3298cat >>conftest.$ac_ext <<_ACEOF 3299/* end confdefs.h. */ 3300 |
1510/* Override any gcc2 internal prototype to avoid an error. */ | 3301/* Override any gcc2 internal prototype to avoid an error. */ |
3302#ifdef __cplusplus 3303extern "C" 3304#endif |
|
1511/* We use char because int might match the return type of a gcc2 | 3305/* We use char because int might match the return type of a gcc2 |
1512 builtin and then its argument prototype would still apply. */ 1513char res_send(); 1514 1515int main() { 1516res_send() 1517; return 0; } 1518EOF 1519if { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1520 rm -rf conftest* 1521 eval "ac_cv_lib_$ac_lib_var=yes" | 3306 builtin and then its argument prototype would still apply. */ 3307char res_send (); 3308int 3309main () 3310{ 3311res_send (); 3312 ; 3313 return 0; 3314} 3315_ACEOF 3316rm -f conftest.$ac_objext conftest$ac_exeext 3317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3318 (eval $ac_link) 2>&5 3319 ac_status=$? 3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3321 (exit $ac_status); } && 3322 { ac_try='test -s conftest$ac_exeext' 3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3324 (eval $ac_try) 2>&5 3325 ac_status=$? 3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3327 (exit $ac_status); }; }; then 3328 ac_cv_lib_resolv_res_send=yes |
1522else | 3329else |
1523 echo "configure: failed program was:" >&5 1524 cat conftest.$ac_ext >&5 1525 rm -rf conftest* 1526 eval "ac_cv_lib_$ac_lib_var=no" 1527fi 1528rm -f conftest* 1529LIBS="$ac_save_LIBS" | 3330 echo "$as_me: failed program was:" >&5 3331sed 's/^/| /' conftest.$ac_ext >&5 |
1530 | 3332 |
3333ac_cv_lib_resolv_res_send=no |
|
1531fi | 3334fi |
1532if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1533 echo "$ac_t""yes" 1>&6 | 3335rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3336LIBS=$ac_check_lib_save_LIBS 3337fi 3338echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 3339echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 3340if test $ac_cv_lib_resolv_res_send = yes; then |
1534 HESLIB="$HESLIB -lresolv" | 3341 HESLIB="$HESLIB -lresolv" |
1535else 1536 echo "$ac_t""no" 1>&6 | |
1537fi 1538 1539fi 1540 1541 HESDEF=-DHESIOD 1542 if test "$hesiod" != yes; then 1543 HESDEF="$HESDEF -I$hesiod/include" 1544 HESLIB="-L$hesiod/lib $HESLIB" 1545 fi 1546fi 1547 1548 1549 | 3342fi 3343 3344fi 3345 3346 HESDEF=-DHESIOD 3347 if test "$hesiod" != yes; then 3348 HESDEF="$HESDEF -I$hesiod/include" 3349 HESLIB="-L$hesiod/lib $HESLIB" 3350 fi 3351fi 3352 3353 3354 |
1550trap '' 1 2 15 1551cat > confcache <<\EOF | 3355 3356 3357 ac_config_files="$ac_config_files Makefile" 3358cat >confcache <<\_ACEOF |
1552# This file is a shell script that caches the results of configure 1553# tests run on this system so they can be shared between configure | 3359# This file is a shell script that caches the results of configure 3360# tests run on this system so they can be shared between configure |
1554# scripts and configure runs. It is not useful on other systems. 1555# If it contains results you don't want to keep, you may remove or edit it. | 3361# scripts and configure runs, see configure's option --config-cache. 3362# It is not useful on other systems. If it contains results you don't 3363# want to keep, you may remove or edit it. |
1556# | 3364# |
1557# By default, configure uses ./config.cache as the cache file, 1558# creating it if it does not exist already. You can give configure 1559# the --cache-file=FILE option to use a different cache file; that is 1560# what configure does when it calls configure scripts in 1561# subdirectories, so they share the cache. 1562# Giving --cache-file=/dev/null disables caching, for debugging configure. 1563# config.status only pays attention to the cache file if you give it the 1564# --recheck option to rerun configure. | 3365# config.status only pays attention to the cache file if you give it 3366# the --recheck option to rerun configure. |
1565# | 3367# |
1566EOF | 3368# `ac_cv_env_foo' variables (set or unset) will be overridden when 3369# loading this file, other *unset* `ac_cv_foo' will be assigned the 3370# following values. 3371 3372_ACEOF 3373 |
1567# The following way of writing the cache mishandles newlines in values, 1568# but we know of no workaround that is simple, portable, and efficient. 1569# So, don't put newlines in cache variables' values. 1570# Ultrix sh set writes to stderr and can't be redirected directly, 1571# and sets the high bit in the cache file unless we assign to the vars. | 3374# The following way of writing the cache mishandles newlines in values, 3375# but we know of no workaround that is simple, portable, and efficient. 3376# So, don't put newlines in cache variables' values. 3377# Ultrix sh set writes to stderr and can't be redirected directly, 3378# and sets the high bit in the cache file unless we assign to the vars. |
1572(set) 2>&1 | 1573 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1574 *ac_space=\ *) 1575 # `set' does not quote correctly, so add quotes (double-quote substitution 1576 # turns \\\\ into \\, and sed turns \\ into \). 1577 sed -n \ 1578 -e "s/'/'\\\\''/g" \ 1579 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 1580 ;; 1581 *) 1582 # `set' quotes correctly as required by POSIX, so do not add quotes. 1583 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 1584 ;; 1585 esac >> confcache 1586if cmp -s $cache_file confcache; then 1587 : 1588else | 3379{ 3380 (set) 2>&1 | 3381 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3382 *ac_space=\ *) 3383 # `set' does not quote correctly, so add quotes (double-quote 3384 # substitution turns \\\\ into \\, and sed turns \\ into \). 3385 sed -n \ 3386 "s/'/'\\\\''/g; 3387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3388 ;; 3389 *) 3390 # `set' quotes correctly as required by POSIX, so do not add quotes. 3391 sed -n \ 3392 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3393 ;; 3394 esac; 3395} | 3396 sed ' 3397 t clear 3398 : clear 3399 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3400 t end 3401 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3402 : end' >>confcache 3403if diff $cache_file confcache >/dev/null 2>&1; then :; else |
1589 if test -w $cache_file; then | 3404 if test -w $cache_file; then |
1590 echo "updating cache $cache_file" 1591 cat confcache > $cache_file | 3405 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3406 cat confcache >$cache_file |
1592 else 1593 echo "not updating unwritable cache $cache_file" 1594 fi 1595fi 1596rm -f confcache 1597 | 3407 else 3408 echo "not updating unwritable cache $cache_file" 3409 fi 3410fi 3411rm -f confcache 3412 |
1598trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 1599 | |
1600test "x$prefix" = xNONE && prefix=$ac_default_prefix 1601# Let make expand exec_prefix. 1602test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1603 | 3413test "x$prefix" = xNONE && prefix=$ac_default_prefix 3414# Let make expand exec_prefix. 3415test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3416 |
1604# Any assignment to VPATH causes Sun make to only execute 1605# the first set of double-colon rules, so remove it if not needed. 1606# If there is a colon in the path, we need to keep it. | 3417# VPATH may cause trouble with some makes, so we remove $(srcdir), 3418# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3419# trailing colons and then remove the whole line if VPATH becomes empty 3420# (actually we leave an empty line to preserve line numbers). |
1607if test "x$srcdir" = x.; then | 3421if test "x$srcdir" = x.; then |
1608 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' | 3422 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3423s/:*\$(srcdir):*/:/; 3424s/:*\${srcdir}:*/:/; 3425s/:*@srcdir@:*/:/; 3426s/^\([^=]*=[ ]*\):*/\1/; 3427s/:*$//; 3428s/^[^=]*=[ ]*$//; 3429}' |
1609fi 1610 | 3430fi 3431 |
1611trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 1612 | |
1613DEFS=-DHAVE_CONFIG_H 1614 | 3432DEFS=-DHAVE_CONFIG_H 3433 |
1615# Without the "./", some shells look in PATH for config.status. 1616: ${CONFIG_STATUS=./config.status} | 3434ac_libobjs= 3435ac_ltlibobjs= 3436for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3437 # 1. Remove the extension, and $U if already installed. 3438 ac_i=`echo "$ac_i" | 3439 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3440 # 2. Add them. 3441 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3442 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3443done 3444LIBOBJS=$ac_libobjs |
1617 | 3445 |
1618echo creating $CONFIG_STATUS 1619rm -f $CONFIG_STATUS 1620cat > $CONFIG_STATUS <<EOF 1621#! /bin/sh 1622# Generated automatically by configure. | 3446LTLIBOBJS=$ac_ltlibobjs 3447 3448 3449 3450: ${CONFIG_STATUS=./config.status} 3451ac_clean_files_save=$ac_clean_files 3452ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3453{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3454echo "$as_me: creating $CONFIG_STATUS" >&6;} 3455cat >$CONFIG_STATUS <<_ACEOF 3456#! $SHELL 3457# Generated by $as_me. |
1623# Run this file to recreate the current configuration. | 3458# Run this file to recreate the current configuration. |
1624# This directory was configured as follows, 1625# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1626# 1627# $0 $ac_configure_args 1628# | |
1629# Compiler output produced by configure, useful for debugging | 3459# Compiler output produced by configure, useful for debugging |
1630# configure, is in ./config.log if it exists. | 3460# configure, is in config.log if it exists. |
1631 | 3461 |
1632ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 1633for ac_option | 3462debug=false 3463ac_cs_recheck=false 3464ac_cs_silent=false 3465SHELL=\${CONFIG_SHELL-$SHELL} 3466_ACEOF 3467 3468cat >>$CONFIG_STATUS <<\_ACEOF 3469## --------------------- ## 3470## M4sh Initialization. ## 3471## --------------------- ## 3472 3473# Be Bourne compatible 3474if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3475 emulate sh 3476 NULLCMD=: 3477 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3478 # is contrary to our usage. Disable this feature. 3479 alias -g '${1+"$@"}'='"$@"' 3480elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3481 set -o posix 3482fi 3483 3484# Support unset when possible. 3485if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 3486 as_unset=unset 3487else 3488 as_unset=false 3489fi 3490 3491 3492# Work around bugs in pre-3.0 UWIN ksh. 3493$as_unset ENV MAIL MAILPATH 3494PS1='$ ' 3495PS2='> ' 3496PS4='+ ' 3497 3498# NLS nuisances. 3499for as_var in \ 3500 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3501 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3502 LC_TELEPHONE LC_TIME |
1634do | 3503do |
1635 case "\$ac_option" in 1636 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1637 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 1638 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 1639 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 1640 echo "$CONFIG_STATUS generated by autoconf version 2.13" 1641 exit 0 ;; 1642 -help | --help | --hel | --he | --h) 1643 echo "\$ac_cs_usage"; exit 0 ;; 1644 *) echo "\$ac_cs_usage"; exit 1 ;; 1645 esac | 3504 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 3505 eval $as_var=C; export $as_var 3506 else 3507 $as_unset $as_var 3508 fi |
1646done 1647 | 3509done 3510 |
1648ac_given_srcdir=$srcdir | 3511# Required to use basename. 3512if expr a : '\(a\)' >/dev/null 2>&1; then 3513 as_expr=expr 3514else 3515 as_expr=false 3516fi |
1649 | 3517 |
1650trap 'rm -fr `echo "Makefile config.h:config/${tcsh_config_file}:config.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 1651EOF 1652cat >> $CONFIG_STATUS <<EOF | 3518if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3519 as_basename=basename 3520else 3521 as_basename=false 3522fi |
1653 | 3523 |
1654# Protect against being on the right side of a sed subst in config.status. 1655sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 1656 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 1657$ac_vpsub 1658$extrasub 1659s%@SHELL@%$SHELL%g 1660s%@CFLAGS@%$CFLAGS%g 1661s%@CPPFLAGS@%$CPPFLAGS%g 1662s%@CXXFLAGS@%$CXXFLAGS%g 1663s%@FFLAGS@%$FFLAGS%g 1664s%@DEFS@%$DEFS%g 1665s%@LDFLAGS@%$LDFLAGS%g 1666s%@LIBS@%$LIBS%g 1667s%@exec_prefix@%$exec_prefix%g 1668s%@prefix@%$prefix%g 1669s%@program_transform_name@%$program_transform_name%g 1670s%@bindir@%$bindir%g 1671s%@sbindir@%$sbindir%g 1672s%@libexecdir@%$libexecdir%g 1673s%@datadir@%$datadir%g 1674s%@sysconfdir@%$sysconfdir%g 1675s%@sharedstatedir@%$sharedstatedir%g 1676s%@localstatedir@%$localstatedir%g 1677s%@libdir@%$libdir%g 1678s%@includedir@%$includedir%g 1679s%@oldincludedir@%$oldincludedir%g 1680s%@infodir@%$infodir%g 1681s%@mandir@%$mandir%g 1682s%@host@%$host%g 1683s%@host_alias@%$host_alias%g 1684s%@host_cpu@%$host_cpu%g 1685s%@host_vendor@%$host_vendor%g 1686s%@host_os@%$host_os%g 1687s%@CC@%$CC%g 1688s%@CPP@%$CPP%g 1689s%@DFLAGS@%$DFLAGS%g 1690s%@HESDEF@%$HESDEF%g 1691s%@HESLIB@%$HESLIB%g | |
1692 | 3524 |
1693CEOF 1694EOF | 3525# Name of the executable. 3526as_me=`$as_basename "$0" || 3527$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3528 X"$0" : 'X\(//\)$' \| \ 3529 X"$0" : 'X\(/\)$' \| \ 3530 . : '\(.\)' 2>/dev/null || 3531echo X/"$0" | 3532 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3533 /^X\/\(\/\/\)$/{ s//\1/; q; } 3534 /^X\/\(\/\).*/{ s//\1/; q; } 3535 s/.*/./; q'` |
1695 | 3536 |
1696cat >> $CONFIG_STATUS <<\EOF | |
1697 | 3537 |
1698# Split the substitutions into bite-sized pieces for seds with 1699# small command number limits, like on Digital OSF/1 and HP-UX. 1700ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 1701ac_file=1 # Number of current file. 1702ac_beg=1 # First line for current file. 1703ac_end=$ac_max_sed_cmds # Line after last line for current file. 1704ac_more_lines=: 1705ac_sed_cmds="" 1706while $ac_more_lines; do 1707 if test $ac_beg -gt 1; then 1708 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file | 3538# PATH needs CR, and LINENO needs CR and PATH. 3539# Avoid depending upon Character Ranges. 3540as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3541as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3542as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3543as_cr_digits='0123456789' 3544as_cr_alnum=$as_cr_Letters$as_cr_digits 3545 3546# The user is always right. 3547if test "${PATH_SEPARATOR+set}" != set; then 3548 echo "#! /bin/sh" >conf$$.sh 3549 echo "exit 0" >>conf$$.sh 3550 chmod +x conf$$.sh 3551 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3552 PATH_SEPARATOR=';' |
1709 else | 3553 else |
1710 sed "${ac_end}q" conftest.subs > conftest.s$ac_file | 3554 PATH_SEPARATOR=: |
1711 fi | 3555 fi |
1712 if test ! -s conftest.s$ac_file; then 1713 ac_more_lines=false 1714 rm -f conftest.s$ac_file | 3556 rm -f conf$$.sh 3557fi 3558 3559 3560 as_lineno_1=$LINENO 3561 as_lineno_2=$LINENO 3562 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3563 test "x$as_lineno_1" != "x$as_lineno_2" && 3564 test "x$as_lineno_3" = "x$as_lineno_2" || { 3565 # Find who we are. Look in the path if we contain no path at all 3566 # relative or not. 3567 case $0 in 3568 *[\\/]* ) as_myself=$0 ;; 3569 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3570for as_dir in $PATH 3571do 3572 IFS=$as_save_IFS 3573 test -z "$as_dir" && as_dir=. 3574 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3575done 3576 3577 ;; 3578 esac 3579 # We did not find ourselves, most probably we were run as `sh COMMAND' 3580 # in which case we are not to be found in the path. 3581 if test "x$as_myself" = x; then 3582 as_myself=$0 3583 fi 3584 if test ! -f "$as_myself"; then 3585 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3586echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3587 { (exit 1); exit 1; }; } 3588 fi 3589 case $CONFIG_SHELL in 3590 '') 3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3592for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3593do 3594 IFS=$as_save_IFS 3595 test -z "$as_dir" && as_dir=. 3596 for as_base in sh bash ksh sh5; do 3597 case $as_dir in 3598 /*) 3599 if ("$as_dir/$as_base" -c ' 3600 as_lineno_1=$LINENO 3601 as_lineno_2=$LINENO 3602 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3603 test "x$as_lineno_1" != "x$as_lineno_2" && 3604 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3605 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3606 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3607 CONFIG_SHELL=$as_dir/$as_base 3608 export CONFIG_SHELL 3609 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3610 fi;; 3611 esac 3612 done 3613done 3614;; 3615 esac 3616 3617 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3618 # uniformly replaced by the line number. The first 'sed' inserts a 3619 # line-number line before each line; the second 'sed' does the real 3620 # work. The second script uses 'N' to pair each line-number line 3621 # with the numbered line, and appends trailing '-' during 3622 # substitution so that $LINENO is not a special case at line end. 3623 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3624 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3625 sed '=' <$as_myself | 3626 sed ' 3627 N 3628 s,$,-, 3629 : loop 3630 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3631 t loop 3632 s,-$,, 3633 s,^['$as_cr_digits']*\n,, 3634 ' >$as_me.lineno && 3635 chmod +x $as_me.lineno || 3636 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3637echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3638 { (exit 1); exit 1; }; } 3639 3640 # Don't try to exec as it changes $[0], causing all sort of problems 3641 # (the dirname of $[0] is not the place where we might find the 3642 # original and so on. Autoconf is especially sensible to this). 3643 . ./$as_me.lineno 3644 # Exit status is that of the last command. 3645 exit 3646} 3647 3648 3649case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3650 *c*,-n*) ECHO_N= ECHO_C=' 3651' ECHO_T=' ' ;; 3652 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3653 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3654esac 3655 3656if expr a : '\(a\)' >/dev/null 2>&1; then 3657 as_expr=expr 3658else 3659 as_expr=false 3660fi 3661 3662rm -f conf$$ conf$$.exe conf$$.file 3663echo >conf$$.file 3664if ln -s conf$$.file conf$$ 2>/dev/null; then 3665 # We could just check for DJGPP; but this test a) works b) is more generic 3666 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3667 if test -f conf$$.exe; then 3668 # Don't use ln at all; we don't have any links 3669 as_ln_s='cp -p' |
1715 else | 3670 else |
1716 if test -z "$ac_sed_cmds"; then 1717 ac_sed_cmds="sed -f conftest.s$ac_file" 1718 else 1719 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 1720 fi 1721 ac_file=`expr $ac_file + 1` 1722 ac_beg=$ac_end 1723 ac_end=`expr $ac_end + $ac_max_sed_cmds` | 3671 as_ln_s='ln -s' |
1724 fi | 3672 fi |
3673elif ln conf$$.file conf$$ 2>/dev/null; then 3674 as_ln_s=ln 3675else 3676 as_ln_s='cp -p' 3677fi 3678rm -f conf$$ conf$$.exe conf$$.file 3679 3680if mkdir -p . 2>/dev/null; then 3681 as_mkdir_p=: 3682else 3683 as_mkdir_p=false 3684fi 3685 3686as_executable_p="test -f" 3687 3688# Sed expression to map a string onto a valid CPP name. 3689as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 3690 3691# Sed expression to map a string onto a valid variable name. 3692as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 3693 3694 3695# IFS 3696# We need space, tab and new line, in precisely that order. 3697as_nl=' 3698' 3699IFS=" $as_nl" 3700 3701# CDPATH. 3702$as_unset CDPATH 3703 3704exec 6>&1 3705 3706# Open the log real soon, to keep \$[0] and so on meaningful, and to 3707# report actual input values of CONFIG_FILES etc. instead of their 3708# values after options handling. Logging --version etc. is OK. 3709exec 5>>config.log 3710{ 3711 echo 3712 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3713## Running $as_me. ## 3714_ASBOX 3715} >&5 3716cat >&5 <<_CSEOF 3717 3718This file was extended by $as_me, which was 3719generated by GNU Autoconf 2.57. Invocation command line was 3720 3721 CONFIG_FILES = $CONFIG_FILES 3722 CONFIG_HEADERS = $CONFIG_HEADERS 3723 CONFIG_LINKS = $CONFIG_LINKS 3724 CONFIG_COMMANDS = $CONFIG_COMMANDS 3725 $ $0 $@ 3726 3727_CSEOF 3728echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3729echo >&5 3730_ACEOF 3731 3732# Files that config.status was made for. 3733if test -n "$ac_config_files"; then 3734 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3735fi 3736 3737if test -n "$ac_config_headers"; then 3738 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3739fi 3740 3741if test -n "$ac_config_links"; then 3742 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3743fi 3744 3745if test -n "$ac_config_commands"; then 3746 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3747fi 3748 3749cat >>$CONFIG_STATUS <<\_ACEOF 3750 3751ac_cs_usage="\ 3752\`$as_me' instantiates files from templates according to the 3753current configuration. 3754 3755Usage: $0 [OPTIONS] [FILE]... 3756 3757 -h, --help print this help, then exit 3758 -V, --version print version number, then exit 3759 -q, --quiet do not print progress messages 3760 -d, --debug don't remove temporary files 3761 --recheck update $as_me by reconfiguring in the same conditions 3762 --file=FILE[:TEMPLATE] 3763 instantiate the configuration file FILE 3764 --header=FILE[:TEMPLATE] 3765 instantiate the configuration header FILE 3766 3767Configuration files: 3768$config_files 3769 3770Configuration headers: 3771$config_headers 3772 3773Report bugs to <bug-autoconf@gnu.org>." 3774_ACEOF 3775 3776cat >>$CONFIG_STATUS <<_ACEOF 3777ac_cs_version="\\ 3778config.status 3779configured by $0, generated by GNU Autoconf 2.57, 3780 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3781 3782Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 3783Free Software Foundation, Inc. 3784This config.status script is free software; the Free Software Foundation 3785gives unlimited permission to copy, distribute and modify it." 3786srcdir=$srcdir 3787_ACEOF 3788 3789cat >>$CONFIG_STATUS <<\_ACEOF 3790# If no file are specified by the user, then we need to provide default 3791# value. By we need to know if files were specified by the user. 3792ac_need_defaults=: 3793while test $# != 0 3794do 3795 case $1 in 3796 --*=*) 3797 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3798 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3799 ac_shift=: 3800 ;; 3801 -*) 3802 ac_option=$1 3803 ac_optarg=$2 3804 ac_shift=shift 3805 ;; 3806 *) # This is not an option, so the user has probably given explicit 3807 # arguments. 3808 ac_option=$1 3809 ac_need_defaults=false;; 3810 esac 3811 3812 case $ac_option in 3813 # Handling of the options. 3814_ACEOF 3815cat >>$CONFIG_STATUS <<\_ACEOF 3816 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3817 ac_cs_recheck=: ;; 3818 --version | --vers* | -V ) 3819 echo "$ac_cs_version"; exit 0 ;; 3820 --he | --h) 3821 # Conflict between --help and --header 3822 { { echo "$as_me:$LINENO: error: ambiguous option: $1 3823Try \`$0 --help' for more information." >&5 3824echo "$as_me: error: ambiguous option: $1 3825Try \`$0 --help' for more information." >&2;} 3826 { (exit 1); exit 1; }; };; 3827 --help | --hel | -h ) 3828 echo "$ac_cs_usage"; exit 0 ;; 3829 --debug | --d* | -d ) 3830 debug=: ;; 3831 --file | --fil | --fi | --f ) 3832 $ac_shift 3833 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3834 ac_need_defaults=false;; 3835 --header | --heade | --head | --hea ) 3836 $ac_shift 3837 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3838 ac_need_defaults=false;; 3839 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3840 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3841 ac_cs_silent=: ;; 3842 3843 # This is an error. 3844 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 3845Try \`$0 --help' for more information." >&5 3846echo "$as_me: error: unrecognized option: $1 3847Try \`$0 --help' for more information." >&2;} 3848 { (exit 1); exit 1; }; } ;; 3849 3850 *) ac_config_targets="$ac_config_targets $1" ;; 3851 3852 esac 3853 shift |
|
1725done | 3854done |
1726if test -z "$ac_sed_cmds"; then 1727 ac_sed_cmds=cat | 3855 3856ac_configure_extra_args= 3857 3858if $ac_cs_silent; then 3859 exec 6>/dev/null 3860 ac_configure_extra_args="$ac_configure_extra_args --silent" |
1728fi | 3861fi |
1729EOF | |
1730 | 3862 |
1731cat >> $CONFIG_STATUS <<EOF | 3863_ACEOF 3864cat >>$CONFIG_STATUS <<_ACEOF 3865if \$ac_cs_recheck; then 3866 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3867 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3868fi |
1732 | 3869 |
1733CONFIG_FILES=\${CONFIG_FILES-"Makefile"} 1734EOF 1735cat >> $CONFIG_STATUS <<\EOF 1736for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 1737 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 1738 case "$ac_file" in 1739 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 1740 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1741 *) ac_file_in="${ac_file}.in" ;; | 3870_ACEOF 3871 3872 3873 3874 3875 3876cat >>$CONFIG_STATUS <<\_ACEOF 3877for ac_config_target in $ac_config_targets 3878do 3879 case "$ac_config_target" in 3880 # Handling of arguments. 3881 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3882 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config/${tcsh_config_file}:config.h.in" ;; 3883 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3884echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3885 { (exit 1); exit 1; }; };; |
1742 esac | 3886 esac |
3887done |
|
1743 | 3888 |
1744 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. | 3889# If the user did not use the arguments to specify the items to instantiate, 3890# then the envvar interface is used. Set only those that are not. 3891# We use the long form for the default assignment because of an extremely 3892# bizarre bug on SunOS 4.1.3. 3893if $ac_need_defaults; then 3894 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3895 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3896fi |
1745 | 3897 |
1746 # Remove last slash and all that follows it. Not all systems have dirname. 1747 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 1748 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 1749 # The file is in a subdirectory. 1750 test ! -d "$ac_dir" && mkdir "$ac_dir" 1751 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 1752 # A "../" for each directory in $ac_dir_suffix. 1753 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 1754 else 1755 ac_dir_suffix= ac_dots= | 3898# Have a temporary directory for convenience. Make it in the build tree 3899# simply because there is no reason to put it here, and in addition, 3900# creating and moving files from /tmp can sometimes cause problems. 3901# Create a temporary directory, and hook for its removal unless debugging. 3902$debug || 3903{ 3904 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3905 trap '{ (exit 1); exit 1; }' 1 2 13 15 3906} 3907 3908# Create a (secure) tmp directory for tmp files. 3909 3910{ 3911 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 3912 test -n "$tmp" && test -d "$tmp" 3913} || 3914{ 3915 tmp=./confstat$$-$RANDOM 3916 (umask 077 && mkdir $tmp) 3917} || 3918{ 3919 echo "$me: cannot create a temporary directory in ." >&2 3920 { (exit 1); exit 1; } 3921} 3922 3923_ACEOF 3924 3925cat >>$CONFIG_STATUS <<_ACEOF 3926 3927# 3928# CONFIG_FILES section. 3929# 3930 3931# No need to generate the scripts if there are no CONFIG_FILES. 3932# This happens for instance when ./config.status config.h 3933if test -n "\$CONFIG_FILES"; then 3934 # Protect against being on the right side of a sed subst in config.status. 3935 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3936 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3937s,@SHELL@,$SHELL,;t t 3938s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3939s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3940s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3941s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3942s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3943s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3944s,@exec_prefix@,$exec_prefix,;t t 3945s,@prefix@,$prefix,;t t 3946s,@program_transform_name@,$program_transform_name,;t t 3947s,@bindir@,$bindir,;t t 3948s,@sbindir@,$sbindir,;t t 3949s,@libexecdir@,$libexecdir,;t t 3950s,@datadir@,$datadir,;t t 3951s,@sysconfdir@,$sysconfdir,;t t 3952s,@sharedstatedir@,$sharedstatedir,;t t 3953s,@localstatedir@,$localstatedir,;t t 3954s,@libdir@,$libdir,;t t 3955s,@includedir@,$includedir,;t t 3956s,@oldincludedir@,$oldincludedir,;t t 3957s,@infodir@,$infodir,;t t 3958s,@mandir@,$mandir,;t t 3959s,@build_alias@,$build_alias,;t t 3960s,@host_alias@,$host_alias,;t t 3961s,@target_alias@,$target_alias,;t t 3962s,@DEFS@,$DEFS,;t t 3963s,@ECHO_C@,$ECHO_C,;t t 3964s,@ECHO_N@,$ECHO_N,;t t 3965s,@ECHO_T@,$ECHO_T,;t t 3966s,@LIBS@,$LIBS,;t t 3967s,@build@,$build,;t t 3968s,@build_cpu@,$build_cpu,;t t 3969s,@build_vendor@,$build_vendor,;t t 3970s,@build_os@,$build_os,;t t 3971s,@host@,$host,;t t 3972s,@host_cpu@,$host_cpu,;t t 3973s,@host_vendor@,$host_vendor,;t t 3974s,@host_os@,$host_os,;t t 3975s,@CC@,$CC,;t t 3976s,@CFLAGS@,$CFLAGS,;t t 3977s,@LDFLAGS@,$LDFLAGS,;t t 3978s,@CPPFLAGS@,$CPPFLAGS,;t t 3979s,@ac_ct_CC@,$ac_ct_CC,;t t 3980s,@EXEEXT@,$EXEEXT,;t t 3981s,@OBJEXT@,$OBJEXT,;t t 3982s,@CPP@,$CPP,;t t 3983s,@EGREP@,$EGREP,;t t 3984s,@DFLAGS@,$DFLAGS,;t t 3985s,@HESDEF@,$HESDEF,;t t 3986s,@HESLIB@,$HESLIB,;t t 3987s,@LIBOBJS@,$LIBOBJS,;t t 3988s,@LTLIBOBJS@,$LTLIBOBJS,;t t 3989CEOF 3990 3991_ACEOF 3992 3993 cat >>$CONFIG_STATUS <<\_ACEOF 3994 # Split the substitutions into bite-sized pieces for seds with 3995 # small command number limits, like on Digital OSF/1 and HP-UX. 3996 ac_max_sed_lines=48 3997 ac_sed_frag=1 # Number of current file. 3998 ac_beg=1 # First line for current file. 3999 ac_end=$ac_max_sed_lines # Line after last line for current file. 4000 ac_more_lines=: 4001 ac_sed_cmds= 4002 while $ac_more_lines; do 4003 if test $ac_beg -gt 1; then 4004 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4005 else 4006 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4007 fi 4008 if test ! -s $tmp/subs.frag; then 4009 ac_more_lines=false 4010 else 4011 # The purpose of the label and of the branching condition is to 4012 # speed up the sed processing (if there are no `@' at all, there 4013 # is no need to browse any of the substitutions). 4014 # These are the two extra sed commands mentioned above. 4015 (echo ':t 4016 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4017 if test -z "$ac_sed_cmds"; then 4018 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4019 else 4020 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4021 fi 4022 ac_sed_frag=`expr $ac_sed_frag + 1` 4023 ac_beg=$ac_end 4024 ac_end=`expr $ac_end + $ac_max_sed_lines` 4025 fi 4026 done 4027 if test -z "$ac_sed_cmds"; then 4028 ac_sed_cmds=cat |
1756 fi | 4029 fi |
4030fi # test -n "$CONFIG_FILES" |
|
1757 | 4031 |
1758 case "$ac_given_srcdir" in 1759 .) srcdir=. 1760 if test -z "$ac_dots"; then top_srcdir=. 1761 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 1762 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 1763 *) # Relative path. 1764 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 1765 top_srcdir="$ac_dots$ac_given_srcdir" ;; | 4032_ACEOF 4033cat >>$CONFIG_STATUS <<\_ACEOF 4034for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4035 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4036 case $ac_file in 4037 - | *:- | *:-:* ) # input from stdin 4038 cat >$tmp/stdin 4039 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4040 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4041 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4042 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4043 * ) ac_file_in=$ac_file.in ;; |
1766 esac 1767 | 4044 esac 4045 |
4046 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4047 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4048$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4049 X"$ac_file" : 'X\(//\)[^/]' \| \ 4050 X"$ac_file" : 'X\(//\)$' \| \ 4051 X"$ac_file" : 'X\(/\)' \| \ 4052 . : '\(.\)' 2>/dev/null || 4053echo X"$ac_file" | 4054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4055 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4056 /^X\(\/\/\)$/{ s//\1/; q; } 4057 /^X\(\/\).*/{ s//\1/; q; } 4058 s/.*/./; q'` 4059 { if $as_mkdir_p; then 4060 mkdir -p "$ac_dir" 4061 else 4062 as_dir="$ac_dir" 4063 as_dirs= 4064 while test ! -d "$as_dir"; do 4065 as_dirs="$as_dir $as_dirs" 4066 as_dir=`(dirname "$as_dir") 2>/dev/null || 4067$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4068 X"$as_dir" : 'X\(//\)[^/]' \| \ 4069 X"$as_dir" : 'X\(//\)$' \| \ 4070 X"$as_dir" : 'X\(/\)' \| \ 4071 . : '\(.\)' 2>/dev/null || 4072echo X"$as_dir" | 4073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4074 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4075 /^X\(\/\/\)$/{ s//\1/; q; } 4076 /^X\(\/\).*/{ s//\1/; q; } 4077 s/.*/./; q'` 4078 done 4079 test ! -n "$as_dirs" || mkdir $as_dirs 4080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4081echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4082 { (exit 1); exit 1; }; }; } |
|
1768 | 4083 |
1769 echo creating "$ac_file" 1770 rm -f "$ac_file" 1771 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 1772 case "$ac_file" in 1773 *Makefile*) ac_comsub="1i\\ 1774# $configure_input" ;; 1775 *) ac_comsub= ;; 1776 esac | 4084 ac_builddir=. |
1777 | 4085 |
1778 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 1779 sed -e "$ac_comsub 1780s%@configure_input@%$configure_input%g 1781s%@srcdir@%$srcdir%g 1782s%@top_srcdir@%$top_srcdir%g 1783" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 1784fi; done 1785rm -f conftest.s* | 4086if test "$ac_dir" != .; then 4087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4088 # A "../" for each directory in $ac_dir_suffix. 4089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4090else 4091 ac_dir_suffix= ac_top_builddir= 4092fi |
1786 | 4093 |
4094case $srcdir in 4095 .) # No --srcdir option. We are building in place. 4096 ac_srcdir=. 4097 if test -z "$ac_top_builddir"; then 4098 ac_top_srcdir=. 4099 else 4100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4101 fi ;; 4102 [\\/]* | ?:[\\/]* ) # Absolute path. 4103 ac_srcdir=$srcdir$ac_dir_suffix; 4104 ac_top_srcdir=$srcdir ;; 4105 *) # Relative path. 4106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4107 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4108esac 4109# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 4110# absolute. 4111ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 4112ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 4113ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 4114ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 4115 4116 4117 4118 if test x"$ac_file" != x-; then 4119 { echo "$as_me:$LINENO: creating $ac_file" >&5 4120echo "$as_me: creating $ac_file" >&6;} 4121 rm -f "$ac_file" 4122 fi 4123 # Let's still pretend it is `configure' which instantiates (i.e., don't 4124 # use $as_me), people would be surprised to read: 4125 # /* config.h. Generated by config.status. */ 4126 if test x"$ac_file" = x-; then 4127 configure_input= 4128 else 4129 configure_input="$ac_file. " 4130 fi 4131 configure_input=$configure_input"Generated from `echo $ac_file_in | 4132 sed 's,.*/,,'` by configure." 4133 4134 # First look for the input files in the build tree, otherwise in the 4135 # src tree. 4136 ac_file_inputs=`IFS=: 4137 for f in $ac_file_in; do 4138 case $f in 4139 -) echo $tmp/stdin ;; 4140 [\\/$]*) 4141 # Absolute (can't be DOS-style, as IFS=:) 4142 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4143echo "$as_me: error: cannot find input file: $f" >&2;} 4144 { (exit 1); exit 1; }; } 4145 echo $f;; 4146 *) # Relative 4147 if test -f "$f"; then 4148 # Build tree 4149 echo $f 4150 elif test -f "$srcdir/$f"; then 4151 # Source tree 4152 echo $srcdir/$f 4153 else 4154 # /dev/null tree 4155 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4156echo "$as_me: error: cannot find input file: $f" >&2;} 4157 { (exit 1); exit 1; }; } 4158 fi;; 4159 esac 4160 done` || { (exit 1); exit 1; } 4161_ACEOF 4162cat >>$CONFIG_STATUS <<_ACEOF 4163 sed "$ac_vpsub 4164$extrasub 4165_ACEOF 4166cat >>$CONFIG_STATUS <<\_ACEOF 4167:t 4168/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4169s,@configure_input@,$configure_input,;t t 4170s,@srcdir@,$ac_srcdir,;t t 4171s,@abs_srcdir@,$ac_abs_srcdir,;t t 4172s,@top_srcdir@,$ac_top_srcdir,;t t 4173s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4174s,@builddir@,$ac_builddir,;t t 4175s,@abs_builddir@,$ac_abs_builddir,;t t 4176s,@top_builddir@,$ac_top_builddir,;t t 4177s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4178" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4179 rm -f $tmp/stdin 4180 if test x"$ac_file" != x-; then 4181 mv $tmp/out $ac_file 4182 else 4183 cat $tmp/out 4184 rm -f $tmp/out 4185 fi 4186 4187done 4188_ACEOF 4189cat >>$CONFIG_STATUS <<\_ACEOF 4190 4191# 4192# CONFIG_HEADER section. 4193# 4194 |
|
1787# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 1788# NAME is the cpp macro being defined and VALUE is the value it is being given. 1789# 1790# ac_d sets the value in "#define NAME VALUE" lines. | 4195# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4196# NAME is the cpp macro being defined and VALUE is the value it is being given. 4197# 4198# ac_d sets the value in "#define NAME VALUE" lines. |
1791ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' 1792ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' 1793ac_dC='\3' 1794ac_dD='%g' 1795# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". 1796ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 1797ac_uB='\([ ]\)%\1#\2define\3' | 4199ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4200ac_dB='[ ].*$,\1#\2' 4201ac_dC=' ' 4202ac_dD=',;t' 4203# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4204ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4205ac_uB='$,\1#\2define\3' |
1798ac_uC=' ' | 4206ac_uC=' ' |
1799ac_uD='\4%g' 1800# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 1801ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 1802ac_eB='$%\1#\2define\3' 1803ac_eC=' ' 1804ac_eD='%g' | 4207ac_uD=',;t' |
1805 | 4208 |
1806if test "${CONFIG_HEADERS+set}" != set; then 1807EOF 1808cat >> $CONFIG_STATUS <<EOF 1809 CONFIG_HEADERS="config.h:config/${tcsh_config_file}:config.h.in" 1810EOF 1811cat >> $CONFIG_STATUS <<\EOF 1812fi 1813for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | 4209for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
1814 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 4210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
1815 case "$ac_file" in 1816 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 1817 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 1818 *) ac_file_in="${ac_file}.in" ;; | 4211 case $ac_file in 4212 - | *:- | *:-:* ) # input from stdin 4213 cat >$tmp/stdin 4214 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4216 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4217 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4218 * ) ac_file_in=$ac_file.in ;; |
1819 esac 1820 | 4219 esac 4220 |
1821 echo creating $ac_file | 4221 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4222echo "$as_me: creating $ac_file" >&6;} |
1822 | 4223 |
1823 rm -f conftest.frag conftest.in conftest.out 1824 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 1825 cat $ac_file_inputs > conftest.in | 4224 # First look for the input files in the build tree, otherwise in the 4225 # src tree. 4226 ac_file_inputs=`IFS=: 4227 for f in $ac_file_in; do 4228 case $f in 4229 -) echo $tmp/stdin ;; 4230 [\\/$]*) 4231 # Absolute (can't be DOS-style, as IFS=:) 4232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4233echo "$as_me: error: cannot find input file: $f" >&2;} 4234 { (exit 1); exit 1; }; } 4235 echo $f;; 4236 *) # Relative 4237 if test -f "$f"; then 4238 # Build tree 4239 echo $f 4240 elif test -f "$srcdir/$f"; then 4241 # Source tree 4242 echo $srcdir/$f 4243 else 4244 # /dev/null tree 4245 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4246echo "$as_me: error: cannot find input file: $f" >&2;} 4247 { (exit 1); exit 1; }; } 4248 fi;; 4249 esac 4250 done` || { (exit 1); exit 1; } 4251 # Remove the trailing spaces. 4252 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
1826 | 4253 |
1827EOF | 4254_ACEOF |
1828 | 4255 |
1829# Transform confdefs.h into a sed script conftest.vals that substitutes 1830# the proper values into config.h.in to produce config.h. And first: 1831# Protect against being on the right side of a sed subst in config.status. 1832# Protect against being in an unquoted here document in config.status. 1833rm -f conftest.vals 1834cat > conftest.hdr <<\EOF 1835s/[\\&%]/\\&/g 1836s%[\\$`]%\\&%g 1837s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 1838s%ac_d%ac_u%gp 1839s%ac_u%ac_e%gp 1840EOF 1841sed -n -f conftest.hdr confdefs.h > conftest.vals 1842rm -f conftest.hdr | 4256# Transform confdefs.h into two sed scripts, `conftest.defines' and 4257# `conftest.undefs', that substitutes the proper values into 4258# config.h.in to produce config.h. The first handles `#define' 4259# templates, and the second `#undef' templates. 4260# And first: Protect against being on the right side of a sed subst in 4261# config.status. Protect against being in an unquoted here document 4262# in config.status. 4263rm -f conftest.defines conftest.undefs 4264# Using a here document instead of a string reduces the quoting nightmare. 4265# Putting comments in sed scripts is not portable. 4266# 4267# `end' is used to avoid that the second main sed command (meant for 4268# 0-ary CPP macros) applies to n-ary macro definitions. 4269# See the Autoconf documentation for `clear'. 4270cat >confdef2sed.sed <<\_ACEOF 4271s/[\\&,]/\\&/g 4272s,[\\$`],\\&,g 4273t clear 4274: clear 4275s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4276t end 4277s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4278: end 4279_ACEOF 4280# If some macros were called several times there might be several times 4281# the same #defines, which is useless. Nevertheless, we may not want to 4282# sort them, since we want the *last* AC-DEFINE to be honored. 4283uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4284sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4285rm -f confdef2sed.sed |
1843 1844# This sed command replaces #undef with comments. This is necessary, for 1845# example, in the case of _POSIX_SOURCE, which is predefined and required 1846# on some systems where configure will not decide to define it. | 4286 4287# This sed command replaces #undef with comments. This is necessary, for 4288# example, in the case of _POSIX_SOURCE, which is predefined and required 4289# on some systems where configure will not decide to define it. |
1847cat >> conftest.vals <<\EOF 1848s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 1849EOF | 4290cat >>conftest.undefs <<\_ACEOF 4291s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4292_ACEOF |
1850 | 4293 |
1851# Break up conftest.vals because some shells have a limit on 1852# the size of here documents, and old seds have small limits too. | 4294# Break up conftest.defines because some shells have a limit on the size 4295# of here documents, and old seds have small limits too (100 cmds). 4296echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4297echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4298echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4299echo ' :' >>$CONFIG_STATUS 4300rm -f conftest.tail 4301while grep . conftest.defines >/dev/null 4302do 4303 # Write a limited-size here document to $tmp/defines.sed. 4304 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4305 # Speed up: don't consider the non `#define' lines. 4306 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4307 # Work around the forget-to-reset-the-flag bug. 4308 echo 't clr' >>$CONFIG_STATUS 4309 echo ': clr' >>$CONFIG_STATUS 4310 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4311 echo 'CEOF 4312 sed -f $tmp/defines.sed $tmp/in >$tmp/out 4313 rm -f $tmp/in 4314 mv $tmp/out $tmp/in 4315' >>$CONFIG_STATUS 4316 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4317 rm -f conftest.defines 4318 mv conftest.tail conftest.defines 4319done 4320rm -f conftest.defines 4321echo ' fi # grep' >>$CONFIG_STATUS 4322echo >>$CONFIG_STATUS |
1853 | 4323 |
4324# Break up conftest.undefs because some shells have a limit on the size 4325# of here documents, and old seds have small limits too (100 cmds). 4326echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
1854rm -f conftest.tail | 4327rm -f conftest.tail |
1855while : | 4328while grep . conftest.undefs >/dev/null |
1856do | 4329do |
1857 ac_lines=`grep -c . conftest.vals` 1858 # grep -c gives empty output for an empty file on some AIX systems. 1859 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi 1860 # Write a limited-size here document to conftest.frag. 1861 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS 1862 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS | 4330 # Write a limited-size here document to $tmp/undefs.sed. 4331 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4332 # Speed up: don't consider the non `#undef' 4333 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4334 # Work around the forget-to-reset-the-flag bug. 4335 echo 't clr' >>$CONFIG_STATUS 4336 echo ': clr' >>$CONFIG_STATUS 4337 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
1863 echo 'CEOF | 4338 echo 'CEOF |
1864 sed -f conftest.frag conftest.in > conftest.out 1865 rm -f conftest.in 1866 mv conftest.out conftest.in 1867' >> $CONFIG_STATUS 1868 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail 1869 rm -f conftest.vals 1870 mv conftest.tail conftest.vals | 4339 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4340 rm -f $tmp/in 4341 mv $tmp/out $tmp/in 4342' >>$CONFIG_STATUS 4343 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 4344 rm -f conftest.undefs 4345 mv conftest.tail conftest.undefs |
1871done | 4346done |
1872rm -f conftest.vals | 4347rm -f conftest.undefs |
1873 | 4348 |
1874cat >> $CONFIG_STATUS <<\EOF 1875 rm -f conftest.frag conftest.h 1876 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h 1877 cat conftest.in >> conftest.h 1878 rm -f conftest.in 1879 if cmp -s $ac_file conftest.h 2>/dev/null; then 1880 echo "$ac_file is unchanged" 1881 rm -f conftest.h | 4349cat >>$CONFIG_STATUS <<\_ACEOF 4350 # Let's still pretend it is `configure' which instantiates (i.e., don't 4351 # use $as_me), people would be surprised to read: 4352 # /* config.h. Generated by config.status. */ 4353 if test x"$ac_file" = x-; then 4354 echo "/* Generated by configure. */" >$tmp/config.h |
1882 else | 4355 else |
1883 # Remove last slash and all that follows it. Not all systems have dirname. 1884 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 1885 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 1886 # The file is in a subdirectory. 1887 test ! -d "$ac_dir" && mkdir "$ac_dir" | 4356 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 4357 fi 4358 cat $tmp/in >>$tmp/config.h 4359 rm -f $tmp/in 4360 if test x"$ac_file" != x-; then 4361 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 4362 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4363echo "$as_me: $ac_file is unchanged" >&6;} 4364 else 4365 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4366$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4367 X"$ac_file" : 'X\(//\)[^/]' \| \ 4368 X"$ac_file" : 'X\(//\)$' \| \ 4369 X"$ac_file" : 'X\(/\)' \| \ 4370 . : '\(.\)' 2>/dev/null || 4371echo X"$ac_file" | 4372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4373 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4374 /^X\(\/\/\)$/{ s//\1/; q; } 4375 /^X\(\/\).*/{ s//\1/; q; } 4376 s/.*/./; q'` 4377 { if $as_mkdir_p; then 4378 mkdir -p "$ac_dir" 4379 else 4380 as_dir="$ac_dir" 4381 as_dirs= 4382 while test ! -d "$as_dir"; do 4383 as_dirs="$as_dir $as_dirs" 4384 as_dir=`(dirname "$as_dir") 2>/dev/null || 4385$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4386 X"$as_dir" : 'X\(//\)[^/]' \| \ 4387 X"$as_dir" : 'X\(//\)$' \| \ 4388 X"$as_dir" : 'X\(/\)' \| \ 4389 . : '\(.\)' 2>/dev/null || 4390echo X"$as_dir" | 4391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4392 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4393 /^X\(\/\/\)$/{ s//\1/; q; } 4394 /^X\(\/\).*/{ s//\1/; q; } 4395 s/.*/./; q'` 4396 done 4397 test ! -n "$as_dirs" || mkdir $as_dirs 4398 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4399echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4400 { (exit 1); exit 1; }; }; } 4401 4402 rm -f $ac_file 4403 mv $tmp/config.h $ac_file |
1888 fi | 4404 fi |
1889 rm -f $ac_file 1890 mv conftest.h $ac_file | 4405 else 4406 cat $tmp/config.h 4407 rm -f $tmp/config.h |
1891 fi | 4408 fi |
1892fi; done | 4409done 4410_ACEOF |
1893 | 4411 |
1894EOF 1895cat >> $CONFIG_STATUS <<EOF | 4412cat >>$CONFIG_STATUS <<\_ACEOF |
1896 | 4413 |
1897EOF 1898cat >> $CONFIG_STATUS <<\EOF 1899 1900exit 0 1901EOF | 4414{ (exit 0); exit 0; } 4415_ACEOF |
1902chmod +x $CONFIG_STATUS | 4416chmod +x $CONFIG_STATUS |
1903rm -fr confdefs* $ac_clean_files 1904test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | 4417ac_clean_files=$ac_clean_files_save |
1905 | 4418 |
4419 4420# configure is writing to config.log, and then calls config.status. 4421# config.status does its own redirection, appending to config.log. 4422# Unfortunately, on DOS this fails, as config.log is still kept open 4423# by configure, so config.status won't be able to write to it; its 4424# output is simply discarded. So we exec the FD to /dev/null, 4425# effectively closing config.log, so it can be properly (re)opened and 4426# appended to by config.status. When coming back to configure, we 4427# need to make the FD available again. 4428if test "$no_create" != yes; then 4429 ac_cs_success=: 4430 ac_config_status_args= 4431 test "$silent" = yes && 4432 ac_config_status_args="$ac_config_status_args --quiet" 4433 exec 5>/dev/null 4434 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4435 exec 5>>config.log 4436 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4437 # would make configure fail if this is the last instruction. 4438 $ac_cs_success || { (exit 1); exit 1; } 4439fi 4440 |
|