config.status 36 KB

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