configure 502 KB
Newer Older
17001
to_host_file_cmd=$lt_cv_to_host_file_cmd
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17002

17003
17004
# convert \$build files to toolchain format.
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17005

17006
17007
# An object symbol dumper.
OBJDUMP=$lt_OBJDUMP
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17008

17009
17010
# Method to check whether dependent libraries are shared objects.
deplibs_check_method=$lt_deplibs_check_method
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17011

17012
17013
# Command to use when deplibs_check_method = "file_magic".
file_magic_cmd=$lt_file_magic_cmd
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17014

17015
17016
# How to find potential files when deplibs_check_method = "file_magic".
file_magic_glob=$lt_file_magic_glob
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17017

17018
17019
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
want_nocaseglob=$lt_want_nocaseglob
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17020

17021
17022
# DLL creation program.
DLLTOOL=$lt_DLLTOOL
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17023

17024
17025
# Command to associate shared and link libraries.
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17026

17027
17028
# The archiver.
AR=$lt_AR
17029

17030
17031
# Flags to create an archive.
AR_FLAGS=$lt_AR_FLAGS
17032

17033
17034
# How to feed a file listing to the archiver.
archiver_list_spec=$lt_archiver_list_spec
17035

17036
17037
# A symbol stripping program.
STRIP=$lt_STRIP
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17038

17039
17040
17041
17042
# Commands used to install an old-style archive.
RANLIB=$lt_RANLIB
old_postinstall_cmds=$lt_old_postinstall_cmds
old_postuninstall_cmds=$lt_old_postuninstall_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17043

17044
17045
# Whether to use a lock for old archive extraction.
lock_old_archive_extraction=$lock_old_archive_extraction
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17046

17047
17048
# A C compiler.
LTCC=$lt_CC
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17049

17050
17051
# LTCC compiler flags.
LTCFLAGS=$lt_CFLAGS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17052

17053
17054
# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17055

17056
17057
# Transform the output of nm in a proper C declaration.
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17058

17059
17060
# Transform the output of nm in a C name address pair.
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17061

17062
17063
# Transform the output of nm in a C name address pair when lib prefix is needed.
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17064

17065
17066
# Specify filename containing input files for \$NM.
nm_file_list_spec=$lt_nm_file_list_spec
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17067

17068
17069
# The root where to search for dependent libraries,and in which our libraries should be installed.
lt_sysroot=$lt_sysroot
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17070

17071
17072
# The name of the directory that contains temporary libtool files.
objdir=$objdir
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17073

17074
17075
# Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=$MAGIC_CMD
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17076

17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
# Must we lock files when doing compilation?
need_locks=$lt_need_locks

# Manifest tool.
MANIFEST_TOOL=$lt_MANIFEST_TOOL

# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
DSYMUTIL=$lt_DSYMUTIL

# Tool to change global to local symbols on Mac OS X.
NMEDIT=$lt_NMEDIT

# Tool to manipulate fat objects and archives on Mac OS X.
LIPO=$lt_LIPO

# ldd/readelf like tool for Mach-O binaries on Mac OS X.
OTOOL=$lt_OTOOL

# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
OTOOL64=$lt_OTOOL64

# Old archive suffix (normally "a").
libext=$libext

# Shared library suffix (normally ".so").
shrext_cmds=$lt_shrext_cmds

# The commands to extract the exported symbol list from a shared archive.
extract_expsyms_cmds=$lt_extract_expsyms_cmds

# Variables whose values should be saved in libtool wrapper scripts and
# restored at link time.
variables_saved_for_relink=$lt_variables_saved_for_relink

# Do we need the "lib" prefix for modules?
need_lib_prefix=$need_lib_prefix

# Do we need a version for libraries?
need_version=$need_version

# Library versioning type.
version_type=$version_type

# Shared library runtime path variable.
runpath_var=$runpath_var

# Shared library path variable.
shlibpath_var=$shlibpath_var

# Is shlibpath searched before the hard-coded library search path?
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17128

17129
17130
# Format of library name prefix.
libname_spec=$lt_libname_spec
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17131

17132
17133
17134
# List of archive names.  First name is the real one, the rest are links.
# The last name is the one that the linker finds with -lNAME
library_names_spec=$lt_library_names_spec
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17135

17136
17137
# The coded name of the library, if different from the real name.
soname_spec=$lt_soname_spec
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17138

17139
17140
# Permission mode override for installation of shared libraries.
install_override_mode=$lt_install_override_mode
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17141

17142
17143
# Command to use after installation of a shared archive.
postinstall_cmds=$lt_postinstall_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17144

17145
17146
# Command to use after uninstallation of a shared archive.
postuninstall_cmds=$lt_postuninstall_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17147

17148
17149
# Commands used to finish a libtool library installation in a directory.
finish_cmds=$lt_finish_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17150

