The *header_name* cannot be quoted, otherwise it is not translated to
the passed argument. Without this fix the generated configure contains
*ac_cv_header_header_name*, but there should be for example
*ac_cv_header_sals_sasl_h* for "sasl/sasl.h".
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
with_var=no
])
if test "$fail" = "0" && test "x$with_var" != "xno" ; then
- AC_CHECK_HEADER([header_name], [
+ AC_CHECK_HEADER(header_name, [
with_var=yes
],[
if test "x$with_var" != "xcheck"; then
])
])
if test "$fail" = "0" && test "x$with_var" != "xno" ; then
- AC_CHECK_HEADER([header_name], [
+ AC_CHECK_HEADER(header_name, [
with_var=yes
],[
- AC_CHECK_HEADER([header_name_alt], [
+ AC_CHECK_HEADER(header_name_alt, [
with_var=yes
],[
if test "x$with_var" != "xcheck"; then