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; }
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; }
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
4238
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239
/* end confdefs.h. */
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'
4254
if { { case "(($ac_try" in
4255
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4256
*) ac_try_echo=$ac_try;;
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
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;;
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
4272
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4273
test $ac_status = 0; };
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;;
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
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'
4291
if { { case "(($ac_try" in
4292
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293
*) ac_try_echo=$ac_try;;
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
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;;
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
4309
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4310
test $ac_status = 0; };
4315
# cc exists but doesn't like -o.
4316
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4321
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4323
rm -f core conftest*
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; }
4330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331
$as_echo "no" >&6; }
4333
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4337
# FIXME: we rely on the cache variable name because
4338
# there is no other way.
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"
4223
4352
case $ac_cv_prog_cc_stdc in #(
4225
4354
ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
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
4232
4361
ac_cv_prog_cc_c99=no
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
6308
*-*-mingw* ) # actually msys
6309
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6312
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6314
* ) # otherwise, assume *nix
6315
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6321
*-*-mingw* ) # actually msys
6322
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6325
lt_cv_to_host_file_cmd=func_convert_file_noop
6327
* ) # otherwise, assume *nix
6328
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6332
* ) # unhandled hosts (and "normal" native builds)
6333
lt_cv_to_host_file_cmd=func_convert_file_noop
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; }
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
6352
#assume ordinary cross tools, or native build.
6353
lt_cv_to_tool_file_cmd=func_convert_file_noop
6357
*-*-mingw* ) # actually msys
6358
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
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; }
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
6176
6379
lt_cv_ld_reload_flag='-r'
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 :
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
6766
if test -n "$DLLTOOL"; then
6767
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792
$as_echo "no" >&6; }
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
6806
if test -n "$ac_ct_DLLTOOL"; then
6807
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
6831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832
$as_echo "no" >&6; }
6835
if test "x$ac_ct_DLLTOOL" = x; then
6838
case $cross_compiling:$ac_tool_warned in
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 ;;
6844
DLLTOOL=$ac_ct_DLLTOOL
6847
DLLTOOL="$ac_cv_prog_DLLTOOL"
6850
test -z "$DLLTOOL" && DLLTOOL=dlltool
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
6866
lt_cv_sharedlib_from_linklib_cmd='unknown'
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
6877
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6882
# fallback: assume linklib IS sharedlib
6883
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
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
6899
if test -n "$ac_tool_prefix"; then
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
6533
6909
if test -n "$AR"; then
7340
7842
need_locks="$enable_libtool_lock"
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
7852
if test -n "$MANIFEST_TOOL"; then
7853
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878
$as_echo "no" >&6; }
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
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.
7895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918
$as_echo "no" >&6; }
7921
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7924
case $cross_compiling:$ac_tool_warned in
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 ;;
7930
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7933
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
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
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
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
7343
7962
case $host_os in
7344
7963
rhapsody* | darwin*)
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.
9623
# Tell ltmain to make .dll files, not .so files.
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
10281
hardcode_libdir_flag_spec=' '
10282
allow_undefined_flag=unsupported
10283
always_export_symbols=yes
10285
# Tell ltmain to make .lib files, not .a files.
10287
# Tell ltmain to make .dll files, not .so files.
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;
10294
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
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"~
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'
10303
old_postinstall_cmds='chmod 644 $oldlib'
10304
postlink_cmds='lt_outputfile="@OUTPUT@"~
10305
lt_tool_outputfile="@TOOL_OUTPUT@"~
10306
case $lt_outputfile in
10309
lt_outputfile="$lt_outputfile.exe"
10310
lt_tool_outputfile="$lt_tool_outputfile.exe"
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";
10319
# Assume MSVC wrapper
10320
hardcode_libdir_flag_spec=' '
10321
allow_undefined_flag=unsupported
10322
# Tell ltmain to make .lib files, not .a files.
10324
# Tell ltmain to make .dll files, not .so files.
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
9635
10337
darwin* | rhapsody*)
10556
11272
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11275
dynamic_linker='Win32 ld.exe'
11280
libname_spec='$name'
11281
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11282
library_names_spec='${libname}.dll.lib'
11286
sys_lib_search_path_spec=
11289
for lt_path in $LIB
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"
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|^ ||'`
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"`
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'`
11314
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11316
# FIXME: find the short name or the path components, as spaces are
11317
# common. (e.g. "Program Files" -> "PROGRA~1")
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~
11330
shlibpath_overrides_runpath=yes
11331
dynamic_linker='Win32 link.exe'
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'
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
13203
14033
BUILD_LIBUUID_FALSE=
13208
if test "x$enable_libuuid" = xno; then
13209
# Check for external (e2fsprogs) libuuid
13212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
13213
$as_echo_n "checking for UUID... " >&6; }
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
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`
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
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`
13250
if test $pkg_failed = yes; then
13251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13252
$as_echo "no" >&6; }
13254
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13255
_pkg_short_errors_supported=yes
13257
_pkg_short_errors_supported=no
13259
if test $_pkg_short_errors_supported = yes; then
13260
UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "uuid" 2>&1`
13262
UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors "uuid" 2>&1`
13264
# Put the nasty error message in config.log where it belongs
13265
echo "$UUID_PKG_ERRORS" >&5
13268
elif test $pkg_failed = untried; then
13269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270
$as_echo "no" >&6; }
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; }
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
13286
ac_check_lib_save_LIBS=$LIBS
13287
LIBS="-luuid $LIBS"
13288
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289
/* end confdefs.h. */
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. */
13297
char uuid_is_null ();
13301
return uuid_is_null ();
13306
if ac_fn_c_try_link "$LINENO"; then :
13307
ac_cv_lib_uuid_uuid_is_null=yes
13309
ac_cv_lib_uuid_uuid_is_null=no
13311
rm -f core conftest.err conftest.$ac_objext \
13312
conftest$ac_exeext conftest.$ac_ext
13313
LIBS=$ac_check_lib_save_LIBS
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 :
13324
if test "x$have_uuid" = xyes; then
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"
13333
for ac_header in uuid.h uuid/uuid.h
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
13347
CFLAGS="$old_CFLAGS"
13348
CPPFLAGS="$old_CPPFLAGS"
13349
LDFLAGS="$old_LDFLAGS"
13355
$as_echo "#define HAVE_UUID_H 1" >>confdefs.h
13359
if test "x$have_uuid" = xyes; then
14037
if test "x$enable_libuuid" = xyes; then
13361
14039
$as_echo "#define HAVE_LIBUUID 1" >>confdefs.h
13435
14103
#define LIBBLKID_DATE "$LIBBLKID_DATE"
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
13445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BLKID" >&5
13446
$as_echo_n "checking for BLKID... " >&6; }
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
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`
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
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`
13483
if test $pkg_failed = yes; then
13484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485
$as_echo "no" >&6; }
13487
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13488
_pkg_short_errors_supported=yes
13490
_pkg_short_errors_supported=no
13492
if test $_pkg_short_errors_supported = yes; then
13493
BLKID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "blkid" 2>&1`
13495
BLKID_PKG_ERRORS=`$PKG_CONFIG --print-errors "blkid" 2>&1`
13497
# Put the nasty error message in config.log where it belongs
13498
echo "$BLKID_PKG_ERRORS" >&5
13501
elif test $pkg_failed = untried; then
13502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13503
$as_echo "no" >&6; }
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; }
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
13519
ac_check_lib_save_LIBS=$LIBS
13520
LIBS="-lblkid $LIBS"
13521
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522
/* end confdefs.h. */
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. */
13530
char blkid_get_cache ();
13534
return blkid_get_cache ();
13539
if ac_fn_c_try_link "$LINENO"; then :
13540
ac_cv_lib_blkid_blkid_get_cache=yes
13542
ac_cv_lib_blkid_blkid_get_cache=no
13544
rm -f core conftest.err conftest.$ac_objext \
13545
conftest$ac_exeext conftest.$ac_ext
13546
LIBS=$ac_check_lib_save_LIBS
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 :
13557
if test "x$have_blkid" = xyes; then
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"
13566
for ac_header in blkid.h blkid/blkid.h
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
13580
CFLAGS="$old_CFLAGS"
13581
CPPFLAGS="$old_CPPFLAGS"
13582
LDFLAGS="$old_LDFLAGS"
13585
if test -n "$enable_static_programs"; then
13586
# TODO check only when mount of fsck are requested
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
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"`
13595
as_fn_error $? "pkg-config description of blkid, needed for static build, is not available" "$LINENO" 5
13603
$as_echo "#define HAVE_BLKID_H 1" >>confdefs.h
13606
$as_echo "#define HAVE_LIBBLKID_INTERNAL 1" >>confdefs.h
13610
if test "x$have_blkid" = xyes; then
14107
if test "x$enable_libblkid" = xyes; then
13612
14109
$as_echo "#define HAVE_LIBBLKID 1" >>confdefs.h
13652
14140
build_libmount=no
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
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; }
14155
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156
/* end confdefs.h. */
14157
# include <stdio.h>
14162
i = sscanf("x", "%ms", &s);
14168
if ac_fn_c_try_run "$LINENO"; then :
14169
scanf_cv_type_modifier=ms
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; }
14177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14178
/* end confdefs.h. */
14179
# include <stdio.h>
14184
i = sscanf("x", "%as", &s);
14190
if ac_fn_c_try_run "$LINENO"; then :
14191
scanf_cv_type_modifier=as
14193
scanf_cv_type_modifier=no
14196
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14197
conftest.$ac_objext conftest.beam conftest.$ac_ext
14202
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14203
conftest.$ac_objext conftest.beam conftest.$ac_ext
14210
case "$scanf_cv_type_modifier" in
14212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (%ms) yes" >&5
14213
$as_echo "(%ms) yes" >&6; }
14215
$as_echo "#define HAVE_SCANF_MS_MODIFIER 1" >>confdefs.h
14218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (%as) yes" >&5
14219
$as_echo "(%as) yes" >&6; }
14221
$as_echo "#define HAVE_SCANF_AS_MODIFIER 1" >>confdefs.h
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;}
13655
14234
case "$enable_libblkid:$build_libmount" in
13657
14236
as_fn_error $? "cannot enable libmount when libblkid is disabled" "$LINENO" 5 ;;
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" ;;
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)
20268
cat << \_LT_EOF >> "$cfgfile"
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.
20276
*/*) func_dirname_result="${1%/*}${2}" ;;
20277
* ) func_dirname_result="${3}" ;;
20281
# func_basename file
20284
func_basename_result="${1##*/}"
20287
# func_dirname_and_basename file append nondir_replacement
20288
# perform func_basename and func_dirname in a single function
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 ()
20302
*/*) func_dirname_result="${1%/*}${2}" ;;
20303
* ) func_dirname_result="${3}" ;;
20305
func_basename_result="${1##*/}"
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).
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}"}
20325
func_opt_split_opt=${1%%=*}
20326
func_opt_split_arg=${1#*=}
20333
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20334
*) func_lo2o_result=${1} ;;
20338
# func_xform libobj-or-source
20341
func_xform_result=${1%.*}.lo
20344
# func_arith arithmetic-term...
20347
func_arith_result=$(( $* ))
20351
# STRING may not start with a hyphen.
20354
func_len_result=${#1}
20359
*) # Bourne compatible functions.
20360
cat << \_LT_EOF >> "$cfgfile"
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.
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}"
20372
func_dirname_result="$func_dirname_result${2}"
20376
# func_basename file
20379
func_basename_result=`$ECHO "${1}" | $SED "$basename"`
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
20392
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20393
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20398
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20399
my_sed_long_arg='1s/^-[^=]*=//'
20404
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20405
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20411
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
20414
# func_xform libobj-or-source
20417
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20420
# func_arith arithmetic-term...
20423
func_arith_result=`expr "$@"`
20427
# STRING may not start with a hyphen.
20430
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20436
case $lt_shell_append in
20438
cat << \_LT_EOF >> "$cfgfile"
20440
# func_append var value
20441
# Append VALUE to the end of shell variable VAR.
20449
cat << \_LT_EOF >> "$cfgfile"
20451
# func_append var value
20452
# Append VALUE to the end of shell variable VAR.
20463
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20464
|| (rm -f "$cfgfile"; exit 1)
20466
mv -f "$cfgfile" "$ofile" ||
20933
sed '$q' "$ltmain" >> "$cfgfile" \
20934
|| (rm -f "$cfgfile"; exit 1)
20936
if test x"$xsi_shell" = xyes; then
20937
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20941
\ */*) func_dirname_result="${1%/*}${2}" ;;\
20942
\ * ) func_dirname_result="${3}" ;;\
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=:
20950
sed -e '/^func_basename ()$/,/^} # func_basename /c\
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=:
20960
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20961
func_dirname_and_basename ()\
20964
\ */*) func_dirname_result="${1%/*}${2}" ;;\
20965
\ * ) func_dirname_result="${3}" ;;\
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=:
20974
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
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=:
20988
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20989
func_split_long_opt ()\
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=:
20999
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21000
func_split_short_opt ()\
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=:
21010
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21014
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21015
\ *) func_lo2o_result=${1} ;;\
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=:
21023
sed -e '/^func_xform ()$/,/^} # func_xform /c\
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=:
21033
sed -e '/^func_arith ()$/,/^} # func_arith /c\
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=:
21043
sed -e '/^func_len ()$/,/^} # func_len /c\
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=:
21054
if test x"$lt_shell_append" = xyes; then
21055
sed -e '/^func_append ()$/,/^} # func_append /c\
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=:
21065
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21066
func_append_quoted ()\
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=:
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=:
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=:
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;}
21095
mv -f "$cfgfile" "$ofile" ||
20467
21096
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20468
21097
chmod +x "$ofile"