Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-19 07:40:16 +0300
committerMåns Rullgård <mans@mansr.com>2010-01-19 07:40:16 +0300
commita3e02a8cadcbd1a67fc5783bb92739c9e28006a6 (patch)
tree74517ad9c7e58448500386534002c15cd178f19f /configure
parentaa310a9fc734344b1187282f12d63e1eaefaa88c (diff)
Create and install libavutil/avconfig.h
This file contains a safe subset of the config.h settings. Only bigendian is included for now, more can be added as need arises. Originally committed as revision 21321 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure b/configure
index fb78be48c5..495e5b00b4 100755
--- a/configure
+++ b/configure
@@ -963,14 +963,18 @@ ARCH_EXT_LIST='
vis
'
+HAVE_LIST_PUB='
+ bigendian
+'
+
HAVE_LIST="
$ARCH_EXT_LIST
+ $HAVE_LIST_PUB
$THREADS_LIST
alsa_asoundlib_h
altivec_h
arpa_inet_h
attribute_packed
- bigendian
bswap
closesocket
cmov
@@ -2955,6 +2959,18 @@ echo "endif # FFMPEG_CONFIG_MAK" >> config.mak
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds.
cp_if_changed $TMPH config.h
+cat > $TMPH <<EOF
+/* Generated by ffconf */
+#ifndef AVUTIL_AVCONFIG_H
+#define AVUTIL_AVCONFIG_H
+EOF
+
+print_config AV_HAVE_ $TMPH /dev/null $HAVE_LIST_PUB
+
+echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH
+
+cp_if_changed $TMPH libavutil/avconfig.h
+
# build pkg-config files
pkgconfig_generate(){