2
0

output.0 117 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156
  1. @%:@! /bin/sh
  2. @%:@ Guess values for system-dependent variables and create Makefiles.
  3. @%:@ Generated by GNU Autoconf 2.67 for libPolyCore 0.8.2.
  4. @%:@
  5. @%:@ Report bugs to <[email protected]>.
  6. @%:@
  7. @%:@
  8. @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  9. @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  10. @%:@ Foundation, Inc.
  11. @%:@
  12. @%:@
  13. @%:@ This configure script is free software; the Free Software Foundation
  14. @%:@ gives unlimited permission to copy, distribute and modify it.
  15. ## -------------------- ##
  16. ## M4sh Initialization. ##
  17. ## -------------------- ##
  18. # Be more Bourne compatible
  19. DUALCASE=1; export DUALCASE # for MKS sh
  20. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  21. emulate sh
  22. NULLCMD=:
  23. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  24. # is contrary to our usage. Disable this feature.
  25. alias -g '${1+"$@"}'='"$@"'
  26. setopt NO_GLOB_SUBST
  27. else
  28. case `(set -o) 2>/dev/null` in @%:@(
  29. *posix*) :
  30. set -o posix ;; @%:@(
  31. *) :
  32. ;;
  33. esac
  34. fi
  35. as_nl='
  36. '
  37. export as_nl
  38. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  39. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  40. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  41. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  42. # Prefer a ksh shell builtin over an external printf program on Solaris,
  43. # but without wasting forks for bash or zsh.
  44. if test -z "$BASH_VERSION$ZSH_VERSION" \
  45. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  46. as_echo='print -r --'
  47. as_echo_n='print -rn --'
  48. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  49. as_echo='printf %s\n'
  50. as_echo_n='printf %s'
  51. else
  52. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  53. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  54. as_echo_n='/usr/ucb/echo -n'
  55. else
  56. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  57. as_echo_n_body='eval
  58. arg=$1;
  59. case $arg in @%:@(
  60. *"$as_nl"*)
  61. expr "X$arg" : "X\\(.*\\)$as_nl";
  62. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  63. esac;
  64. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  65. '
  66. export as_echo_n_body
  67. as_echo_n='sh -c $as_echo_n_body as_echo'
  68. fi
  69. export as_echo_body
  70. as_echo='sh -c $as_echo_body as_echo'
  71. fi
  72. # The user is always right.
  73. if test "${PATH_SEPARATOR+set}" != set; then
  74. PATH_SEPARATOR=:
  75. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  76. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  77. PATH_SEPARATOR=';'
  78. }
  79. fi
  80. # IFS
  81. # We need space, tab and new line, in precisely that order. Quoting is
  82. # there to prevent editors from complaining about space-tab.
  83. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  84. # splitting by setting IFS to empty value.)
  85. IFS=" "" $as_nl"
  86. # Find who we are. Look in the path if we contain no directory separator.
  87. case $0 in @%:@((
  88. *[\\/]* ) as_myself=$0 ;;
  89. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  90. for as_dir in $PATH
  91. do
  92. IFS=$as_save_IFS
  93. test -z "$as_dir" && as_dir=.
  94. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  95. done
  96. IFS=$as_save_IFS
  97. ;;
  98. esac
  99. # We did not find ourselves, most probably we were run as `sh COMMAND'
  100. # in which case we are not to be found in the path.
  101. if test "x$as_myself" = x; then
  102. as_myself=$0
  103. fi
  104. if test ! -f "$as_myself"; then
  105. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  106. exit 1
  107. fi
  108. # Unset variables that we do not need and which cause bugs (e.g. in
  109. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  110. # suppresses any "Segmentation fault" message there. '((' could
  111. # trigger a bug in pdksh 5.2.14.
  112. for as_var in BASH_ENV ENV MAIL MAILPATH
  113. do eval test x\${$as_var+set} = xset \
  114. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  115. done
  116. PS1='$ '
  117. PS2='> '
  118. PS4='+ '
  119. # NLS nuisances.
  120. LC_ALL=C
  121. export LC_ALL
  122. LANGUAGE=C
  123. export LANGUAGE
  124. # CDPATH.
  125. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  126. if test "x$CONFIG_SHELL" = x; then
  127. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  128. emulate sh
  129. NULLCMD=:
  130. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  131. # is contrary to our usage. Disable this feature.
  132. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  133. setopt NO_GLOB_SUBST
  134. else
  135. case \`(set -o) 2>/dev/null\` in @%:@(
  136. *posix*) :
  137. set -o posix ;; @%:@(
  138. *) :
  139. ;;
  140. esac
  141. fi
  142. "
  143. as_required="as_fn_return () { (exit \$1); }
  144. as_fn_success () { as_fn_return 0; }
  145. as_fn_failure () { as_fn_return 1; }
  146. as_fn_ret_success () { return 0; }
  147. as_fn_ret_failure () { return 1; }
  148. exitcode=0
  149. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  150. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  151. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  152. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  153. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  154. else
  155. exitcode=1; echo positional parameters were not saved.
  156. fi
  157. test x\$exitcode = x0 || exit 1"
  158. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  159. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  160. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  161. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
  162. if (eval "$as_required") 2>/dev/null; then :
  163. as_have_required=yes
  164. else
  165. as_have_required=no
  166. fi
  167. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  168. else
  169. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  170. as_found=false
  171. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  172. do
  173. IFS=$as_save_IFS
  174. test -z "$as_dir" && as_dir=.
  175. as_found=:
  176. case $as_dir in @%:@(
  177. /*)
  178. for as_base in sh bash ksh sh5; do
  179. # Try only shells that exist, to save several forks.
  180. as_shell=$as_dir/$as_base
  181. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  182. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  183. CONFIG_SHELL=$as_shell as_have_required=yes
  184. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  185. break 2
  186. fi
  187. fi
  188. done;;
  189. esac
  190. as_found=false
  191. done
  192. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  193. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  194. CONFIG_SHELL=$SHELL as_have_required=yes
  195. fi; }
  196. IFS=$as_save_IFS
  197. if test "x$CONFIG_SHELL" != x; then :
  198. # We cannot yet assume a decent shell, so we have to provide a
  199. # neutralization value for shells without unset; and this also
  200. # works around shells that cannot unset nonexistent variables.
  201. BASH_ENV=/dev/null
  202. ENV=/dev/null
  203. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  204. export CONFIG_SHELL
  205. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  206. fi
  207. if test x$as_have_required = xno; then :
  208. $as_echo "$0: This script requires a shell more modern than all"
  209. $as_echo "$0: the shells that I found on your system."
  210. if test x${ZSH_VERSION+set} = xset ; then
  211. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  212. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  213. else
  214. $as_echo "$0: Please tell [email protected] and [email protected]
  215. $0: about your system, including any error possibly output
  216. $0: before this message. Then install a modern shell, or
  217. $0: manually run the script under such a shell if you do
  218. $0: have one."
  219. fi
  220. exit 1
  221. fi
  222. fi
  223. fi
  224. SHELL=${CONFIG_SHELL-/bin/sh}
  225. export SHELL
  226. # Unset more variables known to interfere with behavior of common tools.
  227. CLICOLOR_FORCE= GREP_OPTIONS=
  228. unset CLICOLOR_FORCE GREP_OPTIONS
  229. ## --------------------- ##
  230. ## M4sh Shell Functions. ##
  231. ## --------------------- ##
  232. @%:@ as_fn_unset VAR
  233. @%:@ ---------------
  234. @%:@ Portably unset VAR.
  235. as_fn_unset ()
  236. {
  237. { eval $1=; unset $1;}
  238. }
  239. as_unset=as_fn_unset
  240. @%:@ as_fn_set_status STATUS
  241. @%:@ -----------------------
  242. @%:@ Set @S|@? to STATUS, without forking.
  243. as_fn_set_status ()
  244. {
  245. return $1
  246. } @%:@ as_fn_set_status
  247. @%:@ as_fn_exit STATUS
  248. @%:@ -----------------
  249. @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  250. as_fn_exit ()
  251. {
  252. set +e
  253. as_fn_set_status $1
  254. exit $1
  255. } @%:@ as_fn_exit
  256. @%:@ as_fn_mkdir_p
  257. @%:@ -------------
  258. @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  259. as_fn_mkdir_p ()
  260. {
  261. case $as_dir in #(
  262. -*) as_dir=./$as_dir;;
  263. esac
  264. test -d "$as_dir" || eval $as_mkdir_p || {
  265. as_dirs=
  266. while :; do
  267. case $as_dir in #(
  268. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  269. *) as_qdir=$as_dir;;
  270. esac
  271. as_dirs="'$as_qdir' $as_dirs"
  272. as_dir=`$as_dirname -- "$as_dir" ||
  273. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  274. X"$as_dir" : 'X\(//\)[^/]' \| \
  275. X"$as_dir" : 'X\(//\)$' \| \
  276. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  277. $as_echo X"$as_dir" |
  278. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  279. s//\1/
  280. q
  281. }
  282. /^X\(\/\/\)[^/].*/{
  283. s//\1/
  284. q
  285. }
  286. /^X\(\/\/\)$/{
  287. s//\1/
  288. q
  289. }
  290. /^X\(\/\).*/{
  291. s//\1/
  292. q
  293. }
  294. s/.*/./; q'`
  295. test -d "$as_dir" && break
  296. done
  297. test -z "$as_dirs" || eval "mkdir $as_dirs"
  298. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  299. } @%:@ as_fn_mkdir_p
  300. @%:@ as_fn_append VAR VALUE
  301. @%:@ ----------------------
  302. @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  303. @%:@ advantage of any shell optimizations that allow amortized linear growth over
  304. @%:@ repeated appends, instead of the typical quadratic growth present in naive
  305. @%:@ implementations.
  306. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  307. eval 'as_fn_append ()
  308. {
  309. eval $1+=\$2
  310. }'
  311. else
  312. as_fn_append ()
  313. {
  314. eval $1=\$$1\$2
  315. }
  316. fi # as_fn_append
  317. @%:@ as_fn_arith ARG...
  318. @%:@ ------------------
  319. @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  320. @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  321. @%:@ must be portable across @S|@(()) and expr.
  322. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  323. eval 'as_fn_arith ()
  324. {
  325. as_val=$(( $* ))
  326. }'
  327. else
  328. as_fn_arith ()
  329. {
  330. as_val=`expr "$@" || test $? -eq 1`
  331. }
  332. fi # as_fn_arith
  333. @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  334. @%:@ ----------------------------------------
  335. @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  336. @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  337. @%:@ script with STATUS, using 1 if that was 0.
  338. as_fn_error ()
  339. {
  340. as_status=$1; test $as_status -eq 0 && as_status=1
  341. if test "$4"; then
  342. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  343. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  344. fi
  345. $as_echo "$as_me: error: $2" >&2
  346. as_fn_exit $as_status
  347. } @%:@ as_fn_error
  348. if expr a : '\(a\)' >/dev/null 2>&1 &&
  349. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  350. as_expr=expr
  351. else
  352. as_expr=false
  353. fi
  354. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  355. as_basename=basename
  356. else
  357. as_basename=false
  358. fi
  359. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  360. as_dirname=dirname
  361. else
  362. as_dirname=false
  363. fi
  364. as_me=`$as_basename -- "$0" ||
  365. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  366. X"$0" : 'X\(//\)$' \| \
  367. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  368. $as_echo X/"$0" |
  369. sed '/^.*\/\([^/][^/]*\)\/*$/{
  370. s//\1/
  371. q
  372. }
  373. /^X\/\(\/\/\)$/{
  374. s//\1/
  375. q
  376. }
  377. /^X\/\(\/\).*/{
  378. s//\1/
  379. q
  380. }
  381. s/.*/./; q'`
  382. # Avoid depending upon Character Ranges.
  383. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  384. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  385. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  386. as_cr_digits='0123456789'
  387. as_cr_alnum=$as_cr_Letters$as_cr_digits
  388. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  389. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  390. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  391. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  392. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  393. sed -n '
  394. p
  395. /[$]LINENO/=
  396. ' <$as_myself |
  397. sed '
  398. s/[$]LINENO.*/&-/
  399. t lineno
  400. b
  401. :lineno
  402. N
  403. :loop
  404. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  405. t loop
  406. s/-\n.*//
  407. ' >$as_me.lineno &&
  408. chmod +x "$as_me.lineno" ||
  409. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  410. # Don't try to exec as it changes $[0], causing all sort of problems
  411. # (the dirname of $[0] is not the place where we might find the
  412. # original and so on. Autoconf is especially sensitive to this).
  413. . "./$as_me.lineno"
  414. # Exit status is that of the last command.
  415. exit
  416. }
  417. ECHO_C= ECHO_N= ECHO_T=
  418. case `echo -n x` in @%:@(((((
  419. -n*)
  420. case `echo 'xy\c'` in
  421. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  422. xy) ECHO_C='\c';;
  423. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  424. ECHO_T=' ';;
  425. esac;;
  426. *)
  427. ECHO_N='-n';;
  428. esac
  429. rm -f conf$$ conf$$.exe conf$$.file
  430. if test -d conf$$.dir; then
  431. rm -f conf$$.dir/conf$$.file
  432. else
  433. rm -f conf$$.dir
  434. mkdir conf$$.dir 2>/dev/null
  435. fi
  436. if (echo >conf$$.file) 2>/dev/null; then
  437. if ln -s conf$$.file conf$$ 2>/dev/null; then
  438. as_ln_s='ln -s'
  439. # ... but there are two gotchas:
  440. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  441. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  442. # In both cases, we have to default to `cp -p'.
  443. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  444. as_ln_s='cp -p'
  445. elif ln conf$$.file conf$$ 2>/dev/null; then
  446. as_ln_s=ln
  447. else
  448. as_ln_s='cp -p'
  449. fi
  450. else
  451. as_ln_s='cp -p'
  452. fi
  453. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  454. rmdir conf$$.dir 2>/dev/null
  455. if mkdir -p . 2>/dev/null; then
  456. as_mkdir_p='mkdir -p "$as_dir"'
  457. else
  458. test -d ./-p && rmdir ./-p
  459. as_mkdir_p=false
  460. fi
  461. if test -x / >/dev/null 2>&1; then
  462. as_test_x='test -x'
  463. else
  464. if ls -dL / >/dev/null 2>&1; then
  465. as_ls_L_option=L
  466. else
  467. as_ls_L_option=
  468. fi
  469. as_test_x='
  470. eval sh -c '\''
  471. if test -d "$1"; then
  472. test -d "$1/.";
  473. else
  474. case $1 in @%:@(
  475. -*)set "./$1";;
  476. esac;
  477. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  478. ???[sx]*):;;*)false;;esac;fi
  479. '\'' sh
  480. '
  481. fi
  482. as_executable_p=$as_test_x
  483. # Sed expression to map a string onto a valid CPP name.
  484. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  485. # Sed expression to map a string onto a valid variable name.
  486. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  487. test -n "$DJDIR" || exec 7<&0 </dev/null
  488. exec 6>&1
  489. # Name of the host.
  490. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  491. # so uname gets run too.
  492. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  493. #
  494. # Initializations.
  495. #
  496. ac_default_prefix=/usr/local
  497. ac_clean_files=
  498. ac_config_libobj_dir=.
  499. LIB@&t@OBJS=
  500. cross_compiling=no
  501. subdirs=
  502. MFLAGS=
  503. MAKEFLAGS=
  504. # Identity of this package.
  505. PACKAGE_NAME='libPolyCore'
  506. PACKAGE_TARNAME='libpolycore'
  507. PACKAGE_VERSION='0.8.2'
  508. PACKAGE_STRING='libPolyCore 0.8.2'
  509. PACKAGE_BUGREPORT='[email protected]'
  510. PACKAGE_URL=''
  511. ac_subst_vars='LTLIBOBJS
  512. LIB@&t@OBJS
  513. OBJEXT
  514. EXEEXT
  515. ac_ct_CC
  516. CPPFLAGS
  517. LDFLAGS
  518. CFLAGS
  519. CC
  520. target_alias
  521. host_alias
  522. build_alias
  523. LIBS
  524. ECHO_T
  525. ECHO_N
  526. ECHO_C
  527. DEFS
  528. mandir
  529. localedir
  530. libdir
  531. psdir
  532. pdfdir
  533. dvidir
  534. htmldir
  535. infodir
  536. docdir
  537. oldincludedir
  538. includedir
  539. localstatedir
  540. sharedstatedir
  541. sysconfdir
  542. datadir
  543. datarootdir
  544. libexecdir
  545. sbindir
  546. bindir
  547. program_transform_name
  548. prefix
  549. exec_prefix
  550. PACKAGE_URL
  551. PACKAGE_BUGREPORT
  552. PACKAGE_STRING
  553. PACKAGE_VERSION
  554. PACKAGE_TARNAME
  555. PACKAGE_NAME
  556. PATH_SEPARATOR
  557. SHELL'
  558. ac_subst_files=''
  559. ac_user_opts='
  560. enable_option_checking
  561. '
  562. ac_precious_vars='build_alias
  563. host_alias
  564. target_alias
  565. CC
  566. CFLAGS
  567. LDFLAGS
  568. LIBS
  569. CPPFLAGS'
  570. # Initialize some variables set by options.
  571. ac_init_help=
  572. ac_init_version=false
  573. ac_unrecognized_opts=
  574. ac_unrecognized_sep=
  575. # The variables have the same names as the options, with
  576. # dashes changed to underlines.
  577. cache_file=/dev/null
  578. exec_prefix=NONE
  579. no_create=
  580. no_recursion=
  581. prefix=NONE
  582. program_prefix=NONE
  583. program_suffix=NONE
  584. program_transform_name=s,x,x,
  585. silent=
  586. site=
  587. srcdir=
  588. verbose=
  589. x_includes=NONE
  590. x_libraries=NONE
  591. # Installation directory options.
  592. # These are left unexpanded so users can "make install exec_prefix=/foo"
  593. # and all the variables that are supposed to be based on exec_prefix
  594. # by default will actually change.
  595. # Use braces instead of parens because sh, perl, etc. also accept them.
  596. # (The list follows the same order as the GNU Coding Standards.)
  597. bindir='${exec_prefix}/bin'
  598. sbindir='${exec_prefix}/sbin'
  599. libexecdir='${exec_prefix}/libexec'
  600. datarootdir='${prefix}/share'
  601. datadir='${datarootdir}'
  602. sysconfdir='${prefix}/etc'
  603. sharedstatedir='${prefix}/com'
  604. localstatedir='${prefix}/var'
  605. includedir='${prefix}/include'
  606. oldincludedir='/usr/include'
  607. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  608. infodir='${datarootdir}/info'
  609. htmldir='${docdir}'
  610. dvidir='${docdir}'
  611. pdfdir='${docdir}'
  612. psdir='${docdir}'
  613. libdir='${exec_prefix}/lib'
  614. localedir='${datarootdir}/locale'
  615. mandir='${datarootdir}/man'
  616. ac_prev=
  617. ac_dashdash=
  618. for ac_option
  619. do
  620. # If the previous option needs an argument, assign it.
  621. if test -n "$ac_prev"; then
  622. eval $ac_prev=\$ac_option
  623. ac_prev=
  624. continue
  625. fi
  626. case $ac_option in
  627. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  628. *=) ac_optarg= ;;
  629. *) ac_optarg=yes ;;
  630. esac
  631. # Accept the important Cygnus configure options, so we can diagnose typos.
  632. case $ac_dashdash$ac_option in
  633. --)
  634. ac_dashdash=yes ;;
  635. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  636. ac_prev=bindir ;;
  637. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  638. bindir=$ac_optarg ;;
  639. -build | --build | --buil | --bui | --bu)
  640. ac_prev=build_alias ;;
  641. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  642. build_alias=$ac_optarg ;;
  643. -cache-file | --cache-file | --cache-fil | --cache-fi \
  644. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  645. ac_prev=cache_file ;;
  646. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  647. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  648. cache_file=$ac_optarg ;;
  649. --config-cache | -C)
  650. cache_file=config.cache ;;
  651. -datadir | --datadir | --datadi | --datad)
  652. ac_prev=datadir ;;
  653. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  654. datadir=$ac_optarg ;;
  655. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  656. | --dataroo | --dataro | --datar)
  657. ac_prev=datarootdir ;;
  658. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  659. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  660. datarootdir=$ac_optarg ;;
  661. -disable-* | --disable-*)
  662. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  663. # Reject names that are not valid shell variable names.
  664. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  665. as_fn_error $? "invalid feature name: $ac_useropt"
  666. ac_useropt_orig=$ac_useropt
  667. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  668. case $ac_user_opts in
  669. *"
  670. "enable_$ac_useropt"
  671. "*) ;;
  672. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  673. ac_unrecognized_sep=', ';;
  674. esac
  675. eval enable_$ac_useropt=no ;;
  676. -docdir | --docdir | --docdi | --doc | --do)
  677. ac_prev=docdir ;;
  678. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  679. docdir=$ac_optarg ;;
  680. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  681. ac_prev=dvidir ;;
  682. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  683. dvidir=$ac_optarg ;;
  684. -enable-* | --enable-*)
  685. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  686. # Reject names that are not valid shell variable names.
  687. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  688. as_fn_error $? "invalid feature name: $ac_useropt"
  689. ac_useropt_orig=$ac_useropt
  690. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  691. case $ac_user_opts in
  692. *"
  693. "enable_$ac_useropt"
  694. "*) ;;
  695. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  696. ac_unrecognized_sep=', ';;
  697. esac
  698. eval enable_$ac_useropt=\$ac_optarg ;;
  699. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  700. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  701. | --exec | --exe | --ex)
  702. ac_prev=exec_prefix ;;
  703. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  704. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  705. | --exec=* | --exe=* | --ex=*)
  706. exec_prefix=$ac_optarg ;;
  707. -gas | --gas | --ga | --g)
  708. # Obsolete; use --with-gas.
  709. with_gas=yes ;;
  710. -help | --help | --hel | --he | -h)
  711. ac_init_help=long ;;
  712. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  713. ac_init_help=recursive ;;
  714. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  715. ac_init_help=short ;;
  716. -host | --host | --hos | --ho)
  717. ac_prev=host_alias ;;
  718. -host=* | --host=* | --hos=* | --ho=*)
  719. host_alias=$ac_optarg ;;
  720. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  721. ac_prev=htmldir ;;
  722. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  723. | --ht=*)
  724. htmldir=$ac_optarg ;;
  725. -includedir | --includedir | --includedi | --included | --include \
  726. | --includ | --inclu | --incl | --inc)
  727. ac_prev=includedir ;;
  728. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  729. | --includ=* | --inclu=* | --incl=* | --inc=*)
  730. includedir=$ac_optarg ;;
  731. -infodir | --infodir | --infodi | --infod | --info | --inf)
  732. ac_prev=infodir ;;
  733. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  734. infodir=$ac_optarg ;;
  735. -libdir | --libdir | --libdi | --libd)
  736. ac_prev=libdir ;;
  737. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  738. libdir=$ac_optarg ;;
  739. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  740. | --libexe | --libex | --libe)
  741. ac_prev=libexecdir ;;
  742. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  743. | --libexe=* | --libex=* | --libe=*)
  744. libexecdir=$ac_optarg ;;
  745. -localedir | --localedir | --localedi | --localed | --locale)
  746. ac_prev=localedir ;;
  747. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  748. localedir=$ac_optarg ;;
  749. -localstatedir | --localstatedir | --localstatedi | --localstated \
  750. | --localstate | --localstat | --localsta | --localst | --locals)
  751. ac_prev=localstatedir ;;
  752. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  753. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  754. localstatedir=$ac_optarg ;;
  755. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  756. ac_prev=mandir ;;
  757. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  758. mandir=$ac_optarg ;;
  759. -nfp | --nfp | --nf)
  760. # Obsolete; use --without-fp.
  761. with_fp=no ;;
  762. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  763. | --no-cr | --no-c | -n)
  764. no_create=yes ;;
  765. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  766. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  767. no_recursion=yes ;;
  768. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  769. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  770. | --oldin | --oldi | --old | --ol | --o)
  771. ac_prev=oldincludedir ;;
  772. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  773. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  774. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  775. oldincludedir=$ac_optarg ;;
  776. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  777. ac_prev=prefix ;;
  778. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  779. prefix=$ac_optarg ;;
  780. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  781. | --program-pre | --program-pr | --program-p)
  782. ac_prev=program_prefix ;;
  783. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  784. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  785. program_prefix=$ac_optarg ;;
  786. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  787. | --program-suf | --program-su | --program-s)
  788. ac_prev=program_suffix ;;
  789. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  790. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  791. program_suffix=$ac_optarg ;;
  792. -program-transform-name | --program-transform-name \
  793. | --program-transform-nam | --program-transform-na \
  794. | --program-transform-n | --program-transform- \
  795. | --program-transform | --program-transfor \
  796. | --program-transfo | --program-transf \
  797. | --program-trans | --program-tran \
  798. | --progr-tra | --program-tr | --program-t)
  799. ac_prev=program_transform_name ;;
  800. -program-transform-name=* | --program-transform-name=* \
  801. | --program-transform-nam=* | --program-transform-na=* \
  802. | --program-transform-n=* | --program-transform-=* \
  803. | --program-transform=* | --program-transfor=* \
  804. | --program-transfo=* | --program-transf=* \
  805. | --program-trans=* | --program-tran=* \
  806. | --progr-tra=* | --program-tr=* | --program-t=*)
  807. program_transform_name=$ac_optarg ;;
  808. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  809. ac_prev=pdfdir ;;
  810. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  811. pdfdir=$ac_optarg ;;
  812. -psdir | --psdir | --psdi | --psd | --ps)
  813. ac_prev=psdir ;;
  814. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  815. psdir=$ac_optarg ;;
  816. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  817. | -silent | --silent | --silen | --sile | --sil)
  818. silent=yes ;;
  819. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  820. ac_prev=sbindir ;;
  821. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  822. | --sbi=* | --sb=*)
  823. sbindir=$ac_optarg ;;
  824. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  825. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  826. | --sharedst | --shareds | --shared | --share | --shar \
  827. | --sha | --sh)
  828. ac_prev=sharedstatedir ;;
  829. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  830. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  831. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  832. | --sha=* | --sh=*)
  833. sharedstatedir=$ac_optarg ;;
  834. -site | --site | --sit)
  835. ac_prev=site ;;
  836. -site=* | --site=* | --sit=*)
  837. site=$ac_optarg ;;
  838. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  839. ac_prev=srcdir ;;
  840. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  841. srcdir=$ac_optarg ;;
  842. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  843. | --syscon | --sysco | --sysc | --sys | --sy)
  844. ac_prev=sysconfdir ;;
  845. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  846. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  847. sysconfdir=$ac_optarg ;;
  848. -target | --target | --targe | --targ | --tar | --ta | --t)
  849. ac_prev=target_alias ;;
  850. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  851. target_alias=$ac_optarg ;;
  852. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  853. verbose=yes ;;
  854. -version | --version | --versio | --versi | --vers | -V)
  855. ac_init_version=: ;;
  856. -with-* | --with-*)
  857. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  858. # Reject names that are not valid shell variable names.
  859. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  860. as_fn_error $? "invalid package name: $ac_useropt"
  861. ac_useropt_orig=$ac_useropt
  862. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  863. case $ac_user_opts in
  864. *"
  865. "with_$ac_useropt"
  866. "*) ;;
  867. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  868. ac_unrecognized_sep=', ';;
  869. esac
  870. eval with_$ac_useropt=\$ac_optarg ;;
  871. -without-* | --without-*)
  872. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  873. # Reject names that are not valid shell variable names.
  874. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  875. as_fn_error $? "invalid package name: $ac_useropt"
  876. ac_useropt_orig=$ac_useropt
  877. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  878. case $ac_user_opts in
  879. *"
  880. "with_$ac_useropt"
  881. "*) ;;
  882. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  883. ac_unrecognized_sep=', ';;
  884. esac
  885. eval with_$ac_useropt=no ;;
  886. --x)
  887. # Obsolete; use --with-x.
  888. with_x=yes ;;
  889. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  890. | --x-incl | --x-inc | --x-in | --x-i)
  891. ac_prev=x_includes ;;
  892. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  893. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  894. x_includes=$ac_optarg ;;
  895. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  896. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  897. ac_prev=x_libraries ;;
  898. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  899. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  900. x_libraries=$ac_optarg ;;
  901. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  902. Try \`$0 --help' for more information"
  903. ;;
  904. *=*)
  905. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  906. # Reject names that are not valid shell variable names.
  907. case $ac_envvar in #(
  908. '' | [0-9]* | *[!_$as_cr_alnum]* )
  909. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  910. esac
  911. eval $ac_envvar=\$ac_optarg
  912. export $ac_envvar ;;
  913. *)
  914. # FIXME: should be removed in autoconf 3.0.
  915. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  916. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  917. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  918. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  919. ;;
  920. esac
  921. done
  922. if test -n "$ac_prev"; then
  923. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  924. as_fn_error $? "missing argument to $ac_option"
  925. fi
  926. if test -n "$ac_unrecognized_opts"; then
  927. case $enable_option_checking in
  928. no) ;;
  929. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  930. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  931. esac
  932. fi
  933. # Check all directory arguments for consistency.
  934. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  935. datadir sysconfdir sharedstatedir localstatedir includedir \
  936. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  937. libdir localedir mandir
  938. do
  939. eval ac_val=\$$ac_var
  940. # Remove trailing slashes.
  941. case $ac_val in
  942. */ )
  943. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  944. eval $ac_var=\$ac_val;;
  945. esac
  946. # Be sure to have absolute directory names.
  947. case $ac_val in
  948. [\\/$]* | ?:[\\/]* ) continue;;
  949. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  950. esac
  951. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  952. done
  953. # There might be people who depend on the old broken behavior: `$host'
  954. # used to hold the argument of --host etc.
  955. # FIXME: To remove some day.
  956. build=$build_alias
  957. host=$host_alias
  958. target=$target_alias
  959. # FIXME: To remove some day.
  960. if test "x$host_alias" != x; then
  961. if test "x$build_alias" = x; then
  962. cross_compiling=maybe
  963. $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  964. If a cross compiler is detected then cross compile mode will be used" >&2
  965. elif test "x$build_alias" != "x$host_alias"; then
  966. cross_compiling=yes
  967. fi
  968. fi
  969. ac_tool_prefix=
  970. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  971. test "$silent" = yes && exec 6>/dev/null
  972. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  973. ac_ls_di=`ls -di .` &&
  974. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  975. as_fn_error $? "working directory cannot be determined"
  976. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  977. as_fn_error $? "pwd does not report name of working directory"
  978. # Find the source files, if location was not specified.
  979. if test -z "$srcdir"; then
  980. ac_srcdir_defaulted=yes
  981. # Try the directory containing this script, then the parent directory.
  982. ac_confdir=`$as_dirname -- "$as_myself" ||
  983. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  984. X"$as_myself" : 'X\(//\)[^/]' \| \
  985. X"$as_myself" : 'X\(//\)$' \| \
  986. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  987. $as_echo X"$as_myself" |
  988. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  989. s//\1/
  990. q
  991. }
  992. /^X\(\/\/\)[^/].*/{
  993. s//\1/
  994. q
  995. }
  996. /^X\(\/\/\)$/{
  997. s//\1/
  998. q
  999. }
  1000. /^X\(\/\).*/{
  1001. s//\1/
  1002. q
  1003. }
  1004. s/.*/./; q'`
  1005. srcdir=$ac_confdir
  1006. if test ! -r "$srcdir/$ac_unique_file"; then
  1007. srcdir=..
  1008. fi
  1009. else
  1010. ac_srcdir_defaulted=no
  1011. fi
  1012. if test ! -r "$srcdir/$ac_unique_file"; then
  1013. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1014. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1015. fi
  1016. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1017. ac_abs_confdir=`(
  1018. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1019. pwd)`
  1020. # When building in place, set srcdir=.
  1021. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1022. srcdir=.
  1023. fi
  1024. # Remove unnecessary trailing slashes from srcdir.
  1025. # Double slashes in file names in object file debugging info
  1026. # mess up M-x gdb in Emacs.
  1027. case $srcdir in
  1028. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1029. esac
  1030. for ac_var in $ac_precious_vars; do
  1031. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1032. eval ac_env_${ac_var}_value=\$${ac_var}
  1033. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1034. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1035. done
  1036. #
  1037. # Report the --help message.
  1038. #
  1039. if test "$ac_init_help" = "long"; then
  1040. # Omit some internal or obsolete options to make the list less imposing.
  1041. # This message is too long to be a string in the A/UX 3.1 sh.
  1042. cat <<_ACEOF
  1043. \`configure' configures libPolyCore 0.8.2 to adapt to many kinds of systems.
  1044. Usage: $0 [OPTION]... [VAR=VALUE]...
  1045. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1046. VAR=VALUE. See below for descriptions of some of the useful variables.
  1047. Defaults for the options are specified in brackets.
  1048. Configuration:
  1049. -h, --help display this help and exit
  1050. --help=short display options specific to this package
  1051. --help=recursive display the short help of all the included packages
  1052. -V, --version display version information and exit
  1053. -q, --quiet, --silent do not print \`checking ...' messages
  1054. --cache-file=FILE cache test results in FILE [disabled]
  1055. -C, --config-cache alias for \`--cache-file=config.cache'
  1056. -n, --no-create do not create output files
  1057. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1058. Installation directories:
  1059. --prefix=PREFIX install architecture-independent files in PREFIX
  1060. @<:@@S|@ac_default_prefix@:>@
  1061. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1062. @<:@PREFIX@:>@
  1063. By default, \`make install' will install all the files in
  1064. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1065. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1066. for instance \`--prefix=\$HOME'.
  1067. For better control, use the options below.
  1068. Fine tuning of the installation directories:
  1069. --bindir=DIR user executables [EPREFIX/bin]
  1070. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1071. --libexecdir=DIR program executables [EPREFIX/libexec]
  1072. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1073. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1074. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1075. --libdir=DIR object code libraries [EPREFIX/lib]
  1076. --includedir=DIR C header files [PREFIX/include]
  1077. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1078. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1079. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1080. --infodir=DIR info documentation [DATAROOTDIR/info]
  1081. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1082. --mandir=DIR man documentation [DATAROOTDIR/man]
  1083. --docdir=DIR documentation root @<:@DATAROOTDIR/doc/libpolycore@:>@
  1084. --htmldir=DIR html documentation [DOCDIR]
  1085. --dvidir=DIR dvi documentation [DOCDIR]
  1086. --pdfdir=DIR pdf documentation [DOCDIR]
  1087. --psdir=DIR ps documentation [DOCDIR]
  1088. _ACEOF
  1089. cat <<\_ACEOF
  1090. _ACEOF
  1091. fi
  1092. if test -n "$ac_init_help"; then
  1093. case $ac_init_help in
  1094. short | recursive ) echo "Configuration of libPolyCore 0.8.2:";;
  1095. esac
  1096. cat <<\_ACEOF
  1097. Some influential environment variables:
  1098. CC C compiler command
  1099. CFLAGS C compiler flags
  1100. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1101. nonstandard directory <lib dir>
  1102. LIBS libraries to pass to the linker, e.g. -l<library>
  1103. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1104. you have headers in a nonstandard directory <include dir>
  1105. Use these variables to override the choices made by `configure' or to help
  1106. it to find libraries and programs with nonstandard names/locations.
  1107. Report bugs to <[email protected]>.
  1108. _ACEOF
  1109. ac_status=$?
  1110. fi
  1111. if test "$ac_init_help" = "recursive"; then
  1112. # If there are subdirs, report their specific --help.
  1113. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1114. test -d "$ac_dir" ||
  1115. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1116. continue
  1117. ac_builddir=.
  1118. case "$ac_dir" in
  1119. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1120. *)
  1121. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1122. # A ".." for each directory in $ac_dir_suffix.
  1123. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1124. case $ac_top_builddir_sub in
  1125. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1126. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1127. esac ;;
  1128. esac
  1129. ac_abs_top_builddir=$ac_pwd
  1130. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1131. # for backward compatibility:
  1132. ac_top_builddir=$ac_top_build_prefix
  1133. case $srcdir in
  1134. .) # We are building in place.
  1135. ac_srcdir=.
  1136. ac_top_srcdir=$ac_top_builddir_sub
  1137. ac_abs_top_srcdir=$ac_pwd ;;
  1138. [\\/]* | ?:[\\/]* ) # Absolute name.
  1139. ac_srcdir=$srcdir$ac_dir_suffix;
  1140. ac_top_srcdir=$srcdir
  1141. ac_abs_top_srcdir=$srcdir ;;
  1142. *) # Relative name.
  1143. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1144. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1145. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1146. esac
  1147. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1148. cd "$ac_dir" || { ac_status=$?; continue; }
  1149. # Check for guested configure.
  1150. if test -f "$ac_srcdir/configure.gnu"; then
  1151. echo &&
  1152. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1153. elif test -f "$ac_srcdir/configure"; then
  1154. echo &&
  1155. $SHELL "$ac_srcdir/configure" --help=recursive
  1156. else
  1157. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1158. fi || ac_status=$?
  1159. cd "$ac_pwd" || { ac_status=$?; break; }
  1160. done
  1161. fi
  1162. test -n "$ac_init_help" && exit $ac_status
  1163. if $ac_init_version; then
  1164. cat <<\_ACEOF
  1165. libPolyCore configure 0.8.2
  1166. generated by GNU Autoconf 2.67
  1167. Copyright (C) 2010 Free Software Foundation, Inc.
  1168. This configure script is free software; the Free Software Foundation
  1169. gives unlimited permission to copy, distribute and modify it.
  1170. _ACEOF
  1171. exit
  1172. fi
  1173. ## ------------------------ ##
  1174. ## Autoconf initialization. ##
  1175. ## ------------------------ ##
  1176. @%:@ ac_fn_c_try_compile LINENO
  1177. @%:@ --------------------------
  1178. @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  1179. ac_fn_c_try_compile ()
  1180. {
  1181. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1182. rm -f conftest.$ac_objext
  1183. if { { ac_try="$ac_compile"
  1184. case "(($ac_try" in
  1185. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1186. *) ac_try_echo=$ac_try;;
  1187. esac
  1188. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1189. $as_echo "$ac_try_echo"; } >&5
  1190. (eval "$ac_compile") 2>conftest.err
  1191. ac_status=$?
  1192. if test -s conftest.err; then
  1193. grep -v '^ *+' conftest.err >conftest.er1
  1194. cat conftest.er1 >&5
  1195. mv -f conftest.er1 conftest.err
  1196. fi
  1197. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1198. test $ac_status = 0; } && {
  1199. test -z "$ac_c_werror_flag" ||
  1200. test ! -s conftest.err
  1201. } && test -s conftest.$ac_objext; then :
  1202. ac_retval=0
  1203. else
  1204. $as_echo "$as_me: failed program was:" >&5
  1205. sed 's/^/| /' conftest.$ac_ext >&5
  1206. ac_retval=1
  1207. fi
  1208. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1209. as_fn_set_status $ac_retval
  1210. } @%:@ ac_fn_c_try_compile
  1211. @%:@ ac_fn_c_try_link LINENO
  1212. @%:@ -----------------------
  1213. @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  1214. ac_fn_c_try_link ()
  1215. {
  1216. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1217. rm -f conftest.$ac_objext conftest$ac_exeext
  1218. if { { ac_try="$ac_link"
  1219. case "(($ac_try" in
  1220. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1221. *) ac_try_echo=$ac_try;;
  1222. esac
  1223. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1224. $as_echo "$ac_try_echo"; } >&5
  1225. (eval "$ac_link") 2>conftest.err
  1226. ac_status=$?
  1227. if test -s conftest.err; then
  1228. grep -v '^ *+' conftest.err >conftest.er1
  1229. cat conftest.er1 >&5
  1230. mv -f conftest.er1 conftest.err
  1231. fi
  1232. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1233. test $ac_status = 0; } && {
  1234. test -z "$ac_c_werror_flag" ||
  1235. test ! -s conftest.err
  1236. } && test -s conftest$ac_exeext && {
  1237. test "$cross_compiling" = yes ||
  1238. $as_test_x conftest$ac_exeext
  1239. }; then :
  1240. ac_retval=0
  1241. else
  1242. $as_echo "$as_me: failed program was:" >&5
  1243. sed 's/^/| /' conftest.$ac_ext >&5
  1244. ac_retval=1
  1245. fi
  1246. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1247. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1248. # interfere with the next link command; also delete a directory that is
  1249. # left behind by Apple's compiler. We do this before executing the actions.
  1250. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1251. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1252. as_fn_set_status $ac_retval
  1253. } @%:@ ac_fn_c_try_link
  1254. cat >config.log <<_ACEOF
  1255. This file contains any messages produced by compilers while
  1256. running configure, to aid debugging if configure makes a mistake.
  1257. It was created by libPolyCore $as_me 0.8.2, which was
  1258. generated by GNU Autoconf 2.67. Invocation command line was
  1259. $ $0 $@
  1260. _ACEOF
  1261. exec 5>>config.log
  1262. {
  1263. cat <<_ASUNAME
  1264. ## --------- ##
  1265. ## Platform. ##
  1266. ## --------- ##
  1267. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1268. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1269. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1270. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1271. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1272. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1273. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1274. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1275. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1276. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1277. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1278. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1279. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1280. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1281. _ASUNAME
  1282. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1283. for as_dir in $PATH
  1284. do
  1285. IFS=$as_save_IFS
  1286. test -z "$as_dir" && as_dir=.
  1287. $as_echo "PATH: $as_dir"
  1288. done
  1289. IFS=$as_save_IFS
  1290. } >&5
  1291. cat >&5 <<_ACEOF
  1292. ## ----------- ##
  1293. ## Core tests. ##
  1294. ## ----------- ##
  1295. _ACEOF
  1296. # Keep a trace of the command line.
  1297. # Strip out --no-create and --no-recursion so they do not pile up.
  1298. # Strip out --silent because we don't want to record it for future runs.
  1299. # Also quote any args containing shell meta-characters.
  1300. # Make two passes to allow for proper duplicate-argument suppression.
  1301. ac_configure_args=
  1302. ac_configure_args0=
  1303. ac_configure_args1=
  1304. ac_must_keep_next=false
  1305. for ac_pass in 1 2
  1306. do
  1307. for ac_arg
  1308. do
  1309. case $ac_arg in
  1310. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1311. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1312. | -silent | --silent | --silen | --sile | --sil)
  1313. continue ;;
  1314. *\'*)
  1315. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1316. esac
  1317. case $ac_pass in
  1318. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1319. 2)
  1320. as_fn_append ac_configure_args1 " '$ac_arg'"
  1321. if test $ac_must_keep_next = true; then
  1322. ac_must_keep_next=false # Got value, back to normal.
  1323. else
  1324. case $ac_arg in
  1325. *=* | --config-cache | -C | -disable-* | --disable-* \
  1326. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1327. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1328. | -with-* | --with-* | -without-* | --without-* | --x)
  1329. case "$ac_configure_args0 " in
  1330. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1331. esac
  1332. ;;
  1333. -* ) ac_must_keep_next=true ;;
  1334. esac
  1335. fi
  1336. as_fn_append ac_configure_args " '$ac_arg'"
  1337. ;;
  1338. esac
  1339. done
  1340. done
  1341. { ac_configure_args0=; unset ac_configure_args0;}
  1342. { ac_configure_args1=; unset ac_configure_args1;}
  1343. # When interrupted or exit'd, cleanup temporary files, and complete
  1344. # config.log. We remove comments because anyway the quotes in there
  1345. # would cause problems or look ugly.
  1346. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1347. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1348. trap 'exit_status=$?
  1349. # Save into config.log some information that might help in debugging.
  1350. {
  1351. echo
  1352. $as_echo "## ---------------- ##
  1353. ## Cache variables. ##
  1354. ## ---------------- ##"
  1355. echo
  1356. # The following way of writing the cache mishandles newlines in values,
  1357. (
  1358. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1359. eval ac_val=\$$ac_var
  1360. case $ac_val in #(
  1361. *${as_nl}*)
  1362. case $ac_var in #(
  1363. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1364. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1365. esac
  1366. case $ac_var in #(
  1367. _ | IFS | as_nl) ;; #(
  1368. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1369. *) { eval $ac_var=; unset $ac_var;} ;;
  1370. esac ;;
  1371. esac
  1372. done
  1373. (set) 2>&1 |
  1374. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1375. *${as_nl}ac_space=\ *)
  1376. sed -n \
  1377. "s/'\''/'\''\\\\'\'''\''/g;
  1378. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1379. ;; #(
  1380. *)
  1381. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1382. ;;
  1383. esac |
  1384. sort
  1385. )
  1386. echo
  1387. $as_echo "## ----------------- ##
  1388. ## Output variables. ##
  1389. ## ----------------- ##"
  1390. echo
  1391. for ac_var in $ac_subst_vars
  1392. do
  1393. eval ac_val=\$$ac_var
  1394. case $ac_val in
  1395. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1396. esac
  1397. $as_echo "$ac_var='\''$ac_val'\''"
  1398. done | sort
  1399. echo
  1400. if test -n "$ac_subst_files"; then
  1401. $as_echo "## ------------------- ##
  1402. ## File substitutions. ##
  1403. ## ------------------- ##"
  1404. echo
  1405. for ac_var in $ac_subst_files
  1406. do
  1407. eval ac_val=\$$ac_var
  1408. case $ac_val in
  1409. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1410. esac
  1411. $as_echo "$ac_var='\''$ac_val'\''"
  1412. done | sort
  1413. echo
  1414. fi
  1415. if test -s confdefs.h; then
  1416. $as_echo "## ----------- ##
  1417. ## confdefs.h. ##
  1418. ## ----------- ##"
  1419. echo
  1420. cat confdefs.h
  1421. echo
  1422. fi
  1423. test "$ac_signal" != 0 &&
  1424. $as_echo "$as_me: caught signal $ac_signal"
  1425. $as_echo "$as_me: exit $exit_status"
  1426. } >&5
  1427. rm -f core *.core core.conftest.* &&
  1428. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1429. exit $exit_status
  1430. ' 0
  1431. for ac_signal in 1 2 13 15; do
  1432. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1433. done
  1434. ac_signal=0
  1435. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1436. rm -f -r conftest* confdefs.h
  1437. $as_echo "/* confdefs.h */" > confdefs.h
  1438. # Predefined preprocessor variables.
  1439. cat >>confdefs.h <<_ACEOF
  1440. @%:@define PACKAGE_NAME "$PACKAGE_NAME"
  1441. _ACEOF
  1442. cat >>confdefs.h <<_ACEOF
  1443. @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1444. _ACEOF
  1445. cat >>confdefs.h <<_ACEOF
  1446. @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  1447. _ACEOF
  1448. cat >>confdefs.h <<_ACEOF
  1449. @%:@define PACKAGE_STRING "$PACKAGE_STRING"
  1450. _ACEOF
  1451. cat >>confdefs.h <<_ACEOF
  1452. @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1453. _ACEOF
  1454. cat >>confdefs.h <<_ACEOF
  1455. @%:@define PACKAGE_URL "$PACKAGE_URL"
  1456. _ACEOF
  1457. # Let the site file select an alternate cache file if it wants to.
  1458. # Prefer an explicitly selected file to automatically selected ones.
  1459. ac_site_file1=NONE
  1460. ac_site_file2=NONE
  1461. if test -n "$CONFIG_SITE"; then
  1462. # We do not want a PATH search for config.site.
  1463. case $CONFIG_SITE in @%:@((
  1464. -*) ac_site_file1=./$CONFIG_SITE;;
  1465. */*) ac_site_file1=$CONFIG_SITE;;
  1466. *) ac_site_file1=./$CONFIG_SITE;;
  1467. esac
  1468. elif test "x$prefix" != xNONE; then
  1469. ac_site_file1=$prefix/share/config.site
  1470. ac_site_file2=$prefix/etc/config.site
  1471. else
  1472. ac_site_file1=$ac_default_prefix/share/config.site
  1473. ac_site_file2=$ac_default_prefix/etc/config.site
  1474. fi
  1475. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1476. do
  1477. test "x$ac_site_file" = xNONE && continue
  1478. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1479. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1480. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1481. sed 's/^/| /' "$ac_site_file" >&5
  1482. . "$ac_site_file" \
  1483. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1484. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1485. as_fn_error $? "failed to load site script $ac_site_file
  1486. See \`config.log' for more details" "$LINENO" 5 ; }
  1487. fi
  1488. done
  1489. if test -r "$cache_file"; then
  1490. # Some versions of bash will fail to source /dev/null (special files
  1491. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  1492. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1493. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1494. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1495. case $cache_file in
  1496. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1497. *) . "./$cache_file";;
  1498. esac
  1499. fi
  1500. else
  1501. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1502. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1503. >$cache_file
  1504. fi
  1505. # Check that the precious variables saved in the cache have kept the same
  1506. # value.
  1507. ac_cache_corrupted=false
  1508. for ac_var in $ac_precious_vars; do
  1509. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1510. eval ac_new_set=\$ac_env_${ac_var}_set
  1511. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1512. eval ac_new_val=\$ac_env_${ac_var}_value
  1513. case $ac_old_set,$ac_new_set in
  1514. set,)
  1515. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1516. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1517. ac_cache_corrupted=: ;;
  1518. ,set)
  1519. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1520. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1521. ac_cache_corrupted=: ;;
  1522. ,);;
  1523. *)
  1524. if test "x$ac_old_val" != "x$ac_new_val"; then
  1525. # differences in whitespace do not lead to failure.
  1526. ac_old_val_w=`echo x $ac_old_val`
  1527. ac_new_val_w=`echo x $ac_new_val`
  1528. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1529. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1530. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1531. ac_cache_corrupted=:
  1532. else
  1533. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1534. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1535. eval $ac_var=\$ac_old_val
  1536. fi
  1537. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1538. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1539. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1540. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1541. fi;;
  1542. esac
  1543. # Pass precious variables to config.status.
  1544. if test "$ac_new_set" = set; then
  1545. case $ac_new_val in
  1546. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1547. *) ac_arg=$ac_var=$ac_new_val ;;
  1548. esac
  1549. case " $ac_configure_args " in
  1550. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1551. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1552. esac
  1553. fi
  1554. done
  1555. if $ac_cache_corrupted; then
  1556. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1557. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1558. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1559. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1560. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1561. fi
  1562. ## -------------------- ##
  1563. ## Main body of script. ##
  1564. ## -------------------- ##
  1565. ac_ext=c
  1566. ac_cpp='$CPP $CPPFLAGS'
  1567. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1568. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1569. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1570. ac_config_files="$ac_config_files Makefile"
  1571. AM_INIT_AUTOMAKE(libPolyCore)
  1572. # Checks for programs.
  1573. # Checks for libraries.
  1574. ac_ext=c
  1575. ac_cpp='$CPP $CPPFLAGS'
  1576. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1577. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1578. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1579. if test -n "$ac_tool_prefix"; then
  1580. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1581. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1583. $as_echo_n "checking for $ac_word... " >&6; }
  1584. if test "${ac_cv_prog_CC+set}" = set; then :
  1585. $as_echo_n "(cached) " >&6
  1586. else
  1587. if test -n "$CC"; then
  1588. ac_cv_prog_CC="$CC" # Let the user override the test.
  1589. else
  1590. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1591. for as_dir in $PATH
  1592. do
  1593. IFS=$as_save_IFS
  1594. test -z "$as_dir" && as_dir=.
  1595. for ac_exec_ext in '' $ac_executable_extensions; do
  1596. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1597. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1598. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1599. break 2
  1600. fi
  1601. done
  1602. done
  1603. IFS=$as_save_IFS
  1604. fi
  1605. fi
  1606. CC=$ac_cv_prog_CC
  1607. if test -n "$CC"; then
  1608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1609. $as_echo "$CC" >&6; }
  1610. else
  1611. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1612. $as_echo "no" >&6; }
  1613. fi
  1614. fi
  1615. if test -z "$ac_cv_prog_CC"; then
  1616. ac_ct_CC=$CC
  1617. # Extract the first word of "gcc", so it can be a program name with args.
  1618. set dummy gcc; ac_word=$2
  1619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1620. $as_echo_n "checking for $ac_word... " >&6; }
  1621. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  1622. $as_echo_n "(cached) " >&6
  1623. else
  1624. if test -n "$ac_ct_CC"; then
  1625. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1626. else
  1627. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1628. for as_dir in $PATH
  1629. do
  1630. IFS=$as_save_IFS
  1631. test -z "$as_dir" && as_dir=.
  1632. for ac_exec_ext in '' $ac_executable_extensions; do
  1633. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1634. ac_cv_prog_ac_ct_CC="gcc"
  1635. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1636. break 2
  1637. fi
  1638. done
  1639. done
  1640. IFS=$as_save_IFS
  1641. fi
  1642. fi
  1643. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1644. if test -n "$ac_ct_CC"; then
  1645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1646. $as_echo "$ac_ct_CC" >&6; }
  1647. else
  1648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1649. $as_echo "no" >&6; }
  1650. fi
  1651. if test "x$ac_ct_CC" = x; then
  1652. CC=""
  1653. else
  1654. case $cross_compiling:$ac_tool_warned in
  1655. yes:)
  1656. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1657. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1658. ac_tool_warned=yes ;;
  1659. esac
  1660. CC=$ac_ct_CC
  1661. fi
  1662. else
  1663. CC="$ac_cv_prog_CC"
  1664. fi
  1665. if test -z "$CC"; then
  1666. if test -n "$ac_tool_prefix"; then
  1667. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1668. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1669. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1670. $as_echo_n "checking for $ac_word... " >&6; }
  1671. if test "${ac_cv_prog_CC+set}" = set; then :
  1672. $as_echo_n "(cached) " >&6
  1673. else
  1674. if test -n "$CC"; then
  1675. ac_cv_prog_CC="$CC" # Let the user override the test.
  1676. else
  1677. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1678. for as_dir in $PATH
  1679. do
  1680. IFS=$as_save_IFS
  1681. test -z "$as_dir" && as_dir=.
  1682. for ac_exec_ext in '' $ac_executable_extensions; do
  1683. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1684. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1685. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1686. break 2
  1687. fi
  1688. done
  1689. done
  1690. IFS=$as_save_IFS
  1691. fi
  1692. fi
  1693. CC=$ac_cv_prog_CC
  1694. if test -n "$CC"; then
  1695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1696. $as_echo "$CC" >&6; }
  1697. else
  1698. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1699. $as_echo "no" >&6; }
  1700. fi
  1701. fi
  1702. fi
  1703. if test -z "$CC"; then
  1704. # Extract the first word of "cc", so it can be a program name with args.
  1705. set dummy cc; ac_word=$2
  1706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1707. $as_echo_n "checking for $ac_word... " >&6; }
  1708. if test "${ac_cv_prog_CC+set}" = set; then :
  1709. $as_echo_n "(cached) " >&6
  1710. else
  1711. if test -n "$CC"; then
  1712. ac_cv_prog_CC="$CC" # Let the user override the test.
  1713. else
  1714. ac_prog_rejected=no
  1715. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1716. for as_dir in $PATH
  1717. do
  1718. IFS=$as_save_IFS
  1719. test -z "$as_dir" && as_dir=.
  1720. for ac_exec_ext in '' $ac_executable_extensions; do
  1721. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1722. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1723. ac_prog_rejected=yes
  1724. continue
  1725. fi
  1726. ac_cv_prog_CC="cc"
  1727. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1728. break 2
  1729. fi
  1730. done
  1731. done
  1732. IFS=$as_save_IFS
  1733. if test $ac_prog_rejected = yes; then
  1734. # We found a bogon in the path, so make sure we never use it.
  1735. set dummy $ac_cv_prog_CC
  1736. shift
  1737. if test $@%:@ != 0; then
  1738. # We chose a different compiler from the bogus one.
  1739. # However, it has the same basename, so the bogon will be chosen
  1740. # first if we set CC to just the basename; use the full file name.
  1741. shift
  1742. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1743. fi
  1744. fi
  1745. fi
  1746. fi
  1747. CC=$ac_cv_prog_CC
  1748. if test -n "$CC"; then
  1749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1750. $as_echo "$CC" >&6; }
  1751. else
  1752. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1753. $as_echo "no" >&6; }
  1754. fi
  1755. fi
  1756. if test -z "$CC"; then
  1757. if test -n "$ac_tool_prefix"; then
  1758. for ac_prog in cl.exe
  1759. do
  1760. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1761. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1762. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1763. $as_echo_n "checking for $ac_word... " >&6; }
  1764. if test "${ac_cv_prog_CC+set}" = set; then :
  1765. $as_echo_n "(cached) " >&6
  1766. else
  1767. if test -n "$CC"; then
  1768. ac_cv_prog_CC="$CC" # Let the user override the test.
  1769. else
  1770. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1771. for as_dir in $PATH
  1772. do
  1773. IFS=$as_save_IFS
  1774. test -z "$as_dir" && as_dir=.
  1775. for ac_exec_ext in '' $ac_executable_extensions; do
  1776. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1777. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1778. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1779. break 2
  1780. fi
  1781. done
  1782. done
  1783. IFS=$as_save_IFS
  1784. fi
  1785. fi
  1786. CC=$ac_cv_prog_CC
  1787. if test -n "$CC"; then
  1788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1789. $as_echo "$CC" >&6; }
  1790. else
  1791. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1792. $as_echo "no" >&6; }
  1793. fi
  1794. test -n "$CC" && break
  1795. done
  1796. fi
  1797. if test -z "$CC"; then
  1798. ac_ct_CC=$CC
  1799. for ac_prog in cl.exe
  1800. do
  1801. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1802. set dummy $ac_prog; ac_word=$2
  1803. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1804. $as_echo_n "checking for $ac_word... " >&6; }
  1805. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  1806. $as_echo_n "(cached) " >&6
  1807. else
  1808. if test -n "$ac_ct_CC"; then
  1809. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1810. else
  1811. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1812. for as_dir in $PATH
  1813. do
  1814. IFS=$as_save_IFS
  1815. test -z "$as_dir" && as_dir=.
  1816. for ac_exec_ext in '' $ac_executable_extensions; do
  1817. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1818. ac_cv_prog_ac_ct_CC="$ac_prog"
  1819. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1820. break 2
  1821. fi
  1822. done
  1823. done
  1824. IFS=$as_save_IFS
  1825. fi
  1826. fi
  1827. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1828. if test -n "$ac_ct_CC"; then
  1829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1830. $as_echo "$ac_ct_CC" >&6; }
  1831. else
  1832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1833. $as_echo "no" >&6; }
  1834. fi
  1835. test -n "$ac_ct_CC" && break
  1836. done
  1837. if test "x$ac_ct_CC" = x; then
  1838. CC=""
  1839. else
  1840. case $cross_compiling:$ac_tool_warned in
  1841. yes:)
  1842. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1843. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1844. ac_tool_warned=yes ;;
  1845. esac
  1846. CC=$ac_ct_CC
  1847. fi
  1848. fi
  1849. fi
  1850. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1851. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1852. as_fn_error $? "no acceptable C compiler found in \$PATH
  1853. See \`config.log' for more details" "$LINENO" 5 ; }
  1854. # Provide some information about the compiler.
  1855. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  1856. set X $ac_compile
  1857. ac_compiler=$2
  1858. for ac_option in --version -v -V -qversion; do
  1859. { { ac_try="$ac_compiler $ac_option >&5"
  1860. case "(($ac_try" in
  1861. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1862. *) ac_try_echo=$ac_try;;
  1863. esac
  1864. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1865. $as_echo "$ac_try_echo"; } >&5
  1866. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  1867. ac_status=$?
  1868. if test -s conftest.err; then
  1869. sed '10a\
  1870. ... rest of stderr output deleted ...
  1871. 10q' conftest.err >conftest.er1
  1872. cat conftest.er1 >&5
  1873. fi
  1874. rm -f conftest.er1 conftest.err
  1875. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1876. test $ac_status = 0; }
  1877. done
  1878. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1879. /* end confdefs.h. */
  1880. int
  1881. main ()
  1882. {
  1883. ;
  1884. return 0;
  1885. }
  1886. _ACEOF
  1887. ac_clean_files_save=$ac_clean_files
  1888. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  1889. # Try to create an executable without -o first, disregard a.out.
  1890. # It will help us diagnose broken compilers, and finding out an intuition
  1891. # of exeext.
  1892. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  1893. $as_echo_n "checking whether the C compiler works... " >&6; }
  1894. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1895. # The possible output files:
  1896. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  1897. ac_rmfiles=
  1898. for ac_file in $ac_files
  1899. do
  1900. case $ac_file in
  1901. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1902. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1903. esac
  1904. done
  1905. rm -f $ac_rmfiles
  1906. if { { ac_try="$ac_link_default"
  1907. case "(($ac_try" in
  1908. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1909. *) ac_try_echo=$ac_try;;
  1910. esac
  1911. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1912. $as_echo "$ac_try_echo"; } >&5
  1913. (eval "$ac_link_default") 2>&5
  1914. ac_status=$?
  1915. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1916. test $ac_status = 0; }; then :
  1917. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1918. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1919. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  1920. # so that the user can short-circuit this test for compilers unknown to
  1921. # Autoconf.
  1922. for ac_file in $ac_files ''
  1923. do
  1924. test -f "$ac_file" || continue
  1925. case $ac_file in
  1926. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  1927. ;;
  1928. [ab].out )
  1929. # We found the default executable, but exeext='' is most
  1930. # certainly right.
  1931. break;;
  1932. *.* )
  1933. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1934. then :; else
  1935. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1936. fi
  1937. # We set ac_cv_exeext here because the later test for it is not
  1938. # safe: cross compilers may not add the suffix if given an `-o'
  1939. # argument, so we may need to know it at that point already.
  1940. # Even if this section looks crufty: it has the advantage of
  1941. # actually working.
  1942. break;;
  1943. * )
  1944. break;;
  1945. esac
  1946. done
  1947. test "$ac_cv_exeext" = no && ac_cv_exeext=
  1948. else
  1949. ac_file=''
  1950. fi
  1951. if test -z "$ac_file"; then :
  1952. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1953. $as_echo "no" >&6; }
  1954. $as_echo "$as_me: failed program was:" >&5
  1955. sed 's/^/| /' conftest.$ac_ext >&5
  1956. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1957. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1958. as_fn_error 77 "C compiler cannot create executables
  1959. See \`config.log' for more details" "$LINENO" 5 ; }
  1960. else
  1961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1962. $as_echo "yes" >&6; }
  1963. fi
  1964. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  1965. $as_echo_n "checking for C compiler default output file name... " >&6; }
  1966. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  1967. $as_echo "$ac_file" >&6; }
  1968. ac_exeext=$ac_cv_exeext
  1969. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  1970. ac_clean_files=$ac_clean_files_save
  1971. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  1972. $as_echo_n "checking for suffix of executables... " >&6; }
  1973. if { { ac_try="$ac_link"
  1974. case "(($ac_try" in
  1975. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1976. *) ac_try_echo=$ac_try;;
  1977. esac
  1978. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1979. $as_echo "$ac_try_echo"; } >&5
  1980. (eval "$ac_link") 2>&5
  1981. ac_status=$?
  1982. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1983. test $ac_status = 0; }; then :
  1984. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1985. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  1986. # work properly (i.e., refer to `conftest.exe'), while it won't with
  1987. # `rm'.
  1988. for ac_file in conftest.exe conftest conftest.*; do
  1989. test -f "$ac_file" || continue
  1990. case $ac_file in
  1991. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1992. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1993. break;;
  1994. * ) break;;
  1995. esac
  1996. done
  1997. else
  1998. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1999. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2000. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  2001. See \`config.log' for more details" "$LINENO" 5 ; }
  2002. fi
  2003. rm -f conftest conftest$ac_cv_exeext
  2004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2005. $as_echo "$ac_cv_exeext" >&6; }
  2006. rm -f conftest.$ac_ext
  2007. EXEEXT=$ac_cv_exeext
  2008. ac_exeext=$EXEEXT
  2009. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2010. /* end confdefs.h. */
  2011. @%:@include <stdio.h>
  2012. int
  2013. main ()
  2014. {
  2015. FILE *f = fopen ("conftest.out", "w");
  2016. return ferror (f) || fclose (f) != 0;
  2017. ;
  2018. return 0;
  2019. }
  2020. _ACEOF
  2021. ac_clean_files="$ac_clean_files conftest.out"
  2022. # Check that the compiler produces executables we can run. If not, either
  2023. # the compiler is broken, or we cross compile.
  2024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2025. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2026. if test "$cross_compiling" != yes; then
  2027. { { ac_try="$ac_link"
  2028. case "(($ac_try" in
  2029. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2030. *) ac_try_echo=$ac_try;;
  2031. esac
  2032. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2033. $as_echo "$ac_try_echo"; } >&5
  2034. (eval "$ac_link") 2>&5
  2035. ac_status=$?
  2036. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2037. test $ac_status = 0; }
  2038. if { ac_try='./conftest$ac_cv_exeext'
  2039. { { case "(($ac_try" in
  2040. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2041. *) ac_try_echo=$ac_try;;
  2042. esac
  2043. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2044. $as_echo "$ac_try_echo"; } >&5
  2045. (eval "$ac_try") 2>&5
  2046. ac_status=$?
  2047. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2048. test $ac_status = 0; }; }; then
  2049. cross_compiling=no
  2050. else
  2051. if test "$cross_compiling" = maybe; then
  2052. cross_compiling=yes
  2053. else
  2054. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2055. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2056. as_fn_error $? "cannot run C compiled programs.
  2057. If you meant to cross compile, use \`--host'.
  2058. See \`config.log' for more details" "$LINENO" 5 ; }
  2059. fi
  2060. fi
  2061. fi
  2062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2063. $as_echo "$cross_compiling" >&6; }
  2064. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  2065. ac_clean_files=$ac_clean_files_save
  2066. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2067. $as_echo_n "checking for suffix of object files... " >&6; }
  2068. if test "${ac_cv_objext+set}" = set; then :
  2069. $as_echo_n "(cached) " >&6
  2070. else
  2071. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2072. /* end confdefs.h. */
  2073. int
  2074. main ()
  2075. {
  2076. ;
  2077. return 0;
  2078. }
  2079. _ACEOF
  2080. rm -f conftest.o conftest.obj
  2081. if { { ac_try="$ac_compile"
  2082. case "(($ac_try" in
  2083. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2084. *) ac_try_echo=$ac_try;;
  2085. esac
  2086. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2087. $as_echo "$ac_try_echo"; } >&5
  2088. (eval "$ac_compile") 2>&5
  2089. ac_status=$?
  2090. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2091. test $ac_status = 0; }; then :
  2092. for ac_file in conftest.o conftest.obj conftest.*; do
  2093. test -f "$ac_file" || continue;
  2094. case $ac_file in
  2095. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2096. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2097. break;;
  2098. esac
  2099. done
  2100. else
  2101. $as_echo "$as_me: failed program was:" >&5
  2102. sed 's/^/| /' conftest.$ac_ext >&5
  2103. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2104. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2105. as_fn_error $? "cannot compute suffix of object files: cannot compile
  2106. See \`config.log' for more details" "$LINENO" 5 ; }
  2107. fi
  2108. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2109. fi
  2110. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2111. $as_echo "$ac_cv_objext" >&6; }
  2112. OBJEXT=$ac_cv_objext
  2113. ac_objext=$OBJEXT
  2114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2115. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2116. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  2117. $as_echo_n "(cached) " >&6
  2118. else
  2119. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2120. /* end confdefs.h. */
  2121. int
  2122. main ()
  2123. {
  2124. #ifndef __GNUC__
  2125. choke me
  2126. #endif
  2127. ;
  2128. return 0;
  2129. }
  2130. _ACEOF
  2131. if ac_fn_c_try_compile "$LINENO"; then :
  2132. ac_compiler_gnu=yes
  2133. else
  2134. ac_compiler_gnu=no
  2135. fi
  2136. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2137. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2138. fi
  2139. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2140. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2141. if test $ac_compiler_gnu = yes; then
  2142. GCC=yes
  2143. else
  2144. GCC=
  2145. fi
  2146. ac_test_CFLAGS=${CFLAGS+set}
  2147. ac_save_CFLAGS=$CFLAGS
  2148. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2149. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2150. if test "${ac_cv_prog_cc_g+set}" = set; then :
  2151. $as_echo_n "(cached) " >&6
  2152. else
  2153. ac_save_c_werror_flag=$ac_c_werror_flag
  2154. ac_c_werror_flag=yes
  2155. ac_cv_prog_cc_g=no
  2156. CFLAGS="-g"
  2157. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2158. /* end confdefs.h. */
  2159. int
  2160. main ()
  2161. {
  2162. ;
  2163. return 0;
  2164. }
  2165. _ACEOF
  2166. if ac_fn_c_try_compile "$LINENO"; then :
  2167. ac_cv_prog_cc_g=yes
  2168. else
  2169. CFLAGS=""
  2170. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2171. /* end confdefs.h. */
  2172. int
  2173. main ()
  2174. {
  2175. ;
  2176. return 0;
  2177. }
  2178. _ACEOF
  2179. if ac_fn_c_try_compile "$LINENO"; then :
  2180. else
  2181. ac_c_werror_flag=$ac_save_c_werror_flag
  2182. CFLAGS="-g"
  2183. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2184. /* end confdefs.h. */
  2185. int
  2186. main ()
  2187. {
  2188. ;
  2189. return 0;
  2190. }
  2191. _ACEOF
  2192. if ac_fn_c_try_compile "$LINENO"; then :
  2193. ac_cv_prog_cc_g=yes
  2194. fi
  2195. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2196. fi
  2197. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2198. fi
  2199. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2200. ac_c_werror_flag=$ac_save_c_werror_flag
  2201. fi
  2202. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  2203. $as_echo "$ac_cv_prog_cc_g" >&6; }
  2204. if test "$ac_test_CFLAGS" = set; then
  2205. CFLAGS=$ac_save_CFLAGS
  2206. elif test $ac_cv_prog_cc_g = yes; then
  2207. if test "$GCC" = yes; then
  2208. CFLAGS="-g -O2"
  2209. else
  2210. CFLAGS="-g"
  2211. fi
  2212. else
  2213. if test "$GCC" = yes; then
  2214. CFLAGS="-O2"
  2215. else
  2216. CFLAGS=
  2217. fi
  2218. fi
  2219. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  2220. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2221. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  2222. $as_echo_n "(cached) " >&6
  2223. else
  2224. ac_cv_prog_cc_c89=no
  2225. ac_save_CC=$CC
  2226. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2227. /* end confdefs.h. */
  2228. #include <stdarg.h>
  2229. #include <stdio.h>
  2230. #include <sys/types.h>
  2231. #include <sys/stat.h>
  2232. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2233. struct buf { int x; };
  2234. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2235. static char *e (p, i)
  2236. char **p;
  2237. int i;
  2238. {
  2239. return p[i];
  2240. }
  2241. static char *f (char * (*g) (char **, int), char **p, ...)
  2242. {
  2243. char *s;
  2244. va_list v;
  2245. va_start (v,p);
  2246. s = g (p, va_arg (v,int));
  2247. va_end (v);
  2248. return s;
  2249. }
  2250. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2251. function prototypes and stuff, but not '\xHH' hex character constants.
  2252. These don't provoke an error unfortunately, instead are silently treated
  2253. as 'x'. The following induces an error, until -std is added to get
  2254. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2255. array size at least. It's necessary to write '\x00'==0 to get something
  2256. that's true only with -std. */
  2257. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2258. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2259. inside strings and character constants. */
  2260. #define FOO(x) 'x'
  2261. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2262. int test (int i, double x);
  2263. struct s1 {int (*f) (int a);};
  2264. struct s2 {int (*f) (double a);};
  2265. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2266. int argc;
  2267. char **argv;
  2268. int
  2269. main ()
  2270. {
  2271. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2272. ;
  2273. return 0;
  2274. }
  2275. _ACEOF
  2276. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2277. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2278. do
  2279. CC="$ac_save_CC $ac_arg"
  2280. if ac_fn_c_try_compile "$LINENO"; then :
  2281. ac_cv_prog_cc_c89=$ac_arg
  2282. fi
  2283. rm -f core conftest.err conftest.$ac_objext
  2284. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2285. done
  2286. rm -f conftest.$ac_ext
  2287. CC=$ac_save_CC
  2288. fi
  2289. # AC_CACHE_VAL
  2290. case "x$ac_cv_prog_cc_c89" in
  2291. x)
  2292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  2293. $as_echo "none needed" >&6; } ;;
  2294. xno)
  2295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  2296. $as_echo "unsupported" >&6; } ;;
  2297. *)
  2298. CC="$CC $ac_cv_prog_cc_c89"
  2299. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  2300. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2301. esac
  2302. if test "x$ac_cv_prog_cc_c89" != xno; then :
  2303. fi
  2304. ac_ext=c
  2305. ac_cpp='$CPP $CPPFLAGS'
  2306. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2307. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2308. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2309. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in -lpng" >&5
  2310. $as_echo_n "checking for png_create_read_struct in -lpng... " >&6; }
  2311. if test "${ac_cv_lib_png_png_create_read_struct+set}" = set; then :
  2312. $as_echo_n "(cached) " >&6
  2313. else
  2314. ac_check_lib_save_LIBS=$LIBS
  2315. LIBS="-lpng $LIBS"
  2316. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2317. /* end confdefs.h. */
  2318. /* Override any GCC internal prototype to avoid an error.
  2319. Use char because int might match the return type of a GCC
  2320. builtin and then its argument prototype would still apply. */
  2321. #ifdef __cplusplus
  2322. extern "C"
  2323. #endif
  2324. char png_create_read_struct ();
  2325. int
  2326. main ()
  2327. {
  2328. return png_create_read_struct ();
  2329. ;
  2330. return 0;
  2331. }
  2332. _ACEOF
  2333. if ac_fn_c_try_link "$LINENO"; then :
  2334. ac_cv_lib_png_png_create_read_struct=yes
  2335. else
  2336. ac_cv_lib_png_png_create_read_struct=no
  2337. fi
  2338. rm -f core conftest.err conftest.$ac_objext \
  2339. conftest$ac_exeext conftest.$ac_ext
  2340. LIBS=$ac_check_lib_save_LIBS
  2341. fi
  2342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_create_read_struct" >&5
  2343. $as_echo "$ac_cv_lib_png_png_create_read_struct" >&6; }
  2344. if test "x$ac_cv_lib_png_png_create_read_struct" = x""yes; then :
  2345. cat >>confdefs.h <<_ACEOF
  2346. @%:@define HAVE_LIBPNG 1
  2347. _ACEOF
  2348. LIBS="-lpng $LIBS"
  2349. else
  2350. echo "libpng is required!"
  2351. exit -1
  2352. fi
  2353. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT_Load_Glyph in -lfreetype" >&5
  2354. $as_echo_n "checking for FT_Load_Glyph in -lfreetype... " >&6; }
  2355. if test "${ac_cv_lib_freetype_FT_Load_Glyph+set}" = set; then :
  2356. $as_echo_n "(cached) " >&6
  2357. else
  2358. ac_check_lib_save_LIBS=$LIBS
  2359. LIBS="-lfreetype $LIBS"
  2360. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2361. /* end confdefs.h. */
  2362. /* Override any GCC internal prototype to avoid an error.
  2363. Use char because int might match the return type of a GCC
  2364. builtin and then its argument prototype would still apply. */
  2365. #ifdef __cplusplus
  2366. extern "C"
  2367. #endif
  2368. char FT_Load_Glyph ();
  2369. int
  2370. main ()
  2371. {
  2372. return FT_Load_Glyph ();
  2373. ;
  2374. return 0;
  2375. }
  2376. _ACEOF
  2377. if ac_fn_c_try_link "$LINENO"; then :
  2378. ac_cv_lib_freetype_FT_Load_Glyph=yes
  2379. else
  2380. ac_cv_lib_freetype_FT_Load_Glyph=no
  2381. fi
  2382. rm -f core conftest.err conftest.$ac_objext \
  2383. conftest$ac_exeext conftest.$ac_ext
  2384. LIBS=$ac_check_lib_save_LIBS
  2385. fi
  2386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freetype_FT_Load_Glyph" >&5
  2387. $as_echo "$ac_cv_lib_freetype_FT_Load_Glyph" >&6; }
  2388. if test "x$ac_cv_lib_freetype_FT_Load_Glyph" = x""yes; then :
  2389. cat >>confdefs.h <<_ACEOF
  2390. @%:@define HAVE_LIBFREETYPE 1
  2391. _ACEOF
  2392. LIBS="-lfreetype $LIBS"
  2393. else
  2394. echo "freetype is required!"
  2395. exit -1
  2396. fi
  2397. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_info_init in -lvorbis" >&5
  2398. $as_echo_n "checking for vorbis_info_init in -lvorbis... " >&6; }
  2399. if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then :
  2400. $as_echo_n "(cached) " >&6
  2401. else
  2402. ac_check_lib_save_LIBS=$LIBS
  2403. LIBS="-lvorbis $LIBS"
  2404. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2405. /* end confdefs.h. */
  2406. /* Override any GCC internal prototype to avoid an error.
  2407. Use char because int might match the return type of a GCC
  2408. builtin and then its argument prototype would still apply. */
  2409. #ifdef __cplusplus
  2410. extern "C"
  2411. #endif
  2412. char vorbis_info_init ();
  2413. int
  2414. main ()
  2415. {
  2416. return vorbis_info_init ();
  2417. ;
  2418. return 0;
  2419. }
  2420. _ACEOF
  2421. if ac_fn_c_try_link "$LINENO"; then :
  2422. ac_cv_lib_vorbis_vorbis_info_init=yes
  2423. else
  2424. ac_cv_lib_vorbis_vorbis_info_init=no
  2425. fi
  2426. rm -f core conftest.err conftest.$ac_objext \
  2427. conftest$ac_exeext conftest.$ac_ext
  2428. LIBS=$ac_check_lib_save_LIBS
  2429. fi
  2430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
  2431. $as_echo "$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
  2432. if test "x$ac_cv_lib_vorbis_vorbis_info_init" = x""yes; then :
  2433. cat >>confdefs.h <<_ACEOF
  2434. @%:@define HAVE_LIBVORBIS 1
  2435. _ACEOF
  2436. LIBS="-lvorbis $LIBS"
  2437. else
  2438. echo "libvorbis is required!"
  2439. exit -1
  2440. fi
  2441. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ov_open_callbacks in -lvorbisfile" >&5
  2442. $as_echo_n "checking for ov_open_callbacks in -lvorbisfile... " >&6; }
  2443. if test "${ac_cv_lib_vorbisfile_ov_open_callbacks+set}" = set; then :
  2444. $as_echo_n "(cached) " >&6
  2445. else
  2446. ac_check_lib_save_LIBS=$LIBS
  2447. LIBS="-lvorbisfile $LIBS"
  2448. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2449. /* end confdefs.h. */
  2450. /* Override any GCC internal prototype to avoid an error.
  2451. Use char because int might match the return type of a GCC
  2452. builtin and then its argument prototype would still apply. */
  2453. #ifdef __cplusplus
  2454. extern "C"
  2455. #endif
  2456. char ov_open_callbacks ();
  2457. int
  2458. main ()
  2459. {
  2460. return ov_open_callbacks ();
  2461. ;
  2462. return 0;
  2463. }
  2464. _ACEOF
  2465. if ac_fn_c_try_link "$LINENO"; then :
  2466. ac_cv_lib_vorbisfile_ov_open_callbacks=yes
  2467. else
  2468. ac_cv_lib_vorbisfile_ov_open_callbacks=no
  2469. fi
  2470. rm -f core conftest.err conftest.$ac_objext \
  2471. conftest$ac_exeext conftest.$ac_ext
  2472. LIBS=$ac_check_lib_save_LIBS
  2473. fi
  2474. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisfile_ov_open_callbacks" >&5
  2475. $as_echo "$ac_cv_lib_vorbisfile_ov_open_callbacks" >&6; }
  2476. if test "x$ac_cv_lib_vorbisfile_ov_open_callbacks" = x""yes; then :
  2477. cat >>confdefs.h <<_ACEOF
  2478. @%:@define HAVE_LIBVORBISFILE 1
  2479. _ACEOF
  2480. LIBS="-lvorbisfile $LIBS"
  2481. else
  2482. echo "libpng is required!"
  2483. exit -1
  2484. fi
  2485. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PHYSFS_init in -lphysfs" >&5
  2486. $as_echo_n "checking for PHYSFS_init in -lphysfs... " >&6; }
  2487. if test "${ac_cv_lib_physfs_PHYSFS_init+set}" = set; then :
  2488. $as_echo_n "(cached) " >&6
  2489. else
  2490. ac_check_lib_save_LIBS=$LIBS
  2491. LIBS="-lphysfs $LIBS"
  2492. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2493. /* end confdefs.h. */
  2494. /* Override any GCC internal prototype to avoid an error.
  2495. Use char because int might match the return type of a GCC
  2496. builtin and then its argument prototype would still apply. */
  2497. #ifdef __cplusplus
  2498. extern "C"
  2499. #endif
  2500. char PHYSFS_init ();
  2501. int
  2502. main ()
  2503. {
  2504. return PHYSFS_init ();
  2505. ;
  2506. return 0;
  2507. }
  2508. _ACEOF
  2509. if ac_fn_c_try_link "$LINENO"; then :
  2510. ac_cv_lib_physfs_PHYSFS_init=yes
  2511. else
  2512. ac_cv_lib_physfs_PHYSFS_init=no
  2513. fi
  2514. rm -f core conftest.err conftest.$ac_objext \
  2515. conftest$ac_exeext conftest.$ac_ext
  2516. LIBS=$ac_check_lib_save_LIBS
  2517. fi
  2518. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_physfs_PHYSFS_init" >&5
  2519. $as_echo "$ac_cv_lib_physfs_PHYSFS_init" >&6; }
  2520. if test "x$ac_cv_lib_physfs_PHYSFS_init" = x""yes; then :
  2521. cat >>confdefs.h <<_ACEOF
  2522. @%:@define HAVE_LIBPHYSFS 1
  2523. _ACEOF
  2524. LIBS="-lphysfs $LIBS"
  2525. else
  2526. echo "physfs is required!"
  2527. exit -1
  2528. fi
  2529. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alGenSources in -lopenal" >&5
  2530. $as_echo_n "checking for alGenSources in -lopenal... " >&6; }
  2531. if test "${ac_cv_lib_openal_alGenSources+set}" = set; then :
  2532. $as_echo_n "(cached) " >&6
  2533. else
  2534. ac_check_lib_save_LIBS=$LIBS
  2535. LIBS="-lopenal $LIBS"
  2536. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2537. /* end confdefs.h. */
  2538. /* Override any GCC internal prototype to avoid an error.
  2539. Use char because int might match the return type of a GCC
  2540. builtin and then its argument prototype would still apply. */
  2541. #ifdef __cplusplus
  2542. extern "C"
  2543. #endif
  2544. char alGenSources ();
  2545. int
  2546. main ()
  2547. {
  2548. return alGenSources ();
  2549. ;
  2550. return 0;
  2551. }
  2552. _ACEOF
  2553. if ac_fn_c_try_link "$LINENO"; then :
  2554. ac_cv_lib_openal_alGenSources=yes
  2555. else
  2556. ac_cv_lib_openal_alGenSources=no
  2557. fi
  2558. rm -f core conftest.err conftest.$ac_objext \
  2559. conftest$ac_exeext conftest.$ac_ext
  2560. LIBS=$ac_check_lib_save_LIBS
  2561. fi
  2562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openal_alGenSources" >&5
  2563. $as_echo "$ac_cv_lib_openal_alGenSources" >&6; }
  2564. if test "x$ac_cv_lib_openal_alGenSources" = x""yes; then :
  2565. cat >>confdefs.h <<_ACEOF
  2566. @%:@define HAVE_LIBOPENAL 1
  2567. _ACEOF
  2568. LIBS="-lopenal $LIBS"
  2569. else
  2570. echo "openal is required!"
  2571. exit -1
  2572. fi
  2573. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glutMainLoop in -lglut" >&5
  2574. $as_echo_n "checking for glutMainLoop in -lglut... " >&6; }
  2575. if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then :
  2576. $as_echo_n "(cached) " >&6
  2577. else
  2578. ac_check_lib_save_LIBS=$LIBS
  2579. LIBS="-lglut $LIBS"
  2580. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2581. /* end confdefs.h. */
  2582. /* Override any GCC internal prototype to avoid an error.
  2583. Use char because int might match the return type of a GCC
  2584. builtin and then its argument prototype would still apply. */
  2585. #ifdef __cplusplus
  2586. extern "C"
  2587. #endif
  2588. char glutMainLoop ();
  2589. int
  2590. main ()
  2591. {
  2592. return glutMainLoop ();
  2593. ;
  2594. return 0;
  2595. }
  2596. _ACEOF
  2597. if ac_fn_c_try_link "$LINENO"; then :
  2598. ac_cv_lib_glut_glutMainLoop=yes
  2599. else
  2600. ac_cv_lib_glut_glutMainLoop=no
  2601. fi
  2602. rm -f core conftest.err conftest.$ac_objext \
  2603. conftest$ac_exeext conftest.$ac_ext
  2604. LIBS=$ac_check_lib_save_LIBS
  2605. fi
  2606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glut_glutMainLoop" >&5
  2607. $as_echo "$ac_cv_lib_glut_glutMainLoop" >&6; }
  2608. if test "x$ac_cv_lib_glut_glutMainLoop" = x""yes; then :
  2609. cat >>confdefs.h <<_ACEOF
  2610. @%:@define HAVE_LIBGLUT 1
  2611. _ACEOF
  2612. LIBS="-lglut $LIBS"
  2613. else
  2614. echo "glut is required!"
  2615. exit -1
  2616. fi
  2617. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
  2618. $as_echo_n "checking for glBegin in -lGL... " >&6; }
  2619. if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
  2620. $as_echo_n "(cached) " >&6
  2621. else
  2622. ac_check_lib_save_LIBS=$LIBS
  2623. LIBS="-lGL $LIBS"
  2624. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2625. /* end confdefs.h. */
  2626. /* Override any GCC internal prototype to avoid an error.
  2627. Use char because int might match the return type of a GCC
  2628. builtin and then its argument prototype would still apply. */
  2629. #ifdef __cplusplus
  2630. extern "C"
  2631. #endif
  2632. char glBegin ();
  2633. int
  2634. main ()
  2635. {
  2636. return glBegin ();
  2637. ;
  2638. return 0;
  2639. }
  2640. _ACEOF
  2641. if ac_fn_c_try_link "$LINENO"; then :
  2642. ac_cv_lib_GL_glBegin=yes
  2643. else
  2644. ac_cv_lib_GL_glBegin=no
  2645. fi
  2646. rm -f core conftest.err conftest.$ac_objext \
  2647. conftest$ac_exeext conftest.$ac_ext
  2648. LIBS=$ac_check_lib_save_LIBS
  2649. fi
  2650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
  2651. $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
  2652. if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
  2653. cat >>confdefs.h <<_ACEOF
  2654. @%:@define HAVE_LIBGL 1
  2655. _ACEOF
  2656. LIBS="-lGL $LIBS"
  2657. else
  2658. echo "OpenGL is required!"
  2659. exit -1
  2660. fi
  2661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluGetString in -lGLU" >&5
  2662. $as_echo_n "checking for gluGetString in -lGLU... " >&6; }
  2663. if test "${ac_cv_lib_GLU_gluGetString+set}" = set; then :
  2664. $as_echo_n "(cached) " >&6
  2665. else
  2666. ac_check_lib_save_LIBS=$LIBS
  2667. LIBS="-lGLU $LIBS"
  2668. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2669. /* end confdefs.h. */
  2670. /* Override any GCC internal prototype to avoid an error.
  2671. Use char because int might match the return type of a GCC
  2672. builtin and then its argument prototype would still apply. */
  2673. #ifdef __cplusplus
  2674. extern "C"
  2675. #endif
  2676. char gluGetString ();
  2677. int
  2678. main ()
  2679. {
  2680. return gluGetString ();
  2681. ;
  2682. return 0;
  2683. }
  2684. _ACEOF
  2685. if ac_fn_c_try_link "$LINENO"; then :
  2686. ac_cv_lib_GLU_gluGetString=yes
  2687. else
  2688. ac_cv_lib_GLU_gluGetString=no
  2689. fi
  2690. rm -f core conftest.err conftest.$ac_objext \
  2691. conftest$ac_exeext conftest.$ac_ext
  2692. LIBS=$ac_check_lib_save_LIBS
  2693. fi
  2694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluGetString" >&5
  2695. $as_echo "$ac_cv_lib_GLU_gluGetString" >&6; }
  2696. if test "x$ac_cv_lib_GLU_gluGetString" = x""yes; then :
  2697. cat >>confdefs.h <<_ACEOF
  2698. @%:@define HAVE_LIBGLU 1
  2699. _ACEOF
  2700. LIBS="-lGLU $LIBS"
  2701. else
  2702. echo "glu is required!"
  2703. exit -1
  2704. fi
  2705. # Checks for header files.
  2706. # Checks for typedefs, structures, and compiler characteristics.
  2707. # Checks for library functions.
  2708. cat >confcache <<\_ACEOF
  2709. # This file is a shell script that caches the results of configure
  2710. # tests run on this system so they can be shared between configure
  2711. # scripts and configure runs, see configure's option --config-cache.
  2712. # It is not useful on other systems. If it contains results you don't
  2713. # want to keep, you may remove or edit it.
  2714. #
  2715. # config.status only pays attention to the cache file if you give it
  2716. # the --recheck option to rerun configure.
  2717. #
  2718. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  2719. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  2720. # following values.
  2721. _ACEOF
  2722. # The following way of writing the cache mishandles newlines in values,
  2723. # but we know of no workaround that is simple, portable, and efficient.
  2724. # So, we kill variables containing newlines.
  2725. # Ultrix sh set writes to stderr and can't be redirected directly,
  2726. # and sets the high bit in the cache file unless we assign to the vars.
  2727. (
  2728. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  2729. eval ac_val=\$$ac_var
  2730. case $ac_val in #(
  2731. *${as_nl}*)
  2732. case $ac_var in #(
  2733. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2734. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2735. esac
  2736. case $ac_var in #(
  2737. _ | IFS | as_nl) ;; #(
  2738. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2739. *) { eval $ac_var=; unset $ac_var;} ;;
  2740. esac ;;
  2741. esac
  2742. done
  2743. (set) 2>&1 |
  2744. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  2745. *${as_nl}ac_space=\ *)
  2746. # `set' does not quote correctly, so add quotes: double-quote
  2747. # substitution turns \\\\ into \\, and sed turns \\ into \.
  2748. sed -n \
  2749. "s/'/'\\\\''/g;
  2750. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  2751. ;; #(
  2752. *)
  2753. # `set' quotes correctly as required by POSIX, so do not add quotes.
  2754. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2755. ;;
  2756. esac |
  2757. sort
  2758. ) |
  2759. sed '
  2760. /^ac_cv_env_/b end
  2761. t clear
  2762. :clear
  2763. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  2764. t end
  2765. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  2766. :end' >>confcache
  2767. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  2768. if test -w "$cache_file"; then
  2769. test "x$cache_file" != "x/dev/null" &&
  2770. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  2771. $as_echo "$as_me: updating cache $cache_file" >&6;}
  2772. cat confcache >$cache_file
  2773. else
  2774. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  2775. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  2776. fi
  2777. fi
  2778. rm -f confcache
  2779. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2780. # Let make expand exec_prefix.
  2781. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2782. # Transform confdefs.h into DEFS.
  2783. # Protect against shell expansion while executing Makefile rules.
  2784. # Protect against Makefile macro expansion.
  2785. #
  2786. # If the first sed substitution is executed (which looks for macros that
  2787. # take arguments), then branch to the quote section. Otherwise,
  2788. # look for a macro that doesn't take arguments.
  2789. ac_script='
  2790. :mline
  2791. /\\$/{
  2792. N
  2793. s,\\\n,,
  2794. b mline
  2795. }
  2796. t clear
  2797. :clear
  2798. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  2799. t quote
  2800. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  2801. t quote
  2802. b any
  2803. :quote
  2804. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  2805. s/\[/\\&/g
  2806. s/\]/\\&/g
  2807. s/\$/$$/g
  2808. H
  2809. :any
  2810. ${
  2811. g
  2812. s/^\n//
  2813. s/\n/ /g
  2814. p
  2815. }
  2816. '
  2817. DEFS=`sed -n "$ac_script" confdefs.h`
  2818. ac_libobjs=
  2819. ac_ltlibobjs=
  2820. U=
  2821. for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  2822. # 1. Remove the extension, and $U if already installed.
  2823. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  2824. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  2825. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  2826. # will be set to the directory where LIBOBJS objects are built.
  2827. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  2828. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  2829. done
  2830. LIB@&t@OBJS=$ac_libobjs
  2831. LTLIBOBJS=$ac_ltlibobjs
  2832. : ${CONFIG_STATUS=./config.status}
  2833. ac_write_fail=0
  2834. ac_clean_files_save=$ac_clean_files
  2835. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  2836. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  2837. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  2838. as_write_fail=0
  2839. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  2840. #! $SHELL
  2841. # Generated by $as_me.
  2842. # Run this file to recreate the current configuration.
  2843. # Compiler output produced by configure, useful for debugging
  2844. # configure, is in config.log if it exists.
  2845. debug=false
  2846. ac_cs_recheck=false
  2847. ac_cs_silent=false
  2848. SHELL=\${CONFIG_SHELL-$SHELL}
  2849. export SHELL
  2850. _ASEOF
  2851. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  2852. ## -------------------- ##
  2853. ## M4sh Initialization. ##
  2854. ## -------------------- ##
  2855. # Be more Bourne compatible
  2856. DUALCASE=1; export DUALCASE # for MKS sh
  2857. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  2858. emulate sh
  2859. NULLCMD=:
  2860. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  2861. # is contrary to our usage. Disable this feature.
  2862. alias -g '${1+"$@"}'='"$@"'
  2863. setopt NO_GLOB_SUBST
  2864. else
  2865. case `(set -o) 2>/dev/null` in @%:@(
  2866. *posix*) :
  2867. set -o posix ;; @%:@(
  2868. *) :
  2869. ;;
  2870. esac
  2871. fi
  2872. as_nl='
  2873. '
  2874. export as_nl
  2875. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  2876. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  2877. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  2878. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  2879. # Prefer a ksh shell builtin over an external printf program on Solaris,
  2880. # but without wasting forks for bash or zsh.
  2881. if test -z "$BASH_VERSION$ZSH_VERSION" \
  2882. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  2883. as_echo='print -r --'
  2884. as_echo_n='print -rn --'
  2885. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  2886. as_echo='printf %s\n'
  2887. as_echo_n='printf %s'
  2888. else
  2889. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  2890. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  2891. as_echo_n='/usr/ucb/echo -n'
  2892. else
  2893. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  2894. as_echo_n_body='eval
  2895. arg=$1;
  2896. case $arg in @%:@(
  2897. *"$as_nl"*)
  2898. expr "X$arg" : "X\\(.*\\)$as_nl";
  2899. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  2900. esac;
  2901. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  2902. '
  2903. export as_echo_n_body
  2904. as_echo_n='sh -c $as_echo_n_body as_echo'
  2905. fi
  2906. export as_echo_body
  2907. as_echo='sh -c $as_echo_body as_echo'
  2908. fi
  2909. # The user is always right.
  2910. if test "${PATH_SEPARATOR+set}" != set; then
  2911. PATH_SEPARATOR=:
  2912. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  2913. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  2914. PATH_SEPARATOR=';'
  2915. }
  2916. fi
  2917. # IFS
  2918. # We need space, tab and new line, in precisely that order. Quoting is
  2919. # there to prevent editors from complaining about space-tab.
  2920. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  2921. # splitting by setting IFS to empty value.)
  2922. IFS=" "" $as_nl"
  2923. # Find who we are. Look in the path if we contain no directory separator.
  2924. case $0 in @%:@((
  2925. *[\\/]* ) as_myself=$0 ;;
  2926. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2927. for as_dir in $PATH
  2928. do
  2929. IFS=$as_save_IFS
  2930. test -z "$as_dir" && as_dir=.
  2931. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  2932. done
  2933. IFS=$as_save_IFS
  2934. ;;
  2935. esac
  2936. # We did not find ourselves, most probably we were run as `sh COMMAND'
  2937. # in which case we are not to be found in the path.
  2938. if test "x$as_myself" = x; then
  2939. as_myself=$0
  2940. fi
  2941. if test ! -f "$as_myself"; then
  2942. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  2943. exit 1
  2944. fi
  2945. # Unset variables that we do not need and which cause bugs (e.g. in
  2946. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  2947. # suppresses any "Segmentation fault" message there. '((' could
  2948. # trigger a bug in pdksh 5.2.14.
  2949. for as_var in BASH_ENV ENV MAIL MAILPATH
  2950. do eval test x\${$as_var+set} = xset \
  2951. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  2952. done
  2953. PS1='$ '
  2954. PS2='> '
  2955. PS4='+ '
  2956. # NLS nuisances.
  2957. LC_ALL=C
  2958. export LC_ALL
  2959. LANGUAGE=C
  2960. export LANGUAGE
  2961. # CDPATH.
  2962. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  2963. @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  2964. @%:@ ----------------------------------------
  2965. @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  2966. @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  2967. @%:@ script with STATUS, using 1 if that was 0.
  2968. as_fn_error ()
  2969. {
  2970. as_status=$1; test $as_status -eq 0 && as_status=1
  2971. if test "$4"; then
  2972. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2973. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  2974. fi
  2975. $as_echo "$as_me: error: $2" >&2
  2976. as_fn_exit $as_status
  2977. } @%:@ as_fn_error
  2978. @%:@ as_fn_set_status STATUS
  2979. @%:@ -----------------------
  2980. @%:@ Set @S|@? to STATUS, without forking.
  2981. as_fn_set_status ()
  2982. {
  2983. return $1
  2984. } @%:@ as_fn_set_status
  2985. @%:@ as_fn_exit STATUS
  2986. @%:@ -----------------
  2987. @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  2988. as_fn_exit ()
  2989. {
  2990. set +e
  2991. as_fn_set_status $1
  2992. exit $1
  2993. } @%:@ as_fn_exit
  2994. @%:@ as_fn_unset VAR
  2995. @%:@ ---------------
  2996. @%:@ Portably unset VAR.
  2997. as_fn_unset ()
  2998. {
  2999. { eval $1=; unset $1;}
  3000. }
  3001. as_unset=as_fn_unset
  3002. @%:@ as_fn_append VAR VALUE
  3003. @%:@ ----------------------
  3004. @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  3005. @%:@ advantage of any shell optimizations that allow amortized linear growth over
  3006. @%:@ repeated appends, instead of the typical quadratic growth present in naive
  3007. @%:@ implementations.
  3008. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  3009. eval 'as_fn_append ()
  3010. {
  3011. eval $1+=\$2
  3012. }'
  3013. else
  3014. as_fn_append ()
  3015. {
  3016. eval $1=\$$1\$2
  3017. }
  3018. fi # as_fn_append
  3019. @%:@ as_fn_arith ARG...
  3020. @%:@ ------------------
  3021. @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  3022. @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  3023. @%:@ must be portable across @S|@(()) and expr.
  3024. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  3025. eval 'as_fn_arith ()
  3026. {
  3027. as_val=$(( $* ))
  3028. }'
  3029. else
  3030. as_fn_arith ()
  3031. {
  3032. as_val=`expr "$@" || test $? -eq 1`
  3033. }
  3034. fi # as_fn_arith
  3035. if expr a : '\(a\)' >/dev/null 2>&1 &&
  3036. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  3037. as_expr=expr
  3038. else
  3039. as_expr=false
  3040. fi
  3041. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  3042. as_basename=basename
  3043. else
  3044. as_basename=false
  3045. fi
  3046. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  3047. as_dirname=dirname
  3048. else
  3049. as_dirname=false
  3050. fi
  3051. as_me=`$as_basename -- "$0" ||
  3052. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3053. X"$0" : 'X\(//\)$' \| \
  3054. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  3055. $as_echo X/"$0" |
  3056. sed '/^.*\/\([^/][^/]*\)\/*$/{
  3057. s//\1/
  3058. q
  3059. }
  3060. /^X\/\(\/\/\)$/{
  3061. s//\1/
  3062. q
  3063. }
  3064. /^X\/\(\/\).*/{
  3065. s//\1/
  3066. q
  3067. }
  3068. s/.*/./; q'`
  3069. # Avoid depending upon Character Ranges.
  3070. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3071. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3072. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3073. as_cr_digits='0123456789'
  3074. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3075. ECHO_C= ECHO_N= ECHO_T=
  3076. case `echo -n x` in @%:@(((((
  3077. -n*)
  3078. case `echo 'xy\c'` in
  3079. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  3080. xy) ECHO_C='\c';;
  3081. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  3082. ECHO_T=' ';;
  3083. esac;;
  3084. *)
  3085. ECHO_N='-n';;
  3086. esac
  3087. rm -f conf$$ conf$$.exe conf$$.file
  3088. if test -d conf$$.dir; then
  3089. rm -f conf$$.dir/conf$$.file
  3090. else
  3091. rm -f conf$$.dir
  3092. mkdir conf$$.dir 2>/dev/null
  3093. fi
  3094. if (echo >conf$$.file) 2>/dev/null; then
  3095. if ln -s conf$$.file conf$$ 2>/dev/null; then
  3096. as_ln_s='ln -s'
  3097. # ... but there are two gotchas:
  3098. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  3099. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  3100. # In both cases, we have to default to `cp -p'.
  3101. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  3102. as_ln_s='cp -p'
  3103. elif ln conf$$.file conf$$ 2>/dev/null; then
  3104. as_ln_s=ln
  3105. else
  3106. as_ln_s='cp -p'
  3107. fi
  3108. else
  3109. as_ln_s='cp -p'
  3110. fi
  3111. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  3112. rmdir conf$$.dir 2>/dev/null
  3113. @%:@ as_fn_mkdir_p
  3114. @%:@ -------------
  3115. @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  3116. as_fn_mkdir_p ()
  3117. {
  3118. case $as_dir in #(
  3119. -*) as_dir=./$as_dir;;
  3120. esac
  3121. test -d "$as_dir" || eval $as_mkdir_p || {
  3122. as_dirs=
  3123. while :; do
  3124. case $as_dir in #(
  3125. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  3126. *) as_qdir=$as_dir;;
  3127. esac
  3128. as_dirs="'$as_qdir' $as_dirs"
  3129. as_dir=`$as_dirname -- "$as_dir" ||
  3130. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3131. X"$as_dir" : 'X\(//\)[^/]' \| \
  3132. X"$as_dir" : 'X\(//\)$' \| \
  3133. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  3134. $as_echo X"$as_dir" |
  3135. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3136. s//\1/
  3137. q
  3138. }
  3139. /^X\(\/\/\)[^/].*/{
  3140. s//\1/
  3141. q
  3142. }
  3143. /^X\(\/\/\)$/{
  3144. s//\1/
  3145. q
  3146. }
  3147. /^X\(\/\).*/{
  3148. s//\1/
  3149. q
  3150. }
  3151. s/.*/./; q'`
  3152. test -d "$as_dir" && break
  3153. done
  3154. test -z "$as_dirs" || eval "mkdir $as_dirs"
  3155. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  3156. } @%:@ as_fn_mkdir_p
  3157. if mkdir -p . 2>/dev/null; then
  3158. as_mkdir_p='mkdir -p "$as_dir"'
  3159. else
  3160. test -d ./-p && rmdir ./-p
  3161. as_mkdir_p=false
  3162. fi
  3163. if test -x / >/dev/null 2>&1; then
  3164. as_test_x='test -x'
  3165. else
  3166. if ls -dL / >/dev/null 2>&1; then
  3167. as_ls_L_option=L
  3168. else
  3169. as_ls_L_option=
  3170. fi
  3171. as_test_x='
  3172. eval sh -c '\''
  3173. if test -d "$1"; then
  3174. test -d "$1/.";
  3175. else
  3176. case $1 in @%:@(
  3177. -*)set "./$1";;
  3178. esac;
  3179. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
  3180. ???[sx]*):;;*)false;;esac;fi
  3181. '\'' sh
  3182. '
  3183. fi
  3184. as_executable_p=$as_test_x
  3185. # Sed expression to map a string onto a valid CPP name.
  3186. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  3187. # Sed expression to map a string onto a valid variable name.
  3188. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  3189. exec 6>&1
  3190. ## ----------------------------------- ##
  3191. ## Main body of $CONFIG_STATUS script. ##
  3192. ## ----------------------------------- ##
  3193. _ASEOF
  3194. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  3195. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3196. # Save the log message, to keep $0 and so on meaningful, and to
  3197. # report actual input values of CONFIG_FILES etc. instead of their
  3198. # values after options handling.
  3199. ac_log="
  3200. This file was extended by libPolyCore $as_me 0.8.2, which was
  3201. generated by GNU Autoconf 2.67. Invocation command line was
  3202. CONFIG_FILES = $CONFIG_FILES
  3203. CONFIG_HEADERS = $CONFIG_HEADERS
  3204. CONFIG_LINKS = $CONFIG_LINKS
  3205. CONFIG_COMMANDS = $CONFIG_COMMANDS
  3206. $ $0 $@
  3207. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  3208. "
  3209. _ACEOF
  3210. case $ac_config_files in *"
  3211. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  3212. esac
  3213. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3214. # Files that config.status was made for.
  3215. config_files="$ac_config_files"
  3216. _ACEOF
  3217. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3218. ac_cs_usage="\
  3219. \`$as_me' instantiates files and other configuration actions
  3220. from templates according to the current configuration. Unless the files
  3221. and actions are specified as TAGs, all are instantiated by default.
  3222. Usage: $0 [OPTION]... [TAG]...
  3223. -h, --help print this help, then exit
  3224. -V, --version print version number and configuration settings, then exit
  3225. --config print configuration, then exit
  3226. -q, --quiet, --silent
  3227. do not print progress messages
  3228. -d, --debug don't remove temporary files
  3229. --recheck update $as_me by reconfiguring in the same conditions
  3230. --file=FILE[:TEMPLATE]
  3231. instantiate the configuration file FILE
  3232. Configuration files:
  3233. $config_files
  3234. Report bugs to <[email protected]>."
  3235. _ACEOF
  3236. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3237. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  3238. ac_cs_version="\\
  3239. libPolyCore config.status 0.8.2
  3240. configured by $0, generated by GNU Autoconf 2.67,
  3241. with options \\"\$ac_cs_config\\"
  3242. Copyright (C) 2010 Free Software Foundation, Inc.
  3243. This config.status script is free software; the Free Software Foundation
  3244. gives unlimited permission to copy, distribute and modify it."
  3245. ac_pwd='$ac_pwd'
  3246. srcdir='$srcdir'
  3247. test -n "\$AWK" || AWK=awk
  3248. _ACEOF
  3249. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3250. # The default lists apply if the user does not specify any file.
  3251. ac_need_defaults=:
  3252. while test $# != 0
  3253. do
  3254. case $1 in
  3255. --*=?*)
  3256. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3257. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  3258. ac_shift=:
  3259. ;;
  3260. --*=)
  3261. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  3262. ac_optarg=
  3263. ac_shift=:
  3264. ;;
  3265. *)
  3266. ac_option=$1
  3267. ac_optarg=$2
  3268. ac_shift=shift
  3269. ;;
  3270. esac
  3271. case $ac_option in
  3272. # Handling of the options.
  3273. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  3274. ac_cs_recheck=: ;;
  3275. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  3276. $as_echo "$ac_cs_version"; exit ;;
  3277. --config | --confi | --conf | --con | --co | --c )
  3278. $as_echo "$ac_cs_config"; exit ;;
  3279. --debug | --debu | --deb | --de | --d | -d )
  3280. debug=: ;;
  3281. --file | --fil | --fi | --f )
  3282. $ac_shift
  3283. case $ac_optarg in
  3284. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3285. '') as_fn_error $? "missing file argument" ;;
  3286. esac
  3287. as_fn_append CONFIG_FILES " '$ac_optarg'"
  3288. ac_need_defaults=false;;
  3289. --he | --h | --help | --hel | -h )
  3290. $as_echo "$ac_cs_usage"; exit ;;
  3291. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3292. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  3293. ac_cs_silent=: ;;
  3294. # This is an error.
  3295. -*) as_fn_error $? "unrecognized option: \`$1'
  3296. Try \`$0 --help' for more information." ;;
  3297. *) as_fn_append ac_config_targets " $1"
  3298. ac_need_defaults=false ;;
  3299. esac
  3300. shift
  3301. done
  3302. ac_configure_extra_args=
  3303. if $ac_cs_silent; then
  3304. exec 6>/dev/null
  3305. ac_configure_extra_args="$ac_configure_extra_args --silent"
  3306. fi
  3307. _ACEOF
  3308. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3309. if \$ac_cs_recheck; then
  3310. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  3311. shift
  3312. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  3313. CONFIG_SHELL='$SHELL'
  3314. export CONFIG_SHELL
  3315. exec "\$@"
  3316. fi
  3317. _ACEOF
  3318. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3319. exec 5>>config.log
  3320. {
  3321. echo
  3322. sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  3323. @%:@@%:@ Running $as_me. @%:@@%:@
  3324. _ASBOX
  3325. $as_echo "$ac_log"
  3326. } >&5
  3327. _ACEOF
  3328. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3329. _ACEOF
  3330. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3331. # Handling of arguments.
  3332. for ac_config_target in $ac_config_targets
  3333. do
  3334. case $ac_config_target in
  3335. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  3336. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
  3337. esac
  3338. done
  3339. # If the user did not use the arguments to specify the items to instantiate,
  3340. # then the envvar interface is used. Set only those that are not.
  3341. # We use the long form for the default assignment because of an extremely
  3342. # bizarre bug on SunOS 4.1.3.
  3343. if $ac_need_defaults; then
  3344. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  3345. fi
  3346. # Have a temporary directory for convenience. Make it in the build tree
  3347. # simply because there is no reason against having it here, and in addition,
  3348. # creating and moving files from /tmp can sometimes cause problems.
  3349. # Hook for its removal unless debugging.
  3350. # Note that there is a small window in which the directory will not be cleaned:
  3351. # after its creation but before its name has been assigned to `$tmp'.
  3352. $debug ||
  3353. {
  3354. tmp=
  3355. trap 'exit_status=$?
  3356. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  3357. ' 0
  3358. trap 'as_fn_exit 1' 1 2 13 15
  3359. }
  3360. # Create a (secure) tmp directory for tmp files.
  3361. {
  3362. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  3363. test -n "$tmp" && test -d "$tmp"
  3364. } ||
  3365. {
  3366. tmp=./conf$$-$RANDOM
  3367. (umask 077 && mkdir "$tmp")
  3368. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  3369. # Set up the scripts for CONFIG_FILES section.
  3370. # No need to generate them if there are no CONFIG_FILES.
  3371. # This happens for instance with `./config.status config.h'.
  3372. if test -n "$CONFIG_FILES"; then
  3373. ac_cr=`echo X | tr X '\015'`
  3374. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  3375. # But we know of no other shell where ac_cr would be empty at this
  3376. # point, so we can use a bashism as a fallback.
  3377. if test "x$ac_cr" = x; then
  3378. eval ac_cr=\$\'\\r\'
  3379. fi
  3380. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  3381. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  3382. ac_cs_awk_cr='\\r'
  3383. else
  3384. ac_cs_awk_cr=$ac_cr
  3385. fi
  3386. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  3387. _ACEOF
  3388. {
  3389. echo "cat >conf$$subs.awk <<_ACEOF" &&
  3390. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  3391. echo "_ACEOF"
  3392. } >conf$$subs.sh ||
  3393. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3394. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  3395. ac_delim='%!_!# '
  3396. for ac_last_try in false false false false false :; do
  3397. . ./conf$$subs.sh ||
  3398. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3399. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  3400. if test $ac_delim_n = $ac_delim_num; then
  3401. break
  3402. elif $ac_last_try; then
  3403. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  3404. else
  3405. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  3406. fi
  3407. done
  3408. rm -f conf$$subs.sh
  3409. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3410. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  3411. _ACEOF
  3412. sed -n '
  3413. h
  3414. s/^/S["/; s/!.*/"]=/
  3415. p
  3416. g
  3417. s/^[^!]*!//
  3418. :repl
  3419. t repl
  3420. s/'"$ac_delim"'$//
  3421. t delim
  3422. :nl
  3423. h
  3424. s/\(.\{148\}\)..*/\1/
  3425. t more1
  3426. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  3427. p
  3428. n
  3429. b repl
  3430. :more1
  3431. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  3432. p
  3433. g
  3434. s/.\{148\}//
  3435. t nl
  3436. :delim
  3437. h
  3438. s/\(.\{148\}\)..*/\1/
  3439. t more2
  3440. s/["\\]/\\&/g; s/^/"/; s/$/"/
  3441. p
  3442. b
  3443. :more2
  3444. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  3445. p
  3446. g
  3447. s/.\{148\}//
  3448. t delim
  3449. ' <conf$$subs.awk | sed '
  3450. /^[^""]/{
  3451. N
  3452. s/\n//
  3453. }
  3454. ' >>$CONFIG_STATUS || ac_write_fail=1
  3455. rm -f conf$$subs.awk
  3456. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3457. _ACAWK
  3458. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  3459. for (key in S) S_is_set[key] = 1
  3460. FS = ""
  3461. }
  3462. {
  3463. line = $ 0
  3464. nfields = split(line, field, "@")
  3465. substed = 0
  3466. len = length(field[1])
  3467. for (i = 2; i < nfields; i++) {
  3468. key = field[i]
  3469. keylen = length(key)
  3470. if (S_is_set[key]) {
  3471. value = S[key]
  3472. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  3473. len += length(value) + length(field[++i])
  3474. substed = 1
  3475. } else
  3476. len += 1 + keylen
  3477. }
  3478. print line
  3479. }
  3480. _ACAWK
  3481. _ACEOF
  3482. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3483. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  3484. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  3485. else
  3486. cat
  3487. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  3488. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  3489. _ACEOF
  3490. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  3491. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  3492. # trailing colons and then remove the whole line if VPATH becomes empty
  3493. # (actually we leave an empty line to preserve line numbers).
  3494. if test "x$srcdir" = x.; then
  3495. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  3496. h
  3497. s///
  3498. s/^/:/
  3499. s/[ ]*$/:/
  3500. s/:\$(srcdir):/:/g
  3501. s/:\${srcdir}:/:/g
  3502. s/:@srcdir@:/:/g
  3503. s/^:*//
  3504. s/:*$//
  3505. x
  3506. s/\(=[ ]*\).*/\1/
  3507. G
  3508. s/\n//
  3509. s/^[^=]*=[ ]*$//
  3510. }'
  3511. fi
  3512. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3513. fi # test -n "$CONFIG_FILES"
  3514. eval set X " :F $CONFIG_FILES "
  3515. shift
  3516. for ac_tag
  3517. do
  3518. case $ac_tag in
  3519. :[FHLC]) ac_mode=$ac_tag; continue;;
  3520. esac
  3521. case $ac_mode$ac_tag in
  3522. :[FHL]*:*);;
  3523. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
  3524. :[FH]-) ac_tag=-:-;;
  3525. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  3526. esac
  3527. ac_save_IFS=$IFS
  3528. IFS=:
  3529. set x $ac_tag
  3530. IFS=$ac_save_IFS
  3531. shift
  3532. ac_file=$1
  3533. shift
  3534. case $ac_mode in
  3535. :L) ac_source=$1;;
  3536. :[FH])
  3537. ac_file_inputs=
  3538. for ac_f
  3539. do
  3540. case $ac_f in
  3541. -) ac_f="$tmp/stdin";;
  3542. *) # Look for the file first in the build tree, then in the source tree
  3543. # (if the path is not absolute). The absolute path cannot be DOS-style,
  3544. # because $ac_f cannot contain `:'.
  3545. test -f "$ac_f" ||
  3546. case $ac_f in
  3547. [\\/$]*) false;;
  3548. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  3549. esac ||
  3550. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
  3551. esac
  3552. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  3553. as_fn_append ac_file_inputs " '$ac_f'"
  3554. done
  3555. # Let's still pretend it is `configure' which instantiates (i.e., don't
  3556. # use $as_me), people would be surprised to read:
  3557. # /* config.h. Generated by config.status. */
  3558. configure_input='Generated from '`
  3559. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  3560. `' by configure.'
  3561. if test x"$ac_file" != x-; then
  3562. configure_input="$ac_file. $configure_input"
  3563. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  3564. $as_echo "$as_me: creating $ac_file" >&6;}
  3565. fi
  3566. # Neutralize special characters interpreted by sed in replacement strings.
  3567. case $configure_input in #(
  3568. *\&* | *\|* | *\\* )
  3569. ac_sed_conf_input=`$as_echo "$configure_input" |
  3570. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  3571. *) ac_sed_conf_input=$configure_input;;
  3572. esac
  3573. case $ac_tag in
  3574. *:-:* | *:-) cat >"$tmp/stdin" \
  3575. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  3576. esac
  3577. ;;
  3578. esac
  3579. ac_dir=`$as_dirname -- "$ac_file" ||
  3580. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  3581. X"$ac_file" : 'X\(//\)[^/]' \| \
  3582. X"$ac_file" : 'X\(//\)$' \| \
  3583. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  3584. $as_echo X"$ac_file" |
  3585. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  3586. s//\1/
  3587. q
  3588. }
  3589. /^X\(\/\/\)[^/].*/{
  3590. s//\1/
  3591. q
  3592. }
  3593. /^X\(\/\/\)$/{
  3594. s//\1/
  3595. q
  3596. }
  3597. /^X\(\/\).*/{
  3598. s//\1/
  3599. q
  3600. }
  3601. s/.*/./; q'`
  3602. as_dir="$ac_dir"; as_fn_mkdir_p
  3603. ac_builddir=.
  3604. case "$ac_dir" in
  3605. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3606. *)
  3607. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  3608. # A ".." for each directory in $ac_dir_suffix.
  3609. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  3610. case $ac_top_builddir_sub in
  3611. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  3612. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  3613. esac ;;
  3614. esac
  3615. ac_abs_top_builddir=$ac_pwd
  3616. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  3617. # for backward compatibility:
  3618. ac_top_builddir=$ac_top_build_prefix
  3619. case $srcdir in
  3620. .) # We are building in place.
  3621. ac_srcdir=.
  3622. ac_top_srcdir=$ac_top_builddir_sub
  3623. ac_abs_top_srcdir=$ac_pwd ;;
  3624. [\\/]* | ?:[\\/]* ) # Absolute name.
  3625. ac_srcdir=$srcdir$ac_dir_suffix;
  3626. ac_top_srcdir=$srcdir
  3627. ac_abs_top_srcdir=$srcdir ;;
  3628. *) # Relative name.
  3629. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  3630. ac_top_srcdir=$ac_top_build_prefix$srcdir
  3631. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  3632. esac
  3633. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  3634. case $ac_mode in
  3635. :F)
  3636. #
  3637. # CONFIG_FILE
  3638. #
  3639. _ACEOF
  3640. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3641. # If the template does not know about datarootdir, expand it.
  3642. # FIXME: This hack should be removed a few years after 2.60.
  3643. ac_datarootdir_hack=; ac_datarootdir_seen=
  3644. ac_sed_dataroot='
  3645. /datarootdir/ {
  3646. p
  3647. q
  3648. }
  3649. /@datadir@/p
  3650. /@docdir@/p
  3651. /@infodir@/p
  3652. /@localedir@/p
  3653. /@mandir@/p'
  3654. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  3655. *datarootdir*) ac_datarootdir_seen=yes;;
  3656. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  3657. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  3658. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  3659. _ACEOF
  3660. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3661. ac_datarootdir_hack='
  3662. s&@datadir@&$datadir&g
  3663. s&@docdir@&$docdir&g
  3664. s&@infodir@&$infodir&g
  3665. s&@localedir@&$localedir&g
  3666. s&@mandir@&$mandir&g
  3667. s&\\\${datarootdir}&$datarootdir&g' ;;
  3668. esac
  3669. _ACEOF
  3670. # Neutralize VPATH when `$srcdir' = `.'.
  3671. # Shell code in configure.ac might set extrasub.
  3672. # FIXME: do we really want to maintain this feature?
  3673. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  3674. ac_sed_extra="$ac_vpsub
  3675. $extrasub
  3676. _ACEOF
  3677. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  3678. :t
  3679. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  3680. s|@configure_input@|$ac_sed_conf_input|;t t
  3681. s&@top_builddir@&$ac_top_builddir_sub&;t t
  3682. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  3683. s&@srcdir@&$ac_srcdir&;t t
  3684. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  3685. s&@top_srcdir@&$ac_top_srcdir&;t t
  3686. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  3687. s&@builddir@&$ac_builddir&;t t
  3688. s&@abs_builddir@&$ac_abs_builddir&;t t
  3689. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  3690. $ac_datarootdir_hack
  3691. "
  3692. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  3693. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  3694. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  3695. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  3696. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  3697. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  3698. which seems to be undefined. Please make sure it is defined" >&5
  3699. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  3700. which seems to be undefined. Please make sure it is defined" >&2;}
  3701. rm -f "$tmp/stdin"
  3702. case $ac_file in
  3703. -) cat "$tmp/out" && rm -f "$tmp/out";;
  3704. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  3705. esac \
  3706. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  3707. ;;
  3708. esac
  3709. done # for ac_tag
  3710. as_fn_exit 0
  3711. _ACEOF
  3712. ac_clean_files=$ac_clean_files_save
  3713. test $ac_write_fail = 0 ||
  3714. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  3715. # configure is writing to config.log, and then calls config.status.
  3716. # config.status does its own redirection, appending to config.log.
  3717. # Unfortunately, on DOS this fails, as config.log is still kept open
  3718. # by configure, so config.status won't be able to write to it; its
  3719. # output is simply discarded. So we exec the FD to /dev/null,
  3720. # effectively closing config.log, so it can be properly (re)opened and
  3721. # appended to by config.status. When coming back to configure, we
  3722. # need to make the FD available again.
  3723. if test "$no_create" != yes; then
  3724. ac_cs_success=:
  3725. ac_config_status_args=
  3726. test "$silent" = yes &&
  3727. ac_config_status_args="$ac_config_status_args --quiet"
  3728. exec 5>/dev/null
  3729. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  3730. exec 5>>config.log
  3731. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  3732. # would make configure fail if this is the last instruction.
  3733. $ac_cs_success || as_fn_exit 1
  3734. fi
  3735. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  3736. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  3737. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  3738. fi