From bc18126a6bcb85b51dc082c3ef4417dc016ebd9c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 20 Mar 2017 13:35:21 -0400 Subject: Add configure test to see if the C compiler has gcc-style computed gotos. We'll need this for the upcoming patch to speed up expression evaluation. Might as well push it now to see if it behaves sanely in the buildfarm. Andres Freund Discussion: https://postgr.es/m/20170320062511.hp5qeurtxrwsvfxr@alap3.anarazel.de --- src/include/pg_config.h.in | 3 +++ src/include/pg_config.h.win32 | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 5bcd8a1160f..6a8176b323e 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -108,6 +108,9 @@ /* Define to 1 if you have the `clock_gettime' function. */ #undef HAVE_CLOCK_GETTIME +/* Define to 1 if your compiler handles computed gotos. */ +#undef HAVE_COMPUTED_GOTO + /* Define to 1 if you have the header file. */ #undef HAVE_CRTDEFS_H diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 3e4132cd824..5af8369202c 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -78,6 +78,9 @@ /* Define to 1 if you have the `clock_gettime' function. */ /* #undef HAVE_CLOCK_GETTIME */ +/* Define to 1 if your compiler handles computed gotos. */ +/* #undef HAVE_COMPUTED_GOTO */ + /* Define to 1 if you have the `crypt' function. */ /* #undef HAVE_CRYPT */ -- cgit v1.2.3