postgresql/config
Peter Eisentraut 69fdf3d2e9 Use return instead of exit() in configure
Using exit() requires stdlib.h, which is not included.  Use return
instead.  Also add return type for main().

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>

Backpatched because Apple macOS 10.16/11 (Big Sur) compiler makes
calling undeclared functions an error, so these configure tests would
fail.

Reported-by: Thomas Gilligan <thomas.gilligan@icloud.com>
Reported-by: Jesse Zhang <sbjesse@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/09A4B554-82B1-4536-B191-2461342EE0BB%40icloud.com
2020-09-08 10:09:56 +02:00
..
ac_func_accept_argtypes.m4
ax_pthread.m4 Back-patch updated thread flags tests into 9.4 and 9.5. 2018-11-19 14:24:51 -05:00
c-compiler.m4 Use return instead of exit() in configure 2020-09-08 10:09:56 +02:00
c-library.m4 Use return instead of exit() in configure 2020-09-08 10:09:56 +02:00
check_decls.m4 Fix configure's AC_CHECK_DECLS tests to work correctly with clang. 2018-11-19 12:01:47 -05:00
config.guess
config.sub
docbook.m4
general.m4
install-sh
libtool.m4
Makefile
missing
perl.m4 MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. 2017-12-08 18:06:29 -08:00
prep_buildtree
programs.m4 Fix configure's incorrect version tests for flex and perl. 2016-05-02 11:18:10 -04:00
python.m4 configure: Update python search order 2019-09-08 13:45:13 -04:00
tcl.m4 Make some fixes to allow building Postgres on macOS 10.14 ("Mojave"). 2018-09-25 13:23:29 -04:00
test_quiet_include.h