1#! /bin/sh
2# Generated by configure.
3# Run this file to recreate the current configuration.
4# Compiler output produced by configure, useful for debugging
5# configure, is in config.log if it exists.
6
7debug=false
8ac_cs_recheck=false
9ac_cs_silent=false
10
11SHELL=${CONFIG_SHELL-/bin/sh}
12export SHELL
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20then :
21  emulate sh
22  NULLCMD=:
23  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24  # is contrary to our usage.  Disable this feature.
25  alias -g '${1+"$@"}'='"$@"'
26  setopt NO_GLOB_SUBST
27else case e in #(
28  e) case `(set -o) 2>/dev/null` in #(
29  *posix*) :
30    set -o posix ;; #(
31  *) :
32     ;;
33esac ;;
34esac
35fi
36
37
38
39# Reset variables that may have inherited troublesome values from
40# the environment.
41
42# IFS needs to be set, to space, tab, and newline, in precisely that order.
43# (If _AS_PATH_WALK were called with IFS unset, it would have the
44# side effect of setting IFS to empty, thus disabling word splitting.)
45# Quoting is to prevent editors from complaining about space-tab.
46as_nl='
47'
48export as_nl
49IFS=" ""	$as_nl"
50
51PS1='$ '
52PS2='> '
53PS4='+ '
54
55# Ensure predictable behavior from utilities with locale-dependent output.
56LC_ALL=C
57export LC_ALL
58LANGUAGE=C
59export LANGUAGE
60
61# We cannot yet rely on "unset" to work, but we need these variables
62# to be unset--not just set to an empty or harmless value--now, to
63# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
64# also avoids known problems related to "unset" and subshell syntax
65# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67do eval test \${$as_var+y} \
68  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
69done
70
71# Ensure that fds 0, 1, and 2 are open.
72if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
75
76# The user is always right.
77if ${PATH_SEPARATOR+false} :; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# Find who we are.  Look in the path if we contain no directory separator.
87as_myself=
88case $0 in #((
89  *[\\/]* ) as_myself=$0 ;;
90  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
91for as_dir in $PATH
92do
93  IFS=$as_save_IFS
94  case $as_dir in #(((
95    '') as_dir=./ ;;
96    */) ;;
97    *) as_dir=$as_dir/ ;;
98  esac
99    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
100  done
101IFS=$as_save_IFS
102
103     ;;
104esac
105# We did not find ourselves, most probably we were run as 'sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108  as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112  exit 1
113fi
114
115
116
117# as_fn_error STATUS ERROR [LINENO LOG_FD]
118# ----------------------------------------
119# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
120# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
121# script with STATUS, using 1 if that was 0.
122as_fn_error ()
123{
124  as_status=$1; test $as_status -eq 0 && as_status=1
125  if test "$4"; then
126    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
127    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
128  fi
129  printf "%s\n" "$as_me: error: $2" >&2
130  as_fn_exit $as_status
131} # as_fn_error
132
133
134# as_fn_set_status STATUS
135# -----------------------
136# Set $? to STATUS, without forking.
137as_fn_set_status ()
138{
139  return $1
140} # as_fn_set_status
141
142# as_fn_exit STATUS
143# -----------------
144# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
145as_fn_exit ()
146{
147  set +e
148  as_fn_set_status $1
149  exit $1
150} # as_fn_exit
151
152# as_fn_unset VAR
153# ---------------
154# Portably unset VAR.
155as_fn_unset ()
156{
157  { eval $1=; unset $1;}
158}
159as_unset=as_fn_unset
160
161# as_fn_append VAR VALUE
162# ----------------------
163# Append the text in VALUE to the end of the definition contained in VAR. Take
164# advantage of any shell optimizations that allow amortized linear growth over
165# repeated appends, instead of the typical quadratic growth present in naive
166# implementations.
167if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
168then :
169  eval 'as_fn_append ()
170  {
171    eval $1+=\$2
172  }'
173else case e in #(
174  e) as_fn_append ()
175  {
176    eval $1=\$$1\$2
177  } ;;
178esac
179fi # as_fn_append
180
181# as_fn_arith ARG...
182# ------------------
183# Perform arithmetic evaluation on the ARGs, and store the result in the
184# global $as_val. Take advantage of shells that can avoid forks. The arguments
185# must be portable across $(()) and expr.
186if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
187then :
188  eval 'as_fn_arith ()
189  {
190    as_val=$(( $* ))
191  }'
192else case e in #(
193  e) as_fn_arith ()
194  {
195    as_val=`expr "$@" || test $? -eq 1`
196  } ;;
197esac
198fi # as_fn_arith
199
200
201if expr a : '\(a\)' >/dev/null 2>&1 &&
202   test "X`expr 00001 : '.*\(...\)'`" = X001; then
203  as_expr=expr
204else
205  as_expr=false
206fi
207
208if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
209  as_basename=basename
210else
211  as_basename=false
212fi
213
214if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
215  as_dirname=dirname
216else
217  as_dirname=false
218fi
219
220as_me=`$as_basename -- "$0" ||
221$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
222	 X"$0" : 'X\(//\)$' \| \
223	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
224printf "%s\n" X/"$0" |
225    sed '/^.*\/\([^/][^/]*\)\/*$/{
226	    s//\1/
227	    q
228	  }
229	  /^X\/\(\/\/\)$/{
230	    s//\1/
231	    q
232	  }
233	  /^X\/\(\/\).*/{
234	    s//\1/
235	    q
236	  }
237	  s/.*/./; q'`
238
239# Avoid depending upon Character Ranges.
240as_cr_letters='abcdefghijklmnopqrstuvwxyz'
241as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
242as_cr_Letters=$as_cr_letters$as_cr_LETTERS
243as_cr_digits='0123456789'
244as_cr_alnum=$as_cr_Letters$as_cr_digits
245
246
247# Determine whether it's possible to make 'echo' print without a newline.
248# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
249# for compatibility with existing Makefiles.
250ECHO_C= ECHO_N= ECHO_T=
251case `echo -n x` in #(((((
252-n*)
253  case `echo 'xy\c'` in
254  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
255  xy)  ECHO_C='\c';;
256  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
257       ECHO_T='	';;
258  esac;;
259*)
260  ECHO_N='-n';;
261esac
262
263# For backward compatibility with old third-party macros, we provide
264# the shell variables $as_echo and $as_echo_n.  New code should use
265# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
266as_echo='printf %s\n'
267as_echo_n='printf %s'
268
269rm -f conf$$ conf$$.exe conf$$.file
270if test -d conf$$.dir; then
271  rm -f conf$$.dir/conf$$.file
272else
273  rm -f conf$$.dir
274  mkdir conf$$.dir 2>/dev/null
275fi
276if (echo >conf$$.file) 2>/dev/null; then
277  if ln -s conf$$.file conf$$ 2>/dev/null; then
278    as_ln_s='ln -s'
279    # ... but there are two gotchas:
280    # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
281    # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
282    # In both cases, we have to default to 'cp -pR'.
283    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
284      as_ln_s='cp -pR'
285  elif ln conf$$.file conf$$ 2>/dev/null; then
286    as_ln_s=ln
287  else
288    as_ln_s='cp -pR'
289  fi
290else
291  as_ln_s='cp -pR'
292fi
293rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
294rmdir conf$$.dir 2>/dev/null
295
296
297# as_fn_mkdir_p
298# -------------
299# Create "$as_dir" as a directory, including parents if necessary.
300as_fn_mkdir_p ()
301{
302
303  case $as_dir in #(
304  -*) as_dir=./$as_dir;;
305  esac
306  test -d "$as_dir" || eval $as_mkdir_p || {
307    as_dirs=
308    while :; do
309      case $as_dir in #(
310      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311      *) as_qdir=$as_dir;;
312      esac
313      as_dirs="'$as_qdir' $as_dirs"
314      as_dir=`$as_dirname -- "$as_dir" ||
315$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
316	 X"$as_dir" : 'X\(//\)[^/]' \| \
317	 X"$as_dir" : 'X\(//\)$' \| \
318	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
319printf "%s\n" X"$as_dir" |
320    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
321	    s//\1/
322	    q
323	  }
324	  /^X\(\/\/\)[^/].*/{
325	    s//\1/
326	    q
327	  }
328	  /^X\(\/\/\)$/{
329	    s//\1/
330	    q
331	  }
332	  /^X\(\/\).*/{
333	    s//\1/
334	    q
335	  }
336	  s/.*/./; q'`
337      test -d "$as_dir" && break
338    done
339    test -z "$as_dirs" || eval "mkdir $as_dirs"
340  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
341
342
343} # as_fn_mkdir_p
344if mkdir -p . 2>/dev/null; then
345  as_mkdir_p='mkdir -p "$as_dir"'
346else
347  test -d ./-p && rmdir ./-p
348  as_mkdir_p=false
349fi
350
351
352# as_fn_executable_p FILE
353# -----------------------
354# Test if FILE is an executable regular file.
355as_fn_executable_p ()
356{
357  test -f "$1" && test -x "$1"
358} # as_fn_executable_p
359as_test_x='test -x'
360as_executable_p=as_fn_executable_p
361
362# Sed expression to map a string onto a valid CPP name.
363as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
364as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
365
366# Sed expression to map a string onto a valid variable name.
367as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
368as_tr_sh="eval sed '$as_sed_sh'" # deprecated
369
370
371exec 6>&1
372## ----------------------------------- ##
373## Main body of $CONFIG_STATUS script. ##
374## ----------------------------------- ##
375# Save the log message, to keep $0 and so on meaningful, and to
376# report actual input values of CONFIG_FILES etc. instead of their
377# values after options handling.
378ac_log="
379This file was extended by sqlite $as_me 3.40.0, which was
380generated by GNU Autoconf 2.72.  Invocation command line was
381
382  CONFIG_FILES    = $CONFIG_FILES
383  CONFIG_HEADERS  = $CONFIG_HEADERS
384  CONFIG_LINKS    = $CONFIG_LINKS
385  CONFIG_COMMANDS = $CONFIG_COMMANDS
386  $ $0 $@
387
388on `(hostname || uname -n) 2>/dev/null | sed 1q`
389"
390
391# Files that config.status was made for.
392config_files=" Makefile sqlite3.pc"
393config_headers=" sqlite_cfg.h"
394config_commands=" libtool"
395
396ac_cs_usage="\
397'$as_me' instantiates files and other configuration actions
398from templates according to the current configuration.  Unless the files
399and actions are specified as TAGs, all are instantiated by default.
400
401Usage: $0 [OPTION]... [TAG]...
402
403  -h, --help       print this help, then exit
404  -V, --version    print version number and configuration settings, then exit
405      --config     print configuration, then exit
406  -q, --quiet, --silent
407                   do not print progress messages
408  -d, --debug      don't remove temporary files
409      --recheck    update $as_me by reconfiguring in the same conditions
410      --file=FILE[:TEMPLATE]
411                   instantiate the configuration file FILE
412      --header=FILE[:TEMPLATE]
413                   instantiate the configuration header FILE
414
415Configuration files:
416$config_files
417
418Configuration headers:
419$config_headers
420
421Configuration commands:
422$config_commands
423
424Report bugs to the package provider."
425
426ac_cs_config='CC=clang15 CFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address'
427ac_cs_version="\
428sqlite config.status 3.40.0
429configured by ../configure, generated by GNU Autoconf 2.72,
430  with options \"$ac_cs_config\"
431
432Copyright (C) 2023 Free Software Foundation, Inc.
433This config.status script is free software; the Free Software Foundation
434gives unlimited permission to copy, distribute and modify it."
435
436ac_pwd='/home/hao/dev/sqlite/build'
437srcdir='..'
438INSTALL='/usr/bin/install -c'
439AWK='nawk'
440test -n "$AWK" || AWK=awk
441# The default lists apply if the user does not specify any file.
442ac_need_defaults=:
443while test $# != 0
444do
445  case $1 in
446  --*=?*)
447    ac_option=`expr "X$1" : 'X\([^=]*\)='`
448    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
449    ac_shift=:
450    ;;
451  --*=)
452    ac_option=`expr "X$1" : 'X\([^=]*\)='`
453    ac_optarg=
454    ac_shift=:
455    ;;
456  *)
457    ac_option=$1
458    ac_optarg=$2
459    ac_shift=shift
460    ;;
461  esac
462
463  case $ac_option in
464  # Handling of the options.
465  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
466    ac_cs_recheck=: ;;
467  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
468    printf "%s\n" "$ac_cs_version"; exit ;;
469  --config | --confi | --conf | --con | --co | --c )
470    printf "%s\n" "$ac_cs_config"; exit ;;
471  --debug | --debu | --deb | --de | --d | -d )
472    debug=: ;;
473  --file | --fil | --fi | --f )
474    $ac_shift
475    case $ac_optarg in
476    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
477    '') as_fn_error $? "missing file argument" ;;
478    esac
479    as_fn_append CONFIG_FILES " '$ac_optarg'"
480    ac_need_defaults=false;;
481  --header | --heade | --head | --hea )
482    $ac_shift
483    case $ac_optarg in
484    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
485    esac
486    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
487    ac_need_defaults=false;;
488  --he | --h)
489    # Conflict between --help and --header
490    as_fn_error $? "ambiguous option: '$1'
491Try '$0 --help' for more information.";;
492  --help | --hel | -h )
493    printf "%s\n" "$ac_cs_usage"; exit ;;
494  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
495  | -silent | --silent | --silen | --sile | --sil | --si | --s)
496    ac_cs_silent=: ;;
497
498  # This is an error.
499  -*) as_fn_error $? "unrecognized option: '$1'
500Try '$0 --help' for more information." ;;
501
502  *) as_fn_append ac_config_targets " $1"
503     ac_need_defaults=false ;;
504
505  esac
506  shift
507done
508
509ac_configure_extra_args=
510
511if $ac_cs_silent; then
512  exec 6>/dev/null
513  ac_configure_extra_args="$ac_configure_extra_args --silent"
514fi
515
516if $ac_cs_recheck; then
517  set X /bin/sh '../configure'  'CC=clang15' 'CFLAGS=-fsanitize=address' 'LDFLAGS=-fsanitize=address' $ac_configure_extra_args --no-create --no-recursion
518  shift
519  \printf "%s\n" "running CONFIG_SHELL=/bin/sh $*" >&6
520  CONFIG_SHELL='/bin/sh'
521  export CONFIG_SHELL
522  exec "$@"
523fi
524
525exec 5>>config.log
526{
527  echo
528  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
529## Running $as_me. ##
530_ASBOX
531  printf "%s\n" "$ac_log"
532} >&5
533
534#
535# INIT-COMMANDS
536#
537
538
539# The HP-UX ksh and POSIX shell print the target directory to stdout
540# if CDPATH is set.
541(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
542
543sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
544double_quote_subst='s/\(["`\\]\)/\\\1/g'
545delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
546macro_version='2.5.4'
547macro_revision='2.5.4'
548enable_shared='yes'
549enable_static='yes'
550pic_mode='default'
551enable_fast_install='needless'
552shared_archive_member_spec=''
553SHELL='/bin/sh'
554ECHO='printf %s\n'
555PATH_SEPARATOR=':'
556host_alias=''
557host='x86_64-unknown-freebsd14.2'
558host_os='freebsd14.2'
559build_alias=''
560build='x86_64-unknown-freebsd14.2'
561build_os='freebsd14.2'
562SED='/usr/bin/sed'
563Xsed='/usr/bin/sed -e 1s/^X//'
564GREP='/usr/bin/grep'
565EGREP='/usr/bin/grep -E'
566FGREP='/usr/bin/grep -F'
567LD='/usr/local/llvm15/bin/ld'
568NM='/usr/local/bin/nm -B'
569LN_S='ln -s'
570max_cmd_len='393216'
571ac_objext='o'
572exeext=''
573lt_unset='unset'
574lt_SP2NL='tr \040 \012'
575lt_NL2SP='tr \015\012 \040\040'
576lt_cv_to_host_file_cmd='func_convert_file_noop'
577lt_cv_to_tool_file_cmd='func_convert_file_noop'
578reload_flag=' -r'
579reload_cmds='$LD$reload_flag -o $output$reload_objs'
580FILECMD='file'
581OBJDUMP='objdump'
582deplibs_check_method='pass_all'
583file_magic_cmd='$MAGIC_CMD'
584file_magic_glob=''
585want_nocaseglob='no'
586DLLTOOL='false'
587sharedlib_from_linklib_cmd='printf %s\n'
588AR='ar'
589lt_ar_flags='cr'
590AR_FLAGS='cr'
591archiver_list_spec=''
592STRIP='strip'
593RANLIB='ranlib'
594old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
595old_postuninstall_cmds=''
596old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
597lock_old_archive_extraction='no'
598CC='clang15'
599CFLAGS=' -fsanitize=address -DSQLITE_OS_UNIX=1'
600compiler='clang15'
601GCC='yes'
602lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
603lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
604lt_cv_sys_global_symbol_to_import=''
605lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
606lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
607lt_cv_nm_interface='BSD nm'
608nm_file_list_spec='@'
609lt_sysroot=''
610lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
611objdir='.libs'
612MAGIC_CMD='file'
613lt_prog_compiler_no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
614lt_prog_compiler_pic=' -fPIC -DPIC'
615lt_prog_compiler_wl='-Wl,'
616lt_prog_compiler_static=''
617lt_cv_prog_compiler_c_o='yes'
618need_locks='no'
619MANIFEST_TOOL=':'
620DSYMUTIL=''
621NMEDIT=''
622LIPO=''
623OTOOL=''
624OTOOL64=''
625libext='a'
626shrext_cmds='.so'
627extract_expsyms_cmds=''
628archive_cmds_need_lc='no'
629enable_shared_with_static_runtimes='no'
630export_dynamic_flag_spec='$wl--export-dynamic'
631whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
632compiler_needs_object='no'
633old_archive_from_new_cmds=''
634old_archive_from_expsyms_cmds=''
635archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
636archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
637module_cmds=''
638module_expsym_cmds=''
639with_gnu_ld='yes'
640allow_undefined_flag=''
641no_undefined_flag=''
642hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
643hardcode_libdir_separator=''
644hardcode_direct='no'
645hardcode_direct_absolute='no'
646hardcode_minus_L='no'
647hardcode_shlibpath_var='unsupported'
648hardcode_automatic='no'
649inherit_rpath='no'
650link_all_deplibs='unknown'
651always_export_symbols='no'
652export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
653exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
654include_expsyms=''
655prelink_cmds=''
656postlink_cmds=''
657file_list_spec=''
658variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
659need_lib_prefix='no'
660need_version='no'
661version_type='freebsd-elf'
662runpath_var='LD_RUN_PATH'
663shlibpath_var='LD_LIBRARY_PATH'
664shlibpath_overrides_runpath='yes'
665libname_spec='lib$name'
666library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
667soname_spec='$libname$release$shared_ext$major'
668install_override_mode=''
669postinstall_cmds=''
670postuninstall_cmds=''
671finish_cmds=''
672finish_eval=''
673hardcode_into_libs='yes'
674sys_lib_search_path_spec='/usr/local/llvm15/lib/clang/15.0.7 /usr/lib '
675configure_time_dlsearch_path='/lib /usr/lib'
676configure_time_lt_sys_library_path=''
677hardcode_action='immediate'
678enable_dlopen='unknown'
679enable_dlopen_self='unknown'
680enable_dlopen_self_static='unknown'
681old_striplib='strip --strip-debug'
682striplib='strip --strip-unneeded'
683
684LTCC='clang15'
685LTCFLAGS='-fsanitize=address'
686compiler='clang15'
687
688# A function that is used when there is no print builtin or printf.
689func_fallback_echo ()
690{
691  eval 'cat <<_LTECHO_EOF
692$1
693_LTECHO_EOF'
694}
695
696# Quote evaled strings.
697for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag FILECMD OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_import lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix lt_cv_nm_interface nm_file_list_spec lt_cv_truncate_bin lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib; do
698    case `eval \\$ECHO \\""\\$$var"\\"` in
699    *[\\\`\"\$]*)
700      eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
701      ;;
702    *)
703      eval "lt_$var=\\\"\$$var\\\""
704      ;;
705    esac
706done
707
708# Double-quote double-evaled strings.
709for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec configure_time_dlsearch_path configure_time_lt_sys_library_path; do
710    case `eval \\$ECHO \\""\\$$var"\\"` in
711    *[\\\`\"\$]*)
712      eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
713      ;;
714    *)
715      eval "lt_$var=\\\"\$$var\\\""
716      ;;
717    esac
718done
719
720ac_aux_dir='../'
721
722# See if we are running on zsh, and set the options that allow our
723# commands through without removal of \ escapes INIT.
724if test -n "${ZSH_VERSION+set}"; then
725   setopt NO_GLOB_SUBST
726fi
727
728
729    PACKAGE=''
730    VERSION='3.40'
731    RM='rm -f'
732    ofile='libtool'
733
734
735
736
737
738# Handling of arguments.
739for ac_config_target in $ac_config_targets
740do
741  case $ac_config_target in
742    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
743    "sqlite_cfg.h") CONFIG_HEADERS="$CONFIG_HEADERS sqlite_cfg.h" ;;
744    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
745    "sqlite3.pc") CONFIG_FILES="$CONFIG_FILES sqlite3.pc" ;;
746
747  *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
748  esac
749done
750
751
752# If the user did not use the arguments to specify the items to instantiate,
753# then the envvar interface is used.  Set only those that are not.
754# We use the long form for the default assignment because of an extremely
755# bizarre bug on SunOS 4.1.3.
756if $ac_need_defaults; then
757  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
758  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
759  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
760fi
761
762# Have a temporary directory for convenience.  Make it in the build tree
763# simply because there is no reason against having it here, and in addition,
764# creating and moving files from /tmp can sometimes cause problems.
765# Hook for its removal unless debugging.
766# Note that there is a small window in which the directory will not be cleaned:
767# after its creation but before its name has been assigned to '$tmp'.
768$debug ||
769{
770  tmp= ac_tmp=
771  trap 'exit_status=$?
772  : "${ac_tmp:=$tmp}"
773  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
774' 0
775  trap 'as_fn_exit 1' 1 2 13 15
776}
777# Create a (secure) tmp directory for tmp files.
778
779{
780  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
781  test -d "$tmp"
782}  ||
783{
784  tmp=./conf$$-$RANDOM
785  (umask 077 && mkdir "$tmp")
786} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
787ac_tmp=$tmp
788
789# Set up the scripts for CONFIG_FILES section.
790# No need to generate them if there are no CONFIG_FILES.
791# This happens for instance with './config.status config.h'.
792if test -n "$CONFIG_FILES"; then
793
794
795ac_cr=`echo X | tr X '\015'`
796# On cygwin, bash can eat \r inside `` if the user requested igncr.
797# But we know of no other shell where ac_cr would be empty at this
798# point, so we can use a bashism as a fallback.
799if test "x$ac_cr" = x; then
800  eval ac_cr=\$\'\\r\'
801fi
802ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
803if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
804  ac_cs_awk_cr='\\r'
805else
806  ac_cs_awk_cr=$ac_cr
807fi
808
809echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
810cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
811S["LTLIBOBJS"]=""
812S["LIBOBJS"]=""
813S["BUILD_CFLAGS"]=" -fsanitize=address"
814S["AMALGAMATION_LINE_MACROS"]="--linemacros=0"
815S["USE_GCOV"]="0"
816S["OPT_FEATURE_FLAGS"]=" -DSQLITE_ENABLE_MATH_FUNCTIONS"
817S["HAVE_ZLIB"]="-DSQLITE_HAVE_ZLIB=1"
818S["USE_AMALGAMATION"]="1"
819S["TARGET_DEBUG"]="-DNDEBUG"
820S["TARGET_HAVE_EDITLINE"]="1"
821S["TARGET_HAVE_READLINE"]="0"
822S["TARGET_READLINE_INC"]=""
823S["TARGET_READLINE_LIBS"]="-ledit "
824S["HAVE_TCL"]="1"
825S["TCL_SHLIB_SUFFIX"]=".so"
826S["TCL_STUB_LIB_SPEC"]="-L/usr/local/lib -ltclstub86"
827S["TCL_STUB_LIB_FLAG"]="-ltclstub86"
828S["TCL_STUB_LIB_FILE"]="libtclstub86.a"
829S["TCL_LIB_SPEC"]="-L/usr/local/lib -ltcl86"
830S["TCL_LIB_FLAG"]="-ltcl86"
831S["TCL_LIB_FILE"]="libtcl86.so.1"
832S["TCL_INCLUDE_SPEC"]="-I/usr/local/include/tcl8.6"
833S["TCL_SRC_DIR"]="/usr/local/include/tcl8.6"
834S["TCL_BIN_DIR"]="/usr/local/lib/tcl8.6"
835S["TCL_VERSION"]="8.6"
836S["TARGET_EXEEXT"]=""
837S["SQLITE_OS_WIN"]="0"
838S["SQLITE_OS_UNIX"]="1"
839S["BUILD_EXEEXT"]=""
840S["TEMP_STORE"]="1"
841S["ALLOWRELEASE"]=""
842S["SQLITE_THREADSAFE"]="1"
843S["BUILD_CC"]="clang15"
844S["RELEASE"]="3.40.0"
845S["VERSION"]="3.40"
846S["program_prefix"]=""
847S["TCLLIBDIR"]="/usr/local/lib/tcl8.6/sqlite3"
848S["TCLSH_CMD"]="tclsh8.6"
849S["INSTALL_DATA"]="${INSTALL} -m 644"
850S["INSTALL_SCRIPT"]="${INSTALL}"
851S["INSTALL_PROGRAM"]="${INSTALL}"
852S["LT_SYS_LIBRARY_PATH"]=""
853S["OTOOL64"]=""
854S["OTOOL"]=""
855S["LIPO"]=""
856S["NMEDIT"]=""
857S["DSYMUTIL"]=""
858S["MANIFEST_TOOL"]=":"
859S["AWK"]="nawk"
860S["RANLIB"]="ranlib"
861S["STRIP"]="strip"
862S["ac_ct_AR"]="ar"
863S["AR"]="ar"
864S["DLLTOOL"]="false"
865S["OBJDUMP"]="objdump"
866S["FILECMD"]="file"
867S["LN_S"]="ln -s"
868S["NM"]="/usr/local/bin/nm -B"
869S["ac_ct_DUMPBIN"]=""
870S["DUMPBIN"]=""
871S["LD"]="/usr/local/llvm15/bin/ld"
872S["FGREP"]="/usr/bin/grep -F"
873S["EGREP"]="/usr/bin/grep -E"
874S["GREP"]="/usr/bin/grep"
875S["SED"]="/usr/bin/sed"
876S["OBJEXT"]="o"
877S["EXEEXT"]=""
878S["ac_ct_CC"]="clang15"
879S["CPPFLAGS"]=""
880S["LDFLAGS"]="-fsanitize=address"
881S["CFLAGS"]=" -fsanitize=address -DSQLITE_OS_UNIX=1"
882S["CC"]="clang15"
883S["host_os"]="freebsd14.2"
884S["host_vendor"]="unknown"
885S["host_cpu"]="x86_64"
886S["host"]="x86_64-unknown-freebsd14.2"
887S["build_os"]="freebsd14.2"
888S["build_vendor"]="unknown"
889S["build_cpu"]="x86_64"
890S["build"]="x86_64-unknown-freebsd14.2"
891S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
892S["target_alias"]=""
893S["host_alias"]=""
894S["build_alias"]=""
895S["LIBS"]="-lz "
896S["ECHO_T"]=""
897S["ECHO_N"]="-n"
898S["ECHO_C"]=""
899S["DEFS"]="-DHAVE_CONFIG_H"
900S["mandir"]="${datarootdir}/man"
901S["localedir"]="${datarootdir}/locale"
902S["libdir"]="${exec_prefix}/lib"
903S["psdir"]="${docdir}"
904S["pdfdir"]="${docdir}"
905S["dvidir"]="${docdir}"
906S["htmldir"]="${docdir}"
907S["infodir"]="${datarootdir}/info"
908S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
909S["oldincludedir"]="/usr/include"
910S["includedir"]="${prefix}/include"
911S["runstatedir"]="${localstatedir}/run"
912S["localstatedir"]="${prefix}/var"
913S["sharedstatedir"]="${prefix}/com"
914S["sysconfdir"]="${prefix}/etc"
915S["datadir"]="${datarootdir}"
916S["datarootdir"]="${prefix}/share"
917S["libexecdir"]="${exec_prefix}/libexec"
918S["sbindir"]="${exec_prefix}/sbin"
919S["bindir"]="${exec_prefix}/bin"
920S["program_transform_name"]="s,x,x,"
921S["prefix"]="/usr/local"
922S["exec_prefix"]="${prefix}"
923S["PACKAGE_URL"]=""
924S["PACKAGE_BUGREPORT"]=""
925S["PACKAGE_STRING"]="sqlite 3.40.0"
926S["PACKAGE_VERSION"]="3.40.0"
927S["PACKAGE_TARNAME"]="sqlite"
928S["PACKAGE_NAME"]="sqlite"
929S["PATH_SEPARATOR"]=":"
930S["SHELL"]="/bin/sh"
931_ACAWK
932cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
933  for (key in S) S_is_set[key] = 1
934  FS = ""
935
936}
937{
938  line = $ 0
939  nfields = split(line, field, "@")
940  substed = 0
941  len = length(field[1])
942  for (i = 2; i < nfields; i++) {
943    key = field[i]
944    keylen = length(key)
945    if (S_is_set[key]) {
946      value = S[key]
947      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
948      len += length(value) + length(field[++i])
949      substed = 1
950    } else
951      len += 1 + keylen
952  }
953
954  print line
955}
956
957_ACAWK
958if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
959  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
960else
961  cat
962fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
963  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
964fi # test -n "$CONFIG_FILES"
965
966# Set up the scripts for CONFIG_HEADERS section.
967# No need to generate them if there are no CONFIG_HEADERS.
968# This happens for instance with './config.status Makefile'.
969if test -n "$CONFIG_HEADERS"; then
970cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
971BEGIN {
972D["PACKAGE_NAME"]=" \"sqlite\""
973D["PACKAGE_TARNAME"]=" \"sqlite\""
974D["PACKAGE_VERSION"]=" \"3.40.0\""
975D["PACKAGE_STRING"]=" \"sqlite 3.40.0\""
976D["PACKAGE_BUGREPORT"]=" \"\""
977D["PACKAGE_URL"]=" \"\""
978D["HAVE_STDIO_H"]=" 1"
979D["HAVE_STDLIB_H"]=" 1"
980D["HAVE_STRING_H"]=" 1"
981D["HAVE_INTTYPES_H"]=" 1"
982D["HAVE_STDINT_H"]=" 1"
983D["HAVE_STRINGS_H"]=" 1"
984D["HAVE_SYS_STAT_H"]=" 1"
985D["HAVE_SYS_TYPES_H"]=" 1"
986D["HAVE_UNISTD_H"]=" 1"
987D["STDC_HEADERS"]=" 1"
988D["HAVE_DLFCN_H"]=" 1"
989D["LT_OBJDIR"]=" \".libs/\""
990D["HAVE_INT8_T"]=" 1"
991D["HAVE_INT16_T"]=" 1"
992D["HAVE_INT32_T"]=" 1"
993D["HAVE_INT64_T"]=" 1"
994D["HAVE_INTPTR_T"]=" 1"
995D["HAVE_UINT8_T"]=" 1"
996D["HAVE_UINT16_T"]=" 1"
997D["HAVE_UINT32_T"]=" 1"
998D["HAVE_UINT64_T"]=" 1"
999D["HAVE_UINTPTR_T"]=" 1"
1000D["HAVE_SYS_TYPES_H"]=" 1"
1001D["HAVE_STDLIB_H"]=" 1"
1002D["HAVE_STDINT_H"]=" 1"
1003D["HAVE_INTTYPES_H"]=" 1"
1004D["HAVE_MALLOC_H"]=" 1"
1005D["HAVE_FDATASYNC"]=" 1"
1006D["HAVE_GMTIME_R"]=" 1"
1007D["HAVE_ISNAN"]=" 1"
1008D["HAVE_LOCALTIME_R"]=" 1"
1009D["HAVE_MALLOC_USABLE_SIZE"]=" 1"
1010D["HAVE_STRCHRNUL"]=" 1"
1011D["HAVE_USLEEP"]=" 1"
1012D["HAVE_UTIME"]=" 1"
1013D["HAVE_PREAD"]=" 1"
1014D["HAVE_PWRITE"]=" 1"
1015D["HAVE_ZLIB_H"]=" 1"
1016  for (key in D) D_is_set[key] = 1
1017  FS = ""
1018}
1019/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1020  line = $ 0
1021  split(line, arg, " ")
1022  if (arg[1] == "#") {
1023    defundef = arg[2]
1024    mac1 = arg[3]
1025  } else {
1026    defundef = substr(arg[1], 2)
1027    mac1 = arg[2]
1028  }
1029  split(mac1, mac2, "(") #)
1030  macro = mac2[1]
1031  prefix = substr(line, 1, index(line, defundef) - 1)
1032  if (D_is_set[macro]) {
1033    # Preserve the white space surrounding the "#".
1034    print prefix "define", macro P[macro] D[macro]
1035    next
1036  } else {
1037    # Replace #undef with comments.  This is necessary, for example,
1038    # in the case of _POSIX_SOURCE, which is predefined and required
1039    # on some systems where configure will not decide to define it.
1040    if (defundef == "undef") {
1041      print "/*", prefix defundef, macro, "*/"
1042      next
1043    }
1044  }
1045}
1046{ print }
1047_ACAWK
1048  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1049fi # test -n "$CONFIG_HEADERS"
1050
1051
1052eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
1053shift
1054for ac_tag
1055do
1056  case $ac_tag in
1057  :[FHLC]) ac_mode=$ac_tag; continue;;
1058  esac
1059  case $ac_mode$ac_tag in
1060  :[FHL]*:*);;
1061  :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
1062  :[FH]-) ac_tag=-:-;;
1063  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1064  esac
1065  ac_save_IFS=$IFS
1066  IFS=:
1067  set x $ac_tag
1068  IFS=$ac_save_IFS
1069  shift
1070  ac_file=$1
1071  shift
1072
1073  case $ac_mode in
1074  :L) ac_source=$1;;
1075  :[FH])
1076    ac_file_inputs=
1077    for ac_f
1078    do
1079      case $ac_f in
1080      -) ac_f="$ac_tmp/stdin";;
1081      *) # Look for the file first in the build tree, then in the source tree
1082	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
1083	 # because $ac_f cannot contain ':'.
1084	 test -f "$ac_f" ||
1085	   case $ac_f in
1086	   [\\/$]*) false;;
1087	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1088	   esac ||
1089	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
1090      esac
1091      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1092      as_fn_append ac_file_inputs " '$ac_f'"
1093    done
1094
1095    # Let's still pretend it is 'configure' which instantiates (i.e., don't
1096    # use $as_me), people would be surprised to read:
1097    #    /* config.h.  Generated by config.status.  */
1098    configure_input='Generated from '`
1099	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1100	`' by configure.'
1101    if test x"$ac_file" != x-; then
1102      configure_input="$ac_file.  $configure_input"
1103      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1104printf "%s\n" "$as_me: creating $ac_file" >&6;}
1105    fi
1106    # Neutralize special characters interpreted by sed in replacement strings.
1107    case $configure_input in #(
1108    *\&* | *\|* | *\\* )
1109       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
1110       sed 's/[\\\\&|]/\\\\&/g'`;; #(
1111    *) ac_sed_conf_input=$configure_input;;
1112    esac
1113
1114    case $ac_tag in
1115    *:-:* | *:-) cat >"$ac_tmp/stdin" \
1116      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1117    esac
1118    ;;
1119  esac
1120
1121  ac_dir=`$as_dirname -- "$ac_file" ||
1122$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1123	 X"$ac_file" : 'X\(//\)[^/]' \| \
1124	 X"$ac_file" : 'X\(//\)$' \| \
1125	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1126printf "%s\n" X"$ac_file" |
1127    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1128	    s//\1/
1129	    q
1130	  }
1131	  /^X\(\/\/\)[^/].*/{
1132	    s//\1/
1133	    q
1134	  }
1135	  /^X\(\/\/\)$/{
1136	    s//\1/
1137	    q
1138	  }
1139	  /^X\(\/\).*/{
1140	    s//\1/
1141	    q
1142	  }
1143	  s/.*/./; q'`
1144  as_dir="$ac_dir"; as_fn_mkdir_p
1145  ac_builddir=.
1146
1147case "$ac_dir" in
1148.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1149*)
1150  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1151  # A ".." for each directory in $ac_dir_suffix.
1152  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1153  case $ac_top_builddir_sub in
1154  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1155  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1156  esac ;;
1157esac
1158ac_abs_top_builddir=$ac_pwd
1159ac_abs_builddir=$ac_pwd$ac_dir_suffix
1160# for backward compatibility:
1161ac_top_builddir=$ac_top_build_prefix
1162
1163case $srcdir in
1164  .)  # We are building in place.
1165    ac_srcdir=.
1166    ac_top_srcdir=$ac_top_builddir_sub
1167    ac_abs_top_srcdir=$ac_pwd ;;
1168  [\\/]* | ?:[\\/]* )  # Absolute name.
1169    ac_srcdir=$srcdir$ac_dir_suffix;
1170    ac_top_srcdir=$srcdir
1171    ac_abs_top_srcdir=$srcdir ;;
1172  *) # Relative name.
1173    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1174    ac_top_srcdir=$ac_top_build_prefix$srcdir
1175    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1176esac
1177ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1178
1179
1180  case $ac_mode in
1181  :F)
1182  #
1183  # CONFIG_FILE
1184  #
1185
1186  case $INSTALL in
1187  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1188  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1189  esac
1190# If the template does not know about datarootdir, expand it.
1191# FIXME: This hack should be removed a few years after 2.60.
1192ac_datarootdir_hack=; ac_datarootdir_seen=
1193ac_sed_dataroot='
1194/datarootdir/ {
1195  p
1196  q
1197}
1198/@datadir@/p
1199/@docdir@/p
1200/@infodir@/p
1201/@localedir@/p
1202/@mandir@/p'
1203case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1204*datarootdir*) ac_datarootdir_seen=yes;;
1205*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1206  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1207printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1208  ac_datarootdir_hack='
1209  s&@datadir@&${datarootdir}&g
1210  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1211  s&@infodir@&${datarootdir}/info&g
1212  s&@localedir@&${datarootdir}/locale&g
1213  s&@mandir@&${datarootdir}/man&g
1214  s&\${datarootdir}&${prefix}/share&g' ;;
1215esac
1216ac_sed_extra="
1217
1218:t
1219/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1220s|@configure_input@|$ac_sed_conf_input|;t t
1221s&@top_builddir@&$ac_top_builddir_sub&;t t
1222s&@top_build_prefix@&$ac_top_build_prefix&;t t
1223s&@srcdir@&$ac_srcdir&;t t
1224s&@abs_srcdir@&$ac_abs_srcdir&;t t
1225s&@top_srcdir@&$ac_top_srcdir&;t t
1226s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1227s&@builddir@&$ac_builddir&;t t
1228s&@abs_builddir@&$ac_abs_builddir&;t t
1229s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1230s&@INSTALL@&$ac_INSTALL&;t t
1231$ac_datarootdir_hack
1232"
1233eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1234  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1235
1236test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1237  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1238  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
1239      "$ac_tmp/out"`; test -z "$ac_out"; } &&
1240  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1241which seems to be undefined.  Please make sure it is defined" >&5
1242printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
1243which seems to be undefined.  Please make sure it is defined" >&2;}
1244
1245  rm -f "$ac_tmp/stdin"
1246  case $ac_file in
1247  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1248  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1249  esac \
1250  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1251 ;;
1252  :H)
1253  #
1254  # CONFIG_HEADER
1255  #
1256  if test x"$ac_file" != x-; then
1257    {
1258      printf "%s\n" "/* $configure_input  */" >&1 \
1259      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1260    } >"$ac_tmp/config.h" \
1261      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1262    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1263      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1264printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
1265    else
1266      rm -f "$ac_file"
1267      mv "$ac_tmp/config.h" "$ac_file" \
1268	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
1269    fi
1270  else
1271    printf "%s\n" "/* $configure_input  */" >&1 \
1272      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1273      || as_fn_error $? "could not create -" "$LINENO" 5
1274  fi
1275 ;;
1276
1277  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1278printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
1279 ;;
1280  esac
1281
1282
1283  case $ac_file$ac_mode in
1284    "libtool":C)
1285
1286    # See if we are running on zsh, and set the options that allow our
1287    # commands through without removal of \ escapes.
1288    if test -n "${ZSH_VERSION+set}"; then
1289      setopt NO_GLOB_SUBST
1290    fi
1291
1292    cfgfile=${ofile}T
1293    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1294    $RM "$cfgfile"
1295
1296    cat <<_LT_EOF >> "$cfgfile"
1297#! $SHELL
1298# Generated automatically by $as_me ($PACKAGE) $VERSION
1299# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1300
1301# Provide generalized library-building support services.
1302# Written by Gordon Matzigkeit, 1996
1303
1304# Copyright (C) 2024 Free Software Foundation, Inc.
1305# This is free software; see the source for copying conditions.  There is NO
1306# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1307
1308# GNU Libtool is free software; you can redistribute it and/or modify
1309# it under the terms of the GNU General Public License as published by
1310# the Free Software Foundation; either version 2 of the License, or
1311# (at your option) any later version.
1312#
1313# As a special exception to the GNU General Public License, if you
1314# distribute this file as part of a program or library that is built
1315# using GNU Libtool, you may include this file under the  same
1316# distribution terms that you use for the rest of that program.
1317#
1318# GNU Libtool is distributed in the hope that it will be useful, but
1319# WITHOUT ANY WARRANTY; without even the implied warranty of
1320# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1321# GNU General Public License for more details.
1322#
1323# You should have received a copy of the GNU General Public License
1324# along with this program.  If not, see <http://www.gnu.org/licenses/>.
1325
1326
1327# The names of the tagged configurations supported by this script.
1328available_tags=''
1329
1330# Configured defaults for sys_lib_dlsearch_path munging.
1331: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1332
1333# ### BEGIN LIBTOOL CONFIG
1334
1335# Which release of libtool.m4 was used?
1336macro_version=$macro_version
1337macro_revision=$macro_revision
1338
1339# Whether or not to build shared libraries.
1340build_libtool_libs=$enable_shared
1341
1342# Whether or not to build static libraries.
1343build_old_libs=$enable_static
1344
1345# What type of objects to build.
1346pic_mode=$pic_mode
1347
1348# Whether or not to optimize for fast installation.
1349fast_install=$enable_fast_install
1350
1351# Shared archive member basename,for filename based shared library versioning on AIX.
1352shared_archive_member_spec=$shared_archive_member_spec
1353
1354# Shell to use when invoking shell scripts.
1355SHELL=$lt_SHELL
1356
1357# An echo program that protects backslashes.
1358ECHO=$lt_ECHO
1359
1360# The PATH separator for the build system.
1361PATH_SEPARATOR=$lt_PATH_SEPARATOR
1362
1363# The host system.
1364host_alias=$host_alias
1365host=$host
1366host_os=$host_os
1367
1368# The build system.
1369build_alias=$build_alias
1370build=$build
1371build_os=$build_os
1372
1373# A sed program that does not truncate output.
1374SED=$lt_SED
1375
1376# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1377Xsed="\$SED -e 1s/^X//"
1378
1379# A grep program that handles long lines.
1380GREP=$lt_GREP
1381
1382# An ERE matcher.
1383EGREP=$lt_EGREP
1384
1385# A literal string matcher.
1386FGREP=$lt_FGREP
1387
1388# A BSD- or MS-compatible name lister.
1389NM=$lt_NM
1390
1391# Whether we need soft or hard links.
1392LN_S=$lt_LN_S
1393
1394# What is the maximum length of a command?
1395max_cmd_len=$max_cmd_len
1396
1397# Object file suffix (normally "o").
1398objext=$ac_objext
1399
1400# Executable file suffix (normally "").
1401exeext=$exeext
1402
1403# whether the shell understands "unset".
1404lt_unset=$lt_unset
1405
1406# turn spaces into newlines.
1407SP2NL=$lt_lt_SP2NL
1408
1409# turn newlines into spaces.
1410NL2SP=$lt_lt_NL2SP
1411
1412# convert \$build file names to \$host format.
1413to_host_file_cmd=$lt_cv_to_host_file_cmd
1414
1415# convert \$build files to toolchain format.
1416to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1417
1418# A file(cmd) program that detects file types.
1419FILECMD=$lt_FILECMD
1420
1421# An object symbol dumper.
1422OBJDUMP=$lt_OBJDUMP
1423
1424# Method to check whether dependent libraries are shared objects.
1425deplibs_check_method=$lt_deplibs_check_method
1426
1427# Command to use when deplibs_check_method = "file_magic".
1428file_magic_cmd=$lt_file_magic_cmd
1429
1430# How to find potential files when deplibs_check_method = "file_magic".
1431file_magic_glob=$lt_file_magic_glob
1432
1433# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
1434want_nocaseglob=$lt_want_nocaseglob
1435
1436# DLL creation program.
1437DLLTOOL=$lt_DLLTOOL
1438
1439# Command to associate shared and link libraries.
1440sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1441
1442# The archiver.
1443AR=$lt_AR
1444
1445# Flags to create an archive (by configure).
1446lt_ar_flags=$lt_ar_flags
1447
1448# Flags to create an archive.
1449AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1450
1451# How to feed a file listing to the archiver.
1452archiver_list_spec=$lt_archiver_list_spec
1453
1454# A symbol stripping program.
1455STRIP=$lt_STRIP
1456
1457# Commands used to install an old-style archive.
1458RANLIB=$lt_RANLIB
1459old_postinstall_cmds=$lt_old_postinstall_cmds
1460old_postuninstall_cmds=$lt_old_postuninstall_cmds
1461
1462# Whether to use a lock for old archive extraction.
1463lock_old_archive_extraction=$lock_old_archive_extraction
1464
1465# A C compiler.
1466LTCC=$lt_CC
1467
1468# LTCC compiler flags.
1469LTCFLAGS=$lt_CFLAGS
1470
1471# Take the output of nm and produce a listing of raw symbols and C names.
1472global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1473
1474# Transform the output of nm in a proper C declaration.
1475global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1476
1477# Transform the output of nm into a list of symbols to manually relocate.
1478global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
1479
1480# Transform the output of nm in a C name address pair.
1481global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1482
1483# Transform the output of nm in a C name address pair when lib prefix is needed.
1484global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1485
1486# The name lister interface.
1487nm_interface=$lt_lt_cv_nm_interface
1488
1489# Specify filename containing input files for \$NM.
1490nm_file_list_spec=$lt_nm_file_list_spec
1491
1492# The root where to search for dependent libraries,and where our libraries should be installed.
1493lt_sysroot=$lt_sysroot
1494
1495# Command to truncate a binary pipe.
1496lt_truncate_bin=$lt_lt_cv_truncate_bin
1497
1498# The name of the directory that contains temporary libtool files.
1499objdir=$objdir
1500
1501# Used to examine libraries when file_magic_cmd begins with "file".
1502MAGIC_CMD=$MAGIC_CMD
1503
1504# Must we lock files when doing compilation?
1505need_locks=$lt_need_locks
1506
1507# Manifest tool.
1508MANIFEST_TOOL=$lt_MANIFEST_TOOL
1509
1510# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1511DSYMUTIL=$lt_DSYMUTIL
1512
1513# Tool to change global to local symbols on Mac OS X.
1514NMEDIT=$lt_NMEDIT
1515
1516# Tool to manipulate fat objects and archives on Mac OS X.
1517LIPO=$lt_LIPO
1518
1519# ldd/readelf like tool for Mach-O binaries on Mac OS X.
1520OTOOL=$lt_OTOOL
1521
1522# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1523OTOOL64=$lt_OTOOL64
1524
1525# Old archive suffix (normally "a").
1526libext=$libext
1527
1528# Shared library suffix (normally ".so").
1529shrext_cmds=$lt_shrext_cmds
1530
1531# The commands to extract the exported symbol list from a shared archive.
1532extract_expsyms_cmds=$lt_extract_expsyms_cmds
1533
1534# Variables whose values should be saved in libtool wrapper scripts and
1535# restored at link time.
1536variables_saved_for_relink=$lt_variables_saved_for_relink
1537
1538# Do we need the "lib" prefix for modules?
1539need_lib_prefix=$need_lib_prefix
1540
1541# Do we need a version for libraries?
1542need_version=$need_version
1543
1544# Library versioning type.
1545version_type=$version_type
1546
1547# Shared library runtime path variable.
1548runpath_var=$runpath_var
1549
1550# Shared library path variable.
1551shlibpath_var=$shlibpath_var
1552
1553# Is shlibpath searched before the hard-coded library search path?
1554shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1555
1556# Format of library name prefix.
1557libname_spec=$lt_libname_spec
1558
1559# List of archive names.  First name is the real one, the rest are links.
1560# The last name is the one that the linker finds with -lNAME
1561library_names_spec=$lt_library_names_spec
1562
1563# The coded name of the library, if different from the real name.
1564soname_spec=$lt_soname_spec
1565
1566# Permission mode override for installation of shared libraries.
1567install_override_mode=$lt_install_override_mode
1568
1569# Command to use after installation of a shared archive.
1570postinstall_cmds=$lt_postinstall_cmds
1571
1572# Command to use after uninstallation of a shared archive.
1573postuninstall_cmds=$lt_postuninstall_cmds
1574
1575# Commands used to finish a libtool library installation in a directory.
1576finish_cmds=$lt_finish_cmds
1577
1578# As "finish_cmds", except a single script fragment to be evaled but
1579# not shown.
1580finish_eval=$lt_finish_eval
1581
1582# Whether we should hardcode library paths into libraries.
1583hardcode_into_libs=$hardcode_into_libs
1584
1585# Compile-time system search path for libraries.
1586sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1587
1588# Detected run-time system search path for libraries.
1589sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
1590
1591# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
1592configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1593
1594# Whether dlopen is supported.
1595dlopen_support=$enable_dlopen
1596
1597# Whether dlopen of programs is supported.
1598dlopen_self=$enable_dlopen_self
1599
1600# Whether dlopen of statically linked programs is supported.
1601dlopen_self_static=$enable_dlopen_self_static
1602
1603# Commands to strip libraries.
1604old_striplib=$lt_old_striplib
1605striplib=$lt_striplib
1606
1607
1608# The linker used to build libraries.
1609LD=$lt_LD
1610
1611# How to create reloadable object files.
1612reload_flag=$lt_reload_flag
1613reload_cmds=$lt_reload_cmds
1614
1615# Commands used to build an old-style archive.
1616old_archive_cmds=$lt_old_archive_cmds
1617
1618# A language specific compiler.
1619CC=$lt_compiler
1620
1621# Is the compiler the GNU compiler?
1622with_gcc=$GCC
1623
1624# Compiler flag to turn off builtin functions.
1625no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1626
1627# Additional compiler flags for building library objects.
1628pic_flag=$lt_lt_prog_compiler_pic
1629
1630# How to pass a linker flag through the compiler.
1631wl=$lt_lt_prog_compiler_wl
1632
1633# Compiler flag to prevent dynamic linking.
1634link_static_flag=$lt_lt_prog_compiler_static
1635
1636# Does compiler simultaneously support -c and -o options?
1637compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1638
1639# Whether or not to add -lc for building shared libraries.
1640build_libtool_need_lc=$archive_cmds_need_lc
1641
1642# Whether or not to disallow shared libs when runtime libs are static.
1643allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1644
1645# Compiler flag to allow reflexive dlopens.
1646export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1647
1648# Compiler flag to generate shared objects directly from archives.
1649whole_archive_flag_spec=$lt_whole_archive_flag_spec
1650
1651# Whether the compiler copes with passing no objects directly.
1652compiler_needs_object=$lt_compiler_needs_object
1653
1654# Create an old-style archive from a shared archive.
1655old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1656
1657# Create a temporary old-style archive to link instead of a shared archive.
1658old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1659
1660# Commands used to build a shared archive.
1661archive_cmds=$lt_archive_cmds
1662archive_expsym_cmds=$lt_archive_expsym_cmds
1663
1664# Commands used to build a loadable module if different from building
1665# a shared archive.
1666module_cmds=$lt_module_cmds
1667module_expsym_cmds=$lt_module_expsym_cmds
1668
1669# Whether we are building with GNU ld or not.
1670with_gnu_ld=$lt_with_gnu_ld
1671
1672# Flag that allows shared libraries with undefined symbols to be built.
1673allow_undefined_flag=$lt_allow_undefined_flag
1674
1675# Flag that enforces no undefined symbols.
1676no_undefined_flag=$lt_no_undefined_flag
1677
1678# Flag to hardcode \$libdir into a binary during linking.
1679# This must work even if \$libdir does not exist
1680hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1681
1682# Whether we need a single "-rpath" flag with a separated argument.
1683hardcode_libdir_separator=$lt_hardcode_libdir_separator
1684
1685# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1686# DIR into the resulting binary.
1687hardcode_direct=$hardcode_direct
1688
1689# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1690# DIR into the resulting binary and the resulting library dependency is
1691# "absolute",i.e. impossible to change by setting \$shlibpath_var if the
1692# library is relocated.
1693hardcode_direct_absolute=$hardcode_direct_absolute
1694
1695# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1696# into the resulting binary.
1697hardcode_minus_L=$hardcode_minus_L
1698
1699# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1700# into the resulting binary.
1701hardcode_shlibpath_var=$hardcode_shlibpath_var
1702
1703# Set to "yes" if building a shared library automatically hardcodes DIR
1704# into the library and all subsequent libraries and executables linked
1705# against it.
1706hardcode_automatic=$hardcode_automatic
1707
1708# Set to yes if linker adds runtime paths of dependent libraries
1709# to runtime path list.
1710inherit_rpath=$inherit_rpath
1711
1712# Whether libtool must link a program against all its dependency libraries.
1713link_all_deplibs=$link_all_deplibs
1714
1715# Set to "yes" if exported symbols are required.
1716always_export_symbols=$always_export_symbols
1717
1718# The commands to list exported symbols.
1719export_symbols_cmds=$lt_export_symbols_cmds
1720
1721# Symbols that should not be listed in the preloaded symbols.
1722exclude_expsyms=$lt_exclude_expsyms
1723
1724# Symbols that must always be exported.
1725include_expsyms=$lt_include_expsyms
1726
1727# Commands necessary for linking programs (against libraries) with templates.
1728prelink_cmds=$lt_prelink_cmds
1729
1730# Commands necessary for finishing linking programs.
1731postlink_cmds=$lt_postlink_cmds
1732
1733# Specify filename containing input files.
1734file_list_spec=$lt_file_list_spec
1735
1736# How to hardcode a shared library path into an executable.
1737hardcode_action=$hardcode_action
1738
1739# ### END LIBTOOL CONFIG
1740
1741_LT_EOF
1742
1743    cat <<'_LT_EOF' >> "$cfgfile"
1744
1745# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
1746
1747# func_munge_path_list VARIABLE PATH
1748# -----------------------------------
1749# VARIABLE is name of variable containing _space_ separated list of
1750# directories to be munged by the contents of PATH, which is string
1751# having a format:
1752# "DIR[:DIR]:"
1753#       string "DIR[ DIR]" will be prepended to VARIABLE
1754# ":DIR[:DIR]"
1755#       string "DIR[ DIR]" will be appended to VARIABLE
1756# "DIRP[:DIRP]::[DIRA:]DIRA"
1757#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
1758#       "DIRA[ DIRA]" will be appended to VARIABLE
1759# "DIR[:DIR]"
1760#       VARIABLE will be replaced by "DIR[ DIR]"
1761func_munge_path_list ()
1762{
1763    case x$2 in
1764    x)
1765        ;;
1766    *:)
1767        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
1768        ;;
1769    x:*)
1770        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
1771        ;;
1772    *::*)
1773        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
1774        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
1775        ;;
1776    *)
1777        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
1778        ;;
1779    esac
1780}
1781
1782
1783# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
1784func_cc_basename ()
1785{
1786    for cc_temp in $*""; do
1787      case $cc_temp in
1788        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
1789        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
1790        \-*) ;;
1791        *) break;;
1792      esac
1793    done
1794    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1795}
1796
1797
1798# ### END FUNCTIONS SHARED WITH CONFIGURE
1799
1800_LT_EOF
1801
1802  case $host_os in
1803  aix3*)
1804    cat <<\_LT_EOF >> "$cfgfile"
1805# AIX sometimes has problems with the GCC collect2 program.  For some
1806# reason, if we set the COLLECT_NAMES environment variable, the problems
1807# vanish in a puff of smoke.
1808if test set != "${COLLECT_NAMES+set}"; then
1809  COLLECT_NAMES=
1810  export COLLECT_NAMES
1811fi
1812_LT_EOF
1813    ;;
1814  esac
1815
1816
1817
1818ltmain=$ac_aux_dir/ltmain.sh
1819
1820
1821  # We use sed instead of cat because bash on DJGPP gets confused if
1822  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
1823  # text mode, it properly converts lines to CR/LF.  This bash problem
1824  # is reportedly fixed, but why not run on old versions too?
1825  $SED '$q' "$ltmain" >> "$cfgfile" \
1826     || (rm -f "$cfgfile"; exit 1)
1827
1828   mv -f "$cfgfile" "$ofile" ||
1829    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
1830  chmod +x "$ofile"
1831
1832 ;;
1833
1834  esac
1835done # for ac_tag
1836
1837
1838as_fn_exit 0
1839