PageRenderTime 1019ms CodeModel.GetById 243ms app.highlight 362ms RepoModel.GetById 80ms app.codeStats 7ms

/Modules/_ctypes/libffi/configure

http://unladen-swallow.googlecode.com/
Shell | 15528 lines | 12925 code | 1122 blank | 1481 comment | 943 complexity | a0cecb7eb9cff7722ada11afa5804163 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1#! /bin/sh
   2# Guess values for system-dependent variables and create Makefiles.
   3# Generated by GNU Autoconf 2.61 for libffi 3.0.5.
   4#
   5# Report bugs to <http://gcc.gnu.org/bugs.html>.
   6#
   7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   8# 2002, 2003, 2004, 2005, 2006 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
  16DUALCASE=1; export DUALCASE # for MKS sh
  17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  18  emulate sh
  19  NULLCMD=:
  20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  21  # is contrary to our usage.  Disable this feature.
  22  alias -g '${1+"$@"}'='"$@"'
  23  setopt NO_GLOB_SUBST
  24else
  25  case `(set -o) 2>/dev/null` in
  26  *posix*) set -o posix ;;
  27esac
  28
  29fi
  30
  31
  32
  33
  34# PATH needs CR
  35# Avoid depending upon Character Ranges.
  36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  39as_cr_digits='0123456789'
  40as_cr_alnum=$as_cr_Letters$as_cr_digits
  41
  42# The user is always right.
  43if test "${PATH_SEPARATOR+set}" != set; then
  44  echo "#! /bin/sh" >conf$$.sh
  45  echo  "exit 0"   >>conf$$.sh
  46  chmod +x conf$$.sh
  47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  48    PATH_SEPARATOR=';'
  49  else
  50    PATH_SEPARATOR=:
  51  fi
  52  rm -f conf$$.sh
  53fi
  54
  55# Support unset when possible.
  56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  57  as_unset=unset
  58else
  59  as_unset=false
  60fi
  61
  62
  63# IFS
  64# We need space, tab and new line, in precisely that order.  Quoting is
  65# there to prevent editors from complaining about space-tab.
  66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  67# splitting by setting IFS to empty value.)
  68as_nl='
  69'
  70IFS=" ""	$as_nl"
  71
  72# Find who we are.  Look in the path if we contain no directory separator.
  73case $0 in
  74  *[\\/]* ) as_myself=$0 ;;
  75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  76for as_dir in $PATH
  77do
  78  IFS=$as_save_IFS
  79  test -z "$as_dir" && as_dir=.
  80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  81done
  82IFS=$as_save_IFS
  83
  84     ;;
  85esac
  86# We did not find ourselves, most probably we were run as `sh COMMAND'
  87# in which case we are not to be found in the path.
  88if test "x$as_myself" = x; then
  89  as_myself=$0
  90fi
  91if test ! -f "$as_myself"; then
  92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  93  { (exit 1); exit 1; }
  94fi
  95
  96# Work around bugs in pre-3.0 UWIN ksh.
  97for as_var in ENV MAIL MAILPATH
  98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  99done
 100PS1='$ '
 101PS2='> '
 102PS4='+ '
 103
 104# NLS nuisances.
 105for as_var in \
 106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 108  LC_TELEPHONE LC_TIME
 109do
 110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 111    eval $as_var=C; export $as_var
 112  else
 113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 114  fi
 115done
 116
 117# Required to use basename.
 118if expr a : '\(a\)' >/dev/null 2>&1 &&
 119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 120  as_expr=expr
 121else
 122  as_expr=false
 123fi
 124
 125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 126  as_basename=basename
 127else
 128  as_basename=false
 129fi
 130
 131
 132# Name of the executable.
 133as_me=`$as_basename -- "$0" ||
 134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 135	 X"$0" : 'X\(//\)$' \| \
 136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 137echo X/"$0" |
 138    sed '/^.*\/\([^/][^/]*\)\/*$/{
 139	    s//\1/
 140	    q
 141	  }
 142	  /^X\/\(\/\/\)$/{
 143	    s//\1/
 144	    q
 145	  }
 146	  /^X\/\(\/\).*/{
 147	    s//\1/
 148	    q
 149	  }
 150	  s/.*/./; q'`
 151
 152# CDPATH.
 153$as_unset CDPATH
 154
 155
 156if test "x$CONFIG_SHELL" = x; then
 157  if (eval ":") 2>/dev/null; then
 158  as_have_required=yes
 159else
 160  as_have_required=no
 161fi
 162
 163  if test $as_have_required = yes && 	 (eval ":
 164(as_func_return () {
 165  (exit \$1)
 166}
 167as_func_success () {
 168  as_func_return 0
 169}
 170as_func_failure () {
 171  as_func_return 1
 172}
 173as_func_ret_success () {
 174  return 0
 175}
 176as_func_ret_failure () {
 177  return 1
 178}
 179
 180exitcode=0
 181if as_func_success; then
 182  :
 183else
 184  exitcode=1
 185  echo as_func_success failed.
 186fi
 187
 188if as_func_failure; then
 189  exitcode=1
 190  echo as_func_failure succeeded.
 191fi
 192
 193if as_func_ret_success; then
 194  :
 195else
 196  exitcode=1
 197  echo as_func_ret_success failed.
 198fi
 199
 200if as_func_ret_failure; then
 201  exitcode=1
 202  echo as_func_ret_failure succeeded.
 203fi
 204
 205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 206  :
 207else
 208  exitcode=1
 209  echo positional parameters were not saved.
 210fi
 211
 212test \$exitcode = 0) || { (exit 1); exit 1; }
 213
 214(
 215  as_lineno_1=\$LINENO
 216  as_lineno_2=\$LINENO
 217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 219") 2> /dev/null; then
 220  :
 221else
 222  as_candidate_shells=
 223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 225do
 226  IFS=$as_save_IFS
 227  test -z "$as_dir" && as_dir=.
 228  case $as_dir in
 229	 /*)
 230	   for as_base in sh bash ksh sh5; do
 231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 232	   done;;
 233       esac
 234done
 235IFS=$as_save_IFS
 236
 237
 238      for as_shell in $as_candidate_shells $SHELL; do
 239	 # Try only shells that exist, to save several forks.
 240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
 242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 243  emulate sh
 244  NULLCMD=:
 245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 246  # is contrary to our usage.  Disable this feature.
 247  alias -g '${1+"$@"}'='"$@"'
 248  setopt NO_GLOB_SUBST
 249else
 250  case `(set -o) 2>/dev/null` in
 251  *posix*) set -o posix ;;
 252esac
 253
 254fi
 255
 256
 257:
 258_ASEOF
 259}; then
 260  CONFIG_SHELL=$as_shell
 261	       as_have_required=yes
 262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
 263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 264  emulate sh
 265  NULLCMD=:
 266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 267  # is contrary to our usage.  Disable this feature.
 268  alias -g '${1+"$@"}'='"$@"'
 269  setopt NO_GLOB_SUBST
 270else
 271  case `(set -o) 2>/dev/null` in
 272  *posix*) set -o posix ;;
 273esac
 274
 275fi
 276
 277
 278:
 279(as_func_return () {
 280  (exit $1)
 281}
 282as_func_success () {
 283  as_func_return 0
 284}
 285as_func_failure () {
 286  as_func_return 1
 287}
 288as_func_ret_success () {
 289  return 0
 290}
 291as_func_ret_failure () {
 292  return 1
 293}
 294
 295exitcode=0
 296if as_func_success; then
 297  :
 298else
 299  exitcode=1
 300  echo as_func_success failed.
 301fi
 302
 303if as_func_failure; then
 304  exitcode=1
 305  echo as_func_failure succeeded.
 306fi
 307
 308if as_func_ret_success; then
 309  :
 310else
 311  exitcode=1
 312  echo as_func_ret_success failed.
 313fi
 314
 315if as_func_ret_failure; then
 316  exitcode=1
 317  echo as_func_ret_failure succeeded.
 318fi
 319
 320if ( set x; as_func_ret_success y && test x = "$1" ); then
 321  :
 322else
 323  exitcode=1
 324  echo positional parameters were not saved.
 325fi
 326
 327test $exitcode = 0) || { (exit 1); exit 1; }
 328
 329(
 330  as_lineno_1=$LINENO
 331  as_lineno_2=$LINENO
 332  test "x$as_lineno_1" != "x$as_lineno_2" &&
 333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 334
 335_ASEOF
 336}; then
 337  break
 338fi
 339
 340fi
 341
 342      done
 343
 344      if test "x$CONFIG_SHELL" != x; then
 345  for as_var in BASH_ENV ENV
 346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 347        done
 348        export CONFIG_SHELL
 349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 350fi
 351
 352
 353    if test $as_have_required = no; then
 354  echo This script requires a shell more modern than all the
 355      echo shells that I found on your system.  Please install a
 356      echo modern shell, or manually run the script under such a
 357      echo shell if you do have one.
 358      { (exit 1); exit 1; }
 359fi
 360
 361
 362fi
 363
 364fi
 365
 366
 367
 368(eval "as_func_return () {
 369  (exit \$1)
 370}
 371as_func_success () {
 372  as_func_return 0
 373}
 374as_func_failure () {
 375  as_func_return 1
 376}
 377as_func_ret_success () {
 378  return 0
 379}
 380as_func_ret_failure () {
 381  return 1
 382}
 383
 384exitcode=0
 385if as_func_success; then
 386  :
 387else
 388  exitcode=1
 389  echo as_func_success failed.
 390fi
 391
 392if as_func_failure; then
 393  exitcode=1
 394  echo as_func_failure succeeded.
 395fi
 396
 397if as_func_ret_success; then
 398  :
 399else
 400  exitcode=1
 401  echo as_func_ret_success failed.
 402fi
 403
 404if as_func_ret_failure; then
 405  exitcode=1
 406  echo as_func_ret_failure succeeded.
 407fi
 408
 409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 410  :
 411else
 412  exitcode=1
 413  echo positional parameters were not saved.
 414fi
 415
 416test \$exitcode = 0") || {
 417  echo No shell found that supports shell functions.
 418  echo Please tell autoconf@gnu.org about your system,
 419  echo including any error possibly output before this
 420  echo message
 421}
 422
 423
 424
 425  as_lineno_1=$LINENO
 426  as_lineno_2=$LINENO
 427  test "x$as_lineno_1" != "x$as_lineno_2" &&
 428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 429
 430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 431  # uniformly replaced by the line number.  The first 'sed' inserts a
 432  # line-number line after each line using $LINENO; the second 'sed'
 433  # does the real work.  The second script uses 'N' to pair each
 434  # line-number line with the line containing $LINENO, and appends
 435  # trailing '-' during substitution so that $LINENO is not a special
 436  # case at line end.
 437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 439  # E. McMahon (1931-1989) for sed's syntax.  :-)
 440  sed -n '
 441    p
 442    /[$]LINENO/=
 443  ' <$as_myself |
 444    sed '
 445      s/[$]LINENO.*/&-/
 446      t lineno
 447      b
 448      :lineno
 449      N
 450      :loop
 451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 452      t loop
 453      s/-\n.*//
 454    ' >$as_me.lineno &&
 455  chmod +x "$as_me.lineno" ||
 456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 457   { (exit 1); exit 1; }; }
 458
 459  # Don't try to exec as it changes $[0], causing all sort of problems
 460  # (the dirname of $[0] is not the place where we might find the
 461  # original and so on.  Autoconf is especially sensitive to this).
 462  . "./$as_me.lineno"
 463  # Exit status is that of the last command.
 464  exit
 465}
 466
 467
 468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 469  as_dirname=dirname
 470else
 471  as_dirname=false
 472fi
 473
 474ECHO_C= ECHO_N= ECHO_T=
 475case `echo -n x` in
 476-n*)
 477  case `echo 'x\c'` in
 478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 479  *)   ECHO_C='\c';;
 480  esac;;
 481*)
 482  ECHO_N='-n';;
 483esac
 484
 485if expr a : '\(a\)' >/dev/null 2>&1 &&
 486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 487  as_expr=expr
 488else
 489  as_expr=false
 490fi
 491
 492rm -f conf$$ conf$$.exe conf$$.file
 493if test -d conf$$.dir; then
 494  rm -f conf$$.dir/conf$$.file
 495else
 496  rm -f conf$$.dir
 497  mkdir conf$$.dir
 498fi
 499echo >conf$$.file
 500if ln -s conf$$.file conf$$ 2>/dev/null; then
 501  as_ln_s='ln -s'
 502  # ... but there are two gotchas:
 503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 505  # In both cases, we have to default to `cp -p'.
 506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 507    as_ln_s='cp -p'
 508elif ln conf$$.file conf$$ 2>/dev/null; then
 509  as_ln_s=ln
 510else
 511  as_ln_s='cp -p'
 512fi
 513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 514rmdir conf$$.dir 2>/dev/null
 515
 516if mkdir -p . 2>/dev/null; then
 517  as_mkdir_p=:
 518else
 519  test -d ./-p && rmdir ./-p
 520  as_mkdir_p=false
 521fi
 522
 523if test -x / >/dev/null 2>&1; then
 524  as_test_x='test -x'
 525else
 526  if ls -dL / >/dev/null 2>&1; then
 527    as_ls_L_option=L
 528  else
 529    as_ls_L_option=
 530  fi
 531  as_test_x='
 532    eval sh -c '\''
 533      if test -d "$1"; then
 534        test -d "$1/.";
 535      else
 536	case $1 in
 537        -*)set "./$1";;
 538	esac;
 539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 540	???[sx]*):;;*)false;;esac;fi
 541    '\'' sh
 542  '
 543fi
 544as_executable_p=$as_test_x
 545
 546# Sed expression to map a string onto a valid CPP name.
 547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 548
 549# Sed expression to map a string onto a valid variable name.
 550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 551
 552
 553
 554
 555# Check that we are running under the correct shell.
 556SHELL=${CONFIG_SHELL-/bin/sh}
 557
 558case X$ECHO in
 559X*--fallback-echo)
 560  # Remove one level of quotation (which was required for Make).
 561  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 562  ;;
 563esac
 564
 565echo=${ECHO-echo}
 566if test "X$1" = X--no-reexec; then
 567  # Discard the --no-reexec flag, and continue.
 568  shift
 569elif test "X$1" = X--fallback-echo; then
 570  # Avoid inline document here, it may be left over
 571  :
 572elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
 573  # Yippee, $echo works!
 574  :
 575else
 576  # Restart under the correct shell.
 577  exec $SHELL "$0" --no-reexec ${1+"$@"}
 578fi
 579
 580if test "X$1" = X--fallback-echo; then
 581  # used as fallback echo
 582  shift
 583  cat <<EOF
 584$*
 585EOF
 586  exit 0
 587fi
 588
 589# The HP-UX ksh and POSIX shell print the target directory to stdout
 590# if CDPATH is set.
 591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 592
 593if test -z "$ECHO"; then
 594if test "X${echo_test_string+set}" != Xset; then
 595# find a string as large as possible, as long as the shell can cope with it
 596  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 597    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 598    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 599       echo_test_string=`eval $cmd` &&
 600       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
 601    then
 602      break
 603    fi
 604  done
 605fi
 606
 607if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 608   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 609   test "X$echo_testing_string" = "X$echo_test_string"; then
 610  :
 611else
 612  # The Solaris, AIX, and Digital Unix default echo programs unquote
 613  # backslashes.  This makes it impossible to quote backslashes using
 614  #   echo "$something" | sed 's/\\/\\\\/g'
 615  #
 616  # So, first we look for a working echo in the user's PATH.
 617
 618  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 619  for dir in $PATH /usr/ucb; do
 620    IFS="$lt_save_ifs"
 621    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 622       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 623       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 624       test "X$echo_testing_string" = "X$echo_test_string"; then
 625      echo="$dir/echo"
 626      break
 627    fi
 628  done
 629  IFS="$lt_save_ifs"
 630
 631  if test "X$echo" = Xecho; then
 632    # We didn't find a better echo, so look for alternatives.
 633    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
 634       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
 635       test "X$echo_testing_string" = "X$echo_test_string"; then
 636      # This shell has a builtin print -r that does the trick.
 637      echo='print -r'
 638    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
 639	 test "X$CONFIG_SHELL" != X/bin/ksh; then
 640      # If we have ksh, try running configure again with it.
 641      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 642      export ORIGINAL_CONFIG_SHELL
 643      CONFIG_SHELL=/bin/ksh
 644      export CONFIG_SHELL
 645      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 646    else
 647      # Try using printf.
 648      echo='printf %s\n'
 649      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
 650	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
 651	 test "X$echo_testing_string" = "X$echo_test_string"; then
 652	# Cool, printf works
 653	:
 654      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 655	   test "X$echo_testing_string" = 'X\t' &&
 656	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 657	   test "X$echo_testing_string" = "X$echo_test_string"; then
 658	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 659	export CONFIG_SHELL
 660	SHELL="$CONFIG_SHELL"
 661	export SHELL
 662	echo="$CONFIG_SHELL $0 --fallback-echo"
 663      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 664	   test "X$echo_testing_string" = 'X\t' &&
 665	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 666	   test "X$echo_testing_string" = "X$echo_test_string"; then
 667	echo="$CONFIG_SHELL $0 --fallback-echo"
 668      else
 669	# maybe with a smaller string...
 670	prev=:
 671
 672	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 673	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
 674	  then
 675	    break
 676	  fi
 677	  prev="$cmd"
 678	done
 679
 680	if test "$prev" != 'sed 50q "$0"'; then
 681	  echo_test_string=`eval $prev`
 682	  export echo_test_string
 683	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 684	else
 685	  # Oops.  We lost completely, so just stick with echo.
 686	  echo=echo
 687	fi
 688      fi
 689    fi
 690  fi
 691fi
 692fi
 693
 694# Copy echo and quote the copy suitably for passing to libtool from
 695# the Makefile, instead of quoting the original, which is used later.
 696ECHO=$echo
 697if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 698   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 699fi
 700
 701
 702
 703
 704tagnames=${tagnames+${tagnames},}CXX
 705
 706tagnames=${tagnames+${tagnames},}F77
 707
 708exec 7<&0 </dev/null 6>&1
 709
 710# Name of the host.
 711# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 712# so uname gets run too.
 713ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 714
 715#
 716# Initializations.
 717#
 718ac_default_prefix=/usr/local
 719ac_clean_files=
 720ac_config_libobj_dir=.
 721LIBOBJS=
 722cross_compiling=no
 723subdirs=
 724MFLAGS=
 725MAKEFLAGS=
 726SHELL=${CONFIG_SHELL-/bin/sh}
 727
 728# Identity of this package.
 729PACKAGE_NAME='libffi'
 730PACKAGE_TARNAME='libffi'
 731PACKAGE_VERSION='3.0.5'
 732PACKAGE_STRING='libffi 3.0.5'
 733PACKAGE_BUGREPORT='http://gcc.gnu.org/bugs.html'
 734
 735# Factoring default headers for most tests.
 736ac_includes_default="\
 737#include <stdio.h>
 738#ifdef HAVE_SYS_TYPES_H
 739# include <sys/types.h>
 740#endif
 741#ifdef HAVE_SYS_STAT_H
 742# include <sys/stat.h>
 743#endif
 744#ifdef STDC_HEADERS
 745# include <stdlib.h>
 746# include <stddef.h>
 747#else
 748# ifdef HAVE_STDLIB_H
 749#  include <stdlib.h>
 750# endif
 751#endif
 752#ifdef HAVE_STRING_H
 753# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 754#  include <memory.h>
 755# endif
 756# include <string.h>
 757#endif
 758#ifdef HAVE_STRINGS_H
 759# include <strings.h>
 760#endif
 761#ifdef HAVE_INTTYPES_H
 762# include <inttypes.h>
 763#endif
 764#ifdef HAVE_STDINT_H
 765# include <stdint.h>
 766#endif
 767#ifdef HAVE_UNISTD_H
 768# include <unistd.h>
 769#endif"
 770
 771ac_subst_vars='SHELL
 772PATH_SEPARATOR
 773PACKAGE_NAME
 774PACKAGE_TARNAME
 775PACKAGE_VERSION
 776PACKAGE_STRING
 777PACKAGE_BUGREPORT
 778exec_prefix
 779prefix
 780program_transform_name
 781bindir
 782sbindir
 783libexecdir
 784datarootdir
 785datadir
 786sysconfdir
 787sharedstatedir
 788localstatedir
 789includedir
 790oldincludedir
 791docdir
 792infodir
 793htmldir
 794dvidir
 795pdfdir
 796psdir
 797libdir
 798localedir
 799mandir
 800DEFS
 801ECHO_C
 802ECHO_N
 803ECHO_T
 804LIBS
 805build_alias
 806host_alias
 807target_alias
 808build
 809build_cpu
 810build_vendor
 811build_os
 812host
 813host_cpu
 814host_vendor
 815host_os
 816target
 817target_cpu
 818target_vendor
 819target_os
 820INSTALL_PROGRAM
 821INSTALL_SCRIPT
 822INSTALL_DATA
 823am__isrc
 824CYGPATH_W
 825PACKAGE
 826VERSION
 827ACLOCAL
 828AUTOCONF
 829AUTOMAKE
 830AUTOHEADER
 831MAKEINFO
 832install_sh
 833STRIP
 834INSTALL_STRIP_PROGRAM
 835mkdir_p
 836AWK
 837SET_MAKE
 838am__leading_dot
 839AMTAR
 840am__tar
 841am__untar
 842CC
 843CFLAGS
 844LDFLAGS
 845CPPFLAGS
 846ac_ct_CC
 847EXEEXT
 848OBJEXT
 849DEPDIR
 850am__include
 851am__quote
 852AMDEP_TRUE
 853AMDEP_FALSE
 854AMDEPBACKSLASH
 855CCDEPMODE
 856am__fastdepCC_TRUE
 857am__fastdepCC_FALSE
 858CCAS
 859CCASFLAGS
 860CCASDEPMODE
 861am__fastdepCCAS_TRUE
 862am__fastdepCCAS_FALSE
 863SED
 864GREP
 865EGREP
 866LN_S
 867ECHO
 868AR
 869RANLIB
 870CPP
 871CXX
 872CXXFLAGS
 873ac_ct_CXX
 874CXXDEPMODE
 875am__fastdepCXX_TRUE
 876am__fastdepCXX_FALSE
 877CXXCPP
 878F77
 879FFLAGS
 880ac_ct_F77
 881LIBTOOL
 882MAINTAINER_MODE_TRUE
 883MAINTAINER_MODE_FALSE
 884MAINT
 885TESTSUBDIR_TRUE
 886TESTSUBDIR_FALSE
 887AM_RUNTESTFLAGS
 888MIPS_TRUE
 889MIPS_FALSE
 890SPARC_TRUE
 891SPARC_FALSE
 892X86_TRUE
 893X86_FALSE
 894X86_FREEBSD_TRUE
 895X86_FREEBSD_FALSE
 896X86_WIN32_TRUE
 897X86_WIN32_FALSE
 898X86_DARWIN_TRUE
 899X86_DARWIN_FALSE
 900ALPHA_TRUE
 901ALPHA_FALSE
 902IA64_TRUE
 903IA64_FALSE
 904M32R_TRUE
 905M32R_FALSE
 906M68K_TRUE
 907M68K_FALSE
 908POWERPC_TRUE
 909POWERPC_FALSE
 910POWERPC_AIX_TRUE
 911POWERPC_AIX_FALSE
 912POWERPC_DARWIN_TRUE
 913POWERPC_DARWIN_FALSE
 914POWERPC_FREEBSD_TRUE
 915POWERPC_FREEBSD_FALSE
 916ARM_TRUE
 917ARM_FALSE
 918LIBFFI_CRIS_TRUE
 919LIBFFI_CRIS_FALSE
 920FRV_TRUE
 921FRV_FALSE
 922S390_TRUE
 923S390_FALSE
 924X86_64_TRUE
 925X86_64_FALSE
 926SH_TRUE
 927SH_FALSE
 928SH64_TRUE
 929SH64_FALSE
 930PA_LINUX_TRUE
 931PA_LINUX_FALSE
 932PA_HPUX_TRUE
 933PA_HPUX_FALSE
 934PA64_HPUX_TRUE
 935PA64_HPUX_FALSE
 936ALLOCA
 937HAVE_LONG_DOUBLE
 938TARGET
 939TARGETDIR
 940toolexecdir
 941toolexeclibdir
 942LIBOBJS
 943LTLIBOBJS'
 944ac_subst_files=''
 945      ac_precious_vars='build_alias
 946host_alias
 947target_alias
 948CCAS
 949CCASFLAGS
 950CPP
 951CPPFLAGS
 952CXX
 953CXXFLAGS
 954LDFLAGS
 955LIBS
 956CCC
 957CXXCPP
 958F77
 959FFLAGS'
 960
 961
 962# Initialize some variables set by options.
 963ac_init_help=
 964ac_init_version=false
 965# The variables have the same names as the options, with
 966# dashes changed to underlines.
 967cache_file=/dev/null
 968exec_prefix=NONE
 969no_create=
 970no_recursion=
 971prefix=NONE
 972program_prefix=NONE
 973program_suffix=NONE
 974program_transform_name=s,x,x,
 975silent=
 976site=
 977srcdir=
 978verbose=
 979x_includes=NONE
 980x_libraries=NONE
 981
 982# Installation directory options.
 983# These are left unexpanded so users can "make install exec_prefix=/foo"
 984# and all the variables that are supposed to be based on exec_prefix
 985# by default will actually change.
 986# Use braces instead of parens because sh, perl, etc. also accept them.
 987# (The list follows the same order as the GNU Coding Standards.)
 988bindir='${exec_prefix}/bin'
 989sbindir='${exec_prefix}/sbin'
 990libexecdir='${exec_prefix}/libexec'
 991datarootdir='${prefix}/share'
 992datadir='${datarootdir}'
 993sysconfdir='${prefix}/etc'
 994sharedstatedir='${prefix}/com'
 995localstatedir='${prefix}/var'
 996includedir='${prefix}/include'
 997oldincludedir='/usr/include'
 998docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 999infodir='${datarootdir}/info'
