[openib-general] libsdp.conf placement

Eitan Zahavi eitan at mellanox.co.il
Tue Dec 26 03:49:12 PST 2006


Michael S. Tsirkin wrote:
> 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


EZ




More information about the general mailing list