How to enable configure.ac to generate configure to must take arguments ?

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

 



By default "./configure " will proceed to run itself and collect all
the system information.

I am thinking  of writing my own configure.ac to generate configure to split out
the content of "--help"  or shoowing a usage message when there is no
argument provided.

Following code in configure.ac doesn't exit out right away when I type
in "./configure"

MYARGS=2
if test $#  ne $MYARGS
then
   echo "Need one argument at least.\n"
   exit 0
fi

Anyone know there is a similar configure.ac I can learn from ?


-- 
T.J. Yang


_______________________________________________
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