The enclosed patch fixes the Darwin support in the top-level libtool support files of the binutils and GDB source repository. For the most part it just adds more Darwin-specific config blocks to ltconfig and ltcf-c.sh, and fixes a couple of nits in the existing Darwin support. The only non-Darwin-specific patch is the change to default CONFIG_SHELL to /bin/sh in ltconfig ... this prevents ltconfig from silently setting max_cmd_len to "none" if CONFIG_SHELL is not passed to ltconfig. 2002-11-12 Klee Dienes * ltconfig: Default CONFIG_SHELL to /bin/sh if no value is passed in by the environment. Recognize "macos10" as specifying a Darwin-based system. Remove extra '$' in library_names_spec for the Darwin configuration. * ltcf-c.sh: Move the Darwin config-block from the "$with_gnu_ld = yes" section to the "$with_gnu_ld = no" section (Darwin doesn't use GNU ld as it's linker). Use ac_cv_prog_cc_pic to set pic flags, not lt_cv_prog_cc_pic. Add a Darwin block for pic flags when using GCC as well as when using the system compiler. Recognize "macos10" as specifying a Darwin-based system in all clauses.