changeset 31664:0850cb05c836

Add CONFIG_PIC #define for FFmpeg to config.h.
author diego
date Tue, 13 Jul 2010 12:08:50 +0000
parents ee4a3866f6f9
children 02d92c137407
files configure
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Jul 13 11:46:54 2010 +0000
+++ b/configure	Tue Jul 13 12:08:50 2010 +0000
@@ -2645,6 +2645,7 @@
 
 
 echocheck "PIC"
+def_pic='#define CONFIG_PIC 0'
 pic=no
 cat > $TMPC << EOF
 int main(void) {
@@ -2654,7 +2655,8 @@
     return 0;
 }
 EOF
-cc_check && pic=yes && extra_cflags="$extra_cflags -DPIC"
+cc_check && pic=yes && extra_cflags="$extra_cflags -DPIC" &&
+  def_pic='#define CONFIG_PIC 0'
 echores $pic
 
 
@@ -9242,6 +9244,7 @@
 $def_memalign_hack
 $def_mlib
 $def_mkstemp
+$def_pic
 $def_posix_memalign
 $def_pthreads
 $def_round