Commit 4a339aba authored by Sebastian Dröge's avatar Sebastian Dröge

configure: Check if the compiler supports ISO C89 or C99 and which parameters are required

This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.
parent 89231d14
......@@ -102,6 +102,7 @@ dnl *** checks for programs ***
dnl find a compiler
AC_PROG_CC
AC_PROG_CC_STDC
dnl determine c++ compiler
AC_PROG_CXX
......
......@@ -26390,7 +26390,7 @@
<FLAGS>rw</FLAGS>
<NICK>splash</NICK>
<BLURB>make a big splash in the center.</BLURB>
<DEFAULT>8.20251e-304</DEFAULT>
<DEFAULT>8.20075e-304</DEFAULT>
</ARG>
<ARG>
......@@ -26420,7 +26420,7 @@
<FLAGS>rw</FLAGS>
<NICK>ratiox</NICK>
<BLURB>x-ratio.</BLURB>
<DEFAULT>8.96229e+130</DEFAULT>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
......@@ -26430,7 +26430,7 @@
<FLAGS>rw</FLAGS>
<NICK>ratioy</NICK>
<BLURB>y-ratio.</BLURB>
<DEFAULT>2.90942e-152</DEFAULT>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
......@@ -26470,7 +26470,7 @@
<FLAGS>rw</FLAGS>
<NICK>Color</NICK>
<BLURB>the color of the image.</BLURB>
<DEFAULT>1.45849e-19</DEFAULT>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
......@@ -27010,7 +27010,7 @@
<FLAGS>rw</FLAGS>
<NICK>blend</NICK>
<BLURB>blend factor.</BLURB>
<DEFAULT>4.74303e-322</DEFAULT>
<DEFAULT>3.99727e+252</DEFAULT>
</ARG>
<ARG>
......@@ -27020,7 +27020,7 @@
<FLAGS>rw</FLAGS>
<NICK>fader</NICK>
<BLURB>the fader position.</BLURB>
<DEFAULT>-6.17189e+303</DEFAULT>
<DEFAULT>4.74303e-322</DEFAULT>
</ARG>
<ARG>
......@@ -27200,7 +27200,7 @@
<FLAGS>rw</FLAGS>
<NICK>HSync</NICK>
<BLURB>the hsync offset.</BLURB>
<DEFAULT>1.85589e-316</DEFAULT>
<DEFAULT>1</DEFAULT>
</ARG>
<ARG>
......
......@@ -22,107 +22,10 @@ GObject
GstGSettingsAudioSrc
GstGSettingsVideoSrc
DvbBaseBin
GstRtpBin
GstFPSDisplaySink
GstAutoConvert
GstSDPDemux
GstRtpBin
GstBaseTransform
GstVideoFilter
GstColorEffects
GstGeometricTransform
GstCircleGeometricTransform
GstCircle
GstKaleidoscope
GstPinch
GstSphere
GstTwirl
GstWaterRipple
GstStretch
GstBulge
GstTunnel
GstDiffuse
GstMarble
GstSquare
GstMirror
GstFisheye
GstZBar
GstBurn
GstChromium
GstDilate
GstDodge
GstExclusion
GstSolarize
GaussBlur
frei0r-filter-transparency
frei0r-filter-invert0r
frei0r-filter-letterb0xed
frei0r-filter-gamma
frei0r-filter-delay0r
frei0r-filter-r
frei0r-filter-squareblur
frei0r-filter-curves
frei0r-filter-b
frei0r-filter-vectorscope
frei0r-filter-mask0mate
frei0r-filter-vertigo
frei0r-filter-color-distance
frei0r-filter-distort0r
frei0r-filter-threshold0r
frei0r-filter-lens-correction
frei0r-filter-nosync0r
frei0r-filter-luminance
frei0r-filter-rgb-parade
frei0r-filter-3-point-color-balance
frei0r-filter-bw0r
frei0r-filter-threelay0r
frei0r-filter-bluescreen0r
frei0r-filter-sobel
frei0r-filter-glow
frei0r-filter-tint0r
frei0r-filter-levels
frei0r-filter-hueshift0r
frei0r-filter-pixeliz0r
frei0r-filter-primaries
frei0r-filter-nervous
frei0r-filter-saturat0r
frei0r-filter-white-balance
frei0r-filter-cartoon
frei0r-filter-twolay0r
frei0r-filter-scanline0r
frei0r-filter-water
frei0r-filter-perspective
frei0r-filter-k-means-clustering
frei0r-filter-edgeglow
frei0r-filter-baltan
frei0r-filter-g
frei0r-filter-tehroxx0r
frei0r-filter-equaliz0r
frei0r-filter-scale0tilt
frei0r-filter-brightness
frei0r-filter-flippo
frei0r-filter-3dflippo
frei0r-filter-contrast0r
frei0r-filter-dealygrab
GstVideoAnalyse
GstVideoDetect
GstVideoMark
GstAudioFilter
GstOFA
GstBPMDetect
GstStereo
GstCogdownsample
GstCogcolorspace
GstCogScale
GstColorconvert
GstLogoinsert
GstDtmfDetect
GstBayer2RGB
GstRGB2Bayer
GstVideoMaxRate
GstScaletempo
GstLegacyresample
GstMeasureCollector
GstHDVParse
GstSignalProcessor
invadarecords-com-plugins-lv2-compressor-mono
invadarecords-com-plugins-lv2-compressor-stereo
......@@ -375,6 +278,103 @@ GObject
GstDTMFSrc
GstRTPDTMFSrc
GstDataURISrc
GstBaseTransform
GstAudioFilter
GstOFA
GstBPMDetect
GstStereo
GstCogdownsample
GstCogcolorspace
GstCogScale
GstColorconvert
GstLogoinsert
GstVideoFilter
GstZBar
GstBurn
GstChromium
GstDilate
GstDodge
GstExclusion
GstSolarize
GaussBlur
frei0r-filter-transparency
frei0r-filter-invert0r
frei0r-filter-letterb0xed
frei0r-filter-gamma
frei0r-filter-delay0r
frei0r-filter-r
frei0r-filter-squareblur
frei0r-filter-curves
frei0r-filter-b
frei0r-filter-vectorscope
frei0r-filter-mask0mate
frei0r-filter-vertigo
frei0r-filter-color-distance
frei0r-filter-distort0r
frei0r-filter-threshold0r
frei0r-filter-lens-correction
frei0r-filter-nosync0r
frei0r-filter-luminance
frei0r-filter-rgb-parade
frei0r-filter-3-point-color-balance
frei0r-filter-bw0r
frei0r-filter-threelay0r
frei0r-filter-bluescreen0r
frei0r-filter-sobel
frei0r-filter-glow
frei0r-filter-tint0r
frei0r-filter-levels
frei0r-filter-hueshift0r
frei0r-filter-pixeliz0r
frei0r-filter-primaries
frei0r-filter-nervous
frei0r-filter-saturat0r
frei0r-filter-white-balance
frei0r-filter-cartoon
frei0r-filter-twolay0r
frei0r-filter-scanline0r
frei0r-filter-water
frei0r-filter-perspective
frei0r-filter-k-means-clustering
frei0r-filter-edgeglow
frei0r-filter-baltan
frei0r-filter-g
frei0r-filter-tehroxx0r
frei0r-filter-equaliz0r
frei0r-filter-scale0tilt
frei0r-filter-brightness
frei0r-filter-flippo
frei0r-filter-3dflippo
frei0r-filter-contrast0r
frei0r-filter-dealygrab
GstVideoAnalyse
GstVideoDetect
GstVideoMark
GstColorEffects
GstGeometricTransform
GstCircleGeometricTransform
GstCircle
GstKaleidoscope
GstPinch
GstSphere
GstTwirl
GstWaterRipple
GstStretch
GstBulge
GstTunnel
GstDiffuse
GstMarble
GstSquare
GstMirror
GstFisheye
GstDtmfDetect
GstBayer2RGB
GstRGB2Bayer
GstVideoMaxRate
GstScaletempo
GstLegacyresample
GstMeasureCollector
GstHDVParse
GstDtsDec
GstRsvgDec
GstFaac
......@@ -400,6 +400,10 @@ GObject
GstMveMux
GstBaseRTPDepayload
GstRtpDTMFDepay
GstRtpJitterBuffer
GstRtpPtDemux
GstRtpSession
GstRtpSsrcDemux
GstMpegPSDemux
GstMpegTSDemux
MpegTSParse
......@@ -495,10 +499,6 @@ GObject
GstSirenEnc
GstPcapParse
MpegPsMux
GstRtpJitterBuffer
GstRtpPtDemux
GstRtpSession
GstRtpSsrcDemux
GstBus
GstTask
GstTaskPool
......@@ -513,9 +513,9 @@ GObject
GstJackAudioSinkRingBuffer
GstSignalObject
GstVdpDevice
RTPSession
MpegTsPatInfo
MpegTsPmtInfo
RTPSession
GstColorBalanceChannel
GInterface
GTypePlugin
......
......@@ -10,10 +10,10 @@ GstGSettingsSwitchSrc GstChildProxy
GstGSettingsAudioSrc GstChildProxy
GstGSettingsVideoSrc GstChildProxy
DvbBaseBin GstChildProxy GstURIHandler
GstRtpBin GstChildProxy
GstFPSDisplaySink GstChildProxy
GstAutoConvert GstChildProxy
GstSDPDemux GstChildProxy
GstRtpBin GstChildProxy
GstMetadataMux GstTagSetter
GstXvidEnc GstPreset
GstVP8Enc GstTagSetter GstPreset
......
......@@ -30,26 +30,5 @@
</caps>
</pads>
</element>
<element>
<name>aiffparse</name>
<longname>AIFF audio demuxer</longname>
<class>Codec/Demuxer/Audio</class>
<description>Parse a .aiff file into raw audio</description>
<author>Pioneers of the Inevitable &lt;songbird@songbirdnest.com&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-aiff</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int){ 1234, 4321 }, width=(int){ 8, 16, 24, 32 }, depth=(int)[ 1, 32 ], signed=(boolean){ true, false }</details>
</caps>
</pads>
</element>
</elements>
</plugin>
\ No newline at end of file
......@@ -9,5 +9,26 @@
<package>GStreamer Bad Plug-ins prerelease</package>
<origin>Unknown package origin</origin>
<elements>
<element>
<name>aiffparse</name>
<longname>AIFF audio demuxer</longname>
<class>Codec/Demuxer/Audio</class>
<description>Parse a .aiff file into raw audio</description>
<author>Pioneers of the Inevitable &lt;songbird@songbirdnest.com&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-aiff</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int){ 1234, 4321 }, width=(int){ 8, 16, 24, 32 }, depth=(int)[ 1, 32 ], signed=(boolean){ true, false }</details>
</caps>
</pads>
</element>
</elements>
</plugin>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment