From ced75d92231d792b30183bd0e23e3126a0cf641a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 1 Apr 2007 12:51:41 +0000 Subject: [PATCH] Always lowercase targetos. Originally committed as revision 8585 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index cc3f7cb12..7f4543c58 100755 --- a/configure +++ b/configure @@ -750,7 +750,7 @@ mmi="default" bigendian="no" # OS -targetos=`uname -s` +targetos=`tolower \` uname -s\` ` beos_netserver="no" os2="no" wince="no" @@ -1021,7 +1021,7 @@ esac # OS specific osextralibs="-lm" -case `tolower $targetos` in +case $targetos in beos|haiku|zeta) PREFIX="$HOME/config" # helps building libavcodec @@ -1128,7 +1128,7 @@ EOF add_extralibs -lws2_32 ;; cygwin*) - targetos=CYGWIN + targetos=cygwin shlibdir="$bindir" dv1394="no" VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libswscale -L$(BUILD_ROOT)/libavutil' @@ -1145,7 +1145,7 @@ EOF LDLATEFLAGS="-Wl,--as-needed $LDLATEFLAGS" ;; irix*) - targetos=IRIX + targetos=irix ranlib="echo ignoring ranlib" ;; os/2) @@ -1258,7 +1258,7 @@ test -z "$need_memalign" && need_memalign="$mmx" #Darwin CC versions needmdynamicnopic="no" -if test $targetos = Darwin; then +if test $targetos = darwin; then if test -n "`$cc -v 2>&1 | grep xlc`"; then add_cflags "-qpdf2 -qlanglvl=extc99 -qmaxmem=-1 -qarch=auto -qtune=auto" else @@ -1399,7 +1399,7 @@ if test "$?" != 0; then fi if test $arch = "x86_32" -o $arch = "x86_64"; then - if test "$targetos" = "mingw32" -o "$targetos" = "CYGWIN"; then + if test "$targetos" = mingw32 -o "$targetos" = cygwin; then cat <> $TMPH fi -- 2.11.0