config.status 36 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225
  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 iftop $as_me 1.0pre4, 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 config/Makefile"
  355. config_headers=" config.h"
  356. config_commands=" depfiles"
  357. ac_cs_usage="\
  358. \`$as_me' instantiates files and other configuration actions
  359. from templates according to the current configuration. Unless the files
  360. and actions are specified as TAGs, all are instantiated by default.
  361. Usage: $0 [OPTION]... [TAG]...
  362. -h, --help print this help, then exit
  363. -V, --version print version number and configuration settings, then exit
  364. --config print configuration, then exit
  365. -q, --quiet, --silent
  366. do not print progress messages
  367. -d, --debug don't remove temporary files
  368. --recheck update $as_me by reconfiguring in the same conditions
  369. --file=FILE[:TEMPLATE]
  370. instantiate the configuration file FILE
  371. --header=FILE[:TEMPLATE]
  372. instantiate the configuration header FILE
  373. Configuration files:
  374. $config_files
  375. Configuration headers:
  376. $config_headers
  377. Configuration commands:
  378. $config_commands
  379. Report bugs to <pdw@ex-parrot.com>.
  380. iftop home page: <http://www.ex-parrot.com/pdw/iftop/>."
  381. ac_cs_config="'--host=arm-linux-gnueabihf' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/release' '--with-libpcap=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libpcap-1.9.0/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'"
  382. ac_cs_version="\
  383. iftop config.status 1.0pre4
  384. configured by ./configure, generated by GNU Autoconf 2.69,
  385. with options \"$ac_cs_config\"
  386. Copyright (C) 2012 Free Software Foundation, Inc.
  387. This config.status script is free software; the Free Software Foundation
  388. gives unlimited permission to copy, distribute and modify it."
  389. ac_pwd='/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4'
  390. srcdir='.'
  391. INSTALL='/usr/bin/install -c'
  392. MKDIR_P='/bin/mkdir -p'
  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=`expr "X$1" : 'X\([^=]*\)='`
  407. ac_optarg=
  408. ac_shift=:
  409. ;;
  410. *)
  411. ac_option=$1
  412. ac_optarg=$2
  413. ac_shift=shift
  414. ;;
  415. esac
  416. case $ac_option in
  417. # Handling of the options.
  418. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  419. ac_cs_recheck=: ;;
  420. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  421. $as_echo "$ac_cs_version"; exit ;;
  422. --config | --confi | --conf | --con | --co | --c )
  423. $as_echo "$ac_cs_config"; exit ;;
  424. --debug | --debu | --deb | --de | --d | -d )
  425. debug=: ;;
  426. --file | --fil | --fi | --f )
  427. $ac_shift
  428. case $ac_optarg in
  429. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  430. '') as_fn_error $? "missing file argument" ;;
  431. esac
  432. as_fn_append CONFIG_FILES " '$ac_optarg'"
  433. ac_need_defaults=false;;
  434. --header | --heade | --head | --hea )
  435. $ac_shift
  436. case $ac_optarg in
  437. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  438. esac
  439. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  440. ac_need_defaults=false;;
  441. --he | --h)
  442. # Conflict between --help and --header
  443. as_fn_error $? "ambiguous option: \`$1'
  444. Try \`$0 --help' for more information.";;
  445. --help | --hel | -h )
  446. $as_echo "$ac_cs_usage"; exit ;;
  447. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  448. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  449. ac_cs_silent=: ;;
  450. # This is an error.
  451. -*) as_fn_error $? "unrecognized option: \`$1'
  452. Try \`$0 --help' for more information." ;;
  453. *) as_fn_append ac_config_targets " $1"
  454. ac_need_defaults=false ;;
  455. esac
  456. shift
  457. done
  458. ac_configure_extra_args=
  459. if $ac_cs_silent; then
  460. exec 6>/dev/null
  461. ac_configure_extra_args="$ac_configure_extra_args --silent"
  462. fi
  463. if $ac_cs_recheck; then
  464. set X /bin/bash './configure' '--host=arm-linux-gnueabihf' '--prefix=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/release' '--with-libpcap=/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libpcap-1.9.0/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
  465. shift
  466. $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
  467. CONFIG_SHELL='/bin/bash'
  468. export CONFIG_SHELL
  469. exec "$@"
  470. fi
  471. exec 5>>config.log
  472. {
  473. echo
  474. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  475. ## Running $as_me. ##
  476. _ASBOX
  477. $as_echo "$ac_log"
  478. } >&5
  479. #
  480. # INIT-COMMANDS
  481. #
  482. AMDEP_TRUE="" ac_aux_dir="config"
  483. # Handling of arguments.
  484. for ac_config_target in $ac_config_targets
  485. do
  486. case $ac_config_target in
  487. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  488. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  489. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  490. "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
  491. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  492. esac
  493. done
  494. # If the user did not use the arguments to specify the items to instantiate,
  495. # then the envvar interface is used. Set only those that are not.
  496. # We use the long form for the default assignment because of an extremely
  497. # bizarre bug on SunOS 4.1.3.
  498. if $ac_need_defaults; then
  499. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  500. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  501. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  502. fi
  503. # Have a temporary directory for convenience. Make it in the build tree
  504. # simply because there is no reason against having it here, and in addition,
  505. # creating and moving files from /tmp can sometimes cause problems.
  506. # Hook for its removal unless debugging.
  507. # Note that there is a small window in which the directory will not be cleaned:
  508. # after its creation but before its name has been assigned to `$tmp'.
  509. $debug ||
  510. {
  511. tmp= ac_tmp=
  512. trap 'exit_status=$?
  513. : "${ac_tmp:=$tmp}"
  514. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  515. ' 0
  516. trap 'as_fn_exit 1' 1 2 13 15
  517. }
  518. # Create a (secure) tmp directory for tmp files.
  519. {
  520. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  521. test -d "$tmp"
  522. } ||
  523. {
  524. tmp=./conf$$-$RANDOM
  525. (umask 077 && mkdir "$tmp")
  526. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  527. ac_tmp=$tmp
  528. # Set up the scripts for CONFIG_FILES section.
  529. # No need to generate them if there are no CONFIG_FILES.
  530. # This happens for instance with `./config.status config.h'.
  531. if test -n "$CONFIG_FILES"; then
  532. ac_cr=`echo X | tr X '\015'`
  533. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  534. # But we know of no other shell where ac_cr would be empty at this
  535. # point, so we can use a bashism as a fallback.
  536. if test "x$ac_cr" = x; then
  537. eval ac_cr=\$\'\\r\'
  538. fi
  539. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  540. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  541. ac_cs_awk_cr='\\r'
  542. else
  543. ac_cs_awk_cr=$ac_cr
  544. fi
  545. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  546. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  547. S["am__EXEEXT_FALSE"]=""
  548. S["am__EXEEXT_TRUE"]="#"
  549. S["LTLIBOBJS"]=""
  550. S["LIBOBJS"]=""
  551. S["ac_aux_dir"]="config"
  552. S["EGREP"]="/bin/grep -E"
  553. S["GREP"]="/bin/grep"
  554. 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"
  555. S["am__fastdepCC_FALSE"]="#"
  556. S["am__fastdepCC_TRUE"]=""
  557. S["CCDEPMODE"]="depmode=gcc3"
  558. S["am__nodep"]="_no"
  559. S["AMDEPBACKSLASH"]="\\"
  560. S["AMDEP_FALSE"]="#"
  561. S["AMDEP_TRUE"]=""
  562. S["am__quote"]=""
  563. S["am__include"]="include"
  564. S["DEPDIR"]=".deps"
  565. S["OBJEXT"]="o"
  566. S["EXEEXT"]=""
  567. S["ac_ct_CC"]=""
  568. S["CPPFLAGS"]=" -I/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libpcap-1.9.0/release/include"
  569. S["LDFLAGS"]=" -L/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/libpcap-1.9.0/release/lib"
  570. S["CFLAGS"]="-g -O2 "
  571. 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"
  572. S["AM_BACKSLASH"]="\\"
  573. S["AM_DEFAULT_VERBOSITY"]="1"
  574. S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
  575. S["AM_V"]="$(V)"
  576. S["am__untar"]="$${TAR-tar} xf -"
  577. S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
  578. S["AMTAR"]="$${TAR-tar}"
  579. S["am__leading_dot"]="."
  580. S["SET_MAKE"]=""
  581. S["AWK"]="gawk"
  582. S["mkdir_p"]="$(MKDIR_P)"
  583. S["MKDIR_P"]="/bin/mkdir -p"
  584. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  585. 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"
  586. S["install_sh"]="${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/config/install-sh"
  587. S["MAKEINFO"]="${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/config/missing makeinfo"
  588. S["AUTOHEADER"]="${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/config/missing autoheader"
  589. S["AUTOMAKE"]="${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/config/missing automake-1.15"
  590. S["AUTOCONF"]="${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/config/missing autoconf"
  591. S["ACLOCAL"]="${SHELL} /opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/config/missing aclocal-1.15"
  592. S["VERSION"]="1.0pre4"
  593. S["PACKAGE"]="iftop"
  594. S["CYGPATH_W"]="echo"
  595. S["am__isrc"]=""
  596. S["INSTALL_DATA"]="${INSTALL} -m 644"
  597. S["INSTALL_SCRIPT"]="${INSTALL}"
  598. S["INSTALL_PROGRAM"]="${INSTALL}"
  599. S["target_os"]="linux-gnueabihf"
  600. S["target_vendor"]="unknown"
  601. S["target_cpu"]="arm"
  602. S["target"]="arm-unknown-linux-gnueabihf"
  603. S["host_os"]="linux-gnueabihf"
  604. S["host_vendor"]="unknown"
  605. S["host_cpu"]="arm"
  606. S["host"]="arm-unknown-linux-gnueabihf"
  607. S["build_os"]="linux-gnu"
  608. S["build_vendor"]="pc"
  609. S["build_cpu"]="x86_64"
  610. S["build"]="x86_64-pc-linux-gnu"
  611. S["target_alias"]=""
  612. S["host_alias"]="arm-linux-gnueabihf"
  613. S["build_alias"]=""
  614. S["LIBS"]="-lpcap -lm -lcurses -lpthread"
  615. S["ECHO_T"]=""
  616. S["ECHO_N"]="-n"
  617. S["ECHO_C"]=""
  618. S["DEFS"]="-DHAVE_CONFIG_H"
  619. S["mandir"]="${datarootdir}/man"
  620. S["localedir"]="${datarootdir}/locale"
  621. S["libdir"]="${exec_prefix}/lib"
  622. S["psdir"]="${docdir}"
  623. S["pdfdir"]="${docdir}"
  624. S["dvidir"]="${docdir}"
  625. S["htmldir"]="${docdir}"
  626. S["infodir"]="${datarootdir}/info"
  627. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  628. S["oldincludedir"]="/usr/include"
  629. S["includedir"]="${prefix}/include"
  630. S["runstatedir"]="${localstatedir}/run"
  631. S["localstatedir"]="${prefix}/var"
  632. S["sharedstatedir"]="${prefix}/com"
  633. S["sysconfdir"]="${prefix}/etc"
  634. S["datadir"]="${datarootdir}"
  635. S["datarootdir"]="${prefix}/share"
  636. S["libexecdir"]="${exec_prefix}/libexec"
  637. S["sbindir"]="${exec_prefix}/sbin"
  638. S["bindir"]="${exec_prefix}/bin"
  639. S["program_transform_name"]="s,x,x,"
  640. S["prefix"]="/opt/ti-processor-sdk-linux-am335x-evm-04.02.00.09/EVSE/GPL/iftop-1.0pre4/release"
  641. S["exec_prefix"]="${prefix}"
  642. S["PACKAGE_URL"]="http://www.ex-parrot.com/pdw/iftop/"
  643. S["PACKAGE_BUGREPORT"]="pdw@ex-parrot.com"
  644. S["PACKAGE_STRING"]="iftop 1.0pre4"
  645. S["PACKAGE_VERSION"]="1.0pre4"
  646. S["PACKAGE_TARNAME"]="iftop"
  647. S["PACKAGE_NAME"]="iftop"
  648. S["PATH_SEPARATOR"]=":"
  649. S["SHELL"]="/bin/bash"
  650. _ACAWK
  651. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  652. for (key in S) S_is_set[key] = 1
  653. FS = ""
  654. }
  655. {
  656. line = $ 0
  657. nfields = split(line, field, "@")
  658. substed = 0
  659. len = length(field[1])
  660. for (i = 2; i < nfields; i++) {
  661. key = field[i]
  662. keylen = length(key)
  663. if (S_is_set[key]) {
  664. value = S[key]
  665. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  666. len += length(value) + length(field[++i])
  667. substed = 1
  668. } else
  669. len += 1 + keylen
  670. }
  671. print line
  672. }
  673. _ACAWK
  674. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  675. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  676. else
  677. cat
  678. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  679. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  680. fi # test -n "$CONFIG_FILES"
  681. # Set up the scripts for CONFIG_HEADERS section.
  682. # No need to generate them if there are no CONFIG_HEADERS.
  683. # This happens for instance with `./config.status Makefile'.
  684. if test -n "$CONFIG_HEADERS"; then
  685. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  686. BEGIN {
  687. D["PACKAGE_NAME"]=" \"iftop\""
  688. D["PACKAGE_TARNAME"]=" \"iftop\""
  689. D["PACKAGE_VERSION"]=" \"1.0pre4\""
  690. D["PACKAGE_STRING"]=" \"iftop 1.0pre4\""
  691. D["PACKAGE_BUGREPORT"]=" \"pdw@ex-parrot.com\""
  692. D["PACKAGE_URL"]=" \"http://www.ex-parrot.com/pdw/iftop/\""
  693. D["PACKAGE"]=" \"iftop\""
  694. D["VERSION"]=" \"1.0pre4\""
  695. D["STDC_HEADERS"]=" 1"
  696. D["HAVE_SYS_TYPES_H"]=" 1"
  697. D["HAVE_SYS_STAT_H"]=" 1"
  698. D["HAVE_STDLIB_H"]=" 1"
  699. D["HAVE_STRING_H"]=" 1"
  700. D["HAVE_MEMORY_H"]=" 1"
  701. D["HAVE_STRINGS_H"]=" 1"
  702. D["HAVE_INTTYPES_H"]=" 1"
  703. D["HAVE_STDINT_H"]=" 1"
  704. D["HAVE_UNISTD_H"]=" 1"
  705. D["HAVE_SGTTY_H"]=" 1"
  706. D["HAVE_SYS_IOCTL_H"]=" 1"
  707. D["HAVE_SYS_TIME_H"]=" 1"
  708. D["HAVE_TERMIO_H"]=" 1"
  709. D["HAVE_TERMIOS_H"]=" 1"
  710. D["HAVE_UNISTD_H"]=" 1"
  711. D["TIME_WITH_SYS_TIME"]=" 1"
  712. D["HAVE_REGCOMP"]=" 1"
  713. D["HAVE_SELECT"]=" 1"
  714. D["HAVE_STRDUP"]=" 1"
  715. D["HAVE_STRERROR"]=" 1"
  716. D["HAVE_STRSPN"]=" 1"
  717. D["HAVE_INET_ATON"]=" 1"
  718. D["HAVE_INET_PTON"]=" 1"
  719. D["SIZEOF_U_INT8_T"]=" 0"
  720. D["SIZEOF_U_INT16_T"]=" 0"
  721. D["SIZEOF_U_INT32_T"]=" 0"
  722. D["HAVE_STDINT_H"]=" 1"
  723. D["HAVE_C99_INTS"]=" 1"
  724. D["GETHOSTBYADDR_R_RETURNS_INT"]=" 1"
  725. D["USE_GETHOSTBYADDR_R"]=" 1"
  726. D["HAVE_LIBPCAP"]=" 1"
  727. D["HAVE_PCAP_H"]=" 1"
  728. for (key in D) D_is_set[key] = 1
  729. FS = ""
  730. }
  731. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  732. line = $ 0
  733. split(line, arg, " ")
  734. if (arg[1] == "#") {
  735. defundef = arg[2]
  736. mac1 = arg[3]
  737. } else {
  738. defundef = substr(arg[1], 2)
  739. mac1 = arg[2]
  740. }
  741. split(mac1, mac2, "(") #)
  742. macro = mac2[1]
  743. prefix = substr(line, 1, index(line, defundef) - 1)
  744. if (D_is_set[macro]) {
  745. # Preserve the white space surrounding the "#".
  746. print prefix "define", macro P[macro] D[macro]
  747. next
  748. } else {
  749. # Replace #undef with comments. This is necessary, for example,
  750. # in the case of _POSIX_SOURCE, which is predefined and required
  751. # on some systems where configure will not decide to define it.
  752. if (defundef == "undef") {
  753. print "/*", prefix defundef, macro, "*/"
  754. next
  755. }
  756. }
  757. }
  758. { print }
  759. _ACAWK
  760. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  761. fi # test -n "$CONFIG_HEADERS"
  762. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  763. shift
  764. for ac_tag
  765. do
  766. case $ac_tag in
  767. :[FHLC]) ac_mode=$ac_tag; continue;;
  768. esac
  769. case $ac_mode$ac_tag in
  770. :[FHL]*:*);;
  771. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  772. :[FH]-) ac_tag=-:-;;
  773. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  774. esac
  775. ac_save_IFS=$IFS
  776. IFS=:
  777. set x $ac_tag
  778. IFS=$ac_save_IFS
  779. shift
  780. ac_file=$1
  781. shift
  782. case $ac_mode in
  783. :L) ac_source=$1;;
  784. :[FH])
  785. ac_file_inputs=
  786. for ac_f
  787. do
  788. case $ac_f in
  789. -) ac_f="$ac_tmp/stdin";;
  790. *) # Look for the file first in the build tree, then in the source tree
  791. # (if the path is not absolute). The absolute path cannot be DOS-style,
  792. # because $ac_f cannot contain `:'.
  793. test -f "$ac_f" ||
  794. case $ac_f in
  795. [\\/$]*) false;;
  796. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  797. esac ||
  798. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  799. esac
  800. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  801. as_fn_append ac_file_inputs " '$ac_f'"
  802. done
  803. # Let's still pretend it is `configure' which instantiates (i.e., don't
  804. # use $as_me), people would be surprised to read:
  805. # /* config.h. Generated by config.status. */
  806. configure_input='Generated from '`
  807. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  808. `' by configure.'
  809. if test x"$ac_file" != x-; then
  810. configure_input="$ac_file. $configure_input"
  811. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  812. $as_echo "$as_me: creating $ac_file" >&6;}
  813. fi
  814. # Neutralize special characters interpreted by sed in replacement strings.
  815. case $configure_input in #(
  816. *\&* | *\|* | *\\* )
  817. ac_sed_conf_input=`$as_echo "$configure_input" |
  818. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  819. *) ac_sed_conf_input=$configure_input;;
  820. esac
  821. case $ac_tag in
  822. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  823. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  824. esac
  825. ;;
  826. esac
  827. ac_dir=`$as_dirname -- "$ac_file" ||
  828. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  829. X"$ac_file" : 'X\(//\)[^/]' \| \
  830. X"$ac_file" : 'X\(//\)$' \| \
  831. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  832. $as_echo X"$ac_file" |
  833. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  834. s//\1/
  835. q
  836. }
  837. /^X\(\/\/\)[^/].*/{
  838. s//\1/
  839. q
  840. }
  841. /^X\(\/\/\)$/{
  842. s//\1/
  843. q
  844. }
  845. /^X\(\/\).*/{
  846. s//\1/
  847. q
  848. }
  849. s/.*/./; q'`
  850. as_dir="$ac_dir"; as_fn_mkdir_p
  851. ac_builddir=.
  852. case "$ac_dir" in
  853. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  854. *)
  855. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  856. # A ".." for each directory in $ac_dir_suffix.
  857. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  858. case $ac_top_builddir_sub in
  859. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  860. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  861. esac ;;
  862. esac
  863. ac_abs_top_builddir=$ac_pwd
  864. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  865. # for backward compatibility:
  866. ac_top_builddir=$ac_top_build_prefix
  867. case $srcdir in
  868. .) # We are building in place.
  869. ac_srcdir=.
  870. ac_top_srcdir=$ac_top_builddir_sub
  871. ac_abs_top_srcdir=$ac_pwd ;;
  872. [\\/]* | ?:[\\/]* ) # Absolute name.
  873. ac_srcdir=$srcdir$ac_dir_suffix;
  874. ac_top_srcdir=$srcdir
  875. ac_abs_top_srcdir=$srcdir ;;
  876. *) # Relative name.
  877. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  878. ac_top_srcdir=$ac_top_build_prefix$srcdir
  879. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  880. esac
  881. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  882. case $ac_mode in
  883. :F)
  884. #
  885. # CONFIG_FILE
  886. #
  887. case $INSTALL in
  888. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  889. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  890. esac
  891. ac_MKDIR_P=$MKDIR_P
  892. case $MKDIR_P in
  893. [\\/$]* | ?:[\\/]* ) ;;
  894. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  895. esac
  896. # If the template does not know about datarootdir, expand it.
  897. # FIXME: This hack should be removed a few years after 2.60.
  898. ac_datarootdir_hack=; ac_datarootdir_seen=
  899. ac_sed_dataroot='
  900. /datarootdir/ {
  901. p
  902. q
  903. }
  904. /@datadir@/p
  905. /@docdir@/p
  906. /@infodir@/p
  907. /@localedir@/p
  908. /@mandir@/p'
  909. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  910. *datarootdir*) ac_datarootdir_seen=yes;;
  911. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  912. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  913. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  914. ac_datarootdir_hack='
  915. s&@datadir@&${datarootdir}&g
  916. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  917. s&@infodir@&${datarootdir}/info&g
  918. s&@localedir@&${datarootdir}/locale&g
  919. s&@mandir@&${datarootdir}/man&g
  920. s&\${datarootdir}&${prefix}/share&g' ;;
  921. esac
  922. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  923. h
  924. s///
  925. s/^/:/
  926. s/[ ]*$/:/
  927. s/:\$(srcdir):/:/g
  928. s/:\${srcdir}:/:/g
  929. s/:@srcdir@:/:/g
  930. s/^:*//
  931. s/:*$//
  932. x
  933. s/\(=[ ]*\).*/\1/
  934. G
  935. s/\n//
  936. s/^[^=]*=[ ]*$//
  937. }
  938. :t
  939. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  940. s|@configure_input@|$ac_sed_conf_input|;t t
  941. s&@top_builddir@&$ac_top_builddir_sub&;t t
  942. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  943. s&@srcdir@&$ac_srcdir&;t t
  944. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  945. s&@top_srcdir@&$ac_top_srcdir&;t t
  946. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  947. s&@builddir@&$ac_builddir&;t t
  948. s&@abs_builddir@&$ac_abs_builddir&;t t
  949. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  950. s&@INSTALL@&$ac_INSTALL&;t t
  951. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  952. $ac_datarootdir_hack
  953. "
  954. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  955. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  956. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  957. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  958. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  959. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  960. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  961. which seems to be undefined. Please make sure it is defined" >&5
  962. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  963. which seems to be undefined. Please make sure it is defined" >&2;}
  964. rm -f "$ac_tmp/stdin"
  965. case $ac_file in
  966. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  967. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  968. esac \
  969. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  970. ;;
  971. :H)
  972. #
  973. # CONFIG_HEADER
  974. #
  975. if test x"$ac_file" != x-; then
  976. {
  977. $as_echo "/* $configure_input */" \
  978. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  979. } >"$ac_tmp/config.h" \
  980. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  981. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  982. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  983. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  984. else
  985. rm -f "$ac_file"
  986. mv "$ac_tmp/config.h" "$ac_file" \
  987. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  988. fi
  989. else
  990. $as_echo "/* $configure_input */" \
  991. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  992. || as_fn_error $? "could not create -" "$LINENO" 5
  993. fi
  994. # Compute "$ac_file"'s index in $config_headers.
  995. _am_arg="$ac_file"
  996. _am_stamp_count=1
  997. for _am_header in $config_headers :; do
  998. case $_am_header in
  999. $_am_arg | $_am_arg:* )
  1000. break ;;
  1001. * )
  1002. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1003. esac
  1004. done
  1005. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1006. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1007. X"$_am_arg" : 'X\(//\)[^/]' \| \
  1008. X"$_am_arg" : 'X\(//\)$' \| \
  1009. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1010. $as_echo X"$_am_arg" |
  1011. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1012. s//\1/
  1013. q
  1014. }
  1015. /^X\(\/\/\)[^/].*/{
  1016. s//\1/
  1017. q
  1018. }
  1019. /^X\(\/\/\)$/{
  1020. s//\1/
  1021. q
  1022. }
  1023. /^X\(\/\).*/{
  1024. s//\1/
  1025. q
  1026. }
  1027. s/.*/./; q'`/stamp-h$_am_stamp_count
  1028. ;;
  1029. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1030. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1031. ;;
  1032. esac
  1033. case $ac_file$ac_mode in
  1034. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1035. # Older Autoconf quotes --file arguments for eval, but not when files
  1036. # are listed without --file. Let's play safe and only enable the eval
  1037. # if we detect the quoting.
  1038. case $CONFIG_FILES in
  1039. *\'*) eval set x "$CONFIG_FILES" ;;
  1040. *) set x $CONFIG_FILES ;;
  1041. esac
  1042. shift
  1043. for mf
  1044. do
  1045. # Strip MF so we end up with the name of the file.
  1046. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1047. # Check whether this is an Automake generated Makefile or not.
  1048. # We used to match only the files named 'Makefile.in', but
  1049. # some people rename them; so instead we look at the file content.
  1050. # Grep'ing the first line is not enough: some people post-process
  1051. # each Makefile.in and add a new line on top of each file to say so.
  1052. # Grep'ing the whole file is not good either: AIX grep has a line
  1053. # limit of 2048, but all sed's we know have understand at least 4000.
  1054. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1055. dirpart=`$as_dirname -- "$mf" ||
  1056. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1057. X"$mf" : 'X\(//\)[^/]' \| \
  1058. X"$mf" : 'X\(//\)$' \| \
  1059. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1060. $as_echo X"$mf" |
  1061. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1062. s//\1/
  1063. q
  1064. }
  1065. /^X\(\/\/\)[^/].*/{
  1066. s//\1/
  1067. q
  1068. }
  1069. /^X\(\/\/\)$/{
  1070. s//\1/
  1071. q
  1072. }
  1073. /^X\(\/\).*/{
  1074. s//\1/
  1075. q
  1076. }
  1077. s/.*/./; q'`
  1078. else
  1079. continue
  1080. fi
  1081. # Extract the definition of DEPDIR, am__include, and am__quote
  1082. # from the Makefile without running 'make'.
  1083. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1084. test -z "$DEPDIR" && continue
  1085. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1086. test -z "$am__include" && continue
  1087. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1088. # Find all dependency output files, they are included files with
  1089. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1090. # simplest approach to changing $(DEPDIR) to its actual value in the
  1091. # expansion.
  1092. for file in `sed -n "
  1093. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1094. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  1095. # Make sure the directory exists.
  1096. test -f "$dirpart/$file" && continue
  1097. fdir=`$as_dirname -- "$file" ||
  1098. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1099. X"$file" : 'X\(//\)[^/]' \| \
  1100. X"$file" : 'X\(//\)$' \| \
  1101. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1102. $as_echo X"$file" |
  1103. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1104. s//\1/
  1105. q
  1106. }
  1107. /^X\(\/\/\)[^/].*/{
  1108. s//\1/
  1109. q
  1110. }
  1111. /^X\(\/\/\)$/{
  1112. s//\1/
  1113. q
  1114. }
  1115. /^X\(\/\).*/{
  1116. s//\1/
  1117. q
  1118. }
  1119. s/.*/./; q'`
  1120. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1121. # echo "creating $dirpart/$file"
  1122. echo '# dummy' > "$dirpart/$file"
  1123. done
  1124. done
  1125. }
  1126. ;;
  1127. esac
  1128. done # for ac_tag
  1129. as_fn_exit 0