An utility designed to convert polychromatic images to monochromatic images, creating shades of grey through an optical illusion.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configure 144KB

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