| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
# Generated automatically using autoconf version 2.13 |
| 5 |
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
| 6 |
# |
| 7 |
# This configure script is free software; the Free Software Foundation |
| 8 |
# gives unlimited permission to copy, distribute and modify it. |
| 9 |
|
| 10 |
# Defaults: |
| 11 |
ac_help= |
| 12 |
ac_default_prefix=/usr/local |
| 13 |
# Any additions from configure.in: |
| 14 |
ac_help="$ac_help |
| 15 |
--with-x use the X Window System" |
| 16 |
|
| 17 |
# Initialize some variables set by options. |
| 18 |
# The variables have the same names as the options, with |
| 19 |
# dashes changed to underlines. |
| 20 |
build=NONE |
| 21 |
cache_file=./config.cache |
| 22 |
exec_prefix=NONE |
| 23 |
host=NONE |
| 24 |
no_create= |
| 25 |
nonopt=NONE |
| 26 |
no_recursion= |
| 27 |
prefix=NONE |
| 28 |
program_prefix=NONE |
| 29 |
program_suffix=NONE |
| 30 |
program_transform_name=s,x,x, |
| 31 |
silent= |
| 32 |
site= |
| 33 |
srcdir= |
| 34 |
target=NONE |
| 35 |
verbose= |
| 36 |
x_includes=NONE |
| 37 |
x_libraries=NONE |
| 38 |
bindir='${exec_prefix}/bin' |
| 39 |
sbindir='${exec_prefix}/sbin' |
| 40 |
libexecdir='${exec_prefix}/libexec' |
| 41 |
datadir='${prefix}/share' |
| 42 |
sysconfdir='${prefix}/etc' |
| 43 |
sharedstatedir='${prefix}/com' |
| 44 |
localstatedir='${prefix}/var' |
| 45 |
libdir='${exec_prefix}/lib' |
| 46 |
includedir='${prefix}/include' |
| 47 |
oldincludedir='/usr/include' |
| 48 |
infodir='${prefix}/info' |
| 49 |
mandir='${prefix}/man' |
| 50 |
|
| 51 |
# Initialize some other variables. |
| 52 |
subdirs= |
| 53 |
MFLAGS= MAKEFLAGS= |
| 54 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 55 |
# Maximum number of lines to put in a shell here document. |
| 56 |
ac_max_here_lines=12 |
| 57 |
|
| 58 |
ac_prev= |
| 59 |
for ac_option |
| 60 |
do |
| 61 |
|
| 62 |
# If the previous option needs an argument, assign it. |
| 63 |
if test -n "$ac_prev"; then |
| 64 |
eval "$ac_prev=\$ac_option" |
| 65 |
ac_prev= |
| 66 |
continue |
| 67 |
fi |
| 68 |
|
| 69 |
case "$ac_option" in |
| 70 |
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
| 71 |
*) ac_optarg= ;; |
| 72 |
esac |
| 73 |
|
| 74 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 75 |
|
| 76 |
case "$ac_option" in |
| 77 |
|
| 78 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 79 |
ac_prev=bindir ;; |
| 80 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 81 |
bindir="$ac_optarg" ;; |
| 82 |
|
| 83 |
-build | --build | --buil | --bui | --bu) |
| 84 |
ac_prev=build ;; |
| 85 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 86 |
build="$ac_optarg" ;; |
| 87 |
|
| 88 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 89 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 90 |
ac_prev=cache_file ;; |
| 91 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 92 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 93 |
cache_file="$ac_optarg" ;; |
| 94 |
|
| 95 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| 96 |
ac_prev=datadir ;; |
| 97 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| 98 |
| --da=*) |
| 99 |
datadir="$ac_optarg" ;; |
| 100 |
|
| 101 |
-disable-* | --disable-*) |
| 102 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
| 103 |
# Reject names that are not valid shell variable names. |
| 104 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
| 105 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
| 106 |
fi |
| 107 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
| 108 |
eval "enable_${ac_feature}=no" ;; |
| 109 |
|
| 110 |
-enable-* | --enable-*) |
| 111 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
| 112 |
# Reject names that are not valid shell variable names. |
| 113 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
| 114 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
| 115 |
fi |
| 116 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
| 117 |
case "$ac_option" in |
| 118 |
*=*) ;; |
| 119 |
*) ac_optarg=yes ;; |
| 120 |
esac |
| 121 |
eval "enable_${ac_feature}='$ac_optarg'" ;; |
| 122 |
|
| 123 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 124 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 125 |
| --exec | --exe | --ex) |
| 126 |
ac_prev=exec_prefix ;; |
| 127 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 128 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 129 |
| --exec=* | --exe=* | --ex=*) |
| 130 |
exec_prefix="$ac_optarg" ;; |
| 131 |
|
| 132 |
-gas | --gas | --ga | --g) |
| 133 |
# Obsolete; use --with-gas. |
| 134 |
with_gas=yes ;; |
| 135 |
|
| 136 |
-help | --help | --hel | --he) |
| 137 |
# Omit some internal or obsolete options to make the list less imposing. |
| 138 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 139 |
cat << EOF |
| 140 |
Usage: configure [options] [host] |
| 141 |
Options: [defaults in brackets after descriptions] |
| 142 |
Configuration: |
| 143 |
--cache-file=FILE cache test results in FILE |
| 144 |
--help print this message |
| 145 |
--no-create do not create output files |
| 146 |
--quiet, --silent do not print \`checking...' messages |
| 147 |
--version print the version of autoconf that created configure |
| 148 |
Directory and file names: |
| 149 |
--prefix=PREFIX install architecture-independent files in PREFIX |
| 150 |
[$ac_default_prefix] |
| 151 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 152 |
[same as prefix] |
| 153 |
--bindir=DIR user executables in DIR [EPREFIX/bin] |
| 154 |
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
| 155 |
--libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
| 156 |
--datadir=DIR read-only architecture-independent data in DIR |
| 157 |
[PREFIX/share] |
| 158 |
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
| 159 |
--sharedstatedir=DIR modifiable architecture-independent data in DIR |
| 160 |
[PREFIX/com] |
| 161 |
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
| 162 |
--libdir=DIR object code libraries in DIR [EPREFIX/lib] |
| 163 |
--includedir=DIR C header files in DIR [PREFIX/include] |
| 164 |
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
| 165 |
--infodir=DIR info documentation in DIR [PREFIX/info] |
| 166 |
--mandir=DIR man documentation in DIR [PREFIX/man] |
| 167 |
--srcdir=DIR find the sources in DIR [configure dir or ..] |
| 168 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
| 169 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
| 170 |
--program-transform-name=PROGRAM |
| 171 |
run sed PROGRAM on installed program names |
| 172 |
EOF |
| 173 |
cat << EOF |
| 174 |
Host type: |
| 175 |
--build=BUILD configure for building on BUILD [BUILD=HOST] |
| 176 |
--host=HOST configure for HOST [guessed] |
| 177 |
--target=TARGET configure for TARGET [TARGET=HOST] |
| 178 |
Features and packages: |
| 179 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 180 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 181 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 182 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 183 |
--x-includes=DIR X include files are in DIR |
| 184 |
--x-libraries=DIR X library files are in DIR |
| 185 |
EOF |
| 186 |
if test -n "$ac_help"; then |
| 187 |
echo "--enable and --with options recognized:$ac_help" |
| 188 |
fi |
| 189 |
exit 0 ;; |
| 190 |
|
| 191 |
-host | --host | --hos | --ho) |
| 192 |
ac_prev=host ;; |
| 193 |
-host=* | --host=* | --hos=* | --ho=*) |
| 194 |
host="$ac_optarg" ;; |
| 195 |
|
| 196 |
-includedir | --includedir | --includedi | --included | --include \ |
| 197 |
| --includ | --inclu | --incl | --inc) |
| 198 |
ac_prev=includedir ;; |
| 199 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 200 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
| 201 |
includedir="$ac_optarg" ;; |
| 202 |
|
| 203 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
| 204 |
ac_prev=infodir ;; |
| 205 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 206 |
infodir="$ac_optarg" ;; |
| 207 |
|
| 208 |
-libdir | --libdir | --libdi | --libd) |
| 209 |
ac_prev=libdir ;; |
| 210 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 211 |
libdir="$ac_optarg" ;; |
| 212 |
|
| 213 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 214 |
| --libexe | --libex | --libe) |
| 215 |
ac_prev=libexecdir ;; |
| 216 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 217 |
| --libexe=* | --libex=* | --libe=*) |
| 218 |
libexecdir="$ac_optarg" ;; |
| 219 |
|
| 220 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 221 |
| --localstate | --localstat | --localsta | --localst \ |
| 222 |
| --locals | --local | --loca | --loc | --lo) |
| 223 |
ac_prev=localstatedir ;; |
| 224 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 225 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| 226 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| 227 |
localstatedir="$ac_optarg" ;; |
| 228 |
|
| 229 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 230 |
ac_prev=mandir ;; |
| 231 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 232 |
mandir="$ac_optarg" ;; |
| 233 |
|
| 234 |
-nfp | --nfp | --nf) |
| 235 |
# Obsolete; use --without-fp. |
| 236 |
with_fp=no ;; |
| 237 |
|
| 238 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 239 |
| --no-cr | --no-c) |
| 240 |
no_create=yes ;; |
| 241 |
|
| 242 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 243 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 244 |
no_recursion=yes ;; |
| 245 |
|
| 246 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 247 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 248 |
| --oldin | --oldi | --old | --ol | --o) |
| 249 |
ac_prev=oldincludedir ;; |
| 250 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 251 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 252 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 253 |
oldincludedir="$ac_optarg" ;; |
| 254 |
|
| 255 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 256 |
ac_prev=prefix ;; |
| 257 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 258 |
prefix="$ac_optarg" ;; |
| 259 |
|
| 260 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 261 |
| --program-pre | --program-pr | --program-p) |
| 262 |
ac_prev=program_prefix ;; |
| 263 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 264 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 265 |
program_prefix="$ac_optarg" ;; |
| 266 |
|
| 267 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 268 |
| --program-suf | --program-su | --program-s) |
| 269 |
ac_prev=program_suffix ;; |
| 270 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 271 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 272 |
program_suffix="$ac_optarg" ;; |
| 273 |
|
| 274 |
-program-transform-name | --program-transform-name \ |
| 275 |
| --program-transform-nam | --program-transform-na \ |
| 276 |
| --program-transform-n | --program-transform- \ |
| 277 |
| --program-transform | --program-transfor \ |
| 278 |
| --program-transfo | --program-transf \ |
| 279 |
| --program-trans | --program-tran \ |
| 280 |
| --progr-tra | --program-tr | --program-t) |
| 281 |
ac_prev=program_transform_name ;; |
| 282 |
-program-transform-name=* | --program-transform-name=* \ |
| 283 |
| --program-transform-nam=* | --program-transform-na=* \ |
| 284 |
| --program-transform-n=* | --program-transform-=* \ |
| 285 |
| --program-transform=* | --program-transfor=* \ |
| 286 |
| --program-transfo=* | --program-transf=* \ |
| 287 |
| --program-trans=* | --program-tran=* \ |
| 288 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
| 289 |
program_transform_name="$ac_optarg" ;; |
| 290 |
|
| 291 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 292 |
| -silent | --silent | --silen | --sile | --sil) |
| 293 |
silent=yes ;; |
| 294 |
|
| 295 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 296 |
ac_prev=sbindir ;; |
| 297 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 298 |
| --sbi=* | --sb=*) |
| 299 |
sbindir="$ac_optarg" ;; |
| 300 |
|
| 301 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 302 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 303 |
| --sharedst | --shareds | --shared | --share | --shar \ |
| 304 |
| --sha | --sh) |
| 305 |
ac_prev=sharedstatedir ;; |
| 306 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 307 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 308 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 309 |
| --sha=* | --sh=*) |
| 310 |
sharedstatedir="$ac_optarg" ;; |
| 311 |
|
| 312 |
-site | --site | --sit) |
| 313 |
ac_prev=site ;; |
| 314 |
-site=* | --site=* | --sit=*) |
| 315 |
site="$ac_optarg" ;; |
| 316 |
|
| 317 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 318 |
ac_prev=srcdir ;; |
| 319 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 320 |
srcdir="$ac_optarg" ;; |
| 321 |
|
| 322 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 323 |
| --syscon | --sysco | --sysc | --sys | --sy) |
| 324 |
ac_prev=sysconfdir ;; |
| 325 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 326 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 327 |
sysconfdir="$ac_optarg" ;; |
| 328 |
|
| 329 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
| 330 |
ac_prev=target ;; |
| 331 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 332 |
target="$ac_optarg" ;; |
| 333 |
|
| 334 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 335 |
verbose=yes ;; |
| 336 |
|
| 337 |
-version | --version | --versio | --versi | --vers) |
| 338 |
echo "configure generated by autoconf version 2.13" |
| 339 |
exit 0 ;; |
| 340 |
|
| 341 |
-with-* | --with-*) |
| 342 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
| 343 |
# Reject names that are not valid shell variable names. |
| 344 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
| 345 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
| 346 |
fi |
| 347 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 348 |
case "$ac_option" in |
| 349 |
*=*) ;; |
| 350 |
*) ac_optarg=yes ;; |
| 351 |
esac |
| 352 |
eval "with_${ac_package}='$ac_optarg'" ;; |
| 353 |
|
| 354 |
-without-* | --without-*) |
| 355 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
| 356 |
# Reject names that are not valid shell variable names. |
| 357 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
| 358 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
| 359 |
fi |
| 360 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
| 361 |
eval "with_${ac_package}=no" ;; |
| 362 |
|
| 363 |
--x) |
| 364 |
# Obsolete; use --with-x. |
| 365 |
with_x=yes ;; |
| 366 |
|
| 367 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 368 |
| --x-incl | --x-inc | --x-in | --x-i) |
| 369 |
ac_prev=x_includes ;; |
| 370 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 371 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 372 |
x_includes="$ac_optarg" ;; |
| 373 |
|
| 374 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 375 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 376 |
ac_prev=x_libraries ;; |
| 377 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 378 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 379 |
x_libraries="$ac_optarg" ;; |
| 380 |
|
| 381 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
| 382 |
;; |
| 383 |
|
| 384 |
*) |
| 385 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
| 386 |
echo "configure: warning: $ac_option: invalid host type" 1>&2 |
| 387 |
fi |
| 388 |
if test "x$nonopt" != xNONE; then |
| 389 |
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
| 390 |
fi |
| 391 |
nonopt="$ac_option" |
| 392 |
;; |
| 393 |
|
| 394 |
esac |
| 395 |
done |
| 396 |
|
| 397 |
if test -n "$ac_prev"; then |
| 398 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
| 399 |
fi |
| 400 |
|
| 401 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
| 402 |
|
| 403 |
# File descriptor usage: |
| 404 |
# 0 standard input |
| 405 |
# 1 file creation |
| 406 |
# 2 errors and warnings |
| 407 |
# 3 some systems may open it to /dev/tty |
| 408 |
# 4 used on the Kubota Titan |
| 409 |
# 6 checking for... messages and results |
| 410 |
# 5 compiler messages saved in config.log |
| 411 |
if test "$silent" = yes; then |
| 412 |
exec 6>/dev/null |
| 413 |
else |
| 414 |
exec 6>&1 |
| 415 |
fi |
| 416 |
exec 5>./config.log |
| 417 |
|
| 418 |
echo "\ |
| 419 |
This file contains any messages produced by compilers while |
| 420 |
running configure, to aid debugging if configure makes a mistake. |
| 421 |
" 1>&5 |
| 422 |
|
| 423 |
# Strip out --no-create and --no-recursion so they do not pile up. |
| 424 |
# Also quote any args containing shell metacharacters. |
| 425 |
ac_configure_args= |
| 426 |
for ac_arg |
| 427 |
do |
| 428 |
case "$ac_arg" in |
| 429 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 430 |
| --no-cr | --no-c) ;; |
| 431 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 432 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
| 433 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
| 434 |
ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
| 435 |
*) ac_configure_args="$ac_configure_args $ac_arg" ;; |
| 436 |
esac |
| 437 |
done |
| 438 |
|
| 439 |
# NLS nuisances. |
| 440 |
# Only set these to C if already set. These must not be set unconditionally |
| 441 |
# because not all systems understand e.g. LANG=C (notably SCO). |
| 442 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
| 443 |
# Non-C LC_CTYPE values break the ctype check. |
| 444 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
| 445 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
| 446 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
| 447 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
| 448 |
|
| 449 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 450 |
rm -rf conftest* confdefs.h |
| 451 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 452 |
echo > confdefs.h |
| 453 |
|
| 454 |
# A filename unique to this package, relative to the directory that |
| 455 |
# configure is in, which we can look for to find out if srcdir is correct. |
| 456 |
ac_unique_file=Wnn/conv/cvt_head.h |
| 457 |
|
| 458 |
# Find the source files, if location was not specified. |
| 459 |
if test -z "$srcdir"; then |
| 460 |
ac_srcdir_defaulted=yes |
| 461 |
# Try the directory containing this script, then its parent. |
| 462 |
ac_prog=$0 |
| 463 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
| 464 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
| 465 |
srcdir=$ac_confdir |
| 466 |
if test ! -r $srcdir/$ac_unique_file; then |
| 467 |
srcdir=.. |
| 468 |
fi |
| 469 |
else |
| 470 |
ac_srcdir_defaulted=no |
| 471 |
fi |
| 472 |
if test ! -r $srcdir/$ac_unique_file; then |
| 473 |
if test "$ac_srcdir_defaulted" = yes; then |
| 474 |
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
| 475 |
else |
| 476 |
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
| 477 |
fi |
| 478 |
fi |
| 479 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
| 480 |
|
| 481 |
# Prefer explicitly selected file to automatically selected ones. |
| 482 |
if test -z "$CONFIG_SITE"; then |
| 483 |
if test "x$prefix" != xNONE; then |
| 484 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| 485 |
else |
| 486 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 487 |
fi |
| 488 |
fi |
| 489 |
for ac_site_file in $CONFIG_SITE; do |
| 490 |
if test -r "$ac_site_file"; then |
| 491 |
echo "loading site script $ac_site_file" |
| 492 |
. "$ac_site_file" |
| 493 |
fi |
| 494 |
done |
| 495 |
|
| 496 |
if test -r "$cache_file"; then |
| 497 |
echo "loading cache $cache_file" |
| 498 |
. $cache_file |
| 499 |
else |
| 500 |
echo "creating cache $cache_file" |
| 501 |
> $cache_file |
| 502 |
fi |
| 503 |
|
| 504 |
ac_ext=c |
| 505 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 506 |
ac_cpp='$CPP $CPPFLAGS' |
| 507 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 508 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 509 |
cross_compiling=$ac_cv_prog_cc_cross |
| 510 |
|
| 511 |
ac_exeext= |
| 512 |
ac_objext=o |
| 513 |
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
| 514 |
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
| 515 |
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
| 516 |
ac_n= ac_c=' |
| 517 |
' ac_t=' ' |
| 518 |
else |
| 519 |
ac_n=-n ac_c= ac_t= |
| 520 |
fi |
| 521 |
else |
| 522 |
ac_n= ac_c='\c' ac_t= |
| 523 |
fi |
| 524 |
|
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
case "$top_srcdir" in |
| 529 |
.) abs_top_srcdir=`pwd` ;; |
| 530 |
/*) abs_top_srcdir=top_srcdir;; |
| 531 |
*) # Relative path. |
| 532 |
abs_top_srcdir=`pwd`$ac_dots$ac_given_srcdir ;; |
| 533 |
esac |
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
# Extract the first word of "gcc", so it can be a program name with args. |
| 539 |
set dummy gcc; ac_word=$2 |
| 540 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 541 |
echo "configure:542: checking for $ac_word" >&5 |
| 542 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 543 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 544 |
else |
| 545 |
if test -n "$CC"; then |
| 546 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 547 |
else |
| 548 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 549 |
ac_dummy="$PATH" |
| 550 |
for ac_dir in $ac_dummy; do |
| 551 |
test -z "$ac_dir" && ac_dir=. |
| 552 |
if test -f $ac_dir/$ac_word; then |
| 553 |
ac_cv_prog_CC="gcc" |
| 554 |
break |
| 555 |
fi |
| 556 |
done |
| 557 |
IFS="$ac_save_ifs" |
| 558 |
fi |
| 559 |
fi |
| 560 |
CC="$ac_cv_prog_CC" |
| 561 |
if test -n "$CC"; then |
| 562 |
echo "$ac_t""$CC" 1>&6 |
| 563 |
else |
| 564 |
echo "$ac_t""no" 1>&6 |
| 565 |
fi |
| 566 |
|
| 567 |
if test -z "$CC"; then |
| 568 |
# Extract the first word of "cc", so it can be a program name with args. |
| 569 |
set dummy cc; ac_word=$2 |
| 570 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 571 |
echo "configure:572: checking for $ac_word" >&5 |
| 572 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 573 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 574 |
else |
| 575 |
if test -n "$CC"; then |
| 576 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 577 |
else |
| 578 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 579 |
ac_prog_rejected=no |
| 580 |
ac_dummy="$PATH" |
| 581 |
for ac_dir in $ac_dummy; do |
| 582 |
test -z "$ac_dir" && ac_dir=. |
| 583 |
if test -f $ac_dir/$ac_word; then |
| 584 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 585 |
ac_prog_rejected=yes |
| 586 |
continue |
| 587 |
fi |
| 588 |
ac_cv_prog_CC="cc" |
| 589 |
break |
| 590 |
fi |
| 591 |
done |
| 592 |
IFS="$ac_save_ifs" |
| 593 |
if test $ac_prog_rejected = yes; then |
| 594 |
# We found a bogon in the path, so make sure we never use it. |
| 595 |
set dummy $ac_cv_prog_CC |
| 596 |
shift |
| 597 |
if test $# -gt 0; then |
| 598 |
# We chose a different compiler from the bogus one. |
| 599 |
# However, it has the same basename, so the bogon will be chosen |
| 600 |
# first if we set CC to just the basename; use the full file name. |
| 601 |
shift |
| 602 |
set dummy "$ac_dir/$ac_word" "$@" |
| 603 |
shift |
| 604 |
ac_cv_prog_CC="$@" |
| 605 |
fi |
| 606 |
fi |
| 607 |
fi |
| 608 |
fi |
| 609 |
CC="$ac_cv_prog_CC" |
| 610 |
if test -n "$CC"; then |
| 611 |
echo "$ac_t""$CC" 1>&6 |
| 612 |
else |
| 613 |
echo "$ac_t""no" 1>&6 |
| 614 |
fi |
| 615 |
|
| 616 |
if test -z "$CC"; then |
| 617 |
case "`uname -s`" in |
| 618 |
*win32* | *WIN32*) |
| 619 |
# Extract the first word of "cl", so it can be a program name with args. |
| 620 |
set dummy cl; ac_word=$2 |
| 621 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 622 |
echo "configure:623: checking for $ac_word" >&5 |
| 623 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 624 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 625 |
else |
| 626 |
if test -n "$CC"; then |
| 627 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 628 |
else |
| 629 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 630 |
ac_dummy="$PATH" |
| 631 |
for ac_dir in $ac_dummy; do |
| 632 |
test -z "$ac_dir" && ac_dir=. |
| 633 |
if test -f $ac_dir/$ac_word; then |
| 634 |
ac_cv_prog_CC="cl" |
| 635 |
break |
| 636 |
fi |
| 637 |
done |
| 638 |
IFS="$ac_save_ifs" |
| 639 |
fi |
| 640 |
fi |
| 641 |
CC="$ac_cv_prog_CC" |
| 642 |
if test -n "$CC"; then |
| 643 |
echo "$ac_t""$CC" 1>&6 |
| 644 |
else |
| 645 |
echo "$ac_t""no" 1>&6 |
| 646 |
fi |
| 647 |
;; |
| 648 |
esac |
| 649 |
fi |
| 650 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 651 |
fi |
| 652 |
|
| 653 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 654 |
echo "configure:655: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 655 |
|
| 656 |
ac_ext=c |
| 657 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 658 |
ac_cpp='$CPP $CPPFLAGS' |
| 659 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 660 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 661 |
cross_compiling=$ac_cv_prog_cc_cross |
| 662 |
|
| 663 |
cat > conftest.$ac_ext << EOF |
| 664 |
|
| 665 |
#line 666 "configure" |
| 666 |
#include "confdefs.h" |
| 667 |
|
| 668 |
main(){return(0);} |
| 669 |
EOF |
| 670 |
if { (eval echo configure:671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 671 |
ac_cv_prog_cc_works=yes |
| 672 |
# If we can't run a trivial program, we are probably using a cross compiler. |
| 673 |
if (./conftest; exit) 2>/dev/null; then |
| 674 |
ac_cv_prog_cc_cross=no |
| 675 |
else |
| 676 |
ac_cv_prog_cc_cross=yes |
| 677 |
fi |
| 678 |
else |
| 679 |
echo "configure: failed program was:" >&5 |
| 680 |
cat conftest.$ac_ext >&5 |
| 681 |
ac_cv_prog_cc_works=no |
| 682 |
fi |
| 683 |
rm -fr conftest* |
| 684 |
ac_ext=c |
| 685 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 686 |
ac_cpp='$CPP $CPPFLAGS' |
| 687 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 688 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 689 |
cross_compiling=$ac_cv_prog_cc_cross |
| 690 |
|
| 691 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 692 |
if test $ac_cv_prog_cc_works = no; then |
| 693 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 694 |
fi |
| 695 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 696 |
echo "configure:697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 697 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 698 |
cross_compiling=$ac_cv_prog_cc_cross |
| 699 |
|
| 700 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 701 |
echo "configure:702: checking whether we are using GNU C" >&5 |
| 702 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 703 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 704 |
else |
| 705 |
cat > conftest.c <<EOF |
| 706 |
#ifdef __GNUC__ |
| 707 |
yes; |
| 708 |
#endif |
| 709 |
EOF |
| 710 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 711 |
ac_cv_prog_gcc=yes |
| 712 |
else |
| 713 |
ac_cv_prog_gcc=no |
| 714 |
fi |
| 715 |
fi |
| 716 |
|
| 717 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 718 |
|
| 719 |
if test $ac_cv_prog_gcc = yes; then |
| 720 |
GCC=yes |
| 721 |
else |
| 722 |
GCC= |
| 723 |
fi |
| 724 |
|
| 725 |
ac_test_CFLAGS="${CFLAGS+set}" |
| 726 |
ac_save_CFLAGS="$CFLAGS" |
| 727 |
CFLAGS= |
| 728 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 729 |
echo "configure:730: checking whether ${CC-cc} accepts -g" >&5 |
| 730 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 731 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 732 |
else |
| 733 |
echo 'void f(){}' > conftest.c |
| 734 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 735 |
ac_cv_prog_cc_g=yes |
| 736 |
else |
| 737 |
ac_cv_prog_cc_g=no |
| 738 |
fi |
| 739 |
rm -f conftest* |
| 740 |
|
| 741 |
fi |
| 742 |
|
| 743 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 744 |
if test "$ac_test_CFLAGS" = set; then |
| 745 |
CFLAGS="$ac_save_CFLAGS" |
| 746 |
elif test $ac_cv_prog_cc_g = yes; then |
| 747 |
if test "$GCC" = yes; then |
| 748 |
CFLAGS="-g -O2" |
| 749 |
else |
| 750 |
CFLAGS="-g" |
| 751 |
fi |
| 752 |
else |
| 753 |
if test "$GCC" = yes; then |
| 754 |
CFLAGS="-O2" |
| 755 |
else |
| 756 |
CFLAGS= |
| 757 |
fi |
| 758 |
fi |
| 759 |
|
| 760 |
echo $ac_n "checking for cpp""... $ac_c" 1>&6 |
| 761 |
echo "configure:762: checking for cpp" >&5 |
| 762 |
hosttype=`uname` |
| 763 |
CCOPTIONS="" |
| 764 |
CDEBUGFLAGS=-O |
| 765 |
case $hosttype in |
| 766 |
"Linux") |
| 767 |
CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE" |
| 768 |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
| 769 |
if test -x /lib/cpp; then |
| 770 |
CPP=/lib/cpp |
| 771 |
fi |
| 772 |
;; |
| 773 |
"FreeBSD"|"NetBSD"|"OpenBSD") |
| 774 |
CCOPTIONS="-DCSRG_BASED" |
| 775 |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
| 776 |
if test -x /usr/libexec/cpp; then |
| 777 |
CPP=/usr/libexec/cpp |
| 778 |
fi |
| 779 |
;; |
| 780 |
"BSD/OS") |
| 781 |
CCOPTIONS="-DCSRG_BASED" |
| 782 |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
| 783 |
if test -x /usr/bin/cpp; then |
| 784 |
CPP=/usr/bin/cpp |
| 785 |
fi |
| 786 |
;; |
| 787 |
"SunOS") |
| 788 |
case `uname -r` in |
| 789 |
4.*) |
| 790 |
if test $CC = gcc; then |
| 791 |
CDEBUGFLAGS=-O2 |
| 792 |
CCOPTIONS="-Dsun -Dsparc" |
| 793 |
else |
| 794 |
CDEBUGFLAGS=-O4 |
| 795 |
CCOPTIONS="" |
| 796 |
fi |
| 797 |
CPP=/usr/lib/cpp |
| 798 |
;; |
| 799 |
5.*) |
| 800 |
if test $CC = gcc; then |
| 801 |
CDEBUGFLAGS=-O2 |
| 802 |
CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV" |
| 803 |
else |
| 804 |
CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV" |
| 805 |
fi |
| 806 |
if test -x /usr/ccs/lib/cpp; then |
| 807 |
CPP=/usr/ccs/lib/cpp |
| 808 |
fi |
| 809 |
;; |
| 810 |
*) |
| 811 |
echo "configure: warning: "This system is not supported. But continuing..."" 1>&2 |
| 812 |
;; |
| 813 |
esac |
| 814 |
;; |
| 815 |
"HP-UX") |
| 816 |
if test $CC = gcc; then |
| 817 |
CDEBUGFLAGS=-O2 |
| 818 |
CCOPTIONS="-Dhpux -DSYSV" |
| 819 |
else |
| 820 |
CCOPTIONS="-Ae -Dhpux -DSYSV" |
| 821 |
fi |
| 822 |
case `uname -r` in |
| 823 |
A.09.*) |
| 824 |
if test -x /lib/cpp; then |
| 825 |
CPP=/lib/cpp |
| 826 |
fi |
| 827 |
;; |
| 828 |
B.10.*|B.11.*) |
| 829 |
if test -x /opt/langtools/lbin/cpp; then |
| 830 |
CPP=/opt/langtools/lbin/cpp |
| 831 |
fi |
| 832 |
;; |
| 833 |
*) |
| 834 |
echo "configure: warning: "This system is not supported. But continuing..."" 1>&2 |
| 835 |
;; |
| 836 |
esac |
| 837 |
;; |
| 838 |
"BeOS") |
| 839 |
case `uname -m` in |
| 840 |
"BePC") |
| 841 |
CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE" |
| 842 |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
| 843 |
if test -x /boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp; then |
| 844 |
CPP=/boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp |
| 845 |
fi |
| 846 |
;; |
| 847 |
"BeBox"|"BeMac") |
| 848 |
CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE" |
| 849 |
NON_GNU_CPP=/boot/apps/GeekGadgets/bin/cpp |
| 850 |
;; |
| 851 |
*) |
| 852 |
{ echo "configure: error: "This system is not supported."" 1>&2; exit 1; } |
| 853 |
;; |
| 854 |
esac |
| 855 |
;; |
| 856 |
"AIX") |
| 857 |
if test $CC = gcc; then |
| 858 |
CDEBUGFLAGS=-O2 |
| 859 |
else |
| 860 |
CDEBUGFLAGS=-O |
| 861 |
fi |
| 862 |
CCOPTIONS="-DSYSV" |
| 863 |
CPP=/usr/lib/cpp |
| 864 |
;; |
| 865 |
*) |
| 866 |
echo "configure: warning: "This system is not supported. But continuing..."" 1>&2 |
| 867 |
;; |
| 868 |
esac |
| 869 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 870 |
echo "configure:871: checking how to run the C preprocessor" >&5 |
| 871 |
# On Suns, sometimes $CPP names a directory. |
| 872 |
if test -n "$CPP" && test -d "$CPP"; then |
| 873 |
CPP= |
| 874 |
fi |
| 875 |
if test -z "$CPP"; then |
| 876 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
| 877 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 878 |
else |
| 879 |
# This must be in double quotes, not single quotes, because CPP may get |
| 880 |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
| 881 |
CPP="${CC-cc} -E" |
| 882 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 883 |
# not just through cpp. |
| 884 |
cat > conftest.$ac_ext <<EOF |
| 885 |
#line 886 "configure" |
| 886 |
#include "confdefs.h" |
| 887 |
#include <assert.h> |
| 888 |
Syntax Error |
| 889 |
EOF |
| 890 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 891 |
{ (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 892 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 893 |
if test -z "$ac_err"; then |
| 894 |
: |
| 895 |
else |
| 896 |
echo "$ac_err" >&5 |
| 897 |
echo "configure: failed program was:" >&5 |
| 898 |
cat conftest.$ac_ext >&5 |
| 899 |
rm -rf conftest* |
| 900 |
CPP="${CC-cc} -E -traditional-cpp" |
| 901 |
cat > conftest.$ac_ext <<EOF |
| 902 |
#line 903 "configure" |
| 903 |
#include "confdefs.h" |
| 904 |
#include <assert.h> |
| 905 |
Syntax Error |
| 906 |
EOF |
| 907 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 908 |
{ (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 909 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 910 |
if test -z "$ac_err"; then |
| 911 |
: |
| 912 |
else |
| 913 |
echo "$ac_err" >&5 |
| 914 |
echo "configure: failed program was:" >&5 |
| 915 |
cat conftest.$ac_ext >&5 |
| 916 |
rm -rf conftest* |
| 917 |
CPP="${CC-cc} -nologo -E" |
| 918 |
cat > conftest.$ac_ext <<EOF |
| 919 |
#line 920 "configure" |
| 920 |
#include "confdefs.h" |
| 921 |
#include <assert.h> |
| 922 |
Syntax Error |
| 923 |
EOF |
| 924 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 925 |
{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 926 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 927 |
if test -z "$ac_err"; then |
| 928 |
: |
| 929 |
else |
| 930 |
echo "$ac_err" >&5 |
| 931 |
echo "configure: failed program was:" >&5 |
| 932 |
cat conftest.$ac_ext >&5 |
| 933 |
rm -rf conftest* |
| 934 |
CPP=/lib/cpp |
| 935 |
fi |
| 936 |
rm -f conftest* |
| 937 |
fi |
| 938 |
rm -f conftest* |
| 939 |
fi |
| 940 |
rm -f conftest* |
| 941 |
ac_cv_prog_CPP="$CPP" |
| 942 |
fi |
| 943 |
CPP="$ac_cv_prog_CPP" |
| 944 |
else |
| 945 |
ac_cv_prog_CPP="$CPP" |
| 946 |
fi |
| 947 |
echo "$ac_t""$CPP" 1>&6 |
| 948 |
|
| 949 |
|
| 950 |
ac_aux_dir= |
| 951 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| 952 |
if test -f $ac_dir/install-sh; then |
| 953 |
ac_aux_dir=$ac_dir |
| 954 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 955 |
break |
| 956 |
elif test -f $ac_dir/install.sh; then |
| 957 |
ac_aux_dir=$ac_dir |
| 958 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 959 |
break |
| 960 |
fi |
| 961 |
done |
| 962 |
if test -z "$ac_aux_dir"; then |
| 963 |
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
| 964 |
fi |
| 965 |
ac_config_guess=$ac_aux_dir/config.guess |
| 966 |
ac_config_sub=$ac_aux_dir/config.sub |
| 967 |
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
| 968 |
|
| 969 |
# Find a good install program. We prefer a C program (faster), |
| 970 |
# so one script is as good as another. But avoid the broken or |
| 971 |
# incompatible versions: |
| 972 |
# SysV /etc/install, /usr/sbin/install |
| 973 |
# SunOS /usr/etc/install |
| 974 |
# IRIX /sbin/install |
| 975 |
# AIX /bin/install |
| 976 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 977 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 978 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 979 |
# ./install, which can be erroneously created by make from ./install.sh. |
| 980 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 981 |
echo "configure:982: checking for a BSD compatible install" >&5 |
| 982 |
if test -z "$INSTALL"; then |
| 983 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 984 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 985 |
else |
| 986 |
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 987 |
for ac_dir in $PATH; do |
| 988 |
# Account for people who put trailing slashes in PATH elements. |
| 989 |
case "$ac_dir/" in |
| 990 |
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
| 991 |
*) |
| 992 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 993 |
# Don't use installbsd from OSF since it installs stuff as root |
| 994 |
# by default. |
| 995 |
for ac_prog in ginstall scoinst install; do |
| 996 |
if test -f $ac_dir/$ac_prog; then |
| 997 |
if test $ac_prog = install && |
| 998 |
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
| 999 |
# AIX install. It has an incompatible calling convention. |
| 1000 |
: |
| 1001 |
else |
| 1002 |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
| 1003 |
break 2 |
| 1004 |
fi |
| 1005 |
fi |
| 1006 |
done |
| 1007 |
;; |
| 1008 |
esac |
| 1009 |
done |
| 1010 |
IFS="$ac_save_IFS" |
| 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 "$ac_t""$INSTALL" 1>&6 |
| 1024 |
|
| 1025 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 1026 |
# It thinks the first close brace ends the variable substitution. |
| 1027 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 1028 |
|
| 1029 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| 1030 |
|
| 1031 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1032 |
|
| 1033 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 1034 |
echo "configure:1035: checking whether ln -s works" >&5 |
| 1035 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| 1036 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1037 |
else |
| 1038 |
rm -f conftestdata |
| 1039 |
if ln -s X conftestdata 2>/dev/null |
| 1040 |
then |
| 1041 |
rm -f conftestdata |
| 1042 |
ac_cv_prog_LN_S="ln -s" |
| 1043 |
else |
| 1044 |
ac_cv_prog_LN_S=ln |
| 1045 |
fi |
| 1046 |
fi |
| 1047 |
LN_S="$ac_cv_prog_LN_S" |
| 1048 |
if test "$ac_cv_prog_LN_S" = "ln -s"; then |
| 1049 |
echo "$ac_t""yes" 1>&6 |
| 1050 |
else |
| 1051 |
echo "$ac_t""no" 1>&6 |
| 1052 |
fi |
| 1053 |
|
| 1054 |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 1055 |
echo "configure:1056: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 1056 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 1057 |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 1058 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1059 |
else |
| 1060 |
cat > conftestmake <<\EOF |
| 1061 |
all: |
| 1062 |
@echo 'ac_maketemp="${MAKE}"' |
| 1063 |
EOF |
| 1064 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 1065 |
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
| 1066 |
if test -n "$ac_maketemp"; then |
| 1067 |
eval ac_cv_prog_make_${ac_make}_set=yes |
| 1068 |
else |
| 1069 |
eval ac_cv_prog_make_${ac_make}_set=no |
| 1070 |
fi |
| 1071 |
rm -f conftestmake |
| 1072 |
fi |
| 1073 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| 1074 |
echo "$ac_t""yes" 1>&6 |
| 1075 |
SET_MAKE= |
| 1076 |
else |
| 1077 |
echo "$ac_t""no" 1>&6 |
| 1078 |
SET_MAKE="MAKE=${MAKE-make}" |
| 1079 |
fi |
| 1080 |
|
| 1081 |
# Extract the first word of "ranlib", so it can be a program name with args. |
| 1082 |
set dummy ranlib; ac_word=$2 |
| 1083 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1084 |
echo "configure:1085: checking for $ac_word" >&5 |
| 1085 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| 1086 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1087 |
else |
| 1088 |
if test -n "$RANLIB"; then |
| 1089 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 1090 |
else |
| 1091 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1092 |
ac_dummy="$PATH" |
| 1093 |
for ac_dir in $ac_dummy; do |
| 1094 |
test -z "$ac_dir" && ac_dir=. |
| 1095 |
if test -f $ac_dir/$ac_word; then |
| 1096 |
ac_cv_prog_RANLIB="ranlib" |
| 1097 |
break |
| 1098 |
fi |
| 1099 |
done |
| 1100 |
IFS="$ac_save_ifs" |
| 1101 |
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
| 1102 |
fi |
| 1103 |
fi |
| 1104 |
RANLIB="$ac_cv_prog_RANLIB" |
| 1105 |
if test -n "$RANLIB"; then |
| 1106 |
echo "$ac_t""$RANLIB" 1>&6 |
| 1107 |
else |
| 1108 |
echo "$ac_t""no" 1>&6 |
| 1109 |
fi |
| 1110 |
|
| 1111 |
|
| 1112 |
|
| 1113 |
|
| 1114 |
|
| 1115 |
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 1116 |
echo "configure:1117: checking for crypt in -lcrypt" >&5 |
| 1117 |
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 1118 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1119 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1120 |
else |
| 1121 |
ac_save_LIBS="$LIBS" |
| 1122 |
LIBS="-lcrypt $LIBS" |
| 1123 |
cat > conftest.$ac_ext <<EOF |
| 1124 |
#line 1125 "configure" |
| 1125 |
#include "confdefs.h" |
| 1126 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 1127 |
/* We use char because int might match the return type of a gcc2 |
| 1128 |
builtin and then its argument prototype would still apply. */ |
| 1129 |
char crypt(); |
| 1130 |
|
| 1131 |
int main() { |
| 1132 |
crypt() |
| 1133 |
; return 0; } |
| 1134 |
EOF |
| 1135 |
if { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1136 |
rm -rf conftest* |
| 1137 |
eval "ac_cv_lib_$ac_lib_var=yes" |
| 1138 |
else |
| 1139 |
echo "configure: failed program was:" >&5 |
| 1140 |
cat conftest.$ac_ext >&5 |
| 1141 |
rm -rf conftest* |
| 1142 |
eval "ac_cv_lib_$ac_lib_var=no" |
| 1143 |
fi |
| 1144 |
rm -f conftest* |
| 1145 |
LIBS="$ac_save_LIBS" |
| 1146 |
|
| 1147 |
fi |
| 1148 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| 1149 |
echo "$ac_t""yes" 1>&6 |
| 1150 |
ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| 1151 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| 1152 |
cat >> confdefs.h <<EOF |
| 1153 |
#define $ac_tr_lib 1 |
| 1154 |
EOF |
| 1155 |
|
| 1156 |
LIBS="-lcrypt $LIBS" |
| 1157 |
|
| 1158 |
else |
| 1159 |
echo "$ac_t""no" 1>&6 |
| 1160 |
fi |
| 1161 |
|
| 1162 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
| 1163 |
echo "configure:1164: checking for connect in -lsocket" >&5 |
| 1164 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 1165 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1166 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1167 |
else |
| 1168 |
ac_save_LIBS="$LIBS" |
| 1169 |
LIBS="-lsocket $LIBS" |
| 1170 |
cat > conftest.$ac_ext <<EOF |
| 1171 |
#line 1172 "configure" |
| 1172 |
#include "confdefs.h" |
| 1173 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 1174 |
/* We use char because int might match the return type of a gcc2 |
| 1175 |
builtin and then its argument prototype would still apply. */ |
| 1176 |
char connect(); |
| 1177 |
|
| 1178 |
int main() { |
| 1179 |
connect() |
| 1180 |
; return 0; } |
| 1181 |
EOF |
| 1182 |
if { (eval echo configure:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1183 |
rm -rf conftest* |
| 1184 |
eval "ac_cv_lib_$ac_lib_var=yes" |
| 1185 |
else |
| 1186 |
echo "configure: failed program was:" >&5 |
| 1187 |
cat conftest.$ac_ext >&5 |
| 1188 |
rm -rf conftest* |
| 1189 |
eval "ac_cv_lib_$ac_lib_var=no" |
| 1190 |
fi |
| 1191 |
rm -f conftest* |
| 1192 |
LIBS="$ac_save_LIBS" |
| 1193 |
|
| 1194 |
fi |
| 1195 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| 1196 |
echo "$ac_t""yes" 1>&6 |
| 1197 |
ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| 1198 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| 1199 |
cat >> confdefs.h <<EOF |
| 1200 |
#define $ac_tr_lib 1 |
| 1201 |
EOF |
| 1202 |
|
| 1203 |
LIBS="-lsocket $LIBS" |
| 1204 |
|
| 1205 |
else |
| 1206 |
echo "$ac_t""no" 1>&6 |
| 1207 |
fi |
| 1208 |
|
| 1209 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 1210 |
echo "configure:1211: checking for gethostbyname in -lnsl" >&5 |
| 1211 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 1212 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1213 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1214 |
else |
| 1215 |
ac_save_LIBS="$LIBS" |
| 1216 |
LIBS="-lnsl $LIBS" |
| 1217 |
cat > conftest.$ac_ext <<EOF |
| 1218 |
#line 1219 "configure" |
| 1219 |
#include "confdefs.h" |
| 1220 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 1221 |
/* We use char because int might match the return type of a gcc2 |
| 1222 |
builtin and then its argument prototype would still apply. */ |
| 1223 |
char gethostbyname(); |
| 1224 |
|
| 1225 |
int main() { |
| 1226 |
gethostbyname() |
| 1227 |
; return 0; } |
| 1228 |
EOF |
| 1229 |
if { (eval echo configure:1230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1230 |
rm -rf conftest* |
| 1231 |
eval "ac_cv_lib_$ac_lib_var=yes" |
| 1232 |
else |
| 1233 |
echo "configure: failed program was:" >&5 |
| 1234 |
cat conftest.$ac_ext >&5 |
| 1235 |
rm -rf conftest* |
| 1236 |
eval "ac_cv_lib_$ac_lib_var=no" |
| 1237 |
fi |
| 1238 |
rm -f conftest* |
| 1239 |
LIBS="$ac_save_LIBS" |
| 1240 |
|
| 1241 |
fi |
| 1242 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| 1243 |
echo "$ac_t""yes" 1>&6 |
| 1244 |
ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
| 1245 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
| 1246 |
cat >> confdefs.h <<EOF |
| 1247 |
#define $ac_tr_lib 1 |
| 1248 |
EOF |
| 1249 |
|
| 1250 |
LIBS="-lnsl $LIBS" |
| 1251 |
|
| 1252 |
else |
| 1253 |
echo "$ac_t""no" 1>&6 |
| 1254 |
fi |
| 1255 |
|
| 1256 |
|
| 1257 |
# If we find X, set shell vars x_includes and x_libraries to the |
| 1258 |
# paths, otherwise set no_x=yes. |
| 1259 |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
| 1260 |
# --without-x overrides everything else, but does not touch the cache. |
| 1261 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 1262 |
echo "configure:1263: checking for X" >&5 |
| 1263 |
|
| 1264 |
# Check whether --with-x or --without-x was given. |
| 1265 |
if test "${with_x+set}" = set; then |
| 1266 |
withval="$with_x" |
| 1267 |
: |
| 1268 |
fi |
| 1269 |
|
| 1270 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
| 1271 |
if test "x$with_x" = xno; then |
| 1272 |
# The user explicitly disabled X. |
| 1273 |
have_x=disabled |
| 1274 |
else |
| 1275 |
if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then |
| 1276 |
# Both variables are already set. |
| 1277 |
have_x=yes |
| 1278 |
else |
| 1279 |
if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then |
| 1280 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1281 |
else |
| 1282 |
# One or both of the vars are not set, and there is no cached value. |
| 1283 |
ac_x_includes=NO ac_x_libraries=NO |
| 1284 |
rm -fr conftestdir |
| 1285 |
if mkdir conftestdir; then |
| 1286 |
cd conftestdir |
| 1287 |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
| 1288 |
cat > Imakefile <<'EOF' |
| 1289 |
acfindx: |
| 1290 |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
| 1291 |
EOF |
| 1292 |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
| 1293 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 1294 |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
| 1295 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
| 1296 |
for ac_extension in a so sl; do |
| 1297 |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
| 1298 |
test -f $ac_im_libdir/libX11.$ac_extension; then |
| 1299 |
ac_im_usrlibdir=$ac_im_libdir; break |
| 1300 |
fi |
| 1301 |
done |
| 1302 |
# Screen out bogus values from the imake configuration. They are |
| 1303 |
# bogus both because they are the default anyway, and because |
| 1304 |
# using them would break gcc on systems where it needs fixed includes. |
| 1305 |
case "$ac_im_incroot" in |
| 1306 |
/usr/include) ;; |
| 1307 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; |
| 1308 |
esac |
| 1309 |
case "$ac_im_usrlibdir" in |
| 1310 |
/usr/lib | /lib) ;; |
| 1311 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; |
| 1312 |
esac |
| 1313 |
fi |
| 1314 |
cd .. |
| 1315 |
rm -fr conftestdir |
| 1316 |
fi |
| 1317 |
|
| 1318 |
if test "$ac_x_includes" = NO; then |
| 1319 |
# Guess where to find include files, by looking for this one X11 .h file. |
| 1320 |
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 1321 |
|
| 1322 |
# First, try using that file with no special directory specified. |
| 1323 |
cat > conftest.$ac_ext <<EOF |
| 1324 |
#line 1325 "configure" |
| 1325 |
#include "confdefs.h" |
| 1326 |
#include <$x_direct_test_include> |
| 1327 |
EOF |
| 1328 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1329 |
{ (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1330 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1331 |
if test -z "$ac_err"; then |
| 1332 |
rm -rf conftest* |
| 1333 |
# We can compile using X headers with no special include directory. |
| 1334 |
ac_x_includes= |
| 1335 |
else |
| 1336 |
echo "$ac_err" >&5 |
| 1337 |
echo "configure: failed program was:" >&5 |
| 1338 |
cat conftest.$ac_ext >&5 |
| 1339 |
rm -rf conftest* |
| 1340 |
# Look for the header file in a standard set of common directories. |
| 1341 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
| 1342 |
for ac_dir in \ |
| 1343 |
/usr/X11/include \ |
| 1344 |
/usr/X11R6/include \ |
| 1345 |
/usr/X11R5/include \ |
| 1346 |
/usr/X11R4/include \ |
| 1347 |
\ |
| 1348 |
/usr/include/X11 \ |
| 1349 |
/usr/include/X11R6 \ |
| 1350 |
/usr/include/X11R5 \ |
| 1351 |
/usr/include/X11R4 \ |
| 1352 |
\ |
| 1353 |
/usr/local/X11/include \ |
| 1354 |
/usr/local/X11R6/include \ |
| 1355 |
/usr/local/X11R5/include \ |
| 1356 |
/usr/local/X11R4/include \ |
| 1357 |
\ |
| 1358 |
/usr/local/include/X11 \ |
| 1359 |
/usr/local/include/X11R6 \ |
| 1360 |
/usr/local/include/X11R5 \ |
| 1361 |
/usr/local/include/X11R4 \ |
| 1362 |
\ |
| 1363 |
/usr/X386/include \ |
| 1364 |
/usr/x386/include \ |
| 1365 |
/usr/XFree86/include/X11 \ |
| 1366 |
\ |
| 1367 |
/usr/include \ |
| 1368 |
/usr/local/include \ |
| 1369 |
/usr/unsupported/include \ |
| 1370 |
/usr/athena/include \ |
| 1371 |
/usr/local/x11r5/include \ |
| 1372 |
/usr/lpp/Xamples/include \ |
| 1373 |
\ |
| 1374 |
/usr/openwin/include \ |
| 1375 |
/usr/openwin/share/include \ |
| 1376 |
; \ |
| 1377 |
do |
| 1378 |
if test -r "$ac_dir/$x_direct_test_include"; then |
| 1379 |
ac_x_includes=$ac_dir |
| 1380 |
break |
| 1381 |
fi |
| 1382 |
done |
| 1383 |
fi |
| 1384 |
rm -f conftest* |
| 1385 |
fi # $ac_x_includes = NO |
| 1386 |
|
| 1387 |
if test "$ac_x_libraries" = NO; then |
| 1388 |
# Check for the libraries. |
| 1389 |
|
| 1390 |
test -z "$x_direct_test_library" && x_direct_test_library=Xt |
| 1391 |
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc |
| 1392 |
|
| 1393 |
# See if we find them without any special options. |
| 1394 |
# Don't add to $LIBS permanently. |
| 1395 |
ac_save_LIBS="$LIBS" |
| 1396 |
LIBS="-l$x_direct_test_library $LIBS" |
| 1397 |
cat > conftest.$ac_ext <<EOF |
| 1398 |
#line 1399 "configure" |
| 1399 |
#include "confdefs.h" |
| 1400 |
|
| 1401 |
int main() { |
| 1402 |
${x_direct_test_function}() |
| 1403 |
; return 0; } |
| 1404 |
EOF |
| 1405 |
if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1406 |
rm -rf conftest* |
| 1407 |
LIBS="$ac_save_LIBS" |
| 1408 |
# We can link X programs with no special library path. |
| 1409 |
ac_x_libraries= |
| 1410 |
else |
| 1411 |
echo "configure: failed program was:" >&5 |
| 1412 |
cat conftest.$ac_ext >&5 |
| 1413 |
rm -rf conftest* |
| 1414 |
LIBS="$ac_save_LIBS" |
| 1415 |
# First see if replacing the include by lib works. |
| 1416 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
| 1417 |
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ |
| 1418 |
/usr/X11/lib \ |
| 1419 |
/usr/X11R6/lib \ |
| 1420 |
/usr/X11R5/lib \ |
| 1421 |
/usr/X11R4/lib \ |
| 1422 |
\ |
| 1423 |
/usr/lib/X11 \ |
| 1424 |
/usr/lib/X11R6 \ |
| 1425 |
/usr/lib/X11R5 \ |
| 1426 |
/usr/lib/X11R4 \ |
| 1427 |
\ |
| 1428 |
/usr/local/X11/lib \ |
| 1429 |
/usr/local/X11R6/lib \ |
| 1430 |
/usr/local/X11R5/lib \ |
| 1431 |
/usr/local/X11R4/lib \ |
| 1432 |
\ |
| 1433 |
/usr/local/lib/X11 \ |
| 1434 |
/usr/local/lib/X11R6 \ |
| 1435 |
/usr/local/lib/X11R5 \ |
| 1436 |
/usr/local/lib/X11R4 \ |
| 1437 |
\ |
| 1438 |
/usr/X386/lib \ |
| 1439 |
/usr/x386/lib \ |
| 1440 |
/usr/XFree86/lib/X11 \ |
| 1441 |
\ |
| 1442 |
/usr/lib \ |
| 1443 |
/usr/local/lib \ |
| 1444 |
/usr/unsupported/lib \ |
| 1445 |
/usr/athena/lib \ |
| 1446 |
/usr/local/x11r5/lib \ |
| 1447 |
/usr/lpp/Xamples/lib \ |
| 1448 |
/lib/usr/lib/X11 \ |
| 1449 |
\ |
| 1450 |
/usr/openwin/lib \ |
| 1451 |
/usr/openwin/share/lib \ |
| 1452 |
; \ |
| 1453 |
do |
| 1454 |
for ac_extension in a so sl; do |
| 1455 |
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then |
| 1456 |
ac_x_libraries=$ac_dir |
| 1457 |
break 2 |
| 1458 |
fi |
| 1459 |
done |
| 1460 |
done |
| 1461 |
fi |
| 1462 |
rm -f conftest* |
| 1463 |
fi # $ac_x_libraries = NO |
| 1464 |
|
| 1465 |
if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
| 1466 |
# Didn't find X anywhere. Cache the known absence of X. |
| 1467 |
ac_cv_have_x="have_x=no" |
| 1468 |
else |
| 1469 |
# Record where we found X for the cache. |
| 1470 |
ac_cv_have_x="have_x=yes \ |
| 1471 |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
| 1472 |
fi |
| 1473 |
fi |
| 1474 |
fi |
| 1475 |
eval "$ac_cv_have_x" |
| 1476 |
fi # $with_x != no |
| 1477 |
|
| 1478 |
if test "$have_x" != yes; then |
| 1479 |
echo "$ac_t""$have_x" 1>&6 |
| 1480 |
no_x=yes |
| 1481 |
else |
| 1482 |
# If each of the values was on the command line, it overrides each guess. |
| 1483 |
test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
| 1484 |
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
| 1485 |
# Update the cache value to reflect the command line values. |
| 1486 |
ac_cv_have_x="have_x=yes \ |
| 1487 |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
| 1488 |
echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 |
| 1489 |
fi |
| 1490 |
|
| 1491 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 1492 |
echo "configure:1493: checking for ANSI C header files" >&5 |
| 1493 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 1494 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1495 |
else |
| 1496 |
cat > conftest.$ac_ext <<EOF |
| 1497 |
#line 1498 "configure" |
| 1498 |
#include "confdefs.h" |
| 1499 |
#include <stdlib.h> |
| 1500 |
#include <stdarg.h> |
| 1501 |
#include <string.h> |
| 1502 |
#include <float.h> |
| 1503 |
EOF |
| 1504 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1505 |
{ (eval echo configure:1506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1506 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1507 |
if test -z "$ac_err"; then |
| 1508 |
rm -rf conftest* |
| 1509 |
ac_cv_header_stdc=yes |
| 1510 |
else |
| 1511 |
echo "$ac_err" >&5 |
| 1512 |
echo "configure: failed program was:" >&5 |
| 1513 |
cat conftest.$ac_ext >&5 |
| 1514 |
rm -rf conftest* |
| 1515 |
ac_cv_header_stdc=no |
| 1516 |
fi |
| 1517 |
rm -f conftest* |
| 1518 |
|
| 1519 |
if test $ac_cv_header_stdc = yes; then |
| 1520 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 1521 |
cat > conftest.$ac_ext <<EOF |
| 1522 |
#line 1523 "configure" |
| 1523 |
#include "confdefs.h" |
| 1524 |
#include <string.h> |
| 1525 |
EOF |
| 1526 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1527 |
egrep "memchr" >/dev/null 2>&1; then |
| 1528 |
: |
| 1529 |
else |
| 1530 |
rm -rf conftest* |
| 1531 |
ac_cv_header_stdc=no |
| 1532 |
fi |
| 1533 |
rm -f conftest* |
| 1534 |
|
| 1535 |
fi |
| 1536 |
|
| 1537 |
if test $ac_cv_header_stdc = yes; then |
| 1538 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 1539 |
cat > conftest.$ac_ext <<EOF |
| 1540 |
#line 1541 "configure" |
| 1541 |
#include "confdefs.h" |
| 1542 |
#include <stdlib.h> |
| 1543 |
EOF |
| 1544 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1545 |
egrep "free" >/dev/null 2>&1; then |
| 1546 |
: |
| 1547 |
else |
| 1548 |
rm -rf conftest* |
| 1549 |
ac_cv_header_stdc=no |
| 1550 |
fi |
| 1551 |
rm -f conftest* |
| 1552 |
|
| 1553 |
fi |
| 1554 |
|
| 1555 |
if test $ac_cv_header_stdc = yes; then |
| 1556 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 1557 |
if test "$cross_compiling" = yes; then |
| 1558 |
: |
| 1559 |
else |
| 1560 |
cat > conftest.$ac_ext <<EOF |
| 1561 |
#line 1562 "configure" |
| 1562 |
#include "confdefs.h" |
| 1563 |
#include <ctype.h> |
| 1564 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 1565 |
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 1566 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 1567 |
int main () { int i; for (i = 0; i < 256; i++) |
| 1568 |
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 1569 |
exit (0); } |
| 1570 |
|
| 1571 |
EOF |
| 1572 |
if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1573 |
then |
| 1574 |
: |
| 1575 |
else |
| 1576 |
echo "configure: failed program was:" >&5 |
| 1577 |
cat conftest.$ac_ext >&5 |
| 1578 |
rm -fr conftest* |
| 1579 |
ac_cv_header_stdc=no |
| 1580 |
fi |
| 1581 |
rm -fr conftest* |
| 1582 |
fi |
| 1583 |
|
| 1584 |
fi |
| 1585 |
fi |
| 1586 |
|
| 1587 |
echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
| 1588 |
if test $ac_cv_header_stdc = yes; then |
| 1589 |
cat >> confdefs.h <<\EOF |
| 1590 |
#define STDC_HEADERS 1 |
| 1591 |
EOF |
| 1592 |
|
| 1593 |
fi |
| 1594 |
|
| 1595 |
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 1596 |
echo "configure:1597: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 1597 |
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
| 1598 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1599 |
else |
| 1600 |
cat > conftest.$ac_ext <<EOF |
| 1601 |
#line 1602 "configure" |
| 1602 |
#include "confdefs.h" |
| 1603 |
#include <sys/types.h> |
| 1604 |
#include <sys/wait.h> |
| 1605 |
#ifndef WEXITSTATUS |
| 1606 |
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 1607 |
#endif |
| 1608 |
#ifndef WIFEXITED |
| 1609 |
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
| 1610 |
#endif |
| 1611 |
int main() { |
| 1612 |
int s; |
| 1613 |
wait (&s); |
| 1614 |
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 1615 |
; return 0; } |
| 1616 |
EOF |
| 1617 |
if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1618 |
rm -rf conftest* |
| 1619 |
ac_cv_header_sys_wait_h=yes |
| 1620 |
else |
| 1621 |
echo "configure: failed program was:" >&5 |
| 1622 |
cat conftest.$ac_ext >&5 |
| 1623 |
rm -rf conftest* |
| 1624 |
ac_cv_header_sys_wait_h=no |
| 1625 |
fi |
| 1626 |
rm -f conftest* |
| 1627 |
fi |
| 1628 |
|
| 1629 |
echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 |
| 1630 |
if test $ac_cv_header_sys_wait_h = yes; then |
| 1631 |
cat >> confdefs.h <<\EOF |
| 1632 |
#define HAVE_SYS_WAIT_H 1 |
| 1633 |
EOF |
| 1634 |
|
| 1635 |
fi |
| 1636 |
|
| 1637 |
for ac_hdr in fcntl.h limits.h malloc.h sgtty.h strings.h sys/file.h sys/ioctl.h sys/time.h termio.h unistd.h |
| 1638 |
do |
| 1639 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1640 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1641 |
echo "configure:1642: checking for $ac_hdr" >&5 |
| 1642 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1643 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1644 |
else |
| 1645 |
cat > conftest.$ac_ext <<EOF |
| 1646 |
#line 1647 "configure" |
| 1647 |
#include "confdefs.h" |
| 1648 |
#include <$ac_hdr> |
| 1649 |
EOF |
| 1650 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1651 |
{ (eval echo configure:1652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1652 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1653 |
if test -z "$ac_err"; then |
| 1654 |
rm -rf conftest* |
| 1655 |
eval "ac_cv_header_$ac_safe=yes" |
| 1656 |
else |
| 1657 |
echo "$ac_err" >&5 |
| 1658 |
echo "configure: failed program was:" >&5 |
| 1659 |
cat conftest.$ac_ext >&5 |
| 1660 |
rm -rf conftest* |
| 1661 |
eval "ac_cv_header_$ac_safe=no" |
| 1662 |
fi |
| 1663 |
rm -f conftest* |
| 1664 |
fi |
| 1665 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 1666 |
echo "$ac_t""yes" 1>&6 |
| 1667 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
| 1668 |
cat >> confdefs.h <<EOF |
| 1669 |
#define $ac_tr_hdr 1 |
| 1670 |
EOF |
| 1671 |
|
| 1672 |
else |
| 1673 |
echo "$ac_t""no" 1>&6 |
| 1674 |
fi |
| 1675 |
done |
| 1676 |
|
| 1677 |
|
| 1678 |
echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 1679 |
echo "configure:1680: checking for mode_t" >&5 |
| 1680 |
if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
| 1681 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1682 |
else |
| 1683 |
cat > conftest.$ac_ext <<EOF |
| 1684 |
#line 1685 "configure" |
| 1685 |
#include "confdefs.h" |
| 1686 |
#include <sys/types.h> |
| 1687 |
#if STDC_HEADERS |
| 1688 |
#include <stdlib.h> |
| 1689 |
#include <stddef.h> |
| 1690 |
#endif |
| 1691 |
EOF |
| 1692 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1693 |
egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 1694 |
rm -rf conftest* |
| 1695 |
ac_cv_type_mode_t=yes |
| 1696 |
else |
| 1697 |
rm -rf conftest* |
| 1698 |
ac_cv_type_mode_t=no |
| 1699 |
fi |
| 1700 |
rm -f conftest* |
| 1701 |
|
| 1702 |
fi |
| 1703 |
echo "$ac_t""$ac_cv_type_mode_t" 1>&6 |
| 1704 |
if test $ac_cv_type_mode_t = no; then |
| 1705 |
cat >> confdefs.h <<\EOF |
| 1706 |
#define mode_t int |
| 1707 |
EOF |
| 1708 |
|
| 1709 |
fi |
| 1710 |
|
| 1711 |
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 1712 |
echo "configure:1713: checking whether time.h and sys/time.h may both be included" >&5 |
| 1713 |
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 1714 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1715 |
else |
| 1716 |
cat > conftest.$ac_ext <<EOF |
| 1717 |
#line 1718 "configure" |
| 1718 |
#include "confdefs.h" |
| 1719 |
#include <sys/types.h> |
| 1720 |
#include <sys/time.h> |
| 1721 |
#include <time.h> |
| 1722 |
int main() { |
| 1723 |
struct tm *tp; |
| 1724 |
; return 0; } |
| 1725 |
EOF |
| 1726 |
if { (eval echo configure:1727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1727 |
rm -rf conftest* |
| 1728 |
ac_cv_header_time=yes |
| 1729 |
else |
| 1730 |
echo "configure: failed program was:" >&5 |
| 1731 |
cat conftest.$ac_ext >&5 |
| 1732 |
rm -rf conftest* |
| 1733 |
ac_cv_header_time=no |
| 1734 |
fi |
| 1735 |
rm -f conftest* |
| 1736 |
fi |
| 1737 |
|
| 1738 |
echo "$ac_t""$ac_cv_header_time" 1>&6 |
| 1739 |
if test $ac_cv_header_time = yes; then |
| 1740 |
cat >> confdefs.h <<\EOF |
| 1741 |
#define TIME_WITH_SYS_TIME 1 |
| 1742 |
EOF |
| 1743 |
|
| 1744 |
fi |
| 1745 |
|
| 1746 |
echo $ac_n "checking for time_t""... $ac_c" 1>&6 |
| 1747 |
echo "configure:1748: checking for time_t" >&5 |
| 1748 |
if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then |
| 1749 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1750 |
else |
| 1751 |
cat > conftest.$ac_ext <<EOF |
| 1752 |
#line 1753 "configure" |
| 1753 |
#include "confdefs.h" |
| 1754 |
#include <sys/types.h> |
| 1755 |
#if STDC_HEADERS |
| 1756 |
#include <stdlib.h> |
| 1757 |
#include <stddef.h> |
| 1758 |
#endif |
| 1759 |
EOF |
| 1760 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1761 |
egrep "(^|[^a-zA-Z_0-9])time_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 1762 |
rm -rf conftest* |
| 1763 |
ac_cv_type_time_t=yes |
| 1764 |
else |
| 1765 |
rm -rf conftest* |
| 1766 |
ac_cv_type_time_t=no |
| 1767 |
fi |
| 1768 |
rm -f conftest* |
| 1769 |
|
| 1770 |
fi |
| 1771 |
echo "$ac_t""$ac_cv_type_time_t" 1>&6 |
| 1772 |
if test $ac_cv_type_time_t = no; then |
| 1773 |
cat >> confdefs.h <<\EOF |
| 1774 |
#define time_t long |
| 1775 |
EOF |
| 1776 |
|
| 1777 |
fi |
| 1778 |
|
| 1779 |
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
| 1780 |
echo "configure:1781: checking for socklen_t" >&5 |
| 1781 |
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then |
| 1782 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1783 |
else |
| 1784 |
cat > conftest.$ac_ext <<EOF |
| 1785 |
#line 1786 "configure" |
| 1786 |
#include "confdefs.h" |
| 1787 |
#include <sys/types.h> |
| 1788 |
#if STDC_HEADERS |
| 1789 |
#include <stdlib.h> |
| 1790 |
#include <stddef.h> |
| 1791 |
#endif |
| 1792 |
EOF |
| 1793 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1794 |
egrep "(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
| 1795 |
rm -rf conftest* |
| 1796 |
ac_cv_type_socklen_t=yes |
| 1797 |
else |
| 1798 |
rm -rf conftest* |
| 1799 |
ac_cv_type_socklen_t=no |
| 1800 |
fi |
| 1801 |
rm -f conftest* |
| 1802 |
|
| 1803 |
fi |
| 1804 |
echo "$ac_t""$ac_cv_type_socklen_t" 1>&6 |
| 1805 |
if test $ac_cv_type_socklen_t = no; then |
| 1806 |
cat >> confdefs.h <<\EOF |
| 1807 |
#define socklen_t int |
| 1808 |
EOF |
| 1809 |
|
| 1810 |
fi |
| 1811 |
|
| 1812 |
|
| 1813 |
|
| 1814 |
echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6 |
| 1815 |
echo "configure:1816: checking for RAND_MAX" >&5 |
| 1816 |
cat > conftest.$ac_ext <<EOF |
| 1817 |
#line 1818 "configure" |
| 1818 |
#include "confdefs.h" |
| 1819 |
#include <stdlib.h> |
| 1820 |
#ifdef RAND_MAX |
| 1821 |
yes |
| 1822 |
#endif |
| 1823 |
|
| 1824 |
EOF |
| 1825 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1826 |
egrep "yes" >/dev/null 2>&1; then |
| 1827 |
rm -rf conftest* |
| 1828 |
cat >> confdefs.h <<\EOF |
| 1829 |
#define HAVE_RAND_MAX 1 |
| 1830 |
EOF |
| 1831 |
|
| 1832 |
fi |
| 1833 |
rm -f conftest* |
| 1834 |
|
| 1835 |
|
| 1836 |
if test $ac_cv_prog_gcc = yes; then |
| 1837 |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
| 1838 |
echo "configure:1839: checking whether ${CC-cc} needs -traditional" >&5 |
| 1839 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
| 1840 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1841 |
else |
| 1842 |
ac_pattern="Autoconf.*'x'" |
| 1843 |
cat > conftest.$ac_ext <<EOF |
| 1844 |
#line 1845 "configure" |
| 1845 |
#include "confdefs.h" |
| 1846 |
#include <sgtty.h> |
| 1847 |
Autoconf TIOCGETP |
| 1848 |
EOF |
| 1849 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1850 |
egrep "$ac_pattern" >/dev/null 2>&1; then |
| 1851 |
rm -rf conftest* |
| 1852 |
ac_cv_prog_gcc_traditional=yes |
| 1853 |
else |
| 1854 |
rm -rf conftest* |
| 1855 |
ac_cv_prog_gcc_traditional=no |
| 1856 |
fi |
| 1857 |
rm -f conftest* |
| 1858 |
|
| 1859 |
|
| 1860 |
if test $ac_cv_prog_gcc_traditional = no; then |
| 1861 |
cat > conftest.$ac_ext <<EOF |
| 1862 |
#line 1863 "configure" |
| 1863 |
#include "confdefs.h" |
| 1864 |
#include <termio.h> |
| 1865 |
Autoconf TCGETA |
| 1866 |
EOF |
| 1867 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1868 |
egrep "$ac_pattern" >/dev/null 2>&1; then |
| 1869 |
rm -rf conftest* |
| 1870 |
ac_cv_prog_gcc_traditional=yes |
| 1871 |
fi |
| 1872 |
rm -f conftest* |
| 1873 |
|
| 1874 |
fi |
| 1875 |
fi |
| 1876 |
|
| 1877 |
echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 |
| 1878 |
if test $ac_cv_prog_gcc_traditional = yes; then |
| 1879 |
CC="$CC -traditional" |
| 1880 |
fi |
| 1881 |
fi |
| 1882 |
|
| 1883 |
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 |
| 1884 |
echo "configure:1885: checking for 8-bit clean memcmp" >&5 |
| 1885 |
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then |
| 1886 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1887 |
else |
| 1888 |
if test "$cross_compiling" = yes; then |
| 1889 |
ac_cv_func_memcmp_clean=no |
| 1890 |
else |
| 1891 |
cat > conftest.$ac_ext <<EOF |
| 1892 |
#line 1893 "configure" |
| 1893 |
#include "confdefs.h" |
| 1894 |
|
| 1895 |
main() |
| 1896 |
{ |
| 1897 |
char c0 = 0x40, c1 = 0x80, c2 = 0x81; |
| 1898 |
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); |
| 1899 |
} |
| 1900 |
|
| 1901 |
EOF |
| 1902 |
if { (eval echo configure:1903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1903 |
then |
| 1904 |
ac_cv_func_memcmp_clean=yes |
| 1905 |
else |
| 1906 |
echo "configure: failed program was:" >&5 |
| 1907 |
cat conftest.$ac_ext >&5 |
| 1908 |
rm -fr conftest* |
| 1909 |
ac_cv_func_memcmp_clean=no |
| 1910 |
fi |
| 1911 |
rm -fr conftest* |
| 1912 |
fi |
| 1913 |
|
| 1914 |
fi |
| 1915 |
|
| 1916 |
echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6 |
| 1917 |
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" |
| 1918 |
|
| 1919 |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 1920 |
echo "configure:1921: checking return type of signal handlers" >&5 |
| 1921 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 1922 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1923 |
else |
| 1924 |
cat > conftest.$ac_ext <<EOF |
| 1925 |
#line 1926 "configure" |
| 1926 |
#include "confdefs.h" |
| 1927 |
#include <sys/types.h> |
| 1928 |
#include <signal.h> |
| 1929 |
#ifdef signal |
| 1930 |
#undef signal |
| 1931 |
#endif |
| 1932 |
#ifdef __cplusplus |
| 1933 |
extern "C" void (*signal (int, void (*)(int)))(int); |
| 1934 |
#else |
| 1935 |
void (*signal ()) (); |
| 1936 |
#endif |
| 1937 |
|
| 1938 |
int main() { |
| 1939 |
int i; |
| 1940 |
; return 0; } |
| 1941 |
EOF |
| 1942 |
if { (eval echo configure:1943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1943 |
rm -rf conftest* |
| 1944 |
ac_cv_type_signal=void |
| 1945 |
else |
| 1946 |
echo "configure: failed program was:" >&5 |
| 1947 |
cat conftest.$ac_ext >&5 |
| 1948 |
rm -rf conftest* |
| 1949 |
ac_cv_type_signal=int |
| 1950 |
fi |
| 1951 |
rm -f conftest* |
| 1952 |
fi |
| 1953 |
|
| 1954 |
echo "$ac_t""$ac_cv_type_signal" 1>&6 |
| 1955 |
cat >> confdefs.h <<EOF |
| 1956 |
#define RETSIGTYPE $ac_cv_type_signal |
| 1957 |
EOF |
| 1958 |
|
| 1959 |
|
| 1960 |
echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6 |
| 1961 |
echo "configure:1962: checking for wait3 that fills in rusage" >&5 |
| 1962 |
if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then |
| 1963 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1964 |
else |
| 1965 |
if test "$cross_compiling" = yes; then |
| 1966 |
ac_cv_func_wait3_rusage=no |
| 1967 |
else |
| 1968 |
cat > conftest.$ac_ext <<EOF |
| 1969 |
#line 1970 "configure" |
| 1970 |
#include "confdefs.h" |
| 1971 |
#include <sys/types.h> |
| 1972 |
#include <sys/time.h> |
| 1973 |
#include <sys/resource.h> |
| 1974 |
#include <stdio.h> |
| 1975 |
/* HP-UX has wait3 but does not fill in rusage at all. */ |
| 1976 |
main() { |
| 1977 |
struct rusage r; |
| 1978 |
int i; |
| 1979 |
/* Use a field that we can force nonzero -- |
| 1980 |
voluntary context switches. |
| 1981 |
For systems like NeXT and OSF/1 that don't set it, |
| 1982 |
also use the system CPU time. And page faults (I/O) for Linux. */ |
| 1983 |
r.ru_nvcsw = 0; |
| 1984 |
r.ru_stime.tv_sec = 0; |
| 1985 |
r.ru_stime.tv_usec = 0; |
| 1986 |
r.ru_majflt = r.ru_minflt = 0; |
| 1987 |
switch (fork()) { |
| 1988 |
case 0: /* Child. */ |
| 1989 |
sleep(1); /* Give up the CPU. */ |
| 1990 |
_exit(0); |
| 1991 |
case -1: _exit(0); /* What can we do? */ |
| 1992 |
default: /* Parent. */ |
| 1993 |
wait3(&i, 0, &r); |
| 1994 |
sleep(2); /* Avoid "text file busy" from rm on fast HP-UX machines. */ |
| 1995 |
exit(r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 |
| 1996 |
&& r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); |
| 1997 |
} |
| 1998 |
} |
| 1999 |
EOF |
| 2000 |
if { (eval echo configure:2001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2001 |
then |
| 2002 |
ac_cv_func_wait3_rusage=yes |
| 2003 |
else |
| 2004 |
echo "configure: failed program was:" >&5 |
| 2005 |
cat conftest.$ac_ext >&5 |
| 2006 |
rm -fr conftest* |
| 2007 |
ac_cv_func_wait3_rusage=no |
| 2008 |
fi |
| 2009 |
rm -fr conftest* |
| 2010 |
fi |
| 2011 |
|
| 2012 |
fi |
| 2013 |
|
| 2014 |
echo "$ac_t""$ac_cv_func_wait3_rusage" 1>&6 |
| 2015 |
if test $ac_cv_func_wait3_rusage = yes; then |
| 2016 |
cat >> confdefs.h <<\EOF |
| 2017 |
#define HAVE_WAIT3 1 |
| 2018 |
EOF |
| 2019 |
|
| 2020 |
fi |
| 2021 |
|
| 2022 |
for ac_func in gethostname mkdir select socket strtol |
| 2023 |
do |
| 2024 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2025 |
echo "configure:2026: checking for $ac_func" >&5 |
| 2026 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2027 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2028 |
else |
| 2029 |
cat > conftest.$ac_ext <<EOF |
| 2030 |
#line 2031 "configure" |
| 2031 |
#include "confdefs.h" |
| 2032 |
/* System header to define __stub macros and hopefully few prototypes, |
| 2033 |
which can conflict with char $ac_func(); below. */ |
| 2034 |
#include <assert.h> |
| 2035 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2036 |
/* We use char because int might match the return type of a gcc2 |
| 2037 |
builtin and then its argument prototype would still apply. */ |
| 2038 |
char $ac_func(); |
| 2039 |
|
| 2040 |
int main() { |
| 2041 |
|
| 2042 |
/* The GNU C library defines this for functions which it implements |
| 2043 |
to always fail with ENOSYS. Some functions are actually named |
| 2044 |
something starting with __ and the normal name is an alias. */ |
| 2045 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 2046 |
choke me |
| 2047 |
#else |
| 2048 |
$ac_func(); |
| 2049 |
#endif |
| 2050 |
|
| 2051 |
; return 0; } |
| 2052 |
EOF |
| 2053 |
if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2054 |
rm -rf conftest* |
| 2055 |
eval "ac_cv_func_$ac_func=yes" |
| 2056 |
else |
| 2057 |
echo "configure: failed program was:" >&5 |
| 2058 |
cat conftest.$ac_ext >&5 |
| 2059 |
rm -rf conftest* |
| 2060 |
eval "ac_cv_func_$ac_func=no" |
| 2061 |
fi |
| 2062 |
rm -f conftest* |
| 2063 |
fi |
| 2064 |
|
| 2065 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
| 2066 |
echo "$ac_t""yes" 1>&6 |
| 2067 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
| 2068 |
cat >> confdefs.h <<EOF |
| 2069 |
#define $ac_tr_func 1 |
| 2070 |
EOF |
| 2071 |
|
| 2072 |
else |
| 2073 |
echo "$ac_t""no" 1>&6 |
| 2074 |
fi |
| 2075 |
done |
| 2076 |
|
| 2077 |
for ac_func in drand48 |
| 2078 |
do |
| 2079 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2080 |
echo "configure:2081: checking for $ac_func" >&5 |
| 2081 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2082 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2083 |
else |
| 2084 |
cat > conftest.$ac_ext <<EOF |
| 2085 |
#line 2086 "configure" |
| 2086 |
#include "confdefs.h" |
| 2087 |
/* System header to define __stub macros and hopefully few prototypes, |
| 2088 |
which can conflict with char $ac_func(); below. */ |
| 2089 |
#include <assert.h> |
| 2090 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2091 |
/* We use char because int might match the return type of a gcc2 |
| 2092 |
builtin and then its argument prototype would still apply. */ |
| 2093 |
char $ac_func(); |
| 2094 |
|
| 2095 |
int main() { |
| 2096 |
|
| 2097 |
/* The GNU C library defines this for functions which it implements |
| 2098 |
to always fail with ENOSYS. Some functions are actually named |
| 2099 |
something starting with __ and the normal name is an alias. */ |
| 2100 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 2101 |
choke me |
| 2102 |
#else |
| 2103 |
$ac_func(); |
| 2104 |
#endif |
| 2105 |
|
| 2106 |
; return 0; } |
| 2107 |
EOF |
| 2108 |
if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2109 |
rm -rf conftest* |
| 2110 |
eval "ac_cv_func_$ac_func=yes" |
| 2111 |
else |
| 2112 |
echo "configure: failed program was:" >&5 |
| 2113 |
cat conftest.$ac_ext >&5 |
| 2114 |
rm -rf conftest* |
| 2115 |
eval "ac_cv_func_$ac_func=no" |
| 2116 |
fi |
| 2117 |
rm -f conftest* |
| 2118 |
fi |
| 2119 |
|
| 2120 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
| 2121 |
echo "$ac_t""yes" 1>&6 |
| 2122 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
| 2123 |
cat >> confdefs.h <<EOF |
| 2124 |
#define $ac_tr_func 1 |
| 2125 |
EOF |
| 2126 |
|
| 2127 |
else |
| 2128 |
echo "$ac_t""no" 1>&6 |
| 2129 |
fi |
| 2130 |
done |
| 2131 |
|
| 2132 |
for ac_func in perror |
| 2133 |
do |
| 2134 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2135 |
echo "configure:2136: checking for $ac_func" >&5 |
| 2136 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2137 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2138 |
else |
| 2139 |
cat > conftest.$ac_ext <<EOF |
| 2140 |
#line 2141 "configure" |
| 2141 |
#include "confdefs.h" |
| 2142 |
/* System header to define __stub macros and hopefully few prototypes, |
| 2143 |
which can conflict with char $ac_func(); below. */ |
| 2144 |
#include <assert.h> |
| 2145 |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2146 |
/* We use char because int might match the return type of a gcc2 |
| 2147 |
builtin and then its argument prototype would still apply. */ |
| 2148 |
char $ac_func(); |
| 2149 |
|
| 2150 |
int main() { |
| 2151 |
|
| 2152 |
/* The GNU C library defines this for functions which it implements |
| 2153 |
to always fail with ENOSYS. Some functions are actually named |
| 2154 |
something starting with __ and the normal name is an alias. */ |
| 2155 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 2156 |
choke me |
| 2157 |
#else |
| 2158 |
$ac_func(); |
| 2159 |
#endif |
| 2160 |
|
| 2161 |
; return 0; } |
| 2162 |
EOF |
| 2163 |
if { (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2164 |
rm -rf conftest* |
| 2165 |
eval "ac_cv_func_$ac_func=yes" |
| 2166 |
else |
| 2167 |
echo "configure: failed program was:" >&5 |
| 2168 |
cat conftest.$ac_ext >&5 |
| 2169 |
rm -rf conftest* |
| 2170 |
eval "ac_cv_func_$ac_func=no" |
| 2171 |
fi |
| 2172 |
rm -f conftest* |
| 2173 |
fi |
| 2174 |
|
| 2175 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
| 2176 |
echo "$ac_t""yes" 1>&6 |
| 2177 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
| 2178 |
cat >> confdefs.h <<EOF |
| 2179 |
#define $ac_tr_func 1 |
| 2180 |
EOF |
| 2181 |
|
| 2182 |
else |
| 2183 |
echo "$ac_t""no" 1>&6 |
| 2184 |
fi |
| 2185 |
done |
| 2186 |
|
| 2187 |
|
| 2188 |
|
| 2189 |
trap '' 1 2 15 |
| 2190 |
cat > confcache <<\EOF |
| 2191 |
# This file is a shell script that caches the results of configure |
| 2192 |
# tests run on this system so they can be shared between configure |
| 2193 |
# scripts and configure runs. It is not useful on other systems. |
| 2194 |
# If it contains results you don't want to keep, you may remove or edit it. |
| 2195 |
# |
| 2196 |
# By default, configure uses ./config.cache as the cache file, |
| 2197 |
# creating it if it does not exist already. You can give configure |
| 2198 |
# the --cache-file=FILE option to use a different cache file; that is |
| 2199 |
# what configure does when it calls configure scripts in |
| 2200 |
# subdirectories, so they share the cache. |
| 2201 |
# Giving --cache-file=/dev/null disables caching, for debugging configure. |
| 2202 |
# config.status only pays attention to the cache file if you give it the |
| 2203 |
# --recheck option to rerun configure. |
| 2204 |
# |
| 2205 |
EOF |
| 2206 |
# The following way of writing the cache mishandles newlines in values, |
| 2207 |
# but we know of no workaround that is simple, portable, and efficient. |
| 2208 |
# So, don't put newlines in cache variables' values. |
| 2209 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 2210 |
# and sets the high bit in the cache file unless we assign to the vars. |
| 2211 |
(set) 2>&1 | |
| 2212 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 2213 |
*ac_space=\ *) |
| 2214 |
# `set' does not quote correctly, so add quotes (double-quote substitution |
| 2215 |
# turns \\\\ into \\, and sed turns \\ into \). |
| 2216 |
sed -n \ |
| 2217 |
-e "s/'/'\\\\''/g" \ |
| 2218 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
| 2219 |
;; |
| 2220 |
*) |
| 2221 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 2222 |
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
| 2223 |
;; |
| 2224 |
esac >> confcache |
| 2225 |
if cmp -s $cache_file confcache; then |
| 2226 |
: |
| 2227 |
else |
| 2228 |
if test -w $cache_file; then |
| 2229 |
echo "updating cache $cache_file" |
| 2230 |
cat confcache > $cache_file |
| 2231 |
else |
| 2232 |
echo "not updating unwritable cache $cache_file" |
| 2233 |
fi |
| 2234 |
fi |
| 2235 |
rm -f confcache |
| 2236 |
|
| 2237 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
| 2238 |
|
| 2239 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 2240 |
# Let make expand exec_prefix. |
| 2241 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 2242 |
|
| 2243 |
# Any assignment to VPATH causes Sun make to only execute |
| 2244 |
# the first set of double-colon rules, so remove it if not needed. |
| 2245 |
# If there is a colon in the path, we need to keep it. |
| 2246 |
if test "x$srcdir" = x.; then |
| 2247 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
| 2248 |
fi |
| 2249 |
|
| 2250 |
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
| 2251 |
|
| 2252 |
DEFS=-DHAVE_CONFIG_H |
| 2253 |
|
| 2254 |
# Without the "./", some shells look in PATH for config.status. |
| 2255 |
: ${CONFIG_STATUS=./config.status} |
| 2256 |
|
| 2257 |
echo creating $CONFIG_STATUS |
| 2258 |
rm -f $CONFIG_STATUS |
| 2259 |
cat > $CONFIG_STATUS <<EOF |
| 2260 |
#! /bin/sh |
| 2261 |
# Generated automatically by configure. |
| 2262 |
# Run this file to recreate the current configuration. |
| 2263 |
# This directory was configured as follows, |
| 2264 |
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 2265 |
# |
| 2266 |
# $0 $ac_configure_args |
| 2267 |
# |
| 2268 |
# Compiler output produced by configure, useful for debugging |
| 2269 |
# configure, is in ./config.log if it exists. |
| 2270 |
|
| 2271 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
| 2272 |
for ac_option |
| 2273 |
do |
| 2274 |
case "\$ac_option" in |
| 2275 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 2276 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
| 2277 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
| 2278 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
| 2279 |
echo "$CONFIG_STATUS generated by autoconf version 2.13" |
| 2280 |
exit 0 ;; |
| 2281 |
-help | --help | --hel | --he | --h) |
| 2282 |
echo "\$ac_cs_usage"; exit 0 ;; |
| 2283 |
*) echo "\$ac_cs_usage"; exit 1 ;; |
| 2284 |
esac |
| 2285 |
done |
| 2286 |
|
| 2287 |
ac_given_srcdir=$srcdir |
| 2288 |
ac_given_INSTALL="$INSTALL" |
| 2289 |
|
| 2290 |
trap 'rm -fr `echo "makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdicplus/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile PubdicPlus/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
| 2291 |
EOF |
| 2292 |
cat >> $CONFIG_STATUS <<EOF |
| 2293 |
|
| 2294 |
# Protect against being on the right side of a sed subst in config.status. |
| 2295 |
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
| 2296 |
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
| 2297 |
$ac_vpsub |
| 2298 |
$extrasub |
| 2299 |
s%@SHELL@%$SHELL%g |
| 2300 |
s%@CFLAGS@%$CFLAGS%g |
| 2301 |
s%@CPPFLAGS@%$CPPFLAGS%g |
| 2302 |
s%@CXXFLAGS@%$CXXFLAGS%g |
| 2303 |
s%@FFLAGS@%$FFLAGS%g |
| 2304 |
s%@DEFS@%$DEFS%g |
| 2305 |
s%@LDFLAGS@%$LDFLAGS%g |
| 2306 |
s%@LIBS@%$LIBS%g |
| 2307 |
s%@exec_prefix@%$exec_prefix%g |
| 2308 |
s%@prefix@%$prefix%g |
| 2309 |
s%@program_transform_name@%$program_transform_name%g |
| 2310 |
s%@bindir@%$bindir%g |
| 2311 |
s%@sbindir@%$sbindir%g |
| 2312 |
s%@libexecdir@%$libexecdir%g |
| 2313 |
s%@datadir@%$datadir%g |
| 2314 |
s%@sysconfdir@%$sysconfdir%g |
| 2315 |
s%@sharedstatedir@%$sharedstatedir%g |
| 2316 |
s%@localstatedir@%$localstatedir%g |
| 2317 |
s%@libdir@%$libdir%g |
| 2318 |
s%@includedir@%$includedir%g |
| 2319 |
s%@oldincludedir@%$oldincludedir%g |
| 2320 |
s%@infodir@%$infodir%g |
| 2321 |
s%@mandir@%$mandir%g |
| 2322 |
s%@abs_top_srcdir@%$abs_top_srcdir%g |
| 2323 |
s%@CC@%$CC%g |
| 2324 |
s%@CPP@%$CPP%g |
| 2325 |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
| 2326 |
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
| 2327 |
s%@INSTALL_DATA@%$INSTALL_DATA%g |
| 2328 |
s%@LN_S@%$LN_S%g |
| 2329 |
s%@SET_MAKE@%$SET_MAKE%g |
| 2330 |
s%@RANLIB@%$RANLIB%g |
| 2331 |
s%@CCOPTIONS@%$CCOPTIONS%g |
| 2332 |
s%@CDEBUGFLAGS@%$CDEBUGFLAGS%g |
| 2333 |
s%@LIBOBJS@%$LIBOBJS%g |
| 2334 |
|
| 2335 |
CEOF |
| 2336 |
EOF |
| 2337 |
|
| 2338 |
cat >> $CONFIG_STATUS <<\EOF |
| 2339 |
|
| 2340 |
# Split the substitutions into bite-sized pieces for seds with |
| 2341 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
| 2342 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
| 2343 |
ac_file=1 # Number of current file. |
| 2344 |
ac_beg=1 # First line for current file. |
| 2345 |
ac_end=$ac_max_sed_cmds # Line after last line for current file. |
| 2346 |
ac_more_lines=: |
| 2347 |
ac_sed_cmds="" |
| 2348 |
while $ac_more_lines; do |
| 2349 |
if test $ac_beg -gt 1; then |
| 2350 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
| 2351 |
else |
| 2352 |
sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
| 2353 |
fi |
| 2354 |
if test ! -s conftest.s$ac_file; then |
| 2355 |
ac_more_lines=false |
| 2356 |
rm -f conftest.s$ac_file |
| 2357 |
else |
| 2358 |
if test -z "$ac_sed_cmds"; then |
| 2359 |
ac_sed_cmds="sed -f conftest.s$ac_file" |
| 2360 |
else |
| 2361 |
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
| 2362 |
fi |
| 2363 |
ac_file=`expr $ac_file + 1` |
| 2364 |
ac_beg=$ac_end |
| 2365 |
ac_end=`expr $ac_end + $ac_max_sed_cmds` |
| 2366 |
fi |
| 2367 |
done |
| 2368 |
if test -z "$ac_sed_cmds"; then |
| 2369 |
ac_sed_cmds=cat |
| 2370 |
fi |
| 2371 |
EOF |
| 2372 |
|
| 2373 |
cat >> $CONFIG_STATUS <<EOF |
| 2374 |
|
| 2375 |
CONFIG_FILES=\${CONFIG_FILES-"makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdicplus/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile PubdicPlus/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile"} |
| 2376 |
EOF |
| 2377 |
cat >> $CONFIG_STATUS <<\EOF |
| 2378 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
| 2379 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 2380 |
case "$ac_file" in |
| 2381 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
| 2382 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
| 2383 |
*) ac_file_in="${ac_file}.in" ;; |
| 2384 |
esac |
| 2385 |
|
| 2386 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
| 2387 |
|
| 2388 |
# Remove last slash and all that follows it. Not all systems have dirname. |
| 2389 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
| 2390 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
| 2391 |
# The file is in a subdirectory. |
| 2392 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
| 2393 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
| 2394 |
# A "../" for each directory in $ac_dir_suffix. |
| 2395 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
| 2396 |
else |
| 2397 |
ac_dir_suffix= ac_dots= |
| 2398 |
fi |
| 2399 |
|
| 2400 |
case "$ac_given_srcdir" in |
| 2401 |
.) srcdir=. |
| 2402 |
if test -z "$ac_dots"; then top_srcdir=. |
| 2403 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
| 2404 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
| 2405 |
*) # Relative path. |
| 2406 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
| 2407 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
| 2408 |
esac |
| 2409 |
|
| 2410 |
case "$ac_given_INSTALL" in |
| 2411 |
[/$]*) INSTALL="$ac_given_INSTALL" ;; |
| 2412 |
*) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
| 2413 |
esac |
| 2414 |
|
| 2415 |
echo creating "$ac_file" |
| 2416 |
rm -f "$ac_file" |
| 2417 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
| 2418 |
case "$ac_file" in |
| 2419 |
*Makefile*) ac_comsub="1i\\ |
| 2420 |
# $configure_input" ;; |
| 2421 |
*) ac_comsub= ;; |
| 2422 |
esac |
| 2423 |
|
| 2424 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
| 2425 |
sed -e "$ac_comsub |
| 2426 |
s%@configure_input@%$configure_input%g |
| 2427 |
s%@srcdir@%$srcdir%g |
| 2428 |
s%@top_srcdir@%$top_srcdir%g |
| 2429 |
s%@INSTALL@%$INSTALL%g |
| 2430 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
| 2431 |
fi; done |
| 2432 |
rm -f conftest.s* |
| 2433 |
|
| 2434 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
| 2435 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
| 2436 |
# |
| 2437 |
# ac_d sets the value in "#define NAME VALUE" lines. |
| 2438 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
| 2439 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
| 2440 |
ac_dC='\3' |
| 2441 |
ac_dD='%g' |
| 2442 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
| 2443 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 2444 |
ac_uB='\([ ]\)%\1#\2define\3' |
| 2445 |
ac_uC=' ' |
| 2446 |
ac_uD='\4%g' |
| 2447 |
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
| 2448 |
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
| 2449 |
ac_eB='$%\1#\2define\3' |
| 2450 |
ac_eC=' ' |
| 2451 |
ac_eD='%g' |
| 2452 |
|
| 2453 |
if test "${CONFIG_HEADERS+set}" != set; then |
| 2454 |
EOF |
| 2455 |
cat >> $CONFIG_STATUS <<EOF |
| 2456 |
CONFIG_HEADERS="config.h" |
| 2457 |
EOF |
| 2458 |
cat >> $CONFIG_STATUS <<\EOF |
| 2459 |
fi |
| 2460 |
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
| 2461 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| 2462 |
case "$ac_file" in |
| 2463 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
| 2464 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
| 2465 |
*) ac_file_in="${ac_file}.in" ;; |
| 2466 |
esac |
| 2467 |
|
| 2468 |
echo creating $ac_file |
| 2469 |
|
| 2470 |
rm -f conftest.frag conftest.in conftest.out |
| 2471 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
| 2472 |
cat $ac_file_inputs > conftest.in |
| 2473 |
|
| 2474 |
EOF |
| 2475 |
|
| 2476 |
# Transform confdefs.h into a sed script conftest.vals that substitutes |
| 2477 |
# the proper values into config.h.in to produce config.h. And first: |
| 2478 |
# Protect against being on the right side of a sed subst in config.status. |
| 2479 |
# Protect against being in an unquoted here document in config.status. |
| 2480 |
rm -f conftest.vals |
| 2481 |
cat > conftest.hdr <<\EOF |
| 2482 |
s/[\\&%]/\\&/g |
| 2483 |
s%[\\$`]%\\&%g |
| 2484 |
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
| 2485 |
s%ac_d%ac_u%gp |
| 2486 |
s%ac_u%ac_e%gp |
| 2487 |
EOF |
| 2488 |
sed -n -f conftest.hdr confdefs.h > conftest.vals |
| 2489 |
rm -f conftest.hdr |
| 2490 |
|
| 2491 |
# This sed command replaces #undef with comments. This is necessary, for |
| 2492 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
| 2493 |
# on some systems where configure will not decide to define it. |
| 2494 |
cat >> conftest.vals <<\EOF |
| 2495 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
| 2496 |
EOF |
| 2497 |
|
| 2498 |
# Break up conftest.vals because some shells have a limit on |
| 2499 |
# the size of here documents, and old seds have small limits too. |
| 2500 |
|
| 2501 |
rm -f conftest.tail |
| 2502 |
while : |
| 2503 |
do |
| 2504 |
ac_lines=`grep -c . conftest.vals` |
| 2505 |
# grep -c gives empty output for an empty file on some AIX systems. |
| 2506 |
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
| 2507 |
# Write a limited-size here document to conftest.frag. |
| 2508 |
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
| 2509 |
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
| 2510 |
echo 'CEOF |
| 2511 |
sed -f conftest.frag conftest.in > conftest.out |
| 2512 |
rm -f conftest.in |
| 2513 |
mv conftest.out conftest.in |
| 2514 |
' >> $CONFIG_STATUS |
| 2515 |
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
| 2516 |
rm -f conftest.vals |
| 2517 |
mv conftest.tail conftest.vals |
| 2518 |
done |
| 2519 |
rm -f conftest.vals |
| 2520 |
|
| 2521 |
cat >> $CONFIG_STATUS <<\EOF |
| 2522 |
rm -f conftest.frag conftest.h |
| 2523 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
| 2524 |
cat conftest.in >> conftest.h |
| 2525 |
rm -f conftest.in |
| 2526 |
if cmp -s $ac_file conftest.h 2>/dev/null; then |
| 2527 |
echo "$ac_file is unchanged" |
| 2528 |
rm -f conftest.h |
| 2529 |
else |
| 2530 |
# Remove last slash and all that follows it. Not all systems have dirname. |
| 2531 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
| 2532 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
| 2533 |
# The file is in a subdirectory. |
| 2534 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
| 2535 |
fi |
| 2536 |
rm -f $ac_file |
| 2537 |
mv conftest.h $ac_file |
| 2538 |
fi |
| 2539 |
fi; done |
| 2540 |
|
| 2541 |
EOF |
| 2542 |
cat >> $CONFIG_STATUS <<EOF |
| 2543 |
|
| 2544 |
EOF |
| 2545 |
cat >> $CONFIG_STATUS <<\EOF |
| 2546 |
|
| 2547 |
exit 0 |
| 2548 |
EOF |
| 2549 |
chmod +x $CONFIG_STATUS |
| 2550 |
rm -fr confdefs* $ac_clean_files |
| 2551 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
| 2552 |
|