Sync from SUSE:ALP:Source:Standard:1.0 espeak-ng revision 08da8244c14558d2c2dff99a544e18ea
This commit is contained in:
commit
c06eb6d6ee
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
espeak-ng-1.51.tar.gz
(Stored with Git LFS)
Normal file
BIN
espeak-ng-1.51.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
199
espeak-ng.changes
Normal file
199
espeak-ng.changes
Normal file
@ -0,0 +1,199 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 24 17:25:17 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
- added fix-configure-1171.patch to fix configure step
|
||||||
|
- remove no longer needed patches:
|
||||||
|
- espeak-ng-1.49.2-fix_no_return_nonvoid-in-configure.patch
|
||||||
|
- espeak-ng-1.50-fix_gcc10_no_common.patch
|
||||||
|
- espeak-ng-1.50-fix_gcc10_no_common_2.patch
|
||||||
|
- update to version 1.51:
|
||||||
|
- Add support for speechPlayer.
|
||||||
|
- Add more tests to check the various parts of espeak-ng.
|
||||||
|
- Various changes to clean up the codebase (Juho Hiltunen)
|
||||||
|
- Remove support for l_length_mods language option
|
||||||
|
- Restructure "option brackets" language option to "brackets" and "bracketsAnnounced"
|
||||||
|
- Restructure "stressLength" and "stressAdd" language option
|
||||||
|
- New Language option: "lowercaseSentence" for ending a sentence if a period is followed by a lower case letter
|
||||||
|
- Add voice variants
|
||||||
|
- Rename zh to cmn (Mandarin)
|
||||||
|
- Rename zhy to yue (Cantonese)
|
||||||
|
- cmn (Mandarin) now assumes all latin characters all English text
|
||||||
|
Use cmn-latn-pinyin for interpreting latin characters as pinyin
|
||||||
|
- Update list of voice varants for Android application
|
||||||
|
- Add Chromium extension (guest271314)
|
||||||
|
- Replace `ieee80.c` by a free software implementation (Ulrich Müller)
|
||||||
|
- bug fixes:
|
||||||
|
- Fix reading malformed SSML (Christopher Brannon)
|
||||||
|
- Fix memory allocation (Christopher Brannon)
|
||||||
|
- Fix building and phoneme compilation (John Bowler)
|
||||||
|
- Fix build scripts for Android (Peter Vágner, Minas Tirith Citizen)
|
||||||
|
- documentation:
|
||||||
|
- Add documentation about voice and language options.
|
||||||
|
- Add documentation about dictionary flags.
|
||||||
|
- updated languages:
|
||||||
|
- ar (Arabic) -- king-dahmanus
|
||||||
|
- ba (Bashkir) -- boracasli98, Valdis Vitolins, Juho Hiltunen
|
||||||
|
- cmn (Mandarin) -- Silas S. Brown, Rongcui Dong, Icenowy Zheng, Juho Hiltunen
|
||||||
|
- de (German) -- Karl Eick, Henry Krumb
|
||||||
|
- el (Modern Greek) -- Reece Dunn (support for variant Greek letter forms)
|
||||||
|
- en (English) -- Steven Presser, Ben Talagan
|
||||||
|
- eo (Esperanto) -- AlsoScratch
|
||||||
|
- eu (Basque) -- agonzalezd
|
||||||
|
- fa (Farsi/Persian) -- Shadyar Khodayari
|
||||||
|
- ga (Gaelic (Irish)) Chen, Chien-ting
|
||||||
|
- grc (Ancient Greek) -- Reece Dunn (support for variant Greek letter forms)
|
||||||
|
- hak (Hakka Chinese) -- Juho Hiltunen
|
||||||
|
- haw (Hawaiian) -- Juho Hiltunen
|
||||||
|
- ka (Georgian) -- Juho Hiltunen
|
||||||
|
- kok (Konkani) -- Juho Hiltunen
|
||||||
|
- nb (Norwegian Bokmål) -- Juho Hiltunen
|
||||||
|
- nci (Classical Nahuatl) -- Juho Hiltunen
|
||||||
|
- hy (Armenian) -- tigransimonyan
|
||||||
|
- ia (Interlingua) -- nesrad
|
||||||
|
- it (Italian) -- Christian Leo
|
||||||
|
- ja (Japanese) -- fukuen, Juho Hiltunen
|
||||||
|
- jbo (Lojban) -- Juho Hiltunen, xunsku
|
||||||
|
- lv (Latvian) -- Valdis Vitolins
|
||||||
|
- mi (Māori) -- boracasli98
|
||||||
|
- py (Pyash) -- Andrii Logan Zvorygin
|
||||||
|
- shn (Shan Tay Yai) -- ronaldaug
|
||||||
|
- tr (Turkish) -- boracasli98, SeanTolstoyevski
|
||||||
|
- ur (Urdu) -- Ejaz Shah
|
||||||
|
- uz (Uzbek) -- boracasli98, Valdis Vitolins, Andiv06
|
||||||
|
- yue (Cantonese) -- Andiv06
|
||||||
|
- new languages:
|
||||||
|
- be (Belarusian) -- Sergei B
|
||||||
|
- chr (Cherokee) -- Michael Conrad
|
||||||
|
- cv (Chuvash) -- boracasli98, Valdis Vitolins
|
||||||
|
- en-us-nyc (English, New York City) -- Richard Calvi
|
||||||
|
- haw (Hawaiian) -- Valdis Vitolins
|
||||||
|
- he (Hebrew) -- boracasli98, Valdis Vitolins
|
||||||
|
- io (Ido) -- José Miguel López, Valdis Vitolins
|
||||||
|
- lb (Luxembourgish) -- Marco Barnig, Valdis Vitolins
|
||||||
|
- ltg (Latgalian) -- Valdis Vitolins
|
||||||
|
- nog (Nogai) -- boracasli98, Valdis Vitolins
|
||||||
|
- piqd (Klingon) -- Valdis Vitolins
|
||||||
|
- qu (Quechua) -- Valdis Vitolins
|
||||||
|
- qdb (Lang Belta) -- Da Def, Valdis Vitolins
|
||||||
|
- qya (Quenya) -- Lucas Werkmeister
|
||||||
|
- sjn (Sindarin) -- Lucas Werkmeister
|
||||||
|
- smj (Lule Saami) -- Katri Hiovain, Sebastien Le Maguer
|
||||||
|
- th (Thai) -- Valdis Vitolins
|
||||||
|
- tk (Turkmen) -- boracasli98, Valdis Vitolins
|
||||||
|
- ug (Uyghur) -- boracasli98, Valdis Vitolins
|
||||||
|
- uk (Ukrainian) -- Valdis Vitolins
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 21:35:09 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Added espeak-ng-1.50-fix_gcc10_no_common.patch and
|
||||||
|
espeak-ng-1.50-fix_gcc10_no_common_2.patch (fix boo#1160389)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 29 19:21:47 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Update to version 1.50
|
||||||
|
* Add a `--disable-rpath` option to prevent libtool hardcoding
|
||||||
|
rpaths in the executable.
|
||||||
|
* Renamed the `hy-arevmda` language to `hyw`, following the
|
||||||
|
2018-03-30 change to the BCP 47 language subtag registry
|
||||||
|
making the newly registered `hyw` language code the preferred
|
||||||
|
value for `hy-arevmda`. This change keeps support for
|
||||||
|
detecting the `hy-arevela` and `hy-arevmda` language tags.
|
||||||
|
* Support any length replacement rule strings for the source
|
||||||
|
part of the rule (replacing from the 'source' string to the
|
||||||
|
'target' string).
|
||||||
|
* Add more tests to check the various parts of espeak-ng.
|
||||||
|
* Various changes to clean up the codebase.
|
||||||
|
* Fix various compiler warnings (`-Winitialized`,
|
||||||
|
`-Wmissing-prototypes`, `-Wreturn-type`, and `-Wunused`).
|
||||||
|
security:
|
||||||
|
* Fix several crashes in the emoji support.
|
||||||
|
* Fix several static analysis issues detected by Coverity Scan.
|
||||||
|
* Fix several static analysis issues detected by Microsoft
|
||||||
|
Visual C++ `/analyze`.
|
||||||
|
* `oss-fuzz` support for the SSML logic.
|
||||||
|
* Fix running `make check` with `-fsanitize=address` (LLVM
|
||||||
|
AddressSanitizer).
|
||||||
|
documentation:
|
||||||
|
* document the Kirshenbaum phoneme transcription scheme (used
|
||||||
|
as the basis of espeak phonemes).
|
||||||
|
* document the X-SAMPA phoneme transcription scheme.
|
||||||
|
* document the Conlang X-SAMPA phoneme transcription scheme.
|
||||||
|
emoji:
|
||||||
|
* Update the emoji to Unicode 11.0.
|
||||||
|
* Update the emoji translations to CLDR 33.1.
|
||||||
|
* gd (Scottish Gaelic)
|
||||||
|
* sd (Sindhi)
|
||||||
|
* yue (Chinese (Cantonese))
|
||||||
|
new languages:
|
||||||
|
* ba (Bashkir) -- tc-dl, Valdis Vitolins
|
||||||
|
* hak (Hakka Chinese) -- Chen Chien-ting
|
||||||
|
* ht (Haitian Creole) -- Valdis Vitolins
|
||||||
|
* kk (Kazakh) -- boracasli14, Valdis Vitolins
|
||||||
|
* py (Pyash) -- Logan Streondj
|
||||||
|
* quc (K'iche') -- Valdis Vitolins
|
||||||
|
* ru-lv (Russian Latvia) -- Valdis Vitolins
|
||||||
|
* shn (Shan Tay Yai) -- ronaldaug
|
||||||
|
* uz (Uzbek) -- Valdis Vitolins
|
||||||
|
updated languages:
|
||||||
|
* af (Afrikaans) -- Christo de Klerk
|
||||||
|
* ar (Arabic) -- Valdis Vitolins, Mark Readdie, Hesham Assabahi
|
||||||
|
* cmn (Chinese Mandarin) -- materia-cccp
|
||||||
|
* de (German) -- Reece Dunn, Karl Eick
|
||||||
|
* en (English) -- Reece Dunn
|
||||||
|
* fa (Farsi/Persian) -- Shadyar Khodayari
|
||||||
|
* fi (Finnish) -- Juho Hiltunen
|
||||||
|
* fr (French) -- Shallowmallow, Karl Eick, maiido, Reece Dunn
|
||||||
|
* ku (Kurdish) -- rojanu
|
||||||
|
* it (Italian) -- chrislm
|
||||||
|
* lv (Latvian) -- Valdis Vitolins
|
||||||
|
* my (Myanmar/Burmese) -- Min Maung
|
||||||
|
* ru (Russian) -- Valdis Vitolins, Reece Dunn
|
||||||
|
* sd (Sindhi) -- Ejaz Shah
|
||||||
|
* ur (Urdu) -- Ejaz Shah
|
||||||
|
* vi (Vietnamese) -- Anh Hoang Nguyen
|
||||||
|
|
||||||
|
- Dropped espeak-ng-1.49.2-fix_no_return_nonvoid.patch (no longer
|
||||||
|
necessary)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 12 11:33:11 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Add espeak-ng-1.49.2-fix_no_return_nonvoid-in-configure.patch
|
||||||
|
in order to fix missing return type in a function.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 5 12:40:38 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Added link to match libespeak filename in the compat-devel
|
||||||
|
package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 10:33:41 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Added missing runtime dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 13:54:26 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Added pcaudiolib build requirement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 10 15:55:46 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Use a versioned datadir
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 9 18:50:37 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Split library into separate package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 16 11:43:14 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Added Conflicts lines
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 28 14:54:31 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Initial package (1.49.2)
|
154
espeak-ng.spec
Normal file
154
espeak-ng.spec
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
#
|
||||||
|
# spec file for package espeak-ng
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define sover 1
|
||||||
|
Name: espeak-ng
|
||||||
|
Version: 1.51
|
||||||
|
Release: 0
|
||||||
|
Summary: Software speech synthesizer (text-to-speech)
|
||||||
|
License: Apache-2.0 AND BSD-2-Clause AND GPL-3.0-or-later AND Unicode-DFS-2015
|
||||||
|
URL: https://github.com/espeak-ng/espeak-ng
|
||||||
|
Source0: https://github.com/espeak-ng/espeak-ng/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
# PATCH-FIX_UPSTREAM fix-configure-1171.patch -- https://github.com/espeak-ng/espeak-ng/issues/1171
|
||||||
|
Patch0: https://github.com/espeak-ng/espeak-ng/commit/a25849e4d54a23ae1294b129d5696ca7e144ec8b.patch#/fix-configure-1171.patch
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libtool >= 2.4.2
|
||||||
|
BuildRequires: pcaudiolib-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: rubygem(kramdown)
|
||||||
|
#SECTION docs
|
||||||
|
BuildRequires: rubygem(ronn)
|
||||||
|
#/SECTION
|
||||||
|
|
||||||
|
%description
|
||||||
|
The eSpeak NG (Next Generation) Text-to-Speech program is a speech
|
||||||
|
synthesizer that supports 100 languages and accents. It is based
|
||||||
|
on the eSpeak engine created by Jonathan Duddington. It uses
|
||||||
|
spectral formant synthesis by default which sounds robotic, but can
|
||||||
|
be configured to use Klatt formant synthesis or MBROLA to give it a
|
||||||
|
more natural sound.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for espeak-ng
|
||||||
|
Requires: lib%{name}%{sover} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains development files for espeak-ng.
|
||||||
|
|
||||||
|
%package compat
|
||||||
|
Summary: Executables compatible with the original espeak
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Conflicts: espeak
|
||||||
|
|
||||||
|
%description compat
|
||||||
|
This package contains executables compatible with the original espeak.
|
||||||
|
|
||||||
|
%package compat-devel
|
||||||
|
Summary: Development files for espeak-ng compatible with espeak
|
||||||
|
Requires: %{name}-compat = %{version}
|
||||||
|
Requires: espeak-ng-devel = %{version}
|
||||||
|
Requires: libespeak-ng%{sover} = %{version}
|
||||||
|
Conflicts: espeak-devel
|
||||||
|
|
||||||
|
%description compat-devel
|
||||||
|
This package contains development files for espeak-ng
|
||||||
|
compatible with the original espeak.
|
||||||
|
|
||||||
|
%package -n lib%{name}%{sover}
|
||||||
|
Summary: Software speech synthesizer (text-to-speech)
|
||||||
|
|
||||||
|
%description -n lib%{name}%{sover}
|
||||||
|
Software speech synthesizer (text-to-speech), support
|
||||||
|
library.
|
||||||
|
|
||||||
|
%package vim
|
||||||
|
Summary: Vim syntax highlighting for espeak-ng data files
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Supplements: (%{name} and vim)
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description vim
|
||||||
|
Optional files for syntax highlighting for espeak-ng data files in vim.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
# let's have a versioned data dir
|
||||||
|
sed -i '/^DATADIR/s/data/data-%{version}/' Makefile.am
|
||||||
|
# remove spurious executable flag
|
||||||
|
chmod -x espeak-ng-data/lang/tai/shn
|
||||||
|
|
||||||
|
%build
|
||||||
|
./autogen.sh
|
||||||
|
%configure
|
||||||
|
# build is not parallel-safe
|
||||||
|
%make_build
|
||||||
|
LC_ALL=C.UTF-8 make docs
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find %{buildroot} \( -name *.a -o -name *.la -o -name libespeak-ng-test* \) -delete
|
||||||
|
pushd %{buildroot}%{_libdir}
|
||||||
|
ln -s lib%{name}.so.%{sover} libespeak.so
|
||||||
|
popd
|
||||||
|
mv %{buildroot}%{_datadir}/vim/addons %{buildroot}%{_datadir}/vim/vimfiles
|
||||||
|
rm -vrf %{buildroot}%{_datadir}/vim/registry
|
||||||
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ...
|
||||||
|
|
||||||
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc CHANGELOG.md README.md
|
||||||
|
%license COPYING COPYING.APACHE COPYING.BSD2 COPYING.UCD
|
||||||
|
%{_bindir}/espeak-ng
|
||||||
|
%{_bindir}/speak-ng
|
||||||
|
%{_mandir}/man1/speak-ng.1%{?ext_man}
|
||||||
|
%{_mandir}/man1/espeak-ng.1%{?ext_man}
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%exclude %{_includedir}/espeak
|
||||||
|
%{_includedir}/%{name}
|
||||||
|
%{_libdir}/lib%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
%files compat
|
||||||
|
%{_bindir}/espeak
|
||||||
|
%{_bindir}/speak
|
||||||
|
|
||||||
|
%files compat-devel
|
||||||
|
%{_includedir}/espeak
|
||||||
|
%{_libdir}/libespeak.so
|
||||||
|
|
||||||
|
%files -n lib%{name}%{sover}
|
||||||
|
%{_datadir}/espeak-ng-data-%{version}
|
||||||
|
%{_libdir}/lib%{name}.so.%{sover}*
|
||||||
|
|
||||||
|
%files vim
|
||||||
|
%dir %{_datadir}/vim
|
||||||
|
%dir %{_datadir}/vim/vimfiles
|
||||||
|
%dir %{_datadir}/vim/vimfiles/ftdetect
|
||||||
|
%dir %{_datadir}/vim/vimfiles/syntax
|
||||||
|
%{_datadir}/vim/vimfiles/ftdetect/espeakfiletype.vim
|
||||||
|
%{_datadir}/vim/vimfiles/syntax/espeaklist.vim
|
||||||
|
%{_datadir}/vim/vimfiles/syntax/espeakrules.vim
|
||||||
|
|
||||||
|
%changelog
|
32
fix-configure-1171.patch
Normal file
32
fix-configure-1171.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From a25849e4d54a23ae1294b129d5696ca7e144ec8b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
Date: Sun, 24 Apr 2022 18:46:24 +0200
|
||||||
|
Subject: [PATCH] configure.ac: Fix inline function test
|
||||||
|
|
||||||
|
fixes #1171
|
||||||
|
---
|
||||||
|
configure.ac | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 7af4dc971..05a4a4024 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -97,7 +97,7 @@ AC_LANG_PUSH(C)
|
||||||
|
AC_MSG_CHECKING([if $CC supports C99 without any flags])
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_PROGRAM(
|
||||||
|
- [[static inline int c99_restrict(int *restrict c99_restrict) {}]],
|
||||||
|
+ [[static inline void c99_restrict(int *restrict c99_restrict) {}]],
|
||||||
|
[[]])],
|
||||||
|
[AC_MSG_RESULT([yes])
|
||||||
|
have_c99_native=yes],
|
||||||
|
@@ -111,7 +111,7 @@ CFLAGS="$CFLAGS -std=c99"
|
||||||
|
AC_MSG_CHECKING([if $CC supports C99 with the -std=c99 flag])
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_PROGRAM(
|
||||||
|
- [[static inline int c99_restrict(int *restrict c99_restrict) {}]],
|
||||||
|
+ [[static inline void c99_restrict(int *restrict c99_restrict) {}]],
|
||||||
|
[[]])],
|
||||||
|
[AC_MSG_RESULT([yes])
|
||||||
|
have_c99_c99=yes],
|
Loading…
Reference in New Issue
Block a user