/contrib/binutils/bfd/configure

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 22860 lines · 19143 code · 1957 blank · 1760 comment · 1555 complexity · 5409c422045c86a7403a70e5500b2fd6 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.59.
  4. #
  5. # Copyright (C) 2003 Free Software Foundation, Inc.
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. ## --------------------- ##
  9. ## M4sh Initialization. ##
  10. ## --------------------- ##
  11. # Be Bourne compatible
  12. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  13. emulate sh
  14. NULLCMD=:
  15. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  16. # is contrary to our usage. Disable this feature.
  17. alias -g '${1+"$@"}'='"$@"'
  18. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  19. set -o posix
  20. fi
  21. DUALCASE=1; export DUALCASE # for MKS sh
  22. # Support unset when possible.
  23. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  24. as_unset=unset
  25. else
  26. as_unset=false
  27. fi
  28. # Work around bugs in pre-3.0 UWIN ksh.
  29. $as_unset ENV MAIL MAILPATH
  30. PS1='$ '
  31. PS2='> '
  32. PS4='+ '
  33. # NLS nuisances.
  34. for as_var in \
  35. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  36. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  37. LC_TELEPHONE LC_TIME
  38. do
  39. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  40. eval $as_var=C; export $as_var
  41. else
  42. $as_unset $as_var
  43. fi
  44. done
  45. # Required to use basename.
  46. if expr a : '\(a\)' >/dev/null 2>&1; then
  47. as_expr=expr
  48. else
  49. as_expr=false
  50. fi
  51. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  52. as_basename=basename
  53. else
  54. as_basename=false
  55. fi
  56. # Name of the executable.
  57. as_me=`$as_basename "$0" ||
  58. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  59. X"$0" : 'X\(//\)$' \| \
  60. X"$0" : 'X\(/\)$' \| \
  61. . : '\(.\)' 2>/dev/null ||
  62. echo X/"$0" |
  63. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  64. /^X\/\(\/\/\)$/{ s//\1/; q; }
  65. /^X\/\(\/\).*/{ s//\1/; q; }
  66. s/.*/./; q'`
  67. # PATH needs CR, and LINENO needs CR and PATH.
  68. # Avoid depending upon Character Ranges.
  69. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  70. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  71. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  72. as_cr_digits='0123456789'
  73. as_cr_alnum=$as_cr_Letters$as_cr_digits
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76. echo "#! /bin/sh" >conf$$.sh
  77. echo "exit 0" >>conf$$.sh
  78. chmod +x conf$$.sh
  79. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  80. PATH_SEPARATOR=';'
  81. else
  82. PATH_SEPARATOR=:
  83. fi
  84. rm -f conf$$.sh
  85. fi
  86. as_lineno_1=$LINENO
  87. as_lineno_2=$LINENO
  88. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  89. test "x$as_lineno_1" != "x$as_lineno_2" &&
  90. test "x$as_lineno_3" = "x$as_lineno_2" || {
  91. # Find who we are. Look in the path if we contain no path at all
  92. # relative or not.
  93. case $0 in
  94. *[\\/]* ) as_myself=$0 ;;
  95. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98. IFS=$as_save_IFS
  99. test -z "$as_dir" && as_dir=.
  100. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101. done
  102. ;;
  103. esac
  104. # We did not find ourselves, most probably we were run as `sh COMMAND'
  105. # in which case we are not to be found in the path.
  106. if test "x$as_myself" = x; then
  107. as_myself=$0
  108. fi
  109. if test ! -f "$as_myself"; then
  110. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  111. { (exit 1); exit 1; }; }
  112. fi
  113. case $CONFIG_SHELL in
  114. '')
  115. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  116. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  117. do
  118. IFS=$as_save_IFS
  119. test -z "$as_dir" && as_dir=.
  120. for as_base in sh bash ksh sh5; do
  121. case $as_dir in
  122. /*)
  123. if ("$as_dir/$as_base" -c '
  124. as_lineno_1=$LINENO
  125. as_lineno_2=$LINENO
  126. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  127. test "x$as_lineno_1" != "x$as_lineno_2" &&
  128. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  129. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  130. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  131. CONFIG_SHELL=$as_dir/$as_base
  132. export CONFIG_SHELL
  133. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  134. fi;;
  135. esac
  136. done
  137. done
  138. ;;
  139. esac
  140. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  141. # uniformly replaced by the line number. The first 'sed' inserts a
  142. # line-number line before each line; the second 'sed' does the real
  143. # work. The second script uses 'N' to pair each line-number line
  144. # with the numbered line, and appends trailing '-' during
  145. # substitution so that $LINENO is not a special case at line end.
  146. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  147. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  148. sed '=' <$as_myself |
  149. sed '
  150. N
  151. s,$,-,
  152. : loop
  153. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  154. t loop
  155. s,-$,,
  156. s,^['$as_cr_digits']*\n,,
  157. ' >$as_me.lineno &&
  158. chmod +x $as_me.lineno ||
  159. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  160. { (exit 1); exit 1; }; }
  161. # Don't try to exec as it changes $[0], causing all sort of problems
  162. # (the dirname of $[0] is not the place where we might find the
  163. # original and so on. Autoconf is especially sensible to this).
  164. . ./$as_me.lineno
  165. # Exit status is that of the last command.
  166. exit
  167. }
  168. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  169. *c*,-n*) ECHO_N= ECHO_C='
  170. ' ECHO_T=' ' ;;
  171. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  172. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  173. esac
  174. if expr a : '\(a\)' >/dev/null 2>&1; then
  175. as_expr=expr
  176. else
  177. as_expr=false
  178. fi
  179. rm -f conf$$ conf$$.exe conf$$.file
  180. echo >conf$$.file
  181. if ln -s conf$$.file conf$$ 2>/dev/null; then
  182. # We could just check for DJGPP; but this test a) works b) is more generic
  183. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  184. if test -f conf$$.exe; then
  185. # Don't use ln at all; we don't have any links
  186. as_ln_s='cp -p'
  187. else
  188. as_ln_s='ln -s'
  189. fi
  190. elif ln conf$$.file conf$$ 2>/dev/null; then
  191. as_ln_s=ln
  192. else
  193. as_ln_s='cp -p'
  194. fi
  195. rm -f conf$$ conf$$.exe conf$$.file
  196. if mkdir -p . 2>/dev/null; then
  197. as_mkdir_p=:
  198. else
  199. test -d ./-p && rmdir ./-p
  200. as_mkdir_p=false
  201. fi
  202. as_executable_p="test -f"
  203. # Sed expression to map a string onto a valid CPP name.
  204. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  205. # Sed expression to map a string onto a valid variable name.
  206. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  207. # IFS
  208. # We need space, tab and new line, in precisely that order.
  209. as_nl='
  210. '
  211. IFS=" $as_nl"
  212. # CDPATH.
  213. $as_unset CDPATH
  214. # Check that we are running under the correct shell.
  215. SHELL=${CONFIG_SHELL-/bin/sh}
  216. case X$lt_ECHO in
  217. X*--fallback-echo)
  218. # Remove one level of quotation (which was required for Make).
  219. ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  220. ;;
  221. esac
  222. ECHO=${lt_ECHO-echo}
  223. if test "X$1" = X--no-reexec; then
  224. # Discard the --no-reexec flag, and continue.
  225. shift
  226. elif test "X$1" = X--fallback-echo; then
  227. # Avoid inline document here, it may be left over
  228. :
  229. elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  230. # Yippee, $ECHO works!
  231. :
  232. else
  233. # Restart under the correct shell.
  234. exec $SHELL "$0" --no-reexec ${1+"$@"}
  235. fi
  236. if test "X$1" = X--fallback-echo; then
  237. # used as fallback echo
  238. shift
  239. cat <<_LT_EOF
  240. $*
  241. _LT_EOF
  242. exit 0
  243. fi
  244. # The HP-UX ksh and POSIX shell print the target directory to stdout
  245. # if CDPATH is set.
  246. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  247. if test -z "$lt_ECHO"; then
  248. if test "X${echo_test_string+set}" != Xset; then
  249. # find a string as large as possible, as long as the shell can cope with it
  250. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  251. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  252. if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  253. { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  254. then
  255. break
  256. fi
  257. done
  258. fi
  259. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  260. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  261. test "X$echo_testing_string" = "X$echo_test_string"; then
  262. :
  263. else
  264. # The Solaris, AIX, and Digital Unix default echo programs unquote
  265. # backslashes. This makes it impossible to quote backslashes using
  266. # echo "$something" | sed 's/\\/\\\\/g'
  267. #
  268. # So, first we look for a working echo in the user's PATH.
  269. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  270. for dir in $PATH /usr/ucb; do
  271. IFS="$lt_save_ifs"
  272. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  273. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  274. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  275. test "X$echo_testing_string" = "X$echo_test_string"; then
  276. ECHO="$dir/echo"
  277. break
  278. fi
  279. done
  280. IFS="$lt_save_ifs"
  281. if test "X$ECHO" = Xecho; then
  282. # We didn't find a better echo, so look for alternatives.
  283. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  284. echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  285. test "X$echo_testing_string" = "X$echo_test_string"; then
  286. # This shell has a builtin print -r that does the trick.
  287. ECHO='print -r'
  288. elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  289. test "X$CONFIG_SHELL" != X/bin/ksh; then
  290. # If we have ksh, try running configure again with it.
  291. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  292. export ORIGINAL_CONFIG_SHELL
  293. CONFIG_SHELL=/bin/ksh
  294. export CONFIG_SHELL
  295. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  296. else
  297. # Try using printf.
  298. ECHO='printf %s\n'
  299. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  300. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  301. test "X$echo_testing_string" = "X$echo_test_string"; then
  302. # Cool, printf works
  303. :
  304. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  305. test "X$echo_testing_string" = 'X\t' &&
  306. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  307. test "X$echo_testing_string" = "X$echo_test_string"; then
  308. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  309. export CONFIG_SHELL
  310. SHELL="$CONFIG_SHELL"
  311. export SHELL
  312. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  313. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  314. test "X$echo_testing_string" = 'X\t' &&
  315. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  316. test "X$echo_testing_string" = "X$echo_test_string"; then
  317. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  318. else
  319. # maybe with a smaller string...
  320. prev=:
  321. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  322. if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  323. then
  324. break
  325. fi
  326. prev="$cmd"
  327. done
  328. if test "$prev" != 'sed 50q "$0"'; then
  329. echo_test_string=`eval $prev`
  330. export echo_test_string
  331. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  332. else
  333. # Oops. We lost completely, so just stick with echo.
  334. ECHO=echo
  335. fi
  336. fi
  337. fi
  338. fi
  339. fi
  340. fi
  341. # Copy echo and quote the copy suitably for passing to libtool from
  342. # the Makefile, instead of quoting the original, which is used later.
  343. lt_ECHO=$ECHO
  344. if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  345. lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  346. fi
  347. # Name of the host.
  348. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  349. # so uname gets run too.
  350. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  351. exec 6>&1
  352. #
  353. # Initializations.
  354. #
  355. ac_default_prefix=/usr/local
  356. ac_config_libobj_dir=.
  357. cross_compiling=no
  358. subdirs=
  359. MFLAGS=
  360. MAKEFLAGS=
  361. SHELL=${CONFIG_SHELL-/bin/sh}
  362. # Maximum number of lines to put in a shell here document.
  363. # This variable seems obsolete. It should probably be removed, and
  364. # only ac_max_sed_lines should be used.
  365. : ${ac_max_here_lines=38}
  366. # Identity of this package.
  367. PACKAGE_NAME=
  368. PACKAGE_TARNAME=
  369. PACKAGE_VERSION=
  370. PACKAGE_STRING=
  371. PACKAGE_BUGREPORT=
  372. ac_unique_file="libbfd.c"
  373. # Factoring default headers for most tests.
  374. ac_includes_default="\
  375. #include <stdio.h>
  376. #if HAVE_SYS_TYPES_H
  377. # include <sys/types.h>
  378. #endif
  379. #if HAVE_SYS_STAT_H
  380. # include <sys/stat.h>
  381. #endif
  382. #if STDC_HEADERS
  383. # include <stdlib.h>
  384. # include <stddef.h>
  385. #else
  386. # if HAVE_STDLIB_H
  387. # include <stdlib.h>
  388. # endif
  389. #endif
  390. #if HAVE_STRING_H
  391. # if !STDC_HEADERS && HAVE_MEMORY_H
  392. # include <memory.h>
  393. # endif
  394. # include <string.h>
  395. #endif
  396. #if HAVE_STRINGS_H
  397. # include <strings.h>
  398. #endif
  399. #if HAVE_INTTYPES_H
  400. # include <inttypes.h>
  401. #else
  402. # if HAVE_STDINT_H
  403. # include <stdint.h>
  404. # endif
  405. #endif
  406. #if HAVE_UNISTD_H
  407. # include <unistd.h>
  408. #endif"
  409. ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP DEBUGDIR PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd64_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
  410. ac_subst_files=''
  411. # Initialize some variables set by options.
  412. ac_init_help=
  413. ac_init_version=false
  414. # The variables have the same names as the options, with
  415. # dashes changed to underlines.
  416. cache_file=/dev/null
  417. exec_prefix=NONE
  418. no_create=
  419. no_recursion=
  420. prefix=NONE
  421. program_prefix=NONE
  422. program_suffix=NONE
  423. program_transform_name=s,x,x,
  424. silent=
  425. site=
  426. srcdir=
  427. verbose=
  428. x_includes=NONE
  429. x_libraries=NONE
  430. # Installation directory options.
  431. # These are left unexpanded so users can "make install exec_prefix=/foo"
  432. # and all the variables that are supposed to be based on exec_prefix
  433. # by default will actually change.
  434. # Use braces instead of parens because sh, perl, etc. also accept them.
  435. bindir='${exec_prefix}/bin'
  436. sbindir='${exec_prefix}/sbin'
  437. libexecdir='${exec_prefix}/libexec'
  438. datadir='${prefix}/share'
  439. sysconfdir='${prefix}/etc'
  440. sharedstatedir='${prefix}/com'
  441. localstatedir='${prefix}/var'
  442. libdir='${exec_prefix}/lib'
  443. includedir='${prefix}/include'
  444. oldincludedir='/usr/include'
  445. infodir='${prefix}/info'
  446. mandir='${prefix}/man'
  447. ac_prev=
  448. for ac_option
  449. do
  450. # If the previous option needs an argument, assign it.
  451. if test -n "$ac_prev"; then
  452. eval "$ac_prev=\$ac_option"
  453. ac_prev=
  454. continue
  455. fi
  456. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  457. # Accept the important Cygnus configure options, so we can diagnose typos.
  458. case $ac_option in
  459. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  460. ac_prev=bindir ;;
  461. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  462. bindir=$ac_optarg ;;
  463. -build | --build | --buil | --bui | --bu)
  464. ac_prev=build_alias ;;
  465. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  466. build_alias=$ac_optarg ;;
  467. -cache-file | --cache-file | --cache-fil | --cache-fi \
  468. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  469. ac_prev=cache_file ;;
  470. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  471. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  472. cache_file=$ac_optarg ;;
  473. --config-cache | -C)
  474. cache_file=config.cache ;;
  475. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  476. ac_prev=datadir ;;
  477. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  478. | --da=*)
  479. datadir=$ac_optarg ;;
  480. -disable-* | --disable-*)
  481. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  482. # Reject names that are not valid shell variable names.
  483. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  484. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  485. { (exit 1); exit 1; }; }
  486. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  487. eval "enable_$ac_feature=no" ;;
  488. -enable-* | --enable-*)
  489. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  490. # Reject names that are not valid shell variable names.
  491. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  492. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  493. { (exit 1); exit 1; }; }
  494. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  495. case $ac_option in
  496. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  497. *) ac_optarg=yes ;;
  498. esac
  499. eval "enable_$ac_feature='$ac_optarg'" ;;
  500. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  501. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  502. | --exec | --exe | --ex)
  503. ac_prev=exec_prefix ;;
  504. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  505. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  506. | --exec=* | --exe=* | --ex=*)
  507. exec_prefix=$ac_optarg ;;
  508. -gas | --gas | --ga | --g)
  509. # Obsolete; use --with-gas.
  510. with_gas=yes ;;
  511. -help | --help | --hel | --he | -h)
  512. ac_init_help=long ;;
  513. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  514. ac_init_help=recursive ;;
  515. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  516. ac_init_help=short ;;
  517. -host | --host | --hos | --ho)
  518. ac_prev=host_alias ;;
  519. -host=* | --host=* | --hos=* | --ho=*)
  520. host_alias=$ac_optarg ;;
  521. -includedir | --includedir | --includedi | --included | --include \
  522. | --includ | --inclu | --incl | --inc)
  523. ac_prev=includedir ;;
  524. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  525. | --includ=* | --inclu=* | --incl=* | --inc=*)
  526. includedir=$ac_optarg ;;
  527. -infodir | --infodir | --infodi | --infod | --info | --inf)
  528. ac_prev=infodir ;;
  529. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  530. infodir=$ac_optarg ;;
  531. -libdir | --libdir | --libdi | --libd)
  532. ac_prev=libdir ;;
  533. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  534. libdir=$ac_optarg ;;
  535. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  536. | --libexe | --libex | --libe)
  537. ac_prev=libexecdir ;;
  538. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  539. | --libexe=* | --libex=* | --libe=*)
  540. libexecdir=$ac_optarg ;;
  541. -localstatedir | --localstatedir | --localstatedi | --localstated \
  542. | --localstate | --localstat | --localsta | --localst \
  543. | --locals | --local | --loca | --loc | --lo)
  544. ac_prev=localstatedir ;;
  545. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  546. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  547. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  548. localstatedir=$ac_optarg ;;
  549. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  550. ac_prev=mandir ;;
  551. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  552. mandir=$ac_optarg ;;
  553. -nfp | --nfp | --nf)
  554. # Obsolete; use --without-fp.
  555. with_fp=no ;;
  556. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  557. | --no-cr | --no-c | -n)
  558. no_create=yes ;;
  559. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  560. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  561. no_recursion=yes ;;
  562. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  563. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  564. | --oldin | --oldi | --old | --ol | --o)
  565. ac_prev=oldincludedir ;;
  566. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  567. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  568. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  569. oldincludedir=$ac_optarg ;;
  570. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  571. ac_prev=prefix ;;
  572. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  573. prefix=$ac_optarg ;;
  574. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  575. | --program-pre | --program-pr | --program-p)
  576. ac_prev=program_prefix ;;
  577. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  578. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  579. program_prefix=$ac_optarg ;;
  580. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  581. | --program-suf | --program-su | --program-s)
  582. ac_prev=program_suffix ;;
  583. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  584. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  585. program_suffix=$ac_optarg ;;
  586. -program-transform-name | --program-transform-name \
  587. | --program-transform-nam | --program-transform-na \
  588. | --program-transform-n | --program-transform- \
  589. | --program-transform | --program-transfor \
  590. | --program-transfo | --program-transf \
  591. | --program-trans | --program-tran \
  592. | --progr-tra | --program-tr | --program-t)
  593. ac_prev=program_transform_name ;;
  594. -program-transform-name=* | --program-transform-name=* \
  595. | --program-transform-nam=* | --program-transform-na=* \
  596. | --program-transform-n=* | --program-transform-=* \
  597. | --program-transform=* | --program-transfor=* \
  598. | --program-transfo=* | --program-transf=* \
  599. | --program-trans=* | --program-tran=* \
  600. | --progr-tra=* | --program-tr=* | --program-t=*)
  601. program_transform_name=$ac_optarg ;;
  602. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  603. | -silent | --silent | --silen | --sile | --sil)
  604. silent=yes ;;
  605. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  606. ac_prev=sbindir ;;
  607. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  608. | --sbi=* | --sb=*)
  609. sbindir=$ac_optarg ;;
  610. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  611. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  612. | --sharedst | --shareds | --shared | --share | --shar \
  613. | --sha | --sh)
  614. ac_prev=sharedstatedir ;;
  615. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  616. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  617. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  618. | --sha=* | --sh=*)
  619. sharedstatedir=$ac_optarg ;;
  620. -site | --site | --sit)
  621. ac_prev=site ;;
  622. -site=* | --site=* | --sit=*)
  623. site=$ac_optarg ;;
  624. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  625. ac_prev=srcdir ;;
  626. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  627. srcdir=$ac_optarg ;;
  628. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  629. | --syscon | --sysco | --sysc | --sys | --sy)
  630. ac_prev=sysconfdir ;;
  631. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  632. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  633. sysconfdir=$ac_optarg ;;
  634. -target | --target | --targe | --targ | --tar | --ta | --t)
  635. ac_prev=target_alias ;;
  636. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  637. target_alias=$ac_optarg ;;
  638. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  639. verbose=yes ;;
  640. -version | --version | --versio | --versi | --vers | -V)
  641. ac_init_version=: ;;
  642. -with-* | --with-*)
  643. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  644. # Reject names that are not valid shell variable names.
  645. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  646. { echo "$as_me: error: invalid package name: $ac_package" >&2
  647. { (exit 1); exit 1; }; }
  648. ac_package=`echo $ac_package| sed 's/-/_/g'`
  649. case $ac_option in
  650. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  651. *) ac_optarg=yes ;;
  652. esac
  653. eval "with_$ac_package='$ac_optarg'" ;;
  654. -without-* | --without-*)
  655. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  656. # Reject names that are not valid shell variable names.
  657. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  658. { echo "$as_me: error: invalid package name: $ac_package" >&2
  659. { (exit 1); exit 1; }; }
  660. ac_package=`echo $ac_package | sed 's/-/_/g'`
  661. eval "with_$ac_package=no" ;;
  662. --x)
  663. # Obsolete; use --with-x.
  664. with_x=yes ;;
  665. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  666. | --x-incl | --x-inc | --x-in | --x-i)
  667. ac_prev=x_includes ;;
  668. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  669. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  670. x_includes=$ac_optarg ;;
  671. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  672. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  673. ac_prev=x_libraries ;;
  674. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  675. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  676. x_libraries=$ac_optarg ;;
  677. -*) { echo "$as_me: error: unrecognized option: $ac_option
  678. Try \`$0 --help' for more information." >&2
  679. { (exit 1); exit 1; }; }
  680. ;;
  681. *=*)
  682. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  683. # Reject names that are not valid shell variable names.
  684. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  685. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  686. { (exit 1); exit 1; }; }
  687. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  688. eval "$ac_envvar='$ac_optarg'"
  689. export $ac_envvar ;;
  690. *)
  691. # FIXME: should be removed in autoconf 3.0.
  692. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  693. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  694. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  695. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  696. ;;
  697. esac
  698. done
  699. if test -n "$ac_prev"; then
  700. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  701. { echo "$as_me: error: missing argument to $ac_option" >&2
  702. { (exit 1); exit 1; }; }
  703. fi
  704. # Be sure to have absolute paths.
  705. for ac_var in exec_prefix prefix
  706. do
  707. eval ac_val=$`echo $ac_var`
  708. case $ac_val in
  709. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  710. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  711. { (exit 1); exit 1; }; };;
  712. esac
  713. done
  714. # Be sure to have absolute paths.
  715. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  716. localstatedir libdir includedir oldincludedir infodir mandir
  717. do
  718. eval ac_val=$`echo $ac_var`
  719. case $ac_val in
  720. [\\/$]* | ?:[\\/]* ) ;;
  721. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  722. { (exit 1); exit 1; }; };;
  723. esac
  724. done
  725. # There might be people who depend on the old broken behavior: `$host'
  726. # used to hold the argument of --host etc.
  727. # FIXME: To remove some day.
  728. build=$build_alias
  729. host=$host_alias
  730. target=$target_alias
  731. # FIXME: To remove some day.
  732. if test "x$host_alias" != x; then
  733. if test "x$build_alias" = x; then
  734. cross_compiling=maybe
  735. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  736. If a cross compiler is detected then cross compile mode will be used." >&2
  737. elif test "x$build_alias" != "x$host_alias"; then
  738. cross_compiling=yes
  739. fi
  740. fi
  741. ac_tool_prefix=
  742. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  743. test "$silent" = yes && exec 6>/dev/null
  744. # Find the source files, if location was not specified.
  745. if test -z "$srcdir"; then
  746. ac_srcdir_defaulted=yes
  747. # Try the directory containing this script, then its parent.
  748. ac_confdir=`(dirname "$0") 2>/dev/null ||
  749. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  750. X"$0" : 'X\(//\)[^/]' \| \
  751. X"$0" : 'X\(//\)$' \| \
  752. X"$0" : 'X\(/\)' \| \
  753. . : '\(.\)' 2>/dev/null ||
  754. echo X"$0" |
  755. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  756. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  757. /^X\(\/\/\)$/{ s//\1/; q; }
  758. /^X\(\/\).*/{ s//\1/; q; }
  759. s/.*/./; q'`
  760. srcdir=$ac_confdir
  761. if test ! -r $srcdir/$ac_unique_file; then
  762. srcdir=..
  763. fi
  764. else
  765. ac_srcdir_defaulted=no
  766. fi
  767. if test ! -r $srcdir/$ac_unique_file; then
  768. if test "$ac_srcdir_defaulted" = yes; then
  769. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  770. { (exit 1); exit 1; }; }
  771. else
  772. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  773. { (exit 1); exit 1; }; }
  774. fi
  775. fi
  776. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  777. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  778. { (exit 1); exit 1; }; }
  779. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  780. ac_env_build_alias_set=${build_alias+set}
  781. ac_env_build_alias_value=$build_alias
  782. ac_cv_env_build_alias_set=${build_alias+set}
  783. ac_cv_env_build_alias_value=$build_alias
  784. ac_env_host_alias_set=${host_alias+set}
  785. ac_env_host_alias_value=$host_alias
  786. ac_cv_env_host_alias_set=${host_alias+set}
  787. ac_cv_env_host_alias_value=$host_alias
  788. ac_env_target_alias_set=${target_alias+set}
  789. ac_env_target_alias_value=$target_alias
  790. ac_cv_env_target_alias_set=${target_alias+set}
  791. ac_cv_env_target_alias_value=$target_alias
  792. ac_env_CC_set=${CC+set}
  793. ac_env_CC_value=$CC
  794. ac_cv_env_CC_set=${CC+set}
  795. ac_cv_env_CC_value=$CC
  796. ac_env_CFLAGS_set=${CFLAGS+set}
  797. ac_env_CFLAGS_value=$CFLAGS
  798. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  799. ac_cv_env_CFLAGS_value=$CFLAGS
  800. ac_env_LDFLAGS_set=${LDFLAGS+set}
  801. ac_env_LDFLAGS_value=$LDFLAGS
  802. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  803. ac_cv_env_LDFLAGS_value=$LDFLAGS
  804. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  805. ac_env_CPPFLAGS_value=$CPPFLAGS
  806. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  807. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  808. ac_env_CPP_set=${CPP+set}
  809. ac_env_CPP_value=$CPP
  810. ac_cv_env_CPP_set=${CPP+set}
  811. ac_cv_env_CPP_value=$CPP
  812. #
  813. # Report the --help message.
  814. #
  815. if test "$ac_init_help" = "long"; then
  816. # Omit some internal or obsolete options to make the list less imposing.
  817. # This message is too long to be a string in the A/UX 3.1 sh.
  818. cat <<_ACEOF
  819. \`configure' configures this package to adapt to many kinds of systems.
  820. Usage: $0 [OPTION]... [VAR=VALUE]...
  821. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  822. VAR=VALUE. See below for descriptions of some of the useful variables.
  823. Defaults for the options are specified in brackets.
  824. Configuration:
  825. -h, --help display this help and exit
  826. --help=short display options specific to this package
  827. --help=recursive display the short help of all the included packages
  828. -V, --version display version information and exit
  829. -q, --quiet, --silent do not print \`checking...' messages
  830. --cache-file=FILE cache test results in FILE [disabled]
  831. -C, --config-cache alias for \`--cache-file=config.cache'
  832. -n, --no-create do not create output files
  833. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  834. _ACEOF
  835. cat <<_ACEOF
  836. Installation directories:
  837. --prefix=PREFIX install architecture-independent files in PREFIX
  838. [$ac_default_prefix]
  839. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  840. [PREFIX]
  841. By default, \`make install' will install all the files in
  842. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  843. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  844. for instance \`--prefix=\$HOME'.
  845. For better control, use the options below.
  846. Fine tuning of the installation directories:
  847. --bindir=DIR user executables [EPREFIX/bin]
  848. --sbindir=DIR system admin executables [EPREFIX/sbin]
  849. --libexecdir=DIR program executables [EPREFIX/libexec]
  850. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  851. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  852. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  853. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  854. --libdir=DIR object code libraries [EPREFIX/lib]
  855. --includedir=DIR C header files [PREFIX/include]
  856. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  857. --infodir=DIR info documentation [PREFIX/info]
  858. --mandir=DIR man documentation [PREFIX/man]
  859. _ACEOF
  860. cat <<\_ACEOF
  861. Program names:
  862. --program-prefix=PREFIX prepend PREFIX to installed program names
  863. --program-suffix=SUFFIX append SUFFIX to installed program names
  864. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  865. System types:
  866. --build=BUILD configure for building on BUILD [guessed]
  867. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  868. --target=TARGET configure for building compilers for TARGET [HOST]
  869. _ACEOF
  870. fi
  871. if test -n "$ac_init_help"; then
  872. cat <<\_ACEOF
  873. Optional Features:
  874. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  875. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  876. --disable-dependency-tracking speeds up one-time build
  877. --enable-dependency-tracking do not reject slow dependency extractors
  878. --enable-shared[=PKGS]
  879. build shared libraries [default=no]
  880. --enable-static[=PKGS]
  881. build static libraries [default=yes]
  882. --enable-fast-install[=PKGS]
  883. optimize for fast installation [default=yes]
  884. --disable-libtool-lock avoid locking (might break parallel builds)
  885. --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
  886. --enable-targets alternative target configurations
  887. --enable-commonbfdlib build shared BFD/opcodes/libiberty library
  888. --enable-secureplt Default to creating read-only plt entries
  889. --enable-werror treat compile warnings as errors
  890. --enable-build-warnings enable build-time compiler warnings
  891. --enable-maintainer-mode enable make rules and dependencies not useful
  892. (and sometimes confusing) to the casual installer
  893. --enable-install-libbfd controls installation of libbfd and related headers
  894. --disable-nls do not use Native Language Support
  895. Optional Packages:
  896. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  897. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  898. --with-pic try to use only PIC/non-PIC objects [default=use
  899. both]
  900. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  901. --with-mmap try using mmap for BFD input files if available
  902. --with-separate-debug-dir=DIR
  903. Look for global separate debug info in DIR
  904. [default=LIBDIR/debug]
  905. --with-pkgversion=PKG Use PKG in the version string in place of "GNU
  906. Binutils"
  907. --with-bugurl=URL Direct users to URL to report a bug
  908. Some influential environment variables:
  909. CC C compiler command
  910. CFLAGS C compiler flags
  911. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  912. nonstandard directory <lib dir>
  913. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  914. headers in a nonstandard directory <include dir>
  915. CPP C preprocessor
  916. Use these variables to override the choices made by `configure' or to help
  917. it to find libraries and programs with nonstandard names/locations.
  918. _ACEOF
  919. fi
  920. if test "$ac_init_help" = "recursive"; then
  921. # If there are subdirs, report their specific --help.
  922. ac_popdir=`pwd`
  923. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  924. test -d $ac_dir || continue
  925. ac_builddir=.
  926. if test "$ac_dir" != .; then
  927. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  928. # A "../" for each directory in $ac_dir_suffix.
  929. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  930. else
  931. ac_dir_suffix= ac_top_builddir=
  932. fi
  933. case $srcdir in
  934. .) # No --srcdir option. We are building in place.
  935. ac_srcdir=.
  936. if test -z "$ac_top_builddir"; then
  937. ac_top_srcdir=.
  938. else
  939. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  940. fi ;;
  941. [\\/]* | ?:[\\/]* ) # Absolute path.
  942. ac_srcdir=$srcdir$ac_dir_suffix;
  943. ac_top_srcdir=$srcdir ;;
  944. *) # Relative path.
  945. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  946. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  947. esac
  948. # Do not use `cd foo && pwd` to compute absolute paths, because
  949. # the directories may not exist.
  950. case `pwd` in
  951. .) ac_abs_builddir="$ac_dir";;
  952. *)
  953. case "$ac_dir" in
  954. .) ac_abs_builddir=`pwd`;;
  955. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  956. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  957. esac;;
  958. esac
  959. case $ac_abs_builddir in
  960. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  961. *)
  962. case ${ac_top_builddir}. in
  963. .) ac_abs_top_builddir=$ac_abs_builddir;;
  964. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  965. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  966. esac;;
  967. esac
  968. case $ac_abs_builddir in
  969. .) ac_abs_srcdir=$ac_srcdir;;
  970. *)
  971. case $ac_srcdir in
  972. .) ac_abs_srcdir=$ac_abs_builddir;;
  973. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  974. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  975. esac;;
  976. esac
  977. case $ac_abs_builddir in
  978. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  979. *)
  980. case $ac_top_srcdir in
  981. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  982. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  983. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  984. esac;;
  985. esac
  986. cd $ac_dir
  987. # Check for guested configure; otherwise get Cygnus style configure.
  988. if test -f $ac_srcdir/configure.gnu; then
  989. echo
  990. $SHELL $ac_srcdir/configure.gnu --help=recursive
  991. elif test -f $ac_srcdir/configure; then
  992. echo
  993. $SHELL $ac_srcdir/configure --help=recursive
  994. elif test -f $ac_srcdir/configure.ac ||
  995. test -f $ac_srcdir/configure.in; then
  996. echo
  997. $ac_configure --help
  998. else
  999. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1000. fi
  1001. cd $ac_popdir
  1002. done
  1003. fi
  1004. test -n "$ac_init_help" && exit 0
  1005. if $ac_init_version; then
  1006. cat <<\_ACEOF
  1007. Copyright (C) 2003 Free Software Foundation, Inc.
  1008. This configure script is free software; the Free Software Foundation
  1009. gives unlimited permission to copy, distribute and modify it.
  1010. _ACEOF
  1011. exit 0
  1012. fi
  1013. exec 5>config.log
  1014. cat >&5 <<_ACEOF
  1015. This file contains any messages produced by compilers while
  1016. running configure, to aid debugging if configure makes a mistake.
  1017. It was created by $as_me, which was
  1018. generated by GNU Autoconf 2.59. Invocation command line was
  1019. $ $0 $@
  1020. _ACEOF
  1021. {
  1022. cat <<_ASUNAME
  1023. ## --------- ##
  1024. ## Platform. ##
  1025. ## --------- ##
  1026. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1027. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1028. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1029. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1030. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1031. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1032. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1033. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1034. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1035. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1036. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1037. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1038. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1039. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1040. _ASUNAME
  1041. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1042. for as_dir in $PATH
  1043. do
  1044. IFS=$as_save_IFS
  1045. test -z "$as_dir" && as_dir=.
  1046. echo "PATH: $as_dir"
  1047. done
  1048. } >&5
  1049. cat >&5 <<_ACEOF
  1050. ## ----------- ##
  1051. ## Core tests. ##
  1052. ## ----------- ##
  1053. _ACEOF
  1054. # Keep a trace of the command line.
  1055. # Strip out --no-create and --no-recursion so they do not pile up.
  1056. # Strip out --silent because we don't want to record it for future runs.
  1057. # Also quote any args containing shell meta-characters.
  1058. # Make two passes to allow for proper duplicate-argument suppression.
  1059. ac_configure_args=
  1060. ac_configure_args0=
  1061. ac_configure_args1=
  1062. ac_sep=
  1063. ac_must_keep_next=false
  1064. for ac_pass in 1 2
  1065. do
  1066. for ac_arg
  1067. do
  1068. case $ac_arg in
  1069. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1070. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1071. | -silent | --silent | --silen | --sile | --sil)
  1072. continue ;;
  1073. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1074. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1075. esac
  1076. case $ac_pass in
  1077. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1078. 2)
  1079. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1080. if test $ac_must_keep_next = true; then
  1081. ac_must_keep_next=false # Got value, back to normal.
  1082. else
  1083. case $ac_arg in
  1084. *=* | --config-cache | -C | -disable-* | --disable-* \
  1085. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1086. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1087. | -with-* | --with-* | -without-* | --without-* | --x)
  1088. case "$ac_configure_args0 " in
  1089. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1090. esac
  1091. ;;
  1092. -* ) ac_must_keep_next=true ;;
  1093. esac
  1094. fi
  1095. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1096. # Get rid of the leading space.
  1097. ac_sep=" "
  1098. ;;
  1099. esac
  1100. done
  1101. done
  1102. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1103. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1104. # When interrupted or exit'd, cleanup temporary files, and complete
  1105. # config.log. We remove comments because anyway the quotes in there
  1106. # would cause problems or look ugly.
  1107. # WARNING: Be sure not to use single quotes in there, as some shells,
  1108. # such as our DU 5.0 friend, will then `close' the trap.
  1109. trap 'exit_status=$?
  1110. # Save into config.log some information that might help in debugging.
  1111. {
  1112. echo
  1113. cat <<\_ASBOX
  1114. ## ---------------- ##
  1115. ## Cache variables. ##
  1116. ## ---------------- ##
  1117. _ASBOX
  1118. echo
  1119. # The following way of writing the cache mishandles newlines in values,
  1120. {
  1121. (set) 2>&1 |
  1122. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1123. *ac_space=\ *)
  1124. sed -n \
  1125. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1126. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1127. ;;
  1128. *)
  1129. sed -n \
  1130. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1131. ;;
  1132. esac;
  1133. }
  1134. echo
  1135. cat <<\_ASBOX
  1136. ## ----------------- ##
  1137. ## Output variables. ##
  1138. ## ----------------- ##
  1139. _ASBOX
  1140. echo
  1141. for ac_var in $ac_subst_vars
  1142. do
  1143. eval ac_val=$`echo $ac_var`
  1144. echo "$ac_var='"'"'$ac_val'"'"'"
  1145. done | sort
  1146. echo
  1147. if test -n "$ac_subst_files"; then
  1148. cat <<\_ASBOX
  1149. ## ------------- ##
  1150. ## Output files. ##
  1151. ## ------------- ##
  1152. _ASBOX
  1153. echo
  1154. for ac_var in $ac_subst_files
  1155. do
  1156. eval ac_val=$`echo $ac_var`
  1157. echo "$ac_var='"'"'$ac_val'"'"'"
  1158. done | sort
  1159. echo
  1160. fi
  1161. if test -s confdefs.h; then
  1162. cat <<\_ASBOX
  1163. ## ----------- ##
  1164. ## confdefs.h. ##
  1165. ## ----------- ##
  1166. _ASBOX
  1167. echo
  1168. sed "/^$/d" confdefs.h | sort
  1169. echo
  1170. fi
  1171. test "$ac_signal" != 0 &&
  1172. echo "$as_me: caught signal $ac_signal"
  1173. echo "$as_me: exit $exit_status"
  1174. } >&5
  1175. rm -f core *.core &&
  1176. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1177. exit $exit_status
  1178. ' 0
  1179. for ac_signal in 1 2 13 15; do
  1180. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1181. done
  1182. ac_signal=0
  1183. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1184. rm -rf conftest* confdefs.h
  1185. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1186. echo >confdefs.h
  1187. # Predefined preprocessor variables.
  1188. cat >>confdefs.h <<_ACEOF
  1189. #define PACKAGE_NAME "$PACKAGE_NAME"
  1190. _ACEOF
  1191. cat >>confdefs.h <<_ACEOF
  1192. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1193. _ACEOF
  1194. cat >>confdefs.h <<_ACEOF
  1195. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1196. _ACEOF
  1197. cat >>confdefs.h <<_ACEOF
  1198. #define PACKAGE_STRING "$PACKAGE_STRING"
  1199. _ACEOF
  1200. cat >>confdefs.h <<_ACEOF
  1201. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1202. _ACEOF
  1203. # Let the site file select an alternate cache file if it wants to.
  1204. # Prefer explicitly selected file to automatically selected ones.
  1205. if test -z "$CONFIG_SITE"; then
  1206. if test "x$prefix" != xNONE; then
  1207. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1208. else
  1209. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1210. fi
  1211. fi
  1212. for ac_site_file in $CONFIG_SITE; do
  1213. if test -r "$ac_site_file"; then
  1214. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1215. echo "$as_me: loading site script $ac_site_file" >&6;}
  1216. sed 's/^/| /' "$ac_site_file" >&5
  1217. . "$ac_site_file"
  1218. fi
  1219. done
  1220. if test -r "$cache_file"; then
  1221. # Some versions of bash will fail to source /dev/null (special
  1222. # files actually), so we avoid doing that.
  1223. if test -f "$cache_file"; then
  1224. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1225. echo "$as_me: loading cache $cache_file" >&6;}
  1226. case $cache_file in
  1227. [\\/]* | ?:[\\/]* ) . $cache_file;;
  1228. *) . ./$cache_file;;
  1229. esac
  1230. fi
  1231. else
  1232. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1233. echo "$as_me: creating cache $cache_file" >&6;}
  1234. >$cache_file
  1235. fi
  1236. # Check that the precious variables saved in the cache have kept the same
  1237. # value.
  1238. ac_cache_corrupted=false
  1239. for ac_var in `(set) 2>&1 |
  1240. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1241. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1242. eval ac_new_set=\$ac_env_${ac_var}_set
  1243. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1244. eval ac_new_val="\$ac_env_${ac_var}_value"
  1245. case $ac_old_set,$ac_new_set in
  1246. set,)
  1247. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1248. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1249. ac_cache_corrupted=: ;;
  1250. ,set)
  1251. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1252. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1253. ac_cache_corrupted=: ;;
  1254. ,);;
  1255. *)
  1256. if test "x$ac_old_val" != "x$ac_new_val"; then
  1257. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1258. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1259. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1260. echo "$as_me: former value: $ac_old_val" >&2;}
  1261. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1262. echo "$as_me: current value: $ac_new_val" >&2;}
  1263. ac_cache_corrupted=:
  1264. fi;;
  1265. esac
  1266. # Pass precious variables to config.status.
  1267. if test "$ac_new_set" = set; then
  1268. case $ac_new_val in
  1269. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1270. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1271. *) ac_arg=$ac_var=$ac_new_val ;;
  1272. esac
  1273. case " $ac_configure_args " in
  1274. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1275. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1276. esac
  1277. fi
  1278. done
  1279. if $ac_cache_corrupted; then
  1280. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1281. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1282. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1283. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1284. { (exit 1); exit 1; }; }
  1285. fi
  1286. ac_ext=c
  1287. ac_cpp='$CPP $CPPFLAGS'
  1288. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1289. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1290. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1291. ac_aux_dir=
  1292. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1293. if test -f $ac_dir/install-sh; then
  1294. ac_aux_dir=$ac_dir
  1295. ac_install_sh="$ac_aux_dir/install-sh -c"
  1296. break
  1297. elif test -f $ac_dir/install.sh; then
  1298. ac_aux_dir=$ac_dir
  1299. ac_install_sh="$ac_aux_dir/install.sh -c"
  1300. break
  1301. elif test -f $ac_dir/shtool; then
  1302. ac_aux_dir=$ac_dir
  1303. ac_install_sh="$ac_aux_dir/shtool install -c"
  1304. break
  1305. fi
  1306. done
  1307. if test -z "$ac_aux_dir"; then
  1308. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1309. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1310. { (exit 1); exit 1; }; }
  1311. fi
  1312. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1313. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1314. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1315. # Make sure we can run config.sub.
  1316. $ac_config_sub sun4 >/dev/null 2>&1 ||
  1317. { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  1318. echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  1319. { (exit 1); exit 1; }; }
  1320. echo "$as_me:$LINENO…