3 if [ "x$VER" != x -a "$VER" != exported ]
5 echo "#define X264_VERSION \" svn-$VER\"" >> config.h
6 VER=`echo $VER | sed -e 's/[^0-9].*//'`
8 echo "#define X264_VERSION \"\"" >> config.h
11 API=`grep '#define X264_BUILD' < x264.h | sed -e 's/.* \([1-9][0-9]*\).*/\1/'`
12 echo "#define X264_POINTVER \"0.$API.$VER\"" >> config.h