components/mpfr/patches/001-configure.patch
changeset 7813 d18938ebcb0d
parent 7812 ffe9ca8c9421
child 7814 0ef925f9e813
equal deleted inserted replaced
7812:ffe9ca8c9421 7813:d18938ebcb0d
     1 --- configure	2009-11-29 18:44:35.000000000 -0800
       
     2 +++ configure	2010-11-15 09:25:24.925199110 -0800
       
     3 @@ -1,4 +1,4 @@
       
     4 -#! /bin/sh
       
     5 +#! /bin/bash
       
     6  # Guess values for system-dependent variables and create Makefiles.
       
     7  # Generated by GNU Autoconf 2.64 for MPFR 2.4.2.
       
     8  #
       
     9 @@ -257,7 +257,7 @@
       
    10  fi
       
    11  fi
       
    12  fi
       
    13 -SHELL=${CONFIG_SHELL-/bin/sh}
       
    14 +SHELL=${CONFIG_SHELL-/bin/bash}
       
    15  export SHELL
       
    16  # Unset more variables known to interfere with behavior of common tools.
       
    17  CLICOLOR_FORCE= GREP_OPTIONS=
       
    18 @@ -548,7 +548,7 @@
       
    19  
       
    20  
       
    21  # Check that we are running under the correct shell.
       
    22 -SHELL=${CONFIG_SHELL-/bin/sh}
       
    23 +SHELL=${CONFIG_SHELL-/bin/bash}
       
    24  
       
    25  case X$lt_ECHO in
       
    26  X*--fallback-echo)
       
    27 @@ -632,7 +632,7 @@
       
    28        elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
       
    29  	   test "X$CONFIG_SHELL" != X/bin/ksh; then
       
    30          # If we have ksh, try running configure again with it.
       
    31 -        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
       
    32 +        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/bash}
       
    33          export ORIGINAL_CONFIG_SHELL
       
    34          CONFIG_SHELL=/bin/ksh
       
    35          export CONFIG_SHELL
       
    36 @@ -674,7 +674,7 @@
       
    37  	  if test "$prev" != 'sed 50q "$0"'; then
       
    38  	    echo_test_string=`eval $prev`
       
    39  	    export echo_test_string
       
    40 -	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
       
    41 +	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/bash}} "$0" ${1+"$@"}
       
    42  	  else
       
    43  	    # Oops.  We lost completely, so just stick with echo.
       
    44  	    ECHO=echo
       
    45 @@ -3236,7 +3236,7 @@
       
    46    $as_echo_n "(cached) " >&6
       
    47  else
       
    48    cat >conftest.make <<\_ACEOF
       
    49 -SHELL = /bin/sh
       
    50 +SHELL = /bin/bash
       
    51  all:
       
    52  	@echo '@@@%%%=$(MAKE)=@@@%%%'
       
    53  _ACEOF
       
    54 @@ -4694,7 +4694,7 @@
       
    55      for i in 1 2 3 4 5 6; do
       
    56        echo '#include "conftst'$i'.h"' >> sub/conftest.c
       
    57        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
       
    58 -      # Solaris 8's {/usr,}/bin/sh.
       
    59 +      # Solaris 8's {/usr,}/bin/bash.
       
    60        touch sub/conftst$i.h
       
    61      done
       
    62      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
       
    63 @@ -7109,7 +7109,7 @@
       
    64      for i in 1 2 3 4 5 6; do
       
    65        echo '#include "conftst'$i'.h"' >> sub/conftest.c
       
    66        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
       
    67 -      # Solaris 8's {/usr,}/bin/sh.
       
    68 +      # Solaris 8's {/usr,}/bin/bash.
       
    69        touch sub/conftst$i.h
       
    70      done
       
    71      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
       
    72 @@ -8530,7 +8530,7 @@
       
    73        for i in 1 2 3 4 5 6 7 8 ; do
       
    74          teststring=$teststring$teststring
       
    75        done
       
    76 -      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
       
    77 +      SHELL=${SHELL-${CONFIG_SHELL-/bin/bash}}
       
    78        # If test is not a shell built-in, we'll probably end up computing a
       
    79        # maximum length that is only half of the actual maximum length, but
       
    80        # we can't tell.
       
    81 @@ -10681,7 +10681,7 @@
       
    82      for i in 1 2 3 4 5 6; do
       
    83        echo '#include "conftst'$i'.h"' >> sub/conftest.c
       
    84        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
       
    85 -      # Solaris 8's {/usr,}/bin/sh.
       
    86 +      # Solaris 8's {/usr,}/bin/bash.
       
    87        touch sub/conftst$i.h
       
    88      done
       
    89      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
       
    90 @@ -20162,11 +20162,17 @@
       
    91  else
       
    92    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
    93  /* end confdefs.h.  */
       
    94 +#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
       
    95 +#error "No attribute support for Sun compilers."
       
    96 +#else
       
    97  typedef int SItype __attribute__ ((mode (SI)));
       
    98 +#endif
       
    99  int
       
   100  main ()
       
   101  {
       
   102 -
       
   103 +#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
       
   104 +#error "No attribute support for Sun compilers."
       
   105 +endif
       
   106    ;
       
   107    return 0;
       
   108  }
       
   109 @@ -22826,7 +22832,7 @@
       
   110  
       
   111  
       
   112  # The linker used to build libraries.
       
   113 -LD=$lt_LD
       
   114 +LD="$LTCC $LTCFLAGS $LDFLAGS"
       
   115  
       
   116  # Commands used to build an old-style archive.
       
   117  old_archive_cmds=$lt_old_archive_cmds
       
   118 @@ -23211,7 +23217,7 @@
       
   119  # ### BEGIN LIBTOOL TAG CONFIG: CXX
       
   120  
       
   121  # The linker used to build libraries.
       
   122 -LD=$lt_LD_CXX
       
   123 +LD="$CC $CXXFLAGS $LDFLAGS"
       
   124  
       
   125  # Commands used to build an old-style archive.
       
   126  old_archive_cmds=$lt_old_archive_cmds_CXX