]> git.videolan.org Git - x264.git/commitdiff
x86inc: only define program_name if the macro is unset.
authorDiego Biurrun <diego@biurrun.de>
Wed, 31 Oct 2012 19:23:54 +0000 (12:23 -0700)
committerJason Garrett-Glaser <jason@x264.com>
Wed, 7 Nov 2012 22:48:38 +0000 (14:48 -0800)
This allows overriding the value from outside the file.
This can be useful if x86inc.asm is used outside of x264.

common/x86/x86inc.asm

index d7513be4cda669016279dbb6ab42cd4a048b2c5a..368b6f7c0f2efbf048f3c29574d0578b33120b1f 100644 (file)
@@ -34,7 +34,9 @@
 ; as this feature might be useful for others as well.  Send patches or ideas
 ; to x264-devel@videolan.org .
 
-%define program_name x264
+%ifndef program_name
+    %define program_name x264
+%endif
 
 %define WIN64  0
 %define UNIX64 0