~ubuntu-branches/ubuntu/trusty/yelp-xsl/trusty

1 by Robert Ancell
Import upstream version 2.31.6
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
1.1.20 by Michael Biebl
Import upstream version 3.10.1
3
# Generated by GNU Autoconf 2.66 for yelp-xsl 3.10.1.
1 by Robert Ancell
Import upstream version 2.31.6
4
#
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-xsl>.
6
#
7
#
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.1.1 by Robert Ancell
Import upstream version 2.91.8
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
# Foundation, Inc.
1 by Robert Ancell
Import upstream version 2.31.6
11
#
12
#
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
18
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
  emulate sh
23
  NULLCMD=:
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
  # is contrary to our usage.  Disable this feature.
26
  alias -g '${1+"$@"}'='"$@"'
27
  setopt NO_GLOB_SUBST
28
else
29
  case `(set -o) 2>/dev/null` in #(
30
  *posix*) :
31
    set -o posix ;; #(
32
  *) :
33
     ;;
34
esac
35
fi
36
37
38
as_nl='
39
'
40
export as_nl
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
  as_echo='print -r --'
50
  as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
  as_echo='printf %s\n'
53
  as_echo_n='printf %s'
54
else
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
    as_echo_n='/usr/ucb/echo -n'
58
  else
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
    as_echo_n_body='eval
61
      arg=$1;
62
      case $arg in #(
63
      *"$as_nl"*)
64
	expr "X$arg" : "X\\(.*\\)$as_nl";
65
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
      esac;
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
    '
69
    export as_echo_n_body
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
  fi
72
  export as_echo_body
73
  as_echo='sh -c $as_echo_body as_echo'
74
fi
75
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
78
  PATH_SEPARATOR=:
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
      PATH_SEPARATOR=';'
82
  }
83
fi
84
85
86
# IFS
87
# We need space, tab and new line, in precisely that order.  Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
91
IFS=" ""	$as_nl"
92
93
# Find who we are.  Look in the path if we contain no directory separator.
94
case $0 in #((
95
  *[\\/]* ) as_myself=$0 ;;
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97
for as_dir in $PATH
98
do
99
  IFS=$as_save_IFS
100
  test -z "$as_dir" && as_dir=.
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102
  done
103
IFS=$as_save_IFS
104
105
     ;;
106
esac
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
110
  as_myself=$0
111
fi
112
if test ! -f "$as_myself"; then
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114
  exit 1
115
fi
116
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there.  '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124
done
125
PS1='$ '
126
PS2='> '
127
PS4='+ '
128
129
# NLS nuisances.
130
LC_ALL=C
131
export LC_ALL
132
LANGUAGE=C
133
export LANGUAGE
134
135
# CDPATH.
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138
if test "x$CONFIG_SHELL" = x; then
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
  emulate sh
141
  NULLCMD=:
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
  # is contrary to our usage.  Disable this feature.
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
  setopt NO_GLOB_SUBST
146
else
147
  case \`(set -o) 2>/dev/null\` in #(
148
  *posix*) :
149
    set -o posix ;; #(
150
  *) :
151
     ;;
152
esac
153
fi
154
"
155
  as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
160
161
exitcode=0
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168
else
169
  exitcode=1; echo positional parameters were not saved.
170
fi
171
test x\$exitcode = x0 || exit 1"
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176
  if (eval "$as_required") 2>/dev/null; then :
177
  as_have_required=yes
178
else
179
  as_have_required=no
180
fi
181
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183
else
184
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
as_found=false
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187
do
188
  IFS=$as_save_IFS
189
  test -z "$as_dir" && as_dir=.
190
  as_found=:
191
  case $as_dir in #(
192
	 /*)
193
	   for as_base in sh bash ksh sh5; do
194
	     # Try only shells that exist, to save several forks.
195
	     as_shell=$as_dir/$as_base
196
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
  CONFIG_SHELL=$as_shell as_have_required=yes
199
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200
  break 2
201
fi
202
fi
203
	   done;;
204
       esac
205
  as_found=false
206
done
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209
  CONFIG_SHELL=$SHELL as_have_required=yes
210
fi; }
211
IFS=$as_save_IFS
212
213
214
      if test "x$CONFIG_SHELL" != x; then :
215
  # We cannot yet assume a decent shell, so we have to provide a
216
	# neutralization value for shells without unset; and this also
217
	# works around shells that cannot unset nonexistent variables.
218
	BASH_ENV=/dev/null
219
	ENV=/dev/null
220
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
	export CONFIG_SHELL
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
222
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
1 by Robert Ancell
Import upstream version 2.31.6
223
fi
224
225
    if test x$as_have_required = xno; then :
226
  $as_echo "$0: This script requires a shell more modern than all"
227
  $as_echo "$0: the shells that I found on your system."
228
  if test x${ZSH_VERSION+set} = xset ; then
229
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
  else
232
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
233
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-xsl
234
$0: about your system, including any error possibly output
235
$0: before this message. Then install a modern shell, or
236
$0: manually run the script under such a shell if you do
237
$0: have one."
238
  fi
239
  exit 1
240
fi
241
fi
242
fi
243
SHELL=${CONFIG_SHELL-/bin/sh}
244
export SHELL
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
248
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
252
# as_fn_unset VAR
253
# ---------------
254
# Portably unset VAR.
255
as_fn_unset ()
256
{
257
  { eval $1=; unset $1;}
258
}
259
as_unset=as_fn_unset
260
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
264
as_fn_set_status ()
265
{
266
  return $1
267
} # as_fn_set_status
268
269
# as_fn_exit STATUS
270
# -----------------
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272
as_fn_exit ()
273
{
274
  set +e
275
  as_fn_set_status $1
276
  exit $1
277
} # as_fn_exit
278
279
# as_fn_mkdir_p
280
# -------------
281
# Create "$as_dir" as a directory, including parents if necessary.
282
as_fn_mkdir_p ()
283
{
284
285
  case $as_dir in #(
286
  -*) as_dir=./$as_dir;;
287
  esac
288
  test -d "$as_dir" || eval $as_mkdir_p || {
289
    as_dirs=
290
    while :; do
291
      case $as_dir in #(
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
      *) as_qdir=$as_dir;;
294
      esac
295
      as_dirs="'$as_qdir' $as_dirs"
296
      as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
	 X"$as_dir" : 'X\(//\)[^/]' \| \
299
	 X"$as_dir" : 'X\(//\)$' \| \
300
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303
	    s//\1/
304
	    q
305
	  }
306
	  /^X\(\/\/\)[^/].*/{
307
	    s//\1/
308
	    q
309
	  }
310
	  /^X\(\/\/\)$/{
311
	    s//\1/
312
	    q
313
	  }
314
	  /^X\(\/\).*/{
315
	    s//\1/
316
	    q
317
	  }
318
	  s/.*/./; q'`
319
      test -d "$as_dir" && break
320
    done
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
1.1.1 by Robert Ancell
Import upstream version 2.91.8
322
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1 by Robert Ancell
Import upstream version 2.31.6
323
324
325
} # as_fn_mkdir_p
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
331
# implementations.
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
  eval 'as_fn_append ()
334
  {
335
    eval $1+=\$2
336
  }'
337
else
338
  as_fn_append ()
339
  {
340
    eval $1=\$$1\$2
341
  }
342
fi # as_fn_append
343
344
# as_fn_arith ARG...
345
# ------------------
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350
  eval 'as_fn_arith ()
351
  {
352
    as_val=$(( $* ))
353
  }'
354
else
355
  as_fn_arith ()
356
  {
357
    as_val=`expr "$@" || test $? -eq 1`
358
  }
359
fi # as_fn_arith
360
361
1.1.1 by Robert Ancell
Import upstream version 2.91.8
362
# as_fn_error STATUS ERROR [LINENO LOG_FD]
363
# ----------------------------------------
1 by Robert Ancell
Import upstream version 2.31.6
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.1.1 by Robert Ancell
Import upstream version 2.91.8
366
# script with STATUS, using 1 if that was 0.
1 by Robert Ancell
Import upstream version 2.31.6
367
as_fn_error ()
368
{
1.1.1 by Robert Ancell
Import upstream version 2.91.8
369
  as_status=$1; test $as_status -eq 0 && as_status=1
370
  if test "$4"; then
371
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1 by Robert Ancell
Import upstream version 2.31.6
373
  fi
1.1.1 by Robert Ancell
Import upstream version 2.91.8
374
  $as_echo "$as_me: error: $2" >&2
1 by Robert Ancell
Import upstream version 2.31.6
375
  as_fn_exit $as_status
376
} # as_fn_error
377
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
  as_expr=expr
381
else
382
  as_expr=false
383
fi
384
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
  as_basename=basename
387
else
388
  as_basename=false
389
fi
390
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
  as_dirname=dirname
393
else
394
  as_dirname=false
395
fi
396
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
	 X"$0" : 'X\(//\)$' \| \
400
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
$as_echo X/"$0" |
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
403
	    s//\1/
404
	    q
405
	  }
406
	  /^X\/\(\/\/\)$/{
407
	    s//\1/
408
	    q
409
	  }
410
	  /^X\/\(\/\).*/{
411
	    s//\1/
412
	    q
413
	  }
414
	  s/.*/./; q'`
415
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429
  sed -n '
430
    p
431
    /[$]LINENO/=
432
  ' <$as_myself |
433
    sed '
434
      s/[$]LINENO.*/&-/
435
      t lineno
436
      b
437
      :lineno
438
      N
439
      :loop
440
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
      t loop
442
      s/-\n.*//
443
    ' >$as_me.lineno &&
444
  chmod +x "$as_me.lineno" ||
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447
  # Don't try to exec as it changes $[0], causing all sort of problems
448
  # (the dirname of $[0] is not the place where we might find the
449
  # original and so on.  Autoconf is especially sensitive to this).
450
  . "./$as_me.lineno"
451
  # Exit status is that of the last command.
452
  exit
453
}
454
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in #(((((
457
-n*)
458
  case `echo 'xy\c'` in
459
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
460
  xy)  ECHO_C='\c';;
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462
       ECHO_T='	';;
463
  esac;;
464
*)
465
  ECHO_N='-n';;
466
esac
467
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
  rm -f conf$$.dir/conf$$.file
471
else
472
  rm -f conf$$.dir
473
  mkdir conf$$.dir 2>/dev/null
474
fi
475
if (echo >conf$$.file) 2>/dev/null; then
476
  if ln -s conf$$.file conf$$ 2>/dev/null; then
477
    as_ln_s='ln -s'
478
    # ... but there are two gotchas:
479
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
    # In both cases, we have to default to `cp -p'.
482
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483
      as_ln_s='cp -p'
484
  elif ln conf$$.file conf$$ 2>/dev/null; then
485
    as_ln_s=ln
486
  else
487
    as_ln_s='cp -p'
488
  fi
489
else
490
  as_ln_s='cp -p'
491
fi
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
494
495
if mkdir -p . 2>/dev/null; then
496
  as_mkdir_p='mkdir -p "$as_dir"'
497
else
498
  test -d ./-p && rmdir ./-p
499
  as_mkdir_p=false
500
fi
501
502
if test -x / >/dev/null 2>&1; then
503
  as_test_x='test -x'
504
else
505
  if ls -dL / >/dev/null 2>&1; then
506
    as_ls_L_option=L
507
  else
508
    as_ls_L_option=
509
  fi
510
  as_test_x='
511
    eval sh -c '\''
512
      if test -d "$1"; then
513
	test -d "$1/.";
514
      else
515
	case $1 in #(
516
	-*)set "./$1";;
517
	esac;
518
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
	???[sx]*):;;*)false;;esac;fi
520
    '\'' sh
521
  '
522
fi
523
as_executable_p=$as_test_x
524
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
test -n "$DJDIR" || exec 7<&0 </dev/null
533
exec 6>&1
534
535
# Name of the host.
1.1.1 by Robert Ancell
Import upstream version 2.91.8
536
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1 by Robert Ancell
Import upstream version 2.31.6
537
# so uname gets run too.
538
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539
540
#
541
# Initializations.
542
#
543
ac_default_prefix=/usr/local
544
ac_clean_files=
545
ac_config_libobj_dir=.
546
LIBOBJS=
547
cross_compiling=no
548
subdirs=
549
MFLAGS=
550
MAKEFLAGS=
551
552
# Identity of this package.
553
PACKAGE_NAME='yelp-xsl'
554
PACKAGE_TARNAME='yelp-xsl'
1.1.20 by Michael Biebl
Import upstream version 3.10.1
555
PACKAGE_VERSION='3.10.1'
556
PACKAGE_STRING='yelp-xsl 3.10.1'
1 by Robert Ancell
Import upstream version 2.31.6
557
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-xsl'
558
PACKAGE_URL=''
559
560
ac_subst_vars='am__EXEEXT_FALSE
561
am__EXEEXT_TRUE
562
LTLIBOBJS
563
LIBOBJS
564
ENABLE_DOC_FALSE
565
ENABLE_DOC_TRUE
566
DATADIRNAME
567
am__fastdepCC_FALSE
568
am__fastdepCC_TRUE
569
CCDEPMODE
570
AMDEPBACKSLASH
571
AMDEP_FALSE
572
AMDEP_TRUE
573
am__quote
574
am__include
575
DEPDIR
576
OBJEXT
577
EXEEXT
578
ac_ct_CC
579
CPPFLAGS
580
LDFLAGS
581
CFLAGS
582
CC
583
ALL_LINGUAS
584
INTLTOOL_PERL
585
GMSGFMT
586
MSGFMT
587
MSGMERGE
588
XGETTEXT
589
INTLTOOL_POLICY_RULE
590
INTLTOOL_SERVICE_RULE
591
INTLTOOL_THEME_RULE
592
INTLTOOL_SCHEMAS_RULE
593
INTLTOOL_CAVES_RULE
594
INTLTOOL_XML_NOMERGE_RULE
595
INTLTOOL_XML_RULE
596
INTLTOOL_KBD_RULE
597
INTLTOOL_XAM_RULE
598
INTLTOOL_UI_RULE
599
INTLTOOL_SOUNDLIST_RULE
600
INTLTOOL_SHEET_RULE
601
INTLTOOL_SERVER_RULE
602
INTLTOOL_PONG_RULE
603
INTLTOOL_OAF_RULE
604
INTLTOOL_PROP_RULE
605
INTLTOOL_KEYS_RULE
606
INTLTOOL_DIRECTORY_RULE
607
INTLTOOL_DESKTOP_RULE
608
INTLTOOL_EXTRACT
609
INTLTOOL_MERGE
610
INTLTOOL_UPDATE
611
USE_NLS
612
GETTEXT_PACKAGE
613
YELP_XSL_LIBS
614
YELP_XSL_CFLAGS
1.1.1 by Robert Ancell
Import upstream version 2.91.8
615
PKG_CONFIG_LIBDIR
616
PKG_CONFIG_PATH
1 by Robert Ancell
Import upstream version 2.31.6
617
PKG_CONFIG
1.1.8 by Michael Terry
Import upstream version 3.1.2
618
ITSTOOL
1 by Robert Ancell
Import upstream version 2.31.6
619
YELP_XSL_AWK
620
am__untar
621
am__tar
622
AMTAR
623
am__leading_dot
624
SET_MAKE
625
AWK
626
mkdir_p
627
MKDIR_P
628
INSTALL_STRIP_PROGRAM
629
STRIP
630
install_sh
631
MAKEINFO
632
AUTOHEADER
633
AUTOMAKE
634
AUTOCONF
635
ACLOCAL
636
VERSION
637
PACKAGE
638
CYGPATH_W
639
am__isrc
640
INSTALL_DATA
641
INSTALL_SCRIPT
642
INSTALL_PROGRAM
643
target_alias
644
host_alias
645
build_alias
646
LIBS
647
ECHO_T
648
ECHO_N
649
ECHO_C
650
DEFS
651
mandir
652
localedir
653
libdir
654
psdir
655
pdfdir
656
dvidir
657
htmldir
658
infodir
659
docdir
660
oldincludedir
661
includedir
662
localstatedir
663
sharedstatedir
664
sysconfdir
665
datadir
666
datarootdir
667
libexecdir
668
sbindir
669
bindir
670
program_transform_name
671
prefix
672
exec_prefix
673
PACKAGE_URL
674
PACKAGE_BUGREPORT
675
PACKAGE_STRING
676
PACKAGE_VERSION
677
PACKAGE_TARNAME
678
PACKAGE_NAME
679
PATH_SEPARATOR
680
SHELL'
681
ac_subst_files=''
682
ac_user_opts='
683
enable_option_checking
684
enable_nls
685
enable_dependency_tracking
686
enable_doc
687
'
688
      ac_precious_vars='build_alias
689
host_alias
690
target_alias
1.1.8 by Michael Terry
Import upstream version 3.1.2
691
ITSTOOL
1 by Robert Ancell
Import upstream version 2.31.6
692
PKG_CONFIG
1.1.1 by Robert Ancell
Import upstream version 2.91.8
693
PKG_CONFIG_PATH
694
PKG_CONFIG_LIBDIR
1 by Robert Ancell
Import upstream version 2.31.6
695
YELP_XSL_CFLAGS
696
YELP_XSL_LIBS
697
CC
698
CFLAGS
699
LDFLAGS
700
LIBS
701
CPPFLAGS'
702
703
704
# Initialize some variables set by options.
705
ac_init_help=
706
ac_init_version=false
707
ac_unrecognized_opts=
708
ac_unrecognized_sep=
709
# The variables have the same names as the options, with
710
# dashes changed to underlines.
711
cache_file=/dev/null
712
exec_prefix=NONE
713
no_create=
714
no_recursion=
715
prefix=NONE
716
program_prefix=NONE
717
program_suffix=NONE
718
program_transform_name=s,x,x,
719
silent=
720
site=
721
srcdir=
722
verbose=
723
x_includes=NONE
724
x_libraries=NONE
725
726
# Installation directory options.
727
# These are left unexpanded so users can "make install exec_prefix=/foo"
728
# and all the variables that are supposed to be based on exec_prefix
729
# by default will actually change.
730
# Use braces instead of parens because sh, perl, etc. also accept them.
731
# (The list follows the same order as the GNU Coding Standards.)
732
bindir='${exec_prefix}/bin'
733
sbindir='${exec_prefix}/sbin'
734
libexecdir='${exec_prefix}/libexec'
735
datarootdir='${prefix}/share'
736
datadir='${datarootdir}'
737
sysconfdir='${prefix}/etc'
738
sharedstatedir='${prefix}/com'
739
localstatedir='${prefix}/var'
740
includedir='${prefix}/include'
741
oldincludedir='/usr/include'
742
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
743
infodir='${datarootdir}/info'
744
htmldir='${docdir}'
745
dvidir='${docdir}'
746
pdfdir='${docdir}'
747
psdir='${docdir}'
748
libdir='${exec_prefix}/lib'
749
localedir='${datarootdir}/locale'
750
mandir='${datarootdir}/man'
751
752
ac_prev=
753
ac_dashdash=
754
for ac_option
755
do
756
  # If the previous option needs an argument, assign it.
757
  if test -n "$ac_prev"; then
758
    eval $ac_prev=\$ac_option
759
    ac_prev=
760
    continue
761
  fi
762
763
  case $ac_option in
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
764
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
765
  *)	ac_optarg=yes ;;
1 by Robert Ancell
Import upstream version 2.31.6
766
  esac
767
768
  # Accept the important Cygnus configure options, so we can diagnose typos.
769
770
  case $ac_dashdash$ac_option in
771
  --)
772
    ac_dashdash=yes ;;
773
774
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
775
    ac_prev=bindir ;;
776
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
777
    bindir=$ac_optarg ;;
778
779
  -build | --build | --buil | --bui | --bu)
780
    ac_prev=build_alias ;;
781
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
782
    build_alias=$ac_optarg ;;
783
784
  -cache-file | --cache-file | --cache-fil | --cache-fi \
785
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
786
    ac_prev=cache_file ;;
787
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
788
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
789
    cache_file=$ac_optarg ;;
790
791
  --config-cache | -C)
792
    cache_file=config.cache ;;
793
794
  -datadir | --datadir | --datadi | --datad)
795
    ac_prev=datadir ;;
796
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
797
    datadir=$ac_optarg ;;
798
799
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
800
  | --dataroo | --dataro | --datar)
801
    ac_prev=datarootdir ;;
802
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
803
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
804
    datarootdir=$ac_optarg ;;
805
806
  -disable-* | --disable-*)
807
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
808
    # Reject names that are not valid shell variable names.
809
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1 by Robert Ancell
Import upstream version 2.91.8
810
      as_fn_error $? "invalid feature name: $ac_useropt"
1 by Robert Ancell
Import upstream version 2.31.6
811
    ac_useropt_orig=$ac_useropt
812
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813
    case $ac_user_opts in
814
      *"
815
"enable_$ac_useropt"
816
"*) ;;
817
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
818
	 ac_unrecognized_sep=', ';;
819
    esac
820
    eval enable_$ac_useropt=no ;;
821
822
  -docdir | --docdir | --docdi | --doc | --do)
823
    ac_prev=docdir ;;
824
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825
    docdir=$ac_optarg ;;
826
827
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
828
    ac_prev=dvidir ;;
829
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830
    dvidir=$ac_optarg ;;
831
832
  -enable-* | --enable-*)
833
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834
    # Reject names that are not valid shell variable names.
835
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1 by Robert Ancell
Import upstream version 2.91.8
836
      as_fn_error $? "invalid feature name: $ac_useropt"
1 by Robert Ancell
Import upstream version 2.31.6
837
    ac_useropt_orig=$ac_useropt
838
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839
    case $ac_user_opts in
840
      *"
841
"enable_$ac_useropt"
842
"*) ;;
843
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844
	 ac_unrecognized_sep=', ';;
845
    esac
846
    eval enable_$ac_useropt=\$ac_optarg ;;
847
848
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850
  | --exec | --exe | --ex)
851
    ac_prev=exec_prefix ;;
852
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854
  | --exec=* | --exe=* | --ex=*)
855
    exec_prefix=$ac_optarg ;;
856
857
  -gas | --gas | --ga | --g)
858
    # Obsolete; use --with-gas.
859
    with_gas=yes ;;
860
861
  -help | --help | --hel | --he | -h)
862
    ac_init_help=long ;;
863
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864
    ac_init_help=recursive ;;
865
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866
    ac_init_help=short ;;
867
868
  -host | --host | --hos | --ho)
869
    ac_prev=host_alias ;;
870
  -host=* | --host=* | --hos=* | --ho=*)
871
    host_alias=$ac_optarg ;;
872
873
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
874
    ac_prev=htmldir ;;
875
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
876
  | --ht=*)
877
    htmldir=$ac_optarg ;;
878
879
  -includedir | --includedir | --includedi | --included | --include \
880
  | --includ | --inclu | --incl | --inc)
881
    ac_prev=includedir ;;
882
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883
  | --includ=* | --inclu=* | --incl=* | --inc=*)
884
    includedir=$ac_optarg ;;
885
886
  -infodir | --infodir | --infodi | --infod | --info | --inf)
887
    ac_prev=infodir ;;
888
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889
    infodir=$ac_optarg ;;
890
891
  -libdir | --libdir | --libdi | --libd)
892
    ac_prev=libdir ;;
893
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
894
    libdir=$ac_optarg ;;
895
896
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897
  | --libexe | --libex | --libe)
898
    ac_prev=libexecdir ;;
899
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900
  | --libexe=* | --libex=* | --libe=*)
901
    libexecdir=$ac_optarg ;;
902
903
  -localedir | --localedir | --localedi | --localed | --locale)
904
    ac_prev=localedir ;;
905
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906
    localedir=$ac_optarg ;;
907
908
  -localstatedir | --localstatedir | --localstatedi | --localstated \
909
  | --localstate | --localstat | --localsta | --localst | --locals)
910
    ac_prev=localstatedir ;;
911
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913
    localstatedir=$ac_optarg ;;
914
915
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
916
    ac_prev=mandir ;;
917
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
918
    mandir=$ac_optarg ;;
919
920
  -nfp | --nfp | --nf)
921
    # Obsolete; use --without-fp.
922
    with_fp=no ;;
923
924
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925
  | --no-cr | --no-c | -n)
926
    no_create=yes ;;
927
928
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930
    no_recursion=yes ;;
931
932
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934
  | --oldin | --oldi | --old | --ol | --o)
935
    ac_prev=oldincludedir ;;
936
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939
    oldincludedir=$ac_optarg ;;
940
941
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
942
    ac_prev=prefix ;;
943
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944
    prefix=$ac_optarg ;;
945
946
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
947
  | --program-pre | --program-pr | --program-p)
948
    ac_prev=program_prefix ;;
949
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
950
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951
    program_prefix=$ac_optarg ;;
952
953
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
954
  | --program-suf | --program-su | --program-s)
955
    ac_prev=program_suffix ;;
956
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
957
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958
    program_suffix=$ac_optarg ;;
959
960
  -program-transform-name | --program-transform-name \
961
  | --program-transform-nam | --program-transform-na \
962
  | --program-transform-n | --program-transform- \
963
  | --program-transform | --program-transfor \
964
  | --program-transfo | --program-transf \
965
  | --program-trans | --program-tran \
966
  | --progr-tra | --program-tr | --program-t)
967
    ac_prev=program_transform_name ;;
968
  -program-transform-name=* | --program-transform-name=* \
969
  | --program-transform-nam=* | --program-transform-na=* \
970
  | --program-transform-n=* | --program-transform-=* \
971
  | --program-transform=* | --program-transfor=* \
972
  | --program-transfo=* | --program-transf=* \
973
  | --program-trans=* | --program-tran=* \
974
  | --progr-tra=* | --program-tr=* | --program-t=*)
975
    program_transform_name=$ac_optarg ;;
976
977
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
978
    ac_prev=pdfdir ;;
979
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980
    pdfdir=$ac_optarg ;;
981
982
  -psdir | --psdir | --psdi | --psd | --ps)
983
    ac_prev=psdir ;;
984
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985
    psdir=$ac_optarg ;;
986
987
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988
  | -silent | --silent | --silen | --sile | --sil)
989
    silent=yes ;;
990
991
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992
    ac_prev=sbindir ;;
993
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994
  | --sbi=* | --sb=*)
995
    sbindir=$ac_optarg ;;
996
997
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
998
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999
  | --sharedst | --shareds | --shared | --share | --shar \
1000
  | --sha | --sh)
1001
    ac_prev=sharedstatedir ;;
1002
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005
  | --sha=* | --sh=*)
1006
    sharedstatedir=$ac_optarg ;;
1007
1008
  -site | --site | --sit)
1009
    ac_prev=site ;;
1010
  -site=* | --site=* | --sit=*)
1011
    site=$ac_optarg ;;
1012
1013
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014
    ac_prev=srcdir ;;
1015
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016
    srcdir=$ac_optarg ;;
1017
1018
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019
  | --syscon | --sysco | --sysc | --sys | --sy)
1020
    ac_prev=sysconfdir ;;
1021
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023
    sysconfdir=$ac_optarg ;;
1024
1025
  -target | --target | --targe | --targ | --tar | --ta | --t)
1026
    ac_prev=target_alias ;;
1027
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028
    target_alias=$ac_optarg ;;
1029
1030
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031
    verbose=yes ;;
1032
1033
  -version | --version | --versio | --versi | --vers | -V)
1034
    ac_init_version=: ;;
1035
1036
  -with-* | --with-*)
1037
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038
    # Reject names that are not valid shell variable names.
1039
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1040
      as_fn_error $? "invalid package name: $ac_useropt"
1 by Robert Ancell
Import upstream version 2.31.6
1041
    ac_useropt_orig=$ac_useropt
1042
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043
    case $ac_user_opts in
1044
      *"
1045
"with_$ac_useropt"
1046
"*) ;;
1047
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1048
	 ac_unrecognized_sep=', ';;
1049
    esac
1050
    eval with_$ac_useropt=\$ac_optarg ;;
1051
1052
  -without-* | --without-*)
1053
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054
    # Reject names that are not valid shell variable names.
1055
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1056
      as_fn_error $? "invalid package name: $ac_useropt"
1 by Robert Ancell
Import upstream version 2.31.6
1057
    ac_useropt_orig=$ac_useropt
1058
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059
    case $ac_user_opts in
1060
      *"
1061
"with_$ac_useropt"
1062
"*) ;;
1063
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1064
	 ac_unrecognized_sep=', ';;
1065
    esac
1066
    eval with_$ac_useropt=no ;;
1067
1068
  --x)
1069
    # Obsolete; use --with-x.
1070
    with_x=yes ;;
1071
1072
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073
  | --x-incl | --x-inc | --x-in | --x-i)
1074
    ac_prev=x_includes ;;
1075
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077
    x_includes=$ac_optarg ;;
1078
1079
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081
    ac_prev=x_libraries ;;
1082
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084
    x_libraries=$ac_optarg ;;
1085
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1086
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1087
Try \`$0 --help' for more information"
1 by Robert Ancell
Import upstream version 2.31.6
1088
    ;;
1089
1090
  *=*)
1091
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092
    # Reject names that are not valid shell variable names.
1093
    case $ac_envvar in #(
1094
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1095
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1 by Robert Ancell
Import upstream version 2.31.6
1096
    esac
1097
    eval $ac_envvar=\$ac_optarg
1098
    export $ac_envvar ;;
1099
1100
  *)
1101
    # FIXME: should be removed in autoconf 3.0.
1102
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1103
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1105
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1 by Robert Ancell
Import upstream version 2.31.6
1106
    ;;
1107
1108
  esac
1109
done
1110
1111
if test -n "$ac_prev"; then
1112
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1113
  as_fn_error $? "missing argument to $ac_option"
1 by Robert Ancell
Import upstream version 2.31.6
1114
fi
1115
1116
if test -n "$ac_unrecognized_opts"; then
1117
  case $enable_option_checking in
1118
    no) ;;
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1119
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1 by Robert Ancell
Import upstream version 2.31.6
1120
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1121
  esac
1122
fi
1123
1124
# Check all directory arguments for consistency.
1125
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126
		datadir sysconfdir sharedstatedir localstatedir includedir \
1127
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128
		libdir localedir mandir
1129
do
1130
  eval ac_val=\$$ac_var
1131
  # Remove trailing slashes.
1132
  case $ac_val in
1133
    */ )
1134
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1135
      eval $ac_var=\$ac_val;;
1136
  esac
1137
  # Be sure to have absolute directory names.
1138
  case $ac_val in
1139
    [\\/$]* | ?:[\\/]* )  continue;;
1140
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1141
  esac
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1142
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1 by Robert Ancell
Import upstream version 2.31.6
1143
done
1144
1145
# There might be people who depend on the old broken behavior: `$host'
1146
# used to hold the argument of --host etc.
1147
# FIXME: To remove some day.
1148
build=$build_alias
1149
host=$host_alias
1150
target=$target_alias
1151
1152
# FIXME: To remove some day.
1153
if test "x$host_alias" != x; then
1154
  if test "x$build_alias" = x; then
1155
    cross_compiling=maybe
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1156
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1157
    If a cross compiler is detected then cross compile mode will be used" >&2
1 by Robert Ancell
Import upstream version 2.31.6
1158
  elif test "x$build_alias" != "x$host_alias"; then
1159
    cross_compiling=yes
1160
  fi
1161
fi
1162
1163
ac_tool_prefix=
1164
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1165
1166
test "$silent" = yes && exec 6>/dev/null
1167
1168
1169
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1170
ac_ls_di=`ls -di .` &&
1171
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1172
  as_fn_error $? "working directory cannot be determined"
1 by Robert Ancell
Import upstream version 2.31.6
1173
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1174
  as_fn_error $? "pwd does not report name of working directory"
1 by Robert Ancell
Import upstream version 2.31.6
1175
1176
1177
# Find the source files, if location was not specified.
1178
if test -z "$srcdir"; then
1179
  ac_srcdir_defaulted=yes
1180
  # Try the directory containing this script, then the parent directory.
1181
  ac_confdir=`$as_dirname -- "$as_myself" ||
1182
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1184
	 X"$as_myself" : 'X\(//\)$' \| \
1185
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1186
$as_echo X"$as_myself" |
1187
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1188
	    s//\1/
1189
	    q
1190
	  }
1191
	  /^X\(\/\/\)[^/].*/{
1192
	    s//\1/
1193
	    q
1194
	  }
1195
	  /^X\(\/\/\)$/{
1196
	    s//\1/
1197
	    q
1198
	  }
1199
	  /^X\(\/\).*/{
1200
	    s//\1/
1201
	    q
1202
	  }
1203
	  s/.*/./; q'`
1204
  srcdir=$ac_confdir
1205
  if test ! -r "$srcdir/$ac_unique_file"; then
1206
    srcdir=..
1207
  fi
1208
else
1209
  ac_srcdir_defaulted=no
1210
fi
1211
if test ! -r "$srcdir/$ac_unique_file"; then
1212
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1213
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1 by Robert Ancell
Import upstream version 2.31.6
1214
fi
1215
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1216
ac_abs_confdir=`(
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1217
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1 by Robert Ancell
Import upstream version 2.31.6
1218
	pwd)`
1219
# When building in place, set srcdir=.
1220
if test "$ac_abs_confdir" = "$ac_pwd"; then
1221
  srcdir=.
1222
fi
1223
# Remove unnecessary trailing slashes from srcdir.
1224
# Double slashes in file names in object file debugging info
1225
# mess up M-x gdb in Emacs.
1226
case $srcdir in
1227
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228
esac
1229
for ac_var in $ac_precious_vars; do
1230
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1231
  eval ac_env_${ac_var}_value=\$${ac_var}
1232
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1233
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1234
done
1235
1236
#
1237
# Report the --help message.
1238
#
1239
if test "$ac_init_help" = "long"; then
1240
  # Omit some internal or obsolete options to make the list less imposing.
1241
  # This message is too long to be a string in the A/UX 3.1 sh.
1242
  cat <<_ACEOF
1.1.20 by Michael Biebl
Import upstream version 3.10.1
1243
\`configure' configures yelp-xsl 3.10.1 to adapt to many kinds of systems.
1 by Robert Ancell
Import upstream version 2.31.6
1244
1245
Usage: $0 [OPTION]... [VAR=VALUE]...
1246
1247
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1248
VAR=VALUE.  See below for descriptions of some of the useful variables.
1249
1250
Defaults for the options are specified in brackets.
1251
1252
Configuration:
1253
  -h, --help              display this help and exit
1254
      --help=short        display options specific to this package
1255
      --help=recursive    display the short help of all the included packages
1256
  -V, --version           display version information and exit
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1257
  -q, --quiet, --silent   do not print \`checking ...' messages
1 by Robert Ancell
Import upstream version 2.31.6
1258
      --cache-file=FILE   cache test results in FILE [disabled]
1259
  -C, --config-cache      alias for \`--cache-file=config.cache'
1260
  -n, --no-create         do not create output files
1261
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1262
1263
Installation directories:
1264
  --prefix=PREFIX         install architecture-independent files in PREFIX
1265
                          [$ac_default_prefix]
1266
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1267
                          [PREFIX]
1268
1269
By default, \`make install' will install all the files in
1270
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1271
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1272
for instance \`--prefix=\$HOME'.
1273
1274
For better control, use the options below.
1275
1276
Fine tuning of the installation directories:
1277
  --bindir=DIR            user executables [EPREFIX/bin]
1278
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1279
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1280
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1281
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1282
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1283
  --libdir=DIR            object code libraries [EPREFIX/lib]
1284
  --includedir=DIR        C header files [PREFIX/include]
1285
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1286
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1287
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1288
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1289
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1290
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1291
  --docdir=DIR            documentation root [DATAROOTDIR/doc/yelp-xsl]
1292
  --htmldir=DIR           html documentation [DOCDIR]
1293
  --dvidir=DIR            dvi documentation [DOCDIR]
1294
  --pdfdir=DIR            pdf documentation [DOCDIR]
1295
  --psdir=DIR             ps documentation [DOCDIR]
1296
_ACEOF
1297
1298
  cat <<\_ACEOF
1299
1300
Program names:
1301
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1302
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1303
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1304
_ACEOF
1305
fi
1306
1307
if test -n "$ac_init_help"; then
1308
  case $ac_init_help in
1.1.20 by Michael Biebl
Import upstream version 3.10.1
1309
     short | recursive ) echo "Configuration of yelp-xsl 3.10.1:";;
1 by Robert Ancell
Import upstream version 2.31.6
1310
   esac
1311
  cat <<\_ACEOF
1312
1313
Optional Features:
1314
  --disable-option-checking  ignore unrecognized --enable/--with options
1315
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1316
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1317
  --disable-nls           do not use Native Language Support
1318
  --disable-dependency-tracking  speeds up one-time build
1319
  --enable-dependency-tracking   do not reject slow dependency extractors
1320
  --enable-doc            build and install developer documentation
1321
                          [default=no]
1322
1323
Some influential environment variables:
1.1.8 by Michael Terry
Import upstream version 3.1.2
1324
  ITSTOOL     Path to the `itstool` command
1 by Robert Ancell
Import upstream version 2.31.6
1325
  PKG_CONFIG  path to pkg-config utility
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1326
  PKG_CONFIG_PATH
1327
              directories to add to pkg-config's search path
1328
  PKG_CONFIG_LIBDIR
1329
              path overriding pkg-config's built-in search path
1 by Robert Ancell
Import upstream version 2.31.6
1330
  YELP_XSL_CFLAGS
1331
              C compiler flags for YELP_XSL, overriding pkg-config
1332
  YELP_XSL_LIBS
1333
              linker flags for YELP_XSL, overriding pkg-config
1334
  CC          C compiler command
1335
  CFLAGS      C compiler flags
1336
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1337
              nonstandard directory <lib dir>
1338
  LIBS        libraries to pass to the linker, e.g. -l<library>
1339
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1340
              you have headers in a nonstandard directory <include dir>
1341
1342
Use these variables to override the choices made by `configure' or to help
1343
it to find libraries and programs with nonstandard names/locations.
1344
1345
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-xsl>.
1346
_ACEOF
1347
ac_status=$?
1348
fi
1349
1350
if test "$ac_init_help" = "recursive"; then
1351
  # If there are subdirs, report their specific --help.
1352
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1353
    test -d "$ac_dir" ||
1354
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1355
      continue
1356
    ac_builddir=.
1357
1358
case "$ac_dir" in
1359
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360
*)
1361
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1362
  # A ".." for each directory in $ac_dir_suffix.
1363
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1364
  case $ac_top_builddir_sub in
1365
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367
  esac ;;
1368
esac
1369
ac_abs_top_builddir=$ac_pwd
1370
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1371
# for backward compatibility:
1372
ac_top_builddir=$ac_top_build_prefix
1373
1374
case $srcdir in
1375
  .)  # We are building in place.
1376
    ac_srcdir=.
1377
    ac_top_srcdir=$ac_top_builddir_sub
1378
    ac_abs_top_srcdir=$ac_pwd ;;
1379
  [\\/]* | ?:[\\/]* )  # Absolute name.
1380
    ac_srcdir=$srcdir$ac_dir_suffix;
1381
    ac_top_srcdir=$srcdir
1382
    ac_abs_top_srcdir=$srcdir ;;
1383
  *) # Relative name.
1384
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1385
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1386
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1387
esac
1388
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1389
1390
    cd "$ac_dir" || { ac_status=$?; continue; }
1391
    # Check for guested configure.
1392
    if test -f "$ac_srcdir/configure.gnu"; then
1393
      echo &&
1394
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1395
    elif test -f "$ac_srcdir/configure"; then
1396
      echo &&
1397
      $SHELL "$ac_srcdir/configure" --help=recursive
1398
    else
1399
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1400
    fi || ac_status=$?
1401
    cd "$ac_pwd" || { ac_status=$?; break; }
1402
  done
1403
fi
1404
1405
test -n "$ac_init_help" && exit $ac_status
1406
if $ac_init_version; then
1407
  cat <<\_ACEOF
1.1.20 by Michael Biebl
Import upstream version 3.10.1
1408
yelp-xsl configure 3.10.1
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1409
generated by GNU Autoconf 2.66
1 by Robert Ancell
Import upstream version 2.31.6
1410
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1411
Copyright (C) 2010 Free Software Foundation, Inc.
1 by Robert Ancell
Import upstream version 2.31.6
1412
This configure script is free software; the Free Software Foundation
1413
gives unlimited permission to copy, distribute and modify it.
1414
_ACEOF
1415
  exit
1416
fi
1417
1418
## ------------------------ ##
1419
## Autoconf initialization. ##
1420
## ------------------------ ##
1421
1422
# ac_fn_c_try_compile LINENO
1423
# --------------------------
1424
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1425
ac_fn_c_try_compile ()
1426
{
1427
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1428
  rm -f conftest.$ac_objext
1429
  if { { ac_try="$ac_compile"
1430
case "(($ac_try" in
1431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1432
  *) ac_try_echo=$ac_try;;
1433
esac
1434
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1435
$as_echo "$ac_try_echo"; } >&5
1436
  (eval "$ac_compile") 2>conftest.err
1437
  ac_status=$?
1438
  if test -s conftest.err; then
1439
    grep -v '^ *+' conftest.err >conftest.er1
1440
    cat conftest.er1 >&5
1441
    mv -f conftest.er1 conftest.err
1442
  fi
1443
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1444
  test $ac_status = 0; } && {
1445
	 test -z "$ac_c_werror_flag" ||
1446
	 test ! -s conftest.err
1447
       } && test -s conftest.$ac_objext; then :
1448
  ac_retval=0
1449
else
1450
  $as_echo "$as_me: failed program was:" >&5
1451
sed 's/^/| /' conftest.$ac_ext >&5
1452
1453
	ac_retval=1
1454
fi
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1455
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1 by Robert Ancell
Import upstream version 2.31.6
1456
  as_fn_set_status $ac_retval
1457
1458
} # ac_fn_c_try_compile
1459
1460
# ac_fn_c_try_link LINENO
1461
# -----------------------
1462
# Try to link conftest.$ac_ext, and return whether this succeeded.
1463
ac_fn_c_try_link ()
1464
{
1465
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1466
  rm -f conftest.$ac_objext conftest$ac_exeext
1467
  if { { ac_try="$ac_link"
1468
case "(($ac_try" in
1469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1470
  *) ac_try_echo=$ac_try;;
1471
esac
1472
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1473
$as_echo "$ac_try_echo"; } >&5
1474
  (eval "$ac_link") 2>conftest.err
1475
  ac_status=$?
1476
  if test -s conftest.err; then
1477
    grep -v '^ *+' conftest.err >conftest.er1
1478
    cat conftest.er1 >&5
1479
    mv -f conftest.er1 conftest.err
1480
  fi
1481
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1482
  test $ac_status = 0; } && {
1483
	 test -z "$ac_c_werror_flag" ||
1484
	 test ! -s conftest.err
1485
       } && test -s conftest$ac_exeext && {
1486
	 test "$cross_compiling" = yes ||
1487
	 $as_test_x conftest$ac_exeext
1488
       }; then :
1489
  ac_retval=0
1490
else
1491
  $as_echo "$as_me: failed program was:" >&5
1492
sed 's/^/| /' conftest.$ac_ext >&5
1493
1494
	ac_retval=1
1495
fi
1496
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1497
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1498
  # interfere with the next link command; also delete a directory that is
1499
  # left behind by Apple's compiler.  We do this before executing the actions.
1500
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1501
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1 by Robert Ancell
Import upstream version 2.31.6
1502
  as_fn_set_status $ac_retval
1503
1504
} # ac_fn_c_try_link
1505
1506
# ac_fn_c_check_func LINENO FUNC VAR
1507
# ----------------------------------
1508
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1509
ac_fn_c_check_func ()
1510
{
1511
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1513
$as_echo_n "checking for $2... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1514
if eval "test \"\${$3+set}\"" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
1515
  $as_echo_n "(cached) " >&6
1516
else
1517
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1518
/* end confdefs.h.  */
1519
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1520
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1521
#define $2 innocuous_$2
1522
1523
/* System header to define __stub macros and hopefully few prototypes,
1524
    which can conflict with char $2 (); below.
1525
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1526
    <limits.h> exists even on freestanding compilers.  */
1527
1528
#ifdef __STDC__
1529
# include <limits.h>
1530
#else
1531
# include <assert.h>
1532
#endif
1533
1534
#undef $2
1535
1536
/* Override any GCC internal prototype to avoid an error.
1537
   Use char because int might match the return type of a GCC
1538
   builtin and then its argument prototype would still apply.  */
1539
#ifdef __cplusplus
1540
extern "C"
1541
#endif
1542
char $2 ();
1543
/* The GNU C library defines this for functions which it implements
1544
    to always fail with ENOSYS.  Some functions are actually named
1545
    something starting with __ and the normal name is an alias.  */
1546
#if defined __stub_$2 || defined __stub___$2
1547
choke me
1548
#endif
1549
1550
int
1551
main ()
1552
{
1553
return $2 ();
1554
  ;
1555
  return 0;
1556
}
1557
_ACEOF
1558
if ac_fn_c_try_link "$LINENO"; then :
1559
  eval "$3=yes"
1560
else
1561
  eval "$3=no"
1562
fi
1563
rm -f core conftest.err conftest.$ac_objext \
1564
    conftest$ac_exeext conftest.$ac_ext
1565
fi
1566
eval ac_res=\$$3
1567
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1568
$as_echo "$ac_res" >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1569
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1 by Robert Ancell
Import upstream version 2.31.6
1570
1571
} # ac_fn_c_check_func
1572
cat >config.log <<_ACEOF
1573
This file contains any messages produced by compilers while
1574
running configure, to aid debugging if configure makes a mistake.
1575
1.1.20 by Michael Biebl
Import upstream version 3.10.1
1576
It was created by yelp-xsl $as_me 3.10.1, which was
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1577
generated by GNU Autoconf 2.66.  Invocation command line was
1 by Robert Ancell
Import upstream version 2.31.6
1578
1579
  $ $0 $@
1580
1581
_ACEOF
1582
exec 5>>config.log
1583
{
1584
cat <<_ASUNAME
1585
## --------- ##
1586
## Platform. ##
1587
## --------- ##
1588
1589
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1590
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1591
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1592
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1593
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1594
1595
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1596
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1597
1598
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1599
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1600
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1601
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1602
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1603
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1604
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1605
1606
_ASUNAME
1607
1608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1609
for as_dir in $PATH
1610
do
1611
  IFS=$as_save_IFS
1612
  test -z "$as_dir" && as_dir=.
1613
    $as_echo "PATH: $as_dir"
1614
  done
1615
IFS=$as_save_IFS
1616
1617
} >&5
1618
1619
cat >&5 <<_ACEOF
1620
1621
1622
## ----------- ##
1623
## Core tests. ##
1624
## ----------- ##
1625
1626
_ACEOF
1627
1628
1629
# Keep a trace of the command line.
1630
# Strip out --no-create and --no-recursion so they do not pile up.
1631
# Strip out --silent because we don't want to record it for future runs.
1632
# Also quote any args containing shell meta-characters.
1633
# Make two passes to allow for proper duplicate-argument suppression.
1634
ac_configure_args=
1635
ac_configure_args0=
1636
ac_configure_args1=
1637
ac_must_keep_next=false
1638
for ac_pass in 1 2
1639
do
1640
  for ac_arg
1641
  do
1642
    case $ac_arg in
1643
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1644
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1645
    | -silent | --silent | --silen | --sile | --sil)
1646
      continue ;;
1647
    *\'*)
1648
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1649
    esac
1650
    case $ac_pass in
1651
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1652
    2)
1653
      as_fn_append ac_configure_args1 " '$ac_arg'"
1654
      if test $ac_must_keep_next = true; then
1655
	ac_must_keep_next=false # Got value, back to normal.
1656
      else
1657
	case $ac_arg in
1658
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1659
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1660
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1661
	  | -with-* | --with-* | -without-* | --without-* | --x)
1662
	    case "$ac_configure_args0 " in
1663
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1664
	    esac
1665
	    ;;
1666
	  -* ) ac_must_keep_next=true ;;
1667
	esac
1668
      fi
1669
      as_fn_append ac_configure_args " '$ac_arg'"
1670
      ;;
1671
    esac
1672
  done
1673
done
1674
{ ac_configure_args0=; unset ac_configure_args0;}
1675
{ ac_configure_args1=; unset ac_configure_args1;}
1676
1677
# When interrupted or exit'd, cleanup temporary files, and complete
1678
# config.log.  We remove comments because anyway the quotes in there
1679
# would cause problems or look ugly.
1680
# WARNING: Use '\'' to represent an apostrophe within the trap.
1681
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1682
trap 'exit_status=$?
1683
  # Save into config.log some information that might help in debugging.
1684
  {
1685
    echo
1686
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1687
    $as_echo "## ---------------- ##
1 by Robert Ancell
Import upstream version 2.31.6
1688
## Cache variables. ##
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1689
## ---------------- ##"
1 by Robert Ancell
Import upstream version 2.31.6
1690
    echo
1691
    # The following way of writing the cache mishandles newlines in values,
1692
(
1693
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1694
    eval ac_val=\$$ac_var
1695
    case $ac_val in #(
1696
    *${as_nl}*)
1697
      case $ac_var in #(
1698
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1699
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1700
      esac
1701
      case $ac_var in #(
1702
      _ | IFS | as_nl) ;; #(
1703
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1704
      *) { eval $ac_var=; unset $ac_var;} ;;
1705
      esac ;;
1706
    esac
1707
  done
1708
  (set) 2>&1 |
1709
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1710
    *${as_nl}ac_space=\ *)
1711
      sed -n \
1712
	"s/'\''/'\''\\\\'\'''\''/g;
1713
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1714
      ;; #(
1715
    *)
1716
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1717
      ;;
1718
    esac |
1719
    sort
1720
)
1721
    echo
1722
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1723
    $as_echo "## ----------------- ##
1 by Robert Ancell
Import upstream version 2.31.6
1724
## Output variables. ##
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1725
## ----------------- ##"
1 by Robert Ancell
Import upstream version 2.31.6
1726
    echo
1727
    for ac_var in $ac_subst_vars
1728
    do
1729
      eval ac_val=\$$ac_var
1730
      case $ac_val in
1731
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1732
      esac
1733
      $as_echo "$ac_var='\''$ac_val'\''"
1734
    done | sort
1735
    echo
1736
1737
    if test -n "$ac_subst_files"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1738
      $as_echo "## ------------------- ##
1 by Robert Ancell
Import upstream version 2.31.6
1739
## File substitutions. ##
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1740
## ------------------- ##"
1 by Robert Ancell
Import upstream version 2.31.6
1741
      echo
1742
      for ac_var in $ac_subst_files
1743
      do
1744
	eval ac_val=\$$ac_var
1745
	case $ac_val in
1746
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1747
	esac
1748
	$as_echo "$ac_var='\''$ac_val'\''"
1749
      done | sort
1750
      echo
1751
    fi
1752
1753
    if test -s confdefs.h; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1754
      $as_echo "## ----------- ##
1 by Robert Ancell
Import upstream version 2.31.6
1755
## confdefs.h. ##
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1756
## ----------- ##"
1 by Robert Ancell
Import upstream version 2.31.6
1757
      echo
1758
      cat confdefs.h
1759
      echo
1760
    fi
1761
    test "$ac_signal" != 0 &&
1762
      $as_echo "$as_me: caught signal $ac_signal"
1763
    $as_echo "$as_me: exit $exit_status"
1764
  } >&5
1765
  rm -f core *.core core.conftest.* &&
1766
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1767
    exit $exit_status
1768
' 0
1769
for ac_signal in 1 2 13 15; do
1770
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1771
done
1772
ac_signal=0
1773
1774
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1775
rm -f -r conftest* confdefs.h
1776
1777
$as_echo "/* confdefs.h */" > confdefs.h
1778
1779
# Predefined preprocessor variables.
1780
1781
cat >>confdefs.h <<_ACEOF
1782
#define PACKAGE_NAME "$PACKAGE_NAME"
1783
_ACEOF
1784
1785
cat >>confdefs.h <<_ACEOF
1786
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1787
_ACEOF
1788
1789
cat >>confdefs.h <<_ACEOF
1790
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1791
_ACEOF
1792
1793
cat >>confdefs.h <<_ACEOF
1794
#define PACKAGE_STRING "$PACKAGE_STRING"
1795
_ACEOF
1796
1797
cat >>confdefs.h <<_ACEOF
1798
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1799
_ACEOF
1800
1801
cat >>confdefs.h <<_ACEOF
1802
#define PACKAGE_URL "$PACKAGE_URL"
1803
_ACEOF
1804
1805
1806
# Let the site file select an alternate cache file if it wants to.
1807
# Prefer an explicitly selected file to automatically selected ones.
1808
ac_site_file1=NONE
1809
ac_site_file2=NONE
1810
if test -n "$CONFIG_SITE"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1811
  # We do not want a PATH search for config.site.
1812
  case $CONFIG_SITE in #((
1813
    -*)  ac_site_file1=./$CONFIG_SITE;;
1814
    */*) ac_site_file1=$CONFIG_SITE;;
1815
    *)   ac_site_file1=./$CONFIG_SITE;;
1816
  esac
1 by Robert Ancell
Import upstream version 2.31.6
1817
elif test "x$prefix" != xNONE; then
1818
  ac_site_file1=$prefix/share/config.site
1819
  ac_site_file2=$prefix/etc/config.site
1820
else
1821
  ac_site_file1=$ac_default_prefix/share/config.site
1822
  ac_site_file2=$ac_default_prefix/etc/config.site
1823
fi
1824
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1825
do
1826
  test "x$ac_site_file" = xNONE && continue
1827
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1828
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1829
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1830
    sed 's/^/| /' "$ac_site_file" >&5
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1831
    . "$ac_site_file" \
1832
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1833
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1834
as_fn_error $? "failed to load site script $ac_site_file
1835
See \`config.log' for more details" "$LINENO" 5; }
1 by Robert Ancell
Import upstream version 2.31.6
1836
  fi
1837
done
1838
1839
if test -r "$cache_file"; then
1840
  # Some versions of bash will fail to source /dev/null (special files
1841
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1842
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1843
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1844
$as_echo "$as_me: loading cache $cache_file" >&6;}
1845
    case $cache_file in
1846
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1847
      *)                      . "./$cache_file";;
1848
    esac
1849
  fi
1850
else
1851
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1852
$as_echo "$as_me: creating cache $cache_file" >&6;}
1853
  >$cache_file
1854
fi
1855
1856
# Check that the precious variables saved in the cache have kept the same
1857
# value.
1858
ac_cache_corrupted=false
1859
for ac_var in $ac_precious_vars; do
1860
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1861
  eval ac_new_set=\$ac_env_${ac_var}_set
1862
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1863
  eval ac_new_val=\$ac_env_${ac_var}_value
1864
  case $ac_old_set,$ac_new_set in
1865
    set,)
1866
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1867
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1868
      ac_cache_corrupted=: ;;
1869
    ,set)
1870
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1871
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1872
      ac_cache_corrupted=: ;;
1873
    ,);;
1874
    *)
1875
      if test "x$ac_old_val" != "x$ac_new_val"; then
1876
	# differences in whitespace do not lead to failure.
1877
	ac_old_val_w=`echo x $ac_old_val`
1878
	ac_new_val_w=`echo x $ac_new_val`
1879
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1880
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1881
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1882
	  ac_cache_corrupted=:
1883
	else
1884
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1885
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1886
	  eval $ac_var=\$ac_old_val
1887
	fi
1888
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1889
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1890
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1891
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1892
      fi;;
1893
  esac
1894
  # Pass precious variables to config.status.
1895
  if test "$ac_new_set" = set; then
1896
    case $ac_new_val in
1897
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1898
    *) ac_arg=$ac_var=$ac_new_val ;;
1899
    esac
1900
    case " $ac_configure_args " in
1901
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1902
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1903
    esac
1904
  fi
1905
done
1906
if $ac_cache_corrupted; then
1907
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1908
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1909
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1910
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1911
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
1912
fi
1913
## -------------------- ##
1914
## Main body of script. ##
1915
## -------------------- ##
1916
1917
ac_ext=c
1918
ac_cpp='$CPP $CPPFLAGS'
1919
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1920
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1921
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1922
1923
1924
1925
1926
1927
am__api_version='1.11'
1928
1929
ac_aux_dir=
1930
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1931
  if 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/install.sh"; then
1936
    ac_aux_dir=$ac_dir
1937
    ac_install_sh="$ac_aux_dir/install.sh -c"
1938
    break
1939
  elif test -f "$ac_dir/shtool"; then
1940
    ac_aux_dir=$ac_dir
1941
    ac_install_sh="$ac_aux_dir/shtool install -c"
1942
    break
1943
  fi
1 by Robert Ancell
Import upstream version 2.31.6
1944
done
1945
if test -z "$ac_aux_dir"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
1946
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
1947
fi
1948
1949
# These three variables are undocumented and unsupported,
1950
# and are intended to be withdrawn in a future Autoconf release.
1951
# They can cause serious problems if a builder's source tree is in a directory
1952
# whose full name contains unusual characters.
1953
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1954
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1955
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1956
1957
1958
# Find a good install program.  We prefer a C program (faster),
1959
# so one script is as good as another.  But avoid the broken or
1960
# incompatible versions:
1961
# SysV /etc/install, /usr/sbin/install
1962
# SunOS /usr/etc/install
1963
# IRIX /sbin/install
1964
# AIX /bin/install
1965
# AmigaOS /C/install, which installs bootblocks on floppy discs
1966
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1967
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1968
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1969
# OS/2's system install, which has a completely different semantic
1970
# ./install, which can be erroneously created by make from ./install.sh.
1971
# Reject install programs that cannot install multiple files.
1972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1973
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1974
if test -z "$INSTALL"; then
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
1975
if test "${ac_cv_path_install+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
1976
  $as_echo_n "(cached) " >&6
1977
else
1978
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979
for as_dir in $PATH
1980
do
1981
  IFS=$as_save_IFS
1982
  test -z "$as_dir" && as_dir=.
1983
    # Account for people who put trailing slashes in PATH elements.
1984
case $as_dir/ in #((
1985
  ./ | .// | /[cC]/* | \
1986
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1987
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1988
  /usr/ucb/* ) ;;
1989
  *)
1990
    # OSF1 and SCO ODT 3.0 have their own names for install.
1991
    # Don't use installbsd from OSF since it installs stuff as root
1992
    # by default.
1993
    for ac_prog in ginstall scoinst install; do
1994
      for ac_exec_ext in '' $ac_executable_extensions; do
1995
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1996
	  if test $ac_prog = install &&
1997
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1998
	    # AIX install.  It has an incompatible calling convention.
1999
	    :
2000
	  elif test $ac_prog = install &&
2001
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2002
	    # program-specific install script used by HP pwplus--don't use.
2003
	    :
2004
	  else
2005
	    rm -rf conftest.one conftest.two conftest.dir
2006
	    echo one > conftest.one
2007
	    echo two > conftest.two
2008
	    mkdir conftest.dir
2009
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2010
	      test -s conftest.one && test -s conftest.two &&
2011
	      test -s conftest.dir/conftest.one &&
2012
	      test -s conftest.dir/conftest.two
2013
	    then
2014
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2015
	      break 3
2016
	    fi
2017
	  fi
2018
	fi
2019
      done
2020
    done
2021
    ;;
2022
esac
2023
2024
  done
2025
IFS=$as_save_IFS
2026
2027
rm -rf conftest.one conftest.two conftest.dir
2028
2029
fi
2030
  if test "${ac_cv_path_install+set}" = set; then
2031
    INSTALL=$ac_cv_path_install
2032
  else
2033
    # As a last resort, use the slow shell script.  Don't cache a
2034
    # value for INSTALL within a source directory, because that will
2035
    # break other packages using the cache if that directory is
2036
    # removed, or if the value is a relative name.
2037
    INSTALL=$ac_install_sh
2038
  fi
2039
fi
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2041
$as_echo "$INSTALL" >&6; }
2042
2043
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2044
# It thinks the first close brace ends the variable substitution.
2045
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2046
2047
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2048
2049
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2050
2051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2052
$as_echo_n "checking whether build environment is sane... " >&6; }
2053
# Just in case
2054
sleep 1
2055
echo timestamp > conftest.file
2056
# Reject unsafe characters in $srcdir or the absolute working directory
2057
# name.  Accept space and tab only in the latter.
2058
am_lf='
2059
'
2060
case `pwd` in
2061
  *[\\\"\#\$\&\'\`$am_lf]*)
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2062
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1 by Robert Ancell
Import upstream version 2.31.6
2063
esac
2064
case $srcdir in
2065
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2066
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1 by Robert Ancell
Import upstream version 2.31.6
2067
esac
2068
2069
# Do `set' in a subshell so we don't clobber the current shell's
2070
# arguments.  Must try -L first in case configure is actually a
2071
# symlink; some systems play weird games with the mod time of symlinks
2072
# (eg FreeBSD returns the mod time of the symlink's containing
2073
# directory).
2074
if (
2075
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2076
   if test "$*" = "X"; then
2077
      # -L didn't work.
2078
      set X `ls -t "$srcdir/configure" conftest.file`
2079
   fi
2080
   rm -f conftest.file
2081
   if test "$*" != "X $srcdir/configure conftest.file" \
2082
      && test "$*" != "X conftest.file $srcdir/configure"; then
2083
2084
      # If neither matched, then we have a broken ls.  This can happen
2085
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2086
      # broken ls alias from the environment.  This has actually
2087
      # happened.  Such a system could not be considered "sane".
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2088
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1 by Robert Ancell
Import upstream version 2.31.6
2089
alias in your environment" "$LINENO" 5
2090
   fi
2091
2092
   test "$2" = conftest.file
2093
   )
2094
then
2095
   # Ok.
2096
   :
2097
else
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2098
   as_fn_error $? "newly created file is older than distributed files!
1 by Robert Ancell
Import upstream version 2.31.6
2099
Check your system clock" "$LINENO" 5
2100
fi
2101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2102
$as_echo "yes" >&6; }
2103
test "$program_prefix" != NONE &&
2104
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2105
# Use a double $ so make ignores it.
2106
test "$program_suffix" != NONE &&
2107
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2108
# Double any \ or $.
2109
# By default was `s,x,x', remove it if useless.
2110
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2111
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2112
2113
# expand $ac_aux_dir to an absolute path
2114
am_aux_dir=`cd $ac_aux_dir && pwd`
2115
2116
if test x"${MISSING+set}" != xset; then
2117
  case $am_aux_dir in
2118
  *\ * | *\	*)
2119
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2120
  *)
2121
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2122
  esac
2123
fi
2124
# Use eval to expand $SHELL
2125
if eval "$MISSING --run true"; then
2126
  am_missing_run="$MISSING --run "
2127
else
2128
  am_missing_run=
2129
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2130
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2131
fi
2132
2133
if test x"${install_sh}" != xset; then
2134
  case $am_aux_dir in
2135
  *\ * | *\	*)
2136
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2137
  *)
2138
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2139
  esac
2140
fi
2141
2142
# Installed binaries are usually stripped using `strip' when the user
2143
# run `make install-strip'.  However `strip' might not be the right
2144
# tool to use in cross-compilation environments, therefore Automake
2145
# will honor the `STRIP' environment variable to overrule this program.
2146
if test "$cross_compiling" != no; then
2147
  if test -n "$ac_tool_prefix"; then
2148
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2149
set dummy ${ac_tool_prefix}strip; ac_word=$2
2150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2151
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2152
if test "${ac_cv_prog_STRIP+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2153
  $as_echo_n "(cached) " >&6
2154
else
2155
  if test -n "$STRIP"; then
2156
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2157
else
2158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159
for as_dir in $PATH
2160
do
2161
  IFS=$as_save_IFS
2162
  test -z "$as_dir" && as_dir=.
2163
    for ac_exec_ext in '' $ac_executable_extensions; do
2164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2166
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2167
    break 2
2168
  fi
2169
done
2170
  done
2171
IFS=$as_save_IFS
2172
2173
fi
2174
fi
2175
STRIP=$ac_cv_prog_STRIP
2176
if test -n "$STRIP"; then
2177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2178
$as_echo "$STRIP" >&6; }
2179
else
2180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2181
$as_echo "no" >&6; }
2182
fi
2183
2184
2185
fi
2186
if test -z "$ac_cv_prog_STRIP"; then
2187
  ac_ct_STRIP=$STRIP
2188
  # Extract the first word of "strip", so it can be a program name with args.
2189
set dummy strip; ac_word=$2
2190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2191
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2192
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2193
  $as_echo_n "(cached) " >&6
2194
else
2195
  if test -n "$ac_ct_STRIP"; then
2196
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2197
else
2198
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199
for as_dir in $PATH
2200
do
2201
  IFS=$as_save_IFS
2202
  test -z "$as_dir" && as_dir=.
2203
    for ac_exec_ext in '' $ac_executable_extensions; do
2204
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2205
    ac_cv_prog_ac_ct_STRIP="strip"
2206
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2207
    break 2
2208
  fi
2209
done
2210
  done
2211
IFS=$as_save_IFS
2212
2213
fi
2214
fi
2215
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2216
if test -n "$ac_ct_STRIP"; then
2217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2218
$as_echo "$ac_ct_STRIP" >&6; }
2219
else
2220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2221
$as_echo "no" >&6; }
2222
fi
2223
2224
  if test "x$ac_ct_STRIP" = x; then
2225
    STRIP=":"
2226
  else
2227
    case $cross_compiling:$ac_tool_warned in
2228
yes:)
2229
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2230
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2231
ac_tool_warned=yes ;;
2232
esac
2233
    STRIP=$ac_ct_STRIP
2234
  fi
2235
else
2236
  STRIP="$ac_cv_prog_STRIP"
2237
fi
2238
2239
fi
2240
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2241
2242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2243
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2244
if test -z "$MKDIR_P"; then
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2245
  if test "${ac_cv_path_mkdir+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2246
  $as_echo_n "(cached) " >&6
2247
else
2248
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2250
do
2251
  IFS=$as_save_IFS
2252
  test -z "$as_dir" && as_dir=.
2253
    for ac_prog in mkdir gmkdir; do
2254
	 for ac_exec_ext in '' $ac_executable_extensions; do
2255
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2256
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2257
	     'mkdir (GNU coreutils) '* | \
2258
	     'mkdir (coreutils) '* | \
2259
	     'mkdir (fileutils) '4.1*)
2260
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2261
	       break 3;;
2262
	   esac
2263
	 done
2264
       done
2265
  done
2266
IFS=$as_save_IFS
2267
2268
fi
2269
2270
  test -d ./--version && rmdir ./--version
2271
  if test "${ac_cv_path_mkdir+set}" = set; then
2272
    MKDIR_P="$ac_cv_path_mkdir -p"
2273
  else
2274
    # As a last resort, use the slow shell script.  Don't cache a
2275
    # value for MKDIR_P within a source directory, because that will
2276
    # break other packages using the cache if that directory is
2277
    # removed, or if the value is a relative name.
2278
    MKDIR_P="$ac_install_sh -d"
2279
  fi
2280
fi
2281
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2282
$as_echo "$MKDIR_P" >&6; }
2283
2284
mkdir_p="$MKDIR_P"
2285
case $mkdir_p in
2286
  [\\/$]* | ?:[\\/]*) ;;
2287
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2288
esac
2289
2290
for ac_prog in gawk mawk nawk awk
2291
do
2292
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2293
set dummy $ac_prog; ac_word=$2
2294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2295
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2296
if test "${ac_cv_prog_AWK+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2297
  $as_echo_n "(cached) " >&6
2298
else
2299
  if test -n "$AWK"; then
2300
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2301
else
2302
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303
for as_dir in $PATH
2304
do
2305
  IFS=$as_save_IFS
2306
  test -z "$as_dir" && as_dir=.
2307
    for ac_exec_ext in '' $ac_executable_extensions; do
2308
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309
    ac_cv_prog_AWK="$ac_prog"
2310
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2311
    break 2
2312
  fi
2313
done
2314
  done
2315
IFS=$as_save_IFS
2316
2317
fi
2318
fi
2319
AWK=$ac_cv_prog_AWK
2320
if test -n "$AWK"; then
2321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2322
$as_echo "$AWK" >&6; }
2323
else
2324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2325
$as_echo "no" >&6; }
2326
fi
2327
2328
2329
  test -n "$AWK" && break
2330
done
2331
2332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2333
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2334
set x ${MAKE-make}
2335
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2336
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2337
  $as_echo_n "(cached) " >&6
2338
else
2339
  cat >conftest.make <<\_ACEOF
2340
SHELL = /bin/sh
2341
all:
2342
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2343
_ACEOF
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2344
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1 by Robert Ancell
Import upstream version 2.31.6
2345
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2346
  *@@@%%%=?*=@@@%%%*)
2347
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2348
  *)
2349
    eval ac_cv_prog_make_${ac_make}_set=no;;
2350
esac
2351
rm -f conftest.make
2352
fi
2353
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2354
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2355
$as_echo "yes" >&6; }
2356
  SET_MAKE=
2357
else
2358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2359
$as_echo "no" >&6; }
2360
  SET_MAKE="MAKE=${MAKE-make}"
2361
fi
2362
2363
rm -rf .tst 2>/dev/null
2364
mkdir .tst 2>/dev/null
2365
if test -d .tst; then
2366
  am__leading_dot=.
2367
else
2368
  am__leading_dot=_
2369
fi
2370
rmdir .tst 2>/dev/null
2371
2372
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2373
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2374
  # is not polluted with repeated "-I."
2375
  am__isrc=' -I$(srcdir)'
2376
  # test to see if srcdir already configured
2377
  if test -f $srcdir/config.status; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2378
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
2379
  fi
2380
fi
2381
2382
# test whether we have cygpath
2383
if test -z "$CYGPATH_W"; then
2384
  if (cygpath --version) >/dev/null 2>/dev/null; then
2385
    CYGPATH_W='cygpath -w'
2386
  else
2387
    CYGPATH_W=echo
2388
  fi
2389
fi
2390
2391
2392
# Define the identity of the package.
2393
 PACKAGE='yelp-xsl'
1.1.20 by Michael Biebl
Import upstream version 3.10.1
2394
 VERSION='3.10.1'
1 by Robert Ancell
Import upstream version 2.31.6
2395
2396
2397
cat >>confdefs.h <<_ACEOF
2398
#define PACKAGE "$PACKAGE"
2399
_ACEOF
2400
2401
2402
cat >>confdefs.h <<_ACEOF
2403
#define VERSION "$VERSION"
2404
_ACEOF
2405
2406
# Some tools Automake needs.
2407
2408
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2409
2410
2411
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2412
2413
2414
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2415
2416
2417
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2418
2419
2420
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2421
2422
# We need awk for the "check" target.  The system "awk" is bad on
2423
# some platforms.
2424
# Always define AMTAR for backward compatibility.
2425
2426
AMTAR=${AMTAR-"${am_missing_run}tar"}
2427
2428
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2429
2430
2431
2432
2433
2434
2435
# Check for programs
2436
for ac_prog in gawk mawk nawk awk
2437
do
2438
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2439
set dummy $ac_prog; ac_word=$2
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2441
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2442
if test "${ac_cv_prog_AWK+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2443
  $as_echo_n "(cached) " >&6
2444
else
2445
  if test -n "$AWK"; then
2446
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2447
else
2448
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449
for as_dir in $PATH
2450
do
2451
  IFS=$as_save_IFS
2452
  test -z "$as_dir" && as_dir=.
2453
    for ac_exec_ext in '' $ac_executable_extensions; do
2454
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2455
    ac_cv_prog_AWK="$ac_prog"
2456
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2457
    break 2
2458
  fi
2459
done
2460
  done
2461
IFS=$as_save_IFS
2462
2463
fi
2464
fi
2465
AWK=$ac_cv_prog_AWK
2466
if test -n "$AWK"; then
2467
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2468
$as_echo "$AWK" >&6; }
2469
else
2470
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471
$as_echo "no" >&6; }
2472
fi
2473
2474
2475
  test -n "$AWK" && break
2476
done
2477
2478
if test x$AWK = xgawk; then
2479
   YELP_XSL_AWK='gawk -W compat';
2480
else
2481
   YELP_XSL_AWK=$AWK;
2482
fi
2483
2484
1.1.8 by Michael Terry
Import upstream version 3.1.2
2485
2486
# Extract the first word of "itstool", so it can be a program name with args.
2487
set dummy itstool; ac_word=$2
2488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2490
if test "${ac_cv_prog_ITSTOOL+set}" = set; then :
1.1.8 by Michael Terry
Import upstream version 3.1.2
2491
  $as_echo_n "(cached) " >&6
2492
else
2493
  if test -n "$ITSTOOL"; then
2494
  ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
2495
else
2496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497
for as_dir in $PATH
2498
do
2499
  IFS=$as_save_IFS
2500
  test -z "$as_dir" && as_dir=.
2501
    for ac_exec_ext in '' $ac_executable_extensions; do
2502
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503
    ac_cv_prog_ITSTOOL="itstool"
2504
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2505
    break 2
2506
  fi
2507
done
2508
  done
2509
IFS=$as_save_IFS
2510
2511
fi
2512
fi
2513
ITSTOOL=$ac_cv_prog_ITSTOOL
2514
if test -n "$ITSTOOL"; then
2515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
2516
$as_echo "$ITSTOOL" >&6; }
2517
else
2518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519
$as_echo "no" >&6; }
2520
fi
2521
2522
2523
if test x"$ITSTOOL" = x; then
2524
  as_fn_error $? "itstool is required to build the translation XML files" "$LINENO" 5
2525
fi
1.1.19 by Andreas Henriksson
Import upstream version 3.8.1
2526
ITSTOOL_VERSION=`itstool --version | cut -d' ' -f2 | awk -F. '{print $ 1 * 10000 + $ 2 * 100 + $ 3; }'`
2527
if test "$ITSTOOL_VERSION" -lt 10200; then
2528
  as_fn_error $? "itstool >= 1.2.0 is required to build the translation XML files" "$LINENO" 5
2529
fi
1.1.8 by Michael Terry
Import upstream version 3.1.2
2530
1 by Robert Ancell
Import upstream version 2.31.6
2531
# Dependecies
2532
2533
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2534
2535
2536
2537
1 by Robert Ancell
Import upstream version 2.31.6
2538
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2539
	if test -n "$ac_tool_prefix"; then
2540
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2541
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2543
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2544
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2545
  $as_echo_n "(cached) " >&6
2546
else
2547
  case $PKG_CONFIG in
2548
  [\\/]* | ?:[\\/]*)
2549
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2550
  ;;
2551
  *)
2552
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553
for as_dir in $PATH
2554
do
2555
  IFS=$as_save_IFS
2556
  test -z "$as_dir" && as_dir=.
2557
    for ac_exec_ext in '' $ac_executable_extensions; do
2558
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2559
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2560
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2561
    break 2
2562
  fi
2563
done
2564
  done
2565
IFS=$as_save_IFS
2566
2567
  ;;
2568
esac
2569
fi
2570
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2571
if test -n "$PKG_CONFIG"; then
2572
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2573
$as_echo "$PKG_CONFIG" >&6; }
2574
else
2575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576
$as_echo "no" >&6; }
2577
fi
2578
2579
2580
fi
2581
if test -z "$ac_cv_path_PKG_CONFIG"; then
2582
  ac_pt_PKG_CONFIG=$PKG_CONFIG
2583
  # Extract the first word of "pkg-config", so it can be a program name with args.
2584
set dummy pkg-config; ac_word=$2
2585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2586
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2587
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2588
  $as_echo_n "(cached) " >&6
2589
else
2590
  case $ac_pt_PKG_CONFIG in
2591
  [\\/]* | ?:[\\/]*)
2592
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2593
  ;;
2594
  *)
2595
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596
for as_dir in $PATH
2597
do
2598
  IFS=$as_save_IFS
2599
  test -z "$as_dir" && as_dir=.
2600
    for ac_exec_ext in '' $ac_executable_extensions; do
2601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2603
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604
    break 2
2605
  fi
2606
done
2607
  done
2608
IFS=$as_save_IFS
2609
2610
  ;;
2611
esac
2612
fi
2613
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2614
if test -n "$ac_pt_PKG_CONFIG"; then
2615
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2616
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
2617
else
2618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619
$as_echo "no" >&6; }
2620
fi
2621
2622
  if test "x$ac_pt_PKG_CONFIG" = x; then
2623
    PKG_CONFIG=""
2624
  else
2625
    case $cross_compiling:$ac_tool_warned in
2626
yes:)
2627
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2628
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2629
ac_tool_warned=yes ;;
2630
esac
2631
    PKG_CONFIG=$ac_pt_PKG_CONFIG
2632
  fi
2633
else
2634
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2635
fi
2636
2637
fi
2638
if test -n "$PKG_CONFIG"; then
2639
	_pkg_min_version=0.9.0
2640
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2641
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2642
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2643
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2644
$as_echo "yes" >&6; }
2645
	else
2646
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647
$as_echo "no" >&6; }
2648
		PKG_CONFIG=""
2649
	fi
2650
fi
2651
2652
pkg_failed=no
2653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for YELP_XSL" >&5
2654
$as_echo_n "checking for YELP_XSL... " >&6; }
2655
2656
if test -n "$YELP_XSL_CFLAGS"; then
2657
    pkg_cv_YELP_XSL_CFLAGS="$YELP_XSL_CFLAGS"
2658
 elif test -n "$PKG_CONFIG"; then
2659
    if test -n "$PKG_CONFIG" && \
2660
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
2661
	libxml-2.0 >= 2.6.12
2662
	libxslt    >= 1.1.8
2663
\""; } >&5
2664
  ($PKG_CONFIG --exists --print-errors "
2665
	libxml-2.0 >= 2.6.12
2666
	libxslt    >= 1.1.8
2667
") 2>&5
2668
  ac_status=$?
2669
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2670
  test $ac_status = 0; }; then
2671
  pkg_cv_YELP_XSL_CFLAGS=`$PKG_CONFIG --cflags "
2672
	libxml-2.0 >= 2.6.12
2673
	libxslt    >= 1.1.8
2674
" 2>/dev/null`
2675
else
2676
  pkg_failed=yes
2677
fi
2678
 else
2679
    pkg_failed=untried
2680
fi
2681
if test -n "$YELP_XSL_LIBS"; then
2682
    pkg_cv_YELP_XSL_LIBS="$YELP_XSL_LIBS"
2683
 elif test -n "$PKG_CONFIG"; then
2684
    if test -n "$PKG_CONFIG" && \
2685
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
2686
	libxml-2.0 >= 2.6.12
2687
	libxslt    >= 1.1.8
2688
\""; } >&5
2689
  ($PKG_CONFIG --exists --print-errors "
2690
	libxml-2.0 >= 2.6.12
2691
	libxslt    >= 1.1.8
2692
") 2>&5
2693
  ac_status=$?
2694
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695
  test $ac_status = 0; }; then
2696
  pkg_cv_YELP_XSL_LIBS=`$PKG_CONFIG --libs "
2697
	libxml-2.0 >= 2.6.12
2698
	libxslt    >= 1.1.8
2699
" 2>/dev/null`
2700
else
2701
  pkg_failed=yes
2702
fi
2703
 else
2704
    pkg_failed=untried
2705
fi
2706
2707
2708
2709
if test $pkg_failed = yes; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2710
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711
$as_echo "no" >&6; }
1 by Robert Ancell
Import upstream version 2.31.6
2712
2713
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2714
        _pkg_short_errors_supported=yes
2715
else
2716
        _pkg_short_errors_supported=no
2717
fi
2718
        if test $_pkg_short_errors_supported = yes; then
2719
	        YELP_XSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
2720
	libxml-2.0 >= 2.6.12
2721
	libxslt    >= 1.1.8
2722
" 2>&1`
2723
        else
2724
	        YELP_XSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
2725
	libxml-2.0 >= 2.6.12
2726
	libxslt    >= 1.1.8
2727
" 2>&1`
2728
        fi
2729
	# Put the nasty error message in config.log where it belongs
2730
	echo "$YELP_XSL_PKG_ERRORS" >&5
2731
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2732
	as_fn_error $? "Package requirements (
1 by Robert Ancell
Import upstream version 2.31.6
2733
	libxml-2.0 >= 2.6.12
2734
	libxslt    >= 1.1.8
2735
) were not met:
2736
2737
$YELP_XSL_PKG_ERRORS
2738
2739
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2740
installed software in a non-standard prefix.
2741
2742
Alternatively, you may set the environment variables YELP_XSL_CFLAGS
2743
and YELP_XSL_LIBS to avoid the need to call pkg-config.
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2744
See the pkg-config man page for more details." "$LINENO" 5
2745
1 by Robert Ancell
Import upstream version 2.31.6
2746
elif test $pkg_failed = untried; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2747
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748
$as_echo "no" >&6; }
1 by Robert Ancell
Import upstream version 2.31.6
2749
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2750
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2751
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
1 by Robert Ancell
Import upstream version 2.31.6
2752
is in your PATH or set the PKG_CONFIG environment variable to the full
2753
path to pkg-config.
2754
2755
Alternatively, you may set the environment variables YELP_XSL_CFLAGS
2756
and YELP_XSL_LIBS to avoid the need to call pkg-config.
2757
See the pkg-config man page for more details.
2758
2759
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2760
See \`config.log' for more details" "$LINENO" 5; }
2761
1 by Robert Ancell
Import upstream version 2.31.6
2762
else
2763
	YELP_XSL_CFLAGS=$pkg_cv_YELP_XSL_CFLAGS
2764
	YELP_XSL_LIBS=$pkg_cv_YELP_XSL_LIBS
2765
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2766
$as_echo "yes" >&6; }
1.1.1 by Robert Ancell
Import upstream version 2.91.8
2767
1 by Robert Ancell
Import upstream version 2.31.6
2768
fi
2769
2770
# i18n stuff
2771
GETTEXT_PACKAGE=yelp-xsl
2772
2773
cat >>confdefs.h <<_ACEOF
2774
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
2775
_ACEOF
2776
2777
2778
2779
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2780
$as_echo_n "checking whether NLS is requested... " >&6; }
2781
    # Check whether --enable-nls was given.
2782
if test "${enable_nls+set}" = set; then :
2783
  enableval=$enable_nls; USE_NLS=$enableval
2784
else
2785
  USE_NLS=yes
2786
fi
2787
2788
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2789
$as_echo "$USE_NLS" >&6; }
2790
2791
2792
DEPDIR="${am__leading_dot}deps"
2793
2794
ac_config_commands="$ac_config_commands depfiles"
2795
2796
2797
am_make=${MAKE-make}
2798
cat > confinc << 'END'
2799
am__doit:
2800
	@echo this is the am__doit target
2801
.PHONY: am__doit
2802
END
2803
# If we don't find an include directive, just comment out the code.
2804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2805
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2806
am__include="#"
2807
am__quote=
2808
_am_result=none
2809
# First try GNU make style include.
2810
echo "include confinc" > confmf
2811
# Ignore all kinds of additional output from `make'.
2812
case `$am_make -s -f confmf 2> /dev/null` in #(
2813
*the\ am__doit\ target*)
2814
  am__include=include
2815
  am__quote=
2816
  _am_result=GNU
2817
  ;;
2818
esac
2819
# Now try BSD make style include.
2820
if test "$am__include" = "#"; then
2821
   echo '.include "confinc"' > confmf
2822
   case `$am_make -s -f confmf 2> /dev/null` in #(
2823
   *the\ am__doit\ target*)
2824
     am__include=.include
2825
     am__quote="\""
2826
     _am_result=BSD
2827
     ;;
2828
   esac
2829
fi
2830
2831
2832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2833
$as_echo "$_am_result" >&6; }
2834
rm -f confinc confmf
2835
2836
# Check whether --enable-dependency-tracking was given.
2837
if test "${enable_dependency_tracking+set}" = set; then :
2838
  enableval=$enable_dependency_tracking;
2839
fi
2840
2841
if test "x$enable_dependency_tracking" != xno; then
2842
  am_depcomp="$ac_aux_dir/depcomp"
2843
  AMDEPBACKSLASH='\'
2844
fi
2845
 if test "x$enable_dependency_tracking" != xno; then
2846
  AMDEP_TRUE=
2847
  AMDEP_FALSE='#'
2848
else
2849
  AMDEP_TRUE='#'
2850
  AMDEP_FALSE=
2851
fi
2852
2853
2854
ac_ext=c
2855
ac_cpp='$CPP $CPPFLAGS'
2856
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2857
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2858
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2859
if test -n "$ac_tool_prefix"; then
2860
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2861
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2863
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2864
if test "${ac_cv_prog_CC+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2865
  $as_echo_n "(cached) " >&6
2866
else
2867
  if test -n "$CC"; then
2868
  ac_cv_prog_CC="$CC" # Let the user override the test.
2869
else
2870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871
for as_dir in $PATH
2872
do
2873
  IFS=$as_save_IFS
2874
  test -z "$as_dir" && as_dir=.
2875
    for ac_exec_ext in '' $ac_executable_extensions; do
2876
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2877
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2879
    break 2
2880
  fi
2881
done
2882
  done
2883
IFS=$as_save_IFS
2884
2885
fi
2886
fi
2887
CC=$ac_cv_prog_CC
2888
if test -n "$CC"; then
2889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2890
$as_echo "$CC" >&6; }
2891
else
2892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2893
$as_echo "no" >&6; }
2894
fi
2895
2896
2897
fi
2898
if test -z "$ac_cv_prog_CC"; then
2899
  ac_ct_CC=$CC
2900
  # Extract the first word of "gcc", so it can be a program name with args.
2901
set dummy gcc; ac_word=$2
2902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2904
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2905
  $as_echo_n "(cached) " >&6
2906
else
2907
  if test -n "$ac_ct_CC"; then
2908
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2909
else
2910
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911
for as_dir in $PATH
2912
do
2913
  IFS=$as_save_IFS
2914
  test -z "$as_dir" && as_dir=.
2915
    for ac_exec_ext in '' $ac_executable_extensions; do
2916
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2917
    ac_cv_prog_ac_ct_CC="gcc"
2918
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919
    break 2
2920
  fi
2921
done
2922
  done
2923
IFS=$as_save_IFS
2924
2925
fi
2926
fi
2927
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2928
if test -n "$ac_ct_CC"; then
2929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2930
$as_echo "$ac_ct_CC" >&6; }
2931
else
2932
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933
$as_echo "no" >&6; }
2934
fi
2935
2936
  if test "x$ac_ct_CC" = x; then
2937
    CC=""
2938
  else
2939
    case $cross_compiling:$ac_tool_warned in
2940
yes:)
2941
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2942
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2943
ac_tool_warned=yes ;;
2944
esac
2945
    CC=$ac_ct_CC
2946
  fi
2947
else
2948
  CC="$ac_cv_prog_CC"
2949
fi
2950
2951
if test -z "$CC"; then
2952
          if test -n "$ac_tool_prefix"; then
2953
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2954
set dummy ${ac_tool_prefix}cc; ac_word=$2
2955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2957
if test "${ac_cv_prog_CC+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2958
  $as_echo_n "(cached) " >&6
2959
else
2960
  if test -n "$CC"; then
2961
  ac_cv_prog_CC="$CC" # Let the user override the test.
2962
else
2963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964
for as_dir in $PATH
2965
do
2966
  IFS=$as_save_IFS
2967
  test -z "$as_dir" && as_dir=.
2968
    for ac_exec_ext in '' $ac_executable_extensions; do
2969
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2970
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2971
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2972
    break 2
2973
  fi
2974
done
2975
  done
2976
IFS=$as_save_IFS
2977
2978
fi
2979
fi
2980
CC=$ac_cv_prog_CC
2981
if test -n "$CC"; then
2982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2983
$as_echo "$CC" >&6; }
2984
else
2985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2986
$as_echo "no" >&6; }
2987
fi
2988
2989
2990
  fi
2991
fi
2992
if test -z "$CC"; then
2993
  # Extract the first word of "cc", so it can be a program name with args.
2994
set dummy cc; ac_word=$2
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
2997
if test "${ac_cv_prog_CC+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
2998
  $as_echo_n "(cached) " >&6
2999
else
3000
  if test -n "$CC"; then
3001
  ac_cv_prog_CC="$CC" # Let the user override the test.
3002
else
3003
  ac_prog_rejected=no
3004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005
for as_dir in $PATH
3006
do
3007
  IFS=$as_save_IFS
3008
  test -z "$as_dir" && as_dir=.
3009
    for ac_exec_ext in '' $ac_executable_extensions; do
3010
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3012
       ac_prog_rejected=yes
3013
       continue
3014
     fi
3015
    ac_cv_prog_CC="cc"
3016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017
    break 2
3018
  fi
3019
done
3020
  done
3021
IFS=$as_save_IFS
3022
3023
if test $ac_prog_rejected = yes; then
3024
  # We found a bogon in the path, so make sure we never use it.
3025
  set dummy $ac_cv_prog_CC
3026
  shift
3027
  if test $# != 0; then
3028
    # We chose a different compiler from the bogus one.
3029
    # However, it has the same basename, so the bogon will be chosen
3030
    # first if we set CC to just the basename; use the full file name.
3031
    shift
3032
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3033
  fi
3034
fi
3035
fi
3036
fi
3037
CC=$ac_cv_prog_CC
3038
if test -n "$CC"; then
3039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3040
$as_echo "$CC" >&6; }
3041
else
3042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043
$as_echo "no" >&6; }
3044
fi
3045
3046
3047
fi
3048
if test -z "$CC"; then
3049
  if test -n "$ac_tool_prefix"; then
3050
  for ac_prog in cl.exe
3051
  do
3052
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3053
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3056
if test "${ac_cv_prog_CC+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3057
  $as_echo_n "(cached) " >&6
3058
else
3059
  if test -n "$CC"; then
3060
  ac_cv_prog_CC="$CC" # Let the user override the test.
3061
else
3062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063
for as_dir in $PATH
3064
do
3065
  IFS=$as_save_IFS
3066
  test -z "$as_dir" && as_dir=.
3067
    for ac_exec_ext in '' $ac_executable_extensions; do
3068
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3069
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3070
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071
    break 2
3072
  fi
3073
done
3074
  done
3075
IFS=$as_save_IFS
3076
3077
fi
3078
fi
3079
CC=$ac_cv_prog_CC
3080
if test -n "$CC"; then
3081
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3082
$as_echo "$CC" >&6; }
3083
else
3084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085
$as_echo "no" >&6; }
3086
fi
3087
3088
3089
    test -n "$CC" && break
3090
  done
3091
fi
3092
if test -z "$CC"; then
3093
  ac_ct_CC=$CC
3094
  for ac_prog in cl.exe
3095
do
3096
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3097
set dummy $ac_prog; ac_word=$2
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3100
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3101
  $as_echo_n "(cached) " >&6
3102
else
3103
  if test -n "$ac_ct_CC"; then
3104
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3105
else
3106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107
for as_dir in $PATH
3108
do
3109
  IFS=$as_save_IFS
3110
  test -z "$as_dir" && as_dir=.
3111
    for ac_exec_ext in '' $ac_executable_extensions; do
3112
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113
    ac_cv_prog_ac_ct_CC="$ac_prog"
3114
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115
    break 2
3116
  fi
3117
done
3118
  done
3119
IFS=$as_save_IFS
3120
3121
fi
3122
fi
3123
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3124
if test -n "$ac_ct_CC"; then
3125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3126
$as_echo "$ac_ct_CC" >&6; }
3127
else
3128
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129
$as_echo "no" >&6; }
3130
fi
3131
3132
3133
  test -n "$ac_ct_CC" && break
3134
done
3135
3136
  if test "x$ac_ct_CC" = x; then
3137
    CC=""
3138
  else
3139
    case $cross_compiling:$ac_tool_warned in
3140
yes:)
3141
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3142
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3143
ac_tool_warned=yes ;;
3144
esac
3145
    CC=$ac_ct_CC
3146
  fi
3147
fi
3148
3149
fi
3150
3151
3152
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3153
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3154
as_fn_error $? "no acceptable C compiler found in \$PATH
3155
See \`config.log' for more details" "$LINENO" 5; }
1 by Robert Ancell
Import upstream version 2.31.6
3156
3157
# Provide some information about the compiler.
3158
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3159
set X $ac_compile
3160
ac_compiler=$2
3161
for ac_option in --version -v -V -qversion; do
3162
  { { ac_try="$ac_compiler $ac_option >&5"
3163
case "(($ac_try" in
3164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3165
  *) ac_try_echo=$ac_try;;
3166
esac
3167
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168
$as_echo "$ac_try_echo"; } >&5
3169
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3170
  ac_status=$?
3171
  if test -s conftest.err; then
3172
    sed '10a\
3173
... rest of stderr output deleted ...
3174
         10q' conftest.err >conftest.er1
3175
    cat conftest.er1 >&5
3176
  fi
3177
  rm -f conftest.er1 conftest.err
3178
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179
  test $ac_status = 0; }
3180
done
3181
3182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183
/* end confdefs.h.  */
3184
3185
int
3186
main ()
3187
{
3188
3189
  ;
3190
  return 0;
3191
}
3192
_ACEOF
3193
ac_clean_files_save=$ac_clean_files
3194
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3195
# Try to create an executable without -o first, disregard a.out.
3196
# It will help us diagnose broken compilers, and finding out an intuition
3197
# of exeext.
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3199
$as_echo_n "checking whether the C compiler works... " >&6; }
3200
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3201
3202
# The possible output files:
3203
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3204
3205
ac_rmfiles=
3206
for ac_file in $ac_files
3207
do
3208
  case $ac_file in
3209
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3210
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3211
  esac
3212
done
3213
rm -f $ac_rmfiles
3214
3215
if { { ac_try="$ac_link_default"
3216
case "(($ac_try" in
3217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218
  *) ac_try_echo=$ac_try;;
3219
esac
3220
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221
$as_echo "$ac_try_echo"; } >&5
3222
  (eval "$ac_link_default") 2>&5
3223
  ac_status=$?
3224
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225
  test $ac_status = 0; }; then :
3226
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3227
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3228
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3229
# so that the user can short-circuit this test for compilers unknown to
3230
# Autoconf.
3231
for ac_file in $ac_files ''
3232
do
3233
  test -f "$ac_file" || continue
3234
  case $ac_file in
3235
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3236
	;;
3237
    [ab].out )
3238
	# We found the default executable, but exeext='' is most
3239
	# certainly right.
3240
	break;;
3241
    *.* )
3242
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3243
	then :; else
3244
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3245
	fi
3246
	# We set ac_cv_exeext here because the later test for it is not
3247
	# safe: cross compilers may not add the suffix if given an `-o'
3248
	# argument, so we may need to know it at that point already.
3249
	# Even if this section looks crufty: it has the advantage of
3250
	# actually working.
3251
	break;;
3252
    * )
3253
	break;;
3254
  esac
3255
done
3256
test "$ac_cv_exeext" = no && ac_cv_exeext=
3257
3258
else
3259
  ac_file=''
3260
fi
3261
if test -z "$ac_file"; then :
3262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263
$as_echo "no" >&6; }
3264
$as_echo "$as_me: failed program was:" >&5
3265
sed 's/^/| /' conftest.$ac_ext >&5
3266
3267
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3269
as_fn_error 77 "C compiler cannot create executables
3270
See \`config.log' for more details" "$LINENO" 5; }
1 by Robert Ancell
Import upstream version 2.31.6
3271
else
3272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3273
$as_echo "yes" >&6; }
3274
fi
3275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3276
$as_echo_n "checking for C compiler default output file name... " >&6; }
3277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3278
$as_echo "$ac_file" >&6; }
3279
ac_exeext=$ac_cv_exeext
3280
3281
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3282
ac_clean_files=$ac_clean_files_save
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3284
$as_echo_n "checking for suffix of executables... " >&6; }
3285
if { { ac_try="$ac_link"
3286
case "(($ac_try" in
3287
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288
  *) ac_try_echo=$ac_try;;
3289
esac
3290
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3291
$as_echo "$ac_try_echo"; } >&5
3292
  (eval "$ac_link") 2>&5
3293
  ac_status=$?
3294
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295
  test $ac_status = 0; }; then :
3296
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3297
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3298
# work properly (i.e., refer to `conftest.exe'), while it won't with
3299
# `rm'.
3300
for ac_file in conftest.exe conftest conftest.*; do
3301
  test -f "$ac_file" || continue
3302
  case $ac_file in
3303
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3304
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3305
	  break;;
3306
    * ) break;;
3307
  esac
3308
done
3309
else
3310
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3312
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3313
See \`config.log' for more details" "$LINENO" 5; }
1 by Robert Ancell
Import upstream version 2.31.6
3314
fi
3315
rm -f conftest conftest$ac_cv_exeext
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3317
$as_echo "$ac_cv_exeext" >&6; }
3318
3319
rm -f conftest.$ac_ext
3320
EXEEXT=$ac_cv_exeext
3321
ac_exeext=$EXEEXT
3322
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323
/* end confdefs.h.  */
3324
#include <stdio.h>
3325
int
3326
main ()
3327
{
3328
FILE *f = fopen ("conftest.out", "w");
3329
 return ferror (f) || fclose (f) != 0;
3330
3331
  ;
3332
  return 0;
3333
}
3334
_ACEOF
3335
ac_clean_files="$ac_clean_files conftest.out"
3336
# Check that the compiler produces executables we can run.  If not, either
3337
# the compiler is broken, or we cross compile.
3338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3339
$as_echo_n "checking whether we are cross compiling... " >&6; }
3340
if test "$cross_compiling" != yes; then
3341
  { { ac_try="$ac_link"
3342
case "(($ac_try" in
3343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344
  *) ac_try_echo=$ac_try;;
3345
esac
3346
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347
$as_echo "$ac_try_echo"; } >&5
3348
  (eval "$ac_link") 2>&5
3349
  ac_status=$?
3350
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3351
  test $ac_status = 0; }
3352
  if { ac_try='./conftest$ac_cv_exeext'
3353
  { { case "(($ac_try" in
3354
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355
  *) ac_try_echo=$ac_try;;
3356
esac
3357
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3358
$as_echo "$ac_try_echo"; } >&5
3359
  (eval "$ac_try") 2>&5
3360
  ac_status=$?
3361
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3362
  test $ac_status = 0; }; }; then
3363
    cross_compiling=no
3364
  else
3365
    if test "$cross_compiling" = maybe; then
3366
	cross_compiling=yes
3367
    else
3368
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3370
as_fn_error $? "cannot run C compiled programs.
1 by Robert Ancell
Import upstream version 2.31.6
3371
If you meant to cross compile, use \`--host'.
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3372
See \`config.log' for more details" "$LINENO" 5; }
1 by Robert Ancell
Import upstream version 2.31.6
3373
    fi
3374
  fi
3375
fi
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3377
$as_echo "$cross_compiling" >&6; }
3378
3379
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3380
ac_clean_files=$ac_clean_files_save
3381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3382
$as_echo_n "checking for suffix of object files... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3383
if test "${ac_cv_objext+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3384
  $as_echo_n "(cached) " >&6
3385
else
3386
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387
/* end confdefs.h.  */
3388
3389
int
3390
main ()
3391
{
3392
3393
  ;
3394
  return 0;
3395
}
3396
_ACEOF
3397
rm -f conftest.o conftest.obj
3398
if { { ac_try="$ac_compile"
3399
case "(($ac_try" in
3400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401
  *) ac_try_echo=$ac_try;;
3402
esac
3403
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404
$as_echo "$ac_try_echo"; } >&5
3405
  (eval "$ac_compile") 2>&5
3406
  ac_status=$?
3407
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3408
  test $ac_status = 0; }; then :
3409
  for ac_file in conftest.o conftest.obj conftest.*; do
3410
  test -f "$ac_file" || continue;
3411
  case $ac_file in
3412
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3413
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3414
       break;;
3415
  esac
3416
done
3417
else
3418
  $as_echo "$as_me: failed program was:" >&5
3419
sed 's/^/| /' conftest.$ac_ext >&5
3420
3421
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3423
as_fn_error $? "cannot compute suffix of object files: cannot compile
3424
See \`config.log' for more details" "$LINENO" 5; }
1 by Robert Ancell
Import upstream version 2.31.6
3425
fi
3426
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3427
fi
3428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3429
$as_echo "$ac_cv_objext" >&6; }
3430
OBJEXT=$ac_cv_objext
3431
ac_objext=$OBJEXT
3432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3433
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3434
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3435
  $as_echo_n "(cached) " >&6
3436
else
3437
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438
/* end confdefs.h.  */
3439
3440
int
3441
main ()
3442
{
3443
#ifndef __GNUC__
3444
       choke me
3445
#endif
3446
3447
  ;
3448
  return 0;
3449
}
3450
_ACEOF
3451
if ac_fn_c_try_compile "$LINENO"; then :
3452
  ac_compiler_gnu=yes
3453
else
3454
  ac_compiler_gnu=no
3455
fi
3456
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3458
3459
fi
3460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3461
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3462
if test $ac_compiler_gnu = yes; then
3463
  GCC=yes
3464
else
3465
  GCC=
3466
fi
3467
ac_test_CFLAGS=${CFLAGS+set}
3468
ac_save_CFLAGS=$CFLAGS
3469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3470
$as_echo_n "checking whether $CC accepts -g... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3471
if test "${ac_cv_prog_cc_g+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3472
  $as_echo_n "(cached) " >&6
3473
else
3474
  ac_save_c_werror_flag=$ac_c_werror_flag
3475
   ac_c_werror_flag=yes
3476
   ac_cv_prog_cc_g=no
3477
   CFLAGS="-g"
3478
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479
/* end confdefs.h.  */
3480
3481
int
3482
main ()
3483
{
3484
3485
  ;
3486
  return 0;
3487
}
3488
_ACEOF
3489
if ac_fn_c_try_compile "$LINENO"; then :
3490
  ac_cv_prog_cc_g=yes
3491
else
3492
  CFLAGS=""
3493
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494
/* end confdefs.h.  */
3495
3496
int
3497
main ()
3498
{
3499
3500
  ;
3501
  return 0;
3502
}
3503
_ACEOF
3504
if ac_fn_c_try_compile "$LINENO"; then :
3505
3506
else
3507
  ac_c_werror_flag=$ac_save_c_werror_flag
3508
	 CFLAGS="-g"
3509
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510
/* end confdefs.h.  */
3511
3512
int
3513
main ()
3514
{
3515
3516
  ;
3517
  return 0;
3518
}
3519
_ACEOF
3520
if ac_fn_c_try_compile "$LINENO"; then :
3521
  ac_cv_prog_cc_g=yes
3522
fi
3523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524
fi
3525
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526
fi
3527
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528
   ac_c_werror_flag=$ac_save_c_werror_flag
3529
fi
3530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3531
$as_echo "$ac_cv_prog_cc_g" >&6; }
3532
if test "$ac_test_CFLAGS" = set; then
3533
  CFLAGS=$ac_save_CFLAGS
3534
elif test $ac_cv_prog_cc_g = yes; then
3535
  if test "$GCC" = yes; then
3536
    CFLAGS="-g -O2"
3537
  else
3538
    CFLAGS="-g"
3539
  fi
3540
else
3541
  if test "$GCC" = yes; then
3542
    CFLAGS="-O2"
3543
  else
3544
    CFLAGS=
3545
  fi
3546
fi
3547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3548
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3549
if test "${ac_cv_prog_cc_c89+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3550
  $as_echo_n "(cached) " >&6
3551
else
3552
  ac_cv_prog_cc_c89=no
3553
ac_save_CC=$CC
3554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555
/* end confdefs.h.  */
3556
#include <stdarg.h>
3557
#include <stdio.h>
3558
#include <sys/types.h>
3559
#include <sys/stat.h>
3560
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3561
struct buf { int x; };
3562
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3563
static char *e (p, i)
3564
     char **p;
3565
     int i;
3566
{
3567
  return p[i];
3568
}
3569
static char *f (char * (*g) (char **, int), char **p, ...)
3570
{
3571
  char *s;
3572
  va_list v;
3573
  va_start (v,p);
3574
  s = g (p, va_arg (v,int));
3575
  va_end (v);
3576
  return s;
3577
}
3578
3579
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3580
   function prototypes and stuff, but not '\xHH' hex character constants.
3581
   These don't provoke an error unfortunately, instead are silently treated
3582
   as 'x'.  The following induces an error, until -std is added to get
3583
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3584
   array size at least.  It's necessary to write '\x00'==0 to get something
3585
   that's true only with -std.  */
3586
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3587
3588
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3589
   inside strings and character constants.  */
3590
#define FOO(x) 'x'
3591
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3592
3593
int test (int i, double x);
3594
struct s1 {int (*f) (int a);};
3595
struct s2 {int (*f) (double a);};
3596
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3597
int argc;
3598
char **argv;
3599
int
3600
main ()
3601
{
3602
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3603
  ;
3604
  return 0;
3605
}
3606
_ACEOF
3607
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3608
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3609
do
3610
  CC="$ac_save_CC $ac_arg"
3611
  if ac_fn_c_try_compile "$LINENO"; then :
3612
  ac_cv_prog_cc_c89=$ac_arg
3613
fi
3614
rm -f core conftest.err conftest.$ac_objext
3615
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3616
done
3617
rm -f conftest.$ac_ext
3618
CC=$ac_save_CC
3619
3620
fi
3621
# AC_CACHE_VAL
3622
case "x$ac_cv_prog_cc_c89" in
3623
  x)
3624
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3625
$as_echo "none needed" >&6; } ;;
3626
  xno)
3627
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3628
$as_echo "unsupported" >&6; } ;;
3629
  *)
3630
    CC="$CC $ac_cv_prog_cc_c89"
3631
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3632
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3633
esac
3634
if test "x$ac_cv_prog_cc_c89" != xno; then :
3635
3636
fi
3637
3638
ac_ext=c
3639
ac_cpp='$CPP $CPPFLAGS'
3640
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643
3644
depcc="$CC"   am_compiler_list=
3645
3646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3647
$as_echo_n "checking dependency style of $depcc... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3648
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3649
  $as_echo_n "(cached) " >&6
3650
else
3651
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3652
  # We make a subdir and do the tests there.  Otherwise we can end up
3653
  # making bogus files that we don't know about and never remove.  For
3654
  # instance it was reported that on HP-UX the gcc test will end up
3655
  # making a dummy file named `D' -- because `-MD' means `put the output
3656
  # in D'.
3657
  mkdir conftest.dir
3658
  # Copy depcomp to subdir because otherwise we won't find it if we're
3659
  # using a relative directory.
3660
  cp "$am_depcomp" conftest.dir
3661
  cd conftest.dir
3662
  # We will build objects and dependencies in a subdirectory because
3663
  # it helps to detect inapplicable dependency modes.  For instance
3664
  # both Tru64's cc and ICC support -MD to output dependencies as a
3665
  # side effect of compilation, but ICC will put the dependencies in
3666
  # the current directory while Tru64 will put them in the object
3667
  # directory.
3668
  mkdir sub
3669
3670
  am_cv_CC_dependencies_compiler_type=none
3671
  if test "$am_compiler_list" = ""; then
3672
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3673
  fi
3674
  am__universal=false
3675
  case " $depcc " in #(
3676
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3677
     esac
3678
3679
  for depmode in $am_compiler_list; do
3680
    # Setup a source with many dependencies, because some compilers
3681
    # like to wrap large dependency lists on column 80 (with \), and
3682
    # we should not choose a depcomp mode which is confused by this.
3683
    #
3684
    # We need to recreate these files for each test, as the compiler may
3685
    # overwrite some of them when testing with obscure command lines.
3686
    # This happens at least with the AIX C compiler.
3687
    : > sub/conftest.c
3688
    for i in 1 2 3 4 5 6; do
3689
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3690
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3691
      # Solaris 8's {/usr,}/bin/sh.
3692
      touch sub/conftst$i.h
3693
    done
3694
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3695
3696
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3697
    # mode.  It turns out that the SunPro C++ compiler does not properly
3698
    # handle `-M -o', and we need to detect this.  Also, some Intel
3699
    # versions had trouble with output in subdirs
3700
    am__obj=sub/conftest.${OBJEXT-o}
3701
    am__minus_obj="-o $am__obj"
3702
    case $depmode in
3703
    gcc)
3704
      # This depmode causes a compiler race in universal mode.
3705
      test "$am__universal" = false || continue
3706
      ;;
3707
    nosideeffect)
3708
      # after this tag, mechanisms are not by side-effect, so they'll
3709
      # only be used when explicitly requested
3710
      if test "x$enable_dependency_tracking" = xyes; then
3711
	continue
3712
      else
3713
	break
3714
      fi
3715
      ;;
3716
    msvisualcpp | msvcmsys)
3717
      # This compiler won't grok `-c -o', but also, the minuso test has
3718
      # not run yet.  These depmodes are late enough in the game, and
3719
      # so weak that their functioning should not be impacted.
3720
      am__obj=conftest.${OBJEXT-o}
3721
      am__minus_obj=
3722
      ;;
3723
    none) break ;;
3724
    esac
3725
    if depmode=$depmode \
3726
       source=sub/conftest.c object=$am__obj \
3727
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3728
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3729
         >/dev/null 2>conftest.err &&
3730
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3731
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3732
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3733
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3734
      # icc doesn't choke on unknown options, it will just issue warnings
3735
      # or remarks (even with -Werror).  So we grep stderr for any message
3736
      # that says an option was ignored or not supported.
3737
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3738
      #   icc: Command line warning: ignoring option '-M'; no argument required
3739
      # The diagnosis changed in icc 8.0:
3740
      #   icc: Command line remark: option '-MP' not supported
3741
      if (grep 'ignoring option' conftest.err ||
3742
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3743
        am_cv_CC_dependencies_compiler_type=$depmode
3744
        break
3745
      fi
3746
    fi
3747
  done
3748
3749
  cd ..
3750
  rm -rf conftest.dir
3751
else
3752
  am_cv_CC_dependencies_compiler_type=none
3753
fi
3754
3755
fi
3756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3757
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3758
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3759
3760
 if
3761
  test "x$enable_dependency_tracking" != xno \
3762
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3763
  am__fastdepCC_TRUE=
3764
  am__fastdepCC_FALSE='#'
3765
else
3766
  am__fastdepCC_TRUE='#'
3767
  am__fastdepCC_FALSE=
3768
fi
3769
3770
3771
3772
3773
3774
case "$am__api_version" in
3775
    1.01234)
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3776
	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
3777
    ;;
3778
    *)
3779
    ;;
3780
esac
3781
3782
if test -n "0.40.0"; then
3783
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
3784
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
3785
3786
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3787
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3788
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3789
3790
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3791
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3792
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3793
	as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
3794
fi
3795
3796
# Extract the first word of "intltool-update", so it can be a program name with args.
3797
set dummy intltool-update; ac_word=$2
3798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3800
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3801
  $as_echo_n "(cached) " >&6
3802
else
3803
  case $INTLTOOL_UPDATE in
3804
  [\\/]* | ?:[\\/]*)
3805
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3806
  ;;
3807
  *)
3808
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809
for as_dir in $PATH
3810
do
3811
  IFS=$as_save_IFS
3812
  test -z "$as_dir" && as_dir=.
3813
    for ac_exec_ext in '' $ac_executable_extensions; do
3814
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3815
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3816
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817
    break 2
3818
  fi
3819
done
3820
  done
3821
IFS=$as_save_IFS
3822
3823
  ;;
3824
esac
3825
fi
3826
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3827
if test -n "$INTLTOOL_UPDATE"; then
3828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3829
$as_echo "$INTLTOOL_UPDATE" >&6; }
3830
else
3831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832
$as_echo "no" >&6; }
3833
fi
3834
3835
3836
# Extract the first word of "intltool-merge", so it can be a program name with args.
3837
set dummy intltool-merge; ac_word=$2
3838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3840
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3841
  $as_echo_n "(cached) " >&6
3842
else
3843
  case $INTLTOOL_MERGE in
3844
  [\\/]* | ?:[\\/]*)
3845
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3846
  ;;
3847
  *)
3848
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849
for as_dir in $PATH
3850
do
3851
  IFS=$as_save_IFS
3852
  test -z "$as_dir" && as_dir=.
3853
    for ac_exec_ext in '' $ac_executable_extensions; do
3854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3856
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857
    break 2
3858
  fi
3859
done
3860
  done
3861
IFS=$as_save_IFS
3862
3863
  ;;
3864
esac
3865
fi
3866
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3867
if test -n "$INTLTOOL_MERGE"; then
3868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3869
$as_echo "$INTLTOOL_MERGE" >&6; }
3870
else
3871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872
$as_echo "no" >&6; }
3873
fi
3874
3875
3876
# Extract the first word of "intltool-extract", so it can be a program name with args.
3877
set dummy intltool-extract; ac_word=$2
3878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
3880
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
3881
  $as_echo_n "(cached) " >&6
3882
else
3883
  case $INTLTOOL_EXTRACT in
3884
  [\\/]* | ?:[\\/]*)
3885
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3886
  ;;
3887
  *)
3888
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889
for as_dir in $PATH
3890
do
3891
  IFS=$as_save_IFS
3892
  test -z "$as_dir" && as_dir=.
3893
    for ac_exec_ext in '' $ac_executable_extensions; do
3894
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3895
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3896
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3897
    break 2
3898
  fi
3899
done
3900
  done
3901
IFS=$as_save_IFS
3902
3903
  ;;
3904
esac
3905
fi
3906
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3907
if test -n "$INTLTOOL_EXTRACT"; then
3908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3909
$as_echo "$INTLTOOL_EXTRACT" >&6; }
3910
else
3911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912
$as_echo "no" >&6; }
3913
fi
3914
3915
3916
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
3917
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
3918
fi
3919
3920
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3921
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3922
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3923
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3924
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3925
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3926
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3927
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3928
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3929
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3930
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3931
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3932
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3933
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3934
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3935
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3936
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3937
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3938
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
# Check the gettext tools to make sure they are GNU
4037
# Extract the first word of "xgettext", so it can be a program name with args.
4038
set dummy xgettext; ac_word=$2
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4041
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
4042
  $as_echo_n "(cached) " >&6
4043
else
4044
  case $XGETTEXT in
4045
  [\\/]* | ?:[\\/]*)
4046
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4047
  ;;
4048
  *)
4049
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4050
for as_dir in $PATH
4051
do
4052
  IFS=$as_save_IFS
4053
  test -z "$as_dir" && as_dir=.
4054
    for ac_exec_ext in '' $ac_executable_extensions; do
4055
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4056
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4057
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058
    break 2
4059
  fi
4060
done
4061
  done
4062
IFS=$as_save_IFS
4063
4064
  ;;
4065
esac
4066
fi
4067
XGETTEXT=$ac_cv_path_XGETTEXT
4068
if test -n "$XGETTEXT"; then
4069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4070
$as_echo "$XGETTEXT" >&6; }
4071
else
4072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073
$as_echo "no" >&6; }
4074
fi
4075
4076
4077
# Extract the first word of "msgmerge", so it can be a program name with args.
4078
set dummy msgmerge; ac_word=$2
4079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4081
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
4082
  $as_echo_n "(cached) " >&6
4083
else
4084
  case $MSGMERGE in
4085
  [\\/]* | ?:[\\/]*)
4086
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4087
  ;;
4088
  *)
4089
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090
for as_dir in $PATH
4091
do
4092
  IFS=$as_save_IFS
4093
  test -z "$as_dir" && as_dir=.
4094
    for ac_exec_ext in '' $ac_executable_extensions; do
4095
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4096
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4097
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4098
    break 2
4099
  fi
4100
done
4101
  done
4102
IFS=$as_save_IFS
4103
4104
  ;;
4105
esac
4106
fi
4107
MSGMERGE=$ac_cv_path_MSGMERGE
4108
if test -n "$MSGMERGE"; then
4109
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4110
$as_echo "$MSGMERGE" >&6; }
4111
else
4112
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113
$as_echo "no" >&6; }
4114
fi
4115
4116
4117
# Extract the first word of "msgfmt", so it can be a program name with args.
4118
set dummy msgfmt; ac_word=$2
4119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4121
if test "${ac_cv_path_MSGFMT+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
4122
  $as_echo_n "(cached) " >&6
4123
else
4124
  case $MSGFMT in
4125
  [\\/]* | ?:[\\/]*)
4126
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4127
  ;;
4128
  *)
4129
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130
for as_dir in $PATH
4131
do
4132
  IFS=$as_save_IFS
4133
  test -z "$as_dir" && as_dir=.
4134
    for ac_exec_ext in '' $ac_executable_extensions; do
4135
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4136
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4137
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4138
    break 2
4139
  fi
4140
done
4141
  done
4142
IFS=$as_save_IFS
4143
4144
  ;;
4145
esac
4146
fi
4147
MSGFMT=$ac_cv_path_MSGFMT
4148
if test -n "$MSGFMT"; then
4149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4150
$as_echo "$MSGFMT" >&6; }
4151
else
4152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153
$as_echo "no" >&6; }
4154
fi
4155
4156
4157
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4158
set dummy gmsgfmt; ac_word=$2
4159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4161
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
4162
  $as_echo_n "(cached) " >&6
4163
else
4164
  case $GMSGFMT in
4165
  [\\/]* | ?:[\\/]*)
4166
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4167
  ;;
4168
  *)
4169
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170
for as_dir in $PATH
4171
do
4172
  IFS=$as_save_IFS
4173
  test -z "$as_dir" && as_dir=.
4174
    for ac_exec_ext in '' $ac_executable_extensions; do
4175
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4176
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4177
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4178
    break 2
4179
  fi
4180
done
4181
  done
4182
IFS=$as_save_IFS
4183
4184
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4185
  ;;
4186
esac
4187
fi
4188
GMSGFMT=$ac_cv_path_GMSGFMT
4189
if test -n "$GMSGFMT"; then
4190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4191
$as_echo "$GMSGFMT" >&6; }
4192
else
4193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194
$as_echo "no" >&6; }
4195
fi
4196
4197
4198
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4199
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
4200
fi
4201
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4202
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4203
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4204
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4205
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
4206
fi
4207
4208
# Extract the first word of "perl", so it can be a program name with args.
4209
set dummy perl; ac_word=$2
4210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211
$as_echo_n "checking for $ac_word... " >&6; }
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4212
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
1 by Robert Ancell
Import upstream version 2.31.6
4213
  $as_echo_n "(cached) " >&6
4214
else
4215
  case $INTLTOOL_PERL in
4216
  [\\/]* | ?:[\\/]*)
4217
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4218
  ;;
4219
  *)
4220
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221
for as_dir in $PATH
4222
do
4223
  IFS=$as_save_IFS
4224
  test -z "$as_dir" && as_dir=.
4225
    for ac_exec_ext in '' $ac_executable_extensions; do
4226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4227
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4228
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4229
    break 2
4230
  fi
4231
done
4232
  done
4233
IFS=$as_save_IFS
4234
4235
  ;;
4236
esac
4237
fi
4238
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4239
if test -n "$INTLTOOL_PERL"; then
4240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4241
$as_echo "$INTLTOOL_PERL" >&6; }
4242
else
4243
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244
$as_echo "no" >&6; }
4245
fi
4246
4247
4248
if test -z "$INTLTOOL_PERL"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4249
   as_fn_error $? "perl not found" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
4250
fi
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4252
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4253
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4254
if test $? -ne 0; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4255
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
4256
else
4257
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4258
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4259
$as_echo "$IT_PERL_VERSION" >&6; }
4260
fi
4261
if test "x" != "xno-xml"; then
4262
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4263
$as_echo_n "checking for XML::Parser... " >&6; }
4264
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4265
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4266
$as_echo "ok" >&6; }
4267
   else
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4268
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
4269
   fi
4270
fi
4271
4272
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4273
4274
4275
# Set DATADIRNAME correctly if it is not set yet
4276
# (copied from glib-gettext.m4)
4277
if test -z "$DATADIRNAME"; then
4278
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279
/* end confdefs.h.  */
4280
4281
int
4282
main ()
4283
{
4284
extern int _nl_msg_cat_cntr;
4285
                       return _nl_msg_cat_cntr
4286
  ;
4287
  return 0;
4288
}
4289
_ACEOF
4290
if ac_fn_c_try_link "$LINENO"; then :
4291
  DATADIRNAME=share
4292
else
4293
  case $host in
4294
    *-*-solaris*)
4295
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4296
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
1 by Robert Ancell
Import upstream version 2.31.6
4297
  DATADIRNAME=share
4298
else
4299
  DATADIRNAME=lib
4300
fi
4301
4302
    ;;
4303
    *)
4304
    DATADIRNAME=lib
4305
    ;;
4306
    esac
4307
fi
4308
rm -f core conftest.err conftest.$ac_objext \
4309
    conftest$ac_exeext conftest.$ac_ext
4310
fi
4311
4312
4313
4314
4315
4316
1.1.8 by Michael Terry
Import upstream version 3.1.2
4317
ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
4318
4319
1 by Robert Ancell
Import upstream version 2.31.6
4320
# Check whether --enable-doc was given.
4321
if test "${enable_doc+set}" = set; then :
4322
  enableval=$enable_doc;
4323
else
4324
  enable_doc=no
4325
fi
4326
4327
 if test "x$enable_doc" != "xno"; then
4328
  ENABLE_DOC_TRUE=
4329
  ENABLE_DOC_FALSE='#'
4330
else
4331
  ENABLE_DOC_TRUE='#'
4332
  ENABLE_DOC_FALSE=
4333
fi
4334
4335
1.1.19 by Andreas Henriksson
Import upstream version 3.8.1
4336
ac_config_files="$ac_config_files Makefile yelp-xsl.pc icons/Makefile icons/hicolor/Makefile icons/hicolor/24x24/Makefile icons/hicolor/24x24/status/Makefile icons/hicolor/48x48/Makefile icons/hicolor/48x48/status/Makefile icons/hicolor/scalable/Makefile icons/hicolor/scalable/status/Makefile icons/hicolor/watermarks/Makefile js/Makefile doc/Makefile doc/yelp-xsl/Makefile po/Makefile.in xslt/Makefile xslt/common/Makefile xslt/common/domains/Makefile xslt/docbook/Makefile xslt/docbook/common/Makefile xslt/docbook/html/Makefile xslt/mallard/Makefile xslt/mallard/cache/Makefile xslt/mallard/common/Makefile xslt/mallard/html/Makefile"
1 by Robert Ancell
Import upstream version 2.31.6
4337
4338
4339
cat >confcache <<\_ACEOF
4340
# This file is a shell script that caches the results of configure
4341
# tests run on this system so they can be shared between configure
4342
# scripts and configure runs, see configure's option --config-cache.
4343
# It is not useful on other systems.  If it contains results you don't
4344
# want to keep, you may remove or edit it.
4345
#
4346
# config.status only pays attention to the cache file if you give it
4347
# the --recheck option to rerun configure.
4348
#
4349
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4350
# loading this file, other *unset* `ac_cv_foo' will be assigned the
4351
# following values.
4352
4353
_ACEOF
4354
4355
# The following way of writing the cache mishandles newlines in values,
4356
# but we know of no workaround that is simple, portable, and efficient.
4357
# So, we kill variables containing newlines.
4358
# Ultrix sh set writes to stderr and can't be redirected directly,
4359
# and sets the high bit in the cache file unless we assign to the vars.
4360
(
4361
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4362
    eval ac_val=\$$ac_var
4363
    case $ac_val in #(
4364
    *${as_nl}*)
4365
      case $ac_var in #(
4366
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4367
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4368
      esac
4369
      case $ac_var in #(
4370
      _ | IFS | as_nl) ;; #(
4371
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4372
      *) { eval $ac_var=; unset $ac_var;} ;;
4373
      esac ;;
4374
    esac
4375
  done
4376
4377
  (set) 2>&1 |
4378
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4379
    *${as_nl}ac_space=\ *)
4380
      # `set' does not quote correctly, so add quotes: double-quote
4381
      # substitution turns \\\\ into \\, and sed turns \\ into \.
4382
      sed -n \
4383
	"s/'/'\\\\''/g;
4384
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4385
      ;; #(
4386
    *)
4387
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4388
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4389
      ;;
4390
    esac |
4391
    sort
4392
) |
4393
  sed '
4394
     /^ac_cv_env_/b end
4395
     t clear
4396
     :clear
4397
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4398
     t end
4399
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4400
     :end' >>confcache
4401
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4402
  if test -w "$cache_file"; then
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4403
    test "x$cache_file" != "x/dev/null" &&
1 by Robert Ancell
Import upstream version 2.31.6
4404
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4405
$as_echo "$as_me: updating cache $cache_file" >&6;}
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4406
    cat confcache >$cache_file
1 by Robert Ancell
Import upstream version 2.31.6
4407
  else
4408
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4409
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4410
  fi
4411
fi
4412
rm -f confcache
4413
4414
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4415
# Let make expand exec_prefix.
4416
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4417
4418
# Transform confdefs.h into DEFS.
4419
# Protect against shell expansion while executing Makefile rules.
4420
# Protect against Makefile macro expansion.
4421
#
4422
# If the first sed substitution is executed (which looks for macros that
4423
# take arguments), then branch to the quote section.  Otherwise,
4424
# look for a macro that doesn't take arguments.
4425
ac_script='
4426
:mline
4427
/\\$/{
4428
 N
4429
 s,\\\n,,
4430
 b mline
4431
}
4432
t clear
4433
:clear
4434
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
4435
t quote
4436
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
4437
t quote
4438
b any
4439
:quote
4440
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4441
s/\[/\\&/g
4442
s/\]/\\&/g
4443
s/\$/$$/g
4444
H
4445
:any
4446
${
4447
	g
4448
	s/^\n//
4449
	s/\n/ /g
4450
	p
4451
}
4452
'
4453
DEFS=`sed -n "$ac_script" confdefs.h`
4454
4455
4456
ac_libobjs=
4457
ac_ltlibobjs=
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4458
U=
1 by Robert Ancell
Import upstream version 2.31.6
4459
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4460
  # 1. Remove the extension, and $U if already installed.
4461
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4462
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4463
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4464
  #    will be set to the directory where LIBOBJS objects are built.
4465
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4466
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4467
done
4468
LIBOBJS=$ac_libobjs
4469
4470
LTLIBOBJS=$ac_ltlibobjs
4471
4472
4473
 if test -n "$EXEEXT"; then
4474
  am__EXEEXT_TRUE=
4475
  am__EXEEXT_FALSE='#'
4476
else
4477
  am__EXEEXT_TRUE='#'
4478
  am__EXEEXT_FALSE=
4479
fi
4480
4481
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4482
  as_fn_error $? "conditional \"AMDEP\" was never defined.
1 by Robert Ancell
Import upstream version 2.31.6
4483
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4484
fi
4485
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4486
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1 by Robert Ancell
Import upstream version 2.31.6
4487
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4488
fi
4489
4490
  ac_config_commands="$ac_config_commands po/stamp-it"
4491
4492
4493
if test -z "${ENABLE_DOC_TRUE}" && test -z "${ENABLE_DOC_FALSE}"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4494
  as_fn_error $? "conditional \"ENABLE_DOC\" was never defined.
1 by Robert Ancell
Import upstream version 2.31.6
4495
Usually this means the macro was only invoked conditionally." "$LINENO" 5
4496
fi
4497
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4498
: ${CONFIG_STATUS=./config.status}
1 by Robert Ancell
Import upstream version 2.31.6
4499
ac_write_fail=0
4500
ac_clean_files_save=$ac_clean_files
4501
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4502
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4503
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4504
as_write_fail=0
4505
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4506
#! $SHELL
4507
# Generated by $as_me.
4508
# Run this file to recreate the current configuration.
4509
# Compiler output produced by configure, useful for debugging
4510
# configure, is in config.log if it exists.
4511
4512
debug=false
4513
ac_cs_recheck=false
4514
ac_cs_silent=false
4515
4516
SHELL=\${CONFIG_SHELL-$SHELL}
4517
export SHELL
4518
_ASEOF
4519
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4520
## -------------------- ##
4521
## M4sh Initialization. ##
4522
## -------------------- ##
4523
4524
# Be more Bourne compatible
4525
DUALCASE=1; export DUALCASE # for MKS sh
4526
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4527
  emulate sh
4528
  NULLCMD=:
4529
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4530
  # is contrary to our usage.  Disable this feature.
4531
  alias -g '${1+"$@"}'='"$@"'
4532
  setopt NO_GLOB_SUBST
4533
else
4534
  case `(set -o) 2>/dev/null` in #(
4535
  *posix*) :
4536
    set -o posix ;; #(
4537
  *) :
4538
     ;;
4539
esac
4540
fi
4541
4542
4543
as_nl='
4544
'
4545
export as_nl
4546
# Printing a long string crashes Solaris 7 /usr/bin/printf.
4547
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4548
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4549
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4550
# Prefer a ksh shell builtin over an external printf program on Solaris,
4551
# but without wasting forks for bash or zsh.
4552
if test -z "$BASH_VERSION$ZSH_VERSION" \
4553
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4554
  as_echo='print -r --'
4555
  as_echo_n='print -rn --'
4556
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4557
  as_echo='printf %s\n'
4558
  as_echo_n='printf %s'
4559
else
4560
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4561
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4562
    as_echo_n='/usr/ucb/echo -n'
4563
  else
4564
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4565
    as_echo_n_body='eval
4566
      arg=$1;
4567
      case $arg in #(
4568
      *"$as_nl"*)
4569
	expr "X$arg" : "X\\(.*\\)$as_nl";
4570
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4571
      esac;
4572
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4573
    '
4574
    export as_echo_n_body
4575
    as_echo_n='sh -c $as_echo_n_body as_echo'
4576
  fi
4577
  export as_echo_body
4578
  as_echo='sh -c $as_echo_body as_echo'
4579
fi
4580
4581
# The user is always right.
4582
if test "${PATH_SEPARATOR+set}" != set; then
4583
  PATH_SEPARATOR=:
4584
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4585
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4586
      PATH_SEPARATOR=';'
4587
  }
4588
fi
4589
4590
4591
# IFS
4592
# We need space, tab and new line, in precisely that order.  Quoting is
4593
# there to prevent editors from complaining about space-tab.
4594
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4595
# splitting by setting IFS to empty value.)
4596
IFS=" ""	$as_nl"
4597
4598
# Find who we are.  Look in the path if we contain no directory separator.
4599
case $0 in #((
4600
  *[\\/]* ) as_myself=$0 ;;
4601
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602
for as_dir in $PATH
4603
do
4604
  IFS=$as_save_IFS
4605
  test -z "$as_dir" && as_dir=.
4606
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4607
  done
4608
IFS=$as_save_IFS
4609
4610
     ;;
4611
esac
4612
# We did not find ourselves, most probably we were run as `sh COMMAND'
4613
# in which case we are not to be found in the path.
4614
if test "x$as_myself" = x; then
4615
  as_myself=$0
4616
fi
4617
if test ! -f "$as_myself"; then
4618
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4619
  exit 1
4620
fi
4621
4622
# Unset variables that we do not need and which cause bugs (e.g. in
4623
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4624
# suppresses any "Segmentation fault" message there.  '((' could
4625
# trigger a bug in pdksh 5.2.14.
4626
for as_var in BASH_ENV ENV MAIL MAILPATH
4627
do eval test x\${$as_var+set} = xset \
4628
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4629
done
4630
PS1='$ '
4631
PS2='> '
4632
PS4='+ '
4633
4634
# NLS nuisances.
4635
LC_ALL=C
4636
export LC_ALL
4637
LANGUAGE=C
4638
export LANGUAGE
4639
4640
# CDPATH.
4641
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4642
4643
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4644
# as_fn_error STATUS ERROR [LINENO LOG_FD]
4645
# ----------------------------------------
1 by Robert Ancell
Import upstream version 2.31.6
4646
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4647
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4648
# script with STATUS, using 1 if that was 0.
1 by Robert Ancell
Import upstream version 2.31.6
4649
as_fn_error ()
4650
{
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4651
  as_status=$1; test $as_status -eq 0 && as_status=1
4652
  if test "$4"; then
4653
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4654
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1 by Robert Ancell
Import upstream version 2.31.6
4655
  fi
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4656
  $as_echo "$as_me: error: $2" >&2
1 by Robert Ancell
Import upstream version 2.31.6
4657
  as_fn_exit $as_status
4658
} # as_fn_error
4659
4660
4661
# as_fn_set_status STATUS
4662
# -----------------------
4663
# Set $? to STATUS, without forking.
4664
as_fn_set_status ()
4665
{
4666
  return $1
4667
} # as_fn_set_status
4668
4669
# as_fn_exit STATUS
4670
# -----------------
4671
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4672
as_fn_exit ()
4673
{
4674
  set +e
4675
  as_fn_set_status $1
4676
  exit $1
4677
} # as_fn_exit
4678
4679
# as_fn_unset VAR
4680
# ---------------
4681
# Portably unset VAR.
4682
as_fn_unset ()
4683
{
4684
  { eval $1=; unset $1;}
4685
}
4686
as_unset=as_fn_unset
4687
# as_fn_append VAR VALUE
4688
# ----------------------
4689
# Append the text in VALUE to the end of the definition contained in VAR. Take
4690
# advantage of any shell optimizations that allow amortized linear growth over
4691
# repeated appends, instead of the typical quadratic growth present in naive
4692
# implementations.
4693
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4694
  eval 'as_fn_append ()
4695
  {
4696
    eval $1+=\$2
4697
  }'
4698
else
4699
  as_fn_append ()
4700
  {
4701
    eval $1=\$$1\$2
4702
  }
4703
fi # as_fn_append
4704
4705
# as_fn_arith ARG...
4706
# ------------------
4707
# Perform arithmetic evaluation on the ARGs, and store the result in the
4708
# global $as_val. Take advantage of shells that can avoid forks. The arguments
4709
# must be portable across $(()) and expr.
4710
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4711
  eval 'as_fn_arith ()
4712
  {
4713
    as_val=$(( $* ))
4714
  }'
4715
else
4716
  as_fn_arith ()
4717
  {
4718
    as_val=`expr "$@" || test $? -eq 1`
4719
  }
4720
fi # as_fn_arith
4721
4722
4723
if expr a : '\(a\)' >/dev/null 2>&1 &&
4724
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4725
  as_expr=expr
4726
else
4727
  as_expr=false
4728
fi
4729
4730
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4731
  as_basename=basename
4732
else
4733
  as_basename=false
4734
fi
4735
4736
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4737
  as_dirname=dirname
4738
else
4739
  as_dirname=false
4740
fi
4741
4742
as_me=`$as_basename -- "$0" ||
4743
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4744
	 X"$0" : 'X\(//\)$' \| \
4745
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4746
$as_echo X/"$0" |
4747
    sed '/^.*\/\([^/][^/]*\)\/*$/{
4748
	    s//\1/
4749
	    q
4750
	  }
4751
	  /^X\/\(\/\/\)$/{
4752
	    s//\1/
4753
	    q
4754
	  }
4755
	  /^X\/\(\/\).*/{
4756
	    s//\1/
4757
	    q
4758
	  }
4759
	  s/.*/./; q'`
4760
4761
# Avoid depending upon Character Ranges.
4762
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4763
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4764
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4765
as_cr_digits='0123456789'
4766
as_cr_alnum=$as_cr_Letters$as_cr_digits
4767
4768
ECHO_C= ECHO_N= ECHO_T=
4769
case `echo -n x` in #(((((
4770
-n*)
4771
  case `echo 'xy\c'` in
4772
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4773
  xy)  ECHO_C='\c';;
4774
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4775
       ECHO_T='	';;
4776
  esac;;
4777
*)
4778
  ECHO_N='-n';;
4779
esac
4780
4781
rm -f conf$$ conf$$.exe conf$$.file
4782
if test -d conf$$.dir; then
4783
  rm -f conf$$.dir/conf$$.file
4784
else
4785
  rm -f conf$$.dir
4786
  mkdir conf$$.dir 2>/dev/null
4787
fi
4788
if (echo >conf$$.file) 2>/dev/null; then
4789
  if ln -s conf$$.file conf$$ 2>/dev/null; then
4790
    as_ln_s='ln -s'
4791
    # ... but there are two gotchas:
4792
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4793
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4794
    # In both cases, we have to default to `cp -p'.
4795
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4796
      as_ln_s='cp -p'
4797
  elif ln conf$$.file conf$$ 2>/dev/null; then
4798
    as_ln_s=ln
4799
  else
4800
    as_ln_s='cp -p'
4801
  fi
4802
else
4803
  as_ln_s='cp -p'
4804
fi
4805
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4806
rmdir conf$$.dir 2>/dev/null
4807
4808
4809
# as_fn_mkdir_p
4810
# -------------
4811
# Create "$as_dir" as a directory, including parents if necessary.
4812
as_fn_mkdir_p ()
4813
{
4814
4815
  case $as_dir in #(
4816
  -*) as_dir=./$as_dir;;
4817
  esac
4818
  test -d "$as_dir" || eval $as_mkdir_p || {
4819
    as_dirs=
4820
    while :; do
4821
      case $as_dir in #(
4822
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4823
      *) as_qdir=$as_dir;;
4824
      esac
4825
      as_dirs="'$as_qdir' $as_dirs"
4826
      as_dir=`$as_dirname -- "$as_dir" ||
4827
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4828
	 X"$as_dir" : 'X\(//\)[^/]' \| \
4829
	 X"$as_dir" : 'X\(//\)$' \| \
4830
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4831
$as_echo X"$as_dir" |
4832
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4833
	    s//\1/
4834
	    q
4835
	  }
4836
	  /^X\(\/\/\)[^/].*/{
4837
	    s//\1/
4838
	    q
4839
	  }
4840
	  /^X\(\/\/\)$/{
4841
	    s//\1/
4842
	    q
4843
	  }
4844
	  /^X\(\/\).*/{
4845
	    s//\1/
4846
	    q
4847
	  }
4848
	  s/.*/./; q'`
4849
      test -d "$as_dir" && break
4850
    done
4851
    test -z "$as_dirs" || eval "mkdir $as_dirs"
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4852
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1 by Robert Ancell
Import upstream version 2.31.6
4853
4854
4855
} # as_fn_mkdir_p
4856
if mkdir -p . 2>/dev/null; then
4857
  as_mkdir_p='mkdir -p "$as_dir"'
4858
else
4859
  test -d ./-p && rmdir ./-p
4860
  as_mkdir_p=false
4861
fi
4862
4863
if test -x / >/dev/null 2>&1; then
4864
  as_test_x='test -x'
4865
else
4866
  if ls -dL / >/dev/null 2>&1; then
4867
    as_ls_L_option=L
4868
  else
4869
    as_ls_L_option=
4870
  fi
4871
  as_test_x='
4872
    eval sh -c '\''
4873
      if test -d "$1"; then
4874
	test -d "$1/.";
4875
      else
4876
	case $1 in #(
4877
	-*)set "./$1";;
4878
	esac;
4879
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4880
	???[sx]*):;;*)false;;esac;fi
4881
    '\'' sh
4882
  '
4883
fi
4884
as_executable_p=$as_test_x
4885
4886
# Sed expression to map a string onto a valid CPP name.
4887
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4888
4889
# Sed expression to map a string onto a valid variable name.
4890
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4891
4892
4893
exec 6>&1
4894
## ----------------------------------- ##
4895
## Main body of $CONFIG_STATUS script. ##
4896
## ----------------------------------- ##
4897
_ASEOF
4898
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4899
4900
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4901
# Save the log message, to keep $0 and so on meaningful, and to
4902
# report actual input values of CONFIG_FILES etc. instead of their
4903
# values after options handling.
4904
ac_log="
1.1.20 by Michael Biebl
Import upstream version 3.10.1
4905
This file was extended by yelp-xsl $as_me 3.10.1, which was
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4906
generated by GNU Autoconf 2.66.  Invocation command line was
1 by Robert Ancell
Import upstream version 2.31.6
4907
4908
  CONFIG_FILES    = $CONFIG_FILES
4909
  CONFIG_HEADERS  = $CONFIG_HEADERS
4910
  CONFIG_LINKS    = $CONFIG_LINKS
4911
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4912
  $ $0 $@
4913
4914
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4915
"
4916
4917
_ACEOF
4918
4919
case $ac_config_files in *"
4920
"*) set x $ac_config_files; shift; ac_config_files=$*;;
4921
esac
4922
4923
4924
4925
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4926
# Files that config.status was made for.
4927
config_files="$ac_config_files"
4928
config_commands="$ac_config_commands"
4929
4930
_ACEOF
4931
4932
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4933
ac_cs_usage="\
4934
\`$as_me' instantiates files and other configuration actions
4935
from templates according to the current configuration.  Unless the files
4936
and actions are specified as TAGs, all are instantiated by default.
4937
4938
Usage: $0 [OPTION]... [TAG]...
4939
4940
  -h, --help       print this help, then exit
4941
  -V, --version    print version number and configuration settings, then exit
4942
      --config     print configuration, then exit
4943
  -q, --quiet, --silent
4944
                   do not print progress messages
4945
  -d, --debug      don't remove temporary files
4946
      --recheck    update $as_me by reconfiguring in the same conditions
4947
      --file=FILE[:TEMPLATE]
4948
                   instantiate the configuration file FILE
4949
4950
Configuration files:
4951
$config_files
4952
4953
Configuration commands:
4954
$config_commands
4955
4956
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=yelp-xsl>."
4957
4958
_ACEOF
4959
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4960
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4961
ac_cs_version="\\
1.1.20 by Michael Biebl
Import upstream version 3.10.1
4962
yelp-xsl config.status 3.10.1
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4963
configured by $0, generated by GNU Autoconf 2.66,
1 by Robert Ancell
Import upstream version 2.31.6
4964
  with options \\"\$ac_cs_config\\"
4965
1.1.1 by Robert Ancell
Import upstream version 2.91.8
4966
Copyright (C) 2010 Free Software Foundation, Inc.
1 by Robert Ancell
Import upstream version 2.31.6
4967
This config.status script is free software; the Free Software Foundation
4968
gives unlimited permission to copy, distribute and modify it."
4969
4970
ac_pwd='$ac_pwd'
4971
srcdir='$srcdir'
4972
INSTALL='$INSTALL'
4973
MKDIR_P='$MKDIR_P'
4974
AWK='$AWK'
4975
test -n "\$AWK" || AWK=awk
4976
_ACEOF
4977
4978
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4979
# The default lists apply if the user does not specify any file.
4980
ac_need_defaults=:
4981
while test $# != 0
4982
do
4983
  case $1 in
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
4984
  --*=*)
1 by Robert Ancell
Import upstream version 2.31.6
4985
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4986
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4987
    ac_shift=:
4988
    ;;
4989
  *)
4990
    ac_option=$1
4991
    ac_optarg=$2
4992
    ac_shift=shift
4993
    ;;
4994
  esac
4995
4996
  case $ac_option in
4997
  # Handling of the options.
4998
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4999
    ac_cs_recheck=: ;;
5000
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5001
    $as_echo "$ac_cs_version"; exit ;;
5002
  --config | --confi | --conf | --con | --co | --c )
5003
    $as_echo "$ac_cs_config"; exit ;;
5004
  --debug | --debu | --deb | --de | --d | -d )
5005
    debug=: ;;
5006
  --file | --fil | --fi | --f )
5007
    $ac_shift
5008
    case $ac_optarg in
5009
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5010
    esac
5011
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5012
    ac_need_defaults=false;;
5013
  --he | --h |  --help | --hel | -h )
5014
    $as_echo "$ac_cs_usage"; exit ;;
5015
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5016
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5017
    ac_cs_silent=: ;;
5018
5019
  # This is an error.
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5020
  -*) as_fn_error $? "unrecognized option: \`$1'
1 by Robert Ancell
Import upstream version 2.31.6
5021
Try \`$0 --help' for more information." ;;
5022
5023
  *) as_fn_append ac_config_targets " $1"
5024
     ac_need_defaults=false ;;
5025
5026
  esac
5027
  shift
5028
done
5029
5030
ac_configure_extra_args=
5031
5032
if $ac_cs_silent; then
5033
  exec 6>/dev/null
5034
  ac_configure_extra_args="$ac_configure_extra_args --silent"
5035
fi
5036
5037
_ACEOF
5038
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5039
if \$ac_cs_recheck; then
5040
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5041
  shift
5042
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5043
  CONFIG_SHELL='$SHELL'
5044
  export CONFIG_SHELL
5045
  exec "\$@"
5046
fi
5047
5048
_ACEOF
5049
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5050
exec 5>>config.log
5051
{
5052
  echo
5053
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5054
## Running $as_me. ##
5055
_ASBOX
5056
  $as_echo "$ac_log"
5057
} >&5
5058
5059
_ACEOF
5060
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5061
#
5062
# INIT-COMMANDS
5063
#
5064
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5065
5066
_ACEOF
5067
5068
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5069
5070
# Handling of arguments.
5071
for ac_config_target in $ac_config_targets
5072
do
5073
  case $ac_config_target in
5074
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5075
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5076
    "yelp-xsl.pc") CONFIG_FILES="$CONFIG_FILES yelp-xsl.pc" ;;
5077
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
5078
    "icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/Makefile" ;;
5079
    "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
5080
    "icons/hicolor/24x24/status/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/status/Makefile" ;;
5081
    "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
5082
    "icons/hicolor/48x48/status/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/status/Makefile" ;;
5083
    "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
5084
    "icons/hicolor/scalable/status/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/status/Makefile" ;;
5085
    "icons/hicolor/watermarks/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/watermarks/Makefile" ;;
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5086
    "js/Makefile") CONFIG_FILES="$CONFIG_FILES js/Makefile" ;;
1 by Robert Ancell
Import upstream version 2.31.6
5087
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5088
    "doc/yelp-xsl/Makefile") CONFIG_FILES="$CONFIG_FILES doc/yelp-xsl/Makefile" ;;
5089
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5090
    "xslt/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/Makefile" ;;
5091
    "xslt/common/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/common/Makefile" ;;
1.1.16 by Michael Terry
Import upstream version 3.3.3
5092
    "xslt/common/domains/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/common/domains/Makefile" ;;
1 by Robert Ancell
Import upstream version 2.31.6
5093
    "xslt/docbook/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/docbook/Makefile" ;;
5094
    "xslt/docbook/common/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/docbook/common/Makefile" ;;
5095
    "xslt/docbook/html/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/docbook/html/Makefile" ;;
5096
    "xslt/mallard/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/mallard/Makefile" ;;
5097
    "xslt/mallard/cache/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/mallard/cache/Makefile" ;;
5098
    "xslt/mallard/common/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/mallard/common/Makefile" ;;
5099
    "xslt/mallard/html/Makefile") CONFIG_FILES="$CONFIG_FILES xslt/mallard/html/Makefile" ;;
5100
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
5101
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5102
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1 by Robert Ancell
Import upstream version 2.31.6
5103
  esac
5104
done
5105
5106
5107
# If the user did not use the arguments to specify the items to instantiate,
5108
# then the envvar interface is used.  Set only those that are not.
5109
# We use the long form for the default assignment because of an extremely
5110
# bizarre bug on SunOS 4.1.3.
5111
if $ac_need_defaults; then
5112
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5113
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5114
fi
5115
5116
# Have a temporary directory for convenience.  Make it in the build tree
5117
# simply because there is no reason against having it here, and in addition,
5118
# creating and moving files from /tmp can sometimes cause problems.
5119
# Hook for its removal unless debugging.
5120
# Note that there is a small window in which the directory will not be cleaned:
5121
# after its creation but before its name has been assigned to `$tmp'.
5122
$debug ||
5123
{
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5124
  tmp=
1 by Robert Ancell
Import upstream version 2.31.6
5125
  trap 'exit_status=$?
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5126
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
1 by Robert Ancell
Import upstream version 2.31.6
5127
' 0
5128
  trap 'as_fn_exit 1' 1 2 13 15
5129
}
5130
# Create a (secure) tmp directory for tmp files.
5131
5132
{
5133
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5134
  test -n "$tmp" && test -d "$tmp"
1 by Robert Ancell
Import upstream version 2.31.6
5135
}  ||
5136
{
5137
  tmp=./conf$$-$RANDOM
5138
  (umask 077 && mkdir "$tmp")
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5139
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5140
5141
# Set up the scripts for CONFIG_FILES section.
5142
# No need to generate them if there are no CONFIG_FILES.
5143
# This happens for instance with `./config.status config.h'.
5144
if test -n "$CONFIG_FILES"; then
5145
5146
5147
ac_cr=`echo X | tr X '\015'`
5148
# On cygwin, bash can eat \r inside `` if the user requested igncr.
5149
# But we know of no other shell where ac_cr would be empty at this
5150
# point, so we can use a bashism as a fallback.
5151
if test "x$ac_cr" = x; then
5152
  eval ac_cr=\$\'\\r\'
5153
fi
5154
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5155
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5156
  ac_cs_awk_cr='\\r'
1 by Robert Ancell
Import upstream version 2.31.6
5157
else
5158
  ac_cs_awk_cr=$ac_cr
5159
fi
5160
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5161
echo 'BEGIN {' >"$tmp/subs1.awk" &&
1 by Robert Ancell
Import upstream version 2.31.6
5162
_ACEOF
5163
5164
5165
{
5166
  echo "cat >conf$$subs.awk <<_ACEOF" &&
5167
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5168
  echo "_ACEOF"
5169
} >conf$$subs.sh ||
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5170
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5171
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1 by Robert Ancell
Import upstream version 2.31.6
5172
ac_delim='%!_!# '
5173
for ac_last_try in false false false false false :; do
5174
  . ./conf$$subs.sh ||
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5175
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5176
5177
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5178
  if test $ac_delim_n = $ac_delim_num; then
5179
    break
5180
  elif $ac_last_try; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5181
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5182
  else
5183
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5184
  fi
5185
done
5186
rm -f conf$$subs.sh
5187
5188
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5189
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
1 by Robert Ancell
Import upstream version 2.31.6
5190
_ACEOF
5191
sed -n '
5192
h
5193
s/^/S["/; s/!.*/"]=/
5194
p
5195
g
5196
s/^[^!]*!//
5197
:repl
5198
t repl
5199
s/'"$ac_delim"'$//
5200
t delim
5201
:nl
5202
h
5203
s/\(.\{148\}\)..*/\1/
5204
t more1
5205
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5206
p
5207
n
5208
b repl
5209
:more1
5210
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5211
p
5212
g
5213
s/.\{148\}//
5214
t nl
5215
:delim
5216
h
5217
s/\(.\{148\}\)..*/\1/
5218
t more2
5219
s/["\\]/\\&/g; s/^/"/; s/$/"/
5220
p
5221
b
5222
:more2
5223
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5224
p
5225
g
5226
s/.\{148\}//
5227
t delim
5228
' <conf$$subs.awk | sed '
5229
/^[^""]/{
5230
  N
5231
  s/\n//
5232
}
5233
' >>$CONFIG_STATUS || ac_write_fail=1
5234
rm -f conf$$subs.awk
5235
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5236
_ACAWK
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5237
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
1 by Robert Ancell
Import upstream version 2.31.6
5238
  for (key in S) S_is_set[key] = 1
5239
  FS = ""
5240
5241
}
5242
{
5243
  line = $ 0
5244
  nfields = split(line, field, "@")
5245
  substed = 0
5246
  len = length(field[1])
5247
  for (i = 2; i < nfields; i++) {
5248
    key = field[i]
5249
    keylen = length(key)
5250
    if (S_is_set[key]) {
5251
      value = S[key]
5252
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5253
      len += length(value) + length(field[++i])
5254
      substed = 1
5255
    } else
5256
      len += 1 + keylen
5257
  }
5258
5259
  print line
5260
}
5261
5262
_ACAWK
5263
_ACEOF
5264
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5265
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5266
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5267
else
5268
  cat
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5269
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5270
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5271
_ACEOF
5272
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5273
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5274
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1 by Robert Ancell
Import upstream version 2.31.6
5275
# trailing colons and then remove the whole line if VPATH becomes empty
5276
# (actually we leave an empty line to preserve line numbers).
5277
if test "x$srcdir" = x.; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5278
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5279
h
5280
s///
5281
s/^/:/
5282
s/[	 ]*$/:/
5283
s/:\$(srcdir):/:/g
5284
s/:\${srcdir}:/:/g
5285
s/:@srcdir@:/:/g
5286
s/^:*//
1 by Robert Ancell
Import upstream version 2.31.6
5287
s/:*$//
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5288
x
5289
s/\(=[	 ]*\).*/\1/
5290
G
5291
s/\n//
1 by Robert Ancell
Import upstream version 2.31.6
5292
s/^[^=]*=[	 ]*$//
5293
}'
5294
fi
5295
5296
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5297
fi # test -n "$CONFIG_FILES"
5298
5299
5300
eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
5301
shift
5302
for ac_tag
5303
do
5304
  case $ac_tag in
5305
  :[FHLC]) ac_mode=$ac_tag; continue;;
5306
  esac
5307
  case $ac_mode$ac_tag in
5308
  :[FHL]*:*);;
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5309
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1 by Robert Ancell
Import upstream version 2.31.6
5310
  :[FH]-) ac_tag=-:-;;
5311
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5312
  esac
5313
  ac_save_IFS=$IFS
5314
  IFS=:
5315
  set x $ac_tag
5316
  IFS=$ac_save_IFS
5317
  shift
5318
  ac_file=$1
5319
  shift
5320
5321
  case $ac_mode in
5322
  :L) ac_source=$1;;
5323
  :[FH])
5324
    ac_file_inputs=
5325
    for ac_f
5326
    do
5327
      case $ac_f in
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5328
      -) ac_f="$tmp/stdin";;
1 by Robert Ancell
Import upstream version 2.31.6
5329
      *) # Look for the file first in the build tree, then in the source tree
5330
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5331
	 # because $ac_f cannot contain `:'.
5332
	 test -f "$ac_f" ||
5333
	   case $ac_f in
5334
	   [\\/$]*) false;;
5335
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5336
	   esac ||
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5337
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1 by Robert Ancell
Import upstream version 2.31.6
5338
      esac
5339
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5340
      as_fn_append ac_file_inputs " '$ac_f'"
5341
    done
5342
5343
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5344
    # use $as_me), people would be surprised to read:
5345
    #    /* config.h.  Generated by config.status.  */
5346
    configure_input='Generated from '`
5347
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5348
	`' by configure.'
5349
    if test x"$ac_file" != x-; then
5350
      configure_input="$ac_file.  $configure_input"
5351
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5352
$as_echo "$as_me: creating $ac_file" >&6;}
5353
    fi
5354
    # Neutralize special characters interpreted by sed in replacement strings.
5355
    case $configure_input in #(
5356
    *\&* | *\|* | *\\* )
5357
       ac_sed_conf_input=`$as_echo "$configure_input" |
5358
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5359
    *) ac_sed_conf_input=$configure_input;;
5360
    esac
5361
5362
    case $ac_tag in
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5363
    *:-:* | *:-) cat >"$tmp/stdin" \
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5364
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1 by Robert Ancell
Import upstream version 2.31.6
5365
    esac
5366
    ;;
5367
  esac
5368
5369
  ac_dir=`$as_dirname -- "$ac_file" ||
5370
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5371
	 X"$ac_file" : 'X\(//\)[^/]' \| \
5372
	 X"$ac_file" : 'X\(//\)$' \| \
5373
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5374
$as_echo X"$ac_file" |
5375
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5376
	    s//\1/
5377
	    q
5378
	  }
5379
	  /^X\(\/\/\)[^/].*/{
5380
	    s//\1/
5381
	    q
5382
	  }
5383
	  /^X\(\/\/\)$/{
5384
	    s//\1/
5385
	    q
5386
	  }
5387
	  /^X\(\/\).*/{
5388
	    s//\1/
5389
	    q
5390
	  }
5391
	  s/.*/./; q'`
5392
  as_dir="$ac_dir"; as_fn_mkdir_p
5393
  ac_builddir=.
5394
5395
case "$ac_dir" in
5396
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5397
*)
5398
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5399
  # A ".." for each directory in $ac_dir_suffix.
5400
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5401
  case $ac_top_builddir_sub in
5402
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5403
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5404
  esac ;;
5405
esac
5406
ac_abs_top_builddir=$ac_pwd
5407
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5408
# for backward compatibility:
5409
ac_top_builddir=$ac_top_build_prefix
5410
5411
case $srcdir in
5412
  .)  # We are building in place.
5413
    ac_srcdir=.
5414
    ac_top_srcdir=$ac_top_builddir_sub
5415
    ac_abs_top_srcdir=$ac_pwd ;;
5416
  [\\/]* | ?:[\\/]* )  # Absolute name.
5417
    ac_srcdir=$srcdir$ac_dir_suffix;
5418
    ac_top_srcdir=$srcdir
5419
    ac_abs_top_srcdir=$srcdir ;;
5420
  *) # Relative name.
5421
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5422
    ac_top_srcdir=$ac_top_build_prefix$srcdir
5423
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5424
esac
5425
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5426
5427
5428
  case $ac_mode in
5429
  :F)
5430
  #
5431
  # CONFIG_FILE
5432
  #
5433
5434
  case $INSTALL in
5435
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5436
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5437
  esac
5438
  ac_MKDIR_P=$MKDIR_P
5439
  case $MKDIR_P in
5440
  [\\/$]* | ?:[\\/]* ) ;;
5441
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5442
  esac
5443
_ACEOF
5444
5445
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5446
# If the template does not know about datarootdir, expand it.
5447
# FIXME: This hack should be removed a few years after 2.60.
5448
ac_datarootdir_hack=; ac_datarootdir_seen=
5449
ac_sed_dataroot='
5450
/datarootdir/ {
5451
  p
5452
  q
5453
}
5454
/@datadir@/p
5455
/@docdir@/p
5456
/@infodir@/p
5457
/@localedir@/p
5458
/@mandir@/p'
5459
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5460
*datarootdir*) ac_datarootdir_seen=yes;;
5461
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5462
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5463
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5464
_ACEOF
5465
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5466
  ac_datarootdir_hack='
5467
  s&@datadir@&$datadir&g
5468
  s&@docdir@&$docdir&g
5469
  s&@infodir@&$infodir&g
5470
  s&@localedir@&$localedir&g
5471
  s&@mandir@&$mandir&g
5472
  s&\\\${datarootdir}&$datarootdir&g' ;;
5473
esac
5474
_ACEOF
5475
5476
# Neutralize VPATH when `$srcdir' = `.'.
5477
# Shell code in configure.ac might set extrasub.
5478
# FIXME: do we really want to maintain this feature?
5479
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5480
ac_sed_extra="$ac_vpsub
5481
$extrasub
5482
_ACEOF
5483
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5484
:t
5485
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5486
s|@configure_input@|$ac_sed_conf_input|;t t
5487
s&@top_builddir@&$ac_top_builddir_sub&;t t
5488
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5489
s&@srcdir@&$ac_srcdir&;t t
5490
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5491
s&@top_srcdir@&$ac_top_srcdir&;t t
5492
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5493
s&@builddir@&$ac_builddir&;t t
5494
s&@abs_builddir@&$ac_abs_builddir&;t t
5495
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5496
s&@INSTALL@&$ac_INSTALL&;t t
5497
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5498
$ac_datarootdir_hack
5499
"
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5500
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5501
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5502
5503
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5504
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5505
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1 by Robert Ancell
Import upstream version 2.31.6
5506
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5507
which seems to be undefined.  Please make sure it is defined" >&5
1 by Robert Ancell
Import upstream version 2.31.6
5508
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5509
which seems to be undefined.  Please make sure it is defined" >&2;}
1 by Robert Ancell
Import upstream version 2.31.6
5510
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5511
  rm -f "$tmp/stdin"
1 by Robert Ancell
Import upstream version 2.31.6
5512
  case $ac_file in
1.1.11 by Jeremy Bicha
Import upstream version 3.1.5
5513
  -) cat "$tmp/out" && rm -f "$tmp/out";;
5514
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1 by Robert Ancell
Import upstream version 2.31.6
5515
  esac \
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5516
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5517
 ;;
5518
5519
5520
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5521
$as_echo "$as_me: executing $ac_file commands" >&6;}
5522
 ;;
5523
  esac
5524
5525
5526
  case $ac_file$ac_mode in
5527
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5528
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
5529
  # are listed without --file.  Let's play safe and only enable the eval
5530
  # if we detect the quoting.
5531
  case $CONFIG_FILES in
5532
  *\'*) eval set x "$CONFIG_FILES" ;;
5533
  *)   set x $CONFIG_FILES ;;
5534
  esac
5535
  shift
5536
  for mf
5537
  do
5538
    # Strip MF so we end up with the name of the file.
5539
    mf=`echo "$mf" | sed -e 's/:.*$//'`
5540
    # Check whether this is an Automake generated Makefile or not.
5541
    # We used to match only the files named `Makefile.in', but
5542
    # some people rename them; so instead we look at the file content.
5543
    # Grep'ing the first line is not enough: some people post-process
5544
    # each Makefile.in and add a new line on top of each file to say so.
5545
    # Grep'ing the whole file is not good either: AIX grep has a line
5546
    # limit of 2048, but all sed's we know have understand at least 4000.
5547
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5548
      dirpart=`$as_dirname -- "$mf" ||
5549
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5550
	 X"$mf" : 'X\(//\)[^/]' \| \
5551
	 X"$mf" : 'X\(//\)$' \| \
5552
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5553
$as_echo X"$mf" |
5554
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5555
	    s//\1/
5556
	    q
5557
	  }
5558
	  /^X\(\/\/\)[^/].*/{
5559
	    s//\1/
5560
	    q
5561
	  }
5562
	  /^X\(\/\/\)$/{
5563
	    s//\1/
5564
	    q
5565
	  }
5566
	  /^X\(\/\).*/{
5567
	    s//\1/
5568
	    q
5569
	  }
5570
	  s/.*/./; q'`
5571
    else
5572
      continue
5573
    fi
5574
    # Extract the definition of DEPDIR, am__include, and am__quote
5575
    # from the Makefile without running `make'.
5576
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5577
    test -z "$DEPDIR" && continue
5578
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
5579
    test -z "am__include" && continue
5580
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5581
    # When using ansi2knr, U may be empty or an underscore; expand it
5582
    U=`sed -n 's/^U = //p' < "$mf"`
5583
    # Find all dependency output files, they are included files with
5584
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
5585
    # simplest approach to changing $(DEPDIR) to its actual value in the
5586
    # expansion.
5587
    for file in `sed -n "
5588
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5589
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5590
      # Make sure the directory exists.
5591
      test -f "$dirpart/$file" && continue
5592
      fdir=`$as_dirname -- "$file" ||
5593
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5594
	 X"$file" : 'X\(//\)[^/]' \| \
5595
	 X"$file" : 'X\(//\)$' \| \
5596
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5597
$as_echo X"$file" |
5598
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5599
	    s//\1/
5600
	    q
5601
	  }
5602
	  /^X\(\/\/\)[^/].*/{
5603
	    s//\1/
5604
	    q
5605
	  }
5606
	  /^X\(\/\/\)$/{
5607
	    s//\1/
5608
	    q
5609
	  }
5610
	  /^X\(\/\).*/{
5611
	    s//\1/
5612
	    q
5613
	  }
5614
	  s/.*/./; q'`
5615
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
5616
      # echo "creating $dirpart/$file"
5617
      echo '# dummy' > "$dirpart/$file"
5618
    done
5619
  done
5620
}
5621
 ;;
5622
    "po/stamp-it":C)
5623
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5624
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5625
    fi
5626
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
5627
    >"po/stamp-it.tmp"
5628
    sed '/^#/d
5629
	 s/^[[].*] *//
5630
	 /^[ 	]*$/d
5631
	'"s|^|	$ac_top_srcdir/|" \
5632
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
5633
5634
    sed '/^POTFILES =/,/[^\\]$/ {
5635
		/^POTFILES =/!d
5636
		r po/POTFILES
5637
	  }
5638
	 ' "po/Makefile.in" >"po/Makefile"
5639
    rm -f "po/Makefile.tmp"
5640
    mv "po/stamp-it.tmp" "po/stamp-it"
5641
   ;;
5642
5643
  esac
5644
done # for ac_tag
5645
5646
5647
as_fn_exit 0
5648
_ACEOF
5649
ac_clean_files=$ac_clean_files_save
5650
5651
test $ac_write_fail = 0 ||
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5652
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1 by Robert Ancell
Import upstream version 2.31.6
5653
5654
5655
# configure is writing to config.log, and then calls config.status.
5656
# config.status does its own redirection, appending to config.log.
5657
# Unfortunately, on DOS this fails, as config.log is still kept open
5658
# by configure, so config.status won't be able to write to it; its
5659
# output is simply discarded.  So we exec the FD to /dev/null,
5660
# effectively closing config.log, so it can be properly (re)opened and
5661
# appended to by config.status.  When coming back to configure, we
5662
# need to make the FD available again.
5663
if test "$no_create" != yes; then
5664
  ac_cs_success=:
5665
  ac_config_status_args=
5666
  test "$silent" = yes &&
5667
    ac_config_status_args="$ac_config_status_args --quiet"
5668
  exec 5>/dev/null
5669
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5670
  exec 5>>config.log
5671
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5672
  # would make configure fail if this is the last instruction.
1.1.1 by Robert Ancell
Import upstream version 2.91.8
5673
  $ac_cs_success || as_fn_exit 1
1 by Robert Ancell
Import upstream version 2.31.6
5674
fi
5675
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5676
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5677
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5678
fi
5679
5680
5681
echo "
5682
yelp-xsl-$VERSION:
5683
5684
	prefix:                   ${prefix}
5685
5686
	Documentation:            ${enable_doc}
5687
"