[Slackbuilds-users] vwm and 64bit paths
Ozan Türkyılmaz
ozan.turkyilmaz at gmail.com
Mon Jan 18 11:23:39 UTC 2010
2010/1/18 Pierre Cazenave <pwcazenave at gmail.com>:
> I received a bug report for vwm about its inability to install its plugin
> directory:
[...]
>
> Would this be an acceptable solution?
>
i would solve it in header file. actually i should send the vwm guys a patch.
something like this assuming we use gcc
#ifdef __x86_64__
#ifndef _VWM_SHARED_MODULES
#ifdef _VIPER_WIDE
#define _VWM_SHARED_MODULES "/usr/lib64/vwm/modules_wide/"
#else
#define _VWM_SHARED_MODULES "/usr/lib64/vwm/modules/"
#endif
#else
#ifndef _VWM_SHARED_MODULES
#ifdef _VIPER_WIDE
#define _VWM_SHARED_MODULES "/usr/lib/vwm/modules_wide/"
#else
#define _VWM_SHARED_MODULES "/usr/lib/vwm/modules/"
#endif
#endif
however i have to check some more docs about gcc macros (specially __i386__
and how we can get some config material at compile time) and test how
it acts under multilib and pure 64bit.
--
Ozan
オザン
Close the world, txEn eht nepO
More information about the SlackBuilds-users
mailing list