History

configure: style changes

* configure (case $targetos): Improve readibility. (case $cpu): New, to improve readability compare to if + test.

Akim Demaille committed 13 years ago

Commit 9c9ca201 parent 5ebc6a91 file · +7 −13Browse files

Unified · Split

configure+7−13
@@ -101,16 +101,10 @@ EXESUF="" · 100 unmodified lines
101# OS specific101# OS specific
102targetos=`uname -s`102targetos=`uname -s`
103case $targetos in103case $targetos in
104MINGW32*)104 MINGW32*) mingw32=yes;;
105mingw32="yes"105 DragonFly) noldl=yes;;
106;;106 OpenBSD) noldl=yes;;
107DragonFly)107 *) ;;
108noldl="yes"
109;;
110OpenBSD)
111noldl="yes"
112;;
113*) ;;
114esac108esac
115 109
116# find source path110# find source path
@@ -231,9 +225,9 @@ fi · 114 unmodified lines
231else225else
232 226
233# if cross compiling, cannot launch a program, so make a static guess227# if cross compiling, cannot launch a program, so make a static guess
234if test "$cpu" = "powerpc" -o "$cpu" = "mips" -o "$cpu" = "s390" ; then228case $cpu in
235 bigendian="yes"229 powerpc|mips|s390) bigendian=yes;;
236fi230esac
237 231
238fi232fi
239 233

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t