configure 73 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated automatically using autoconf version 2.13
  4. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  5. #
  6. # This configure script is free software; the Free Software Foundation
  7. # gives unlimited permission to copy, distribute and modify it.
  8. # Defaults:
  9. ac_help=
  10. ac_default_prefix=/usr/local
  11. # Any additions from configure.in:
  12. ac_default_prefix=/usr/local/nagios
  13. ac_help="$ac_help
  14. --enable-ssl enables native SSL support"
  15. ac_help="$ac_help
  16. --with-ssl-lib=DIR sets location of the SSL library"
  17. ac_help="$ac_help
  18. --with-ssl-inc=DIR sets location of the SSL include files"
  19. ac_help="$ac_help
  20. --with-kerberos-inc=DIR sets location of the Kerberos include files"
  21. ac_help="$ac_help
  22. --with-nrpe-user=<user> sets user name to run NRPE"
  23. ac_help="$ac_help
  24. --with-nrpe-group=<group> sets group name to run NRPE"
  25. ac_help="$ac_help
  26. --with-nrpe-port=<port> sets port number for NRPE to listen on"
  27. ac_help="$ac_help
  28. --enable-command-args allows clients to specify command arguments. *** THIS IS A SECURITY RISK! *** Read the SECURITY file before using this option!"
  29. # Initialize some variables set by options.
  30. # The variables have the same names as the options, with
  31. # dashes changed to underlines.
  32. build=NONE
  33. cache_file=./config.cache
  34. exec_prefix=NONE
  35. host=NONE
  36. no_create=
  37. nonopt=NONE
  38. no_recursion=
  39. prefix=NONE
  40. program_prefix=NONE
  41. program_suffix=NONE
  42. program_transform_name=s,x,x,
  43. silent=
  44. site=
  45. srcdir=
  46. target=NONE
  47. verbose=
  48. x_includes=NONE
  49. x_libraries=NONE
  50. bindir='${exec_prefix}/bin'
  51. sbindir='${exec_prefix}/sbin'
  52. libexecdir='${exec_prefix}/libexec'
  53. datadir='${prefix}/share'
  54. sysconfdir='${prefix}/etc'
  55. sharedstatedir='${prefix}/com'
  56. localstatedir='${prefix}/var'
  57. libdir='${exec_prefix}/lib'
  58. includedir='${prefix}/include'
  59. oldincludedir='/usr/include'
  60. infodir='${prefix}/info'
  61. mandir='${prefix}/man'
  62. # Initialize some other variables.
  63. subdirs=
  64. MFLAGS= MAKEFLAGS=
  65. SHELL=${CONFIG_SHELL-/bin/sh}
  66. # Maximum number of lines to put in a shell here document.
  67. ac_max_here_lines=12
  68. ac_prev=
  69. for ac_option
  70. do
  71. # If the previous option needs an argument, assign it.
  72. if test -n "$ac_prev"; then
  73. eval "$ac_prev=\$ac_option"
  74. ac_prev=
  75. continue
  76. fi
  77. case "$ac_option" in
  78. -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  79. *) ac_optarg= ;;
  80. esac
  81. # Accept the important Cygnus configure options, so we can diagnose typos.
  82. case "$ac_option" in
  83. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  84. ac_prev=bindir ;;
  85. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  86. bindir="$ac_optarg" ;;
  87. -build | --build | --buil | --bui | --bu)
  88. ac_prev=build ;;
  89. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  90. build="$ac_optarg" ;;
  91. -cache-file | --cache-file | --cache-fil | --cache-fi \
  92. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  93. ac_prev=cache_file ;;
  94. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  95. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  96. cache_file="$ac_optarg" ;;
  97. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  98. ac_prev=datadir ;;
  99. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  100. | --da=*)
  101. datadir="$ac_optarg" ;;
  102. -disable-* | --disable-*)
  103. ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  104. # Reject names that are not valid shell variable names.
  105. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  106. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  107. fi
  108. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  109. eval "enable_${ac_feature}=no" ;;
  110. -enable-* | --enable-*)
  111. ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  112. # Reject names that are not valid shell variable names.
  113. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  114. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  115. fi
  116. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  117. case "$ac_option" in
  118. *=*) ;;
  119. *) ac_optarg=yes ;;
  120. esac
  121. eval "enable_${ac_feature}='$ac_optarg'" ;;
  122. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  123. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  124. | --exec | --exe | --ex)
  125. ac_prev=exec_prefix ;;
  126. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  127. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  128. | --exec=* | --exe=* | --ex=*)
  129. exec_prefix="$ac_optarg" ;;
  130. -gas | --gas | --ga | --g)
  131. # Obsolete; use --with-gas.
  132. with_gas=yes ;;
  133. -help | --help | --hel | --he)
  134. # Omit some internal or obsolete options to make the list less imposing.
  135. # This message is too long to be a string in the A/UX 3.1 sh.
  136. cat << EOF
  137. Usage: configure [options] [host]
  138. Options: [defaults in brackets after descriptions]
  139. Configuration:
  140. --cache-file=FILE cache test results in FILE
  141. --help print this message
  142. --no-create do not create output files
  143. --quiet, --silent do not print \`checking...' messages
  144. --version print the version of autoconf that created configure
  145. Directory and file names:
  146. --prefix=PREFIX install architecture-independent files in PREFIX
  147. [$ac_default_prefix]
  148. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  149. [same as prefix]
  150. --bindir=DIR user executables in DIR [EPREFIX/bin]
  151. --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
  152. --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
  153. --datadir=DIR read-only architecture-independent data in DIR
  154. [PREFIX/share]
  155. --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
  156. --sharedstatedir=DIR modifiable architecture-independent data in DIR
  157. [PREFIX/com]
  158. --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
  159. --libdir=DIR object code libraries in DIR [EPREFIX/lib]
  160. --includedir=DIR C header files in DIR [PREFIX/include]
  161. --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
  162. --infodir=DIR info documentation in DIR [PREFIX/info]
  163. --mandir=DIR man documentation in DIR [PREFIX/man]
  164. --srcdir=DIR find the sources in DIR [configure dir or ..]
  165. --program-prefix=PREFIX prepend PREFIX to installed program names
  166. --program-suffix=SUFFIX append SUFFIX to installed program names
  167. --program-transform-name=PROGRAM
  168. run sed PROGRAM on installed program names
  169. EOF
  170. cat << EOF
  171. Host type:
  172. --build=BUILD configure for building on BUILD [BUILD=HOST]
  173. --host=HOST configure for HOST [guessed]
  174. --target=TARGET configure for TARGET [TARGET=HOST]
  175. Features and packages:
  176. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  177. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  178. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  179. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  180. --x-includes=DIR X include files are in DIR
  181. --x-libraries=DIR X library files are in DIR
  182. EOF
  183. if test -n "$ac_help"; then
  184. echo "--enable and --with options recognized:$ac_help"
  185. fi
  186. exit 0 ;;
  187. -host | --host | --hos | --ho)
  188. ac_prev=host ;;
  189. -host=* | --host=* | --hos=* | --ho=*)
  190. host="$ac_optarg" ;;
  191. -includedir | --includedir | --includedi | --included | --include \
  192. | --includ | --inclu | --incl | --inc)
  193. ac_prev=includedir ;;
  194. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  195. | --includ=* | --inclu=* | --incl=* | --inc=*)
  196. includedir="$ac_optarg" ;;
  197. -infodir | --infodir | --infodi | --infod | --info | --inf)
  198. ac_prev=infodir ;;
  199. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  200. infodir="$ac_optarg" ;;
  201. -libdir | --libdir | --libdi | --libd)
  202. ac_prev=libdir ;;
  203. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  204. libdir="$ac_optarg" ;;
  205. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  206. | --libexe | --libex | --libe)
  207. ac_prev=libexecdir ;;
  208. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  209. | --libexe=* | --libex=* | --libe=*)
  210. libexecdir="$ac_optarg" ;;
  211. -localstatedir | --localstatedir | --localstatedi | --localstated \
  212. | --localstate | --localstat | --localsta | --localst \
  213. | --locals | --local | --loca | --loc | --lo)
  214. ac_prev=localstatedir ;;
  215. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  216. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  217. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  218. localstatedir="$ac_optarg" ;;
  219. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  220. ac_prev=mandir ;;
  221. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  222. mandir="$ac_optarg" ;;
  223. -nfp | --nfp | --nf)
  224. # Obsolete; use --without-fp.
  225. with_fp=no ;;
  226. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  227. | --no-cr | --no-c)
  228. no_create=yes ;;
  229. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  230. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  231. no_recursion=yes ;;
  232. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  233. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  234. | --oldin | --oldi | --old | --ol | --o)
  235. ac_prev=oldincludedir ;;
  236. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  237. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  238. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  239. oldincludedir="$ac_optarg" ;;
  240. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  241. ac_prev=prefix ;;
  242. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  243. prefix="$ac_optarg" ;;
  244. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  245. | --program-pre | --program-pr | --program-p)
  246. ac_prev=program_prefix ;;
  247. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  248. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  249. program_prefix="$ac_optarg" ;;
  250. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  251. | --program-suf | --program-su | --program-s)
  252. ac_prev=program_suffix ;;
  253. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  254. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  255. program_suffix="$ac_optarg" ;;
  256. -program-transform-name | --program-transform-name \
  257. | --program-transform-nam | --program-transform-na \
  258. | --program-transform-n | --program-transform- \
  259. | --program-transform | --program-transfor \
  260. | --program-transfo | --program-transf \
  261. | --program-trans | --program-tran \
  262. | --progr-tra | --program-tr | --program-t)
  263. ac_prev=program_transform_name ;;
  264. -program-transform-name=* | --program-transform-name=* \
  265. | --program-transform-nam=* | --program-transform-na=* \
  266. | --program-transform-n=* | --program-transform-=* \
  267. | --program-transform=* | --program-transfor=* \
  268. | --program-transfo=* | --program-transf=* \
  269. | --program-trans=* | --program-tran=* \
  270. | --progr-tra=* | --program-tr=* | --program-t=*)
  271. program_transform_name="$ac_optarg" ;;
  272. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  273. | -silent | --silent | --silen | --sile | --sil)
  274. silent=yes ;;
  275. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  276. ac_prev=sbindir ;;
  277. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  278. | --sbi=* | --sb=*)
  279. sbindir="$ac_optarg" ;;
  280. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  281. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  282. | --sharedst | --shareds | --shared | --share | --shar \
  283. | --sha | --sh)
  284. ac_prev=sharedstatedir ;;
  285. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  286. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  287. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  288. | --sha=* | --sh=*)
  289. sharedstatedir="$ac_optarg" ;;
  290. -site | --site | --sit)
  291. ac_prev=site ;;
  292. -site=* | --site=* | --sit=*)
  293. site="$ac_optarg" ;;
  294. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  295. ac_prev=srcdir ;;
  296. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  297. srcdir="$ac_optarg" ;;
  298. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  299. | --syscon | --sysco | --sysc | --sys | --sy)
  300. ac_prev=sysconfdir ;;
  301. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  302. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  303. sysconfdir="$ac_optarg" ;;
  304. -target | --target | --targe | --targ | --tar | --ta | --t)
  305. ac_prev=target ;;
  306. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  307. target="$ac_optarg" ;;
  308. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  309. verbose=yes ;;
  310. -version | --version | --versio | --versi | --vers)
  311. echo "configure generated by autoconf version 2.13"
  312. exit 0 ;;
  313. -with-* | --with-*)
  314. ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  315. # Reject names that are not valid shell variable names.
  316. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  317. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  318. fi
  319. ac_package=`echo $ac_package| sed 's/-/_/g'`
  320. case "$ac_option" in
  321. *=*) ;;
  322. *) ac_optarg=yes ;;
  323. esac
  324. eval "with_${ac_package}='$ac_optarg'" ;;
  325. -without-* | --without-*)
  326. ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  327. # Reject names that are not valid shell variable names.
  328. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  329. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  330. fi
  331. ac_package=`echo $ac_package| sed 's/-/_/g'`
  332. eval "with_${ac_package}=no" ;;
  333. --x)
  334. # Obsolete; use --with-x.
  335. with_x=yes ;;
  336. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  337. | --x-incl | --x-inc | --x-in | --x-i)
  338. ac_prev=x_includes ;;
  339. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  340. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  341. x_includes="$ac_optarg" ;;
  342. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  343. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  344. ac_prev=x_libraries ;;
  345. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  346. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  347. x_libraries="$ac_optarg" ;;
  348. -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  349. ;;
  350. *)
  351. if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  352. echo "configure: warning: $ac_option: invalid host type" 1>&2
  353. fi
  354. if test "x$nonopt" != xNONE; then
  355. { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  356. fi
  357. nonopt="$ac_option"
  358. ;;
  359. esac
  360. done
  361. if test -n "$ac_prev"; then
  362. { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  363. fi
  364. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  365. # File descriptor usage:
  366. # 0 standard input
  367. # 1 file creation
  368. # 2 errors and warnings
  369. # 3 some systems may open it to /dev/tty
  370. # 4 used on the Kubota Titan
  371. # 6 checking for... messages and results
  372. # 5 compiler messages saved in config.log
  373. if test "$silent" = yes; then
  374. exec 6>/dev/null
  375. else
  376. exec 6>&1
  377. fi
  378. exec 5>./config.log
  379. echo "\
  380. This file contains any messages produced by compilers while
  381. running configure, to aid debugging if configure makes a mistake.
  382. " 1>&5
  383. # Strip out --no-create and --no-recursion so they do not pile up.
  384. # Also quote any args containing shell metacharacters.
  385. ac_configure_args=
  386. for ac_arg
  387. do
  388. case "$ac_arg" in
  389. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  390. | --no-cr | --no-c) ;;
  391. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  392. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  393. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  394. ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  395. *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  396. esac
  397. done
  398. # NLS nuisances.
  399. # Only set these to C if already set. These must not be set unconditionally
  400. # because not all systems understand e.g. LANG=C (notably SCO).
  401. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  402. # Non-C LC_CTYPE values break the ctype check.
  403. if test "${LANG+set}" = set; then LANG=C; export LANG; fi
  404. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  405. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  406. if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
  407. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  408. rm -rf conftest* confdefs.h
  409. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  410. echo > confdefs.h
  411. # A filename unique to this package, relative to the directory that
  412. # configure is in, which we can look for to find out if srcdir is correct.
  413. ac_unique_file=src/nrpe.c
  414. # Find the source files, if location was not specified.
  415. if test -z "$srcdir"; then
  416. ac_srcdir_defaulted=yes
  417. # Try the directory containing this script, then its parent.
  418. ac_prog=$0
  419. ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  420. test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  421. srcdir=$ac_confdir
  422. if test ! -r $srcdir/$ac_unique_file; then
  423. srcdir=..
  424. fi
  425. else
  426. ac_srcdir_defaulted=no
  427. fi
  428. if test ! -r $srcdir/$ac_unique_file; then
  429. if test "$ac_srcdir_defaulted" = yes; then
  430. { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  431. else
  432. { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  433. fi
  434. fi
  435. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  436. # Prefer explicitly selected file to automatically selected ones.
  437. if test -z "$CONFIG_SITE"; then
  438. if test "x$prefix" != xNONE; then
  439. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  440. else
  441. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  442. fi
  443. fi
  444. for ac_site_file in $CONFIG_SITE; do
  445. if test -r "$ac_site_file"; then
  446. echo "loading site script $ac_site_file"
  447. . "$ac_site_file"
  448. fi
  449. done
  450. ac_ext=c
  451. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  452. ac_cpp='$CPP $CPPFLAGS'
  453. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  454. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  455. cross_compiling=$ac_cv_prog_cc_cross
  456. ac_exeext=
  457. ac_objext=o
  458. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  459. # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  460. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  461. ac_n= ac_c='
  462. ' ac_t=' '
  463. else
  464. ac_n=-n ac_c= ac_t=
  465. fi
  466. else
  467. ac_n= ac_c='\c' ac_t=
  468. fi
  469. PKG_NAME=nrpe
  470. PKG_VERSION="2.1"
  471. PKG_HOME_URL="http://www.nagios.org/"
  472. PKG_REL_DATE="10-14-2003"
  473. ac_aux_dir=
  474. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  475. if test -f $ac_dir/install-sh; then
  476. ac_aux_dir=$ac_dir
  477. ac_install_sh="$ac_aux_dir/install-sh -c"
  478. break
  479. elif test -f $ac_dir/install.sh; then
  480. ac_aux_dir=$ac_dir
  481. ac_install_sh="$ac_aux_dir/install.sh -c"
  482. break
  483. fi
  484. done
  485. if test -z "$ac_aux_dir"; then
  486. { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
  487. fi
  488. ac_config_guess=$ac_aux_dir/config.guess
  489. ac_config_sub=$ac_aux_dir/config.sub
  490. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  491. # Find a good install program. We prefer a C program (faster),
  492. # so one script is as good as another. But avoid the broken or
  493. # incompatible versions:
  494. # SysV /etc/install, /usr/sbin/install
  495. # SunOS /usr/etc/install
  496. # IRIX /sbin/install
  497. # AIX /bin/install
  498. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  499. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  500. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  501. # ./install, which can be erroneously created by make from ./install.sh.
  502. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  503. echo "configure:575: checking for a BSD compatible install" >&5
  504. if test -z "$INSTALL"; then
  505. if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  506. echo $ac_n "(cached) $ac_c" 1>&6
  507. else
  508. IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
  509. for ac_dir in $PATH; do
  510. # Account for people who put trailing slashes in PATH elements.
  511. case "$ac_dir/" in
  512. /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
  513. *)
  514. # OSF1 and SCO ODT 3.0 have their own names for install.
  515. # Don't use installbsd from OSF since it installs stuff as root
  516. # by default.
  517. for ac_prog in ginstall scoinst install; do
  518. if test -f $ac_dir/$ac_prog; then
  519. if test $ac_prog = install &&
  520. grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
  521. # AIX install. It has an incompatible calling convention.
  522. :
  523. else
  524. ac_cv_path_install="$ac_dir/$ac_prog -c"
  525. break 2
  526. fi
  527. fi
  528. done
  529. ;;
  530. esac
  531. done
  532. IFS="$ac_save_IFS"
  533. fi
  534. if test "${ac_cv_path_install+set}" = set; then
  535. INSTALL="$ac_cv_path_install"
  536. else
  537. # As a last resort, use the slow shell script. We don't cache a
  538. # path for INSTALL within a source directory, because that will
  539. # break other packages using the cache if that directory is
  540. # removed, or if the path is relative.
  541. INSTALL="$ac_install_sh"
  542. fi
  543. fi
  544. echo "$ac_t""$INSTALL" 1>&6
  545. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  546. # It thinks the first close brace ends the variable substitution.
  547. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  548. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
  549. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  550. # Extract the first word of "gcc", so it can be a program name with args.
  551. set dummy gcc; ac_word=$2
  552. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  553. echo "configure:632: checking for $ac_word" >&5
  554. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  555. echo $ac_n "(cached) $ac_c" 1>&6
  556. else
  557. if test -n "$CC"; then
  558. ac_cv_prog_CC="$CC" # Let the user override the test.
  559. else
  560. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  561. ac_dummy="$PATH"
  562. for ac_dir in $ac_dummy; do
  563. test -z "$ac_dir" && ac_dir=.
  564. if test -f $ac_dir/$ac_word; then
  565. ac_cv_prog_CC="gcc"
  566. break
  567. fi
  568. done
  569. IFS="$ac_save_ifs"
  570. fi
  571. fi
  572. CC="$ac_cv_prog_CC"
  573. if test -n "$CC"; then
  574. echo "$ac_t""$CC" 1>&6
  575. else
  576. echo "$ac_t""no" 1>&6
  577. fi
  578. if test -z "$CC"; then
  579. # Extract the first word of "cc", so it can be a program name with args.
  580. set dummy cc; ac_word=$2
  581. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  582. echo "configure:662: checking for $ac_word" >&5
  583. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  584. echo $ac_n "(cached) $ac_c" 1>&6
  585. else
  586. if test -n "$CC"; then
  587. ac_cv_prog_CC="$CC" # Let the user override the test.
  588. else
  589. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  590. ac_prog_rejected=no
  591. ac_dummy="$PATH"
  592. for ac_dir in $ac_dummy; do
  593. test -z "$ac_dir" && ac_dir=.
  594. if test -f $ac_dir/$ac_word; then
  595. if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  596. ac_prog_rejected=yes
  597. continue
  598. fi
  599. ac_cv_prog_CC="cc"
  600. break
  601. fi
  602. done
  603. IFS="$ac_save_ifs"
  604. if test $ac_prog_rejected = yes; then
  605. # We found a bogon in the path, so make sure we never use it.
  606. set dummy $ac_cv_prog_CC
  607. shift
  608. if test $# -gt 0; then
  609. # We chose a different compiler from the bogus one.
  610. # However, it has the same basename, so the bogon will be chosen
  611. # first if we set CC to just the basename; use the full file name.
  612. shift
  613. set dummy "$ac_dir/$ac_word" "$@"
  614. shift
  615. ac_cv_prog_CC="$@"
  616. fi
  617. fi
  618. fi
  619. fi
  620. CC="$ac_cv_prog_CC"
  621. if test -n "$CC"; then
  622. echo "$ac_t""$CC" 1>&6
  623. else
  624. echo "$ac_t""no" 1>&6
  625. fi
  626. if test -z "$CC"; then
  627. case "`uname -s`" in
  628. *win32* | *WIN32*)
  629. # Extract the first word of "cl", so it can be a program name with args.
  630. set dummy cl; ac_word=$2
  631. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  632. echo "configure:713: checking for $ac_word" >&5
  633. if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  634. echo $ac_n "(cached) $ac_c" 1>&6
  635. else
  636. if test -n "$CC"; then
  637. ac_cv_prog_CC="$CC" # Let the user override the test.
  638. else
  639. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  640. ac_dummy="$PATH"
  641. for ac_dir in $ac_dummy; do
  642. test -z "$ac_dir" && ac_dir=.
  643. if test -f $ac_dir/$ac_word; then
  644. ac_cv_prog_CC="cl"
  645. break
  646. fi
  647. done
  648. IFS="$ac_save_ifs"
  649. fi
  650. fi
  651. CC="$ac_cv_prog_CC"
  652. if test -n "$CC"; then
  653. echo "$ac_t""$CC" 1>&6
  654. else
  655. echo "$ac_t""no" 1>&6
  656. fi
  657. ;;
  658. esac
  659. fi
  660. test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  661. fi
  662. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  663. echo "configure:745: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  664. ac_ext=c
  665. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  666. ac_cpp='$CPP $CPPFLAGS'
  667. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  668. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  669. cross_compiling=$ac_cv_prog_cc_cross
  670. cat > conftest.$ac_ext << EOF
  671. #line 756 "configure"
  672. #include "confdefs.h"
  673. main(){return(0);}
  674. EOF
  675. if { (eval echo configure:761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  676. ac_cv_prog_cc_works=yes
  677. # If we can't run a trivial program, we are probably using a cross compiler.
  678. if (./conftest; exit) 2>/dev/null; then
  679. ac_cv_prog_cc_cross=no
  680. else
  681. ac_cv_prog_cc_cross=yes
  682. fi
  683. else
  684. echo "configure: failed program was:" >&5
  685. cat conftest.$ac_ext >&5
  686. ac_cv_prog_cc_works=no
  687. fi
  688. rm -fr conftest*
  689. ac_ext=c
  690. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  691. ac_cpp='$CPP $CPPFLAGS'
  692. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  693. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  694. cross_compiling=$ac_cv_prog_cc_cross
  695. echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  696. if test $ac_cv_prog_cc_works = no; then
  697. { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  698. fi
  699. echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  700. echo "configure:787: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  701. echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  702. cross_compiling=$ac_cv_prog_cc_cross
  703. echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  704. echo "configure:792: checking whether we are using GNU C" >&5
  705. if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  706. echo $ac_n "(cached) $ac_c" 1>&6
  707. else
  708. cat > conftest.c <<EOF
  709. #ifdef __GNUC__
  710. yes;
  711. #endif
  712. EOF
  713. if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  714. ac_cv_prog_gcc=yes
  715. else
  716. ac_cv_prog_gcc=no
  717. fi
  718. fi
  719. echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  720. if test $ac_cv_prog_gcc = yes; then
  721. GCC=yes
  722. else
  723. GCC=
  724. fi
  725. ac_test_CFLAGS="${CFLAGS+set}"
  726. ac_save_CFLAGS="$CFLAGS"
  727. CFLAGS=
  728. echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
  729. echo "configure:820: checking whether ${CC-cc} accepts -g" >&5
  730. if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  731. echo $ac_n "(cached) $ac_c" 1>&6
  732. else
  733. echo 'void f(){}' > conftest.c
  734. if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  735. ac_cv_prog_cc_g=yes
  736. else
  737. ac_cv_prog_cc_g=no
  738. fi
  739. rm -f conftest*
  740. fi
  741. echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  742. if test "$ac_test_CFLAGS" = set; then
  743. CFLAGS="$ac_save_CFLAGS"
  744. elif test $ac_cv_prog_cc_g = yes; then
  745. if test "$GCC" = yes; then
  746. CFLAGS="-g -O2"
  747. else
  748. CFLAGS="-g"
  749. fi
  750. else
  751. if test "$GCC" = yes; then
  752. CFLAGS="-O2"
  753. else
  754. CFLAGS=
  755. fi
  756. fi
  757. echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  758. echo "configure:852: checking whether ${MAKE-make} sets \${MAKE}" >&5
  759. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
  760. if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  761. echo $ac_n "(cached) $ac_c" 1>&6
  762. else
  763. cat > conftestmake <<\EOF
  764. all:
  765. @echo 'ac_maketemp="${MAKE}"'
  766. EOF
  767. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  768. eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
  769. if test -n "$ac_maketemp"; then
  770. eval ac_cv_prog_make_${ac_make}_set=yes
  771. else
  772. eval ac_cv_prog_make_${ac_make}_set=no
  773. fi
  774. rm -f conftestmake
  775. fi
  776. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  777. echo "$ac_t""yes" 1>&6
  778. SET_MAKE=
  779. else
  780. echo "$ac_t""no" 1>&6
  781. SET_MAKE="MAKE=${MAKE-make}"
  782. fi
  783. echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  784. echo "configure:880: checking how to run the C preprocessor" >&5
  785. # On Suns, sometimes $CPP names a directory.
  786. if test -n "$CPP" && test -d "$CPP"; then
  787. CPP=
  788. fi
  789. if test -z "$CPP"; then
  790. if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  791. echo $ac_n "(cached) $ac_c" 1>&6
  792. else
  793. # This must be in double quotes, not single quotes, because CPP may get
  794. # substituted into the Makefile and "${CC-cc}" will confuse make.
  795. CPP="${CC-cc} -E"
  796. # On the NeXT, cc -E runs the code through the compiler's parser,
  797. # not just through cpp.
  798. cat > conftest.$ac_ext <<EOF
  799. #line 895 "configure"
  800. #include "confdefs.h"
  801. #include <assert.h>
  802. Syntax Error
  803. EOF
  804. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  805. { (eval echo configure:901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  806. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  807. if test -z "$ac_err"; then
  808. :
  809. else
  810. echo "$ac_err" >&5
  811. echo "configure: failed program was:" >&5
  812. cat conftest.$ac_ext >&5
  813. rm -rf conftest*
  814. CPP="${CC-cc} -E -traditional-cpp"
  815. cat > conftest.$ac_ext <<EOF
  816. #line 912 "configure"
  817. #include "confdefs.h"
  818. #include <assert.h>
  819. Syntax Error
  820. EOF
  821. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  822. { (eval echo configure:918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  823. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  824. if test -z "$ac_err"; then
  825. :
  826. else
  827. echo "$ac_err" >&5
  828. echo "configure: failed program was:" >&5
  829. cat conftest.$ac_ext >&5
  830. rm -rf conftest*
  831. CPP="${CC-cc} -nologo -E"
  832. cat > conftest.$ac_ext <<EOF
  833. #line 929 "configure"
  834. #include "confdefs.h"
  835. #include <assert.h>
  836. Syntax Error
  837. EOF
  838. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  839. { (eval echo configure:935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  840. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  841. if test -z "$ac_err"; then
  842. :
  843. else
  844. echo "$ac_err" >&5
  845. echo "configure: failed program was:" >&5
  846. cat conftest.$ac_ext >&5
  847. rm -rf conftest*
  848. CPP=/lib/cpp
  849. fi
  850. rm -f conftest*
  851. fi
  852. rm -f conftest*
  853. fi
  854. rm -f conftest*
  855. ac_cv_prog_CPP="$CPP"
  856. fi
  857. CPP="$ac_cv_prog_CPP"
  858. else
  859. ac_cv_prog_CPP="$CPP"
  860. fi
  861. echo "$ac_t""$CPP" 1>&6
  862. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
  863. echo "configure:960: checking for ANSI C header files" >&5
  864. if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  865. echo $ac_n "(cached) $ac_c" 1>&6
  866. else
  867. cat > conftest.$ac_ext <<EOF
  868. #line 965 "configure"
  869. #include "confdefs.h"
  870. #include <stdlib.h>
  871. #include <stdarg.h>
  872. #include <string.h>
  873. #include <float.h>
  874. EOF
  875. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  876. { (eval echo configure:973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  877. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  878. if test -z "$ac_err"; then
  879. rm -rf conftest*
  880. ac_cv_header_stdc=yes
  881. else
  882. echo "$ac_err" >&5
  883. echo "configure: failed program was:" >&5
  884. cat conftest.$ac_ext >&5
  885. rm -rf conftest*
  886. ac_cv_header_stdc=no
  887. fi
  888. rm -f conftest*
  889. if test $ac_cv_header_stdc = yes; then
  890. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  891. cat > conftest.$ac_ext <<EOF
  892. #line 990 "configure"
  893. #include "confdefs.h"
  894. #include <string.h>
  895. EOF
  896. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  897. egrep "memchr" >/dev/null 2>&1; then
  898. :
  899. else
  900. rm -rf conftest*
  901. ac_cv_header_stdc=no
  902. fi
  903. rm -f conftest*
  904. fi
  905. if test $ac_cv_header_stdc = yes; then
  906. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  907. cat > conftest.$ac_ext <<EOF
  908. #line 1008 "configure"
  909. #include "confdefs.h"
  910. #include <stdlib.h>
  911. EOF
  912. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  913. egrep "free" >/dev/null 2>&1; then
  914. :
  915. else
  916. rm -rf conftest*
  917. ac_cv_header_stdc=no
  918. fi
  919. rm -f conftest*
  920. fi
  921. if test $ac_cv_header_stdc = yes; then
  922. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  923. if test "$cross_compiling" = yes; then
  924. :
  925. else
  926. cat > conftest.$ac_ext <<EOF
  927. #line 1029 "configure"
  928. #include "confdefs.h"
  929. #include <ctype.h>
  930. #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  931. #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  932. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  933. int main () { int i; for (i = 0; i < 256; i++)
  934. if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
  935. exit (0); }
  936. EOF
  937. if { (eval echo configure:1040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  938. then
  939. :
  940. else
  941. echo "configure: failed program was:" >&5
  942. cat conftest.$ac_ext >&5
  943. rm -fr conftest*
  944. ac_cv_header_stdc=no
  945. fi
  946. rm -fr conftest*
  947. fi
  948. fi
  949. fi
  950. echo "$ac_t""$ac_cv_header_stdc" 1>&6
  951. if test $ac_cv_header_stdc = yes; then
  952. cat >> confdefs.h <<\EOF
  953. #define STDC_HEADERS 1
  954. EOF
  955. fi
  956. echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
  957. echo "configure:1064: checking whether time.h and sys/time.h may both be included" >&5
  958. if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  959. echo $ac_n "(cached) $ac_c" 1>&6
  960. else
  961. cat > conftest.$ac_ext <<EOF
  962. #line 1069 "configure"
  963. #include "confdefs.h"
  964. #include <sys/types.h>
  965. #include <sys/time.h>
  966. #include <time.h>
  967. int main() {
  968. struct tm *tp;
  969. ; return 0; }
  970. EOF
  971. if { (eval echo configure:1078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  972. rm -rf conftest*
  973. ac_cv_header_time=yes
  974. else
  975. echo "configure: failed program was:" >&5
  976. cat conftest.$ac_ext >&5
  977. rm -rf conftest*
  978. ac_cv_header_time=no
  979. fi
  980. rm -f conftest*
  981. fi
  982. echo "$ac_t""$ac_cv_header_time" 1>&6
  983. if test $ac_cv_header_time = yes; then
  984. cat >> confdefs.h <<\EOF
  985. #define TIME_WITH_SYS_TIME 1
  986. EOF
  987. fi
  988. echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
  989. echo "configure:1099: checking for sys/wait.h that is POSIX.1 compatible" >&5
  990. if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
  991. echo $ac_n "(cached) $ac_c" 1>&6
  992. else
  993. cat > conftest.$ac_ext <<EOF
  994. #line 1104 "configure"
  995. #include "confdefs.h"
  996. #include <sys/types.h>
  997. #include <sys/wait.h>
  998. #ifndef WEXITSTATUS
  999. #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
  1000. #endif
  1001. #ifndef WIFEXITED
  1002. #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  1003. #endif
  1004. int main() {
  1005. int s;
  1006. wait (&s);
  1007. s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  1008. ; return 0; }
  1009. EOF
  1010. if { (eval echo configure:1120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1011. rm -rf conftest*
  1012. ac_cv_header_sys_wait_h=yes
  1013. else
  1014. echo "configure: failed program was:" >&5
  1015. cat conftest.$ac_ext >&5
  1016. rm -rf conftest*
  1017. ac_cv_header_sys_wait_h=no
  1018. fi
  1019. rm -f conftest*
  1020. fi
  1021. echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
  1022. if test $ac_cv_header_sys_wait_h = yes; then
  1023. cat >> confdefs.h <<\EOF
  1024. #define HAVE_SYS_WAIT_H 1
  1025. EOF
  1026. fi
  1027. for ac_hdr in ctype.h dirent.h errno.h fcntl.h getopt.h grp.h inttypes.h netdb.h pwd.h signal.h stdint.h strings.h string.h syslog.h tcpd.h unistd.h arpa/inet.h netinet/in.h sys/types.h sys/time.h sys/resource.h sys/wait.h sys/socket.h sys/stat.h
  1028. do
  1029. ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
  1030. echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
  1031. echo "configure:1144: checking for $ac_hdr" >&5
  1032. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  1033. echo $ac_n "(cached) $ac_c" 1>&6
  1034. else
  1035. cat > conftest.$ac_ext <<EOF
  1036. #line 1149 "configure"
  1037. #include "confdefs.h"
  1038. #include <$ac_hdr>
  1039. EOF
  1040. ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  1041. { (eval echo configure:1154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  1042. ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  1043. if test -z "$ac_err"; then
  1044. rm -rf conftest*
  1045. eval "ac_cv_header_$ac_safe=yes"
  1046. else
  1047. echo "$ac_err" >&5
  1048. echo "configure: failed program was:" >&5
  1049. cat conftest.$ac_ext >&5
  1050. rm -rf conftest*
  1051. eval "ac_cv_header_$ac_safe=no"
  1052. fi
  1053. rm -f conftest*
  1054. fi
  1055. if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  1056. echo "$ac_t""yes" 1>&6
  1057. ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  1058. cat >> confdefs.h <<EOF
  1059. #define $ac_tr_hdr 1
  1060. EOF
  1061. else
  1062. echo "$ac_t""no" 1>&6
  1063. fi
  1064. done
  1065. echo $ac_n "checking for working const""... $ac_c" 1>&6
  1066. echo "configure:1182: checking for working const" >&5
  1067. if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  1068. echo $ac_n "(cached) $ac_c" 1>&6
  1069. else
  1070. cat > conftest.$ac_ext <<EOF
  1071. #line 1187 "configure"
  1072. #include "confdefs.h"
  1073. int main() {
  1074. /* Ultrix mips cc rejects this. */
  1075. typedef int charset[2]; const charset x;
  1076. /* SunOS 4.1.1 cc rejects this. */
  1077. char const *const *ccp;
  1078. char **p;
  1079. /* NEC SVR4.0.2 mips cc rejects this. */
  1080. struct point {int x, y;};
  1081. static struct point const zero = {0,0};
  1082. /* AIX XL C 1.02.0.0 rejects this.
  1083. It does not let you subtract one const X* pointer from another in an arm
  1084. of an if-expression whose if-part is not a constant expression */
  1085. const char *g = "string";
  1086. ccp = &g + (g ? g-g : 0);
  1087. /* HPUX 7.0 cc rejects these. */
  1088. ++ccp;
  1089. p = (char**) ccp;
  1090. ccp = (char const *const *) p;
  1091. { /* SCO 3.2v4 cc rejects this. */
  1092. char *t;
  1093. char const *s = 0 ? (char *) 0 : (char const *) 0;
  1094. *t++ = 0;
  1095. }
  1096. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  1097. int x[] = {25, 17};
  1098. const int *foo = &x[0];
  1099. ++foo;
  1100. }
  1101. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  1102. typedef const int *iptr;
  1103. iptr p = 0;
  1104. ++p;
  1105. }
  1106. { /* AIX XL C 1.02.0.0 rejects this saying
  1107. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1108. struct s { int j; const int *ap[3]; };
  1109. struct s *b; b->j = 5;
  1110. }
  1111. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1112. const int foo = 10;
  1113. }
  1114. ; return 0; }
  1115. EOF
  1116. if { (eval echo configure:1236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1117. rm -rf conftest*
  1118. ac_cv_c_const=yes
  1119. else
  1120. echo "configure: failed program was:" >&5
  1121. cat conftest.$ac_ext >&5
  1122. rm -rf conftest*
  1123. ac_cv_c_const=no
  1124. fi
  1125. rm -f conftest*
  1126. fi
  1127. echo "$ac_t""$ac_cv_c_const" 1>&6
  1128. if test $ac_cv_c_const = no; then
  1129. cat >> confdefs.h <<\EOF
  1130. #define const
  1131. EOF
  1132. fi
  1133. echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
  1134. echo "configure:1257: checking whether struct tm is in sys/time.h or time.h" >&5
  1135. if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
  1136. echo $ac_n "(cached) $ac_c" 1>&6
  1137. else
  1138. cat > conftest.$ac_ext <<EOF
  1139. #line 1262 "configure"
  1140. #include "confdefs.h"
  1141. #include <sys/types.h>
  1142. #include <time.h>
  1143. int main() {
  1144. struct tm *tp; tp->tm_sec;
  1145. ; return 0; }
  1146. EOF
  1147. if { (eval echo configure:1270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1148. rm -rf conftest*
  1149. ac_cv_struct_tm=time.h
  1150. else
  1151. echo "configure: failed program was:" >&5
  1152. cat conftest.$ac_ext >&5
  1153. rm -rf conftest*
  1154. ac_cv_struct_tm=sys/time.h
  1155. fi
  1156. rm -f conftest*
  1157. fi
  1158. echo "$ac_t""$ac_cv_struct_tm" 1>&6
  1159. if test $ac_cv_struct_tm = sys/time.h; then
  1160. cat >> confdefs.h <<\EOF
  1161. #define TM_IN_SYS_TIME 1
  1162. EOF
  1163. fi
  1164. echo $ac_n "checking for mode_t""... $ac_c" 1>&6
  1165. echo "configure:1291: checking for mode_t" >&5
  1166. if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
  1167. echo $ac_n "(cached) $ac_c" 1>&6
  1168. else
  1169. cat > conftest.$ac_ext <<EOF
  1170. #line 1296 "configure"
  1171. #include "confdefs.h"
  1172. #include <sys/types.h>
  1173. #if STDC_HEADERS
  1174. #include <stdlib.h>
  1175. #include <stddef.h>
  1176. #endif
  1177. EOF
  1178. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1179. egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1180. rm -rf conftest*
  1181. ac_cv_type_mode_t=yes
  1182. else
  1183. rm -rf conftest*
  1184. ac_cv_type_mode_t=no
  1185. fi
  1186. rm -f conftest*
  1187. fi
  1188. echo "$ac_t""$ac_cv_type_mode_t" 1>&6
  1189. if test $ac_cv_type_mode_t = no; then
  1190. cat >> confdefs.h <<\EOF
  1191. #define mode_t int
  1192. EOF
  1193. fi
  1194. echo $ac_n "checking for pid_t""... $ac_c" 1>&6
  1195. echo "configure:1324: checking for pid_t" >&5
  1196. if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
  1197. echo $ac_n "(cached) $ac_c" 1>&6
  1198. else
  1199. cat > conftest.$ac_ext <<EOF
  1200. #line 1329 "configure"
  1201. #include "confdefs.h"
  1202. #include <sys/types.h>
  1203. #if STDC_HEADERS
  1204. #include <stdlib.h>
  1205. #include <stddef.h>
  1206. #endif
  1207. EOF
  1208. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1209. egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1210. rm -rf conftest*
  1211. ac_cv_type_pid_t=yes
  1212. else
  1213. rm -rf conftest*
  1214. ac_cv_type_pid_t=no
  1215. fi
  1216. rm -f conftest*
  1217. fi
  1218. echo "$ac_t""$ac_cv_type_pid_t" 1>&6
  1219. if test $ac_cv_type_pid_t = no; then
  1220. cat >> confdefs.h <<\EOF
  1221. #define pid_t int
  1222. EOF
  1223. fi
  1224. echo $ac_n "checking for size_t""... $ac_c" 1>&6
  1225. echo "configure:1357: checking for size_t" >&5
  1226. if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  1227. echo $ac_n "(cached) $ac_c" 1>&6
  1228. else
  1229. cat > conftest.$ac_ext <<EOF
  1230. #line 1362 "configure"
  1231. #include "confdefs.h"
  1232. #include <sys/types.h>
  1233. #if STDC_HEADERS
  1234. #include <stdlib.h>
  1235. #include <stddef.h>
  1236. #endif
  1237. EOF
  1238. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1239. egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1240. rm -rf conftest*
  1241. ac_cv_type_size_t=yes
  1242. else
  1243. rm -rf conftest*
  1244. ac_cv_type_size_t=no
  1245. fi
  1246. rm -f conftest*
  1247. fi
  1248. echo "$ac_t""$ac_cv_type_size_t" 1>&6
  1249. if test $ac_cv_type_size_t = no; then
  1250. cat >> confdefs.h <<\EOF
  1251. #define size_t unsigned
  1252. EOF
  1253. fi
  1254. echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
  1255. echo "configure:1390: checking return type of signal handlers" >&5
  1256. if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  1257. echo $ac_n "(cached) $ac_c" 1>&6
  1258. else
  1259. cat > conftest.$ac_ext <<EOF
  1260. #line 1395 "configure"
  1261. #include "confdefs.h"
  1262. #include <sys/types.h>
  1263. #include <signal.h>
  1264. #ifdef signal
  1265. #undef signal
  1266. #endif
  1267. #ifdef __cplusplus
  1268. extern "C" void (*signal (int, void (*)(int)))(int);
  1269. #else
  1270. void (*signal ()) ();
  1271. #endif
  1272. int main() {
  1273. int i;
  1274. ; return 0; }
  1275. EOF
  1276. if { (eval echo configure:1412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1277. rm -rf conftest*
  1278. ac_cv_type_signal=void
  1279. else
  1280. echo "configure: failed program was:" >&5
  1281. cat conftest.$ac_ext >&5
  1282. rm -rf conftest*
  1283. ac_cv_type_signal=int
  1284. fi
  1285. rm -f conftest*
  1286. fi
  1287. echo "$ac_t""$ac_cv_type_signal" 1>&6
  1288. cat >> confdefs.h <<EOF
  1289. #define RETSIGTYPE $ac_cv_type_signal
  1290. EOF
  1291. echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
  1292. echo "configure:1431: checking for uid_t in sys/types.h" >&5
  1293. if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
  1294. echo $ac_n "(cached) $ac_c" 1>&6
  1295. else
  1296. cat > conftest.$ac_ext <<EOF
  1297. #line 1436 "configure"
  1298. #include "confdefs.h"
  1299. #include <sys/types.h>
  1300. EOF
  1301. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1302. egrep "uid_t" >/dev/null 2>&1; then
  1303. rm -rf conftest*
  1304. ac_cv_type_uid_t=yes
  1305. else
  1306. rm -rf conftest*
  1307. ac_cv_type_uid_t=no
  1308. fi
  1309. rm -f conftest*
  1310. fi
  1311. echo "$ac_t""$ac_cv_type_uid_t" 1>&6
  1312. if test $ac_cv_type_uid_t = no; then
  1313. cat >> confdefs.h <<\EOF
  1314. #define uid_t int
  1315. EOF
  1316. cat >> confdefs.h <<\EOF
  1317. #define gid_t int
  1318. EOF
  1319. fi
  1320. echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
  1321. echo "configure:1465: checking type of array argument to getgroups" >&5
  1322. if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
  1323. echo $ac_n "(cached) $ac_c" 1>&6
  1324. else
  1325. if test "$cross_compiling" = yes; then
  1326. ac_cv_type_getgroups=cross
  1327. else
  1328. cat > conftest.$ac_ext <<EOF
  1329. #line 1473 "configure"
  1330. #include "confdefs.h"
  1331. /* Thanks to Mike Rendell for this test. */
  1332. #include <sys/types.h>
  1333. #define NGID 256
  1334. #undef MAX
  1335. #define MAX(x, y) ((x) > (y) ? (x) : (y))
  1336. main()
  1337. {
  1338. gid_t gidset[NGID];
  1339. int i, n;
  1340. union { gid_t gval; long lval; } val;
  1341. val.lval = -1;
  1342. for (i = 0; i < NGID; i++)
  1343. gidset[i] = val.gval;
  1344. n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
  1345. gidset);
  1346. /* Exit non-zero if getgroups seems to require an array of ints. This
  1347. happens when gid_t is short but getgroups modifies an array of ints. */
  1348. exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
  1349. }
  1350. EOF
  1351. if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1352. then
  1353. ac_cv_type_getgroups=gid_t
  1354. else
  1355. echo "configure: failed program was:" >&5
  1356. cat conftest.$ac_ext >&5
  1357. rm -fr conftest*
  1358. ac_cv_type_getgroups=int
  1359. fi
  1360. rm -fr conftest*
  1361. fi
  1362. if test $ac_cv_type_getgroups = cross; then
  1363. cat > conftest.$ac_ext <<EOF
  1364. #line 1512 "configure"
  1365. #include "confdefs.h"
  1366. #include <unistd.h>
  1367. EOF
  1368. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1369. egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then
  1370. rm -rf conftest*
  1371. ac_cv_type_getgroups=gid_t
  1372. else
  1373. rm -rf conftest*
  1374. ac_cv_type_getgroups=int
  1375. fi
  1376. rm -f conftest*
  1377. fi
  1378. fi
  1379. echo "$ac_t""$ac_cv_type_getgroups" 1>&6
  1380. cat >> confdefs.h <<EOF
  1381. #define GETGROUPS_T $ac_cv_type_getgroups
  1382. EOF
  1383. echo $ac_n "checking size of int""... $ac_c" 1>&6
  1384. echo "configure:1537: checking size of int" >&5
  1385. if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
  1386. echo $ac_n "(cached) $ac_c" 1>&6
  1387. else
  1388. if test "$cross_compiling" = yes; then
  1389. { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1390. else
  1391. cat > conftest.$ac_ext <<EOF
  1392. #line 1545 "configure"
  1393. #include "confdefs.h"
  1394. #include <stdio.h>
  1395. int main()
  1396. {
  1397. FILE *f=fopen("conftestval", "w");
  1398. if (!f) return(1);
  1399. fprintf(f, "%d\n", sizeof(int));
  1400. return(0);
  1401. }
  1402. EOF
  1403. if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1404. then
  1405. ac_cv_sizeof_int=`cat conftestval`
  1406. else
  1407. echo "configure: failed program was:" >&5
  1408. cat conftest.$ac_ext >&5
  1409. rm -fr conftest*
  1410. ac_cv_sizeof_int=0
  1411. fi
  1412. rm -fr conftest*
  1413. fi
  1414. fi
  1415. echo "$ac_t""$ac_cv_sizeof_int" 1>&6
  1416. cat >> confdefs.h <<EOF
  1417. #define SIZEOF_INT $ac_cv_sizeof_int
  1418. EOF
  1419. echo $ac_n "checking size of short""... $ac_c" 1>&6
  1420. echo "configure:1576: checking size of short" >&5
  1421. if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
  1422. echo $ac_n "(cached) $ac_c" 1>&6
  1423. else
  1424. if test "$cross_compiling" = yes; then
  1425. { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1426. else
  1427. cat > conftest.$ac_ext <<EOF
  1428. #line 1584 "configure"
  1429. #include "confdefs.h"
  1430. #include <stdio.h>
  1431. int main()
  1432. {
  1433. FILE *f=fopen("conftestval", "w");
  1434. if (!f) return(1);
  1435. fprintf(f, "%d\n", sizeof(short));
  1436. return(0);
  1437. }
  1438. EOF
  1439. if { (eval echo configure:1595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1440. then
  1441. ac_cv_sizeof_short=`cat conftestval`
  1442. else
  1443. echo "configure: failed program was:" >&5
  1444. cat conftest.$ac_ext >&5
  1445. rm -fr conftest*
  1446. ac_cv_sizeof_short=0
  1447. fi
  1448. rm -fr conftest*
  1449. fi
  1450. fi
  1451. echo "$ac_t""$ac_cv_sizeof_short" 1>&6
  1452. cat >> confdefs.h <<EOF
  1453. #define SIZEOF_SHORT $ac_cv_sizeof_short
  1454. EOF
  1455. echo $ac_n "checking size of long""... $ac_c" 1>&6
  1456. echo "configure:1615: checking size of long" >&5
  1457. if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
  1458. echo $ac_n "(cached) $ac_c" 1>&6
  1459. else
  1460. if test "$cross_compiling" = yes; then
  1461. { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
  1462. else
  1463. cat > conftest.$ac_ext <<EOF
  1464. #line 1623 "configure"
  1465. #include "confdefs.h"
  1466. #include <stdio.h>
  1467. int main()
  1468. {
  1469. FILE *f=fopen("conftestval", "w");
  1470. if (!f) return(1);
  1471. fprintf(f, "%d\n", sizeof(long));
  1472. return(0);
  1473. }
  1474. EOF
  1475. if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  1476. then
  1477. ac_cv_sizeof_long=`cat conftestval`
  1478. else
  1479. echo "configure: failed program was:" >&5
  1480. cat conftest.$ac_ext >&5
  1481. rm -fr conftest*
  1482. ac_cv_sizeof_long=0
  1483. fi
  1484. rm -fr conftest*
  1485. fi
  1486. fi
  1487. echo "$ac_t""$ac_cv_sizeof_long" 1>&6
  1488. cat >> confdefs.h <<EOF
  1489. #define SIZEOF_LONG $ac_cv_sizeof_long
  1490. EOF
  1491. echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
  1492. echo "configure:1655: checking for uint32_t" >&5
  1493. if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
  1494. echo $ac_n "(cached) $ac_c" 1>&6
  1495. else
  1496. cat > conftest.$ac_ext <<EOF
  1497. #line 1660 "configure"
  1498. #include "confdefs.h"
  1499. #include <sys/types.h>
  1500. #if STDC_HEADERS
  1501. #include <stdlib.h>
  1502. #include <stddef.h>
  1503. #endif
  1504. EOF
  1505. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1506. egrep "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1507. rm -rf conftest*
  1508. ac_cv_type_uint32_t=yes
  1509. else
  1510. rm -rf conftest*
  1511. ac_cv_type_uint32_t=no
  1512. fi
  1513. rm -f conftest*
  1514. fi
  1515. echo "$ac_t""$ac_cv_type_uint32_t" 1>&6
  1516. if test $ac_cv_type_uint32_t = no; then
  1517. cat >> confdefs.h <<\EOF
  1518. #define uint32_t unsigned int
  1519. EOF
  1520. fi
  1521. echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
  1522. echo "configure:1688: checking for u_int32_t" >&5
  1523. if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
  1524. echo $ac_n "(cached) $ac_c" 1>&6
  1525. else
  1526. cat > conftest.$ac_ext <<EOF
  1527. #line 1693 "configure"
  1528. #include "confdefs.h"
  1529. #include <sys/types.h>
  1530. #if STDC_HEADERS
  1531. #include <stdlib.h>
  1532. #include <stddef.h>
  1533. #endif
  1534. EOF
  1535. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1536. egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1537. rm -rf conftest*
  1538. ac_cv_type_u_int32_t=yes
  1539. else
  1540. rm -rf conftest*
  1541. ac_cv_type_u_int32_t=no
  1542. fi
  1543. rm -f conftest*
  1544. fi
  1545. echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
  1546. if test $ac_cv_type_u_int32_t = no; then
  1547. cat >> confdefs.h <<\EOF
  1548. #define u_int32_t unsigned int
  1549. EOF
  1550. fi
  1551. if test "$ac_cv_type_u_int32_t" = no ; then
  1552. if test "$ac_cv_type_u_int32_t" = yes ; then
  1553. cat >> confdefs.h <<\EOF
  1554. #define U_INT32_T_IS_UINT32_T 1
  1555. EOF
  1556. else
  1557. if test "$ac_cv_sizeof_int" = 4 ; then
  1558. cat >> confdefs.h <<\EOF
  1559. #define U_INT32_T_IS_UINT 1
  1560. EOF
  1561. else
  1562. if test "$ac_cv_sizeof_long" = 4 ; then
  1563. cat >> confdefs.h <<\EOF
  1564. #define U_INT32_T_IS_ULONG 1
  1565. EOF
  1566. else
  1567. if test "$ac_cv_sizeof_short" = 4 ; then
  1568. cat >> confdefs.h <<\EOF
  1569. #define U_INT32_T_IS_USHORT 1
  1570. EOF
  1571. fi
  1572. fi
  1573. fi
  1574. fi
  1575. fi
  1576. echo $ac_n "checking for int32_t""... $ac_c" 1>&6
  1577. echo "configure:1751: checking for int32_t" >&5
  1578. if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
  1579. echo $ac_n "(cached) $ac_c" 1>&6
  1580. else
  1581. cat > conftest.$ac_ext <<EOF
  1582. #line 1756 "configure"
  1583. #include "confdefs.h"
  1584. #include <sys/types.h>
  1585. #if STDC_HEADERS
  1586. #include <stdlib.h>
  1587. #include <stddef.h>
  1588. #endif
  1589. EOF
  1590. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1591. egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  1592. rm -rf conftest*
  1593. ac_cv_type_int32_t=yes
  1594. else
  1595. rm -rf conftest*
  1596. ac_cv_type_int32_t=no
  1597. fi
  1598. rm -f conftest*
  1599. fi
  1600. echo "$ac_t""$ac_cv_type_int32_t" 1>&6
  1601. if test $ac_cv_type_int32_t = no; then
  1602. cat >> confdefs.h <<\EOF
  1603. #define int32_t int
  1604. EOF
  1605. fi
  1606. if test "$ac_cv_type_int32_t" = no ; then
  1607. if test "$ac_cv_sizeof_int" = 4 ; then
  1608. cat >> confdefs.h <<\EOF
  1609. #define INT32_T_IS_UINT 1
  1610. EOF
  1611. else
  1612. if test "$ac_cv_sizeof_long" = 4 ; then
  1613. cat >> confdefs.h <<\EOF
  1614. #define INT32_T_IS_ULONG 1
  1615. EOF
  1616. else
  1617. if test "$ac_cv_sizeof_short" = 4 ; then
  1618. cat >> confdefs.h <<\EOF
  1619. #define INT32_T_IS_USHORT 1
  1620. EOF
  1621. fi
  1622. fi
  1623. fi
  1624. fi
  1625. for ac_func in getopt_long
  1626. do
  1627. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1628. echo "configure:1810: checking for $ac_func" >&5
  1629. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1630. echo $ac_n "(cached) $ac_c" 1>&6
  1631. else
  1632. cat > conftest.$ac_ext <<EOF
  1633. #line 1815 "configure"
  1634. #include "confdefs.h"
  1635. /* System header to define __stub macros and hopefully few prototypes,
  1636. which can conflict with char $ac_func(); below. */
  1637. #include <assert.h>
  1638. /* Override any gcc2 internal prototype to avoid an error. */
  1639. /* We use char because int might match the return type of a gcc2
  1640. builtin and then its argument prototype would still apply. */
  1641. char $ac_func();
  1642. int main() {
  1643. /* The GNU C library defines this for functions which it implements
  1644. to always fail with ENOSYS. Some functions are actually named
  1645. something starting with __ and the normal name is an alias. */
  1646. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1647. choke me
  1648. #else
  1649. $ac_func();
  1650. #endif
  1651. ; return 0; }
  1652. EOF
  1653. if { (eval echo configure:1838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1654. rm -rf conftest*
  1655. eval "ac_cv_func_$ac_func=yes"
  1656. else
  1657. echo "configure: failed program was:" >&5
  1658. cat conftest.$ac_ext >&5
  1659. rm -rf conftest*
  1660. eval "ac_cv_func_$ac_func=no"
  1661. fi
  1662. rm -f conftest*
  1663. fi
  1664. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1665. echo "$ac_t""yes" 1>&6
  1666. ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1667. cat >> confdefs.h <<EOF
  1668. #define $ac_tr_func 1
  1669. EOF
  1670. else
  1671. echo "$ac_t""no" 1>&6
  1672. echo $ac_n "checking for getopt_long in -liberty""... $ac_c" 1>&6
  1673. echo "configure:1860: checking for getopt_long in -liberty" >&5
  1674. ac_lib_var=`echo iberty'_'getopt_long | sed 'y%./+-%__p_%'`
  1675. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1676. echo $ac_n "(cached) $ac_c" 1>&6
  1677. else
  1678. ac_save_LIBS="$LIBS"
  1679. LIBS="-liberty $LIBS"
  1680. cat > conftest.$ac_ext <<EOF
  1681. #line 1868 "configure"
  1682. #include "confdefs.h"
  1683. /* Override any gcc2 internal prototype to avoid an error. */
  1684. /* We use char because int might match the return type of a gcc2
  1685. builtin and then its argument prototype would still apply. */
  1686. char getopt_long();
  1687. int main() {
  1688. getopt_long()
  1689. ; return 0; }
  1690. EOF
  1691. if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1692. rm -rf conftest*
  1693. eval "ac_cv_lib_$ac_lib_var=yes"
  1694. else
  1695. echo "configure: failed program was:" >&5
  1696. cat conftest.$ac_ext >&5
  1697. rm -rf conftest*
  1698. eval "ac_cv_lib_$ac_lib_var=no"
  1699. fi
  1700. rm -f conftest*
  1701. LIBS="$ac_save_LIBS"
  1702. fi
  1703. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1704. echo "$ac_t""yes" 1>&6
  1705. OTHERLIBS="$OTHERLIBS -liberty"
  1706. else
  1707. echo "$ac_t""no" 1>&6
  1708. fi
  1709. fi
  1710. done
  1711. echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
  1712. echo "configure:1905: checking for main in -lnsl" >&5
  1713. ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
  1714. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1715. echo $ac_n "(cached) $ac_c" 1>&6
  1716. else
  1717. ac_save_LIBS="$LIBS"
  1718. LIBS="-lnsl $LIBS"
  1719. cat > conftest.$ac_ext <<EOF
  1720. #line 1913 "configure"
  1721. #include "confdefs.h"
  1722. int main() {
  1723. main()
  1724. ; return 0; }
  1725. EOF
  1726. if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1727. rm -rf conftest*
  1728. eval "ac_cv_lib_$ac_lib_var=yes"
  1729. else
  1730. echo "configure: failed program was:" >&5
  1731. cat conftest.$ac_ext >&5
  1732. rm -rf conftest*
  1733. eval "ac_cv_lib_$ac_lib_var=no"
  1734. fi
  1735. rm -f conftest*
  1736. LIBS="$ac_save_LIBS"
  1737. fi
  1738. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1739. echo "$ac_t""yes" 1>&6
  1740. SOCKETLIBS="$SOCKETLIBS -lnsl"
  1741. else
  1742. echo "$ac_t""no" 1>&6
  1743. fi
  1744. echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
  1745. echo "configure:1941: checking for socket in -lsocket" >&5
  1746. ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
  1747. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1748. echo $ac_n "(cached) $ac_c" 1>&6
  1749. else
  1750. ac_save_LIBS="$LIBS"
  1751. LIBS="-lsocket $LIBS"
  1752. cat > conftest.$ac_ext <<EOF
  1753. #line 1949 "configure"
  1754. #include "confdefs.h"
  1755. /* Override any gcc2 internal prototype to avoid an error. */
  1756. /* We use char because int might match the return type of a gcc2
  1757. builtin and then its argument prototype would still apply. */
  1758. char socket();
  1759. int main() {
  1760. socket()
  1761. ; return 0; }
  1762. EOF
  1763. if { (eval echo configure:1960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1764. rm -rf conftest*
  1765. eval "ac_cv_lib_$ac_lib_var=yes"
  1766. else
  1767. echo "configure: failed program was:" >&5
  1768. cat conftest.$ac_ext >&5
  1769. rm -rf conftest*
  1770. eval "ac_cv_lib_$ac_lib_var=no"
  1771. fi
  1772. rm -f conftest*
  1773. LIBS="$ac_save_LIBS"
  1774. fi
  1775. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1776. echo "$ac_t""yes" 1>&6
  1777. SOCKETLIBS="$SOCKETLIBS -lsocket"
  1778. else
  1779. echo "$ac_t""no" 1>&6
  1780. fi
  1781. echo $ac_n "checking for main in -lwrap""... $ac_c" 1>&6
  1782. echo "configure:1982: checking for main in -lwrap" >&5
  1783. ac_lib_var=`echo wrap'_'main | sed 'y%./+-%__p_%'`
  1784. if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  1785. echo $ac_n "(cached) $ac_c" 1>&6
  1786. else
  1787. ac_save_LIBS="$LIBS"
  1788. LIBS="-lwrap $LIBS"
  1789. cat > conftest.$ac_ext <<EOF
  1790. #line 1990 "configure"
  1791. #include "confdefs.h"
  1792. int main() {
  1793. main()
  1794. ; return 0; }
  1795. EOF
  1796. if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1797. rm -rf conftest*
  1798. eval "ac_cv_lib_$ac_lib_var=yes"
  1799. else
  1800. echo "configure: failed program was:" >&5
  1801. cat conftest.$ac_ext >&5
  1802. rm -rf conftest*
  1803. eval "ac_cv_lib_$ac_lib_var=no"
  1804. fi
  1805. rm -f conftest*
  1806. LIBS="$ac_save_LIBS"
  1807. fi
  1808. if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  1809. echo "$ac_t""yes" 1>&6
  1810. LIBWRAPLIBS="$LIBWRAPLIBS -lwrap"
  1811. cat >> confdefs.h <<\EOF
  1812. #define HAVE_LIBWRAP 1
  1813. EOF
  1814. else
  1815. echo "$ac_t""no" 1>&6
  1816. fi
  1817. for ac_func in strdup strstr strtoul initgroups
  1818. do
  1819. echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
  1820. echo "configure:2027: checking for $ac_func" >&5
  1821. if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  1822. echo $ac_n "(cached) $ac_c" 1>&6
  1823. else
  1824. cat > conftest.$ac_ext <<EOF
  1825. #line 2032 "configure"
  1826. #include "confdefs.h"
  1827. /* System header to define __stub macros and hopefully few prototypes,
  1828. which can conflict with char $ac_func(); below. */
  1829. #include <assert.h>
  1830. /* Override any gcc2 internal prototype to avoid an error. */
  1831. /* We use char because int might match the return type of a gcc2
  1832. builtin and then its argument prototype would still apply. */
  1833. char $ac_func();
  1834. int main() {
  1835. /* The GNU C library defines this for functions which it implements
  1836. to always fail with ENOSYS. Some functions are actually named
  1837. something starting with __ and the normal name is an alias. */
  1838. #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  1839. choke me
  1840. #else
  1841. $ac_func();
  1842. #endif
  1843. ; return 0; }
  1844. EOF
  1845. if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  1846. rm -rf conftest*
  1847. eval "ac_cv_func_$ac_func=yes"
  1848. else
  1849. echo "configure: failed program was:" >&5
  1850. cat conftest.$ac_ext >&5
  1851. rm -rf conftest*
  1852. eval "ac_cv_func_$ac_func=no"
  1853. fi
  1854. rm -f conftest*
  1855. fi
  1856. if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  1857. echo "$ac_t""yes" 1>&6
  1858. ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  1859. cat >> confdefs.h <<EOF
  1860. #define $ac_tr_func 1
  1861. EOF
  1862. else
  1863. echo "$ac_t""no" 1>&6
  1864. fi
  1865. done
  1866. echo $ac_n "checking for type of socket size""... $ac_c" 1>&6
  1867. echo "configure:2081: checking for type of socket size" >&5
  1868. cat > conftest.$ac_ext <<EOF
  1869. #line 2083 "configure"
  1870. #include "confdefs.h"
  1871. #include <stdlib.h>
  1872. #include <sys/types.h>
  1873. #include <sys/socket.h>
  1874. int main() {
  1875. int a = send(1, (const void *)0, (size_t *) 0, (int *) 0);
  1876. ; return 0; }
  1877. EOF
  1878. if { (eval echo configure:2093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1879. rm -rf conftest*
  1880. cat >> confdefs.h <<\EOF
  1881. #define SOCKET_SIZE_TYPE size_t
  1882. EOF
  1883. echo "$ac_t""size_t" 1>&6
  1884. else
  1885. echo "configure: failed program was:" >&5
  1886. cat conftest.$ac_ext >&5
  1887. rm -rf conftest*
  1888. cat >> confdefs.h <<\EOF
  1889. #define SOCKET_SIZE_TYPE int
  1890. EOF
  1891. echo "$ac_t""int" 1>&6
  1892. fi
  1893. rm -f conftest*
  1894. # Check whether --enable-ssl or --disable-ssl was given.
  1895. if test "${enable_ssl+set}" = set; then
  1896. enableval="$enable_ssl"
  1897. if test x$enableval = xyes; then
  1898. check_for_ssl=yes
  1899. else
  1900. check_for_ssl=no
  1901. fi
  1902. else
  1903. check_for_ssl=yes
  1904. fi
  1905. ssl_lib_dir=
  1906. ssl_inc_dir=
  1907. # Check whether --with-ssl-lib or --without-ssl-lib was given.
  1908. if test "${with_ssl_lib+set}" = set; then
  1909. withval="$with_ssl_lib"
  1910. ssl_lib_dir=$withval
  1911. fi
  1912. # Check whether --with-ssl-inc or --without-ssl-inc was given.
  1913. if test "${with_ssl_inc+set}" = set; then
  1914. withval="$with_ssl_inc"
  1915. ssl_inc_dir=$withval
  1916. fi
  1917. # Check whether --with-kerberos-inc or --without-kerberos-inc was given.
  1918. if test "${with_kerberos_inc+set}" = set; then
  1919. withval="$with_kerberos_inc"
  1920. kerberos_inc_dir=$withval
  1921. fi
  1922. if test x$check_for_ssl = xyes; then
  1923. echo $ac_n "checking for SSL""... $ac_c" 1>&6
  1924. echo "configure:2154: checking for SSL" >&5
  1925. found_ssl=no
  1926. for dir in $ssl_inc_dir /usr/local/openssl /usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr; do
  1927. ssldir="$dir"
  1928. if test -f "$dir/include/openssl/ssl.h"; then
  1929. found_ssl=yes
  1930. CFLAGS="$CFLAGS -I$ssldir/include/openssl -I$ssldir/include"
  1931. break
  1932. fi
  1933. if test -f "$dir/include/ssl.h"; then
  1934. found_ssl=yes
  1935. CFLAGS="$CFLAGS -I$ssldir/include"
  1936. break
  1937. fi
  1938. done
  1939. if test x_$found_ssl != x_yes; then
  1940. { echo "configure: error: Cannot find ssl libraries" 1>&2; exit 1; }
  1941. else
  1942. printf "SSL found in $ssldir\n";
  1943. LIBS="$LIBS -lssl -lcrypto";
  1944. if test x$ssl_lib_dir != x; then
  1945. LDFLAGS="$LDFLAGS -L$ssl_lib_dir";
  1946. else
  1947. LDFLAGS="$LDFLAGS -L$ssldir/lib";
  1948. fi
  1949. cat >> confdefs.h <<EOF
  1950. #define HAVE_SSL 1
  1951. EOF
  1952. echo ""
  1953. echo "*** Generating DH Parameters for SSL/TLS ***"
  1954. if test -f "$ssldir/sbin/openssl"; then
  1955. sslbin=$ssldir/sbin/openssl
  1956. else
  1957. sslbin=$ssldir/bin/openssl
  1958. fi
  1959. $sslbin dhparam -out /dev/null -C 512 > include/dh.h
  1960. fi
  1961. echo $ac_n "checking for Kerberos include files""... $ac_c" 1>&6
  1962. echo "configure:2197: checking for Kerberos include files" >&5
  1963. found_kerberos=no
  1964. for dir in $kerberos_inc_dir /usr/kerberos/include; do
  1965. kerbdir="$dir"
  1966. if test -f "$dir/krb5.h"; then
  1967. found_kerberos=yes
  1968. CFLAGS="$CFLAGS -I$kerbdir"
  1969. cat >> confdefs.h <<EOF
  1970. #define HAVE_KRB5_H 1
  1971. EOF
  1972. break
  1973. fi
  1974. done
  1975. if test x_$found_kerberos != x_yes; then
  1976. printf "could not find include files\n";
  1977. else
  1978. printf "found Kerberos include files in $kerbdir\n";
  1979. fi
  1980. fi
  1981. # Check whether --with-nrpe_user or --without-nrpe_user was given.
  1982. if test "${with_nrpe_user+set}" = set; then
  1983. withval="$with_nrpe_user"
  1984. nrpe_user=$withval
  1985. else
  1986. nrpe_user=nagios
  1987. fi
  1988. # Check whether --with-nrpe_group or --without-nrpe_group was given.
  1989. if test "${with_nrpe_group+set}" = set; then
  1990. withval="$with_nrpe_group"
  1991. nrpe_grp=$withval
  1992. else
  1993. nrpe_grp=nagios
  1994. fi
  1995. # Check whether --with-nrpe_port or --without-nrpe_port was given.
  1996. if test "${with_nrpe_port+set}" = set; then
  1997. withval="$with_nrpe_port"
  1998. nrpe_port=$withval
  1999. else
  2000. nrpe_port=5666
  2001. fi
  2002. cat >> confdefs.h <<EOF
  2003. #define DEFAULT_SERVER_PORT $nrpe_port
  2004. EOF
  2005. # Check whether --enable-command-args or --disable-command-args was given.
  2006. if test "${enable_command_args+set}" = set; then
  2007. enableval="$enable_command_args"
  2008. cat >> confdefs.h <<EOF
  2009. #define ENABLE_COMMAND_ARGUMENTS 1
  2010. EOF
  2011. fi
  2012. # Extract the first word of "perl", so it can be a program name with args.
  2013. set dummy perl; ac_word=$2
  2014. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  2015. echo "configure:2267: checking for $ac_word" >&5
  2016. if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
  2017. echo $ac_n "(cached) $ac_c" 1>&6
  2018. else
  2019. case "$PERL" in
  2020. /*)
  2021. ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  2022. ;;
  2023. ?:/*)
  2024. ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
  2025. ;;
  2026. *)
  2027. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  2028. ac_dummy="$PATH"
  2029. for ac_dir in $ac_dummy; do
  2030. test -z "$ac_dir" && ac_dir=.
  2031. if test -f $ac_dir/$ac_word; then
  2032. ac_cv_path_PERL="$ac_dir/$ac_word"
  2033. break
  2034. fi
  2035. done
  2036. IFS="$ac_save_ifs"
  2037. ;;
  2038. esac
  2039. fi
  2040. PERL="$ac_cv_path_PERL"
  2041. if test -n "$PERL"; then
  2042. echo "$ac_t""$PERL" 1>&6
  2043. else
  2044. echo "$ac_t""no" 1>&6
  2045. fi
  2046. trap '' 1 2 15
  2047. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  2048. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  2049. # Let make expand exec_prefix.
  2050. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  2051. # Any assignment to VPATH causes Sun make to only execute
  2052. # the first set of double-colon rules, so remove it if not needed.
  2053. # If there is a colon in the path, we need to keep it.
  2054. if test "x$srcdir" = x.; then
  2055. ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
  2056. fi
  2057. trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  2058. DEFS=-DHAVE_CONFIG_H
  2059. # Without the "./", some shells look in PATH for config.status.
  2060. : ${CONFIG_STATUS=./config.status}
  2061. echo creating $CONFIG_STATUS
  2062. rm -f $CONFIG_STATUS
  2063. cat > $CONFIG_STATUS <<EOF
  2064. #! /bin/sh
  2065. # Generated automatically by configure.
  2066. # Run this file to recreate the current configuration.
  2067. # This directory was configured as follows,
  2068. # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  2069. #
  2070. # $0 $ac_configure_args
  2071. #
  2072. # Compiler output produced by configure, useful for debugging
  2073. # configure, is in ./config.log if it exists.
  2074. ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  2075. for ac_option
  2076. do
  2077. case "\$ac_option" in
  2078. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  2079. echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
  2080. exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  2081. -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  2082. echo "$CONFIG_STATUS generated by autoconf version 2.13"
  2083. exit 0 ;;
  2084. -help | --help | --hel | --he | --h)
  2085. echo "\$ac_cs_usage"; exit 0 ;;
  2086. *) echo "\$ac_cs_usage"; exit 1 ;;
  2087. esac
  2088. done
  2089. ac_given_srcdir=$srcdir
  2090. ac_given_INSTALL="$INSTALL"
  2091. trap 'rm -fr `echo "Makefile src/Makefile subst include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  2092. EOF
  2093. cat >> $CONFIG_STATUS <<EOF
  2094. # Protect against being on the right side of a sed subst in config.status.
  2095. sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  2096. s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  2097. $ac_vpsub
  2098. $extrasub
  2099. s%@SHELL@%$SHELL%g
  2100. s%@CFLAGS@%$CFLAGS%g
  2101. s%@CPPFLAGS@%$CPPFLAGS%g
  2102. s%@CXXFLAGS@%$CXXFLAGS%g
  2103. s%@FFLAGS@%$FFLAGS%g
  2104. s%@DEFS@%$DEFS%g
  2105. s%@LDFLAGS@%$LDFLAGS%g
  2106. s%@LIBS@%$LIBS%g
  2107. s%@exec_prefix@%$exec_prefix%g
  2108. s%@prefix@%$prefix%g
  2109. s%@program_transform_name@%$program_transform_name%g
  2110. s%@bindir@%$bindir%g
  2111. s%@sbindir@%$sbindir%g
  2112. s%@libexecdir@%$libexecdir%g
  2113. s%@datadir@%$datadir%g
  2114. s%@sysconfdir@%$sysconfdir%g
  2115. s%@sharedstatedir@%$sharedstatedir%g
  2116. s%@localstatedir@%$localstatedir%g
  2117. s%@libdir@%$libdir%g
  2118. s%@includedir@%$includedir%g
  2119. s%@oldincludedir@%$oldincludedir%g
  2120. s%@infodir@%$infodir%g
  2121. s%@mandir@%$mandir%g
  2122. s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
  2123. s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  2124. s%@INSTALL_DATA@%$INSTALL_DATA%g
  2125. s%@INSTALL@%$INSTALL%g
  2126. s%@CC@%$CC%g
  2127. s%@SET_MAKE@%$SET_MAKE%g
  2128. s%@CPP@%$CPP%g
  2129. s%@OTHERLIBS@%$OTHERLIBS%g
  2130. s%@SOCKETLIBS@%$SOCKETLIBS%g
  2131. s%@LIBWRAPLIBS@%$LIBWRAPLIBS%g
  2132. s%@HAVE_SSL@%$HAVE_SSL%g
  2133. s%@nrpe_user@%$nrpe_user%g
  2134. s%@nrpe_grp@%$nrpe_grp%g
  2135. s%@nrpe_port@%$nrpe_port%g
  2136. s%@PERL@%$PERL%g
  2137. CEOF
  2138. EOF
  2139. cat >> $CONFIG_STATUS <<\EOF
  2140. # Split the substitutions into bite-sized pieces for seds with
  2141. # small command number limits, like on Digital OSF/1 and HP-UX.
  2142. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  2143. ac_file=1 # Number of current file.
  2144. ac_beg=1 # First line for current file.
  2145. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  2146. ac_more_lines=:
  2147. ac_sed_cmds=""
  2148. while $ac_more_lines; do
  2149. if test $ac_beg -gt 1; then
  2150. sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  2151. else
  2152. sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  2153. fi
  2154. if test ! -s conftest.s$ac_file; then
  2155. ac_more_lines=false
  2156. rm -f conftest.s$ac_file
  2157. else
  2158. if test -z "$ac_sed_cmds"; then
  2159. ac_sed_cmds="sed -f conftest.s$ac_file"
  2160. else
  2161. ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  2162. fi
  2163. ac_file=`expr $ac_file + 1`
  2164. ac_beg=$ac_end
  2165. ac_end=`expr $ac_end + $ac_max_sed_cmds`
  2166. fi
  2167. done
  2168. if test -z "$ac_sed_cmds"; then
  2169. ac_sed_cmds=cat
  2170. fi
  2171. EOF
  2172. cat >> $CONFIG_STATUS <<EOF
  2173. CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile subst"}
  2174. EOF
  2175. cat >> $CONFIG_STATUS <<\EOF
  2176. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  2177. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  2178. case "$ac_file" in
  2179. *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  2180. ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2181. *) ac_file_in="${ac_file}.in" ;;
  2182. esac
  2183. # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  2184. # Remove last slash and all that follows it. Not all systems have dirname.
  2185. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2186. if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2187. # The file is in a subdirectory.
  2188. test ! -d "$ac_dir" && mkdir "$ac_dir"
  2189. ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  2190. # A "../" for each directory in $ac_dir_suffix.
  2191. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  2192. else
  2193. ac_dir_suffix= ac_dots=
  2194. fi
  2195. case "$ac_given_srcdir" in
  2196. .) srcdir=.
  2197. if test -z "$ac_dots"; then top_srcdir=.
  2198. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  2199. /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  2200. *) # Relative path.
  2201. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  2202. top_srcdir="$ac_dots$ac_given_srcdir" ;;
  2203. esac
  2204. case "$ac_given_INSTALL" in
  2205. [/$]*) INSTALL="$ac_given_INSTALL" ;;
  2206. *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  2207. esac
  2208. echo creating "$ac_file"
  2209. rm -f "$ac_file"
  2210. configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  2211. case "$ac_file" in
  2212. *Makefile*) ac_comsub="1i\\
  2213. # $configure_input" ;;
  2214. *) ac_comsub= ;;
  2215. esac
  2216. ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  2217. sed -e "$ac_comsub
  2218. s%@configure_input@%$configure_input%g
  2219. s%@srcdir@%$srcdir%g
  2220. s%@top_srcdir@%$top_srcdir%g
  2221. s%@INSTALL@%$INSTALL%g
  2222. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  2223. fi; done
  2224. rm -f conftest.s*
  2225. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  2226. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  2227. #
  2228. # ac_d sets the value in "#define NAME VALUE" lines.
  2229. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  2230. ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
  2231. ac_dC='\3'
  2232. ac_dD='%g'
  2233. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  2234. ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  2235. ac_uB='\([ ]\)%\1#\2define\3'
  2236. ac_uC=' '
  2237. ac_uD='\4%g'
  2238. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  2239. ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  2240. ac_eB='$%\1#\2define\3'
  2241. ac_eC=' '
  2242. ac_eD='%g'
  2243. if test "${CONFIG_HEADERS+set}" != set; then
  2244. EOF
  2245. cat >> $CONFIG_STATUS <<EOF
  2246. CONFIG_HEADERS="include/config.h"
  2247. EOF
  2248. cat >> $CONFIG_STATUS <<\EOF
  2249. fi
  2250. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  2251. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  2252. case "$ac_file" in
  2253. *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  2254. ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  2255. *) ac_file_in="${ac_file}.in" ;;
  2256. esac
  2257. echo creating $ac_file
  2258. rm -f conftest.frag conftest.in conftest.out
  2259. ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  2260. cat $ac_file_inputs > conftest.in
  2261. EOF
  2262. # Transform confdefs.h into a sed script conftest.vals that substitutes
  2263. # the proper values into config.h.in to produce config.h. And first:
  2264. # Protect against being on the right side of a sed subst in config.status.
  2265. # Protect against being in an unquoted here document in config.status.
  2266. rm -f conftest.vals
  2267. cat > conftest.hdr <<\EOF
  2268. s/[\\&%]/\\&/g
  2269. s%[\\$`]%\\&%g
  2270. s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
  2271. s%ac_d%ac_u%gp
  2272. s%ac_u%ac_e%gp
  2273. EOF
  2274. sed -n -f conftest.hdr confdefs.h > conftest.vals
  2275. rm -f conftest.hdr
  2276. # This sed command replaces #undef with comments. This is necessary, for
  2277. # example, in the case of _POSIX_SOURCE, which is predefined and required
  2278. # on some systems where configure will not decide to define it.
  2279. cat >> conftest.vals <<\EOF
  2280. s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  2281. EOF
  2282. # Break up conftest.vals because some shells have a limit on
  2283. # the size of here documents, and old seds have small limits too.
  2284. rm -f conftest.tail
  2285. while :
  2286. do
  2287. ac_lines=`grep -c . conftest.vals`
  2288. # grep -c gives empty output for an empty file on some AIX systems.
  2289. if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  2290. # Write a limited-size here document to conftest.frag.
  2291. echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  2292. sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  2293. echo 'CEOF
  2294. sed -f conftest.frag conftest.in > conftest.out
  2295. rm -f conftest.in
  2296. mv conftest.out conftest.in
  2297. ' >> $CONFIG_STATUS
  2298. sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  2299. rm -f conftest.vals
  2300. mv conftest.tail conftest.vals
  2301. done
  2302. rm -f conftest.vals
  2303. cat >> $CONFIG_STATUS <<\EOF
  2304. rm -f conftest.frag conftest.h
  2305. echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
  2306. cat conftest.in >> conftest.h
  2307. rm -f conftest.in
  2308. if cmp -s $ac_file conftest.h 2>/dev/null; then
  2309. echo "$ac_file is unchanged"
  2310. rm -f conftest.h
  2311. else
  2312. # Remove last slash and all that follows it. Not all systems have dirname.
  2313. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  2314. if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  2315. # The file is in a subdirectory.
  2316. test ! -d "$ac_dir" && mkdir "$ac_dir"
  2317. fi
  2318. rm -f $ac_file
  2319. mv conftest.h $ac_file
  2320. fi
  2321. fi; done
  2322. EOF
  2323. cat >> $CONFIG_STATUS <<EOF
  2324. EOF
  2325. cat >> $CONFIG_STATUS <<\EOF
  2326. exit 0
  2327. EOF
  2328. chmod +x $CONFIG_STATUS
  2329. rm -fr confdefs* $ac_clean_files
  2330. test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  2331. perl subst init-script
  2332. perl subst init-script.debian
  2333. perl subst init-script.freebsd
  2334. perl subst sample-config/nrpe.cfg
  2335. perl subst sample-config/nrpe.xinetd
  2336. echo ""
  2337. echo ""
  2338. echo "$ac_t""*** Configuration summary for $PKG_NAME $PKG_VERSION $PKG_REL_DATE ***:" 1>&6
  2339. echo ""
  2340. echo " General Options:"
  2341. echo " -------------------------"
  2342. echo "$ac_t"" NRPE port: $nrpe_port" 1>&6
  2343. echo "$ac_t"" NRPE user: $nrpe_user" 1>&6
  2344. echo "$ac_t"" NRPE group: $nrpe_grp" 1>&6
  2345. echo ""
  2346. echo ""
  2347. echo "Review the options above for accuracy. If they look okay,"
  2348. echo "type 'make all' to compile the NRPE daemon and client."
  2349. echo ""