PageRenderTime 107ms CodeModel.GetById 27ms app.highlight 47ms RepoModel.GetById 1ms app.codeStats 3ms

/js/src/ctypes/libffi/configure

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

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