Detect Darwin variant for Haskell code.
Rename darwin10 operating system to ios.
Merge branch 'master-merge-ios' into ios-switch

Conflicts:
	aclocal.m4
Fix breakage after I created the new OS name "ios"