Ignore:
Timestamp:
Apr 28, 2004, 6:58:06 AM (21 years ago)
Author:
bird
Message:

#1040: Joined the GCC 3.3.3 with the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libobjc/configure

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    862862# canonicalize only relative paths, because then amd will not unmount
    863863# drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
    864 glibcpp_builddir=`pwd`
     864glibcpp_builddir=`${PWDCMD-pwd}`
    865865case $srcdir in
    866866\\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
     
    17131713  hppa*)
    17141714    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    1715   lt_cv_file_magic_cmd=/usr/bin/file
    1716   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     1715    lt_cv_file_magic_cmd=/usr/bin/file
     1716    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    17171717    ;;
    17181718  ia64*)
     
    17201720    lt_cv_file_magic_cmd=/usr/bin/file
    17211721    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    1722   ;;
     1722    ;;
    17231723  esac
    17241724  ;;
     
    17481748linux-gnu*)
    17491749  case $host_cpu in
    1750   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     1750  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    17511751    lt_cv_deplibs_check_method=pass_all ;;
    17521752  *)
     
    21952195  ;;
    21962196
     2197x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     2198  # Find out which ABI we are using.
     2199  echo 'int i;' > conftest.$ac_ext
     2200  if { (eval echo configure:2201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2201    case "`/usr/bin/file conftest.o`" in
     2202    *32-bit*)
     2203      case $host in
     2204        x86_64-*linux*)
     2205          LD="${LD-ld} -m elf_i386"
     2206          ;;
     2207        ppc64-*linux*|powerpc64-*linux*)
     2208          LD="${LD-ld} -m elf32ppclinux"
     2209          ;;
     2210        s390x-*linux*)
     2211          LD="${LD-ld} -m elf_s390"
     2212          ;;
     2213        sparc64-*linux*)
     2214          LD="${LD-ld} -m elf32_sparc"
     2215          ;;
     2216      esac
     2217      ;;
     2218    *64-bit*)
     2219      case $host in
     2220        x86_64-*linux*)
     2221          LD="${LD-ld} -m elf_x86_64"
     2222          ;;
     2223        ppc*-*linux*|powerpc*-*linux*)
     2224          LD="${LD-ld} -m elf64ppc"
     2225          ;;
     2226        s390*-*linux*)
     2227          LD="${LD-ld} -m elf64_s390"
     2228          ;;
     2229        sparc*-*linux*)
     2230          LD="${LD-ld} -m elf64_sparc"
     2231          ;;
     2232      esac
     2233      ;;
     2234    esac
     2235  fi
     2236  rm -rf conftest*
     2237  ;;
     2238
    21972239*-*-sco3.2v5*)
    21982240  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     
    22002242  CFLAGS="$CFLAGS -belf"
    22012243  echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2202 echo "configure:2203: checking whether the C compiler needs -belf" >&5
     2244echo "configure:2245: checking whether the C compiler needs -belf" >&5
    22032245if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    22042246  echo $ac_n "(cached) $ac_c" 1>&6
     
    22132255
    22142256     cat > conftest.$ac_ext <<EOF
    2215 #line 2216 "configure"
     2257#line 2258 "configure"
    22162258#include "confdefs.h"
    22172259
     
    22202262; return 0; }
    22212263EOF
    2222 if { (eval echo configure:2223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2264if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22232265  rm -rf conftest*
    22242266  lt_cv_cc_needs_belf=yes
     
    22502292set dummy ${ac_tool_prefix}dlltool; ac_word=$2
    22512293echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2252 echo "configure:2253: checking for $ac_word" >&5
     2294echo "configure:2295: checking for $ac_word" >&5
    22532295if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
    22542296  echo $ac_n "(cached) $ac_c" 1>&6
     
    22832325set dummy dlltool; ac_word=$2
    22842326echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2285 echo "configure:2286: checking for $ac_word" >&5
     2327echo "configure:2328: checking for $ac_word" >&5
    22862328if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
    22872329  echo $ac_n "(cached) $ac_c" 1>&6
     
    23192361set dummy ${ac_tool_prefix}as; ac_word=$2
    23202362echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2321 echo "configure:2322: checking for $ac_word" >&5
     2363echo "configure:2364: checking for $ac_word" >&5
    23222364if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
    23232365  echo $ac_n "(cached) $ac_c" 1>&6
     
    23522394set dummy as; ac_word=$2
    23532395echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2354 echo "configure:2355: checking for $ac_word" >&5
     2396echo "configure:2397: checking for $ac_word" >&5
    23552397if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
    23562398  echo $ac_n "(cached) $ac_c" 1>&6
     
    23882430set dummy ${ac_tool_prefix}objdump; ac_word=$2
    23892431echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2390 echo "configure:2391: checking for $ac_word" >&5
     2432echo "configure:2433: checking for $ac_word" >&5
    23912433if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
    23922434  echo $ac_n "(cached) $ac_c" 1>&6
     
    24212463set dummy objdump; ac_word=$2
    24222464echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2423 echo "configure:2424: checking for $ac_word" >&5
     2465echo "configure:2466: checking for $ac_word" >&5
    24242466if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
    24252467  echo $ac_n "(cached) $ac_c" 1>&6
     
    24582500  # can override, but on older systems we have to supply one
    24592501  echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
    2460 echo "configure:2461: checking if libtool should supply DllMain function" >&5
     2502echo "configure:2503: checking if libtool should supply DllMain function" >&5
    24612503if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
    24622504  echo $ac_n "(cached) $ac_c" 1>&6
    24632505else
    24642506  cat > conftest.$ac_ext <<EOF
    2465 #line 2466 "configure"
     2507#line 2508 "configure"
    24662508#include "confdefs.h"
    24672509
     
    24712513; return 0; }
    24722514EOF
    2473 if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2515if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24742516  rm -rf conftest*
    24752517  lt_cv_need_dllmain=no
     
    24922534    CFLAGS="$CFLAGS -mdll"
    24932535    echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
    2494 echo "configure:2495: checking how to link DLLs" >&5
     2536echo "configure:2537: checking how to link DLLs" >&5
    24952537if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
    24962538  echo $ac_n "(cached) $ac_c" 1>&6
    24972539else
    24982540  cat > conftest.$ac_ext <<EOF
    2499 #line 2500 "configure"
     2541#line 2542 "configure"
    25002542#include "confdefs.h"
    25012543
     
    25042546; return 0; }
    25052547EOF
    2506 if { (eval echo configure:2507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2548if { (eval echo configure:2549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25072549  rm -rf conftest*
    25082550  lt_cv_cc_dll_switch=-mdll
     
    26222664set dummy ranlib; ac_word=$2
    26232665echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2624 echo "configure:2625: checking for $ac_word" >&5
     2666echo "configure:2667: checking for $ac_word" >&5
    26252667if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    26262668  echo $ac_n "(cached) $ac_c" 1>&6
     
    26632705# ./install, which can be erroneously created by make from ./install.sh.
    26642706echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    2665 echo "configure:2666: checking for a BSD compatible install" >&5
     2707echo "configure:2708: checking for a BSD compatible install" >&5
    26662708if test -z "$INSTALL"; then
    26672709if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    27182760
    27192761echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2720 echo "configure:2721: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2762echo "configure:2763: checking whether ${MAKE-make} sets \${MAKE}" >&5
    27212763set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    27222764if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    27472789# Sanity check for the cross-compilation case:
    27482790echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2749 echo "configure:2750: checking how to run the C preprocessor" >&5
     2791echo "configure:2792: checking how to run the C preprocessor" >&5
    27502792# On Suns, sometimes $CPP names a directory.
    27512793if test -n "$CPP" && test -d "$CPP"; then
     
    27632805  cat > conftest.$ac_ext <<EOF
    27642806#include <sys/types.h>
    2765 #line 2766 "configure"
     2807#line 2808 "configure"
    27662808#include "confdefs.h"
    27672809#include <assert.h>
     
    27692811EOF
    27702812ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2771 { (eval echo configure:2772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2813{ (eval echo configure:2814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27722814ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27732815if test -z "$ac_err"; then
     
    27812823  cat > conftest.$ac_ext <<EOF
    27822824#include <sys/types.h>
    2783 #line 2784 "configure"
     2825#line 2826 "configure"
    27842826#include "confdefs.h"
    27852827#include <assert.h>
     
    27872829EOF
    27882830ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2789 { (eval echo configure:2790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2831{ (eval echo configure:2832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    27902832ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    27912833if test -z "$ac_err"; then
     
    27992841  cat > conftest.$ac_ext <<EOF
    28002842#include <sys/types.h>
    2801 #line 2802 "configure"
     2843#line 2844 "configure"
    28022844#include "confdefs.h"
    28032845#include <assert.h>
     
    28052847EOF
    28062848ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2807 { (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2849{ (eval echo configure:2850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28082850ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28092851if test -z "$ac_err"; then
     
    28312873ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
    28322874echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    2833 echo "configure:2834: checking for stdio.h" >&5
     2875echo "configure:2876: checking for stdio.h" >&5
    28342876if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    28352877  echo $ac_n "(cached) $ac_c" 1>&6
     
    28372879  cat > conftest.$ac_ext <<EOF
    28382880#include <sys/types.h>
    2839 #line 2840 "configure"
     2881#line 2882 "configure"
    28402882#include "confdefs.h"
    28412883#include <stdio.h>
    28422884EOF
    28432885ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2844 { (eval echo configure:2845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2886{ (eval echo configure:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28452887ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28462888if test -z "$ac_err"; then
     
    28702912
    28712913echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2872 echo "configure:2873: checking for ANSI C header files" >&5
     2914echo "configure:2915: checking for ANSI C header files" >&5
    28732915if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    28742916  echo $ac_n "(cached) $ac_c" 1>&6
     
    28762918  cat > conftest.$ac_ext <<EOF
    28772919#include <sys/types.h>
    2878 #line 2879 "configure"
     2920#line 2921 "configure"
    28792921#include "confdefs.h"
    28802922#include <stdlib.h>
     
    28842926EOF
    28852927ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2886 { (eval echo configure:2887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2928{ (eval echo configure:2929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28872929ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28882930if test -z "$ac_err"; then
     
    29012943  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    29022944cat > conftest.$ac_ext <<EOF
    2903 #line 2904 "configure"
     2945#line 2946 "configure"
    29042946#include "confdefs.h"
    29052947#include <string.h>
     
    29192961  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    29202962cat > conftest.$ac_ext <<EOF
    2921 #line 2922 "configure"
     2963#line 2964 "configure"
    29222964#include "confdefs.h"
    29232965#include <stdlib.h>
     
    29402982else
    29412983  cat > conftest.$ac_ext <<EOF
    2942 #line 2943 "configure"
     2984#line 2985 "configure"
    29432985#include "confdefs.h"
    29442986#include <ctype.h>
     
    29512993
    29522994EOF
    2953 if { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2995if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29542996then
    29552997  :
     
    29793021ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    29803022echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2981 echo "configure:2982: checking for $ac_hdr" >&5
     3023echo "configure:3024: checking for $ac_hdr" >&5
    29823024if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    29833025  echo $ac_n "(cached) $ac_c" 1>&6
     
    29853027  cat > conftest.$ac_ext <<EOF
    29863028#include <sys/types.h>
    2987 #line 2988 "configure"
     3029#line 3030 "configure"
    29883030#include "confdefs.h"
    29893031#include <$ac_hdr>
    29903032EOF
    29913033ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2992 { (eval echo configure:2993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3034{ (eval echo configure:3035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    29933035ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    29943036if test -z "$ac_err"; then
     
    30203062
    30213063echo $ac_n "checking for gthread cflags""... $ac_c" 1>&6
    3022 echo "configure:3023: checking for gthread cflags" >&5
     3064echo "configure:3065: checking for gthread cflags" >&5
    30233065if eval "test \"`echo '$''{'objc_cv_gthread_flags'+set}'`\" = set"; then
    30243066  echo $ac_n "(cached) $ac_c" 1>&6
     
    34523494toplevel_srcdir=${toplevel_srcdir}
    34533495CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
     3496ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
    34543497
    34553498EOF
Note: See TracChangeset for help on using the changeset viewer.