~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.66 for util-linux 2.19.1.
 
3
# Generated by GNU Autoconf 2.68 for util-linux 2.20.1.
4
4
#
5
5
# Report bugs to <kzak@redhat.com>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
225
  # We cannot yet assume a decent shell, so we have to provide a
225
226
        # neutralization value for shells without unset; and this also
226
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
227
229
        BASH_ENV=/dev/null
228
230
        ENV=/dev/null
229
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230
232
        export CONFIG_SHELL
231
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232
240
fi
233
241
 
234
242
    if test x$as_have_required = xno; then :
562
570
# Identity of this package.
563
571
PACKAGE_NAME='util-linux'
564
572
PACKAGE_TARNAME='util-linux'
565
 
PACKAGE_VERSION='2.19.1'
566
 
PACKAGE_STRING='util-linux 2.19.1'
 
573
PACKAGE_VERSION='2.20.1'
 
574
PACKAGE_STRING='util-linux 2.20.1'
567
575
PACKAGE_BUGREPORT='kzak@redhat.com'
568
576
PACKAGE_URL=''
569
577
 
639
647
BUILD_RENAME_TRUE
640
648
BUILD_RAW_FALSE
641
649
BUILD_RAW_TRUE
642
 
BUILD_PARTX_FALSE
643
 
BUILD_PARTX_TRUE
644
650
BUILD_MESG_FALSE
645
651
BUILD_MESG_TRUE
 
652
BUILD_LINE_FALSE
 
653
BUILD_LINE_TRUE
646
654
BUILD_LAST_FALSE
647
655
BUILD_LAST_TRUE
648
656
BUILD_KILL_FALSE
649
657
BUILD_KILL_TRUE
650
 
BUILD_INIT_FALSE
651
 
BUILD_INIT_TRUE
652
658
BUILD_ELVTUNE_FALSE
653
659
BUILD_ELVTUNE_TRUE
654
660
BUILD_UNSHARE_FALSE
665
671
BUILD_CRAMFS_TRUE
666
672
BUILD_AGETTY_FALSE
667
673
BUILD_AGETTY_TRUE
 
674
BUILD_DDATE_FALSE
 
675
BUILD_DDATE_TRUE
668
676
BUILD_ARCH_FALSE
669
677
BUILD_ARCH_TRUE
670
678
ARCH_HPPA_FALSE
726
734
HAVE_TERMCAP_TRUE
727
735
HAVE_UTIL_FALSE
728
736
HAVE_UTIL_TRUE
 
737
BUILD_MOUNTPOINT_FALSE
 
738
BUILD_MOUNTPOINT_TRUE
729
739
BUILD_LIBMOUNT_MOUNT_FALSE
730
740
BUILD_LIBMOUNT_MOUNT_TRUE
731
741
BUILD_LIBMOUNT_FALSE
732
742
BUILD_LIBMOUNT_TRUE
733
743
LIBMOUNT_VERSION_INFO
734
744
LIBMOUNT_VERSION
735
 
BLKID_LIBS_STATIC
736
 
HAVE_BLKID_FALSE
737
 
HAVE_BLKID_TRUE
738
 
BLKID_LIBS
739
 
BLKID_CFLAGS
740
745
BUILD_LIBBLKID_FALSE
741
746
BUILD_LIBBLKID_TRUE
742
747
LIBBLKID_VERSION_INFO
744
749
LIBBLKID_DATE
745
750
BUILD_UUIDD_FALSE
746
751
BUILD_UUIDD_TRUE
747
 
HAVE_UUID_FALSE
748
 
HAVE_UUID_TRUE
749
 
UUID_LIBS
750
 
UUID_CFLAGS
751
752
BUILD_LIBUUID_FALSE
752
753
BUILD_LIBUUID_TRUE
753
754
LIBUUID_VERSION_INFO
754
755
LIBUUID_VERSION
 
756
BUILD_PARTX_FALSE
 
757
BUILD_PARTX_TRUE
755
758
BUILD_FSCK_FALSE
756
759
BUILD_FSCK_TRUE
757
760
BUILD_MOUNT_FALSE
769
772
HAVE_STATIC_LOSETUP_FALSE
770
773
HAVE_STATIC_LOSETUP_TRUE
771
774
SOCKET_LIBS
 
775
BUILD_HWCLOCK_FALSE
 
776
BUILD_HWCLOCK_TRUE
772
777
HAVE_LANGINFO_FALSE
773
778
HAVE_LANGINFO_TRUE
774
779
HAVE_RAW_FALSE
791
796
LIPO
792
797
NMEDIT
793
798
DSYMUTIL
 
799
MANIFEST_TOOL
794
800
RANLIB
 
801
ac_ct_AR
795
802
AR
 
803
DLLTOOL
796
804
OBJDUMP
797
805
LN_S
798
806
NM
906
914
with_pic
907
915
enable_fast_install
908
916
with_gnu_ld
 
917
with_sysroot
909
918
enable_libtool_lock
910
919
with_html_dir
911
920
enable_gtk_doc
914
923
enable_tls
915
924
enable_mount
916
925
enable_fsck
 
926
enable_partx
917
927
enable_libuuid
918
928
enable_uuidd
919
929
enable_libblkid
920
930
enable_libmount
921
931
enable_libmount_mount
 
932
enable_mountpoint
922
933
enable_nls
923
934
enable_rpath
924
935
with_libiconv_prefix
927
938
with_slang
928
939
with_utempter
929
940
enable_arch
 
941
enable_ddate
930
942
enable_agetty
931
943
enable_cramfs
932
944
enable_switch_root
934
946
enable_fallocate
935
947
enable_unshare
936
948
enable_elvtune
937
 
enable_init
938
949
enable_kill
939
950
enable_last
 
951
enable_line
940
952
enable_mesg
941
 
enable_partx
942
953
enable_raw
943
954
enable_rename
944
955
enable_reset
972
983
PKG_CONFIG
973
984
PKG_CONFIG_PATH
974
985
PKG_CONFIG_LIBDIR
975
 
UUID_CFLAGS
976
 
UUID_LIBS
977
 
BLKID_CFLAGS
978
 
BLKID_LIBS
979
 
BLKID_LIBS_STATIC
980
986
SUID_CFLAGS
981
987
SUID_LDFLAGS'
982
988
 
1041
1047
  fi
1042
1048
 
1043
1049
  case $ac_option in
1044
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1045
 
  *)    ac_optarg=yes ;;
 
1050
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1051
  *=)   ac_optarg= ;;
 
1052
  *)    ac_optarg=yes ;;
1046
1053
  esac
1047
1054
 
1048
1055
  # Accept the important Cygnus configure options, so we can diagnose typos.
1382
1389
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1383
1390
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384
1391
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1385
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1392
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1386
1393
    ;;
1387
1394
 
1388
1395
  esac
1520
1527
  # Omit some internal or obsolete options to make the list less imposing.
1521
1528
  # This message is too long to be a string in the A/UX 3.1 sh.
1522
1529
  cat <<_ACEOF
1523
 
\`configure' configures util-linux 2.19.1 to adapt to many kinds of systems.
 
1530
\`configure' configures util-linux 2.20.1 to adapt to many kinds of systems.
1524
1531
 
1525
1532
Usage: $0 [OPTION]... [VAR=VALUE]...
1526
1533
 
1590
1597
 
1591
1598
if test -n "$ac_init_help"; then
1592
1599
  case $ac_init_help in
1593
 
     short | recursive ) echo "Configuration of util-linux 2.19.1:";;
 
1600
     short | recursive ) echo "Configuration of util-linux 2.20.1:";;
1594
1601
   esac
1595
1602
  cat <<\_ACEOF
1596
1603
 
1616
1623
  --disable-tls           disable use of thread local support
1617
1624
  --disable-mount         do not build mount utilities
1618
1625
  --disable-fsck          do not build fsck
 
1626
  --disable-partx         do not build addpart, delpart, partx
1619
1627
  --disable-libuuid       do not build libuuid and uuid utilities
1620
1628
  --disable-uuidd         do not build the uuid daemon
1621
1629
  --disable-libblkid      do not build libblkid and blkid utilities
1622
1630
  --disable-libmount      do not build libmount
1623
1631
  --enable-libmount-mount link mount(8) with libmount (EXPERIMENTAL)
 
1632
  --disable-mountpoint    do not build mountpoint
1624
1633
  --disable-nls           do not use Native Language Support
1625
1634
  --disable-rpath         do not hardcode runtime library paths
1626
1635
  --enable-arch           do build arch
 
1636
  --enable-ddate          do build ddate
1627
1637
  --disable-agetty        do not build agetty
1628
1638
  --disable-cramfs        do not build fsck.cramfs, mkfs.cramfs
1629
1639
  --disable-switch_root   do not build switch_root
1631
1641
  --disable-fallocate     do not build fallocate
1632
1642
  --disable-unshare       do not build unshare
1633
1643
  --enable-elvtune        build elvtune (only works with 2.2 and 2.4 kernels)
1634
 
  --enable-init           build simpleinit, shutdown, initctl
1635
1644
  --enable-kill           build kill
1636
1645
  --enable-last           build last
 
1646
  --enable-line           build line
1637
1647
  --enable-mesg           build mesg
1638
 
  --enable-partx          build addpart, delpart, partx
1639
1648
  --enable-raw            build raw
1640
1649
  --disable-rename        do not build rename
1641
1650
  --enable-reset          build reset
1672
1681
  --with-pic              try to use only PIC/non-PIC objects [default=use
1673
1682
                          both]
1674
1683
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1684
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1685
                        (or the compiler's sysroot if not specified).
1675
1686
  --with-html-dir=PATH    path to installed docs
1676
1687
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1677
1688
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1700
1711
              directories to add to pkg-config's search path
1701
1712
  PKG_CONFIG_LIBDIR
1702
1713
              path overriding pkg-config's built-in search path
1703
 
  UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
1704
 
  UUID_LIBS   linker flags for UUID, overriding pkg-config
1705
 
  BLKID_CFLAGS
1706
 
              C compiler flags for BLKID, overriding pkg-config
1707
 
  BLKID_LIBS  linker flags for BLKID, overriding pkg-config
1708
 
  BLKID_LIBS_STATIC
1709
 
              -l options for linking statically with blkid
1710
1714
  SUID_CFLAGS CFLAGS used for binaries which are usually with the suid bit
1711
1715
  SUID_LDFLAGS
1712
1716
              LDFLAGS used for binaries which are usually with the suid bit
1777
1781
test -n "$ac_init_help" && exit $ac_status
1778
1782
if $ac_init_version; then
1779
1783
  cat <<\_ACEOF
1780
 
util-linux configure 2.19.1
1781
 
generated by GNU Autoconf 2.66
 
1784
util-linux configure 2.20.1
 
1785
generated by GNU Autoconf 2.68
1782
1786
 
1783
1787
Copyright (C) 2010 Free Software Foundation, Inc.
1784
1788
This configure script is free software; the Free Software Foundation
1824
1828
 
1825
1829
        ac_retval=1
1826
1830
fi
1827
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1831
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1832
  as_fn_set_status $ac_retval
1829
1833
 
1830
1834
} # ac_fn_c_try_compile
1850
1854
    mv -f conftest.er1 conftest.err
1851
1855
  fi
1852
1856
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853
 
  test $ac_status = 0; } >/dev/null && {
 
1857
  test $ac_status = 0; } > conftest.i && {
1854
1858
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1855
1859
         test ! -s conftest.err
1856
1860
       }; then :
1861
1865
 
1862
1866
    ac_retval=1
1863
1867
fi
1864
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1868
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865
1869
  as_fn_set_status $ac_retval
1866
1870
 
1867
1871
} # ac_fn_c_try_cpp
1874
1878
ac_fn_c_check_header_mongrel ()
1875
1879
{
1876
1880
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1881
  if eval \${$3+:} false; then :
1878
1882
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879
1883
$as_echo_n "checking for $2... " >&6; }
1880
 
if eval "test \"\${$3+set}\"" = set; then :
 
1884
if eval \${$3+:} false; then :
1881
1885
  $as_echo_n "(cached) " >&6
1882
1886
fi
1883
1887
eval ac_res=\$$3
1913
1917
else
1914
1918
  ac_header_preproc=no
1915
1919
fi
1916
 
rm -f conftest.err conftest.$ac_ext
 
1920
rm -f conftest.err conftest.i conftest.$ac_ext
1917
1921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1918
1922
$as_echo "$ac_header_preproc" >&6; }
1919
1923
 
1944
1948
esac
1945
1949
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1946
1950
$as_echo_n "checking for $2... " >&6; }
1947
 
if eval "test \"\${$3+set}\"" = set; then :
 
1951
if eval \${$3+:} false; then :
1948
1952
  $as_echo_n "(cached) " >&6
1949
1953
else
1950
1954
  eval "$3=\$ac_header_compiler"
1953
1957
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954
1958
$as_echo "$ac_res" >&6; }
1955
1959
fi
1956
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1960
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957
1961
 
1958
1962
} # ac_fn_c_check_header_mongrel
1959
1963
 
1994
1998
       ac_retval=$ac_status
1995
1999
fi
1996
2000
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1997
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2001
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998
2002
  as_fn_set_status $ac_retval
1999
2003
 
2000
2004
} # ac_fn_c_try_run
2008
2012
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009
2013
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2010
2014
$as_echo_n "checking for $2... " >&6; }
2011
 
if eval "test \"\${$3+set}\"" = set; then :
 
2015
if eval \${$3+:} false; then :
2012
2016
  $as_echo_n "(cached) " >&6
2013
2017
else
2014
2018
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026
2030
eval ac_res=\$$3
2027
2031
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028
2032
$as_echo "$ac_res" >&6; }
2029
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2033
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2030
2034
 
2031
2035
} # ac_fn_c_check_header_compile
2032
2036
 
2071
2075
  # interfere with the next link command; also delete a directory that is
2072
2076
  # left behind by Apple's compiler.  We do this before executing the actions.
2073
2077
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2074
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2078
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075
2079
  as_fn_set_status $ac_retval
2076
2080
 
2077
2081
} # ac_fn_c_try_link
2084
2088
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085
2089
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086
2090
$as_echo_n "checking for $2... " >&6; }
2087
 
if eval "test \"\${$3+set}\"" = set; then :
 
2091
if eval \${$3+:} false; then :
2088
2092
  $as_echo_n "(cached) " >&6
2089
2093
else
2090
2094
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139
2143
eval ac_res=\$$3
2140
2144
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2141
2145
$as_echo "$ac_res" >&6; }
2142
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2146
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2143
2147
 
2144
2148
} # ac_fn_c_check_func
2145
2149
 
2154
2158
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2155
2159
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2156
2160
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2157
 
if eval "test \"\${$3+set}\"" = set; then :
 
2161
if eval \${$3+:} false; then :
2158
2162
  $as_echo_n "(cached) " >&6
2159
2163
else
2160
2164
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185
2189
eval ac_res=\$$3
2186
2190
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187
2191
$as_echo "$ac_res" >&6; }
2188
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2192
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189
2193
 
2190
2194
} # ac_fn_c_check_decl
2191
2195
 
2198
2202
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2199
2203
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2200
2204
$as_echo_n "checking for $2.$3... " >&6; }
2201
 
if eval "test \"\${$4+set}\"" = set; then :
 
2205
if eval \${$4+:} false; then :
2202
2206
  $as_echo_n "(cached) " >&6
2203
2207
else
2204
2208
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242
2246
eval ac_res=\$$4
2243
2247
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244
2248
$as_echo "$ac_res" >&6; }
2245
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2249
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246
2250
 
2247
2251
} # ac_fn_c_check_member
2248
2252
 
2255
2259
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256
2260
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257
2261
$as_echo_n "checking for $2... " >&6; }
2258
 
if eval "test \"\${$3+set}\"" = set; then :
 
2262
if eval \${$3+:} false; then :
2259
2263
  $as_echo_n "(cached) " >&6
2260
2264
else
2261
2265
  eval "$3=no"
2296
2300
eval ac_res=\$$3
2297
2301
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2298
2302
$as_echo "$ac_res" >&6; }
2299
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2303
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2300
2304
 
2301
2305
} # ac_fn_c_check_type
2302
2306
cat >config.log <<_ACEOF
2303
2307
This file contains any messages produced by compilers while
2304
2308
running configure, to aid debugging if configure makes a mistake.
2305
2309
 
2306
 
It was created by util-linux $as_me 2.19.1, which was
2307
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
2310
It was created by util-linux $as_me 2.20.1, which was
 
2311
generated by GNU Autoconf 2.68.  Invocation command line was
2308
2312
 
2309
2313
  $ $0 $@
2310
2314
 
2704
2708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2705
2709
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2706
2710
if test -z "$INSTALL"; then
2707
 
if test "${ac_cv_path_install+set}" = set; then :
 
2711
if ${ac_cv_path_install+:} false; then :
2708
2712
  $as_echo_n "(cached) " >&6
2709
2713
else
2710
2714
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881
2885
set dummy ${ac_tool_prefix}strip; ac_word=$2
2882
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883
2887
$as_echo_n "checking for $ac_word... " >&6; }
2884
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2888
if ${ac_cv_prog_STRIP+:} false; then :
2885
2889
  $as_echo_n "(cached) " >&6
2886
2890
else
2887
2891
  if test -n "$STRIP"; then
2921
2925
set dummy strip; ac_word=$2
2922
2926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923
2927
$as_echo_n "checking for $ac_word... " >&6; }
2924
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2928
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2925
2929
  $as_echo_n "(cached) " >&6
2926
2930
else
2927
2931
  if test -n "$ac_ct_STRIP"; then
2974
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2975
2979
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2976
2980
if test -z "$MKDIR_P"; then
2977
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2981
  if ${ac_cv_path_mkdir+:} false; then :
2978
2982
  $as_echo_n "(cached) " >&6
2979
2983
else
2980
2984
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025
3029
set dummy $ac_prog; ac_word=$2
3026
3030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027
3031
$as_echo_n "checking for $ac_word... " >&6; }
3028
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3032
if ${ac_cv_prog_AWK+:} false; then :
3029
3033
  $as_echo_n "(cached) " >&6
3030
3034
else
3031
3035
  if test -n "$AWK"; then
3065
3069
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3066
3070
set x ${MAKE-make}
3067
3071
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3068
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3072
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3069
3073
  $as_echo_n "(cached) " >&6
3070
3074
else
3071
3075
  cat >conftest.make <<\_ACEOF
3123
3127
 
3124
3128
# Define the identity of the package.
3125
3129
 PACKAGE='util-linux'
3126
 
 VERSION='2.19.1'
 
3130
 VERSION='2.20.1'
3127
3131
 
3128
3132
 
3129
3133
cat >>confdefs.h <<_ACEOF
3187
3191
PACKAGE_VERSION_RELEASE=0
3188
3192
 
3189
3193
LIBBLKID_VERSION="$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_RELEASE"
3190
 
LIBBLKID_DATE="02-May-2011"
 
3194
LIBBLKID_DATE="19-Oct-2011"
3191
3195
LIBBLKID_LT_MAJOR=1
3192
3196
LIBBLKID_LT_MINOR=1
3193
3197
LIBBLKID_LT_MICRO=0
3240
3244
usrlib_execdir='${exec_prefix}/'$libdirname
3241
3245
 
3242
3246
 
3243
 
 
3244
3247
DEPDIR="${am__leading_dot}deps"
3245
3248
 
3246
3249
ac_config_commands="$ac_config_commands depfiles"
3313
3316
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3314
3317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315
3318
$as_echo_n "checking for $ac_word... " >&6; }
3316
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3319
if ${ac_cv_prog_CC+:} false; then :
3317
3320
  $as_echo_n "(cached) " >&6
3318
3321
else
3319
3322
  if test -n "$CC"; then
3353
3356
set dummy gcc; ac_word=$2
3354
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355
3358
$as_echo_n "checking for $ac_word... " >&6; }
3356
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3359
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3357
3360
  $as_echo_n "(cached) " >&6
3358
3361
else
3359
3362
  if test -n "$ac_ct_CC"; then
3406
3409
set dummy ${ac_tool_prefix}cc; ac_word=$2
3407
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408
3411
$as_echo_n "checking for $ac_word... " >&6; }
3409
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3412
if ${ac_cv_prog_CC+:} false; then :
3410
3413
  $as_echo_n "(cached) " >&6
3411
3414
else
3412
3415
  if test -n "$CC"; then
3446
3449
set dummy cc; ac_word=$2
3447
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3448
3451
$as_echo_n "checking for $ac_word... " >&6; }
3449
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3452
if ${ac_cv_prog_CC+:} false; then :
3450
3453
  $as_echo_n "(cached) " >&6
3451
3454
else
3452
3455
  if test -n "$CC"; then
3505
3508
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3506
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507
3510
$as_echo_n "checking for $ac_word... " >&6; }
3508
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3511
if ${ac_cv_prog_CC+:} false; then :
3509
3512
  $as_echo_n "(cached) " >&6
3510
3513
else
3511
3514
  if test -n "$CC"; then
3549
3552
set dummy $ac_prog; ac_word=$2
3550
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551
3554
$as_echo_n "checking for $ac_word... " >&6; }
3552
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3555
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3553
3556
  $as_echo_n "(cached) " >&6
3554
3557
else
3555
3558
  if test -n "$ac_ct_CC"; then
3832
3835
ac_clean_files=$ac_clean_files_save
3833
3836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3834
3837
$as_echo_n "checking for suffix of object files... " >&6; }
3835
 
if test "${ac_cv_objext+set}" = set; then :
 
3838
if ${ac_cv_objext+:} false; then :
3836
3839
  $as_echo_n "(cached) " >&6
3837
3840
else
3838
3841
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883
3886
ac_objext=$OBJEXT
3884
3887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3885
3888
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3886
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3889
if ${ac_cv_c_compiler_gnu+:} false; then :
3887
3890
  $as_echo_n "(cached) " >&6
3888
3891
else
3889
3892
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920
3923
ac_save_CFLAGS=$CFLAGS
3921
3924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3922
3925
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3923
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3926
if ${ac_cv_prog_cc_g+:} false; then :
3924
3927
  $as_echo_n "(cached) " >&6
3925
3928
else
3926
3929
  ac_save_c_werror_flag=$ac_c_werror_flag
3998
4001
fi
3999
4002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4000
4003
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4001
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4004
if ${ac_cv_prog_cc_c89+:} false; then :
4002
4005
  $as_echo_n "(cached) " >&6
4003
4006
else
4004
4007
  ac_cv_prog_cc_c89=no
4097
4100
 
4098
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4099
4102
$as_echo_n "checking dependency style of $depcc... " >&6; }
4100
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4103
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4101
4104
  $as_echo_n "(cached) " >&6
4102
4105
else
4103
4106
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4220
4223
fi
4221
4224
 
4222
4225
 
 
4226
if test "x$CC" != xcc; then
 
4227
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
4228
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
4229
else
 
4230
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
4231
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
4232
fi
 
4233
set dummy $CC; ac_cc=`$as_echo "$2" |
 
4234
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4235
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
4236
  $as_echo_n "(cached) " >&6
 
