[openib-general] libsdp.conf placement
Michael S. Tsirkin
mst at mellanox.co.il
Tue Dec 26 03:53:09 PST 2006
> > I noticed autotools have sysconfdir variable.
> > So it seems to me this would be the best, standard, place to keep the
> > libsdp.conf file.
> >
> > Eitan?
> >
> >
> Unfortunately autotools are not doing the right thing.
> Quoting from libsdp Makefile.am:
> AM_CFLAGS = -Wall -DSYSCONFDIR=\"$(sysconfdir)\"
>
> And then internally in the port.c code:
> #define LIBSDP_DEFAULT_CONFIG_FILE SYSCONFDIR "/libsdp.conf"
>
> Somehow when you run ./configure you get $prefix/etc as the $sysconfdir
So, that's what all other libraries that use autotools will get
(e.g. libibverbs) and that's the best default place then.
If we want to, OFED can override sysconfdir with a configure switch, can it not?
--
MST
More information about the general
mailing list