Mercurial > mplayer.hg
comparison configure @ 1323:3e38a0c03567
Some minor comment fixes.
author | jkeil |
---|---|
date | Sat, 14 Jul 2001 17:05:23 +0000 |
parents | 40083e7ad5ce |
children | 84df2a0ce2db |
comparison
equal
deleted
inserted
replaced
1322:f8bcdb67ede0 | 1323:3e38a0c03567 |
---|---|
99 # -- | 99 # -- |
100 | 100 |
101 | 101 |
102 # Check how echo works in this /bin/sh | 102 # Check how echo works in this /bin/sh |
103 case `echo -n` in | 103 case `echo -n` in |
104 -n) _echo_n= _echo_c='\c';; | 104 -n) _echo_n= _echo_c='\c';; # seems to be a SysV echo |
105 *) _echo_n=-n _echo_c=;; | 105 *) _echo_n=-n _echo_c=;; # OK, a BSD style echo |
106 esac | 106 esac |
107 | 107 |
108 | 108 |
109 # LGB: Help moved here. | 109 # LGB: Help moved here. |
110 | 110 |
182 | 182 |
183 echo "You can get detailed help on configure with: $0 --help" | 183 echo "You can get detailed help on configure with: $0 --help" |
184 echo "Please wait while ./configure discovers your software and hardware environment!" | 184 echo "Please wait while ./configure discovers your software and hardware environment!" |
185 | 185 |
186 | 186 |
187 # Determine our OS name and CPU architecture | |
188 | |
187 system_name=`uname -s 2>&1` # name of operating system: Linux, FreeBSD, NetBSD, SunOS | 189 system_name=`uname -s 2>&1` # name of operating system: Linux, FreeBSD, NetBSD, SunOS |
188 host_arch=`uname -p 2>&1` # host's instruction set or processor type | 190 host_arch=`uname -p 2>&1` # host's instruction set or processor type |
189 case "$host_arch" in | 191 case "$host_arch" in |
190 unknown) # Linux returns "unknown" for the processor type | 192 unknown) # Linux returns "unknown" for the processor type |
191 case "`uname -m 2>&1`" in | 193 case "`uname -m 2>&1`" in |
195 host_arch=ppc;; | 197 host_arch=ppc;; |
196 esac | 198 esac |
197 ;; | 199 ;; |
198 esac | 200 esac |
199 | 201 |
200 # Determine our OS name and OS dependent libs | 202 # Determine OS dependent libs |
201 | 203 |
202 if [ "$system_name" = "FreeBSD" ]; then | 204 if [ "$system_name" = "FreeBSD" ]; then |
203 _archlibs="-rdynamic -pthread" | 205 _archlibs="-rdynamic -pthread" |
204 else | 206 else |
205 _archlibs="-ldl -lpthread" | 207 _archlibs="-ldl -lpthread" |