PageRenderTime 87ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 2ms

/tools/llvm/configure

https://bitbucket.org/arieg/ufofe
Shell | 16924 lines | 15363 code | 870 blank | 691 comment | 1076 complexity | 3153165e5cb1a632fd3372fa30ea5f3a MD5 | raw file
Possible License(s): BSD-3-Clause

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

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