LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2009, 07:40 AM   #1
ChrisNY
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
m4 & -P option to require m4_ before macros


Hi;

I don't know which forum to ask m4 questions, but here goes...

If you invoke $m4 -P <filename>, it will only expand m4 commands that have m4_ preceding them; like m4_define rather than define (I'm explaining it terribly, but if you know m4 you know what I mean).

My question: Is there any m4 command you can put IN the file that invokes that? I mean, I have different m4 files, some of which would use regular define(a,b), and some m4_define(a,b). I'd rather just invoke m4 with no -P option, and have at the head of the ones needing m4_define a line like "require prefix-builtins", that would then cause all subsequent builtins to be prefixed by m4_.

Sorry again for expressing things badly, but if anyone knows the answer, I'd be grateful to get it.

Thanks,

Chris
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent require help & guidance on displaying for presentation vitalstrike82 SUSE / openSUSE 10 03-02-2008 09:48 PM
Apache2 Require user with Require group Russianspi Linux - Server 2 01-30-2008 11:21 AM
Require Drivers for Audio & Video utkarshrawat Linux - Hardware 10 10-13-2007 02:26 AM
Require assistance in Red Hat 9.0 & Netcomm NP1100 tuannie Linux - Networking 4 07-24-2006 05:03 PM
Something to record & play "screen macros"--? infidel Linux - Software 2 08-23-2005 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration