Re: autoconf config issue: what does ``|#_!!_#|'' mean?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote:

> The issue in question:
> https://sourceforge.net/tracker/?func=detail&atid=103593&aid=1591697&group_id=3593
> should be fixed by the patch below.  On the way I stumbled over more
> possible issues (in autogen and its dependencies), none of which seem
> Autoconf bugs either; with enough time, I'll try to write them up.
> 
> Cheers,
> Ralf
> 
> 2006-11-07  Ralf Wildenhues  <Ralf.Wildenhues@xxxxxx>
> 
> 	* autoopts/test/Makefile.am: Fix quoting of $(CPPFLAGS).
> 	Report by Sergei Steshenko <sergstesh@xxxxxxxxx>.
> 
> --- autoopts/test/Makefile.am.orig	2006-11-07 18:12:40.000000000 +0100
> +++ autoopts/test/Makefile.am	2006-11-07 18:12:42.000000000 +0100
> @@ -22,7 +22,7 @@
>  testsubdir = ./testdir
>  
>  TESTS_ENVIRONMENT = set -a ; \
> -	CFLAGS='$(DEFS) $(CFLAGS)' CPPFLAGS=$(CPPFLAGS) \
> +	CFLAGS='$(DEFS) $(CFLAGS)' CPPFLAGS='$(CPPFLAGS)' \
>  	testsubdir=$(testsubdir)
>  #`
>  distclean-local:
> 

Hi Ralf,

thanks for the patch, but I can't apply it - my experience with 'patch'
is very limited.

I saved your Email with the patch in a file whose contents are
(build/autogen-5.8.7/patch_file):

      1 The issue in question:
      2 https://sourceforge.net/tracker/?func=detail&atid=103593&aid=1591697&group_id=3593
      3 should be fixed by the patch below.  On the way I stumbled over more
      4 possible issues (in autogen and its dependencies), none of which seem
      5 Autoconf bugs either; with enough time, I'll try to write them up.
      6
      7 Cheers,
      8 Ralf
      9
     10 2006-11-07  Ralf Wildenhues  <Ralf.Wildenhues@xxxxxx>
     11
     12         * autoopts/test/Makefile.am: Fix quoting of $(CPPFLAGS).
     13         Report by Sergei Steshenko <sergstesh@xxxxxxxxx>.
     14
     15 --- autoopts/test/Makefile.am.orig      2006-11-07 18:12:40.000000000 +0100
     16 +++ autoopts/test/Makefile.am   2006-11-07 18:12:42.000000000 +0100
     17 @@ -22,7 +22,7 @@
     18  testsubdir = ./testdir
     19
     20  TESTS_ENVIRONMENT = set -a ;
     21 -       CFLAGS='$(DEFS) $(CFLAGS)' CPPFLAGS=$(CPPFLAGS)
     22 +       CFLAGS='$(DEFS) $(CFLAGS)' CPPFLAGS='$(CPPFLAGS)'
     23         testsubdir=$(testsubdir)
     24  #`
     25  distclean-local:

(without the line numbers).

When the patch is applied, the following happens:
"
build.pl :INFO: executing ==> \cd /maxtor5/sergei/AppsFromScratchWD/build/autogen-5.8.7; patch -p0
< /maxtor5/sergei/AppsFromScratchWD/build/autogen-5.8.7/patch_file
patching file autoopts/test/Makefile.am
Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file autoopts/test/Makefile.am.rej
".

Should I use different command line args for 'patch' utility ?

Should I simply replace

     25         CFLAGS='$(DEFS) $(CFLAGS)' CPPFLAGS=$(CPPFLAGS) \

line in autogen-5.8.7/autoopts/test/Makefile.am

with

       CFLAGS='$(DEFS) $(CFLAGS)' CPPFLAGS='$(CPPFLAGS)'
?

If yes, I'll simply write this in Perl, I already have file editing
subroutine.

Thanks,
  Sergei.




Applications From Scratch: http://appsfromscratch.berlios.de/



 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux