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