config.status 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268
  1. #! /bin/sh
  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/sh}
  10. export SHELL
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. case $0 in #((
  84. *[\\/]* ) as_myself=$0 ;;
  85. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  86. for as_dir in $PATH
  87. do
  88. IFS=$as_save_IFS
  89. test -z "$as_dir" && as_dir=.
  90. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  91. done
  92. IFS=$as_save_IFS
  93. ;;
  94. esac
  95. # We did not find ourselves, most probably we were run as `sh COMMAND'
  96. # in which case we are not to be found in the path.
  97. if test "x$as_myself" = x; then
  98. as_myself=$0
  99. fi
  100. if test ! -f "$as_myself"; then
  101. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  102. exit 1
  103. fi
  104. # Unset variables that we do not need and which cause bugs (e.g. in
  105. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  106. # suppresses any "Segmentation fault" message there. '((' could
  107. # trigger a bug in pdksh 5.2.14.
  108. for as_var in BASH_ENV ENV MAIL MAILPATH
  109. do eval test x\${$as_var+set} = xset \
  110. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  111. done
  112. PS1='$ '
  113. PS2='> '
  114. PS4='+ '
  115. # NLS nuisances.
  116. LC_ALL=C
  117. export LC_ALL
  118. LANGUAGE=C
  119. export LANGUAGE
  120. # CDPATH.
  121. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  122. # as_fn_error ERROR [LINENO LOG_FD]
  123. # ---------------------------------
  124. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  125. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  126. # script with status $?, using 1 if that was 0.
  127. as_fn_error ()
  128. {
  129. as_status=$?; test $as_status -eq 0 && as_status=1
  130. if test "$3"; then
  131. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  132. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  133. fi
  134. $as_echo "$as_me: error: $1" >&2
  135. as_fn_exit $as_status
  136. } # as_fn_error
  137. # as_fn_set_status STATUS
  138. # -----------------------
  139. # Set $? to STATUS, without forking.
  140. as_fn_set_status ()
  141. {
  142. return $1
  143. } # as_fn_set_status
  144. # as_fn_exit STATUS
  145. # -----------------
  146. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  147. as_fn_exit ()
  148. {
  149. set +e
  150. as_fn_set_status $1
  151. exit $1
  152. } # as_fn_exit
  153. # as_fn_unset VAR
  154. # ---------------
  155. # Portably unset VAR.
  156. as_fn_unset ()
  157. {
  158. { eval $1=; unset $1;}
  159. }
  160. as_unset=as_fn_unset
  161. # as_fn_append VAR VALUE
  162. # ----------------------
  163. # Append the text in VALUE to the end of the definition contained in VAR. Take
  164. # advantage of any shell optimizations that allow amortized linear growth over
  165. # repeated appends, instead of the typical quadratic growth present in naive
  166. # implementations.
  167. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  168. eval 'as_fn_append ()
  169. {
  170. eval $1+=\$2
  171. }'
  172. else
  173. as_fn_append ()
  174. {
  175. eval $1=\$$1\$2
  176. }
  177. fi # as_fn_append
  178. # as_fn_arith ARG...
  179. # ------------------
  180. # Perform arithmetic evaluation on the ARGs, and store the result in the
  181. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  182. # must be portable across $(()) and expr.
  183. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  184. eval 'as_fn_arith ()
  185. {
  186. as_val=$(( $* ))
  187. }'
  188. else
  189. as_fn_arith ()
  190. {
  191. as_val=`expr "$@" || test $? -eq 1`
  192. }
  193. fi # as_fn_arith
  194. if expr a : '\(a\)' >/dev/null 2>&1 &&
  195. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  196. as_expr=expr
  197. else
  198. as_expr=false
  199. fi
  200. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  201. as_basename=basename
  202. else
  203. as_basename=false
  204. fi
  205. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  206. as_dirname=dirname
  207. else
  208. as_dirname=false
  209. fi
  210. as_me=`$as_basename -- "$0" ||
  211. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  212. X"$0" : 'X\(//\)$' \| \
  213. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  214. $as_echo X/"$0" |
  215. sed '/^.*\/\([^/][^/]*\)\/*$/{
  216. s//\1/
  217. q
  218. }
  219. /^X\/\(\/\/\)$/{
  220. s//\1/
  221. q
  222. }
  223. /^X\/\(\/\).*/{
  224. s//\1/
  225. q
  226. }
  227. s/.*/./; q'`
  228. # Avoid depending upon Character Ranges.
  229. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  230. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  231. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  232. as_cr_digits='0123456789'
  233. as_cr_alnum=$as_cr_Letters$as_cr_digits
  234. ECHO_C= ECHO_N= ECHO_T=
  235. case `echo -n x` in #(((((
  236. -n*)
  237. case `echo 'xy\c'` in
  238. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  239. xy) ECHO_C='\c';;
  240. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  241. ECHO_T=' ';;
  242. esac;;
  243. *)
  244. ECHO_N='-n';;
  245. esac
  246. rm -f conf$$ conf$$.exe conf$$.file
  247. if test -d conf$$.dir; then
  248. rm -f conf$$.dir/conf$$.file
  249. else
  250. rm -f conf$$.dir
  251. mkdir conf$$.dir 2>/dev/null
  252. fi
  253. if (echo >conf$$.file) 2>/dev/null; then
  254. if ln -s conf$$.file conf$$ 2>/dev/null; then
  255. as_ln_s='ln -s'
  256. # ... but there are two gotchas:
  257. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  258. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  259. # In both cases, we have to default to `cp -p'.
  260. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  261. as_ln_s='cp -p'
  262. elif ln conf$$.file conf$$ 2>/dev/null; then
  263. as_ln_s=ln
  264. else
  265. as_ln_s='cp -p'
  266. fi
  267. else
  268. as_ln_s='cp -p'
  269. fi
  270. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  271. rmdir conf$$.dir 2>/dev/null
  272. # as_fn_mkdir_p
  273. # -------------
  274. # Create "$as_dir" as a directory, including parents if necessary.
  275. as_fn_mkdir_p ()
  276. {
  277. case $as_dir in #(
  278. -*) as_dir=./$as_dir;;
  279. esac
  280. test -d "$as_dir" || eval $as_mkdir_p || {
  281. as_dirs=
  282. while :; do
  283. case $as_dir in #(
  284. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  285. *) as_qdir=$as_dir;;
  286. esac
  287. as_dirs="'$as_qdir' $as_dirs"
  288. as_dir=`$as_dirname -- "$as_dir" ||
  289. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  290. X"$as_dir" : 'X\(//\)[^/]' \| \
  291. X"$as_dir" : 'X\(//\)$' \| \
  292. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  293. $as_echo X"$as_dir" |
  294. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  295. s//\1/
  296. q
  297. }
  298. /^X\(\/\/\)[^/].*/{
  299. s//\1/
  300. q
  301. }
  302. /^X\(\/\/\)$/{
  303. s//\1/
  304. q
  305. }
  306. /^X\(\/\).*/{
  307. s//\1/
  308. q
  309. }
  310. s/.*/./; q'`
  311. test -d "$as_dir" && break
  312. done
  313. test -z "$as_dirs" || eval "mkdir $as_dirs"
  314. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  315. } # as_fn_mkdir_p
  316. if mkdir -p . 2>/dev/null; then
  317. as_mkdir_p='mkdir -p "$as_dir"'
  318. else
  319. test -d ./-p && rmdir ./-p
  320. as_mkdir_p=false
  321. fi
  322. if test -x / >/dev/null 2>&1; then
  323. as_test_x='test -x'
  324. else
  325. if ls -dL / >/dev/null 2>&1; then
  326. as_ls_L_option=L
  327. else
  328. as_ls_L_option=
  329. fi
  330. as_test_x='
  331. eval sh -c '\''
  332. if test -d "$1"; then
  333. test -d "$1/.";
  334. else
  335. case $1 in #(
  336. -*)set "./$1";;
  337. esac;
  338. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  339. ???[sx]*):;;*)false;;esac;fi
  340. '\'' sh
  341. '
  342. fi
  343. as_executable_p=$as_test_x
  344. # Sed expression to map a string onto a valid CPP name.
  345. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  346. # Sed expression to map a string onto a valid variable name.
  347. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  348. exec 6>&1
  349. ## ----------------------------------- ##
  350. ## Main body of $CONFIG_STATUS script. ##
  351. ## ----------------------------------- ##
  352. # Save the log message, to keep $0 and so on meaningful, and to
  353. # report actual input values of CONFIG_FILES etc. instead of their
  354. # values after options handling.
  355. ac_log="
  356. This file was extended by nutconf $as_me 2.0.10, which was
  357. generated by GNU Autoconf 2.65. Invocation command line was
  358. CONFIG_FILES = $CONFIG_FILES
  359. CONFIG_HEADERS = $CONFIG_HEADERS
  360. CONFIG_LINKS = $CONFIG_LINKS
  361. CONFIG_COMMANDS = $CONFIG_COMMANDS
  362. $ $0 $@
  363. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  364. "
  365. # Files that config.status was made for.
  366. config_files=" Makefile src/Makefile"
  367. config_headers=" config.h"
  368. config_commands=" depfiles libtool"
  369. ac_cs_usage="\
  370. \`$as_me' instantiates files and other configuration actions
  371. from templates according to the current configuration. Unless the files
  372. and actions are specified as TAGs, all are instantiated by default.
  373. Usage: $0 [OPTION]... [TAG]...
  374. -h, --help print this help, then exit
  375. -V, --version print version number and configuration settings, then exit
  376. --config print configuration, then exit
  377. -q, --quiet, --silent
  378. do not print progress messages
  379. -d, --debug don't remove temporary files
  380. --recheck update $as_me by reconfiguring in the same conditions
  381. --file=FILE[:TEMPLATE]
  382. instantiate the configuration file FILE
  383. --header=FILE[:TEMPLATE]
  384. instantiate the configuration header FILE
  385. Configuration files:
  386. $config_files
  387. Configuration headers:
  388. $config_headers
  389. Configuration commands:
  390. $config_commands
  391. Report bugs to the package provider."
  392. ac_cs_config="'--disable-option-checking' '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=.'"
  393. ac_cs_version="\
  394. nutconf config.status 2.0.10
  395. configured by ./configure, generated by GNU Autoconf 2.65,
  396. with options \"$ac_cs_config\"
  397. Copyright (C) 2009 Free Software Foundation, Inc.
  398. This config.status script is free software; the Free Software Foundation
  399. gives unlimited permission to copy, distribute and modify it."
  400. ac_pwd='/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf'
  401. srcdir='.'
  402. INSTALL='/usr/bin/install -c'
  403. MKDIR_P='/usr/bin/mkdir -p'
  404. AWK='gawk'
  405. test -n "$AWK" || AWK=awk
  406. # The default lists apply if the user does not specify any file.
  407. ac_need_defaults=:
  408. while test $# != 0
  409. do
  410. case $1 in
  411. --*=*)
  412. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  413. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  414. ac_shift=:
  415. ;;
  416. *)
  417. ac_option=$1
  418. ac_optarg=$2
  419. ac_shift=shift
  420. ;;
  421. esac
  422. case $ac_option in
  423. # Handling of the options.
  424. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  425. ac_cs_recheck=: ;;
  426. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  427. $as_echo "$ac_cs_version"; exit ;;
  428. --config | --confi | --conf | --con | --co | --c )
  429. $as_echo "$ac_cs_config"; exit ;;
  430. --debug | --debu | --deb | --de | --d | -d )
  431. debug=: ;;
  432. --file | --fil | --fi | --f )
  433. $ac_shift
  434. case $ac_optarg in
  435. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  436. esac
  437. as_fn_append CONFIG_FILES " '$ac_optarg'"
  438. ac_need_defaults=false;;
  439. --header | --heade | --head | --hea )
  440. $ac_shift
  441. case $ac_optarg in
  442. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  443. esac
  444. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  445. ac_need_defaults=false;;
  446. --he | --h)
  447. # Conflict between --help and --header
  448. as_fn_error "ambiguous option: \`$1'
  449. Try \`$0 --help' for more information.";;
  450. --help | --hel | -h )
  451. $as_echo "$ac_cs_usage"; exit ;;
  452. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  453. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  454. ac_cs_silent=: ;;
  455. # This is an error.
  456. -*) as_fn_error "unrecognized option: \`$1'
  457. Try \`$0 --help' for more information." ;;
  458. *) as_fn_append ac_config_targets " $1"
  459. ac_need_defaults=false ;;
  460. esac
  461. shift
  462. done
  463. ac_configure_extra_args=
  464. if $ac_cs_silent; then
  465. exec 6>/dev/null
  466. ac_configure_extra_args="$ac_configure_extra_args --silent"
  467. fi
  468. if $ac_cs_recheck; then
  469. set X '/bin/sh' './configure' '--disable-option-checking' '--prefix=/usr/local' '--cache-file=/dev/null' '--srcdir=.' $ac_configure_extra_args --no-create --no-recursion
  470. shift
  471. $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  472. CONFIG_SHELL='/bin/sh'
  473. export CONFIG_SHELL
  474. exec "$@"
  475. fi
  476. exec 5>>config.log
  477. {
  478. echo
  479. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  480. ## Running $as_me. ##
  481. _ASBOX
  482. $as_echo "$ac_log"
  483. } >&5
  484. #
  485. # INIT-COMMANDS
  486. #
  487. AMDEP_TRUE="" ac_aux_dir="."
  488. # The HP-UX ksh and POSIX shell print the target directory to stdout
  489. # if CDPATH is set.
  490. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  491. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  492. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  493. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  494. macro_version='2.2.6b'
  495. macro_revision='1.3017'
  496. enable_shared='yes'
  497. enable_static='yes'
  498. pic_mode='default'
  499. enable_fast_install='yes'
  500. host_alias=''
  501. host='x86_64-unknown-linux-gnu'
  502. host_os='linux-gnu'
  503. build_alias=''
  504. build='x86_64-unknown-linux-gnu'
  505. build_os='linux-gnu'
  506. SED='/usr/bin/sed'
  507. Xsed='/usr/bin/sed -e 1s/^X//'
  508. GREP='/usr/bin/grep'
  509. EGREP='/usr/bin/grep -E'
  510. FGREP='/usr/bin/grep -F'
  511. LD='/usr/lib/hardening-wrapper/bin/ld -m elf_x86_64'
  512. NM='/usr/bin/nm -B'
  513. LN_S='ln'
  514. max_cmd_len='1572864'
  515. ac_objext='o'
  516. exeext=''
  517. lt_unset='unset'
  518. lt_SP2NL='tr \040 \012'
  519. lt_NL2SP='tr \015\012 \040\040'
  520. reload_flag=' -r'
  521. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  522. OBJDUMP='objdump'
  523. deplibs_check_method='pass_all'
  524. file_magic_cmd='$MAGIC_CMD'
  525. AR='ar'
  526. AR_FLAGS='cru'
  527. STRIP='strip'
  528. RANLIB='ranlib'
  529. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
  530. old_postuninstall_cmds=''
  531. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  532. CC='gcc'
  533. CFLAGS='-g -O2'
  534. compiler='g++'
  535. GCC='yes'
  536. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
  537. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  538. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  539. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
  540. objdir='.libs'
  541. SHELL='/bin/sh'
  542. ECHO='echo'
  543. MAGIC_CMD='file'
  544. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  545. lt_prog_compiler_wl='-Wl,'
  546. lt_prog_compiler_pic=' -fPIC -DPIC'
  547. lt_prog_compiler_static='-static'
  548. lt_cv_prog_compiler_c_o='yes'
  549. need_locks='no'
  550. DSYMUTIL=''
  551. NMEDIT=''
  552. LIPO=''
  553. OTOOL=''
  554. OTOOL64=''
  555. libext='a'
  556. shrext_cmds='.so'
  557. extract_expsyms_cmds=''
  558. archive_cmds_need_lc='no'
  559. enable_shared_with_static_runtimes='no'
  560. export_dynamic_flag_spec='${wl}--export-dynamic'
  561. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  562. compiler_needs_object='no'
  563. old_archive_from_new_cmds=''
  564. old_archive_from_expsyms_cmds=''
  565. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  566. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  567. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  568. echo "local: *; };" >> $output_objdir/$libname.ver~
  569. $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  570. module_cmds=''
  571. module_expsym_cmds=''
  572. with_gnu_ld='yes'
  573. allow_undefined_flag=''
  574. no_undefined_flag=''
  575. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  576. hardcode_libdir_flag_spec_ld=''
  577. hardcode_libdir_separator=''
  578. hardcode_direct='no'
  579. hardcode_direct_absolute='no'
  580. hardcode_minus_L='no'
  581. hardcode_shlibpath_var='unsupported'
  582. hardcode_automatic='no'
  583. inherit_rpath='no'
  584. link_all_deplibs='no'
  585. fix_srcfile_path=''
  586. always_export_symbols='no'
  587. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  588. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  589. include_expsyms=''
  590. prelink_cmds=''
  591. file_list_spec=''
  592. variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  593. need_lib_prefix='no'
  594. need_version='no'
  595. version_type='linux'
  596. runpath_var='LD_RUN_PATH'
  597. shlibpath_var='LD_LIBRARY_PATH'
  598. shlibpath_overrides_runpath='no'
  599. libname_spec='lib$name'
  600. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  601. soname_spec='${libname}${release}${shared_ext}$major'
  602. postinstall_cmds=''
  603. postuninstall_cmds=''
  604. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  605. finish_eval=''
  606. hardcode_into_libs='yes'
  607. sys_lib_search_path_spec='/usr/lib/hardening-wrapper/bin /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0 /usr/lib /lib'
  608. sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/libfakeroot /usr/lib32 '
  609. hardcode_action='immediate'
  610. enable_dlopen='unknown'
  611. enable_dlopen_self='unknown'
  612. enable_dlopen_self_static='unknown'
  613. old_striplib='strip --strip-debug'
  614. striplib='strip --strip-unneeded'
  615. compiler_lib_search_dirs=''
  616. predep_objects=''
  617. postdep_objects=''
  618. predeps=''
  619. postdeps=''
  620. compiler_lib_search_path=''
  621. LD_CXX='/usr/lib/hardening-wrapper/bin/ld -m elf_x86_64'
  622. old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  623. compiler_CXX='g++'
  624. GCC_CXX='yes'
  625. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  626. lt_prog_compiler_wl_CXX='-Wl,'
  627. lt_prog_compiler_pic_CXX=' -fPIC -DPIC'
  628. lt_prog_compiler_static_CXX='-static'
  629. lt_cv_prog_compiler_c_o_CXX='yes'
  630. archive_cmds_need_lc_CXX='no'
  631. enable_shared_with_static_runtimes_CXX='no'
  632. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  633. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  634. compiler_needs_object_CXX='no'
  635. old_archive_from_new_cmds_CXX=''
  636. old_archive_from_expsyms_cmds_CXX=''
  637. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  638. archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  639. module_cmds_CXX=''
  640. module_expsym_cmds_CXX=''
  641. with_gnu_ld_CXX='yes'
  642. allow_undefined_flag_CXX=''
  643. no_undefined_flag_CXX=''
  644. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  645. hardcode_libdir_flag_spec_ld_CXX=''
  646. hardcode_libdir_separator_CXX=''
  647. hardcode_direct_CXX='no'
  648. hardcode_direct_absolute_CXX='no'
  649. hardcode_minus_L_CXX='no'
  650. hardcode_shlibpath_var_CXX='unsupported'
  651. hardcode_automatic_CXX='no'
  652. inherit_rpath_CXX='no'
  653. link_all_deplibs_CXX='no'
  654. fix_srcfile_path_CXX=''
  655. always_export_symbols_CXX='no'
  656. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  657. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  658. include_expsyms_CXX=''
  659. prelink_cmds_CXX=''
  660. file_list_spec_CXX=''
  661. hardcode_action_CXX='immediate'
  662. compiler_lib_search_dirs_CXX='/usr/lib/hardening-wrapper/bin /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib /lib/../lib /usr/lib/../lib /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../..'
  663. predep_objects_CXX='/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtbeginS.o'
  664. postdep_objects_CXX='/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/crtn.o'
  665. predeps_CXX=''
  666. postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s'
  667. compiler_lib_search_path_CXX='-L/usr/lib/hardening-wrapper/bin -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../..'
  668. LTCC='gcc'
  669. LTCFLAGS='-g -O2'
  670. compiler='gcc'
  671. # Quote evaled strings.
  672. for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_flag_spec_ld_CXX hardcode_libdir_separator_CXX fix_srcfile_path_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
  673. case `eval \\$ECHO "X\\$$var"` in
  674. *[\\\`\"\$]*)
  675. eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
  676. ;;
  677. *)
  678. eval "lt_$var=\\\"\$$var\\\""
  679. ;;
  680. esac
  681. done
  682. # Double-quote double-evaled strings.
  683. for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX; do
  684. case `eval \\$ECHO "X\\$$var"` in
  685. *[\\\`\"\$]*)
  686. eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  687. ;;
  688. *)
  689. eval "lt_$var=\\\"\$$var\\\""
  690. ;;
  691. esac
  692. done
  693. # Fix-up fallback echo if it was mangled by the above quoting rules.
  694. case $lt_ECHO in
  695. *'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
  696. ;;
  697. esac
  698. ac_aux_dir='.'
  699. xsi_shell='yes'
  700. lt_shell_append='yes'
  701. # See if we are running on zsh, and set the options which allow our
  702. # commands through without removal of \ escapes INIT.
  703. if test -n "${ZSH_VERSION+set}" ; then
  704. setopt NO_GLOB_SUBST
  705. fi
  706. PACKAGE='nutconf'
  707. VERSION='2.0.10'
  708. TIMESTAMP=''
  709. RM='rm -f'
  710. ofile='libtool'
  711. # Handling of arguments.
  712. for ac_config_target in $ac_config_targets
  713. do
  714. case $ac_config_target in
  715. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  716. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  717. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  718. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  719. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  720. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  721. esac
  722. done
  723. # If the user did not use the arguments to specify the items to instantiate,
  724. # then the envvar interface is used. Set only those that are not.
  725. # We use the long form for the default assignment because of an extremely
  726. # bizarre bug on SunOS 4.1.3.
  727. if $ac_need_defaults; then
  728. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  729. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  730. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  731. fi
  732. # Have a temporary directory for convenience. Make it in the build tree
  733. # simply because there is no reason against having it here, and in addition,
  734. # creating and moving files from /tmp can sometimes cause problems.
  735. # Hook for its removal unless debugging.
  736. # Note that there is a small window in which the directory will not be cleaned:
  737. # after its creation but before its name has been assigned to `$tmp'.
  738. $debug ||
  739. {
  740. tmp=
  741. trap 'exit_status=$?
  742. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  743. ' 0
  744. trap 'as_fn_exit 1' 1 2 13 15
  745. }
  746. # Create a (secure) tmp directory for tmp files.
  747. {
  748. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  749. test -n "$tmp" && test -d "$tmp"
  750. } ||
  751. {
  752. tmp=./conf$$-$RANDOM
  753. (umask 077 && mkdir "$tmp")
  754. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  755. # Set up the scripts for CONFIG_FILES section.
  756. # No need to generate them if there are no CONFIG_FILES.
  757. # This happens for instance with `./config.status config.h'.
  758. if test -n "$CONFIG_FILES"; then
  759. ac_cr=`echo X | tr X '\015'`
  760. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  761. # But we know of no other shell where ac_cr would be empty at this
  762. # point, so we can use a bashism as a fallback.
  763. if test "x$ac_cr" = x; then
  764. eval ac_cr=\$\'\\r\'
  765. fi
  766. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  767. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  768. ac_cs_awk_cr='\r'
  769. else
  770. ac_cs_awk_cr=$ac_cr
  771. fi
  772. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  773. cat >>"$tmp/subs1.awk" <<\_ACAWK &&
  774. S["am__EXEEXT_FALSE"]=""
  775. S["am__EXEEXT_TRUE"]="#"
  776. S["LTLIBOBJS"]=""
  777. S["LIBOBJS"]=""
  778. S["BUILD_NUTCONF_GUI_FALSE"]="#"
  779. S["BUILD_NUTCONF_GUI_TRUE"]=""
  780. S["NUTCONF_LIBS"]="-llua -lm"
  781. S["NUTCONF_CFLAGS"]=""
  782. S["PKG_CONFIG"]="/usr/bin/pkg-config"
  783. S["CXXCPP"]="g++ -E"
  784. S["OTOOL64"]=""
  785. S["OTOOL"]=""
  786. S["LIPO"]=""
  787. S["NMEDIT"]=""
  788. S["DSYMUTIL"]=""
  789. S["lt_ECHO"]="echo"
  790. S["RANLIB"]="ranlib"
  791. S["AR"]="ar"
  792. S["OBJDUMP"]="objdump"
  793. S["LN_S"]="ln"
  794. S["NM"]="/usr/bin/nm -B"
  795. S["ac_ct_DUMPBIN"]=""
  796. S["DUMPBIN"]=""
  797. S["LD"]="/usr/lib/hardening-wrapper/bin/ld -m elf_x86_64"
  798. S["FGREP"]="/usr/bin/grep -F"
  799. S["EGREP"]="/usr/bin/grep -E"
  800. S["GREP"]="/usr/bin/grep"
  801. S["SED"]="/usr/bin/sed"
  802. S["host_os"]="linux-gnu"
  803. S["host_vendor"]="unknown"
  804. S["host_cpu"]="x86_64"
  805. S["host"]="x86_64-unknown-linux-gnu"
  806. S["build_os"]="linux-gnu"
  807. S["build_vendor"]="unknown"
  808. S["build_cpu"]="x86_64"
  809. S["build"]="x86_64-unknown-linux-gnu"
  810. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  811. S["am__fastdepCXX_FALSE"]="#"
  812. S["am__fastdepCXX_TRUE"]=""
  813. S["CXXDEPMODE"]="depmode=gcc3"
  814. S["ac_ct_CXX"]="g++"
  815. S["CXXFLAGS"]="-g -O2"
  816. S["CXX"]="g++"
  817. S["CPP"]="gcc -E"
  818. S["WX_LIBS"]="-pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_webview-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0"\
  819. " -lwx_baseu_net-3.0 -lwx_baseu-3.0 "
  820. S["WX_CXXFLAGS"]="-I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread"
  821. S["WX_CPPFLAGS"]="-I/usr/lib/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__"
  822. S["am__fastdepCC_FALSE"]="#"
  823. S["am__fastdepCC_TRUE"]=""
  824. S["CCDEPMODE"]="depmode=gcc3"
  825. S["AMDEPBACKSLASH"]="\\"
  826. S["AMDEP_FALSE"]="#"
  827. S["AMDEP_TRUE"]=""
  828. S["am__quote"]=""
  829. S["am__include"]="include"
  830. S["DEPDIR"]=".deps"
  831. S["OBJEXT"]="o"
  832. S["EXEEXT"]=""
  833. S["ac_ct_CC"]="gcc"
  834. S["CPPFLAGS"]=""
  835. S["LDFLAGS"]=""
  836. S["CFLAGS"]="-g -O2"
  837. S["CC"]="gcc"
  838. S["MAINT"]="#"
  839. S["MAINTAINER_MODE_FALSE"]=""
  840. S["MAINTAINER_MODE_TRUE"]="#"
  841. S["am__untar"]="${AMTAR} xf -"
  842. S["am__tar"]="${AMTAR} chof - \"$$tardir\""
  843. S["AMTAR"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf/missing\" --run tar"
  844. S["am__leading_dot"]="."
  845. S["SET_MAKE"]=""
  846. S["AWK"]="gawk"
  847. S["mkdir_p"]="/usr/bin/mkdir -p"
  848. S["MKDIR_P"]="/usr/bin/mkdir -p"
  849. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  850. S["STRIP"]="strip"
  851. S["install_sh"]="${SHELL} '/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf/install-sh'"
  852. S["MAKEINFO"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf/missing\" --run makeinfo"
  853. S["AUTOHEADER"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf/missing\" --run autoheader"
  854. S["AUTOMAKE"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf/missing\" --run automake-1.11"
  855. S["AUTOCONF"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf/missing\" --run autoconf"
  856. S["ACLOCAL"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutconf/missing\" --run aclocal-1.11"
  857. S["VERSION"]="2.0.10"
  858. S["PACKAGE"]="nutconf"
  859. S["CYGPATH_W"]="echo"
  860. S["am__isrc"]=""
  861. S["INSTALL_DATA"]="${INSTALL} -m 644"
  862. S["INSTALL_SCRIPT"]="${INSTALL}"
  863. S["INSTALL_PROGRAM"]="${INSTALL}"
  864. S["AM_BACKSLASH"]="\\"
  865. S["AM_DEFAULT_VERBOSITY"]="0"
  866. S["target_alias"]=""
  867. S["host_alias"]=""
  868. S["build_alias"]=""
  869. S["LIBS"]=""
  870. S["ECHO_T"]=""
  871. S["ECHO_N"]="-n"
  872. S["ECHO_C"]=""
  873. S["DEFS"]="-DHAVE_CONFIG_H"
  874. S["mandir"]="${datarootdir}/man"
  875. S["localedir"]="${datarootdir}/locale"
  876. S["libdir"]="${exec_prefix}/lib"
  877. S["psdir"]="${docdir}"
  878. S["pdfdir"]="${docdir}"
  879. S["dvidir"]="${docdir}"
  880. S["htmldir"]="${docdir}"
  881. S["infodir"]="${datarootdir}/info"
  882. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  883. S["oldincludedir"]="/usr/include"
  884. S["includedir"]="${prefix}/include"
  885. S["localstatedir"]="${prefix}/var"
  886. S["sharedstatedir"]="${prefix}/com"
  887. S["sysconfdir"]="${prefix}/etc"
  888. S["datadir"]="${datarootdir}"
  889. S["datarootdir"]="${prefix}/share"
  890. S["libexecdir"]="${exec_prefix}/libexec"
  891. S["sbindir"]="${exec_prefix}/sbin"
  892. S["bindir"]="${exec_prefix}/bin"
  893. S["program_transform_name"]="s,x,x,"
  894. S["prefix"]="/usr/local"
  895. S["exec_prefix"]="${prefix}"
  896. S["PACKAGE_URL"]=""
  897. S["PACKAGE_BUGREPORT"]=""
  898. S["PACKAGE_STRING"]="nutconf 2.0.10"
  899. S["PACKAGE_VERSION"]="2.0.10"
  900. S["PACKAGE_TARNAME"]="nutconf"
  901. S["PACKAGE_NAME"]="nutconf"
  902. S["PATH_SEPARATOR"]=":"
  903. S["SHELL"]="/bin/sh"
  904. _ACAWK
  905. cat >>"$tmp/subs1.awk" <<_ACAWK &&
  906. for (key in S) S_is_set[key] = 1
  907. FS = ""
  908. }
  909. {
  910. line = $ 0
  911. nfields = split(line, field, "@")
  912. substed = 0
  913. len = length(field[1])
  914. for (i = 2; i < nfields; i++) {
  915. key = field[i]
  916. keylen = length(key)
  917. if (S_is_set[key]) {
  918. value = S[key]
  919. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  920. len += length(value) + length(field[++i])
  921. substed = 1
  922. } else
  923. len += 1 + keylen
  924. }
  925. print line
  926. }
  927. _ACAWK
  928. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  929. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  930. else
  931. cat
  932. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  933. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  934. fi # test -n "$CONFIG_FILES"
  935. # Set up the scripts for CONFIG_HEADERS section.
  936. # No need to generate them if there are no CONFIG_HEADERS.
  937. # This happens for instance with `./config.status Makefile'.
  938. if test -n "$CONFIG_HEADERS"; then
  939. cat >"$tmp/defines.awk" <<\_ACAWK ||
  940. BEGIN {
  941. D["PACKAGE_NAME"]=" \"nutconf\""
  942. D["PACKAGE_TARNAME"]=" \"nutconf\""
  943. D["PACKAGE_VERSION"]=" \"2.0.10\""
  944. D["PACKAGE_STRING"]=" \"nutconf 2.0.10\""
  945. D["PACKAGE_BUGREPORT"]=" \"\""
  946. D["PACKAGE_URL"]=" \"\""
  947. D["PACKAGE"]=" \"nutconf\""
  948. D["VERSION"]=" \"2.0.10\""
  949. D["STDC_HEADERS"]=" 1"
  950. D["HAVE_SYS_TYPES_H"]=" 1"
  951. D["HAVE_SYS_STAT_H"]=" 1"
  952. D["HAVE_STDLIB_H"]=" 1"
  953. D["HAVE_STRING_H"]=" 1"
  954. D["HAVE_MEMORY_H"]=" 1"
  955. D["HAVE_STRINGS_H"]=" 1"
  956. D["HAVE_INTTYPES_H"]=" 1"
  957. D["HAVE_STDINT_H"]=" 1"
  958. D["HAVE_UNISTD_H"]=" 1"
  959. D["HAVE_DLFCN_H"]=" 1"
  960. D["LT_OBJDIR"]=" \".libs/\""
  961. for (key in D) D_is_set[key] = 1
  962. FS = ""
  963. }
  964. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  965. line = $ 0
  966. split(line, arg, " ")
  967. if (arg[1] == "#") {
  968. defundef = arg[2]
  969. mac1 = arg[3]
  970. } else {
  971. defundef = substr(arg[1], 2)
  972. mac1 = arg[2]
  973. }
  974. split(mac1, mac2, "(") #)
  975. macro = mac2[1]
  976. prefix = substr(line, 1, index(line, defundef) - 1)
  977. if (D_is_set[macro]) {
  978. # Preserve the white space surrounding the "#".
  979. print prefix "define", macro P[macro] D[macro]
  980. next
  981. } else {
  982. # Replace #undef with comments. This is necessary, for example,
  983. # in the case of _POSIX_SOURCE, which is predefined and required
  984. # on some systems where configure will not decide to define it.
  985. if (defundef == "undef") {
  986. print "/*", prefix defundef, macro, "*/"
  987. next
  988. }
  989. }
  990. }
  991. { print }
  992. _ACAWK
  993. as_fn_error "could not setup config headers machinery" "$LINENO" 5
  994. fi # test -n "$CONFIG_HEADERS"
  995. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  996. shift
  997. for ac_tag
  998. do
  999. case $ac_tag in
  1000. :[FHLC]) ac_mode=$ac_tag; continue;;
  1001. esac
  1002. case $ac_mode$ac_tag in
  1003. :[FHL]*:*);;
  1004. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1005. :[FH]-) ac_tag=-:-;;
  1006. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1007. esac
  1008. ac_save_IFS=$IFS
  1009. IFS=:
  1010. set x $ac_tag
  1011. IFS=$ac_save_IFS
  1012. shift
  1013. ac_file=$1
  1014. shift
  1015. case $ac_mode in
  1016. :L) ac_source=$1;;
  1017. :[FH])
  1018. ac_file_inputs=
  1019. for ac_f
  1020. do
  1021. case $ac_f in
  1022. -) ac_f="$tmp/stdin";;
  1023. *) # Look for the file first in the build tree, then in the source tree
  1024. # (if the path is not absolute). The absolute path cannot be DOS-style,
  1025. # because $ac_f cannot contain `:'.
  1026. test -f "$ac_f" ||
  1027. case $ac_f in
  1028. [\\/$]*) false;;
  1029. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1030. esac ||
  1031. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1032. esac
  1033. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1034. as_fn_append ac_file_inputs " '$ac_f'"
  1035. done
  1036. # Let's still pretend it is `configure' which instantiates (i.e., don't
  1037. # use $as_me), people would be surprised to read:
  1038. # /* config.h. Generated by config.status. */
  1039. configure_input='Generated from '`
  1040. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1041. `' by configure.'
  1042. if test x"$ac_file" != x-; then
  1043. configure_input="$ac_file. $configure_input"
  1044. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1045. $as_echo "$as_me: creating $ac_file" >&6;}
  1046. fi
  1047. # Neutralize special characters interpreted by sed in replacement strings.
  1048. case $configure_input in #(
  1049. *\&* | *\|* | *\\* )
  1050. ac_sed_conf_input=`$as_echo "$configure_input" |
  1051. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1052. *) ac_sed_conf_input=$configure_input;;
  1053. esac
  1054. case $ac_tag in
  1055. *:-:* | *:-) cat >"$tmp/stdin" \
  1056. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  1057. esac
  1058. ;;
  1059. esac
  1060. ac_dir=`$as_dirname -- "$ac_file" ||
  1061. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1062. X"$ac_file" : 'X\(//\)[^/]' \| \
  1063. X"$ac_file" : 'X\(//\)$' \| \
  1064. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1065. $as_echo X"$ac_file" |
  1066. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1067. s//\1/
  1068. q
  1069. }
  1070. /^X\(\/\/\)[^/].*/{
  1071. s//\1/
  1072. q
  1073. }
  1074. /^X\(\/\/\)$/{
  1075. s//\1/
  1076. q
  1077. }
  1078. /^X\(\/\).*/{
  1079. s//\1/
  1080. q
  1081. }
  1082. s/.*/./; q'`
  1083. as_dir="$ac_dir"; as_fn_mkdir_p
  1084. ac_builddir=.
  1085. case "$ac_dir" in
  1086. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1087. *)
  1088. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1089. # A ".." for each directory in $ac_dir_suffix.
  1090. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1091. case $ac_top_builddir_sub in
  1092. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1093. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1094. esac ;;
  1095. esac
  1096. ac_abs_top_builddir=$ac_pwd
  1097. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1098. # for backward compatibility:
  1099. ac_top_builddir=$ac_top_build_prefix
  1100. case $srcdir in
  1101. .) # We are building in place.
  1102. ac_srcdir=.
  1103. ac_top_srcdir=$ac_top_builddir_sub
  1104. ac_abs_top_srcdir=$ac_pwd ;;
  1105. [\\/]* | ?:[\\/]* ) # Absolute name.
  1106. ac_srcdir=$srcdir$ac_dir_suffix;
  1107. ac_top_srcdir=$srcdir
  1108. ac_abs_top_srcdir=$srcdir ;;
  1109. *) # Relative name.
  1110. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1111. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1112. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1113. esac
  1114. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1115. case $ac_mode in
  1116. :F)
  1117. #
  1118. # CONFIG_FILE
  1119. #
  1120. case $INSTALL in
  1121. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1122. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1123. esac
  1124. ac_MKDIR_P=$MKDIR_P
  1125. case $MKDIR_P in
  1126. [\\/$]* | ?:[\\/]* ) ;;
  1127. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  1128. esac
  1129. # If the template does not know about datarootdir, expand it.
  1130. # FIXME: This hack should be removed a few years after 2.60.
  1131. ac_datarootdir_hack=; ac_datarootdir_seen=
  1132. ac_sed_dataroot='
  1133. /datarootdir/ {
  1134. p
  1135. q
  1136. }
  1137. /@datadir@/p
  1138. /@docdir@/p
  1139. /@infodir@/p
  1140. /@localedir@/p
  1141. /@mandir@/p'
  1142. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1143. *datarootdir*) ac_datarootdir_seen=yes;;
  1144. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1145. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1146. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1147. ac_datarootdir_hack='
  1148. s&@datadir@&${datarootdir}&g
  1149. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1150. s&@infodir@&${datarootdir}/info&g
  1151. s&@localedir@&${datarootdir}/locale&g
  1152. s&@mandir@&${datarootdir}/man&g
  1153. s&\${datarootdir}&${prefix}/share&g' ;;
  1154. esac
  1155. ac_sed_extra="/^[ ]*VPATH[ ]*=/{
  1156. s/:*\$(srcdir):*/:/
  1157. s/:*\${srcdir}:*/:/
  1158. s/:*@srcdir@:*/:/
  1159. s/^\([^=]*=[ ]*\):*/\1/
  1160. s/:*$//
  1161. s/^[^=]*=[ ]*$//
  1162. }
  1163. :t
  1164. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1165. s|@configure_input@|$ac_sed_conf_input|;t t
  1166. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1167. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1168. s&@srcdir@&$ac_srcdir&;t t
  1169. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1170. s&@top_srcdir@&$ac_top_srcdir&;t t
  1171. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1172. s&@builddir@&$ac_builddir&;t t
  1173. s&@abs_builddir@&$ac_abs_builddir&;t t
  1174. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1175. s&@INSTALL@&$ac_INSTALL&;t t
  1176. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1177. $ac_datarootdir_hack
  1178. "
  1179. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  1180. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1181. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1182. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1183. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1184. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1185. which seems to be undefined. Please make sure it is defined." >&5
  1186. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1187. which seems to be undefined. Please make sure it is defined." >&2;}
  1188. rm -f "$tmp/stdin"
  1189. case $ac_file in
  1190. -) cat "$tmp/out" && rm -f "$tmp/out";;
  1191. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  1192. esac \
  1193. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1194. ;;
  1195. :H)
  1196. #
  1197. # CONFIG_HEADER
  1198. #
  1199. if test x"$ac_file" != x-; then
  1200. {
  1201. $as_echo "/* $configure_input */" \
  1202. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  1203. } >"$tmp/config.h" \
  1204. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1205. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  1206. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1207. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1208. else
  1209. rm -f "$ac_file"
  1210. mv "$tmp/config.h" "$ac_file" \
  1211. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1212. fi
  1213. else
  1214. $as_echo "/* $configure_input */" \
  1215. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  1216. || as_fn_error "could not create -" "$LINENO" 5
  1217. fi
  1218. # Compute "$ac_file"'s index in $config_headers.
  1219. _am_arg="$ac_file"
  1220. _am_stamp_count=1
  1221. for _am_header in $config_headers :; do
  1222. case $_am_header in
  1223. $_am_arg | $_am_arg:* )
  1224. break ;;
  1225. * )
  1226. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1227. esac
  1228. done
  1229. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1230. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1231. X"$_am_arg" : 'X\(//\)[^/]' \| \
  1232. X"$_am_arg" : 'X\(//\)$' \| \
  1233. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1234. $as_echo X"$_am_arg" |
  1235. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1236. s//\1/
  1237. q
  1238. }
  1239. /^X\(\/\/\)[^/].*/{
  1240. s//\1/
  1241. q
  1242. }
  1243. /^X\(\/\/\)$/{
  1244. s//\1/
  1245. q
  1246. }
  1247. /^X\(\/\).*/{
  1248. s//\1/
  1249. q
  1250. }
  1251. s/.*/./; q'`/stamp-h$_am_stamp_count
  1252. ;;
  1253. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1254. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1255. ;;
  1256. esac
  1257. case $ac_file$ac_mode in
  1258. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1259. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  1260. # are listed without --file. Let's play safe and only enable the eval
  1261. # if we detect the quoting.
  1262. case $CONFIG_FILES in
  1263. *\'*) eval set x "$CONFIG_FILES" ;;
  1264. *) set x $CONFIG_FILES ;;
  1265. esac
  1266. shift
  1267. for mf
  1268. do
  1269. # Strip MF so we end up with the name of the file.
  1270. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1271. # Check whether this is an Automake generated Makefile or not.
  1272. # We used to match only the files named `Makefile.in', but
  1273. # some people rename them; so instead we look at the file content.
  1274. # Grep'ing the first line is not enough: some people post-process
  1275. # each Makefile.in and add a new line on top of each file to say so.
  1276. # Grep'ing the whole file is not good either: AIX grep has a line
  1277. # limit of 2048, but all sed's we know have understand at least 4000.
  1278. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1279. dirpart=`$as_dirname -- "$mf" ||
  1280. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1281. X"$mf" : 'X\(//\)[^/]' \| \
  1282. X"$mf" : 'X\(//\)$' \| \
  1283. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1284. $as_echo X"$mf" |
  1285. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1286. s//\1/
  1287. q
  1288. }
  1289. /^X\(\/\/\)[^/].*/{
  1290. s//\1/
  1291. q
  1292. }
  1293. /^X\(\/\/\)$/{
  1294. s//\1/
  1295. q
  1296. }
  1297. /^X\(\/\).*/{
  1298. s//\1/
  1299. q
  1300. }
  1301. s/.*/./; q'`
  1302. else
  1303. continue
  1304. fi
  1305. # Extract the definition of DEPDIR, am__include, and am__quote
  1306. # from the Makefile without running `make'.
  1307. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1308. test -z "$DEPDIR" && continue
  1309. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1310. test -z "am__include" && continue
  1311. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1312. # When using ansi2knr, U may be empty or an underscore; expand it
  1313. U=`sed -n 's/^U = //p' < "$mf"`
  1314. # Find all dependency output files, they are included files with
  1315. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1316. # simplest approach to changing $(DEPDIR) to its actual value in the
  1317. # expansion.
  1318. for file in `sed -n "
  1319. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1320. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  1321. # Make sure the directory exists.
  1322. test -f "$dirpart/$file" && continue
  1323. fdir=`$as_dirname -- "$file" ||
  1324. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1325. X"$file" : 'X\(//\)[^/]' \| \
  1326. X"$file" : 'X\(//\)$' \| \
  1327. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1328. $as_echo X"$file" |
  1329. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1330. s//\1/
  1331. q
  1332. }
  1333. /^X\(\/\/\)[^/].*/{
  1334. s//\1/
  1335. q
  1336. }
  1337. /^X\(\/\/\)$/{
  1338. s//\1/
  1339. q
  1340. }
  1341. /^X\(\/\).*/{
  1342. s//\1/
  1343. q
  1344. }
  1345. s/.*/./; q'`
  1346. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1347. # echo "creating $dirpart/$file"
  1348. echo '# dummy' > "$dirpart/$file"
  1349. done
  1350. done
  1351. }
  1352. ;;
  1353. "libtool":C)
  1354. # See if we are running on zsh, and set the options which allow our
  1355. # commands through without removal of \ escapes.
  1356. if test -n "${ZSH_VERSION+set}" ; then
  1357. setopt NO_GLOB_SUBST
  1358. fi
  1359. cfgfile="${ofile}T"
  1360. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1361. $RM "$cfgfile"
  1362. cat <<_LT_EOF >> "$cfgfile"
  1363. #! $SHELL
  1364. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  1365. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1366. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1367. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1368. #
  1369. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  1370. # 2006, 2007, 2008 Free Software Foundation, Inc.
  1371. # Written by Gordon Matzigkeit, 1996
  1372. #
  1373. # This file is part of GNU Libtool.
  1374. #
  1375. # GNU Libtool is free software; you can redistribute it and/or
  1376. # modify it under the terms of the GNU General Public License as
  1377. # published by the Free Software Foundation; either version 2 of
  1378. # the License, or (at your option) any later version.
  1379. #
  1380. # As a special exception to the GNU General Public License,
  1381. # if you distribute this file as part of a program or library that
  1382. # is built using GNU Libtool, you may include this file under the
  1383. # same distribution terms that you use for the rest of that program.
  1384. #
  1385. # GNU Libtool is distributed in the hope that it will be useful,
  1386. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1387. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1388. # GNU General Public License for more details.
  1389. #
  1390. # You should have received a copy of the GNU General Public License
  1391. # along with GNU Libtool; see the file COPYING. If not, a copy
  1392. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  1393. # obtained by writing to the Free Software Foundation, Inc.,
  1394. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  1395. # The names of the tagged configurations supported by this script.
  1396. available_tags="CXX "
  1397. # ### BEGIN LIBTOOL CONFIG
  1398. # Which release of libtool.m4 was used?
  1399. macro_version=$macro_version
  1400. macro_revision=$macro_revision
  1401. # Whether or not to build shared libraries.
  1402. build_libtool_libs=$enable_shared
  1403. # Whether or not to build static libraries.
  1404. build_old_libs=$enable_static
  1405. # What type of objects to build.
  1406. pic_mode=$pic_mode
  1407. # Whether or not to optimize for fast installation.
  1408. fast_install=$enable_fast_install
  1409. # The host system.
  1410. host_alias=$host_alias
  1411. host=$host
  1412. host_os=$host_os
  1413. # The build system.
  1414. build_alias=$build_alias
  1415. build=$build
  1416. build_os=$build_os
  1417. # A sed program that does not truncate output.
  1418. SED=$lt_SED
  1419. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1420. Xsed="\$SED -e 1s/^X//"
  1421. # A grep program that handles long lines.
  1422. GREP=$lt_GREP
  1423. # An ERE matcher.
  1424. EGREP=$lt_EGREP
  1425. # A literal string matcher.
  1426. FGREP=$lt_FGREP
  1427. # A BSD- or MS-compatible name lister.
  1428. NM=$lt_NM
  1429. # Whether we need soft or hard links.
  1430. LN_S=$lt_LN_S
  1431. # What is the maximum length of a command?
  1432. max_cmd_len=$max_cmd_len
  1433. # Object file suffix (normally "o").
  1434. objext=$ac_objext
  1435. # Executable file suffix (normally "").
  1436. exeext=$exeext
  1437. # whether the shell understands "unset".
  1438. lt_unset=$lt_unset
  1439. # turn spaces into newlines.
  1440. SP2NL=$lt_lt_SP2NL
  1441. # turn newlines into spaces.
  1442. NL2SP=$lt_lt_NL2SP
  1443. # How to create reloadable object files.
  1444. reload_flag=$lt_reload_flag
  1445. reload_cmds=$lt_reload_cmds
  1446. # An object symbol dumper.
  1447. OBJDUMP=$lt_OBJDUMP
  1448. # Method to check whether dependent libraries are shared objects.
  1449. deplibs_check_method=$lt_deplibs_check_method
  1450. # Command to use when deplibs_check_method == "file_magic".
  1451. file_magic_cmd=$lt_file_magic_cmd
  1452. # The archiver.
  1453. AR=$lt_AR
  1454. AR_FLAGS=$lt_AR_FLAGS
  1455. # A symbol stripping program.
  1456. STRIP=$lt_STRIP
  1457. # Commands used to install an old-style archive.
  1458. RANLIB=$lt_RANLIB
  1459. old_postinstall_cmds=$lt_old_postinstall_cmds
  1460. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1461. # A C compiler.
  1462. LTCC=$lt_CC
  1463. # LTCC compiler flags.
  1464. LTCFLAGS=$lt_CFLAGS
  1465. # Take the output of nm and produce a listing of raw symbols and C names.
  1466. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1467. # Transform the output of nm in a proper C declaration.
  1468. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1469. # Transform the output of nm in a C name address pair.
  1470. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1471. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1472. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1473. # The name of the directory that contains temporary libtool files.
  1474. objdir=$objdir
  1475. # Shell to use when invoking shell scripts.
  1476. SHELL=$lt_SHELL
  1477. # An echo program that does not interpret backslashes.
  1478. ECHO=$lt_ECHO
  1479. # Used to examine libraries when file_magic_cmd begins with "file".
  1480. MAGIC_CMD=$MAGIC_CMD
  1481. # Must we lock files when doing compilation?
  1482. need_locks=$lt_need_locks
  1483. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1484. DSYMUTIL=$lt_DSYMUTIL
  1485. # Tool to change global to local symbols on Mac OS X.
  1486. NMEDIT=$lt_NMEDIT
  1487. # Tool to manipulate fat objects and archives on Mac OS X.
  1488. LIPO=$lt_LIPO
  1489. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1490. OTOOL=$lt_OTOOL
  1491. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1492. OTOOL64=$lt_OTOOL64
  1493. # Old archive suffix (normally "a").
  1494. libext=$libext
  1495. # Shared library suffix (normally ".so").
  1496. shrext_cmds=$lt_shrext_cmds
  1497. # The commands to extract the exported symbol list from a shared archive.
  1498. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1499. # Variables whose values should be saved in libtool wrapper scripts and
  1500. # restored at link time.
  1501. variables_saved_for_relink=$lt_variables_saved_for_relink
  1502. # Do we need the "lib" prefix for modules?
  1503. need_lib_prefix=$need_lib_prefix
  1504. # Do we need a version for libraries?
  1505. need_version=$need_version
  1506. # Library versioning type.
  1507. version_type=$version_type
  1508. # Shared library runtime path variable.
  1509. runpath_var=$runpath_var
  1510. # Shared library path variable.
  1511. shlibpath_var=$shlibpath_var
  1512. # Is shlibpath searched before the hard-coded library search path?
  1513. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1514. # Format of library name prefix.
  1515. libname_spec=$lt_libname_spec
  1516. # List of archive names. First name is the real one, the rest are links.
  1517. # The last name is the one that the linker finds with -lNAME
  1518. library_names_spec=$lt_library_names_spec
  1519. # The coded name of the library, if different from the real name.
  1520. soname_spec=$lt_soname_spec
  1521. # Command to use after installation of a shared archive.
  1522. postinstall_cmds=$lt_postinstall_cmds
  1523. # Command to use after uninstallation of a shared archive.
  1524. postuninstall_cmds=$lt_postuninstall_cmds
  1525. # Commands used to finish a libtool library installation in a directory.
  1526. finish_cmds=$lt_finish_cmds
  1527. # As "finish_cmds", except a single script fragment to be evaled but
  1528. # not shown.
  1529. finish_eval=$lt_finish_eval
  1530. # Whether we should hardcode library paths into libraries.
  1531. hardcode_into_libs=$hardcode_into_libs
  1532. # Compile-time system search path for libraries.
  1533. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1534. # Run-time system search path for libraries.
  1535. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  1536. # Whether dlopen is supported.
  1537. dlopen_support=$enable_dlopen
  1538. # Whether dlopen of programs is supported.
  1539. dlopen_self=$enable_dlopen_self
  1540. # Whether dlopen of statically linked programs is supported.
  1541. dlopen_self_static=$enable_dlopen_self_static
  1542. # Commands to strip libraries.
  1543. old_striplib=$lt_old_striplib
  1544. striplib=$lt_striplib
  1545. # The linker used to build libraries.
  1546. LD=$lt_LD
  1547. # Commands used to build an old-style archive.
  1548. old_archive_cmds=$lt_old_archive_cmds
  1549. # A language specific compiler.
  1550. CC=$lt_compiler
  1551. # Is the compiler the GNU compiler?
  1552. with_gcc=$GCC
  1553. # Compiler flag to turn off builtin functions.
  1554. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1555. # How to pass a linker flag through the compiler.
  1556. wl=$lt_lt_prog_compiler_wl
  1557. # Additional compiler flags for building library objects.
  1558. pic_flag=$lt_lt_prog_compiler_pic
  1559. # Compiler flag to prevent dynamic linking.
  1560. link_static_flag=$lt_lt_prog_compiler_static
  1561. # Does compiler simultaneously support -c and -o options?
  1562. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1563. # Whether or not to add -lc for building shared libraries.
  1564. build_libtool_need_lc=$archive_cmds_need_lc
  1565. # Whether or not to disallow shared libs when runtime libs are static.
  1566. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1567. # Compiler flag to allow reflexive dlopens.
  1568. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1569. # Compiler flag to generate shared objects directly from archives.
  1570. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1571. # Whether the compiler copes with passing no objects directly.
  1572. compiler_needs_object=$lt_compiler_needs_object
  1573. # Create an old-style archive from a shared archive.
  1574. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1575. # Create a temporary old-style archive to link instead of a shared archive.
  1576. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1577. # Commands used to build a shared archive.
  1578. archive_cmds=$lt_archive_cmds
  1579. archive_expsym_cmds=$lt_archive_expsym_cmds
  1580. # Commands used to build a loadable module if different from building
  1581. # a shared archive.
  1582. module_cmds=$lt_module_cmds
  1583. module_expsym_cmds=$lt_module_expsym_cmds
  1584. # Whether we are building with GNU ld or not.
  1585. with_gnu_ld=$lt_with_gnu_ld
  1586. # Flag that allows shared libraries with undefined symbols to be built.
  1587. allow_undefined_flag=$lt_allow_undefined_flag
  1588. # Flag that enforces no undefined symbols.
  1589. no_undefined_flag=$lt_no_undefined_flag
  1590. # Flag to hardcode \$libdir into a binary during linking.
  1591. # This must work even if \$libdir does not exist
  1592. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1593. # If ld is used when linking, flag to hardcode \$libdir into a binary
  1594. # during linking. This must work even if \$libdir does not exist.
  1595. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  1596. # Whether we need a single "-rpath" flag with a separated argument.
  1597. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1598. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1599. # DIR into the resulting binary.
  1600. hardcode_direct=$hardcode_direct
  1601. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1602. # DIR into the resulting binary and the resulting library dependency is
  1603. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1604. # library is relocated.
  1605. hardcode_direct_absolute=$hardcode_direct_absolute
  1606. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1607. # into the resulting binary.
  1608. hardcode_minus_L=$hardcode_minus_L
  1609. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1610. # into the resulting binary.
  1611. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1612. # Set to "yes" if building a shared library automatically hardcodes DIR
  1613. # into the library and all subsequent libraries and executables linked
  1614. # against it.
  1615. hardcode_automatic=$hardcode_automatic
  1616. # Set to yes if linker adds runtime paths of dependent libraries
  1617. # to runtime path list.
  1618. inherit_rpath=$inherit_rpath
  1619. # Whether libtool must link a program against all its dependency libraries.
  1620. link_all_deplibs=$link_all_deplibs
  1621. # Fix the shell variable \$srcfile for the compiler.
  1622. fix_srcfile_path=$lt_fix_srcfile_path
  1623. # Set to "yes" if exported symbols are required.
  1624. always_export_symbols=$always_export_symbols
  1625. # The commands to list exported symbols.
  1626. export_symbols_cmds=$lt_export_symbols_cmds
  1627. # Symbols that should not be listed in the preloaded symbols.
  1628. exclude_expsyms=$lt_exclude_expsyms
  1629. # Symbols that must always be exported.
  1630. include_expsyms=$lt_include_expsyms
  1631. # Commands necessary for linking programs (against libraries) with templates.
  1632. prelink_cmds=$lt_prelink_cmds
  1633. # Specify filename containing input files.
  1634. file_list_spec=$lt_file_list_spec
  1635. # How to hardcode a shared library path into an executable.
  1636. hardcode_action=$hardcode_action
  1637. # The directories searched by this compiler when creating a shared library.
  1638. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  1639. # Dependencies to place before and after the objects being linked to
  1640. # create a shared library.
  1641. predep_objects=$lt_predep_objects
  1642. postdep_objects=$lt_postdep_objects
  1643. predeps=$lt_predeps
  1644. postdeps=$lt_postdeps
  1645. # The library search path used internally by the compiler when linking
  1646. # a shared library.
  1647. compiler_lib_search_path=$lt_compiler_lib_search_path
  1648. # ### END LIBTOOL CONFIG
  1649. _LT_EOF
  1650. case $host_os in
  1651. aix3*)
  1652. cat <<\_LT_EOF >> "$cfgfile"
  1653. # AIX sometimes has problems with the GCC collect2 program. For some
  1654. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1655. # vanish in a puff of smoke.
  1656. if test "X${COLLECT_NAMES+set}" != Xset; then
  1657. COLLECT_NAMES=
  1658. export COLLECT_NAMES
  1659. fi
  1660. _LT_EOF
  1661. ;;
  1662. esac
  1663. ltmain="$ac_aux_dir/ltmain.sh"
  1664. # We use sed instead of cat because bash on DJGPP gets confused if
  1665. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  1666. # text mode, it properly converts lines to CR/LF. This bash problem
  1667. # is reportedly fixed, but why not run on old versions too?
  1668. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  1669. || (rm -f "$cfgfile"; exit 1)
  1670. case $xsi_shell in
  1671. yes)
  1672. cat << \_LT_EOF >> "$cfgfile"
  1673. # func_dirname file append nondir_replacement
  1674. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  1675. # otherwise set result to NONDIR_REPLACEMENT.
  1676. func_dirname ()
  1677. {
  1678. case ${1} in
  1679. */*) func_dirname_result="${1%/*}${2}" ;;
  1680. * ) func_dirname_result="${3}" ;;
  1681. esac
  1682. }
  1683. # func_basename file
  1684. func_basename ()
  1685. {
  1686. func_basename_result="${1##*/}"
  1687. }
  1688. # func_dirname_and_basename file append nondir_replacement
  1689. # perform func_basename and func_dirname in a single function
  1690. # call:
  1691. # dirname: Compute the dirname of FILE. If nonempty,
  1692. # add APPEND to the result, otherwise set result
  1693. # to NONDIR_REPLACEMENT.
  1694. # value returned in "$func_dirname_result"
  1695. # basename: Compute filename of FILE.
  1696. # value retuned in "$func_basename_result"
  1697. # Implementation must be kept synchronized with func_dirname
  1698. # and func_basename. For efficiency, we do not delegate to
  1699. # those functions but instead duplicate the functionality here.
  1700. func_dirname_and_basename ()
  1701. {
  1702. case ${1} in
  1703. */*) func_dirname_result="${1%/*}${2}" ;;
  1704. * ) func_dirname_result="${3}" ;;
  1705. esac
  1706. func_basename_result="${1##*/}"
  1707. }
  1708. # func_stripname prefix suffix name
  1709. # strip PREFIX and SUFFIX off of NAME.
  1710. # PREFIX and SUFFIX must not contain globbing or regex special
  1711. # characters, hashes, percent signs, but SUFFIX may contain a leading
  1712. # dot (in which case that matches only a dot).
  1713. func_stripname ()
  1714. {
  1715. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  1716. # positional parameters, so assign one to ordinary parameter first.
  1717. func_stripname_result=${3}
  1718. func_stripname_result=${func_stripname_result#"${1}"}
  1719. func_stripname_result=${func_stripname_result%"${2}"}
  1720. }
  1721. # func_opt_split
  1722. func_opt_split ()
  1723. {
  1724. func_opt_split_opt=${1%%=*}
  1725. func_opt_split_arg=${1#*=}
  1726. }
  1727. # func_lo2o object
  1728. func_lo2o ()
  1729. {
  1730. case ${1} in
  1731. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  1732. *) func_lo2o_result=${1} ;;
  1733. esac
  1734. }
  1735. # func_xform libobj-or-source
  1736. func_xform ()
  1737. {
  1738. func_xform_result=${1%.*}.lo
  1739. }
  1740. # func_arith arithmetic-term...
  1741. func_arith ()
  1742. {
  1743. func_arith_result=$(( $* ))
  1744. }
  1745. # func_len string
  1746. # STRING may not start with a hyphen.
  1747. func_len ()
  1748. {
  1749. func_len_result=${#1}
  1750. }
  1751. _LT_EOF
  1752. ;;
  1753. *) # Bourne compatible functions.
  1754. cat << \_LT_EOF >> "$cfgfile"
  1755. # func_dirname file append nondir_replacement
  1756. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  1757. # otherwise set result to NONDIR_REPLACEMENT.
  1758. func_dirname ()
  1759. {
  1760. # Extract subdirectory from the argument.
  1761. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  1762. if test "X$func_dirname_result" = "X${1}"; then
  1763. func_dirname_result="${3}"
  1764. else
  1765. func_dirname_result="$func_dirname_result${2}"
  1766. fi
  1767. }
  1768. # func_basename file
  1769. func_basename ()
  1770. {
  1771. func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  1772. }
  1773. # func_stripname prefix suffix name
  1774. # strip PREFIX and SUFFIX off of NAME.
  1775. # PREFIX and SUFFIX must not contain globbing or regex special
  1776. # characters, hashes, percent signs, but SUFFIX may contain a leading
  1777. # dot (in which case that matches only a dot).
  1778. # func_strip_suffix prefix name
  1779. func_stripname ()
  1780. {
  1781. case ${2} in
  1782. .*) func_stripname_result=`$ECHO "X${3}" \
  1783. | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  1784. *) func_stripname_result=`$ECHO "X${3}" \
  1785. | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  1786. esac
  1787. }
  1788. # sed scripts:
  1789. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  1790. my_sed_long_arg='1s/^-[^=]*=//'
  1791. # func_opt_split
  1792. func_opt_split ()
  1793. {
  1794. func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  1795. func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  1796. }
  1797. # func_lo2o object
  1798. func_lo2o ()
  1799. {
  1800. func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  1801. }
  1802. # func_xform libobj-or-source
  1803. func_xform ()
  1804. {
  1805. func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  1806. }
  1807. # func_arith arithmetic-term...
  1808. func_arith ()
  1809. {
  1810. func_arith_result=`expr "$@"`
  1811. }
  1812. # func_len string
  1813. # STRING may not start with a hyphen.
  1814. func_len ()
  1815. {
  1816. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  1817. }
  1818. _LT_EOF
  1819. esac
  1820. case $lt_shell_append in
  1821. yes)
  1822. cat << \_LT_EOF >> "$cfgfile"
  1823. # func_append var value
  1824. # Append VALUE to the end of shell variable VAR.
  1825. func_append ()
  1826. {
  1827. eval "$1+=\$2"
  1828. }
  1829. _LT_EOF
  1830. ;;
  1831. *)
  1832. cat << \_LT_EOF >> "$cfgfile"
  1833. # func_append var value
  1834. # Append VALUE to the end of shell variable VAR.
  1835. func_append ()
  1836. {
  1837. eval "$1=\$$1\$2"
  1838. }
  1839. _LT_EOF
  1840. ;;
  1841. esac
  1842. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  1843. || (rm -f "$cfgfile"; exit 1)
  1844. mv -f "$cfgfile" "$ofile" ||
  1845. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  1846. chmod +x "$ofile"
  1847. cat <<_LT_EOF >> "$ofile"
  1848. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  1849. # The linker used to build libraries.
  1850. LD=$lt_LD_CXX
  1851. # Commands used to build an old-style archive.
  1852. old_archive_cmds=$lt_old_archive_cmds_CXX
  1853. # A language specific compiler.
  1854. CC=$lt_compiler_CXX
  1855. # Is the compiler the GNU compiler?
  1856. with_gcc=$GCC_CXX
  1857. # Compiler flag to turn off builtin functions.
  1858. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  1859. # How to pass a linker flag through the compiler.
  1860. wl=$lt_lt_prog_compiler_wl_CXX
  1861. # Additional compiler flags for building library objects.
  1862. pic_flag=$lt_lt_prog_compiler_pic_CXX
  1863. # Compiler flag to prevent dynamic linking.
  1864. link_static_flag=$lt_lt_prog_compiler_static_CXX
  1865. # Does compiler simultaneously support -c and -o options?
  1866. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  1867. # Whether or not to add -lc for building shared libraries.
  1868. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  1869. # Whether or not to disallow shared libs when runtime libs are static.
  1870. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  1871. # Compiler flag to allow reflexive dlopens.
  1872. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  1873. # Compiler flag to generate shared objects directly from archives.
  1874. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  1875. # Whether the compiler copes with passing no objects directly.
  1876. compiler_needs_object=$lt_compiler_needs_object_CXX
  1877. # Create an old-style archive from a shared archive.
  1878. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  1879. # Create a temporary old-style archive to link instead of a shared archive.
  1880. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  1881. # Commands used to build a shared archive.
  1882. archive_cmds=$lt_archive_cmds_CXX
  1883. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  1884. # Commands used to build a loadable module if different from building
  1885. # a shared archive.
  1886. module_cmds=$lt_module_cmds_CXX
  1887. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  1888. # Whether we are building with GNU ld or not.
  1889. with_gnu_ld=$lt_with_gnu_ld_CXX
  1890. # Flag that allows shared libraries with undefined symbols to be built.
  1891. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  1892. # Flag that enforces no undefined symbols.
  1893. no_undefined_flag=$lt_no_undefined_flag_CXX
  1894. # Flag to hardcode \$libdir into a binary during linking.
  1895. # This must work even if \$libdir does not exist
  1896. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  1897. # If ld is used when linking, flag to hardcode \$libdir into a binary
  1898. # during linking. This must work even if \$libdir does not exist.
  1899. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  1900. # Whether we need a single "-rpath" flag with a separated argument.
  1901. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  1902. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1903. # DIR into the resulting binary.
  1904. hardcode_direct=$hardcode_direct_CXX
  1905. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1906. # DIR into the resulting binary and the resulting library dependency is
  1907. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1908. # library is relocated.
  1909. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  1910. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1911. # into the resulting binary.
  1912. hardcode_minus_L=$hardcode_minus_L_CXX
  1913. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1914. # into the resulting binary.
  1915. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  1916. # Set to "yes" if building a shared library automatically hardcodes DIR
  1917. # into the library and all subsequent libraries and executables linked
  1918. # against it.
  1919. hardcode_automatic=$hardcode_automatic_CXX
  1920. # Set to yes if linker adds runtime paths of dependent libraries
  1921. # to runtime path list.
  1922. inherit_rpath=$inherit_rpath_CXX
  1923. # Whether libtool must link a program against all its dependency libraries.
  1924. link_all_deplibs=$link_all_deplibs_CXX
  1925. # Fix the shell variable \$srcfile for the compiler.
  1926. fix_srcfile_path=$lt_fix_srcfile_path_CXX
  1927. # Set to "yes" if exported symbols are required.
  1928. always_export_symbols=$always_export_symbols_CXX
  1929. # The commands to list exported symbols.
  1930. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  1931. # Symbols that should not be listed in the preloaded symbols.
  1932. exclude_expsyms=$lt_exclude_expsyms_CXX
  1933. # Symbols that must always be exported.
  1934. include_expsyms=$lt_include_expsyms_CXX
  1935. # Commands necessary for linking programs (against libraries) with templates.
  1936. prelink_cmds=$lt_prelink_cmds_CXX
  1937. # Specify filename containing input files.
  1938. file_list_spec=$lt_file_list_spec_CXX
  1939. # How to hardcode a shared library path into an executable.
  1940. hardcode_action=$hardcode_action_CXX
  1941. # The directories searched by this compiler when creating a shared library.
  1942. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  1943. # Dependencies to place before and after the objects being linked to
  1944. # create a shared library.
  1945. predep_objects=$lt_predep_objects_CXX
  1946. postdep_objects=$lt_postdep_objects_CXX
  1947. predeps=$lt_predeps_CXX
  1948. postdeps=$lt_postdeps_CXX
  1949. # The library search path used internally by the compiler when linking
  1950. # a shared library.
  1951. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  1952. # ### END LIBTOOL TAG CONFIG: CXX
  1953. _LT_EOF
  1954. ;;
  1955. esac
  1956. done # for ac_tag
  1957. as_fn_exit 0