config.status 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  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 $as_me, 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_headers=" config.h"
  355. ac_cs_usage="\
  356. \`$as_me' instantiates files and other configuration actions
  357. from templates according to the current configuration. Unless the files
  358. and actions are specified as TAGs, all are instantiated by default.
  359. Usage: $0 [OPTION]... [TAG]...
  360. -h, --help print this help, then exit
  361. -V, --version print version number and configuration settings, then exit
  362. --config print configuration, then exit
  363. -q, --quiet, --silent
  364. do not print progress messages
  365. -d, --debug don't remove temporary files
  366. --recheck update $as_me by reconfiguring in the same conditions
  367. --header=FILE[:TEMPLATE]
  368. instantiate the configuration header FILE
  369. Configuration headers:
  370. $config_headers
  371. Report bugs to the package provider."
  372. ac_cs_config=""
  373. ac_cs_version="\
  374. config.status
  375. configured by ./configure, generated by GNU Autoconf 2.69,
  376. with options \"$ac_cs_config\"
  377. Copyright (C) 2012 Free Software Foundation, Inc.
  378. This config.status script is free software; the Free Software Foundation
  379. gives unlimited permission to copy, distribute and modify it."
  380. ac_pwd='/Users/stanley-king/work/lrlz/phpext/fcgi'
  381. srcdir='.'
  382. test -n "$AWK" || AWK=awk
  383. # The default lists apply if the user does not specify any file.
  384. ac_need_defaults=:
  385. while test $# != 0
  386. do
  387. case $1 in
  388. --*=?*)
  389. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  390. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  391. ac_shift=:
  392. ;;
  393. --*=)
  394. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  395. ac_optarg=
  396. ac_shift=:
  397. ;;
  398. *)
  399. ac_option=$1
  400. ac_optarg=$2
  401. ac_shift=shift
  402. ;;
  403. esac
  404. case $ac_option in
  405. # Handling of the options.
  406. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  407. ac_cs_recheck=: ;;
  408. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  409. $as_echo "$ac_cs_version"; exit ;;
  410. --config | --confi | --conf | --con | --co | --c )
  411. $as_echo "$ac_cs_config"; exit ;;
  412. --debug | --debu | --deb | --de | --d | -d )
  413. debug=: ;;
  414. --header | --heade | --head | --hea )
  415. $ac_shift
  416. case $ac_optarg in
  417. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  418. esac
  419. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  420. ac_need_defaults=false;;
  421. --he | --h)
  422. # Conflict between --help and --header
  423. as_fn_error $? "ambiguous option: \`$1'
  424. Try \`$0 --help' for more information.";;
  425. --help | --hel | -h )
  426. $as_echo "$ac_cs_usage"; exit ;;
  427. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  428. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  429. ac_cs_silent=: ;;
  430. # This is an error.
  431. -*) as_fn_error $? "unrecognized option: \`$1'
  432. Try \`$0 --help' for more information." ;;
  433. *) as_fn_append ac_config_targets " $1"
  434. ac_need_defaults=false ;;
  435. esac
  436. shift
  437. done
  438. ac_configure_extra_args=
  439. if $ac_cs_silent; then
  440. exec 6>/dev/null
  441. ac_configure_extra_args="$ac_configure_extra_args --silent"
  442. fi
  443. if $ac_cs_recheck; then
  444. set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion
  445. shift
  446. $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  447. CONFIG_SHELL='/bin/sh'
  448. export CONFIG_SHELL
  449. exec "$@"
  450. fi
  451. exec 5>>config.log
  452. {
  453. echo
  454. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  455. ## Running $as_me. ##
  456. _ASBOX
  457. $as_echo "$ac_log"
  458. } >&5
  459. # Handling of arguments.
  460. for ac_config_target in $ac_config_targets
  461. do
  462. case $ac_config_target in
  463. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  464. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  465. esac
  466. done
  467. # If the user did not use the arguments to specify the items to instantiate,
  468. # then the envvar interface is used. Set only those that are not.
  469. # We use the long form for the default assignment because of an extremely
  470. # bizarre bug on SunOS 4.1.3.
  471. if $ac_need_defaults; then
  472. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  473. fi
  474. # Have a temporary directory for convenience. Make it in the build tree
  475. # simply because there is no reason against having it here, and in addition,
  476. # creating and moving files from /tmp can sometimes cause problems.
  477. # Hook for its removal unless debugging.
  478. # Note that there is a small window in which the directory will not be cleaned:
  479. # after its creation but before its name has been assigned to `$tmp'.
  480. $debug ||
  481. {
  482. tmp= ac_tmp=
  483. trap 'exit_status=$?
  484. : "${ac_tmp:=$tmp}"
  485. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  486. ' 0
  487. trap 'as_fn_exit 1' 1 2 13 15
  488. }
  489. # Create a (secure) tmp directory for tmp files.
  490. {
  491. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  492. test -d "$tmp"
  493. } ||
  494. {
  495. tmp=./conf$$-$RANDOM
  496. (umask 077 && mkdir "$tmp")
  497. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  498. ac_tmp=$tmp
  499. # Set up the scripts for CONFIG_HEADERS section.
  500. # No need to generate them if there are no CONFIG_HEADERS.
  501. # This happens for instance with `./config.status Makefile'.
  502. if test -n "$CONFIG_HEADERS"; then
  503. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  504. BEGIN {
  505. D["PACKAGE_NAME"]=" \"\""
  506. D["PACKAGE_TARNAME"]=" \"\""
  507. D["PACKAGE_VERSION"]=" \"\""
  508. D["PACKAGE_STRING"]=" \"\""
  509. D["PACKAGE_BUGREPORT"]=" \"\""
  510. D["PACKAGE_URL"]=" \"\""
  511. D["COMPILE_DL_FCGI"]=" 1"
  512. D["STDC_HEADERS"]=" 1"
  513. D["HAVE_SYS_TYPES_H"]=" 1"
  514. D["HAVE_SYS_STAT_H"]=" 1"
  515. D["HAVE_STDLIB_H"]=" 1"
  516. D["HAVE_STRING_H"]=" 1"
  517. D["HAVE_MEMORY_H"]=" 1"
  518. D["HAVE_STRINGS_H"]=" 1"
  519. D["HAVE_INTTYPES_H"]=" 1"
  520. D["HAVE_STDINT_H"]=" 1"
  521. D["HAVE_UNISTD_H"]=" 1"
  522. D["HAVE_DLFCN_H"]=" 1"
  523. for (key in D) D_is_set[key] = 1
  524. FS = ""
  525. }
  526. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  527. line = $ 0
  528. split(line, arg, " ")
  529. if (arg[1] == "#") {
  530. defundef = arg[2]
  531. mac1 = arg[3]
  532. } else {
  533. defundef = substr(arg[1], 2)
  534. mac1 = arg[2]
  535. }
  536. split(mac1, mac2, "(") #)
  537. macro = mac2[1]
  538. prefix = substr(line, 1, index(line, defundef) - 1)
  539. if (D_is_set[macro]) {
  540. # Preserve the white space surrounding the "#".
  541. print prefix "define", macro P[macro] D[macro]
  542. next
  543. } else {
  544. # Replace #undef with comments. This is necessary, for example,
  545. # in the case of _POSIX_SOURCE, which is predefined and required
  546. # on some systems where configure will not decide to define it.
  547. if (defundef == "undef") {
  548. print "/*", prefix defundef, macro, "*/"
  549. next
  550. }
  551. }
  552. }
  553. { print }
  554. _ACAWK
  555. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  556. fi # test -n "$CONFIG_HEADERS"
  557. eval set X " :H $CONFIG_HEADERS "
  558. shift
  559. for ac_tag
  560. do
  561. case $ac_tag in
  562. :[FHLC]) ac_mode=$ac_tag; continue;;
  563. esac
  564. case $ac_mode$ac_tag in
  565. :[FHL]*:*);;
  566. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  567. :[FH]-) ac_tag=-:-;;
  568. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  569. esac
  570. ac_save_IFS=$IFS
  571. IFS=:
  572. set x $ac_tag
  573. IFS=$ac_save_IFS
  574. shift
  575. ac_file=$1
  576. shift
  577. case $ac_mode in
  578. :L) ac_source=$1;;
  579. :[FH])
  580. ac_file_inputs=
  581. for ac_f
  582. do
  583. case $ac_f in
  584. -) ac_f="$ac_tmp/stdin";;
  585. *) # Look for the file first in the build tree, then in the source tree
  586. # (if the path is not absolute). The absolute path cannot be DOS-style,
  587. # because $ac_f cannot contain `:'.
  588. test -f "$ac_f" ||
  589. case $ac_f in
  590. [\\/$]*) false;;
  591. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  592. esac ||
  593. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  594. esac
  595. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  596. as_fn_append ac_file_inputs " '$ac_f'"
  597. done
  598. # Let's still pretend it is `configure' which instantiates (i.e., don't
  599. # use $as_me), people would be surprised to read:
  600. # /* config.h. Generated by config.status. */
  601. configure_input='Generated from '`
  602. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  603. `' by configure.'
  604. if test x"$ac_file" != x-; then
  605. configure_input="$ac_file. $configure_input"
  606. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  607. $as_echo "$as_me: creating $ac_file" >&6;}
  608. fi
  609. # Neutralize special characters interpreted by sed in replacement strings.
  610. case $configure_input in #(
  611. *\&* | *\|* | *\\* )
  612. ac_sed_conf_input=`$as_echo "$configure_input" |
  613. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  614. *) ac_sed_conf_input=$configure_input;;
  615. esac
  616. case $ac_tag in
  617. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  618. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  619. esac
  620. ;;
  621. esac
  622. ac_dir=`$as_dirname -- "$ac_file" ||
  623. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  624. X"$ac_file" : 'X\(//\)[^/]' \| \
  625. X"$ac_file" : 'X\(//\)$' \| \
  626. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  627. $as_echo X"$ac_file" |
  628. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  629. s//\1/
  630. q
  631. }
  632. /^X\(\/\/\)[^/].*/{
  633. s//\1/
  634. q
  635. }
  636. /^X\(\/\/\)$/{
  637. s//\1/
  638. q
  639. }
  640. /^X\(\/\).*/{
  641. s//\1/
  642. q
  643. }
  644. s/.*/./; q'`
  645. as_dir="$ac_dir"; as_fn_mkdir_p
  646. ac_builddir=.
  647. case "$ac_dir" in
  648. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  649. *)
  650. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  651. # A ".." for each directory in $ac_dir_suffix.
  652. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  653. case $ac_top_builddir_sub in
  654. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  655. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  656. esac ;;
  657. esac
  658. ac_abs_top_builddir=$ac_pwd
  659. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  660. # for backward compatibility:
  661. ac_top_builddir=$ac_top_build_prefix
  662. case $srcdir in
  663. .) # We are building in place.
  664. ac_srcdir=.
  665. ac_top_srcdir=$ac_top_builddir_sub
  666. ac_abs_top_srcdir=$ac_pwd ;;
  667. [\\/]* | ?:[\\/]* ) # Absolute name.
  668. ac_srcdir=$srcdir$ac_dir_suffix;
  669. ac_top_srcdir=$srcdir
  670. ac_abs_top_srcdir=$srcdir ;;
  671. *) # Relative name.
  672. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  673. ac_top_srcdir=$ac_top_build_prefix$srcdir
  674. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  675. esac
  676. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  677. case $ac_mode in
  678. :H)
  679. #
  680. # CONFIG_HEADER
  681. #
  682. if test x"$ac_file" != x-; then
  683. {
  684. $as_echo "/* $configure_input */" \
  685. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  686. } >"$ac_tmp/config.h" \
  687. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  688. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  689. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  690. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  691. else
  692. rm -f "$ac_file"
  693. mv "$ac_tmp/config.h" "$ac_file" \
  694. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  695. fi
  696. else
  697. $as_echo "/* $configure_input */" \
  698. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  699. || as_fn_error $? "could not create -" "$LINENO" 5
  700. fi
  701. ;;
  702. esac
  703. done # for ac_tag
  704. as_fn_exit 0