On Wed, Mar 10, 2010 at 3:35 PM, TJ Yang <[email protected]> wrote:
> 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 ?

Quick and dirty:
if (test....) ; then
  AS_MSG_ERROR([Invalid options, use --help to see good help stuff])
fi


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to