On Wed, Mar 10, 2010 at 3:35 PM, TJ Yang <tjyang2001@xxxxxxxxx> 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 Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf