~ubuntu-branches/ubuntu/saucy/x264/saucy-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Rico Tzschichholz
  • Date: 2012-04-29 19:56:17 UTC
  • mfrom: (12.2.7 sid)
  • Revision ID: package-import@ubuntu.com-20120429195617-81ib7q4k3sw4cjwc
Tags: 2:0.123.2189+git35cf912-1
* Update to new upstream snapshot
* Imported Upstream version 0.123.2189+git35cf912
* Regenerate manpage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1091
1091
            # MSVC link does not act similarly, so it is required to make an export definition out of x264.h and use it at link time
1092
1092
            echo "SOFLAGS=-dll -def:x264.def -implib:\$(IMPLIBNAME) $SOFLAGS" >> config.mak
1093
1093
            echo "EXPORTS" > x264.def
1094
 
            grep "^\(int\|void\|x264_t\|extern\).*x264.*[\[(;]" ${SRCPATH}/x264.h | sed -e "s/.*\(x264.*\)[\[(].*/\1/;s/.*\(x264.*\);/\1/;s/open/open_$API/g" >> x264.def
 
1094
            # export API functions
 
1095
            grep "^\(int\|void\|x264_t\).*x264" ${SRCPATH}/x264.h | sed -e "s/.*\(x264.*\)(.*/\1/;s/open/open_$API/g" >> x264.def
 
1096
            # export API variables/data. must be flagged with the DATA keyword
 
1097
            grep "extern.*x264" ${SRCPATH}/x264.h | sed -e "s/.*\(x264\w*\)\W.*/\1 DATA/;" >> x264.def
1095
1098
        else
1096
1099
            echo 'IMPLIBNAME=libx264.dll.a' >> config.mak
1097
1100
            echo "SOFLAGS=-shared -Wl,--out-implib,\$(IMPLIBNAME) -Wl,--enable-auto-image-base $SOFLAGS" >> config.mak