4237
else
 
4238
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4239
/* end confdefs.h.  */
 
4240
 
 
4241
int
 
4242
main ()
 
4243
{
 
4244
 
 
4245
  ;
 
4246
  return 0;
 
4247
}
 
4248
_ACEOF
 
4249
# Make sure it works both with $CC and with simple cc.
 
4250
# We do the test twice because some compilers refuse to overwrite an
 
4251
# existing .o file with -o, though they will create one.
 
4252
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4253
rm -f conftest2.*
 
4254
if { { case "(($ac_try" in
 
4255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4256
  *) ac_try_echo=$ac_try;;
 
4257
esac
 
4258
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4259
$as_echo "$ac_try_echo"; } >&5
 
4260
  (eval "$ac_try") 2>&5
 
4261
  ac_status=$?
 
4262
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4263
  test $ac_status = 0; } &&
 
4264
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4266
  *) ac_try_echo=$ac_try;;
 
4267
esac
 
4268
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4269
$as_echo "$ac_try_echo"; } >&5
 
4270
  (eval "$ac_try") 2>&5
 
4271
  ac_status=$?
 
4272
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4273
  test $ac_status = 0; };
 
4274
then
 
4275
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
4276
  if test "x$CC" != xcc; then
 
4277
    # Test first that cc exists at all.
 
4278
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
4279
  { { case "(($ac_try" in
 
4280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4281
  *) ac_try_echo=$ac_try;;
 
4282
esac
 
4283
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4284
$as_echo "$ac_try_echo"; } >&5
 
4285
  (eval "$ac_try") 2>&5
 
4286
  ac_status=$?
 
4287
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4288
  test $ac_status = 0; }; }; then
 
4289
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4290
      rm -f conftest2.*
 
4291
      if { { case "(($ac_try" in
 
4292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4293
  *) ac_try_echo=$ac_try;;
 
4294
esac
 
4295
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4296
$as_echo "$ac_try_echo"; } >&5
 
4297
  (eval "$ac_try") 2>&5
 
4298
  ac_status=$?
 
4299
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4300
  test $ac_status = 0; } &&
 
4301
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4303
  *) ac_try_echo=$ac_try;;
 
4304
esac
 
4305
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4306
$as_echo "$ac_try_echo"; } >&5
 
4307
  (eval "$ac_try") 2>&5
 
4308
  ac_status=$?
 
4309
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4310
  test $ac_status = 0; };
 
4311
      then
 
4312
        # cc works too.
 
4313
        :
 
4314
      else
 
4315
        # cc exists but doesn't like -o.
 
4316
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
4317
      fi
 
4318
    fi
 
4319
  fi
 
4320
else
 
4321
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
4322
fi
 
4323
rm -f core conftest*
 
4324
 
 
4325
fi
 
4326
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
4327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4328
$as_echo "yes" >&6; }
 
4329
else
 
4330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4331
$as_echo "no" >&6; }
 
4332
 
 
4333
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
4334
 
 
4335
fi
 
4336
 
 
4337
# FIXME: we rely on the cache variable name because
 
4338
# there is no other way.
 
4339
set dummy $CC
 
4340
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4341
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
4342
if test "$am_t" != yes; then
 
4343
   # Losing compiler, so override with the script.
 
4344
   # FIXME: It is wrong to rewrite CC.
 
4345
   # But if we don't then we get into trouble of one sort or another.
 
4346
   # A longer-term fix would be to have automake use am__CC in this case,
 
4347
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
4348
   CC="$am_aux_dir/compile $CC"
 
4349
fi
 
4350
 
 
4351
 
4223
4352
   case $ac_cv_prog_cc_stdc in #(
4224
4353
  no) :
4225
4354
    ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4226
4355
  *) :
4227
4356
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4228
4357
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4229
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
 
4358
if ${ac_cv_prog_cc_c99+:} false; then :
4230
4359
  $as_echo_n "(cached) " >&6
4231
4360
else
4232
4361
  ac_cv_prog_cc_c99=no
4401
4530
else
4402
4531
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4403
4532
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4404
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4533
if ${ac_cv_prog_cc_c89+:} false; then :
4405
4534
  $as_echo_n "(cached) " >&6
4406
4535
else
4407
4536
  ac_cv_prog_cc_c89=no
4497
4626
esac
4498
4627
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4499
4628
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4500
 
  if test "${ac_cv_prog_cc_stdc+set}" = set; then :
 
4629
  if ${ac_cv_prog_cc_stdc+:} false; then :
4501
4630
  $as_echo_n "(cached) " >&6
4502
4631
fi
4503
4632
 
4526
4655
  CPP=
4527
4656
fi
4528
4657
if test -z "$CPP"; then
4529
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4658
  if ${ac_cv_prog_CPP+:} false; then :
4530
4659
  $as_echo_n "(cached) " >&6
4531
4660
else
4532
4661
      # Double quotes because CPP needs to be expanded
4556
4685
  # Broken: fails on valid input.
4557
4686
continue
4558
4687
fi
4559
 
rm -f conftest.err conftest.$ac_ext
 
4688
rm -f conftest.err conftest.i conftest.$ac_ext
4560
4689
 
4561
4690
  # OK, works on sane cases.  Now check whether nonexistent headers
4562
4691
  # can be detected and how.
4572
4701
ac_preproc_ok=:
4573
4702
break
4574
4703
fi
4575
 
rm -f conftest.err conftest.$ac_ext
 
4704
rm -f conftest.err conftest.i conftest.$ac_ext
4576
4705
 
4577
4706
done
4578
4707
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4579
 
rm -f conftest.err conftest.$ac_ext
 
4708
rm -f conftest.i conftest.err conftest.$ac_ext
4580
4709
if $ac_preproc_ok; then :
4581
4710
  break
4582
4711
fi
4615
4744
  # Broken: fails on valid input.
4616
4745
continue
4617
4746
fi
4618
 
rm -f conftest.err conftest.$ac_ext
 
4747
rm -f conftest.err conftest.i conftest.$ac_ext
4619
4748
 
4620
4749
  # OK, works on sane cases.  Now check whether nonexistent headers
4621
4750
  # can be detected and how.
4631
4760
ac_preproc_ok=:
4632
4761
break
4633
4762
fi
4634
 
rm -f conftest.err conftest.$ac_ext
 
4763
rm -f conftest.err conftest.i conftest.$ac_ext
4635
4764
 
4636
4765
done
4637
4766
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4638
 
rm -f conftest.err conftest.$ac_ext
 
4767
rm -f conftest.i conftest.err conftest.$ac_ext
4639
4768
if $ac_preproc_ok; then :
4640
4769
 
4641
4770
else
4654
4783
 
4655
4784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4656
4785
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4657
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4786
if ${ac_cv_path_GREP+:} false; then :
4658
4787
  $as_echo_n "(cached) " >&6
4659
4788
else
4660
4789
  if test -z "$GREP"; then
4717
4846
 
4718
4847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4719
4848
$as_echo_n "checking for egrep... " >&6; }
4720
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4849
if ${ac_cv_path_EGREP+:} false; then :
4721
4850
  $as_echo_n "(cached) " >&6
4722
4851
else
4723
4852
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4784
4913
 
4785
4914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4786
4915
$as_echo_n "checking for ANSI C header files... " >&6; }
4787
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4916
if ${ac_cv_header_stdc+:} false; then :
4788
4917
  $as_echo_n "(cached) " >&6
4789
4918
else
4790
4919
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913
5042
 
4914
5043
 
4915
5044
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4916
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
5045
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4917
5046
  MINIX=yes
4918
5047
else
4919
5048
  MINIX=
4935
5064
 
4936
5065
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4937
5066
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4938
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
5067
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4939
5068
  $as_echo_n "(cached) " >&6
4940
5069
else
4941
5070
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979
5108
 
4980
5109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4981
5110
$as_echo_n "checking build system type... " >&6; }
4982
 
if test "${ac_cv_build+set}" = set; then :
 
5111
if ${ac_cv_build+:} false; then :
4983
5112
  $as_echo_n "(cached) " >&6
4984
5113
else
4985
5114
  ac_build_alias=$build_alias
5013
5142
 
5014
5143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5015
5144
$as_echo_n "checking host system type... " >&6; }
5016
 
if test "${ac_cv_host+set}" = set; then :
 
5145
if ${ac_cv_host+:} false; then :
5017
5146
  $as_echo_n "(cached) " >&6
5018
5147
else
5019
5148
  if test "x$host_alias" = x; then
5046
5175
 
5047
5176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5048
5177
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5049
 
if test "${ac_cv_c_const+set}" = set; then :
 
5178
if ${ac_cv_c_const+:} false; then :
5050
5179
  $as_echo_n "(cached) " >&6
5051
5180
else
5052
5181
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126
5255
 
5127
5256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
5128
5257
$as_echo_n "checking for working volatile... " >&6; }
5129
 
if test "${ac_cv_c_volatile+set}" = set; then :
 
5258
if ${ac_cv_c_volatile+:} false; then :
5130
5259
  $as_echo_n "(cached) " >&6
5131
5260
else
5132
5261
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5160
5289
 
5161
5290
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5162
5291
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5163
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
5292
if ${ac_cv_c_bigendian+:} false; then :
5164
5293
  $as_echo_n "(cached) " >&6
5165
5294
else
5166
5295
  ac_cv_c_bigendian=unknown
5391
5520
 
5392
5521
 
5393
5522
 
5394
 
macro_version='2.2.10'
5395
 
macro_revision='1.3175'
 
5523
macro_version='2.4'
 
5524
macro_revision='1.3293'
5396
5525
 
5397
5526
 
5398
5527
 
5432
5561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5433
5562
$as_echo_n "checking how to print strings... " >&6; }
5434
5563
# Test print first, because it will be a builtin if present.
5435
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5564
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5436
5565
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5437
5566
  ECHO='print -r --'
5438
5567
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5479
5608
 
5480
5609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5481
5610
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5482
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5611
if ${ac_cv_path_SED+:} false; then :
5483
5612
  $as_echo_n "(cached) " >&6
5484
5613
else
5485
5614
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5561
5690
 
5562
5691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5563
5692
$as_echo_n "checking for fgrep... " >&6; }
5564
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5693
if ${ac_cv_path_FGREP+:} false; then :
5565
5694
  $as_echo_n "(cached) " >&6
5566
5695
else
5567
5696
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5692
5821
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5693
5822
$as_echo_n "checking for non-GNU ld... " >&6; }
5694
5823
fi
5695
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5824
if ${lt_cv_path_LD+:} false; then :
5696
5825
  $as_echo_n "(cached) " >&6
5697
5826
else
5698
5827
  if test -z "$LD"; then
5732
5861
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5733
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5734
5863
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5735
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5864
if ${lt_cv_prog_gnu_ld+:} false; then :
5736
5865
  $as_echo_n "(cached) " >&6
5737
5866
else
5738
5867
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5759
5888
 
5760
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5761
5890
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5762
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5891
if ${lt_cv_path_NM+:} false; then :
5763
5892
  $as_echo_n "(cached) " >&6
5764
5893
else
5765
5894
  if test -n "$NM"; then
5822
5951
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5823
5952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824
5953
$as_echo_n "checking for $ac_word... " >&6; }
5825
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5954
if ${ac_cv_prog_DUMPBIN+:} false; then :
5826
5955
  $as_echo_n "(cached) " >&6
5827
5956
else
5828
5957
  if test -n "$DUMPBIN"; then
5866
5995
set dummy $ac_prog; ac_word=$2
5867
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868
5997
$as_echo_n "checking for $ac_word... " >&6; }
5869
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5998
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5870
5999
  $as_echo_n "(cached) " >&6
5871
6000
else
5872
6001
  if test -n "$ac_ct_DUMPBIN"; then
5938
6067
 
5939
6068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5940
6069
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5941
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
6070
if ${lt_cv_nm_interface+:} false; then :
5942
6071
  $as_echo_n "(cached) " >&6
5943
6072
else
5944
6073
  lt_cv_nm_interface="BSD nm"
5973
6102
# find the maximum length of command line arguments
5974
6103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5975
6104
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5976
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6105
if ${lt_cv_sys_max_cmd_len+:} false; then :
5977
6106
  $as_echo_n "(cached) " >&6
5978
6107
else
5979
6108
    i=0
6118
6247
# Try some XSI features
6119
6248
xsi_shell=no
6120
6249
( _lt_dummy="a/b/c"
6121
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6122
 
      = c,a/b,, \
 
6250
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6251
      = c,a/b,b/c, \
6123
6252
    && eval 'test $(( 1 + 1 )) -eq 2 \
6124
6253
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6125
6254
  && xsi_shell=yes
6168
6297
 
6169
6298
 
6170
6299
 
 
6300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6301
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6302
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6303
  $as_echo_n "(cached) " >&6
 
6304
else
 
6305
  case $host in
 
6306
  *-*-mingw* )
 
6307
    case $build in
 
6308
      *-*-mingw* ) # actually msys
 
6309
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6310
        ;;
 
6311
      *-*-cygwin* )
 
6312
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6313
        ;;
 
6314
      * ) # otherwise, assume *nix
 
6315
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6316
        ;;
 
6317
    esac
 
6318
    ;;
 
6319
  *-*-cygwin* )
 
6320
    case $build in
 
6321
      *-*-mingw* ) # actually msys
 
6322
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6323
        ;;
 
6324
      *-*-cygwin* )
 
6325
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6326
        ;;
 
6327
      * ) # otherwise, assume *nix
 
6328
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6329
        ;;
 
6330
    esac
 
6331
    ;;
 
6332
  * ) # unhandled hosts (and "normal" native builds)
 
6333
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6334
    ;;
 
6335
esac
 
6336
 
 
6337
fi
 
6338
 
 
6339
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6341
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6342
 
 
6343
 
 
6344
 
 
6345
 
 
6346
 
 
6347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6348
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6349
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6350
  $as_echo_n "(cached) " >&6
 
6351
else
 
6352
  #assume ordinary cross tools, or native build.
 
6353
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6354
case $host in
 
6355
  *-*-mingw* )
 
6356
    case $build in
 
6357
      *-*-mingw* ) # actually msys
 
6358
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6359
        ;;
 
6360
    esac
 
6361
    ;;
 
6362
esac
 
6363
 
 
6364
fi
 
6365
 
 
6366
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6368
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6369
 
 
6370
 
 
6371
 
 
6372
 
 
6373
 
6171
6374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6172
6375
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6173
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6376
if ${lt_cv_ld_reload_flag+:} false; then :
6174
6377
  $as_echo_n "(cached) " >&6
6175
6378
else
6176
6379
  lt_cv_ld_reload_flag='-r'
6184
6387
esac
6185
6388
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6186
6389
case $host_os in
 
6390
  cygwin* | mingw* | pw32* | cegcc*)
 
6391
    if test "$GCC" != yes; then
 
6392
      reload_cmds=false
 
6393
    fi
 
6394
    ;;
6187
6395
  darwin*)
6188
6396
    if test "$GCC" = yes; then
6189
6397
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6206
6414
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6207
6415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208
6416
$as_echo_n "checking for $ac_word... " >&6; }
6209
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6417
if ${ac_cv_prog_OBJDUMP+:} false; then :
6210
6418
  $as_echo_n "(cached) " >&6
6211
6419
else
6212
6420
  if test -n "$OBJDUMP"; then
6246
6454
set dummy objdump; ac_word=$2
6247
6455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6248
6456
$as_echo_n "checking for $ac_word... " >&6; }
6249
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6457
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6250
6458
  $as_echo_n "(cached) " >&6
6251
6459
else
6252
6460
  if test -n "$ac_ct_OBJDUMP"; then
6305
6513
 
6306
6514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6307
6515
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6308
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6516
if ${lt_cv_deplibs_check_method+:} false; then :
6309
6517
  $as_echo_n "(cached) " >&6
6310
6518
else
6311
6519
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6507
6715
fi
6508
6716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6509
6717
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6718
 
 
6719
file_magic_glob=
 
6720
want_nocaseglob=no
 
6721
if test "$build" = "$host"; then
 
6722
  case $host_os in
 
6723
  mingw* | pw32*)
 
6724
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6725
      want_nocaseglob=yes
 
6726
    else
 
6727
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6728
    fi
 
6729
    ;;
 
6730
  esac
 
6731
fi
 
6732
 
6510
6733
file_magic_cmd=$lt_cv_file_magic_cmd
6511
6734
deplibs_check_method=$lt_cv_deplibs_check_method
6512
6735
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6522
6745
 
6523
6746
 
6524
6747
 
6525
 
if test -n "$ac_tool_prefix"; then
6526
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6527
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6528
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529
 
$as_echo_n "checking for $ac_word... " >&6; }
6530
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6748
 
 
6749
 
 
6750
 
 
6751
 
 
6752
 
 
6753
 
 
6754
 
 
6755
 
 
6756
 
 
6757
 
 
6758
if test -n "$ac_tool_prefix"; then
 
6759
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6760
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6762
$as_echo_n "checking for $ac_word... " >&6; }
 
6763
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6764
  $as_echo_n "(cached) " >&6
 
6765
else
 
6766
  if test -n "$DLLTOOL"; then
 
6767
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6768
else
 
6769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6770
for as_dir in $PATH
 
6771
do
 
6772
  IFS=$as_save_IFS
 
6773
  test -z "$as_dir" && as_dir=.
 
6774
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6776
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6778
    break 2
 
6779
  fi
 
6780
done
 
6781
  done
 
6782
IFS=$as_save_IFS
 
6783
 
 
6784
fi
 
6785
fi
 
6786
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6787
if test -n "$DLLTOOL"; then
 
6788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6789
$as_echo "$DLLTOOL" >&6; }
 
6790
else
 
6791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6792
$as_echo "no" >&6; }
 
6793
fi
 
6794
 
 
6795
 
 
6796
fi
 
6797
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6798
  ac_ct_DLLTOOL=$DLLTOOL
 
6799
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6800
set dummy dlltool; ac_word=$2
 
6801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6802
$as_echo_n "checking for $ac_word... " >&6; }
 
6803
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6804
  $as_echo_n "(cached) " >&6
 
6805
else
 
6806
  if test -n "$ac_ct_DLLTOOL"; then
 
6807
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6808
else
 
6809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6810
for as_dir in $PATH
 
6811
do
 
6812
  IFS=$as_save_IFS
 
6813
  test -z "$as_dir" && as_dir=.
 
6814
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6816
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6818
    break 2
 
6819
  fi
 
6820
done
 
6821
  done
 
6822
IFS=$as_save_IFS
 
6823
 
 
6824
fi
 
6825
fi
 
6826
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6827
if test -n "$ac_ct_DLLTOOL"; then
 
6828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6829
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6830
else
 
6831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6832
$as_echo "no" >&6; }
 
6833
fi
 
6834
 
 
6835
  if test "x$ac_ct_DLLTOOL" = x; then
 
6836
    DLLTOOL="false"
 
6837
  else
 
6838
    case $cross_compiling:$ac_tool_warned in
 
6839
yes:)
 
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6842
ac_tool_warned=yes ;;
 
6843
esac
 
6844
    DLLTOOL=$ac_ct_DLLTOOL
 
6845
  fi
 
6846
else
 
6847
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6848
fi
 
6849
 
 
6850
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6851
 
 
6852
 
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6862
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6863
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6864
  $as_echo_n "(cached) " >&6
 
6865
else
 
6866
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6867
 
 
6868
case $host_os in
 
6869
cygwin* | mingw* | pw32* | cegcc*)
 
6870
  # two different shell functions defined in ltmain.sh
 
6871
  # decide which to use based on capabilities of $DLLTOOL
 
6872
  case `$DLLTOOL --help 2>&1` in
 
6873
  *--identify-strict*)
 
6874
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6875
    ;;
 
6876
  *)
 
6877
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6878
    ;;
 
6879
  esac
 
6880
  ;;
 
6881
*)
 
6882
  # fallback: assume linklib IS sharedlib
 
6883
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6884
  ;;
 
6885
esac
 
6886
 
 
6887
fi
 
6888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6889
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6890
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6891
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6892
 
 
6893
 
 
6894
 
 
6895
 
 
6896
 
 
6897
 
 
6898
 
 
6899
if test -n "$ac_tool_prefix"; then
 
6900
  for ac_prog in ar
 
6901
  do
 
6902
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6903
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6905
$as_echo_n "checking for $ac_word... " >&6; }
 
6906
if ${ac_cv_prog_AR+:} false; then :
6531
6907
  $as_echo_n "(cached) " >&6
6532
6908
else
6533
6909
  if test -n "$AR"; then
6540
6916
  test -z "$as_dir" && as_dir=.
6541
6917
    for ac_exec_ext in '' $ac_executable_extensions; do
6542
6918
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6543
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6919
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6544
6920
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545
6921
    break 2
6546
6922
  fi
6560
6936
fi
6561
6937
 
6562
6938
 
 
6939
    test -n "$AR" && break
 
6940
  done
6563
6941
fi
6564
 
if test -z "$ac_cv_prog_AR"; then
 
6942
if test -z "$AR"; then
6565
6943
  ac_ct_AR=$AR
6566
 
  # Extract the first word of "ar", so it can be a program name with args.
6567
 
set dummy ar; ac_word=$2
 
6944
  for ac_prog in ar
 
6945
do
 
6946
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6947
set dummy $ac_prog; ac_word=$2
6568
6948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6569
6949
$as_echo_n "checking for $ac_word... " >&6; }
6570
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6950
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6571
6951
  $as_echo_n "(cached) " >&6
6572
6952
else
6573
6953
  if test -n "$ac_ct_AR"; then
6580
6960
  test -z "$as_dir" && as_dir=.
6581
6961
    for ac_exec_ext in '' $ac_executable_extensions; do
6582
6962
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6583
 
    ac_cv_prog_ac_ct_AR="ar"
 
6963
    ac_cv_prog_ac_ct_AR="$ac_prog"
6584
6964
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585
6965
    break 2
6586
6966
  fi
6599
6979
$as_echo "no" >&6; }
6600
6980
fi
6601
6981
 
 
6982
 
 
6983
  test -n "$ac_ct_AR" && break
 
6984
done
 
6985
 
6602
6986
  if test "x$ac_ct_AR" = x; then
6603
6987
    AR="false"
6604
6988
  else
6610
6994
esac
6611
6995
    AR=$ac_ct_AR
6612
6996
  fi
6613
 
else
6614
 
  AR="$ac_cv_prog_AR"
6615
 
fi
6616
 
 
6617
 
test -z "$AR" && AR=ar
6618
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6619
 
 
6620
 
 
6621
 
 
6622
 
 
 
6997
fi
 
6998
 
 
6999
: ${AR=ar}
 
7000
: ${AR_FLAGS=cru}
 
7001
 
 
7002
 
 
7003
 
 
7004
 
 
7005
 
 
7006
 
 
7007
 
 
7008
 
 
7009
 
 
7010
 
 
7011
 
 
7012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
7013
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
7014
if ${lt_cv_ar_at_file+:} false; then :
 
7015
  $as_echo_n "(cached) " >&6
 
7016
else
 
