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