[Initng-svn] r3247 - ifiles/trunk
svn at initng.thinktux.net
svn at initng.thinktux.net
Wed Mar 8 10:43:42 CET 2006
Author: jimmy
Date: Wed Mar 8 10:43:41 2006
New Revision: 3247
Modified:
ifiles/trunk/Makefile.am
ifiles/trunk/configure.ac
Log:
ifiles now ./configure and installs!
Modified: ifiles/trunk/Makefile.am
==============================================================================
--- ifiles/trunk/Makefile.am (original)
+++ ifiles/trunk/Makefile.am Wed Mar 8 10:43:41 2006
@@ -1,4 +1,4 @@
-SUBDIRS = scripts initfiles tools fixes
+SUBDIRS = tools scripts fixes initfiles
ACLOCAL_AMFLAGS = -I m4
@@ -20,5 +20,4 @@
@echo "# /sbin/ngc -c"
@echo
@echo
-endif
Modified: ifiles/trunk/configure.ac
==============================================================================
--- ifiles/trunk/configure.ac (original)
+++ ifiles/trunk/configure.ac Wed Mar 8 10:43:41 2006
@@ -1,7 +1,7 @@
dnl Written by Jimmy Wennlund <jimmy.wennlund at gmail.com>
AC_INIT([initng],[svn])
-AC_CONFIG_SRCDIR([src/main.c])
+#AC_CONFIG_SRCDIR([src/main.c])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
@@ -123,22 +123,11 @@
[install_init=$enableval],
[install_init=no])
-AC_ARG_ENABLE(selinux,
- AS_HELP_STRING(--enable-selinux,Initng will be build with selinux support @<:@default=no@:>@),
- [selinux_support=$enableval],
- [selinux_support=no])
-
AC_ARG_ENABLE(debug,
AS_HELP_STRING(--disable-debug,debug mode @<:@default=no@:>@),
[with_debug=$enableval],
[with_debug=yes])
-AC_ARG_ENABLE(count-me,
- AS_HELP_STRING(--disable-count-me, report to user counter @<:@default=no@:>@),
- [count_me=$enableval],
- [count_me=yes])
-
-
if test x$with_debug = xyes; then
AC_DEFINE(DEBUG, [], [Debug])
DEFAULT_CFLAGS=$DEBUG_CFLAGS
@@ -158,271 +147,17 @@
fi
fi
-AC_ARG_WITH(also,
- AS_HELP_STRING(--with-also,Build with also plugin @<:@default=yes@:>@),
- [with_also=$withval], [with_also=yes])
-
-AC_ARG_WITH(bash_launcher,
- AS_HELP_STRING(--with-bash_launcher,Build with bash_launcher plugin @<:@default=yes@:>@),
- [with_bash_launcher=$withval], [with_bash_launcher=yes])
-
-AC_ARG_WITH(chdir,
- AS_HELP_STRING(--with-chdir,Build with chdir plugin @<:@default=yes@:>@),
- [with_chdir=$withval], [with_chdir=yes])
-
-AC_ARG_WITH(chroot,
- AS_HELP_STRING(--with-chroot,Build with chroot plugin @<:@default=yes@:>@),
- [with_chroot=$withval], [with_chroot=yes])
-
-AC_ARG_WITH(conflict,
- AS_HELP_STRING(--with-conflict,Build with conflict plugin @<:@default=yes@:>@),
- [with_conflict=$withval], [with_conflict=yes])
-
-AC_ARG_WITH(cpout,
- AS_HELP_STRING(--with-cpout,Build with cpout plugin @<:@default=yes@:>@),
- [with_cpout=$withval], [with_cpout=yes])
-
-AC_ARG_WITH(cron,
- AS_HELP_STRING(--with-cron,Build with cron plugin @<:@default=no@:>@),
- [with_cron=$withval], [with_cron=no])
-
-AC_ARG_WITH(critical,
- AS_HELP_STRING(--with-critical,Build with critical plugin @<:@default=yes@:>@),
- [with_critical=$withval], [with_critical=yes])
-
-AC_ARG_WITH(daemon_clean,
- AS_HELP_STRING(--with-daemon-clean,Build with daemon-clean plugin @<:@default=no@:>@),
- [with_daemon_clean=$withval], [with_daemon_clean=no])
-
-AC_ARG_WITH(dllaunch,
- AS_HELP_STRING(--with-dllaunch,Build with dllaunch plugin @<:@default=no@:>@),
- [with_dllaunch=$withval], [with_dllaunch=no])
-
-#AC_ARG_WITH(dparser,
-# AS_HELP_STRING(--with-dparser,Build with dparser plugin @<:@default=no@:>@),
-# [with_dparser=$withval], [with_dparser=no])
-
-AC_ARG_WITH(envparser,
- AS_HELP_STRING(--with-envparser,Build with envparser plugin @<:@default=yes@:>@),
- [with_envparser=$withval], [with_envparser=yes])
-
-#AC_ARG_WITH(ezxmlparser,
-# AS_HELP_STRING(--with-ezxmlparser,Build with ezxmlparser plugin @<:@default=no@:>@),
-# [with_ezxmlparser=$withval], [with_ezxmlparser=no])
-
-AC_ARG_WITH(find,
- AS_HELP_STRING(--with-find,Build with find plugin @<:@default=yes@:>@),
- [with_find=$withval], [with_find=yes])
-
-AC_ARG_WITH(fstat,
- AS_HELP_STRING(--with-fstat,Build with fstat plugin @<:@default=yes@:>@),
- [with_fstat=$withval], [with_fstat=yes])
-
-AC_ARG_WITH(history,
- AS_HELP_STRING(--with-history,Build with history plugin @<:@default=yes@:>@),
- [with_history=$withval], [with_history=yes])
-
-AC_ARG_WITH(initctl,
- AS_HELP_STRING(--with-initctl,Build with initctl plugin @<:@default=yes@:>@),
- [with_initctl=$withval], [with_initctl=yes])
-
-AC_ARG_WITH(interactive,
- AS_HELP_STRING(--with-interactive,Build with interactive plugin @<:@default=yes@:>@),
- [with_interactive=$withval], [with_interactive=yes])
-
-AC_ARG_WITH(iparser,
- AS_HELP_STRING(--with-iparser,Build with iparser plugin @<:@default=yes@:>@),
- [with_iparser=$withval], [with_iparser=yes])
-
-AC_ARG_WITH(last,
- AS_HELP_STRING(--with-last,Build with last plugin @<:@default=yes@:>@),
- [with_last=$withval], [with_last=yes])
-
-AC_ARG_WITH(limit,
- AS_HELP_STRING(--with-limit,Build with limit plugin @<:@default=yes@:>@),
- [with_limit=$withval], [with_limit=yes])
-
-AC_ARG_WITH(logfile,
- AS_HELP_STRING(--with-logfile,Build with logfile plugin @<:@default=yes@:>@),
- [with_logfile=$withval], [with_logfile=yes])
-
-AC_ARG_WITH(netprobe,
- AS_HELP_STRING(--with-netprobe,Build with netprobe plugin @<:@default=yes@:>@),
- [with_netprobe=$withval], [with_netprobe=yes])
-
-AC_ARG_WITH(mountprobe,
- AS_HELP_STRING(--with-mountprobe,Build with mountprobe plugin @<:@default=yes@:>@),
- [with_mountprobe=$withval], [with_mountprobe=yes])
-
-AC_ARG_WITH(idleprobe,
- AS_HELP_STRING(--with-idleprobe,Build with idleprobe plugin @<:@default=yes@:>@),
- [with_idleprobe=$withval], [with_idleprobe=yes])
-
-AC_ARG_WITH(ngc2,
- AS_HELP_STRING(--with-ngc2,Build with ngc2 plugin @<:@default=yes@:>@),
- [with_ngc2=$withval], [with_ngc2=yes])
-
-AC_ARG_WITH(ngcs,
- AS_HELP_STRING(--with-ngcs,Build with ngcs plugin @<:@default=no@:>@),
- [with_ngcs=$withval], [with_ngcs=no])
-
-AC_ARG_WITH(pause,
- AS_HELP_STRING(--with-pause,Build with pause plugin @<:@default=yes@:>@),
- [with_pause=$withval], [with_pause=yes])
-
-AC_ARG_WITH(pidfile-test,
- AS_HELP_STRING(--with-pidfile-test,Build pidfile plugin test program @<:@default=no@:>@),
- [with_pidfile_test=$withval], [with_pidfile_test=no])
-
-AC_ARG_WITH(reload,
- AS_HELP_STRING(--with-reload,Build with reload plugin @<:@default=yes@:>@),
- [with_reload=$withval], [with_reload=yes])
-
-AC_ARG_WITH(renice,
- AS_HELP_STRING(--with-renice,Build with renice plugin @<:@default=yes@:>@),
- [with_renice=$withval], [with_renice=yes])
-
-AC_ARG_WITH(rlparser,
- AS_HELP_STRING(--with-rlparser,Build with rlparser plugin @<:@default=yes@:>@),
- [with_rlparser=$withval], [with_rlparser=yes])
-
-AC_ARG_WITH(simple_launcher,
- AS_HELP_STRING(--with-simple_launcher,Build with simple_launcher plugin @<:@default=yes@:>@),
- [with_simple_launcher=$withval], [with_simple_launcher=yes])
AC_ARG_WITH(splash,
AS_HELP_STRING(--with-splash,Build with splash plugin @<:@default=no@:>@),
[with_splash=$withval], [with_splash=no])
-
-AC_ARG_WITH(usplash,
- AS_HELP_STRING(--with-usplash,Build with usplash plugin @<:@default=no@:>@),
- [with_usplash=$withval], [with_usplash=no])
-
-AC_ARG_WITH(stcmd,
- AS_HELP_STRING(--with-stcmd,Build with stcmd plugin @<:@default=yes@:>@),
- [with_stcmd=$withval], [with_stcmd=yes])
-
-AC_ARG_WITH(stdout,
- AS_HELP_STRING(--with-stdout,Build with stdout plugin @<:@default=yes@:>@),
- [with_stdout=$withval], [with_stdout=yes])
-
-AC_ARG_WITH(suid,
- AS_HELP_STRING(--with-suid,Build with suid plugin @<:@default=yes@:>@),
- [with_suid=$withval], [with_suid=yes])
-
-AC_ARG_WITH(syncron,
- AS_HELP_STRING(--with-syncron,Build with syncron plugin @<:@default=yes@:>@),
- [with_syncron=$withval], [with_syncron=yes])
-
-AC_ARG_WITH(syslog,
- AS_HELP_STRING(--with-syslog,Build with syslog plugin @<:@default=yes@:>@),
- [with_syslog=$withval], [with_syslog=yes])
-
-AC_ARG_WITH(unneeded,
- AS_HELP_STRING(--with-unneeded,Build with unneeded plugin @<:@default=yes@:>@),
- [with_unneeded=$withval], [with_unneeded=yes])
-
-AC_ARG_WITH(jbx,
- AS_HELP_STRING(--with-jbx,Build with justbeforeX plugin @<:@default=no@:>@),
- [with_jbx=$withval], [with_jbx=no])
-AM_CONDITIONAL(COUNT_ME, test "$count_me" = "yes")
+
AM_CONDITIONAL(INSTALL_AS_INIT, test "$install_init" = "yes")
-AM_CONDITIONAL(ENABLE_SELINUX, test "$selinux_support" = "yes")
-AM_CONDITIONAL(BUILD_ALSO, test "$with_also" = "yes")
-AM_CONDITIONAL(BUILD_BASH_LAUNCHER, test "$with_bash_launcher" = "yes")
-AM_CONDITIONAL(BUILD_CHDIR, test "$with_chdir" = "yes")
-AM_CONDITIONAL(BUILD_CHROOT, test "$with_chroot" = "yes")
-AM_CONDITIONAL(BUILD_CONFLICT, test "$with_conflict" = "yes")
-AM_CONDITIONAL(BUILD_CPOUT, test "$with_cpout" = "yes")
-AM_CONDITIONAL(BUILD_CRON, test "$with_cron" = "yes")
-AM_CONDITIONAL(BUILD_CRITICAL, test "$with_critical" = "yes")
-AM_CONDITIONAL(BUILD_DAEMON_CLEAN, test "$with_daemon_clean" = "yes")
-AM_CONDITIONAL(BUILD_DLLAUNCH, test "$with_dllaunch" = "yes")
-AM_CONDITIONAL(BUILD_DPARSER, test "$with_dparser" = "yes")
-AM_CONDITIONAL(BUILD_ENVPARSER, test "$with_envparser" = "yes")
-AM_CONDITIONAL(BUILD_EZXMLPARSER, test "$with_ezxmlparser" = "yes")
-AM_CONDITIONAL(BUILD_FIND, test "$with_find" = "yes")
-AM_CONDITIONAL(BUILD_FSTAT, test "$with_fstat" = "yes")
-AM_CONDITIONAL(BUILD_HISTORY, test "$with_history" = "yes")
-AM_CONDITIONAL(BUILD_INITCTL, test "$with_initctl" = "yes")
-AM_CONDITIONAL(BUILD_INTERACTIVE, test "$with_interactive" = "yes")
-AM_CONDITIONAL(BUILD_IPARSER, test "$with_iparser" = "yes")
-AM_CONDITIONAL(BUILD_LAST, test "$with_last" = "yes")
-AM_CONDITIONAL(BUILD_LIMIT, test "$with_limit" = "yes")
-AM_CONDITIONAL(BUILD_LOGFILE, test "$with_logfile" = "yes")
-AM_CONDITIONAL(BUILD_NETPROBE, test "$with_netprobe" = "yes")
-AM_CONDITIONAL(BUILD_MOUNTPROBE, test "$with_mountprobe" = "yes")
-AM_CONDITIONAL(BUILD_IDLEPROBE, test "$with_idleprobe" = "yes")
-AM_CONDITIONAL(BUILD_NGC2, test "$with_ngc2" = "yes")
-AM_CONDITIONAL(BUILD_NGCS, test "$with_ngcs" = "yes")
-AM_CONDITIONAL(BUILD_PAUSE, test "$with_pause" = "yes")
-AM_CONDITIONAL(BUILD_PIDFILETEST, test "$with_pidfile_test" = "yes")
-AM_CONDITIONAL(BUILD_RELOAD, test "$with_reload" = "yes")
-AM_CONDITIONAL(BUILD_RENICE, test "$with_renice" = "yes")
-AM_CONDITIONAL(BUILD_RLPARSER, test "$with_rlparser" = "yes")
-AM_CONDITIONAL(BUILD_SIMPLE_LAUNCHER, test "$with_simple_launcher" = "yes")
AM_CONDITIONAL(BUILD_SPLASH, test "$with_splash" = "yes")
-AM_CONDITIONAL(BUILD_USPLASH, test "$with_usplash" = "yes")
-AM_CONDITIONAL(BUILD_STCMD, test "$with_stcmd" = "yes")
-AM_CONDITIONAL(BUILD_STDOUT, test "$with_stdout" = "yes")
-AM_CONDITIONAL(BUILD_SUID, test "$with_suid" = "yes")
-AM_CONDITIONAL(BUILD_SYNCRON, test "$with_syncron" = "yes")
-AM_CONDITIONAL(BUILD_SYSLOG, test "$with_syslog" = "yes")
-AM_CONDITIONAL(BUILD_UNNEEDED, test "$with_unneeded" = "yes")
-AM_CONDITIONAL(BUILD_JBX, test "$with_jbx" = "yes")
AC_CONFIG_FILES([Makefile \
initng-paths.h \
- src/Makefile \
- devtool/Makefile \
- plugins/Makefile \
- plugins/splash/Makefile \
- plugins/usplash/Makefile \
- plugins/cpout/Makefile \
- plugins/ngc2/Makefile \
- plugins/ngcs/Makefile \
- plugins/critical/Makefile \
- plugins/daemon/Makefile \
- plugins/daemon/test/Makefile \
- plugins/daemon_clean/Makefile \
- plugins/suid/Makefile \
- plugins/stcmd/Makefile \
- plugins/bash_launcher/Makefile \
- plugins/rlparser/Makefile \
- plugins/chdir/Makefile \
- plugins/pause/Makefile \
- plugins/chroot/Makefile \
- plugins/simple_launcher/Makefile \
- plugins/renice/Makefile \
- plugins/stdout/Makefile \
- plugins/initctl/Makefile \
- plugins/iparser/Makefile \
- plugins/ezxmlparser/Makefile \
- plugins/conflict/Makefile \
- plugins/dparser/Makefile \
- plugins/fstat/Makefile \
- plugins/find/Makefile \
- plugins/interactive/Makefile \
- plugins/runlevel/Makefile \
- plugins/syncron/Makefile \
- plugins/dllaunch/Makefile \
- plugins/reload/Makefile \
- plugins/history/Makefile \
- plugins/syslog/Makefile \
- plugins/service/Makefile \
- plugins/unneeded/Makefile \
- plugins/last/Makefile \
- plugins/limit/Makefile \
- plugins/logfile/Makefile \
- plugins/envparser/Makefile \
- plugins/also/Makefile \
- plugins/netprobe/Makefile \
- plugins/mountprobe/Makefile \
- plugins/idleprobe/Makefile \
- plugins/cron/Makefile \
- plugins/justbeforeX/Makefile \
- doc/Makefile \
fixes/Makefile \
tools/Makefile \
scripts/splash/Makefile \
@@ -433,57 +168,11 @@
initfiles/daemon/bluetooth/Makefile \
initfiles/debug/Makefile \
initfiles/Makefile \
- initfiles/system/Makefile \
- gui/Makefile
+ initfiles/system/Makefile
])
AC_OUTPUT
-
echo
echo Install as init........................ : $install_init
-echo Selinux support........................ : $selinux_support
echo Debug.................................. : $with_debug
-echo Docdir................................. : $docdir
-echo Build also plugin...................... : $with_also
-echo Build bash_launcher plugin............. : $with_bash_launcher
-echo Build chdir plugin..................... : $with_chdir
-echo Build chroot plugin.................... : $with_chroot
-echo Build conflict plugin.................. : $with_conflict
-echo Build cpout plugin..................... : $with_cpout
-echo Build cron plugin...................... : $with_cron
-echo Build critical plugin.................. : $with_critical
-echo Build daemon_clean plugin.............. : $with_daemon_clean
-echo Build dllaunch plugin.................. : $with_dllaunch
-#echo Build dparser plugin................... : $with_dparser
-echo Build envparser plugin................. : $with_envparser
-#echo Build ezxmlparser plugin............... : $with_ezxmlparser
-echo Build find plugin...................... : $with_find
-echo Build fstat plugin..................... : $with_fstat
-echo Build history plugin................... : $with_history
-echo Build initctl plugin................... : $with_initctl
-echo Build interactive plugin............... : $with_interactive
-echo Build iparser plugin................... : $with_iparser
-echo Build last plugin...................... : $with_last
-echo Build limit plugin..................... : $with_limit
-echo Build logfile plugin................... : $with_logfile
-echo Build netprobe plugin.................. : $with_netprobe
-echo Build mountprobe plugin................ : $with_mountprobe
-echo Build idleprobe plugin................. : $with_idleprobe
-echo Build ngc2 plugin...................... : $with_ngc2
-echo Build ngcs plugin...................... : $with_ngcs
-echo Build pause plugin..................... : $with_pause
-echo Build reload plugin.................... : $with_reload
-echo Build renice plugin.................... : $with_renice
-echo Build rlparser plugin.................. : $with_rlparser
-echo Build simple_launcher plugin........... : $with_simple_launcher
echo Build splash plugin.................... : $with_splash
-echo Build usplash plugin................... : $with_usplash
-echo Build stcmd plugin..................... : $with_stcmd
-echo Build stdout plugin.................... : $with_stdout
-echo Build suid plugin...................... : $with_suid
-echo Build syncron plugin................... : $with_syncron
-echo Build syslog plugin.................... : $with_syslog
-echo Build unneeded plugin.................. : $with_unneeded
-echo Build justbeforeX plugin............... : $with_jbx
-echo
-echo Build pidfile test program............. : $with_pidfile_test
echo
More information about the Initng-svn
mailing list