[FFmpeg-cvslog] r20498 - in trunk: configure libavutil/internal.h

reimar subversion
Tue Nov 10 13:59:56 CET 2009


Author: reimar
Date: Tue Nov 10 13:59:56 2009
New Revision: 20498

Log:
Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already.

Modified:
   trunk/configure
   trunk/libavutil/internal.h

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Nov 10 13:57:28 2009	(r20497)
+++ trunk/configure	Tue Nov 10 13:59:56 2009	(r20498)
@@ -1876,8 +1876,6 @@ esac
 
 enable $arch $subarch
 enabled spic && enable pic
-# This is the same check as used in libavutil/internal.h
-# to enable RIP-relative addressing for x86_64 inline asm.
 check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
 
 # OS specific

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	Tue Nov 10 13:57:28 2009	(r20497)
+++ trunk/libavutil/internal.h	Tue Nov 10 13:59:56 2009	(r20498)
@@ -91,10 +91,6 @@
 #    define INT_BIT (CHAR_BIT * sizeof(int))
 #endif
 
-#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
-#    define PIC
-#endif
-
 #ifndef offsetof
 #    define offsetof(T, F) ((unsigned int)((char *)&((T *)0)->F))
 #endif



More information about the ffmpeg-cvslog mailing list