ax_nagios_get_paths 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. # ===========================================================================
  2. # SYNOPSIS
  3. #
  4. # AX_NAGIOS_GET_PATHS
  5. #
  6. # DESCRIPTION
  7. #
  8. # This macro figures out the installation & run paths for various systems
  9. # The argument are:
  10. # the O/S determined by the AX_NAGIOS_GET_OS macro.
  11. # the distribution type as determined by AX_NAGIOS_GET_DISTRIB_TYPE
  12. # the init type as determined by AX_NAGIOS_GET_INIT
  13. # the inetd type as determined by AX_NAGIOS_GET_INETD
  14. #
  15. # LICENSE
  16. #
  17. # Copyright (c) 2016 Nagios Core Development Team
  18. #
  19. # This program is free software; you can redistribute it and/or modify it
  20. # under the terms of the GNU General Public License as published by the
  21. # Free Software Foundation; either version 2 of the License, or (at your
  22. # option) any later version.
  23. #
  24. # This program is distributed in the hope that it will be useful, but
  25. # WITHOUT ANY WARRANTY; without even the implied warranty of
  26. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
  27. # Public License for more details.
  28. #
  29. # You should have received a copy of the GNU General Public License along
  30. # with this program. If not, see <http://www.gnu.org/licenses/>.
  31. #
  32. # As a special exception, the respective Autoconf Macro's copyright owner
  33. # gives unlimited permission to copy, distribute and modify the configure
  34. # scripts that are the output of Autoconf when processing the Macro. You
  35. # need not follow the terms of the GNU General Public License when using
  36. # or distributing such scripts, even though portions of the text of the
  37. # Macro appear in them. The GNU General Public License (GPL) does govern
  38. # all other use of the material that constitutes the Autoconf Macro.
  39. #
  40. # This special exception to the GPL applies to versions of the Autoconf
  41. # Macro released by the Autoconf Archive. When you make and distribute a
  42. # modified version of the Autoconf Macro, you may extend this special
  43. # exception to the GPL to apply to your modified version as well.
  44. # ===========================================================================
  45. AU_ALIAS([AC_NAGIOS_GET_PATHS], [AX_NAGIOS_GET_PATHS])
  46. AC_DEFUN([AX_NAGIOS_GET_PATHS],
  47. [
  48. if test x$DBG_PATHS != x; then
  49. echo
  50. echo Incoming paths:
  51. echo " prefix $prefix"
  52. echo " exec_prefix $exec_prefix"
  53. echo " bindir $bindir"
  54. echo " sbindir $sbindir"
  55. echo " libexecdir $libexecdir"
  56. echo " sysconfdir $sysconfdir"
  57. echo " localstatedir $localstatedir"
  58. echo " datarootdir $datarootdir"
  59. echo " datadir $datadir"
  60. echo " localedir $localedir"
  61. echo
  62. fi
  63. AC_MSG_CHECKING(for which paths to use )
  64. AC_ARG_ENABLE(install_method,
  65. AC_HELP_STRING([--enable-install-method=<method>],
  66. [sets the install method to use: 'default' (the default) will install to
  67. /usr/local/nagios, 'opt' will be like 'default', except will install to
  68. /opt/nagios instead, 'os' will try to determine which method to use based
  69. on OS type and distribution. Fine tuning using the '--bindir', etc.
  70. overrides above will still work]),
  71. install_method=$enableval,
  72. install_method=default
  73. )
  74. AC_ARG_ENABLE(showdirs_only,
  75. AC_HELP_STRING([--enable-showdirs-only=yes],
  76. [This option will cause 'configure' to stop after determining the install
  77. locations based on '--enable-install-method', so you can see the
  78. destinations before a full './configure', 'make', 'make install'
  79. process.]),
  80. showdirs_only=$enableval,
  81. showdirs_only=no
  82. )
  83. AS_CASE([$install_method],
  84. [yes], install_method="os",
  85. [no], install_method="default",
  86. [opt|default|os], :,
  87. [*], echo >&6; AC_MSG_ERROR(['--enable-install-method=$install_method' is invalid])
  88. )
  89. if test $showdirs_only != "no"; then showdirs_only="yes"; fi
  90. AS_CASE([$dist_type],
  91. [*solaris*|*hp-ux*|*aix*|*osx*], opsys=unix)
  92. need_cgi=no
  93. need_web=no
  94. need_brk=no
  95. need_plg=no
  96. need_pipe=no
  97. need_spl=no
  98. need_loc=no
  99. need_log_subdir=no
  100. need_etc_subdir=no
  101. need_pls_dir=no
  102. AS_CASE([$PKG_NAME],
  103. [nagios],
  104. need_log_subdir=yes
  105. need_etc_subdir=yes
  106. need_pls_dir=yes
  107. need_brk=yes
  108. need_pipe=yes
  109. need_spl=yes
  110. need_loc=yes
  111. need_cgi=yes
  112. need_web=yes,
  113. [ndoutils],
  114. need_spl=yes,
  115. [nrpe],
  116. need_plg=yes,
  117. [nsca],
  118. need_cgi=no,
  119. [plugins],
  120. need_loc=yes
  121. need_plg=yes
  122. )
  123. AC_ARG_WITH(pkgsysconfdir, AC_HELP_STRING([--with-pkgsysconfdir=DIR],
  124. [where configuration files should be placed]),
  125. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  126. pkgsysconfdir="$withval"
  127. fi)
  128. AC_ARG_WITH(objsysconfdir, AC_HELP_STRING([--with-objsysconfdir=DIR],
  129. [where object configuration files should be placed]),
  130. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  131. objsysconfdir="$withval"
  132. fi)
  133. AC_ARG_WITH(privatesysconfdir, AC_HELP_STRING([--with-privatesysconfdir=DIR],
  134. [where private configuration files should be placed]),
  135. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  136. privatesysconfdir="$withval"
  137. fi)
  138. AC_ARG_WITH(webdir, AC_HELP_STRING([--with-webdir=DIR],
  139. [where the website files should be placed]),
  140. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  141. webdir="$withval"
  142. fi)
  143. AC_ARG_WITH(pluginsdir, AC_HELP_STRING([--with-pluginsdir=DIR],
  144. [where the plugins should be placed]),
  145. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  146. pluginsdir="$withval"
  147. fi)
  148. AC_ARG_WITH(brokersdir, AC_HELP_STRING([--with-brokersdir=DIR],
  149. [where the broker modules should be placed]),
  150. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  151. brokersdir="$withval"
  152. fi)
  153. AC_ARG_WITH(cgibindir, AC_HELP_STRING([--with-cgibindir=DIR],
  154. [where the CGI programs should be placed]),
  155. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  156. cgibindir="$withval"
  157. fi)
  158. AC_ARG_WITH(logdir, AC_HELP_STRING([--with-logdir=DIR],
  159. [where log files should be placed]),
  160. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  161. logdir="$withval"
  162. fi)
  163. AC_ARG_WITH(piddir, AC_HELP_STRING([--with-piddir=DIR],
  164. [where the PID file should be placed]),
  165. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  166. piddir="$withval"
  167. fi)
  168. AC_ARG_WITH(pipedir, AC_HELP_STRING([--with-pipedir=DIR],
  169. [where socket and pipe files should be placed]),
  170. if test x$withval != x -a x$withval != xno -a x$withval != xyes; then
  171. pipedir="$withval"
  172. fi)
  173. #AC_SUBST(sbindir)
  174. #AC_SUBST(initname)
  175. #AC_SUBST(inetdname)
  176. #AC_SUBST(pkglocalstatedir)
  177. #AC_SUBST(spooldir)
  178. #AC_SUBST(initdir)
  179. #AC_SUBST(inetddir)
  180. #AC_SUBST(tmpfilesd)
  181. #AC_SUBST(subsyslockdir)
  182. # docdir ??
  183. # includedir ??
  184. # mandir ??
  185. # pdfdir ??
  186. #
  187. # Setup the base directory
  188. #
  189. if test $install_method = "default"; then
  190. if test $opsys = "unix"; then
  191. if test x"$prefix" = "xNONE"; then prefix="/usr/local/$PKG_NAME"; fi
  192. else
  193. if test x"$prefix" = "xNONE"; then prefix=${ac_default_prefix}; fi
  194. fi
  195. datarootdir=${datarootdir="$prefix"}
  196. elif test $install_method = "opt"; then
  197. if test x"$prefix" = "xNONE"; then prefix="/opt/$PKG_NAME"; fi
  198. else
  199. if test x"$datadir" = x'${datarootdir}'; then AS_UNSET(datadir); fi
  200. if test x"$sysconfdir" = x'${prefix}/etc'; then AS_UNSET(sysconfdir); fi
  201. if test x"$prefix" = "xNONE"; then prefix="/usr"; fi
  202. if test x"$exec_prefix" = "xNONE"; then exec_prefix=$prefix; fi
  203. if test x"$localstatedir" = x'${prefix}/var'; then
  204. if test $opsys = "osx"; then
  205. localstatedir="/private/var"
  206. else
  207. localstatedir="/var"
  208. fi
  209. fi
  210. if test $opsys = "unix"; then
  211. if test x"$datarootdir" = x'${prefix}/share'; then
  212. if test $dist_type = "hp-ux"; then
  213. datarootdir="/usr/local/share"
  214. if test x"$libexecdir" = x'${exec_prefix}/libexec'; then
  215. libexecdir="/usr/nagios"
  216. fi
  217. elif test x"$libexecdir" = x'${exec_prefix}/libexec'; then
  218. libexecdir="/usr/lib/nagios"
  219. fi
  220. fi
  221. elif test $opsys = "osx"; then
  222. if test x"$sbindir" = x'${exec_prefix}/sbin'; then
  223. sbindir="$libexecdir"
  224. fi
  225. if test x"$libexecdir" = x'${exec_prefix}/libexec'; then
  226. libexecdir="/usr/libexec/nagios"
  227. fi
  228. elif test x"$libexecdir" = x'${exec_prefix}/lib'; then
  229. libexecdir=${libexecdir}/nagios;
  230. fi
  231. fi
  232. if test x"$exec_prefix" = "xNONE"; then exec_prefix=${prefix}; fi
  233. tmpfilesd=${tmpfilesd="/var/lib/tmpfiles.d"}
  234. if test ! -d "$tmpfilesd"; then
  235. tmpfilesd="N/A"
  236. else
  237. tmpfilesd="$tmpfilesd/$PKG_NAME.conf"
  238. fi
  239. subsyslockdir=${subsyslockdir="/var/lock/subsys"}
  240. if test ! -d "$subsyslockdir"; then
  241. subsyslockdir="N/A"
  242. subsyslockfile="N/A"
  243. else
  244. subsyslockfile="$subsyslockdir/$PKG_NAME"
  245. fi
  246. if test "$need_loc" = no; then
  247. localedir="N/A"
  248. fi
  249. if test $install_method = "default" -o $install_method = "opt"; then
  250. #
  251. # Do the default setup
  252. #
  253. sbindir=${bindir}
  254. datadir=${datadir="$datarootdir"}
  255. if test $need_web = yes; then
  256. webdir=${webdir="$datadir"}
  257. else
  258. webdir="N/A"
  259. fi
  260. if test $opsys = "unix"; then
  261. sysconfdir=${sysconfdir="/etc/opt"}
  262. fi
  263. pkgsysconfdir=${pkgsysconfdir="$sysconfdir"}
  264. if test $need_etc_subdir = yes; then
  265. objsysconfdir=${objsysconfdir="$pkgsysconfdir/objects"}
  266. else
  267. objsysconfdir="N/A"
  268. fi
  269. privatesysconfdir=${privatesysconfdir="$pkgsysconfdir"}
  270. logdir=${logdir="$localstatedir"}
  271. piddir=${piddir="$localstatedir"}
  272. if test "$need_pipe" = yes; then
  273. pipedir=${pipedir="$localstatedir/rw"}
  274. else
  275. pipedir="N/A"
  276. fi
  277. if test "$need_pls_dir" = yes; then
  278. pkglocalstatedir=${pkglocalstatedir="$localstatedir"}
  279. else
  280. pkglocalstatedir="N/A"
  281. fi
  282. if test "$need_spl" = yes; then
  283. spooldir=${spooldir="$localstatedir/var"}
  284. else
  285. spooldir="N/A"
  286. fi
  287. if test $need_brk = yes; then
  288. brokersdir=${brokersdir="$bindir"}
  289. else
  290. brokersdir="N/A"
  291. fi
  292. if test $need_plg = yes; then
  293. pluginsdir=${pluginsdir="$libexecdir"}
  294. else
  295. pluginsdir="N/A"
  296. fi
  297. if test $need_cgi = yes; then
  298. cgibindir=${cgibindir="$prefix/sbin"}
  299. else
  300. cgibindir="N/A"
  301. fi
  302. elif test $opsys = "linux"; then
  303. #
  304. # Linux "Standard" install
  305. #
  306. install_method="$install_method : FHS"
  307. datadir=${datadir="$datarootdir/nagios"}
  308. if test $need_web = yes; then
  309. webdir=${webdir="$datadir/html"}
  310. else
  311. webdir="N/A"
  312. fi
  313. sysconfdir=${sysconfdir="/etc"}
  314. pkgsysconfdir=${pkgsysconfdir="$sysconfdir/nagios"}
  315. # --pkgsysconfdir=DIR read-only pakcage-specific data [PREFIX/etc/PKG_NAME]
  316. if test $need_etc_subdir = yes; then
  317. objsysconfdir=${objsysconfdir="$pkgsysconfdir/objects"}
  318. else
  319. objsysconfdir="N/A"
  320. fi
  321. privatesysconfdir=${privatesysconfdir="$pkgsysconfdir/private"}
  322. if test $need_log_subdir = yes; then
  323. logdir=${logdir="$localstatedir/log/$PKG_NAME"}
  324. else
  325. logdir=${logdir="$localstatedir/log"}
  326. fi
  327. piddir=${piddir="$localstatedir/run/${PKG_NAME}"}
  328. if test "$need_pipe" = yes; then
  329. pipedir=${pipedir="$localstatedir/run/${PKG_NAME}"}
  330. else
  331. pipedir="N/A"
  332. fi
  333. if test "$need_pls_dir" = yes; then
  334. pkglocalstatedir=${pkglocalstatedir="$localstatedir/lib/$PKG_NAME"}
  335. else
  336. pkglocalstatedir="N/A"
  337. fi
  338. if test "$need_spl" = yes; then
  339. spooldir=${spooldir="$localstatedir/spool/$PKG_NAME"}
  340. else
  341. spooldir="N/A"
  342. fi
  343. if test $need_brk = yes; then
  344. brokersdir=${brokersdir="$libexecdir/brokers"}
  345. else
  346. brokersdir="N/A"
  347. fi
  348. if test $need_plg = yes; then
  349. pluginsdir=${pluginsdir="$libexecdir/plugins"}
  350. else
  351. pluginsdir="N/A"
  352. fi
  353. if test $need_cgi = yes; then
  354. cgibindir=${cgibindir="$libexecdir/cgi-bin"}
  355. else
  356. cgibindir="N/A"
  357. fi
  358. elif test $opsys = "unix"; then
  359. #
  360. # "Standard" Unix install
  361. #
  362. install_method="$install_method : Unix Standard"
  363. if test $dist_type = osx; then
  364. install_method="$install_method : OS X Standard"
  365. sbindir=${sbindir="/usr/libexec"}
  366. fi
  367. datadir=${datadir="$datarootdir/nagios"}
  368. if test $need_web = yes; then
  369. webdir=${webdir="$datadir/html"}
  370. else
  371. webdir="N/A"
  372. fi
  373. if test $dist_type = osx; then
  374. sysconfdir=${sysconfdir="/private/etc"}
  375. else
  376. sysconfdir=${sysconfdir="/etc"}
  377. fi
  378. pkgsysconfdir=${pkgsysconfdir="$sysconfdir/nagios"}
  379. if test $need_etc_subdir = yes; then
  380. objsysconfdir=${objsysconfdir="$pkgsysconfdir/objects"}
  381. else
  382. objsysconfdir="N/A"
  383. fi
  384. privatesysconfdir=${privatesysconfdir="$pkgsysconfdir/private"}
  385. if test "$need_pls_dir" = yes; then
  386. pkglocalstatedir=${pkglocalstatedir="$localstatedir/lib/$PKG_NAME"}
  387. else
  388. pkglocalstatedir="N/A"
  389. fi
  390. if test "$need_loc" = yes; then
  391. localedir=${localedir="/usr/local/share/locale/<lang>/LC_MESSAGES/nagios-plugins.mo"}
  392. fi
  393. if test "$need_spl" = yes; then
  394. spooldir=${spooldir="$localstatedir/spool/$PKG_NAME"}
  395. else
  396. spooldir="N/A"
  397. fi
  398. if test $need_brk = yes; then
  399. brokersdir=${brokersdir="$libexecdir/brokers"}
  400. else
  401. brokersdir="N/A"
  402. fi
  403. if test $need_plg = yes; then
  404. pluginsdir=${pluginsdir="$libexecdir/plugins"}
  405. else
  406. pluginsdir="N/A"
  407. fi
  408. if test $need_cgi = yes; then
  409. cgibindir=${cgibindir="$libexecdir/cgi-bin"}
  410. else
  411. cgibindir="N/A"
  412. fi
  413. AS_CASE([$dist_type],
  414. [*hp-ux*],
  415. piddir=${piddir="$pkgsysconfdir"}
  416. pipedir=${pipedir="$pkglocalstatedir"}
  417. logdir=${logdir="$pkglocalstatedir/log"},
  418. [*],
  419. piddir=${piddir="$localstatedir/run/${PKG_NAME}"}
  420. if test "$need_pipe" = yes; then
  421. pipedir=${pipedir="$localstatedir/run/${PKG_NAME}"}
  422. else
  423. pipedir="N/A"
  424. fi
  425. if test $need_log_subdir = yes; then
  426. logdir=${logdir="$localstatedir/log/$PKG_NAME"}
  427. else
  428. logdir=${logdir="$localstatedir/log"}
  429. fi
  430. )
  431. else
  432. #
  433. # Unknown install
  434. #
  435. install_method="unknown"
  436. webdir=unknown
  437. pkgsysconfdir=unknown
  438. objsysconfdir=unknown
  439. privatesysconfdir=unknown
  440. logdir=unknown
  441. piddir=unknown
  442. pipedir=unknown
  443. pkglocalstatedir=unknown
  444. spooldir=unknown
  445. brokersdir=unknown
  446. pluginsdir=unknown
  447. cgibindir=unknown
  448. fi
  449. eval prefix=$prefix
  450. eval exec_prefix=$exec_prefix
  451. eval bindir=$bindir
  452. eval sbindir=$sbindir
  453. eval datarootdir=$datarootdir
  454. eval datadir=$datadir
  455. eval libexecdir=$libexecdir
  456. eval brokersdir=$brokersdir
  457. eval pluginsdir=$pluginsdir
  458. eval cgibindir=$cgibindir
  459. eval pkglocalstatedir=$pkglocalstatedir
  460. eval webdir=$webdir
  461. eval localedir=$localedir
  462. #
  463. # Init scripts/files
  464. #
  465. AS_CASE([$init_type],
  466. [sysv],
  467. if test $dist_type = "hp-ux"; then
  468. initdir=${initdir="/sbin/init.d"}
  469. else
  470. initdir=${initdir="/etc/init.d"}
  471. fi
  472. initname=${initname="$PKG_NAME"}
  473. initconfdir=${initconfdir="/etc/conf.d"}
  474. initconf=${initconf="$initconfdir/$PKG_NAME"},
  475. [systemd],
  476. if test $dist_type = "debian"; then
  477. initdir=${initdir="/lib/systemd/system"}
  478. else
  479. initdir=${initdir="/usr/lib/systemd/system"}
  480. fi
  481. initname=${initname="$PKG_NAME.service"},
  482. [*bsd],
  483. initdir=${initdir="/etc/rc.d"}
  484. initname=${initname="$PKG_NAME"},
  485. [gentoo],
  486. initdir=${initdir="/etc/init.d"}
  487. initname=${initname="$PKG_NAME"}
  488. initconfdir=${initconfdir="/etc/init.d"}
  489. initconf=${initconf="$initconfdir/$PKG_NAME"},
  490. [openrc],
  491. initdir=${initdir="/etc/init.d"}
  492. initname=${initname="$PKG_NAME"}
  493. initconfdir=${initconfdir="/etc/conf.d"}
  494. initconf=${initconf="$initconfdir/$PKG_NAME"},
  495. [smf*],
  496. if test $init_type = smf10; then
  497. initdir=${initdir="/var/svc/manifest/network"}
  498. else
  499. initdir=${initdir="/lib/svc/manifest/network"}
  500. fi
  501. initname=${initname="$PKG_NAME.xml"}
  502. initconfdir=unknown
  503. initconf=unknown,
  504. [upstart],
  505. initdir=${initdir="/etc/init"}
  506. initname=${initname="$PKG_NAME"}
  507. initconfdir=${initconfdir="/etc/default"}
  508. initconf=${initconf="$initconfdir/$PKG_NAME"},
  509. [launchd],
  510. initdir=${initdir="/System/Library/LaunchDaemons"}
  511. initname=${initname="org.nagios.$PKG_NAME.plist"},
  512. # initconfdir=${initconfdir="/private/etc"}
  513. # initconf=${initconf="$initconfdir/$PKG_NAME"},
  514. [*],
  515. initdir=unknown
  516. initname=unknown)
  517. #
  518. # Inetd (per connection) scripts/files
  519. #
  520. AS_CASE([$inetd_type],
  521. [inetd],
  522. inetddir=${inetddir="/etc"}
  523. inetdname=${inetdname="inetd.conf"},
  524. [xinetd],
  525. inetddir=${inetddir="/etc/xinetd.d"}
  526. inetdname=${inetdname="$PKG_NAME"},
  527. [systemd],
  528. if test $dist_type = "debian"; then
  529. inetddir=${inetddir="/lib/systemd/system"}
  530. else
  531. inetddir=${inetddir="/usr/lib/systemd/system"}
  532. fi
  533. netdname=${inetdname="$PKG_NAME.socket"},
  534. [smf*],
  535. if test $init_type = smf10; then
  536. inetddir=${inetddir="/var/svc/manifest/network"}
  537. else
  538. inetddir=${inetddir="/lib/svc/manifest/network"}
  539. fi
  540. inetdname=${inetdname="$PKG_NAME.xml"},
  541. [upstart],
  542. inetddir=${inetddir="/etc/init"}
  543. inetdname=${inetdname="$PKG_NAME"},
  544. [launchd],
  545. inetddir=${inetddir="/System/Library/LaunchDaemons"}
  546. inetdname=${inetdname="org.nagios.$PKG_NAME.plist"},
  547. [*],
  548. inetddir=${inetddir="unknown"}
  549. inetdname=${inetdname="unknown"})
  550. AC_MSG_RESULT($install_method)
  551. ])