config.status 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113
  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. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  124. # ----------------------------------------
  125. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  126. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  127. # script with STATUS, using 1 if that was 0.
  128. as_fn_error ()
  129. {
  130. as_status=$1; test $as_status -eq 0 && as_status=1
  131. if test "$4"; then
  132. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  133. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  134. fi
  135. $as_echo "$as_me: error: $2" >&2
  136. as_fn_exit $as_status
  137. } # as_fn_error
  138. # as_fn_set_status STATUS
  139. # -----------------------
  140. # Set $? to STATUS, without forking.
  141. as_fn_set_status ()
  142. {
  143. return $1
  144. } # as_fn_set_status
  145. # as_fn_exit STATUS
  146. # -----------------
  147. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  148. as_fn_exit ()
  149. {
  150. set +e
  151. as_fn_set_status $1
  152. exit $1
  153. } # as_fn_exit
  154. # as_fn_unset VAR
  155. # ---------------
  156. # Portably unset VAR.
  157. as_fn_unset ()
  158. {
  159. { eval $1=; unset $1;}
  160. }
  161. as_unset=as_fn_unset
  162. # as_fn_append VAR VALUE
  163. # ----------------------
  164. # Append the text in VALUE to the end of the definition contained in VAR. Take
  165. # advantage of any shell optimizations that allow amortized linear growth over
  166. # repeated appends, instead of the typical quadratic growth present in naive
  167. # implementations.
  168. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  169. eval 'as_fn_append ()
  170. {
  171. eval $1+=\$2
  172. }'
  173. else
  174. as_fn_append ()
  175. {
  176. eval $1=\$$1\$2
  177. }
  178. fi # as_fn_append
  179. # as_fn_arith ARG...
  180. # ------------------
  181. # Perform arithmetic evaluation on the ARGs, and store the result in the
  182. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  183. # must be portable across $(()) and expr.
  184. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  185. eval 'as_fn_arith ()
  186. {
  187. as_val=$(( $* ))
  188. }'
  189. else
  190. as_fn_arith ()
  191. {
  192. as_val=`expr "$@" || test $? -eq 1`
  193. }
  194. fi # as_fn_arith
  195. if expr a : '\(a\)' >/dev/null 2>&1 &&
  196. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  197. as_expr=expr
  198. else
  199. as_expr=false
  200. fi
  201. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  202. as_basename=basename
  203. else
  204. as_basename=false
  205. fi
  206. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  207. as_dirname=dirname
  208. else
  209. as_dirname=false
  210. fi
  211. as_me=`$as_basename -- "$0" ||
  212. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  213. X"$0" : 'X\(//\)$' \| \
  214. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  215. $as_echo X/"$0" |
  216. sed '/^.*\/\([^/][^/]*\)\/*$/{
  217. s//\1/
  218. q
  219. }
  220. /^X\/\(\/\/\)$/{
  221. s//\1/
  222. q
  223. }
  224. /^X\/\(\/\).*/{
  225. s//\1/
  226. q
  227. }
  228. s/.*/./; q'`
  229. # Avoid depending upon Character Ranges.
  230. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  231. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  232. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  233. as_cr_digits='0123456789'
  234. as_cr_alnum=$as_cr_Letters$as_cr_digits
  235. ECHO_C= ECHO_N= ECHO_T=
  236. case `echo -n x` in #(((((
  237. -n*)
  238. case `echo 'xy\c'` in
  239. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  240. xy) ECHO_C='\c';;
  241. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  242. ECHO_T=' ';;
  243. esac;;
  244. *)
  245. ECHO_N='-n';;
  246. esac
  247. rm -f conf$$ conf$$.exe conf$$.file
  248. if test -d conf$$.dir; then
  249. rm -f conf$$.dir/conf$$.file
  250. else
  251. rm -f conf$$.dir
  252. mkdir conf$$.dir 2>/dev/null
  253. fi
  254. if (echo >conf$$.file) 2>/dev/null; then
  255. if ln -s conf$$.file conf$$ 2>/dev/null; then
  256. as_ln_s='ln -s'
  257. # ... but there are two gotchas:
  258. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  259. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  260. # In both cases, we have to default to `cp -pR'.
  261. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  262. as_ln_s='cp -pR'
  263. elif ln conf$$.file conf$$ 2>/dev/null; then
  264. as_ln_s=ln
  265. else
  266. as_ln_s='cp -pR'
  267. fi
  268. else
  269. as_ln_s='cp -pR'
  270. fi
  271. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  272. rmdir conf$$.dir 2>/dev/null
  273. # as_fn_mkdir_p
  274. # -------------
  275. # Create "$as_dir" as a directory, including parents if necessary.
  276. as_fn_mkdir_p ()
  277. {
  278. case $as_dir in #(
  279. -*) as_dir=./$as_dir;;
  280. esac
  281. test -d "$as_dir" || eval $as_mkdir_p || {
  282. as_dirs=
  283. while :; do
  284. case $as_dir in #(
  285. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  286. *) as_qdir=$as_dir;;
  287. esac
  288. as_dirs="'$as_qdir' $as_dirs"
  289. as_dir=`$as_dirname -- "$as_dir" ||
  290. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  291. X"$as_dir" : 'X\(//\)[^/]' \| \
  292. X"$as_dir" : 'X\(//\)$' \| \
  293. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  294. $as_echo X"$as_dir" |
  295. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  296. s//\1/
  297. q
  298. }
  299. /^X\(\/\/\)[^/].*/{
  300. s//\1/
  301. q
  302. }
  303. /^X\(\/\/\)$/{
  304. s//\1/
  305. q
  306. }
  307. /^X\(\/\).*/{
  308. s//\1/
  309. q
  310. }
  311. s/.*/./; q'`
  312. test -d "$as_dir" && break
  313. done
  314. test -z "$as_dirs" || eval "mkdir $as_dirs"
  315. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  316. } # as_fn_mkdir_p
  317. if mkdir -p . 2>/dev/null; then
  318. as_mkdir_p='mkdir -p "$as_dir"'
  319. else
  320. test -d ./-p && rmdir ./-p
  321. as_mkdir_p=false
  322. fi
  323. # as_fn_executable_p FILE
  324. # -----------------------
  325. # Test if FILE is an executable regular file.
  326. as_fn_executable_p ()
  327. {
  328. test -f "$1" && test -x "$1"
  329. } # as_fn_executable_p
  330. as_test_x='test -x'
  331. as_executable_p=as_fn_executable_p
  332. # Sed expression to map a string onto a valid CPP name.
  333. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  334. # Sed expression to map a string onto a valid variable name.
  335. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  336. exec 6>&1
  337. ## ----------------------------------- ##
  338. ## Main body of $CONFIG_STATUS script. ##
  339. ## ----------------------------------- ##
  340. # Save the log message, to keep $0 and so on meaningful, and to
  341. # report actual input values of CONFIG_FILES etc. instead of their
  342. # values after options handling.
  343. ac_log="
  344. This file was extended by $as_me, which was
  345. generated by GNU Autoconf 2.69. Invocation command line was
  346. CONFIG_FILES = $CONFIG_FILES
  347. CONFIG_HEADERS = $CONFIG_HEADERS
  348. CONFIG_LINKS = $CONFIG_LINKS
  349. CONFIG_COMMANDS = $CONFIG_COMMANDS
  350. $ $0 $@
  351. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  352. "
  353. # Files that config.status was made for.
  354. config_files=" Makefile libtomcrypt/Makefile libtommath/Makefile"
  355. config_headers=" config.h"
  356. ac_cs_usage="\
  357. \`$as_me' instantiates files and other configuration actions
  358. from templates according to the current configuration. Unless the files
  359. and actions are specified as TAGs, all are instantiated by default.
  360. Usage: $0 [OPTION]... [TAG]...
  361. -h, --help print this help, then exit
  362. -V, --version print version number and configuration settings, then exit
  363. --config print configuration, then exit
  364. -q, --quiet, --silent
  365. do not print progress messages
  366. -d, --debug don't remove temporary files
  367. --recheck update $as_me by reconfiguring in the same conditions
  368. --file=FILE[:TEMPLATE]
  369. instantiate the configuration file FILE
  370. --header=FILE[:TEMPLATE]
  371. instantiate the configuration header FILE
  372. Configuration files:
  373. $config_files
  374. Configuration headers:
  375. $config_headers
  376. Report bugs to the package provider."
  377. ac_cs_config="'--disable-syslog' '--host=arm-linux-gnueabihf' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/dropbear-2017.75/release' 'host_alias=arm-linux-gnueabihf' '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'"
  378. ac_cs_version="\
  379. config.status
  380. configured by ./configure, generated by GNU Autoconf 2.69,
  381. with options \"$ac_cs_config\"
  382. Copyright (C) 2012 Free Software Foundation, Inc.
  383. This config.status script is free software; the Free Software Foundation
  384. gives unlimited permission to copy, distribute and modify it."
  385. ac_pwd='/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/dropbear-2017.75'
  386. srcdir='.'
  387. test -n "$AWK" || AWK=awk
  388. # The default lists apply if the user does not specify any file.
  389. ac_need_defaults=:
  390. while test $# != 0
  391. do
  392. case $1 in
  393. --*=?*)
  394. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  395. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  396. ac_shift=:
  397. ;;
  398. --*=)
  399. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  400. ac_optarg=
  401. ac_shift=:
  402. ;;
  403. *)
  404. ac_option=$1
  405. ac_optarg=$2
  406. ac_shift=shift
  407. ;;
  408. esac
  409. case $ac_option in
  410. # Handling of the options.
  411. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  412. ac_cs_recheck=: ;;
  413. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  414. $as_echo "$ac_cs_version"; exit ;;
  415. --config | --confi | --conf | --con | --co | --c )
  416. $as_echo "$ac_cs_config"; 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. '') as_fn_error $? "missing file argument" ;;
  424. esac
  425. as_fn_append CONFIG_FILES " '$ac_optarg'"
  426. ac_need_defaults=false;;
  427. --header | --heade | --head | --hea )
  428. $ac_shift
  429. case $ac_optarg in
  430. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  431. esac
  432. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  433. ac_need_defaults=false;;
  434. --he | --h)
  435. # Conflict between --help and --header
  436. as_fn_error $? "ambiguous option: \`$1'
  437. Try \`$0 --help' for more information.";;
  438. --help | --hel | -h )
  439. $as_echo "$ac_cs_usage"; exit ;;
  440. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  441. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  442. ac_cs_silent=: ;;
  443. # This is an error.
  444. -*) as_fn_error $? "unrecognized option: \`$1'
  445. Try \`$0 --help' for more information." ;;
  446. *) as_fn_append ac_config_targets " $1"
  447. ac_need_defaults=false ;;
  448. esac
  449. shift
  450. done
  451. ac_configure_extra_args=
  452. if $ac_cs_silent; then
  453. exec 6>/dev/null
  454. ac_configure_extra_args="$ac_configure_extra_args --silent"
  455. fi
  456. if $ac_cs_recheck; then
  457. set X /bin/bash './configure' '--disable-syslog' '--host=arm-linux-gnueabihf' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/dropbear-2017.75/release' 'host_alias=arm-linux-gnueabihf' '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' $ac_configure_extra_args --no-create --no-recursion
  458. shift
  459. $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
  460. CONFIG_SHELL='/bin/bash'
  461. export CONFIG_SHELL
  462. exec "$@"
  463. fi
  464. exec 5>>config.log
  465. {
  466. echo
  467. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  468. ## Running $as_me. ##
  469. _ASBOX
  470. $as_echo "$ac_log"
  471. } >&5
  472. # Handling of arguments.
  473. for ac_config_target in $ac_config_targets
  474. do
  475. case $ac_config_target in
  476. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  477. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  478. "$LIBTOM_FILES") CONFIG_FILES="$CONFIG_FILES $LIBTOM_FILES" ;;
  479. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  480. esac
  481. done
  482. # If the user did not use the arguments to specify the items to instantiate,
  483. # then the envvar interface is used. Set only those that are not.
  484. # We use the long form for the default assignment because of an extremely
  485. # bizarre bug on SunOS 4.1.3.
  486. if $ac_need_defaults; then
  487. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  488. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  489. fi
  490. # Have a temporary directory for convenience. Make it in the build tree
  491. # simply because there is no reason against having it here, and in addition,
  492. # creating and moving files from /tmp can sometimes cause problems.
  493. # Hook for its removal unless debugging.
  494. # Note that there is a small window in which the directory will not be cleaned:
  495. # after its creation but before its name has been assigned to `$tmp'.
  496. $debug ||
  497. {
  498. tmp= ac_tmp=
  499. trap 'exit_status=$?
  500. : "${ac_tmp:=$tmp}"
  501. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  502. ' 0
  503. trap 'as_fn_exit 1' 1 2 13 15
  504. }
  505. # Create a (secure) tmp directory for tmp files.
  506. {
  507. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  508. test -d "$tmp"
  509. } ||
  510. {
  511. tmp=./conf$$-$RANDOM
  512. (umask 077 && mkdir "$tmp")
  513. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  514. ac_tmp=$tmp
  515. # Set up the scripts for CONFIG_FILES section.
  516. # No need to generate them if there are no CONFIG_FILES.
  517. # This happens for instance with `./config.status config.h'.
  518. if test -n "$CONFIG_FILES"; then
  519. ac_cr=`echo X | tr X '\015'`
  520. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  521. # But we know of no other shell where ac_cr would be empty at this
  522. # point, so we can use a bashism as a fallback.
  523. if test "x$ac_cr" = x; then
  524. eval ac_cr=\$\'\\r\'
  525. fi
  526. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  527. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  528. ac_cs_awk_cr='\\r'
  529. else
  530. ac_cs_awk_cr=$ac_cr
  531. fi
  532. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  533. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  534. S["LTLIBOBJS"]=" ${LIBOBJDIR}memcmp$U.lo"
  535. S["LIBOBJS"]=" ${LIBOBJDIR}memcmp$U.o"
  536. S["BUNDLED_LIBTOM"]="1"
  537. S["LIBTOM_LIBS"]=""
  538. S["CRYPTLIB"]="-lcrypt"
  539. S["EGREP"]="/bin/grep -E"
  540. S["GREP"]="/bin/grep"
  541. S["CPP"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -E"
  542. S["INSTALL"]="install"
  543. S["STRIP"]="strip"
  544. S["RANLIB"]="ranlib"
  545. S["AR"]="ar"
  546. S["host_os"]="linux-gnueabihf"
  547. S["host_vendor"]="unknown"
  548. S["host_cpu"]="arm"
  549. S["host"]="arm-unknown-linux-gnueabihf"
  550. S["build_os"]="linux-gnu"
  551. S["build_vendor"]="unknown"
  552. S["build_cpu"]="x86_64"
  553. S["build"]="x86_64-unknown-linux-gnu"
  554. S["LD"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc"
  555. S["SET_MAKE"]=""
  556. S["OBJEXT"]="o"
  557. S["EXEEXT"]=""
  558. S["ac_ct_CC"]=""
  559. S["CPPFLAGS"]=""
  560. S["LDFLAGS"]=""
  561. S["CFLAGS"]="-Os -W -Wall -Wno-pointer-sign"
  562. 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"
  563. S["target_alias"]=""
  564. S["host_alias"]="arm-linux-gnueabihf"
  565. S["build_alias"]=""
  566. S["LIBS"]="-lutil -lz "
  567. S["ECHO_T"]=""
  568. S["ECHO_N"]="-n"
  569. S["ECHO_C"]=""
  570. S["DEFS"]="-DHAVE_CONFIG_H"
  571. S["mandir"]="${datarootdir}/man"
  572. S["localedir"]="${datarootdir}/locale"
  573. S["libdir"]="${exec_prefix}/lib"
  574. S["psdir"]="${docdir}"
  575. S["pdfdir"]="${docdir}"
  576. S["dvidir"]="${docdir}"
  577. S["htmldir"]="${docdir}"
  578. S["infodir"]="${datarootdir}/info"
  579. S["docdir"]="${datarootdir}/doc/${PACKAGE}"
  580. S["oldincludedir"]="/usr/include"
  581. S["includedir"]="${prefix}/include"
  582. S["localstatedir"]="${prefix}/var"
  583. S["sharedstatedir"]="${prefix}/com"
  584. S["sysconfdir"]="${prefix}/etc"
  585. S["datadir"]="${datarootdir}"
  586. S["datarootdir"]="${prefix}/share"
  587. S["libexecdir"]="${exec_prefix}/libexec"
  588. S["sbindir"]="${exec_prefix}/sbin"
  589. S["bindir"]="${exec_prefix}/bin"
  590. S["program_transform_name"]="s,x,x,"
  591. S["prefix"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/dropbear-2017.75/release"
  592. S["exec_prefix"]="${prefix}"
  593. S["PACKAGE_URL"]=""
  594. S["PACKAGE_BUGREPORT"]=""
  595. S["PACKAGE_STRING"]=""
  596. S["PACKAGE_VERSION"]=""
  597. S["PACKAGE_TARNAME"]=""
  598. S["PACKAGE_NAME"]=""
  599. S["PATH_SEPARATOR"]=":"
  600. S["SHELL"]="/bin/bash"
  601. _ACAWK
  602. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  603. for (key in S) S_is_set[key] = 1
  604. FS = ""
  605. }
  606. {
  607. line = $ 0
  608. nfields = split(line, field, "@")
  609. substed = 0
  610. len = length(field[1])
  611. for (i = 2; i < nfields; i++) {
  612. key = field[i]
  613. keylen = length(key)
  614. if (S_is_set[key]) {
  615. value = S[key]
  616. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  617. len += length(value) + length(field[++i])
  618. substed = 1
  619. } else
  620. len += 1 + keylen
  621. }
  622. print line
  623. }
  624. _ACAWK
  625. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  626. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  627. else
  628. cat
  629. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  630. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  631. fi # test -n "$CONFIG_FILES"
  632. # Set up the scripts for CONFIG_HEADERS section.
  633. # No need to generate them if there are no CONFIG_HEADERS.
  634. # This happens for instance with `./config.status Makefile'.
  635. if test -n "$CONFIG_HEADERS"; then
  636. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  637. BEGIN {
  638. D["PACKAGE_NAME"]=" \"\""
  639. D["PACKAGE_TARNAME"]=" \"\""
  640. D["PACKAGE_VERSION"]=" \"\""
  641. D["PACKAGE_STRING"]=" \"\""
  642. D["PACKAGE_BUGREPORT"]=" \"\""
  643. D["PACKAGE_URL"]=" \"\""
  644. D["_FILE_OFFSET_BITS"]=" 64"
  645. D["STDC_HEADERS"]=" 1"
  646. D["HAVE_SYS_TYPES_H"]=" 1"
  647. D["HAVE_SYS_STAT_H"]=" 1"
  648. D["HAVE_STDLIB_H"]=" 1"
  649. D["HAVE_STRING_H"]=" 1"
  650. D["HAVE_MEMORY_H"]=" 1"
  651. D["HAVE_STRINGS_H"]=" 1"
  652. D["HAVE_INTTYPES_H"]=" 1"
  653. D["HAVE_STDINT_H"]=" 1"
  654. D["HAVE_UNISTD_H"]=" 1"
  655. D["HAVE_CRYPT"]=" 1"
  656. D["HAVE_LIBZ"]=" 1"
  657. D["DISABLE_PAM"]=" /**/"
  658. D["HAVE_OPENPTY"]=" 1"
  659. D["DISABLE_SYSLOG"]=" /**/"
  660. D["HAVE_SHADOW_H"]=" 1"
  661. D["STDC_HEADERS"]=" 1"
  662. D["HAVE_SYS_WAIT_H"]=" 1"
  663. D["HAVE_FCNTL_H"]=" 1"
  664. D["HAVE_LIMITS_H"]=" 1"
  665. D["HAVE_NETINET_IN_H"]=" 1"
  666. D["HAVE_NETINET_TCP_H"]=" 1"
  667. D["HAVE_STDLIB_H"]=" 1"
  668. D["HAVE_STRING_H"]=" 1"
  669. D["HAVE_SYS_SOCKET_H"]=" 1"
  670. D["HAVE_SYS_TIME_H"]=" 1"
  671. D["HAVE_TERMIOS_H"]=" 1"
  672. D["HAVE_UNISTD_H"]=" 1"
  673. D["HAVE_CRYPT_H"]=" 1"
  674. D["HAVE_PTY_H"]=" 1"
  675. D["HAVE_LIBGEN_H"]=" 1"
  676. D["HAVE_INTTYPES_H"]=" 1"
  677. D["HAVE_STROPTS_H"]=" 1"
  678. D["HAVE_UTMP_H"]=" 1"
  679. D["HAVE_UTMPX_H"]=" 1"
  680. D["HAVE_LASTLOG_H"]=" 1"
  681. D["HAVE_PATHS_H"]=" 1"
  682. D["HAVE_NETDB_H"]=" 1"
  683. D["HAVE_SECURITY_PAM_APPL_H"]=" 1"
  684. D["HAVE_NETINET_IN_SYSTM_H"]=" 1"
  685. D["HAVE_SYS_UIO_H"]=" 1"
  686. D["TIME_WITH_SYS_TIME"]=" 1"
  687. D["HAVE_UINT8_T"]=" 1"
  688. D["HAVE_U_INT8_T"]=" 1"
  689. D["HAVE_UINT16_T"]=" 1"
  690. D["HAVE_U_INT16_T"]=" 1"
  691. D["HAVE_UINT32_T"]=" 1"
  692. D["HAVE_U_INT32_T"]=" 1"
  693. D["HAVE_STRUCT_SOCKADDR_STORAGE"]=" 1"
  694. D["HAVE_STRUCT_SOCKADDR_IN6"]=" /**/"
  695. D["HAVE_STRUCT_IN6_ADDR"]=" /**/"
  696. D["HAVE_STRUCT_ADDRINFO"]=" /**/"
  697. D["HAVE_GAI_STRERROR"]=" 1"
  698. D["HAVE_GAI_STRERROR"]=" 1"
  699. D["HAVE_CONST_GAI_STRERROR_PROTO"]=" 1"
  700. D["HAVE_STRUCT_UTMP_UT_HOST"]=" 1"
  701. D["HAVE_STRUCT_UTMP_UT_PID"]=" 1"
  702. D["HAVE_STRUCT_UTMP_UT_TYPE"]=" 1"
  703. D["HAVE_STRUCT_UTMP_UT_TV"]=" 1"
  704. D["HAVE_STRUCT_UTMP_UT_ID"]=" 1"
  705. D["HAVE_STRUCT_UTMP_UT_ADDR"]=" 1"
  706. D["HAVE_STRUCT_UTMP_UT_ADDR_V6"]=" 1"
  707. D["HAVE_STRUCT_UTMP_UT_EXIT"]=" 1"
  708. D["HAVE_STRUCT_UTMP_UT_TIME"]=" 1"
  709. D["HAVE_STRUCT_UTMPX_UT_HOST"]=" 1"
  710. D["HAVE_STRUCT_UTMPX_UT_TYPE"]=" 1"
  711. D["HAVE_STRUCT_UTMPX_UT_ID"]=" 1"
  712. D["HAVE_STRUCT_UTMPX_UT_ADDR_V6"]=" 1"
  713. D["HAVE_STRUCT_UTMPX_UT_TV"]=" 1"
  714. D["HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY"]=" 1"
  715. D["HAVE_ENDUTENT"]=" 1"
  716. D["HAVE_GETUTENT"]=" 1"
  717. D["HAVE_GETUTID"]=" 1"
  718. D["HAVE_GETUTLINE"]=" 1"
  719. D["HAVE_PUTUTLINE"]=" 1"
  720. D["HAVE_SETUTENT"]=" 1"
  721. D["HAVE_UTMPNAME"]=" 1"
  722. D["HAVE_ENDUTXENT"]=" 1"
  723. D["HAVE_GETUTXENT"]=" 1"
  724. D["HAVE_GETUTXID"]=" 1"
  725. D["HAVE_GETUTXLINE"]=" 1"
  726. D["HAVE_PUTUTXLINE"]=" 1"
  727. D["HAVE_SETUTXENT"]=" 1"
  728. D["HAVE_UTMPXNAME"]=" 1"
  729. D["HAVE_LOGOUT"]=" 1"
  730. D["HAVE_UPDWTMP"]=" 1"
  731. D["HAVE_LOGWTMP"]=" 1"
  732. D["BUNDLED_LIBTOM"]=" /**/"
  733. D["HAVE_LOGIN"]=" /**/"
  734. D["HAVE_LOGOUT"]=" 1"
  735. D["HAVE_UPDWTMP"]=" 1"
  736. D["HAVE_LOGWTMP"]=" 1"
  737. D["DISABLE_UTMPX"]=" 1"
  738. D["DISABLE_WTMPX"]=" 1"
  739. D["HAVE_SYS_SELECT_H"]=" 1"
  740. D["HAVE_SYS_SOCKET_H"]=" 1"
  741. D["SELECT_TYPE_ARG1"]=" int"
  742. D["SELECT_TYPE_ARG234"]=" (fd_set *)"
  743. D["SELECT_TYPE_ARG5"]=" (struct timeval *)"
  744. D["HAVE_DUP2"]=" 1"
  745. D["HAVE_GETPASS"]=" 1"
  746. D["HAVE_GETSPNAM"]=" 1"
  747. D["HAVE_GETUSERSHELL"]=" 1"
  748. D["HAVE_MEMSET"]=" 1"
  749. D["HAVE_PUTENV"]=" 1"
  750. D["HAVE_SELECT"]=" 1"
  751. D["HAVE_SOCKET"]=" 1"
  752. D["HAVE_STRDUP"]=" 1"
  753. D["HAVE_CLEARENV"]=" 1"
  754. D["HAVE_DAEMON"]=" 1"
  755. D["HAVE_BASENAME"]=" 1"
  756. D["HAVE_GETADDRINFO"]=" 1"
  757. D["HAVE_FREEADDRINFO"]=" 1"
  758. D["HAVE_GETNAMEINFO"]=" 1"
  759. D["HAVE_FORK"]=" 1"
  760. D["HAVE_WRITEV"]=" 1"
  761. D["HAVE_BASENAME"]=" 1"
  762. for (key in D) D_is_set[key] = 1
  763. FS = ""
  764. }
  765. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  766. line = $ 0
  767. split(line, arg, " ")
  768. if (arg[1] == "#") {
  769. defundef = arg[2]
  770. mac1 = arg[3]
  771. } else {
  772. defundef = substr(arg[1], 2)
  773. mac1 = arg[2]
  774. }
  775. split(mac1, mac2, "(") #)
  776. macro = mac2[1]
  777. prefix = substr(line, 1, index(line, defundef) - 1)
  778. if (D_is_set[macro]) {
  779. # Preserve the white space surrounding the "#".
  780. print prefix "define", macro P[macro] D[macro]
  781. next
  782. } else {
  783. # Replace #undef with comments. This is necessary, for example,
  784. # in the case of _POSIX_SOURCE, which is predefined and required
  785. # on some systems where configure will not decide to define it.
  786. if (defundef == "undef") {
  787. print "/*", prefix defundef, macro, "*/"
  788. next
  789. }
  790. }
  791. }
  792. { print }
  793. _ACAWK
  794. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  795. fi # test -n "$CONFIG_HEADERS"
  796. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
  797. shift
  798. for ac_tag
  799. do
  800. case $ac_tag in
  801. :[FHLC]) ac_mode=$ac_tag; continue;;
  802. esac
  803. case $ac_mode$ac_tag in
  804. :[FHL]*:*);;
  805. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  806. :[FH]-) ac_tag=-:-;;
  807. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  808. esac
  809. ac_save_IFS=$IFS
  810. IFS=:
  811. set x $ac_tag
  812. IFS=$ac_save_IFS
  813. shift
  814. ac_file=$1
  815. shift
  816. case $ac_mode in
  817. :L) ac_source=$1;;
  818. :[FH])
  819. ac_file_inputs=
  820. for ac_f
  821. do
  822. case $ac_f in
  823. -) ac_f="$ac_tmp/stdin";;
  824. *) # Look for the file first in the build tree, then in the source tree
  825. # (if the path is not absolute). The absolute path cannot be DOS-style,
  826. # because $ac_f cannot contain `:'.
  827. test -f "$ac_f" ||
  828. case $ac_f in
  829. [\\/$]*) false;;
  830. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  831. esac ||
  832. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  833. esac
  834. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  835. as_fn_append ac_file_inputs " '$ac_f'"
  836. done
  837. # Let's still pretend it is `configure' which instantiates (i.e., don't
  838. # use $as_me), people would be surprised to read:
  839. # /* config.h. Generated by config.status. */
  840. configure_input='Generated from '`
  841. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  842. `' by configure.'
  843. if test x"$ac_file" != x-; then
  844. configure_input="$ac_file. $configure_input"
  845. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  846. $as_echo "$as_me: creating $ac_file" >&6;}
  847. fi
  848. # Neutralize special characters interpreted by sed in replacement strings.
  849. case $configure_input in #(
  850. *\&* | *\|* | *\\* )
  851. ac_sed_conf_input=`$as_echo "$configure_input" |
  852. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  853. *) ac_sed_conf_input=$configure_input;;
  854. esac
  855. case $ac_tag in
  856. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  857. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  858. esac
  859. ;;
  860. esac
  861. ac_dir=`$as_dirname -- "$ac_file" ||
  862. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  863. X"$ac_file" : 'X\(//\)[^/]' \| \
  864. X"$ac_file" : 'X\(//\)$' \| \
  865. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  866. $as_echo X"$ac_file" |
  867. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  868. s//\1/
  869. q
  870. }
  871. /^X\(\/\/\)[^/].*/{
  872. s//\1/
  873. q
  874. }
  875. /^X\(\/\/\)$/{
  876. s//\1/
  877. q
  878. }
  879. /^X\(\/\).*/{
  880. s//\1/
  881. q
  882. }
  883. s/.*/./; q'`
  884. as_dir="$ac_dir"; as_fn_mkdir_p
  885. ac_builddir=.
  886. case "$ac_dir" in
  887. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  888. *)
  889. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  890. # A ".." for each directory in $ac_dir_suffix.
  891. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  892. case $ac_top_builddir_sub in
  893. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  894. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  895. esac ;;
  896. esac
  897. ac_abs_top_builddir=$ac_pwd
  898. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  899. # for backward compatibility:
  900. ac_top_builddir=$ac_top_build_prefix
  901. case $srcdir in
  902. .) # We are building in place.
  903. ac_srcdir=.
  904. ac_top_srcdir=$ac_top_builddir_sub
  905. ac_abs_top_srcdir=$ac_pwd ;;
  906. [\\/]* | ?:[\\/]* ) # Absolute name.
  907. ac_srcdir=$srcdir$ac_dir_suffix;
  908. ac_top_srcdir=$srcdir
  909. ac_abs_top_srcdir=$srcdir ;;
  910. *) # Relative name.
  911. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  912. ac_top_srcdir=$ac_top_build_prefix$srcdir
  913. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  914. esac
  915. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  916. case $ac_mode in
  917. :F)
  918. #
  919. # CONFIG_FILE
  920. #
  921. # If the template does not know about datarootdir, expand it.
  922. # FIXME: This hack should be removed a few years after 2.60.
  923. ac_datarootdir_hack=; ac_datarootdir_seen=
  924. ac_sed_dataroot='
  925. /datarootdir/ {
  926. p
  927. q
  928. }
  929. /@datadir@/p
  930. /@docdir@/p
  931. /@infodir@/p
  932. /@localedir@/p
  933. /@mandir@/p'
  934. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  935. *datarootdir*) ac_datarootdir_seen=yes;;
  936. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  937. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  938. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  939. ac_datarootdir_hack='
  940. s&@datadir@&${datarootdir}&g
  941. s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
  942. s&@infodir@&${datarootdir}/info&g
  943. s&@localedir@&${datarootdir}/locale&g
  944. s&@mandir@&${datarootdir}/man&g
  945. s&\${datarootdir}&${prefix}/share&g' ;;
  946. esac
  947. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  948. h
  949. s///
  950. s/^/:/
  951. s/[ ]*$/:/
  952. s/:\$(srcdir):/:/g
  953. s/:\${srcdir}:/:/g
  954. s/:@srcdir@:/:/g
  955. s/^:*//
  956. s/:*$//
  957. x
  958. s/\(=[ ]*\).*/\1/
  959. G
  960. s/\n//
  961. s/^[^=]*=[ ]*$//
  962. }
  963. :t
  964. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  965. s|@configure_input@|$ac_sed_conf_input|;t t
  966. s&@top_builddir@&$ac_top_builddir_sub&;t t
  967. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  968. s&@srcdir@&$ac_srcdir&;t t
  969. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  970. s&@top_srcdir@&$ac_top_srcdir&;t t
  971. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  972. s&@builddir@&$ac_builddir&;t t
  973. s&@abs_builddir@&$ac_abs_builddir&;t t
  974. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  975. $ac_datarootdir_hack
  976. "
  977. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  978. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  979. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  980. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  981. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  982. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  983. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  984. which seems to be undefined. Please make sure it is defined" >&5
  985. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  986. which seems to be undefined. Please make sure it is defined" >&2;}
  987. rm -f "$ac_tmp/stdin"
  988. case $ac_file in
  989. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  990. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  991. esac \
  992. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  993. ;;
  994. :H)
  995. #
  996. # CONFIG_HEADER
  997. #
  998. if test x"$ac_file" != x-; then
  999. {
  1000. $as_echo "/* $configure_input */" \
  1001. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  1002. } >"$ac_tmp/config.h" \
  1003. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1004. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  1005. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1006. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1007. else
  1008. rm -f "$ac_file"
  1009. mv "$ac_tmp/config.h" "$ac_file" \
  1010. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1011. fi
  1012. else
  1013. $as_echo "/* $configure_input */" \
  1014. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1015. || as_fn_error $? "could not create -" "$LINENO" 5
  1016. fi
  1017. ;;
  1018. esac
  1019. done # for ac_tag
  1020. as_fn_exit 0