/[svn]/libgig/trunk/aclocal.m4
ViewVC logotype

Diff of /libgig/trunk/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by schoenebeck, Sat Oct 25 20:15:04 2003 UTC revision 11 by schoenebeck, Sun Nov 16 17:47:00 2003 UTC
# Line 837  fi])]) Line 837  fi])])
837  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-  # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
838    
839  # serial 47 AC_PROG_LIBTOOL  # serial 47 AC_PROG_LIBTOOL
840  # Debian $Rev: 74 $  # Debian $Rev: 100 $
841    
842    
843  # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)  # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
# Line 1654  else Line 1654  else
1654      lt_cv_dlopen_self=yes      lt_cv_dlopen_self=yes
1655      ])      ])
1656     ;;     ;;
1657        
1658    *)    *)
1659      AC_CHECK_FUNC([shl_load],      AC_CHECK_FUNC([shl_load],
1660            [lt_cv_dlopen="shl_load"],            [lt_cv_dlopen="shl_load"],
# Line 1894  fi Line 1894  fi
1894     *)     *)
1895    AC_MSG_RESULT([no])    AC_MSG_RESULT([no])
1896      ;;      ;;
1897    esac      esac
1898  fi  fi
1899  ])# AC_LIBTOOL_SYS_LIB_STRIP  ])# AC_LIBTOOL_SYS_LIB_STRIP
1900    
# Line 2263  linux*) Line 2263  linux*)
2263    # before this can be enabled.    # before this can be enabled.
2264    hardcode_into_libs=yes    hardcode_into_libs=yes
2265    
2266      # /usr/X11R6/lib and /usr/local/lib are common enough...
2267      sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/X11R6/lib /usr/local/lib"
2268    
2269    # We used to test for /lib/ld.so.1 and disable shared libraries on    # We used to test for /lib/ld.so.1 and disable shared libraries on
2270    # powerpc, because MkLinux only supported shared libraries with the    # powerpc, because MkLinux only supported shared libraries with the
2271    # GNU dynamic linker.  Since this was broken with cross compilers,    # GNU dynamic linker.  Since this was broken with cross compilers,
# Line 2272  linux*) Line 2275  linux*)
2275    dynamic_linker='GNU/Linux ld.so'    dynamic_linker='GNU/Linux ld.so'
2276    ;;    ;;
2277    
2278    knetbsd*-gnu)
2279      version_type=linux
2280      need_lib_prefix=no
2281      need_version=no
2282      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2283      soname_spec='${libname}${release}${shared_ext}$major'
2284      shlibpath_var=LD_LIBRARY_PATH
2285      shlibpath_overrides_runpath=no
2286      hardcode_into_libs=yes
2287      dynamic_linker='GNU ld.so'
2288      ;;
2289    
2290  netbsd*)  netbsd*)
2291    version_type=sunos    version_type=sunos
2292    need_lib_prefix=no    need_lib_prefix=no
# Line 2310  nto-qnx*) Line 2325  nto-qnx*)
2325  openbsd*)  openbsd*)
2326    version_type=sunos    version_type=sunos
2327    need_lib_prefix=no    need_lib_prefix=no
2328    need_version=no    need_version=yes
2329    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
2330    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
2331    shlibpath_var=LD_LIBRARY_PATH    shlibpath_var=LD_LIBRARY_PATH
# Line 2927  cygwin* | mingw* | pw32*) Line 2942  cygwin* | mingw* | pw32*)
2942    ;;    ;;
2943    
2944  darwin* | rhapsody*)  darwin* | rhapsody*)
   # this will be overwritten by pass_all, but leave it in just in case  
   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'  
   lt_cv_file_magic_cmd='/usr/bin/file -L'  
   case "$host_os" in  
   rhapsody* | darwin1.[[012]])  
     lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`  
     ;;  
   *) # Darwin 1.3 on  
     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'  
     ;;  
   esac  
2945    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
2946    ;;    ;;
2947    
# Line 2980  hpux10.20* | hpux11*) Line 2984  hpux10.20* | hpux11*)
2984    ;;    ;;
2985    
2986  irix5* | irix6* | nonstopux*)  irix5* | irix6* | nonstopux*)
2987    case $host_os in    case $LD in
2988    irix5* | nonstopux*)    *-32|*"-32 ") libmagic=32-bit;;
2989      # this will be overridden with pass_all, but let us keep it just in case    *-n32|*"-n32 ") libmagic=N32;;
2990      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"    *-64|*"-64 ") libmagic=64-bit;;
2991      ;;    *) libmagic=never-match;;
   *)  
     case $LD in  
     *-32|*"-32 ") libmagic=32-bit;;  
     *-n32|*"-n32 ") libmagic=N32;;  
     *-64|*"-64 ") libmagic=64-bit;;  
     *) libmagic=never-match;;  
     esac  
     # this will be overridden with pass_all, but let us keep it just in case  
     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"  
     ;;  
2992    esac    esac
   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`  
2993    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
2994    ;;    ;;
2995    
2996  # This must be Linux ELF.  # This must be Linux ELF.
2997  linux*)  linux*)
   # linux always uses pass_all now, this code is the old way (tm)  
   case $host_cpu in  
   alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh*)  
     lt_cv_deplibs_check_method=pass_all ;;  
   *)  
     # glibc up to 2.1.1 does not perform some relocations on ARM  
     lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;  
   esac  
2998    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`  
2999    ;;    ;;
3000    
3001  netbsd*)  netbsd*)
# Line 3043  openbsd*) Line 3027  openbsd*)
3027    ;;    ;;
3028    
3029  osf3* | osf4* | osf5*)  osf3* | osf4* | osf5*)
   # this will be overridden with pass_all, but let us keep it just in case  
   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'  
   lt_cv_file_magic_test_file=/shlib/libc.so  
3030    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
3031    ;;    ;;
3032    
# Line 3055  sco3.2v5*) Line 3036  sco3.2v5*)
3036    
3037  solaris*)  solaris*)
3038    lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   lt_cv_file_magic_test_file=/lib/libc.so  
3039    ;;    ;;
3040    
3041  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
# Line 3321  if test "$GCC" = no; then Line 3301  if test "$GCC" = no; then
3301  fi  fi
3302  if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then  if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
3303    AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])    AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
3304    if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[      ]]" >/dev/null; then :    if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then :
3305    else    else
3306      AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])      AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
3307      _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no      _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
# Line 3389  aix4*) Line 3369  aix4*)
3369              ;;              ;;
3370            10.*)            10.*)
3371              _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'              _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3372              ;;                          ;;
3373          esac          esac
3374        fi        fi
3375        ;;        ;;
# Line 3407  aix4*) Line 3387  aix4*)
3387      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3388    else    else
3389      _LT_AC_TAGVAR(ld_shlibs, $1)=no      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3390    fi      fi
3391      ;;        ;;
3392  esac  esac
3393  AC_MSG_RESULT([$enable_shared])  AC_MSG_RESULT([$enable_shared])
3394    
# Line 3726  case $host_os in Line 3706  case $host_os in
3706              ;;              ;;
3707            10.*)            10.*)
3708              _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'              _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
3709              ;;                          ;;
3710          esac          esac
3711        fi        fi
3712        ;;        ;;
# Line 4656  if test -f "$ltmain"; then Line 4636  if test -f "$ltmain"; then
4636    # without removal of \ escapes.    # without removal of \ escapes.
4637    if test -n "${ZSH_VERSION+set}" ; then    if test -n "${ZSH_VERSION+set}" ; then
4638      setopt NO_GLOB_SUBST      setopt NO_GLOB_SUBST
4639    fi      fi
4640    # Now quote all the things that may contain metacharacters while being    # Now quote all the things that may contain metacharacters while being
4641    # careful not to overquote the AC_SUBSTed values.  We take copies of the    # careful not to overquote the AC_SUBSTed values.  We take copies of the
4642    # variables and quote the copies for generation of the libtool script.    # variables and quote the copies for generation of the libtool script.
# Line 4711  if test -f "$ltmain"; then Line 4691  if test -f "$ltmain"; then
4691      _LT_AC_TAGVAR(archive_cmds, $1) | \      _LT_AC_TAGVAR(archive_cmds, $1) | \
4692      _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \      _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
4693      _LT_AC_TAGVAR(module_cmds, $1) | \      _LT_AC_TAGVAR(module_cmds, $1) | \
4694      _LT_AC_TAGVAR(module_expsym_cmds, $1) | \        _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
4695      _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \      _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
4696      _LT_AC_TAGVAR(export_symbols_cmds, $1) | \      _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
4697      extract_expsyms_cmds | reload_cmds | finish_cmds | \      extract_expsyms_cmds | reload_cmds | finish_cmds | \
# Line 5477  AC_MSG_CHECKING([for $compiler option to Line 5457  AC_MSG_CHECKING([for $compiler option to
5457              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5458              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5459              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5460              ;;              ;;
5461            cxx)            cxx)
5462              # Compaq C++              # Compaq C++
5463              # Make sure the PIC flag is empty.  It appears that all Alpha              # Make sure the PIC flag is empty.  It appears that all Alpha
# Line 5837  ifelse([$1],[CXX],[ Line 5817  ifelse([$1],[CXX],[
5817    _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown    _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5818    _LT_AC_TAGVAR(hardcode_automatic, $1)=no    _LT_AC_TAGVAR(hardcode_automatic, $1)=no
5819    _LT_AC_TAGVAR(module_cmds, $1)=    _LT_AC_TAGVAR(module_cmds, $1)=
5820    _LT_AC_TAGVAR(module_expsym_cmds, $1)=      _LT_AC_TAGVAR(module_expsym_cmds, $1)=
5821    _LT_AC_TAGVAR(always_export_symbols, $1)=no    _LT_AC_TAGVAR(always_export_symbols, $1)=no
5822    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5823    # include_expsyms should be a list of space-separated symbols to be *always*    # include_expsyms should be a list of space-separated symbols to be *always*
# Line 6209  $echo "local: *; };" >> $output_objdir/$ Line 6189  $echo "local: *; };" >> $output_objdir/$
6189              ;;              ;;
6190            10.*)            10.*)
6191              _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'              _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
6192              ;;                          ;;
6193          esac          esac
6194        fi        fi
6195          ;;          ;;
# Line 6237  $echo "local: *; };" >> $output_objdir/$ Line 6217  $echo "local: *; };" >> $output_objdir/$
6217        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
6218        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
6219        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6220      else        else
6221        _LT_AC_TAGVAR(ld_shlibs, $1)=no        _LT_AC_TAGVAR(ld_shlibs, $1)=no
6222      fi        fi
6223        ;;        ;;
6224    
6225      dgux*)      dgux*)
# Line 6589  x|xyes) Line 6569  x|xyes)
6569        AC_MSG_CHECKING([whether -lc should be explicitly linked in])        AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6570        $rm conftest*        $rm conftest*
6571        printf "$lt_simple_compile_test_code" > conftest.$ac_ext        printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6572      
6573        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6574          soname=conftest          soname=conftest
6575          lib=conftest          lib=conftest

Legend:
Removed from v.10  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC