Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1c1eec0

Browse files
committed
Remove configure --with-CC option
It's been deprecated since commit cb29220 from July 2000. Discussion: https://www.postgresql.org/message-id/a2a0f5d8-2d80-48e5-b8f7-0a0a6018c3b7@iki.fi
1 parent 802d886 commit 1c1eec0

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

configure

-27
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,6 @@ with_blocksize
845845
with_segsize
846846
with_segsize_blocks
847847
with_wal_blocksize
848-
with_CC
849848
with_llvm
850849
enable_depend
851850
enable_cassert
@@ -1557,7 +1556,6 @@ Optional Packages:
15571556
set table segment size in blocks [0]
15581557
--with-wal-blocksize=BLOCKSIZE
15591558
set WAL block size in kB [8]
1560-
--with-CC=CMD set compiler (deprecated)
15611559
--with-llvm build with LLVM based JIT support
15621560
--without-icu build without ICU support
15631561
--with-tcl build Tcl modules (PL/Tcl)
@@ -3891,31 +3889,6 @@ _ACEOF
38913889
# C compiler
38923890
#
38933891

3894-
# For historical reasons you can also use --with-CC to specify the C compiler
3895-
# to use, although the standard way to do this is to set the CC environment
3896-
# variable.
3897-
3898-
3899-
3900-
# Check whether --with-CC was given.
3901-
if test "${with_CC+set}" = set; then :
3902-
withval=$with_CC;
3903-
case $withval in
3904-
yes)
3905-
as_fn_error $? "argument required for --with-CC option" "$LINENO" 5
3906-
;;
3907-
no)
3908-
as_fn_error $? "argument required for --with-CC option" "$LINENO" 5
3909-
;;
3910-
*)
3911-
CC=$with_CC
3912-
;;
3913-
esac
3914-
3915-
fi
3916-
3917-
3918-
39193892
# If you don't specify a list of compilers to test, the AC_PROG_CC and
39203893
# AC_PROG_CXX macros test for a long list of unsupported compilers.
39213894
pgac_cc_list="gcc cc"

configure.ac

-5
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,6 @@ AC_DEFINE_UNQUOTED([XLOG_BLCKSZ], ${XLOG_BLCKSZ}, [
368368
# C compiler
369369
#
370370

371-
# For historical reasons you can also use --with-CC to specify the C compiler
372-
# to use, although the standard way to do this is to set the CC environment
373-
# variable.
374-
PGAC_ARG_REQ(with, CC, [CMD], [set compiler (deprecated)], [CC=$with_CC])
375-
376371
# If you don't specify a list of compilers to test, the AC_PROG_CC and
377372
# AC_PROG_CXX macros test for a long list of unsupported compilers.
378373
pgac_cc_list="gcc cc"

0 commit comments

Comments
 (0)