17151
17152
17153
# As "finish_cmds", except a single script fragment to be evaled but
# not shown.
finish_eval=$lt_finish_eval
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17154

17155
17156
# Whether we should hardcode library paths into libraries.
hardcode_into_libs=$hardcode_into_libs
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17157

17158
17159
# Compile-time system search path for libraries.
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17160

17161
17162
# Run-time system search path for libraries.
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17163

17164
17165
# Whether dlopen is supported.
dlopen_support=$enable_dlopen
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17166

17167
17168
# Whether dlopen of programs is supported.
dlopen_self=$enable_dlopen_self
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17169

17170
17171
# Whether dlopen of statically linked programs is supported.
dlopen_self_static=$enable_dlopen_self_static
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17172

17173
17174
17175
# Commands to strip libraries.
old_striplib=$lt_old_striplib
striplib=$lt_striplib
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17176
17177


17178
17179
# The linker used to build libraries.
LD=$lt_LD
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17180

17181
17182
17183
# How to create reloadable object files.
reload_flag=$lt_reload_flag
reload_cmds=$lt_reload_cmds
17184

17185
17186
# Commands used to build an old-style archive.
old_archive_cmds=$lt_old_archive_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17187

17188
17189
# A language specific compiler.
CC=$lt_compiler
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17190

17191
17192
# Is the compiler the GNU compiler?
with_gcc=$GCC
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17193

17194
17195
# Compiler flag to turn off builtin functions.
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17196

17197
17198
# Additional compiler flags for building library objects.
pic_flag=$lt_lt_prog_compiler_pic
17199

17200
17201
# How to pass a linker flag through the compiler.
wl=$lt_lt_prog_compiler_wl
17202

17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
# Compiler flag to prevent dynamic linking.
link_static_flag=$lt_lt_prog_compiler_static

# Does compiler simultaneously support -c and -o options?
compiler_c_o=$lt_lt_cv_prog_compiler_c_o

# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=$archive_cmds_need_lc

# Whether or not to disallow shared libs when runtime libs are static.
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes

# Compiler flag to allow reflexive dlopens.
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec

# Compiler flag to generate shared objects directly from archives.
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17220

17221
17222
# Whether the compiler copes with passing no objects directly.
compiler_needs_object=$lt_compiler_needs_object
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17223

17224
17225
# Create an old-style archive from a shared archive.
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17226

17227
17228
# Create a temporary old-style archive to link instead of a shared archive.
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17229

17230
17231
17232
# Commands used to build a shared archive.
archive_cmds=$lt_archive_cmds
archive_expsym_cmds=$lt_archive_expsym_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17233

17234
17235
17236
17237
# Commands used to build a loadable module if different from building
# a shared archive.
module_cmds=$lt_module_cmds
module_expsym_cmds=$lt_module_expsym_cmds
17238

17239
17240
# Whether we are building with GNU ld or not.
with_gnu_ld=$lt_with_gnu_ld
17241

17242
17243
# Flag that allows shared libraries with undefined symbols to be built.
allow_undefined_flag=$lt_allow_undefined_flag
17244

17245
17246
# Flag that enforces no undefined symbols.
no_undefined_flag=$lt_no_undefined_flag
17247

17248
17249
17250
# Flag to hardcode \$libdir into a binary during linking.
# This must work even if \$libdir does not exist
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17251

17252
17253
# Whether we need a single "-rpath" flag with a separated argument.
hardcode_libdir_separator=$lt_hardcode_libdir_separator
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17254

17255
17256
17257
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
# DIR into the resulting binary.
hardcode_direct=$hardcode_direct
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17258

17259
17260
17261
17262
17263
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
# DIR into the resulting binary and the resulting library dependency is
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
# library is relocated.
hardcode_direct_absolute=$hardcode_direct_absolute
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17264

17265
17266
17267
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
# into the resulting binary.
hardcode_minus_L=$hardcode_minus_L
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17268

17269
17270
17271
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
# into the resulting binary.
hardcode_shlibpath_var=$hardcode_shlibpath_var
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17272

17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
# Set to "yes" if building a shared library automatically hardcodes DIR
# into the library and all subsequent libraries and executables linked
# against it.
hardcode_automatic=$hardcode_automatic

# Set to yes if linker adds runtime paths of dependent libraries
# to runtime path list.
inherit_rpath=$inherit_rpath

# Whether libtool must link a program against all its dependency libraries.
link_all_deplibs=$link_all_deplibs

# Set to "yes" if exported symbols are required.
always_export_symbols=$always_export_symbols

# The commands to list exported symbols.
export_symbols_cmds=$lt_export_symbols_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17290

17291
17292
# Symbols that should not be listed in the preloaded symbols.
exclude_expsyms=$lt_exclude_expsyms
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17293

17294
17295
# Symbols that must always be exported.
include_expsyms=$lt_include_expsyms
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17296

