On Sat, Apr 26, 2003 at 03:54:05PM +0200, Stefan G. Weichinger wrote:
> Hi, amanda-users,
>
> I would like to change from 2.4.2p2 to 2.4.4 at my customer´s site.
> I don´t have the original configure-options anymore and would like to
> know if there´s a simple way to extract them from files like the
> amandad.xxx.debug files, where the header looks like:
>
[[snip]]
>
> I would prefer to have a reliable way to do that as I would like to
> perform that operation via remote-access. Ok, that doesn´t make much
> difference, you may say, but it always adds a bit of thrill to such
> stuff ;-)
>
Lines like the following appear at the beginning of my 2.4.2 and 2.4.3
config.status files.
Sorry for the long lines.
What it does not show are any environment variables (eg. CFLAGS). Nore any
post-configure
processing you might have done. Again, the oft repeated, put it into a shell
script.
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host butch:
#
# ./configure --enable-shared --with-user=amanda --with-group=backup
--with-config=DS1 --with-includes=/usr/local/include
--with-libraries=/opt/sfw/lib --with-libraries=/usr/local/lib
--with-amandahosts --with-tape-device=/dev/rmt/0lbn
--with-changer-device=/dev/rmt/1lbn --with-readline --with-mmap
--with-gnutar=/usr/local/libexec/amgtar --with-pid-debug-files
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
I noted while researching this a change in my 2.4.4 config.status file. It no
longer
has lines like the above at the start of the file. But about 10% of the way
through
config.status I came across this:
Report bugs to <bug-autoconf AT gnu DOT org>."
ac_cs_version="\
config.status
configured by ./configure, generated by GNU Autoconf 2.53,
with options \"'--prefix=/usr/local' '--enable-shared' '--with-user=amanda'
'--with-group=backup' ' --with-config=DS1' '--with-includes=/opt/sfw/include'
'--with-libraries=/opt/sfw/lib' '--with-amandahosts'
'--with-tape-device=/dev/rmt/0ln' '--with-changer-device=/dev/rmt/1ln'
'--with-readline' '--with-mmap' '--with-gnutar=/usr/local/libexec/amgtar'
'--with-pid-debug-files' '--without-termcap' '--without-ltermcap'
'--without-LIBTERMCAP' '--with-ncurses=yes' '--with-lncurses=yes'
'--with-LIBNCURSES=yes' 'CC=gcc' 'CFLAGS=-I/opt/sfw/include -O'
'CPPFLAGS=-DIGNORE_TAR_ERRORS' 'LDFLAGS=-L/opt/sfw/lib -R /opt/sfw/lib
-lreadline -lncurses'\"
And this does include some relevant environment variables I use.
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|