AC_CHECK_FUNC with empty else path

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

 



If I do this:

AC_CHECK_FUNC(
  [chokeme],
  [],
  []
)

It will yield shell code that ends in:

if
  :
else

fi


Which produces a configure script that dies with:
"syntax error near unexpected token `fi'"

Is this an autoconf bug, or user error on my part?


_______________________________________________
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