[6127] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
| 3 | # Generated by Autoconf 2.50.
|
---|
| 4 | #
|
---|
| 5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
---|
| 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.
|
---|
| 9 |
|
---|
| 10 | # Be Bourne compatible
|
---|
| 11 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 12 | emulate sh
|
---|
| 13 | NULLCMD=:
|
---|
| 14 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 15 | set -o posix
|
---|
| 16 | fi
|
---|
| 17 |
|
---|
| 18 | # Name of the executable.
|
---|
| 19 | as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
---|
| 20 |
|
---|
| 21 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 22 | as_expr=expr
|
---|
| 23 | else
|
---|
| 24 | as_expr=false
|
---|
| 25 | fi
|
---|
| 26 |
|
---|
| 27 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 28 | echo >conf$$.file
|
---|
| 29 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 30 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 31 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 32 | if test -f conf$$.exe; then
|
---|
| 33 | # Don't use ln at all; we don't have any links
|
---|
| 34 | as_ln_s='cp -p'
|
---|
| 35 | else
|
---|
| 36 | as_ln_s='ln -s'
|
---|
| 37 | fi
|
---|
| 38 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 39 | as_ln_s=ln
|
---|
| 40 | else
|
---|
| 41 | as_ln_s='cp -p'
|
---|
| 42 | fi
|
---|
| 43 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 44 |
|
---|
| 45 | as_executable_p="test -f"
|
---|
| 46 |
|
---|
| 47 | # Support unset when possible.
|
---|
| 48 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
---|
| 49 | as_unset=unset
|
---|
| 50 | else
|
---|
| 51 | as_unset=false
|
---|
| 52 | fi
|
---|
| 53 |
|
---|
| 54 | # NLS nuisances.
|
---|
| 55 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
---|
| 56 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
---|
| 57 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
---|
| 58 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
---|
| 59 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
---|
| 60 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
---|
| 61 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
---|
| 62 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
---|
| 63 |
|
---|
| 64 | # IFS
|
---|
| 65 | # We need space, tab and new line, in precisely that order.
|
---|
| 66 | as_nl='
|
---|
| 67 | '
|
---|
| 68 | IFS=" $as_nl"
|
---|
| 69 |
|
---|
| 70 | # CDPATH.
|
---|
| 71 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
---|
| 72 |
|
---|
| 73 | # Name of the host.
|
---|
| 74 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
| 75 | # so uname gets run too.
|
---|
| 76 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 77 |
|
---|
| 78 | exec 6>&1
|
---|
| 79 |
|
---|
| 80 | #
|
---|
| 81 | # Initializations.
|
---|
| 82 | #
|
---|
| 83 | ac_default_prefix=/usr/local
|
---|
| 84 | cross_compiling=no
|
---|
| 85 | subdirs=
|
---|
| 86 | MFLAGS= MAKEFLAGS=
|
---|
| 87 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 88 |
|
---|
| 89 | # Maximum number of lines to put in a shell here document.
|
---|
| 90 | # This variable seems obsolete. It should probably be removed, and
|
---|
| 91 | # only ac_max_sed_lines should be used.
|
---|
| 92 | : ${ac_max_here_lines=38}
|
---|
| 93 |
|
---|
| 94 | # Avoid depending upon Character Ranges.
|
---|
| 95 | ac_cr_az='abcdefghijklmnopqrstuvwxyz'
|
---|
| 96 | ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 97 | ac_cr_09='0123456789'
|
---|
| 98 | ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
|
---|
| 99 |
|
---|
| 100 | # Sed expression to map a string onto a valid sh and CPP variable names.
|
---|
| 101 | ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
|
---|
| 102 | ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
|
---|
| 103 |
|
---|
| 104 | ac_default_prefix=../..
|
---|
| 105 |
|
---|
| 106 | # Initialize some variables set by options.
|
---|
| 107 | ac_init_help=
|
---|
| 108 | ac_init_version=false
|
---|
| 109 | # The variables have the same names as the options, with
|
---|
| 110 | # dashes changed to underlines.
|
---|
| 111 | cache_file=/dev/null
|
---|
| 112 | exec_prefix=NONE
|
---|
| 113 | no_create=
|
---|
| 114 | no_recursion=
|
---|
| 115 | prefix=NONE
|
---|
| 116 | program_prefix=NONE
|
---|
| 117 | program_suffix=NONE
|
---|
| 118 | program_transform_name=s,x,x,
|
---|
| 119 | silent=
|
---|
| 120 | site=
|
---|
| 121 | srcdir=
|
---|
| 122 | verbose=
|
---|
| 123 | x_includes=NONE
|
---|
| 124 | x_libraries=NONE
|
---|
| 125 |
|
---|
| 126 | # Installation directory options.
|
---|
| 127 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 128 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 129 | # by default will actually change.
|
---|
| 130 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
| 131 | bindir='${exec_prefix}/bin'
|
---|
| 132 | sbindir='${exec_prefix}/sbin'
|
---|
| 133 | libexecdir='${exec_prefix}/libexec'
|
---|
| 134 | datadir='${prefix}/share'
|
---|
| 135 | sysconfdir='${prefix}/etc'
|
---|
| 136 | sharedstatedir='${prefix}/com'
|
---|
| 137 | localstatedir='${prefix}/var'
|
---|
| 138 | libdir='${exec_prefix}/lib'
|
---|
| 139 | includedir='${prefix}/include'
|
---|
| 140 | oldincludedir='/usr/include'
|
---|
| 141 | infodir='${prefix}/info'
|
---|
| 142 | mandir='${prefix}/man'
|
---|
| 143 |
|
---|
| 144 | # Identity of this package.
|
---|
| 145 | PACKAGE_NAME=
|
---|
| 146 | PACKAGE_TARNAME=
|
---|
| 147 | PACKAGE_VERSION=
|
---|
| 148 | PACKAGE_STRING=
|
---|
| 149 | PACKAGE_BUGREPORT=
|
---|
| 150 |
|
---|
| 151 | ac_prev=
|
---|
| 152 | for ac_option
|
---|
| 153 | do
|
---|
| 154 | # If the previous option needs an argument, assign it.
|
---|
| 155 | if test -n "$ac_prev"; then
|
---|
| 156 | eval "$ac_prev=\$ac_option"
|
---|
| 157 | ac_prev=
|
---|
| 158 | continue
|
---|
| 159 | fi
|
---|
| 160 |
|
---|
| 161 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
---|
| 162 |
|
---|
| 163 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 164 |
|
---|
| 165 | case $ac_option in
|
---|
| 166 |
|
---|
| 167 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 168 | ac_prev=bindir ;;
|
---|
| 169 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 170 | bindir=$ac_optarg ;;
|
---|
| 171 |
|
---|
| 172 | -build | --build | --buil | --bui | --bu)
|
---|
| 173 | ac_prev=build_alias ;;
|
---|
| 174 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 175 | build_alias=$ac_optarg ;;
|
---|
| 176 |
|
---|
| 177 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 178 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 179 | ac_prev=cache_file ;;
|
---|
| 180 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 181 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 182 | cache_file=$ac_optarg ;;
|
---|
| 183 |
|
---|
| 184 | --config-cache | -C)
|
---|
| 185 | cache_file=config.cache ;;
|
---|
| 186 |
|
---|
| 187 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
---|
| 188 | ac_prev=datadir ;;
|
---|
| 189 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
---|
| 190 | | --da=*)
|
---|
| 191 | datadir=$ac_optarg ;;
|
---|
| 192 |
|
---|
| 193 | -disable-* | --disable-*)
|
---|
| 194 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
| 195 | # Reject names that are not valid shell variable names.
|
---|
| 196 | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
|
---|
| 197 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 198 | { (exit 1); exit 1; }; }
|
---|
| 199 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 200 | eval "enable_$ac_feature=no" ;;
|
---|
| 201 |
|
---|
| 202 | -enable-* | --enable-*)
|
---|
| 203 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
| 204 | # Reject names that are not valid shell variable names.
|
---|
| 205 | expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
|
---|
| 206 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 207 | { (exit 1); exit 1; }; }
|
---|
| 208 | ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
---|
| 209 | case $ac_option in
|
---|
| 210 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 211 | *) ac_optarg=yes ;;
|
---|
| 212 | esac
|
---|
| 213 | eval "enable_$ac_feature='$ac_optarg'" ;;
|
---|
| 214 |
|
---|
| 215 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 216 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 217 | | --exec | --exe | --ex)
|
---|
| 218 | ac_prev=exec_prefix ;;
|
---|
| 219 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 220 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 221 | | --exec=* | --exe=* | --ex=*)
|
---|
| 222 | exec_prefix=$ac_optarg ;;
|
---|
| 223 |
|
---|
| 224 | -gas | --gas | --ga | --g)
|
---|
| 225 | # Obsolete; use --with-gas.
|
---|
| 226 | with_gas=yes ;;
|
---|
| 227 |
|
---|
| 228 | -help | --help | --hel | --he | -h)
|
---|
| 229 | ac_init_help=long ;;
|
---|
| 230 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 231 | ac_init_help=recursive ;;
|
---|
| 232 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 233 | ac_init_help=short ;;
|
---|
| 234 |
|
---|
| 235 | -host | --host | --hos | --ho)
|
---|
| 236 | ac_prev=host_alias ;;
|
---|
| 237 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 238 | host_alias=$ac_optarg ;;
|
---|
| 239 |
|
---|
| 240 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 241 | | --includ | --inclu | --incl | --inc)
|
---|
| 242 | ac_prev=includedir ;;
|
---|
| 243 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 244 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 245 | includedir=$ac_optarg ;;
|
---|
| 246 |
|
---|
| 247 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 248 | ac_prev=infodir ;;
|
---|
| 249 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 250 | infodir=$ac_optarg ;;
|
---|
| 251 |
|
---|
| 252 | -libdir | --libdir | --libdi | --libd)
|
---|
| 253 | ac_prev=libdir ;;
|
---|
| 254 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 255 | libdir=$ac_optarg ;;
|
---|
| 256 |
|
---|
| 257 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 258 | | --libexe | --libex | --libe)
|
---|
| 259 | ac_prev=libexecdir ;;
|
---|
| 260 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 261 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 262 | libexecdir=$ac_optarg ;;
|
---|
| 263 |
|
---|
| 264 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
| 265 | | --localstate | --localstat | --localsta | --localst \
|
---|
| 266 | | --locals | --local | --loca | --loc | --lo)
|
---|
| 267 | ac_prev=localstatedir ;;
|
---|
| 268 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
| 269 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
---|
| 270 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
---|
| 271 | localstatedir=$ac_optarg ;;
|
---|
| 272 |
|
---|
| 273 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 274 | ac_prev=mandir ;;
|
---|
| 275 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 276 | mandir=$ac_optarg ;;
|
---|
| 277 |
|
---|
| 278 | -nfp | --nfp | --nf)
|
---|
| 279 | # Obsolete; use --without-fp.
|
---|
| 280 | with_fp=no ;;
|
---|
| 281 |
|
---|
| 282 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 283 | | --no-cr | --no-c)
|
---|
| 284 | no_create=yes ;;
|
---|
| 285 |
|
---|
| 286 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 287 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 288 | no_recursion=yes ;;
|
---|
| 289 |
|
---|
| 290 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 291 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 292 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 293 | ac_prev=oldincludedir ;;
|
---|
| 294 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 295 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 296 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 297 | oldincludedir=$ac_optarg ;;
|
---|
| 298 |
|
---|
| 299 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 300 | ac_prev=prefix ;;
|
---|
| 301 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 302 | prefix=$ac_optarg ;;
|
---|
| 303 |
|
---|
| 304 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 305 | | --program-pre | --program-pr | --program-p)
|
---|
| 306 | ac_prev=program_prefix ;;
|
---|
| 307 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 308 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 309 | program_prefix=$ac_optarg ;;
|
---|
| 310 |
|
---|
| 311 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 312 | | --program-suf | --program-su | --program-s)
|
---|
| 313 | ac_prev=program_suffix ;;
|
---|
| 314 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 315 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 316 | program_suffix=$ac_optarg ;;
|
---|
| 317 |
|
---|
| 318 | -program-transform-name | --program-transform-name \
|
---|
| 319 | | --program-transform-nam | --program-transform-na \
|
---|
| 320 | | --program-transform-n | --program-transform- \
|
---|
| 321 | | --program-transform | --program-transfor \
|
---|
| 322 | | --program-transfo | --program-transf \
|
---|
| 323 | | --program-trans | --program-tran \
|
---|
| 324 | | --progr-tra | --program-tr | --program-t)
|
---|
| 325 | ac_prev=program_transform_name ;;
|
---|
| 326 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 327 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 328 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 329 | | --program-transform=* | --program-transfor=* \
|
---|
| 330 | | --program-transfo=* | --program-transf=* \
|
---|
| 331 | | --program-trans=* | --program-tran=* \
|
---|
| 332 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 333 | program_transform_name=$ac_optarg ;;
|
---|
| 334 |
|
---|
| 335 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 336 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 337 | silent=yes ;;
|
---|
| 338 |
|
---|
| 339 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 340 | ac_prev=sbindir ;;
|
---|
| 341 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 342 | | --sbi=* | --sb=*)
|
---|
| 343 | sbindir=$ac_optarg ;;
|
---|
| 344 |
|
---|
| 345 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 346 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 347 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 348 | | --sha | --sh)
|
---|
| 349 | ac_prev=sharedstatedir ;;
|
---|
| 350 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 351 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 352 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 353 | | --sha=* | --sh=*)
|
---|
| 354 | sharedstatedir=$ac_optarg ;;
|
---|
| 355 |
|
---|
| 356 | -site | --site | --sit)
|
---|
| 357 | ac_prev=site ;;
|
---|
| 358 | -site=* | --site=* | --sit=*)
|
---|
| 359 | site=$ac_optarg ;;
|
---|
| 360 |
|
---|
| 361 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 362 | ac_prev=srcdir ;;
|
---|
| 363 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 364 | srcdir=$ac_optarg ;;
|
---|
| 365 |
|
---|
| 366 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 367 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 368 | ac_prev=sysconfdir ;;
|
---|
| 369 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 370 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 371 | sysconfdir=$ac_optarg ;;
|
---|
| 372 |
|
---|
| 373 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 374 | ac_prev=target_alias ;;
|
---|
| 375 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 376 | target_alias=$ac_optarg ;;
|
---|
| 377 |
|
---|
| 378 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 379 | verbose=yes ;;
|
---|
| 380 |
|
---|
| 381 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 382 | ac_init_version=: ;;
|
---|
| 383 |
|
---|
| 384 | -with-* | --with-*)
|
---|
| 385 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
| 386 | # Reject names that are not valid shell variable names.
|
---|
| 387 | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
|
---|
| 388 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 389 | { (exit 1); exit 1; }; }
|
---|
| 390 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
---|
| 391 | case $ac_option in
|
---|
| 392 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
---|
| 393 | *) ac_optarg=yes ;;
|
---|
| 394 | esac
|
---|
| 395 | eval "with_$ac_package='$ac_optarg'" ;;
|
---|
| 396 |
|
---|
| 397 | -without-* | --without-*)
|
---|
| 398 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
| 399 | # Reject names that are not valid shell variable names.
|
---|
| 400 | expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
|
---|
| 401 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 402 | { (exit 1); exit 1; }; }
|
---|
| 403 | ac_package=`echo $ac_package | sed 's/-/_/g'`
|
---|
| 404 | eval "with_$ac_package=no" ;;
|
---|
| 405 |
|
---|
| 406 | --x)
|
---|
| 407 | # Obsolete; use --with-x.
|
---|
| 408 | with_x=yes ;;
|
---|
| 409 |
|
---|
| 410 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 411 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 412 | ac_prev=x_includes ;;
|
---|
| 413 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 414 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 415 | x_includes=$ac_optarg ;;
|
---|
| 416 |
|
---|
| 417 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 418 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 419 | ac_prev=x_libraries ;;
|
---|
| 420 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 421 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 422 | x_libraries=$ac_optarg ;;
|
---|
| 423 |
|
---|
| 424 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
---|
| 425 | Try \`$0 --help' for more information." >&2
|
---|
| 426 | { (exit 1); exit 1; }; }
|
---|
| 427 | ;;
|
---|
| 428 |
|
---|
| 429 | *=*)
|
---|
| 430 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 431 | # Reject names that are not valid shell variable names.
|
---|
| 432 | expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
|
---|
| 433 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
| 434 | { (exit 1); exit 1; }; }
|
---|
| 435 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
---|
| 436 | eval "$ac_envvar='$ac_optarg'"
|
---|
| 437 | export $ac_envvar ;;
|
---|
| 438 |
|
---|
| 439 | *)
|
---|
| 440 | # FIXME: should be removed in autoconf 3.0.
|
---|
| 441 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
| 442 | expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
|
---|
| 443 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
| 444 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 445 | ;;
|
---|
| 446 |
|
---|
| 447 | esac
|
---|
| 448 | done
|
---|
| 449 |
|
---|
| 450 | if test -n "$ac_prev"; then
|
---|
| 451 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
| 452 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
| 453 | { (exit 1); exit 1; }; }
|
---|
| 454 | fi
|
---|
| 455 |
|
---|
| 456 | # Be sure to have absolute paths.
|
---|
| 457 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
---|
| 458 | localstatedir libdir includedir oldincludedir infodir mandir \
|
---|
| 459 | exec_prefix prefix
|
---|
| 460 | do
|
---|
| 461 | eval ac_val=$`echo $ac_var`
|
---|
| 462 | case $ac_val in
|
---|
| 463 | [\\/$]* | ?:[\\/]* ) ;;
|
---|
| 464 | NONE ) ;;
|
---|
| 465 | *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
|
---|
| 466 | { (exit 1); exit 1; }; };;
|
---|
| 467 | esac
|
---|
| 468 | done
|
---|
| 469 |
|
---|
| 470 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 471 | # used to hold the argument of --host etc.
|
---|
| 472 | build=$build_alias
|
---|
| 473 | host=$host_alias
|
---|
| 474 | target=$target_alias
|
---|
| 475 |
|
---|
| 476 | # FIXME: should be removed in autoconf 3.0.
|
---|
| 477 | if test "x$host_alias" != x; then
|
---|
| 478 | if test "x$build_alias" = x; then
|
---|
| 479 | cross_compiling=maybe
|
---|
| 480 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 481 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
| 482 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 483 | cross_compiling=yes
|
---|
| 484 | fi
|
---|
| 485 | fi
|
---|
| 486 |
|
---|
| 487 | ac_tool_prefix=
|
---|
| 488 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 489 |
|
---|
| 490 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 491 |
|
---|
| 492 | # Find the source files, if location was not specified.
|
---|
| 493 | if test -z "$srcdir"; then
|
---|
| 494 | ac_srcdir_defaulted=yes
|
---|
| 495 | # Try the directory containing this script, then its parent.
|
---|
| 496 | ac_prog=$0
|
---|
| 497 | ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
---|
| 498 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
---|
| 499 | srcdir=$ac_confdir
|
---|
| 500 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
| 501 | srcdir=..
|
---|
| 502 | fi
|
---|
| 503 | else
|
---|
| 504 | ac_srcdir_defaulted=no
|
---|
| 505 | fi
|
---|
| 506 | if test ! -r $srcdir/$ac_unique_file; then
|
---|
| 507 | if test "$ac_srcdir_defaulted" = yes; then
|
---|
| 508 | { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
|
---|
| 509 | { (exit 1); exit 1; }; }
|
---|
| 510 | else
|
---|
| 511 | { echo "$as_me: error: cannot find sources in $srcdir" >&2
|
---|
| 512 | { (exit 1); exit 1; }; }
|
---|
| 513 | fi
|
---|
| 514 | fi
|
---|
| 515 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
---|
| 516 | ac_env_build_alias_set=${build_alias+set}
|
---|
| 517 | ac_env_build_alias_value=$build_alias
|
---|
| 518 | ac_cv_env_build_alias_set=${build_alias+set}
|
---|
| 519 | ac_cv_env_build_alias_value=$build_alias
|
---|
| 520 | ac_env_host_alias_set=${host_alias+set}
|
---|
| 521 | ac_env_host_alias_value=$host_alias
|
---|
| 522 | ac_cv_env_host_alias_set=${host_alias+set}
|
---|
| 523 | ac_cv_env_host_alias_value=$host_alias
|
---|
| 524 | ac_env_target_alias_set=${target_alias+set}
|
---|
| 525 | ac_env_target_alias_value=$target_alias
|
---|
| 526 | ac_cv_env_target_alias_set=${target_alias+set}
|
---|
| 527 | ac_cv_env_target_alias_value=$target_alias
|
---|
| 528 | ac_env_CXX_set=${CXX+set}
|
---|
| 529 | ac_env_CXX_value=$CXX
|
---|
| 530 | ac_cv_env_CXX_set=${CXX+set}
|
---|
| 531 | ac_cv_env_CXX_value=$CXX
|
---|
| 532 | ac_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 533 | ac_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 534 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
|
---|
| 535 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS
|
---|
| 536 | ac_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 537 | ac_env_LDFLAGS_value=$LDFLAGS
|
---|
| 538 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
---|
| 539 | ac_cv_env_LDFLAGS_value=$LDFLAGS
|
---|
| 540 | ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 541 | ac_env_CPPFLAGS_value=$CPPFLAGS
|
---|
| 542 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
---|
| 543 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
---|
| 544 |
|
---|
| 545 | #
|
---|
| 546 | # Report the --help message.
|
---|
| 547 | #
|
---|
| 548 | if test "$ac_init_help" = "long"; then
|
---|
| 549 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 550 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 551 | cat <<EOF
|
---|
| 552 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 553 |
|
---|
| 554 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 555 |
|
---|
| 556 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 557 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 558 |
|
---|
| 559 | Defaults for the options are specified in brackets.
|
---|
| 560 |
|
---|
| 561 | Configuration:
|
---|
| 562 | -h, --help display this help and exit
|
---|
| 563 | --help=short display options specific to this package
|
---|
| 564 | --help=recursive display the short help of all the included packages
|
---|
| 565 | -V, --version display version information and exit
|
---|
| 566 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
| 567 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 568 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 569 | -n, --no-create do not create output files
|
---|
| 570 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 571 |
|
---|
| 572 | EOF
|
---|
| 573 |
|
---|
| 574 | cat <<EOF
|
---|
| 575 | Installation directories:
|
---|
| 576 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
| 577 | [$ac_default_prefix]
|
---|
| 578 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
| 579 | [PREFIX]
|
---|
| 580 |
|
---|
| 581 | By default, \`make install' will install all the files in
|
---|
| 582 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 583 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 584 | for instance \`--prefix=\$HOME'.
|
---|
| 585 |
|
---|
| 586 | For better control, use the options below.
|
---|
| 587 |
|
---|
| 588 | Fine tuning of the installation directories:
|
---|
| 589 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 590 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 591 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 592 | --datadir=DIR read-only architecture-independent data [PREFIX/share]
|
---|
| 593 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 594 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 595 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 596 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 597 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 598 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 599 | --infodir=DIR info documentation [PREFIX/info]
|
---|
| 600 | --mandir=DIR man documentation [PREFIX/man]
|
---|
| 601 | EOF
|
---|
| 602 |
|
---|
| 603 | cat <<\EOF
|
---|
| 604 | EOF
|
---|
| 605 | fi
|
---|
| 606 |
|
---|
| 607 | if test -n "$ac_init_help"; then
|
---|
| 608 |
|
---|
| 609 | cat <<\EOF
|
---|
| 610 |
|
---|
| 611 | Some influential environment variables:
|
---|
| 612 | CXX C++ compiler command
|
---|
| 613 | CXXFLAGS C++ compiler flags
|
---|
| 614 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 615 | nonstandard directory <lib dir>
|
---|
| 616 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
---|
| 617 | headers in a nonstandard directory <include dir>
|
---|
| 618 |
|
---|
| 619 | Use these variables to override the choices made by `configure' or to help
|
---|
| 620 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 621 |
|
---|
| 622 | EOF
|
---|
| 623 | fi
|
---|
| 624 |
|
---|
| 625 | if test "$ac_init_help" = "recursive"; then
|
---|
| 626 | # If there are subdirs, report their specific --help.
|
---|
| 627 | ac_popdir=`pwd`
|
---|
| 628 | for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
|
---|
| 629 | cd $ac_subdir
|
---|
| 630 | # A "../" for each directory in /$ac_subdir.
|
---|
| 631 | ac_dots=`echo $ac_subdir |
|
---|
| 632 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
|
---|
| 633 |
|
---|
| 634 | case $srcdir in
|
---|
| 635 | .) # No --srcdir option. We are building in place.
|
---|
| 636 | ac_sub_srcdir=$srcdir ;;
|
---|
| 637 | [\\/]* | ?:[\\/]* ) # Absolute path.
|
---|
| 638 | ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
---|
| 639 | *) # Relative path.
|
---|
| 640 | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
---|
| 641 | esac
|
---|
| 642 |
|
---|
| 643 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
| 644 | if test -f $ac_sub_srcdir/configure.gnu; then
|
---|
| 645 | echo
|
---|
| 646 | $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
|
---|
| 647 | elif test -f $ac_sub_srcdir/configure; then
|
---|
| 648 | echo
|
---|
| 649 | $SHELL $ac_sub_srcdir/configure --help=recursive
|
---|
| 650 | elif test -f $ac_sub_srcdir/configure.ac ||
|
---|
| 651 | test -f $ac_sub_srcdir/configure.in; then
|
---|
| 652 | echo
|
---|
| 653 | $ac_configure --help
|
---|
| 654 | else
|
---|
| 655 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
|
---|
| 656 | fi
|
---|
| 657 | cd $ac_popdir
|
---|
| 658 | done
|
---|
| 659 | fi
|
---|
| 660 |
|
---|
| 661 | test -n "$ac_init_help" && exit 0
|
---|
| 662 | if $ac_init_version; then
|
---|
| 663 | cat <<\EOF
|
---|
| 664 |
|
---|
| 665 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
---|
| 666 | Free Software Foundation, Inc.
|
---|
| 667 | This configure script is free software; the Free Software Foundation
|
---|
| 668 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 669 | EOF
|
---|
| 670 | exit 0
|
---|
| 671 | fi
|
---|
| 672 | exec 5>config.log
|
---|
| 673 | cat >&5 <<EOF
|
---|
| 674 | This file contains any messages produced by compilers while
|
---|
| 675 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 676 |
|
---|
| 677 | It was created by $as_me, which was
|
---|
| 678 | generated by GNU Autoconf 2.50. Invocation command line was
|
---|
| 679 |
|
---|
| 680 | $ $0 $@
|
---|
| 681 |
|
---|
| 682 | EOF
|
---|
| 683 | {
|
---|
| 684 | cat <<_ASUNAME
|
---|
| 685 | ## ---------- ##
|
---|
| 686 | ## Platform. ##
|
---|
| 687 | ## ---------- ##
|
---|
| 688 |
|
---|
| 689 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 690 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 691 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 692 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 693 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 694 |
|
---|
| 695 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 696 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 697 |
|
---|
| 698 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 699 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 700 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
| 701 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
---|
| 702 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 703 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 704 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 705 |
|
---|
| 706 | PATH = $PATH
|
---|
| 707 |
|
---|
| 708 | _ASUNAME
|
---|
| 709 | } >&5
|
---|
| 710 |
|
---|
| 711 | cat >&5 <<EOF
|
---|
| 712 | ## ------------ ##
|
---|
| 713 | ## Core tests. ##
|
---|
| 714 | ## ------------ ##
|
---|
| 715 |
|
---|
| 716 | EOF
|
---|
| 717 |
|
---|
| 718 | # Keep a trace of the command line.
|
---|
| 719 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 720 | # Also quote any args containing shell meta-characters.
|
---|
| 721 | ac_configure_args=
|
---|
| 722 | ac_sep=
|
---|
| 723 | for ac_arg
|
---|
| 724 | do
|
---|
| 725 | case $ac_arg in
|
---|
| 726 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 727 | | --no-cr | --no-c) ;;
|
---|
| 728 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 729 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
---|
| 730 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
---|
| 731 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
|
---|
| 732 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
---|
| 733 | ac_sep=" " ;;
|
---|
| 734 | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
|
---|
| 735 | ac_sep=" " ;;
|
---|
| 736 | esac
|
---|
| 737 | # Get rid of the leading space.
|
---|
| 738 | done
|
---|
| 739 |
|
---|
| 740 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 741 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 742 | # would cause problems or look ugly.
|
---|
| 743 | trap 'exit_status=$?
|
---|
| 744 | # Save into config.log some information that might help in debugging.
|
---|
| 745 | echo >&5
|
---|
| 746 | echo "## ----------------- ##" >&5
|
---|
| 747 | echo "## Cache variables. ##" >&5
|
---|
| 748 | echo "## ----------------- ##" >&5
|
---|
| 749 | echo >&5
|
---|
| 750 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 751 | {
|
---|
| 752 | (set) 2>&1 |
|
---|
| 753 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
---|
| 754 | *ac_space=\ *)
|
---|
| 755 | sed -n \
|
---|
| 756 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
---|
| 757 | s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
---|
| 758 | ;;
|
---|
| 759 | *)
|
---|
| 760 | sed -n \
|
---|
| 761 | "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
| 762 | ;;
|
---|
| 763 | esac;
|
---|
| 764 | } >&5
|
---|
| 765 | sed "/^$/d" confdefs.h >conftest.log
|
---|
| 766 | if test -s conftest.log; then
|
---|
| 767 | echo >&5
|
---|
| 768 | echo "## ------------ ##" >&5
|
---|
| 769 | echo "## confdefs.h. ##" >&5
|
---|
| 770 | echo "## ------------ ##" >&5
|
---|
| 771 | echo >&5
|
---|
| 772 | cat conftest.log >&5
|
---|
| 773 | fi
|
---|
| 774 | (echo; echo) >&5
|
---|
| 775 | test "$ac_signal" != 0 &&
|
---|
| 776 | echo "$as_me: caught signal $ac_signal" >&5
|
---|
| 777 | echo "$as_me: exit $exit_status" >&5
|
---|
| 778 | rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
|
---|
| 779 | exit $exit_status
|
---|
| 780 | ' 0
|
---|
| 781 | for ac_signal in 1 2 13 15; do
|
---|
| 782 | trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
|
---|
| 783 | done
|
---|
| 784 | ac_signal=0
|
---|
| 785 |
|
---|
| 786 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
| 787 | rm -rf conftest* confdefs.h
|
---|
| 788 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
---|
| 789 | echo >confdefs.h
|
---|
| 790 |
|
---|
| 791 | # Let the site file select an alternate cache file if it wants to.
|
---|
| 792 | # Prefer explicitly selected file to automatically selected ones.
|
---|
| 793 | if test -z "$CONFIG_SITE"; then
|
---|
| 794 | if test "x$prefix" != xNONE; then
|
---|
| 795 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
---|
| 796 | else
|
---|
| 797 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
---|
| 798 | fi
|
---|
| 799 | fi
|
---|
| 800 | for ac_site_file in $CONFIG_SITE; do
|
---|
| 801 | if test -r "$ac_site_file"; then
|
---|
| 802 | { echo "$as_me:802: loading site script $ac_site_file" >&5
|
---|
| 803 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
| 804 | cat "$ac_site_file" >&5
|
---|
| 805 | . "$ac_site_file"
|
---|
| 806 | fi
|
---|
| 807 | done
|
---|
| 808 |
|
---|
| 809 | if test -r "$cache_file"; then
|
---|
| 810 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 811 | # files actually), so we avoid doing that.
|
---|
| 812 | if test -f "$cache_file"; then
|
---|
| 813 | { echo "$as_me:813: loading cache $cache_file" >&5
|
---|
| 814 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
| 815 | case $cache_file in
|
---|
| 816 | [\\/]* | ?:[\\/]* ) . $cache_file;;
|
---|
| 817 | *) . ./$cache_file;;
|
---|
| 818 | esac
|
---|
| 819 | fi
|
---|
| 820 | else
|
---|
| 821 | { echo "$as_me:821: creating cache $cache_file" >&5
|
---|
| 822 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
| 823 | >$cache_file
|
---|
| 824 | fi
|
---|
| 825 |
|
---|
| 826 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 827 | # value.
|
---|
| 828 | ac_suggest_removing_cache=false
|
---|
| 829 | for ac_var in `(set) 2>&1 |
|
---|
| 830 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
---|
| 831 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 832 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
| 833 | eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
---|
| 834 | eval ac_new_val="\$ac_env_${ac_var}_value"
|
---|
| 835 | case $ac_old_set,$ac_new_set in
|
---|
| 836 | set,)
|
---|
| 837 | { echo "$as_me:837: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 838 | echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
| 839 | ac_suggest_removing_cache=: ;;
|
---|
| 840 | ,set)
|
---|
| 841 | { echo "$as_me:841: WARNING: \`$ac_var' was not set in the previous run" >&5
|
---|
| 842 | echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
|
---|
| 843 | ac_suggest_removing_cache=: ;;
|
---|
| 844 | ,);;
|
---|
| 845 | *)
|
---|
| 846 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
| 847 | { echo "$as_me:847: WARNING: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 848 | echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 849 | { echo "$as_me:849: WARNING: former value: $ac_old_val" >&5
|
---|
| 850 | echo "$as_me: WARNING: former value: $ac_old_val" >&2;}
|
---|
| 851 | { echo "$as_me:851: WARNING: current value: $ac_new_val" >&5
|
---|
| 852 | echo "$as_me: WARNING: current value: $ac_new_val" >&2;}
|
---|
| 853 | ac_suggest_removing_cache=:
|
---|
| 854 | fi;;
|
---|
| 855 | esac
|
---|
| 856 | done
|
---|
| 857 | if $ac_suggest_removing_cache; then
|
---|
| 858 | { echo "$as_me:858: WARNING: changes in the environment can compromise the build" >&5
|
---|
| 859 | echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
|
---|
| 860 | { echo "$as_me:860: WARNING: consider removing $cache_file and starting over" >&5
|
---|
| 861 | echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
|
---|
| 862 | fi
|
---|
| 863 |
|
---|
| 864 | ac_ext=c
|
---|
| 865 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 866 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 867 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 868 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 869 |
|
---|
| 870 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
---|
| 871 | *c*,-n*) ECHO_N= ECHO_C='
|
---|
| 872 | ' ECHO_T=' ' ;;
|
---|
| 873 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
---|
| 874 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
---|
| 875 | esac
|
---|
| 876 | echo "#! $SHELL" >conftest.sh
|
---|
| 877 | echo "exit 0" >>conftest.sh
|
---|
| 878 | chmod +x conftest.sh
|
---|
| 879 | if { (echo "$as_me:879: PATH=\".;.\"; conftest.sh") >&5
|
---|
| 880 | (PATH=".;."; conftest.sh) 2>&5
|
---|
| 881 | ac_status=$?
|
---|
| 882 | echo "$as_me:882: \$? = $ac_status" >&5
|
---|
| 883 | (exit $ac_status); }; then
|
---|
| 884 | ac_path_separator=';'
|
---|
| 885 | else
|
---|
| 886 | ac_path_separator=:
|
---|
| 887 | fi
|
---|
| 888 | PATH_SEPARATOR="$ac_path_separator"
|
---|
| 889 | rm -f conftest.sh
|
---|
| 890 |
|
---|
| 891 | ac_aux_dir=
|
---|
| 892 | for ac_dir in ../.. $srcdir/../..; do
|
---|
| 893 | if test -f $ac_dir/install-sh; then
|
---|
| 894 | ac_aux_dir=$ac_dir
|
---|
| 895 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 896 | break
|
---|
| 897 | elif test -f $ac_dir/install.sh; then
|
---|
| 898 | ac_aux_dir=$ac_dir
|
---|
| 899 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 900 | break
|
---|
| 901 | elif test -f $ac_dir/shtool; then
|
---|
| 902 | ac_aux_dir=$ac_dir
|
---|
| 903 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 904 | break
|
---|
| 905 | fi
|
---|
| 906 | done
|
---|
| 907 | if test -z "$ac_aux_dir"; then
|
---|
| 908 | { { echo "$as_me:908: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
|
---|
| 909 | echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
|
---|
| 910 | { (exit 1); exit 1; }; }
|
---|
| 911 | fi
|
---|
| 912 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
---|
| 913 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
---|
| 914 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
---|
| 915 |
|
---|
| 916 | ac_ext=cc
|
---|
| 917 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 918 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 919 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 920 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 921 | if test -n "$ac_tool_prefix"; then
|
---|
| 922 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
|
---|
| 923 | do
|
---|
| 924 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 925 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
| 926 | echo "$as_me:926: checking for $ac_word" >&5
|
---|
| 927 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 928 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
| 929 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 930 | else
|
---|
| 931 | if test -n "$CXX"; then
|
---|
| 932 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 933 | else
|
---|
| 934 | ac_save_IFS=$IFS; IFS=$ac_path_separator
|
---|
| 935 | ac_dummy="$PATH"
|
---|
| 936 | for ac_dir in $ac_dummy; do
|
---|
| 937 | IFS=$ac_save_IFS
|
---|
| 938 | test -z "$ac_dir" && ac_dir=.
|
---|
| 939 | $as_executable_p "$ac_dir/$ac_word" || continue
|
---|
| 940 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
| 941 | echo "$as_me:941: found $ac_dir/$ac_word" >&5
|
---|
| 942 | break
|
---|
| 943 | done
|
---|
| 944 |
|
---|
| 945 | fi
|
---|
| 946 | fi
|
---|
| 947 | CXX=$ac_cv_prog_CXX
|
---|
| 948 | if test -n "$CXX"; then
|
---|
| 949 | echo "$as_me:949: result: $CXX" >&5
|
---|
| 950 | echo "${ECHO_T}$CXX" >&6
|
---|
| 951 | else
|
---|
| 952 | echo "$as_me:952: result: no" >&5
|
---|
| 953 | echo "${ECHO_T}no" >&6
|
---|
| 954 | fi
|
---|
| 955 |
|
---|
| 956 | test -n "$CXX" && break
|
---|
| 957 | done
|
---|
| 958 | fi
|
---|
| 959 | if test -z "$CXX"; then
|
---|
| 960 | ac_ct_CXX=$CXX
|
---|
| 961 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
|
---|
| 962 | do
|
---|
| 963 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 964 | set dummy $ac_prog; ac_word=$2
|
---|
| 965 | echo "$as_me:965: checking for $ac_word" >&5
|
---|
| 966 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
---|
| 967 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
| 968 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 969 | else
|
---|
| 970 | if test -n "$ac_ct_CXX"; then
|
---|
| 971 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 972 | else
|
---|
| 973 | ac_save_IFS=$IFS; IFS=$ac_path_separator
|
---|
| 974 | ac_dummy="$PATH"
|
---|
| 975 | for ac_dir in $ac_dummy; do
|
---|
| 976 | IFS=$ac_save_IFS
|
---|
| 977 | test -z "$ac_dir" && ac_dir=.
|
---|
| 978 | $as_executable_p "$ac_dir/$ac_word" || continue
|
---|
| 979 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
| 980 | echo "$as_me:980: found $ac_dir/$ac_word" >&5
|
---|
| 981 | break
|
---|
| 982 | done
|
---|
| 983 |
|
---|
| 984 | fi
|
---|
| 985 | fi
|
---|
| 986 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 987 | if test -n "$ac_ct_CXX"; then
|
---|
| 988 | echo "$as_me:988: result: $ac_ct_CXX" >&5
|
---|
| 989 | echo "${ECHO_T}$ac_ct_CXX" >&6
|
---|
| 990 | else
|
---|
| 991 | echo "$as_me:991: result: no" >&5
|
---|
| 992 | echo "${ECHO_T}no" >&6
|
---|
| 993 | fi
|
---|
| 994 |
|
---|
| 995 | test -n "$ac_ct_CXX" && break
|
---|
| 996 | done
|
---|
| 997 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
|
---|
| 998 |
|
---|
| 999 | CXX=$ac_ct_CXX
|
---|
| 1000 | fi
|
---|
| 1001 |
|
---|
| 1002 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1003 | #line 1003 "configure"
|
---|
| 1004 | #include "confdefs.h"
|
---|
| 1005 |
|
---|
| 1006 | int
|
---|
| 1007 | main ()
|
---|
| 1008 | {
|
---|
| 1009 |
|
---|
| 1010 | ;
|
---|
| 1011 | return 0;
|
---|
| 1012 | }
|
---|
| 1013 | _ACEOF
|
---|
| 1014 | ac_clean_files_save=$ac_clean_files
|
---|
| 1015 | ac_clean_files="$ac_clean_files a.out a.exe"
|
---|
| 1016 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 1017 | # It will help us diagnose broken compiler, and finding out an intuition
|
---|
| 1018 | # of exeext.
|
---|
| 1019 | echo "$as_me:1019: checking for C++ compiler default output" >&5
|
---|
| 1020 | echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
|
---|
| 1021 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 1022 | if { (eval echo "$as_me:1022: \"$ac_link_default\"") >&5
|
---|
| 1023 | (eval $ac_link_default) 2>&5
|
---|
| 1024 | ac_status=$?
|
---|
| 1025 | echo "$as_me:1025: \$? = $ac_status" >&5
|
---|
| 1026 | (exit $ac_status); }; then
|
---|
| 1027 | for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
|
---|
| 1028 | case $ac_file in
|
---|
| 1029 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
---|
| 1030 | a.out ) # We found the default executable, but exeext='' is most
|
---|
| 1031 | # certainly right.
|
---|
| 1032 | break;;
|
---|
| 1033 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 1034 | export ac_cv_exeext
|
---|
| 1035 | break;;
|
---|
| 1036 | * ) break;;
|
---|
| 1037 | esac
|
---|
| 1038 | done
|
---|
| 1039 | else
|
---|
| 1040 | echo "$as_me: failed program was:" >&5
|
---|
| 1041 | cat conftest.$ac_ext >&5
|
---|
| 1042 | { { echo "$as_me:1042: error: C++ compiler cannot create executables" >&5
|
---|
| 1043 | echo "$as_me: error: C++ compiler cannot create executables" >&2;}
|
---|
| 1044 | { (exit 77); exit 77; }; }
|
---|
| 1045 | fi
|
---|
| 1046 |
|
---|
| 1047 | ac_exeext=$ac_cv_exeext
|
---|
| 1048 | echo "$as_me:1048: result: $ac_file" >&5
|
---|
| 1049 | echo "${ECHO_T}$ac_file" >&6
|
---|
| 1050 |
|
---|
| 1051 | # Check the compiler produces executables we can run. If not, either
|
---|
| 1052 | # the compiler is broken, or we cross compile.
|
---|
| 1053 | echo "$as_me:1053: checking whether the C++ compiler works" >&5
|
---|
| 1054 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
|
---|
| 1055 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 1056 | # If not cross compiling, check that we can run a simple program.
|
---|
| 1057 | if test "$cross_compiling" != yes; then
|
---|
| 1058 | if { ac_try='./$ac_file'
|
---|
| 1059 | { (eval echo "$as_me:1059: \"$ac_try\"") >&5
|
---|
| 1060 | (eval $ac_try) 2>&5
|
---|
| 1061 | ac_status=$?
|
---|
| 1062 | echo "$as_me:1062: \$? = $ac_status" >&5
|
---|
| 1063 | (exit $ac_status); }; }; then
|
---|
| 1064 | cross_compiling=no
|
---|
| 1065 | else
|
---|
| 1066 | if test "$cross_compiling" = maybe; then
|
---|
| 1067 | cross_compiling=yes
|
---|
| 1068 | else
|
---|
| 1069 | { { echo "$as_me:1069: error: cannot run C++ compiled programs.
|
---|
| 1070 | If you meant to cross compile, use \`--host'." >&5
|
---|
| 1071 | echo "$as_me: error: cannot run C++ compiled programs.
|
---|
| 1072 | If you meant to cross compile, use \`--host'." >&2;}
|
---|
| 1073 | { (exit 1); exit 1; }; }
|
---|
| 1074 | fi
|
---|
| 1075 | fi
|
---|
| 1076 | fi
|
---|
| 1077 | echo "$as_me:1077: result: yes" >&5
|
---|
| 1078 | echo "${ECHO_T}yes" >&6
|
---|
| 1079 |
|
---|
| 1080 | rm -f a.out a.exe conftest$ac_cv_exeext
|
---|
| 1081 | ac_clean_files=$ac_clean_files_save
|
---|
| 1082 | # Check the compiler produces executables we can run. If not, either
|
---|
| 1083 | # the compiler is broken, or we cross compile.
|
---|
| 1084 | echo "$as_me:1084: checking whether we are cross compiling" >&5
|
---|
| 1085 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
---|
| 1086 | echo "$as_me:1086: result: $cross_compiling" >&5
|
---|
| 1087 | echo "${ECHO_T}$cross_compiling" >&6
|
---|
| 1088 |
|
---|
| 1089 | echo "$as_me:1089: checking for executable suffix" >&5
|
---|
| 1090 | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
|
---|
| 1091 | if { (eval echo "$as_me:1091: \"$ac_link\"") >&5
|
---|
| 1092 | (eval $ac_link) 2>&5
|
---|
| 1093 | ac_status=$?
|
---|
| 1094 | echo "$as_me:1094: \$? = $ac_status" >&5
|
---|
| 1095 | (exit $ac_status); }; then
|
---|
| 1096 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 1097 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 1098 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 1099 | # `rm'.
|
---|
| 1100 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
|
---|
| 1101 | case $ac_file in
|
---|
| 1102 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
---|
| 1103 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 1104 | export ac_cv_exeext
|
---|
| 1105 | break;;
|
---|
| 1106 | * ) break;;
|
---|
| 1107 | esac
|
---|
| 1108 | done
|
---|
| 1109 | else
|
---|
| 1110 | { { echo "$as_me:1110: error: cannot compute EXEEXT: cannot compile and link" >&5
|
---|
| 1111 | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
|
---|
| 1112 | { (exit 1); exit 1; }; }
|
---|
| 1113 | fi
|
---|
| 1114 |
|
---|
| 1115 | rm -f conftest$ac_cv_exeext
|
---|
| 1116 | echo "$as_me:1116: result: $ac_cv_exeext" >&5
|
---|
| 1117 | echo "${ECHO_T}$ac_cv_exeext" >&6
|
---|
| 1118 |
|
---|
| 1119 | rm -f conftest.$ac_ext
|
---|
| 1120 | EXEEXT=$ac_cv_exeext
|
---|
| 1121 | ac_exeext=$EXEEXT
|
---|
| 1122 | echo "$as_me:1122: checking for object suffix" >&5
|
---|
| 1123 | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
|
---|
| 1124 | if test "${ac_cv_objext+set}" = set; then
|
---|
| 1125 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1126 | else
|
---|
| 1127 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1128 | #line 1128 "configure"
|
---|
| 1129 | #include "confdefs.h"
|
---|
| 1130 |
|
---|
| 1131 | int
|
---|
| 1132 | main ()
|
---|
| 1133 | {
|
---|
| 1134 |
|
---|
| 1135 | ;
|
---|
| 1136 | return 0;
|
---|
| 1137 | }
|
---|
| 1138 | _ACEOF
|
---|
| 1139 | rm -f conftest.o conftest.obj
|
---|
| 1140 | if { (eval echo "$as_me:1140: \"$ac_compile\"") >&5
|
---|
| 1141 | (eval $ac_compile) 2>&5
|
---|
| 1142 | ac_status=$?
|
---|
| 1143 | echo "$as_me:1143: \$? = $ac_status" >&5
|
---|
| 1144 | (exit $ac_status); }; then
|
---|
| 1145 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
---|
| 1146 | case $ac_file in
|
---|
| 1147 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
|
---|
| 1148 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 1149 | break;;
|
---|
| 1150 | esac
|
---|
| 1151 | done
|
---|
| 1152 | else
|
---|
| 1153 | echo "$as_me: failed program was:" >&5
|
---|
| 1154 | cat conftest.$ac_ext >&5
|
---|
| 1155 | { { echo "$as_me:1155: error: cannot compute OBJEXT: cannot compile" >&5
|
---|
| 1156 | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
|
---|
| 1157 | { (exit 1); exit 1; }; }
|
---|
| 1158 | fi
|
---|
| 1159 |
|
---|
| 1160 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 1161 | fi
|
---|
| 1162 | echo "$as_me:1162: result: $ac_cv_objext" >&5
|
---|
| 1163 | echo "${ECHO_T}$ac_cv_objext" >&6
|
---|
| 1164 | OBJEXT=$ac_cv_objext
|
---|
| 1165 | ac_objext=$OBJEXT
|
---|
| 1166 | echo "$as_me:1166: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 1167 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
|
---|
| 1168 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
| 1169 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1170 | else
|
---|
| 1171 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1172 | #line 1172 "configure"
|
---|
| 1173 | #include "confdefs.h"
|
---|
| 1174 |
|
---|
| 1175 | int
|
---|
| 1176 | main ()
|
---|
| 1177 | {
|
---|
| 1178 | #ifndef __GNUC__
|
---|
| 1179 | choke me
|
---|
| 1180 | #endif
|
---|
| 1181 |
|
---|
| 1182 | ;
|
---|
| 1183 | return 0;
|
---|
| 1184 | }
|
---|
| 1185 | _ACEOF
|
---|
| 1186 | rm -f conftest.$ac_objext
|
---|
| 1187 | if { (eval echo "$as_me:1187: \"$ac_compile\"") >&5
|
---|
| 1188 | (eval $ac_compile) 2>&5
|
---|
| 1189 | ac_status=$?
|
---|
| 1190 | echo "$as_me:1190: \$? = $ac_status" >&5
|
---|
| 1191 | (exit $ac_status); } &&
|
---|
| 1192 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 1193 | { (eval echo "$as_me:1193: \"$ac_try\"") >&5
|
---|
| 1194 | (eval $ac_try) 2>&5
|
---|
| 1195 | ac_status=$?
|
---|
| 1196 | echo "$as_me:1196: \$? = $ac_status" >&5
|
---|
| 1197 | (exit $ac_status); }; }; then
|
---|
| 1198 | ac_compiler_gnu=yes
|
---|
| 1199 | else
|
---|
| 1200 | echo "$as_me: failed program was:" >&5
|
---|
| 1201 | cat conftest.$ac_ext >&5
|
---|
| 1202 | ac_compiler_gnu=no
|
---|
| 1203 | fi
|
---|
| 1204 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 1205 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 1206 |
|
---|
| 1207 | fi
|
---|
| 1208 | echo "$as_me:1208: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 1209 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
|
---|
| 1210 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 1211 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 1212 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
| 1213 | CXXFLAGS="-g"
|
---|
| 1214 | echo "$as_me:1214: checking whether $CXX accepts -g" >&5
|
---|
| 1215 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
|
---|
| 1216 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
| 1217 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1218 | else
|
---|
| 1219 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1220 | #line 1220 "configure"
|
---|
| 1221 | #include "confdefs.h"
|
---|
| 1222 |
|
---|
| 1223 | int
|
---|
| 1224 | main ()
|
---|
| 1225 | {
|
---|
| 1226 |
|
---|
| 1227 | ;
|
---|
| 1228 | return 0;
|
---|
| 1229 | }
|
---|
| 1230 | _ACEOF
|
---|
| 1231 | rm -f conftest.$ac_objext
|
---|
| 1232 | if { (eval echo "$as_me:1232: \"$ac_compile\"") >&5
|
---|
| 1233 | (eval $ac_compile) 2>&5
|
---|
| 1234 | ac_status=$?
|
---|
| 1235 | echo "$as_me:1235: \$? = $ac_status" >&5
|
---|
| 1236 | (exit $ac_status); } &&
|
---|
| 1237 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 1238 | { (eval echo "$as_me:1238: \"$ac_try\"") >&5
|
---|
| 1239 | (eval $ac_try) 2>&5
|
---|
| 1240 | ac_status=$?
|
---|
| 1241 | echo "$as_me:1241: \$? = $ac_status" >&5
|
---|
| 1242 | (exit $ac_status); }; }; then
|
---|
| 1243 | ac_cv_prog_cxx_g=yes
|
---|
| 1244 | else
|
---|
| 1245 | echo "$as_me: failed program was:" >&5
|
---|
| 1246 | cat conftest.$ac_ext >&5
|
---|
| 1247 | ac_cv_prog_cxx_g=no
|
---|
| 1248 | fi
|
---|
| 1249 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 1250 | fi
|
---|
| 1251 | echo "$as_me:1251: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 1252 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
|
---|
| 1253 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 1254 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 1255 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 1256 | if test "$GXX" = yes; then
|
---|
| 1257 | CXXFLAGS="-g -O2"
|
---|
| 1258 | else
|
---|
| 1259 | CXXFLAGS="-g"
|
---|
| 1260 | fi
|
---|
| 1261 | else
|
---|
| 1262 | if test "$GXX" = yes; then
|
---|
| 1263 | CXXFLAGS="-O2"
|
---|
| 1264 | else
|
---|
| 1265 | CXXFLAGS=
|
---|
| 1266 | fi
|
---|
| 1267 | fi
|
---|
| 1268 | for ac_declaration in \
|
---|
| 1269 | ''\
|
---|
| 1270 | '#include <stdlib.h>' \
|
---|
| 1271 | 'extern "C" void std::exit (int) throw (); using std::exit;' \
|
---|
| 1272 | 'extern "C" void std::exit (int); using std::exit;' \
|
---|
| 1273 | 'extern "C" void exit (int) throw ();' \
|
---|
| 1274 | 'extern "C" void exit (int);' \
|
---|
| 1275 | 'void exit (int);'
|
---|
| 1276 | do
|
---|
| 1277 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1278 | #line 1278 "configure"
|
---|
| 1279 | #include "confdefs.h"
|
---|
| 1280 | #include <stdlib.h>
|
---|
| 1281 | $ac_declaration
|
---|
| 1282 | int
|
---|
| 1283 | main ()
|
---|
| 1284 | {
|
---|
| 1285 | exit (42);
|
---|
| 1286 | ;
|
---|
| 1287 | return 0;
|
---|
| 1288 | }
|
---|
| 1289 | _ACEOF
|
---|
| 1290 | rm -f conftest.$ac_objext
|
---|
| 1291 | if { (eval echo "$as_me:1291: \"$ac_compile\"") >&5
|
---|
| 1292 | (eval $ac_compile) 2>&5
|
---|
| 1293 | ac_status=$?
|
---|
| 1294 | echo "$as_me:1294: \$? = $ac_status" >&5
|
---|
| 1295 | (exit $ac_status); } &&
|
---|
| 1296 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 1297 | { (eval echo "$as_me:1297: \"$ac_try\"") >&5
|
---|
| 1298 | (eval $ac_try) 2>&5
|
---|
| 1299 | ac_status=$?
|
---|
| 1300 | echo "$as_me:1300: \$? = $ac_status" >&5
|
---|
| 1301 | (exit $ac_status); }; }; then
|
---|
| 1302 | :
|
---|
| 1303 | else
|
---|
| 1304 | echo "$as_me: failed program was:" >&5
|
---|
| 1305 | cat conftest.$ac_ext >&5
|
---|
| 1306 | continue
|
---|
| 1307 | fi
|
---|
| 1308 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 1309 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 1310 | #line 1310 "configure"
|
---|
| 1311 | #include "confdefs.h"
|
---|
| 1312 | $ac_declaration
|
---|
| 1313 | int
|
---|
| 1314 | main ()
|
---|
| 1315 | {
|
---|
| 1316 | exit (42);
|
---|
| 1317 | ;
|
---|
| 1318 | return 0;
|
---|
| 1319 | }
|
---|
| 1320 | _ACEOF
|
---|
| 1321 | rm -f conftest.$ac_objext
|
---|
| 1322 | if { (eval echo "$as_me:1322: \"$ac_compile\"") >&5
|
---|
| 1323 | (eval $ac_compile) 2>&5
|
---|
| 1324 | ac_status=$?
|
---|
| 1325 | echo "$as_me:1325: \$? = $ac_status" >&5
|
---|
| 1326 | (exit $ac_status); } &&
|
---|
| 1327 | { ac_try='test -s conftest.$ac_objext'
|
---|
| 1328 | { (eval echo "$as_me:1328: \"$ac_try\"") >&5
|
---|
| 1329 | (eval $ac_try) 2>&5
|
---|
| 1330 | ac_status=$?
|
---|
| 1331 | echo "$as_me:1331: \$? = $ac_status" >&5
|
---|
| 1332 | (exit $ac_status); }; }; then
|
---|
| 1333 | break
|
---|
| 1334 | else
|
---|
| 1335 | echo "$as_me: failed program was:" >&5
|
---|
| 1336 | cat conftest.$ac_ext >&5
|
---|
| 1337 | fi
|
---|
| 1338 | rm -f conftest.$ac_objext conftest.$ac_ext
|
---|
| 1339 | done
|
---|
| 1340 | echo '#ifdef __cplusplus' >>confdefs.h
|
---|
| 1341 | echo $ac_declaration >>confdefs.h
|
---|
| 1342 | echo '#endif' >>confdefs.h
|
---|
| 1343 |
|
---|
| 1344 | ac_ext=c
|
---|
| 1345 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1346 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1347 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1348 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1349 |
|
---|
| 1350 | # Find a good install program. We prefer a C program (faster),
|
---|
| 1351 | # so one script is as good as another. But avoid the broken or
|
---|
| 1352 | # incompatible versions:
|
---|
| 1353 | # SysV /etc/install, /usr/sbin/install
|
---|
| 1354 | # SunOS /usr/etc/install
|
---|
| 1355 | # IRIX /sbin/install
|
---|
| 1356 | # AIX /bin/install
|
---|
| 1357 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 1358 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 1359 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 1360 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 1361 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
| 1362 | echo "$as_me:1362: checking for a BSD compatible install" >&5
|
---|
| 1363 | echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
|
---|
| 1364 | if test -z "$INSTALL"; then
|
---|
| 1365 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 1366 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1367 | else
|
---|
| 1368 | ac_save_IFS=$IFS; IFS=$ac_path_separator
|
---|
| 1369 | for ac_dir in $PATH; do
|
---|
| 1370 | IFS=$ac_save_IFS
|
---|
| 1371 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 1372 | case $ac_dir/ in
|
---|
| 1373 | / | ./ | .// | /cC/* \
|
---|
| 1374 | | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
|
---|
| 1375 | | /usr/ucb/* ) ;;
|
---|
| 1376 | *)
|
---|
| 1377 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 1378 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 1379 | # by default.
|
---|
| 1380 | for ac_prog in ginstall scoinst install; do
|
---|
| 1381 | if $as_executable_p "$ac_dir/$ac_prog"; then
|
---|
| 1382 | if test $ac_prog = install &&
|
---|
| 1383 | grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
---|
| 1384 | # AIX install. It has an incompatible calling convention.
|
---|
| 1385 | :
|
---|
| 1386 | elif test $ac_prog = install &&
|
---|
| 1387 | grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
|
---|
| 1388 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 1389 | :
|
---|
| 1390 | else
|
---|
| 1391 | ac_cv_path_install="$ac_dir/$ac_prog -c"
|
---|
| 1392 | break 2
|
---|
| 1393 | fi
|
---|
| 1394 | fi
|
---|
| 1395 | done
|
---|
| 1396 | ;;
|
---|
| 1397 | esac
|
---|
| 1398 | done
|
---|
| 1399 |
|
---|
| 1400 | fi
|
---|
| 1401 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 1402 | INSTALL=$ac_cv_path_install
|
---|
| 1403 | else
|
---|
| 1404 | # As a last resort, use the slow shell script. We don't cache a
|
---|
| 1405 | # path for INSTALL within a source directory, because that will
|
---|
| 1406 | # break other packages using the cache if that directory is
|
---|
| 1407 | # removed, or if the path is relative.
|
---|
| 1408 | INSTALL=$ac_install_sh
|
---|
| 1409 | fi
|
---|
| 1410 | fi
|
---|
| 1411 | echo "$as_me:1411: result: $INSTALL" >&5
|
---|
| 1412 | echo "${ECHO_T}$INSTALL" >&6
|
---|
| 1413 |
|
---|
| 1414 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 1415 | # It thinks the first close brace ends the variable substitution.
|
---|
| 1416 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 1417 |
|
---|
| 1418 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 1419 |
|
---|
| 1420 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 1421 |
|
---|
| 1422 | ac_config_files="$ac_config_files Makefile"
|
---|
| 1423 | cat >confcache <<\_ACEOF
|
---|
| 1424 | # This file is a shell script that caches the results of configure
|
---|
| 1425 | # tests run on this system so they can be shared between configure
|
---|
| 1426 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 1427 | # It is not useful on other systems. If it contains results you don't
|
---|
| 1428 | # want to keep, you may remove or edit it.
|
---|
| 1429 | #
|
---|
| 1430 | # config.status only pays attention to the cache file if you give it
|
---|
| 1431 | # the --recheck option to rerun configure.
|
---|
| 1432 | #
|
---|
| 1433 | # `ac_cv_env_foo' variables (set or unset) will be overriden when
|
---|
| 1434 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 1435 | # following values.
|
---|
| 1436 |
|
---|
| 1437 | _ACEOF
|
---|
| 1438 |
|
---|
| 1439 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 1440 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
| 1441 | # So, don't put newlines in cache variables' values.
|
---|
| 1442 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 1443 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
| 1444 | {
|
---|
| 1445 | (set) 2>&1 |
|
---|
| 1446 | case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
---|
| 1447 | *ac_space=\ *)
|
---|
| 1448 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 1449 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
| 1450 | sed -n \
|
---|
| 1451 | "s/'/'\\\\''/g;
|
---|
| 1452 | s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
| 1453 | ;;
|
---|
| 1454 | *)
|
---|
| 1455 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
| 1456 | sed -n \
|
---|
| 1457 | "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
---|
| 1458 | ;;
|
---|
| 1459 | esac;
|
---|
| 1460 | } |
|
---|
| 1461 | sed '
|
---|
| 1462 | t clear
|
---|
| 1463 | : clear
|
---|
| 1464 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 1465 | t end
|
---|
| 1466 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 1467 | : end' >>confcache
|
---|
| 1468 | if cmp -s $cache_file confcache; then :; else
|
---|
| 1469 | if test -w $cache_file; then
|
---|
| 1470 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
---|
| 1471 | cat confcache >$cache_file
|
---|
| 1472 | else
|
---|
| 1473 | echo "not updating unwritable cache $cache_file"
|
---|
| 1474 | fi
|
---|
| 1475 | fi
|
---|
| 1476 | rm -f confcache
|
---|
| 1477 |
|
---|
| 1478 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 1479 | # Let make expand exec_prefix.
|
---|
| 1480 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 1481 |
|
---|
| 1482 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 1483 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
| 1484 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 1485 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 1486 | if test "x$srcdir" = x.; then
|
---|
| 1487 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 1488 | s/:*\$(srcdir):*/:/;
|
---|
| 1489 | s/:*\${srcdir}:*/:/;
|
---|
| 1490 | s/:*@srcdir@:*/:/;
|
---|
| 1491 | s/^\([^=]*=[ ]*\):*/\1/;
|
---|
| 1492 | s/:*$//;
|
---|
| 1493 | s/^[^=]*=[ ]*$//;
|
---|
| 1494 | }'
|
---|
| 1495 | fi
|
---|
| 1496 |
|
---|
| 1497 | # Transform confdefs.h into DEFS.
|
---|
| 1498 | # Protect against shell expansion while executing Makefile rules.
|
---|
| 1499 | # Protect against Makefile macro expansion.
|
---|
| 1500 | #
|
---|
| 1501 | # If the first sed substitution is executed (which looks for macros that
|
---|
| 1502 | # take arguments), then we branch to the quote section. Otherwise,
|
---|
| 1503 | # look for a macro that doesn't take arguments.
|
---|
| 1504 | cat >confdef2opt.sed <<\EOF
|
---|
| 1505 | t clear
|
---|
| 1506 | : clear
|
---|
| 1507 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
---|
| 1508 | t quote
|
---|
| 1509 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
---|
| 1510 | t quote
|
---|
| 1511 | d
|
---|
| 1512 | : quote
|
---|
| 1513 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
---|
| 1514 | s,\[,\\&,g
|
---|
| 1515 | s,\],\\&,g
|
---|
| 1516 | s,\$,$$,g
|
---|
| 1517 | p
|
---|
| 1518 | EOF
|
---|
| 1519 | # We use echo to avoid assuming a particular line-breaking character.
|
---|
| 1520 | # The extra dot is to prevent the shell from consuming trailing
|
---|
| 1521 | # line-breaks from the sub-command output. A line-break within
|
---|
| 1522 | # single-quotes doesn't work because, if this script is created in a
|
---|
| 1523 | # platform that uses two characters for line-breaks (e.g., DOS), tr
|
---|
| 1524 | # would break.
|
---|
| 1525 | ac_LF_and_DOT=`echo; echo .`
|
---|
| 1526 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
---|
| 1527 | rm -f confdef2opt.sed
|
---|
| 1528 |
|
---|
| 1529 | : ${CONFIG_STATUS=./config.status}
|
---|
| 1530 | ac_clean_files_save=$ac_clean_files
|
---|
| 1531 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
| 1532 | { echo "$as_me:1532: creating $CONFIG_STATUS" >&5
|
---|
| 1533 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 1534 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
| 1535 | #! $SHELL
|
---|
| 1536 | # Generated automatically by configure.
|
---|
| 1537 | # Run this file to recreate the current configuration.
|
---|
| 1538 | # Compiler output produced by configure, useful for debugging
|
---|
| 1539 | # configure, is in config.log if it exists.
|
---|
| 1540 |
|
---|
| 1541 | debug=false
|
---|
| 1542 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 1543 | ac_cs_invocation="\$0 \$@"
|
---|
| 1544 |
|
---|
| 1545 | _ACEOF
|
---|
| 1546 |
|
---|
| 1547 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 1548 | # Be Bourne compatible
|
---|
| 1549 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 1550 | emulate sh
|
---|
| 1551 | NULLCMD=:
|
---|
| 1552 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
---|
| 1553 | set -o posix
|
---|
| 1554 | fi
|
---|
| 1555 |
|
---|
| 1556 | # Name of the executable.
|
---|
| 1557 | as_me=`echo "$0" |sed 's,.*[\\/],,'`
|
---|
| 1558 |
|
---|
| 1559 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
---|
| 1560 | as_expr=expr
|
---|
| 1561 | else
|
---|
| 1562 | as_expr=false
|
---|
| 1563 | fi
|
---|
| 1564 |
|
---|
| 1565 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 1566 | echo >conf$$.file
|
---|
| 1567 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 1568 | # We could just check for DJGPP; but this test a) works b) is more generic
|
---|
| 1569 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
---|
| 1570 | if test -f conf$$.exe; then
|
---|
| 1571 | # Don't use ln at all; we don't have any links
|
---|
| 1572 | as_ln_s='cp -p'
|
---|
| 1573 | else
|
---|
| 1574 | as_ln_s='ln -s'
|
---|
| 1575 | fi
|
---|
| 1576 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 1577 | as_ln_s=ln
|
---|
| 1578 | else
|
---|
| 1579 | as_ln_s='cp -p'
|
---|
| 1580 | fi
|
---|
| 1581 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 1582 |
|
---|
| 1583 | as_executable_p="test -f"
|
---|
| 1584 |
|
---|
| 1585 | # Support unset when possible.
|
---|
| 1586 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
---|
| 1587 | as_unset=unset
|
---|
| 1588 | else
|
---|
| 1589 | as_unset=false
|
---|
| 1590 | fi
|
---|
| 1591 |
|
---|
| 1592 | # NLS nuisances.
|
---|
| 1593 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
|
---|
| 1594 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
|
---|
| 1595 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
|
---|
| 1596 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
|
---|
| 1597 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
|
---|
| 1598 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
|
---|
| 1599 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
|
---|
| 1600 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
|
---|
| 1601 |
|
---|
| 1602 | # IFS
|
---|
| 1603 | # We need space, tab and new line, in precisely that order.
|
---|
| 1604 | as_nl='
|
---|
| 1605 | '
|
---|
| 1606 | IFS=" $as_nl"
|
---|
| 1607 |
|
---|
| 1608 | # CDPATH.
|
---|
| 1609 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
|
---|
| 1610 |
|
---|
| 1611 | exec 6>&1
|
---|
| 1612 |
|
---|
| 1613 | _ACEOF
|
---|
| 1614 |
|
---|
| 1615 | # Files that config.status was made for.
|
---|
| 1616 | if test -n "$ac_config_files"; then
|
---|
| 1617 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
---|
| 1618 | fi
|
---|
| 1619 |
|
---|
| 1620 | if test -n "$ac_config_headers"; then
|
---|
| 1621 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
---|
| 1622 | fi
|
---|
| 1623 |
|
---|
| 1624 | if test -n "$ac_config_links"; then
|
---|
| 1625 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
---|
| 1626 | fi
|
---|
| 1627 |
|
---|
| 1628 | if test -n "$ac_config_commands"; then
|
---|
| 1629 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
---|
| 1630 | fi
|
---|
| 1631 |
|
---|
| 1632 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 1633 |
|
---|
| 1634 | ac_cs_usage="\
|
---|
| 1635 | \`$as_me' instantiates files from templates according to the
|
---|
| 1636 | current configuration.
|
---|
| 1637 |
|
---|
| 1638 | Usage: $0 [OPTIONS] [FILE]...
|
---|
| 1639 |
|
---|
| 1640 | -h, --help print this help, then exit
|
---|
| 1641 | -V, --version print version number, then exit
|
---|
| 1642 | -d, --debug don't remove temporary files
|
---|
| 1643 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
| 1644 | --file=FILE[:TEMPLATE]
|
---|
| 1645 | instantiate the configuration file FILE
|
---|
| 1646 |
|
---|
| 1647 | Configuration files:
|
---|
| 1648 | $config_files
|
---|
| 1649 |
|
---|
| 1650 | Report bugs to <[email protected]>."
|
---|
| 1651 | EOF
|
---|
| 1652 |
|
---|
| 1653 | cat >>$CONFIG_STATUS <<EOF
|
---|
| 1654 | ac_cs_version="\\
|
---|
| 1655 | config.status
|
---|
| 1656 | configured by $0, generated by GNU Autoconf 2.50,
|
---|
| 1657 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
---|
| 1658 |
|
---|
| 1659 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
---|
| 1660 | Free Software Foundation, Inc.
|
---|
| 1661 | This config.status script is free software; the Free Software Foundation
|
---|
| 1662 | gives unlimited permission to copy, distribute and modify it."
|
---|
| 1663 | srcdir=$srcdir
|
---|
| 1664 | INSTALL="$INSTALL"
|
---|
| 1665 | EOF
|
---|
| 1666 |
|
---|
| 1667 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 1668 | # If no file are specified by the user, then we need to provide default
|
---|
| 1669 | # value. By we need to know if files were specified by the user.
|
---|
| 1670 | ac_need_defaults=:
|
---|
| 1671 | while test $# != 0
|
---|
| 1672 | do
|
---|
| 1673 | case $1 in
|
---|
| 1674 | --*=*)
|
---|
| 1675 | ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
---|
| 1676 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
---|
| 1677 | shift
|
---|
| 1678 | set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
|
---|
| 1679 | shift
|
---|
| 1680 | ;;
|
---|
| 1681 | -*);;
|
---|
| 1682 | *) # This is not an option, so the user has probably given explicit
|
---|
| 1683 | # arguments.
|
---|
| 1684 | ac_need_defaults=false;;
|
---|
| 1685 | esac
|
---|
| 1686 |
|
---|
| 1687 | case $1 in
|
---|
| 1688 | # Handling of the options.
|
---|
| 1689 | EOF
|
---|
| 1690 | cat >>$CONFIG_STATUS <<EOF
|
---|
| 1691 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 1692 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
|
---|
| 1693 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
|
---|
| 1694 | EOF
|
---|
| 1695 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 1696 | --version | --vers* | -V )
|
---|
| 1697 | echo "$ac_cs_version"; exit 0 ;;
|
---|
| 1698 | --he | --h)
|
---|
| 1699 | # Conflict between --help and --header
|
---|
| 1700 | { { echo "$as_me:1700: error: ambiguous option: $1
|
---|
| 1701 | Try \`$0 --help' for more information." >&5
|
---|
| 1702 | echo "$as_me: error: ambiguous option: $1
|
---|
| 1703 | Try \`$0 --help' for more information." >&2;}
|
---|
| 1704 | { (exit 1); exit 1; }; };;
|
---|
| 1705 | --help | --hel | -h )
|
---|
| 1706 | echo "$ac_cs_usage"; exit 0 ;;
|
---|
| 1707 | --debug | --d* | -d )
|
---|
| 1708 | debug=: ;;
|
---|
| 1709 | --file | --fil | --fi | --f )
|
---|
| 1710 | shift
|
---|
| 1711 | CONFIG_FILES="$CONFIG_FILES $1"
|
---|
| 1712 | ac_need_defaults=false;;
|
---|
| 1713 | --header | --heade | --head | --hea )
|
---|
| 1714 | shift
|
---|
| 1715 | CONFIG_HEADERS="$CONFIG_HEADERS $1"
|
---|
| 1716 | ac_need_defaults=false;;
|
---|
| 1717 |
|
---|
| 1718 | # Handling of arguments.
|
---|
| 1719 | 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 1720 |
|
---|
| 1721 | # This is an error.
|
---|
| 1722 | -*) { { echo "$as_me:1722: error: unrecognized option: $1
|
---|
| 1723 | Try \`$0 --help' for more information." >&5
|
---|
| 1724 | echo "$as_me: error: unrecognized option: $1
|
---|
| 1725 | Try \`$0 --help' for more information." >&2;}
|
---|
| 1726 | { (exit 1); exit 1; }; } ;;
|
---|
| 1727 | *) { { echo "$as_me:1727: error: invalid argument: $1" >&5
|
---|
| 1728 | echo "$as_me: error: invalid argument: $1" >&2;}
|
---|
| 1729 | { (exit 1); exit 1; }; };;
|
---|
| 1730 | esac
|
---|
| 1731 | shift
|
---|
| 1732 | done
|
---|
| 1733 |
|
---|
| 1734 | exec 5>>config.log
|
---|
| 1735 | cat >&5 << _ACEOF
|
---|
| 1736 |
|
---|
| 1737 | ## ----------------------- ##
|
---|
| 1738 | ## Running config.status. ##
|
---|
| 1739 | ## ----------------------- ##
|
---|
| 1740 |
|
---|
| 1741 | This file was extended by $as_me 2.50, executed with
|
---|
| 1742 | > $ac_cs_invocation
|
---|
| 1743 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1744 |
|
---|
| 1745 | _ACEOF
|
---|
| 1746 | EOF
|
---|
| 1747 |
|
---|
| 1748 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 1749 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 1750 | # then the envvar interface is used. Set only those that are not.
|
---|
| 1751 | # We use the long form for the default assignment because of an extremely
|
---|
| 1752 | # bizarre bug on SunOS 4.1.3.
|
---|
| 1753 | if $ac_need_defaults; then
|
---|
| 1754 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 1755 | fi
|
---|
| 1756 |
|
---|
| 1757 | # Create a temporary directory, and hook for its removal unless debugging.
|
---|
| 1758 | $debug ||
|
---|
| 1759 | {
|
---|
| 1760 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
---|
| 1761 | trap '{ (exit $?); exit $?; }' 1 2 13 15
|
---|
| 1762 | }
|
---|
| 1763 |
|
---|
| 1764 | # Create a (secure) tmp directory for tmp files.
|
---|
| 1765 | : ${TMPDIR=/tmp}
|
---|
| 1766 | {
|
---|
| 1767 | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
|
---|
| 1768 | test -n "$tmp" && test -d "$tmp"
|
---|
| 1769 | } ||
|
---|
| 1770 | {
|
---|
| 1771 | tmp=$TMPDIR/cs$$-$RANDOM
|
---|
| 1772 | (umask 077 && mkdir $tmp)
|
---|
| 1773 | } ||
|
---|
| 1774 | {
|
---|
| 1775 | echo "$me: cannot create a temporary directory in $TMPDIR" >&2
|
---|
| 1776 | { (exit 1); exit 1; }
|
---|
| 1777 | }
|
---|
| 1778 |
|
---|
| 1779 | EOF
|
---|
| 1780 |
|
---|
| 1781 | cat >>$CONFIG_STATUS <<EOF
|
---|
| 1782 |
|
---|
| 1783 | #
|
---|
| 1784 | # CONFIG_FILES section.
|
---|
| 1785 | #
|
---|
| 1786 |
|
---|
| 1787 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
| 1788 | # This happens for instance when ./config.status config.h
|
---|
| 1789 | if test -n "\$CONFIG_FILES"; then
|
---|
| 1790 | # Protect against being on the right side of a sed subst in config.status.
|
---|
| 1791 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
---|
| 1792 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
---|
| 1793 | s,@SHELL@,$SHELL,;t t
|
---|
| 1794 | s,@exec_prefix@,$exec_prefix,;t t
|
---|
| 1795 | s,@prefix@,$prefix,;t t
|
---|
| 1796 | s,@program_transform_name@,$program_transform_name,;t t
|
---|
| 1797 | s,@bindir@,$bindir,;t t
|
---|
| 1798 | s,@sbindir@,$sbindir,;t t
|
---|
| 1799 | s,@libexecdir@,$libexecdir,;t t
|
---|
| 1800 | s,@datadir@,$datadir,;t t
|
---|
| 1801 | s,@sysconfdir@,$sysconfdir,;t t
|
---|
| 1802 | s,@sharedstatedir@,$sharedstatedir,;t t
|
---|
| 1803 | s,@localstatedir@,$localstatedir,;t t
|
---|
| 1804 | s,@libdir@,$libdir,;t t
|
---|
| 1805 | s,@includedir@,$includedir,;t t
|
---|
| 1806 | s,@oldincludedir@,$oldincludedir,;t t
|
---|
| 1807 | s,@infodir@,$infodir,;t t
|
---|
| 1808 | s,@mandir@,$mandir,;t t
|
---|
| 1809 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
---|
| 1810 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
---|
| 1811 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
---|
| 1812 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
---|
| 1813 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
---|
| 1814 | s,@ECHO_C@,$ECHO_C,;t t
|
---|
| 1815 | s,@ECHO_N@,$ECHO_N,;t t
|
---|
| 1816 | s,@ECHO_T@,$ECHO_T,;t t
|
---|
| 1817 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
---|
| 1818 | s,@DEFS@,$DEFS,;t t
|
---|
| 1819 | s,@LIBS@,$LIBS,;t t
|
---|
| 1820 | s,@CXX@,$CXX,;t t
|
---|
| 1821 | s,@CXXFLAGS@,$CXXFLAGS,;t t
|
---|
| 1822 | s,@LDFLAGS@,$LDFLAGS,;t t
|
---|
| 1823 | s,@CPPFLAGS@,$CPPFLAGS,;t t
|
---|
| 1824 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t
|
---|
| 1825 | s,@EXEEXT@,$EXEEXT,;t t
|
---|
| 1826 | s,@OBJEXT@,$OBJEXT,;t t
|
---|
| 1827 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
---|
| 1828 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
---|
| 1829 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
---|
| 1830 | CEOF
|
---|
| 1831 |
|
---|
| 1832 | EOF
|
---|
| 1833 |
|
---|
| 1834 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 1835 | # Split the substitutions into bite-sized pieces for seds with
|
---|
| 1836 | # small command number limits, like on Digital OSF/1 and HP-UX.
|
---|
| 1837 | ac_max_sed_lines=48
|
---|
| 1838 | ac_sed_frag=1 # Number of current file.
|
---|
| 1839 | ac_beg=1 # First line for current file.
|
---|
| 1840 | ac_end=$ac_max_sed_lines # Line after last line for current file.
|
---|
| 1841 | ac_more_lines=:
|
---|
| 1842 | ac_sed_cmds=
|
---|
| 1843 | while $ac_more_lines; do
|
---|
| 1844 | if test $ac_beg -gt 1; then
|
---|
| 1845 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 1846 | else
|
---|
| 1847 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
---|
| 1848 | fi
|
---|
| 1849 | if test ! -s $tmp/subs.frag; then
|
---|
| 1850 | ac_more_lines=false
|
---|
| 1851 | else
|
---|
| 1852 | # The purpose of the label and of the branching condition is to
|
---|
| 1853 | # speed up the sed processing (if there are no `@' at all, there
|
---|
| 1854 | # is no need to browse any of the substitutions).
|
---|
| 1855 | # These are the two extra sed commands mentioned above.
|
---|
| 1856 | (echo ':t
|
---|
| 1857 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
---|
| 1858 | if test -z "$ac_sed_cmds"; then
|
---|
| 1859 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 1860 | else
|
---|
| 1861 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
---|
| 1862 | fi
|
---|
| 1863 | ac_sed_frag=`expr $ac_sed_frag + 1`
|
---|
| 1864 | ac_beg=$ac_end
|
---|
| 1865 | ac_end=`expr $ac_end + $ac_max_sed_lines`
|
---|
| 1866 | fi
|
---|
| 1867 | done
|
---|
| 1868 | if test -z "$ac_sed_cmds"; then
|
---|
| 1869 | ac_sed_cmds=cat
|
---|
| 1870 | fi
|
---|
| 1871 | fi # test -n "$CONFIG_FILES"
|
---|
| 1872 |
|
---|
| 1873 | EOF
|
---|
| 1874 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 1875 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
---|
| 1876 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
---|
| 1877 | case $ac_file in
|
---|
| 1878 | - | *:- | *:-:* ) # input from stdin
|
---|
| 1879 | cat >$tmp/stdin
|
---|
| 1880 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 1881 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 1882 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
---|
| 1883 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
---|
| 1884 | * ) ac_file_in=$ac_file.in ;;
|
---|
| 1885 | esac
|
---|
| 1886 |
|
---|
| 1887 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
---|
| 1888 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1889 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 1890 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
| 1891 | X"$ac_file" : 'X\(/\)' \| \
|
---|
| 1892 | . : '\(.\)' 2>/dev/null ||
|
---|
| 1893 | echo X"$ac_file" |
|
---|
| 1894 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
---|
| 1895 | /^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
---|
| 1896 | /^X\(\/\/\)$/{ s//\1/; q; }
|
---|
| 1897 | /^X\(\/\).*/{ s//\1/; q; }
|
---|
| 1898 | s/.*/./; q'`
|
---|
| 1899 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
---|
| 1900 | { case "$ac_dir" in
|
---|
| 1901 | [\\/]* | ?:[\\/]* ) as_incr_dir=;;
|
---|
| 1902 | *) as_incr_dir=.;;
|
---|
| 1903 | esac
|
---|
| 1904 | as_dummy="$ac_dir"
|
---|
| 1905 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
|
---|
| 1906 | case $as_mkdir_dir in
|
---|
| 1907 | # Skip DOS drivespec
|
---|
| 1908 | ?:) as_incr_dir=$as_mkdir_dir ;;
|
---|
| 1909 | *)
|
---|
| 1910 | as_incr_dir=$as_incr_dir/$as_mkdir_dir
|
---|
| 1911 | test -d "$as_incr_dir" || mkdir "$as_incr_dir"
|
---|
| 1912 | ;;
|
---|
| 1913 | esac
|
---|
| 1914 | done; }
|
---|
| 1915 |
|
---|
| 1916 | ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
|
---|
| 1917 | # A "../" for each directory in $ac_dir_suffix.
|
---|
| 1918 | ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
|
---|
| 1919 | else
|
---|
| 1920 | ac_dir_suffix= ac_dots=
|
---|
| 1921 | fi
|
---|
| 1922 |
|
---|
| 1923 | case $srcdir in
|
---|
| 1924 | .) ac_srcdir=.
|
---|
| 1925 | if test -z "$ac_dots"; then
|
---|
| 1926 | ac_top_srcdir=.
|
---|
| 1927 | else
|
---|
| 1928 | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
|
---|
| 1929 | fi ;;
|
---|
| 1930 | [\\/]* | ?:[\\/]* )
|
---|
| 1931 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
| 1932 | ac_top_srcdir=$srcdir ;;
|
---|
| 1933 | *) # Relative path.
|
---|
| 1934 | ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
|
---|
| 1935 | ac_top_srcdir=$ac_dots$srcdir ;;
|
---|
| 1936 | esac
|
---|
| 1937 |
|
---|
| 1938 | case $INSTALL in
|
---|
| 1939 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
| 1940 | *) ac_INSTALL=$ac_dots$INSTALL ;;
|
---|
| 1941 | esac
|
---|
| 1942 |
|
---|
| 1943 | if test x"$ac_file" != x-; then
|
---|
| 1944 | { echo "$as_me:1944: creating $ac_file" >&5
|
---|
| 1945 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 1946 | rm -f "$ac_file"
|
---|
| 1947 | fi
|
---|
| 1948 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 1949 | # use $as_me), people would be surprised to read:
|
---|
| 1950 | # /* config.h. Generated automatically by config.status. */
|
---|
| 1951 | configure_input="Generated automatically from `echo $ac_file_in |
|
---|
| 1952 | sed 's,.*/,,'` by configure."
|
---|
| 1953 |
|
---|
| 1954 | # First look for the input files in the build tree, otherwise in the
|
---|
| 1955 | # src tree.
|
---|
| 1956 | ac_file_inputs=`IFS=:
|
---|
| 1957 | for f in $ac_file_in; do
|
---|
| 1958 | case $f in
|
---|
| 1959 | -) echo $tmp/stdin ;;
|
---|
| 1960 | [\\/$]*)
|
---|
| 1961 | # Absolute (can't be DOS-style, as IFS=:)
|
---|
| 1962 | test -f "$f" || { { echo "$as_me:1962: error: cannot find input file: $f" >&5
|
---|
| 1963 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 1964 | { (exit 1); exit 1; }; }
|
---|
| 1965 | echo $f;;
|
---|
| 1966 | *) # Relative
|
---|
| 1967 | if test -f "$f"; then
|
---|
| 1968 | # Build tree
|
---|
| 1969 | echo $f
|
---|
| 1970 | elif test -f "$srcdir/$f"; then
|
---|
| 1971 | # Source tree
|
---|
| 1972 | echo $srcdir/$f
|
---|
| 1973 | else
|
---|
| 1974 | # /dev/null tree
|
---|
| 1975 | { { echo "$as_me:1975: error: cannot find input file: $f" >&5
|
---|
| 1976 | echo "$as_me: error: cannot find input file: $f" >&2;}
|
---|
| 1977 | { (exit 1); exit 1; }; }
|
---|
| 1978 | fi;;
|
---|
| 1979 | esac
|
---|
| 1980 | done` || { (exit 1); exit 1; }
|
---|
| 1981 | EOF
|
---|
| 1982 | cat >>$CONFIG_STATUS <<EOF
|
---|
| 1983 | sed "$ac_vpsub
|
---|
| 1984 | $extrasub
|
---|
| 1985 | EOF
|
---|
| 1986 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 1987 | :t
|
---|
| 1988 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
| 1989 | s,@configure_input@,$configure_input,;t t
|
---|
| 1990 | s,@srcdir@,$ac_srcdir,;t t
|
---|
| 1991 | s,@top_srcdir@,$ac_top_srcdir,;t t
|
---|
| 1992 | s,@INSTALL@,$ac_INSTALL,;t t
|
---|
| 1993 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
---|
| 1994 | rm -f $tmp/stdin
|
---|
| 1995 | if test x"$ac_file" != x-; then
|
---|
| 1996 | mv $tmp/out $ac_file
|
---|
| 1997 | else
|
---|
| 1998 | cat $tmp/out
|
---|
| 1999 | rm -f $tmp/out
|
---|
| 2000 | fi
|
---|
| 2001 |
|
---|
| 2002 | done
|
---|
| 2003 | EOF
|
---|
| 2004 |
|
---|
| 2005 | cat >>$CONFIG_STATUS <<\EOF
|
---|
| 2006 |
|
---|
| 2007 | { (exit 0); exit 0; }
|
---|
| 2008 | EOF
|
---|
| 2009 | chmod +x $CONFIG_STATUS
|
---|
| 2010 | ac_clean_files=$ac_clean_files_save
|
---|
| 2011 |
|
---|
| 2012 | # configure is writing to config.log, and then calls config.status.
|
---|
| 2013 | # config.status does its own redirection, appending to config.log.
|
---|
| 2014 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 2015 | # by configure, so config.status won't be able to write to it; its
|
---|
| 2016 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 2017 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 2018 | # appended to by config.status. When coming back to configure, we
|
---|
| 2019 | # need to make the FD available again.
|
---|
| 2020 | if test "$no_create" != yes; then
|
---|
| 2021 | ac_cs_success=:
|
---|
| 2022 | exec 5>/dev/null
|
---|
| 2023 | $SHELL $CONFIG_STATUS || ac_cs_success=false
|
---|
| 2024 | exec 5>>config.log
|
---|
| 2025 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 2026 | # would make configure fail if this is the last instruction.
|
---|
| 2027 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
| 2028 | fi
|
---|
| 2029 |
|
---|