automake
[Top][All Lists]
Advanced

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

FW: Keep variable un-expanded in configure script


From: Too, Justin A.
Subject: FW: Keep variable un-expanded in configure script
Date: Fri, 11 Mar 2011 10:27:02 -0800
User-agent: Microsoft-MacOutlook/14.2.0.101115

Hi,

I have a simple function in an m4 file that is a convenience to output 
information. The function takes two parameters

function foo () {
  If test $# != 2 ; then
    exit 1
  fi
}

However, Autoconf expands $#. How can I escape $#, so that it will remain as-is 
in the configure script? I just can't figure this one out :)

Thanks,
Justin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]