/js/src/ctypes/libffi/configure

http://github.com/zpao/v8monkey · Shell · 15099 lines · 12258 code · 1561 blank · 1280 comment · 1269 complexity · 72c54f21d25862b1196b75c62190298c MD5 · raw file

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