config.status 57 KB

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