config.status 21 KB

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