Re: [[email protected]: problem with hdup 2.0.8-1]
Miek Gieben <[email protected]> Thu, 30 Jun 2005 12:14:24 +0200
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
--KDt/GgjP6HVcx58l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
[On 30 Jun, @12:00, Francesco Paolo Lovergine wrote in "[hdup-user] [torste=
n@torsten-s ..."]
> 2.0.8 hdup.h.in fucks configure directive for sysconfdir, I'm using
> currently=20
>=20
> --- hdup.h.in 2005-03-18 11:10:17.000000000 +0100
> +++ /tmp/hdup.h.in 2005-06-30 11:41:51.000000000 +0200
> @@ -22,7 +22,7 @@
> #define LZOP_PROG "@lzop@"
> #define SPLIT_PROG "@split@"
> #define UNSPLIT_PROG "@cat@"
> -#define ETCFILE "@prefix@/etc/hdup/hdup.conf"
> +#define ETCFILE "@sysconfdir@/hdup.conf"
> /* /usr/local/etc#"/etc/hdup/hdup.conf") */
> #define REMOTE_HDUP "@prefix@/sbin/hdup"
> #define REMOTE_HDUP_OPT "" /* default is empty */
>=20
> Probably sysconfdir=3D/etc is better to be coherent with install target, =
anyway.
> So,=20
>=20
> #define ETCFILE "@sysconfdir@/hdup/hdup.conf"
>=20
> else it will break installation under different roots.
ever since I start using autoconf for compiling hdup this has been a
problem. If I apply this patch, the following situation occurs:
% autoconf;./configure =20
% grep ETCFILE src/hdup.h
#define ETCFILE "${prefix}/etc/hdup/hdup.conf"
ugly ${prefix} is left in the source...
% autoconf;./configure --sysconfdir=3D/etc/
% grep ETCFILE src/hdup.h
#define ETCFILE "/etc//hdup/hdup.conf"
Which looks okay, but requires the --sysconfdir switch. Any ideas how
to make the plain configure work correctly?
Thanks,
grtz Miek
--KDt/GgjP6HVcx58l
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCw8YAw7f5Q7GEU6ERAhMKAKCCf/ukOVATktZ04tKTcLuT364Z2gCeK06B
7WtQeNjAaqphLgqtiNq+2zo=
=MTmL
-----END PGP SIGNATURE-----
--KDt/GgjP6HVcx58l--