config.status 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911
  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. 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 libcsv $as_me 3.0.3, 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"
  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 <rgamble99@gmail.com>.
  375. libcsv home page: <https://github.com/rgamble/libcsv>."
  376. ac_cs_config=""
  377. ac_cs_version="\
  378. libcsv config.status 3.0.3
  379. configured by ./configure, generated by GNU Autoconf 2.69,
  380. with options \"$ac_cs_config\"
  381. Copyright (C) 2012 Free Software Foundation, Inc.
  382. This config.status script is free software; the Free Software Foundation
  383. gives unlimited permission to copy, distribute and modify it."
  384. ac_pwd='/home/mara/work/feeder/feeder_lib/csv/libcsv'
  385. srcdir='.'
  386. INSTALL='/usr/bin/install -c'
  387. MKDIR_P='/usr/bin/mkdir -p'
  388. AWK='gawk'
  389. test -n "$AWK" || AWK=awk
  390. # The default lists apply if the user does not specify any file.
  391. ac_need_defaults=:
  392. while test $# != 0
  393. do
  394. case $1 in
  395. --*=?*)
  396. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  397. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  398. ac_shift=:
  399. ;;
  400. --*=)
  401. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  402. ac_optarg=
  403. ac_shift=:
  404. ;;
  405. *)
  406. ac_option=$1
  407. ac_optarg=$2
  408. ac_shift=shift
  409. ;;
  410. esac
  411. case $ac_option in
  412. # Handling of the options.
  413. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  414. ac_cs_recheck=: ;;
  415. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  416. $as_echo "$ac_cs_version"; exit ;;
  417. --config | --confi | --conf | --con | --co | --c )
  418. $as_echo "$ac_cs_config"; exit ;;
  419. --debug | --debu | --deb | --de | --d | -d )
  420. debug=: ;;
  421. --file | --fil | --fi | --f )
  422. $ac_shift
  423. case $ac_optarg in
  424. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  425. '') as_fn_error $? "missing file argument" ;;
  426. esac
  427. as_fn_append CONFIG_FILES " '$ac_optarg'"
  428. ac_need_defaults=false;;
  429. --he | --h | --help | --hel | -h )
  430. $as_echo "$ac_cs_usage"; exit ;;
  431. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  432. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  433. ac_cs_silent=: ;;
  434. # This is an error.
  435. -*) as_fn_error $? "unrecognized option: \`$1'
  436. Try \`$0 --help' for more information." ;;
  437. *) as_fn_append ac_config_targets " $1"
  438. ac_need_defaults=false ;;
  439. esac
  440. shift
  441. done
  442. ac_configure_extra_args=
  443. if $ac_cs_silent; then
  444. exec 6>/dev/null
  445. ac_configure_extra_args="$ac_configure_extra_args --silent"
  446. fi
  447. if $ac_cs_recheck; then
  448. set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion
  449. shift
  450. $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  451. CONFIG_SHELL='/bin/sh'
  452. export CONFIG_SHELL
  453. exec "$@"
  454. fi
  455. exec 5>>config.log
  456. {
  457. echo
  458. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  459. ## Running $as_me. ##
  460. _ASBOX
  461. $as_echo "$ac_log"
  462. } >&5
  463. #
  464. # INIT-COMMANDS
  465. #
  466. AMDEP_TRUE="" ac_aux_dir="."
  467. # The HP-UX ksh and POSIX shell print the target directory to stdout
  468. # if CDPATH is set.
  469. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  470. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  471. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  472. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  473. macro_version='2.4.2'
  474. macro_revision='1.3337'
  475. enable_shared='yes'
  476. enable_static='yes'
  477. pic_mode='default'
  478. enable_fast_install='yes'
  479. SHELL='/bin/sh'
  480. ECHO='printf %s\n'
  481. PATH_SEPARATOR=':'
  482. host_alias=''
  483. host='x86_64-unknown-linux-gnu'
  484. host_os='linux-gnu'
  485. build_alias=''
  486. build='x86_64-unknown-linux-gnu'
  487. build_os='linux-gnu'
  488. SED='/usr/bin/sed'
  489. Xsed='/usr/bin/sed -e 1s/^X//'
  490. GREP='/usr/bin/grep'
  491. EGREP='/usr/bin/grep -E'
  492. FGREP='/usr/bin/grep -F'
  493. LD='/usr/bin/ld -m elf_x86_64'
  494. NM='/usr/bin/nm -B'
  495. LN_S='ln -s'
  496. max_cmd_len='1572864'
  497. ac_objext='o'
  498. exeext=''
  499. lt_unset='unset'
  500. lt_SP2NL='tr \040 \012'
  501. lt_NL2SP='tr \015\012 \040\040'
  502. lt_cv_to_host_file_cmd='func_convert_file_noop'
  503. lt_cv_to_tool_file_cmd='func_convert_file_noop'
  504. reload_flag=' -r'
  505. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  506. OBJDUMP='objdump'
  507. deplibs_check_method='pass_all'
  508. file_magic_cmd='$MAGIC_CMD'
  509. file_magic_glob=''
  510. want_nocaseglob='no'
  511. DLLTOOL='false'
  512. sharedlib_from_linklib_cmd='printf %s\n'
  513. AR='ar'
  514. AR_FLAGS='cru'
  515. archiver_list_spec='@'
  516. STRIP='strip'
  517. RANLIB='ranlib'
  518. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
  519. old_postuninstall_cmds=''
  520. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
  521. lock_old_archive_extraction='no'
  522. CC='gcc'
  523. CFLAGS='-g -O2'
  524. compiler='gcc'
  525. GCC='yes'
  526. 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'\'''
  527. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  528. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  529. 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'\'''
  530. nm_file_list_spec='@'
  531. lt_sysroot=''
  532. objdir='.libs'
  533. MAGIC_CMD='file'
  534. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  535. lt_prog_compiler_pic=' -fPIC -DPIC'
  536. lt_prog_compiler_wl='-Wl,'
  537. lt_prog_compiler_static=''
  538. lt_cv_prog_compiler_c_o='yes'
  539. need_locks='no'
  540. MANIFEST_TOOL=':'
  541. DSYMUTIL=''
  542. NMEDIT=''
  543. LIPO=''
  544. OTOOL=''
  545. OTOOL64=''
  546. libext='a'
  547. shrext_cmds='.so'
  548. extract_expsyms_cmds=''
  549. archive_cmds_need_lc='no'
  550. enable_shared_with_static_runtimes='no'
  551. export_dynamic_flag_spec='${wl}--export-dynamic'
  552. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  553. compiler_needs_object='no'
  554. old_archive_from_new_cmds=''
  555. old_archive_from_expsyms_cmds=''
  556. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  557. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  558. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  559. echo "local: *; };" >> $output_objdir/$libname.ver~
  560. $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  561. module_cmds=''
  562. module_expsym_cmds=''
  563. with_gnu_ld='yes'
  564. allow_undefined_flag=''
  565. no_undefined_flag=''
  566. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  567. hardcode_libdir_separator=''
  568. hardcode_direct='no'
  569. hardcode_direct_absolute='no'
  570. hardcode_minus_L='no'
  571. hardcode_shlibpath_var='unsupported'
  572. hardcode_automatic='no'
  573. inherit_rpath='no'
  574. link_all_deplibs='no'
  575. always_export_symbols='no'
  576. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  577. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  578. include_expsyms=''
  579. prelink_cmds=''
  580. postlink_cmds=''
  581. file_list_spec=''
  582. variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  583. need_lib_prefix='no'
  584. need_version='no'
  585. version_type='linux'
  586. runpath_var='LD_RUN_PATH'
  587. shlibpath_var='LD_LIBRARY_PATH'
  588. shlibpath_overrides_runpath='no'
  589. libname_spec='lib$name'
  590. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  591. soname_spec='${libname}${release}${shared_ext}$major'
  592. install_override_mode=''
  593. postinstall_cmds=''
  594. postuninstall_cmds=''
  595. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  596. finish_eval=''
  597. hardcode_into_libs='yes'
  598. sys_lib_search_path_spec='/usr/lib/gcc/x86_64-redhat-linux/4.8.5 /usr/lib64 /lib64 '
  599. sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib64/mysql '
  600. hardcode_action='immediate'
  601. enable_dlopen='unknown'
  602. enable_dlopen_self='unknown'
  603. enable_dlopen_self_static='unknown'
  604. old_striplib='strip --strip-debug'
  605. striplib='strip --strip-unneeded'
  606. LTCC='gcc'
  607. LTCFLAGS='-g -O2'
  608. compiler='gcc'
  609. # A function that is used when there is no print builtin or printf.
  610. func_fallback_echo ()
  611. {
  612. eval 'cat <<_LTECHO_EOF
  613. $1
  614. _LTECHO_EOF'
  615. }
  616. # Quote evaled strings.
  617. 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
  618. case `eval \\$ECHO \\""\\$$var"\\"` in
  619. *[\\\`\"\$]*)
  620. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
  621. ;;
  622. *)
  623. eval "lt_$var=\\\"\$$var\\\""
  624. ;;
  625. esac
  626. done
  627. # Double-quote double-evaled strings.
  628. 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
  629. case `eval \\$ECHO \\""\\$$var"\\"` in
  630. *[\\\`\"\$]*)
  631. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  632. ;;
  633. *)
  634. eval "lt_$var=\\\"\$$var\\\""
  635. ;;
  636. esac
  637. done
  638. ac_aux_dir='.'
  639. xsi_shell='yes'
  640. lt_shell_append='yes'
  641. # See if we are running on zsh, and set the options which allow our
  642. # commands through without removal of \ escapes INIT.
  643. if test -n "${ZSH_VERSION+set}" ; then
  644. setopt NO_GLOB_SUBST
  645. fi
  646. PACKAGE='libcsv'
  647. VERSION='3.0.3'
  648. TIMESTAMP=''
  649. RM='rm -f'
  650. ofile='libtool'
  651. # Handling of arguments.
  652. for ac_config_target in $ac_config_targets
  653. do
  654. case $ac_config_target in
  655. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  656. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  657. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  658. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  659. esac
  660. done
  661. # If the user did not use the arguments to specify the items to instantiate,
  662. # then the envvar interface is used. Set only those that are not.
  663. # We use the long form for the default assignment because of an extremely
  664. # bizarre bug on SunOS 4.1.3.
  665. if $ac_need_defaults; then
  666. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  667. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  668. fi
  669. # Have a temporary directory for convenience. Make it in the build tree
  670. # simply because there is no reason against having it here, and in addition,
  671. # creating and moving files from /tmp can sometimes cause problems.
  672. # Hook for its removal unless debugging.
  673. # Note that there is a small window in which the directory will not be cleaned:
  674. # after its creation but before its name has been assigned to `$tmp'.
  675. $debug ||
  676. {
  677. tmp= ac_tmp=
  678. trap 'exit_status=$?
  679. : "${ac_tmp:=$tmp}"
  680. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  681. ' 0
  682. trap 'as_fn_exit 1' 1 2 13 15
  683. }
  684. # Create a (secure) tmp directory for tmp files.
  685. {
  686. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  687. test -d "$tmp"
  688. } ||
  689. {
  690. tmp=./conf$$-$RANDOM
  691. (umask 077 && mkdir "$tmp")
  692. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  693. ac_tmp=$tmp
  694. # Set up the scripts for CONFIG_FILES section.
  695. # No need to generate them if there are no CONFIG_FILES.
  696. # This happens for instance with `./config.status config.h'.
  697. if test -n "$CONFIG_FILES"; then
  698. ac_cr=`echo X | tr X '\015'`
  699. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  700. # But we know of no other shell where ac_cr would be empty at this
  701. # point, so we can use a bashism as a fallback.
  702. if test "x$ac_cr" = x; then
  703. eval ac_cr=\$\'\\r\'
  704. fi
  705. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  706. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  707. ac_cs_awk_cr='\\r'
  708. else
  709. ac_cs_awk_cr=$ac_cr
  710. fi
  711. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  712. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  713. S["am__EXEEXT_FALSE"]=""
  714. S["am__EXEEXT_TRUE"]="#"
  715. S["LTLIBOBJS"]=""
  716. S["LIBOBJS"]=""
  717. S["CPP"]="gcc -E"
  718. S["OTOOL64"]=""
  719. S["OTOOL"]=""
  720. S["LIPO"]=""
  721. S["NMEDIT"]=""
  722. S["DSYMUTIL"]=""
  723. S["MANIFEST_TOOL"]=":"
  724. S["RANLIB"]="ranlib"
  725. S["ac_ct_AR"]="ar"
  726. S["AR"]="ar"
  727. S["DLLTOOL"]="false"
  728. S["OBJDUMP"]="objdump"
  729. S["LN_S"]="ln -s"
  730. S["NM"]="/usr/bin/nm -B"
  731. S["ac_ct_DUMPBIN"]=""
  732. S["DUMPBIN"]=""
  733. S["LD"]="/usr/bin/ld -m elf_x86_64"
  734. S["FGREP"]="/usr/bin/grep -F"
  735. S["EGREP"]="/usr/bin/grep -E"
  736. S["GREP"]="/usr/bin/grep"
  737. S["SED"]="/usr/bin/sed"
  738. S["host_os"]="linux-gnu"
  739. S["host_vendor"]="unknown"
  740. S["host_cpu"]="x86_64"
  741. S["host"]="x86_64-unknown-linux-gnu"
  742. S["build_os"]="linux-gnu"
  743. S["build_vendor"]="unknown"
  744. S["build_cpu"]="x86_64"
  745. S["build"]="x86_64-unknown-linux-gnu"
  746. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  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"]="/usr/bin/mkdir -p"
  776. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  777. S["STRIP"]="strip"
  778. S["install_sh"]="${SHELL} /home/mara/work/feeder/feeder_lib/csv/libcsv/install-sh"
  779. S["MAKEINFO"]="${SHELL} /home/mara/work/feeder/feeder_lib/csv/libcsv/missing makeinfo"
  780. S["AUTOHEADER"]="${SHELL} /home/mara/work/feeder/feeder_lib/csv/libcsv/missing autoheader"
  781. S["AUTOMAKE"]="${SHELL} /home/mara/work/feeder/feeder_lib/csv/libcsv/missing automake-1.14"
  782. S["AUTOCONF"]="${SHELL} /home/mara/work/feeder/feeder_lib/csv/libcsv/missing autoconf"
  783. S["ACLOCAL"]="${SHELL} /home/mara/work/feeder/feeder_lib/csv/libcsv/missing aclocal-1.14"
  784. S["VERSION"]="3.0.3"
  785. S["PACKAGE"]="libcsv"
  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_alias"]=""
  792. S["host_alias"]=""
  793. S["build_alias"]=""
  794. S["LIBS"]=""
  795. S["ECHO_T"]=""
  796. S["ECHO_N"]="-n"
  797. S["ECHO_C"]=""
  798. S["DEFS"]="-DPACKAGE_NAME=\\\"libcsv\\\" -DPACKAGE_TARNAME=\\\"libcsv\\\" -DPACKAGE_VERSION=\\\"3.0.3\\\" -DPACKAGE_STRING=\\\"libcsv\\ 3.0.3\\\" -DPACKAGE_BUGREPORT=\\\"rgamble9"\
  799. "9@gmail.com\\\" -DPACKAGE_URL=\\\"https://github.com/rgamble/libcsv\\\" -DPACKAGE=\\\"libcsv\\\" -DVERSION=\\\"3.0.3\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DH"\
  800. "AVE_SYS_STAT_H=1 -DHAVE_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 -D"\
  801. "HAVE_DLFCN_H=1 -DLT_OBJDIR=\\\".libs/\\\""
  802. S["mandir"]="${datarootdir}/man"
  803. S["localedir"]="${datarootdir}/locale"
  804. S["libdir"]="${exec_prefix}/lib"
  805. S["psdir"]="${docdir}"
  806. S["pdfdir"]="${docdir}"
  807. S["dvidir"]="${docdir}"
  808. S["htmldir"]="${docdir}"
  809. S["infodir"]="${datarootdir}/info"
  810. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  811. S["oldincludedir"]="/usr/include"
  812. S["includedir"]="${prefix}/include"
  813. S["localstatedir"]="${prefix}/var"
  814. S["sharedstatedir"]="${prefix}/com"
  815. S["sysconfdir"]="${prefix}/etc"
  816. S["datadir"]="${datarootdir}"
  817. S["datarootdir"]="${prefix}/share"
  818. S["libexecdir"]="${exec_prefix}/libexec"
  819. S["sbindir"]="${exec_prefix}/sbin"
  820. S["bindir"]="${exec_prefix}/bin"
  821. S["program_transform_name"]="s,x,x,"
  822. S["prefix"]="/usr/local"
  823. S["exec_prefix"]="${prefix}"
  824. S["PACKAGE_URL"]="https://github.com/rgamble/libcsv"
  825. S["PACKAGE_BUGREPORT"]="rgamble99@gmail.com"
  826. S["PACKAGE_STRING"]="libcsv 3.0.3"
  827. S["PACKAGE_VERSION"]="3.0.3"
  828. S["PACKAGE_TARNAME"]="libcsv"
  829. S["PACKAGE_NAME"]="libcsv"
  830. S["PATH_SEPARATOR"]=":"
  831. S["SHELL"]="/bin/sh"
  832. _ACAWK
  833. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  834. for (key in S) S_is_set[key] = 1
  835. FS = ""
  836. }
  837. {
  838. line = $ 0
  839. nfields = split(line, field, "@")
  840. substed = 0
  841. len = length(field[1])
  842. for (i = 2; i < nfields; i++) {
  843. key = field[i]
  844. keylen = length(key)
  845. if (S_is_set[key]) {
  846. value = S[key]
  847. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  848. len += length(value) + length(field[++i])
  849. substed = 1
  850. } else
  851. len += 1 + keylen
  852. }
  853. print line
  854. }
  855. _ACAWK
  856. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  857. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  858. else
  859. cat
  860. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  861. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  862. fi # test -n "$CONFIG_FILES"
  863. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  864. shift
  865. for ac_tag
  866. do
  867. case $ac_tag in
  868. :[FHLC]) ac_mode=$ac_tag; continue;;
  869. esac
  870. case $ac_mode$ac_tag in
  871. :[FHL]*:*);;
  872. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  873. :[FH]-) ac_tag=-:-;;
  874. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  875. esac
  876. ac_save_IFS=$IFS
  877. IFS=:
  878. set x $ac_tag
  879. IFS=$ac_save_IFS
  880. shift
  881. ac_file=$1
  882. shift
  883. case $ac_mode in
  884. :L) ac_source=$1;;
  885. :[FH])
  886. ac_file_inputs=
  887. for ac_f
  888. do
  889. case $ac_f in
  890. -) ac_f="$ac_tmp/stdin";;
  891. *) # Look for the file first in the build tree, then in the source tree
  892. # (if the path is not absolute). The absolute path cannot be DOS-style,
  893. # because $ac_f cannot contain `:'.
  894. test -f "$ac_f" ||
  895. case $ac_f in
  896. [\\/$]*) false;;
  897. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  898. esac ||
  899. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  900. esac
  901. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  902. as_fn_append ac_file_inputs " '$ac_f'"
  903. done
  904. # Let's still pretend it is `configure' which instantiates (i.e., don't
  905. # use $as_me), people would be surprised to read:
  906. # /* config.h. Generated by config.status. */
  907. configure_input='Generated from '`
  908. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  909. `' by configure.'
  910. if test x"$ac_file" != x-; then
  911. configure_input="$ac_file. $configure_input"
  912. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  913. $as_echo "$as_me: creating $ac_file" >&6;}
  914. fi
  915. # Neutralize special characters interpreted by sed in replacement strings.
  916. case $configure_input in #(
  917. *\&* | *\|* | *\\* )
  918. ac_sed_conf_input=`$as_echo "$configure_input" |
  919. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  920. *) ac_sed_conf_input=$configure_input;;
  921. esac
  922. case $ac_tag in
  923. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  924. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  925. esac
  926. ;;
  927. esac
  928. ac_dir=`$as_dirname -- "$ac_file" ||
  929. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  930. X"$ac_file" : 'X\(//\)[^/]' \| \
  931. X"$ac_file" : 'X\(//\)$' \| \
  932. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  933. $as_echo X"$ac_file" |
  934. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  935. s//\1/
  936. q
  937. }
  938. /^X\(\/\/\)[^/].*/{
  939. s//\1/
  940. q
  941. }
  942. /^X\(\/\/\)$/{
  943. s//\1/
  944. q
  945. }
  946. /^X\(\/\).*/{
  947. s//\1/
  948. q
  949. }
  950. s/.*/./; q'`
  951. as_dir="$ac_dir"; as_fn_mkdir_p
  952. ac_builddir=.
  953. case "$ac_dir" in
  954. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  955. *)
  956. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  957. # A ".." for each directory in $ac_dir_suffix.
  958. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  959. case $ac_top_builddir_sub in
  960. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  961. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  962. esac ;;
  963. esac
  964. ac_abs_top_builddir=$ac_pwd
  965. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  966. # for backward compatibility:
  967. ac_top_builddir=$ac_top_build_prefix
  968. case $srcdir in
  969. .) # We are building in place.
  970. ac_srcdir=.
  971. ac_top_srcdir=$ac_top_builddir_sub
  972. ac_abs_top_srcdir=$ac_pwd ;;
  973. [\\/]* | ?:[\\/]* ) # Absolute name.
  974. ac_srcdir=$srcdir$ac_dir_suffix;
  975. ac_top_srcdir=$srcdir
  976. ac_abs_top_srcdir=$srcdir ;;
  977. *) # Relative name.
  978. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  979. ac_top_srcdir=$ac_top_build_prefix$srcdir
  980. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  981. esac
  982. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  983. case $ac_mode in
  984. :F)
  985. #
  986. # CONFIG_FILE
  987. #
  988. case $INSTALL in
  989. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  990. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  991. esac
  992. ac_MKDIR_P=$MKDIR_P
  993. case $MKDIR_P in
  994. [\\/$]* | ?:[\\/]* ) ;;
  995. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  996. esac
  997. # If the template does not know about datarootdir, expand it.
  998. # FIXME: This hack should be removed a few years after 2.60.
  999. ac_datarootdir_hack=; ac_datarootdir_seen=
  1000. ac_sed_dataroot='
  1001. /datarootdir/ {
  1002. p
  1003. q
  1004. }
  1005. /@datadir@/p
  1006. /@docdir@/p
  1007. /@infodir@/p
  1008. /@localedir@/p
  1009. /@mandir@/p'
  1010. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1011. *datarootdir*) ac_datarootdir_seen=yes;;
  1012. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1013. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1014. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1015. ac_datarootdir_hack='
  1016. s&@datadir@&${datarootdir}&g
  1017. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1018. s&@infodir@&${datarootdir}/info&g
  1019. s&@localedir@&${datarootdir}/locale&g
  1020. s&@mandir@&${datarootdir}/man&g
  1021. s&\${datarootdir}&${prefix}/share&g' ;;
  1022. esac
  1023. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  1024. h
  1025. s///
  1026. s/^/:/
  1027. s/[ ]*$/:/
  1028. s/:\$(srcdir):/:/g
  1029. s/:\${srcdir}:/:/g
  1030. s/:@srcdir@:/:/g
  1031. s/^:*//
  1032. s/:*$//
  1033. x
  1034. s/\(=[ ]*\).*/\1/
  1035. G
  1036. s/\n//
  1037. s/^[^=]*=[ ]*$//
  1038. }
  1039. :t
  1040. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1041. s|@configure_input@|$ac_sed_conf_input|;t t
  1042. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1043. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1044. s&@srcdir@&$ac_srcdir&;t t
  1045. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1046. s&@top_srcdir@&$ac_top_srcdir&;t t
  1047. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1048. s&@builddir@&$ac_builddir&;t t
  1049. s&@abs_builddir@&$ac_abs_builddir&;t t
  1050. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1051. s&@INSTALL@&$ac_INSTALL&;t t
  1052. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1053. $ac_datarootdir_hack
  1054. "
  1055. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1056. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1057. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1058. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1059. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  1060. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1061. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1062. which seems to be undefined. Please make sure it is defined" >&5
  1063. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1064. which seems to be undefined. Please make sure it is defined" >&2;}
  1065. rm -f "$ac_tmp/stdin"
  1066. case $ac_file in
  1067. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1068. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1069. esac \
  1070. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1071. ;;
  1072. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1073. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1074. ;;
  1075. esac
  1076. case $ac_file$ac_mode in
  1077. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1078. # Older Autoconf quotes --file arguments for eval, but not when files
  1079. # are listed without --file. Let's play safe and only enable the eval
  1080. # if we detect the quoting.
  1081. case $CONFIG_FILES in
  1082. *\'*) eval set x "$CONFIG_FILES" ;;
  1083. *) set x $CONFIG_FILES ;;
  1084. esac
  1085. shift
  1086. for mf
  1087. do
  1088. # Strip MF so we end up with the name of the file.
  1089. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1090. # Check whether this is an Automake generated Makefile or not.
  1091. # We used to match only the files named 'Makefile.in', but
  1092. # some people rename them; so instead we look at the file content.
  1093. # Grep'ing the first line is not enough: some people post-process
  1094. # each Makefile.in and add a new line on top of each file to say so.
  1095. # Grep'ing the whole file is not good either: AIX grep has a line
  1096. # limit of 2048, but all sed's we know have understand at least 4000.
  1097. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1098. dirpart=`$as_dirname -- "$mf" ||
  1099. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1100. X"$mf" : 'X\(//\)[^/]' \| \
  1101. X"$mf" : 'X\(//\)$' \| \
  1102. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1103. $as_echo X"$mf" |
  1104. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1105. s//\1/
  1106. q
  1107. }
  1108. /^X\(\/\/\)[^/].*/{
  1109. s//\1/
  1110. q
  1111. }
  1112. /^X\(\/\/\)$/{
  1113. s//\1/
  1114. q
  1115. }
  1116. /^X\(\/\).*/{
  1117. s//\1/
  1118. q
  1119. }
  1120. s/.*/./; q'`
  1121. else
  1122. continue
  1123. fi
  1124. # Extract the definition of DEPDIR, am__include, and am__quote
  1125. # from the Makefile without running 'make'.
  1126. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1127. test -z "$DEPDIR" && continue
  1128. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1129. test -z "$am__include" && continue
  1130. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1131. # Find all dependency output files, they are included files with
  1132. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1133. # simplest approach to changing $(DEPDIR) to its actual value in the
  1134. # expansion.
  1135. for file in `sed -n "
  1136. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1137. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  1138. # Make sure the directory exists.
  1139. test -f "$dirpart/$file" && continue
  1140. fdir=`$as_dirname -- "$file" ||
  1141. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1142. X"$file" : 'X\(//\)[^/]' \| \
  1143. X"$file" : 'X\(//\)$' \| \
  1144. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1145. $as_echo X"$file" |
  1146. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1147. s//\1/
  1148. q
  1149. }
  1150. /^X\(\/\/\)[^/].*/{
  1151. s//\1/
  1152. q
  1153. }
  1154. /^X\(\/\/\)$/{
  1155. s//\1/
  1156. q
  1157. }
  1158. /^X\(\/\).*/{
  1159. s//\1/
  1160. q
  1161. }
  1162. s/.*/./; q'`
  1163. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1164. # echo "creating $dirpart/$file"
  1165. echo '# dummy' > "$dirpart/$file"
  1166. done
  1167. done
  1168. }
  1169. ;;
  1170. "libtool":C)
  1171. # See if we are running on zsh, and set the options which allow our
  1172. # commands through without removal of \ escapes.
  1173. if test -n "${ZSH_VERSION+set}" ; then
  1174. setopt NO_GLOB_SUBST
  1175. fi
  1176. cfgfile="${ofile}T"
  1177. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1178. $RM "$cfgfile"
  1179. cat <<_LT_EOF >> "$cfgfile"
  1180. #! $SHELL
  1181. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  1182. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1183. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1184. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1185. #
  1186. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  1187. # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  1188. # Foundation, Inc.
  1189. # Written by Gordon Matzigkeit, 1996
  1190. #
  1191. # This file is part of GNU Libtool.
  1192. #
  1193. # GNU Libtool is free software; you can redistribute it and/or
  1194. # modify it under the terms of the GNU General Public License as
  1195. # published by the Free Software Foundation; either version 2 of
  1196. # the License, or (at your option) any later version.
  1197. #
  1198. # As a special exception to the GNU General Public License,
  1199. # if you distribute this file as part of a program or library that
  1200. # is built using GNU Libtool, you may include this file under the
  1201. # same distribution terms that you use for the rest of that program.
  1202. #
  1203. # GNU Libtool is distributed in the hope that it will be useful,
  1204. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1205. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1206. # GNU General Public License for more details.
  1207. #
  1208. # You should have received a copy of the GNU General Public License
  1209. # along with GNU Libtool; see the file COPYING. If not, a copy
  1210. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  1211. # obtained by writing to the Free Software Foundation, Inc.,
  1212. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  1213. # The names of the tagged configurations supported by this script.
  1214. available_tags=""
  1215. # ### BEGIN LIBTOOL CONFIG
  1216. # Which release of libtool.m4 was used?
  1217. macro_version=$macro_version
  1218. macro_revision=$macro_revision
  1219. # Whether or not to build shared libraries.
  1220. build_libtool_libs=$enable_shared
  1221. # Whether or not to build static libraries.
  1222. build_old_libs=$enable_static
  1223. # What type of objects to build.
  1224. pic_mode=$pic_mode
  1225. # Whether or not to optimize for fast installation.
  1226. fast_install=$enable_fast_install
  1227. # Shell to use when invoking shell scripts.
  1228. SHELL=$lt_SHELL
  1229. # An echo program that protects backslashes.
  1230. ECHO=$lt_ECHO
  1231. # The PATH separator for the build system.
  1232. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  1233. # The host system.
  1234. host_alias=$host_alias
  1235. host=$host
  1236. host_os=$host_os
  1237. # The build system.
  1238. build_alias=$build_alias
  1239. build=$build
  1240. build_os=$build_os
  1241. # A sed program that does not truncate output.
  1242. SED=$lt_SED
  1243. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1244. Xsed="\$SED -e 1s/^X//"
  1245. # A grep program that handles long lines.
  1246. GREP=$lt_GREP
  1247. # An ERE matcher.
  1248. EGREP=$lt_EGREP
  1249. # A literal string matcher.
  1250. FGREP=$lt_FGREP
  1251. # A BSD- or MS-compatible name lister.
  1252. NM=$lt_NM
  1253. # Whether we need soft or hard links.
  1254. LN_S=$lt_LN_S
  1255. # What is the maximum length of a command?
  1256. max_cmd_len=$max_cmd_len
  1257. # Object file suffix (normally "o").
  1258. objext=$ac_objext
  1259. # Executable file suffix (normally "").
  1260. exeext=$exeext
  1261. # whether the shell understands "unset".
  1262. lt_unset=$lt_unset
  1263. # turn spaces into newlines.
  1264. SP2NL=$lt_lt_SP2NL
  1265. # turn newlines into spaces.
  1266. NL2SP=$lt_lt_NL2SP
  1267. # convert \$build file names to \$host format.
  1268. to_host_file_cmd=$lt_cv_to_host_file_cmd
  1269. # convert \$build files to toolchain format.
  1270. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  1271. # An object symbol dumper.
  1272. OBJDUMP=$lt_OBJDUMP
  1273. # Method to check whether dependent libraries are shared objects.
  1274. deplibs_check_method=$lt_deplibs_check_method
  1275. # Command to use when deplibs_check_method = "file_magic".
  1276. file_magic_cmd=$lt_file_magic_cmd
  1277. # How to find potential files when deplibs_check_method = "file_magic".
  1278. file_magic_glob=$lt_file_magic_glob
  1279. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  1280. want_nocaseglob=$lt_want_nocaseglob
  1281. # DLL creation program.
  1282. DLLTOOL=$lt_DLLTOOL
  1283. # Command to associate shared and link libraries.
  1284. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  1285. # The archiver.
  1286. AR=$lt_AR
  1287. # Flags to create an archive.
  1288. AR_FLAGS=$lt_AR_FLAGS
  1289. # How to feed a file listing to the archiver.
  1290. archiver_list_spec=$lt_archiver_list_spec
  1291. # A symbol stripping program.
  1292. STRIP=$lt_STRIP
  1293. # Commands used to install an old-style archive.
  1294. RANLIB=$lt_RANLIB
  1295. old_postinstall_cmds=$lt_old_postinstall_cmds
  1296. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1297. # Whether to use a lock for old archive extraction.
  1298. lock_old_archive_extraction=$lock_old_archive_extraction
  1299. # A C compiler.
  1300. LTCC=$lt_CC
  1301. # LTCC compiler flags.
  1302. LTCFLAGS=$lt_CFLAGS
  1303. # Take the output of nm and produce a listing of raw symbols and C names.
  1304. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1305. # Transform the output of nm in a proper C declaration.
  1306. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1307. # Transform the output of nm in a C name address pair.
  1308. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1309. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1310. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1311. # Specify filename containing input files for \$NM.
  1312. nm_file_list_spec=$lt_nm_file_list_spec
  1313. # The root where to search for dependent libraries,and in which our libraries should be installed.
  1314. lt_sysroot=$lt_sysroot
  1315. # The name of the directory that contains temporary libtool files.
  1316. objdir=$objdir
  1317. # Used to examine libraries when file_magic_cmd begins with "file".
  1318. MAGIC_CMD=$MAGIC_CMD
  1319. # Must we lock files when doing compilation?
  1320. need_locks=$lt_need_locks
  1321. # Manifest tool.
  1322. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  1323. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1324. DSYMUTIL=$lt_DSYMUTIL
  1325. # Tool to change global to local symbols on Mac OS X.
  1326. NMEDIT=$lt_NMEDIT
  1327. # Tool to manipulate fat objects and archives on Mac OS X.
  1328. LIPO=$lt_LIPO
  1329. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1330. OTOOL=$lt_OTOOL
  1331. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1332. OTOOL64=$lt_OTOOL64
  1333. # Old archive suffix (normally "a").
  1334. libext=$libext
  1335. # Shared library suffix (normally ".so").
  1336. shrext_cmds=$lt_shrext_cmds
  1337. # The commands to extract the exported symbol list from a shared archive.
  1338. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1339. # Variables whose values should be saved in libtool wrapper scripts and
  1340. # restored at link time.
  1341. variables_saved_for_relink=$lt_variables_saved_for_relink
  1342. # Do we need the "lib" prefix for modules?
  1343. need_lib_prefix=$need_lib_prefix
  1344. # Do we need a version for libraries?
  1345. need_version=$need_version
  1346. # Library versioning type.
  1347. version_type=$version_type
  1348. # Shared library runtime path variable.
  1349. runpath_var=$runpath_var
  1350. # Shared library path variable.
  1351. shlibpath_var=$shlibpath_var
  1352. # Is shlibpath searched before the hard-coded library search path?
  1353. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1354. # Format of library name prefix.
  1355. libname_spec=$lt_libname_spec
  1356. # List of archive names. First name is the real one, the rest are links.
  1357. # The last name is the one that the linker finds with -lNAME
  1358. library_names_spec=$lt_library_names_spec
  1359. # The coded name of the library, if different from the real name.
  1360. soname_spec=$lt_soname_spec
  1361. # Permission mode override for installation of shared libraries.
  1362. install_override_mode=$lt_install_override_mode
  1363. # Command to use after installation of a shared archive.
  1364. postinstall_cmds=$lt_postinstall_cmds
  1365. # Command to use after uninstallation of a shared archive.
  1366. postuninstall_cmds=$lt_postuninstall_cmds
  1367. # Commands used to finish a libtool library installation in a directory.
  1368. finish_cmds=$lt_finish_cmds
  1369. # As "finish_cmds", except a single script fragment to be evaled but
  1370. # not shown.
  1371. finish_eval=$lt_finish_eval
  1372. # Whether we should hardcode library paths into libraries.
  1373. hardcode_into_libs=$hardcode_into_libs
  1374. # Compile-time system search path for libraries.
  1375. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1376. # Run-time system search path for libraries.
  1377. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  1378. # Whether dlopen is supported.
  1379. dlopen_support=$enable_dlopen
  1380. # Whether dlopen of programs is supported.
  1381. dlopen_self=$enable_dlopen_self
  1382. # Whether dlopen of statically linked programs is supported.
  1383. dlopen_self_static=$enable_dlopen_self_static
  1384. # Commands to strip libraries.
  1385. old_striplib=$lt_old_striplib
  1386. striplib=$lt_striplib
  1387. # The linker used to build libraries.
  1388. LD=$lt_LD
  1389. # How to create reloadable object files.
  1390. reload_flag=$lt_reload_flag
  1391. reload_cmds=$lt_reload_cmds
  1392. # Commands used to build an old-style archive.
  1393. old_archive_cmds=$lt_old_archive_cmds
  1394. # A language specific compiler.
  1395. CC=$lt_compiler
  1396. # Is the compiler the GNU compiler?
  1397. with_gcc=$GCC
  1398. # Compiler flag to turn off builtin functions.
  1399. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1400. # Additional compiler flags for building library objects.
  1401. pic_flag=$lt_lt_prog_compiler_pic
  1402. # How to pass a linker flag through the compiler.
  1403. wl=$lt_lt_prog_compiler_wl
  1404. # Compiler flag to prevent dynamic linking.
  1405. link_static_flag=$lt_lt_prog_compiler_static
  1406. # Does compiler simultaneously support -c and -o options?
  1407. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1408. # Whether or not to add -lc for building shared libraries.
  1409. build_libtool_need_lc=$archive_cmds_need_lc
  1410. # Whether or not to disallow shared libs when runtime libs are static.
  1411. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1412. # Compiler flag to allow reflexive dlopens.
  1413. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1414. # Compiler flag to generate shared objects directly from archives.
  1415. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1416. # Whether the compiler copes with passing no objects directly.
  1417. compiler_needs_object=$lt_compiler_needs_object
  1418. # Create an old-style archive from a shared archive.
  1419. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1420. # Create a temporary old-style archive to link instead of a shared archive.
  1421. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1422. # Commands used to build a shared archive.
  1423. archive_cmds=$lt_archive_cmds
  1424. archive_expsym_cmds=$lt_archive_expsym_cmds
  1425. # Commands used to build a loadable module if different from building
  1426. # a shared archive.
  1427. module_cmds=$lt_module_cmds
  1428. module_expsym_cmds=$lt_module_expsym_cmds
  1429. # Whether we are building with GNU ld or not.
  1430. with_gnu_ld=$lt_with_gnu_ld
  1431. # Flag that allows shared libraries with undefined symbols to be built.
  1432. allow_undefined_flag=$lt_allow_undefined_flag
  1433. # Flag that enforces no undefined symbols.
  1434. no_undefined_flag=$lt_no_undefined_flag
  1435. # Flag to hardcode \$libdir into a binary during linking.
  1436. # This must work even if \$libdir does not exist
  1437. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1438. # Whether we need a single "-rpath" flag with a separated argument.
  1439. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1440. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1441. # DIR into the resulting binary.
  1442. hardcode_direct=$hardcode_direct
  1443. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1444. # DIR into the resulting binary and the resulting library dependency is
  1445. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1446. # library is relocated.
  1447. hardcode_direct_absolute=$hardcode_direct_absolute
  1448. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1449. # into the resulting binary.
  1450. hardcode_minus_L=$hardcode_minus_L
  1451. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1452. # into the resulting binary.
  1453. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1454. # Set to "yes" if building a shared library automatically hardcodes DIR
  1455. # into the library and all subsequent libraries and executables linked
  1456. # against it.
  1457. hardcode_automatic=$hardcode_automatic
  1458. # Set to yes if linker adds runtime paths of dependent libraries
  1459. # to runtime path list.
  1460. inherit_rpath=$inherit_rpath
  1461. # Whether libtool must link a program against all its dependency libraries.
  1462. link_all_deplibs=$link_all_deplibs
  1463. # Set to "yes" if exported symbols are required.
  1464. always_export_symbols=$always_export_symbols
  1465. # The commands to list exported symbols.
  1466. export_symbols_cmds=$lt_export_symbols_cmds
  1467. # Symbols that should not be listed in the preloaded symbols.
  1468. exclude_expsyms=$lt_exclude_expsyms
  1469. # Symbols that must always be exported.
  1470. include_expsyms=$lt_include_expsyms
  1471. # Commands necessary for linking programs (against libraries) with templates.
  1472. prelink_cmds=$lt_prelink_cmds
  1473. # Commands necessary for finishing linking programs.
  1474. postlink_cmds=$lt_postlink_cmds
  1475. # Specify filename containing input files.
  1476. file_list_spec=$lt_file_list_spec
  1477. # How to hardcode a shared library path into an executable.
  1478. hardcode_action=$hardcode_action
  1479. # ### END LIBTOOL CONFIG
  1480. _LT_EOF
  1481. case $host_os in
  1482. aix3*)
  1483. cat <<\_LT_EOF >> "$cfgfile"
  1484. # AIX sometimes has problems with the GCC collect2 program. For some
  1485. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1486. # vanish in a puff of smoke.
  1487. if test "X${COLLECT_NAMES+set}" != Xset; then
  1488. COLLECT_NAMES=
  1489. export COLLECT_NAMES
  1490. fi
  1491. _LT_EOF
  1492. ;;
  1493. esac
  1494. ltmain="$ac_aux_dir/ltmain.sh"
  1495. # We use sed instead of cat because bash on DJGPP gets confused if
  1496. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  1497. # text mode, it properly converts lines to CR/LF. This bash problem
  1498. # is reportedly fixed, but why not run on old versions too?
  1499. sed '$q' "$ltmain" >> "$cfgfile" \
  1500. || (rm -f "$cfgfile"; exit 1)
  1501. if test x"$xsi_shell" = xyes; then
  1502. sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  1503. func_dirname ()\
  1504. {\
  1505. \ case ${1} in\
  1506. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  1507. \ * ) func_dirname_result="${3}" ;;\
  1508. \ esac\
  1509. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  1510. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1511. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1512. test 0 -eq $? || _lt_function_replace_fail=:
  1513. sed -e '/^func_basename ()$/,/^} # func_basename /c\
  1514. func_basename ()\
  1515. {\
  1516. \ func_basename_result="${1##*/}"\
  1517. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  1518. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1519. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1520. test 0 -eq $? || _lt_function_replace_fail=:
  1521. sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  1522. func_dirname_and_basename ()\
  1523. {\
  1524. \ case ${1} in\
  1525. \ */*) func_dirname_result="${1%/*}${2}" ;;\
  1526. \ * ) func_dirname_result="${3}" ;;\
  1527. \ esac\
  1528. \ func_basename_result="${1##*/}"\
  1529. } # Extended-shell func_dirname_and_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_stripname ()$/,/^} # func_stripname /c\
  1534. func_stripname ()\
  1535. {\
  1536. \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  1537. \ # positional parameters, so assign one to ordinary parameter first.\
  1538. \ func_stripname_result=${3}\
  1539. \ func_stripname_result=${func_stripname_result#"${1}"}\
  1540. \ func_stripname_result=${func_stripname_result%"${2}"}\
  1541. } # Extended-shell func_stripname 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_split_long_opt ()$/,/^} # func_split_long_opt /c\
  1546. func_split_long_opt ()\
  1547. {\
  1548. \ func_split_long_opt_name=${1%%=*}\
  1549. \ func_split_long_opt_arg=${1#*=}\
  1550. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  1551. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1552. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1553. test 0 -eq $? || _lt_function_replace_fail=:
  1554. sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  1555. func_split_short_opt ()\
  1556. {\
  1557. \ func_split_short_opt_arg=${1#??}\
  1558. \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  1559. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  1560. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1561. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1562. test 0 -eq $? || _lt_function_replace_fail=:
  1563. sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  1564. func_lo2o ()\
  1565. {\
  1566. \ case ${1} in\
  1567. \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  1568. \ *) func_lo2o_result=${1} ;;\
  1569. \ esac\
  1570. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  1571. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1572. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1573. test 0 -eq $? || _lt_function_replace_fail=:
  1574. sed -e '/^func_xform ()$/,/^} # func_xform /c\
  1575. func_xform ()\
  1576. {\
  1577. func_xform_result=${1%.*}.lo\
  1578. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  1579. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1580. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1581. test 0 -eq $? || _lt_function_replace_fail=:
  1582. sed -e '/^func_arith ()$/,/^} # func_arith /c\
  1583. func_arith ()\
  1584. {\
  1585. func_arith_result=$(( $* ))\
  1586. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  1587. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1588. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1589. test 0 -eq $? || _lt_function_replace_fail=:
  1590. sed -e '/^func_len ()$/,/^} # func_len /c\
  1591. func_len ()\
  1592. {\
  1593. func_len_result=${#1}\
  1594. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  1595. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1596. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1597. test 0 -eq $? || _lt_function_replace_fail=:
  1598. fi
  1599. if test x"$lt_shell_append" = xyes; then
  1600. sed -e '/^func_append ()$/,/^} # func_append /c\
  1601. func_append ()\
  1602. {\
  1603. eval "${1}+=\\${2}"\
  1604. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  1605. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1606. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1607. test 0 -eq $? || _lt_function_replace_fail=:
  1608. sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  1609. func_append_quoted ()\
  1610. {\
  1611. \ func_quote_for_eval "${2}"\
  1612. \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  1613. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  1614. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1615. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1616. test 0 -eq $? || _lt_function_replace_fail=:
  1617. # Save a `func_append' function call where possible by direct use of '+='
  1618. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  1619. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1620. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1621. test 0 -eq $? || _lt_function_replace_fail=:
  1622. else
  1623. # Save a `func_append' function call even when '+=' is not available
  1624. sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  1625. && mv -f "$cfgfile.tmp" "$cfgfile" \
  1626. || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1627. test 0 -eq $? || _lt_function_replace_fail=:
  1628. fi
  1629. if test x"$_lt_function_replace_fail" = x":"; then
  1630. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  1631. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  1632. fi
  1633. mv -f "$cfgfile" "$ofile" ||
  1634. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  1635. chmod +x "$ofile"
  1636. ;;
  1637. esac
  1638. done # for ac_tag
  1639. as_fn_exit 0