ax_nagios_get_paths 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614
  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. elif test x"$libexecdir" = x'${exec_prefix}/libexec'; then
  231. libexecdir=${exec_prefix}/lib/nagios;
  232. fi
  233. fi
  234. if test x"$exec_prefix" = "xNONE"; then exec_prefix=${prefix}; fi
  235. tmpfilesd=${tmpfilesd="/var/lib/tmpfiles.d"}
  236. if test ! -d "$tmpfilesd"; then
  237. tmpfilesd="N/A"
  238. else
  239. tmpfilesd="$tmpfilesd/$PKG_NAME.conf"
  240. fi
  241. subsyslockdir=${subsyslockdir="/var/lock/subsys"}
  242. if test ! -d "$subsyslockdir"; then
  243. subsyslockdir="N/A"
  244. subsyslockfile="N/A"
  245. else
  246. subsyslockfile="$subsyslockdir/$PKG_NAME"
  247. fi
  248. if test "$need_loc" = no; then
  249. localedir="N/A"
  250. fi
  251. if test $install_method = "default" -o $install_method = "opt"; then
  252. #
  253. # Do the default setup
  254. #
  255. sbindir=${bindir}
  256. datadir=${datadir="$datarootdir"}
  257. if test $need_web = yes; then
  258. webdir=${webdir="$datadir"}
  259. else
  260. webdir="N/A"
  261. fi
  262. if test $opsys = "unix"; then
  263. sysconfdir=${sysconfdir="/etc/opt"}
  264. fi
  265. pkgsysconfdir=${pkgsysconfdir="$sysconfdir"}
  266. if test $need_etc_subdir = yes; then
  267. objsysconfdir=${objsysconfdir="$pkgsysconfdir/objects"}
  268. else
  269. objsysconfdir="N/A"
  270. fi
  271. privatesysconfdir=${privatesysconfdir="$pkgsysconfdir"}
  272. logdir=${logdir="$localstatedir"}
  273. piddir=${piddir="$localstatedir"}
  274. if test "$need_pipe" = yes; then
  275. pipedir=${pipedir="$localstatedir/rw"}
  276. else
  277. pipedir="N/A"
  278. fi
  279. if test "$need_pls_dir" = yes; then
  280. pkglocalstatedir=${pkglocalstatedir="$localstatedir"}
  281. else
  282. pkglocalstatedir="N/A"
  283. fi
  284. if test "$need_spl" = yes; then
  285. spooldir=${spooldir="$localstatedir/var"}
  286. else
  287. spooldir="N/A"
  288. fi
  289. if test $need_brk = yes; then
  290. brokersdir=${brokersdir="$bindir"}
  291. else
  292. brokersdir="N/A"
  293. fi
  294. if test $need_plg = yes; then
  295. pluginsdir=${pluginsdir="$libexecdir"}
  296. else
  297. pluginsdir="N/A"
  298. fi
  299. if test $need_cgi = yes; then
  300. cgibindir=${cgibindir="$prefix/sbin"}
  301. else
  302. cgibindir="N/A"
  303. fi
  304. elif test $opsys = "linux"; then
  305. #
  306. # Linux "Standard" install
  307. #
  308. install_method="$install_method : FHS"
  309. datadir=${datadir="$datarootdir/nagios"}
  310. if test $need_web = yes; then
  311. webdir=${webdir="$datadir/html"}
  312. else
  313. webdir="N/A"
  314. fi
  315. sysconfdir=${sysconfdir="/etc"}
  316. pkgsysconfdir=${pkgsysconfdir="$sysconfdir/nagios"}
  317. # --pkgsysconfdir=DIR read-only pakcage-specific data [PREFIX/etc/PKG_NAME]
  318. if test $need_etc_subdir = yes; then
  319. objsysconfdir=${objsysconfdir="$pkgsysconfdir/objects"}
  320. else
  321. objsysconfdir="N/A"
  322. fi
  323. privatesysconfdir=${privatesysconfdir="$pkgsysconfdir/private"}
  324. if test $need_log_subdir = yes; then
  325. logdir=${logdir="$localstatedir/log/$PKG_NAME"}
  326. else
  327. logdir=${logdir="$localstatedir/log"}
  328. fi
  329. piddir=${piddir="$localstatedir/run/${PKG_NAME}"}
  330. if test "$need_pipe" = yes; then
  331. pipedir=${pipedir="$localstatedir/run/${PKG_NAME}"}
  332. else
  333. pipedir="N/A"
  334. fi
  335. if test "$need_pls_dir" = yes; then
  336. pkglocalstatedir=${pkglocalstatedir="$localstatedir/lib/$PKG_NAME"}
  337. else
  338. pkglocalstatedir="N/A"
  339. fi
  340. if test "$need_spl" = yes; then
  341. spooldir=${spooldir="$localstatedir/spool/$PKG_NAME"}
  342. else
  343. spooldir="N/A"
  344. fi
  345. if test $need_brk = yes; then
  346. brokersdir=${brokersdir="$libexecdir/brokers"}
  347. else
  348. brokersdir="N/A"
  349. fi
  350. if test $need_plg = yes; then
  351. pluginsdir=${pluginsdir="$libexecdir/plugins"}
  352. else
  353. pluginsdir="N/A"
  354. fi
  355. if test $need_cgi = yes; then
  356. cgibindir=${cgibindir="$libexecdir/cgi-bin"}
  357. else
  358. cgibindir="N/A"
  359. fi
  360. elif test $opsys = "unix"; then
  361. #
  362. # "Standard" Unix install
  363. #
  364. install_method="$install_method : Unix Standard"
  365. if test $dist_type = osx; then
  366. install_method="$install_method : OS X Standard"
  367. sbindir=${sbindir="/usr/libexec"}
  368. fi
  369. datadir=${datadir="$datarootdir/nagios"}
  370. if test $need_web = yes; then
  371. webdir=${webdir="$datadir/html"}
  372. else
  373. webdir="N/A"
  374. fi
  375. if test $dist_type = osx; then
  376. sysconfdir=${sysconfdir="/private/etc"}
  377. else
  378. sysconfdir=${sysconfdir="/etc"}
  379. fi
  380. pkgsysconfdir=${pkgsysconfdir="$sysconfdir/nagios"}
  381. if test $need_etc_subdir = yes; then
  382. objsysconfdir=${objsysconfdir="$pkgsysconfdir/objects"}
  383. else
  384. objsysconfdir="N/A"
  385. fi
  386. privatesysconfdir=${privatesysconfdir="$pkgsysconfdir/private"}
  387. if test "$need_pls_dir" = yes; then
  388. pkglocalstatedir=${pkglocalstatedir="$localstatedir/lib/$PKG_NAME"}
  389. else
  390. pkglocalstatedir="N/A"
  391. fi
  392. if test "$need_loc" = yes; then
  393. localedir=${localedir="/usr/local/share/locale/<lang>/LC_MESSAGES/nagios-plugins.mo"}
  394. fi
  395. if test "$need_spl" = yes; then
  396. spooldir=${spooldir="$localstatedir/spool/$PKG_NAME"}
  397. else
  398. spooldir="N/A"
  399. fi
  400. if test $need_brk = yes; then
  401. brokersdir=${brokersdir="$libexecdir/brokers"}
  402. else
  403. brokersdir="N/A"
  404. fi
  405. if test $need_plg = yes; then
  406. pluginsdir=${pluginsdir="$libexecdir/plugins"}
  407. else
  408. pluginsdir="N/A"
  409. fi
  410. if test $need_cgi = yes; then
  411. cgibindir=${cgibindir="$libexecdir/cgi-bin"}
  412. else
  413. cgibindir="N/A"
  414. fi
  415. AS_CASE([$dist_type],
  416. [*hp-ux*],
  417. piddir=${piddir="$pkgsysconfdir"}
  418. pipedir=${pipedir="$pkglocalstatedir"}
  419. logdir=${logdir="$pkglocalstatedir/log"},
  420. [*],
  421. piddir=${piddir="$localstatedir/run/${PKG_NAME}"}
  422. if test "$need_pipe" = yes; then
  423. pipedir=${pipedir="$localstatedir/run/${PKG_NAME}"}
  424. else
  425. pipedir="N/A"
  426. fi
  427. if test $need_log_subdir = yes; then
  428. logdir=${logdir="$localstatedir/log/$PKG_NAME"}
  429. else
  430. logdir=${logdir="$localstatedir/log"}
  431. fi
  432. )
  433. else
  434. #
  435. # Unknown install
  436. #
  437. install_method="unknown"
  438. webdir=unknown
  439. pkgsysconfdir=unknown
  440. objsysconfdir=unknown
  441. privatesysconfdir=unknown
  442. logdir=unknown
  443. piddir=unknown
  444. pipedir=unknown
  445. pkglocalstatedir=unknown
  446. spooldir=unknown
  447. brokersdir=unknown
  448. pluginsdir=unknown
  449. cgibindir=unknown
  450. fi
  451. eval prefix=$prefix
  452. eval exec_prefix=$exec_prefix
  453. eval bindir=$bindir
  454. eval sbindir=$sbindir
  455. eval datarootdir=$datarootdir
  456. eval datadir=$datadir
  457. eval libexecdir=$libexecdir
  458. eval brokersdir=$brokersdir
  459. eval pluginsdir=$pluginsdir
  460. eval cgibindir=$cgibindir
  461. eval pkglocalstatedir=$pkglocalstatedir
  462. eval webdir=$webdir
  463. eval localedir=$localedir
  464. eval pkgsysconfdir=$pkgsysconfdir
  465. #
  466. # Init scripts/files
  467. #
  468. AS_CASE([$init_type],
  469. [sysv],
  470. if test $dist_type = "hp-ux"; then
  471. initdir=${initdir="/sbin/init.d"}
  472. else
  473. initdir=${initdir="/etc/init.d"}
  474. fi
  475. initname=${initname="$PKG_NAME"}
  476. initconfdir=${initconfdir="/etc/conf.d"}
  477. initconf=${initconf="$initconfdir/$PKG_NAME"},
  478. [systemd],
  479. if test $dist_type = "debian"; then
  480. initdir=${initdir="/lib/systemd/system"}
  481. else
  482. initdir=${initdir="/usr/lib/systemd/system"}
  483. fi
  484. initname=${initname="$PKG_NAME.service"},
  485. [*bsd],
  486. initdir=${initdir="/etc/rc.d"}
  487. initname=${initname="$PKG_NAME"},
  488. [gentoo],
  489. initdir=${initdir="/etc/init.d"}
  490. initname=${initname="$PKG_NAME"}
  491. initconfdir=${initconfdir="/etc/init.d"}
  492. initconf=${initconf="$initconfdir/$PKG_NAME"},
  493. [openrc],
  494. initdir=${initdir="/etc/init.d"}
  495. initname=${initname="$PKG_NAME"}
  496. initconfdir=${initconfdir="/etc/conf.d"}
  497. initconf=${initconf="$initconfdir/$PKG_NAME"},
  498. [smf*],
  499. if test $init_type = smf10; then
  500. initdir=${initdir="/var/svc/manifest/network"}
  501. else
  502. initdir=${initdir="/lib/svc/manifest/network"}
  503. fi
  504. initname=${initname="$PKG_NAME.xml"}
  505. initconfdir=unknown
  506. initconf=unknown,
  507. [upstart],
  508. initdir=${initdir="/etc/init"}
  509. initname=${initname="$PKG_NAME.conf"}
  510. initconfdir=${initconfdir="/etc/default"}
  511. initconf=${initconf="$initconfdir/$PKG_NAME"},
  512. [launchd],
  513. initdir=${initdir="/System/Library/LaunchDaemons"}
  514. initname=${initname="org.nagios.$PKG_NAME.plist"},
  515. # initconfdir=${initconfdir="/private/etc"}
  516. # initconf=${initconf="$initconfdir/$PKG_NAME"},
  517. [*],
  518. initdir=unknown
  519. initname=unknown)
  520. #
  521. # Inetd (per connection) scripts/files
  522. #
  523. AS_CASE([$inetd_type],
  524. [inetd],
  525. inetddir=${inetddir="/etc"}
  526. inetdname=${inetdname="inetd.conf"},
  527. [xinetd],
  528. inetddir=${inetddir="/etc/xinetd.d"}
  529. inetdname=${inetdname="$PKG_NAME"},
  530. [systemd],
  531. if test $dist_type = "debian"; then
  532. inetddir=${inetddir="/lib/systemd/system"}
  533. else
  534. inetddir=${inetddir="/usr/lib/systemd/system"}
  535. fi
  536. netdname=${inetdname="$PKG_NAME.socket"},
  537. [smf*],
  538. if test $init_type = smf10; then
  539. inetddir=${inetddir="/var/svc/manifest/network"}
  540. else
  541. inetddir=${inetddir="/lib/svc/manifest/network"}
  542. fi
  543. inetdname=${inetdname="$PKG_NAME.xml"},
  544. [upstart],
  545. inetddir=${inetddir="/etc/init"}
  546. inetdname=${inetdname="$PKG_NAME"},
  547. [launchd],
  548. inetddir=${inetddir="/System/Library/LaunchDaemons"}
  549. inetdname=${inetdname="org.nagios.$PKG_NAME.plist"},
  550. [*],
  551. inetddir=${inetddir="unknown"}
  552. inetdname=${inetdname="unknown"})
  553. AC_MSG_RESULT($install_method)
  554. ])