~apachelogger/+junk/plymouth-stop-kdm

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Scott James Remnant
  • Date: 2010-03-25 16:44:25 UTC
  • mfrom: (1016.2.1 upstream)
  • Revision ID: scott@netsplit.com-20100325164425-daotztzazohftmt4
Merge upstream 0.8.1 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17
 
[m4_warning([this file was generated for autoconf 2.65.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
 
17
[m4_warning([this file was generated for autoconf 2.63.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
2460
2460
  ;;
2461
2461
 
2462
2462
# This must be Linux ELF.
2463
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
2463
linux* | k*bsd*-gnu)
2464
2464
  version_type=linux
2465
2465
  need_lib_prefix=no
2466
2466
  need_version=no
2485
2485
  # before this can be enabled.
2486
2486
  hardcode_into_libs=yes
2487
2487
 
 
2488
  # Add ABI-specific directories to the system library path.
 
2489
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
2490
 
2488
2491
  # Append ld.so.conf contents to the search path
2489
2492
  if test -f /etc/ld.so.conf; then
2490
2493
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
2491
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
2494
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2492
2495
  fi
2493
2496
 
2494
2497
  # We used to test for /lib/ld.so.1 and disable shared libraries on
2500
2503
  dynamic_linker='GNU/Linux ld.so'
2501
2504
  ;;
2502
2505
 
2503
 
netbsdelf*-gnu)
2504
 
  version_type=linux
2505
 
  need_lib_prefix=no
2506
 
  need_version=no
2507
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2508
 
  soname_spec='${libname}${release}${shared_ext}$major'
2509
 
  shlibpath_var=LD_LIBRARY_PATH
2510
 
  shlibpath_overrides_runpath=no
2511
 
  hardcode_into_libs=yes
2512
 
  dynamic_linker='NetBSD ld.elf_so'
2513
 
  ;;
2514
 
 
2515
2506
netbsd*)
2516
2507
  version_type=sunos
2517
2508
  need_lib_prefix=no
3099
3090
  ;;
3100
3091
 
3101
3092
# This must be Linux ELF.
3102
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
3093
linux* | k*bsd*-gnu)
3103
3094
  lt_cv_deplibs_check_method=pass_all
3104
3095
  ;;
3105
3096
 
3106
 
netbsd* | netbsdelf*-gnu)
 
3097
netbsd*)
3107
3098
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3108
3099
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3109
3100
  else
3720
3711
            ;;
3721
3712
        esac
3722
3713
        ;;
3723
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
3714
      linux* | k*bsd*-gnu)
3724
3715
        case $cc_basename in
3725
3716
          KCC*)
3726
3717
            # KAI C++ Compiler
3784
3775
            ;;
3785
3776
        esac
3786
3777
        ;;
3787
 
      netbsd* | netbsdelf*-gnu)
 
3778
      netbsd*)
3788
3779
        ;;
3789
3780
      *qnx* | *nto*)
3790
3781
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4004
3995
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4005
3996
      ;;
4006
3997
 
4007
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
3998
    linux* | k*bsd*-gnu)
4008
3999
      case $cc_basename in
4009
4000
      # old Intel for x86_64 which still supported -KPIC.
4010
4001
      ecc*)
4209
4200
  cygwin* | mingw* | cegcc*)
4210
4201
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4211
4202
  ;;
4212
 
  linux* | k*bsd*-gnu)
4213
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
4214
 
  ;;
4215
4203
  *)
4216
4204
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4217
4205
  ;;
4276
4264
  openbsd*)
4277
4265
    with_gnu_ld=no
4278
4266
    ;;
4279
 
  linux* | k*bsd*-gnu)
4280
 
    _LT_TAGVAR(link_all_deplibs, $1)=no
4281
 
    ;;
4282
4267
  esac
4283
4268
 
4284
4269
  _LT_TAGVAR(ld_shlibs, $1)=yes
4300
4285
    fi
4301
4286
    supports_anon_versioning=no