7017
  lt_cv_ar_at_file=no
 
7018
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7019
/* end confdefs.h.  */
 
7020
 
 
7021
int
 
7022
main ()
 
7023
{
 
7024
 
 
7025
  ;
 
7026
  return 0;
 
7027
}
 
7028
_ACEOF
 
7029
if ac_fn_c_try_compile "$LINENO"; then :
 
7030
  echo conftest.$ac_objext > conftest.lst
 
7031
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
7032
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7033
  (eval $lt_ar_try) 2>&5
 
7034
  ac_status=$?
 
7035
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7036
  test $ac_status = 0; }
 
7037
      if test "$ac_status" -eq 0; then
 
7038
        # Ensure the archiver fails upon bogus file names.
 
7039
        rm -f conftest.$ac_objext libconftest.a
 
7040
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
7041
  (eval $lt_ar_try) 2>&5
 
7042
  ac_status=$?
 
7043
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7044
  test $ac_status = 0; }
 
7045
        if test "$ac_status" -ne 0; then
 
7046
          lt_cv_ar_at_file=@
 
7047
        fi
 
7048
      fi
 
7049
      rm -f conftest.* libconftest.a
 
7050
 
 
7051
fi
 
7052
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7053
 
 
7054
fi
 
7055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
7056
$as_echo "$lt_cv_ar_at_file" >&6; }
 
7057
 
 
7058
if test "x$lt_cv_ar_at_file" = xno; then
 
7059
  archiver_list_spec=
 
7060
else
 
7061
  archiver_list_spec=$lt_cv_ar_at_file
 
7062
fi
6623
7063
 
6624
7064
 
6625
7065
 
6632
7072
set dummy ${ac_tool_prefix}strip; ac_word=$2
6633
7073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634
7074
$as_echo_n "checking for $ac_word... " >&6; }
6635
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
7075
if ${ac_cv_prog_STRIP+:} false; then :
6636
7076
  $as_echo_n "(cached) " >&6
6637
7077
else
6638
7078
  if test -n "$STRIP"; then
6672
7112
set dummy strip; ac_word=$2
6673
7113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6674
7114
$as_echo_n "checking for $ac_word... " >&6; }
6675
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7115
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6676
7116
  $as_echo_n "(cached) " >&6
6677
7117
else
6678
7118
  if test -n "$ac_ct_STRIP"; then
6731
7171
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6732
7172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733
7173
$as_echo_n "checking for $ac_word... " >&6; }
6734
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7174
if ${ac_cv_prog_RANLIB+:} false; then :
6735
7175
  $as_echo_n "(cached) " >&6
6736
7176
else
6737
7177
  if test -n "$RANLIB"; then
6771
7211
set dummy ranlib; ac_word=$2
6772
7212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773
7213
$as_echo_n "checking for $ac_word... " >&6; }
6774
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7214
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6775
7215
  $as_echo_n "(cached) " >&6
6776
7216
else
6777
7217
  if test -n "$ac_ct_RANLIB"; then
6900
7340
# Check for command to grab the raw symbol name followed by C symbol from nm.
6901
7341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6902
7342
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6903
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7343
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6904
7344
  $as_echo_n "(cached) " >&6
6905
7345
else
6906
7346
 
6961
7401
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6962
7402
 
6963
7403
# Transform an extracted symbol line into symbol name and symbol address
6964
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6965
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
7404
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7405
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6966
7406
 
6967
7407
# Handle CRLF in mingw tool chain
6968
7408
opt_cr=
6998
7438
  else
6999
7439
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7000
7440
  fi
 
7441
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7001
7442
 
7002
7443
  # Check to see that the pipe works correctly.
7003
7444
  pipe_works=no
7039
7480
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7040
7481
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7041
7482
          cat <<_LT_EOF > conftest.$ac_ext
 
7483
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7484
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7485
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7486
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7487
# define LT_DLSYM_CONST
 
7488
#elif defined(__osf__)
 
7489
/* This system does not cope well with relocations in const data.  */
 
7490
# define LT_DLSYM_CONST
 
7491
#else
 
7492
# define LT_DLSYM_CONST const
 
7493
#endif
 
7494
 
7042
7495
#ifdef __cplusplus
7043
7496
extern "C" {
7044
7497
#endif
7050
7503
          cat <<_LT_EOF >> conftest.$ac_ext
7051
7504
 
7052
7505
/* The mapping between symbol names and symbols.  */
7053
 
const struct {
 
7506
LT_DLSYM_CONST struct {
7054
7507
  const char *name;
7055
7508
  void       *address;
7056
7509
}
7076
7529
_LT_EOF
7077
7530
          # Now try linking the two files.
7078
7531
          mv conftest.$ac_objext conftstm.$ac_objext
7079
 
          lt_save_LIBS="$LIBS"
7080
 
          lt_save_CFLAGS="$CFLAGS"
 
7532
          lt_globsym_save_LIBS=$LIBS
 
7533
          lt_globsym_save_CFLAGS=$CFLAGS
7081
7534
          LIBS="conftstm.$ac_objext"
7082
7535
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7083
7536
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7087
7540
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7088
7541
            pipe_works=yes
7089
7542
          fi
7090
 
          LIBS="$lt_save_LIBS"
7091
 
          CFLAGS="$lt_save_CFLAGS"
 
7543
          LIBS=$lt_globsym_save_LIBS
 
7544
          CFLAGS=$lt_globsym_save_CFLAGS
7092
7545
        else
7093
7546
          echo "cannot find nm_test_func in $nlist" >&5
7094
7547
        fi
7125
7578
$as_echo "ok" >&6; }
7126
7579
fi
7127
7580
 
7128
 
 
7129
 
 
7130
 
 
7131
 
 
7132
 
 
7133
 
 
7134
 
 
7135
 
 
7136
 
 
7137
 
 
7138
 
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
 
7581
# Response file support.
 
7582
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7583
  nm_file_list_spec='@'
 
7584
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7585
  nm_file_list_spec='@'
 
7586
fi
 
7587
 
 
7588
 
 
7589
 
 
7590
 
 
7591
 
 
7592
 
 
7593
 
 
7594
 
 
7595
 
 
7596
 
 
7597
 
 
7598
 
 
7599
 
 
7600
 
 
7601
 
 
7602
 
 
7603
 
 
7604
 
 
7605
 
 
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
 
 
7611
 
 
7612
 
 
7613
 
 
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7615
$as_echo_n "checking for sysroot... " >&6; }
 
7616
 
 
7617
# Check whether --with-sysroot was given.
 
7618
if test "${with_sysroot+set}" = set; then :
 
7619
  withval=$with_sysroot;
 
7620
else
 
7621
  with_sysroot=no
 
7622
fi
 
7623
 
 
7624
 
 
7625
lt_sysroot=
 
7626
case ${with_sysroot} in #(
 
7627
 yes)
 
7628
   if test "$GCC" = yes; then
 
7629
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7630
   fi
 
7631
   ;; #(
 
7632
 /*)
 
7633
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7634
   ;; #(
 
7635
 no|'')
 
7636
   ;; #(
 
7637
 *)
 
7638
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7639
$as_echo "${with_sysroot}" >&6; }
 
7640
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7641
   ;;
 
7642
esac
 
7643
 
 
7644
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7645
$as_echo "${lt_sysroot:-no}" >&6; }
7144
7646
 
7145
7647
 
7146
7648
 
7271
7773
  CFLAGS="$CFLAGS -belf"
7272
7774
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7273
7775
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7274
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7776
if ${lt_cv_cc_needs_belf+:} false; then :
7275
7777
  $as_echo_n "(cached) " >&6
7276
7778
else
7277
7779
  ac_ext=c
7339
7841
 
7340
7842
need_locks="$enable_libtool_lock"
7341
7843
 
 
7844
if test -n "$ac_tool_prefix"; then
 
7845
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7846
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7848
$as_echo_n "checking for $ac_word... " >&6; }
 
7849
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7850
  $as_echo_n "(cached) " >&6
 
7851
else
 
7852
  if test -n "$MANIFEST_TOOL"; then
 
7853
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7854
else
 
7855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7856
for as_dir in $PATH
 
7857
do
 
7858
  IFS=$as_save_IFS
 
7859
  test -z "$as_dir" && as_dir=.
 
7860
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7862
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7864
    break 2
 
7865
  fi
 
7866
done
 
7867
  done
 
7868
IFS=$as_save_IFS
 
7869
 
 
7870
fi
 
7871
fi
 
7872
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7873
if test -n "$MANIFEST_TOOL"; then
 
7874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7875
$as_echo "$MANIFEST_TOOL" >&6; }
 
7876
else
 
7877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7878
$as_echo "no" >&6; }
 
7879
fi
 
7880
 
 
7881
 
 
7882
fi
 
7883
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7884
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7885
  # Extract the first word of "mt", so it can be a program name with args.
 
7886
set dummy mt; ac_word=$2
 
7887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7888
$as_echo_n "checking for $ac_word... " >&6; }
 
7889
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7890
  $as_echo_n "(cached) " >&6
 
7891
else
 
7892
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7893
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7894
else
 
7895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7896
for as_dir in $PATH
 
7897
do
 
7898
  IFS=$as_save_IFS
 
7899
  test -z "$as_dir" && as_dir=.
 
7900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7902
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7904
    break 2
 
7905
  fi
 
7906
done
 
7907
  done
 
7908
IFS=$as_save_IFS
 
7909
 
 
7910
fi
 
7911
fi
 
7912
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7913
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7915
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7916
else
 
7917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7918
$as_echo "no" >&6; }
 
7919
fi
 
7920
 
 
7921
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7922
    MANIFEST_TOOL=":"
 
7923
  else
 
7924
    case $cross_compiling:$ac_tool_warned in
 
7925
yes:)
 
7926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7928
ac_tool_warned=yes ;;
 
7929
esac
 
7930
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7931
  fi
 
7932
else
 
7933
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7934
fi
 
7935
 
 
7936
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7938
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7939
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7940
  $as_echo_n "(cached) " >&6
 
7941
else
 
7942
  lt_cv_path_mainfest_tool=no
 
7943
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7944
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7945
  cat conftest.err >&5
 
7946
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7947
    lt_cv_path_mainfest_tool=yes
 
7948
  fi
 
7949
  rm -f conftest*
 
7950
fi
 
7951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7952
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7953
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7954
  MANIFEST_TOOL=:
 
7955
fi
 
7956
 
 
7957
 
 
7958
 
 
7959
 
 
7960
 
7342
7961
 
7343
7962
  case $host_os in
7344
7963
    rhapsody* | darwin*)
7347
7966
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7348
7967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349
7968
$as_echo_n "checking for $ac_word... " >&6; }
7350
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7969
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7351
7970
  $as_echo_n "(cached) " >&6
7352
7971
else
7353
7972
  if test -n "$DSYMUTIL"; then
7387
8006
set dummy dsymutil; ac_word=$2
7388
8007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389
8008
$as_echo_n "checking for $ac_word... " >&6; }
7390
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
8009
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7391
8010
  $as_echo_n "(cached) " >&6
7392
8011
else
7393
8012
  if test -n "$ac_ct_DSYMUTIL"; then
7439
8058
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7440
8059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441
8060
$as_echo_n "checking for $ac_word... " >&6; }
7442
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
8061
if ${ac_cv_prog_NMEDIT+:} false; then :
7443
8062
  $as_echo_n "(cached) " >&6
7444
8063
else
7445
8064
  if test -n "$NMEDIT"; then
7479
8098
set dummy nmedit; ac_word=$2
7480
8099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481
8100
$as_echo_n "checking for $ac_word... " >&6; }
7482
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8101
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7483
8102
  $as_echo_n "(cached) " >&6
7484
8103
else
7485
8104
  if test -n "$ac_ct_NMEDIT"; then
7531
8150
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7532
8151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533
8152
$as_echo_n "checking for $ac_word... " >&6; }
7534
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8153
if ${ac_cv_prog_LIPO+:} false; then :
7535
8154
  $as_echo_n "(cached) " >&6
7536
8155
else
7537
8156
  if test -n "$LIPO"; then
7571
8190
set dummy lipo; ac_word=$2
7572
8191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573
8192
$as_echo_n "checking for $ac_word... " >&6; }
7574
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8193
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7575
8194
  $as_echo_n "(cached) " >&6
7576
8195
else
7577
8196
  if test -n "$ac_ct_LIPO"; then
7623
8242
set dummy ${ac_tool_prefix}otool; ac_word=$2
7624
8243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625
8244
$as_echo_n "checking for $ac_word... " >&6; }
7626
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8245
if ${ac_cv_prog_OTOOL+:} false; then :
7627
8246
  $as_echo_n "(cached) " >&6
7628
8247
else
7629
8248
  if test -n "$OTOOL"; then
7663
8282
set dummy otool; ac_word=$2
7664
8283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665
8284
$as_echo_n "checking for $ac_word... " >&6; }
7666
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8285
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7667
8286
  $as_echo_n "(cached) " >&6
7668
8287
else
7669
8288
  if test -n "$ac_ct_OTOOL"; then
7715
8334
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7716
8335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717
8336
$as_echo_n "checking for $ac_word... " >&6; }
7718
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8337
if ${ac_cv_prog_OTOOL64+:} false; then :
7719
8338
  $as_echo_n "(cached) " >&6
7720
8339
else
7721
8340
  if test -n "$OTOOL64"; then
7755
8374
set dummy otool64; ac_word=$2
7756
8375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757
8376
$as_echo_n "checking for $ac_word... " >&6; }
7758
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8377
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7759
8378
  $as_echo_n "(cached) " >&6
7760
8379
else
7761
8380
  if test -n "$ac_ct_OTOOL64"; then
7830
8449
 
7831
8450
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7832
8451
$as_echo_n "checking for -single_module linker flag... " >&6; }
7833
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8452
if ${lt_cv_apple_cc_single_mod+:} false; then :
7834
8453
  $as_echo_n "(cached) " >&6
7835
8454
else
7836
8455
  lt_cv_apple_cc_single_mod=no
7859
8478
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7860
8479
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7861
8480
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7862
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8481
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7863
8482
  $as_echo_n "(cached) " >&6
7864
8483
else
7865
8484
  lt_cv_ld_exported_symbols_list=no
7891
8510
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7892
8511
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7893
8512
$as_echo_n "checking for -force_load linker flag... " >&6; }
7894
 
if test "${lt_cv_ld_force_load+set}" = set; then :
 
8513
if ${lt_cv_ld_force_load+:} false; then :
7895
8514
  $as_echo_n "(cached) " >&6
7896
8515
else
7897
8516
  lt_cv_ld_force_load=no
7960
8579
do :
7961
8580
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7962
8581
"
7963
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8582
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7964
8583
  cat >>confdefs.h <<_ACEOF
7965
8584
#define HAVE_DLFCN_H 1
7966
8585
_ACEOF
8147
8766
 
8148
8767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8149
8768
$as_echo_n "checking for objdir... " >&6; }
8150
 
if test "${lt_cv_objdir+set}" = set; then :
 
8769
if ${lt_cv_objdir+:} false; then :
8151
8770
  $as_echo_n "(cached) " >&6
8152
8771
else
8153
8772
  rm -f .libs 2>/dev/null
8225
8844
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8226
8845
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8227
8846
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8228
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8847
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8229
8848
  $as_echo_n "(cached) " >&6
8230
8849
else
8231
8850
  case $MAGIC_CMD in
8291
8910
  if test -n "$ac_tool_prefix"; then
8292
8911
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8293
8912
$as_echo_n "checking for file... " >&6; }
8294
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8913
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8295
8914
  $as_echo_n "(cached) " >&6
8296
8915
else
8297
8916
  case $MAGIC_CMD in
8433
9052
 
8434
9053
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8435
9054
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8436
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
9055
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8437
9056
  $as_echo_n "(cached) " >&6
8438
9057
else
8439
9058
  lt_cv_prog_compiler_rtti_exceptions=no
8486
9105
lt_prog_compiler_pic=
8487
9106
lt_prog_compiler_static=
8488
9107
 
8489
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8490
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8491
9108
 
8492
9109
  if test "$GCC" = yes; then
8493
9110
    lt_prog_compiler_wl='-Wl,'
8652
9269
        lt_prog_compiler_pic='--shared'
8653
9270
        lt_prog_compiler_static='--static'
8654
9271
        ;;
 
9272
      nagfor*)
 
9273
        # NAG Fortran compiler
 
9274
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9275
        lt_prog_compiler_pic='-PIC'
 
9276
        lt_prog_compiler_static='-Bstatic'
 
9277
        ;;
8655
9278
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8656
9279
        # Portland Group compilers (*not* the Pentium gcc compiler,
8657
9280
        # which looks to be a dead project)
8771
9394
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8772
9395
    ;;
8773
9396
esac
8774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8775
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8776
 
 
8777
 
 
8778
 
 
8779
 
 
8780
 
 
 
9397
 
 
9398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9399
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9400
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9401
  $as_echo_n "(cached) " >&6
 
9402
else
 
9403
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9404
fi
 
9405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9406
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9407
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8781
9408
 
8782
9409
#
8783
9410
# Check to make sure the PIC flag actually works.
8785
9412
if test -n "$lt_prog_compiler_pic"; then
8786
9413
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8787
9414
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8788
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9415
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8789
9416
  $as_echo_n "(cached) " >&6
8790
9417
else
8791
9418
  lt_cv_prog_compiler_pic_works=no
8838
9465
 
8839
9466
 
8840
9467
 
 
9468
 
 
9469
 
 
9470
 
 
9471
 
 
9472
 
8841
9473
#
8842
9474
# Check to make sure the static flag actually works.
8843
9475
#
8844
9476
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8845
9477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8846
9478
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8847
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9479
if ${lt_cv_prog_compiler_static_works+:} false; then :
8848
9480
  $as_echo_n "(cached) " >&6
8849
9481
else
8850
9482
  lt_cv_prog_compiler_static_works=no
8887
9519
 
8888
9520
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8889
9521
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8890
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9522
if ${lt_cv_prog_compiler_c_o+:} false; then :
8891
9523
  $as_echo_n "(cached) " >&6
8892
9524
else
8893
9525
  lt_cv_prog_compiler_c_o=no
8942
9574
 
8943
9575
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8944
9576
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8945
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9577
if ${lt_cv_prog_compiler_c_o+:} false; then :
8946
9578
  $as_echo_n "(cached) " >&6
8947
9579
else
8948
9580
  lt_cv_prog_compiler_c_o=no
9188
9820
      allow_undefined_flag=unsupported
9189
9821
      always_export_symbols=no
9190
9822
      enable_shared_with_static_runtimes=yes
9191
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9823
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9824
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9192
9825
 
9193
9826
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9194
9827
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9236
9869
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9237
9870
         && test "$tmp_diet" = no
9238
9871
      then
9239
 
        tmp_addflag=
 
9872
        tmp_addflag=' $pic_flag'
9240
9873
        tmp_sharedflag='-shared'
9241
9874
        case $cc_basename,$host_cpu in
9242
9875
        pgcc*)                          # Portland Group C compiler
9306
9939
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9307
9940
        wlarc=
9308
9941
      else
9309
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9942
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9943
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9311
9944
      fi
9312
9945
      ;;
9313
9946
 
9325
9958
 
9326
9959
_LT_EOF
9327
9960
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9328
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9961
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9962
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330
9963
      else
9331
9964
        ld_shlibs=no
9332
9965
      fi
9372
10005
 
9373
10006
    *)
9374
10007
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9375
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9376
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10008
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10009
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9377
10010
      else
9378
10011
        ld_shlibs=no
9379
10012
      fi
9503
10136
        allow_undefined_flag='-berok'
9504
10137
        # Determine the default libpath from the value encoded in an
9505
10138
        # empty executable.
9506
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10139
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10140
  aix_libpath=$lt_cv_aix_libpath
 
10141
else
 
10142
  if ${lt_cv_aix_libpath_+:} false; then :
 
10143
  $as_echo_n "(cached) " >&6
 
10144
else
 
10145
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9507
10146
/* end confdefs.h.  */
9508
10147
 
9509
10148
int
9516
10155
_ACEOF
9517
10156
if ac_fn_c_try_link "$LINENO"; then :
9518
10157
 
9519
 
lt_aix_libpath_sed='
9520
 
    /Import File Strings/,/^$/ {
9521
 
        /^0/ {
9522
 
            s/^0  *\(.*\)$/\1/
9523
 
            p
9524
 
        }
9525
 
    }'
9526
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9527
 
# Check for a 64-bit object if we didn't find anything.
9528
 
if test -z "$aix_libpath"; then
9529
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9530
 
fi
 
10158
  lt_aix_libpath_sed='
 
10159
      /Import File Strings/,/^$/ {
 
10160
          /^0/ {
 
10161
              s/^0  *\([^ ]*\) *$/\1/
 
10162
              p
 
10163
          }
 
10164
      }'
 
10165
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10166
  # Check for a 64-bit object if we didn't find anything.
 
10167
  if test -z "$lt_cv_aix_libpath_"; then
 
10168
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10169
  fi
9531
10170
fi
9532
10171
rm -f core conftest.err conftest.$ac_objext \
9533
10172
    conftest$ac_exeext conftest.$ac_ext
9534
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10173
  if test -z "$lt_cv_aix_libpath_"; then
 
10174
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10175
  fi
 
10176
 
 
10177
fi
 
10178
 
 
10179
  aix_libpath=$lt_cv_aix_libpath_
 
10180
fi
9535
10181
 
9536
10182
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9537
10183
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9543
10189
        else
9544
10190
         # Determine the default libpath from the value encoded in an
9545
10191
         # empty executable.
9546
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10192
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10193
  aix_libpath=$lt_cv_aix_libpath
 
10194
else
 
10195
  if ${lt_cv_aix_libpath_+:} false; then :
 
10196
  $as_echo_n "(cached) " >&6
 
10197
else
 
10198
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547
10199
/* end confdefs.h.  */
9548
10200
 
9549
10201
int
9556
10208
_ACEOF
9557
10209
if ac_fn_c_try_link "$LINENO"; then :
9558
10210
 
9559
 
lt_aix_libpath_sed='
9560
 
    /Import File Strings/,/^$/ {
9561
 
        /^0/ {
9562
 
            s/^0  *\(.*\)$/\1/
9563
 
            p
9564
 
        }
9565
 
    }'
9566
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9567
 
# Check for a 64-bit object if we didn't find anything.
9568
 
if test -z "$aix_libpath"; then
9569
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570
 
fi
 
10211
  lt_aix_libpath_sed='
 
10212
      /Import File Strings/,/^$/ {
 
10213
          /^0/ {
 
10214
              s/^0  *\([^ ]*\) *$/\1/
 
10215
              p
 
10216
          }
 
10217
      }'
 
10218
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10219
  # Check for a 64-bit object if we didn't find anything.
 
10220
  if test -z "$lt_cv_aix_libpath_"; then
 
10221
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10222
  fi
9571
10223
fi
9572
10224
rm -f core conftest.err conftest.$ac_objext \
9573
10225
    conftest$ac_exeext conftest.$ac_ext
