autoconf
[Top][All Lists]
Advanced

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

AC_CHECK_FUNC with empty else path


From: NightStrike
Subject: AC_CHECK_FUNC with empty else path
Date: Sat, 8 Mar 2008 02:47:13 -0500

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?




reply via email to

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