Re: AC_CONFIG_COMMANDS expansion

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

 



 --- Jason Roscoe <jason.roscoe@xxxxxxxxx> wrote: 
> AC_CONFIG_COMMANDS([version.h], [echo version is "`awk '/MAJOR/ 
> {major="$3"} END {printf "%d\n", major}' module.h`" > version.h])
> 
> This results in the following in 'configure':
> 
>    "version.h":C) echo version is "`awk '/MAJOR/ {major=""} END {printf 
> "%d\n", major}' module.h`" > version.h ;;

Use quadrigraph @S|@, like this:
AC_CONFIG_COMMANDS([version.h], [echo version is "`awk '/MAJOR/
  {major="@S|@3"} END {printf "%d\n", major}' module.h`" > version.h])

Regards, Ineiev


      ___________________________________________________________ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/


_______________________________________________
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