~ubuntu-branches/ubuntu/trusty/gigolo/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Yves-Alexis Perez, Evgeni Golov, Jackson Doak, Yves-Alexis Perez
  • Date: 2014-01-09 23:00:45 UTC
  • mfrom: (2.1.6)
  • Revision ID: package-import@ubuntu.com-20140109230045-1qdtpu8lybe2owib
Tags: 0.4.2-1
[ Evgeni Golov ]
* Correct Vcs-* URLs to point to anonscm.debian.org

[ Jackson Doak ]
* New upstream release
  - Drop waf support, we no longer need to repack
  - Never make the Connect button insensitive. LP: #1131156
* debian/control:
  - Bump debhelper to 9
  - Drop hardening-includes, no longer needed
  - Bump standards-version to 3.9.5
* debian/rules: 
  - Switch from hardening includes to debhelper 9 hardening
  - Add --disable-silent-rules to configure
* debian/compat: Bump to 9

[ Yves-Alexis Perez ]
* debian/rules:
  - stop calling autogen.sh before configure.

Show diffs side-by-side

added added

removed removed

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