diff --git a/ChangeLog b/ChangeLog index 641a741df62..fb37e0e07d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-03-19 Jack Howarth + + PR ada/42554 + * configure.ac: Only pass -c to ranlib for darwin9 and earlier. + * configure: Regenerate. + 2010-03-18 Ramana Radhakrishnan * MAINTAINERS: Update my email address. diff --git a/configure b/configure index f3212128d00..508d958960b 100755 --- a/configure +++ b/configure @@ -7292,8 +7292,8 @@ case "${target}" in extra_arflags_for_target=" -X32_64" extra_nmflags_for_target=" -B -X32_64" ;; - *-*-darwin*) - # ranlib from Darwin requires the -c flag to look at common symbols. + *-*-darwin[3-9]*) + # ranlib before Darwin10 requires the -c flag to look at common symbols. extra_ranlibflags_for_target=" -c" ;; mips*-*-pe | sh*-*-pe | *arm-wince-pe) diff --git a/configure.ac b/configure.ac index 92f3a9062c2..a5d75ee71d9 100644 --- a/configure.ac +++ b/configure.ac @@ -2405,8 +2405,8 @@ case "${target}" in extra_arflags_for_target=" -X32_64" extra_nmflags_for_target=" -B -X32_64" ;; - *-*-darwin*) - # ranlib from Darwin requires the -c flag to look at common symbols. + *-*-darwin[[3-9]]*) + # ranlib before Darwin10 requires the -c flag to look at common symbols. extra_ranlibflags_for_target=" -c" ;; mips*-*-pe | sh*-*-pe | *arm-wince-pe)