~etulfetulf/ubuntu/natty/gnome-icon-theme/gnome-icon-theme-fix-620432

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