| 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 | --enable-multilib build many library versions (default)"
|
|---|
| 16 | ac_help="$ac_help
|
|---|
| 17 | --enable-shared[=PKGS] build shared libraries [default=yes]"
|
|---|
| 18 | ac_help="$ac_help
|
|---|
| 19 | --enable-static[=PKGS] build static libraries [default=yes]"
|
|---|
| 20 | ac_help="$ac_help
|
|---|
| 21 | --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
|
|---|
| 22 | ac_help="$ac_help
|
|---|
| 23 | --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
|
|---|
| 24 | ac_help="$ac_help
|
|---|
| 25 | --disable-libtool-lock avoid locking (might break parallel builds)"
|
|---|
| 26 | ac_help="$ac_help
|
|---|
| 27 | --with-pic try to use only PIC/non-PIC objects [default=use both]"
|
|---|
| 28 | ac_help="$ac_help
|
|---|
| 29 | --enable-maintainer-mode enable make rules and dependencies not useful
|
|---|
| 30 | (and sometimes confusing) to the casual installer"
|
|---|
| 31 | ac_help="$ac_help
|
|---|
| 32 | --enable-debug debugging mode"
|
|---|
| 33 | ac_help="$ac_help
|
|---|
| 34 | --disable-structs omit code for struct support"
|
|---|
| 35 | ac_help="$ac_help
|
|---|
| 36 | --disable-raw-api make the raw api unavailable"
|
|---|
| 37 | ac_help="$ac_help
|
|---|
| 38 | --enable-purify-safety purify-safe mode"
|
|---|
| 39 |
|
|---|
| 40 | # Initialize some variables set by options.
|
|---|
| 41 | # The variables have the same names as the options, with
|
|---|
| 42 | # dashes changed to underlines.
|
|---|
| 43 | build=NONE
|
|---|
| 44 | cache_file=./config.cache
|
|---|
| 45 | exec_prefix=NONE
|
|---|
| 46 | host=NONE
|
|---|
| 47 | no_create=
|
|---|
| 48 | nonopt=NONE
|
|---|
| 49 | no_recursion=
|
|---|
| 50 | prefix=NONE
|
|---|
| 51 | program_prefix=NONE
|
|---|
| 52 | program_suffix=NONE
|
|---|
| 53 | program_transform_name=s,x,x,
|
|---|
| 54 | silent=
|
|---|
| 55 | site=
|
|---|
| 56 | srcdir=
|
|---|
| 57 | target=NONE
|
|---|
| 58 | verbose=
|
|---|
| 59 | x_includes=NONE
|
|---|
| 60 | x_libraries=NONE
|
|---|
| 61 | bindir='${exec_prefix}/bin'
|
|---|
| 62 | sbindir='${exec_prefix}/sbin'
|
|---|
| 63 | libexecdir='${exec_prefix}/libexec'
|
|---|
| 64 | datadir='${prefix}/share'
|
|---|
| 65 | sysconfdir='${prefix}/etc'
|
|---|
| 66 | sharedstatedir='${prefix}/com'
|
|---|
| 67 | localstatedir='${prefix}/var'
|
|---|
| 68 | libdir='${exec_prefix}/lib'
|
|---|
| 69 | includedir='${prefix}/include'
|
|---|
| 70 | oldincludedir='/usr/include'
|
|---|
| 71 | infodir='${prefix}/info'
|
|---|
| 72 | mandir='${prefix}/man'
|
|---|
| 73 |
|
|---|
| 74 | # Initialize some other variables.
|
|---|
| 75 | subdirs=
|
|---|
| 76 | MFLAGS= MAKEFLAGS=
|
|---|
| 77 | SHELL=${CONFIG_SHELL-/bin/sh}
|
|---|
| 78 | # Maximum number of lines to put in a shell here document.
|
|---|
| 79 | ac_max_here_lines=12
|
|---|
| 80 |
|
|---|
| 81 | ac_prev=
|
|---|
| 82 | for ac_option
|
|---|
| 83 | do
|
|---|
| 84 |
|
|---|
| 85 | # If the previous option needs an argument, assign it.
|
|---|
| 86 | if test -n "$ac_prev"; then
|
|---|
| 87 | eval "$ac_prev=\$ac_option"
|
|---|
| 88 | ac_prev=
|
|---|
| 89 | continue
|
|---|
| 90 | fi
|
|---|
| 91 |
|
|---|
| 92 | case "$ac_option" in
|
|---|
| 93 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
|---|
| 94 | *) ac_optarg= ;;
|
|---|
| 95 | esac
|
|---|
| 96 |
|
|---|
| 97 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
|---|
| 98 |
|
|---|
| 99 | case "$ac_option" in
|
|---|
| 100 |
|
|---|
| 101 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
|---|
| 102 | ac_prev=bindir ;;
|
|---|
| 103 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
|---|
| 104 | bindir="$ac_optarg" ;;
|
|---|
| 105 |
|
|---|
| 106 | -build | --build | --buil | --bui | --bu)
|
|---|
| 107 | ac_prev=build ;;
|
|---|
| 108 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
|---|
| 109 | build="$ac_optarg" ;;
|
|---|
| 110 |
|
|---|
| 111 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
|---|
| 112 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|---|
| 113 | ac_prev=cache_file ;;
|
|---|
| 114 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|---|
| 115 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
|---|
| 116 | cache_file="$ac_optarg" ;;
|
|---|
| 117 |
|
|---|
| 118 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|---|
| 119 | ac_prev=datadir ;;
|
|---|
| 120 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
|---|
| 121 | | --da=*)
|
|---|
| 122 | datadir="$ac_optarg" ;;
|
|---|
| 123 |
|
|---|
| 124 | -disable-* | --disable-*)
|
|---|
| 125 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
|
|---|
| 126 | # Reject names that are not valid shell variable names.
|
|---|
| 127 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
|
|---|
| 128 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
|---|
| 129 | fi
|
|---|
| 130 | ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
|---|
| 131 | eval "enable_${ac_feature}=no" ;;
|
|---|
| 132 |
|
|---|
| 133 | -enable-* | --enable-*)
|
|---|
| 134 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
|
|---|
| 135 | # Reject names that are not valid shell variable names.
|
|---|
| 136 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
|
|---|
| 137 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
|---|
| 138 | fi
|
|---|
| 139 | ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
|---|
| 140 | case "$ac_option" in
|
|---|
| 141 | *=*) ;;
|
|---|
| 142 | *) ac_optarg=yes ;;
|
|---|
| 143 | esac
|
|---|
| 144 | eval "enable_${ac_feature}='$ac_optarg'" ;;
|
|---|
| 145 |
|
|---|
| 146 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
|---|
| 147 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|---|
| 148 | | --exec | --exe | --ex)
|
|---|
| 149 | ac_prev=exec_prefix ;;
|
|---|
| 150 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
|---|
| 151 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
|---|
| 152 | | --exec=* | --exe=* | --ex=*)
|
|---|
| 153 | exec_prefix="$ac_optarg" ;;
|
|---|
| 154 |
|
|---|
| 155 | -gas | --gas | --ga | --g)
|
|---|
| 156 | # Obsolete; use --with-gas.
|
|---|
| 157 | with_gas=yes ;;
|
|---|
| 158 |
|
|---|
| 159 | -help | --help | --hel | --he)
|
|---|
| 160 | # Omit some internal or obsolete options to make the list less imposing.
|
|---|
| 161 | # This message is too long to be a string in the A/UX 3.1 sh.
|
|---|
| 162 | cat << EOF
|
|---|
| 163 | Usage: configure [options] [host]
|
|---|
| 164 | Options: [defaults in brackets after descriptions]
|
|---|
| 165 | Configuration:
|
|---|
| 166 | --cache-file=FILE cache test results in FILE
|
|---|
| 167 | --help print this message
|
|---|
| 168 | --no-create do not create output files
|
|---|
| 169 | --quiet, --silent do not print \`checking...' messages
|
|---|
| 170 | --version print the version of autoconf that created configure
|
|---|
| 171 | Directory and file names:
|
|---|
| 172 | --prefix=PREFIX install architecture-independent files in PREFIX
|
|---|
| 173 | [$ac_default_prefix]
|
|---|
| 174 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|---|
| 175 | [same as prefix]
|
|---|
| 176 | --bindir=DIR user executables in DIR [EPREFIX/bin]
|
|---|
| 177 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
|
|---|
| 178 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
|
|---|
| 179 | --datadir=DIR read-only architecture-independent data in DIR
|
|---|
| 180 | [PREFIX/share]
|
|---|
| 181 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
|
|---|
| 182 | --sharedstatedir=DIR modifiable architecture-independent data in DIR
|
|---|
| 183 | [PREFIX/com]
|
|---|
| 184 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
|
|---|
| 185 | --libdir=DIR object code libraries in DIR [EPREFIX/lib]
|
|---|
| 186 | --includedir=DIR C header files in DIR [PREFIX/include]
|
|---|
| 187 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
|
|---|
| 188 | --infodir=DIR info documentation in DIR [PREFIX/info]
|
|---|
| 189 | --mandir=DIR man documentation in DIR [PREFIX/man]
|
|---|
| 190 | --srcdir=DIR find the sources in DIR [configure dir or ..]
|
|---|
| 191 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
|---|
| 192 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
|---|
| 193 | --program-transform-name=PROGRAM
|
|---|
| 194 | run sed PROGRAM on installed program names
|
|---|
| 195 | EOF
|
|---|
| 196 | cat << EOF
|
|---|
| 197 | Host type:
|
|---|
| 198 | --build=BUILD configure for building on BUILD [BUILD=HOST]
|
|---|
| 199 | --host=HOST configure for HOST [guessed]
|
|---|
| 200 | --target=TARGET configure for TARGET [TARGET=HOST]
|
|---|
| 201 | Features and packages:
|
|---|
| 202 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|---|
| 203 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|---|
| 204 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|---|
| 205 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|---|
| 206 | --x-includes=DIR X include files are in DIR
|
|---|
| 207 | --x-libraries=DIR X library files are in DIR
|
|---|
| 208 | EOF
|
|---|
| 209 | if test -n "$ac_help"; then
|
|---|
| 210 | echo "--enable and --with options recognized:$ac_help"
|
|---|
| 211 | fi
|
|---|
| 212 | exit 0 ;;
|
|---|
| 213 |
|
|---|
| 214 | -host | --host | --hos | --ho)
|
|---|
| 215 | ac_prev=host ;;
|
|---|
| 216 | -host=* | --host=* | --hos=* | --ho=*)
|
|---|
| 217 | host="$ac_optarg" ;;
|
|---|
| 218 |
|
|---|
| 219 | -includedir | --includedir | --includedi | --included | --include \
|
|---|
| 220 | | --includ | --inclu | --incl | --inc)
|
|---|
| 221 | ac_prev=includedir ;;
|
|---|
| 222 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
|---|
| 223 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
|---|
| 224 | includedir="$ac_optarg" ;;
|
|---|
| 225 |
|
|---|
| 226 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
|---|
| 227 | ac_prev=infodir ;;
|
|---|
| 228 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
|---|
| 229 | infodir="$ac_optarg" ;;
|
|---|
| 230 |
|
|---|
| 231 | -libdir | --libdir | --libdi | --libd)
|
|---|
| 232 | ac_prev=libdir ;;
|
|---|
| 233 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|---|
| 234 | libdir="$ac_optarg" ;;
|
|---|
| 235 |
|
|---|
| 236 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
|---|
| 237 | | --libexe | --libex | --libe)
|
|---|
| 238 | ac_prev=libexecdir ;;
|
|---|
| 239 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
|---|
| 240 | | --libexe=* | --libex=* | --libe=*)
|
|---|
| 241 | libexecdir="$ac_optarg" ;;
|
|---|
| 242 |
|
|---|
| 243 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
|---|
| 244 | | --localstate | --localstat | --localsta | --localst \
|
|---|
| 245 | | --locals | --local | --loca | --loc | --lo)
|
|---|
| 246 | ac_prev=localstatedir ;;
|
|---|
| 247 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
|---|
| 248 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
|---|
| 249 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|---|
| 250 | localstatedir="$ac_optarg" ;;
|
|---|
| 251 |
|
|---|
| 252 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|---|
| 253 | ac_prev=mandir ;;
|
|---|
| 254 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
|---|
| 255 | mandir="$ac_optarg" ;;
|
|---|
| 256 |
|
|---|
| 257 | -nfp | --nfp | --nf)
|
|---|
| 258 | # Obsolete; use --without-fp.
|
|---|
| 259 | with_fp=no ;;
|
|---|
| 260 |
|
|---|
| 261 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|---|
| 262 | | --no-cr | --no-c)
|
|---|
| 263 | no_create=yes ;;
|
|---|
| 264 |
|
|---|
| 265 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|---|
| 266 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
|---|
| 267 | no_recursion=yes ;;
|
|---|
| 268 |
|
|---|
| 269 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
|---|
| 270 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
|---|
| 271 | | --oldin | --oldi | --old | --ol | --o)
|
|---|
| 272 | ac_prev=oldincludedir ;;
|
|---|
| 273 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
|---|
| 274 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
|---|
| 275 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
|---|
| 276 | oldincludedir="$ac_optarg" ;;
|
|---|
| 277 |
|
|---|
| 278 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|---|
| 279 | ac_prev=prefix ;;
|
|---|
| 280 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|---|
| 281 | prefix="$ac_optarg" ;;
|
|---|
| 282 |
|
|---|
| 283 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
|---|
| 284 | | --program-pre | --program-pr | --program-p)
|
|---|
| 285 | ac_prev=program_prefix ;;
|
|---|
| 286 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
|---|
| 287 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
|---|
|
|---|