autoconf
[Top][All Lists]
Advanced

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

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


From: TJ Yang
Subject: How to enable configure.ac to generate configure to must take arguments ?
Date: Wed, 10 Mar 2010 14:35:50 -0600

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




reply via email to

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