diff configure @ 25506:a5dd78186fdc

Make windres binary name configurable, useful for cross-compiling. patch by sheba, sheba469 yahoo com
author diego
date Fri, 28 Dec 2007 10:33:22 +0000
parents fbb527ada079
children 8dfe02cab924
line wrap: on
line diff
--- a/configure	Fri Dec 28 03:45:01 2007 +0000
+++ b/configure	Fri Dec 28 10:33:22 2007 +0000
@@ -400,6 +400,7 @@
   --as=ASSEMBLER         assembler to build MPlayer [as]
   --ar=AR                librarian to build MPlayer [ar]
   --ranlib=RANLIB        ranlib to build MPlayer [ranlib]
+  --windres=WINDRES      windres to build MPlayer [windres]
   --target=PLATFORM      target platform (i386-linux, arm-linux, etc)
   --enable-static        build a statically linked binary
   --charset=charset      convert the console messages to this character set
@@ -478,6 +479,7 @@
 _altivec=auto
 _install=install
 _ranlib=ranlib
+_windres=windres
 _ldconfig=ldconfig
 _cc=cc
 _ar=ar
@@ -770,6 +772,9 @@
   --ranlib=*)
     _ranlib=`echo $ac_option | cut -d '=' -f 2`
     ;;
+  --windres=*)
+    _windres=`echo $ac_option | cut -d '=' -f 2`
+    ;;
   --charset=*)
     _charset=`echo $ac_option | cut -d '=' -f 2`
     ;;
@@ -7597,6 +7602,7 @@
 CXX = $_cc
 HOST_CC = $_host_cc
 RANLIB = $_ranlib
+WINDRES = $_windres
 LDCONFIG = $_ldconfig
 INSTALL = $_install
 EXTRA_INC = $_inc_extra