|
|
1.1 ! root 1: #! /bin/sh ! 2: # Guess values for system-dependent variables and create Makefiles. ! 3: # Generated by GNU Autoconf 2.69 for mm 0.0. ! 4: # ! 5: # ! 6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. ! 7: # ! 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: as_myself= ! 91: case $0 in #(( ! 92: *[\\/]* ) as_myself=$0 ;; ! 93: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 94: for as_dir in $PATH ! 95: do ! 96: IFS=$as_save_IFS ! 97: test -z "$as_dir" && as_dir=. ! 98: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! 99: done ! 100: IFS=$as_save_IFS ! 101: ! 102: ;; ! 103: esac ! 104: # We did not find ourselves, most probably we were run as `sh COMMAND' ! 105: # in which case we are not to be found in the path. ! 106: if test "x$as_myself" = x; then ! 107: as_myself=$0 ! 108: fi ! 109: if test ! -f "$as_myself"; then ! 110: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ! 111: exit 1 ! 112: fi ! 113: ! 114: # Unset variables that we do not need and which cause bugs (e.g. in ! 115: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ! 116: # suppresses any "Segmentation fault" message there. '((' could ! 117: # trigger a bug in pdksh 5.2.14. ! 118: for as_var in BASH_ENV ENV MAIL MAILPATH ! 119: do eval test x\${$as_var+set} = xset \ ! 120: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ! 121: done ! 122: PS1='$ ' ! 123: PS2='> ' ! 124: PS4='+ ' ! 125: ! 126: # NLS nuisances. ! 127: LC_ALL=C ! 128: export LC_ALL ! 129: LANGUAGE=C ! 130: export LANGUAGE ! 131: ! 132: # CDPATH. ! 133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH ! 134: ! 135: # Use a proper internal environment variable to ensure we don't fall ! 136: # into an infinite loop, continuously re-executing ourselves. ! 137: if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then ! 138: _as_can_reexec=no; export _as_can_reexec; ! 139: # We cannot yet assume a decent shell, so we have to provide a ! 140: # neutralization value for shells without unset; and this also ! 141: # works around shells that cannot unset nonexistent variables. ! 142: # Preserve -v and -x to the replacement shell. ! 143: BASH_ENV=/dev/null ! 144: ENV=/dev/null ! 145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ! 146: case $- in # (((( ! 147: *v*x* | *x*v* ) as_opts=-vx ;; ! 148: *v* ) as_opts=-v ;; ! 149: *x* ) as_opts=-x ;; ! 150: * ) as_opts= ;; ! 151: esac ! 152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ! 153: # Admittedly, this is quite paranoid, since all the known shells bail ! 154: # out after a failed `exec'. ! 155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ! 156: as_fn_exit 255 ! 157: fi ! 158: # We don't want this to propagate to other subprocesses. ! 159: { _as_can_reexec=; unset _as_can_reexec;} ! 160: if test "x$CONFIG_SHELL" = x; then ! 161: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : ! 162: emulate sh ! 163: NULLCMD=: ! 164: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which ! 165: # is contrary to our usage. Disable this feature. ! 166: alias -g '\${1+\"\$@\"}'='\"\$@\"' ! 167: setopt NO_GLOB_SUBST ! 168: else ! 169: case \`(set -o) 2>/dev/null\` in #( ! 170: *posix*) : ! 171: set -o posix ;; #( ! 172: *) : ! 173: ;; ! 174: esac ! 175: fi ! 176: " ! 177: as_required="as_fn_return () { (exit \$1); } ! 178: as_fn_success () { as_fn_return 0; } ! 179: as_fn_failure () { as_fn_return 1; } ! 180: as_fn_ret_success () { return 0; } ! 181: as_fn_ret_failure () { return 1; } ! 182: ! 183: exitcode=0 ! 184: as_fn_success || { exitcode=1; echo as_fn_success failed.; } ! 185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } ! 186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } ! 187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } ! 188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : ! 189: ! 190: else ! 191: exitcode=1; echo positional parameters were not saved. ! 192: fi ! 193: test x\$exitcode = x0 || exit 1 ! 194: test -x / || exit 1" ! 195: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO ! 196: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO ! 197: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && ! 198: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 ! 199: test \$(( 1 + 1 )) = 2 || exit 1" ! 200: if (eval "$as_required") 2>/dev/null; then : ! 201: as_have_required=yes ! 202: else ! 203: as_have_required=no ! 204: fi ! 205: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : ! 206: ! 207: else ! 208: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 209: as_found=false ! 210: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH ! 211: do ! 212: IFS=$as_save_IFS ! 213: test -z "$as_dir" && as_dir=. ! 214: as_found=: ! 215: case $as_dir in #( ! 216: /*) ! 217: for as_base in sh bash ksh sh5; do ! 218: # Try only shells that exist, to save several forks. ! 219: as_shell=$as_dir/$as_base ! 220: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ! 221: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : ! 222: CONFIG_SHELL=$as_shell as_have_required=yes ! 223: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : ! 224: break 2 ! 225: fi ! 226: fi ! 227: done;; ! 228: esac ! 229: as_found=false ! 230: done ! 231: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && ! 232: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : ! 233: CONFIG_SHELL=$SHELL as_have_required=yes ! 234: fi; } ! 235: IFS=$as_save_IFS ! 236: ! 237: ! 238: if test "x$CONFIG_SHELL" != x; then : ! 239: export CONFIG_SHELL ! 240: # We cannot yet assume a decent shell, so we have to provide a ! 241: # neutralization value for shells without unset; and this also ! 242: # works around shells that cannot unset nonexistent variables. ! 243: # Preserve -v and -x to the replacement shell. ! 244: BASH_ENV=/dev/null ! 245: ENV=/dev/null ! 246: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV ! 247: case $- in # (((( ! 248: *v*x* | *x*v* ) as_opts=-vx ;; ! 249: *v* ) as_opts=-v ;; ! 250: *x* ) as_opts=-x ;; ! 251: * ) as_opts= ;; ! 252: esac ! 253: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} ! 254: # Admittedly, this is quite paranoid, since all the known shells bail ! 255: # out after a failed `exec'. ! 256: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 ! 257: exit 255 ! 258: fi ! 259: ! 260: if test x$as_have_required = xno; then : ! 261: $as_echo "$0: This script requires a shell more modern than all" ! 262: $as_echo "$0: the shells that I found on your system." ! 263: if test x${ZSH_VERSION+set} = xset ; then ! 264: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" ! 265: $as_echo "$0: be upgraded to zsh 4.3.4 or later." ! 266: else ! 267: $as_echo "$0: Please tell [email protected] about your system, ! 268: $0: including any error possibly output before this ! 269: $0: message. Then install a modern shell, or manually run ! 270: $0: the script under such a shell if you do have one." ! 271: fi ! 272: exit 1 ! 273: fi ! 274: fi ! 275: fi ! 276: SHELL=${CONFIG_SHELL-/bin/sh} ! 277: export SHELL ! 278: # Unset more variables known to interfere with behavior of common tools. ! 279: CLICOLOR_FORCE= GREP_OPTIONS= ! 280: unset CLICOLOR_FORCE GREP_OPTIONS ! 281: ! 282: ## --------------------- ## ! 283: ## M4sh Shell Functions. ## ! 284: ## --------------------- ## ! 285: # as_fn_unset VAR ! 286: # --------------- ! 287: # Portably unset VAR. ! 288: as_fn_unset () ! 289: { ! 290: { eval $1=; unset $1;} ! 291: } ! 292: as_unset=as_fn_unset ! 293: ! 294: # as_fn_set_status STATUS ! 295: # ----------------------- ! 296: # Set $? to STATUS, without forking. ! 297: as_fn_set_status () ! 298: { ! 299: return $1 ! 300: } # as_fn_set_status ! 301: ! 302: # as_fn_exit STATUS ! 303: # ----------------- ! 304: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ! 305: as_fn_exit () ! 306: { ! 307: set +e ! 308: as_fn_set_status $1 ! 309: exit $1 ! 310: } # as_fn_exit ! 311: ! 312: # as_fn_mkdir_p ! 313: # ------------- ! 314: # Create "$as_dir" as a directory, including parents if necessary. ! 315: as_fn_mkdir_p () ! 316: { ! 317: ! 318: case $as_dir in #( ! 319: -*) as_dir=./$as_dir;; ! 320: esac ! 321: test -d "$as_dir" || eval $as_mkdir_p || { ! 322: as_dirs= ! 323: while :; do ! 324: case $as_dir in #( ! 325: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ! 326: *) as_qdir=$as_dir;; ! 327: esac ! 328: as_dirs="'$as_qdir' $as_dirs" ! 329: as_dir=`$as_dirname -- "$as_dir" || ! 330: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 331: X"$as_dir" : 'X\(//\)[^/]' \| \ ! 332: X"$as_dir" : 'X\(//\)$' \| \ ! 333: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ! 334: $as_echo X"$as_dir" | ! 335: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ! 336: s//\1/ ! 337: q ! 338: } ! 339: /^X\(\/\/\)[^/].*/{ ! 340: s//\1/ ! 341: q ! 342: } ! 343: /^X\(\/\/\)$/{ ! 344: s//\1/ ! 345: q ! 346: } ! 347: /^X\(\/\).*/{ ! 348: s//\1/ ! 349: q ! 350: } ! 351: s/.*/./; q'` ! 352: test -d "$as_dir" && break ! 353: done ! 354: test -z "$as_dirs" || eval "mkdir $as_dirs" ! 355: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ! 356: ! 357: ! 358: } # as_fn_mkdir_p ! 359: ! 360: # as_fn_executable_p FILE ! 361: # ----------------------- ! 362: # Test if FILE is an executable regular file. ! 363: as_fn_executable_p () ! 364: { ! 365: test -f "$1" && test -x "$1" ! 366: } # as_fn_executable_p ! 367: # as_fn_append VAR VALUE ! 368: # ---------------------- ! 369: # Append the text in VALUE to the end of the definition contained in VAR. Take ! 370: # advantage of any shell optimizations that allow amortized linear growth over ! 371: # repeated appends, instead of the typical quadratic growth present in naive ! 372: # implementations. ! 373: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ! 374: eval 'as_fn_append () ! 375: { ! 376: eval $1+=\$2 ! 377: }' ! 378: else ! 379: as_fn_append () ! 380: { ! 381: eval $1=\$$1\$2 ! 382: } ! 383: fi # as_fn_append ! 384: ! 385: # as_fn_arith ARG... ! 386: # ------------------ ! 387: # Perform arithmetic evaluation on the ARGs, and store the result in the ! 388: # global $as_val. Take advantage of shells that can avoid forks. The arguments ! 389: # must be portable across $(()) and expr. ! 390: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ! 391: eval 'as_fn_arith () ! 392: { ! 393: as_val=$(( $* )) ! 394: }' ! 395: else ! 396: as_fn_arith () ! 397: { ! 398: as_val=`expr "$@" || test $? -eq 1` ! 399: } ! 400: fi # as_fn_arith ! 401: ! 402: ! 403: # as_fn_error STATUS ERROR [LINENO LOG_FD] ! 404: # ---------------------------------------- ! 405: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ! 406: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the ! 407: # script with STATUS, using 1 if that was 0. ! 408: as_fn_error () ! 409: { ! 410: as_status=$1; test $as_status -eq 0 && as_status=1 ! 411: if test "$4"; then ! 412: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 413: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ! 414: fi ! 415: $as_echo "$as_me: error: $2" >&2 ! 416: as_fn_exit $as_status ! 417: } # as_fn_error ! 418: ! 419: if expr a : '\(a\)' >/dev/null 2>&1 && ! 420: test "X`expr 00001 : '.*\(...\)'`" = X001; then ! 421: as_expr=expr ! 422: else ! 423: as_expr=false ! 424: fi ! 425: ! 426: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ! 427: as_basename=basename ! 428: else ! 429: as_basename=false ! 430: fi ! 431: ! 432: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ! 433: as_dirname=dirname ! 434: else ! 435: as_dirname=false ! 436: fi ! 437: ! 438: as_me=`$as_basename -- "$0" || ! 439: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ! 440: X"$0" : 'X\(//\)$' \| \ ! 441: X"$0" : 'X\(/\)' \| . 2>/dev/null || ! 442: $as_echo X/"$0" | ! 443: sed '/^.*\/\([^/][^/]*\)\/*$/{ ! 444: s//\1/ ! 445: q ! 446: } ! 447: /^X\/\(\/\/\)$/{ ! 448: s//\1/ ! 449: q ! 450: } ! 451: /^X\/\(\/\).*/{ ! 452: s//\1/ ! 453: q ! 454: } ! 455: s/.*/./; q'` ! 456: ! 457: # Avoid depending upon Character Ranges. ! 458: as_cr_letters='abcdefghijklmnopqrstuvwxyz' ! 459: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ! 460: as_cr_Letters=$as_cr_letters$as_cr_LETTERS ! 461: as_cr_digits='0123456789' ! 462: as_cr_alnum=$as_cr_Letters$as_cr_digits ! 463: ! 464: ! 465: as_lineno_1=$LINENO as_lineno_1a=$LINENO ! 466: as_lineno_2=$LINENO as_lineno_2a=$LINENO ! 467: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && ! 468: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { ! 469: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ! 470: sed -n ' ! 471: p ! 472: /[$]LINENO/= ! 473: ' <$as_myself | ! 474: sed ' ! 475: s/[$]LINENO.*/&-/ ! 476: t lineno ! 477: b ! 478: :lineno ! 479: N ! 480: :loop ! 481: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ ! 482: t loop ! 483: s/-\n.*// ! 484: ' >$as_me.lineno && ! 485: chmod +x "$as_me.lineno" || ! 486: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ! 487: ! 488: # If we had to re-execute with $CONFIG_SHELL, we're ensured to have ! 489: # already done that, so ensure we don't try to do so again and fall ! 490: # in an infinite loop. This has already happened in practice. ! 491: _as_can_reexec=no; export _as_can_reexec ! 492: # Don't try to exec as it changes $[0], causing all sort of problems ! 493: # (the dirname of $[0] is not the place where we might find the ! 494: # original and so on. Autoconf is especially sensitive to this). ! 495: . "./$as_me.lineno" ! 496: # Exit status is that of the last command. ! 497: exit ! 498: } ! 499: ! 500: ECHO_C= ECHO_N= ECHO_T= ! 501: case `echo -n x` in #((((( ! 502: -n*) ! 503: case `echo 'xy\c'` in ! 504: *c*) ECHO_T=' ';; # ECHO_T is single tab character. ! 505: xy) ECHO_C='\c';; ! 506: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ! 507: ECHO_T=' ';; ! 508: esac;; ! 509: *) ! 510: ECHO_N='-n';; ! 511: esac ! 512: ! 513: rm -f conf$$ conf$$.exe conf$$.file ! 514: if test -d conf$$.dir; then ! 515: rm -f conf$$.dir/conf$$.file ! 516: else ! 517: rm -f conf$$.dir ! 518: mkdir conf$$.dir 2>/dev/null ! 519: fi ! 520: if (echo >conf$$.file) 2>/dev/null; then ! 521: if ln -s conf$$.file conf$$ 2>/dev/null; then ! 522: as_ln_s='ln -s' ! 523: # ... but there are two gotchas: ! 524: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ! 525: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ! 526: # In both cases, we have to default to `cp -pR'. ! 527: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ! 528: as_ln_s='cp -pR' ! 529: elif ln conf$$.file conf$$ 2>/dev/null; then ! 530: as_ln_s=ln ! 531: else ! 532: as_ln_s='cp -pR' ! 533: fi ! 534: else ! 535: as_ln_s='cp -pR' ! 536: fi ! 537: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ! 538: rmdir conf$$.dir 2>/dev/null ! 539: ! 540: if mkdir -p . 2>/dev/null; then ! 541: as_mkdir_p='mkdir -p "$as_dir"' ! 542: else ! 543: test -d ./-p && rmdir ./-p ! 544: as_mkdir_p=false ! 545: fi ! 546: ! 547: as_test_x='test -x' ! 548: as_executable_p=as_fn_executable_p ! 549: ! 550: # Sed expression to map a string onto a valid CPP name. ! 551: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ! 552: ! 553: # Sed expression to map a string onto a valid variable name. ! 554: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ! 555: ! 556: ! 557: test -n "$DJDIR" || exec 7<&0 </dev/null ! 558: exec 6>&1 ! 559: ! 560: # Name of the host. ! 561: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, ! 562: # so uname gets run too. ! 563: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` ! 564: ! 565: # ! 566: # Initializations. ! 567: # ! 568: ac_default_prefix=/usr/local ! 569: ac_clean_files= ! 570: ac_config_libobj_dir=. ! 571: LIBOBJS= ! 572: cross_compiling=no ! 573: subdirs= ! 574: MFLAGS= ! 575: MAKEFLAGS= ! 576: ! 577: # Identity of this package. ! 578: PACKAGE_NAME='mm' ! 579: PACKAGE_TARNAME='mm' ! 580: PACKAGE_VERSION='0.0' ! 581: PACKAGE_STRING='mm 0.0' ! 582: PACKAGE_BUGREPORT='' ! 583: PACKAGE_URL='' ! 584: ! 585: ac_unique_file="wx/wxapp.cpp" ! 586: # Factoring default headers for most tests. ! 587: ac_includes_default="\ ! 588: #include <stdio.h> ! 589: #ifdef HAVE_SYS_TYPES_H ! 590: # include <sys/types.h> ! 591: #endif ! 592: #ifdef HAVE_SYS_STAT_H ! 593: # include <sys/stat.h> ! 594: #endif ! 595: #ifdef STDC_HEADERS ! 596: # include <stdlib.h> ! 597: # include <stddef.h> ! 598: #else ! 599: # ifdef HAVE_STDLIB_H ! 600: # include <stdlib.h> ! 601: # endif ! 602: #endif ! 603: #ifdef HAVE_STRING_H ! 604: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H ! 605: # include <memory.h> ! 606: # endif ! 607: # include <string.h> ! 608: #endif ! 609: #ifdef HAVE_STRINGS_H ! 610: # include <strings.h> ! 611: #endif ! 612: #ifdef HAVE_INTTYPES_H ! 613: # include <inttypes.h> ! 614: #endif ! 615: #ifdef HAVE_STDINT_H ! 616: # include <stdint.h> ! 617: #endif ! 618: #ifdef HAVE_UNISTD_H ! 619: # include <unistd.h> ! 620: #endif" ! 621: ! 622: ac_subst_vars='LTLIBOBJS ! 623: LIBOBJS ! 624: WXWIDGETS_LIBS ! 625: WXWIDGETS_CPPFLAGS ! 626: LIBKQUEUE_LIBS ! 627: LIBBSD_LIBS ! 628: NETDRIVER ! 629: KEVENT_UDATA_T ! 630: CFLAGS_WLOGICAL_OP ! 631: EGREP ! 632: GREP ! 633: CXXCPP ! 634: ac_ct_CC ! 635: CFLAGS ! 636: CC ! 637: OBJEXT ! 638: EXEEXT ! 639: ac_ct_CXX ! 640: CPPFLAGS ! 641: LDFLAGS ! 642: CXXFLAGS ! 643: CXX ! 644: target_alias ! 645: host_alias ! 646: build_alias ! 647: LIBS ! 648: ECHO_T ! 649: ECHO_N ! 650: ECHO_C ! 651: DEFS ! 652: mandir ! 653: localedir ! 654: libdir ! 655: psdir ! 656: pdfdir ! 657: dvidir ! 658: htmldir ! 659: infodir ! 660: docdir ! 661: oldincludedir ! 662: includedir ! 663: localstatedir ! 664: sharedstatedir ! 665: sysconfdir ! 666: datadir ! 667: datarootdir ! 668: libexecdir ! 669: sbindir ! 670: bindir ! 671: program_transform_name ! 672: prefix ! 673: exec_prefix ! 674: PACKAGE_URL ! 675: PACKAGE_BUGREPORT ! 676: PACKAGE_STRING ! 677: PACKAGE_VERSION ! 678: PACKAGE_TARNAME ! 679: PACKAGE_NAME ! 680: PATH_SEPARATOR ! 681: SHELL' ! 682: ac_subst_files='' ! 683: ac_user_opts=' ! 684: enable_option_checking ! 685: ' ! 686: ac_precious_vars='build_alias ! 687: host_alias ! 688: target_alias ! 689: CXX ! 690: CXXFLAGS ! 691: LDFLAGS ! 692: LIBS ! 693: CPPFLAGS ! 694: CCC ! 695: CC ! 696: CFLAGS ! 697: CXXCPP' ! 698: ! 699: ! 700: # Initialize some variables set by options. ! 701: ac_init_help= ! 702: ac_init_version=false ! 703: ac_unrecognized_opts= ! 704: ac_unrecognized_sep= ! 705: # The variables have the same names as the options, with ! 706: # dashes changed to underlines. ! 707: cache_file=/dev/null ! 708: exec_prefix=NONE ! 709: no_create= ! 710: no_recursion= ! 711: prefix=NONE ! 712: program_prefix=NONE ! 713: program_suffix=NONE ! 714: program_transform_name=s,x,x, ! 715: silent= ! 716: site= ! 717: srcdir= ! 718: verbose= ! 719: x_includes=NONE ! 720: x_libraries=NONE ! 721: ! 722: # Installation directory options. ! 723: # These are left unexpanded so users can "make install exec_prefix=/foo" ! 724: # and all the variables that are supposed to be based on exec_prefix ! 725: # by default will actually change. ! 726: # Use braces instead of parens because sh, perl, etc. also accept them. ! 727: # (The list follows the same order as the GNU Coding Standards.) ! 728: bindir='${exec_prefix}/bin' ! 729: sbindir='${exec_prefix}/sbin' ! 730: libexecdir='${exec_prefix}/libexec' ! 731: datarootdir='${prefix}/share' ! 732: datadir='${datarootdir}' ! 733: sysconfdir='${prefix}/etc' ! 734: sharedstatedir='${prefix}/com' ! 735: localstatedir='${prefix}/var' ! 736: includedir='${prefix}/include' ! 737: oldincludedir='/usr/include' ! 738: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' ! 739: infodir='${datarootdir}/info' ! 740: htmldir='${docdir}' ! 741: dvidir='${docdir}' ! 742: pdfdir='${docdir}' ! 743: psdir='${docdir}' ! 744: libdir='${exec_prefix}/lib' ! 745: localedir='${datarootdir}/locale' ! 746: mandir='${datarootdir}/man' ! 747: ! 748: ac_prev= ! 749: ac_dashdash= ! 750: for ac_option ! 751: do ! 752: # If the previous option needs an argument, assign it. ! 753: if test -n "$ac_prev"; then ! 754: eval $ac_prev=\$ac_option ! 755: ac_prev= ! 756: continue ! 757: fi ! 758: ! 759: case $ac_option in ! 760: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; ! 761: *=) ac_optarg= ;; ! 762: *) ac_optarg=yes ;; ! 763: esac ! 764: ! 765: # Accept the important Cygnus configure options, so we can diagnose typos. ! 766: ! 767: case $ac_dashdash$ac_option in ! 768: --) ! 769: ac_dashdash=yes ;; ! 770: ! 771: -bindir | --bindir | --bindi | --bind | --bin | --bi) ! 772: ac_prev=bindir ;; ! 773: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) ! 774: bindir=$ac_optarg ;; ! 775: ! 776: -build | --build | --buil | --bui | --bu) ! 777: ac_prev=build_alias ;; ! 778: -build=* | --build=* | --buil=* | --bui=* | --bu=*) ! 779: build_alias=$ac_optarg ;; ! 780: ! 781: -cache-file | --cache-file | --cache-fil | --cache-fi \ ! 782: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ! 783: ac_prev=cache_file ;; ! 784: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ ! 785: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) ! 786: cache_file=$ac_optarg ;; ! 787: ! 788: --config-cache | -C) ! 789: cache_file=config.cache ;; ! 790: ! 791: -datadir | --datadir | --datadi | --datad) ! 792: ac_prev=datadir ;; ! 793: -datadir=* | --datadir=* | --datadi=* | --datad=*) ! 794: datadir=$ac_optarg ;; ! 795: ! 796: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ ! 797: | --dataroo | --dataro | --datar) ! 798: ac_prev=datarootdir ;; ! 799: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ ! 800: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) ! 801: datarootdir=$ac_optarg ;; ! 802: ! 803: -disable-* | --disable-*) ! 804: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` ! 805: # Reject names that are not valid shell variable names. ! 806: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! 807: as_fn_error $? "invalid feature name: $ac_useropt" ! 808: ac_useropt_orig=$ac_useropt ! 809: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ! 810: case $ac_user_opts in ! 811: *" ! 812: "enable_$ac_useropt" ! 813: "*) ;; ! 814: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ! 815: ac_unrecognized_sep=', ';; ! 816: esac ! 817: eval enable_$ac_useropt=no ;; ! 818: ! 819: -docdir | --docdir | --docdi | --doc | --do) ! 820: ac_prev=docdir ;; ! 821: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) ! 822: docdir=$ac_optarg ;; ! 823: ! 824: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ! 825: ac_prev=dvidir ;; ! 826: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) ! 827: dvidir=$ac_optarg ;; ! 828: ! 829: -enable-* | --enable-*) ! 830: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` ! 831: # Reject names that are not valid shell variable names. ! 832: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! 833: as_fn_error $? "invalid feature name: $ac_useropt" ! 834: ac_useropt_orig=$ac_useropt ! 835: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ! 836: case $ac_user_opts in ! 837: *" ! 838: "enable_$ac_useropt" ! 839: "*) ;; ! 840: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ! 841: ac_unrecognized_sep=', ';; ! 842: esac ! 843: eval enable_$ac_useropt=\$ac_optarg ;; ! 844: ! 845: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ ! 846: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ ! 847: | --exec | --exe | --ex) ! 848: ac_prev=exec_prefix ;; ! 849: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ ! 850: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ ! 851: | --exec=* | --exe=* | --ex=*) ! 852: exec_prefix=$ac_optarg ;; ! 853: ! 854: -gas | --gas | --ga | --g) ! 855: # Obsolete; use --with-gas. ! 856: with_gas=yes ;; ! 857: ! 858: -help | --help | --hel | --he | -h) ! 859: ac_init_help=long ;; ! 860: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ! 861: ac_init_help=recursive ;; ! 862: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ! 863: ac_init_help=short ;; ! 864: ! 865: -host | --host | --hos | --ho) ! 866: ac_prev=host_alias ;; ! 867: -host=* | --host=* | --hos=* | --ho=*) ! 868: host_alias=$ac_optarg ;; ! 869: ! 870: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ! 871: ac_prev=htmldir ;; ! 872: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ ! 873: | --ht=*) ! 874: htmldir=$ac_optarg ;; ! 875: ! 876: -includedir | --includedir | --includedi | --included | --include \ ! 877: | --includ | --inclu | --incl | --inc) ! 878: ac_prev=includedir ;; ! 879: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ ! 880: | --includ=* | --inclu=* | --incl=* | --inc=*) ! 881: includedir=$ac_optarg ;; ! 882: ! 883: -infodir | --infodir | --infodi | --infod | --info | --inf) ! 884: ac_prev=infodir ;; ! 885: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) ! 886: infodir=$ac_optarg ;; ! 887: ! 888: -libdir | --libdir | --libdi | --libd) ! 889: ac_prev=libdir ;; ! 890: -libdir=* | --libdir=* | --libdi=* | --libd=*) ! 891: libdir=$ac_optarg ;; ! 892: ! 893: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ ! 894: | --libexe | --libex | --libe) ! 895: ac_prev=libexecdir ;; ! 896: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ ! 897: | --libexe=* | --libex=* | --libe=*) ! 898: libexecdir=$ac_optarg ;; ! 899: ! 900: -localedir | --localedir | --localedi | --localed | --locale) ! 901: ac_prev=localedir ;; ! 902: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) ! 903: localedir=$ac_optarg ;; ! 904: ! 905: -localstatedir | --localstatedir | --localstatedi | --localstated \ ! 906: | --localstate | --localstat | --localsta | --localst | --locals) ! 907: ac_prev=localstatedir ;; ! 908: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ ! 909: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) ! 910: localstatedir=$ac_optarg ;; ! 911: ! 912: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ! 913: ac_prev=mandir ;; ! 914: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) ! 915: mandir=$ac_optarg ;; ! 916: ! 917: -nfp | --nfp | --nf) ! 918: # Obsolete; use --without-fp. ! 919: with_fp=no ;; ! 920: ! 921: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ ! 922: | --no-cr | --no-c | -n) ! 923: no_create=yes ;; ! 924: ! 925: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ ! 926: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ! 927: no_recursion=yes ;; ! 928: ! 929: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ ! 930: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ ! 931: | --oldin | --oldi | --old | --ol | --o) ! 932: ac_prev=oldincludedir ;; ! 933: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ ! 934: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ ! 935: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) ! 936: oldincludedir=$ac_optarg ;; ! 937: ! 938: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ! 939: ac_prev=prefix ;; ! 940: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) ! 941: prefix=$ac_optarg ;; ! 942: ! 943: -program-prefix | --program-prefix | --program-prefi | --program-pref \ ! 944: | --program-pre | --program-pr | --program-p) ! 945: ac_prev=program_prefix ;; ! 946: -program-prefix=* | --program-prefix=* | --program-prefi=* \ ! 947: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) ! 948: program_prefix=$ac_optarg ;; ! 949: ! 950: -program-suffix | --program-suffix | --program-suffi | --program-suff \ ! 951: | --program-suf | --program-su | --program-s) ! 952: ac_prev=program_suffix ;; ! 953: -program-suffix=* | --program-suffix=* | --program-suffi=* \ ! 954: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) ! 955: program_suffix=$ac_optarg ;; ! 956: ! 957: -program-transform-name | --program-transform-name \ ! 958: | --program-transform-nam | --program-transform-na \ ! 959: | --program-transform-n | --program-transform- \ ! 960: | --program-transform | --program-transfor \ ! 961: | --program-transfo | --program-transf \ ! 962: | --program-trans | --program-tran \ ! 963: | --progr-tra | --program-tr | --program-t) ! 964: ac_prev=program_transform_name ;; ! 965: -program-transform-name=* | --program-transform-name=* \ ! 966: | --program-transform-nam=* | --program-transform-na=* \ ! 967: | --program-transform-n=* | --program-transform-=* \ ! 968: | --program-transform=* | --program-transfor=* \ ! 969: | --program-transfo=* | --program-transf=* \ ! 970: | --program-trans=* | --program-tran=* \ ! 971: | --progr-tra=* | --program-tr=* | --program-t=*) ! 972: program_transform_name=$ac_optarg ;; ! 973: ! 974: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ! 975: ac_prev=pdfdir ;; ! 976: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) ! 977: pdfdir=$ac_optarg ;; ! 978: ! 979: -psdir | --psdir | --psdi | --psd | --ps) ! 980: ac_prev=psdir ;; ! 981: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) ! 982: psdir=$ac_optarg ;; ! 983: ! 984: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! 985: | -silent | --silent | --silen | --sile | --sil) ! 986: silent=yes ;; ! 987: ! 988: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ! 989: ac_prev=sbindir ;; ! 990: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ ! 991: | --sbi=* | --sb=*) ! 992: sbindir=$ac_optarg ;; ! 993: ! 994: -sharedstatedir | --sharedstatedir | --sharedstatedi \ ! 995: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ ! 996: | --sharedst | --shareds | --shared | --share | --shar \ ! 997: | --sha | --sh) ! 998: ac_prev=sharedstatedir ;; ! 999: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ ! 1000: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ ! 1001: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ ! 1002: | --sha=* | --sh=*) ! 1003: sharedstatedir=$ac_optarg ;; ! 1004: ! 1005: -site | --site | --sit) ! 1006: ac_prev=site ;; ! 1007: -site=* | --site=* | --sit=*) ! 1008: site=$ac_optarg ;; ! 1009: ! 1010: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ! 1011: ac_prev=srcdir ;; ! 1012: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) ! 1013: srcdir=$ac_optarg ;; ! 1014: ! 1015: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ ! 1016: | --syscon | --sysco | --sysc | --sys | --sy) ! 1017: ac_prev=sysconfdir ;; ! 1018: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ ! 1019: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) ! 1020: sysconfdir=$ac_optarg ;; ! 1021: ! 1022: -target | --target | --targe | --targ | --tar | --ta | --t) ! 1023: ac_prev=target_alias ;; ! 1024: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) ! 1025: target_alias=$ac_optarg ;; ! 1026: ! 1027: -v | -verbose | --verbose | --verbos | --verbo | --verb) ! 1028: verbose=yes ;; ! 1029: ! 1030: -version | --version | --versio | --versi | --vers | -V) ! 1031: ac_init_version=: ;; ! 1032: ! 1033: -with-* | --with-*) ! 1034: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` ! 1035: # Reject names that are not valid shell variable names. ! 1036: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! 1037: as_fn_error $? "invalid package name: $ac_useropt" ! 1038: ac_useropt_orig=$ac_useropt ! 1039: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ! 1040: case $ac_user_opts in ! 1041: *" ! 1042: "with_$ac_useropt" ! 1043: "*) ;; ! 1044: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ! 1045: ac_unrecognized_sep=', ';; ! 1046: esac ! 1047: eval with_$ac_useropt=\$ac_optarg ;; ! 1048: ! 1049: -without-* | --without-*) ! 1050: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` ! 1051: # Reject names that are not valid shell variable names. ! 1052: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && ! 1053: as_fn_error $? "invalid package name: $ac_useropt" ! 1054: ac_useropt_orig=$ac_useropt ! 1055: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` ! 1056: case $ac_user_opts in ! 1057: *" ! 1058: "with_$ac_useropt" ! 1059: "*) ;; ! 1060: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ! 1061: ac_unrecognized_sep=', ';; ! 1062: esac ! 1063: eval with_$ac_useropt=no ;; ! 1064: ! 1065: --x) ! 1066: # Obsolete; use --with-x. ! 1067: with_x=yes ;; ! 1068: ! 1069: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ ! 1070: | --x-incl | --x-inc | --x-in | --x-i) ! 1071: ac_prev=x_includes ;; ! 1072: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ ! 1073: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) ! 1074: x_includes=$ac_optarg ;; ! 1075: ! 1076: -x-libraries | --x-libraries | --x-librarie | --x-librari \ ! 1077: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ! 1078: ac_prev=x_libraries ;; ! 1079: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ ! 1080: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) ! 1081: x_libraries=$ac_optarg ;; ! 1082: ! 1083: -*) as_fn_error $? "unrecognized option: \`$ac_option' ! 1084: Try \`$0 --help' for more information" ! 1085: ;; ! 1086: ! 1087: *=*) ! 1088: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` ! 1089: # Reject names that are not valid shell variable names. ! 1090: case $ac_envvar in #( ! 1091: '' | [0-9]* | *[!_$as_cr_alnum]* ) ! 1092: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; ! 1093: esac ! 1094: eval $ac_envvar=\$ac_optarg ! 1095: export $ac_envvar ;; ! 1096: ! 1097: *) ! 1098: # FIXME: should be removed in autoconf 3.0. ! 1099: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 ! 1100: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && ! 1101: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 ! 1102: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ! 1103: ;; ! 1104: ! 1105: esac ! 1106: done ! 1107: ! 1108: if test -n "$ac_prev"; then ! 1109: ac_option=--`echo $ac_prev | sed 's/_/-/g'` ! 1110: as_fn_error $? "missing argument to $ac_option" ! 1111: fi ! 1112: ! 1113: if test -n "$ac_unrecognized_opts"; then ! 1114: case $enable_option_checking in ! 1115: no) ;; ! 1116: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; ! 1117: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; ! 1118: esac ! 1119: fi ! 1120: ! 1121: # Check all directory arguments for consistency. ! 1122: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ ! 1123: datadir sysconfdir sharedstatedir localstatedir includedir \ ! 1124: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ ! 1125: libdir localedir mandir ! 1126: do ! 1127: eval ac_val=\$$ac_var ! 1128: # Remove trailing slashes. ! 1129: case $ac_val in ! 1130: */ ) ! 1131: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` ! 1132: eval $ac_var=\$ac_val;; ! 1133: esac ! 1134: # Be sure to have absolute directory names. ! 1135: case $ac_val in ! 1136: [\\/$]* | ?:[\\/]* ) continue;; ! 1137: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; ! 1138: esac ! 1139: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" ! 1140: done ! 1141: ! 1142: # There might be people who depend on the old broken behavior: `$host' ! 1143: # used to hold the argument of --host etc. ! 1144: # FIXME: To remove some day. ! 1145: build=$build_alias ! 1146: host=$host_alias ! 1147: target=$target_alias ! 1148: ! 1149: # FIXME: To remove some day. ! 1150: if test "x$host_alias" != x; then ! 1151: if test "x$build_alias" = x; then ! 1152: cross_compiling=maybe ! 1153: elif test "x$build_alias" != "x$host_alias"; then ! 1154: cross_compiling=yes ! 1155: fi ! 1156: fi ! 1157: ! 1158: ac_tool_prefix= ! 1159: test -n "$host_alias" && ac_tool_prefix=$host_alias- ! 1160: ! 1161: test "$silent" = yes && exec 6>/dev/null ! 1162: ! 1163: ! 1164: ac_pwd=`pwd` && test -n "$ac_pwd" && ! 1165: ac_ls_di=`ls -di .` && ! 1166: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || ! 1167: as_fn_error $? "working directory cannot be determined" ! 1168: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || ! 1169: as_fn_error $? "pwd does not report name of working directory" ! 1170: ! 1171: ! 1172: # Find the source files, if location was not specified. ! 1173: if test -z "$srcdir"; then ! 1174: ac_srcdir_defaulted=yes ! 1175: # Try the directory containing this script, then the parent directory. ! 1176: ac_confdir=`$as_dirname -- "$as_myself" || ! 1177: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 1178: X"$as_myself" : 'X\(//\)[^/]' \| \ ! 1179: X"$as_myself" : 'X\(//\)$' \| \ ! 1180: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || ! 1181: $as_echo X"$as_myself" | ! 1182: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ! 1183: s//\1/ ! 1184: q ! 1185: } ! 1186: /^X\(\/\/\)[^/].*/{ ! 1187: s//\1/ ! 1188: q ! 1189: } ! 1190: /^X\(\/\/\)$/{ ! 1191: s//\1/ ! 1192: q ! 1193: } ! 1194: /^X\(\/\).*/{ ! 1195: s//\1/ ! 1196: q ! 1197: } ! 1198: s/.*/./; q'` ! 1199: srcdir=$ac_confdir ! 1200: if test ! -r "$srcdir/$ac_unique_file"; then ! 1201: srcdir=.. ! 1202: fi ! 1203: else ! 1204: ac_srcdir_defaulted=no ! 1205: fi ! 1206: if test ! -r "$srcdir/$ac_unique_file"; then ! 1207: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." ! 1208: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" ! 1209: fi ! 1210: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ! 1211: ac_abs_confdir=`( ! 1212: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" ! 1213: pwd)` ! 1214: # When building in place, set srcdir=. ! 1215: if test "$ac_abs_confdir" = "$ac_pwd"; then ! 1216: srcdir=. ! 1217: fi ! 1218: # Remove unnecessary trailing slashes from srcdir. ! 1219: # Double slashes in file names in object file debugging info ! 1220: # mess up M-x gdb in Emacs. ! 1221: case $srcdir in ! 1222: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; ! 1223: esac ! 1224: for ac_var in $ac_precious_vars; do ! 1225: eval ac_env_${ac_var}_set=\${${ac_var}+set} ! 1226: eval ac_env_${ac_var}_value=\$${ac_var} ! 1227: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} ! 1228: eval ac_cv_env_${ac_var}_value=\$${ac_var} ! 1229: done ! 1230: ! 1231: # ! 1232: # Report the --help message. ! 1233: # ! 1234: if test "$ac_init_help" = "long"; then ! 1235: # Omit some internal or obsolete options to make the list less imposing. ! 1236: # This message is too long to be a string in the A/UX 3.1 sh. ! 1237: cat <<_ACEOF ! 1238: \`configure' configures mm 0.0 to adapt to many kinds of systems. ! 1239: ! 1240: Usage: $0 [OPTION]... [VAR=VALUE]... ! 1241: ! 1242: To assign environment variables (e.g., CC, CFLAGS...), specify them as ! 1243: VAR=VALUE. See below for descriptions of some of the useful variables. ! 1244: ! 1245: Defaults for the options are specified in brackets. ! 1246: ! 1247: Configuration: ! 1248: -h, --help display this help and exit ! 1249: --help=short display options specific to this package ! 1250: --help=recursive display the short help of all the included packages ! 1251: -V, --version display version information and exit ! 1252: -q, --quiet, --silent do not print \`checking ...' messages ! 1253: --cache-file=FILE cache test results in FILE [disabled] ! 1254: -C, --config-cache alias for \`--cache-file=config.cache' ! 1255: -n, --no-create do not create output files ! 1256: --srcdir=DIR find the sources in DIR [configure dir or \`..'] ! 1257: ! 1258: Installation directories: ! 1259: --prefix=PREFIX install architecture-independent files in PREFIX ! 1260: [$ac_default_prefix] ! 1261: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX ! 1262: [PREFIX] ! 1263: ! 1264: By default, \`make install' will install all the files in ! 1265: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify ! 1266: an installation prefix other than \`$ac_default_prefix' using \`--prefix', ! 1267: for instance \`--prefix=\$HOME'. ! 1268: ! 1269: For better control, use the options below. ! 1270: ! 1271: Fine tuning of the installation directories: ! 1272: --bindir=DIR user executables [EPREFIX/bin] ! 1273: --sbindir=DIR system admin executables [EPREFIX/sbin] ! 1274: --libexecdir=DIR program executables [EPREFIX/libexec] ! 1275: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] ! 1276: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] ! 1277: --localstatedir=DIR modifiable single-machine data [PREFIX/var] ! 1278: --libdir=DIR object code libraries [EPREFIX/lib] ! 1279: --includedir=DIR C header files [PREFIX/include] ! 1280: --oldincludedir=DIR C header files for non-gcc [/usr/include] ! 1281: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] ! 1282: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] ! 1283: --infodir=DIR info documentation [DATAROOTDIR/info] ! 1284: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] ! 1285: --mandir=DIR man documentation [DATAROOTDIR/man] ! 1286: --docdir=DIR documentation root [DATAROOTDIR/doc/mm] ! 1287: --htmldir=DIR html documentation [DOCDIR] ! 1288: --dvidir=DIR dvi documentation [DOCDIR] ! 1289: --pdfdir=DIR pdf documentation [DOCDIR] ! 1290: --psdir=DIR ps documentation [DOCDIR] ! 1291: _ACEOF ! 1292: ! 1293: cat <<\_ACEOF ! 1294: _ACEOF ! 1295: fi ! 1296: ! 1297: if test -n "$ac_init_help"; then ! 1298: case $ac_init_help in ! 1299: short | recursive ) echo "Configuration of mm 0.0:";; ! 1300: esac ! 1301: cat <<\_ACEOF ! 1302: ! 1303: Some influential environment variables: ! 1304: CXX C++ compiler command ! 1305: CXXFLAGS C++ compiler flags ! 1306: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a ! 1307: nonstandard directory <lib dir> ! 1308: LIBS libraries to pass to the linker, e.g. -l<library> ! 1309: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if ! 1310: you have headers in a nonstandard directory <include dir> ! 1311: CC C compiler command ! 1312: CFLAGS C compiler flags ! 1313: CXXCPP C++ preprocessor ! 1314: ! 1315: Use these variables to override the choices made by `configure' or to help ! 1316: it to find libraries and programs with nonstandard names/locations. ! 1317: ! 1318: Report bugs to the package provider. ! 1319: _ACEOF ! 1320: ac_status=$? ! 1321: fi ! 1322: ! 1323: if test "$ac_init_help" = "recursive"; then ! 1324: # If there are subdirs, report their specific --help. ! 1325: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue ! 1326: test -d "$ac_dir" || ! 1327: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || ! 1328: continue ! 1329: ac_builddir=. ! 1330: ! 1331: case "$ac_dir" in ! 1332: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ! 1333: *) ! 1334: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ! 1335: # A ".." for each directory in $ac_dir_suffix. ! 1336: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ! 1337: case $ac_top_builddir_sub in ! 1338: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ! 1339: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ! 1340: esac ;; ! 1341: esac ! 1342: ac_abs_top_builddir=$ac_pwd ! 1343: ac_abs_builddir=$ac_pwd$ac_dir_suffix ! 1344: # for backward compatibility: ! 1345: ac_top_builddir=$ac_top_build_prefix ! 1346: ! 1347: case $srcdir in ! 1348: .) # We are building in place. ! 1349: ac_srcdir=. ! 1350: ac_top_srcdir=$ac_top_builddir_sub ! 1351: ac_abs_top_srcdir=$ac_pwd ;; ! 1352: [\\/]* | ?:[\\/]* ) # Absolute name. ! 1353: ac_srcdir=$srcdir$ac_dir_suffix; ! 1354: ac_top_srcdir=$srcdir ! 1355: ac_abs_top_srcdir=$srcdir ;; ! 1356: *) # Relative name. ! 1357: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ! 1358: ac_top_srcdir=$ac_top_build_prefix$srcdir ! 1359: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ! 1360: esac ! 1361: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ! 1362: ! 1363: cd "$ac_dir" || { ac_status=$?; continue; } ! 1364: # Check for guested configure. ! 1365: if test -f "$ac_srcdir/configure.gnu"; then ! 1366: echo && ! 1367: $SHELL "$ac_srcdir/configure.gnu" --help=recursive ! 1368: elif test -f "$ac_srcdir/configure"; then ! 1369: echo && ! 1370: $SHELL "$ac_srcdir/configure" --help=recursive ! 1371: else ! 1372: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 ! 1373: fi || ac_status=$? ! 1374: cd "$ac_pwd" || { ac_status=$?; break; } ! 1375: done ! 1376: fi ! 1377: ! 1378: test -n "$ac_init_help" && exit $ac_status ! 1379: if $ac_init_version; then ! 1380: cat <<\_ACEOF ! 1381: mm configure 0.0 ! 1382: generated by GNU Autoconf 2.69 ! 1383: ! 1384: Copyright (C) 2012 Free Software Foundation, Inc. ! 1385: This configure script is free software; the Free Software Foundation ! 1386: gives unlimited permission to copy, distribute and modify it. ! 1387: _ACEOF ! 1388: exit ! 1389: fi ! 1390: ! 1391: ## ------------------------ ## ! 1392: ## Autoconf initialization. ## ! 1393: ## ------------------------ ## ! 1394: ! 1395: # ac_fn_cxx_try_compile LINENO ! 1396: # ---------------------------- ! 1397: # Try to compile conftest.$ac_ext, and return whether this succeeded. ! 1398: ac_fn_cxx_try_compile () ! 1399: { ! 1400: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1401: rm -f conftest.$ac_objext ! 1402: if { { ac_try="$ac_compile" ! 1403: case "(($ac_try" in ! 1404: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 1405: *) ac_try_echo=$ac_try;; ! 1406: esac ! 1407: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 1408: $as_echo "$ac_try_echo"; } >&5 ! 1409: (eval "$ac_compile") 2>conftest.err ! 1410: ac_status=$? ! 1411: if test -s conftest.err; then ! 1412: grep -v '^ *+' conftest.err >conftest.er1 ! 1413: cat conftest.er1 >&5 ! 1414: mv -f conftest.er1 conftest.err ! 1415: fi ! 1416: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 1417: test $ac_status = 0; } && { ! 1418: test -z "$ac_cxx_werror_flag" || ! 1419: test ! -s conftest.err ! 1420: } && test -s conftest.$ac_objext; then : ! 1421: ac_retval=0 ! 1422: else ! 1423: $as_echo "$as_me: failed program was:" >&5 ! 1424: sed 's/^/| /' conftest.$ac_ext >&5 ! 1425: ! 1426: ac_retval=1 ! 1427: fi ! 1428: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1429: as_fn_set_status $ac_retval ! 1430: ! 1431: } # ac_fn_cxx_try_compile ! 1432: ! 1433: # ac_fn_c_try_compile LINENO ! 1434: # -------------------------- ! 1435: # Try to compile conftest.$ac_ext, and return whether this succeeded. ! 1436: ac_fn_c_try_compile () ! 1437: { ! 1438: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1439: rm -f conftest.$ac_objext ! 1440: if { { ac_try="$ac_compile" ! 1441: case "(($ac_try" in ! 1442: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 1443: *) ac_try_echo=$ac_try;; ! 1444: esac ! 1445: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 1446: $as_echo "$ac_try_echo"; } >&5 ! 1447: (eval "$ac_compile") 2>conftest.err ! 1448: ac_status=$? ! 1449: if test -s conftest.err; then ! 1450: grep -v '^ *+' conftest.err >conftest.er1 ! 1451: cat conftest.er1 >&5 ! 1452: mv -f conftest.er1 conftest.err ! 1453: fi ! 1454: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 1455: test $ac_status = 0; } && { ! 1456: test -z "$ac_c_werror_flag" || ! 1457: test ! -s conftest.err ! 1458: } && test -s conftest.$ac_objext; then : ! 1459: ac_retval=0 ! 1460: else ! 1461: $as_echo "$as_me: failed program was:" >&5 ! 1462: sed 's/^/| /' conftest.$ac_ext >&5 ! 1463: ! 1464: ac_retval=1 ! 1465: fi ! 1466: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1467: as_fn_set_status $ac_retval ! 1468: ! 1469: } # ac_fn_c_try_compile ! 1470: ! 1471: # ac_fn_cxx_try_run LINENO ! 1472: # ------------------------ ! 1473: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes ! 1474: # that executables *can* be run. ! 1475: ac_fn_cxx_try_run () ! 1476: { ! 1477: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1478: if { { ac_try="$ac_link" ! 1479: case "(($ac_try" in ! 1480: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 1481: *) ac_try_echo=$ac_try;; ! 1482: esac ! 1483: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 1484: $as_echo "$ac_try_echo"; } >&5 ! 1485: (eval "$ac_link") 2>&5 ! 1486: ac_status=$? ! 1487: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 1488: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' ! 1489: { { case "(($ac_try" in ! 1490: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 1491: *) ac_try_echo=$ac_try;; ! 1492: esac ! 1493: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 1494: $as_echo "$ac_try_echo"; } >&5 ! 1495: (eval "$ac_try") 2>&5 ! 1496: ac_status=$? ! 1497: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 1498: test $ac_status = 0; }; }; then : ! 1499: ac_retval=0 ! 1500: else ! 1501: $as_echo "$as_me: program exited with status $ac_status" >&5 ! 1502: $as_echo "$as_me: failed program was:" >&5 ! 1503: sed 's/^/| /' conftest.$ac_ext >&5 ! 1504: ! 1505: ac_retval=$ac_status ! 1506: fi ! 1507: rm -rf conftest.dSYM conftest_ipa8_conftest.oo ! 1508: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1509: as_fn_set_status $ac_retval ! 1510: ! 1511: } # ac_fn_cxx_try_run ! 1512: ! 1513: # ac_fn_cxx_try_cpp LINENO ! 1514: # ------------------------ ! 1515: # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ! 1516: ac_fn_cxx_try_cpp () ! 1517: { ! 1518: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1519: if { { ac_try="$ac_cpp conftest.$ac_ext" ! 1520: case "(($ac_try" in ! 1521: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 1522: *) ac_try_echo=$ac_try;; ! 1523: esac ! 1524: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 1525: $as_echo "$ac_try_echo"; } >&5 ! 1526: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ! 1527: ac_status=$? ! 1528: if test -s conftest.err; then ! 1529: grep -v '^ *+' conftest.err >conftest.er1 ! 1530: cat conftest.er1 >&5 ! 1531: mv -f conftest.er1 conftest.err ! 1532: fi ! 1533: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 1534: test $ac_status = 0; } > conftest.i && { ! 1535: test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ! 1536: test ! -s conftest.err ! 1537: }; then : ! 1538: ac_retval=0 ! 1539: else ! 1540: $as_echo "$as_me: failed program was:" >&5 ! 1541: sed 's/^/| /' conftest.$ac_ext >&5 ! 1542: ! 1543: ac_retval=1 ! 1544: fi ! 1545: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1546: as_fn_set_status $ac_retval ! 1547: ! 1548: } # ac_fn_cxx_try_cpp ! 1549: ! 1550: # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES ! 1551: # --------------------------------------------------------- ! 1552: # Tests whether HEADER exists and can be compiled using the include files in ! 1553: # INCLUDES, setting the cache variable VAR accordingly. ! 1554: ac_fn_cxx_check_header_compile () ! 1555: { ! 1556: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! 1558: $as_echo_n "checking for $2... " >&6; } ! 1559: if eval \${$3+:} false; then : ! 1560: $as_echo_n "(cached) " >&6 ! 1561: else ! 1562: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 1563: /* end confdefs.h. */ ! 1564: $4 ! 1565: #include <$2> ! 1566: _ACEOF ! 1567: if ac_fn_cxx_try_compile "$LINENO"; then : ! 1568: eval "$3=yes" ! 1569: else ! 1570: eval "$3=no" ! 1571: fi ! 1572: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 1573: fi ! 1574: eval ac_res=\$$3 ! 1575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! 1576: $as_echo "$ac_res" >&6; } ! 1577: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1578: ! 1579: } # ac_fn_cxx_check_header_compile ! 1580: ! 1581: # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES ! 1582: # --------------------------------------------------------- ! 1583: # Tests whether HEADER exists, giving a warning if it cannot be compiled using ! 1584: # the include files in INCLUDES and setting the cache variable VAR ! 1585: # accordingly. ! 1586: ac_fn_cxx_check_header_mongrel () ! 1587: { ! 1588: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1589: if eval \${$3+:} false; then : ! 1590: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! 1591: $as_echo_n "checking for $2... " >&6; } ! 1592: if eval \${$3+:} false; then : ! 1593: $as_echo_n "(cached) " >&6 ! 1594: fi ! 1595: eval ac_res=\$$3 ! 1596: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! 1597: $as_echo "$ac_res" >&6; } ! 1598: else ! 1599: # Is the header compilable? ! 1600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 ! 1601: $as_echo_n "checking $2 usability... " >&6; } ! 1602: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 1603: /* end confdefs.h. */ ! 1604: $4 ! 1605: #include <$2> ! 1606: _ACEOF ! 1607: if ac_fn_cxx_try_compile "$LINENO"; then : ! 1608: ac_header_compiler=yes ! 1609: else ! 1610: ac_header_compiler=no ! 1611: fi ! 1612: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 1613: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 ! 1614: $as_echo "$ac_header_compiler" >&6; } ! 1615: ! 1616: # Is the header present? ! 1617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 ! 1618: $as_echo_n "checking $2 presence... " >&6; } ! 1619: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 1620: /* end confdefs.h. */ ! 1621: #include <$2> ! 1622: _ACEOF ! 1623: if ac_fn_cxx_try_cpp "$LINENO"; then : ! 1624: ac_header_preproc=yes ! 1625: else ! 1626: ac_header_preproc=no ! 1627: fi ! 1628: rm -f conftest.err conftest.i conftest.$ac_ext ! 1629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 ! 1630: $as_echo "$ac_header_preproc" >&6; } ! 1631: ! 1632: # So? What about this header? ! 1633: case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( ! 1634: yes:no: ) ! 1635: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 ! 1636: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} ! 1637: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ! 1638: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ! 1639: ;; ! 1640: no:yes:* ) ! 1641: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 ! 1642: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} ! 1643: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 ! 1644: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} ! 1645: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 ! 1646: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} ! 1647: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 ! 1648: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} ! 1649: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 ! 1650: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ! 1651: ;; ! 1652: esac ! 1653: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! 1654: $as_echo_n "checking for $2... " >&6; } ! 1655: if eval \${$3+:} false; then : ! 1656: $as_echo_n "(cached) " >&6 ! 1657: else ! 1658: eval "$3=\$ac_header_compiler" ! 1659: fi ! 1660: eval ac_res=\$$3 ! 1661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! 1662: $as_echo "$ac_res" >&6; } ! 1663: fi ! 1664: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1665: ! 1666: } # ac_fn_cxx_check_header_mongrel ! 1667: ! 1668: # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES ! 1669: # --------------------------------------------- ! 1670: # Tests whether TYPE exists after having included INCLUDES, setting cache ! 1671: # variable VAR accordingly. ! 1672: ac_fn_cxx_check_type () ! 1673: { ! 1674: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1675: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 ! 1676: $as_echo_n "checking for $2... " >&6; } ! 1677: if eval \${$3+:} false; then : ! 1678: $as_echo_n "(cached) " >&6 ! 1679: else ! 1680: eval "$3=no" ! 1681: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 1682: /* end confdefs.h. */ ! 1683: $4 ! 1684: int ! 1685: main () ! 1686: { ! 1687: if (sizeof ($2)) ! 1688: return 0; ! 1689: ; ! 1690: return 0; ! 1691: } ! 1692: _ACEOF ! 1693: if ac_fn_cxx_try_compile "$LINENO"; then : ! 1694: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 1695: /* end confdefs.h. */ ! 1696: $4 ! 1697: int ! 1698: main () ! 1699: { ! 1700: if (sizeof (($2))) ! 1701: return 0; ! 1702: ; ! 1703: return 0; ! 1704: } ! 1705: _ACEOF ! 1706: if ac_fn_cxx_try_compile "$LINENO"; then : ! 1707: ! 1708: else ! 1709: eval "$3=yes" ! 1710: fi ! 1711: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 1712: fi ! 1713: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 1714: fi ! 1715: eval ac_res=\$$3 ! 1716: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ! 1717: $as_echo "$ac_res" >&6; } ! 1718: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1719: ! 1720: } # ac_fn_cxx_check_type ! 1721: ! 1722: # ac_fn_cxx_try_link LINENO ! 1723: # ------------------------- ! 1724: # Try to link conftest.$ac_ext, and return whether this succeeded. ! 1725: ac_fn_cxx_try_link () ! 1726: { ! 1727: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 1728: rm -f conftest.$ac_objext conftest$ac_exeext ! 1729: if { { ac_try="$ac_link" ! 1730: case "(($ac_try" in ! 1731: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 1732: *) ac_try_echo=$ac_try;; ! 1733: esac ! 1734: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 1735: $as_echo "$ac_try_echo"; } >&5 ! 1736: (eval "$ac_link") 2>conftest.err ! 1737: ac_status=$? ! 1738: if test -s conftest.err; then ! 1739: grep -v '^ *+' conftest.err >conftest.er1 ! 1740: cat conftest.er1 >&5 ! 1741: mv -f conftest.er1 conftest.err ! 1742: fi ! 1743: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 1744: test $ac_status = 0; } && { ! 1745: test -z "$ac_cxx_werror_flag" || ! 1746: test ! -s conftest.err ! 1747: } && test -s conftest$ac_exeext && { ! 1748: test "$cross_compiling" = yes || ! 1749: test -x conftest$ac_exeext ! 1750: }; then : ! 1751: ac_retval=0 ! 1752: else ! 1753: $as_echo "$as_me: failed program was:" >&5 ! 1754: sed 's/^/| /' conftest.$ac_ext >&5 ! 1755: ! 1756: ac_retval=1 ! 1757: fi ! 1758: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information ! 1759: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would ! 1760: # interfere with the next link command; also delete a directory that is ! 1761: # left behind by Apple's compiler. We do this before executing the actions. ! 1762: rm -rf conftest.dSYM conftest_ipa8_conftest.oo ! 1763: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno ! 1764: as_fn_set_status $ac_retval ! 1765: ! 1766: } # ac_fn_cxx_try_link ! 1767: cat >config.log <<_ACEOF ! 1768: This file contains any messages produced by compilers while ! 1769: running configure, to aid debugging if configure makes a mistake. ! 1770: ! 1771: It was created by mm $as_me 0.0, which was ! 1772: generated by GNU Autoconf 2.69. Invocation command line was ! 1773: ! 1774: $ $0 $@ ! 1775: ! 1776: _ACEOF ! 1777: exec 5>>config.log ! 1778: { ! 1779: cat <<_ASUNAME ! 1780: ## --------- ## ! 1781: ## Platform. ## ! 1782: ## --------- ## ! 1783: ! 1784: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ! 1785: uname -m = `(uname -m) 2>/dev/null || echo unknown` ! 1786: uname -r = `(uname -r) 2>/dev/null || echo unknown` ! 1787: uname -s = `(uname -s) 2>/dev/null || echo unknown` ! 1788: uname -v = `(uname -v) 2>/dev/null || echo unknown` ! 1789: ! 1790: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ! 1791: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` ! 1792: ! 1793: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ! 1794: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ! 1795: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ! 1796: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ! 1797: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ! 1798: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ! 1799: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` ! 1800: ! 1801: _ASUNAME ! 1802: ! 1803: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 1804: for as_dir in $PATH ! 1805: do ! 1806: IFS=$as_save_IFS ! 1807: test -z "$as_dir" && as_dir=. ! 1808: $as_echo "PATH: $as_dir" ! 1809: done ! 1810: IFS=$as_save_IFS ! 1811: ! 1812: } >&5 ! 1813: ! 1814: cat >&5 <<_ACEOF ! 1815: ! 1816: ! 1817: ## ----------- ## ! 1818: ## Core tests. ## ! 1819: ## ----------- ## ! 1820: ! 1821: _ACEOF ! 1822: ! 1823: ! 1824: # Keep a trace of the command line. ! 1825: # Strip out --no-create and --no-recursion so they do not pile up. ! 1826: # Strip out --silent because we don't want to record it for future runs. ! 1827: # Also quote any args containing shell meta-characters. ! 1828: # Make two passes to allow for proper duplicate-argument suppression. ! 1829: ac_configure_args= ! 1830: ac_configure_args0= ! 1831: ac_configure_args1= ! 1832: ac_must_keep_next=false ! 1833: for ac_pass in 1 2 ! 1834: do ! 1835: for ac_arg ! 1836: do ! 1837: case $ac_arg in ! 1838: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ! 1839: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! 1840: | -silent | --silent | --silen | --sile | --sil) ! 1841: continue ;; ! 1842: *\'*) ! 1843: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ! 1844: esac ! 1845: case $ac_pass in ! 1846: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; ! 1847: 2) ! 1848: as_fn_append ac_configure_args1 " '$ac_arg'" ! 1849: if test $ac_must_keep_next = true; then ! 1850: ac_must_keep_next=false # Got value, back to normal. ! 1851: else ! 1852: case $ac_arg in ! 1853: *=* | --config-cache | -C | -disable-* | --disable-* \ ! 1854: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ! 1855: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ! 1856: | -with-* | --with-* | -without-* | --without-* | --x) ! 1857: case "$ac_configure_args0 " in ! 1858: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ! 1859: esac ! 1860: ;; ! 1861: -* ) ac_must_keep_next=true ;; ! 1862: esac ! 1863: fi ! 1864: as_fn_append ac_configure_args " '$ac_arg'" ! 1865: ;; ! 1866: esac ! 1867: done ! 1868: done ! 1869: { ac_configure_args0=; unset ac_configure_args0;} ! 1870: { ac_configure_args1=; unset ac_configure_args1;} ! 1871: ! 1872: # When interrupted or exit'd, cleanup temporary files, and complete ! 1873: # config.log. We remove comments because anyway the quotes in there ! 1874: # would cause problems or look ugly. ! 1875: # WARNING: Use '\'' to represent an apostrophe within the trap. ! 1876: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ! 1877: trap 'exit_status=$? ! 1878: # Save into config.log some information that might help in debugging. ! 1879: { ! 1880: echo ! 1881: ! 1882: $as_echo "## ---------------- ## ! 1883: ## Cache variables. ## ! 1884: ## ---------------- ##" ! 1885: echo ! 1886: # The following way of writing the cache mishandles newlines in values, ! 1887: ( ! 1888: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do ! 1889: eval ac_val=\$$ac_var ! 1890: case $ac_val in #( ! 1891: *${as_nl}*) ! 1892: case $ac_var in #( ! 1893: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ! 1894: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ! 1895: esac ! 1896: case $ac_var in #( ! 1897: _ | IFS | as_nl) ;; #( ! 1898: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ! 1899: *) { eval $ac_var=; unset $ac_var;} ;; ! 1900: esac ;; ! 1901: esac ! 1902: done ! 1903: (set) 2>&1 | ! 1904: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( ! 1905: *${as_nl}ac_space=\ *) ! 1906: sed -n \ ! 1907: "s/'\''/'\''\\\\'\'''\''/g; ! 1908: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ! 1909: ;; #( ! 1910: *) ! 1911: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ! 1912: ;; ! 1913: esac | ! 1914: sort ! 1915: ) ! 1916: echo ! 1917: ! 1918: $as_echo "## ----------------- ## ! 1919: ## Output variables. ## ! 1920: ## ----------------- ##" ! 1921: echo ! 1922: for ac_var in $ac_subst_vars ! 1923: do ! 1924: eval ac_val=\$$ac_var ! 1925: case $ac_val in ! 1926: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ! 1927: esac ! 1928: $as_echo "$ac_var='\''$ac_val'\''" ! 1929: done | sort ! 1930: echo ! 1931: ! 1932: if test -n "$ac_subst_files"; then ! 1933: $as_echo "## ------------------- ## ! 1934: ## File substitutions. ## ! 1935: ## ------------------- ##" ! 1936: echo ! 1937: for ac_var in $ac_subst_files ! 1938: do ! 1939: eval ac_val=\$$ac_var ! 1940: case $ac_val in ! 1941: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ! 1942: esac ! 1943: $as_echo "$ac_var='\''$ac_val'\''" ! 1944: done | sort ! 1945: echo ! 1946: fi ! 1947: ! 1948: if test -s confdefs.h; then ! 1949: $as_echo "## ----------- ## ! 1950: ## confdefs.h. ## ! 1951: ## ----------- ##" ! 1952: echo ! 1953: cat confdefs.h ! 1954: echo ! 1955: fi ! 1956: test "$ac_signal" != 0 && ! 1957: $as_echo "$as_me: caught signal $ac_signal" ! 1958: $as_echo "$as_me: exit $exit_status" ! 1959: } >&5 ! 1960: rm -f core *.core core.conftest.* && ! 1961: rm -f -r conftest* confdefs* conf$$* $ac_clean_files && ! 1962: exit $exit_status ! 1963: ' 0 ! 1964: for ac_signal in 1 2 13 15; do ! 1965: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ! 1966: done ! 1967: ac_signal=0 ! 1968: ! 1969: # confdefs.h avoids OS command line length limits that DEFS can exceed. ! 1970: rm -f -r conftest* confdefs.h ! 1971: ! 1972: $as_echo "/* confdefs.h */" > confdefs.h ! 1973: ! 1974: # Predefined preprocessor variables. ! 1975: ! 1976: cat >>confdefs.h <<_ACEOF ! 1977: #define PACKAGE_NAME "$PACKAGE_NAME" ! 1978: _ACEOF ! 1979: ! 1980: cat >>confdefs.h <<_ACEOF ! 1981: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" ! 1982: _ACEOF ! 1983: ! 1984: cat >>confdefs.h <<_ACEOF ! 1985: #define PACKAGE_VERSION "$PACKAGE_VERSION" ! 1986: _ACEOF ! 1987: ! 1988: cat >>confdefs.h <<_ACEOF ! 1989: #define PACKAGE_STRING "$PACKAGE_STRING" ! 1990: _ACEOF ! 1991: ! 1992: cat >>confdefs.h <<_ACEOF ! 1993: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" ! 1994: _ACEOF ! 1995: ! 1996: cat >>confdefs.h <<_ACEOF ! 1997: #define PACKAGE_URL "$PACKAGE_URL" ! 1998: _ACEOF ! 1999: ! 2000: ! 2001: # Let the site file select an alternate cache file if it wants to. ! 2002: # Prefer an explicitly selected file to automatically selected ones. ! 2003: ac_site_file1=NONE ! 2004: ac_site_file2=NONE ! 2005: if test -n "$CONFIG_SITE"; then ! 2006: # We do not want a PATH search for config.site. ! 2007: case $CONFIG_SITE in #(( ! 2008: -*) ac_site_file1=./$CONFIG_SITE;; ! 2009: */*) ac_site_file1=$CONFIG_SITE;; ! 2010: *) ac_site_file1=./$CONFIG_SITE;; ! 2011: esac ! 2012: elif test "x$prefix" != xNONE; then ! 2013: ac_site_file1=$prefix/share/config.site ! 2014: ac_site_file2=$prefix/etc/config.site ! 2015: else ! 2016: ac_site_file1=$ac_default_prefix/share/config.site ! 2017: ac_site_file2=$ac_default_prefix/etc/config.site ! 2018: fi ! 2019: for ac_site_file in "$ac_site_file1" "$ac_site_file2" ! 2020: do ! 2021: test "x$ac_site_file" = xNONE && continue ! 2022: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then ! 2023: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ! 2024: $as_echo "$as_me: loading site script $ac_site_file" >&6;} ! 2025: sed 's/^/| /' "$ac_site_file" >&5 ! 2026: . "$ac_site_file" \ ! 2027: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 2028: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 2029: as_fn_error $? "failed to load site script $ac_site_file ! 2030: See \`config.log' for more details" "$LINENO" 5; } ! 2031: fi ! 2032: done ! 2033: ! 2034: if test -r "$cache_file"; then ! 2035: # Some versions of bash will fail to source /dev/null (special files ! 2036: # actually), so we avoid doing that. DJGPP emulates it as a regular file. ! 2037: if test /dev/null != "$cache_file" && test -f "$cache_file"; then ! 2038: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ! 2039: $as_echo "$as_me: loading cache $cache_file" >&6;} ! 2040: case $cache_file in ! 2041: [\\/]* | ?:[\\/]* ) . "$cache_file";; ! 2042: *) . "./$cache_file";; ! 2043: esac ! 2044: fi ! 2045: else ! 2046: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ! 2047: $as_echo "$as_me: creating cache $cache_file" >&6;} ! 2048: >$cache_file ! 2049: fi ! 2050: ! 2051: # Check that the precious variables saved in the cache have kept the same ! 2052: # value. ! 2053: ac_cache_corrupted=false ! 2054: for ac_var in $ac_precious_vars; do ! 2055: eval ac_old_set=\$ac_cv_env_${ac_var}_set ! 2056: eval ac_new_set=\$ac_env_${ac_var}_set ! 2057: eval ac_old_val=\$ac_cv_env_${ac_var}_value ! 2058: eval ac_new_val=\$ac_env_${ac_var}_value ! 2059: case $ac_old_set,$ac_new_set in ! 2060: set,) ! 2061: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ! 2062: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ! 2063: ac_cache_corrupted=: ;; ! 2064: ,set) ! 2065: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ! 2066: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ! 2067: ac_cache_corrupted=: ;; ! 2068: ,);; ! 2069: *) ! 2070: if test "x$ac_old_val" != "x$ac_new_val"; then ! 2071: # differences in whitespace do not lead to failure. ! 2072: ac_old_val_w=`echo x $ac_old_val` ! 2073: ac_new_val_w=`echo x $ac_new_val` ! 2074: if test "$ac_old_val_w" != "$ac_new_val_w"; then ! 2075: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ! 2076: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ! 2077: ac_cache_corrupted=: ! 2078: else ! 2079: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ! 2080: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} ! 2081: eval $ac_var=\$ac_old_val ! 2082: fi ! 2083: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ! 2084: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} ! 2085: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ! 2086: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} ! 2087: fi;; ! 2088: esac ! 2089: # Pass precious variables to config.status. ! 2090: if test "$ac_new_set" = set; then ! 2091: case $ac_new_val in ! 2092: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; ! 2093: *) ac_arg=$ac_var=$ac_new_val ;; ! 2094: esac ! 2095: case " $ac_configure_args " in ! 2096: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ! 2097: *) as_fn_append ac_configure_args " '$ac_arg'" ;; ! 2098: esac ! 2099: fi ! 2100: done ! 2101: if $ac_cache_corrupted; then ! 2102: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 2103: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 2104: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ! 2105: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} ! 2106: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ! 2107: fi ! 2108: ## -------------------- ## ! 2109: ## Main body of script. ## ! 2110: ## -------------------- ## ! 2111: ! 2112: ac_ext=c ! 2113: ac_cpp='$CPP $CPPFLAGS' ! 2114: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 2115: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 2116: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 2117: ! 2118: ! 2119: ! 2120: ! 2121: # Checks for programs. ! 2122: ac_ext=cpp ! 2123: ac_cpp='$CXXCPP $CPPFLAGS' ! 2124: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 2125: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 2126: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! 2127: if test -z "$CXX"; then ! 2128: if test -n "$CCC"; then ! 2129: CXX=$CCC ! 2130: else ! 2131: if test -n "$ac_tool_prefix"; then ! 2132: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC ! 2133: do ! 2134: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ! 2135: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! 2136: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2137: $as_echo_n "checking for $ac_word... " >&6; } ! 2138: if ${ac_cv_prog_CXX+:} false; then : ! 2139: $as_echo_n "(cached) " >&6 ! 2140: else ! 2141: if test -n "$CXX"; then ! 2142: ac_cv_prog_CXX="$CXX" # Let the user override the test. ! 2143: else ! 2144: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2145: for as_dir in $PATH ! 2146: do ! 2147: IFS=$as_save_IFS ! 2148: test -z "$as_dir" && as_dir=. ! 2149: for ac_exec_ext in '' $ac_executable_extensions; do ! 2150: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2151: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" ! 2152: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2153: break 2 ! 2154: fi ! 2155: done ! 2156: done ! 2157: IFS=$as_save_IFS ! 2158: ! 2159: fi ! 2160: fi ! 2161: CXX=$ac_cv_prog_CXX ! 2162: if test -n "$CXX"; then ! 2163: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ! 2164: $as_echo "$CXX" >&6; } ! 2165: else ! 2166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2167: $as_echo "no" >&6; } ! 2168: fi ! 2169: ! 2170: ! 2171: test -n "$CXX" && break ! 2172: done ! 2173: fi ! 2174: if test -z "$CXX"; then ! 2175: ac_ct_CXX=$CXX ! 2176: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC ! 2177: do ! 2178: # Extract the first word of "$ac_prog", so it can be a program name with args. ! 2179: set dummy $ac_prog; ac_word=$2 ! 2180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2181: $as_echo_n "checking for $ac_word... " >&6; } ! 2182: if ${ac_cv_prog_ac_ct_CXX+:} false; then : ! 2183: $as_echo_n "(cached) " >&6 ! 2184: else ! 2185: if test -n "$ac_ct_CXX"; then ! 2186: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. ! 2187: else ! 2188: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2189: for as_dir in $PATH ! 2190: do ! 2191: IFS=$as_save_IFS ! 2192: test -z "$as_dir" && as_dir=. ! 2193: for ac_exec_ext in '' $ac_executable_extensions; do ! 2194: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2195: ac_cv_prog_ac_ct_CXX="$ac_prog" ! 2196: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2197: break 2 ! 2198: fi ! 2199: done ! 2200: done ! 2201: IFS=$as_save_IFS ! 2202: ! 2203: fi ! 2204: fi ! 2205: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX ! 2206: if test -n "$ac_ct_CXX"; then ! 2207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ! 2208: $as_echo "$ac_ct_CXX" >&6; } ! 2209: else ! 2210: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2211: $as_echo "no" >&6; } ! 2212: fi ! 2213: ! 2214: ! 2215: test -n "$ac_ct_CXX" && break ! 2216: done ! 2217: ! 2218: if test "x$ac_ct_CXX" = x; then ! 2219: CXX="g++" ! 2220: else ! 2221: case $cross_compiling:$ac_tool_warned in ! 2222: yes:) ! 2223: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ! 2224: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ! 2225: ac_tool_warned=yes ;; ! 2226: esac ! 2227: CXX=$ac_ct_CXX ! 2228: fi ! 2229: fi ! 2230: ! 2231: fi ! 2232: fi ! 2233: # Provide some information about the compiler. ! 2234: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ! 2235: set X $ac_compile ! 2236: ac_compiler=$2 ! 2237: for ac_option in --version -v -V -qversion; do ! 2238: { { ac_try="$ac_compiler $ac_option >&5" ! 2239: case "(($ac_try" in ! 2240: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 2241: *) ac_try_echo=$ac_try;; ! 2242: esac ! 2243: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 2244: $as_echo "$ac_try_echo"; } >&5 ! 2245: (eval "$ac_compiler $ac_option >&5") 2>conftest.err ! 2246: ac_status=$? ! 2247: if test -s conftest.err; then ! 2248: sed '10a\ ! 2249: ... rest of stderr output deleted ... ! 2250: 10q' conftest.err >conftest.er1 ! 2251: cat conftest.er1 >&5 ! 2252: fi ! 2253: rm -f conftest.er1 conftest.err ! 2254: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 2255: test $ac_status = 0; } ! 2256: done ! 2257: ! 2258: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2259: /* end confdefs.h. */ ! 2260: ! 2261: int ! 2262: main () ! 2263: { ! 2264: ! 2265: ; ! 2266: return 0; ! 2267: } ! 2268: _ACEOF ! 2269: ac_clean_files_save=$ac_clean_files ! 2270: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" ! 2271: # Try to create an executable without -o first, disregard a.out. ! 2272: # It will help us diagnose broken compilers, and finding out an intuition ! 2273: # of exeext. ! 2274: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 ! 2275: $as_echo_n "checking whether the C++ compiler works... " >&6; } ! 2276: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` ! 2277: ! 2278: # The possible output files: ! 2279: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ! 2280: ! 2281: ac_rmfiles= ! 2282: for ac_file in $ac_files ! 2283: do ! 2284: case $ac_file in ! 2285: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ! 2286: * ) ac_rmfiles="$ac_rmfiles $ac_file";; ! 2287: esac ! 2288: done ! 2289: rm -f $ac_rmfiles ! 2290: ! 2291: if { { ac_try="$ac_link_default" ! 2292: case "(($ac_try" in ! 2293: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 2294: *) ac_try_echo=$ac_try;; ! 2295: esac ! 2296: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 2297: $as_echo "$ac_try_echo"; } >&5 ! 2298: (eval "$ac_link_default") 2>&5 ! 2299: ac_status=$? ! 2300: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 2301: test $ac_status = 0; }; then : ! 2302: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. ! 2303: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' ! 2304: # in a Makefile. We should not override ac_cv_exeext if it was cached, ! 2305: # so that the user can short-circuit this test for compilers unknown to ! 2306: # Autoconf. ! 2307: for ac_file in $ac_files '' ! 2308: do ! 2309: test -f "$ac_file" || continue ! 2310: case $ac_file in ! 2311: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ! 2312: ;; ! 2313: [ab].out ) ! 2314: # We found the default executable, but exeext='' is most ! 2315: # certainly right. ! 2316: break;; ! 2317: *.* ) ! 2318: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ! 2319: then :; else ! 2320: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ! 2321: fi ! 2322: # We set ac_cv_exeext here because the later test for it is not ! 2323: # safe: cross compilers may not add the suffix if given an `-o' ! 2324: # argument, so we may need to know it at that point already. ! 2325: # Even if this section looks crufty: it has the advantage of ! 2326: # actually working. ! 2327: break;; ! 2328: * ) ! 2329: break;; ! 2330: esac ! 2331: done ! 2332: test "$ac_cv_exeext" = no && ac_cv_exeext= ! 2333: ! 2334: else ! 2335: ac_file='' ! 2336: fi ! 2337: if test -z "$ac_file"; then : ! 2338: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2339: $as_echo "no" >&6; } ! 2340: $as_echo "$as_me: failed program was:" >&5 ! 2341: sed 's/^/| /' conftest.$ac_ext >&5 ! 2342: ! 2343: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 2344: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 2345: as_fn_error 77 "C++ compiler cannot create executables ! 2346: See \`config.log' for more details" "$LINENO" 5; } ! 2347: else ! 2348: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 2349: $as_echo "yes" >&6; } ! 2350: fi ! 2351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 ! 2352: $as_echo_n "checking for C++ compiler default output file name... " >&6; } ! 2353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ! 2354: $as_echo "$ac_file" >&6; } ! 2355: ac_exeext=$ac_cv_exeext ! 2356: ! 2357: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ! 2358: ac_clean_files=$ac_clean_files_save ! 2359: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ! 2360: $as_echo_n "checking for suffix of executables... " >&6; } ! 2361: if { { ac_try="$ac_link" ! 2362: case "(($ac_try" in ! 2363: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 2364: *) ac_try_echo=$ac_try;; ! 2365: esac ! 2366: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 2367: $as_echo "$ac_try_echo"; } >&5 ! 2368: (eval "$ac_link") 2>&5 ! 2369: ac_status=$? ! 2370: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 2371: test $ac_status = 0; }; then : ! 2372: # If both `conftest.exe' and `conftest' are `present' (well, observable) ! 2373: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will ! 2374: # work properly (i.e., refer to `conftest.exe'), while it won't with ! 2375: # `rm'. ! 2376: for ac_file in conftest.exe conftest conftest.*; do ! 2377: test -f "$ac_file" || continue ! 2378: case $ac_file in ! 2379: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; ! 2380: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` ! 2381: break;; ! 2382: * ) break;; ! 2383: esac ! 2384: done ! 2385: else ! 2386: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 2387: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 2388: as_fn_error $? "cannot compute suffix of executables: cannot compile and link ! 2389: See \`config.log' for more details" "$LINENO" 5; } ! 2390: fi ! 2391: rm -f conftest conftest$ac_cv_exeext ! 2392: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ! 2393: $as_echo "$ac_cv_exeext" >&6; } ! 2394: ! 2395: rm -f conftest.$ac_ext ! 2396: EXEEXT=$ac_cv_exeext ! 2397: ac_exeext=$EXEEXT ! 2398: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2399: /* end confdefs.h. */ ! 2400: #include <stdio.h> ! 2401: int ! 2402: main () ! 2403: { ! 2404: FILE *f = fopen ("conftest.out", "w"); ! 2405: return ferror (f) || fclose (f) != 0; ! 2406: ! 2407: ; ! 2408: return 0; ! 2409: } ! 2410: _ACEOF ! 2411: ac_clean_files="$ac_clean_files conftest.out" ! 2412: # Check that the compiler produces executables we can run. If not, either ! 2413: # the compiler is broken, or we cross compile. ! 2414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ! 2415: $as_echo_n "checking whether we are cross compiling... " >&6; } ! 2416: if test "$cross_compiling" != yes; then ! 2417: { { ac_try="$ac_link" ! 2418: case "(($ac_try" in ! 2419: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 2420: *) ac_try_echo=$ac_try;; ! 2421: esac ! 2422: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 2423: $as_echo "$ac_try_echo"; } >&5 ! 2424: (eval "$ac_link") 2>&5 ! 2425: ac_status=$? ! 2426: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 2427: test $ac_status = 0; } ! 2428: if { ac_try='./conftest$ac_cv_exeext' ! 2429: { { case "(($ac_try" in ! 2430: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 2431: *) ac_try_echo=$ac_try;; ! 2432: esac ! 2433: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 2434: $as_echo "$ac_try_echo"; } >&5 ! 2435: (eval "$ac_try") 2>&5 ! 2436: ac_status=$? ! 2437: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 2438: test $ac_status = 0; }; }; then ! 2439: cross_compiling=no ! 2440: else ! 2441: if test "$cross_compiling" = maybe; then ! 2442: cross_compiling=yes ! 2443: else ! 2444: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 2445: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 2446: as_fn_error $? "cannot run C++ compiled programs. ! 2447: If you meant to cross compile, use \`--host'. ! 2448: See \`config.log' for more details" "$LINENO" 5; } ! 2449: fi ! 2450: fi ! 2451: fi ! 2452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ! 2453: $as_echo "$cross_compiling" >&6; } ! 2454: ! 2455: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ! 2456: ac_clean_files=$ac_clean_files_save ! 2457: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ! 2458: $as_echo_n "checking for suffix of object files... " >&6; } ! 2459: if ${ac_cv_objext+:} false; then : ! 2460: $as_echo_n "(cached) " >&6 ! 2461: else ! 2462: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2463: /* end confdefs.h. */ ! 2464: ! 2465: int ! 2466: main () ! 2467: { ! 2468: ! 2469: ; ! 2470: return 0; ! 2471: } ! 2472: _ACEOF ! 2473: rm -f conftest.o conftest.obj ! 2474: if { { ac_try="$ac_compile" ! 2475: case "(($ac_try" in ! 2476: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 2477: *) ac_try_echo=$ac_try;; ! 2478: esac ! 2479: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 2480: $as_echo "$ac_try_echo"; } >&5 ! 2481: (eval "$ac_compile") 2>&5 ! 2482: ac_status=$? ! 2483: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 2484: test $ac_status = 0; }; then : ! 2485: for ac_file in conftest.o conftest.obj conftest.*; do ! 2486: test -f "$ac_file" || continue; ! 2487: case $ac_file in ! 2488: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; ! 2489: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` ! 2490: break;; ! 2491: esac ! 2492: done ! 2493: else ! 2494: $as_echo "$as_me: failed program was:" >&5 ! 2495: sed 's/^/| /' conftest.$ac_ext >&5 ! 2496: ! 2497: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 2498: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 2499: as_fn_error $? "cannot compute suffix of object files: cannot compile ! 2500: See \`config.log' for more details" "$LINENO" 5; } ! 2501: fi ! 2502: rm -f conftest.$ac_cv_objext conftest.$ac_ext ! 2503: fi ! 2504: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ! 2505: $as_echo "$ac_cv_objext" >&6; } ! 2506: OBJEXT=$ac_cv_objext ! 2507: ac_objext=$OBJEXT ! 2508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 ! 2509: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } ! 2510: if ${ac_cv_cxx_compiler_gnu+:} false; then : ! 2511: $as_echo_n "(cached) " >&6 ! 2512: else ! 2513: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2514: /* end confdefs.h. */ ! 2515: ! 2516: int ! 2517: main () ! 2518: { ! 2519: #ifndef __GNUC__ ! 2520: choke me ! 2521: #endif ! 2522: ! 2523: ; ! 2524: return 0; ! 2525: } ! 2526: _ACEOF ! 2527: if ac_fn_cxx_try_compile "$LINENO"; then : ! 2528: ac_compiler_gnu=yes ! 2529: else ! 2530: ac_compiler_gnu=no ! 2531: fi ! 2532: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 2533: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu ! 2534: ! 2535: fi ! 2536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 ! 2537: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } ! 2538: if test $ac_compiler_gnu = yes; then ! 2539: GXX=yes ! 2540: else ! 2541: GXX= ! 2542: fi ! 2543: ac_test_CXXFLAGS=${CXXFLAGS+set} ! 2544: ac_save_CXXFLAGS=$CXXFLAGS ! 2545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 ! 2546: $as_echo_n "checking whether $CXX accepts -g... " >&6; } ! 2547: if ${ac_cv_prog_cxx_g+:} false; then : ! 2548: $as_echo_n "(cached) " >&6 ! 2549: else ! 2550: ac_save_cxx_werror_flag=$ac_cxx_werror_flag ! 2551: ac_cxx_werror_flag=yes ! 2552: ac_cv_prog_cxx_g=no ! 2553: CXXFLAGS="-g" ! 2554: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2555: /* end confdefs.h. */ ! 2556: ! 2557: int ! 2558: main () ! 2559: { ! 2560: ! 2561: ; ! 2562: return 0; ! 2563: } ! 2564: _ACEOF ! 2565: if ac_fn_cxx_try_compile "$LINENO"; then : ! 2566: ac_cv_prog_cxx_g=yes ! 2567: else ! 2568: CXXFLAGS="" ! 2569: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2570: /* end confdefs.h. */ ! 2571: ! 2572: int ! 2573: main () ! 2574: { ! 2575: ! 2576: ; ! 2577: return 0; ! 2578: } ! 2579: _ACEOF ! 2580: if ac_fn_cxx_try_compile "$LINENO"; then : ! 2581: ! 2582: else ! 2583: ac_cxx_werror_flag=$ac_save_cxx_werror_flag ! 2584: CXXFLAGS="-g" ! 2585: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2586: /* end confdefs.h. */ ! 2587: ! 2588: int ! 2589: main () ! 2590: { ! 2591: ! 2592: ; ! 2593: return 0; ! 2594: } ! 2595: _ACEOF ! 2596: if ac_fn_cxx_try_compile "$LINENO"; then : ! 2597: ac_cv_prog_cxx_g=yes ! 2598: fi ! 2599: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 2600: fi ! 2601: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 2602: fi ! 2603: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 2604: ac_cxx_werror_flag=$ac_save_cxx_werror_flag ! 2605: fi ! 2606: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 ! 2607: $as_echo "$ac_cv_prog_cxx_g" >&6; } ! 2608: if test "$ac_test_CXXFLAGS" = set; then ! 2609: CXXFLAGS=$ac_save_CXXFLAGS ! 2610: elif test $ac_cv_prog_cxx_g = yes; then ! 2611: if test "$GXX" = yes; then ! 2612: CXXFLAGS="-g -O2" ! 2613: else ! 2614: CXXFLAGS="-g" ! 2615: fi ! 2616: else ! 2617: if test "$GXX" = yes; then ! 2618: CXXFLAGS="-O2" ! 2619: else ! 2620: CXXFLAGS= ! 2621: fi ! 2622: fi ! 2623: ac_ext=c ! 2624: ac_cpp='$CPP $CPPFLAGS' ! 2625: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 2626: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 2627: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 2628: ! 2629: ac_ext=c ! 2630: ac_cpp='$CPP $CPPFLAGS' ! 2631: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 2632: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 2633: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 2634: if test -n "$ac_tool_prefix"; then ! 2635: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. ! 2636: set dummy ${ac_tool_prefix}gcc; ac_word=$2 ! 2637: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2638: $as_echo_n "checking for $ac_word... " >&6; } ! 2639: if ${ac_cv_prog_CC+:} false; then : ! 2640: $as_echo_n "(cached) " >&6 ! 2641: else ! 2642: if test -n "$CC"; then ! 2643: ac_cv_prog_CC="$CC" # Let the user override the test. ! 2644: else ! 2645: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2646: for as_dir in $PATH ! 2647: do ! 2648: IFS=$as_save_IFS ! 2649: test -z "$as_dir" && as_dir=. ! 2650: for ac_exec_ext in '' $ac_executable_extensions; do ! 2651: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2652: ac_cv_prog_CC="${ac_tool_prefix}gcc" ! 2653: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2654: break 2 ! 2655: fi ! 2656: done ! 2657: done ! 2658: IFS=$as_save_IFS ! 2659: ! 2660: fi ! 2661: fi ! 2662: CC=$ac_cv_prog_CC ! 2663: if test -n "$CC"; then ! 2664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ! 2665: $as_echo "$CC" >&6; } ! 2666: else ! 2667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2668: $as_echo "no" >&6; } ! 2669: fi ! 2670: ! 2671: ! 2672: fi ! 2673: if test -z "$ac_cv_prog_CC"; then ! 2674: ac_ct_CC=$CC ! 2675: # Extract the first word of "gcc", so it can be a program name with args. ! 2676: set dummy gcc; ac_word=$2 ! 2677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2678: $as_echo_n "checking for $ac_word... " >&6; } ! 2679: if ${ac_cv_prog_ac_ct_CC+:} false; then : ! 2680: $as_echo_n "(cached) " >&6 ! 2681: else ! 2682: if test -n "$ac_ct_CC"; then ! 2683: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ! 2684: else ! 2685: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2686: for as_dir in $PATH ! 2687: do ! 2688: IFS=$as_save_IFS ! 2689: test -z "$as_dir" && as_dir=. ! 2690: for ac_exec_ext in '' $ac_executable_extensions; do ! 2691: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2692: ac_cv_prog_ac_ct_CC="gcc" ! 2693: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2694: break 2 ! 2695: fi ! 2696: done ! 2697: done ! 2698: IFS=$as_save_IFS ! 2699: ! 2700: fi ! 2701: fi ! 2702: ac_ct_CC=$ac_cv_prog_ac_ct_CC ! 2703: if test -n "$ac_ct_CC"; then ! 2704: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ! 2705: $as_echo "$ac_ct_CC" >&6; } ! 2706: else ! 2707: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2708: $as_echo "no" >&6; } ! 2709: fi ! 2710: ! 2711: if test "x$ac_ct_CC" = x; then ! 2712: CC="" ! 2713: else ! 2714: case $cross_compiling:$ac_tool_warned in ! 2715: yes:) ! 2716: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ! 2717: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ! 2718: ac_tool_warned=yes ;; ! 2719: esac ! 2720: CC=$ac_ct_CC ! 2721: fi ! 2722: else ! 2723: CC="$ac_cv_prog_CC" ! 2724: fi ! 2725: ! 2726: if test -z "$CC"; then ! 2727: if test -n "$ac_tool_prefix"; then ! 2728: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. ! 2729: set dummy ${ac_tool_prefix}cc; ac_word=$2 ! 2730: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2731: $as_echo_n "checking for $ac_word... " >&6; } ! 2732: if ${ac_cv_prog_CC+:} false; then : ! 2733: $as_echo_n "(cached) " >&6 ! 2734: else ! 2735: if test -n "$CC"; then ! 2736: ac_cv_prog_CC="$CC" # Let the user override the test. ! 2737: else ! 2738: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2739: for as_dir in $PATH ! 2740: do ! 2741: IFS=$as_save_IFS ! 2742: test -z "$as_dir" && as_dir=. ! 2743: for ac_exec_ext in '' $ac_executable_extensions; do ! 2744: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2745: ac_cv_prog_CC="${ac_tool_prefix}cc" ! 2746: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2747: break 2 ! 2748: fi ! 2749: done ! 2750: done ! 2751: IFS=$as_save_IFS ! 2752: ! 2753: fi ! 2754: fi ! 2755: CC=$ac_cv_prog_CC ! 2756: if test -n "$CC"; then ! 2757: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ! 2758: $as_echo "$CC" >&6; } ! 2759: else ! 2760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2761: $as_echo "no" >&6; } ! 2762: fi ! 2763: ! 2764: ! 2765: fi ! 2766: fi ! 2767: if test -z "$CC"; then ! 2768: # Extract the first word of "cc", so it can be a program name with args. ! 2769: set dummy cc; ac_word=$2 ! 2770: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2771: $as_echo_n "checking for $ac_word... " >&6; } ! 2772: if ${ac_cv_prog_CC+:} false; then : ! 2773: $as_echo_n "(cached) " >&6 ! 2774: else ! 2775: if test -n "$CC"; then ! 2776: ac_cv_prog_CC="$CC" # Let the user override the test. ! 2777: else ! 2778: ac_prog_rejected=no ! 2779: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2780: for as_dir in $PATH ! 2781: do ! 2782: IFS=$as_save_IFS ! 2783: test -z "$as_dir" && as_dir=. ! 2784: for ac_exec_ext in '' $ac_executable_extensions; do ! 2785: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2786: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ! 2787: ac_prog_rejected=yes ! 2788: continue ! 2789: fi ! 2790: ac_cv_prog_CC="cc" ! 2791: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2792: break 2 ! 2793: fi ! 2794: done ! 2795: done ! 2796: IFS=$as_save_IFS ! 2797: ! 2798: if test $ac_prog_rejected = yes; then ! 2799: # We found a bogon in the path, so make sure we never use it. ! 2800: set dummy $ac_cv_prog_CC ! 2801: shift ! 2802: if test $# != 0; then ! 2803: # We chose a different compiler from the bogus one. ! 2804: # However, it has the same basename, so the bogon will be chosen ! 2805: # first if we set CC to just the basename; use the full file name. ! 2806: shift ! 2807: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" ! 2808: fi ! 2809: fi ! 2810: fi ! 2811: fi ! 2812: CC=$ac_cv_prog_CC ! 2813: if test -n "$CC"; then ! 2814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ! 2815: $as_echo "$CC" >&6; } ! 2816: else ! 2817: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2818: $as_echo "no" >&6; } ! 2819: fi ! 2820: ! 2821: ! 2822: fi ! 2823: if test -z "$CC"; then ! 2824: if test -n "$ac_tool_prefix"; then ! 2825: for ac_prog in cl.exe ! 2826: do ! 2827: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. ! 2828: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 ! 2829: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2830: $as_echo_n "checking for $ac_word... " >&6; } ! 2831: if ${ac_cv_prog_CC+:} false; then : ! 2832: $as_echo_n "(cached) " >&6 ! 2833: else ! 2834: if test -n "$CC"; then ! 2835: ac_cv_prog_CC="$CC" # Let the user override the test. ! 2836: else ! 2837: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2838: for as_dir in $PATH ! 2839: do ! 2840: IFS=$as_save_IFS ! 2841: test -z "$as_dir" && as_dir=. ! 2842: for ac_exec_ext in '' $ac_executable_extensions; do ! 2843: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2844: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" ! 2845: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2846: break 2 ! 2847: fi ! 2848: done ! 2849: done ! 2850: IFS=$as_save_IFS ! 2851: ! 2852: fi ! 2853: fi ! 2854: CC=$ac_cv_prog_CC ! 2855: if test -n "$CC"; then ! 2856: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ! 2857: $as_echo "$CC" >&6; } ! 2858: else ! 2859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2860: $as_echo "no" >&6; } ! 2861: fi ! 2862: ! 2863: ! 2864: test -n "$CC" && break ! 2865: done ! 2866: fi ! 2867: if test -z "$CC"; then ! 2868: ac_ct_CC=$CC ! 2869: for ac_prog in cl.exe ! 2870: do ! 2871: # Extract the first word of "$ac_prog", so it can be a program name with args. ! 2872: set dummy $ac_prog; ac_word=$2 ! 2873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ! 2874: $as_echo_n "checking for $ac_word... " >&6; } ! 2875: if ${ac_cv_prog_ac_ct_CC+:} false; then : ! 2876: $as_echo_n "(cached) " >&6 ! 2877: else ! 2878: if test -n "$ac_ct_CC"; then ! 2879: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ! 2880: else ! 2881: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 2882: for as_dir in $PATH ! 2883: do ! 2884: IFS=$as_save_IFS ! 2885: test -z "$as_dir" && as_dir=. ! 2886: for ac_exec_ext in '' $ac_executable_extensions; do ! 2887: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ! 2888: ac_cv_prog_ac_ct_CC="$ac_prog" ! 2889: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ! 2890: break 2 ! 2891: fi ! 2892: done ! 2893: done ! 2894: IFS=$as_save_IFS ! 2895: ! 2896: fi ! 2897: fi ! 2898: ac_ct_CC=$ac_cv_prog_ac_ct_CC ! 2899: if test -n "$ac_ct_CC"; then ! 2900: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ! 2901: $as_echo "$ac_ct_CC" >&6; } ! 2902: else ! 2903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 2904: $as_echo "no" >&6; } ! 2905: fi ! 2906: ! 2907: ! 2908: test -n "$ac_ct_CC" && break ! 2909: done ! 2910: ! 2911: if test "x$ac_ct_CC" = x; then ! 2912: CC="" ! 2913: else ! 2914: case $cross_compiling:$ac_tool_warned in ! 2915: yes:) ! 2916: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ! 2917: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ! 2918: ac_tool_warned=yes ;; ! 2919: esac ! 2920: CC=$ac_ct_CC ! 2921: fi ! 2922: fi ! 2923: ! 2924: fi ! 2925: ! 2926: ! 2927: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 2928: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 2929: as_fn_error $? "no acceptable C compiler found in \$PATH ! 2930: See \`config.log' for more details" "$LINENO" 5; } ! 2931: ! 2932: # Provide some information about the compiler. ! 2933: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ! 2934: set X $ac_compile ! 2935: ac_compiler=$2 ! 2936: for ac_option in --version -v -V -qversion; do ! 2937: { { ac_try="$ac_compiler $ac_option >&5" ! 2938: case "(($ac_try" in ! 2939: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ! 2940: *) ac_try_echo=$ac_try;; ! 2941: esac ! 2942: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" ! 2943: $as_echo "$ac_try_echo"; } >&5 ! 2944: (eval "$ac_compiler $ac_option >&5") 2>conftest.err ! 2945: ac_status=$? ! 2946: if test -s conftest.err; then ! 2947: sed '10a\ ! 2948: ... rest of stderr output deleted ... ! 2949: 10q' conftest.err >conftest.er1 ! 2950: cat conftest.er1 >&5 ! 2951: fi ! 2952: rm -f conftest.er1 conftest.err ! 2953: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ! 2954: test $ac_status = 0; } ! 2955: done ! 2956: ! 2957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ! 2958: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } ! 2959: if ${ac_cv_c_compiler_gnu+:} false; then : ! 2960: $as_echo_n "(cached) " >&6 ! 2961: else ! 2962: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 2963: /* end confdefs.h. */ ! 2964: ! 2965: int ! 2966: main () ! 2967: { ! 2968: #ifndef __GNUC__ ! 2969: choke me ! 2970: #endif ! 2971: ! 2972: ; ! 2973: return 0; ! 2974: } ! 2975: _ACEOF ! 2976: if ac_fn_c_try_compile "$LINENO"; then : ! 2977: ac_compiler_gnu=yes ! 2978: else ! 2979: ac_compiler_gnu=no ! 2980: fi ! 2981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 2982: ac_cv_c_compiler_gnu=$ac_compiler_gnu ! 2983: ! 2984: fi ! 2985: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ! 2986: $as_echo "$ac_cv_c_compiler_gnu" >&6; } ! 2987: if test $ac_compiler_gnu = yes; then ! 2988: GCC=yes ! 2989: else ! 2990: GCC= ! 2991: fi ! 2992: ac_test_CFLAGS=${CFLAGS+set} ! 2993: ac_save_CFLAGS=$CFLAGS ! 2994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ! 2995: $as_echo_n "checking whether $CC accepts -g... " >&6; } ! 2996: if ${ac_cv_prog_cc_g+:} false; then : ! 2997: $as_echo_n "(cached) " >&6 ! 2998: else ! 2999: ac_save_c_werror_flag=$ac_c_werror_flag ! 3000: ac_c_werror_flag=yes ! 3001: ac_cv_prog_cc_g=no ! 3002: CFLAGS="-g" ! 3003: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3004: /* end confdefs.h. */ ! 3005: ! 3006: int ! 3007: main () ! 3008: { ! 3009: ! 3010: ; ! 3011: return 0; ! 3012: } ! 3013: _ACEOF ! 3014: if ac_fn_c_try_compile "$LINENO"; then : ! 3015: ac_cv_prog_cc_g=yes ! 3016: else ! 3017: CFLAGS="" ! 3018: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3019: /* end confdefs.h. */ ! 3020: ! 3021: int ! 3022: main () ! 3023: { ! 3024: ! 3025: ; ! 3026: return 0; ! 3027: } ! 3028: _ACEOF ! 3029: if ac_fn_c_try_compile "$LINENO"; then : ! 3030: ! 3031: else ! 3032: ac_c_werror_flag=$ac_save_c_werror_flag ! 3033: CFLAGS="-g" ! 3034: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3035: /* end confdefs.h. */ ! 3036: ! 3037: int ! 3038: main () ! 3039: { ! 3040: ! 3041: ; ! 3042: return 0; ! 3043: } ! 3044: _ACEOF ! 3045: if ac_fn_c_try_compile "$LINENO"; then : ! 3046: ac_cv_prog_cc_g=yes ! 3047: fi ! 3048: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3049: fi ! 3050: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3051: fi ! 3052: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3053: ac_c_werror_flag=$ac_save_c_werror_flag ! 3054: fi ! 3055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ! 3056: $as_echo "$ac_cv_prog_cc_g" >&6; } ! 3057: if test "$ac_test_CFLAGS" = set; then ! 3058: CFLAGS=$ac_save_CFLAGS ! 3059: elif test $ac_cv_prog_cc_g = yes; then ! 3060: if test "$GCC" = yes; then ! 3061: CFLAGS="-g -O2" ! 3062: else ! 3063: CFLAGS="-g" ! 3064: fi ! 3065: else ! 3066: if test "$GCC" = yes; then ! 3067: CFLAGS="-O2" ! 3068: else ! 3069: CFLAGS= ! 3070: fi ! 3071: fi ! 3072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ! 3073: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } ! 3074: if ${ac_cv_prog_cc_c89+:} false; then : ! 3075: $as_echo_n "(cached) " >&6 ! 3076: else ! 3077: ac_cv_prog_cc_c89=no ! 3078: ac_save_CC=$CC ! 3079: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3080: /* end confdefs.h. */ ! 3081: #include <stdarg.h> ! 3082: #include <stdio.h> ! 3083: struct stat; ! 3084: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ ! 3085: struct buf { int x; }; ! 3086: FILE * (*rcsopen) (struct buf *, struct stat *, int); ! 3087: static char *e (p, i) ! 3088: char **p; ! 3089: int i; ! 3090: { ! 3091: return p[i]; ! 3092: } ! 3093: static char *f (char * (*g) (char **, int), char **p, ...) ! 3094: { ! 3095: char *s; ! 3096: va_list v; ! 3097: va_start (v,p); ! 3098: s = g (p, va_arg (v,int)); ! 3099: va_end (v); ! 3100: return s; ! 3101: } ! 3102: ! 3103: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has ! 3104: function prototypes and stuff, but not '\xHH' hex character constants. ! 3105: These don't provoke an error unfortunately, instead are silently treated ! 3106: as 'x'. The following induces an error, until -std is added to get ! 3107: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an ! 3108: array size at least. It's necessary to write '\x00'==0 to get something ! 3109: that's true only with -std. */ ! 3110: int osf4_cc_array ['\x00' == 0 ? 1 : -1]; ! 3111: ! 3112: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters ! 3113: inside strings and character constants. */ ! 3114: #define FOO(x) 'x' ! 3115: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; ! 3116: ! 3117: int test (int i, double x); ! 3118: struct s1 {int (*f) (int a);}; ! 3119: struct s2 {int (*f) (double a);}; ! 3120: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); ! 3121: int argc; ! 3122: char **argv; ! 3123: int ! 3124: main () ! 3125: { ! 3126: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ! 3127: ; ! 3128: return 0; ! 3129: } ! 3130: _ACEOF ! 3131: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ ! 3132: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ! 3133: do ! 3134: CC="$ac_save_CC $ac_arg" ! 3135: if ac_fn_c_try_compile "$LINENO"; then : ! 3136: ac_cv_prog_cc_c89=$ac_arg ! 3137: fi ! 3138: rm -f core conftest.err conftest.$ac_objext ! 3139: test "x$ac_cv_prog_cc_c89" != "xno" && break ! 3140: done ! 3141: rm -f conftest.$ac_ext ! 3142: CC=$ac_save_CC ! 3143: ! 3144: fi ! 3145: # AC_CACHE_VAL ! 3146: case "x$ac_cv_prog_cc_c89" in ! 3147: x) ! 3148: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ! 3149: $as_echo "none needed" >&6; } ;; ! 3150: xno) ! 3151: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ! 3152: $as_echo "unsupported" >&6; } ;; ! 3153: *) ! 3154: CC="$CC $ac_cv_prog_cc_c89" ! 3155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ! 3156: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; ! 3157: esac ! 3158: if test "x$ac_cv_prog_cc_c89" != xno; then : ! 3159: ! 3160: fi ! 3161: ! 3162: ac_ext=c ! 3163: ac_cpp='$CPP $CPPFLAGS' ! 3164: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 3165: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 3166: ac_compiler_gnu=$ac_cv_c_compiler_gnu ! 3167: ! 3168: ac_ext=cpp ! 3169: ac_cpp='$CXXCPP $CPPFLAGS' ! 3170: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 3171: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 3172: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! 3173: ! 3174: ! 3175: ac_ext=cpp ! 3176: ac_cpp='$CXXCPP $CPPFLAGS' ! 3177: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 3178: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 3179: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! 3180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 ! 3181: $as_echo_n "checking how to run the C++ preprocessor... " >&6; } ! 3182: if test -z "$CXXCPP"; then ! 3183: if ${ac_cv_prog_CXXCPP+:} false; then : ! 3184: $as_echo_n "(cached) " >&6 ! 3185: else ! 3186: # Double quotes because CXXCPP needs to be expanded ! 3187: for CXXCPP in "$CXX -E" "/lib/cpp" ! 3188: do ! 3189: ac_preproc_ok=false ! 3190: for ac_cxx_preproc_warn_flag in '' yes ! 3191: do ! 3192: # Use a header file that comes with gcc, so configuring glibc ! 3193: # with a fresh cross-compiler works. ! 3194: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since ! 3195: # <limits.h> exists even on freestanding compilers. ! 3196: # On the NeXT, cc -E runs the code through the compiler's parser, ! 3197: # not just through cpp. "Syntax error" is here to catch this case. ! 3198: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3199: /* end confdefs.h. */ ! 3200: #ifdef __STDC__ ! 3201: # include <limits.h> ! 3202: #else ! 3203: # include <assert.h> ! 3204: #endif ! 3205: Syntax error ! 3206: _ACEOF ! 3207: if ac_fn_cxx_try_cpp "$LINENO"; then : ! 3208: ! 3209: else ! 3210: # Broken: fails on valid input. ! 3211: continue ! 3212: fi ! 3213: rm -f conftest.err conftest.i conftest.$ac_ext ! 3214: ! 3215: # OK, works on sane cases. Now check whether nonexistent headers ! 3216: # can be detected and how. ! 3217: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3218: /* end confdefs.h. */ ! 3219: #include <ac_nonexistent.h> ! 3220: _ACEOF ! 3221: if ac_fn_cxx_try_cpp "$LINENO"; then : ! 3222: # Broken: success on invalid input. ! 3223: continue ! 3224: else ! 3225: # Passes both tests. ! 3226: ac_preproc_ok=: ! 3227: break ! 3228: fi ! 3229: rm -f conftest.err conftest.i conftest.$ac_ext ! 3230: ! 3231: done ! 3232: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ! 3233: rm -f conftest.i conftest.err conftest.$ac_ext ! 3234: if $ac_preproc_ok; then : ! 3235: break ! 3236: fi ! 3237: ! 3238: done ! 3239: ac_cv_prog_CXXCPP=$CXXCPP ! 3240: ! 3241: fi ! 3242: CXXCPP=$ac_cv_prog_CXXCPP ! 3243: else ! 3244: ac_cv_prog_CXXCPP=$CXXCPP ! 3245: fi ! 3246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 ! 3247: $as_echo "$CXXCPP" >&6; } ! 3248: ac_preproc_ok=false ! 3249: for ac_cxx_preproc_warn_flag in '' yes ! 3250: do ! 3251: # Use a header file that comes with gcc, so configuring glibc ! 3252: # with a fresh cross-compiler works. ! 3253: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since ! 3254: # <limits.h> exists even on freestanding compilers. ! 3255: # On the NeXT, cc -E runs the code through the compiler's parser, ! 3256: # not just through cpp. "Syntax error" is here to catch this case. ! 3257: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3258: /* end confdefs.h. */ ! 3259: #ifdef __STDC__ ! 3260: # include <limits.h> ! 3261: #else ! 3262: # include <assert.h> ! 3263: #endif ! 3264: Syntax error ! 3265: _ACEOF ! 3266: if ac_fn_cxx_try_cpp "$LINENO"; then : ! 3267: ! 3268: else ! 3269: # Broken: fails on valid input. ! 3270: continue ! 3271: fi ! 3272: rm -f conftest.err conftest.i conftest.$ac_ext ! 3273: ! 3274: # OK, works on sane cases. Now check whether nonexistent headers ! 3275: # can be detected and how. ! 3276: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3277: /* end confdefs.h. */ ! 3278: #include <ac_nonexistent.h> ! 3279: _ACEOF ! 3280: if ac_fn_cxx_try_cpp "$LINENO"; then : ! 3281: # Broken: success on invalid input. ! 3282: continue ! 3283: else ! 3284: # Passes both tests. ! 3285: ac_preproc_ok=: ! 3286: break ! 3287: fi ! 3288: rm -f conftest.err conftest.i conftest.$ac_ext ! 3289: ! 3290: done ! 3291: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. ! 3292: rm -f conftest.i conftest.err conftest.$ac_ext ! 3293: if $ac_preproc_ok; then : ! 3294: ! 3295: else ! 3296: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ! 3297: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ! 3298: as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check ! 3299: See \`config.log' for more details" "$LINENO" 5; } ! 3300: fi ! 3301: ! 3302: ac_ext=cpp ! 3303: ac_cpp='$CXXCPP $CPPFLAGS' ! 3304: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ! 3305: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ! 3306: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ! 3307: ! 3308: ! 3309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ! 3310: $as_echo_n "checking for grep that handles long lines and -e... " >&6; } ! 3311: if ${ac_cv_path_GREP+:} false; then : ! 3312: $as_echo_n "(cached) " >&6 ! 3313: else ! 3314: if test -z "$GREP"; then ! 3315: ac_path_GREP_found=false ! 3316: # Loop through the user's path and test for each of PROGNAME-LIST ! 3317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 3318: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ! 3319: do ! 3320: IFS=$as_save_IFS ! 3321: test -z "$as_dir" && as_dir=. ! 3322: for ac_prog in grep ggrep; do ! 3323: for ac_exec_ext in '' $ac_executable_extensions; do ! 3324: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" ! 3325: as_fn_executable_p "$ac_path_GREP" || continue ! 3326: # Check for GNU ac_path_GREP and select it if it is found. ! 3327: # Check for GNU $ac_path_GREP ! 3328: case `"$ac_path_GREP" --version 2>&1` in ! 3329: *GNU*) ! 3330: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; ! 3331: *) ! 3332: ac_count=0 ! 3333: $as_echo_n 0123456789 >"conftest.in" ! 3334: while : ! 3335: do ! 3336: cat "conftest.in" "conftest.in" >"conftest.tmp" ! 3337: mv "conftest.tmp" "conftest.in" ! 3338: cp "conftest.in" "conftest.nl" ! 3339: $as_echo 'GREP' >> "conftest.nl" ! 3340: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break ! 3341: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! 3342: as_fn_arith $ac_count + 1 && ac_count=$as_val ! 3343: if test $ac_count -gt ${ac_path_GREP_max-0}; then ! 3344: # Best one so far, save it but keep looking for a better one ! 3345: ac_cv_path_GREP="$ac_path_GREP" ! 3346: ac_path_GREP_max=$ac_count ! 3347: fi ! 3348: # 10*(2^10) chars as input seems more than enough ! 3349: test $ac_count -gt 10 && break ! 3350: done ! 3351: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ! 3352: esac ! 3353: ! 3354: $ac_path_GREP_found && break 3 ! 3355: done ! 3356: done ! 3357: done ! 3358: IFS=$as_save_IFS ! 3359: if test -z "$ac_cv_path_GREP"; then ! 3360: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ! 3361: fi ! 3362: else ! 3363: ac_cv_path_GREP=$GREP ! 3364: fi ! 3365: ! 3366: fi ! 3367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ! 3368: $as_echo "$ac_cv_path_GREP" >&6; } ! 3369: GREP="$ac_cv_path_GREP" ! 3370: ! 3371: ! 3372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ! 3373: $as_echo_n "checking for egrep... " >&6; } ! 3374: if ${ac_cv_path_EGREP+:} false; then : ! 3375: $as_echo_n "(cached) " >&6 ! 3376: else ! 3377: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 ! 3378: then ac_cv_path_EGREP="$GREP -E" ! 3379: else ! 3380: if test -z "$EGREP"; then ! 3381: ac_path_EGREP_found=false ! 3382: # Loop through the user's path and test for each of PROGNAME-LIST ! 3383: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 3384: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin ! 3385: do ! 3386: IFS=$as_save_IFS ! 3387: test -z "$as_dir" && as_dir=. ! 3388: for ac_prog in egrep; do ! 3389: for ac_exec_ext in '' $ac_executable_extensions; do ! 3390: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" ! 3391: as_fn_executable_p "$ac_path_EGREP" || continue ! 3392: # Check for GNU ac_path_EGREP and select it if it is found. ! 3393: # Check for GNU $ac_path_EGREP ! 3394: case `"$ac_path_EGREP" --version 2>&1` in ! 3395: *GNU*) ! 3396: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; ! 3397: *) ! 3398: ac_count=0 ! 3399: $as_echo_n 0123456789 >"conftest.in" ! 3400: while : ! 3401: do ! 3402: cat "conftest.in" "conftest.in" >"conftest.tmp" ! 3403: mv "conftest.tmp" "conftest.in" ! 3404: cp "conftest.in" "conftest.nl" ! 3405: $as_echo 'EGREP' >> "conftest.nl" ! 3406: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break ! 3407: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ! 3408: as_fn_arith $ac_count + 1 && ac_count=$as_val ! 3409: if test $ac_count -gt ${ac_path_EGREP_max-0}; then ! 3410: # Best one so far, save it but keep looking for a better one ! 3411: ac_cv_path_EGREP="$ac_path_EGREP" ! 3412: ac_path_EGREP_max=$ac_count ! 3413: fi ! 3414: # 10*(2^10) chars as input seems more than enough ! 3415: test $ac_count -gt 10 && break ! 3416: done ! 3417: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; ! 3418: esac ! 3419: ! 3420: $ac_path_EGREP_found && break 3 ! 3421: done ! 3422: done ! 3423: done ! 3424: IFS=$as_save_IFS ! 3425: if test -z "$ac_cv_path_EGREP"; then ! 3426: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ! 3427: fi ! 3428: else ! 3429: ac_cv_path_EGREP=$EGREP ! 3430: fi ! 3431: ! 3432: fi ! 3433: fi ! 3434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ! 3435: $as_echo "$ac_cv_path_EGREP" >&6; } ! 3436: EGREP="$ac_cv_path_EGREP" ! 3437: ! 3438: ! 3439: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ! 3440: $as_echo_n "checking for ANSI C header files... " >&6; } ! 3441: if ${ac_cv_header_stdc+:} false; then : ! 3442: $as_echo_n "(cached) " >&6 ! 3443: else ! 3444: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3445: /* end confdefs.h. */ ! 3446: #include <stdlib.h> ! 3447: #include <stdarg.h> ! 3448: #include <string.h> ! 3449: #include <float.h> ! 3450: ! 3451: int ! 3452: main () ! 3453: { ! 3454: ! 3455: ; ! 3456: return 0; ! 3457: } ! 3458: _ACEOF ! 3459: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3460: ac_cv_header_stdc=yes ! 3461: else ! 3462: ac_cv_header_stdc=no ! 3463: fi ! 3464: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3465: ! 3466: if test $ac_cv_header_stdc = yes; then ! 3467: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. ! 3468: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3469: /* end confdefs.h. */ ! 3470: #include <string.h> ! 3471: ! 3472: _ACEOF ! 3473: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! 3474: $EGREP "memchr" >/dev/null 2>&1; then : ! 3475: ! 3476: else ! 3477: ac_cv_header_stdc=no ! 3478: fi ! 3479: rm -f conftest* ! 3480: ! 3481: fi ! 3482: ! 3483: if test $ac_cv_header_stdc = yes; then ! 3484: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. ! 3485: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3486: /* end confdefs.h. */ ! 3487: #include <stdlib.h> ! 3488: ! 3489: _ACEOF ! 3490: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | ! 3491: $EGREP "free" >/dev/null 2>&1; then : ! 3492: ! 3493: else ! 3494: ac_cv_header_stdc=no ! 3495: fi ! 3496: rm -f conftest* ! 3497: ! 3498: fi ! 3499: ! 3500: if test $ac_cv_header_stdc = yes; then ! 3501: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. ! 3502: if test "$cross_compiling" = yes; then : ! 3503: : ! 3504: else ! 3505: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3506: /* end confdefs.h. */ ! 3507: #include <ctype.h> ! 3508: #include <stdlib.h> ! 3509: #if ((' ' & 0x0FF) == 0x020) ! 3510: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') ! 3511: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) ! 3512: #else ! 3513: # define ISLOWER(c) \ ! 3514: (('a' <= (c) && (c) <= 'i') \ ! 3515: || ('j' <= (c) && (c) <= 'r') \ ! 3516: || ('s' <= (c) && (c) <= 'z')) ! 3517: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) ! 3518: #endif ! 3519: ! 3520: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) ! 3521: int ! 3522: main () ! 3523: { ! 3524: int i; ! 3525: for (i = 0; i < 256; i++) ! 3526: if (XOR (islower (i), ISLOWER (i)) ! 3527: || toupper (i) != TOUPPER (i)) ! 3528: return 2; ! 3529: return 0; ! 3530: } ! 3531: _ACEOF ! 3532: if ac_fn_cxx_try_run "$LINENO"; then : ! 3533: ! 3534: else ! 3535: ac_cv_header_stdc=no ! 3536: fi ! 3537: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! 3538: conftest.$ac_objext conftest.beam conftest.$ac_ext ! 3539: fi ! 3540: ! 3541: fi ! 3542: fi ! 3543: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ! 3544: $as_echo "$ac_cv_header_stdc" >&6; } ! 3545: if test $ac_cv_header_stdc = yes; then ! 3546: ! 3547: $as_echo "#define STDC_HEADERS 1" >>confdefs.h ! 3548: ! 3549: fi ! 3550: ! 3551: # On IRIX 5.3, sys/types and inttypes.h are conflicting. ! 3552: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ ! 3553: inttypes.h stdint.h unistd.h ! 3554: do : ! 3555: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ! 3556: ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default ! 3557: " ! 3558: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : ! 3559: cat >>confdefs.h <<_ACEOF ! 3560: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ! 3561: _ACEOF ! 3562: ! 3563: fi ! 3564: ! 3565: done ! 3566: ! 3567: ! 3568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 ! 3569: $as_echo_n "checking whether byte ordering is bigendian... " >&6; } ! 3570: if ${ac_cv_c_bigendian+:} false; then : ! 3571: $as_echo_n "(cached) " >&6 ! 3572: else ! 3573: ac_cv_c_bigendian=unknown ! 3574: # See if we're dealing with a universal compiler. ! 3575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3576: /* end confdefs.h. */ ! 3577: #ifndef __APPLE_CC__ ! 3578: not a universal capable compiler ! 3579: #endif ! 3580: typedef int dummy; ! 3581: ! 3582: _ACEOF ! 3583: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3584: ! 3585: # Check for potential -arch flags. It is not universal unless ! 3586: # there are at least two -arch flags with different values. ! 3587: ac_arch= ! 3588: ac_prev= ! 3589: for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do ! 3590: if test -n "$ac_prev"; then ! 3591: case $ac_word in ! 3592: i?86 | x86_64 | ppc | ppc64) ! 3593: if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ! 3594: ac_arch=$ac_word ! 3595: else ! 3596: ac_cv_c_bigendian=universal ! 3597: break ! 3598: fi ! 3599: ;; ! 3600: esac ! 3601: ac_prev= ! 3602: elif test "x$ac_word" = "x-arch"; then ! 3603: ac_prev=arch ! 3604: fi ! 3605: done ! 3606: fi ! 3607: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3608: if test $ac_cv_c_bigendian = unknown; then ! 3609: # See if sys/param.h defines the BYTE_ORDER macro. ! 3610: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3611: /* end confdefs.h. */ ! 3612: #include <sys/types.h> ! 3613: #include <sys/param.h> ! 3614: ! 3615: int ! 3616: main () ! 3617: { ! 3618: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ ! 3619: && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ ! 3620: && LITTLE_ENDIAN) ! 3621: bogus endian macros ! 3622: #endif ! 3623: ! 3624: ; ! 3625: return 0; ! 3626: } ! 3627: _ACEOF ! 3628: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3629: # It does; now see whether it defined to BIG_ENDIAN or not. ! 3630: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3631: /* end confdefs.h. */ ! 3632: #include <sys/types.h> ! 3633: #include <sys/param.h> ! 3634: ! 3635: int ! 3636: main () ! 3637: { ! 3638: #if BYTE_ORDER != BIG_ENDIAN ! 3639: not big endian ! 3640: #endif ! 3641: ! 3642: ; ! 3643: return 0; ! 3644: } ! 3645: _ACEOF ! 3646: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3647: ac_cv_c_bigendian=yes ! 3648: else ! 3649: ac_cv_c_bigendian=no ! 3650: fi ! 3651: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3652: fi ! 3653: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3654: fi ! 3655: if test $ac_cv_c_bigendian = unknown; then ! 3656: # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). ! 3657: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3658: /* end confdefs.h. */ ! 3659: #include <limits.h> ! 3660: ! 3661: int ! 3662: main () ! 3663: { ! 3664: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) ! 3665: bogus endian macros ! 3666: #endif ! 3667: ! 3668: ; ! 3669: return 0; ! 3670: } ! 3671: _ACEOF ! 3672: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3673: # It does; now see whether it defined to _BIG_ENDIAN or not. ! 3674: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3675: /* end confdefs.h. */ ! 3676: #include <limits.h> ! 3677: ! 3678: int ! 3679: main () ! 3680: { ! 3681: #ifndef _BIG_ENDIAN ! 3682: not big endian ! 3683: #endif ! 3684: ! 3685: ; ! 3686: return 0; ! 3687: } ! 3688: _ACEOF ! 3689: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3690: ac_cv_c_bigendian=yes ! 3691: else ! 3692: ac_cv_c_bigendian=no ! 3693: fi ! 3694: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3695: fi ! 3696: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3697: fi ! 3698: if test $ac_cv_c_bigendian = unknown; then ! 3699: # Compile a test program. ! 3700: if test "$cross_compiling" = yes; then : ! 3701: # Try to guess by grepping values from an object file. ! 3702: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3703: /* end confdefs.h. */ ! 3704: short int ascii_mm[] = ! 3705: { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; ! 3706: short int ascii_ii[] = ! 3707: { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; ! 3708: int use_ascii (int i) { ! 3709: return ascii_mm[i] + ascii_ii[i]; ! 3710: } ! 3711: short int ebcdic_ii[] = ! 3712: { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; ! 3713: short int ebcdic_mm[] = ! 3714: { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; ! 3715: int use_ebcdic (int i) { ! 3716: return ebcdic_mm[i] + ebcdic_ii[i]; ! 3717: } ! 3718: extern int foo; ! 3719: ! 3720: int ! 3721: main () ! 3722: { ! 3723: return use_ascii (foo) == use_ebcdic (foo); ! 3724: ; ! 3725: return 0; ! 3726: } ! 3727: _ACEOF ! 3728: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3729: if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ! 3730: ac_cv_c_bigendian=yes ! 3731: fi ! 3732: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ! 3733: if test "$ac_cv_c_bigendian" = unknown; then ! 3734: ac_cv_c_bigendian=no ! 3735: else ! 3736: # finding both strings is unlikely to happen, but who knows? ! 3737: ac_cv_c_bigendian=unknown ! 3738: fi ! 3739: fi ! 3740: fi ! 3741: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3742: else ! 3743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3744: /* end confdefs.h. */ ! 3745: $ac_includes_default ! 3746: int ! 3747: main () ! 3748: { ! 3749: ! 3750: /* Are we little or big endian? From Harbison&Steele. */ ! 3751: union ! 3752: { ! 3753: long int l; ! 3754: char c[sizeof (long int)]; ! 3755: } u; ! 3756: u.l = 1; ! 3757: return u.c[sizeof (long int) - 1] == 1; ! 3758: ! 3759: ; ! 3760: return 0; ! 3761: } ! 3762: _ACEOF ! 3763: if ac_fn_cxx_try_run "$LINENO"; then : ! 3764: ac_cv_c_bigendian=no ! 3765: else ! 3766: ac_cv_c_bigendian=yes ! 3767: fi ! 3768: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ ! 3769: conftest.$ac_objext conftest.beam conftest.$ac_ext ! 3770: fi ! 3771: ! 3772: fi ! 3773: fi ! 3774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 ! 3775: $as_echo "$ac_cv_c_bigendian" >&6; } ! 3776: case $ac_cv_c_bigendian in #( ! 3777: yes) ! 3778: $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ! 3779: ;; #( ! 3780: no) ! 3781: ;; #( ! 3782: universal) ! 3783: ! 3784: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ! 3785: ! 3786: ;; #( ! 3787: *) ! 3788: as_fn_error $? "unknown endianness ! 3789: presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; ! 3790: esac ! 3791: ! 3792: ! 3793: # -Wlogical-op は clang にはない ! 3794: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts -Wlogical-op" >&5 ! 3795: $as_echo_n "checking whether the compiler accepts -Wlogical-op... " >&6; } ! 3796: old_CXXFLAGS="${CXXFLAGS}" ! 3797: CXXFLAGS="${CXXFLAGS} -Werror -Wlogical-op" ! 3798: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3799: /* end confdefs.h. */ ! 3800: ! 3801: int ! 3802: main () ! 3803: { ! 3804: ! 3805: ; ! 3806: return 0; ! 3807: } ! 3808: _ACEOF ! 3809: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3810: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 3811: $as_echo "yes" >&6; } ! 3812: CFLAGS_WLOGICAL_OP="-Wlogical-op" ! 3813: else ! 3814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 3815: $as_echo "no" >&6; } ! 3816: fi ! 3817: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 3818: ! 3819: CXXFLAGS="${old_CXXFLAGS}" ! 3820: ! 3821: # Checks for libraries. ! 3822: ! 3823: # Checks for header files. ! 3824: for ac_header in bsd/bsd.h ! 3825: do : ! 3826: ac_fn_cxx_check_header_mongrel "$LINENO" "bsd/bsd.h" "ac_cv_header_bsd_bsd_h" "$ac_includes_default" ! 3827: if test "x$ac_cv_header_bsd_bsd_h" = xyes; then : ! 3828: cat >>confdefs.h <<_ACEOF ! 3829: #define HAVE_BSD_BSD_H 1 ! 3830: _ACEOF ! 3831: ! 3832: fi ! 3833: ! 3834: done ! 3835: ! 3836: for ac_header in endian.h ! 3837: do : ! 3838: ac_fn_cxx_check_header_mongrel "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default" ! 3839: if test "x$ac_cv_header_endian_h" = xyes; then : ! 3840: cat >>confdefs.h <<_ACEOF ! 3841: #define HAVE_ENDIAN_H 1 ! 3842: _ACEOF ! 3843: ! 3844: fi ! 3845: ! 3846: done ! 3847: ! 3848: for ac_header in kqueue/sys/event.h ! 3849: do : ! 3850: ac_fn_cxx_check_header_mongrel "$LINENO" "kqueue/sys/event.h" "ac_cv_header_kqueue_sys_event_h" "$ac_includes_default" ! 3851: if test "x$ac_cv_header_kqueue_sys_event_h" = xyes; then : ! 3852: cat >>confdefs.h <<_ACEOF ! 3853: #define HAVE_KQUEUE_SYS_EVENT_H 1 ! 3854: _ACEOF ! 3855: ! 3856: fi ! 3857: ! 3858: done ! 3859: ! 3860: for ac_header in sys/endian.h ! 3861: do : ! 3862: ac_fn_cxx_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default" ! 3863: if test "x$ac_cv_header_sys_endian_h" = xyes; then : ! 3864: cat >>confdefs.h <<_ACEOF ! 3865: #define HAVE_SYS_ENDIAN_H 1 ! 3866: _ACEOF ! 3867: ! 3868: fi ! 3869: ! 3870: done ! 3871: ! 3872: for ac_header in sys/event.h ! 3873: do : ! 3874: ac_fn_cxx_check_header_mongrel "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default" ! 3875: if test "x$ac_cv_header_sys_event_h" = xyes; then : ! 3876: cat >>confdefs.h <<_ACEOF ! 3877: #define HAVE_SYS_EVENT_H 1 ! 3878: _ACEOF ! 3879: ! 3880: fi ! 3881: ! 3882: done ! 3883: ! 3884: for ac_header in net/bpf.h ! 3885: do : ! 3886: ac_fn_cxx_check_header_mongrel "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default" ! 3887: if test "x$ac_cv_header_net_bpf_h" = xyes; then : ! 3888: cat >>confdefs.h <<_ACEOF ! 3889: #define HAVE_NET_BPF_H 1 ! 3890: _ACEOF ! 3891: ! 3892: fi ! 3893: ! 3894: done ! 3895: ! 3896: for ac_header in net/if_tap.h ! 3897: do : ! 3898: ac_fn_cxx_check_header_mongrel "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default" ! 3899: if test "x$ac_cv_header_net_if_tap_h" = xyes; then : ! 3900: cat >>confdefs.h <<_ACEOF ! 3901: #define HAVE_NET_IF_TAP_H 1 ! 3902: _ACEOF ! 3903: ! 3904: fi ! 3905: ! 3906: done ! 3907: ! 3908: for ac_header in linux/if_tun.h ! 3909: do : ! 3910: ac_fn_cxx_check_header_mongrel "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default" ! 3911: if test "x$ac_cv_header_linux_if_tun_h" = xyes; then : ! 3912: cat >>confdefs.h <<_ACEOF ! 3913: #define HAVE_LINUX_IF_TUN_H 1 ! 3914: _ACEOF ! 3915: ! 3916: fi ! 3917: ! 3918: done ! 3919: ! 3920: ! 3921: # Linux で <kqueue/sys/event.h> がなければここで停止したほうがいい ! 3922: if test "$ac_cv_header_sys_event_h" != "yes" \ ! 3923: -a "$ac_cv_header_kqueue_sys_event_h" != "yes"; then ! 3924: as_fn_error $? "*** kqueue is not found. ! 3925: On Ubuntu, sudo apt install libkqueue-dev" "$LINENO" 5 ! 3926: fi ! 3927: ! 3928: # Checks for typedefs, structures, and compiler characteristics. ! 3929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 ! 3930: $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } ! 3931: if ${ac_cv_header_stdbool_h+:} false; then : ! 3932: $as_echo_n "(cached) " >&6 ! 3933: else ! 3934: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 3935: /* end confdefs.h. */ ! 3936: ! 3937: #include <stdbool.h> ! 3938: #ifndef bool ! 3939: "error: bool is not defined" ! 3940: #endif ! 3941: #ifndef false ! 3942: "error: false is not defined" ! 3943: #endif ! 3944: #if false ! 3945: "error: false is not 0" ! 3946: #endif ! 3947: #ifndef true ! 3948: "error: true is not defined" ! 3949: #endif ! 3950: #if true != 1 ! 3951: "error: true is not 1" ! 3952: #endif ! 3953: #ifndef __bool_true_false_are_defined ! 3954: "error: __bool_true_false_are_defined is not defined" ! 3955: #endif ! 3956: ! 3957: struct s { _Bool s: 1; _Bool t; } s; ! 3958: ! 3959: char a[true == 1 ? 1 : -1]; ! 3960: char b[false == 0 ? 1 : -1]; ! 3961: char c[__bool_true_false_are_defined == 1 ? 1 : -1]; ! 3962: char d[(bool) 0.5 == true ? 1 : -1]; ! 3963: /* See body of main program for 'e'. */ ! 3964: char f[(_Bool) 0.0 == false ? 1 : -1]; ! 3965: char g[true]; ! 3966: char h[sizeof (_Bool)]; ! 3967: char i[sizeof s.t]; ! 3968: enum { j = false, k = true, l = false * true, m = true * 256 }; ! 3969: /* The following fails for ! 3970: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ ! 3971: _Bool n[m]; ! 3972: char o[sizeof n == m * sizeof n[0] ? 1 : -1]; ! 3973: char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; ! 3974: /* Catch a bug in an HP-UX C compiler. See ! 3975: http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html ! 3976: http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html ! 3977: */ ! 3978: _Bool q = true; ! 3979: _Bool *pq = &q; ! 3980: ! 3981: int ! 3982: main () ! 3983: { ! 3984: ! 3985: bool e = &s; ! 3986: *pq |= q; ! 3987: *pq |= ! q; ! 3988: /* Refer to every declared value, to avoid compiler optimizations. */ ! 3989: return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l ! 3990: + !m + !n + !o + !p + !q + !pq); ! 3991: ! 3992: ; ! 3993: return 0; ! 3994: } ! 3995: _ACEOF ! 3996: if ac_fn_cxx_try_compile "$LINENO"; then : ! 3997: ac_cv_header_stdbool_h=yes ! 3998: else ! 3999: ac_cv_header_stdbool_h=no ! 4000: fi ! 4001: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4002: fi ! 4003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 ! 4004: $as_echo "$ac_cv_header_stdbool_h" >&6; } ! 4005: ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" ! 4006: if test "x$ac_cv_type__Bool" = xyes; then : ! 4007: ! 4008: cat >>confdefs.h <<_ACEOF ! 4009: #define HAVE__BOOL 1 ! 4010: _ACEOF ! 4011: ! 4012: ! 4013: fi ! 4014: ! 4015: ! 4016: #AC_C_INLINE ! 4017: #AC_TYPE_INT16_T ! 4018: #AC_TYPE_INT32_T ! 4019: #AC_TYPE_INT64_T ! 4020: #AC_TYPE_INT8_T ! 4021: #AC_TYPE_SIZE_T ! 4022: #AC_TYPE_UINT16_T ! 4023: #AC_TYPE_UINT32_T ! 4024: #AC_TYPE_UINT64_T ! 4025: #AC_TYPE_UINT8_T ! 4026: ! 4027: # struct kevent のメンバ udata の型が互換性なく違う。 ! 4028: # NetBSD では intptr_t(整数) だが、OSX では void* (ポインタ) なので、 ! 4029: # 同一ソースコードでは回避できない。 ! 4030: # Linux(Ubuntu) はどっちもパスするので後ろの void * のほうが使われる。 ! 4031: # まあパスするんならどっちでもいいか。 ! 4032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kevent.udata is intptr_t" >&5 ! 4033: $as_echo_n "checking whether kevent.udata is intptr_t... " >&6; } ! 4034: old_CXXFLAGS="${CXXFLAGS}" ! 4035: CXXFLAGS="${CXXFLAGS} -Wall -Werror" ! 4036: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4037: /* end confdefs.h. */ ! 4038: ! 4039: #include "confdefs.h" ! 4040: #if defined(HAVE_SYS_EVENT_H) ! 4041: #include <sys/event.h> ! 4042: #endif ! 4043: #if defined(HAVE_KQUEUE_SYS_EVENT_H) ! 4044: #include <kqueue/sys/event.h> ! 4045: #endif ! 4046: ! 4047: int ! 4048: main () ! 4049: { ! 4050: ! 4051: struct kevent kev; ! 4052: kev.udata = (intptr_t)0; ! 4053: (void)kev; ! 4054: ! 4055: ; ! 4056: return 0; ! 4057: } ! 4058: _ACEOF ! 4059: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4060: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4061: $as_echo "yes" >&6; } ! 4062: KEVENT_UDATA_T=intptr_t ! 4063: ! 4064: else ! 4065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4066: $as_echo "no" >&6; } ! 4067: fi ! 4068: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4069: CXXFLAGS="${old_CXXFLAGS}" ! 4070: ! 4071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether kevent.udata is void *" >&5 ! 4072: $as_echo_n "checking whether kevent.udata is void *... " >&6; } ! 4073: old_CXXFLAGS="${CXXFLAGS}" ! 4074: CXXFLAGS="${CXXFLAGS} -Wall -Werror" ! 4075: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4076: /* end confdefs.h. */ ! 4077: ! 4078: #include "confdefs.h" ! 4079: #if defined(HAVE_SYS_EVENT_H) ! 4080: #include <sys/event.h> ! 4081: #endif ! 4082: #if defined(HAVE_KQUEUE_SYS_EVENT_H) ! 4083: #include <kqueue/sys/event.h> ! 4084: #endif ! 4085: ! 4086: int ! 4087: main () ! 4088: { ! 4089: ! 4090: struct kevent kev; ! 4091: kev.udata = (void *)0; ! 4092: (void)kev; ! 4093: ! 4094: ; ! 4095: return 0; ! 4096: } ! 4097: _ACEOF ! 4098: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4100: $as_echo "yes" >&6; } ! 4101: KEVENT_UDATA_T='void *' ! 4102: ! 4103: else ! 4104: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4105: $as_echo "no" >&6; } ! 4106: fi ! 4107: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4108: CXXFLAGS="${old_CXXFLAGS}" ! 4109: ! 4110: if test -z "$KEVENT_UDATA_T" ; then ! 4111: as_fn_error $? "kevent.udata is unknown type" "$LINENO" 5 ! 4112: fi ! 4113: ! 4114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_assume" >&5 ! 4115: $as_echo_n "checking for __builtin_assume... " >&6; } ! 4116: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4117: /* end confdefs.h. */ ! 4118: ! 4119: int ! 4120: main () ! 4121: { ! 4122: ! 4123: __builtin_assume(1); ! 4124: ! 4125: ; ! 4126: return 0; ! 4127: } ! 4128: _ACEOF ! 4129: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4131: $as_echo "yes" >&6; } ! 4132: $as_echo "#define HAVE___BUILTIN_ASSUME 1" >>confdefs.h ! 4133: ! 4134: else ! 4135: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4136: $as_echo "no" >&6; } ! 4137: fi ! 4138: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4139: ! 4140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap16" >&5 ! 4141: $as_echo_n "checking for __builtin_bswap16... " >&6; } ! 4142: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4143: /* end confdefs.h. */ ! 4144: ! 4145: int ! 4146: main () ! 4147: { ! 4148: ! 4149: return __builtin_bswap16(0); ! 4150: ! 4151: ; ! 4152: return 0; ! 4153: } ! 4154: _ACEOF ! 4155: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4156: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4157: $as_echo "yes" >&6; } ! 4158: $as_echo "#define HAVE___BUILTIN_BSWAP16 1" >>confdefs.h ! 4159: ! 4160: else ! 4161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4162: $as_echo "no" >&6; } ! 4163: fi ! 4164: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4165: ! 4166: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_bswap32" >&5 ! 4167: $as_echo_n "checking for __builtin_bswap32... " >&6; } ! 4168: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4169: /* end confdefs.h. */ ! 4170: ! 4171: int ! 4172: main () ! 4173: { ! 4174: ! 4175: return __builtin_bswap32(0); ! 4176: ! 4177: ; ! 4178: return 0; ! 4179: } ! 4180: _ACEOF ! 4181: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4182: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4183: $as_echo "yes" >&6; } ! 4184: $as_echo "#define HAVE___BUILTIN_BSWAP32 1" >>confdefs.h ! 4185: ! 4186: else ! 4187: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4188: $as_echo "no" >&6; } ! 4189: fi ! 4190: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4191: ! 4192: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5 ! 4193: $as_echo_n "checking for __builtin_expect... " >&6; } ! 4194: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4195: /* end confdefs.h. */ ! 4196: ! 4197: int ! 4198: main () ! 4199: { ! 4200: ! 4201: if (__builtin_expect(1, 1)) return 0; ! 4202: ! 4203: ; ! 4204: return 0; ! 4205: } ! 4206: _ACEOF ! 4207: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4209: $as_echo "yes" >&6; } ! 4210: $as_echo "#define HAVE___BUILTIN_EXPECT 1" >>confdefs.h ! 4211: ! 4212: else ! 4213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4214: $as_echo "no" >&6; } ! 4215: fi ! 4216: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4217: ! 4218: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_unreachable" >&5 ! 4219: $as_echo_n "checking for __builtin_unreachable... " >&6; } ! 4220: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4221: /* end confdefs.h. */ ! 4222: ! 4223: int ! 4224: main () ! 4225: { ! 4226: ! 4227: __builtin_unreachable(); ! 4228: ! 4229: ; ! 4230: return 0; ! 4231: } ! 4232: _ACEOF ! 4233: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4235: $as_echo "yes" >&6; } ! 4236: $as_echo "#define HAVE___BUILTIN_UNREACHABLE 1" >>confdefs.h ! 4237: ! 4238: else ! 4239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4240: $as_echo "no" >&6; } ! 4241: fi ! 4242: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4243: ! 4244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__fallthrough__))" >&5 ! 4245: $as_echo_n "checking for __attribute__((__fallthrough__))... " >&6; } ! 4246: old_CXXFLAGS="${CXXFLAGS}" ! 4247: CXXFLAGS="${CXXFLAGS} -Wall -Werror" ! 4248: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4249: /* end confdefs.h. */ ! 4250: ! 4251: int ! 4252: main () ! 4253: { ! 4254: ! 4255: extern int x; ! 4256: switch (x) { ! 4257: case 0: ! 4258: __attribute__((__fallthrough__)); ! 4259: case 1: ! 4260: break; ! 4261: } ! 4262: ! 4263: ; ! 4264: return 0; ! 4265: } ! 4266: _ACEOF ! 4267: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4269: $as_echo "yes" >&6; } ! 4270: $as_echo "#define HAVE___ATTRIBUTE_FALLTHROUGH 1" >>confdefs.h ! 4271: ! 4272: else ! 4273: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4274: $as_echo "no" >&6; } ! 4275: fi ! 4276: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4277: CXXFLAGS="${old_CXXFLAGS}" ! 4278: ! 4279: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__format__))" >&5 ! 4280: $as_echo_n "checking for __attribute__((__format__))... " >&6; } ! 4281: old_CXXFLAGS="${CXXFLAGS}" ! 4282: CXXFLAGS="${CXXFLAGS} -Wall -Werror" ! 4283: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4284: /* end confdefs.h. */ ! 4285: ! 4286: extern int f(const char *f, ...) ! 4287: __attribute__((__format__(__printf__, 1, 2))); ! 4288: ! 4289: int ! 4290: main () ! 4291: { ! 4292: ! 4293: ! 4294: ; ! 4295: return 0; ! 4296: } ! 4297: _ACEOF ! 4298: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4299: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4300: $as_echo "yes" >&6; } ! 4301: $as_echo "#define HAVE___ATTRIBUTE_FORMAT 1" >>confdefs.h ! 4302: ! 4303: else ! 4304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4305: $as_echo "no" >&6; } ! 4306: fi ! 4307: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4308: CXXFLAGS="${old_CXXFLAGS}" ! 4309: ! 4310: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((no_sanitize))" >&5 ! 4311: $as_echo_n "checking for __attribute__((no_sanitize))... " >&6; } ! 4312: old_CXXFLAGS="${CXXFLAGS}" ! 4313: CXXFLAGS="${CXXFLAGS} -Werror" ! 4314: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4315: /* end confdefs.h. */ ! 4316: ! 4317: __attribute__((no_sanitize("undefined"))) ! 4318: int func() { return 0; } ! 4319: ! 4320: int ! 4321: main () ! 4322: { ! 4323: ! 4324: ! 4325: ; ! 4326: return 0; ! 4327: } ! 4328: _ACEOF ! 4329: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4330: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4331: $as_echo "yes" >&6; } ! 4332: $as_echo "#define HAVE___ATTRIBUTE_NO_SANITIZE 1" >>confdefs.h ! 4333: ! 4334: else ! 4335: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4336: $as_echo "no" >&6; } ! 4337: fi ! 4338: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4339: CXXFLAGS="${old_CXXFLAGS}" ! 4340: ! 4341: ! 4342: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__packed__))" >&5 ! 4343: $as_echo_n "checking for __attribute__((__packed__))... " >&6; } ! 4344: old_CXXFLAGS="${CXXFLAGS}" ! 4345: CXXFLAGS="${CXXFLAGS} -Werror" ! 4346: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4347: /* end confdefs.h. */ ! 4348: ! 4349: int ! 4350: main () ! 4351: { ! 4352: ! 4353: struct x { char a; int b; } __attribute__((__packed__)); ! 4354: ! 4355: ; ! 4356: return 0; ! 4357: } ! 4358: _ACEOF ! 4359: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4360: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4361: $as_echo "yes" >&6; } ! 4362: $as_echo "#define HAVE___ATTRIBUTE_PACKED 1" >>confdefs.h ! 4363: ! 4364: else ! 4365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4366: $as_echo "no" >&6; } ! 4367: fi ! 4368: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4369: CXXFLAGS="${old_CXXFLAGS}" ! 4370: ! 4371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__((__unused__))" >&5 ! 4372: $as_echo_n "checking for __attribute__((__unused__))... " >&6; } ! 4373: old_CXXFLAGS="${CXXFLAGS}" ! 4374: CXXFLAGS="${CXXFLAGS} -Wunused-variable -Werror" ! 4375: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4376: /* end confdefs.h. */ ! 4377: ! 4378: int ! 4379: main () ! 4380: { ! 4381: ! 4382: int a __attribute__((__unused__)); ! 4383: ! 4384: ; ! 4385: return 0; ! 4386: } ! 4387: _ACEOF ! 4388: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4390: $as_echo "yes" >&6; } ! 4391: $as_echo "#define HAVE___ATTRIBUTE_UNUSED 1" >>confdefs.h ! 4392: ! 4393: else ! 4394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4395: $as_echo "no" >&6; } ! 4396: fi ! 4397: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4398: CXXFLAGS="${old_CXXFLAGS}" ! 4399: ! 4400: # Checks for library functions. ! 4401: #AC_FUNC_MALLOC ! 4402: #AC_FUNC_MMAP ! 4403: ! 4404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(name)" >&5 ! 4405: $as_echo_n "checking for pthread_setname_np(name)... " >&6; } ! 4406: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4407: /* end confdefs.h. */ ! 4408: #include <pthread.h> ! 4409: int ! 4410: main () ! 4411: { ! 4412: ! 4413: pthread_setname_np(""); ! 4414: ! 4415: ; ! 4416: return 0; ! 4417: } ! 4418: _ACEOF ! 4419: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4420: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4421: $as_echo "yes" >&6; } ! 4422: $as_echo "#define HAVE_PTHREAD_SETNAME_NP 1" >>confdefs.h ! 4423: ! 4424: else ! 4425: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4426: $as_echo "no" >&6; } ! 4427: fi ! 4428: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4429: ! 4430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name)" >&5 ! 4431: $as_echo_n "checking for pthread_setname_np(thread, name)... " >&6; } ! 4432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4433: /* end confdefs.h. */ ! 4434: #include <pthread.h> ! 4435: int ! 4436: main () ! 4437: { ! 4438: ! 4439: pthread_setname_np(pthread_self(), ""); ! 4440: ! 4441: ; ! 4442: return 0; ! 4443: } ! 4444: _ACEOF ! 4445: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4447: $as_echo "yes" >&6; } ! 4448: $as_echo "#define HAVE_PTHREAD_SETNAME_NP 2" >>confdefs.h ! 4449: ! 4450: else ! 4451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4452: $as_echo "no" >&6; } ! 4453: fi ! 4454: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4455: ! 4456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setname_np(thread, name, arg)" >&5 ! 4457: $as_echo_n "checking for pthread_setname_np(thread, name, arg)... " >&6; } ! 4458: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4459: /* end confdefs.h. */ ! 4460: #include <pthread.h> ! 4461: int ! 4462: main () ! 4463: { ! 4464: ! 4465: pthread_setname_np(pthread_self(), "", (void*)0); ! 4466: ! 4467: ; ! 4468: return 0; ! 4469: } ! 4470: _ACEOF ! 4471: if ac_fn_cxx_try_compile "$LINENO"; then : ! 4472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ! 4473: $as_echo "yes" >&6; } ! 4474: $as_echo "#define HAVE_PTHREAD_SETNAME_NP 3" >>confdefs.h ! 4475: ! 4476: else ! 4477: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4478: $as_echo "no" >&6; } ! 4479: fi ! 4480: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ! 4481: ! 4482: # Select host network driver. ! 4483: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable host network driver" >&5 ! 4484: $as_echo_n "checking for suitable host network driver... " >&6; } ! 4485: if test x"$ac_cv_header_net_if_tap_h" = xyes; then ! 4486: netdriver=tap ! 4487: elif test x"$ac_cv_header_linux_if_tun_h" = xyes; then ! 4488: netdriver=tap ! 4489: elif test x"$ac_cv_header_net_bpf_h" = xyes; then ! 4490: netdriver=bpf ! 4491: else ! 4492: netdriver=none ! 4493: fi ! 4494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $netdriver" >&5 ! 4495: $as_echo "$netdriver" >&6; } ! 4496: NETDRIVER=$netdriver ! 4497: ! 4498: ! 4499: # libbsd on Linux ! 4500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getprogname in -lbsd" >&5 ! 4501: $as_echo_n "checking for getprogname in -lbsd... " >&6; } ! 4502: if ${ac_cv_lib_bsd_getprogname+:} false; then : ! 4503: $as_echo_n "(cached) " >&6 ! 4504: else ! 4505: ac_check_lib_save_LIBS=$LIBS ! 4506: LIBS="-lbsd $LIBS" ! 4507: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4508: /* end confdefs.h. */ ! 4509: ! 4510: /* Override any GCC internal prototype to avoid an error. ! 4511: Use char because int might match the return type of a GCC ! 4512: builtin and then its argument prototype would still apply. */ ! 4513: #ifdef __cplusplus ! 4514: extern "C" ! 4515: #endif ! 4516: char getprogname (); ! 4517: int ! 4518: main () ! 4519: { ! 4520: return getprogname (); ! 4521: ; ! 4522: return 0; ! 4523: } ! 4524: _ACEOF ! 4525: if ac_fn_cxx_try_link "$LINENO"; then : ! 4526: ac_cv_lib_bsd_getprogname=yes ! 4527: else ! 4528: ac_cv_lib_bsd_getprogname=no ! 4529: fi ! 4530: rm -f core conftest.err conftest.$ac_objext \ ! 4531: conftest$ac_exeext conftest.$ac_ext ! 4532: LIBS=$ac_check_lib_save_LIBS ! 4533: fi ! 4534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_getprogname" >&5 ! 4535: $as_echo "$ac_cv_lib_bsd_getprogname" >&6; } ! 4536: if test "x$ac_cv_lib_bsd_getprogname" = xyes; then : ! 4537: LIBBSD_LIBS=-lbsd ! 4538: ! 4539: fi ! 4540: ! 4541: ! 4542: # libkqueue on Linux ! 4543: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue in -lkqueue" >&5 ! 4544: $as_echo_n "checking for kqueue in -lkqueue... " >&6; } ! 4545: if ${ac_cv_lib_kqueue_kqueue+:} false; then : ! 4546: $as_echo_n "(cached) " >&6 ! 4547: else ! 4548: ac_check_lib_save_LIBS=$LIBS ! 4549: LIBS="-lkqueue $LIBS" ! 4550: cat confdefs.h - <<_ACEOF >conftest.$ac_ext ! 4551: /* end confdefs.h. */ ! 4552: ! 4553: /* Override any GCC internal prototype to avoid an error. ! 4554: Use char because int might match the return type of a GCC ! 4555: builtin and then its argument prototype would still apply. */ ! 4556: #ifdef __cplusplus ! 4557: extern "C" ! 4558: #endif ! 4559: char kqueue (); ! 4560: int ! 4561: main () ! 4562: { ! 4563: return kqueue (); ! 4564: ; ! 4565: return 0; ! 4566: } ! 4567: _ACEOF ! 4568: if ac_fn_cxx_try_link "$LINENO"; then : ! 4569: ac_cv_lib_kqueue_kqueue=yes ! 4570: else ! 4571: ac_cv_lib_kqueue_kqueue=no ! 4572: fi ! 4573: rm -f core conftest.err conftest.$ac_objext \ ! 4574: conftest$ac_exeext conftest.$ac_ext ! 4575: LIBS=$ac_check_lib_save_LIBS ! 4576: fi ! 4577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kqueue_kqueue" >&5 ! 4578: $as_echo "$ac_cv_lib_kqueue_kqueue" >&6; } ! 4579: if test "x$ac_cv_lib_kqueue_kqueue" = xyes; then : ! 4580: LIBKQUEUE_LIBS=-lkqueue ! 4581: ! 4582: fi ! 4583: ! 4584: ! 4585: # wxWidgets ! 4586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5 ! 4587: $as_echo_n "checking for wx-config... " >&6; } ! 4588: wxconfig="" ! 4589: for c in wx-config-3.0 wx-config; do ! 4590: ver=`$c --version 2>&1 | cut -f 1 -d .` ! 4591: if test "$ver" = "3"; then ! 4592: wxconfig=$c ! 4593: break ! 4594: fi ! 4595: done ! 4596: if test -z "$wxconfig"; then ! 4597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ! 4598: $as_echo "no" >&6; } ! 4599: else ! 4600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxconfig" >&5 ! 4601: $as_echo "$wxconfig" >&6; } ! 4602: ! 4603: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version" >&5 ! 4604: $as_echo_n "checking for wxWidgets version... " >&6; } ! 4605: wxversion=`$wxconfig --version` ! 4606: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxversion" >&5 ! 4607: $as_echo "$wxversion" >&6; } ! 4608: ! 4609: wxcppflags=`$wxconfig --cppflags` ! 4610: wxlibs=`$wxconfig --libs` ! 4611: ! 4612: # XXX NetBSD の rpath。どうしたもんだかこれ ! 4613: if test "`uname -s`" = "NetBSD"; then ! 4614: wxlibs=`echo $wxlibs | sed -e 's/-L\([^ ]*\) /-L\1 -Wl,-R,\1 /'` ! 4615: fi ! 4616: ! 4617: # XXX OSX の -framework AudioToolbox が指定されているとリンカがこけるorz ! 4618: if test "`uname -s`" = "Darwin"; then ! 4619: wxlibs=`echo $wxlibs | sed -e 's/-framework AudioToolbox//'` ! 4620: fi ! 4621: ! 4622: WXWIDGETS_CPPFLAGS=$wxcppflags ! 4623: ! 4624: WXWIDGETS_LIBS=$wxlibs ! 4625: ! 4626: fi ! 4627: ! 4628: ac_config_files="$ac_config_files Makefile.cfg host/Makefile lib/Makefile wx/Makefile util/mkcgrom/Makefile util/viewcgrom/Makefile" ! 4629: ! 4630: ac_config_headers="$ac_config_headers config.h" ! 4631: ! 4632: cat >confcache <<\_ACEOF ! 4633: # This file is a shell script that caches the results of configure ! 4634: # tests run on this system so they can be shared between configure ! 4635: # scripts and configure runs, see configure's option --config-cache. ! 4636: # It is not useful on other systems. If it contains results you don't ! 4637: # want to keep, you may remove or edit it. ! 4638: # ! 4639: # config.status only pays attention to the cache file if you give it ! 4640: # the --recheck option to rerun configure. ! 4641: # ! 4642: # `ac_cv_env_foo' variables (set or unset) will be overridden when ! 4643: # loading this file, other *unset* `ac_cv_foo' will be assigned the ! 4644: # following values. ! 4645: ! 4646: _ACEOF ! 4647: ! 4648: # The following way of writing the cache mishandles newlines in values, ! 4649: # but we know of no workaround that is simple, portable, and efficient. ! 4650: # So, we kill variables containing newlines. ! 4651: # Ultrix sh set writes to stderr and can't be redirected directly, ! 4652: # and sets the high bit in the cache file unless we assign to the vars. ! 4653: ( ! 4654: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do ! 4655: eval ac_val=\$$ac_var ! 4656: case $ac_val in #( ! 4657: *${as_nl}*) ! 4658: case $ac_var in #( ! 4659: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ! 4660: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ! 4661: esac ! 4662: case $ac_var in #( ! 4663: _ | IFS | as_nl) ;; #( ! 4664: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( ! 4665: *) { eval $ac_var=; unset $ac_var;} ;; ! 4666: esac ;; ! 4667: esac ! 4668: done ! 4669: ! 4670: (set) 2>&1 | ! 4671: case $as_nl`(ac_space=' '; set) 2>&1` in #( ! 4672: *${as_nl}ac_space=\ *) ! 4673: # `set' does not quote correctly, so add quotes: double-quote ! 4674: # substitution turns \\\\ into \\, and sed turns \\ into \. ! 4675: sed -n \ ! 4676: "s/'/'\\\\''/g; ! 4677: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ! 4678: ;; #( ! 4679: *) ! 4680: # `set' quotes correctly as required by POSIX, so do not add quotes. ! 4681: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ! 4682: ;; ! 4683: esac | ! 4684: sort ! 4685: ) | ! 4686: sed ' ! 4687: /^ac_cv_env_/b end ! 4688: t clear ! 4689: :clear ! 4690: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ ! 4691: t end ! 4692: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ ! 4693: :end' >>confcache ! 4694: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else ! 4695: if test -w "$cache_file"; then ! 4696: if test "x$cache_file" != "x/dev/null"; then ! 4697: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 ! 4698: $as_echo "$as_me: updating cache $cache_file" >&6;} ! 4699: if test ! -f "$cache_file" || test -h "$cache_file"; then ! 4700: cat confcache >"$cache_file" ! 4701: else ! 4702: case $cache_file in #( ! 4703: */* | ?:*) ! 4704: mv -f confcache "$cache_file"$$ && ! 4705: mv -f "$cache_file"$$ "$cache_file" ;; #( ! 4706: *) ! 4707: mv -f confcache "$cache_file" ;; ! 4708: esac ! 4709: fi ! 4710: fi ! 4711: else ! 4712: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 ! 4713: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} ! 4714: fi ! 4715: fi ! 4716: rm -f confcache ! 4717: ! 4718: test "x$prefix" = xNONE && prefix=$ac_default_prefix ! 4719: # Let make expand exec_prefix. ! 4720: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ! 4721: ! 4722: DEFS=-DHAVE_CONFIG_H ! 4723: ! 4724: ac_libobjs= ! 4725: ac_ltlibobjs= ! 4726: U= ! 4727: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue ! 4728: # 1. Remove the extension, and $U if already installed. ! 4729: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ! 4730: ac_i=`$as_echo "$ac_i" | sed "$ac_script"` ! 4731: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR ! 4732: # will be set to the directory where LIBOBJS objects are built. ! 4733: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" ! 4734: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' ! 4735: done ! 4736: LIBOBJS=$ac_libobjs ! 4737: ! 4738: LTLIBOBJS=$ac_ltlibobjs ! 4739: ! 4740: ! 4741: ! 4742: ! 4743: : "${CONFIG_STATUS=./config.status}" ! 4744: ac_write_fail=0 ! 4745: ac_clean_files_save=$ac_clean_files ! 4746: ac_clean_files="$ac_clean_files $CONFIG_STATUS" ! 4747: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 ! 4748: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} ! 4749: as_write_fail=0 ! 4750: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 ! 4751: #! $SHELL ! 4752: # Generated by $as_me. ! 4753: # Run this file to recreate the current configuration. ! 4754: # Compiler output produced by configure, useful for debugging ! 4755: # configure, is in config.log if it exists. ! 4756: ! 4757: debug=false ! 4758: ac_cs_recheck=false ! 4759: ac_cs_silent=false ! 4760: ! 4761: SHELL=\${CONFIG_SHELL-$SHELL} ! 4762: export SHELL ! 4763: _ASEOF ! 4764: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ! 4765: ## -------------------- ## ! 4766: ## M4sh Initialization. ## ! 4767: ## -------------------- ## ! 4768: ! 4769: # Be more Bourne compatible ! 4770: DUALCASE=1; export DUALCASE # for MKS sh ! 4771: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ! 4772: emulate sh ! 4773: NULLCMD=: ! 4774: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ! 4775: # is contrary to our usage. Disable this feature. ! 4776: alias -g '${1+"$@"}'='"$@"' ! 4777: setopt NO_GLOB_SUBST ! 4778: else ! 4779: case `(set -o) 2>/dev/null` in #( ! 4780: *posix*) : ! 4781: set -o posix ;; #( ! 4782: *) : ! 4783: ;; ! 4784: esac ! 4785: fi ! 4786: ! 4787: ! 4788: as_nl=' ! 4789: ' ! 4790: export as_nl ! 4791: # Printing a long string crashes Solaris 7 /usr/bin/printf. ! 4792: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ! 4793: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo ! 4794: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo ! 4795: # Prefer a ksh shell builtin over an external printf program on Solaris, ! 4796: # but without wasting forks for bash or zsh. ! 4797: if test -z "$BASH_VERSION$ZSH_VERSION" \ ! 4798: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then ! 4799: as_echo='print -r --' ! 4800: as_echo_n='print -rn --' ! 4801: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ! 4802: as_echo='printf %s\n' ! 4803: as_echo_n='printf %s' ! 4804: else ! 4805: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then ! 4806: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' ! 4807: as_echo_n='/usr/ucb/echo -n' ! 4808: else ! 4809: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' ! 4810: as_echo_n_body='eval ! 4811: arg=$1; ! 4812: case $arg in #( ! 4813: *"$as_nl"*) ! 4814: expr "X$arg" : "X\\(.*\\)$as_nl"; ! 4815: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; ! 4816: esac; ! 4817: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ! 4818: ' ! 4819: export as_echo_n_body ! 4820: as_echo_n='sh -c $as_echo_n_body as_echo' ! 4821: fi ! 4822: export as_echo_body ! 4823: as_echo='sh -c $as_echo_body as_echo' ! 4824: fi ! 4825: ! 4826: # The user is always right. ! 4827: if test "${PATH_SEPARATOR+set}" != set; then ! 4828: PATH_SEPARATOR=: ! 4829: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { ! 4830: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || ! 4831: PATH_SEPARATOR=';' ! 4832: } ! 4833: fi ! 4834: ! 4835: ! 4836: # IFS ! 4837: # We need space, tab and new line, in precisely that order. Quoting is ! 4838: # there to prevent editors from complaining about space-tab. ! 4839: # (If _AS_PATH_WALK were called with IFS unset, it would disable word ! 4840: # splitting by setting IFS to empty value.) ! 4841: IFS=" "" $as_nl" ! 4842: ! 4843: # Find who we are. Look in the path if we contain no directory separator. ! 4844: as_myself= ! 4845: case $0 in #(( ! 4846: *[\\/]* ) as_myself=$0 ;; ! 4847: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ! 4848: for as_dir in $PATH ! 4849: do ! 4850: IFS=$as_save_IFS ! 4851: test -z "$as_dir" && as_dir=. ! 4852: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ! 4853: done ! 4854: IFS=$as_save_IFS ! 4855: ! 4856: ;; ! 4857: esac ! 4858: # We did not find ourselves, most probably we were run as `sh COMMAND' ! 4859: # in which case we are not to be found in the path. ! 4860: if test "x$as_myself" = x; then ! 4861: as_myself=$0 ! 4862: fi ! 4863: if test ! -f "$as_myself"; then ! 4864: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 ! 4865: exit 1 ! 4866: fi ! 4867: ! 4868: # Unset variables that we do not need and which cause bugs (e.g. in ! 4869: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" ! 4870: # suppresses any "Segmentation fault" message there. '((' could ! 4871: # trigger a bug in pdksh 5.2.14. ! 4872: for as_var in BASH_ENV ENV MAIL MAILPATH ! 4873: do eval test x\${$as_var+set} = xset \ ! 4874: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ! 4875: done ! 4876: PS1='$ ' ! 4877: PS2='> ' ! 4878: PS4='+ ' ! 4879: ! 4880: # NLS nuisances. ! 4881: LC_ALL=C ! 4882: export LC_ALL ! 4883: LANGUAGE=C ! 4884: export LANGUAGE ! 4885: ! 4886: # CDPATH. ! 4887: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH ! 4888: ! 4889: ! 4890: # as_fn_error STATUS ERROR [LINENO LOG_FD] ! 4891: # ---------------------------------------- ! 4892: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are ! 4893: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the ! 4894: # script with STATUS, using 1 if that was 0. ! 4895: as_fn_error () ! 4896: { ! 4897: as_status=$1; test $as_status -eq 0 && as_status=1 ! 4898: if test "$4"; then ! 4899: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack ! 4900: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 ! 4901: fi ! 4902: $as_echo "$as_me: error: $2" >&2 ! 4903: as_fn_exit $as_status ! 4904: } # as_fn_error ! 4905: ! 4906: ! 4907: # as_fn_set_status STATUS ! 4908: # ----------------------- ! 4909: # Set $? to STATUS, without forking. ! 4910: as_fn_set_status () ! 4911: { ! 4912: return $1 ! 4913: } # as_fn_set_status ! 4914: ! 4915: # as_fn_exit STATUS ! 4916: # ----------------- ! 4917: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. ! 4918: as_fn_exit () ! 4919: { ! 4920: set +e ! 4921: as_fn_set_status $1 ! 4922: exit $1 ! 4923: } # as_fn_exit ! 4924: ! 4925: # as_fn_unset VAR ! 4926: # --------------- ! 4927: # Portably unset VAR. ! 4928: as_fn_unset () ! 4929: { ! 4930: { eval $1=; unset $1;} ! 4931: } ! 4932: as_unset=as_fn_unset ! 4933: # as_fn_append VAR VALUE ! 4934: # ---------------------- ! 4935: # Append the text in VALUE to the end of the definition contained in VAR. Take ! 4936: # advantage of any shell optimizations that allow amortized linear growth over ! 4937: # repeated appends, instead of the typical quadratic growth present in naive ! 4938: # implementations. ! 4939: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : ! 4940: eval 'as_fn_append () ! 4941: { ! 4942: eval $1+=\$2 ! 4943: }' ! 4944: else ! 4945: as_fn_append () ! 4946: { ! 4947: eval $1=\$$1\$2 ! 4948: } ! 4949: fi # as_fn_append ! 4950: ! 4951: # as_fn_arith ARG... ! 4952: # ------------------ ! 4953: # Perform arithmetic evaluation on the ARGs, and store the result in the ! 4954: # global $as_val. Take advantage of shells that can avoid forks. The arguments ! 4955: # must be portable across $(()) and expr. ! 4956: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : ! 4957: eval 'as_fn_arith () ! 4958: { ! 4959: as_val=$(( $* )) ! 4960: }' ! 4961: else ! 4962: as_fn_arith () ! 4963: { ! 4964: as_val=`expr "$@" || test $? -eq 1` ! 4965: } ! 4966: fi # as_fn_arith ! 4967: ! 4968: ! 4969: if expr a : '\(a\)' >/dev/null 2>&1 && ! 4970: test "X`expr 00001 : '.*\(...\)'`" = X001; then ! 4971: as_expr=expr ! 4972: else ! 4973: as_expr=false ! 4974: fi ! 4975: ! 4976: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ! 4977: as_basename=basename ! 4978: else ! 4979: as_basename=false ! 4980: fi ! 4981: ! 4982: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ! 4983: as_dirname=dirname ! 4984: else ! 4985: as_dirname=false ! 4986: fi ! 4987: ! 4988: as_me=`$as_basename -- "$0" || ! 4989: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ! 4990: X"$0" : 'X\(//\)$' \| \ ! 4991: X"$0" : 'X\(/\)' \| . 2>/dev/null || ! 4992: $as_echo X/"$0" | ! 4993: sed '/^.*\/\([^/][^/]*\)\/*$/{ ! 4994: s//\1/ ! 4995: q ! 4996: } ! 4997: /^X\/\(\/\/\)$/{ ! 4998: s//\1/ ! 4999: q ! 5000: } ! 5001: /^X\/\(\/\).*/{ ! 5002: s//\1/ ! 5003: q ! 5004: } ! 5005: s/.*/./; q'` ! 5006: ! 5007: # Avoid depending upon Character Ranges. ! 5008: as_cr_letters='abcdefghijklmnopqrstuvwxyz' ! 5009: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ! 5010: as_cr_Letters=$as_cr_letters$as_cr_LETTERS ! 5011: as_cr_digits='0123456789' ! 5012: as_cr_alnum=$as_cr_Letters$as_cr_digits ! 5013: ! 5014: ECHO_C= ECHO_N= ECHO_T= ! 5015: case `echo -n x` in #((((( ! 5016: -n*) ! 5017: case `echo 'xy\c'` in ! 5018: *c*) ECHO_T=' ';; # ECHO_T is single tab character. ! 5019: xy) ECHO_C='\c';; ! 5020: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ! 5021: ECHO_T=' ';; ! 5022: esac;; ! 5023: *) ! 5024: ECHO_N='-n';; ! 5025: esac ! 5026: ! 5027: rm -f conf$$ conf$$.exe conf$$.file ! 5028: if test -d conf$$.dir; then ! 5029: rm -f conf$$.dir/conf$$.file ! 5030: else ! 5031: rm -f conf$$.dir ! 5032: mkdir conf$$.dir 2>/dev/null ! 5033: fi ! 5034: if (echo >conf$$.file) 2>/dev/null; then ! 5035: if ln -s conf$$.file conf$$ 2>/dev/null; then ! 5036: as_ln_s='ln -s' ! 5037: # ... but there are two gotchas: ! 5038: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. ! 5039: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. ! 5040: # In both cases, we have to default to `cp -pR'. ! 5041: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || ! 5042: as_ln_s='cp -pR' ! 5043: elif ln conf$$.file conf$$ 2>/dev/null; then ! 5044: as_ln_s=ln ! 5045: else ! 5046: as_ln_s='cp -pR' ! 5047: fi ! 5048: else ! 5049: as_ln_s='cp -pR' ! 5050: fi ! 5051: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file ! 5052: rmdir conf$$.dir 2>/dev/null ! 5053: ! 5054: ! 5055: # as_fn_mkdir_p ! 5056: # ------------- ! 5057: # Create "$as_dir" as a directory, including parents if necessary. ! 5058: as_fn_mkdir_p () ! 5059: { ! 5060: ! 5061: case $as_dir in #( ! 5062: -*) as_dir=./$as_dir;; ! 5063: esac ! 5064: test -d "$as_dir" || eval $as_mkdir_p || { ! 5065: as_dirs= ! 5066: while :; do ! 5067: case $as_dir in #( ! 5068: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( ! 5069: *) as_qdir=$as_dir;; ! 5070: esac ! 5071: as_dirs="'$as_qdir' $as_dirs" ! 5072: as_dir=`$as_dirname -- "$as_dir" || ! 5073: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 5074: X"$as_dir" : 'X\(//\)[^/]' \| \ ! 5075: X"$as_dir" : 'X\(//\)$' \| \ ! 5076: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || ! 5077: $as_echo X"$as_dir" | ! 5078: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ! 5079: s//\1/ ! 5080: q ! 5081: } ! 5082: /^X\(\/\/\)[^/].*/{ ! 5083: s//\1/ ! 5084: q ! 5085: } ! 5086: /^X\(\/\/\)$/{ ! 5087: s//\1/ ! 5088: q ! 5089: } ! 5090: /^X\(\/\).*/{ ! 5091: s//\1/ ! 5092: q ! 5093: } ! 5094: s/.*/./; q'` ! 5095: test -d "$as_dir" && break ! 5096: done ! 5097: test -z "$as_dirs" || eval "mkdir $as_dirs" ! 5098: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" ! 5099: ! 5100: ! 5101: } # as_fn_mkdir_p ! 5102: if mkdir -p . 2>/dev/null; then ! 5103: as_mkdir_p='mkdir -p "$as_dir"' ! 5104: else ! 5105: test -d ./-p && rmdir ./-p ! 5106: as_mkdir_p=false ! 5107: fi ! 5108: ! 5109: ! 5110: # as_fn_executable_p FILE ! 5111: # ----------------------- ! 5112: # Test if FILE is an executable regular file. ! 5113: as_fn_executable_p () ! 5114: { ! 5115: test -f "$1" && test -x "$1" ! 5116: } # as_fn_executable_p ! 5117: as_test_x='test -x' ! 5118: as_executable_p=as_fn_executable_p ! 5119: ! 5120: # Sed expression to map a string onto a valid CPP name. ! 5121: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" ! 5122: ! 5123: # Sed expression to map a string onto a valid variable name. ! 5124: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" ! 5125: ! 5126: ! 5127: exec 6>&1 ! 5128: ## ----------------------------------- ## ! 5129: ## Main body of $CONFIG_STATUS script. ## ! 5130: ## ----------------------------------- ## ! 5131: _ASEOF ! 5132: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 ! 5133: ! 5134: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5135: # Save the log message, to keep $0 and so on meaningful, and to ! 5136: # report actual input values of CONFIG_FILES etc. instead of their ! 5137: # values after options handling. ! 5138: ac_log=" ! 5139: This file was extended by mm $as_me 0.0, which was ! 5140: generated by GNU Autoconf 2.69. Invocation command line was ! 5141: ! 5142: CONFIG_FILES = $CONFIG_FILES ! 5143: CONFIG_HEADERS = $CONFIG_HEADERS ! 5144: CONFIG_LINKS = $CONFIG_LINKS ! 5145: CONFIG_COMMANDS = $CONFIG_COMMANDS ! 5146: $ $0 $@ ! 5147: ! 5148: on `(hostname || uname -n) 2>/dev/null | sed 1q` ! 5149: " ! 5150: ! 5151: _ACEOF ! 5152: ! 5153: case $ac_config_files in *" ! 5154: "*) set x $ac_config_files; shift; ac_config_files=$*;; ! 5155: esac ! 5156: ! 5157: case $ac_config_headers in *" ! 5158: "*) set x $ac_config_headers; shift; ac_config_headers=$*;; ! 5159: esac ! 5160: ! 5161: ! 5162: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5163: # Files that config.status was made for. ! 5164: config_files="$ac_config_files" ! 5165: config_headers="$ac_config_headers" ! 5166: ! 5167: _ACEOF ! 5168: ! 5169: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5170: ac_cs_usage="\ ! 5171: \`$as_me' instantiates files and other configuration actions ! 5172: from templates according to the current configuration. Unless the files ! 5173: and actions are specified as TAGs, all are instantiated by default. ! 5174: ! 5175: Usage: $0 [OPTION]... [TAG]... ! 5176: ! 5177: -h, --help print this help, then exit ! 5178: -V, --version print version number and configuration settings, then exit ! 5179: --config print configuration, then exit ! 5180: -q, --quiet, --silent ! 5181: do not print progress messages ! 5182: -d, --debug don't remove temporary files ! 5183: --recheck update $as_me by reconfiguring in the same conditions ! 5184: --file=FILE[:TEMPLATE] ! 5185: instantiate the configuration file FILE ! 5186: --header=FILE[:TEMPLATE] ! 5187: instantiate the configuration header FILE ! 5188: ! 5189: Configuration files: ! 5190: $config_files ! 5191: ! 5192: Configuration headers: ! 5193: $config_headers ! 5194: ! 5195: Report bugs to the package provider." ! 5196: ! 5197: _ACEOF ! 5198: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5199: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ! 5200: ac_cs_version="\\ ! 5201: mm config.status 0.0 ! 5202: configured by $0, generated by GNU Autoconf 2.69, ! 5203: with options \\"\$ac_cs_config\\" ! 5204: ! 5205: Copyright (C) 2012 Free Software Foundation, Inc. ! 5206: This config.status script is free software; the Free Software Foundation ! 5207: gives unlimited permission to copy, distribute and modify it." ! 5208: ! 5209: ac_pwd='$ac_pwd' ! 5210: srcdir='$srcdir' ! 5211: test -n "\$AWK" || AWK=awk ! 5212: _ACEOF ! 5213: ! 5214: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5215: # The default lists apply if the user does not specify any file. ! 5216: ac_need_defaults=: ! 5217: while test $# != 0 ! 5218: do ! 5219: case $1 in ! 5220: --*=?*) ! 5221: ac_option=`expr "X$1" : 'X\([^=]*\)='` ! 5222: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ! 5223: ac_shift=: ! 5224: ;; ! 5225: --*=) ! 5226: ac_option=`expr "X$1" : 'X\([^=]*\)='` ! 5227: ac_optarg= ! 5228: ac_shift=: ! 5229: ;; ! 5230: *) ! 5231: ac_option=$1 ! 5232: ac_optarg=$2 ! 5233: ac_shift=shift ! 5234: ;; ! 5235: esac ! 5236: ! 5237: case $ac_option in ! 5238: # Handling of the options. ! 5239: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ! 5240: ac_cs_recheck=: ;; ! 5241: --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) ! 5242: $as_echo "$ac_cs_version"; exit ;; ! 5243: --config | --confi | --conf | --con | --co | --c ) ! 5244: $as_echo "$ac_cs_config"; exit ;; ! 5245: --debug | --debu | --deb | --de | --d | -d ) ! 5246: debug=: ;; ! 5247: --file | --fil | --fi | --f ) ! 5248: $ac_shift ! 5249: case $ac_optarg in ! 5250: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ! 5251: '') as_fn_error $? "missing file argument" ;; ! 5252: esac ! 5253: as_fn_append CONFIG_FILES " '$ac_optarg'" ! 5254: ac_need_defaults=false;; ! 5255: --header | --heade | --head | --hea ) ! 5256: $ac_shift ! 5257: case $ac_optarg in ! 5258: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; ! 5259: esac ! 5260: as_fn_append CONFIG_HEADERS " '$ac_optarg'" ! 5261: ac_need_defaults=false;; ! 5262: --he | --h) ! 5263: # Conflict between --help and --header ! 5264: as_fn_error $? "ambiguous option: \`$1' ! 5265: Try \`$0 --help' for more information.";; ! 5266: --help | --hel | -h ) ! 5267: $as_echo "$ac_cs_usage"; exit ;; ! 5268: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ! 5269: | -silent | --silent | --silen | --sile | --sil | --si | --s) ! 5270: ac_cs_silent=: ;; ! 5271: ! 5272: # This is an error. ! 5273: -*) as_fn_error $? "unrecognized option: \`$1' ! 5274: Try \`$0 --help' for more information." ;; ! 5275: ! 5276: *) as_fn_append ac_config_targets " $1" ! 5277: ac_need_defaults=false ;; ! 5278: ! 5279: esac ! 5280: shift ! 5281: done ! 5282: ! 5283: ac_configure_extra_args= ! 5284: ! 5285: if $ac_cs_silent; then ! 5286: exec 6>/dev/null ! 5287: ac_configure_extra_args="$ac_configure_extra_args --silent" ! 5288: fi ! 5289: ! 5290: _ACEOF ! 5291: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5292: if \$ac_cs_recheck; then ! 5293: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion ! 5294: shift ! 5295: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 ! 5296: CONFIG_SHELL='$SHELL' ! 5297: export CONFIG_SHELL ! 5298: exec "\$@" ! 5299: fi ! 5300: ! 5301: _ACEOF ! 5302: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5303: exec 5>>config.log ! 5304: { ! 5305: echo ! 5306: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ! 5307: ## Running $as_me. ## ! 5308: _ASBOX ! 5309: $as_echo "$ac_log" ! 5310: } >&5 ! 5311: ! 5312: _ACEOF ! 5313: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5314: _ACEOF ! 5315: ! 5316: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5317: ! 5318: # Handling of arguments. ! 5319: for ac_config_target in $ac_config_targets ! 5320: do ! 5321: case $ac_config_target in ! 5322: "Makefile.cfg") CONFIG_FILES="$CONFIG_FILES Makefile.cfg" ;; ! 5323: "host/Makefile") CONFIG_FILES="$CONFIG_FILES host/Makefile" ;; ! 5324: "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; ! 5325: "wx/Makefile") CONFIG_FILES="$CONFIG_FILES wx/Makefile" ;; ! 5326: "util/mkcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/mkcgrom/Makefile" ;; ! 5327: "util/viewcgrom/Makefile") CONFIG_FILES="$CONFIG_FILES util/viewcgrom/Makefile" ;; ! 5328: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; ! 5329: ! 5330: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; ! 5331: esac ! 5332: done ! 5333: ! 5334: ! 5335: # If the user did not use the arguments to specify the items to instantiate, ! 5336: # then the envvar interface is used. Set only those that are not. ! 5337: # We use the long form for the default assignment because of an extremely ! 5338: # bizarre bug on SunOS 4.1.3. ! 5339: if $ac_need_defaults; then ! 5340: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files ! 5341: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers ! 5342: fi ! 5343: ! 5344: # Have a temporary directory for convenience. Make it in the build tree ! 5345: # simply because there is no reason against having it here, and in addition, ! 5346: # creating and moving files from /tmp can sometimes cause problems. ! 5347: # Hook for its removal unless debugging. ! 5348: # Note that there is a small window in which the directory will not be cleaned: ! 5349: # after its creation but before its name has been assigned to `$tmp'. ! 5350: $debug || ! 5351: { ! 5352: tmp= ac_tmp= ! 5353: trap 'exit_status=$? ! 5354: : "${ac_tmp:=$tmp}" ! 5355: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ! 5356: ' 0 ! 5357: trap 'as_fn_exit 1' 1 2 13 15 ! 5358: } ! 5359: # Create a (secure) tmp directory for tmp files. ! 5360: ! 5361: { ! 5362: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && ! 5363: test -d "$tmp" ! 5364: } || ! 5365: { ! 5366: tmp=./conf$$-$RANDOM ! 5367: (umask 077 && mkdir "$tmp") ! 5368: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ! 5369: ac_tmp=$tmp ! 5370: ! 5371: # Set up the scripts for CONFIG_FILES section. ! 5372: # No need to generate them if there are no CONFIG_FILES. ! 5373: # This happens for instance with `./config.status config.h'. ! 5374: if test -n "$CONFIG_FILES"; then ! 5375: ! 5376: ! 5377: ac_cr=`echo X | tr X '\015'` ! 5378: # On cygwin, bash can eat \r inside `` if the user requested igncr. ! 5379: # But we know of no other shell where ac_cr would be empty at this ! 5380: # point, so we can use a bashism as a fallback. ! 5381: if test "x$ac_cr" = x; then ! 5382: eval ac_cr=\$\'\\r\' ! 5383: fi ! 5384: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` ! 5385: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ! 5386: ac_cs_awk_cr='\\r' ! 5387: else ! 5388: ac_cs_awk_cr=$ac_cr ! 5389: fi ! 5390: ! 5391: echo 'BEGIN {' >"$ac_tmp/subs1.awk" && ! 5392: _ACEOF ! 5393: ! 5394: ! 5395: { ! 5396: echo "cat >conf$$subs.awk <<_ACEOF" && ! 5397: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && ! 5398: echo "_ACEOF" ! 5399: } >conf$$subs.sh || ! 5400: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ! 5401: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ! 5402: ac_delim='%!_!# ' ! 5403: for ac_last_try in false false false false false :; do ! 5404: . ./conf$$subs.sh || ! 5405: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ! 5406: ! 5407: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` ! 5408: if test $ac_delim_n = $ac_delim_num; then ! 5409: break ! 5410: elif $ac_last_try; then ! 5411: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ! 5412: else ! 5413: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ! 5414: fi ! 5415: done ! 5416: rm -f conf$$subs.sh ! 5417: ! 5418: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5419: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && ! 5420: _ACEOF ! 5421: sed -n ' ! 5422: h ! 5423: s/^/S["/; s/!.*/"]=/ ! 5424: p ! 5425: g ! 5426: s/^[^!]*!// ! 5427: :repl ! 5428: t repl ! 5429: s/'"$ac_delim"'$// ! 5430: t delim ! 5431: :nl ! 5432: h ! 5433: s/\(.\{148\}\)..*/\1/ ! 5434: t more1 ! 5435: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ ! 5436: p ! 5437: n ! 5438: b repl ! 5439: :more1 ! 5440: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ! 5441: p ! 5442: g ! 5443: s/.\{148\}// ! 5444: t nl ! 5445: :delim ! 5446: h ! 5447: s/\(.\{148\}\)..*/\1/ ! 5448: t more2 ! 5449: s/["\\]/\\&/g; s/^/"/; s/$/"/ ! 5450: p ! 5451: b ! 5452: :more2 ! 5453: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ ! 5454: p ! 5455: g ! 5456: s/.\{148\}// ! 5457: t delim ! 5458: ' <conf$$subs.awk | sed ' ! 5459: /^[^""]/{ ! 5460: N ! 5461: s/\n// ! 5462: } ! 5463: ' >>$CONFIG_STATUS || ac_write_fail=1 ! 5464: rm -f conf$$subs.awk ! 5465: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5466: _ACAWK ! 5467: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && ! 5468: for (key in S) S_is_set[key] = 1 ! 5469: FS = "" ! 5470: ! 5471: } ! 5472: { ! 5473: line = $ 0 ! 5474: nfields = split(line, field, "@") ! 5475: substed = 0 ! 5476: len = length(field[1]) ! 5477: for (i = 2; i < nfields; i++) { ! 5478: key = field[i] ! 5479: keylen = length(key) ! 5480: if (S_is_set[key]) { ! 5481: value = S[key] ! 5482: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) ! 5483: len += length(value) + length(field[++i]) ! 5484: substed = 1 ! 5485: } else ! 5486: len += 1 + keylen ! 5487: } ! 5488: ! 5489: print line ! 5490: } ! 5491: ! 5492: _ACAWK ! 5493: _ACEOF ! 5494: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5495: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then ! 5496: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" ! 5497: else ! 5498: cat ! 5499: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ ! 5500: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 ! 5501: _ACEOF ! 5502: ! 5503: # VPATH may cause trouble with some makes, so we remove sole $(srcdir), ! 5504: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and ! 5505: # trailing colons and then remove the whole line if VPATH becomes empty ! 5506: # (actually we leave an empty line to preserve line numbers). ! 5507: if test "x$srcdir" = x.; then ! 5508: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ ! 5509: h ! 5510: s/// ! 5511: s/^/:/ ! 5512: s/[ ]*$/:/ ! 5513: s/:\$(srcdir):/:/g ! 5514: s/:\${srcdir}:/:/g ! 5515: s/:@srcdir@:/:/g ! 5516: s/^:*// ! 5517: s/:*$// ! 5518: x ! 5519: s/\(=[ ]*\).*/\1/ ! 5520: G ! 5521: s/\n// ! 5522: s/^[^=]*=[ ]*$// ! 5523: }' ! 5524: fi ! 5525: ! 5526: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5527: fi # test -n "$CONFIG_FILES" ! 5528: ! 5529: # Set up the scripts for CONFIG_HEADERS section. ! 5530: # No need to generate them if there are no CONFIG_HEADERS. ! 5531: # This happens for instance with `./config.status Makefile'. ! 5532: if test -n "$CONFIG_HEADERS"; then ! 5533: cat >"$ac_tmp/defines.awk" <<\_ACAWK || ! 5534: BEGIN { ! 5535: _ACEOF ! 5536: ! 5537: # Transform confdefs.h into an awk script `defines.awk', embedded as ! 5538: # here-document in config.status, that substitutes the proper values into ! 5539: # config.h.in to produce config.h. ! 5540: ! 5541: # Create a delimiter string that does not exist in confdefs.h, to ease ! 5542: # handling of long lines. ! 5543: ac_delim='%!_!# ' ! 5544: for ac_last_try in false false :; do ! 5545: ac_tt=`sed -n "/$ac_delim/p" confdefs.h` ! 5546: if test -z "$ac_tt"; then ! 5547: break ! 5548: elif $ac_last_try; then ! 5549: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 ! 5550: else ! 5551: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " ! 5552: fi ! 5553: done ! 5554: ! 5555: # For the awk script, D is an array of macro values keyed by name, ! 5556: # likewise P contains macro parameters if any. Preserve backslash ! 5557: # newline sequences. ! 5558: ! 5559: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* ! 5560: sed -n ' ! 5561: s/.\{148\}/&'"$ac_delim"'/g ! 5562: t rset ! 5563: :rset ! 5564: s/^[ ]*#[ ]*define[ ][ ]*/ / ! 5565: t def ! 5566: d ! 5567: :def ! 5568: s/\\$// ! 5569: t bsnl ! 5570: s/["\\]/\\&/g ! 5571: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ! 5572: D["\1"]=" \3"/p ! 5573: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p ! 5574: d ! 5575: :bsnl ! 5576: s/["\\]/\\&/g ! 5577: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ ! 5578: D["\1"]=" \3\\\\\\n"\\/p ! 5579: t cont ! 5580: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p ! 5581: t cont ! 5582: d ! 5583: :cont ! 5584: n ! 5585: s/.\{148\}/&'"$ac_delim"'/g ! 5586: t clear ! 5587: :clear ! 5588: s/\\$// ! 5589: t bsnlc ! 5590: s/["\\]/\\&/g; s/^/"/; s/$/"/p ! 5591: d ! 5592: :bsnlc ! 5593: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p ! 5594: b cont ! 5595: ' <confdefs.h | sed ' ! 5596: s/'"$ac_delim"'/"\\\ ! 5597: "/g' >>$CONFIG_STATUS || ac_write_fail=1 ! 5598: ! 5599: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5600: for (key in D) D_is_set[key] = 1 ! 5601: FS = "" ! 5602: } ! 5603: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { ! 5604: line = \$ 0 ! 5605: split(line, arg, " ") ! 5606: if (arg[1] == "#") { ! 5607: defundef = arg[2] ! 5608: mac1 = arg[3] ! 5609: } else { ! 5610: defundef = substr(arg[1], 2) ! 5611: mac1 = arg[2] ! 5612: } ! 5613: split(mac1, mac2, "(") #) ! 5614: macro = mac2[1] ! 5615: prefix = substr(line, 1, index(line, defundef) - 1) ! 5616: if (D_is_set[macro]) { ! 5617: # Preserve the white space surrounding the "#". ! 5618: print prefix "define", macro P[macro] D[macro] ! 5619: next ! 5620: } else { ! 5621: # Replace #undef with comments. This is necessary, for example, ! 5622: # in the case of _POSIX_SOURCE, which is predefined and required ! 5623: # on some systems where configure will not decide to define it. ! 5624: if (defundef == "undef") { ! 5625: print "/*", prefix defundef, macro, "*/" ! 5626: next ! 5627: } ! 5628: } ! 5629: } ! 5630: { print } ! 5631: _ACAWK ! 5632: _ACEOF ! 5633: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5634: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 ! 5635: fi # test -n "$CONFIG_HEADERS" ! 5636: ! 5637: ! 5638: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " ! 5639: shift ! 5640: for ac_tag ! 5641: do ! 5642: case $ac_tag in ! 5643: :[FHLC]) ac_mode=$ac_tag; continue;; ! 5644: esac ! 5645: case $ac_mode$ac_tag in ! 5646: :[FHL]*:*);; ! 5647: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; ! 5648: :[FH]-) ac_tag=-:-;; ! 5649: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; ! 5650: esac ! 5651: ac_save_IFS=$IFS ! 5652: IFS=: ! 5653: set x $ac_tag ! 5654: IFS=$ac_save_IFS ! 5655: shift ! 5656: ac_file=$1 ! 5657: shift ! 5658: ! 5659: case $ac_mode in ! 5660: :L) ac_source=$1;; ! 5661: :[FH]) ! 5662: ac_file_inputs= ! 5663: for ac_f ! 5664: do ! 5665: case $ac_f in ! 5666: -) ac_f="$ac_tmp/stdin";; ! 5667: *) # Look for the file first in the build tree, then in the source tree ! 5668: # (if the path is not absolute). The absolute path cannot be DOS-style, ! 5669: # because $ac_f cannot contain `:'. ! 5670: test -f "$ac_f" || ! 5671: case $ac_f in ! 5672: [\\/$]*) false;; ! 5673: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; ! 5674: esac || ! 5675: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; ! 5676: esac ! 5677: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ! 5678: as_fn_append ac_file_inputs " '$ac_f'" ! 5679: done ! 5680: ! 5681: # Let's still pretend it is `configure' which instantiates (i.e., don't ! 5682: # use $as_me), people would be surprised to read: ! 5683: # /* config.h. Generated by config.status. */ ! 5684: configure_input='Generated from '` ! 5685: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' ! 5686: `' by configure.' ! 5687: if test x"$ac_file" != x-; then ! 5688: configure_input="$ac_file. $configure_input" ! 5689: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 ! 5690: $as_echo "$as_me: creating $ac_file" >&6;} ! 5691: fi ! 5692: # Neutralize special characters interpreted by sed in replacement strings. ! 5693: case $configure_input in #( ! 5694: *\&* | *\|* | *\\* ) ! 5695: ac_sed_conf_input=`$as_echo "$configure_input" | ! 5696: sed 's/[\\\\&|]/\\\\&/g'`;; #( ! 5697: *) ac_sed_conf_input=$configure_input;; ! 5698: esac ! 5699: ! 5700: case $ac_tag in ! 5701: *:-:* | *:-) cat >"$ac_tmp/stdin" \ ! 5702: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; ! 5703: esac ! 5704: ;; ! 5705: esac ! 5706: ! 5707: ac_dir=`$as_dirname -- "$ac_file" || ! 5708: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ ! 5709: X"$ac_file" : 'X\(//\)[^/]' \| \ ! 5710: X"$ac_file" : 'X\(//\)$' \| \ ! 5711: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || ! 5712: $as_echo X"$ac_file" | ! 5713: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ ! 5714: s//\1/ ! 5715: q ! 5716: } ! 5717: /^X\(\/\/\)[^/].*/{ ! 5718: s//\1/ ! 5719: q ! 5720: } ! 5721: /^X\(\/\/\)$/{ ! 5722: s//\1/ ! 5723: q ! 5724: } ! 5725: /^X\(\/\).*/{ ! 5726: s//\1/ ! 5727: q ! 5728: } ! 5729: s/.*/./; q'` ! 5730: as_dir="$ac_dir"; as_fn_mkdir_p ! 5731: ac_builddir=. ! 5732: ! 5733: case "$ac_dir" in ! 5734: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ! 5735: *) ! 5736: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` ! 5737: # A ".." for each directory in $ac_dir_suffix. ! 5738: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` ! 5739: case $ac_top_builddir_sub in ! 5740: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; ! 5741: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ! 5742: esac ;; ! 5743: esac ! 5744: ac_abs_top_builddir=$ac_pwd ! 5745: ac_abs_builddir=$ac_pwd$ac_dir_suffix ! 5746: # for backward compatibility: ! 5747: ac_top_builddir=$ac_top_build_prefix ! 5748: ! 5749: case $srcdir in ! 5750: .) # We are building in place. ! 5751: ac_srcdir=. ! 5752: ac_top_srcdir=$ac_top_builddir_sub ! 5753: ac_abs_top_srcdir=$ac_pwd ;; ! 5754: [\\/]* | ?:[\\/]* ) # Absolute name. ! 5755: ac_srcdir=$srcdir$ac_dir_suffix; ! 5756: ac_top_srcdir=$srcdir ! 5757: ac_abs_top_srcdir=$srcdir ;; ! 5758: *) # Relative name. ! 5759: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ! 5760: ac_top_srcdir=$ac_top_build_prefix$srcdir ! 5761: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ! 5762: esac ! 5763: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix ! 5764: ! 5765: ! 5766: case $ac_mode in ! 5767: :F) ! 5768: # ! 5769: # CONFIG_FILE ! 5770: # ! 5771: ! 5772: _ACEOF ! 5773: ! 5774: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5775: # If the template does not know about datarootdir, expand it. ! 5776: # FIXME: This hack should be removed a few years after 2.60. ! 5777: ac_datarootdir_hack=; ac_datarootdir_seen= ! 5778: ac_sed_dataroot=' ! 5779: /datarootdir/ { ! 5780: p ! 5781: q ! 5782: } ! 5783: /@datadir@/p ! 5784: /@docdir@/p ! 5785: /@infodir@/p ! 5786: /@localedir@/p ! 5787: /@mandir@/p' ! 5788: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in ! 5789: *datarootdir*) ac_datarootdir_seen=yes;; ! 5790: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) ! 5791: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 ! 5792: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ! 5793: _ACEOF ! 5794: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5795: ac_datarootdir_hack=' ! 5796: s&@datadir@&$datadir&g ! 5797: s&@docdir@&$docdir&g ! 5798: s&@infodir@&$infodir&g ! 5799: s&@localedir@&$localedir&g ! 5800: s&@mandir@&$mandir&g ! 5801: s&\\\${datarootdir}&$datarootdir&g' ;; ! 5802: esac ! 5803: _ACEOF ! 5804: ! 5805: # Neutralize VPATH when `$srcdir' = `.'. ! 5806: # Shell code in configure.ac might set extrasub. ! 5807: # FIXME: do we really want to maintain this feature? ! 5808: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ! 5809: ac_sed_extra="$ac_vpsub ! 5810: $extrasub ! 5811: _ACEOF ! 5812: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ! 5813: :t ! 5814: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b ! 5815: s|@configure_input@|$ac_sed_conf_input|;t t ! 5816: s&@top_builddir@&$ac_top_builddir_sub&;t t ! 5817: s&@top_build_prefix@&$ac_top_build_prefix&;t t ! 5818: s&@srcdir@&$ac_srcdir&;t t ! 5819: s&@abs_srcdir@&$ac_abs_srcdir&;t t ! 5820: s&@top_srcdir@&$ac_top_srcdir&;t t ! 5821: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t ! 5822: s&@builddir@&$ac_builddir&;t t ! 5823: s&@abs_builddir@&$ac_abs_builddir&;t t ! 5824: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t ! 5825: $ac_datarootdir_hack ! 5826: " ! 5827: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ ! 5828: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ! 5829: ! 5830: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && ! 5831: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && ! 5832: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ ! 5833: "$ac_tmp/out"`; test -z "$ac_out"; } && ! 5834: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' ! 5835: which seems to be undefined. Please make sure it is defined" >&5 ! 5836: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' ! 5837: which seems to be undefined. Please make sure it is defined" >&2;} ! 5838: ! 5839: rm -f "$ac_tmp/stdin" ! 5840: case $ac_file in ! 5841: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; ! 5842: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; ! 5843: esac \ ! 5844: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ! 5845: ;; ! 5846: :H) ! 5847: # ! 5848: # CONFIG_HEADER ! 5849: # ! 5850: if test x"$ac_file" != x-; then ! 5851: { ! 5852: $as_echo "/* $configure_input */" \ ! 5853: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" ! 5854: } >"$ac_tmp/config.h" \ ! 5855: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ! 5856: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then ! 5857: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 ! 5858: $as_echo "$as_me: $ac_file is unchanged" >&6;} ! 5859: else ! 5860: rm -f "$ac_file" ! 5861: mv "$ac_tmp/config.h" "$ac_file" \ ! 5862: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ! 5863: fi ! 5864: else ! 5865: $as_echo "/* $configure_input */" \ ! 5866: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ ! 5867: || as_fn_error $? "could not create -" "$LINENO" 5 ! 5868: fi ! 5869: ;; ! 5870: ! 5871: ! 5872: esac ! 5873: ! 5874: done # for ac_tag ! 5875: ! 5876: ! 5877: as_fn_exit 0 ! 5878: _ACEOF ! 5879: ac_clean_files=$ac_clean_files_save ! 5880: ! 5881: test $ac_write_fail = 0 || ! 5882: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 ! 5883: ! 5884: ! 5885: # configure is writing to config.log, and then calls config.status. ! 5886: # config.status does its own redirection, appending to config.log. ! 5887: # Unfortunately, on DOS this fails, as config.log is still kept open ! 5888: # by configure, so config.status won't be able to write to it; its ! 5889: # output is simply discarded. So we exec the FD to /dev/null, ! 5890: # effectively closing config.log, so it can be properly (re)opened and ! 5891: # appended to by config.status. When coming back to configure, we ! 5892: # need to make the FD available again. ! 5893: if test "$no_create" != yes; then ! 5894: ac_cs_success=: ! 5895: ac_config_status_args= ! 5896: test "$silent" = yes && ! 5897: ac_config_status_args="$ac_config_status_args --quiet" ! 5898: exec 5>/dev/null ! 5899: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false ! 5900: exec 5>>config.log ! 5901: # Use ||, not &&, to avoid exiting from the if with $? = 1, which ! 5902: # would make configure fail if this is the last instruction. ! 5903: $ac_cs_success || as_fn_exit 1 ! 5904: fi ! 5905: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then ! 5906: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 ! 5907: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} ! 5908: fi ! 5909:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.