Re: if (...) then; AC_PROG_CC else AC_PROG_CC fi doesn't work?

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

 



Eric Blake <ebb9 <at> byu.net> writes:

> AC_ARG_ENABLE([foo], [AS_HELP_STRING([--enable-foo], [whatever foo does])],
>   [echo "enabled"
>    if test "x$CC" != xgcc ; then
>      echo "uh-oh - gcc not detected"],

Obviously, with correct shell syntax (I left out the 'fi' in the above snippet; 
needless to say I didn't actually try this example).

-- 
Eric Blake





_______________________________________________
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