Keep variable un-expanded in configure script

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

 



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
_______________________________________________
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