config.status 68 KB

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