9574
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10226
  if test -z "$lt_cv_aix_libpath_"; then
 
10227
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10228
  fi
 
10229
 
 
10230
fi
 
10231
 
 
10232
  aix_libpath=$lt_cv_aix_libpath_
 
10233
fi
9575
10234
 
9576
10235
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9577
10236
          # Warning - without using the other run time loading flags,
9616
10275
      # Microsoft Visual C++.
9617
10276
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9618
10277
      # no search path for DLLs.
9619
 
      hardcode_libdir_flag_spec=' '
9620
 
      allow_undefined_flag=unsupported
9621
 
      # Tell ltmain to make .lib files, not .a files.
9622
 
      libext=lib
9623
 
      # Tell ltmain to make .dll files, not .so files.
9624
 
      shrext_cmds=".dll"
9625
 
      # FIXME: Setting linknames here is a bad hack.
9626
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9627
 
      # The linker will automatically build a .lib file if we build a DLL.
9628
 
      old_archive_from_new_cmds='true'
9629
 
      # FIXME: Should let the user specify the lib program.
9630
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9631
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9632
 
      enable_shared_with_static_runtimes=yes
 
10278
      case $cc_basename in
 
10279
      cl*)
 
10280
        # Native MSVC
 
10281
        hardcode_libdir_flag_spec=' '
 
10282
        allow_undefined_flag=unsupported
 
10283
        always_export_symbols=yes
 
10284
        file_list_spec='@'
 
10285
        # Tell ltmain to make .lib files, not .a files.
 
10286
        libext=lib
 
10287
        # Tell ltmain to make .dll files, not .so files.
 
10288
        shrext_cmds=".dll"
 
10289
        # FIXME: Setting linknames here is a bad hack.
 
10290
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10291
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10292
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10293
          else
 
10294
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10295
          fi~
 
10296
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10297
          linknames='
 
10298
        # The linker will not automatically build a static lib if we build a DLL.
 
10299
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10300
        enable_shared_with_static_runtimes=yes
 
10301
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10302
        # Don't use ranlib
 
10303
        old_postinstall_cmds='chmod 644 $oldlib'
 
10304
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10305
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10306
          case $lt_outputfile in
 
10307
            *.exe|*.EXE) ;;
 
10308
            *)
 
10309
              lt_outputfile="$lt_outputfile.exe"
 
10310
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10311
              ;;
 
10312
          esac~
 
10313
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10314
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10315
            $RM "$lt_outputfile.manifest";
 
10316
          fi'
 
10317
        ;;
 
10318
      *)
 
10319
        # Assume MSVC wrapper
 
10320
        hardcode_libdir_flag_spec=' '
 
10321
        allow_undefined_flag=unsupported
 
10322
        # Tell ltmain to make .lib files, not .a files.
 
10323
        libext=lib
 
10324
        # Tell ltmain to make .dll files, not .so files.
 
10325
        shrext_cmds=".dll"
 
10326
        # FIXME: Setting linknames here is a bad hack.
 
10327
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10328
        # The linker will automatically build a .lib file if we build a DLL.
 
10329
        old_archive_from_new_cmds='true'
 
10330
        # FIXME: Should let the user specify the lib program.
 
10331
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10332
        enable_shared_with_static_runtimes=yes
 
10333
        ;;
 
10334
      esac
9633
10335
      ;;
9634
10336
 
9635
10337
    darwin* | rhapsody*)
9694
10396
 
9695
10397
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9696
10398
    freebsd* | dragonfly*)
9697
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10399
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9698
10400
      hardcode_libdir_flag_spec='-R$libdir'
9699
10401
      hardcode_direct=yes
9700
10402
      hardcode_shlibpath_var=no
9702
10404
 
9703
10405
    hpux9*)
9704
10406
      if test "$GCC" = yes; then
9705
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
10407
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9706
10408
      else
9707
10409
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9708
10410
      fi
9718
10420
 
9719
10421
    hpux10*)
9720
10422
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9721
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10423
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9722
10424
      else
9723
10425
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9724
10426
      fi
9742
10444
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9743
10445
          ;;
9744
10446
        ia64*)
9745
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10447
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9746
10448
          ;;
9747
10449
        *)
9748
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10450
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9749
10451
          ;;
9750
10452
        esac
9751
10453
      else
9762
10464
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9763
10465
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9764
10466
$as_echo_n "checking if $CC understands -b... " >&6; }
9765
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
10467
if ${lt_cv_prog_compiler__b+:} false; then :
9766
10468
  $as_echo_n "(cached) " >&6
9767
10469
else
9768
10470
  lt_cv_prog_compiler__b=no
9824
10526
 
9825
10527
    irix5* | irix6* | nonstopux*)
9826
10528
      if test "$GCC" = yes; then
9827
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10529
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9828
10530
        # Try to use the -exported_symbol ld option, if it does not
9829
10531
        # work, assume that -exports_file does not work either and
9830
10532
        # implicitly export all symbols.
9831
 
        save_LDFLAGS="$LDFLAGS"
9832
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9833
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10533
        # This should be the same for all languages, so no per-tag cache variable.
 
10534
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10535
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10536
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10537
  $as_echo_n "(cached) " >&6
 
10538
else
 
10539
  save_LDFLAGS="$LDFLAGS"
 
10540
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10541
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9834
10542
/* end confdefs.h.  */
9835
 
int foo(void) {}
 
10543
int foo (void) { return 0; }
9836
10544
_ACEOF
9837
10545
if ac_fn_c_try_link "$LINENO"; then :
9838
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9839
 
 
 
10546
  lt_cv_irix_exported_symbol=yes
 
10547
else
 
10548
  lt_cv_irix_exported_symbol=no
9840
10549
fi
9841
10550
rm -f core conftest.err conftest.$ac_objext \
9842
10551
    conftest$ac_exeext conftest.$ac_ext
9843
 
        LDFLAGS="$save_LDFLAGS"
 
10552
           LDFLAGS="$save_LDFLAGS"
 
10553
fi
 
10554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10555
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10556
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10557
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
10558
        fi
9844
10559
      else
9845
10560
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9846
10561
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9925
10640
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9926
10641
      if test "$GCC" = yes; then
9927
10642
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9928
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10643
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9929
10644
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9930
10645
      else
9931
10646
        allow_undefined_flag=' -expect_unresolved \*'
9944
10659
      no_undefined_flag=' -z defs'
9945
10660
      if test "$GCC" = yes; then
9946
10661
        wlarc='${wl}'
9947
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10662
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9948
10663
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9949
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10664
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9950
10665
      else
9951
10666
        case `$CC -V 2>&1` in
9952
10667
        *"Compilers 5.0"*)
10134
10849
      # to ld, don't add -lc before -lgcc.
10135
10850
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10136
10851
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10137
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
10852
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10138
10853
  $as_echo_n "(cached) " >&6
10139
10854
else
10140
10855
  $RM conftest*
10522
11237
  need_version=no
10523
11238
  need_lib_prefix=no
10524
11239
 
10525
 
  case $GCC,$host_os in
10526
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11240
  case $GCC,$cc_basename in
 
11241
  yes,*)
 
11242
    # gcc
10527
11243
    library_names_spec='$libname.dll.a'
10528
11244
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10529
11245
    postinstall_cmds='base_file=`basename \${file}`~
10556
11272
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10557
11273
      ;;
10558
11274
    esac
 
11275
    dynamic_linker='Win32 ld.exe'
 
11276
    ;;
 
11277
 
 
11278
  *,cl*)
 
11279
    # Native MSVC
 
11280
    libname_spec='$name'
 
11281
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11282
    library_names_spec='${libname}.dll.lib'
 
11283
 
 
11284
    case $build_os in
 
11285
    mingw*)
 
11286
      sys_lib_search_path_spec=
 
11287
      lt_save_ifs=$IFS
 
11288
      IFS=';'
 
11289
      for lt_path in $LIB
 
11290
      do
 
11291
        IFS=$lt_save_ifs
 
11292
        # Let DOS variable expansion print the short 8.3 style file name.
 
11293
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11294
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11295
      done
 
11296
      IFS=$lt_save_ifs
 
11297
      # Convert to MSYS style.
 
11298
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11299
      ;;
 
11300
    cygwin*)
 
11301
      # Convert to unix form, then to dos form, then back to unix form
 
11302
      # but this time dos style (no spaces!) so that the unix form looks
 
11303
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11304
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11305
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11306
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11307
      ;;
 
11308
    *)
 
11309
      sys_lib_search_path_spec="$LIB"
 
11310
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11311
        # It is most probably a Windows format PATH.
 
11312
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11313
      else
 
11314
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11315
      fi
 
11316
      # FIXME: find the short name or the path components, as spaces are
 
11317
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11318
      ;;
 
11319
    esac
 
11320
 
 
11321
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11322
    postinstall_cmds='base_file=`basename \${file}`~
 
11323
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11324
      dldir=$destdir/`dirname \$dlpath`~
 
11325
      test -d \$dldir || mkdir -p \$dldir~
 
11326
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11327
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11328
      dlpath=$dir/\$dldll~
 
11329
       $RM \$dlpath'
 
11330
    shlibpath_overrides_runpath=yes
 
11331
    dynamic_linker='Win32 link.exe'
10559
11332
    ;;
10560
11333
 
10561
11334
  *)
 
11335
    # Assume MSVC wrapper
10562
11336
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11337
    dynamic_linker='Win32 ld.exe'
10563
11338
    ;;
10564
11339
  esac
10565
 
  dynamic_linker='Win32 ld.exe'
10566
11340
  # FIXME: first we should search . and the directory the executable is in
10567
11341
  shlibpath_var=PATH
10568
11342
  ;;
10776
11550
  shlibpath_overrides_runpath=no
10777
11551
 
10778
11552
  # Some binutils ld are patched to set DT_RUNPATH
10779
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
11553
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10780
11554
  $as_echo_n "(cached) " >&6
10781
11555
else
10782
11556
  lt_cv_shlibpath_overrides_runpath=no
11200
11974
  # if libdl is installed we need to link against it
11201
11975
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11202
11976
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11203
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11977
if ${ac_cv_lib_dl_dlopen+:} false; then :
11204
11978
  $as_echo_n "(cached) " >&6
11205
11979
else
11206
11980
  ac_check_lib_save_LIBS=$LIBS
11234
12008
fi
11235
12009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11236
12010
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11237
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12011
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11238
12012
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11239
12013
else
11240
12014
 
11248
12022
 
11249
12023
  *)
11250
12024
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11251
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
12025
if test "x$ac_cv_func_shl_load" = xyes; then :
11252
12026
  lt_cv_dlopen="shl_load"
11253
12027
else
11254
12028
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11255
12029
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11256
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
12030
if ${ac_cv_lib_dld_shl_load+:} false; then :
11257
12031
  $as_echo_n "(cached) " >&6
11258
12032
else
11259
12033
  ac_check_lib_save_LIBS=$LIBS
11287
12061
fi
11288
12062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11289
12063
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11290
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
12064
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11291
12065
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11292
12066
else
11293
12067
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11294
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
12068
if test "x$ac_cv_func_dlopen" = xyes; then :
11295
12069
  lt_cv_dlopen="dlopen"
11296
12070
else
11297
12071
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11298
12072
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11299
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
12073
if ${ac_cv_lib_dl_dlopen+:} false; then :
11300
12074
  $as_echo_n "(cached) " >&6
11301
12075
else
11302
12076
  ac_check_lib_save_LIBS=$LIBS
11330
12104
fi
11331
12105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11332
12106
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11333
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12107
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11334
12108
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11335
12109
else
11336
12110
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11337
12111
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11338
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12112
if ${ac_cv_lib_svld_dlopen+:} false; then :
11339
12113
  $as_echo_n "(cached) " >&6
11340
12114
else
11341
12115
  ac_check_lib_save_LIBS=$LIBS
11369
12143
fi
11370
12144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11371
12145
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11372
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12146
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11373
12147
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11374
12148
else
11375
12149
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11376
12150
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11377
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12151
if ${ac_cv_lib_dld_dld_link+:} false; then :
11378
12152
  $as_echo_n "(cached) " >&6
11379
12153
else
11380
12154
  ac_check_lib_save_LIBS=$LIBS
11408
12182
fi
11409
12183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11410
12184
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11411
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12185
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11412
12186
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11413
12187
fi
11414
12188
 
11449
12223
 
11450
12224
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11451
12225
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11452
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12226
if ${lt_cv_dlopen_self+:} false; then :
11453
12227
  $as_echo_n "(cached) " >&6
11454
12228
else
11455
12229
          if test "$cross_compiling" = yes; then :
11502
12276
/* When -fvisbility=hidden is used, assume the code has been annotated
11503
12277
   correspondingly for the symbols needed.  */
11504
12278
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11505
 
void fnord () __attribute__((visibility("default")));
 
12279
int fnord () __attribute__((visibility("default")));
11506
12280
#endif
11507
12281
 
11508
 
void fnord () { int i=42; }
 
12282
int fnord () { return 42; }
11509
12283
int main ()
11510
12284
{
11511
12285
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11555
12329
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11556
12330
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11557
12331
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11558
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12332
if ${lt_cv_dlopen_self_static+:} false; then :
11559
12333
  $as_echo_n "(cached) " >&6
11560
12334
else
11561
12335
          if test "$cross_compiling" = yes; then :
11608
12382
/* When -fvisbility=hidden is used, assume the code has been annotated
11609
12383
   correspondingly for the symbols needed.  */
11610
12384
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11611
 
void fnord () __attribute__((visibility("default")));
 
12385
int fnord () __attribute__((visibility("default")));
11612
12386
#endif
11613
12387
 
11614
 
void fnord () { int i=42; }
 
12388
int fnord () { return 42; }
11615
12389
int main ()
11616
12390
{
11617
12391
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11808
12582
 
11809
12583
 
11810
12584
 
 
12585
 
11811
12586
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11812
12587
        if test -n "$ac_tool_prefix"; then
11813
12588
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11814
12589
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11815
12590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11816
12591
$as_echo_n "checking for $ac_word... " >&6; }
11817
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
12592
if ${ac_cv_path_PKG_CONFIG+:} false; then :
11818
12593
  $as_echo_n "(cached) " >&6
11819
12594
else
11820
12595
  case $PKG_CONFIG in
11857
12632
set dummy pkg-config; ac_word=$2
11858
12633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11859
12634
$as_echo_n "checking for $ac_word... " >&6; }
11860
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
12635
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11861
12636
  $as_echo_n "(cached) " >&6
11862
12637
else
11863
12638
  case $ac_pt_PKG_CONFIG in
11966
12741
set dummy $ac_prog; ac_word=$2
11967
12742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11968
12743
$as_echo_n "checking for $ac_word... " >&6; }
11969
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
 
12744
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
11970
12745
  $as_echo_n "(cached) " >&6
11971
12746
else
11972
12747
  case $GTKDOC_CHECK in
12027
12802
set dummy xsltproc; ac_word=$2
12028
12803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029
12804
$as_echo_n "checking for $ac_word... " >&6; }
12030
 
if test "${ac_cv_path_XSLTPROC+set}" = set; then :
 
12805
if ${ac_cv_path_XSLTPROC+:} false; then :
12031
12806
  $as_echo_n "(cached) " >&6
12032
12807
else
12033
12808
  case $XSLTPROC in
12083
12858
set dummy perl; ac_word=$2
12084
12859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12085
12860
$as_echo_n "checking for $ac_word... " >&6; }
12086
 
if test "${ac_cv_path_PERL+set}" = set; then :
 
12861
if ${ac_cv_path_PERL+:} false; then :
12087
12862
  $as_echo_n "(cached) " >&6
12088
12863
else
12089
12864
  case $PERL in
12129
12904
 
12130
12905
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12131
12906
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12132
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
 
12907
if ${ac_cv_sys_largefile_CC+:} false; then :
12133
12908
  $as_echo_n "(cached) " >&6
12134
12909
else
12135
12910
  ac_cv_sys_largefile_CC=no
12180
12955
 
12181
12956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12182
12957
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12183
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
 
12958
if ${ac_cv_sys_file_offset_bits+:} false; then :
12184
12959
  $as_echo_n "(cached) " >&6
12185
12960
else
12186
12961
  while :; do
12249
13024
  if test $ac_cv_sys_file_offset_bits = unknown; then
12250
13025
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12251
13026
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12252
 
if test "${ac_cv_sys_large_files+set}" = set; then :
 
13027
if ${ac_cv_sys_large_files+:} false; then :
12253
13028
  $as_echo_n "(cached) " >&6
12254
13029
else
12255
13030
  while :; do
12357
13132
        netinet/in.h \
12358
13133
        rpcsvc/nfs_prot.h \
12359
13134
        stdlib.h \
 
13135
        asm/io.h \
12360
13136
        sys/disk.h \
12361
13137
        sys/disklabel.h \
12362
13138
        sys/ioctl.h \
12393
13169
for ac_header in linux/raw.h
12394
13170
do :
12395
13171
  ac_fn_c_check_header_mongrel "$LINENO" "linux/raw.h" "ac_cv_header_linux_raw_h" "$ac_includes_default"
12396
 
if test "x$ac_cv_header_linux_raw_h" = x""yes; then :
 
13172
if test "x$ac_cv_header_linux_raw_h" = xyes; then :
12397
13173
  cat >>confdefs.h <<_ACEOF
12398
13174
#define HAVE_LINUX_RAW_H 1
12399
13175
_ACEOF
12422
13198
for ac_header in langinfo.h
12423
13199
do :
12424
13200
  ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
12425
 
if test "x$ac_cv_header_langinfo_h" = x""yes; then :
 
13201
if test "x$ac_cv_header_langinfo_h" = xyes; then :
12426
13202
  cat >>confdefs.h <<_ACEOF
12427
13203
#define HAVE_LANGINFO_H 1
12428
13204
_ACEOF
12451
13227
 
12452
13228
ac_fn_c_check_decl "$LINENO" "_NL_TIME_WEEK_1STDAY" "ac_cv_have_decl__NL_TIME_WEEK_1STDAY" "#include <langinfo.h>
12453
13229
"
12454
 
if test "x$ac_cv_have_decl__NL_TIME_WEEK_1STDAY" = x""yes; then :
 
13230
if test "x$ac_cv_have_decl__NL_TIME_WEEK_1STDAY" = xyes; then :
12455
13231
  ac_have_decl=1
12456
13232
else
12457
13233
  ac_have_decl=0
12464
13240
 
12465
13241
ac_fn_c_check_decl "$LINENO" "llseek" "ac_cv_have_decl_llseek" "#include <unistd.h>
12466
13242
"
12467
 
if test "x$ac_cv_have_decl_llseek" = x""yes; then :
 
13243
if test "x$ac_cv_have_decl_llseek" = xyes; then :
12468
13244
 
12469
13245
$as_echo "#define HAVE_LLSEEK_PROTOTYPE 1" >>confdefs.h
12470
13246
 
12475
13251
         #define _LARGEFILE64_SOURCE
12476
13252
         #include <unistd.h>
12477
13253
"
12478
 
if test "x$ac_cv_have_decl_lseek64" = x""yes; then :
 
13254
if test "x$ac_cv_have_decl_lseek64" = xyes; then :
12479
13255
 
12480
13256
$as_echo "#define HAVE_LSEEK64_PROTOTYPE 1" >>confdefs.h
12481
13257
 
12483
13259
 
12484
13260
 
12485
13261
for ac_func in inet_aton \
 
13262
        err \
 
13263
        errx \
12486
13264
        futimens \
12487
13265
        fstat64 \
12488
13266
        fsync \
12501
13279
        getdtablesize \
12502
13280
        getexecname \
12503
13281
        getrlimit \
 
13282
        sigqueue \
12504
13283
        srandom \
12505
13284
        setresgid \
12506
13285
        setresuid \
12512
13291
        posix_fadvise \
12513
13292
        getmntinfo \
12514
13293
        __secure_getenv \
 
13294
        warn \
 
13295
        warnx \
12515
13296
        rpmatch
12516
13297
do :
12517
13298
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12526
13307
 
12527
13308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12528
13309
$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12529
 
if test "${ac_cv_sys_largefile_source+set}" = set; then :
 
13310
if ${ac_cv_sys_largefile_source+:} false; then :
12530
13311
  $as_echo_n "(cached) " >&6
12531
13312
else
12532
13313
  while :; do
12608
13389
done
12609
13390
 
12610
13391
 
 
13392
for ac_func in ioperm iopl
 
13393
do :
 
13394
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
13395
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
13396
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 
13397
  cat >>confdefs.h <<_ACEOF
 
13398
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13399
_ACEOF
 
13400
 have_io=yes
 
13401
fi
 
13402
done
 
13403
 
 
13404
 if test "x$have_io" = xyes -o "x$linux_os" = xyes; then
 
13405
  BUILD_HWCLOCK_TRUE=
 
13406
  BUILD_HWCLOCK_FALSE='#'
 
13407
else
 
13408
  BUILD_HWCLOCK_TRUE='#'
 
13409
  BUILD_HWCLOCK_FALSE=
 
13410
fi
 
13411
 
 
13412
 
12611
13413
ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
12612
13414
         #include <sys/socket.h>
12613
13415
"
12614
 
if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
 
13416
if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
12615
13417
 
12616
13418
cat >>confdefs.h <<_ACEOF
12617
13419
#define HAVE_SA_LEN 1
12623
13425
SOCKET_LIBS=
12624
13426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12625
13427
$as_echo_n "checking for library containing gethostbyname... " >&6; }
12626
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
13428
if ${ac_cv_search_gethostbyname+:} false; then :
12627
13429
  $as_echo_n "(cached) " >&6
12628
13430
else
12629
13431
  ac_func_search_save_LIBS=$LIBS
12657
13459
fi
12658
13460
rm -f core conftest.err conftest.$ac_objext \
12659
13461
    conftest$ac_exeext
12660
 
  if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
13462
  if ${ac_cv_search_gethostbyname+:} false; then :
12661
13463
  break
12662
13464
fi
12663
13465
done
12664
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
13466
if ${ac_cv_search_gethostbyname+:} false; then :
12665
13467
 
12666
13468
else
12667
13469
  ac_cv_search_gethostbyname=no
12681
13483
 
12682
13484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12683
13485
$as_echo_n "checking for library containing socket... " >&6; }
12684
 
if test "${ac_cv_search_socket+set}" = set; then :
 
13486
if ${ac_cv_search_socket+:} false; then :
12685
13487
  $as_echo_n "(cached) " >&6
12686
13488
else
12687
13489
  ac_func_search_save_LIBS=$LIBS
12715
13517
fi
12716
13518
rm -f core conftest.err conftest.$ac_objext \
12717
13519
    conftest$ac_exeext
12718
 
  if test "${ac_cv_search_socket+set}" = set; then :
 
13520
  if ${ac_cv_search_socket+:} false; then :
12719
13521
  break
12720
13522
fi
12721
13523
done
12722
 
if test "${ac_cv_search_socket+set}" = set; then :
 
13524
if ${ac_cv_search_socket+:} false; then :
12723
13525
 
12724
13526
else
12725
13527
  ac_cv_search_socket=no