17297
17298
# Commands necessary for linking programs (against libraries) with templates.
prelink_cmds=$lt_prelink_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17299

17300
17301
# Commands necessary for finishing linking programs.
postlink_cmds=$lt_postlink_cmds
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17302

17303
17304
# Specify filename containing input files.
file_list_spec=$lt_file_list_spec
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17305

17306
17307
# How to hardcode a shared library path into an executable.
hardcode_action=$hardcode_action
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17308

17309
# ### END LIBTOOL CONFIG
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17310

17311
_LT_EOF
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17312

17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
  case $host_os in
  aix3*)
    cat <<\_LT_EOF >> "$cfgfile"
# AIX sometimes has problems with the GCC collect2 program.  For some
# reason, if we set the COLLECT_NAMES environment variable, the problems
# vanish in a puff of smoke.
if test "X${COLLECT_NAMES+set}" != Xset; then
  COLLECT_NAMES=
  export COLLECT_NAMES
fi
_LT_EOF
    ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17325
17326
17327
  esac


17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
ltmain="$ac_aux_dir/ltmain.sh"


  # We use sed instead of cat because bash on DJGPP gets confused if
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  # text mode, it properly converts lines to CR/LF.  This bash problem
  # is reportedly fixed, but why not run on old versions too?
  sed '$q' "$ltmain" >> "$cfgfile" \
     || (rm -f "$cfgfile"; exit 1)

  if test x"$xsi_shell" = xyes; then
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
func_dirname ()\
{\
\    case ${1} in\
\      */*) func_dirname_result="${1%/*}${2}" ;;\
\      *  ) func_dirname_result="${3}" ;;\
\    esac\
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_basename ()$/,/^} # func_basename /c\
func_basename ()\
{\
\    func_basename_result="${1##*/}"\
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
func_dirname_and_basename ()\
{\
\    case ${1} in\
\      */*) func_dirname_result="${1%/*}${2}" ;;\
\      *  ) func_dirname_result="${3}" ;;\
\    esac\
\    func_basename_result="${1##*/}"\
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
func_stripname ()\
{\
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
\    # positional parameters, so assign one to ordinary parameter first.\
\    func_stripname_result=${3}\
\    func_stripname_result=${func_stripname_result#"${1}"}\
\    func_stripname_result=${func_stripname_result%"${2}"}\
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
func_split_long_opt ()\
{\
\    func_split_long_opt_name=${1%%=*}\
\    func_split_long_opt_arg=${1#*=}\
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
func_split_short_opt ()\
{\
\    func_split_short_opt_arg=${1#??}\
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
func_lo2o ()\
{\
\    case ${1} in\
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
\      *)    func_lo2o_result=${1} ;;\
\    esac\
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_xform ()$/,/^} # func_xform /c\
func_xform ()\
{\
    func_xform_result=${1%.*}.lo\
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_arith ()$/,/^} # func_arith /c\
func_arith ()\
{\
    func_arith_result=$(( $* ))\
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_len ()$/,/^} # func_len /c\
func_len ()\
{\
    func_len_result=${#1}\
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:

fi

if test x"$lt_shell_append" = xyes; then
  sed -e '/^func_append ()$/,/^} # func_append /c\
func_append ()\
{\
    eval "${1}+=\\${2}"\
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
func_append_quoted ()\
{\
\    func_quote_for_eval "${2}"\
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  && mv -f "$cfgfile.tmp" "$cfgfile" \
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
test 0 -eq $? || _lt_function_replace_fail=:


  # Save a `func_append' function call where possible by direct use of '+='
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
    && mv -f "$cfgfile.tmp" "$cfgfile" \
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  test 0 -eq $? || _lt_function_replace_fail=:
else
  # Save a `func_append' function call even when '+=' is not available
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
    && mv -f "$cfgfile.tmp" "$cfgfile" \
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  test 0 -eq $? || _lt_function_replace_fail=:
fi

if test x"$_lt_function_replace_fail" = x":"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
fi


   mv -f "$cfgfile" "$ofile" ||
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  chmod +x "$ofile"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17500
17501

 ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17502

Emmanuel Bertin's avatar
Emmanuel Bertin committed
17503
  esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17504
done # for ac_tag
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17505
17506


17507
as_fn_exit 0
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17508
17509
17510
_ACEOF
ac_clean_files=$ac_clean_files_save

17511
test $ac_write_fail = 0 ||
17512
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17513

Emmanuel Bertin's avatar
Emmanuel Bertin committed
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532

# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded.  So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status.  When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
  ac_cs_success=:
  ac_config_status_args=
  test "$silent" = yes &&
    ac_config_status_args="$ac_config_status_args --quiet"
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  exec 5>>config.log
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  # would make configure fail if this is the last instruction.
17533
  $ac_cs_success || as_fn_exit 1
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17534
fi
17535
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17536
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17537
17538
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17539
For faster browsing, not all history is shown. View entire blame