config.status 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049
  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. as_nop=:
  17. if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
  18. then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else $as_nop
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. # Reset variables that may have inherited troublesome values from
  34. # the environment.
  35. # IFS needs to be set, to space, tab, and newline, in precisely that order.
  36. # (If _AS_PATH_WALK were called with IFS unset, it would have the
  37. # side effect of setting IFS to empty, thus disabling word splitting.)
  38. # Quoting is to prevent editors from complaining about space-tab.
  39. as_nl='
  40. '
  41. export as_nl
  42. IFS=" "" $as_nl"
  43. PS1='$ '
  44. PS2='> '
  45. PS4='+ '
  46. # Ensure predictable behavior from utilities with locale-dependent output.
  47. LC_ALL=C
  48. export LC_ALL
  49. LANGUAGE=C
  50. export LANGUAGE
  51. # We cannot yet rely on "unset" to work, but we need these variables
  52. # to be unset--not just set to an empty or harmless value--now, to
  53. # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
  54. # also avoids known problems related to "unset" and subshell syntax
  55. # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
  56. for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
  57. do eval test \${$as_var+y} \
  58. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  59. done
  60. # Ensure that fds 0, 1, and 2 are open.
  61. if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
  62. if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
  63. if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
  64. # The user is always right.
  65. if ${PATH_SEPARATOR+false} :; then
  66. PATH_SEPARATOR=:
  67. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  68. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  69. PATH_SEPARATOR=';'
  70. }
  71. fi
  72. # Find who we are. Look in the path if we contain no directory separator.
  73. as_myself=
  74. case $0 in #((
  75. *[\\/]* ) as_myself=$0 ;;
  76. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  77. for as_dir in $PATH
  78. do
  79. IFS=$as_save_IFS
  80. case $as_dir in #(((
  81. '') as_dir=./ ;;
  82. */) ;;
  83. *) as_dir=$as_dir/ ;;
  84. esac
  85. test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  86. done
  87. IFS=$as_save_IFS
  88. ;;
  89. esac
  90. # We did not find ourselves, most probably we were run as `sh COMMAND'
  91. # in which case we are not to be found in the path.
  92. if test "x$as_myself" = x; then
  93. as_myself=$0
  94. fi
  95. if test ! -f "$as_myself"; then
  96. printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  97. exit 1
  98. fi
  99. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  100. # ----------------------------------------
  101. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  102. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  103. # script with STATUS, using 1 if that was 0.
  104. as_fn_error ()
  105. {
  106. as_status=$1; test $as_status -eq 0 && as_status=1
  107. if test "$4"; then
  108. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  109. printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  110. fi
  111. printf "%s\n" "$as_me: error: $2" >&2
  112. as_fn_exit $as_status
  113. } # as_fn_error
  114. # as_fn_set_status STATUS
  115. # -----------------------
  116. # Set $? to STATUS, without forking.
  117. as_fn_set_status ()
  118. {
  119. return $1
  120. } # as_fn_set_status
  121. # as_fn_exit STATUS
  122. # -----------------
  123. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  124. as_fn_exit ()
  125. {
  126. set +e
  127. as_fn_set_status $1
  128. exit $1
  129. } # as_fn_exit
  130. # as_fn_unset VAR
  131. # ---------------
  132. # Portably unset VAR.
  133. as_fn_unset ()
  134. {
  135. { eval $1=; unset $1;}
  136. }
  137. as_unset=as_fn_unset
  138. # as_fn_append VAR VALUE
  139. # ----------------------
  140. # Append the text in VALUE to the end of the definition contained in VAR. Take
  141. # advantage of any shell optimizations that allow amortized linear growth over
  142. # repeated appends, instead of the typical quadratic growth present in naive
  143. # implementations.
  144. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
  145. then :
  146. eval 'as_fn_append ()
  147. {
  148. eval $1+=\$2
  149. }'
  150. else $as_nop
  151. as_fn_append ()
  152. {
  153. eval $1=\$$1\$2
  154. }
  155. fi # as_fn_append
  156. # as_fn_arith ARG...
  157. # ------------------
  158. # Perform arithmetic evaluation on the ARGs, and store the result in the
  159. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  160. # must be portable across $(()) and expr.
  161. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
  162. then :
  163. eval 'as_fn_arith ()
  164. {
  165. as_val=$(( $* ))
  166. }'
  167. else $as_nop
  168. as_fn_arith ()
  169. {
  170. as_val=`expr "$@" || test $? -eq 1`
  171. }
  172. fi # as_fn_arith
  173. if expr a : '\(a\)' >/dev/null 2>&1 &&
  174. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  175. as_expr=expr
  176. else
  177. as_expr=false
  178. fi
  179. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  180. as_basename=basename
  181. else
  182. as_basename=false
  183. fi
  184. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  185. as_dirname=dirname
  186. else
  187. as_dirname=false
  188. fi
  189. as_me=`$as_basename -- "$0" ||
  190. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  191. X"$0" : 'X\(//\)$' \| \
  192. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  193. printf "%s\n" X/"$0" |
  194. sed '/^.*\/\([^/][^/]*\)\/*$/{
  195. s//\1/
  196. q
  197. }
  198. /^X\/\(\/\/\)$/{
  199. s//\1/
  200. q
  201. }
  202. /^X\/\(\/\).*/{
  203. s//\1/
  204. q
  205. }
  206. s/.*/./; q'`
  207. # Avoid depending upon Character Ranges.
  208. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  209. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  210. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  211. as_cr_digits='0123456789'
  212. as_cr_alnum=$as_cr_Letters$as_cr_digits
  213. # Determine whether it's possible to make 'echo' print without a newline.
  214. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
  215. # for compatibility with existing Makefiles.
  216. ECHO_C= ECHO_N= ECHO_T=
  217. case `echo -n x` in #(((((
  218. -n*)
  219. case `echo 'xy\c'` in
  220. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  221. xy) ECHO_C='\c';;
  222. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  223. ECHO_T=' ';;
  224. esac;;
  225. *)
  226. ECHO_N='-n';;
  227. esac
  228. # For backward compatibility with old third-party macros, we provide
  229. # the shell variables $as_echo and $as_echo_n. New code should use
  230. # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
  231. as_echo='printf %s\n'
  232. as_echo_n='printf %s'
  233. rm -f conf$$ conf$$.exe conf$$.file
  234. if test -d conf$$.dir; then
  235. rm -f conf$$.dir/conf$$.file
  236. else
  237. rm -f conf$$.dir
  238. mkdir conf$$.dir 2>/dev/null
  239. fi
  240. if (echo >conf$$.file) 2>/dev/null; then
  241. if ln -s conf$$.file conf$$ 2>/dev/null; then
  242. as_ln_s='ln -s'
  243. # ... but there are two gotchas:
  244. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  245. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  246. # In both cases, we have to default to `cp -pR'.
  247. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  248. as_ln_s='cp -pR'
  249. elif ln conf$$.file conf$$ 2>/dev/null; then
  250. as_ln_s=ln
  251. else
  252. as_ln_s='cp -pR'
  253. fi
  254. else
  255. as_ln_s='cp -pR'
  256. fi
  257. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  258. rmdir conf$$.dir 2>/dev/null
  259. # as_fn_mkdir_p
  260. # -------------
  261. # Create "$as_dir" as a directory, including parents if necessary.
  262. as_fn_mkdir_p ()
  263. {
  264. case $as_dir in #(
  265. -*) as_dir=./$as_dir;;
  266. esac
  267. test -d "$as_dir" || eval $as_mkdir_p || {
  268. as_dirs=
  269. while :; do
  270. case $as_dir in #(
  271. *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  272. *) as_qdir=$as_dir;;
  273. esac
  274. as_dirs="'$as_qdir' $as_dirs"
  275. as_dir=`$as_dirname -- "$as_dir" ||
  276. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  277. X"$as_dir" : 'X\(//\)[^/]' \| \
  278. X"$as_dir" : 'X\(//\)$' \| \
  279. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  280. printf "%s\n" X"$as_dir" |
  281. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  282. s//\1/
  283. q
  284. }
  285. /^X\(\/\/\)[^/].*/{
  286. s//\1/
  287. q
  288. }
  289. /^X\(\/\/\)$/{
  290. s//\1/
  291. q
  292. }
  293. /^X\(\/\).*/{
  294. s//\1/
  295. q
  296. }
  297. s/.*/./; q'`
  298. test -d "$as_dir" && break
  299. done
  300. test -z "$as_dirs" || eval "mkdir $as_dirs"
  301. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  302. } # as_fn_mkdir_p
  303. if mkdir -p . 2>/dev/null; then
  304. as_mkdir_p='mkdir -p "$as_dir"'
  305. else
  306. test -d ./-p && rmdir ./-p
  307. as_mkdir_p=false
  308. fi
  309. # as_fn_executable_p FILE
  310. # -----------------------
  311. # Test if FILE is an executable regular file.
  312. as_fn_executable_p ()
  313. {
  314. test -f "$1" && test -x "$1"
  315. } # as_fn_executable_p
  316. as_test_x='test -x'
  317. as_executable_p=as_fn_executable_p
  318. # Sed expression to map a string onto a valid CPP name.
  319. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  320. # Sed expression to map a string onto a valid variable name.
  321. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  322. exec 6>&1
  323. ## ----------------------------------- ##
  324. ## Main body of $CONFIG_STATUS script. ##
  325. ## ----------------------------------- ##
  326. # Save the log message, to keep $0 and so on meaningful, and to
  327. # report actual input values of CONFIG_FILES etc. instead of their
  328. # values after options handling.
  329. ac_log="
  330. This file was extended by spearl $as_me 0.01, which was
  331. generated by GNU Autoconf 2.71. Invocation command line was
  332. CONFIG_FILES = $CONFIG_FILES
  333. CONFIG_HEADERS = $CONFIG_HEADERS
  334. CONFIG_LINKS = $CONFIG_LINKS
  335. CONFIG_COMMANDS = $CONFIG_COMMANDS
  336. $ $0 $@
  337. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  338. "
  339. # Files that config.status was made for.
  340. config_files=" Makefile"
  341. config_commands=" depfiles"
  342. ac_cs_usage="\
  343. \`$as_me' instantiates files and other configuration actions
  344. from templates according to the current configuration. Unless the files
  345. and actions are specified as TAGs, all are instantiated by default.
  346. Usage: $0 [OPTION]... [TAG]...
  347. -h, --help print this help, then exit
  348. -V, --version print version number and configuration settings, then exit
  349. --config print configuration, then exit
  350. -q, --quiet, --silent
  351. do not print progress messages
  352. -d, --debug don't remove temporary files
  353. --recheck update $as_me by reconfiguring in the same conditions
  354. --file=FILE[:TEMPLATE]
  355. instantiate the configuration file FILE
  356. Configuration files:
  357. $config_files
  358. Configuration commands:
  359. $config_commands
  360. Report bugs to <root@intirain.cc>."
  361. ac_cs_config=''
  362. ac_cs_version="\
  363. spearl config.status 0.01
  364. configured by ./configure, generated by GNU Autoconf 2.71,
  365. with options \"$ac_cs_config\"
  366. Copyright (C) 2021 Free Software Foundation, Inc.
  367. This config.status script is free software; the Free Software Foundation
  368. gives unlimited permission to copy, distribute and modify it."
  369. ac_pwd='/root/spearl'
  370. srcdir='.'
  371. INSTALL='/usr/bin/install -c'
  372. MKDIR_P='/usr/bin/mkdir -p'
  373. AWK='gawk'
  374. test -n "$AWK" || AWK=awk
  375. # The default lists apply if the user does not specify any file.
  376. ac_need_defaults=:
  377. while test $# != 0
  378. do
  379. case $1 in
  380. --*=?*)
  381. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  382. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  383. ac_shift=:
  384. ;;
  385. --*=)
  386. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  387. ac_optarg=
  388. ac_shift=:
  389. ;;
  390. *)
  391. ac_option=$1
  392. ac_optarg=$2
  393. ac_shift=shift
  394. ;;
  395. esac
  396. case $ac_option in
  397. # Handling of the options.
  398. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  399. ac_cs_recheck=: ;;
  400. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  401. printf "%s\n" "$ac_cs_version"; exit ;;
  402. --config | --confi | --conf | --con | --co | --c )
  403. printf "%s\n" "$ac_cs_config"; exit ;;
  404. --debug | --debu | --deb | --de | --d | -d )
  405. debug=: ;;
  406. --file | --fil | --fi | --f )
  407. $ac_shift
  408. case $ac_optarg in
  409. *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  410. '') as_fn_error $? "missing file argument" ;;
  411. esac
  412. as_fn_append CONFIG_FILES " '$ac_optarg'"
  413. ac_need_defaults=false;;
  414. --he | --h | --help | --hel | -h )
  415. printf "%s\n" "$ac_cs_usage"; exit ;;
  416. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  417. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  418. ac_cs_silent=: ;;
  419. # This is an error.
  420. -*) as_fn_error $? "unrecognized option: \`$1'
  421. Try \`$0 --help' for more information." ;;
  422. *) as_fn_append ac_config_targets " $1"
  423. ac_need_defaults=false ;;
  424. esac
  425. shift
  426. done
  427. ac_configure_extra_args=
  428. if $ac_cs_silent; then
  429. exec 6>/dev/null
  430. ac_configure_extra_args="$ac_configure_extra_args --silent"
  431. fi
  432. if $ac_cs_recheck; then
  433. set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion
  434. shift
  435. \printf "%s\n" "running CONFIG_SHELL=/bin/sh $*" >&6
  436. CONFIG_SHELL='/bin/sh'
  437. export CONFIG_SHELL
  438. exec "$@"
  439. fi
  440. exec 5>>config.log
  441. {
  442. echo
  443. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  444. ## Running $as_me. ##
  445. _ASBOX
  446. printf "%s\n" "$ac_log"
  447. } >&5
  448. #
  449. # INIT-COMMANDS
  450. #
  451. AMDEP_TRUE="" MAKE="make"
  452. # Handling of arguments.
  453. for ac_config_target in $ac_config_targets
  454. do
  455. case $ac_config_target in
  456. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  457. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  458. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  459. esac
  460. done
  461. # If the user did not use the arguments to specify the items to instantiate,
  462. # then the envvar interface is used. Set only those that are not.
  463. # We use the long form for the default assignment because of an extremely
  464. # bizarre bug on SunOS 4.1.3.
  465. if $ac_need_defaults; then
  466. test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
  467. test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
  468. fi
  469. # Have a temporary directory for convenience. Make it in the build tree
  470. # simply because there is no reason against having it here, and in addition,
  471. # creating and moving files from /tmp can sometimes cause problems.
  472. # Hook for its removal unless debugging.
  473. # Note that there is a small window in which the directory will not be cleaned:
  474. # after its creation but before its name has been assigned to `$tmp'.
  475. $debug ||
  476. {
  477. tmp= ac_tmp=
  478. trap 'exit_status=$?
  479. : "${ac_tmp:=$tmp}"
  480. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  481. ' 0
  482. trap 'as_fn_exit 1' 1 2 13 15
  483. }
  484. # Create a (secure) tmp directory for tmp files.
  485. {
  486. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  487. test -d "$tmp"
  488. } ||
  489. {
  490. tmp=./conf$$-$RANDOM
  491. (umask 077 && mkdir "$tmp")
  492. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  493. ac_tmp=$tmp
  494. # Set up the scripts for CONFIG_FILES section.
  495. # No need to generate them if there are no CONFIG_FILES.
  496. # This happens for instance with `./config.status config.h'.
  497. if test -n "$CONFIG_FILES"; then
  498. ac_cr=`echo X | tr X '\015'`
  499. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  500. # But we know of no other shell where ac_cr would be empty at this
  501. # point, so we can use a bashism as a fallback.
  502. if test "x$ac_cr" = x; then
  503. eval ac_cr=\$\'\\r\'
  504. fi
  505. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  506. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  507. ac_cs_awk_cr='\\r'
  508. else
  509. ac_cs_awk_cr=$ac_cr
  510. fi
  511. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  512. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  513. S["am__EXEEXT_FALSE"]=""
  514. S["am__EXEEXT_TRUE"]="#"
  515. S["LTLIBOBJS"]=""
  516. S["LIBOBJS"]=""
  517. S["am__fastdepCC_FALSE"]="#"
  518. S["am__fastdepCC_TRUE"]=""
  519. S["CCDEPMODE"]="depmode=gcc3"
  520. S["am__nodep"]="_no"
  521. S["AMDEPBACKSLASH"]="\\"
  522. S["AMDEP_FALSE"]="#"
  523. S["AMDEP_TRUE"]=""
  524. S["am__include"]="include"
  525. S["DEPDIR"]=".deps"
  526. S["OBJEXT"]="o"
  527. S["EXEEXT"]=""
  528. S["ac_ct_CC"]="gcc"
  529. S["CPPFLAGS"]=""
  530. S["LDFLAGS"]=""
  531. S["CFLAGS"]="-Iinclude -Wall -Wextra -Werror"
  532. S["CC"]="gcc"
  533. S["AM_BACKSLASH"]="\\"
  534. S["AM_DEFAULT_VERBOSITY"]="1"
  535. S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
  536. S["AM_V"]="$(V)"
  537. S["CSCOPE"]="cscope"
  538. S["ETAGS"]="etags"
  539. S["CTAGS"]="ctags"
  540. S["am__untar"]="$${TAR-tar} xf -"
  541. S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
  542. S["AMTAR"]="$${TAR-tar}"
  543. S["am__leading_dot"]="."
  544. S["SET_MAKE"]=""
  545. S["AWK"]="gawk"
  546. S["mkdir_p"]="$(MKDIR_P)"
  547. S["MKDIR_P"]="/usr/bin/mkdir -p"
  548. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  549. S["STRIP"]=""
  550. S["install_sh"]="${SHELL} /root/spearl/install-sh"
  551. S["MAKEINFO"]="${SHELL} '/root/spearl/missing' makeinfo"
  552. S["AUTOHEADER"]="${SHELL} '/root/spearl/missing' autoheader"
  553. S["AUTOMAKE"]="${SHELL} '/root/spearl/missing' automake-1.16"
  554. S["AUTOCONF"]="${SHELL} '/root/spearl/missing' autoconf"
  555. S["ACLOCAL"]="${SHELL} '/root/spearl/missing' aclocal-1.16"
  556. S["VERSION"]="0.01"
  557. S["PACKAGE"]="spearl"
  558. S["CYGPATH_W"]="echo"
  559. S["am__isrc"]=""
  560. S["INSTALL_DATA"]="${INSTALL} -m 644"
  561. S["INSTALL_SCRIPT"]="${INSTALL}"
  562. S["INSTALL_PROGRAM"]="${INSTALL}"
  563. S["target_alias"]=""
  564. S["host_alias"]=""
  565. S["build_alias"]=""
  566. S["LIBS"]=""
  567. S["ECHO_T"]=""
  568. S["ECHO_N"]="-n"
  569. S["ECHO_C"]=""
  570. S["DEFS"]="-DPACKAGE_NAME=\\\"spearl\\\" -DPACKAGE_TARNAME=\\\"spearl\\\" -DPACKAGE_VERSION=\\\"0.01\\\" -DPACKAGE_STRING=\\\"spearl\\ 0.01\\\" -DPACKAGE_BUGREPORT=\\\"root@intir"\
  571. "ain.cc\\\" -DPACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"spearl\\\" -DVERSION=\\\"0.01\\\""
  572. S["mandir"]="${datarootdir}/man"
  573. S["localedir"]="${datarootdir}/locale"
  574. S["libdir"]="${exec_prefix}/lib"
  575. S["psdir"]="${docdir}"
  576. S["pdfdir"]="${docdir}"
  577. S["dvidir"]="${docdir}"
  578. S["htmldir"]="${docdir}"
  579. S["infodir"]="${datarootdir}/info"
  580. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  581. S["oldincludedir"]="/usr/include"
  582. S["includedir"]="${prefix}/include"
  583. S["runstatedir"]="${localstatedir}/run"
  584. S["localstatedir"]="${prefix}/var"
  585. S["sharedstatedir"]="${prefix}/com"
  586. S["sysconfdir"]="${prefix}/etc"
  587. S["datadir"]="${datarootdir}"
  588. S["datarootdir"]="${prefix}/share"
  589. S["libexecdir"]="${exec_prefix}/libexec"
  590. S["sbindir"]="${exec_prefix}/sbin"
  591. S["bindir"]="${exec_prefix}/bin"
  592. S["program_transform_name"]="s,x,x,"
  593. S["prefix"]="/usr/local"
  594. S["exec_prefix"]="${prefix}"
  595. S["PACKAGE_URL"]=""
  596. S["PACKAGE_BUGREPORT"]="root@intirain.cc"
  597. S["PACKAGE_STRING"]="spearl 0.01"
  598. S["PACKAGE_VERSION"]="0.01"
  599. S["PACKAGE_TARNAME"]="spearl"
  600. S["PACKAGE_NAME"]="spearl"
  601. S["PATH_SEPARATOR"]=":"
  602. S["SHELL"]="/bin/sh"
  603. S["am__quote"]=""
  604. _ACAWK
  605. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  606. for (key in S) S_is_set[key] = 1
  607. FS = ""
  608. }
  609. {
  610. line = $ 0
  611. nfields = split(line, field, "@")
  612. substed = 0
  613. len = length(field[1])
  614. for (i = 2; i < nfields; i++) {
  615. key = field[i]
  616. keylen = length(key)
  617. if (S_is_set[key]) {
  618. value = S[key]
  619. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  620. len += length(value) + length(field[++i])
  621. substed = 1
  622. } else
  623. len += 1 + keylen
  624. }
  625. print line
  626. }
  627. _ACAWK
  628. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  629. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  630. else
  631. cat
  632. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  633. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  634. fi # test -n "$CONFIG_FILES"
  635. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  636. shift
  637. for ac_tag
  638. do
  639. case $ac_tag in
  640. :[FHLC]) ac_mode=$ac_tag; continue;;
  641. esac
  642. case $ac_mode$ac_tag in
  643. :[FHL]*:*);;
  644. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  645. :[FH]-) ac_tag=-:-;;
  646. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  647. esac
  648. ac_save_IFS=$IFS
  649. IFS=:
  650. set x $ac_tag
  651. IFS=$ac_save_IFS
  652. shift
  653. ac_file=$1
  654. shift
  655. case $ac_mode in
  656. :L) ac_source=$1;;
  657. :[FH])
  658. ac_file_inputs=
  659. for ac_f
  660. do
  661. case $ac_f in
  662. -) ac_f="$ac_tmp/stdin";;
  663. *) # Look for the file first in the build tree, then in the source tree
  664. # (if the path is not absolute). The absolute path cannot be DOS-style,
  665. # because $ac_f cannot contain `:'.
  666. test -f "$ac_f" ||
  667. case $ac_f in
  668. [\\/$]*) false;;
  669. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  670. esac ||
  671. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  672. esac
  673. case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  674. as_fn_append ac_file_inputs " '$ac_f'"
  675. done
  676. # Let's still pretend it is `configure' which instantiates (i.e., don't
  677. # use $as_me), people would be surprised to read:
  678. # /* config.h. Generated by config.status. */
  679. configure_input='Generated from '`
  680. printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  681. `' by configure.'
  682. if test x"$ac_file" != x-; then
  683. configure_input="$ac_file. $configure_input"
  684. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  685. printf "%s\n" "$as_me: creating $ac_file" >&6;}
  686. fi
  687. # Neutralize special characters interpreted by sed in replacement strings.
  688. case $configure_input in #(
  689. *\&* | *\|* | *\\* )
  690. ac_sed_conf_input=`printf "%s\n" "$configure_input" |
  691. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  692. *) ac_sed_conf_input=$configure_input;;
  693. esac
  694. case $ac_tag in
  695. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  696. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  697. esac
  698. ;;
  699. esac
  700. ac_dir=`$as_dirname -- "$ac_file" ||
  701. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  702. X"$ac_file" : 'X\(//\)[^/]' \| \
  703. X"$ac_file" : 'X\(//\)$' \| \
  704. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  705. printf "%s\n" X"$ac_file" |
  706. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  707. s//\1/
  708. q
  709. }
  710. /^X\(\/\/\)[^/].*/{
  711. s//\1/
  712. q
  713. }
  714. /^X\(\/\/\)$/{
  715. s//\1/
  716. q
  717. }
  718. /^X\(\/\).*/{
  719. s//\1/
  720. q
  721. }
  722. s/.*/./; q'`
  723. as_dir="$ac_dir"; as_fn_mkdir_p
  724. ac_builddir=.
  725. case "$ac_dir" in
  726. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  727. *)
  728. ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  729. # A ".." for each directory in $ac_dir_suffix.
  730. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  731. case $ac_top_builddir_sub in
  732. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  733. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  734. esac ;;
  735. esac
  736. ac_abs_top_builddir=$ac_pwd
  737. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  738. # for backward compatibility:
  739. ac_top_builddir=$ac_top_build_prefix
  740. case $srcdir in
  741. .) # We are building in place.
  742. ac_srcdir=.
  743. ac_top_srcdir=$ac_top_builddir_sub
  744. ac_abs_top_srcdir=$ac_pwd ;;
  745. [\\/]* | ?:[\\/]* ) # Absolute name.
  746. ac_srcdir=$srcdir$ac_dir_suffix;
  747. ac_top_srcdir=$srcdir
  748. ac_abs_top_srcdir=$srcdir ;;
  749. *) # Relative name.
  750. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  751. ac_top_srcdir=$ac_top_build_prefix$srcdir
  752. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  753. esac
  754. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  755. case $ac_mode in
  756. :F)
  757. #
  758. # CONFIG_FILE
  759. #
  760. case $INSTALL in
  761. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  762. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  763. esac
  764. ac_MKDIR_P=$MKDIR_P
  765. case $MKDIR_P in
  766. [\\/$]* | ?:[\\/]* ) ;;
  767. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  768. esac
  769. # If the template does not know about datarootdir, expand it.
  770. # FIXME: This hack should be removed a few years after 2.60.
  771. ac_datarootdir_hack=; ac_datarootdir_seen=
  772. ac_sed_dataroot='
  773. /datarootdir/ {
  774. p
  775. q
  776. }
  777. /@datadir@/p
  778. /@docdir@/p
  779. /@infodir@/p
  780. /@localedir@/p
  781. /@mandir@/p'
  782. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  783. *datarootdir*) ac_datarootdir_seen=yes;;
  784. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  785. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  786. printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  787. ac_datarootdir_hack='
  788. s&@datadir@&${datarootdir}&g
  789. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  790. s&@infodir@&${datarootdir}/info&g
  791. s&@localedir@&${datarootdir}/locale&g
  792. s&@mandir@&${datarootdir}/man&g
  793. s&\${datarootdir}&${prefix}/share&g' ;;
  794. esac
  795. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  796. h
  797. s///
  798. s/^/:/
  799. s/[ ]*$/:/
  800. s/:\$(srcdir):/:/g
  801. s/:\${srcdir}:/:/g
  802. s/:@srcdir@:/:/g
  803. s/^:*//
  804. s/:*$//
  805. x
  806. s/\(=[ ]*\).*/\1/
  807. G
  808. s/\n//
  809. s/^[^=]*=[ ]*$//
  810. }
  811. :t
  812. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  813. s|@configure_input@|$ac_sed_conf_input|;t t
  814. s&@top_builddir@&$ac_top_builddir_sub&;t t
  815. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  816. s&@srcdir@&$ac_srcdir&;t t
  817. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  818. s&@top_srcdir@&$ac_top_srcdir&;t t
  819. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  820. s&@builddir@&$ac_builddir&;t t
  821. s&@abs_builddir@&$ac_abs_builddir&;t t
  822. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  823. s&@INSTALL@&$ac_INSTALL&;t t
  824. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  825. $ac_datarootdir_hack
  826. "
  827. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  828. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  829. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  830. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  831. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  832. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  833. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  834. which seems to be undefined. Please make sure it is defined" >&5
  835. printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  836. which seems to be undefined. Please make sure it is defined" >&2;}
  837. rm -f "$ac_tmp/stdin"
  838. case $ac_file in
  839. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  840. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  841. esac \
  842. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  843. ;;
  844. :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  845. printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
  846. ;;
  847. esac
  848. case $ac_file$ac_mode in
  849. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  850. # Older Autoconf quotes --file arguments for eval, but not when files
  851. # are listed without --file. Let's play safe and only enable the eval
  852. # if we detect the quoting.
  853. # TODO: see whether this extra hack can be removed once we start
  854. # requiring Autoconf 2.70 or later.
  855. case $CONFIG_FILES in #(
  856. *\'*) :
  857. eval set x "$CONFIG_FILES" ;; #(
  858. *) :
  859. set x $CONFIG_FILES ;; #(
  860. *) :
  861. ;;
  862. esac
  863. shift
  864. # Used to flag and report bootstrapping failures.
  865. am_rc=0
  866. for am_mf
  867. do
  868. # Strip MF so we end up with the name of the file.
  869. am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
  870. # Check whether this is an Automake generated Makefile which includes
  871. # dependency-tracking related rules and includes.
  872. # Grep'ing the whole file directly is not great: AIX grep has a line
  873. # limit of 2048, but all sed's we know have understand at least 4000.
  874. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  875. || continue
  876. am_dirpart=`$as_dirname -- "$am_mf" ||
  877. $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  878. X"$am_mf" : 'X\(//\)[^/]' \| \
  879. X"$am_mf" : 'X\(//\)$' \| \
  880. X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  881. printf "%s\n" X"$am_mf" |
  882. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  883. s//\1/
  884. q
  885. }
  886. /^X\(\/\/\)[^/].*/{
  887. s//\1/
  888. q
  889. }
  890. /^X\(\/\/\)$/{
  891. s//\1/
  892. q
  893. }
  894. /^X\(\/\).*/{
  895. s//\1/
  896. q
  897. }
  898. s/.*/./; q'`
  899. am_filepart=`$as_basename -- "$am_mf" ||
  900. $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
  901. X"$am_mf" : 'X\(//\)$' \| \
  902. X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
  903. printf "%s\n" X/"$am_mf" |
  904. sed '/^.*\/\([^/][^/]*\)\/*$/{
  905. s//\1/
  906. q
  907. }
  908. /^X\/\(\/\/\)$/{
  909. s//\1/
  910. q
  911. }
  912. /^X\/\(\/\).*/{
  913. s//\1/
  914. q
  915. }
  916. s/.*/./; q'`
  917. { echo "$as_me:$LINENO: cd "$am_dirpart" \
  918. && sed -e '/# am--include-marker/d' "$am_filepart" \
  919. | $MAKE -f - am--depfiles" >&5
  920. (cd "$am_dirpart" \
  921. && sed -e '/# am--include-marker/d' "$am_filepart" \
  922. | $MAKE -f - am--depfiles) >&5 2>&5
  923. ac_status=$?
  924. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  925. (exit $ac_status); } || am_rc=$?
  926. done
  927. if test $am_rc -ne 0; then
  928. { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  929. printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
  930. as_fn_error $? "Something went wrong bootstrapping makefile fragments
  931. for automatic dependency tracking. If GNU make was not used, consider
  932. re-running the configure script with MAKE=\"gmake\" (or whatever is
  933. necessary). You can also try re-running configure with the
  934. '--disable-dependency-tracking' option to at least be able to build
  935. the package (albeit without support for automatic dependency tracking).
  936. See \`config.log' for more details" "$LINENO" 5; }
  937. fi
  938. { am_dirpart=; unset am_dirpart;}
  939. { am_filepart=; unset am_filepart;}
  940. { am_mf=; unset am_mf;}
  941. { am_rc=; unset am_rc;}
  942. rm -f conftest-deps.mk
  943. }
  944. ;;
  945. esac
  946. done # for ac_tag
  947. as_fn_exit 0