12744
13546
for ac_func in dirfd
12745
13547
do :
12746
13548
  ac_fn_c_check_func "$LINENO" "dirfd" "ac_cv_func_dirfd"
12747
 
if test "x$ac_cv_func_dirfd" = x""yes; then :
 
13549
if test "x$ac_cv_func_dirfd" = xyes; then :
12748
13550
  cat >>confdefs.h <<_ACEOF
12749
13551
#define HAVE_DIRFD 1
12750
13552
_ACEOF
12758
13560
        ac_fn_c_check_decl "$LINENO" "dirfd" "ac_cv_have_decl_dirfd" "#include <sys/types.h>
12759
13561
                 #include <dirent.h>
12760
13562
"
12761
 
if test "x$ac_cv_have_decl_dirfd" = x""yes; then :
 
13563
if test "x$ac_cv_have_decl_dirfd" = xyes; then :
12762
13564
  ac_have_decl=1
12763
13565
else
12764
13566
  ac_have_decl=0
12780
13582
        ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" "#include <sys/types.h>
12781
13583
                 #include <dirent.h>
12782
13584
"
12783
 
if test "x$ac_cv_member_DIR_dd_fd" = x""yes; then :
 
13585
if test "x$ac_cv_member_DIR_dd_fd" = xyes; then :
12784
13586
 
12785
13587
cat >>confdefs.h <<_ACEOF
12786
13588
#define HAVE_DIR_DD_FD 1
12960
13762
 
12961
13763
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
12962
13764
$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
12963
 
if test "${ax_cv_have_tls+set}" = set; then :
 
13765
if ${ax_cv_have_tls+:} false; then :
12964
13766
  $as_echo_n "(cached) " >&6
12965
13767
else
12966
13768
 
13185
13987
 
13186
13988
 
13187
13989
 
 
13990
# Check whether --enable-partx was given.
 
13991
if test "${enable_partx+set}" = set; then :
 
13992
  enableval=$enable_partx;
 
13993
else
 
13994
  enable_partx=check
 
13995
 
 
13996
fi
 
13997
 
 
13998
build_partx=yes
 
13999
if test "x$enable_partx" = xcheck; then
 
14000
  if test "x$linux_os" = xno; then
 
14001
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: non-linux system; do not build partx utilities" >&5
 
14002
$as_echo "$as_me: WARNING: non-linux system; do not build partx utilities" >&2;}
 
14003
    build_partx=no
 
14004
  fi
 
14005
elif test "x$enable_partx" = xno; then
 
14006
    build_partx=no
 
14007
fi
 
14008
 if test "x$build_partx" = xyes; then
 
14009
  BUILD_PARTX_TRUE=
 
14010
  BUILD_PARTX_FALSE='#'
 
14011
else
 
14012
  BUILD_PARTX_TRUE='#'
 
14013
  BUILD_PARTX_FALSE=
 
14014
fi
 
14015
 
 
14016
 
 
14017
 
13188
14018
# Check whether --enable-libuuid was given.
13189
14019
if test "${enable_libuuid+set}" = set; then :
13190
14020
  enableval=$enable_libuuid;
13203
14033
  BUILD_LIBUUID_FALSE=
13204
14034
fi
13205
14035
 
13206
 
have_uuid=yes
13207
 
 
13208
 
if test "x$enable_libuuid" = xno; then
13209
 
  # Check for external (e2fsprogs) libuuid
13210
 
 
13211
 
pkg_failed=no
13212
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
13213
 
$as_echo_n "checking for UUID... " >&6; }
13214
 
 
13215
 
if test -n "$UUID_CFLAGS"; then
13216
 
    pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
13217
 
 elif test -n "$PKG_CONFIG"; then
13218
 
    if test -n "$PKG_CONFIG" && \
13219
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
13220
 
  ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
13221
 
  ac_status=$?
13222
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13223
 
  test $ac_status = 0; }; then
13224
 
  pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
13225
 
else
13226
 
  pkg_failed=yes
13227
 
fi
13228
 
 else
13229
 
    pkg_failed=untried
13230
 
fi
13231
 
if test -n "$UUID_LIBS"; then
13232
 
    pkg_cv_UUID_LIBS="$UUID_LIBS"
13233
 
 elif test -n "$PKG_CONFIG"; then
13234
 
    if test -n "$PKG_CONFIG" && \
13235
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
13236
 
  ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
13237
 
  ac_status=$?
13238
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13239
 
  test $ac_status = 0; }; then
13240
 
  pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
13241
 
else
13242
 
  pkg_failed=yes
13243
 
fi
13244
 
 else
13245
 
    pkg_failed=untried
13246
 
fi
13247
 
 
13248
 
 
13249
 
 
13250
 
if test $pkg_failed = yes; then
13251
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13252
 
$as_echo "no" >&6; }
13253
 
 
13254
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13255
 
        _pkg_short_errors_supported=yes
13256
 
else
13257
 
        _pkg_short_errors_supported=no
13258
 
fi
13259
 
        if test $_pkg_short_errors_supported = yes; then
13260
 
                UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "uuid" 2>&1`
13261
 
        else
13262
 
                UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors "uuid" 2>&1`
13263
 
        fi
13264
 
        # Put the nasty error message in config.log where it belongs
13265
 
        echo "$UUID_PKG_ERRORS" >&5
13266
 
 
13267
 
        have_uuid=no
13268
 
elif test $pkg_failed = untried; then
13269
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270
 
$as_echo "no" >&6; }
13271
 
        have_uuid=no
13272
 
else
13273
 
        UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
13274
 
        UUID_LIBS=$pkg_cv_UUID_LIBS
13275
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13276
 
$as_echo "yes" >&6; }
13277
 
        have_uuid=yes
13278
 
fi
13279
 
  if test "x$have_uuid" = xno; then
13280
 
    # system without pkg-config or so, try classic check
13281
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_is_null in -luuid" >&5
13282
 
$as_echo_n "checking for uuid_is_null in -luuid... " >&6; }
13283
 
if test "${ac_cv_lib_uuid_uuid_is_null+set}" = set; then :
13284
 
  $as_echo_n "(cached) " >&6
13285
 
else
13286
 
  ac_check_lib_save_LIBS=$LIBS
13287
 
LIBS="-luuid  $LIBS"
13288
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289
 
/* end confdefs.h.  */
13290
 
 
13291
 
/* Override any GCC internal prototype to avoid an error.
13292
 
   Use char because int might match the return type of a GCC
13293
 
   builtin and then its argument prototype would still apply.  */
13294
 
#ifdef __cplusplus
13295
 
extern "C"
13296
 
#endif
13297
 
char uuid_is_null ();
13298
 
int
13299
 
main ()
13300
 
{
13301
 
return uuid_is_null ();
13302
 
  ;
13303
 
  return 0;
13304
 
}
13305
 
_ACEOF
13306
 
if ac_fn_c_try_link "$LINENO"; then :
13307
 
  ac_cv_lib_uuid_uuid_is_null=yes
13308
 
else
13309
 
  ac_cv_lib_uuid_uuid_is_null=no
13310
 
fi
13311
 
rm -f core conftest.err conftest.$ac_objext \
13312
 
    conftest$ac_exeext conftest.$ac_ext
13313
 
LIBS=$ac_check_lib_save_LIBS
13314
 
fi
13315
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_is_null" >&5
13316
 
$as_echo "$ac_cv_lib_uuid_uuid_is_null" >&6; }
13317
 
if test "x$ac_cv_lib_uuid_uuid_is_null" = x""yes; then :
13318
 
  have_uuid=yes
13319
 
else
13320
 
  have_uuid=no
13321
 
fi
13322
 
 
13323
 
  fi
13324
 
  if test "x$have_uuid" = xyes; then
13325
 
 
13326
 
  old_CFLAGS="$CFLAGS"
13327
 
  old_CPPFLAGS="$CPPFLAGS"
13328
 
  old_LDFLAGS="$LDFLAGS"
13329
 
  CFLAGS="$CFLAGS $UUID_CFLAGS"
13330
 
  CPPFLAGS="$CPPFLAGS $UUID_CFLAGS"
13331
 
  LDFLAGS="$LDFLAGS $UUID_LIBS"
13332
 
 
13333
 
    for ac_header in uuid.h uuid/uuid.h
13334
 
do :
13335
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13336
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13337
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13338
 
  cat >>confdefs.h <<_ACEOF
13339
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13340
 
_ACEOF
13341
 
 break
13342
 
fi
13343
 
 
13344
 
done
13345
 
 
13346
 
 
13347
 
  CFLAGS="$old_CFLAGS"
13348
 
  CPPFLAGS="$old_CPPFLAGS"
13349
 
  LDFLAGS="$old_LDFLAGS"
13350
 
 
13351
 
  fi
13352
 
else
13353
 
  # internal library
13354
 
 
13355
 
$as_echo "#define HAVE_UUID_H 1" >>confdefs.h
13356
 
 
13357
 
fi
13358
 
 
13359
 
if test "x$have_uuid" = xyes; then
 
14036
 
 
14037
if test "x$enable_libuuid" = xyes; then
13360
14038
 
13361
14039
$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h
13362
14040
 
13364
14042
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&5
13365
14043
$as_echo "$as_me: WARNING: uuid library is not found; mkswap(8) will not generate UUIDs" >&2;}
13366
14044
fi
13367
 
 if test "x$have_uuid" = xyes; then
13368
 
  HAVE_UUID_TRUE=
13369
 
  HAVE_UUID_FALSE='#'
13370
 
else
13371
 
  HAVE_UUID_TRUE='#'
13372
 
  HAVE_UUID_FALSE=
13373
 
fi
13374
 
 
13375
 
# default
13376
 
: ${UUID_LIBS='-luuid'}
13377
14045
 
13378
14046
 
13379
14047
# Check whether --enable-uuidd was given.
13385
14053
fi
13386
14054
 
13387
14055
 
13388
 
case "$enable_uuidd:$have_uuid" in
 
14056
case "$enable_uuidd:$enable_libuuid" in
13389
14057
yes:no)
13390
14058
  as_fn_error $? "cannot enable uuidd when libuuid is disabled" "$LINENO" 5 ;;
13391
14059
auto:*)
13392
 
  enable_uuidd=$have_uuid ;;
 
14060
  enable_uuidd=$enable_libuuid ;;
13393
14061
esac
13394
14062
if test "x$enable_uuidd" = xyes; then
13395
14063
 
13435
14103
#define LIBBLKID_DATE "$LIBBLKID_DATE"
13436
14104
_ACEOF
13437
14105
 
13438
 
have_blkid=yes
13439
 
 
13440
 
if test "x$enable_libblkid" = xno; then
13441
 
  if test "x$build_mount" = xyes || test "x$enable_fsck" = xyes; then
13442
 
    # Check for external (e2fsprogs) libblkid
13443
 
 
13444
 
pkg_failed=no
13445
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKID" >&5
13446
 
$as_echo_n "checking for BLKID... " >&6; }
13447
 
 
13448
 
if test -n "$BLKID_CFLAGS"; then
13449
 
    pkg_cv_BLKID_CFLAGS="$BLKID_CFLAGS"
13450
 
 elif test -n "$PKG_CONFIG"; then
13451
 
    if test -n "$PKG_CONFIG" && \
13452
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"blkid\""; } >&5
13453
 
  ($PKG_CONFIG --exists --print-errors "blkid") 2>&5
13454
 
  ac_status=$?
13455
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13456
 
  test $ac_status = 0; }; then
13457
 
  pkg_cv_BLKID_CFLAGS=`$PKG_CONFIG --cflags "blkid" 2>/dev/null`
13458
 
else
13459
 
  pkg_failed=yes
13460
 
fi
13461
 
 else
13462
 
    pkg_failed=untried
13463
 
fi
13464
 
if test -n "$BLKID_LIBS"; then
13465
 
    pkg_cv_BLKID_LIBS="$BLKID_LIBS"
13466
 
 elif test -n "$PKG_CONFIG"; then
13467
 
    if test -n "$PKG_CONFIG" && \
13468
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"blkid\""; } >&5
13469
 
  ($PKG_CONFIG --exists --print-errors "blkid") 2>&5
13470
 
  ac_status=$?
13471
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13472
 
  test $ac_status = 0; }; then
13473
 
  pkg_cv_BLKID_LIBS=`$PKG_CONFIG --libs "blkid" 2>/dev/null`
13474
 
else
13475
 
  pkg_failed=yes
13476
 
fi
13477
 
 else
13478
 
    pkg_failed=untried
13479
 
fi
13480
 
 
13481
 
 
13482
 
 
13483
 
if test $pkg_failed = yes; then
13484
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485
 
$as_echo "no" >&6; }
13486
 
 
13487
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13488
 
        _pkg_short_errors_supported=yes
13489
 
else
13490
 
        _pkg_short_errors_supported=no
13491
 
fi
13492
 
        if test $_pkg_short_errors_supported = yes; then
