You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2477 lines
77KB

  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. debug=false
  7. ac_cs_recheck=false
  8. ac_cs_silent=false
  9. SHELL=${CONFIG_SHELL-/bin/sh}
  10. export SHELL
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  124. # ----------------------------------------
  125. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  126. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  127. # script with STATUS, using 1 if that was 0.
  128. as_fn_error ()
  129. {
  130. as_status=$1; test $as_status -eq 0 && as_status=1
  131. if test "$4"; then
  132. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  133. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  134. fi
  135. $as_echo "$as_me: error: $2" >&2
  136. as_fn_exit $as_status
  137. } # as_fn_error
  138. # as_fn_set_status STATUS
  139. # -----------------------
  140. # Set $? to STATUS, without forking.
  141. as_fn_set_status ()
  142. {
  143. return $1
  144. } # as_fn_set_status
  145. # as_fn_exit STATUS
  146. # -----------------
  147. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  148. as_fn_exit ()
  149. {
  150. set +e
  151. as_fn_set_status $1
  152. exit $1
  153. } # as_fn_exit
  154. # as_fn_unset VAR
  155. # ---------------
  156. # Portably unset VAR.
  157. as_fn_unset ()
  158. {
  159. { eval $1=; unset $1;}
  160. }
  161. as_unset=as_fn_unset
  162. # as_fn_append VAR VALUE
  163. # ----------------------
  164. # Append the text in VALUE to the end of the definition contained in VAR. Take
  165. # advantage of any shell optimizations that allow amortized linear growth over
  166. # repeated appends, instead of the typical quadratic growth present in naive
  167. # implementations.
  168. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  169. eval 'as_fn_append ()
  170. {
  171. eval $1+=\$2
  172. }'
  173. else
  174. as_fn_append ()
  175. {
  176. eval $1=\$$1\$2
  177. }
  178. fi # as_fn_append
  179. # as_fn_arith ARG...
  180. # ------------------
  181. # Perform arithmetic evaluation on the ARGs, and store the result in the
  182. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  183. # must be portable across $(()) and expr.
  184. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  185. eval 'as_fn_arith ()
  186. {
  187. as_val=$(( $* ))
  188. }'
  189. else
  190. as_fn_arith ()
  191. {
  192. as_val=`expr "$@" || test $? -eq 1`
  193. }
  194. fi # as_fn_arith
  195. if expr a : '\(a\)' >/dev/null 2>&1 &&
  196. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  197. as_expr=expr
  198. else
  199. as_expr=false
  200. fi
  201. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  202. as_basename=basename
  203. else
  204. as_basename=false
  205. fi
  206. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  207. as_dirname=dirname
  208. else
  209. as_dirname=false
  210. fi
  211. as_me=`$as_basename -- "$0" ||
  212. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  213. X"$0" : 'X\(//\)$' \| \
  214. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  215. $as_echo X/"$0" |
  216. sed '/^.*\/\([^/][^/]*\)\/*$/{
  217. s//\1/
  218. q
  219. }
  220. /^X\/\(\/\/\)$/{
  221. s//\1/
  222. q
  223. }
  224. /^X\/\(\/\).*/{
  225. s//\1/
  226. q
  227. }
  228. s/.*/./; q'`
  229. # Avoid depending upon Character Ranges.
  230. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  231. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  232. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  233. as_cr_digits='0123456789'
  234. as_cr_alnum=$as_cr_Letters$as_cr_digits
  235. ECHO_C= ECHO_N= ECHO_T=
  236. case `echo -n x` in #(((((
  237. -n*)
  238. case `echo 'xy\c'` in
  239. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  240. xy) ECHO_C='\c';;
  241. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  242. ECHO_T=' ';;
  243. esac;;
  244. *)
  245. ECHO_N='-n';;
  246. esac
  247. rm -f conf$$ conf$$.exe conf$$.file
  248. if test -d conf$$.dir; then
  249. rm -f conf$$.dir/conf$$.file
  250. else
  251. rm -f conf$$.dir
  252. mkdir conf$$.dir 2>/dev/null
  253. fi
  254. if (echo >conf$$.file) 2>/dev/null; then
  255. if ln -s conf$$.file conf$$ 2>/dev/null; then
  256. as_ln_s='ln -s'
  257. # ... but there are two gotchas:
  258. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  259. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  260. # In both cases, we have to default to `cp -pR'.
  261. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  262. as_ln_s='cp -pR'
  263. elif ln conf$$.file conf$$ 2>/dev/null; then
  264. as_ln_s=ln
  265. else
  266. as_ln_s='cp -pR'
  267. fi
  268. else
  269. as_ln_s='cp -pR'
  270. fi
  271. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  272. rmdir conf$$.dir 2>/dev/null
  273. # as_fn_mkdir_p
  274. # -------------
  275. # Create "$as_dir" as a directory, including parents if necessary.
  276. as_fn_mkdir_p ()
  277. {
  278. case $as_dir in #(
  279. -*) as_dir=./$as_dir;;
  280. esac
  281. test -d "$as_dir" || eval $as_mkdir_p || {
  282. as_dirs=
  283. while :; do
  284. case $as_dir in #(
  285. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  286. *) as_qdir=$as_dir;;
  287. esac
  288. as_dirs="'$as_qdir' $as_dirs"
  289. as_dir=`$as_dirname -- "$as_dir" ||
  290. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  291. X"$as_dir" : 'X\(//\)[^/]' \| \
  292. X"$as_dir" : 'X\(//\)$' \| \
  293. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  294. $as_echo X"$as_dir" |
  295. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  296. s//\1/
  297. q
  298. }
  299. /^X\(\/\/\)[^/].*/{
  300. s//\1/
  301. q
  302. }
  303. /^X\(\/\/\)$/{
  304. s//\1/
  305. q
  306. }
  307. /^X\(\/\).*/{
  308. s//\1/
  309. q
  310. }
  311. s/.*/./; q'`
  312. test -d "$as_dir" && break
  313. done
  314. test -z "$as_dirs" || eval "mkdir $as_dirs"
  315. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  316. } # as_fn_mkdir_p
  317. if mkdir -p . 2>/dev/null; then
  318. as_mkdir_p='mkdir -p "$as_dir"'
  319. else
  320. test -d ./-p && rmdir ./-p
  321. as_mkdir_p=false
  322. fi
  323. # as_fn_executable_p FILE
  324. # -----------------------
  325. # Test if FILE is an executable regular file.
  326. as_fn_executable_p ()
  327. {
  328. test -f "$1" && test -x "$1"
  329. } # as_fn_executable_p
  330. as_test_x='test -x'
  331. as_executable_p=as_fn_executable_p
  332. # Sed expression to map a string onto a valid CPP name.
  333. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  334. # Sed expression to map a string onto a valid variable name.
  335. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  336. exec 6>&1
  337. ## ----------------------------------- ##
  338. ## Main body of $CONFIG_STATUS script. ##
  339. ## ----------------------------------- ##
  340. # Save the log message, to keep $0 and so on meaningful, and to
  341. # report actual input values of CONFIG_FILES etc. instead of their
  342. # values after options handling.
  343. ac_log="
  344. This file was extended by libsamplerate $as_me 0.1.9, which was
  345. generated by GNU Autoconf 2.69. Invocation command line was
  346. CONFIG_FILES = $CONFIG_FILES
  347. CONFIG_HEADERS = $CONFIG_HEADERS
  348. CONFIG_LINKS = $CONFIG_LINKS
  349. CONFIG_COMMANDS = $CONFIG_COMMANDS
  350. $ $0 $@
  351. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  352. "
  353. # Files that config.status was made for.
  354. config_files=" Makefile M4/Makefile src/Version_script Win32/Makefile Win32/Makefile.mingw src/Makefile examples/Makefile tests/Makefile doc/Makefile libsamplerate.spec samplerate.pc"
  355. config_headers=" src/config.h"
  356. config_commands=" depfiles libtool"
  357. ac_cs_usage="\
  358. \`$as_me' instantiates files and other configuration actions
  359. from templates according to the current configuration. Unless the files
  360. and actions are specified as TAGs, all are instantiated by default.
  361. Usage: $0 [OPTION]... [TAG]...
  362. -h, --help print this help, then exit
  363. -V, --version print version number and configuration settings, then exit
  364. --config print configuration, then exit
  365. -q, --quiet, --silent
  366. do not print progress messages
  367. -d, --debug don't remove temporary files
  368. --recheck update $as_me by reconfiguring in the same conditions
  369. --file=FILE[:TEMPLATE]
  370. instantiate the configuration file FILE
  371. --header=FILE[:TEMPLATE]
  372. instantiate the configuration header FILE
  373. Configuration files:
  374. $config_files
  375. Configuration headers:
  376. $config_headers
  377. Configuration commands:
  378. $config_commands
  379. Report bugs to <erikd@mega-nerd.com>.
  380. libsamplerate home page: <http://www.mega-nerd.com/libsamplerate/>."
  381. ac_cs_config="'--prefix=/f/git/Rack/plugins/Fundamental/dep' 'CFLAGS=-fPIC -g -O3 -march=nocona' 'LDFLAGS=' 'CXXFLAGS=-fPIC -g -O3 -march=nocona' 'PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig'"
  382. ac_cs_version="\
  383. libsamplerate config.status 0.1.9
  384. configured by ./configure, generated by GNU Autoconf 2.69,
  385. with options \"$ac_cs_config\"
  386. Copyright (C) 2012 Free Software Foundation, Inc.
  387. This config.status script is free software; the Free Software Foundation
  388. gives unlimited permission to copy, distribute and modify it."
  389. ac_pwd='/f/git/Rack/plugins/Fundamental/dep/libsamplerate-0.1.9'
  390. srcdir='.'
  391. INSTALL='/usr/bin/install -c'
  392. MKDIR_P='/usr/bin/mkdir -p'
  393. AWK='gawk'
  394. test -n "$AWK" || AWK=awk
  395. # The default lists apply if the user does not specify any file.
  396. ac_need_defaults=:
  397. while test $# != 0
  398. do
  399. case $1 in
  400. --*=?*)
  401. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  402. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  403. ac_shift=:
  404. ;;
  405. --*=)
  406. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  407. ac_optarg=
  408. ac_shift=:
  409. ;;
  410. *)
  411. ac_option=$1
  412. ac_optarg=$2
  413. ac_shift=shift
  414. ;;
  415. esac
  416. case $ac_option in
  417. # Handling of the options.
  418. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  419. ac_cs_recheck=: ;;
  420. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  421. $as_echo "$ac_cs_version"; exit ;;
  422. --config | --confi | --conf | --con | --co | --c )
  423. $as_echo "$ac_cs_config"; exit ;;
  424. --debug | --debu | --deb | --de | --d | -d )
  425. debug=: ;;
  426. --file | --fil | --fi | --f )
  427. $ac_shift
  428. case $ac_optarg in
  429. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  430. '') as_fn_error $? "missing file argument" ;;
  431. esac
  432. as_fn_append CONFIG_FILES " '$ac_optarg'"
  433. ac_need_defaults=false;;
  434. --header | --heade | --head | --hea )
  435. $ac_shift
  436. case $ac_optarg in
  437. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  438. esac
  439. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  440. ac_need_defaults=false;;
  441. --he | --h)
  442. # Conflict between --help and --header
  443. as_fn_error $? "ambiguous option: \`$1'
  444. Try \`$0 --help' for more information.";;
  445. --help | --hel | -h )
  446. $as_echo "$ac_cs_usage"; exit ;;
  447. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  448. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  449. ac_cs_silent=: ;;
  450. # This is an error.
  451. -*) as_fn_error $? "unrecognized option: \`$1'
  452. Try \`$0 --help' for more information." ;;
  453. *) as_fn_append ac_config_targets " $1"
  454. ac_need_defaults=false ;;
  455. esac
  456. shift
  457. done
  458. ac_configure_extra_args=
  459. if $ac_cs_silent; then
  460. exec 6>/dev/null
  461. ac_configure_extra_args="$ac_configure_extra_args --silent"
  462. fi
  463. if $ac_cs_recheck; then
  464. set X /bin/sh './configure' '--prefix=/f/git/Rack/plugins/Fundamental/dep' 'CFLAGS=-fPIC -g -O3 -march=nocona' 'LDFLAGS=' 'CXXFLAGS=-fPIC -g -O3 -march=nocona' 'PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig' $ac_configure_extra_args --no-create --no-recursion
  465. shift
  466. $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  467. CONFIG_SHELL='/bin/sh'
  468. export CONFIG_SHELL
  469. exec "$@"
  470. fi
  471. exec 5>>config.log
  472. {
  473. echo
  474. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  475. ## Running $as_me. ##
  476. _ASBOX
  477. $as_echo "$ac_log"
  478. } >&5
  479. #
  480. # INIT-COMMANDS
  481. #
  482. AMDEP_TRUE="" ac_aux_dir="Cfg"
  483. # The HP-UX ksh and POSIX shell print the target directory to stdout
  484. # if CDPATH is set.
  485. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  486. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  487. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  488. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  489. macro_version='2.4.6'
  490. macro_revision='2.4.6'
  491. enable_shared='yes'
  492. enable_static='yes'
  493. pic_mode='default'
  494. enable_fast_install='needless'
  495. shared_archive_member_spec=''
  496. SHELL='/bin/sh'
  497. ECHO='printf %s\n'
  498. PATH_SEPARATOR=':'
  499. host_alias=''
  500. host='x86_64-w64-mingw32'
  501. host_os='mingw32'
  502. build_alias='x86_64-w64-mingw32'
  503. build='x86_64-w64-mingw32'
  504. build_os='mingw32'
  505. SED='/usr/bin/sed'
  506. Xsed='/usr/bin/sed -e 1s/^X//'
  507. GREP='/usr/bin/grep'
  508. EGREP='/usr/bin/grep -E'
  509. FGREP='/usr/bin/grep -F'
  510. LD='C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe'
  511. NM='/mingw64/bin/nm -B'
  512. LN_S='cp -pR'
  513. max_cmd_len='8192'
  514. ac_objext='o'
  515. exeext=''
  516. lt_unset='unset'
  517. lt_SP2NL='tr \040 \012'
  518. lt_NL2SP='tr \015\012 \040\040'
  519. lt_cv_to_host_file_cmd='func_convert_file_msys_to_w32'
  520. lt_cv_to_tool_file_cmd='func_convert_file_msys_to_w32'
  521. reload_flag=' -r'
  522. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  523. OBJDUMP='objdump'
  524. deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  525. file_magic_cmd='func_win32_libid'
  526. file_magic_glob=''
  527. want_nocaseglob='yes'
  528. DLLTOOL='dlltool'
  529. sharedlib_from_linklib_cmd='func_cygming_dll_for_implib'
  530. AR='ar'
  531. AR_FLAGS='cru'
  532. archiver_list_spec='@'
  533. STRIP='strip'
  534. RANLIB='ranlib'
  535. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
  536. old_postuninstall_cmds=''
  537. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
  538. lock_old_archive_extraction='no'
  539. CC='gcc'
  540. CFLAGS='-fPIC -g -O3 -march=nocona -std=gnu99 -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs -Wshadow -Wpointer-arith -pipe'
  541. compiler='windres'
  542. GCC='yes'
  543. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\) \{0,1\}$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  544. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  545. lt_cv_sys_global_symbol_to_import=''
  546. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
  547. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='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'\'''
  548. lt_cv_nm_interface='BSD nm'
  549. nm_file_list_spec='@'
  550. lt_sysroot=''
  551. lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
  552. objdir='.libs'
  553. MAGIC_CMD='file'
  554. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  555. lt_prog_compiler_pic=' -DDLL_EXPORT -DPIC'
  556. lt_prog_compiler_wl='-Wl,'
  557. lt_prog_compiler_static='-static'
  558. lt_cv_prog_compiler_c_o='yes'
  559. need_locks='no'
  560. MANIFEST_TOOL=':'
  561. DSYMUTIL=''
  562. NMEDIT=''
  563. LIPO=''
  564. OTOOL=''
  565. OTOOL64=''
  566. libext='a'
  567. shrext_cmds='.dll'
  568. extract_expsyms_cmds=''
  569. archive_cmds_need_lc='yes'
  570. enable_shared_with_static_runtimes='yes'
  571. export_dynamic_flag_spec='$wl--export-all-symbols'
  572. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  573. compiler_needs_object='no'
  574. old_archive_from_new_cmds=''
  575. old_archive_from_expsyms_cmds=''
  576. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  577. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  578. cp $export_symbols $output_objdir/$soname.def;
  579. else
  580. echo EXPORTS > $output_objdir/$soname.def;
  581. cat $export_symbols >> $output_objdir/$soname.def;
  582. fi~
  583. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  584. module_cmds=''
  585. module_expsym_cmds=''
  586. with_gnu_ld='yes'
  587. allow_undefined_flag='unsupported'
  588. no_undefined_flag=''
  589. hardcode_libdir_flag_spec='-L$libdir'
  590. hardcode_libdir_separator=''
  591. hardcode_direct='no'
  592. hardcode_direct_absolute='no'
  593. hardcode_minus_L='no'
  594. hardcode_shlibpath_var='unsupported'
  595. hardcode_automatic='no'
  596. inherit_rpath='no'
  597. link_all_deplibs='unknown'
  598. always_export_symbols='no'
  599. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  600. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  601. include_expsyms=''
  602. prelink_cmds=''
  603. postlink_cmds=''
  604. file_list_spec=''
  605. variables_saved_for_relink='PATH PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  606. need_lib_prefix='no'
  607. need_version='no'
  608. version_type='windows'
  609. runpath_var='LD_RUN_PATH'
  610. shlibpath_var='PATH'
  611. shlibpath_overrides_runpath='yes'
  612. libname_spec='lib$name'
  613. library_names_spec='$libname.dll.a'
  614. soname_spec='$libname`echo $release | $SED -e s/[.]/-/g`$versuffix$shared_ext'
  615. install_override_mode=''
  616. postinstall_cmds='base_file=`basename \$file`~
  617. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  618. dldir=$destdir/`dirname \$dlpath`~
  619. test -d \$dldir || mkdir -p \$dldir~
  620. $install_prog $dir/$dlname \$dldir/$dlname~
  621. chmod a+x \$dldir/$dlname~
  622. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  623. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  624. fi'
  625. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  626. dlpath=$dir/\$dldll~
  627. $RM \$dlpath'
  628. finish_cmds=''
  629. finish_eval=''
  630. hardcode_into_libs='no'
  631. sys_lib_search_path_spec='C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/7.3.0 C:/msys64/mingw64/lib/gcc C:/msys64/mingw64/x86_64-w64-mingw32/lib C:/msys64/mingw64/lib '
  632. configure_time_dlsearch_path='/lib /usr/lib'
  633. configure_time_lt_sys_library_path=''
  634. hardcode_action='immediate'
  635. enable_dlopen='unknown'
  636. enable_dlopen_self='unknown'
  637. enable_dlopen_self_static='unknown'
  638. old_striplib='strip --strip-debug'
  639. striplib='strip --strip-unneeded'
  640. compiler_lib_search_dirs=''
  641. predep_objects=''
  642. postdep_objects=''
  643. predeps=''
  644. postdeps=''
  645. compiler_lib_search_path=''
  646. LD_CXX='C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe'
  647. LD_RC=''
  648. reload_flag_CXX=' -r'
  649. reload_flag_RC=''
  650. reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
  651. reload_cmds_RC=''
  652. old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
  653. old_archive_cmds_RC=''
  654. compiler_CXX='g++'
  655. compiler_RC='windres'
  656. GCC_CXX='yes'
  657. GCC_RC=''
  658. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  659. lt_prog_compiler_no_builtin_flag_RC=''
  660. lt_prog_compiler_pic_CXX=' -DDLL_EXPORT -DPIC'
  661. lt_prog_compiler_pic_RC=''
  662. lt_prog_compiler_wl_CXX='-Wl,'
  663. lt_prog_compiler_wl_RC=''
  664. lt_prog_compiler_static_CXX='-static'
  665. lt_prog_compiler_static_RC=''
  666. lt_cv_prog_compiler_c_o_CXX='yes'
  667. lt_cv_prog_compiler_c_o_RC='yes'
  668. archive_cmds_need_lc_CXX='no'
  669. archive_cmds_need_lc_RC=''
  670. enable_shared_with_static_runtimes_CXX='yes'
  671. enable_shared_with_static_runtimes_RC=''
  672. export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
  673. export_dynamic_flag_spec_RC=''
  674. whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
  675. whole_archive_flag_spec_RC=''
  676. compiler_needs_object_CXX='no'
  677. compiler_needs_object_RC=''
  678. old_archive_from_new_cmds_CXX=''
  679. old_archive_from_new_cmds_RC=''
  680. old_archive_from_expsyms_cmds_CXX=''
  681. old_archive_from_expsyms_cmds_RC=''
  682. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  683. archive_cmds_RC=''
  684. archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  685. cp $export_symbols $output_objdir/$soname.def;
  686. else
  687. echo EXPORTS > $output_objdir/$soname.def;
  688. cat $export_symbols >> $output_objdir/$soname.def;
  689. fi~
  690. $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  691. archive_expsym_cmds_RC=''
  692. module_cmds_CXX=''
  693. module_cmds_RC=''
  694. module_expsym_cmds_CXX=''
  695. module_expsym_cmds_RC=''
  696. with_gnu_ld_CXX='yes'
  697. with_gnu_ld_RC=''
  698. allow_undefined_flag_CXX='unsupported'
  699. allow_undefined_flag_RC=''
  700. no_undefined_flag_CXX=''
  701. no_undefined_flag_RC=''
  702. hardcode_libdir_flag_spec_CXX='-L$libdir'
  703. hardcode_libdir_flag_spec_RC=''
  704. hardcode_libdir_separator_CXX=''
  705. hardcode_libdir_separator_RC=''
  706. hardcode_direct_CXX='no'
  707. hardcode_direct_RC=''
  708. hardcode_direct_absolute_CXX='no'
  709. hardcode_direct_absolute_RC=''
  710. hardcode_minus_L_CXX='no'
  711. hardcode_minus_L_RC=''
  712. hardcode_shlibpath_var_CXX='unsupported'
  713. hardcode_shlibpath_var_RC=''
  714. hardcode_automatic_CXX='no'
  715. hardcode_automatic_RC=''
  716. inherit_rpath_CXX='no'
  717. inherit_rpath_RC=''
  718. link_all_deplibs_CXX='unknown'
  719. link_all_deplibs_RC=''
  720. always_export_symbols_CXX='no'
  721. always_export_symbols_RC=''
  722. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  723. export_symbols_cmds_RC=''
  724. exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  725. exclude_expsyms_RC=''
  726. include_expsyms_CXX=''
  727. include_expsyms_RC=''
  728. prelink_cmds_CXX=''
  729. prelink_cmds_RC=''
  730. postlink_cmds_CXX=''
  731. postlink_cmds_RC=''
  732. file_list_spec_CXX=''
  733. file_list_spec_RC=''
  734. hardcode_action_CXX='immediate'
  735. hardcode_action_RC=''
  736. compiler_lib_search_dirs_CXX='C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0 C:/msys64/mingw64/bin/../lib/gcc C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../lib C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../..'
  737. compiler_lib_search_dirs_RC=''
  738. predep_objects_CXX='C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib/dllcrt2.o C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/crtbegin.o'
  739. predep_objects_RC=''
  740. postdep_objects_CXX='C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/crtend.o'
  741. postdep_objects_RC=''
  742. predeps_CXX=''
  743. predeps_RC=''
  744. postdeps_CXX='-lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt'
  745. postdeps_RC=''
  746. compiler_lib_search_path_CXX='-LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0 -LC:/msys64/mingw64/bin/../lib/gcc -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib/../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/lib -LC:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.3.0/../../..'
  747. compiler_lib_search_path_RC=''
  748. LTCC='gcc'
  749. LTCFLAGS='-fPIC -g -O3 -march=nocona'
  750. compiler='gcc'
  751. # A function that is used when there is no print builtin or printf.
  752. func_fallback_echo ()
  753. {
  754. eval 'cat <<_LTECHO_EOF
  755. $1
  756. _LTECHO_EOF'
  757. }
  758. # Quote evaled strings.
  759. for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR AR_FLAGS 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 compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX LD_RC reload_flag_CXX reload_flag_RC compiler_CXX compiler_RC lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_no_builtin_flag_RC lt_prog_compiler_pic_CXX lt_prog_compiler_pic_RC lt_prog_compiler_wl_CXX lt_prog_compiler_wl_RC lt_prog_compiler_static_CXX lt_prog_compiler_static_RC lt_cv_prog_compiler_c_o_CXX lt_cv_prog_compiler_c_o_RC export_dynamic_flag_spec_CXX export_dynamic_flag_spec_RC whole_archive_flag_spec_CXX whole_archive_flag_spec_RC compiler_needs_object_CXX compiler_needs_object_RC with_gnu_ld_CXX with_gnu_ld_RC allow_undefined_flag_CXX allow_undefined_flag_RC no_undefined_flag_CXX no_undefined_flag_RC hardcode_libdir_flag_spec_CXX hardcode_libdir_flag_spec_RC hardcode_libdir_separator_CXX hardcode_libdir_separator_RC exclude_expsyms_CXX exclude_expsyms_RC include_expsyms_CXX include_expsyms_RC file_list_spec_CXX file_list_spec_RC compiler_lib_search_dirs_CXX compiler_lib_search_dirs_RC predep_objects_CXX predep_objects_RC postdep_objects_CXX postdep_objects_RC predeps_CXX predeps_RC postdeps_CXX postdeps_RC compiler_lib_search_path_CXX compiler_lib_search_path_RC; do
  760. case `eval \\$ECHO \\""\\$$var"\\"` in
  761. *[\\\`\"\$]*)
  762. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
  763. ;;
  764. *)
  765. eval "lt_$var=\\\"\$$var\\\""
  766. ;;
  767. esac
  768. done
  769. # Double-quote double-evaled strings.
  770. for 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 reload_cmds_CXX reload_cmds_RC old_archive_cmds_CXX old_archive_cmds_RC old_archive_from_new_cmds_CXX old_archive_from_new_cmds_RC old_archive_from_expsyms_cmds_CXX old_archive_from_expsyms_cmds_RC archive_cmds_CXX archive_cmds_RC archive_expsym_cmds_CXX archive_expsym_cmds_RC module_cmds_CXX module_cmds_RC module_expsym_cmds_CXX module_expsym_cmds_RC export_symbols_cmds_CXX export_symbols_cmds_RC prelink_cmds_CXX prelink_cmds_RC postlink_cmds_CXX postlink_cmds_RC; do
  771. case `eval \\$ECHO \\""\\$$var"\\"` in
  772. *[\\\`\"\$]*)
  773. eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
  774. ;;
  775. *)
  776. eval "lt_$var=\\\"\$$var\\\""
  777. ;;
  778. esac
  779. done
  780. ac_aux_dir='Cfg'
  781. # See if we are running on zsh, and set the options that allow our
  782. # commands through without removal of \ escapes INIT.
  783. if test -n "${ZSH_VERSION+set}"; then
  784. setopt NO_GLOB_SUBST
  785. fi
  786. PACKAGE='libsamplerate'
  787. VERSION='0.1.9'
  788. RM='rm -f'
  789. ofile='libtool'
  790. # Handling of arguments.
  791. for ac_config_target in $ac_config_targets
  792. do
  793. case $ac_config_target in
  794. "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
  795. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  796. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  797. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  798. "M4/Makefile") CONFIG_FILES="$CONFIG_FILES M4/Makefile" ;;
  799. "src/Version_script") CONFIG_FILES="$CONFIG_FILES src/Version_script" ;;
  800. "Win32/Makefile") CONFIG_FILES="$CONFIG_FILES Win32/Makefile" ;;
  801. "Win32/Makefile.mingw") CONFIG_FILES="$CONFIG_FILES Win32/Makefile.mingw" ;;
  802. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  803. "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
  804. "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
  805. "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  806. "libsamplerate.spec") CONFIG_FILES="$CONFIG_FILES libsamplerate.spec" ;;
  807. "samplerate.pc") CONFIG_FILES="$CONFIG_FILES samplerate.pc" ;;
  808. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  809. esac
  810. done
  811. # If the user did not use the arguments to specify the items to instantiate,
  812. # then the envvar interface is used. Set only those that are not.
  813. # We use the long form for the default assignment because of an extremely
  814. # bizarre bug on SunOS 4.1.3.
  815. if $ac_need_defaults; then
  816. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  817. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  818. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  819. fi
  820. # Have a temporary directory for convenience. Make it in the build tree
  821. # simply because there is no reason against having it here, and in addition,
  822. # creating and moving files from /tmp can sometimes cause problems.
  823. # Hook for its removal unless debugging.
  824. # Note that there is a small window in which the directory will not be cleaned:
  825. # after its creation but before its name has been assigned to `$tmp'.
  826. $debug ||
  827. {
  828. tmp= ac_tmp=
  829. trap 'exit_status=$?
  830. : "${ac_tmp:=$tmp}"
  831. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  832. ' 0
  833. trap 'as_fn_exit 1' 1 2 13 15
  834. }
  835. # Create a (secure) tmp directory for tmp files.
  836. {
  837. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  838. test -d "$tmp"
  839. } ||
  840. {
  841. tmp=./conf$$-$RANDOM
  842. (umask 077 && mkdir "$tmp")
  843. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  844. ac_tmp=$tmp
  845. # Set up the scripts for CONFIG_FILES section.
  846. # No need to generate them if there are no CONFIG_FILES.
  847. # This happens for instance with `./config.status config.h'.
  848. if test -n "$CONFIG_FILES"; then
  849. ac_cr=`echo X | tr X '\015'`
  850. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  851. # But we know of no other shell where ac_cr would be empty at this
  852. # point, so we can use a bashism as a fallback.
  853. if test "x$ac_cr" = x; then
  854. eval ac_cr=\$\'\\r\'
  855. fi
  856. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  857. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  858. ac_cs_awk_cr='\\r'
  859. else
  860. ac_cs_awk_cr=$ac_cr
  861. fi
  862. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  863. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  864. S["am__EXEEXT_FALSE"]="#"
  865. S["am__EXEEXT_TRUE"]=""
  866. S["LTLIBOBJS"]=""
  867. S["LIBOBJS"]=""
  868. S["ALSA_LIBS"]=""
  869. S["HAVE_SNDFILE"]="0"
  870. S["HAVE_FFTW3"]="0"
  871. S["GCC_MAJOR_VERSION"]="7"
  872. S["COMPILER_IS_GCC"]=""
  873. S["OS_SPECIFIC_LINKS"]="-lwinmm"
  874. S["OS_SPECIFIC_INCLUDES"]=""
  875. S["SHARED_VERSION_INFO"]="1:8:1"
  876. S["SHLIB_VERSION_ARG"]=""
  877. S["htmldocdir"]="/f/git/Rack/plugins/Fundamental/dep/share/doc/libsamplerate0-dev/html"
  878. S["FFTW3_LIBS"]=""
  879. S["FFTW3_CFLAGS"]=""
  880. S["SNDFILE_LIBS"]=""
  881. S["SNDFILE_CFLAGS"]=""
  882. S["PKG_CONFIG_LIBDIR"]=""
  883. S["PKG_CONFIG_PATH"]="/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig"
  884. S["PKG_CONFIG"]=""
  885. S["PEXPORTS"]=""
  886. S["DLLWRAP"]="dllwrap"
  887. S["RC"]="windres"
  888. S["CXXCPP"]="g++ -E"
  889. S["CPP"]="gcc -E"
  890. S["LT_SYS_LIBRARY_PATH"]=""
  891. S["OTOOL64"]=""
  892. S["OTOOL"]=""
  893. S["LIPO"]=""
  894. S["NMEDIT"]=""
  895. S["DSYMUTIL"]=""
  896. S["MANIFEST_TOOL"]=":"
  897. S["RANLIB"]="ranlib"
  898. S["ac_ct_AR"]="ar"
  899. S["AR"]="ar"
  900. S["DLLTOOL"]="dlltool"
  901. S["OBJDUMP"]="objdump"
  902. S["LN_S"]="cp -pR"
  903. S["NM"]="/mingw64/bin/nm -B"
  904. S["ac_ct_DUMPBIN"]=""
  905. S["DUMPBIN"]=""
  906. S["LD"]="C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe"
  907. S["FGREP"]="/usr/bin/grep -F"
  908. S["EGREP"]="/usr/bin/grep -E"
  909. S["GREP"]="/usr/bin/grep"
  910. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  911. S["SED"]="/usr/bin/sed"
  912. S["am__fastdepCXX_FALSE"]="#"
  913. S["am__fastdepCXX_TRUE"]=""
  914. S["CXXDEPMODE"]="depmode=gcc3"
  915. S["ac_ct_CXX"]="g++"
  916. S["CXXFLAGS"]="-fPIC -g -O3 -march=nocona"
  917. S["CXX"]="g++"
  918. S["am__fastdepCC_FALSE"]="#"
  919. S["am__fastdepCC_TRUE"]=""
  920. S["CCDEPMODE"]="depmode=gcc3"
  921. S["am__nodep"]="_no"
  922. S["AMDEPBACKSLASH"]="\\"
  923. S["AMDEP_FALSE"]="#"
  924. S["AMDEP_TRUE"]=""
  925. S["am__quote"]=""
  926. S["am__include"]="include"
  927. S["DEPDIR"]=".deps"
  928. S["OBJEXT"]="o"
  929. S["EXEEXT"]=".exe"
  930. S["ac_ct_CC"]="gcc"
  931. S["CPPFLAGS"]=""
  932. S["LDFLAGS"]=""
  933. S["CFLAGS"]="-fPIC -g -O3 -march=nocona -std=gnu99 -W -Wstrict-prototypes -Wmissing-prototypes -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wnested-externs"\
  934. " -Wshadow -Wpointer-arith -pipe"
  935. S["CC"]="gcc"
  936. S["ACLOCAL_AMFLAGS"]="-I M4"
  937. S["AM_BACKSLASH"]="\\"
  938. S["AM_DEFAULT_VERBOSITY"]="0"
  939. S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
  940. S["AM_V"]="$(V)"
  941. S["am__untar"]="$${TAR-tar} xf -"
  942. S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
  943. S["AMTAR"]="$${TAR-tar}"
  944. S["am__leading_dot"]="."
  945. S["SET_MAKE"]=""
  946. S["AWK"]="gawk"
  947. S["mkdir_p"]="$(MKDIR_P)"
  948. S["MKDIR_P"]="/usr/bin/mkdir -p"
  949. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  950. S["STRIP"]="strip"
  951. S["install_sh"]="${SHELL} /f/git/Rack/plugins/Fundamental/dep/libsamplerate-0.1.9/Cfg/install-sh"
  952. S["MAKEINFO"]="makeinfo"
  953. S["AUTOHEADER"]="autoheader"
  954. S["AUTOMAKE"]="automake-1.15"
  955. S["AUTOCONF"]="autoconf"
  956. S["ACLOCAL"]="aclocal-1.15"
  957. S["VERSION"]="0.1.9"
  958. S["PACKAGE"]="libsamplerate"
  959. S["CYGPATH_W"]="cygpath -w"
  960. S["am__isrc"]=""
  961. S["INSTALL_DATA"]="${INSTALL} -m 644"
  962. S["INSTALL_SCRIPT"]="${INSTALL}"
  963. S["INSTALL_PROGRAM"]="${INSTALL}"
  964. S["target_os"]="mingw32"
  965. S["target_vendor"]="w64"
  966. S["target_cpu"]="x86_64"
  967. S["target"]="x86_64-w64-mingw32"
  968. S["host_os"]="mingw32"
  969. S["host_vendor"]="w64"
  970. S["host_cpu"]="x86_64"
  971. S["host"]="x86_64-w64-mingw32"
  972. S["build_os"]="mingw32"
  973. S["build_vendor"]="w64"
  974. S["build_cpu"]="x86_64"
  975. S["build"]="x86_64-w64-mingw32"
  976. S["target_alias"]=""
  977. S["host_alias"]=""
  978. S["build_alias"]="x86_64-w64-mingw32"
  979. S["LIBS"]="-lm "
  980. S["ECHO_T"]=""
  981. S["ECHO_N"]="-n"
  982. S["ECHO_C"]=""
  983. S["DEFS"]="-DHAVE_CONFIG_H"
  984. S["mandir"]="${datarootdir}/man"
  985. S["localedir"]="${datarootdir}/locale"
  986. S["libdir"]="${exec_prefix}/lib"
  987. S["psdir"]="${docdir}"
  988. S["pdfdir"]="${docdir}"
  989. S["dvidir"]="${docdir}"
  990. S["htmldir"]="${docdir}"
  991. S["infodir"]="${datarootdir}/info"
  992. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  993. S["oldincludedir"]="/usr/include"
  994. S["includedir"]="${prefix}/include"
  995. S["runstatedir"]="${localstatedir}/run"
  996. S["localstatedir"]="${prefix}/var"
  997. S["sharedstatedir"]="${prefix}/com"
  998. S["sysconfdir"]="${prefix}/etc"
  999. S["datadir"]="${datarootdir}"
  1000. S["datarootdir"]="${prefix}/share"
  1001. S["libexecdir"]="${exec_prefix}/libexec"
  1002. S["sbindir"]="${exec_prefix}/sbin"
  1003. S["bindir"]="${exec_prefix}/bin"
  1004. S["program_transform_name"]="s,x,x,"
  1005. S["prefix"]="/f/git/Rack/plugins/Fundamental/dep"
  1006. S["exec_prefix"]="${prefix}"
  1007. S["PACKAGE_URL"]="http://www.mega-nerd.com/libsamplerate/"
  1008. S["PACKAGE_BUGREPORT"]="erikd@mega-nerd.com"
  1009. S["PACKAGE_STRING"]="libsamplerate 0.1.9"
  1010. S["PACKAGE_VERSION"]="0.1.9"
  1011. S["PACKAGE_TARNAME"]="libsamplerate"
  1012. S["PACKAGE_NAME"]="libsamplerate"
  1013. S["PATH_SEPARATOR"]=":"
  1014. S["SHELL"]="/bin/sh"
  1015. _ACAWK
  1016. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  1017. for (key in S) S_is_set[key] = 1
  1018. FS = ""
  1019. }
  1020. {
  1021. line = $ 0
  1022. nfields = split(line, field, "@")
  1023. substed = 0
  1024. len = length(field[1])
  1025. for (i = 2; i < nfields; i++) {
  1026. key = field[i]
  1027. keylen = length(key)
  1028. if (S_is_set[key]) {
  1029. value = S[key]
  1030. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  1031. len += length(value) + length(field[++i])
  1032. substed = 1
  1033. } else
  1034. len += 1 + keylen
  1035. }
  1036. print line
  1037. }
  1038. _ACAWK
  1039. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  1040. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  1041. else
  1042. cat
  1043. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  1044. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  1045. fi # test -n "$CONFIG_FILES"
  1046. # Set up the scripts for CONFIG_HEADERS section.
  1047. # No need to generate them if there are no CONFIG_HEADERS.
  1048. # This happens for instance with `./config.status Makefile'.
  1049. if test -n "$CONFIG_HEADERS"; then
  1050. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  1051. BEGIN {
  1052. D["PACKAGE_NAME"]=" \"libsamplerate\""
  1053. D["PACKAGE_TARNAME"]=" \"libsamplerate\""
  1054. D["PACKAGE_VERSION"]=" \"0.1.9\""
  1055. D["PACKAGE_STRING"]=" \"libsamplerate 0.1.9\""
  1056. D["PACKAGE_BUGREPORT"]=" \"erikd@mega-nerd.com\""
  1057. D["PACKAGE_URL"]=" \"http://www.mega-nerd.com/libsamplerate/\""
  1058. D["PACKAGE"]=" \"libsamplerate\""
  1059. D["VERSION"]=" \"0.1.9\""
  1060. D["STDC_HEADERS"]=" 1"
  1061. D["HAVE_SYS_TYPES_H"]=" 1"
  1062. D["HAVE_SYS_STAT_H"]=" 1"
  1063. D["HAVE_STDLIB_H"]=" 1"
  1064. D["HAVE_STRING_H"]=" 1"
  1065. D["HAVE_MEMORY_H"]=" 1"
  1066. D["HAVE_STRINGS_H"]=" 1"
  1067. D["HAVE_INTTYPES_H"]=" 1"
  1068. D["HAVE_STDINT_H"]=" 1"
  1069. D["HAVE_UNISTD_H"]=" 1"
  1070. D["LT_OBJDIR"]=" \".libs/\""
  1071. D["STDC_HEADERS"]=" 1"
  1072. D["HAVE_STDINT_H"]=" 1"
  1073. D["SIZEOF_INT"]=" 4"
  1074. D["SIZEOF_LONG"]=" 4"
  1075. D["SIZEOF_FLOAT"]=" 4"
  1076. D["SIZEOF_DOUBLE"]=" 8"
  1077. D["CPU_IS_BIG_ENDIAN"]=" 0"
  1078. D["CPU_IS_LITTLE_ENDIAN"]=" 1"
  1079. D["HAVE_MALLOC"]=" 1"
  1080. D["HAVE_CALLOC"]=" 1"
  1081. D["HAVE_FREE"]=" 1"
  1082. D["HAVE_MEMCPY"]=" 1"
  1083. D["HAVE_MEMMOVE"]=" 1"
  1084. D["HAVE_ALARM"]=" 1"
  1085. D["HAVE_SIGNAL"]=" 1"
  1086. D["HAVE_LIBM"]=" 1"
  1087. D["HAVE_FLOOR"]=" 1"
  1088. D["HAVE_CEIL"]=" 1"
  1089. D["HAVE_FMOD"]=" 1"
  1090. D["HAVE_LRINT"]=" 1"
  1091. D["HAVE_LRINTF"]=" 1"
  1092. D["CPU_CLIPS_POSITIVE"]=" 0"
  1093. D["CPU_CLIPS_NEGATIVE"]=" 1"
  1094. D["HAVE_SNDFILE"]=" 0"
  1095. D["HAVE_FFTW3"]=" 0"
  1096. D["COMPILER_IS_GCC"]=" 1"
  1097. D["GCC_MAJOR_VERSION"]=" 7"
  1098. D["OS_IS_WIN32"]=" 1"
  1099. for (key in D) D_is_set[key] = 1
  1100. FS = ""
  1101. }
  1102. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  1103. line = $ 0
  1104. split(line, arg, " ")
  1105. if (arg[1] == "#") {
  1106. defundef = arg[2]
  1107. mac1 = arg[3]
  1108. } else {
  1109. defundef = substr(arg[1], 2)
  1110. mac1 = arg[2]
  1111. }
  1112. split(mac1, mac2, "(") #)
  1113. macro = mac2[1]
  1114. prefix = substr(line, 1, index(line, defundef) - 1)
  1115. if (D_is_set[macro]) {
  1116. # Preserve the white space surrounding the "#".
  1117. print prefix "define", macro P[macro] D[macro]
  1118. next
  1119. } else {
  1120. # Replace #undef with comments. This is necessary, for example,
  1121. # in the case of _POSIX_SOURCE, which is predefined and required
  1122. # on some systems where configure will not decide to define it.
  1123. if (defundef == "undef") {
  1124. print "/*", prefix defundef, macro, "*/"
  1125. next
  1126. }
  1127. }
  1128. }
  1129. { print }
  1130. _ACAWK
  1131. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  1132. fi # test -n "$CONFIG_HEADERS"
  1133. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  1134. shift
  1135. for ac_tag
  1136. do
  1137. case $ac_tag in
  1138. :[FHLC]) ac_mode=$ac_tag; continue;;
  1139. esac
  1140. case $ac_mode$ac_tag in
  1141. :[FHL]*:*);;
  1142. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1143. :[FH]-) ac_tag=-:-;;
  1144. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1145. esac
  1146. ac_save_IFS=$IFS
  1147. IFS=:
  1148. set x $ac_tag
  1149. IFS=$ac_save_IFS
  1150. shift
  1151. ac_file=$1
  1152. shift
  1153. case $ac_mode in
  1154. :L) ac_source=$1;;
  1155. :[FH])
  1156. ac_file_inputs=
  1157. for ac_f
  1158. do
  1159. case $ac_f in
  1160. -) ac_f="$ac_tmp/stdin";;
  1161. *) # Look for the file first in the build tree, then in the source tree
  1162. # (if the path is not absolute). The absolute path cannot be DOS-style,
  1163. # because $ac_f cannot contain `:'.
  1164. test -f "$ac_f" ||
  1165. case $ac_f in
  1166. [\\/$]*) false;;
  1167. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1168. esac ||
  1169. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1170. esac
  1171. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1172. as_fn_append ac_file_inputs " '$ac_f'"
  1173. done
  1174. # Let's still pretend it is `configure' which instantiates (i.e., don't
  1175. # use $as_me), people would be surprised to read:
  1176. # /* config.h. Generated by config.status. */
  1177. configure_input='Generated from '`
  1178. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1179. `' by configure.'
  1180. if test x"$ac_file" != x-; then
  1181. configure_input="$ac_file. $configure_input"
  1182. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1183. $as_echo "$as_me: creating $ac_file" >&6;}
  1184. fi
  1185. # Neutralize special characters interpreted by sed in replacement strings.
  1186. case $configure_input in #(
  1187. *\&* | *\|* | *\\* )
  1188. ac_sed_conf_input=`$as_echo "$configure_input" |
  1189. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1190. *) ac_sed_conf_input=$configure_input;;
  1191. esac
  1192. case $ac_tag in
  1193. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1194. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  1195. esac
  1196. ;;
  1197. esac
  1198. ac_dir=`$as_dirname -- "$ac_file" ||
  1199. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1200. X"$ac_file" : 'X\(//\)[^/]' \| \
  1201. X"$ac_file" : 'X\(//\)$' \| \
  1202. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1203. $as_echo X"$ac_file" |
  1204. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1205. s//\1/
  1206. q
  1207. }
  1208. /^X\(\/\/\)[^/].*/{
  1209. s//\1/
  1210. q
  1211. }
  1212. /^X\(\/\/\)$/{
  1213. s//\1/
  1214. q
  1215. }
  1216. /^X\(\/\).*/{
  1217. s//\1/
  1218. q
  1219. }
  1220. s/.*/./; q'`
  1221. as_dir="$ac_dir"; as_fn_mkdir_p
  1222. ac_builddir=.
  1223. case "$ac_dir" in
  1224. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1225. *)
  1226. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1227. # A ".." for each directory in $ac_dir_suffix.
  1228. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1229. case $ac_top_builddir_sub in
  1230. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1231. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1232. esac ;;
  1233. esac
  1234. ac_abs_top_builddir=$ac_pwd
  1235. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1236. # for backward compatibility:
  1237. ac_top_builddir=$ac_top_build_prefix
  1238. case $srcdir in
  1239. .) # We are building in place.
  1240. ac_srcdir=.
  1241. ac_top_srcdir=$ac_top_builddir_sub
  1242. ac_abs_top_srcdir=$ac_pwd ;;
  1243. [\\/]* | ?:[\\/]* ) # Absolute name.
  1244. ac_srcdir=$srcdir$ac_dir_suffix;
  1245. ac_top_srcdir=$srcdir
  1246. ac_abs_top_srcdir=$srcdir ;;
  1247. *) # Relative name.
  1248. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1249. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1250. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1251. esac
  1252. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1253. case $ac_mode in
  1254. :F)
  1255. #
  1256. # CONFIG_FILE
  1257. #
  1258. case $INSTALL in
  1259. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1260. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1261. esac
  1262. ac_MKDIR_P=$MKDIR_P
  1263. case $MKDIR_P in
  1264. [\\/$]* | ?:[\\/]* ) ;;
  1265. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  1266. esac
  1267. # If the template does not know about datarootdir, expand it.
  1268. # FIXME: This hack should be removed a few years after 2.60.
  1269. ac_datarootdir_hack=; ac_datarootdir_seen=
  1270. ac_sed_dataroot='
  1271. /datarootdir/ {
  1272. p
  1273. q
  1274. }
  1275. /@datadir@/p
  1276. /@docdir@/p
  1277. /@infodir@/p
  1278. /@localedir@/p
  1279. /@mandir@/p'
  1280. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1281. *datarootdir*) ac_datarootdir_seen=yes;;
  1282. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1283. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1284. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1285. ac_datarootdir_hack='
  1286. s&@datadir@&${datarootdir}&g
  1287. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1288. s&@infodir@&${datarootdir}/info&g
  1289. s&@localedir@&${datarootdir}/locale&g
  1290. s&@mandir@&${datarootdir}/man&g
  1291. s&\${datarootdir}&${prefix}/share&g' ;;
  1292. esac
  1293. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  1294. h
  1295. s///
  1296. s/^/:/
  1297. s/[ ]*$/:/
  1298. s/:\$(srcdir):/:/g
  1299. s/:\${srcdir}:/:/g
  1300. s/:@srcdir@:/:/g
  1301. s/^:*//
  1302. s/:*$//
  1303. x
  1304. s/\(=[ ]*\).*/\1/
  1305. G
  1306. s/\n//
  1307. s/^[^=]*=[ ]*$//
  1308. }
  1309. :t
  1310. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1311. s|@configure_input@|$ac_sed_conf_input|;t t
  1312. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1313. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1314. s&@srcdir@&$ac_srcdir&;t t
  1315. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1316. s&@top_srcdir@&$ac_top_srcdir&;t t
  1317. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1318. s&@builddir@&$ac_builddir&;t t
  1319. s&@abs_builddir@&$ac_abs_builddir&;t t
  1320. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1321. s&@INSTALL@&$ac_INSTALL&;t t
  1322. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1323. $ac_datarootdir_hack
  1324. "
  1325. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1326. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1327. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1328. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1329. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  1330. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1331. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1332. which seems to be undefined. Please make sure it is defined" >&5
  1333. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1334. which seems to be undefined. Please make sure it is defined" >&2;}
  1335. rm -f "$ac_tmp/stdin"
  1336. case $ac_file in
  1337. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1338. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1339. esac \
  1340. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1341. ;;
  1342. :H)
  1343. #
  1344. # CONFIG_HEADER
  1345. #
  1346. if test x"$ac_file" != x-; then
  1347. {
  1348. $as_echo "/* $configure_input */" \
  1349. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  1350. } >"$ac_tmp/config.h" \
  1351. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1352. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  1353. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1354. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1355. else
  1356. rm -f "$ac_file"
  1357. mv "$ac_tmp/config.h" "$ac_file" \
  1358. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1359. fi
  1360. else
  1361. $as_echo "/* $configure_input */" \
  1362. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1363. || as_fn_error $? "could not create -" "$LINENO" 5
  1364. fi
  1365. # Compute "$ac_file"'s index in $config_headers.
  1366. _am_arg="$ac_file"
  1367. _am_stamp_count=1
  1368. for _am_header in $config_headers :; do
  1369. case $_am_header in
  1370. $_am_arg | $_am_arg:* )
  1371. break ;;
  1372. * )
  1373. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1374. esac
  1375. done
  1376. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1377. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1378. X"$_am_arg" : 'X\(//\)[^/]' \| \
  1379. X"$_am_arg" : 'X\(//\)$' \| \
  1380. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1381. $as_echo X"$_am_arg" |
  1382. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1383. s//\1/
  1384. q
  1385. }
  1386. /^X\(\/\/\)[^/].*/{
  1387. s//\1/
  1388. q
  1389. }
  1390. /^X\(\/\/\)$/{
  1391. s//\1/
  1392. q
  1393. }
  1394. /^X\(\/\).*/{
  1395. s//\1/
  1396. q
  1397. }
  1398. s/.*/./; q'`/stamp-h$_am_stamp_count
  1399. ;;
  1400. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1401. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1402. ;;
  1403. esac
  1404. case $ac_file$ac_mode in
  1405. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1406. # Older Autoconf quotes --file arguments for eval, but not when files
  1407. # are listed without --file. Let's play safe and only enable the eval
  1408. # if we detect the quoting.
  1409. case $CONFIG_FILES in
  1410. *\'*) eval set x "$CONFIG_FILES" ;;
  1411. *) set x $CONFIG_FILES ;;
  1412. esac
  1413. shift
  1414. for mf
  1415. do
  1416. # Strip MF so we end up with the name of the file.
  1417. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1418. # Check whether this is an Automake generated Makefile or not.
  1419. # We used to match only the files named 'Makefile.in', but
  1420. # some people rename them; so instead we look at the file content.
  1421. # Grep'ing the first line is not enough: some people post-process
  1422. # each Makefile.in and add a new line on top of each file to say so.
  1423. # Grep'ing the whole file is not good either: AIX grep has a line
  1424. # limit of 2048, but all sed's we know have understand at least 4000.
  1425. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1426. dirpart=`$as_dirname -- "$mf" ||
  1427. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1428. X"$mf" : 'X\(//\)[^/]' \| \
  1429. X"$mf" : 'X\(//\)$' \| \
  1430. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1431. $as_echo X"$mf" |
  1432. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1433. s//\1/
  1434. q
  1435. }
  1436. /^X\(\/\/\)[^/].*/{
  1437. s//\1/
  1438. q
  1439. }
  1440. /^X\(\/\/\)$/{
  1441. s//\1/
  1442. q
  1443. }
  1444. /^X\(\/\).*/{
  1445. s//\1/
  1446. q
  1447. }
  1448. s/.*/./; q'`
  1449. else
  1450. continue
  1451. fi
  1452. # Extract the definition of DEPDIR, am__include, and am__quote
  1453. # from the Makefile without running 'make'.
  1454. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1455. test -z "$DEPDIR" && continue
  1456. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1457. test -z "$am__include" && continue
  1458. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1459. # Find all dependency output files, they are included files with
  1460. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1461. # simplest approach to changing $(DEPDIR) to its actual value in the
  1462. # expansion.
  1463. for file in `sed -n "
  1464. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1465. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  1466. # Make sure the directory exists.
  1467. test -f "$dirpart/$file" && continue
  1468. fdir=`$as_dirname -- "$file" ||
  1469. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1470. X"$file" : 'X\(//\)[^/]' \| \
  1471. X"$file" : 'X\(//\)$' \| \
  1472. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1473. $as_echo X"$file" |
  1474. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1475. s//\1/
  1476. q
  1477. }
  1478. /^X\(\/\/\)[^/].*/{
  1479. s//\1/
  1480. q
  1481. }
  1482. /^X\(\/\/\)$/{
  1483. s//\1/
  1484. q
  1485. }
  1486. /^X\(\/\).*/{
  1487. s//\1/
  1488. q
  1489. }
  1490. s/.*/./; q'`
  1491. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1492. # echo "creating $dirpart/$file"
  1493. echo '# dummy' > "$dirpart/$file"
  1494. done
  1495. done
  1496. }
  1497. ;;
  1498. "libtool":C)
  1499. # See if we are running on zsh, and set the options that allow our
  1500. # commands through without removal of \ escapes.
  1501. if test -n "${ZSH_VERSION+set}"; then
  1502. setopt NO_GLOB_SUBST
  1503. fi
  1504. cfgfile=${ofile}T
  1505. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1506. $RM "$cfgfile"
  1507. cat <<_LT_EOF >> "$cfgfile"
  1508. #! $SHELL
  1509. # Generated automatically by $as_me ($PACKAGE) $VERSION
  1510. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1511. # Provide generalized library-building support services.
  1512. # Written by Gordon Matzigkeit, 1996
  1513. # Copyright (C) 2014 Free Software Foundation, Inc.
  1514. # This is free software; see the source for copying conditions. There is NO
  1515. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1516. # GNU Libtool is free software; you can redistribute it and/or modify
  1517. # it under the terms of the GNU General Public License as published by
  1518. # the Free Software Foundation; either version 2 of of the License, or
  1519. # (at your option) any later version.
  1520. #
  1521. # As a special exception to the GNU General Public License, if you
  1522. # distribute this file as part of a program or library that is built
  1523. # using GNU Libtool, you may include this file under the same
  1524. # distribution terms that you use for the rest of that program.
  1525. #
  1526. # GNU Libtool is distributed in the hope that it will be useful, but
  1527. # WITHOUT ANY WARRANTY; without even the implied warranty of
  1528. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1529. # GNU General Public License for more details.
  1530. #
  1531. # You should have received a copy of the GNU General Public License
  1532. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  1533. # The names of the tagged configurations supported by this script.
  1534. available_tags='CXX RC '
  1535. # Configured defaults for sys_lib_dlsearch_path munging.
  1536. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  1537. # ### BEGIN LIBTOOL CONFIG
  1538. # Which release of libtool.m4 was used?
  1539. macro_version=$macro_version
  1540. macro_revision=$macro_revision
  1541. # Whether or not to build shared libraries.
  1542. build_libtool_libs=$enable_shared
  1543. # Whether or not to build static libraries.
  1544. build_old_libs=$enable_static
  1545. # What type of objects to build.
  1546. pic_mode=$pic_mode
  1547. # Whether or not to optimize for fast installation.
  1548. fast_install=$enable_fast_install
  1549. # Shared archive member basename,for filename based shared library versioning on AIX.
  1550. shared_archive_member_spec=$shared_archive_member_spec
  1551. # Shell to use when invoking shell scripts.
  1552. SHELL=$lt_SHELL
  1553. # An echo program that protects backslashes.
  1554. ECHO=$lt_ECHO
  1555. # The PATH separator for the build system.
  1556. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  1557. # The host system.
  1558. host_alias=$host_alias
  1559. host=$host
  1560. host_os=$host_os
  1561. # The build system.
  1562. build_alias=$build_alias
  1563. build=$build
  1564. build_os=$build_os
  1565. # A sed program that does not truncate output.
  1566. SED=$lt_SED
  1567. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1568. Xsed="\$SED -e 1s/^X//"
  1569. # A grep program that handles long lines.
  1570. GREP=$lt_GREP
  1571. # An ERE matcher.
  1572. EGREP=$lt_EGREP
  1573. # A literal string matcher.
  1574. FGREP=$lt_FGREP
  1575. # A BSD- or MS-compatible name lister.
  1576. NM=$lt_NM
  1577. # Whether we need soft or hard links.
  1578. LN_S=$lt_LN_S
  1579. # What is the maximum length of a command?
  1580. max_cmd_len=$max_cmd_len
  1581. # Object file suffix (normally "o").
  1582. objext=$ac_objext
  1583. # Executable file suffix (normally "").
  1584. exeext=$exeext
  1585. # whether the shell understands "unset".
  1586. lt_unset=$lt_unset
  1587. # turn spaces into newlines.
  1588. SP2NL=$lt_lt_SP2NL
  1589. # turn newlines into spaces.
  1590. NL2SP=$lt_lt_NL2SP
  1591. # convert \$build file names to \$host format.
  1592. to_host_file_cmd=$lt_cv_to_host_file_cmd
  1593. # convert \$build files to toolchain format.
  1594. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  1595. # An object symbol dumper.
  1596. OBJDUMP=$lt_OBJDUMP
  1597. # Method to check whether dependent libraries are shared objects.
  1598. deplibs_check_method=$lt_deplibs_check_method
  1599. # Command to use when deplibs_check_method = "file_magic".
  1600. file_magic_cmd=$lt_file_magic_cmd
  1601. # How to find potential files when deplibs_check_method = "file_magic".
  1602. file_magic_glob=$lt_file_magic_glob
  1603. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  1604. want_nocaseglob=$lt_want_nocaseglob
  1605. # DLL creation program.
  1606. DLLTOOL=$lt_DLLTOOL
  1607. # Command to associate shared and link libraries.
  1608. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  1609. # The archiver.
  1610. AR=$lt_AR
  1611. # Flags to create an archive.
  1612. AR_FLAGS=$lt_AR_FLAGS
  1613. # How to feed a file listing to the archiver.
  1614. archiver_list_spec=$lt_archiver_list_spec
  1615. # A symbol stripping program.
  1616. STRIP=$lt_STRIP
  1617. # Commands used to install an old-style archive.
  1618. RANLIB=$lt_RANLIB
  1619. old_postinstall_cmds=$lt_old_postinstall_cmds
  1620. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1621. # Whether to use a lock for old archive extraction.
  1622. lock_old_archive_extraction=$lock_old_archive_extraction
  1623. # A C compiler.
  1624. LTCC=$lt_CC
  1625. # LTCC compiler flags.
  1626. LTCFLAGS=$lt_CFLAGS
  1627. # Take the output of nm and produce a listing of raw symbols and C names.
  1628. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1629. # Transform the output of nm in a proper C declaration.
  1630. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1631. # Transform the output of nm into a list of symbols to manually relocate.
  1632. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  1633. # Transform the output of nm in a C name address pair.
  1634. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1635. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1636. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1637. # The name lister interface.
  1638. nm_interface=$lt_lt_cv_nm_interface
  1639. # Specify filename containing input files for \$NM.
  1640. nm_file_list_spec=$lt_nm_file_list_spec
  1641. # The root where to search for dependent libraries,and where our libraries should be installed.
  1642. lt_sysroot=$lt_sysroot
  1643. # Command to truncate a binary pipe.
  1644. lt_truncate_bin=$lt_lt_cv_truncate_bin
  1645. # The name of the directory that contains temporary libtool files.
  1646. objdir=$objdir
  1647. # Used to examine libraries when file_magic_cmd begins with "file".
  1648. MAGIC_CMD=$MAGIC_CMD
  1649. # Must we lock files when doing compilation?
  1650. need_locks=$lt_need_locks
  1651. # Manifest tool.
  1652. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  1653. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1654. DSYMUTIL=$lt_DSYMUTIL
  1655. # Tool to change global to local symbols on Mac OS X.
  1656. NMEDIT=$lt_NMEDIT
  1657. # Tool to manipulate fat objects and archives on Mac OS X.
  1658. LIPO=$lt_LIPO
  1659. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1660. OTOOL=$lt_OTOOL
  1661. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1662. OTOOL64=$lt_OTOOL64
  1663. # Old archive suffix (normally "a").
  1664. libext=$libext
  1665. # Shared library suffix (normally ".so").
  1666. shrext_cmds=$lt_shrext_cmds
  1667. # The commands to extract the exported symbol list from a shared archive.
  1668. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1669. # Variables whose values should be saved in libtool wrapper scripts and
  1670. # restored at link time.
  1671. variables_saved_for_relink=$lt_variables_saved_for_relink
  1672. # Do we need the "lib" prefix for modules?
  1673. need_lib_prefix=$need_lib_prefix
  1674. # Do we need a version for libraries?
  1675. need_version=$need_version
  1676. # Library versioning type.
  1677. version_type=$version_type
  1678. # Shared library runtime path variable.
  1679. runpath_var=$runpath_var
  1680. # Shared library path variable.
  1681. shlibpath_var=$shlibpath_var
  1682. # Is shlibpath searched before the hard-coded library search path?
  1683. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1684. # Format of library name prefix.
  1685. libname_spec=$lt_libname_spec
  1686. # List of archive names. First name is the real one, the rest are links.
  1687. # The last name is the one that the linker finds with -lNAME
  1688. library_names_spec=$lt_library_names_spec
  1689. # The coded name of the library, if different from the real name.
  1690. soname_spec=$lt_soname_spec
  1691. # Permission mode override for installation of shared libraries.
  1692. install_override_mode=$lt_install_override_mode
  1693. # Command to use after installation of a shared archive.
  1694. postinstall_cmds=$lt_postinstall_cmds
  1695. # Command to use after uninstallation of a shared archive.
  1696. postuninstall_cmds=$lt_postuninstall_cmds
  1697. # Commands used to finish a libtool library installation in a directory.
  1698. finish_cmds=$lt_finish_cmds
  1699. # As "finish_cmds", except a single script fragment to be evaled but
  1700. # not shown.
  1701. finish_eval=$lt_finish_eval
  1702. # Whether we should hardcode library paths into libraries.
  1703. hardcode_into_libs=$hardcode_into_libs
  1704. # Compile-time system search path for libraries.
  1705. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1706. # Detected run-time system search path for libraries.
  1707. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  1708. # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  1709. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  1710. # Whether dlopen is supported.
  1711. dlopen_support=$enable_dlopen
  1712. # Whether dlopen of programs is supported.
  1713. dlopen_self=$enable_dlopen_self
  1714. # Whether dlopen of statically linked programs is supported.
  1715. dlopen_self_static=$enable_dlopen_self_static
  1716. # Commands to strip libraries.
  1717. old_striplib=$lt_old_striplib
  1718. striplib=$lt_striplib
  1719. # The linker used to build libraries.
  1720. LD=$lt_LD
  1721. # How to create reloadable object files.
  1722. reload_flag=$lt_reload_flag
  1723. reload_cmds=$lt_reload_cmds
  1724. # Commands used to build an old-style archive.
  1725. old_archive_cmds=$lt_old_archive_cmds
  1726. # A language specific compiler.
  1727. CC=$lt_compiler
  1728. # Is the compiler the GNU compiler?
  1729. with_gcc=$GCC
  1730. # Compiler flag to turn off builtin functions.
  1731. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1732. # Additional compiler flags for building library objects.
  1733. pic_flag=$lt_lt_prog_compiler_pic
  1734. # How to pass a linker flag through the compiler.
  1735. wl=$lt_lt_prog_compiler_wl
  1736. # Compiler flag to prevent dynamic linking.
  1737. link_static_flag=$lt_lt_prog_compiler_static
  1738. # Does compiler simultaneously support -c and -o options?
  1739. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1740. # Whether or not to add -lc for building shared libraries.
  1741. build_libtool_need_lc=$archive_cmds_need_lc
  1742. # Whether or not to disallow shared libs when runtime libs are static.
  1743. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1744. # Compiler flag to allow reflexive dlopens.
  1745. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1746. # Compiler flag to generate shared objects directly from archives.
  1747. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1748. # Whether the compiler copes with passing no objects directly.
  1749. compiler_needs_object=$lt_compiler_needs_object
  1750. # Create an old-style archive from a shared archive.
  1751. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1752. # Create a temporary old-style archive to link instead of a shared archive.
  1753. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1754. # Commands used to build a shared archive.
  1755. archive_cmds=$lt_archive_cmds
  1756. archive_expsym_cmds=$lt_archive_expsym_cmds
  1757. # Commands used to build a loadable module if different from building
  1758. # a shared archive.
  1759. module_cmds=$lt_module_cmds
  1760. module_expsym_cmds=$lt_module_expsym_cmds
  1761. # Whether we are building with GNU ld or not.
  1762. with_gnu_ld=$lt_with_gnu_ld
  1763. # Flag that allows shared libraries with undefined symbols to be built.
  1764. allow_undefined_flag=$lt_allow_undefined_flag
  1765. # Flag that enforces no undefined symbols.
  1766. no_undefined_flag=$lt_no_undefined_flag
  1767. # Flag to hardcode \$libdir into a binary during linking.
  1768. # This must work even if \$libdir does not exist
  1769. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1770. # Whether we need a single "-rpath" flag with a separated argument.
  1771. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1772. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  1773. # DIR into the resulting binary.
  1774. hardcode_direct=$hardcode_direct
  1775. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  1776. # DIR into the resulting binary and the resulting library dependency is
  1777. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  1778. # library is relocated.
  1779. hardcode_direct_absolute=$hardcode_direct_absolute
  1780. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1781. # into the resulting binary.
  1782. hardcode_minus_L=$hardcode_minus_L
  1783. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1784. # into the resulting binary.
  1785. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1786. # Set to "yes" if building a shared library automatically hardcodes DIR
  1787. # into the library and all subsequent libraries and executables linked
  1788. # against it.
  1789. hardcode_automatic=$hardcode_automatic
  1790. # Set to yes if linker adds runtime paths of dependent libraries
  1791. # to runtime path list.
  1792. inherit_rpath=$inherit_rpath
  1793. # Whether libtool must link a program against all its dependency libraries.
  1794. link_all_deplibs=$link_all_deplibs
  1795. # Set to "yes" if exported symbols are required.
  1796. always_export_symbols=$always_export_symbols
  1797. # The commands to list exported symbols.
  1798. export_symbols_cmds=$lt_export_symbols_cmds
  1799. # Symbols that should not be listed in the preloaded symbols.
  1800. exclude_expsyms=$lt_exclude_expsyms
  1801. # Symbols that must always be exported.
  1802. include_expsyms=$lt_include_expsyms
  1803. # Commands necessary for linking programs (against libraries) with templates.
  1804. prelink_cmds=$lt_prelink_cmds
  1805. # Commands necessary for finishing linking programs.
  1806. postlink_cmds=$lt_postlink_cmds
  1807. # Specify filename containing input files.
  1808. file_list_spec=$lt_file_list_spec
  1809. # How to hardcode a shared library path into an executable.
  1810. hardcode_action=$hardcode_action
  1811. # The directories searched by this compiler when creating a shared library.
  1812. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  1813. # Dependencies to place before and after the objects being linked to
  1814. # create a shared library.
  1815. predep_objects=$lt_predep_objects
  1816. postdep_objects=$lt_postdep_objects
  1817. predeps=$lt_predeps
  1818. postdeps=$lt_postdeps
  1819. # The library search path used internally by the compiler when linking
  1820. # a shared library.
  1821. compiler_lib_search_path=$lt_compiler_lib_search_path
  1822. # ### END LIBTOOL CONFIG
  1823. _LT_EOF
  1824. cat <<'_LT_EOF' >> "$cfgfile"
  1825. # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  1826. # func_munge_path_list VARIABLE PATH
  1827. # -----------------------------------
  1828. # VARIABLE is name of variable containing _space_ separated list of
  1829. # directories to be munged by the contents of PATH, which is string
  1830. # having a format:
  1831. # "DIR[:DIR]:"
  1832. # string "DIR[ DIR]" will be prepended to VARIABLE
  1833. # ":DIR[:DIR]"
  1834. # string "DIR[ DIR]" will be appended to VARIABLE
  1835. # "DIRP[:DIRP]::[DIRA:]DIRA"
  1836. # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  1837. # "DIRA[ DIRA]" will be appended to VARIABLE
  1838. # "DIR[:DIR]"
  1839. # VARIABLE will be replaced by "DIR[ DIR]"
  1840. func_munge_path_list ()
  1841. {
  1842. case x$2 in
  1843. x)
  1844. ;;
  1845. *:)
  1846. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
  1847. ;;
  1848. x:*)
  1849. eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
  1850. ;;
  1851. *::*)
  1852. eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  1853. eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
  1854. ;;
  1855. *)
  1856. eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
  1857. ;;
  1858. esac
  1859. }
  1860. # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  1861. func_cc_basename ()
  1862. {
  1863. for cc_temp in $*""; do
  1864. case $cc_temp in
  1865. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  1866. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  1867. \-*) ;;
  1868. *) break;;
  1869. esac
  1870. done
  1871. func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  1872. }
  1873. # ### END FUNCTIONS SHARED WITH CONFIGURE
  1874. _LT_EOF
  1875. case $host_os in
  1876. aix3*)
  1877. cat <<\_LT_EOF >> "$cfgfile"
  1878. # AIX sometimes has problems with the GCC collect2 program. For some
  1879. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1880. # vanish in a puff of smoke.
  1881. if test set != "${COLLECT_NAMES+set}"; then
  1882. COLLECT_NAMES=
  1883. export COLLECT_NAMES
  1884. fi
  1885. _LT_EOF
  1886. ;;
  1887. esac
  1888. ltmain=$ac_aux_dir/ltmain.sh
  1889. # We use sed instead of cat because bash on DJGPP gets confused if
  1890. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  1891. # text mode, it properly converts lines to CR/LF. This bash problem
  1892. # is reportedly fixed, but why not run on old versions too?
  1893. sed '$q' "$ltmain" >> "$cfgfile" \
  1894. || (rm -f "$cfgfile"; exit 1)
  1895. mv -f "$cfgfile" "$ofile" ||
  1896. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  1897. chmod +x "$ofile"
  1898. cat <<_LT_EOF >> "$ofile"
  1899. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  1900. # The linker used to build libraries.
  1901. LD=$lt_LD_CXX
  1902. # How to create reloadable object files.
  1903. reload_flag=$lt_reload_flag_CXX
  1904. reload_cmds=$lt_reload_cmds_CXX
  1905. # Commands used to build an old-style archive.
  1906. old_archive_cmds=$lt_old_archive_cmds_CXX
  1907. # A language specific compiler.
  1908. CC=$lt_compiler_CXX
  1909. # Is the compiler the GNU compiler?
  1910. with_gcc=$GCC_CXX
  1911. # Compiler flag to turn off builtin functions.
  1912. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  1913. # Additional compiler flags for building library objects.
  1914. pic_flag=$lt_lt_prog_compiler_pic_CXX
  1915. # How to pass a linker flag through the compiler.
  1916. wl=$lt_lt_prog_compiler_wl_CXX
  1917. # Compiler flag to prevent dynamic linking.
  1918. link_static_flag=$lt_lt_prog_compiler_static_CXX
  1919. # Does compiler simultaneously support -c and -o options?
  1920. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  1921. # Whether or not to add -lc for building shared libraries.
  1922. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  1923. # Whether or not to disallow shared libs when runtime libs are static.
  1924. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  1925. # Compiler flag to allow reflexive dlopens.
  1926. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  1927. # Compiler flag to generate shared objects directly from archives.
  1928. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  1929. # Whether the compiler copes with passing no objects directly.
  1930. compiler_needs_object=$lt_compiler_needs_object_CXX
  1931. # Create an old-style archive from a shared archive.
  1932. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  1933. # Create a temporary old-style archive to link instead of a shared archive.
  1934. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  1935. # Commands used to build a shared archive.
  1936. archive_cmds=$lt_archive_cmds_CXX
  1937. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  1938. # Commands used to build a loadable module if different from building
  1939. # a shared archive.
  1940. module_cmds=$lt_module_cmds_CXX
  1941. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  1942. # Whether we are building with GNU ld or not.
  1943. with_gnu_ld=$lt_with_gnu_ld_CXX
  1944. # Flag that allows shared libraries with undefined symbols to be built.
  1945. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  1946. # Flag that enforces no undefined symbols.
  1947. no_undefined_flag=$lt_no_undefined_flag_CXX
  1948. # Flag to hardcode \$libdir into a binary during linking.
  1949. # This must work even if \$libdir does not exist
  1950. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  1951. # Whether we need a single "-rpath" flag with a separated argument.
  1952. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  1953. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  1954. # DIR into the resulting binary.
  1955. hardcode_direct=$hardcode_direct_CXX
  1956. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  1957. # DIR into the resulting binary and the resulting library dependency is
  1958. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  1959. # library is relocated.
  1960. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  1961. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1962. # into the resulting binary.
  1963. hardcode_minus_L=$hardcode_minus_L_CXX
  1964. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1965. # into the resulting binary.
  1966. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  1967. # Set to "yes" if building a shared library automatically hardcodes DIR
  1968. # into the library and all subsequent libraries and executables linked
  1969. # against it.
  1970. hardcode_automatic=$hardcode_automatic_CXX
  1971. # Set to yes if linker adds runtime paths of dependent libraries
  1972. # to runtime path list.
  1973. inherit_rpath=$inherit_rpath_CXX
  1974. # Whether libtool must link a program against all its dependency libraries.
  1975. link_all_deplibs=$link_all_deplibs_CXX
  1976. # Set to "yes" if exported symbols are required.
  1977. always_export_symbols=$always_export_symbols_CXX
  1978. # The commands to list exported symbols.
  1979. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  1980. # Symbols that should not be listed in the preloaded symbols.
  1981. exclude_expsyms=$lt_exclude_expsyms_CXX
  1982. # Symbols that must always be exported.
  1983. include_expsyms=$lt_include_expsyms_CXX
  1984. # Commands necessary for linking programs (against libraries) with templates.
  1985. prelink_cmds=$lt_prelink_cmds_CXX
  1986. # Commands necessary for finishing linking programs.
  1987. postlink_cmds=$lt_postlink_cmds_CXX
  1988. # Specify filename containing input files.
  1989. file_list_spec=$lt_file_list_spec_CXX
  1990. # How to hardcode a shared library path into an executable.
  1991. hardcode_action=$hardcode_action_CXX
  1992. # The directories searched by this compiler when creating a shared library.
  1993. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  1994. # Dependencies to place before and after the objects being linked to
  1995. # create a shared library.
  1996. predep_objects=$lt_predep_objects_CXX
  1997. postdep_objects=$lt_postdep_objects_CXX
  1998. predeps=$lt_predeps_CXX
  1999. postdeps=$lt_postdeps_CXX
  2000. # The library search path used internally by the compiler when linking
  2001. # a shared library.
  2002. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  2003. # ### END LIBTOOL TAG CONFIG: CXX
  2004. _LT_EOF
  2005. cat <<_LT_EOF >> "$ofile"
  2006. # ### BEGIN LIBTOOL TAG CONFIG: RC
  2007. # The linker used to build libraries.
  2008. LD=$lt_LD_RC
  2009. # How to create reloadable object files.
  2010. reload_flag=$lt_reload_flag_RC
  2011. reload_cmds=$lt_reload_cmds_RC
  2012. # Commands used to build an old-style archive.
  2013. old_archive_cmds=$lt_old_archive_cmds_RC
  2014. # A language specific compiler.
  2015. CC=$lt_compiler_RC
  2016. # Is the compiler the GNU compiler?
  2017. with_gcc=$GCC_RC
  2018. # Compiler flag to turn off builtin functions.
  2019. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
  2020. # Additional compiler flags for building library objects.
  2021. pic_flag=$lt_lt_prog_compiler_pic_RC
  2022. # How to pass a linker flag through the compiler.
  2023. wl=$lt_lt_prog_compiler_wl_RC
  2024. # Compiler flag to prevent dynamic linking.
  2025. link_static_flag=$lt_lt_prog_compiler_static_RC
  2026. # Does compiler simultaneously support -c and -o options?
  2027. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
  2028. # Whether or not to add -lc for building shared libraries.
  2029. build_libtool_need_lc=$archive_cmds_need_lc_RC
  2030. # Whether or not to disallow shared libs when runtime libs are static.
  2031. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
  2032. # Compiler flag to allow reflexive dlopens.
  2033. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
  2034. # Compiler flag to generate shared objects directly from archives.
  2035. whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
  2036. # Whether the compiler copes with passing no objects directly.
  2037. compiler_needs_object=$lt_compiler_needs_object_RC
  2038. # Create an old-style archive from a shared archive.
  2039. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
  2040. # Create a temporary old-style archive to link instead of a shared archive.
  2041. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
  2042. # Commands used to build a shared archive.
  2043. archive_cmds=$lt_archive_cmds_RC
  2044. archive_expsym_cmds=$lt_archive_expsym_cmds_RC
  2045. # Commands used to build a loadable module if different from building
  2046. # a shared archive.
  2047. module_cmds=$lt_module_cmds_RC
  2048. module_expsym_cmds=$lt_module_expsym_cmds_RC
  2049. # Whether we are building with GNU ld or not.
  2050. with_gnu_ld=$lt_with_gnu_ld_RC
  2051. # Flag that allows shared libraries with undefined symbols to be built.
  2052. allow_undefined_flag=$lt_allow_undefined_flag_RC
  2053. # Flag that enforces no undefined symbols.
  2054. no_undefined_flag=$lt_no_undefined_flag_RC
  2055. # Flag to hardcode \$libdir into a binary during linking.
  2056. # This must work even if \$libdir does not exist
  2057. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
  2058. # Whether we need a single "-rpath" flag with a separated argument.
  2059. hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
  2060. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  2061. # DIR into the resulting binary.
  2062. hardcode_direct=$hardcode_direct_RC
  2063. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  2064. # DIR into the resulting binary and the resulting library dependency is
  2065. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  2066. # library is relocated.
  2067. hardcode_direct_absolute=$hardcode_direct_absolute_RC
  2068. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  2069. # into the resulting binary.
  2070. hardcode_minus_L=$hardcode_minus_L_RC
  2071. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  2072. # into the resulting binary.
  2073. hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
  2074. # Set to "yes" if building a shared library automatically hardcodes DIR
  2075. # into the library and all subsequent libraries and executables linked
  2076. # against it.
  2077. hardcode_automatic=$hardcode_automatic_RC
  2078. # Set to yes if linker adds runtime paths of dependent libraries
  2079. # to runtime path list.
  2080. inherit_rpath=$inherit_rpath_RC
  2081. # Whether libtool must link a program against all its dependency libraries.
  2082. link_all_deplibs=$link_all_deplibs_RC
  2083. # Set to "yes" if exported symbols are required.
  2084. always_export_symbols=$always_export_symbols_RC
  2085. # The commands to list exported symbols.
  2086. export_symbols_cmds=$lt_export_symbols_cmds_RC
  2087. # Symbols that should not be listed in the preloaded symbols.
  2088. exclude_expsyms=$lt_exclude_expsyms_RC
  2089. # Symbols that must always be exported.
  2090. include_expsyms=$lt_include_expsyms_RC
  2091. # Commands necessary for linking programs (against libraries) with templates.
  2092. prelink_cmds=$lt_prelink_cmds_RC
  2093. # Commands necessary for finishing linking programs.
  2094. postlink_cmds=$lt_postlink_cmds_RC
  2095. # Specify filename containing input files.
  2096. file_list_spec=$lt_file_list_spec_RC
  2097. # How to hardcode a shared library path into an executable.
  2098. hardcode_action=$hardcode_action_RC
  2099. # The directories searched by this compiler when creating a shared library.
  2100. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
  2101. # Dependencies to place before and after the objects being linked to
  2102. # create a shared library.
  2103. predep_objects=$lt_predep_objects_RC
  2104. postdep_objects=$lt_postdep_objects_RC
  2105. predeps=$lt_predeps_RC
  2106. postdeps=$lt_postdeps_RC
  2107. # The library search path used internally by the compiler when linking
  2108. # a shared library.
  2109. compiler_lib_search_path=$lt_compiler_lib_search_path_RC
  2110. # ### END LIBTOOL TAG CONFIG: RC
  2111. _LT_EOF
  2112. ;;
  2113. esac
  2114. done # for ac_tag
  2115. as_fn_exit 0