Commit c8812f6d authored by mru's avatar mru

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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21321 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 326ff0bc
...@@ -963,14 +963,18 @@ ARCH_EXT_LIST=' ...@@ -963,14 +963,18 @@ ARCH_EXT_LIST='
vis vis
' '
HAVE_LIST_PUB='
bigendian
'
HAVE_LIST=" HAVE_LIST="
$ARCH_EXT_LIST $ARCH_EXT_LIST
$HAVE_LIST_PUB
$THREADS_LIST $THREADS_LIST
alsa_asoundlib_h alsa_asoundlib_h
altivec_h altivec_h
arpa_inet_h arpa_inet_h
attribute_packed attribute_packed
bigendian
bswap bswap
closesocket closesocket
cmov cmov
...@@ -2955,6 +2959,18 @@ echo "endif # FFMPEG_CONFIG_MAK" >> config.mak ...@@ -2955,6 +2959,18 @@ echo "endif # FFMPEG_CONFIG_MAK" >> config.mak
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds. # Do not overwrite an unchanged config.h to avoid superfluous rebuilds.
cp_if_changed $TMPH config.h 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 # build pkg-config files
pkgconfig_generate(){ pkgconfig_generate(){
......
...@@ -20,6 +20,8 @@ HEADERS = adler32.h \ ...@@ -20,6 +20,8 @@ HEADERS = adler32.h \
rational.h \ rational.h \
sha1.h \ sha1.h \
BUILT_HEADERS = avconfig.h
OBJS = adler32.o \ OBJS = adler32.o \
aes.o \ aes.o \
avstring.o \ avstring.o \
......
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