| 1 | #! /bin/sh
|
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
|---|
| 3 | # Generated by GNU Autoconf 2.59c for GNU Automake 1.9.6.
|
|---|
| 4 | #
|
|---|
| 5 | # Report bugs to <[email protected]>.
|
|---|
| 6 | #
|
|---|
| 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|---|
| 8 | # 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
|---|
| 9 | # This configure script is free software; the Free Software Foundation
|
|---|
| 10 | # gives unlimited permission to copy, distribute and modify it.
|
|---|
| 11 | ## --------------------- ##
|
|---|
| 12 | ## M4sh Initialization. ##
|
|---|
| 13 | ## --------------------- ##
|
|---|
| 14 |
|
|---|
| 15 | # Be Bourne compatible
|
|---|
| 16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|---|
| 17 | emulate sh
|
|---|
| 18 | NULLCMD=:
|
|---|
| 19 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|---|
| 20 | # is contrary to our usage. Disable this feature.
|
|---|
| 21 | alias -g '${1+"$@"}'='"$@"'
|
|---|
| 22 | setopt NO_GLOB_SUBST
|
|---|
| 23 | elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|---|
| 24 | set -o posix
|
|---|
| 25 | fi
|
|---|
| 26 | BIN_SH=xpg4; export BIN_SH # for Tru64
|
|---|
| 27 | DUALCASE=1; export DUALCASE # for MKS sh
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 | # PATH needs CR
|
|---|
| 31 | # Avoid depending upon Character Ranges.
|
|---|
| 32 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|---|
| 33 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|---|
| 34 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|---|
| 35 | as_cr_digits='0123456789'
|
|---|
| 36 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|---|
| 37 |
|
|---|
| 38 | # The user is always right.
|
|---|
| 39 | if test "${PATH_SEPARATOR+set}" != set; then
|
|---|
| 40 | echo "#! /bin/sh" >conf$$.sh
|
|---|
| 41 | echo "exit 0" >>conf$$.sh
|
|---|
| 42 | chmod +x conf$$.sh
|
|---|
| 43 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
|---|
| 44 | PATH_SEPARATOR=';'
|
|---|
| 45 | else
|
|---|
| 46 | PATH_SEPARATOR=:
|
|---|
| 47 | fi
|
|---|
| 48 | rm -f conf$$.sh
|
|---|
| 49 | fi
|
|---|
| 50 |
|
|---|
| 51 | # Support unset when possible.
|
|---|
| 52 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|---|
| 53 | as_unset=unset
|
|---|
| 54 | else
|
|---|
| 55 | as_unset=false
|
|---|
| 56 | fi
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 | # Find who we are. Look in the path if we contain no path at all
|
|---|
| 60 | # relative or not.
|
|---|
| 61 | case $0 in
|
|---|
| 62 | *[\\/]* ) as_myself=$0 ;;
|
|---|
| 63 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 64 | for as_dir in $PATH
|
|---|
| 65 | do
|
|---|
| 66 | IFS=$as_save_IFS
|
|---|
| 67 | test -z "$as_dir" && as_dir=.
|
|---|
| 68 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|---|
| 69 | done
|
|---|
| 70 |
|
|---|
| 71 | ;;
|
|---|
| 72 | esac
|
|---|
| 73 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
|---|
| 74 | # in which case we are not to be found in the path.
|
|---|
| 75 | if test "x$as_myself" = x; then
|
|---|
| 76 | as_myself=$0
|
|---|
| 77 | fi
|
|---|
| 78 | if test ! -f "$as_myself"; then
|
|---|
| 79 | { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
|
|---|
| 80 | { (exit 1); exit 1; }; }
|
|---|
| 81 | fi
|
|---|
| 82 |
|
|---|
| 83 | # Work around bugs in pre-3.0 UWIN ksh.
|
|---|
| 84 | for as_var in ENV MAIL MAILPATH
|
|---|
| 85 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|---|
| 86 | done
|
|---|
| 87 | PS1='$ '
|
|---|
| 88 | PS2='> '
|
|---|
| 89 | PS4='+ '
|
|---|
| 90 |
|
|---|
| 91 | # NLS nuisances.
|
|---|
| 92 | for as_var in \
|
|---|
| 93 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|---|
| 94 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|---|
| 95 | LC_TELEPHONE LC_TIME
|
|---|
| 96 | do
|
|---|
| 97 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|---|
| 98 | eval $as_var=C; export $as_var
|
|---|
| 99 | else
|
|---|
| 100 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|---|
| 101 | fi
|
|---|
| 102 | done
|
|---|
| 103 |
|
|---|
| 104 | # Required to use basename.
|
|---|
| 105 | if expr a : '\(a\)' >/dev/null 2>&1; then
|
|---|
| 106 | as_expr=expr
|
|---|
| 107 | else
|
|---|
| 108 | as_expr=false
|
|---|
| 109 | fi
|
|---|
| 110 |
|
|---|
| 111 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
|---|
| 112 | as_basename=basename
|
|---|
| 113 | else
|
|---|
| 114 | as_basename=false
|
|---|
| 115 | fi
|
|---|
| 116 |
|
|---|
| 117 |
|
|---|
| 118 | # Name of the executable.
|
|---|
| 119 | as_me=`$as_basename "$0" ||
|
|---|
| 120 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|---|
| 121 | X"$0" : 'X\(//\)$' \| \
|
|---|
| 122 | X"$0" : 'X\(/\)$' \| \
|
|---|
| 123 | . : '\(.\)' 2>/dev/null ||
|
|---|
| 124 | echo X/"$0" |
|
|---|
| 125 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
|---|
| 126 | /^X\/\(\/\/\)$/{ s//\1/; q; }
|
|---|
| 127 | /^X\/\(\/\).*/{ s//\1/; q; }
|
|---|
| 128 | s/.*/./; q'`
|
|---|
| 129 |
|
|---|
| 130 |
|
|---|
| 131 |
|
|---|
| 132 | if test "x$CONFIG_SHELL" = x; then
|
|---|
| 133 | if (eval ":") 2>/dev/null; then
|
|---|
| 134 | as_have_required=yes
|
|---|
| 135 | else
|
|---|
| 136 | as_have_required=no
|
|---|
| 137 | fi
|
|---|
| 138 |
|
|---|
| 139 | if test $as_have_required = yes && (eval ":
|
|---|
| 140 | (as_func_return () {
|
|---|
| 141 | (exit \$1)
|
|---|
| 142 | }
|
|---|
| 143 | as_func_success () {
|
|---|
| 144 | as_func_return 0
|
|---|
| 145 | }
|
|---|
| 146 | as_func_failure () {
|
|---|
| 147 | as_func_return 1
|
|---|
| 148 | }
|
|---|
| 149 | as_func_ret_success () {
|
|---|
| 150 | return 0
|
|---|
| 151 | }
|
|---|
| 152 | as_func_ret_failure () {
|
|---|
| 153 | return 1
|
|---|
| 154 | }
|
|---|
| 155 |
|
|---|
| 156 | exitcode=0
|
|---|
| 157 | if as_func_success; then
|
|---|
| 158 | :
|
|---|
| 159 | else
|
|---|
| 160 | exitcode=1
|
|---|
| 161 | echo as_func_success failed.
|
|---|
| 162 | fi
|
|---|
| 163 |
|
|---|
| 164 | if as_func_failure; then
|
|---|
| 165 | exitcode=1
|
|---|
| 166 | echo as_func_failure succeeded.
|
|---|
| 167 | fi
|
|---|
| 168 |
|
|---|
| 169 | if as_func_ret_success; then
|
|---|
| 170 | :
|
|---|
| 171 | else
|
|---|
| 172 | exitcode=1
|
|---|
| 173 | echo as_func_ret_success failed.
|
|---|
| 174 | fi
|
|---|
| 175 |
|
|---|
| 176 | if as_func_ret_failure; then
|
|---|
| 177 | exitcode=1
|
|---|
| 178 | echo as_func_ret_failure succeeded.
|
|---|
| 179 | fi
|
|---|
| 180 |
|
|---|
| 181 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|---|
| 182 | :
|
|---|
| 183 | else
|
|---|
| 184 | exitcode=1
|
|---|
| 185 | echo positional parameters were not saved.
|
|---|
| 186 | fi
|
|---|
| 187 |
|
|---|
| 188 | test \$exitcode = 0) || { (exit 1); exit 1; }
|
|---|
| 189 |
|
|---|
| 190 | (
|
|---|
| 191 | as_lineno_1=\$LINENO
|
|---|
| 192 | as_lineno_2=\$LINENO
|
|---|
| 193 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|---|
| 194 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|---|
| 195 | ") 2> /dev/null; then
|
|---|
| 196 | :
|
|---|
| 197 | else
|
|---|
| 198 | as_candidate_shells=
|
|---|
| 199 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 200 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|---|
| 201 | do
|
|---|
| 202 | IFS=$as_save_IFS
|
|---|
| 203 | test -z "$as_dir" && as_dir=.
|
|---|
| 204 | case $as_dir in
|
|---|
| 205 | /*)
|
|---|
| 206 | for as_base in sh bash ksh sh5; do
|
|---|
| 207 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|---|
| 208 | done
|
|---|
| 209 | esac
|
|---|
| 210 | done
|
|---|
| 211 |
|
|---|
| 212 |
|
|---|
| 213 | for as_shell in $as_candidate_shells $SHELL; do
|
|---|
| 214 | if { ($as_shell) 2> /dev/null <<\_ASEOF
|
|---|
| 215 | # Be Bourne compatible
|
|---|
| 216 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|---|
| 217 | emulate sh
|
|---|
| 218 | NULLCMD=:
|
|---|
| 219 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|---|
| 220 | # is contrary to our usage. Disable this feature.
|
|---|
| 221 | alias -g '${1+"$@"}'='"$@"'
|
|---|
| 222 | setopt NO_GLOB_SUBST
|
|---|
| 223 | elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|---|
| 224 | set -o posix
|
|---|
| 225 | fi
|
|---|
| 226 | BIN_SH=xpg4; export BIN_SH # for Tru64
|
|---|
| 227 | DUALCASE=1; export DUALCASE # for MKS sh
|
|---|
| 228 |
|
|---|
| 229 | :
|
|---|
| 230 | _ASEOF
|
|---|
| 231 | }; then
|
|---|
| 232 | CONFIG_SHELL=$as_shell
|
|---|
| 233 | as_have_required=yes
|
|---|
| 234 | if { $as_shell 2> /dev/null <<\_ASEOF
|
|---|
| 235 | # Be Bourne compatible
|
|---|
| 236 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|---|
| 237 | emulate sh
|
|---|
| 238 | NULLCMD=:
|
|---|
| 239 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|---|
| 240 | # is contrary to our usage. Disable this feature.
|
|---|
| 241 | alias -g '${1+"$@"}'='"$@"'
|
|---|
| 242 | setopt NO_GLOB_SUBST
|
|---|
| 243 | elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|---|
| 244 | set -o posix
|
|---|
| 245 | fi
|
|---|
| 246 | BIN_SH=xpg4; export BIN_SH # for Tru64
|
|---|
| 247 | DUALCASE=1; export DUALCASE # for MKS sh
|
|---|
| 248 |
|
|---|
| 249 | :
|
|---|
| 250 | (as_func_return () {
|
|---|
| 251 | (exit $1)
|
|---|
| 252 | }
|
|---|
| 253 | as_func_success () {
|
|---|
| 254 | as_func_return 0
|
|---|
| 255 | }
|
|---|
| 256 | as_func_failure () {
|
|---|
| 257 | as_func_return 1
|
|---|
| 258 | }
|
|---|
| 259 | as_func_ret_success () {
|
|---|
| 260 | return 0
|
|---|
| 261 | }
|
|---|
| 262 | as_func_ret_failure () {
|
|---|
| 263 | return 1
|
|---|
| 264 | }
|
|---|
| 265 |
|
|---|
| 266 | exitcode=0
|
|---|
| 267 | if as_func_success; then
|
|---|
| 268 | :
|
|---|
| 269 | else
|
|---|
| 270 | exitcode=1
|
|---|
| 271 | echo as_func_success failed.
|
|---|
| 272 | fi
|
|---|
| 273 |
|
|---|
| 274 | if as_func_failure; then
|
|---|
| 275 | exitcode=1
|
|---|
| 276 | echo as_func_failure succeeded.
|
|---|
| 277 | fi
|
|---|
| 278 |
|
|---|
| 279 | if as_func_ret_success; then
|
|---|
| 280 | :
|
|---|
| 281 | else
|
|---|
| 282 | exitcode=1
|
|---|
| 283 | echo as_func_ret_success failed.
|
|---|
| 284 | fi
|
|---|
| 285 |
|
|---|
| 286 | if as_func_ret_failure; then
|
|---|
| 287 | exitcode=1
|
|---|
| 288 | echo as_func_ret_failure succeeded.
|
|---|
| 289 | fi
|
|---|
| 290 |
|
|---|
| 291 | if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|---|
| 292 | :
|
|---|
| 293 | else
|
|---|
| 294 | exitcode=1
|
|---|
| 295 | echo positional parameters were not saved.
|
|---|
| 296 | fi
|
|---|
| 297 |
|
|---|
| 298 | test $exitcode = 0) || { (exit 1); exit 1; }
|
|---|
| 299 |
|
|---|
| 300 | (
|
|---|
| 301 | as_lineno_1=$LINENO
|
|---|
| 302 | as_lineno_2=$LINENO
|
|---|
| 303 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|---|
| 304 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|---|
| 305 |
|
|---|
| 306 | _ASEOF
|
|---|
| 307 | }; then
|
|---|
| 308 | break
|
|---|
| 309 | fi
|
|---|
| 310 |
|
|---|
| 311 | fi
|
|---|
| 312 |
|
|---|
| 313 | done
|
|---|
| 314 |
|
|---|
| 315 | if test "x$CONFIG_SHELL" != x; then
|
|---|
| 316 | for as_var in BASH_ENV ENV
|
|---|
| 317 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|---|
| 318 | done
|
|---|
| 319 | export CONFIG_SHELL
|
|---|
| 320 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|---|
| 321 | fi
|
|---|
| 322 |
|
|---|
| 323 |
|
|---|
| 324 | if test $as_have_required = no; then
|
|---|
| 325 | echo This script requires a shell more modern than all the
|
|---|
| 326 | echo shells that I found on your system. Please install a
|
|---|
| 327 | echo modern shell, or manually run the script under such a
|
|---|
| 328 | echo shell if you do have one.
|
|---|
| 329 | { (exit 1); exit 1; }
|
|---|
| 330 | fi
|
|---|
| 331 |
|
|---|
| 332 |
|
|---|
| 333 | fi
|
|---|
| 334 |
|
|---|
| 335 | fi
|
|---|
| 336 |
|
|---|
| 337 |
|
|---|
| 338 |
|
|---|
| 339 | (eval "as_func_return () {
|
|---|
| 340 | (exit \$1)
|
|---|
| 341 | }
|
|---|
| 342 | as_func_success () {
|
|---|
| 343 | as_func_return 0
|
|---|
| 344 | }
|
|---|
| 345 | as_func_failure () {
|
|---|
| 346 | as_func_return 1
|
|---|
| 347 | }
|
|---|
| 348 | as_func_ret_success () {
|
|---|
| 349 | return 0
|
|---|
| 350 | }
|
|---|
| 351 | as_func_ret_failure () {
|
|---|
| 352 | return 1
|
|---|
| 353 | }
|
|---|
| 354 |
|
|---|
| 355 | exitcode=0
|
|---|
| 356 | if as_func_success; then
|
|---|
| 357 | :
|
|---|
| 358 | else
|
|---|
| 359 | exitcode=1
|
|---|
| 360 | echo as_func_success failed.
|
|---|
| 361 | fi
|
|---|
| 362 |
|
|---|
| 363 | if as_func_failure; then
|
|---|
| 364 | exitcode=1
|
|---|
| 365 | echo as_func_failure succeeded.
|
|---|
| 366 | fi
|
|---|
| 367 |
|
|---|
| 368 | if as_func_ret_success; then
|
|---|
| 369 | :
|
|---|
| 370 | else
|
|---|
| 371 | exitcode=1
|
|---|
|
|---|