13493
 
                BLKID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "blkid" 2>&1`
13494
 
        else
13495
 
                BLKID_PKG_ERRORS=`$PKG_CONFIG --print-errors "blkid" 2>&1`
13496
 
        fi
13497
 
        # Put the nasty error message in config.log where it belongs
13498
 
        echo "$BLKID_PKG_ERRORS" >&5
13499
 
 
13500
 
        have_blkid=no
13501
 
elif test $pkg_failed = untried; then
13502
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503
 
$as_echo "no" >&6; }
13504
 
        have_blkid=no
13505
 
else
13506
 
        BLKID_CFLAGS=$pkg_cv_BLKID_CFLAGS
13507
 
        BLKID_LIBS=$pkg_cv_BLKID_LIBS
13508
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13509
 
$as_echo "yes" >&6; }
13510
 
        have_blkid=yes
13511
 
fi
13512
 
    if test "x$have_blkid" = xno; then
13513
 
      # system without pkg-config or so, try classic check
13514
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for blkid_get_cache in -lblkid" >&5
13515
 
$as_echo_n "checking for blkid_get_cache in -lblkid... " >&6; }
13516
 
if test "${ac_cv_lib_blkid_blkid_get_cache+set}" = set; then :
13517
 
  $as_echo_n "(cached) " >&6
13518
 
else
13519
 
  ac_check_lib_save_LIBS=$LIBS
13520
 
LIBS="-lblkid  $LIBS"
13521
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522
 
/* end confdefs.h.  */
13523
 
 
13524
 
/* Override any GCC internal prototype to avoid an error.
13525
 
   Use char because int might match the return type of a GCC
13526
 
   builtin and then its argument prototype would still apply.  */
13527
 
#ifdef __cplusplus
13528
 
extern "C"
13529
 
#endif
13530
 
char blkid_get_cache ();
13531
 
int
13532
 
main ()
13533
 
{
13534
 
return blkid_get_cache ();
13535
 
  ;
13536
 
  return 0;
13537
 
}
13538
 
_ACEOF
13539
 
if ac_fn_c_try_link "$LINENO"; then :
13540
 
  ac_cv_lib_blkid_blkid_get_cache=yes
13541
 
else
13542
 
  ac_cv_lib_blkid_blkid_get_cache=no
13543
 
fi
13544
 
rm -f core conftest.err conftest.$ac_objext \
13545
 
    conftest$ac_exeext conftest.$ac_ext
13546
 
LIBS=$ac_check_lib_save_LIBS
13547
 
fi
13548
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_blkid_blkid_get_cache" >&5
13549
 
$as_echo "$ac_cv_lib_blkid_blkid_get_cache" >&6; }
13550
 
if test "x$ac_cv_lib_blkid_blkid_get_cache" = x""yes; then :
13551
 
  have_blkid=yes
13552
 
else
13553
 
  have_blkid=no
13554
 
fi
13555
 
 
13556
 
    fi
13557
 
    if test "x$have_blkid" = xyes; then
13558
 
 
13559
 
  old_CFLAGS="$CFLAGS"
13560
 
  old_CPPFLAGS="$CPPFLAGS"
13561
 
  old_LDFLAGS="$LDFLAGS"
13562
 
  CFLAGS="$CFLAGS $BLKID_CFLAGS"
13563
 
  CPPFLAGS="$CPPFLAGS $BLKID_CFLAGS"
13564
 
  LDFLAGS="$LDFLAGS $BLKID_LIBS"
13565
 
 
13566
 
      for ac_header in blkid.h blkid/blkid.h
13567
 
do :
13568
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13569
 
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13570
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13571
 
  cat >>confdefs.h <<_ACEOF
13572
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13573
 
_ACEOF
13574
 
 break
13575
 
fi
13576
 
 
13577
 
done
13578
 
 
13579
 
 
13580
 
  CFLAGS="$old_CFLAGS"
13581
 
  CPPFLAGS="$old_CPPFLAGS"
13582
 
  LDFLAGS="$old_LDFLAGS"
13583
 
 
13584
 
    fi
13585
 
    if test -n "$enable_static_programs"; then
13586
 
      # TODO check only when mount of fsck are requested
13587
 
 
13588
 
  if { { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config --exists --print-errors \"blkid\""; } >&5
13589
 
  (pkg-config --exists --print-errors "blkid") 2>&5
13590
 
  ac_status=$?
13591
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13592
 
  test $ac_status = 0; }; then
13593
 
    BLKID_LIBS_STATIC=`pkg-config --libs --static "blkid"`
13594
 
  else
13595
 
    as_fn_error $? "pkg-config description of blkid, needed for static build, is not available" "$LINENO" 5
13596
 
  fi
13597
 
 
13598
 
    fi
13599
 
  fi
13600
 
else
13601
 
  # internal library
13602
 
 
13603
 
$as_echo "#define HAVE_BLKID_H 1" >>confdefs.h
13604
 
 
13605
 
 
13606
 
$as_echo "#define HAVE_LIBBLKID_INTERNAL 1" >>confdefs.h
13607
 
 
13608
 
fi
13609
 
 
13610
 
if test "x$have_blkid" = xyes; then
 
14106
 
 
14107
if test "x$enable_libblkid" = xyes; then
13611
14108
 
13612
14109
$as_echo "#define HAVE_LIBBLKID 1" >>confdefs.h
13613
14110
 
13618
14115
  if test "x$enable_fsck" = xyes; then
13619
14116
    as_fn_error $? "libblkid is needed to build util-linux fsck" "$LINENO" 5
13620
14117
  fi
13621
 
fi
13622
 
 if test "x$have_blkid" = xyes; then
13623
 
  HAVE_BLKID_TRUE=
13624
 
  HAVE_BLKID_FALSE='#'
13625
 
else
13626
 
  HAVE_BLKID_TRUE='#'
13627
 
  HAVE_BLKID_FALSE=
13628
 
fi
13629
 
 
13630
 
# default
13631
 
: ${BLKID_LIBS='-lblkid -luuid'}
13632
 
 
13633
 
 
 
14118
  if test "x$build_partx" = xyes; then
 
14119
    as_fn_error $? "libblkid is needed to build util-linux partx" "$LINENO" 5
 
14120
  fi
 
14121
fi
13634
14122
 
13635
14123
 
13636
14124
# Check whether --enable-libmount was given.
13652
14140
    build_libmount=no
13653
14141
fi
13654
14142
 
 
14143
 
 
14144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking needed scanf type modifiers" >&5
 
14145
$as_echo_n "checking needed scanf type modifiers... " >&6; }
 
14146
if ${scanf_cv_type_modifier+:} false; then :
 
14147
  $as_echo_n "(cached) " >&6
 
14148
else
 
14149
  if test "$cross_compiling" = yes; then :
 
14150
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14151
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14152
as_fn_error $? "cannot run test program while cross compiling
 
14153
See \`config.log' for more details" "$LINENO" 5; }
 
14154
else
 
14155
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14156
/* end confdefs.h.  */
 
14157
# include <stdio.h>
 
14158
int main()
 
14159
{
 
14160
        int i;
 
14161
        char *s;
 
14162
        i = sscanf("x", "%ms", &s);
 
14163
        if (i == 1)
 
14164
                return 0;
 
14165
        return 1;
 
14166
}
 
14167
_ACEOF
 
14168
if ac_fn_c_try_run "$LINENO"; then :
 
14169
  scanf_cv_type_modifier=ms
 
14170
else
 
14171
  if test "$cross_compiling" = yes; then :
 
14172
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14173
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14174
as_fn_error $? "cannot run test program while cross compiling
 
14175
See \`config.log' for more details" "$LINENO" 5; }
 
14176
else
 
14177
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14178
/* end confdefs.h.  */
 
14179
# include <stdio.h>
 
14180
int main()
 
14181
{
 
14182
        int i;
 
14183
        char *s;
 
14184
        i = sscanf("x", "%as", &s);
 
14185
        if (i == 1)
 
14186
                return 0;
 
14187
        return 1;
 
14188
}
 
14189
_ACEOF
 
14190
if ac_fn_c_try_run "$LINENO"; then :
 
14191
  scanf_cv_type_modifier=as
 
14192
else
 
14193
  scanf_cv_type_modifier=no
 
14194
 
 
14195
fi
 
14196
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14197
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14198
fi
 
14199
 
 
14200
 
 
14201
fi
 
14202
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
14203
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
14204
fi
 
14205
 
 
14206
 
 
14207
fi
 
14208
 
 
14209
 
 
14210
case "$scanf_cv_type_modifier" in
 
14211
ms)
 
14212
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (%ms) yes" >&5
 
14213
$as_echo "(%ms) yes" >&6; }
 
14214
 
 
14215
$as_echo "#define HAVE_SCANF_MS_MODIFIER 1" >>confdefs.h
 
14216
 ;;
 
14217
as)
 
14218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (%as) yes" >&5
 
14219
$as_echo "(%as) yes" >&6; }
 
14220
 
 
14221
$as_echo "#define HAVE_SCANF_AS_MODIFIER 1" >>confdefs.h
 
14222
 ;;
 
14223
*)
 
14224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14225
$as_echo "no" >&6; }
 
14226
  if "x$build_libmount" = xyes; then
 
14227
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: %as or %ms for sscanf() not found; do not build libmount" >&5
 
14228
$as_echo "$as_me: WARNING: %as or %ms for sscanf() not found; do not build libmount" >&2;}
 
14229
    build_libmount=no
 
14230
  fi
 
14231
esac
 
14232
 
 
14233
 
13655
14234
case "$enable_libblkid:$build_libmount" in
13656
14235
no:yes)
13657
14236
  as_fn_error $? "cannot enable libmount when libblkid is disabled" "$LINENO" 5 ;;
13701
14280
 
13702
14281
 
13703
14282
 
 
14283
# Check whether --enable-mountpoint was given.
 
14284
if test "${enable_mountpoint+set}" = set; then :
 
14285
  enableval=$enable_mountpoint;
 
14286
else
 
14287
  enable_mountpoint=check
 
14288
 
 
14289
fi
 
14290
 
 
14291
 
 
14292
build_mountpoint=yes
 
14293
if test "x$enable_mountpoint" = xcheck; then
 
14294
  if test "x$build_libmount" = xno; then
 
14295
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmount disabled; do not build mountpoint" >&5
 
14296
$as_echo "$as_me: WARNING: libmount disabled; do not build mountpoint" >&2;}
 
14297
    build_mountpoint=no
 
14298
  fi
 
14299
elif test "x$enable_mountpoint" = xno; then
 
14300
    build_mountpoint=no
 
14301
fi
 
14302
 
 
14303
case "$build_libmount:$build_mountpoint" in
 
14304
no:yes)
 
14305
  as_fn_error $? "cannot enable mountpoint when libmount is disabled" "$LINENO" 5 ;;
 
14306
esac
 
14307
 if test "x$build_mountpoint" = xyes; then
 
14308
  BUILD_MOUNTPOINT_TRUE=
 
14309
  BUILD_MOUNTPOINT_FALSE='#'
 
14310
else
 
14311
  BUILD_MOUNTPOINT_TRUE='#'
 
14312
  BUILD_MOUNTPOINT_FALSE=
 
14313
fi
 
14314
 
 
14315
 
 
14316
 
13704
14317
 
13705
14318
 
13706
14319
  have_util=yes
13707
14320
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
13708
14321
$as_echo_n "checking for openpty in -lutil... " >&6; }
13709
 
if test "${ac_cv_lib_util_openpty+set}" = set; then :
 
14322
if ${ac_cv_lib_util_openpty+:} false; then :
13710
14323
  $as_echo_n "(cached) " >&6
13711
14324
else
13712
14325
  ac_check_lib_save_LIBS=$LIBS
13740
14353
fi
13741
14354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
13742
14355
$as_echo "$ac_cv_lib_util_openpty" >&6; }
13743
 
if test "x$ac_cv_lib_util_openpty" = x""yes; then :
 
14356
if test "x$ac_cv_lib_util_openpty" = xyes; then :
13744
14357
  cat >>confdefs.h <<_ACEOF
13745
14358
#define HAVE_LIBUTIL 1
13746
14359
_ACEOF
13765
14378
  have_termcap=yes
13766
14379
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetnum in -ltermcap" >&5
13767
14380
$as_echo_n "checking for tgetnum in -ltermcap... " >&6; }
13768
 
if test "${ac_cv_lib_termcap_tgetnum+set}" = set; then :
 
14381
if ${ac_cv_lib_termcap_tgetnum+:} false; then :
13769
14382
  $as_echo_n "(cached) " >&6
13770
14383
else
13771
14384
  ac_check_lib_save_LIBS=$LIBS
13799
14412
fi
13800
14413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetnum" >&5
13801
14414
$as_echo "$ac_cv_lib_termcap_tgetnum" >&6; }
13802
 
if test "x$ac_cv_lib_termcap_tgetnum" = x""yes; then :
 
14415
if test "x$ac_cv_lib_termcap_tgetnum" = xyes; then :
13803
14416
  cat >>confdefs.h <<_ACEOF
13804
14417
#define HAVE_LIBTERMCAP 1
13805
14418
_ACEOF
13884
14497
set dummy msgfmt; ac_word=$2
13885
14498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13886
14499
$as_echo_n "checking for $ac_word... " >&6; }
13887
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
14500
if ${ac_cv_path_MSGFMT+:} false; then :
13888
14501
  $as_echo_n "(cached) " >&6
13889
14502
else
13890
14503
  case "$MSGFMT" in
13924
14537
set dummy gmsgfmt; ac_word=$2
13925
14538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13926
14539
$as_echo_n "checking for $ac_word... " >&6; }
13927
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
14540
if ${ac_cv_path_GMSGFMT+:} false; then :
13928
14541
  $as_echo_n "(cached) " >&6
13929
14542
else
13930
14543
  case $GMSGFMT in
13995
14608
set dummy xgettext; ac_word=$2
13996
14609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13997
14610
$as_echo_n "checking for $ac_word... " >&6; }
13998
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
14611
if ${ac_cv_path_XGETTEXT+:} false; then :
13999
14612
  $as_echo_n "(cached) " >&6
14000
14613
else
14001
14614
  case "$XGETTEXT" in
14066
14679
set dummy msgmerge; ac_word=$2
14067
14680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14068
14681
$as_echo_n "checking for $ac_word... " >&6; }
14069
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
14682
if ${ac_cv_path_MSGMERGE+:} false; then :
14070
14683
  $as_echo_n "(cached) " >&6
14071
14684
else
14072
14685
  case "$MSGMERGE" in
14205
14818
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14206
14819
$as_echo_n "checking for non-GNU ld... " >&6; }
14207
14820
fi
14208
 
if test "${acl_cv_path_LD+set}" = set; then :
 
14821
if ${acl_cv_path_LD+:} false; then :
14209
14822
  $as_echo_n "(cached) " >&6
14210
14823
else
14211
14824
  if test -z "$LD"; then
14242
14855
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14243
14856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14244
14857
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14245
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
14858
if ${acl_cv_prog_gnu_ld+:} false; then :
14246
14859
  $as_echo_n "(cached) " >&6
14247
14860
else
14248
14861
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14261
14874
 
14262
14875
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14263
14876
$as_echo_n "checking for shared library run path origin... " >&6; }
14264
 
if test "${acl_cv_rpath+set}" = set; then :
 
14877
if ${acl_cv_rpath+:} false; then :
14265
14878
  $as_echo_n "(cached) " >&6
14266
14879
else
14267
14880
 
14717
15330
 
14718
15331
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14719
15332
$as_echo_n "checking for GNU gettext in libc... " >&6; }
14720
 
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
 
15333
if ${gt_cv_func_gnugettext1_libc+:} false; then :
14721
15334
  $as_echo_n "(cached) " >&6
14722
15335
else
14723
15336
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778
15391
 
14779
15392
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14780
15393
$as_echo_n "checking for iconv... " >&6; }
14781
 
if test "${am_cv_func_iconv+set}" = set; then :
 
15394
if ${am_cv_func_iconv+:} false; then :
14782
15395
  $as_echo_n "(cached) " >&6
14783
15396
else
14784
15397
 
15231
15844
 
15232
15845
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15233
15846
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15234
 
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
 
15847
if ${gt_cv_func_gnugettext1_libintl+:} false; then :
15235
15848
  $as_echo_n "(cached) " >&6
15236
15849
else
15237
15850
  gt_save_CPPFLAGS="$CPPFLAGS"
15437
16050
  have_ncurses=yes
15438
16051
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
15439
16052
$as_echo_n "checking for initscr in -lncursesw... " >&6; }
15440
 
if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then :
 
16053
if ${ac_cv_lib_ncursesw_initscr+:} false; then :
15441
16054
  $as_echo_n "(cached) " >&6
15442
16055
else
15443
16056
  ac_check_lib_save_LIBS=$LIBS
15471
16084
fi
15472
16085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
15473
16086
$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
15474
 
if test "x$ac_cv_lib_ncursesw_initscr" = x""yes; then :
 
16087
if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then :
15475
16088
  cat >>confdefs.h <<_ACEOF
15476
16089
#define HAVE_LIBNCURSESW 1
15477
16090
_ACEOF
15495
16108
        for ac_header in ncursesw/ncurses.h
15496
16109
do :
15497
16110
  ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default"
15498
 
if test "x$ac_cv_header_ncursesw_ncurses_h" = x""yes; then :
 
16111
if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then :
15499
16112
  cat >>confdefs.h <<_ACEOF
15500
16113
#define HAVE_NCURSESW_NCURSES_H 1
15501
16114
_ACEOF
15513
16126
  have_ncurses=yes
15514
16127
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
15515
16128
$as_echo_n "checking for initscr in -lncurses... " >&6; }
15516
 
if test "${ac_cv_lib_ncurses_initscr+set}" = set; then :
 
16129
if ${ac_cv_lib_ncurses_initscr+:} false; then :
15517
16130
  $as_echo_n "(cached) " >&6
15518
16131
else
15519
16132
  ac_check_lib_save_LIBS=$LIBS
15547
16160
fi
15548
16161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
15549
16162
$as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
15550
 
if test "x$ac_cv_lib_ncurses_initscr" = x""yes; then :
 
16163
if test "x$ac_cv_lib_ncurses_initscr" = xyes; then :
15551
16164
  cat >>confdefs.h <<_ACEOF
15552
16165
#define HAVE_LIBNCURSES 1
15553
16166
_ACEOF
15596
16209
have_tinfo=no
15597
16210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5
15598
16211
$as_echo_n "checking for tgetent in -ltinfo... " >&6; }
15599
 
if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then :
 
16212
if ${ac_cv_lib_tinfo_tgetent+:} false; then :
15600
16213
  $as_echo_n "(cached) " >&6
15601
16214
else
15602
16215
  ac_check_lib_save_LIBS=$LIBS
15630
16243
fi
15631
16244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5
15632
16245
$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; }
15633
 
if test "x$ac_cv_lib_tinfo_tgetent" = x""yes; then :
 
16246
if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then :
15634
16247
  have_tinfo=yes
15635
16248
fi
15636
16249
 
15708
16321
  have_utempter=yes
15709
16322
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utempter_add_record in -lutempter" >&5
15710
16323
$as_echo_n "checking for utempter_add_record in -lutempter... " >&6; }
15711
 
if test "${ac_cv_lib_utempter_utempter_add_record+set}" = set; then :
 
16324
if ${ac_cv_lib_utempter_utempter_add_record+:} false; then :
15712
16325
  $as_echo_n "(cached) " >&6
15713
16326
else
15714
16327
  ac_check_lib_save_LIBS=$LIBS
15742
16355
fi
15743
16356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_utempter_utempter_add_record" >&5
15744
16357
$as_echo "$ac_cv_lib_utempter_utempter_add_record" >&6; }
15745
 
if test "x$ac_cv_lib_utempter_utempter_add_record" = x""yes; then :
 
16358
if test "x$ac_cv_lib_utempter_utempter_add_record" = xyes; then :
15746
16359
  cat >>confdefs.h <<_ACEOF
15747
16360
#define HAVE_LIBUTEMPTER 1
15748
16361
_ACEOF
15782
16395
for ac_header in crypt.h
15783
16396
do :
15784
16397
  ac_fn_c_check_header_mongrel "$LINENO" "crypt.h" "ac_cv_header_crypt_h" "$ac_includes_default"
15785
 
if test "x$ac_cv_header_crypt_h" = x""yes; then :
 
16398
if test "x$ac_cv_header_crypt_h" = xyes; then :
15786
16399
  cat >>confdefs.h <<_ACEOF
15787
16400
#define HAVE_CRYPT_H 1
15788
16401
_ACEOF
15863
16476
fi
15864
16477
 
15865
16478
 
15866
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867
 
/* end confdefs.h.  */
15868
 
 
15869
 
#include <stdio.h>
15870
 
 
15871
 
int
15872
 
main ()
15873
 
{
15874
 
 
15875
 
printf(__progname);
15876
 
 
15877
 
  ;
15878
 
  return 0;
15879
 
}
15880
 
_ACEOF
15881
 
if ac_fn_c_try_compile "$LINENO"; then :
15882
 
 
15883
 
$as_echo "#define HAVE___PROGNAME 1" >>confdefs.h
15884
 
 
15885
 
 
15886
 
fi
15887
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888
 
 
15889
 
 
15890
16479
ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
15891
16480
#include <sys/sem.h>
15892
16481
 
15893
16482
"
15894
 
if test "x$ac_cv_type_union_semun" = x""yes; then :
 
16483
if test "x$ac_cv_type_union_semun" = xyes; then :
15895
16484
 
15896
16485
cat >>confdefs.h <<_ACEOF
15897
16486
#define HAVE_UNION_SEMUN 1
15901
16490
fi
15902
16491
 
15903
16492
ac_fn_c_check_type "$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
15904
 
if test "x$ac_cv_type_loff_t" = x""yes; then :
 
16493
if test "x$ac_cv_type_loff_t" = xyes; then :
15905
16494
 
15906
16495
cat >>confdefs.h <<_ACEOF
15907
16496
#define HAVE_LOFF_T 1
15954
16543
 
15955
16544
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall pivot_root" >&5
15956
16545
$as_echo_n "checking for syscall pivot_root... " >&6; }
15957
 
if test "${util_cv_syscall_pivot_root+set}" = set; then :
 
16546
if ${util_cv_syscall_pivot_root+:} false; then :
15958
16547
  $as_echo_n "(cached) " >&6
15959
16548
else
15960
16549
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16034
16623
 
16035
16624
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall sched_getaffinity" >&5
16036
16625
$as_echo_n "checking for syscall sched_getaffinity... " >&6; }
16037
 
if test "${util_cv_syscall_sched_getaffinity+set}" = set; then :
 
16626
if ${util_cv_syscall_sched_getaffinity+:} false; then :
16038
16627
  $as_echo_n "(cached) " >&6
16039
16628
else
16040
16629
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114
16703
 
16115
16704
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_set" >&5
16116
16705
$as_echo_n "checking for syscall ioprio_set... " >&6; }
16117
 
if test "${util_cv_syscall_ioprio_set+set}" = set; then :
 
16706
if ${util_cv_syscall_ioprio_set+:} false; then :
16118
16707
  $as_echo_n "(cached) " >&6
16119
16708
else
16120
16709
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16202
16791
 
16203
16792
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall ioprio_get" >&5
16204
16793
$as_echo_n "checking for syscall ioprio_get... " >&6; }
16205
 
if test "${util_cv_syscall_ioprio_get+set}" = set; then :
 
16794
if ${util_cv_syscall_ioprio_get+:} false; then :
16206
16795
  $as_echo_n "(cached) " >&6
16207
16796
else
16208
16797
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291
16880
 
16292
16881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall fallocate" >&5
16293
16882
$as_echo_n "checking for syscall fallocate... " >&6; }
16294
 
if test "${util_cv_syscall_fallocate+set}" = set; then :
 
16883
if ${util_cv_syscall_fallocate+:} false; then :
16295
16884
  $as_echo_n "(cached) " >&6
16296
16885
else
16297
16886
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16422
17011
 
16423
17012
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syscall unshare" >&5
16424
17013
$as_echo_n "checking for syscall unshare... " >&6; }
16425
 
if test "${util_cv_syscall_unshare+set}" = set; then :
 
17014
if ${util_cv_syscall_unshare+:} false; then :
16426
17015
  $as_echo_n "(cached) " >&6
16427
17016
else
16428
17017
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16501
17090
for ac_func in unshare
16502
17091
do :
16503
17092
  ac_fn_c_check_func "$LINENO" "unshare" "ac_cv_func_unshare"
16504
 
if test "x$ac_cv_func_unshare" = x""yes; then :
 
17093
if test "x$ac_cv_func_unshare" = xyes; then :
16505
17094
  cat >>confdefs.h <<_ACEOF
16506
17095
#define HAVE_UNSHARE 1
16507
17096
_ACEOF
16539
17128
 
16540
17129
ac_fn_c_check_member "$LINENO" "struct termios" "c_line" "ac_cv_member_struct_termios_c_line" "#include <termios.h>
16541
17130
"
16542
 
if test "x$ac_cv_member_struct_termios_c_line" = x""yes; then :
 
17131
if test "x$ac_cv_member_struct_termios_c_line" = xyes; then :
16543
17132
 
16544
17133
cat >>confdefs.h <<_ACEOF
16545
17134
#define HAVE_STRUCT_TERMIOS_C_LINE 1
16551
17140
 
16552
17141
ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" "#include <sys/stat.h>
16553
17142
"
16554
 
if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = x""yes; then :
 
17143
if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then :
16555
17144
 
16556
17145
cat >>confdefs.h <<_ACEOF
16557
17146
#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
16561
17150
fi
16562
17151
 
16563
17152
 
 
17153
ac_fn_c_check_decl "$LINENO" "UNAME26" "ac_cv_have_decl_UNAME26" "#include <linux/personality.h>
 
17154
"
 
17155
if test "x$ac_cv_have_decl_UNAME26" = xyes; then :
 
17156
  ac_have_decl=1
 
17157
else
 
17158
  ac_have_decl=0
 
17159
fi
 
17160
 
 
17161
cat >>confdefs.h <<_ACEOF
 
17162
#define HAVE_DECL_UNAME26 $ac_have_decl
 
17163
_ACEOF
16564
17164
ac_fn_c_check_decl "$LINENO" "ADDR_NO_RANDOMIZE" "ac_cv_have_decl_ADDR_NO_RANDOMIZE" "#include <linux/personality.h>
16565
17165
"
16566
 
if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = x""yes; then :
 
17166
if test "x$ac_cv_have_decl_ADDR_NO_RANDOMIZE" = xyes; then :
16567
17167
  ac_have_decl=1
16568
17168
else
16569
17169
  ac_have_decl=0
16574
17174
_ACEOF
16575
17175
ac_fn_c_check_decl "$LINENO" "FDPIC_FUNCPTRS" "ac_cv_have_decl_FDPIC_FUNCPTRS" "#include <linux/personality.h>
16576
17176
"
16577
 
if test "x$ac_cv_have_decl_FDPIC_FUNCPTRS" = x""yes; then :
 
17177
if test "x$ac_cv_have_decl_FDPIC_FUNCPTRS" = xyes; then :
16578
17178
  ac_have_decl=1
16579
17179
else
16580
17180
  ac_have_decl=0
16585
17185
_ACEOF
16586
17186
ac_fn_c_check_decl "$LINENO" "MMAP_PAGE_ZERO" "ac_cv_have_decl_MMAP_PAGE_ZERO" "#include <linux/personality.h>
16587
17187
"
16588
 
if test "x$ac_cv_have_decl_MMAP_PAGE_ZERO" = x""yes; then :
 
17188
if test "x$ac_cv_have_decl_MMAP_PAGE_ZERO" = xyes; then :
16589
17189
  ac_have_decl=1
16590
17190
else
16591
17191
  ac_have_decl=0
16596
17196
_ACEOF
16597
17197
ac_fn_c_check_decl "$LINENO" "ADDR_COMPAT_LAYOUT" "ac_cv_have_decl_ADDR_COMPAT_LAYOUT" "#include <linux/personality.h>
16598
17198
"
16599
 
if test "x$ac_cv_have_decl_ADDR_COMPAT_LAYOUT" = x""yes; then :
 
17199
if test "x$ac_cv_have_decl_ADDR_COMPAT_LAYOUT" = xyes; then :
16600
17200
  ac_have_decl=1
16601
17201
else
16602
17202
  ac_have_decl=0
16607
17207
_ACEOF
16608
17208
ac_fn_c_check_decl "$LINENO" "READ_IMPLIES_EXEC" "ac_cv_have_decl_READ_IMPLIES_EXEC" "#include <linux/personality.h>
16609
17209
"
16610
 
if test "x$ac_cv_have_decl_READ_IMPLIES_EXEC" = x""yes; then :
 
17210
if test "x$ac_cv_have_decl_READ_IMPLIES_EXEC" = xyes; then :
16611
17211
  ac_have_decl=1
16612
17212
else
16613
17213
  ac_have_decl=0
16618
17218
_ACEOF
16619
17219
ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_32BIT" "ac_cv_have_decl_ADDR_LIMIT_32BIT" "#include <linux/personality.h>
16620
17220
"
16621
 
if test "x$ac_cv_have_decl_ADDR_LIMIT_32BIT" = x""yes; then :
 
17221
if test "x$ac_cv_have_decl_ADDR_LIMIT_32BIT" = xyes; then :
16622
17222
  ac_have_decl=1
16623
17223
else
16624
17224
  ac_have_decl=0
16629
17229
_ACEOF
16630
17230
ac_fn_c_check_decl "$LINENO" "WHOLE_SECONDS" "ac_cv_have_decl_WHOLE_SECONDS" "#include <linux/personality.h>
16631
17231
"
16632
 
if test "x$ac_cv_have_decl_WHOLE_SECONDS" = x""yes; then :
 
17232
if test "x$ac_cv_have_decl_WHOLE_SECONDS" = xyes; then :
16633
17233
  ac_have_decl=1
16634
17234
else
16635
17235
  ac_have_decl=0
16640
17240
_ACEOF
16641
17241
ac_fn_c_check_decl "$LINENO" "STICKY_TIMEOUTS" "ac_cv_have_decl_STICKY_TIMEOUTS" "#include <linux/personality.h>
16642
17242
"
16643
 
if test "x$ac_cv_have_decl_STICKY_TIMEOUTS" = x""yes; then :
 
17243
if test "x$ac_cv_have_decl_STICKY_TIMEOUTS" = xyes; then :
16644
17244
  ac_have_decl=1
16645
17245
else
16646
17246
  ac_have_decl=0
16651
17251
_ACEOF
16652
17252
ac_fn_c_check_decl "$LINENO" "ADDR_LIMIT_3GB" "ac_cv_have_decl_ADDR_LIMIT_3GB" "#include <linux/personality.h>
16653
17253
"
16654
 
if test "x$ac_cv_have_decl_ADDR_LIMIT_3GB" = x""yes; then :
 
17254
if test "x$ac_cv_have_decl_ADDR_LIMIT_3GB" = xyes; then :
16655
17255
  ac_have_decl=1
16656
17256
else
16657
17257
  ac_have_decl=0
16665
17265
for ac_header in sys/swap.h
16666
17266
do :
16667
17267
  ac_fn_c_check_header_mongrel "$LINENO" "sys/swap.h" "ac_cv_header_sys_swap_h" "$ac_includes_default"
16668
 
if test "x$ac_cv_header_sys_swap_h" = x""yes; then :
 
17268
if test "x$ac_cv_header_sys_swap_h" = xyes; then :
16669
17269
  cat >>confdefs.h <<_ACEOF
16670
17270
#define HAVE_SYS_SWAP_H 1
16671
17271
_ACEOF
16708
17308
#include <sched.h>
16709
17309
 
16710
17310
"
16711
 
if test "x$ac_cv_type_cpu_set_t" = x""yes; then :
 
17311
if test "x$ac_cv_type_cpu_set_t" = xyes; then :
16712
17312
 
16713
17313
cat >>confdefs.h <<_ACEOF
16714
17314
#define HAVE_CPU_SET_T 1
16731
17331
#include <sched.h>
16732
17332
 
16733
17333
"
16734
 
if test "x$ac_cv_have_decl_CPU_ALLOC" = x""yes; then :
 
17334
if test "x$ac_cv_have_decl_CPU_ALLOC" = xyes; then :
16735
17335
  ac_have_decl=1
16736
17336
else
16737
17337
  ac_have_decl=0
16889
17489
fi
16890
17490
 
16891
17491
 
 
17492
# Check whether --enable-ddate was given.
 
17493
if test "${enable_ddate+set}" = set; then :
 
17494
  enableval=$enable_ddate;
 
17495
else
 
17496
  enable_ddate=no
 
17497
 
 
17498
fi
 
17499
 
 
17500
 if test "x$enable_ddate" = xyes; then
 
17501
  BUILD_DDATE_TRUE=
 
17502
  BUILD_DDATE_FALSE='#'
 
17503
else
 
17504
  BUILD_DDATE_TRUE='#'
 
17505
  BUILD_DDATE_FALSE=
 
17506
fi
 
17507
 
 
17508
 
16892
17509
# Check whether --enable-agetty was given.
16893
17510
if test "${enable_agetty+set}" = set; then :
16894
17511
  enableval=$enable_agetty;
16921
17538
  build_cramfs=yes
16922
17539
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crc32 in -lz" >&5
16923
17540
$as_echo_n "checking for crc32 in -lz... " >&6; }
16924
 
if test "${ac_cv_lib_z_crc32+set}" = set; then :
 
17541
if ${ac_cv_lib_z_crc32+:} false; then :
16925
17542
  $as_echo_n "(cached) " >&6
16926
17543
else
16927
17544
  ac_check_lib_save_LIBS=$LIBS
16955
17572
fi
16956
17573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_crc32" >&5
16957
17574
$as_echo "$ac_cv_lib_z_crc32" >&6; }
16958
 
if test "x$ac_cv_lib_z_crc32" = x""yes; then :
 
17575
if test "x$ac_cv_lib_z_crc32" = xyes; then :
16959
17576
  cat >>confdefs.h <<_ACEOF
16960
17577
#define HAVE_LIBZ 1
16961
17578
_ACEOF
17164
17781
fi
17165
17782
 
17166
17783
 
17167
 
 
17168
 
# Check whether --enable-init was given.
17169
 
if test "${enable_init+set}" = set; then :
17170
 
  enableval=$enable_init;
17171
 
else
17172
 
  enable_init=no
17173
 
 
17174
 
fi
17175
 
 
17176
 
 if test "x$enable_init" = xyes; then
17177
 
  BUILD_INIT_TRUE=
17178
 
  BUILD_INIT_FALSE='#'
17179
 
else
17180
 
  BUILD_INIT_TRUE='#'
17181
 
  BUILD_INIT_FALSE=
17182
 
fi
17183
 
 
17184
 
 
17185
 
 
17186
17784
# Check whether --enable-kill was given.
17187
17785
if test "${enable_kill+set}" = set; then :
17188
17786
  enableval=$enable_kill;
17218
17816
fi
17219
17817
 
17220
17818
 
 
17819
# Check whether --enable-line was given.
 
17820
if test "${enable_line+set}" = set; then :
 
17821
  enableval=$enable_line;
 
17822
else
 
17823
  enable_line=no
 
17824
 
 
17825
fi
 
17826
 
 
17827
 if test "x$enable_line" = xyes; then
 
17828
  BUILD_LINE_TRUE=
 
17829
  BUILD_LINE_FALSE='#'
 
17830
else
 
17831
  BUILD_LINE_TRUE='#'
 
17832
  BUILD_LINE_FALSE=
 
17833
fi
 
17834
 
17221
17835
 
17222
17836
# Check whether --enable-mesg was given.
17223
17837
if test "${enable_mesg+set}" = set; then :
17237
17851
 
17238
17852
 
17239
17853
 
17240
 
# Check whether --enable-partx was given.
17241
 
if test "${enable_partx+set}" = set; then :
17242
 
  enableval=$enable_partx;
17243
 
else
17244
 
  enable_partx=no
17245
 
 
17246
 
fi
17247
 
 
17248
 
 if test "x$enable_partx" = xyes; then
17249
 
  BUILD_PARTX_TRUE=
17250
 
  BUILD_PARTX_FALSE='#'
17251
 
else
17252
 
  BUILD_PARTX_TRUE='#'
17253
 
  BUILD_PARTX_FALSE=
17254
 
fi
17255
 
 
17256
 
 
17257
 
 
17258
17854
# Check whether --enable-raw was given.
17259
17855
if test "${enable_raw+set}" = set; then :
17260
17856
  enableval=$enable_raw;
17345
17941
  for ac_header in security/pam_misc.h
17346
17942
do :
17347
17943
  ac_fn_c_check_header_mongrel "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "$ac_includes_default"
17348
 
if test "x$ac_cv_header_security_pam_misc_h" = x""yes; then :
 
17944
if test "x$ac_cv_header_security_pam_misc_h" = xyes; then :
17349
17945
  cat >>confdefs.h <<_ACEOF
17350
17946
#define HAVE_SECURITY_PAM_MISC_H 1
17351
17947
_ACEOF
17393
17989
  have_selinux=yes
17394
17990
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getprevcon in -lselinux" >&5
17395
17991
$as_echo_n "checking for getprevcon in -lselinux... " >&6; }
17396
 
if test "${ac_cv_lib_selinux_getprevcon+set}" = set; then :
 
17992
if ${ac_cv_lib_selinux_getprevcon+:} false; then :
17397
17993
  $as_echo_n "(cached) " >&6
17398
17994
else
17399
17995
  ac_check_lib_save_LIBS=$LIBS
17427
18023
fi
17428
18024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_getprevcon" >&5
17429
18025
$as_echo "$ac_cv_lib_selinux_getprevcon" >&6; }
17430
 
if test "x$ac_cv_lib_selinux_getprevcon" = x""yes; then :
 
18026
if test "x$ac_cv_lib_selinux_getprevcon" = xyes; then :
17431
18027
  cat >>confdefs.h <<_ACEOF
17432
18028
#define HAVE_LIBSELINUX 1
17433
18029
_ACEOF
17461
18057
  for ac_func in security_get_initial_context
17462
18058
do :
17463
18059
  ac_fn_c_check_func "$LINENO" "security_get_initial_context" "ac_cv_func_security_get_initial_context"
17464
 
if test "x$ac_cv_func_security_get_initial_context" = x""yes; then :
 
18060
if test "x$ac_cv_func_security_get_initial_context" = xyes; then :
17465
18061
  cat >>confdefs.h <<_ACEOF
17466
18062
#define HAVE_SECURITY_GET_INITIAL_CONTEXT 1
17467
18063
_ACEOF
17499
18095
  have_audit=yes
17500
18096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_message in -laudit" >&5
17501
18097
$as_echo_n "checking for audit_log_user_message in -laudit... " >&6; }
17502
 
if test "${ac_cv_lib_audit_audit_log_user_message+set}" = set; then :
 
18098
if ${ac_cv_lib_audit_audit_log_user_message+:} false; then :
17503
18099
  $as_echo_n "(cached) " >&6
17504
18100
else
17505
18101
  ac_check_lib_save_LIBS=$LIBS
17533
18129
fi
17534
18130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_message" >&5
17535
18131
$as_echo "$ac_cv_lib_audit_audit_log_user_message" >&6; }
17536
 
if test "x$ac_cv_lib_audit_audit_log_user_message" = x""yes; then :
 
18132
if test "x$ac_cv_lib_audit_audit_log_user_message" = xyes; then :
17537
18133
  cat >>confdefs.h <<_ACEOF
17538
18134
#define HAVE_LIBAUDIT 1
17539
18135
_ACEOF
17799
18395
ac_config_headers="$ac_config_headers config.h"
17800
18396
 
17801
18397
 
17802
 
ac_config_files="$ac_config_files disk-utils/Makefile fdisk/Makefile fsck/Makefile getopt/Makefile hwclock/Makefile include/Makefile simpleinit/Makefile lib/Makefile login-utils/Makefile Makefile man/ru/Makefile misc-utils/chkdupexe:misc-utils/chkdupexe.pl misc-utils/Makefile mount/Makefile partx/Makefile po/Makefile.in schedutils/Makefile shlibs/blkid/blkid.pc shlibs/blkid/Makefile shlibs/blkid/docs/Makefile shlibs/blkid/docs/version.xml shlibs/blkid/src/Makefile shlibs/blkid/src/blkid.h shlibs/blkid/src/superblocks/Makefile shlibs/blkid/src/topology/Makefile shlibs/blkid/src/partitions/Makefile shlibs/blkid/samples/Makefile shlibs/mount/mount.pc shlibs/mount/Makefile shlibs/mount/src/Makefile shlibs/mount/src/libmount.h shlibs/mount/docs/Makefile shlibs/mount/docs/version.xml shlibs/mount/samples/Makefile shlibs/uuid/uuid.pc shlibs/uuid/Makefile shlibs/uuid/man/Makefile shlibs/uuid/src/Makefile sys-utils/Makefile tests/commands.sh tests/helpers/Makefile tests/Makefile text-utils/Makefile"
 
18398
ac_config_files="$ac_config_files disk-utils/Makefile fdisk/Makefile fsck/Makefile getopt/Makefile hwclock/Makefile include/Makefile lib/Makefile login-utils/Makefile Makefile man/ru/Makefile misc-utils/chkdupexe:misc-utils/chkdupexe.pl misc-utils/Makefile mount/Makefile partx/Makefile po/Makefile.in schedutils/Makefile libblkid/blkid.pc libblkid/Makefile libblkid/docs/Makefile libblkid/docs/version.xml libblkid/src/Makefile libblkid/src/blkid.h libblkid/src/superblocks/Makefile libblkid/src/topology/Makefile libblkid/src/partitions/Makefile libblkid/samples/Makefile libmount/mount.pc libmount/Makefile libmount/src/Makefile libmount/src/libmount.h libmount/docs/Makefile libmount/docs/version.xml libmount/samples/Makefile libuuid/uuid.pc libuuid/Makefile libuuid/man/Makefile libuuid/src/Makefile sys-utils/Makefile term-utils/Makefile tests/commands.sh tests/helpers/Makefile tests/Makefile text-utils/Makefile"
17803
18399
 
17804
18400
 
17805
18401
 
17867
18463
     :end' >>confcache
17868
18464
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17869
18465
  if test -w "$cache_file"; then
17870
 
    test "x$cache_file" != "x/dev/null" &&
 
18466
    if test "x$cache_file" != "x/dev/null"; then
17871
18467
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17872
18468
$as_echo "$as_me: updating cache $cache_file" >&6;}
17873
 
    cat confcache >$cache_file
 
18469
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
18470
        cat confcache >"$cache_file"
 
18471
      else
 
18472
        case $cache_file in #(
 
18473
        */* | ?:*)
 
18474
          mv -f confcache "$cache_file"$$ &&
 
18475
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
18476
        *)
 
18477
          mv -f confcache "$cache_file" ;;
 
18478
        esac
 
18479
      fi
 
18480
    fi
17874
18481
  else
17875
18482
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17876
18483
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17946
18553
  as_fn_error $? "conditional \"HAVE_LANGINFO\" was never defined.
17947
18554
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17948
18555
fi
 
18556
if test -z "${BUILD_HWCLOCK_TRUE}" && test -z "${BUILD_HWCLOCK_FALSE}"; then
 
18557
  as_fn_error $? "conditional \"BUILD_HWCLOCK\" was never defined.
 
18558
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18559
fi
17949
18560
if test -z "${HAVE_STATIC_LOSETUP_TRUE}" && test -z "${HAVE_STATIC_LOSETUP_FALSE}"; then
17950
18561
  as_fn_error $? "conditional \"HAVE_STATIC_LOSETUP\" was never defined.
17951
18562
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17978
18589
  as_fn_error $? "conditional \"BUILD_FSCK\" was never defined.
17979
18590
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17980
18591
fi
 
18592
if test -z "${BUILD_PARTX_TRUE}" && test -z "${BUILD_PARTX_FALSE}"; then
 
18593
  as_fn_error $? "conditional \"BUILD_PARTX\" was never defined.
 
18594
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18595
fi
17981
18596
if test -z "${BUILD_LIBUUID_TRUE}" && test -z "${BUILD_LIBUUID_FALSE}"; then
17982
18597
  as_fn_error $? "conditional \"BUILD_LIBUUID\" was never defined.
17983
18598
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17984
18599
fi
17985
 
if test -z "${HAVE_UUID_TRUE}" && test -z "${HAVE_UUID_FALSE}"; then
17986
 
  as_fn_error $? "conditional \"HAVE_UUID\" was never defined.
17987
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17988
 
fi
17989
18600
if test -z "${BUILD_UUIDD_TRUE}" && test -z "${BUILD_UUIDD_FALSE}"; then
17990
18601
  as_fn_error $? "conditional \"BUILD_UUIDD\" was never defined.
17991
18602
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17994
18605
  as_fn_error $? "conditional \"BUILD_LIBBLKID\" was never defined.
17995
18606
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17996
18607
fi
17997
 
if test -z "${HAVE_BLKID_TRUE}" && test -z "${HAVE_BLKID_FALSE}"; then
17998
 
  as_fn_error $? "conditional \"HAVE_BLKID\" was never defined.
17999
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18000
 
fi
18001
18608
if test -z "${BUILD_LIBMOUNT_TRUE}" && test -z "${BUILD_LIBMOUNT_FALSE}"; then
18002
18609
  as_fn_error $? "conditional \"BUILD_LIBMOUNT\" was never defined.
18003
18610
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18006
18613
  as_fn_error $? "conditional \"BUILD_LIBMOUNT_MOUNT\" was never defined.
18007
18614
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18008
18615
fi
 
18616
if test -z "${BUILD_MOUNTPOINT_TRUE}" && test -z "${BUILD_MOUNTPOINT_FALSE}"; then
 
18617
  as_fn_error $? "conditional \"BUILD_MOUNTPOINT\" was never defined.
 
18618
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18619
fi
18009
18620
if test -z "${HAVE_UTIL_TRUE}" && test -z "${HAVE_UTIL_FALSE}"; then
18010
18621
  as_fn_error $? "conditional \"HAVE_UTIL\" was never defined.
18011
18622
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18114
18725
  as_fn_error $? "conditional \"BUILD_ARCH\" was never defined.
18115
18726
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18116
18727
fi
 
18728
if test -z "${BUILD_DDATE_TRUE}" && test -z "${BUILD_DDATE_FALSE}"; then
 
18729
  as_fn_error $? "conditional \"BUILD_DDATE\" was never defined.
 
18730
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18731
fi
18117
18732
if test -z "${BUILD_AGETTY_TRUE}" && test -z "${BUILD_AGETTY_FALSE}"; then
18118
18733
  as_fn_error $? "conditional \"BUILD_AGETTY\" was never defined.
18119
18734
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18146
18761
  as_fn_error $? "conditional \"BUILD_ELVTUNE\" was never defined.
18147
18762
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18148
18763
fi
18149
 
if test -z "${BUILD_INIT_TRUE}" && test -z "${BUILD_INIT_FALSE}"; then
18150
 
  as_fn_error $? "conditional \"BUILD_INIT\" was never defined.
18151
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18152
 
fi
18153
18764
if test -z "${BUILD_KILL_TRUE}" && test -z "${BUILD_KILL_FALSE}"; then
18154
18765
  as_fn_error $? "conditional \"BUILD_KILL\" was never defined.
18155
18766
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18158
18769
  as_fn_error $? "conditional \"BUILD_LAST\" was never defined.
18159
18770
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18160
18771
fi
 
18772
if test -z "${BUILD_LINE_TRUE}" && test -z "${BUILD_LINE_FALSE}"; then
 
18773
  as_fn_error $? "conditional \"BUILD_LINE\" was never defined.
 
18774
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
18775
fi
18161
18776
if test -z "${BUILD_MESG_TRUE}" && test -z "${BUILD_MESG_FALSE}"; then
18162
18777
  as_fn_error $? "conditional \"BUILD_MESG\" was never defined.
18163
18778
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18164
18779
fi
18165
 
if test -z "${BUILD_PARTX_TRUE}" && test -z "${BUILD_PARTX_FALSE}"; then
18166
 
  as_fn_error $? "conditional \"BUILD_PARTX\" was never defined.
18167
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18168
 
fi
18169
18780
if test -z "${BUILD_RAW_TRUE}" && test -z "${BUILD_RAW_FALSE}"; then
18170
18781
  as_fn_error $? "conditional \"BUILD_RAW\" was never defined.
18171
18782
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18231
18842
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18232
18843
fi
18233
18844
 
18234
 
: ${CONFIG_STATUS=./config.status}
 
18845
: "${CONFIG_STATUS=./config.status}"
18235
18846
ac_write_fail=0
18236
18847
ac_clean_files_save=$ac_clean_files
18237
18848
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18332
18943
IFS=" ""        $as_nl"
18333
18944
 
18334
18945
# Find who we are.  Look in the path if we contain no directory separator.
 
18946
as_myself=
18335
18947
case $0 in #((
18336
18948
  *[\\/]* ) as_myself=$0 ;;
18337
18949
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18638
19250
# report actual input values of CONFIG_FILES etc. instead of their
18639
19251
# values after options handling.
18640
19252
ac_log="
18641
 
This file was extended by util-linux $as_me 2.19.1, which was
18642
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
19253
This file was extended by util-linux $as_me 2.20.1, which was
 
19254
generated by GNU Autoconf 2.68.  Invocation command line was
18643
19255
 
18644
19256
  CONFIG_FILES    = $CONFIG_FILES
18645
19257
  CONFIG_HEADERS  = $CONFIG_HEADERS
18704
19316
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18705
19317
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18706
19318
ac_cs_version="\\
18707
 
util-linux config.status 2.19.1
18708
 
configured by $0, generated by GNU Autoconf 2.66,
 
19319
util-linux config.status 2.20.1
 
19320
configured by $0, generated by GNU Autoconf 2.68,
18709
19321
  with options \\"\$ac_cs_config\\"
18710
19322
 
18711
19323
Copyright (C) 2010 Free Software Foundation, Inc.
18726
19338
while test $# != 0
18727
19339
do
18728
19340
  case $1 in
18729
 
  --*=*)
 
19341
  --*=?*)
18730
19342
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18731
19343
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18732
19344
    ac_shift=:
18733
19345
    ;;
 
19346
  --*=)
 
19347
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
19348
    ac_optarg=
 
19349
    ac_shift=:
 
19350
    ;;
18734
19351
  *)
18735
19352
    ac_option=$1
18736
19353
    ac_optarg=$2
18752
19369
    $ac_shift
18753
19370
    case $ac_optarg in
18754
19371
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
19372
    '') as_fn_error $? "missing file argument" ;;
18755
19373
    esac
18756
19374
    as_fn_append CONFIG_FILES " '$ac_optarg'"
18757
19375
    ac_need_defaults=false;;
18855
19473
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18856
19474
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18857
19475
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
19476
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
19477
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18858
19478
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18859
19479
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18860
19480
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18861
19481
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18862
19482
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
19483
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
19484
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
19485
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
19486
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18863
19487
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18864
19488
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
19489
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18865
19490
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18866
19491
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18867
19492
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18876
19501
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18877
19502
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18878
19503
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
19504
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
19505
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18879
19506
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18880
19507
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18881
19508
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
19509
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18882
19510
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18883
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18884
19511
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18885
19512
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18886
19513
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
19514
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18887
19515
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18888
19516
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18889
19517
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18916
19544
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18917
19545
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18918
19546
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18919
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18920
19547
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18921
19548
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18922
19549
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18923
19550
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18924
19551
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
19552
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18925
19553
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18926
19554
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18927
19555
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18976
19604
OBJDUMP \
18977
19605
deplibs_check_method \
18978
19606
file_magic_cmd \
 
19607
file_magic_glob \
 
19608
want_nocaseglob \
 
19609
DLLTOOL \
 
19610
sharedlib_from_linklib_cmd \
18979
19611
AR \
18980
19612
AR_FLAGS \
 
19613
archiver_list_spec \
18981
19614
STRIP \
18982
19615
RANLIB \
18983
19616
CC \
18987
19620
lt_cv_sys_global_symbol_to_cdecl \
18988
19621
lt_cv_sys_global_symbol_to_c_name_address \
18989
19622
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
19623
nm_file_list_spec \
18990
19624
lt_prog_compiler_no_builtin_flag \
 
19625
lt_prog_compiler_pic \
18991
19626
lt_prog_compiler_wl \
18992
 
lt_prog_compiler_pic \
18993
19627
lt_prog_compiler_static \
18994
19628
lt_cv_prog_compiler_c_o \
18995
19629
need_locks \
 
19630
MANIFEST_TOOL \
18996
19631
DSYMUTIL \
18997
19632
NMEDIT \
18998
19633
LIPO \
19008
19643
hardcode_libdir_flag_spec \
19009
19644
hardcode_libdir_flag_spec_ld \
19010
19645
hardcode_libdir_separator \
19011
 
fix_srcfile_path \
19012
19646
exclude_expsyms \
19013
19647
include_expsyms \
19014
19648
file_list_spec \
19044
19678
module_expsym_cmds \
19045
19679
export_symbols_cmds \
19046
19680
prelink_cmds \
 
19681
postlink_cmds \
19047
19682
postinstall_cmds \
19048
19683
postuninstall_cmds \
19049
19684
finish_cmds \
19104
19739
    "getopt/Makefile") CONFIG_FILES="$CONFIG_FILES getopt/Makefile" ;;
19105
19740
    "hwclock/Makefile") CONFIG_FILES="$CONFIG_FILES hwclock/Makefile" ;;
19106
19741
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
19107
 
    "simpleinit/Makefile") CONFIG_FILES="$CONFIG_FILES simpleinit/Makefile" ;;
19108
19742
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
19109
19743
    "login-utils/Makefile") CONFIG_FILES="$CONFIG_FILES login-utils/Makefile" ;;
19110
19744
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19115
19749
    "partx/Makefile") CONFIG_FILES="$CONFIG_FILES partx/Makefile" ;;
19116
19750
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19117
19751
    "schedutils/Makefile") CONFIG_FILES="$CONFIG_FILES schedutils/Makefile" ;;
19118
 
    "shlibs/blkid/blkid.pc") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/blkid.pc" ;;
19119
 
    "shlibs/blkid/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/Makefile" ;;
19120
 
    "shlibs/blkid/docs/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/docs/Makefile" ;;
19121
 
    "shlibs/blkid/docs/version.xml") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/docs/version.xml" ;;
19122
 
    "shlibs/blkid/src/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/src/Makefile" ;;
19123
 
    "shlibs/blkid/src/blkid.h") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/src/blkid.h" ;;
19124
 
    "shlibs/blkid/src/superblocks/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/src/superblocks/Makefile" ;;
19125
 
    "shlibs/blkid/src/topology/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/src/topology/Makefile" ;;
19126
 
    "shlibs/blkid/src/partitions/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/src/partitions/Makefile" ;;
19127
 
    "shlibs/blkid/samples/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/blkid/samples/Makefile" ;;
19128
 
    "shlibs/mount/mount.pc") CONFIG_FILES="$CONFIG_FILES shlibs/mount/mount.pc" ;;
19129
 
    "shlibs/mount/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/mount/Makefile" ;;
19130
 
    "shlibs/mount/src/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/mount/src/Makefile" ;;
19131
 
    "shlibs/mount/src/libmount.h") CONFIG_FILES="$CONFIG_FILES shlibs/mount/src/libmount.h" ;;
19132
 
    "shlibs/mount/docs/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/mount/docs/Makefile" ;;
19133
 
    "shlibs/mount/docs/version.xml") CONFIG_FILES="$CONFIG_FILES shlibs/mount/docs/version.xml" ;;
19134
 
    "shlibs/mount/samples/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/mount/samples/Makefile" ;;
19135
 
    "shlibs/uuid/uuid.pc") CONFIG_FILES="$CONFIG_FILES shlibs/uuid/uuid.pc" ;;
19136
 
    "shlibs/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/uuid/Makefile" ;;
19137
 
    "shlibs/uuid/man/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/uuid/man/Makefile" ;;
19138
 
    "shlibs/uuid/src/Makefile") CONFIG_FILES="$CONFIG_FILES shlibs/uuid/src/Makefile" ;;
 
19752
    "libblkid/blkid.pc") CONFIG_FILES="$CONFIG_FILES libblkid/blkid.pc" ;;
 
19753
    "libblkid/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/Makefile" ;;
 
19754
    "libblkid/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/docs/Makefile" ;;
 
19755
    "libblkid/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libblkid/docs/version.xml" ;;
 
19756
    "libblkid/src/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/src/Makefile" ;;
 
19757
    "libblkid/src/blkid.h") CONFIG_FILES="$CONFIG_FILES libblkid/src/blkid.h" ;;
 
19758
    "libblkid/src/superblocks/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/src/superblocks/Makefile" ;;
 
19759
    "libblkid/src/topology/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/src/topology/Makefile" ;;
 
19760
    "libblkid/src/partitions/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/src/partitions/Makefile" ;;
 
19761
    "libblkid/samples/Makefile") CONFIG_FILES="$CONFIG_FILES libblkid/samples/Makefile" ;;
 
19762
    "libmount/mount.pc") CONFIG_FILES="$CONFIG_FILES libmount/mount.pc" ;;
 
19763
    "libmount/Makefile") CONFIG_FILES="$CONFIG_FILES libmount/Makefile" ;;
 
19764
    "libmount/src/Makefile") CONFIG_FILES="$CONFIG_FILES libmount/src/Makefile" ;;
 
19765
    "libmount/src/libmount.h") CONFIG_FILES="$CONFIG_FILES libmount/src/libmount.h" ;;
 
19766
    "libmount/docs/Makefile") CONFIG_FILES="$CONFIG_FILES libmount/docs/Makefile" ;;
 
19767
    "libmount/docs/version.xml") CONFIG_FILES="$CONFIG_FILES libmount/docs/version.xml" ;;
 
19768
    "libmount/samples/Makefile") CONFIG_FILES="$CONFIG_FILES libmount/samples/Makefile" ;;
 
19769
    "libuuid/uuid.pc") CONFIG_FILES="$CONFIG_FILES libuuid/uuid.pc" ;;
 
19770
    "libuuid/Makefile") CONFIG_FILES="$CONFIG_FILES libuuid/Makefile" ;;
 
19771
    "libuuid/man/Makefile") CONFIG_FILES="$CONFIG_FILES libuuid/man/Makefile" ;;
 
19772
    "libuuid/src/Makefile") CONFIG_FILES="$CONFIG_FILES libuuid/src/Makefile" ;;
19139
19773
    "sys-utils/Makefile") CONFIG_FILES="$CONFIG_FILES sys-utils/Makefile" ;;
 
19774
    "term-utils/Makefile") CONFIG_FILES="$CONFIG_FILES term-utils/Makefile" ;;
19140
19775
    "tests/commands.sh") CONFIG_FILES="$CONFIG_FILES tests/commands.sh" ;;
19141
19776
    "tests/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES tests/helpers/Makefile" ;;
19142
19777
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19165
19800
# after its creation but before its name has been assigned to `$tmp'.
19166
19801
$debug ||
19167
19802
{
19168
 
  tmp=
 
19803
  tmp= ac_tmp=
19169
19804
  trap 'exit_status=$?
19170
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
19805
  : "${ac_tmp:=$tmp}"
 
19806
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19171
19807
' 0
19172
19808
  trap 'as_fn_exit 1' 1 2 13 15
19173
19809
}
19175
19811
 
