Ingen beskrivning
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 149KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for lodel 0.1.
  4. #
  5. # Report bugs to <contact@openedition.org>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. as_myself=
  86. case $0 in #((
  87. *[\\/]* ) as_myself=$0 ;;
  88. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  89. for as_dir in $PATH
  90. do
  91. IFS=$as_save_IFS
  92. test -z "$as_dir" && as_dir=.
  93. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  94. done
  95. IFS=$as_save_IFS
  96. ;;
  97. esac
  98. # We did not find ourselves, most probably we were run as `sh COMMAND'
  99. # in which case we are not to be found in the path.
  100. if test "x$as_myself" = x; then
  101. as_myself=$0
  102. fi
  103. if test ! -f "$as_myself"; then
  104. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  105. exit 1
  106. fi
  107. # Unset variables that we do not need and which cause bugs (e.g. in
  108. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  109. # suppresses any "Segmentation fault" message there. '((' could
  110. # trigger a bug in pdksh 5.2.14.
  111. for as_var in BASH_ENV ENV MAIL MAILPATH
  112. do eval test x\${$as_var+set} = xset \
  113. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  114. done
  115. PS1='$ '
  116. PS2='> '
  117. PS4='+ '
  118. # NLS nuisances.
  119. LC_ALL=C
  120. export LC_ALL
  121. LANGUAGE=C
  122. export LANGUAGE
  123. # CDPATH.
  124. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  125. # Use a proper internal environment variable to ensure we don't fall
  126. # into an infinite loop, continuously re-executing ourselves.
  127. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  128. _as_can_reexec=no; export _as_can_reexec;
  129. # We cannot yet assume a decent shell, so we have to provide a
  130. # neutralization value for shells without unset; and this also
  131. # works around shells that cannot unset nonexistent variables.
  132. # Preserve -v and -x to the replacement shell.
  133. BASH_ENV=/dev/null
  134. ENV=/dev/null
  135. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  136. case $- in # ((((
  137. *v*x* | *x*v* ) as_opts=-vx ;;
  138. *v* ) as_opts=-v ;;
  139. *x* ) as_opts=-x ;;
  140. * ) as_opts= ;;
  141. esac
  142. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  143. # Admittedly, this is quite paranoid, since all the known shells bail
  144. # out after a failed `exec'.
  145. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  146. as_fn_exit 255
  147. fi
  148. # We don't want this to propagate to other subprocesses.
  149. { _as_can_reexec=; unset _as_can_reexec;}
  150. if test "x$CONFIG_SHELL" = x; then
  151. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  152. emulate sh
  153. NULLCMD=:
  154. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  155. # is contrary to our usage. Disable this feature.
  156. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  157. setopt NO_GLOB_SUBST
  158. else
  159. case \`(set -o) 2>/dev/null\` in #(
  160. *posix*) :
  161. set -o posix ;; #(
  162. *) :
  163. ;;
  164. esac
  165. fi
  166. "
  167. as_required="as_fn_return () { (exit \$1); }
  168. as_fn_success () { as_fn_return 0; }
  169. as_fn_failure () { as_fn_return 1; }
  170. as_fn_ret_success () { return 0; }
  171. as_fn_ret_failure () { return 1; }
  172. exitcode=0
  173. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  174. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  175. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  176. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  177. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  178. else
  179. exitcode=1; echo positional parameters were not saved.
  180. fi
  181. test x\$exitcode = x0 || exit 1
  182. test -x / || exit 1"
  183. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  184. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  185. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  186. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
  187. if (eval "$as_required") 2>/dev/null; then :
  188. as_have_required=yes
  189. else
  190. as_have_required=no
  191. fi
  192. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  193. else
  194. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  195. as_found=false
  196. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  197. do
  198. IFS=$as_save_IFS
  199. test -z "$as_dir" && as_dir=.
  200. as_found=:
  201. case $as_dir in #(
  202. /*)
  203. for as_base in sh bash ksh sh5; do
  204. # Try only shells that exist, to save several forks.
  205. as_shell=$as_dir/$as_base
  206. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  207. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  208. CONFIG_SHELL=$as_shell as_have_required=yes
  209. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  210. break 2
  211. fi
  212. fi
  213. done;;
  214. esac
  215. as_found=false
  216. done
  217. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  218. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  219. CONFIG_SHELL=$SHELL as_have_required=yes
  220. fi; }
  221. IFS=$as_save_IFS
  222. if test "x$CONFIG_SHELL" != x; then :
  223. export CONFIG_SHELL
  224. # We cannot yet assume a decent shell, so we have to provide a
  225. # neutralization value for shells without unset; and this also
  226. # works around shells that cannot unset nonexistent variables.
  227. # Preserve -v and -x to the replacement shell.
  228. BASH_ENV=/dev/null
  229. ENV=/dev/null
  230. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  231. case $- in # ((((
  232. *v*x* | *x*v* ) as_opts=-vx ;;
  233. *v* ) as_opts=-v ;;
  234. *x* ) as_opts=-x ;;
  235. * ) as_opts= ;;
  236. esac
  237. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  238. # Admittedly, this is quite paranoid, since all the known shells bail
  239. # out after a failed `exec'.
  240. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  241. exit 255
  242. fi
  243. if test x$as_have_required = xno; then :
  244. $as_echo "$0: This script requires a shell more modern than all"
  245. $as_echo "$0: the shells that I found on your system."
  246. if test x${ZSH_VERSION+set} = xset ; then
  247. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  248. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  249. else
  250. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  251. $0: contact@openedition.org about your system, including
  252. $0: any error possibly output before this message. Then
  253. $0: install a modern shell, or manually run the script
  254. $0: under such a shell if you do have one."
  255. fi
  256. exit 1
  257. fi
  258. fi
  259. fi
  260. SHELL=${CONFIG_SHELL-/bin/sh}
  261. export SHELL
  262. # Unset more variables known to interfere with behavior of common tools.
  263. CLICOLOR_FORCE= GREP_OPTIONS=
  264. unset CLICOLOR_FORCE GREP_OPTIONS
  265. ## --------------------- ##
  266. ## M4sh Shell Functions. ##
  267. ## --------------------- ##
  268. # as_fn_unset VAR
  269. # ---------------
  270. # Portably unset VAR.
  271. as_fn_unset ()
  272. {
  273. { eval $1=; unset $1;}
  274. }
  275. as_unset=as_fn_unset
  276. # as_fn_set_status STATUS
  277. # -----------------------
  278. # Set $? to STATUS, without forking.
  279. as_fn_set_status ()
  280. {
  281. return $1
  282. } # as_fn_set_status
  283. # as_fn_exit STATUS
  284. # -----------------
  285. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  286. as_fn_exit ()
  287. {
  288. set +e
  289. as_fn_set_status $1
  290. exit $1
  291. } # as_fn_exit
  292. # as_fn_mkdir_p
  293. # -------------
  294. # Create "$as_dir" as a directory, including parents if necessary.
  295. as_fn_mkdir_p ()
  296. {
  297. case $as_dir in #(
  298. -*) as_dir=./$as_dir;;
  299. esac
  300. test -d "$as_dir" || eval $as_mkdir_p || {
  301. as_dirs=
  302. while :; do
  303. case $as_dir in #(
  304. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  305. *) as_qdir=$as_dir;;
  306. esac
  307. as_dirs="'$as_qdir' $as_dirs"
  308. as_dir=`$as_dirname -- "$as_dir" ||
  309. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  310. X"$as_dir" : 'X\(//\)[^/]' \| \
  311. X"$as_dir" : 'X\(//\)$' \| \
  312. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  313. $as_echo X"$as_dir" |
  314. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  315. s//\1/
  316. q
  317. }
  318. /^X\(\/\/\)[^/].*/{
  319. s//\1/
  320. q
  321. }
  322. /^X\(\/\/\)$/{
  323. s//\1/
  324. q
  325. }
  326. /^X\(\/\).*/{
  327. s//\1/
  328. q
  329. }
  330. s/.*/./; q'`
  331. test -d "$as_dir" && break
  332. done
  333. test -z "$as_dirs" || eval "mkdir $as_dirs"
  334. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  335. } # as_fn_mkdir_p
  336. # as_fn_executable_p FILE
  337. # -----------------------
  338. # Test if FILE is an executable regular file.
  339. as_fn_executable_p ()
  340. {
  341. test -f "$1" && test -x "$1"
  342. } # as_fn_executable_p
  343. # as_fn_append VAR VALUE
  344. # ----------------------
  345. # Append the text in VALUE to the end of the definition contained in VAR. Take
  346. # advantage of any shell optimizations that allow amortized linear growth over
  347. # repeated appends, instead of the typical quadratic growth present in naive
  348. # implementations.
  349. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  350. eval 'as_fn_append ()
  351. {
  352. eval $1+=\$2
  353. }'
  354. else
  355. as_fn_append ()
  356. {
  357. eval $1=\$$1\$2
  358. }
  359. fi # as_fn_append
  360. # as_fn_arith ARG...
  361. # ------------------
  362. # Perform arithmetic evaluation on the ARGs, and store the result in the
  363. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  364. # must be portable across $(()) and expr.
  365. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  366. eval 'as_fn_arith ()
  367. {
  368. as_val=$(( $* ))
  369. }'
  370. else
  371. as_fn_arith ()
  372. {
  373. as_val=`expr "$@" || test $? -eq 1`
  374. }
  375. fi # as_fn_arith
  376. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  377. # ----------------------------------------
  378. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  379. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  380. # script with STATUS, using 1 if that was 0.
  381. as_fn_error ()
  382. {
  383. as_status=$1; test $as_status -eq 0 && as_status=1
  384. if test "$4"; then
  385. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  386. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  387. fi
  388. $as_echo "$as_me: error: $2" >&2
  389. as_fn_exit $as_status
  390. } # as_fn_error
  391. if expr a : '\(a\)' >/dev/null 2>&1 &&
  392. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  393. as_expr=expr
  394. else
  395. as_expr=false
  396. fi
  397. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  398. as_basename=basename
  399. else
  400. as_basename=false
  401. fi
  402. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  403. as_dirname=dirname
  404. else
  405. as_dirname=false
  406. fi
  407. as_me=`$as_basename -- "$0" ||
  408. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  409. X"$0" : 'X\(//\)$' \| \
  410. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  411. $as_echo X/"$0" |
  412. sed '/^.*\/\([^/][^/]*\)\/*$/{
  413. s//\1/
  414. q
  415. }
  416. /^X\/\(\/\/\)$/{
  417. s//\1/
  418. q
  419. }
  420. /^X\/\(\/\).*/{
  421. s//\1/
  422. q
  423. }
  424. s/.*/./; q'`
  425. # Avoid depending upon Character Ranges.
  426. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  427. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  428. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  429. as_cr_digits='0123456789'
  430. as_cr_alnum=$as_cr_Letters$as_cr_digits
  431. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  432. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  433. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  434. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  435. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  436. sed -n '
  437. p
  438. /[$]LINENO/=
  439. ' <$as_myself |
  440. sed '
  441. s/[$]LINENO.*/&-/
  442. t lineno
  443. b
  444. :lineno
  445. N
  446. :loop
  447. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  448. t loop
  449. s/-\n.*//
  450. ' >$as_me.lineno &&
  451. chmod +x "$as_me.lineno" ||
  452. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  453. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  454. # already done that, so ensure we don't try to do so again and fall
  455. # in an infinite loop. This has already happened in practice.
  456. _as_can_reexec=no; export _as_can_reexec
  457. # Don't try to exec as it changes $[0], causing all sort of problems
  458. # (the dirname of $[0] is not the place where we might find the
  459. # original and so on. Autoconf is especially sensitive to this).
  460. . "./$as_me.lineno"
  461. # Exit status is that of the last command.
  462. exit
  463. }
  464. ECHO_C= ECHO_N= ECHO_T=
  465. case `echo -n x` in #(((((
  466. -n*)
  467. case `echo 'xy\c'` in
  468. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  469. xy) ECHO_C='\c';;
  470. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  471. ECHO_T=' ';;
  472. esac;;
  473. *)
  474. ECHO_N='-n';;
  475. esac
  476. rm -f conf$$ conf$$.exe conf$$.file
  477. if test -d conf$$.dir; then
  478. rm -f conf$$.dir/conf$$.file
  479. else
  480. rm -f conf$$.dir
  481. mkdir conf$$.dir 2>/dev/null
  482. fi
  483. if (echo >conf$$.file) 2>/dev/null; then
  484. if ln -s conf$$.file conf$$ 2>/dev/null; then
  485. as_ln_s='ln -s'
  486. # ... but there are two gotchas:
  487. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  488. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  489. # In both cases, we have to default to `cp -pR'.
  490. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  491. as_ln_s='cp -pR'
  492. elif ln conf$$.file conf$$ 2>/dev/null; then
  493. as_ln_s=ln
  494. else
  495. as_ln_s='cp -pR'
  496. fi
  497. else
  498. as_ln_s='cp -pR'
  499. fi
  500. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  501. rmdir conf$$.dir 2>/dev/null
  502. if mkdir -p . 2>/dev/null; then
  503. as_mkdir_p='mkdir -p "$as_dir"'
  504. else
  505. test -d ./-p && rmdir ./-p
  506. as_mkdir_p=false
  507. fi
  508. as_test_x='test -x'
  509. as_executable_p=as_fn_executable_p
  510. # Sed expression to map a string onto a valid CPP name.
  511. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  512. # Sed expression to map a string onto a valid variable name.
  513. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  514. test -n "$DJDIR" || exec 7<&0 </dev/null
  515. exec 6>&1
  516. # Name of the host.
  517. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  518. # so uname gets run too.
  519. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  520. #
  521. # Initializations.
  522. #
  523. ac_default_prefix=/usr/local
  524. ac_clean_files=
  525. ac_config_libobj_dir=.
  526. LIBOBJS=
  527. cross_compiling=no
  528. subdirs=
  529. MFLAGS=
  530. MAKEFLAGS=
  531. # Identity of this package.
  532. PACKAGE_NAME='lodel'
  533. PACKAGE_TARNAME='lodel'
  534. PACKAGE_VERSION='0.1'
  535. PACKAGE_STRING='lodel 0.1'
  536. PACKAGE_BUGREPORT='contact@openedition.org'
  537. PACKAGE_URL=''
  538. ac_subst_vars='LTLIBOBJS
  539. LIBOBJS
  540. DOXYPY
  541. GRAPHVIZ
  542. DOXYGEN
  543. DOCOK
  544. PYMONGO
  545. WEBUI
  546. SITEPACKAGES
  547. pkgpyexecdir
  548. pyexecdir
  549. pkgpythondir
  550. pythondir
  551. PYTHON_PLATFORM
  552. PYTHON_EXEC_PREFIX
  553. PYTHON_PREFIX
  554. PYTHON_VERSION
  555. PYTHON
  556. LN_S
  557. AM_BACKSLASH
  558. AM_DEFAULT_VERBOSITY
  559. AM_DEFAULT_V
  560. AM_V
  561. am__untar
  562. am__tar
  563. AMTAR
  564. am__leading_dot
  565. SET_MAKE
  566. AWK
  567. mkdir_p
  568. MKDIR_P
  569. INSTALL_STRIP_PROGRAM
  570. STRIP
  571. install_sh
  572. MAKEINFO
  573. AUTOHEADER
  574. AUTOMAKE
  575. AUTOCONF
  576. ACLOCAL
  577. VERSION
  578. PACKAGE
  579. CYGPATH_W
  580. am__isrc
  581. INSTALL_DATA
  582. INSTALL_SCRIPT
  583. INSTALL_PROGRAM
  584. target_alias
  585. host_alias
  586. build_alias
  587. LIBS
  588. ECHO_T
  589. ECHO_N
  590. ECHO_C
  591. DEFS
  592. mandir
  593. localedir
  594. libdir
  595. psdir
  596. pdfdir
  597. dvidir
  598. htmldir
  599. infodir
  600. docdir
  601. oldincludedir
  602. includedir
  603. runstatedir
  604. localstatedir
  605. sharedstatedir
  606. sysconfdir
  607. datadir
  608. datarootdir
  609. libexecdir
  610. sbindir
  611. bindir
  612. program_transform_name
  613. prefix
  614. exec_prefix
  615. PACKAGE_URL
  616. PACKAGE_BUGREPORT
  617. PACKAGE_STRING
  618. PACKAGE_VERSION
  619. PACKAGE_TARNAME
  620. PACKAGE_NAME
  621. PATH_SEPARATOR
  622. SHELL'
  623. ac_subst_files=''
  624. ac_user_opts='
  625. enable_option_checking
  626. enable_silent_rules
  627. '
  628. ac_precious_vars='build_alias
  629. host_alias
  630. target_alias
  631. PYTHON
  632. SITEPACKAGES'
  633. # Initialize some variables set by options.
  634. ac_init_help=
  635. ac_init_version=false
  636. ac_unrecognized_opts=
  637. ac_unrecognized_sep=
  638. # The variables have the same names as the options, with
  639. # dashes changed to underlines.
  640. cache_file=/dev/null
  641. exec_prefix=NONE
  642. no_create=
  643. no_recursion=
  644. prefix=NONE
  645. program_prefix=NONE
  646. program_suffix=NONE
  647. program_transform_name=s,x,x,
  648. silent=
  649. site=
  650. srcdir=
  651. verbose=
  652. x_includes=NONE
  653. x_libraries=NONE
  654. # Installation directory options.
  655. # These are left unexpanded so users can "make install exec_prefix=/foo"
  656. # and all the variables that are supposed to be based on exec_prefix
  657. # by default will actually change.
  658. # Use braces instead of parens because sh, perl, etc. also accept them.
  659. # (The list follows the same order as the GNU Coding Standards.)
  660. bindir='${exec_prefix}/bin'
  661. sbindir='${exec_prefix}/sbin'
  662. libexecdir='${exec_prefix}/libexec'
  663. datarootdir='${prefix}/share'
  664. datadir='${datarootdir}'
  665. sysconfdir='${prefix}/etc'
  666. sharedstatedir='${prefix}/com'
  667. localstatedir='${prefix}/var'
  668. runstatedir='${localstatedir}/run'
  669. includedir='${prefix}/include'
  670. oldincludedir='/usr/include'
  671. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  672. infodir='${datarootdir}/info'
  673. htmldir='${docdir}'
  674. dvidir='${docdir}'
  675. pdfdir='${docdir}'
  676. psdir='${docdir}'
  677. libdir='${exec_prefix}/lib'
  678. localedir='${datarootdir}/locale'
  679. mandir='${datarootdir}/man'
  680. ac_prev=
  681. ac_dashdash=
  682. for ac_option
  683. do
  684. # If the previous option needs an argument, assign it.
  685. if test -n "$ac_prev"; then
  686. eval $ac_prev=\$ac_option
  687. ac_prev=
  688. continue
  689. fi
  690. case $ac_option in
  691. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  692. *=) ac_optarg= ;;
  693. *) ac_optarg=yes ;;
  694. esac
  695. # Accept the important Cygnus configure options, so we can diagnose typos.
  696. case $ac_dashdash$ac_option in
  697. --)
  698. ac_dashdash=yes ;;
  699. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  700. ac_prev=bindir ;;
  701. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  702. bindir=$ac_optarg ;;
  703. -build | --build | --buil | --bui | --bu)
  704. ac_prev=build_alias ;;
  705. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  706. build_alias=$ac_optarg ;;
  707. -cache-file | --cache-file | --cache-fil | --cache-fi \
  708. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  709. ac_prev=cache_file ;;
  710. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  711. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  712. cache_file=$ac_optarg ;;
  713. --config-cache | -C)
  714. cache_file=config.cache ;;
  715. -datadir | --datadir | --datadi | --datad)
  716. ac_prev=datadir ;;
  717. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  718. datadir=$ac_optarg ;;
  719. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  720. | --dataroo | --dataro | --datar)
  721. ac_prev=datarootdir ;;
  722. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  723. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  724. datarootdir=$ac_optarg ;;
  725. -disable-* | --disable-*)
  726. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  727. # Reject names that are not valid shell variable names.
  728. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  729. as_fn_error $? "invalid feature name: $ac_useropt"
  730. ac_useropt_orig=$ac_useropt
  731. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  732. case $ac_user_opts in
  733. *"
  734. "enable_$ac_useropt"
  735. "*) ;;
  736. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  737. ac_unrecognized_sep=', ';;
  738. esac
  739. eval enable_$ac_useropt=no ;;
  740. -docdir | --docdir | --docdi | --doc | --do)
  741. ac_prev=docdir ;;
  742. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  743. docdir=$ac_optarg ;;
  744. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  745. ac_prev=dvidir ;;
  746. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  747. dvidir=$ac_optarg ;;
  748. -enable-* | --enable-*)
  749. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  750. # Reject names that are not valid shell variable names.
  751. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  752. as_fn_error $? "invalid feature name: $ac_useropt"
  753. ac_useropt_orig=$ac_useropt
  754. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  755. case $ac_user_opts in
  756. *"
  757. "enable_$ac_useropt"
  758. "*) ;;
  759. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  760. ac_unrecognized_sep=', ';;
  761. esac
  762. eval enable_$ac_useropt=\$ac_optarg ;;
  763. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  764. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  765. | --exec | --exe | --ex)
  766. ac_prev=exec_prefix ;;
  767. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  768. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  769. | --exec=* | --exe=* | --ex=*)
  770. exec_prefix=$ac_optarg ;;
  771. -gas | --gas | --ga | --g)
  772. # Obsolete; use --with-gas.
  773. with_gas=yes ;;
  774. -help | --help | --hel | --he | -h)
  775. ac_init_help=long ;;
  776. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  777. ac_init_help=recursive ;;
  778. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  779. ac_init_help=short ;;
  780. -host | --host | --hos | --ho)
  781. ac_prev=host_alias ;;
  782. -host=* | --host=* | --hos=* | --ho=*)
  783. host_alias=$ac_optarg ;;
  784. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  785. ac_prev=htmldir ;;
  786. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  787. | --ht=*)
  788. htmldir=$ac_optarg ;;
  789. -includedir | --includedir | --includedi | --included | --include \
  790. | --includ | --inclu | --incl | --inc)
  791. ac_prev=includedir ;;
  792. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  793. | --includ=* | --inclu=* | --incl=* | --inc=*)
  794. includedir=$ac_optarg ;;
  795. -infodir | --infodir | --infodi | --infod | --info | --inf)
  796. ac_prev=infodir ;;
  797. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  798. infodir=$ac_optarg ;;
  799. -libdir | --libdir | --libdi | --libd)
  800. ac_prev=libdir ;;
  801. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  802. libdir=$ac_optarg ;;
  803. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  804. | --libexe | --libex | --libe)
  805. ac_prev=libexecdir ;;
  806. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  807. | --libexe=* | --libex=* | --libe=*)
  808. libexecdir=$ac_optarg ;;
  809. -localedir | --localedir | --localedi | --localed | --locale)
  810. ac_prev=localedir ;;
  811. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  812. localedir=$ac_optarg ;;
  813. -localstatedir | --localstatedir | --localstatedi | --localstated \
  814. | --localstate | --localstat | --localsta | --localst | --locals)
  815. ac_prev=localstatedir ;;
  816. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  817. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  818. localstatedir=$ac_optarg ;;
  819. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  820. ac_prev=mandir ;;
  821. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  822. mandir=$ac_optarg ;;
  823. -nfp | --nfp | --nf)
  824. # Obsolete; use --without-fp.
  825. with_fp=no ;;
  826. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  827. | --no-cr | --no-c | -n)
  828. no_create=yes ;;
  829. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  830. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  831. no_recursion=yes ;;
  832. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  833. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  834. | --oldin | --oldi | --old | --ol | --o)
  835. ac_prev=oldincludedir ;;
  836. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  837. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  838. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  839. oldincludedir=$ac_optarg ;;
  840. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  841. ac_prev=prefix ;;
  842. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  843. prefix=$ac_optarg ;;
  844. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  845. | --program-pre | --program-pr | --program-p)
  846. ac_prev=program_prefix ;;
  847. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  848. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  849. program_prefix=$ac_optarg ;;
  850. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  851. | --program-suf | --program-su | --program-s)
  852. ac_prev=program_suffix ;;
  853. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  854. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  855. program_suffix=$ac_optarg ;;
  856. -program-transform-name | --program-transform-name \
  857. | --program-transform-nam | --program-transform-na \
  858. | --program-transform-n | --program-transform- \
  859. | --program-transform | --program-transfor \
  860. | --program-transfo | --program-transf \
  861. | --program-trans | --program-tran \
  862. | --progr-tra | --program-tr | --program-t)
  863. ac_prev=program_transform_name ;;
  864. -program-transform-name=* | --program-transform-name=* \
  865. | --program-transform-nam=* | --program-transform-na=* \
  866. | --program-transform-n=* | --program-transform-=* \
  867. | --program-transform=* | --program-transfor=* \
  868. | --program-transfo=* | --program-transf=* \
  869. | --program-trans=* | --program-tran=* \
  870. | --progr-tra=* | --program-tr=* | --program-t=*)
  871. program_transform_name=$ac_optarg ;;
  872. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  873. ac_prev=pdfdir ;;
  874. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  875. pdfdir=$ac_optarg ;;
  876. -psdir | --psdir | --psdi | --psd | --ps)
  877. ac_prev=psdir ;;
  878. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  879. psdir=$ac_optarg ;;
  880. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  881. | -silent | --silent | --silen | --sile | --sil)
  882. silent=yes ;;
  883. -runstatedir | --runstatedir | --runstatedi | --runstated \
  884. | --runstate | --runstat | --runsta | --runst | --runs \
  885. | --run | --ru | --r)
  886. ac_prev=runstatedir ;;
  887. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  888. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  889. | --run=* | --ru=* | --r=*)
  890. runstatedir=$ac_optarg ;;
  891. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  892. ac_prev=sbindir ;;
  893. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  894. | --sbi=* | --sb=*)
  895. sbindir=$ac_optarg ;;
  896. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  897. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  898. | --sharedst | --shareds | --shared | --share | --shar \
  899. | --sha | --sh)
  900. ac_prev=sharedstatedir ;;
  901. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  902. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  903. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  904. | --sha=* | --sh=*)
  905. sharedstatedir=$ac_optarg ;;
  906. -site | --site | --sit)
  907. ac_prev=site ;;
  908. -site=* | --site=* | --sit=*)
  909. site=$ac_optarg ;;
  910. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  911. ac_prev=srcdir ;;
  912. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  913. srcdir=$ac_optarg ;;
  914. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  915. | --syscon | --sysco | --sysc | --sys | --sy)
  916. ac_prev=sysconfdir ;;
  917. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  918. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  919. sysconfdir=$ac_optarg ;;
  920. -target | --target | --targe | --targ | --tar | --ta | --t)
  921. ac_prev=target_alias ;;
  922. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  923. target_alias=$ac_optarg ;;
  924. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  925. verbose=yes ;;
  926. -version | --version | --versio | --versi | --vers | -V)
  927. ac_init_version=: ;;
  928. -with-* | --with-*)
  929. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  930. # Reject names that are not valid shell variable names.
  931. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  932. as_fn_error $? "invalid package name: $ac_useropt"
  933. ac_useropt_orig=$ac_useropt
  934. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  935. case $ac_user_opts in
  936. *"
  937. "with_$ac_useropt"
  938. "*) ;;
  939. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  940. ac_unrecognized_sep=', ';;
  941. esac
  942. eval with_$ac_useropt=\$ac_optarg ;;
  943. -without-* | --without-*)
  944. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  945. # Reject names that are not valid shell variable names.
  946. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  947. as_fn_error $? "invalid package name: $ac_useropt"
  948. ac_useropt_orig=$ac_useropt
  949. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  950. case $ac_user_opts in
  951. *"
  952. "with_$ac_useropt"
  953. "*) ;;
  954. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  955. ac_unrecognized_sep=', ';;
  956. esac
  957. eval with_$ac_useropt=no ;;
  958. --x)
  959. # Obsolete; use --with-x.
  960. with_x=yes ;;
  961. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  962. | --x-incl | --x-inc | --x-in | --x-i)
  963. ac_prev=x_includes ;;
  964. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  965. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  966. x_includes=$ac_optarg ;;
  967. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  968. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  969. ac_prev=x_libraries ;;
  970. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  971. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  972. x_libraries=$ac_optarg ;;
  973. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  974. Try \`$0 --help' for more information"
  975. ;;
  976. *=*)
  977. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  978. # Reject names that are not valid shell variable names.
  979. case $ac_envvar in #(
  980. '' | [0-9]* | *[!_$as_cr_alnum]* )
  981. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  982. esac
  983. eval $ac_envvar=\$ac_optarg
  984. export $ac_envvar ;;
  985. *)
  986. # FIXME: should be removed in autoconf 3.0.
  987. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  988. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  989. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  990. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  991. ;;
  992. esac
  993. done
  994. if test -n "$ac_prev"; then
  995. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  996. as_fn_error $? "missing argument to $ac_option"
  997. fi
  998. if test -n "$ac_unrecognized_opts"; then
  999. case $enable_option_checking in
  1000. no) ;;
  1001. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1002. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1003. esac
  1004. fi
  1005. # Check all directory arguments for consistency.
  1006. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1007. datadir sysconfdir sharedstatedir localstatedir includedir \
  1008. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1009. libdir localedir mandir runstatedir
  1010. do
  1011. eval ac_val=\$$ac_var
  1012. # Remove trailing slashes.
  1013. case $ac_val in
  1014. */ )
  1015. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1016. eval $ac_var=\$ac_val;;
  1017. esac
  1018. # Be sure to have absolute directory names.
  1019. case $ac_val in
  1020. [\\/$]* | ?:[\\/]* ) continue;;
  1021. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1022. esac
  1023. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1024. done
  1025. # There might be people who depend on the old broken behavior: `$host'
  1026. # used to hold the argument of --host etc.
  1027. # FIXME: To remove some day.
  1028. build=$build_alias
  1029. host=$host_alias
  1030. target=$target_alias
  1031. # FIXME: To remove some day.
  1032. if test "x$host_alias" != x; then
  1033. if test "x$build_alias" = x; then
  1034. cross_compiling=maybe
  1035. elif test "x$build_alias" != "x$host_alias"; then
  1036. cross_compiling=yes
  1037. fi
  1038. fi
  1039. ac_tool_prefix=
  1040. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1041. test "$silent" = yes && exec 6>/dev/null
  1042. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1043. ac_ls_di=`ls -di .` &&
  1044. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1045. as_fn_error $? "working directory cannot be determined"
  1046. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1047. as_fn_error $? "pwd does not report name of working directory"
  1048. # Find the source files, if location was not specified.
  1049. if test -z "$srcdir"; then
  1050. ac_srcdir_defaulted=yes
  1051. # Try the directory containing this script, then the parent directory.
  1052. ac_confdir=`$as_dirname -- "$as_myself" ||
  1053. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1054. X"$as_myself" : 'X\(//\)[^/]' \| \
  1055. X"$as_myself" : 'X\(//\)$' \| \
  1056. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1057. $as_echo X"$as_myself" |
  1058. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1059. s//\1/
  1060. q
  1061. }
  1062. /^X\(\/\/\)[^/].*/{
  1063. s//\1/
  1064. q
  1065. }
  1066. /^X\(\/\/\)$/{
  1067. s//\1/
  1068. q
  1069. }
  1070. /^X\(\/\).*/{
  1071. s//\1/
  1072. q
  1073. }
  1074. s/.*/./; q'`
  1075. srcdir=$ac_confdir
  1076. if test ! -r "$srcdir/$ac_unique_file"; then
  1077. srcdir=..
  1078. fi
  1079. else
  1080. ac_srcdir_defaulted=no
  1081. fi
  1082. if test ! -r "$srcdir/$ac_unique_file"; then
  1083. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1084. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1085. fi
  1086. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1087. ac_abs_confdir=`(
  1088. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1089. pwd)`
  1090. # When building in place, set srcdir=.
  1091. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1092. srcdir=.
  1093. fi
  1094. # Remove unnecessary trailing slashes from srcdir.
  1095. # Double slashes in file names in object file debugging info
  1096. # mess up M-x gdb in Emacs.
  1097. case $srcdir in
  1098. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1099. esac
  1100. for ac_var in $ac_precious_vars; do
  1101. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1102. eval ac_env_${ac_var}_value=\$${ac_var}
  1103. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1104. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1105. done
  1106. #
  1107. # Report the --help message.
  1108. #
  1109. if test "$ac_init_help" = "long"; then
  1110. # Omit some internal or obsolete options to make the list less imposing.
  1111. # This message is too long to be a string in the A/UX 3.1 sh.
  1112. cat <<_ACEOF
  1113. \`configure' configures lodel 0.1 to adapt to many kinds of systems.
  1114. Usage: $0 [OPTION]... [VAR=VALUE]...
  1115. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1116. VAR=VALUE. See below for descriptions of some of the useful variables.
  1117. Defaults for the options are specified in brackets.
  1118. Configuration:
  1119. -h, --help display this help and exit
  1120. --help=short display options specific to this package
  1121. --help=recursive display the short help of all the included packages
  1122. -V, --version display version information and exit
  1123. -q, --quiet, --silent do not print \`checking ...' messages
  1124. --cache-file=FILE cache test results in FILE [disabled]
  1125. -C, --config-cache alias for \`--cache-file=config.cache'
  1126. -n, --no-create do not create output files
  1127. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1128. Installation directories:
  1129. --prefix=PREFIX install architecture-independent files in PREFIX
  1130. [$ac_default_prefix]
  1131. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1132. [PREFIX]
  1133. By default, \`make install' will install all the files in
  1134. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1135. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1136. for instance \`--prefix=\$HOME'.
  1137. For better control, use the options below.
  1138. Fine tuning of the installation directories:
  1139. --bindir=DIR user executables [EPREFIX/bin]
  1140. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1141. --libexecdir=DIR program executables [EPREFIX/libexec]
  1142. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1143. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1144. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1145. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  1146. --libdir=DIR object code libraries [EPREFIX/lib]
  1147. --includedir=DIR C header files [PREFIX/include]
  1148. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1149. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1150. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1151. --infodir=DIR info documentation [DATAROOTDIR/info]
  1152. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1153. --mandir=DIR man documentation [DATAROOTDIR/man]
  1154. --docdir=DIR documentation root [DATAROOTDIR/doc/lodel]
  1155. --htmldir=DIR html documentation [DOCDIR]
  1156. --dvidir=DIR dvi documentation [DOCDIR]
  1157. --pdfdir=DIR pdf documentation [DOCDIR]
  1158. --psdir=DIR ps documentation [DOCDIR]
  1159. _ACEOF
  1160. cat <<\_ACEOF
  1161. Program names:
  1162. --program-prefix=PREFIX prepend PREFIX to installed program names
  1163. --program-suffix=SUFFIX append SUFFIX to installed program names
  1164. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1165. _ACEOF
  1166. fi
  1167. if test -n "$ac_init_help"; then
  1168. case $ac_init_help in
  1169. short | recursive ) echo "Configuration of lodel 0.1:";;
  1170. esac
  1171. cat <<\_ACEOF
  1172. Optional Features:
  1173. --disable-option-checking ignore unrecognized --enable/--with options
  1174. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1175. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1176. --enable-silent-rules less verbose build output (undo: "make V=1")
  1177. --disable-silent-rules verbose build output (undo: "make V=0")
  1178. Some influential environment variables:
  1179. PYTHON the Python interpreter
  1180. SITEPACKAGES
  1181. If installed in /usr or /System* specify the name of the site
  1182. directory (default value "site-packages"
  1183. Use these variables to override the choices made by `configure' or to help
  1184. it to find libraries and programs with nonstandard names/locations.
  1185. Report bugs to <contact@openedition.org>.
  1186. _ACEOF
  1187. ac_status=$?
  1188. fi
  1189. if test "$ac_init_help" = "recursive"; then
  1190. # If there are subdirs, report their specific --help.
  1191. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1192. test -d "$ac_dir" ||
  1193. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1194. continue
  1195. ac_builddir=.
  1196. case "$ac_dir" in
  1197. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1198. *)
  1199. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1200. # A ".." for each directory in $ac_dir_suffix.
  1201. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1202. case $ac_top_builddir_sub in
  1203. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1204. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1205. esac ;;
  1206. esac
  1207. ac_abs_top_builddir=$ac_pwd
  1208. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1209. # for backward compatibility:
  1210. ac_top_builddir=$ac_top_build_prefix
  1211. case $srcdir in
  1212. .) # We are building in place.
  1213. ac_srcdir=.
  1214. ac_top_srcdir=$ac_top_builddir_sub
  1215. ac_abs_top_srcdir=$ac_pwd ;;
  1216. [\\/]* | ?:[\\/]* ) # Absolute name.
  1217. ac_srcdir=$srcdir$ac_dir_suffix;
  1218. ac_top_srcdir=$srcdir
  1219. ac_abs_top_srcdir=$srcdir ;;
  1220. *) # Relative name.
  1221. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1222. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1223. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1224. esac
  1225. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1226. cd "$ac_dir" || { ac_status=$?; continue; }
  1227. # Check for guested configure.
  1228. if test -f "$ac_srcdir/configure.gnu"; then
  1229. echo &&
  1230. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1231. elif test -f "$ac_srcdir/configure"; then
  1232. echo &&
  1233. $SHELL "$ac_srcdir/configure" --help=recursive
  1234. else
  1235. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1236. fi || ac_status=$?
  1237. cd "$ac_pwd" || { ac_status=$?; break; }
  1238. done
  1239. fi
  1240. test -n "$ac_init_help" && exit $ac_status
  1241. if $ac_init_version; then
  1242. cat <<\_ACEOF
  1243. lodel configure 0.1
  1244. generated by GNU Autoconf 2.69
  1245. Copyright (C) 2012 Free Software Foundation, Inc.
  1246. This configure script is free software; the Free Software Foundation
  1247. gives unlimited permission to copy, distribute and modify it.
  1248. _ACEOF
  1249. exit
  1250. fi
  1251. ## ------------------------ ##
  1252. ## Autoconf initialization. ##
  1253. ## ------------------------ ##
  1254. # ac_fn_py_try_run LINENO
  1255. # -----------------------
  1256. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1257. # that executables *can* be run.
  1258. ac_fn_py_try_run ()
  1259. {
  1260. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1261. if { { ac_try="$ac_link"
  1262. case "(($ac_try" in
  1263. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1264. *) ac_try_echo=$ac_try;;
  1265. esac
  1266. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1267. $as_echo "$ac_try_echo"; } >&5
  1268. (eval "$ac_link") 2>&5
  1269. ac_status=$?
  1270. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1271. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1272. { { case "(($ac_try" in
  1273. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1274. *) ac_try_echo=$ac_try;;
  1275. esac
  1276. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1277. $as_echo "$ac_try_echo"; } >&5
  1278. (eval "$ac_try") 2>&5
  1279. ac_status=$?
  1280. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1281. test $ac_status = 0; }; }; then :
  1282. ac_retval=0
  1283. else
  1284. $as_echo "$as_me: program exited with status $ac_status" >&5
  1285. $as_echo "$as_me: failed program was:" >&5
  1286. sed 's/^/| /' conftest.$ac_ext >&5
  1287. ac_retval=$ac_status
  1288. fi
  1289. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1290. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1291. as_fn_set_status $ac_retval
  1292. } # ac_fn_py_try_run
  1293. # ac_fn_py_try_link LINENO
  1294. # ------------------------
  1295. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1296. ac_fn_py_try_link ()
  1297. {
  1298. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1299. rm -f conftest.$ac_objext conftest$ac_exeext
  1300. if { { ac_try="$ac_link"
  1301. case "(($ac_try" in
  1302. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1303. *) ac_try_echo=$ac_try;;
  1304. esac
  1305. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1306. $as_echo "$ac_try_echo"; } >&5
  1307. (eval "$ac_link") 2>conftest.err
  1308. ac_status=$?
  1309. if test -s conftest.err; then
  1310. grep -v '^ *+' conftest.err >conftest.er1
  1311. cat conftest.er1 >&5
  1312. mv -f conftest.er1 conftest.err
  1313. fi
  1314. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1315. test $ac_status = 0; } && {
  1316. test -z "$ac_py_werror_flag" ||
  1317. test ! -s conftest.err
  1318. } && test -s conftest$ac_exeext && {
  1319. test "$cross_compiling" = yes ||
  1320. test -x conftest$ac_exeext
  1321. }; then :
  1322. ac_retval=0
  1323. else
  1324. $as_echo "$as_me: failed program was:" >&5
  1325. sed 's/^/| /' conftest.$ac_ext >&5
  1326. ac_retval=1
  1327. fi
  1328. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1329. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1330. # interfere with the next link command; also delete a directory that is
  1331. # left behind by Apple's compiler. We do this before executing the actions.
  1332. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1333. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1334. as_fn_set_status $ac_retval
  1335. } # ac_fn_py_try_link
  1336. cat >config.log <<_ACEOF
  1337. This file contains any messages produced by compilers while
  1338. running configure, to aid debugging if configure makes a mistake.
  1339. It was created by lodel $as_me 0.1, which was
  1340. generated by GNU Autoconf 2.69. Invocation command line was
  1341. $ $0 $@
  1342. _ACEOF
  1343. exec 5>>config.log
  1344. {
  1345. cat <<_ASUNAME
  1346. ## --------- ##
  1347. ## Platform. ##
  1348. ## --------- ##
  1349. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1350. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1351. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1352. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1353. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1354. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1355. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1356. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1357. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1358. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1359. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1360. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1361. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1362. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1363. _ASUNAME
  1364. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1365. for as_dir in $PATH
  1366. do
  1367. IFS=$as_save_IFS
  1368. test -z "$as_dir" && as_dir=.
  1369. $as_echo "PATH: $as_dir"
  1370. done
  1371. IFS=$as_save_IFS
  1372. } >&5
  1373. cat >&5 <<_ACEOF
  1374. ## ----------- ##
  1375. ## Core tests. ##
  1376. ## ----------- ##
  1377. _ACEOF
  1378. # Keep a trace of the command line.
  1379. # Strip out --no-create and --no-recursion so they do not pile up.
  1380. # Strip out --silent because we don't want to record it for future runs.
  1381. # Also quote any args containing shell meta-characters.
  1382. # Make two passes to allow for proper duplicate-argument suppression.
  1383. ac_configure_args=
  1384. ac_configure_args0=
  1385. ac_configure_args1=
  1386. ac_must_keep_next=false
  1387. for ac_pass in 1 2
  1388. do
  1389. for ac_arg
  1390. do
  1391. case $ac_arg in
  1392. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1393. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1394. | -silent | --silent | --silen | --sile | --sil)
  1395. continue ;;
  1396. *\'*)
  1397. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1398. esac
  1399. case $ac_pass in
  1400. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1401. 2)
  1402. as_fn_append ac_configure_args1 " '$ac_arg'"
  1403. if test $ac_must_keep_next = true; then
  1404. ac_must_keep_next=false # Got value, back to normal.
  1405. else
  1406. case $ac_arg in
  1407. *=* | --config-cache | -C | -disable-* | --disable-* \
  1408. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1409. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1410. | -with-* | --with-* | -without-* | --without-* | --x)
  1411. case "$ac_configure_args0 " in
  1412. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1413. esac
  1414. ;;
  1415. -* ) ac_must_keep_next=true ;;
  1416. esac
  1417. fi
  1418. as_fn_append ac_configure_args " '$ac_arg'"
  1419. ;;
  1420. esac
  1421. done
  1422. done
  1423. { ac_configure_args0=; unset ac_configure_args0;}
  1424. { ac_configure_args1=; unset ac_configure_args1;}
  1425. # When interrupted or exit'd, cleanup temporary files, and complete
  1426. # config.log. We remove comments because anyway the quotes in there
  1427. # would cause problems or look ugly.
  1428. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1429. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1430. trap 'exit_status=$?
  1431. # Save into config.log some information that might help in debugging.
  1432. {
  1433. echo
  1434. $as_echo "## ---------------- ##
  1435. ## Cache variables. ##
  1436. ## ---------------- ##"
  1437. echo
  1438. # The following way of writing the cache mishandles newlines in values,
  1439. (
  1440. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1441. eval ac_val=\$$ac_var
  1442. case $ac_val in #(
  1443. *${as_nl}*)
  1444. case $ac_var in #(
  1445. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1446. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1447. esac
  1448. case $ac_var in #(
  1449. _ | IFS | as_nl) ;; #(
  1450. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1451. *) { eval $ac_var=; unset $ac_var;} ;;
  1452. esac ;;
  1453. esac
  1454. done
  1455. (set) 2>&1 |
  1456. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1457. *${as_nl}ac_space=\ *)
  1458. sed -n \
  1459. "s/'\''/'\''\\\\'\'''\''/g;
  1460. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1461. ;; #(
  1462. *)
  1463. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1464. ;;
  1465. esac |
  1466. sort
  1467. )
  1468. echo
  1469. $as_echo "## ----------------- ##
  1470. ## Output variables. ##
  1471. ## ----------------- ##"
  1472. echo
  1473. for ac_var in $ac_subst_vars
  1474. do
  1475. eval ac_val=\$$ac_var
  1476. case $ac_val in
  1477. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1478. esac
  1479. $as_echo "$ac_var='\''$ac_val'\''"
  1480. done | sort
  1481. echo
  1482. if test -n "$ac_subst_files"; then
  1483. $as_echo "## ------------------- ##
  1484. ## File substitutions. ##
  1485. ## ------------------- ##"
  1486. echo
  1487. for ac_var in $ac_subst_files
  1488. do
  1489. eval ac_val=\$$ac_var
  1490. case $ac_val in
  1491. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1492. esac
  1493. $as_echo "$ac_var='\''$ac_val'\''"
  1494. done | sort
  1495. echo
  1496. fi
  1497. if test -s confdefs.h; then
  1498. $as_echo "## ----------- ##
  1499. ## confdefs.h. ##
  1500. ## ----------- ##"
  1501. echo
  1502. cat confdefs.h
  1503. echo
  1504. fi
  1505. test "$ac_signal" != 0 &&
  1506. $as_echo "$as_me: caught signal $ac_signal"
  1507. $as_echo "$as_me: exit $exit_status"
  1508. } >&5
  1509. rm -f core *.core core.conftest.* &&
  1510. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1511. exit $exit_status
  1512. ' 0
  1513. for ac_signal in 1 2 13 15; do
  1514. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1515. done
  1516. ac_signal=0
  1517. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1518. rm -f -r conftest* confdefs.h
  1519. $as_echo "/* confdefs.h */" > confdefs.h
  1520. # Predefined preprocessor variables.
  1521. cat >>confdefs.h <<_ACEOF
  1522. #define PACKAGE_NAME "$PACKAGE_NAME"
  1523. _ACEOF
  1524. cat >>confdefs.h <<_ACEOF
  1525. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1526. _ACEOF
  1527. cat >>confdefs.h <<_ACEOF
  1528. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1529. _ACEOF
  1530. cat >>confdefs.h <<_ACEOF
  1531. #define PACKAGE_STRING "$PACKAGE_STRING"
  1532. _ACEOF
  1533. cat >>confdefs.h <<_ACEOF
  1534. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1535. _ACEOF
  1536. cat >>confdefs.h <<_ACEOF
  1537. #define PACKAGE_URL "$PACKAGE_URL"
  1538. _ACEOF
  1539. # Let the site file select an alternate cache file if it wants to.
  1540. # Prefer an explicitly selected file to automatically selected ones.
  1541. ac_site_file1=NONE
  1542. ac_site_file2=NONE
  1543. if test -n "$CONFIG_SITE"; then
  1544. # We do not want a PATH search for config.site.
  1545. case $CONFIG_SITE in #((
  1546. -*) ac_site_file1=./$CONFIG_SITE;;
  1547. */*) ac_site_file1=$CONFIG_SITE;;
  1548. *) ac_site_file1=./$CONFIG_SITE;;
  1549. esac
  1550. elif test "x$prefix" != xNONE; then
  1551. ac_site_file1=$prefix/share/config.site
  1552. ac_site_file2=$prefix/etc/config.site
  1553. else
  1554. ac_site_file1=$ac_default_prefix/share/config.site
  1555. ac_site_file2=$ac_default_prefix/etc/config.site
  1556. fi
  1557. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1558. do
  1559. test "x$ac_site_file" = xNONE && continue
  1560. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1561. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1562. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1563. sed 's/^/| /' "$ac_site_file" >&5
  1564. . "$ac_site_file" \
  1565. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1566. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1567. as_fn_error $? "failed to load site script $ac_site_file
  1568. See \`config.log' for more details" "$LINENO" 5; }
  1569. fi
  1570. done
  1571. if test -r "$cache_file"; then
  1572. # Some versions of bash will fail to source /dev/null (special files
  1573. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1574. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1575. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1576. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1577. case $cache_file in
  1578. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1579. *) . "./$cache_file";;
  1580. esac
  1581. fi
  1582. else
  1583. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1584. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1585. >$cache_file
  1586. fi
  1587. # Check that the precious variables saved in the cache have kept the same
  1588. # value.
  1589. ac_cache_corrupted=false
  1590. for ac_var in $ac_precious_vars; do
  1591. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1592. eval ac_new_set=\$ac_env_${ac_var}_set
  1593. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1594. eval ac_new_val=\$ac_env_${ac_var}_value
  1595. case $ac_old_set,$ac_new_set in
  1596. set,)
  1597. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1598. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1599. ac_cache_corrupted=: ;;
  1600. ,set)
  1601. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1602. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1603. ac_cache_corrupted=: ;;
  1604. ,);;
  1605. *)
  1606. if test "x$ac_old_val" != "x$ac_new_val"; then
  1607. # differences in whitespace do not lead to failure.
  1608. ac_old_val_w=`echo x $ac_old_val`
  1609. ac_new_val_w=`echo x $ac_new_val`
  1610. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1611. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1612. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1613. ac_cache_corrupted=:
  1614. else
  1615. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1616. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1617. eval $ac_var=\$ac_old_val
  1618. fi
  1619. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1620. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1621. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1622. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1623. fi;;
  1624. esac
  1625. # Pass precious variables to config.status.
  1626. if test "$ac_new_set" = set; then
  1627. case $ac_new_val in
  1628. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1629. *) ac_arg=$ac_var=$ac_new_val ;;
  1630. esac
  1631. case " $ac_configure_args " in
  1632. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1633. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1634. esac
  1635. fi
  1636. done
  1637. if $ac_cache_corrupted; then
  1638. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1639. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1640. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1641. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1642. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1643. fi
  1644. ## -------------------- ##
  1645. ## Main body of script. ##
  1646. ## -------------------- ##
  1647. ac_ext=c
  1648. ac_cpp='$CPP $CPPFLAGS'
  1649. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1650. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1651. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1652. am__api_version='1.15'
  1653. ac_aux_dir=
  1654. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1655. if test -f "$ac_dir/install-sh"; then
  1656. ac_aux_dir=$ac_dir
  1657. ac_install_sh="$ac_aux_dir/install-sh -c"
  1658. break
  1659. elif test -f "$ac_dir/install.sh"; then
  1660. ac_aux_dir=$ac_dir
  1661. ac_install_sh="$ac_aux_dir/install.sh -c"
  1662. break
  1663. elif test -f "$ac_dir/shtool"; then
  1664. ac_aux_dir=$ac_dir
  1665. ac_install_sh="$ac_aux_dir/shtool install -c"
  1666. break
  1667. fi
  1668. done
  1669. if test -z "$ac_aux_dir"; then
  1670. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1671. fi
  1672. # These three variables are undocumented and unsupported,
  1673. # and are intended to be withdrawn in a future Autoconf release.
  1674. # They can cause serious problems if a builder's source tree is in a directory
  1675. # whose full name contains unusual characters.
  1676. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1677. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1678. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1679. # Find a good install program. We prefer a C program (faster),
  1680. # so one script is as good as another. But avoid the broken or
  1681. # incompatible versions:
  1682. # SysV /etc/install, /usr/sbin/install
  1683. # SunOS /usr/etc/install
  1684. # IRIX /sbin/install
  1685. # AIX /bin/install
  1686. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1687. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1688. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1689. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1690. # OS/2's system install, which has a completely different semantic
  1691. # ./install, which can be erroneously created by make from ./install.sh.
  1692. # Reject install programs that cannot install multiple files.
  1693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1694. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1695. if test -z "$INSTALL"; then
  1696. if ${ac_cv_path_install+:} false; then :
  1697. $as_echo_n "(cached) " >&6
  1698. else
  1699. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1700. for as_dir in $PATH
  1701. do
  1702. IFS=$as_save_IFS
  1703. test -z "$as_dir" && as_dir=.
  1704. # Account for people who put trailing slashes in PATH elements.
  1705. case $as_dir/ in #((
  1706. ./ | .// | /[cC]/* | \
  1707. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1708. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1709. /usr/ucb/* ) ;;
  1710. *)
  1711. # OSF1 and SCO ODT 3.0 have their own names for install.
  1712. # Don't use installbsd from OSF since it installs stuff as root
  1713. # by default.
  1714. for ac_prog in ginstall scoinst install; do
  1715. for ac_exec_ext in '' $ac_executable_extensions; do
  1716. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1717. if test $ac_prog = install &&
  1718. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1719. # AIX install. It has an incompatible calling convention.
  1720. :
  1721. elif test $ac_prog = install &&
  1722. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1723. # program-specific install script used by HP pwplus--don't use.
  1724. :
  1725. else
  1726. rm -rf conftest.one conftest.two conftest.dir
  1727. echo one > conftest.one
  1728. echo two > conftest.two
  1729. mkdir conftest.dir
  1730. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1731. test -s conftest.one && test -s conftest.two &&
  1732. test -s conftest.dir/conftest.one &&
  1733. test -s conftest.dir/conftest.two
  1734. then
  1735. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1736. break 3
  1737. fi
  1738. fi
  1739. fi
  1740. done
  1741. done
  1742. ;;
  1743. esac
  1744. done
  1745. IFS=$as_save_IFS
  1746. rm -rf conftest.one conftest.two conftest.dir
  1747. fi
  1748. if test "${ac_cv_path_install+set}" = set; then
  1749. INSTALL=$ac_cv_path_install
  1750. else
  1751. # As a last resort, use the slow shell script. Don't cache a
  1752. # value for INSTALL within a source directory, because that will
  1753. # break other packages using the cache if that directory is
  1754. # removed, or if the value is a relative name.
  1755. INSTALL=$ac_install_sh
  1756. fi
  1757. fi
  1758. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1759. $as_echo "$INSTALL" >&6; }
  1760. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1761. # It thinks the first close brace ends the variable substitution.
  1762. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1763. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1764. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1765. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  1766. $as_echo_n "checking whether build environment is sane... " >&6; }
  1767. # Reject unsafe characters in $srcdir or the absolute working directory
  1768. # name. Accept space and tab only in the latter.
  1769. am_lf='
  1770. '
  1771. case `pwd` in
  1772. *[\\\"\#\$\&\'\`$am_lf]*)
  1773. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  1774. esac
  1775. case $srcdir in
  1776. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  1777. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  1778. esac
  1779. # Do 'set' in a subshell so we don't clobber the current shell's
  1780. # arguments. Must try -L first in case configure is actually a
  1781. # symlink; some systems play weird games with the mod time of symlinks
  1782. # (eg FreeBSD returns the mod time of the symlink's containing
  1783. # directory).
  1784. if (
  1785. am_has_slept=no
  1786. for am_try in 1 2; do
  1787. echo "timestamp, slept: $am_has_slept" > conftest.file
  1788. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1789. if test "$*" = "X"; then
  1790. # -L didn't work.
  1791. set X `ls -t "$srcdir/configure" conftest.file`
  1792. fi
  1793. if test "$*" != "X $srcdir/configure conftest.file" \
  1794. && test "$*" != "X conftest.file $srcdir/configure"; then
  1795. # If neither matched, then we have a broken ls. This can happen
  1796. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1797. # broken ls alias from the environment. This has actually
  1798. # happened. Such a system could not be considered "sane".
  1799. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  1800. alias in your environment" "$LINENO" 5
  1801. fi
  1802. if test "$2" = conftest.file || test $am_try -eq 2; then
  1803. break
  1804. fi
  1805. # Just in case.
  1806. sleep 1
  1807. am_has_slept=yes
  1808. done
  1809. test "$2" = conftest.file
  1810. )
  1811. then
  1812. # Ok.
  1813. :
  1814. else
  1815. as_fn_error $? "newly created file is older than distributed files!
  1816. Check your system clock" "$LINENO" 5
  1817. fi
  1818. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1819. $as_echo "yes" >&6; }
  1820. # If we didn't sleep, we still need to ensure time stamps of config.status and
  1821. # generated files are strictly newer.
  1822. am_sleep_pid=
  1823. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  1824. ( sleep 1 ) &
  1825. am_sleep_pid=$!
  1826. fi
  1827. rm -f conftest.file
  1828. test "$program_prefix" != NONE &&
  1829. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1830. # Use a double $ so make ignores it.
  1831. test "$program_suffix" != NONE &&
  1832. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1833. # Double any \ or $.
  1834. # By default was `s,x,x', remove it if useless.
  1835. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  1836. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  1837. # Expand $ac_aux_dir to an absolute path.
  1838. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  1839. if test x"${MISSING+set}" != xset; then
  1840. case $am_aux_dir in
  1841. *\ * | *\ *)
  1842. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  1843. *)
  1844. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  1845. esac
  1846. fi
  1847. # Use eval to expand $SHELL
  1848. if eval "$MISSING --is-lightweight"; then
  1849. am_missing_run="$MISSING "
  1850. else
  1851. am_missing_run=
  1852. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  1853. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  1854. fi
  1855. if test x"${install_sh+set}" != xset; then
  1856. case $am_aux_dir in
  1857. *\ * | *\ *)
  1858. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  1859. *)
  1860. install_sh="\${SHELL} $am_aux_dir/install-sh"
  1861. esac
  1862. fi
  1863. # Installed binaries are usually stripped using 'strip' when the user
  1864. # run "make install-strip". However 'strip' might not be the right
  1865. # tool to use in cross-compilation environments, therefore Automake
  1866. # will honor the 'STRIP' environment variable to overrule this program.
  1867. if test "$cross_compiling" != no; then
  1868. if test -n "$ac_tool_prefix"; then
  1869. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1870. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1871. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1872. $as_echo_n "checking for $ac_word... " >&6; }
  1873. if ${ac_cv_prog_STRIP+:} false; then :
  1874. $as_echo_n "(cached) " >&6
  1875. else
  1876. if test -n "$STRIP"; then
  1877. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1878. else
  1879. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1880. for as_dir in $PATH
  1881. do
  1882. IFS=$as_save_IFS
  1883. test -z "$as_dir" && as_dir=.
  1884. for ac_exec_ext in '' $ac_executable_extensions; do
  1885. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1886. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1887. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1888. break 2
  1889. fi
  1890. done
  1891. done
  1892. IFS=$as_save_IFS
  1893. fi
  1894. fi
  1895. STRIP=$ac_cv_prog_STRIP
  1896. if test -n "$STRIP"; then
  1897. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  1898. $as_echo "$STRIP" >&6; }
  1899. else
  1900. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1901. $as_echo "no" >&6; }
  1902. fi
  1903. fi
  1904. if test -z "$ac_cv_prog_STRIP"; then
  1905. ac_ct_STRIP=$STRIP
  1906. # Extract the first word of "strip", so it can be a program name with args.
  1907. set dummy strip; ac_word=$2
  1908. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1909. $as_echo_n "checking for $ac_word... " >&6; }
  1910. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  1911. $as_echo_n "(cached) " >&6
  1912. else
  1913. if test -n "$ac_ct_STRIP"; then
  1914. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1915. else
  1916. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1917. for as_dir in $PATH
  1918. do
  1919. IFS=$as_save_IFS
  1920. test -z "$as_dir" && as_dir=.
  1921. for ac_exec_ext in '' $ac_executable_extensions; do
  1922. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1923. ac_cv_prog_ac_ct_STRIP="strip"
  1924. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1925. break 2
  1926. fi
  1927. done
  1928. done
  1929. IFS=$as_save_IFS
  1930. fi
  1931. fi
  1932. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1933. if test -n "$ac_ct_STRIP"; then
  1934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  1935. $as_echo "$ac_ct_STRIP" >&6; }
  1936. else
  1937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1938. $as_echo "no" >&6; }
  1939. fi
  1940. if test "x$ac_ct_STRIP" = x; then
  1941. STRIP=":"
  1942. else
  1943. case $cross_compiling:$ac_tool_warned in
  1944. yes:)
  1945. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1946. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1947. ac_tool_warned=yes ;;
  1948. esac
  1949. STRIP=$ac_ct_STRIP
  1950. fi
  1951. else
  1952. STRIP="$ac_cv_prog_STRIP"
  1953. fi
  1954. fi
  1955. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  1956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  1957. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  1958. if test -z "$MKDIR_P"; then
  1959. if ${ac_cv_path_mkdir+:} false; then :
  1960. $as_echo_n "(cached) " >&6
  1961. else
  1962. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1963. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  1964. do
  1965. IFS=$as_save_IFS
  1966. test -z "$as_dir" && as_dir=.
  1967. for ac_prog in mkdir gmkdir; do
  1968. for ac_exec_ext in '' $ac_executable_extensions; do
  1969. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  1970. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  1971. 'mkdir (GNU coreutils) '* | \
  1972. 'mkdir (coreutils) '* | \
  1973. 'mkdir (fileutils) '4.1*)
  1974. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  1975. break 3;;
  1976. esac
  1977. done
  1978. done
  1979. done
  1980. IFS=$as_save_IFS
  1981. fi
  1982. test -d ./--version && rmdir ./--version
  1983. if test "${ac_cv_path_mkdir+set}" = set; then
  1984. MKDIR_P="$ac_cv_path_mkdir -p"
  1985. else
  1986. # As a last resort, use the slow shell script. Don't cache a
  1987. # value for MKDIR_P within a source directory, because that will
  1988. # break other packages using the cache if that directory is
  1989. # removed, or if the value is a relative name.
  1990. MKDIR_P="$ac_install_sh -d"
  1991. fi
  1992. fi
  1993. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  1994. $as_echo "$MKDIR_P" >&6; }
  1995. for ac_prog in gawk mawk nawk awk
  1996. do
  1997. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1998. set dummy $ac_prog; ac_word=$2
  1999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2000. $as_echo_n "checking for $ac_word... " >&6; }
  2001. if ${ac_cv_prog_AWK+:} false; then :
  2002. $as_echo_n "(cached) " >&6
  2003. else
  2004. if test -n "$AWK"; then
  2005. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2006. else
  2007. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2008. for as_dir in $PATH
  2009. do
  2010. IFS=$as_save_IFS
  2011. test -z "$as_dir" && as_dir=.
  2012. for ac_exec_ext in '' $ac_executable_extensions; do
  2013. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2014. ac_cv_prog_AWK="$ac_prog"
  2015. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2016. break 2
  2017. fi
  2018. done
  2019. done
  2020. IFS=$as_save_IFS
  2021. fi
  2022. fi
  2023. AWK=$ac_cv_prog_AWK
  2024. if test -n "$AWK"; then
  2025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2026. $as_echo "$AWK" >&6; }
  2027. else
  2028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2029. $as_echo "no" >&6; }
  2030. fi
  2031. test -n "$AWK" && break
  2032. done
  2033. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2034. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2035. set x ${MAKE-make}
  2036. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2037. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2038. $as_echo_n "(cached) " >&6
  2039. else
  2040. cat >conftest.make <<\_ACEOF
  2041. SHELL = /bin/sh
  2042. all:
  2043. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2044. _ACEOF
  2045. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2046. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2047. *@@@%%%=?*=@@@%%%*)
  2048. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2049. *)
  2050. eval ac_cv_prog_make_${ac_make}_set=no;;
  2051. esac
  2052. rm -f conftest.make
  2053. fi
  2054. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2055. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2056. $as_echo "yes" >&6; }
  2057. SET_MAKE=
  2058. else
  2059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2060. $as_echo "no" >&6; }
  2061. SET_MAKE="MAKE=${MAKE-make}"
  2062. fi
  2063. rm -rf .tst 2>/dev/null
  2064. mkdir .tst 2>/dev/null
  2065. if test -d .tst; then
  2066. am__leading_dot=.
  2067. else
  2068. am__leading_dot=_
  2069. fi
  2070. rmdir .tst 2>/dev/null
  2071. # Check whether --enable-silent-rules was given.
  2072. if test "${enable_silent_rules+set}" = set; then :
  2073. enableval=$enable_silent_rules;
  2074. fi
  2075. case $enable_silent_rules in # (((
  2076. yes) AM_DEFAULT_VERBOSITY=0;;
  2077. no) AM_DEFAULT_VERBOSITY=1;;
  2078. *) AM_DEFAULT_VERBOSITY=1;;
  2079. esac
  2080. am_make=${MAKE-make}
  2081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  2082. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  2083. if ${am_cv_make_support_nested_variables+:} false; then :
  2084. $as_echo_n "(cached) " >&6
  2085. else
  2086. if $as_echo 'TRUE=$(BAR$(V))
  2087. BAR0=false
  2088. BAR1=true
  2089. V=1
  2090. am__doit:
  2091. @$(TRUE)
  2092. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  2093. am_cv_make_support_nested_variables=yes
  2094. else
  2095. am_cv_make_support_nested_variables=no
  2096. fi
  2097. fi
  2098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  2099. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  2100. if test $am_cv_make_support_nested_variables = yes; then
  2101. AM_V='$(V)'
  2102. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2103. else
  2104. AM_V=$AM_DEFAULT_VERBOSITY
  2105. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  2106. fi
  2107. AM_BACKSLASH='\'
  2108. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2109. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2110. # is not polluted with repeated "-I."
  2111. am__isrc=' -I$(srcdir)'
  2112. # test to see if srcdir already configured
  2113. if test -f $srcdir/config.status; then
  2114. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2115. fi
  2116. fi
  2117. # test whether we have cygpath
  2118. if test -z "$CYGPATH_W"; then
  2119. if (cygpath --version) >/dev/null 2>/dev/null; then
  2120. CYGPATH_W='cygpath -w'
  2121. else
  2122. CYGPATH_W=echo
  2123. fi
  2124. fi
  2125. # Define the identity of the package.
  2126. PACKAGE='lodel'
  2127. VERSION='0.1'
  2128. cat >>confdefs.h <<_ACEOF
  2129. #define PACKAGE "$PACKAGE"
  2130. _ACEOF
  2131. cat >>confdefs.h <<_ACEOF
  2132. #define VERSION "$VERSION"
  2133. _ACEOF
  2134. # Some tools Automake needs.
  2135. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2136. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2137. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2138. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2139. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2140. # For better backward compatibility. To be removed once Automake 1.9.x
  2141. # dies out for good. For more background, see:
  2142. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2143. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2144. mkdir_p='$(MKDIR_P)'
  2145. # We need awk for the "check" target (and possibly the TAP driver). The
  2146. # system "awk" is bad on some platforms.
  2147. # Always define AMTAR for backward compatibility. Yes, it's still used
  2148. # in the wild :-( We should find a proper way to deprecate it ...
  2149. AMTAR='$${TAR-tar}'
  2150. # We'll loop over all known methods to create a tar archive until one works.
  2151. _am_tools='gnutar pax cpio none'
  2152. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2153. # POSIX will say in a future version that running "rm -f" with no argument
  2154. # is OK; and we want to be able to make that assumption in our Makefile
  2155. # recipes. So use an aggressive probe to check that the usage we want is
  2156. # actually supported "in the wild" to an acceptable degree.
  2157. # See automake bug#10828.
  2158. # To make any issue more visible, cause the running configure to be aborted
  2159. # by default if the 'rm' program in use doesn't match our expectations; the
  2160. # user can still override this though.
  2161. if rm -f && rm -fr && rm -rf; then : OK; else
  2162. cat >&2 <<'END'
  2163. Oops!
  2164. Your 'rm' program seems unable to run without file operands specified
  2165. on the command line, even when the '-f' option is present. This is contrary
  2166. to the behaviour of most rm programs out there, and not conforming with
  2167. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  2168. Please tell bug-automake@gnu.org about your system, including the value
  2169. of your $PATH and any error possibly output before this message. This
  2170. can help us improve future automake versions.
  2171. END
  2172. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  2173. echo 'Configuration will proceed anyway, since you have set the' >&2
  2174. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  2175. echo >&2
  2176. else
  2177. cat >&2 <<'END'
  2178. Aborting the configuration process, to ensure you take notice of the issue.
  2179. You can download and install GNU coreutils to get an 'rm' implementation
  2180. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  2181. If you want to complete the configuration process using your problematic
  2182. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  2183. to "yes", and re-run configure.
  2184. END
  2185. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  2186. fi
  2187. fi
  2188. ac_config_files="$ac_config_files Makefile lodel/buildconf.py.am lodel/Makefile lodel/auth/Makefile lodel/editorial_model/Makefile lodel/editorial_model/translator/Makefile lodel/leapi/Makefile lodel/leapi/datahandlers/Makefile lodel/plugin/Makefile lodel/settings/Makefile lodel/utils/Makefile progs/Makefile progs/slim/Makefile lodel/plugins/Makefile lodelsites/Makefile"
  2189. ###
  2190. #Kind of dangerous mix between default aclocal's macro and pyconfigure macros...
  2191. #
  2192. #pyconfigure macros are prefixed by PC_
  2193. ###
  2194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  2195. $as_echo_n "checking whether ln -s works... " >&6; }
  2196. LN_S=$as_ln_s
  2197. if test "$LN_S" = "ln -s"; then
  2198. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2199. $as_echo "yes" >&6; }
  2200. else
  2201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  2202. $as_echo "no, using $LN_S" >&6; }
  2203. fi
  2204. ## ------------------------ -*- Autoconf -*-
  2205. ## Python file handling
  2206. ## From Andrew Dalke
  2207. ## Updated by James Henstridge
  2208. ## ------------------------
  2209. # Copyright (C) 1999-2013 Free Software Foundation, Inc.
  2210. #
  2211. # This file is free software; the Free Software Foundation
  2212. # gives unlimited permission to copy and/or distribute it,
  2213. # with or without modifications, as long as this notice is preserved.
  2214. # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  2215. # ---------------------------------------------------------------------------
  2216. # Adds support for distributing Python modules and packages. To
  2217. # install modules, copy them to $(pythondir), using the python_PYTHON
  2218. # automake variable. To install a package with the same name as the
  2219. # automake package, install to $(pkgpythondir), or use the
  2220. # pkgpython_PYTHON automake variable.
  2221. #
  2222. # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
  2223. # locations to install python extension modules (shared libraries).
  2224. # Another macro is required to find the appropriate flags to compile
  2225. # extension modules.
  2226. #
  2227. # If your package is configured with a different prefix to python,
  2228. # users will have to add the install directory to the PYTHONPATH
  2229. # environment variable, or create a .pth file (see the python
  2230. # documentation for details).
  2231. #
  2232. # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
  2233. # cause an error if the version of python installed on the system
  2234. # doesn't meet the requirement. MINIMUM-VERSION should consist of
  2235. # numbers and dots only.
  2236. # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
  2237. # ---------------------------------------------------------------------------
  2238. # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
  2239. # Run ACTION-IF-FALSE otherwise.
  2240. # This test uses sys.hexversion instead of the string equivalent (first
  2241. # word of sys.version), in order to cope with versions such as 2.2c1.
  2242. # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
  2243. # Patched version of aclocal python.m4 file
  2244. # Copyright 2012, 2013, 2014 Brandon Invergo <brandon@invergo.net>
  2245. #
  2246. # This file is part of pyconfigure. This program is free
  2247. # software; you can redistribute it and/or modify it under the
  2248. # terms of the GNU General Public License as published by the
  2249. # Free Software Foundation, either version 3 of the License, or
  2250. # (at your option) any later version.
  2251. #
  2252. # This program is distributed in the hope that it will be useful,
  2253. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  2254. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2255. # GNU General Public License for more details.
  2256. #
  2257. # Under Section 7 of GPL version 3, you are granted additional
  2258. # permissions described in the Autoconf Configure Script Exception,
  2259. # version 3.0, as published by the Free Software Foundation.
  2260. #
  2261. # You should have received a copy of the GNU General Public License
  2262. # and a copy of the Autoconf Configure Script Exception along with
  2263. # this program; see the files COPYINGv3 and COPYING.EXCEPTION
  2264. # respectively. If not, see <http://www.gnu.org/licenses/>.
  2265. # Many of these macros were adapted from ones written by Andrew Dalke
  2266. # and James Henstridge and are included with the Automake utility
  2267. # under the following copyright terms:
  2268. #
  2269. # Copyright (C) 1999-2012 Free Software Foundation, Inc.
  2270. #
  2271. # This file is free software; the Free Software Foundation
  2272. # gives unlimited permission to copy and/or distribute it,
  2273. # with or without modifications, as long as this notice is preserved.
  2274. # Table of Contents:
  2275. #
  2276. # 1. Language selection
  2277. # and routines to produce programs in a given language.
  2278. #
  2279. # 2. Producing programs in a given language.
  2280. #
  2281. # 3. Looking for a compiler
  2282. # And possibly the associated preprocessor.
  2283. #
  2284. # 4. Looking for specific libs & functionality
  2285. ## ----------------------- ##
  2286. ## 1. Language selection. ##
  2287. ## ----------------------- ##
  2288. # AC_LANG(Python)
  2289. # ---------------
  2290. # AC_LANG_PYTHON
  2291. # --------------
  2292. # This is what autoupdate's m4 run will expand. It fires
  2293. # the warning (with _au_warn_XXX), outputs it into the
  2294. # updated configure.ac (with AC_DIAGNOSE), and then outputs
  2295. # the replacement expansion.
  2296. # This is an auxiliary macro that is also run when
  2297. # autoupdate runs m4. It simply calls m4_warning, but
  2298. # we need a wrapper so that each warning is emitted only
  2299. # once. We break the quoting in m4_warning's argument in
  2300. # order to expand this macro's arguments, not AU_DEFUN's.
  2301. # Finally, this is the expansion that is picked up by
  2302. # autoconf. It tells the user to run autoupdate, and
  2303. # then outputs the replacement expansion. We do not care
  2304. # about autoupdate's warning because that contains
  2305. # information on what to do *after* running autoupdate.
  2306. ## ----------------------- ##
  2307. ## 2. Producing programs. ##
  2308. ## ----------------------- ##
  2309. # AC_LANG_PROGRAM(Python)([PROLOGUE], [BODY])
  2310. # -------------------------------------------
  2311. # _AC_LANG_IO_PROGRAM(Python)
  2312. # ---------------------------
  2313. # Produce source that performs I/O.
  2314. # _AC_LANG_CALL(Python)([PROLOGUE], [FUNCTION])
  2315. # ---------------------
  2316. # Produce source that calls FUNCTION
  2317. ## -------------------------------------------- ##
  2318. ## 3. Looking for Compilers and Interpreters. ##
  2319. ## -------------------------------------------- ##
  2320. # PC_INIT([MIN-VERSION], [MAX-VERSION])
  2321. # -----------------------------
  2322. # Initialize pyconfigure, finding a Python interpreter with a given
  2323. # minimum and/or maximum version.
  2324. # PC_INIT
  2325. # PC_PROG_PYTHON([PROG-TO-CHECK-FOR], [MIN-VERSION], [MAX-VERSION])
  2326. # ---------------------------------
  2327. # Find a Python interpreter. Python versions prior to 2.0 are not
  2328. # supported. (2.0 was released on October 16, 2000).
  2329. # PC_PROG_PYTHON
  2330. # PC_PYTHON_PROG_PYTHON_CONFIG(PROG-TO-CHECK-FOR)
  2331. # ----------------------------------------------
  2332. # Find the python-config program
  2333. # PC_PYTHON_PROG_PYTHON_CONFIG
  2334. # PC_PYTHON_VERIFY_VERSION([RELATION], [VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
  2335. # ---------------------------------------------------------------------------
  2336. # Run ACTION-IF-TRUE if the Python interpreter PROG has version [RELATION] VERSION.
  2337. # i.e if RELATION is "<", check if PROG has a version number less than VERSION.
  2338. # Run ACTION-IF-FALSE otherwise.
  2339. # Specify RELATION as any mathematical comparison "<", ">", "<=", ">=", "==" or "!="
  2340. # This test uses sys.hexversion instead of the string equivalent (first
  2341. # word of sys.version), in order to cope with versions such as 2.2c1.
  2342. # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
  2343. # PC_PYTHON_VERIFY_VERSION
  2344. # PC_PYTHON_CHECK_VERSION
  2345. # -----------------------
  2346. # Query Python for its version number. Getting [:3] seems to be
  2347. # the best way to do this; it's what "site.py" does in the standard
  2348. # library.
  2349. # PC_PYTHON_CHECK_VERSION
  2350. # PC_PYTHON_CHECK_PREFIX
  2351. # ----------------------
  2352. # Use the value of $prefix for the corresponding value of
  2353. # PYTHON_PREFIX. This is made a distinct variable so it can be
  2354. # overridden if need be. However, general consensus is that you
  2355. # shouldn't need this ability.
  2356. # PC_PYTHON_CHECK_EXEC_PREFIX
  2357. # --------------------------
  2358. # Like above, but for $exec_prefix
  2359. # PC_PYTHON_CHECK_INCLUDES
  2360. # ------------------------
  2361. # Find the Python header file include flags (ie
  2362. # '-I/usr/include/python')
  2363. # PC_PYTHON_CHECK_HEADERS([ACTION-IF-PRESENT], [ACTION-IF-ABSENT])
  2364. # -----------------------
  2365. # Check for the presence and usability of Python.h
  2366. # PC_PYTHON_CHECK_LIBS
  2367. # --------------------
  2368. # Find the Python lib flags (ie '-lpython')
  2369. # PC_PYTHON_TEST_LIBS(LIBRARY-FUNCTION, [ACTION-IF-PRESENT], [ACTION-IF-ABSENT])
  2370. # -------------------
  2371. # Verify that the Python libs can be loaded
  2372. # PC_PYTHON_CHECK_CFLAGS
  2373. # ----------------------
  2374. # Find the Python CFLAGS
  2375. # PC_PYTHON_CHECK_LDFLAGS
  2376. # -----------------------
  2377. # Find the Python LDFLAGS
  2378. # PC_PYTHON_CHECK_EXTENSION_SUFFIX
  2379. # --------------------------------
  2380. # Find the Python extension suffix (i.e. '.cpython-32.so')
  2381. # PC_PYTHON_CHECK_ABI_FLAGS
  2382. # -------------------------
  2383. # Find the Python ABI flags
  2384. # PC_PYTHON_CHECK_PLATFORM
  2385. # ------------------------
  2386. # At times (like when building shared libraries) you may want
  2387. # to know which OS platform Python thinks this is.
  2388. # PC_PYTHON_CHECK_SITE_DIR
  2389. # ---------------------
  2390. # The directory to which new libraries are installed (i.e. the
  2391. # "site-packages" directory.
  2392. # PC_PYTHON_CHECK_SITE_DIR
  2393. # PC_PYTHON_SITE_PACKAGE_DIR
  2394. # --------------------------
  2395. # $PACKAGE directory under PYTHON_SITE_DIR
  2396. # PC_PYTHON_CHECK_EXEC_DIR
  2397. # ------------------------
  2398. # directory for installing python extension modules (shared libraries)
  2399. #PY_PYTHON_CHECK_EXEC_LIB_DIR
  2400. # PC_PYTHON_EXEC_PACKAGE_DIR
  2401. # --------------------------
  2402. # $PACKAGE directory under PYTHON_SITE_DIR
  2403. ## -------------------------------------------- ##
  2404. ## 4. Looking for specific libs & functionality ##
  2405. ## -------------------------------------------- ##
  2406. # PC_PYTHON_CHECK_MODULE(LIBRARY, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  2407. # ----------------------------------------------------------------------
  2408. # Macro for checking if a Python library is installed
  2409. # PC_PYTHON_CHECK_MODULE
  2410. # PC_PYTHON_CHECK_FUNC([LIBRARY], FUNCTION, ARGS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  2411. # ---------------------------------------------------------------------------------------
  2412. # Check to see if a given function call, optionally from a module, can
  2413. # be successfully called
  2414. # PC_PYTHON_CHECK_FUNC
  2415. # PC_PYTHON_CHECK_MODULE_MATCH_VERSION(LIBRARY, VERSION, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND)
  2416. # -------------------------------------------------
  2417. # Macro for checking if a Python library with this version is installed
  2418. #
  2419. # PC_PYTHON_CHECK_MODULE_VERSION
  2420. # PC_PYTHON_CHECK_MODULE_VERSION(LIBRARY, MIN-VERSION, MAX-VERSION, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND)
  2421. # -------------------------------------------------
  2422. # Macro for checking if a Python library with this version is installed
  2423. #
  2424. # PC_PYTHON_CHECK_MODULE_VERSION
  2425. #Renamed because we use a patched version of aclocal python.m4 file
  2426. if test -n "$PYTHON"; then
  2427. # If the user set $PYTHON, use it and don't search something else.
  2428. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.4.2" >&5
  2429. $as_echo_n "checking whether $PYTHON version is >= 3.4.2... " >&6; }
  2430. prog="import sys
  2431. # split strings by '.' and convert to numeric. Append some zeros
  2432. # because we need at least 4 digits for the hex conversion.
  2433. # map returns an iterator in Python 3.0 and a list in 2.x
  2434. minver = list(map(int, '3.4.2'.split('.'))) + [0, 0, 0]
  2435. minverhex = 0
  2436. # xrange is not present in Python 3.0 and range returns an iterator
  2437. for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
  2438. sys.exit(sys.hexversion < minverhex)"
  2439. if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
  2440. ($PYTHON -c "$prog") >&5 2>&5
  2441. ac_status=$?
  2442. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2443. (exit $ac_status); }; then :
  2444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2445. $as_echo "yes" >&6; }
  2446. else
  2447. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2448. $as_echo "no" >&6; }
  2449. as_fn_error $? "Python interpreter is too old" "$LINENO" 5
  2450. fi
  2451. am_display_PYTHON=$PYTHON
  2452. else
  2453. # Otherwise, try each interpreter until we find one that satisfies
  2454. # VERSION.
  2455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.4.2" >&5
  2456. $as_echo_n "checking for a Python interpreter with version >= 3.4.2... " >&6; }
  2457. if ${am_cv_pathless_PYTHON+:} false; then :
  2458. $as_echo_n "(cached) " >&6
  2459. else
  2460. for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
  2461. test "$am_cv_pathless_PYTHON" = none && break
  2462. prog="import sys
  2463. # split strings by '.' and convert to numeric. Append some zeros
  2464. # because we need at least 4 digits for the hex conversion.
  2465. # map returns an iterator in Python 3.0 and a list in 2.x
  2466. minver = list(map(int, '3.4.2'.split('.'))) + [0, 0, 0]
  2467. minverhex = 0
  2468. # xrange is not present in Python 3.0 and range returns an iterator
  2469. for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
  2470. sys.exit(sys.hexversion < minverhex)"
  2471. if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
  2472. ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
  2473. ac_status=$?
  2474. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2475. (exit $ac_status); }; then :
  2476. break
  2477. fi
  2478. done
  2479. fi
  2480. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
  2481. $as_echo "$am_cv_pathless_PYTHON" >&6; }
  2482. # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
  2483. if test "$am_cv_pathless_PYTHON" = none; then
  2484. PYTHON=:
  2485. else
  2486. # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
  2487. set dummy $am_cv_pathless_PYTHON; ac_word=$2
  2488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2489. $as_echo_n "checking for $ac_word... " >&6; }
  2490. if ${ac_cv_path_PYTHON+:} false; then :
  2491. $as_echo_n "(cached) " >&6
  2492. else
  2493. case $PYTHON in
  2494. [\\/]* | ?:[\\/]*)
  2495. ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  2496. ;;
  2497. *)
  2498. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2499. for as_dir in $PATH
  2500. do
  2501. IFS=$as_save_IFS
  2502. test -z "$as_dir" && as_dir=.
  2503. for ac_exec_ext in '' $ac_executable_extensions; do
  2504. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2505. ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  2506. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2507. break 2
  2508. fi
  2509. done
  2510. done
  2511. IFS=$as_save_IFS
  2512. ;;
  2513. esac
  2514. fi
  2515. PYTHON=$ac_cv_path_PYTHON
  2516. if test -n "$PYTHON"; then
  2517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
  2518. $as_echo "$PYTHON" >&6; }
  2519. else
  2520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2521. $as_echo "no" >&6; }
  2522. fi
  2523. fi
  2524. am_display_PYTHON=$am_cv_pathless_PYTHON
  2525. fi
  2526. if test "$PYTHON" = :; then
  2527. as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
  2528. else
  2529. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
  2530. $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
  2531. if ${am_cv_python_version+:} false; then :
  2532. $as_echo_n "(cached) " >&6
  2533. else
  2534. am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
  2535. fi
  2536. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
  2537. $as_echo "$am_cv_python_version" >&6; }
  2538. PYTHON_VERSION=$am_cv_python_version
  2539. PYTHON_PREFIX='${prefix}'
  2540. PYTHON_EXEC_PREFIX='${exec_prefix}'
  2541. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
  2542. $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
  2543. if ${am_cv_python_platform+:} false; then :
  2544. $as_echo_n "(cached) " >&6
  2545. else
  2546. am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
  2547. fi
  2548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
  2549. $as_echo "$am_cv_python_platform" >&6; }
  2550. PYTHON_PLATFORM=$am_cv_python_platform
  2551. # Just factor out some code duplication.
  2552. am_python_setup_sysconfig="\
  2553. import sys
  2554. # Prefer sysconfig over distutils.sysconfig, for better compatibility
  2555. # with python 3.x. See automake bug#10227.
  2556. # But not see <https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092>
  2557. try:
  2558. import sysconfig
  2559. except ImportError:
  2560. can_use_sysconfig = 0
  2561. else:
  2562. can_use_sysconfig = 1
  2563. # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
  2564. # <https://github.com/pypa/virtualenv/issues/118>
  2565. # Can't use sysconfig in CPython > 3.0 in debian since it's broken :
  2566. # <https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092>
  2567. try:
  2568. from platform import python_implementation
  2569. if python_implementation() == 'CPython' and ( \
  2570. float(sys.version[:3]) > 3.0 or sys.version[:3] == '2.7'):
  2571. can_use_sysconfig = 0
  2572. except ImportError:
  2573. pass"
  2574. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
  2575. $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
  2576. if ${am_cv_python_pythondir+:} false; then :
  2577. $as_echo_n "(cached) " >&6
  2578. else
  2579. if test "x$prefix" = xNONE
  2580. then
  2581. am_py_prefix=$ac_default_prefix
  2582. else
  2583. am_py_prefix=$prefix
  2584. fi
  2585. am_cv_python_pythondir=`$PYTHON -c "
  2586. $am_python_setup_sysconfig
  2587. if can_use_sysconfig:
  2588. sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
  2589. else:
  2590. from distutils import sysconfig
  2591. sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
  2592. sys.stdout.write(sitedir)"`
  2593. case $am_cv_python_pythondir in
  2594. $am_py_prefix*)
  2595. am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
  2596. am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
  2597. ;;
  2598. *)
  2599. case $am_py_prefix in
  2600. /usr|/System*) ;;
  2601. *)
  2602. am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
  2603. ;;
  2604. esac
  2605. ;;
  2606. esac
  2607. fi
  2608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
  2609. $as_echo "$am_cv_python_pythondir" >&6; }
  2610. pythondir=$am_cv_python_pythondir
  2611. pkgpythondir=\${pythondir}/$PACKAGE
  2612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
  2613. $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
  2614. if ${am_cv_python_pyexecdir+:} false; then :
  2615. $as_echo_n "(cached) " >&6
  2616. else
  2617. if test "x$exec_prefix" = xNONE
  2618. then
  2619. am_py_exec_prefix=$am_py_prefix
  2620. else
  2621. am_py_exec_prefix=$exec_prefix
  2622. fi
  2623. am_cv_python_pyexecdir=`$PYTHON -c "
  2624. $am_python_setup_sysconfig
  2625. if can_use_sysconfig:
  2626. sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
  2627. else:
  2628. from distutils import sysconfig
  2629. sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
  2630. sys.stdout.write(sitedir)"`
  2631. case $am_cv_python_pyexecdir in
  2632. $am_py_exec_prefix*)
  2633. am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
  2634. am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
  2635. ;;
  2636. *)
  2637. case $am_py_exec_prefix in
  2638. /usr|/System*) ;;
  2639. *)
  2640. am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
  2641. ;;
  2642. esac
  2643. ;;
  2644. esac
  2645. fi
  2646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
  2647. $as_echo "$am_cv_python_pyexecdir" >&6; }
  2648. pyexecdir=$am_cv_python_pyexecdir
  2649. pkgpyexecdir=\${pyexecdir}/$PACKAGE
  2650. fi
  2651. #init aclocal's default python support
  2652. for ac_prog in python3 \
  2653. \
  2654. python3.6 python3.5 python3.4 \
  2655. python
  2656. do
  2657. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2658. set dummy $ac_prog; ac_word=$2
  2659. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2660. $as_echo_n "checking for $ac_word... " >&6; }
  2661. if ${ac_cv_path_PYTHON+:} false; then :
  2662. $as_echo_n "(cached) " >&6
  2663. else
  2664. case $PYTHON in
  2665. [\\/]* | ?:[\\/]*)
  2666. ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  2667. ;;
  2668. *)
  2669. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2670. for as_dir in $PATH
  2671. do
  2672. IFS=$as_save_IFS
  2673. test -z "$as_dir" && as_dir=.
  2674. for ac_exec_ext in '' $ac_executable_extensions; do
  2675. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2676. ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  2677. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2678. break 2
  2679. fi
  2680. done
  2681. done
  2682. IFS=$as_save_IFS
  2683. ;;
  2684. esac
  2685. fi
  2686. PYTHON=$ac_cv_path_PYTHON
  2687. if test -n "$PYTHON"; then
  2688. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
  2689. $as_echo "$PYTHON" >&6; }
  2690. else
  2691. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2692. $as_echo "no" >&6; }
  2693. fi
  2694. test -n "$PYTHON" && break
  2695. done
  2696. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Python >= '3.4.2'" >&5
  2697. $as_echo_n "checking if Python >= '3.4.2'... " >&6; }
  2698. if ${pc_cv_python_req_version_3_4_2+:} false; then :
  2699. $as_echo_n "(cached) " >&6
  2700. else
  2701. ac_ext=py
  2702. ac_compile='chmod +x conftest.$ac_ext >&5'
  2703. ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
  2704. if test "$cross_compiling" = yes; then :
  2705. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2706. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2707. as_fn_error $? "cannot run test program while cross compiling
  2708. See \`config.log' for more details" "$LINENO" 5; }
  2709. else
  2710. cat > conftest.$ac_ext <<_ACEOF
  2711. #!$PYTHON
  2712. import sys
  2713. if __name__ == '__main__':
  2714. # split strings by '.' and convert to numeric. Append some zeros
  2715. # because we need at least 4 digits for the hex conversion.
  2716. # map returns an iterator in Python 3.0 and a list in 2.x
  2717. reqver = list(map(int, '3.4.2'.split('.'))) + [0, 0, 0]
  2718. reqverhex = 0
  2719. # xrange is not present in Python 3.0 and range returns an iterator
  2720. for i in list(range(4)):
  2721. reqverhex = (reqverhex << 8) + reqver[i]
  2722. # the final 8 bits are "0xf0" for final versions, which are all
  2723. # we'll test against, since it's doubtful that a released software
  2724. # will depend on an alpha- or beta-state Python.
  2725. reqverhex += 0xf0
  2726. if sys.hexversion >= reqverhex:
  2727. sys.exit()
  2728. else:
  2729. sys.exit(1)
  2730. _ACEOF
  2731. if ac_fn_py_try_run "$LINENO"; then :
  2732. pc_cv_python_req_version_3_4_2=yes
  2733. else
  2734. pc_cv_python_req_version_3_4_2=no
  2735. fi
  2736. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2737. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2738. fi
  2739. ac_ext=c
  2740. ac_cpp='$CPP $CPPFLAGS'
  2741. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2742. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2743. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2744. fi
  2745. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_req_version_3_4_2" >&5
  2746. $as_echo "$pc_cv_python_req_version_3_4_2" >&6; }
  2747. if test "$pc_cv_python_req_version_3_4_2" = "no"; then :
  2748. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2749. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2750. as_fn_error $? "No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.
  2751. See \`config.log' for more details" "$LINENO" 5; }
  2752. fi
  2753. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Python <= '3.6'" >&5
  2754. $as_echo_n "checking if Python <= '3.6'... " >&6; }
  2755. if ${pc_cv_python_req_version_3_6+:} false; then :
  2756. $as_echo_n "(cached) " >&6
  2757. else
  2758. ac_ext=py
  2759. ac_compile='chmod +x conftest.$ac_ext >&5'
  2760. ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
  2761. if test "$cross_compiling" = yes; then :
  2762. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2763. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2764. as_fn_error $? "cannot run test program while cross compiling
  2765. See \`config.log' for more details" "$LINENO" 5; }
  2766. else
  2767. cat > conftest.$ac_ext <<_ACEOF
  2768. #!$PYTHON
  2769. import sys
  2770. if __name__ == '__main__':
  2771. # split strings by '.' and convert to numeric. Append some zeros
  2772. # because we need at least 4 digits for the hex conversion.
  2773. # map returns an iterator in Python 3.0 and a list in 2.x
  2774. reqver = list(map(int, '3.6'.split('.'))) + [0, 0, 0]
  2775. reqverhex = 0
  2776. # xrange is not present in Python 3.0 and range returns an iterator
  2777. for i in list(range(4)):
  2778. reqverhex = (reqverhex << 8) + reqver[i]
  2779. # the final 8 bits are "0xf0" for final versions, which are all
  2780. # we'll test against, since it's doubtful that a released software
  2781. # will depend on an alpha- or beta-state Python.
  2782. reqverhex += 0xf0
  2783. if sys.hexversion <= reqverhex:
  2784. sys.exit()
  2785. else:
  2786. sys.exit(1)
  2787. _ACEOF
  2788. if ac_fn_py_try_run "$LINENO"; then :
  2789. pc_cv_python_req_version_3_6=yes
  2790. else
  2791. pc_cv_python_req_version_3_6=no
  2792. fi
  2793. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2794. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2795. fi
  2796. ac_ext=c
  2797. ac_cpp='$CPP $CPPFLAGS'
  2798. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2799. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2800. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2801. fi
  2802. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_req_version_3_6" >&5
  2803. $as_echo "$pc_cv_python_req_version_3_6" >&6; }
  2804. if test "$pc_cv_python_req_version_3_6" = "no"; then :
  2805. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2806. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2807. as_fn_error $? "No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.
  2808. See \`config.log' for more details" "$LINENO" 5; }
  2809. fi
  2810. #init pyconfigure aclocal's macro
  2811. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Python >= '3.4.2'" >&5
  2812. $as_echo_n "checking if Python >= '3.4.2'... " >&6; }
  2813. if ${pc_cv_python_req_version_3_4_2+:} false; then :
  2814. $as_echo_n "(cached) " >&6
  2815. else
  2816. ac_ext=py
  2817. ac_compile='chmod +x conftest.$ac_ext >&5'
  2818. ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
  2819. if test "$cross_compiling" = yes; then :
  2820. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2821. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2822. as_fn_error $? "cannot run test program while cross compiling
  2823. See \`config.log' for more details" "$LINENO" 5; }
  2824. else
  2825. cat > conftest.$ac_ext <<_ACEOF
  2826. #!$PYTHON
  2827. import sys
  2828. if __name__ == '__main__':
  2829. # split strings by '.' and convert to numeric. Append some zeros
  2830. # because we need at least 4 digits for the hex conversion.
  2831. # map returns an iterator in Python 3.0 and a list in 2.x
  2832. reqver = list(map(int, '3.4.2'.split('.'))) + [0, 0, 0]
  2833. reqverhex = 0
  2834. # xrange is not present in Python 3.0 and range returns an iterator
  2835. for i in list(range(4)):
  2836. reqverhex = (reqverhex << 8) + reqver[i]
  2837. # the final 8 bits are "0xf0" for final versions, which are all
  2838. # we'll test against, since it's doubtful that a released software
  2839. # will depend on an alpha- or beta-state Python.
  2840. reqverhex += 0xf0
  2841. if sys.hexversion >= reqverhex:
  2842. sys.exit()
  2843. else:
  2844. sys.exit(1)
  2845. _ACEOF
  2846. if ac_fn_py_try_run "$LINENO"; then :
  2847. pc_cv_python_req_version_3_4_2=yes
  2848. else
  2849. pc_cv_python_req_version_3_4_2=no
  2850. fi
  2851. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2852. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2853. fi
  2854. ac_ext=c
  2855. ac_cpp='$CPP $CPPFLAGS'
  2856. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2857. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2858. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2859. fi
  2860. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_req_version_3_4_2" >&5
  2861. $as_echo "$pc_cv_python_req_version_3_4_2" >&6; }
  2862. if test "$pc_cv_python_req_version_3_4_2" = "no"; then :
  2863. as_fn_error $? "Python interpreter too old" "$LINENO" 5
  2864. fi
  2865. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 'lxml' library" >&5
  2866. $as_echo_n "checking for Python 'lxml' library... " >&6; }
  2867. if ${pc_cv_python_module_lxml+:} false; then :
  2868. $as_echo_n "(cached) " >&6
  2869. else
  2870. ac_ext=py
  2871. ac_compile='chmod +x conftest.$ac_ext >&5'
  2872. ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
  2873. if test "$cross_compiling" = yes; then :
  2874. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2875. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2876. as_fn_error $? "cannot run test program while cross compiling
  2877. See \`config.log' for more details" "$LINENO" 5; }
  2878. else
  2879. cat > conftest.$ac_ext <<_ACEOF
  2880. #!$PYTHON
  2881. import sys
  2882. try:
  2883. import lxml
  2884. except:
  2885. sys.exit(1)
  2886. else:
  2887. sys.exit(0)
  2888. _ACEOF
  2889. if ac_fn_py_try_run "$LINENO"; then :
  2890. pc_cv_python_module_lxml="yes"
  2891. else
  2892. pc_cv_python_module_lxml="no"
  2893. fi
  2894. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2895. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2896. fi
  2897. ac_ext=c
  2898. ac_cpp='$CPP $CPPFLAGS'
  2899. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2900. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2901. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2902. fi
  2903. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_module_lxml" >&5
  2904. $as_echo "$pc_cv_python_module_lxml" >&6; }
  2905. if test "$pc_cv_python_module_lxml" = "no"; then :
  2906. as_fn_error $? "Module lxml not found but mandatory for lodel2" "$LINENO" 5
  2907. fi
  2908. #Webui deps
  2909. WEBUI='True'
  2910. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 'jinja2' library '2.7.3' <= version " >&5
  2911. $as_echo_n "checking for Python 'jinja2' library '2.7.3' <= version ... " >&6; }
  2912. if ${pc_cv_python_module_versionjinja22_7_3+:} false; then :
  2913. $as_echo_n "(cached) " >&6
  2914. else
  2915. ac_ext=py
  2916. ac_compile='chmod +x conftest.$ac_ext >&5'
  2917. ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
  2918. cat > conftest.$ac_ext <<_ACEOF
  2919. #!$PYTHON
  2920. import sys
  2921. def cmp_vers(v1,v2):
  2922. v1 = v1.split('.')
  2923. v2 = v2.split('.')
  2924. for i in range(max(len(v1), len(v2))):
  2925. v1v = int(v1[i] if i < len(v1) else 0)
  2926. v2v = int(v2[i] if i < len(v2) else 0)
  2927. if v1v > v2v:
  2928. return 1
  2929. if v1v < v2v:
  2930. return -1
  2931. return 0
  2932. try:
  2933. import jinja2
  2934. except:
  2935. result='not found'
  2936. else:
  2937. result='yes'
  2938. vmin = '2.7.3'
  2939. vmax = ''
  2940. for vers_attr in ('__version__', 'version', 'version_info'):
  2941. if hasattr(jinja2, vers_attr):
  2942. version = getattr(jinja2, vers_attr)
  2943. break
  2944. else:
  2945. result = 'unknown'
  2946. if version not in ('unknonwn', 'no'):
  2947. failmsg = "but "+ version + " found"
  2948. if len(vmin) > 0:
  2949. if cmp_vers(version, vmin) < 0:
  2950. result = failmsg
  2951. if len(vmax) > 0:
  2952. if cmp_vers(version, vmax) > 0:
  2953. result = failmsg
  2954. sys.stdout.write(result)
  2955. _ACEOF
  2956. if ac_fn_py_try_link "$LINENO"; then :
  2957. pc_cv_python_module_versionjinja22_7_3=`./conftest`
  2958. else
  2959. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2960. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2961. as_fn_error $? "failed to run Python program
  2962. See \`config.log' for more details" "$LINENO" 5; }
  2963. fi
  2964. rm -f core conftest.err conftest.$ac_objext \
  2965. conftest$ac_exeext conftest.$ac_ext
  2966. ac_ext=c
  2967. ac_cpp='$CPP $CPPFLAGS'
  2968. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2969. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2970. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2971. fi
  2972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_module_versionjinja22_7_3" >&5
  2973. $as_echo "$pc_cv_python_module_versionjinja22_7_3" >&6; }
  2974. if test "$pc_cv_python_module_versionjinja22_7_3" = "yes"; then :
  2975. else
  2976. if test "x$pc_cv_python_module_versionjinja22_7_3" = 'unknown'; then :
  2977. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to fetch version of Python module jinja2" >&5
  2978. $as_echo "$as_me: WARNING: Unable to fetch version of Python module jinja2" >&2;}
  2979. fi
  2980. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Module jinja2 not found but mandatory for default web interface" >&5
  2981. $as_echo "$as_me: WARNING: Module jinja2 not found but mandatory for default web interface" >&2;}
  2982. WEBUI='False'
  2983. fi
  2984. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 'werkzeug' library '0.9' <= version " >&5
  2985. $as_echo_n "checking for Python 'werkzeug' library '0.9' <= version ... " >&6; }
  2986. if ${pc_cv_python_module_versionwerkzeug0_9+:} false; then :
  2987. $as_echo_n "(cached) " >&6
  2988. else
  2989. ac_ext=py
  2990. ac_compile='chmod +x conftest.$ac_ext >&5'
  2991. ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
  2992. cat > conftest.$ac_ext <<_ACEOF
  2993. #!$PYTHON
  2994. import sys
  2995. def cmp_vers(v1,v2):
  2996. v1 = v1.split('.')
  2997. v2 = v2.split('.')
  2998. for i in range(max(len(v1), len(v2))):
  2999. v1v = int(v1[i] if i < len(v1) else 0)
  3000. v2v = int(v2[i] if i < len(v2) else 0)
  3001. if v1v > v2v:
  3002. return 1
  3003. if v1v < v2v:
  3004. return -1
  3005. return 0
  3006. try:
  3007. import werkzeug
  3008. except:
  3009. result='not found'
  3010. else:
  3011. result='yes'
  3012. vmin = '0.9'
  3013. vmax = ''
  3014. for vers_attr in ('__version__', 'version', 'version_info'):
  3015. if hasattr(werkzeug, vers_attr):
  3016. version = getattr(werkzeug, vers_attr)
  3017. break
  3018. else:
  3019. result = 'unknown'
  3020. if version not in ('unknonwn', 'no'):
  3021. failmsg = "but "+ version + " found"
  3022. if len(vmin) > 0:
  3023. if cmp_vers(version, vmin) < 0:
  3024. result = failmsg
  3025. if len(vmax) > 0:
  3026. if cmp_vers(version, vmax) > 0:
  3027. result = failmsg
  3028. sys.stdout.write(result)
  3029. _ACEOF
  3030. if ac_fn_py_try_link "$LINENO"; then :
  3031. pc_cv_python_module_versionwerkzeug0_9=`./conftest`
  3032. else
  3033. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3034. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3035. as_fn_error $? "failed to run Python program
  3036. See \`config.log' for more details" "$LINENO" 5; }
  3037. fi
  3038. rm -f core conftest.err conftest.$ac_objext \
  3039. conftest$ac_exeext conftest.$ac_ext
  3040. ac_ext=c
  3041. ac_cpp='$CPP $CPPFLAGS'
  3042. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3043. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3044. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3045. fi
  3046. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_module_versionwerkzeug0_9" >&5
  3047. $as_echo "$pc_cv_python_module_versionwerkzeug0_9" >&6; }
  3048. if test "$pc_cv_python_module_versionwerkzeug0_9" = "yes"; then :
  3049. else
  3050. if test "x$pc_cv_python_module_versionwerkzeug0_9" = 'unknown'; then :
  3051. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to fetch version of Python module werkzeug" >&5
  3052. $as_echo "$as_me: WARNING: Unable to fetch version of Python module werkzeug" >&2;}
  3053. fi
  3054. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Module werkzeug not found but mandatory for default web interface" >&5
  3055. $as_echo "$as_me: WARNING: Module werkzeug not found but mandatory for default web interface" >&2;}
  3056. WEBUI='False'
  3057. fi
  3058. #Mongo datasource deps
  3059. PYMONGO='True'
  3060. #Can be found in lodel/buildconf.py
  3061. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 'pymongo' library '2.7' <= version <= '2.8'" >&5
  3062. $as_echo_n "checking for Python 'pymongo' library '2.7' <= version <= '2.8'... " >&6; }
  3063. if ${pc_cv_python_module_versionpymongo2_72_8+:} false; then :
  3064. $as_echo_n "(cached) " >&6
  3065. else
  3066. ac_ext=py
  3067. ac_compile='chmod +x conftest.$ac_ext >&5'
  3068. ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
  3069. cat > conftest.$ac_ext <<_ACEOF
  3070. #!$PYTHON
  3071. import sys
  3072. def cmp_vers(v1,v2):
  3073. v1 = v1.split('.')
  3074. v2 = v2.split('.')
  3075. for i in range(max(len(v1), len(v2))):
  3076. v1v = int(v1[i] if i < len(v1) else 0)
  3077. v2v = int(v2[i] if i < len(v2) else 0)
  3078. if v1v > v2v:
  3079. return 1
  3080. if v1v < v2v:
  3081. return -1
  3082. return 0
  3083. try:
  3084. import pymongo
  3085. except:
  3086. result='not found'
  3087. else:
  3088. result='yes'
  3089. vmin = '2.7'
  3090. vmax = '2.8'
  3091. for vers_attr in ('__version__', 'version', 'version_info'):
  3092. if hasattr(pymongo, vers_attr):
  3093. version = getattr(pymongo, vers_attr)
  3094. break
  3095. else:
  3096. result = 'unknown'
  3097. if version not in ('unknonwn', 'no'):
  3098. failmsg = "but "+ version + " found"
  3099. if len(vmin) > 0:
  3100. if cmp_vers(version, vmin) < 0:
  3101. result = failmsg
  3102. if len(vmax) > 0:
  3103. if cmp_vers(version, vmax) > 0:
  3104. result = failmsg
  3105. sys.stdout.write(result)
  3106. _ACEOF
  3107. if ac_fn_py_try_link "$LINENO"; then :
  3108. pc_cv_python_module_versionpymongo2_72_8=`./conftest`
  3109. else
  3110. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3111. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3112. as_fn_error $? "failed to run Python program
  3113. See \`config.log' for more details" "$LINENO" 5; }
  3114. fi
  3115. rm -f core conftest.err conftest.$ac_objext \
  3116. conftest$ac_exeext conftest.$ac_ext
  3117. ac_ext=c
  3118. ac_cpp='$CPP $CPPFLAGS'
  3119. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3120. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3121. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3122. fi
  3123. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_module_versionpymongo2_72_8" >&5
  3124. $as_echo "$pc_cv_python_module_versionpymongo2_72_8" >&6; }
  3125. if test "$pc_cv_python_module_versionpymongo2_72_8" = "yes"; then :
  3126. else
  3127. if test "x$pc_cv_python_module_versionpymongo2_72_8" = 'unknown'; then :
  3128. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to fetch version of Python module pymongo" >&5
  3129. $as_echo "$as_me: WARNING: Unable to fetch version of Python module pymongo" >&2;}
  3130. fi
  3131. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Module pymongo not found. The mongodb datasource will not be able to work" >&5
  3132. $as_echo "$as_me: WARNING: Module pymongo not found. The mongodb datasource will not be able to work" >&2;}
  3133. PYMONGO='False'
  3134. fi
  3135. #Documentation checks
  3136. DOCOK='OK'
  3137. for ac_prog in doxygen
  3138. do
  3139. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3140. set dummy $ac_prog; ac_word=$2
  3141. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3142. $as_echo_n "checking for $ac_word... " >&6; }
  3143. if ${ac_cv_prog_DOXYGEN+:} false; then :
  3144. $as_echo_n "(cached) " >&6
  3145. else
  3146. if test -n "$DOXYGEN"; then
  3147. ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
  3148. else
  3149. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3150. for as_dir in $PATH
  3151. do
  3152. IFS=$as_save_IFS
  3153. test -z "$as_dir" && as_dir=.
  3154. for ac_exec_ext in '' $ac_executable_extensions; do
  3155. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3156. ac_cv_prog_DOXYGEN="$ac_prog"
  3157. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3158. break 2
  3159. fi
  3160. done
  3161. done
  3162. IFS=$as_save_IFS
  3163. fi
  3164. fi
  3165. DOXYGEN=$ac_cv_prog_DOXYGEN
  3166. if test -n "$DOXYGEN"; then
  3167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
  3168. $as_echo "$DOXYGEN" >&6; }
  3169. else
  3170. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3171. $as_echo "no" >&6; }
  3172. fi
  3173. test -n "$DOXYGEN" && break
  3174. done
  3175. if test -z "$DOXYGEN";
  3176. then
  3177. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen not found - You will not be able to generate documentation" >&5
  3178. $as_echo "$as_me: WARNING: Doxygen not found - You will not be able to generate documentation" >&2;}
  3179. DOCOK=''
  3180. fi
  3181. for ac_prog in dot neato twopi
  3182. do
  3183. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3184. set dummy $ac_prog; ac_word=$2
  3185. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3186. $as_echo_n "checking for $ac_word... " >&6; }
  3187. if ${ac_cv_prog_GRAPHVIZ+:} false; then :
  3188. $as_echo_n "(cached) " >&6
  3189. else
  3190. if test -n "$GRAPHVIZ"; then
  3191. ac_cv_prog_GRAPHVIZ="$GRAPHVIZ" # Let the user override the test.
  3192. else
  3193. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3194. for as_dir in $PATH
  3195. do
  3196. IFS=$as_save_IFS
  3197. test -z "$as_dir" && as_dir=.
  3198. for ac_exec_ext in '' $ac_executable_extensions; do
  3199. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3200. ac_cv_prog_GRAPHVIZ="$ac_prog"
  3201. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3202. break 2
  3203. fi
  3204. done
  3205. done
  3206. IFS=$as_save_IFS
  3207. fi
  3208. fi
  3209. GRAPHVIZ=$ac_cv_prog_GRAPHVIZ
  3210. if test -n "$GRAPHVIZ"; then
  3211. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GRAPHVIZ" >&5
  3212. $as_echo "$GRAPHVIZ" >&6; }
  3213. else
  3214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3215. $as_echo "no" >&6; }
  3216. fi
  3217. test -n "$GRAPHVIZ" && break
  3218. done
  3219. if test -z "$GRAPHVIZ";
  3220. then
  3221. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Graphviz not found (dot executable missing) - You will not be able to generate documentation" >&5
  3222. $as_echo "$as_me: WARNING: Graphviz not found (dot executable missing) - You will not be able to generate documentation" >&2;}
  3223. DOCOK=''
  3224. fi
  3225. for ac_prog in doxypy
  3226. do
  3227. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3228. set dummy $ac_prog; ac_word=$2
  3229. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3230. $as_echo_n "checking for $ac_word... " >&6; }
  3231. if ${ac_cv_prog_DOXYPY+:} false; then :
  3232. $as_echo_n "(cached) " >&6
  3233. else
  3234. if test -n "$DOXYPY"; then
  3235. ac_cv_prog_DOXYPY="$DOXYPY" # Let the user override the test.
  3236. else
  3237. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3238. for as_dir in $PATH
  3239. do
  3240. IFS=$as_save_IFS
  3241. test -z "$as_dir" && as_dir=.
  3242. for ac_exec_ext in '' $ac_executable_extensions; do
  3243. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3244. ac_cv_prog_DOXYPY="$ac_prog"
  3245. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3246. break 2
  3247. fi
  3248. done
  3249. done
  3250. IFS=$as_save_IFS
  3251. fi
  3252. fi
  3253. DOXYPY=$ac_cv_prog_DOXYPY
  3254. if test -n "$DOXYPY"; then
  3255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYPY" >&5
  3256. $as_echo "$DOXYPY" >&6; }
  3257. else
  3258. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3259. $as_echo "no" >&6; }
  3260. fi
  3261. test -n "$DOXYPY" && break
  3262. done
  3263. if test -z "$DOXYPY";
  3264. then
  3265. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxypy script not found (https://pypi.python.org/pypi/doxypy/0.3) - You will not be able to generate documentation" >&5
  3266. $as_echo "$as_me: WARNING: Doxypy script not found (https://pypi.python.org/pypi/doxypy/0.3) - You will not be able to generate documentation" >&2;}
  3267. DOCOK=''
  3268. fi
  3269. cat >confcache <<\_ACEOF
  3270. # This file is a shell script that caches the results of configure
  3271. # tests run on this system so they can be shared between configure
  3272. # scripts and configure runs, see configure's option --config-cache.
  3273. # It is not useful on other systems. If it contains results you don't
  3274. # want to keep, you may remove or edit it.
  3275. #
  3276. # config.status only pays attention to the cache file if you give it
  3277. # the --recheck option to rerun configure.
  3278. #
  3279. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  3280. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  3281. # following values.
  3282. _ACEOF
  3283. # The following way of writing the cache mishandles newlines in values,
  3284. # but we know of no workaround that is simple, portable, and efficient.
  3285. # So, we kill variables containing newlines.
  3286. # Ultrix sh set writes to stderr and can't be redirected directly,
  3287. # and sets the high bit in the cache file unless we assign to the vars.
  3288. (
  3289. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  3290. eval ac_val=\$$ac_var
  3291. case $ac_val in #(
  3292. *${as_nl}*)
  3293. case $ac_var in #(
  3294. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3295. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3296. esac
  3297. case $ac_var in #(
  3298. _ | IFS | as_nl) ;; #(
  3299. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3300. *) { eval $ac_var=; unset $ac_var;} ;;
  3301. esac ;;
  3302. esac
  3303. done
  3304. (set) 2>&1 |
  3305. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  3306. *${as_nl}ac_space=\ *)
  3307. # `set' does not quote correctly, so add quotes: double-quote
  3308. # substitution turns \\\\ into \\, and sed turns \\ into \.
  3309. sed -n \
  3310. "s/'/'\\\\''/g;
  3311. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  3312. ;; #(
  3313. *)
  3314. # `set' quotes correctly as required by POSIX, so do not add quotes.
  3315. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3316. ;;
  3317. esac |
  3318. sort
  3319. ) |
  3320. sed '
  3321. /^ac_cv_env_/b end
  3322. t clear
  3323. :clear
  3324. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  3325. t end
  3326. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  3327. :end' >>confcache
  3328. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  3329. if test -w "$cache_file"; then
  3330. if test "x$cache_file" != "x/dev/null"; then
  3331. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  3332. $as_echo "$as_me: updating cache $cache_file" >&6;}
  3333. if test ! -f "$cache_file" || test -h "$cache_file"; then
  3334. cat confcache >"$cache_file"
  3335. else
  3336. case $cache_file in #(
  3337. */* | ?:*)
  3338. mv -f confcache "$cache_file"$$ &&
  3339. mv -f "$cache_file"$$ "$cache_file" ;; #(
  3340. *)
  3341. mv -f confcache "$cache_file" ;;
  3342. esac
  3343. fi
  3344. fi
  3345. else
  3346. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  3347. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  3348. fi
  3349. fi
  3350. rm -f confcache
  3351. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3352. # Let make expand exec_prefix.
  3353. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3354. # Transform confdefs.h into DEFS.
  3355. # Protect against shell expansion while executing Makefile rules.
  3356. # Protect against Makefile macro expansion.
  3357. #
  3358. # If the first sed substitution is executed (which looks for macros that
  3359. # take arguments), then branch to the quote section. Otherwise,
  3360. # look for a macro that doesn't take arguments.
  3361. ac_script='
  3362. :mline
  3363. /\\$/{
  3364. N
  3365. s,\\\n,,
  3366. b mline
  3367. }
  3368. t clear
  3369. :clear
  3370. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  3371. t quote
  3372. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  3373. t quote
  3374. b any
  3375. :quote
  3376. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  3377. s/\[/\\&/g
  3378. s/\]/\\&/g
  3379. s/\$/$$/g
  3380. H
  3381. :any
  3382. ${
  3383. g
  3384. s/^\n//
  3385. s/\n/ /g
  3386. p
  3387. }
  3388. '
  3389. DEFS=`sed -n "$ac_script" confdefs.h`
  3390. ac_libobjs=
  3391. ac_ltlibobjs=
  3392. U=
  3393. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  3394. # 1. Remove the extension, and $U if already installed.
  3395. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  3396. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  3397. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  3398. # will be set to the directory where LIBOBJS objects are built.
  3399. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  3400. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  3401. done
  3402. LIBOBJS=$ac_libobjs
  3403. LTLIBOBJS=$ac_ltlibobjs
  3404. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  3405. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  3406. if test -n "$am_sleep_pid"; then
  3407. # Hide warnings about reused PIDs.
  3408. wait $am_sleep_pid 2>/dev/null
  3409. fi
  3410. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  3411. $as_echo "done" >&6; }
  3412. : "${CONFIG_STATUS=./config.status}"
  3413. ac_write_fail=0
  3414. ac_clean_files_save=$ac_clean_files
  3415. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  3416. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  3417. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  3418. as_write_fail=0
  3419. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  3420. #! $SHELL
  3421. # Generated by $as_me.
  3422. # Run this file to recreate the current configuration.
  3423. # Compiler output produced by configure, useful for debugging
  3424. # configure, is in config.log if it exists.
  3425. debug=false
  3426. ac_cs_recheck=false
  3427. ac_cs_silent=false
  3428. SHELL=\${CONFIG_SHELL-$SHELL}
  3429. export SHELL
  3430. _ASEOF
  3431. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  3432. ## -------------------- ##
  3433. ## M4sh Initialization. ##
  3434. ## -------------------- ##
  3435. # Be more Bourne compatible
  3436. DUALCASE=1; export DUALCASE # for MKS sh
  3437. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  3438. emulate sh
  3439. NULLCMD=:
  3440. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  3441. # is contrary to our usage. Disable this feature.
  3442. alias -g '${1+"$@"}'='"$@"'
  3443. setopt NO_GLOB_SUBST
  3444. else
  3445. case `(set -o) 2>/dev/null` in #(
  3446. *posix*) :
  3447. set -o posix ;; #(
  3448. *) :
  3449. ;;
  3450. esac
  3451. fi
  3452. as_nl='
  3453. '
  3454. export as_nl
  3455. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  3456. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3457. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  3458. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  3459. # Prefer a ksh shell builtin over an external printf program on Solaris,
  3460. # but without wasting forks for bash or zsh.
  3461. if test -z "$BASH_VERSION$ZSH_VERSION" \
  3462. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  3463. as_echo='print -r --'
  3464. as_echo_n='print -rn --'
  3465. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  3466. as_echo='printf %s\n'
  3467. as_echo_n='printf %s'
  3468. else
  3469. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  3470. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  3471. as_echo_n='/usr/ucb/echo -n'
  3472. else
  3473. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  3474. as_echo_n_body='eval
  3475. arg=$1;
  3476. case $arg in #(
  3477. *"$as_nl"*)
  3478. expr "X$arg" : "X\\(.*\\)$as_nl";
  3479. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  3480. esac;
  3481. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  3482. '
  3483. export as_echo_n_body
  3484. as_echo_n='sh -c $as_echo_n_body as_echo'
  3485. fi
  3486. export as_echo_body
  3487. as_echo='sh -c $as_echo_body as_echo'
  3488. fi
  3489. # The user is always right.
  3490. if test "${PATH_SEPARATOR+set}" != set; then
  3491. PATH_SEPARATOR=:
  3492. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  3493. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  3494. PATH_SEPARATOR=';'
  3495. }
  3496. fi
  3497. # IFS
  3498. # We need space, tab and new line, in precisely that order. Quoting is
  3499. # there to prevent editors from complaining about space-tab.
  3500. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  3501. # splitting by setting IFS to empty value.)
  3502. IFS=" "" $as_nl"
  3503. # Find who we are. Look in the path if we contain no directory separator.
  3504. as_myself=
  3505. case $0 in #((
  3506. *[\\/]* ) as_myself=$0 ;;
  3507. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3508. for as_dir in $PATH
  3509. do
  3510. IFS=$as_save_IFS
  3511. test -z "$as_dir" && as_dir=.
  3512. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  3513. done
  3514. IFS=$as_save_IFS
  3515. ;;
  3516. esac
  3517. # We did not find ourselves, most probably we were run as `sh COMMAND'
  3518. # in which case we are not to be found in the path.
  3519. if test "x$as_myself" = x; then
  3520. as_myself=$0
  3521. fi
  3522. if test ! -f "$as_myself"; then
  3523. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  3524. exit 1
  3525. fi
  3526. # Unset variables that we do not need and which cause bugs (e.g. in
  3527. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  3528. # suppresses any "Segmentation fault" message there. '((' could
  3529. # trigger a bug in pdksh 5.2.14.
  3530. for as_var in BASH_ENV ENV MAIL MAILPATH
  3531. do eval test x\${$as_var+set} = xset \
  3532. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  3533. done
  3534. PS1='$ '
  3535. PS2='> '
  3536. PS4='+ '
  3537. # NLS nuisances.
  3538. LC_ALL=C
  3539. export LC_ALL
  3540. LANGUAGE=C
  3541. export LANGUAGE
  3542. # CDPATH.
  3543. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  3544. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  3545. # ----------------------------------------
  3546. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  3547. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  3548. # script with STATUS, using 1 if that was 0.
  3549. as_fn_error ()
  3550. {
  3551. as_status=$1; test $as_status -eq 0 && as_status=1
  3552. if test "$4"; then
  3553. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3554. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  3555. fi
  3556. $as_echo "$as_me: error: $2" >&2
  3557. as_fn_exit $as_status
  3558. } # as_fn_error
  3559. # as_fn_set_status STATUS
  3560. # -----------------------
  3561. # Set $? to STATUS, without forking.
  3562. as_fn_set_status ()
  3563. {
  3564. return $1
  3565. } # as_fn_set_status
  3566. # as_fn_exit STATUS
  3567. # -----------------
  3568. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  3569. as_fn_exit ()
  3570. {
  3571. set +e
  3572. as_fn_set_status $1
  3573. exit $1
  3574. } # as_fn_exit
  3575. # as_fn_unset VAR
  3576. # ---------------
  3577. # Portably unset VAR.
  3578. as_fn_unset ()
  3579. {
  3580. { eval $1=; unset $1;}
  3581. }
  3582. as_unset=as_fn_unset
  3583. # as_fn_append VAR VALUE
  3584. # ----------------------
  3585. # Append the text in VALUE to the end of the definition contained in VAR. Take
  3586. # advantage of any shell optimizations that allow amortized linear growth over
  3587. # repeated appends, instead of the typical quadratic growth present in naive
  3588. # implementations.
  3589. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  3590. eval 'as_fn_append ()
  3591. {
  3592. eval $1+=\$2
  3593. }'
  3594. else
  3595. as_fn_append ()
  3596. {
  3597. eval $1=\$$1\$2
  3598. }
  3599. fi # as_fn_append
  3600. # as_fn_arith ARG...
  3601. # ------------------
  3602. # Perform arithmetic evaluation on the ARGs, and store the result in the
  3603. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  3604. # must be portable across $(()) and expr.
  3605. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  3606. eval 'as_fn_arith ()
  3607. {
  3608. as_val=$(( $* ))
  3609. }'
  3610. else
  3611. as_fn_arith ()
  3612. {
  3613. as_val=`expr "$@" || test $? -eq 1`
  3614. }
  3615. fi # as_fn_arith
  3616. if expr a : '\(a\)' >/dev/null 2>&1 &&
  3617. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  3618. as_expr=expr
  3619. else
  3620. as_expr=false
  3621. fi
  3622. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  3623. as_basename=basename
  3624. else
  3625. as_basename=false
  3626. fi
  3627. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  3628. as_dirname=dirname
  3629. else
  3630. as_dirname=false
  3631. fi
  3632. as_me=`$as_basename -- "$0" ||
  3633. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3634. X"$0" : 'X\(//\)$' \| \
  3635. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  3636. $as_echo X/"$0" |
  3637. sed '/^.*\/\([^/][^/]*\)\/*$/{
  3638. s//\1/
  3639. q
  3640. }
  3641. /^X\/\(\/\/\)$/{
  3642. s//\1/
  3643. q
  3644. }
  3645. /^X\/\(\/\).*/{
  3646. s//\1/
  3647. q
  3648. }
  3649. s/.*/./; q'`
  3650. # Avoid depending upon Character Ranges.
  3651. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3652. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3653. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3654. as_cr_digits='0123456789'
  3655. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3656. ECHO_C= ECHO_N= ECHO_T=
  3657. case `echo -n x` in #(((((
  3658. -n*)
  3659. case `echo 'xy\c'` in
  3660. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  3661. xy) ECHO_C='\c';;
  3662. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  3663. ECHO_T=' ';;
  3664. esac;;
  3665. *)
  3666. ECHO_N='-n';;
  3667. esac
  3668. rm -f conf$$ conf$$.exe conf$$.file
  3669. if test -d conf$$.dir; then
  3670. rm -f conf$$.dir/conf$$.file
  3671. else
  3672. rm -f conf$$.dir
  3673. mkdir conf$$.dir 2>/dev/null
  3674. fi
  3675. if (echo >conf$$.file) 2>/dev/null; then
  3676. if ln -s conf$$.file conf$$ 2>/dev/null; then
  3677. as_ln_s='ln -s'
  3678. # ... but there are two gotchas:
  3679. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  3680. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  3681. # In both cases, we have to default to `cp -pR'.
  3682. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  3683. as_ln_s='cp -pR'
  3684. elif ln conf$$.file conf$$ 2>/dev/null; then
  3685. as_ln_s=ln
  3686. else
  3687. as_ln_s='cp -pR'
  3688. fi
  3689. else
  3690. as_ln_s='cp -pR'
  3691. fi
  3692. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  3693. rmdir conf$$.dir 2>/dev/null
  3694. # as_fn_mkdir_p
  3695. # -------------
  3696. # Create "$as_dir" as a directory, including parents if necessary.
  3697. as_fn_mkdir_p ()
  3698. {
  3699. case $as_dir in #(
  3700. -*) as_dir=./$as_dir;;
  3701. esac
  3702. test -d "$as_dir" || eval $as_mkdir_p || {
  3703. as_dirs=
  3704. while :; do
  3705. case $as_dir in #(
  3706. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  3707. *) as_qdir=$as_dir;;
  3708. esac
  3709. as_dirs="'$as_qdir' $as_dirs"
  3710. as_dir=`$as_dirname -- "$as_dir" ||
  3711. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3712. X"$as_dir" : 'X\(//\)[^/]' \| \
  3713. X"$as_dir" : 'X\(//\)$' \| \
  3714. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  3715. $as_echo X"$as_dir" |
  3716. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3717. s//\1/
  3718. q
  3719. }
  3720. /^X\(\/\/\)[^/].*/{
  3721. s//\1/
  3722. q
  3723. }
  3724. /^X\(\/\/\)$/{
  3725. s//\1/
  3726. q
  3727. }
  3728. /^X\(\/\).*/{
  3729. s//\1/
  3730. q
  3731. }
  3732. s/.*/./; q'`
  3733. test -d "$as_dir" && break
  3734. done
  3735. test -z "$as_dirs" || eval "mkdir $as_dirs"
  3736. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  3737. } # as_fn_mkdir_p
  3738. if mkdir -p . 2>/dev/null; then
  3739. as_mkdir_p='mkdir -p "$as_dir"'
  3740. else
  3741. test -d ./-p && rmdir ./-p
  3742. as_mkdir_p=false
  3743. fi
  3744. # as_fn_executable_p FILE
  3745. # -----------------------
  3746. # Test if FILE is an executable regular file.
  3747. as_fn_executable_p ()
  3748. {
  3749. test -f "$1" && test -x "$1"
  3750. } # as_fn_executable_p
  3751. as_test_x='test -x'
  3752. as_executable_p=as_fn_executable_p
  3753. # Sed expression to map a string onto a valid CPP name.
  3754. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  3755. # Sed expression to map a string onto a valid variable name.
  3756. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  3757. exec 6>&1
  3758. ## ----------------------------------- ##
  3759. ## Main body of $CONFIG_STATUS script. ##
  3760. ## ----------------------------------- ##
  3761. _ASEOF
  3762. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  3763. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3764. # Save the log message, to keep $0 and so on meaningful, and to
  3765. # report actual input values of CONFIG_FILES etc. instead of their
  3766. # values after options handling.
  3767. ac_log="
  3768. This file was extended by lodel $as_me 0.1, which was
  3769. generated by GNU Autoconf 2.69. Invocation command line was
  3770. CONFIG_FILES = $CONFIG_FILES
  3771. CONFIG_HEADERS = $CONFIG_HEADERS
  3772. CONFIG_LINKS = $CONFIG_LINKS
  3773. CONFIG_COMMANDS = $CONFIG_COMMANDS
  3774. $ $0 $@
  3775. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  3776. "
  3777. _ACEOF
  3778. case $ac_config_files in *"
  3779. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  3780. esac
  3781. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3782. # Files that config.status was made for.
  3783. config_files="$ac_config_files"
  3784. _ACEOF
  3785. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3786. ac_cs_usage="\
  3787. \`$as_me' instantiates files and other configuration actions
  3788. from templates according to the current configuration. Unless the files
  3789. and actions are specified as TAGs, all are instantiated by default.
  3790. Usage: $0 [OPTION]... [TAG]...
  3791. -h, --help print this help, then exit
  3792. -V, --version print version number and configuration settings, then exit
  3793. --config print configuration, then exit
  3794. -q, --quiet, --silent
  3795. do not print progress messages
  3796. -d, --debug don't remove temporary files
  3797. --recheck update $as_me by reconfiguring in the same conditions
  3798. --file=FILE[:TEMPLATE]
  3799. instantiate the configuration file FILE
  3800. Configuration files:
  3801. $config_files
  3802. Report bugs to <contact@openedition.org>."
  3803. _ACEOF
  3804. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3805. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  3806. ac_cs_version="\\
  3807. lodel config.status 0.1
  3808. configured by $0, generated by GNU Autoconf 2.69,
  3809. with options \\"\$ac_cs_config\\"
  3810. Copyright (C) 2012 Free Software Foundation, Inc.
  3811. This config.status script is free software; the Free Software Foundation
  3812. gives unlimited permission to copy, distribute and modify it."
  3813. ac_pwd='$ac_pwd'
  3814. srcdir='$srcdir'
  3815. INSTALL='$INSTALL'
  3816. MKDIR_P='$MKDIR_P'
  3817. AWK='$AWK'
  3818. test -n "\$AWK" || AWK=awk
  3819. _ACEOF
  3820. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3821. # The default lists apply if the user does not specify any file.
  3822. ac_need_defaults=:
  3823. while test $# != 0
  3824. do
  3825. case $1 in
  3826. --*=?*)
  3827. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3828. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  3829. ac_shift=:
  3830. ;;
  3831. --*=)
  3832. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3833. ac_optarg=
  3834. ac_shift=:
  3835. ;;
  3836. *)
  3837. ac_option=$1
  3838. ac_optarg=$2
  3839. ac_shift=shift
  3840. ;;
  3841. esac
  3842. case $ac_option in
  3843. # Handling of the options.
  3844. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3845. ac_cs_recheck=: ;;
  3846. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  3847. $as_echo "$ac_cs_version"; exit ;;
  3848. --config | --confi | --conf | --con | --co | --c )
  3849. $as_echo "$ac_cs_config"; exit ;;
  3850. --debug | --debu | --deb | --de | --d | -d )
  3851. debug=: ;;
  3852. --file | --fil | --fi | --f )
  3853. $ac_shift
  3854. case $ac_optarg in
  3855. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3856. '') as_fn_error $? "missing file argument" ;;
  3857. esac
  3858. as_fn_append CONFIG_FILES " '$ac_optarg'"
  3859. ac_need_defaults=false;;
  3860. --he | --h | --help | --hel | -h )
  3861. $as_echo "$ac_cs_usage"; exit ;;
  3862. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3863. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  3864. ac_cs_silent=: ;;
  3865. # This is an error.
  3866. -*) as_fn_error $? "unrecognized option: \`$1'
  3867. Try \`$0 --help' for more information." ;;
  3868. *) as_fn_append ac_config_targets " $1"
  3869. ac_need_defaults=false ;;
  3870. esac
  3871. shift
  3872. done
  3873. ac_configure_extra_args=
  3874. if $ac_cs_silent; then
  3875. exec 6>/dev/null
  3876. ac_configure_extra_args="$ac_configure_extra_args --silent"
  3877. fi
  3878. _ACEOF
  3879. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3880. if \$ac_cs_recheck; then
  3881. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  3882. shift
  3883. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  3884. CONFIG_SHELL='$SHELL'
  3885. export CONFIG_SHELL
  3886. exec "\$@"
  3887. fi
  3888. _ACEOF
  3889. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3890. exec 5>>config.log
  3891. {
  3892. echo
  3893. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  3894. ## Running $as_me. ##
  3895. _ASBOX
  3896. $as_echo "$ac_log"
  3897. } >&5
  3898. _ACEOF
  3899. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3900. _ACEOF
  3901. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3902. # Handling of arguments.
  3903. for ac_config_target in $ac_config_targets
  3904. do
  3905. case $ac_config_target in
  3906. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  3907. "lodel/buildconf.py.am") CONFIG_FILES="$CONFIG_FILES lodel/buildconf.py.am" ;;
  3908. "lodel/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/Makefile" ;;
  3909. "lodel/auth/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/auth/Makefile" ;;
  3910. "lodel/editorial_model/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/editorial_model/Makefile" ;;
  3911. "lodel/editorial_model/translator/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/editorial_model/translator/Makefile" ;;
  3912. "lodel/leapi/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/leapi/Makefile" ;;
  3913. "lodel/leapi/datahandlers/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/leapi/datahandlers/Makefile" ;;
  3914. "lodel/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/plugin/Makefile" ;;
  3915. "lodel/settings/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/settings/Makefile" ;;
  3916. "lodel/utils/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/utils/Makefile" ;;
  3917. "progs/Makefile") CONFIG_FILES="$CONFIG_FILES progs/Makefile" ;;
  3918. "progs/slim/Makefile") CONFIG_FILES="$CONFIG_FILES progs/slim/Makefile" ;;
  3919. "lodel/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES lodel/plugins/Makefile" ;;
  3920. "lodelsites/Makefile") CONFIG_FILES="$CONFIG_FILES lodelsites/Makefile" ;;
  3921. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  3922. esac
  3923. done
  3924. # If the user did not use the arguments to specify the items to instantiate,
  3925. # then the envvar interface is used. Set only those that are not.
  3926. # We use the long form for the default assignment because of an extremely
  3927. # bizarre bug on SunOS 4.1.3.
  3928. if $ac_need_defaults; then
  3929. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  3930. fi
  3931. # Have a temporary directory for convenience. Make it in the build tree
  3932. # simply because there is no reason against having it here, and in addition,
  3933. # creating and moving files from /tmp can sometimes cause problems.
  3934. # Hook for its removal unless debugging.
  3935. # Note that there is a small window in which the directory will not be cleaned:
  3936. # after its creation but before its name has been assigned to `$tmp'.
  3937. $debug ||
  3938. {
  3939. tmp= ac_tmp=
  3940. trap 'exit_status=$?
  3941. : "${ac_tmp:=$tmp}"
  3942. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  3943. ' 0
  3944. trap 'as_fn_exit 1' 1 2 13 15
  3945. }
  3946. # Create a (secure) tmp directory for tmp files.
  3947. {
  3948. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  3949. test -d "$tmp"
  3950. } ||
  3951. {
  3952. tmp=./conf$$-$RANDOM
  3953. (umask 077 && mkdir "$tmp")
  3954. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  3955. ac_tmp=$tmp
  3956. # Set up the scripts for CONFIG_FILES section.
  3957. # No need to generate them if there are no CONFIG_FILES.
  3958. # This happens for instance with `./config.status config.h'.
  3959. if test -n "$CONFIG_FILES"; then
  3960. ac_cr=`echo X | tr X '\015'`
  3961. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  3962. # But we know of no other shell where ac_cr would be empty at this
  3963. # point, so we can use a bashism as a fallback.
  3964. if test "x$ac_cr" = x; then
  3965. eval ac_cr=\$\'\\r\'
  3966. fi
  3967. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  3968. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  3969. ac_cs_awk_cr='\\r'
  3970. else
  3971. ac_cs_awk_cr=$ac_cr
  3972. fi
  3973. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  3974. _ACEOF
  3975. {
  3976. echo "cat >conf$$subs.awk <<_ACEOF" &&
  3977. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  3978. echo "_ACEOF"
  3979. } >conf$$subs.sh ||
  3980. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3981. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  3982. ac_delim='%!_!# '
  3983. for ac_last_try in false false false false false :; do
  3984. . ./conf$$subs.sh ||
  3985. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3986. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  3987. if test $ac_delim_n = $ac_delim_num; then
  3988. break
  3989. elif $ac_last_try; then
  3990. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3991. else
  3992. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  3993. fi
  3994. done
  3995. rm -f conf$$subs.sh
  3996. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3997. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  3998. _ACEOF
  3999. sed -n '
  4000. h
  4001. s/^/S["/; s/!.*/"]=/
  4002. p
  4003. g
  4004. s/^[^!]*!//
  4005. :repl
  4006. t repl
  4007. s/'"$ac_delim"'$//
  4008. t delim
  4009. :nl
  4010. h
  4011. s/\(.\{148\}\)..*/\1/
  4012. t more1
  4013. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4014. p
  4015. n
  4016. b repl
  4017. :more1
  4018. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4019. p
  4020. g
  4021. s/.\{148\}//
  4022. t nl
  4023. :delim
  4024. h
  4025. s/\(.\{148\}\)..*/\1/
  4026. t more2
  4027. s/["\\]/\\&/g; s/^/"/; s/$/"/
  4028. p
  4029. b
  4030. :more2
  4031. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4032. p
  4033. g
  4034. s/.\{148\}//
  4035. t delim
  4036. ' <conf$$subs.awk | sed '
  4037. /^[^""]/{
  4038. N
  4039. s/\n//
  4040. }
  4041. ' >>$CONFIG_STATUS || ac_write_fail=1
  4042. rm -f conf$$subs.awk
  4043. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4044. _ACAWK
  4045. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  4046. for (key in S) S_is_set[key] = 1
  4047. FS = ""
  4048. }
  4049. {
  4050. line = $ 0
  4051. nfields = split(line, field, "@")
  4052. substed = 0
  4053. len = length(field[1])
  4054. for (i = 2; i < nfields; i++) {
  4055. key = field[i]
  4056. keylen = length(key)
  4057. if (S_is_set[key]) {
  4058. value = S[key]
  4059. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4060. len += length(value) + length(field[++i])
  4061. substed = 1
  4062. } else
  4063. len += 1 + keylen
  4064. }
  4065. print line
  4066. }
  4067. _ACAWK
  4068. _ACEOF
  4069. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4070. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4071. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4072. else
  4073. cat
  4074. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  4075. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  4076. _ACEOF
  4077. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  4078. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  4079. # trailing colons and then remove the whole line if VPATH becomes empty
  4080. # (actually we leave an empty line to preserve line numbers).
  4081. if test "x$srcdir" = x.; then
  4082. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  4083. h
  4084. s///
  4085. s/^/:/
  4086. s/[ ]*$/:/
  4087. s/:\$(srcdir):/:/g
  4088. s/:\${srcdir}:/:/g
  4089. s/:@srcdir@:/:/g
  4090. s/^:*//
  4091. s/:*$//
  4092. x
  4093. s/\(=[ ]*\).*/\1/
  4094. G
  4095. s/\n//
  4096. s/^[^=]*=[ ]*$//
  4097. }'
  4098. fi
  4099. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4100. fi # test -n "$CONFIG_FILES"
  4101. eval set X " :F $CONFIG_FILES "
  4102. shift
  4103. for ac_tag
  4104. do
  4105. case $ac_tag in
  4106. :[FHLC]) ac_mode=$ac_tag; continue;;
  4107. esac
  4108. case $ac_mode$ac_tag in
  4109. :[FHL]*:*);;
  4110. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  4111. :[FH]-) ac_tag=-:-;;
  4112. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4113. esac
  4114. ac_save_IFS=$IFS
  4115. IFS=:
  4116. set x $ac_tag
  4117. IFS=$ac_save_IFS
  4118. shift
  4119. ac_file=$1
  4120. shift
  4121. case $ac_mode in
  4122. :L) ac_source=$1;;
  4123. :[FH])
  4124. ac_file_inputs=
  4125. for ac_f
  4126. do
  4127. case $ac_f in
  4128. -) ac_f="$ac_tmp/stdin";;
  4129. *) # Look for the file first in the build tree, then in the source tree
  4130. # (if the path is not absolute). The absolute path cannot be DOS-style,
  4131. # because $ac_f cannot contain `:'.
  4132. test -f "$ac_f" ||
  4133. case $ac_f in
  4134. [\\/$]*) false;;
  4135. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4136. esac ||
  4137. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  4138. esac
  4139. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  4140. as_fn_append ac_file_inputs " '$ac_f'"
  4141. done
  4142. # Let's still pretend it is `configure' which instantiates (i.e., don't
  4143. # use $as_me), people would be surprised to read:
  4144. # /* config.h. Generated by config.status. */
  4145. configure_input='Generated from '`
  4146. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  4147. `' by configure.'
  4148. if test x"$ac_file" != x-; then
  4149. configure_input="$ac_file. $configure_input"
  4150. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  4151. $as_echo "$as_me: creating $ac_file" >&6;}
  4152. fi
  4153. # Neutralize special characters interpreted by sed in replacement strings.
  4154. case $configure_input in #(
  4155. *\&* | *\|* | *\\* )
  4156. ac_sed_conf_input=`$as_echo "$configure_input" |
  4157. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  4158. *) ac_sed_conf_input=$configure_input;;
  4159. esac
  4160. case $ac_tag in
  4161. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  4162. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  4163. esac
  4164. ;;
  4165. esac
  4166. ac_dir=`$as_dirname -- "$ac_file" ||
  4167. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4168. X"$ac_file" : 'X\(//\)[^/]' \| \
  4169. X"$ac_file" : 'X\(//\)$' \| \
  4170. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4171. $as_echo X"$ac_file" |
  4172. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4173. s//\1/
  4174. q
  4175. }
  4176. /^X\(\/\/\)[^/].*/{
  4177. s//\1/
  4178. q
  4179. }
  4180. /^X\(\/\/\)$/{
  4181. s//\1/
  4182. q
  4183. }
  4184. /^X\(\/\).*/{
  4185. s//\1/
  4186. q
  4187. }
  4188. s/.*/./; q'`
  4189. as_dir="$ac_dir"; as_fn_mkdir_p
  4190. ac_builddir=.
  4191. case "$ac_dir" in
  4192. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4193. *)
  4194. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4195. # A ".." for each directory in $ac_dir_suffix.
  4196. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4197. case $ac_top_builddir_sub in
  4198. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4199. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4200. esac ;;
  4201. esac
  4202. ac_abs_top_builddir=$ac_pwd
  4203. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  4204. # for backward compatibility:
  4205. ac_top_builddir=$ac_top_build_prefix
  4206. case $srcdir in
  4207. .) # We are building in place.
  4208. ac_srcdir=.
  4209. ac_top_srcdir=$ac_top_builddir_sub
  4210. ac_abs_top_srcdir=$ac_pwd ;;
  4211. [\\/]* | ?:[\\/]* ) # Absolute name.
  4212. ac_srcdir=$srcdir$ac_dir_suffix;
  4213. ac_top_srcdir=$srcdir
  4214. ac_abs_top_srcdir=$srcdir ;;
  4215. *) # Relative name.
  4216. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  4217. ac_top_srcdir=$ac_top_build_prefix$srcdir
  4218. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  4219. esac
  4220. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  4221. case $ac_mode in
  4222. :F)
  4223. #
  4224. # CONFIG_FILE
  4225. #
  4226. case $INSTALL in
  4227. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  4228. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  4229. esac
  4230. ac_MKDIR_P=$MKDIR_P
  4231. case $MKDIR_P in
  4232. [\\/$]* | ?:[\\/]* ) ;;
  4233. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  4234. esac
  4235. _ACEOF
  4236. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4237. # If the template does not know about datarootdir, expand it.
  4238. # FIXME: This hack should be removed a few years after 2.60.
  4239. ac_datarootdir_hack=; ac_datarootdir_seen=
  4240. ac_sed_dataroot='
  4241. /datarootdir/ {
  4242. p
  4243. q
  4244. }
  4245. /@datadir@/p
  4246. /@docdir@/p
  4247. /@infodir@/p
  4248. /@localedir@/p
  4249. /@mandir@/p'
  4250. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  4251. *datarootdir*) ac_datarootdir_seen=yes;;
  4252. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  4253. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  4254. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  4255. _ACEOF
  4256. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4257. ac_datarootdir_hack='
  4258. s&@datadir@&$datadir&g
  4259. s&@docdir@&$docdir&g
  4260. s&@infodir@&$infodir&g
  4261. s&@localedir@&$localedir&g
  4262. s&@mandir@&$mandir&g
  4263. s&\\\${datarootdir}&$datarootdir&g' ;;
  4264. esac
  4265. _ACEOF
  4266. # Neutralize VPATH when `$srcdir' = `.'.
  4267. # Shell code in configure.ac might set extrasub.
  4268. # FIXME: do we really want to maintain this feature?
  4269. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4270. ac_sed_extra="$ac_vpsub
  4271. $extrasub
  4272. _ACEOF
  4273. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4274. :t
  4275. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  4276. s|@configure_input@|$ac_sed_conf_input|;t t
  4277. s&@top_builddir@&$ac_top_builddir_sub&;t t
  4278. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  4279. s&@srcdir@&$ac_srcdir&;t t
  4280. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  4281. s&@top_srcdir@&$ac_top_srcdir&;t t
  4282. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  4283. s&@builddir@&$ac_builddir&;t t
  4284. s&@abs_builddir@&$ac_abs_builddir&;t t
  4285. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  4286. s&@INSTALL@&$ac_INSTALL&;t t
  4287. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  4288. $ac_datarootdir_hack
  4289. "
  4290. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  4291. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  4292. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  4293. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  4294. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  4295. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  4296. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4297. which seems to be undefined. Please make sure it is defined" >&5
  4298. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4299. which seems to be undefined. Please make sure it is defined" >&2;}
  4300. rm -f "$ac_tmp/stdin"
  4301. case $ac_file in
  4302. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  4303. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  4304. esac \
  4305. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  4306. ;;
  4307. esac
  4308. done # for ac_tag
  4309. as_fn_exit 0
  4310. _ACEOF
  4311. ac_clean_files=$ac_clean_files_save
  4312. test $ac_write_fail = 0 ||
  4313. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  4314. # configure is writing to config.log, and then calls config.status.
  4315. # config.status does its own redirection, appending to config.log.
  4316. # Unfortunately, on DOS this fails, as config.log is still kept open
  4317. # by configure, so config.status won't be able to write to it; its
  4318. # output is simply discarded. So we exec the FD to /dev/null,
  4319. # effectively closing config.log, so it can be properly (re)opened and
  4320. # appended to by config.status. When coming back to configure, we
  4321. # need to make the FD available again.
  4322. if test "$no_create" != yes; then
  4323. ac_cs_success=:
  4324. ac_config_status_args=
  4325. test "$silent" = yes &&
  4326. ac_config_status_args="$ac_config_status_args --quiet"
  4327. exec 5>/dev/null
  4328. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  4329. exec 5>>config.log
  4330. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  4331. # would make configure fail if this is the last instruction.
  4332. $ac_cs_success || as_fn_exit 1
  4333. fi
  4334. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  4335. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  4336. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  4337. fi
  4338. if test -z "$DOCOK";
  4339. then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You will not be able to generate doxygen documentation. See up for reasons" >&5
  4340. $as_echo "$as_me: WARNING: You will not be able to generate doxygen documentation. See up for reasons" >&2;}
  4341. fi
  4342. if test "$WEBUI" = 'False';
  4343. then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Mandatory components are missing for running default web UI. See up for reasons" >&5
  4344. $as_echo "$as_me: WARNING: Mandatory components are missing for running default web UI. See up for reasons" >&2;}
  4345. fi
  4346. if test "$PYMONGO" = 'False';
  4347. then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You will not be able to user mongodb datasource. See up for reasons" >&5
  4348. $as_echo "$as_me: WARNING: You will not be able to user mongodb datasource. See up for reasons" >&2;}
  4349. fi