From: Eric Bollengier Date: Tue, 22 Dec 2009 13:20:12 +0000 (+0100) Subject: Add scripts/bacula_config script that displays configure options and results X-Git-Tag: Release-7.0.0~2443 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=22e90ed5e6809d90aef48336f3b150e8e207a014;p=bacula%2Fbacula Add scripts/bacula_config script that displays configure options and results --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index e913f79ff2..d52dcfb030 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -3191,6 +3191,17 @@ Configuration on `date`: " > config.out +# create a small shell script useful for support with +# configure options and config.out info +cat > scripts/bacula_config << EOF +#!/bin/sh +cat << __EOC__ +$ $0 $ac_configure_args +EOF +cat config.out >> scripts/bacula_config +echo __EOC__ >> scripts/bacula_config +chmod 755 scripts/bacula_config + cat config.out # Display a warning message if postgresql client lib is <= 8.1 diff --git a/bacula/configure b/bacula/configure index dd40566be4..14507739fb 100755 --- a/bacula/configure +++ b/bacula/configure @@ -31919,6 +31919,17 @@ Configuration on `date`: cat config.out +# create a small shell script useful for support with +# configure options and config.out info +cat > scripts/bacula_config << EOF +#!/bin/sh +cat << __EOC__ +$ $0 $ac_configure_args +EOF +cat config.out >> scripts/bacula_config +echo __EOC__ >> scripts/bacula_config +chmod 755 scripts/bacula_config + # Display a warning message if postgresql client lib is <= 8.1 if test x$DB_TYPE = xpostgresql -a x$ac_cv_lib_pq_PQisthreadsafe != xyes \ -a x$support_batch_insert = xyes diff --git a/bacula/scripts/Makefile.in b/bacula/scripts/Makefile.in index 01e36429f6..374043256f 100755 --- a/bacula/scripts/Makefile.in +++ b/bacula/scripts/Makefile.in @@ -37,6 +37,7 @@ install: installdirs $(INSTALL_SCRIPT) stopmysql $(DESTDIR)$(scriptdir)/stopmysql $(INSTALL_SCRIPT) bconsole $(DESTDIR)$(scriptdir)/bconsole $(INSTALL_SCRIPT) bacula $(DESTDIR)$(scriptdir)/bacula + $(INSTALL_SCRIPT) bacula_config $(DESTDIR)$(scriptdir)/bacula_config $(INSTALL_SCRIPT) bacula $(DESTDIR)$(sbindir)/bacula $(INSTALL_SCRIPT) bacula-ctl-dir $(DESTDIR)$(scriptdir)/bacula-ctl-dir $(INSTALL_SCRIPT) bacula-ctl-fd $(DESTDIR)$(scriptdir)/bacula-ctl-fd @@ -74,6 +75,7 @@ uninstall: (cd $(DESTDIR)$(scriptdir); $(RMF) stopmysql) (cd $(DESTDIR)$(scriptdir); $(RMF) bconsole) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula) + (cd $(DESTDIR)$(scriptdir); $(RMF) bacula_config) (cd $(DESTDIR)$(sbindir); $(RMF) bacula) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula-ctl-dir) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula-ctl-fd) @@ -90,7 +92,7 @@ Makefile: Makefile.in cd $(topdir) \ && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status chmod 755 startmysql stopmysql bacula startit stopit btraceback - chmod 755 bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd + chmod 755 bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd bacula_config chmod 755 disk-changer mtx-changer dvd-handler bconsole gconsole Makefiles: @@ -105,7 +107,7 @@ clean: # clean for distribution distclean: clean @$(RMF) startmysql stopmysql bacula fd startit stopit btraceback - @$(RMF) bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd + @$(RMF) bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd bacula_config @$(RMF) bconsole gconsole logrotate bacula.desktop @$(RMF) bacula.desktop.gnome1 bacula.desktop.gnome2 mtx-changer dvd-handler @$(RMF) gnome-console.console_apps bacula.desktop.gnome2.xsu