19176
19812
{
19177
19813
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19178
 
  test -n "$tmp" && test -d "$tmp"
 
19814
  test -d "$tmp"
19179
19815
}  ||
19180
19816
{
19181
19817
  tmp=./conf$$-$RANDOM
19182
19818
  (umask 077 && mkdir "$tmp")
19183
19819
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
19820
ac_tmp=$tmp
19184
19821
 
19185
19822
# Set up the scripts for CONFIG_FILES section.
19186
19823
# No need to generate them if there are no CONFIG_FILES.
19202
19839
  ac_cs_awk_cr=$ac_cr
19203
19840
fi
19204
19841
 
19205
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
19842
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19206
19843
_ACEOF
19207
19844
 
19208
19845
 
19230
19867
rm -f conf$$subs.sh
19231
19868
 
19232
19869
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19233
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
19870
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19234
19871
_ACEOF
19235
19872
sed -n '
19236
19873
h
19278
19915
rm -f conf$$subs.awk
19279
19916
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19280
19917
_ACAWK
19281
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
19918
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19282
19919
  for (key in S) S_is_set[key] = 1
19283
19920
  FS = ""
19284
19921
 
19310
19947
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19311
19948
else
19312
19949
  cat
19313
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
19950
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19314
19951
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19315
19952
_ACEOF
19316
19953
 
19344
19981
# No need to generate them if there are no CONFIG_HEADERS.
19345
19982
# This happens for instance with `./config.status Makefile'.
19346
19983
if test -n "$CONFIG_HEADERS"; then
19347
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
19984
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19348
19985
BEGIN {
19349
19986
_ACEOF
19350
19987
 
19356
19993
# handling of long lines.
19357
19994
ac_delim='%!_!# '
19358
19995
for ac_last_try in false false :; do
19359
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19360
 
  if test -z "$ac_t"; then
 
19996
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
19997
  if test -z "$ac_tt"; then
19361
19998
    break
19362
19999
  elif $ac_last_try; then
19363
20000
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19477
20114
    for ac_f
19478
20115
    do
19479
20116
      case $ac_f in
19480
 
      -) ac_f="$tmp/stdin";;
 
20117
      -) ac_f="$ac_tmp/stdin";;
