Skip to content

Commit

Permalink
Merged revision(s) 21838 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Fix] build: Autotools: Fix quoting in C++ detection.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@21840 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Oct 16, 2024
1 parent 438f10a commit cb21212
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/autotools/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -282,13 +282,13 @@ AC_PROG_CC_STDC
#AC_PROG_CC_C99

# We need C++17 support
#AX_CXX_COMPILE_STDCXX(20, [noext], [optional])
#AX_CXX_COMPILE_STDCXX([20], [noext], [optional])
#AS_IF([test "x$HAVE_CXX20" != "x1"],
# [
# AX_CXX_COMPILE_STDCXX(17, [noext], [mandatory])
# AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])
# ],[]
#)
AX_CXX_COMPILE_STDCXX(17, [noext], [mandatory])
AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])

AC_LANG_PUSH([C])
AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], [CFLAGS="$CFLAGS -fvisibility=hidden"])
Expand Down

0 comments on commit cb21212

Please sign in to comment.