Commit ddce6289 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix configure check for typeof

parent e0eb5e0a
......@@ -199,7 +199,7 @@ if test "$pgac_cv_c_typeof" != no; then
AC_DEFINE(HAVE_TYPEOF, 1,
[Define to 1 if your compiler understands `typeof' or something similar.])
if test "$pgac_cv_c_typeof" != typeof; then
AC_DEFINE(typeof, $pgac_cv_c_typeof, [Define to how the compiler spells `typeof'.])
AC_DEFINE_UNQUOTED(typeof, $pgac_cv_c_typeof, [Define to how the compiler spells `typeof'.])
fi
fi])# PGAC_C_TYPEOF
......
......@@ -11704,7 +11704,9 @@ $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
if test "$pgac_cv_c_typeof" != typeof; then
$as_echo "#define typeof \$pgac_cv_c_typeof" >>confdefs.h
cat >>confdefs.h <<_ACEOF
#define typeof $pgac_cv_c_typeof
_ACEOF
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment