config.status 36 KB

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