Raymes Khoury | 24354f7 | 2011-08-22 22:03:56 | [diff] [blame] | 1 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.64. |
| 4 | # |
| 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
| 7 | # Foundation, Inc. |
| 8 | # |
| 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 more Bourne compatible |
| 16 | DUALCASE=1; export DUALCASE # for MKS sh |
| 17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 18 | emulate sh |
| 19 | NULLCMD=: |
| 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 21 | # is contrary to our usage. Disable this feature. |
| 22 | alias -g '${1+"$@"}'='"$@"' |
| 23 | setopt NO_GLOB_SUBST |
| 24 | else |
| 25 | case `(set -o) 2>/dev/null` in #( |
| 26 | *posix*) : |
| 27 | set -o posix ;; #( |
| 28 | *) : |
| 29 | ;; |
| 30 | esac |
| 31 | fi |
| 32 | |
| 33 | |
| 34 | as_nl=' |
| 35 | ' |
| 36 | export as_nl |
| 37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 41 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
| 42 | # but without wasting forks for bash or zsh. |
| 43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 45 | as_echo='print -r --' |
| 46 | as_echo_n='print -rn --' |
| 47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 48 | as_echo='printf %s\n' |
| 49 | as_echo_n='printf %s' |
| 50 | else |
| 51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 53 | as_echo_n='/usr/ucb/echo -n' |
| 54 | else |
| 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 56 | as_echo_n_body='eval |
| 57 | arg=$1; |
| 58 | case $arg in #( |
| 59 | *"$as_nl"*) |
| 60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 62 | esac; |
| 63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 64 | ' |
| 65 | export as_echo_n_body |
| 66 | as_echo_n='sh -c $as_echo_n_body as_echo' |
| 67 | fi |
| 68 | export as_echo_body |
| 69 | as_echo='sh -c $as_echo_body as_echo' |
| 70 | fi |
| 71 | |
| 72 | # The user is always right. |
| 73 | if test "${PATH_SEPARATOR+set}" != set; then |
| 74 | PATH_SEPARATOR=: |
| 75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 77 | PATH_SEPARATOR=';' |
| 78 | } |
| 79 | fi |
| 80 | |
| 81 | |
| 82 | # IFS |
| 83 | # We need space, tab and new line, in precisely that order. Quoting is |
| 84 | # there to prevent editors from complaining about space-tab. |
| 85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 86 | # splitting by setting IFS to empty value.) |
| 87 | IFS=" "" $as_nl" |
| 88 | |
| 89 | # Find who we are. Look in the path if we contain no directory separator. |
| 90 | case $0 in #(( |
| 91 | *[\\/]* ) as_myself=$0 ;; |
| 92 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 93 | for as_dir in $PATH |
| 94 | do |
| 95 | IFS=$as_save_IFS |
| 96 | test -z "$as_dir" && as_dir=. |
| 97 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 98 | done |
| 99 | IFS=$as_save_IFS |
| 100 | |
| 101 | ;; |
| 102 | esac |
| 103 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
| 104 | # in which case we are not to be found in the path. |
| 105 | if test "x$as_myself" = x; then |
| 106 | as_myself=$0 |
| 107 | fi |
| 108 | if test ! -f "$as_myself"; then |
| 109 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 110 | exit 1 |
| 111 | fi |
| 112 | |
| 113 | # Unset variables that we do not need and which cause bugs (e.g. in |
| 114 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 115 | # suppresses any "Segmentation fault" message there. '((' could |
| 116 | # trigger a bug in pdksh 5.2.14. |
| 117 | for as_var in BASH_ENV ENV MAIL MAILPATH |
| 118 | do eval test x\${$as_var+set} = xset \ |
| 119 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 120 | done |
| 121 | PS1='$ ' |
| 122 | PS2='> ' |
| 123 | PS4='+ ' |
| 124 | |
| 125 | # NLS nuisances. |
| 126 | LC_ALL=C |
| 127 | export LC_ALL |
| 128 | LANGUAGE=C |
| 129 | export LANGUAGE |
| 130 | |
| 131 | # CDPATH. |
| 132 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 133 | |
| 134 | if test "x$CONFIG_SHELL" = x; then |
| 135 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 136 | emulate sh |
| 137 | NULLCMD=: |
| 138 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 139 | # is contrary to our usage. Disable this feature. |
| 140 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 141 | setopt NO_GLOB_SUBST |
| 142 | else |
| 143 | case \`(set -o) 2>/dev/null\` in #( |
| 144 | *posix*) : |
| 145 | set -o posix ;; #( |
| 146 | *) : |
| 147 | ;; |
| 148 | esac |
| 149 | fi |
| 150 | " |
| 151 | as_required="as_fn_return () { (exit \$1); } |
| 152 | as_fn_success () { as_fn_return 0; } |
| 153 | as_fn_failure () { as_fn_return 1; } |
| 154 | as_fn_ret_success () { return 0; } |
| 155 | as_fn_ret_failure () { return 1; } |
| 156 | |
| 157 | exitcode=0 |
| 158 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 159 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 160 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 161 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 162 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 163 | |
| 164 | else |
| 165 | exitcode=1; echo positional parameters were not saved. |
| 166 | fi |
| 167 | test x\$exitcode = x0 || exit 1" |
| 168 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 169 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 170 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 171 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 172 | test \$(( 1 + 1 )) = 2 || exit 1 |
| 173 | |
| 174 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
| 175 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 176 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 177 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
| 178 | PATH=/empty FPATH=/empty; export PATH FPATH |
| 179 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
| 180 | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" |
| 181 | if (eval "$as_required") 2>/dev/null; then : |
| 182 | as_have_required=yes |
| 183 | else |
| 184 | as_have_required=no |
| 185 | fi |
| 186 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
| 187 | |
| 188 | else |
| 189 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 190 | as_found=false |
| 191 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 192 | do |
| 193 | IFS=$as_save_IFS |
| 194 | test -z "$as_dir" && as_dir=. |
| 195 | as_found=: |
| 196 | case $as_dir in #( |
| 197 | /*) |
| 198 | for as_base in sh bash ksh sh5; do |
| 199 | # Try only shells that exist, to save several forks. |
| 200 | as_shell=$as_dir/$as_base |
| 201 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 202 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 203 | CONFIG_SHELL=$as_shell as_have_required=yes |
| 204 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 205 | break 2 |
| 206 | fi |
| 207 | fi |
| 208 | done;; |
| 209 | esac |
| 210 | as_found=false |
| 211 | done |
| 212 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 213 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
| 214 | CONFIG_SHELL=$SHELL as_have_required=yes |
| 215 | fi; } |
| 216 | IFS=$as_save_IFS |
| 217 | |
| 218 | |
| 219 | if test "x$CONFIG_SHELL" != x; then : |
| 220 | # We cannot yet assume a decent shell, so we have to provide a |
| 221 | # neutralization value for shells without unset; and this also |
| 222 | # works around shells that cannot unset nonexistent variables. |
| 223 | BASH_ENV=/dev/null |
| 224 | ENV=/dev/null |
| 225 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 226 | export CONFIG_SHELL |
| 227 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| 228 | fi |
| 229 | |
| 230 | if test x$as_have_required = xno; then : |
| 231 | $as_echo "$0: This script requires a shell more modern than all" |
| 232 | $as_echo "$0: the shells that I found on your system." |
| 233 | if test x${ZSH_VERSION+set} = xset ; then |
| 234 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 235 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 236 | else |
| 237 | $as_echo "$0: Please tell [email protected] about your system, |
| 238 | $0: including any error possibly output before this |
| 239 | $0: message. Then install a modern shell, or manually run |
| 240 | $0: the script under such a shell if you do have one." |
| 241 | fi |
| 242 | exit 1 |
| 243 | fi |
| 244 | fi |
| 245 | fi |
| 246 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 247 | export SHELL |
| 248 | # Unset more variables known to interfere with behavior of common tools. |
| 249 | CLICOLOR_FORCE= GREP_OPTIONS= |
| 250 | unset CLICOLOR_FORCE GREP_OPTIONS |
| 251 | |
| 252 | ## --------------------- ## |
| 253 | ## M4sh Shell Functions. ## |
| 254 | ## --------------------- ## |
| 255 | # as_fn_unset VAR |
| 256 | # --------------- |
| 257 | # Portably unset VAR. |
| 258 | as_fn_unset () |
| 259 | { |
| 260 | { eval $1=; unset $1;} |
| 261 | } |
| 262 | as_unset=as_fn_unset |
| 263 | |
| 264 | # as_fn_set_status STATUS |
| 265 | # ----------------------- |
| 266 | # Set $? to STATUS, without forking. |
| 267 | as_fn_set_status () |
| 268 | { |
| 269 | return $1 |
| 270 | } # as_fn_set_status |
| 271 | |
| 272 | # as_fn_exit STATUS |
| 273 | # ----------------- |
| 274 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 275 | as_fn_exit () |
| 276 | { |
| 277 | set +e |
| 278 | as_fn_set_status $1 |
| 279 | exit $1 |
| 280 | } # as_fn_exit |
| 281 | |
| 282 | # as_fn_mkdir_p |
| 283 | # ------------- |
| 284 | # Create "$as_dir" as a directory, including parents if necessary. |
| 285 | as_fn_mkdir_p () |
| 286 | { |
| 287 | |
| 288 | case $as_dir in #( |
| 289 | -*) as_dir=./$as_dir;; |
| 290 | esac |
| 291 | test -d "$as_dir" || eval $as_mkdir_p || { |
| 292 | as_dirs= |
| 293 | while :; do |
| 294 | case $as_dir in #( |
| 295 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 296 | *) as_qdir=$as_dir;; |
| 297 | esac |
| 298 | as_dirs="'$as_qdir' $as_dirs" |
| 299 | as_dir=`$as_dirname -- "$as_dir" || |
| 300 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 301 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 302 | X"$as_dir" : 'X\(//\)$' \| \ |
| 303 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 304 | $as_echo X"$as_dir" | |
| 305 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 306 | s//\1/ |
| 307 | q |
| 308 | } |
| 309 | /^X\(\/\/\)[^/].*/{ |
| 310 | s//\1/ |
| 311 | q |
| 312 | } |
| 313 | /^X\(\/\/\)$/{ |
| 314 | s//\1/ |
| 315 | q |
| 316 | } |
| 317 | /^X\(\/\).*/{ |
| 318 | s//\1/ |
| 319 | q |
| 320 | } |
| 321 | s/.*/./; q'` |
| 322 | test -d "$as_dir" && break |
| 323 | done |
| 324 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 325 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
| 326 | |
| 327 | |
| 328 | } # as_fn_mkdir_p |
| 329 | # as_fn_append VAR VALUE |
| 330 | # ---------------------- |
| 331 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
| 332 | # advantage of any shell optimizations that allow amortized linear growth over |
| 333 | # repeated appends, instead of the typical quadratic growth present in naive |
| 334 | # implementations. |
| 335 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 336 | eval 'as_fn_append () |
| 337 | { |
| 338 | eval $1+=\$2 |
| 339 | }' |
| 340 | else |
| 341 | as_fn_append () |
| 342 | { |
| 343 | eval $1=\$$1\$2 |
| 344 | } |
| 345 | fi # as_fn_append |
| 346 | |
| 347 | # as_fn_arith ARG... |
| 348 | # ------------------ |
| 349 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
| 350 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 351 | # must be portable across $(()) and expr. |
| 352 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 353 | eval 'as_fn_arith () |
| 354 | { |
| 355 | as_val=$(( $* )) |
| 356 | }' |
| 357 | else |
| 358 | as_fn_arith () |
| 359 | { |
| 360 | as_val=`expr "$@" || test $? -eq 1` |
| 361 | } |
| 362 | fi # as_fn_arith |
| 363 | |
| 364 | |
| 365 | # as_fn_error ERROR [LINENO LOG_FD] |
| 366 | # --------------------------------- |
| 367 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 368 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 369 | # script with status $?, using 1 if that was 0. |
| 370 | as_fn_error () |
| 371 | { |
| 372 | as_status=$?; test $as_status -eq 0 && as_status=1 |
| 373 | if test "$3"; then |
| 374 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 375 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
| 376 | fi |
| 377 | $as_echo "$as_me: error: $1" >&2 |
| 378 | as_fn_exit $as_status |
| 379 | } # as_fn_error |
| 380 | |
| 381 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 382 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 383 | as_expr=expr |
| 384 | else |
| 385 | as_expr=false |
| 386 | fi |
| 387 | |
| 388 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 389 | as_basename=basename |
| 390 | else |
| 391 | as_basename=false |
| 392 | fi |
| 393 | |
| 394 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 395 | as_dirname=dirname |
| 396 | else |
| 397 | as_dirname=false |
| 398 | fi |
| 399 | |
| 400 | as_me=`$as_basename -- "$0" || |
| 401 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 402 | X"$0" : 'X\(//\)$' \| \ |
| 403 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 404 | $as_echo X/"$0" | |
| 405 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 406 | s//\1/ |
| 407 | q |
| 408 | } |
| 409 | /^X\/\(\/\/\)$/{ |
| 410 | s//\1/ |
| 411 | q |
| 412 | } |
| 413 | /^X\/\(\/\).*/{ |
| 414 | s//\1/ |
| 415 | q |
| 416 | } |
| 417 | s/.*/./; q'` |
| 418 | |
| 419 | # Avoid depending upon Character Ranges. |
| 420 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 421 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 422 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 423 | as_cr_digits='0123456789' |
| 424 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 425 | |
| 426 | |
| 427 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 428 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 429 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 430 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 431 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 432 | sed -n ' |
| 433 | p |
| 434 | /[$]LINENO/= |
| 435 | ' <$as_myself | |
| 436 | sed ' |
| 437 | s/[$]LINENO.*/&-/ |
| 438 | t lineno |
| 439 | b |
| 440 | :lineno |
| 441 | N |
| 442 | :loop |
| 443 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 444 | t loop |
| 445 | s/-\n.*// |
| 446 | ' >$as_me.lineno && |
| 447 | chmod +x "$as_me.lineno" || |
| 448 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 449 | |
| 450 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 451 | # (the dirname of $[0] is not the place where we might find the |
| 452 | # original and so on. Autoconf is especially sensitive to this). |
| 453 | . "./$as_me.lineno" |
| 454 | # Exit status is that of the last command. |
| 455 | exit |
| 456 | } |
| 457 | |
| 458 | ECHO_C= ECHO_N= ECHO_T= |
| 459 | case `echo -n x` in #((((( |
| 460 | -n*) |
| 461 | case `echo 'xy\c'` in |
| 462 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 463 | xy) ECHO_C='\c';; |
| 464 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 465 | ECHO_T=' ';; |
| 466 | esac;; |
| 467 | *) |
| 468 | ECHO_N='-n';; |
| 469 | esac |
| 470 | |
| 471 | rm -f conf$$ conf$$.exe conf$$.file |
| 472 | if test -d conf$$.dir; then |
| 473 | rm -f conf$$.dir/conf$$.file |
| 474 | else |
| 475 | rm -f conf$$.dir |
| 476 | mkdir conf$$.dir 2>/dev/null |
| 477 | fi |
| 478 | if (echo >conf$$.file) 2>/dev/null; then |
| 479 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 480 | as_ln_s='ln -s' |
| 481 | # ... but there are two gotchas: |
| 482 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 483 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 484 | # In both cases, we have to default to `cp -p'. |
| 485 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 486 | as_ln_s='cp -p' |
| 487 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 488 | as_ln_s=ln |
| 489 | else |
| 490 | as_ln_s='cp -p' |
| 491 | fi |
| 492 | else |
| 493 | as_ln_s='cp -p' |
| 494 | fi |
| 495 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 496 | rmdir conf$$.dir 2>/dev/null |
| 497 | |
| 498 | if mkdir -p . 2>/dev/null; then |
| 499 | as_mkdir_p='mkdir -p "$as_dir"' |
| 500 | else |
| 501 | test -d ./-p && rmdir ./-p |
| 502 | as_mkdir_p=false |
| 503 | fi |
| 504 | |
| 505 | if test -x / >/dev/null 2>&1; then |
| 506 | as_test_x='test -x' |
| 507 | else |
| 508 | if ls -dL / >/dev/null 2>&1; then |
| 509 | as_ls_L_option=L |
| 510 | else |
| 511 | as_ls_L_option= |
| 512 | fi |
| 513 | as_test_x=' |
| 514 | eval sh -c '\'' |
| 515 | if test -d "$1"; then |
| 516 | test -d "$1/."; |
| 517 | else |
| 518 | case $1 in #( |
| 519 | -*)set "./$1";; |
| 520 | esac; |
| 521 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
| 522 | ???[sx]*):;;*)false;;esac;fi |
| 523 | '\'' sh |
| 524 | ' |
| 525 | fi |
| 526 | as_executable_p=$as_test_x |
| 527 | |
| 528 | # Sed expression to map a string onto a valid CPP name. |
| 529 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 530 | |
| 531 | # Sed expression to map a string onto a valid variable name. |
| 532 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 533 | |
| 534 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 535 | |
| 536 | |
| 537 | exec 7<&0 </dev/null 6>&1 |
| 538 | |
| 539 | # Name of the host. |
| 540 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 541 | # so uname gets run too. |
| 542 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 543 | |
| 544 | # |
| 545 | # Initializations. |
| 546 | # |
| 547 | ac_default_prefix=/usr/local |
| 548 | ac_clean_files= |
| 549 | ac_config_libobj_dir=. |
| 550 | LIBOBJS= |
| 551 | cross_compiling=no |
| 552 | subdirs= |
| 553 | MFLAGS= |
| 554 | MAKEFLAGS= |
| 555 | |
| 556 | # Identity of this package. |
| 557 | PACKAGE_NAME= |
| 558 | PACKAGE_TARNAME= |
| 559 | PACKAGE_VERSION= |
| 560 | PACKAGE_STRING= |
| 561 | PACKAGE_BUGREPORT= |
| 562 | PACKAGE_URL= |
| 563 | |
| 564 | ac_unique_file="as.h" |
| 565 | # Factoring default headers for most tests. |
| 566 | ac_includes_default="\ |
| 567 | #include <stdio.h> |
| 568 | #ifdef HAVE_SYS_TYPES_H |
| 569 | # include <sys/types.h> |
| 570 | #endif |
| 571 | #ifdef HAVE_SYS_STAT_H |
| 572 | # include <sys/stat.h> |
| 573 | #endif |
| 574 | #ifdef STDC_HEADERS |
| 575 | # include <stdlib.h> |
| 576 | # include <stddef.h> |
| 577 | #else |
| 578 | # ifdef HAVE_STDLIB_H |
| 579 | # include <stdlib.h> |
| 580 | # endif |
| 581 | #endif |
| 582 | #ifdef HAVE_STRING_H |
| 583 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 584 | # include <memory.h> |
| 585 | # endif |
| 586 | # include <string.h> |
| 587 | #endif |
| 588 | #ifdef HAVE_STRINGS_H |
| 589 | # include <strings.h> |
| 590 | #endif |
| 591 | #ifdef HAVE_INTTYPES_H |
| 592 | # include <inttypes.h> |
| 593 | #endif |
| 594 | #ifdef HAVE_STDINT_H |
| 595 | # include <stdint.h> |
| 596 | #endif |
| 597 | #ifdef HAVE_UNISTD_H |
| 598 | # include <unistd.h> |
| 599 | #endif" |
| 600 | |
| 601 | ac_subst_vars='am__EXEEXT_FALSE |
| 602 | am__EXEEXT_TRUE |
| 603 | LTLIBOBJS |
| 604 | LIBOBJS |
| 605 | LIBM |
| 606 | ALLOCA |
| 607 | GENINSRC_NEVER_FALSE |
| 608 | GENINSRC_NEVER_TRUE |
| 609 | MAINT |
| 610 | MAINTAINER_MODE_FALSE |
| 611 | MAINTAINER_MODE_TRUE |
| 612 | MSGMERGE |
| 613 | MSGFMT |
| 614 | MKINSTALLDIRS |
| 615 | CATOBJEXT |
| 616 | GENCAT |
| 617 | INSTOBJEXT |
| 618 | DATADIRNAME |
| 619 | CATALOGS |
| 620 | POSUB |
| 621 | GMSGFMT |
| 622 | XGETTEXT |
| 623 | INCINTL |
| 624 | LIBINTL_DEP |
| 625 | LIBINTL |
| 626 | USE_NLS |
| 627 | LEXLIB |
| 628 | LEX_OUTPUT_ROOT |
| 629 | LEX |
| 630 | YFLAGS |
| 631 | YACC |
| 632 | OPCODES_LIB |
| 633 | atof |
| 634 | install_tooldir |
| 635 | te_file |
| 636 | obj_format |
| 637 | target_cpu_type |
| 638 | extra_objects |
| 639 | cgen_cpu_prefix |
| 640 | GDBINIT |
| 641 | NO_WERROR |
| 642 | WARN_CFLAGS |
| 643 | OTOOL64 |
| 644 | OTOOL |
| 645 | LIPO |
| 646 | NMEDIT |
| 647 | DSYMUTIL |
| 648 | RANLIB |
| 649 | AR |
| 650 | OBJDUMP |
| 651 | LN_S |
| 652 | NM |
| 653 | ac_ct_DUMPBIN |
| 654 | DUMPBIN |
| 655 | LD |
| 656 | FGREP |
| 657 | SED |
| 658 | LIBTOOL |
| 659 | EGREP |
| 660 | GREP |
| 661 | CPP |
| 662 | am__fastdepCC_FALSE |
| 663 | am__fastdepCC_TRUE |
| 664 | CCDEPMODE |
| 665 | AMDEPBACKSLASH |
| 666 | AMDEP_FALSE |
| 667 | AMDEP_TRUE |
| 668 | am__quote |
| 669 | am__include |
| 670 | DEPDIR |
| 671 | am__untar |
| 672 | am__tar |
| 673 | AMTAR |
| 674 | am__leading_dot |
| 675 | SET_MAKE |
| 676 | AWK |
| 677 | mkdir_p |
| 678 | MKDIR_P |
| 679 | INSTALL_STRIP_PROGRAM |
| 680 | STRIP |
| 681 | install_sh |
| 682 | MAKEINFO |
| 683 | AUTOHEADER |
| 684 | AUTOMAKE |
| 685 | AUTOCONF |
| 686 | ACLOCAL |
| 687 | VERSION |
| 688 | PACKAGE |
| 689 | CYGPATH_W |
| 690 | am__isrc |
| 691 | INSTALL_DATA |
| 692 | INSTALL_SCRIPT |
| 693 | INSTALL_PROGRAM |
| 694 | OBJEXT |
| 695 | EXEEXT |
| 696 | ac_ct_CC |
| 697 | CPPFLAGS |
| 698 | LDFLAGS |
| 699 | CFLAGS |
| 700 | CC |
| 701 | target_os |
| 702 | target_vendor |
| 703 | target_cpu |
| 704 | target |
| 705 | host_os |
| 706 | host_vendor |
| 707 | host_cpu |
| 708 | host |
| 709 | build_os |
| 710 | build_vendor |
| 711 | build_cpu |
| 712 | build |
| 713 | target_alias |
| 714 | host_alias |
| 715 | build_alias |
| 716 | LIBS |
| 717 | ECHO_T |
| 718 | ECHO_N |
| 719 | ECHO_C |
| 720 | DEFS |
| 721 | mandir |
| 722 | localedir |
| 723 | libdir |
| 724 | psdir |
| 725 | pdfdir |
| 726 | dvidir |
| 727 | htmldir |
| 728 | infodir |
| 729 | docdir |
| 730 | oldincludedir |
| 731 | includedir |
| 732 | localstatedir |
| 733 | sharedstatedir |
| 734 | sysconfdir |
| 735 | datadir |
| 736 | datarootdir |
| 737 | libexecdir |
| 738 | sbindir |
| 739 | bindir |
| 740 | program_transform_name |
| 741 | prefix |
| 742 | exec_prefix |
| 743 | PACKAGE_URL |
| 744 | PACKAGE_BUGREPORT |
| 745 | PACKAGE_STRING |
| 746 | PACKAGE_VERSION |
| 747 | PACKAGE_TARNAME |
| 748 | PACKAGE_NAME |
| 749 | PATH_SEPARATOR |
| 750 | SHELL' |
| 751 | ac_subst_files='' |
| 752 | ac_user_opts=' |
| 753 | enable_option_checking |
| 754 | enable_dependency_tracking |
| 755 | enable_plugins |
| 756 | enable_largefile |
| 757 | enable_shared |
| 758 | enable_static |
| 759 | with_pic |
| 760 | enable_fast_install |
| 761 | with_gnu_ld |
| 762 | enable_libtool_lock |
| 763 | enable_targets |
| 764 | enable_checking |
| 765 | enable_werror |
| 766 | enable_build_warnings |
| 767 | enable_nls |
| 768 | enable_maintainer_mode |
| 769 | with_zlib |
| 770 | ' |
| 771 | ac_precious_vars='build_alias |
| 772 | host_alias |
| 773 | target_alias |
| 774 | CC |
| 775 | CFLAGS |
| 776 | LDFLAGS |
| 777 | LIBS |
| 778 | CPPFLAGS |
| 779 | CPP |
| 780 | YACC |
| 781 | YFLAGS' |
| 782 | |
| 783 | |
| 784 | # Initialize some variables set by options. |
| 785 | ac_init_help= |
| 786 | ac_init_version=false |
| 787 | ac_unrecognized_opts= |
| 788 | ac_unrecognized_sep= |
| 789 | # The variables have the same names as the options, with |
| 790 | # dashes changed to underlines. |
| 791 | cache_file=/dev/null |
| 792 | exec_prefix=NONE |
| 793 | no_create= |
| 794 | no_recursion= |
| 795 | prefix=NONE |
| 796 | program_prefix=NONE |
| 797 | program_suffix=NONE |
| 798 | program_transform_name=s,x,x, |
| 799 | silent= |
| 800 | site= |
| 801 | srcdir= |
| 802 | verbose= |
| 803 | x_includes=NONE |
| 804 | x_libraries=NONE |
| 805 | |
| 806 | # Installation directory options. |
| 807 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
| 808 | # and all the variables that are supposed to be based on exec_prefix |
| 809 | # by default will actually change. |
| 810 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 811 | # (The list follows the same order as the GNU Coding Standards.) |
| 812 | bindir='${exec_prefix}/bin' |
| 813 | sbindir='${exec_prefix}/sbin' |
| 814 | libexecdir='${exec_prefix}/libexec' |
| 815 | datarootdir='${prefix}/share' |
| 816 | datadir='${datarootdir}' |
| 817 | sysconfdir='${prefix}/etc' |
| 818 | sharedstatedir='${prefix}/com' |
| 819 | localstatedir='${prefix}/var' |
| 820 | includedir='${prefix}/include' |
| 821 | oldincludedir='/usr/include' |
| 822 | docdir='${datarootdir}/doc/${PACKAGE}' |
| 823 | infodir='${datarootdir}/info' |
| 824 | htmldir='${docdir}' |
| 825 | dvidir='${docdir}' |
| 826 | pdfdir='${docdir}' |
| 827 | psdir='${docdir}' |
| 828 | libdir='${exec_prefix}/lib' |
| 829 | localedir='${datarootdir}/locale' |
| 830 | mandir='${datarootdir}/man' |
| 831 | |
| 832 | ac_prev= |
| 833 | ac_dashdash= |
| 834 | for ac_option |
| 835 | do |
| 836 | # If the previous option needs an argument, assign it. |
| 837 | if test -n "$ac_prev"; then |
| 838 | eval $ac_prev=\$ac_option |
| 839 | ac_prev= |
| 840 | continue |
| 841 | fi |
| 842 | |
| 843 | case $ac_option in |
| 844 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 845 | *) ac_optarg=yes ;; |
| 846 | esac |
| 847 | |
| 848 | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 849 | |
| 850 | case $ac_dashdash$ac_option in |
| 851 | --) |
| 852 | ac_dashdash=yes ;; |
| 853 | |
| 854 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 855 | ac_prev=bindir ;; |
| 856 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 857 | bindir=$ac_optarg ;; |
| 858 | |
| 859 | -build | --build | --buil | --bui | --bu) |
| 860 | ac_prev=build_alias ;; |
| 861 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 862 | build_alias=$ac_optarg ;; |
| 863 | |
| 864 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 865 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 866 | ac_prev=cache_file ;; |
| 867 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 868 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 869 | cache_file=$ac_optarg ;; |
| 870 | |
| 871 | --config-cache | -C) |
| 872 | cache_file=config.cache ;; |
| 873 | |
| 874 | -datadir | --datadir | --datadi | --datad) |
| 875 | ac_prev=datadir ;; |
| 876 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 877 | datadir=$ac_optarg ;; |
| 878 | |
| 879 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 880 | | --dataroo | --dataro | --datar) |
| 881 | ac_prev=datarootdir ;; |
| 882 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 883 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 884 | datarootdir=$ac_optarg ;; |
| 885 | |
| 886 | -disable-* | --disable-*) |
| 887 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 888 | # Reject names that are not valid shell variable names. |
| 889 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 890 | as_fn_error "invalid feature name: $ac_useropt" |
| 891 | ac_useropt_orig=$ac_useropt |
| 892 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 893 | case $ac_user_opts in |
| 894 | *" |
| 895 | "enable_$ac_useropt" |
| 896 | "*) ;; |
| 897 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 898 | ac_unrecognized_sep=', ';; |
| 899 | esac |
| 900 | eval enable_$ac_useropt=no ;; |
| 901 | |
| 902 | -docdir | --docdir | --docdi | --doc | --do) |
| 903 | ac_prev=docdir ;; |
| 904 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 905 | docdir=$ac_optarg ;; |
| 906 | |
| 907 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 908 | ac_prev=dvidir ;; |
| 909 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 910 | dvidir=$ac_optarg ;; |
| 911 | |
| 912 | -enable-* | --enable-*) |
| 913 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 914 | # Reject names that are not valid shell variable names. |
| 915 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 916 | as_fn_error "invalid feature name: $ac_useropt" |
| 917 | ac_useropt_orig=$ac_useropt |
| 918 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 919 | case $ac_user_opts in |
| 920 | *" |
| 921 | "enable_$ac_useropt" |
| 922 | "*) ;; |
| 923 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 924 | ac_unrecognized_sep=', ';; |
| 925 | esac |
| 926 | eval enable_$ac_useropt=\$ac_optarg ;; |
| 927 | |
| 928 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 929 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 930 | | --exec | --exe | --ex) |
| 931 | ac_prev=exec_prefix ;; |
| 932 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 933 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 934 | | --exec=* | --exe=* | --ex=*) |
| 935 | exec_prefix=$ac_optarg ;; |
| 936 | |
| 937 | -gas | --gas | --ga | --g) |
| 938 | # Obsolete; use --with-gas. |
| 939 | with_gas=yes ;; |
| 940 | |
| 941 | -help | --help | --hel | --he | -h) |
| 942 | ac_init_help=long ;; |
| 943 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 944 | ac_init_help=recursive ;; |
| 945 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 946 | ac_init_help=short ;; |
| 947 | |
| 948 | -host | --host | --hos | --ho) |
| 949 | ac_prev=host_alias ;; |
| 950 | -host=* | --host=* | --hos=* | --ho=*) |
| 951 | host_alias=$ac_optarg ;; |
| 952 | |
| 953 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 954 | ac_prev=htmldir ;; |
| 955 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 956 | | --ht=*) |
| 957 | htmldir=$ac_optarg ;; |
| 958 | |
| 959 | -includedir | --includedir | --includedi | --included | --include \ |
| 960 | | --includ | --inclu | --incl | --inc) |
| 961 | ac_prev=includedir ;; |
| 962 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 963 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 964 | includedir=$ac_optarg ;; |
| 965 | |
| 966 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 967 | ac_prev=infodir ;; |
| 968 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 969 | infodir=$ac_optarg ;; |
| 970 | |
| 971 | -libdir | --libdir | --libdi | --libd) |
| 972 | ac_prev=libdir ;; |
| 973 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 974 | libdir=$ac_optarg ;; |
| 975 | |
| 976 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 977 | | --libexe | --libex | --libe) |
| 978 | ac_prev=libexecdir ;; |
| 979 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 980 | | --libexe=* | --libex=* | --libe=*) |
| 981 | libexecdir=$ac_optarg ;; |
| 982 | |
| 983 | -localedir | --localedir | --localedi | --localed | --locale) |
| 984 | ac_prev=localedir ;; |
| 985 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 986 | localedir=$ac_optarg ;; |
| 987 | |
| 988 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 989 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 990 | ac_prev=localstatedir ;; |
| 991 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 992 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 993 | localstatedir=$ac_optarg ;; |
| 994 | |
| 995 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 996 | ac_prev=mandir ;; |
| 997 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 998 | mandir=$ac_optarg ;; |
| 999 | |
| 1000 | -nfp | --nfp | --nf) |
| 1001 | # Obsolete; use --without-fp. |
| 1002 | with_fp=no ;; |
| 1003 | |
| 1004 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 1005 | | --no-cr | --no-c | -n) |
| 1006 | no_create=yes ;; |
| 1007 | |
| 1008 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 1009 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 1010 | no_recursion=yes ;; |
| 1011 | |
| 1012 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
| 1013 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
| 1014 | | --oldin | --oldi | --old | --ol | --o) |
| 1015 | ac_prev=oldincludedir ;; |
| 1016 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 1017 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 1018 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 1019 | oldincludedir=$ac_optarg ;; |
| 1020 | |
| 1021 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 1022 | ac_prev=prefix ;; |
| 1023 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 1024 | prefix=$ac_optarg ;; |
| 1025 | |
| 1026 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 1027 | | --program-pre | --program-pr | --program-p) |
| 1028 | ac_prev=program_prefix ;; |
| 1029 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 1030 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 1031 | program_prefix=$ac_optarg ;; |
| 1032 | |
| 1033 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 1034 | | --program-suf | --program-su | --program-s) |
| 1035 | ac_prev=program_suffix ;; |
| 1036 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 1037 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 1038 | program_suffix=$ac_optarg ;; |
| 1039 | |
| 1040 | -program-transform-name | --program-transform-name \ |
| 1041 | | --program-transform-nam | --program-transform-na \ |
| 1042 | | --program-transform-n | --program-transform- \ |
| 1043 | | --program-transform | --program-transfor \ |
| 1044 | | --program-transfo | --program-transf \ |
| 1045 | | --program-trans | --program-tran \ |
| 1046 | | --progr-tra | --program-tr | --program-t) |
| 1047 | ac_prev=program_transform_name ;; |
| 1048 | -program-transform-name=* | --program-transform-name=* \ |
| 1049 | | --program-transform-nam=* | --program-transform-na=* \ |
| 1050 | | --program-transform-n=* | --program-transform-=* \ |
| 1051 | | --program-transform=* | --program-transfor=* \ |
| 1052 | | --program-transfo=* | --program-transf=* \ |
| 1053 | | --program-trans=* | --program-tran=* \ |
| 1054 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 1055 | program_transform_name=$ac_optarg ;; |
| 1056 | |
| 1057 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1058 | ac_prev=pdfdir ;; |
| 1059 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1060 | pdfdir=$ac_optarg ;; |
| 1061 | |
| 1062 | -psdir | --psdir | --psdi | --psd | --ps) |
| 1063 | ac_prev=psdir ;; |
| 1064 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1065 | psdir=$ac_optarg ;; |
| 1066 | |
| 1067 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1068 | | -silent | --silent | --silen | --sile | --sil) |
| 1069 | silent=yes ;; |
| 1070 | |
| 1071 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1072 | ac_prev=sbindir ;; |
| 1073 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1074 | | --sbi=* | --sb=*) |
| 1075 | sbindir=$ac_optarg ;; |
| 1076 | |
| 1077 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1078 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1079 | | --sharedst | --shareds | --shared | --share | --shar \ |
| 1080 | | --sha | --sh) |
| 1081 | ac_prev=sharedstatedir ;; |
| 1082 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1083 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1084 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1085 | | --sha=* | --sh=*) |
| 1086 | sharedstatedir=$ac_optarg ;; |
| 1087 | |
| 1088 | -site | --site | --sit) |
| 1089 | ac_prev=site ;; |
| 1090 | -site=* | --site=* | --sit=*) |
| 1091 | site=$ac_optarg ;; |
| 1092 | |
| 1093 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1094 | ac_prev=srcdir ;; |
| 1095 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1096 | srcdir=$ac_optarg ;; |
| 1097 | |
| 1098 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 1099 | | --syscon | --sysco | --sysc | --sys | --sy) |
| 1100 | ac_prev=sysconfdir ;; |
| 1101 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 1102 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 1103 | sysconfdir=$ac_optarg ;; |
| 1104 | |
| 1105 | -target | --target | --targe | --targ | --tar | --ta | --t) |
| 1106 | ac_prev=target_alias ;; |
| 1107 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 1108 | target_alias=$ac_optarg ;; |
| 1109 | |
| 1110 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1111 | verbose=yes ;; |
| 1112 | |
| 1113 | -version | --version | --versio | --versi | --vers | -V) |
| 1114 | ac_init_version=: ;; |
| 1115 | |
| 1116 | -with-* | --with-*) |
| 1117 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 1118 | # Reject names that are not valid shell variable names. |
| 1119 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1120 | as_fn_error "invalid package name: $ac_useropt" |
| 1121 | ac_useropt_orig=$ac_useropt |
| 1122 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1123 | case $ac_user_opts in |
| 1124 | *" |
| 1125 | "with_$ac_useropt" |
| 1126 | "*) ;; |
| 1127 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1128 | ac_unrecognized_sep=', ';; |
| 1129 | esac |
| 1130 | eval with_$ac_useropt=\$ac_optarg ;; |
| 1131 | |
| 1132 | -without-* | --without-*) |
| 1133 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1134 | # Reject names that are not valid shell variable names. |
| 1135 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1136 | as_fn_error "invalid package name: $ac_useropt" |
| 1137 | ac_useropt_orig=$ac_useropt |
| 1138 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1139 | case $ac_user_opts in |
| 1140 | *" |
| 1141 | "with_$ac_useropt" |
| 1142 | "*) ;; |
| 1143 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1144 | ac_unrecognized_sep=', ';; |
| 1145 | esac |
| 1146 | eval with_$ac_useropt=no ;; |
| 1147 | |
| 1148 | --x) |
| 1149 | # Obsolete; use --with-x. |
| 1150 | with_x=yes ;; |
| 1151 | |
| 1152 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 1153 | | --x-incl | --x-inc | --x-in | --x-i) |
| 1154 | ac_prev=x_includes ;; |
| 1155 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 1156 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 1157 | x_includes=$ac_optarg ;; |
| 1158 | |
| 1159 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 1160 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 1161 | ac_prev=x_libraries ;; |
| 1162 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 1163 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 1164 | x_libraries=$ac_optarg ;; |
| 1165 | |
| 1166 | -*) as_fn_error "unrecognized option: \`$ac_option' |
| 1167 | Try \`$0 --help' for more information." |
| 1168 | ;; |
| 1169 | |
| 1170 | *=*) |
| 1171 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1172 | # Reject names that are not valid shell variable names. |
| 1173 | case $ac_envvar in #( |
| 1174 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1175 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
| 1176 | esac |
| 1177 | eval $ac_envvar=\$ac_optarg |
| 1178 | export $ac_envvar ;; |
| 1179 | |
| 1180 | *) |
| 1181 | # FIXME: should be removed in autoconf 3.0. |
| 1182 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1183 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1184 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1185 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| 1186 | ;; |
| 1187 | |
| 1188 | esac |
| 1189 | done |
| 1190 | |
| 1191 | if test -n "$ac_prev"; then |
| 1192 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1193 | as_fn_error "missing argument to $ac_option" |
| 1194 | fi |
| 1195 | |
| 1196 | if test -n "$ac_unrecognized_opts"; then |
| 1197 | case $enable_option_checking in |
| 1198 | no) ;; |
| 1199 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
| 1200 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1201 | esac |
| 1202 | fi |
| 1203 | |
| 1204 | # Check all directory arguments for consistency. |
| 1205 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 1206 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 1207 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 1208 | libdir localedir mandir |
| 1209 | do |
| 1210 | eval ac_val=\$$ac_var |
| 1211 | # Remove trailing slashes. |
| 1212 | case $ac_val in |
| 1213 | */ ) |
| 1214 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1215 | eval $ac_var=\$ac_val;; |
| 1216 | esac |
| 1217 | # Be sure to have absolute directory names. |
| 1218 | case $ac_val in |
| 1219 | [\\/$]* | ?:[\\/]* ) continue;; |
| 1220 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1221 | esac |
| 1222 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
| 1223 | done |
| 1224 | |
| 1225 | # There might be people who depend on the old broken behavior: `$host' |
| 1226 | # used to hold the argument of --host etc. |
| 1227 | # FIXME: To remove some day. |
| 1228 | build=$build_alias |
| 1229 | host=$host_alias |
| 1230 | target=$target_alias |
| 1231 | |
| 1232 | # FIXME: To remove some day. |
| 1233 | if test "x$host_alias" != x; then |
| 1234 | if test "x$build_alias" = x; then |
| 1235 | cross_compiling=maybe |
| 1236 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| 1237 | If a cross compiler is detected then cross compile mode will be used." >&2 |
| 1238 | elif test "x$build_alias" != "x$host_alias"; then |
| 1239 | cross_compiling=yes |
| 1240 | fi |
| 1241 | fi |
| 1242 | |
| 1243 | ac_tool_prefix= |
| 1244 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1245 | |
| 1246 | test "$silent" = yes && exec 6>/dev/null |
| 1247 | |
| 1248 | |
| 1249 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1250 | ac_ls_di=`ls -di .` && |
| 1251 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1252 | as_fn_error "working directory cannot be determined" |
| 1253 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1254 | as_fn_error "pwd does not report name of working directory" |
| 1255 | |
| 1256 | |
| 1257 | # Find the source files, if location was not specified. |
| 1258 | if test -z "$srcdir"; then |
| 1259 | ac_srcdir_defaulted=yes |
| 1260 | # Try the directory containing this script, then the parent directory. |
| 1261 | ac_confdir=`$as_dirname -- "$as_myself" || |
| 1262 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1263 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1264 | X"$as_myself" : 'X\(//\)$' \| \ |
| 1265 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1266 | $as_echo X"$as_myself" | |
| 1267 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1268 | s//\1/ |
| 1269 | q |
| 1270 | } |
| 1271 | /^X\(\/\/\)[^/].*/{ |
| 1272 | s//\1/ |
| 1273 | q |
| 1274 | } |
| 1275 | /^X\(\/\/\)$/{ |
| 1276 | s//\1/ |
| 1277 | q |
| 1278 | } |
| 1279 | /^X\(\/\).*/{ |
| 1280 | s//\1/ |
| 1281 | q |
| 1282 | } |
| 1283 | s/.*/./; q'` |
| 1284 | srcdir=$ac_confdir |
| 1285 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1286 | srcdir=.. |
| 1287 | fi |
| 1288 | else |
| 1289 | ac_srcdir_defaulted=no |
| 1290 | fi |
| 1291 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 1292 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1293 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
| 1294 | fi |
| 1295 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1296 | ac_abs_confdir=`( |
| 1297 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
| 1298 | pwd)` |
| 1299 | # When building in place, set srcdir=. |
| 1300 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1301 | srcdir=. |
| 1302 | fi |
| 1303 | # Remove unnecessary trailing slashes from srcdir. |
| 1304 | # Double slashes in file names in object file debugging info |
| 1305 | # mess up M-x gdb in Emacs. |
| 1306 | case $srcdir in |
| 1307 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1308 | esac |
| 1309 | for ac_var in $ac_precious_vars; do |
| 1310 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1311 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 1312 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1313 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1314 | done |
| 1315 | |
| 1316 | # |
| 1317 | # Report the --help message. |
| 1318 | # |
| 1319 | if test "$ac_init_help" = "long"; then |
| 1320 | # Omit some internal or obsolete options to make the list less imposing. |
| 1321 | # This message is too long to be a string in the A/UX 3.1 sh. |
| 1322 | cat <<_ACEOF |
| 1323 | \`configure' configures this package to adapt to many kinds of systems. |
| 1324 | |
| 1325 | Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1326 | |
| 1327 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1328 | VAR=VALUE. See below for descriptions of some of the useful variables. |
| 1329 | |
| 1330 | Defaults for the options are specified in brackets. |
| 1331 | |
| 1332 | Configuration: |
| 1333 | -h, --help display this help and exit |
| 1334 | --help=short display options specific to this package |
| 1335 | --help=recursive display the short help of all the included packages |
| 1336 | -V, --version display version information and exit |
| 1337 | -q, --quiet, --silent do not print \`checking...' messages |
| 1338 | --cache-file=FILE cache test results in FILE [disabled] |
| 1339 | -C, --config-cache alias for \`--cache-file=config.cache' |
| 1340 | -n, --no-create do not create output files |
| 1341 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1342 | |
| 1343 | Installation directories: |
| 1344 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 1345 | [$ac_default_prefix] |
| 1346 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| 1347 | [PREFIX] |
| 1348 | |
| 1349 | By default, \`make install' will install all the files in |
| 1350 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| 1351 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
| 1352 | for instance \`--prefix=\$HOME'. |
| 1353 | |
| 1354 | For better control, use the options below. |
| 1355 | |
| 1356 | Fine tuning of the installation directories: |
| 1357 | --bindir=DIR user executables [EPREFIX/bin] |
| 1358 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 1359 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 1360 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 1361 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 1362 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 1363 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 1364 | --includedir=DIR C header files [PREFIX/include] |
| 1365 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 1366 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 1367 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1368 | --infodir=DIR info documentation [DATAROOTDIR/info] |
| 1369 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| 1370 | --mandir=DIR man documentation [DATAROOTDIR/man] |
| 1371 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
| 1372 | --htmldir=DIR html documentation [DOCDIR] |
| 1373 | --dvidir=DIR dvi documentation [DOCDIR] |
| 1374 | --pdfdir=DIR pdf documentation [DOCDIR] |
| 1375 | --psdir=DIR ps documentation [DOCDIR] |
| 1376 | _ACEOF |
| 1377 | |
| 1378 | cat <<\_ACEOF |
| 1379 | |
| 1380 | Program names: |
| 1381 | --program-prefix=PREFIX prepend PREFIX to installed program names |
| 1382 | --program-suffix=SUFFIX append SUFFIX to installed program names |
| 1383 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
| 1384 | |
| 1385 | System types: |
| 1386 | --build=BUILD configure for building on BUILD [guessed] |
| 1387 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1388 | --target=TARGET configure for building compilers for TARGET [HOST] |
| 1389 | _ACEOF |
| 1390 | fi |
| 1391 | |
| 1392 | if test -n "$ac_init_help"; then |
| 1393 | |
| 1394 | cat <<\_ACEOF |
| 1395 | |
| 1396 | Optional Features: |
| 1397 | --disable-option-checking ignore unrecognized --enable/--with options |
| 1398 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1399 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1400 | --disable-dependency-tracking speeds up one-time build |
| 1401 | --enable-dependency-tracking do not reject slow dependency extractors |
| 1402 | --enable-plugins Enable support for plugins (defaults no) |
| 1403 | --disable-largefile omit support for large files |
| 1404 | --enable-shared[=PKGS] build shared libraries [default=yes] |
| 1405 | --enable-static[=PKGS] build static libraries [default=yes] |
| 1406 | --enable-fast-install[=PKGS] |
| 1407 | optimize for fast installation [default=yes] |
| 1408 | --disable-libtool-lock avoid locking (might break parallel builds) |
| 1409 | --enable-targets alternative target configurations besides the primary |
| 1410 | --enable-checking enable run-time checks |
| 1411 | --enable-werror treat compile warnings as errors |
| 1412 | --enable-build-warnings enable build-time compiler warnings |
| 1413 | --disable-nls do not use Native Language Support |
| 1414 | --enable-maintainer-mode enable make rules and dependencies not useful |
| 1415 | (and sometimes confusing) to the casual installer |
| 1416 | |
| 1417 | Optional Packages: |
| 1418 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1419 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1420 | --with-pic try to use only PIC/non-PIC objects [default=use |
| 1421 | both] |
| 1422 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
| 1423 | --with-zlib include zlib support (auto/yes/no) default=auto |
| 1424 | |
| 1425 | Some influential environment variables: |
| 1426 | CC C compiler command |
| 1427 | CFLAGS C compiler flags |
| 1428 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1429 | nonstandard directory <lib dir> |
| 1430 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 1431 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1432 | you have headers in a nonstandard directory <include dir> |
| 1433 | CPP C preprocessor |
| 1434 | YACC The `Yet Another C Compiler' implementation to use. Defaults to |
| 1435 | the first program found out of: `bison -y', `byacc', `yacc'. |
| 1436 | YFLAGS The list of arguments that will be passed by default to $YACC. |
| 1437 | This script will default YFLAGS to the empty string to avoid a |
| 1438 | default value of `-d' given by some make applications. |
| 1439 | |
| 1440 | Use these variables to override the choices made by `configure' or to help |
| 1441 | it to find libraries and programs with nonstandard names/locations. |
| 1442 | |
| 1443 | Report bugs to the package provider. |
| 1444 | _ACEOF |
| 1445 | ac_status=$? |
| 1446 | fi |
| 1447 | |
| 1448 | if test "$ac_init_help" = "recursive"; then |
| 1449 | # If there are subdirs, report their specific --help. |
| 1450 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1451 | test -d "$ac_dir" || |
| 1452 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| 1453 | continue |
| 1454 | ac_builddir=. |
| 1455 | |
| 1456 | case "$ac_dir" in |
| 1457 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1458 | *) |
| 1459 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1460 | # A ".." for each directory in $ac_dir_suffix. |
| 1461 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1462 | case $ac_top_builddir_sub in |
| 1463 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1464 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1465 | esac ;; |
| 1466 | esac |
| 1467 | ac_abs_top_builddir=$ac_pwd |
| 1468 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1469 | # for backward compatibility: |
| 1470 | ac_top_builddir=$ac_top_build_prefix |
| 1471 | |
| 1472 | case $srcdir in |
| 1473 | .) # We are building in place. |
| 1474 | ac_srcdir=. |
| 1475 | ac_top_srcdir=$ac_top_builddir_sub |
| 1476 | ac_abs_top_srcdir=$ac_pwd ;; |
| 1477 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 1478 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 1479 | ac_top_srcdir=$srcdir |
| 1480 | ac_abs_top_srcdir=$srcdir ;; |
| 1481 | *) # Relative name. |
| 1482 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1483 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1484 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1485 | esac |
| 1486 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1487 | |
| 1488 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 1489 | # Check for guested configure. |
| 1490 | if test -f "$ac_srcdir/configure.gnu"; then |
| 1491 | echo && |
| 1492 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1493 | elif test -f "$ac_srcdir/configure"; then |
| 1494 | echo && |
| 1495 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 1496 | else |
| 1497 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1498 | fi || ac_status=$? |
| 1499 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 1500 | done |
| 1501 | fi |
| 1502 | |
| 1503 | test -n "$ac_init_help" && exit $ac_status |
| 1504 | if $ac_init_version; then |
| 1505 | cat <<\_ACEOF |
| 1506 | configure |
| 1507 | generated by GNU Autoconf 2.64 |
| 1508 | |
| 1509 | Copyright (C) 2009 Free Software Foundation, Inc. |
| 1510 | This configure script is free software; the Free Software Foundation |
| 1511 | gives unlimited permission to copy, distribute and modify it. |
| 1512 | _ACEOF |
| 1513 | exit |
| 1514 | fi |
| 1515 | |
| 1516 | ## ------------------------ ## |
| 1517 | ## Autoconf initialization. ## |
| 1518 | ## ------------------------ ## |
| 1519 | |
| 1520 | # ac_fn_c_try_compile LINENO |
| 1521 | # -------------------------- |
| 1522 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
| 1523 | ac_fn_c_try_compile () |
| 1524 | { |
| 1525 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1526 | rm -f conftest.$ac_objext |
| 1527 | if { { ac_try="$ac_compile" |
| 1528 | case "(($ac_try" in |
| 1529 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1530 | *) ac_try_echo=$ac_try;; |
| 1531 | esac |
| 1532 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1533 | $as_echo "$ac_try_echo"; } >&5 |
| 1534 | (eval "$ac_compile") 2>conftest.err |
| 1535 | ac_status=$? |
| 1536 | if test -s conftest.err; then |
| 1537 | grep -v '^ *+' conftest.err >conftest.er1 |
| 1538 | cat conftest.er1 >&5 |
| 1539 | mv -f conftest.er1 conftest.err |
| 1540 | fi |
| 1541 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1542 | test $ac_status = 0; } && { |
| 1543 | test -z "$ac_c_werror_flag" || |
| 1544 | test ! -s conftest.err |
| 1545 | } && test -s conftest.$ac_objext; then : |
| 1546 | ac_retval=0 |
| 1547 | else |
| 1548 | $as_echo "$as_me: failed program was:" >&5 |
| 1549 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1550 | |
| 1551 | ac_retval=1 |
| 1552 | fi |
| 1553 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1554 | return $ac_retval |
| 1555 | |
| 1556 | } # ac_fn_c_try_compile |
| 1557 | |
| 1558 | # ac_fn_c_try_link LINENO |
| 1559 | # ----------------------- |
| 1560 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 1561 | ac_fn_c_try_link () |
| 1562 | { |
| 1563 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1564 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 1565 | if { { ac_try="$ac_link" |
| 1566 | case "(($ac_try" in |
| 1567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1568 | *) ac_try_echo=$ac_try;; |
| 1569 | esac |
| 1570 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1571 | $as_echo "$ac_try_echo"; } >&5 |
| 1572 | (eval "$ac_link") 2>conftest.err |
| 1573 | ac_status=$? |
| 1574 | if test -s conftest.err; then |
| 1575 | grep -v '^ *+' conftest.err >conftest.er1 |
| 1576 | cat conftest.er1 >&5 |
| 1577 | mv -f conftest.er1 conftest.err |
| 1578 | fi |
| 1579 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1580 | test $ac_status = 0; } && { |
| 1581 | test -z "$ac_c_werror_flag" || |
| 1582 | test ! -s conftest.err |
| 1583 | } && test -s conftest$ac_exeext && { |
| 1584 | test "$cross_compiling" = yes || |
| 1585 | $as_test_x conftest$ac_exeext |
| 1586 | }; then : |
| 1587 | ac_retval=0 |
| 1588 | else |
| 1589 | $as_echo "$as_me: failed program was:" >&5 |
| 1590 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1591 | |
| 1592 | ac_retval=1 |
| 1593 | fi |
| 1594 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 1595 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 1596 | # interfere with the next link command; also delete a directory that is |
| 1597 | # left behind by Apple's compiler. We do this before executing the actions. |
| 1598 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1599 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1600 | return $ac_retval |
| 1601 | |
| 1602 | } # ac_fn_c_try_link |
| 1603 | |
| 1604 | # ac_fn_c_try_cpp LINENO |
| 1605 | # ---------------------- |
| 1606 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
| 1607 | ac_fn_c_try_cpp () |
| 1608 | { |
| 1609 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1610 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
| 1611 | case "(($ac_try" in |
| 1612 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1613 | *) ac_try_echo=$ac_try;; |
| 1614 | esac |
| 1615 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1616 | $as_echo "$ac_try_echo"; } >&5 |
| 1617 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
| 1618 | ac_status=$? |
| 1619 | if test -s conftest.err; then |
| 1620 | grep -v '^ *+' conftest.err >conftest.er1 |
| 1621 | cat conftest.er1 >&5 |
| 1622 | mv -f conftest.er1 conftest.err |
| 1623 | fi |
| 1624 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1625 | test $ac_status = 0; } >/dev/null && { |
| 1626 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 1627 | test ! -s conftest.err |
| 1628 | }; then : |
| 1629 | ac_retval=0 |
| 1630 | else |
| 1631 | $as_echo "$as_me: failed program was:" >&5 |
| 1632 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1633 | |
| 1634 | ac_retval=1 |
| 1635 | fi |
| 1636 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1637 | return $ac_retval |
| 1638 | |
| 1639 | } # ac_fn_c_try_cpp |
| 1640 | |
| 1641 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
| 1642 | # ------------------------------------------------------- |
| 1643 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
| 1644 | # the include files in INCLUDES and setting the cache variable VAR |
| 1645 | # accordingly. |
| 1646 | ac_fn_c_check_header_mongrel () |
| 1647 | { |
| 1648 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1649 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1650 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1651 | $as_echo_n "checking for $2... " >&6; } |
| 1652 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1653 | $as_echo_n "(cached) " >&6 |
| 1654 | fi |
| 1655 | eval ac_res=\$$3 |
| 1656 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1657 | $as_echo "$ac_res" >&6; } |
| 1658 | else |
| 1659 | # Is the header compilable? |
| 1660 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
| 1661 | $as_echo_n "checking $2 usability... " >&6; } |
| 1662 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1663 | /* end confdefs.h. */ |
| 1664 | $4 |
| 1665 | #include <$2> |
| 1666 | _ACEOF |
| 1667 | if ac_fn_c_try_compile "$LINENO"; then : |
| 1668 | ac_header_compiler=yes |
| 1669 | else |
| 1670 | ac_header_compiler=no |
| 1671 | fi |
| 1672 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
| 1674 | $as_echo "$ac_header_compiler" >&6; } |
| 1675 | |
| 1676 | # Is the header present? |
| 1677 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
| 1678 | $as_echo_n "checking $2 presence... " >&6; } |
| 1679 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1680 | /* end confdefs.h. */ |
| 1681 | #include <$2> |
| 1682 | _ACEOF |
| 1683 | if ac_fn_c_try_cpp "$LINENO"; then : |
| 1684 | ac_header_preproc=yes |
| 1685 | else |
| 1686 | ac_header_preproc=no |
| 1687 | fi |
| 1688 | rm -f conftest.err conftest.$ac_ext |
| 1689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
| 1690 | $as_echo "$ac_header_preproc" >&6; } |
| 1691 | |
| 1692 | # So? What about this header? |
| 1693 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
| 1694 | yes:no: ) |
| 1695 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
| 1696 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| 1697 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1698 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1699 | ;; |
| 1700 | no:yes:* ) |
| 1701 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
| 1702 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
| 1703 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
| 1704 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
| 1705 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
| 1706 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
| 1707 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
| 1708 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
| 1709 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
| 1710 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
| 1711 | ;; |
| 1712 | esac |
| 1713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1714 | $as_echo_n "checking for $2... " >&6; } |
| 1715 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1716 | $as_echo_n "(cached) " >&6 |
| 1717 | else |
| 1718 | eval "$3=\$ac_header_compiler" |
| 1719 | fi |
| 1720 | eval ac_res=\$$3 |
| 1721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1722 | $as_echo "$ac_res" >&6; } |
| 1723 | fi |
| 1724 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1725 | |
| 1726 | } # ac_fn_c_check_header_mongrel |
| 1727 | |
| 1728 | # ac_fn_c_try_run LINENO |
| 1729 | # ---------------------- |
| 1730 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
| 1731 | # that executables *can* be run. |
| 1732 | ac_fn_c_try_run () |
| 1733 | { |
| 1734 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1735 | if { { ac_try="$ac_link" |
| 1736 | case "(($ac_try" in |
| 1737 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1738 | *) ac_try_echo=$ac_try;; |
| 1739 | esac |
| 1740 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1741 | $as_echo "$ac_try_echo"; } >&5 |
| 1742 | (eval "$ac_link") 2>&5 |
| 1743 | ac_status=$? |
| 1744 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1745 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
| 1746 | { { case "(($ac_try" in |
| 1747 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1748 | *) ac_try_echo=$ac_try;; |
| 1749 | esac |
| 1750 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 1751 | $as_echo "$ac_try_echo"; } >&5 |
| 1752 | (eval "$ac_try") 2>&5 |
| 1753 | ac_status=$? |
| 1754 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 1755 | test $ac_status = 0; }; }; then : |
| 1756 | ac_retval=0 |
| 1757 | else |
| 1758 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 1759 | $as_echo "$as_me: failed program was:" >&5 |
| 1760 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 1761 | |
| 1762 | ac_retval=$ac_status |
| 1763 | fi |
| 1764 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 1765 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1766 | return $ac_retval |
| 1767 | |
| 1768 | } # ac_fn_c_try_run |
| 1769 | |
| 1770 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
| 1771 | # ------------------------------------------------------- |
| 1772 | # Tests whether HEADER exists and can be compiled using the include files in |
| 1773 | # INCLUDES, setting the cache variable VAR accordingly. |
| 1774 | ac_fn_c_check_header_compile () |
| 1775 | { |
| 1776 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1778 | $as_echo_n "checking for $2... " >&6; } |
| 1779 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1780 | $as_echo_n "(cached) " >&6 |
| 1781 | else |
| 1782 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1783 | /* end confdefs.h. */ |
| 1784 | $4 |
| 1785 | #include <$2> |
| 1786 | _ACEOF |
| 1787 | if ac_fn_c_try_compile "$LINENO"; then : |
| 1788 | eval "$3=yes" |
| 1789 | else |
| 1790 | eval "$3=no" |
| 1791 | fi |
| 1792 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1793 | fi |
| 1794 | eval ac_res=\$$3 |
| 1795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1796 | $as_echo "$ac_res" >&6; } |
| 1797 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1798 | |
| 1799 | } # ac_fn_c_check_header_compile |
| 1800 | |
| 1801 | # ac_fn_c_check_func LINENO FUNC VAR |
| 1802 | # ---------------------------------- |
| 1803 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 1804 | ac_fn_c_check_func () |
| 1805 | { |
| 1806 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1807 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 1808 | $as_echo_n "checking for $2... " >&6; } |
| 1809 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1810 | $as_echo_n "(cached) " >&6 |
| 1811 | else |
| 1812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1813 | /* end confdefs.h. */ |
| 1814 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 1815 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 1816 | #define $2 innocuous_$2 |
| 1817 | |
| 1818 | /* System header to define __stub macros and hopefully few prototypes, |
| 1819 | which can conflict with char $2 (); below. |
| 1820 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 1821 | <limits.h> exists even on freestanding compilers. */ |
| 1822 | |
| 1823 | #ifdef __STDC__ |
| 1824 | # include <limits.h> |
| 1825 | #else |
| 1826 | # include <assert.h> |
| 1827 | #endif |
| 1828 | |
| 1829 | #undef $2 |
| 1830 | |
| 1831 | /* Override any GCC internal prototype to avoid an error. |
| 1832 | Use char because int might match the return type of a GCC |
| 1833 | builtin and then its argument prototype would still apply. */ |
| 1834 | #ifdef __cplusplus |
| 1835 | extern "C" |
| 1836 | #endif |
| 1837 | char $2 (); |
| 1838 | /* The GNU C library defines this for functions which it implements |
| 1839 | to always fail with ENOSYS. Some functions are actually named |
| 1840 | something starting with __ and the normal name is an alias. */ |
| 1841 | #if defined __stub_$2 || defined __stub___$2 |
| 1842 | choke me |
| 1843 | #endif |
| 1844 | |
| 1845 | int |
| 1846 | main () |
| 1847 | { |
| 1848 | return $2 (); |
| 1849 | ; |
| 1850 | return 0; |
| 1851 | } |
| 1852 | _ACEOF |
| 1853 | if ac_fn_c_try_link "$LINENO"; then : |
| 1854 | eval "$3=yes" |
| 1855 | else |
| 1856 | eval "$3=no" |
| 1857 | fi |
| 1858 | rm -f core conftest.err conftest.$ac_objext \ |
| 1859 | conftest$ac_exeext conftest.$ac_ext |
| 1860 | fi |
| 1861 | eval ac_res=\$$3 |
| 1862 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1863 | $as_echo "$ac_res" >&6; } |
| 1864 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1865 | |
| 1866 | } # ac_fn_c_check_func |
| 1867 | |
| 1868 | # ac_fn_c_check_decl LINENO SYMBOL VAR |
| 1869 | # ------------------------------------ |
| 1870 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
| 1871 | ac_fn_c_check_decl () |
| 1872 | { |
| 1873 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 1874 | as_decl_name=`echo $2|sed 's/ *(.*//'` |
| 1875 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 1876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 |
| 1877 | $as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| 1878 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 1879 | $as_echo_n "(cached) " >&6 |
| 1880 | else |
| 1881 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1882 | /* end confdefs.h. */ |
| 1883 | $4 |
| 1884 | int |
| 1885 | main () |
| 1886 | { |
| 1887 | #ifndef $as_decl_name |
| 1888 | #ifdef __cplusplus |
| 1889 | (void) $as_decl_use; |
| 1890 | #else |
| 1891 | (void) $as_decl_name; |
| 1892 | #endif |
| 1893 | #endif |
| 1894 | |
| 1895 | ; |
| 1896 | return 0; |
| 1897 | } |
| 1898 | _ACEOF |
| 1899 | if ac_fn_c_try_compile "$LINENO"; then : |
| 1900 | eval "$3=yes" |
| 1901 | else |
| 1902 | eval "$3=no" |
| 1903 | fi |
| 1904 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1905 | fi |
| 1906 | eval ac_res=\$$3 |
| 1907 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1908 | $as_echo "$ac_res" >&6; } |
| 1909 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
| 1910 | |
| 1911 | } # ac_fn_c_check_decl |
| 1912 | cat >config.log <<_ACEOF |
| 1913 | This file contains any messages produced by compilers while |
| 1914 | running configure, to aid debugging if configure makes a mistake. |
| 1915 | |
| 1916 | It was created by $as_me, which was |
| 1917 | generated by GNU Autoconf 2.64. Invocation command line was |
| 1918 | |
| 1919 | $ $0 $@ |
| 1920 | |
| 1921 | _ACEOF |
| 1922 | exec 5>>config.log |
| 1923 | { |
| 1924 | cat <<_ASUNAME |
| 1925 | ## --------- ## |
| 1926 | ## Platform. ## |
| 1927 | ## --------- ## |
| 1928 | |
| 1929 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1930 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1931 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1932 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1933 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 1934 | |
| 1935 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 1936 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 1937 | |
| 1938 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1939 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1940 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1941 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1942 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1943 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1944 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1945 | |
| 1946 | _ASUNAME |
| 1947 | |
| 1948 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1949 | for as_dir in $PATH |
| 1950 | do |
| 1951 | IFS=$as_save_IFS |
| 1952 | test -z "$as_dir" && as_dir=. |
| 1953 | $as_echo "PATH: $as_dir" |
| 1954 | done |
| 1955 | IFS=$as_save_IFS |
| 1956 | |
| 1957 | } >&5 |
| 1958 | |
| 1959 | cat >&5 <<_ACEOF |
| 1960 | |
| 1961 | |
| 1962 | ## ----------- ## |
| 1963 | ## Core tests. ## |
| 1964 | ## ----------- ## |
| 1965 | |
| 1966 | _ACEOF |
| 1967 | |
| 1968 | |
| 1969 | # Keep a trace of the command line. |
| 1970 | # Strip out --no-create and --no-recursion so they do not pile up. |
| 1971 | # Strip out --silent because we don't want to record it for future runs. |
| 1972 | # Also quote any args containing shell meta-characters. |
| 1973 | # Make two passes to allow for proper duplicate-argument suppression. |
| 1974 | ac_configure_args= |
| 1975 | ac_configure_args0= |
| 1976 | ac_configure_args1= |
| 1977 | ac_must_keep_next=false |
| 1978 | for ac_pass in 1 2 |
| 1979 | do |
| 1980 | for ac_arg |
| 1981 | do |
| 1982 | case $ac_arg in |
| 1983 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1984 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1985 | | -silent | --silent | --silen | --sile | --sil) |
| 1986 | continue ;; |
| 1987 | *\'*) |
| 1988 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1989 | esac |
| 1990 | case $ac_pass in |
| 1991 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1992 | 2) |
| 1993 | as_fn_append ac_configure_args1 " '$ac_arg'" |
| 1994 | if test $ac_must_keep_next = true; then |
| 1995 | ac_must_keep_next=false # Got value, back to normal. |
| 1996 | else |
| 1997 | case $ac_arg in |
| 1998 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1999 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 2000 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 2001 | | -with-* | --with-* | -without-* | --without-* | --x) |
| 2002 | case "$ac_configure_args0 " in |
| 2003 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 2004 | esac |
| 2005 | ;; |
| 2006 | -* ) ac_must_keep_next=true ;; |
| 2007 | esac |
| 2008 | fi |
| 2009 | as_fn_append ac_configure_args " '$ac_arg'" |
| 2010 | ;; |
| 2011 | esac |
| 2012 | done |
| 2013 | done |
| 2014 | { ac_configure_args0=; unset ac_configure_args0;} |
| 2015 | { ac_configure_args1=; unset ac_configure_args1;} |
| 2016 | |
| 2017 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 2018 | # config.log. We remove comments because anyway the quotes in there |
| 2019 | # would cause problems or look ugly. |
| 2020 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 2021 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 2022 | trap 'exit_status=$? |
| 2023 | # Save into config.log some information that might help in debugging. |
| 2024 | { |
| 2025 | echo |
| 2026 | |
| 2027 | cat <<\_ASBOX |
| 2028 | ## ---------------- ## |
| 2029 | ## Cache variables. ## |
| 2030 | ## ---------------- ## |
| 2031 | _ASBOX |
| 2032 | echo |
| 2033 | # The following way of writing the cache mishandles newlines in values, |
| 2034 | ( |
| 2035 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 2036 | eval ac_val=\$$ac_var |
| 2037 | case $ac_val in #( |
| 2038 | *${as_nl}*) |
| 2039 | case $ac_var in #( |
| 2040 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 2041 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 2042 | esac |
| 2043 | case $ac_var in #( |
| 2044 | _ | IFS | as_nl) ;; #( |
| 2045 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 2046 | *) { eval $ac_var=; unset $ac_var;} ;; |
| 2047 | esac ;; |
| 2048 | esac |
| 2049 | done |
| 2050 | (set) 2>&1 | |
| 2051 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 2052 | *${as_nl}ac_space=\ *) |
| 2053 | sed -n \ |
| 2054 | "s/'\''/'\''\\\\'\'''\''/g; |
| 2055 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 2056 | ;; #( |
| 2057 | *) |
| 2058 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 2059 | ;; |
| 2060 | esac | |
| 2061 | sort |
| 2062 | ) |
| 2063 | echo |
| 2064 | |
| 2065 | cat <<\_ASBOX |
| 2066 | ## ----------------- ## |
| 2067 | ## Output variables. ## |
| 2068 | ## ----------------- ## |
| 2069 | _ASBOX |
| 2070 | echo |
| 2071 | for ac_var in $ac_subst_vars |
| 2072 | do |
| 2073 | eval ac_val=\$$ac_var |
| 2074 | case $ac_val in |
| 2075 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2076 | esac |
| 2077 | $as_echo "$ac_var='\''$ac_val'\''" |
| 2078 | done | sort |
| 2079 | echo |
| 2080 | |
| 2081 | if test -n "$ac_subst_files"; then |
| 2082 | cat <<\_ASBOX |
| 2083 | ## ------------------- ## |
| 2084 | ## File substitutions. ## |
| 2085 | ## ------------------- ## |
| 2086 | _ASBOX |
| 2087 | echo |
| 2088 | for ac_var in $ac_subst_files |
| 2089 | do |
| 2090 | eval ac_val=\$$ac_var |
| 2091 | case $ac_val in |
| 2092 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 2093 | esac |
| 2094 | $as_echo "$ac_var='\''$ac_val'\''" |
| 2095 | done | sort |
| 2096 | echo |
| 2097 | fi |
| 2098 | |
| 2099 | if test -s confdefs.h; then |
| 2100 | cat <<\_ASBOX |
| 2101 | ## ----------- ## |
| 2102 | ## confdefs.h. ## |
| 2103 | ## ----------- ## |
| 2104 | _ASBOX |
| 2105 | echo |
| 2106 | cat confdefs.h |
| 2107 | echo |
| 2108 | fi |
| 2109 | test "$ac_signal" != 0 && |
| 2110 | $as_echo "$as_me: caught signal $ac_signal" |
| 2111 | $as_echo "$as_me: exit $exit_status" |
| 2112 | } >&5 |
| 2113 | rm -f core *.core core.conftest.* && |
| 2114 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 2115 | exit $exit_status |
| 2116 | ' 0 |
| 2117 | for ac_signal in 1 2 13 15; do |
| 2118 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 2119 | done |
| 2120 | ac_signal=0 |
| 2121 | |
| 2122 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 2123 | rm -f -r conftest* confdefs.h |
| 2124 | |
| 2125 | $as_echo "/* confdefs.h */" > confdefs.h |
| 2126 | |
| 2127 | # Predefined preprocessor variables. |
| 2128 | |
| 2129 | cat >>confdefs.h <<_ACEOF |
| 2130 | #define PACKAGE_NAME "$PACKAGE_NAME" |
| 2131 | _ACEOF |
| 2132 | |
| 2133 | cat >>confdefs.h <<_ACEOF |
| 2134 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 2135 | _ACEOF |
| 2136 | |
| 2137 | cat >>confdefs.h <<_ACEOF |
| 2138 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 2139 | _ACEOF |
| 2140 | |
| 2141 | cat >>confdefs.h <<_ACEOF |
| 2142 | #define PACKAGE_STRING "$PACKAGE_STRING" |
| 2143 | _ACEOF |
| 2144 | |
| 2145 | cat >>confdefs.h <<_ACEOF |
| 2146 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 2147 | _ACEOF |
| 2148 | |
| 2149 | cat >>confdefs.h <<_ACEOF |
| 2150 | #define PACKAGE_URL "$PACKAGE_URL" |
|
|