1000htmldir='${docdir}'
1001dvidir='${docdir}'
1002pdfdir='${docdir}'
1003psdir='${docdir}'
1004libdir='${exec_prefix}/lib'
1005localedir='${datarootdir}/locale'
1006mandir='${datarootdir}/man'
1007
1008ac_prev=
1009ac_dashdash=
1010for ac_option
1011do
1012  # If the previous option needs an argument, assign it.
1013  if test -n "$ac_prev"; then
1014    eval $ac_prev=\$ac_option
1015    ac_prev=
1016    continue
1017  fi
1018
1019  case $ac_option in
1020  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021  *)	ac_optarg=yes ;;
1022  esac
1023
1024  # Accept the important Cygnus configure options, so we can diagnose typos.
1025
1026  case $ac_dashdash$ac_option in
1027  --)
1028    ac_dashdash=yes ;;
1029
1030  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1031    ac_prev=bindir ;;
1032  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1033    bindir=$ac_optarg ;;
1034
1035  -build | --build | --buil | --bui | --bu)
1036    ac_prev=build_alias ;;
1037  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1038    build_alias=$ac_optarg ;;
1039
1040  -cache-file | --cache-file | --cache-fil | --cache-fi \
1041  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1042    ac_prev=cache_file ;;
1043  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1044  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1045    cache_file=$ac_optarg ;;
1046
1047  --config-cache | -C)
1048    cache_file=config.cache ;;
1049
1050  -datadir | --datadir | --datadi | --datad)
1051    ac_prev=datadir ;;
1052  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1053    datadir=$ac_optarg ;;
1054
1055  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1056  | --dataroo | --dataro | --datar)
1057    ac_prev=datarootdir ;;
1058  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1059  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1060    datarootdir=$ac_optarg ;;
1061
1062  -disable-* | --disable-*)
1063    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064    # Reject names that are not valid shell variable names.
1065    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1066      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1067   { (exit 1); exit 1; }; }
1068    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1069    eval enable_$ac_feature=no ;;
1070
1071  -docdir | --docdir | --docdi | --doc | --do)
1072    ac_prev=docdir ;;
1073  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1074    docdir=$ac_optarg ;;
1075
1076  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1077    ac_prev=dvidir ;;
1078  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1079    dvidir=$ac_optarg ;;
1080
1081  -enable-* | --enable-*)
1082    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1083    # Reject names that are not valid shell variable names.
1084    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1086   { (exit 1); exit 1; }; }
1087    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1088    eval enable_$ac_feature=\$ac_optarg ;;
1089
1090  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1091  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1092  | --exec | --exe | --ex)
1093    ac_prev=exec_prefix ;;
1094  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1095  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1096  | --exec=* | --exe=* | --ex=*)
1097    exec_prefix=$ac_optarg ;;
1098
1099  -gas | --gas | --ga | --g)
1100    # Obsolete; use --with-gas.
1101    with_gas=yes ;;
1102
1103  -help | --help | --hel | --he | -h)
1104    ac_init_help=long ;;
1105  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1106    ac_init_help=recursive ;;
1107  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1108    ac_init_help=short ;;
1109
1110  -host | --host | --hos | --ho)
1111    ac_prev=host_alias ;;
1112  -host=* | --host=* | --hos=* | --ho=*)
1113    host_alias=$ac_optarg ;;
1114
1115  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1116    ac_prev=htmldir ;;
1117  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1118  | --ht=*)
1119    htmldir=$ac_optarg ;;
1120
1121  -includedir | --includedir | --includedi | --included | --include \
1122  | --includ | --inclu | --incl | --inc)
1123    ac_prev=includedir ;;
1124  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1125  | --includ=* | --inclu=* | --incl=* | --inc=*)
1126    includedir=$ac_optarg ;;
1127
1128  -infodir | --infodir | --infodi | --infod | --info | --inf)
1129    ac_prev=infodir ;;
1130  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1131    infodir=$ac_optarg ;;
1132
1133  -libdir | --libdir | --libdi | --libd)
1134    ac_prev=libdir ;;
1135  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1136    libdir=$ac_optarg ;;
1137
1138  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1139  | --libexe | --libex | --libe)
1140    ac_prev=libexecdir ;;
1141  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1142  | --libexe=* | --libex=* | --libe=*)
1143    libexecdir=$ac_optarg ;;
1144
1145  -localedir | --localedir | --localedi | --localed | --locale)
1146    ac_prev=localedir ;;
1147  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1148    localedir=$ac_optarg ;;
1149
1150  -localstatedir | --localstatedir | --localstatedi | --localstated \
1151  | --localstate | --localstat | --localsta | --localst | --locals)
1152    ac_prev=localstatedir ;;
1153  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1154  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1155    localstatedir=$ac_optarg ;;
1156
1157  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1158    ac_prev=mandir ;;
1159  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1160    mandir=$ac_optarg ;;
1161
1162  -nfp | --nfp | --nf)
1163    # Obsolete; use --without-fp.
1164    with_fp=no ;;
1165
1166  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1167  | --no-cr | --no-c | -n)
1168    no_create=yes ;;
1169
1170  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1171  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1172    no_recursion=yes ;;
1173
1174  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1175  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1176  | --oldin | --oldi | --old | --ol | --o)
1177    ac_prev=oldincludedir ;;
1178  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1179  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1180  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1181    oldincludedir=$ac_optarg ;;
1182
1183  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1184    ac_prev=prefix ;;
1185  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1186    prefix=$ac_optarg ;;
1187
1188  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1189  | --program-pre | --program-pr | --program-p)
1190    ac_prev=program_prefix ;;
1191  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1192  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1193    program_prefix=$ac_optarg ;;
1194
1195  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1196  | --program-suf | --program-su | --program-s)
1197    ac_prev=program_suffix ;;
1198  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1199  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1200    program_suffix=$ac_optarg ;;
1201
1202  -program-transform-name | --program-transform-name \
1203  | --program-transform-nam | --program-transform-na \
1204  | --program-transform-n | --program-transform- \
1205  | --program-transform | --program-transfor \
1206  | --program-transfo | --program-transf \
1207  | --program-trans | --program-tran \
1208  | --progr-tra | --program-tr | --program-t)
1209    ac_prev=program_transform_name ;;
1210  -program-transform-name=* | --program-transform-name=* \
1211  | --program-transform-nam=* | --program-transform-na=* \
1212  | --program-transform-n=* | --program-transform-=* \
1213  | --program-transform=* | --program-transfor=* \
1214  | --program-transfo=* | --program-transf=* \
1215  | --program-trans=* | --program-tran=* \
1216  | --progr-tra=* | --program-tr=* | --program-t=*)
1217    program_transform_name=$ac_optarg ;;
1218
1219  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1220    ac_prev=pdfdir ;;
1221  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1222    pdfdir=$ac_optarg ;;
1223
1224  -psdir | --psdir | --psdi | --psd | --ps)
1225    ac_prev=psdir ;;
1226  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1227    psdir=$ac_optarg ;;
1228
1229  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1230  | -silent | --silent | --silen | --sile | --sil)
1231    silent=yes ;;
1232
1233  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1234    ac_prev=sbindir ;;
1235  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1236  | --sbi=* | --sb=*)
1237    sbindir=$ac_optarg ;;
1238
1239  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1240  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1241  | --sharedst | --shareds | --shared | --share | --shar \
1242  | --sha | --sh)
1243    ac_prev=sharedstatedir ;;
1244  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1245  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1246  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1247  | --sha=* | --sh=*)
1248    sharedstatedir=$ac_optarg ;;
1249
1250  -site | --site | --sit)
1251    ac_prev=site ;;
1252  -site=* | --site=* | --sit=*)
1253    site=$ac_optarg ;;
1254
1255  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1256    ac_prev=srcdir ;;
1257  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1258    srcdir=$ac_optarg ;;
1259
1260  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1261  | --syscon | --sysco | --sysc | --sys | --sy)
1262    ac_prev=sysconfdir ;;
1263  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1264  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1265    sysconfdir=$ac_optarg ;;
1266
1267  -target | --target | --targe | --targ | --tar | --ta | --t)
1268    ac_prev=target_alias ;;
1269  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1270    target_alias=$ac_optarg ;;
1271
1272  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1273    verbose=yes ;;
1274
1275  -version | --version | --versio | --versi | --vers | -V)
1276    ac_init_version=: ;;
1277
1278  -with-* | --with-*)
1279    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1280    # Reject names that are not valid shell variable names.
1281    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1282      { echo "$as_me: error: invalid package name: $ac_package" >&2
1283   { (exit 1); exit 1; }; }
1284    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1285    eval with_$ac_package=\$ac_optarg ;;
1286
1287  -without-* | --without-*)
1288    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289    # Reject names that are not valid shell variable names.
1290    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1291      { echo "$as_me: error: invalid package name: $ac_package" >&2
1292   { (exit 1); exit 1; }; }
1293    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1294    eval with_$ac_package=no ;;
1295
1296  --x)
1297    # Obsolete; use --with-x.
1298    with_x=yes ;;
1299
1300  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1301  | --x-incl | --x-inc | --x-in | --x-i)
1302    ac_prev=x_includes ;;
1303  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1304  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1305    x_includes=$ac_optarg ;;
1306
1307  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1308  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1309    ac_prev=x_libraries ;;
1310  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1311  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1312    x_libraries=$ac_optarg ;;
1313
1314  -*) { echo "$as_me: error: unrecognized option: $ac_option
1315Try \`$0 --help' for more information." >&2
1316   { (exit 1); exit 1; }; }
1317    ;;
1318
1319  *=*)
1320    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1321    # Reject names that are not valid shell variable names.
1322    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1323      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1324   { (exit 1); exit 1; }; }
1325    eval $ac_envvar=\$ac_optarg
1326    export $ac_envvar ;;
1327
1328  *)
1329    # FIXME: should be removed in autoconf 3.0.
1330    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1331    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1332      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1333    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1334    ;;
1335
1336  esac
1337done
1338
1339if test -n "$ac_prev"; then
1340  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1341  { echo "$as_me: error: missing argument to $ac_option" >&2
1342   { (exit 1); exit 1; }; }
1343fi
1344
1345# Be sure to have absolute directory names.
1346for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1347		datadir sysconfdir sharedstatedir localstatedir includedir \
1348		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1349		libdir localedir mandir
1350do
1351  eval ac_val=\$$ac_var
1352  case $ac_val in
1353    [\\/$]* | ?:[\\/]* )  continue;;
1354    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1355  esac
1356  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1357   { (exit 1); exit 1; }; }
1358done
1359
1360# There might be people who depend on the old broken behavior: `$host'
1361# used to hold the argument of --host etc.
1362# FIXME: To remove some day.
1363build=$build_alias
1364host=$host_alias
1365target=$target_alias
1366
1367# FIXME: To remove some day.
1368if test "x$host_alias" != x; then
1369  if test "x$build_alias" = x; then
1370    cross_compiling=maybe
1371    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1372    If a cross compiler is detected then cross compile mode will be used." >&2
1373  elif test "x$build_alias" != "x$host_alias"; then
1374    cross_compiling=yes
1375  fi
1376fi
1377
1378ac_tool_prefix=
1379test -n "$host_alias" && ac_tool_prefix=$host_alias-
1380
1381test "$silent" = yes && exec 6>/dev/null
1382
1383
1384ac_pwd=`pwd` && test -n "$ac_pwd" &&
1385ac_ls_di=`ls -di .` &&
1386ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1387  { echo "$as_me: error: Working directory cannot be determined" >&2
1388   { (exit 1); exit 1; }; }
1389test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1390  { echo "$as_me: error: pwd does not report name of working directory" >&2
1391   { (exit 1); exit 1; }; }
1392
1393
1394# Find the source files, if location was not specified.
1395if test -z "$srcdir"; then
1396  ac_srcdir_defaulted=yes
1397  # Try the directory containing this script, then the parent directory.
1398  ac_confdir=`$as_dirname -- "$0" ||
1399$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1400	 X"$0" : 'X\(//\)[^/]' \| \
1401	 X"$0" : 'X\(//\)$' \| \
1402	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1403echo X"$0" |
1404    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405	    s//\1/
1406	    q
1407	  }
1408	  /^X\(\/\/\)[^/].*/{
1409	    s//\1/
1410	    q
1411	  }
1412	  /^X\(\/\/\)$/{
1413	    s//\1/
1414	    q
1415	  }
1416	  /^X\(\/\).*/{
1417	    s//\1/
1418	    q
1419	  }
1420	  s/.*/./; q'`
1421  srcdir=$ac_confdir
1422  if test ! -r "$srcdir/$ac_unique_file"; then
1423    srcdir=..
1424  fi
1425else
1426  ac_srcdir_defaulted=no
1427fi
1428if test ! -r "$srcdir/$ac_unique_file"; then
1429  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1430  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1431   { (exit 1); exit 1; }; }
1432fi
1433ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1434ac_abs_confdir=`(
1435	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1436   { (exit 1); exit 1; }; }
1437	pwd)`
1438# When building in place, set srcdir=.
1439if test "$ac_abs_confdir" = "$ac_pwd"; then
1440  srcdir=.
1441fi
1442# Remove unnecessary trailing slashes from srcdir.
1443# Double slashes in file names in object file debugging info
1444# mess up M-x gdb in Emacs.
1445case $srcdir in
1446*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447esac
1448for ac_var in $ac_precious_vars; do
1449  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1450  eval ac_env_${ac_var}_value=\$${ac_var}
1451  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1452  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453done
1454
1455#
1456# Report the --help message.
1457#
1458if test "$ac_init_help" = "long"; then
1459  # Omit some internal or obsolete options to make the list less imposing.
1460  # This message is too long to be a string in the A/UX 3.1 sh.
1461  cat <<_ACEOF
1462\`configure' configures libffi 3.0.5 to adapt to many kinds of systems.
1463
1464Usage: $0 [OPTION]... [VAR=VALUE]...
1465
1466To assign environment variables (e.g., CC, CFLAGS...), specify them as
1467VAR=VALUE.  See below for descriptions of some of the useful variables.
1468
1469Defaults for the options are specified in brackets.
1470
1471Configuration:
1472  -h, --help              display this help and exit
1473      --help=short        display options specific to this package
1474      --help=recursive    display the short help of all the included packages
1475  -V, --version           display version information and exit
1476  -q, --quiet, --silent   do not print \`checking...' messages
1477      --cache-file=FILE   cache test results in FILE [disabled]
1478  -C, --config-cache      alias for \`--cache-file=config.cache'
1479  -n, --no-create         do not create output files
1480      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1481
1482Installation directories:
1483  --prefix=PREFIX         install architecture-independent files in PREFIX
1484			  [$ac_default_prefix]
1485  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1486			  [PREFIX]
1487
1488By default, \`make install' will install all the files in
1489\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1490an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1491for instance \`--prefix=\$HOME'.
1492
1493For better control, use the options below.
1494
1495Fine tuning of the installation directories:
1496  --bindir=DIR           user executables [EPREFIX/bin]
1497  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1498  --libexecdir=DIR       program executables [EPREFIX/libexec]
1499  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1500  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1501  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1502  --libdir=DIR           object code libraries [EPREFIX/lib]
1503  --includedir=DIR       C header files [PREFIX/include]
1504  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1505  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1506  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1507  --infodir=DIR          info documentation [DATAROOTDIR/info]
1508  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1509  --mandir=DIR           man documentation [DATAROOTDIR/man]
1510  --docdir=DIR           documentation root [DATAROOTDIR/doc/libffi]
1511  --htmldir=DIR          html documentation [DOCDIR]
1512  --dvidir=DIR           dvi documentation [DOCDIR]
1513  --pdfdir=DIR           pdf documentation [DOCDIR]
1514  --psdir=DIR            ps documentation [DOCDIR]
1515_ACEOF
1516
1517  cat <<\_ACEOF
1518
1519Program names:
1520  --program-prefix=PREFIX            prepend PREFIX to installed program names
1521  --program-suffix=SUFFIX            append SUFFIX to installed program names
1522  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1523
1524System types:
1525  --build=BUILD     configure for building on BUILD [guessed]
1526  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1527  --target=TARGET   configure for building compilers for TARGET [HOST]
1528_ACEOF
1529fi
1530
1531if test -n "$ac_init_help"; then
1532  case $ac_init_help in
1533     short | recursive ) echo "Configuration of libffi 3.0.5:";;
1534   esac
1535  cat <<\_ACEOF
1536
1537Optional Features:
1538  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1539  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1540  --disable-dependency-tracking  speeds up one-time build
1541  --enable-dependency-tracking   do not reject slow dependency extractors
1542  --enable-shared[=PKGS]  build shared libraries [default=yes]
1543  --enable-static[=PKGS]  build static libraries [default=yes]
1544  --enable-fast-install[=PKGS]
1545                          optimize for fast installation [default=yes]
1546  --disable-libtool-lock  avoid locking (might break parallel builds)
1547  --enable-maintainer-mode  enable make rules and dependencies not useful
1548			  (and sometimes confusing) to the casual installer
1549  --enable-debug          debugging mode
1550  --disable-structs       omit code for struct support
1551  --disable-raw-api       make the raw api unavailable
1552  --enable-purify-safety  purify-safe mode
1553
1554Optional Packages:
1555  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1556  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1557  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1558  --with-pic              try to use only PIC/non-PIC objects [default=use
1559                          both]
1560  --with-tags[=TAGS]      include additional configurations [automatic]
1561
1562Some influential environment variables:
1563  CC          C compiler command
1564  CFLAGS      C compiler flags
1565  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1566              nonstandard directory <lib dir>
1567  LIBS        libraries to pass to the linker, e.g. -l<library>
1568  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1569              you have headers in a nonstandard directory <include dir>
1570  CCAS        assembler compiler command (defaults to CC)
1571  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1572  CPP         C preprocessor
1573  CXX         C++ compiler command
1574  CXXFLAGS    C++ compiler flags
1575  CXXCPP      C++ preprocessor
1576  F77         Fortran 77 compiler command
1577  FFLAGS      Fortran 77 compiler flags
1578
1579Use these variables to override the choices made by `configure' or to help
1580it to find libraries and programs with nonstandard names/locations.
1581
1582Report bugs to <http://gcc.gnu.org/bugs.html>.
1583_ACEOF
1584ac_status=$?
1585fi
1586
1587if test "$ac_init_help" = "recursive"; then
1588  # If there are subdirs, report their specific --help.
1589  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1590    test -d "$ac_dir" || continue
1591    ac_builddir=.
1592
1593case "$ac_dir" in
1594.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595*)
1596  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1597  # A ".." for each directory in $ac_dir_suffix.
1598  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1599  case $ac_top_builddir_sub in
1600  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602  esac ;;
1603esac
1604ac_abs_top_builddir=$ac_pwd
1605ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606# for backward compatibility:
1607ac_top_builddir=$ac_top_build_prefix
1608
1609case $srcdir in
1610  .)  # We are building in place.
1611    ac_srcdir=.
1612    ac_top_srcdir=$ac_top_builddir_sub
1613    ac_abs_top_srcdir=$ac_pwd ;;
1614  [\\/]* | ?:[\\/]* )  # Absolute name.
1615    ac_srcdir=$srcdir$ac_dir_suffix;
1616    ac_top_srcdir=$srcdir
1617    ac_abs_top_srcdir=$srcdir ;;
1618  *) # Relative name.
1619    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620    ac_top_srcdir=$ac_top_build_prefix$srcdir
1621    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1622esac
1623ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1624
1625    cd "$ac_dir" || { ac_status=$?; continue; }
1626    # Check for guested configure.
1627    if test -f "$ac_srcdir/configure.gnu"; then
1628      echo &&
1629      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630    elif test -f "$ac_srcdir/configure"; then
1631      echo &&
1632      $SHELL "$ac_srcdir/configure" --help=recursive
1633    else
1634      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1635    fi || ac_status=$?
1636    cd "$ac_pwd" || { ac_status=$?; break; }
1637  done
1638fi
1639
1640test -n "$ac_init_help" && exit $ac_status
1641if $ac_init_version; then
1642  cat <<\_ACEOF
1643libffi configure 3.0.5
1644generated by GNU Autoconf 2.61
1645
1646Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16472002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1648This configure script is free software; the Free Software Foundation
1649gives unlimited permission to copy, distribute and modify it.
1650_ACEOF
1651  exit
1652fi
1653cat >config.log <<_ACEOF
1654This file contains any messages produced by compilers while
1655running configure, to aid debugging if configure makes a mistake.
1656
1657It was created by libffi $as_me 3.0.5, which was
1658generated by GNU Autoconf 2.61.  Invocation command line was
1659
1660  $ $0 $@
1661
1662_ACEOF
1663exec 5>>config.log
1664{
1665cat <<_ASUNAME
1666## --------- ##
1667## Platform. ##
1668## --------- ##
1669
1670hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1671uname -m = `(uname -m) 2>/dev/null || echo unknown`
1672uname -r = `(uname -r) 2>/dev/null || echo unknown`
1673uname -s = `(uname -s) 2>/dev/null || echo unknown`
1674uname -v = `(uname -v) 2>/dev/null || echo unknown`
1675
1676/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1677/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1678
1679/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1680/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1681/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1682/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1683/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1684/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1685/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1686
1687_ASUNAME
1688
1689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690for as_dir in $PATH
1691do
1692  IFS=$as_save_IFS
1693  test -z "$as_dir" && as_dir=.
1694  echo "PATH: $as_dir"
1695done
1696IFS=$as_save_IFS
1697
1698} >&5
1699
1700cat >&5 <<_ACEOF
1701
1702
1703## ----------- ##
1704## Core tests. ##
1705## ----------- ##
1706
1707_ACEOF
1708
1709
1710# Keep a trace of the command line.
1711# Strip out --no-create and --no-recursion so they do not pile up.
1712# Strip out --silent because we don't want to record it for future runs.
1713# Also quote any args containing shell meta-characters.
1714# Make two passes to allow for proper duplicate-argument suppression.
1715ac_configure_args=
1716ac_configure_args0=
1717ac_configure_args1=
1718ac_must_keep_next=false
1719for ac_pass in 1 2
1720do
1721  for ac_arg
1722  do
1723    case $ac_arg in
1724    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1725    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1726    | -silent | --silent | --silen | --sile | --sil)
1727      continue ;;
1728    *\'*)
1729      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1730    esac
1731    case $ac_pass in
1732    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1733    2)
1734      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1735      if test $ac_must_keep_next = true; then
1736	ac_must_keep_next=false # Got value, back to normal.
1737      else
1738	case $ac_arg in
1739	  *=* | --config-cache | -C | -disable-* | --disable-* \
1740	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1741	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1742	  | -with-* | --with-* | -without-* | --without-* | --x)
1743	    case "$ac_configure_args0 " in
1744	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1745	    esac
1746	    ;;
1747	  -* ) ac_must_keep_next=true ;;
1748	esac
1749      fi
1750      ac_configure_args="$ac_configure_args '$ac_arg'"
1751      ;;
1752    esac
1753  done
1754done
1755$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1756$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1757
1758# When interrupted or exit'd, cleanup temporary files, and complete
1759# config.log.  We remove comments because anyway the quotes in there
1760# would cause problems or look ugly.
1761# WARNING: Use '\'' to represent an apostrophe within the trap.
1762# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1763trap 'exit_status=$?
1764  # Save into config.log some information that might help in debugging.
1765  {
1766    echo
1767
1768    cat <<\_ASBOX
1769## ---------------- ##
1770## Cache variables. ##
1771## ---------------- ##
1772_ASBOX
1773    echo
1774    # The following way of writing the cache mishandles newlines in values,
1775(
1776  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1777    eval ac_val=\$$ac_var
1778    case $ac_val in #(
1779    *${as_nl}*)
1780      case $ac_var in #(
1781      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1782echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1783      esac
1784      case $ac_var in #(
1785      _ | IFS | as_nl) ;; #(
1786      *) $as_unset $ac_var ;;
1787      esac ;;
1788    esac
1789  done
1790  (set) 2>&1 |
1791    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1792    *${as_nl}ac_space=\ *)
1793      sed -n \
1794	"s/'\''/'\''\\\\'\'''\''/g;
1795	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1796      ;; #(
1797    *)
1798      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1799      ;;
1800    esac |
1801    sort
1802)
1803    echo
1804
1805    cat <<\_ASBOX
1806## ----------------- ##
1807## Output variables. ##
1808## ----------------- ##
1809_ASBOX
1810    echo
1811    for ac_var in $ac_subst_vars
1812    do
1813      eval ac_val=\$$ac_var
1814      case $ac_val in
1815      *\'\''*) ac_val…

Large files files are truncated, but you can click here to view the full file