[10764] | 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-com_err=PREFIX Specify location of com_err" |
---|
| 16 | ac_help="$ac_help |
---|
| 17 | --with-krb4=PREFIX Specify location of Kerberos 4" |
---|
| 18 | ac_help="$ac_help |
---|
| 19 | --with-afs=PREFIX Specify location of AFS libraries" |
---|
| 20 | |
---|
| 21 | # Initialize some variables set by options. |
---|
| 22 | # The variables have the same names as the options, with |
---|
| 23 | # dashes changed to underlines. |
---|
| 24 | build=NONE |
---|
| 25 | cache_file=./config.cache |
---|
| 26 | exec_prefix=NONE |
---|
| 27 | host=NONE |
---|
| 28 | no_create= |
---|
| 29 | nonopt=NONE |
---|
| 30 | no_recursion= |
---|
| 31 | prefix=NONE |
---|
| 32 | program_prefix=NONE |
---|
| 33 | program_suffix=NONE |
---|
| 34 | program_transform_name=s,x,x, |
---|
| 35 | silent= |
---|
| 36 | site= |
---|
| 37 | srcdir= |
---|
| 38 | target=NONE |
---|
| 39 | verbose= |
---|
| 40 | x_includes=NONE |
---|
| 41 | x_libraries=NONE |
---|
| 42 | bindir='${exec_prefix}/bin' |
---|
| 43 | sbindir='${exec_prefix}/sbin' |
---|
| 44 | libexecdir='${exec_prefix}/libexec' |
---|
| 45 | datadir='${prefix}/share' |
---|
| 46 | sysconfdir='${prefix}/etc' |
---|
| 47 | sharedstatedir='${prefix}/com' |
---|
| 48 | localstatedir='${prefix}/var' |
---|
| 49 | libdir='${exec_prefix}/lib' |
---|
| 50 | includedir='${prefix}/include' |
---|
| 51 | oldincludedir='/usr/include' |
---|
| 52 | infodir='${prefix}/info' |
---|
| 53 | mandir='${prefix}/man' |
---|
| 54 | |
---|
| 55 | # Initialize some other variables. |
---|
| 56 | subdirs= |
---|
| 57 | MFLAGS= MAKEFLAGS= |
---|
| 58 | # Maximum number of lines to put in a shell here document. |
---|
| 59 | ac_max_here_lines=12 |
---|
| 60 | |
---|
| 61 | ac_prev= |
---|
| 62 | for ac_option |
---|
| 63 | do |
---|
| 64 | |
---|
| 65 | # If the previous option needs an argument, assign it. |
---|
| 66 | if test -n "$ac_prev"; then |
---|
| 67 | eval "$ac_prev=\$ac_option" |
---|
| 68 | ac_prev= |
---|
| 69 | continue |
---|
| 70 | fi |
---|
| 71 | |
---|
| 72 | case "$ac_option" in |
---|
| 73 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
---|
| 74 | *) ac_optarg= ;; |
---|
| 75 | esac |
---|
| 76 | |
---|
| 77 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 78 | |
---|
| 79 | case "$ac_option" in |
---|
| 80 | |
---|
| 81 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 82 | ac_prev=bindir ;; |
---|
| 83 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 84 | bindir="$ac_optarg" ;; |
---|
| 85 | |
---|
| 86 | -build | --build | --buil | --bui | --bu) |
---|
| 87 | ac_prev=build ;; |
---|
| 88 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 89 | build="$ac_optarg" ;; |
---|
| 90 | |
---|
| 91 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 92 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 93 | ac_prev=cache_file ;; |
---|
| 94 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 95 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 96 | cache_file="$ac_optarg" ;; |
---|
| 97 | |
---|
| 98 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
| 99 | ac_prev=datadir ;; |
---|
| 100 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
| 101 | | --da=*) |
---|
| 102 | datadir="$ac_optarg" ;; |
---|
| 103 | |
---|
| 104 | -disable-* | --disable-*) |
---|
| 105 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
---|
| 106 | # Reject names that are not valid shell variable names. |
---|
| 107 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
| 108 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
| 109 | fi |
---|
| 110 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
| 111 | eval "enable_${ac_feature}=no" ;; |
---|
| 112 | |
---|
| 113 | -enable-* | --enable-*) |
---|
| 114 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
---|
| 115 | # Reject names that are not valid shell variable names. |
---|
| 116 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
| 117 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
| 118 | fi |
---|
| 119 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
| 120 | case "$ac_option" in |
---|
| 121 | *=*) ;; |
---|
| 122 | *) ac_optarg=yes ;; |
---|
| 123 | esac |
---|
| 124 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
---|
| 125 | |
---|
| 126 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 127 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 128 | | --exec | --exe | --ex) |
---|
| 129 | ac_prev=exec_prefix ;; |
---|
| 130 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 131 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 132 | | --exec=* | --exe=* | --ex=*) |
---|
| 133 | exec_prefix="$ac_optarg" ;; |
---|
| 134 | |
---|
| 135 | -gas | --gas | --ga | --g) |
---|
| 136 | # Obsolete; use --with-gas. |
---|
| 137 | with_gas=yes ;; |
---|
| 138 | |
---|
| 139 | -help | --help | --hel | --he) |
---|
| 140 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 141 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 142 | cat << EOF |
---|
| 143 | Usage: configure [options] [host] |
---|
| 144 | Options: [defaults in brackets after descriptions] |
---|
| 145 | Configuration: |
---|
| 146 | --cache-file=FILE cache test results in FILE |
---|
| 147 | --help print this message |
---|
| 148 | --no-create do not create output files |
---|
| 149 | --quiet, --silent do not print \`checking...' messages |
---|
| 150 | --version print the version of autoconf that created configure |
---|
| 151 | Directory and file names: |
---|
| 152 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 153 | [$ac_default_prefix] |
---|
| 154 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 155 | [same as prefix] |
---|
| 156 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
---|
| 157 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
---|
| 158 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
---|
| 159 | --datadir=DIR read-only architecture-independent data in DIR |
---|
| 160 | [PREFIX/share] |
---|
| 161 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
---|
| 162 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
---|
| 163 | [PREFIX/com] |
---|
| 164 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
---|
| 165 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
---|
| 166 | --includedir=DIR C header files in DIR [PREFIX/include] |
---|
| 167 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
---|
| 168 | --infodir=DIR info documentation in DIR [PREFIX/info] |
---|
| 169 | --mandir=DIR man documentation in DIR [PREFIX/man] |
---|
| 170 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
---|
| 171 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 172 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 173 | --program-transform-name=PROGRAM |
---|
| 174 | run sed PROGRAM on installed program names |
---|
| 175 | EOF |
---|
| 176 | cat << EOF |
---|
| 177 | Host type: |
---|
| 178 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
---|
| 179 | --host=HOST configure for HOST [guessed] |
---|
| 180 | --target=TARGET configure for TARGET [TARGET=HOST] |
---|
| 181 | Features and packages: |
---|
| 182 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 183 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
| 184 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
| 185 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
| 186 | --x-includes=DIR X include files are in DIR |
---|
| 187 | --x-libraries=DIR X library files are in DIR |
---|
| 188 | EOF |
---|
| 189 | if test -n "$ac_help"; then |
---|
| 190 | echo "--enable and --with options recognized:$ac_help" |
---|
| 191 | fi |
---|
| 192 | exit 0 ;; |
---|
| 193 | |
---|
| 194 | -host | --host | --hos | --ho) |
---|
| 195 | ac_prev=host ;; |
---|
| 196 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 197 | host="$ac_optarg" ;; |
---|
| 198 | |
---|
| 199 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 200 | | --includ | --inclu | --incl | --inc) |
---|
| 201 | ac_prev=includedir ;; |
---|
| 202 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 203 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 204 | includedir="$ac_optarg" ;; |
---|
| 205 | |
---|
| 206 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 207 | ac_prev=infodir ;; |
---|
| 208 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 209 | infodir="$ac_optarg" ;; |
---|
| 210 | |
---|
| 211 | -libdir | --libdir | --libdi | --libd) |
---|
| 212 | ac_prev=libdir ;; |
---|
| 213 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 214 | libdir="$ac_optarg" ;; |
---|
| 215 | |
---|
| 216 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 217 | | --libexe | --libex | --libe) |
---|
| 218 | ac_prev=libexecdir ;; |
---|
| 219 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 220 | | --libexe=* | --libex=* | --libe=*) |
---|
| 221 | libexecdir="$ac_optarg" ;; |
---|
| 222 | |
---|
| 223 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 224 | | --localstate | --localstat | --localsta | --localst \ |
---|
| 225 | | --locals | --local | --loca | --loc | --lo) |
---|
| 226 | ac_prev=localstatedir ;; |
---|
| 227 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 228 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
| 229 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
| 230 | localstatedir="$ac_optarg" ;; |
---|
| 231 | |
---|
| 232 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 233 | ac_prev=mandir ;; |
---|
| 234 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 235 | mandir="$ac_optarg" ;; |
---|
| 236 | |
---|
| 237 | -nfp | --nfp | --nf) |
---|
| 238 | # Obsolete; use --without-fp. |
---|
| 239 | with_fp=no ;; |
---|
| 240 | |
---|
| 241 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 242 | | --no-cr | --no-c) |
---|
| 243 | no_create=yes ;; |
---|
| 244 | |
---|
| 245 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 246 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 247 | no_recursion=yes ;; |
---|
| 248 | |
---|
| 249 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 250 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 251 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 252 | ac_prev=oldincludedir ;; |
---|
| 253 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 254 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 255 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 256 | oldincludedir="$ac_optarg" ;; |
---|
| 257 | |
---|
| 258 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 259 | ac_prev=prefix ;; |
---|
| 260 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 261 | prefix="$ac_optarg" ;; |
---|
| 262 | |
---|
| 263 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 264 | | --program-pre | --program-pr | --program-p) |
---|
| 265 | ac_prev=program_prefix ;; |
---|
| 266 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 267 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 268 | program_prefix="$ac_optarg" ;; |
---|
| 269 | |
---|
| 270 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 271 | | --program-suf | --program-su | --program-s) |
---|
| 272 | ac_prev=program_suffix ;; |
---|
| 273 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 274 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 275 | program_suffix="$ac_optarg" ;; |
---|
| 276 | |
---|
| 277 | -program-transform-name | --program-transform-name \ |
---|
| 278 | | --program-transform-nam | --program-transform-na \ |
---|
| 279 | | --program-transform-n | --program-transform- \ |
---|
| 280 | | --program-transform | --program-transfor \ |
---|
| 281 | | --program-transfo | --program-transf \ |
---|
| 282 | | --program-trans | --program-tran \ |
---|
| 283 | | --progr-tra | --program-tr | --program-t) |
---|
| 284 | ac_prev=program_transform_name ;; |
---|
| 285 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 286 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 287 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 288 | | --program-transform=* | --program-transfor=* \ |
---|
| 289 | | --program-transfo=* | --program-transf=* \ |
---|
| 290 | | --program-trans=* | --program-tran=* \ |
---|
| 291 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 292 | program_transform_name="$ac_optarg" ;; |
---|
| 293 | |
---|
| 294 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 295 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 296 | silent=yes ;; |
---|
| 297 | |
---|
| 298 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 299 | ac_prev=sbindir ;; |
---|
| 300 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 301 | | --sbi=* | --sb=*) |
---|
| 302 | sbindir="$ac_optarg" ;; |
---|
| 303 | |
---|
| 304 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 305 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 306 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 307 | | --sha | --sh) |
---|
| 308 | ac_prev=sharedstatedir ;; |
---|
| 309 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 310 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 311 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 312 | | --sha=* | --sh=*) |
---|
| 313 | sharedstatedir="$ac_optarg" ;; |
---|
| 314 | |
---|
| 315 | -site | --site | --sit) |
---|
| 316 | ac_prev=site ;; |
---|
| 317 | -site=* | --site=* | --sit=*) |
---|
| 318 | site="$ac_optarg" ;; |
---|
| 319 | |
---|
| 320 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 321 | ac_prev=srcdir ;; |
---|
| 322 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 323 | srcdir="$ac_optarg" ;; |
---|
| 324 | |
---|
| 325 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 326 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 327 | ac_prev=sysconfdir ;; |
---|
| 328 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 329 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 330 | sysconfdir="$ac_optarg" ;; |
---|
| 331 | |
---|
| 332 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 333 | ac_prev=target ;; |
---|
| 334 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 335 | target="$ac_optarg" ;; |
---|
| 336 | |
---|
| 337 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 338 | verbose=yes ;; |
---|
| 339 | |
---|
| 340 | -version | --version | --versio | --versi | --vers) |
---|
| 341 | echo "configure generated by autoconf version 2.12" |
---|
| 342 | exit 0 ;; |
---|
| 343 | |
---|
| 344 | -with-* | --with-*) |
---|
| 345 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
---|
| 346 | # Reject names that are not valid shell variable names. |
---|
| 347 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
| 348 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
| 349 | fi |
---|
| 350 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 351 | case "$ac_option" in |
---|
| 352 | *=*) ;; |
---|
| 353 | *) ac_optarg=yes ;; |
---|
| 354 | esac |
---|
| 355 | eval "with_${ac_package}='$ac_optarg'" ;; |
---|
| 356 | |
---|
| 357 | -without-* | --without-*) |
---|
| 358 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
---|
| 359 | # Reject names that are not valid shell variable names. |
---|
| 360 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
| 361 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
| 362 | fi |
---|
| 363 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 364 | eval "with_${ac_package}=no" ;; |
---|
| 365 | |
---|
| 366 | --x) |
---|
| 367 | # Obsolete; use --with-x. |
---|
| 368 | with_x=yes ;; |
---|
| 369 | |
---|
| 370 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 371 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 372 | ac_prev=x_includes ;; |
---|
| 373 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 374 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 375 | x_includes="$ac_optarg" ;; |
---|
| 376 | |
---|
| 377 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 378 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 379 | ac_prev=x_libraries ;; |
---|
| 380 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 381 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 382 | x_libraries="$ac_optarg" ;; |
---|
| 383 | |
---|
| 384 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
---|
| 385 | ;; |
---|
| 386 | |
---|
| 387 | *) |
---|
| 388 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
---|
| 389 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
---|
| 390 | fi |
---|
| 391 | if test "x$nonopt" != xNONE; then |
---|
| 392 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
---|
| 393 | fi |
---|
| 394 | nonopt="$ac_option" |
---|
| 395 | ;; |
---|
| 396 | |
---|
| 397 | esac |
---|
| 398 | done |
---|
| 399 | |
---|
| 400 | if test -n "$ac_prev"; then |
---|
| 401 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
---|
| 402 | fi |
---|
| 403 | |
---|
| 404 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
| 405 | |
---|
| 406 | # File descriptor usage: |
---|
| 407 | # 0 standard input |
---|
| 408 | # 1 file creation |
---|
| 409 | # 2 errors and warnings |
---|
| 410 | # 3 some systems may open it to /dev/tty |
---|
| 411 | # 4 used on the Kubota Titan |
---|
| 412 | # 6 checking for... messages and results |
---|
| 413 | # 5 compiler messages saved in config.log |
---|
| 414 | if test "$silent" = yes; then |
---|
| 415 | exec 6>/dev/null |
---|
| 416 | else |
---|
| 417 | exec 6>&1 |
---|
| 418 | fi |
---|
| 419 | exec 5>./config.log |
---|
| 420 | |
---|
| 421 | echo "\ |
---|
| 422 | This file contains any messages produced by compilers while |
---|
| 423 | running configure, to aid debugging if configure makes a mistake. |
---|
| 424 | " 1>&5 |
---|
| 425 | |
---|
| 426 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 427 | # Also quote any args containing shell metacharacters. |
---|
| 428 | ac_configure_args= |
---|
| 429 | for ac_arg |
---|
| 430 | do |
---|
| 431 | case "$ac_arg" in |
---|
| 432 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 433 | | --no-cr | --no-c) ;; |
---|
| 434 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 435 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
---|
| 436 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
---|
| 437 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
| 438 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
---|
| 439 | esac |
---|
| 440 | done |
---|
| 441 | |
---|
| 442 | # NLS nuisances. |
---|
| 443 | # Only set these to C if already set. These must not be set unconditionally |
---|
| 444 | # because not all systems understand e.g. LANG=C (notably SCO). |
---|
| 445 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
---|
| 446 | # Non-C LC_CTYPE values break the ctype check. |
---|
| 447 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
---|
| 448 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
---|
| 449 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
---|
| 450 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
---|
| 451 | |
---|
| 452 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 453 | rm -rf conftest* confdefs.h |
---|
| 454 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
| 455 | echo > confdefs.h |
---|
| 456 | |
---|
| 457 | # A filename unique to this package, relative to the directory that |
---|
| 458 | # configure is in, which we can look for to find out if srcdir is correct. |
---|
| 459 | ac_unique_file=aklog.c |
---|
| 460 | |
---|
| 461 | # Find the source files, if location was not specified. |
---|
| 462 | if test -z "$srcdir"; then |
---|
| 463 | ac_srcdir_defaulted=yes |
---|
| 464 | # Try the directory containing this script, then its parent. |
---|
| 465 | ac_prog=$0 |
---|
| 466 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
---|
| 467 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
---|
| 468 | srcdir=$ac_confdir |
---|
| 469 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 470 | srcdir=.. |
---|
| 471 | fi |
---|
| 472 | else |
---|
| 473 | ac_srcdir_defaulted=no |
---|
| 474 | fi |
---|
| 475 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 476 | if test "$ac_srcdir_defaulted" = yes; then |
---|
| 477 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
---|
| 478 | else |
---|
| 479 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
---|
| 480 | fi |
---|
| 481 | fi |
---|
| 482 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
---|
| 483 | |
---|
| 484 | # Prefer explicitly selected file to automatically selected ones. |
---|
| 485 | if test -z "$CONFIG_SITE"; then |
---|
| 486 | if test "x$prefix" != xNONE; then |
---|
| 487 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
| 488 | else |
---|
| 489 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
| 490 | fi |
---|
| 491 | fi |
---|
| 492 | for ac_site_file in $CONFIG_SITE; do |
---|
| 493 | if test -r "$ac_site_file"; then |
---|
| 494 | echo "loading site script $ac_site_file" |
---|
| 495 | . "$ac_site_file" |
---|
| 496 | fi |
---|
| 497 | done |
---|
| 498 | |
---|
| 499 | if test -r "$cache_file"; then |
---|
| 500 | echo "loading cache $cache_file" |
---|
| 501 | . $cache_file |
---|
| 502 | else |
---|
| 503 | echo "creating cache $cache_file" |
---|
| 504 | > $cache_file |
---|
| 505 | fi |
---|
| 506 | |
---|
| 507 | ac_ext=c |
---|
| 508 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 509 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 510 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 511 | ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 512 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 513 | |
---|
| 514 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
---|
| 515 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
---|
| 516 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
---|
| 517 | ac_n= ac_c=' |
---|
| 518 | ' ac_t=' ' |
---|
| 519 | else |
---|
| 520 | ac_n=-n ac_c= ac_t= |
---|
| 521 | fi |
---|
| 522 | else |
---|
| 523 | ac_n= ac_c='\c' ac_t= |
---|
| 524 | fi |
---|
| 525 | |
---|
| 526 | |
---|
| 527 | |
---|
[10896] | 528 | test -z "$lbindir" && lbindir='${bindir}' |
---|
| 529 | |
---|
| 530 | |
---|
[10764] | 531 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 532 | set dummy gcc; ac_word=$2 |
---|
| 533 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[10896] | 534 | echo "configure:535: checking for $ac_word" >&5 |
---|
[10764] | 535 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 536 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 537 | else |
---|
| 538 | if test -n "$CC"; then |
---|
| 539 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 540 | else |
---|
| 541 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
| 542 | for ac_dir in $PATH; do |
---|
| 543 | test -z "$ac_dir" && ac_dir=. |
---|
| 544 | if test -f $ac_dir/$ac_word; then |
---|
| 545 | ac_cv_prog_CC="gcc" |
---|
| 546 | break |
---|
| 547 | fi |
---|
| 548 | done |
---|
| 549 | IFS="$ac_save_ifs" |
---|
| 550 | fi |
---|
| 551 | fi |
---|
| 552 | CC="$ac_cv_prog_CC" |
---|
| 553 | if test -n "$CC"; then |
---|
| 554 | echo "$ac_t""$CC" 1>&6 |
---|
| 555 | else |
---|
| 556 | echo "$ac_t""no" 1>&6 |
---|
| 557 | fi |
---|
| 558 | |
---|
| 559 | if test -z "$CC"; then |
---|
| 560 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 561 | set dummy cc; ac_word=$2 |
---|
| 562 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[10896] | 563 | echo "configure:564: checking for $ac_word" >&5 |
---|
[10764] | 564 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 565 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 566 | else |
---|
| 567 | if test -n "$CC"; then |
---|
| 568 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 569 | else |
---|
| 570 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
| 571 | ac_prog_rejected=no |
---|
| 572 | for ac_dir in $PATH; do |
---|
| 573 | test -z "$ac_dir" && ac_dir=. |
---|
| 574 | if test -f $ac_dir/$ac_word; then |
---|
| 575 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
---|
| 576 | ac_prog_rejected=yes |
---|
| 577 | continue |
---|
| 578 | fi |
---|
| 579 | ac_cv_prog_CC="cc" |
---|
| 580 | break |
---|
| 581 | fi |
---|
| 582 | done |
---|
| 583 | IFS="$ac_save_ifs" |
---|
| 584 | if test $ac_prog_rejected = yes; then |
---|
| 585 | # We found a bogon in the path, so make sure we never use it. |
---|
| 586 | set dummy $ac_cv_prog_CC |
---|
| 587 | shift |
---|
| 588 | if test $# -gt 0; then |
---|
| 589 | # We chose a different compiler from the bogus one. |
---|
| 590 | # However, it has the same basename, so the bogon will be chosen |
---|
| 591 | # first if we set CC to just the basename; use the full file name. |
---|
| 592 | shift |
---|
| 593 | set dummy "$ac_dir/$ac_word" "$@" |
---|
| 594 | shift |
---|
| 595 | ac_cv_prog_CC="$@" |
---|
| 596 | fi |
---|
| 597 | fi |
---|
| 598 | fi |
---|
| 599 | fi |
---|
| 600 | CC="$ac_cv_prog_CC" |
---|
| 601 | if test -n "$CC"; then |
---|
| 602 | echo "$ac_t""$CC" 1>&6 |
---|
| 603 | else |
---|
| 604 | echo "$ac_t""no" 1>&6 |
---|
| 605 | fi |
---|
| 606 | |
---|
| 607 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
---|
| 608 | fi |
---|
| 609 | |
---|
| 610 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
---|
[10896] | 611 | echo "configure:612: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
---|
[10764] | 612 | |
---|
| 613 | ac_ext=c |
---|
| 614 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 615 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 616 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 617 | ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 618 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 619 | |
---|
| 620 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 621 | #line 622 "configure" |
---|
[10764] | 622 | #include "confdefs.h" |
---|
| 623 | main(){return(0);} |
---|
| 624 | EOF |
---|
[10896] | 625 | if { (eval echo configure:626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 626 | ac_cv_prog_cc_works=yes |
---|
| 627 | # If we can't run a trivial program, we are probably using a cross compiler. |
---|
| 628 | if (./conftest; exit) 2>/dev/null; then |
---|
| 629 | ac_cv_prog_cc_cross=no |
---|
| 630 | else |
---|
| 631 | ac_cv_prog_cc_cross=yes |
---|
| 632 | fi |
---|
| 633 | else |
---|
| 634 | echo "configure: failed program was:" >&5 |
---|
| 635 | cat conftest.$ac_ext >&5 |
---|
| 636 | ac_cv_prog_cc_works=no |
---|
| 637 | fi |
---|
| 638 | rm -fr conftest* |
---|
| 639 | |
---|
| 640 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
---|
| 641 | if test $ac_cv_prog_cc_works = no; then |
---|
| 642 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
---|
| 643 | fi |
---|
| 644 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
---|
[10896] | 645 | echo "configure:646: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
---|
[10764] | 646 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
---|
| 647 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 648 | |
---|
| 649 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
---|
[10896] | 650 | echo "configure:651: checking whether we are using GNU C" >&5 |
---|
[10764] | 651 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
---|
| 652 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 653 | else |
---|
| 654 | cat > conftest.c <<EOF |
---|
| 655 | #ifdef __GNUC__ |
---|
| 656 | yes; |
---|
| 657 | #endif |
---|
| 658 | EOF |
---|
[10896] | 659 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
---|
[10764] | 660 | ac_cv_prog_gcc=yes |
---|
| 661 | else |
---|
| 662 | ac_cv_prog_gcc=no |
---|
| 663 | fi |
---|
| 664 | fi |
---|
| 665 | |
---|
| 666 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
---|
| 667 | |
---|
| 668 | if test $ac_cv_prog_gcc = yes; then |
---|
| 669 | GCC=yes |
---|
| 670 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
| 671 | ac_save_CFLAGS="$CFLAGS" |
---|
| 672 | CFLAGS= |
---|
| 673 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
---|
[10896] | 674 | echo "configure:675: checking whether ${CC-cc} accepts -g" >&5 |
---|
[10764] | 675 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
---|
| 676 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 677 | else |
---|
| 678 | echo 'void f(){}' > conftest.c |
---|
| 679 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
---|
| 680 | ac_cv_prog_cc_g=yes |
---|
| 681 | else |
---|
| 682 | ac_cv_prog_cc_g=no |
---|
| 683 | fi |
---|
| 684 | rm -f conftest* |
---|
| 685 | |
---|
| 686 | fi |
---|
| 687 | |
---|
| 688 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
---|
| 689 | if test "$ac_test_CFLAGS" = set; then |
---|
| 690 | CFLAGS="$ac_save_CFLAGS" |
---|
| 691 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 692 | CFLAGS="-g -O2" |
---|
| 693 | else |
---|
| 694 | CFLAGS="-O2" |
---|
| 695 | fi |
---|
| 696 | else |
---|
| 697 | GCC= |
---|
| 698 | test "${CFLAGS+set}" = set || CFLAGS="-g" |
---|
| 699 | fi |
---|
| 700 | |
---|
| 701 | ac_aux_dir= |
---|
| 702 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
| 703 | if test -f $ac_dir/install-sh; then |
---|
| 704 | ac_aux_dir=$ac_dir |
---|
| 705 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 706 | break |
---|
| 707 | elif test -f $ac_dir/install.sh; then |
---|
| 708 | ac_aux_dir=$ac_dir |
---|
| 709 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 710 | break |
---|
| 711 | fi |
---|
| 712 | done |
---|
| 713 | if test -z "$ac_aux_dir"; then |
---|
| 714 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
| 715 | fi |
---|
| 716 | ac_config_guess=$ac_aux_dir/config.guess |
---|
| 717 | ac_config_sub=$ac_aux_dir/config.sub |
---|
| 718 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
| 719 | |
---|
| 720 | # Find a good install program. We prefer a C program (faster), |
---|
| 721 | # so one script is as good as another. But avoid the broken or |
---|
| 722 | # incompatible versions: |
---|
| 723 | # SysV /etc/install, /usr/sbin/install |
---|
| 724 | # SunOS /usr/etc/install |
---|
| 725 | # IRIX /sbin/install |
---|
| 726 | # AIX /bin/install |
---|
| 727 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 728 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 729 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 730 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
---|
[10896] | 731 | echo "configure:732: checking for a BSD compatible install" >&5 |
---|
[10764] | 732 | if test -z "$INSTALL"; then |
---|
| 733 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
---|
| 734 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 735 | else |
---|
| 736 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
---|
| 737 | for ac_dir in $PATH; do |
---|
| 738 | # Account for people who put trailing slashes in PATH elements. |
---|
| 739 | case "$ac_dir/" in |
---|
| 740 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
---|
| 741 | *) |
---|
| 742 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 743 | for ac_prog in ginstall installbsd scoinst install; do |
---|
| 744 | if test -f $ac_dir/$ac_prog; then |
---|
| 745 | if test $ac_prog = install && |
---|
| 746 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
---|
| 747 | # AIX install. It has an incompatible calling convention. |
---|
| 748 | # OSF/1 installbsd also uses dspmsg, but is usable. |
---|
| 749 | : |
---|
| 750 | else |
---|
| 751 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
---|
| 752 | break 2 |
---|
| 753 | fi |
---|
| 754 | fi |
---|
| 755 | done |
---|
| 756 | ;; |
---|
| 757 | esac |
---|
| 758 | done |
---|
| 759 | IFS="$ac_save_IFS" |
---|
| 760 | |
---|
| 761 | fi |
---|
| 762 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 763 | INSTALL="$ac_cv_path_install" |
---|
| 764 | else |
---|
| 765 | # As a last resort, use the slow shell script. We don't cache a |
---|
| 766 | # path for INSTALL within a source directory, because that will |
---|
| 767 | # break other packages using the cache if that directory is |
---|
| 768 | # removed, or if the path is relative. |
---|
| 769 | INSTALL="$ac_install_sh" |
---|
| 770 | fi |
---|
| 771 | fi |
---|
| 772 | echo "$ac_t""$INSTALL" 1>&6 |
---|
| 773 | |
---|
| 774 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 775 | # It thinks the first close brace ends the variable substitution. |
---|
| 776 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 777 | |
---|
| 778 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 779 | |
---|
| 780 | |
---|
| 781 | # Check whether --with-com_err or --without-com_err was given. |
---|
| 782 | if test "${with_com_err+set}" = set; then |
---|
| 783 | withval="$with_com_err" |
---|
| 784 | com_err="$withval" |
---|
| 785 | else |
---|
| 786 | com_err=yes |
---|
| 787 | fi |
---|
| 788 | |
---|
| 789 | if test "$com_err" != no; then |
---|
| 790 | if test "$com_err" != yes; then |
---|
| 791 | CPPFLAGS="$CPPFLAGS -I$com_err/include" |
---|
| 792 | LDFLAGS="$LDFLAGS -L$com_err/lib" |
---|
| 793 | fi |
---|
| 794 | echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
---|
[10896] | 795 | echo "configure:796: checking for com_err in -lcom_err" >&5 |
---|
[10764] | 796 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
---|
| 797 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 798 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 799 | else |
---|
| 800 | ac_save_LIBS="$LIBS" |
---|
| 801 | LIBS="-lcom_err $LIBS" |
---|
| 802 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 803 | #line 804 "configure" |
---|
[10764] | 804 | #include "confdefs.h" |
---|
| 805 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 806 | /* We use char because int might match the return type of a gcc2 |
---|
| 807 | builtin and then its argument prototype would still apply. */ |
---|
| 808 | char com_err(); |
---|
| 809 | |
---|
| 810 | int main() { |
---|
| 811 | com_err() |
---|
| 812 | ; return 0; } |
---|
| 813 | EOF |
---|
[10896] | 814 | if { (eval echo configure:815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 815 | rm -rf conftest* |
---|
| 816 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 817 | else |
---|
| 818 | echo "configure: failed program was:" >&5 |
---|
| 819 | cat conftest.$ac_ext >&5 |
---|
| 820 | rm -rf conftest* |
---|
| 821 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 822 | fi |
---|
| 823 | rm -f conftest* |
---|
| 824 | LIBS="$ac_save_LIBS" |
---|
| 825 | |
---|
| 826 | fi |
---|
| 827 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 828 | echo "$ac_t""yes" 1>&6 |
---|
| 829 | : |
---|
| 830 | else |
---|
| 831 | echo "$ac_t""no" 1>&6 |
---|
| 832 | { echo "configure: error: com_err library not found" 1>&2; exit 1; } |
---|
| 833 | fi |
---|
| 834 | |
---|
| 835 | else |
---|
| 836 | { echo "configure: error: This package requires com_err." 1>&2; exit 1; } |
---|
| 837 | fi |
---|
| 838 | # Check whether --with-krb4 or --without-krb4 was given. |
---|
| 839 | if test "${with_krb4+set}" = set; then |
---|
| 840 | withval="$with_krb4" |
---|
| 841 | krb4="$withval" |
---|
| 842 | else |
---|
| 843 | krb4=yes |
---|
| 844 | fi |
---|
| 845 | |
---|
| 846 | if test "$afs" != no; then |
---|
[10826] | 847 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
---|
[10896] | 848 | echo "configure:849: checking for gethostbyname" >&5 |
---|
[10826] | 849 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
---|
| 850 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 851 | else |
---|
| 852 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 853 | #line 854 "configure" |
---|
[10826] | 854 | #include "confdefs.h" |
---|
| 855 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 856 | which can conflict with char gethostbyname(); below. */ |
---|
| 857 | #include <assert.h> |
---|
| 858 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 859 | /* We use char because int might match the return type of a gcc2 |
---|
| 860 | builtin and then its argument prototype would still apply. */ |
---|
| 861 | char gethostbyname(); |
---|
| 862 | |
---|
| 863 | int main() { |
---|
| 864 | |
---|
| 865 | /* The GNU C library defines this for functions which it implements |
---|
| 866 | to always fail with ENOSYS. Some functions are actually named |
---|
| 867 | something starting with __ and the normal name is an alias. */ |
---|
| 868 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
---|
| 869 | choke me |
---|
| 870 | #else |
---|
| 871 | gethostbyname(); |
---|
| 872 | #endif |
---|
| 873 | |
---|
| 874 | ; return 0; } |
---|
| 875 | EOF |
---|
[10896] | 876 | if { (eval echo configure:877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10826] | 877 | rm -rf conftest* |
---|
| 878 | eval "ac_cv_func_gethostbyname=yes" |
---|
| 879 | else |
---|
| 880 | echo "configure: failed program was:" >&5 |
---|
| 881 | cat conftest.$ac_ext >&5 |
---|
| 882 | rm -rf conftest* |
---|
| 883 | eval "ac_cv_func_gethostbyname=no" |
---|
| 884 | fi |
---|
| 885 | rm -f conftest* |
---|
| 886 | fi |
---|
| 887 | |
---|
| 888 | if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
---|
| 889 | echo "$ac_t""yes" 1>&6 |
---|
| 890 | : |
---|
| 891 | else |
---|
| 892 | echo "$ac_t""no" 1>&6 |
---|
| 893 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
---|
[10896] | 894 | echo "configure:895: checking for gethostbyname in -lnsl" >&5 |
---|
[10826] | 895 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
---|
| 896 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 897 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 898 | else |
---|
| 899 | ac_save_LIBS="$LIBS" |
---|
| 900 | LIBS="-lnsl $LIBS" |
---|
| 901 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 902 | #line 903 "configure" |
---|
[10826] | 903 | #include "confdefs.h" |
---|
| 904 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 905 | /* We use char because int might match the return type of a gcc2 |
---|
| 906 | builtin and then its argument prototype would still apply. */ |
---|
| 907 | char gethostbyname(); |
---|
| 908 | |
---|
| 909 | int main() { |
---|
| 910 | gethostbyname() |
---|
| 911 | ; return 0; } |
---|
| 912 | EOF |
---|
[10896] | 913 | if { (eval echo configure:914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10826] | 914 | rm -rf conftest* |
---|
| 915 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 916 | else |
---|
| 917 | echo "configure: failed program was:" >&5 |
---|
| 918 | cat conftest.$ac_ext >&5 |
---|
| 919 | rm -rf conftest* |
---|
| 920 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 921 | fi |
---|
| 922 | rm -f conftest* |
---|
| 923 | LIBS="$ac_save_LIBS" |
---|
| 924 | |
---|
| 925 | fi |
---|
| 926 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 927 | echo "$ac_t""yes" 1>&6 |
---|
| 928 | ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \ |
---|
| 929 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 930 | cat >> confdefs.h <<EOF |
---|
| 931 | #define $ac_tr_lib 1 |
---|
| 932 | EOF |
---|
| 933 | |
---|
| 934 | LIBS="-lnsl $LIBS" |
---|
| 935 | |
---|
| 936 | else |
---|
| 937 | echo "$ac_t""no" 1>&6 |
---|
| 938 | fi |
---|
| 939 | |
---|
| 940 | fi |
---|
| 941 | |
---|
| 942 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
---|
[10896] | 943 | echo "configure:944: checking for socket" >&5 |
---|
[10826] | 944 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
---|
| 945 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 946 | else |
---|
| 947 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 948 | #line 949 "configure" |
---|
[10826] | 949 | #include "confdefs.h" |
---|
| 950 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 951 | which can conflict with char socket(); below. */ |
---|
| 952 | #include <assert.h> |
---|
| 953 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 954 | /* We use char because int might match the return type of a gcc2 |
---|
| 955 | builtin and then its argument prototype would still apply. */ |
---|
| 956 | char socket(); |
---|
| 957 | |
---|
| 958 | int main() { |
---|
| 959 | |
---|
| 960 | /* The GNU C library defines this for functions which it implements |
---|
| 961 | to always fail with ENOSYS. Some functions are actually named |
---|
| 962 | something starting with __ and the normal name is an alias. */ |
---|
| 963 | #if defined (__stub_socket) || defined (__stub___socket) |
---|
| 964 | choke me |
---|
| 965 | #else |
---|
| 966 | socket(); |
---|
| 967 | #endif |
---|
| 968 | |
---|
| 969 | ; return 0; } |
---|
| 970 | EOF |
---|
[10896] | 971 | if { (eval echo configure:972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10826] | 972 | rm -rf conftest* |
---|
| 973 | eval "ac_cv_func_socket=yes" |
---|
| 974 | else |
---|
| 975 | echo "configure: failed program was:" >&5 |
---|
| 976 | cat conftest.$ac_ext >&5 |
---|
| 977 | rm -rf conftest* |
---|
| 978 | eval "ac_cv_func_socket=no" |
---|
| 979 | fi |
---|
| 980 | rm -f conftest* |
---|
| 981 | fi |
---|
| 982 | |
---|
| 983 | if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
---|
| 984 | echo "$ac_t""yes" 1>&6 |
---|
| 985 | : |
---|
| 986 | else |
---|
| 987 | echo "$ac_t""no" 1>&6 |
---|
| 988 | echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
---|
[10896] | 989 | echo "configure:990: checking for socket in -lsocket" >&5 |
---|
[10826] | 990 | ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
---|
| 991 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 992 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 993 | else |
---|
| 994 | ac_save_LIBS="$LIBS" |
---|
| 995 | LIBS="-lsocket $LIBS" |
---|
| 996 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 997 | #line 998 "configure" |
---|
[10826] | 998 | #include "confdefs.h" |
---|
| 999 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1000 | /* We use char because int might match the return type of a gcc2 |
---|
| 1001 | builtin and then its argument prototype would still apply. */ |
---|
| 1002 | char socket(); |
---|
| 1003 | |
---|
| 1004 | int main() { |
---|
| 1005 | socket() |
---|
| 1006 | ; return 0; } |
---|
| 1007 | EOF |
---|
[10896] | 1008 | if { (eval echo configure:1009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10826] | 1009 | rm -rf conftest* |
---|
| 1010 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1011 | else |
---|
| 1012 | echo "configure: failed program was:" >&5 |
---|
| 1013 | cat conftest.$ac_ext >&5 |
---|
| 1014 | rm -rf conftest* |
---|
| 1015 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1016 | fi |
---|
| 1017 | rm -f conftest* |
---|
| 1018 | LIBS="$ac_save_LIBS" |
---|
| 1019 | |
---|
| 1020 | fi |
---|
| 1021 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1022 | echo "$ac_t""yes" 1>&6 |
---|
| 1023 | ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \ |
---|
| 1024 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 1025 | cat >> confdefs.h <<EOF |
---|
| 1026 | #define $ac_tr_lib 1 |
---|
| 1027 | EOF |
---|
| 1028 | |
---|
| 1029 | LIBS="-lsocket $LIBS" |
---|
| 1030 | |
---|
| 1031 | else |
---|
| 1032 | echo "$ac_t""no" 1>&6 |
---|
| 1033 | fi |
---|
| 1034 | |
---|
| 1035 | fi |
---|
| 1036 | |
---|
| 1037 | echo $ac_n "checking for compile in -lgen""... $ac_c" 1>&6 |
---|
[10896] | 1038 | echo "configure:1039: checking for compile in -lgen" >&5 |
---|
[10826] | 1039 | ac_lib_var=`echo gen'_'compile | sed 'y%./+-%__p_%'` |
---|
| 1040 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1041 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1042 | else |
---|
| 1043 | ac_save_LIBS="$LIBS" |
---|
| 1044 | LIBS="-lgen $LIBS" |
---|
| 1045 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 1046 | #line 1047 "configure" |
---|
[10826] | 1047 | #include "confdefs.h" |
---|
| 1048 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1049 | /* We use char because int might match the return type of a gcc2 |
---|
| 1050 | builtin and then its argument prototype would still apply. */ |
---|
| 1051 | char compile(); |
---|
| 1052 | |
---|
| 1053 | int main() { |
---|
| 1054 | compile() |
---|
| 1055 | ; return 0; } |
---|
| 1056 | EOF |
---|
[10896] | 1057 | if { (eval echo configure:1058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10826] | 1058 | rm -rf conftest* |
---|
| 1059 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1060 | else |
---|
| 1061 | echo "configure: failed program was:" >&5 |
---|
| 1062 | cat conftest.$ac_ext >&5 |
---|
| 1063 | rm -rf conftest* |
---|
| 1064 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1065 | fi |
---|
| 1066 | rm -f conftest* |
---|
| 1067 | LIBS="$ac_save_LIBS" |
---|
| 1068 | |
---|
| 1069 | fi |
---|
| 1070 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1071 | echo "$ac_t""yes" 1>&6 |
---|
| 1072 | ac_tr_lib=HAVE_LIB`echo gen | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1073 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 1074 | cat >> confdefs.h <<EOF |
---|
| 1075 | #define $ac_tr_lib 1 |
---|
| 1076 | EOF |
---|
| 1077 | |
---|
| 1078 | LIBS="-lgen $LIBS" |
---|
| 1079 | |
---|
| 1080 | else |
---|
| 1081 | echo "$ac_t""no" 1>&6 |
---|
| 1082 | fi |
---|
| 1083 | |
---|
| 1084 | if test "$krb4" != yes; then |
---|
[10764] | 1085 | CPPFLAGS="$CPPFLAGS -I$krb4/include" |
---|
| 1086 | if test -d "$krb4/include/kerberosIV"; then |
---|
| 1087 | CPPFLAGS="$CPPFLAGS -I$krb4/include/kerberosIV" |
---|
| 1088 | fi |
---|
| 1089 | LDFLAGS="$LDFLAGS -L$krb4/lib" |
---|
| 1090 | elif test -d /usr/include/kerberosIV; then |
---|
| 1091 | CPPFLAGS="$CPPFLAGS -I/usr/include/kerberosIV" |
---|
| 1092 | fi |
---|
| 1093 | echo $ac_n "checking for krb_rd_req in -lkrb4""... $ac_c" 1>&6 |
---|
[10896] | 1094 | echo "configure:1095: checking for krb_rd_req in -lkrb4" >&5 |
---|
[10764] | 1095 | ac_lib_var=`echo krb4'_'krb_rd_req | sed 'y%./+-%__p_%'` |
---|
| 1096 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1097 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1098 | else |
---|
| 1099 | ac_save_LIBS="$LIBS" |
---|
| 1100 | LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto -lcom_err $LIBS" |
---|
| 1101 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 1102 | #line 1103 "configure" |
---|
[10764] | 1103 | #include "confdefs.h" |
---|
| 1104 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1105 | /* We use char because int might match the return type of a gcc2 |
---|
| 1106 | builtin and then its argument prototype would still apply. */ |
---|
| 1107 | char krb_rd_req(); |
---|
| 1108 | |
---|
| 1109 | int main() { |
---|
| 1110 | krb_rd_req() |
---|
| 1111 | ; return 0; } |
---|
| 1112 | EOF |
---|
[10896] | 1113 | if { (eval echo configure:1114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1114 | rm -rf conftest* |
---|
| 1115 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1116 | else |
---|
| 1117 | echo "configure: failed program was:" >&5 |
---|
| 1118 | cat conftest.$ac_ext >&5 |
---|
| 1119 | rm -rf conftest* |
---|
| 1120 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1121 | fi |
---|
| 1122 | rm -f conftest* |
---|
| 1123 | LIBS="$ac_save_LIBS" |
---|
| 1124 | |
---|
| 1125 | fi |
---|
| 1126 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1127 | echo "$ac_t""yes" 1>&6 |
---|
| 1128 | KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lcrypto -lcom_err" |
---|
| 1129 | else |
---|
| 1130 | echo "$ac_t""no" 1>&6 |
---|
| 1131 | echo $ac_n "checking for krb_rd_req in -lkrb""... $ac_c" 1>&6 |
---|
[10896] | 1132 | echo "configure:1133: checking for krb_rd_req in -lkrb" >&5 |
---|
[10764] | 1133 | ac_lib_var=`echo krb'_'krb_rd_req | sed 'y%./+-%__p_%'` |
---|
| 1134 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1135 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1136 | else |
---|
| 1137 | ac_save_LIBS="$LIBS" |
---|
| 1138 | LIBS="-lkrb -ldes $LIBS" |
---|
| 1139 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 1140 | #line 1141 "configure" |
---|
[10764] | 1141 | #include "confdefs.h" |
---|
| 1142 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1143 | /* We use char because int might match the return type of a gcc2 |
---|
| 1144 | builtin and then its argument prototype would still apply. */ |
---|
| 1145 | char krb_rd_req(); |
---|
| 1146 | |
---|
| 1147 | int main() { |
---|
| 1148 | krb_rd_req() |
---|
| 1149 | ; return 0; } |
---|
| 1150 | EOF |
---|
[10896] | 1151 | if { (eval echo configure:1152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1152 | rm -rf conftest* |
---|
| 1153 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1154 | else |
---|
| 1155 | echo "configure: failed program was:" >&5 |
---|
| 1156 | cat conftest.$ac_ext >&5 |
---|
| 1157 | rm -rf conftest* |
---|
| 1158 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1159 | fi |
---|
| 1160 | rm -f conftest* |
---|
| 1161 | LIBS="$ac_save_LIBS" |
---|
| 1162 | |
---|
| 1163 | fi |
---|
| 1164 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1165 | echo "$ac_t""yes" 1>&6 |
---|
| 1166 | KRB4_LIBS="-lkrb -ldes" |
---|
| 1167 | else |
---|
| 1168 | echo "$ac_t""no" 1>&6 |
---|
| 1169 | { echo "configure: error: Kerberos 4 libraries not found" 1>&2; exit 1; } |
---|
| 1170 | fi |
---|
| 1171 | |
---|
| 1172 | fi |
---|
| 1173 | |
---|
| 1174 | |
---|
| 1175 | else |
---|
| 1176 | { echo "configure: error: This package requires Kerberos 4." 1>&2; exit 1; } |
---|
| 1177 | fi |
---|
| 1178 | # Check whether --with-afs or --without-afs was given. |
---|
| 1179 | if test "${with_afs+set}" = set; then |
---|
| 1180 | withval="$with_afs" |
---|
| 1181 | afs="$withval" |
---|
| 1182 | else |
---|
| 1183 | afs=/usr/afsws |
---|
| 1184 | fi |
---|
| 1185 | |
---|
| 1186 | if test "$afs" != no; then |
---|
| 1187 | echo $ac_n "checking for insque""... $ac_c" 1>&6 |
---|
[10896] | 1188 | echo "configure:1189: checking for insque" >&5 |
---|
[10764] | 1189 | if eval "test \"`echo '$''{'ac_cv_func_insque'+set}'`\" = set"; then |
---|
| 1190 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1191 | else |
---|
| 1192 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 1193 | #line 1194 "configure" |
---|
[10764] | 1194 | #include "confdefs.h" |
---|
| 1195 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1196 | which can conflict with char insque(); below. */ |
---|
| 1197 | #include <assert.h> |
---|
| 1198 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1199 | /* We use char because int might match the return type of a gcc2 |
---|
| 1200 | builtin and then its argument prototype would still apply. */ |
---|
| 1201 | char insque(); |
---|
| 1202 | |
---|
| 1203 | int main() { |
---|
| 1204 | |
---|
| 1205 | /* The GNU C library defines this for functions which it implements |
---|
| 1206 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1207 | something starting with __ and the normal name is an alias. */ |
---|
| 1208 | #if defined (__stub_insque) || defined (__stub___insque) |
---|
| 1209 | choke me |
---|
| 1210 | #else |
---|
| 1211 | insque(); |
---|
| 1212 | #endif |
---|
| 1213 | |
---|
| 1214 | ; return 0; } |
---|
| 1215 | EOF |
---|
[10896] | 1216 | if { (eval echo configure:1217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1217 | rm -rf conftest* |
---|
| 1218 | eval "ac_cv_func_insque=yes" |
---|
| 1219 | else |
---|
| 1220 | echo "configure: failed program was:" >&5 |
---|
| 1221 | cat conftest.$ac_ext >&5 |
---|
| 1222 | rm -rf conftest* |
---|
| 1223 | eval "ac_cv_func_insque=no" |
---|
| 1224 | fi |
---|
| 1225 | rm -f conftest* |
---|
| 1226 | fi |
---|
| 1227 | |
---|
| 1228 | if eval "test \"`echo '$ac_cv_func_'insque`\" = yes"; then |
---|
| 1229 | echo "$ac_t""yes" 1>&6 |
---|
| 1230 | : |
---|
| 1231 | else |
---|
| 1232 | echo "$ac_t""no" 1>&6 |
---|
| 1233 | echo $ac_n "checking for insque in -lcompat""... $ac_c" 1>&6 |
---|
[10896] | 1234 | echo "configure:1235: checking for insque in -lcompat" >&5 |
---|
[10764] | 1235 | ac_lib_var=`echo compat'_'insque | sed 'y%./+-%__p_%'` |
---|
| 1236 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1237 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1238 | else |
---|
| 1239 | ac_save_LIBS="$LIBS" |
---|
| 1240 | LIBS="-lcompat $LIBS" |
---|
| 1241 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 1242 | #line 1243 "configure" |
---|
[10764] | 1243 | #include "confdefs.h" |
---|
| 1244 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1245 | /* We use char because int might match the return type of a gcc2 |
---|
| 1246 | builtin and then its argument prototype would still apply. */ |
---|
| 1247 | char insque(); |
---|
| 1248 | |
---|
| 1249 | int main() { |
---|
| 1250 | insque() |
---|
| 1251 | ; return 0; } |
---|
| 1252 | EOF |
---|
[10896] | 1253 | if { (eval echo configure:1254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1254 | rm -rf conftest* |
---|
| 1255 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1256 | else |
---|
| 1257 | echo "configure: failed program was:" >&5 |
---|
| 1258 | cat conftest.$ac_ext >&5 |
---|
| 1259 | rm -rf conftest* |
---|
| 1260 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1261 | fi |
---|
| 1262 | rm -f conftest* |
---|
| 1263 | LIBS="$ac_save_LIBS" |
---|
| 1264 | |
---|
| 1265 | fi |
---|
| 1266 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1267 | echo "$ac_t""yes" 1>&6 |
---|
| 1268 | ac_tr_lib=HAVE_LIB`echo compat | sed -e 's/^a-zA-Z0-9_/_/g' \ |
---|
| 1269 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 1270 | cat >> confdefs.h <<EOF |
---|
| 1271 | #define $ac_tr_lib 1 |
---|
| 1272 | EOF |
---|
| 1273 | |
---|
| 1274 | LIBS="-lcompat $LIBS" |
---|
| 1275 | |
---|
| 1276 | else |
---|
| 1277 | echo "$ac_t""no" 1>&6 |
---|
| 1278 | fi |
---|
| 1279 | |
---|
| 1280 | fi |
---|
| 1281 | |
---|
| 1282 | echo $ac_n "checking for sigvec""... $ac_c" 1>&6 |
---|
[10896] | 1283 | echo "configure:1284: checking for sigvec" >&5 |
---|
[10764] | 1284 | if eval "test \"`echo '$''{'ac_cv_func_sigvec'+set}'`\" = set"; then |
---|
| 1285 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1286 | else |
---|
| 1287 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 1288 | #line 1289 "configure" |
---|
[10764] | 1289 | #include "confdefs.h" |
---|
| 1290 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1291 | which can conflict with char sigvec(); below. */ |
---|
| 1292 | #include <assert.h> |
---|
| 1293 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1294 | /* We use char because int might match the return type of a gcc2 |
---|
| 1295 | builtin and then its argument prototype would still apply. */ |
---|
| 1296 | char sigvec(); |
---|
| 1297 | |
---|
| 1298 | int main() { |
---|
| 1299 | |
---|
| 1300 | /* The GNU C library defines this for functions which it implements |
---|
| 1301 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1302 | something starting with __ and the normal name is an alias. */ |
---|
| 1303 | #if defined (__stub_sigvec) || defined (__stub___sigvec) |
---|
| 1304 | choke me |
---|
| 1305 | #else |
---|
| 1306 | sigvec(); |
---|
| 1307 | #endif |
---|
| 1308 | |
---|
| 1309 | ; return 0; } |
---|
| 1310 | EOF |
---|
[10896] | 1311 | if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1312 | rm -rf conftest* |
---|
| 1313 | eval "ac_cv_func_sigvec=yes" |
---|
| 1314 | else |
---|
| 1315 | echo "configure: failed program was:" >&5 |
---|
| 1316 | cat conftest.$ac_ext >&5 |
---|
| 1317 | rm -rf conftest* |
---|
| 1318 | eval "ac_cv_func_sigvec=no" |
---|
| 1319 | fi |
---|
| 1320 | rm -f conftest* |
---|
| 1321 | fi |
---|
| 1322 | |
---|
| 1323 | if eval "test \"`echo '$ac_cv_func_'sigvec`\" = yes"; then |
---|
| 1324 | echo "$ac_t""yes" 1>&6 |
---|
| 1325 | : |
---|
| 1326 | else |
---|
| 1327 | echo "$ac_t""no" 1>&6 |
---|
| 1328 | echo $ac_n "checking for sigvec in -lucb""... $ac_c" 1>&6 |
---|
[10896] | 1329 | echo "configure:1330: checking for sigvec in -lucb" >&5 |
---|
[10764] | 1330 | ac_lib_var=`echo ucb'_'sigvec | sed 'y%./+-%__p_%'` |
---|
| 1331 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1332 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1333 | else |
---|
| 1334 | ac_save_LIBS="$LIBS" |
---|
[11143] | 1335 | LIBS="-lucb -L/usr/ucblib $LIBS" |
---|
[10764] | 1336 | cat > conftest.$ac_ext <<EOF |
---|
[10896] | 1337 | #line 1338 "configure" |
---|
[10764] | 1338 | #include "confdefs.h" |
---|
| 1339 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1340 | /* We use char because int might match the return type of a gcc2 |
---|
| 1341 | builtin and then its argument prototype would still apply. */ |
---|
| 1342 | char sigvec(); |
---|
| 1343 | |
---|
| 1344 | int main() { |
---|
| 1345 | sigvec() |
---|
| 1346 | ; return 0; } |
---|
| 1347 | EOF |
---|
[10896] | 1348 | if { (eval echo configure:1349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1349 | rm -rf conftest* |
---|
| 1350 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1351 | else |
---|
| 1352 | echo "configure: failed program was:" >&5 |
---|
| 1353 | cat conftest.$ac_ext >&5 |
---|
| 1354 | rm -rf conftest* |
---|
| 1355 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1356 | fi |
---|
| 1357 | rm -f conftest* |
---|
| 1358 | LIBS="$ac_save_LIBS" |
---|
| 1359 | |
---|
| 1360 | fi |
---|
| 1361 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1362 | echo "$ac_t""yes" 1>&6 |
---|
[11143] | 1363 | LIBS="$LIBS -L/usr/ucblib -R/usr/ucblib -lc -lucb" |
---|
[10764] | 1364 | else |
---|
| 1365 | echo "$ac_t""no" 1>&6 |
---|
[11143] | 1366 | : |
---|
[10764] | 1367 | fi |
---|
| 1368 | |
---|
| 1369 | fi |
---|
| 1370 | |
---|
| 1371 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
---|
[11143] | 1372 | echo "configure:1373: checking for gethostbyname" >&5 |
---|
[10764] | 1373 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
---|
| 1374 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1375 | else |
---|
| 1376 | cat > conftest.$ac_ext <<EOF |
---|
[11143] | 1377 | #line 1378 "configure" |
---|
[10764] | 1378 | #include "confdefs.h" |
---|
| 1379 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1380 | which can conflict with char gethostbyname(); below. */ |
---|
| 1381 | #include <assert.h> |
---|
| 1382 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1383 | /* We use char because int might match the return type of a gcc2 |
---|
| 1384 | builtin and then its argument prototype would still apply. */ |
---|
| 1385 | char gethostbyname(); |
---|
| 1386 | |
---|
| 1387 | int main() { |
---|
| 1388 | |
---|
| 1389 | /* The GNU C library defines this for functions which it implements |
---|
| 1390 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1391 | something starting with __ and the normal name is an alias. */ |
---|
| 1392 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
---|
| 1393 | choke me |
---|
| 1394 | #else |
---|
| 1395 | gethostbyname(); |
---|
| 1396 | #endif |
---|
| 1397 | |
---|
| 1398 | ; return 0; } |
---|
| 1399 | EOF |
---|
[11143] | 1400 | if { (eval echo configure:1401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1401 | rm -rf conftest* |
---|
| 1402 | eval "ac_cv_func_gethostbyname=yes" |
---|
| 1403 | else |
---|
| 1404 | echo "configure: failed program was:" >&5 |
---|
| 1405 | cat conftest.$ac_ext >&5 |
---|
| 1406 | rm -rf conftest* |
---|
| 1407 | eval "ac_cv_func_gethostbyname=no" |
---|
| 1408 | fi |
---|
| 1409 | rm -f conftest* |
---|
| 1410 | fi |
---|
| 1411 | |
---|
| 1412 | if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
---|
| 1413 | echo "$ac_t""yes" 1>&6 |
---|
| 1414 | : |
---|
| 1415 | else |
---|
| 1416 | echo "$ac_t""no" 1>&6 |
---|
| 1417 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
---|
[11143] | 1418 | echo "configure:1419: checking for gethostbyname in -lnsl" >&5 |
---|
[10764] | 1419 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
---|
| 1420 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1421 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1422 | else |
---|
| 1423 | ac_save_LIBS="$LIBS" |
---|
| 1424 | LIBS="-lnsl $LIBS" |
---|
| 1425 | cat > conftest.$ac_ext <<EOF |
---|
[11143] | 1426 | #line 1427 "configure" |
---|
[10764] | 1427 | #include "confdefs.h" |
---|
| 1428 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1429 | /* We use char because int might match the return type of a gcc2 |
---|
| 1430 | builtin and then its argument prototype would still apply. */ |
---|
| 1431 | char gethostbyname(); |
---|
| 1432 | |
---|
| 1433 | int main() { |
---|
| 1434 | gethostbyname() |
---|
| 1435 | ; return 0; } |
---|
| 1436 | EOF |
---|
[11143] | 1437 | if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1438 | rm -rf conftest* |
---|
| 1439 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1440 | else |
---|
| 1441 | echo "configure: failed program was:" >&5 |
---|
| 1442 | cat conftest.$ac_ext >&5 |
---|
| 1443 | rm -rf conftest* |
---|
| 1444 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1445 | fi |
---|
| 1446 | rm -f conftest* |
---|
| 1447 | LIBS="$ac_save_LIBS" |
---|
| 1448 | |
---|
| 1449 | fi |
---|
| 1450 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1451 | echo "$ac_t""yes" 1>&6 |
---|
| 1452 | ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/^a-zA-Z0-9_/_/g' \ |
---|
| 1453 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 1454 | cat >> confdefs.h <<EOF |
---|
| 1455 | #define $ac_tr_lib 1 |
---|
| 1456 | EOF |
---|
| 1457 | |
---|
| 1458 | LIBS="-lnsl $LIBS" |
---|
| 1459 | |
---|
| 1460 | else |
---|
| 1461 | echo "$ac_t""no" 1>&6 |
---|
| 1462 | fi |
---|
| 1463 | |
---|
| 1464 | fi |
---|
| 1465 | |
---|
| 1466 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
---|
[11143] | 1467 | echo "configure:1468: checking for socket" >&5 |
---|
[10764] | 1468 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
---|
| 1469 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1470 | else |
---|
| 1471 | cat > conftest.$ac_ext <<EOF |
---|
[11143] | 1472 | #line 1473 "configure" |
---|
[10764] | 1473 | #include "confdefs.h" |
---|
| 1474 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1475 | which can conflict with char socket(); below. */ |
---|
| 1476 | #include <assert.h> |
---|
| 1477 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1478 | /* We use char because int might match the return type of a gcc2 |
---|
| 1479 | builtin and then its argument prototype would still apply. */ |
---|
| 1480 | char socket(); |
---|
| 1481 | |
---|
| 1482 | int main() { |
---|
| 1483 | |
---|
| 1484 | /* The GNU C library defines this for functions which it implements |
---|
| 1485 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1486 | something starting with __ and the normal name is an alias. */ |
---|
| 1487 | #if defined (__stub_socket) || defined (__stub___socket) |
---|
| 1488 | choke me |
---|
| 1489 | #else |
---|
| 1490 | socket(); |
---|
| 1491 | #endif |
---|
| 1492 | |
---|
| 1493 | ; return 0; } |
---|
| 1494 | EOF |
---|
[11143] | 1495 | if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1496 | rm -rf conftest* |
---|
| 1497 | eval "ac_cv_func_socket=yes" |
---|
| 1498 | else |
---|
| 1499 | echo "configure: failed program was:" >&5 |
---|
| 1500 | cat conftest.$ac_ext >&5 |
---|
| 1501 | rm -rf conftest* |
---|
| 1502 | eval "ac_cv_func_socket=no" |
---|
| 1503 | fi |
---|
| 1504 | rm -f conftest* |
---|
| 1505 | fi |
---|
| 1506 | |
---|
| 1507 | if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
---|
| 1508 | echo "$ac_t""yes" 1>&6 |
---|
| 1509 | : |
---|
| 1510 | else |
---|
| 1511 | echo "$ac_t""no" 1>&6 |
---|
| 1512 | echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
---|
[11143] | 1513 | echo "configure:1514: checking for socket in -lsocket" >&5 |
---|
[10764] | 1514 | ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
---|
| 1515 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1516 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1517 | else |
---|
| 1518 | ac_save_LIBS="$LIBS" |
---|
| 1519 | LIBS="-lsocket $LIBS" |
---|
| 1520 | cat > conftest.$ac_ext <<EOF |
---|
[11143] | 1521 | #line 1522 "configure" |
---|
[10764] | 1522 | #include "confdefs.h" |
---|
| 1523 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1524 | /* We use char because int might match the return type of a gcc2 |
---|
| 1525 | builtin and then its argument prototype would still apply. */ |
---|
| 1526 | char socket(); |
---|
| 1527 | |
---|
| 1528 | int main() { |
---|
| 1529 | socket() |
---|
| 1530 | ; return 0; } |
---|
| 1531 | EOF |
---|
[11143] | 1532 | if { (eval echo configure:1533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1533 | rm -rf conftest* |
---|
| 1534 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1535 | else |
---|
| 1536 | echo "configure: failed program was:" >&5 |
---|
| 1537 | cat conftest.$ac_ext >&5 |
---|
| 1538 | rm -rf conftest* |
---|
| 1539 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1540 | fi |
---|
| 1541 | rm -f conftest* |
---|
| 1542 | LIBS="$ac_save_LIBS" |
---|
| 1543 | |
---|
| 1544 | fi |
---|
| 1545 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1546 | echo "$ac_t""yes" 1>&6 |
---|
| 1547 | ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/^a-zA-Z0-9_/_/g' \ |
---|
| 1548 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 1549 | cat >> confdefs.h <<EOF |
---|
| 1550 | #define $ac_tr_lib 1 |
---|
| 1551 | EOF |
---|
| 1552 | |
---|
| 1553 | LIBS="-lsocket $LIBS" |
---|
| 1554 | |
---|
| 1555 | else |
---|
| 1556 | echo "$ac_t""no" 1>&6 |
---|
| 1557 | fi |
---|
| 1558 | |
---|
| 1559 | fi |
---|
| 1560 | |
---|
| 1561 | if test "$afs" != yes; then |
---|
| 1562 | CPPFLAGS="$CPPFLAGS -I$afs/include" |
---|
| 1563 | LDFLAGS="$LDFLAGS -L$afs/lib -L$afs/lib/afs" |
---|
| 1564 | fi |
---|
| 1565 | echo $ac_n "checking for pioctl in -lsys""... $ac_c" 1>&6 |
---|
[11143] | 1566 | echo "configure:1567: checking for pioctl in -lsys" >&5 |
---|
[10764] | 1567 | ac_lib_var=`echo sys'_'pioctl | sed 'y%./+-%__p_%'` |
---|
| 1568 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1569 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1570 | else |
---|
| 1571 | ac_save_LIBS="$LIBS" |
---|
| 1572 | LIBS="-lsys -lrx -llwp -lsys $LIBS" |
---|
| 1573 | cat > conftest.$ac_ext <<EOF |
---|
[11143] | 1574 | #line 1575 "configure" |
---|
[10764] | 1575 | #include "confdefs.h" |
---|
| 1576 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 1577 | /* We use char because int might match the return type of a gcc2 |
---|
| 1578 | builtin and then its argument prototype would still apply. */ |
---|
| 1579 | char pioctl(); |
---|
| 1580 | |
---|
| 1581 | int main() { |
---|
| 1582 | pioctl() |
---|
| 1583 | ; return 0; } |
---|
| 1584 | EOF |
---|
[11143] | 1585 | if { (eval echo configure:1586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
[10764] | 1586 | rm -rf conftest* |
---|
| 1587 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1588 | else |
---|
| 1589 | echo "configure: failed program was:" >&5 |
---|
| 1590 | cat conftest.$ac_ext >&5 |
---|
| 1591 | rm -rf conftest* |
---|
| 1592 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1593 | fi |
---|
| 1594 | rm -f conftest* |
---|
| 1595 | LIBS="$ac_save_LIBS" |
---|
| 1596 | |
---|
| 1597 | fi |
---|
| 1598 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1599 | echo "$ac_t""yes" 1>&6 |
---|
| 1600 | : |
---|
| 1601 | else |
---|
| 1602 | echo "$ac_t""no" 1>&6 |
---|
| 1603 | { echo "configure: error: AFS libraries not found" 1>&2; exit 1; } |
---|
| 1604 | fi |
---|
| 1605 | |
---|
| 1606 | AFS_DIR=$afs |
---|
| 1607 | |
---|
| 1608 | else |
---|
| 1609 | { echo "configure: error: This package requires AFS libraries." 1>&2; exit 1; } |
---|
| 1610 | fi |
---|
| 1611 | |
---|
| 1612 | trap '' 1 2 15 |
---|
| 1613 | cat > confcache <<\EOF |
---|
| 1614 | # This file is a shell script that caches the results of configure |
---|
| 1615 | # tests run on this system so they can be shared between configure |
---|
| 1616 | # scripts and configure runs. It is not useful on other systems. |
---|
| 1617 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
| 1618 | # |
---|
| 1619 | # By default, configure uses ./config.cache as the cache file, |
---|
| 1620 | # creating it if it does not exist already. You can give configure |
---|
| 1621 | # the --cache-file=FILE option to use a different cache file; that is |
---|
| 1622 | # what configure does when it calls configure scripts in |
---|
| 1623 | # subdirectories, so they share the cache. |
---|
| 1624 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
| 1625 | # config.status only pays attention to the cache file if you give it the |
---|
| 1626 | # --recheck option to rerun configure. |
---|
| 1627 | # |
---|
| 1628 | EOF |
---|
| 1629 | # The following way of writing the cache mishandles newlines in values, |
---|
| 1630 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 1631 | # So, don't put newlines in cache variables' values. |
---|
| 1632 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 1633 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 1634 | (set) 2>&1 | |
---|
| 1635 | case `(ac_space=' '; set) 2>&1` in |
---|
| 1636 | *ac_space=\ *) |
---|
| 1637 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
| 1638 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
| 1639 | sed -n \ |
---|
| 1640 | -e "s/'/'\\\\''/g" \ |
---|
| 1641 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
| 1642 | ;; |
---|
| 1643 | *) |
---|
| 1644 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 1645 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
| 1646 | ;; |
---|
| 1647 | esac >> confcache |
---|
| 1648 | if cmp -s $cache_file confcache; then |
---|
| 1649 | : |
---|
| 1650 | else |
---|
| 1651 | if test -w $cache_file; then |
---|
| 1652 | echo "updating cache $cache_file" |
---|
| 1653 | cat confcache > $cache_file |
---|
| 1654 | else |
---|
| 1655 | echo "not updating unwritable cache $cache_file" |
---|
| 1656 | fi |
---|
| 1657 | fi |
---|
| 1658 | rm -f confcache |
---|
| 1659 | |
---|
| 1660 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
| 1661 | |
---|
| 1662 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 1663 | # Let make expand exec_prefix. |
---|
| 1664 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 1665 | |
---|
| 1666 | # Any assignment to VPATH causes Sun make to only execute |
---|
| 1667 | # the first set of double-colon rules, so remove it if not needed. |
---|
| 1668 | # If there is a colon in the path, we need to keep it. |
---|
| 1669 | if test "x$srcdir" = x.; then |
---|
| 1670 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
| 1671 | fi |
---|
| 1672 | |
---|
| 1673 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
| 1674 | |
---|
| 1675 | # Transform confdefs.h into DEFS. |
---|
| 1676 | # Protect against shell expansion while executing Makefile rules. |
---|
| 1677 | # Protect against Makefile macro expansion. |
---|
| 1678 | cat > conftest.defs <<\EOF |
---|
| 1679 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g |
---|
| 1680 | s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g |
---|
| 1681 | s%\[%\\&%g |
---|
| 1682 | s%\]%\\&%g |
---|
| 1683 | s%\$%$$%g |
---|
| 1684 | EOF |
---|
| 1685 | DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` |
---|
| 1686 | rm -f conftest.defs |
---|
| 1687 | |
---|
| 1688 | |
---|
| 1689 | # Without the "./", some shells look in PATH for config.status. |
---|
| 1690 | : ${CONFIG_STATUS=./config.status} |
---|
| 1691 | |
---|
| 1692 | echo creating $CONFIG_STATUS |
---|
| 1693 | rm -f $CONFIG_STATUS |
---|
| 1694 | cat > $CONFIG_STATUS <<EOF |
---|
| 1695 | #! /bin/sh |
---|
| 1696 | # Generated automatically by configure. |
---|
| 1697 | # Run this file to recreate the current configuration. |
---|
| 1698 | # This directory was configured as follows, |
---|
| 1699 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
| 1700 | # |
---|
| 1701 | # $0 $ac_configure_args |
---|
| 1702 | # |
---|
| 1703 | # Compiler output produced by configure, useful for debugging |
---|
| 1704 | # configure, is in ./config.log if it exists. |
---|
| 1705 | |
---|
| 1706 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
| 1707 | for ac_option |
---|
| 1708 | do |
---|
| 1709 | case "\$ac_option" in |
---|
| 1710 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 1711 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
| 1712 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
| 1713 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
| 1714 | echo "$CONFIG_STATUS generated by autoconf version 2.12" |
---|
| 1715 | exit 0 ;; |
---|
| 1716 | -help | --help | --hel | --he | --h) |
---|
| 1717 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
| 1718 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
| 1719 | esac |
---|
| 1720 | done |
---|
| 1721 | |
---|
| 1722 | ac_given_srcdir=$srcdir |
---|
| 1723 | ac_given_INSTALL="$INSTALL" |
---|
| 1724 | |
---|
| 1725 | trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
| 1726 | EOF |
---|
| 1727 | cat >> $CONFIG_STATUS <<EOF |
---|
| 1728 | |
---|
| 1729 | # Protect against being on the right side of a sed subst in config.status. |
---|
| 1730 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
| 1731 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
| 1732 | $ac_vpsub |
---|
| 1733 | $extrasub |
---|
| 1734 | s%@CFLAGS@%$CFLAGS%g |
---|
| 1735 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
| 1736 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
| 1737 | s%@DEFS@%$DEFS%g |
---|
| 1738 | s%@LDFLAGS@%$LDFLAGS%g |
---|
| 1739 | s%@LIBS@%$LIBS%g |
---|
| 1740 | s%@exec_prefix@%$exec_prefix%g |
---|
| 1741 | s%@prefix@%$prefix%g |
---|
| 1742 | s%@program_transform_name@%$program_transform_name%g |
---|
| 1743 | s%@bindir@%$bindir%g |
---|
| 1744 | s%@sbindir@%$sbindir%g |
---|
| 1745 | s%@libexecdir@%$libexecdir%g |
---|
| 1746 | s%@datadir@%$datadir%g |
---|
| 1747 | s%@sysconfdir@%$sysconfdir%g |
---|
| 1748 | s%@sharedstatedir@%$sharedstatedir%g |
---|
| 1749 | s%@localstatedir@%$localstatedir%g |
---|
| 1750 | s%@libdir@%$libdir%g |
---|
| 1751 | s%@includedir@%$includedir%g |
---|
| 1752 | s%@oldincludedir@%$oldincludedir%g |
---|
| 1753 | s%@infodir@%$infodir%g |
---|
| 1754 | s%@mandir@%$mandir%g |
---|
[10896] | 1755 | s%@lbindir@%$lbindir%g |
---|
[10764] | 1756 | s%@CC@%$CC%g |
---|
| 1757 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
---|
| 1758 | s%@INSTALL_DATA@%$INSTALL_DATA%g |
---|
| 1759 | s%@KRB4_LIBS@%$KRB4_LIBS%g |
---|
| 1760 | s%@AFS_DIR@%$AFS_DIR%g |
---|
| 1761 | |
---|
| 1762 | CEOF |
---|
| 1763 | EOF |
---|
| 1764 | |
---|
| 1765 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 1766 | |
---|
| 1767 | # Split the substitutions into bite-sized pieces for seds with |
---|
| 1768 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
| 1769 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
| 1770 | ac_file=1 # Number of current file. |
---|
| 1771 | ac_beg=1 # First line for current file. |
---|
| 1772 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
| 1773 | ac_more_lines=: |
---|
| 1774 | ac_sed_cmds="" |
---|
| 1775 | while $ac_more_lines; do |
---|
| 1776 | if test $ac_beg -gt 1; then |
---|
| 1777 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
| 1778 | else |
---|
| 1779 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
| 1780 | fi |
---|
| 1781 | if test ! -s conftest.s$ac_file; then |
---|
| 1782 | ac_more_lines=false |
---|
| 1783 | rm -f conftest.s$ac_file |
---|
| 1784 | else |
---|
| 1785 | if test -z "$ac_sed_cmds"; then |
---|
| 1786 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
| 1787 | else |
---|
| 1788 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
| 1789 | fi |
---|
| 1790 | ac_file=`expr $ac_file + 1` |
---|
| 1791 | ac_beg=$ac_end |
---|
| 1792 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
| 1793 | fi |
---|
| 1794 | done |
---|
| 1795 | if test -z "$ac_sed_cmds"; then |
---|
| 1796 | ac_sed_cmds=cat |
---|
| 1797 | fi |
---|
| 1798 | EOF |
---|
| 1799 | |
---|
| 1800 | cat >> $CONFIG_STATUS <<EOF |
---|
| 1801 | |
---|
| 1802 | CONFIG_FILES=\${CONFIG_FILES-"Makefile"} |
---|
| 1803 | EOF |
---|
| 1804 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 1805 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
| 1806 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
| 1807 | case "$ac_file" in |
---|
| 1808 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
| 1809 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
| 1810 | *) ac_file_in="${ac_file}.in" ;; |
---|
| 1811 | esac |
---|
| 1812 | |
---|
| 1813 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
| 1814 | |
---|
| 1815 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
| 1816 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
| 1817 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
| 1818 | # The file is in a subdirectory. |
---|
| 1819 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
| 1820 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
| 1821 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 1822 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
| 1823 | else |
---|
| 1824 | ac_dir_suffix= ac_dots= |
---|
| 1825 | fi |
---|
| 1826 | |
---|
| 1827 | case "$ac_given_srcdir" in |
---|
| 1828 | .) srcdir=. |
---|
| 1829 | if test -z "$ac_dots"; then top_srcdir=. |
---|
| 1830 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
| 1831 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
| 1832 | *) # Relative path. |
---|
| 1833 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
| 1834 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
| 1835 | esac |
---|
| 1836 | |
---|
| 1837 | case "$ac_given_INSTALL" in |
---|
| 1838 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
---|
| 1839 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
---|
| 1840 | esac |
---|
| 1841 | |
---|
| 1842 | echo creating "$ac_file" |
---|
| 1843 | rm -f "$ac_file" |
---|
| 1844 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
| 1845 | case "$ac_file" in |
---|
| 1846 | *Makefile*) ac_comsub="1i\\ |
---|
| 1847 | # $configure_input" ;; |
---|
| 1848 | *) ac_comsub= ;; |
---|
| 1849 | esac |
---|
| 1850 | |
---|
| 1851 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
| 1852 | sed -e "$ac_comsub |
---|
| 1853 | s%@configure_input@%$configure_input%g |
---|
| 1854 | s%@srcdir@%$srcdir%g |
---|
| 1855 | s%@top_srcdir@%$top_srcdir%g |
---|
| 1856 | s%@INSTALL@%$INSTALL%g |
---|
| 1857 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
| 1858 | fi; done |
---|
| 1859 | rm -f conftest.s* |
---|
| 1860 | |
---|
| 1861 | EOF |
---|
| 1862 | cat >> $CONFIG_STATUS <<EOF |
---|
| 1863 | |
---|
| 1864 | EOF |
---|
| 1865 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 1866 | |
---|
| 1867 | exit 0 |
---|
| 1868 | EOF |
---|
| 1869 | chmod +x $CONFIG_STATUS |
---|
| 1870 | rm -fr confdefs* $ac_clean_files |
---|
| 1871 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
| 1872 | |
---|