| 1 | #! /bin/sh |
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
|---|
| 3 | # Generated by GNU Autoconf 2.63 for FreeMix 0.1. |
|---|
| 4 | # |
|---|
| 5 | # Report bugs to <alberto.botti@yoda2000.net>. |
|---|
| 6 | # |
|---|
| 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|---|
| 8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|---|
| 9 | # This configure script is free software; the Free Software Foundation |
|---|
| 10 | # gives unlimited permission to copy, distribute and modify it. |
|---|
| 11 | ## --------------------- ## |
|---|
| 12 | ## M4sh Initialization. ## |
|---|
| 13 | ## --------------------- ## |
|---|
| 14 | |
|---|
| 15 | # Be 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*) set -o posix ;; |
|---|
| 27 | esac |
|---|
| 28 | |
|---|
| 29 | fi |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | # PATH needs CR |
|---|
| 35 | # Avoid depending upon Character Ranges. |
|---|
| 36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|---|
| 37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|---|
| 38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|---|
| 39 | as_cr_digits='0123456789' |
|---|
| 40 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|---|
| 41 | |
|---|
| 42 | as_nl=' |
|---|
| 43 | ' |
|---|
| 44 | export as_nl |
|---|
| 45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
|---|
| 46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|---|
| 47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|---|
| 48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|---|
| 49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|---|
| 50 | as_echo='printf %s\n' |
|---|
| 51 | as_echo_n='printf %s' |
|---|
| 52 | else |
|---|
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|---|
| 55 | as_echo_n='/usr/ucb/echo -n' |
|---|
| 56 | else |
|---|
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|---|
| 58 | as_echo_n_body='eval |
|---|
| 59 | arg=$1; |
|---|
| 60 | case $arg in |
|---|
| 61 | *"$as_nl"*) |
|---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
|---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|---|
| 64 | esac; |
|---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|---|
| 66 | ' |
|---|
| 67 | export as_echo_n_body |
|---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|---|
| 69 | fi |
|---|
| 70 | export as_echo_body |
|---|
| 71 | as_echo='sh -c $as_echo_body as_echo' |
|---|
| 72 | fi |
|---|
| 73 | |
|---|
| 74 | # The user is always right. |
|---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then |
|---|
| 76 | PATH_SEPARATOR=: |
|---|
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|---|
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|---|
| 79 | PATH_SEPARATOR=';' |
|---|
| 80 | } |
|---|
| 81 | fi |
|---|
| 82 | |
|---|
| 83 | # Support unset when possible. |
|---|
| 84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|---|
| 85 | as_unset=unset |
|---|
| 86 | else |
|---|
| 87 | as_unset=false |
|---|
| 88 | fi |
|---|
| 89 | |
|---|
| 90 | |
|---|
| 91 | # IFS |
|---|
| 92 | # We need space, tab and new line, in precisely that order. Quoting is |
|---|
| 93 | # there to prevent editors from complaining about space-tab. |
|---|
| 94 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|---|
| 95 | # splitting by setting IFS to empty value.) |
|---|
| 96 | IFS=" "" $as_nl" |
|---|
| 97 | |
|---|
| 98 | # Find who we are. Look in the path if we contain no directory separator. |
|---|
| 99 | case $0 in |
|---|
| 100 | *[\\/]* ) as_myself=$0 ;; |
|---|
| 101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 102 | for as_dir in $PATH |
|---|
| 103 | do |
|---|
| 104 | IFS=$as_save_IFS |
|---|
| 105 | test -z "$as_dir" && as_dir=. |
|---|
| 106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|---|
| 107 | done |
|---|
| 108 | IFS=$as_save_IFS |
|---|
| 109 | |
|---|
| 110 | ;; |
|---|
| 111 | esac |
|---|
| 112 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|---|
| 113 | # in which case we are not to be found in the path. |
|---|
| 114 | if test "x$as_myself" = x; then |
|---|
| 115 | as_myself=$0 |
|---|
| 116 | fi |
|---|
| 117 | if test ! -f "$as_myself"; then |
|---|
| 118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|---|
| 119 | { (exit 1); exit 1; } |
|---|
| 120 | fi |
|---|
| 121 | |
|---|
| 122 | # Work around bugs in pre-3.0 UWIN ksh. |
|---|
| 123 | for as_var in ENV MAIL MAILPATH |
|---|
| 124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 125 | done |
|---|
| 126 | PS1='$ ' |
|---|
| 127 | PS2='> ' |
|---|
| 128 | PS4='+ ' |
|---|
| 129 | |
|---|
| 130 | # NLS nuisances. |
|---|
| 131 | LC_ALL=C |
|---|
| 132 | export LC_ALL |
|---|
| 133 | LANGUAGE=C |
|---|
| 134 | export LANGUAGE |
|---|
| 135 | |
|---|
| 136 | # Required to use basename. |
|---|
| 137 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 139 | as_expr=expr |
|---|
| 140 | else |
|---|
| 141 | as_expr=false |
|---|
| 142 | fi |
|---|
| 143 | |
|---|
| 144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|---|
| 145 | as_basename=basename |
|---|
| 146 | else |
|---|
| 147 | as_basename=false |
|---|
| 148 | fi |
|---|
| 149 | |
|---|
| 150 | |
|---|
| 151 | # Name of the executable. |
|---|
| 152 | as_me=`$as_basename -- "$0" || |
|---|
| 153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|---|
| 154 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 155 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 156 | $as_echo X/"$0" | |
|---|
| 157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|---|
| 158 | s//\1/ |
|---|
| 159 | q |
|---|
| 160 | } |
|---|
| 161 | /^X\/\(\/\/\)$/{ |
|---|
| 162 | s//\1/ |
|---|
| 163 | q |
|---|
| 164 | } |
|---|
| 165 | /^X\/\(\/\).*/{ |
|---|
| 166 | s//\1/ |
|---|
| 167 | q |
|---|
| 168 | } |
|---|
| 169 | s/.*/./; q'` |
|---|
| 170 | |
|---|
| 171 | # CDPATH. |
|---|
| 172 | $as_unset CDPATH |
|---|
| 173 | |
|---|
| 174 | |
|---|
| 175 | if test "x$CONFIG_SHELL" = x; then |
|---|
| 176 | if (eval ":") 2>/dev/null; then |
|---|
| 177 | as_have_required=yes |
|---|
| 178 | else |
|---|
| 179 | as_have_required=no |
|---|
| 180 | fi |
|---|
| 181 | |
|---|
| 182 | if test $as_have_required = yes && (eval ": |
|---|
| 183 | (as_func_return () { |
|---|
| 184 | (exit \$1) |
|---|
| 185 | } |
|---|
| 186 | as_func_success () { |
|---|
| 187 | as_func_return 0 |
|---|
| 188 | } |
|---|
| 189 | as_func_failure () { |
|---|
| 190 | as_func_return 1 |
|---|
| 191 | } |
|---|
| 192 | as_func_ret_success () { |
|---|
| 193 | return 0 |
|---|
| 194 | } |
|---|
| 195 | as_func_ret_failure () { |
|---|
| 196 | return 1 |
|---|
| 197 | } |
|---|
| 198 | |
|---|
| 199 | exitcode=0 |
|---|
| 200 | if as_func_success; then |
|---|
| 201 | : |
|---|
| 202 | else |
|---|
| 203 | exitcode=1 |
|---|
| 204 | echo as_func_success failed. |
|---|
| 205 | fi |
|---|
| 206 | |
|---|
| 207 | if as_func_failure; then |
|---|
| 208 | exitcode=1 |
|---|
| 209 | echo as_func_failure succeeded. |
|---|
| 210 | fi |
|---|
| 211 | |
|---|
| 212 | if as_func_ret_success; then |
|---|
| 213 | : |
|---|
| 214 | else |
|---|
| 215 | exitcode=1 |
|---|
| 216 | echo as_func_ret_success failed. |
|---|
| 217 | fi |
|---|
| 218 | |
|---|
| 219 | if as_func_ret_failure; then |
|---|
| 220 | exitcode=1 |
|---|
| 221 | echo as_func_ret_failure succeeded. |
|---|
| 222 | fi |
|---|
| 223 | |
|---|
| 224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|---|
| 225 | : |
|---|
| 226 | else |
|---|
| 227 | exitcode=1 |
|---|
| 228 | echo positional parameters were not saved. |
|---|
| 229 | fi |
|---|
| 230 | |
|---|
| 231 | test \$exitcode = 0) || { (exit 1); exit 1; } |
|---|
| 232 | |
|---|
| 233 | ( |
|---|
| 234 | as_lineno_1=\$LINENO |
|---|
| 235 | as_lineno_2=\$LINENO |
|---|
| 236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|---|
| 237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|---|
| 238 | ") 2> /dev/null; then |
|---|
| 239 | : |
|---|
| 240 | else |
|---|
| 241 | as_candidate_shells= |
|---|
| 242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|---|
| 244 | do |
|---|
| 245 | IFS=$as_save_IFS |
|---|
| 246 | test -z "$as_dir" && as_dir=. |
|---|
| 247 | case $as_dir in |
|---|
| 248 | /*) |
|---|
| 249 | for as_base in sh bash ksh sh5; do |
|---|
| 250 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|---|
| 251 | done;; |
|---|
| 252 | esac |
|---|
| 253 | done |
|---|
| 254 | IFS=$as_save_IFS |
|---|
| 255 | |
|---|
| 256 | |
|---|
| 257 | for as_shell in $as_candidate_shells $SHELL; do |
|---|
| 258 | # Try only shells that exist, to save several forks. |
|---|
| 259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|---|
| 260 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
|---|
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 262 | emulate sh |
|---|
| 263 | NULLCMD=: |
|---|
| 264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|---|
| 265 | # is contrary to our usage. Disable this feature. |
|---|
| 266 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 267 | setopt NO_GLOB_SUBST |
|---|
| 268 | else |
|---|
| 269 | case `(set -o) 2>/dev/null` in |
|---|
| 270 | *posix*) set -o posix ;; |
|---|
| 271 | esac |
|---|
| 272 | |
|---|
| 273 | fi |
|---|
| 274 | |
|---|
| 275 | |
|---|
| 276 | : |
|---|
| 277 | _ASEOF |
|---|
| 278 | }; then |
|---|
| 279 | CONFIG_SHELL=$as_shell |
|---|
| 280 | as_have_required=yes |
|---|
| 281 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
|---|
| 282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 283 | emulate sh |
|---|
| 284 | NULLCMD=: |
|---|
| 285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|---|
| 286 | # is contrary to our usage. Disable this feature. |
|---|
| 287 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 288 | setopt NO_GLOB_SUBST |
|---|
| 289 | else |
|---|
| 290 | case `(set -o) 2>/dev/null` in |
|---|
| 291 | *posix*) set -o posix ;; |
|---|
| 292 | esac |
|---|
| 293 | |
|---|
| 294 | fi |
|---|
| 295 | |
|---|
| 296 | |
|---|
| 297 | : |
|---|
| 298 | (as_func_return () { |
|---|
| 299 | (exit $1) |
|---|
| 300 | } |
|---|
| 301 | as_func_success () { |
|---|
| 302 | as_func_return 0 |
|---|
| 303 | } |
|---|
| 304 | as_func_failure () { |
|---|
| 305 | as_func_return 1 |
|---|
| 306 | } |
|---|
| 307 | as_func_ret_success () { |
|---|
| 308 | return 0 |
|---|
| 309 | } |
|---|
| 310 | as_func_ret_failure () { |
|---|
| 311 | return 1 |
|---|
| 312 | } |
|---|
| 313 | |
|---|
| 314 | exitcode=0 |
|---|
| 315 | if as_func_success; then |
|---|
| 316 | : |
|---|
| 317 | else |
|---|
| 318 | exitcode=1 |
|---|
| 319 | echo as_func_success failed. |
|---|
| 320 | fi |
|---|
| 321 | |
|---|
| 322 | if as_func_failure; then |
|---|
| 323 | exitcode=1 |
|---|
| 324 | echo as_func_failure succeeded. |
|---|
| 325 | fi |
|---|
| 326 | |
|---|
| 327 | if as_func_ret_success; then |
|---|
| 328 | : |
|---|
| 329 | else |
|---|
| 330 | exitcode=1 |
|---|
| 331 | echo as_func_ret_success failed. |
|---|
| 332 | fi |
|---|
| 333 | |
|---|
| 334 | if as_func_ret_failure; then |
|---|
| 335 | exitcode=1 |
|---|
| 336 | echo as_func_ret_failure succeeded. |
|---|
| 337 | fi |
|---|
| 338 | |
|---|
| 339 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
|---|
| 340 | : |
|---|
| 341 | else |
|---|
| 342 | exitcode=1 |
|---|
| 343 | echo positional parameters were not saved. |
|---|
| 344 | fi |
|---|
| 345 | |
|---|
| 346 | test $exitcode = 0) || { (exit 1); exit 1; } |
|---|
| 347 | |
|---|
| 348 | ( |
|---|
| 349 | as_lineno_1=$LINENO |
|---|
| 350 | as_lineno_2=$LINENO |
|---|
| 351 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
|---|
| 353 | |
|---|
| 354 | _ASEOF |
|---|
| 355 | }; then |
|---|
| 356 | break |
|---|
| 357 | fi |
|---|
| 358 | |
|---|
| 359 | fi |
|---|
| 360 | |
|---|
| 361 | done |
|---|
| 362 | |
|---|
| 363 | if test "x$CONFIG_SHELL" != x; then |
|---|
| 364 | for as_var in BASH_ENV ENV |
|---|
| 365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 366 | done |
|---|
| 367 | export CONFIG_SHELL |
|---|
| 368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|---|
| 369 | fi |
|---|
| 370 | |
|---|
| 371 | |
|---|
| 372 | if test $as_have_required = no; then |
|---|
| 373 | echo This script requires a shell more modern than all the |
|---|
| 374 | echo shells that I found on your system. Please install a |
|---|
| 375 | echo modern shell, or manually run the script under such a |
|---|
| 376 | echo shell if you do have one. |
|---|
| 377 | { (exit 1); exit 1; } |
|---|
| 378 | fi |
|---|
| 379 | |
|---|
| 380 | |
|---|
| 381 | fi |
|---|
| 382 | |
|---|
| 383 | fi |
|---|
| 384 | |
|---|
| 385 | |
|---|
| 386 | |
|---|
| 387 | (eval "as_func_return () { |
|---|
| 388 | (exit \$1) |
|---|
| 389 | } |
|---|
| 390 | as_func_success () { |
|---|
| 391 | as_func_return 0 |
|---|
| 392 | } |
|---|
| 393 | as_func_failure () { |
|---|
| 394 | as_func_return 1 |
|---|
| 395 | } |
|---|
| 396 | as_func_ret_success () { |
|---|
| 397 | return 0 |
|---|
| 398 | } |
|---|
| 399 | as_func_ret_failure () { |
|---|
| 400 | return 1 |
|---|
| 401 | } |
|---|
| 402 | |
|---|
| 403 | exitcode=0 |
|---|
| 404 | if as_func_success; then |
|---|
| 405 | : |
|---|
| 406 | else |
|---|
| 407 | exitcode=1 |
|---|
| 408 | echo as_func_success failed. |
|---|
| 409 | fi |
|---|
| 410 | |
|---|
| 411 | if as_func_failure; then |
|---|
| 412 | exitcode=1 |
|---|
| 413 | echo as_func_failure succeeded. |
|---|
| 414 | fi |
|---|
| 415 | |
|---|
| 416 | if as_func_ret_success; then |
|---|
| 417 | : |
|---|
| 418 | else |
|---|
| 419 | exitcode=1 |
|---|
| 420 | echo as_func_ret_success failed. |
|---|
| 421 | fi |
|---|
| 422 | |
|---|
| 423 | if as_func_ret_failure; then |
|---|
| 424 | exitcode=1 |
|---|
| 425 | echo as_func_ret_failure succeeded. |
|---|
| 426 | fi |
|---|
| 427 | |
|---|
| 428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|---|
| 429 | : |
|---|
| 430 | else |
|---|
| 431 | exitcode=1 |
|---|
| 432 | echo positional parameters were not saved. |
|---|
| 433 | fi |
|---|
| 434 | |
|---|
| 435 | test \$exitcode = 0") || { |
|---|
| 436 | echo No shell found that supports shell functions. |
|---|
| 437 | echo Please tell bug-autoconf@gnu.org about your system, |
|---|
| 438 | echo including any error possibly output before this message. |
|---|
| 439 | echo This can help us improve future autoconf versions. |
|---|
| 440 | echo Configuration will now proceed without shell functions. |
|---|
| 441 | } |
|---|
| 442 | |
|---|
| 443 | |
|---|
| 444 | |
|---|
| 445 | as_lineno_1=$LINENO |
|---|
| 446 | as_lineno_2=$LINENO |
|---|
| 447 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|---|
| 449 | |
|---|
| 450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|---|
| 451 | # uniformly replaced by the line number. The first 'sed' inserts a |
|---|
| 452 | # line-number line after each line using $LINENO; the second 'sed' |
|---|
| 453 | # does the real work. The second script uses 'N' to pair each |
|---|
| 454 | # line-number line with the line containing $LINENO, and appends |
|---|
| 455 | # trailing '-' during substitution so that $LINENO is not a special |
|---|
| 456 | # case at line end. |
|---|
| 457 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|---|
| 458 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|---|
| 459 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|---|
| 460 | sed -n ' |
|---|
| 461 | p |
|---|
| 462 | /[$]LINENO/= |
|---|
| 463 | ' <$as_myself | |
|---|
| 464 | sed ' |
|---|
| 465 | s/[$]LINENO.*/&-/ |
|---|
| 466 | t lineno |
|---|
| 467 | b |
|---|
| 468 | :lineno |
|---|
| 469 | N |
|---|
| 470 | :loop |
|---|
| 471 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|---|
| 472 | t loop |
|---|
| 473 | s/-\n.*// |
|---|
| 474 | ' >$as_me.lineno && |
|---|
| 475 | chmod +x "$as_me.lineno" || |
|---|
| 476 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|---|
| 477 | { (exit 1); exit 1; }; } |
|---|
| 478 | |
|---|
| 479 | # Don't try to exec as it changes $[0], causing all sort of problems |
|---|
| 480 | # (the dirname of $[0] is not the place where we might find the |
|---|
| 481 | # original and so on. Autoconf is especially sensitive to this). |
|---|
| 482 | . "./$as_me.lineno" |
|---|
| 483 | # Exit status is that of the last command. |
|---|
| 484 | exit |
|---|
| 485 | } |
|---|
| 486 | |
|---|
| 487 | |
|---|
| 488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|---|
| 489 | as_dirname=dirname |
|---|
| 490 | else |
|---|
| 491 | as_dirname=false |
|---|
| 492 | fi |
|---|
| 493 | |
|---|
| 494 | ECHO_C= ECHO_N= ECHO_T= |
|---|
| 495 | case `echo -n x` in |
|---|
| 496 | -n*) |
|---|
| 497 | case `echo 'x\c'` in |
|---|
| 498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|---|
| 499 | *) ECHO_C='\c';; |
|---|
| 500 | esac;; |
|---|
| 501 | *) |
|---|
| 502 | ECHO_N='-n';; |
|---|
| 503 | esac |
|---|
| 504 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 506 | as_expr=expr |
|---|
| 507 | else |
|---|
| 508 | as_expr=false |
|---|
| 509 | fi |
|---|
| 510 | |
|---|
| 511 | rm -f conf$$ conf$$.exe conf$$.file |
|---|
| 512 | if test -d conf$$.dir; then |
|---|
| 513 | rm -f conf$$.dir/conf$$.file |
|---|
| 514 | else |
|---|
| 515 | rm -f conf$$.dir |
|---|
| 516 | mkdir conf$$.dir 2>/dev/null |
|---|
| 517 | fi |
|---|
| 518 | if (echo >conf$$.file) 2>/dev/null; then |
|---|
| 519 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|---|
| 520 | as_ln_s='ln -s' |
|---|
| 521 | # ... but there are two gotchas: |
|---|
| 522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|---|
| 523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|---|
| 524 | # In both cases, we have to default to `cp -p'. |
|---|
| 525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|---|
| 526 | as_ln_s='cp -p' |
|---|
| 527 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|---|
| 528 | as_ln_s=ln |
|---|
| 529 | else |
|---|
| 530 | as_ln_s='cp -p' |
|---|
| 531 | fi |
|---|
| 532 | else |
|---|
| 533 | as_ln_s='cp -p' |
|---|
| 534 | fi |
|---|
| 535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|---|
| 536 | rmdir conf$$.dir 2>/dev/null |
|---|
| 537 | |
|---|
| 538 | if mkdir -p . 2>/dev/null; then |
|---|
| 539 | as_mkdir_p=: |
|---|
| 540 | else |
|---|
| 541 | test -d ./-p && rmdir ./-p |
|---|
| 542 | as_mkdir_p=false |
|---|
| 543 | fi |
|---|
| 544 | |
|---|
| 545 | if test -x / >/dev/null 2>&1; then |
|---|
| 546 | as_test_x='test -x' |
|---|
| 547 | else |
|---|
| 548 | if ls -dL / >/dev/null 2>&1; then |
|---|
| 549 | as_ls_L_option=L |
|---|
| 550 | else |
|---|
| 551 | as_ls_L_option= |
|---|
| 552 | fi |
|---|
| 553 | as_test_x=' |
|---|
| 554 | eval sh -c '\'' |
|---|
| 555 | if test -d "$1"; then |
|---|
| 556 | test -d "$1/."; |
|---|
| 557 | else |
|---|
| 558 | case $1 in |
|---|
| 559 | -*)set "./$1";; |
|---|
| 560 | esac; |
|---|
| 561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|---|
| 562 | ???[sx]*):;;*)false;;esac;fi |
|---|
| 563 | '\'' sh |
|---|
| 564 | ' |
|---|
| 565 | fi |
|---|
| 566 | as_executable_p=$as_test_x |
|---|
| 567 | |
|---|
| 568 | # Sed expression to map a string onto a valid CPP name. |
|---|
| 569 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 570 | |
|---|
| 571 | # Sed expression to map a string onto a valid variable name. |
|---|
| 572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 573 | |
|---|
| 574 | |
|---|
| 575 | |
|---|
| 576 | exec 7<&0 </dev/null 6>&1 |
|---|
| 577 | |
|---|
| 578 | # Name of the host. |
|---|
| 579 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|---|
| 580 | # so uname gets run too. |
|---|
| 581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 582 | |
|---|
| 583 | # |
|---|
| 584 | # Initializations. |
|---|
| 585 | # |
|---|
| 586 | ac_default_prefix=/usr/local |
|---|
| 587 | ac_clean_files= |
|---|
| 588 | ac_config_libobj_dir=. |
|---|
| 589 | LIBOBJS= |
|---|
| 590 | cross_compiling=no |
|---|
| 591 | subdirs= |
|---|
| 592 | MFLAGS= |
|---|
| 593 | MAKEFLAGS= |
|---|
| 594 | SHELL=${CONFIG_SHELL-/bin/sh} |
|---|
| 595 | |
|---|
| 596 | # Identity of this package. |
|---|
| 597 | PACKAGE_NAME='FreeMix' |
|---|
| 598 | PACKAGE_TARNAME='freemix' |
|---|
| 599 | PACKAGE_VERSION='0.1' |
|---|
| 600 | PACKAGE_STRING='FreeMix 0.1' |
|---|
| 601 | PACKAGE_BUGREPORT='alberto.botti@yoda2000.net' |
|---|
| 602 | |
|---|
| 603 | enable_option_checking=no |
|---|
| 604 | ac_subst_vars='LTLIBOBJS |
|---|
| 605 | LIBOBJS |
|---|
| 606 | subdirs |
|---|
| 607 | GNET_LIBS |
|---|
| 608 | GNET_CFLAGS |
|---|
| 609 | PKG_CONFIG |
|---|
| 610 | am__untar |
|---|
| 611 | am__tar |
|---|
| 612 | AMTAR |
|---|
| 613 | am__leading_dot |
|---|
| 614 | SET_MAKE |
|---|
| 615 | AWK |
|---|
| 616 | mkdir_p |
|---|
| 617 | MKDIR_P |
|---|
| 618 | INSTALL_STRIP_PROGRAM |
|---|
| 619 | STRIP |
|---|
| 620 | install_sh |
|---|
| 621 | MAKEINFO |
|---|
| 622 | AUTOHEADER |
|---|
| 623 | AUTOMAKE |
|---|
| 624 | AUTOCONF |
|---|
| 625 | ACLOCAL |
|---|
| 626 | VERSION |
|---|
| 627 | PACKAGE |
|---|
| 628 | CYGPATH_W |
|---|
| 629 | am__isrc |
|---|
| 630 | INSTALL_DATA |
|---|
| 631 | INSTALL_SCRIPT |
|---|
| 632 | INSTALL_PROGRAM |
|---|
| 633 | target_alias |
|---|
| 634 | host_alias |
|---|
| 635 | build_alias |
|---|
| 636 | LIBS |
|---|
| 637 | ECHO_T |
|---|
| 638 | ECHO_N |
|---|
| 639 | ECHO_C |
|---|
| 640 | DEFS |
|---|
| 641 | mandir |
|---|
| 642 | localedir |
|---|
| 643 | libdir |
|---|
| 644 | psdir |
|---|
| 645 | pdfdir |
|---|
| 646 | dvidir |
|---|
| 647 | htmldir |
|---|
| 648 | infodir |
|---|
| 649 | docdir |
|---|
| 650 | oldincludedir |
|---|
| 651 | includedir |
|---|
| 652 | localstatedir |
|---|
| 653 | sharedstatedir |
|---|
| 654 | sysconfdir |
|---|
| 655 | datadir |
|---|
| 656 | datarootdir |
|---|
| 657 | libexecdir |
|---|
| 658 | sbindir |
|---|
| 659 | bindir |
|---|
| 660 | program_transform_name |
|---|
| 661 | prefix |
|---|
| 662 | exec_prefix |
|---|
| 663 | PACKAGE_BUGREPORT |
|---|
| 664 | PACKAGE_STRING |
|---|
| 665 | PACKAGE_VERSION |
|---|
| 666 | PACKAGE_TARNAME |
|---|
| 667 | PACKAGE_NAME |
|---|
| 668 | PATH_SEPARATOR |
|---|
| 669 | SHELL' |
|---|
| 670 | ac_subst_files='' |
|---|
| 671 | ac_user_opts=' |
|---|
| 672 | enable_option_checking |
|---|
| 673 | ' |
|---|
| 674 | ac_precious_vars='build_alias |
|---|
| 675 | host_alias |
|---|
| 676 | target_alias |
|---|
| 677 | PKG_CONFIG |
|---|
| 678 | GNET_CFLAGS |
|---|
| 679 | GNET_LIBS' |
|---|
| 680 | ac_subdirs_all='rgc |
|---|
| 681 | rubberband |
|---|
| 682 | fm_server |
|---|
| 683 | fm_gui' |
|---|
| 684 | |
|---|
| 685 | # Initialize some variables set by options. |
|---|
| 686 | ac_init_help= |
|---|
| 687 | ac_init_version=false |
|---|
| 688 | ac_unrecognized_opts= |
|---|
| 689 | ac_unrecognized_sep= |
|---|
| 690 | # The variables have the same names as the options, with |
|---|
| 691 | # dashes changed to underlines. |
|---|
| 692 | cache_file=/dev/null |
|---|
| 693 | exec_prefix=NONE |
|---|
| 694 | no_create= |
|---|
| 695 | no_recursion= |
|---|
| 696 | prefix=NONE |
|---|
| 697 | program_prefix=NONE |
|---|
| 698 | program_suffix=NONE |
|---|
| 699 | program_transform_name=s,x,x, |
|---|
| 700 | silent= |
|---|
| 701 | site= |
|---|
| 702 | srcdir= |
|---|
| 703 | verbose= |
|---|
| 704 | x_includes=NONE |
|---|
| 705 | x_libraries=NONE |
|---|
| 706 | |
|---|
| 707 | # Installation directory options. |
|---|
| 708 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
|---|
| 709 | # and all the variables that are supposed to be based on exec_prefix |
|---|
| 710 | # by default will actually change. |
|---|
| 711 | # Use braces instead of parens because sh, perl, etc. also accept them. |
|---|
| 712 | # (The list follows the same order as the GNU Coding Standards.) |
|---|
| 713 | bindir='${exec_prefix}/bin' |
|---|
| 714 | sbindir='${exec_prefix}/sbin' |
|---|
| 715 | libexecdir='${exec_prefix}/libexec' |
|---|
| 716 | datarootdir='${prefix}/share' |
|---|
| 717 | datadir='${datarootdir}' |
|---|
| 718 | sysconfdir='${prefix}/etc' |
|---|
| 719 | sharedstatedir='${prefix}/com' |
|---|
| 720 | localstatedir='${prefix}/var' |
|---|
| 721 | includedir='${prefix}/include' |
|---|
| 722 | oldincludedir='/usr/include' |
|---|
| 723 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|---|
| 724 | infodir='${datarootdir}/info' |
|---|
| 725 | htmldir='${docdir}' |
|---|
| 726 | dvidir='${docdir}' |
|---|
| 727 | pdfdir='${docdir}' |
|---|
| 728 | psdir='${docdir}' |
|---|
| 729 | libdir='${exec_prefix}/lib' |
|---|
| 730 | localedir='${datarootdir}/locale' |
|---|
| 731 | mandir='${datarootdir}/man' |
|---|
| 732 | |
|---|
| 733 | ac_prev= |
|---|
| 734 | ac_dashdash= |
|---|
| 735 | for ac_option |
|---|
| 736 | do |
|---|
| 737 | # If the previous option needs an argument, assign it. |
|---|
| 738 | if test -n "$ac_prev"; then |
|---|
| 739 | eval $ac_prev=\$ac_option |
|---|
| 740 | ac_prev= |
|---|
| 741 | continue |
|---|
| 742 | fi |
|---|
| 743 | |
|---|
| 744 | case $ac_option in |
|---|
| 745 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|---|
| 746 | *) ac_optarg=yes ;; |
|---|
| 747 | esac |
|---|
| 748 | |
|---|
| 749 | # Accept the important Cygnus configure options, so we can diagnose typos. |
|---|
| 750 | |
|---|
| 751 | case $ac_dashdash$ac_option in |
|---|
| 752 | --) |
|---|
| 753 | ac_dashdash=yes ;; |
|---|
| 754 | |
|---|
| 755 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|---|
| 756 | ac_prev=bindir ;; |
|---|
| 757 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|---|
| 758 | bindir=$ac_optarg ;; |
|---|
| 759 | |
|---|
| 760 | -build | --build | --buil | --bui | --bu) |
|---|
| 761 | ac_prev=build_alias ;; |
|---|
| 762 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|---|
| 763 | build_alias=$ac_optarg ;; |
|---|
| 764 | |
|---|
| 765 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|---|
| 766 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|---|
| 767 | ac_prev=cache_file ;; |
|---|
| 768 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|---|
| 769 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|---|
| 770 | cache_file=$ac_optarg ;; |
|---|
| 771 | |
|---|
| 772 | --config-cache | -C) |
|---|
| 773 | cache_file=config.cache ;; |
|---|
| 774 | |
|---|
| 775 | -datadir | --datadir | --datadi | --datad) |
|---|
| 776 | ac_prev=datadir ;; |
|---|
| 777 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
|---|
| 778 | datadir=$ac_optarg ;; |
|---|
| 779 | |
|---|
| 780 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|---|
| 781 | | --dataroo | --dataro | --datar) |
|---|
| 782 | ac_prev=datarootdir ;; |
|---|
| 783 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|---|
| 784 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|---|
| 785 | datarootdir=$ac_optarg ;; |
|---|
| 786 | |
|---|
| 787 | -disable-* | --disable-*) |
|---|
| 788 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|---|
| 789 | # Reject names that are not valid shell variable names. |
|---|
| 790 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|---|
| 791 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|---|
| 792 | { (exit 1); exit 1; }; } |
|---|
| 793 | ac_useropt_orig=$ac_useropt |
|---|
| 794 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|---|
| 795 | case $ac_user_opts in |
|---|
| 796 | *" |
|---|
| 797 | "enable_$ac_useropt" |
|---|
| 798 | "*) ;; |
|---|
| 799 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|---|
| 800 | ac_unrecognized_sep=', ';; |
|---|
| 801 | esac |
|---|
| 802 | eval enable_$ac_useropt=no ;; |
|---|
| 803 | |
|---|
| 804 | -docdir | --docdir | --docdi | --doc | --do) |
|---|
| 805 | ac_prev=docdir ;; |
|---|
| 806 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|---|
| 807 | docdir=$ac_optarg ;; |
|---|
| 808 | |
|---|
| 809 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|---|
| 810 | ac_prev=dvidir ;; |
|---|
| 811 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|---|
| 812 | dvidir=$ac_optarg ;; |
|---|
| 813 | |
|---|
| 814 | -enable-* | --enable-*) |
|---|
| 815 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|---|
| 816 | # Reject names that are not valid shell variable names. |
|---|
| 817 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|---|
| 818 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
|---|
| 819 | { (exit 1); exit 1; }; } |
|---|
| 820 | ac_useropt_orig=$ac_useropt |
|---|
| 821 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|---|
| 822 | case $ac_user_opts in |
|---|
| 823 | *" |
|---|
| 824 | "enable_$ac_useropt" |
|---|
| 825 | "*) ;; |
|---|
| 826 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|---|
| 827 | ac_unrecognized_sep=', ';; |
|---|
| 828 | esac |
|---|
| 829 | eval enable_$ac_useropt=\$ac_optarg ;; |
|---|
| 830 | |
|---|
| 831 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|---|
| 832 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|---|
| 833 | | --exec | --exe | --ex) |
|---|
| 834 | ac_prev=exec_prefix ;; |
|---|
| 835 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|---|
| 836 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|---|
| 837 | | --exec=* | --exe=* | --ex=*) |
|---|
| 838 | exec_prefix=$ac_optarg ;; |
|---|
| 839 | |
|---|
| 840 | -gas | --gas | --ga | --g) |
|---|
| 841 | # Obsolete; use --with-gas. |
|---|
| 842 | with_gas=yes ;; |
|---|
| 843 | |
|---|
| 844 | -help | --help | --hel | --he | -h) |
|---|
| 845 | ac_init_help=long ;; |
|---|
| 846 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|---|
| 847 | ac_init_help=recursive ;; |
|---|
| 848 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|---|
| 849 | ac_init_help=short ;; |
|---|
| 850 | |
|---|
| 851 | -host | --host | --hos | --ho) |
|---|
| 852 | ac_prev=host_alias ;; |
|---|
| 853 | -host=* | --host=* | --hos=* | --ho=*) |
|---|
| 854 | host_alias=$ac_optarg ;; |
|---|
| 855 | |
|---|
| 856 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|---|
| 857 | ac_prev=htmldir ;; |
|---|
| 858 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|---|
| 859 | | --ht=*) |
|---|
| 860 | htmldir=$ac_optarg ;; |
|---|
| 861 | |
|---|
| 862 | -includedir | --includedir | --includedi | --included | --include \ |
|---|
| 863 | | --includ | --inclu | --incl | --inc) |
|---|
| 864 | ac_prev=includedir ;; |
|---|
| 865 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|---|
| 866 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
|---|
| 867 | includedir=$ac_optarg ;; |
|---|
| 868 | |
|---|
| 869 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
|---|
| 870 | ac_prev=infodir ;; |
|---|
| 871 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|---|
| 872 | infodir=$ac_optarg ;; |
|---|
| 873 | |
|---|
| 874 | -libdir | --libdir | --libdi | --libd) |
|---|
| 875 | ac_prev=libdir ;; |
|---|
| 876 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|---|
| 877 | libdir=$ac_optarg ;; |
|---|
| 878 | |
|---|
| 879 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|---|
| 880 | | --libexe | --libex | --libe) |
|---|
| 881 | ac_prev=libexecdir ;; |
|---|
| 882 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|---|
| 883 | | --libexe=* | --libex=* | --libe=*) |
|---|
| 884 | libexecdir=$ac_optarg ;; |
|---|
| 885 | |
|---|
| 886 | -localedir | --localedir | --localedi | --localed | --locale) |
|---|
| 887 | ac_prev=localedir ;; |
|---|
| 888 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|---|
| 889 | localedir=$ac_optarg ;; |
|---|
| 890 | |
|---|
| 891 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|---|
| 892 | | --localstate | --localstat | --localsta | --localst | --locals) |
|---|
| 893 | ac_prev=localstatedir ;; |
|---|
| 894 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|---|
| 895 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|---|
| 896 | localstatedir=$ac_optarg ;; |
|---|
| 897 | |
|---|
| 898 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|---|
| 899 | ac_prev=mandir ;; |
|---|
| 900 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|---|
| 901 | mandir=$ac_optarg ;; |
|---|
| 902 | |
|---|
| 903 | -nfp | --nfp | --nf) |
|---|
| 904 | # Obsolete; use --without-fp. |
|---|
| 905 | with_fp=no ;; |
|---|
| 906 | |
|---|
| 907 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|---|
| 908 | | --no-cr | --no-c | -n) |
|---|
| 909 | no_create=yes ;; |
|---|
| 910 | |
|---|
| 911 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|---|
| 912 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|---|
| 913 | no_recursion=yes ;; |
|---|
| 914 | |
|---|
| 915 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|---|
| 916 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|---|
| 917 | | --oldin | --oldi | --old | --ol | --o) |
|---|
| 918 | ac_prev=oldincludedir ;; |
|---|
| 919 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|---|
| 920 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|---|
| 921 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|---|
| 922 | oldincludedir=$ac_optarg ;; |
|---|
| 923 | |
|---|
| 924 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|---|
| 925 | ac_prev=prefix ;; |
|---|
| 926 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|---|
| 927 | prefix=$ac_optarg ;; |
|---|
| 928 | |
|---|
| 929 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|---|
| 930 | | --program-pre | --program-pr | --program-p) |
|---|
| 931 | ac_prev=program_prefix ;; |
|---|
| 932 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|---|
| 933 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|---|
| 934 | program_prefix=$ac_optarg ;; |
|---|
| 935 | |
|---|
| 936 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|---|
| 937 | | --program-suf | --program-su | --program-s) |
|---|
| 938 | ac_prev=program_suffix ;; |
|---|
| 939 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|---|
| 940 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|---|
| 941 | program_suffix=$ac_optarg ;; |
|---|
| 942 | |
|---|
| 943 | -program-transform-name | --program-transform-name \ |
|---|
| 944 | | --program-transform-nam | --program-transform-na \ |
|---|
| 945 | | --program-transform-n | --program-transform- \ |
|---|
| 946 | | --program-transform | --program-transfor \ |
|---|
| 947 | | --program-transfo | --program-transf \ |
|---|
| 948 | | --program-trans | --program-tran \ |
|---|
| 949 | | --progr-tra | --program-tr | --program-t) |
|---|
| 950 | ac_prev=program_transform_name ;; |
|---|
| 951 | -program-transform-name=* | --program-transform-name=* \ |
|---|
| 952 | | --program-transform-nam=* | --program-transform-na=* \ |
|---|
| 953 | | --program-transform-n=* | --program-transform-=* \ |
|---|
| 954 | | --program-transform=* | --program-transfor=* \ |
|---|
| 955 | | --program-transfo=* | --program-transf=* \ |
|---|
| 956 | | --program-trans=* | --program-tran=* \ |
|---|
| 957 | | --progr-tra=* | --program-tr=* | --program-t=*) |
|---|
| 958 | program_transform_name=$ac_optarg ;; |
|---|
| 959 | |
|---|
| 960 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|---|
| 961 | ac_prev=pdfdir ;; |
|---|
| 962 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|---|
| 963 | pdfdir=$ac_optarg ;; |
|---|
| 964 | |
|---|
| 965 | -psdir | --psdir | --psdi | --psd | --ps) |
|---|
| 966 | ac_prev=psdir ;; |
|---|
| 967 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|---|
| 968 | psdir=$ac_optarg ;; |
|---|
| 969 | |
|---|
| 970 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 971 | | -silent | --silent | --silen | --sile | --sil) |
|---|
| 972 | silent=yes ;; |
|---|
| 973 | |
|---|
| 974 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|---|
| 975 | ac_prev=sbindir ;; |
|---|
| 976 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|---|
| 977 | | --sbi=* | --sb=*) |
|---|
| 978 | sbindir=$ac_optarg ;; |
|---|
| 979 | |
|---|
| 980 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|---|
| 981 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|---|
| 982 | | --sharedst | --shareds | --shared | --share | --shar \ |
|---|
| 983 | | --sha | --sh) |
|---|
| 984 | ac_prev=sharedstatedir ;; |
|---|
| 985 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|---|
| 986 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|---|
| 987 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|---|
| 988 | | --sha=* | --sh=*) |
|---|
| 989 | sharedstatedir=$ac_optarg ;; |
|---|
| 990 | |
|---|
| 991 | -site | --site | --sit) |
|---|
| 992 | ac_prev=site ;; |
|---|
| 993 | -site=* | --site=* | --sit=*) |
|---|
| 994 | site=$ac_optarg ;; |
|---|
| 995 | |
|---|
| 996 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|---|
| 997 | ac_prev=srcdir ;; |
|---|
| 998 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|---|
| 999 | srcdir=$ac_optarg ;; |
|---|
| 1000 | |
|---|
| 1001 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|---|
| 1002 | | --syscon | --sysco | --sysc | --sys | --sy) |
|---|
| 1003 | ac_prev=sysconfdir ;; |
|---|
| 1004 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|---|
| 1005 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|---|
| 1006 | sysconfdir=$ac_optarg ;; |
|---|
| 1007 | |
|---|
| 1008 | -target | --target | --targe | --targ | --tar | --ta | --t) |
|---|
| 1009 | ac_prev=target_alias ;; |
|---|
| 1010 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|---|
| 1011 | target_alias=$ac_optarg ;; |
|---|
| 1012 | |
|---|
| 1013 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|---|
| 1014 | verbose=yes ;; |
|---|
| 1015 | |
|---|
| 1016 | -version | --version | --versio | --versi | --vers | -V) |
|---|
| 1017 | ac_init_version=: ;; |
|---|
| 1018 | |
|---|
| 1019 | -with-* | --with-*) |
|---|
| 1020 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|---|
| 1021 | # Reject names that are not valid shell variable names. |
|---|
| 1022 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|---|
| 1023 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|---|
| 1024 | { (exit 1); exit 1; }; } |
|---|
| 1025 | ac_useropt_orig=$ac_useropt |
|---|
| 1026 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|---|
| 1027 | case $ac_user_opts in |
|---|
| 1028 | *" |
|---|
| 1029 | "with_$ac_useropt" |
|---|
| 1030 | "*) ;; |
|---|
| 1031 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|---|
| 1032 | ac_unrecognized_sep=', ';; |
|---|
| 1033 | esac |
|---|
| 1034 | eval with_$ac_useropt=\$ac_optarg ;; |
|---|
| 1035 | |
|---|
| 1036 | -without-* | --without-*) |
|---|
| 1037 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|---|
| 1038 | # Reject names that are not valid shell variable names. |
|---|
| 1039 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|---|
| 1040 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
|---|
| 1041 | { (exit 1); exit 1; }; } |
|---|
| 1042 | ac_useropt_orig=$ac_useropt |
|---|
| 1043 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|---|
| 1044 | case $ac_user_opts in |
|---|
| 1045 | *" |
|---|
| 1046 | "with_$ac_useropt" |
|---|
| 1047 | "*) ;; |
|---|
| 1048 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|---|
| 1049 | ac_unrecognized_sep=', ';; |
|---|
| 1050 | esac |
|---|
| 1051 | eval with_$ac_useropt=no ;; |
|---|
| 1052 | |
|---|
| 1053 | --x) |
|---|
| 1054 | # Obsolete; use --with-x. |
|---|
| 1055 | with_x=yes ;; |
|---|
| 1056 | |
|---|
| 1057 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|---|
| 1058 | | --x-incl | --x-inc | --x-in | --x-i) |
|---|
| 1059 | ac_prev=x_includes ;; |
|---|
| 1060 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|---|
| 1061 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|---|
| 1062 | x_includes=$ac_optarg ;; |
|---|
| 1063 | |
|---|
| 1064 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|---|
| 1065 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|---|
| 1066 | ac_prev=x_libraries ;; |
|---|
| 1067 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|---|
| 1068 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|---|
| 1069 | x_libraries=$ac_optarg ;; |
|---|
| 1070 | |
|---|
| 1071 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
|---|
| 1072 | Try \`$0 --help' for more information." >&2 |
|---|
| 1073 | { (exit 1); exit 1; }; } |
|---|
| 1074 | ;; |
|---|
| 1075 | |
|---|
| 1076 | *=*) |
|---|
| 1077 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|---|
| 1078 | # Reject names that are not valid shell variable names. |
|---|
| 1079 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|---|
| 1080 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|---|
| 1081 | { (exit 1); exit 1; }; } |
|---|
| 1082 | eval $ac_envvar=\$ac_optarg |
|---|
| 1083 | export $ac_envvar ;; |
|---|
| 1084 | |
|---|
| 1085 | *) |
|---|
| 1086 | # FIXME: should be removed in autoconf 3.0. |
|---|
| 1087 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|---|
| 1088 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|---|
| 1089 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|---|
| 1090 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|---|
| 1091 | ;; |
|---|
| 1092 | |
|---|
| 1093 | esac |
|---|
| 1094 | done |
|---|
| 1095 | |
|---|
| 1096 | if test -n "$ac_prev"; then |
|---|
| 1097 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|---|
| 1098 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
|---|
| 1099 | { (exit 1); exit 1; }; } |
|---|
| 1100 | fi |
|---|
| 1101 | |
|---|
| 1102 | if test -n "$ac_unrecognized_opts"; then |
|---|
| 1103 | case $enable_option_checking in |
|---|
| 1104 | no) ;; |
|---|
| 1105 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
|---|
| 1106 | { (exit 1); exit 1; }; } ;; |
|---|
| 1107 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|---|
| 1108 | esac |
|---|
| 1109 | fi |
|---|
| 1110 | |
|---|
| 1111 | # Check all directory arguments for consistency. |
|---|
| 1112 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|---|
| 1113 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
|---|
| 1114 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|---|
| 1115 | libdir localedir mandir |
|---|
| 1116 | do |
|---|
| 1117 | eval ac_val=\$$ac_var |
|---|
| 1118 | # Remove trailing slashes. |
|---|
| 1119 | case $ac_val in |
|---|
| 1120 | */ ) |
|---|
| 1121 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|---|
| 1122 | eval $ac_var=\$ac_val;; |
|---|
| 1123 | esac |
|---|
| 1124 | # Be sure to have absolute directory names. |
|---|
| 1125 | case $ac_val in |
|---|
| 1126 | [\\/$]* | ?:[\\/]* ) continue;; |
|---|
| 1127 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|---|
| 1128 | esac |
|---|
| 1129 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|---|
| 1130 | { (exit 1); exit 1; }; } |
|---|
| 1131 | done |
|---|
| 1132 | |
|---|
| 1133 | # There might be people who depend on the old broken behavior: `$host' |
|---|
| 1134 | # used to hold the argument of --host etc. |
|---|
| 1135 | # FIXME: To remove some day. |
|---|
| 1136 | build=$build_alias |
|---|
| 1137 | host=$host_alias |
|---|
| 1138 | target=$target_alias |
|---|
| 1139 | |
|---|
| 1140 | # FIXME: To remove some day. |
|---|
| 1141 | if test "x$host_alias" != x; then |
|---|
| 1142 | if test "x$build_alias" = x; then |
|---|
| 1143 | cross_compiling=maybe |
|---|
| 1144 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|---|
| 1145 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|---|
| 1146 | elif test "x$build_alias" != "x$host_alias"; then |
|---|
| 1147 | cross_compiling=yes |
|---|
| 1148 | fi |
|---|
| 1149 | fi |
|---|
| 1150 | |
|---|
| 1151 | ac_tool_prefix= |
|---|
| 1152 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|---|
| 1153 | |
|---|
| 1154 | test "$silent" = yes && exec 6>/dev/null |
|---|
| 1155 | |
|---|
| 1156 | |
|---|
| 1157 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
|---|
| 1158 | ac_ls_di=`ls -di .` && |
|---|
| 1159 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|---|
| 1160 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
|---|
| 1161 | { (exit 1); exit 1; }; } |
|---|
| 1162 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|---|
| 1163 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
|---|
| 1164 | { (exit 1); exit 1; }; } |
|---|
| 1165 | |
|---|
| 1166 | |
|---|
| 1167 | # Find the source files, if location was not specified. |
|---|
| 1168 | if test -z "$srcdir"; then |
|---|
| 1169 | ac_srcdir_defaulted=yes |
|---|
| 1170 | # Try the directory containing this script, then the parent directory. |
|---|
| 1171 | ac_confdir=`$as_dirname -- "$as_myself" || |
|---|
| 1172 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 1173 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
|---|
| 1174 | X"$as_myself" : 'X\(//\)$' \| \ |
|---|
| 1175 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 1176 | $as_echo X"$as_myself" | |
|---|
| 1177 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 1178 | s//\1/ |
|---|
| 1179 | q |
|---|
| 1180 | } |
|---|
| 1181 | /^X\(\/\/\)[^/].*/{ |
|---|
| 1182 | s//\1/ |
|---|
| 1183 | q |
|---|
| 1184 | } |
|---|
| 1185 | /^X\(\/\/\)$/{ |
|---|
| 1186 | s//\1/ |
|---|
| 1187 | q |
|---|
| 1188 | } |
|---|
| 1189 | /^X\(\/\).*/{ |
|---|
| 1190 | s//\1/ |
|---|
| 1191 | q |
|---|
| 1192 | } |
|---|
| 1193 | s/.*/./; q'` |
|---|
| 1194 | srcdir=$ac_confdir |
|---|
| 1195 | if test ! -r "$srcdir/$ac_unique_file"; then |
|---|
| 1196 | srcdir=.. |
|---|
| 1197 | fi |
|---|
| 1198 | else |
|---|
| 1199 | ac_srcdir_defaulted=no |
|---|
| 1200 | fi |
|---|
| 1201 | if test ! -r "$srcdir/$ac_unique_file"; then |
|---|
| 1202 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|---|
| 1203 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|---|
| 1204 | { (exit 1); exit 1; }; } |
|---|
| 1205 | fi |
|---|
| 1206 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|---|
| 1207 | ac_abs_confdir=`( |
|---|
| 1208 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
|---|
| 1209 | { (exit 1); exit 1; }; } |
|---|
| 1210 | pwd)` |
|---|
| 1211 | # When building in place, set srcdir=. |
|---|
| 1212 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
|---|
| 1213 | srcdir=. |
|---|
| 1214 | fi |
|---|
| 1215 | # Remove unnecessary trailing slashes from srcdir. |
|---|
| 1216 | # Double slashes in file names in object file debugging info |
|---|
| 1217 | # mess up M-x gdb in Emacs. |
|---|
| 1218 | case $srcdir in |
|---|
| 1219 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|---|
| 1220 | esac |
|---|
| 1221 | for ac_var in $ac_precious_vars; do |
|---|
| 1222 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|---|
| 1223 | eval ac_env_${ac_var}_value=\$${ac_var} |
|---|
| 1224 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|---|
| 1225 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|---|
| 1226 | done |
|---|
| 1227 | |
|---|
| 1228 | # |
|---|
| 1229 | # Report the --help message. |
|---|
| 1230 | # |
|---|
| 1231 | if test "$ac_init_help" = "long"; then |
|---|
| 1232 | # Omit some internal or obsolete options to make the list less imposing. |
|---|
| 1233 | # This message is too long to be a string in the A/UX 3.1 sh. |
|---|
| 1234 | cat <<_ACEOF |
|---|
| 1235 | \`configure' configures FreeMix 0.1 to adapt to many kinds of systems. |
|---|
| 1236 | |
|---|
| 1237 | Usage: $0 [OPTION]... [VAR=VALUE]... |
|---|
| 1238 | |
|---|
| 1239 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|---|
| 1240 | VAR=VALUE. See below for descriptions of some of the useful variables. |
|---|
| 1241 | |
|---|
| 1242 | Defaults for the options are specified in brackets. |
|---|
| 1243 | |
|---|
| 1244 | Configuration: |
|---|
| 1245 | -h, --help display this help and exit |
|---|
| 1246 | --help=short display options specific to this package |
|---|
| 1247 | --help=recursive display the short help of all the included packages |
|---|
| 1248 | -V, --version display version information and exit |
|---|
| 1249 | -q, --quiet, --silent do not print \`checking...' messages |
|---|
| 1250 | --cache-file=FILE cache test results in FILE [disabled] |
|---|
| 1251 | -C, --config-cache alias for \`--cache-file=config.cache' |
|---|
| 1252 | -n, --no-create do not create output files |
|---|
| 1253 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|---|
| 1254 | |
|---|
| 1255 | Installation directories: |
|---|
| 1256 | --prefix=PREFIX install architecture-independent files in PREFIX |
|---|
| 1257 | [$ac_default_prefix] |
|---|
| 1258 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|---|
| 1259 | [PREFIX] |
|---|
| 1260 | |
|---|
| 1261 | By default, \`make install' will install all the files in |
|---|
| 1262 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|---|
| 1263 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|---|
| 1264 | for instance \`--prefix=\$HOME'. |
|---|
| 1265 | |
|---|
| 1266 | For better control, use the options below. |
|---|
| 1267 | |
|---|
| 1268 | Fine tuning of the installation directories: |
|---|
| 1269 | --bindir=DIR user executables [EPREFIX/bin] |
|---|
| 1270 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
|---|
| 1271 | --libexecdir=DIR program executables [EPREFIX/libexec] |
|---|
| 1272 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|---|
| 1273 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|---|
| 1274 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|---|
| 1275 | --libdir=DIR object code libraries [EPREFIX/lib] |
|---|
| 1276 | --includedir=DIR C header files [PREFIX/include] |
|---|
| 1277 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|---|
| 1278 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|---|
| 1279 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|---|
| 1280 | --infodir=DIR info documentation [DATAROOTDIR/info] |
|---|
| 1281 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|---|
| 1282 | --mandir=DIR man documentation [DATAROOTDIR/man] |
|---|
| 1283 | --docdir=DIR documentation root [DATAROOTDIR/doc/freemix] |
|---|
| 1284 | --htmldir=DIR html documentation [DOCDIR] |
|---|
| 1285 | --dvidir=DIR dvi documentation [DOCDIR] |
|---|
| 1286 | --pdfdir=DIR pdf documentation [DOCDIR] |
|---|
| 1287 | --psdir=DIR ps documentation [DOCDIR] |
|---|
| 1288 | _ACEOF |
|---|
| 1289 | |
|---|
| 1290 | cat <<\_ACEOF |
|---|
| 1291 | |
|---|
| 1292 | Program names: |
|---|
| 1293 | --program-prefix=PREFIX prepend PREFIX to installed program names |
|---|
| 1294 | --program-suffix=SUFFIX append SUFFIX to installed program names |
|---|
| 1295 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|---|
| 1296 | _ACEOF |
|---|
| 1297 | fi |
|---|
| 1298 | |
|---|
| 1299 | if test -n "$ac_init_help"; then |
|---|
| 1300 | case $ac_init_help in |
|---|
| 1301 | short | recursive ) echo "Configuration of FreeMix 0.1:";; |
|---|
| 1302 | esac |
|---|
| 1303 | cat <<\_ACEOF |
|---|
| 1304 | |
|---|
| 1305 | Some influential environment variables: |
|---|
| 1306 | PKG_CONFIG path to pkg-config utility |
|---|
| 1307 | GNET_CFLAGS C compiler flags for GNET, overriding pkg-config |
|---|
| 1308 | GNET_LIBS linker flags for GNET, overriding pkg-config |
|---|
| 1309 | |
|---|
| 1310 | Use these variables to override the choices made by `configure' or to help |
|---|
| 1311 | it to find libraries and programs with nonstandard names/locations. |
|---|
| 1312 | |
|---|
| 1313 | Report bugs to <alberto.botti@yoda2000.net>. |
|---|
| 1314 | _ACEOF |
|---|
| 1315 | ac_status=$? |
|---|
| 1316 | fi |
|---|
| 1317 | |
|---|
| 1318 | if test "$ac_init_help" = "recursive"; then |
|---|
| 1319 | # If there are subdirs, report their specific --help. |
|---|
| 1320 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|---|
| 1321 | test -d "$ac_dir" || |
|---|
| 1322 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|---|
| 1323 | continue |
|---|
| 1324 | ac_builddir=. |
|---|
| 1325 | |
|---|
| 1326 | case "$ac_dir" in |
|---|
| 1327 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 1328 | *) |
|---|
| 1329 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|---|
| 1330 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 1331 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|---|
| 1332 | case $ac_top_builddir_sub in |
|---|
| 1333 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 1334 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 1335 | esac ;; |
|---|
| 1336 | esac |
|---|
| 1337 | ac_abs_top_builddir=$ac_pwd |
|---|
| 1338 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 1339 | # for backward compatibility: |
|---|
| 1340 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 1341 | |
|---|
| 1342 | case $srcdir in |
|---|
| 1343 | .) # We are building in place. |
|---|
| 1344 | ac_srcdir=. |
|---|
| 1345 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 1346 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 1347 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 1348 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 1349 | ac_top_srcdir=$srcdir |
|---|
| 1350 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 1351 | *) # Relative name. |
|---|
| 1352 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 1353 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 1354 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 1355 | esac |
|---|
| 1356 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 1357 | |
|---|
| 1358 | cd "$ac_dir" || { ac_status=$?; continue; } |
|---|
| 1359 | # Check for guested configure. |
|---|
| 1360 | if test -f "$ac_srcdir/configure.gnu"; then |
|---|
| 1361 | echo && |
|---|
| 1362 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|---|
| 1363 | elif test -f "$ac_srcdir/configure"; then |
|---|
| 1364 | echo && |
|---|
| 1365 | $SHELL "$ac_srcdir/configure" --help=recursive |
|---|
| 1366 | else |
|---|
| 1367 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|---|
| 1368 | fi || ac_status=$? |
|---|
| 1369 | cd "$ac_pwd" || { ac_status=$?; break; } |
|---|
| 1370 | done |
|---|
| 1371 | fi |
|---|
| 1372 | |
|---|
| 1373 | test -n "$ac_init_help" && exit $ac_status |
|---|
| 1374 | if $ac_init_version; then |
|---|
| 1375 | cat <<\_ACEOF |
|---|
| 1376 | FreeMix configure 0.1 |
|---|
| 1377 | generated by GNU Autoconf 2.63 |
|---|
| 1378 | |
|---|
| 1379 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|---|
| 1380 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
|---|
| 1381 | This configure script is free software; the Free Software Foundation |
|---|
| 1382 | gives unlimited permission to copy, distribute and modify it. |
|---|
| 1383 | _ACEOF |
|---|
| 1384 | exit |
|---|
| 1385 | fi |
|---|
| 1386 | cat >config.log <<_ACEOF |
|---|
| 1387 | This file contains any messages produced by compilers while |
|---|
| 1388 | running configure, to aid debugging if configure makes a mistake. |
|---|
| 1389 | |
|---|
| 1390 | It was created by FreeMix $as_me 0.1, which was |
|---|
| 1391 | generated by GNU Autoconf 2.63. Invocation command line was |
|---|
| 1392 | |
|---|
| 1393 | $ $0 $@ |
|---|
| 1394 | |
|---|
| 1395 | _ACEOF |
|---|
| 1396 | exec 5>>config.log |
|---|
| 1397 | { |
|---|
| 1398 | cat <<_ASUNAME |
|---|
| 1399 | ## --------- ## |
|---|
| 1400 | ## Platform. ## |
|---|
| 1401 | ## --------- ## |
|---|
| 1402 | |
|---|
| 1403 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 1404 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|---|
| 1405 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|---|
| 1406 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|---|
| 1407 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|---|
| 1408 | |
|---|
| 1409 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|---|
| 1410 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|---|
| 1411 | |
|---|
| 1412 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|---|
| 1413 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|---|
| 1414 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|---|
| 1415 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|---|
| 1416 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|---|
| 1417 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|---|
| 1418 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|---|
| 1419 | |
|---|
| 1420 | _ASUNAME |
|---|
| 1421 | |
|---|
| 1422 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1423 | for as_dir in $PATH |
|---|
| 1424 | do |
|---|
| 1425 | IFS=$as_save_IFS |
|---|
| 1426 | test -z "$as_dir" && as_dir=. |
|---|
| 1427 | $as_echo "PATH: $as_dir" |
|---|
| 1428 | done |
|---|
| 1429 | IFS=$as_save_IFS |
|---|
| 1430 | |
|---|
| 1431 | } >&5 |
|---|
| 1432 | |
|---|
| 1433 | cat >&5 <<_ACEOF |
|---|
| 1434 | |
|---|
| 1435 | |
|---|
| 1436 | ## ----------- ## |
|---|
| 1437 | ## Core tests. ## |
|---|
| 1438 | ## ----------- ## |
|---|
| 1439 | |
|---|
| 1440 | _ACEOF |
|---|
| 1441 | |
|---|
| 1442 | |
|---|
| 1443 | # Keep a trace of the command line. |
|---|
| 1444 | # Strip out --no-create and --no-recursion so they do not pile up. |
|---|
| 1445 | # Strip out --silent because we don't want to record it for future runs. |
|---|
| 1446 | # Also quote any args containing shell meta-characters. |
|---|
| 1447 | # Make two passes to allow for proper duplicate-argument suppression. |
|---|
| 1448 | ac_configure_args= |
|---|
| 1449 | ac_configure_args0= |
|---|
| 1450 | ac_configure_args1= |
|---|
| 1451 | ac_must_keep_next=false |
|---|
| 1452 | for ac_pass in 1 2 |
|---|
| 1453 | do |
|---|
| 1454 | for ac_arg |
|---|
| 1455 | do |
|---|
| 1456 | case $ac_arg in |
|---|
| 1457 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|---|
| 1458 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 1459 | | -silent | --silent | --silen | --sile | --sil) |
|---|
| 1460 | continue ;; |
|---|
| 1461 | *\'*) |
|---|
| 1462 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 1463 | esac |
|---|
| 1464 | case $ac_pass in |
|---|
| 1465 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|---|
| 1466 | 2) |
|---|
| 1467 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|---|
| 1468 | if test $ac_must_keep_next = true; then |
|---|
| 1469 | ac_must_keep_next=false # Got value, back to normal. |
|---|
| 1470 | else |
|---|
| 1471 | case $ac_arg in |
|---|
| 1472 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
|---|
| 1473 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|---|
| 1474 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|---|
| 1475 | | -with-* | --with-* | -without-* | --without-* | --x) |
|---|
| 1476 | case "$ac_configure_args0 " in |
|---|
| 1477 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|---|
| 1478 | esac |
|---|
| 1479 | ;; |
|---|
| 1480 | -* ) ac_must_keep_next=true ;; |
|---|
| 1481 | esac |
|---|
| 1482 | fi |
|---|
| 1483 | ac_configure_args="$ac_configure_args '$ac_arg'" |
|---|
| 1484 | ;; |
|---|
| 1485 | esac |
|---|
| 1486 | done |
|---|
| 1487 | done |
|---|
| 1488 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|---|
| 1489 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|---|
| 1490 | |
|---|
| 1491 | # When interrupted or exit'd, cleanup temporary files, and complete |
|---|
| 1492 | # config.log. We remove comments because anyway the quotes in there |
|---|
| 1493 | # would cause problems or look ugly. |
|---|
| 1494 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
|---|
| 1495 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|---|
| 1496 | trap 'exit_status=$? |
|---|
| 1497 | # Save into config.log some information that might help in debugging. |
|---|
| 1498 | { |
|---|
| 1499 | echo |
|---|
| 1500 | |
|---|
| 1501 | cat <<\_ASBOX |
|---|
| 1502 | ## ---------------- ## |
|---|
| 1503 | ## Cache variables. ## |
|---|
| 1504 | ## ---------------- ## |
|---|
| 1505 | _ASBOX |
|---|
| 1506 | echo |
|---|
| 1507 | # The following way of writing the cache mishandles newlines in values, |
|---|
| 1508 | ( |
|---|
| 1509 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|---|
| 1510 | eval ac_val=\$$ac_var |
|---|
| 1511 | case $ac_val in #( |
|---|
| 1512 | *${as_nl}*) |
|---|
| 1513 | case $ac_var in #( |
|---|
| 1514 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
|---|
| 1515 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|---|
| 1516 | esac |
|---|
| 1517 | case $ac_var in #( |
|---|
| 1518 | _ | IFS | as_nl) ;; #( |
|---|
| 1519 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|---|
| 1520 | *) $as_unset $ac_var ;; |
|---|
| 1521 | esac ;; |
|---|
| 1522 | esac |
|---|
| 1523 | done |
|---|
| 1524 | (set) 2>&1 | |
|---|
| 1525 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|---|
| 1526 | *${as_nl}ac_space=\ *) |
|---|
| 1527 | sed -n \ |
|---|
| 1528 | "s/'\''/'\''\\\\'\'''\''/g; |
|---|
| 1529 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|---|
| 1530 | ;; #( |
|---|
| 1531 | *) |
|---|
| 1532 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|---|
| 1533 | ;; |
|---|
| 1534 | esac | |
|---|
| 1535 | sort |
|---|
| 1536 | ) |
|---|
| 1537 | echo |
|---|
| 1538 | |
|---|
| 1539 | cat <<\_ASBOX |
|---|
| 1540 | ## ----------------- ## |
|---|
| 1541 | ## Output variables. ## |
|---|
| 1542 | ## ----------------- ## |
|---|
| 1543 | _ASBOX |
|---|
| 1544 | echo |
|---|
| 1545 | for ac_var in $ac_subst_vars |
|---|
| 1546 | do |
|---|
| 1547 | eval ac_val=\$$ac_var |
|---|
| 1548 | case $ac_val in |
|---|
| 1549 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|---|
| 1550 | esac |
|---|
| 1551 | $as_echo "$ac_var='\''$ac_val'\''" |
|---|
| 1552 | done | sort |
|---|
| 1553 | echo |
|---|
| 1554 | |
|---|
| 1555 | if test -n "$ac_subst_files"; then |
|---|
| 1556 | cat <<\_ASBOX |
|---|
| 1557 | ## ------------------- ## |
|---|
| 1558 | ## File substitutions. ## |
|---|
| 1559 | ## ------------------- ## |
|---|
| 1560 | _ASBOX |
|---|
| 1561 | echo |
|---|
| 1562 | for ac_var in $ac_subst_files |
|---|
| 1563 | do |
|---|
| 1564 | eval ac_val=\$$ac_var |
|---|
| 1565 | case $ac_val in |
|---|
| 1566 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|---|
| 1567 | esac |
|---|
| 1568 | $as_echo "$ac_var='\''$ac_val'\''" |
|---|
| 1569 | done | sort |
|---|
| 1570 | echo |
|---|
| 1571 | fi |
|---|
| 1572 | |
|---|
| 1573 | if test -s confdefs.h; then |
|---|
| 1574 | cat <<\_ASBOX |
|---|
| 1575 | ## ----------- ## |
|---|
| 1576 | ## confdefs.h. ## |
|---|
| 1577 | ## ----------- ## |
|---|
| 1578 | _ASBOX |
|---|
| 1579 | echo |
|---|
| 1580 | cat confdefs.h |
|---|
| 1581 | echo |
|---|
| 1582 | fi |
|---|
| 1583 | test "$ac_signal" != 0 && |
|---|
| 1584 | $as_echo "$as_me: caught signal $ac_signal" |
|---|
| 1585 | $as_echo "$as_me: exit $exit_status" |
|---|
| 1586 | } >&5 |
|---|
| 1587 | rm -f core *.core core.conftest.* && |
|---|
| 1588 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|---|
| 1589 | exit $exit_status |
|---|
| 1590 | ' 0 |
|---|
| 1591 | for ac_signal in 1 2 13 15; do |
|---|
| 1592 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|---|
| 1593 | done |
|---|
| 1594 | ac_signal=0 |
|---|
| 1595 | |
|---|
| 1596 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|---|
| 1597 | rm -f -r conftest* confdefs.h |
|---|
| 1598 | |
|---|
| 1599 | # Predefined preprocessor variables. |
|---|
| 1600 | |
|---|
| 1601 | cat >>confdefs.h <<_ACEOF |
|---|
| 1602 | #define PACKAGE_NAME "$PACKAGE_NAME" |
|---|
| 1603 | _ACEOF |
|---|
| 1604 | |
|---|
| 1605 | |
|---|
| 1606 | cat >>confdefs.h <<_ACEOF |
|---|
| 1607 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|---|
| 1608 | _ACEOF |
|---|
| 1609 | |
|---|
| 1610 | |
|---|
| 1611 | cat >>confdefs.h <<_ACEOF |
|---|
| 1612 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|---|
| 1613 | _ACEOF |
|---|
| 1614 | |
|---|
| 1615 | |
|---|
| 1616 | cat >>confdefs.h <<_ACEOF |
|---|
| 1617 | #define PACKAGE_STRING "$PACKAGE_STRING" |
|---|
| 1618 | _ACEOF |
|---|
| 1619 | |
|---|
| 1620 | |
|---|
| 1621 | cat >>confdefs.h <<_ACEOF |
|---|
| 1622 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|---|
| 1623 | _ACEOF |
|---|
| 1624 | |
|---|
| 1625 | |
|---|
| 1626 | # Let the site file select an alternate cache file if it wants to. |
|---|
| 1627 | # Prefer an explicitly selected file to automatically selected ones. |
|---|
| 1628 | ac_site_file1=NONE |
|---|
| 1629 | ac_site_file2=NONE |
|---|
| 1630 | if test -n "$CONFIG_SITE"; then |
|---|
| 1631 | ac_site_file1=$CONFIG_SITE |
|---|
| 1632 | elif test "x$prefix" != xNONE; then |
|---|
| 1633 | ac_site_file1=$prefix/share/config.site |
|---|
| 1634 | ac_site_file2=$prefix/etc/config.site |
|---|
| 1635 | else |
|---|
| 1636 | ac_site_file1=$ac_default_prefix/share/config.site |
|---|
| 1637 | ac_site_file2=$ac_default_prefix/etc/config.site |
|---|
| 1638 | fi |
|---|
| 1639 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|---|
| 1640 | do |
|---|
| 1641 | test "x$ac_site_file" = xNONE && continue |
|---|
| 1642 | if test -r "$ac_site_file"; then |
|---|
| 1643 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
|---|
| 1644 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|---|
| 1645 | sed 's/^/| /' "$ac_site_file" >&5 |
|---|
| 1646 | . "$ac_site_file" |
|---|
| 1647 | fi |
|---|
| 1648 | done |
|---|
| 1649 | |
|---|
| 1650 | if test -r "$cache_file"; then |
|---|
| 1651 | # Some versions of bash will fail to source /dev/null (special |
|---|
| 1652 | # files actually), so we avoid doing that. |
|---|
| 1653 | if test -f "$cache_file"; then |
|---|
| 1654 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
|---|
| 1655 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
|---|
| 1656 | case $cache_file in |
|---|
| 1657 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
|---|
| 1658 | *) . "./$cache_file";; |
|---|
| 1659 | esac |
|---|
| 1660 | fi |
|---|
| 1661 | else |
|---|
| 1662 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|---|
| 1663 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
|---|
| 1664 | >$cache_file |
|---|
| 1665 | fi |
|---|
| 1666 | |
|---|
| 1667 | # Check that the precious variables saved in the cache have kept the same |
|---|
| 1668 | # value. |
|---|
| 1669 | ac_cache_corrupted=false |
|---|
| 1670 | for ac_var in $ac_precious_vars; do |
|---|
| 1671 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|---|
| 1672 | eval ac_new_set=\$ac_env_${ac_var}_set |
|---|
| 1673 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|---|
| 1674 | eval ac_new_val=\$ac_env_${ac_var}_value |
|---|
| 1675 | case $ac_old_set,$ac_new_set in |
|---|
| 1676 | set,) |
|---|
| 1677 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|---|
| 1678 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|---|
| 1679 | ac_cache_corrupted=: ;; |
|---|
| 1680 | ,set) |
|---|
| 1681 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|---|
| 1682 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|---|
| 1683 | ac_cache_corrupted=: ;; |
|---|
| 1684 | ,);; |
|---|
| 1685 | *) |
|---|
| 1686 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|---|
| 1687 | # differences in whitespace do not lead to failure. |
|---|
| 1688 | ac_old_val_w=`echo x $ac_old_val` |
|---|
| 1689 | ac_new_val_w=`echo x $ac_new_val` |
|---|
| 1690 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|---|
| 1691 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|---|
| 1692 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|---|
| 1693 | ac_cache_corrupted=: |
|---|
| 1694 | else |
|---|
| 1695 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|---|
| 1696 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|---|
| 1697 | eval $ac_var=\$ac_old_val |
|---|
| 1698 | fi |
|---|
| 1699 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
|---|
| 1700 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|---|
| 1701 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
|---|
| 1702 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|---|
| 1703 | fi;; |
|---|
| 1704 | esac |
|---|
| 1705 | # Pass precious variables to config.status. |
|---|
| 1706 | if test "$ac_new_set" = set; then |
|---|
| 1707 | case $ac_new_val in |
|---|
| 1708 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 1709 | *) ac_arg=$ac_var=$ac_new_val ;; |
|---|
| 1710 | esac |
|---|
| 1711 | case " $ac_configure_args " in |
|---|
| 1712 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|---|
| 1713 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|---|
| 1714 | esac |
|---|
| 1715 | fi |
|---|
| 1716 | done |
|---|
| 1717 | if $ac_cache_corrupted; then |
|---|
| 1718 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|---|
| 1719 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|---|
| 1720 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|---|
| 1721 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|---|
| 1722 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|---|
| 1723 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|---|
| 1724 | { (exit 1); exit 1; }; } |
|---|
| 1725 | fi |
|---|
| 1726 | |
|---|
| 1727 | |
|---|
| 1728 | |
|---|
| 1729 | |
|---|
| 1730 | |
|---|
| 1731 | |
|---|
| 1732 | |
|---|
| 1733 | |
|---|
| 1734 | |
|---|
| 1735 | |
|---|
| 1736 | |
|---|
| 1737 | |
|---|
| 1738 | |
|---|
| 1739 | |
|---|
| 1740 | |
|---|
| 1741 | |
|---|
| 1742 | |
|---|
| 1743 | |
|---|
| 1744 | |
|---|
| 1745 | |
|---|
| 1746 | |
|---|
| 1747 | |
|---|
| 1748 | |
|---|
| 1749 | |
|---|
| 1750 | |
|---|
| 1751 | ac_ext=c |
|---|
| 1752 | ac_cpp='$CPP $CPPFLAGS' |
|---|
| 1753 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|---|
| 1754 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|---|
| 1755 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|---|
| 1756 | |
|---|
| 1757 | |
|---|
| 1758 | ac_aux_dir= |
|---|
| 1759 | for ac_dir in . "$srcdir"/.; do |
|---|
| 1760 | if test -f "$ac_dir/install-sh"; then |
|---|
| 1761 | ac_aux_dir=$ac_dir |
|---|
| 1762 | ac_install_sh="$ac_aux_dir/install-sh -c" |
|---|
| 1763 | break |
|---|
| 1764 | elif test -f "$ac_dir/install.sh"; then |
|---|
| 1765 | ac_aux_dir=$ac_dir |
|---|
| 1766 | ac_install_sh="$ac_aux_dir/install.sh -c" |
|---|
| 1767 | break |
|---|
| 1768 | elif test -f "$ac_dir/shtool"; then |
|---|
| 1769 | ac_aux_dir=$ac_dir |
|---|
| 1770 | ac_install_sh="$ac_aux_dir/shtool install -c" |
|---|
| 1771 | break |
|---|
| 1772 | fi |
|---|
| 1773 | done |
|---|
| 1774 | if test -z "$ac_aux_dir"; then |
|---|
| 1775 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5 |
|---|
| 1776 | $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;} |
|---|
| 1777 | { (exit 1); exit 1; }; } |
|---|
| 1778 | fi |
|---|
| 1779 | |
|---|
| 1780 | # These three variables are undocumented and unsupported, |
|---|
| 1781 | # and are intended to be withdrawn in a future Autoconf release. |
|---|
| 1782 | # They can cause serious problems if a builder's source tree is in a directory |
|---|
| 1783 | # whose full name contains unusual characters. |
|---|
| 1784 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|---|
| 1785 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|---|
| 1786 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|---|
| 1787 | |
|---|
| 1788 | |
|---|
| 1789 | am__api_version='1.10' |
|---|
| 1790 | |
|---|
| 1791 | # Find a good install program. We prefer a C program (faster), |
|---|
| 1792 | # so one script is as good as another. But avoid the broken or |
|---|
| 1793 | # incompatible versions: |
|---|
| 1794 | # SysV /etc/install, /usr/sbin/install |
|---|
| 1795 | # SunOS /usr/etc/install |
|---|
| 1796 | # IRIX /sbin/install |
|---|
| 1797 | # AIX /bin/install |
|---|
| 1798 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
|---|
| 1799 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|---|
| 1800 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|---|
| 1801 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|---|
| 1802 | # OS/2's system install, which has a completely different semantic |
|---|
| 1803 | # ./install, which can be erroneously created by make from ./install.sh. |
|---|
| 1804 | # Reject install programs that cannot install multiple files. |
|---|
| 1805 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|---|
| 1806 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
|---|
| 1807 | if test -z "$INSTALL"; then |
|---|
| 1808 | if test "${ac_cv_path_install+set}" = set; then |
|---|
| 1809 | $as_echo_n "(cached) " >&6 |
|---|
| 1810 | else |
|---|
| 1811 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1812 | for as_dir in $PATH |
|---|
| 1813 | do |
|---|
| 1814 | IFS=$as_save_IFS |
|---|
| 1815 | test -z "$as_dir" && as_dir=. |
|---|
| 1816 | # Account for people who put trailing slashes in PATH elements. |
|---|
| 1817 | case $as_dir/ in |
|---|
| 1818 | ./ | .// | /cC/* | \ |
|---|
| 1819 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|---|
| 1820 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|---|
| 1821 | /usr/ucb/* ) ;; |
|---|
| 1822 | *) |
|---|
| 1823 | # OSF1 and SCO ODT 3.0 have their own names for install. |
|---|
| 1824 | # Don't use installbsd from OSF since it installs stuff as root |
|---|
| 1825 | # by default. |
|---|
| 1826 | for ac_prog in ginstall scoinst install; do |
|---|
| 1827 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1828 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
|---|
| 1829 | if test $ac_prog = install && |
|---|
| 1830 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|---|
| 1831 | # AIX install. It has an incompatible calling convention. |
|---|
| 1832 | : |
|---|
| 1833 | elif test $ac_prog = install && |
|---|
| 1834 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|---|
| 1835 | # program-specific install script used by HP pwplus--don't use. |
|---|
| 1836 | : |
|---|
| 1837 | else |
|---|
| 1838 | rm -rf conftest.one conftest.two conftest.dir |
|---|
| 1839 | echo one > conftest.one |
|---|
| 1840 | echo two > conftest.two |
|---|
| 1841 | mkdir conftest.dir |
|---|
| 1842 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|---|
| 1843 | test -s conftest.one && test -s conftest.two && |
|---|
| 1844 | test -s conftest.dir/conftest.one && |
|---|
| 1845 | test -s conftest.dir/conftest.two |
|---|
| 1846 | then |
|---|
| 1847 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|---|
| 1848 | break 3 |
|---|
| 1849 | fi |
|---|
| 1850 | fi |
|---|
| 1851 | fi |
|---|
| 1852 | done |
|---|
| 1853 | done |
|---|
| 1854 | ;; |
|---|
| 1855 | esac |
|---|
| 1856 | |
|---|
| 1857 | done |
|---|
| 1858 | IFS=$as_save_IFS |
|---|
| 1859 | |
|---|
| 1860 | rm -rf conftest.one conftest.two conftest.dir |
|---|
| 1861 | |
|---|
| 1862 | fi |
|---|
| 1863 | if test "${ac_cv_path_install+set}" = set; then |
|---|
| 1864 | INSTALL=$ac_cv_path_install |
|---|
| 1865 | else |
|---|
| 1866 | # As a last resort, use the slow shell script. Don't cache a |
|---|
| 1867 | # value for INSTALL within a source directory, because that will |
|---|
| 1868 | # break other packages using the cache if that directory is |
|---|
| 1869 | # removed, or if the value is a relative name. |
|---|
| 1870 | INSTALL=$ac_install_sh |
|---|
| 1871 | fi |
|---|
| 1872 | fi |
|---|
| 1873 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|---|
| 1874 | $as_echo "$INSTALL" >&6; } |
|---|
| 1875 | |
|---|
| 1876 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|---|
| 1877 | # It thinks the first close brace ends the variable substitution. |
|---|
| 1878 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|---|
| 1879 | |
|---|
| 1880 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|---|
| 1881 | |
|---|
| 1882 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|---|
| 1883 | |
|---|
| 1884 | { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
|---|
| 1885 | $as_echo_n "checking whether build environment is sane... " >&6; } |
|---|
| 1886 | # Just in case |
|---|
| 1887 | sleep 1 |
|---|
| 1888 | echo timestamp > conftest.file |
|---|
| 1889 | # Do `set' in a subshell so we don't clobber the current shell's |
|---|
| 1890 | # arguments. Must try -L first in case configure is actually a |
|---|
| 1891 | # symlink; some systems play weird games with the mod time of symlinks |
|---|
| 1892 | # (eg FreeBSD returns the mod time of the symlink's containing |
|---|
| 1893 | # directory). |
|---|
| 1894 | if ( |
|---|
| 1895 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|---|
| 1896 | if test "$*" = "X"; then |
|---|
| 1897 | # -L didn't work. |
|---|
| 1898 | set X `ls -t $srcdir/configure conftest.file` |
|---|
| 1899 | fi |
|---|
| 1900 | rm -f conftest.file |
|---|
| 1901 | if test "$*" != "X $srcdir/configure conftest.file" \ |
|---|
| 1902 | && test "$*" != "X conftest.file $srcdir/configure"; then |
|---|
| 1903 | |
|---|
| 1904 | # If neither matched, then we have a broken ls. This can happen |
|---|
| 1905 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
|---|
| 1906 | # broken ls alias from the environment. This has actually |
|---|
| 1907 | # happened. Such a system could not be considered "sane". |
|---|
| 1908 | { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|---|
| 1909 | alias in your environment" >&5 |
|---|
| 1910 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
|---|
| 1911 | alias in your environment" >&2;} |
|---|
| 1912 | { (exit 1); exit 1; }; } |
|---|
| 1913 | fi |
|---|
| 1914 | |
|---|
| 1915 | test "$2" = conftest.file |
|---|
| 1916 | ) |
|---|
| 1917 | then |
|---|
| 1918 | # Ok. |
|---|
| 1919 | : |
|---|
| 1920 | else |
|---|
| 1921 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|---|
| 1922 | Check your system clock" >&5 |
|---|
| 1923 | $as_echo "$as_me: error: newly created file is older than distributed files! |
|---|
| 1924 | Check your system clock" >&2;} |
|---|
| 1925 | { (exit 1); exit 1; }; } |
|---|
| 1926 | fi |
|---|
| 1927 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 1928 | $as_echo "yes" >&6; } |
|---|
| 1929 | test "$program_prefix" != NONE && |
|---|
| 1930 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|---|
| 1931 | # Use a double $ so make ignores it. |
|---|
| 1932 | test "$program_suffix" != NONE && |
|---|
| 1933 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|---|
| 1934 | # Double any \ or $. |
|---|
| 1935 | # By default was `s,x,x', remove it if useless. |
|---|
| 1936 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|---|
| 1937 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|---|
| 1938 | |
|---|
| 1939 | # expand $ac_aux_dir to an absolute path |
|---|
| 1940 | am_aux_dir=`cd $ac_aux_dir && pwd` |
|---|
| 1941 | |
|---|
| 1942 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|---|
| 1943 | # Use eval to expand $SHELL |
|---|
| 1944 | if eval "$MISSING --run true"; then |
|---|
| 1945 | am_missing_run="$MISSING --run " |
|---|
| 1946 | else |
|---|
| 1947 | am_missing_run= |
|---|
| 1948 | { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
|---|
| 1949 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|---|
| 1950 | fi |
|---|
| 1951 | |
|---|
| 1952 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
|---|
| 1953 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|---|
| 1954 | if test -z "$MKDIR_P"; then |
|---|
| 1955 | if test "${ac_cv_path_mkdir+set}" = set; then |
|---|
| 1956 | $as_echo_n "(cached) " >&6 |
|---|
| 1957 | else |
|---|
| 1958 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 1959 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|---|
| 1960 | do |
|---|
| 1961 | IFS=$as_save_IFS |
|---|
| 1962 | test -z "$as_dir" && as_dir=. |
|---|
| 1963 | for ac_prog in mkdir gmkdir; do |
|---|
| 1964 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 1965 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
|---|
| 1966 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|---|
| 1967 | 'mkdir (GNU coreutils) '* | \ |
|---|
| 1968 | 'mkdir (coreutils) '* | \ |
|---|
| 1969 | 'mkdir (fileutils) '4.1*) |
|---|
| 1970 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|---|
| 1971 | break 3;; |
|---|
| 1972 | esac |
|---|
| 1973 | done |
|---|
| 1974 | done |
|---|
| 1975 | done |
|---|
| 1976 | IFS=$as_save_IFS |
|---|
| 1977 | |
|---|
| 1978 | fi |
|---|
| 1979 | |
|---|
| 1980 | if test "${ac_cv_path_mkdir+set}" = set; then |
|---|
| 1981 | MKDIR_P="$ac_cv_path_mkdir -p" |
|---|
| 1982 | else |
|---|
| 1983 | # As a last resort, use the slow shell script. Don't cache a |
|---|
| 1984 | # value for MKDIR_P within a source directory, because that will |
|---|
| 1985 | # break other packages using the cache if that directory is |
|---|
| 1986 | # removed, or if the value is a relative name. |
|---|
| 1987 | test -d ./--version && rmdir ./--version |
|---|
| 1988 | MKDIR_P="$ac_install_sh -d" |
|---|
| 1989 | fi |
|---|
| 1990 | fi |
|---|
| 1991 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
|---|
| 1992 | $as_echo "$MKDIR_P" >&6; } |
|---|
| 1993 | |
|---|
| 1994 | mkdir_p="$MKDIR_P" |
|---|
| 1995 | case $mkdir_p in |
|---|
| 1996 | [\\/$]* | ?:[\\/]*) ;; |
|---|
| 1997 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|---|
| 1998 | esac |
|---|
| 1999 | |
|---|
| 2000 | for ac_prog in gawk mawk nawk awk |
|---|
| 2001 | do |
|---|
| 2002 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|---|
| 2003 | set dummy $ac_prog; ac_word=$2 |
|---|
| 2004 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2005 | $as_echo_n "checking for $ac_word... " >&6; } |
|---|
| 2006 | if test "${ac_cv_prog_AWK+set}" = set; then |
|---|
| 2007 | $as_echo_n "(cached) " >&6 |
|---|
| 2008 | else |
|---|
| 2009 | if test -n "$AWK"; then |
|---|
| 2010 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|---|
| 2011 | else |
|---|
| 2012 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2013 | for as_dir in $PATH |
|---|
| 2014 | do |
|---|
| 2015 | IFS=$as_save_IFS |
|---|
| 2016 | test -z "$as_dir" && as_dir=. |
|---|
| 2017 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2018 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2019 | ac_cv_prog_AWK="$ac_prog" |
|---|
| 2020 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2021 | break 2 |
|---|
| 2022 | fi |
|---|
| 2023 | done |
|---|
| 2024 | done |
|---|
| 2025 | IFS=$as_save_IFS |
|---|
| 2026 | |
|---|
| 2027 | fi |
|---|
| 2028 | fi |
|---|
| 2029 | AWK=$ac_cv_prog_AWK |
|---|
| 2030 | if test -n "$AWK"; then |
|---|
| 2031 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
|---|
| 2032 | $as_echo "$AWK" >&6; } |
|---|
| 2033 | else |
|---|
| 2034 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2035 | $as_echo "no" >&6; } |
|---|
| 2036 | fi |
|---|
| 2037 | |
|---|
| 2038 | |
|---|
| 2039 | test -n "$AWK" && break |
|---|
| 2040 | done |
|---|
| 2041 | |
|---|
| 2042 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|---|
| 2043 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|---|
| 2044 | set x ${MAKE-make} |
|---|
| 2045 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|---|
| 2046 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
|---|
| 2047 | $as_echo_n "(cached) " >&6 |
|---|
| 2048 | else |
|---|
| 2049 | cat >conftest.make <<\_ACEOF |
|---|
| 2050 | SHELL = /bin/sh |
|---|
| 2051 | all: |
|---|
| 2052 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
|---|
| 2053 | _ACEOF |
|---|
| 2054 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|---|
| 2055 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|---|
| 2056 | *@@@%%%=?*=@@@%%%*) |
|---|
| 2057 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
|---|
| 2058 | *) |
|---|
| 2059 | eval ac_cv_prog_make_${ac_make}_set=no;; |
|---|
| 2060 | esac |
|---|
| 2061 | rm -f conftest.make |
|---|
| 2062 | fi |
|---|
| 2063 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|---|
| 2064 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2065 | $as_echo "yes" >&6; } |
|---|
| 2066 | SET_MAKE= |
|---|
| 2067 | else |
|---|
| 2068 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2069 | $as_echo "no" >&6; } |
|---|
| 2070 | SET_MAKE="MAKE=${MAKE-make}" |
|---|
| 2071 | fi |
|---|
| 2072 | |
|---|
| 2073 | rm -rf .tst 2>/dev/null |
|---|
| 2074 | mkdir .tst 2>/dev/null |
|---|
| 2075 | if test -d .tst; then |
|---|
| 2076 | am__leading_dot=. |
|---|
| 2077 | else |
|---|
| 2078 | am__leading_dot=_ |
|---|
| 2079 | fi |
|---|
| 2080 | rmdir .tst 2>/dev/null |
|---|
| 2081 | |
|---|
| 2082 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|---|
| 2083 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|---|
| 2084 | # is not polluted with repeated "-I." |
|---|
| 2085 | am__isrc=' -I$(srcdir)' |
|---|
| 2086 | # test to see if srcdir already configured |
|---|
| 2087 | if test -f $srcdir/config.status; then |
|---|
| 2088 | { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|---|
| 2089 | $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|---|
| 2090 | { (exit 1); exit 1; }; } |
|---|
| 2091 | fi |
|---|
| 2092 | fi |
|---|
| 2093 | |
|---|
| 2094 | # test whether we have cygpath |
|---|
| 2095 | if test -z "$CYGPATH_W"; then |
|---|
| 2096 | if (cygpath --version) >/dev/null 2>/dev/null; then |
|---|
| 2097 | CYGPATH_W='cygpath -w' |
|---|
| 2098 | else |
|---|
| 2099 | CYGPATH_W=echo |
|---|
| 2100 | fi |
|---|
| 2101 | fi |
|---|
| 2102 | |
|---|
| 2103 | |
|---|
| 2104 | # Define the identity of the package. |
|---|
| 2105 | PACKAGE='freemix' |
|---|
| 2106 | VERSION='0.1' |
|---|
| 2107 | |
|---|
| 2108 | |
|---|
| 2109 | cat >>confdefs.h <<_ACEOF |
|---|
| 2110 | #define PACKAGE "$PACKAGE" |
|---|
| 2111 | _ACEOF |
|---|
| 2112 | |
|---|
| 2113 | |
|---|
| 2114 | cat >>confdefs.h <<_ACEOF |
|---|
| 2115 | #define VERSION "$VERSION" |
|---|
| 2116 | _ACEOF |
|---|
| 2117 | |
|---|
| 2118 | # Some tools Automake needs. |
|---|
| 2119 | |
|---|
| 2120 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|---|
| 2121 | |
|---|
| 2122 | |
|---|
| 2123 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|---|
| 2124 | |
|---|
| 2125 | |
|---|
| 2126 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|---|
| 2127 | |
|---|
| 2128 | |
|---|
| 2129 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|---|
| 2130 | |
|---|
| 2131 | |
|---|
| 2132 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|---|
| 2133 | |
|---|
| 2134 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
|---|
| 2135 | |
|---|
| 2136 | # Installed binaries are usually stripped using `strip' when the user |
|---|
| 2137 | # run `make install-strip'. However `strip' might not be the right |
|---|
| 2138 | # tool to use in cross-compilation environments, therefore Automake |
|---|
| 2139 | # will honor the `STRIP' environment variable to overrule this program. |
|---|
| 2140 | if test "$cross_compiling" != no; then |
|---|
| 2141 | if test -n "$ac_tool_prefix"; then |
|---|
| 2142 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|---|
| 2143 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|---|
| 2144 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2145 | $as_echo_n "checking for $ac_word... " >&6; } |
|---|
| 2146 | if test "${ac_cv_prog_STRIP+set}" = set; then |
|---|
| 2147 | $as_echo_n "(cached) " >&6 |
|---|
| 2148 | else |
|---|
| 2149 | if test -n "$STRIP"; then |
|---|
| 2150 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|---|
| 2151 | else |
|---|
| 2152 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2153 | for as_dir in $PATH |
|---|
| 2154 | do |
|---|
| 2155 | IFS=$as_save_IFS |
|---|
| 2156 | test -z "$as_dir" && as_dir=. |
|---|
| 2157 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2158 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2159 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|---|
| 2160 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2161 | break 2 |
|---|
| 2162 | fi |
|---|
| 2163 | done |
|---|
| 2164 | done |
|---|
| 2165 | IFS=$as_save_IFS |
|---|
| 2166 | |
|---|
| 2167 | fi |
|---|
| 2168 | fi |
|---|
| 2169 | STRIP=$ac_cv_prog_STRIP |
|---|
| 2170 | if test -n "$STRIP"; then |
|---|
| 2171 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
|---|
| 2172 | $as_echo "$STRIP" >&6; } |
|---|
| 2173 | else |
|---|
| 2174 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2175 | $as_echo "no" >&6; } |
|---|
| 2176 | fi |
|---|
| 2177 | |
|---|
| 2178 | |
|---|
| 2179 | fi |
|---|
| 2180 | if test -z "$ac_cv_prog_STRIP"; then |
|---|
| 2181 | ac_ct_STRIP=$STRIP |
|---|
| 2182 | # Extract the first word of "strip", so it can be a program name with args. |
|---|
| 2183 | set dummy strip; ac_word=$2 |
|---|
| 2184 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2185 | $as_echo_n "checking for $ac_word... " >&6; } |
|---|
| 2186 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|---|
| 2187 | $as_echo_n "(cached) " >&6 |
|---|
| 2188 | else |
|---|
| 2189 | if test -n "$ac_ct_STRIP"; then |
|---|
| 2190 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|---|
| 2191 | else |
|---|
| 2192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2193 | for as_dir in $PATH |
|---|
| 2194 | do |
|---|
| 2195 | IFS=$as_save_IFS |
|---|
| 2196 | test -z "$as_dir" && as_dir=. |
|---|
| 2197 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2198 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2199 | ac_cv_prog_ac_ct_STRIP="strip" |
|---|
| 2200 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2201 | break 2 |
|---|
| 2202 | fi |
|---|
| 2203 | done |
|---|
| 2204 | done |
|---|
| 2205 | IFS=$as_save_IFS |
|---|
| 2206 | |
|---|
| 2207 | fi |
|---|
| 2208 | fi |
|---|
| 2209 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|---|
| 2210 | if test -n "$ac_ct_STRIP"; then |
|---|
| 2211 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|---|
| 2212 | $as_echo "$ac_ct_STRIP" >&6; } |
|---|
| 2213 | else |
|---|
| 2214 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2215 | $as_echo "no" >&6; } |
|---|
| 2216 | fi |
|---|
| 2217 | |
|---|
| 2218 | if test "x$ac_ct_STRIP" = x; then |
|---|
| 2219 | STRIP=":" |
|---|
| 2220 | else |
|---|
| 2221 | case $cross_compiling:$ac_tool_warned in |
|---|
| 2222 | yes:) |
|---|
| 2223 | { $as_echo "$as_me:$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 | STRIP=$ac_ct_STRIP |
|---|
| 2228 | fi |
|---|
| 2229 | else |
|---|
| 2230 | STRIP="$ac_cv_prog_STRIP" |
|---|
| 2231 | fi |
|---|
| 2232 | |
|---|
| 2233 | fi |
|---|
| 2234 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|---|
| 2235 | |
|---|
| 2236 | # We need awk for the "check" target. The system "awk" is bad on |
|---|
| 2237 | # some platforms. |
|---|
| 2238 | # Always define AMTAR for backward compatibility. |
|---|
| 2239 | |
|---|
| 2240 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|---|
| 2241 | |
|---|
| 2242 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|---|
| 2243 | |
|---|
| 2244 | |
|---|
| 2245 | |
|---|
| 2246 | |
|---|
| 2247 | |
|---|
| 2248 | |
|---|
| 2249 | |
|---|
| 2250 | # Check for dependencies |
|---|
| 2251 | |
|---|
| 2252 | |
|---|
| 2253 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
|---|
| 2254 | if test -n "$ac_tool_prefix"; then |
|---|
| 2255 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
|---|
| 2256 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|---|
| 2257 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2258 | $as_echo_n "checking for $ac_word... " >&6; } |
|---|
| 2259 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|---|
| 2260 | $as_echo_n "(cached) " >&6 |
|---|
| 2261 | else |
|---|
| 2262 | case $PKG_CONFIG in |
|---|
| 2263 | [\\/]* | ?:[\\/]*) |
|---|
| 2264 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|---|
| 2265 | ;; |
|---|
| 2266 | *) |
|---|
| 2267 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2268 | for as_dir in $PATH |
|---|
| 2269 | do |
|---|
| 2270 | IFS=$as_save_IFS |
|---|
| 2271 | test -z "$as_dir" && as_dir=. |
|---|
| 2272 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2273 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2274 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|---|
| 2275 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2276 | break 2 |
|---|
| 2277 | fi |
|---|
| 2278 | done |
|---|
| 2279 | done |
|---|
| 2280 | IFS=$as_save_IFS |
|---|
| 2281 | |
|---|
| 2282 | ;; |
|---|
| 2283 | esac |
|---|
| 2284 | fi |
|---|
| 2285 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|---|
| 2286 | if test -n "$PKG_CONFIG"; then |
|---|
| 2287 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|---|
| 2288 | $as_echo "$PKG_CONFIG" >&6; } |
|---|
| 2289 | else |
|---|
| 2290 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2291 | $as_echo "no" >&6; } |
|---|
| 2292 | fi |
|---|
| 2293 | |
|---|
| 2294 | |
|---|
| 2295 | fi |
|---|
| 2296 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
|---|
| 2297 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
|---|
| 2298 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|---|
| 2299 | set dummy pkg-config; ac_word=$2 |
|---|
| 2300 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|---|
| 2301 | $as_echo_n "checking for $ac_word... " >&6; } |
|---|
| 2302 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
|---|
| 2303 | $as_echo_n "(cached) " >&6 |
|---|
| 2304 | else |
|---|
| 2305 | case $ac_pt_PKG_CONFIG in |
|---|
| 2306 | [\\/]* | ?:[\\/]*) |
|---|
| 2307 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|---|
| 2308 | ;; |
|---|
| 2309 | *) |
|---|
| 2310 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2311 | for as_dir in $PATH |
|---|
| 2312 | do |
|---|
| 2313 | IFS=$as_save_IFS |
|---|
| 2314 | test -z "$as_dir" && as_dir=. |
|---|
| 2315 | for ac_exec_ext in '' $ac_executable_extensions; do |
|---|
| 2316 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|---|
| 2317 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|---|
| 2318 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|---|
| 2319 | break 2 |
|---|
| 2320 | fi |
|---|
| 2321 | done |
|---|
| 2322 | done |
|---|
| 2323 | IFS=$as_save_IFS |
|---|
| 2324 | |
|---|
| 2325 | ;; |
|---|
| 2326 | esac |
|---|
| 2327 | fi |
|---|
| 2328 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|---|
| 2329 | if test -n "$ac_pt_PKG_CONFIG"; then |
|---|
| 2330 | { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
|---|
| 2331 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|---|
| 2332 | else |
|---|
| 2333 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2334 | $as_echo "no" >&6; } |
|---|
| 2335 | fi |
|---|
| 2336 | |
|---|
| 2337 | if test "x$ac_pt_PKG_CONFIG" = x; then |
|---|
| 2338 | PKG_CONFIG="" |
|---|
| 2339 | else |
|---|
| 2340 | case $cross_compiling:$ac_tool_warned in |
|---|
| 2341 | yes:) |
|---|
| 2342 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
|---|
| 2343 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|---|
| 2344 | ac_tool_warned=yes ;; |
|---|
| 2345 | esac |
|---|
| 2346 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
|---|
| 2347 | fi |
|---|
| 2348 | else |
|---|
| 2349 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|---|
| 2350 | fi |
|---|
| 2351 | |
|---|
| 2352 | fi |
|---|
| 2353 | if test -n "$PKG_CONFIG"; then |
|---|
| 2354 | _pkg_min_version=0.9.0 |
|---|
| 2355 | { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
|---|
| 2356 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|---|
| 2357 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|---|
| 2358 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2359 | $as_echo "yes" >&6; } |
|---|
| 2360 | else |
|---|
| 2361 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
|---|
| 2362 | $as_echo "no" >&6; } |
|---|
| 2363 | PKG_CONFIG="" |
|---|
| 2364 | fi |
|---|
| 2365 | |
|---|
| 2366 | fi |
|---|
| 2367 | |
|---|
| 2368 | pkg_failed=no |
|---|
| 2369 | { $as_echo "$as_me:$LINENO: checking for GNET" >&5 |
|---|
| 2370 | $as_echo_n "checking for GNET... " >&6; } |
|---|
| 2371 | |
|---|
| 2372 | if test -n "$PKG_CONFIG"; then |
|---|
| 2373 | if test -n "$GNET_CFLAGS"; then |
|---|
| 2374 | pkg_cv_GNET_CFLAGS="$GNET_CFLAGS" |
|---|
| 2375 | else |
|---|
| 2376 | if test -n "$PKG_CONFIG" && \ |
|---|
| 2377 | { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnet-2.0\"") >&5 |
|---|
| 2378 | ($PKG_CONFIG --exists --print-errors "gnet-2.0") 2>&5 |
|---|
| 2379 | ac_status=$? |
|---|
| 2380 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2381 | (exit $ac_status); }; then |
|---|
| 2382 | pkg_cv_GNET_CFLAGS=`$PKG_CONFIG --cflags "gnet-2.0" 2>/dev/null` |
|---|
| 2383 | else |
|---|
| 2384 | pkg_failed=yes |
|---|
| 2385 | fi |
|---|
| 2386 | fi |
|---|
| 2387 | else |
|---|
| 2388 | pkg_failed=untried |
|---|
| 2389 | fi |
|---|
| 2390 | if test -n "$PKG_CONFIG"; then |
|---|
| 2391 | if test -n "$GNET_LIBS"; then |
|---|
| 2392 | pkg_cv_GNET_LIBS="$GNET_LIBS" |
|---|
| 2393 | else |
|---|
| 2394 | if test -n "$PKG_CONFIG" && \ |
|---|
| 2395 | { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnet-2.0\"") >&5 |
|---|
| 2396 | ($PKG_CONFIG --exists --print-errors "gnet-2.0") 2>&5 |
|---|
| 2397 | ac_status=$? |
|---|
| 2398 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|---|
| 2399 | (exit $ac_status); }; then |
|---|
| 2400 | pkg_cv_GNET_LIBS=`$PKG_CONFIG --libs "gnet-2.0" 2>/dev/null` |
|---|
| 2401 | else |
|---|
| 2402 | pkg_failed=yes |
|---|
| 2403 | fi |
|---|
| 2404 | fi |
|---|
| 2405 | else |
|---|
| 2406 | pkg_failed=untried |
|---|
| 2407 | fi |
|---|
| 2408 | |
|---|
| 2409 | |
|---|
| 2410 | |
|---|
| 2411 | if test $pkg_failed = yes; then |
|---|
| 2412 | |
|---|
| 2413 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|---|
| 2414 | _pkg_short_errors_supported=yes |
|---|
| 2415 | else |
|---|
| 2416 | _pkg_short_errors_supported=no |
|---|
| 2417 | fi |
|---|
| 2418 | if test $_pkg_short_errors_supported = yes; then |
|---|
| 2419 | GNET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnet-2.0"` |
|---|
| 2420 | else |
|---|
| 2421 | GNET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnet-2.0"` |
|---|
| 2422 | fi |
|---|
| 2423 | # Put the nasty error message in config.log where it belongs |
|---|
| 2424 | echo "$GNET_PKG_ERRORS" >&5 |
|---|
| 2425 | |
|---|
| 2426 | { { $as_echo "$as_me:$LINENO: error: Package requirements (gnet-2.0) were not met: |
|---|
| 2427 | |
|---|
| 2428 | $GNET_PKG_ERRORS |
|---|
| 2429 | |
|---|
| 2430 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|---|
| 2431 | installed software in a non-standard prefix. |
|---|
| 2432 | |
|---|
| 2433 | Alternatively, you may set the environment variables GNET_CFLAGS |
|---|
| 2434 | and GNET_LIBS to avoid the need to call pkg-config. |
|---|
| 2435 | See the pkg-config man page for more details. |
|---|
| 2436 | " >&5 |
|---|
| 2437 | $as_echo "$as_me: error: Package requirements (gnet-2.0) were not met: |
|---|
| 2438 | |
|---|
| 2439 | $GNET_PKG_ERRORS |
|---|
| 2440 | |
|---|
| 2441 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|---|
| 2442 | installed software in a non-standard prefix. |
|---|
| 2443 | |
|---|
| 2444 | Alternatively, you may set the environment variables GNET_CFLAGS |
|---|
| 2445 | and GNET_LIBS to avoid the need to call pkg-config. |
|---|
| 2446 | See the pkg-config man page for more details. |
|---|
| 2447 | " >&2;} |
|---|
| 2448 | { (exit 1); exit 1; }; } |
|---|
| 2449 | elif test $pkg_failed = untried; then |
|---|
| 2450 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
|---|
| 2451 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|---|
| 2452 | { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it |
|---|
| 2453 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|---|
| 2454 | path to pkg-config. |
|---|
| 2455 | |
|---|
| 2456 | Alternatively, you may set the environment variables GNET_CFLAGS |
|---|
| 2457 | and GNET_LIBS to avoid the need to call pkg-config. |
|---|
| 2458 | See the pkg-config man page for more details. |
|---|
| 2459 | |
|---|
| 2460 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|---|
| 2461 | See \`config.log' for more details." >&5 |
|---|
| 2462 | $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it |
|---|
| 2463 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|---|
| 2464 | path to pkg-config. |
|---|
| 2465 | |
|---|
| 2466 | Alternatively, you may set the environment variables GNET_CFLAGS |
|---|
| 2467 | and GNET_LIBS to avoid the need to call pkg-config. |
|---|
| 2468 | See the pkg-config man page for more details. |
|---|
| 2469 | |
|---|
| 2470 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|---|
| 2471 | See \`config.log' for more details." >&2;} |
|---|
| 2472 | { (exit 1); exit 1; }; }; } |
|---|
| 2473 | else |
|---|
| 2474 | GNET_CFLAGS=$pkg_cv_GNET_CFLAGS |
|---|
| 2475 | GNET_LIBS=$pkg_cv_GNET_LIBS |
|---|
| 2476 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
|---|
| 2477 | $as_echo "yes" >&6; } |
|---|
| 2478 | : |
|---|
| 2479 | fi # needed for RGC... |
|---|
| 2480 | |
|---|
| 2481 | # Start with RGC |
|---|
| 2482 | |
|---|
| 2483 | |
|---|
| 2484 | subdirs="$subdirs rgc" |
|---|
| 2485 | |
|---|
| 2486 | |
|---|
| 2487 | # Make our submodules happy, as we haven't installed RGC yet |
|---|
| 2488 | RGC_SRC_DIR="$(pwd)/$srcdir/rgc" |
|---|
| 2489 | RGC_LIB_DIR="$(pwd)/rgc" |
|---|
| 2490 | export RGC_SERVER_CFLAGS="$GNET_CFLAGS -I$RGC_SRC_DIR/include" |
|---|
| 2491 | export RGC_SERVER_LIBS="$GNET_LIBS -L$RGC_LIB_DIR/src -lrgc_server" |
|---|
| 2492 | export RGC_CLIENT_CFLAGS="$GNET_CFLAGS -I$RGC_SRC_DIR/include" |
|---|
| 2493 | export RGC_CLIENT_LIBS="$GNET_LIBS -L$RGC_LIB_DIR/src -lrgc_client" |
|---|
| 2494 | |
|---|
| 2495 | |
|---|
| 2496 | subdirs="$subdirs rubberband" |
|---|
| 2497 | |
|---|
| 2498 | |
|---|
| 2499 | RUBBER_SRC_DIR="$(pwd)/$srcdir/rubberband" |
|---|
| 2500 | RUBBER_LIB_DIR="$(pwd)/rubberband" |
|---|
| 2501 | export RUBBERBAND_CFLAGS="-I$RUBBER_SRC_DIR/include" |
|---|
| 2502 | export RUBBERBAND_LIBS="-L$RUBBER_LIB_DIR/src -lrubberband -lfftw3" |
|---|
| 2503 | |
|---|
| 2504 | subdirs="$subdirs fm_server" |
|---|
| 2505 | |
|---|
| 2506 | subdirs="$subdirs fm_gui" |
|---|
| 2507 | |
|---|
| 2508 | |
|---|
| 2509 | |
|---|
| 2510 | |
|---|
| 2511 | ac_config_files="$ac_config_files Makefile" |
|---|
| 2512 | |
|---|
| 2513 | cat >confcache <<\_ACEOF |
|---|
| 2514 | # This file is a shell script that caches the results of configure |
|---|
| 2515 | # tests run on this system so they can be shared between configure |
|---|
| 2516 | # scripts and configure runs, see configure's option --config-cache. |
|---|
| 2517 | # It is not useful on other systems. If it contains results you don't |
|---|
| 2518 | # want to keep, you may remove or edit it. |
|---|
| 2519 | # |
|---|
| 2520 | # config.status only pays attention to the cache file if you give it |
|---|
| 2521 | # the --recheck option to rerun configure. |
|---|
| 2522 | # |
|---|
| 2523 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
|---|
| 2524 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|---|
| 2525 | # following values. |
|---|
| 2526 | |
|---|
| 2527 | _ACEOF |
|---|
| 2528 | |
|---|
| 2529 | # The following way of writing the cache mishandles newlines in values, |
|---|
| 2530 | # but we know of no workaround that is simple, portable, and efficient. |
|---|
| 2531 | # So, we kill variables containing newlines. |
|---|
| 2532 | # Ultrix sh set writes to stderr and can't be redirected directly, |
|---|
| 2533 | # and sets the high bit in the cache file unless we assign to the vars. |
|---|
| 2534 | ( |
|---|
| 2535 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|---|
| 2536 | eval ac_val=\$$ac_var |
|---|
| 2537 | case $ac_val in #( |
|---|
| 2538 | *${as_nl}*) |
|---|
| 2539 | case $ac_var in #( |
|---|
| 2540 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
|---|
| 2541 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|---|
| 2542 | esac |
|---|
| 2543 | case $ac_var in #( |
|---|
| 2544 | _ | IFS | as_nl) ;; #( |
|---|
| 2545 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|---|
| 2546 | *) $as_unset $ac_var ;; |
|---|
| 2547 | esac ;; |
|---|
| 2548 | esac |
|---|
| 2549 | done |
|---|
| 2550 | |
|---|
| 2551 | (set) 2>&1 | |
|---|
| 2552 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|---|
| 2553 | *${as_nl}ac_space=\ *) |
|---|
| 2554 | # `set' does not quote correctly, so add quotes (double-quote |
|---|
| 2555 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
|---|
| 2556 | sed -n \ |
|---|
| 2557 | "s/'/'\\\\''/g; |
|---|
| 2558 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|---|
| 2559 | ;; #( |
|---|
| 2560 | *) |
|---|
| 2561 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
|---|
| 2562 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|---|
| 2563 | ;; |
|---|
| 2564 | esac | |
|---|
| 2565 | sort |
|---|
| 2566 | ) | |
|---|
| 2567 | sed ' |
|---|
| 2568 | /^ac_cv_env_/b end |
|---|
| 2569 | t clear |
|---|
| 2570 | :clear |
|---|
| 2571 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|---|
| 2572 | t end |
|---|
| 2573 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|---|
| 2574 | :end' >>confcache |
|---|
| 2575 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|---|
| 2576 | if test -w "$cache_file"; then |
|---|
| 2577 | test "x$cache_file" != "x/dev/null" && |
|---|
| 2578 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|---|
| 2579 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|---|
| 2580 | cat confcache >$cache_file |
|---|
| 2581 | else |
|---|
| 2582 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
|---|
| 2583 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|---|
| 2584 | fi |
|---|
| 2585 | fi |
|---|
| 2586 | rm -f confcache |
|---|
| 2587 | |
|---|
| 2588 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|---|
| 2589 | # Let make expand exec_prefix. |
|---|
| 2590 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|---|
| 2591 | |
|---|
| 2592 | # Transform confdefs.h into DEFS. |
|---|
| 2593 | # Protect against shell expansion while executing Makefile rules. |
|---|
| 2594 | # Protect against Makefile macro expansion. |
|---|
| 2595 | # |
|---|
| 2596 | # If the first sed substitution is executed (which looks for macros that |
|---|
| 2597 | # take arguments), then branch to the quote section. Otherwise, |
|---|
| 2598 | # look for a macro that doesn't take arguments. |
|---|
| 2599 | ac_script=' |
|---|
| 2600 | :mline |
|---|
| 2601 | /\\$/{ |
|---|
| 2602 | N |
|---|
| 2603 | s,\\\n,, |
|---|
| 2604 | b mline |
|---|
| 2605 | } |
|---|
| 2606 | t clear |
|---|
| 2607 | :clear |
|---|
| 2608 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
|---|
| 2609 | t quote |
|---|
| 2610 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
|---|
| 2611 | t quote |
|---|
| 2612 | b any |
|---|
| 2613 | :quote |
|---|
| 2614 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
|---|
| 2615 | s/\[/\\&/g |
|---|
| 2616 | s/\]/\\&/g |
|---|
| 2617 | s/\$/$$/g |
|---|
| 2618 | H |
|---|
| 2619 | :any |
|---|
| 2620 | ${ |
|---|
| 2621 | g |
|---|
| 2622 | s/^\n// |
|---|
| 2623 | s/\n/ /g |
|---|
| 2624 | p |
|---|
| 2625 | } |
|---|
| 2626 | ' |
|---|
| 2627 | DEFS=`sed -n "$ac_script" confdefs.h` |
|---|
| 2628 | |
|---|
| 2629 | |
|---|
| 2630 | ac_libobjs= |
|---|
| 2631 | ac_ltlibobjs= |
|---|
| 2632 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|---|
| 2633 | # 1. Remove the extension, and $U if already installed. |
|---|
| 2634 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|---|
| 2635 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|---|
| 2636 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|---|
| 2637 | # will be set to the directory where LIBOBJS objects are built. |
|---|
| 2638 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|---|
| 2639 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
|---|
| 2640 | done |
|---|
| 2641 | LIBOBJS=$ac_libobjs |
|---|
| 2642 | |
|---|
| 2643 | LTLIBOBJS=$ac_ltlibobjs |
|---|
| 2644 | |
|---|
| 2645 | |
|---|
| 2646 | |
|---|
| 2647 | : ${CONFIG_STATUS=./config.status} |
|---|
| 2648 | ac_write_fail=0 |
|---|
| 2649 | ac_clean_files_save=$ac_clean_files |
|---|
| 2650 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|---|
| 2651 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|---|
| 2652 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|---|
| 2653 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 2654 | #! $SHELL |
|---|
| 2655 | # Generated by $as_me. |
|---|
| 2656 | # Run this file to recreate the current configuration. |
|---|
| 2657 | # Compiler output produced by configure, useful for debugging |
|---|
| 2658 | # configure, is in config.log if it exists. |
|---|
| 2659 | |
|---|
| 2660 | debug=false |
|---|
| 2661 | ac_cs_recheck=false |
|---|
| 2662 | ac_cs_silent=false |
|---|
| 2663 | SHELL=\${CONFIG_SHELL-$SHELL} |
|---|
| 2664 | _ACEOF |
|---|
| 2665 | |
|---|
| 2666 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 2667 | ## --------------------- ## |
|---|
| 2668 | ## M4sh Initialization. ## |
|---|
| 2669 | ## --------------------- ## |
|---|
| 2670 | |
|---|
| 2671 | # Be more Bourne compatible |
|---|
| 2672 | DUALCASE=1; export DUALCASE # for MKS sh |
|---|
| 2673 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|---|
| 2674 | emulate sh |
|---|
| 2675 | NULLCMD=: |
|---|
| 2676 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|---|
| 2677 | # is contrary to our usage. Disable this feature. |
|---|
| 2678 | alias -g '${1+"$@"}'='"$@"' |
|---|
| 2679 | setopt NO_GLOB_SUBST |
|---|
| 2680 | else |
|---|
| 2681 | case `(set -o) 2>/dev/null` in |
|---|
| 2682 | *posix*) set -o posix ;; |
|---|
| 2683 | esac |
|---|
| 2684 | |
|---|
| 2685 | fi |
|---|
| 2686 | |
|---|
| 2687 | |
|---|
| 2688 | |
|---|
| 2689 | |
|---|
| 2690 | # PATH needs CR |
|---|
| 2691 | # Avoid depending upon Character Ranges. |
|---|
| 2692 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|---|
| 2693 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|---|
| 2694 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|---|
| 2695 | as_cr_digits='0123456789' |
|---|
| 2696 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
|---|
| 2697 | |
|---|
| 2698 | as_nl=' |
|---|
| 2699 | ' |
|---|
| 2700 | export as_nl |
|---|
| 2701 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
|---|
| 2702 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|---|
| 2703 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|---|
| 2704 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|---|
| 2705 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|---|
| 2706 | as_echo='printf %s\n' |
|---|
| 2707 | as_echo_n='printf %s' |
|---|
| 2708 | else |
|---|
| 2709 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|---|
| 2710 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|---|
| 2711 | as_echo_n='/usr/ucb/echo -n' |
|---|
| 2712 | else |
|---|
| 2713 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|---|
| 2714 | as_echo_n_body='eval |
|---|
| 2715 | arg=$1; |
|---|
| 2716 | case $arg in |
|---|
| 2717 | *"$as_nl"*) |
|---|
| 2718 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
|---|
| 2719 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|---|
| 2720 | esac; |
|---|
| 2721 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|---|
| 2722 | ' |
|---|
| 2723 | export as_echo_n_body |
|---|
| 2724 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|---|
| 2725 | fi |
|---|
| 2726 | export as_echo_body |
|---|
| 2727 | as_echo='sh -c $as_echo_body as_echo' |
|---|
| 2728 | fi |
|---|
| 2729 | |
|---|
| 2730 | # The user is always right. |
|---|
| 2731 | if test "${PATH_SEPARATOR+set}" != set; then |
|---|
| 2732 | PATH_SEPARATOR=: |
|---|
| 2733 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|---|
| 2734 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|---|
| 2735 | PATH_SEPARATOR=';' |
|---|
| 2736 | } |
|---|
| 2737 | fi |
|---|
| 2738 | |
|---|
| 2739 | # Support unset when possible. |
|---|
| 2740 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|---|
| 2741 | as_unset=unset |
|---|
| 2742 | else |
|---|
| 2743 | as_unset=false |
|---|
| 2744 | fi |
|---|
| 2745 | |
|---|
| 2746 | |
|---|
| 2747 | # IFS |
|---|
| 2748 | # We need space, tab and new line, in precisely that order. Quoting is |
|---|
| 2749 | # there to prevent editors from complaining about space-tab. |
|---|
| 2750 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|---|
| 2751 | # splitting by setting IFS to empty value.) |
|---|
| 2752 | IFS=" "" $as_nl" |
|---|
| 2753 | |
|---|
| 2754 | # Find who we are. Look in the path if we contain no directory separator. |
|---|
| 2755 | case $0 in |
|---|
| 2756 | *[\\/]* ) as_myself=$0 ;; |
|---|
| 2757 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|---|
| 2758 | for as_dir in $PATH |
|---|
| 2759 | do |
|---|
| 2760 | IFS=$as_save_IFS |
|---|
| 2761 | test -z "$as_dir" && as_dir=. |
|---|
| 2762 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|---|
| 2763 | done |
|---|
| 2764 | IFS=$as_save_IFS |
|---|
| 2765 | |
|---|
| 2766 | ;; |
|---|
| 2767 | esac |
|---|
| 2768 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
|---|
| 2769 | # in which case we are not to be found in the path. |
|---|
| 2770 | if test "x$as_myself" = x; then |
|---|
| 2771 | as_myself=$0 |
|---|
| 2772 | fi |
|---|
| 2773 | if test ! -f "$as_myself"; then |
|---|
| 2774 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|---|
| 2775 | { (exit 1); exit 1; } |
|---|
| 2776 | fi |
|---|
| 2777 | |
|---|
| 2778 | # Work around bugs in pre-3.0 UWIN ksh. |
|---|
| 2779 | for as_var in ENV MAIL MAILPATH |
|---|
| 2780 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|---|
| 2781 | done |
|---|
| 2782 | PS1='$ ' |
|---|
| 2783 | PS2='> ' |
|---|
| 2784 | PS4='+ ' |
|---|
| 2785 | |
|---|
| 2786 | # NLS nuisances. |
|---|
| 2787 | LC_ALL=C |
|---|
| 2788 | export LC_ALL |
|---|
| 2789 | LANGUAGE=C |
|---|
| 2790 | export LANGUAGE |
|---|
| 2791 | |
|---|
| 2792 | # Required to use basename. |
|---|
| 2793 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 2794 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 2795 | as_expr=expr |
|---|
| 2796 | else |
|---|
| 2797 | as_expr=false |
|---|
| 2798 | fi |
|---|
| 2799 | |
|---|
| 2800 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|---|
| 2801 | as_basename=basename |
|---|
| 2802 | else |
|---|
| 2803 | as_basename=false |
|---|
| 2804 | fi |
|---|
| 2805 | |
|---|
| 2806 | |
|---|
| 2807 | # Name of the executable. |
|---|
| 2808 | as_me=`$as_basename -- "$0" || |
|---|
| 2809 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|---|
| 2810 | X"$0" : 'X\(//\)$' \| \ |
|---|
| 2811 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 2812 | $as_echo X/"$0" | |
|---|
| 2813 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|---|
| 2814 | s//\1/ |
|---|
| 2815 | q |
|---|
| 2816 | } |
|---|
| 2817 | /^X\/\(\/\/\)$/{ |
|---|
| 2818 | s//\1/ |
|---|
| 2819 | q |
|---|
| 2820 | } |
|---|
| 2821 | /^X\/\(\/\).*/{ |
|---|
| 2822 | s//\1/ |
|---|
| 2823 | q |
|---|
| 2824 | } |
|---|
| 2825 | s/.*/./; q'` |
|---|
| 2826 | |
|---|
| 2827 | # CDPATH. |
|---|
| 2828 | $as_unset CDPATH |
|---|
| 2829 | |
|---|
| 2830 | |
|---|
| 2831 | |
|---|
| 2832 | as_lineno_1=$LINENO |
|---|
| 2833 | as_lineno_2=$LINENO |
|---|
| 2834 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|---|
| 2835 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|---|
| 2836 | |
|---|
| 2837 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|---|
| 2838 | # uniformly replaced by the line number. The first 'sed' inserts a |
|---|
| 2839 | # line-number line after each line using $LINENO; the second 'sed' |
|---|
| 2840 | # does the real work. The second script uses 'N' to pair each |
|---|
| 2841 | # line-number line with the line containing $LINENO, and appends |
|---|
| 2842 | # trailing '-' during substitution so that $LINENO is not a special |
|---|
| 2843 | # case at line end. |
|---|
| 2844 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|---|
| 2845 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|---|
| 2846 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|---|
| 2847 | sed -n ' |
|---|
| 2848 | p |
|---|
| 2849 | /[$]LINENO/= |
|---|
| 2850 | ' <$as_myself | |
|---|
| 2851 | sed ' |
|---|
| 2852 | s/[$]LINENO.*/&-/ |
|---|
| 2853 | t lineno |
|---|
| 2854 | b |
|---|
| 2855 | :lineno |
|---|
| 2856 | N |
|---|
| 2857 | :loop |
|---|
| 2858 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|---|
| 2859 | t loop |
|---|
| 2860 | s/-\n.*// |
|---|
| 2861 | ' >$as_me.lineno && |
|---|
| 2862 | chmod +x "$as_me.lineno" || |
|---|
| 2863 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|---|
| 2864 | { (exit 1); exit 1; }; } |
|---|
| 2865 | |
|---|
| 2866 | # Don't try to exec as it changes $[0], causing all sort of problems |
|---|
| 2867 | # (the dirname of $[0] is not the place where we might find the |
|---|
| 2868 | # original and so on. Autoconf is especially sensitive to this). |
|---|
| 2869 | . "./$as_me.lineno" |
|---|
| 2870 | # Exit status is that of the last command. |
|---|
| 2871 | exit |
|---|
| 2872 | } |
|---|
| 2873 | |
|---|
| 2874 | |
|---|
| 2875 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|---|
| 2876 | as_dirname=dirname |
|---|
| 2877 | else |
|---|
| 2878 | as_dirname=false |
|---|
| 2879 | fi |
|---|
| 2880 | |
|---|
| 2881 | ECHO_C= ECHO_N= ECHO_T= |
|---|
| 2882 | case `echo -n x` in |
|---|
| 2883 | -n*) |
|---|
| 2884 | case `echo 'x\c'` in |
|---|
| 2885 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|---|
| 2886 | *) ECHO_C='\c';; |
|---|
| 2887 | esac;; |
|---|
| 2888 | *) |
|---|
| 2889 | ECHO_N='-n';; |
|---|
| 2890 | esac |
|---|
| 2891 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|---|
| 2892 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|---|
| 2893 | as_expr=expr |
|---|
| 2894 | else |
|---|
| 2895 | as_expr=false |
|---|
| 2896 | fi |
|---|
| 2897 | |
|---|
| 2898 | rm -f conf$$ conf$$.exe conf$$.file |
|---|
| 2899 | if test -d conf$$.dir; then |
|---|
| 2900 | rm -f conf$$.dir/conf$$.file |
|---|
| 2901 | else |
|---|
| 2902 | rm -f conf$$.dir |
|---|
| 2903 | mkdir conf$$.dir 2>/dev/null |
|---|
| 2904 | fi |
|---|
| 2905 | if (echo >conf$$.file) 2>/dev/null; then |
|---|
| 2906 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
|---|
| 2907 | as_ln_s='ln -s' |
|---|
| 2908 | # ... but there are two gotchas: |
|---|
| 2909 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|---|
| 2910 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|---|
| 2911 | # In both cases, we have to default to `cp -p'. |
|---|
| 2912 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|---|
| 2913 | as_ln_s='cp -p' |
|---|
| 2914 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|---|
| 2915 | as_ln_s=ln |
|---|
| 2916 | else |
|---|
| 2917 | as_ln_s='cp -p' |
|---|
| 2918 | fi |
|---|
| 2919 | else |
|---|
| 2920 | as_ln_s='cp -p' |
|---|
| 2921 | fi |
|---|
| 2922 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|---|
| 2923 | rmdir conf$$.dir 2>/dev/null |
|---|
| 2924 | |
|---|
| 2925 | if mkdir -p . 2>/dev/null; then |
|---|
| 2926 | as_mkdir_p=: |
|---|
| 2927 | else |
|---|
| 2928 | test -d ./-p && rmdir ./-p |
|---|
| 2929 | as_mkdir_p=false |
|---|
| 2930 | fi |
|---|
| 2931 | |
|---|
| 2932 | if test -x / >/dev/null 2>&1; then |
|---|
| 2933 | as_test_x='test -x' |
|---|
| 2934 | else |
|---|
| 2935 | if ls -dL / >/dev/null 2>&1; then |
|---|
| 2936 | as_ls_L_option=L |
|---|
| 2937 | else |
|---|
| 2938 | as_ls_L_option= |
|---|
| 2939 | fi |
|---|
| 2940 | as_test_x=' |
|---|
| 2941 | eval sh -c '\'' |
|---|
| 2942 | if test -d "$1"; then |
|---|
| 2943 | test -d "$1/."; |
|---|
| 2944 | else |
|---|
| 2945 | case $1 in |
|---|
| 2946 | -*)set "./$1";; |
|---|
| 2947 | esac; |
|---|
| 2948 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|---|
| 2949 | ???[sx]*):;;*)false;;esac;fi |
|---|
| 2950 | '\'' sh |
|---|
| 2951 | ' |
|---|
| 2952 | fi |
|---|
| 2953 | as_executable_p=$as_test_x |
|---|
| 2954 | |
|---|
| 2955 | # Sed expression to map a string onto a valid CPP name. |
|---|
| 2956 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 2957 | |
|---|
| 2958 | # Sed expression to map a string onto a valid variable name. |
|---|
| 2959 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|---|
| 2960 | |
|---|
| 2961 | |
|---|
| 2962 | exec 6>&1 |
|---|
| 2963 | |
|---|
| 2964 | # Save the log message, to keep $[0] and so on meaningful, and to |
|---|
| 2965 | # report actual input values of CONFIG_FILES etc. instead of their |
|---|
| 2966 | # values after options handling. |
|---|
| 2967 | ac_log=" |
|---|
| 2968 | This file was extended by FreeMix $as_me 0.1, which was |
|---|
| 2969 | generated by GNU Autoconf 2.63. Invocation command line was |
|---|
| 2970 | |
|---|
| 2971 | CONFIG_FILES = $CONFIG_FILES |
|---|
| 2972 | CONFIG_HEADERS = $CONFIG_HEADERS |
|---|
| 2973 | CONFIG_LINKS = $CONFIG_LINKS |
|---|
| 2974 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|---|
| 2975 | $ $0 $@ |
|---|
| 2976 | |
|---|
| 2977 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|---|
| 2978 | " |
|---|
| 2979 | |
|---|
| 2980 | _ACEOF |
|---|
| 2981 | |
|---|
| 2982 | case $ac_config_files in *" |
|---|
| 2983 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
|---|
| 2984 | esac |
|---|
| 2985 | |
|---|
| 2986 | |
|---|
| 2987 | |
|---|
| 2988 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 2989 | # Files that config.status was made for. |
|---|
| 2990 | config_files="$ac_config_files" |
|---|
| 2991 | |
|---|
| 2992 | _ACEOF |
|---|
| 2993 | |
|---|
| 2994 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 2995 | ac_cs_usage="\ |
|---|
| 2996 | \`$as_me' instantiates files from templates according to the |
|---|
| 2997 | current configuration. |
|---|
| 2998 | |
|---|
| 2999 | Usage: $0 [OPTION]... [FILE]... |
|---|
| 3000 | |
|---|
| 3001 | -h, --help print this help, then exit |
|---|
| 3002 | -V, --version print version number and configuration settings, then exit |
|---|
| 3003 | -q, --quiet, --silent |
|---|
| 3004 | do not print progress messages |
|---|
| 3005 | -d, --debug don't remove temporary files |
|---|
| 3006 | --recheck update $as_me by reconfiguring in the same conditions |
|---|
| 3007 | --file=FILE[:TEMPLATE] |
|---|
| 3008 | instantiate the configuration file FILE |
|---|
| 3009 | |
|---|
| 3010 | Configuration files: |
|---|
| 3011 | $config_files |
|---|
| 3012 | |
|---|
| 3013 | Report bugs to <bug-autoconf@gnu.org>." |
|---|
| 3014 | |
|---|
| 3015 | _ACEOF |
|---|
| 3016 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 3017 | ac_cs_version="\\ |
|---|
| 3018 | FreeMix config.status 0.1 |
|---|
| 3019 | configured by $0, generated by GNU Autoconf 2.63, |
|---|
| 3020 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|---|
| 3021 | |
|---|
| 3022 | Copyright (C) 2008 Free Software Foundation, Inc. |
|---|
| 3023 | This config.status script is free software; the Free Software Foundation |
|---|
| 3024 | gives unlimited permission to copy, distribute and modify it." |
|---|
| 3025 | |
|---|
| 3026 | ac_pwd='$ac_pwd' |
|---|
| 3027 | srcdir='$srcdir' |
|---|
| 3028 | INSTALL='$INSTALL' |
|---|
| 3029 | MKDIR_P='$MKDIR_P' |
|---|
| 3030 | AWK='$AWK' |
|---|
| 3031 | test -n "\$AWK" || AWK=awk |
|---|
| 3032 | _ACEOF |
|---|
| 3033 | |
|---|
| 3034 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 3035 | # The default lists apply if the user does not specify any file. |
|---|
| 3036 | ac_need_defaults=: |
|---|
| 3037 | while test $# != 0 |
|---|
| 3038 | do |
|---|
| 3039 | case $1 in |
|---|
| 3040 | --*=*) |
|---|
| 3041 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|---|
| 3042 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|---|
| 3043 | ac_shift=: |
|---|
| 3044 | ;; |
|---|
| 3045 | *) |
|---|
| 3046 | ac_option=$1 |
|---|
| 3047 | ac_optarg=$2 |
|---|
| 3048 | ac_shift=shift |
|---|
| 3049 | ;; |
|---|
| 3050 | esac |
|---|
| 3051 | |
|---|
| 3052 | case $ac_option in |
|---|
| 3053 | # Handling of the options. |
|---|
| 3054 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|---|
| 3055 | ac_cs_recheck=: ;; |
|---|
| 3056 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|---|
| 3057 | $as_echo "$ac_cs_version"; exit ;; |
|---|
| 3058 | --debug | --debu | --deb | --de | --d | -d ) |
|---|
| 3059 | debug=: ;; |
|---|
| 3060 | --file | --fil | --fi | --f ) |
|---|
| 3061 | $ac_shift |
|---|
| 3062 | case $ac_optarg in |
|---|
| 3063 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 3064 | esac |
|---|
| 3065 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
|---|
| 3066 | ac_need_defaults=false;; |
|---|
| 3067 | --he | --h | --help | --hel | -h ) |
|---|
| 3068 | $as_echo "$ac_cs_usage"; exit ;; |
|---|
| 3069 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|---|
| 3070 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|---|
| 3071 | ac_cs_silent=: ;; |
|---|
| 3072 | |
|---|
| 3073 | # This is an error. |
|---|
| 3074 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
|---|
| 3075 | Try \`$0 --help' for more information." >&2 |
|---|
| 3076 | { (exit 1); exit 1; }; } ;; |
|---|
| 3077 | |
|---|
| 3078 | *) ac_config_targets="$ac_config_targets $1" |
|---|
| 3079 | ac_need_defaults=false ;; |
|---|
| 3080 | |
|---|
| 3081 | esac |
|---|
| 3082 | shift |
|---|
| 3083 | done |
|---|
| 3084 | |
|---|
| 3085 | ac_configure_extra_args= |
|---|
| 3086 | |
|---|
| 3087 | if $ac_cs_silent; then |
|---|
| 3088 | exec 6>/dev/null |
|---|
| 3089 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|---|
| 3090 | fi |
|---|
| 3091 | |
|---|
| 3092 | _ACEOF |
|---|
| 3093 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 3094 | if \$ac_cs_recheck; then |
|---|
| 3095 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|---|
| 3096 | shift |
|---|
| 3097 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|---|
| 3098 | CONFIG_SHELL='$SHELL' |
|---|
| 3099 | export CONFIG_SHELL |
|---|
| 3100 | exec "\$@" |
|---|
| 3101 | fi |
|---|
| 3102 | |
|---|
| 3103 | _ACEOF |
|---|
| 3104 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 3105 | exec 5>>config.log |
|---|
| 3106 | { |
|---|
| 3107 | echo |
|---|
| 3108 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|---|
| 3109 | ## Running $as_me. ## |
|---|
| 3110 | _ASBOX |
|---|
| 3111 | $as_echo "$ac_log" |
|---|
| 3112 | } >&5 |
|---|
| 3113 | |
|---|
| 3114 | _ACEOF |
|---|
| 3115 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 3116 | _ACEOF |
|---|
| 3117 | |
|---|
| 3118 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 3119 | |
|---|
| 3120 | # Handling of arguments. |
|---|
| 3121 | for ac_config_target in $ac_config_targets |
|---|
| 3122 | do |
|---|
| 3123 | case $ac_config_target in |
|---|
| 3124 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|---|
| 3125 | |
|---|
| 3126 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|---|
| 3127 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|---|
| 3128 | { (exit 1); exit 1; }; };; |
|---|
| 3129 | esac |
|---|
| 3130 | done |
|---|
| 3131 | |
|---|
| 3132 | |
|---|
| 3133 | # If the user did not use the arguments to specify the items to instantiate, |
|---|
| 3134 | # then the envvar interface is used. Set only those that are not. |
|---|
| 3135 | # We use the long form for the default assignment because of an extremely |
|---|
| 3136 | # bizarre bug on SunOS 4.1.3. |
|---|
| 3137 | if $ac_need_defaults; then |
|---|
| 3138 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|---|
| 3139 | fi |
|---|
| 3140 | |
|---|
| 3141 | # Have a temporary directory for convenience. Make it in the build tree |
|---|
| 3142 | # simply because there is no reason against having it here, and in addition, |
|---|
| 3143 | # creating and moving files from /tmp can sometimes cause problems. |
|---|
| 3144 | # Hook for its removal unless debugging. |
|---|
| 3145 | # Note that there is a small window in which the directory will not be cleaned: |
|---|
| 3146 | # after its creation but before its name has been assigned to `$tmp'. |
|---|
| 3147 | $debug || |
|---|
| 3148 | { |
|---|
| 3149 | tmp= |
|---|
| 3150 | trap 'exit_status=$? |
|---|
| 3151 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|---|
| 3152 | ' 0 |
|---|
| 3153 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|---|
| 3154 | } |
|---|
| 3155 | # Create a (secure) tmp directory for tmp files. |
|---|
| 3156 | |
|---|
| 3157 | { |
|---|
| 3158 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|---|
| 3159 | test -n "$tmp" && test -d "$tmp" |
|---|
| 3160 | } || |
|---|
| 3161 | { |
|---|
| 3162 | tmp=./conf$$-$RANDOM |
|---|
| 3163 | (umask 077 && mkdir "$tmp") |
|---|
| 3164 | } || |
|---|
| 3165 | { |
|---|
| 3166 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
|---|
| 3167 | { (exit 1); exit 1; } |
|---|
| 3168 | } |
|---|
| 3169 | |
|---|
| 3170 | # Set up the scripts for CONFIG_FILES section. |
|---|
| 3171 | # No need to generate them if there are no CONFIG_FILES. |
|---|
| 3172 | # This happens for instance with `./config.status config.h'. |
|---|
| 3173 | if test -n "$CONFIG_FILES"; then |
|---|
| 3174 | |
|---|
| 3175 | |
|---|
| 3176 | ac_cr=' |
|---|
| 3177 | ' |
|---|
| 3178 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|---|
| 3179 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|---|
| 3180 | ac_cs_awk_cr='\\r' |
|---|
| 3181 | else |
|---|
| 3182 | ac_cs_awk_cr=$ac_cr |
|---|
| 3183 | fi |
|---|
| 3184 | |
|---|
| 3185 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
|---|
| 3186 | _ACEOF |
|---|
| 3187 | |
|---|
| 3188 | |
|---|
| 3189 | { |
|---|
| 3190 | echo "cat >conf$$subs.awk <<_ACEOF" && |
|---|
| 3191 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|---|
| 3192 | echo "_ACEOF" |
|---|
| 3193 | } >conf$$subs.sh || |
|---|
| 3194 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|---|
| 3195 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|---|
| 3196 | { (exit 1); exit 1; }; } |
|---|
| 3197 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
|---|
| 3198 | ac_delim='%!_!# ' |
|---|
| 3199 | for ac_last_try in false false false false false :; do |
|---|
| 3200 | . ./conf$$subs.sh || |
|---|
| 3201 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|---|
| 3202 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|---|
| 3203 | { (exit 1); exit 1; }; } |
|---|
| 3204 | |
|---|
| 3205 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|---|
| 3206 | if test $ac_delim_n = $ac_delim_num; then |
|---|
| 3207 | break |
|---|
| 3208 | elif $ac_last_try; then |
|---|
| 3209 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|---|
| 3210 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|---|
| 3211 | { (exit 1); exit 1; }; } |
|---|
| 3212 | else |
|---|
| 3213 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|---|
| 3214 | fi |
|---|
| 3215 | done |
|---|
| 3216 | rm -f conf$$subs.sh |
|---|
| 3217 | |
|---|
| 3218 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 3219 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
|---|
| 3220 | _ACEOF |
|---|
| 3221 | sed -n ' |
|---|
| 3222 | h |
|---|
| 3223 | s/^/S["/; s/!.*/"]=/ |
|---|
| 3224 | p |
|---|
| 3225 | g |
|---|
| 3226 | s/^[^!]*!// |
|---|
| 3227 | :repl |
|---|
| 3228 | t repl |
|---|
| 3229 | s/'"$ac_delim"'$// |
|---|
| 3230 | t delim |
|---|
| 3231 | :nl |
|---|
| 3232 | h |
|---|
| 3233 | s/\(.\{148\}\).*/\1/ |
|---|
| 3234 | t more1 |
|---|
| 3235 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|---|
| 3236 | p |
|---|
| 3237 | n |
|---|
| 3238 | b repl |
|---|
| 3239 | :more1 |
|---|
| 3240 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|---|
| 3241 | p |
|---|
| 3242 | g |
|---|
| 3243 | s/.\{148\}// |
|---|
| 3244 | t nl |
|---|
| 3245 | :delim |
|---|
| 3246 | h |
|---|
| 3247 | s/\(.\{148\}\).*/\1/ |
|---|
| 3248 | t more2 |
|---|
| 3249 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|---|
| 3250 | p |
|---|
| 3251 | b |
|---|
| 3252 | :more2 |
|---|
| 3253 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|---|
| 3254 | p |
|---|
| 3255 | g |
|---|
| 3256 | s/.\{148\}// |
|---|
| 3257 | t delim |
|---|
| 3258 | ' <conf$$subs.awk | sed ' |
|---|
| 3259 | /^[^""]/{ |
|---|
| 3260 | N |
|---|
| 3261 | s/\n// |
|---|
| 3262 | } |
|---|
| 3263 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
|---|
| 3264 | rm -f conf$$subs.awk |
|---|
| 3265 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 3266 | _ACAWK |
|---|
| 3267 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
|---|
| 3268 | for (key in S) S_is_set[key] = 1 |
|---|
| 3269 | FS = "" |
|---|
| 3270 | |
|---|
| 3271 | } |
|---|
| 3272 | { |
|---|
| 3273 | line = $ 0 |
|---|
| 3274 | nfields = split(line, field, "@") |
|---|
| 3275 | substed = 0 |
|---|
| 3276 | len = length(field[1]) |
|---|
| 3277 | for (i = 2; i < nfields; i++) { |
|---|
| 3278 | key = field[i] |
|---|
| 3279 | keylen = length(key) |
|---|
| 3280 | if (S_is_set[key]) { |
|---|
| 3281 | value = S[key] |
|---|
| 3282 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|---|
| 3283 | len += length(value) + length(field[++i]) |
|---|
| 3284 | substed = 1 |
|---|
| 3285 | } else |
|---|
| 3286 | len += 1 + keylen |
|---|
| 3287 | } |
|---|
| 3288 | |
|---|
| 3289 | print line |
|---|
| 3290 | } |
|---|
| 3291 | |
|---|
| 3292 | _ACAWK |
|---|
| 3293 | _ACEOF |
|---|
| 3294 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 3295 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|---|
| 3296 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|---|
| 3297 | else |
|---|
| 3298 | cat |
|---|
| 3299 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
|---|
| 3300 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
|---|
| 3301 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} |
|---|
| 3302 | { (exit 1); exit 1; }; } |
|---|
| 3303 | _ACEOF |
|---|
| 3304 | |
|---|
| 3305 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|---|
| 3306 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|---|
| 3307 | # trailing colons and then remove the whole line if VPATH becomes empty |
|---|
| 3308 | # (actually we leave an empty line to preserve line numbers). |
|---|
| 3309 | if test "x$srcdir" = x.; then |
|---|
| 3310 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|---|
| 3311 | s/:*\$(srcdir):*/:/ |
|---|
| 3312 | s/:*\${srcdir}:*/:/ |
|---|
| 3313 | s/:*@srcdir@:*/:/ |
|---|
| 3314 | s/^\([^=]*=[ ]*\):*/\1/ |
|---|
| 3315 | s/:*$// |
|---|
| 3316 | s/^[^=]*=[ ]*$// |
|---|
| 3317 | }' |
|---|
| 3318 | fi |
|---|
| 3319 | |
|---|
| 3320 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 3321 | fi # test -n "$CONFIG_FILES" |
|---|
| 3322 | |
|---|
| 3323 | |
|---|
| 3324 | eval set X " :F $CONFIG_FILES " |
|---|
| 3325 | shift |
|---|
| 3326 | for ac_tag |
|---|
| 3327 | do |
|---|
| 3328 | case $ac_tag in |
|---|
| 3329 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|---|
| 3330 | esac |
|---|
| 3331 | case $ac_mode$ac_tag in |
|---|
| 3332 | :[FHL]*:*);; |
|---|
| 3333 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
|---|
| 3334 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
|---|
| 3335 | { (exit 1); exit 1; }; };; |
|---|
| 3336 | :[FH]-) ac_tag=-:-;; |
|---|
| 3337 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|---|
| 3338 | esac |
|---|
| 3339 | ac_save_IFS=$IFS |
|---|
| 3340 | IFS=: |
|---|
| 3341 | set x $ac_tag |
|---|
| 3342 | IFS=$ac_save_IFS |
|---|
| 3343 | shift |
|---|
| 3344 | ac_file=$1 |
|---|
| 3345 | shift |
|---|
| 3346 | |
|---|
| 3347 | case $ac_mode in |
|---|
| 3348 | :L) ac_source=$1;; |
|---|
| 3349 | :[FH]) |
|---|
| 3350 | ac_file_inputs= |
|---|
| 3351 | for ac_f |
|---|
| 3352 | do |
|---|
| 3353 | case $ac_f in |
|---|
| 3354 | -) ac_f="$tmp/stdin";; |
|---|
| 3355 | *) # Look for the file first in the build tree, then in the source tree |
|---|
| 3356 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|---|
| 3357 | # because $ac_f cannot contain `:'. |
|---|
| 3358 | test -f "$ac_f" || |
|---|
| 3359 | case $ac_f in |
|---|
| 3360 | [\\/$]*) false;; |
|---|
| 3361 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|---|
| 3362 | esac || |
|---|
| 3363 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|---|
| 3364 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|---|
| 3365 | { (exit 1); exit 1; }; };; |
|---|
| 3366 | esac |
|---|
| 3367 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|---|
| 3368 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
|---|
| 3369 | done |
|---|
| 3370 | |
|---|
| 3371 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|---|
| 3372 | # use $as_me), people would be surprised to read: |
|---|
| 3373 | # /* config.h. Generated by config.status. */ |
|---|
| 3374 | configure_input='Generated from '` |
|---|
| 3375 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|---|
| 3376 | `' by configure.' |
|---|
| 3377 | if test x"$ac_file" != x-; then |
|---|
| 3378 | configure_input="$ac_file. $configure_input" |
|---|
| 3379 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
|---|
| 3380 | $as_echo "$as_me: creating $ac_file" >&6;} |
|---|
| 3381 | fi |
|---|
| 3382 | # Neutralize special characters interpreted by sed in replacement strings. |
|---|
| 3383 | case $configure_input in #( |
|---|
| 3384 | *\&* | *\|* | *\\* ) |
|---|
| 3385 | ac_sed_conf_input=`$as_echo "$configure_input" | |
|---|
| 3386 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|---|
| 3387 | *) ac_sed_conf_input=$configure_input;; |
|---|
| 3388 | esac |
|---|
| 3389 | |
|---|
| 3390 | case $ac_tag in |
|---|
| 3391 | *:-:* | *:-) cat >"$tmp/stdin" \ |
|---|
| 3392 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|---|
| 3393 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
|---|
| 3394 | { (exit 1); exit 1; }; } ;; |
|---|
| 3395 | esac |
|---|
| 3396 | ;; |
|---|
| 3397 | esac |
|---|
| 3398 | |
|---|
| 3399 | ac_dir=`$as_dirname -- "$ac_file" || |
|---|
| 3400 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 3401 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|---|
| 3402 | X"$ac_file" : 'X\(//\)$' \| \ |
|---|
| 3403 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 3404 | $as_echo X"$ac_file" | |
|---|
| 3405 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 3406 | s//\1/ |
|---|
| 3407 | q |
|---|
| 3408 | } |
|---|
| 3409 | /^X\(\/\/\)[^/].*/{ |
|---|
| 3410 | s//\1/ |
|---|
| 3411 | q |
|---|
| 3412 | } |
|---|
| 3413 | /^X\(\/\/\)$/{ |
|---|
| 3414 | s//\1/ |
|---|
| 3415 | q |
|---|
| 3416 | } |
|---|
| 3417 | /^X\(\/\).*/{ |
|---|
| 3418 | s//\1/ |
|---|
| 3419 | q |
|---|
| 3420 | } |
|---|
| 3421 | s/.*/./; q'` |
|---|
| 3422 | { as_dir="$ac_dir" |
|---|
| 3423 | case $as_dir in #( |
|---|
| 3424 | -*) as_dir=./$as_dir;; |
|---|
| 3425 | esac |
|---|
| 3426 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|---|
| 3427 | as_dirs= |
|---|
| 3428 | while :; do |
|---|
| 3429 | case $as_dir in #( |
|---|
| 3430 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|---|
| 3431 | *) as_qdir=$as_dir;; |
|---|
| 3432 | esac |
|---|
| 3433 | as_dirs="'$as_qdir' $as_dirs" |
|---|
| 3434 | as_dir=`$as_dirname -- "$as_dir" || |
|---|
| 3435 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 3436 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|---|
| 3437 | X"$as_dir" : 'X\(//\)$' \| \ |
|---|
| 3438 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 3439 | $as_echo X"$as_dir" | |
|---|
| 3440 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 3441 | s//\1/ |
|---|
| 3442 | q |
|---|
| 3443 | } |
|---|
| 3444 | /^X\(\/\/\)[^/].*/{ |
|---|
| 3445 | s//\1/ |
|---|
| 3446 | q |
|---|
| 3447 | } |
|---|
| 3448 | /^X\(\/\/\)$/{ |
|---|
| 3449 | s//\1/ |
|---|
| 3450 | q |
|---|
| 3451 | } |
|---|
| 3452 | /^X\(\/\).*/{ |
|---|
| 3453 | s//\1/ |
|---|
| 3454 | q |
|---|
| 3455 | } |
|---|
| 3456 | s/.*/./; q'` |
|---|
| 3457 | test -d "$as_dir" && break |
|---|
| 3458 | done |
|---|
| 3459 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|---|
| 3460 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|---|
| 3461 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|---|
| 3462 | { (exit 1); exit 1; }; }; } |
|---|
| 3463 | ac_builddir=. |
|---|
| 3464 | |
|---|
| 3465 | case "$ac_dir" in |
|---|
| 3466 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 3467 | *) |
|---|
| 3468 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|---|
| 3469 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 3470 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|---|
| 3471 | case $ac_top_builddir_sub in |
|---|
| 3472 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 3473 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 3474 | esac ;; |
|---|
| 3475 | esac |
|---|
| 3476 | ac_abs_top_builddir=$ac_pwd |
|---|
| 3477 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 3478 | # for backward compatibility: |
|---|
| 3479 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 3480 | |
|---|
| 3481 | case $srcdir in |
|---|
| 3482 | .) # We are building in place. |
|---|
| 3483 | ac_srcdir=. |
|---|
| 3484 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 3485 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 3486 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 3487 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 3488 | ac_top_srcdir=$srcdir |
|---|
| 3489 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 3490 | *) # Relative name. |
|---|
| 3491 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 3492 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 3493 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 3494 | esac |
|---|
| 3495 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 3496 | |
|---|
| 3497 | |
|---|
| 3498 | case $ac_mode in |
|---|
| 3499 | :F) |
|---|
| 3500 | # |
|---|
| 3501 | # CONFIG_FILE |
|---|
| 3502 | # |
|---|
| 3503 | |
|---|
| 3504 | case $INSTALL in |
|---|
| 3505 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|---|
| 3506 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|---|
| 3507 | esac |
|---|
| 3508 | ac_MKDIR_P=$MKDIR_P |
|---|
| 3509 | case $MKDIR_P in |
|---|
| 3510 | [\\/$]* | ?:[\\/]* ) ;; |
|---|
| 3511 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|---|
| 3512 | esac |
|---|
| 3513 | _ACEOF |
|---|
| 3514 | |
|---|
| 3515 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 3516 | # If the template does not know about datarootdir, expand it. |
|---|
| 3517 | # FIXME: This hack should be removed a few years after 2.60. |
|---|
| 3518 | ac_datarootdir_hack=; ac_datarootdir_seen= |
|---|
| 3519 | |
|---|
| 3520 | ac_sed_dataroot=' |
|---|
| 3521 | /datarootdir/ { |
|---|
| 3522 | p |
|---|
| 3523 | q |
|---|
| 3524 | } |
|---|
| 3525 | /@datadir@/p |
|---|
| 3526 | /@docdir@/p |
|---|
| 3527 | /@infodir@/p |
|---|
| 3528 | /@localedir@/p |
|---|
| 3529 | /@mandir@/p |
|---|
| 3530 | ' |
|---|
| 3531 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|---|
| 3532 | *datarootdir*) ac_datarootdir_seen=yes;; |
|---|
| 3533 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|---|
| 3534 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|---|
| 3535 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|---|
| 3536 | _ACEOF |
|---|
| 3537 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 3538 | ac_datarootdir_hack=' |
|---|
| 3539 | s&@datadir@&$datadir&g |
|---|
| 3540 | s&@docdir@&$docdir&g |
|---|
| 3541 | s&@infodir@&$infodir&g |
|---|
| 3542 | s&@localedir@&$localedir&g |
|---|
| 3543 | s&@mandir@&$mandir&g |
|---|
| 3544 | s&\\\${datarootdir}&$datarootdir&g' ;; |
|---|
| 3545 | esac |
|---|
| 3546 | _ACEOF |
|---|
| 3547 | |
|---|
| 3548 | # Neutralize VPATH when `$srcdir' = `.'. |
|---|
| 3549 | # Shell code in configure.ac might set extrasub. |
|---|
| 3550 | # FIXME: do we really want to maintain this feature? |
|---|
| 3551 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|---|
| 3552 | ac_sed_extra="$ac_vpsub |
|---|
| 3553 | $extrasub |
|---|
| 3554 | _ACEOF |
|---|
| 3555 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|---|
| 3556 | :t |
|---|
| 3557 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|---|
| 3558 | s|@configure_input@|$ac_sed_conf_input|;t t |
|---|
| 3559 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
|---|
| 3560 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|---|
| 3561 | s&@srcdir@&$ac_srcdir&;t t |
|---|
| 3562 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|---|
| 3563 | s&@top_srcdir@&$ac_top_srcdir&;t t |
|---|
| 3564 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|---|
| 3565 | s&@builddir@&$ac_builddir&;t t |
|---|
| 3566 | s&@abs_builddir@&$ac_abs_builddir&;t t |
|---|
| 3567 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|---|
| 3568 | s&@INSTALL@&$ac_INSTALL&;t t |
|---|
| 3569 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|---|
| 3570 | $ac_datarootdir_hack |
|---|
| 3571 | " |
|---|
| 3572 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
|---|
| 3573 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|---|
| 3574 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
|---|
| 3575 | { (exit 1); exit 1; }; } |
|---|
| 3576 | |
|---|
| 3577 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|---|
| 3578 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|---|
| 3579 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|---|
| 3580 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|---|
| 3581 | which seems to be undefined. Please make sure it is defined." >&5 |
|---|
| 3582 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|---|
| 3583 | which seems to be undefined. Please make sure it is defined." >&2;} |
|---|
| 3584 | |
|---|
| 3585 | rm -f "$tmp/stdin" |
|---|
| 3586 | case $ac_file in |
|---|
| 3587 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
|---|
| 3588 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
|---|
| 3589 | esac \ |
|---|
| 3590 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
|---|
| 3591 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
|---|
| 3592 | { (exit 1); exit 1; }; } |
|---|
| 3593 | ;; |
|---|
| 3594 | |
|---|
| 3595 | |
|---|
| 3596 | |
|---|
| 3597 | esac |
|---|
| 3598 | |
|---|
| 3599 | done # for ac_tag |
|---|
| 3600 | |
|---|
| 3601 | |
|---|
| 3602 | { (exit 0); exit 0; } |
|---|
| 3603 | _ACEOF |
|---|
| 3604 | chmod +x $CONFIG_STATUS |
|---|
| 3605 | ac_clean_files=$ac_clean_files_save |
|---|
| 3606 | |
|---|
| 3607 | test $ac_write_fail = 0 || |
|---|
| 3608 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
|---|
| 3609 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
|---|
| 3610 | { (exit 1); exit 1; }; } |
|---|
| 3611 | |
|---|
| 3612 | |
|---|
| 3613 | # configure is writing to config.log, and then calls config.status. |
|---|
| 3614 | # config.status does its own redirection, appending to config.log. |
|---|
| 3615 | # Unfortunately, on DOS this fails, as config.log is still kept open |
|---|
| 3616 | # by configure, so config.status won't be able to write to it; its |
|---|
| 3617 | # output is simply discarded. So we exec the FD to /dev/null, |
|---|
| 3618 | # effectively closing config.log, so it can be properly (re)opened and |
|---|
| 3619 | # appended to by config.status. When coming back to configure, we |
|---|
| 3620 | # need to make the FD available again. |
|---|
| 3621 | if test "$no_create" != yes; then |
|---|
| 3622 | ac_cs_success=: |
|---|
| 3623 | ac_config_status_args= |
|---|
| 3624 | test "$silent" = yes && |
|---|
| 3625 | ac_config_status_args="$ac_config_status_args --quiet" |
|---|
| 3626 | exec 5>/dev/null |
|---|
| 3627 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|---|
| 3628 | exec 5>>config.log |
|---|
| 3629 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|---|
| 3630 | # would make configure fail if this is the last instruction. |
|---|
| 3631 | $ac_cs_success || { (exit 1); exit 1; } |
|---|
| 3632 | fi |
|---|
| 3633 | |
|---|
| 3634 | # |
|---|
| 3635 | # CONFIG_SUBDIRS section. |
|---|
| 3636 | # |
|---|
| 3637 | if test "$no_recursion" != yes; then |
|---|
| 3638 | |
|---|
| 3639 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments |
|---|
| 3640 | # so they do not pile up. |
|---|
| 3641 | ac_sub_configure_args= |
|---|
| 3642 | ac_prev= |
|---|
| 3643 | eval "set x $ac_configure_args" |
|---|
| 3644 | shift |
|---|
| 3645 | for ac_arg |
|---|
| 3646 | do |
|---|
| 3647 | if test -n "$ac_prev"; then |
|---|
| 3648 | ac_prev= |
|---|
| 3649 | continue |
|---|
| 3650 | fi |
|---|
| 3651 | case $ac_arg in |
|---|
| 3652 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|---|
| 3653 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|---|
| 3654 | ac_prev=cache_file ;; |
|---|
| 3655 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|---|
| 3656 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
|---|
| 3657 | | --c=*) |
|---|
| 3658 | ;; |
|---|
| 3659 | --config-cache | -C) |
|---|
| 3660 | ;; |
|---|
| 3661 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|---|
| 3662 | ac_prev=srcdir ;; |
|---|
| 3663 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|---|
| 3664 | ;; |
|---|
| 3665 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|---|
| 3666 | ac_prev=prefix ;; |
|---|
| 3667 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|---|
| 3668 | ;; |
|---|
| 3669 | --disable-option-checking) |
|---|
| 3670 | ;; |
|---|
| 3671 | *) |
|---|
| 3672 | case $ac_arg in |
|---|
| 3673 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 3674 | esac |
|---|
| 3675 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
|---|
| 3676 | esac |
|---|
| 3677 | done |
|---|
| 3678 | |
|---|
| 3679 | # Always prepend --prefix to ensure using the same prefix |
|---|
| 3680 | # in subdir configurations. |
|---|
| 3681 | ac_arg="--prefix=$prefix" |
|---|
| 3682 | case $ac_arg in |
|---|
| 3683 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|---|
| 3684 | esac |
|---|
| 3685 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
|---|
| 3686 | |
|---|
| 3687 | # Pass --silent |
|---|
| 3688 | if test "$silent" = yes; then |
|---|
| 3689 | ac_sub_configure_args="--silent $ac_sub_configure_args" |
|---|
| 3690 | fi |
|---|
| 3691 | |
|---|
| 3692 | # Always prepend --disable-option-checking to silence warnings, since |
|---|
| 3693 | # different subdirs can have different --enable and --with options. |
|---|
| 3694 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
|---|
| 3695 | |
|---|
| 3696 | ac_popdir=`pwd` |
|---|
| 3697 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
|---|
| 3698 | |
|---|
| 3699 | # Do not complain, so a configure script can configure whichever |
|---|
| 3700 | # parts of a large source tree are present. |
|---|
| 3701 | test -d "$srcdir/$ac_dir" || continue |
|---|
| 3702 | |
|---|
| 3703 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
|---|
| 3704 | $as_echo "$as_me:$LINENO: $ac_msg" >&5 |
|---|
| 3705 | $as_echo "$ac_msg" >&6 |
|---|
| 3706 | { as_dir="$ac_dir" |
|---|
| 3707 | case $as_dir in #( |
|---|
| 3708 | -*) as_dir=./$as_dir;; |
|---|
| 3709 | esac |
|---|
| 3710 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|---|
| 3711 | as_dirs= |
|---|
| 3712 | while :; do |
|---|
| 3713 | case $as_dir in #( |
|---|
| 3714 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|---|
| 3715 | *) as_qdir=$as_dir;; |
|---|
| 3716 | esac |
|---|
| 3717 | as_dirs="'$as_qdir' $as_dirs" |
|---|
| 3718 | as_dir=`$as_dirname -- "$as_dir" || |
|---|
| 3719 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|---|
| 3720 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|---|
| 3721 | X"$as_dir" : 'X\(//\)$' \| \ |
|---|
| 3722 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|---|
| 3723 | $as_echo X"$as_dir" | |
|---|
| 3724 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|---|
| 3725 | s//\1/ |
|---|
| 3726 | q |
|---|
| 3727 | } |
|---|
| 3728 | /^X\(\/\/\)[^/].*/{ |
|---|
| 3729 | s//\1/ |
|---|
| 3730 | q |
|---|
| 3731 | } |
|---|
| 3732 | /^X\(\/\/\)$/{ |
|---|
| 3733 | s//\1/ |
|---|
| 3734 | q |
|---|
| 3735 | } |
|---|
| 3736 | /^X\(\/\).*/{ |
|---|
| 3737 | s//\1/ |
|---|
| 3738 | q |
|---|
| 3739 | } |
|---|
| 3740 | s/.*/./; q'` |
|---|
| 3741 | test -d "$as_dir" && break |
|---|
| 3742 | done |
|---|
| 3743 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|---|
| 3744 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|---|
| 3745 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|---|
| 3746 | { (exit 1); exit 1; }; }; } |
|---|
| 3747 | ac_builddir=. |
|---|
| 3748 | |
|---|
| 3749 | case "$ac_dir" in |
|---|
| 3750 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 3751 | *) |
|---|
| 3752 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|---|
| 3753 | # A ".." for each directory in $ac_dir_suffix. |
|---|
| 3754 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|---|
| 3755 | case $ac_top_builddir_sub in |
|---|
| 3756 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|---|
| 3757 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|---|
| 3758 | esac ;; |
|---|
| 3759 | esac |
|---|
| 3760 | ac_abs_top_builddir=$ac_pwd |
|---|
| 3761 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|---|
| 3762 | # for backward compatibility: |
|---|
| 3763 | ac_top_builddir=$ac_top_build_prefix |
|---|
| 3764 | |
|---|
| 3765 | case $srcdir in |
|---|
| 3766 | .) # We are building in place. |
|---|
| 3767 | ac_srcdir=. |
|---|
| 3768 | ac_top_srcdir=$ac_top_builddir_sub |
|---|
| 3769 | ac_abs_top_srcdir=$ac_pwd ;; |
|---|
| 3770 | [\\/]* | ?:[\\/]* ) # Absolute name. |
|---|
| 3771 | ac_srcdir=$srcdir$ac_dir_suffix; |
|---|
| 3772 | ac_top_srcdir=$srcdir |
|---|
| 3773 | ac_abs_top_srcdir=$srcdir ;; |
|---|
| 3774 | *) # Relative name. |
|---|
| 3775 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|---|
| 3776 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|---|
| 3777 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|---|
| 3778 | esac |
|---|
| 3779 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|---|
| 3780 | |
|---|
| 3781 | |
|---|
| 3782 | cd "$ac_dir" |
|---|
| 3783 | |
|---|
| 3784 | # Check for guested configure; otherwise get Cygnus style configure. |
|---|
| 3785 | if test -f "$ac_srcdir/configure.gnu"; then |
|---|
| 3786 | ac_sub_configure=$ac_srcdir/configure.gnu |
|---|
| 3787 | elif test -f "$ac_srcdir/configure"; then |
|---|
| 3788 | ac_sub_configure=$ac_srcdir/configure |
|---|
| 3789 | elif test -f "$ac_srcdir/configure.in"; then |
|---|
| 3790 | # This should be Cygnus configure. |
|---|
| 3791 | ac_sub_configure=$ac_aux_dir/configure |
|---|
| 3792 | else |
|---|
| 3793 | { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
|---|
| 3794 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
|---|
| 3795 | ac_sub_configure= |
|---|
| 3796 | fi |
|---|
| 3797 | |
|---|
| 3798 | # The recursion is here. |
|---|
| 3799 | if test -n "$ac_sub_configure"; then |
|---|
| 3800 | # Make the cache file name correct relative to the subdirectory. |
|---|
| 3801 | case $cache_file in |
|---|
| 3802 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
|---|
| 3803 | *) # Relative name. |
|---|
| 3804 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
|---|
| 3805 | esac |
|---|
| 3806 | |
|---|
| 3807 | { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
|---|
| 3808 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
|---|
| 3809 | # The eval makes quoting arguments work. |
|---|
| 3810 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
|---|
| 3811 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
|---|
| 3812 | { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
|---|
| 3813 | $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
|---|
| 3814 | { (exit 1); exit 1; }; } |
|---|
| 3815 | fi |
|---|
| 3816 | |
|---|
| 3817 | cd "$ac_popdir" |
|---|
| 3818 | done |
|---|
| 3819 | fi |
|---|
| 3820 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|---|
| 3821 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|---|
| 3822 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|---|
| 3823 | fi |
|---|
| 3824 | |
|---|