4302
4287
    case `$LD -v 2>&1` in
4303
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
4304
4288
      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4305
4289
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4306
4290
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4392
4376
      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4393
4377
      ;;
4394
4378
 
4395
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
4379
    gnu* | linux* | tpf* | k*bsd*-gnu)
4396
4380
      tmp_diet=no
4397
4381
      if test "$host_os" = linux-dietlibc; then
4398
4382
        case $cc_basename in
4462
4446
      fi
4463
4447
      ;;
4464
4448
 
4465
 
    netbsd* | netbsdelf*-gnu)
 
4449
    netbsd*)
4466
4450
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4467
4451
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4468
4452
        wlarc=
4637
4621
        if test "$aix_use_runtimelinking" = yes; then
4638
4622
          shared_flag="$shared_flag "'${wl}-G'
4639
4623
        fi
4640
 
        _LT_TAGVAR(link_all_deplibs, $1)=no
4641
4624
      else
4642
4625
        # not using gcc
4643
4626
        if test "$host_cpu" = ia64; then
4876
4859
      _LT_TAGVAR(link_all_deplibs, $1)=yes
4877
4860
      ;;
4878
4861
 
4879
 
    netbsd* | netbsdelf*-gnu)
 
4862
    netbsd*)
4880
4863
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4881
4864
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
4882
4865
      else
5872
5855
        _LT_TAGVAR(inherit_rpath, $1)=yes
5873
5856
        ;;
5874
5857
 
5875
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5858
      linux* | k*bsd*-gnu)
5876
5859
        case $cc_basename in
5877
5860
          KCC*)
5878
5861
            # Kuck and Associates, Inc. (KAI) C++ Compiler
7879
7862
 
7880
7863
# Generated from ltversion.in.
7881
7864
 
7882
 
# serial 3017 ltversion.m4
 
7865
# serial 3012 ltversion.m4
7883
7866
# This file is part of GNU Libtool
7884
7867
 
7885
 
m4_define([LT_PACKAGE_VERSION], [2.2.6b])
7886
 
m4_define([LT_PACKAGE_REVISION], [1.3017])
 
7868
m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
7869
m4_define([LT_PACKAGE_REVISION], [1.3012])
7887
7870
 
7888
7871
AC_DEFUN([LTVERSION_VERSION],
7889
 
[macro_version='2.2.6b'
7890
 
macro_revision='1.3017'
 
7872
[macro_version='2.2.6'
 
7873
macro_revision='1.3012'
7891
7874
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7892
7875
_LT_DECL(, macro_revision, 0)
7893
7876
])
8053
8036
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8054
8037
# ---------------------------------------------
8055
8038
m4_define([_PKG_CONFIG],
8056
 
[if test -n "$PKG_CONFIG"; then
8057
 
    if test -n "$$1"; then
8058
 
        pkg_cv_[]$1="$$1"
8059
 
    else
8060
 
        PKG_CHECK_EXISTS([$3],
8061
 
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8062
 
                         [pkg_failed=yes])
8063
 
    fi
8064
 
else
8065
 
        pkg_failed=untried
 
8039
[if test -n "$$1"; then
 
8040
    pkg_cv_[]$1="$$1"
 
8041
 elif test -n "$PKG_CONFIG"; then
 
8042
    PKG_CHECK_EXISTS([$3],
 
8043
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
8044
                     [pkg_failed=yes])
 
8045
 else
 
8046
    pkg_failed=untried
8066
8047
fi[]dnl
8067
8048
])# _PKG_CONFIG
8068
8049
 
8106
8087
if test $pkg_failed = yes; then
8107
8088
        _PKG_SHORT_ERRORS_SUPPORTED
8108
8089
        if test $_pkg_short_errors_supported = yes; then
8109
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
 
8090
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
8110
8091
        else 
8111
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
 
8092
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
8112
8093
        fi
8113
8094
        # Put the nasty error message in config.log where it belongs
8114
8095
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD