Skip to content

Commit cc3b04e

Browse files
committed
libvisual: Require a C++11 compiler + enable C++11 features
Related documentation: https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
1 parent f1e58a6 commit cc3b04e

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

.github/workflows/enforce-copies-of-help-output-in-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
run: |
3636
sudo apt-get update
3737
sudo apt-get install --yes --no-install-recommends \
38+
autoconf-archive \
3839
autopoint \
3940
gettext \
4041
help2man \

.github/workflows/linux_and_macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
# > is to be installed
6666
sudo apt-get install --yes --no-install-recommends libunwind-dev
6767
sudo apt-get install --yes --no-install-recommends \
68+
autoconf-archive \
6869
autopoint \
6970
bison \
7071
doxygen \
@@ -93,6 +94,7 @@ jobs:
9394
if: runner.os == 'macOS'
9495
run: |-
9596
brew install \
97+
autoconf-archive \
9698
automake \
9799
bison \
98100
doxygen \

.github/workflows/translations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
# > is to be installed
2424
sudo apt-get install --yes --no-install-recommends libunwind-dev
2525
sudo apt-get install --yes --no-install-recommends \
26+
autoconf-archive \
2627
autopoint \
2728
bison \
2829
doxygen \

libvisual/configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ AC_HEADER_DIRENT
112112
AC_CHECK_HEADERS([fcntl.h sys/types.h stdlib.h string.h sys/time.h unistd.h sched.h sys/sched.h])
113113

114114
# Checks for typedefs, structures, and compiler characteristics.
115+
AX_CXX_COMPILE_STDCXX_11([noext], [mandatory])
115116
AC_C_CONST
116117
AC_C_INLINE
117118
AC_TYPE_SIZE_T

0 commit comments

Comments
 (0)