Originally committed as revision 10772 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun authored on 2007/10/18 07:38:37... | ... |
@@ -1832,6 +1832,8 @@ echo "Creating config.mak and config.h..." |
1832 | 1832 |
|
1833 | 1833 |
echo "# Automatically generated by configure - do not modify!" > config.mak |
1834 | 1834 |
echo "/* Automatically generated by configure - do not modify! */" > $TMPH |
1835 |
+echo "#ifndef FFMPEG_CONFIG_H" >> $TMPH |
|
1836 |
+echo "#define FFMPEG_CONFIG_H" >> $TMPH |
|
1835 | 1837 |
echo "#define FFMPEG_CONFIGURATION \"$FFMPEG_CONFIGURATION\"" >> $TMPH |
1836 | 1838 |
|
1837 | 1839 |
echo "PREFIX=$PREFIX" >> config.mak |
... | ... |
@@ -1942,6 +1944,8 @@ enabled asmalign_pot && |
1942 | 1942 |
printf '#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\\n\\t"\n' >> $TMPH |
1943 | 1943 |
|
1944 | 1944 |
|
1945 |
+echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH |
|
1946 |
+ |
|
1945 | 1947 |
# Do not overwrite config.h if unchanged to avoid superfluous rebuilds. |
1946 | 1948 |
cmp -s $TMPH config.h && |
1947 | 1949 |
echo "config.h is unchanged" || |