19481
20118
      *) # Look for the file first in the build tree, then in the source tree
19482
20119
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
19483
20120
         # because $ac_f cannot contain `:'.
19512
20149
    esac
19513
20150
 
19514
20151
    case $ac_tag in
19515
 
    *:-:* | *:-) cat >"$tmp/stdin" \
 
20152
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19516
20153
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19517
20154
    esac
19518
20155
    ;;
19649
20286
s&@MKDIR_P@&$ac_MKDIR_P&;t t
19650
20287
$ac_datarootdir_hack
19651
20288
"
19652
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19653
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
20289
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
20290
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19654
20291
 
19655
20292
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19656
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19657
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
20293
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
20294
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
20295
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19658
20296
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19659
20297
which seems to be undefined.  Please make sure it is defined" >&5
19660
20298
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19661
20299
which seems to be undefined.  Please make sure it is defined" >&2;}
19662
20300
 
19663
 
  rm -f "$tmp/stdin"
 
20301
  rm -f "$ac_tmp/stdin"
19664
20302
  case $ac_file in
19665
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
19666
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
20303
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
20304
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19667
20305
  esac \
19668
20306
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19669
20307
 ;;
19674
20312
  if test x"$ac_file" != x-; then
19675
20313
    {
19676
20314
      $as_echo "/* $configure_input  */" \
19677
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19678
 
    } >"$tmp/config.h" \
 
20315
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
20316
    } >"$ac_tmp/config.h" \
19679
20317
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19680
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
20318
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19681
20319
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19682
20320
$as_echo "$as_me: $ac_file is unchanged" >&6;}
19683
20321
    else
19684
20322
      rm -f "$ac_file"
19685
 
      mv "$tmp/config.h" "$ac_file" \
 
20323
      mv "$ac_tmp/config.h" "$ac_file" \
19686
20324
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19687
20325
    fi
19688
20326
  else
19689
20327
    $as_echo "/* $configure_input  */" \
19690
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
20328
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19691
20329
      || as_fn_error $? "could not create -" "$LINENO" 5
19692
20330
  fi
19693
20331
# Compute "$ac_file"'s index in $config_headers.
19953
20591
# turn newlines into spaces.
19954
20592
NL2SP=$lt_lt_NL2SP
19955
20593
 
 
20594
# convert \$build file names to \$host format.
 
20595
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
20596
 
 
20597
# convert \$build files to toolchain format.
 
20598
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
20599
 
19956
20600
# An object symbol dumper.
19957
20601
OBJDUMP=$lt_OBJDUMP
19958
20602
 
19959
20603
# Method to check whether dependent libraries are shared objects.
19960
20604
deplibs_check_method=$lt_deplibs_check_method
19961
20605
 
19962
 
# Command to use when deplibs_check_method == "file_magic".
 
20606
# Command to use when deplibs_check_method = "file_magic".
19963
20607
file_magic_cmd=$lt_file_magic_cmd
19964
20608
 
 
20609
# How to find potential files when deplibs_check_method = "file_magic".
 
20610
file_magic_glob=$lt_file_magic_glob
 
20611
 
 
20612
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
20613
want_nocaseglob=$lt_want_nocaseglob
 
20614
 
 
20615
# DLL creation program.
 
20616
DLLTOOL=$lt_DLLTOOL
 
20617
 
 
20618
# Command to associate shared and link libraries.
 
20619
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
20620
 
19965
20621
# The archiver.
19966
20622
AR=$lt_AR
 
20623
 
 
20624
# Flags to create an archive.
19967
20625
AR_FLAGS=$lt_AR_FLAGS
19968
20626
 
 
20627
# How to feed a file listing to the archiver.
 
20628
archiver_list_spec=$lt_archiver_list_spec
 
20629
 
19969
20630
# A symbol stripping program.
19970
20631
STRIP=$lt_STRIP
19971
20632
 
19995
20656
# Transform the output of nm in a C name address pair when lib prefix is needed.
19996
20657
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19997
20658
 
 
20659
# Specify filename containing input files for \$NM.
 
20660
nm_file_list_spec=$lt_nm_file_list_spec
 
20661
 
 
20662
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
20663
lt_sysroot=$lt_sysroot
 
20664
 
19998
20665
# The name of the directory that contains temporary libtool files.
19999
20666
objdir=$objdir
20000
20667
 
20004
20671
# Must we lock files when doing compilation?
20005
20672
need_locks=$lt_need_locks
20006
20673
 
 
20674
# Manifest tool.
 
20675
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
20676
 
20007
20677
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20008
20678
DSYMUTIL=$lt_DSYMUTIL
20009
20679
 
20118
20788
# Compiler flag to turn off builtin functions.
20119
20789
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20120
20790
 
 
20791
# Additional compiler flags for building library objects.
 
20792
pic_flag=$lt_lt_prog_compiler_pic
 
20793
 
20121
20794
# How to pass a linker flag through the compiler.
20122
20795
wl=$lt_lt_prog_compiler_wl
20123
20796
 
20124
 
# Additional compiler flags for building library objects.
20125
 
pic_flag=$lt_lt_prog_compiler_pic
20126
 
 
20127
20797
# Compiler flag to prevent dynamic linking.
20128
20798
link_static_flag=$lt_lt_prog_compiler_static
20129
20799
 
20210
20880
# Whether libtool must link a program against all its dependency libraries.
20211
20881
link_all_deplibs=$link_all_deplibs
20212
20882
 
20213
 
# Fix the shell variable \$srcfile for the compiler.
20214
 
fix_srcfile_path=$lt_fix_srcfile_path
20215
 
 
20216
20883
# Set to "yes" if exported symbols are required.
20217
20884
always_export_symbols=$always_export_symbols
20218
20885
 
20228
20895
# Commands necessary for linking programs (against libraries) with templates.
20229
20896
prelink_cmds=$lt_prelink_cmds
20230
20897
 
 
20898
# Commands necessary for finishing linking programs.
 
20899
postlink_cmds=$lt_postlink_cmds
 
20900
 
20231
20901
# Specify filename containing input files.
20232
20902
file_list_spec=$lt_file_list_spec
20233
20903
 
20260
20930
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20261
20931
  # text mode, it properly converts lines to CR/LF.  This bash problem
20262
20932
  # is reportedly fixed, but why not run on old versions too?
20263
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20264
 
    || (rm -f "$cfgfile"; exit 1)
20265
 
 
20266
 
  case $xsi_shell in
20267
 
  yes)
20268
 
    cat << \_LT_EOF >> "$cfgfile"
20269
 
 
20270
 
# func_dirname file append nondir_replacement
20271
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20272
 
# otherwise set result to NONDIR_REPLACEMENT.
20273
 
func_dirname ()
20274
 
{
20275
 
  case ${1} in
20276
 
    */*) func_dirname_result="${1%/*}${2}" ;;
20277
 
    *  ) func_dirname_result="${3}" ;;
20278
 
  esac
20279
 
}
20280
 
 
20281
 
# func_basename file
20282
 
func_basename ()
20283
 
{
20284
 
  func_basename_result="${1##*/}"
20285
 
}
20286
 
 
20287
 
# func_dirname_and_basename file append nondir_replacement
20288
 
# perform func_basename and func_dirname in a single function
20289
 
# call:
20290
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
20291
 
#             add APPEND to the result, otherwise set result
20292
 
#             to NONDIR_REPLACEMENT.
20293
 
#             value returned in "$func_dirname_result"
20294
 
#   basename: Compute filename of FILE.
20295
 
#             value retuned in "$func_basename_result"
20296
 
# Implementation must be kept synchronized with func_dirname
20297
 
# and func_basename. For efficiency, we do not delegate to
20298
 
# those functions but instead duplicate the functionality here.
20299
 
func_dirname_and_basename ()
20300
 
{
20301
 
  case ${1} in
20302
 
    */*) func_dirname_result="${1%/*}${2}" ;;
20303
 
    *  ) func_dirname_result="${3}" ;;
20304
 
  esac
20305
 
  func_basename_result="${1##*/}"
20306
 
}
20307
 
 
20308
 
# func_stripname prefix suffix name
20309
 
# strip PREFIX and SUFFIX off of NAME.
20310
 
# PREFIX and SUFFIX must not contain globbing or regex special
20311
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
20312
 
# dot (in which case that matches only a dot).
20313
 
func_stripname ()
20314
 
{
20315
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20316
 
  # positional parameters, so assign one to ordinary parameter first.
20317
 
  func_stripname_result=${3}
20318
 
  func_stripname_result=${func_stripname_result#"${1}"}
20319
 
  func_stripname_result=${func_stripname_result%"${2}"}
20320
 
}
20321
 
 
20322
 
# func_opt_split
20323
 
func_opt_split ()
20324
 
{
20325
 
  func_opt_split_opt=${1%%=*}
20326
 
  func_opt_split_arg=${1#*=}
20327
 
}
20328
 
 
20329
 
# func_lo2o object
20330
 
func_lo2o ()
20331
 
{
20332
 
  case ${1} in
20333
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20334
 
    *)    func_lo2o_result=${1} ;;
20335
 
  esac
20336
 
}
20337
 
 
20338
 
# func_xform libobj-or-source
20339
 
func_xform ()
20340
 
{
20341
 
  func_xform_result=${1%.*}.lo
20342
 
}
20343
 
 
20344
 
# func_arith arithmetic-term...
20345
 
func_arith ()
20346
 
{
20347
 
  func_arith_result=$(( $* ))
20348
 
}
20349
 
 
20350
 
# func_len string
20351
 
# STRING may not start with a hyphen.
20352
 
func_len ()
20353
 
{
20354
 
  func_len_result=${#1}
20355
 
}
20356
 
 
20357
 
_LT_EOF
20358
 
    ;;
20359
 
  *) # Bourne compatible functions.
20360
 
    cat << \_LT_EOF >> "$cfgfile"
20361
 
 
20362
 
# func_dirname file append nondir_replacement
20363
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20364
 
# otherwise set result to NONDIR_REPLACEMENT.
20365
 
func_dirname ()
20366
 
{
20367
 
  # Extract subdirectory from the argument.
20368
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
20369
 
  if test "X$func_dirname_result" = "X${1}"; then
20370
 
    func_dirname_result="${3}"
20371
 
  else
20372
 
    func_dirname_result="$func_dirname_result${2}"
20373
 
  fi
20374
 
}
20375
 
 
20376
 
# func_basename file
20377
 
func_basename ()
20378
 
{
20379
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
20380
 
}
20381
 
 
20382
 
 
20383
 
# func_stripname prefix suffix name
20384
 
# strip PREFIX and SUFFIX off of NAME.
20385
 
# PREFIX and SUFFIX must not contain globbing or regex special
20386
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
20387
 
# dot (in which case that matches only a dot).
20388
 
# func_strip_suffix prefix name
20389
 
func_stripname ()
20390
 
{
20391
 
  case ${2} in
20392
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20393
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20394
 
  esac
20395
 
}
20396
 
 
20397
 
# sed scripts:
20398
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20399
 
my_sed_long_arg='1s/^-[^=]*=//'
20400
 
 
20401
 
# func_opt_split
20402
 
func_opt_split ()
20403
 
{
20404
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20405
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20406
 
}
20407
 
 
20408
 
# func_lo2o object
20409
 
func_lo2o ()
20410
 
{
20411
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
20412
 
}
20413
 
 
20414
 
# func_xform libobj-or-source
20415
 
func_xform ()
20416
 
{
20417
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20418
 
}
20419
 
 
20420
 
# func_arith arithmetic-term...
20421
 
func_arith ()
20422
 
{
20423
 
  func_arith_result=`expr "$@"`
20424
 
}
20425
 
 
20426
 
# func_len string
20427
 
# STRING may not start with a hyphen.
20428
 
func_len ()
20429
 
{
20430
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20431
 
}
20432
 
 
20433
 
_LT_EOF
20434
 
esac
20435
 
 
20436
 
case $lt_shell_append in
20437
 
  yes)
20438
 
    cat << \_LT_EOF >> "$cfgfile"
20439
 
 
20440
 
# func_append var value
20441
 
# Append VALUE to the end of shell variable VAR.
20442
 
func_append ()
20443
 
{
20444
 
  eval "$1+=\$2"
20445
 
}
20446
 
_LT_EOF
20447
 
    ;;
20448
 
  *)
20449
 
    cat << \_LT_EOF >> "$cfgfile"
20450
 
 
20451
 
# func_append var value
20452
 
# Append VALUE to the end of shell variable VAR.
20453
 
func_append ()
20454
 
{
20455
 
  eval "$1=\$$1\$2"
20456
 
}
20457
 
 
20458
 
_LT_EOF
20459
 
    ;;
20460
 
  esac
20461
 
 
20462
 
 
20463
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20464
 
    || (rm -f "$cfgfile"; exit 1)
20465
 
 
20466
 
  mv -f "$cfgfile" "$ofile" ||
 
20933
  sed '$q' "$ltmain" >> "$cfgfile" \
 
20934
     || (rm -f "$cfgfile"; exit 1)
 
20935
 
 
20936
  if test x"$xsi_shell" = xyes; then
 
20937
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
20938
func_dirname ()\
 
20939
{\
 
20940
\    case ${1} in\
 
20941
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20942
\      *  ) func_dirname_result="${3}" ;;\
 
20943
\    esac\
 
20944
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
20945
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20946
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20947
test 0 -eq $? || _lt_function_replace_fail=:
 
20948
 
 
20949
 
 
20950
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
20951
func_basename ()\
 
20952
{\
 
20953
\    func_basename_result="${1##*/}"\
 
20954
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20955
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20956
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20957
test 0 -eq $? || _lt_function_replace_fail=:
 
20958
 
 
20959
 
 
20960
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
20961
func_dirname_and_basename ()\
 
20962
{\
 
20963
\    case ${1} in\
 
20964
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
20965
\      *  ) func_dirname_result="${3}" ;;\
 
20966
\    esac\
 
20967
\    func_basename_result="${1##*/}"\
 
20968
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
20969
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20970
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20971
test 0 -eq $? || _lt_function_replace_fail=:
 
20972
 
 
20973
 
 
20974
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
20975
func_stripname ()\
 
20976
{\
 
20977
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
20978
\    # positional parameters, so assign one to ordinary parameter first.\
 
20979
\    func_stripname_result=${3}\
 
20980
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
20981
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
20982
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
20983
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20984
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20985
test 0 -eq $? || _lt_function_replace_fail=:
 
20986
 
 
20987
 
 
20988
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
20989
func_split_long_opt ()\
 
20990
{\
 
20991
\    func_split_long_opt_name=${1%%=*}\
 
20992
\    func_split_long_opt_arg=${1#*=}\
 
20993
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
20994
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
20995
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
20996
test 0 -eq $? || _lt_function_replace_fail=:
 
20997
 
 
20998
 
 
20999
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
21000
func_split_short_opt ()\
 
21001
{\
 
21002
\    func_split_short_opt_arg=${1#??}\
 
21003
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
21004
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
21005
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21006
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21007
test 0 -eq $? || _lt_function_replace_fail=:
 
21008
 
 
21009
 
 
21010
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
21011
func_lo2o ()\
 
21012
{\
 
21013
\    case ${1} in\
 
21014
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
21015
\      *)    func_lo2o_result=${1} ;;\
 
21016
\    esac\
 
21017
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
21018
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21019
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21020
test 0 -eq $? || _lt_function_replace_fail=:
 
21021
 
 
21022
 
 
21023
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
21024
func_xform ()\
 
21025
{\
 
21026
    func_xform_result=${1%.*}.lo\
 
21027
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
21028
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21029
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21030
test 0 -eq $? || _lt_function_replace_fail=:
 
21031
 
 
21032
 
 
21033
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
21034
func_arith ()\
 
21035
{\
 
21036
    func_arith_result=$(( $* ))\
 
21037
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
21038
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21039
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21040
test 0 -eq $? || _lt_function_replace_fail=:
 
21041
 
 
21042
 
 
21043
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
21044
func_len ()\
 
21045
{\
 
21046
    func_len_result=${#1}\
 
21047
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
21048
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21049
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21050
test 0 -eq $? || _lt_function_replace_fail=:
 
21051
 
 
21052
fi
 
21053
 
 
21054
if test x"$lt_shell_append" = xyes; then
 
21055
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
21056
func_append ()\
 
21057
{\
 
21058
    eval "${1}+=\\${2}"\
 
21059
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
21060
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21061
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21062
test 0 -eq $? || _lt_function_replace_fail=:
 
21063
 
 
21064
 
 
21065
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
21066
func_append_quoted ()\
 
21067
{\
 
21068
\    func_quote_for_eval "${2}"\
 
21069
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
21070
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
21071
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21072
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21073
test 0 -eq $? || _lt_function_replace_fail=:
 
21074
 
 
21075
 
 
21076
  # Save a `func_append' function call where possible by direct use of '+='
 
21077
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
21078
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21079
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21080
  test 0 -eq $? || _lt_function_replace_fail=:
 
21081
else
 
21082
  # Save a `func_append' function call even when '+=' is not available
 
21083
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
21084
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21085
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21086
  test 0 -eq $? || _lt_function_replace_fail=:
 
21087
fi
 
21088
 
 
21089
if test x"$_lt_function_replace_fail" = x":"; then
 
21090
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
21091
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
21092
fi
 
21093
 
 
21094
 
 
21095
   mv -f "$cfgfile" "$ofile" ||
20467
21096
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20468
21097
  chmod +x "$ofile"
20469
21098