config.status 38 KB

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