|
|
|||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
|
|
|
|||||||||||||||||||||||
|
6.6 Multiple CasesSome operations are accomplished in several possible ways, depending on the UNIX variant. Checking for them essentially requires a "case statement". Autoconf does not directly provide one; however, it is easy to simulate by using a shell variable to keep track of whether a way to perform the operation has been found yet.
Here is an example that uses the shell variable
|
|
|||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
Marketplace: | |||||||||||||||||||||||||
| " Software is like entropy. It is difficult to grasp, weighs nothing, and obeys the second law of thermodynamics; i.e., it always increases. " | |||||||||||||||||||||||||