config.status 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223
  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. export SHELL
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  124. # ----------------------------------------
  125. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  126. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  127. # script with STATUS, using 1 if that was 0.
  128. as_fn_error ()
  129. {
  130. as_status=$1; test $as_status -eq 0 && as_status=1
  131. if test "$4"; then
  132. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  133. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  134. fi
  135. $as_echo "$as_me: error: $2" >&2
  136. as_fn_exit $as_status
  137. } # as_fn_error
  138. # as_fn_set_status STATUS
  139. # -----------------------
  140. # Set $? to STATUS, without forking.
  141. as_fn_set_status ()
  142. {
  143. return $1
  144. } # as_fn_set_status
  145. # as_fn_exit STATUS
  146. # -----------------
  147. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  148. as_fn_exit ()
  149. {
  150. set +e
  151. as_fn_set_status $1
  152. exit $1
  153. } # as_fn_exit
  154. # as_fn_unset VAR
  155. # ---------------
  156. # Portably unset VAR.
  157. as_fn_unset ()
  158. {
  159. { eval $1=; unset $1;}
  160. }
  161. as_unset=as_fn_unset
  162. # as_fn_append VAR VALUE
  163. # ----------------------
  164. # Append the text in VALUE to the end of the definition contained in VAR. Take
  165. # advantage of any shell optimizations that allow amortized linear growth over
  166. # repeated appends, instead of the typical quadratic growth present in naive
  167. # implementations.
  168. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  169. eval 'as_fn_append ()
  170. {
  171. eval $1+=\$2
  172. }'
  173. else
  174. as_fn_append ()
  175. {
  176. eval $1=\$$1\$2
  177. }
  178. fi # as_fn_append
  179. # as_fn_arith ARG...
  180. # ------------------
  181. # Perform arithmetic evaluation on the ARGs, and store the result in the
  182. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  183. # must be portable across $(()) and expr.
  184. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  185. eval 'as_fn_arith ()
  186. {
  187. as_val=$(( $* ))
  188. }'
  189. else
  190. as_fn_arith ()
  191. {
  192. as_val=`expr "$@" || test $? -eq 1`
  193. }
  194. fi # as_fn_arith
  195. if expr a : '\(a\)' >/dev/null 2>&1 &&
  196. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  197. as_expr=expr
  198. else
  199. as_expr=false
  200. fi
  201. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  202. as_basename=basename
  203. else
  204. as_basename=false
  205. fi
  206. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  207. as_dirname=dirname
  208. else
  209. as_dirname=false
  210. fi
  211. as_me=`$as_basename -- "$0" ||
  212. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  213. X"$0" : 'X\(//\)$' \| \
  214. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  215. $as_echo X/"$0" |
  216. sed '/^.*\/\([^/][^/]*\)\/*$/{
  217. s//\1/
  218. q
  219. }
  220. /^X\/\(\/\/\)$/{
  221. s//\1/
  222. q
  223. }
  224. /^X\/\(\/\).*/{
  225. s//\1/
  226. q
  227. }
  228. s/.*/./; q'`
  229. # Avoid depending upon Character Ranges.
  230. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  231. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  232. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  233. as_cr_digits='0123456789'
  234. as_cr_alnum=$as_cr_Letters$as_cr_digits
  235. ECHO_C= ECHO_N= ECHO_T=
  236. case `echo -n x` in #(((((
  237. -n*)
  238. case `echo 'xy\c'` in
  239. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  240. xy) ECHO_C='\c';;
  241. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  242. ECHO_T=' ';;
  243. esac;;
  244. *)
  245. ECHO_N='-n';;
  246. esac
  247. rm -f conf$$ conf$$.exe conf$$.file
  248. if test -d conf$$.dir; then
  249. rm -f conf$$.dir/conf$$.file
  250. else
  251. rm -f conf$$.dir
  252. mkdir conf$$.dir 2>/dev/null
  253. fi
  254. if (echo >conf$$.file) 2>/dev/null; then
  255. if ln -s conf$$.file conf$$ 2>/dev/null; then
  256. as_ln_s='ln -s'
  257. # ... but there are two gotchas:
  258. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  259. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  260. # In both cases, we have to default to `cp -pR'.
  261. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  262. as_ln_s='cp -pR'
  263. elif ln conf$$.file conf$$ 2>/dev/null; then
  264. as_ln_s=ln
  265. else
  266. as_ln_s='cp -pR'
  267. fi
  268. else
  269. as_ln_s='cp -pR'
  270. fi
  271. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  272. rmdir conf$$.dir 2>/dev/null
  273. # as_fn_mkdir_p
  274. # -------------
  275. # Create "$as_dir" as a directory, including parents if necessary.
  276. as_fn_mkdir_p ()
  277. {
  278. case $as_dir in #(
  279. -*) as_dir=./$as_dir;;
  280. esac
  281. test -d "$as_dir" || eval $as_mkdir_p || {
  282. as_dirs=
  283. while :; do
  284. case $as_dir in #(
  285. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  286. *) as_qdir=$as_dir;;
  287. esac
  288. as_dirs="'$as_qdir' $as_dirs"
  289. as_dir=`$as_dirname -- "$as_dir" ||
  290. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  291. X"$as_dir" : 'X\(//\)[^/]' \| \
  292. X"$as_dir" : 'X\(//\)$' \| \
  293. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  294. $as_echo X"$as_dir" |
  295. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  296. s//\1/
  297. q
  298. }
  299. /^X\(\/\/\)[^/].*/{
  300. s//\1/
  301. q
  302. }
  303. /^X\(\/\/\)$/{
  304. s//\1/
  305. q
  306. }
  307. /^X\(\/\).*/{
  308. s//\1/
  309. q
  310. }
  311. s/.*/./; q'`
  312. test -d "$as_dir" && break
  313. done
  314. test -z "$as_dirs" || eval "mkdir $as_dirs"
  315. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  316. } # as_fn_mkdir_p
  317. if mkdir -p . 2>/dev/null; then
  318. as_mkdir_p='mkdir -p "$as_dir"'
  319. else
  320. test -d ./-p && rmdir ./-p
  321. as_mkdir_p=false
  322. fi
  323. # as_fn_executable_p FILE
  324. # -----------------------
  325. # Test if FILE is an executable regular file.
  326. as_fn_executable_p ()
  327. {
  328. test -f "$1" && test -x "$1"
  329. } # as_fn_executable_p
  330. as_test_x='test -x'
  331. as_executable_p=as_fn_executable_p
  332. # Sed expression to map a string onto a valid CPP name.
  333. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  334. # Sed expression to map a string onto a valid variable name.
  335. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  336. exec 6>&1
  337. ## ----------------------------------- ##
  338. ## Main body of $CONFIG_STATUS script. ##
  339. ## ----------------------------------- ##
  340. # Save the log message, to keep $0 and so on meaningful, and to
  341. # report actual input values of CONFIG_FILES etc. instead of their
  342. # values after options handling.
  343. ac_log="
  344. This file was extended by jwm $as_me 2.2.0, which was
  345. generated by GNU Autoconf 2.69. Invocation command line was
  346. CONFIG_FILES = $CONFIG_FILES
  347. CONFIG_HEADERS = $CONFIG_HEADERS
  348. CONFIG_LINKS = $CONFIG_LINKS
  349. CONFIG_COMMANDS = $CONFIG_COMMANDS
  350. $ $0 $@
  351. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  352. "
  353. # Files that config.status was made for.
  354. config_files=" po/Makefile.in Makefile src/Makefile jwm.1"
  355. config_headers=" config.h"
  356. config_commands=" po-directories"
  357. ac_cs_usage="\
  358. \`$as_me' instantiates files and other configuration actions
  359. from templates according to the current configuration. Unless the files
  360. and actions are specified as TAGs, all are instantiated by default.
  361. Usage: $0 [OPTION]... [TAG]...
  362. -h, --help print this help, then exit
  363. -V, --version print version number and configuration settings, then exit
  364. --config print configuration, then exit
  365. -q, --quiet, --silent
  366. do not print progress messages
  367. -d, --debug don't remove temporary files
  368. --recheck update $as_me by reconfiguring in the same conditions
  369. --file=FILE[:TEMPLATE]
  370. instantiate the configuration file FILE
  371. --header=FILE[:TEMPLATE]
  372. instantiate the configuration header FILE
  373. Configuration files:
  374. $config_files
  375. Configuration headers:
  376. $config_headers
  377. Configuration commands:
  378. $config_commands
  379. Report bugs to <joewing@joewing.net>."
  380. ac_cs_config="'--prefix=/freon' '--disable-rsvg' '--disable-jpeg' '--disable-shape'"
  381. ac_cs_version="\
  382. jwm config.status 2.2.0
  383. configured by ./configure, generated by GNU Autoconf 2.69,
  384. with options \"$ac_cs_config\"
  385. Copyright (C) 2012 Free Software Foundation, Inc.
  386. This config.status script is free software; the Free Software Foundation
  387. gives unlimited permission to copy, distribute and modify it."
  388. ac_pwd='/home/chris/FreonLinux/system/jwm'
  389. srcdir='.'
  390. INSTALL='/usr/bin/install -c'
  391. MKDIR_P='/bin/mkdir -p'
  392. test -n "$AWK" || AWK=awk
  393. # The default lists apply if the user does not specify any file.
  394. ac_need_defaults=:
  395. while test $# != 0
  396. do
  397. case $1 in
  398. --*=?*)
  399. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  400. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  401. ac_shift=:
  402. ;;
  403. --*=)
  404. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  405. ac_optarg=
  406. ac_shift=:
  407. ;;
  408. *)
  409. ac_option=$1
  410. ac_optarg=$2
  411. ac_shift=shift
  412. ;;
  413. esac
  414. case $ac_option in
  415. # Handling of the options.
  416. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  417. ac_cs_recheck=: ;;
  418. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  419. $as_echo "$ac_cs_version"; exit ;;
  420. --config | --confi | --conf | --con | --co | --c )
  421. $as_echo "$ac_cs_config"; exit ;;
  422. --debug | --debu | --deb | --de | --d | -d )
  423. debug=: ;;
  424. --file | --fil | --fi | --f )
  425. $ac_shift
  426. case $ac_optarg in
  427. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  428. '') as_fn_error $? "missing file argument" ;;
  429. esac
  430. as_fn_append CONFIG_FILES " '$ac_optarg'"
  431. ac_need_defaults=false;;
  432. --header | --heade | --head | --hea )
  433. $ac_shift
  434. case $ac_optarg in
  435. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  436. esac
  437. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  438. ac_need_defaults=false;;
  439. --he | --h)
  440. # Conflict between --help and --header
  441. as_fn_error $? "ambiguous option: \`$1'
  442. Try \`$0 --help' for more information.";;
  443. --help | --hel | -h )
  444. $as_echo "$ac_cs_usage"; exit ;;
  445. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  446. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  447. ac_cs_silent=: ;;
  448. # This is an error.
  449. -*) as_fn_error $? "unrecognized option: \`$1'
  450. Try \`$0 --help' for more information." ;;
  451. *) as_fn_append ac_config_targets " $1"
  452. ac_need_defaults=false ;;
  453. esac
  454. shift
  455. done
  456. ac_configure_extra_args=
  457. if $ac_cs_silent; then
  458. exec 6>/dev/null
  459. ac_configure_extra_args="$ac_configure_extra_args --silent"
  460. fi
  461. if $ac_cs_recheck; then
  462. set X /bin/bash './configure' '--prefix=/freon' '--disable-rsvg' '--disable-jpeg' '--disable-shape' $ac_configure_extra_args --no-create --no-recursion
  463. shift
  464. $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
  465. CONFIG_SHELL='/bin/bash'
  466. export CONFIG_SHELL
  467. exec "$@"
  468. fi
  469. exec 5>>config.log
  470. {
  471. echo
  472. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  473. ## Running $as_me. ##
  474. _ASBOX
  475. $as_echo "$ac_log"
  476. } >&5
  477. #
  478. # INIT-COMMANDS
  479. #
  480. # Capture the value of obsolete ALL_LINGUAS because we need it to compute
  481. # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
  482. # from automake < 1.5.
  483. eval 'OBSOLETE_ALL_LINGUAS''=""'
  484. # Capture the value of LINGUAS because we need it to compute CATALOGS.
  485. LINGUAS="%UNSET%"
  486. # Handling of arguments.
  487. for ac_config_target in $ac_config_targets
  488. do
  489. case $ac_config_target in
  490. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  491. "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
  492. "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  493. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  494. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  495. "jwm.1") CONFIG_FILES="$CONFIG_FILES jwm.1" ;;
  496. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  497. esac
  498. done
  499. # If the user did not use the arguments to specify the items to instantiate,
  500. # then the envvar interface is used. Set only those that are not.
  501. # We use the long form for the default assignment because of an extremely
  502. # bizarre bug on SunOS 4.1.3.
  503. if $ac_need_defaults; then
  504. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  505. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  506. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  507. fi
  508. # Have a temporary directory for convenience. Make it in the build tree
  509. # simply because there is no reason against having it here, and in addition,
  510. # creating and moving files from /tmp can sometimes cause problems.
  511. # Hook for its removal unless debugging.
  512. # Note that there is a small window in which the directory will not be cleaned:
  513. # after its creation but before its name has been assigned to `$tmp'.
  514. $debug ||
  515. {
  516. tmp= ac_tmp=
  517. trap 'exit_status=$?
  518. : "${ac_tmp:=$tmp}"
  519. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  520. ' 0
  521. trap 'as_fn_exit 1' 1 2 13 15
  522. }
  523. # Create a (secure) tmp directory for tmp files.
  524. {
  525. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  526. test -d "$tmp"
  527. } ||
  528. {
  529. tmp=./conf$$-$RANDOM
  530. (umask 077 && mkdir "$tmp")
  531. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  532. ac_tmp=$tmp
  533. # Set up the scripts for CONFIG_FILES section.
  534. # No need to generate them if there are no CONFIG_FILES.
  535. # This happens for instance with `./config.status config.h'.
  536. if test -n "$CONFIG_FILES"; then
  537. ac_cr=`echo X | tr X '\015'`
  538. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  539. # But we know of no other shell where ac_cr would be empty at this
  540. # point, so we can use a bashism as a fallback.
  541. if test "x$ac_cr" = x; then
  542. eval ac_cr=\$\'\\r\'
  543. fi
  544. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  545. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  546. ac_cs_awk_cr='\\r'
  547. else
  548. ac_cs_awk_cr=$ac_cr
  549. fi
  550. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  551. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  552. S["LTLIBOBJS"]=""
  553. S["LIBOBJS"]=""
  554. S["PACKAGE"]="jwm"
  555. S["SYSCONF"]="/freon/etc"
  556. S["DATE"]="2020-12-02"
  557. S["MANDIR"]="/freon/share/man"
  558. S["BINDIR"]="/freon/bin"
  559. S["INSTVERSION"]="220"
  560. S["VERSION"]="2.2.0"
  561. S["POSUB"]="po"
  562. S["LTLIBINTL"]=""
  563. S["LIBINTL"]=""
  564. S["INTLLIBS"]=""
  565. S["LTLIBICONV"]="-liconv"
  566. S["LIBICONV"]="-liconv"
  567. S["INTL_MACOSX_LIBS"]=""
  568. S["host_os"]="linux-gnu"
  569. S["host_vendor"]="unknown"
  570. S["host_cpu"]="x86_64"
  571. S["host"]="x86_64-unknown-linux-gnu"
  572. S["build_os"]="linux-gnu"
  573. S["build_vendor"]="unknown"
  574. S["build_cpu"]="x86_64"
  575. S["build"]="x86_64-unknown-linux-gnu"
  576. S["XGETTEXT_EXTRA_OPTIONS"]=""
  577. S["MSGMERGE"]="/usr/bin/msgmerge"
  578. S["XGETTEXT_015"]="/usr/bin/xgettext"
  579. S["XGETTEXT"]="/usr/bin/xgettext"
  580. S["GMSGFMT_015"]="/usr/bin/msgfmt"
  581. S["MSGFMT_015"]="/usr/bin/msgfmt"
  582. S["GMSGFMT"]="/usr/bin/msgfmt"
  583. S["MSGFMT"]="/usr/bin/msgfmt"
  584. S["GETTEXT_MACRO_VERSION"]="0.19"
  585. S["USE_NLS"]="yes"
  586. S["SED"]="/bin/sed"
  587. S["SET_MAKE"]=""
  588. S["EGREP"]="/bin/grep -E"
  589. S["GREP"]="/bin/grep"
  590. S["XMKMF"]=""
  591. S["MKDIR_P"]="/bin/mkdir -p"
  592. S["INSTALL_DATA"]="${INSTALL} -m 644"
  593. S["INSTALL_SCRIPT"]="${INSTALL}"
  594. S["INSTALL_PROGRAM"]="${INSTALL}"
  595. S["CPP"]="gcc -E"
  596. S["OBJEXT"]="o"
  597. S["EXEEXT"]=""
  598. S["ac_ct_CC"]="gcc"
  599. S["CPPFLAGS"]=""
  600. S["LDFLAGS"]=" -lX11 -lpng16 -lz -lXft -lfreetype -L/usr/local/lib -lXrender -lX11 -lfribidi -lXpm -lXmu -lXinerama "
  601. S["CFLAGS"]="-g -O2 -I/usr/include/libpng16 -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/freetype2 "\
  602. "-I/usr/include/libpng16 -I/usr/local/include -I/usr/include/fribidi -DLOCALEDIR=\\\"/freon/share/locale\\\""
  603. S["CC"]="gcc"
  604. S["target_alias"]=""
  605. S["host_alias"]=""
  606. S["build_alias"]=""
  607. S["LIBS"]=""
  608. S["ECHO_T"]=""
  609. S["ECHO_N"]="-n"
  610. S["ECHO_C"]=""
  611. S["DEFS"]="-DHAVE_CONFIG_H"
  612. S["mandir"]="${datarootdir}/man"
  613. S["localedir"]="/freon/share/locale"
  614. S["libdir"]="${exec_prefix}/lib"
  615. S["psdir"]="${docdir}"
  616. S["pdfdir"]="${docdir}"
  617. S["dvidir"]="${docdir}"
  618. S["htmldir"]="${docdir}"
  619. S["infodir"]="${datarootdir}/info"
  620. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  621. S["oldincludedir"]="/usr/include"
  622. S["includedir"]="${prefix}/include"
  623. S["runstatedir"]="${localstatedir}/run"
  624. S["localstatedir"]="${prefix}/var"
  625. S["sharedstatedir"]="${prefix}/com"
  626. S["sysconfdir"]="${prefix}/etc"
  627. S["datadir"]="${datarootdir}"
  628. S["datarootdir"]="${prefix}/share"
  629. S["libexecdir"]="${exec_prefix}/libexec"
  630. S["sbindir"]="${exec_prefix}/sbin"
  631. S["bindir"]="${exec_prefix}/bin"
  632. S["program_transform_name"]="s,x,x,"
  633. S["prefix"]="/freon"
  634. S["exec_prefix"]="/freon"
  635. S["PACKAGE_URL"]=""
  636. S["PACKAGE_BUGREPORT"]="joewing@joewing.net"
  637. S["PACKAGE_STRING"]="jwm 2.2.0"
  638. S["PACKAGE_VERSION"]="2.2.0"
  639. S["PACKAGE_TARNAME"]="jwm"
  640. S["PACKAGE_NAME"]="jwm"
  641. S["PATH_SEPARATOR"]=":"
  642. S["SHELL"]="/bin/bash"
  643. _ACAWK
  644. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  645. for (key in S) S_is_set[key] = 1
  646. FS = ""
  647. }
  648. {
  649. line = $ 0
  650. nfields = split(line, field, "@")
  651. substed = 0
  652. len = length(field[1])
  653. for (i = 2; i < nfields; i++) {
  654. key = field[i]
  655. keylen = length(key)
  656. if (S_is_set[key]) {
  657. value = S[key]
  658. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  659. len += length(value) + length(field[++i])
  660. substed = 1
  661. } else
  662. len += 1 + keylen
  663. }
  664. print line
  665. }
  666. _ACAWK
  667. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  668. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  669. else
  670. cat
  671. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  672. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  673. fi # test -n "$CONFIG_FILES"
  674. # Set up the scripts for CONFIG_HEADERS section.
  675. # No need to generate them if there are no CONFIG_HEADERS.
  676. # This happens for instance with `./config.status Makefile'.
  677. if test -n "$CONFIG_HEADERS"; then
  678. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  679. BEGIN {
  680. D["PACKAGE_NAME"]=" \"jwm\""
  681. D["PACKAGE_TARNAME"]=" \"jwm\""
  682. D["PACKAGE_VERSION"]=" \"2.2.0\""
  683. D["PACKAGE_STRING"]=" \"jwm 2.2.0\""
  684. D["PACKAGE_BUGREPORT"]=" \"joewing@joewing.net\""
  685. D["PACKAGE_URL"]=" \"\""
  686. D["_XOPEN_SOURCE"]=" 600L"
  687. D["_XOPEN_SOURCE_EXTENDED"]=" 1"
  688. D["__EXTENSIONS__"]=" 1"
  689. D["USE_XUTF8"]=" 1"
  690. D["STDC_HEADERS"]=" 1"
  691. D["HAVE_SYS_TYPES_H"]=" 1"
  692. D["HAVE_SYS_STAT_H"]=" 1"
  693. D["HAVE_STDLIB_H"]=" 1"
  694. D["HAVE_STRING_H"]=" 1"
  695. D["HAVE_MEMORY_H"]=" 1"
  696. D["HAVE_STRINGS_H"]=" 1"
  697. D["HAVE_INTTYPES_H"]=" 1"
  698. D["HAVE_STDINT_H"]=" 1"
  699. D["HAVE_UNISTD_H"]=" 1"
  700. D["HAVE_STDARG_H"]=" 1"
  701. D["HAVE_STDIO_H"]=" 1"
  702. D["HAVE_STDLIB_H"]=" 1"
  703. D["HAVE_CTYPE_H"]=" 1"
  704. D["HAVE_SYS_SELECT_H"]=" 1"
  705. D["HAVE_SIGNAL_H"]=" 1"
  706. D["HAVE_UNISTD_H"]=" 1"
  707. D["HAVE_TIME_H"]=" 1"
  708. D["HAVE_SYS_WAIT_H"]=" 1"
  709. D["HAVE_SYS_TIME_H"]=" 1"
  710. D["HAVE_ALLOCA_H"]=" 1"
  711. D["HAVE_LOCALE_H"]=" 1"
  712. D["HAVE_LIBINTL_H"]=" 1"
  713. D["HAVE_X11_XLIB_H"]=" 1"
  714. D["HAVE_X11_XUTIL_H"]=" 1"
  715. D["HAVE_X11_CURSORFONT_H"]=" 1"
  716. D["HAVE_X11_XPROTO_H"]=" 1"
  717. D["HAVE_X11_XATOM_H"]=" 1"
  718. D["HAVE_X11_KEYSYM_H"]=" 1"
  719. D["HAVE_X11_XRESOURCE_H"]=" 1"
  720. D["HAVE_UNSETENV"]=" 1"
  721. D["HAVE_PUTENV"]=" 1"
  722. D["HAVE_SETLOCALE"]=" 1"
  723. D["USE_ICONS"]=" 1"
  724. D["USE_PNG"]=" 1"
  725. D["USE_XFT"]=" 1"
  726. D["HAVE_X11_EXTENSIONS_XRENDER_H"]=" 1"
  727. D["USE_XRENDER"]=" 1"
  728. D["USE_FRIBIDI"]=" 1"
  729. D["HAVE_X11_XPM_H"]=" 1"
  730. D["USE_XPM"]=" 1"
  731. D["USE_XMU"]=" 1"
  732. D["USE_XINERAMA"]=" 1"
  733. D["ENABLE_NLS"]=" 1"
  734. D["HAVE_GETTEXT"]=" 1"
  735. D["HAVE_DCGETTEXT"]=" 1"
  736. D["SYSTEM_CONFIG"]=" \"/freon/etc/system.jwmrc\""
  737. for (key in D) D_is_set[key] = 1
  738. FS = ""
  739. }
  740. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  741. line = $ 0
  742. split(line, arg, " ")
  743. if (arg[1] == "#") {
  744. defundef = arg[2]
  745. mac1 = arg[3]
  746. } else {
  747. defundef = substr(arg[1], 2)
  748. mac1 = arg[2]
  749. }
  750. split(mac1, mac2, "(") #)
  751. macro = mac2[1]
  752. prefix = substr(line, 1, index(line, defundef) - 1)
  753. if (D_is_set[macro]) {
  754. # Preserve the white space surrounding the "#".
  755. print prefix "define", macro P[macro] D[macro]
  756. next
  757. } else {
  758. # Replace #undef with comments. This is necessary, for example,
  759. # in the case of _POSIX_SOURCE, which is predefined and required
  760. # on some systems where configure will not decide to define it.
  761. if (defundef == "undef") {
  762. print "/*", prefix defundef, macro, "*/"
  763. next
  764. }
  765. }
  766. }
  767. { print }
  768. _ACAWK
  769. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  770. fi # test -n "$CONFIG_HEADERS"
  771. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  772. shift
  773. for ac_tag
  774. do
  775. case $ac_tag in
  776. :[FHLC]) ac_mode=$ac_tag; continue;;
  777. esac
  778. case $ac_mode$ac_tag in
  779. :[FHL]*:*);;
  780. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  781. :[FH]-) ac_tag=-:-;;
  782. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  783. esac
  784. ac_save_IFS=$IFS
  785. IFS=:
  786. set x $ac_tag
  787. IFS=$ac_save_IFS
  788. shift
  789. ac_file=$1
  790. shift
  791. case $ac_mode in
  792. :L) ac_source=$1;;
  793. :[FH])
  794. ac_file_inputs=
  795. for ac_f
  796. do
  797. case $ac_f in
  798. -) ac_f="$ac_tmp/stdin";;
  799. *) # Look for the file first in the build tree, then in the source tree
  800. # (if the path is not absolute). The absolute path cannot be DOS-style,
  801. # because $ac_f cannot contain `:'.
  802. test -f "$ac_f" ||
  803. case $ac_f in
  804. [\\/$]*) false;;
  805. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  806. esac ||
  807. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  808. esac
  809. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  810. as_fn_append ac_file_inputs " '$ac_f'"
  811. done
  812. # Let's still pretend it is `configure' which instantiates (i.e., don't
  813. # use $as_me), people would be surprised to read:
  814. # /* config.h. Generated by config.status. */
  815. configure_input='Generated from '`
  816. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  817. `' by configure.'
  818. if test x"$ac_file" != x-; then
  819. configure_input="$ac_file. $configure_input"
  820. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  821. $as_echo "$as_me: creating $ac_file" >&6;}
  822. fi
  823. # Neutralize special characters interpreted by sed in replacement strings.
  824. case $configure_input in #(
  825. *\&* | *\|* | *\\* )
  826. ac_sed_conf_input=`$as_echo "$configure_input" |
  827. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  828. *) ac_sed_conf_input=$configure_input;;
  829. esac
  830. case $ac_tag in
  831. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  832. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  833. esac
  834. ;;
  835. esac
  836. ac_dir=`$as_dirname -- "$ac_file" ||
  837. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  838. X"$ac_file" : 'X\(//\)[^/]' \| \
  839. X"$ac_file" : 'X\(//\)$' \| \
  840. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  841. $as_echo X"$ac_file" |
  842. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  843. s//\1/
  844. q
  845. }
  846. /^X\(\/\/\)[^/].*/{
  847. s//\1/
  848. q
  849. }
  850. /^X\(\/\/\)$/{
  851. s//\1/
  852. q
  853. }
  854. /^X\(\/\).*/{
  855. s//\1/
  856. q
  857. }
  858. s/.*/./; q'`
  859. as_dir="$ac_dir"; as_fn_mkdir_p
  860. ac_builddir=.
  861. case "$ac_dir" in
  862. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  863. *)
  864. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  865. # A ".." for each directory in $ac_dir_suffix.
  866. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  867. case $ac_top_builddir_sub in
  868. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  869. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  870. esac ;;
  871. esac
  872. ac_abs_top_builddir=$ac_pwd
  873. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  874. # for backward compatibility:
  875. ac_top_builddir=$ac_top_build_prefix
  876. case $srcdir in
  877. .) # We are building in place.
  878. ac_srcdir=.
  879. ac_top_srcdir=$ac_top_builddir_sub
  880. ac_abs_top_srcdir=$ac_pwd ;;
  881. [\\/]* | ?:[\\/]* ) # Absolute name.
  882. ac_srcdir=$srcdir$ac_dir_suffix;
  883. ac_top_srcdir=$srcdir
  884. ac_abs_top_srcdir=$srcdir ;;
  885. *) # Relative name.
  886. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  887. ac_top_srcdir=$ac_top_build_prefix$srcdir
  888. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  889. esac
  890. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  891. case $ac_mode in
  892. :F)
  893. #
  894. # CONFIG_FILE
  895. #
  896. case $INSTALL in
  897. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  898. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  899. esac
  900. ac_MKDIR_P=$MKDIR_P
  901. case $MKDIR_P in
  902. [\\/$]* | ?:[\\/]* ) ;;
  903. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  904. esac
  905. # If the template does not know about datarootdir, expand it.
  906. # FIXME: This hack should be removed a few years after 2.60.
  907. ac_datarootdir_hack=; ac_datarootdir_seen=
  908. ac_sed_dataroot='
  909. /datarootdir/ {
  910. p
  911. q
  912. }
  913. /@datadir@/p
  914. /@docdir@/p
  915. /@infodir@/p
  916. /@localedir@/p
  917. /@mandir@/p'
  918. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  919. *datarootdir*) ac_datarootdir_seen=yes;;
  920. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  921. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  922. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  923. ac_datarootdir_hack='
  924. s&@datadir@&${datarootdir}&g
  925. s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  926. s&@infodir@&${datarootdir}/info&g
  927. s&@localedir@&/freon/share/locale&g
  928. s&@mandir@&${datarootdir}/man&g
  929. s&\${datarootdir}&${prefix}/share&g' ;;
  930. esac
  931. ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
  932. h
  933. s///
  934. s/^/:/
  935. s/[ ]*$/:/
  936. s/:\$(srcdir):/:/g
  937. s/:\${srcdir}:/:/g
  938. s/:@srcdir@:/:/g
  939. s/^:*//
  940. s/:*$//
  941. x
  942. s/\(=[ ]*\).*/\1/
  943. G
  944. s/\n//
  945. s/^[^=]*=[ ]*$//
  946. }
  947. :t
  948. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  949. s|@configure_input@|$ac_sed_conf_input|;t t
  950. s&@top_builddir@&$ac_top_builddir_sub&;t t
  951. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  952. s&@srcdir@&$ac_srcdir&;t t
  953. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  954. s&@top_srcdir@&$ac_top_srcdir&;t t
  955. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  956. s&@builddir@&$ac_builddir&;t t
  957. s&@abs_builddir@&$ac_abs_builddir&;t t
  958. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  959. s&@INSTALL@&$ac_INSTALL&;t t
  960. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  961. $ac_datarootdir_hack
  962. "
  963. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  964. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  965. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  966. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  967. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  968. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  969. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  970. which seems to be undefined. Please make sure it is defined" >&5
  971. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  972. which seems to be undefined. Please make sure it is defined" >&2;}
  973. rm -f "$ac_tmp/stdin"
  974. case $ac_file in
  975. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  976. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  977. esac \
  978. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  979. ;;
  980. :H)
  981. #
  982. # CONFIG_HEADER
  983. #
  984. if test x"$ac_file" != x-; then
  985. {
  986. $as_echo "/* $configure_input */" \
  987. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  988. } >"$ac_tmp/config.h" \
  989. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  990. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  991. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  992. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  993. else
  994. rm -f "$ac_file"
  995. mv "$ac_tmp/config.h" "$ac_file" \
  996. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  997. fi
  998. else
  999. $as_echo "/* $configure_input */" \
  1000. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1001. || as_fn_error $? "could not create -" "$LINENO" 5
  1002. fi
  1003. ;;
  1004. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1005. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1006. ;;
  1007. esac
  1008. case $ac_file$ac_mode in
  1009. "po-directories":C)
  1010. for ac_file in $CONFIG_FILES; do
  1011. # Support "outfile[:infile[:infile...]]"
  1012. case "$ac_file" in
  1013. *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1014. esac
  1015. # PO directories have a Makefile.in generated from Makefile.in.in.
  1016. case "$ac_file" in */Makefile.in)
  1017. # Adjust a relative srcdir.
  1018. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  1019. ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  1020. ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  1021. # In autoconf-2.13 it is called $ac_given_srcdir.
  1022. # In autoconf-2.50 it is called $srcdir.
  1023. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  1024. case "$ac_given_srcdir" in
  1025. .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  1026. /*) top_srcdir="$ac_given_srcdir" ;;
  1027. *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1028. esac
  1029. # Treat a directory as a PO directory if and only if it has a
  1030. # POTFILES.in file. This allows packages to have multiple PO
  1031. # directories under different names or in different locations.
  1032. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  1033. rm -f "$ac_dir/POTFILES"
  1034. test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  1035. gt_tab=`printf '\t'`
  1036. cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  1037. POMAKEFILEDEPS="POTFILES.in"
  1038. # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
  1039. # on $ac_dir but don't depend on user-specified configuration
  1040. # parameters.
  1041. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  1042. # The LINGUAS file contains the set of available languages.
  1043. if test -n "$OBSOLETE_ALL_LINGUAS"; then
  1044. test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
  1045. fi
  1046. ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  1047. # Hide the ALL_LINGUAS assignment from automake < 1.5.
  1048. eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  1049. POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  1050. else
  1051. # The set of available languages was given in configure.in.
  1052. # Hide the ALL_LINGUAS assignment from automake < 1.5.
  1053. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  1054. fi
  1055. # Compute POFILES
  1056. # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
  1057. # Compute UPDATEPOFILES
  1058. # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
  1059. # Compute DUMMYPOFILES
  1060. # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
  1061. # Compute GMOFILES
  1062. # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
  1063. case "$ac_given_srcdir" in
  1064. .) srcdirpre= ;;
  1065. *) srcdirpre='$(srcdir)/' ;;
  1066. esac
  1067. POFILES=
  1068. UPDATEPOFILES=
  1069. DUMMYPOFILES=
  1070. GMOFILES=
  1071. for lang in $ALL_LINGUAS; do
  1072. POFILES="$POFILES $srcdirpre$lang.po"
  1073. UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  1074. DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  1075. GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  1076. done
  1077. # CATALOGS depends on both $ac_dir and the user's LINGUAS
  1078. # environment variable.
  1079. INST_LINGUAS=
  1080. if test -n "$ALL_LINGUAS"; then
  1081. for presentlang in $ALL_LINGUAS; do
  1082. useit=no
  1083. if test "%UNSET%" != "$LINGUAS"; then
  1084. desiredlanguages="$LINGUAS"
  1085. else
  1086. desiredlanguages="$ALL_LINGUAS"
  1087. fi
  1088. for desiredlang in $desiredlanguages; do
  1089. # Use the presentlang catalog if desiredlang is
  1090. # a. equal to presentlang, or
  1091. # b. a variant of presentlang (because in this case,
  1092. # presentlang can be used as a fallback for messages
  1093. # which are not translated in the desiredlang catalog).
  1094. case "$desiredlang" in
  1095. "$presentlang"*) useit=yes;;
  1096. esac
  1097. done
  1098. if test $useit = yes; then
  1099. INST_LINGUAS="$INST_LINGUAS $presentlang"
  1100. fi
  1101. done
  1102. fi
  1103. CATALOGS=
  1104. if test -n "$INST_LINGUAS"; then
  1105. for lang in $INST_LINGUAS; do
  1106. CATALOGS="$CATALOGS $lang.gmo"
  1107. done
  1108. fi
  1109. test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  1110. sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
  1111. for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  1112. if test -f "$f"; then
  1113. case "$f" in
  1114. *.orig | *.bak | *~) ;;
  1115. *) cat "$f" >> "$ac_dir/Makefile" ;;
  1116. esac
  1117. fi
  1118. done
  1119. fi
  1120. ;;
  1121. esac
  1122. done ;;
  1123. esac
  1124. done # for ac_tag
  1125. as_fn_exit 0