config.status 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266
  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 nutdisc $as_me 3.0.0, 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. nutdisc config.status 3.0.0
  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/nutdisc'
  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='nutdisc'
  707. VERSION='3.0.0'
  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_NUTDISC_FALSE"]="#"
  779. S["BUILD_NUTDISC_TRUE"]=""
  780. S["CXXCPP"]="g++ -E"
  781. S["OTOOL64"]=""
  782. S["OTOOL"]=""
  783. S["LIPO"]=""
  784. S["NMEDIT"]=""
  785. S["DSYMUTIL"]=""
  786. S["lt_ECHO"]="echo"
  787. S["RANLIB"]="ranlib"
  788. S["AR"]="ar"
  789. S["OBJDUMP"]="objdump"
  790. S["LN_S"]="ln"
  791. S["NM"]="/usr/bin/nm -B"
  792. S["ac_ct_DUMPBIN"]=""
  793. S["DUMPBIN"]=""
  794. S["LD"]="/usr/lib/hardening-wrapper/bin/ld -m elf_x86_64"
  795. S["FGREP"]="/usr/bin/grep -F"
  796. S["EGREP"]="/usr/bin/grep -E"
  797. S["GREP"]="/usr/bin/grep"
  798. S["SED"]="/usr/bin/sed"
  799. S["host_os"]="linux-gnu"
  800. S["host_vendor"]="unknown"
  801. S["host_cpu"]="x86_64"
  802. S["host"]="x86_64-unknown-linux-gnu"
  803. S["build_os"]="linux-gnu"
  804. S["build_vendor"]="unknown"
  805. S["build_cpu"]="x86_64"
  806. S["build"]="x86_64-unknown-linux-gnu"
  807. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  808. S["am__fastdepCXX_FALSE"]="#"
  809. S["am__fastdepCXX_TRUE"]=""
  810. S["CXXDEPMODE"]="depmode=gcc3"
  811. S["ac_ct_CXX"]="g++"
  812. S["CXXFLAGS"]="-g -O2"
  813. S["CXX"]="g++"
  814. S["CPP"]="gcc -E"
  815. S["WX_PROPGRID"]="-lwx_gtk2u_propgrid-3.0"
  816. 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"\
  817. " -lwx_baseu_net-3.0 -lwx_baseu-3.0 "
  818. 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"
  819. 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__"
  820. S["am__fastdepCC_FALSE"]="#"
  821. S["am__fastdepCC_TRUE"]=""
  822. S["CCDEPMODE"]="depmode=gcc3"
  823. S["AMDEPBACKSLASH"]="\\"
  824. S["AMDEP_FALSE"]="#"
  825. S["AMDEP_TRUE"]=""
  826. S["am__quote"]=""
  827. S["am__include"]="include"
  828. S["DEPDIR"]=".deps"
  829. S["OBJEXT"]="o"
  830. S["EXEEXT"]=""
  831. S["ac_ct_CC"]="gcc"
  832. S["CPPFLAGS"]=""
  833. S["LDFLAGS"]=""
  834. S["CFLAGS"]="-g -O2"
  835. S["CC"]="gcc"
  836. S["MAINT"]="#"
  837. S["MAINTAINER_MODE_FALSE"]=""
  838. S["MAINTAINER_MODE_TRUE"]="#"
  839. S["am__untar"]="${AMTAR} xf -"
  840. S["am__tar"]="${AMTAR} chof - \"$$tardir\""
  841. S["AMTAR"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutdisc/missing\" --run tar"
  842. S["am__leading_dot"]="."
  843. S["SET_MAKE"]=""
  844. S["AWK"]="gawk"
  845. S["mkdir_p"]="/usr/bin/mkdir -p"
  846. S["MKDIR_P"]="/usr/bin/mkdir -p"
  847. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  848. S["STRIP"]="strip"
  849. S["install_sh"]="${SHELL} '/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutdisc/install-sh'"
  850. S["MAKEINFO"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutdisc/missing\" --run makeinfo"
  851. S["AUTOHEADER"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutdisc/missing\" --run autoheader"
  852. S["AUTOMAKE"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutdisc/missing\" --run automake-1.11"
  853. S["AUTOCONF"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutdisc/missing\" --run autoconf"
  854. S["ACLOCAL"]="${SHELL} \"/home/janco/Downloads/Telegram Desktop/ethernut-5.2.4-tar/nut/tools/nutdisc/missing\" --run aclocal-1.11"
  855. S["VERSION"]="3.0.0"
  856. S["PACKAGE"]="nutdisc"
  857. S["CYGPATH_W"]="echo"
  858. S["am__isrc"]=""
  859. S["INSTALL_DATA"]="${INSTALL} -m 644"
  860. S["INSTALL_SCRIPT"]="${INSTALL}"
  861. S["INSTALL_PROGRAM"]="${INSTALL}"
  862. S["AM_BACKSLASH"]="\\"
  863. S["AM_DEFAULT_VERBOSITY"]="0"
  864. S["target_alias"]=""
  865. S["host_alias"]=""
  866. S["build_alias"]=""
  867. S["LIBS"]=""
  868. S["ECHO_T"]=""
  869. S["ECHO_N"]="-n"
  870. S["ECHO_C"]=""
  871. S["DEFS"]="-DHAVE_CONFIG_H"
  872. S["mandir"]="${datarootdir}/man"
  873. S["localedir"]="${datarootdir}/locale"
  874. S["libdir"]="${exec_prefix}/lib"
  875. S["psdir"]="${docdir}"
  876. S["pdfdir"]="${docdir}"
  877. S["dvidir"]="${docdir}"
  878. S["htmldir"]="${docdir}"
  879. S["infodir"]="${datarootdir}/info"
  880. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  881. S["oldincludedir"]="/usr/include"
  882. S["includedir"]="${prefix}/include"
  883. S["localstatedir"]="${prefix}/var"
  884. S["sharedstatedir"]="${prefix}/com"
  885. S["sysconfdir"]="${prefix}/etc"
  886. S["datadir"]="${datarootdir}"
  887. S["datarootdir"]="${prefix}/share"
  888. S["libexecdir"]="${exec_prefix}/libexec"
  889. S["sbindir"]="${exec_prefix}/sbin"
  890. S["bindir"]="${exec_prefix}/bin"
  891. S["program_transform_name"]="s,x,x,"
  892. S["prefix"]="/usr/local"
  893. S["exec_prefix"]="${prefix}"
  894. S["PACKAGE_URL"]=""
  895. S["PACKAGE_BUGREPORT"]=""
  896. S["PACKAGE_STRING"]="nutdisc 3.0.0"
  897. S["PACKAGE_VERSION"]="3.0.0"
  898. S["PACKAGE_TARNAME"]="nutdisc"
  899. S["PACKAGE_NAME"]="nutdisc"
  900. S["PATH_SEPARATOR"]=":"
  901. S["SHELL"]="/bin/sh"
  902. _ACAWK
  903. cat >>"$tmp/subs1.awk" <<_ACAWK &&
  904. for (key in S) S_is_set[key] = 1
  905. FS = ""
  906. }
  907. {
  908. line = $ 0
  909. nfields = split(line, field, "@")
  910. substed = 0
  911. len = length(field[1])
  912. for (i = 2; i < nfields; i++) {
  913. key = field[i]
  914. keylen = length(key)
  915. if (S_is_set[key]) {
  916. value = S[key]
  917. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  918. len += length(value) + length(field[++i])
  919. substed = 1
  920. } else
  921. len += 1 + keylen
  922. }
  923. print line
  924. }
  925. _ACAWK
  926. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  927. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  928. else
  929. cat
  930. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  931. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  932. fi # test -n "$CONFIG_FILES"
  933. # Set up the scripts for CONFIG_HEADERS section.
  934. # No need to generate them if there are no CONFIG_HEADERS.
  935. # This happens for instance with `./config.status Makefile'.
  936. if test -n "$CONFIG_HEADERS"; then
  937. cat >"$tmp/defines.awk" <<\_ACAWK ||
  938. BEGIN {
  939. D["PACKAGE_NAME"]=" \"nutdisc\""
  940. D["PACKAGE_TARNAME"]=" \"nutdisc\""
  941. D["PACKAGE_VERSION"]=" \"3.0.0\""
  942. D["PACKAGE_STRING"]=" \"nutdisc 3.0.0\""
  943. D["PACKAGE_BUGREPORT"]=" \"\""
  944. D["PACKAGE_URL"]=" \"\""
  945. D["PACKAGE"]=" \"nutdisc\""
  946. D["VERSION"]=" \"3.0.0\""
  947. D["STDC_HEADERS"]=" 1"
  948. D["HAVE_SYS_TYPES_H"]=" 1"
  949. D["HAVE_SYS_STAT_H"]=" 1"
  950. D["HAVE_STDLIB_H"]=" 1"
  951. D["HAVE_STRING_H"]=" 1"
  952. D["HAVE_MEMORY_H"]=" 1"
  953. D["HAVE_STRINGS_H"]=" 1"
  954. D["HAVE_INTTYPES_H"]=" 1"
  955. D["HAVE_STDINT_H"]=" 1"
  956. D["HAVE_UNISTD_H"]=" 1"
  957. D["HAVE_DLFCN_H"]=" 1"
  958. D["LT_OBJDIR"]=" \".libs/\""
  959. for (key in D) D_is_set[key] = 1
  960. FS = ""
  961. }
  962. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  963. line = $ 0
  964. split(line, arg, " ")
  965. if (arg[1] == "#") {
  966. defundef = arg[2]
  967. mac1 = arg[3]
  968. } else {
  969. defundef = substr(arg[1], 2)
  970. mac1 = arg[2]
  971. }
  972. split(mac1, mac2, "(") #)
  973. macro = mac2[1]
  974. prefix = substr(line, 1, index(line, defundef) - 1)
  975. if (D_is_set[macro]) {
  976. # Preserve the white space surrounding the "#".
  977. print prefix "define", macro P[macro] D[macro]
  978. next
  979. } else {
  980. # Replace #undef with comments. This is necessary, for example,
  981. # in the case of _POSIX_SOURCE, which is predefined and required
  982. # on some systems where configure will not decide to define it.
  983. if (defundef == "undef") {
  984. print "/*", prefix defundef, macro, "*/"
  985. next
  986. }
  987. }
  988. }
  989. { print }
  990. _ACAWK
  991. as_fn_error "could not setup config headers machinery" "$LINENO" 5
  992. fi # test -n "$CONFIG_HEADERS"
  993. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  994. shift
  995. for ac_tag
  996. do
  997. case $ac_tag in
  998. :[FHLC]) ac_mode=$ac_tag; continue;;
  999. esac
  1000. case $ac_mode$ac_tag in
  1001. :[FHL]*:*);;
  1002. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1003. :[FH]-) ac_tag=-:-;;
  1004. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1005. esac
  1006. ac_save_IFS=$IFS
  1007. IFS=:
  1008. set x $ac_tag
  1009. IFS=$ac_save_IFS
  1010. shift
  1011. ac_file=$1
  1012. shift
  1013. case $ac_mode in
  1014. :L) ac_source=$1;;
  1015. :[FH])
  1016. ac_file_inputs=
  1017. for ac_f
  1018. do
  1019. case $ac_f in
  1020. -) ac_f="$tmp/stdin";;
  1021. *) # Look for the file first in the build tree, then in the source tree
  1022. # (if the path is not absolute). The absolute path cannot be DOS-style,
  1023. # because $ac_f cannot contain `:'.
  1024. test -f "$ac_f" ||
  1025. case $ac_f in
  1026. [\\/$]*) false;;
  1027. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1028. esac ||
  1029. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1030. esac
  1031. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1032. as_fn_append ac_file_inputs " '$ac_f'"
  1033. done
  1034. # Let's still pretend it is `configure' which instantiates (i.e., don't
  1035. # use $as_me), people would be surprised to read:
  1036. # /* config.h. Generated by config.status. */
  1037. configure_input='Generated from '`
  1038. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1039. `' by configure.'
  1040. if test x"$ac_file" != x-; then
  1041. configure_input="$ac_file. $configure_input"
  1042. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1043. $as_echo "$as_me: creating $ac_file" >&6;}
  1044. fi
  1045. # Neutralize special characters interpreted by sed in replacement strings.
  1046. case $configure_input in #(
  1047. *\&* | *\|* | *\\* )
  1048. ac_sed_conf_input=`$as_echo "$configure_input" |
  1049. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1050. *) ac_sed_conf_input=$configure_input;;
  1051. esac
  1052. case $ac_tag in
  1053. *:-:* | *:-) cat >"$tmp/stdin" \
  1054. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  1055. esac
  1056. ;;
  1057. esac
  1058. ac_dir=`$as_dirname -- "$ac_file" ||
  1059. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1060. X"$ac_file" : 'X\(//\)[^/]' \| \
  1061. X"$ac_file" : 'X\(//\)$' \| \
  1062. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1063. $as_echo X"$ac_file" |
  1064. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1065. s//\1/
  1066. q
  1067. }
  1068. /^X\(\/\/\)[^/].*/{
  1069. s//\1/
  1070. q
  1071. }
  1072. /^X\(\/\/\)$/{
  1073. s//\1/
  1074. q
  1075. }
  1076. /^X\(\/\).*/{
  1077. s//\1/
  1078. q
  1079. }
  1080. s/.*/./; q'`
  1081. as_dir="$ac_dir"; as_fn_mkdir_p
  1082. ac_builddir=.
  1083. case "$ac_dir" in
  1084. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1085. *)
  1086. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1087. # A ".." for each directory in $ac_dir_suffix.
  1088. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1089. case $ac_top_builddir_sub in
  1090. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1091. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1092. esac ;;
  1093. esac
  1094. ac_abs_top_builddir=$ac_pwd
  1095. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1096. # for backward compatibility:
  1097. ac_top_builddir=$ac_top_build_prefix
  1098. case $srcdir in
  1099. .) # We are building in place.
  1100. ac_srcdir=.
  1101. ac_top_srcdir=$ac_top_builddir_sub
  1102. ac_abs_top_srcdir=$ac_pwd ;;
  1103. [\\/]* | ?:[\\/]* ) # Absolute name.
  1104. ac_srcdir=$srcdir$ac_dir_suffix;
  1105. ac_top_srcdir=$srcdir
  1106. ac_abs_top_srcdir=$srcdir ;;
  1107. *) # Relative name.
  1108. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1109. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1110. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1111. esac
  1112. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1113. case $ac_mode in
  1114. :F)
  1115. #
  1116. # CONFIG_FILE
  1117. #
  1118. case $INSTALL in
  1119. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1120. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1121. esac
  1122. ac_MKDIR_P=$MKDIR_P
  1123. case $MKDIR_P in
  1124. [\\/$]* | ?:[\\/]* ) ;;
  1125. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  1126. esac
  1127. # If the template does not know about datarootdir, expand it.
  1128. # FIXME: This hack should be removed a few years after 2.60.
  1129. ac_datarootdir_hack=; ac_datarootdir_seen=
  1130. ac_sed_dataroot='
  1131. /datarootdir/ {
  1132. p
  1133. q
  1134. }
  1135. /@datadir@/p
  1136. /@docdir@/p
  1137. /@infodir@/p
  1138. /@localedir@/p
  1139. /@mandir@/p'
  1140. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1141. *datarootdir*) ac_datarootdir_seen=yes;;
  1142. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1143. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1144. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1145. ac_datarootdir_hack='
  1146. s&@datadir@&${datarootdir}&g
  1147. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1148. s&@infodir@&${datarootdir}/info&g
  1149. s&@localedir@&${datarootdir}/locale&g
  1150. s&@mandir@&${datarootdir}/man&g
  1151. s&\${datarootdir}&${prefix}/share&g' ;;
  1152. esac
  1153. ac_sed_extra="/^[ ]*VPATH[ ]*=/{
  1154. s/:*\$(srcdir):*/:/
  1155. s/:*\${srcdir}:*/:/
  1156. s/:*@srcdir@:*/:/
  1157. s/^\([^=]*=[ ]*\):*/\1/
  1158. s/:*$//
  1159. s/^[^=]*=[ ]*$//
  1160. }
  1161. :t
  1162. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1163. s|@configure_input@|$ac_sed_conf_input|;t t
  1164. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1165. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1166. s&@srcdir@&$ac_srcdir&;t t
  1167. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1168. s&@top_srcdir@&$ac_top_srcdir&;t t
  1169. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1170. s&@builddir@&$ac_builddir&;t t
  1171. s&@abs_builddir@&$ac_abs_builddir&;t t
  1172. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1173. s&@INSTALL@&$ac_INSTALL&;t t
  1174. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1175. $ac_datarootdir_hack
  1176. "
  1177. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  1178. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1179. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1180. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  1181. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  1182. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1183. which seems to be undefined. Please make sure it is defined." >&5
  1184. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1185. which seems to be undefined. Please make sure it is defined." >&2;}
  1186. rm -f "$tmp/stdin"
  1187. case $ac_file in
  1188. -) cat "$tmp/out" && rm -f "$tmp/out";;
  1189. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  1190. esac \
  1191. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1192. ;;
  1193. :H)
  1194. #
  1195. # CONFIG_HEADER
  1196. #
  1197. if test x"$ac_file" != x-; then
  1198. {
  1199. $as_echo "/* $configure_input */" \
  1200. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  1201. } >"$tmp/config.h" \
  1202. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1203. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  1204. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1205. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1206. else
  1207. rm -f "$ac_file"
  1208. mv "$tmp/config.h" "$ac_file" \
  1209. || as_fn_error "could not create $ac_file" "$LINENO" 5
  1210. fi
  1211. else
  1212. $as_echo "/* $configure_input */" \
  1213. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  1214. || as_fn_error "could not create -" "$LINENO" 5
  1215. fi
  1216. # Compute "$ac_file"'s index in $config_headers.
  1217. _am_arg="$ac_file"
  1218. _am_stamp_count=1
  1219. for _am_header in $config_headers :; do
  1220. case $_am_header in
  1221. $_am_arg | $_am_arg:* )
  1222. break ;;
  1223. * )
  1224. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1225. esac
  1226. done
  1227. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1228. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1229. X"$_am_arg" : 'X\(//\)[^/]' \| \
  1230. X"$_am_arg" : 'X\(//\)$' \| \
  1231. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1232. $as_echo X"$_am_arg" |
  1233. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1234. s//\1/
  1235. q
  1236. }
  1237. /^X\(\/\/\)[^/].*/{
  1238. s//\1/
  1239. q
  1240. }
  1241. /^X\(\/\/\)$/{
  1242. s//\1/
  1243. q
  1244. }
  1245. /^X\(\/\).*/{
  1246. s//\1/
  1247. q
  1248. }
  1249. s/.*/./; q'`/stamp-h$_am_stamp_count
  1250. ;;
  1251. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1252. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1253. ;;
  1254. esac
  1255. case $ac_file$ac_mode in
  1256. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1257. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  1258. # are listed without --file. Let's play safe and only enable the eval
  1259. # if we detect the quoting.
  1260. case $CONFIG_FILES in
  1261. *\'*) eval set x "$CONFIG_FILES" ;;
  1262. *) set x $CONFIG_FILES ;;
  1263. esac
  1264. shift
  1265. for mf
  1266. do
  1267. # Strip MF so we end up with the name of the file.
  1268. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1269. # Check whether this is an Automake generated Makefile or not.
  1270. # We used to match only the files named `Makefile.in', but
  1271. # some people rename them; so instead we look at the file content.
  1272. # Grep'ing the first line is not enough: some people post-process
  1273. # each Makefile.in and add a new line on top of each file to say so.
  1274. # Grep'ing the whole file is not good either: AIX grep has a line
  1275. # limit of 2048, but all sed's we know have understand at least 4000.
  1276. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1277. dirpart=`$as_dirname -- "$mf" ||
  1278. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1279. X"$mf" : 'X\(//\)[^/]' \| \
  1280. X"$mf" : 'X\(//\)$' \| \
  1281. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1282. $as_echo X"$mf" |
  1283. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1284. s//\1/
  1285. q
  1286. }
  1287. /^X\(\/\/\)[^/].*/{
  1288. s//\1/
  1289. q
  1290. }
  1291. /^X\(\/\/\)$/{
  1292. s//\1/
  1293. q
  1294. }
  1295. /^X\(\/\).*/{
  1296. s//\1/
  1297. q
  1298. }
  1299. s/.*/./; q'`
  1300. else
  1301. continue
  1302. fi
  1303. # Extract the definition of DEPDIR, am__include, and am__quote
  1304. # from the Makefile without running `make'.
  1305. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1306. test -z "$DEPDIR" && continue
  1307. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1308. test -z "am__include" && continue
  1309. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1310. # When using ansi2knr, U may be empty or an underscore; expand it
  1311. U=`sed -n 's/^U = //p' < "$mf"`
  1312. # Find all dependency output files, they are included files with
  1313. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1314. # simplest approach to changing $(DEPDIR) to its actual value in the
  1315. # expansion.
  1316. for file in `sed -n "
  1317. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1318. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  1319. # Make sure the directory exists.
  1320. test -f "$dirpart/$file" && continue
  1321. fdir=`$as_dirname -- "$file" ||
  1322. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1323. X"$file" : 'X\(//\)[^/]' \| \
  1324. X"$file" : 'X\(//\)$' \| \
  1325. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1326. $as_echo X"$file" |
  1327. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1328. s//\1/
  1329. q
  1330. }
  1331. /^X\(\/\/\)[^/].*/{
  1332. s//\1/
  1333. q
  1334. }
  1335. /^X\(\/\/\)$/{
  1336. s//\1/
  1337. q
  1338. }
  1339. /^X\(\/\).*/{
  1340. s//\1/
  1341. q
  1342. }
  1343. s/.*/./; q'`
  1344. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1345. # echo "creating $dirpart/$file"
  1346. echo '# dummy' > "$dirpart/$file"
  1347. done
  1348. done
  1349. }
  1350. ;;
  1351. "libtool":C)
  1352. # See if we are running on zsh, and set the options which allow our
  1353. # commands through without removal of \ escapes.
  1354. if test -n "${ZSH_VERSION+set}" ; then
  1355. setopt NO_GLOB_SUBST
  1356. fi
  1357. cfgfile="${ofile}T"
  1358. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1359. $RM "$cfgfile"
  1360. cat <<_LT_EOF >> "$cfgfile"
  1361. #! $SHELL
  1362. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  1363. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1364. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1365. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1366. #
  1367. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  1368. # 2006, 2007, 2008 Free Software Foundation, Inc.
  1369. # Written by Gordon Matzigkeit, 1996
  1370. #
  1371. # This file is part of GNU Libtool.
  1372. #
  1373. # GNU Libtool is free software; you can redistribute it and/or
  1374. # modify it under the terms of the GNU General Public License as
  1375. # published by the Free Software Foundation; either version 2 of
  1376. # the License, or (at your option) any later version.
  1377. #
  1378. # As a special exception to the GNU General Public License,
  1379. # if you distribute this file as part of a program or library that
  1380. # is built using GNU Libtool, you may include this file under the
  1381. # same distribution terms that you use for the rest of that program.
  1382. #
  1383. # GNU Libtool is distributed in the hope that it will be useful,
  1384. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1385. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1386. # GNU General Public License for more details.
  1387. #
  1388. # You should have received a copy of the GNU General Public License
  1389. # along with GNU Libtool; see the file COPYING. If not, a copy
  1390. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  1391. # obtained by writing to the Free Software Foundation, Inc.,
  1392. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  1393. # The names of the tagged configurations supported by this script.
  1394. available_tags="CXX "
  1395. # ### BEGIN LIBTOOL CONFIG
  1396. # Which release of libtool.m4 was used?
  1397. macro_version=$macro_version
  1398. macro_revision=$macro_revision
  1399. # Whether or not to build shared libraries.
  1400. build_libtool_libs=$enable_shared
  1401. # Whether or not to build static libraries.
  1402. build_old_libs=$enable_static
  1403. # What type of objects to build.
  1404. pic_mode=$pic_mode
  1405. # Whether or not to optimize for fast installation.
  1406. fast_install=$enable_fast_install
  1407. # The host system.
  1408. host_alias=$host_alias
  1409. host=$host
  1410. host_os=$host_os
  1411. # The build system.
  1412. build_alias=$build_alias
  1413. build=$build
  1414. build_os=$build_os
  1415. # A sed program that does not truncate output.
  1416. SED=$lt_SED
  1417. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1418. Xsed="\$SED -e 1s/^X//"
  1419. # A grep program that handles long lines.
  1420. GREP=$lt_GREP
  1421. # An ERE matcher.
  1422. EGREP=$lt_EGREP
  1423. # A literal string matcher.
  1424. FGREP=$lt_FGREP
  1425. # A BSD- or MS-compatible name lister.
  1426. NM=$lt_NM
  1427. # Whether we need soft or hard links.
  1428. LN_S=$lt_LN_S
  1429. # What is the maximum length of a command?
  1430. max_cmd_len=$max_cmd_len
  1431. # Object file suffix (normally "o").
  1432. objext=$ac_objext
  1433. # Executable file suffix (normally "").
  1434. exeext=$exeext
  1435. # whether the shell understands "unset".
  1436. lt_unset=$lt_unset
  1437. # turn spaces into newlines.
  1438. SP2NL=$lt_lt_SP2NL
  1439. # turn newlines into spaces.
  1440. NL2SP=$lt_lt_NL2SP
  1441. # How to create reloadable object files.
  1442. reload_flag=$lt_reload_flag
  1443. reload_cmds=$lt_reload_cmds
  1444. # An object symbol dumper.
  1445. OBJDUMP=$lt_OBJDUMP
  1446. # Method to check whether dependent libraries are shared objects.
  1447. deplibs_check_method=$lt_deplibs_check_method
  1448. # Command to use when deplibs_check_method == "file_magic".
  1449. file_magic_cmd=$lt_file_magic_cmd
  1450. # The archiver.
  1451. AR=$lt_AR
  1452. AR_FLAGS=$lt_AR_FLAGS
  1453. # A symbol stripping program.
  1454. STRIP=$lt_STRIP
  1455. # Commands used to install an old-style archive.
  1456. RANLIB=$lt_RANLIB
  1457. old_postinstall_cmds=$lt_old_postinstall_cmds
  1458. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1459. # A C compiler.
  1460. LTCC=$lt_CC
  1461. # LTCC compiler flags.
  1462. LTCFLAGS=$lt_CFLAGS
  1463. # Take the output of nm and produce a listing of raw symbols and C names.
  1464. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1465. # Transform the output of nm in a proper C declaration.
  1466. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1467. # Transform the output of nm in a C name address pair.
  1468. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1469. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1470. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1471. # The name of the directory that contains temporary libtool files.
  1472. objdir=$objdir
  1473. # Shell to use when invoking shell scripts.
  1474. SHELL=$lt_SHELL
  1475. # An echo program that does not interpret backslashes.
  1476. ECHO=$lt_ECHO
  1477. # Used to examine libraries when file_magic_cmd begins with "file".
  1478. MAGIC_CMD=$MAGIC_CMD
  1479. # Must we lock files when doing compilation?
  1480. need_locks=$lt_need_locks
  1481. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1482. DSYMUTIL=$lt_DSYMUTIL
  1483. # Tool to change global to local symbols on Mac OS X.
  1484. NMEDIT=$lt_NMEDIT
  1485. # Tool to manipulate fat objects and archives on Mac OS X.
  1486. LIPO=$lt_LIPO
  1487. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1488. OTOOL=$lt_OTOOL
  1489. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1490. OTOOL64=$lt_OTOOL64
  1491. # Old archive suffix (normally "a").
  1492. libext=$libext
  1493. # Shared library suffix (normally ".so").
  1494. shrext_cmds=$lt_shrext_cmds
  1495. # The commands to extract the exported symbol list from a shared archive.
  1496. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1497. # Variables whose values should be saved in libtool wrapper scripts and
  1498. # restored at link time.
  1499. variables_saved_for_relink=$lt_variables_saved_for_relink
  1500. # Do we need the "lib" prefix for modules?
  1501. need_lib_prefix=$need_lib_prefix
  1502. # Do we need a version for libraries?
  1503. need_version=$need_version
  1504. # Library versioning type.
  1505. version_type=$version_type
  1506. # Shared library runtime path variable.
  1507. runpath_var=$runpath_var
  1508. # Shared library path variable.
  1509. shlibpath_var=$shlibpath_var
  1510. # Is shlibpath searched before the hard-coded library search path?
  1511. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1512. # Format of library name prefix.
  1513. libname_spec=$lt_libname_spec
  1514. # List of archive names. First name is the real one, the rest are links.
  1515. # The last name is the one that the linker finds with -lNAME
  1516. library_names_spec=$lt_library_names_spec
  1517. # The coded name of the library, if different from the real name.
  1518. soname_spec=$lt_soname_spec
  1519. # Command to use after installation of a shared archive.
  1520. postinstall_cmds=$lt_postinstall_cmds
  1521. # Command to use after uninstallation of a shared archive.
  1522. postuninstall_cmds=$lt_postuninstall_cmds
  1523. # Commands used to finish a libtool library installation in a directory.
  1524. finish_cmds=$lt_finish_cmds
  1525. # As "finish_cmds", except a single script fragment to be evaled but
  1526. # not shown.
  1527. finish_eval=$lt_finish_eval
  1528. # Whether we should hardcode library paths into libraries.
  1529. hardcode_into_libs=$hardcode_into_libs
  1530. # Compile-time system search path for libraries.
  1531. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1532. # Run-time system search path for libraries.
  1533. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  1534. # Whether dlopen is supported.
  1535. dlopen_support=$enable_dlopen
  1536. # Whether dlopen of programs is supported.
  1537. dlopen_self=$enable_dlopen_self
  1538. # Whether dlopen of statically linked programs is supported.
  1539. dlopen_self_static=$enable_dlopen_self_static
  1540. # Commands to strip libraries.
  1541. old_striplib=$lt_old_striplib
  1542. striplib=$lt_striplib
  1543. # The linker used to build libraries.
  1544. LD=$lt_LD
  1545. # Commands used to build an old-style archive.
  1546. old_archive_cmds=$lt_old_archive_cmds
  1547. # A language specific compiler.
  1548. CC=$lt_compiler
  1549. # Is the compiler the GNU compiler?
  1550. with_gcc=$GCC
  1551. # Compiler flag to turn off builtin functions.
  1552. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1553. # How to pass a linker flag through the compiler.
  1554. wl=$lt_lt_prog_compiler_wl
  1555. # Additional compiler flags for building library objects.
  1556. pic_flag=$lt_lt_prog_compiler_pic
  1557. # Compiler flag to prevent dynamic linking.
  1558. link_static_flag=$lt_lt_prog_compiler_static
  1559. # Does compiler simultaneously support -c and -o options?
  1560. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1561. # Whether or not to add -lc for building shared libraries.
  1562. build_libtool_need_lc=$archive_cmds_need_lc
  1563. # Whether or not to disallow shared libs when runtime libs are static.
  1564. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1565. # Compiler flag to allow reflexive dlopens.
  1566. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1567. # Compiler flag to generate shared objects directly from archives.
  1568. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1569. # Whether the compiler copes with passing no objects directly.
  1570. compiler_needs_object=$lt_compiler_needs_object
  1571. # Create an old-style archive from a shared archive.
  1572. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1573. # Create a temporary old-style archive to link instead of a shared archive.
  1574. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1575. # Commands used to build a shared archive.
  1576. archive_cmds=$lt_archive_cmds
  1577. archive_expsym_cmds=$lt_archive_expsym_cmds
  1578. # Commands used to build a loadable module if different from building
  1579. # a shared archive.
  1580. module_cmds=$lt_module_cmds
  1581. module_expsym_cmds=$lt_module_expsym_cmds
  1582. # Whether we are building with GNU ld or not.
  1583. with_gnu_ld=$lt_with_gnu_ld
  1584. # Flag that allows shared libraries with undefined symbols to be built.
  1585. allow_undefined_flag=$lt_allow_undefined_flag
  1586. # Flag that enforces no undefined symbols.
  1587. no_undefined_flag=$lt_no_undefined_flag
  1588. # Flag to hardcode \$libdir into a binary during linking.
  1589. # This must work even if \$libdir does not exist
  1590. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1591. # If ld is used when linking, flag to hardcode \$libdir into a binary
  1592. # during linking. This must work even if \$libdir does not exist.
  1593. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  1594. # Whether we need a single "-rpath" flag with a separated argument.
  1595. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1596. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1597. # DIR into the resulting binary.
  1598. hardcode_direct=$hardcode_direct
  1599. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1600. # DIR into the resulting binary and the resulting library dependency is
  1601. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1602. # library is relocated.
  1603. hardcode_direct_absolute=$hardcode_direct_absolute
  1604. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1605. # into the resulting binary.
  1606. hardcode_minus_L=$hardcode_minus_L
  1607. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1608. # into the resulting binary.
  1609. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1610. # Set to "yes" if building a shared library automatically hardcodes DIR
  1611. # into the library and all subsequent libraries and executables linked
  1612. # against it.
  1613. hardcode_automatic=$hardcode_automatic
  1614. # Set to yes if linker adds runtime paths of dependent libraries
  1615. # to runtime path list.
  1616. inherit_rpath=$inherit_rpath
  1617. # Whether libtool must link a program against all its dependency libraries.
  1618. link_all_deplibs=$link_all_deplibs
  1619. # Fix the shell variable \$srcfile for the compiler.
  1620. fix_srcfile_path=$lt_fix_srcfile_path
  1621. # Set to "yes" if exported symbols are required.
  1622. always_export_symbols=$always_export_symbols
  1623. # The commands to list exported symbols.
  1624. export_symbols_cmds=$lt_export_symbols_cmds
  1625. # Symbols that should not be listed in the preloaded symbols.
  1626. exclude_expsyms=$lt_exclude_expsyms
  1627. # Symbols that must always be exported.
  1628. include_expsyms=$lt_include_expsyms
  1629. # Commands necessary for linking programs (against libraries) with templates.
  1630. prelink_cmds=$lt_prelink_cmds
  1631. # Specify filename containing input files.
  1632. file_list_spec=$lt_file_list_spec
  1633. # How to hardcode a shared library path into an executable.
  1634. hardcode_action=$hardcode_action
  1635. # The directories searched by this compiler when creating a shared library.
  1636. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  1637. # Dependencies to place before and after the objects being linked to
  1638. # create a shared library.
  1639. predep_objects=$lt_predep_objects
  1640. postdep_objects=$lt_postdep_objects
  1641. predeps=$lt_predeps
  1642. postdeps=$lt_postdeps
  1643. # The library search path used internally by the compiler when linking
  1644. # a shared library.
  1645. compiler_lib_search_path=$lt_compiler_lib_search_path
  1646. # ### END LIBTOOL CONFIG
  1647. _LT_EOF
  1648. case $host_os in
  1649. aix3*)
  1650. cat <<\_LT_EOF >> "$cfgfile"
  1651. # AIX sometimes has problems with the GCC collect2 program. For some
  1652. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1653. # vanish in a puff of smoke.
  1654. if test "X${COLLECT_NAMES+set}" != Xset; then
  1655. COLLECT_NAMES=
  1656. export COLLECT_NAMES
  1657. fi
  1658. _LT_EOF
  1659. ;;
  1660. esac
  1661. ltmain="$ac_aux_dir/ltmain.sh"
  1662. # We use sed instead of cat because bash on DJGPP gets confused if
  1663. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  1664. # text mode, it properly converts lines to CR/LF. This bash problem
  1665. # is reportedly fixed, but why not run on old versions too?
  1666. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  1667. || (rm -f "$cfgfile"; exit 1)
  1668. case $xsi_shell in
  1669. yes)
  1670. cat << \_LT_EOF >> "$cfgfile"
  1671. # func_dirname file append nondir_replacement
  1672. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  1673. # otherwise set result to NONDIR_REPLACEMENT.
  1674. func_dirname ()
  1675. {
  1676. case ${1} in
  1677. */*) func_dirname_result="${1%/*}${2}" ;;
  1678. * ) func_dirname_result="${3}" ;;
  1679. esac
  1680. }
  1681. # func_basename file
  1682. func_basename ()
  1683. {
  1684. func_basename_result="${1##*/}"
  1685. }
  1686. # func_dirname_and_basename file append nondir_replacement
  1687. # perform func_basename and func_dirname in a single function
  1688. # call:
  1689. # dirname: Compute the dirname of FILE. If nonempty,
  1690. # add APPEND to the result, otherwise set result
  1691. # to NONDIR_REPLACEMENT.
  1692. # value returned in "$func_dirname_result"
  1693. # basename: Compute filename of FILE.
  1694. # value retuned in "$func_basename_result"
  1695. # Implementation must be kept synchronized with func_dirname
  1696. # and func_basename. For efficiency, we do not delegate to
  1697. # those functions but instead duplicate the functionality here.
  1698. func_dirname_and_basename ()
  1699. {
  1700. case ${1} in
  1701. */*) func_dirname_result="${1%/*}${2}" ;;
  1702. * ) func_dirname_result="${3}" ;;
  1703. esac
  1704. func_basename_result="${1##*/}"
  1705. }
  1706. # func_stripname prefix suffix name
  1707. # strip PREFIX and SUFFIX off of NAME.
  1708. # PREFIX and SUFFIX must not contain globbing or regex special
  1709. # characters, hashes, percent signs, but SUFFIX may contain a leading
  1710. # dot (in which case that matches only a dot).
  1711. func_stripname ()
  1712. {
  1713. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  1714. # positional parameters, so assign one to ordinary parameter first.
  1715. func_stripname_result=${3}
  1716. func_stripname_result=${func_stripname_result#"${1}"}
  1717. func_stripname_result=${func_stripname_result%"${2}"}
  1718. }
  1719. # func_opt_split
  1720. func_opt_split ()
  1721. {
  1722. func_opt_split_opt=${1%%=*}
  1723. func_opt_split_arg=${1#*=}
  1724. }
  1725. # func_lo2o object
  1726. func_lo2o ()
  1727. {
  1728. case ${1} in
  1729. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  1730. *) func_lo2o_result=${1} ;;
  1731. esac
  1732. }
  1733. # func_xform libobj-or-source
  1734. func_xform ()
  1735. {
  1736. func_xform_result=${1%.*}.lo
  1737. }
  1738. # func_arith arithmetic-term...
  1739. func_arith ()
  1740. {
  1741. func_arith_result=$(( $* ))
  1742. }
  1743. # func_len string
  1744. # STRING may not start with a hyphen.
  1745. func_len ()
  1746. {
  1747. func_len_result=${#1}
  1748. }
  1749. _LT_EOF
  1750. ;;
  1751. *) # Bourne compatible functions.
  1752. cat << \_LT_EOF >> "$cfgfile"
  1753. # func_dirname file append nondir_replacement
  1754. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  1755. # otherwise set result to NONDIR_REPLACEMENT.
  1756. func_dirname ()
  1757. {
  1758. # Extract subdirectory from the argument.
  1759. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  1760. if test "X$func_dirname_result" = "X${1}"; then
  1761. func_dirname_result="${3}"
  1762. else
  1763. func_dirname_result="$func_dirname_result${2}"
  1764. fi
  1765. }
  1766. # func_basename file
  1767. func_basename ()
  1768. {
  1769. func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  1770. }
  1771. # func_stripname prefix suffix name
  1772. # strip PREFIX and SUFFIX off of NAME.
  1773. # PREFIX and SUFFIX must not contain globbing or regex special
  1774. # characters, hashes, percent signs, but SUFFIX may contain a leading
  1775. # dot (in which case that matches only a dot).
  1776. # func_strip_suffix prefix name
  1777. func_stripname ()
  1778. {
  1779. case ${2} in
  1780. .*) func_stripname_result=`$ECHO "X${3}" \
  1781. | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  1782. *) func_stripname_result=`$ECHO "X${3}" \
  1783. | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  1784. esac
  1785. }
  1786. # sed scripts:
  1787. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  1788. my_sed_long_arg='1s/^-[^=]*=//'
  1789. # func_opt_split
  1790. func_opt_split ()
  1791. {
  1792. func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  1793. func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  1794. }
  1795. # func_lo2o object
  1796. func_lo2o ()
  1797. {
  1798. func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  1799. }
  1800. # func_xform libobj-or-source
  1801. func_xform ()
  1802. {
  1803. func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  1804. }
  1805. # func_arith arithmetic-term...
  1806. func_arith ()
  1807. {
  1808. func_arith_result=`expr "$@"`
  1809. }
  1810. # func_len string
  1811. # STRING may not start with a hyphen.
  1812. func_len ()
  1813. {
  1814. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  1815. }
  1816. _LT_EOF
  1817. esac
  1818. case $lt_shell_append in
  1819. yes)
  1820. cat << \_LT_EOF >> "$cfgfile"
  1821. # func_append var value
  1822. # Append VALUE to the end of shell variable VAR.
  1823. func_append ()
  1824. {
  1825. eval "$1+=\$2"
  1826. }
  1827. _LT_EOF
  1828. ;;
  1829. *)
  1830. cat << \_LT_EOF >> "$cfgfile"
  1831. # func_append var value
  1832. # Append VALUE to the end of shell variable VAR.
  1833. func_append ()
  1834. {
  1835. eval "$1=\$$1\$2"
  1836. }
  1837. _LT_EOF
  1838. ;;
  1839. esac
  1840. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  1841. || (rm -f "$cfgfile"; exit 1)
  1842. mv -f "$cfgfile" "$ofile" ||
  1843. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  1844. chmod +x "$ofile"
  1845. cat <<_LT_EOF >> "$ofile"
  1846. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  1847. # The linker used to build libraries.
  1848. LD=$lt_LD_CXX
  1849. # Commands used to build an old-style archive.
  1850. old_archive_cmds=$lt_old_archive_cmds_CXX
  1851. # A language specific compiler.
  1852. CC=$lt_compiler_CXX
  1853. # Is the compiler the GNU compiler?
  1854. with_gcc=$GCC_CXX
  1855. # Compiler flag to turn off builtin functions.
  1856. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  1857. # How to pass a linker flag through the compiler.
  1858. wl=$lt_lt_prog_compiler_wl_CXX
  1859. # Additional compiler flags for building library objects.
  1860. pic_flag=$lt_lt_prog_compiler_pic_CXX
  1861. # Compiler flag to prevent dynamic linking.
  1862. link_static_flag=$lt_lt_prog_compiler_static_CXX
  1863. # Does compiler simultaneously support -c and -o options?
  1864. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  1865. # Whether or not to add -lc for building shared libraries.
  1866. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  1867. # Whether or not to disallow shared libs when runtime libs are static.
  1868. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  1869. # Compiler flag to allow reflexive dlopens.
  1870. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  1871. # Compiler flag to generate shared objects directly from archives.
  1872. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  1873. # Whether the compiler copes with passing no objects directly.
  1874. compiler_needs_object=$lt_compiler_needs_object_CXX
  1875. # Create an old-style archive from a shared archive.
  1876. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  1877. # Create a temporary old-style archive to link instead of a shared archive.
  1878. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  1879. # Commands used to build a shared archive.
  1880. archive_cmds=$lt_archive_cmds_CXX
  1881. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  1882. # Commands used to build a loadable module if different from building
  1883. # a shared archive.
  1884. module_cmds=$lt_module_cmds_CXX
  1885. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  1886. # Whether we are building with GNU ld or not.
  1887. with_gnu_ld=$lt_with_gnu_ld_CXX
  1888. # Flag that allows shared libraries with undefined symbols to be built.
  1889. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  1890. # Flag that enforces no undefined symbols.
  1891. no_undefined_flag=$lt_no_undefined_flag_CXX
  1892. # Flag to hardcode \$libdir into a binary during linking.
  1893. # This must work even if \$libdir does not exist
  1894. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  1895. # If ld is used when linking, flag to hardcode \$libdir into a binary
  1896. # during linking. This must work even if \$libdir does not exist.
  1897. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  1898. # Whether we need a single "-rpath" flag with a separated argument.
  1899. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  1900. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1901. # DIR into the resulting binary.
  1902. hardcode_direct=$hardcode_direct_CXX
  1903. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1904. # DIR into the resulting binary and the resulting library dependency is
  1905. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1906. # library is relocated.
  1907. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  1908. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1909. # into the resulting binary.
  1910. hardcode_minus_L=$hardcode_minus_L_CXX
  1911. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1912. # into the resulting binary.
  1913. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  1914. # Set to "yes" if building a shared library automatically hardcodes DIR
  1915. # into the library and all subsequent libraries and executables linked
  1916. # against it.
  1917. hardcode_automatic=$hardcode_automatic_CXX
  1918. # Set to yes if linker adds runtime paths of dependent libraries
  1919. # to runtime path list.
  1920. inherit_rpath=$inherit_rpath_CXX
  1921. # Whether libtool must link a program against all its dependency libraries.
  1922. link_all_deplibs=$link_all_deplibs_CXX
  1923. # Fix the shell variable \$srcfile for the compiler.
  1924. fix_srcfile_path=$lt_fix_srcfile_path_CXX
  1925. # Set to "yes" if exported symbols are required.
  1926. always_export_symbols=$always_export_symbols_CXX
  1927. # The commands to list exported symbols.
  1928. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  1929. # Symbols that should not be listed in the preloaded symbols.
  1930. exclude_expsyms=$lt_exclude_expsyms_CXX
  1931. # Symbols that must always be exported.
  1932. include_expsyms=$lt_include_expsyms_CXX
  1933. # Commands necessary for linking programs (against libraries) with templates.
  1934. prelink_cmds=$lt_prelink_cmds_CXX
  1935. # Specify filename containing input files.
  1936. file_list_spec=$lt_file_list_spec_CXX
  1937. # How to hardcode a shared library path into an executable.
  1938. hardcode_action=$hardcode_action_CXX
  1939. # The directories searched by this compiler when creating a shared library.
  1940. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  1941. # Dependencies to place before and after the objects being linked to
  1942. # create a shared library.
  1943. predep_objects=$lt_predep_objects_CXX
  1944. postdep_objects=$lt_postdep_objects_CXX
  1945. predeps=$lt_predeps_CXX
  1946. postdeps=$lt_postdeps_CXX
  1947. # The library search path used internally by the compiler when linking
  1948. # a shared library.
  1949. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  1950. # ### END LIBTOOL TAG CONFIG: CXX
  1951. _LT_EOF
  1952. ;;
  1953. esac
  1954. done # for ac_tag
  1955. as_fn_exit 0