On Mon 02. Apr - 19:18:30, Michael Biebl wrote:
> Seems my last no_as_ac_expand.patch was not quite complete and broke
> powersaved as it didn't expand the variables at make time. The
> recommended way is described in the gnu autconf manual [1].
> So, the patch does the following
> 
> 1.) Generates manpages / initscript at make time, using sed. Remove them
> from AC_CONFIGURE_FILES.
> 2.) Pass the paths via defines in AM_CPPFLAGS instead of config.h
> (removed AC_DEFINE_UNQUOTED for all path variables)
> 3.) Removed custom $docdir variable completely, as autconf 2.59 already
> provides $docdir
> 

Slightly modified patch committed to HEAD. See below. I had to add
rcpowersaved to script_SCRIPTS variable and..

>  edit = sed \
> -     -e 's,@bindir\@,$(bindir),g' \
> -     -e 's,@sbindir\@,$(sbindir),g'
> +     -e 's|@[EMAIL PROTECTED]|,$(bindir)|g' \
                         ^
removed comma.

Thanks, 
        Holger
_______________________________________________
powersave-devel mailing list
powersave-devel@forge.novell.com
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to