configure 122 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.53.
  4. #
  5. # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  6. # Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. if expr a : '\(a\)' >/dev/null 2>&1; then
  10. as_expr=expr
  11. else
  12. as_expr=false
  13. fi
  14. ## --------------------- ##
  15. ## M4sh Initialization. ##
  16. ## --------------------- ##
  17. # Be Bourne compatible
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  19. emulate sh
  20. NULLCMD=:
  21. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  22. set -o posix
  23. fi
  24. # NLS nuisances.
  25. # Support unset when possible.
  26. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  27. as_unset=unset
  28. else
  29. as_unset=false
  30. fi
  31. (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
  32. { $as_unset LANG || test "${LANG+set}" != set; } ||
  33. { LANG=C; export LANG; }
  34. (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
  35. { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
  36. { LC_ALL=C; export LC_ALL; }
  37. (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
  38. { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
  39. { LC_TIME=C; export LC_TIME; }
  40. (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
  41. { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
  42. { LC_CTYPE=C; export LC_CTYPE; }
  43. (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
  44. { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
  45. { LANGUAGE=C; export LANGUAGE; }
  46. (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
  47. { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
  48. { LC_COLLATE=C; export LC_COLLATE; }
  49. (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
  50. { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
  51. { LC_NUMERIC=C; export LC_NUMERIC; }
  52. (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
  53. { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
  54. { LC_MESSAGES=C; export LC_MESSAGES; }
  55. # Name of the executable.
  56. as_me=`(basename "$0") 2>/dev/null ||
  57. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  58. X"$0" : 'X\(//\)$' \| \
  59. X"$0" : 'X\(/\)$' \| \
  60. . : '\(.\)' 2>/dev/null ||
  61. echo X/"$0" |
  62. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  63. /^X\/\(\/\/\)$/{ s//\1/; q; }
  64. /^X\/\(\/\).*/{ s//\1/; q; }
  65. s/.*/./; q'`
  66. # PATH needs CR, and LINENO needs CR and PATH.
  67. # Avoid depending upon Character Ranges.
  68. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  69. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  70. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  71. as_cr_digits='0123456789'
  72. as_cr_alnum=$as_cr_Letters$as_cr_digits
  73. # The user is always right.
  74. if test "${PATH_SEPARATOR+set}" != set; then
  75. echo "#! /bin/sh" >conftest.sh
  76. echo "exit 0" >>conftest.sh
  77. chmod +x conftest.sh
  78. if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
  79. PATH_SEPARATOR=';'
  80. else
  81. PATH_SEPARATOR=:
  82. fi
  83. rm -f conftest.sh
  84. fi
  85. as_lineno_1=$LINENO
  86. as_lineno_2=$LINENO
  87. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  88. test "x$as_lineno_1" != "x$as_lineno_2" &&
  89. test "x$as_lineno_3" = "x$as_lineno_2" || {
  90. # Find who we are. Look in the path if we contain no path at all
  91. # relative or not.
  92. case $0 in
  93. *[\\/]* ) as_myself=$0 ;;
  94. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  95. for as_dir in $PATH
  96. do
  97. IFS=$as_save_IFS
  98. test -z "$as_dir" && as_dir=.
  99. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100. done
  101. ;;
  102. esac
  103. # We did not find ourselves, most probably we were run as `sh COMMAND'
  104. # in which case we are not to be found in the path.
  105. if test "x$as_myself" = x; then
  106. as_myself=$0
  107. fi
  108. if test ! -f "$as_myself"; then
  109. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  110. { (exit 1); exit 1; }; }
  111. fi
  112. case $CONFIG_SHELL in
  113. '')
  114. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  115. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  116. do
  117. IFS=$as_save_IFS
  118. test -z "$as_dir" && as_dir=.
  119. for as_base in sh bash ksh sh5; do
  120. case $as_dir in
  121. /*)
  122. if ("$as_dir/$as_base" -c '
  123. as_lineno_1=$LINENO
  124. as_lineno_2=$LINENO
  125. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  126. test "x$as_lineno_1" != "x$as_lineno_2" &&
  127. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  128. CONFIG_SHELL=$as_dir/$as_base
  129. export CONFIG_SHELL
  130. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  131. fi;;
  132. esac
  133. done
  134. done
  135. ;;
  136. esac
  137. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  138. # uniformly replaced by the line number. The first 'sed' inserts a
  139. # line-number line before each line; the second 'sed' does the real
  140. # work. The second script uses 'N' to pair each line-number line
  141. # with the numbered line, and appends trailing '-' during
  142. # substitution so that $LINENO is not a special case at line end.
  143. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  144. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  145. sed '=' <$as_myself |
  146. sed '
  147. N
  148. s,$,-,
  149. : loop
  150. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  151. t loop
  152. s,-$,,
  153. s,^['$as_cr_digits']*\n,,
  154. ' >$as_me.lineno &&
  155. chmod +x $as_me.lineno ||
  156. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  157. { (exit 1); exit 1; }; }
  158. # Don't try to exec as it changes $[0], causing all sort of problems
  159. # (the dirname of $[0] is not the place where we might find the
  160. # original and so on. Autoconf is especially sensible to this).
  161. . ./$as_me.lineno
  162. # Exit status is that of the last command.
  163. exit
  164. }
  165. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  166. *c*,-n*) ECHO_N= ECHO_C='
  167. ' ECHO_T=' ' ;;
  168. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  169. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  170. esac
  171. if expr a : '\(a\)' >/dev/null 2>&1; then
  172. as_expr=expr
  173. else
  174. as_expr=false
  175. fi
  176. rm -f conf$$ conf$$.exe conf$$.file
  177. echo >conf$$.file
  178. if ln -s conf$$.file conf$$ 2>/dev/null; then
  179. # We could just check for DJGPP; but this test a) works b) is more generic
  180. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  181. if test -f conf$$.exe; then
  182. # Don't use ln at all; we don't have any links
  183. as_ln_s='cp -p'
  184. else
  185. as_ln_s='ln -s'
  186. fi
  187. elif ln conf$$.file conf$$ 2>/dev/null; then
  188. as_ln_s=ln
  189. else
  190. as_ln_s='cp -p'
  191. fi
  192. rm -f conf$$ conf$$.exe conf$$.file
  193. as_executable_p="test -f"
  194. # Sed expression to map a string onto a valid CPP name.
  195. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  196. # Sed expression to map a string onto a valid variable name.
  197. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  198. # IFS
  199. # We need space, tab and new line, in precisely that order.
  200. as_nl='
  201. '
  202. IFS=" $as_nl"
  203. # CDPATH.
  204. $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
  205. # Name of the host.
  206. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  207. # so uname gets run too.
  208. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  209. exec 6>&1
  210. #
  211. # Initializations.
  212. #
  213. ac_default_prefix=/usr/local
  214. cross_compiling=no
  215. subdirs=
  216. MFLAGS=
  217. MAKEFLAGS=
  218. SHELL=${CONFIG_SHELL-/bin/sh}
  219. # Maximum number of lines to put in a shell here document.
  220. # This variable seems obsolete. It should probably be removed, and
  221. # only ac_max_sed_lines should be used.
  222. : ${ac_max_here_lines=38}
  223. # Identity of this package.
  224. PACKAGE_NAME=
  225. PACKAGE_TARNAME=
  226. PACKAGE_VERSION=
  227. PACKAGE_STRING=
  228. PACKAGE_BUGREPORT=
  229. # Initialize some variables set by options.
  230. ac_init_help=
  231. ac_init_version=false
  232. # The variables have the same names as the options, with
  233. # dashes changed to underlines.
  234. cache_file=/dev/null
  235. exec_prefix=NONE
  236. no_create=
  237. no_recursion=
  238. prefix=NONE
  239. program_prefix=NONE
  240. program_suffix=NONE
  241. program_transform_name=s,x,x,
  242. silent=
  243. site=
  244. srcdir=
  245. verbose=
  246. x_includes=NONE
  247. x_libraries=NONE
  248. # Installation directory options.
  249. # These are left unexpanded so users can "make install exec_prefix=/foo"
  250. # and all the variables that are supposed to be based on exec_prefix
  251. # by default will actually change.
  252. # Use braces instead of parens because sh, perl, etc. also accept them.
  253. bindir='${exec_prefix}/bin'
  254. sbindir='${exec_prefix}/sbin'
  255. libexecdir='${exec_prefix}/libexec'
  256. datadir='${prefix}/share'
  257. sysconfdir='${prefix}/etc'
  258. sharedstatedir='${prefix}/com'
  259. localstatedir='${prefix}/var'
  260. libdir='${exec_prefix}/lib'
  261. includedir='${prefix}/include'
  262. oldincludedir='/usr/include'
  263. infodir='${prefix}/info'
  264. mandir='${prefix}/man'
  265. ac_prev=
  266. for ac_option
  267. do
  268. # If the previous option needs an argument, assign it.
  269. if test -n "$ac_prev"; then
  270. eval "$ac_prev=\$ac_option"
  271. ac_prev=
  272. continue
  273. fi
  274. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  275. # Accept the important Cygnus configure options, so we can diagnose typos.
  276. case $ac_option in
  277. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  278. ac_prev=bindir ;;
  279. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  280. bindir=$ac_optarg ;;
  281. -build | --build | --buil | --bui | --bu)
  282. ac_prev=build_alias ;;
  283. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  284. build_alias=$ac_optarg ;;
  285. -cache-file | --cache-file | --cache-fil | --cache-fi \
  286. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  287. ac_prev=cache_file ;;
  288. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  289. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  290. cache_file=$ac_optarg ;;
  291. --config-cache | -C)
  292. cache_file=config.cache ;;
  293. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  294. ac_prev=datadir ;;
  295. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  296. | --da=*)
  297. datadir=$ac_optarg ;;
  298. -disable-* | --disable-*)
  299. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  300. # Reject names that are not valid shell variable names.
  301. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  302. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  303. { (exit 1); exit 1; }; }
  304. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  305. eval "enable_$ac_feature=no" ;;
  306. -enable-* | --enable-*)
  307. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  308. # Reject names that are not valid shell variable names.
  309. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  310. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  311. { (exit 1); exit 1; }; }
  312. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  313. case $ac_option in
  314. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  315. *) ac_optarg=yes ;;
  316. esac
  317. eval "enable_$ac_feature='$ac_optarg'" ;;
  318. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  319. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  320. | --exec | --exe | --ex)
  321. ac_prev=exec_prefix ;;
  322. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  323. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  324. | --exec=* | --exe=* | --ex=*)
  325. exec_prefix=$ac_optarg ;;
  326. -gas | --gas | --ga | --g)
  327. # Obsolete; use --with-gas.
  328. with_gas=yes ;;
  329. -help | --help | --hel | --he | -h)
  330. ac_init_help=long ;;
  331. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  332. ac_init_help=recursive ;;
  333. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  334. ac_init_help=short ;;
  335. -host | --host | --hos | --ho)
  336. ac_prev=host_alias ;;
  337. -host=* | --host=* | --hos=* | --ho=*)
  338. host_alias=$ac_optarg ;;
  339. -includedir | --includedir | --includedi | --included | --include \
  340. | --includ | --inclu | --incl | --inc)
  341. ac_prev=includedir ;;
  342. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  343. | --includ=* | --inclu=* | --incl=* | --inc=*)
  344. includedir=$ac_optarg ;;
  345. -infodir | --infodir | --infodi | --infod | --info | --inf)
  346. ac_prev=infodir ;;
  347. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  348. infodir=$ac_optarg ;;
  349. -libdir | --libdir | --libdi | --libd)
  350. ac_prev=libdir ;;
  351. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  352. libdir=$ac_optarg ;;
  353. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  354. | --libexe | --libex | --libe)
  355. ac_prev=libexecdir ;;
  356. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  357. | --libexe=* | --libex=* | --libe=*)
  358. libexecdir=$ac_optarg ;;
  359. -localstatedir | --localstatedir | --localstatedi | --localstated \
  360. | --localstate | --localstat | --localsta | --localst \
  361. | --locals | --local | --loca | --loc | --lo)
  362. ac_prev=localstatedir ;;
  363. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  364. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  365. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  366. localstatedir=$ac_optarg ;;
  367. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  368. ac_prev=mandir ;;
  369. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  370. mandir=$ac_optarg ;;
  371. -nfp | --nfp | --nf)
  372. # Obsolete; use --without-fp.
  373. with_fp=no ;;
  374. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  375. | --no-cr | --no-c | -n)
  376. no_create=yes ;;
  377. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  378. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  379. no_recursion=yes ;;
  380. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  381. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  382. | --oldin | --oldi | --old | --ol | --o)
  383. ac_prev=oldincludedir ;;
  384. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  385. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  386. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  387. oldincludedir=$ac_optarg ;;
  388. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  389. ac_prev=prefix ;;
  390. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  391. prefix=$ac_optarg ;;
  392. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  393. | --program-pre | --program-pr | --program-p)
  394. ac_prev=program_prefix ;;
  395. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  396. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  397. program_prefix=$ac_optarg ;;
  398. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  399. | --program-suf | --program-su | --program-s)
  400. ac_prev=program_suffix ;;
  401. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  402. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  403. program_suffix=$ac_optarg ;;
  404. -program-transform-name | --program-transform-name \
  405. | --program-transform-nam | --program-transform-na \
  406. | --program-transform-n | --program-transform- \
  407. | --program-transform | --program-transfor \
  408. | --program-transfo | --program-transf \
  409. | --program-trans | --program-tran \
  410. | --progr-tra | --program-tr | --program-t)
  411. ac_prev=program_transform_name ;;
  412. -program-transform-name=* | --program-transform-name=* \
  413. | --program-transform-nam=* | --program-transform-na=* \
  414. | --program-transform-n=* | --program-transform-=* \
  415. | --program-transform=* | --program-transfor=* \
  416. | --program-transfo=* | --program-transf=* \
  417. | --program-trans=* | --program-tran=* \
  418. | --progr-tra=* | --program-tr=* | --program-t=*)
  419. program_transform_name=$ac_optarg ;;
  420. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  421. | -silent | --silent | --silen | --sile | --sil)
  422. silent=yes ;;
  423. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  424. ac_prev=sbindir ;;
  425. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  426. | --sbi=* | --sb=*)
  427. sbindir=$ac_optarg ;;
  428. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  429. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  430. | --sharedst | --shareds | --shared | --share | --shar \
  431. | --sha | --sh)
  432. ac_prev=sharedstatedir ;;
  433. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  434. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  435. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  436. | --sha=* | --sh=*)
  437. sharedstatedir=$ac_optarg ;;
  438. -site | --site | --sit)
  439. ac_prev=site ;;
  440. -site=* | --site=* | --sit=*)
  441. site=$ac_optarg ;;
  442. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  443. ac_prev=srcdir ;;
  444. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  445. srcdir=$ac_optarg ;;
  446. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  447. | --syscon | --sysco | --sysc | --sys | --sy)
  448. ac_prev=sysconfdir ;;
  449. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  450. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  451. sysconfdir=$ac_optarg ;;
  452. -target | --target | --targe | --targ | --tar | --ta | --t)
  453. ac_prev=target_alias ;;
  454. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  455. target_alias=$ac_optarg ;;
  456. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  457. verbose=yes ;;
  458. -version | --version | --versio | --versi | --vers | -V)
  459. ac_init_version=: ;;
  460. -with-* | --with-*)
  461. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  462. # Reject names that are not valid shell variable names.
  463. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  464. { echo "$as_me: error: invalid package name: $ac_package" >&2
  465. { (exit 1); exit 1; }; }
  466. ac_package=`echo $ac_package| sed 's/-/_/g'`
  467. case $ac_option in
  468. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  469. *) ac_optarg=yes ;;
  470. esac
  471. eval "with_$ac_package='$ac_optarg'" ;;
  472. -without-* | --without-*)
  473. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  474. # Reject names that are not valid shell variable names.
  475. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  476. { echo "$as_me: error: invalid package name: $ac_package" >&2
  477. { (exit 1); exit 1; }; }
  478. ac_package=`echo $ac_package | sed 's/-/_/g'`
  479. eval "with_$ac_package=no" ;;
  480. --x)
  481. # Obsolete; use --with-x.
  482. with_x=yes ;;
  483. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  484. | --x-incl | --x-inc | --x-in | --x-i)
  485. ac_prev=x_includes ;;
  486. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  487. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  488. x_includes=$ac_optarg ;;
  489. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  490. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  491. ac_prev=x_libraries ;;
  492. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  493. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  494. x_libraries=$ac_optarg ;;
  495. -*) { echo "$as_me: error: unrecognized option: $ac_option
  496. Try \`$0 --help' for more information." >&2
  497. { (exit 1); exit 1; }; }
  498. ;;
  499. *=*)
  500. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  501. # Reject names that are not valid shell variable names.
  502. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  503. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  504. { (exit 1); exit 1; }; }
  505. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  506. eval "$ac_envvar='$ac_optarg'"
  507. export $ac_envvar ;;
  508. *)
  509. # FIXME: should be removed in autoconf 3.0.
  510. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  511. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  512. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  513. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  514. ;;
  515. esac
  516. done
  517. if test -n "$ac_prev"; then
  518. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  519. { echo "$as_me: error: missing argument to $ac_option" >&2
  520. { (exit 1); exit 1; }; }
  521. fi
  522. # Be sure to have absolute paths.
  523. for ac_var in exec_prefix prefix
  524. do
  525. eval ac_val=$`echo $ac_var`
  526. case $ac_val in
  527. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  528. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  529. { (exit 1); exit 1; }; };;
  530. esac
  531. done
  532. # Be sure to have absolute paths.
  533. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  534. localstatedir libdir includedir oldincludedir infodir mandir
  535. do
  536. eval ac_val=$`echo $ac_var`
  537. case $ac_val in
  538. [\\/$]* | ?:[\\/]* ) ;;
  539. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  540. { (exit 1); exit 1; }; };;
  541. esac
  542. done
  543. # There might be people who depend on the old broken behavior: `$host'
  544. # used to hold the argument of --host etc.
  545. # FIXME: To remove some day.
  546. build=$build_alias
  547. host=$host_alias
  548. target=$target_alias
  549. # FIXME: To remove some day.
  550. if test "x$host_alias" != x; then
  551. if test "x$build_alias" = x; then
  552. cross_compiling=maybe
  553. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  554. If a cross compiler is detected then cross compile mode will be used." >&2
  555. elif test "x$build_alias" != "x$host_alias"; then
  556. cross_compiling=yes
  557. fi
  558. fi
  559. ac_tool_prefix=
  560. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  561. test "$silent" = yes && exec 6>/dev/null
  562. # Find the source files, if location was not specified.
  563. if test -z "$srcdir"; then
  564. ac_srcdir_defaulted=yes
  565. # Try the directory containing this script, then its parent.
  566. ac_confdir=`(dirname "$0") 2>/dev/null ||
  567. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  568. X"$0" : 'X\(//\)[^/]' \| \
  569. X"$0" : 'X\(//\)$' \| \
  570. X"$0" : 'X\(/\)' \| \
  571. . : '\(.\)' 2>/dev/null ||
  572. echo X"$0" |
  573. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  574. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  575. /^X\(\/\/\)$/{ s//\1/; q; }
  576. /^X\(\/\).*/{ s//\1/; q; }
  577. s/.*/./; q'`
  578. srcdir=$ac_confdir
  579. if test ! -r $srcdir/$ac_unique_file; then
  580. srcdir=..
  581. fi
  582. else
  583. ac_srcdir_defaulted=no
  584. fi
  585. if test ! -r $srcdir/$ac_unique_file; then
  586. if test "$ac_srcdir_defaulted" = yes; then
  587. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  588. { (exit 1); exit 1; }; }
  589. else
  590. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  591. { (exit 1); exit 1; }; }
  592. fi
  593. fi
  594. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  595. ac_env_build_alias_set=${build_alias+set}
  596. ac_env_build_alias_value=$build_alias
  597. ac_cv_env_build_alias_set=${build_alias+set}
  598. ac_cv_env_build_alias_value=$build_alias
  599. ac_env_host_alias_set=${host_alias+set}
  600. ac_env_host_alias_value=$host_alias
  601. ac_cv_env_host_alias_set=${host_alias+set}
  602. ac_cv_env_host_alias_value=$host_alias
  603. ac_env_target_alias_set=${target_alias+set}
  604. ac_env_target_alias_value=$target_alias
  605. ac_cv_env_target_alias_set=${target_alias+set}
  606. ac_cv_env_target_alias_value=$target_alias
  607. ac_env_CC_set=${CC+set}
  608. ac_env_CC_value=$CC
  609. ac_cv_env_CC_set=${CC+set}
  610. ac_cv_env_CC_value=$CC
  611. ac_env_CFLAGS_set=${CFLAGS+set}
  612. ac_env_CFLAGS_value=$CFLAGS
  613. ac_cv_env_CFLAGS_set=${CFLAGS+set}
  614. ac_cv_env_CFLAGS_value=$CFLAGS
  615. ac_env_LDFLAGS_set=${LDFLAGS+set}
  616. ac_env_LDFLAGS_value=$LDFLAGS
  617. ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  618. ac_cv_env_LDFLAGS_value=$LDFLAGS
  619. ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  620. ac_env_CPPFLAGS_value=$CPPFLAGS
  621. ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  622. ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  623. #
  624. # Report the --help message.
  625. #
  626. if test "$ac_init_help" = "long"; then
  627. # Omit some internal or obsolete options to make the list less imposing.
  628. # This message is too long to be a string in the A/UX 3.1 sh.
  629. cat <<_ACEOF
  630. \`configure' configures this package to adapt to many kinds of systems.
  631. Usage: $0 [OPTION]... [VAR=VALUE]...
  632. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  633. VAR=VALUE. See below for descriptions of some of the useful variables.
  634. Defaults for the options are specified in brackets.
  635. Configuration:
  636. -h, --help display this help and exit
  637. --help=short display options specific to this package
  638. --help=recursive display the short help of all the included packages
  639. -V, --version display version information and exit
  640. -q, --quiet, --silent do not print \`checking...' messages
  641. --cache-file=FILE cache test results in FILE [disabled]
  642. -C, --config-cache alias for \`--cache-file=config.cache'
  643. -n, --no-create do not create output files
  644. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  645. _ACEOF
  646. cat <<_ACEOF
  647. Installation directories:
  648. --prefix=PREFIX install architecture-independent files in PREFIX
  649. [$ac_default_prefix]
  650. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  651. [PREFIX]
  652. By default, \`make install' will install all the files in
  653. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  654. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  655. for instance \`--prefix=\$HOME'.
  656. For better control, use the options below.
  657. Fine tuning of the installation directories:
  658. --bindir=DIR user executables [EPREFIX/bin]
  659. --sbindir=DIR system admin executables [EPREFIX/sbin]
  660. --libexecdir=DIR program executables [EPREFIX/libexec]
  661. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  662. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  663. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  664. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  665. --libdir=DIR object code libraries [EPREFIX/lib]
  666. --includedir=DIR C header files [PREFIX/include]
  667. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  668. --infodir=DIR info documentation [PREFIX/info]
  669. --mandir=DIR man documentation [PREFIX/man]
  670. _ACEOF
  671. cat <<\_ACEOF
  672. Program names:
  673. --program-prefix=PREFIX prepend PREFIX to installed program names
  674. --program-suffix=SUFFIX append SUFFIX to installed program names
  675. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  676. _ACEOF
  677. fi
  678. if test -n "$ac_init_help"; then
  679. cat <<\_ACEOF
  680. Optional Features:
  681. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  682. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  683. --enable-debug compiles with debugging info
  684. --disable-dependency-tracking Speeds up one-time builds
  685. --enable-dependency-tracking Do not reject slow dependency extractors
  686. Optional Packages:
  687. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  688. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  689. --with-ssl-dir=PATH Specify path to OpenSSL installation
  690. Some influential environment variables:
  691. CC C compiler command
  692. CFLAGS C compiler flags
  693. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  694. nonstandard directory <lib dir>
  695. CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  696. headers in a nonstandard directory <include dir>
  697. Use these variables to override the choices made by `configure' or to help
  698. it to find libraries and programs with nonstandard names/locations.
  699. _ACEOF
  700. fi
  701. if test "$ac_init_help" = "recursive"; then
  702. # If there are subdirs, report their specific --help.
  703. ac_popdir=`pwd`
  704. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  705. test -d $ac_dir || continue
  706. ac_builddir=.
  707. if test "$ac_dir" != .; then
  708. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  709. # A "../" for each directory in $ac_dir_suffix.
  710. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  711. else
  712. ac_dir_suffix= ac_top_builddir=
  713. fi
  714. case $srcdir in
  715. .) # No --srcdir option. We are building in place.
  716. ac_srcdir=.
  717. if test -z "$ac_top_builddir"; then
  718. ac_top_srcdir=.
  719. else
  720. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  721. fi ;;
  722. [\\/]* | ?:[\\/]* ) # Absolute path.
  723. ac_srcdir=$srcdir$ac_dir_suffix;
  724. ac_top_srcdir=$srcdir ;;
  725. *) # Relative path.
  726. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  727. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  728. esac
  729. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  730. # absolute.
  731. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  732. ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
  733. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  734. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  735. cd $ac_dir
  736. # Check for guested configure; otherwise get Cygnus style configure.
  737. if test -f $ac_srcdir/configure.gnu; then
  738. echo
  739. $SHELL $ac_srcdir/configure.gnu --help=recursive
  740. elif test -f $ac_srcdir/configure; then
  741. echo
  742. $SHELL $ac_srcdir/configure --help=recursive
  743. elif test -f $ac_srcdir/configure.ac ||
  744. test -f $ac_srcdir/configure.in; then
  745. echo
  746. $ac_configure --help
  747. else
  748. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  749. fi
  750. cd $ac_popdir
  751. done
  752. fi
  753. test -n "$ac_init_help" && exit 0
  754. if $ac_init_version; then
  755. cat <<\_ACEOF
  756. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  757. Free Software Foundation, Inc.
  758. This configure script is free software; the Free Software Foundation
  759. gives unlimited permission to copy, distribute and modify it.
  760. _ACEOF
  761. exit 0
  762. fi
  763. exec 5>config.log
  764. cat >&5 <<_ACEOF
  765. This file contains any messages produced by compilers while
  766. running configure, to aid debugging if configure makes a mistake.
  767. It was created by $as_me, which was
  768. generated by GNU Autoconf 2.53. Invocation command line was
  769. $ $0 $@
  770. _ACEOF
  771. {
  772. cat <<_ASUNAME
  773. ## --------- ##
  774. ## Platform. ##
  775. ## --------- ##
  776. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  777. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  778. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  779. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  780. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  781. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  782. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  783. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  784. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  785. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  786. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  787. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  788. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  789. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  790. _ASUNAME
  791. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  792. for as_dir in $PATH
  793. do
  794. IFS=$as_save_IFS
  795. test -z "$as_dir" && as_dir=.
  796. echo "PATH: $as_dir"
  797. done
  798. } >&5
  799. cat >&5 <<_ACEOF
  800. ## ----------- ##
  801. ## Core tests. ##
  802. ## ----------- ##
  803. _ACEOF
  804. # Keep a trace of the command line.
  805. # Strip out --no-create and --no-recursion so they do not pile up.
  806. # Also quote any args containing shell meta-characters.
  807. ac_configure_args=
  808. ac_sep=
  809. for ac_arg
  810. do
  811. case $ac_arg in
  812. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  813. | --no-cr | --no-c | -n ) continue ;;
  814. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  815. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  816. continue ;;
  817. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  818. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  819. esac
  820. case " $ac_configure_args " in
  821. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  822. *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  823. ac_sep=" " ;;
  824. esac
  825. # Get rid of the leading space.
  826. done
  827. # When interrupted or exit'd, cleanup temporary files, and complete
  828. # config.log. We remove comments because anyway the quotes in there
  829. # would cause problems or look ugly.
  830. # WARNING: Be sure not to use single quotes in there, as some shells,
  831. # such as our DU 5.0 friend, will then `close' the trap.
  832. trap 'exit_status=$?
  833. # Save into config.log some information that might help in debugging.
  834. {
  835. echo
  836. cat <<\_ASBOX
  837. ## ---------------- ##
  838. ## Cache variables. ##
  839. ## ---------------- ##
  840. _ASBOX
  841. echo
  842. # The following way of writing the cache mishandles newlines in values,
  843. {
  844. (set) 2>&1 |
  845. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  846. *ac_space=\ *)
  847. sed -n \
  848. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  849. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  850. ;;
  851. *)
  852. sed -n \
  853. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  854. ;;
  855. esac;
  856. }
  857. echo
  858. if test -s confdefs.h; then
  859. cat <<\_ASBOX
  860. ## ----------- ##
  861. ## confdefs.h. ##
  862. ## ----------- ##
  863. _ASBOX
  864. echo
  865. sed "/^$/d" confdefs.h
  866. echo
  867. fi
  868. test "$ac_signal" != 0 &&
  869. echo "$as_me: caught signal $ac_signal"
  870. echo "$as_me: exit $exit_status"
  871. } >&5
  872. rm -f core core.* *.core &&
  873. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  874. exit $exit_status
  875. ' 0
  876. for ac_signal in 1 2 13 15; do
  877. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  878. done
  879. ac_signal=0
  880. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  881. rm -rf conftest* confdefs.h
  882. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  883. echo >confdefs.h
  884. # Predefined preprocessor variables.
  885. cat >>confdefs.h <<_ACEOF
  886. #define PACKAGE_NAME "$PACKAGE_NAME"
  887. _ACEOF
  888. cat >>confdefs.h <<_ACEOF
  889. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  890. _ACEOF
  891. cat >>confdefs.h <<_ACEOF
  892. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  893. _ACEOF
  894. cat >>confdefs.h <<_ACEOF
  895. #define PACKAGE_STRING "$PACKAGE_STRING"
  896. _ACEOF
  897. cat >>confdefs.h <<_ACEOF
  898. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  899. _ACEOF
  900. # Let the site file select an alternate cache file if it wants to.
  901. # Prefer explicitly selected file to automatically selected ones.
  902. if test -z "$CONFIG_SITE"; then
  903. if test "x$prefix" != xNONE; then
  904. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  905. else
  906. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  907. fi
  908. fi
  909. for ac_site_file in $CONFIG_SITE; do
  910. if test -r "$ac_site_file"; then
  911. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  912. echo "$as_me: loading site script $ac_site_file" >&6;}
  913. sed 's/^/| /' "$ac_site_file" >&5
  914. . "$ac_site_file"
  915. fi
  916. done
  917. if test -r "$cache_file"; then
  918. # Some versions of bash will fail to source /dev/null (special
  919. # files actually), so we avoid doing that.
  920. if test -f "$cache_file"; then
  921. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  922. echo "$as_me: loading cache $cache_file" >&6;}
  923. case $cache_file in
  924. [\\/]* | ?:[\\/]* ) . $cache_file;;
  925. *) . ./$cache_file;;
  926. esac
  927. fi
  928. else
  929. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  930. echo "$as_me: creating cache $cache_file" >&6;}
  931. >$cache_file
  932. fi
  933. # Check that the precious variables saved in the cache have kept the same
  934. # value.
  935. ac_cache_corrupted=false
  936. for ac_var in `(set) 2>&1 |
  937. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  938. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  939. eval ac_new_set=\$ac_env_${ac_var}_set
  940. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  941. eval ac_new_val="\$ac_env_${ac_var}_value"
  942. case $ac_old_set,$ac_new_set in
  943. set,)
  944. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  945. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  946. ac_cache_corrupted=: ;;
  947. ,set)
  948. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  949. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  950. ac_cache_corrupted=: ;;
  951. ,);;
  952. *)
  953. if test "x$ac_old_val" != "x$ac_new_val"; then
  954. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  955. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  956. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  957. echo "$as_me: former value: $ac_old_val" >&2;}
  958. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  959. echo "$as_me: current value: $ac_new_val" >&2;}
  960. ac_cache_corrupted=:
  961. fi;;
  962. esac
  963. # Pass precious variables to config.status.
  964. if test "$ac_new_set" = set; then
  965. case $ac_new_val in
  966. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  967. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  968. *) ac_arg=$ac_var=$ac_new_val ;;
  969. esac
  970. case " $ac_configure_args " in
  971. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  972. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  973. esac
  974. fi
  975. done
  976. if $ac_cache_corrupted; then
  977. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  978. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  979. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  980. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  981. { (exit 1); exit 1; }; }
  982. fi
  983. ac_ext=c
  984. ac_cpp='$CPP $CPPFLAGS'
  985. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  986. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  987. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  988. am__api_version="1.6"
  989. ac_aux_dir=
  990. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  991. if test -f $ac_dir/install-sh; then
  992. ac_aux_dir=$ac_dir
  993. ac_install_sh="$ac_aux_dir/install-sh -c"
  994. break
  995. elif test -f $ac_dir/install.sh; then
  996. ac_aux_dir=$ac_dir
  997. ac_install_sh="$ac_aux_dir/install.sh -c"
  998. break
  999. elif test -f $ac_dir/shtool; then
  1000. ac_aux_dir=$ac_dir
  1001. ac_install_sh="$ac_aux_dir/shtool install -c"
  1002. break
  1003. fi
  1004. done
  1005. if test -z "$ac_aux_dir"; then
  1006. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1007. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1008. { (exit 1); exit 1; }; }
  1009. fi
  1010. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1011. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1012. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1013. # Find a good install program. We prefer a C program (faster),
  1014. # so one script is as good as another. But avoid the broken or
  1015. # incompatible versions:
  1016. # SysV /etc/install, /usr/sbin/install
  1017. # SunOS /usr/etc/install
  1018. # IRIX /sbin/install
  1019. # AIX /bin/install
  1020. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1021. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1022. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1023. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1024. # ./install, which can be erroneously created by make from ./install.sh.
  1025. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1026. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1027. if test -z "$INSTALL"; then
  1028. if test "${ac_cv_path_install+set}" = set; then
  1029. echo $ECHO_N "(cached) $ECHO_C" >&6
  1030. else
  1031. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1032. for as_dir in $PATH
  1033. do
  1034. IFS=$as_save_IFS
  1035. test -z "$as_dir" && as_dir=.
  1036. # Account for people who put trailing slashes in PATH elements.
  1037. case $as_dir/ in
  1038. ./ | .// | /cC/* | \
  1039. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1040. /usr/ucb/* ) ;;
  1041. *)
  1042. # OSF1 and SCO ODT 3.0 have their own names for install.
  1043. # Don't use installbsd from OSF since it installs stuff as root
  1044. # by default.
  1045. for ac_prog in ginstall scoinst install; do
  1046. for ac_exec_ext in '' $ac_executable_extensions; do
  1047. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1048. if test $ac_prog = install &&
  1049. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1050. # AIX install. It has an incompatible calling convention.
  1051. :
  1052. elif test $ac_prog = install &&
  1053. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1054. # program-specific install script used by HP pwplus--don't use.
  1055. :
  1056. else
  1057. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1058. break 3
  1059. fi
  1060. fi
  1061. done
  1062. done
  1063. ;;
  1064. esac
  1065. done
  1066. fi
  1067. if test "${ac_cv_path_install+set}" = set; then
  1068. INSTALL=$ac_cv_path_install
  1069. else
  1070. # As a last resort, use the slow shell script. We don't cache a
  1071. # path for INSTALL within a source directory, because that will
  1072. # break other packages using the cache if that directory is
  1073. # removed, or if the path is relative.
  1074. INSTALL=$ac_install_sh
  1075. fi
  1076. fi
  1077. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1078. echo "${ECHO_T}$INSTALL" >&6
  1079. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1080. # It thinks the first close brace ends the variable substitution.
  1081. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1082. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1083. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1084. echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1085. echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1086. # Just in case
  1087. sleep 1
  1088. echo timestamp > conftest.file
  1089. # Do `set' in a subshell so we don't clobber the current shell's
  1090. # arguments. Must try -L first in case configure is actually a
  1091. # symlink; some systems play weird games with the mod time of symlinks
  1092. # (eg FreeBSD returns the mod time of the symlink's containing
  1093. # directory).
  1094. if (
  1095. set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1096. if test "$*" = "X"; then
  1097. # -L didn't work.
  1098. set X `ls -t $srcdir/configure conftest.file`
  1099. fi
  1100. rm -f conftest.file
  1101. if test "$*" != "X $srcdir/configure conftest.file" \
  1102. && test "$*" != "X conftest.file $srcdir/configure"; then
  1103. # If neither matched, then we have a broken ls. This can happen
  1104. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1105. # broken ls alias from the environment. This has actually
  1106. # happened. Such a system could not be considered "sane".
  1107. { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  1108. alias in your environment" >&5
  1109. echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  1110. alias in your environment" >&2;}
  1111. { (exit 1); exit 1; }; }
  1112. fi
  1113. test "$2" = conftest.file
  1114. )
  1115. then
  1116. # Ok.
  1117. :
  1118. else
  1119. { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1120. Check your system clock" >&5
  1121. echo "$as_me: error: newly created file is older than distributed files!
  1122. Check your system clock" >&2;}
  1123. { (exit 1); exit 1; }; }
  1124. fi
  1125. echo "$as_me:$LINENO: result: yes" >&5
  1126. echo "${ECHO_T}yes" >&6
  1127. test "$program_prefix" != NONE &&
  1128. program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1129. # Use a double $ so make ignores it.
  1130. test "$program_suffix" != NONE &&
  1131. program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1132. # Double any \ or $. echo might interpret backslashes.
  1133. # By default was `s,x,x', remove it if useless.
  1134. cat <<\_ACEOF >conftest.sed
  1135. s/[\\$]/&&/g;s/;s,x,x,$//
  1136. _ACEOF
  1137. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1138. rm conftest.sed
  1139. # expand $ac_aux_dir to an absolute path
  1140. am_aux_dir=`cd $ac_aux_dir && pwd`
  1141. test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1142. # Use eval to expand $SHELL
  1143. if eval "$MISSING --run true"; then
  1144. am_missing_run="$MISSING --run "
  1145. else
  1146. am_missing_run=
  1147. { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1148. echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1149. fi
  1150. for ac_prog in gawk mawk nawk awk
  1151. do
  1152. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1153. set dummy $ac_prog; ac_word=$2
  1154. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1155. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1156. if test "${ac_cv_prog_AWK+set}" = set; then
  1157. echo $ECHO_N "(cached) $ECHO_C" >&6
  1158. else
  1159. if test -n "$AWK"; then
  1160. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1161. else
  1162. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1163. for as_dir in $PATH
  1164. do
  1165. IFS=$as_save_IFS
  1166. test -z "$as_dir" && as_dir=.
  1167. for ac_exec_ext in '' $ac_executable_extensions; do
  1168. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1169. ac_cv_prog_AWK="$ac_prog"
  1170. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1171. break 2
  1172. fi
  1173. done
  1174. done
  1175. fi
  1176. fi
  1177. AWK=$ac_cv_prog_AWK
  1178. if test -n "$AWK"; then
  1179. echo "$as_me:$LINENO: result: $AWK" >&5
  1180. echo "${ECHO_T}$AWK" >&6
  1181. else
  1182. echo "$as_me:$LINENO: result: no" >&5
  1183. echo "${ECHO_T}no" >&6
  1184. fi
  1185. test -n "$AWK" && break
  1186. done
  1187. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  1188. echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  1189. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  1190. if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1191. echo $ECHO_N "(cached) $ECHO_C" >&6
  1192. else
  1193. cat >conftest.make <<\_ACEOF
  1194. all:
  1195. @echo 'ac_maketemp="${MAKE}"'
  1196. _ACEOF
  1197. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1198. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1199. if test -n "$ac_maketemp"; then
  1200. eval ac_cv_prog_make_${ac_make}_set=yes
  1201. else
  1202. eval ac_cv_prog_make_${ac_make}_set=no
  1203. fi
  1204. rm -f conftest.make
  1205. fi
  1206. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1207. echo "$as_me:$LINENO: result: yes" >&5
  1208. echo "${ECHO_T}yes" >&6
  1209. SET_MAKE=
  1210. else
  1211. echo "$as_me:$LINENO: result: no" >&5
  1212. echo "${ECHO_T}no" >&6
  1213. SET_MAKE="MAKE=${MAKE-make}"
  1214. fi
  1215. # test to see if srcdir already configured
  1216. if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1217. test -f $srcdir/config.status; then
  1218. { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1219. echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1220. { (exit 1); exit 1; }; }
  1221. fi
  1222. # Define the identity of the package.
  1223. PACKAGE=or
  1224. VERSION=0.0.0
  1225. cat >>confdefs.h <<_ACEOF
  1226. #define PACKAGE "$PACKAGE"
  1227. _ACEOF
  1228. cat >>confdefs.h <<_ACEOF
  1229. #define VERSION "$VERSION"
  1230. _ACEOF
  1231. # Some tools Automake needs.
  1232. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1233. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1234. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1235. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1236. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1237. AMTAR=${AMTAR-"${am_missing_run}tar"}
  1238. install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1239. # Installed binaries are usually stripped using `strip' when the user
  1240. # run `make install-strip'. However `strip' might not be the right
  1241. # tool to use in cross-compilation environments, therefore Automake
  1242. # will honor the `STRIP' environment variable to overrule this program.
  1243. if test "$cross_compiling" != no; then
  1244. if test -n "$ac_tool_prefix"; then
  1245. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1246. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1247. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1248. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1249. if test "${ac_cv_prog_STRIP+set}" = set; then
  1250. echo $ECHO_N "(cached) $ECHO_C" >&6
  1251. else
  1252. if test -n "$STRIP"; then
  1253. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1254. else
  1255. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1256. for as_dir in $PATH
  1257. do
  1258. IFS=$as_save_IFS
  1259. test -z "$as_dir" && as_dir=.
  1260. for ac_exec_ext in '' $ac_executable_extensions; do
  1261. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1262. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1263. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1264. break 2
  1265. fi
  1266. done
  1267. done
  1268. fi
  1269. fi
  1270. STRIP=$ac_cv_prog_STRIP
  1271. if test -n "$STRIP"; then
  1272. echo "$as_me:$LINENO: result: $STRIP" >&5
  1273. echo "${ECHO_T}$STRIP" >&6
  1274. else
  1275. echo "$as_me:$LINENO: result: no" >&5
  1276. echo "${ECHO_T}no" >&6
  1277. fi
  1278. fi
  1279. if test -z "$ac_cv_prog_STRIP"; then
  1280. ac_ct_STRIP=$STRIP
  1281. # Extract the first word of "strip", so it can be a program name with args.
  1282. set dummy strip; ac_word=$2
  1283. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1284. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1285. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1286. echo $ECHO_N "(cached) $ECHO_C" >&6
  1287. else
  1288. if test -n "$ac_ct_STRIP"; then
  1289. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1290. else
  1291. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1292. for as_dir in $PATH
  1293. do
  1294. IFS=$as_save_IFS
  1295. test -z "$as_dir" && as_dir=.
  1296. for ac_exec_ext in '' $ac_executable_extensions; do
  1297. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1298. ac_cv_prog_ac_ct_STRIP="strip"
  1299. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1300. break 2
  1301. fi
  1302. done
  1303. done
  1304. test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1305. fi
  1306. fi
  1307. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1308. if test -n "$ac_ct_STRIP"; then
  1309. echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1310. echo "${ECHO_T}$ac_ct_STRIP" >&6
  1311. else
  1312. echo "$as_me:$LINENO: result: no" >&5
  1313. echo "${ECHO_T}no" >&6
  1314. fi
  1315. STRIP=$ac_ct_STRIP
  1316. else
  1317. STRIP="$ac_cv_prog_STRIP"
  1318. fi
  1319. fi
  1320. INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  1321. # We need awk for the "check" target. The system "awk" is bad on
  1322. # some platforms.
  1323. # Add the stamp file to the list of files AC keeps track of,
  1324. # along with our hook.
  1325. ac_config_headers="$ac_config_headers orconfig.h"
  1326. CFLAGS="-Wall -O2"
  1327. # Check whether --enable-debug or --disable-debug was given.
  1328. if test "${enable_debug+set}" = set; then
  1329. enableval="$enable_debug"
  1330. if test x$enableval = xyes; then
  1331. CFLAGS="-Wall -ggdb -O2"
  1332. fi
  1333. fi;
  1334. ac_ext=c
  1335. ac_cpp='$CPP $CPPFLAGS'
  1336. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1337. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1338. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1339. if test -n "$ac_tool_prefix"; then
  1340. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1341. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1342. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1343. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1344. if test "${ac_cv_prog_CC+set}" = set; then
  1345. echo $ECHO_N "(cached) $ECHO_C" >&6
  1346. else
  1347. if test -n "$CC"; then
  1348. ac_cv_prog_CC="$CC" # Let the user override the test.
  1349. else
  1350. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1351. for as_dir in $PATH
  1352. do
  1353. IFS=$as_save_IFS
  1354. test -z "$as_dir" && as_dir=.
  1355. for ac_exec_ext in '' $ac_executable_extensions; do
  1356. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1357. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1358. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1359. break 2
  1360. fi
  1361. done
  1362. done
  1363. fi
  1364. fi
  1365. CC=$ac_cv_prog_CC
  1366. if test -n "$CC"; then
  1367. echo "$as_me:$LINENO: result: $CC" >&5
  1368. echo "${ECHO_T}$CC" >&6
  1369. else
  1370. echo "$as_me:$LINENO: result: no" >&5
  1371. echo "${ECHO_T}no" >&6
  1372. fi
  1373. fi
  1374. if test -z "$ac_cv_prog_CC"; then
  1375. ac_ct_CC=$CC
  1376. # Extract the first word of "gcc", so it can be a program name with args.
  1377. set dummy gcc; ac_word=$2
  1378. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1379. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1380. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1381. echo $ECHO_N "(cached) $ECHO_C" >&6
  1382. else
  1383. if test -n "$ac_ct_CC"; then
  1384. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1385. else
  1386. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1387. for as_dir in $PATH
  1388. do
  1389. IFS=$as_save_IFS
  1390. test -z "$as_dir" && as_dir=.
  1391. for ac_exec_ext in '' $ac_executable_extensions; do
  1392. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1393. ac_cv_prog_ac_ct_CC="gcc"
  1394. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1395. break 2
  1396. fi
  1397. done
  1398. done
  1399. fi
  1400. fi
  1401. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1402. if test -n "$ac_ct_CC"; then
  1403. echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1404. echo "${ECHO_T}$ac_ct_CC" >&6
  1405. else
  1406. echo "$as_me:$LINENO: result: no" >&5
  1407. echo "${ECHO_T}no" >&6
  1408. fi
  1409. CC=$ac_ct_CC
  1410. else
  1411. CC="$ac_cv_prog_CC"
  1412. fi
  1413. if test -z "$CC"; then
  1414. if test -n "$ac_tool_prefix"; then
  1415. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1416. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1417. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1418. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1419. if test "${ac_cv_prog_CC+set}" = set; then
  1420. echo $ECHO_N "(cached) $ECHO_C" >&6
  1421. else
  1422. if test -n "$CC"; then
  1423. ac_cv_prog_CC="$CC" # Let the user override the test.
  1424. else
  1425. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1426. for as_dir in $PATH
  1427. do
  1428. IFS=$as_save_IFS
  1429. test -z "$as_dir" && as_dir=.
  1430. for ac_exec_ext in '' $ac_executable_extensions; do
  1431. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1432. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1433. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1434. break 2
  1435. fi
  1436. done
  1437. done
  1438. fi
  1439. fi
  1440. CC=$ac_cv_prog_CC
  1441. if test -n "$CC"; then
  1442. echo "$as_me:$LINENO: result: $CC" >&5
  1443. echo "${ECHO_T}$CC" >&6
  1444. else
  1445. echo "$as_me:$LINENO: result: no" >&5
  1446. echo "${ECHO_T}no" >&6
  1447. fi
  1448. fi
  1449. if test -z "$ac_cv_prog_CC"; then
  1450. ac_ct_CC=$CC
  1451. # Extract the first word of "cc", so it can be a program name with args.
  1452. set dummy cc; ac_word=$2
  1453. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1454. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1455. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1456. echo $ECHO_N "(cached) $ECHO_C" >&6
  1457. else
  1458. if test -n "$ac_ct_CC"; then
  1459. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1460. else
  1461. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1462. for as_dir in $PATH
  1463. do
  1464. IFS=$as_save_IFS
  1465. test -z "$as_dir" && as_dir=.
  1466. for ac_exec_ext in '' $ac_executable_extensions; do
  1467. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1468. ac_cv_prog_ac_ct_CC="cc"
  1469. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1470. break 2
  1471. fi
  1472. done
  1473. done
  1474. fi
  1475. fi
  1476. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1477. if test -n "$ac_ct_CC"; then
  1478. echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1479. echo "${ECHO_T}$ac_ct_CC" >&6
  1480. else
  1481. echo "$as_me:$LINENO: result: no" >&5
  1482. echo "${ECHO_T}no" >&6
  1483. fi
  1484. CC=$ac_ct_CC
  1485. else
  1486. CC="$ac_cv_prog_CC"
  1487. fi
  1488. fi
  1489. if test -z "$CC"; then
  1490. # Extract the first word of "cc", so it can be a program name with args.
  1491. set dummy cc; ac_word=$2
  1492. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1493. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1494. if test "${ac_cv_prog_CC+set}" = set; then
  1495. echo $ECHO_N "(cached) $ECHO_C" >&6
  1496. else
  1497. if test -n "$CC"; then
  1498. ac_cv_prog_CC="$CC" # Let the user override the test.
  1499. else
  1500. ac_prog_rejected=no
  1501. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1502. for as_dir in $PATH
  1503. do
  1504. IFS=$as_save_IFS
  1505. test -z "$as_dir" && as_dir=.
  1506. for ac_exec_ext in '' $ac_executable_extensions; do
  1507. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1508. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1509. ac_prog_rejected=yes
  1510. continue
  1511. fi
  1512. ac_cv_prog_CC="cc"
  1513. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1514. break 2
  1515. fi
  1516. done
  1517. done
  1518. if test $ac_prog_rejected = yes; then
  1519. # We found a bogon in the path, so make sure we never use it.
  1520. set dummy $ac_cv_prog_CC
  1521. shift
  1522. if test $# != 0; then
  1523. # We chose a different compiler from the bogus one.
  1524. # However, it has the same basename, so the bogon will be chosen
  1525. # first if we set CC to just the basename; use the full file name.
  1526. shift
  1527. set dummy "$as_dir/$ac_word" ${1+"$@"}
  1528. shift
  1529. ac_cv_prog_CC="$@"
  1530. fi
  1531. fi
  1532. fi
  1533. fi
  1534. CC=$ac_cv_prog_CC
  1535. if test -n "$CC"; then
  1536. echo "$as_me:$LINENO: result: $CC" >&5
  1537. echo "${ECHO_T}$CC" >&6
  1538. else
  1539. echo "$as_me:$LINENO: result: no" >&5
  1540. echo "${ECHO_T}no" >&6
  1541. fi
  1542. fi
  1543. if test -z "$CC"; then
  1544. if test -n "$ac_tool_prefix"; then
  1545. for ac_prog in cl
  1546. do
  1547. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1548. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1549. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1550. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1551. if test "${ac_cv_prog_CC+set}" = set; then
  1552. echo $ECHO_N "(cached) $ECHO_C" >&6
  1553. else
  1554. if test -n "$CC"; then
  1555. ac_cv_prog_CC="$CC" # Let the user override the test.
  1556. else
  1557. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1558. for as_dir in $PATH
  1559. do
  1560. IFS=$as_save_IFS
  1561. test -z "$as_dir" && as_dir=.
  1562. for ac_exec_ext in '' $ac_executable_extensions; do
  1563. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1564. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1565. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1566. break 2
  1567. fi
  1568. done
  1569. done
  1570. fi
  1571. fi
  1572. CC=$ac_cv_prog_CC
  1573. if test -n "$CC"; then
  1574. echo "$as_me:$LINENO: result: $CC" >&5
  1575. echo "${ECHO_T}$CC" >&6
  1576. else
  1577. echo "$as_me:$LINENO: result: no" >&5
  1578. echo "${ECHO_T}no" >&6
  1579. fi
  1580. test -n "$CC" && break
  1581. done
  1582. fi
  1583. if test -z "$CC"; then
  1584. ac_ct_CC=$CC
  1585. for ac_prog in cl
  1586. do
  1587. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1588. set dummy $ac_prog; ac_word=$2
  1589. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1590. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1591. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1592. echo $ECHO_N "(cached) $ECHO_C" >&6
  1593. else
  1594. if test -n "$ac_ct_CC"; then
  1595. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1596. else
  1597. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1598. for as_dir in $PATH
  1599. do
  1600. IFS=$as_save_IFS
  1601. test -z "$as_dir" && as_dir=.
  1602. for ac_exec_ext in '' $ac_executable_extensions; do
  1603. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1604. ac_cv_prog_ac_ct_CC="$ac_prog"
  1605. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1606. break 2
  1607. fi
  1608. done
  1609. done
  1610. fi
  1611. fi
  1612. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1613. if test -n "$ac_ct_CC"; then
  1614. echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1615. echo "${ECHO_T}$ac_ct_CC" >&6
  1616. else
  1617. echo "$as_me:$LINENO: result: no" >&5
  1618. echo "${ECHO_T}no" >&6
  1619. fi
  1620. test -n "$ac_ct_CC" && break
  1621. done
  1622. CC=$ac_ct_CC
  1623. fi
  1624. fi
  1625. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
  1626. echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
  1627. { (exit 1); exit 1; }; }
  1628. # Provide some information about the compiler.
  1629. echo "$as_me:$LINENO:" \
  1630. "checking for C compiler version" >&5
  1631. ac_compiler=`set X $ac_compile; echo $2`
  1632. { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  1633. (eval $ac_compiler --version </dev/null >&5) 2>&5
  1634. ac_status=$?
  1635. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1636. (exit $ac_status); }
  1637. { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  1638. (eval $ac_compiler -v </dev/null >&5) 2>&5
  1639. ac_status=$?
  1640. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1641. (exit $ac_status); }
  1642. { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  1643. (eval $ac_compiler -V </dev/null >&5) 2>&5
  1644. ac_status=$?
  1645. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1646. (exit $ac_status); }
  1647. cat >conftest.$ac_ext <<_ACEOF
  1648. #line $LINENO "configure"
  1649. #include "confdefs.h"
  1650. #ifdef F77_DUMMY_MAIN
  1651. # ifdef __cplusplus
  1652. extern "C"
  1653. # endif
  1654. int F77_DUMMY_MAIN() { return 1; }
  1655. #endif
  1656. int
  1657. main ()
  1658. {
  1659. ;
  1660. return 0;
  1661. }
  1662. _ACEOF
  1663. ac_clean_files_save=$ac_clean_files
  1664. ac_clean_files="$ac_clean_files a.out a.exe"
  1665. # Try to create an executable without -o first, disregard a.out.
  1666. # It will help us diagnose broken compilers, and finding out an intuition
  1667. # of exeext.
  1668. echo "$as_me:$LINENO: checking for C compiler default output" >&5
  1669. echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
  1670. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1671. if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  1672. (eval $ac_link_default) 2>&5
  1673. ac_status=$?
  1674. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1675. (exit $ac_status); }; then
  1676. # Find the output, starting from the most likely. This scheme is
  1677. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  1678. # resort.
  1679. # Be careful to initialize this variable, since it used to be cached.
  1680. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  1681. ac_cv_exeext=
  1682. for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
  1683. ls a.out conftest 2>/dev/null;
  1684. ls a.* conftest.* 2>/dev/null`; do
  1685. case $ac_file in
  1686. *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
  1687. a.out ) # We found the default executable, but exeext='' is most
  1688. # certainly right.
  1689. break;;
  1690. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1691. # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
  1692. export ac_cv_exeext
  1693. break;;
  1694. * ) break;;
  1695. esac
  1696. done
  1697. else
  1698. echo "$as_me: failed program was:" >&5
  1699. cat conftest.$ac_ext >&5
  1700. { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
  1701. echo "$as_me: error: C compiler cannot create executables" >&2;}
  1702. { (exit 77); exit 77; }; }
  1703. fi
  1704. ac_exeext=$ac_cv_exeext
  1705. echo "$as_me:$LINENO: result: $ac_file" >&5
  1706. echo "${ECHO_T}$ac_file" >&6
  1707. # Check the compiler produces executables we can run. If not, either
  1708. # the compiler is broken, or we cross compile.
  1709. echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1710. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  1711. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1712. # If not cross compiling, check that we can run a simple program.
  1713. if test "$cross_compiling" != yes; then
  1714. if { ac_try='./$ac_file'
  1715. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1716. (eval $ac_try) 2>&5
  1717. ac_status=$?
  1718. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1719. (exit $ac_status); }; }; then
  1720. cross_compiling=no
  1721. else
  1722. if test "$cross_compiling" = maybe; then
  1723. cross_compiling=yes
  1724. else
  1725. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1726. If you meant to cross compile, use \`--host'." >&5
  1727. echo "$as_me: error: cannot run C compiled programs.
  1728. If you meant to cross compile, use \`--host'." >&2;}
  1729. { (exit 1); exit 1; }; }
  1730. fi
  1731. fi
  1732. fi
  1733. echo "$as_me:$LINENO: result: yes" >&5
  1734. echo "${ECHO_T}yes" >&6
  1735. rm -f a.out a.exe conftest$ac_cv_exeext
  1736. ac_clean_files=$ac_clean_files_save
  1737. # Check the compiler produces executables we can run. If not, either
  1738. # the compiler is broken, or we cross compile.
  1739. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1740. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  1741. echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1742. echo "${ECHO_T}$cross_compiling" >&6
  1743. echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1744. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  1745. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  1746. (eval $ac_link) 2>&5
  1747. ac_status=$?
  1748. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1749. (exit $ac_status); }; then
  1750. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1751. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  1752. # work properly (i.e., refer to `conftest.exe'), while it won't with
  1753. # `rm'.
  1754. for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
  1755. case $ac_file in
  1756. *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
  1757. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1758. export ac_cv_exeext
  1759. break;;
  1760. * ) break;;
  1761. esac
  1762. done
  1763. else
  1764. { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
  1765. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
  1766. { (exit 1); exit 1; }; }
  1767. fi
  1768. rm -f conftest$ac_cv_exeext
  1769. echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1770. echo "${ECHO_T}$ac_cv_exeext" >&6
  1771. rm -f conftest.$ac_ext
  1772. EXEEXT=$ac_cv_exeext
  1773. ac_exeext=$EXEEXT
  1774. echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1775. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  1776. if test "${ac_cv_objext+set}" = set; then
  1777. echo $ECHO_N "(cached) $ECHO_C" >&6
  1778. else
  1779. cat >conftest.$ac_ext <<_ACEOF
  1780. #line $LINENO "configure"
  1781. #include "confdefs.h"
  1782. #ifdef F77_DUMMY_MAIN
  1783. # ifdef __cplusplus
  1784. extern "C"
  1785. # endif
  1786. int F77_DUMMY_MAIN() { return 1; }
  1787. #endif
  1788. int
  1789. main ()
  1790. {
  1791. ;
  1792. return 0;
  1793. }
  1794. _ACEOF
  1795. rm -f conftest.o conftest.obj
  1796. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1797. (eval $ac_compile) 2>&5
  1798. ac_status=$?
  1799. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1800. (exit $ac_status); }; then
  1801. for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  1802. case $ac_file in
  1803. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
  1804. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1805. break;;
  1806. esac
  1807. done
  1808. else
  1809. echo "$as_me: failed program was:" >&5
  1810. cat conftest.$ac_ext >&5
  1811. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
  1812. echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
  1813. { (exit 1); exit 1; }; }
  1814. fi
  1815. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1816. fi
  1817. echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1818. echo "${ECHO_T}$ac_cv_objext" >&6
  1819. OBJEXT=$ac_cv_objext
  1820. ac_objext=$OBJEXT
  1821. echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1822. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  1823. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  1824. echo $ECHO_N "(cached) $ECHO_C" >&6
  1825. else
  1826. cat >conftest.$ac_ext <<_ACEOF
  1827. #line $LINENO "configure"
  1828. #include "confdefs.h"
  1829. #ifdef F77_DUMMY_MAIN
  1830. # ifdef __cplusplus
  1831. extern "C"
  1832. # endif
  1833. int F77_DUMMY_MAIN() { return 1; }
  1834. #endif
  1835. int
  1836. main ()
  1837. {
  1838. #ifndef __GNUC__
  1839. choke me
  1840. #endif
  1841. ;
  1842. return 0;
  1843. }
  1844. _ACEOF
  1845. rm -f conftest.$ac_objext
  1846. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1847. (eval $ac_compile) 2>&5
  1848. ac_status=$?
  1849. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1850. (exit $ac_status); } &&
  1851. { ac_try='test -s conftest.$ac_objext'
  1852. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1853. (eval $ac_try) 2>&5
  1854. ac_status=$?
  1855. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1856. (exit $ac_status); }; }; then
  1857. ac_compiler_gnu=yes
  1858. else
  1859. echo "$as_me: failed program was:" >&5
  1860. cat conftest.$ac_ext >&5
  1861. ac_compiler_gnu=no
  1862. fi
  1863. rm -f conftest.$ac_objext conftest.$ac_ext
  1864. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1865. fi
  1866. echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  1867. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  1868. GCC=`test $ac_compiler_gnu = yes && echo yes`
  1869. ac_test_CFLAGS=${CFLAGS+set}
  1870. ac_save_CFLAGS=$CFLAGS
  1871. CFLAGS="-g"
  1872. echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  1873. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  1874. if test "${ac_cv_prog_cc_g+set}" = set; then
  1875. echo $ECHO_N "(cached) $ECHO_C" >&6
  1876. else
  1877. cat >conftest.$ac_ext <<_ACEOF
  1878. #line $LINENO "configure"
  1879. #include "confdefs.h"
  1880. #ifdef F77_DUMMY_MAIN
  1881. # ifdef __cplusplus
  1882. extern "C"
  1883. # endif
  1884. int F77_DUMMY_MAIN() { return 1; }
  1885. #endif
  1886. int
  1887. main ()
  1888. {
  1889. ;
  1890. return 0;
  1891. }
  1892. _ACEOF
  1893. rm -f conftest.$ac_objext
  1894. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1895. (eval $ac_compile) 2>&5
  1896. ac_status=$?
  1897. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1898. (exit $ac_status); } &&
  1899. { ac_try='test -s conftest.$ac_objext'
  1900. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1901. (eval $ac_try) 2>&5
  1902. ac_status=$?
  1903. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1904. (exit $ac_status); }; }; then
  1905. ac_cv_prog_cc_g=yes
  1906. else
  1907. echo "$as_me: failed program was:" >&5
  1908. cat conftest.$ac_ext >&5
  1909. ac_cv_prog_cc_g=no
  1910. fi
  1911. rm -f conftest.$ac_objext conftest.$ac_ext
  1912. fi
  1913. echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  1914. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  1915. if test "$ac_test_CFLAGS" = set; then
  1916. CFLAGS=$ac_save_CFLAGS
  1917. elif test $ac_cv_prog_cc_g = yes; then
  1918. if test "$GCC" = yes; then
  1919. CFLAGS="-g -O2"
  1920. else
  1921. CFLAGS="-g"
  1922. fi
  1923. else
  1924. if test "$GCC" = yes; then
  1925. CFLAGS="-O2"
  1926. else
  1927. CFLAGS=
  1928. fi
  1929. fi
  1930. # Some people use a C++ compiler to compile C. Since we use `exit',
  1931. # in C++ we need to declare it. In case someone uses the same compiler
  1932. # for both compiling C and C++ we need to have the C++ compiler decide
  1933. # the declaration of exit, since it's the most demanding environment.
  1934. cat >conftest.$ac_ext <<_ACEOF
  1935. #ifndef __cplusplus
  1936. choke me
  1937. #endif
  1938. _ACEOF
  1939. rm -f conftest.$ac_objext
  1940. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1941. (eval $ac_compile) 2>&5
  1942. ac_status=$?
  1943. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1944. (exit $ac_status); } &&
  1945. { ac_try='test -s conftest.$ac_objext'
  1946. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1947. (eval $ac_try) 2>&5
  1948. ac_status=$?
  1949. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1950. (exit $ac_status); }; }; then
  1951. for ac_declaration in \
  1952. ''\
  1953. '#include <stdlib.h>' \
  1954. 'extern "C" void std::exit (int) throw (); using std::exit;' \
  1955. 'extern "C" void std::exit (int); using std::exit;' \
  1956. 'extern "C" void exit (int) throw ();' \
  1957. 'extern "C" void exit (int);' \
  1958. 'void exit (int);'
  1959. do
  1960. cat >conftest.$ac_ext <<_ACEOF
  1961. #line $LINENO "configure"
  1962. #include "confdefs.h"
  1963. #include <stdlib.h>
  1964. $ac_declaration
  1965. #ifdef F77_DUMMY_MAIN
  1966. # ifdef __cplusplus
  1967. extern "C"
  1968. # endif
  1969. int F77_DUMMY_MAIN() { return 1; }
  1970. #endif
  1971. int
  1972. main ()
  1973. {
  1974. exit (42);
  1975. ;
  1976. return 0;
  1977. }
  1978. _ACEOF
  1979. rm -f conftest.$ac_objext
  1980. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  1981. (eval $ac_compile) 2>&5
  1982. ac_status=$?
  1983. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1984. (exit $ac_status); } &&
  1985. { ac_try='test -s conftest.$ac_objext'
  1986. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  1987. (eval $ac_try) 2>&5
  1988. ac_status=$?
  1989. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1990. (exit $ac_status); }; }; then
  1991. :
  1992. else
  1993. echo "$as_me: failed program was:" >&5
  1994. cat conftest.$ac_ext >&5
  1995. continue
  1996. fi
  1997. rm -f conftest.$ac_objext conftest.$ac_ext
  1998. cat >conftest.$ac_ext <<_ACEOF
  1999. #line $LINENO "configure"
  2000. #include "confdefs.h"
  2001. $ac_declaration
  2002. #ifdef F77_DUMMY_MAIN
  2003. # ifdef __cplusplus
  2004. extern "C"
  2005. # endif
  2006. int F77_DUMMY_MAIN() { return 1; }
  2007. #endif
  2008. int
  2009. main ()
  2010. {
  2011. exit (42);
  2012. ;
  2013. return 0;
  2014. }
  2015. _ACEOF
  2016. rm -f conftest.$ac_objext
  2017. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2018. (eval $ac_compile) 2>&5
  2019. ac_status=$?
  2020. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2021. (exit $ac_status); } &&
  2022. { ac_try='test -s conftest.$ac_objext'
  2023. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2024. (eval $ac_try) 2>&5
  2025. ac_status=$?
  2026. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2027. (exit $ac_status); }; }; then
  2028. break
  2029. else
  2030. echo "$as_me: failed program was:" >&5
  2031. cat conftest.$ac_ext >&5
  2032. fi
  2033. rm -f conftest.$ac_objext conftest.$ac_ext
  2034. done
  2035. rm -f conftest*
  2036. if test -n "$ac_declaration"; then
  2037. echo '#ifdef __cplusplus' >>confdefs.h
  2038. echo $ac_declaration >>confdefs.h
  2039. echo '#endif' >>confdefs.h
  2040. fi
  2041. else
  2042. echo "$as_me: failed program was:" >&5
  2043. cat conftest.$ac_ext >&5
  2044. fi
  2045. rm -f conftest.$ac_objext conftest.$ac_ext
  2046. ac_ext=c
  2047. ac_cpp='$CPP $CPPFLAGS'
  2048. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2049. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2050. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2051. rm -f .deps 2>/dev/null
  2052. mkdir .deps 2>/dev/null
  2053. if test -d .deps; then
  2054. DEPDIR=.deps
  2055. else
  2056. # MS-DOS does not allow filenames that begin with a dot.
  2057. DEPDIR=_deps
  2058. fi
  2059. rmdir .deps 2>/dev/null
  2060. ac_config_commands="$ac_config_commands depfiles"
  2061. am_make=${MAKE-make}
  2062. cat > confinc << 'END'
  2063. doit:
  2064. @echo done
  2065. END
  2066. # If we don't find an include directive, just comment out the code.
  2067. echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2068. echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  2069. am__include="#"
  2070. am__quote=
  2071. _am_result=none
  2072. # First try GNU make style include.
  2073. echo "include confinc" > confmf
  2074. # We grep out `Entering directory' and `Leaving directory'
  2075. # messages which can occur if `w' ends up in MAKEFLAGS.
  2076. # In particular we don't look at `^make:' because GNU make might
  2077. # be invoked under some other name (usually "gmake"), in which
  2078. # case it prints its new name instead of `make'.
  2079. if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
  2080. am__include=include
  2081. am__quote=
  2082. _am_result=GNU
  2083. fi
  2084. # Now try BSD make style include.
  2085. if test "$am__include" = "#"; then
  2086. echo '.include "confinc"' > confmf
  2087. if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2088. am__include=.include
  2089. am__quote="\""
  2090. _am_result=BSD
  2091. fi
  2092. fi
  2093. echo "$as_me:$LINENO: result: $_am_result" >&5
  2094. echo "${ECHO_T}$_am_result" >&6
  2095. rm -f confinc confmf
  2096. # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  2097. if test "${enable_dependency_tracking+set}" = set; then
  2098. enableval="$enable_dependency_tracking"
  2099. fi;
  2100. if test "x$enable_dependency_tracking" != xno; then
  2101. am_depcomp="$ac_aux_dir/depcomp"
  2102. AMDEPBACKSLASH='\'
  2103. fi
  2104. if test "x$enable_dependency_tracking" != xno; then
  2105. AMDEP_TRUE=
  2106. AMDEP_FALSE='#'
  2107. else
  2108. AMDEP_TRUE='#'
  2109. AMDEP_FALSE=
  2110. fi
  2111. depcc="$CC" am_compiler_list=
  2112. echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  2113. echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  2114. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  2115. echo $ECHO_N "(cached) $ECHO_C" >&6
  2116. else
  2117. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2118. # We make a subdir and do the tests there. Otherwise we can end up
  2119. # making bogus files that we don't know about and never remove. For
  2120. # instance it was reported that on HP-UX the gcc test will end up
  2121. # making a dummy file named `D' -- because `-MD' means `put the output
  2122. # in D'.
  2123. mkdir conftest.dir
  2124. # Copy depcomp to subdir because otherwise we won't find it if we're
  2125. # using a relative directory.
  2126. cp "$am_depcomp" conftest.dir
  2127. cd conftest.dir
  2128. am_cv_CC_dependencies_compiler_type=none
  2129. if test "$am_compiler_list" = ""; then
  2130. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  2131. fi
  2132. for depmode in $am_compiler_list; do
  2133. # We need to recreate these files for each test, as the compiler may
  2134. # overwrite some of them when testing with obscure command lines.
  2135. # This happens at least with the AIX C compiler.
  2136. echo '#include "conftest.h"' > conftest.c
  2137. echo 'int i;' > conftest.h
  2138. echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
  2139. case $depmode in
  2140. nosideeffect)
  2141. # after this tag, mechanisms are not by side-effect, so they'll
  2142. # only be used when explicitly requested
  2143. if test "x$enable_dependency_tracking" = xyes; then
  2144. continue
  2145. else
  2146. break
  2147. fi
  2148. ;;
  2149. none) break ;;
  2150. esac
  2151. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2152. # mode. It turns out that the SunPro C++ compiler does not properly
  2153. # handle `-M -o', and we need to detect this.
  2154. if depmode=$depmode \
  2155. source=conftest.c object=conftest.o \
  2156. depfile=conftest.Po tmpdepfile=conftest.TPo \
  2157. $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
  2158. grep conftest.h conftest.Po > /dev/null 2>&1 &&
  2159. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2160. am_cv_CC_dependencies_compiler_type=$depmode
  2161. break
  2162. fi
  2163. done
  2164. cd ..
  2165. rm -rf conftest.dir
  2166. else
  2167. am_cv_CC_dependencies_compiler_type=none
  2168. fi
  2169. fi
  2170. echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  2171. echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  2172. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  2173. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  2174. echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  2175. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  2176. if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  2177. echo $ECHO_N "(cached) $ECHO_C" >&6
  2178. else
  2179. cat >conftest.make <<\_ACEOF
  2180. all:
  2181. @echo 'ac_maketemp="${MAKE}"'
  2182. _ACEOF
  2183. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2184. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  2185. if test -n "$ac_maketemp"; then
  2186. eval ac_cv_prog_make_${ac_make}_set=yes
  2187. else
  2188. eval ac_cv_prog_make_${ac_make}_set=no
  2189. fi
  2190. rm -f conftest.make
  2191. fi
  2192. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  2193. echo "$as_me:$LINENO: result: yes" >&5
  2194. echo "${ECHO_T}yes" >&6
  2195. SET_MAKE=
  2196. else
  2197. echo "$as_me:$LINENO: result: no" >&5
  2198. echo "${ECHO_T}no" >&6
  2199. SET_MAKE="MAKE=${MAKE-make}"
  2200. fi
  2201. if test -n "$ac_tool_prefix"; then
  2202. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  2203. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  2204. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2205. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2206. if test "${ac_cv_prog_RANLIB+set}" = set; then
  2207. echo $ECHO_N "(cached) $ECHO_C" >&6
  2208. else
  2209. if test -n "$RANLIB"; then
  2210. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  2211. else
  2212. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2213. for as_dir in $PATH
  2214. do
  2215. IFS=$as_save_IFS
  2216. test -z "$as_dir" && as_dir=.
  2217. for ac_exec_ext in '' $ac_executable_extensions; do
  2218. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2219. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  2220. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2221. break 2
  2222. fi
  2223. done
  2224. done
  2225. fi
  2226. fi
  2227. RANLIB=$ac_cv_prog_RANLIB
  2228. if test -n "$RANLIB"; then
  2229. echo "$as_me:$LINENO: result: $RANLIB" >&5
  2230. echo "${ECHO_T}$RANLIB" >&6
  2231. else
  2232. echo "$as_me:$LINENO: result: no" >&5
  2233. echo "${ECHO_T}no" >&6
  2234. fi
  2235. fi
  2236. if test -z "$ac_cv_prog_RANLIB"; then
  2237. ac_ct_RANLIB=$RANLIB
  2238. # Extract the first word of "ranlib", so it can be a program name with args.
  2239. set dummy ranlib; ac_word=$2
  2240. echo "$as_me:$LINENO: checking for $ac_word" >&5
  2241. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2242. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  2243. echo $ECHO_N "(cached) $ECHO_C" >&6
  2244. else
  2245. if test -n "$ac_ct_RANLIB"; then
  2246. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  2247. else
  2248. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2249. for as_dir in $PATH
  2250. do
  2251. IFS=$as_save_IFS
  2252. test -z "$as_dir" && as_dir=.
  2253. for ac_exec_ext in '' $ac_executable_extensions; do
  2254. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2255. ac_cv_prog_ac_ct_RANLIB="ranlib"
  2256. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2257. break 2
  2258. fi
  2259. done
  2260. done
  2261. test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
  2262. fi
  2263. fi
  2264. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  2265. if test -n "$ac_ct_RANLIB"; then
  2266. echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  2267. echo "${ECHO_T}$ac_ct_RANLIB" >&6
  2268. else
  2269. echo "$as_me:$LINENO: result: no" >&5
  2270. echo "${ECHO_T}no" >&6
  2271. fi
  2272. RANLIB=$ac_ct_RANLIB
  2273. else
  2274. RANLIB="$ac_cv_prog_RANLIB"
  2275. fi
  2276. cat >>confdefs.h <<\_ACEOF
  2277. #define HAVE_OPENSSL 0
  2278. _ACEOF
  2279. cat >>confdefs.h <<\_ACEOF
  2280. #define HAVE_POPT 0
  2281. _ACEOF
  2282. echo "$as_me:$LINENO: checking for poptParseArgvString in -lpopt" >&5
  2283. echo $ECHO_N "checking for poptParseArgvString in -lpopt... $ECHO_C" >&6
  2284. if test "${ac_cv_lib_popt_poptParseArgvString+set}" = set; then
  2285. echo $ECHO_N "(cached) $ECHO_C" >&6
  2286. else
  2287. ac_check_lib_save_LIBS=$LIBS
  2288. LIBS="-lpopt $LIBS"
  2289. cat >conftest.$ac_ext <<_ACEOF
  2290. #line $LINENO "configure"
  2291. #include "confdefs.h"
  2292. /* Override any gcc2 internal prototype to avoid an error. */
  2293. #ifdef __cplusplus
  2294. extern "C"
  2295. #endif
  2296. /* We use char because int might match the return type of a gcc2
  2297. builtin and then its argument prototype would still apply. */
  2298. char poptParseArgvString ();
  2299. #ifdef F77_DUMMY_MAIN
  2300. # ifdef __cplusplus
  2301. extern "C"
  2302. # endif
  2303. int F77_DUMMY_MAIN() { return 1; }
  2304. #endif
  2305. int
  2306. main ()
  2307. {
  2308. poptParseArgvString ();
  2309. ;
  2310. return 0;
  2311. }
  2312. _ACEOF
  2313. rm -f conftest.$ac_objext conftest$ac_exeext
  2314. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2315. (eval $ac_link) 2>&5
  2316. ac_status=$?
  2317. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2318. (exit $ac_status); } &&
  2319. { ac_try='test -s conftest$ac_exeext'
  2320. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2321. (eval $ac_try) 2>&5
  2322. ac_status=$?
  2323. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2324. (exit $ac_status); }; }; then
  2325. ac_cv_lib_popt_poptParseArgvString=yes
  2326. else
  2327. echo "$as_me: failed program was:" >&5
  2328. cat conftest.$ac_ext >&5
  2329. ac_cv_lib_popt_poptParseArgvString=no
  2330. fi
  2331. rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  2332. LIBS=$ac_check_lib_save_LIBS
  2333. fi
  2334. echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptParseArgvString" >&5
  2335. echo "${ECHO_T}$ac_cv_lib_popt_poptParseArgvString" >&6
  2336. if test $ac_cv_lib_popt_poptParseArgvString = yes; then
  2337. cat >>confdefs.h <<\_ACEOF
  2338. #define HAVE_POPT 1
  2339. _ACEOF
  2340. else
  2341. { { echo "$as_me:$LINENO: error: required library not found: popt" >&5
  2342. echo "$as_me: error: required library not found: popt" >&2;}
  2343. { (exit 1); exit 1; }; }
  2344. fi
  2345. LIBS="$LIBS -lpopt"
  2346. # The big search for OpenSSL
  2347. # copied from openssh's configure.ac
  2348. # Check whether --with-ssl-dir or --without-ssl-dir was given.
  2349. if test "${with_ssl_dir+set}" = set; then
  2350. withval="$with_ssl_dir"
  2351. if test "x$withval" != "xno" ; then
  2352. tryssldir=$withval
  2353. fi
  2354. fi;
  2355. saved_LIBS="$LIBS"
  2356. saved_LDFLAGS="$LDFLAGS"
  2357. saved_CPPFLAGS="$CPPFLAGS"
  2358. if test "x$prefix" != "xNONE" ; then
  2359. tryssldir="$tryssldir $prefix"
  2360. fi
  2361. echo "$as_me:$LINENO: checking for OpenSSL directory" >&5
  2362. echo $ECHO_N "checking for OpenSSL directory... $ECHO_C" >&6
  2363. if test "${ac_cv_openssldir+set}" = set; then
  2364. echo $ECHO_N "(cached) $ECHO_C" >&6
  2365. else
  2366. for ssldir in $tryssldir "" /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local /usr/pkg /opt /opt/openssl ; do
  2367. CPPFLAGS="$saved_CPPFLAGS"
  2368. LDFLAGS="$saved_LDFLAGS"
  2369. LIBS="$saved_LIBS -lcrypto"
  2370. # Skip directories if they don't exist
  2371. if test ! -z "$ssldir" -a ! -d "$ssldir" ; then
  2372. continue;
  2373. fi
  2374. if test ! -z "$ssldir" -a "x$ssldir" != "x/usr"; then
  2375. # Try to use $ssldir/lib if it exists, otherwise
  2376. # $ssldir
  2377. if test -d "$ssldir/lib" ; then
  2378. LDFLAGS="-L$ssldir/lib $saved_LDFLAGS"
  2379. if test ! -z "$need_dash_r" ; then
  2380. LDFLAGS="-R$ssldir/lib $LDFLAGS"
  2381. fi
  2382. else
  2383. LDFLAGS="-L$ssldir $saved_LDFLAGS"
  2384. if test ! -z "$need_dash_r" ; then
  2385. LDFLAGS="-R$ssldir $LDFLAGS"
  2386. fi
  2387. fi
  2388. # Try to use $ssldir/include if it exists, otherwise
  2389. # $ssldir
  2390. if test -d "$ssldir/include" ; then
  2391. CPPFLAGS="-I$ssldir/include $saved_CPPFLAGS"
  2392. else
  2393. CPPFLAGS="-I$ssldir $saved_CPPFLAGS"
  2394. fi
  2395. fi
  2396. # Basic test to check for compatible version and correct linking
  2397. # *does not* test for RSA - that comes later.
  2398. if test "$cross_compiling" = yes; then
  2399. { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
  2400. echo "$as_me: error: cannot run test program while cross compiling" >&2;}
  2401. { (exit 1); exit 1; }; }
  2402. else
  2403. cat >conftest.$ac_ext <<_ACEOF
  2404. #line $LINENO "configure"
  2405. #include "confdefs.h"
  2406. #include <string.h>
  2407. #include <openssl/rand.h>
  2408. int main(void)
  2409. {
  2410. char a[2048];
  2411. memset(a, 0, sizeof(a));
  2412. RAND_add(a, sizeof(a), sizeof(a));
  2413. return(RAND_status() <= 0);
  2414. }
  2415. _ACEOF
  2416. rm -f conftest$ac_exeext
  2417. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2418. (eval $ac_link) 2>&5
  2419. ac_status=$?
  2420. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2421. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  2422. { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2423. (eval $ac_try) 2>&5
  2424. ac_status=$?
  2425. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2426. (exit $ac_status); }; }; then
  2427. found_crypto=1
  2428. break;
  2429. else
  2430. echo "$as_me: program exited with status $ac_status" >&5
  2431. echo "$as_me: failed program was:" >&5
  2432. cat conftest.$ac_ext >&5
  2433. ( exit $ac_status )
  2434. fi
  2435. rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  2436. fi
  2437. if test ! -z "$found_crypto" ; then
  2438. break;
  2439. fi
  2440. done
  2441. if test -z "$found_crypto" ; then
  2442. { { echo "$as_me:$LINENO: error: Could not find working OpenSSL library, please install or check config.log" >&5
  2443. echo "$as_me: error: Could not find working OpenSSL library, please install or check config.log" >&2;}
  2444. { (exit 1); exit 1; }; }
  2445. fi
  2446. if test -z "$ssldir" ; then
  2447. ssldir="(system)"
  2448. fi
  2449. ac_cv_openssldir=$ssldir
  2450. fi
  2451. echo "$as_me:$LINENO: result: $ac_cv_openssldir" >&5
  2452. echo "${ECHO_T}$ac_cv_openssldir" >&6
  2453. if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ;
  2454. then
  2455. cat >>confdefs.h <<\_ACEOF
  2456. #define HAVE_OPENSSL 1
  2457. _ACEOF
  2458. ssldir=$ac_cv_openssldir
  2459. if test ! -z "$ssldir" -a "x$ssldir" != "x/usr"; then
  2460. # Try to use $ssldir/lib if it exists, otherwise
  2461. # $ssldir
  2462. if test -d "$ssldir/lib" ; then
  2463. LDFLAGS="-L$ssldir/lib $saved_LDFLAGS"
  2464. if test ! -z "$need_dash_r" ; then
  2465. LDFLAGS="-R$ssldir/lib $LDFLAGS"
  2466. fi
  2467. else
  2468. LDFLAGS="-L$ssldir $saved_LDFLAGS"
  2469. if test ! -z "$need_dash_r" ; then
  2470. LDFLAGS="-R$ssldir $LDFLAGS"
  2471. fi
  2472. fi
  2473. # Try to use $ssldir/include if it exists, otherwise
  2474. # $ssldir
  2475. if test -d "$ssldir/include" ; then
  2476. CPPFLAGS="-I$ssldir/include $saved_CPPFLAGS"
  2477. else
  2478. CPPFLAGS="-I$ssldir $saved_CPPFLAGS"
  2479. fi
  2480. fi
  2481. fi
  2482. LIBS="$saved_LIBS -lcrypto"
  2483. ac_config_files="$ac_config_files Makefile src/Makefile src/common/Makefile src/smtpap/Makefile src/orkeygen/Makefile src/httpap/Makefile src/op/Makefile src/or/Makefile"
  2484. cat >confcache <<\_ACEOF
  2485. # This file is a shell script that caches the results of configure
  2486. # tests run on this system so they can be shared between configure
  2487. # scripts and configure runs, see configure's option --config-cache.
  2488. # It is not useful on other systems. If it contains results you don't
  2489. # want to keep, you may remove or edit it.
  2490. #
  2491. # config.status only pays attention to the cache file if you give it
  2492. # the --recheck option to rerun configure.
  2493. #
  2494. # `ac_cv_env_foo' variables (set or unset) will be overriden when
  2495. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  2496. # following values.
  2497. _ACEOF
  2498. # The following way of writing the cache mishandles newlines in values,
  2499. # but we know of no workaround that is simple, portable, and efficient.
  2500. # So, don't put newlines in cache variables' values.
  2501. # Ultrix sh set writes to stderr and can't be redirected directly,
  2502. # and sets the high bit in the cache file unless we assign to the vars.
  2503. {
  2504. (set) 2>&1 |
  2505. case `(ac_space=' '; set | grep ac_space) 2>&1` in
  2506. *ac_space=\ *)
  2507. # `set' does not quote correctly, so add quotes (double-quote
  2508. # substitution turns \\\\ into \\, and sed turns \\ into \).
  2509. sed -n \
  2510. "s/'/'\\\\''/g;
  2511. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  2512. ;;
  2513. *)
  2514. # `set' quotes correctly as required by POSIX, so do not add quotes.
  2515. sed -n \
  2516. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  2517. ;;
  2518. esac;
  2519. } |
  2520. sed '
  2521. t clear
  2522. : clear
  2523. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  2524. t end
  2525. /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  2526. : end' >>confcache
  2527. if cmp -s $cache_file confcache; then :; else
  2528. if test -w $cache_file; then
  2529. test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  2530. cat confcache >$cache_file
  2531. else
  2532. echo "not updating unwritable cache $cache_file"
  2533. fi
  2534. fi
  2535. rm -f confcache
  2536. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2537. # Let make expand exec_prefix.
  2538. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2539. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  2540. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  2541. # trailing colons and then remove the whole line if VPATH becomes empty
  2542. # (actually we leave an empty line to preserve line numbers).
  2543. if test "x$srcdir" = x.; then
  2544. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  2545. s/:*\$(srcdir):*/:/;
  2546. s/:*\${srcdir}:*/:/;
  2547. s/:*@srcdir@:*/:/;
  2548. s/^\([^=]*=[ ]*\):*/\1/;
  2549. s/:*$//;
  2550. s/^[^=]*=[ ]*$//;
  2551. }'
  2552. fi
  2553. DEFS=-DHAVE_CONFIG_H
  2554. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  2555. { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  2556. Usually this means the macro was only invoked conditionally." >&5
  2557. echo "$as_me: error: conditional \"AMDEP\" was never defined.
  2558. Usually this means the macro was only invoked conditionally." >&2;}
  2559. { (exit 1); exit 1; }; }
  2560. fi
  2561. : ${CONFIG_STATUS=./config.status}
  2562. ac_clean_files_save=$ac_clean_files
  2563. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  2564. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  2565. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  2566. cat >$CONFIG_STATUS <<_ACEOF
  2567. #! $SHELL
  2568. # Generated by $as_me.
  2569. # Run this file to recreate the current configuration.
  2570. # Compiler output produced by configure, useful for debugging
  2571. # configure, is in config.log if it exists.
  2572. debug=false
  2573. SHELL=\${CONFIG_SHELL-$SHELL}
  2574. _ACEOF
  2575. cat >>$CONFIG_STATUS <<\_ACEOF
  2576. ## --------------------- ##
  2577. ## M4sh Initialization. ##
  2578. ## --------------------- ##
  2579. # Be Bourne compatible
  2580. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  2581. emulate sh
  2582. NULLCMD=:
  2583. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  2584. set -o posix
  2585. fi
  2586. # NLS nuisances.
  2587. # Support unset when possible.
  2588. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  2589. as_unset=unset
  2590. else
  2591. as_unset=false
  2592. fi
  2593. (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
  2594. { $as_unset LANG || test "${LANG+set}" != set; } ||
  2595. { LANG=C; export LANG; }
  2596. (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
  2597. { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
  2598. { LC_ALL=C; export LC_ALL; }
  2599. (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
  2600. { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
  2601. { LC_TIME=C; export LC_TIME; }
  2602. (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
  2603. { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
  2604. { LC_CTYPE=C; export LC_CTYPE; }
  2605. (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
  2606. { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
  2607. { LANGUAGE=C; export LANGUAGE; }
  2608. (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
  2609. { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
  2610. { LC_COLLATE=C; export LC_COLLATE; }
  2611. (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
  2612. { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
  2613. { LC_NUMERIC=C; export LC_NUMERIC; }
  2614. (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
  2615. { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
  2616. { LC_MESSAGES=C; export LC_MESSAGES; }
  2617. # Name of the executable.
  2618. as_me=`(basename "$0") 2>/dev/null ||
  2619. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  2620. X"$0" : 'X\(//\)$' \| \
  2621. X"$0" : 'X\(/\)$' \| \
  2622. . : '\(.\)' 2>/dev/null ||
  2623. echo X/"$0" |
  2624. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  2625. /^X\/\(\/\/\)$/{ s//\1/; q; }
  2626. /^X\/\(\/\).*/{ s//\1/; q; }
  2627. s/.*/./; q'`
  2628. # PATH needs CR, and LINENO needs CR and PATH.
  2629. # Avoid depending upon Character Ranges.
  2630. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  2631. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  2632. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  2633. as_cr_digits='0123456789'
  2634. as_cr_alnum=$as_cr_Letters$as_cr_digits
  2635. # The user is always right.
  2636. if test "${PATH_SEPARATOR+set}" != set; then
  2637. echo "#! /bin/sh" >conftest.sh
  2638. echo "exit 0" >>conftest.sh
  2639. chmod +x conftest.sh
  2640. if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
  2641. PATH_SEPARATOR=';'
  2642. else
  2643. PATH_SEPARATOR=:
  2644. fi
  2645. rm -f conftest.sh
  2646. fi
  2647. as_lineno_1=$LINENO
  2648. as_lineno_2=$LINENO
  2649. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  2650. test "x$as_lineno_1" != "x$as_lineno_2" &&
  2651. test "x$as_lineno_3" = "x$as_lineno_2" || {
  2652. # Find who we are. Look in the path if we contain no path at all
  2653. # relative or not.
  2654. case $0 in
  2655. *[\\/]* ) as_myself=$0 ;;
  2656. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2657. for as_dir in $PATH
  2658. do
  2659. IFS=$as_save_IFS
  2660. test -z "$as_dir" && as_dir=.
  2661. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  2662. done
  2663. ;;
  2664. esac
  2665. # We did not find ourselves, most probably we were run as `sh COMMAND'
  2666. # in which case we are not to be found in the path.
  2667. if test "x$as_myself" = x; then
  2668. as_myself=$0
  2669. fi
  2670. if test ! -f "$as_myself"; then
  2671. { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  2672. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  2673. { (exit 1); exit 1; }; }
  2674. fi
  2675. case $CONFIG_SHELL in
  2676. '')
  2677. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2678. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  2679. do
  2680. IFS=$as_save_IFS
  2681. test -z "$as_dir" && as_dir=.
  2682. for as_base in sh bash ksh sh5; do
  2683. case $as_dir in
  2684. /*)
  2685. if ("$as_dir/$as_base" -c '
  2686. as_lineno_1=$LINENO
  2687. as_lineno_2=$LINENO
  2688. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  2689. test "x$as_lineno_1" != "x$as_lineno_2" &&
  2690. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  2691. CONFIG_SHELL=$as_dir/$as_base
  2692. export CONFIG_SHELL
  2693. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  2694. fi;;
  2695. esac
  2696. done
  2697. done
  2698. ;;
  2699. esac
  2700. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  2701. # uniformly replaced by the line number. The first 'sed' inserts a
  2702. # line-number line before each line; the second 'sed' does the real
  2703. # work. The second script uses 'N' to pair each line-number line
  2704. # with the numbered line, and appends trailing '-' during
  2705. # substitution so that $LINENO is not a special case at line end.
  2706. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  2707. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  2708. sed '=' <$as_myself |
  2709. sed '
  2710. N
  2711. s,$,-,
  2712. : loop
  2713. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  2714. t loop
  2715. s,-$,,
  2716. s,^['$as_cr_digits']*\n,,
  2717. ' >$as_me.lineno &&
  2718. chmod +x $as_me.lineno ||
  2719. { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  2720. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  2721. { (exit 1); exit 1; }; }
  2722. # Don't try to exec as it changes $[0], causing all sort of problems
  2723. # (the dirname of $[0] is not the place where we might find the
  2724. # original and so on. Autoconf is especially sensible to this).
  2725. . ./$as_me.lineno
  2726. # Exit status is that of the last command.
  2727. exit
  2728. }
  2729. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  2730. *c*,-n*) ECHO_N= ECHO_C='
  2731. ' ECHO_T=' ' ;;
  2732. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  2733. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  2734. esac
  2735. if expr a : '\(a\)' >/dev/null 2>&1; then
  2736. as_expr=expr
  2737. else
  2738. as_expr=false
  2739. fi
  2740. rm -f conf$$ conf$$.exe conf$$.file
  2741. echo >conf$$.file
  2742. if ln -s conf$$.file conf$$ 2>/dev/null; then
  2743. # We could just check for DJGPP; but this test a) works b) is more generic
  2744. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  2745. if test -f conf$$.exe; then
  2746. # Don't use ln at all; we don't have any links
  2747. as_ln_s='cp -p'
  2748. else
  2749. as_ln_s='ln -s'
  2750. fi
  2751. elif ln conf$$.file conf$$ 2>/dev/null; then
  2752. as_ln_s=ln
  2753. else
  2754. as_ln_s='cp -p'
  2755. fi
  2756. rm -f conf$$ conf$$.exe conf$$.file
  2757. as_executable_p="test -f"
  2758. # Sed expression to map a string onto a valid CPP name.
  2759. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  2760. # Sed expression to map a string onto a valid variable name.
  2761. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  2762. # IFS
  2763. # We need space, tab and new line, in precisely that order.
  2764. as_nl='
  2765. '
  2766. IFS=" $as_nl"
  2767. # CDPATH.
  2768. $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
  2769. exec 6>&1
  2770. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  2771. # report actual input values of CONFIG_FILES etc. instead of their
  2772. # values after options handling. Logging --version etc. is OK.
  2773. exec 5>>config.log
  2774. {
  2775. echo
  2776. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  2777. ## Running $as_me. ##
  2778. _ASBOX
  2779. } >&5
  2780. cat >&5 <<_CSEOF
  2781. This file was extended by $as_me, which was
  2782. generated by GNU Autoconf 2.53. Invocation command line was
  2783. CONFIG_FILES = $CONFIG_FILES
  2784. CONFIG_HEADERS = $CONFIG_HEADERS
  2785. CONFIG_LINKS = $CONFIG_LINKS
  2786. CONFIG_COMMANDS = $CONFIG_COMMANDS
  2787. $ $0 $@
  2788. _CSEOF
  2789. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  2790. echo >&5
  2791. _ACEOF
  2792. # Files that config.status was made for.
  2793. if test -n "$ac_config_files"; then
  2794. echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  2795. fi
  2796. if test -n "$ac_config_headers"; then
  2797. echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  2798. fi
  2799. if test -n "$ac_config_links"; then
  2800. echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  2801. fi
  2802. if test -n "$ac_config_commands"; then
  2803. echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  2804. fi
  2805. cat >>$CONFIG_STATUS <<\_ACEOF
  2806. ac_cs_usage="\
  2807. \`$as_me' instantiates files from templates according to the
  2808. current configuration.
  2809. Usage: $0 [OPTIONS] [FILE]...
  2810. -h, --help print this help, then exit
  2811. -V, --version print version number, then exit
  2812. -d, --debug don't remove temporary files
  2813. --recheck update $as_me by reconfiguring in the same conditions
  2814. --file=FILE[:TEMPLATE]
  2815. instantiate the configuration file FILE
  2816. --header=FILE[:TEMPLATE]
  2817. instantiate the configuration header FILE
  2818. Configuration files:
  2819. $config_files
  2820. Configuration headers:
  2821. $config_headers
  2822. Configuration commands:
  2823. $config_commands
  2824. Report bugs to <bug-autoconf@gnu.org>."
  2825. _ACEOF
  2826. cat >>$CONFIG_STATUS <<_ACEOF
  2827. ac_cs_version="\\
  2828. config.status
  2829. configured by $0, generated by GNU Autoconf 2.53,
  2830. with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  2831. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  2832. Free Software Foundation, Inc.
  2833. This config.status script is free software; the Free Software Foundation
  2834. gives unlimited permission to copy, distribute and modify it."
  2835. srcdir=$srcdir
  2836. INSTALL="$INSTALL"
  2837. _ACEOF
  2838. cat >>$CONFIG_STATUS <<\_ACEOF
  2839. # If no file are specified by the user, then we need to provide default
  2840. # value. By we need to know if files were specified by the user.
  2841. ac_need_defaults=:
  2842. while test $# != 0
  2843. do
  2844. case $1 in
  2845. --*=*)
  2846. ac_option=`expr "x$1" : 'x\([^=]*\)='`
  2847. ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  2848. shift
  2849. set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
  2850. shift
  2851. ;;
  2852. -*);;
  2853. *) # This is not an option, so the user has probably given explicit
  2854. # arguments.
  2855. ac_need_defaults=false;;
  2856. esac
  2857. case $1 in
  2858. # Handling of the options.
  2859. _ACEOF
  2860. cat >>$CONFIG_STATUS <<_ACEOF
  2861. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2862. echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
  2863. exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
  2864. _ACEOF
  2865. cat >>$CONFIG_STATUS <<\_ACEOF
  2866. --version | --vers* | -V )
  2867. echo "$ac_cs_version"; exit 0 ;;
  2868. --he | --h)
  2869. # Conflict between --help and --header
  2870. { { echo "$as_me:$LINENO: error: ambiguous option: $1
  2871. Try \`$0 --help' for more information." >&5
  2872. echo "$as_me: error: ambiguous option: $1
  2873. Try \`$0 --help' for more information." >&2;}
  2874. { (exit 1); exit 1; }; };;
  2875. --help | --hel | -h )
  2876. echo "$ac_cs_usage"; exit 0 ;;
  2877. --debug | --d* | -d )
  2878. debug=: ;;
  2879. --file | --fil | --fi | --f )
  2880. shift
  2881. CONFIG_FILES="$CONFIG_FILES $1"
  2882. ac_need_defaults=false;;
  2883. --header | --heade | --head | --hea )
  2884. shift
  2885. CONFIG_HEADERS="$CONFIG_HEADERS $1"
  2886. ac_need_defaults=false;;
  2887. # This is an error.
  2888. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  2889. Try \`$0 --help' for more information." >&5
  2890. echo "$as_me: error: unrecognized option: $1
  2891. Try \`$0 --help' for more information." >&2;}
  2892. { (exit 1); exit 1; }; } ;;
  2893. *) ac_config_targets="$ac_config_targets $1" ;;
  2894. esac
  2895. shift
  2896. done
  2897. _ACEOF
  2898. cat >>$CONFIG_STATUS <<_ACEOF
  2899. #
  2900. # INIT-COMMANDS section.
  2901. #
  2902. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  2903. _ACEOF
  2904. cat >>$CONFIG_STATUS <<\_ACEOF
  2905. for ac_config_target in $ac_config_targets
  2906. do
  2907. case "$ac_config_target" in
  2908. # Handling of arguments.
  2909. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  2910. "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  2911. "src/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
  2912. "src/smtpap/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/smtpap/Makefile" ;;
  2913. "src/orkeygen/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/orkeygen/Makefile" ;;
  2914. "src/httpap/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/httpap/Makefile" ;;
  2915. "src/op/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/op/Makefile" ;;
  2916. "src/or/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/or/Makefile" ;;
  2917. "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  2918. "orconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS orconfig.h" ;;
  2919. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  2920. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  2921. { (exit 1); exit 1; }; };;
  2922. esac
  2923. done
  2924. # If the user did not use the arguments to specify the items to instantiate,
  2925. # then the envvar interface is used. Set only those that are not.
  2926. # We use the long form for the default assignment because of an extremely
  2927. # bizarre bug on SunOS 4.1.3.
  2928. if $ac_need_defaults; then
  2929. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  2930. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  2931. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  2932. fi
  2933. # Create a temporary directory, and hook for its removal unless debugging.
  2934. $debug ||
  2935. {
  2936. trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  2937. trap '{ (exit 1); exit 1; }' 1 2 13 15
  2938. }
  2939. # Create a (secure) tmp directory for tmp files.
  2940. : ${TMPDIR=/tmp}
  2941. {
  2942. tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  2943. test -n "$tmp" && test -d "$tmp"
  2944. } ||
  2945. {
  2946. tmp=$TMPDIR/cs$$-$RANDOM
  2947. (umask 077 && mkdir $tmp)
  2948. } ||
  2949. {
  2950. echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  2951. { (exit 1); exit 1; }
  2952. }
  2953. _ACEOF
  2954. cat >>$CONFIG_STATUS <<_ACEOF
  2955. #
  2956. # CONFIG_FILES section.
  2957. #
  2958. # No need to generate the scripts if there are no CONFIG_FILES.
  2959. # This happens for instance when ./config.status config.h
  2960. if test -n "\$CONFIG_FILES"; then
  2961. # Protect against being on the right side of a sed subst in config.status.
  2962. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  2963. s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  2964. s,@SHELL@,$SHELL,;t t
  2965. s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  2966. s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  2967. s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  2968. s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  2969. s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  2970. s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  2971. s,@exec_prefix@,$exec_prefix,;t t
  2972. s,@prefix@,$prefix,;t t
  2973. s,@program_transform_name@,$program_transform_name,;t t
  2974. s,@bindir@,$bindir,;t t
  2975. s,@sbindir@,$sbindir,;t t
  2976. s,@libexecdir@,$libexecdir,;t t
  2977. s,@datadir@,$datadir,;t t
  2978. s,@sysconfdir@,$sysconfdir,;t t
  2979. s,@sharedstatedir@,$sharedstatedir,;t t
  2980. s,@localstatedir@,$localstatedir,;t t
  2981. s,@libdir@,$libdir,;t t
  2982. s,@includedir@,$includedir,;t t
  2983. s,@oldincludedir@,$oldincludedir,;t t
  2984. s,@infodir@,$infodir,;t t
  2985. s,@mandir@,$mandir,;t t
  2986. s,@build_alias@,$build_alias,;t t
  2987. s,@host_alias@,$host_alias,;t t
  2988. s,@target_alias@,$target_alias,;t t
  2989. s,@DEFS@,$DEFS,;t t
  2990. s,@ECHO_C@,$ECHO_C,;t t
  2991. s,@ECHO_N@,$ECHO_N,;t t
  2992. s,@ECHO_T@,$ECHO_T,;t t
  2993. s,@LIBS@,$LIBS,;t t
  2994. s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  2995. s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  2996. s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  2997. s,@PACKAGE@,$PACKAGE,;t t
  2998. s,@VERSION@,$VERSION,;t t
  2999. s,@ACLOCAL@,$ACLOCAL,;t t
  3000. s,@AUTOCONF@,$AUTOCONF,;t t
  3001. s,@AUTOMAKE@,$AUTOMAKE,;t t
  3002. s,@AUTOHEADER@,$AUTOHEADER,;t t
  3003. s,@MAKEINFO@,$MAKEINFO,;t t
  3004. s,@AMTAR@,$AMTAR,;t t
  3005. s,@install_sh@,$install_sh,;t t
  3006. s,@STRIP@,$STRIP,;t t
  3007. s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  3008. s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  3009. s,@AWK@,$AWK,;t t
  3010. s,@SET_MAKE@,$SET_MAKE,;t t
  3011. s,@CC@,$CC,;t t
  3012. s,@CFLAGS@,$CFLAGS,;t t
  3013. s,@LDFLAGS@,$LDFLAGS,;t t
  3014. s,@CPPFLAGS@,$CPPFLAGS,;t t
  3015. s,@ac_ct_CC@,$ac_ct_CC,;t t
  3016. s,@EXEEXT@,$EXEEXT,;t t
  3017. s,@OBJEXT@,$OBJEXT,;t t
  3018. s,@DEPDIR@,$DEPDIR,;t t
  3019. s,@am__include@,$am__include,;t t
  3020. s,@am__quote@,$am__quote,;t t
  3021. s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
  3022. s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
  3023. s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
  3024. s,@CCDEPMODE@,$CCDEPMODE,;t t
  3025. s,@RANLIB@,$RANLIB,;t t
  3026. s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
  3027. CEOF
  3028. _ACEOF
  3029. cat >>$CONFIG_STATUS <<\_ACEOF
  3030. # Split the substitutions into bite-sized pieces for seds with
  3031. # small command number limits, like on Digital OSF/1 and HP-UX.
  3032. ac_max_sed_lines=48
  3033. ac_sed_frag=1 # Number of current file.
  3034. ac_beg=1 # First line for current file.
  3035. ac_end=$ac_max_sed_lines # Line after last line for current file.
  3036. ac_more_lines=:
  3037. ac_sed_cmds=
  3038. while $ac_more_lines; do
  3039. if test $ac_beg -gt 1; then
  3040. sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  3041. else
  3042. sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  3043. fi
  3044. if test ! -s $tmp/subs.frag; then
  3045. ac_more_lines=false
  3046. else
  3047. # The purpose of the label and of the branching condition is to
  3048. # speed up the sed processing (if there are no `@' at all, there
  3049. # is no need to browse any of the substitutions).
  3050. # These are the two extra sed commands mentioned above.
  3051. (echo ':t
  3052. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  3053. if test -z "$ac_sed_cmds"; then
  3054. ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  3055. else
  3056. ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  3057. fi
  3058. ac_sed_frag=`expr $ac_sed_frag + 1`
  3059. ac_beg=$ac_end
  3060. ac_end=`expr $ac_end + $ac_max_sed_lines`
  3061. fi
  3062. done
  3063. if test -z "$ac_sed_cmds"; then
  3064. ac_sed_cmds=cat
  3065. fi
  3066. fi # test -n "$CONFIG_FILES"
  3067. _ACEOF
  3068. cat >>$CONFIG_STATUS <<\_ACEOF
  3069. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  3070. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  3071. case $ac_file in
  3072. - | *:- | *:-:* ) # input from stdin
  3073. cat >$tmp/stdin
  3074. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3075. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3076. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3077. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3078. * ) ac_file_in=$ac_file.in ;;
  3079. esac
  3080. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  3081. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  3082. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3083. X"$ac_file" : 'X\(//\)[^/]' \| \
  3084. X"$ac_file" : 'X\(//\)$' \| \
  3085. X"$ac_file" : 'X\(/\)' \| \
  3086. . : '\(.\)' 2>/dev/null ||
  3087. echo X"$ac_file" |
  3088. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3089. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3090. /^X\(\/\/\)$/{ s//\1/; q; }
  3091. /^X\(\/\).*/{ s//\1/; q; }
  3092. s/.*/./; q'`
  3093. { case "$ac_dir" in
  3094. [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  3095. *) as_incr_dir=.;;
  3096. esac
  3097. as_dummy="$ac_dir"
  3098. for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
  3099. case $as_mkdir_dir in
  3100. # Skip DOS drivespec
  3101. ?:) as_incr_dir=$as_mkdir_dir ;;
  3102. *)
  3103. as_incr_dir=$as_incr_dir/$as_mkdir_dir
  3104. test -d "$as_incr_dir" ||
  3105. mkdir "$as_incr_dir" ||
  3106. { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
  3107. echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
  3108. { (exit 1); exit 1; }; }
  3109. ;;
  3110. esac
  3111. done; }
  3112. ac_builddir=.
  3113. if test "$ac_dir" != .; then
  3114. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  3115. # A "../" for each directory in $ac_dir_suffix.
  3116. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  3117. else
  3118. ac_dir_suffix= ac_top_builddir=
  3119. fi
  3120. case $srcdir in
  3121. .) # No --srcdir option. We are building in place.
  3122. ac_srcdir=.
  3123. if test -z "$ac_top_builddir"; then
  3124. ac_top_srcdir=.
  3125. else
  3126. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  3127. fi ;;
  3128. [\\/]* | ?:[\\/]* ) # Absolute path.
  3129. ac_srcdir=$srcdir$ac_dir_suffix;
  3130. ac_top_srcdir=$srcdir ;;
  3131. *) # Relative path.
  3132. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  3133. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  3134. esac
  3135. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  3136. # absolute.
  3137. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  3138. ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
  3139. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  3140. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  3141. case $INSTALL in
  3142. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  3143. *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  3144. esac
  3145. if test x"$ac_file" != x-; then
  3146. { echo "$as_me:$LINENO: creating $ac_file" >&5
  3147. echo "$as_me: creating $ac_file" >&6;}
  3148. rm -f "$ac_file"
  3149. fi
  3150. # Let's still pretend it is `configure' which instantiates (i.e., don't
  3151. # use $as_me), people would be surprised to read:
  3152. # /* config.h. Generated by config.status. */
  3153. if test x"$ac_file" = x-; then
  3154. configure_input=
  3155. else
  3156. configure_input="$ac_file. "
  3157. fi
  3158. configure_input=$configure_input"Generated from `echo $ac_file_in |
  3159. sed 's,.*/,,'` by configure."
  3160. # First look for the input files in the build tree, otherwise in the
  3161. # src tree.
  3162. ac_file_inputs=`IFS=:
  3163. for f in $ac_file_in; do
  3164. case $f in
  3165. -) echo $tmp/stdin ;;
  3166. [\\/$]*)
  3167. # Absolute (can't be DOS-style, as IFS=:)
  3168. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3169. echo "$as_me: error: cannot find input file: $f" >&2;}
  3170. { (exit 1); exit 1; }; }
  3171. echo $f;;
  3172. *) # Relative
  3173. if test -f "$f"; then
  3174. # Build tree
  3175. echo $f
  3176. elif test -f "$srcdir/$f"; then
  3177. # Source tree
  3178. echo $srcdir/$f
  3179. else
  3180. # /dev/null tree
  3181. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3182. echo "$as_me: error: cannot find input file: $f" >&2;}
  3183. { (exit 1); exit 1; }; }
  3184. fi;;
  3185. esac
  3186. done` || { (exit 1); exit 1; }
  3187. _ACEOF
  3188. cat >>$CONFIG_STATUS <<_ACEOF
  3189. sed "$ac_vpsub
  3190. $extrasub
  3191. _ACEOF
  3192. cat >>$CONFIG_STATUS <<\_ACEOF
  3193. :t
  3194. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  3195. s,@configure_input@,$configure_input,;t t
  3196. s,@srcdir@,$ac_srcdir,;t t
  3197. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  3198. s,@top_srcdir@,$ac_top_srcdir,;t t
  3199. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  3200. s,@builddir@,$ac_builddir,;t t
  3201. s,@abs_builddir@,$ac_abs_builddir,;t t
  3202. s,@top_builddir@,$ac_top_builddir,;t t
  3203. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  3204. s,@INSTALL@,$ac_INSTALL,;t t
  3205. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  3206. rm -f $tmp/stdin
  3207. if test x"$ac_file" != x-; then
  3208. mv $tmp/out $ac_file
  3209. else
  3210. cat $tmp/out
  3211. rm -f $tmp/out
  3212. fi
  3213. done
  3214. _ACEOF
  3215. cat >>$CONFIG_STATUS <<\_ACEOF
  3216. #
  3217. # CONFIG_HEADER section.
  3218. #
  3219. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  3220. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  3221. #
  3222. # ac_d sets the value in "#define NAME VALUE" lines.
  3223. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  3224. ac_dB='[ ].*$,\1#\2'
  3225. ac_dC=' '
  3226. ac_dD=',;t'
  3227. # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  3228. ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  3229. ac_uB='$,\1#\2define\3'
  3230. ac_uC=' '
  3231. ac_uD=',;t'
  3232. for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  3233. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  3234. case $ac_file in
  3235. - | *:- | *:-:* ) # input from stdin
  3236. cat >$tmp/stdin
  3237. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3238. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3239. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3240. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  3241. * ) ac_file_in=$ac_file.in ;;
  3242. esac
  3243. test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  3244. echo "$as_me: creating $ac_file" >&6;}
  3245. # First look for the input files in the build tree, otherwise in the
  3246. # src tree.
  3247. ac_file_inputs=`IFS=:
  3248. for f in $ac_file_in; do
  3249. case $f in
  3250. -) echo $tmp/stdin ;;
  3251. [\\/$]*)
  3252. # Absolute (can't be DOS-style, as IFS=:)
  3253. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3254. echo "$as_me: error: cannot find input file: $f" >&2;}
  3255. { (exit 1); exit 1; }; }
  3256. echo $f;;
  3257. *) # Relative
  3258. if test -f "$f"; then
  3259. # Build tree
  3260. echo $f
  3261. elif test -f "$srcdir/$f"; then
  3262. # Source tree
  3263. echo $srcdir/$f
  3264. else
  3265. # /dev/null tree
  3266. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  3267. echo "$as_me: error: cannot find input file: $f" >&2;}
  3268. { (exit 1); exit 1; }; }
  3269. fi;;
  3270. esac
  3271. done` || { (exit 1); exit 1; }
  3272. # Remove the trailing spaces.
  3273. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  3274. _ACEOF
  3275. # Transform confdefs.h into two sed scripts, `conftest.defines' and
  3276. # `conftest.undefs', that substitutes the proper values into
  3277. # config.h.in to produce config.h. The first handles `#define'
  3278. # templates, and the second `#undef' templates.
  3279. # And first: Protect against being on the right side of a sed subst in
  3280. # config.status. Protect against being in an unquoted here document
  3281. # in config.status.
  3282. rm -f conftest.defines conftest.undefs
  3283. # Using a here document instead of a string reduces the quoting nightmare.
  3284. # Putting comments in sed scripts is not portable.
  3285. #
  3286. # `end' is used to avoid that the second main sed command (meant for
  3287. # 0-ary CPP macros) applies to n-ary macro definitions.
  3288. # See the Autoconf documentation for `clear'.
  3289. cat >confdef2sed.sed <<\_ACEOF
  3290. s/[\\&,]/\\&/g
  3291. s,[\\$`],\\&,g
  3292. t clear
  3293. : clear
  3294. s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  3295. t end
  3296. s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  3297. : end
  3298. _ACEOF
  3299. # If some macros were called several times there might be several times
  3300. # the same #defines, which is useless. Nevertheless, we may not want to
  3301. # sort them, since we want the *last* AC-DEFINE to be honored.
  3302. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  3303. sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  3304. rm -f confdef2sed.sed
  3305. # This sed command replaces #undef with comments. This is necessary, for
  3306. # example, in the case of _POSIX_SOURCE, which is predefined and required
  3307. # on some systems where configure will not decide to define it.
  3308. cat >>conftest.undefs <<\_ACEOF
  3309. s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  3310. _ACEOF
  3311. # Break up conftest.defines because some shells have a limit on the size
  3312. # of here documents, and old seds have small limits too (100 cmds).
  3313. echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  3314. echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  3315. echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  3316. echo ' :' >>$CONFIG_STATUS
  3317. rm -f conftest.tail
  3318. while grep . conftest.defines >/dev/null
  3319. do
  3320. # Write a limited-size here document to $tmp/defines.sed.
  3321. echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  3322. # Speed up: don't consider the non `#define' lines.
  3323. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  3324. # Work around the forget-to-reset-the-flag bug.
  3325. echo 't clr' >>$CONFIG_STATUS
  3326. echo ': clr' >>$CONFIG_STATUS
  3327. sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  3328. echo 'CEOF
  3329. sed -f $tmp/defines.sed $tmp/in >$tmp/out
  3330. rm -f $tmp/in
  3331. mv $tmp/out $tmp/in
  3332. ' >>$CONFIG_STATUS
  3333. sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  3334. rm -f conftest.defines
  3335. mv conftest.tail conftest.defines
  3336. done
  3337. rm -f conftest.defines
  3338. echo ' fi # egrep' >>$CONFIG_STATUS
  3339. echo >>$CONFIG_STATUS
  3340. # Break up conftest.undefs because some shells have a limit on the size
  3341. # of here documents, and old seds have small limits too (100 cmds).
  3342. echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  3343. rm -f conftest.tail
  3344. while grep . conftest.undefs >/dev/null
  3345. do
  3346. # Write a limited-size here document to $tmp/undefs.sed.
  3347. echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  3348. # Speed up: don't consider the non `#undef'
  3349. echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  3350. # Work around the forget-to-reset-the-flag bug.
  3351. echo 't clr' >>$CONFIG_STATUS
  3352. echo ': clr' >>$CONFIG_STATUS
  3353. sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  3354. echo 'CEOF
  3355. sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  3356. rm -f $tmp/in
  3357. mv $tmp/out $tmp/in
  3358. ' >>$CONFIG_STATUS
  3359. sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  3360. rm -f conftest.undefs
  3361. mv conftest.tail conftest.undefs
  3362. done
  3363. rm -f conftest.undefs
  3364. cat >>$CONFIG_STATUS <<\_ACEOF
  3365. # Let's still pretend it is `configure' which instantiates (i.e., don't
  3366. # use $as_me), people would be surprised to read:
  3367. # /* config.h. Generated by config.status. */
  3368. if test x"$ac_file" = x-; then
  3369. echo "/* Generated by configure. */" >$tmp/config.h
  3370. else
  3371. echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  3372. fi
  3373. cat $tmp/in >>$tmp/config.h
  3374. rm -f $tmp/in
  3375. if test x"$ac_file" != x-; then
  3376. if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
  3377. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  3378. echo "$as_me: $ac_file is unchanged" >&6;}
  3379. else
  3380. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  3381. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3382. X"$ac_file" : 'X\(//\)[^/]' \| \
  3383. X"$ac_file" : 'X\(//\)$' \| \
  3384. X"$ac_file" : 'X\(/\)' \| \
  3385. . : '\(.\)' 2>/dev/null ||
  3386. echo X"$ac_file" |
  3387. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3388. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3389. /^X\(\/\/\)$/{ s//\1/; q; }
  3390. /^X\(\/\).*/{ s//\1/; q; }
  3391. s/.*/./; q'`
  3392. { case "$ac_dir" in
  3393. [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  3394. *) as_incr_dir=.;;
  3395. esac
  3396. as_dummy="$ac_dir"
  3397. for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
  3398. case $as_mkdir_dir in
  3399. # Skip DOS drivespec
  3400. ?:) as_incr_dir=$as_mkdir_dir ;;
  3401. *)
  3402. as_incr_dir=$as_incr_dir/$as_mkdir_dir
  3403. test -d "$as_incr_dir" ||
  3404. mkdir "$as_incr_dir" ||
  3405. { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
  3406. echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
  3407. { (exit 1); exit 1; }; }
  3408. ;;
  3409. esac
  3410. done; }
  3411. rm -f $ac_file
  3412. mv $tmp/config.h $ac_file
  3413. fi
  3414. else
  3415. cat $tmp/config.h
  3416. rm -f $tmp/config.h
  3417. fi
  3418. # Run the commands associated with the file.
  3419. case $ac_file in
  3420. orconfig.h ) # update the timestamp
  3421. echo 'timestamp for orconfig.h' >"./stamp-h1"
  3422. ;;
  3423. esac
  3424. done
  3425. _ACEOF
  3426. cat >>$CONFIG_STATUS <<\_ACEOF
  3427. #
  3428. # CONFIG_COMMANDS section.
  3429. #
  3430. for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  3431. ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  3432. ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  3433. ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
  3434. $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3435. X"$ac_dest" : 'X\(//\)[^/]' \| \
  3436. X"$ac_dest" : 'X\(//\)$' \| \
  3437. X"$ac_dest" : 'X\(/\)' \| \
  3438. . : '\(.\)' 2>/dev/null ||
  3439. echo X"$ac_dest" |
  3440. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3441. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3442. /^X\(\/\/\)$/{ s//\1/; q; }
  3443. /^X\(\/\).*/{ s//\1/; q; }
  3444. s/.*/./; q'`
  3445. ac_builddir=.
  3446. if test "$ac_dir" != .; then
  3447. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  3448. # A "../" for each directory in $ac_dir_suffix.
  3449. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  3450. else
  3451. ac_dir_suffix= ac_top_builddir=
  3452. fi
  3453. case $srcdir in
  3454. .) # No --srcdir option. We are building in place.
  3455. ac_srcdir=.
  3456. if test -z "$ac_top_builddir"; then
  3457. ac_top_srcdir=.
  3458. else
  3459. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  3460. fi ;;
  3461. [\\/]* | ?:[\\/]* ) # Absolute path.
  3462. ac_srcdir=$srcdir$ac_dir_suffix;
  3463. ac_top_srcdir=$srcdir ;;
  3464. *) # Relative path.
  3465. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  3466. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  3467. esac
  3468. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  3469. # absolute.
  3470. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  3471. ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
  3472. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  3473. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  3474. { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
  3475. echo "$as_me: executing $ac_dest commands" >&6;}
  3476. case $ac_dest in
  3477. depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  3478. # Strip MF so we end up with the name of the file.
  3479. mf=`echo "$mf" | sed -e 's/:.*$//'`
  3480. if (sed 1q $mf | fgrep 'generated by automake') > /dev/null 2>&1; then
  3481. dirpart=`(dirname "$mf") 2>/dev/null ||
  3482. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3483. X"$mf" : 'X\(//\)[^/]' \| \
  3484. X"$mf" : 'X\(//\)$' \| \
  3485. X"$mf" : 'X\(/\)' \| \
  3486. . : '\(.\)' 2>/dev/null ||
  3487. echo X"$mf" |
  3488. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3489. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3490. /^X\(\/\/\)$/{ s//\1/; q; }
  3491. /^X\(\/\).*/{ s//\1/; q; }
  3492. s/.*/./; q'`
  3493. else
  3494. continue
  3495. fi
  3496. grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  3497. # Extract the definition of DEP_FILES from the Makefile without
  3498. # running `make'.
  3499. DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  3500. test -z "$DEPDIR" && continue
  3501. # When using ansi2knr, U may be empty or an underscore; expand it
  3502. U=`sed -n -e '/^U = / s///p' < "$mf"`
  3503. test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  3504. # We invoke sed twice because it is the simplest approach to
  3505. # changing $(DEPDIR) to its actual value in the expansion.
  3506. for file in `sed -n -e '
  3507. /^DEP_FILES = .*\\\\$/ {
  3508. s/^DEP_FILES = //
  3509. :loop
  3510. s/\\\\$//
  3511. p
  3512. n
  3513. /\\\\$/ b loop
  3514. p
  3515. }
  3516. /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
  3517. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  3518. # Make sure the directory exists.
  3519. test -f "$dirpart/$file" && continue
  3520. fdir=`(dirname "$file") 2>/dev/null ||
  3521. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3522. X"$file" : 'X\(//\)[^/]' \| \
  3523. X"$file" : 'X\(//\)$' \| \
  3524. X"$file" : 'X\(/\)' \| \
  3525. . : '\(.\)' 2>/dev/null ||
  3526. echo X"$file" |
  3527. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  3528. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  3529. /^X\(\/\/\)$/{ s//\1/; q; }
  3530. /^X\(\/\).*/{ s//\1/; q; }
  3531. s/.*/./; q'`
  3532. { case $dirpart/$fdir in
  3533. [\\/]* | ?:[\\/]* ) as_incr_dir=;;
  3534. *) as_incr_dir=.;;
  3535. esac
  3536. as_dummy=$dirpart/$fdir
  3537. for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
  3538. case $as_mkdir_dir in
  3539. # Skip DOS drivespec
  3540. ?:) as_incr_dir=$as_mkdir_dir ;;
  3541. *)
  3542. as_incr_dir=$as_incr_dir/$as_mkdir_dir
  3543. test -d "$as_incr_dir" ||
  3544. mkdir "$as_incr_dir" ||
  3545. { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
  3546. echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
  3547. { (exit 1); exit 1; }; }
  3548. ;;
  3549. esac
  3550. done; }
  3551. # echo "creating $dirpart/$file"
  3552. echo '# dummy' > "$dirpart/$file"
  3553. done
  3554. done
  3555. ;;
  3556. esac
  3557. done
  3558. _ACEOF
  3559. cat >>$CONFIG_STATUS <<\_ACEOF
  3560. { (exit 0); exit 0; }
  3561. _ACEOF
  3562. chmod +x $CONFIG_STATUS
  3563. ac_clean_files=$ac_clean_files_save
  3564. # configure is writing to config.log, and then calls config.status.
  3565. # config.status does its own redirection, appending to config.log.
  3566. # Unfortunately, on DOS this fails, as config.log is still kept open
  3567. # by configure, so config.status won't be able to write to it; its
  3568. # output is simply discarded. So we exec the FD to /dev/null,
  3569. # effectively closing config.log, so it can be properly (re)opened and
  3570. # appended to by config.status. When coming back to configure, we
  3571. # need to make the FD available again.
  3572. if test "$no_create" != yes; then
  3573. ac_cs_success=:
  3574. exec 5>/dev/null
  3575. $SHELL $CONFIG_STATUS || ac_cs_success=false
  3576. exec 5>>config.log
  3577. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  3578. # would make configure fail if this is the last instruction.
  3579. $ac_cs_success || { (exit 1); exit 1; }
  3580. fi