config.status 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. #! /bin/bash
  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/bash}
  10. ## --------------------- ##
  11. ## M4sh Initialization. ##
  12. ## --------------------- ##
  13. # Be Bourne compatible
  14. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  15. emulate sh
  16. NULLCMD=:
  17. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  18. # is contrary to our usage. Disable this feature.
  19. alias -g '${1+"$@"}'='"$@"'
  20. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  21. set -o posix
  22. fi
  23. DUALCASE=1; export DUALCASE # for MKS sh
  24. # Support unset when possible.
  25. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  26. as_unset=unset
  27. else
  28. as_unset=false
  29. fi
  30. # Work around bugs in pre-3.0 UWIN ksh.
  31. $as_unset ENV MAIL MAILPATH
  32. PS1='$ '
  33. PS2='> '
  34. PS4='+ '
  35. # NLS nuisances.
  36. for as_var in \
  37. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  38. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  39. LC_TELEPHONE LC_TIME
  40. do
  41. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  42. eval $as_var=C; export $as_var
  43. else
  44. $as_unset $as_var
  45. fi
  46. done
  47. # Required to use basename.
  48. if expr a : '\(a\)' >/dev/null 2>&1; then
  49. as_expr=expr
  50. else
  51. as_expr=false
  52. fi
  53. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  54. as_basename=basename
  55. else
  56. as_basename=false
  57. fi
  58. # Name of the executable.
  59. as_me=`$as_basename "$0" ||
  60. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  61. X"$0" : 'X\(//\)$' \| \
  62. X"$0" : 'X\(/\)$' \| \
  63. . : '\(.\)' 2>/dev/null ||
  64. echo X/"$0" |
  65. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  66. /^X\/\(\/\/\)$/{ s//\1/; q; }
  67. /^X\/\(\/\).*/{ s//\1/; q; }
  68. s/.*/./; q'`
  69. # PATH needs CR, and LINENO needs CR and PATH.
  70. # Avoid depending upon Character Ranges.
  71. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  72. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  73. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  74. as_cr_digits='0123456789'
  75. as_cr_alnum=$as_cr_Letters$as_cr_digits
  76. # The user is always right.
  77. if test "${PATH_SEPARATOR+set}" != set; then
  78. echo "#! /bin/sh" >conf$$.sh
  79. echo "exit 0" >>conf$$.sh
  80. chmod +x conf$$.sh
  81. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  82. PATH_SEPARATOR=';'
  83. else
  84. PATH_SEPARATOR=:
  85. fi
  86. rm -f conf$$.sh
  87. fi
  88. as_lineno_1=$LINENO
  89. as_lineno_2=$LINENO
  90. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  91. test "x$as_lineno_1" != "x$as_lineno_2" &&
  92. test "x$as_lineno_3" = "x$as_lineno_2" || {
  93. # Find who we are. Look in the path if we contain no path at all
  94. # relative or not.
  95. case $0 in
  96. *[\\/]* ) as_myself=$0 ;;
  97. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  98. for as_dir in $PATH
  99. do
  100. IFS=$as_save_IFS
  101. test -z "$as_dir" && as_dir=.
  102. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  103. done
  104. ;;
  105. esac
  106. # We did not find ourselves, most probably we were run as `sh COMMAND'
  107. # in which case we are not to be found in the path.
  108. if test "x$as_myself" = x; then
  109. as_myself=$0
  110. fi
  111. if test ! -f "$as_myself"; then
  112. { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  113. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  114. { (exit 1); exit 1; }; }
  115. fi
  116. case $CONFIG_SHELL in
  117. '')
  118. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  119. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  120. do
  121. IFS=$as_save_IFS
  122. test -z "$as_dir" && as_dir=.
  123. for as_base in sh bash ksh sh5; do
  124. case $as_dir in
  125. /*)
  126. if ("$as_dir/$as_base" -c '
  127. as_lineno_1=$LINENO
  128. as_lineno_2=$LINENO
  129. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  130. test "x$as_lineno_1" != "x$as_lineno_2" &&
  131. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  132. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  133. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  134. CONFIG_SHELL=$as_dir/$as_base
  135. export CONFIG_SHELL
  136. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  137. fi;;
  138. esac
  139. done
  140. done
  141. ;;
  142. esac
  143. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  144. # uniformly replaced by the line number. The first 'sed' inserts a
  145. # line-number line before each line; the second 'sed' does the real
  146. # work. The second script uses 'N' to pair each line-number line
  147. # with the numbered line, and appends trailing '-' during
  148. # substitution so that $LINENO is not a special case at line end.
  149. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  150. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  151. sed '=' <$as_myself |
  152. sed '
  153. N
  154. s,$,-,
  155. : loop
  156. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  157. t loop
  158. s,-$,,
  159. s,^['$as_cr_digits']*\n,,
  160. ' >$as_me.lineno &&
  161. chmod +x $as_me.lineno ||
  162. { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  163. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  164. { (exit 1); exit 1; }; }
  165. # Don't try to exec as it changes $[0], causing all sort of problems
  166. # (the dirname of $[0] is not the place where we might find the
  167. # original and so on. Autoconf is especially sensible to this).
  168. . ./$as_me.lineno
  169. # Exit status is that of the last command.
  170. exit
  171. }
  172. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  173. *c*,-n*) ECHO_N= ECHO_C='
  174. ' ECHO_T=' ' ;;
  175. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  176. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  177. esac
  178. if expr a : '\(a\)' >/dev/null 2>&1; then
  179. as_expr=expr
  180. else
  181. as_expr=false
  182. fi
  183. rm -f conf$$ conf$$.exe conf$$.file
  184. echo >conf$$.file
  185. if ln -s conf$$.file conf$$ 2>/dev/null; then
  186. # We could just check for DJGPP; but this test a) works b) is more generic
  187. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  188. if test -f conf$$.exe; then
  189. # Don't use ln at all; we don't have any links
  190. as_ln_s='cp -p'
  191. else
  192. as_ln_s='ln -s'
  193. fi
  194. elif ln conf$$.file conf$$ 2>/dev/null; then
  195. as_ln_s=ln
  196. else
  197. as_ln_s='cp -p'
  198. fi
  199. rm -f conf$$ conf$$.exe conf$$.file
  200. if mkdir -p . 2>/dev/null; then
  201. as_mkdir_p=:
  202. else
  203. test -d ./-p && rmdir ./-p
  204. as_mkdir_p=false
  205. fi
  206. as_executable_p="test -f"
  207. # Sed expression to map a string onto a valid CPP name.
  208. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  209. # Sed expression to map a string onto a valid variable name.
  210. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  211. # IFS
  212. # We need space, tab and new line, in precisely that order.
  213. as_nl='
  214. '
  215. IFS=" $as_nl"
  216. # CDPATH.
  217. $as_unset CDPATH
  218. exec 6>&1
  219. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  220. # report actual input values of CONFIG_FILES etc. instead of their
  221. # values after options handling. Logging --version etc. is OK.
  222. exec 5>>config.log
  223. {
  224. echo
  225. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  226. ## Running $as_me. ##
  227. _ASBOX
  228. } >&5
  229. cat >&5 <<_CSEOF
  230. This file was extended by expat $as_me 2.0.1, which was
  231. generated by GNU Autoconf 2.59. Invocation command line was
  232. CONFIG_FILES = $CONFIG_FILES
  233. CONFIG_HEADERS = $CONFIG_HEADERS
  234. CONFIG_LINKS = $CONFIG_LINKS
  235. CONFIG_COMMANDS = $CONFIG_COMMANDS
  236. $ $0 $@
  237. _CSEOF
  238. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  239. echo >&5
  240. config_files=" Makefile"
  241. config_headers=" expat_config.h"
  242. ac_cs_usage="\
  243. \`$as_me' instantiates files from templates according to the
  244. current configuration.
  245. Usage: $0 [OPTIONS] [FILE]...
  246. -h, --help print this help, then exit
  247. -V, --version print version number, then exit
  248. -q, --quiet do not print progress messages
  249. -d, --debug don't remove temporary files
  250. --recheck update $as_me by reconfiguring in the same conditions
  251. --file=FILE[:TEMPLATE]
  252. instantiate the configuration file FILE
  253. --header=FILE[:TEMPLATE]
  254. instantiate the configuration header FILE
  255. Configuration files:
  256. $config_files
  257. Configuration headers:
  258. $config_headers
  259. Report bugs to <bug-autoconf@gnu.org>."
  260. ac_cs_version="\
  261. expat config.status 2.0.1
  262. configured by ./configure, generated by GNU Autoconf 2.59,
  263. with options \"\"
  264. Copyright (C) 2003 Free Software Foundation, Inc.
  265. This config.status script is free software; the Free Software Foundation
  266. gives unlimited permission to copy, distribute and modify it."
  267. srcdir=.
  268. INSTALL="/usr/bin/install -c"
  269. # If no file are specified by the user, then we need to provide default
  270. # value. By we need to know if files were specified by the user.
  271. ac_need_defaults=:
  272. while test $# != 0
  273. do
  274. case $1 in
  275. --*=*)
  276. ac_option=`expr "x$1" : 'x\([^=]*\)='`
  277. ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  278. ac_shift=:
  279. ;;
  280. -*)
  281. ac_option=$1
  282. ac_optarg=$2
  283. ac_shift=shift
  284. ;;
  285. *) # This is not an option, so the user has probably given explicit
  286. # arguments.
  287. ac_option=$1
  288. ac_need_defaults=false;;
  289. esac
  290. case $ac_option in
  291. # Handling of the options.
  292. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  293. ac_cs_recheck=: ;;
  294. --version | --vers* | -V )
  295. echo "$ac_cs_version"; exit 0 ;;
  296. --he | --h)
  297. # Conflict between --help and --header
  298. { { echo "$as_me:$LINENO: error: ambiguous option: $1
  299. Try \`$0 --help' for more information." >&5
  300. echo "$as_me: error: ambiguous option: $1
  301. Try \`$0 --help' for more information." >&2;}
  302. { (exit 1); exit 1; }; };;
  303. --help | --hel | -h )
  304. echo "$ac_cs_usage"; exit 0 ;;
  305. --debug | --d* | -d )
  306. debug=: ;;
  307. --file | --fil | --fi | --f )
  308. $ac_shift
  309. CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  310. ac_need_defaults=false;;
  311. --header | --heade | --head | --hea )
  312. $ac_shift
  313. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  314. ac_need_defaults=false;;
  315. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  316. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  317. ac_cs_silent=: ;;
  318. # This is an error.
  319. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  320. Try \`$0 --help' for more information." >&5
  321. echo "$as_me: error: unrecognized option: $1
  322. Try \`$0 --help' for more information." >&2;}
  323. { (exit 1); exit 1; }; } ;;
  324. *) ac_config_targets="$ac_config_targets $1" ;;
  325. esac
  326. shift
  327. done
  328. ac_configure_extra_args=
  329. if $ac_cs_silent; then
  330. exec 6>/dev/null
  331. ac_configure_extra_args="$ac_configure_extra_args --silent"
  332. fi
  333. if $ac_cs_recheck; then
  334. echo "running /bin/bash ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6
  335. exec /bin/bash ./configure $ac_configure_extra_args --no-create --no-recursion
  336. fi
  337. for ac_config_target in $ac_config_targets
  338. do
  339. case "$ac_config_target" in
  340. # Handling of arguments.
  341. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  342. "expat_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS expat_config.h" ;;
  343. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  344. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  345. { (exit 1); exit 1; }; };;
  346. esac
  347. done
  348. # If the user did not use the arguments to specify the items to instantiate,
  349. # then the envvar interface is used. Set only those that are not.
  350. # We use the long form for the default assignment because of an extremely
  351. # bizarre bug on SunOS 4.1.3.
  352. if $ac_need_defaults; then
  353. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  354. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  355. fi
  356. # Have a temporary directory for convenience. Make it in the build tree
  357. # simply because there is no reason to put it here, and in addition,
  358. # creating and moving files from /tmp can sometimes cause problems.
  359. # Create a temporary directory, and hook for its removal unless debugging.
  360. $debug ||
  361. {
  362. trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  363. trap '{ (exit 1); exit 1; }' 1 2 13 15
  364. }
  365. # Create a (secure) tmp directory for tmp files.
  366. {
  367. tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  368. test -n "$tmp" && test -d "$tmp"
  369. } ||
  370. {
  371. tmp=./confstat$$-$RANDOM
  372. (umask 077 && mkdir $tmp)
  373. } ||
  374. {
  375. echo "$me: cannot create a temporary directory in ." >&2
  376. { (exit 1); exit 1; }
  377. }
  378. #
  379. # CONFIG_FILES section.
  380. #
  381. # No need to generate the scripts if there are no CONFIG_FILES.
  382. # This happens for instance when ./config.status config.h
  383. if test -n "$CONFIG_FILES"; then
  384. # Protect against being on the right side of a sed subst in config.status.
  385. sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
  386. s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
  387. s,@SHELL@,/bin/bash,;t t
  388. s,@PATH_SEPARATOR@,:,;t t
  389. s,@PACKAGE_NAME@,expat,;t t
  390. s,@PACKAGE_TARNAME@,expat,;t t
  391. s,@PACKAGE_VERSION@,2.0.1,;t t
  392. s,@PACKAGE_STRING@,expat 2.0.1,;t t
  393. s,@PACKAGE_BUGREPORT@,expat-bugs@libexpat.org,;t t
  394. s,@exec_prefix@,${prefix},;t t
  395. s,@prefix@,/usr/local,;t t
  396. s,@program_transform_name@,s,x,x,,;t t
  397. s,@bindir@,${exec_prefix}/bin,;t t
  398. s,@sbindir@,${exec_prefix}/sbin,;t t
  399. s,@libexecdir@,${exec_prefix}/libexec,;t t
  400. s,@datadir@,${prefix}/share,;t t
  401. s,@sysconfdir@,${prefix}/etc,;t t
  402. s,@sharedstatedir@,${prefix}/com,;t t
  403. s,@localstatedir@,${prefix}/var,;t t
  404. s,@libdir@,${exec_prefix}/lib,;t t
  405. s,@includedir@,${prefix}/include,;t t
  406. s,@oldincludedir@,/usr/include,;t t
  407. s,@infodir@,${prefix}/info,;t t
  408. s,@mandir@,${prefix}/man,;t t
  409. s,@build_alias@,,;t t
  410. s,@host_alias@,,;t t
  411. s,@target_alias@,,;t t
  412. s,@DEFS@,-DHAVE_CONFIG_H,;t t
  413. s,@ECHO_C@,,;t t
  414. s,@ECHO_N@,-n,;t t
  415. s,@ECHO_T@,,;t t
  416. s,@LIBS@,,;t t
  417. s,@build@,armv7l-unknown-linux-gnu,;t t
  418. s,@build_cpu@,armv7l,;t t
  419. s,@build_vendor@,unknown,;t t
  420. s,@build_os@,linux-gnu,;t t
  421. s,@host@,armv7l-unknown-linux-gnu,;t t
  422. s,@host_cpu@,armv7l,;t t
  423. s,@host_vendor@,unknown,;t t
  424. s,@host_os@,linux-gnu,;t t
  425. s,@CC@,gcc,;t t
  426. s,@CFLAGS@,-g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions,;t t
  427. s,@LDFLAGS@,,;t t
  428. s,@CPPFLAGS@,,;t t
  429. s,@ac_ct_CC@,gcc,;t t
  430. s,@EXEEXT@,,;t t
  431. s,@OBJEXT@,o,;t t
  432. s,@EGREP@,grep -E,;t t
  433. s,@LN_S@,ln -s,;t t
  434. s,@ECHO@,echo,;t t
  435. s,@AR@,ar,;t t
  436. s,@ac_ct_AR@,ar,;t t
  437. s,@RANLIB@,ranlib,;t t
  438. s,@ac_ct_RANLIB@,ranlib,;t t
  439. s,@STRIP@,strip,;t t
  440. s,@ac_ct_STRIP@,strip,;t t
  441. s,@DLLTOOL@,dlltool,;t t
  442. s,@ac_ct_DLLTOOL@,,;t t
  443. s,@AS@,as,;t t
  444. s,@ac_ct_AS@,,;t t
  445. s,@OBJDUMP@,objdump,;t t
  446. s,@ac_ct_OBJDUMP@,,;t t
  447. s,@CPP@,gcc -E,;t t
  448. s,@CXX@,g++,;t t
  449. s,@CXXFLAGS@,-g -O2 -Wall -fexceptions,;t t
  450. s,@ac_ct_CXX@,g++,;t t
  451. s,@CXXCPP@,g++ -E,;t t
  452. s,@F77@,,;t t
  453. s,@FFLAGS@,,;t t
  454. s,@ac_ct_F77@,,;t t
  455. s,@LIBTOOL@,$(SHELL) $(top_builddir)/libtool,;t t
  456. s,@LIBCURRENT@,6,;t t
  457. s,@LIBREVISION@,2,;t t
  458. s,@LIBAGE@,5,;t t
  459. s,@INSTALL_PROGRAM@,${INSTALL},;t t
  460. s,@INSTALL_SCRIPT@,${INSTALL},;t t
  461. s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
  462. s,@FILEMAP@,unixfilemap,;t t
  463. s,@LIBOBJS@,,;t t
  464. s,@LTLIBOBJS@,,;t t
  465. CEOF
  466. # Split the substitutions into bite-sized pieces for seds with
  467. # small command number limits, like on Digital OSF/1 and HP-UX.
  468. ac_max_sed_lines=48
  469. ac_sed_frag=1 # Number of current file.
  470. ac_beg=1 # First line for current file.
  471. ac_end=$ac_max_sed_lines # Line after last line for current file.
  472. ac_more_lines=:
  473. ac_sed_cmds=
  474. while $ac_more_lines; do
  475. if test $ac_beg -gt 1; then
  476. sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  477. else
  478. sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  479. fi
  480. if test ! -s $tmp/subs.frag; then
  481. ac_more_lines=false
  482. else
  483. # The purpose of the label and of the branching condition is to
  484. # speed up the sed processing (if there are no `@' at all, there
  485. # is no need to browse any of the substitutions).
  486. # These are the two extra sed commands mentioned above.
  487. (echo ':t
  488. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  489. if test -z "$ac_sed_cmds"; then
  490. ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  491. else
  492. ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  493. fi
  494. ac_sed_frag=`expr $ac_sed_frag + 1`
  495. ac_beg=$ac_end
  496. ac_end=`expr $ac_end + $ac_max_sed_lines`
  497. fi
  498. done
  499. if test -z "$ac_sed_cmds"; then
  500. ac_sed_cmds=cat
  501. fi
  502. fi # test -n "$CONFIG_FILES"
  503. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  504. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  505. case $ac_file in
  506. - | *:- | *:-:* ) # input from stdin
  507. cat >$tmp/stdin
  508. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  509. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  510. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  511. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  512. * ) ac_file_in=$ac_file.in ;;
  513. esac
  514. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  515. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  516. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  517. X"$ac_file" : 'X\(//\)[^/]' \| \
  518. X"$ac_file" : 'X\(//\)$' \| \
  519. X"$ac_file" : 'X\(/\)' \| \
  520. . : '\(.\)' 2>/dev/null ||
  521. echo X"$ac_file" |
  522. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  523. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  524. /^X\(\/\/\)$/{ s//\1/; q; }
  525. /^X\(\/\).*/{ s//\1/; q; }
  526. s/.*/./; q'`
  527. { if $as_mkdir_p; then
  528. mkdir -p "$ac_dir"
  529. else
  530. as_dir="$ac_dir"
  531. as_dirs=
  532. while test ! -d "$as_dir"; do
  533. as_dirs="$as_dir $as_dirs"
  534. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  535. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  536. X"$as_dir" : 'X\(//\)[^/]' \| \
  537. X"$as_dir" : 'X\(//\)$' \| \
  538. X"$as_dir" : 'X\(/\)' \| \
  539. . : '\(.\)' 2>/dev/null ||
  540. echo X"$as_dir" |
  541. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  542. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  543. /^X\(\/\/\)$/{ s//\1/; q; }
  544. /^X\(\/\).*/{ s//\1/; q; }
  545. s/.*/./; q'`
  546. done
  547. test ! -n "$as_dirs" || mkdir $as_dirs
  548. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  549. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  550. { (exit 1); exit 1; }; }; }
  551. ac_builddir=.
  552. if test "$ac_dir" != .; then
  553. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  554. # A "../" for each directory in $ac_dir_suffix.
  555. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  556. else
  557. ac_dir_suffix= ac_top_builddir=
  558. fi
  559. case $srcdir in
  560. .) # No --srcdir option. We are building in place.
  561. ac_srcdir=.
  562. if test -z "$ac_top_builddir"; then
  563. ac_top_srcdir=.
  564. else
  565. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  566. fi ;;
  567. [\\/]* | ?:[\\/]* ) # Absolute path.
  568. ac_srcdir=$srcdir$ac_dir_suffix;
  569. ac_top_srcdir=$srcdir ;;
  570. *) # Relative path.
  571. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  572. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  573. esac
  574. # Do not use `cd foo && pwd` to compute absolute paths, because
  575. # the directories may not exist.
  576. case `pwd` in
  577. .) ac_abs_builddir="$ac_dir";;
  578. *)
  579. case "$ac_dir" in
  580. .) ac_abs_builddir=`pwd`;;
  581. [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  582. *) ac_abs_builddir=`pwd`/"$ac_dir";;
  583. esac;;
  584. esac
  585. case $ac_abs_builddir in
  586. .) ac_abs_top_builddir=${ac_top_builddir}.;;
  587. *)
  588. case ${ac_top_builddir}. in
  589. .) ac_abs_top_builddir=$ac_abs_builddir;;
  590. [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  591. *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  592. esac;;
  593. esac
  594. case $ac_abs_builddir in
  595. .) ac_abs_srcdir=$ac_srcdir;;
  596. *)
  597. case $ac_srcdir in
  598. .) ac_abs_srcdir=$ac_abs_builddir;;
  599. [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  600. *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  601. esac;;
  602. esac
  603. case $ac_abs_builddir in
  604. .) ac_abs_top_srcdir=$ac_top_srcdir;;
  605. *)
  606. case $ac_top_srcdir in
  607. .) ac_abs_top_srcdir=$ac_abs_builddir;;
  608. [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  609. *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  610. esac;;
  611. esac
  612. case $INSTALL in
  613. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  614. *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  615. esac
  616. if test x"$ac_file" != x-; then
  617. { echo "$as_me:$LINENO: creating $ac_file" >&5
  618. echo "$as_me: creating $ac_file" >&6;}
  619. rm -f "$ac_file"
  620. fi
  621. # Let's still pretend it is `configure' which instantiates (i.e., don't
  622. # use $as_me), people would be surprised to read:
  623. # /* config.h. Generated by config.status. */
  624. if test x"$ac_file" = x-; then
  625. configure_input=
  626. else
  627. configure_input="$ac_file. "
  628. fi
  629. configure_input=$configure_input"Generated from `echo $ac_file_in |
  630. sed 's,.*/,,'` by configure."
  631. # First look for the input files in the build tree, otherwise in the
  632. # src tree.
  633. ac_file_inputs=`IFS=:
  634. for f in $ac_file_in; do
  635. case $f in
  636. -) echo $tmp/stdin ;;
  637. [\\/$]*)
  638. # Absolute (can't be DOS-style, as IFS=:)
  639. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  640. echo "$as_me: error: cannot find input file: $f" >&2;}
  641. { (exit 1); exit 1; }; }
  642. echo "$f";;
  643. *) # Relative
  644. if test -f "$f"; then
  645. # Build tree
  646. echo "$f"
  647. elif test -f "$srcdir/$f"; then
  648. # Source tree
  649. echo "$srcdir/$f"
  650. else
  651. # /dev/null tree
  652. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  653. echo "$as_me: error: cannot find input file: $f" >&2;}
  654. { (exit 1); exit 1; }; }
  655. fi;;
  656. esac
  657. done` || { (exit 1); exit 1; }
  658. sed "/^[ ]*VPATH[ ]*=/{
  659. s/:*\$(srcdir):*/:/;
  660. s/:*\${srcdir}:*/:/;
  661. s/:*@srcdir@:*/:/;
  662. s/^\([^=]*=[ ]*\):*/\1/;
  663. s/:*$//;
  664. s/^[^=]*=[ ]*$//;
  665. }
  666. :t
  667. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  668. s,@configure_input@,$configure_input,;t t
  669. s,@srcdir@,$ac_srcdir,;t t
  670. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  671. s,@top_srcdir@,$ac_top_srcdir,;t t
  672. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  673. s,@builddir@,$ac_builddir,;t t
  674. s,@abs_builddir@,$ac_abs_builddir,;t t
  675. s,@top_builddir@,$ac_top_builddir,;t t
  676. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  677. s,@INSTALL@,$ac_INSTALL,;t t
  678. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  679. rm -f $tmp/stdin
  680. if test x"$ac_file" != x-; then
  681. mv $tmp/out $ac_file
  682. else
  683. cat $tmp/out
  684. rm -f $tmp/out
  685. fi
  686. done
  687. #
  688. # CONFIG_HEADER section.
  689. #
  690. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  691. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  692. #
  693. # ac_d sets the value in "#define NAME VALUE" lines.
  694. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  695. ac_dB='[ ].*$,\1#\2'
  696. ac_dC=' '
  697. ac_dD=',;t'
  698. # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  699. ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  700. ac_uB='$,\1#\2define\3'
  701. ac_uC=' '
  702. ac_uD=',;t'
  703. for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  704. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  705. case $ac_file in
  706. - | *:- | *:-:* ) # input from stdin
  707. cat >$tmp/stdin
  708. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  709. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  710. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  711. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  712. * ) ac_file_in=$ac_file.in ;;
  713. esac
  714. test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  715. echo "$as_me: creating $ac_file" >&6;}
  716. # First look for the input files in the build tree, otherwise in the
  717. # src tree.
  718. ac_file_inputs=`IFS=:
  719. for f in $ac_file_in; do
  720. case $f in
  721. -) echo $tmp/stdin ;;
  722. [\\/$]*)
  723. # Absolute (can't be DOS-style, as IFS=:)
  724. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  725. echo "$as_me: error: cannot find input file: $f" >&2;}
  726. { (exit 1); exit 1; }; }
  727. # Do quote $f, to prevent DOS paths from being IFS'd.
  728. echo "$f";;
  729. *) # Relative
  730. if test -f "$f"; then
  731. # Build tree
  732. echo "$f"
  733. elif test -f "$srcdir/$f"; then
  734. # Source tree
  735. echo "$srcdir/$f"
  736. else
  737. # /dev/null tree
  738. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  739. echo "$as_me: error: cannot find input file: $f" >&2;}
  740. { (exit 1); exit 1; }; }
  741. fi;;
  742. esac
  743. done` || { (exit 1); exit 1; }
  744. # Remove the trailing spaces.
  745. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  746. # Handle all the #define templates only if necessary.
  747. if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then
  748. # If there are no defines, we may have an empty if/fi
  749. :
  750. cat >$tmp/defines.sed <<CEOF
  751. /^[ ]*#[ ]*define/!b
  752. t clr
  753. : clr
  754. ${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}"expat"${ac_dD}
  755. ${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}"expat"${ac_dD}
  756. ${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}"2.0.1"${ac_dD}
  757. ${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}"expat 2.0.1"${ac_dD}
  758. ${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}"expat-bugs@libexpat.org"${ac_dD}
  759. ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
  760. ${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
  761. ${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
  762. ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
  763. ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
  764. ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
  765. ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
  766. ${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD}
  767. ${ac_dA}HAVE_STDINT_H${ac_dB}HAVE_STDINT_H${ac_dC}1${ac_dD}
  768. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  769. ${ac_dA}HAVE_DLFCN_H${ac_dB}HAVE_DLFCN_H${ac_dC}1${ac_dD}
  770. ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
  771. ${ac_dA}BYTEORDER${ac_dB}BYTEORDER${ac_dC}1234${ac_dD}
  772. ${ac_dA}HAVE_MEMMOVE${ac_dB}HAVE_MEMMOVE${ac_dC}1${ac_dD}
  773. ${ac_dA}HAVE_BCOPY${ac_dB}HAVE_BCOPY${ac_dC}1${ac_dD}
  774. ${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
  775. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  776. ${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
  777. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  778. ${ac_dA}HAVE_GETPAGESIZE${ac_dB}HAVE_GETPAGESIZE${ac_dC}1${ac_dD}
  779. ${ac_dA}HAVE_MMAP${ac_dB}HAVE_MMAP${ac_dC}1${ac_dD}
  780. ${ac_dA}XML_NS${ac_dB}XML_NS${ac_dC}1${ac_dD}
  781. ${ac_dA}XML_DTD${ac_dB}XML_DTD${ac_dC}1${ac_dD}
  782. ${ac_dA}XML_CONTEXT_BYTES${ac_dB}XML_CONTEXT_BYTES${ac_dC}1024${ac_dD}
  783. CEOF
  784. sed -f $tmp/defines.sed $tmp/in >$tmp/out
  785. rm -f $tmp/in
  786. mv $tmp/out $tmp/in
  787. fi # grep
  788. # Handle all the #undef templates
  789. cat >$tmp/undefs.sed <<CEOF
  790. /^[ ]*#[ ]*undef/!b
  791. t clr
  792. : clr
  793. ${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}"expat"${ac_uD}
  794. ${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}"expat"${ac_uD}
  795. ${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}"2.0.1"${ac_uD}
  796. ${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}"expat 2.0.1"${ac_uD}
  797. ${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}"expat-bugs@libexpat.org"${ac_uD}
  798. ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
  799. ${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
  800. ${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
  801. ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
  802. ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
  803. ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
  804. ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
  805. ${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD}
  806. ${ac_uA}HAVE_STDINT_H${ac_uB}HAVE_STDINT_H${ac_uC}1${ac_uD}
  807. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  808. ${ac_uA}HAVE_DLFCN_H${ac_uB}HAVE_DLFCN_H${ac_uC}1${ac_uD}
  809. ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
  810. ${ac_uA}BYTEORDER${ac_uB}BYTEORDER${ac_uC}1234${ac_uD}
  811. ${ac_uA}HAVE_MEMMOVE${ac_uB}HAVE_MEMMOVE${ac_uC}1${ac_uD}
  812. ${ac_uA}HAVE_BCOPY${ac_uB}HAVE_BCOPY${ac_uC}1${ac_uD}
  813. ${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
  814. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  815. ${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
  816. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  817. ${ac_uA}HAVE_GETPAGESIZE${ac_uB}HAVE_GETPAGESIZE${ac_uC}1${ac_uD}
  818. ${ac_uA}HAVE_MMAP${ac_uB}HAVE_MMAP${ac_uC}1${ac_uD}
  819. ${ac_uA}XML_NS${ac_uB}XML_NS${ac_uC}1${ac_uD}
  820. ${ac_uA}XML_DTD${ac_uB}XML_DTD${ac_uC}1${ac_uD}
  821. ${ac_uA}XML_CONTEXT_BYTES${ac_uB}XML_CONTEXT_BYTES${ac_uC}1024${ac_uD}
  822. s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  823. CEOF
  824. sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  825. rm -f $tmp/in
  826. mv $tmp/out $tmp/in
  827. # Let's still pretend it is `configure' which instantiates (i.e., don't
  828. # use $as_me), people would be surprised to read:
  829. # /* config.h. Generated by config.status. */
  830. if test x"$ac_file" = x-; then
  831. echo "/* Generated by configure. */" >$tmp/config.h
  832. else
  833. echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  834. fi
  835. cat $tmp/in >>$tmp/config.h
  836. rm -f $tmp/in
  837. if test x"$ac_file" != x-; then
  838. if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  839. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  840. echo "$as_me: $ac_file is unchanged" >&6;}
  841. else
  842. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  843. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  844. X"$ac_file" : 'X\(//\)[^/]' \| \
  845. X"$ac_file" : 'X\(//\)$' \| \
  846. X"$ac_file" : 'X\(/\)' \| \
  847. . : '\(.\)' 2>/dev/null ||
  848. echo X"$ac_file" |
  849. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  850. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  851. /^X\(\/\/\)$/{ s//\1/; q; }
  852. /^X\(\/\).*/{ s//\1/; q; }
  853. s/.*/./; q'`
  854. { if $as_mkdir_p; then
  855. mkdir -p "$ac_dir"
  856. else
  857. as_dir="$ac_dir"
  858. as_dirs=
  859. while test ! -d "$as_dir"; do
  860. as_dirs="$as_dir $as_dirs"
  861. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  862. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  863. X"$as_dir" : 'X\(//\)[^/]' \| \
  864. X"$as_dir" : 'X\(//\)$' \| \
  865. X"$as_dir" : 'X\(/\)' \| \
  866. . : '\(.\)' 2>/dev/null ||
  867. echo X"$as_dir" |
  868. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  869. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  870. /^X\(\/\/\)$/{ s//\1/; q; }
  871. /^X\(\/\).*/{ s//\1/; q; }
  872. s/.*/./; q'`
  873. done
  874. test ! -n "$as_dirs" || mkdir $as_dirs
  875. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  876. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  877. { (exit 1); exit 1; }; }; }
  878. rm -f $ac_file
  879. mv $tmp/config.h $ac_file
  880. fi
  881. else
  882. cat $tmp/config.h
  883. rm -f $tmp/config.h
  884. fi
  885. done
  886. { (exit 0); exit 0; }