source: scripts/untested/autotools/patches/libtool-1.4.3-lib64.patch@ c2b8e07

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c2b8e07 was d1afb9e, checked in by Jim Gifford <clfs@…>, 19 years ago

r587@server (orig r585): ryan | 2005-08-05 21:51:35 -0700
Add a sane autotools build to the mix.
Blatantly stolen from gentoo...



  • Property mode set to 100644
File size: 1.2 KB
  • libtool-1.4.3/libtool.m4

    old new case $host in  
    100100  rm -rf conftest*
    101101  ;;
    102102
     103*-*-linux*)
     104  # Test if the compiler is 64bit
     105  echo 'int i;' > conftest.$ac_ext
     106  lt_cv_cc_64bit_output=no
     107  if AC_TRY_EVAL(ac_compile); then
     108    case `/usr/bin/file conftest.$ac_objext` in
     109    *"ELF 64"*)
     110      lt_cv_cc_64bit_output=yes
     111      ;;
     112    esac
     113  fi
     114  rm -rf conftest*
     115  ;;
     116 
    103117*-*-sco3.2v5*)
    104118  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    105119  SAVE_CFLAGS="$CFLAGS"
    linux-gnu*)  
    21832197  # before this can be enabled.
    21842198  hardcode_into_libs=yes
    21852199
     2200  case $host_cpu:$lt_cv_cc_64bit_output in
     2201  powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
     2202    sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64"
     2203    sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64"
     2204    ;;
     2205  esac
     2206
    21862207  # We used to test for /lib/ld.so.1 and disable shared libraries on
    21872208  # powerpc, because MkLinux only supported shared libraries with the
    21882209  # GNU dynamic linker.  Since this was broken with cross compilers,
Note: See TracBrowser for help on using the repository browser.