summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-15 17:08:41 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-15 17:08:41 +0000
commit10295ba5a0ecd3765118ccd2cb6dd0c5211f1064 (patch)
tree3f95daed6e0a5e9b5719c8d7e37cddf3ad993ef5
parent350ad05cc93d7aaa066793477e8fa9689fb0f9dc (diff)
downloadmpv-10295ba5a0ecd3765118ccd2cb6dd0c5211f1064.tar.bz2
mpv-10295ba5a0ecd3765118ccd2cb6dd0c5211f1064.tar.xz
Simplify OS detection functions.
The return statement in the functions appears unnecessary; remove it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29182 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure40
1 files changed, 20 insertions, 20 deletions
diff --git a/configure b/configure
index fa09962c77..202a368005 100755
--- a/configure
+++ b/configure
@@ -110,26 +110,26 @@ die () {
issystem() {
test "`echo $system_name | tr A-Z a-z`" = "`echo $1 | tr A-Z a-z`"
}
-linux() { issystem "Linux" || issystem "uClinux" ; return "$?" ; }
-sunos() { issystem "SunOS" ; return "$?" ; }
-hpux() { issystem "HP-UX" ; return "$?" ; }
-irix() { issystem "IRIX" ; return "$?" ; }
-aix() { issystem "AIX" ; return "$?" ; }
-cygwin() { issystem "CYGWIN" ; return "$?" ; }
-freebsd() { issystem "FreeBSD" || issystem "GNU/kFreeBSD"; return "$?" ; }
-netbsd() { issystem "NetBSD" ; return "$?" ; }
-bsdos() { issystem "BSD/OS" ; return "$?" ; }
-openbsd() { issystem "OpenBSD" ; return "$?" ; }
-dragonfly() { issystem "DragonFly" ; return "$?" ; }
-qnx() { issystem "QNX" ; return "$?" ; }
-darwin() { issystem "Darwin" ; return "$?" ; }
-gnu() { issystem "GNU" ; return "$?" ; }
-mingw32() { issystem "MINGW32" ; return "$?" ; }
-morphos() { issystem "MorphOS" ; return "$?" ; }
-amigaos() { issystem "AmigaOS" ; return "$?" ; }
-win32() { cygwin || mingw32 ; return "$?" ; }
-beos() { issystem "BEOS" ; return "$?" ; }
-os2() { issystem "OS/2" ; return "$?" ; }
+aix() { issystem "AIX"; }
+amigaos() { issystem "AmigaOS"; }
+beos() { issystem "BEOS"; }
+bsdos() { issystem "BSD/OS"; }
+cygwin() { issystem "CYGWIN"; }
+darwin() { issystem "Darwin"; }
+dragonfly() { issystem "DragonFly"; }
+freebsd() { issystem "FreeBSD" || issystem "GNU/kFreeBSD"; }
+gnu() { issystem "GNU"; }
+hpux() { issystem "HP-UX"; }
+irix() { issystem "IRIX"; }
+linux() { issystem "Linux"; }
+mingw32() { issystem "MINGW32"; }
+morphos() { issystem "MorphOS"; }
+netbsd() { issystem "NetBSD"; }
+openbsd() { issystem "OpenBSD"; }
+os2() { issystem "OS/2"; }
+qnx() { issystem "QNX"; }
+sunos() { issystem "SunOS"; }
+win32() { cygwin || mingw32; }
# arch test boolean functions
# x86/x86pc is used by QNX