Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for obconf 2.0.4.
4 #
5 # Report bugs to <http://bugzilla.icculus.org>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell [email protected] and
269 $0: http://bugzilla.icculus.org about your system,
270 $0: including any error possibly output before this
271 $0: message. Then install a modern shell, or manually run
272 $0: the script under such a shell if you do have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360 } # as_fn_mkdir_p
361
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='obconf'
581 PACKAGE_TARNAME='obconf'
582 PACKAGE_VERSION='2.0.4'
583 PACKAGE_STRING='obconf 2.0.4'
584 PACKAGE_BUGREPORT='http://bugzilla.icculus.org'
585 PACKAGE_URL=''
586
587 ac_unique_file="src/main.c"
588 ac_default_prefix=/usr/local
589 ac_subst_vars='am__EXEEXT_FALSE
590 am__EXEEXT_TRUE
591 LTLIBOBJS
592 LIBOBJS
593 GUNZIP
594 GZIP
595 TAR
596 GDK_PIXBUF_LIBS
597 GDK_PIXBUF_CFLAGS
598 GTK_LIBS
599 GTK_CFLAGS
600 LIBSTARTUPNOTIFICATION_LIBS
601 LIBSTARTUPNOTIFICATION_CFLAGS
602 OPENBOX_LIBS
603 OPENBOX_CFLAGS
604 PKG_CONFIG_LIBDIR
605 PKG_CONFIG_PATH
606 PKG_CONFIG
607 POSUB
608 LTLIBINTL
609 LIBINTL
610 INTLLIBS
611 LTLIBICONV
612 LIBICONV
613 INTL_MACOSX_LIBS
614 host_os
615 host_vendor
616 host_cpu
617 host
618 build_os
619 build_vendor
620 build_cpu
621 build
622 MSGMERGE
623 XGETTEXT_015
624 XGETTEXT
625 GMSGFMT_015
626 MSGFMT_015
627 GMSGFMT
628 MSGFMT
629 USE_NLS
630 EXPORT_DYNAMIC_FLAGS
631 am__fastdepCC_FALSE
632 am__fastdepCC_TRUE
633 CCDEPMODE
634 am__nodep
635 AMDEPBACKSLASH
636 AMDEP_FALSE
637 AMDEP_TRUE
638 am__quote
639 am__include
640 DEPDIR
641 OBJEXT
642 EXEEXT
643 ac_ct_CC
644 CPPFLAGS
645 LDFLAGS
646 CFLAGS
647 CC
648 AM_BACKSLASH
649 AM_DEFAULT_VERBOSITY
650 AM_DEFAULT_V
651 AM_V
652 am__untar
653 am__tar
654 AMTAR
655 am__leading_dot
656 SET_MAKE
657 AWK
658 mkdir_p
659 MKDIR_P
660 INSTALL_STRIP_PROGRAM
661 STRIP
662 install_sh
663 MAKEINFO
664 AUTOHEADER
665 AUTOMAKE
666 AUTOCONF
667 ACLOCAL
668 VERSION
669 PACKAGE
670 CYGPATH_W
671 am__isrc
672 INSTALL_DATA
673 INSTALL_SCRIPT
674 INSTALL_PROGRAM
675 target_alias
676 host_alias
677 build_alias
678 LIBS
679 ECHO_T
680 ECHO_N
681 ECHO_C
682 DEFS
683 mandir
684 localedir
685 libdir
686 psdir
687 pdfdir
688 dvidir
689 htmldir
690 infodir
691 docdir
692 oldincludedir
693 includedir
694 localstatedir
695 sharedstatedir
696 sysconfdir
697 datadir
698 datarootdir
699 libexecdir
700 sbindir
701 bindir
702 program_transform_name
703 prefix
704 exec_prefix
705 PACKAGE_URL
706 PACKAGE_BUGREPORT
707 PACKAGE_STRING
708 PACKAGE_VERSION
709 PACKAGE_TARNAME
710 PACKAGE_NAME
711 PATH_SEPARATOR
712 SHELL'
713 ac_subst_files=''
714 ac_user_opts='
715 enable_option_checking
716 enable_silent_rules
717 enable_dependency_tracking
718 enable_nls
719 with_gnu_ld
720 enable_rpath
721 with_libiconv_prefix
722 with_libintl_prefix
723 '
724 ac_precious_vars='build_alias
725 host_alias
726 target_alias
727 CC
728 CFLAGS
729 LDFLAGS
730 LIBS
731 CPPFLAGS
732 PKG_CONFIG
733 PKG_CONFIG_PATH
734 PKG_CONFIG_LIBDIR
735 OPENBOX_CFLAGS
736 OPENBOX_LIBS
737 LIBSTARTUPNOTIFICATION_CFLAGS
738 LIBSTARTUPNOTIFICATION_LIBS
739 GTK_CFLAGS
740 GTK_LIBS
741 GDK_PIXBUF_CFLAGS
742 GDK_PIXBUF_LIBS'
743
744
745 # Initialize some variables set by options.
746 ac_init_help=
747 ac_init_version=false
748 ac_unrecognized_opts=
749 ac_unrecognized_sep=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
752 cache_file=/dev/null
753 exec_prefix=NONE
754 no_create=
755 no_recursion=
756 prefix=NONE
757 program_prefix=NONE
758 program_suffix=NONE
759 program_transform_name=s,x,x,
760 silent=
761 site=
762 srcdir=
763 verbose=
764 x_includes=NONE
765 x_libraries=NONE
766
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir='${exec_prefix}/bin'
774 sbindir='${exec_prefix}/sbin'
775 libexecdir='${exec_prefix}/libexec'
776 datarootdir='${prefix}/share'
777 datadir='${datarootdir}'
778 sysconfdir='${prefix}/etc'
779 sharedstatedir='${prefix}/com'
780 localstatedir='${prefix}/var'
781 includedir='${prefix}/include'
782 oldincludedir='/usr/include'
783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir='${datarootdir}/info'
785 htmldir='${docdir}'
786 dvidir='${docdir}'
787 pdfdir='${docdir}'
788 psdir='${docdir}'
789 libdir='${exec_prefix}/lib'
790 localedir='${datarootdir}/locale'
791 mandir='${datarootdir}/man'
792
793 ac_prev=
794 ac_dashdash=
795 for ac_option
796 do
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\$ac_option
800 ac_prev=
801 continue
802 fi
803
804 case $ac_option in
805 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 *=) ac_optarg= ;;
807 *) ac_optarg=yes ;;
808 esac
809
810 # Accept the important Cygnus configure options, so we can diagnose typos.
811
812 case $ac_dashdash$ac_option in
813 --)
814 ac_dashdash=yes ;;
815
816 -bindir | --bindir | --bindi | --bind | --bin | --bi)
817 ac_prev=bindir ;;
818 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
819 bindir=$ac_optarg ;;
820
821 -build | --build | --buil | --bui | --bu)
822 ac_prev=build_alias ;;
823 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
824 build_alias=$ac_optarg ;;
825
826 -cache-file | --cache-file | --cache-fil | --cache-fi \
827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
828 ac_prev=cache_file ;;
829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
831 cache_file=$ac_optarg ;;
832
833 --config-cache | -C)
834 cache_file=config.cache ;;
835
836 -datadir | --datadir | --datadi | --datad)
837 ac_prev=datadir ;;
838 -datadir=* | --datadir=* | --datadi=* | --datad=*)
839 datadir=$ac_optarg ;;
840
841 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
842 | --dataroo | --dataro | --datar)
843 ac_prev=datarootdir ;;
844 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
845 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
846 datarootdir=$ac_optarg ;;
847
848 -disable-* | --disable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
856 *"
857 "enable_$ac_useropt"
858 "*) ;;
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
861 esac
862 eval enable_$ac_useropt=no ;;
863
864 -docdir | --docdir | --docdi | --doc | --do)
865 ac_prev=docdir ;;
866 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
867 docdir=$ac_optarg ;;
868
869 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
870 ac_prev=dvidir ;;
871 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
872 dvidir=$ac_optarg ;;
873
874 -enable-* | --enable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
882 *"
883 "enable_$ac_useropt"
884 "*) ;;
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
887 esac
888 eval enable_$ac_useropt=\$ac_optarg ;;
889
890 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
891 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
892 | --exec | --exe | --ex)
893 ac_prev=exec_prefix ;;
894 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
895 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
896 | --exec=* | --exe=* | --ex=*)
897 exec_prefix=$ac_optarg ;;
898
899 -gas | --gas | --ga | --g)
900 # Obsolete; use --with-gas.
901 with_gas=yes ;;
902
903 -help | --help | --hel | --he | -h)
904 ac_init_help=long ;;
905 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
906 ac_init_help=recursive ;;
907 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
908 ac_init_help=short ;;
909
910 -host | --host | --hos | --ho)
911 ac_prev=host_alias ;;
912 -host=* | --host=* | --hos=* | --ho=*)
913 host_alias=$ac_optarg ;;
914
915 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
916 ac_prev=htmldir ;;
917 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
918 | --ht=*)
919 htmldir=$ac_optarg ;;
920
921 -includedir | --includedir | --includedi | --included | --include \
922 | --includ | --inclu | --incl | --inc)
923 ac_prev=includedir ;;
924 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
925 | --includ=* | --inclu=* | --incl=* | --inc=*)
926 includedir=$ac_optarg ;;
927
928 -infodir | --infodir | --infodi | --infod | --info | --inf)
929 ac_prev=infodir ;;
930 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
931 infodir=$ac_optarg ;;
932
933 -libdir | --libdir | --libdi | --libd)
934 ac_prev=libdir ;;
935 -libdir=* | --libdir=* | --libdi=* | --libd=*)
936 libdir=$ac_optarg ;;
937
938 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
939 | --libexe | --libex | --libe)
940 ac_prev=libexecdir ;;
941 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
942 | --libexe=* | --libex=* | --libe=*)
943 libexecdir=$ac_optarg ;;
944
945 -localedir | --localedir | --localedi | --localed | --locale)
946 ac_prev=localedir ;;
947 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
948 localedir=$ac_optarg ;;
949
950 -localstatedir | --localstatedir | --localstatedi | --localstated \
951 | --localstate | --localstat | --localsta | --localst | --locals)
952 ac_prev=localstatedir ;;
953 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
954 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
955 localstatedir=$ac_optarg ;;
956
957 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
958 ac_prev=mandir ;;
959 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
960 mandir=$ac_optarg ;;
961
962 -nfp | --nfp | --nf)
963 # Obsolete; use --without-fp.
964 with_fp=no ;;
965
966 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
967 | --no-cr | --no-c | -n)
968 no_create=yes ;;
969
970 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
971 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
972 no_recursion=yes ;;
973
974 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
975 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
976 | --oldin | --oldi | --old | --ol | --o)
977 ac_prev=oldincludedir ;;
978 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
979 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
980 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
981 oldincludedir=$ac_optarg ;;
982
983 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
984 ac_prev=prefix ;;
985 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
986 prefix=$ac_optarg ;;
987
988 -program-prefix | --program-prefix | --program-prefi | --program-pref \
989 | --program-pre | --program-pr | --program-p)
990 ac_prev=program_prefix ;;
991 -program-prefix=* | --program-prefix=* | --program-prefi=* \
992 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
993 program_prefix=$ac_optarg ;;
994
995 -program-suffix | --program-suffix | --program-suffi | --program-suff \
996 | --program-suf | --program-su | --program-s)
997 ac_prev=program_suffix ;;
998 -program-suffix=* | --program-suffix=* | --program-suffi=* \
999 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1000 program_suffix=$ac_optarg ;;
1001
1002 -program-transform-name | --program-transform-name \
1003 | --program-transform-nam | --program-transform-na \
1004 | --program-transform-n | --program-transform- \
1005 | --program-transform | --program-transfor \
1006 | --program-transfo | --program-transf \
1007 | --program-trans | --program-tran \
1008 | --progr-tra | --program-tr | --program-t)
1009 ac_prev=program_transform_name ;;
1010 -program-transform-name=* | --program-transform-name=* \
1011 | --program-transform-nam=* | --program-transform-na=* \
1012 | --program-transform-n=* | --program-transform-=* \
1013 | --program-transform=* | --program-transfor=* \
1014 | --program-transfo=* | --program-transf=* \
1015 | --program-trans=* | --program-tran=* \
1016 | --progr-tra=* | --program-tr=* | --program-t=*)
1017 program_transform_name=$ac_optarg ;;
1018
1019 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1020 ac_prev=pdfdir ;;
1021 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1022 pdfdir=$ac_optarg ;;
1023
1024 -psdir | --psdir | --psdi | --psd | --ps)
1025 ac_prev=psdir ;;
1026 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1027 psdir=$ac_optarg ;;
1028
1029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1030 | -silent | --silent | --silen | --sile | --sil)
1031 silent=yes ;;
1032
1033 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1034 ac_prev=sbindir ;;
1035 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1036 | --sbi=* | --sb=*)
1037 sbindir=$ac_optarg ;;
1038
1039 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1040 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1041 | --sharedst | --shareds | --shared | --share | --shar \
1042 | --sha | --sh)
1043 ac_prev=sharedstatedir ;;
1044 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1045 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1046 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1047 | --sha=* | --sh=*)
1048 sharedstatedir=$ac_optarg ;;
1049
1050 -site | --site | --sit)
1051 ac_prev=site ;;
1052 -site=* | --site=* | --sit=*)
1053 site=$ac_optarg ;;
1054
1055 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1056 ac_prev=srcdir ;;
1057 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1058 srcdir=$ac_optarg ;;
1059
1060 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1061 | --syscon | --sysco | --sysc | --sys | --sy)
1062 ac_prev=sysconfdir ;;
1063 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1064 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1065 sysconfdir=$ac_optarg ;;
1066
1067 -target | --target | --targe | --targ | --tar | --ta | --t)
1068 ac_prev=target_alias ;;
1069 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1070 target_alias=$ac_optarg ;;
1071
1072 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1073 verbose=yes ;;
1074
1075 -version | --version | --versio | --versi | --vers | -V)
1076 ac_init_version=: ;;
1077
1078 -with-* | --with-*)
1079 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082 as_fn_error $? "invalid package name: $ac_useropt"
1083 ac_useropt_orig=$ac_useropt
1084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1086 *"
1087 "with_$ac_useropt"
1088 "*) ;;
1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep=', ';;
1091 esac
1092 eval with_$ac_useropt=\$ac_optarg ;;
1093
1094 -without-* | --without-*)
1095 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098 as_fn_error $? "invalid package name: $ac_useropt"
1099 ac_useropt_orig=$ac_useropt
1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1102 *"
1103 "with_$ac_useropt"
1104 "*) ;;
1105 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep=', ';;
1107 esac
1108 eval with_$ac_useropt=no ;;
1109
1110 --x)
1111 # Obsolete; use --with-x.
1112 with_x=yes ;;
1113
1114 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1115 | --x-incl | --x-inc | --x-in | --x-i)
1116 ac_prev=x_includes ;;
1117 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1118 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1119 x_includes=$ac_optarg ;;
1120
1121 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1122 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1123 ac_prev=x_libraries ;;
1124 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1125 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1126 x_libraries=$ac_optarg ;;
1127
1128 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information"
1130 ;;
1131
1132 *=*)
1133 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' | [0-9]* | *[!_$as_cr_alnum]* )
1137 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1138 esac
1139 eval $ac_envvar=\$ac_optarg
1140 export $ac_envvar ;;
1141
1142 *)
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1148 ;;
1149
1150 esac
1151 done
1152
1153 if test -n "$ac_prev"; then
1154 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error $? "missing argument to $ac_option"
1156 fi
1157
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1160 no) ;;
1161 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1163 esac
1164 fi
1165
1166 # Check all directory arguments for consistency.
1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1171 do
1172 eval ac_val=\$$ac_var
1173 # Remove trailing slashes.
1174 case $ac_val in
1175 */ )
1176 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\$ac_val;;
1178 esac
1179 # Be sure to have absolute directory names.
1180 case $ac_val in
1181 [\\/$]* | ?:[\\/]* ) continue;;
1182 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 esac
1184 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1185 done
1186
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1190 build=$build_alias
1191 host=$host_alias
1192 target=$target_alias
1193
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x; then
1196 if test "x$build_alias" = x; then
1197 cross_compiling=maybe
1198 elif test "x$build_alias" != "x$host_alias"; then
1199 cross_compiling=yes
1200 fi
1201 fi
1202
1203 ac_tool_prefix=
1204 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1205
1206 test "$silent" = yes && exec 6>/dev/null
1207
1208
1209 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1210 ac_ls_di=`ls -di .` &&
1211 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1212 as_fn_error $? "working directory cannot be determined"
1213 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1214 as_fn_error $? "pwd does not report name of working directory"
1215
1216
1217 # Find the source files, if location was not specified.
1218 if test -z "$srcdir"; then
1219 ac_srcdir_defaulted=yes
1220 # Try the directory containing this script, then the parent directory.
1221 ac_confdir=`$as_dirname -- "$as_myself" ||
1222 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223 X"$as_myself" : 'X\(//\)[^/]' \| \
1224 X"$as_myself" : 'X\(//\)$' \| \
1225 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1226 $as_echo X"$as_myself" |
1227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1228 s//\1/
1229 q
1230 }
1231 /^X\(\/\/\)[^/].*/{
1232 s//\1/
1233 q
1234 }
1235 /^X\(\/\/\)$/{
1236 s//\1/
1237 q
1238 }
1239 /^X\(\/\).*/{
1240 s//\1/
1241 q
1242 }
1243 s/.*/./; q'`
1244 srcdir=$ac_confdir
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1246 srcdir=..
1247 fi
1248 else
1249 ac_srcdir_defaulted=no
1250 fi
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1253 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1254 fi
1255 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1256 ac_abs_confdir=`(
1257 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1258 pwd)`
1259 # When building in place, set srcdir=.
1260 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 srcdir=.
1262 fi
1263 # Remove unnecessary trailing slashes from srcdir.
1264 # Double slashes in file names in object file debugging info
1265 # mess up M-x gdb in Emacs.
1266 case $srcdir in
1267 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 esac
1269 for ac_var in $ac_precious_vars; do
1270 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_env_${ac_var}_value=\$${ac_var}
1272 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1274 done
1275
1276 #
1277 # Report the --help message.
1278 #
1279 if test "$ac_init_help" = "long"; then
1280 # Omit some internal or obsolete options to make the list less imposing.
1281 # This message is too long to be a string in the A/UX 3.1 sh.
1282 cat <<_ACEOF
1283 \`configure' configures obconf 2.0.4 to adapt to many kinds of systems.
1284
1285 Usage: $0 [OPTION]... [VAR=VALUE]...
1286
1287 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288 VAR=VALUE. See below for descriptions of some of the useful variables.
1289
1290 Defaults for the options are specified in brackets.
1291
1292 Configuration:
1293 -h, --help display this help and exit
1294 --help=short display options specific to this package
1295 --help=recursive display the short help of all the included packages
1296 -V, --version display version information and exit
1297 -q, --quiet, --silent do not print \`checking ...' messages
1298 --cache-file=FILE cache test results in FILE [disabled]
1299 -C, --config-cache alias for \`--cache-file=config.cache'
1300 -n, --no-create do not create output files
1301 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302
1303 Installation directories:
1304 --prefix=PREFIX install architecture-independent files in PREFIX
1305 [$ac_default_prefix]
1306 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 [PREFIX]
1308
1309 By default, \`make install' will install all the files in
1310 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1311 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1312 for instance \`--prefix=\$HOME'.
1313
1314 For better control, use the options below.
1315
1316 Fine tuning of the installation directories:
1317 --bindir=DIR user executables [EPREFIX/bin]
1318 --sbindir=DIR system admin executables [EPREFIX/sbin]
1319 --libexecdir=DIR program executables [EPREFIX/libexec]
1320 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1321 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1322 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/obconf]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1336 _ACEOF
1337
1338 cat <<\_ACEOF
1339
1340 Program names:
1341 --program-prefix=PREFIX prepend PREFIX to installed program names
1342 --program-suffix=SUFFIX append SUFFIX to installed program names
1343 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1344
1345 System types:
1346 --build=BUILD configure for building on BUILD [guessed]
1347 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1348 _ACEOF
1349 fi
1350
1351 if test -n "$ac_init_help"; then
1352 case $ac_init_help in
1353 short | recursive ) echo "Configuration of obconf 2.0.4:";;
1354 esac
1355 cat <<\_ACEOF
1356
1357 Optional Features:
1358 --disable-option-checking ignore unrecognized --enable/--with options
1359 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1360 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1361 --enable-silent-rules less verbose build output (undo: "make V=1")
1362 --disable-silent-rules verbose build output (undo: "make V=0")
1363 --enable-dependency-tracking
1364 do not reject slow dependency extractors
1365 --disable-dependency-tracking
1366 speeds up one-time build
1367 --disable-nls do not use Native Language Support
1368 --disable-rpath do not hardcode runtime library paths
1369
1370 Optional Packages:
1371 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1372 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1373 --with-gnu-ld assume the C compiler uses GNU ld default=no
1374 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1375 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1376 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1377 --without-libintl-prefix don't search for libintl in includedir and libdir
1378
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 PKG_CONFIG path to pkg-config utility
1388 PKG_CONFIG_PATH
1389 directories to add to pkg-config's search path
1390 PKG_CONFIG_LIBDIR
1391 path overriding pkg-config's built-in search path
1392 OPENBOX_CFLAGS
1393 C compiler flags for OPENBOX, overriding pkg-config
1394 OPENBOX_LIBS
1395 linker flags for OPENBOX, overriding pkg-config
1396 LIBSTARTUPNOTIFICATION_CFLAGS
1397 C compiler flags for LIBSTARTUPNOTIFICATION, overriding
1398 pkg-config
1399 LIBSTARTUPNOTIFICATION_LIBS
1400 linker flags for LIBSTARTUPNOTIFICATION, overriding pkg-config
1401 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1402 GTK_LIBS linker flags for GTK, overriding pkg-config
1403 GDK_PIXBUF_CFLAGS
1404 C compiler flags for GDK_PIXBUF, overriding pkg-config
1405 GDK_PIXBUF_LIBS
1406 linker flags for GDK_PIXBUF, overriding pkg-config
1407
1408 Use these variables to override the choices made by `configure' or to help
1409 it to find libraries and programs with nonstandard names/locations.
1410
1411 Report bugs to <http://bugzilla.icculus.org>.
1412 _ACEOF
1413 ac_status=$?
1414 fi
1415
1416 if test "$ac_init_help" = "recursive"; then
1417 # If there are subdirs, report their specific --help.
1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419 test -d "$ac_dir" ||
1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421 continue
1422 ac_builddir=.
1423
1424 case "$ac_dir" in
1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 *)
1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428 # A ".." for each directory in $ac_dir_suffix.
1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430 case $ac_top_builddir_sub in
1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433 esac ;;
1434 esac
1435 ac_abs_top_builddir=$ac_pwd
1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir=$ac_top_build_prefix
1439
1440 case $srcdir in
1441 .) # We are building in place.
1442 ac_srcdir=.
1443 ac_top_srcdir=$ac_top_builddir_sub
1444 ac_abs_top_srcdir=$ac_pwd ;;
1445 [\\/]* | ?:[\\/]* ) # Absolute name.
1446 ac_srcdir=$srcdir$ac_dir_suffix;
1447 ac_top_srcdir=$srcdir
1448 ac_abs_top_srcdir=$srcdir ;;
1449 *) # Relative name.
1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451 ac_top_srcdir=$ac_top_build_prefix$srcdir
1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453 esac
1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455
1456 cd "$ac_dir" || { ac_status=$?; continue; }
1457 # Check for guested configure.
1458 if test -f "$ac_srcdir/configure.gnu"; then
1459 echo &&
1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461 elif test -f "$ac_srcdir/configure"; then
1462 echo &&
1463 $SHELL "$ac_srcdir/configure" --help=recursive
1464 else
1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466 fi || ac_status=$?
1467 cd "$ac_pwd" || { ac_status=$?; break; }
1468 done
1469 fi
1470
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1473 cat <<\_ACEOF
1474 obconf configure 2.0.4
1475 generated by GNU Autoconf 2.69
1476
1477 Copyright (C) 2012 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1480 _ACEOF
1481 exit
1482 fi
1483
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1487
1488 # ac_fn_c_try_compile LINENO
1489 # --------------------------
1490 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1491 ac_fn_c_try_compile ()
1492 {
1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494 rm -f conftest.$ac_objext
1495 if { { ac_try="$ac_compile"
1496 case "(($ac_try" in
1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498 *) ac_try_echo=$ac_try;;
1499 esac
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502 (eval "$ac_compile") 2>conftest.err
1503 ac_status=$?
1504 if test -s conftest.err; then
1505 grep -v '^ *+' conftest.err >conftest.er1
1506 cat conftest.er1 >&5
1507 mv -f conftest.er1 conftest.err
1508 fi
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; } && {
1511 test -z "$ac_c_werror_flag" ||
1512 test ! -s conftest.err
1513 } && test -s conftest.$ac_objext; then :
1514 ac_retval=0
1515 else
1516 $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1518
1519 ac_retval=1
1520 fi
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522 as_fn_set_status $ac_retval
1523
1524 } # ac_fn_c_try_compile
1525
1526 # ac_fn_c_try_link LINENO
1527 # -----------------------
1528 # Try to link conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_link ()
1530 {
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext conftest$ac_exeext
1533 if { { ac_try="$ac_link"
1534 case "(($ac_try" in
1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536 *) ac_try_echo=$ac_try;;
1537 esac
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_link") 2>conftest.err
1541 ac_status=$?
1542 if test -s conftest.err; then
1543 grep -v '^ *+' conftest.err >conftest.er1
1544 cat conftest.er1 >&5
1545 mv -f conftest.er1 conftest.err
1546 fi
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest$ac_exeext && {
1552 test "$cross_compiling" = yes ||
1553 test -x conftest$ac_exeext
1554 }; then :
1555 ac_retval=0
1556 else
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1559
1560 ac_retval=1
1561 fi
1562 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1563 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1564 # interfere with the next link command; also delete a directory that is
1565 # left behind by Apple's compiler. We do this before executing the actions.
1566 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1567 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568 as_fn_set_status $ac_retval
1569
1570 } # ac_fn_c_try_link
1571 cat >config.log <<_ACEOF
1572 This file contains any messages produced by compilers while
1573 running configure, to aid debugging if configure makes a mistake.
1574
1575 It was created by obconf $as_me 2.0.4, which was
1576 generated by GNU Autoconf 2.69. Invocation command line was
1577
1578 $ $0 $@
1579
1580 _ACEOF
1581 exec 5>>config.log
1582 {
1583 cat <<_ASUNAME
1584 ## --------- ##
1585 ## Platform. ##
1586 ## --------- ##
1587
1588 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1589 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1590 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1591 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1592 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1593
1594 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1595 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1596
1597 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1598 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1599 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1600 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1601 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1602 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1603 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1604
1605 _ASUNAME
1606
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 for as_dir in $PATH
1609 do
1610 IFS=$as_save_IFS
1611 test -z "$as_dir" && as_dir=.
1612 $as_echo "PATH: $as_dir"
1613 done
1614 IFS=$as_save_IFS
1615
1616 } >&5
1617
1618 cat >&5 <<_ACEOF
1619
1620
1621 ## ----------- ##
1622 ## Core tests. ##
1623 ## ----------- ##
1624
1625 _ACEOF
1626
1627
1628 # Keep a trace of the command line.
1629 # Strip out --no-create and --no-recursion so they do not pile up.
1630 # Strip out --silent because we don't want to record it for future runs.
1631 # Also quote any args containing shell meta-characters.
1632 # Make two passes to allow for proper duplicate-argument suppression.
1633 ac_configure_args=
1634 ac_configure_args0=
1635 ac_configure_args1=
1636 ac_must_keep_next=false
1637 for ac_pass in 1 2
1638 do
1639 for ac_arg
1640 do
1641 case $ac_arg in
1642 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1644 | -silent | --silent | --silen | --sile | --sil)
1645 continue ;;
1646 *\'*)
1647 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1648 esac
1649 case $ac_pass in
1650 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1651 2)
1652 as_fn_append ac_configure_args1 " '$ac_arg'"
1653 if test $ac_must_keep_next = true; then
1654 ac_must_keep_next=false # Got value, back to normal.
1655 else
1656 case $ac_arg in
1657 *=* | --config-cache | -C | -disable-* | --disable-* \
1658 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1659 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1660 | -with-* | --with-* | -without-* | --without-* | --x)
1661 case "$ac_configure_args0 " in
1662 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1663 esac
1664 ;;
1665 -* ) ac_must_keep_next=true ;;
1666 esac
1667 fi
1668 as_fn_append ac_configure_args " '$ac_arg'"
1669 ;;
1670 esac
1671 done
1672 done
1673 { ac_configure_args0=; unset ac_configure_args0;}
1674 { ac_configure_args1=; unset ac_configure_args1;}
1675
1676 # When interrupted or exit'd, cleanup temporary files, and complete
1677 # config.log. We remove comments because anyway the quotes in there
1678 # would cause problems or look ugly.
1679 # WARNING: Use '\'' to represent an apostrophe within the trap.
1680 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1681 trap 'exit_status=$?
1682 # Save into config.log some information that might help in debugging.
1683 {
1684 echo
1685
1686 $as_echo "## ---------------- ##
1687 ## Cache variables. ##
1688 ## ---------------- ##"
1689 echo
1690 # The following way of writing the cache mishandles newlines in values,
1691 (
1692 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1693 eval ac_val=\$$ac_var
1694 case $ac_val in #(
1695 *${as_nl}*)
1696 case $ac_var in #(
1697 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1699 esac
1700 case $ac_var in #(
1701 _ | IFS | as_nl) ;; #(
1702 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1703 *) { eval $ac_var=; unset $ac_var;} ;;
1704 esac ;;
1705 esac
1706 done
1707 (set) 2>&1 |
1708 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1709 *${as_nl}ac_space=\ *)
1710 sed -n \
1711 "s/'\''/'\''\\\\'\'''\''/g;
1712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1713 ;; #(
1714 *)
1715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1716 ;;
1717 esac |
1718 sort
1719 )
1720 echo
1721
1722 $as_echo "## ----------------- ##
1723 ## Output variables. ##
1724 ## ----------------- ##"
1725 echo
1726 for ac_var in $ac_subst_vars
1727 do
1728 eval ac_val=\$$ac_var
1729 case $ac_val in
1730 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1731 esac
1732 $as_echo "$ac_var='\''$ac_val'\''"
1733 done | sort
1734 echo
1735
1736 if test -n "$ac_subst_files"; then
1737 $as_echo "## ------------------- ##
1738 ## File substitutions. ##
1739 ## ------------------- ##"
1740 echo
1741 for ac_var in $ac_subst_files
1742 do
1743 eval ac_val=\$$ac_var
1744 case $ac_val in
1745 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1746 esac
1747 $as_echo "$ac_var='\''$ac_val'\''"
1748 done | sort
1749 echo
1750 fi
1751
1752 if test -s confdefs.h; then
1753 $as_echo "## ----------- ##
1754 ## confdefs.h. ##
1755 ## ----------- ##"
1756 echo
1757 cat confdefs.h
1758 echo
1759 fi
1760 test "$ac_signal" != 0 &&
1761 $as_echo "$as_me: caught signal $ac_signal"
1762 $as_echo "$as_me: exit $exit_status"
1763 } >&5
1764 rm -f core *.core core.conftest.* &&
1765 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1766 exit $exit_status
1767 ' 0
1768 for ac_signal in 1 2 13 15; do
1769 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1770 done
1771 ac_signal=0
1772
1773 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1774 rm -f -r conftest* confdefs.h
1775
1776 $as_echo "/* confdefs.h */" > confdefs.h
1777
1778 # Predefined preprocessor variables.
1779
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_NAME "$PACKAGE_NAME"
1782 _ACEOF
1783
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1786 _ACEOF
1787
1788 cat >>confdefs.h <<_ACEOF
1789 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1790 _ACEOF
1791
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_STRING "$PACKAGE_STRING"
1794 _ACEOF
1795
1796 cat >>confdefs.h <<_ACEOF
1797 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1798 _ACEOF
1799
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_URL "$PACKAGE_URL"
1802 _ACEOF
1803
1804
1805 # Let the site file select an alternate cache file if it wants to.
1806 # Prefer an explicitly selected file to automatically selected ones.
1807 ac_site_file1=NONE
1808 ac_site_file2=NONE
1809 if test -n "$CONFIG_SITE"; then
1810 # We do not want a PATH search for config.site.
1811 case $CONFIG_SITE in #((
1812 -*) ac_site_file1=./$CONFIG_SITE;;
1813 */*) ac_site_file1=$CONFIG_SITE;;
1814 *) ac_site_file1=./$CONFIG_SITE;;
1815 esac
1816 elif test "x$prefix" != xNONE; then
1817 ac_site_file1=$prefix/share/config.site
1818 ac_site_file2=$prefix/etc/config.site
1819 else
1820 ac_site_file1=$ac_default_prefix/share/config.site
1821 ac_site_file2=$ac_default_prefix/etc/config.site
1822 fi
1823 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1824 do
1825 test "x$ac_site_file" = xNONE && continue
1826 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1828 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1829 sed 's/^/| /' "$ac_site_file" >&5
1830 . "$ac_site_file" \
1831 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1833 as_fn_error $? "failed to load site script $ac_site_file
1834 See \`config.log' for more details" "$LINENO" 5; }
1835 fi
1836 done
1837
1838 if test -r "$cache_file"; then
1839 # Some versions of bash will fail to source /dev/null (special files
1840 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1841 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1843 $as_echo "$as_me: loading cache $cache_file" >&6;}
1844 case $cache_file in
1845 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1846 *) . "./$cache_file";;
1847 esac
1848 fi
1849 else
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1851 $as_echo "$as_me: creating cache $cache_file" >&6;}
1852 >$cache_file
1853 fi
1854
1855 # Check that the precious variables saved in the cache have kept the same
1856 # value.
1857 ac_cache_corrupted=false
1858 for ac_var in $ac_precious_vars; do
1859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1860 eval ac_new_set=\$ac_env_${ac_var}_set
1861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1862 eval ac_new_val=\$ac_env_${ac_var}_value
1863 case $ac_old_set,$ac_new_set in
1864 set,)
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1866 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1867 ac_cache_corrupted=: ;;
1868 ,set)
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1870 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1872 ,);;
1873 *)
1874 if test "x$ac_old_val" != "x$ac_new_val"; then
1875 # differences in whitespace do not lead to failure.
1876 ac_old_val_w=`echo x $ac_old_val`
1877 ac_new_val_w=`echo x $ac_new_val`
1878 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1880 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1881 ac_cache_corrupted=:
1882 else
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1884 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1885 eval $ac_var=\$ac_old_val
1886 fi
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1888 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1890 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1891 fi;;
1892 esac
1893 # Pass precious variables to config.status.
1894 if test "$ac_new_set" = set; then
1895 case $ac_new_val in
1896 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1897 *) ac_arg=$ac_var=$ac_new_val ;;
1898 esac
1899 case " $ac_configure_args " in
1900 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1901 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1902 esac
1903 fi
1904 done
1905 if $ac_cache_corrupted; then
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1909 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1910 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1911 fi
1912 ## -------------------- ##
1913 ## Main body of script. ##
1914 ## -------------------- ##
1915
1916 ac_ext=c
1917 ac_cpp='$CPP $CPPFLAGS'
1918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1921
1922
1923 am__api_version='1.14'
1924
1925 ac_aux_dir=
1926 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1927 if test -f "$ac_dir/install-sh"; then
1928 ac_aux_dir=$ac_dir
1929 ac_install_sh="$ac_aux_dir/install-sh -c"
1930 break
1931 elif test -f "$ac_dir/install.sh"; then
1932 ac_aux_dir=$ac_dir
1933 ac_install_sh="$ac_aux_dir/install.sh -c"
1934 break
1935 elif test -f "$ac_dir/shtool"; then
1936 ac_aux_dir=$ac_dir
1937 ac_install_sh="$ac_aux_dir/shtool install -c"
1938 break
1939 fi
1940 done
1941 if test -z "$ac_aux_dir"; then
1942 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1943 fi
1944
1945 # These three variables are undocumented and unsupported,
1946 # and are intended to be withdrawn in a future Autoconf release.
1947 # They can cause serious problems if a builder's source tree is in a directory
1948 # whose full name contains unusual characters.
1949 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1950 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1951 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1952
1953
1954 # Find a good install program. We prefer a C program (faster),
1955 # so one script is as good as another. But avoid the broken or
1956 # incompatible versions:
1957 # SysV /etc/install, /usr/sbin/install
1958 # SunOS /usr/etc/install
1959 # IRIX /sbin/install
1960 # AIX /bin/install
1961 # AmigaOS /C/install, which installs bootblocks on floppy discs
1962 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1963 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1964 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1965 # OS/2's system install, which has a completely different semantic
1966 # ./install, which can be erroneously created by make from ./install.sh.
1967 # Reject install programs that cannot install multiple files.
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1969 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1970 if test -z "$INSTALL"; then
1971 if ${ac_cv_path_install+:} false; then :
1972 $as_echo_n "(cached) " >&6
1973 else
1974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 for as_dir in $PATH
1976 do
1977 IFS=$as_save_IFS
1978 test -z "$as_dir" && as_dir=.
1979 # Account for people who put trailing slashes in PATH elements.
1980 case $as_dir/ in #((
1981 ./ | .// | /[cC]/* | \
1982 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1983 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1984 /usr/ucb/* ) ;;
1985 *)
1986 # OSF1 and SCO ODT 3.0 have their own names for install.
1987 # Don't use installbsd from OSF since it installs stuff as root
1988 # by default.
1989 for ac_prog in ginstall scoinst install; do
1990 for ac_exec_ext in '' $ac_executable_extensions; do
1991 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1992 if test $ac_prog = install &&
1993 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1994 # AIX install. It has an incompatible calling convention.
1995 :
1996 elif test $ac_prog = install &&
1997 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1998 # program-specific install script used by HP pwplus--don't use.
1999 :
2000 else
2001 rm -rf conftest.one conftest.two conftest.dir
2002 echo one > conftest.one
2003 echo two > conftest.two
2004 mkdir conftest.dir
2005 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2006 test -s conftest.one && test -s conftest.two &&
2007 test -s conftest.dir/conftest.one &&
2008 test -s conftest.dir/conftest.two
2009 then
2010 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2011 break 3
2012 fi
2013 fi
2014 fi
2015 done
2016 done
2017 ;;
2018 esac
2019
2020 done
2021 IFS=$as_save_IFS
2022
2023 rm -rf conftest.one conftest.two conftest.dir
2024
2025 fi
2026 if test "${ac_cv_path_install+set}" = set; then
2027 INSTALL=$ac_cv_path_install
2028 else
2029 # As a last resort, use the slow shell script. Don't cache a
2030 # value for INSTALL within a source directory, because that will
2031 # break other packages using the cache if that directory is
2032 # removed, or if the value is a relative name.
2033 INSTALL=$ac_install_sh
2034 fi
2035 fi
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2037 $as_echo "$INSTALL" >&6; }
2038
2039 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2040 # It thinks the first close brace ends the variable substitution.
2041 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2042
2043 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2044
2045 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2046
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2048 $as_echo_n "checking whether build environment is sane... " >&6; }
2049 # Reject unsafe characters in $srcdir or the absolute working directory
2050 # name. Accept space and tab only in the latter.
2051 am_lf='
2052 '
2053 case `pwd` in
2054 *[\\\"\#\$\&\'\`$am_lf]*)
2055 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2056 esac
2057 case $srcdir in
2058 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2059 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2060 esac
2061
2062 # Do 'set' in a subshell so we don't clobber the current shell's
2063 # arguments. Must try -L first in case configure is actually a
2064 # symlink; some systems play weird games with the mod time of symlinks
2065 # (eg FreeBSD returns the mod time of the symlink's containing
2066 # directory).
2067 if (
2068 am_has_slept=no
2069 for am_try in 1 2; do
2070 echo "timestamp, slept: $am_has_slept" > conftest.file
2071 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2072 if test "$*" = "X"; then
2073 # -L didn't work.
2074 set X `ls -t "$srcdir/configure" conftest.file`
2075 fi
2076 if test "$*" != "X $srcdir/configure conftest.file" \
2077 && test "$*" != "X conftest.file $srcdir/configure"; then
2078
2079 # If neither matched, then we have a broken ls. This can happen
2080 # if, for instance, CONFIG_SHELL is bash and it inherits a
2081 # broken ls alias from the environment. This has actually
2082 # happened. Such a system could not be considered "sane".
2083 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2084 alias in your environment" "$LINENO" 5
2085 fi
2086 if test "$2" = conftest.file || test $am_try -eq 2; then
2087 break
2088 fi
2089 # Just in case.
2090 sleep 1
2091 am_has_slept=yes
2092 done
2093 test "$2" = conftest.file
2094 )
2095 then
2096 # Ok.
2097 :
2098 else
2099 as_fn_error $? "newly created file is older than distributed files!
2100 Check your system clock" "$LINENO" 5
2101 fi
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2103 $as_echo "yes" >&6; }
2104 # If we didn't sleep, we still need to ensure time stamps of config.status and
2105 # generated files are strictly newer.
2106 am_sleep_pid=
2107 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2108 ( sleep 1 ) &
2109 am_sleep_pid=$!
2110 fi
2111
2112 rm -f conftest.file
2113
2114 test "$program_prefix" != NONE &&
2115 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2116 # Use a double $ so make ignores it.
2117 test "$program_suffix" != NONE &&
2118 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2119 # Double any \ or $.
2120 # By default was `s,x,x', remove it if useless.
2121 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2122 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2123
2124 # Expand $ac_aux_dir to an absolute path.
2125 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2126
2127 if test x"${MISSING+set}" != xset; then
2128 case $am_aux_dir in
2129 *\ * | *\ *)
2130 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2131 *)
2132 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2133 esac
2134 fi
2135 # Use eval to expand $SHELL
2136 if eval "$MISSING --is-lightweight"; then
2137 am_missing_run="$MISSING "
2138 else
2139 am_missing_run=
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2141 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2142 fi
2143
2144 if test x"${install_sh}" != xset; then
2145 case $am_aux_dir in
2146 *\ * | *\ *)
2147 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2148 *)
2149 install_sh="\${SHELL} $am_aux_dir/install-sh"
2150 esac
2151 fi
2152
2153 # Installed binaries are usually stripped using 'strip' when the user
2154 # run "make install-strip". However 'strip' might not be the right
2155 # tool to use in cross-compilation environments, therefore Automake
2156 # will honor the 'STRIP' environment variable to overrule this program.
2157 if test "$cross_compiling" != no; then
2158 if test -n "$ac_tool_prefix"; then
2159 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2160 set dummy ${ac_tool_prefix}strip; ac_word=$2
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2162 $as_echo_n "checking for $ac_word... " >&6; }
2163 if ${ac_cv_prog_STRIP+:} false; then :
2164 $as_echo_n "(cached) " >&6
2165 else
2166 if test -n "$STRIP"; then
2167 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2168 else
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 for as_dir in $PATH
2171 do
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 break 2
2179 fi
2180 done
2181 done
2182 IFS=$as_save_IFS
2183
2184 fi
2185 fi
2186 STRIP=$ac_cv_prog_STRIP
2187 if test -n "$STRIP"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2189 $as_echo "$STRIP" >&6; }
2190 else
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2192 $as_echo "no" >&6; }
2193 fi
2194
2195
2196 fi
2197 if test -z "$ac_cv_prog_STRIP"; then
2198 ac_ct_STRIP=$STRIP
2199 # Extract the first word of "strip", so it can be a program name with args.
2200 set dummy strip; ac_word=$2
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2202 $as_echo_n "checking for $ac_word... " >&6; }
2203 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2204 $as_echo_n "(cached) " >&6
2205 else
2206 if test -n "$ac_ct_STRIP"; then
2207 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2208 else
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2211 do
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_ac_ct_STRIP="strip"
2217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 break 2
2219 fi
2220 done
2221 done
2222 IFS=$as_save_IFS
2223
2224 fi
2225 fi
2226 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2227 if test -n "$ac_ct_STRIP"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2229 $as_echo "$ac_ct_STRIP" >&6; }
2230 else
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2232 $as_echo "no" >&6; }
2233 fi
2234
2235 if test "x$ac_ct_STRIP" = x; then
2236 STRIP=":"
2237 else
2238 case $cross_compiling:$ac_tool_warned in
2239 yes:)
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2242 ac_tool_warned=yes ;;
2243 esac
2244 STRIP=$ac_ct_STRIP
2245 fi
2246 else
2247 STRIP="$ac_cv_prog_STRIP"
2248 fi
2249
2250 fi
2251 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2252
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2254 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2255 if test -z "$MKDIR_P"; then
2256 if ${ac_cv_path_mkdir+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258 else
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2261 do
2262 IFS=$as_save_IFS
2263 test -z "$as_dir" && as_dir=.
2264 for ac_prog in mkdir gmkdir; do
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2267 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2268 'mkdir (GNU coreutils) '* | \
2269 'mkdir (coreutils) '* | \
2270 'mkdir (fileutils) '4.1*)
2271 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2272 break 3;;
2273 esac
2274 done
2275 done
2276 done
2277 IFS=$as_save_IFS
2278
2279 fi
2280
2281 test -d ./--version && rmdir ./--version
2282 if test "${ac_cv_path_mkdir+set}" = set; then
2283 MKDIR_P="$ac_cv_path_mkdir -p"
2284 else
2285 # As a last resort, use the slow shell script. Don't cache a
2286 # value for MKDIR_P within a source directory, because that will
2287 # break other packages using the cache if that directory is
2288 # removed, or if the value is a relative name.
2289 MKDIR_P="$ac_install_sh -d"
2290 fi
2291 fi
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2293 $as_echo "$MKDIR_P" >&6; }
2294
2295 for ac_prog in gawk mawk nawk awk
2296 do
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if ${ac_cv_prog_AWK+:} false; then :
2302 $as_echo_n "(cached) " >&6
2303 else
2304 if test -n "$AWK"; then
2305 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_AWK="$ac_prog"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2317 fi
2318 done
2319 done
2320 IFS=$as_save_IFS
2321
2322 fi
2323 fi
2324 AWK=$ac_cv_prog_AWK
2325 if test -n "$AWK"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2327 $as_echo "$AWK" >&6; }
2328 else
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2331 fi
2332
2333
2334 test -n "$AWK" && break
2335 done
2336
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2338 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2339 set x ${MAKE-make}
2340 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2341 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2342 $as_echo_n "(cached) " >&6
2343 else
2344 cat >conftest.make <<\_ACEOF
2345 SHELL = /bin/sh
2346 all:
2347 @echo '@@@%%%=$(MAKE)=@@@%%%'
2348 _ACEOF
2349 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2350 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2351 *@@@%%%=?*=@@@%%%*)
2352 eval ac_cv_prog_make_${ac_make}_set=yes;;
2353 *)
2354 eval ac_cv_prog_make_${ac_make}_set=no;;
2355 esac
2356 rm -f conftest.make
2357 fi
2358 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2360 $as_echo "yes" >&6; }
2361 SET_MAKE=
2362 else
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2365 SET_MAKE="MAKE=${MAKE-make}"
2366 fi
2367
2368 rm -rf .tst 2>/dev/null
2369 mkdir .tst 2>/dev/null
2370 if test -d .tst; then
2371 am__leading_dot=.
2372 else
2373 am__leading_dot=_
2374 fi
2375 rmdir .tst 2>/dev/null
2376
2377 # Check whether --enable-silent-rules was given.
2378 if test "${enable_silent_rules+set}" = set; then :
2379 enableval=$enable_silent_rules;
2380 fi
2381
2382 case $enable_silent_rules in # (((
2383 yes) AM_DEFAULT_VERBOSITY=0;;
2384 no) AM_DEFAULT_VERBOSITY=1;;
2385 *) AM_DEFAULT_VERBOSITY=1;;
2386 esac
2387 am_make=${MAKE-make}
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2389 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2390 if ${am_cv_make_support_nested_variables+:} false; then :
2391 $as_echo_n "(cached) " >&6
2392 else
2393 if $as_echo 'TRUE=$(BAR$(V))
2394 BAR0=false
2395 BAR1=true
2396 V=1
2397 am__doit:
2398 @$(TRUE)
2399 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2400 am_cv_make_support_nested_variables=yes
2401 else
2402 am_cv_make_support_nested_variables=no
2403 fi
2404 fi
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2406 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2407 if test $am_cv_make_support_nested_variables = yes; then
2408 AM_V='$(V)'
2409 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2410 else
2411 AM_V=$AM_DEFAULT_VERBOSITY
2412 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2413 fi
2414 AM_BACKSLASH='\'
2415
2416 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2417 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2418 # is not polluted with repeated "-I."
2419 am__isrc=' -I$(srcdir)'
2420 # test to see if srcdir already configured
2421 if test -f $srcdir/config.status; then
2422 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2423 fi
2424 fi
2425
2426 # test whether we have cygpath
2427 if test -z "$CYGPATH_W"; then
2428 if (cygpath --version) >/dev/null 2>/dev/null; then
2429 CYGPATH_W='cygpath -w'
2430 else
2431 CYGPATH_W=echo
2432 fi
2433 fi
2434
2435
2436 # Define the identity of the package.
2437 PACKAGE='obconf'
2438 VERSION='2.0.4'
2439
2440
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE "$PACKAGE"
2443 _ACEOF
2444
2445
2446 cat >>confdefs.h <<_ACEOF
2447 #define VERSION "$VERSION"
2448 _ACEOF
2449
2450 # Some tools Automake needs.
2451
2452 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2453
2454
2455 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2456
2457
2458 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2459
2460
2461 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2462
2463
2464 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2465
2466 # For better backward compatibility. To be removed once Automake 1.9.x
2467 # dies out for good. For more background, see:
2468 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2469 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2470 mkdir_p='$(MKDIR_P)'
2471
2472 # We need awk for the "check" target. The system "awk" is bad on
2473 # some platforms.
2474 # Always define AMTAR for backward compatibility. Yes, it's still used
2475 # in the wild :-( We should find a proper way to deprecate it ...
2476 AMTAR='$${TAR-tar}'
2477
2478
2479 # We'll loop over all known methods to create a tar archive until one works.
2480 _am_tools='gnutar pax cpio none'
2481
2482 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2483
2484
2485
2486
2487
2488
2489 # POSIX will say in a future version that running "rm -f" with no argument
2490 # is OK; and we want to be able to make that assumption in our Makefile
2491 # recipes. So use an aggressive probe to check that the usage we want is
2492 # actually supported "in the wild" to an acceptable degree.
2493 # See automake bug#10828.
2494 # To make any issue more visible, cause the running configure to be aborted
2495 # by default if the 'rm' program in use doesn't match our expectations; the
2496 # user can still override this though.
2497 if rm -f && rm -fr && rm -rf; then : OK; else
2498 cat >&2 <<'END'
2499 Oops!
2500
2501 Your 'rm' program seems unable to run without file operands specified
2502 on the command line, even when the '-f' option is present. This is contrary
2503 to the behaviour of most rm programs out there, and not conforming with
2504 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2505
2506 Please tell [email protected] about your system, including the value
2507 of your $PATH and any error possibly output before this message. This
2508 can help us improve future automake versions.
2509
2510 END
2511 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2512 echo 'Configuration will proceed anyway, since you have set the' >&2
2513 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2514 echo >&2
2515 else
2516 cat >&2 <<'END'
2517 Aborting the configuration process, to ensure you take notice of the issue.
2518
2519 You can download and install GNU coreutils to get an 'rm' implementation
2520 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2521
2522 If you want to complete the configuration process using your problematic
2523 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2524 to "yes", and re-run configure.
2525
2526 END
2527 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2528 fi
2529 fi
2530
2531
2532
2533
2534 test "$prefix" = "NONE" && prefix=$ac_default_prefix
2535
2536 # Pick compiler specific/build target flags, and set $CVS
2537 DEPDIR="${am__leading_dot}deps"
2538
2539 ac_config_commands="$ac_config_commands depfiles"
2540
2541
2542 am_make=${MAKE-make}
2543 cat > confinc << 'END'
2544 am__doit:
2545 @echo this is the am__doit target
2546 .PHONY: am__doit
2547 END
2548 # If we don't find an include directive, just comment out the code.
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2550 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2551 am__include="#"
2552 am__quote=
2553 _am_result=none
2554 # First try GNU make style include.
2555 echo "include confinc" > confmf
2556 # Ignore all kinds of additional output from 'make'.
2557 case `$am_make -s -f confmf 2> /dev/null` in #(
2558 *the\ am__doit\ target*)
2559 am__include=include
2560 am__quote=
2561 _am_result=GNU
2562 ;;
2563 esac
2564 # Now try BSD make style include.
2565 if test "$am__include" = "#"; then
2566 echo '.include "confinc"' > confmf
2567 case `$am_make -s -f confmf 2> /dev/null` in #(
2568 *the\ am__doit\ target*)
2569 am__include=.include
2570 am__quote="\""
2571 _am_result=BSD
2572 ;;
2573 esac
2574 fi
2575
2576
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2578 $as_echo "$_am_result" >&6; }
2579 rm -f confinc confmf
2580
2581 # Check whether --enable-dependency-tracking was given.
2582 if test "${enable_dependency_tracking+set}" = set; then :
2583 enableval=$enable_dependency_tracking;
2584 fi
2585
2586 if test "x$enable_dependency_tracking" != xno; then
2587 am_depcomp="$ac_aux_dir/depcomp"
2588 AMDEPBACKSLASH='\'
2589 am__nodep='_no'
2590 fi
2591 if test "x$enable_dependency_tracking" != xno; then
2592 AMDEP_TRUE=
2593 AMDEP_FALSE='#'
2594 else
2595 AMDEP_TRUE='#'
2596 AMDEP_FALSE=
2597 fi
2598
2599
2600 ac_ext=c
2601 ac_cpp='$CPP $CPPFLAGS'
2602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2605 if test -n "$ac_tool_prefix"; then
2606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if ${ac_cv_prog_CC+:} false; then :
2611 $as_echo_n "(cached) " >&6
2612 else
2613 if test -n "$CC"; then
2614 ac_cv_prog_CC="$CC" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2618 do
2619 IFS=$as_save_IFS
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 break 2
2626 fi
2627 done
2628 done
2629 IFS=$as_save_IFS
2630
2631 fi
2632 fi
2633 CC=$ac_cv_prog_CC
2634 if test -n "$CC"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636 $as_echo "$CC" >&6; }
2637 else
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2640 fi
2641
2642
2643 fi
2644 if test -z "$ac_cv_prog_CC"; then
2645 ac_ct_CC=$CC
2646 # Extract the first word of "gcc", so it can be a program name with args.
2647 set dummy gcc; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2651 $as_echo_n "(cached) " >&6
2652 else
2653 if test -n "$ac_ct_CC"; then
2654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2655 else
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH
2658 do
2659 IFS=$as_save_IFS
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_ac_ct_CC="gcc"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 break 2
2666 fi
2667 done
2668 done
2669 IFS=$as_save_IFS
2670
2671 fi
2672 fi
2673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2674 if test -n "$ac_ct_CC"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2676 $as_echo "$ac_ct_CC" >&6; }
2677 else
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2680 fi
2681
2682 if test "x$ac_ct_CC" = x; then
2683 CC=""
2684 else
2685 case $cross_compiling:$ac_tool_warned in
2686 yes:)
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689 ac_tool_warned=yes ;;
2690 esac
2691 CC=$ac_ct_CC
2692 fi
2693 else
2694 CC="$ac_cv_prog_CC"
2695 fi
2696
2697 if test -z "$CC"; then
2698 if test -n "$ac_tool_prefix"; then
2699 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2700 set dummy ${ac_tool_prefix}cc; ac_word=$2
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702 $as_echo_n "checking for $ac_word... " >&6; }
2703 if ${ac_cv_prog_CC+:} false; then :
2704 $as_echo_n "(cached) " >&6
2705 else
2706 if test -n "$CC"; then
2707 ac_cv_prog_CC="$CC" # Let the user override the test.
2708 else
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2710 for as_dir in $PATH
2711 do
2712 IFS=$as_save_IFS
2713 test -z "$as_dir" && as_dir=.
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716 ac_cv_prog_CC="${ac_tool_prefix}cc"
2717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 break 2
2719 fi
2720 done
2721 done
2722 IFS=$as_save_IFS
2723
2724 fi
2725 fi
2726 CC=$ac_cv_prog_CC
2727 if test -n "$CC"; then
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2729 $as_echo "$CC" >&6; }
2730 else
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732 $as_echo "no" >&6; }
2733 fi
2734
2735
2736 fi
2737 fi
2738 if test -z "$CC"; then
2739 # Extract the first word of "cc", so it can be a program name with args.
2740 set dummy cc; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if ${ac_cv_prog_CC+:} false; then :
2744 $as_echo_n "(cached) " >&6
2745 else
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2748 else
2749 ac_prog_rejected=no
2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751 for as_dir in $PATH
2752 do
2753 IFS=$as_save_IFS
2754 test -z "$as_dir" && as_dir=.
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2758 ac_prog_rejected=yes
2759 continue
2760 fi
2761 ac_cv_prog_CC="cc"
2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 break 2
2764 fi
2765 done
2766 done
2767 IFS=$as_save_IFS
2768
2769 if test $ac_prog_rejected = yes; then
2770 # We found a bogon in the path, so make sure we never use it.
2771 set dummy $ac_cv_prog_CC
2772 shift
2773 if test $# != 0; then
2774 # We chose a different compiler from the bogus one.
2775 # However, it has the same basename, so the bogon will be chosen
2776 # first if we set CC to just the basename; use the full file name.
2777 shift
2778 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2779 fi
2780 fi
2781 fi
2782 fi
2783 CC=$ac_cv_prog_CC
2784 if test -n "$CC"; then
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2786 $as_echo "$CC" >&6; }
2787 else
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 $as_echo "no" >&6; }
2790 fi
2791
2792
2793 fi
2794 if test -z "$CC"; then
2795 if test -n "$ac_tool_prefix"; then
2796 for ac_prog in cl.exe
2797 do
2798 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2799 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_CC+:} false; then :
2803 $as_echo_n "(cached) " >&6
2804 else
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC="$CC" # Let the user override the test.
2807 else
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 for as_dir in $PATH
2810 do
2811 IFS=$as_save_IFS
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 break 2
2818 fi
2819 done
2820 done
2821 IFS=$as_save_IFS
2822
2823 fi
2824 fi
2825 CC=$ac_cv_prog_CC
2826 if test -n "$CC"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2828 $as_echo "$CC" >&6; }
2829 else
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2832 fi
2833
2834
2835 test -n "$CC" && break
2836 done
2837 fi
2838 if test -z "$CC"; then
2839 ac_ct_CC=$CC
2840 for ac_prog in cl.exe
2841 do
2842 # Extract the first word of "$ac_prog", so it can be a program name with args.
2843 set dummy $ac_prog; ac_word=$2
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845 $as_echo_n "checking for $ac_word... " >&6; }
2846 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2847 $as_echo_n "(cached) " >&6
2848 else
2849 if test -n "$ac_ct_CC"; then
2850 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2851 else
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 for as_dir in $PATH
2854 do
2855 IFS=$as_save_IFS
2856 test -z "$as_dir" && as_dir=.
2857 for ac_exec_ext in '' $ac_executable_extensions; do
2858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_ac_ct_CC="$ac_prog"
2860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 break 2
2862 fi
2863 done
2864 done
2865 IFS=$as_save_IFS
2866
2867 fi
2868 fi
2869 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2870 if test -n "$ac_ct_CC"; then
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2872 $as_echo "$ac_ct_CC" >&6; }
2873 else
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2876 fi
2877
2878
2879 test -n "$ac_ct_CC" && break
2880 done
2881
2882 if test "x$ac_ct_CC" = x; then
2883 CC=""
2884 else
2885 case $cross_compiling:$ac_tool_warned in
2886 yes:)
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2889 ac_tool_warned=yes ;;
2890 esac
2891 CC=$ac_ct_CC
2892 fi
2893 fi
2894
2895 fi
2896
2897
2898 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900 as_fn_error $? "no acceptable C compiler found in \$PATH
2901 See \`config.log' for more details" "$LINENO" 5; }
2902
2903 # Provide some information about the compiler.
2904 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2905 set X $ac_compile
2906 ac_compiler=$2
2907 for ac_option in --version -v -V -qversion; do
2908 { { ac_try="$ac_compiler $ac_option >&5"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2916 ac_status=$?
2917 if test -s conftest.err; then
2918 sed '10a\
2919 ... rest of stderr output deleted ...
2920 10q' conftest.err >conftest.er1
2921 cat conftest.er1 >&5
2922 fi
2923 rm -f conftest.er1 conftest.err
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; }
2926 done
2927
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2930
2931 int
2932 main ()
2933 {
2934
2935 ;
2936 return 0;
2937 }
2938 _ACEOF
2939 ac_clean_files_save=$ac_clean_files
2940 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2941 # Try to create an executable without -o first, disregard a.out.
2942 # It will help us diagnose broken compilers, and finding out an intuition
2943 # of exeext.
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2945 $as_echo_n "checking whether the C compiler works... " >&6; }
2946 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2947
2948 # The possible output files:
2949 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2950
2951 ac_rmfiles=
2952 for ac_file in $ac_files
2953 do
2954 case $ac_file in
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2956 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2957 esac
2958 done
2959 rm -f $ac_rmfiles
2960
2961 if { { ac_try="$ac_link_default"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2967 $as_echo "$ac_try_echo"; } >&5
2968 (eval "$ac_link_default") 2>&5
2969 ac_status=$?
2970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971 test $ac_status = 0; }; then :
2972 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2973 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2974 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2975 # so that the user can short-circuit this test for compilers unknown to
2976 # Autoconf.
2977 for ac_file in $ac_files ''
2978 do
2979 test -f "$ac_file" || continue
2980 case $ac_file in
2981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2982 ;;
2983 [ab].out )
2984 # We found the default executable, but exeext='' is most
2985 # certainly right.
2986 break;;
2987 *.* )
2988 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2989 then :; else
2990 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2991 fi
2992 # We set ac_cv_exeext here because the later test for it is not
2993 # safe: cross compilers may not add the suffix if given an `-o'
2994 # argument, so we may need to know it at that point already.
2995 # Even if this section looks crufty: it has the advantage of
2996 # actually working.
2997 break;;
2998 * )
2999 break;;
3000 esac
3001 done
3002 test "$ac_cv_exeext" = no && ac_cv_exeext=
3003
3004 else
3005 ac_file=''
3006 fi
3007 if test -z "$ac_file"; then :
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3010 $as_echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3012
3013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error 77 "C compiler cannot create executables
3016 See \`config.log' for more details" "$LINENO" 5; }
3017 else
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3019 $as_echo "yes" >&6; }
3020 fi
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3022 $as_echo_n "checking for C compiler default output file name... " >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3024 $as_echo "$ac_file" >&6; }
3025 ac_exeext=$ac_cv_exeext
3026
3027 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3028 ac_clean_files=$ac_clean_files_save
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3030 $as_echo_n "checking for suffix of executables... " >&6; }
3031 if { { ac_try="$ac_link"
3032 case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035 esac
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_link") 2>&5
3039 ac_status=$?
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; then :
3042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3044 # work properly (i.e., refer to `conftest.exe'), while it won't with
3045 # `rm'.
3046 for ac_file in conftest.exe conftest conftest.*; do
3047 test -f "$ac_file" || continue
3048 case $ac_file in
3049 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3050 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3051 break;;
3052 * ) break;;
3053 esac
3054 done
3055 else
3056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3059 See \`config.log' for more details" "$LINENO" 5; }
3060 fi
3061 rm -f conftest conftest$ac_cv_exeext
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3063 $as_echo "$ac_cv_exeext" >&6; }
3064
3065 rm -f conftest.$ac_ext
3066 EXEEXT=$ac_cv_exeext
3067 ac_exeext=$EXEEXT
3068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3069 /* end confdefs.h. */
3070 #include <stdio.h>
3071 int
3072 main ()
3073 {
3074 FILE *f = fopen ("conftest.out", "w");
3075 return ferror (f) || fclose (f) != 0;
3076
3077 ;
3078 return 0;
3079 }
3080 _ACEOF
3081 ac_clean_files="$ac_clean_files conftest.out"
3082 # Check that the compiler produces executables we can run. If not, either
3083 # the compiler is broken, or we cross compile.
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3085 $as_echo_n "checking whether we are cross compiling... " >&6; }
3086 if test "$cross_compiling" != yes; then
3087 { { ac_try="$ac_link"
3088 case "(($ac_try" in
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3091 esac
3092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_link") 2>&5
3095 ac_status=$?
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; }
3098 if { ac_try='./conftest$ac_cv_exeext'
3099 { { case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3102 esac
3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104 $as_echo "$ac_try_echo"; } >&5
3105 (eval "$ac_try") 2>&5
3106 ac_status=$?
3107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108 test $ac_status = 0; }; }; then
3109 cross_compiling=no
3110 else
3111 if test "$cross_compiling" = maybe; then
3112 cross_compiling=yes
3113 else
3114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3116 as_fn_error $? "cannot run C compiled programs.
3117 If you meant to cross compile, use \`--host'.
3118 See \`config.log' for more details" "$LINENO" 5; }
3119 fi
3120 fi
3121 fi
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3123 $as_echo "$cross_compiling" >&6; }
3124
3125 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3126 ac_clean_files=$ac_clean_files_save
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3128 $as_echo_n "checking for suffix of object files... " >&6; }
3129 if ${ac_cv_objext+:} false; then :
3130 $as_echo_n "(cached) " >&6
3131 else
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3134
3135 int
3136 main ()
3137 {
3138
3139 ;
3140 return 0;
3141 }
3142 _ACEOF
3143 rm -f conftest.o conftest.obj
3144 if { { ac_try="$ac_compile"
3145 case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3148 esac
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_compile") 2>&5
3152 ac_status=$?
3153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3154 test $ac_status = 0; }; then :
3155 for ac_file in conftest.o conftest.obj conftest.*; do
3156 test -f "$ac_file" || continue;
3157 case $ac_file in
3158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3159 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3160 break;;
3161 esac
3162 done
3163 else
3164 $as_echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3166
3167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 as_fn_error $? "cannot compute suffix of object files: cannot compile
3170 See \`config.log' for more details" "$LINENO" 5; }
3171 fi
3172 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3173 fi
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3175 $as_echo "$ac_cv_objext" >&6; }
3176 OBJEXT=$ac_cv_objext
3177 ac_objext=$OBJEXT
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3179 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3180 if ${ac_cv_c_compiler_gnu+:} false; then :
3181 $as_echo_n "(cached) " >&6
3182 else
3183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184 /* end confdefs.h. */
3185
3186 int
3187 main ()
3188 {
3189 #ifndef __GNUC__
3190 choke me
3191 #endif
3192
3193 ;
3194 return 0;
3195 }
3196 _ACEOF
3197 if ac_fn_c_try_compile "$LINENO"; then :
3198 ac_compiler_gnu=yes
3199 else
3200 ac_compiler_gnu=no
3201 fi
3202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3203 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3204
3205 fi
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3207 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3208 if test $ac_compiler_gnu = yes; then
3209 GCC=yes
3210 else
3211 GCC=
3212 fi
3213 ac_test_CFLAGS=${CFLAGS+set}
3214 ac_save_CFLAGS=$CFLAGS
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3216 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3217 if ${ac_cv_prog_cc_g+:} false; then :
3218 $as_echo_n "(cached) " >&6
3219 else
3220 ac_save_c_werror_flag=$ac_c_werror_flag
3221 ac_c_werror_flag=yes
3222 ac_cv_prog_cc_g=no
3223 CFLAGS="-g"
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3226
3227 int
3228 main ()
3229 {
3230
3231 ;
3232 return 0;
3233 }
3234 _ACEOF
3235 if ac_fn_c_try_compile "$LINENO"; then :
3236 ac_cv_prog_cc_g=yes
3237 else
3238 CFLAGS=""
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3241
3242 int
3243 main ()
3244 {
3245
3246 ;
3247 return 0;
3248 }
3249 _ACEOF
3250 if ac_fn_c_try_compile "$LINENO"; then :
3251
3252 else
3253 ac_c_werror_flag=$ac_save_c_werror_flag
3254 CFLAGS="-g"
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3257
3258 int
3259 main ()
3260 {
3261
3262 ;
3263 return 0;
3264 }
3265 _ACEOF
3266 if ac_fn_c_try_compile "$LINENO"; then :
3267 ac_cv_prog_cc_g=yes
3268 fi
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 fi
3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272 fi
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_c_werror_flag=$ac_save_c_werror_flag
3275 fi
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3277 $as_echo "$ac_cv_prog_cc_g" >&6; }
3278 if test "$ac_test_CFLAGS" = set; then
3279 CFLAGS=$ac_save_CFLAGS
3280 elif test $ac_cv_prog_cc_g = yes; then
3281 if test "$GCC" = yes; then
3282 CFLAGS="-g -O2"
3283 else
3284 CFLAGS="-g"
3285 fi
3286 else
3287 if test "$GCC" = yes; then
3288 CFLAGS="-O2"
3289 else
3290 CFLAGS=
3291 fi
3292 fi
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3294 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3295 if ${ac_cv_prog_cc_c89+:} false; then :
3296 $as_echo_n "(cached) " >&6
3297 else
3298 ac_cv_prog_cc_c89=no
3299 ac_save_CC=$CC
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3302 #include <stdarg.h>
3303 #include <stdio.h>
3304 struct stat;
3305 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3306 struct buf { int x; };
3307 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3308 static char *e (p, i)
3309 char **p;
3310 int i;
3311 {
3312 return p[i];
3313 }
3314 static char *f (char * (*g) (char **, int), char **p, ...)
3315 {
3316 char *s;
3317 va_list v;
3318 va_start (v,p);
3319 s = g (p, va_arg (v,int));
3320 va_end (v);
3321 return s;
3322 }
3323
3324 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3325 function prototypes and stuff, but not '\xHH' hex character constants.
3326 These don't provoke an error unfortunately, instead are silently treated
3327 as 'x'. The following induces an error, until -std is added to get
3328 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3329 array size at least. It's necessary to write '\x00'==0 to get something
3330 that's true only with -std. */
3331 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3332
3333 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3334 inside strings and character constants. */
3335 #define FOO(x) 'x'
3336 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3337
3338 int test (int i, double x);
3339 struct s1 {int (*f) (int a);};
3340 struct s2 {int (*f) (double a);};
3341 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3342 int argc;
3343 char **argv;
3344 int
3345 main ()
3346 {
3347 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3348 ;
3349 return 0;
3350 }
3351 _ACEOF
3352 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3353 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3354 do
3355 CC="$ac_save_CC $ac_arg"
3356 if ac_fn_c_try_compile "$LINENO"; then :
3357 ac_cv_prog_cc_c89=$ac_arg
3358 fi
3359 rm -f core conftest.err conftest.$ac_objext
3360 test "x$ac_cv_prog_cc_c89" != "xno" && break
3361 done
3362 rm -f conftest.$ac_ext
3363 CC=$ac_save_CC
3364
3365 fi
3366 # AC_CACHE_VAL
3367 case "x$ac_cv_prog_cc_c89" in
3368 x)
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3370 $as_echo "none needed" >&6; } ;;
3371 xno)
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3373 $as_echo "unsupported" >&6; } ;;
3374 *)
3375 CC="$CC $ac_cv_prog_cc_c89"
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3377 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3378 esac
3379 if test "x$ac_cv_prog_cc_c89" != xno; then :
3380
3381 fi
3382
3383 ac_ext=c
3384 ac_cpp='$CPP $CPPFLAGS'
3385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3388
3389 ac_ext=c
3390 ac_cpp='$CPP $CPPFLAGS'
3391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3395 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3396 if ${am_cv_prog_cc_c_o+:} false; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3401
3402 int
3403 main ()
3404 {
3405
3406 ;
3407 return 0;
3408 }
3409 _ACEOF
3410 # Make sure it works both with $CC and with simple cc.
3411 # Following AC_PROG_CC_C_O, we do the test twice because some
3412 # compilers refuse to overwrite an existing .o file with -o,
3413 # though they will create one.
3414 am_cv_prog_cc_c_o=yes
3415 for am_i in 1 2; do
3416 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3417 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3418 ac_status=$?
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } \
3421 && test -f conftest2.$ac_objext; then
3422 : OK
3423 else
3424 am_cv_prog_cc_c_o=no
3425 break
3426 fi
3427 done
3428 rm -f core conftest*
3429 unset am_i
3430 fi
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3432 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3433 if test "$am_cv_prog_cc_c_o" != yes; then
3434 # Losing compiler, so override with the script.
3435 # FIXME: It is wrong to rewrite CC.
3436 # But if we don't then we get into trouble of one sort or another.
3437 # A longer-term fix would be to have automake use am__CC in this case,
3438 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3439 CC="$am_aux_dir/compile $CC"
3440 fi
3441 ac_ext=c
3442 ac_cpp='$CPP $CPPFLAGS'
3443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446
3447
3448 depcc="$CC" am_compiler_list=
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3451 $as_echo_n "checking dependency style of $depcc... " >&6; }
3452 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3453 $as_echo_n "(cached) " >&6
3454 else
3455 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3456 # We make a subdir and do the tests there. Otherwise we can end up
3457 # making bogus files that we don't know about and never remove. For
3458 # instance it was reported that on HP-UX the gcc test will end up
3459 # making a dummy file named 'D' -- because '-MD' means "put the output
3460 # in D".
3461 rm -rf conftest.dir
3462 mkdir conftest.dir
3463 # Copy depcomp to subdir because otherwise we won't find it if we're
3464 # using a relative directory.
3465 cp "$am_depcomp" conftest.dir
3466 cd conftest.dir
3467 # We will build objects and dependencies in a subdirectory because
3468 # it helps to detect inapplicable dependency modes. For instance
3469 # both Tru64's cc and ICC support -MD to output dependencies as a
3470 # side effect of compilation, but ICC will put the dependencies in
3471 # the current directory while Tru64 will put them in the object
3472 # directory.
3473 mkdir sub
3474
3475 am_cv_CC_dependencies_compiler_type=none
3476 if test "$am_compiler_list" = ""; then
3477 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3478 fi
3479 am__universal=false
3480 case " $depcc " in #(
3481 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3482 esac
3483
3484 for depmode in $am_compiler_list; do
3485 # Setup a source with many dependencies, because some compilers
3486 # like to wrap large dependency lists on column 80 (with \), and
3487 # we should not choose a depcomp mode which is confused by this.
3488 #
3489 # We need to recreate these files for each test, as the compiler may
3490 # overwrite some of them when testing with obscure command lines.
3491 # This happens at least with the AIX C compiler.
3492 : > sub/conftest.c
3493 for i in 1 2 3 4 5 6; do
3494 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3495 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3496 # Solaris 10 /bin/sh.
3497 echo '/* dummy */' > sub/conftst$i.h
3498 done
3499 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3500
3501 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3502 # mode. It turns out that the SunPro C++ compiler does not properly
3503 # handle '-M -o', and we need to detect this. Also, some Intel
3504 # versions had trouble with output in subdirs.
3505 am__obj=sub/conftest.${OBJEXT-o}
3506 am__minus_obj="-o $am__obj"
3507 case $depmode in
3508 gcc)
3509 # This depmode causes a compiler race in universal mode.
3510 test "$am__universal" = false || continue
3511 ;;
3512 nosideeffect)
3513 # After this tag, mechanisms are not by side-effect, so they'll
3514 # only be used when explicitly requested.
3515 if test "x$enable_dependency_tracking" = xyes; then
3516 continue
3517 else
3518 break
3519 fi
3520 ;;
3521 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3522 # This compiler won't grok '-c -o', but also, the minuso test has
3523 # not run yet. These depmodes are late enough in the game, and
3524 # so weak that their functioning should not be impacted.
3525 am__obj=conftest.${OBJEXT-o}
3526 am__minus_obj=
3527 ;;
3528 none) break ;;
3529 esac
3530 if depmode=$depmode \
3531 source=sub/conftest.c object=$am__obj \
3532 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3533 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3534 >/dev/null 2>conftest.err &&
3535 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3536 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3537 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3538 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3539 # icc doesn't choke on unknown options, it will just issue warnings
3540 # or remarks (even with -Werror). So we grep stderr for any message
3541 # that says an option was ignored or not supported.
3542 # When given -MP, icc 7.0 and 7.1 complain thusly:
3543 # icc: Command line warning: ignoring option '-M'; no argument required
3544 # The diagnosis changed in icc 8.0:
3545 # icc: Command line remark: option '-MP' not supported
3546 if (grep 'ignoring option' conftest.err ||
3547 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3548 am_cv_CC_dependencies_compiler_type=$depmode
3549 break
3550 fi
3551 fi
3552 done
3553
3554 cd ..
3555 rm -rf conftest.dir
3556 else
3557 am_cv_CC_dependencies_compiler_type=none
3558 fi
3559
3560 fi
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3562 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3563 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3564
3565 if
3566 test "x$enable_dependency_tracking" != xno \
3567 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3568 am__fastdepCC_TRUE=
3569 am__fastdepCC_FALSE='#'
3570 else
3571 am__fastdepCC_TRUE='#'
3572 am__fastdepCC_FALSE=
3573 fi
3574
3575
3576
3577
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3579 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3580 if ${ac_cv_c_const+:} false; then :
3581 $as_echo_n "(cached) " >&6
3582 else
3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3585
3586 int
3587 main ()
3588 {
3589
3590 #ifndef __cplusplus
3591 /* Ultrix mips cc rejects this sort of thing. */
3592 typedef int charset[2];
3593 const charset cs = { 0, 0 };
3594 /* SunOS 4.1.1 cc rejects this. */
3595 char const *const *pcpcc;
3596 char **ppc;
3597 /* NEC SVR4.0.2 mips cc rejects this. */
3598 struct point {int x, y;};
3599 static struct point const zero = {0,0};
3600 /* AIX XL C 1.02.0.0 rejects this.
3601 It does not let you subtract one const X* pointer from another in
3602 an arm of an if-expression whose if-part is not a constant
3603 expression */
3604 const char *g = "string";
3605 pcpcc = &g + (g ? g-g : 0);
3606 /* HPUX 7.0 cc rejects these. */
3607 ++pcpcc;
3608 ppc = (char**) pcpcc;
3609 pcpcc = (char const *const *) ppc;
3610 { /* SCO 3.2v4 cc rejects this sort of thing. */
3611 char tx;
3612 char *t = &tx;
3613 char const *s = 0 ? (char *) 0 : (char const *) 0;
3614
3615 *t++ = 0;
3616 if (s) return 0;
3617 }
3618 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3619 int x[] = {25, 17};
3620 const int *foo = &x[0];
3621 ++foo;
3622 }
3623 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3624 typedef const int *iptr;
3625 iptr p = 0;
3626 ++p;
3627 }
3628 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
3629 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3630 struct s { int j; const int *ap[3]; } bx;
3631 struct s *b = &bx; b->j = 5;
3632 }
3633 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3634 const int foo = 10;
3635 if (!foo) return 0;
3636 }
3637 return !cs[0] && !zero.x;
3638 #endif
3639
3640 ;
3641 return 0;
3642 }
3643 _ACEOF
3644 if ac_fn_c_try_compile "$LINENO"; then :
3645 ac_cv_c_const=yes
3646 else
3647 ac_cv_c_const=no
3648 fi
3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650 fi
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3652 $as_echo "$ac_cv_c_const" >&6; }
3653 if test $ac_cv_c_const = no; then
3654
3655 $as_echo "#define const /**/" >>confdefs.h
3656
3657 fi
3658
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3660 $as_echo_n "checking for inline... " >&6; }
3661 if ${ac_cv_c_inline+:} false; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 ac_cv_c_inline=no
3665 for ac_kw in inline __inline__ __inline; do
3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3668 #ifndef __cplusplus
3669 typedef int foo_t;
3670 static $ac_kw foo_t static_foo () {return 0; }
3671 $ac_kw foo_t foo () {return 0; }
3672 #endif
3673
3674 _ACEOF
3675 if ac_fn_c_try_compile "$LINENO"; then :
3676 ac_cv_c_inline=$ac_kw
3677 fi
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3679 test "$ac_cv_c_inline" != no && break
3680 done
3681
3682 fi
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3684 $as_echo "$ac_cv_c_inline" >&6; }
3685
3686 case $ac_cv_c_inline in
3687 inline | yes) ;;
3688 *)
3689 case $ac_cv_c_inline in
3690 no) ac_val=;;
3691 *) ac_val=$ac_cv_c_inline;;
3692 esac
3693 cat >>confdefs.h <<_ACEOF
3694 #ifndef __cplusplus
3695 #define inline $ac_val
3696 #endif
3697 _ACEOF
3698 ;;
3699 esac
3700
3701
3702
3703
3704
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra flags needed to export symbols" >&5
3706 $as_echo_n "checking for extra flags needed to export symbols... " >&6; }
3707 case $host_os in
3708 aix4*|aix5*)
3709 EXPORT_DYNAMIC_FLAGS="-Wl,-bexpall,-brtl"
3710 ;;
3711 bsdi*)
3712 EXPORT_DYNAMIC_FLAGS="-rdynamic"
3713 ;;
3714 *)
3715 save_ldflags="$LDFLAGS"
3716 LDFLAGS=-Wl,-export-dynamic
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3719
3720 int
3721 main ()
3722 {
3723
3724 ;
3725 return 0;
3726 }
3727 _ACEOF
3728 if ac_fn_c_try_link "$LINENO"; then :
3729 EXPORT_DYNAMIC_FLAGS="-Wl,-export-dynamic"
3730 else
3731
3732 LDFLAGS=-Wl,-Bexport
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3735
3736 int
3737 main ()
3738 {
3739
3740 ;
3741 return 0;
3742 }
3743 _ACEOF
3744 if ac_fn_c_try_link "$LINENO"; then :
3745 EXPORT_DYNAMIC_FLAGS="- Wl,-Bexport"
3746 else
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
3748 $as_echo "none" >&6; }
3749 fi
3750 rm -f core conftest.err conftest.$ac_objext \
3751 conftest$ac_exeext conftest.$ac_ext
3752
3753
3754 fi
3755 rm -f core conftest.err conftest.$ac_objext \
3756 conftest$ac_exeext conftest.$ac_ext
3757 LDFLAGS="$save_ldflags"
3758 ;;
3759 esac
3760
3761 test "x$EXPORT_DYNAMIC_FLAGS" != x && { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPORT_DYNAMIC_FLAGS" >&5
3762 $as_echo "$EXPORT_DYNAMIC_FLAGS" >&6; }
3763
3764 LDFLAGS="$LDFLAGS $EXPORT_DYNAMIC_FLAGS"
3765
3766
3767
3768 mkdir_p="$MKDIR_P"
3769 case $mkdir_p in
3770 [\\/$]* | ?:[\\/]*) ;;
3771 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3772 esac
3773
3774
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3776 $as_echo_n "checking whether NLS is requested... " >&6; }
3777 # Check whether --enable-nls was given.
3778 if test "${enable_nls+set}" = set; then :
3779 enableval=$enable_nls; USE_NLS=$enableval
3780 else
3781 USE_NLS=yes
3782 fi
3783
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3785 $as_echo "$USE_NLS" >&6; }
3786
3787
3788
3789
3790
3791
3792 # Prepare PATH_SEPARATOR.
3793 # The user is always right.
3794 if test "${PATH_SEPARATOR+set}" != set; then
3795 echo "#! /bin/sh" >conf$$.sh
3796 echo "exit 0" >>conf$$.sh
3797 chmod +x conf$$.sh
3798 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3799 PATH_SEPARATOR=';'
3800 else
3801 PATH_SEPARATOR=:
3802 fi
3803 rm -f conf$$.sh
3804 fi
3805
3806 # Find out how to test for executable files. Don't use a zero-byte file,
3807 # as systems may use methods other than mode bits to determine executability.
3808 cat >conf$$.file <<_ASEOF
3809 #! /bin/sh
3810 exit 0
3811 _ASEOF
3812 chmod +x conf$$.file
3813 if test -x conf$$.file >/dev/null 2>&1; then
3814 ac_executable_p="test -x"
3815 else
3816 ac_executable_p="test -f"
3817 fi
3818 rm -f conf$$.file
3819
3820 # Extract the first word of "msgfmt", so it can be a program name with args.
3821 set dummy msgfmt; ac_word=$2
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823 $as_echo_n "checking for $ac_word... " >&6; }
3824 if ${ac_cv_path_MSGFMT+:} false; then :
3825 $as_echo_n "(cached) " >&6
3826 else
3827 case "$MSGFMT" in
3828 [\\/]* | ?:[\\/]*)
3829 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3830 ;;
3831 *)
3832 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3833 for ac_dir in $PATH; do
3834 IFS="$ac_save_IFS"
3835 test -z "$ac_dir" && ac_dir=.
3836 for ac_exec_ext in '' $ac_executable_extensions; do
3837 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3838 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3839 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3840 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3841 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3842 break 2
3843 fi
3844 fi
3845 done
3846 done
3847 IFS="$ac_save_IFS"
3848 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3849 ;;
3850 esac
3851 fi
3852 MSGFMT="$ac_cv_path_MSGFMT"
3853 if test "$MSGFMT" != ":"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3855 $as_echo "$MSGFMT" >&6; }
3856 else
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3859 fi
3860
3861 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3862 set dummy gmsgfmt; ac_word=$2
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3864 $as_echo_n "checking for $ac_word... " >&6; }
3865 if ${ac_cv_path_GMSGFMT+:} false; then :
3866 $as_echo_n "(cached) " >&6
3867 else
3868 case $GMSGFMT in
3869 [\\/]* | ?:[\\/]*)
3870 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3871 ;;
3872 *)
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3875 do
3876 IFS=$as_save_IFS
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 break 2
3883 fi
3884 done
3885 done
3886 IFS=$as_save_IFS
3887
3888 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3889 ;;
3890 esac
3891 fi
3892 GMSGFMT=$ac_cv_path_GMSGFMT
3893 if test -n "$GMSGFMT"; then
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3895 $as_echo "$GMSGFMT" >&6; }
3896 else
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3899 fi
3900
3901
3902
3903 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3904 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3905 *) MSGFMT_015=$MSGFMT ;;
3906 esac
3907
3908 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3909 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3910 *) GMSGFMT_015=$GMSGFMT ;;
3911 esac
3912
3913
3914
3915 # Prepare PATH_SEPARATOR.
3916 # The user is always right.
3917 if test "${PATH_SEPARATOR+set}" != set; then
3918 echo "#! /bin/sh" >conf$$.sh
3919 echo "exit 0" >>conf$$.sh
3920 chmod +x conf$$.sh
3921 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3922 PATH_SEPARATOR=';'
3923 else
3924 PATH_SEPARATOR=:
3925 fi
3926 rm -f conf$$.sh
3927 fi
3928
3929 # Find out how to test for executable files. Don't use a zero-byte file,
3930 # as systems may use methods other than mode bits to determine executability.
3931 cat >conf$$.file <<_ASEOF
3932 #! /bin/sh
3933 exit 0
3934 _ASEOF
3935 chmod +x conf$$.file
3936 if test -x conf$$.file >/dev/null 2>&1; then
3937 ac_executable_p="test -x"
3938 else
3939 ac_executable_p="test -f"
3940 fi
3941 rm -f conf$$.file
3942
3943 # Extract the first word of "xgettext", so it can be a program name with args.
3944 set dummy xgettext; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_path_XGETTEXT+:} false; then :
3948 $as_echo_n "(cached) " >&6
3949 else
3950 case "$XGETTEXT" in
3951 [\\/]* | ?:[\\/]*)
3952 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3953 ;;
3954 *)
3955 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3956 for ac_dir in $PATH; do
3957 IFS="$ac_save_IFS"
3958 test -z "$ac_dir" && ac_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3961 echo "$as_me: trying $ac_dir/$ac_word..." >&5
3962 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3963 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3964 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3965 break 2
3966 fi
3967 fi
3968 done
3969 done
3970 IFS="$ac_save_IFS"
3971 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3972 ;;
3973 esac
3974 fi
3975 XGETTEXT="$ac_cv_path_XGETTEXT"
3976 if test "$XGETTEXT" != ":"; then
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3978 $as_echo "$XGETTEXT" >&6; }
3979 else
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3981 $as_echo "no" >&6; }
3982 fi
3983
3984 rm -f messages.po
3985
3986 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3987 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3988 *) XGETTEXT_015=$XGETTEXT ;;
3989 esac
3990
3991
3992
3993 # Prepare PATH_SEPARATOR.
3994 # The user is always right.
3995 if test "${PATH_SEPARATOR+set}" != set; then
3996 echo "#! /bin/sh" >conf$$.sh
3997 echo "exit 0" >>conf$$.sh
3998 chmod +x conf$$.sh
3999 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4000 PATH_SEPARATOR=';'
4001 else
4002 PATH_SEPARATOR=:
4003 fi
4004 rm -f conf$$.sh
4005 fi
4006
4007 # Find out how to test for executable files. Don't use a zero-byte file,
4008 # as systems may use methods other than mode bits to determine executability.
4009 cat >conf$$.file <<_ASEOF
4010 #! /bin/sh
4011 exit 0
4012 _ASEOF
4013 chmod +x conf$$.file
4014 if test -x conf$$.file >/dev/null 2>&1; then
4015 ac_executable_p="test -x"
4016 else
4017 ac_executable_p="test -f"
4018 fi
4019 rm -f conf$$.file
4020
4021 # Extract the first word of "msgmerge", so it can be a program name with args.
4022 set dummy msgmerge; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_path_MSGMERGE+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 case "$MSGMERGE" in
4029 [\\/]* | ?:[\\/]*)
4030 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4031 ;;
4032 *)
4033 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4034 for ac_dir in $PATH; do
4035 IFS="$ac_save_IFS"
4036 test -z "$ac_dir" && ac_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4039 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4040 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4041 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4042 break 2
4043 fi
4044 fi
4045 done
4046 done
4047 IFS="$ac_save_IFS"
4048 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4049 ;;
4050 esac
4051 fi
4052 MSGMERGE="$ac_cv_path_MSGMERGE"
4053 if test "$MSGMERGE" != ":"; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4055 $as_echo "$MSGMERGE" >&6; }
4056 else
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4058 $as_echo "no" >&6; }
4059 fi
4060
4061
4062 test -n "$localedir" || localedir='${datadir}/locale'
4063
4064
4065 ac_config_commands="$ac_config_commands po-directories"
4066
4067
4068
4069 if test "X$prefix" = "XNONE"; then
4070 acl_final_prefix="$ac_default_prefix"
4071 else
4072 acl_final_prefix="$prefix"
4073 fi
4074 if test "X$exec_prefix" = "XNONE"; then
4075 acl_final_exec_prefix='${prefix}'
4076 else
4077 acl_final_exec_prefix="$exec_prefix"
4078 fi
4079 acl_save_prefix="$prefix"
4080 prefix="$acl_final_prefix"
4081 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4082 prefix="$acl_save_prefix"
4083
4084 # Make sure we can run config.sub.
4085 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4086 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4087
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4089 $as_echo_n "checking build system type... " >&6; }
4090 if ${ac_cv_build+:} false; then :
4091 $as_echo_n "(cached) " >&6
4092 else
4093 ac_build_alias=$build_alias
4094 test "x$ac_build_alias" = x &&
4095 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4096 test "x$ac_build_alias" = x &&
4097 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4098 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4099 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4100
4101 fi
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4103 $as_echo "$ac_cv_build" >&6; }
4104 case $ac_cv_build in
4105 *-*-*) ;;
4106 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4107 esac
4108 build=$ac_cv_build
4109 ac_save_IFS=$IFS; IFS='-'
4110 set x $ac_cv_build
4111 shift
4112 build_cpu=$1
4113 build_vendor=$2
4114 shift; shift
4115 # Remember, the first character of IFS is used to create $*,
4116 # except with old shells:
4117 build_os=$*
4118 IFS=$ac_save_IFS
4119 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4120
4121
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4123 $as_echo_n "checking host system type... " >&6; }
4124 if ${ac_cv_host+:} false; then :
4125 $as_echo_n "(cached) " >&6
4126 else
4127 if test "x$host_alias" = x; then
4128 ac_cv_host=$ac_cv_build
4129 else
4130 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4131 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4132 fi
4133
4134 fi
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4136 $as_echo "$ac_cv_host" >&6; }
4137 case $ac_cv_host in
4138 *-*-*) ;;
4139 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4140 esac
4141 host=$ac_cv_host
4142 ac_save_IFS=$IFS; IFS='-'
4143 set x $ac_cv_host
4144 shift
4145 host_cpu=$1
4146 host_vendor=$2
4147 shift; shift
4148 # Remember, the first character of IFS is used to create $*,
4149 # except with old shells:
4150 host_os=$*
4151 IFS=$ac_save_IFS
4152 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4153
4154
4155
4156 # Check whether --with-gnu-ld was given.
4157 if test "${with_gnu_ld+set}" = set; then :
4158 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4159 else
4160 with_gnu_ld=no
4161 fi
4162
4163 # Prepare PATH_SEPARATOR.
4164 # The user is always right.
4165 if test "${PATH_SEPARATOR+set}" != set; then
4166 echo "#! /bin/sh" >conf$$.sh
4167 echo "exit 0" >>conf$$.sh
4168 chmod +x conf$$.sh
4169 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4170 PATH_SEPARATOR=';'
4171 else
4172 PATH_SEPARATOR=:
4173 fi
4174 rm -f conf$$.sh
4175 fi
4176 ac_prog=ld
4177 if test "$GCC" = yes; then
4178 # Check if gcc -print-prog-name=ld gives a path.
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4180 $as_echo_n "checking for ld used by GCC... " >&6; }
4181 case $host in
4182 *-*-mingw*)
4183 # gcc leaves a trailing carriage return which upsets mingw
4184 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4185 *)
4186 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4187 esac
4188 case $ac_prog in
4189 # Accept absolute paths.
4190 [\\/]* | [A-Za-z]:[\\/]*)
4191 re_direlt='/[^/][^/]*/\.\./'
4192 # Canonicalize the path of ld
4193 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4194 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4195 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4196 done
4197 test -z "$LD" && LD="$ac_prog"
4198 ;;
4199 "")
4200 # If it fails, then pretend we aren't using GCC.
4201 ac_prog=ld
4202 ;;
4203 *)
4204 # If it is relative, then search for the first ld in PATH.
4205 with_gnu_ld=unknown
4206 ;;
4207 esac
4208 elif test "$with_gnu_ld" = yes; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4210 $as_echo_n "checking for GNU ld... " >&6; }
4211 else
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4213 $as_echo_n "checking for non-GNU ld... " >&6; }
4214 fi
4215 if ${acl_cv_path_LD+:} false; then :
4216 $as_echo_n "(cached) " >&6
4217 else
4218 if test -z "$LD"; then
4219 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4220 for ac_dir in $PATH; do
4221 test -z "$ac_dir" && ac_dir=.
4222 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4223 acl_cv_path_LD="$ac_dir/$ac_prog"
4224 # Check to see if the program is GNU ld. I'd rather use --version,
4225 # but apparently some GNU ld's only accept -v.
4226 # Break only if it was the GNU/non-GNU ld that we prefer.
4227 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4228 *GNU* | *'with BFD'*)
4229 test "$with_gnu_ld" != no && break ;;
4230 *)
4231 test "$with_gnu_ld" != yes && break ;;
4232 esac
4233 fi
4234 done
4235 IFS="$ac_save_ifs"
4236 else
4237 acl_cv_path_LD="$LD" # Let the user override the test with a path.
4238 fi
4239 fi
4240
4241 LD="$acl_cv_path_LD"
4242 if test -n "$LD"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4244 $as_echo "$LD" >&6; }
4245 else
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4248 fi
4249 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4251 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4252 if ${acl_cv_prog_gnu_ld+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4256 case `$LD -v 2>&1 </dev/null` in
4257 *GNU* | *'with BFD'*)
4258 acl_cv_prog_gnu_ld=yes ;;
4259 *)
4260 acl_cv_prog_gnu_ld=no ;;
4261 esac
4262 fi
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4264 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4265 with_gnu_ld=$acl_cv_prog_gnu_ld
4266
4267
4268
4269
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4271 $as_echo_n "checking for shared library run path origin... " >&6; }
4272 if ${acl_cv_rpath+:} false; then :
4273 $as_echo_n "(cached) " >&6
4274 else
4275
4276 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4277 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4278 . ./conftest.sh
4279 rm -f ./conftest.sh
4280 acl_cv_rpath=done
4281
4282 fi
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4284 $as_echo "$acl_cv_rpath" >&6; }
4285 wl="$acl_cv_wl"
4286 libext="$acl_cv_libext"
4287 shlibext="$acl_cv_shlibext"
4288 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4289 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4290 hardcode_direct="$acl_cv_hardcode_direct"
4291 hardcode_minus_L="$acl_cv_hardcode_minus_L"
4292 # Check whether --enable-rpath was given.
4293 if test "${enable_rpath+set}" = set; then :
4294 enableval=$enable_rpath; :
4295 else
4296 enable_rpath=yes
4297 fi
4298
4299
4300
4301 acl_libdirstem=lib
4302 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4303 if test -n "$searchpath"; then
4304 acl_save_IFS="${IFS= }"; IFS=":"
4305 for searchdir in $searchpath; do
4306 if test -d "$searchdir"; then
4307 case "$searchdir" in
4308 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4309 *) searchdir=`cd "$searchdir" && pwd`
4310 case "$searchdir" in
4311 */lib64 ) acl_libdirstem=lib64 ;;
4312 esac ;;
4313 esac
4314 fi
4315 done
4316 IFS="$acl_save_IFS"
4317 fi
4318
4319
4320
4321
4322
4323
4324
4325
4326 use_additional=yes
4327
4328 acl_save_prefix="$prefix"
4329 prefix="$acl_final_prefix"
4330 acl_save_exec_prefix="$exec_prefix"
4331 exec_prefix="$acl_final_exec_prefix"
4332
4333 eval additional_includedir=\"$includedir\"
4334 eval additional_libdir=\"$libdir\"
4335
4336 exec_prefix="$acl_save_exec_prefix"
4337 prefix="$acl_save_prefix"
4338
4339
4340 # Check whether --with-libiconv-prefix was given.
4341 if test "${with_libiconv_prefix+set}" = set; then :
4342 withval=$with_libiconv_prefix;
4343 if test "X$withval" = "Xno"; then
4344 use_additional=no
4345 else
4346 if test "X$withval" = "X"; then
4347
4348 acl_save_prefix="$prefix"
4349 prefix="$acl_final_prefix"
4350 acl_save_exec_prefix="$exec_prefix"
4351 exec_prefix="$acl_final_exec_prefix"
4352
4353 eval additional_includedir=\"$includedir\"
4354 eval additional_libdir=\"$libdir\"
4355
4356 exec_prefix="$acl_save_exec_prefix"
4357 prefix="$acl_save_prefix"
4358
4359 else
4360 additional_includedir="$withval/include"
4361 additional_libdir="$withval/$acl_libdirstem"
4362 fi
4363 fi
4364
4365 fi
4366
4367 LIBICONV=
4368 LTLIBICONV=
4369 INCICONV=
4370 rpathdirs=
4371 ltrpathdirs=
4372 names_already_handled=
4373 names_next_round='iconv '
4374 while test -n "$names_next_round"; do
4375 names_this_round="$names_next_round"
4376 names_next_round=
4377 for name in $names_this_round; do
4378 already_handled=
4379 for n in $names_already_handled; do
4380 if test "$n" = "$name"; then
4381 already_handled=yes
4382 break
4383 fi
4384 done
4385 if test -z "$already_handled"; then
4386 names_already_handled="$names_already_handled $name"
4387 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4388 eval value=\"\$HAVE_LIB$uppername\"
4389 if test -n "$value"; then
4390 if test "$value" = yes; then
4391 eval value=\"\$LIB$uppername\"
4392 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4393 eval value=\"\$LTLIB$uppername\"
4394 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4395 else
4396 :
4397 fi
4398 else
4399 found_dir=
4400 found_la=
4401 found_so=
4402 found_a=
4403 if test $use_additional = yes; then
4404 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4405 found_dir="$additional_libdir"
4406 found_so="$additional_libdir/lib$name.$shlibext"
4407 if test -f "$additional_libdir/lib$name.la"; then
4408 found_la="$additional_libdir/lib$name.la"
4409 fi
4410 else
4411 if test -f "$additional_libdir/lib$name.$libext"; then
4412 found_dir="$additional_libdir"
4413 found_a="$additional_libdir/lib$name.$libext"
4414 if test -f "$additional_libdir/lib$name.la"; then
4415 found_la="$additional_libdir/lib$name.la"
4416 fi
4417 fi
4418 fi
4419 fi
4420 if test "X$found_dir" = "X"; then
4421 for x in $LDFLAGS $LTLIBICONV; do
4422
4423 acl_save_prefix="$prefix"
4424 prefix="$acl_final_prefix"
4425 acl_save_exec_prefix="$exec_prefix"
4426 exec_prefix="$acl_final_exec_prefix"
4427 eval x=\"$x\"
4428 exec_prefix="$acl_save_exec_prefix"
4429 prefix="$acl_save_prefix"
4430
4431 case "$x" in
4432 -L*)
4433 dir=`echo "X$x" | sed -e 's/^X-L//'`
4434 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4435 found_dir="$dir"
4436 found_so="$dir/lib$name.$shlibext"
4437 if test -f "$dir/lib$name.la"; then
4438 found_la="$dir/lib$name.la"
4439 fi
4440 else
4441 if test -f "$dir/lib$name.$libext"; then
4442 found_dir="$dir"
4443 found_a="$dir/lib$name.$libext"
4444 if test -f "$dir/lib$name.la"; then
4445 found_la="$dir/lib$name.la"
4446 fi
4447 fi
4448 fi
4449 ;;
4450 esac
4451 if test "X$found_dir" != "X"; then
4452 break
4453 fi
4454 done
4455 fi
4456 if test "X$found_dir" != "X"; then
4457 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4458 if test "X$found_so" != "X"; then
4459 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4460 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4461 else
4462 haveit=
4463 for x in $ltrpathdirs; do
4464 if test "X$x" = "X$found_dir"; then
4465 haveit=yes
4466 break
4467 fi
4468 done
4469 if test -z "$haveit"; then
4470 ltrpathdirs="$ltrpathdirs $found_dir"
4471 fi
4472 if test "$hardcode_direct" = yes; then
4473 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4474 else
4475 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4476 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4477 haveit=
4478 for x in $rpathdirs; do
4479 if test "X$x" = "X$found_dir"; then
4480 haveit=yes
4481 break
4482 fi
4483 done
4484 if test -z "$haveit"; then
4485 rpathdirs="$rpathdirs $found_dir"
4486 fi
4487 else
4488 haveit=
4489 for x in $LDFLAGS $LIBICONV; do
4490
4491 acl_save_prefix="$prefix"
4492 prefix="$acl_final_prefix"
4493 acl_save_exec_prefix="$exec_prefix"
4494 exec_prefix="$acl_final_exec_prefix"
4495 eval x=\"$x\"
4496 exec_prefix="$acl_save_exec_prefix"
4497 prefix="$acl_save_prefix"
4498
4499 if test "X$x" = "X-L$found_dir"; then
4500 haveit=yes
4501 break
4502 fi
4503 done
4504 if test -z "$haveit"; then
4505 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4506 fi
4507 if test "$hardcode_minus_L" != no; then
4508 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4509 else
4510 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4511 fi
4512 fi
4513 fi
4514 fi
4515 else
4516 if test "X$found_a" != "X"; then
4517 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4518 else
4519 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4520 fi
4521 fi
4522 additional_includedir=
4523 case "$found_dir" in
4524 */$acl_libdirstem | */$acl_libdirstem/)
4525 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4526 additional_includedir="$basedir/include"
4527 ;;
4528 esac
4529 if test "X$additional_includedir" != "X"; then
4530 if test "X$additional_includedir" != "X/usr/include"; then
4531 haveit=
4532 if test "X$additional_includedir" = "X/usr/local/include"; then
4533 if test -n "$GCC"; then
4534 case $host_os in
4535 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4536 esac
4537 fi
4538 fi
4539 if test -z "$haveit"; then
4540 for x in $CPPFLAGS $INCICONV; do
4541
4542 acl_save_prefix="$prefix"
4543 prefix="$acl_final_prefix"
4544 acl_save_exec_prefix="$exec_prefix"
4545 exec_prefix="$acl_final_exec_prefix"
4546 eval x=\"$x\"
4547 exec_prefix="$acl_save_exec_prefix"
4548 prefix="$acl_save_prefix"
4549
4550 if test "X$x" = "X-I$additional_includedir"; then
4551 haveit=yes
4552 break
4553 fi
4554 done
4555 if test -z "$haveit"; then
4556 if test -d "$additional_includedir"; then
4557 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4558 fi
4559 fi
4560 fi
4561 fi
4562 fi
4563 if test -n "$found_la"; then
4564 save_libdir="$libdir"
4565 case "$found_la" in
4566 */* | *\\*) . "$found_la" ;;
4567 *) . "./$found_la" ;;
4568 esac
4569 libdir="$save_libdir"
4570 for dep in $dependency_libs; do
4571 case "$dep" in
4572 -L*)
4573 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4574 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4575 haveit=
4576 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4577 if test -n "$GCC"; then
4578 case $host_os in
4579 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4580 esac
4581 fi
4582 fi
4583 if test -z "$haveit"; then
4584 haveit=
4585 for x in $LDFLAGS $LIBICONV; do
4586
4587 acl_save_prefix="$prefix"
4588 prefix="$acl_final_prefix"
4589 acl_save_exec_prefix="$exec_prefix"
4590 exec_prefix="$acl_final_exec_prefix"
4591 eval x=\"$x\"
4592 exec_prefix="$acl_save_exec_prefix"
4593 prefix="$acl_save_prefix"
4594
4595 if test "X$x" = "X-L$additional_libdir"; then
4596 haveit=yes
4597 break
4598 fi
4599 done
4600 if test -z "$haveit"; then
4601 if test -d "$additional_libdir"; then
4602 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4603 fi
4604 fi
4605 haveit=
4606 for x in $LDFLAGS $LTLIBICONV; do
4607
4608 acl_save_prefix="$prefix"
4609 prefix="$acl_final_prefix"
4610 acl_save_exec_prefix="$exec_prefix"
4611 exec_prefix="$acl_final_exec_prefix"
4612 eval x=\"$x\"
4613 exec_prefix="$acl_save_exec_prefix"
4614 prefix="$acl_save_prefix"
4615
4616 if test "X$x" = "X-L$additional_libdir"; then
4617 haveit=yes
4618 break
4619 fi
4620 done
4621 if test -z "$haveit"; then
4622 if test -d "$additional_libdir"; then
4623 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4624 fi
4625 fi
4626 fi
4627 fi
4628 ;;
4629 -R*)
4630 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4631 if test "$enable_rpath" != no; then
4632 haveit=
4633 for x in $rpathdirs; do
4634 if test "X$x" = "X$dir"; then
4635 haveit=yes
4636 break
4637 fi
4638 done
4639 if test -z "$haveit"; then
4640 rpathdirs="$rpathdirs $dir"
4641 fi
4642 haveit=
4643 for x in $ltrpathdirs; do
4644 if test "X$x" = "X$dir"; then
4645 haveit=yes
4646 break
4647 fi
4648 done
4649 if test -z "$haveit"; then
4650 ltrpathdirs="$ltrpathdirs $dir"
4651 fi
4652 fi
4653 ;;
4654 -l*)
4655 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4656 ;;
4657 *.la)
4658 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4659 ;;
4660 *)
4661 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4662 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4663 ;;
4664 esac
4665 done
4666 fi
4667 else
4668 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4669 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4670 fi
4671 fi
4672 fi
4673 done
4674 done
4675 if test "X$rpathdirs" != "X"; then
4676 if test -n "$hardcode_libdir_separator"; then
4677 alldirs=
4678 for found_dir in $rpathdirs; do
4679 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4680 done
4681 acl_save_libdir="$libdir"
4682 libdir="$alldirs"
4683 eval flag=\"$hardcode_libdir_flag_spec\"
4684 libdir="$acl_save_libdir"
4685 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4686 else
4687 for found_dir in $rpathdirs; do
4688 acl_save_libdir="$libdir"
4689 libdir="$found_dir"
4690 eval flag=\"$hardcode_libdir_flag_spec\"
4691 libdir="$acl_save_libdir"
4692 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4693 done
4694 fi
4695 fi
4696 if test "X$ltrpathdirs" != "X"; then
4697 for found_dir in $ltrpathdirs; do
4698 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4699 done
4700 fi
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
4720 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
4721 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
4722 $as_echo_n "(cached) " >&6
4723 else
4724 gt_save_LIBS="$LIBS"
4725 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4727 /* end confdefs.h. */
4728 #include <CoreFoundation/CFPreferences.h>
4729 int
4730 main ()
4731 {
4732 CFPreferencesCopyAppValue(NULL, NULL)
4733 ;
4734 return 0;
4735 }
4736 _ACEOF
4737 if ac_fn_c_try_link "$LINENO"; then :
4738 gt_cv_func_CFPreferencesCopyAppValue=yes
4739 else
4740 gt_cv_func_CFPreferencesCopyAppValue=no
4741 fi
4742 rm -f core conftest.err conftest.$ac_objext \
4743 conftest$ac_exeext conftest.$ac_ext
4744 LIBS="$gt_save_LIBS"
4745 fi
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
4747 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
4748 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
4749
4750 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
4751
4752 fi
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
4754 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
4755 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 gt_save_LIBS="$LIBS"
4759 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4761 /* end confdefs.h. */
4762 #include <CoreFoundation/CFLocale.h>
4763 int
4764 main ()
4765 {
4766 CFLocaleCopyCurrent();
4767 ;
4768 return 0;
4769 }
4770 _ACEOF
4771 if ac_fn_c_try_link "$LINENO"; then :
4772 gt_cv_func_CFLocaleCopyCurrent=yes
4773 else
4774 gt_cv_func_CFLocaleCopyCurrent=no
4775 fi
4776 rm -f core conftest.err conftest.$ac_objext \
4777 conftest$ac_exeext conftest.$ac_ext
4778 LIBS="$gt_save_LIBS"
4779 fi
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
4781 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
4782 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4783
4784 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
4785
4786 fi
4787 INTL_MACOSX_LIBS=
4788 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
4789 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
4790 fi
4791
4792
4793
4794
4795
4796
4797 LIBINTL=
4798 LTLIBINTL=
4799 POSUB=
4800
4801 if test "$USE_NLS" = "yes"; then
4802 gt_use_preinstalled_gnugettext=no
4803
4804
4805
4806
4807
4808
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
4810 $as_echo_n "checking for GNU gettext in libc... " >&6; }
4811 if ${gt_cv_func_gnugettext1_libc+:} false; then :
4812 $as_echo_n "(cached) " >&6
4813 else
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4816 #include <libintl.h>
4817 extern int _nl_msg_cat_cntr;
4818 extern int *_nl_domain_bindings;
4819 int
4820 main ()
4821 {
4822 bindtextdomain ("", "");
4823 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
4824 ;
4825 return 0;
4826 }
4827 _ACEOF
4828 if ac_fn_c_try_link "$LINENO"; then :
4829 gt_cv_func_gnugettext1_libc=yes
4830 else
4831 gt_cv_func_gnugettext1_libc=no
4832 fi
4833 rm -f core conftest.err conftest.$ac_objext \
4834 conftest$ac_exeext conftest.$ac_ext
4835 fi
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
4837 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
4838
4839 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4840
4841
4842
4843
4844
4845 am_save_CPPFLAGS="$CPPFLAGS"
4846
4847 for element in $INCICONV; do
4848 haveit=
4849 for x in $CPPFLAGS; do
4850
4851 acl_save_prefix="$prefix"
4852 prefix="$acl_final_prefix"
4853 acl_save_exec_prefix="$exec_prefix"
4854 exec_prefix="$acl_final_exec_prefix"
4855 eval x=\"$x\"
4856 exec_prefix="$acl_save_exec_prefix"
4857 prefix="$acl_save_prefix"
4858
4859 if test "X$x" = "X$element"; then
4860 haveit=yes
4861 break
4862 fi
4863 done
4864 if test -z "$haveit"; then
4865 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4866 fi
4867 done
4868
4869
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
4871 $as_echo_n "checking for iconv... " >&6; }
4872 if ${am_cv_func_iconv+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875
4876 am_cv_func_iconv="no, consider installing GNU libiconv"
4877 am_cv_lib_iconv=no
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4880 #include <stdlib.h>
4881 #include <iconv.h>
4882 int
4883 main ()
4884 {
4885 iconv_t cd = iconv_open("","");
4886 iconv(cd,NULL,NULL,NULL,NULL);
4887 iconv_close(cd);
4888 ;
4889 return 0;
4890 }
4891 _ACEOF
4892 if ac_fn_c_try_link "$LINENO"; then :
4893 am_cv_func_iconv=yes
4894 fi
4895 rm -f core conftest.err conftest.$ac_objext \
4896 conftest$ac_exeext conftest.$ac_ext
4897 if test "$am_cv_func_iconv" != yes; then
4898 am_save_LIBS="$LIBS"
4899 LIBS="$LIBS $LIBICONV"
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4902 #include <stdlib.h>
4903 #include <iconv.h>
4904 int
4905 main ()
4906 {
4907 iconv_t cd = iconv_open("","");
4908 iconv(cd,NULL,NULL,NULL,NULL);
4909 iconv_close(cd);
4910 ;
4911 return 0;
4912 }
4913 _ACEOF
4914 if ac_fn_c_try_link "$LINENO"; then :
4915 am_cv_lib_iconv=yes
4916 am_cv_func_iconv=yes
4917 fi
4918 rm -f core conftest.err conftest.$ac_objext \
4919 conftest$ac_exeext conftest.$ac_ext
4920 LIBS="$am_save_LIBS"
4921 fi
4922
4923 fi
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
4925 $as_echo "$am_cv_func_iconv" >&6; }
4926 if test "$am_cv_func_iconv" = yes; then
4927
4928 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
4929
4930 fi
4931 if test "$am_cv_lib_iconv" = yes; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
4933 $as_echo_n "checking how to link with libiconv... " >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
4935 $as_echo "$LIBICONV" >&6; }
4936 else
4937 CPPFLAGS="$am_save_CPPFLAGS"
4938 LIBICONV=
4939 LTLIBICONV=
4940 fi
4941
4942
4943
4944
4945
4946
4947
4948 use_additional=yes
4949
4950 acl_save_prefix="$prefix"
4951 prefix="$acl_final_prefix"
4952 acl_save_exec_prefix="$exec_prefix"
4953 exec_prefix="$acl_final_exec_prefix"
4954
4955 eval additional_includedir=\"$includedir\"
4956 eval additional_libdir=\"$libdir\"
4957
4958 exec_prefix="$acl_save_exec_prefix"
4959 prefix="$acl_save_prefix"
4960
4961
4962 # Check whether --with-libintl-prefix was given.
4963 if test "${with_libintl_prefix+set}" = set; then :
4964 withval=$with_libintl_prefix;
4965 if test "X$withval" = "Xno"; then
4966 use_additional=no
4967 else
4968 if test "X$withval" = "X"; then
4969
4970 acl_save_prefix="$prefix"
4971 prefix="$acl_final_prefix"
4972 acl_save_exec_prefix="$exec_prefix"
4973 exec_prefix="$acl_final_exec_prefix"
4974
4975 eval additional_includedir=\"$includedir\"
4976 eval additional_libdir=\"$libdir\"
4977
4978 exec_prefix="$acl_save_exec_prefix"
4979 prefix="$acl_save_prefix"
4980
4981 else
4982 additional_includedir="$withval/include"
4983 additional_libdir="$withval/$acl_libdirstem"
4984 fi
4985 fi
4986
4987 fi
4988
4989 LIBINTL=
4990 LTLIBINTL=
4991 INCINTL=
4992 rpathdirs=
4993 ltrpathdirs=
4994 names_already_handled=
4995 names_next_round='intl '
4996 while test -n "$names_next_round"; do
4997 names_this_round="$names_next_round"
4998 names_next_round=
4999 for name in $names_this_round; do
5000 already_handled=
5001 for n in $names_already_handled; do
5002 if test "$n" = "$name"; then
5003 already_handled=yes
5004 break
5005 fi
5006 done
5007 if test -z "$already_handled"; then
5008 names_already_handled="$names_already_handled $name"
5009 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5010 eval value=\"\$HAVE_LIB$uppername\"
5011 if test -n "$value"; then
5012 if test "$value" = yes; then
5013 eval value=\"\$LIB$uppername\"
5014 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5015 eval value=\"\$LTLIB$uppername\"
5016 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5017 else
5018 :
5019 fi
5020 else
5021 found_dir=
5022 found_la=
5023 found_so=
5024 found_a=
5025 if test $use_additional = yes; then
5026 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5027 found_dir="$additional_libdir"
5028 found_so="$additional_libdir/lib$name.$shlibext"
5029 if test -f "$additional_libdir/lib$name.la"; then
5030 found_la="$additional_libdir/lib$name.la"
5031 fi
5032 else
5033 if test -f "$additional_libdir/lib$name.$libext"; then
5034 found_dir="$additional_libdir"
5035 found_a="$additional_libdir/lib$name.$libext"
5036 if test -f "$additional_libdir/lib$name.la"; then
5037 found_la="$additional_libdir/lib$name.la"
5038 fi
5039 fi
5040 fi
5041 fi
5042 if test "X$found_dir" = "X"; then
5043 for x in $LDFLAGS $LTLIBINTL; do
5044
5045 acl_save_prefix="$prefix"
5046 prefix="$acl_final_prefix"
5047 acl_save_exec_prefix="$exec_prefix"
5048 exec_prefix="$acl_final_exec_prefix"
5049 eval x=\"$x\"
5050 exec_prefix="$acl_save_exec_prefix"
5051 prefix="$acl_save_prefix"
5052
5053 case "$x" in
5054 -L*)
5055 dir=`echo "X$x" | sed -e 's/^X-L//'`
5056 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5057 found_dir="$dir"
5058 found_so="$dir/lib$name.$shlibext"
5059 if test -f "$dir/lib$name.la"; then
5060 found_la="$dir/lib$name.la"
5061 fi
5062 else
5063 if test -f "$dir/lib$name.$libext"; then
5064 found_dir="$dir"
5065 found_a="$dir/lib$name.$libext"
5066 if test -f "$dir/lib$name.la"; then
5067 found_la="$dir/lib$name.la"
5068 fi
5069 fi
5070 fi
5071 ;;
5072 esac
5073 if test "X$found_dir" != "X"; then
5074 break
5075 fi
5076 done
5077 fi
5078 if test "X$found_dir" != "X"; then
5079 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5080 if test "X$found_so" != "X"; then
5081 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
5082 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5083 else
5084 haveit=
5085 for x in $ltrpathdirs; do
5086 if test "X$x" = "X$found_dir"; then
5087 haveit=yes
5088 break
5089 fi
5090 done
5091 if test -z "$haveit"; then
5092 ltrpathdirs="$ltrpathdirs $found_dir"
5093 fi
5094 if test "$hardcode_direct" = yes; then
5095 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5096 else
5097 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5098 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5099 haveit=
5100 for x in $rpathdirs; do
5101 if test "X$x" = "X$found_dir"; then
5102 haveit=yes
5103 break
5104 fi
5105 done
5106 if test -z "$haveit"; then
5107 rpathdirs="$rpathdirs $found_dir"
5108 fi
5109 else
5110 haveit=
5111 for x in $LDFLAGS $LIBINTL; do
5112
5113 acl_save_prefix="$prefix"
5114 prefix="$acl_final_prefix"
5115 acl_save_exec_prefix="$exec_prefix"
5116 exec_prefix="$acl_final_exec_prefix"
5117 eval x=\"$x\"
5118 exec_prefix="$acl_save_exec_prefix"
5119 prefix="$acl_save_prefix"
5120
5121 if test "X$x" = "X-L$found_dir"; then
5122 haveit=yes
5123 break
5124 fi
5125 done
5126 if test -z "$haveit"; then
5127 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5128 fi
5129 if test "$hardcode_minus_L" != no; then
5130 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5131 else
5132 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5133 fi
5134 fi
5135 fi
5136 fi
5137 else
5138 if test "X$found_a" != "X"; then
5139 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5140 else
5141 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5142 fi
5143 fi
5144 additional_includedir=
5145 case "$found_dir" in
5146 */$acl_libdirstem | */$acl_libdirstem/)
5147 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5148 additional_includedir="$basedir/include"
5149 ;;
5150 esac
5151 if test "X$additional_includedir" != "X"; then
5152 if test "X$additional_includedir" != "X/usr/include"; then
5153 haveit=
5154 if test "X$additional_includedir" = "X/usr/local/include"; then
5155 if test -n "$GCC"; then
5156 case $host_os in
5157 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5158 esac
5159 fi
5160 fi
5161 if test -z "$haveit"; then
5162 for x in $CPPFLAGS $INCINTL; do
5163
5164 acl_save_prefix="$prefix"
5165 prefix="$acl_final_prefix"
5166 acl_save_exec_prefix="$exec_prefix"
5167 exec_prefix="$acl_final_exec_prefix"
5168 eval x=\"$x\"
5169 exec_prefix="$acl_save_exec_prefix"
5170 prefix="$acl_save_prefix"
5171
5172 if test "X$x" = "X-I$additional_includedir"; then
5173 haveit=yes
5174 break
5175 fi
5176 done
5177 if test -z "$haveit"; then
5178 if test -d "$additional_includedir"; then
5179 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5180 fi
5181 fi
5182 fi
5183 fi
5184 fi
5185 if test -n "$found_la"; then
5186 save_libdir="$libdir"
5187 case "$found_la" in
5188 */* | *\\*) . "$found_la" ;;
5189 *) . "./$found_la" ;;
5190 esac
5191 libdir="$save_libdir"
5192 for dep in $dependency_libs; do
5193 case "$dep" in
5194 -L*)
5195 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5196 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
5197 haveit=
5198 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
5199 if test -n "$GCC"; then
5200 case $host_os in
5201 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5202 esac
5203 fi
5204 fi
5205 if test -z "$haveit"; then
5206 haveit=
5207 for x in $LDFLAGS $LIBINTL; do
5208
5209 acl_save_prefix="$prefix"
5210 prefix="$acl_final_prefix"
5211 acl_save_exec_prefix="$exec_prefix"
5212 exec_prefix="$acl_final_exec_prefix"
5213 eval x=\"$x\"
5214 exec_prefix="$acl_save_exec_prefix"
5215 prefix="$acl_save_prefix"
5216
5217 if test "X$x" = "X-L$additional_libdir"; then
5218 haveit=yes
5219 break
5220 fi
5221 done
5222 if test -z "$haveit"; then
5223 if test -d "$additional_libdir"; then
5224 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5225 fi
5226 fi
5227 haveit=
5228 for x in $LDFLAGS $LTLIBINTL; do
5229
5230 acl_save_prefix="$prefix"
5231 prefix="$acl_final_prefix"
5232 acl_save_exec_prefix="$exec_prefix"
5233 exec_prefix="$acl_final_exec_prefix"
5234 eval x=\"$x\"
5235 exec_prefix="$acl_save_exec_prefix"
5236 prefix="$acl_save_prefix"
5237
5238 if test "X$x" = "X-L$additional_libdir"; then
5239 haveit=yes
5240 break
5241 fi
5242 done
5243 if test -z "$haveit"; then
5244 if test -d "$additional_libdir"; then
5245 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5246 fi
5247 fi
5248 fi
5249 fi
5250 ;;
5251 -R*)
5252 dir=`echo "X$dep" | sed -e 's/^X-R//'`
5253 if test "$enable_rpath" != no; then
5254 haveit=
5255 for x in $rpathdirs; do
5256 if test "X$x" = "X$dir"; then
5257 haveit=yes
5258 break
5259 fi
5260 done
5261 if test -z "$haveit"; then
5262 rpathdirs="$rpathdirs $dir"
5263 fi
5264 haveit=
5265 for x in $ltrpathdirs; do
5266 if test "X$x" = "X$dir"; then
5267 haveit=yes
5268 break
5269 fi
5270 done
5271 if test -z "$haveit"; then
5272 ltrpathdirs="$ltrpathdirs $dir"
5273 fi
5274 fi
5275 ;;
5276 -l*)
5277 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5278 ;;
5279 *.la)
5280 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5281 ;;
5282 *)
5283 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5284 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5285 ;;
5286 esac
5287 done
5288 fi
5289 else
5290 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5291 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5292 fi
5293 fi
5294 fi
5295 done
5296 done
5297 if test "X$rpathdirs" != "X"; then
5298 if test -n "$hardcode_libdir_separator"; then
5299 alldirs=
5300 for found_dir in $rpathdirs; do
5301 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5302 done
5303 acl_save_libdir="$libdir"
5304 libdir="$alldirs"
5305 eval flag=\"$hardcode_libdir_flag_spec\"
5306 libdir="$acl_save_libdir"
5307 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5308 else
5309 for found_dir in $rpathdirs; do
5310 acl_save_libdir="$libdir"
5311 libdir="$found_dir"
5312 eval flag=\"$hardcode_libdir_flag_spec\"
5313 libdir="$acl_save_libdir"
5314 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5315 done
5316 fi
5317 fi
5318 if test "X$ltrpathdirs" != "X"; then
5319 for found_dir in $ltrpathdirs; do
5320 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5321 done
5322 fi
5323
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5325 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
5326 if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 gt_save_CPPFLAGS="$CPPFLAGS"
5330 CPPFLAGS="$CPPFLAGS $INCINTL"
5331 gt_save_LIBS="$LIBS"
5332 LIBS="$LIBS $LIBINTL"
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5335 #include <libintl.h>
5336 extern int _nl_msg_cat_cntr;
5337 extern
5338 #ifdef __cplusplus
5339 "C"
5340 #endif
5341 const char *_nl_expand_alias (const char *);
5342 int
5343 main ()
5344 {
5345 bindtextdomain ("", "");
5346 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
5347 ;
5348 return 0;
5349 }
5350 _ACEOF
5351 if ac_fn_c_try_link "$LINENO"; then :
5352 gt_cv_func_gnugettext1_libintl=yes
5353 else
5354 gt_cv_func_gnugettext1_libintl=no
5355 fi
5356 rm -f core conftest.err conftest.$ac_objext \
5357 conftest$ac_exeext conftest.$ac_ext
5358 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5359 LIBS="$LIBS $LIBICONV"
5360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5362 #include <libintl.h>
5363 extern int _nl_msg_cat_cntr;
5364 extern
5365 #ifdef __cplusplus
5366 "C"
5367 #endif
5368 const char *_nl_expand_alias (const char *);
5369 int
5370 main ()
5371 {
5372 bindtextdomain ("", "");
5373 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
5374 ;
5375 return 0;
5376 }
5377 _ACEOF
5378 if ac_fn_c_try_link "$LINENO"; then :
5379 LIBINTL="$LIBINTL $LIBICONV"
5380 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5381 gt_cv_func_gnugettext1_libintl=yes
5382
5383 fi
5384 rm -f core conftest.err conftest.$ac_objext \
5385 conftest$ac_exeext conftest.$ac_ext
5386 fi
5387 CPPFLAGS="$gt_save_CPPFLAGS"
5388 LIBS="$gt_save_LIBS"
5389 fi
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
5391 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
5392 fi
5393
5394 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5395 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5396 && test "$PACKAGE" != gettext-runtime \
5397 && test "$PACKAGE" != gettext-tools; }; then
5398 gt_use_preinstalled_gnugettext=yes
5399 else
5400 LIBINTL=
5401 LTLIBINTL=
5402 INCINTL=
5403 fi
5404
5405
5406
5407 if test -n "$INTL_MACOSX_LIBS"; then
5408 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5409 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5410 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
5411 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
5412 fi
5413 fi
5414
5415 if test "$gt_use_preinstalled_gnugettext" = "yes" \
5416 || test "$nls_cv_use_gnu_gettext" = "yes"; then
5417
5418 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
5419
5420 else
5421 USE_NLS=no
5422 fi
5423 fi
5424
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
5426 $as_echo_n "checking whether to use NLS... " >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5428 $as_echo "$USE_NLS" >&6; }
5429 if test "$USE_NLS" = "yes"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
5431 $as_echo_n "checking where the gettext function comes from... " >&6; }
5432 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5433 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5434 gt_source="external libintl"
5435 else
5436 gt_source="libc"
5437 fi
5438 else
5439 gt_source="included intl directory"
5440 fi
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
5442 $as_echo "$gt_source" >&6; }
5443 fi
5444
5445 if test "$USE_NLS" = "yes"; then
5446
5447 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5448 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
5450 $as_echo_n "checking how to link with libintl... " >&6; }
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
5452 $as_echo "$LIBINTL" >&6; }
5453
5454 for element in $INCINTL; do
5455 haveit=
5456 for x in $CPPFLAGS; do
5457
5458 acl_save_prefix="$prefix"
5459 prefix="$acl_final_prefix"
5460 acl_save_exec_prefix="$exec_prefix"
5461 exec_prefix="$acl_final_exec_prefix"
5462 eval x=\"$x\"
5463 exec_prefix="$acl_save_exec_prefix"
5464 prefix="$acl_save_prefix"
5465
5466 if test "X$x" = "X$element"; then
5467 haveit=yes
5468 break
5469 fi
5470 done
5471 if test -z "$haveit"; then
5472 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5473 fi
5474 done
5475
5476 fi
5477
5478
5479 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5480
5481
5482 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
5483
5484 fi
5485
5486 POSUB=po
5487 fi
5488
5489
5490
5491 INTLLIBS="$LIBINTL"
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5507 if test -n "$ac_tool_prefix"; then
5508 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5509 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 case $PKG_CONFIG in
5516 [\\/]* | ?:[\\/]*)
5517 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5518 ;;
5519 *)
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5522 do
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5530 fi
5531 done
5532 done
5533 IFS=$as_save_IFS
5534
5535 ;;
5536 esac
5537 fi
5538 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5539 if test -n "$PKG_CONFIG"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5541 $as_echo "$PKG_CONFIG" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5545 fi
5546
5547
5548 fi
5549 if test -z "$ac_cv_path_PKG_CONFIG"; then
5550 ac_pt_PKG_CONFIG=$PKG_CONFIG
5551 # Extract the first word of "pkg-config", so it can be a program name with args.
5552 set dummy pkg-config; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 case $ac_pt_PKG_CONFIG in
5559 [\\/]* | ?:[\\/]*)
5560 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5561 ;;
5562 *)
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5565 do
5566 IFS=$as_save_IFS
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 break 2
5573 fi
5574 done
5575 done
5576 IFS=$as_save_IFS
5577
5578 ;;
5579 esac
5580 fi
5581 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5582 if test -n "$ac_pt_PKG_CONFIG"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5584 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5588 fi
5589
5590 if test "x$ac_pt_PKG_CONFIG" = x; then
5591 PKG_CONFIG=""
5592 else
5593 case $cross_compiling:$ac_tool_warned in
5594 yes:)
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned=yes ;;
5598 esac
5599 PKG_CONFIG=$ac_pt_PKG_CONFIG
5600 fi
5601 else
5602 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5603 fi
5604
5605 fi
5606 if test -n "$PKG_CONFIG"; then
5607 _pkg_min_version=0.9.0
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5609 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5610 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5612 $as_echo "yes" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5616 PKG_CONFIG=""
5617 fi
5618 fi
5619
5620 pkg_failed=no
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENBOX" >&5
5622 $as_echo_n "checking for OPENBOX... " >&6; }
5623
5624 if test -n "$OPENBOX_CFLAGS"; then
5625 pkg_cv_OPENBOX_CFLAGS="$OPENBOX_CFLAGS"
5626 elif test -n "$PKG_CONFIG"; then
5627 if test -n "$PKG_CONFIG" && \
5628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"obrender-3.5 obt-3.5\""; } >&5
5629 ($PKG_CONFIG --exists --print-errors "obrender-3.5 obt-3.5") 2>&5
5630 ac_status=$?
5631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5632 test $ac_status = 0; }; then
5633 pkg_cv_OPENBOX_CFLAGS=`$PKG_CONFIG --cflags "obrender-3.5 obt-3.5" 2>/dev/null`
5634 test "x$?" != "x0" && pkg_failed=yes
5635 else
5636 pkg_failed=yes
5637 fi
5638 else
5639 pkg_failed=untried
5640 fi
5641 if test -n "$OPENBOX_LIBS"; then
5642 pkg_cv_OPENBOX_LIBS="$OPENBOX_LIBS"
5643 elif test -n "$PKG_CONFIG"; then
5644 if test -n "$PKG_CONFIG" && \
5645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"obrender-3.5 obt-3.5\""; } >&5
5646 ($PKG_CONFIG --exists --print-errors "obrender-3.5 obt-3.5") 2>&5
5647 ac_status=$?
5648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5649 test $ac_status = 0; }; then
5650 pkg_cv_OPENBOX_LIBS=`$PKG_CONFIG --libs "obrender-3.5 obt-3.5" 2>/dev/null`
5651 test "x$?" != "x0" && pkg_failed=yes
5652 else
5653 pkg_failed=yes
5654 fi
5655 else
5656 pkg_failed=untried
5657 fi
5658
5659
5660
5661 if test $pkg_failed = yes; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5664
5665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5666 _pkg_short_errors_supported=yes
5667 else
5668 _pkg_short_errors_supported=no
5669 fi
5670 if test $_pkg_short_errors_supported = yes; then
5671 OPENBOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "obrender-3.5 obt-3.5" 2>&1`
5672 else
5673 OPENBOX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "obrender-3.5 obt-3.5" 2>&1`
5674 fi
5675 # Put the nasty error message in config.log where it belongs
5676 echo "$OPENBOX_PKG_ERRORS" >&5
5677
5678 as_fn_error $? "Package requirements (obrender-3.5 obt-3.5) were not met:
5679
5680 $OPENBOX_PKG_ERRORS
5681
5682 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5683 installed software in a non-standard prefix.
5684
5685 Alternatively, you may set the environment variables OPENBOX_CFLAGS
5686 and OPENBOX_LIBS to avoid the need to call pkg-config.
5687 See the pkg-config man page for more details." "$LINENO" 5
5688 elif test $pkg_failed = untried; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5693 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5694 is in your PATH or set the PKG_CONFIG environment variable to the full
5695 path to pkg-config.
5696
5697 Alternatively, you may set the environment variables OPENBOX_CFLAGS
5698 and OPENBOX_LIBS to avoid the need to call pkg-config.
5699 See the pkg-config man page for more details.
5700
5701 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5702 See \`config.log' for more details" "$LINENO" 5; }
5703 else
5704 OPENBOX_CFLAGS=$pkg_cv_OPENBOX_CFLAGS
5705 OPENBOX_LIBS=$pkg_cv_OPENBOX_LIBS
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5707 $as_echo "yes" >&6; }
5708
5709 fi
5710
5711
5712
5713
5714 pkg_failed=no
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSTARTUPNOTIFICATION" >&5
5716 $as_echo_n "checking for LIBSTARTUPNOTIFICATION... " >&6; }
5717
5718 if test -n "$LIBSTARTUPNOTIFICATION_CFLAGS"; then
5719 pkg_cv_LIBSTARTUPNOTIFICATION_CFLAGS="$LIBSTARTUPNOTIFICATION_CFLAGS"
5720 elif test -n "$PKG_CONFIG"; then
5721 if test -n "$PKG_CONFIG" && \
5722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libstartup-notification-1.0\""; } >&5
5723 ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0") 2>&5
5724 ac_status=$?
5725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5726 test $ac_status = 0; }; then
5727 pkg_cv_LIBSTARTUPNOTIFICATION_CFLAGS=`$PKG_CONFIG --cflags "libstartup-notification-1.0" 2>/dev/null`
5728 test "x$?" != "x0" && pkg_failed=yes
5729 else
5730 pkg_failed=yes
5731 fi
5732 else
5733 pkg_failed=untried
5734 fi
5735 if test -n "$LIBSTARTUPNOTIFICATION_LIBS"; then
5736 pkg_cv_LIBSTARTUPNOTIFICATION_LIBS="$LIBSTARTUPNOTIFICATION_LIBS"
5737 elif test -n "$PKG_CONFIG"; then
5738 if test -n "$PKG_CONFIG" && \
5739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libstartup-notification-1.0\""; } >&5
5740 ($PKG_CONFIG --exists --print-errors "libstartup-notification-1.0") 2>&5
5741 ac_status=$?
5742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5743 test $ac_status = 0; }; then
5744 pkg_cv_LIBSTARTUPNOTIFICATION_LIBS=`$PKG_CONFIG --libs "libstartup-notification-1.0" 2>/dev/null`
5745 test "x$?" != "x0" && pkg_failed=yes
5746 else
5747 pkg_failed=yes
5748 fi
5749 else
5750 pkg_failed=untried
5751 fi
5752
5753
5754
5755 if test $pkg_failed = yes; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758
5759 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5760 _pkg_short_errors_supported=yes
5761 else
5762 _pkg_short_errors_supported=no
5763 fi
5764 if test $_pkg_short_errors_supported = yes; then
5765 LIBSTARTUPNOTIFICATION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libstartup-notification-1.0" 2>&1`
5766 else
5767 LIBSTARTUPNOTIFICATION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libstartup-notification-1.0" 2>&1`
5768 fi
5769 # Put the nasty error message in config.log where it belongs
5770 echo "$LIBSTARTUPNOTIFICATION_PKG_ERRORS" >&5
5771
5772 as_fn_error $? "Package requirements (libstartup-notification-1.0) were not met:
5773
5774 $LIBSTARTUPNOTIFICATION_PKG_ERRORS
5775
5776 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5777 installed software in a non-standard prefix.
5778
5779 Alternatively, you may set the environment variables LIBSTARTUPNOTIFICATION_CFLAGS
5780 and LIBSTARTUPNOTIFICATION_LIBS to avoid the need to call pkg-config.
5781 See the pkg-config man page for more details." "$LINENO" 5
5782 elif test $pkg_failed = untried; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5787 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5788 is in your PATH or set the PKG_CONFIG environment variable to the full
5789 path to pkg-config.
5790
5791 Alternatively, you may set the environment variables LIBSTARTUPNOTIFICATION_CFLAGS
5792 and LIBSTARTUPNOTIFICATION_LIBS to avoid the need to call pkg-config.
5793 See the pkg-config man page for more details.
5794
5795 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5796 See \`config.log' for more details" "$LINENO" 5; }
5797 else
5798 LIBSTARTUPNOTIFICATION_CFLAGS=$pkg_cv_LIBSTARTUPNOTIFICATION_CFLAGS
5799 LIBSTARTUPNOTIFICATION_LIBS=$pkg_cv_LIBSTARTUPNOTIFICATION_LIBS
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5801 $as_echo "yes" >&6; }
5802
5803 fi
5804
5805
5806
5807
5808 pkg_failed=no
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
5810 $as_echo_n "checking for GTK... " >&6; }
5811
5812 if test -n "$GTK_CFLAGS"; then
5813 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
5814 elif test -n "$PKG_CONFIG"; then
5815 if test -n "$PKG_CONFIG" && \
5816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
5817 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
5818 ac_status=$?
5819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5820 test $ac_status = 0; }; then
5821 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
5822 test "x$?" != "x0" && pkg_failed=yes
5823 else
5824 pkg_failed=yes
5825 fi
5826 else
5827 pkg_failed=untried
5828 fi
5829 if test -n "$GTK_LIBS"; then
5830 pkg_cv_GTK_LIBS="$GTK_LIBS"
5831 elif test -n "$PKG_CONFIG"; then
5832 if test -n "$PKG_CONFIG" && \
5833 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
5834 ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
5835 ac_status=$?
5836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5837 test $ac_status = 0; }; then
5838 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
5839 test "x$?" != "x0" && pkg_failed=yes
5840 else
5841 pkg_failed=yes
5842 fi
5843 else
5844 pkg_failed=untried
5845 fi
5846
5847
5848
5849 if test $pkg_failed = yes; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5852
5853 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5854 _pkg_short_errors_supported=yes
5855 else
5856 _pkg_short_errors_supported=no
5857 fi
5858 if test $_pkg_short_errors_supported = yes; then
5859 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
5860 else
5861 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
5862 fi
5863 # Put the nasty error message in config.log where it belongs
5864 echo "$GTK_PKG_ERRORS" >&5
5865
5866 as_fn_error $? "Package requirements (gtk+-3.0) were not met:
5867
5868 $GTK_PKG_ERRORS
5869
5870 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5871 installed software in a non-standard prefix.
5872
5873 Alternatively, you may set the environment variables GTK_CFLAGS
5874 and GTK_LIBS to avoid the need to call pkg-config.
5875 See the pkg-config man page for more details." "$LINENO" 5
5876 elif test $pkg_failed = untried; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878 $as_echo "no" >&6; }
5879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5881 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5882 is in your PATH or set the PKG_CONFIG environment variable to the full
5883 path to pkg-config.
5884
5885 Alternatively, you may set the environment variables GTK_CFLAGS
5886 and GTK_LIBS to avoid the need to call pkg-config.
5887 See the pkg-config man page for more details.
5888
5889 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5890 See \`config.log' for more details" "$LINENO" 5; }
5891 else
5892 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5893 GTK_LIBS=$pkg_cv_GTK_LIBS
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5895 $as_echo "yes" >&6; }
5896
5897 fi
5898
5899
5900
5901
5902 pkg_failed=no
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
5904 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
5905
5906 if test -n "$GDK_PIXBUF_CFLAGS"; then
5907 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
5908 elif test -n "$PKG_CONFIG"; then
5909 if test -n "$PKG_CONFIG" && \
5910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
5911 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
5912 ac_status=$?
5913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5914 test $ac_status = 0; }; then
5915 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
5916 test "x$?" != "x0" && pkg_failed=yes
5917 else
5918 pkg_failed=yes
5919 fi
5920 else
5921 pkg_failed=untried
5922 fi
5923 if test -n "$GDK_PIXBUF_LIBS"; then
5924 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
5925 elif test -n "$PKG_CONFIG"; then
5926 if test -n "$PKG_CONFIG" && \
5927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\""; } >&5
5928 ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
5929 ac_status=$?
5930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5931 test $ac_status = 0; }; then
5932 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
5933 test "x$?" != "x0" && pkg_failed=yes
5934 else
5935 pkg_failed=yes
5936 fi
5937 else
5938 pkg_failed=untried
5939 fi
5940
5941
5942
5943 if test $pkg_failed = yes; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5946
5947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5948 _pkg_short_errors_supported=yes
5949 else
5950 _pkg_short_errors_supported=no
5951 fi
5952 if test $_pkg_short_errors_supported = yes; then
5953 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gdk-pixbuf-2.0" 2>&1`
5954 else
5955 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gdk-pixbuf-2.0" 2>&1`
5956 fi
5957 # Put the nasty error message in config.log where it belongs
5958 echo "$GDK_PIXBUF_PKG_ERRORS" >&5
5959
5960 as_fn_error $? "Package requirements (gdk-pixbuf-2.0) were not met:
5961
5962 $GDK_PIXBUF_PKG_ERRORS
5963
5964 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5965 installed software in a non-standard prefix.
5966
5967 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
5968 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
5969 See the pkg-config man page for more details." "$LINENO" 5
5970 elif test $pkg_failed = untried; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5975 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5976 is in your PATH or set the PKG_CONFIG environment variable to the full
5977 path to pkg-config.
5978
5979 Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
5980 and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
5981 See the pkg-config man page for more details.
5982
5983 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5984 See \`config.log' for more details" "$LINENO" 5; }
5985 else
5986 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
5987 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5989 $as_echo "yes" >&6; }
5990
5991 fi
5992
5993
5994
5995 # Extract the first word of "tar", so it can be a program name with args.
5996 set dummy tar; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_TAR+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$TAR"; then
6003 ac_cv_prog_TAR="$TAR" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6007 do
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_TAR="yes"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6015 fi
6016 done
6017 done
6018 IFS=$as_save_IFS
6019
6020 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR="no"
6021 fi
6022 fi
6023 TAR=$ac_cv_prog_TAR
6024 if test -n "$TAR"; then
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
6026 $as_echo "$TAR" >&6; }
6027 else
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029 $as_echo "no" >&6; }
6030 fi
6031
6032
6033 if test "$TAR" = "no"; then
6034 as_fn_error $? "Unable to find the tar command." "$LINENO" 5
6035 fi
6036
6037 # Extract the first word of "gzip", so it can be a program name with args.
6038 set dummy gzip; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_GZIP+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 if test -n "$GZIP"; then
6045 ac_cv_prog_GZIP="$GZIP" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6049 do
6050 IFS=$as_save_IFS
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_GZIP="yes"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 break 2
6057 fi
6058 done
6059 done
6060 IFS=$as_save_IFS
6061
6062 test -z "$ac_cv_prog_GZIP" && ac_cv_prog_GZIP="no"
6063 fi
6064 fi
6065 GZIP=$ac_cv_prog_GZIP
6066 if test -n "$GZIP"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5
6068 $as_echo "$GZIP" >&6; }
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6072 fi
6073
6074
6075 if test "$GZIP" = "no"; then
6076 as_fn_error $? "Unable to find the gzip command." "$LINENO" 5
6077 fi
6078
6079 # Extract the first word of "gunzip", so it can be a program name with args.
6080 set dummy gunzip; ac_word=$2
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6082 $as_echo_n "checking for $ac_word... " >&6; }
6083 if ${ac_cv_prog_GUNZIP+:} false; then :
6084 $as_echo_n "(cached) " >&6
6085 else
6086 if test -n "$GUNZIP"; then
6087 ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6091 do
6092 IFS=$as_save_IFS
6093 test -z "$as_dir" && as_dir=.
6094 for ac_exec_ext in '' $ac_executable_extensions; do
6095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_prog_GUNZIP="yes"
6097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 break 2
6099 fi
6100 done
6101 done
6102 IFS=$as_save_IFS
6103
6104 test -z "$ac_cv_prog_GUNZIP" && ac_cv_prog_GUNZIP="no"
6105 fi
6106 fi
6107 GUNZIP=$ac_cv_prog_GUNZIP
6108 if test -n "$GUNZIP"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUNZIP" >&5
6110 $as_echo "$GUNZIP" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6114 fi
6115
6116
6117 if test "$GUNZIP" = "no"; then
6118 as_fn_error $? "Unable to find the gunzip command." "$LINENO" 5
6119 fi
6120
6121 ac_config_files="$ac_config_files Makefile po/Makefile.in"
6122
6123 cat >confcache <<\_ACEOF
6124 # This file is a shell script that caches the results of configure
6125 # tests run on this system so they can be shared between configure
6126 # scripts and configure runs, see configure's option --config-cache.
6127 # It is not useful on other systems. If it contains results you don't
6128 # want to keep, you may remove or edit it.
6129 #
6130 # config.status only pays attention to the cache file if you give it
6131 # the --recheck option to rerun configure.
6132 #
6133 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6134 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6135 # following values.
6136
6137 _ACEOF
6138
6139 # The following way of writing the cache mishandles newlines in values,
6140 # but we know of no workaround that is simple, portable, and efficient.
6141 # So, we kill variables containing newlines.
6142 # Ultrix sh set writes to stderr and can't be redirected directly,
6143 # and sets the high bit in the cache file unless we assign to the vars.
6144 (
6145 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6146 eval ac_val=\$$ac_var
6147 case $ac_val in #(
6148 *${as_nl}*)
6149 case $ac_var in #(
6150 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6151 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6152 esac
6153 case $ac_var in #(
6154 _ | IFS | as_nl) ;; #(
6155 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6156 *) { eval $ac_var=; unset $ac_var;} ;;
6157 esac ;;
6158 esac
6159 done
6160
6161 (set) 2>&1 |
6162 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6163 *${as_nl}ac_space=\ *)
6164 # `set' does not quote correctly, so add quotes: double-quote
6165 # substitution turns \\\\ into \\, and sed turns \\ into \.
6166 sed -n \
6167 "s/'/'\\\\''/g;
6168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6169 ;; #(
6170 *)
6171 # `set' quotes correctly as required by POSIX, so do not add quotes.
6172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6173 ;;
6174 esac |
6175 sort
6176 ) |
6177 sed '
6178 /^ac_cv_env_/b end
6179 t clear
6180 :clear
6181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6182 t end
6183 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6184 :end' >>confcache
6185 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6186 if test -w "$cache_file"; then
6187 if test "x$cache_file" != "x/dev/null"; then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6189 $as_echo "$as_me: updating cache $cache_file" >&6;}
6190 if test ! -f "$cache_file" || test -h "$cache_file"; then
6191 cat confcache >"$cache_file"
6192 else
6193 case $cache_file in #(
6194 */* | ?:*)
6195 mv -f confcache "$cache_file"$$ &&
6196 mv -f "$cache_file"$$ "$cache_file" ;; #(
6197 *)
6198 mv -f confcache "$cache_file" ;;
6199 esac
6200 fi
6201 fi
6202 else
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6204 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6205 fi
6206 fi
6207 rm -f confcache
6208
6209 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6210 # Let make expand exec_prefix.
6211 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6212
6213 # Transform confdefs.h into DEFS.
6214 # Protect against shell expansion while executing Makefile rules.
6215 # Protect against Makefile macro expansion.
6216 #
6217 # If the first sed substitution is executed (which looks for macros that
6218 # take arguments), then branch to the quote section. Otherwise,
6219 # look for a macro that doesn't take arguments.
6220 ac_script='
6221 :mline
6222 /\\$/{
6223 N
6224 s,\\\n,,
6225 b mline
6226 }
6227 t clear
6228 :clear
6229 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6230 t quote
6231 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6232 t quote
6233 b any
6234 :quote
6235 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6236 s/\[/\\&/g
6237 s/\]/\\&/g
6238 s/\$/$$/g
6239 H
6240 :any
6241 ${
6242 g
6243 s/^\n//
6244 s/\n/ /g
6245 p
6246 }
6247 '
6248 DEFS=`sed -n "$ac_script" confdefs.h`
6249
6250
6251 ac_libobjs=
6252 ac_ltlibobjs=
6253 U=
6254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6255 # 1. Remove the extension, and $U if already installed.
6256 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6257 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6258 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6259 # will be set to the directory where LIBOBJS objects are built.
6260 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6261 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6262 done
6263 LIBOBJS=$ac_libobjs
6264
6265 LTLIBOBJS=$ac_ltlibobjs
6266
6267
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6269 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6270 if test -n "$am_sleep_pid"; then
6271 # Hide warnings about reused PIDs.
6272 wait $am_sleep_pid 2>/dev/null
6273 fi
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6275 $as_echo "done" >&6; }
6276 if test -n "$EXEEXT"; then
6277 am__EXEEXT_TRUE=
6278 am__EXEEXT_FALSE='#'
6279 else
6280 am__EXEEXT_TRUE='#'
6281 am__EXEEXT_FALSE=
6282 fi
6283
6284 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6285 as_fn_error $? "conditional \"AMDEP\" was never defined.
6286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6287 fi
6288 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6289 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6291 fi
6292
6293 : "${CONFIG_STATUS=./config.status}"
6294 ac_write_fail=0
6295 ac_clean_files_save=$ac_clean_files
6296 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6298 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6299 as_write_fail=0
6300 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6301 #! $SHELL
6302 # Generated by $as_me.
6303 # Run this file to recreate the current configuration.
6304 # Compiler output produced by configure, useful for debugging
6305 # configure, is in config.log if it exists.
6306
6307 debug=false
6308 ac_cs_recheck=false
6309 ac_cs_silent=false
6310
6311 SHELL=\${CONFIG_SHELL-$SHELL}
6312 export SHELL
6313 _ASEOF
6314 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6315 ## -------------------- ##
6316 ## M4sh Initialization. ##
6317 ## -------------------- ##
6318
6319 # Be more Bourne compatible
6320 DUALCASE=1; export DUALCASE # for MKS sh
6321 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6322 emulate sh
6323 NULLCMD=:
6324 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6325 # is contrary to our usage. Disable this feature.
6326 alias -g '${1+"$@"}'='"$@"'
6327 setopt NO_GLOB_SUBST
6328 else
6329 case `(set -o) 2>/dev/null` in #(
6330 *posix*) :
6331 set -o posix ;; #(
6332 *) :
6333 ;;
6334 esac
6335 fi
6336
6337
6338 as_nl='
6339 '
6340 export as_nl
6341 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6342 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6343 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6344 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6345 # Prefer a ksh shell builtin over an external printf program on Solaris,
6346 # but without wasting forks for bash or zsh.
6347 if test -z "$BASH_VERSION$ZSH_VERSION" \
6348 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6349 as_echo='print -r --'
6350 as_echo_n='print -rn --'
6351 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6352 as_echo='printf %s\n'
6353 as_echo_n='printf %s'
6354 else
6355 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6356 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6357 as_echo_n='/usr/ucb/echo -n'
6358 else
6359 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6360 as_echo_n_body='eval
6361 arg=$1;
6362 case $arg in #(
6363 *"$as_nl"*)
6364 expr "X$arg" : "X\\(.*\\)$as_nl";
6365 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6366 esac;
6367 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6368 '
6369 export as_echo_n_body
6370 as_echo_n='sh -c $as_echo_n_body as_echo'
6371 fi
6372 export as_echo_body
6373 as_echo='sh -c $as_echo_body as_echo'
6374 fi
6375
6376 # The user is always right.
6377 if test "${PATH_SEPARATOR+set}" != set; then
6378 PATH_SEPARATOR=:
6379 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6380 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6381 PATH_SEPARATOR=';'
6382 }
6383 fi
6384
6385
6386 # IFS
6387 # We need space, tab and new line, in precisely that order. Quoting is
6388 # there to prevent editors from complaining about space-tab.
6389 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6390 # splitting by setting IFS to empty value.)
6391 IFS=" "" $as_nl"
6392
6393 # Find who we are. Look in the path if we contain no directory separator.
6394 as_myself=
6395 case $0 in #((
6396 *[\\/]* ) as_myself=$0 ;;
6397 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6398 for as_dir in $PATH
6399 do
6400 IFS=$as_save_IFS
6401 test -z "$as_dir" && as_dir=.
6402 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6403 done
6404 IFS=$as_save_IFS
6405
6406 ;;
6407 esac
6408 # We did not find ourselves, most probably we were run as `sh COMMAND'
6409 # in which case we are not to be found in the path.
6410 if test "x$as_myself" = x; then
6411 as_myself=$0
6412 fi
6413 if test ! -f "$as_myself"; then
6414 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6415 exit 1
6416 fi
6417
6418 # Unset variables that we do not need and which cause bugs (e.g. in
6419 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6420 # suppresses any "Segmentation fault" message there. '((' could
6421 # trigger a bug in pdksh 5.2.14.
6422 for as_var in BASH_ENV ENV MAIL MAILPATH
6423 do eval test x\${$as_var+set} = xset \
6424 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6425 done
6426 PS1='$ '
6427 PS2='> '
6428 PS4='+ '
6429
6430 # NLS nuisances.
6431 LC_ALL=C
6432 export LC_ALL
6433 LANGUAGE=C
6434 export LANGUAGE
6435
6436 # CDPATH.
6437 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6438
6439
6440 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6441 # ----------------------------------------
6442 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6443 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6444 # script with STATUS, using 1 if that was 0.
6445 as_fn_error ()
6446 {
6447 as_status=$1; test $as_status -eq 0 && as_status=1
6448 if test "$4"; then
6449 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6450 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6451 fi
6452 $as_echo "$as_me: error: $2" >&2
6453 as_fn_exit $as_status
6454 } # as_fn_error
6455
6456
6457 # as_fn_set_status STATUS
6458 # -----------------------
6459 # Set $? to STATUS, without forking.
6460 as_fn_set_status ()
6461 {
6462 return $1
6463 } # as_fn_set_status
6464
6465 # as_fn_exit STATUS
6466 # -----------------
6467 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6468 as_fn_exit ()
6469 {
6470 set +e
6471 as_fn_set_status $1
6472 exit $1
6473 } # as_fn_exit
6474
6475 # as_fn_unset VAR
6476 # ---------------
6477 # Portably unset VAR.
6478 as_fn_unset ()
6479 {
6480 { eval $1=; unset $1;}
6481 }
6482 as_unset=as_fn_unset
6483 # as_fn_append VAR VALUE
6484 # ----------------------
6485 # Append the text in VALUE to the end of the definition contained in VAR. Take
6486 # advantage of any shell optimizations that allow amortized linear growth over
6487 # repeated appends, instead of the typical quadratic growth present in naive
6488 # implementations.
6489 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6490 eval 'as_fn_append ()
6491 {
6492 eval $1+=\$2
6493 }'
6494 else
6495 as_fn_append ()
6496 {
6497 eval $1=\$$1\$2
6498 }
6499 fi # as_fn_append
6500
6501 # as_fn_arith ARG...
6502 # ------------------
6503 # Perform arithmetic evaluation on the ARGs, and store the result in the
6504 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6505 # must be portable across $(()) and expr.
6506 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6507 eval 'as_fn_arith ()
6508 {
6509 as_val=$(( $* ))
6510 }'
6511 else
6512 as_fn_arith ()
6513 {
6514 as_val=`expr "$@" || test $? -eq 1`
6515 }
6516 fi # as_fn_arith
6517
6518
6519 if expr a : '\(a\)' >/dev/null 2>&1 &&
6520 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6521 as_expr=expr
6522 else
6523 as_expr=false
6524 fi
6525
6526 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6527 as_basename=basename
6528 else
6529 as_basename=false
6530 fi
6531
6532 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6533 as_dirname=dirname
6534 else
6535 as_dirname=false
6536 fi
6537
6538 as_me=`$as_basename -- "$0" ||
6539 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6540 X"$0" : 'X\(//\)$' \| \
6541 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6542 $as_echo X/"$0" |
6543 sed '/^.*\/\([^/][^/]*\)\/*$/{
6544 s//\1/
6545 q
6546 }
6547 /^X\/\(\/\/\)$/{
6548 s//\1/
6549 q
6550 }
6551 /^X\/\(\/\).*/{
6552 s//\1/
6553 q
6554 }
6555 s/.*/./; q'`
6556
6557 # Avoid depending upon Character Ranges.
6558 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6559 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6560 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6561 as_cr_digits='0123456789'
6562 as_cr_alnum=$as_cr_Letters$as_cr_digits
6563
6564 ECHO_C= ECHO_N= ECHO_T=
6565 case `echo -n x` in #(((((
6566 -n*)
6567 case `echo 'xy\c'` in
6568 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6569 xy) ECHO_C='\c';;
6570 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6571 ECHO_T=' ';;
6572 esac;;
6573 *)
6574 ECHO_N='-n';;
6575 esac
6576
6577 rm -f conf$$ conf$$.exe conf$$.file
6578 if test -d conf$$.dir; then
6579 rm -f conf$$.dir/conf$$.file
6580 else
6581 rm -f conf$$.dir
6582 mkdir conf$$.dir 2>/dev/null
6583 fi
6584 if (echo >conf$$.file) 2>/dev/null; then
6585 if ln -s conf$$.file conf$$ 2>/dev/null; then
6586 as_ln_s='ln -s'
6587 # ... but there are two gotchas:
6588 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6589 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6590 # In both cases, we have to default to `cp -pR'.
6591 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6592 as_ln_s='cp -pR'
6593 elif ln conf$$.file conf$$ 2>/dev/null; then
6594 as_ln_s=ln
6595 else
6596 as_ln_s='cp -pR'
6597 fi
6598 else
6599 as_ln_s='cp -pR'
6600 fi
6601 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6602 rmdir conf$$.dir 2>/dev/null
6603
6604
6605 # as_fn_mkdir_p
6606 # -------------
6607 # Create "$as_dir" as a directory, including parents if necessary.
6608 as_fn_mkdir_p ()
6609 {
6610
6611 case $as_dir in #(
6612 -*) as_dir=./$as_dir;;
6613 esac
6614 test -d "$as_dir" || eval $as_mkdir_p || {
6615 as_dirs=
6616 while :; do
6617 case $as_dir in #(
6618 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6619 *) as_qdir=$as_dir;;
6620 esac
6621 as_dirs="'$as_qdir' $as_dirs"
6622 as_dir=`$as_dirname -- "$as_dir" ||
6623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6624 X"$as_dir" : 'X\(//\)[^/]' \| \
6625 X"$as_dir" : 'X\(//\)$' \| \
6626 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6627 $as_echo X"$as_dir" |
6628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6629 s//\1/
6630 q
6631 }
6632 /^X\(\/\/\)[^/].*/{
6633 s//\1/
6634 q
6635 }
6636 /^X\(\/\/\)$/{
6637 s//\1/
6638 q
6639 }
6640 /^X\(\/\).*/{
6641 s//\1/
6642 q
6643 }
6644 s/.*/./; q'`
6645 test -d "$as_dir" && break
6646 done
6647 test -z "$as_dirs" || eval "mkdir $as_dirs"
6648 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6649
6650
6651 } # as_fn_mkdir_p
6652 if mkdir -p . 2>/dev/null; then
6653 as_mkdir_p='mkdir -p "$as_dir"'
6654 else
6655 test -d ./-p && rmdir ./-p
6656 as_mkdir_p=false
6657 fi
6658
6659
6660 # as_fn_executable_p FILE
6661 # -----------------------
6662 # Test if FILE is an executable regular file.
6663 as_fn_executable_p ()
6664 {
6665 test -f "$1" && test -x "$1"
6666 } # as_fn_executable_p
6667 as_test_x='test -x'
6668 as_executable_p=as_fn_executable_p
6669
6670 # Sed expression to map a string onto a valid CPP name.
6671 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6672
6673 # Sed expression to map a string onto a valid variable name.
6674 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6675
6676
6677 exec 6>&1
6678 ## ----------------------------------- ##
6679 ## Main body of $CONFIG_STATUS script. ##
6680 ## ----------------------------------- ##
6681 _ASEOF
6682 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6683
6684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6685 # Save the log message, to keep $0 and so on meaningful, and to
6686 # report actual input values of CONFIG_FILES etc. instead of their
6687 # values after options handling.
6688 ac_log="
6689 This file was extended by obconf $as_me 2.0.4, which was
6690 generated by GNU Autoconf 2.69. Invocation command line was
6691
6692 CONFIG_FILES = $CONFIG_FILES
6693 CONFIG_HEADERS = $CONFIG_HEADERS
6694 CONFIG_LINKS = $CONFIG_LINKS
6695 CONFIG_COMMANDS = $CONFIG_COMMANDS
6696 $ $0 $@
6697
6698 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6699 "
6700
6701 _ACEOF
6702
6703 case $ac_config_files in *"
6704 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6705 esac
6706
6707
6708
6709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6710 # Files that config.status was made for.
6711 config_files="$ac_config_files"
6712 config_commands="$ac_config_commands"
6713
6714 _ACEOF
6715
6716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6717 ac_cs_usage="\
6718 \`$as_me' instantiates files and other configuration actions
6719 from templates according to the current configuration. Unless the files
6720 and actions are specified as TAGs, all are instantiated by default.
6721
6722 Usage: $0 [OPTION]... [TAG]...
6723
6724 -h, --help print this help, then exit
6725 -V, --version print version number and configuration settings, then exit
6726 --config print configuration, then exit
6727 -q, --quiet, --silent
6728 do not print progress messages
6729 -d, --debug don't remove temporary files
6730 --recheck update $as_me by reconfiguring in the same conditions
6731 --file=FILE[:TEMPLATE]
6732 instantiate the configuration file FILE
6733
6734 Configuration files:
6735 $config_files
6736
6737 Configuration commands:
6738 $config_commands
6739
6740 Report bugs to <http://bugzilla.icculus.org>."
6741
6742 _ACEOF
6743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6744 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6745 ac_cs_version="\\
6746 obconf config.status 2.0.4
6747 configured by $0, generated by GNU Autoconf 2.69,
6748 with options \\"\$ac_cs_config\\"
6749
6750 Copyright (C) 2012 Free Software Foundation, Inc.
6751 This config.status script is free software; the Free Software Foundation
6752 gives unlimited permission to copy, distribute and modify it."
6753
6754 ac_pwd='$ac_pwd'
6755 srcdir='$srcdir'
6756 INSTALL='$INSTALL'
6757 MKDIR_P='$MKDIR_P'
6758 AWK='$AWK'
6759 test -n "\$AWK" || AWK=awk
6760 _ACEOF
6761
6762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6763 # The default lists apply if the user does not specify any file.
6764 ac_need_defaults=:
6765 while test $# != 0
6766 do
6767 case $1 in
6768 --*=?*)
6769 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6770 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6771 ac_shift=:
6772 ;;
6773 --*=)
6774 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6775 ac_optarg=
6776 ac_shift=:
6777 ;;
6778 *)
6779 ac_option=$1
6780 ac_optarg=$2
6781 ac_shift=shift
6782 ;;
6783 esac
6784
6785 case $ac_option in
6786 # Handling of the options.
6787 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6788 ac_cs_recheck=: ;;
6789 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6790 $as_echo "$ac_cs_version"; exit ;;
6791 --config | --confi | --conf | --con | --co | --c )
6792 $as_echo "$ac_cs_config"; exit ;;
6793 --debug | --debu | --deb | --de | --d | -d )
6794 debug=: ;;
6795 --file | --fil | --fi | --f )
6796 $ac_shift
6797 case $ac_optarg in
6798 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6799 '') as_fn_error $? "missing file argument" ;;
6800 esac
6801 as_fn_append CONFIG_FILES " '$ac_optarg'"
6802 ac_need_defaults=false;;
6803 --he | --h | --help | --hel | -h )
6804 $as_echo "$ac_cs_usage"; exit ;;
6805 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6806 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6807 ac_cs_silent=: ;;
6808
6809 # This is an error.
6810 -*) as_fn_error $? "unrecognized option: \`$1'
6811 Try \`$0 --help' for more information." ;;
6812
6813 *) as_fn_append ac_config_targets " $1"
6814 ac_need_defaults=false ;;
6815
6816 esac
6817 shift
6818 done
6819
6820 ac_configure_extra_args=
6821
6822 if $ac_cs_silent; then
6823 exec 6>/dev/null
6824 ac_configure_extra_args="$ac_configure_extra_args --silent"
6825 fi
6826
6827 _ACEOF
6828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6829 if \$ac_cs_recheck; then
6830 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6831 shift
6832 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6833 CONFIG_SHELL='$SHELL'
6834 export CONFIG_SHELL
6835 exec "\$@"
6836 fi
6837
6838 _ACEOF
6839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6840 exec 5>>config.log
6841 {
6842 echo
6843 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6844 ## Running $as_me. ##
6845 _ASBOX
6846 $as_echo "$ac_log"
6847 } >&5
6848
6849 _ACEOF
6850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6851 #
6852 # INIT-COMMANDS
6853 #
6854 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6855 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
6856 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
6857 # from automake < 1.5.
6858 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
6859 # Capture the value of LINGUAS because we need it to compute CATALOGS.
6860 LINGUAS="${LINGUAS-%UNSET%}"
6861
6862
6863 _ACEOF
6864
6865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6866
6867 # Handling of arguments.
6868 for ac_config_target in $ac_config_targets
6869 do
6870 case $ac_config_target in
6871 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6872 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
6873 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6874 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
6875
6876 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6877 esac
6878 done
6879
6880
6881 # If the user did not use the arguments to specify the items to instantiate,
6882 # then the envvar interface is used. Set only those that are not.
6883 # We use the long form for the default assignment because of an extremely
6884 # bizarre bug on SunOS 4.1.3.
6885 if $ac_need_defaults; then
6886 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6887 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6888 fi
6889
6890 # Have a temporary directory for convenience. Make it in the build tree
6891 # simply because there is no reason against having it here, and in addition,
6892 # creating and moving files from /tmp can sometimes cause problems.
6893 # Hook for its removal unless debugging.
6894 # Note that there is a small window in which the directory will not be cleaned:
6895 # after its creation but before its name has been assigned to `$tmp'.
6896 $debug ||
6897 {
6898 tmp= ac_tmp=
6899 trap 'exit_status=$?
6900 : "${ac_tmp:=$tmp}"
6901 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6902 ' 0
6903 trap 'as_fn_exit 1' 1 2 13 15
6904 }
6905 # Create a (secure) tmp directory for tmp files.
6906
6907 {
6908 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6909 test -d "$tmp"
6910 } ||
6911 {
6912 tmp=./conf$$-$RANDOM
6913 (umask 077 && mkdir "$tmp")
6914 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6915 ac_tmp=$tmp
6916
6917 # Set up the scripts for CONFIG_FILES section.
6918 # No need to generate them if there are no CONFIG_FILES.
6919 # This happens for instance with `./config.status config.h'.
6920 if test -n "$CONFIG_FILES"; then
6921
6922
6923 ac_cr=`echo X | tr X '\015'`
6924 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6925 # But we know of no other shell where ac_cr would be empty at this
6926 # point, so we can use a bashism as a fallback.
6927 if test "x$ac_cr" = x; then
6928 eval ac_cr=\$\'\\r\'
6929 fi
6930 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6931 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6932 ac_cs_awk_cr='\\r'
6933 else
6934 ac_cs_awk_cr=$ac_cr
6935 fi
6936
6937 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6938 _ACEOF
6939
6940
6941 {
6942 echo "cat >conf$$subs.awk <<_ACEOF" &&
6943 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6944 echo "_ACEOF"
6945 } >conf$$subs.sh ||
6946 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6947 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6948 ac_delim='%!_!# '
6949 for ac_last_try in false false false false false :; do
6950 . ./conf$$subs.sh ||
6951 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6952
6953 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6954 if test $ac_delim_n = $ac_delim_num; then
6955 break
6956 elif $ac_last_try; then
6957 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6958 else
6959 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6960 fi
6961 done
6962 rm -f conf$$subs.sh
6963
6964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6965 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6966 _ACEOF
6967 sed -n '
6968 h
6969 s/^/S["/; s/!.*/"]=/
6970 p
6971 g
6972 s/^[^!]*!//
6973 :repl
6974 t repl
6975 s/'"$ac_delim"'$//
6976 t delim
6977 :nl
6978 h
6979 s/\(.\{148\}\)..*/\1/
6980 t more1
6981 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6982 p
6983 n
6984 b repl
6985 :more1
6986 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6987 p
6988 g
6989 s/.\{148\}//
6990 t nl
6991 :delim
6992 h
6993 s/\(.\{148\}\)..*/\1/
6994 t more2
6995 s/["\\]/\\&/g; s/^/"/; s/$/"/
6996 p
6997 b
6998 :more2
6999 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7000 p
7001 g
7002 s/.\{148\}//
7003 t delim
7004 ' <conf$$subs.awk | sed '
7005 /^[^""]/{
7006 N
7007 s/\n//
7008 }
7009 ' >>$CONFIG_STATUS || ac_write_fail=1
7010 rm -f conf$$subs.awk
7011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7012 _ACAWK
7013 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7014 for (key in S) S_is_set[key] = 1
7015 FS = ""
7016
7017 }
7018 {
7019 line = $ 0
7020 nfields = split(line, field, "@")
7021 substed = 0
7022 len = length(field[1])
7023 for (i = 2; i < nfields; i++) {
7024 key = field[i]
7025 keylen = length(key)
7026 if (S_is_set[key]) {
7027 value = S[key]
7028 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7029 len += length(value) + length(field[++i])
7030 substed = 1
7031 } else
7032 len += 1 + keylen
7033 }
7034
7035 print line
7036 }
7037
7038 _ACAWK
7039 _ACEOF
7040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7041 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7042 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7043 else
7044 cat
7045 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7046 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7047 _ACEOF
7048
7049 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7050 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7051 # trailing colons and then remove the whole line if VPATH becomes empty
7052 # (actually we leave an empty line to preserve line numbers).
7053 if test "x$srcdir" = x.; then
7054 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7055 h
7056 s///
7057 s/^/:/
7058 s/[ ]*$/:/
7059 s/:\$(srcdir):/:/g
7060 s/:\${srcdir}:/:/g
7061 s/:@srcdir@:/:/g
7062 s/^:*//
7063 s/:*$//
7064 x
7065 s/\(=[ ]*\).*/\1/
7066 G
7067 s/\n//
7068 s/^[^=]*=[ ]*$//
7069 }'
7070 fi
7071
7072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7073 fi # test -n "$CONFIG_FILES"
7074
7075
7076 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7077 shift
7078 for ac_tag
7079 do
7080 case $ac_tag in
7081 :[FHLC]) ac_mode=$ac_tag; continue;;
7082 esac
7083 case $ac_mode$ac_tag in
7084 :[FHL]*:*);;
7085 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7086 :[FH]-) ac_tag=-:-;;
7087 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7088 esac
7089 ac_save_IFS=$IFS
7090 IFS=:
7091 set x $ac_tag
7092 IFS=$ac_save_IFS
7093 shift
7094 ac_file=$1
7095 shift
7096
7097 case $ac_mode in
7098 :L) ac_source=$1;;
7099 :[FH])
7100 ac_file_inputs=
7101 for ac_f
7102 do
7103 case $ac_f in
7104 -) ac_f="$ac_tmp/stdin";;
7105 *) # Look for the file first in the build tree, then in the source tree
7106 # (if the path is not absolute). The absolute path cannot be DOS-style,
7107 # because $ac_f cannot contain `:'.
7108 test -f "$ac_f" ||
7109 case $ac_f in
7110 [\\/$]*) false;;
7111 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7112 esac ||
7113 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7114 esac
7115 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7116 as_fn_append ac_file_inputs " '$ac_f'"
7117 done
7118
7119 # Let's still pretend it is `configure' which instantiates (i.e., don't
7120 # use $as_me), people would be surprised to read:
7121 # /* config.h. Generated by config.status. */
7122 configure_input='Generated from '`
7123 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7124 `' by configure.'
7125 if test x"$ac_file" != x-; then
7126 configure_input="$ac_file. $configure_input"
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7128 $as_echo "$as_me: creating $ac_file" >&6;}
7129 fi
7130 # Neutralize special characters interpreted by sed in replacement strings.
7131 case $configure_input in #(
7132 *\&* | *\|* | *\\* )
7133 ac_sed_conf_input=`$as_echo "$configure_input" |
7134 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7135 *) ac_sed_conf_input=$configure_input;;
7136 esac
7137
7138 case $ac_tag in
7139 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7141 esac
7142 ;;
7143 esac
7144
7145 ac_dir=`$as_dirname -- "$ac_file" ||
7146 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7147 X"$ac_file" : 'X\(//\)[^/]' \| \
7148 X"$ac_file" : 'X\(//\)$' \| \
7149 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7150 $as_echo X"$ac_file" |
7151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7152 s//\1/
7153 q
7154 }
7155 /^X\(\/\/\)[^/].*/{
7156 s//\1/
7157 q
7158 }
7159 /^X\(\/\/\)$/{
7160 s//\1/
7161 q
7162 }
7163 /^X\(\/\).*/{
7164 s//\1/
7165 q
7166 }
7167 s/.*/./; q'`
7168 as_dir="$ac_dir"; as_fn_mkdir_p
7169 ac_builddir=.
7170
7171 case "$ac_dir" in
7172 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7173 *)
7174 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7175 # A ".." for each directory in $ac_dir_suffix.
7176 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7177 case $ac_top_builddir_sub in
7178 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7179 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7180 esac ;;
7181 esac
7182 ac_abs_top_builddir=$ac_pwd
7183 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7184 # for backward compatibility:
7185 ac_top_builddir=$ac_top_build_prefix
7186
7187 case $srcdir in
7188 .) # We are building in place.
7189 ac_srcdir=.
7190 ac_top_srcdir=$ac_top_builddir_sub
7191 ac_abs_top_srcdir=$ac_pwd ;;
7192 [\\/]* | ?:[\\/]* ) # Absolute name.
7193 ac_srcdir=$srcdir$ac_dir_suffix;
7194 ac_top_srcdir=$srcdir
7195 ac_abs_top_srcdir=$srcdir ;;
7196 *) # Relative name.
7197 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7198 ac_top_srcdir=$ac_top_build_prefix$srcdir
7199 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7200 esac
7201 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7202
7203
7204 case $ac_mode in
7205 :F)
7206 #
7207 # CONFIG_FILE
7208 #
7209
7210 case $INSTALL in
7211 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7212 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7213 esac
7214 ac_MKDIR_P=$MKDIR_P
7215 case $MKDIR_P in
7216 [\\/$]* | ?:[\\/]* ) ;;
7217 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7218 esac
7219 _ACEOF
7220
7221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7222 # If the template does not know about datarootdir, expand it.
7223 # FIXME: This hack should be removed a few years after 2.60.
7224 ac_datarootdir_hack=; ac_datarootdir_seen=
7225 ac_sed_dataroot='
7226 /datarootdir/ {
7227 p
7228 q
7229 }
7230 /@datadir@/p
7231 /@docdir@/p
7232 /@infodir@/p
7233 /@localedir@/p
7234 /@mandir@/p'
7235 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7236 *datarootdir*) ac_datarootdir_seen=yes;;
7237 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7239 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7240 _ACEOF
7241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7242 ac_datarootdir_hack='
7243 s&@datadir@&$datadir&g
7244 s&@docdir@&$docdir&g
7245 s&@infodir@&$infodir&g
7246 s&@localedir@&$localedir&g
7247 s&@mandir@&$mandir&g
7248 s&\\\${datarootdir}&$datarootdir&g' ;;
7249 esac
7250 _ACEOF
7251
7252 # Neutralize VPATH when `$srcdir' = `.'.
7253 # Shell code in configure.ac might set extrasub.
7254 # FIXME: do we really want to maintain this feature?
7255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7256 ac_sed_extra="$ac_vpsub
7257 $extrasub
7258 _ACEOF
7259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7260 :t
7261 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7262 s|@configure_input@|$ac_sed_conf_input|;t t
7263 s&@top_builddir@&$ac_top_builddir_sub&;t t
7264 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7265 s&@srcdir@&$ac_srcdir&;t t
7266 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7267 s&@top_srcdir@&$ac_top_srcdir&;t t
7268 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7269 s&@builddir@&$ac_builddir&;t t
7270 s&@abs_builddir@&$ac_abs_builddir&;t t
7271 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7272 s&@INSTALL@&$ac_INSTALL&;t t
7273 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7274 $ac_datarootdir_hack
7275 "
7276 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7277 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7278
7279 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7280 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7281 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7282 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7284 which seems to be undefined. Please make sure it is defined" >&5
7285 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7286 which seems to be undefined. Please make sure it is defined" >&2;}
7287
7288 rm -f "$ac_tmp/stdin"
7289 case $ac_file in
7290 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7291 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7292 esac \
7293 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7294 ;;
7295
7296
7297 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7298 $as_echo "$as_me: executing $ac_file commands" >&6;}
7299 ;;
7300 esac
7301
7302
7303 case $ac_file$ac_mode in
7304 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7305 # Older Autoconf quotes --file arguments for eval, but not when files
7306 # are listed without --file. Let's play safe and only enable the eval
7307 # if we detect the quoting.
7308 case $CONFIG_FILES in
7309 *\'*) eval set x "$CONFIG_FILES" ;;
7310 *) set x $CONFIG_FILES ;;
7311 esac
7312 shift
7313 for mf
7314 do
7315 # Strip MF so we end up with the name of the file.
7316 mf=`echo "$mf" | sed -e 's/:.*$//'`
7317 # Check whether this is an Automake generated Makefile or not.
7318 # We used to match only the files named 'Makefile.in', but
7319 # some people rename them; so instead we look at the file content.
7320 # Grep'ing the first line is not enough: some people post-process
7321 # each Makefile.in and add a new line on top of each file to say so.
7322 # Grep'ing the whole file is not good either: AIX grep has a line
7323 # limit of 2048, but all sed's we know have understand at least 4000.
7324 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7325 dirpart=`$as_dirname -- "$mf" ||
7326 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7327 X"$mf" : 'X\(//\)[^/]' \| \
7328 X"$mf" : 'X\(//\)$' \| \
7329 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7330 $as_echo X"$mf" |
7331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7332 s//\1/
7333 q
7334 }
7335 /^X\(\/\/\)[^/].*/{
7336 s//\1/
7337 q
7338 }
7339 /^X\(\/\/\)$/{
7340 s//\1/
7341 q
7342 }
7343 /^X\(\/\).*/{
7344 s//\1/
7345 q
7346 }
7347 s/.*/./; q'`
7348 else
7349 continue
7350 fi
7351 # Extract the definition of DEPDIR, am__include, and am__quote
7352 # from the Makefile without running 'make'.
7353 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7354 test -z "$DEPDIR" && continue
7355 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7356 test -z "$am__include" && continue
7357 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7358 # Find all dependency output files, they are included files with
7359 # $(DEPDIR) in their names. We invoke sed twice because it is the
7360 # simplest approach to changing $(DEPDIR) to its actual value in the
7361 # expansion.
7362 for file in `sed -n "
7363 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7364 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7365 # Make sure the directory exists.
7366 test -f "$dirpart/$file" && continue
7367 fdir=`$as_dirname -- "$file" ||
7368 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7369 X"$file" : 'X\(//\)[^/]' \| \
7370 X"$file" : 'X\(//\)$' \| \
7371 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7372 $as_echo X"$file" |
7373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7374 s//\1/
7375 q
7376 }
7377 /^X\(\/\/\)[^/].*/{
7378 s//\1/
7379 q
7380 }
7381 /^X\(\/\/\)$/{
7382 s//\1/
7383 q
7384 }
7385 /^X\(\/\).*/{
7386 s//\1/
7387 q
7388 }
7389 s/.*/./; q'`
7390 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7391 # echo "creating $dirpart/$file"
7392 echo '# dummy' > "$dirpart/$file"
7393 done
7394 done
7395 }
7396 ;;
7397 "po-directories":C)
7398 for ac_file in $CONFIG_FILES; do
7399 # Support "outfile[:infile[:infile...]]"
7400 case "$ac_file" in
7401 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7402 esac
7403 # PO directories have a Makefile.in generated from Makefile.in.in.
7404 case "$ac_file" in */Makefile.in)
7405 # Adjust a relative srcdir.
7406 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7407 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7408 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7409 # In autoconf-2.13 it is called $ac_given_srcdir.
7410 # In autoconf-2.50 it is called $srcdir.
7411 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7412 case "$ac_given_srcdir" in
7413 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7414 /*) top_srcdir="$ac_given_srcdir" ;;
7415 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7416 esac
7417 # Treat a directory as a PO directory if and only if it has a
7418 # POTFILES.in file. This allows packages to have multiple PO
7419 # directories under different names or in different locations.
7420 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7421 rm -f "$ac_dir/POTFILES"
7422 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7423 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7424 POMAKEFILEDEPS="POTFILES.in"
7425 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
7426 # on $ac_dir but don't depend on user-specified configuration
7427 # parameters.
7428 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7429 # The LINGUAS file contains the set of available languages.
7430 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7431 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7432 fi
7433 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7434 # Hide the ALL_LINGUAS assigment from automake < 1.5.
7435 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7436 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7437 else
7438 # The set of available languages was given in configure.in.
7439 # Hide the ALL_LINGUAS assigment from automake < 1.5.
7440 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7441 fi
7442 # Compute POFILES
7443 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
7444 # Compute UPDATEPOFILES
7445 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
7446 # Compute DUMMYPOFILES
7447 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
7448 # Compute GMOFILES
7449 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
7450 case "$ac_given_srcdir" in
7451 .) srcdirpre= ;;
7452 *) srcdirpre='$(srcdir)/' ;;
7453 esac
7454 POFILES=
7455 UPDATEPOFILES=
7456 DUMMYPOFILES=
7457 GMOFILES=
7458 for lang in $ALL_LINGUAS; do
7459 POFILES="$POFILES $srcdirpre$lang.po"
7460 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7461 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7462 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7463 done
7464 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7465 # environment variable.
7466 INST_LINGUAS=
7467 if test -n "$ALL_LINGUAS"; then
7468 for presentlang in $ALL_LINGUAS; do
7469 useit=no
7470 if test "%UNSET%" != "$LINGUAS"; then
7471 desiredlanguages="$LINGUAS"
7472 else
7473 desiredlanguages="$ALL_LINGUAS"
7474 fi
7475 for desiredlang in $desiredlanguages; do
7476 # Use the presentlang catalog if desiredlang is
7477 # a. equal to presentlang, or
7478 # b. a variant of presentlang (because in this case,
7479 # presentlang can be used as a fallback for messages
7480 # which are not translated in the desiredlang catalog).
7481 case "$desiredlang" in
7482 "$presentlang"*) useit=yes;;
7483 esac
7484 done
7485 if test $useit = yes; then
7486 INST_LINGUAS="$INST_LINGUAS $presentlang"
7487 fi
7488 done
7489 fi
7490 CATALOGS=
7491 if test -n "$INST_LINGUAS"; then
7492 for lang in $INST_LINGUAS; do
7493 CATALOGS="$CATALOGS $lang.gmo"
7494 done
7495 fi
7496 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7497 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"
7498 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7499 if test -f "$f"; then
7500 case "$f" in
7501 *.orig | *.bak | *~) ;;
7502 *) cat "$f" >> "$ac_dir/Makefile" ;;
7503 esac
7504 fi
7505 done
7506 fi
7507 ;;
7508 esac
7509 done ;;
7510
7511 esac
7512 done # for ac_tag
7513
7514
7515 as_fn_exit 0
7516 _ACEOF
7517 ac_clean_files=$ac_clean_files_save
7518
7519 test $ac_write_fail = 0 ||
7520 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7521
7522
7523 # configure is writing to config.log, and then calls config.status.
7524 # config.status does its own redirection, appending to config.log.
7525 # Unfortunately, on DOS this fails, as config.log is still kept open
7526 # by configure, so config.status won't be able to write to it; its
7527 # output is simply discarded. So we exec the FD to /dev/null,
7528 # effectively closing config.log, so it can be properly (re)opened and
7529 # appended to by config.status. When coming back to configure, we
7530 # need to make the FD available again.
7531 if test "$no_create" != yes; then
7532 ac_cs_success=:
7533 ac_config_status_args=
7534 test "$silent" = yes &&
7535 ac_config_status_args="$ac_config_status_args --quiet"
7536 exec 5>/dev/null
7537 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7538 exec 5>>config.log
7539 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7540 # would make configure fail if this is the last instruction.
7541 $ac_cs_success || as_fn_exit 1
7542 fi
7543 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7545 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7546 fi
7547
7548
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
7550 $as_echo "" >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: configure complete, now type \"make\"" >&5
7552 $as_echo "configure complete, now type \"make\"" >&6; }