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