config.status 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125
  1. #! /bin/bash
  2. # Generated by configure.
  3. # Run this file to recreate the current configuration.
  4. # Compiler output produced by configure, useful for debugging
  5. # configure, is in config.log if it exists.
  6. debug=false
  7. ac_cs_recheck=false
  8. ac_cs_silent=false
  9. SHELL=${CONFIG_SHELL-/bin/bash}
  10. export SHELL
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. case $0 in #((
  84. *[\\/]* ) as_myself=$0 ;;
  85. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  86. for as_dir in $PATH
  87. do
  88. IFS=$as_save_IFS
  89. test -z "$as_dir" && as_dir=.
  90. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  91. done
  92. IFS=$as_save_IFS
  93. ;;
  94. esac
  95. # We did not find ourselves, most probably we were run as `sh COMMAND'
  96. # in which case we are not to be found in the path.
  97. if test "x$as_myself" = x; then
  98. as_myself=$0
  99. fi
  100. if test ! -f "$as_myself"; then
  101. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  102. exit 1
  103. fi
  104. # Unset variables that we do not need and which cause bugs (e.g. in
  105. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  106. # suppresses any "Segmentation fault" message there. '((' could
  107. # trigger a bug in pdksh 5.2.14.
  108. for as_var in BASH_ENV ENV MAIL MAILPATH
  109. do eval test x\${$as_var+set} = xset \
  110. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  111. done
  112. PS1='$ '
  113. PS2='> '
  114. PS4='+ '
  115. # NLS nuisances.
  116. LC_ALL=C
  117. export LC_ALL
  118. LANGUAGE=C
  119. export LANGUAGE
  120. # CDPATH.
  121. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  122. # as_fn_error ERROR [LINENO LOG_FD]
  123. # ---------------------------------
  124. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  125. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  126. # script with status $?, using 1 if that was 0.
  127. as_fn_error ()
  128. {
  129. as_status=$?; test $as_status -eq 0 && as_status=1
  130. if test "$3"; then
  131. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  132. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  133. fi
  134. $as_echo "$as_me: error: $1" >&2
  135. as_fn_exit $as_status
  136. } # as_fn_error
  137. # as_fn_set_status STATUS
  138. # -----------------------
  139. # Set $? to STATUS, without forking.
  140. as_fn_set_status ()
  141. {
  142. return $1
  143. } # as_fn_set_status
  144. # as_fn_exit STATUS
  145. # -----------------
  146. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  147. as_fn_exit ()
  148. {
  149. set +e
  150. as_fn_set_status $1
  151. exit $1
  152. } # as_fn_exit
  153. # as_fn_unset VAR
  154. # ---------------
  155. # Portably unset VAR.
  156. as_fn_unset ()
  157. {
  158. { eval $1=; unset $1;}
  159. }
  160. as_unset=as_fn_unset
  161. # as_fn_append VAR VALUE
  162. # ----------------------
  163. # Append the text in VALUE to the end of the definition contained in VAR. Take
  164. # advantage of any shell optimizations that allow amortized linear growth over
  165. # repeated appends, instead of the typical quadratic growth present in naive
  166. # implementations.
  167. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  168. eval 'as_fn_append ()
  169. {
  170. eval $1+=\$2
  171. }'
  172. else
  173. as_fn_append ()
  174. {
  175. eval $1=\$$1\$2
  176. }
  177. fi # as_fn_append
  178. # as_fn_arith ARG...
  179. # ------------------
  180. # Perform arithmetic evaluation on the ARGs, and store the result in the
  181. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  182. # must be portable across $(()) and expr.
  183. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  184. eval 'as_fn_arith ()
  185. {
  186. as_val=$(( $* ))
  187. }'
  188. else
  189. as_fn_arith ()
  190. {
  191. as_val=`expr "$@" || test $? -eq 1`
  192. }
  193. fi # as_fn_arith
  194. if expr a : '\(a\)' >/dev/null 2>&1 &&
  195. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  196. as_expr=expr
  197. else
  198. as_expr=false
  199. fi
  200. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  201. as_basename=basename
  202. else
  203. as_basename=false
  204. fi
  205. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  206. as_dirname=dirname
  207. else
  208. as_dirname=false
  209. fi
  210. as_me=`$as_basename -- "$0" ||
  211. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  212. X"$0" : 'X\(//\)$' \| \
  213. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  214. $as_echo X/"$0" |
  215. sed '/^.*\/\([^/][^/]*\)\/*$/{
  216. s//\1/
  217. q
  218. }
  219. /^X\/\(\/\/\)$/{
  220. s//\1/
  221. q
  222. }
  223. /^X\/\(\/\).*/{
  224. s//\1/
  225. q
  226. }
  227. s/.*/./; q'`
  228. # Avoid depending upon Character Ranges.
  229. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  230. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  231. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  232. as_cr_digits='0123456789'
  233. as_cr_alnum=$as_cr_Letters$as_cr_digits
  234. ECHO_C= ECHO_N= ECHO_T=
  235. case `echo -n x` in #(((((
  236. -n*)
  237. case `echo 'xy\c'` in
  238. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  239. xy) ECHO_C='\c';;
  240. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  241. ECHO_T=' ';;
  242. esac;;
  243. *)
  244. ECHO_N='-n';;
  245. esac
  246. rm -f conf$$ conf$$.exe conf$$.file
  247. if test -d conf$$.dir; then
  248. rm -f conf$$.dir/conf$$.file
  249. else
  250. rm -f conf$$.dir
  251. mkdir conf$$.dir 2>/dev/null
  252. fi
  253. if (echo >conf$$.file) 2>/dev/null; then
  254. if ln -s conf$$.file conf$$ 2>/dev/null; then
  255. as_ln_s='ln -s'
  256. # ... but there are two gotchas:
  257. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  258. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  259. # In both cases, we have to default to `cp -p'.
  260. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  261. as_ln_s='cp -p'
  262. elif ln conf$$.file conf$$ 2>/dev/null; then
  263. as_ln_s=ln
  264. else
  265. as_ln_s='cp -p'
  266. fi
  267. else
  268. as_ln_s='cp -p'
  269. fi
  270. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  271. rmdir conf$$.dir 2>/dev/null
  272. # as_fn_mkdir_p
  273. # -------------
  274. # Create "$as_dir" as a directory, including parents if necessary.
  275. as_fn_mkdir_p ()
  276. {
  277. case $as_dir in #(
  278. -*) as_dir=./$as_dir;;
  279. esac
  280. test -d "$as_dir" || eval $as_mkdir_p || {
  281. as_dirs=
  282. while :; do
  283. case $as_dir in #(
  284. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  285. *) as_qdir=$as_dir;;
  286. esac
  287. as_dirs="'$as_qdir' $as_dirs"
  288. as_dir=`$as_dirname -- "$as_dir" ||
  289. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  290. X"$as_dir" : 'X\(//\)[^/]' \| \
  291. X"$as_dir" : 'X\(//\)$' \| \
  292. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  293. $as_echo X"$as_dir" |
  294. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  295. s//\1/
  296. q
  297. }
  298. /^X\(\/\/\)[^/].*/{
  299. s//\1/
  300. q
  301. }
  302. /^X\(\/\/\)$/{
  303. s//\1/
  304. q
  305. }
  306. /^X\(\/\).*/{
  307. s//\1/
  308. q
  309. }
  310. s/.*/./; q'`
  311. test -d "$as_dir" && break
  312. done
  313. test -z "$as_dirs" || eval "mkdir $as_dirs"
  314. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  315. } # as_fn_mkdir_p
  316. if mkdir -p . 2>/dev/null; then
  317. as_mkdir_p='mkdir -p "$as_dir"'
  318. else
  319. test -d ./-p && rmdir ./-p
  320. as_mkdir_p=false
  321. fi
  322. if test -x / >/dev/null 2>&1; then
  323. as_test_x='test -x'
  324. else
  325. if ls -dL / >/dev/null 2>&1; then
  326. as_ls_L_option=L
  327. else
  328. as_ls_L_option=
  329. fi
  330. as_test_x='
  331. eval sh -c '\''
  332. if test -d "$1"; then
  333. test -d "$1/.";
  334. else
  335. case $1 in #(
  336. -*)set "./$1";;
  337. esac;
  338. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  339. ???[sx]*):;;*)false;;esac;fi
  340. '\'' sh
  341. '
  342. fi
  343. as_executable_p=$as_test_x
  344. # Sed expression to map a string onto a valid CPP name.
  345. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  346. # Sed expression to map a string onto a valid variable name.
  347. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  348. exec 6>&1
  349. ## ----------------------------------- ##
  350. ## Main body of $CONFIG_STATUS script. ##
  351. ## ----------------------------------- ##
  352. # Save the log message, to keep $0 and so on meaningful, and to
  353. # report actual input values of CONFIG_FILES etc. instead of their
  354. # values after options handling.
  355. ac_log="
  356. This file was extended by $as_me, which was
  357. generated by GNU Autoconf 2.64. Invocation command line was
  358. CONFIG_FILES = $CONFIG_FILES
  359. CONFIG_HEADERS = $CONFIG_HEADERS
  360. CONFIG_LINKS = $CONFIG_LINKS
  361. CONFIG_COMMANDS = $CONFIG_COMMANDS
  362. $ $0 $@
  363. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  364. "
  365. # Files that config.status was made for.
  366. config_files=" Makefile"
  367. ac_cs_usage="\
  368. \`$as_me' instantiates files and other configuration actions
  369. from templates according to the current configuration. Unless the files
  370. and actions are specified as TAGs, all are instantiated by default.
  371. Usage: $0 [OPTION]... [TAG]...
  372. -h, --help print this help, then exit
  373. -V, --version print version number and configuration settings, then exit
  374. -q, --quiet, --silent
  375. do not print progress messages
  376. -d, --debug don't remove temporary files
  377. --recheck update $as_me by reconfiguring in the same conditions
  378. --file=FILE[:TEMPLATE]
  379. instantiate the configuration file FILE
  380. Configuration files:
  381. $config_files
  382. Report bugs to the package provider."
  383. ac_cs_version="\
  384. config.status
  385. configured by ./configure, generated by GNU Autoconf 2.64,
  386. with options \"'--host=arm-linux-gnueabihf' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/release' 'CC=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc' 'AR=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ar' 'RANLIB=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ranlib' 'STRIP=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-strip' 'CXX=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++' 'host_alias=arm-linux-gnueabihf'\"
  387. Copyright (C) 2009 Free Software Foundation, Inc.
  388. This config.status script is free software; the Free Software Foundation
  389. gives unlimited permission to copy, distribute and modify it."
  390. ac_pwd='/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1'
  391. srcdir='.'
  392. INSTALL='/usr/bin/install -c'
  393. AWK='gawk'
  394. test -n "$AWK" || AWK=awk
  395. # The default lists apply if the user does not specify any file.
  396. ac_need_defaults=:
  397. while test $# != 0
  398. do
  399. case $1 in
  400. --*=*)
  401. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  402. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  403. ac_shift=:
  404. ;;
  405. *)
  406. ac_option=$1
  407. ac_optarg=$2
  408. ac_shift=shift
  409. ;;
  410. esac
  411. case $ac_option in
  412. # Handling of the options.
  413. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  414. ac_cs_recheck=: ;;
  415. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  416. $as_echo "$ac_cs_version"; exit ;;
  417. --debug | --debu | --deb | --de | --d | -d )
  418. debug=: ;;
  419. --file | --fil | --fi | --f )
  420. $ac_shift
  421. case $ac_optarg in
  422. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  423. esac
  424. as_fn_append CONFIG_FILES " '$ac_optarg'"
  425. ac_need_defaults=false;;
  426. --he | --h | --help | --hel | -h )
  427. $as_echo "$ac_cs_usage"; exit ;;
  428. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  429. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  430. ac_cs_silent=: ;;
  431. # This is an error.
  432. -*) as_fn_error "unrecognized option: \`$1'
  433. Try \`$0 --help' for more information." ;;
  434. *) as_fn_append ac_config_targets " $1"
  435. ac_need_defaults=false ;;
  436. esac
  437. shift
  438. done
  439. ac_configure_extra_args=
  440. if $ac_cs_silent; then
  441. exec 6>/dev/null
  442. ac_configure_extra_args="$ac_configure_extra_args --silent"
  443. fi
  444. if $ac_cs_recheck; then
  445. set X '/bin/bash' './configure' '--host=arm-linux-gnueabihf' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/release' 'CC=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc' 'AR=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ar' 'RANLIB=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ranlib' 'STRIP=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-strip' 'CXX=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++' 'host_alias=arm-linux-gnueabihf' $ac_configure_extra_args --no-create --no-recursion
  446. shift
  447. $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
  448. CONFIG_SHELL='/bin/bash'
  449. export CONFIG_SHELL
  450. exec "$@"
  451. fi
  452. exec 5>>config.log
  453. {
  454. echo
  455. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  456. ## Running $as_me. ##
  457. _ASBOX
  458. $as_echo "$ac_log"
  459. } >&5
  460. #
  461. # INIT-COMMANDS
  462. #
  463. extrasub_build="
  464. /^@if build-libiberty$/d
  465. /^@endif build-libiberty$/d
  466. /^@if build-libiberty-no-bootstrap$/d
  467. /^@endif build-libiberty-no-bootstrap$/d"
  468. extrasub_host="
  469. /^@if intl$/d
  470. /^@endif intl$/d
  471. /^@if intl-no-bootstrap$/d
  472. /^@endif intl-no-bootstrap$/d
  473. /^@if libiberty$/d
  474. /^@endif libiberty$/d
  475. /^@if libiberty-no-bootstrap$/d
  476. /^@endif libiberty-no-bootstrap$/d
  477. /^@if opcodes$/d
  478. /^@endif opcodes$/d
  479. /^@if opcodes-no-bootstrap$/d
  480. /^@endif opcodes-no-bootstrap$/d
  481. /^@if bfd$/d
  482. /^@endif bfd$/d
  483. /^@if bfd-no-bootstrap$/d
  484. /^@endif bfd-no-bootstrap$/d
  485. /^@if zlib$/d
  486. /^@endif zlib$/d
  487. /^@if zlib-no-bootstrap$/d
  488. /^@endif zlib-no-bootstrap$/d
  489. /^@if binutils$/d
  490. /^@endif binutils$/d
  491. /^@if binutils-no-bootstrap$/d
  492. /^@endif binutils-no-bootstrap$/d
  493. /^@if gas$/d
  494. /^@endif gas$/d
  495. /^@if gas-no-bootstrap$/d
  496. /^@endif gas-no-bootstrap$/d
  497. /^@if ld$/d
  498. /^@endif ld$/d
  499. /^@if ld-no-bootstrap$/d
  500. /^@endif ld-no-bootstrap$/d
  501. /^@if gprof$/d
  502. /^@endif gprof$/d
  503. /^@if gprof-no-bootstrap$/d
  504. /^@endif gprof-no-bootstrap$/d
  505. /^@if etc$/d
  506. /^@endif etc$/d
  507. /^@if etc-no-bootstrap$/d
  508. /^@endif etc-no-bootstrap$/d"
  509. extrasub_target="
  510. /^@if /,/^@endif /d"
  511. # Handling of arguments.
  512. for ac_config_target in $ac_config_targets
  513. do
  514. case $ac_config_target in
  515. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  516. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  517. esac
  518. done
  519. # If the user did not use the arguments to specify the items to instantiate,
  520. # then the envvar interface is used. Set only those that are not.
  521. # We use the long form for the default assignment because of an extremely
  522. # bizarre bug on SunOS 4.1.3.
  523. if $ac_need_defaults; then
  524. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  525. fi
  526. # Have a temporary directory for convenience. Make it in the build tree
  527. # simply because there is no reason against having it here, and in addition,
  528. # creating and moving files from /tmp can sometimes cause problems.
  529. # Hook for its removal unless debugging.
  530. # Note that there is a small window in which the directory will not be cleaned:
  531. # after its creation but before its name has been assigned to `$tmp'.
  532. $debug ||
  533. {
  534. tmp=
  535. trap 'exit_status=$?
  536. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  537. ' 0
  538. trap 'as_fn_exit 1' 1 2 13 15
  539. }
  540. # Create a (secure) tmp directory for tmp files.
  541. {
  542. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  543. test -n "$tmp" && test -d "$tmp"
  544. } ||
  545. {
  546. tmp=./conf$$-$RANDOM
  547. (umask 077 && mkdir "$tmp")
  548. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  549. # Set up the scripts for CONFIG_FILES section.
  550. # No need to generate them if there are no CONFIG_FILES.
  551. # This happens for instance with `./config.status config.h'.
  552. if test -n "$CONFIG_FILES"; then
  553. if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
  554. ac_cs_awk_getline=:
  555. ac_cs_awk_pipe_init=
  556. ac_cs_awk_read_file='
  557. while ((getline aline < (F[key])) > 0)
  558. print(aline)
  559. close(F[key])'
  560. ac_cs_awk_pipe_fini=
  561. else
  562. ac_cs_awk_getline=false
  563. ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
  564. ac_cs_awk_read_file='
  565. print "|#_!!_#|"
  566. print "cat " F[key] " &&"
  567. '$ac_cs_awk_pipe_init
  568. # The final `:' finishes the AND list.
  569. ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
  570. fi
  571. ac_cr=`echo X | tr X '\015'`
  572. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  573. # But we know of no other shell where ac_cr would be empty at this
  574. # point, so we can use a bashism as a fallback.
  575. if test "x$ac_cr" = x; then
  576. eval ac_cr=\$\'\\r\'
  577. fi
  578. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  579. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  580. ac_cs_awk_cr='\r'
  581. else
  582. ac_cs_awk_cr=$ac_cr
  583. fi
  584. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  585. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  586. F["serialization_dependencies"]="serdep.tmp"
  587. F["host_makefile_frag"]="/dev/null"
  588. F["target_makefile_frag"]="./config/mt-gnu"
  589. F["alphaieee_frag"]="/dev/null"
  590. F["ospace_frag"]="/dev/null"
  591. _ACAWK
  592. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  593. S["LTLIBOBJS"]=""
  594. S["LIBOBJS"]=""
  595. S["compare_exclusions"]="gcc/cc*-checksum$(objext) | gcc/ada/*tools/*"
  596. S["host_shared"]="no"
  597. S["stage2_werror_flag"]=""
  598. S["stage1_checking"]="--enable-checking=yes,types"
  599. S["stage1_cflags"]="-g"
  600. S["MAINT"]="#"
  601. S["MAINTAINER_MODE_FALSE"]=""
  602. S["MAINTAINER_MODE_TRUE"]="#"
  603. S["COMPILER_NM_FOR_TARGET"]="$(NM_FOR_TARGET)"
  604. S["COMPILER_LD_FOR_TARGET"]="$(LD_FOR_TARGET)"
  605. S["COMPILER_AS_FOR_TARGET"]="$(AS_FOR_TARGET)"
  606. S["FLAGS_FOR_TARGET"]=" -L$$r/$(HOST_SUBDIR)/ld"
  607. S["RAW_CXX_FOR_TARGET"]="c++"
  608. S["WINDMC_FOR_TARGET"]="windmc"
  609. S["WINDRES_FOR_TARGET"]="windres"
  610. S["STRIP_FOR_TARGET"]="strip"
  611. S["READELF_FOR_TARGET"]="readelf"
  612. S["RANLIB_FOR_TARGET"]="ranlib"
  613. S["OBJDUMP_FOR_TARGET"]="objdump"
  614. S["OBJCOPY_FOR_TARGET"]="objcopy"
  615. S["NM_FOR_TARGET"]="nm"
  616. S["LIPO_FOR_TARGET"]="lipo"
  617. S["LD_FOR_TARGET"]="ld"
  618. S["DLLTOOL_FOR_TARGET"]="dlltool"
  619. S["AS_FOR_TARGET"]="as"
  620. S["AR_FOR_TARGET"]="ar"
  621. S["GOC_FOR_TARGET"]="gccgo"
  622. S["GFORTRAN_FOR_TARGET"]="gfortran"
  623. S["GCC_FOR_TARGET"]="cc"
  624. S["CXX_FOR_TARGET"]="c++"
  625. S["CC_FOR_TARGET"]="cc"
  626. S["READELF"]="arm-linux-gnueabihf-readelf"
  627. S["OBJDUMP"]="arm-linux-gnueabihf-objdump"
  628. S["OBJCOPY"]="arm-linux-gnueabihf-objcopy"
  629. S["WINDMC"]="arm-linux-gnueabihf-windmc"
  630. S["WINDRES"]="arm-linux-gnueabihf-windres"
  631. S["STRIP"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-strip"
  632. S["RANLIB"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ranlib"
  633. S["NM"]="arm-linux-gnueabihf-nm"
  634. S["LIPO"]="arm-linux-gnueabihf-lipo"
  635. S["LD"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../.."\
  636. "/arm-linux-gnueabihf/bin/ld"
  637. S["DLLTOOL"]="arm-linux-gnueabihf-dlltool"
  638. S["AS"]="arm-linux-gnueabihf-as"
  639. S["AR"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ar"
  640. S["RUNTEST"]="runtest"
  641. S["EXPECT"]="expect"
  642. S["MAKEINFO"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/missing makeinfo"
  643. S["FLEX"]="flex"
  644. S["LEX"]="flex"
  645. S["M4"]="m4"
  646. S["BISON"]="bison"
  647. S["YACC"]="bison -y"
  648. S["WINDRES_FOR_BUILD"]="windres"
  649. S["WINDMC_FOR_BUILD"]="windmc"
  650. S["RANLIB_FOR_BUILD"]="ranlib"
  651. S["NM_FOR_BUILD"]="nm"
  652. S["LD_FOR_BUILD"]="ld"
  653. S["LDFLAGS_FOR_BUILD"]=""
  654. S["GOC_FOR_BUILD"]="gccgo"
  655. S["GFORTRAN_FOR_BUILD"]="gfortran"
  656. S["DLLTOOL_FOR_BUILD"]="dlltool"
  657. S["CXX_FOR_BUILD"]="g++"
  658. S["CXXFLAGS_FOR_BUILD"]=""
  659. S["CFLAGS_FOR_BUILD"]=""
  660. S["CC_FOR_BUILD"]="gcc"
  661. S["AS_FOR_BUILD"]="as"
  662. S["AR_FOR_BUILD"]="ar"
  663. S["target_configdirs"]=""
  664. S["configdirs"]=" intl libiberty opcodes bfd zlib binutils gas ld gprof etc"
  665. S["build_configdirs"]=" libiberty"
  666. S["INSTALL_GDB_TK"]=""
  667. S["GDB_TK"]=""
  668. S["CONFIGURE_GDB_TK"]=""
  669. S["build_tooldir"]="${exec_prefix}/arm-linux-gnueabihf"
  670. S["tooldir"]="${exec_prefix}/arm-linux-gnueabihf"
  671. S["GCC_SHLIB_SUBDIR"]=""
  672. S["RPATH_ENVVAR"]="LD_LIBRARY_PATH"
  673. S["target_configargs"]="--cache-file=./config.cache --enable-multilib '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/release' --pro"\
  674. "gram-transform-name='s,y,y,' --disable-option-checking"
  675. S["host_configargs"]=" --cache-file=./config.cache --with-gnu-as --with-gnu-ld '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/rele"\
  676. "ase' --program-transform-name='s,y,y,' --disable-option-checking"
  677. S["build_configargs"]=" --cache-file=./config.cache '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/release' --program-transform-name"\
  678. "='s,y,y,' --disable-option-checking"
  679. S["BUILD_CONFIG"]=""
  680. S["LDFLAGS_FOR_TARGET"]=""
  681. S["CXXFLAGS_FOR_TARGET"]="-g -O2"
  682. S["CFLAGS_FOR_TARGET"]="-g -O2"
  683. S["DEBUG_PREFIX_CFLAGS_FOR_TARGET"]=""
  684. S["SYSROOT_CFLAGS_FOR_TARGET"]=""
  685. S["extra_host_zlib_configure_flags"]=""
  686. S["extra_host_libiberty_configure_flags"]=""
  687. S["stage1_languages"]=",c,"
  688. S["extra_linker_plugin_flags"]=""
  689. S["extra_linker_plugin_configure_flags"]=""
  690. S["islinc"]=""
  691. S["isllibs"]=""
  692. S["islver"]=""
  693. S["poststage1_ldflags"]="-static-libstdc++ -static-libgcc"
  694. S["poststage1_libs"]=""
  695. S["stage1_ldflags"]="-static-libstdc++ -static-libgcc"
  696. S["stage1_libs"]=""
  697. S["extra_isl_gmp_configure_flags"]=""
  698. S["extra_mpc_mpfr_configure_flags"]=""
  699. S["extra_mpc_gmp_configure_flags"]=""
  700. S["extra_mpfr_configure_flags"]=""
  701. S["gmpinc"]=""
  702. S["gmplibs"]="-lmpc -lmpfr -lgmp"
  703. S["do_compare"]="cmp --ignore-initial=16 $$f1 $$f2"
  704. S["GNATMAKE"]="no"
  705. S["GNATBIND"]="no"
  706. S["ac_ct_CXX"]=""
  707. S["CXXFLAGS"]="-g -O2"
  708. S["CXX"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-g++"
  709. S["OBJEXT"]="o"
  710. S["EXEEXT"]=""
  711. S["ac_ct_CC"]=""
  712. S["CPPFLAGS"]=""
  713. S["LDFLAGS"]=""
  714. S["CFLAGS"]="-g -O2"
  715. S["CC"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc"
  716. S["extra_liboffloadmic_configure_flags"]=""
  717. S["target_subdir"]="arm-linux-gnueabihf"
  718. S["host_subdir"]="."
  719. S["build_subdir"]="build-x86_64-pc-linux-gnu"
  720. S["build_libsubdir"]="build-x86_64-pc-linux-gnu"
  721. S["AWK"]="gawk"
  722. S["SED"]="/bin/sed"
  723. S["LN_S"]="ln -s"
  724. S["LN"]="ln"
  725. S["INSTALL_DATA"]="${INSTALL} -m 644"
  726. S["INSTALL_SCRIPT"]="${INSTALL}"
  727. S["INSTALL_PROGRAM"]="${INSTALL}"
  728. S["target_os"]="linux-gnueabihf"
  729. S["target_vendor"]="unknown"
  730. S["target_cpu"]="arm"
  731. S["target"]="arm-unknown-linux-gnueabihf"
  732. S["host_os"]="linux-gnueabihf"
  733. S["host_vendor"]="unknown"
  734. S["host_cpu"]="arm"
  735. S["host"]="arm-unknown-linux-gnueabihf"
  736. S["target_noncanonical"]="arm-linux-gnueabihf"
  737. S["host_noncanonical"]="arm-linux-gnueabihf"
  738. S["build_noncanonical"]="x86_64-pc-linux-gnu"
  739. S["build_os"]="linux-gnu"
  740. S["build_vendor"]="pc"
  741. S["build_cpu"]="x86_64"
  742. S["build"]="x86_64-pc-linux-gnu"
  743. S["TOPLEVEL_CONFIGURE_ARGUMENTS"]="./configure --host=arm-linux-gnueabihf --prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/release CC=/opt/ti-proce"\
  744. "ssor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc AR=/opt/ti-processor-sdk-linux-am335x"\
  745. "-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ar RANLIB=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/l"\
  746. "inux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-ranlib STRIP=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sys"\
  747. "roots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-strip CXX=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago"\
  748. "-linux/usr/bin/arm-linux-gnueabihf-g++"
  749. S["target_alias"]=""
  750. S["host_alias"]="arm-linux-gnueabihf"
  751. S["build_alias"]=""
  752. S["LIBS"]=""
  753. S["ECHO_T"]=""
  754. S["ECHO_N"]="-n"
  755. S["ECHO_C"]=""
  756. S["DEFS"]="-DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\" -DLT_OBJDIR=\\\".l"\
  757. "ibs/\\\""
  758. S["mandir"]="${datarootdir}/man"
  759. S["localedir"]="${datarootdir}/locale"
  760. S["libdir"]="${exec_prefix}/lib"
  761. S["psdir"]="${docdir}"
  762. S["pdfdir"]="${docdir}"
  763. S["dvidir"]="${docdir}"
  764. S["htmldir"]="${docdir}"
  765. S["infodir"]="${datarootdir}/info"
  766. S["docdir"]="${datarootdir}/doc/${PACKAGE}"
  767. S["oldincludedir"]="/usr/include"
  768. S["includedir"]="${prefix}/include"
  769. S["localstatedir"]="${prefix}/var"
  770. S["sharedstatedir"]="${prefix}/com"
  771. S["sysconfdir"]="${prefix}/etc"
  772. S["datadir"]="${datarootdir}"
  773. S["datarootdir"]="${prefix}/share"
  774. S["libexecdir"]="${exec_prefix}/libexec"
  775. S["sbindir"]="${exec_prefix}/sbin"
  776. S["bindir"]="${exec_prefix}/bin"
  777. S["program_transform_name"]="s,y,y,"
  778. S["prefix"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/binutils-2.29.1/release"
  779. S["exec_prefix"]="${prefix}"
  780. S["PACKAGE_URL"]=""
  781. S["PACKAGE_BUGREPORT"]=""
  782. S["PACKAGE_STRING"]=""
  783. S["PACKAGE_VERSION"]=""
  784. S["PACKAGE_TARNAME"]=""
  785. S["PACKAGE_NAME"]=""
  786. S["PATH_SEPARATOR"]=":"
  787. S["SHELL"]="/bin/bash"
  788. _ACAWK
  789. cat >>"$tmp/subs1.awk" <<_ACAWK &&
  790. for (key in S) S_is_set[key] = 1
  791. FS = ""
  792. $ac_cs_awk_pipe_init
  793. }
  794. {
  795. line = $ 0
  796. nfields = split(line, field, "@")
  797. substed = 0
  798. len = length(field[1])
  799. for (i = 2; i < nfields; i++) {
  800. key = field[i]
  801. keylen = length(key)
  802. if (S_is_set[key]) {
  803. value = S[key]
  804. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  805. len += length(value) + length(field[++i])
  806. substed = 1
  807. } else
  808. len += 1 + keylen
  809. }
  810. if (nfields == 3 && !substed) {
  811. key = field[2]
  812. if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
  813. $ac_cs_awk_read_file
  814. next
  815. }
  816. }
  817. print line
  818. }
  819. $ac_cs_awk_pipe_fini
  820. _ACAWK
  821. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  822. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  823. else
  824. cat
  825. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  826. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  827. fi # test -n "$CONFIG_FILES"
  828. eval set X " :F $CONFIG_FILES "
  829. shift
  830. for ac_tag
  831. do
  832. case $ac_tag in
  833. :[FHLC]) ac_mode=$ac_tag; continue;;
  834. esac
  835. case $ac_mode$ac_tag in
  836. :[FHL]*:*);;
  837. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  838. :[FH]-) ac_tag=-:-;;
  839. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  840. esac
  841. ac_save_IFS=$IFS
  842. IFS=:
  843. set x $ac_tag
  844. IFS=$ac_save_IFS
  845. shift
  846. ac_file=$1
  847. shift
  848. case $ac_mode in
  849. :L) ac_source=$1;;
  850. :[FH])
  851. ac_file_inputs=
  852. for ac_f
  853. do
  854. case $ac_f in
  855. -) ac_f="$tmp/stdin";;
  856. *) # Look for the file first in the build tree, then in the source tree
  857. # (if the path is not absolute). The absolute path cannot be DOS-style,
  858. # because $ac_f cannot contain `:'.
  859. test -f "$ac_f" ||
  860. case $ac_f in
  861. [\\/$]*) false;;
  862. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  863. esac ||
  864. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  865. esac
  866. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  867. as_fn_append ac_file_inputs " '$ac_f'"
  868. done
  869. # Let's still pretend it is `configure' which instantiates (i.e., don't
  870. # use $as_me), people would be surprised to read:
  871. # /* config.h. Generated by config.status. */
  872. configure_input='Generated from '`
  873. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  874. `' by configure.'
  875. if test x"$ac_file" != x-; then
  876. configure_input="$ac_file. $configure_input"
  877. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  878. $as_echo "$as_me: creating $ac_file" >&6;}
  879. fi
  880. # Neutralize special characters interpreted by sed in replacement strings.
  881. case $configure_input in #(
  882. *\&* | *\|* | *\\* )
  883. ac_sed_conf_input=`$as_echo "$configure_input" |
  884. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  885. *) ac_sed_conf_input=$configure_input;;
  886. esac
  887. case $ac_tag in
  888. *:-:* | *:-) cat >"$tmp/stdin" \
  889. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  890. esac
  891. ;;
  892. esac
  893. ac_dir=`$as_dirname -- "$ac_file" ||
  894. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  895. X"$ac_file" : 'X\(//\)[^/]' \| \
  896. X"$ac_file" : 'X\(//\)$' \| \
  897. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  898. $as_echo X"$ac_file" |
  899. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  900. s//\1/
  901. q
  902. }
  903. /^X\(\/\/\)[^/].*/{
  904. s//\1/
  905. q
  906. }
  907. /^X\(\/\/\)$/{
  908. s//\1/
  909. q
  910. }
  911. /^X\(\/\).*/{
  912. s//\1/
  913. q
  914. }
  915. s/.*/./; q'`
  916. as_dir="$ac_dir"; as_fn_mkdir_p
  917. ac_builddir=.
  918. case "$ac_dir" in
  919. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  920. *)
  921. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  922. # A ".." for each directory in $ac_dir_suffix.
  923. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  924. case $ac_top_builddir_sub in
  925. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  926. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  927. esac ;;
  928. esac
  929. ac_abs_top_builddir=$ac_pwd
  930. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  931. # for backward compatibility:
  932. ac_top_builddir=$ac_top_build_prefix
  933. case $srcdir in
  934. .) # We are building in place.
  935. ac_srcdir=.
  936. ac_top_srcdir=$ac_top_builddir_sub
  937. ac_abs_top_srcdir=$ac_pwd ;;
  938. [\\/]* | ?:[\\/]* ) # Absolute name.
  939. ac_srcdir=$srcdir$ac_dir_suffix;
  940. ac_top_srcdir=$srcdir
  941. ac_abs_top_srcdir=$srcdir ;;
  942. *) # Relative name.
  943. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  944. ac_top_srcdir=$ac_top_build_prefix$srcdir
  945. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  946. esac
  947. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  948. case $ac_mode in
  949. :F)
  950. #
  951. # CONFIG_FILE
  952. #
  953. case $INSTALL in
  954. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  955. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  956. esac
  957. # If the template does not know about datarootdir, expand it.
  958. # FIXME: This hack should be removed a few years after 2.60.
  959. ac_datarootdir_hack=; ac_datarootdir_seen=
  960. ac_sed_dataroot='
  961. /datarootdir/ {
  962. p
  963. q
  964. }
  965. /@datadir@/p
  966. /@docdir@/p
  967. /@infodir@/p
  968. /@localedir@/p
  969. /@mandir@/p'
  970. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  971. *datarootdir*) ac_datarootdir_seen=yes;;
  972. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  973. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  974. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  975. ac_datarootdir_hack='
  976. s&@datadir@&${datarootdir}&g
  977. s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
  978. s&@infodir@&${datarootdir}/info&g
  979. s&@localedir@&${datarootdir}/locale&g
  980. s&@mandir@&${datarootdir}/man&g
  981. s&\${datarootdir}&${prefix}/share&g' ;;
  982. esac
  983. ac_sed_extra="/^[ ]*VPATH[ ]*=/{
  984. s/:*\$(srcdir):*/:/
  985. s/:*\${srcdir}:*/:/
  986. s/:*@srcdir@:*/:/
  987. s/^\([^=]*=[ ]*\):*/\1/
  988. s/:*$//
  989. s/^[^=]*=[ ]*$//
  990. }
  991. :t
  992. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  993. s|@configure_input@|$ac_sed_conf_input|;t t
  994. s&@top_builddir@&$ac_top_builddir_sub&;t t
  995. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  996. s&@srcdir@&$ac_srcdir&;t t
  997. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  998. s&@top_srcdir@&$ac_top_srcdir&;t t
  999. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1000. s&@builddir@&$ac_builddir&;t t
  1001. s&@abs_builddir@&$ac_abs_builddir&;t t
  1002. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1003. s&@INSTALL@&$ac_INSTALL&;t t
  1004. $ac_datarootdir_hack
  1005. "
  1006. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
  1007. if $ac_cs_awk_getline; then
  1008. $AWK -f "$tmp/subs.awk"
  1009. else
  1010. $AWK -f "$tmp/subs.awk" | $SHELL
  1011. fi >$tmp/out \
  1012. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1013. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1014. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1015. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1016. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1017. which seems to be undefined. Please make sure it is defined." >&5
  1018. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1019. which seems to be undefined. Please make sure it is defined." >&2;}
  1020. rm -f "$tmp/stdin"
  1021. case $ac_file in
  1022. -) cat "$tmp/out" && rm -f "$tmp/out";;
  1023. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  1024. esac \
  1025. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1026. ;;
  1027. esac
  1028. case $ac_file$ac_mode in
  1029. "Makefile":F) sed "$extrasub_build" Makefile |
  1030. sed "$extrasub_host" |
  1031. sed "$extrasub_target" > mf$$
  1032. mv -f mf$$ Makefile ;;
  1033. esac
  1034. done # for ac_tag
  1035. as_fn_exit 0