config.status 67 KB

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