~ubuntu-branches/ubuntu/vivid/aptitude/vivid

« back to all changes in this revision

Viewing changes to .pc/debian-changes-0.6.3-3.1/configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2011-06-22 12:32:56 UTC
  • mfrom: (1.8.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110622123256-8aox9w9ch3x72dci
Tags: 0.6.4-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - debian/05aptitude: never autoremove kernels
  - drop aptitude-doc to Suggests
  - 03_branding.dpatch: ubuntu branding
  - 04_changelog.dpatch: take changelogs from changelogs.ubuntu.com
  - 09_ubuntu_fortify_source.dpatch: Suppress a number of warnings (turned
    into errors by -Werror) triggered by Ubuntu's default of
    -D_FORTIFY_SOURCE=2.
  - 11_ubuntu_uses_sudo.dpatch: fix status line of 'Become root' menu entry
    to not refer to su.
  - 12_point_manpage_to_doc_package.dpatch: point Finnish manpage to the
    correct place for further info
  - 14_html2text_preferred.dpatch: switch back to html2text in favor of
    elinks, since html2text is in main and elinks isn't.
* dropped 01_intltool_update.dpatch
* updated 15_ftbfs_new_apt

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.65 for aptitude 0.6.3.
4
 
#
5
 
#
6
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# 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
 
case $0 in #((
93
 
  *[\\/]* ) as_myself=$0 ;;
94
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
 
for as_dir in $PATH
96
 
do
97
 
  IFS=$as_save_IFS
98
 
  test -z "$as_dir" && as_dir=.
99
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
 
  done
101
 
IFS=$as_save_IFS
102
 
 
103
 
     ;;
104
 
esac
105
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
 
# in which case we are not to be found in the path.
107
 
if test "x$as_myself" = x; then
108
 
  as_myself=$0
109
 
fi
110
 
if test ! -f "$as_myself"; then
111
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
 
  exit 1
113
 
fi
114
 
 
115
 
# Unset variables that we do not need and which cause bugs (e.g. in
116
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
 
# suppresses any "Segmentation fault" message there.  '((' could
118
 
# trigger a bug in pdksh 5.2.14.
119
 
for as_var in BASH_ENV ENV MAIL MAILPATH
120
 
do eval test x\${$as_var+set} = xset \
121
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122
 
done
123
 
PS1='$ '
124
 
PS2='> '
125
 
PS4='+ '
126
 
 
127
 
# NLS nuisances.
128
 
LC_ALL=C
129
 
export LC_ALL
130
 
LANGUAGE=C
131
 
export LANGUAGE
132
 
 
133
 
# CDPATH.
134
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
 
 
136
 
if test "x$CONFIG_SHELL" = x; then
137
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
 
  emulate sh
139
 
  NULLCMD=:
140
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
 
  # is contrary to our usage.  Disable this feature.
142
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
 
  setopt NO_GLOB_SUBST
144
 
else
145
 
  case \`(set -o) 2>/dev/null\` in #(
146
 
  *posix*) :
147
 
    set -o posix ;; #(
148
 
  *) :
149
 
     ;;
150
 
esac
151
 
fi
152
 
"
153
 
  as_required="as_fn_return () { (exit \$1); }
154
 
as_fn_success () { as_fn_return 0; }
155
 
as_fn_failure () { as_fn_return 1; }
156
 
as_fn_ret_success () { return 0; }
157
 
as_fn_ret_failure () { return 1; }
158
 
 
159
 
exitcode=0
160
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
 
 
166
 
else
167
 
  exitcode=1; echo positional parameters were not saved.
168
 
fi
169
 
test x\$exitcode = x0 || exit 1"
170
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
175
 
  if (eval "$as_required") 2>/dev/null; then :
176
 
  as_have_required=yes
177
 
else
178
 
  as_have_required=no
179
 
fi
180
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
 
 
182
 
else
183
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
 
as_found=false
185
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
 
do
187
 
  IFS=$as_save_IFS
188
 
  test -z "$as_dir" && as_dir=.
189
 
  as_found=:
190
 
  case $as_dir in #(
191
 
         /*)
192
 
           for as_base in sh bash ksh sh5; do
193
 
             # Try only shells that exist, to save several forks.
194
 
             as_shell=$as_dir/$as_base
195
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
 
  CONFIG_SHELL=$as_shell as_have_required=yes
198
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
 
  break 2
200
 
fi
201
 
fi
202
 
           done;;
203
 
       esac
204
 
  as_found=false
205
 
done
206
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
 
  CONFIG_SHELL=$SHELL as_have_required=yes
209
 
fi; }
210
 
IFS=$as_save_IFS
211
 
 
212
 
 
213
 
      if test "x$CONFIG_SHELL" != x; then :
214
 
  # We cannot yet assume a decent shell, so we have to provide a
215
 
        # neutralization value for shells without unset; and this also
216
 
        # works around shells that cannot unset nonexistent variables.
217
 
        BASH_ENV=/dev/null
218
 
        ENV=/dev/null
219
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
 
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
 
fi
223
 
 
224
 
    if test x$as_have_required = xno; then :
225
 
  $as_echo "$0: This script requires a shell more modern than all"
226
 
  $as_echo "$0: the shells that I found on your system."
227
 
  if test x${ZSH_VERSION+set} = xset ; then
228
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
 
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
 
$0: including any error possibly output before this
233
 
$0: message. Then install a modern shell, or manually run
234
 
$0: the script under such a shell if you do have one."
235
 
  fi
236
 
  exit 1
237
 
fi
238
 
fi
239
 
fi
240
 
SHELL=${CONFIG_SHELL-/bin/sh}
241
 
export SHELL
242
 
# Unset more variables known to interfere with behavior of common tools.
243
 
CLICOLOR_FORCE= GREP_OPTIONS=
244
 
unset CLICOLOR_FORCE GREP_OPTIONS
245
 
 
246
 
## --------------------- ##
247
 
## M4sh Shell Functions. ##
248
 
## --------------------- ##
249
 
# as_fn_unset VAR
250
 
# ---------------
251
 
# Portably unset VAR.
252
 
as_fn_unset ()
253
 
{
254
 
  { eval $1=; unset $1;}
255
 
}
256
 
as_unset=as_fn_unset
257
 
 
258
 
# as_fn_set_status STATUS
259
 
# -----------------------
260
 
# Set $? to STATUS, without forking.
261
 
as_fn_set_status ()
262
 
{
263
 
  return $1
264
 
} # as_fn_set_status
265
 
 
266
 
# as_fn_exit STATUS
267
 
# -----------------
268
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
 
as_fn_exit ()
270
 
{
271
 
  set +e
272
 
  as_fn_set_status $1
273
 
  exit $1
274
 
} # as_fn_exit
275
 
 
276
 
# as_fn_mkdir_p
277
 
# -------------
278
 
# Create "$as_dir" as a directory, including parents if necessary.
279
 
as_fn_mkdir_p ()
280
 
{
281
 
 
282
 
  case $as_dir in #(
283
 
  -*) as_dir=./$as_dir;;
284
 
  esac
285
 
  test -d "$as_dir" || eval $as_mkdir_p || {
286
 
    as_dirs=
287
 
    while :; do
288
 
      case $as_dir in #(
289
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
 
      *) as_qdir=$as_dir;;
291
 
      esac
292
 
      as_dirs="'$as_qdir' $as_dirs"
293
 
      as_dir=`$as_dirname -- "$as_dir" ||
294
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
296
 
         X"$as_dir" : 'X\(//\)$' \| \
297
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
 
$as_echo X"$as_dir" |
299
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
 
            s//\1/
301
 
            q
302
 
          }
303
 
          /^X\(\/\/\)[^/].*/{
304
 
            s//\1/
305
 
            q
306
 
          }
307
 
          /^X\(\/\/\)$/{
308
 
            s//\1/
309
 
            q
310
 
          }
311
 
          /^X\(\/\).*/{
312
 
            s//\1/
313
 
            q
314
 
          }
315
 
          s/.*/./; q'`
316
 
      test -d "$as_dir" && break
317
 
    done
318
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
 
 
321
 
 
322
 
} # as_fn_mkdir_p
323
 
# as_fn_append VAR VALUE
324
 
# ----------------------
325
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
 
# advantage of any shell optimizations that allow amortized linear growth over
327
 
# repeated appends, instead of the typical quadratic growth present in naive
328
 
# implementations.
329
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
 
  eval 'as_fn_append ()
331
 
  {
332
 
    eval $1+=\$2
333
 
  }'
334
 
else
335
 
  as_fn_append ()
336
 
  {
337
 
    eval $1=\$$1\$2
338
 
  }
339
 
fi # as_fn_append
340
 
 
341
 
# as_fn_arith ARG...
342
 
# ------------------
343
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
 
# must be portable across $(()) and expr.
346
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347
 
  eval 'as_fn_arith ()
348
 
  {
349
 
    as_val=$(( $* ))
350
 
  }'
351
 
else
352
 
  as_fn_arith ()
353
 
  {
354
 
    as_val=`expr "$@" || test $? -eq 1`
355
 
  }
356
 
fi # as_fn_arith
357
 
 
358
 
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
361
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
364
 
as_fn_error ()
365
 
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370
 
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
372
 
  as_fn_exit $as_status
373
 
} # as_fn_error
374
 
 
375
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
 
  as_expr=expr
378
 
else
379
 
  as_expr=false
380
 
fi
381
 
 
382
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
 
  as_basename=basename
384
 
else
385
 
  as_basename=false
386
 
fi
387
 
 
388
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
 
  as_dirname=dirname
390
 
else
391
 
  as_dirname=false
392
 
fi
393
 
 
394
 
as_me=`$as_basename -- "$0" ||
395
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
 
         X"$0" : 'X\(//\)$' \| \
397
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
 
$as_echo X/"$0" |
399
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
 
            s//\1/
401
 
            q
402
 
          }
403
 
          /^X\/\(\/\/\)$/{
404
 
            s//\1/
405
 
            q
406
 
          }
407
 
          /^X\/\(\/\).*/{
408
 
            s//\1/
409
 
            q
410
 
          }
411
 
          s/.*/./; q'`
412
 
 
413
 
# Avoid depending upon Character Ranges.
414
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
 
as_cr_digits='0123456789'
418
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
 
 
420
 
 
421
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426
 
  sed -n '
427
 
    p
428
 
    /[$]LINENO/=
429
 
  ' <$as_myself |
430
 
    sed '
431
 
      s/[$]LINENO.*/&-/
432
 
      t lineno
433
 
      b
434
 
      :lineno
435
 
      N
436
 
      :loop
437
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438
 
      t loop
439
 
      s/-\n.*//
440
 
    ' >$as_me.lineno &&
441
 
  chmod +x "$as_me.lineno" ||
442
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
 
 
444
 
  # Don't try to exec as it changes $[0], causing all sort of problems
445
 
  # (the dirname of $[0] is not the place where we might find the
446
 
  # original and so on.  Autoconf is especially sensitive to this).
447
 
  . "./$as_me.lineno"
448
 
  # Exit status is that of the last command.
449
 
  exit
450
 
}
451
 
 
452
 
ECHO_C= ECHO_N= ECHO_T=
453
 
case `echo -n x` in #(((((
454
 
-n*)
455
 
  case `echo 'xy\c'` in
456
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457
 
  xy)  ECHO_C='\c';;
458
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
 
       ECHO_T=' ';;
460
 
  esac;;
461
 
*)
462
 
  ECHO_N='-n';;
463
 
esac
464
 
 
465
 
rm -f conf$$ conf$$.exe conf$$.file
466
 
if test -d conf$$.dir; then
467
 
  rm -f conf$$.dir/conf$$.file
468
 
else
469
 
  rm -f conf$$.dir
470
 
  mkdir conf$$.dir 2>/dev/null
471
 
fi
472
 
if (echo >conf$$.file) 2>/dev/null; then
473
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
 
    as_ln_s='ln -s'
475
 
    # ... but there are two gotchas:
476
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
 
    # In both cases, we have to default to `cp -p'.
479
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
 
      as_ln_s='cp -p'
481
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
 
    as_ln_s=ln
483
 
  else
484
 
    as_ln_s='cp -p'
485
 
  fi
486
 
else
487
 
  as_ln_s='cp -p'
488
 
fi
489
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
 
rmdir conf$$.dir 2>/dev/null
491
 
 
492
 
if mkdir -p . 2>/dev/null; then
493
 
  as_mkdir_p='mkdir -p "$as_dir"'
494
 
else
495
 
  test -d ./-p && rmdir ./-p
496
 
  as_mkdir_p=false
497
 
fi
498
 
 
499
 
if test -x / >/dev/null 2>&1; then
500
 
  as_test_x='test -x'
501
 
else
502
 
  if ls -dL / >/dev/null 2>&1; then
503
 
    as_ls_L_option=L
504
 
  else
505
 
    as_ls_L_option=
506
 
  fi
507
 
  as_test_x='
508
 
    eval sh -c '\''
509
 
      if test -d "$1"; then
510
 
        test -d "$1/.";
511
 
      else
512
 
        case $1 in #(
513
 
        -*)set "./$1";;
514
 
        esac;
515
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516
 
        ???[sx]*):;;*)false;;esac;fi
517
 
    '\'' sh
518
 
  '
519
 
fi
520
 
as_executable_p=$as_test_x
521
 
 
522
 
# Sed expression to map a string onto a valid CPP name.
523
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
 
 
525
 
# Sed expression to map a string onto a valid variable name.
526
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
 
 
528
 
 
529
 
test -n "$DJDIR" || exec 7<&0 </dev/null
530
 
exec 6>&1
531
 
 
532
 
# Name of the host.
533
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534
 
# so uname gets run too.
535
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
 
 
537
 
#
538
 
# Initializations.
539
 
#
540
 
ac_default_prefix=/usr/local
541
 
ac_clean_files=
542
 
ac_config_libobj_dir=.
543
 
LIBOBJS=
544
 
cross_compiling=no
545
 
subdirs=
546
 
MFLAGS=
547
 
MAKEFLAGS=
548
 
 
549
 
# Identity of this package.
550
 
PACKAGE_NAME='aptitude'
551
 
PACKAGE_TARNAME='aptitude'
552
 
PACKAGE_VERSION='0.6.3'
553
 
PACKAGE_STRING='aptitude 0.6.3'
554
 
PACKAGE_BUGREPORT=''
555
 
PACKAGE_URL=''
556
 
 
557
 
ac_unique_file="src/main.cc"
558
 
# Factoring default headers for most tests.
559
 
ac_includes_default="\
560
 
#include <stdio.h>
561
 
#ifdef HAVE_SYS_TYPES_H
562
 
# include <sys/types.h>
563
 
#endif
564
 
#ifdef HAVE_SYS_STAT_H
565
 
# include <sys/stat.h>
566
 
#endif
567
 
#ifdef STDC_HEADERS
568
 
# include <stdlib.h>
569
 
# include <stddef.h>
570
 
#else
571
 
# ifdef HAVE_STDLIB_H
572
 
#  include <stdlib.h>
573
 
# endif
574
 
#endif
575
 
#ifdef HAVE_STRING_H
576
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577
 
#  include <memory.h>
578
 
# endif
579
 
# include <string.h>
580
 
#endif
581
 
#ifdef HAVE_STRINGS_H
582
 
# include <strings.h>
583
 
#endif
584
 
#ifdef HAVE_INTTYPES_H
585
 
# include <inttypes.h>
586
 
#endif
587
 
#ifdef HAVE_STDINT_H
588
 
# include <stdint.h>
589
 
#endif
590
 
#ifdef HAVE_UNISTD_H
591
 
# include <unistd.h>
592
 
#endif"
593
 
 
594
 
ac_subst_vars='am__EXEEXT_FALSE
595
 
am__EXEEXT_TRUE
596
 
LTLIBOBJS
597
 
LIBOBJS
598
 
STATEDIR
599
 
DOCDIRS
600
 
SRCDIRS
601
 
BUILD_GTK_FALSE
602
 
BUILD_GTK_TRUE
603
 
LIBGLADEMM_LIBS
604
 
LIBGLADEMM_CFLAGS
605
 
GTKMM_LIBS
606
 
GTKMM_CFLAGS
607
 
GTHREAD_LIBS
608
 
GTHREAD_CFLAGS
609
 
GLIBMM_LIBS
610
 
GLIBMM_CFLAGS
611
 
SQLITE3_LIBS
612
 
SQLITE3_CFLAGS
613
 
BOOST_UNIT_TEST_LIBS
614
 
BOOST_IOSTREAMS_LIB
615
 
BOOST_LDFLAGS
616
 
BOOST_CPPFLAGS
617
 
EGREP
618
 
GREP
619
 
CXXCPP
620
 
VTE_LIBS
621
 
VTE_CFLAGS
622
 
CWIDGET_LIBS
623
 
CWIDGET_CFLAGS
624
 
SIGC_LIBS
625
 
SIGC_CFLAGS
626
 
ept_LIBS
627
 
ept_CFLAGS
628
 
PKG_CONFIG
629
 
POSUB
630
 
LTLIBINTL
631
 
LIBINTL
632
 
INTLLIBS
633
 
LTLIBICONV
634
 
LIBICONV
635
 
INTL_MACOSX_LIBS
636
 
host_os
637
 
host_vendor
638
 
host_cpu
639
 
host
640
 
build_os
641
 
build_vendor
642
 
build_cpu
643
 
build
644
 
am__fastdepCC_FALSE
645
 
am__fastdepCC_TRUE
646
 
CCDEPMODE
647
 
ac_ct_CC
648
 
CFLAGS
649
 
CC
650
 
MSGMERGE
651
 
XGETTEXT
652
 
GMSGFMT
653
 
MSGFMT
654
 
USE_NLS
655
 
MKINSTALLDIRS
656
 
USE_PO4A_FALSE
657
 
USE_PO4A_TRUE
658
 
PO4A
659
 
RANLIB
660
 
am__fastdepCXX_FALSE
661
 
am__fastdepCXX_TRUE
662
 
CXXDEPMODE
663
 
AMDEPBACKSLASH
664
 
AMDEP_FALSE
665
 
AMDEP_TRUE
666
 
am__quote
667
 
am__include
668
 
DEPDIR
669
 
OBJEXT
670
 
EXEEXT
671
 
ac_ct_CXX
672
 
CPPFLAGS
673
 
LDFLAGS
674
 
CXXFLAGS
675
 
CXX
676
 
am__untar
677
 
am__tar
678
 
AMTAR
679
 
am__leading_dot
680
 
SET_MAKE
681
 
AWK
682
 
mkdir_p
683
 
MKDIR_P
684
 
INSTALL_STRIP_PROGRAM
685
 
STRIP
686
 
install_sh
687
 
MAKEINFO
688
 
AUTOHEADER
689
 
AUTOMAKE
690
 
AUTOCONF
691
 
ACLOCAL
692
 
VERSION
693
 
PACKAGE
694
 
CYGPATH_W
695
 
am__isrc
696
 
INSTALL_DATA
697
 
INSTALL_SCRIPT
698
 
INSTALL_PROGRAM
699
 
target_alias
700
 
host_alias
701
 
build_alias
702
 
LIBS
703
 
ECHO_T
704
 
ECHO_N
705
 
ECHO_C
706
 
DEFS
707
 
mandir
708
 
localedir
709
 
libdir
710
 
psdir
711
 
pdfdir
712
 
dvidir
713
 
htmldir
714
 
infodir
715
 
docdir
716
 
oldincludedir
717
 
includedir
718
 
localstatedir
719
 
sharedstatedir
720
 
sysconfdir
721
 
datadir
722
 
datarootdir
723
 
libexecdir
724
 
sbindir
725
 
bindir
726
 
program_transform_name
727
 
prefix
728
 
exec_prefix
729
 
PACKAGE_URL
730
 
PACKAGE_BUGREPORT
731
 
PACKAGE_STRING
732
 
PACKAGE_VERSION
733
 
PACKAGE_TARNAME
734
 
PACKAGE_NAME
735
 
PATH_SEPARATOR
736
 
SHELL'
737
 
ac_subst_files=''
738
 
ac_user_opts='
739
 
enable_option_checking
740
 
enable_dependency_tracking
741
 
enable_nls
742
 
with_gnu_ld
743
 
enable_rpath
744
 
with_libiconv_prefix
745
 
with_libintl_prefix
746
 
with_boost
747
 
with_boost_iostreams
748
 
enable_gtk
749
 
enable_private_glade_file
750
 
enable_dynamic_backtrace
751
 
enable_werror
752
 
enable_period_beep
753
 
enable_reload_cache
754
 
enable_package_state_loc
755
 
enable_lock_loc
756
 
enable_aptitude
757
 
enable_docs
758
 
enable_resolver_sanity_checks
759
 
'
760
 
      ac_precious_vars='build_alias
761
 
host_alias
762
 
target_alias
763
 
CXX
764
 
CXXFLAGS
765
 
LDFLAGS
766
 
LIBS
767
 
CPPFLAGS
768
 
CCC
769
 
CC
770
 
CFLAGS
771
 
PKG_CONFIG
772
 
ept_CFLAGS
773
 
ept_LIBS
774
 
SIGC_CFLAGS
775
 
SIGC_LIBS
776
 
CWIDGET_CFLAGS
777
 
CWIDGET_LIBS
778
 
VTE_CFLAGS
779
 
VTE_LIBS
780
 
CXXCPP
781
 
SQLITE3_CFLAGS
782
 
SQLITE3_LIBS
783
 
GLIBMM_CFLAGS
784
 
GLIBMM_LIBS
785
 
GTHREAD_CFLAGS
786
 
GTHREAD_LIBS
787
 
GTKMM_CFLAGS
788
 
GTKMM_LIBS
789
 
LIBGLADEMM_CFLAGS
790
 
LIBGLADEMM_LIBS'
791
 
 
792
 
 
793
 
# Initialize some variables set by options.
794
 
ac_init_help=
795
 
ac_init_version=false
796
 
ac_unrecognized_opts=
797
 
ac_unrecognized_sep=
798
 
# The variables have the same names as the options, with
799
 
# dashes changed to underlines.
800
 
cache_file=/dev/null
801
 
exec_prefix=NONE
802
 
no_create=
803
 
no_recursion=
804
 
prefix=NONE
805
 
program_prefix=NONE
806
 
program_suffix=NONE
807
 
program_transform_name=s,x,x,
808
 
silent=
809
 
site=
810
 
srcdir=
811
 
verbose=
812
 
x_includes=NONE
813
 
x_libraries=NONE
814
 
 
815
 
# Installation directory options.
816
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
817
 
# and all the variables that are supposed to be based on exec_prefix
818
 
# by default will actually change.
819
 
# Use braces instead of parens because sh, perl, etc. also accept them.
820
 
# (The list follows the same order as the GNU Coding Standards.)
821
 
bindir='${exec_prefix}/bin'
822
 
sbindir='${exec_prefix}/sbin'
823
 
libexecdir='${exec_prefix}/libexec'
824
 
datarootdir='${prefix}/share'
825
 
datadir='${datarootdir}'
826
 
sysconfdir='${prefix}/etc'
827
 
sharedstatedir='${prefix}/com'
828
 
localstatedir='${prefix}/var'
829
 
includedir='${prefix}/include'
830
 
oldincludedir='/usr/include'
831
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832
 
infodir='${datarootdir}/info'
833
 
htmldir='${docdir}'
834
 
dvidir='${docdir}'
835
 
pdfdir='${docdir}'
836
 
psdir='${docdir}'
837
 
libdir='${exec_prefix}/lib'
838
 
localedir='${datarootdir}/locale'
839
 
mandir='${datarootdir}/man'
840
 
 
841
 
ac_prev=
842
 
ac_dashdash=
843
 
for ac_option
844
 
do
845
 
  # If the previous option needs an argument, assign it.
846
 
  if test -n "$ac_prev"; then
847
 
    eval $ac_prev=\$ac_option
848
 
    ac_prev=
849
 
    continue
850
 
  fi
851
 
 
852
 
  case $ac_option in
853
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854
 
  *)    ac_optarg=yes ;;
855
 
  esac
856
 
 
857
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
858
 
 
859
 
  case $ac_dashdash$ac_option in
860
 
  --)
861
 
    ac_dashdash=yes ;;
862
 
 
863
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
864
 
    ac_prev=bindir ;;
865
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866
 
    bindir=$ac_optarg ;;
867
 
 
868
 
  -build | --build | --buil | --bui | --bu)
869
 
    ac_prev=build_alias ;;
870
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871
 
    build_alias=$ac_optarg ;;
872
 
 
873
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
874
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875
 
    ac_prev=cache_file ;;
876
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878
 
    cache_file=$ac_optarg ;;
879
 
 
880
 
  --config-cache | -C)
881
 
    cache_file=config.cache ;;
882
 
 
883
 
  -datadir | --datadir | --datadi | --datad)
884
 
    ac_prev=datadir ;;
885
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
886
 
    datadir=$ac_optarg ;;
887
 
 
888
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889
 
  | --dataroo | --dataro | --datar)
890
 
    ac_prev=datarootdir ;;
891
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893
 
    datarootdir=$ac_optarg ;;
894
 
 
895
 
  -disable-* | --disable-*)
896
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897
 
    # Reject names that are not valid shell variable names.
898
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899
 
      as_fn_error "invalid feature name: $ac_useropt"
900
 
    ac_useropt_orig=$ac_useropt
901
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902
 
    case $ac_user_opts in
903
 
      *"
904
 
"enable_$ac_useropt"
905
 
"*) ;;
906
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907
 
         ac_unrecognized_sep=', ';;
908
 
    esac
909
 
    eval enable_$ac_useropt=no ;;
910
 
 
911
 
  -docdir | --docdir | --docdi | --doc | --do)
912
 
    ac_prev=docdir ;;
913
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914
 
    docdir=$ac_optarg ;;
915
 
 
916
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917
 
    ac_prev=dvidir ;;
918
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919
 
    dvidir=$ac_optarg ;;
920
 
 
921
 
  -enable-* | --enable-*)
922
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923
 
    # Reject names that are not valid shell variable names.
924
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925
 
      as_fn_error "invalid feature name: $ac_useropt"
926
 
    ac_useropt_orig=$ac_useropt
927
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928
 
    case $ac_user_opts in
929
 
      *"
930
 
"enable_$ac_useropt"
931
 
"*) ;;
932
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933
 
         ac_unrecognized_sep=', ';;
934
 
    esac
935
 
    eval enable_$ac_useropt=\$ac_optarg ;;
936
 
 
937
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939
 
  | --exec | --exe | --ex)
940
 
    ac_prev=exec_prefix ;;
941
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943
 
  | --exec=* | --exe=* | --ex=*)
944
 
    exec_prefix=$ac_optarg ;;
945
 
 
946
 
  -gas | --gas | --ga | --g)
947
 
    # Obsolete; use --with-gas.
948
 
    with_gas=yes ;;
949
 
 
950
 
  -help | --help | --hel | --he | -h)
951
 
    ac_init_help=long ;;
952
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953
 
    ac_init_help=recursive ;;
954
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955
 
    ac_init_help=short ;;
956
 
 
957
 
  -host | --host | --hos | --ho)
958
 
    ac_prev=host_alias ;;
959
 
  -host=* | --host=* | --hos=* | --ho=*)
960
 
    host_alias=$ac_optarg ;;
961
 
 
962
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963
 
    ac_prev=htmldir ;;
964
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965
 
  | --ht=*)
966
 
    htmldir=$ac_optarg ;;
967
 
 
968
 
  -includedir | --includedir | --includedi | --included | --include \
969
 
  | --includ | --inclu | --incl | --inc)
970
 
    ac_prev=includedir ;;
971
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
973
 
    includedir=$ac_optarg ;;
974
 
 
975
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
976
 
    ac_prev=infodir ;;
977
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978
 
    infodir=$ac_optarg ;;
979
 
 
980
 
  -libdir | --libdir | --libdi | --libd)
981
 
    ac_prev=libdir ;;
982
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
983
 
    libdir=$ac_optarg ;;
984
 
 
985
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986
 
  | --libexe | --libex | --libe)
987
 
    ac_prev=libexecdir ;;
988
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989
 
  | --libexe=* | --libex=* | --libe=*)
990
 
    libexecdir=$ac_optarg ;;
991
 
 
992
 
  -localedir | --localedir | --localedi | --localed | --locale)
993
 
    ac_prev=localedir ;;
994
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995
 
    localedir=$ac_optarg ;;
996
 
 
997
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
998
 
  | --localstate | --localstat | --localsta | --localst | --locals)
999
 
    ac_prev=localstatedir ;;
1000
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002
 
    localstatedir=$ac_optarg ;;
1003
 
 
1004
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005
 
    ac_prev=mandir ;;
1006
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007
 
    mandir=$ac_optarg ;;
1008
 
 
1009
 
  -nfp | --nfp | --nf)
1010
 
    # Obsolete; use --without-fp.
1011
 
    with_fp=no ;;
1012
 
 
1013
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014
 
  | --no-cr | --no-c | -n)
1015
 
    no_create=yes ;;
1016
 
 
1017
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019
 
    no_recursion=yes ;;
1020
 
 
1021
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023
 
  | --oldin | --oldi | --old | --ol | --o)
1024
 
    ac_prev=oldincludedir ;;
1025
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028
 
    oldincludedir=$ac_optarg ;;
1029
 
 
1030
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031
 
    ac_prev=prefix ;;
1032
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033
 
    prefix=$ac_optarg ;;
1034
 
 
1035
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1036
 
  | --program-pre | --program-pr | --program-p)
1037
 
    ac_prev=program_prefix ;;
1038
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1039
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040
 
    program_prefix=$ac_optarg ;;
1041
 
 
1042
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1043
 
  | --program-suf | --program-su | --program-s)
1044
 
    ac_prev=program_suffix ;;
1045
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1046
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047
 
    program_suffix=$ac_optarg ;;
1048
 
 
1049
 
  -program-transform-name | --program-transform-name \
1050
 
  | --program-transform-nam | --program-transform-na \
1051
 
  | --program-transform-n | --program-transform- \
1052
 
  | --program-transform | --program-transfor \
1053
 
  | --program-transfo | --program-transf \
1054
 
  | --program-trans | --program-tran \
1055
 
  | --progr-tra | --program-tr | --program-t)
1056
 
    ac_prev=program_transform_name ;;
1057
 
  -program-transform-name=* | --program-transform-name=* \
1058
 
  | --program-transform-nam=* | --program-transform-na=* \
1059
 
  | --program-transform-n=* | --program-transform-=* \
1060
 
  | --program-transform=* | --program-transfor=* \
1061
 
  | --program-transfo=* | --program-transf=* \
1062
 
  | --program-trans=* | --program-tran=* \
1063
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1064
 
    program_transform_name=$ac_optarg ;;
1065
 
 
1066
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067
 
    ac_prev=pdfdir ;;
1068
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069
 
    pdfdir=$ac_optarg ;;
1070
 
 
1071
 
  -psdir | --psdir | --psdi | --psd | --ps)
1072
 
    ac_prev=psdir ;;
1073
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074
 
    psdir=$ac_optarg ;;
1075
 
 
1076
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077
 
  | -silent | --silent | --silen | --sile | --sil)
1078
 
    silent=yes ;;
1079
 
 
1080
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081
 
    ac_prev=sbindir ;;
1082
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083
 
  | --sbi=* | --sb=*)
1084
 
    sbindir=$ac_optarg ;;
1085
 
 
1086
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088
 
  | --sharedst | --shareds | --shared | --share | --shar \
1089
 
  | --sha | --sh)
1090
 
    ac_prev=sharedstatedir ;;
1091
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094
 
  | --sha=* | --sh=*)
1095
 
    sharedstatedir=$ac_optarg ;;
1096
 
 
1097
 
  -site | --site | --sit)
1098
 
    ac_prev=site ;;
1099
 
  -site=* | --site=* | --sit=*)
1100
 
    site=$ac_optarg ;;
1101
 
 
1102
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103
 
    ac_prev=srcdir ;;
1104
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105
 
    srcdir=$ac_optarg ;;
1106
 
 
1107
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1109
 
    ac_prev=sysconfdir ;;
1110
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112
 
    sysconfdir=$ac_optarg ;;
1113
 
 
1114
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1115
 
    ac_prev=target_alias ;;
1116
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117
 
    target_alias=$ac_optarg ;;
1118
 
 
1119
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120
 
    verbose=yes ;;
1121
 
 
1122
 
  -version | --version | --versio | --versi | --vers | -V)
1123
 
    ac_init_version=: ;;
1124
 
 
1125
 
  -with-* | --with-*)
1126
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127
 
    # Reject names that are not valid shell variable names.
1128
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129
 
      as_fn_error "invalid package name: $ac_useropt"
1130
 
    ac_useropt_orig=$ac_useropt
1131
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132
 
    case $ac_user_opts in
1133
 
      *"
1134
 
"with_$ac_useropt"
1135
 
"*) ;;
1136
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137
 
         ac_unrecognized_sep=', ';;
1138
 
    esac
1139
 
    eval with_$ac_useropt=\$ac_optarg ;;
1140
 
 
1141
 
  -without-* | --without-*)
1142
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143
 
    # Reject names that are not valid shell variable names.
1144
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145
 
      as_fn_error "invalid package name: $ac_useropt"
1146
 
    ac_useropt_orig=$ac_useropt
1147
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148
 
    case $ac_user_opts in
1149
 
      *"
1150
 
"with_$ac_useropt"
1151
 
"*) ;;
1152
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153
 
         ac_unrecognized_sep=', ';;
1154
 
    esac
1155
 
    eval with_$ac_useropt=no ;;
1156
 
 
1157
 
  --x)
1158
 
    # Obsolete; use --with-x.
1159
 
    with_x=yes ;;
1160
 
 
1161
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162
 
  | --x-incl | --x-inc | --x-in | --x-i)
1163
 
    ac_prev=x_includes ;;
1164
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166
 
    x_includes=$ac_optarg ;;
1167
 
 
1168
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1169
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170
 
    ac_prev=x_libraries ;;
1171
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173
 
    x_libraries=$ac_optarg ;;
1174
 
 
1175
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1176
 
Try \`$0 --help' for more information."
1177
 
    ;;
1178
 
 
1179
 
  *=*)
1180
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181
 
    # Reject names that are not valid shell variable names.
1182
 
    case $ac_envvar in #(
1183
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1184
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1185
 
    esac
1186
 
    eval $ac_envvar=\$ac_optarg
1187
 
    export $ac_envvar ;;
1188
 
 
1189
 
  *)
1190
 
    # FIXME: should be removed in autoconf 3.0.
1191
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195
 
    ;;
1196
 
 
1197
 
  esac
1198
 
done
1199
 
 
1200
 
if test -n "$ac_prev"; then
1201
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202
 
  as_fn_error "missing argument to $ac_option"
1203
 
fi
1204
 
 
1205
 
if test -n "$ac_unrecognized_opts"; then
1206
 
  case $enable_option_checking in
1207
 
    no) ;;
1208
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1209
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210
 
  esac
1211
 
fi
1212
 
 
1213
 
# Check all directory arguments for consistency.
1214
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1216
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217
 
                libdir localedir mandir
1218
 
do
1219
 
  eval ac_val=\$$ac_var
1220
 
  # Remove trailing slashes.
1221
 
  case $ac_val in
1222
 
    */ )
1223
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224
 
      eval $ac_var=\$ac_val;;
1225
 
  esac
1226
 
  # Be sure to have absolute directory names.
1227
 
  case $ac_val in
1228
 
    [\\/$]* | ?:[\\/]* )  continue;;
1229
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230
 
  esac
1231
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1232
 
done
1233
 
 
1234
 
# There might be people who depend on the old broken behavior: `$host'
1235
 
# used to hold the argument of --host etc.
1236
 
# FIXME: To remove some day.
1237
 
build=$build_alias
1238
 
host=$host_alias
1239
 
target=$target_alias
1240
 
 
1241
 
# FIXME: To remove some day.
1242
 
if test "x$host_alias" != x; then
1243
 
  if test "x$build_alias" = x; then
1244
 
    cross_compiling=maybe
1245
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1246
 
    If a cross compiler is detected then cross compile mode will be used." >&2
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 aptitude 0.6.3 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/aptitude]
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
 
 
1394
 
System types:
1395
 
  --build=BUILD     configure for building on BUILD [guessed]
1396
 
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1397
 
_ACEOF
1398
 
fi
1399
 
 
1400
 
if test -n "$ac_init_help"; then
1401
 
  case $ac_init_help in
1402
 
     short | recursive ) echo "Configuration of aptitude 0.6.3:";;
1403
 
   esac
1404
 
  cat <<\_ACEOF
1405
 
 
1406
 
Optional Features:
1407
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1408
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1409
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1410
 
  --disable-dependency-tracking  speeds up one-time build
1411
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1412
 
  --disable-nls           do not use Native Language Support
1413
 
  --disable-rpath         do not hardcode runtime library paths
1414
 
  --disable-gtk           don't compile the GTK+/gtkmm frontend even if the
1415
 
                          appropriate libraries are available
1416
 
  --disable-private-glade-file
1417
 
                          Always read the .glade file from \$datadir instead
1418
 
                          of reading one in ".". This can be useful when
1419
 
                          installing aptitude globally, to avoid accidentally
1420
 
                          picking up the wrong version of the .glade file.
1421
 
  --enable-dynamic-backtrace
1422
 
                          Modify the executable so that it can generate a
1423
 
                          backtrace for uncaught exceptions. Will double the
1424
 
                          size of the stripped binary.
1425
 
  --disable-werror        do not compile with -Werror
1426
 
  --enable-period-beep    periodically (once a second) produce an annoying
1427
 
                          beep
1428
 
  --enable-reload-cache   allow the user to reload the cache on demand.
1429
 
                          (debugging feature)
1430
 
  --with-package-state-loc
1431
 
                          use the given location for storing state (default
1432
 
                          /var/lib/aptitude)
1433
 
  --with-lock-loc         use the given location for storing state (default
1434
 
                          /var/lock/aptitude)
1435
 
  --disable-aptitude      don't compile the program itself
1436
 
  --disable-docs          don't generate the documentation
1437
 
  --enable-resolver-sanity-checks
1438
 
                          enable expensive internal sanity-checks in the
1439
 
                          dependency resolver
1440
 
 
1441
 
Optional Packages:
1442
 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1443
 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1444
 
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1445
 
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1446
 
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1447
 
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1448
 
  --without-libintl-prefix     don't search for libintl in includedir and libdir
1449
 
  --with-boost[=DIR]      modify the directory that is searched for Boost
1450
 
  --with-boost-iostreams[=special-lib]
1451
 
                          use the IOStreams library from boost - it is
1452
 
                          possible to specify a certain library for the linker
1453
 
                          e.g.
1454
 
                          --with-boost-iostreams=boost_iostreams-gcc-mt-d-1_33_1
1455
 
 
1456
 
Some influential environment variables:
1457
 
  CXX         C++ compiler command
1458
 
  CXXFLAGS    C++ compiler flags
1459
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1460
 
              nonstandard directory <lib dir>
1461
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1462
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463
 
              you have headers in a nonstandard directory <include dir>
1464
 
  CC          C compiler command
1465
 
  CFLAGS      C compiler flags
1466
 
  PKG_CONFIG  path to pkg-config utility
1467
 
  ept_CFLAGS  C compiler flags for ept, overriding pkg-config
1468
 
  ept_LIBS    linker flags for ept, overriding pkg-config
1469
 
  SIGC_CFLAGS C compiler flags for SIGC, overriding pkg-config
1470
 
  SIGC_LIBS   linker flags for SIGC, overriding pkg-config
1471
 
  CWIDGET_CFLAGS
1472
 
              C compiler flags for CWIDGET, overriding pkg-config
1473
 
  CWIDGET_LIBS
1474
 
              linker flags for CWIDGET, overriding pkg-config
1475
 
  VTE_CFLAGS  C compiler flags for VTE, overriding pkg-config
1476
 
  VTE_LIBS    linker flags for VTE, overriding pkg-config
1477
 
  CXXCPP      C++ preprocessor
1478
 
  SQLITE3_CFLAGS
1479
 
              C compiler flags for SQLITE3, overriding pkg-config
1480
 
  SQLITE3_LIBS
1481
 
              linker flags for SQLITE3, overriding pkg-config
1482
 
  GLIBMM_CFLAGS
1483
 
              C compiler flags for GLIBMM, overriding pkg-config
1484
 
  GLIBMM_LIBS linker flags for GLIBMM, overriding pkg-config
1485
 
  GTHREAD_CFLAGS
1486
 
              C compiler flags for GTHREAD, overriding pkg-config
1487
 
  GTHREAD_LIBS
1488
 
              linker flags for GTHREAD, overriding pkg-config
1489
 
  GTKMM_CFLAGS
1490
 
              C compiler flags for GTKMM, overriding pkg-config
1491
 
  GTKMM_LIBS  linker flags for GTKMM, overriding pkg-config
1492
 
  LIBGLADEMM_CFLAGS
1493
 
              C compiler flags for LIBGLADEMM, overriding pkg-config
1494
 
  LIBGLADEMM_LIBS
1495
 
              linker flags for LIBGLADEMM, overriding pkg-config
1496
 
 
1497
 
Use these variables to override the choices made by `configure' or to help
1498
 
it to find libraries and programs with nonstandard names/locations.
1499
 
 
1500
 
Report bugs to the package provider.
1501
 
_ACEOF
1502
 
ac_status=$?
1503
 
fi
1504
 
 
1505
 
if test "$ac_init_help" = "recursive"; then
1506
 
  # If there are subdirs, report their specific --help.
1507
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1508
 
    test -d "$ac_dir" ||
1509
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1510
 
      continue
1511
 
    ac_builddir=.
1512
 
 
1513
 
case "$ac_dir" in
1514
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1515
 
*)
1516
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1517
 
  # A ".." for each directory in $ac_dir_suffix.
1518
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1519
 
  case $ac_top_builddir_sub in
1520
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1522
 
  esac ;;
1523
 
esac
1524
 
ac_abs_top_builddir=$ac_pwd
1525
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1526
 
# for backward compatibility:
1527
 
ac_top_builddir=$ac_top_build_prefix
1528
 
 
1529
 
case $srcdir in
1530
 
  .)  # We are building in place.
1531
 
    ac_srcdir=.
1532
 
    ac_top_srcdir=$ac_top_builddir_sub
1533
 
    ac_abs_top_srcdir=$ac_pwd ;;
1534
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1535
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1536
 
    ac_top_srcdir=$srcdir
1537
 
    ac_abs_top_srcdir=$srcdir ;;
1538
 
  *) # Relative name.
1539
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1540
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1541
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1542
 
esac
1543
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1544
 
 
1545
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1546
 
    # Check for guested configure.
1547
 
    if test -f "$ac_srcdir/configure.gnu"; then
1548
 
      echo &&
1549
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1550
 
    elif test -f "$ac_srcdir/configure"; then
1551
 
      echo &&
1552
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1553
 
    else
1554
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1555
 
    fi || ac_status=$?
1556
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1557
 
  done
1558
 
fi
1559
 
 
1560
 
test -n "$ac_init_help" && exit $ac_status
1561
 
if $ac_init_version; then
1562
 
  cat <<\_ACEOF
1563
 
aptitude configure 0.6.3
1564
 
generated by GNU Autoconf 2.65
1565
 
 
1566
 
Copyright (C) 2009 Free Software Foundation, Inc.
1567
 
This configure script is free software; the Free Software Foundation
1568
 
gives unlimited permission to copy, distribute and modify it.
1569
 
_ACEOF
1570
 
  exit
1571
 
fi
1572
 
 
1573
 
## ------------------------ ##
1574
 
## Autoconf initialization. ##
1575
 
## ------------------------ ##
1576
 
 
1577
 
# ac_fn_cxx_try_compile LINENO
1578
 
# ----------------------------
1579
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1580
 
ac_fn_cxx_try_compile ()
1581
 
{
1582
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1583
 
  rm -f conftest.$ac_objext
1584
 
  if { { ac_try="$ac_compile"
1585
 
case "(($ac_try" in
1586
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1587
 
  *) ac_try_echo=$ac_try;;
1588
 
esac
1589
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1590
 
$as_echo "$ac_try_echo"; } >&5
1591
 
  (eval "$ac_compile") 2>conftest.err
1592
 
  ac_status=$?
1593
 
  if test -s conftest.err; then
1594
 
    grep -v '^ *+' conftest.err >conftest.er1
1595
 
    cat conftest.er1 >&5
1596
 
    mv -f conftest.er1 conftest.err
1597
 
  fi
1598
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599
 
  test $ac_status = 0; } && {
1600
 
         test -z "$ac_cxx_werror_flag" ||
1601
 
         test ! -s conftest.err
1602
 
       } && test -s conftest.$ac_objext; then :
1603
 
  ac_retval=0
1604
 
else
1605
 
  $as_echo "$as_me: failed program was:" >&5
1606
 
sed 's/^/| /' conftest.$ac_ext >&5
1607
 
 
1608
 
        ac_retval=1
1609
 
fi
1610
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1611
 
  as_fn_set_status $ac_retval
1612
 
 
1613
 
} # ac_fn_cxx_try_compile
1614
 
 
1615
 
# ac_fn_cxx_try_link LINENO
1616
 
# -------------------------
1617
 
# Try to link conftest.$ac_ext, and return whether this succeeded.
1618
 
ac_fn_cxx_try_link ()
1619
 
{
1620
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621
 
  rm -f conftest.$ac_objext conftest$ac_exeext
1622
 
  if { { ac_try="$ac_link"
1623
 
case "(($ac_try" in
1624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625
 
  *) ac_try_echo=$ac_try;;
1626
 
esac
1627
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628
 
$as_echo "$ac_try_echo"; } >&5
1629
 
  (eval "$ac_link") 2>conftest.err
1630
 
  ac_status=$?
1631
 
  if test -s conftest.err; then
1632
 
    grep -v '^ *+' conftest.err >conftest.er1
1633
 
    cat conftest.er1 >&5
1634
 
    mv -f conftest.er1 conftest.err
1635
 
  fi
1636
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637
 
  test $ac_status = 0; } && {
1638
 
         test -z "$ac_cxx_werror_flag" ||
1639
 
         test ! -s conftest.err
1640
 
       } && test -s conftest$ac_exeext && {
1641
 
         test "$cross_compiling" = yes ||
1642
 
         $as_test_x conftest$ac_exeext
1643
 
       }; then :
1644
 
  ac_retval=0
1645
 
else
1646
 
  $as_echo "$as_me: failed program was:" >&5
1647
 
sed 's/^/| /' conftest.$ac_ext >&5
1648
 
 
1649
 
        ac_retval=1
1650
 
fi
1651
 
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1652
 
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1653
 
  # interfere with the next link command; also delete a directory that is
1654
 
  # left behind by Apple's compiler.  We do this before executing the actions.
1655
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1656
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1657
 
  as_fn_set_status $ac_retval
1658
 
 
1659
 
} # ac_fn_cxx_try_link
1660
 
 
1661
 
# ac_fn_c_try_compile LINENO
1662
 
# --------------------------
1663
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1664
 
ac_fn_c_try_compile ()
1665
 
{
1666
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667
 
  rm -f conftest.$ac_objext
1668
 
  if { { ac_try="$ac_compile"
1669
 
case "(($ac_try" in
1670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671
 
  *) ac_try_echo=$ac_try;;
1672
 
esac
1673
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674
 
$as_echo "$ac_try_echo"; } >&5
1675
 
  (eval "$ac_compile") 2>conftest.err
1676
 
  ac_status=$?
1677
 
  if test -s conftest.err; then
1678
 
    grep -v '^ *+' conftest.err >conftest.er1
1679
 
    cat conftest.er1 >&5
1680
 
    mv -f conftest.er1 conftest.err
1681
 
  fi
1682
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683
 
  test $ac_status = 0; } && {
1684
 
         test -z "$ac_c_werror_flag" ||
1685
 
         test ! -s conftest.err
1686
 
       } && test -s conftest.$ac_objext; then :
1687
 
  ac_retval=0
1688
 
else
1689
 
  $as_echo "$as_me: failed program was:" >&5
1690
 
sed 's/^/| /' conftest.$ac_ext >&5
1691
 
 
1692
 
        ac_retval=1
1693
 
fi
1694
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695
 
  as_fn_set_status $ac_retval
1696
 
 
1697
 
} # ac_fn_c_try_compile
1698
 
 
1699
 
# ac_fn_cxx_try_cpp LINENO
1700
 
# ------------------------
1701
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702
 
ac_fn_cxx_try_cpp ()
1703
 
{
1704
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1706
 
case "(($ac_try" in
1707
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708
 
  *) ac_try_echo=$ac_try;;
1709
 
esac
1710
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711
 
$as_echo "$ac_try_echo"; } >&5
1712
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1713
 
  ac_status=$?
1714
 
  if test -s conftest.err; then
1715
 
    grep -v '^ *+' conftest.err >conftest.er1
1716
 
    cat conftest.er1 >&5
1717
 
    mv -f conftest.er1 conftest.err
1718
 
  fi
1719
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720
 
  test $ac_status = 0; } >/dev/null && {
1721
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1722
 
         test ! -s conftest.err
1723
 
       }; then :
1724
 
  ac_retval=0
1725
 
else
1726
 
  $as_echo "$as_me: failed program was:" >&5
1727
 
sed 's/^/| /' conftest.$ac_ext >&5
1728
 
 
1729
 
    ac_retval=1
1730
 
fi
1731
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732
 
  as_fn_set_status $ac_retval
1733
 
 
1734
 
} # ac_fn_cxx_try_cpp
1735
 
 
1736
 
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1737
 
# ---------------------------------------------------------
1738
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1739
 
# the include files in INCLUDES and setting the cache variable VAR
1740
 
# accordingly.
1741
 
ac_fn_cxx_check_header_mongrel ()
1742
 
{
1743
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746
 
$as_echo_n "checking for $2... " >&6; }
1747
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748
 
  $as_echo_n "(cached) " >&6
1749
 
fi
1750
 
eval ac_res=\$$3
1751
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752
 
$as_echo "$ac_res" >&6; }
1753
 
else
1754
 
  # Is the header compilable?
1755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1756
 
$as_echo_n "checking $2 usability... " >&6; }
1757
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758
 
/* end confdefs.h.  */
1759
 
$4
1760
 
#include <$2>
1761
 
_ACEOF
1762
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1763
 
  ac_header_compiler=yes
1764
 
else
1765
 
  ac_header_compiler=no
1766
 
fi
1767
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1769
 
$as_echo "$ac_header_compiler" >&6; }
1770
 
 
1771
 
# Is the header present?
1772
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1773
 
$as_echo_n "checking $2 presence... " >&6; }
1774
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775
 
/* end confdefs.h.  */
1776
 
#include <$2>
1777
 
_ACEOF
1778
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
1779
 
  ac_header_preproc=yes
1780
 
else
1781
 
  ac_header_preproc=no
1782
 
fi
1783
 
rm -f conftest.err conftest.$ac_ext
1784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1785
 
$as_echo "$ac_header_preproc" >&6; }
1786
 
 
1787
 
# So?  What about this header?
1788
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1789
 
  yes:no: )
1790
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1791
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1792
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1793
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1794
 
    ;;
1795
 
  no:yes:* )
1796
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1797
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1798
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1799
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1800
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1801
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1802
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1803
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1804
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1805
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1806
 
    ;;
1807
 
esac
1808
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809
 
$as_echo_n "checking for $2... " >&6; }
1810
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1811
 
  $as_echo_n "(cached) " >&6
1812
 
else
1813
 
  eval "$3=\$ac_header_compiler"
1814
 
fi
1815
 
eval ac_res=\$$3
1816
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817
 
$as_echo "$ac_res" >&6; }
1818
 
fi
1819
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1820
 
 
1821
 
} # ac_fn_cxx_check_header_mongrel
1822
 
 
1823
 
# ac_fn_cxx_try_run LINENO
1824
 
# ------------------------
1825
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1826
 
# that executables *can* be run.
1827
 
ac_fn_cxx_try_run ()
1828
 
{
1829
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830
 
  if { { ac_try="$ac_link"
1831
 
case "(($ac_try" in
1832
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833
 
  *) ac_try_echo=$ac_try;;
1834
 
esac
1835
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836
 
$as_echo "$ac_try_echo"; } >&5
1837
 
  (eval "$ac_link") 2>&5
1838
 
  ac_status=$?
1839
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1841
 
  { { case "(($ac_try" in
1842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843
 
  *) ac_try_echo=$ac_try;;
1844
 
esac
1845
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846
 
$as_echo "$ac_try_echo"; } >&5
1847
 
  (eval "$ac_try") 2>&5
1848
 
  ac_status=$?
1849
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850
 
  test $ac_status = 0; }; }; then :
1851
 
  ac_retval=0
1852
 
else
1853
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1854
 
       $as_echo "$as_me: failed program was:" >&5
1855
 
sed 's/^/| /' conftest.$ac_ext >&5
1856
 
 
1857
 
       ac_retval=$ac_status
1858
 
fi
1859
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861
 
  as_fn_set_status $ac_retval
1862
 
 
1863
 
} # ac_fn_cxx_try_run
1864
 
 
1865
 
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1866
 
# ---------------------------------------------------------
1867
 
# Tests whether HEADER exists and can be compiled using the include files in
1868
 
# INCLUDES, setting the cache variable VAR accordingly.
1869
 
ac_fn_cxx_check_header_compile ()
1870
 
{
1871
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873
 
$as_echo_n "checking for $2... " >&6; }
1874
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875
 
  $as_echo_n "(cached) " >&6
1876
 
else
1877
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878
 
/* end confdefs.h.  */
1879
 
$4
1880
 
#include <$2>
1881
 
_ACEOF
1882
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1883
 
  eval "$3=yes"
1884
 
else
1885
 
  eval "$3=no"
1886
 
fi
1887
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888
 
fi
1889
 
eval ac_res=\$$3
1890
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891
 
$as_echo "$ac_res" >&6; }
1892
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893
 
 
1894
 
} # ac_fn_cxx_check_header_compile
1895
 
 
1896
 
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
1897
 
# --------------------------------------
1898
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1899
 
ac_fn_cxx_check_decl ()
1900
 
{
1901
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1903
 
$as_echo_n "checking whether $2 is declared... " >&6; }
1904
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905
 
  $as_echo_n "(cached) " >&6
1906
 
else
1907
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908
 
/* end confdefs.h.  */
1909
 
$4
1910
 
int
1911
 
main ()
1912
 
{
1913
 
#ifndef $2
1914
 
  (void) $2;
1915
 
#endif
1916
 
 
1917
 
  ;
1918
 
  return 0;
1919
 
}
1920
 
_ACEOF
1921
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1922
 
  eval "$3=yes"
1923
 
else
1924
 
  eval "$3=no"
1925
 
fi
1926
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927
 
fi
1928
 
eval ac_res=\$$3
1929
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930
 
$as_echo "$ac_res" >&6; }
1931
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932
 
 
1933
 
} # ac_fn_cxx_check_decl
1934
 
 
1935
 
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1936
 
# ---------------------------------------------
1937
 
# Tests whether TYPE exists after having included INCLUDES, setting cache
1938
 
# variable VAR accordingly.
1939
 
ac_fn_cxx_check_type ()
1940
 
{
1941
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1943
 
$as_echo_n "checking for $2... " >&6; }
1944
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1945
 
  $as_echo_n "(cached) " >&6
1946
 
else
1947
 
  eval "$3=no"
1948
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949
 
/* end confdefs.h.  */
1950
 
$4
1951
 
int
1952
 
main ()
1953
 
{
1954
 
if (sizeof ($2))
1955
 
         return 0;
1956
 
  ;
1957
 
  return 0;
1958
 
}
1959
 
_ACEOF
1960
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1961
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962
 
/* end confdefs.h.  */
1963
 
$4
1964
 
int
1965
 
main ()
1966
 
{
1967
 
if (sizeof (($2)))
1968
 
            return 0;
1969
 
  ;
1970
 
  return 0;
1971
 
}
1972
 
_ACEOF
1973
 
if ac_fn_cxx_try_compile "$LINENO"; then :
1974
 
 
1975
 
else
1976
 
  eval "$3=yes"
1977
 
fi
1978
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979
 
fi
1980
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981
 
fi
1982
 
eval ac_res=\$$3
1983
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984
 
$as_echo "$ac_res" >&6; }
1985
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1986
 
 
1987
 
} # ac_fn_cxx_check_type
1988
 
 
1989
 
# ac_fn_cxx_check_func LINENO FUNC VAR
1990
 
# ------------------------------------
1991
 
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1992
 
ac_fn_cxx_check_func ()
1993
 
{
1994
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996
 
$as_echo_n "checking for $2... " >&6; }
1997
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1998
 
  $as_echo_n "(cached) " >&6
1999
 
else
2000
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001
 
/* end confdefs.h.  */
2002
 
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2003
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2004
 
#define $2 innocuous_$2
2005
 
 
2006
 
/* System header to define __stub macros and hopefully few prototypes,
2007
 
    which can conflict with char $2 (); below.
2008
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2009
 
    <limits.h> exists even on freestanding compilers.  */
2010
 
 
2011
 
#ifdef __STDC__
2012
 
# include <limits.h>
2013
 
#else
2014
 
# include <assert.h>
2015
 
#endif
2016
 
 
2017
 
#undef $2
2018
 
 
2019
 
/* Override any GCC internal prototype to avoid an error.
2020
 
   Use char because int might match the return type of a GCC
2021
 
   builtin and then its argument prototype would still apply.  */
2022
 
#ifdef __cplusplus
2023
 
extern "C"
2024
 
#endif
2025
 
char $2 ();
2026
 
/* The GNU C library defines this for functions which it implements
2027
 
    to always fail with ENOSYS.  Some functions are actually named
2028
 
    something starting with __ and the normal name is an alias.  */
2029
 
#if defined __stub_$2 || defined __stub___$2
2030
 
choke me
2031
 
#endif
2032
 
 
2033
 
int
2034
 
main ()
2035
 
{
2036
 
return $2 ();
2037
 
  ;
2038
 
  return 0;
2039
 
}
2040
 
_ACEOF
2041
 
if ac_fn_cxx_try_link "$LINENO"; then :
2042
 
  eval "$3=yes"
2043
 
else
2044
 
  eval "$3=no"
2045
 
fi
2046
 
rm -f core conftest.err conftest.$ac_objext \
2047
 
    conftest$ac_exeext conftest.$ac_ext
2048
 
fi
2049
 
eval ac_res=\$$3
2050
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051
 
$as_echo "$ac_res" >&6; }
2052
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2053
 
 
2054
 
} # ac_fn_cxx_check_func
2055
 
cat >config.log <<_ACEOF
2056
 
This file contains any messages produced by compilers while
2057
 
running configure, to aid debugging if configure makes a mistake.
2058
 
 
2059
 
It was created by aptitude $as_me 0.6.3, which was
2060
 
generated by GNU Autoconf 2.65.  Invocation command line was
2061
 
 
2062
 
  $ $0 $@
2063
 
 
2064
 
_ACEOF
2065
 
exec 5>>config.log
2066
 
{
2067
 
cat <<_ASUNAME
2068
 
## --------- ##
2069
 
## Platform. ##
2070
 
## --------- ##
2071
 
 
2072
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2073
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2074
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2075
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2076
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2077
 
 
2078
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2079
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2080
 
 
2081
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2082
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2083
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2084
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2085
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2086
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2087
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2088
 
 
2089
 
_ASUNAME
2090
 
 
2091
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092
 
for as_dir in $PATH
2093
 
do
2094
 
  IFS=$as_save_IFS
2095
 
  test -z "$as_dir" && as_dir=.
2096
 
    $as_echo "PATH: $as_dir"
2097
 
  done
2098
 
IFS=$as_save_IFS
2099
 
 
2100
 
} >&5
2101
 
 
2102
 
cat >&5 <<_ACEOF
2103
 
 
2104
 
 
2105
 
## ----------- ##
2106
 
## Core tests. ##
2107
 
## ----------- ##
2108
 
 
2109
 
_ACEOF
2110
 
 
2111
 
 
2112
 
# Keep a trace of the command line.
2113
 
# Strip out --no-create and --no-recursion so they do not pile up.
2114
 
# Strip out --silent because we don't want to record it for future runs.
2115
 
# Also quote any args containing shell meta-characters.
2116
 
# Make two passes to allow for proper duplicate-argument suppression.
2117
 
ac_configure_args=
2118
 
ac_configure_args0=
2119
 
ac_configure_args1=
2120
 
ac_must_keep_next=false
2121
 
for ac_pass in 1 2
2122
 
do
2123
 
  for ac_arg
2124
 
  do
2125
 
    case $ac_arg in
2126
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2127
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2128
 
    | -silent | --silent | --silen | --sile | --sil)
2129
 
      continue ;;
2130
 
    *\'*)
2131
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2132
 
    esac
2133
 
    case $ac_pass in
2134
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2135
 
    2)
2136
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
2137
 
      if test $ac_must_keep_next = true; then
2138
 
        ac_must_keep_next=false # Got value, back to normal.
2139
 
      else
2140
 
        case $ac_arg in
2141
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
2142
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2143
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2144
 
          | -with-* | --with-* | -without-* | --without-* | --x)
2145
 
            case "$ac_configure_args0 " in
2146
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2147
 
            esac
2148
 
            ;;
2149
 
          -* ) ac_must_keep_next=true ;;
2150
 
        esac
2151
 
      fi
2152
 
      as_fn_append ac_configure_args " '$ac_arg'"
2153
 
      ;;
2154
 
    esac
2155
 
  done
2156
 
done
2157
 
{ ac_configure_args0=; unset ac_configure_args0;}
2158
 
{ ac_configure_args1=; unset ac_configure_args1;}
2159
 
 
2160
 
# When interrupted or exit'd, cleanup temporary files, and complete
2161
 
# config.log.  We remove comments because anyway the quotes in there
2162
 
# would cause problems or look ugly.
2163
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
2164
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2165
 
trap 'exit_status=$?
2166
 
  # Save into config.log some information that might help in debugging.
2167
 
  {
2168
 
    echo
2169
 
 
2170
 
    cat <<\_ASBOX
2171
 
## ---------------- ##
2172
 
## Cache variables. ##
2173
 
## ---------------- ##
2174
 
_ASBOX
2175
 
    echo
2176
 
    # The following way of writing the cache mishandles newlines in values,
2177
 
(
2178
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2179
 
    eval ac_val=\$$ac_var
2180
 
    case $ac_val in #(
2181
 
    *${as_nl}*)
2182
 
      case $ac_var in #(
2183
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2184
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2185
 
      esac
2186
 
      case $ac_var in #(
2187
 
      _ | IFS | as_nl) ;; #(
2188
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2189
 
      *) { eval $ac_var=; unset $ac_var;} ;;
2190
 
      esac ;;
2191
 
    esac
2192
 
  done
2193
 
  (set) 2>&1 |
2194
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2195
 
    *${as_nl}ac_space=\ *)
2196
 
      sed -n \
2197
 
        "s/'\''/'\''\\\\'\'''\''/g;
2198
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2199
 
      ;; #(
2200
 
    *)
2201
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2202
 
      ;;
2203
 
    esac |
2204
 
    sort
2205
 
)
2206
 
    echo
2207
 
 
2208
 
    cat <<\_ASBOX
2209
 
## ----------------- ##
2210
 
## Output variables. ##
2211
 
## ----------------- ##
2212
 
_ASBOX
2213
 
    echo
2214
 
    for ac_var in $ac_subst_vars
2215
 
    do
2216
 
      eval ac_val=\$$ac_var
2217
 
      case $ac_val in
2218
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2219
 
      esac
2220
 
      $as_echo "$ac_var='\''$ac_val'\''"
2221
 
    done | sort
2222
 
    echo
2223
 
 
2224
 
    if test -n "$ac_subst_files"; then
2225
 
      cat <<\_ASBOX
2226
 
## ------------------- ##
2227
 
## File substitutions. ##
2228
 
## ------------------- ##
2229
 
_ASBOX
2230
 
      echo
2231
 
      for ac_var in $ac_subst_files
2232
 
      do
2233
 
        eval ac_val=\$$ac_var
2234
 
        case $ac_val in
2235
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236
 
        esac
2237
 
        $as_echo "$ac_var='\''$ac_val'\''"
2238
 
      done | sort
2239
 
      echo
2240
 
    fi
2241
 
 
2242
 
    if test -s confdefs.h; then
2243
 
      cat <<\_ASBOX
2244
 
## ----------- ##
2245
 
## confdefs.h. ##
2246
 
## ----------- ##
2247
 
_ASBOX
2248
 
      echo
2249
 
      cat confdefs.h
2250
 
      echo
2251
 
    fi
2252
 
    test "$ac_signal" != 0 &&
2253
 
      $as_echo "$as_me: caught signal $ac_signal"
2254
 
    $as_echo "$as_me: exit $exit_status"
2255
 
  } >&5
2256
 
  rm -f core *.core core.conftest.* &&
2257
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2258
 
    exit $exit_status
2259
 
' 0
2260
 
for ac_signal in 1 2 13 15; do
2261
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2262
 
done
2263
 
ac_signal=0
2264
 
 
2265
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2266
 
rm -f -r conftest* confdefs.h
2267
 
 
2268
 
$as_echo "/* confdefs.h */" > confdefs.h
2269
 
 
2270
 
# Predefined preprocessor variables.
2271
 
 
2272
 
cat >>confdefs.h <<_ACEOF
2273
 
#define PACKAGE_NAME "$PACKAGE_NAME"
2274
 
_ACEOF
2275
 
 
2276
 
cat >>confdefs.h <<_ACEOF
2277
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2278
 
_ACEOF
2279
 
 
2280
 
cat >>confdefs.h <<_ACEOF
2281
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2282
 
_ACEOF
2283
 
 
2284
 
cat >>confdefs.h <<_ACEOF
2285
 
#define PACKAGE_STRING "$PACKAGE_STRING"
2286
 
_ACEOF
2287
 
 
2288
 
cat >>confdefs.h <<_ACEOF
2289
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2290
 
_ACEOF
2291
 
 
2292
 
cat >>confdefs.h <<_ACEOF
2293
 
#define PACKAGE_URL "$PACKAGE_URL"
2294
 
_ACEOF
2295
 
 
2296
 
 
2297
 
# Let the site file select an alternate cache file if it wants to.
2298
 
# Prefer an explicitly selected file to automatically selected ones.
2299
 
ac_site_file1=NONE
2300
 
ac_site_file2=NONE
2301
 
if test -n "$CONFIG_SITE"; then
2302
 
  ac_site_file1=$CONFIG_SITE
2303
 
elif test "x$prefix" != xNONE; then
2304
 
  ac_site_file1=$prefix/share/config.site
2305
 
  ac_site_file2=$prefix/etc/config.site
2306
 
else
2307
 
  ac_site_file1=$ac_default_prefix/share/config.site
2308
 
  ac_site_file2=$ac_default_prefix/etc/config.site
2309
 
fi
2310
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2311
 
do
2312
 
  test "x$ac_site_file" = xNONE && continue
2313
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2314
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2315
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2316
 
    sed 's/^/| /' "$ac_site_file" >&5
2317
 
    . "$ac_site_file"
2318
 
  fi
2319
 
done
2320
 
 
2321
 
if test -r "$cache_file"; then
2322
 
  # Some versions of bash will fail to source /dev/null (special files
2323
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2324
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2325
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2326
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
2327
 
    case $cache_file in
2328
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2329
 
      *)                      . "./$cache_file";;
2330
 
    esac
2331
 
  fi
2332
 
else
2333
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2334
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
2335
 
  >$cache_file
2336
 
fi
2337
 
 
2338
 
# Check that the precious variables saved in the cache have kept the same
2339
 
# value.
2340
 
ac_cache_corrupted=false
2341
 
for ac_var in $ac_precious_vars; do
2342
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2343
 
  eval ac_new_set=\$ac_env_${ac_var}_set
2344
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2345
 
  eval ac_new_val=\$ac_env_${ac_var}_value
2346
 
  case $ac_old_set,$ac_new_set in
2347
 
    set,)
2348
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2349
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2350
 
      ac_cache_corrupted=: ;;
2351
 
    ,set)
2352
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2353
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2354
 
      ac_cache_corrupted=: ;;
2355
 
    ,);;
2356
 
    *)
2357
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2358
 
        # differences in whitespace do not lead to failure.
2359
 
        ac_old_val_w=`echo x $ac_old_val`
2360
 
        ac_new_val_w=`echo x $ac_new_val`
2361
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2362
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2363
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364
 
          ac_cache_corrupted=:
2365
 
        else
2366
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2367
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2368
 
          eval $ac_var=\$ac_old_val
2369
 
        fi
2370
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2371
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2372
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2373
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2374
 
      fi;;
2375
 
  esac
2376
 
  # Pass precious variables to config.status.
2377
 
  if test "$ac_new_set" = set; then
2378
 
    case $ac_new_val in
2379
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2380
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2381
 
    esac
2382
 
    case " $ac_configure_args " in
2383
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2384
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2385
 
    esac
2386
 
  fi
2387
 
done
2388
 
if $ac_cache_corrupted; then
2389
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2390
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2391
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2392
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2393
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2394
 
fi
2395
 
## -------------------- ##
2396
 
## Main body of script. ##
2397
 
## -------------------- ##
2398
 
 
2399
 
ac_ext=c
2400
 
ac_cpp='$CPP $CPPFLAGS'
2401
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2402
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2403
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2404
 
 
2405
 
 
2406
 
 
2407
 
am__api_version='1.11'
2408
 
 
2409
 
ac_aux_dir=
2410
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2411
 
  for ac_t in install-sh install.sh shtool; do
2412
 
    if test -f "$ac_dir/$ac_t"; then
2413
 
      ac_aux_dir=$ac_dir
2414
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2415
 
      break 2
2416
 
    fi
2417
 
  done
2418
 
done
2419
 
if test -z "$ac_aux_dir"; then
2420
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2421
 
fi
2422
 
 
2423
 
# These three variables are undocumented and unsupported,
2424
 
# and are intended to be withdrawn in a future Autoconf release.
2425
 
# They can cause serious problems if a builder's source tree is in a directory
2426
 
# whose full name contains unusual characters.
2427
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2428
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2429
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2430
 
 
2431
 
 
2432
 
# Find a good install program.  We prefer a C program (faster),
2433
 
# so one script is as good as another.  But avoid the broken or
2434
 
# incompatible versions:
2435
 
# SysV /etc/install, /usr/sbin/install
2436
 
# SunOS /usr/etc/install
2437
 
# IRIX /sbin/install
2438
 
# AIX /bin/install
2439
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2440
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2441
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2442
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2443
 
# OS/2's system install, which has a completely different semantic
2444
 
# ./install, which can be erroneously created by make from ./install.sh.
2445
 
# Reject install programs that cannot install multiple files.
2446
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2447
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2448
 
if test -z "$INSTALL"; then
2449
 
if test "${ac_cv_path_install+set}" = set; then :
2450
 
  $as_echo_n "(cached) " >&6
2451
 
else
2452
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453
 
for as_dir in $PATH
2454
 
do
2455
 
  IFS=$as_save_IFS
2456
 
  test -z "$as_dir" && as_dir=.
2457
 
    # Account for people who put trailing slashes in PATH elements.
2458
 
case $as_dir/ in #((
2459
 
  ./ | .// | /[cC]/* | \
2460
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2461
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2462
 
  /usr/ucb/* ) ;;
2463
 
  *)
2464
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2465
 
    # Don't use installbsd from OSF since it installs stuff as root
2466
 
    # by default.
2467
 
    for ac_prog in ginstall scoinst install; do
2468
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2469
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2470
 
          if test $ac_prog = install &&
2471
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2472
 
            # AIX install.  It has an incompatible calling convention.
2473
 
            :
2474
 
          elif test $ac_prog = install &&
2475
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2476
 
            # program-specific install script used by HP pwplus--don't use.
2477
 
            :
2478
 
          else
2479
 
            rm -rf conftest.one conftest.two conftest.dir
2480
 
            echo one > conftest.one
2481
 
            echo two > conftest.two
2482
 
            mkdir conftest.dir
2483
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2484
 
              test -s conftest.one && test -s conftest.two &&
2485
 
              test -s conftest.dir/conftest.one &&
2486
 
              test -s conftest.dir/conftest.two
2487
 
            then
2488
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2489
 
              break 3
2490
 
            fi
2491
 
          fi
2492
 
        fi
2493
 
      done
2494
 
    done
2495
 
    ;;
2496
 
esac
2497
 
 
2498
 
  done
2499
 
IFS=$as_save_IFS
2500
 
 
2501
 
rm -rf conftest.one conftest.two conftest.dir
2502
 
 
2503
 
fi
2504
 
  if test "${ac_cv_path_install+set}" = set; then
2505
 
    INSTALL=$ac_cv_path_install
2506
 
  else
2507
 
    # As a last resort, use the slow shell script.  Don't cache a
2508
 
    # value for INSTALL within a source directory, because that will
2509
 
    # break other packages using the cache if that directory is
2510
 
    # removed, or if the value is a relative name.
2511
 
    INSTALL=$ac_install_sh
2512
 
  fi
2513
 
fi
2514
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2515
 
$as_echo "$INSTALL" >&6; }
2516
 
 
2517
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2518
 
# It thinks the first close brace ends the variable substitution.
2519
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2520
 
 
2521
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2522
 
 
2523
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2524
 
 
2525
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2526
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2527
 
# Just in case
2528
 
sleep 1
2529
 
echo timestamp > conftest.file
2530
 
# Reject unsafe characters in $srcdir or the absolute working directory
2531
 
# name.  Accept space and tab only in the latter.
2532
 
am_lf='
2533
 
'
2534
 
case `pwd` in
2535
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2536
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2537
 
esac
2538
 
case $srcdir in
2539
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2540
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2541
 
esac
2542
 
 
2543
 
# Do `set' in a subshell so we don't clobber the current shell's
2544
 
# arguments.  Must try -L first in case configure is actually a
2545
 
# symlink; some systems play weird games with the mod time of symlinks
2546
 
# (eg FreeBSD returns the mod time of the symlink's containing
2547
 
# directory).
2548
 
if (
2549
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2550
 
   if test "$*" = "X"; then
2551
 
      # -L didn't work.
2552
 
      set X `ls -t "$srcdir/configure" conftest.file`
2553
 
   fi
2554
 
   rm -f conftest.file
2555
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2556
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2557
 
 
2558
 
      # If neither matched, then we have a broken ls.  This can happen
2559
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2560
 
      # broken ls alias from the environment.  This has actually
2561
 
      # happened.  Such a system could not be considered "sane".
2562
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2563
 
alias in your environment" "$LINENO" 5
2564
 
   fi
2565
 
 
2566
 
   test "$2" = conftest.file
2567
 
   )
2568
 
then
2569
 
   # Ok.
2570
 
   :
2571
 
else
2572
 
   as_fn_error "newly created file is older than distributed files!
2573
 
Check your system clock" "$LINENO" 5
2574
 
fi
2575
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2576
 
$as_echo "yes" >&6; }
2577
 
test "$program_prefix" != NONE &&
2578
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2579
 
# Use a double $ so make ignores it.
2580
 
test "$program_suffix" != NONE &&
2581
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2582
 
# Double any \ or $.
2583
 
# By default was `s,x,x', remove it if useless.
2584
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2585
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2586
 
 
2587
 
# expand $ac_aux_dir to an absolute path
2588
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2589
 
 
2590
 
if test x"${MISSING+set}" != xset; then
2591
 
  case $am_aux_dir in
2592
 
  *\ * | *\     *)
2593
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2594
 
  *)
2595
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2596
 
  esac
2597
 
fi
2598
 
# Use eval to expand $SHELL
2599
 
if eval "$MISSING --run true"; then
2600
 
  am_missing_run="$MISSING --run "
2601
 
else
2602
 
  am_missing_run=
2603
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2604
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2605
 
fi
2606
 
 
2607
 
if test x"${install_sh}" != xset; then
2608
 
  case $am_aux_dir in
2609
 
  *\ * | *\     *)
2610
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2611
 
  *)
2612
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2613
 
  esac
2614
 
fi
2615
 
 
2616
 
# Installed binaries are usually stripped using `strip' when the user
2617
 
# run `make install-strip'.  However `strip' might not be the right
2618
 
# tool to use in cross-compilation environments, therefore Automake
2619
 
# will honor the `STRIP' environment variable to overrule this program.
2620
 
if test "$cross_compiling" != no; then
2621
 
  if test -n "$ac_tool_prefix"; then
2622
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2623
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2624
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2625
 
$as_echo_n "checking for $ac_word... " >&6; }
2626
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
2627
 
  $as_echo_n "(cached) " >&6
2628
 
else
2629
 
  if test -n "$STRIP"; then
2630
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2631
 
else
2632
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633
 
for as_dir in $PATH
2634
 
do
2635
 
  IFS=$as_save_IFS
2636
 
  test -z "$as_dir" && as_dir=.
2637
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2638
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2640
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2641
 
    break 2
2642
 
  fi
2643
 
done
2644
 
  done
2645
 
IFS=$as_save_IFS
2646
 
 
2647
 
fi
2648
 
fi
2649
 
STRIP=$ac_cv_prog_STRIP
2650
 
if test -n "$STRIP"; then
2651
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2652
 
$as_echo "$STRIP" >&6; }
2653
 
else
2654
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655
 
$as_echo "no" >&6; }
2656
 
fi
2657
 
 
2658
 
 
2659
 
fi
2660
 
if test -z "$ac_cv_prog_STRIP"; then
2661
 
  ac_ct_STRIP=$STRIP
2662
 
  # Extract the first word of "strip", so it can be a program name with args.
2663
 
set dummy strip; ac_word=$2
2664
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2665
 
$as_echo_n "checking for $ac_word... " >&6; }
2666
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2667
 
  $as_echo_n "(cached) " >&6
2668
 
else
2669
 
  if test -n "$ac_ct_STRIP"; then
2670
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2671
 
else
2672
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673
 
for as_dir in $PATH
2674
 
do
2675
 
  IFS=$as_save_IFS
2676
 
  test -z "$as_dir" && as_dir=.
2677
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2678
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679
 
    ac_cv_prog_ac_ct_STRIP="strip"
2680
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681
 
    break 2
2682
 
  fi
2683
 
done
2684
 
  done
2685
 
IFS=$as_save_IFS
2686
 
 
2687
 
fi
2688
 
fi
2689
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2690
 
if test -n "$ac_ct_STRIP"; then
2691
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2692
 
$as_echo "$ac_ct_STRIP" >&6; }
2693
 
else
2694
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2695
 
$as_echo "no" >&6; }
2696
 
fi
2697
 
 
2698
 
  if test "x$ac_ct_STRIP" = x; then
2699
 
    STRIP=":"
2700
 
  else
2701
 
    case $cross_compiling:$ac_tool_warned in
2702
 
yes:)
2703
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2704
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2705
 
ac_tool_warned=yes ;;
2706
 
esac
2707
 
    STRIP=$ac_ct_STRIP
2708
 
  fi
2709
 
else
2710
 
  STRIP="$ac_cv_prog_STRIP"
2711
 
fi
2712
 
 
2713
 
fi
2714
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2715
 
 
2716
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2717
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2718
 
if test -z "$MKDIR_P"; then
2719
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
2720
 
  $as_echo_n "(cached) " >&6
2721
 
else
2722
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2724
 
do
2725
 
  IFS=$as_save_IFS
2726
 
  test -z "$as_dir" && as_dir=.
2727
 
    for ac_prog in mkdir gmkdir; do
2728
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2729
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2730
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2731
 
             'mkdir (GNU coreutils) '* | \
2732
 
             'mkdir (coreutils) '* | \
2733
 
             'mkdir (fileutils) '4.1*)
2734
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2735
 
               break 3;;
2736
 
           esac
2737
 
         done
2738
 
       done
2739
 
  done
2740
 
IFS=$as_save_IFS
2741
 
 
2742
 
fi
2743
 
 
2744
 
  test -d ./--version && rmdir ./--version
2745
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2746
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2747
 
  else
2748
 
    # As a last resort, use the slow shell script.  Don't cache a
2749
 
    # value for MKDIR_P within a source directory, because that will
2750
 
    # break other packages using the cache if that directory is
2751
 
    # removed, or if the value is a relative name.
2752
 
    MKDIR_P="$ac_install_sh -d"
2753
 
  fi
2754
 
fi
2755
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2756
 
$as_echo "$MKDIR_P" >&6; }
2757
 
 
2758
 
mkdir_p="$MKDIR_P"
2759
 
case $mkdir_p in
2760
 
  [\\/$]* | ?:[\\/]*) ;;
2761
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2762
 
esac
2763
 
 
2764
 
for ac_prog in gawk mawk nawk awk
2765
 
do
2766
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2767
 
set dummy $ac_prog; ac_word=$2
2768
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769
 
$as_echo_n "checking for $ac_word... " >&6; }
2770
 
if test "${ac_cv_prog_AWK+set}" = set; then :
2771
 
  $as_echo_n "(cached) " >&6
2772
 
else
2773
 
  if test -n "$AWK"; then
2774
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2775
 
else
2776
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2777
 
for as_dir in $PATH
2778
 
do
2779
 
  IFS=$as_save_IFS
2780
 
  test -z "$as_dir" && as_dir=.
2781
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2782
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783
 
    ac_cv_prog_AWK="$ac_prog"
2784
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2785
 
    break 2
2786
 
  fi
2787
 
done
2788
 
  done
2789
 
IFS=$as_save_IFS
2790
 
 
2791
 
fi
2792
 
fi
2793
 
AWK=$ac_cv_prog_AWK
2794
 
if test -n "$AWK"; then
2795
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2796
 
$as_echo "$AWK" >&6; }
2797
 
else
2798
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799
 
$as_echo "no" >&6; }
2800
 
fi
2801
 
 
2802
 
 
2803
 
  test -n "$AWK" && break
2804
 
done
2805
 
 
2806
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2807
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2808
 
set x ${MAKE-make}
2809
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2810
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2811
 
  $as_echo_n "(cached) " >&6
2812
 
else
2813
 
  cat >conftest.make <<\_ACEOF
2814
 
SHELL = /bin/sh
2815
 
all:
2816
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2817
 
_ACEOF
2818
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2819
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2820
 
  *@@@%%%=?*=@@@%%%*)
2821
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2822
 
  *)
2823
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2824
 
esac
2825
 
rm -f conftest.make
2826
 
fi
2827
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2828
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2829
 
$as_echo "yes" >&6; }
2830
 
  SET_MAKE=
2831
 
else
2832
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833
 
$as_echo "no" >&6; }
2834
 
  SET_MAKE="MAKE=${MAKE-make}"
2835
 
fi
2836
 
 
2837
 
rm -rf .tst 2>/dev/null
2838
 
mkdir .tst 2>/dev/null
2839
 
if test -d .tst; then
2840
 
  am__leading_dot=.
2841
 
else
2842
 
  am__leading_dot=_
2843
 
fi
2844
 
rmdir .tst 2>/dev/null
2845
 
 
2846
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2847
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2848
 
  # is not polluted with repeated "-I."
2849
 
  am__isrc=' -I$(srcdir)'
2850
 
  # test to see if srcdir already configured
2851
 
  if test -f $srcdir/config.status; then
2852
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2853
 
  fi
2854
 
fi
2855
 
 
2856
 
# test whether we have cygpath
2857
 
if test -z "$CYGPATH_W"; then
2858
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2859
 
    CYGPATH_W='cygpath -w'
2860
 
  else
2861
 
    CYGPATH_W=echo
2862
 
  fi
2863
 
fi
2864
 
 
2865
 
 
2866
 
# Define the identity of the package.
2867
 
 PACKAGE='aptitude'
2868
 
 VERSION='0.6.3'
2869
 
 
2870
 
 
2871
 
cat >>confdefs.h <<_ACEOF
2872
 
#define PACKAGE "$PACKAGE"
2873
 
_ACEOF
2874
 
 
2875
 
 
2876
 
cat >>confdefs.h <<_ACEOF
2877
 
#define VERSION "$VERSION"
2878
 
_ACEOF
2879
 
 
2880
 
# Some tools Automake needs.
2881
 
 
2882
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2883
 
 
2884
 
 
2885
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2886
 
 
2887
 
 
2888
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2889
 
 
2890
 
 
2891
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2892
 
 
2893
 
 
2894
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2895
 
 
2896
 
# We need awk for the "check" target.  The system "awk" is bad on
2897
 
# some platforms.
2898
 
# Always define AMTAR for backward compatibility.
2899
 
 
2900
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2901
 
 
2902
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2903
 
 
2904
 
 
2905
 
 
2906
 
 
2907
 
 
2908
 
ac_config_headers="$ac_config_headers config.h"
2909
 
 
2910
 
 
2911
 
ac_ext=cpp
2912
 
ac_cpp='$CXXCPP $CPPFLAGS'
2913
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2916
 
 
2917
 
 
2918
 
ac_ext=cpp
2919
 
ac_cpp='$CXXCPP $CPPFLAGS'
2920
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2921
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2922
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2923
 
if test -z "$CXX"; then
2924
 
  if test -n "$CCC"; then
2925
 
    CXX=$CCC
2926
 
  else
2927
 
    if test -n "$ac_tool_prefix"; then
2928
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2929
 
  do
2930
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2931
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2932
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933
 
$as_echo_n "checking for $ac_word... " >&6; }
2934
 
if test "${ac_cv_prog_CXX+set}" = set; then :
2935
 
  $as_echo_n "(cached) " >&6
2936
 
else
2937
 
  if test -n "$CXX"; then
2938
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2939
 
else
2940
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941
 
for as_dir in $PATH
2942
 
do
2943
 
  IFS=$as_save_IFS
2944
 
  test -z "$as_dir" && as_dir=.
2945
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2946
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2948
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949
 
    break 2
2950
 
  fi
2951
 
done
2952
 
  done
2953
 
IFS=$as_save_IFS
2954
 
 
2955
 
fi
2956
 
fi
2957
 
CXX=$ac_cv_prog_CXX
2958
 
if test -n "$CXX"; then
2959
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2960
 
$as_echo "$CXX" >&6; }
2961
 
else
2962
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963
 
$as_echo "no" >&6; }
2964
 
fi
2965
 
 
2966
 
 
2967
 
    test -n "$CXX" && break
2968
 
  done
2969
 
fi
2970
 
if test -z "$CXX"; then
2971
 
  ac_ct_CXX=$CXX
2972
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2973
 
do
2974
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2975
 
set dummy $ac_prog; ac_word=$2
2976
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977
 
$as_echo_n "checking for $ac_word... " >&6; }
2978
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2979
 
  $as_echo_n "(cached) " >&6
2980
 
else
2981
 
  if test -n "$ac_ct_CXX"; then
2982
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2983
 
else
2984
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985
 
for as_dir in $PATH
2986
 
do
2987
 
  IFS=$as_save_IFS
2988
 
  test -z "$as_dir" && as_dir=.
2989
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2990
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2991
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2992
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2993
 
    break 2
2994
 
  fi
2995
 
done
2996
 
  done
2997
 
IFS=$as_save_IFS
2998
 
 
2999
 
fi
3000
 
fi
3001
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3002
 
if test -n "$ac_ct_CXX"; then
3003
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3004
 
$as_echo "$ac_ct_CXX" >&6; }
3005
 
else
3006
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007
 
$as_echo "no" >&6; }
3008
 
fi
3009
 
 
3010
 
 
3011
 
  test -n "$ac_ct_CXX" && break
3012
 
done
3013
 
 
3014
 
  if test "x$ac_ct_CXX" = x; then
3015
 
    CXX="g++"
3016
 
  else
3017
 
    case $cross_compiling:$ac_tool_warned in
3018
 
yes:)
3019
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3020
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3021
 
ac_tool_warned=yes ;;
3022
 
esac
3023
 
    CXX=$ac_ct_CXX
3024
 
  fi
3025
 
fi
3026
 
 
3027
 
  fi
3028
 
fi
3029
 
# Provide some information about the compiler.
3030
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3031
 
set X $ac_compile
3032
 
ac_compiler=$2
3033
 
for ac_option in --version -v -V -qversion; do
3034
 
  { { ac_try="$ac_compiler $ac_option >&5"
3035
 
case "(($ac_try" in
3036
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037
 
  *) ac_try_echo=$ac_try;;
3038
 
esac
3039
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040
 
$as_echo "$ac_try_echo"; } >&5
3041
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3042
 
  ac_status=$?
3043
 
  if test -s conftest.err; then
3044
 
    sed '10a\
3045
 
... rest of stderr output deleted ...
3046
 
         10q' conftest.err >conftest.er1
3047
 
    cat conftest.er1 >&5
3048
 
  fi
3049
 
  rm -f conftest.er1 conftest.err
3050
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051
 
  test $ac_status = 0; }
3052
 
done
3053
 
 
3054
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055
 
/* end confdefs.h.  */
3056
 
 
3057
 
int
3058
 
main ()
3059
 
{
3060
 
 
3061
 
  ;
3062
 
  return 0;
3063
 
}
3064
 
_ACEOF
3065
 
ac_clean_files_save=$ac_clean_files
3066
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3067
 
# Try to create an executable without -o first, disregard a.out.
3068
 
# It will help us diagnose broken compilers, and finding out an intuition
3069
 
# of exeext.
3070
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3071
 
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3072
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3073
 
 
3074
 
# The possible output files:
3075
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3076
 
 
3077
 
ac_rmfiles=
3078
 
for ac_file in $ac_files
3079
 
do
3080
 
  case $ac_file in
3081
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3082
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3083
 
  esac
3084
 
done
3085
 
rm -f $ac_rmfiles
3086
 
 
3087
 
if { { ac_try="$ac_link_default"
3088
 
case "(($ac_try" in
3089
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090
 
  *) ac_try_echo=$ac_try;;
3091
 
esac
3092
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093
 
$as_echo "$ac_try_echo"; } >&5
3094
 
  (eval "$ac_link_default") 2>&5
3095
 
  ac_status=$?
3096
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097
 
  test $ac_status = 0; }; then :
3098
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3099
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3100
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3101
 
# so that the user can short-circuit this test for compilers unknown to
3102
 
# Autoconf.
3103
 
for ac_file in $ac_files ''
3104
 
do
3105
 
  test -f "$ac_file" || continue
3106
 
  case $ac_file in
3107
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3108
 
        ;;
3109
 
    [ab].out )
3110
 
        # We found the default executable, but exeext='' is most
3111
 
        # certainly right.
3112
 
        break;;
3113
 
    *.* )
3114
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3115
 
        then :; else
3116
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3117
 
        fi
3118
 
        # We set ac_cv_exeext here because the later test for it is not
3119
 
        # safe: cross compilers may not add the suffix if given an `-o'
3120
 
        # argument, so we may need to know it at that point already.
3121
 
        # Even if this section looks crufty: it has the advantage of
3122
 
        # actually working.
3123
 
        break;;
3124
 
    * )
3125
 
        break;;
3126
 
  esac
3127
 
done
3128
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3129
 
 
3130
 
else
3131
 
  ac_file=''
3132
 
fi
3133
 
if test -z "$ac_file"; then :
3134
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135
 
$as_echo "no" >&6; }
3136
 
$as_echo "$as_me: failed program was:" >&5
3137
 
sed 's/^/| /' conftest.$ac_ext >&5
3138
 
 
3139
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141
 
{ as_fn_set_status 77
3142
 
as_fn_error "C++ compiler cannot create executables
3143
 
See \`config.log' for more details." "$LINENO" 5; }; }
3144
 
else
3145
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3146
 
$as_echo "yes" >&6; }
3147
 
fi
3148
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3149
 
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3150
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3151
 
$as_echo "$ac_file" >&6; }
3152
 
ac_exeext=$ac_cv_exeext
3153
 
 
3154
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3155
 
ac_clean_files=$ac_clean_files_save
3156
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3157
 
$as_echo_n "checking for suffix of executables... " >&6; }
3158
 
if { { ac_try="$ac_link"
3159
 
case "(($ac_try" in
3160
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161
 
  *) ac_try_echo=$ac_try;;
3162
 
esac
3163
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164
 
$as_echo "$ac_try_echo"; } >&5
3165
 
  (eval "$ac_link") 2>&5
3166
 
  ac_status=$?
3167
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168
 
  test $ac_status = 0; }; then :
3169
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3170
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3171
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3172
 
# `rm'.
3173
 
for ac_file in conftest.exe conftest conftest.*; do
3174
 
  test -f "$ac_file" || continue
3175
 
  case $ac_file in
3176
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3177
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3178
 
          break;;
3179
 
    * ) break;;
3180
 
  esac
3181
 
done
3182
 
else
3183
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3186
 
See \`config.log' for more details." "$LINENO" 5; }
3187
 
fi
3188
 
rm -f conftest conftest$ac_cv_exeext
3189
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3190
 
$as_echo "$ac_cv_exeext" >&6; }
3191
 
 
3192
 
rm -f conftest.$ac_ext
3193
 
EXEEXT=$ac_cv_exeext
3194
 
ac_exeext=$EXEEXT
3195
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196
 
/* end confdefs.h.  */
3197
 
#include <stdio.h>
3198
 
int
3199
 
main ()
3200
 
{
3201
 
FILE *f = fopen ("conftest.out", "w");
3202
 
 return ferror (f) || fclose (f) != 0;
3203
 
 
3204
 
  ;
3205
 
  return 0;
3206
 
}
3207
 
_ACEOF
3208
 
ac_clean_files="$ac_clean_files conftest.out"
3209
 
# Check that the compiler produces executables we can run.  If not, either
3210
 
# the compiler is broken, or we cross compile.
3211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3212
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3213
 
if test "$cross_compiling" != yes; then
3214
 
  { { ac_try="$ac_link"
3215
 
case "(($ac_try" in
3216
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217
 
  *) ac_try_echo=$ac_try;;
3218
 
esac
3219
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220
 
$as_echo "$ac_try_echo"; } >&5
3221
 
  (eval "$ac_link") 2>&5
3222
 
  ac_status=$?
3223
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224
 
  test $ac_status = 0; }
3225
 
  if { ac_try='./conftest$ac_cv_exeext'
3226
 
  { { case "(($ac_try" in
3227
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228
 
  *) ac_try_echo=$ac_try;;
3229
 
esac
3230
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231
 
$as_echo "$ac_try_echo"; } >&5
3232
 
  (eval "$ac_try") 2>&5
3233
 
  ac_status=$?
3234
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235
 
  test $ac_status = 0; }; }; then
3236
 
    cross_compiling=no
3237
 
  else
3238
 
    if test "$cross_compiling" = maybe; then
3239
 
        cross_compiling=yes
3240
 
    else
3241
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243
 
as_fn_error "cannot run C++ compiled programs.
3244
 
If you meant to cross compile, use \`--host'.
3245
 
See \`config.log' for more details." "$LINENO" 5; }
3246
 
    fi
3247
 
  fi
3248
 
fi
3249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3250
 
$as_echo "$cross_compiling" >&6; }
3251
 
 
3252
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3253
 
ac_clean_files=$ac_clean_files_save
3254
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3255
 
$as_echo_n "checking for suffix of object files... " >&6; }
3256
 
if test "${ac_cv_objext+set}" = set; then :
3257
 
  $as_echo_n "(cached) " >&6
3258
 
else
3259
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260
 
/* end confdefs.h.  */
3261
 
 
3262
 
int
3263
 
main ()
3264
 
{
3265
 
 
3266
 
  ;
3267
 
  return 0;
3268
 
}
3269
 
_ACEOF
3270
 
rm -f conftest.o conftest.obj
3271
 
if { { ac_try="$ac_compile"
3272
 
case "(($ac_try" in
3273
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274
 
  *) ac_try_echo=$ac_try;;
3275
 
esac
3276
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277
 
$as_echo "$ac_try_echo"; } >&5
3278
 
  (eval "$ac_compile") 2>&5
3279
 
  ac_status=$?
3280
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281
 
  test $ac_status = 0; }; then :
3282
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3283
 
  test -f "$ac_file" || continue;
3284
 
  case $ac_file in
3285
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3286
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3287
 
       break;;
3288
 
  esac
3289
 
done
3290
 
else
3291
 
  $as_echo "$as_me: failed program was:" >&5
3292
 
sed 's/^/| /' conftest.$ac_ext >&5
3293
 
 
3294
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296
 
as_fn_error "cannot compute suffix of object files: cannot compile
3297
 
See \`config.log' for more details." "$LINENO" 5; }
3298
 
fi
3299
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3300
 
fi
3301
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3302
 
$as_echo "$ac_cv_objext" >&6; }
3303
 
OBJEXT=$ac_cv_objext
3304
 
ac_objext=$OBJEXT
3305
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3306
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3307
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3308
 
  $as_echo_n "(cached) " >&6
3309
 
else
3310
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311
 
/* end confdefs.h.  */
3312
 
 
3313
 
int
3314
 
main ()
3315
 
{
3316
 
#ifndef __GNUC__
3317
 
       choke me
3318
 
#endif
3319
 
 
3320
 
  ;
3321
 
  return 0;
3322
 
}
3323
 
_ACEOF
3324
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3325
 
  ac_compiler_gnu=yes
3326
 
else
3327
 
  ac_compiler_gnu=no
3328
 
fi
3329
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3331
 
 
3332
 
fi
3333
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3334
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3335
 
if test $ac_compiler_gnu = yes; then
3336
 
  GXX=yes
3337
 
else
3338
 
  GXX=
3339
 
fi
3340
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
3341
 
ac_save_CXXFLAGS=$CXXFLAGS
3342
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3343
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3345
 
  $as_echo_n "(cached) " >&6
3346
 
else
3347
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3348
 
   ac_cxx_werror_flag=yes
3349
 
   ac_cv_prog_cxx_g=no
3350
 
   CXXFLAGS="-g"
3351
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352
 
/* end confdefs.h.  */
3353
 
 
3354
 
int
3355
 
main ()
3356
 
{
3357
 
 
3358
 
  ;
3359
 
  return 0;
3360
 
}
3361
 
_ACEOF
3362
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3363
 
  ac_cv_prog_cxx_g=yes
3364
 
else
3365
 
  CXXFLAGS=""
3366
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367
 
/* end confdefs.h.  */
3368
 
 
3369
 
int
3370
 
main ()
3371
 
{
3372
 
 
3373
 
  ;
3374
 
  return 0;
3375
 
}
3376
 
_ACEOF
3377
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3378
 
 
3379
 
else
3380
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3381
 
         CXXFLAGS="-g"
3382
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383
 
/* end confdefs.h.  */
3384
 
 
3385
 
int
3386
 
main ()
3387
 
{
3388
 
 
3389
 
  ;
3390
 
  return 0;
3391
 
}
3392
 
_ACEOF
3393
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3394
 
  ac_cv_prog_cxx_g=yes
3395
 
fi
3396
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397
 
fi
3398
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3399
 
fi
3400
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3402
 
fi
3403
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3404
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3405
 
if test "$ac_test_CXXFLAGS" = set; then
3406
 
  CXXFLAGS=$ac_save_CXXFLAGS
3407
 
elif test $ac_cv_prog_cxx_g = yes; then
3408
 
  if test "$GXX" = yes; then
3409
 
    CXXFLAGS="-g -O2"
3410
 
  else
3411
 
    CXXFLAGS="-g"
3412
 
  fi
3413
 
else
3414
 
  if test "$GXX" = yes; then
3415
 
    CXXFLAGS="-O2"
3416
 
  else
3417
 
    CXXFLAGS=
3418
 
  fi
3419
 
fi
3420
 
ac_ext=cpp
3421
 
ac_cpp='$CXXCPP $CPPFLAGS'
3422
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3425
 
DEPDIR="${am__leading_dot}deps"
3426
 
 
3427
 
ac_config_commands="$ac_config_commands depfiles"
3428
 
 
3429
 
 
3430
 
am_make=${MAKE-make}
3431
 
cat > confinc << 'END'
3432
 
am__doit:
3433
 
        @echo this is the am__doit target
3434
 
.PHONY: am__doit
3435
 
END
3436
 
# If we don't find an include directive, just comment out the code.
3437
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3438
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3439
 
am__include="#"
3440
 
am__quote=
3441
 
_am_result=none
3442
 
# First try GNU make style include.
3443
 
echo "include confinc" > confmf
3444
 
# Ignore all kinds of additional output from `make'.
3445
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3446
 
*the\ am__doit\ target*)
3447
 
  am__include=include
3448
 
  am__quote=
3449
 
  _am_result=GNU
3450
 
  ;;
3451
 
esac
3452
 
# Now try BSD make style include.
3453
 
if test "$am__include" = "#"; then
3454
 
   echo '.include "confinc"' > confmf
3455
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3456
 
   *the\ am__doit\ target*)
3457
 
     am__include=.include
3458
 
     am__quote="\""
3459
 
     _am_result=BSD
3460
 
     ;;
3461
 
   esac
3462
 
fi
3463
 
 
3464
 
 
3465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3466
 
$as_echo "$_am_result" >&6; }
3467
 
rm -f confinc confmf
3468
 
 
3469
 
# Check whether --enable-dependency-tracking was given.
3470
 
if test "${enable_dependency_tracking+set}" = set; then :
3471
 
  enableval=$enable_dependency_tracking;
3472
 
fi
3473
 
 
3474
 
if test "x$enable_dependency_tracking" != xno; then
3475
 
  am_depcomp="$ac_aux_dir/depcomp"
3476
 
  AMDEPBACKSLASH='\'
3477
 
fi
3478
 
 if test "x$enable_dependency_tracking" != xno; then
3479
 
  AMDEP_TRUE=
3480
 
  AMDEP_FALSE='#'
3481
 
else
3482
 
  AMDEP_TRUE='#'
3483
 
  AMDEP_FALSE=
3484
 
fi
3485
 
 
3486
 
 
3487
 
 
3488
 
depcc="$CXX"  am_compiler_list=
3489
 
 
3490
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3491
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3492
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3493
 
  $as_echo_n "(cached) " >&6
3494
 
else
3495
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3496
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3497
 
  # making bogus files that we don't know about and never remove.  For
3498
 
  # instance it was reported that on HP-UX the gcc test will end up
3499
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3500
 
  # in D'.
3501
 
  mkdir conftest.dir
3502
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3503
 
  # using a relative directory.
3504
 
  cp "$am_depcomp" conftest.dir
3505
 
  cd conftest.dir
3506
 
  # We will build objects and dependencies in a subdirectory because
3507
 
  # it helps to detect inapplicable dependency modes.  For instance
3508
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3509
 
  # side effect of compilation, but ICC will put the dependencies in
3510
 
  # the current directory while Tru64 will put them in the object
3511
 
  # directory.
3512
 
  mkdir sub
3513
 
 
3514
 
  am_cv_CXX_dependencies_compiler_type=none
3515
 
  if test "$am_compiler_list" = ""; then
3516
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3517
 
  fi
3518
 
  am__universal=false
3519
 
  case " $depcc " in #(
3520
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3521
 
     esac
3522
 
 
3523
 
  for depmode in $am_compiler_list; do
3524
 
    # Setup a source with many dependencies, because some compilers
3525
 
    # like to wrap large dependency lists on column 80 (with \), and
3526
 
    # we should not choose a depcomp mode which is confused by this.
3527
 
    #
3528
 
    # We need to recreate these files for each test, as the compiler may
3529
 
    # overwrite some of them when testing with obscure command lines.
3530
 
    # This happens at least with the AIX C compiler.
3531
 
    : > sub/conftest.c
3532
 
    for i in 1 2 3 4 5 6; do
3533
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3534
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3535
 
      # Solaris 8's {/usr,}/bin/sh.
3536
 
      touch sub/conftst$i.h
3537
 
    done
3538
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3539
 
 
3540
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3541
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3542
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3543
 
    # versions had trouble with output in subdirs
3544
 
    am__obj=sub/conftest.${OBJEXT-o}
3545
 
    am__minus_obj="-o $am__obj"
3546
 
    case $depmode in
3547
 
    gcc)
3548
 
      # This depmode causes a compiler race in universal mode.
3549
 
      test "$am__universal" = false || continue
3550
 
      ;;
3551
 
    nosideeffect)
3552
 
      # after this tag, mechanisms are not by side-effect, so they'll
3553
 
      # only be used when explicitly requested
3554
 
      if test "x$enable_dependency_tracking" = xyes; then
3555
 
        continue
3556
 
      else
3557
 
        break
3558
 
      fi
3559
 
      ;;
3560
 
    msvisualcpp | msvcmsys)
3561
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3562
 
      # not run yet.  These depmodes are late enough in the game, and
3563
 
      # so weak that their functioning should not be impacted.
3564
 
      am__obj=conftest.${OBJEXT-o}
3565
 
      am__minus_obj=
3566
 
      ;;
3567
 
    none) break ;;
3568
 
    esac
3569
 
    if depmode=$depmode \
3570
 
       source=sub/conftest.c object=$am__obj \
3571
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3572
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3573
 
         >/dev/null 2>conftest.err &&
3574
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3575
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3576
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3577
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3578
 
      # icc doesn't choke on unknown options, it will just issue warnings
3579
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3580
 
      # that says an option was ignored or not supported.
3581
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3582
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3583
 
      # The diagnosis changed in icc 8.0:
3584
 
      #   icc: Command line remark: option '-MP' not supported
3585
 
      if (grep 'ignoring option' conftest.err ||
3586
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3587
 
        am_cv_CXX_dependencies_compiler_type=$depmode
3588
 
        break
3589
 
      fi
3590
 
    fi
3591
 
  done
3592
 
 
3593
 
  cd ..
3594
 
  rm -rf conftest.dir
3595
 
else
3596
 
  am_cv_CXX_dependencies_compiler_type=none
3597
 
fi
3598
 
 
3599
 
fi
3600
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3601
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3602
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3603
 
 
3604
 
 if
3605
 
  test "x$enable_dependency_tracking" != xno \
3606
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3607
 
  am__fastdepCXX_TRUE=
3608
 
  am__fastdepCXX_FALSE='#'
3609
 
else
3610
 
  am__fastdepCXX_TRUE='#'
3611
 
  am__fastdepCXX_FALSE=
3612
 
fi
3613
 
 
3614
 
 
3615
 
if test -n "$ac_tool_prefix"; then
3616
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3617
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3618
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619
 
$as_echo_n "checking for $ac_word... " >&6; }
3620
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
3621
 
  $as_echo_n "(cached) " >&6
3622
 
else
3623
 
  if test -n "$RANLIB"; then
3624
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3625
 
else
3626
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3627
 
for as_dir in $PATH
3628
 
do
3629
 
  IFS=$as_save_IFS
3630
 
  test -z "$as_dir" && as_dir=.
3631
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3632
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3634
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635
 
    break 2
3636
 
  fi
3637
 
done
3638
 
  done
3639
 
IFS=$as_save_IFS
3640
 
 
3641
 
fi
3642
 
fi
3643
 
RANLIB=$ac_cv_prog_RANLIB
3644
 
if test -n "$RANLIB"; then
3645
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3646
 
$as_echo "$RANLIB" >&6; }
3647
 
else
3648
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649
 
$as_echo "no" >&6; }
3650
 
fi
3651
 
 
3652
 
 
3653
 
fi
3654
 
if test -z "$ac_cv_prog_RANLIB"; then
3655
 
  ac_ct_RANLIB=$RANLIB
3656
 
  # Extract the first word of "ranlib", so it can be a program name with args.
3657
 
set dummy ranlib; ac_word=$2
3658
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659
 
$as_echo_n "checking for $ac_word... " >&6; }
3660
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3661
 
  $as_echo_n "(cached) " >&6
3662
 
else
3663
 
  if test -n "$ac_ct_RANLIB"; then
3664
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3665
 
else
3666
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667
 
for as_dir in $PATH
3668
 
do
3669
 
  IFS=$as_save_IFS
3670
 
  test -z "$as_dir" && as_dir=.
3671
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3672
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3674
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675
 
    break 2
3676
 
  fi
3677
 
done
3678
 
  done
3679
 
IFS=$as_save_IFS
3680
 
 
3681
 
fi
3682
 
fi
3683
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3684
 
if test -n "$ac_ct_RANLIB"; then
3685
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3686
 
$as_echo "$ac_ct_RANLIB" >&6; }
3687
 
else
3688
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689
 
$as_echo "no" >&6; }
3690
 
fi
3691
 
 
3692
 
  if test "x$ac_ct_RANLIB" = x; then
3693
 
    RANLIB=":"
3694
 
  else
3695
 
    case $cross_compiling:$ac_tool_warned in
3696
 
yes:)
3697
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699
 
ac_tool_warned=yes ;;
3700
 
esac
3701
 
    RANLIB=$ac_ct_RANLIB
3702
 
  fi
3703
 
else
3704
 
  RANLIB="$ac_cv_prog_RANLIB"
3705
 
fi
3706
 
 
3707
 
# Extract the first word of "po4a", so it can be a program name with args.
3708
 
set dummy po4a; ac_word=$2
3709
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710
 
$as_echo_n "checking for $ac_word... " >&6; }
3711
 
if test "${ac_cv_path_PO4A+set}" = set; then :
3712
 
  $as_echo_n "(cached) " >&6
3713
 
else
3714
 
  case $PO4A in
3715
 
  [\\/]* | ?:[\\/]*)
3716
 
  ac_cv_path_PO4A="$PO4A" # Let the user override the test with a path.
3717
 
  ;;
3718
 
  *)
3719
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720
 
for as_dir in $PATH
3721
 
do
3722
 
  IFS=$as_save_IFS
3723
 
  test -z "$as_dir" && as_dir=.
3724
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3725
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726
 
    ac_cv_path_PO4A="$as_dir/$ac_word$ac_exec_ext"
3727
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728
 
    break 2
3729
 
  fi
3730
 
done
3731
 
  done
3732
 
IFS=$as_save_IFS
3733
 
 
3734
 
  ;;
3735
 
esac
3736
 
fi
3737
 
PO4A=$ac_cv_path_PO4A
3738
 
if test -n "$PO4A"; then
3739
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PO4A" >&5
3740
 
$as_echo "$PO4A" >&6; }
3741
 
else
3742
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743
 
$as_echo "no" >&6; }
3744
 
fi
3745
 
 
3746
 
 
3747
 
if test "x$PO4A" = "x" ; then
3748
 
   if false; then
3749
 
  USE_PO4A_TRUE=
3750
 
  USE_PO4A_FALSE='#'
3751
 
else
3752
 
  USE_PO4A_TRUE='#'
3753
 
  USE_PO4A_FALSE=
3754
 
fi
3755
 
 
3756
 
else
3757
 
   if true; then
3758
 
  USE_PO4A_TRUE=
3759
 
  USE_PO4A_FALSE='#'
3760
 
else
3761
 
  USE_PO4A_TRUE='#'
3762
 
  USE_PO4A_FALSE=
3763
 
fi
3764
 
 
3765
 
fi
3766
 
 
3767
 
ac_cv_c_const=yes
3768
 
ac_cv_c_inline=yes
3769
 
 
3770
 
 
3771
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
3772
 
$as_echo_n "checking for initscr in -lncursesw... " >&6; }
3773
 
if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then :
3774
 
  $as_echo_n "(cached) " >&6
3775
 
else
3776
 
  ac_check_lib_save_LIBS=$LIBS
3777
 
LIBS="-lncursesw  $LIBS"
3778
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779
 
/* end confdefs.h.  */
3780
 
 
3781
 
/* Override any GCC internal prototype to avoid an error.
3782
 
   Use char because int might match the return type of a GCC
3783
 
   builtin and then its argument prototype would still apply.  */
3784
 
#ifdef __cplusplus
3785
 
extern "C"
3786
 
#endif
3787
 
char initscr ();
3788
 
int
3789
 
main ()
3790
 
{
3791
 
return initscr ();
3792
 
  ;
3793
 
  return 0;
3794
 
}
3795
 
_ACEOF
3796
 
if ac_fn_cxx_try_link "$LINENO"; then :
3797
 
  ac_cv_lib_ncursesw_initscr=yes
3798
 
else
3799
 
  ac_cv_lib_ncursesw_initscr=no
3800
 
fi
3801
 
rm -f core conftest.err conftest.$ac_objext \
3802
 
    conftest$ac_exeext conftest.$ac_ext
3803
 
LIBS=$ac_check_lib_save_LIBS
3804
 
fi
3805
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
3806
 
$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
3807
 
if test "x$ac_cv_lib_ncursesw_initscr" = x""yes; then :
3808
 
  cat >>confdefs.h <<_ACEOF
3809
 
#define HAVE_LIBNCURSESW 1
3810
 
_ACEOF
3811
 
 
3812
 
  LIBS="-lncursesw $LIBS"
3813
 
 
3814
 
else
3815
 
  as_fn_error "Can't find libncursesw -- please install libncursesw5-dev" "$LINENO" 5
3816
 
fi
3817
 
 
3818
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lapt-pkg" >&5
3819
 
$as_echo_n "checking for main in -lapt-pkg... " >&6; }
3820
 
if test "${ac_cv_lib_apt_pkg_main+set}" = set; then :
3821
 
  $as_echo_n "(cached) " >&6
3822
 
else
3823
 
  ac_check_lib_save_LIBS=$LIBS
3824
 
LIBS="-lapt-pkg  $LIBS"
3825
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826
 
/* end confdefs.h.  */
3827
 
 
3828
 
 
3829
 
int
3830
 
main ()
3831
 
{
3832
 
return main ();
3833
 
  ;
3834
 
  return 0;
3835
 
}
3836
 
_ACEOF
3837
 
if ac_fn_cxx_try_link "$LINENO"; then :
3838
 
  ac_cv_lib_apt_pkg_main=yes
3839
 
else
3840
 
  ac_cv_lib_apt_pkg_main=no
3841
 
fi
3842
 
rm -f core conftest.err conftest.$ac_objext \
3843
 
    conftest$ac_exeext conftest.$ac_ext
3844
 
LIBS=$ac_check_lib_save_LIBS
3845
 
fi
3846
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apt_pkg_main" >&5
3847
 
$as_echo "$ac_cv_lib_apt_pkg_main" >&6; }
3848
 
if test "x$ac_cv_lib_apt_pkg_main" = x""yes; then :
3849
 
  cat >>confdefs.h <<_ACEOF
3850
 
#define HAVE_LIBAPT_PKG 1
3851
 
_ACEOF
3852
 
 
3853
 
  LIBS="-lapt-pkg $LIBS"
3854
 
 
3855
 
else
3856
 
  as_fn_error "Can't find the APT libraries -- please install libapt-pkg-dev" "$LINENO" 5
3857
 
fi
3858
 
 
3859
 
 
3860
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt includes the automatic dependency removal patch (required)" >&5
3861
 
$as_echo_n "checking whether apt includes the automatic dependency removal patch (required)... " >&6; }
3862
 
 
3863
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864
 
/* end confdefs.h.  */
3865
 
#include <apt-pkg/depcache.h>
3866
 
int
3867
 
main ()
3868
 
{
3869
 
extern pkgDepCache::ActionGroup d;
3870
 
  ;
3871
 
  return 0;
3872
 
}
3873
 
_ACEOF
3874
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3875
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3876
 
$as_echo "yes" >&6; }
3877
 
else
3878
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3879
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3880
 
as_fn_error "need libapt-pkg 0.7 or later
3881
 
See \`config.log' for more details." "$LINENO" 5; }
3882
 
fi
3883
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884
 
 
3885
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
3886
 
$as_echo_n "checking for main in -lpthread... " >&6; }
3887
 
if test "${ac_cv_lib_pthread_main+set}" = set; then :
3888
 
  $as_echo_n "(cached) " >&6
3889
 
else
3890
 
  ac_check_lib_save_LIBS=$LIBS
3891
 
LIBS="-lpthread  $LIBS"
3892
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893
 
/* end confdefs.h.  */
3894
 
 
3895
 
 
3896
 
int
3897
 
main ()
3898
 
{
3899
 
return main ();
3900
 
  ;
3901
 
  return 0;
3902
 
}
3903
 
_ACEOF
3904
 
if ac_fn_cxx_try_link "$LINENO"; then :
3905
 
  ac_cv_lib_pthread_main=yes
3906
 
else
3907
 
  ac_cv_lib_pthread_main=no
3908
 
fi
3909
 
rm -f core conftest.err conftest.$ac_objext \
3910
 
    conftest$ac_exeext conftest.$ac_ext
3911
 
LIBS=$ac_check_lib_save_LIBS
3912
 
fi
3913
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_main" >&5
3914
 
$as_echo "$ac_cv_lib_pthread_main" >&6; }
3915
 
if test "x$ac_cv_lib_pthread_main" = x""yes; then :
3916
 
  HAVE_LIBPTHREAD=1
3917
 
 
3918
 
else
3919
 
  as_fn_error "Can't find the POSIX thread libraries" "$LINENO" 5
3920
 
fi
3921
 
 
3922
 
 
3923
 
ALL_LINGUAS="ar ast bs ca cs da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sv th tl tr uk vi zh_CN zh_TW"
3924
 
 
3925
 
 
3926
 
        MKINSTALLDIRS=
3927
 
  if test -n "$ac_aux_dir"; then
3928
 
    case "$ac_aux_dir" in
3929
 
      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3930
 
      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3931
 
    esac
3932
 
  fi
3933
 
  if test -z "$MKINSTALLDIRS"; then
3934
 
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3935
 
  fi
3936
 
 
3937
 
 
3938
 
 
3939
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3940
 
$as_echo_n "checking whether NLS is requested... " >&6; }
3941
 
    # Check whether --enable-nls was given.
3942
 
if test "${enable_nls+set}" = set; then :
3943
 
  enableval=$enable_nls; USE_NLS=$enableval
3944
 
else
3945
 
  USE_NLS=yes
3946
 
fi
3947
 
 
3948
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3949
 
$as_echo "$USE_NLS" >&6; }
3950
 
 
3951
 
 
3952
 
 
3953
 
 
3954
 
 
3955
 
 
3956
 
# Prepare PATH_SEPARATOR.
3957
 
# The user is always right.
3958
 
if test "${PATH_SEPARATOR+set}" != set; then
3959
 
  echo "#! /bin/sh" >conf$$.sh
3960
 
  echo  "exit 0"   >>conf$$.sh
3961
 
  chmod +x conf$$.sh
3962
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3963
 
    PATH_SEPARATOR=';'
3964
 
  else
3965
 
    PATH_SEPARATOR=:
3966
 
  fi
3967
 
  rm -f conf$$.sh
3968
 
fi
3969
 
 
3970
 
# Find out how to test for executable files. Don't use a zero-byte file,
3971
 
# as systems may use methods other than mode bits to determine executability.
3972
 
cat >conf$$.file <<_ASEOF
3973
 
#! /bin/sh
3974
 
exit 0
3975
 
_ASEOF
3976
 
chmod +x conf$$.file
3977
 
if test -x conf$$.file >/dev/null 2>&1; then
3978
 
  ac_executable_p="test -x"
3979
 
else
3980
 
  ac_executable_p="test -f"
3981
 
fi
3982
 
rm -f conf$$.file
3983
 
 
3984
 
# Extract the first word of "msgfmt", so it can be a program name with args.
3985
 
set dummy msgfmt; ac_word=$2
3986
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987
 
$as_echo_n "checking for $ac_word... " >&6; }
3988
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
3989
 
  $as_echo_n "(cached) " >&6
3990
 
else
3991
 
  case "$MSGFMT" in
3992
 
  [\\/]* | ?:[\\/]*)
3993
 
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3994
 
    ;;
3995
 
  *)
3996
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3997
 
    for ac_dir in $PATH; do
3998
 
      IFS="$ac_save_IFS"
3999
 
      test -z "$ac_dir" && ac_dir=.
4000
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4001
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4002
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
4003
 
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4004
 
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4005
 
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4006
 
            break 2
4007
 
          fi
4008
 
        fi
4009
 
      done
4010
 
    done
4011
 
    IFS="$ac_save_IFS"
4012
 
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4013
 
    ;;
4014
 
esac
4015
 
fi
4016
 
MSGFMT="$ac_cv_path_MSGFMT"
4017
 
if test "$MSGFMT" != ":"; then
4018
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4019
 
$as_echo "$MSGFMT" >&6; }
4020
 
else
4021
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022
 
$as_echo "no" >&6; }
4023
 
fi
4024
 
 
4025
 
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
4026
 
set dummy gmsgfmt; ac_word=$2
4027
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028
 
$as_echo_n "checking for $ac_word... " >&6; }
4029
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4030
 
  $as_echo_n "(cached) " >&6
4031
 
else
4032
 
  case $GMSGFMT in
4033
 
  [\\/]* | ?:[\\/]*)
4034
 
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4035
 
  ;;
4036
 
  *)
4037
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038
 
for as_dir in $PATH
4039
 
do
4040
 
  IFS=$as_save_IFS
4041
 
  test -z "$as_dir" && as_dir=.
4042
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4043
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4044
 
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4045
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046
 
    break 2
4047
 
  fi
4048
 
done
4049
 
  done
4050
 
IFS=$as_save_IFS
4051
 
 
4052
 
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4053
 
  ;;
4054
 
esac
4055
 
fi
4056
 
GMSGFMT=$ac_cv_path_GMSGFMT
4057
 
if test -n "$GMSGFMT"; then
4058
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4059
 
$as_echo "$GMSGFMT" >&6; }
4060
 
else
4061
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062
 
$as_echo "no" >&6; }
4063
 
fi
4064
 
 
4065
 
 
4066
 
 
4067
 
 
4068
 
# Prepare PATH_SEPARATOR.
4069
 
# The user is always right.
4070
 
if test "${PATH_SEPARATOR+set}" != set; then
4071
 
  echo "#! /bin/sh" >conf$$.sh
4072
 
  echo  "exit 0"   >>conf$$.sh
4073
 
  chmod +x conf$$.sh
4074
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4075
 
    PATH_SEPARATOR=';'
4076
 
  else
4077
 
    PATH_SEPARATOR=:
4078
 
  fi
4079
 
  rm -f conf$$.sh
4080
 
fi
4081
 
 
4082
 
# Find out how to test for executable files. Don't use a zero-byte file,
4083
 
# as systems may use methods other than mode bits to determine executability.
4084
 
cat >conf$$.file <<_ASEOF
4085
 
#! /bin/sh
4086
 
exit 0
4087
 
_ASEOF
4088
 
chmod +x conf$$.file
4089
 
if test -x conf$$.file >/dev/null 2>&1; then
4090
 
  ac_executable_p="test -x"
4091
 
else
4092
 
  ac_executable_p="test -f"
4093
 
fi
4094
 
rm -f conf$$.file
4095
 
 
4096
 
# Extract the first word of "xgettext", so it can be a program name with args.
4097
 
set dummy xgettext; ac_word=$2
4098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4099
 
$as_echo_n "checking for $ac_word... " >&6; }
4100
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4101
 
  $as_echo_n "(cached) " >&6
4102
 
else
4103
 
  case "$XGETTEXT" in
4104
 
  [\\/]* | ?:[\\/]*)
4105
 
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4106
 
    ;;
4107
 
  *)
4108
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4109
 
    for ac_dir in $PATH; do
4110
 
      IFS="$ac_save_IFS"
4111
 
      test -z "$ac_dir" && ac_dir=.
4112
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4113
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4114
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
4115
 
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4116
 
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4117
 
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4118
 
            break 2
4119
 
          fi
4120
 
        fi
4121
 
      done
4122
 
    done
4123
 
    IFS="$ac_save_IFS"
4124
 
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4125
 
    ;;
4126
 
esac
4127
 
fi
4128
 
XGETTEXT="$ac_cv_path_XGETTEXT"
4129
 
if test "$XGETTEXT" != ":"; then
4130
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4131
 
$as_echo "$XGETTEXT" >&6; }
4132
 
else
4133
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134
 
$as_echo "no" >&6; }
4135
 
fi
4136
 
 
4137
 
    rm -f messages.po
4138
 
 
4139
 
 
4140
 
# Prepare PATH_SEPARATOR.
4141
 
# The user is always right.
4142
 
if test "${PATH_SEPARATOR+set}" != set; then
4143
 
  echo "#! /bin/sh" >conf$$.sh
4144
 
  echo  "exit 0"   >>conf$$.sh
4145
 
  chmod +x conf$$.sh
4146
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4147
 
    PATH_SEPARATOR=';'
4148
 
  else
4149
 
    PATH_SEPARATOR=:
4150
 
  fi
4151
 
  rm -f conf$$.sh
4152
 
fi
4153
 
 
4154
 
# Find out how to test for executable files. Don't use a zero-byte file,
4155
 
# as systems may use methods other than mode bits to determine executability.
4156
 
cat >conf$$.file <<_ASEOF
4157
 
#! /bin/sh
4158
 
exit 0
4159
 
_ASEOF
4160
 
chmod +x conf$$.file
4161
 
if test -x conf$$.file >/dev/null 2>&1; then
4162
 
  ac_executable_p="test -x"
4163
 
else
4164
 
  ac_executable_p="test -f"
4165
 
fi
4166
 
rm -f conf$$.file
4167
 
 
4168
 
# Extract the first word of "msgmerge", so it can be a program name with args.
4169
 
set dummy msgmerge; ac_word=$2
4170
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4171
 
$as_echo_n "checking for $ac_word... " >&6; }
4172
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4173
 
  $as_echo_n "(cached) " >&6
4174
 
else
4175
 
  case "$MSGMERGE" in
4176
 
  [\\/]* | ?:[\\/]*)
4177
 
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4178
 
    ;;
4179
 
  *)
4180
 
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4181
 
    for ac_dir in $PATH; do
4182
 
      IFS="$ac_save_IFS"
4183
 
      test -z "$ac_dir" && ac_dir=.
4184
 
      for ac_exec_ext in '' $ac_executable_extensions; do
4185
 
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4186
 
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
4187
 
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4188
 
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4189
 
            break 2
4190
 
          fi
4191
 
        fi
4192
 
      done
4193
 
    done
4194
 
    IFS="$ac_save_IFS"
4195
 
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4196
 
    ;;
4197
 
esac
4198
 
fi
4199
 
MSGMERGE="$ac_cv_path_MSGMERGE"
4200
 
if test "$MSGMERGE" != ":"; then
4201
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4202
 
$as_echo "$MSGMERGE" >&6; }
4203
 
else
4204
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205
 
$as_echo "no" >&6; }
4206
 
fi
4207
 
 
4208
 
 
4209
 
      if test "$GMSGFMT" != ":"; then
4210
 
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4211
 
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4212
 
      : ;
4213
 
    else
4214
 
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4215
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4216
 
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4217
 
      GMSGFMT=":"
4218
 
    fi
4219
 
  fi
4220
 
 
4221
 
      if test "$XGETTEXT" != ":"; then
4222
 
            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4223
 
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4224
 
      : ;
4225
 
    else
4226
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4227
 
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4228
 
      XGETTEXT=":"
4229
 
    fi
4230
 
        rm -f messages.po
4231
 
  fi
4232
 
 
4233
 
  ac_config_commands="$ac_config_commands default-1"
4234
 
 
4235
 
 
4236
 
 
4237
 
      if test "X$prefix" = "XNONE"; then
4238
 
    acl_final_prefix="$ac_default_prefix"
4239
 
  else
4240
 
    acl_final_prefix="$prefix"
4241
 
  fi
4242
 
  if test "X$exec_prefix" = "XNONE"; then
4243
 
    acl_final_exec_prefix='${prefix}'
4244
 
  else
4245
 
    acl_final_exec_prefix="$exec_prefix"
4246
 
  fi
4247
 
  acl_save_prefix="$prefix"
4248
 
  prefix="$acl_final_prefix"
4249
 
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4250
 
  prefix="$acl_save_prefix"
4251
 
 
4252
 
ac_ext=c
4253
 
ac_cpp='$CPP $CPPFLAGS'
4254
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4257
 
if test -n "$ac_tool_prefix"; then
4258
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4259
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4260
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261
 
$as_echo_n "checking for $ac_word... " >&6; }
4262
 
if test "${ac_cv_prog_CC+set}" = set; then :
4263
 
  $as_echo_n "(cached) " >&6
4264
 
else
4265
 
  if test -n "$CC"; then
4266
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4267
 
else
4268
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269
 
for as_dir in $PATH
4270
 
do
4271
 
  IFS=$as_save_IFS
4272
 
  test -z "$as_dir" && as_dir=.
4273
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4274
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4276
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277
 
    break 2
4278
 
  fi
4279
 
done
4280
 
  done
4281
 
IFS=$as_save_IFS
4282
 
 
4283
 
fi
4284
 
fi
4285
 
CC=$ac_cv_prog_CC
4286
 
if test -n "$CC"; then
4287
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4288
 
$as_echo "$CC" >&6; }
4289
 
else
4290
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291
 
$as_echo "no" >&6; }
4292
 
fi
4293
 
 
4294
 
 
4295
 
fi
4296
 
if test -z "$ac_cv_prog_CC"; then
4297
 
  ac_ct_CC=$CC
4298
 
  # Extract the first word of "gcc", so it can be a program name with args.
4299
 
set dummy gcc; ac_word=$2
4300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301
 
$as_echo_n "checking for $ac_word... " >&6; }
4302
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4303
 
  $as_echo_n "(cached) " >&6
4304
 
else
4305
 
  if test -n "$ac_ct_CC"; then
4306
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4307
 
else
4308
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309
 
for as_dir in $PATH
4310
 
do
4311
 
  IFS=$as_save_IFS
4312
 
  test -z "$as_dir" && as_dir=.
4313
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4314
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315
 
    ac_cv_prog_ac_ct_CC="gcc"
4316
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317
 
    break 2
4318
 
  fi
4319
 
done
4320
 
  done
4321
 
IFS=$as_save_IFS
4322
 
 
4323
 
fi
4324
 
fi
4325
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4326
 
if test -n "$ac_ct_CC"; then
4327
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4328
 
$as_echo "$ac_ct_CC" >&6; }
4329
 
else
4330
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331
 
$as_echo "no" >&6; }
4332
 
fi
4333
 
 
4334
 
  if test "x$ac_ct_CC" = x; then
4335
 
    CC=""
4336
 
  else
4337
 
    case $cross_compiling:$ac_tool_warned in
4338
 
yes:)
4339
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4340
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4341
 
ac_tool_warned=yes ;;
4342
 
esac
4343
 
    CC=$ac_ct_CC
4344
 
  fi
4345
 
else
4346
 
  CC="$ac_cv_prog_CC"
4347
 
fi
4348
 
 
4349
 
if test -z "$CC"; then
4350
 
          if test -n "$ac_tool_prefix"; then
4351
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4352
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
4353
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354
 
$as_echo_n "checking for $ac_word... " >&6; }
4355
 
if test "${ac_cv_prog_CC+set}" = set; then :
4356
 
  $as_echo_n "(cached) " >&6
4357
 
else
4358
 
  if test -n "$CC"; then
4359
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4360
 
else
4361
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362
 
for as_dir in $PATH
4363
 
do
4364
 
  IFS=$as_save_IFS
4365
 
  test -z "$as_dir" && as_dir=.
4366
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4367
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370
 
    break 2
4371
 
  fi
4372
 
done
4373
 
  done
4374
 
IFS=$as_save_IFS
4375
 
 
4376
 
fi
4377
 
fi
4378
 
CC=$ac_cv_prog_CC
4379
 
if test -n "$CC"; then
4380
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4381
 
$as_echo "$CC" >&6; }
4382
 
else
4383
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384
 
$as_echo "no" >&6; }
4385
 
fi
4386
 
 
4387
 
 
4388
 
  fi
4389
 
fi
4390
 
if test -z "$CC"; then
4391
 
  # Extract the first word of "cc", so it can be a program name with args.
4392
 
set dummy cc; ac_word=$2
4393
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394
 
$as_echo_n "checking for $ac_word... " >&6; }
4395
 
if test "${ac_cv_prog_CC+set}" = set; then :
4396
 
  $as_echo_n "(cached) " >&6
4397
 
else
4398
 
  if test -n "$CC"; then
4399
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4400
 
else
4401
 
  ac_prog_rejected=no
4402
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403
 
for as_dir in $PATH
4404
 
do
4405
 
  IFS=$as_save_IFS
4406
 
  test -z "$as_dir" && as_dir=.
4407
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4408
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4409
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4410
 
       ac_prog_rejected=yes
4411
 
       continue
4412
 
     fi
4413
 
    ac_cv_prog_CC="cc"
4414
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415
 
    break 2
4416
 
  fi
4417
 
done
4418
 
  done
4419
 
IFS=$as_save_IFS
4420
 
 
4421
 
if test $ac_prog_rejected = yes; then
4422
 
  # We found a bogon in the path, so make sure we never use it.
4423
 
  set dummy $ac_cv_prog_CC
4424
 
  shift
4425
 
  if test $# != 0; then
4426
 
    # We chose a different compiler from the bogus one.
4427
 
    # However, it has the same basename, so the bogon will be chosen
4428
 
    # first if we set CC to just the basename; use the full file name.
4429
 
    shift
4430
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4431
 
  fi
4432
 
fi
4433
 
fi
4434
 
fi
4435
 
CC=$ac_cv_prog_CC
4436
 
if test -n "$CC"; then
4437
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4438
 
$as_echo "$CC" >&6; }
4439
 
else
4440
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441
 
$as_echo "no" >&6; }
4442
 
fi
4443
 
 
4444
 
 
4445
 
fi
4446
 
if test -z "$CC"; then
4447
 
  if test -n "$ac_tool_prefix"; then
4448
 
  for ac_prog in cl.exe
4449
 
  do
4450
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4451
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4452
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453
 
$as_echo_n "checking for $ac_word... " >&6; }
4454
 
if test "${ac_cv_prog_CC+set}" = set; then :
4455
 
  $as_echo_n "(cached) " >&6
4456
 
else
4457
 
  if test -n "$CC"; then
4458
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
4459
 
else
4460
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461
 
for as_dir in $PATH
4462
 
do
4463
 
  IFS=$as_save_IFS
4464
 
  test -z "$as_dir" && as_dir=.
4465
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4466
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4468
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469
 
    break 2
4470
 
  fi
4471
 
done
4472
 
  done
4473
 
IFS=$as_save_IFS
4474
 
 
4475
 
fi
4476
 
fi
4477
 
CC=$ac_cv_prog_CC
4478
 
if test -n "$CC"; then
4479
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480
 
$as_echo "$CC" >&6; }
4481
 
else
4482
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483
 
$as_echo "no" >&6; }
4484
 
fi
4485
 
 
4486
 
 
4487
 
    test -n "$CC" && break
4488
 
  done
4489
 
fi
4490
 
if test -z "$CC"; then
4491
 
  ac_ct_CC=$CC
4492
 
  for ac_prog in cl.exe
4493
 
do
4494
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4495
 
set dummy $ac_prog; ac_word=$2
4496
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497
 
$as_echo_n "checking for $ac_word... " >&6; }
4498
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4499
 
  $as_echo_n "(cached) " >&6
4500
 
else
4501
 
  if test -n "$ac_ct_CC"; then
4502
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4503
 
else
4504
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505
 
for as_dir in $PATH
4506
 
do
4507
 
  IFS=$as_save_IFS
4508
 
  test -z "$as_dir" && as_dir=.
4509
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4510
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
4512
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513
 
    break 2
4514
 
  fi
4515
 
done
4516
 
  done
4517
 
IFS=$as_save_IFS
4518
 
 
4519
 
fi
4520
 
fi
4521
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4522
 
if test -n "$ac_ct_CC"; then
4523
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4524
 
$as_echo "$ac_ct_CC" >&6; }
4525
 
else
4526
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527
 
$as_echo "no" >&6; }
4528
 
fi
4529
 
 
4530
 
 
4531
 
  test -n "$ac_ct_CC" && break
4532
 
done
4533
 
 
4534
 
  if test "x$ac_ct_CC" = x; then
4535
 
    CC=""
4536
 
  else
4537
 
    case $cross_compiling:$ac_tool_warned in
4538
 
yes:)
4539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4540
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4541
 
ac_tool_warned=yes ;;
4542
 
esac
4543
 
    CC=$ac_ct_CC
4544
 
  fi
4545
 
fi
4546
 
 
4547
 
fi
4548
 
 
4549
 
 
4550
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4551
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4552
 
as_fn_error "no acceptable C compiler found in \$PATH
4553
 
See \`config.log' for more details." "$LINENO" 5; }
4554
 
 
4555
 
# Provide some information about the compiler.
4556
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4557
 
set X $ac_compile
4558
 
ac_compiler=$2
4559
 
for ac_option in --version -v -V -qversion; do
4560
 
  { { ac_try="$ac_compiler $ac_option >&5"
4561
 
case "(($ac_try" in
4562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563
 
  *) ac_try_echo=$ac_try;;
4564
 
esac
4565
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4566
 
$as_echo "$ac_try_echo"; } >&5
4567
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4568
 
  ac_status=$?
4569
 
  if test -s conftest.err; then
4570
 
    sed '10a\
4571
 
... rest of stderr output deleted ...
4572
 
         10q' conftest.err >conftest.er1
4573
 
    cat conftest.er1 >&5
4574
 
  fi
4575
 
  rm -f conftest.er1 conftest.err
4576
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577
 
  test $ac_status = 0; }
4578
 
done
4579
 
 
4580
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4581
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4582
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4583
 
  $as_echo_n "(cached) " >&6
4584
 
else
4585
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586
 
/* end confdefs.h.  */
4587
 
 
4588
 
int
4589
 
main ()
4590
 
{
4591
 
#ifndef __GNUC__
4592
 
       choke me
4593
 
#endif
4594
 
 
4595
 
  ;
4596
 
  return 0;
4597
 
}
4598
 
_ACEOF
4599
 
if ac_fn_c_try_compile "$LINENO"; then :
4600
 
  ac_compiler_gnu=yes
4601
 
else
4602
 
  ac_compiler_gnu=no
4603
 
fi
4604
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4606
 
 
4607
 
fi
4608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4609
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4610
 
if test $ac_compiler_gnu = yes; then
4611
 
  GCC=yes
4612
 
else
4613
 
  GCC=
4614
 
fi
4615
 
ac_test_CFLAGS=${CFLAGS+set}
4616
 
ac_save_CFLAGS=$CFLAGS
4617
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4618
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4619
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
4620
 
  $as_echo_n "(cached) " >&6
4621
 
else
4622
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4623
 
   ac_c_werror_flag=yes
4624
 
   ac_cv_prog_cc_g=no
4625
 
   CFLAGS="-g"
4626
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627
 
/* end confdefs.h.  */
4628
 
 
4629
 
int
4630
 
main ()
4631
 
{
4632
 
 
4633
 
  ;
4634
 
  return 0;
4635
 
}
4636
 
_ACEOF
4637
 
if ac_fn_c_try_compile "$LINENO"; then :
4638
 
  ac_cv_prog_cc_g=yes
4639
 
else
4640
 
  CFLAGS=""
4641
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642
 
/* end confdefs.h.  */
4643
 
 
4644
 
int
4645
 
main ()
4646
 
{
4647
 
 
4648
 
  ;
4649
 
  return 0;
4650
 
}
4651
 
_ACEOF
4652
 
if ac_fn_c_try_compile "$LINENO"; then :
4653
 
 
4654
 
else
4655
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4656
 
         CFLAGS="-g"
4657
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658
 
/* end confdefs.h.  */
4659
 
 
4660
 
int
4661
 
main ()
4662
 
{
4663
 
 
4664
 
  ;
4665
 
  return 0;
4666
 
}
4667
 
_ACEOF
4668
 
if ac_fn_c_try_compile "$LINENO"; then :
4669
 
  ac_cv_prog_cc_g=yes
4670
 
fi
4671
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4672
 
fi
4673
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674
 
fi
4675
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4677
 
fi
4678
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4679
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4680
 
if test "$ac_test_CFLAGS" = set; then
4681
 
  CFLAGS=$ac_save_CFLAGS
4682
 
elif test $ac_cv_prog_cc_g = yes; then
4683
 
  if test "$GCC" = yes; then
4684
 
    CFLAGS="-g -O2"
4685
 
  else
4686
 
    CFLAGS="-g"
4687
 
  fi
4688
 
else
4689
 
  if test "$GCC" = yes; then
4690
 
    CFLAGS="-O2"
4691
 
  else
4692
 
    CFLAGS=
4693
 
  fi
4694
 
fi
4695
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4696
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4697
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4698
 
  $as_echo_n "(cached) " >&6
4699
 
else
4700
 
  ac_cv_prog_cc_c89=no
4701
 
ac_save_CC=$CC
4702
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703
 
/* end confdefs.h.  */
4704
 
#include <stdarg.h>
4705
 
#include <stdio.h>
4706
 
#include <sys/types.h>
4707
 
#include <sys/stat.h>
4708
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4709
 
struct buf { int x; };
4710
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4711
 
static char *e (p, i)
4712
 
     char **p;
4713
 
     int i;
4714
 
{
4715
 
  return p[i];
4716
 
}
4717
 
static char *f (char * (*g) (char **, int), char **p, ...)
4718
 
{
4719
 
  char *s;
4720
 
  va_list v;
4721
 
  va_start (v,p);
4722
 
  s = g (p, va_arg (v,int));
4723
 
  va_end (v);
4724
 
  return s;
4725
 
}
4726
 
 
4727
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4728
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4729
 
   These don't provoke an error unfortunately, instead are silently treated
4730
 
   as 'x'.  The following induces an error, until -std is added to get
4731
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4732
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4733
 
   that's true only with -std.  */
4734
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4735
 
 
4736
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4737
 
   inside strings and character constants.  */
4738
 
#define FOO(x) 'x'
4739
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4740
 
 
4741
 
int test (int i, double x);
4742
 
struct s1 {int (*f) (int a);};
4743
 
struct s2 {int (*f) (double a);};
4744
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4745
 
int argc;
4746
 
char **argv;
4747
 
int
4748
 
main ()
4749
 
{
4750
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4751
 
  ;
4752
 
  return 0;
4753
 
}
4754
 
_ACEOF
4755
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4756
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4757
 
do
4758
 
  CC="$ac_save_CC $ac_arg"
4759
 
  if ac_fn_c_try_compile "$LINENO"; then :
4760
 
  ac_cv_prog_cc_c89=$ac_arg
4761
 
fi
4762
 
rm -f core conftest.err conftest.$ac_objext
4763
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4764
 
done
4765
 
rm -f conftest.$ac_ext
4766
 
CC=$ac_save_CC
4767
 
 
4768
 
fi
4769
 
# AC_CACHE_VAL
4770
 
case "x$ac_cv_prog_cc_c89" in
4771
 
  x)
4772
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4773
 
$as_echo "none needed" >&6; } ;;
4774
 
  xno)
4775
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4776
 
$as_echo "unsupported" >&6; } ;;
4777
 
  *)
4778
 
    CC="$CC $ac_cv_prog_cc_c89"
4779
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4780
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4781
 
esac
4782
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4783
 
 
4784
 
fi
4785
 
 
4786
 
ac_ext=cpp
4787
 
ac_cpp='$CXXCPP $CPPFLAGS'
4788
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4789
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4790
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4791
 
 
4792
 
depcc="$CC"   am_compiler_list=
4793
 
 
4794
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4795
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4796
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4797
 
  $as_echo_n "(cached) " >&6
4798
 
else
4799
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4800
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4801
 
  # making bogus files that we don't know about and never remove.  For
4802
 
  # instance it was reported that on HP-UX the gcc test will end up
4803
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4804
 
  # in D'.
4805
 
  mkdir conftest.dir
4806
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4807
 
  # using a relative directory.
4808
 
  cp "$am_depcomp" conftest.dir
4809
 
  cd conftest.dir
4810
 
  # We will build objects and dependencies in a subdirectory because
4811
 
  # it helps to detect inapplicable dependency modes.  For instance
4812
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4813
 
  # side effect of compilation, but ICC will put the dependencies in
4814
 
  # the current directory while Tru64 will put them in the object
4815
 
  # directory.
4816
 
  mkdir sub
4817
 
 
4818
 
  am_cv_CC_dependencies_compiler_type=none
4819
 
  if test "$am_compiler_list" = ""; then
4820
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4821
 
  fi
4822
 
  am__universal=false
4823
 
  case " $depcc " in #(
4824
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4825
 
     esac
4826
 
 
4827
 
  for depmode in $am_compiler_list; do
4828
 
    # Setup a source with many dependencies, because some compilers
4829
 
    # like to wrap large dependency lists on column 80 (with \), and
4830
 
    # we should not choose a depcomp mode which is confused by this.
4831
 
    #
4832
 
    # We need to recreate these files for each test, as the compiler may
4833
 
    # overwrite some of them when testing with obscure command lines.
4834
 
    # This happens at least with the AIX C compiler.
4835
 
    : > sub/conftest.c
4836
 
    for i in 1 2 3 4 5 6; do
4837
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4838
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4839
 
      # Solaris 8's {/usr,}/bin/sh.
4840
 
      touch sub/conftst$i.h
4841
 
    done
4842
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4843
 
 
4844
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4845
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4846
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4847
 
    # versions had trouble with output in subdirs
4848
 
    am__obj=sub/conftest.${OBJEXT-o}
4849
 
    am__minus_obj="-o $am__obj"
4850
 
    case $depmode in
4851
 
    gcc)
4852
 
      # This depmode causes a compiler race in universal mode.
4853
 
      test "$am__universal" = false || continue
4854
 
      ;;
4855
 
    nosideeffect)
4856
 
      # after this tag, mechanisms are not by side-effect, so they'll
4857
 
      # only be used when explicitly requested
4858
 
      if test "x$enable_dependency_tracking" = xyes; then
4859
 
        continue
4860
 
      else
4861
 
        break
4862
 
      fi
4863
 
      ;;
4864
 
    msvisualcpp | msvcmsys)
4865
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4866
 
      # not run yet.  These depmodes are late enough in the game, and
4867
 
      # so weak that their functioning should not be impacted.
4868
 
      am__obj=conftest.${OBJEXT-o}
4869
 
      am__minus_obj=
4870
 
      ;;
4871
 
    none) break ;;
4872
 
    esac
4873
 
    if depmode=$depmode \
4874
 
       source=sub/conftest.c object=$am__obj \
4875
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4876
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4877
 
         >/dev/null 2>conftest.err &&
4878
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4879
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4880
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4881
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4882
 
      # icc doesn't choke on unknown options, it will just issue warnings
4883
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4884
 
      # that says an option was ignored or not supported.
4885
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4886
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4887
 
      # The diagnosis changed in icc 8.0:
4888
 
      #   icc: Command line remark: option '-MP' not supported
4889
 
      if (grep 'ignoring option' conftest.err ||
4890
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4891
 
        am_cv_CC_dependencies_compiler_type=$depmode
4892
 
        break
4893
 
      fi
4894
 
    fi
4895
 
  done
4896
 
 
4897
 
  cd ..
4898
 
  rm -rf conftest.dir
4899
 
else
4900
 
  am_cv_CC_dependencies_compiler_type=none
4901
 
fi
4902
 
 
4903
 
fi
4904
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4905
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4906
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4907
 
 
4908
 
 if
4909
 
  test "x$enable_dependency_tracking" != xno \
4910
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4911
 
  am__fastdepCC_TRUE=
4912
 
  am__fastdepCC_FALSE='#'
4913
 
else
4914
 
  am__fastdepCC_TRUE='#'
4915
 
  am__fastdepCC_FALSE=
4916
 
fi
4917
 
 
4918
 
 
4919
 
# Make sure we can run config.sub.
4920
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4921
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4922
 
 
4923
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4924
 
$as_echo_n "checking build system type... " >&6; }
4925
 
if test "${ac_cv_build+set}" = set; then :
4926
 
  $as_echo_n "(cached) " >&6
4927
 
else
4928
 
  ac_build_alias=$build_alias
4929
 
test "x$ac_build_alias" = x &&
4930
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4931
 
test "x$ac_build_alias" = x &&
4932
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4933
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4934
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4935
 
 
4936
 
fi
4937
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4938
 
$as_echo "$ac_cv_build" >&6; }
4939
 
case $ac_cv_build in
4940
 
*-*-*) ;;
4941
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4942
 
esac
4943
 
build=$ac_cv_build
4944
 
ac_save_IFS=$IFS; IFS='-'
4945
 
set x $ac_cv_build
4946
 
shift
4947
 
build_cpu=$1
4948
 
build_vendor=$2
4949
 
shift; shift
4950
 
# Remember, the first character of IFS is used to create $*,
4951
 
# except with old shells:
4952
 
build_os=$*
4953
 
IFS=$ac_save_IFS
4954
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4955
 
 
4956
 
 
4957
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4958
 
$as_echo_n "checking host system type... " >&6; }
4959
 
if test "${ac_cv_host+set}" = set; then :
4960
 
  $as_echo_n "(cached) " >&6
4961
 
else
4962
 
  if test "x$host_alias" = x; then
4963
 
  ac_cv_host=$ac_cv_build
4964
 
else
4965
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4966
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4967
 
fi
4968
 
 
4969
 
fi
4970
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4971
 
$as_echo "$ac_cv_host" >&6; }
4972
 
case $ac_cv_host in
4973
 
*-*-*) ;;
4974
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4975
 
esac
4976
 
host=$ac_cv_host
4977
 
ac_save_IFS=$IFS; IFS='-'
4978
 
set x $ac_cv_host
4979
 
shift
4980
 
host_cpu=$1
4981
 
host_vendor=$2
4982
 
shift; shift
4983
 
# Remember, the first character of IFS is used to create $*,
4984
 
# except with old shells:
4985
 
host_os=$*
4986
 
IFS=$ac_save_IFS
4987
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4988
 
 
4989
 
 
4990
 
 
4991
 
# Check whether --with-gnu-ld was given.
4992
 
if test "${with_gnu_ld+set}" = set; then :
4993
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4994
 
else
4995
 
  with_gnu_ld=no
4996
 
fi
4997
 
 
4998
 
# Prepare PATH_SEPARATOR.
4999
 
# The user is always right.
5000
 
if test "${PATH_SEPARATOR+set}" != set; then
5001
 
  echo "#! /bin/sh" >conf$$.sh
5002
 
  echo  "exit 0"   >>conf$$.sh
5003
 
  chmod +x conf$$.sh
5004
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5005
 
    PATH_SEPARATOR=';'
5006
 
  else
5007
 
    PATH_SEPARATOR=:
5008
 
  fi
5009
 
  rm -f conf$$.sh
5010
 
fi
5011
 
ac_prog=ld
5012
 
if test "$GCC" = yes; then
5013
 
  # Check if gcc -print-prog-name=ld gives a path.
5014
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
5015
 
$as_echo_n "checking for ld used by GCC... " >&6; }
5016
 
  case $host in
5017
 
  *-*-mingw*)
5018
 
    # gcc leaves a trailing carriage return which upsets mingw
5019
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5020
 
  *)
5021
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5022
 
  esac
5023
 
  case $ac_prog in
5024
 
    # Accept absolute paths.
5025
 
    [\\/]* | [A-Za-z]:[\\/]*)
5026
 
      re_direlt='/[^/][^/]*/\.\./'
5027
 
      # Canonicalize the path of ld
5028
 
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5029
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5030
 
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5031
 
      done
5032
 
      test -z "$LD" && LD="$ac_prog"
5033
 
      ;;
5034
 
  "")
5035
 
    # If it fails, then pretend we aren't using GCC.
5036
 
    ac_prog=ld
5037
 
    ;;
5038
 
  *)
5039
 
    # If it is relative, then search for the first ld in PATH.
5040
 
    with_gnu_ld=unknown
5041
 
    ;;
5042
 
  esac
5043
 
elif test "$with_gnu_ld" = yes; then
5044
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5045
 
$as_echo_n "checking for GNU ld... " >&6; }
5046
 
else
5047
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5048
 
$as_echo_n "checking for non-GNU ld... " >&6; }
5049
 
fi
5050
 
if test "${acl_cv_path_LD+set}" = set; then :
5051
 
  $as_echo_n "(cached) " >&6
5052
 
else
5053
 
  if test -z "$LD"; then
5054
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5055
 
  for ac_dir in $PATH; do
5056
 
    test -z "$ac_dir" && ac_dir=.
5057
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5058
 
      acl_cv_path_LD="$ac_dir/$ac_prog"
5059
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
5060
 
      # but apparently some GNU ld's only accept -v.
5061
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
5062
 
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
5063
 
      *GNU* | *'with BFD'*)
5064
 
        test "$with_gnu_ld" != no && break ;;
5065
 
      *)
5066
 
        test "$with_gnu_ld" != yes && break ;;
5067
 
      esac
5068
 
    fi
5069
 
  done
5070
 
  IFS="$ac_save_ifs"
5071
 
else
5072
 
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
5073
 
fi
5074
 
fi
5075
 
 
5076
 
LD="$acl_cv_path_LD"
5077
 
if test -n "$LD"; then
5078
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5079
 
$as_echo "$LD" >&6; }
5080
 
else
5081
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082
 
$as_echo "no" >&6; }
5083
 
fi
5084
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5085
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5086
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5087
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5088
 
  $as_echo_n "(cached) " >&6
5089
 
else
5090
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5091
 
case `$LD -v 2>&1 </dev/null` in
5092
 
*GNU* | *'with BFD'*)
5093
 
  acl_cv_prog_gnu_ld=yes ;;
5094
 
*)
5095
 
  acl_cv_prog_gnu_ld=no ;;
5096
 
esac
5097
 
fi
5098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5099
 
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
5100
 
with_gnu_ld=$acl_cv_prog_gnu_ld
5101
 
 
5102
 
 
5103
 
 
5104
 
 
5105
 
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5106
 
$as_echo_n "checking for shared library run path origin... " >&6; }
5107
 
if test "${acl_cv_rpath+set}" = set; then :
5108
 
  $as_echo_n "(cached) " >&6
5109
 
else
5110
 
 
5111
 
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
5112
 
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
5113
 
    . ./conftest.sh
5114
 
    rm -f ./conftest.sh
5115
 
    acl_cv_rpath=done
5116
 
 
5117
 
fi
5118
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
5119
 
$as_echo "$acl_cv_rpath" >&6; }
5120
 
  wl="$acl_cv_wl"
5121
 
  libext="$acl_cv_libext"
5122
 
  shlibext="$acl_cv_shlibext"
5123
 
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
5124
 
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
5125
 
  hardcode_direct="$acl_cv_hardcode_direct"
5126
 
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
5127
 
    # Check whether --enable-rpath was given.
5128
 
if test "${enable_rpath+set}" = set; then :
5129
 
  enableval=$enable_rpath; :
5130
 
else
5131
 
  enable_rpath=yes
5132
 
fi
5133
 
 
5134
 
 
5135
 
 
5136
 
 
5137
 
 
5138
 
 
5139
 
 
5140
 
 
5141
 
    use_additional=yes
5142
 
 
5143
 
  acl_save_prefix="$prefix"
5144
 
  prefix="$acl_final_prefix"
5145
 
  acl_save_exec_prefix="$exec_prefix"
5146
 
  exec_prefix="$acl_final_exec_prefix"
5147
 
 
5148
 
    eval additional_includedir=\"$includedir\"
5149
 
    eval additional_libdir=\"$libdir\"
5150
 
 
5151
 
  exec_prefix="$acl_save_exec_prefix"
5152
 
  prefix="$acl_save_prefix"
5153
 
 
5154
 
 
5155
 
# Check whether --with-libiconv-prefix was given.
5156
 
if test "${with_libiconv_prefix+set}" = set; then :
5157
 
  withval=$with_libiconv_prefix;
5158
 
    if test "X$withval" = "Xno"; then
5159
 
      use_additional=no
5160
 
    else
5161
 
      if test "X$withval" = "X"; then
5162
 
 
5163
 
  acl_save_prefix="$prefix"
5164
 
  prefix="$acl_final_prefix"
5165
 
  acl_save_exec_prefix="$exec_prefix"
5166
 
  exec_prefix="$acl_final_exec_prefix"
5167
 
 
5168
 
          eval additional_includedir=\"$includedir\"
5169
 
          eval additional_libdir=\"$libdir\"
5170
 
 
5171
 
  exec_prefix="$acl_save_exec_prefix"
5172
 
  prefix="$acl_save_prefix"
5173
 
 
5174
 
      else
5175
 
        additional_includedir="$withval/include"
5176
 
        additional_libdir="$withval/lib"
5177
 
      fi
5178
 
    fi
5179
 
 
5180
 
fi
5181
 
 
5182
 
      LIBICONV=
5183
 
  LTLIBICONV=
5184
 
  INCICONV=
5185
 
  rpathdirs=
5186
 
  ltrpathdirs=
5187
 
  names_already_handled=
5188
 
  names_next_round='iconv '
5189
 
  while test -n "$names_next_round"; do
5190
 
    names_this_round="$names_next_round"
5191
 
    names_next_round=
5192
 
    for name in $names_this_round; do
5193
 
      already_handled=
5194
 
      for n in $names_already_handled; do
5195
 
        if test "$n" = "$name"; then
5196
 
          already_handled=yes
5197
 
          break
5198
 
        fi
5199
 
      done
5200
 
      if test -z "$already_handled"; then
5201
 
        names_already_handled="$names_already_handled $name"
5202
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5203
 
        eval value=\"\$HAVE_LIB$uppername\"
5204
 
        if test -n "$value"; then
5205
 
          if test "$value" = yes; then
5206
 
            eval value=\"\$LIB$uppername\"
5207
 
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
5208
 
            eval value=\"\$LTLIB$uppername\"
5209
 
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
5210
 
          else
5211
 
                                    :
5212
 
          fi
5213
 
        else
5214
 
                              found_dir=
5215
 
          found_la=
5216
 
          found_so=
5217
 
          found_a=
5218
 
          if test $use_additional = yes; then
5219
 
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5220
 
              found_dir="$additional_libdir"
5221
 
              found_so="$additional_libdir/lib$name.$shlibext"
5222
 
              if test -f "$additional_libdir/lib$name.la"; then
5223
 
                found_la="$additional_libdir/lib$name.la"
5224
 
              fi
5225
 
            else
5226
 
              if test -f "$additional_libdir/lib$name.$libext"; then
5227
 
                found_dir="$additional_libdir"
5228
 
                found_a="$additional_libdir/lib$name.$libext"
5229
 
                if test -f "$additional_libdir/lib$name.la"; then
5230
 
                  found_la="$additional_libdir/lib$name.la"
5231
 
                fi
5232
 
              fi
5233
 
            fi
5234
 
          fi
5235
 
          if test "X$found_dir" = "X"; then
5236
 
            for x in $LDFLAGS $LTLIBICONV; do
5237
 
 
5238
 
  acl_save_prefix="$prefix"
5239
 
  prefix="$acl_final_prefix"
5240
 
  acl_save_exec_prefix="$exec_prefix"
5241
 
  exec_prefix="$acl_final_exec_prefix"
5242
 
  eval x=\"$x\"
5243
 
  exec_prefix="$acl_save_exec_prefix"
5244
 
  prefix="$acl_save_prefix"
5245
 
 
5246
 
              case "$x" in
5247
 
                -L*)
5248
 
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
5249
 
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5250
 
                    found_dir="$dir"
5251
 
                    found_so="$dir/lib$name.$shlibext"
5252
 
                    if test -f "$dir/lib$name.la"; then
5253
 
                      found_la="$dir/lib$name.la"
5254
 
                    fi
5255
 
                  else
5256
 
                    if test -f "$dir/lib$name.$libext"; then
5257
 
                      found_dir="$dir"
5258
 
                      found_a="$dir/lib$name.$libext"
5259
 
                      if test -f "$dir/lib$name.la"; then
5260
 
                        found_la="$dir/lib$name.la"
5261
 
                      fi
5262
 
                    fi
5263
 
                  fi
5264
 
                  ;;
5265
 
              esac
5266
 
              if test "X$found_dir" != "X"; then
5267
 
                break
5268
 
              fi
5269
 
            done
5270
 
          fi
5271
 
          if test "X$found_dir" != "X"; then
5272
 
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5273
 
            if test "X$found_so" != "X"; then
5274
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5275
 
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5276
 
              else
5277
 
                                                                                haveit=
5278
 
                for x in $ltrpathdirs; do
5279
 
                  if test "X$x" = "X$found_dir"; then
5280
 
                    haveit=yes
5281
 
                    break
5282
 
                  fi
5283
 
                done
5284
 
                if test -z "$haveit"; then
5285
 
                  ltrpathdirs="$ltrpathdirs $found_dir"
5286
 
                fi
5287
 
                                if test "$hardcode_direct" = yes; then
5288
 
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5289
 
                else
5290
 
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5291
 
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5292
 
                                                            haveit=
5293
 
                    for x in $rpathdirs; do
5294
 
                      if test "X$x" = "X$found_dir"; then
5295
 
                        haveit=yes
5296
 
                        break
5297
 
                      fi
5298
 
                    done
5299
 
                    if test -z "$haveit"; then
5300
 
                      rpathdirs="$rpathdirs $found_dir"
5301
 
                    fi
5302
 
                  else
5303
 
                                                                                haveit=
5304
 
                    for x in $LDFLAGS $LIBICONV; do
5305
 
 
5306
 
  acl_save_prefix="$prefix"
5307
 
  prefix="$acl_final_prefix"
5308
 
  acl_save_exec_prefix="$exec_prefix"
5309
 
  exec_prefix="$acl_final_exec_prefix"
5310
 
  eval x=\"$x\"
5311
 
  exec_prefix="$acl_save_exec_prefix"
5312
 
  prefix="$acl_save_prefix"
5313
 
 
5314
 
                      if test "X$x" = "X-L$found_dir"; then
5315
 
                        haveit=yes
5316
 
                        break
5317
 
                      fi
5318
 
                    done
5319
 
                    if test -z "$haveit"; then
5320
 
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5321
 
                    fi
5322
 
                    if test "$hardcode_minus_L" != no; then
5323
 
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5324
 
                    else
5325
 
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5326
 
                    fi
5327
 
                  fi
5328
 
                fi
5329
 
              fi
5330
 
            else
5331
 
              if test "X$found_a" != "X"; then
5332
 
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5333
 
              else
5334
 
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5335
 
              fi
5336
 
            fi
5337
 
                        additional_includedir=
5338
 
            case "$found_dir" in
5339
 
              */lib | */lib/)
5340
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5341
 
                additional_includedir="$basedir/include"
5342
 
                ;;
5343
 
            esac
5344
 
            if test "X$additional_includedir" != "X"; then
5345
 
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
5346
 
                haveit=
5347
 
                if test "X$additional_includedir" = "X/usr/local/include"; then
5348
 
                  if test -n "$GCC"; then
5349
 
                    case $host_os in
5350
 
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5351
 
                    esac
5352
 
                  fi
5353
 
                fi
5354
 
                if test -z "$haveit"; then
5355
 
                  for x in $CPPFLAGS $INCICONV; do
5356
 
 
5357
 
  acl_save_prefix="$prefix"
5358
 
  prefix="$acl_final_prefix"
5359
 
  acl_save_exec_prefix="$exec_prefix"
5360
 
  exec_prefix="$acl_final_exec_prefix"
5361
 
  eval x=\"$x\"
5362
 
  exec_prefix="$acl_save_exec_prefix"
5363
 
  prefix="$acl_save_prefix"
5364
 
 
5365
 
                    if test "X$x" = "X-I$additional_includedir"; then
5366
 
                      haveit=yes
5367
 
                      break
5368
 
                    fi
5369
 
                  done
5370
 
                  if test -z "$haveit"; then
5371
 
                    if test -d "$additional_includedir"; then
5372
 
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5373
 
                    fi
5374
 
                  fi
5375
 
                fi
5376
 
              fi
5377
 
            fi
5378
 
                        if test -n "$found_la"; then
5379
 
                                                        save_libdir="$libdir"
5380
 
              case "$found_la" in
5381
 
                */* | *\\*) . "$found_la" ;;
5382
 
                *) . "./$found_la" ;;
5383
 
              esac
5384
 
              libdir="$save_libdir"
5385
 
                            for dep in $dependency_libs; do
5386
 
                case "$dep" in
5387
 
                  -L*)
5388
 
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5389
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
5390
 
                      haveit=
5391
 
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
5392
 
                        if test -n "$GCC"; then
5393
 
                          case $host_os in
5394
 
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5395
 
                          esac
5396
 
                        fi
5397
 
                      fi
5398
 
                      if test -z "$haveit"; then
5399
 
                        haveit=
5400
 
                        for x in $LDFLAGS $LIBICONV; do
5401
 
 
5402
 
  acl_save_prefix="$prefix"
5403
 
  prefix="$acl_final_prefix"
5404
 
  acl_save_exec_prefix="$exec_prefix"
5405
 
  exec_prefix="$acl_final_exec_prefix"
5406
 
  eval x=\"$x\"
5407
 
  exec_prefix="$acl_save_exec_prefix"
5408
 
  prefix="$acl_save_prefix"
5409
 
 
5410
 
                          if test "X$x" = "X-L$additional_libdir"; then
5411
 
                            haveit=yes
5412
 
                            break
5413
 
                          fi
5414
 
                        done
5415
 
                        if test -z "$haveit"; then
5416
 
                          if test -d "$additional_libdir"; then
5417
 
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5418
 
                          fi
5419
 
                        fi
5420
 
                        haveit=
5421
 
                        for x in $LDFLAGS $LTLIBICONV; do
5422
 
 
5423
 
  acl_save_prefix="$prefix"
5424
 
  prefix="$acl_final_prefix"
5425
 
  acl_save_exec_prefix="$exec_prefix"
5426
 
  exec_prefix="$acl_final_exec_prefix"
5427
 
  eval x=\"$x\"
5428
 
  exec_prefix="$acl_save_exec_prefix"
5429
 
  prefix="$acl_save_prefix"
5430
 
 
5431
 
                          if test "X$x" = "X-L$additional_libdir"; then
5432
 
                            haveit=yes
5433
 
                            break
5434
 
                          fi
5435
 
                        done
5436
 
                        if test -z "$haveit"; then
5437
 
                          if test -d "$additional_libdir"; then
5438
 
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5439
 
                          fi
5440
 
                        fi
5441
 
                      fi
5442
 
                    fi
5443
 
                    ;;
5444
 
                  -R*)
5445
 
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
5446
 
                    if test "$enable_rpath" != no; then
5447
 
                                                                  haveit=
5448
 
                      for x in $rpathdirs; do
5449
 
                        if test "X$x" = "X$dir"; then
5450
 
                          haveit=yes
5451
 
                          break
5452
 
                        fi
5453
 
                      done
5454
 
                      if test -z "$haveit"; then
5455
 
                        rpathdirs="$rpathdirs $dir"
5456
 
                      fi
5457
 
                                                                  haveit=
5458
 
                      for x in $ltrpathdirs; do
5459
 
                        if test "X$x" = "X$dir"; then
5460
 
                          haveit=yes
5461
 
                          break
5462
 
                        fi
5463
 
                      done
5464
 
                      if test -z "$haveit"; then
5465
 
                        ltrpathdirs="$ltrpathdirs $dir"
5466
 
                      fi
5467
 
                    fi
5468
 
                    ;;
5469
 
                  -l*)
5470
 
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5471
 
                    ;;
5472
 
                  *.la)
5473
 
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5474
 
                    ;;
5475
 
                  *)
5476
 
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5477
 
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5478
 
                    ;;
5479
 
                esac
5480
 
              done
5481
 
            fi
5482
 
          else
5483
 
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5484
 
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5485
 
          fi
5486
 
        fi
5487
 
      fi
5488
 
    done
5489
 
  done
5490
 
  if test "X$rpathdirs" != "X"; then
5491
 
    if test -n "$hardcode_libdir_separator"; then
5492
 
                        alldirs=
5493
 
      for found_dir in $rpathdirs; do
5494
 
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5495
 
      done
5496
 
            acl_save_libdir="$libdir"
5497
 
      libdir="$alldirs"
5498
 
      eval flag=\"$hardcode_libdir_flag_spec\"
5499
 
      libdir="$acl_save_libdir"
5500
 
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5501
 
    else
5502
 
            for found_dir in $rpathdirs; do
5503
 
        acl_save_libdir="$libdir"
5504
 
        libdir="$found_dir"
5505
 
        eval flag=\"$hardcode_libdir_flag_spec\"
5506
 
        libdir="$acl_save_libdir"
5507
 
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5508
 
      done
5509
 
    fi
5510
 
  fi
5511
 
  if test "X$ltrpathdirs" != "X"; then
5512
 
            for found_dir in $ltrpathdirs; do
5513
 
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5514
 
    done
5515
 
  fi
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5535
 
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5536
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
5537
 
  $as_echo_n "(cached) " >&6
5538
 
else
5539
 
  gt_save_CPPFLAGS="$CPPFLAGS"
5540
 
     CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
5541
 
     gt_save_LIBS="$LIBS"
5542
 
     LIBS="$LIBS -framework CoreFoundation"
5543
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544
 
/* end confdefs.h.  */
5545
 
#include <CFPreferences.h>
5546
 
int
5547
 
main ()
5548
 
{
5549
 
CFPreferencesCopyAppValue(NULL, NULL)
5550
 
  ;
5551
 
  return 0;
5552
 
}
5553
 
_ACEOF
5554
 
if ac_fn_cxx_try_link "$LINENO"; then :
5555
 
  gt_cv_func_CFPreferencesCopyAppValue=yes
5556
 
else
5557
 
  gt_cv_func_CFPreferencesCopyAppValue=no
5558
 
fi
5559
 
rm -f core conftest.err conftest.$ac_objext \
5560
 
    conftest$ac_exeext conftest.$ac_ext
5561
 
     CPPFLAGS="$gt_save_CPPFLAGS"
5562
 
     LIBS="$gt_save_LIBS"
5563
 
fi
5564
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5565
 
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5566
 
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5567
 
 
5568
 
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5569
 
 
5570
 
  fi
5571
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5572
 
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5573
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
5574
 
  $as_echo_n "(cached) " >&6
5575
 
else
5576
 
  gt_save_CPPFLAGS="$CPPFLAGS"
5577
 
     CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
5578
 
     gt_save_LIBS="$LIBS"
5579
 
     LIBS="$LIBS -framework CoreFoundation"
5580
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5581
 
/* end confdefs.h.  */
5582
 
#include <CFLocale.h>
5583
 
int
5584
 
main ()
5585
 
{
5586
 
CFLocaleCopyCurrent();
5587
 
  ;
5588
 
  return 0;
5589
 
}
5590
 
_ACEOF
5591
 
if ac_fn_cxx_try_link "$LINENO"; then :
5592
 
  gt_cv_func_CFLocaleCopyCurrent=yes
5593
 
else
5594
 
  gt_cv_func_CFLocaleCopyCurrent=no
5595
 
fi
5596
 
rm -f core conftest.err conftest.$ac_objext \
5597
 
    conftest$ac_exeext conftest.$ac_ext
5598
 
     CPPFLAGS="$gt_save_CPPFLAGS"
5599
 
     LIBS="$gt_save_LIBS"
5600
 
fi
5601
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5602
 
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5603
 
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5604
 
 
5605
 
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5606
 
 
5607
 
  fi
5608
 
  INTL_MACOSX_LIBS=
5609
 
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5610
 
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5611
 
  fi
5612
 
 
5613
 
 
5614
 
 
5615
 
 
5616
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5617
 
$as_echo_n "checking whether NLS is requested... " >&6; }
5618
 
    # Check whether --enable-nls was given.
5619
 
if test "${enable_nls+set}" = set; then :
5620
 
  enableval=$enable_nls; USE_NLS=$enableval
5621
 
else
5622
 
  USE_NLS=yes
5623
 
fi
5624
 
 
5625
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5626
 
$as_echo "$USE_NLS" >&6; }
5627
 
 
5628
 
 
5629
 
 
5630
 
 
5631
 
  LIBINTL=
5632
 
  LTLIBINTL=
5633
 
  POSUB=
5634
 
 
5635
 
    if test "$USE_NLS" = "yes"; then
5636
 
    gt_use_preinstalled_gnugettext=no
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5644
 
$as_echo_n "checking for GNU gettext in libc... " >&6; }
5645
 
if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
5646
 
  $as_echo_n "(cached) " >&6
5647
 
else
5648
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649
 
/* end confdefs.h.  */
5650
 
#include <libintl.h>
5651
 
extern int _nl_msg_cat_cntr;
5652
 
extern int *_nl_domain_bindings;
5653
 
int
5654
 
main ()
5655
 
{
5656
 
bindtextdomain ("", "");
5657
 
return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
5658
 
  ;
5659
 
  return 0;
5660
 
}
5661
 
_ACEOF
5662
 
if ac_fn_cxx_try_link "$LINENO"; then :
5663
 
  gt_cv_func_gnugettext1_libc=yes
5664
 
else
5665
 
  gt_cv_func_gnugettext1_libc=no
5666
 
fi
5667
 
rm -f core conftest.err conftest.$ac_objext \
5668
 
    conftest$ac_exeext conftest.$ac_ext
5669
 
fi
5670
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
5671
 
$as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
5672
 
 
5673
 
        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
5674
 
 
5675
 
 
5676
 
 
5677
 
 
5678
 
 
5679
 
          am_save_CPPFLAGS="$CPPFLAGS"
5680
 
 
5681
 
  for element in $INCICONV; do
5682
 
    haveit=
5683
 
    for x in $CPPFLAGS; do
5684
 
 
5685
 
  acl_save_prefix="$prefix"
5686
 
  prefix="$acl_final_prefix"
5687
 
  acl_save_exec_prefix="$exec_prefix"
5688
 
  exec_prefix="$acl_final_exec_prefix"
5689
 
  eval x=\"$x\"
5690
 
  exec_prefix="$acl_save_exec_prefix"
5691
 
  prefix="$acl_save_prefix"
5692
 
 
5693
 
      if test "X$x" = "X$element"; then
5694
 
        haveit=yes
5695
 
        break
5696
 
      fi
5697
 
    done
5698
 
    if test -z "$haveit"; then
5699
 
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5700
 
    fi
5701
 
  done
5702
 
 
5703
 
 
5704
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5705
 
$as_echo_n "checking for iconv... " >&6; }
5706
 
if test "${am_cv_func_iconv+set}" = set; then :
5707
 
  $as_echo_n "(cached) " >&6
5708
 
else
5709
 
 
5710
 
    am_cv_func_iconv="no, consider installing GNU libiconv"
5711
 
    am_cv_lib_iconv=no
5712
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713
 
/* end confdefs.h.  */
5714
 
#include <stdlib.h>
5715
 
#include <iconv.h>
5716
 
int
5717
 
main ()
5718
 
{
5719
 
iconv_t cd = iconv_open("","");
5720
 
       iconv(cd,NULL,NULL,NULL,NULL);
5721
 
       iconv_close(cd);
5722
 
  ;
5723
 
  return 0;
5724
 
}
5725
 
_ACEOF
5726
 
if ac_fn_cxx_try_link "$LINENO"; then :
5727
 
  am_cv_func_iconv=yes
5728
 
fi
5729
 
rm -f core conftest.err conftest.$ac_objext \
5730
 
    conftest$ac_exeext conftest.$ac_ext
5731
 
    if test "$am_cv_func_iconv" != yes; then
5732
 
      am_save_LIBS="$LIBS"
5733
 
      LIBS="$LIBS $LIBICONV"
5734
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735
 
/* end confdefs.h.  */
5736
 
#include <stdlib.h>
5737
 
#include <iconv.h>
5738
 
int
5739
 
main ()
5740
 
{
5741
 
iconv_t cd = iconv_open("","");
5742
 
         iconv(cd,NULL,NULL,NULL,NULL);
5743
 
         iconv_close(cd);
5744
 
  ;
5745
 
  return 0;
5746
 
}
5747
 
_ACEOF
5748
 
if ac_fn_cxx_try_link "$LINENO"; then :
5749
 
  am_cv_lib_iconv=yes
5750
 
        am_cv_func_iconv=yes
5751
 
fi
5752
 
rm -f core conftest.err conftest.$ac_objext \
5753
 
    conftest$ac_exeext conftest.$ac_ext
5754
 
      LIBS="$am_save_LIBS"
5755
 
    fi
5756
 
 
5757
 
fi
5758
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5759
 
$as_echo "$am_cv_func_iconv" >&6; }
5760
 
  if test "$am_cv_func_iconv" = yes; then
5761
 
 
5762
 
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
5763
 
 
5764
 
  fi
5765
 
  if test "$am_cv_lib_iconv" = yes; then
5766
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5767
 
$as_echo_n "checking how to link with libiconv... " >&6; }
5768
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5769
 
$as_echo "$LIBICONV" >&6; }
5770
 
  else
5771
 
            CPPFLAGS="$am_save_CPPFLAGS"
5772
 
    LIBICONV=
5773
 
    LTLIBICONV=
5774
 
  fi
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
    use_additional=yes
5782
 
 
5783
 
  acl_save_prefix="$prefix"
5784
 
  prefix="$acl_final_prefix"
5785
 
  acl_save_exec_prefix="$exec_prefix"
5786
 
  exec_prefix="$acl_final_exec_prefix"
5787
 
 
5788
 
    eval additional_includedir=\"$includedir\"
5789
 
    eval additional_libdir=\"$libdir\"
5790
 
 
5791
 
  exec_prefix="$acl_save_exec_prefix"
5792
 
  prefix="$acl_save_prefix"
5793
 
 
5794
 
 
5795
 
# Check whether --with-libintl-prefix was given.
5796
 
if test "${with_libintl_prefix+set}" = set; then :
5797
 
  withval=$with_libintl_prefix;
5798
 
    if test "X$withval" = "Xno"; then
5799
 
      use_additional=no
5800
 
    else
5801
 
      if test "X$withval" = "X"; then
5802
 
 
5803
 
  acl_save_prefix="$prefix"
5804
 
  prefix="$acl_final_prefix"
5805
 
  acl_save_exec_prefix="$exec_prefix"
5806
 
  exec_prefix="$acl_final_exec_prefix"
5807
 
 
5808
 
          eval additional_includedir=\"$includedir\"
5809
 
          eval additional_libdir=\"$libdir\"
5810
 
 
5811
 
  exec_prefix="$acl_save_exec_prefix"
5812
 
  prefix="$acl_save_prefix"
5813
 
 
5814
 
      else
5815
 
        additional_includedir="$withval/include"
5816
 
        additional_libdir="$withval/lib"
5817
 
      fi
5818
 
    fi
5819
 
 
5820
 
fi
5821
 
 
5822
 
      LIBINTL=
5823
 
  LTLIBINTL=
5824
 
  INCINTL=
5825
 
  rpathdirs=
5826
 
  ltrpathdirs=
5827
 
  names_already_handled=
5828
 
  names_next_round='intl '
5829
 
  while test -n "$names_next_round"; do
5830
 
    names_this_round="$names_next_round"
5831
 
    names_next_round=
5832
 
    for name in $names_this_round; do
5833
 
      already_handled=
5834
 
      for n in $names_already_handled; do
5835
 
        if test "$n" = "$name"; then
5836
 
          already_handled=yes
5837
 
          break
5838
 
        fi
5839
 
      done
5840
 
      if test -z "$already_handled"; then
5841
 
        names_already_handled="$names_already_handled $name"
5842
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5843
 
        eval value=\"\$HAVE_LIB$uppername\"
5844
 
        if test -n "$value"; then
5845
 
          if test "$value" = yes; then
5846
 
            eval value=\"\$LIB$uppername\"
5847
 
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5848
 
            eval value=\"\$LTLIB$uppername\"
5849
 
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5850
 
          else
5851
 
                                    :
5852
 
          fi
5853
 
        else
5854
 
                              found_dir=
5855
 
          found_la=
5856
 
          found_so=
5857
 
          found_a=
5858
 
          if test $use_additional = yes; then
5859
 
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5860
 
              found_dir="$additional_libdir"
5861
 
              found_so="$additional_libdir/lib$name.$shlibext"
5862
 
              if test -f "$additional_libdir/lib$name.la"; then
5863
 
                found_la="$additional_libdir/lib$name.la"
5864
 
              fi
5865
 
            else
5866
 
              if test -f "$additional_libdir/lib$name.$libext"; then
5867
 
                found_dir="$additional_libdir"
5868
 
                found_a="$additional_libdir/lib$name.$libext"
5869
 
                if test -f "$additional_libdir/lib$name.la"; then
5870
 
                  found_la="$additional_libdir/lib$name.la"
5871
 
                fi
5872
 
              fi
5873
 
            fi
5874
 
          fi
5875
 
          if test "X$found_dir" = "X"; then
5876
 
            for x in $LDFLAGS $LTLIBINTL; do
5877
 
 
5878
 
  acl_save_prefix="$prefix"
5879
 
  prefix="$acl_final_prefix"
5880
 
  acl_save_exec_prefix="$exec_prefix"
5881
 
  exec_prefix="$acl_final_exec_prefix"
5882
 
  eval x=\"$x\"
5883
 
  exec_prefix="$acl_save_exec_prefix"
5884
 
  prefix="$acl_save_prefix"
5885
 
 
5886
 
              case "$x" in
5887
 
                -L*)
5888
 
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
5889
 
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5890
 
                    found_dir="$dir"
5891
 
                    found_so="$dir/lib$name.$shlibext"
5892
 
                    if test -f "$dir/lib$name.la"; then
5893
 
                      found_la="$dir/lib$name.la"
5894
 
                    fi
5895
 
                  else
5896
 
                    if test -f "$dir/lib$name.$libext"; then
5897
 
                      found_dir="$dir"
5898
 
                      found_a="$dir/lib$name.$libext"
5899
 
                      if test -f "$dir/lib$name.la"; then
5900
 
                        found_la="$dir/lib$name.la"
5901
 
                      fi
5902
 
                    fi
5903
 
                  fi
5904
 
                  ;;
5905
 
              esac
5906
 
              if test "X$found_dir" != "X"; then
5907
 
                break
5908
 
              fi
5909
 
            done
5910
 
          fi
5911
 
          if test "X$found_dir" != "X"; then
5912
 
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5913
 
            if test "X$found_so" != "X"; then
5914
 
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5915
 
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5916
 
              else
5917
 
                                                                                haveit=
5918
 
                for x in $ltrpathdirs; do
5919
 
                  if test "X$x" = "X$found_dir"; then
5920
 
                    haveit=yes
5921
 
                    break
5922
 
                  fi
5923
 
                done
5924
 
                if test -z "$haveit"; then
5925
 
                  ltrpathdirs="$ltrpathdirs $found_dir"
5926
 
                fi
5927
 
                                if test "$hardcode_direct" = yes; then
5928
 
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5929
 
                else
5930
 
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5931
 
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5932
 
                                                            haveit=
5933
 
                    for x in $rpathdirs; do
5934
 
                      if test "X$x" = "X$found_dir"; then
5935
 
                        haveit=yes
5936
 
                        break
5937
 
                      fi
5938
 
                    done
5939
 
                    if test -z "$haveit"; then
5940
 
                      rpathdirs="$rpathdirs $found_dir"
5941
 
                    fi
5942
 
                  else
5943
 
                                                                                haveit=
5944
 
                    for x in $LDFLAGS $LIBINTL; do
5945
 
 
5946
 
  acl_save_prefix="$prefix"
5947
 
  prefix="$acl_final_prefix"
5948
 
  acl_save_exec_prefix="$exec_prefix"
5949
 
  exec_prefix="$acl_final_exec_prefix"
5950
 
  eval x=\"$x\"
5951
 
  exec_prefix="$acl_save_exec_prefix"
5952
 
  prefix="$acl_save_prefix"
5953
 
 
5954
 
                      if test "X$x" = "X-L$found_dir"; then
5955
 
                        haveit=yes
5956
 
                        break
5957
 
                      fi
5958
 
                    done
5959
 
                    if test -z "$haveit"; then
5960
 
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5961
 
                    fi
5962
 
                    if test "$hardcode_minus_L" != no; then
5963
 
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5964
 
                    else
5965
 
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5966
 
                    fi
5967
 
                  fi
5968
 
                fi
5969
 
              fi
5970
 
            else
5971
 
              if test "X$found_a" != "X"; then
5972
 
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5973
 
              else
5974
 
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5975
 
              fi
5976
 
            fi
5977
 
                        additional_includedir=
5978
 
            case "$found_dir" in
5979
 
              */lib | */lib/)
5980
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5981
 
                additional_includedir="$basedir/include"
5982
 
                ;;
5983
 
            esac
5984
 
            if test "X$additional_includedir" != "X"; then
5985
 
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
5986
 
                haveit=
5987
 
                if test "X$additional_includedir" = "X/usr/local/include"; then
5988
 
                  if test -n "$GCC"; then
5989
 
                    case $host_os in
5990
 
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5991
 
                    esac
5992
 
                  fi
5993
 
                fi
5994
 
                if test -z "$haveit"; then
5995
 
                  for x in $CPPFLAGS $INCINTL; do
5996
 
 
5997
 
  acl_save_prefix="$prefix"
5998
 
  prefix="$acl_final_prefix"
5999
 
  acl_save_exec_prefix="$exec_prefix"
6000
 
  exec_prefix="$acl_final_exec_prefix"
6001
 
  eval x=\"$x\"
6002
 
  exec_prefix="$acl_save_exec_prefix"
6003
 
  prefix="$acl_save_prefix"
6004
 
 
6005
 
                    if test "X$x" = "X-I$additional_includedir"; then
6006
 
                      haveit=yes
6007
 
                      break
6008
 
                    fi
6009
 
                  done
6010
 
                  if test -z "$haveit"; then
6011
 
                    if test -d "$additional_includedir"; then
6012
 
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
6013
 
                    fi
6014
 
                  fi
6015
 
                fi
6016
 
              fi
6017
 
            fi
6018
 
                        if test -n "$found_la"; then
6019
 
                                                        save_libdir="$libdir"
6020
 
              case "$found_la" in
6021
 
                */* | *\\*) . "$found_la" ;;
6022
 
                *) . "./$found_la" ;;
6023
 
              esac
6024
 
              libdir="$save_libdir"
6025
 
                            for dep in $dependency_libs; do
6026
 
                case "$dep" in
6027
 
                  -L*)
6028
 
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
6029
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
6030
 
                      haveit=
6031
 
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
6032
 
                        if test -n "$GCC"; then
6033
 
                          case $host_os in
6034
 
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
6035
 
                          esac
6036
 
                        fi
6037
 
                      fi
6038
 
                      if test -z "$haveit"; then
6039
 
                        haveit=
6040
 
                        for x in $LDFLAGS $LIBINTL; do
6041
 
 
6042
 
  acl_save_prefix="$prefix"
6043
 
  prefix="$acl_final_prefix"
6044
 
  acl_save_exec_prefix="$exec_prefix"
6045
 
  exec_prefix="$acl_final_exec_prefix"
6046
 
  eval x=\"$x\"
6047
 
  exec_prefix="$acl_save_exec_prefix"
6048
 
  prefix="$acl_save_prefix"
6049
 
 
6050
 
                          if test "X$x" = "X-L$additional_libdir"; then
6051
 
                            haveit=yes
6052
 
                            break
6053
 
                          fi
6054
 
                        done
6055
 
                        if test -z "$haveit"; then
6056
 
                          if test -d "$additional_libdir"; then
6057
 
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
6058
 
                          fi
6059
 
                        fi
6060
 
                        haveit=
6061
 
                        for x in $LDFLAGS $LTLIBINTL; do
6062
 
 
6063
 
  acl_save_prefix="$prefix"
6064
 
  prefix="$acl_final_prefix"
6065
 
  acl_save_exec_prefix="$exec_prefix"
6066
 
  exec_prefix="$acl_final_exec_prefix"
6067
 
  eval x=\"$x\"
6068
 
  exec_prefix="$acl_save_exec_prefix"
6069
 
  prefix="$acl_save_prefix"
6070
 
 
6071
 
                          if test "X$x" = "X-L$additional_libdir"; then
6072
 
                            haveit=yes
6073
 
                            break
6074
 
                          fi
6075
 
                        done
6076
 
                        if test -z "$haveit"; then
6077
 
                          if test -d "$additional_libdir"; then
6078
 
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
6079
 
                          fi
6080
 
                        fi
6081
 
                      fi
6082
 
                    fi
6083
 
                    ;;
6084
 
                  -R*)
6085
 
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
6086
 
                    if test "$enable_rpath" != no; then
6087
 
                                                                  haveit=
6088
 
                      for x in $rpathdirs; do
6089
 
                        if test "X$x" = "X$dir"; then
6090
 
                          haveit=yes
6091
 
                          break
6092
 
                        fi
6093
 
                      done
6094
 
                      if test -z "$haveit"; then
6095
 
                        rpathdirs="$rpathdirs $dir"
6096
 
                      fi
6097
 
                                                                  haveit=
6098
 
                      for x in $ltrpathdirs; do
6099
 
                        if test "X$x" = "X$dir"; then
6100
 
                          haveit=yes
6101
 
                          break
6102
 
                        fi
6103
 
                      done
6104
 
                      if test -z "$haveit"; then
6105
 
                        ltrpathdirs="$ltrpathdirs $dir"
6106
 
                      fi
6107
 
                    fi
6108
 
                    ;;
6109
 
                  -l*)
6110
 
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6111
 
                    ;;
6112
 
                  *.la)
6113
 
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6114
 
                    ;;
6115
 
                  *)
6116
 
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
6117
 
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
6118
 
                    ;;
6119
 
                esac
6120
 
              done
6121
 
            fi
6122
 
          else
6123
 
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
6124
 
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
6125
 
          fi
6126
 
        fi
6127
 
      fi
6128
 
    done
6129
 
  done
6130
 
  if test "X$rpathdirs" != "X"; then
6131
 
    if test -n "$hardcode_libdir_separator"; then
6132
 
                        alldirs=
6133
 
      for found_dir in $rpathdirs; do
6134
 
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6135
 
      done
6136
 
            acl_save_libdir="$libdir"
6137
 
      libdir="$alldirs"
6138
 
      eval flag=\"$hardcode_libdir_flag_spec\"
6139
 
      libdir="$acl_save_libdir"
6140
 
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6141
 
    else
6142
 
            for found_dir in $rpathdirs; do
6143
 
        acl_save_libdir="$libdir"
6144
 
        libdir="$found_dir"
6145
 
        eval flag=\"$hardcode_libdir_flag_spec\"
6146
 
        libdir="$acl_save_libdir"
6147
 
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
6148
 
      done
6149
 
    fi
6150
 
  fi
6151
 
  if test "X$ltrpathdirs" != "X"; then
6152
 
            for found_dir in $ltrpathdirs; do
6153
 
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6154
 
    done
6155
 
  fi
6156
 
 
6157
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6158
 
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
6159
 
if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
6160
 
  $as_echo_n "(cached) " >&6
6161
 
else
6162
 
  gt_save_CPPFLAGS="$CPPFLAGS"
6163
 
            CPPFLAGS="$CPPFLAGS $INCINTL"
6164
 
            gt_save_LIBS="$LIBS"
6165
 
            LIBS="$LIBS $LIBINTL"
6166
 
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6167
 
/* end confdefs.h.  */
6168
 
#include <libintl.h>
6169
 
extern int _nl_msg_cat_cntr;
6170
 
extern
6171
 
#ifdef __cplusplus
6172
 
"C"
6173
 
#endif
6174
 
const char *_nl_expand_alias (const char *);
6175
 
int
6176
 
main ()
6177
 
{
6178
 
bindtextdomain ("", "");
6179
 
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6180
 
  ;
6181
 
  return 0;
6182
 
}
6183
 
_ACEOF
6184
 
if ac_fn_cxx_try_link "$LINENO"; then :
6185
 
  gt_cv_func_gnugettext1_libintl=yes
6186
 
else
6187
 
  gt_cv_func_gnugettext1_libintl=no
6188
 
fi
6189
 
rm -f core conftest.err conftest.$ac_objext \
6190
 
    conftest$ac_exeext conftest.$ac_ext
6191
 
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
6192
 
              LIBS="$LIBS $LIBICONV"
6193
 
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194
 
/* end confdefs.h.  */
6195
 
#include <libintl.h>
6196
 
extern int _nl_msg_cat_cntr;
6197
 
extern
6198
 
#ifdef __cplusplus
6199
 
"C"
6200
 
#endif
6201
 
const char *_nl_expand_alias (const char *);
6202
 
int
6203
 
main ()
6204
 
{
6205
 
bindtextdomain ("", "");
6206
 
return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6207
 
  ;
6208
 
  return 0;
6209
 
}
6210
 
_ACEOF
6211
 
if ac_fn_cxx_try_link "$LINENO"; then :
6212
 
  LIBINTL="$LIBINTL $LIBICONV"
6213
 
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6214
 
                gt_cv_func_gnugettext1_libintl=yes
6215
 
 
6216
 
fi
6217
 
rm -f core conftest.err conftest.$ac_objext \
6218
 
    conftest$ac_exeext conftest.$ac_ext
6219
 
            fi
6220
 
            CPPFLAGS="$gt_save_CPPFLAGS"
6221
 
            LIBS="$gt_save_LIBS"
6222
 
fi
6223
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
6224
 
$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
6225
 
        fi
6226
 
 
6227
 
                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
6228
 
           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
6229
 
                && test "$PACKAGE" != gettext-runtime \
6230
 
                && test "$PACKAGE" != gettext-tools; }; then
6231
 
          gt_use_preinstalled_gnugettext=yes
6232
 
        else
6233
 
                    LIBINTL=
6234
 
          LTLIBINTL=
6235
 
          INCINTL=
6236
 
        fi
6237
 
 
6238
 
 
6239
 
 
6240
 
    if test -n "$INTL_MACOSX_LIBS"; then
6241
 
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
6242
 
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
6243
 
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6244
 
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6245
 
      fi
6246
 
    fi
6247
 
 
6248
 
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
6249
 
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
6250
 
 
6251
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6252
 
 
6253
 
    else
6254
 
      USE_NLS=no
6255
 
    fi
6256
 
  fi
6257
 
 
6258
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6259
 
$as_echo_n "checking whether to use NLS... " >&6; }
6260
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6261
 
$as_echo "$USE_NLS" >&6; }
6262
 
  if test "$USE_NLS" = "yes"; then
6263
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6264
 
$as_echo_n "checking where the gettext function comes from... " >&6; }
6265
 
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6266
 
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6267
 
        gt_source="external libintl"
6268
 
      else
6269
 
        gt_source="libc"
6270
 
      fi
6271
 
    else
6272
 
      gt_source="included intl directory"
6273
 
    fi
6274
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6275
 
$as_echo "$gt_source" >&6; }
6276
 
  fi
6277
 
 
6278
 
  if test "$USE_NLS" = "yes"; then
6279
 
 
6280
 
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6281
 
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
6282
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6283
 
$as_echo_n "checking how to link with libintl... " >&6; }
6284
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6285
 
$as_echo "$LIBINTL" >&6; }
6286
 
 
6287
 
  for element in $INCINTL; do
6288
 
    haveit=
6289
 
    for x in $CPPFLAGS; do
6290
 
 
6291
 
  acl_save_prefix="$prefix"
6292
 
  prefix="$acl_final_prefix"
6293
 
  acl_save_exec_prefix="$exec_prefix"
6294
 
  exec_prefix="$acl_final_exec_prefix"
6295
 
  eval x=\"$x\"
6296
 
  exec_prefix="$acl_save_exec_prefix"
6297
 
  prefix="$acl_save_prefix"
6298
 
 
6299
 
      if test "X$x" = "X$element"; then
6300
 
        haveit=yes
6301
 
        break
6302
 
      fi
6303
 
    done
6304
 
    if test -z "$haveit"; then
6305
 
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6306
 
    fi
6307
 
  done
6308
 
 
6309
 
      fi
6310
 
 
6311
 
 
6312
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6313
 
 
6314
 
 
6315
 
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6316
 
 
6317
 
    fi
6318
 
 
6319
 
        POSUB=po
6320
 
  fi
6321
 
 
6322
 
 
6323
 
 
6324
 
    INTLLIBS="$LIBINTL"
6325
 
 
6326
 
 
6327
 
 
6328
 
 
6329
 
 
6330
 
 
6331
 
 
6332
 
 
6333
 
 
6334
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6335
 
        if test -n "$ac_tool_prefix"; then
6336
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6337
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6338
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6339
 
$as_echo_n "checking for $ac_word... " >&6; }
6340
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6341
 
  $as_echo_n "(cached) " >&6
6342
 
else
6343
 
  case $PKG_CONFIG in
6344
 
  [\\/]* | ?:[\\/]*)
6345
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6346
 
  ;;
6347
 
  *)
6348
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349
 
for as_dir in $PATH
6350
 
do
6351
 
  IFS=$as_save_IFS
6352
 
  test -z "$as_dir" && as_dir=.
6353
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6354
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6356
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357
 
    break 2
6358
 
  fi
6359
 
done
6360
 
  done
6361
 
IFS=$as_save_IFS
6362
 
 
6363
 
  ;;
6364
 
esac
6365
 
fi
6366
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6367
 
if test -n "$PKG_CONFIG"; then
6368
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6369
 
$as_echo "$PKG_CONFIG" >&6; }
6370
 
else
6371
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372
 
$as_echo "no" >&6; }
6373
 
fi
6374
 
 
6375
 
 
6376
 
fi
6377
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
6378
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
6379
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
6380
 
set dummy pkg-config; ac_word=$2
6381
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382
 
$as_echo_n "checking for $ac_word... " >&6; }
6383
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
6384
 
  $as_echo_n "(cached) " >&6
6385
 
else
6386
 
  case $ac_pt_PKG_CONFIG in
6387
 
  [\\/]* | ?:[\\/]*)
6388
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6389
 
  ;;
6390
 
  *)
6391
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392
 
for as_dir in $PATH
6393
 
do
6394
 
  IFS=$as_save_IFS
6395
 
  test -z "$as_dir" && as_dir=.
6396
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6397
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6399
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6400
 
    break 2
6401
 
  fi
6402
 
done
6403
 
  done
6404
 
IFS=$as_save_IFS
6405
 
 
6406
 
  ;;
6407
 
esac
6408
 
fi
6409
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6410
 
if test -n "$ac_pt_PKG_CONFIG"; then
6411
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6412
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6413
 
else
6414
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415
 
$as_echo "no" >&6; }
6416
 
fi
6417
 
 
6418
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
6419
 
    PKG_CONFIG=""
6420
 
  else
6421
 
    case $cross_compiling:$ac_tool_warned in
6422
 
yes:)
6423
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6424
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6425
 
ac_tool_warned=yes ;;
6426
 
esac
6427
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
6428
 
  fi
6429
 
else
6430
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6431
 
fi
6432
 
 
6433
 
fi
6434
 
if test -n "$PKG_CONFIG"; then
6435
 
        _pkg_min_version=0.9.0
6436
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6437
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6438
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6439
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6440
 
$as_echo "yes" >&6; }
6441
 
        else
6442
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6443
 
$as_echo "no" >&6; }
6444
 
                PKG_CONFIG=""
6445
 
        fi
6446
 
 
6447
 
fi
6448
 
 
6449
 
pkg_failed=no
6450
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ept" >&5
6451
 
$as_echo_n "checking for ept... " >&6; }
6452
 
 
6453
 
if test -n "$PKG_CONFIG"; then
6454
 
    if test -n "$ept_CFLAGS"; then
6455
 
        pkg_cv_ept_CFLAGS="$ept_CFLAGS"
6456
 
    else
6457
 
        if test -n "$PKG_CONFIG" && \
6458
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libept\""; } >&5
6459
 
  ($PKG_CONFIG --exists --print-errors "libept") 2>&5
6460
 
  ac_status=$?
6461
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6462
 
  test $ac_status = 0; }; then
6463
 
  pkg_cv_ept_CFLAGS=`$PKG_CONFIG --cflags "libept" 2>/dev/null`
6464
 
else
6465
 
  pkg_failed=yes
6466
 
fi
6467
 
    fi
6468
 
else
6469
 
        pkg_failed=untried
6470
 
fi
6471
 
if test -n "$PKG_CONFIG"; then
6472
 
    if test -n "$ept_LIBS"; then
6473
 
        pkg_cv_ept_LIBS="$ept_LIBS"
6474
 
    else
6475
 
        if test -n "$PKG_CONFIG" && \
6476
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libept\""; } >&5
6477
 
  ($PKG_CONFIG --exists --print-errors "libept") 2>&5
6478
 
  ac_status=$?
6479
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6480
 
  test $ac_status = 0; }; then
6481
 
  pkg_cv_ept_LIBS=`$PKG_CONFIG --libs "libept" 2>/dev/null`
6482
 
else
6483
 
  pkg_failed=yes
6484
 
fi
6485
 
    fi
6486
 
else
6487
 
        pkg_failed=untried
6488
 
fi
6489
 
 
6490
 
 
6491
 
 
6492
 
if test $pkg_failed = yes; then
6493
 
 
6494
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6495
 
        _pkg_short_errors_supported=yes
6496
 
else
6497
 
        _pkg_short_errors_supported=no
6498
 
fi
6499
 
        if test $_pkg_short_errors_supported = yes; then
6500
 
                ept_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libept"`
6501
 
        else
6502
 
                ept_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libept"`
6503
 
        fi
6504
 
        # Put the nasty error message in config.log where it belongs
6505
 
        echo "$ept_PKG_ERRORS" >&5
6506
 
 
6507
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508
 
$as_echo "no" >&6; }
6509
 
                as_fn_error "Can't find the ept library -- please install libept-dev" "$LINENO" 5
6510
 
elif test $pkg_failed = untried; then
6511
 
        as_fn_error "Can't find the ept library -- please install libept-dev" "$LINENO" 5
6512
 
else
6513
 
        ept_CFLAGS=$pkg_cv_ept_CFLAGS
6514
 
        ept_LIBS=$pkg_cv_ept_LIBS
6515
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6516
 
$as_echo "yes" >&6; }
6517
 
        :
6518
 
fi
6519
 
 
6520
 
$as_echo "#define HAVE_EPT /**/" >>confdefs.h
6521
 
 
6522
 
 
6523
 
############################ CHECKS FOR EPT ############################
6524
 
 
6525
 
OLD_CXXFLAGS="$CXXFLAGS"
6526
 
 
6527
 
CXXFLAGS="$CXXFLAGS $ept_CFLAGS"
6528
 
 
6529
 
DEBTAGS_OK=0
6530
 
 
6531
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Tag exists" >&5
6532
 
$as_echo_n "checking whether ept::debtags::Tag exists... " >&6; }
6533
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6534
 
/* end confdefs.h.  */
6535
 
 
6536
 
#include <ept/debtags/tag.h>
6537
 
 
6538
 
int main(int argc, char **argv)
6539
 
{
6540
 
  ept::debtags::Tag t;
6541
 
 
6542
 
  return 0;
6543
 
}
6544
 
_ACEOF
6545
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6546
 
 
6547
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6548
 
$as_echo "yes" >&6; }
6549
 
 
6550
 
$as_echo "#define HAVE_EPT_DEBTAGS_TAG /**/" >>confdefs.h
6551
 
 
6552
 
        DEBTAGS_OK=1
6553
 
 
6554
 
else
6555
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556
 
$as_echo "no" >&6; }
6557
 
fi
6558
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6559
 
 
6560
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Facet exists" >&5
6561
 
$as_echo_n "checking whether ept::debtags::Facet exists... " >&6; }
6562
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6563
 
/* end confdefs.h.  */
6564
 
 
6565
 
#include <ept/debtags/tag.h>
6566
 
 
6567
 
int main(int argc, char **argv)
6568
 
{
6569
 
  ept::debtags::Facet f;
6570
 
 
6571
 
  return 0;
6572
 
}
6573
 
_ACEOF
6574
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6575
 
 
6576
 
 
6577
 
$as_echo "#define HAVE_EPT_DEBTAGS_FACET /**/" >>confdefs.h
6578
 
 
6579
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6580
 
$as_echo "yes" >&6; }
6581
 
 
6582
 
else
6583
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584
 
$as_echo "no" >&6; }
6585
 
fi
6586
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6587
 
 
6588
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::getTagsOfItem returns a set of strings." >&5
6589
 
$as_echo_n "checking whether ept::debtags::getTagsOfItem returns a set of strings.... " >&6; }
6590
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6591
 
/* end confdefs.h.  */
6592
 
 
6593
 
#include <ept/debtags/debtags.h>
6594
 
 
6595
 
int main(int argc, char **argv)
6596
 
{
6597
 
  // This would always crash, but we only care if it type-checks.
6598
 
  ept::debtags::Debtags DB;
6599
 
  std::set<std::string> result = DB.getTagsOfItem("foo");
6600
 
 
6601
 
  return 0;
6602
 
}
6603
 
 
6604
 
_ACEOF
6605
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6606
 
 
6607
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6608
 
$as_echo "yes" >&6; }
6609
 
 
6610
 
$as_echo "#define EPT_DEBTAGS_GETTAGSOFITEM_RETURNS_STRINGS /**/" >>confdefs.h
6611
 
 
6612
 
        DEBTAGS_OK=1
6613
 
 
6614
 
else
6615
 
 
6616
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6617
 
$as_echo "no" >&6; }
6618
 
 
6619
 
fi
6620
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6621
 
 
6622
 
if test x$DEBTAGS_OK = x0
6623
 
then
6624
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6625
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6626
 
as_fn_error "Can't figure out how to access the ept debtags database.
6627
 
See \`config.log' for more details." "$LINENO" 5; }
6628
 
fi
6629
 
 
6630
 
TEXTSEARCH_OK=0
6631
 
 
6632
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::textsearch exists" >&5
6633
 
$as_echo_n "checking whether ept::textsearch exists... " >&6; }
6634
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635
 
/* end confdefs.h.  */
6636
 
 
6637
 
#include <ept/textsearch/textsearch.h>
6638
 
 
6639
 
int main(int argc, char **argv)
6640
 
{
6641
 
  ept::textsearch::TextSearch db;
6642
 
 
6643
 
  db.docidByName("foo");
6644
 
 
6645
 
  return 0;
6646
 
}
6647
 
_ACEOF
6648
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6649
 
 
6650
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6651
 
$as_echo "yes" >&6; }
6652
 
 
6653
 
$as_echo "#define HAVE_EPT_TEXTSEARCH /**/" >>confdefs.h
6654
 
 
6655
 
        TEXTSEARCH_OK=1
6656
 
 
6657
 
else
6658
 
 
6659
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660
 
$as_echo "no" >&6; }
6661
 
 
6662
 
fi
6663
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6664
 
 
6665
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept/axi exists" >&5
6666
 
$as_echo_n "checking whether ept/axi exists... " >&6; }
6667
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668
 
/* end confdefs.h.  */
6669
 
 
6670
 
#include <ept/axi/axi.h>
6671
 
 
6672
 
int main(int argc, char **argv)
6673
 
{
6674
 
  Xapian::Database db(ept::axi::path_db());
6675
 
 
6676
 
  return 0;
6677
 
}
6678
 
_ACEOF
6679
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6680
 
 
6681
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6682
 
$as_echo "yes" >&6; }
6683
 
 
6684
 
$as_echo "#define HAVE_EPT_AXI /**/" >>confdefs.h
6685
 
 
6686
 
        TEXTSEARCH_OK=1
6687
 
 
6688
 
else
6689
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690
 
$as_echo "no" >&6; }
6691
 
fi
6692
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6693
 
 
6694
 
if test x$TEXTSEARCH_OK = x0
6695
 
then
6696
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6697
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6698
 
as_fn_error "Can't figure out how to access the ept Xapian database.
6699
 
See \`config.log' for more details." "$LINENO" 5; }
6700
 
fi
6701
 
 
6702
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Vocabulary::tagData exists and returns ept::debtags::voc::TagData *" >&5
6703
 
$as_echo_n "checking whether ept::debtags::Vocabulary::tagData exists and returns ept::debtags::voc::TagData *... " >&6; }
6704
 
 
6705
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706
 
/* end confdefs.h.  */
6707
 
 
6708
 
#include <ept/debtags/vocabulary.h>
6709
 
 
6710
 
int main(int argc, char **argv)
6711
 
{
6712
 
  ept::debtags::Vocabulary vocabulary;
6713
 
  const ept::debtags::voc::TagData *td = vocabulary.tagData("foo");
6714
 
 
6715
 
  // Use td so the compiler doesn't complain:
6716
 
  return td == NULL ? 1 : 0;
6717
 
}
6718
 
_ACEOF
6719
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6720
 
 
6721
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6722
 
$as_echo "yes" >&6; }
6723
 
 
6724
 
$as_echo "#define HAVE_EPT_DEBTAGS_VOCABULARY_TAG_DATA /**/" >>confdefs.h
6725
 
 
6726
 
 
6727
 
else
6728
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729
 
$as_echo "no" >&6; }
6730
 
fi
6731
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732
 
 
6733
 
 
6734
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Vocabulary::facetData exists and returns ept::debtags::voc::FacetData *" >&5
6735
 
$as_echo_n "checking whether ept::debtags::Vocabulary::facetData exists and returns ept::debtags::voc::FacetData *... " >&6; }
6736
 
 
6737
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6738
 
/* end confdefs.h.  */
6739
 
 
6740
 
#include <ept/debtags/vocabulary.h>
6741
 
 
6742
 
int main(int argc, char **argv)
6743
 
{
6744
 
  ept::debtags::Vocabulary vocabulary;
6745
 
  const ept::debtags::voc::FacetData *fd = vocabulary.facetData("foo");
6746
 
 
6747
 
  // Use fd so the compiler doesn't complain:
6748
 
  return fd == NULL ? 1 : 0;
6749
 
}
6750
 
_ACEOF
6751
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6752
 
 
6753
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6754
 
$as_echo "yes" >&6; }
6755
 
 
6756
 
$as_echo "#define HAVE_EPT_DEBTAGS_VOCABULARY_FACET_DATA /**/" >>confdefs.h
6757
 
 
6758
 
 
6759
 
else
6760
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761
 
$as_echo "no" >&6; }
6762
 
fi
6763
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6764
 
 
6765
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Tag::fullname() exists" >&5
6766
 
$as_echo_n "checking whether ept::debtags::Tag::fullname() exists... " >&6; }
6767
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768
 
/* end confdefs.h.  */
6769
 
 
6770
 
#include <ept/debtags/tag.h>
6771
 
 
6772
 
int main(int argc, char **argv)
6773
 
{
6774
 
  ept::debtags::Tag t;
6775
 
 
6776
 
  std::string s = t.fullname();
6777
 
 
6778
 
  return 0;
6779
 
}
6780
 
_ACEOF
6781
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6782
 
 
6783
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6784
 
$as_echo "yes" >&6; }
6785
 
 
6786
 
$as_echo "#define HAVE_EPT_DEBTAGS_TAG_FULLNAME /**/" >>confdefs.h
6787
 
 
6788
 
 
6789
 
else
6790
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791
 
$as_echo "no" >&6; }
6792
 
fi
6793
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6794
 
 
6795
 
 
6796
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Facet exists and supports name()" >&5
6797
 
$as_echo_n "checking whether ept::debtags::Facet exists and supports name()... " >&6; }
6798
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799
 
/* end confdefs.h.  */
6800
 
 
6801
 
#include <ept/debtags/tag.h>
6802
 
 
6803
 
int main(int argc, char **argv)
6804
 
{
6805
 
  ept::debtags::Facet f;
6806
 
 
6807
 
  const std::string name = f.name();
6808
 
 
6809
 
  return 0;
6810
 
}
6811
 
_ACEOF
6812
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6813
 
 
6814
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6815
 
$as_echo "yes" >&6; }
6816
 
 
6817
 
$as_echo "#define HAVE_EPT_DEBTAGS_FACET_NAME /**/" >>confdefs.h
6818
 
 
6819
 
 
6820
 
else
6821
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822
 
$as_echo "no" >&6; }
6823
 
fi
6824
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6825
 
 
6826
 
 
6827
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Facet exists and supports description retrieval" >&5
6828
 
$as_echo_n "checking whether ept::debtags::Facet exists and supports description retrieval... " >&6; }
6829
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6830
 
/* end confdefs.h.  */
6831
 
 
6832
 
#include <ept/debtags/tag.h>
6833
 
 
6834
 
int main(int argc, char **argv)
6835
 
{
6836
 
  ept::debtags::Facet f;
6837
 
 
6838
 
  const std::string longDesc = f.longDescription();
6839
 
  const std::string shortDesc = f.shortDescription();
6840
 
 
6841
 
  return 0;
6842
 
}
6843
 
_ACEOF
6844
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6845
 
 
6846
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6847
 
$as_echo "yes" >&6; }
6848
 
 
6849
 
$as_echo "#define HAVE_EPT_DEBTAGS_FACET_DESCRIPTION /**/" >>confdefs.h
6850
 
 
6851
 
 
6852
 
else
6853
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854
 
$as_echo "no" >&6; }
6855
 
fi
6856
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857
 
 
6858
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ept::debtags::Tag exists and supports description retrieval" >&5
6859
 
$as_echo_n "checking whether ept::debtags::Tag exists and supports description retrieval... " >&6; }
6860
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861
 
/* end confdefs.h.  */
6862
 
 
6863
 
#include <ept/debtags/tag.h>
6864
 
 
6865
 
int main(int argc, char **argv)
6866
 
{
6867
 
  ept::debtags::Tag t;
6868
 
 
6869
 
  const std::string longDesc = t.longDescription();
6870
 
  const std::string shortDesc = t.shortDescription();
6871
 
 
6872
 
  return 0;
6873
 
}
6874
 
_ACEOF
6875
 
if ac_fn_cxx_try_compile "$LINENO"; then :
6876
 
 
6877
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6878
 
$as_echo "yes" >&6; }
6879
 
 
6880
 
$as_echo "#define HAVE_EPT_DEBTAGS_TAG_DESCRIPTION /**/" >>confdefs.h
6881
 
 
6882
 
 
6883
 
else
6884
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885
 
$as_echo "no" >&6; }
6886
 
fi
6887
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6888
 
 
6889
 
CXXFLAGS="$OLD_CXXFLAGS"
6890
 
 
6891
 
########################################################################
6892
 
 
6893
 
 
6894
 
pkg_failed=no
6895
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGC" >&5
6896
 
$as_echo_n "checking for SIGC... " >&6; }
6897
 
 
6898
 
if test -n "$PKG_CONFIG"; then
6899
 
    if test -n "$SIGC_CFLAGS"; then
6900
 
        pkg_cv_SIGC_CFLAGS="$SIGC_CFLAGS"
6901
 
    else
6902
 
        if test -n "$PKG_CONFIG" && \
6903
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
6904
 
  ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
6905
 
  ac_status=$?
6906
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6907
 
  test $ac_status = 0; }; then
6908
 
  pkg_cv_SIGC_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0" 2>/dev/null`
6909
 
else
6910
 
  pkg_failed=yes
6911
 
fi
6912
 
    fi
6913
 
else
6914
 
        pkg_failed=untried
6915
 
fi
6916
 
if test -n "$PKG_CONFIG"; then
6917
 
    if test -n "$SIGC_LIBS"; then
6918
 
        pkg_cv_SIGC_LIBS="$SIGC_LIBS"
6919
 
    else
6920
 
        if test -n "$PKG_CONFIG" && \
6921
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\""; } >&5
6922
 
  ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
6923
 
  ac_status=$?
6924
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6925
 
  test $ac_status = 0; }; then
6926
 
  pkg_cv_SIGC_LIBS=`$PKG_CONFIG --libs "sigc++-2.0" 2>/dev/null`
6927
 
else
6928
 
  pkg_failed=yes
6929
 
fi
6930
 
    fi
6931
 
else
6932
 
        pkg_failed=untried
6933
 
fi
6934
 
 
6935
 
 
6936
 
 
6937
 
if test $pkg_failed = yes; then
6938
 
 
6939
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6940
 
        _pkg_short_errors_supported=yes
6941
 
else
6942
 
        _pkg_short_errors_supported=no
6943
 
fi
6944
 
        if test $_pkg_short_errors_supported = yes; then
6945
 
                SIGC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sigc++-2.0"`
6946
 
        else
6947
 
                SIGC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-2.0"`
6948
 
        fi
6949
 
        # Put the nasty error message in config.log where it belongs
6950
 
        echo "$SIGC_PKG_ERRORS" >&5
6951
 
 
6952
 
        as_fn_error "Package requirements (sigc++-2.0) were not met:
6953
 
 
6954
 
$SIGC_PKG_ERRORS
6955
 
 
6956
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6957
 
installed software in a non-standard prefix.
6958
 
 
6959
 
Alternatively, you may set the environment variables SIGC_CFLAGS
6960
 
and SIGC_LIBS to avoid the need to call pkg-config.
6961
 
See the pkg-config man page for more details.
6962
 
" "$LINENO" 5
6963
 
elif test $pkg_failed = untried; then
6964
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6965
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6966
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
6967
 
is in your PATH or set the PKG_CONFIG environment variable to the full
6968
 
path to pkg-config.
6969
 
 
6970
 
Alternatively, you may set the environment variables SIGC_CFLAGS
6971
 
and SIGC_LIBS to avoid the need to call pkg-config.
6972
 
See the pkg-config man page for more details.
6973
 
 
6974
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6975
 
See \`config.log' for more details." "$LINENO" 5; }
6976
 
else
6977
 
        SIGC_CFLAGS=$pkg_cv_SIGC_CFLAGS
6978
 
        SIGC_LIBS=$pkg_cv_SIGC_LIBS
6979
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6980
 
$as_echo "yes" >&6; }
6981
 
        :
6982
 
fi
6983
 
 
6984
 
 
6985
 
pkg_failed=no
6986
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CWIDGET" >&5
6987
 
$as_echo_n "checking for CWIDGET... " >&6; }
6988
 
 
6989
 
if test -n "$PKG_CONFIG"; then
6990
 
    if test -n "$CWIDGET_CFLAGS"; then
6991
 
        pkg_cv_CWIDGET_CFLAGS="$CWIDGET_CFLAGS"
6992
 
    else
6993
 
        if test -n "$PKG_CONFIG" && \
6994
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cwidget\""; } >&5
6995
 
  ($PKG_CONFIG --exists --print-errors "cwidget") 2>&5
6996
 
  ac_status=$?
6997
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6998
 
  test $ac_status = 0; }; then
6999
 
  pkg_cv_CWIDGET_CFLAGS=`$PKG_CONFIG --cflags "cwidget" 2>/dev/null`
7000
 
else
7001
 
  pkg_failed=yes
7002
 
fi
7003
 
    fi
7004
 
else
7005
 
        pkg_failed=untried
7006
 
fi
7007
 
if test -n "$PKG_CONFIG"; then
7008
 
    if test -n "$CWIDGET_LIBS"; then
7009
 
        pkg_cv_CWIDGET_LIBS="$CWIDGET_LIBS"
7010
 
    else
7011
 
        if test -n "$PKG_CONFIG" && \
7012
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cwidget\""; } >&5
7013
 
  ($PKG_CONFIG --exists --print-errors "cwidget") 2>&5
7014
 
  ac_status=$?
7015
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7016
 
  test $ac_status = 0; }; then
7017
 
  pkg_cv_CWIDGET_LIBS=`$PKG_CONFIG --libs "cwidget" 2>/dev/null`
7018
 
else
7019
 
  pkg_failed=yes
7020
 
fi
7021
 
    fi
7022
 
else
7023
 
        pkg_failed=untried
7024
 
fi
7025
 
 
7026
 
 
7027
 
 
7028
 
if test $pkg_failed = yes; then
7029
 
 
7030
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7031
 
        _pkg_short_errors_supported=yes
7032
 
else
7033
 
        _pkg_short_errors_supported=no
7034
 
fi
7035
 
        if test $_pkg_short_errors_supported = yes; then
7036
 
                CWIDGET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cwidget"`
7037
 
        else
7038
 
                CWIDGET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cwidget"`
7039
 
        fi
7040
 
        # Put the nasty error message in config.log where it belongs
7041
 
        echo "$CWIDGET_PKG_ERRORS" >&5
7042
 
 
7043
 
        as_fn_error "Package requirements (cwidget) were not met:
7044
 
 
7045
 
$CWIDGET_PKG_ERRORS
7046
 
 
7047
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7048
 
installed software in a non-standard prefix.
7049
 
 
7050
 
Alternatively, you may set the environment variables CWIDGET_CFLAGS
7051
 
and CWIDGET_LIBS to avoid the need to call pkg-config.
7052
 
See the pkg-config man page for more details.
7053
 
" "$LINENO" 5
7054
 
elif test $pkg_failed = untried; then
7055
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7056
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7057
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
7058
 
is in your PATH or set the PKG_CONFIG environment variable to the full
7059
 
path to pkg-config.
7060
 
 
7061
 
Alternatively, you may set the environment variables CWIDGET_CFLAGS
7062
 
and CWIDGET_LIBS to avoid the need to call pkg-config.
7063
 
See the pkg-config man page for more details.
7064
 
 
7065
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7066
 
See \`config.log' for more details." "$LINENO" 5; }
7067
 
else
7068
 
        CWIDGET_CFLAGS=$pkg_cv_CWIDGET_CFLAGS
7069
 
        CWIDGET_LIBS=$pkg_cv_CWIDGET_LIBS
7070
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7071
 
$as_echo "yes" >&6; }
7072
 
        :
7073
 
fi
7074
 
 
7075
 
 
7076
 
pkg_failed=no
7077
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VTE" >&5
7078
 
$as_echo_n "checking for VTE... " >&6; }
7079
 
 
7080
 
if test -n "$PKG_CONFIG"; then
7081
 
    if test -n "$VTE_CFLAGS"; then
7082
 
        pkg_cv_VTE_CFLAGS="$VTE_CFLAGS"
7083
 
    else
7084
 
        if test -n "$PKG_CONFIG" && \
7085
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte\""; } >&5
7086
 
  ($PKG_CONFIG --exists --print-errors "vte") 2>&5
7087
 
  ac_status=$?
7088
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7089
 
  test $ac_status = 0; }; then
7090
 
  pkg_cv_VTE_CFLAGS=`$PKG_CONFIG --cflags "vte" 2>/dev/null`
7091
 
else
7092
 
  pkg_failed=yes
7093
 
fi
7094
 
    fi
7095
 
else
7096
 
        pkg_failed=untried
7097
 
fi
7098
 
if test -n "$PKG_CONFIG"; then
7099
 
    if test -n "$VTE_LIBS"; then
7100
 
        pkg_cv_VTE_LIBS="$VTE_LIBS"
7101
 
    else
7102
 
        if test -n "$PKG_CONFIG" && \
7103
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vte\""; } >&5
7104
 
  ($PKG_CONFIG --exists --print-errors "vte") 2>&5
7105
 
  ac_status=$?
7106
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7107
 
  test $ac_status = 0; }; then
7108
 
  pkg_cv_VTE_LIBS=`$PKG_CONFIG --libs "vte" 2>/dev/null`
7109
 
else
7110
 
  pkg_failed=yes
7111
 
fi
7112
 
    fi
7113
 
else
7114
 
        pkg_failed=untried
7115
 
fi
7116
 
 
7117
 
 
7118
 
 
7119
 
if test $pkg_failed = yes; then
7120
 
 
7121
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7122
 
        _pkg_short_errors_supported=yes
7123
 
else
7124
 
        _pkg_short_errors_supported=no
7125
 
fi
7126
 
        if test $_pkg_short_errors_supported = yes; then
7127
 
                VTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vte"`
7128
 
        else
7129
 
                VTE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vte"`
7130
 
        fi
7131
 
        # Put the nasty error message in config.log where it belongs
7132
 
        echo "$VTE_PKG_ERRORS" >&5
7133
 
 
7134
 
        as_fn_error "Package requirements (vte) were not met:
7135
 
 
7136
 
$VTE_PKG_ERRORS
7137
 
 
7138
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7139
 
installed software in a non-standard prefix.
7140
 
 
7141
 
Alternatively, you may set the environment variables VTE_CFLAGS
7142
 
and VTE_LIBS to avoid the need to call pkg-config.
7143
 
See the pkg-config man page for more details.
7144
 
" "$LINENO" 5
7145
 
elif test $pkg_failed = untried; then
7146
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7147
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7148
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
7149
 
is in your PATH or set the PKG_CONFIG environment variable to the full
7150
 
path to pkg-config.
7151
 
 
7152
 
Alternatively, you may set the environment variables VTE_CFLAGS
7153
 
and VTE_LIBS to avoid the need to call pkg-config.
7154
 
See the pkg-config man page for more details.
7155
 
 
7156
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7157
 
See \`config.log' for more details." "$LINENO" 5; }
7158
 
else
7159
 
        VTE_CFLAGS=$pkg_cv_VTE_CFLAGS
7160
 
        VTE_LIBS=$pkg_cv_VTE_LIBS
7161
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7162
 
$as_echo "yes" >&6; }
7163
 
        :
7164
 
fi
7165
 
 
7166
 
ac_ext=cpp
7167
 
ac_cpp='$CXXCPP $CPPFLAGS'
7168
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7171
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7172
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7173
 
if test -z "$CXXCPP"; then
7174
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7175
 
  $as_echo_n "(cached) " >&6
7176
 
else
7177
 
      # Double quotes because CXXCPP needs to be expanded
7178
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7179
 
    do
7180
 
      ac_preproc_ok=false
7181
 
for ac_cxx_preproc_warn_flag in '' yes
7182
 
do
7183
 
  # Use a header file that comes with gcc, so configuring glibc
7184
 
  # with a fresh cross-compiler works.
7185
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7186
 
  # <limits.h> exists even on freestanding compilers.
7187
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7188
 
  # not just through cpp. "Syntax error" is here to catch this case.
7189
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7190
 
/* end confdefs.h.  */
7191
 
#ifdef __STDC__
7192
 
# include <limits.h>
7193
 
#else
7194
 
# include <assert.h>
7195
 
#endif
7196
 
                     Syntax error
7197
 
_ACEOF
7198
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7199
 
 
7200
 
else
7201
 
  # Broken: fails on valid input.
7202
 
continue
7203
 
fi
7204
 
rm -f conftest.err conftest.$ac_ext
7205
 
 
7206
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7207
 
  # can be detected and how.
7208
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209
 
/* end confdefs.h.  */
7210
 
#include <ac_nonexistent.h>
7211
 
_ACEOF
7212
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7213
 
  # Broken: success on invalid input.
7214
 
continue
7215
 
else
7216
 
  # Passes both tests.
7217
 
ac_preproc_ok=:
7218
 
break
7219
 
fi
7220
 
rm -f conftest.err conftest.$ac_ext
7221
 
 
7222
 
done
7223
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7224
 
rm -f conftest.err conftest.$ac_ext
7225
 
if $ac_preproc_ok; then :
7226
 
  break
7227
 
fi
7228
 
 
7229
 
    done
7230
 
    ac_cv_prog_CXXCPP=$CXXCPP
7231
 
 
7232
 
fi
7233
 
  CXXCPP=$ac_cv_prog_CXXCPP
7234
 
else
7235
 
  ac_cv_prog_CXXCPP=$CXXCPP
7236
 
fi
7237
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7238
 
$as_echo "$CXXCPP" >&6; }
7239
 
ac_preproc_ok=false
7240
 
for ac_cxx_preproc_warn_flag in '' yes
7241
 
do
7242
 
  # Use a header file that comes with gcc, so configuring glibc
7243
 
  # with a fresh cross-compiler works.
7244
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7245
 
  # <limits.h> exists even on freestanding compilers.
7246
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7247
 
  # not just through cpp. "Syntax error" is here to catch this case.
7248
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249
 
/* end confdefs.h.  */
7250
 
#ifdef __STDC__
7251
 
# include <limits.h>
7252
 
#else
7253
 
# include <assert.h>
7254
 
#endif
7255
 
                     Syntax error
7256
 
_ACEOF
7257
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7258
 
 
7259
 
else
7260
 
  # Broken: fails on valid input.
7261
 
continue
7262
 
fi
7263
 
rm -f conftest.err conftest.$ac_ext
7264
 
 
7265
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7266
 
  # can be detected and how.
7267
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268
 
/* end confdefs.h.  */
7269
 
#include <ac_nonexistent.h>
7270
 
_ACEOF
7271
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7272
 
  # Broken: success on invalid input.
7273
 
continue
7274
 
else
7275
 
  # Passes both tests.
7276
 
ac_preproc_ok=:
7277
 
break
7278
 
fi
7279
 
rm -f conftest.err conftest.$ac_ext
7280
 
 
7281
 
done
7282
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7283
 
rm -f conftest.err conftest.$ac_ext
7284
 
if $ac_preproc_ok; then :
7285
 
 
7286
 
else
7287
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7288
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7289
 
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
7290
 
See \`config.log' for more details." "$LINENO" 5; }
7291
 
fi
7292
 
 
7293
 
ac_ext=cpp
7294
 
ac_cpp='$CXXCPP $CPPFLAGS'
7295
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7298
 
 
7299
 
 
7300
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7301
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7302
 
if test "${ac_cv_path_GREP+set}" = set; then :
7303
 
  $as_echo_n "(cached) " >&6
7304
 
else
7305
 
  if test -z "$GREP"; then
7306
 
  ac_path_GREP_found=false
7307
 
  # Loop through the user's path and test for each of PROGNAME-LIST
7308
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7310
 
do
7311
 
  IFS=$as_save_IFS
7312
 
  test -z "$as_dir" && as_dir=.
7313
 
    for ac_prog in grep ggrep; do
7314
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7315
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7316
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7317
 
# Check for GNU ac_path_GREP and select it if it is found.
7318
 
  # Check for GNU $ac_path_GREP
7319
 
case `"$ac_path_GREP" --version 2>&1` in
7320
 
*GNU*)
7321
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7322
 
*)
7323
 
  ac_count=0
7324
 
  $as_echo_n 0123456789 >"conftest.in"
7325
 
  while :
7326
 
  do
7327
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7328
 
    mv "conftest.tmp" "conftest.in"
7329
 
    cp "conftest.in" "conftest.nl"
7330
 
    $as_echo 'GREP' >> "conftest.nl"
7331
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7332
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7333
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
7334
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
7335
 
      # Best one so far, save it but keep looking for a better one
7336
 
      ac_cv_path_GREP="$ac_path_GREP"
7337
 
      ac_path_GREP_max=$ac_count
7338
 
    fi
7339
 
    # 10*(2^10) chars as input seems more than enough
7340
 
    test $ac_count -gt 10 && break
7341
 
  done
7342
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7343
 
esac
7344
 
 
7345
 
      $ac_path_GREP_found && break 3
7346
 
    done
7347
 
  done
7348
 
  done
7349
 
IFS=$as_save_IFS
7350
 
  if test -z "$ac_cv_path_GREP"; then
7351
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7352
 
  fi
7353
 
else
7354
 
  ac_cv_path_GREP=$GREP
7355
 
fi
7356
 
 
7357
 
fi
7358
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7359
 
$as_echo "$ac_cv_path_GREP" >&6; }
7360
 
 GREP="$ac_cv_path_GREP"
7361
 
 
7362
 
 
7363
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7364
 
$as_echo_n "checking for egrep... " >&6; }
7365
 
if test "${ac_cv_path_EGREP+set}" = set; then :
7366
 
  $as_echo_n "(cached) " >&6
7367
 
else
7368
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7369
 
   then ac_cv_path_EGREP="$GREP -E"
7370
 
   else
7371
 
     if test -z "$EGREP"; then
7372
 
  ac_path_EGREP_found=false
7373
 
  # Loop through the user's path and test for each of PROGNAME-LIST
7374
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7376
 
do
7377
 
  IFS=$as_save_IFS
7378
 
  test -z "$as_dir" && as_dir=.
7379
 
    for ac_prog in egrep; do
7380
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7381
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7382
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7383
 
# Check for GNU ac_path_EGREP and select it if it is found.
7384
 
  # Check for GNU $ac_path_EGREP
7385
 
case `"$ac_path_EGREP" --version 2>&1` in
7386
 
*GNU*)
7387
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7388
 
*)
7389
 
  ac_count=0
7390
 
  $as_echo_n 0123456789 >"conftest.in"
7391
 
  while :
7392
 
  do
7393
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7394
 
    mv "conftest.tmp" "conftest.in"
7395
 
    cp "conftest.in" "conftest.nl"
7396
 
    $as_echo 'EGREP' >> "conftest.nl"
7397
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7398
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7399
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
7400
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7401
 
      # Best one so far, save it but keep looking for a better one
7402
 
      ac_cv_path_EGREP="$ac_path_EGREP"
7403
 
      ac_path_EGREP_max=$ac_count
7404
 
    fi
7405
 
    # 10*(2^10) chars as input seems more than enough
7406
 
    test $ac_count -gt 10 && break
7407
 
  done
7408
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7409
 
esac
7410
 
 
7411
 
      $ac_path_EGREP_found && break 3
7412
 
    done
7413
 
  done
7414
 
  done
7415
 
IFS=$as_save_IFS
7416
 
  if test -z "$ac_cv_path_EGREP"; then
7417
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7418
 
  fi
7419
 
else
7420
 
  ac_cv_path_EGREP=$EGREP
7421
 
fi
7422
 
 
7423
 
   fi
7424
 
fi
7425
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7426
 
$as_echo "$ac_cv_path_EGREP" >&6; }
7427
 
 EGREP="$ac_cv_path_EGREP"
7428
 
 
7429
 
 
7430
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7431
 
$as_echo_n "checking for ANSI C header files... " >&6; }
7432
 
if test "${ac_cv_header_stdc+set}" = set; then :
7433
 
  $as_echo_n "(cached) " >&6
7434
 
else
7435
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7436
 
/* end confdefs.h.  */
7437
 
#include <stdlib.h>
7438
 
#include <stdarg.h>
7439
 
#include <string.h>
7440
 
#include <float.h>
7441
 
 
7442
 
int
7443
 
main ()
7444
 
{
7445
 
 
7446
 
  ;
7447
 
  return 0;
7448
 
}
7449
 
_ACEOF
7450
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7451
 
  ac_cv_header_stdc=yes
7452
 
else
7453
 
  ac_cv_header_stdc=no
7454
 
fi
7455
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7456
 
 
7457
 
if test $ac_cv_header_stdc = yes; then
7458
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7459
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7460
 
/* end confdefs.h.  */
7461
 
#include <string.h>
7462
 
 
7463
 
_ACEOF
7464
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7465
 
  $EGREP "memchr" >/dev/null 2>&1; then :
7466
 
 
7467
 
else
7468
 
  ac_cv_header_stdc=no
7469
 
fi
7470
 
rm -f conftest*
7471
 
 
7472
 
fi
7473
 
 
7474
 
if test $ac_cv_header_stdc = yes; then
7475
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7476
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477
 
/* end confdefs.h.  */
7478
 
#include <stdlib.h>
7479
 
 
7480
 
_ACEOF
7481
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7482
 
  $EGREP "free" >/dev/null 2>&1; then :
7483
 
 
7484
 
else
7485
 
  ac_cv_header_stdc=no
7486
 
fi
7487
 
rm -f conftest*
7488
 
 
7489
 
fi
7490
 
 
7491
 
if test $ac_cv_header_stdc = yes; then
7492
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7493
 
  if test "$cross_compiling" = yes; then :
7494
 
  :
7495
 
else
7496
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7497
 
/* end confdefs.h.  */
7498
 
#include <ctype.h>
7499
 
#include <stdlib.h>
7500
 
#if ((' ' & 0x0FF) == 0x020)
7501
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7502
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7503
 
#else
7504
 
# define ISLOWER(c) \
7505
 
                   (('a' <= (c) && (c) <= 'i') \
7506
 
                     || ('j' <= (c) && (c) <= 'r') \
7507
 
                     || ('s' <= (c) && (c) <= 'z'))
7508
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7509
 
#endif
7510
 
 
7511
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7512
 
int
7513
 
main ()
7514
 
{
7515
 
  int i;
7516
 
  for (i = 0; i < 256; i++)
7517
 
    if (XOR (islower (i), ISLOWER (i))
7518
 
        || toupper (i) != TOUPPER (i))
7519
 
      return 2;
7520
 
  return 0;
7521
 
}
7522
 
_ACEOF
7523
 
if ac_fn_cxx_try_run "$LINENO"; then :
7524
 
 
7525
 
else
7526
 
  ac_cv_header_stdc=no
7527
 
fi
7528
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7529
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
7530
 
fi
7531
 
 
7532
 
fi
7533
 
fi
7534
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7535
 
$as_echo "$ac_cv_header_stdc" >&6; }
7536
 
if test $ac_cv_header_stdc = yes; then
7537
 
 
7538
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7539
 
 
7540
 
fi
7541
 
 
7542
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7543
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7544
 
                  inttypes.h stdint.h unistd.h
7545
 
do :
7546
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547
 
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7548
 
"
7549
 
eval as_val=\$$as_ac_Header
7550
 
   if test "x$as_val" = x""yes; then :
7551
 
  cat >>confdefs.h <<_ACEOF
7552
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553
 
_ACEOF
7554
 
 
7555
 
fi
7556
 
 
7557
 
done
7558
 
 
7559
 
 
7560
 
for ac_header in boost/algorithm/string.hpp boost/array.hpp boost/compressed_pair.hpp boost/enable_shared_from_this.hpp boost/flyweight/hashed_factory.hpp boost/flyweight.hpp boost/format.hpp boost/functional/hash.hpp boost/function.hpp boost/fusion/adapted/mpl.hpp boost/fusion/algorithm/iteration/fold.hpp boost/fusion/algorithm/iteration/for_each.hpp boost/fusion/algorithm/transformation/clear.hpp boost/fusion/algorithm/transformation/join.hpp boost/fusion/algorithm/transformation/push_back.hpp boost/fusion/algorithm/transformation/push_front.hpp boost/fusion/container/generation/make_vector.hpp boost/fusion/container/list.hpp boost/fusion/container/vector/convert.hpp boost/fusion/container/vector.hpp boost/fusion/functional/adapter/fused.hpp boost/fusion/include/join.hpp boost/fusion/include/mpl.hpp boost/fusion/include/sequence.hpp boost/fusion/iterator/equal_to.hpp boost/fusion/sequence.hpp boost/fusion/support/is_sequence.hpp boost/iostreams/copy.hpp boost/iostreams/device/file.hpp boost/iostreams/filter/gzip.hpp boost/iostreams/filtering_stream.hpp boost/iostreams/invert.hpp boost/iostreams/operations.hpp boost/iostreams/read.hpp boost/iostreams/seek.hpp boost/iostreams/stream.hpp boost/iostreams/write.hpp boost/lambda/bind.hpp boost/lambda/lambda.hpp boost/lexical_cast.hpp boost/make_shared.hpp boost/mpl/begin.hpp boost/mpl/fold.hpp boost/mpl/front.hpp boost/mpl/transform.hpp boost/multi_index_container.hpp boost/multi_index/hashed_index.hpp boost/multi_index/member.hpp boost/multi_index/mem_fun.hpp boost/multi_index/random_access_index.hpp boost/multi_index/sequenced_index.hpp boost/numeric/conversion/cast.hpp boost/optional.hpp boost/preprocessor/repetition/enum_binary_params.hpp boost/preprocessor/repetition/enum_params.hpp boost/preprocessor/repetition/repeat.hpp boost/random.hpp boost/range.hpp boost/ref.hpp boost/scoped_array.hpp boost/scoped_ptr.hpp boost/shared_ptr.hpp boost/test/unit_test.hpp boost/type_traits/is_same.hpp boost/unordered_map.hpp boost/unordered_set.hpp boost/variant.hpp boost/weak_ptr.hpp
7561
 
do :
7562
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7563
 
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7564
 
eval as_val=\$$as_ac_Header
7565
 
   if test "x$as_val" = x""yes; then :
7566
 
  cat >>confdefs.h <<_ACEOF
7567
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7568
 
_ACEOF
7569
 
 
7570
 
 
7571
 
else
7572
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7573
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7574
 
as_fn_error "Boost install not found, too old, or incomplete; install libboost-dev.
7575
 
See \`config.log' for more details." "$LINENO" 5; }
7576
 
fi
7577
 
 
7578
 
done
7579
 
 
7580
 
 
7581
 
 
7582
 
 
7583
 
# Check whether --with-boost was given.
7584
 
if test "${with_boost+set}" = set; then :
7585
 
  withval=$with_boost;
7586
 
    if test "$withval" = "no"; then
7587
 
                want_boost="no"
7588
 
    elif test "$withval" = "yes"; then
7589
 
        want_boost="yes"
7590
 
        ac_boost_path=""
7591
 
    else
7592
 
            want_boost="yes"
7593
 
        ac_boost_path="$withval"
7594
 
        fi
7595
 
 
7596
 
else
7597
 
  want_boost="yes"
7598
 
fi
7599
 
 
7600
 
 
7601
 
if test "x$want_boost" = "xyes"; then
7602
 
        boost_lib_version_req=1.20.0
7603
 
        boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
7604
 
        boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
7605
 
        boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
7606
 
        boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7607
 
        if test "x$boost_lib_version_req_sub_minor" = "x" ; then
7608
 
                boost_lib_version_req_sub_minor="0"
7609
 
        fi
7610
 
        WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+  $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
7611
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
7612
 
$as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
7613
 
        succeeded=no
7614
 
 
7615
 
                                if test "$ac_boost_path" != ""; then
7616
 
                BOOST_LDFLAGS="-L$ac_boost_path/lib"
7617
 
                BOOST_CPPFLAGS="-I$ac_boost_path/include"
7618
 
        else
7619
 
                for ac_boost_path_tmp in /usr /usr/local /opt ; do
7620
 
                        if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
7621
 
                                BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib"
7622
 
                                BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
7623
 
                                break;
7624
 
                        fi
7625
 
                done
7626
 
        fi
7627
 
 
7628
 
        CPPFLAGS_SAVED="$CPPFLAGS"
7629
 
        CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
7630
 
        export CPPFLAGS
7631
 
 
7632
 
        LDFLAGS_SAVED="$LDFLAGS"
7633
 
        LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
7634
 
        export LDFLAGS
7635
 
 
7636
 
        ac_ext=cpp
7637
 
ac_cpp='$CXXCPP $CPPFLAGS'
7638
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7639
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7640
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7641
 
 
7642
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643
 
/* end confdefs.h.  */
7644
 
 
7645
 
        #include <boost/version.hpp>
7646
 
 
7647
 
int
7648
 
main ()
7649
 
{
7650
 
 
7651
 
        #if BOOST_VERSION >= $WANT_BOOST_VERSION
7652
 
        // Everything is okay
7653
 
        #else
7654
 
        #  error Boost version is too old
7655
 
        #endif
7656
 
 
7657
 
  ;
7658
 
  return 0;
7659
 
}
7660
 
_ACEOF
7661
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7662
 
 
7663
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7664
 
$as_echo "yes" >&6; }
7665
 
        succeeded=yes
7666
 
        found_system=yes
7667
 
 
7668
 
fi
7669
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7670
 
        ac_ext=cpp
7671
 
ac_cpp='$CXXCPP $CPPFLAGS'
7672
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7673
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7674
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7675
 
 
7676
 
 
7677
 
 
7678
 
 
7679
 
                        if test "x$succeeded" != "xyes"; then
7680
 
                _version=0
7681
 
                if test "$ac_boost_path" != ""; then
7682
 
                        BOOST_LDFLAGS="-L$ac_boost_path/lib"
7683
 
                        if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
7684
 
                                for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
7685
 
                                        _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
7686
 
                                        V_CHECK=`expr $_version_tmp \> $_version`
7687
 
                                        if test "$V_CHECK" = "1" ; then
7688
 
                                                _version=$_version_tmp
7689
 
                                        fi
7690
 
                                        VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
7691
 
                                        BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
7692
 
                                done
7693
 
                        fi
7694
 
                else
7695
 
                        for ac_boost_path in /usr /usr/local /opt ; do
7696
 
                                if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
7697
 
                                        for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
7698
 
                                                _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
7699
 
                                                V_CHECK=`expr $_version_tmp \> $_version`
7700
 
                                                if test "$V_CHECK" = "1" ; then
7701
 
                                                        _version=$_version_tmp
7702
 
                                                        best_path=$ac_boost_path
7703
 
                                                fi
7704
 
                                        done
7705
 
                                fi
7706
 
                        done
7707
 
 
7708
 
                        VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
7709
 
                        BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
7710
 
                        BOOST_LDFLAGS="-L$best_path/lib"
7711
 
 
7712
 
                        if test "x$BOOST_ROOT" != "x"; then
7713
 
                                if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then
7714
 
                                        version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
7715
 
                                        stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
7716
 
                                        stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
7717
 
                                        V_CHECK=`expr $stage_version_shorten \>\= $_version`
7718
 
                                        if test "$V_CHECK" = "1" ; then
7719
 
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
7720
 
$as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
7721
 
                                                BOOST_CPPFLAGS="-I$BOOST_ROOT"
7722
 
                                                BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib"
7723
 
                                        fi
7724
 
                                fi
7725
 
                        fi
7726
 
                fi
7727
 
 
7728
 
                CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
7729
 
                export CPPFLAGS
7730
 
                LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
7731
 
                export LDFLAGS
7732
 
 
7733
 
                ac_ext=cpp
7734
 
ac_cpp='$CXXCPP $CPPFLAGS'
7735
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7736
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7737
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7738
 
 
7739
 
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740
 
/* end confdefs.h.  */
7741
 
 
7742
 
                #include <boost/version.hpp>
7743
 
 
7744
 
int
7745
 
main ()
7746
 
{
7747
 
 
7748
 
                #if BOOST_VERSION >= $WANT_BOOST_VERSION
7749
 
                // Everything is okay
7750
 
                #else
7751
 
                #  error Boost version is too old
7752
 
                #endif
7753
 
 
7754
 
  ;
7755
 
  return 0;
7756
 
}
7757
 
_ACEOF
7758
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7759
 
 
7760
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7761
 
$as_echo "yes" >&6; }
7762
 
                succeeded=yes
7763
 
                found_system=yes
7764
 
 
7765
 
fi
7766
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7767
 
                ac_ext=cpp
7768
 
ac_cpp='$CXXCPP $CPPFLAGS'
7769
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7770
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7771
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7772
 
 
7773
 
        fi
7774
 
 
7775
 
        if test "$succeeded" != "yes" ; then
7776
 
                if test "$_version" = "0" ; then
7777
 
                        as_fn_error "We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." "$LINENO" 5
7778
 
                else
7779
 
                        { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
7780
 
$as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
7781
 
                fi
7782
 
        else
7783
 
 
7784
 
 
7785
 
 
7786
 
$as_echo "#define HAVE_BOOST /**/" >>confdefs.h
7787
 
 
7788
 
        fi
7789
 
 
7790
 
        CPPFLAGS="$CPPFLAGS_SAVED"
7791
 
        LDFLAGS="$LDFLAGS_SAVED"
7792
 
else
7793
 
        as_fn_error "Boost is required for compilation and may not be disabled." "$LINENO" 5
7794
 
fi
7795
 
 
7796
 
 
7797
 
 
7798
 
 
7799
 
# Check whether --with-boost-iostreams was given.
7800
 
if test "${with_boost_iostreams+set}" = set; then :
7801
 
  withval=$with_boost_iostreams;
7802
 
        if test "$withval" = "no"; then
7803
 
                        want_boost="no"
7804
 
        elif test "$withval" = "yes"; then
7805
 
            want_boost="yes"
7806
 
            ax_boost_user_iostreams_lib=""
7807
 
        else
7808
 
                    want_boost="yes"
7809
 
                ax_boost_user_iostreams_lib="$withval"
7810
 
                fi
7811
 
 
7812
 
else
7813
 
  want_boost="yes"
7814
 
 
7815
 
fi
7816
 
 
7817
 
 
7818
 
        if test "x$want_boost" = "xyes"; then
7819
 
 
7820
 
                CPPFLAGS_SAVED="$CPPFLAGS"
7821
 
                CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
7822
 
                export CPPFLAGS
7823
 
 
7824
 
                LDFLAGS_SAVED="$LDFLAGS"
7825
 
                LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
7826
 
                export LDFLAGS
7827
 
 
7828
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::IOStreams library is available" >&5
7829
 
$as_echo_n "checking whether the Boost::IOStreams library is available... " >&6; }
7830
 
if test "${ax_cv_boost_iostreams+set}" = set; then :
7831
 
  $as_echo_n "(cached) " >&6
7832
 
else
7833
 
  ac_ext=cpp
7834
 
ac_cpp='$CXXCPP $CPPFLAGS'
7835
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7838
 
 
7839
 
                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7840
 
/* end confdefs.h.  */
7841
 
#include <boost/iostreams/filtering_stream.hpp>
7842
 
                                                                                         #include <boost/range/iterator_range.hpp>
7843
 
 
7844
 
int
7845
 
main ()
7846
 
{
7847
 
std::string  input = "Hello World!";
7848
 
                                                                 namespace io = boost::iostreams;
7849
 
                                                                         io::filtering_istream  in(boost::make_iterator_range(input));
7850
 
                                                                         return 0;
7851
 
 
7852
 
  ;
7853
 
  return 0;
7854
 
}
7855
 
_ACEOF
7856
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7857
 
  ax_cv_boost_iostreams=yes
7858
 
else
7859
 
  ax_cv_boost_iostreams=no
7860
 
fi
7861
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7862
 
         ac_ext=cpp
7863
 
ac_cpp='$CXXCPP $CPPFLAGS'
7864
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7865
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7866
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7867
 
 
7868
 
 
7869
 
fi
7870
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_iostreams" >&5
7871
 
$as_echo "$ax_cv_boost_iostreams" >&6; }
7872
 
                if test "x$ax_cv_boost_iostreams" = "xyes"; then
7873
 
 
7874
 
$as_echo "#define HAVE_BOOST_IOSTREAMS /**/" >>confdefs.h
7875
 
 
7876
 
                        BN=boost_iostreams
7877
 
            if test "x$ax_boost_user_iostreams_lib" = "x"; then
7878
 
                                for ax_lib in $BN-mt $BN-$CC-mt $BN-$CC-mt-s \
7879
 
                              lib$BN-mt lib$BN-$CC-mt lib$BN-$CC-mt-s \
7880
 
                              $BN-mgw-mt $BN-mgw-mt-s \
7881
 
                              $BN $BN-$CC $BN-$CC-s lib$BN lib$BN-$CC lib$BN-$CC-s ; do
7882
 
                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh`
7883
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5
7884
 
$as_echo_n "checking for main in -l$ax_lib... " >&6; }
7885
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
7886
 
  $as_echo_n "(cached) " >&6
7887
 
else
7888
 
  ac_check_lib_save_LIBS=$LIBS
7889
 
LIBS="-l$ax_lib  $LIBS"
7890
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891
 
/* end confdefs.h.  */
7892
 
 
7893
 
 
7894
 
int
7895
 
main ()
7896
 
{
7897
 
return main ();
7898
 
  ;
7899
 
  return 0;
7900
 
}
7901
 
_ACEOF
7902
 
if ac_fn_cxx_try_link "$LINENO"; then :
7903
 
  eval "$as_ac_Lib=yes"
7904
 
else
7905
 
  eval "$as_ac_Lib=no"
7906
 
fi
7907
 
rm -f core conftest.err conftest.$ac_objext \
7908
 
    conftest$ac_exeext conftest.$ac_ext
7909
 
LIBS=$ac_check_lib_save_LIBS
7910
 
fi
7911
 
eval ac_res=\$$as_ac_Lib
7912
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7913
 
$as_echo "$ac_res" >&6; }
7914
 
eval as_val=\$$as_ac_Lib
7915
 
   if test "x$as_val" = x""yes; then :
7916
 
  BOOST_IOSTREAMS_LIB="-l$ax_lib"  link_iostreams="yes" break
7917
 
else
7918
 
  link_iostreams="no"
7919
 
fi
7920
 
 
7921
 
                                done
7922
 
            else
7923
 
               for ax_lib in $ax_boost_user_iostreams_lib $BN-$ax_boost_user_iostreams_lib; do
7924
 
                                      as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh`
7925
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5
7926
 
$as_echo_n "checking for main in -l$ax_lib... " >&6; }
7927
 
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
7928
 
  $as_echo_n "(cached) " >&6
7929
 
else
7930
 
  ac_check_lib_save_LIBS=$LIBS
7931
 
LIBS="-l$ax_lib  $LIBS"
7932
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7933
 
/* end confdefs.h.  */
7934
 
 
7935
 
 
7936
 
int
7937
 
main ()
7938
 
{
7939
 
return main ();
7940
 
  ;
7941
 
  return 0;
7942
 
}
7943
 
_ACEOF
7944
 
if ac_fn_cxx_try_link "$LINENO"; then :
7945
 
  eval "$as_ac_Lib=yes"
7946
 
else
7947
 
  eval "$as_ac_Lib=no"
7948
 
fi
7949
 
rm -f core conftest.err conftest.$ac_objext \
7950
 
    conftest$ac_exeext conftest.$ac_ext
7951
 
LIBS=$ac_check_lib_save_LIBS
7952
 
fi
7953
 
eval ac_res=\$$as_ac_Lib
7954
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7955
 
$as_echo "$ac_res" >&6; }
7956
 
eval as_val=\$$as_ac_Lib
7957
 
   if test "x$as_val" = x""yes; then :
7958
 
  BOOST_IOSTREAMS_LIB="-l$ax_lib"  link_iostreams="yes" break
7959
 
else
7960
 
  link_iostreams="no"
7961
 
fi
7962
 
 
7963
 
                  done
7964
 
 
7965
 
            fi
7966
 
                        if test "x$link_iostreams" = "xno"; then
7967
 
                                as_fn_error "Could not link against $ax_lib !" "$LINENO" 5
7968
 
                        fi
7969
 
                fi
7970
 
 
7971
 
                CPPFLAGS="$CPPFLAGS_SAVED"
7972
 
        LDFLAGS="$LDFLAGS_SAVED"
7973
 
        else
7974
 
                as_fn_error "Boost IOStreams is required and may not be disabled." "$LINENO" 5
7975
 
        fi
7976
 
 
7977
 
 
7978
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the calling convertion of boost::fusion::fold" >&5
7979
 
$as_echo_n "checking the calling convertion of boost::fusion::fold... " >&6; }
7980
 
# Test the order of arguments to the function passed into fold; this
7981
 
# was randomly changed in Boost version 1.42 (because no-one needs a
7982
 
# stable API, or something).
7983
 
#
7984
 
# For the test to work at compile-time, the types of the arguments to
7985
 
# fold must be incompatible; the actual operations performed are
7986
 
# irrelevant.  My fold operator takes an int and a class, and returns
7987
 
# the empty string.
7988
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989
 
/* end confdefs.h.  */
7990
 
 
7991
 
#include <boost/fusion/algorithm/iteration/fold.hpp>
7992
 
#include <boost/fusion/container/vector.hpp>
7993
 
#include <boost/fusion/include/fold.hpp>
7994
 
#include <boost/fusion/include/vector.hpp>
7995
 
 
7996
 
struct T
7997
 
{
7998
 
};
7999
 
 
8000
 
struct F
8001
 
{
8002
 
  T operator()(const T &t, int n) const
8003
 
  {
8004
 
    return T();
8005
 
  }
8006
 
  typedef T result_type;
8007
 
};
8008
 
 
8009
 
int main(int argc, char **argv)
8010
 
{
8011
 
  boost::fusion::vector<int, int, int> v(5, 3, 1);
8012
 
  boost::fusion::fold(v, T(), F());
8013
 
}
8014
 
_ACEOF
8015
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8016
 
 
8017
 
                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: State first, then value" >&5
8018
 
$as_echo "State first, then value" >&6; }
8019
 
 
8020
 
$as_echo "#define BOOST_FUSION_FOLD_STATE_BEFORE_VALUE /**/" >>confdefs.h
8021
 
 
8022
 
 
8023
 
else
8024
 
 
8025
 
                   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8026
 
/* end confdefs.h.  */
8027
 
 
8028
 
#include <boost/fusion/algorithm/iteration/fold.hpp>
8029
 
#include <boost/fusion/container/vector.hpp>
8030
 
#include <boost/fusion/include/fold.hpp>
8031
 
#include <boost/fusion/include/vector.hpp>
8032
 
 
8033
 
struct T
8034
 
{
8035
 
};
8036
 
 
8037
 
struct F
8038
 
{
8039
 
  T operator()(int n, const T &t) const
8040
 
  {
8041
 
    return T();
8042
 
  }
8043
 
  typedef T result_type;
8044
 
};
8045
 
 
8046
 
int main(int argc, char **argv)
8047
 
{
8048
 
  boost::fusion::vector<int, int, int> v(5, 3, 1);
8049
 
  boost::fusion::fold(v, T(), F());
8050
 
}
8051
 
 
8052
 
_ACEOF
8053
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8054
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Value first, then state" >&5
8055
 
$as_echo "Value first, then state" >&6; }
8056
 
else
8057
 
  as_fn_error "Can't figure out how to invoke boost::fusion::fold" "$LINENO" 5
8058
 
fi
8059
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8060
 
 
8061
 
fi
8062
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8063
 
 
8064
 
 
8065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name of the runtime library for Boost.Test" >&5
8066
 
$as_echo_n "checking the name of the runtime library for Boost.Test... " >&6; }
8067
 
 
8068
 
 
8069
 
##### Boost.Test check #####
8070
 
OLDLIBS="$LIBS"
8071
 
for libname in boost_unit_test_framework-mt boost_unit_test_framework
8072
 
do
8073
 
  LIBS="$LIBS -l$libname"
8074
 
 
8075
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8076
 
/* end confdefs.h.  */
8077
 
 
8078
 
#define BOOST_TEST_DYN_LINK
8079
 
#define BOOST_TEST_NO_MAIN
8080
 
 
8081
 
#include <boost/test/unit_test.hpp>
8082
 
 
8083
 
bool init_unit_test()
8084
 
{
8085
 
  return true;
8086
 
}
8087
 
 
8088
 
int main(int argc, char **argv)
8089
 
{
8090
 
  return boost::unit_test::unit_test_main(init_unit_test, argc, argv);
8091
 
}
8092
 
 
8093
 
_ACEOF
8094
 
if ac_fn_cxx_try_link "$LINENO"; then :
8095
 
  BOOST_UNIT_TEST_LIBS="-l$libname"
8096
 
fi
8097
 
rm -f core conftest.err conftest.$ac_objext \
8098
 
    conftest$ac_exeext conftest.$ac_ext
8099
 
 
8100
 
  LIBS="$OLDLIBS"
8101
 
done
8102
 
 
8103
 
if test -z "$BOOST_UNIT_TEST_LIBS"
8104
 
then
8105
 
  # TODO: just disable the unit tests?
8106
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8107
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8108
 
as_fn_error "Can't find the Boost unit test library; install libboost-test-dev.
8109
 
See \`config.log' for more details." "$LINENO" 5; }
8110
 
else
8111
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$BOOST_UNIT_TEST_LIBS\"" >&5
8112
 
$as_echo "\"$BOOST_UNIT_TEST_LIBS\"" >&6; }
8113
 
fi
8114
 
 
8115
 
 
8116
 
 
8117
 
##### End Boost.Test check #####
8118
 
 
8119
 
 
8120
 
pkg_failed=no
8121
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE3" >&5
8122
 
$as_echo_n "checking for SQLITE3... " >&6; }
8123
 
 
8124
 
if test -n "$PKG_CONFIG"; then
8125
 
    if test -n "$SQLITE3_CFLAGS"; then
8126
 
        pkg_cv_SQLITE3_CFLAGS="$SQLITE3_CFLAGS"
8127
 
    else
8128
 
        if test -n "$PKG_CONFIG" && \
8129
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
8130
 
  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
8131
 
  ac_status=$?
8132
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8133
 
  test $ac_status = 0; }; then
8134
 
  pkg_cv_SQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
8135
 
else
8136
 
  pkg_failed=yes
8137
 
fi
8138
 
    fi
8139
 
else
8140
 
        pkg_failed=untried
8141
 
fi
8142
 
if test -n "$PKG_CONFIG"; then
8143
 
    if test -n "$SQLITE3_LIBS"; then
8144
 
        pkg_cv_SQLITE3_LIBS="$SQLITE3_LIBS"
8145
 
    else
8146
 
        if test -n "$PKG_CONFIG" && \
8147
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
8148
 
  ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
8149
 
  ac_status=$?
8150
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8151
 
  test $ac_status = 0; }; then
8152
 
  pkg_cv_SQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
8153
 
else
8154
 
  pkg_failed=yes
8155
 
fi
8156
 
    fi
8157
 
else
8158
 
        pkg_failed=untried
8159
 
fi
8160
 
 
8161
 
 
8162
 
 
8163
 
if test $pkg_failed = yes; then
8164
 
 
8165
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8166
 
        _pkg_short_errors_supported=yes
8167
 
else
8168
 
        _pkg_short_errors_supported=no
8169
 
fi
8170
 
        if test $_pkg_short_errors_supported = yes; then
8171
 
                SQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sqlite3"`
8172
 
        else
8173
 
                SQLITE3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sqlite3"`
8174
 
        fi
8175
 
        # Put the nasty error message in config.log where it belongs
8176
 
        echo "$SQLITE3_PKG_ERRORS" >&5
8177
 
 
8178
 
        as_fn_error "Package requirements (sqlite3) were not met:
8179
 
 
8180
 
$SQLITE3_PKG_ERRORS
8181
 
 
8182
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8183
 
installed software in a non-standard prefix.
8184
 
 
8185
 
Alternatively, you may set the environment variables SQLITE3_CFLAGS
8186
 
and SQLITE3_LIBS to avoid the need to call pkg-config.
8187
 
See the pkg-config man page for more details.
8188
 
" "$LINENO" 5
8189
 
elif test $pkg_failed = untried; then
8190
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8191
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8192
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
8193
 
is in your PATH or set the PKG_CONFIG environment variable to the full
8194
 
path to pkg-config.
8195
 
 
8196
 
Alternatively, you may set the environment variables SQLITE3_CFLAGS
8197
 
and SQLITE3_LIBS to avoid the need to call pkg-config.
8198
 
See the pkg-config man page for more details.
8199
 
 
8200
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8201
 
See \`config.log' for more details." "$LINENO" 5; }
8202
 
else
8203
 
        SQLITE3_CFLAGS=$pkg_cv_SQLITE3_CFLAGS
8204
 
        SQLITE3_LIBS=$pkg_cv_SQLITE3_LIBS
8205
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8206
 
$as_echo "yes" >&6; }
8207
 
        :
8208
 
fi
8209
 
 
8210
 
HAVE_GTK=1
8211
 
# Check whether --enable-gtk was given.
8212
 
if test "${enable_gtk+set}" = set; then :
8213
 
  enableval=$enable_gtk; if test x$enableval = xyes
8214
 
         then
8215
 
             HAVE_GTK=1
8216
 
         else
8217
 
             HAVE_GTK=
8218
 
         fi
8219
 
fi
8220
 
 
8221
 
 
8222
 
WANT_HAVE_GTK=$HAVE_GTK
8223
 
 
8224
 
if test x$HAVE_GTK = x1
8225
 
then
8226
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Testing for the libraries needed to build the GTK+ frontend." >&5
8227
 
$as_echo "$as_me: Testing for the libraries needed to build the GTK+ frontend." >&6;}
8228
 
 
8229
 
 
8230
 
pkg_failed=no
8231
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIBMM" >&5
8232
 
$as_echo_n "checking for GLIBMM... " >&6; }
8233
 
 
8234
 
if test -n "$PKG_CONFIG"; then
8235
 
    if test -n "$GLIBMM_CFLAGS"; then
8236
 
        pkg_cv_GLIBMM_CFLAGS="$GLIBMM_CFLAGS"
8237
 
    else
8238
 
        if test -n "$PKG_CONFIG" && \
8239
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
8240
 
  ($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
8241
 
  ac_status=$?
8242
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8243
 
  test $ac_status = 0; }; then
8244
 
  pkg_cv_GLIBMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4" 2>/dev/null`
8245
 
else
8246
 
  pkg_failed=yes
8247
 
fi
8248
 
    fi
8249
 
else
8250
 
        pkg_failed=untried
8251
 
fi
8252
 
if test -n "$PKG_CONFIG"; then
8253
 
    if test -n "$GLIBMM_LIBS"; then
8254
 
        pkg_cv_GLIBMM_LIBS="$GLIBMM_LIBS"
8255
 
    else
8256
 
        if test -n "$PKG_CONFIG" && \
8257
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4\""; } >&5
8258
 
  ($PKG_CONFIG --exists --print-errors "glibmm-2.4") 2>&5
8259
 
  ac_status=$?
8260
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8261
 
  test $ac_status = 0; }; then
8262
 
  pkg_cv_GLIBMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4" 2>/dev/null`
8263
 
else
8264
 
  pkg_failed=yes
8265
 
fi
8266
 
    fi
8267
 
else
8268
 
        pkg_failed=untried
8269
 
fi
8270
 
 
8271
 
 
8272
 
 
8273
 
if test $pkg_failed = yes; then
8274
 
 
8275
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8276
 
        _pkg_short_errors_supported=yes
8277
 
else
8278
 
        _pkg_short_errors_supported=no
8279
 
fi
8280
 
        if test $_pkg_short_errors_supported = yes; then
8281
 
                GLIBMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4"`
8282
 
        else
8283
 
                GLIBMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4"`
8284
 
        fi
8285
 
        # Put the nasty error message in config.log where it belongs
8286
 
        echo "$GLIBMM_PKG_ERRORS" >&5
8287
 
 
8288
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8289
 
$as_echo "no" >&6; }
8290
 
                HAVE_GTK=
8291
 
elif test $pkg_failed = untried; then
8292
 
        HAVE_GTK=
8293
 
else
8294
 
        GLIBMM_CFLAGS=$pkg_cv_GLIBMM_CFLAGS
8295
 
        GLIBMM_LIBS=$pkg_cv_GLIBMM_LIBS
8296
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8297
 
$as_echo "yes" >&6; }
8298
 
        :
8299
 
fi
8300
 
 
8301
 
pkg_failed=no
8302
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
8303
 
$as_echo_n "checking for GTHREAD... " >&6; }
8304
 
 
8305
 
if test -n "$PKG_CONFIG"; then
8306
 
    if test -n "$GTHREAD_CFLAGS"; then
8307
 
        pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
8308
 
    else
8309
 
        if test -n "$PKG_CONFIG" && \
8310
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
8311
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
8312
 
  ac_status=$?
8313
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8314
 
  test $ac_status = 0; }; then
8315
 
  pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
8316
 
else
8317
 
  pkg_failed=yes
8318
 
fi
8319
 
    fi
8320
 
else
8321
 
        pkg_failed=untried
8322
 
fi
8323
 
if test -n "$PKG_CONFIG"; then
8324
 
    if test -n "$GTHREAD_LIBS"; then
8325
 
        pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
8326
 
    else
8327
 
        if test -n "$PKG_CONFIG" && \
8328
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
8329
 
  ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
8330
 
  ac_status=$?
8331
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8332
 
  test $ac_status = 0; }; then
8333
 
  pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
8334
 
else
8335
 
  pkg_failed=yes
8336
 
fi
8337
 
    fi
8338
 
else
8339
 
        pkg_failed=untried
8340
 
fi
8341
 
 
8342
 
 
8343
 
 
8344
 
if test $pkg_failed = yes; then
8345
 
 
8346
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8347
 
        _pkg_short_errors_supported=yes
8348
 
else
8349
 
        _pkg_short_errors_supported=no
8350
 
fi
8351
 
        if test $_pkg_short_errors_supported = yes; then
8352
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
8353
 
        else
8354
 
                GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
8355
 
        fi
8356
 
        # Put the nasty error message in config.log where it belongs
8357
 
        echo "$GTHREAD_PKG_ERRORS" >&5
8358
 
 
8359
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8360
 
$as_echo "no" >&6; }
8361
 
                HAVE_GTK=
8362
 
elif test $pkg_failed = untried; then
8363
 
        HAVE_GTK=
8364
 
else
8365
 
        GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
8366
 
        GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
8367
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8368
 
$as_echo "yes" >&6; }
8369
 
        :
8370
 
fi
8371
 
 
8372
 
pkg_failed=no
8373
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKMM" >&5
8374
 
$as_echo_n "checking for GTKMM... " >&6; }
8375
 
 
8376
 
if test -n "$PKG_CONFIG"; then
8377
 
    if test -n "$GTKMM_CFLAGS"; then
8378
 
        pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
8379
 
    else
8380
 
        if test -n "$PKG_CONFIG" && \
8381
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
8382
 
  ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
8383
 
  ac_status=$?
8384
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8385
 
  test $ac_status = 0; }; then
8386
 
  pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4" 2>/dev/null`
8387
 
else
8388
 
  pkg_failed=yes
8389
 
fi
8390
 
    fi
8391
 
else
8392
 
        pkg_failed=untried
8393
 
fi
8394
 
if test -n "$PKG_CONFIG"; then
8395
 
    if test -n "$GTKMM_LIBS"; then
8396
 
        pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
8397
 
    else
8398
 
        if test -n "$PKG_CONFIG" && \
8399
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4\""; } >&5
8400
 
  ($PKG_CONFIG --exists --print-errors "gtkmm-2.4") 2>&5
8401
 
  ac_status=$?
8402
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8403
 
  test $ac_status = 0; }; then
8404
 
  pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4" 2>/dev/null`
8405
 
else
8406
 
  pkg_failed=yes
8407
 
fi
8408
 
    fi
8409
 
else
8410
 
        pkg_failed=untried
8411
 
fi
8412
 
 
8413
 
 
8414
 
 
8415
 
if test $pkg_failed = yes; then
8416
 
 
8417
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8418
 
        _pkg_short_errors_supported=yes
8419
 
else
8420
 
        _pkg_short_errors_supported=no
8421
 
fi
8422
 
        if test $_pkg_short_errors_supported = yes; then
8423
 
                GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4"`
8424
 
        else
8425
 
                GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4"`
8426
 
        fi
8427
 
        # Put the nasty error message in config.log where it belongs
8428
 
        echo "$GTKMM_PKG_ERRORS" >&5
8429
 
 
8430
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8431
 
$as_echo "no" >&6; }
8432
 
                HAVE_GTK=
8433
 
elif test $pkg_failed = untried; then
8434
 
        HAVE_GTK=
8435
 
else
8436
 
        GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
8437
 
        GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
8438
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8439
 
$as_echo "yes" >&6; }
8440
 
        :
8441
 
fi
8442
 
 
8443
 
pkg_failed=no
8444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLADEMM" >&5
8445
 
$as_echo_n "checking for LIBGLADEMM... " >&6; }
8446
 
 
8447
 
if test -n "$PKG_CONFIG"; then
8448
 
    if test -n "$LIBGLADEMM_CFLAGS"; then
8449
 
        pkg_cv_LIBGLADEMM_CFLAGS="$LIBGLADEMM_CFLAGS"
8450
 
    else
8451
 
        if test -n "$PKG_CONFIG" && \
8452
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4\""; } >&5
8453
 
  ($PKG_CONFIG --exists --print-errors "libglademm-2.4") 2>&5
8454
 
  ac_status=$?
8455
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8456
 
  test $ac_status = 0; }; then
8457
 
  pkg_cv_LIBGLADEMM_CFLAGS=`$PKG_CONFIG --cflags "libglademm-2.4" 2>/dev/null`
8458
 
else
8459
 
  pkg_failed=yes
8460
 
fi
8461
 
    fi
8462
 
else
8463
 
        pkg_failed=untried
8464
 
fi
8465
 
if test -n "$PKG_CONFIG"; then
8466
 
    if test -n "$LIBGLADEMM_LIBS"; then
8467
 
        pkg_cv_LIBGLADEMM_LIBS="$LIBGLADEMM_LIBS"
8468
 
    else
8469
 
        if test -n "$PKG_CONFIG" && \
8470
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4\""; } >&5
8471
 
  ($PKG_CONFIG --exists --print-errors "libglademm-2.4") 2>&5
8472
 
  ac_status=$?
8473
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8474
 
  test $ac_status = 0; }; then
8475
 
  pkg_cv_LIBGLADEMM_LIBS=`$PKG_CONFIG --libs "libglademm-2.4" 2>/dev/null`
8476
 
else
8477
 
  pkg_failed=yes
8478
 
fi
8479
 
    fi
8480
 
else
8481
 
        pkg_failed=untried
8482
 
fi
8483
 
 
8484
 
 
8485
 
 
8486
 
if test $pkg_failed = yes; then
8487
 
 
8488
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8489
 
        _pkg_short_errors_supported=yes
8490
 
else
8491
 
        _pkg_short_errors_supported=no
8492
 
fi
8493
 
        if test $_pkg_short_errors_supported = yes; then
8494
 
                LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglademm-2.4"`
8495
 
        else
8496
 
                LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglademm-2.4"`
8497
 
        fi
8498
 
        # Put the nasty error message in config.log where it belongs
8499
 
        echo "$LIBGLADEMM_PKG_ERRORS" >&5
8500
 
 
8501
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502
 
$as_echo "no" >&6; }
8503
 
                HAVE_GTK=
8504
 
elif test $pkg_failed = untried; then
8505
 
        HAVE_GTK=
8506
 
else
8507
 
        LIBGLADEMM_CFLAGS=$pkg_cv_LIBGLADEMM_CFLAGS
8508
 
        LIBGLADEMM_LIBS=$pkg_cv_LIBGLADEMM_LIBS
8509
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8510
 
$as_echo "yes" >&6; }
8511
 
        :
8512
 
fi
8513
 
else
8514
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling the GTK+ frontend at your request (--disable-gtk)." >&5
8515
 
$as_echo "$as_me: Disabling the GTK+ frontend at your request (--disable-gtk)." >&6;}
8516
 
fi
8517
 
 
8518
 
if test x$WANT_HAVE_GTK = x1 && test x$HAVE_GTK != x1
8519
 
then
8520
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find the necessary GTK+ libraries; disabling GTK+ support." >&5
8521
 
$as_echo "$as_me: WARNING: Unable to find the necessary GTK+ libraries; disabling GTK+ support." >&2;}
8522
 
fi
8523
 
 
8524
 
if test x$HAVE_GTK = x1
8525
 
then
8526
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: The GTK+ frontend will be built." >&5
8527
 
$as_echo "$as_me: The GTK+ frontend will be built." >&6;}
8528
 
fi
8529
 
 
8530
 
 if test x$HAVE_GTK = x1; then
8531
 
  BUILD_GTK_TRUE=
8532
 
  BUILD_GTK_FALSE='#'
8533
 
else
8534
 
  BUILD_GTK_TRUE='#'
8535
 
  BUILD_GTK_FALSE=
8536
 
fi
8537
 
 
8538
 
if test x$HAVE_GTK = x1
8539
 
then
8540
 
 
8541
 
$as_echo "#define HAVE_GTK /**/" >>confdefs.h
8542
 
 
8543
 
fi
8544
 
 
8545
 
CXXFLAGS="$CXXFLAGS $SIGC_CFLAGS $CWIDGET_CFLAGS $ept_CFLAGS $SQLITE3_CFLAGS"
8546
 
LIBS="$LIBS $SIGC_LIBS $CWIDGET_LIBS $ept_LIBS $SQLITE3_LIBS $BOOST_IOSTREAMS_LIB"
8547
 
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
8548
 
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
8549
 
 
8550
 
if test x$HAVE_GTK = x1
8551
 
then
8552
 
  CXXFLAGS="$CXXFLAGS $GLIBMM_CFLAGS $GTHREAD_CFLAGS $GTKMM_CFLAGS $LIBGLADEMM_CFLAGS $VTE_CFLAGS"
8553
 
  LIBS="$LIBS $GLIBMM_LIBS $GTHREAD_LIBS $GTKMM_LIBS $LIBGLADEMM_LIBS $VTE_LIBS"
8554
 
fi
8555
 
 
8556
 
 
8557
 
 
8558
 
cat >>confdefs.h <<_ACEOF
8559
 
#define SIGC_VERSION "$(pkg-config --modversion sigc++-2.0)"
8560
 
_ACEOF
8561
 
 
8562
 
 
8563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8564
 
$as_echo_n "checking for ANSI C header files... " >&6; }
8565
 
if test "${ac_cv_header_stdc+set}" = set; then :
8566
 
  $as_echo_n "(cached) " >&6
8567
 
else
8568
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569
 
/* end confdefs.h.  */
8570
 
#include <stdlib.h>
8571
 
#include <stdarg.h>
8572
 
#include <string.h>
8573
 
#include <float.h>
8574
 
 
8575
 
int
8576
 
main ()
8577
 
{
8578
 
 
8579
 
  ;
8580
 
  return 0;
8581
 
}
8582
 
_ACEOF
8583
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8584
 
  ac_cv_header_stdc=yes
8585
 
else
8586
 
  ac_cv_header_stdc=no
8587
 
fi
8588
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8589
 
 
8590
 
if test $ac_cv_header_stdc = yes; then
8591
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8592
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593
 
/* end confdefs.h.  */
8594
 
#include <string.h>
8595
 
 
8596
 
_ACEOF
8597
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8598
 
  $EGREP "memchr" >/dev/null 2>&1; then :
8599
 
 
8600
 
else
8601
 
  ac_cv_header_stdc=no
8602
 
fi
8603
 
rm -f conftest*
8604
 
 
8605
 
fi
8606
 
 
8607
 
if test $ac_cv_header_stdc = yes; then
8608
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8609
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610
 
/* end confdefs.h.  */
8611
 
#include <stdlib.h>
8612
 
 
8613
 
_ACEOF
8614
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8615
 
  $EGREP "free" >/dev/null 2>&1; then :
8616
 
 
8617
 
else
8618
 
  ac_cv_header_stdc=no
8619
 
fi
8620
 
rm -f conftest*
8621
 
 
8622
 
fi
8623
 
 
8624
 
if test $ac_cv_header_stdc = yes; then
8625
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8626
 
  if test "$cross_compiling" = yes; then :
8627
 
  :
8628
 
else
8629
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630
 
/* end confdefs.h.  */
8631
 
#include <ctype.h>
8632
 
#include <stdlib.h>
8633
 
#if ((' ' & 0x0FF) == 0x020)
8634
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8635
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8636
 
#else
8637
 
# define ISLOWER(c) \
8638
 
                   (('a' <= (c) && (c) <= 'i') \
8639
 
                     || ('j' <= (c) && (c) <= 'r') \
8640
 
                     || ('s' <= (c) && (c) <= 'z'))
8641
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8642
 
#endif
8643
 
 
8644
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8645
 
int
8646
 
main ()
8647
 
{
8648
 
  int i;
8649
 
  for (i = 0; i < 256; i++)
8650
 
    if (XOR (islower (i), ISLOWER (i))
8651
 
        || toupper (i) != TOUPPER (i))
8652
 
      return 2;
8653
 
  return 0;
8654
 
}
8655
 
_ACEOF
8656
 
if ac_fn_cxx_try_run "$LINENO"; then :
8657
 
 
8658
 
else
8659
 
  ac_cv_header_stdc=no
8660
 
fi
8661
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8662
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
8663
 
fi
8664
 
 
8665
 
fi
8666
 
fi
8667
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8668
 
$as_echo "$ac_cv_header_stdc" >&6; }
8669
 
if test $ac_cv_header_stdc = yes; then
8670
 
 
8671
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8672
 
 
8673
 
fi
8674
 
 
8675
 
 
8676
 
for ac_header in fcntl.h sys/ioctl.h unistd.h
8677
 
do :
8678
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8679
 
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8680
 
eval as_val=\$$as_ac_Header
8681
 
   if test "x$as_val" = x""yes; then :
8682
 
  cat >>confdefs.h <<_ACEOF
8683
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8684
 
_ACEOF
8685
 
 
8686
 
else
8687
 
  as_fn_error "Can't find needed header file." "$LINENO" 5
8688
 
fi
8689
 
 
8690
 
done
8691
 
 
8692
 
 
8693
 
ac_fn_cxx_check_header_mongrel "$LINENO" "apt-pkg/init.h" "ac_cv_header_apt_pkg_init_h" "$ac_includes_default"
8694
 
if test "x$ac_cv_header_apt_pkg_init_h" = x""yes; then :
8695
 
 
8696
 
else
8697
 
  as_fn_error "Can't find the APT header files -- please install libapt-pkg-dev" "$LINENO" 5
8698
 
fi
8699
 
 
8700
 
 
8701
 
 
8702
 
ac_fn_cxx_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
8703
 
if test "x$ac_cv_header_execinfo_h" = x""yes; then :
8704
 
 
8705
 
$as_echo "#define HAVE_EXECINFO_H /**/" >>confdefs.h
8706
 
 
8707
 
fi
8708
 
 
8709
 
 
8710
 
 
8711
 
ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
8712
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
8713
 
 
8714
 
$as_echo "#define HAVE_LOCALE_H /**/" >>confdefs.h
8715
 
 
8716
 
fi
8717
 
 
8718
 
 
8719
 
 
8720
 
ac_fn_cxx_check_decl "$LINENO" "setlocale" "ac_cv_have_decl_setlocale" "#include <locale.h>
8721
 
"
8722
 
if test "x$ac_cv_have_decl_setlocale" = x""yes; then :
8723
 
 
8724
 
$as_echo "#define HAVE_SETLOCALE /**/" >>confdefs.h
8725
 
 
8726
 
fi
8727
 
 
8728
 
 
8729
 
 
8730
 
 
8731
 
 
8732
 
 
8733
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt supports ddtp" >&5
8734
 
$as_echo_n "checking whether apt supports ddtp... " >&6; }
8735
 
 
8736
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737
 
/* end confdefs.h.  */
8738
 
#include <apt-pkg/pkgcache.h>
8739
 
int
8740
 
main ()
8741
 
{
8742
 
pkgCache::DescIterator d;
8743
 
  ;
8744
 
  return 0;
8745
 
}
8746
 
_ACEOF
8747
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8748
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8749
 
$as_echo "yes" >&6; }
8750
 
 
8751
 
$as_echo "#define HAVE_DDTP /**/" >>confdefs.h
8752
 
 
8753
 
else
8754
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8755
 
$as_echo "no" >&6; }
8756
 
fi
8757
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8758
 
 
8759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt supports the Homepage: field" >&5
8760
 
$as_echo_n "checking whether apt supports the Homepage: field... " >&6; }
8761
 
 
8762
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763
 
/* end confdefs.h.  */
8764
 
#include <apt-pkg/pkgrecords.h>
8765
 
int
8766
 
main ()
8767
 
{
8768
 
  pkgRecords::Parser *p = NULL;
8769
 
                                    if(0) p->Homepage();
8770
 
  ;
8771
 
  return 0;
8772
 
}
8773
 
_ACEOF
8774
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8775
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8776
 
$as_echo "yes" >&6; }
8777
 
 
8778
 
$as_echo "#define APT_HAS_HOMEPAGE /**/" >>confdefs.h
8779
 
 
8780
 
else
8781
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8782
 
$as_echo "no" >&6; }
8783
 
fi
8784
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8785
 
 
8786
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether apt supports dpkg triggers" >&5
8787
 
$as_echo_n "checking whether apt supports dpkg triggers... " >&6; }
8788
 
 
8789
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790
 
/* end confdefs.h.  */
8791
 
#include <apt-pkg/pkgcache.h>
8792
 
int
8793
 
main ()
8794
 
{
8795
 
pkgCache::State::TriggersAwaited;
8796
 
                                  pkgCache::State::TriggersPending;
8797
 
  ;
8798
 
  return 0;
8799
 
}
8800
 
_ACEOF
8801
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8802
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8803
 
$as_echo "yes" >&6; }
8804
 
 
8805
 
$as_echo "#define APT_HAS_TRIGGERS /**/" >>confdefs.h
8806
 
 
8807
 
else
8808
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809
 
$as_echo "no" >&6; }
8810
 
fi
8811
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8812
 
 
8813
 
# Try to guess what namespace the hash stuff is in (maybe I should just
8814
 
# use rbltrees instead in most places?)
8815
 
if test x$HASH_INC != x
8816
 
then
8817
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking which namespace contains the hash extensions" >&5
8818
 
$as_echo_n "checking which namespace contains the hash extensions... " >&6; }
8819
 
 
8820
 
    HASH_NAMESPACE=""
8821
 
 
8822
 
    for NS in std __gnu_cxx
8823
 
    do
8824
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825
 
/* end confdefs.h.  */
8826
 
#include <$HASH_INC>
8827
 
int
8828
 
main ()
8829
 
{
8830
 
${NS}::${HASH_CLS} < int, int > foo;
8831
 
  ;
8832
 
  return 0;
8833
 
}
8834
 
_ACEOF
8835
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8836
 
  HASH_NAMESPACE=$NS
8837
 
fi
8838
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8839
 
    done
8840
 
 
8841
 
    if test x$HASH_NAMESPACE = x
8842
 
    then
8843
 
       as_fn_error "found hash classes, but they aren't in the std or GNU namespace." "$LINENO" 5
8844
 
    fi
8845
 
 
8846
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASH_NAMESPACE" >&5
8847
 
$as_echo "$HASH_NAMESPACE" >&6; }
8848
 
else
8849
 
    # Use the std namespace if all else fails. (the code will fall back
8850
 
    # to using map instead of hash_map, set instead of hash_set)
8851
 
    HASH_NAMESPACE=std
8852
 
fi
8853
 
 
8854
 
 
8855
 
cat >>confdefs.h <<_ACEOF
8856
 
#define HASH_NAMESPACE $HASH_NAMESPACE
8857
 
_ACEOF
8858
 
 
8859
 
 
8860
 
 
8861
 
 
8862
 
 
8863
 
# Try to guess how to extend string traits
8864
 
TRAITS_CLASS=""
8865
 
 
8866
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the name of the character traits template" >&5
8867
 
$as_echo_n "checking for the name of the character traits template... " >&6; }
8868
 
 
8869
 
for T in char_traits string_char_traits
8870
 
do
8871
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872
 
/* end confdefs.h.  */
8873
 
#include <string>
8874
 
int
8875
 
main ()
8876
 
{
8877
 
std::basic_string<unsigned char,
8878
 
                                                        std::$T < unsigned char > > s;
8879
 
  ;
8880
 
  return 0;
8881
 
}
8882
 
_ACEOF
8883
 
if ac_fn_cxx_try_compile "$LINENO"; then :
8884
 
  TRAITS_CLASS=$T
8885
 
fi
8886
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8887
 
done
8888
 
 
8889
 
if test x$TRAITS_CLASS = xstring_char_traits
8890
 
then
8891
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your compiler uses string_char_traits for its character traits.  Some compilers (eg, g++ 2.95) which use this name for the character traits template are known to have hideously broken implementations of the standard string class, which cause aptitude to fail to compile.  If you have a compiler with this problem, please upgrade it to a version that has a more compliant version of the STL (g++ >=3.0 is known to work).  You can specify which compiler this script should use via the CXX environment variable." >&5
8892
 
$as_echo "$as_me: WARNING: Your compiler uses string_char_traits for its character traits.  Some compilers (eg, g++ 2.95) which use this name for the character traits template are known to have hideously broken implementations of the standard string class, which cause aptitude to fail to compile.  If you have a compiler with this problem, please upgrade it to a version that has a more compliant version of the STL (g++ >=3.0 is known to work).  You can specify which compiler this script should use via the CXX environment variable." >&2;}
8893
 
fi
8894
 
 
8895
 
if test x$TRAITS_CLASS = x
8896
 
then
8897
 
  as_fn_error "can't find the name of the character traits template" "$LINENO" 5
8898
 
else
8899
 
 
8900
 
cat >>confdefs.h <<_ACEOF
8901
 
#define TRAITS_CLASS $TRAITS_CLASS
8902
 
_ACEOF
8903
 
 
8904
 
 
8905
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRAITS_CLASS" >&5
8906
 
$as_echo "$TRAITS_CLASS" >&6; }
8907
 
fi
8908
 
 
8909
 
 
8910
 
 
8911
 
 
8912
 
if test x$HAVE_LIBPTHREAD = x1
8913
 
then
8914
 
  ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8915
 
if test "x$ac_cv_header_pthread_h" = x""yes; then :
8916
 
  CXXFLAGS="$CXXFLAGS -D_REENTRANT"
8917
 
        LIBS="$LIBS -lpthread"
8918
 
 
8919
 
$as_echo "#define HAVE_LIBPTHREAD  " >>confdefs.h
8920
 
 
8921
 
 
8922
 
else
8923
 
  as_fn_error "POSIX thread header not installed" "$LINENO" 5
8924
 
fi
8925
 
 
8926
 
 
8927
 
fi
8928
 
 
8929
 
WERROR="-Werror"
8930
 
 
8931
 
# Check whether --enable-private-glade-file was given.
8932
 
if test "${enable_private_glade_file+set}" = set; then :
8933
 
  enableval=$enable_private_glade_file; if test x$enableval = xno
8934
 
         then
8935
 
 
8936
 
$as_echo "#define DISABLE_PRIVATE_GLADE_FILE /**/" >>confdefs.h
8937
 
 
8938
 
         fi
8939
 
 
8940
 
fi
8941
 
 
8942
 
 
8943
 
# Check whether --enable-dynamic-backtrace was given.
8944
 
if test "${enable_dynamic_backtrace+set}" = set; then :
8945
 
  enableval=$enable_dynamic_backtrace; if test x$enableval = xyes
8946
 
        then
8947
 
 
8948
 
$as_echo "#define ENABLE_DYNAMIC_BACKTRACE /**/" >>confdefs.h
8949
 
 
8950
 
          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
8951
 
        fi
8952
 
 
8953
 
fi
8954
 
 
8955
 
# Check whether --enable-werror was given.
8956
 
if test "${enable_werror+set}" = set; then :
8957
 
  enableval=$enable_werror; if test x$enableval = xno
8958
 
        then
8959
 
          WERROR=""
8960
 
        fi
8961
 
 
8962
 
fi
8963
 
 
8964
 
# Check whether --enable-period-beep was given.
8965
 
if test "${enable_period_beep+set}" = set; then :
8966
 
  enableval=$enable_period_beep; if test x$enableval = xyes
8967
 
        then
8968
 
 
8969
 
$as_echo "#define WITH_PERIOD_BEEP /**/" >>confdefs.h
8970
 
 
8971
 
        fi
8972
 
 
8973
 
fi
8974
 
 
8975
 
# Check whether --enable-reload-cache was given.
8976
 
if test "${enable_reload_cache+set}" = set; then :
8977
 
  enableval=$enable_reload_cache; if test x$enableval = xyes
8978
 
        then
8979
 
 
8980
 
$as_echo "#define WITH_RELOAD_CACHE /**/" >>confdefs.h
8981
 
 
8982
 
        fi
8983
 
 
8984
 
fi
8985
 
 
8986
 
 
8987
 
# Check whether --enable-package-state-loc was given.
8988
 
if test "${enable_package_state_loc+set}" = set; then :
8989
 
  enableval=$enable_package_state_loc; if test x$enableval = xyes
8990
 
        then
8991
 
          as_fn_error "--with-package-state-loc needs an argument" "$LINENO" 5
8992
 
        else
8993
 
          STATEDIR="$enableval"
8994
 
        fi
8995
 
else
8996
 
  STATEDIR="/var/lib/aptitude"
8997
 
fi
8998
 
 
8999
 
 
9000
 
# Check whether --enable-lock-loc was given.
9001
 
if test "${enable_lock_loc+set}" = set; then :
9002
 
  enableval=$enable_lock_loc; if test x$enableval = xyes
9003
 
        then
9004
 
          as_fn_error "--with-lock-loc needs an argument" "$LINENO" 5
9005
 
        else
9006
 
          LOCKFILE="$enableval"
9007
 
        fi
9008
 
else
9009
 
  LOCKFILE="/var/lock/aptitude"
9010
 
fi
9011
 
 
9012
 
 
9013
 
# Check whether --enable-aptitude was given.
9014
 
if test "${enable_aptitude+set}" = set; then :
9015
 
  enableval=$enable_aptitude; if test x$enableval=xno
9016
 
        then
9017
 
          SRCDIRS=
9018
 
        else
9019
 
          SRCDIRS=src
9020
 
        fi
9021
 
else
9022
 
  SRCDIRS=src
9023
 
fi
9024
 
 
9025
 
 
9026
 
# Check whether --enable-docs was given.
9027
 
if test "${enable_docs+set}" = set; then :
9028
 
  enableval=$enable_docs; if test x$enableval=xno
9029
 
        then
9030
 
          DOCDIRS=
9031
 
        else
9032
 
          DOCDIRS=doc
9033
 
        fi
9034
 
else
9035
 
  DOCDIRS=doc
9036
 
fi
9037
 
 
9038
 
 
9039
 
# Check whether --enable-resolver-sanity-checks was given.
9040
 
if test "${enable_resolver_sanity_checks+set}" = set; then :
9041
 
  enableval=$enable_resolver_sanity_checks; if test x$enableval=xyes
9042
 
        then
9043
 
 
9044
 
$as_echo "#define ENABLE_RESOLVER_SANITY_CHECKS /**/" >>confdefs.h
9045
 
 
9046
 
        fi
9047
 
 
9048
 
fi
9049
 
 
9050
 
 
9051
 
# We need -fno-strict-aliasing to avoid compiler errors that I can't
9052
 
# figure out how to fix.
9053
 
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing -Wall $WERROR"
9054
 
 
9055
 
 
9056
 
 
9057
 
 
9058
 
 
9059
 
cat >>confdefs.h <<_ACEOF
9060
 
#define STATEDIR "$STATEDIR"
9061
 
_ACEOF
9062
 
 
9063
 
 
9064
 
cat >>confdefs.h <<_ACEOF
9065
 
#define LOCKFILE "$LOCKFILE"
9066
 
_ACEOF
9067
 
 
9068
 
 
9069
 
 
9070
 
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
9071
 
if test "x$ac_cv_type_size_t" = x""yes; then :
9072
 
 
9073
 
else
9074
 
 
9075
 
cat >>confdefs.h <<_ACEOF
9076
 
#define size_t unsigned int
9077
 
_ACEOF
9078
 
 
9079
 
fi
9080
 
 
9081
 
 
9082
 
for ac_func in strdup
9083
 
do :
9084
 
  ac_fn_cxx_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
9085
 
if test "x$ac_cv_func_strdup" = x""yes; then :
9086
 
  cat >>confdefs.h <<_ACEOF
9087
 
#define HAVE_STRDUP 1
9088
 
_ACEOF
9089
 
 
9090
 
fi
9091
 
done
9092
 
 
9093
 
 
9094
 
CPPFLAGS="$CPPFLAGS -DHELPDIR=\\\"\$(datadir)/aptitude\\\""
9095
 
CPPFLAGS="$CPPFLAGS -DPKGDATADIR=\\\"\$(datadir)/aptitude\\\""
9096
 
 
9097
 
 
9098
 
ac_config_files="$ac_config_files Doxyfile Makefile doc/Makefile doc/cs/Makefile doc/cs/images/Makefile doc/de/Makefile doc/en/Makefile doc/en/images/Makefile doc/es/Makefile doc/es/images/Makefile doc/fi/Makefile doc/fi/images/Makefile doc/fr/Makefile doc/fr/images/Makefile doc/ja/Makefile doc/ja/images/Makefile doc/po4a/Makefile doc/po4a/po/Makefile doc/po4a/add_de/Makefile doc/po4a/add_es/Makefile doc/po4a/add_fr/Makefile m4/Makefile po/Makefile.in src/Makefile src/gtk/Makefile src/gtk/controllers/Makefile src/gtk/toplevel/Makefile src/gtk/util/Makefile src/gtk/views/Makefile src/gtk/views/mocks/Makefile src/gtk/view-impls/Makefile src/cmdline/Makefile src/cmdline/mocks/Makefile src/generic/Makefile src/generic/apt/Makefile src/generic/apt/history/Makefile src/generic/apt/matching/Makefile src/generic/problemresolver/Makefile src/generic/util/Makefile src/mine/Makefile tests/Makefile"
9099
 
 
9100
 
 
9101
 
cat >confcache <<\_ACEOF
9102
 
# This file is a shell script that caches the results of configure
9103
 
# tests run on this system so they can be shared between configure
9104
 
# scripts and configure runs, see configure's option --config-cache.
9105
 
# It is not useful on other systems.  If it contains results you don't
9106
 
# want to keep, you may remove or edit it.
9107
 
#
9108
 
# config.status only pays attention to the cache file if you give it
9109
 
# the --recheck option to rerun configure.
9110
 
#
9111
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
9112
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
9113
 
# following values.
9114
 
 
9115
 
_ACEOF
9116
 
 
9117
 
# The following way of writing the cache mishandles newlines in values,
9118
 
# but we know of no workaround that is simple, portable, and efficient.
9119
 
# So, we kill variables containing newlines.
9120
 
# Ultrix sh set writes to stderr and can't be redirected directly,
9121
 
# and sets the high bit in the cache file unless we assign to the vars.
9122
 
(
9123
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9124
 
    eval ac_val=\$$ac_var
9125
 
    case $ac_val in #(
9126
 
    *${as_nl}*)
9127
 
      case $ac_var in #(
9128
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9129
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9130
 
      esac
9131
 
      case $ac_var in #(
9132
 
      _ | IFS | as_nl) ;; #(
9133
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9134
 
      *) { eval $ac_var=; unset $ac_var;} ;;
9135
 
      esac ;;
9136
 
    esac
9137
 
  done
9138
 
 
9139
 
  (set) 2>&1 |
9140
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9141
 
    *${as_nl}ac_space=\ *)
9142
 
      # `set' does not quote correctly, so add quotes: double-quote
9143
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
9144
 
      sed -n \
9145
 
        "s/'/'\\\\''/g;
9146
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9147
 
      ;; #(
9148
 
    *)
9149
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
9150
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9151
 
      ;;
9152
 
    esac |
9153
 
    sort
9154
 
) |
9155
 
  sed '
9156
 
     /^ac_cv_env_/b end
9157
 
     t clear
9158
 
     :clear
9159
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9160
 
     t end
9161
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9162
 
     :end' >>confcache
9163
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9164
 
  if test -w "$cache_file"; then
9165
 
    test "x$cache_file" != "x/dev/null" &&
9166
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9167
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
9168
 
    cat confcache >$cache_file
9169
 
  else
9170
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9171
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9172
 
  fi
9173
 
fi
9174
 
rm -f confcache
9175
 
 
9176
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
9177
 
# Let make expand exec_prefix.
9178
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9179
 
 
9180
 
DEFS=-DHAVE_CONFIG_H
9181
 
 
9182
 
ac_libobjs=
9183
 
ac_ltlibobjs=
9184
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9185
 
  # 1. Remove the extension, and $U if already installed.
9186
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9187
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9188
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9189
 
  #    will be set to the directory where LIBOBJS objects are built.
9190
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9191
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9192
 
done
9193
 
LIBOBJS=$ac_libobjs
9194
 
 
9195
 
LTLIBOBJS=$ac_ltlibobjs
9196
 
 
9197
 
 
9198
 
 if test -n "$EXEEXT"; then
9199
 
  am__EXEEXT_TRUE=
9200
 
  am__EXEEXT_FALSE='#'
9201
 
else
9202
 
  am__EXEEXT_TRUE='#'
9203
 
  am__EXEEXT_FALSE=
9204
 
fi
9205
 
 
9206
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9207
 
  as_fn_error "conditional \"AMDEP\" was never defined.
9208
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9209
 
fi
9210
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9211
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
9212
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9213
 
fi
9214
 
if test -z "${USE_PO4A_TRUE}" && test -z "${USE_PO4A_FALSE}"; then
9215
 
  as_fn_error "conditional \"USE_PO4A\" was never defined.
9216
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9217
 
fi
9218
 
if test -z "${USE_PO4A_TRUE}" && test -z "${USE_PO4A_FALSE}"; then
9219
 
  as_fn_error "conditional \"USE_PO4A\" was never defined.
9220
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9221
 
fi
9222
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9223
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
9224
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9225
 
fi
9226
 
if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then
9227
 
  as_fn_error "conditional \"BUILD_GTK\" was never defined.
9228
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9229
 
fi
9230
 
 
9231
 
: ${CONFIG_STATUS=./config.status}
9232
 
ac_write_fail=0
9233
 
ac_clean_files_save=$ac_clean_files
9234
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9235
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9236
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9237
 
as_write_fail=0
9238
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9239
 
#! $SHELL
9240
 
# Generated by $as_me.
9241
 
# Run this file to recreate the current configuration.
9242
 
# Compiler output produced by configure, useful for debugging
9243
 
# configure, is in config.log if it exists.
9244
 
 
9245
 
debug=false
9246
 
ac_cs_recheck=false
9247
 
ac_cs_silent=false
9248
 
 
9249
 
SHELL=\${CONFIG_SHELL-$SHELL}
9250
 
export SHELL
9251
 
_ASEOF
9252
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9253
 
## -------------------- ##
9254
 
## M4sh Initialization. ##
9255
 
## -------------------- ##
9256
 
 
9257
 
# Be more Bourne compatible
9258
 
DUALCASE=1; export DUALCASE # for MKS sh
9259
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9260
 
  emulate sh
9261
 
  NULLCMD=:
9262
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9263
 
  # is contrary to our usage.  Disable this feature.
9264
 
  alias -g '${1+"$@"}'='"$@"'
9265
 
  setopt NO_GLOB_SUBST
9266
 
else
9267
 
  case `(set -o) 2>/dev/null` in #(
9268
 
  *posix*) :
9269
 
    set -o posix ;; #(
9270
 
  *) :
9271
 
     ;;
9272
 
esac
9273
 
fi
9274
 
 
9275
 
 
9276
 
as_nl='
9277
 
'
9278
 
export as_nl
9279
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
9280
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9281
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9282
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9283
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
9284
 
# but without wasting forks for bash or zsh.
9285
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
9286
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9287
 
  as_echo='print -r --'
9288
 
  as_echo_n='print -rn --'
9289
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9290
 
  as_echo='printf %s\n'
9291
 
  as_echo_n='printf %s'
9292
 
else
9293
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9294
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9295
 
    as_echo_n='/usr/ucb/echo -n'
9296
 
  else
9297
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9298
 
    as_echo_n_body='eval
9299
 
      arg=$1;
9300
 
      case $arg in #(
9301
 
      *"$as_nl"*)
9302
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
9303
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9304
 
      esac;
9305
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9306
 
    '
9307
 
    export as_echo_n_body
9308
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
9309
 
  fi
9310
 
  export as_echo_body
9311
 
  as_echo='sh -c $as_echo_body as_echo'
9312
 
fi
9313
 
 
9314
 
# The user is always right.
9315
 
if test "${PATH_SEPARATOR+set}" != set; then
9316
 
  PATH_SEPARATOR=:
9317
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9318
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9319
 
      PATH_SEPARATOR=';'
9320
 
  }
9321
 
fi
9322
 
 
9323
 
 
9324
 
# IFS
9325
 
# We need space, tab and new line, in precisely that order.  Quoting is
9326
 
# there to prevent editors from complaining about space-tab.
9327
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9328
 
# splitting by setting IFS to empty value.)
9329
 
IFS=" ""        $as_nl"
9330
 
 
9331
 
# Find who we are.  Look in the path if we contain no directory separator.
9332
 
case $0 in #((
9333
 
  *[\\/]* ) as_myself=$0 ;;
9334
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9335
 
for as_dir in $PATH
9336
 
do
9337
 
  IFS=$as_save_IFS
9338
 
  test -z "$as_dir" && as_dir=.
9339
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9340
 
  done
9341
 
IFS=$as_save_IFS
9342
 
 
9343
 
     ;;
9344
 
esac
9345
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
9346
 
# in which case we are not to be found in the path.
9347
 
if test "x$as_myself" = x; then
9348
 
  as_myself=$0
9349
 
fi
9350
 
if test ! -f "$as_myself"; then
9351
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9352
 
  exit 1
9353
 
fi
9354
 
 
9355
 
# Unset variables that we do not need and which cause bugs (e.g. in
9356
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
9357
 
# suppresses any "Segmentation fault" message there.  '((' could
9358
 
# trigger a bug in pdksh 5.2.14.
9359
 
for as_var in BASH_ENV ENV MAIL MAILPATH
9360
 
do eval test x\${$as_var+set} = xset \
9361
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9362
 
done
9363
 
PS1='$ '
9364
 
PS2='> '
9365
 
PS4='+ '
9366
 
 
9367
 
# NLS nuisances.
9368
 
LC_ALL=C
9369
 
export LC_ALL
9370
 
LANGUAGE=C
9371
 
export LANGUAGE
9372
 
 
9373
 
# CDPATH.
9374
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9375
 
 
9376
 
 
9377
 
# as_fn_error ERROR [LINENO LOG_FD]
9378
 
# ---------------------------------
9379
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9380
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9381
 
# script with status $?, using 1 if that was 0.
9382
 
as_fn_error ()
9383
 
{
9384
 
  as_status=$?; test $as_status -eq 0 && as_status=1
9385
 
  if test "$3"; then
9386
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9387
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
9388
 
  fi
9389
 
  $as_echo "$as_me: error: $1" >&2
9390
 
  as_fn_exit $as_status
9391
 
} # as_fn_error
9392
 
 
9393
 
 
9394
 
# as_fn_set_status STATUS
9395
 
# -----------------------
9396
 
# Set $? to STATUS, without forking.
9397
 
as_fn_set_status ()
9398
 
{
9399
 
  return $1
9400
 
} # as_fn_set_status
9401
 
 
9402
 
# as_fn_exit STATUS
9403
 
# -----------------
9404
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9405
 
as_fn_exit ()
9406
 
{
9407
 
  set +e
9408
 
  as_fn_set_status $1
9409
 
  exit $1
9410
 
} # as_fn_exit
9411
 
 
9412
 
# as_fn_unset VAR
9413
 
# ---------------
9414
 
# Portably unset VAR.
9415
 
as_fn_unset ()
9416
 
{
9417
 
  { eval $1=; unset $1;}
9418
 
}
9419
 
as_unset=as_fn_unset
9420
 
# as_fn_append VAR VALUE
9421
 
# ----------------------
9422
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
9423
 
# advantage of any shell optimizations that allow amortized linear growth over
9424
 
# repeated appends, instead of the typical quadratic growth present in naive
9425
 
# implementations.
9426
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9427
 
  eval 'as_fn_append ()
9428
 
  {
9429
 
    eval $1+=\$2
9430
 
  }'
9431
 
else
9432
 
  as_fn_append ()
9433
 
  {
9434
 
    eval $1=\$$1\$2
9435
 
  }
9436
 
fi # as_fn_append
9437
 
 
9438
 
# as_fn_arith ARG...
9439
 
# ------------------
9440
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
9441
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
9442
 
# must be portable across $(()) and expr.
9443
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9444
 
  eval 'as_fn_arith ()
9445
 
  {
9446
 
    as_val=$(( $* ))
9447
 
  }'
9448
 
else
9449
 
  as_fn_arith ()
9450
 
  {
9451
 
    as_val=`expr "$@" || test $? -eq 1`
9452
 
  }
9453
 
fi # as_fn_arith
9454
 
 
9455
 
 
9456
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
9457
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
9458
 
  as_expr=expr
9459
 
else
9460
 
  as_expr=false
9461
 
fi
9462
 
 
9463
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9464
 
  as_basename=basename
9465
 
else
9466
 
  as_basename=false
9467
 
fi
9468
 
 
9469
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9470
 
  as_dirname=dirname
9471
 
else
9472
 
  as_dirname=false
9473
 
fi
9474
 
 
9475
 
as_me=`$as_basename -- "$0" ||
9476
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9477
 
         X"$0" : 'X\(//\)$' \| \
9478
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9479
 
$as_echo X/"$0" |
9480
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
9481
 
            s//\1/
9482
 
            q
9483
 
          }
9484
 
          /^X\/\(\/\/\)$/{
9485
 
            s//\1/
9486
 
            q
9487
 
          }
9488
 
          /^X\/\(\/\).*/{
9489
 
            s//\1/
9490
 
            q
9491
 
          }
9492
 
          s/.*/./; q'`
9493
 
 
9494
 
# Avoid depending upon Character Ranges.
9495
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9496
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9497
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9498
 
as_cr_digits='0123456789'
9499
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
9500
 
 
9501
 
ECHO_C= ECHO_N= ECHO_T=
9502
 
case `echo -n x` in #(((((
9503
 
-n*)
9504
 
  case `echo 'xy\c'` in
9505
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
9506
 
  xy)  ECHO_C='\c';;
9507
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
9508
 
       ECHO_T=' ';;
9509
 
  esac;;
9510
 
*)
9511
 
  ECHO_N='-n';;
9512
 
esac
9513
 
 
9514
 
rm -f conf$$ conf$$.exe conf$$.file
9515
 
if test -d conf$$.dir; then
9516
 
  rm -f conf$$.dir/conf$$.file
9517
 
else
9518
 
  rm -f conf$$.dir
9519
 
  mkdir conf$$.dir 2>/dev/null
9520
 
fi
9521
 
if (echo >conf$$.file) 2>/dev/null; then
9522
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
9523
 
    as_ln_s='ln -s'
9524
 
    # ... but there are two gotchas:
9525
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9526
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9527
 
    # In both cases, we have to default to `cp -p'.
9528
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9529
 
      as_ln_s='cp -p'
9530
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
9531
 
    as_ln_s=ln
9532
 
  else
9533
 
    as_ln_s='cp -p'
9534
 
  fi
9535
 
else
9536
 
  as_ln_s='cp -p'
9537
 
fi
9538
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9539
 
rmdir conf$$.dir 2>/dev/null
9540
 
 
9541
 
 
9542
 
# as_fn_mkdir_p
9543
 
# -------------
9544
 
# Create "$as_dir" as a directory, including parents if necessary.
9545
 
as_fn_mkdir_p ()
9546
 
{
9547
 
 
9548
 
  case $as_dir in #(
9549
 
  -*) as_dir=./$as_dir;;
9550
 
  esac
9551
 
  test -d "$as_dir" || eval $as_mkdir_p || {
9552
 
    as_dirs=
9553
 
    while :; do
9554
 
      case $as_dir in #(
9555
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9556
 
      *) as_qdir=$as_dir;;
9557
 
      esac
9558
 
      as_dirs="'$as_qdir' $as_dirs"
9559
 
      as_dir=`$as_dirname -- "$as_dir" ||
9560
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9561
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
9562
 
         X"$as_dir" : 'X\(//\)$' \| \
9563
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9564
 
$as_echo X"$as_dir" |
9565
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9566
 
            s//\1/
9567
 
            q
9568
 
          }
9569
 
          /^X\(\/\/\)[^/].*/{
9570
 
            s//\1/
9571
 
            q
9572
 
          }
9573
 
          /^X\(\/\/\)$/{
9574
 
            s//\1/
9575
 
            q
9576
 
          }
9577
 
          /^X\(\/\).*/{
9578
 
            s//\1/
9579
 
            q
9580
 
          }
9581
 
          s/.*/./; q'`
9582
 
      test -d "$as_dir" && break
9583
 
    done
9584
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9585
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
9586
 
 
9587
 
 
9588
 
} # as_fn_mkdir_p
9589
 
if mkdir -p . 2>/dev/null; then
9590
 
  as_mkdir_p='mkdir -p "$as_dir"'
9591
 
else
9592
 
  test -d ./-p && rmdir ./-p
9593
 
  as_mkdir_p=false
9594
 
fi
9595
 
 
9596
 
if test -x / >/dev/null 2>&1; then
9597
 
  as_test_x='test -x'
9598
 
else
9599
 
  if ls -dL / >/dev/null 2>&1; then
9600
 
    as_ls_L_option=L
9601
 
  else
9602
 
    as_ls_L_option=
9603
 
  fi
9604
 
  as_test_x='
9605
 
    eval sh -c '\''
9606
 
      if test -d "$1"; then
9607
 
        test -d "$1/.";
9608
 
      else
9609
 
        case $1 in #(
9610
 
        -*)set "./$1";;
9611
 
        esac;
9612
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
9613
 
        ???[sx]*):;;*)false;;esac;fi
9614
 
    '\'' sh
9615
 
  '
9616
 
fi
9617
 
as_executable_p=$as_test_x
9618
 
 
9619
 
# Sed expression to map a string onto a valid CPP name.
9620
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9621
 
 
9622
 
# Sed expression to map a string onto a valid variable name.
9623
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9624
 
 
9625
 
 
9626
 
exec 6>&1
9627
 
## ----------------------------------- ##
9628
 
## Main body of $CONFIG_STATUS script. ##
9629
 
## ----------------------------------- ##
9630
 
_ASEOF
9631
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9632
 
 
9633
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9634
 
# Save the log message, to keep $0 and so on meaningful, and to
9635
 
# report actual input values of CONFIG_FILES etc. instead of their
9636
 
# values after options handling.
9637
 
ac_log="
9638
 
This file was extended by aptitude $as_me 0.6.3, which was
9639
 
generated by GNU Autoconf 2.65.  Invocation command line was
9640
 
 
9641
 
  CONFIG_FILES    = $CONFIG_FILES
9642
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
9643
 
  CONFIG_LINKS    = $CONFIG_LINKS
9644
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
9645
 
  $ $0 $@
9646
 
 
9647
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
9648
 
"
9649
 
 
9650
 
_ACEOF
9651
 
 
9652
 
case $ac_config_files in *"
9653
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
9654
 
esac
9655
 
 
9656
 
case $ac_config_headers in *"
9657
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9658
 
esac
9659
 
 
9660
 
 
9661
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9662
 
# Files that config.status was made for.
9663
 
config_files="$ac_config_files"
9664
 
config_headers="$ac_config_headers"
9665
 
config_commands="$ac_config_commands"
9666
 
 
9667
 
_ACEOF
9668
 
 
9669
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9670
 
ac_cs_usage="\
9671
 
\`$as_me' instantiates files and other configuration actions
9672
 
from templates according to the current configuration.  Unless the files
9673
 
and actions are specified as TAGs, all are instantiated by default.
9674
 
 
9675
 
Usage: $0 [OPTION]... [TAG]...
9676
 
 
9677
 
  -h, --help       print this help, then exit
9678
 
  -V, --version    print version number and configuration settings, then exit
9679
 
      --config     print configuration, then exit
9680
 
  -q, --quiet, --silent
9681
 
                   do not print progress messages
9682
 
  -d, --debug      don't remove temporary files
9683
 
      --recheck    update $as_me by reconfiguring in the same conditions
9684
 
      --file=FILE[:TEMPLATE]
9685
 
                   instantiate the configuration file FILE
9686
 
      --header=FILE[:TEMPLATE]
9687
 
                   instantiate the configuration header FILE
9688
 
 
9689
 
Configuration files:
9690
 
$config_files
9691
 
 
9692
 
Configuration headers:
9693
 
$config_headers
9694
 
 
9695
 
Configuration commands:
9696
 
$config_commands
9697
 
 
9698
 
Report bugs to the package provider."
9699
 
 
9700
 
_ACEOF
9701
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9702
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9703
 
ac_cs_version="\\
9704
 
aptitude config.status 0.6.3
9705
 
configured by $0, generated by GNU Autoconf 2.65,
9706
 
  with options \\"\$ac_cs_config\\"
9707
 
 
9708
 
Copyright (C) 2009 Free Software Foundation, Inc.
9709
 
This config.status script is free software; the Free Software Foundation
9710
 
gives unlimited permission to copy, distribute and modify it."
9711
 
 
9712
 
ac_pwd='$ac_pwd'
9713
 
srcdir='$srcdir'
9714
 
INSTALL='$INSTALL'
9715
 
MKDIR_P='$MKDIR_P'
9716
 
AWK='$AWK'
9717
 
test -n "\$AWK" || AWK=awk
9718
 
_ACEOF
9719
 
 
9720
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9721
 
# The default lists apply if the user does not specify any file.
9722
 
ac_need_defaults=:
9723
 
while test $# != 0
9724
 
do
9725
 
  case $1 in
9726
 
  --*=*)
9727
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9728
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9729
 
    ac_shift=:
9730
 
    ;;
9731
 
  *)
9732
 
    ac_option=$1
9733
 
    ac_optarg=$2
9734
 
    ac_shift=shift
9735
 
    ;;
9736
 
  esac
9737
 
 
9738
 
  case $ac_option in
9739
 
  # Handling of the options.
9740
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9741
 
    ac_cs_recheck=: ;;
9742
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9743
 
    $as_echo "$ac_cs_version"; exit ;;
9744
 
  --config | --confi | --conf | --con | --co | --c )
9745
 
    $as_echo "$ac_cs_config"; exit ;;
9746
 
  --debug | --debu | --deb | --de | --d | -d )
9747
 
    debug=: ;;
9748
 
  --file | --fil | --fi | --f )
9749
 
    $ac_shift
9750
 
    case $ac_optarg in
9751
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9752
 
    esac
9753
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
9754
 
    ac_need_defaults=false;;
9755
 
  --header | --heade | --head | --hea )
9756
 
    $ac_shift
9757
 
    case $ac_optarg in
9758
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9759
 
    esac
9760
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9761
 
    ac_need_defaults=false;;
9762
 
  --he | --h)
9763
 
    # Conflict between --help and --header
9764
 
    as_fn_error "ambiguous option: \`$1'
9765
 
Try \`$0 --help' for more information.";;
9766
 
  --help | --hel | -h )
9767
 
    $as_echo "$ac_cs_usage"; exit ;;
9768
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9769
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9770
 
    ac_cs_silent=: ;;
9771
 
 
9772
 
  # This is an error.
9773
 
  -*) as_fn_error "unrecognized option: \`$1'
9774
 
Try \`$0 --help' for more information." ;;
9775
 
 
9776
 
  *) as_fn_append ac_config_targets " $1"
9777
 
     ac_need_defaults=false ;;
9778
 
 
9779
 
  esac
9780
 
  shift
9781
 
done
9782
 
 
9783
 
ac_configure_extra_args=
9784
 
 
9785
 
if $ac_cs_silent; then
9786
 
  exec 6>/dev/null
9787
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
9788
 
fi
9789
 
 
9790
 
_ACEOF
9791
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9792
 
if \$ac_cs_recheck; then
9793
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9794
 
  shift
9795
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9796
 
  CONFIG_SHELL='$SHELL'
9797
 
  export CONFIG_SHELL
9798
 
  exec "\$@"
9799
 
fi
9800
 
 
9801
 
_ACEOF
9802
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9803
 
exec 5>>config.log
9804
 
{
9805
 
  echo
9806
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9807
 
## Running $as_me. ##
9808
 
_ASBOX
9809
 
  $as_echo "$ac_log"
9810
 
} >&5
9811
 
 
9812
 
_ACEOF
9813
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9814
 
#
9815
 
# INIT-COMMANDS
9816
 
#
9817
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9818
 
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
9819
 
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9820
 
    # from automake.
9821
 
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9822
 
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
9823
 
    LINGUAS="${LINGUAS-%UNSET%}"
9824
 
 
9825
 
 
9826
 
_ACEOF
9827
 
 
9828
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9829
 
 
9830
 
# Handling of arguments.
9831
 
for ac_config_target in $ac_config_targets
9832
 
do
9833
 
  case $ac_config_target in
9834
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9835
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9836
 
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
9837
 
    "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
9838
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9839
 
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9840
 
    "doc/cs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cs/Makefile" ;;
9841
 
    "doc/cs/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cs/images/Makefile" ;;
9842
 
    "doc/de/Makefile") CONFIG_FILES="$CONFIG_FILES doc/de/Makefile" ;;
9843
 
    "doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
9844
 
    "doc/en/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/images/Makefile" ;;
9845
 
    "doc/es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/es/Makefile" ;;
9846
 
    "doc/es/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/es/images/Makefile" ;;
9847
 
    "doc/fi/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fi/Makefile" ;;
9848
 
    "doc/fi/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fi/images/Makefile" ;;
9849
 
    "doc/fr/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fr/Makefile" ;;
9850
 
    "doc/fr/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/fr/images/Makefile" ;;
9851
 
    "doc/ja/Makefile") CONFIG_FILES="$CONFIG_FILES doc/ja/Makefile" ;;
9852
 
    "doc/ja/images/Makefile") CONFIG_FILES="$CONFIG_FILES doc/ja/images/Makefile" ;;
9853
 
    "doc/po4a/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/Makefile" ;;
9854
 
    "doc/po4a/po/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/po/Makefile" ;;
9855
 
    "doc/po4a/add_de/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/add_de/Makefile" ;;
9856
 
    "doc/po4a/add_es/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/add_es/Makefile" ;;
9857
 
    "doc/po4a/add_fr/Makefile") CONFIG_FILES="$CONFIG_FILES doc/po4a/add_fr/Makefile" ;;
9858
 
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9859
 
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9860
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9861
 
    "src/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/Makefile" ;;
9862
 
    "src/gtk/controllers/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/controllers/Makefile" ;;
9863
 
    "src/gtk/toplevel/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/toplevel/Makefile" ;;
9864
 
    "src/gtk/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/util/Makefile" ;;
9865
 
    "src/gtk/views/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/views/Makefile" ;;
9866
 
    "src/gtk/views/mocks/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/views/mocks/Makefile" ;;
9867
 
    "src/gtk/view-impls/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/view-impls/Makefile" ;;
9868
 
    "src/cmdline/Makefile") CONFIG_FILES="$CONFIG_FILES src/cmdline/Makefile" ;;
9869
 
    "src/cmdline/mocks/Makefile") CONFIG_FILES="$CONFIG_FILES src/cmdline/mocks/Makefile" ;;
9870
 
    "src/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/Makefile" ;;
9871
 
    "src/generic/apt/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/apt/Makefile" ;;
9872
 
    "src/generic/apt/history/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/apt/history/Makefile" ;;
9873
 
    "src/generic/apt/matching/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/apt/matching/Makefile" ;;
9874
 
    "src/generic/problemresolver/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/problemresolver/Makefile" ;;
9875
 
    "src/generic/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic/util/Makefile" ;;
9876
 
    "src/mine/Makefile") CONFIG_FILES="$CONFIG_FILES src/mine/Makefile" ;;
9877
 
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9878
 
 
9879
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9880
 
  esac
9881
 
done
9882
 
 
9883
 
 
9884
 
# If the user did not use the arguments to specify the items to instantiate,
9885
 
# then the envvar interface is used.  Set only those that are not.
9886
 
# We use the long form for the default assignment because of an extremely
9887
 
# bizarre bug on SunOS 4.1.3.
9888
 
if $ac_need_defaults; then
9889
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9890
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9891
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9892
 
fi
9893
 
 
9894
 
# Have a temporary directory for convenience.  Make it in the build tree
9895
 
# simply because there is no reason against having it here, and in addition,
9896
 
# creating and moving files from /tmp can sometimes cause problems.
9897
 
# Hook for its removal unless debugging.
9898
 
# Note that there is a small window in which the directory will not be cleaned:
9899
 
# after its creation but before its name has been assigned to `$tmp'.
9900
 
$debug ||
9901
 
{
9902
 
  tmp=
9903
 
  trap 'exit_status=$?
9904
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9905
 
' 0
9906
 
  trap 'as_fn_exit 1' 1 2 13 15
9907
 
}
9908
 
# Create a (secure) tmp directory for tmp files.
9909
 
 
9910
 
{
9911
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9912
 
  test -n "$tmp" && test -d "$tmp"
9913
 
}  ||
9914
 
{
9915
 
  tmp=./conf$$-$RANDOM
9916
 
  (umask 077 && mkdir "$tmp")
9917
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9918
 
 
9919
 
# Set up the scripts for CONFIG_FILES section.
9920
 
# No need to generate them if there are no CONFIG_FILES.
9921
 
# This happens for instance with `./config.status config.h'.
9922
 
if test -n "$CONFIG_FILES"; then
9923
 
 
9924
 
 
9925
 
ac_cr=`echo X | tr X '\015'`
9926
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
9927
 
# But we know of no other shell where ac_cr would be empty at this
9928
 
# point, so we can use a bashism as a fallback.
9929
 
if test "x$ac_cr" = x; then
9930
 
  eval ac_cr=\$\'\\r\'
9931
 
fi
9932
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9933
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9934
 
  ac_cs_awk_cr='\r'
9935
 
else
9936
 
  ac_cs_awk_cr=$ac_cr
9937
 
fi
9938
 
 
9939
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9940
 
_ACEOF
9941
 
 
9942
 
 
9943
 
{
9944
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
9945
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9946
 
  echo "_ACEOF"
9947
 
} >conf$$subs.sh ||
9948
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9949
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9950
 
ac_delim='%!_!# '
9951
 
for ac_last_try in false false false false false :; do
9952
 
  . ./conf$$subs.sh ||
9953
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9954
 
 
9955
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9956
 
  if test $ac_delim_n = $ac_delim_num; then
9957
 
    break
9958
 
  elif $ac_last_try; then
9959
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9960
 
  else
9961
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9962
 
  fi
9963
 
done
9964
 
rm -f conf$$subs.sh
9965
 
 
9966
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9967
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9968
 
_ACEOF
9969
 
sed -n '
9970
 
h
9971
 
s/^/S["/; s/!.*/"]=/
9972
 
p
9973
 
g
9974
 
s/^[^!]*!//
9975
 
:repl
9976
 
t repl
9977
 
s/'"$ac_delim"'$//
9978
 
t delim
9979
 
:nl
9980
 
h
9981
 
s/\(.\{148\}\)..*/\1/
9982
 
t more1
9983
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9984
 
p
9985
 
n
9986
 
b repl
9987
 
:more1
9988
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9989
 
p
9990
 
g
9991
 
s/.\{148\}//
9992
 
t nl
9993
 
:delim
9994
 
h
9995
 
s/\(.\{148\}\)..*/\1/
9996
 
t more2
9997
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
9998
 
p
9999
 
b
10000
 
:more2
10001
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10002
 
p
10003
 
g
10004
 
s/.\{148\}//
10005
 
t delim
10006
 
' <conf$$subs.awk | sed '
10007
 
/^[^""]/{
10008
 
  N
10009
 
  s/\n//
10010
 
}
10011
 
' >>$CONFIG_STATUS || ac_write_fail=1
10012
 
rm -f conf$$subs.awk
10013
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10014
 
_ACAWK
10015
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
10016
 
  for (key in S) S_is_set[key] = 1
10017
 
  FS = ""
10018
 
 
10019
 
}
10020
 
{
10021
 
  line = $ 0
10022
 
  nfields = split(line, field, "@")
10023
 
  substed = 0
10024
 
  len = length(field[1])
10025
 
  for (i = 2; i < nfields; i++) {
10026
 
    key = field[i]
10027
 
    keylen = length(key)
10028
 
    if (S_is_set[key]) {
10029
 
      value = S[key]
10030
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10031
 
      len += length(value) + length(field[++i])
10032
 
      substed = 1
10033
 
    } else
10034
 
      len += 1 + keylen
10035
 
  }
10036
 
 
10037
 
  print line
10038
 
}
10039
 
 
10040
 
_ACAWK
10041
 
_ACEOF
10042
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10043
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10044
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10045
 
else
10046
 
  cat
10047
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10048
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
10049
 
_ACEOF
10050
 
 
10051
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
10052
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10053
 
# trailing colons and then remove the whole line if VPATH becomes empty
10054
 
# (actually we leave an empty line to preserve line numbers).
10055
 
if test "x$srcdir" = x.; then
10056
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10057
 
s/:*\$(srcdir):*/:/
10058
 
s/:*\${srcdir}:*/:/
10059
 
s/:*@srcdir@:*/:/
10060
 
s/^\([^=]*=[     ]*\):*/\1/
10061
 
s/:*$//
10062
 
s/^[^=]*=[       ]*$//
10063
 
}'
10064
 
fi
10065
 
 
10066
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10067
 
fi # test -n "$CONFIG_FILES"
10068
 
 
10069
 
# Set up the scripts for CONFIG_HEADERS section.
10070
 
# No need to generate them if there are no CONFIG_HEADERS.
10071
 
# This happens for instance with `./config.status Makefile'.
10072
 
if test -n "$CONFIG_HEADERS"; then
10073
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
10074
 
BEGIN {
10075
 
_ACEOF
10076
 
 
10077
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
10078
 
# here-document in config.status, that substitutes the proper values into
10079
 
# config.h.in to produce config.h.
10080
 
 
10081
 
# Create a delimiter string that does not exist in confdefs.h, to ease
10082
 
# handling of long lines.
10083
 
ac_delim='%!_!# '
10084
 
for ac_last_try in false false :; do
10085
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10086
 
  if test -z "$ac_t"; then
10087
 
    break
10088
 
  elif $ac_last_try; then
10089
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
10090
 
  else
10091
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10092
 
  fi
10093
 
done
10094
 
 
10095
 
# For the awk script, D is an array of macro values keyed by name,
10096
 
# likewise P contains macro parameters if any.  Preserve backslash
10097
 
# newline sequences.
10098
 
 
10099
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10100
 
sed -n '
10101
 
s/.\{148\}/&'"$ac_delim"'/g
10102
 
t rset
10103
 
:rset
10104
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
10105
 
t def
10106
 
d
10107
 
:def
10108
 
s/\\$//
10109
 
t bsnl
10110
 
s/["\\]/\\&/g
10111
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10112
 
D["\1"]=" \3"/p
10113
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
10114
 
d
10115
 
:bsnl
10116
 
s/["\\]/\\&/g
10117
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10118
 
D["\1"]=" \3\\\\\\n"\\/p
10119
 
t cont
10120
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10121
 
t cont
10122
 
d
10123
 
:cont
10124
 
n
10125
 
s/.\{148\}/&'"$ac_delim"'/g
10126
 
t clear
10127
 
:clear
10128
 
s/\\$//
10129
 
t bsnlc
10130
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
10131
 
d
10132
 
:bsnlc
10133
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10134
 
b cont
10135
 
' <confdefs.h | sed '
10136
 
s/'"$ac_delim"'/"\\\
10137
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
10138
 
 
10139
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10140
 
  for (key in D) D_is_set[key] = 1
10141
 
  FS = ""
10142
 
}
10143
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10144
 
  line = \$ 0
10145
 
  split(line, arg, " ")
10146
 
  if (arg[1] == "#") {
10147
 
    defundef = arg[2]
10148
 
    mac1 = arg[3]
10149
 
  } else {
10150
 
    defundef = substr(arg[1], 2)
10151
 
    mac1 = arg[2]
10152
 
  }
10153
 
  split(mac1, mac2, "(") #)
10154
 
  macro = mac2[1]
10155
 
  prefix = substr(line, 1, index(line, defundef) - 1)
10156
 
  if (D_is_set[macro]) {
10157
 
    # Preserve the white space surrounding the "#".
10158
 
    print prefix "define", macro P[macro] D[macro]
10159
 
    next
10160
 
  } else {
10161
 
    # Replace #undef with comments.  This is necessary, for example,
10162
 
    # in the case of _POSIX_SOURCE, which is predefined and required
10163
 
    # on some systems where configure will not decide to define it.
10164
 
    if (defundef == "undef") {
10165
 
      print "/*", prefix defundef, macro, "*/"
10166
 
      next
10167
 
    }
10168
 
  }
10169
 
}
10170
 
{ print }
10171
 
_ACAWK
10172
 
_ACEOF
10173
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10174
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
10175
 
fi # test -n "$CONFIG_HEADERS"
10176
 
 
10177
 
 
10178
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10179
 
shift
10180
 
for ac_tag
10181
 
do
10182
 
  case $ac_tag in
10183
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
10184
 
  esac
10185
 
  case $ac_mode$ac_tag in
10186
 
  :[FHL]*:*);;
10187
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
10188
 
  :[FH]-) ac_tag=-:-;;
10189
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10190
 
  esac
10191
 
  ac_save_IFS=$IFS
10192
 
  IFS=:
10193
 
  set x $ac_tag
10194
 
  IFS=$ac_save_IFS
10195
 
  shift
10196
 
  ac_file=$1
10197
 
  shift
10198
 
 
10199
 
  case $ac_mode in
10200
 
  :L) ac_source=$1;;
10201
 
  :[FH])
10202
 
    ac_file_inputs=
10203
 
    for ac_f
10204
 
    do
10205
 
      case $ac_f in
10206
 
      -) ac_f="$tmp/stdin";;
10207
 
      *) # Look for the file first in the build tree, then in the source tree
10208
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
10209
 
         # because $ac_f cannot contain `:'.
10210
 
         test -f "$ac_f" ||
10211
 
           case $ac_f in
10212
 
           [\\/$]*) false;;
10213
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10214
 
           esac ||
10215
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10216
 
      esac
10217
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10218
 
      as_fn_append ac_file_inputs " '$ac_f'"
10219
 
    done
10220
 
 
10221
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
10222
 
    # use $as_me), people would be surprised to read:
10223
 
    #    /* config.h.  Generated by config.status.  */
10224
 
    configure_input='Generated from '`
10225
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10226
 
        `' by configure.'
10227
 
    if test x"$ac_file" != x-; then
10228
 
      configure_input="$ac_file.  $configure_input"
10229
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10230
 
$as_echo "$as_me: creating $ac_file" >&6;}
10231
 
    fi
10232
 
    # Neutralize special characters interpreted by sed in replacement strings.
10233
 
    case $configure_input in #(
10234
 
    *\&* | *\|* | *\\* )
10235
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
10236
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
10237
 
    *) ac_sed_conf_input=$configure_input;;
10238
 
    esac
10239
 
 
10240
 
    case $ac_tag in
10241
 
    *:-:* | *:-) cat >"$tmp/stdin" \
10242
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
10243
 
    esac
10244
 
    ;;
10245
 
  esac
10246
 
 
10247
 
  ac_dir=`$as_dirname -- "$ac_file" ||
10248
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10249
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
10250
 
         X"$ac_file" : 'X\(//\)$' \| \
10251
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10252
 
$as_echo X"$ac_file" |
10253
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10254
 
            s//\1/
10255
 
            q
10256
 
          }
10257
 
          /^X\(\/\/\)[^/].*/{
10258
 
            s//\1/
10259
 
            q
10260
 
          }
10261
 
          /^X\(\/\/\)$/{
10262
 
            s//\1/
10263
 
            q
10264
 
          }
10265
 
          /^X\(\/\).*/{
10266
 
            s//\1/
10267
 
            q
10268
 
          }
10269
 
          s/.*/./; q'`
10270
 
  as_dir="$ac_dir"; as_fn_mkdir_p
10271
 
  ac_builddir=.
10272
 
 
10273
 
case "$ac_dir" in
10274
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10275
 
*)
10276
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10277
 
  # A ".." for each directory in $ac_dir_suffix.
10278
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10279
 
  case $ac_top_builddir_sub in
10280
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10281
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10282
 
  esac ;;
10283
 
esac
10284
 
ac_abs_top_builddir=$ac_pwd
10285
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
10286
 
# for backward compatibility:
10287
 
ac_top_builddir=$ac_top_build_prefix
10288
 
 
10289
 
case $srcdir in
10290
 
  .)  # We are building in place.
10291
 
    ac_srcdir=.
10292
 
    ac_top_srcdir=$ac_top_builddir_sub
10293
 
    ac_abs_top_srcdir=$ac_pwd ;;
10294
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
10295
 
    ac_srcdir=$srcdir$ac_dir_suffix;
10296
 
    ac_top_srcdir=$srcdir
10297
 
    ac_abs_top_srcdir=$srcdir ;;
10298
 
  *) # Relative name.
10299
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10300
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
10301
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10302
 
esac
10303
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10304
 
 
10305
 
 
10306
 
  case $ac_mode in
10307
 
  :F)
10308
 
  #
10309
 
  # CONFIG_FILE
10310
 
  #
10311
 
 
10312
 
  case $INSTALL in
10313
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10314
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10315
 
  esac
10316
 
  ac_MKDIR_P=$MKDIR_P
10317
 
  case $MKDIR_P in
10318
 
  [\\/$]* | ?:[\\/]* ) ;;
10319
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10320
 
  esac
10321
 
_ACEOF
10322
 
 
10323
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10324
 
# If the template does not know about datarootdir, expand it.
10325
 
# FIXME: This hack should be removed a few years after 2.60.
10326
 
ac_datarootdir_hack=; ac_datarootdir_seen=
10327
 
ac_sed_dataroot='
10328
 
/datarootdir/ {
10329
 
  p
10330
 
  q
10331
 
}
10332
 
/@datadir@/p
10333
 
/@docdir@/p
10334
 
/@infodir@/p
10335
 
/@localedir@/p
10336
 
/@mandir@/p'
10337
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10338
 
*datarootdir*) ac_datarootdir_seen=yes;;
10339
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10340
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10341
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10342
 
_ACEOF
10343
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10344
 
  ac_datarootdir_hack='
10345
 
  s&@datadir@&$datadir&g
10346
 
  s&@docdir@&$docdir&g
10347
 
  s&@infodir@&$infodir&g
10348
 
  s&@localedir@&$localedir&g
10349
 
  s&@mandir@&$mandir&g
10350
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
10351
 
esac
10352
 
_ACEOF
10353
 
 
10354
 
# Neutralize VPATH when `$srcdir' = `.'.
10355
 
# Shell code in configure.ac might set extrasub.
10356
 
# FIXME: do we really want to maintain this feature?
10357
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10358
 
ac_sed_extra="$ac_vpsub
10359
 
$extrasub
10360
 
_ACEOF
10361
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10362
 
:t
10363
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10364
 
s|@configure_input@|$ac_sed_conf_input|;t t
10365
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
10366
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
10367
 
s&@srcdir@&$ac_srcdir&;t t
10368
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
10369
 
s&@top_srcdir@&$ac_top_srcdir&;t t
10370
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10371
 
s&@builddir@&$ac_builddir&;t t
10372
 
s&@abs_builddir@&$ac_abs_builddir&;t t
10373
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10374
 
s&@INSTALL@&$ac_INSTALL&;t t
10375
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
10376
 
$ac_datarootdir_hack
10377
 
"
10378
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10379
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
10380
 
 
10381
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10382
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10383
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10384
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10385
 
which seems to be undefined.  Please make sure it is defined." >&5
10386
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10387
 
which seems to be undefined.  Please make sure it is defined." >&2;}
10388
 
 
10389
 
  rm -f "$tmp/stdin"
10390
 
  case $ac_file in
10391
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
10392
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10393
 
  esac \
10394
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
10395
 
 ;;
10396
 
  :H)
10397
 
  #
10398
 
  # CONFIG_HEADER
10399
 
  #
10400
 
  if test x"$ac_file" != x-; then
10401
 
    {
10402
 
      $as_echo "/* $configure_input  */" \
10403
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10404
 
    } >"$tmp/config.h" \
10405
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
10406
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10407
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10408
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
10409
 
    else
10410
 
      rm -f "$ac_file"
10411
 
      mv "$tmp/config.h" "$ac_file" \
10412
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
10413
 
    fi
10414
 
  else
10415
 
    $as_echo "/* $configure_input  */" \
10416
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10417
 
      || as_fn_error "could not create -" "$LINENO" 5
10418
 
  fi
10419
 
# Compute "$ac_file"'s index in $config_headers.
10420
 
_am_arg="$ac_file"
10421
 
_am_stamp_count=1
10422
 
for _am_header in $config_headers :; do
10423
 
  case $_am_header in
10424
 
    $_am_arg | $_am_arg:* )
10425
 
      break ;;
10426
 
    * )
10427
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10428
 
  esac
10429
 
done
10430
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10431
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10432
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
10433
 
         X"$_am_arg" : 'X\(//\)$' \| \
10434
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10435
 
$as_echo X"$_am_arg" |
10436
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10437
 
            s//\1/
10438
 
            q
10439
 
          }
10440
 
          /^X\(\/\/\)[^/].*/{
10441
 
            s//\1/
10442
 
            q
10443
 
          }
10444
 
          /^X\(\/\/\)$/{
10445
 
            s//\1/
10446
 
            q
10447
 
          }
10448
 
          /^X\(\/\).*/{
10449
 
            s//\1/
10450
 
            q
10451
 
          }
10452
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
10453
 
 ;;
10454
 
 
10455
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10456
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
10457
 
 ;;
10458
 
  esac
10459
 
 
10460
 
 
10461
 
  case $ac_file$ac_mode in
10462
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10463
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
10464
 
  # are listed without --file.  Let's play safe and only enable the eval
10465
 
  # if we detect the quoting.
10466
 
  case $CONFIG_FILES in
10467
 
  *\'*) eval set x "$CONFIG_FILES" ;;
10468
 
  *)   set x $CONFIG_FILES ;;
10469
 
  esac
10470
 
  shift
10471
 
  for mf
10472
 
  do
10473
 
    # Strip MF so we end up with the name of the file.
10474
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
10475
 
    # Check whether this is an Automake generated Makefile or not.
10476
 
    # We used to match only the files named `Makefile.in', but
10477
 
    # some people rename them; so instead we look at the file content.
10478
 
    # Grep'ing the first line is not enough: some people post-process
10479
 
    # each Makefile.in and add a new line on top of each file to say so.
10480
 
    # Grep'ing the whole file is not good either: AIX grep has a line
10481
 
    # limit of 2048, but all sed's we know have understand at least 4000.
10482
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10483
 
      dirpart=`$as_dirname -- "$mf" ||
10484
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10485
 
         X"$mf" : 'X\(//\)[^/]' \| \
10486
 
         X"$mf" : 'X\(//\)$' \| \
10487
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10488
 
$as_echo X"$mf" |
10489
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10490
 
            s//\1/
10491
 
            q
10492
 
          }
10493
 
          /^X\(\/\/\)[^/].*/{
10494
 
            s//\1/
10495
 
            q
10496
 
          }
10497
 
          /^X\(\/\/\)$/{
10498
 
            s//\1/
10499
 
            q
10500
 
          }
10501
 
          /^X\(\/\).*/{
10502
 
            s//\1/
10503
 
            q
10504
 
          }
10505
 
          s/.*/./; q'`
10506
 
    else
10507
 
      continue
10508
 
    fi
10509
 
    # Extract the definition of DEPDIR, am__include, and am__quote
10510
 
    # from the Makefile without running `make'.
10511
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10512
 
    test -z "$DEPDIR" && continue
10513
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
10514
 
    test -z "am__include" && continue
10515
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10516
 
    # When using ansi2knr, U may be empty or an underscore; expand it
10517
 
    U=`sed -n 's/^U = //p' < "$mf"`
10518
 
    # Find all dependency output files, they are included files with
10519
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
10520
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
10521
 
    # expansion.
10522
 
    for file in `sed -n "
10523
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10524
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10525
 
      # Make sure the directory exists.
10526
 
      test -f "$dirpart/$file" && continue
10527
 
      fdir=`$as_dirname -- "$file" ||
10528
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10529
 
         X"$file" : 'X\(//\)[^/]' \| \
10530
 
         X"$file" : 'X\(//\)$' \| \
10531
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10532
 
$as_echo X"$file" |
10533
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10534
 
            s//\1/
10535
 
            q
10536
 
          }
10537
 
          /^X\(\/\/\)[^/].*/{
10538
 
            s//\1/
10539
 
            q
10540
 
          }
10541
 
          /^X\(\/\/\)$/{
10542
 
            s//\1/
10543
 
            q
10544
 
          }
10545
 
          /^X\(\/\).*/{
10546
 
            s//\1/
10547
 
            q
10548
 
          }
10549
 
          s/.*/./; q'`
10550
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
10551
 
      # echo "creating $dirpart/$file"
10552
 
      echo '# dummy' > "$dirpart/$file"
10553
 
    done
10554
 
  done
10555
 
}
10556
 
 ;;
10557
 
    "default-1":C)
10558
 
    for ac_file in $CONFIG_FILES; do
10559
 
      # Support "outfile[:infile[:infile...]]"
10560
 
      case "$ac_file" in
10561
 
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10562
 
      esac
10563
 
      # PO directories have a Makefile.in generated from Makefile.in.in.
10564
 
      case "$ac_file" in */Makefile.in)
10565
 
        # Adjust a relative srcdir.
10566
 
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10567
 
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10568
 
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10569
 
        # In autoconf-2.13 it is called $ac_given_srcdir.
10570
 
        # In autoconf-2.50 it is called $srcdir.
10571
 
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10572
 
        case "$ac_given_srcdir" in
10573
 
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10574
 
          /*) top_srcdir="$ac_given_srcdir" ;;
10575
 
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
10576
 
        esac
10577
 
        # Treat a directory as a PO directory if and only if it has a
10578
 
        # POTFILES.in file. This allows packages to have multiple PO
10579
 
        # directories under different names or in different locations.
10580
 
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10581
 
          rm -f "$ac_dir/POTFILES"
10582
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10583
 
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10584
 
          POMAKEFILEDEPS="POTFILES.in"
10585
 
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10586
 
          # on $ac_dir but don't depend on user-specified configuration
10587
 
          # parameters.
10588
 
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10589
 
            # The LINGUAS file contains the set of available languages.
10590
 
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
10591
 
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10592
 
            fi
10593
 
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10594
 
            # Hide the ALL_LINGUAS assigment from automake.
10595
 
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10596
 
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10597
 
          else
10598
 
            # The set of available languages was given in configure.in.
10599
 
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10600
 
          fi
10601
 
          # Compute POFILES
10602
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10603
 
          # Compute UPDATEPOFILES
10604
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10605
 
          # Compute DUMMYPOFILES
10606
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10607
 
          # Compute GMOFILES
10608
 
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10609
 
          case "$ac_given_srcdir" in
10610
 
            .) srcdirpre= ;;
10611
 
            *) srcdirpre='$(srcdir)/' ;;
10612
 
          esac
10613
 
          POFILES=
10614
 
          UPDATEPOFILES=
10615
 
          DUMMYPOFILES=
10616
 
          GMOFILES=
10617
 
          for lang in $ALL_LINGUAS; do
10618
 
            POFILES="$POFILES $srcdirpre$lang.po"
10619
 
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10620
 
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10621
 
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10622
 
          done
10623
 
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
10624
 
          # environment variable.
10625
 
          INST_LINGUAS=
10626
 
          if test -n "$ALL_LINGUAS"; then
10627
 
            for presentlang in $ALL_LINGUAS; do
10628
 
              useit=no
10629
 
              if test "%UNSET%" != "$LINGUAS"; then
10630
 
                desiredlanguages="$LINGUAS"
10631
 
              else
10632
 
                desiredlanguages="$ALL_LINGUAS"
10633
 
              fi
10634
 
              for desiredlang in $desiredlanguages; do
10635
 
                # Use the presentlang catalog if desiredlang is
10636
 
                #   a. equal to presentlang, or
10637
 
                #   b. a variant of presentlang (because in this case,
10638
 
                #      presentlang can be used as a fallback for messages
10639
 
                #      which are not translated in the desiredlang catalog).
10640
 
                case "$desiredlang" in
10641
 
                  "$presentlang"*) useit=yes;;
10642
 
                esac
10643
 
              done
10644
 
              if test $useit = yes; then
10645
 
                INST_LINGUAS="$INST_LINGUAS $presentlang"
10646
 
              fi
10647
 
            done
10648
 
          fi
10649
 
          CATALOGS=
10650
 
          if test -n "$INST_LINGUAS"; then
10651
 
            for lang in $INST_LINGUAS; do
10652
 
              CATALOGS="$CATALOGS $lang.gmo"
10653
 
            done
10654
 
          fi
10655
 
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10656
 
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10657
 
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10658
 
            if test -f "$f"; then
10659
 
              case "$f" in
10660
 
                *.orig | *.bak | *~) ;;
10661
 
                *) cat "$f" >> "$ac_dir/Makefile" ;;
10662
 
              esac
10663
 
            fi
10664
 
          done
10665
 
        fi
10666
 
        ;;
10667
 
      esac
10668
 
    done ;;
10669
 
 
10670
 
  esac
10671
 
done # for ac_tag
10672
 
 
10673
 
 
10674
 
as_fn_exit 0
10675
 
_ACEOF
10676
 
ac_clean_files=$ac_clean_files_save
10677
 
 
10678
 
test $ac_write_fail = 0 ||
10679
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
10680
 
 
10681
 
 
10682
 
# configure is writing to config.log, and then calls config.status.
10683
 
# config.status does its own redirection, appending to config.log.
10684
 
# Unfortunately, on DOS this fails, as config.log is still kept open
10685
 
# by configure, so config.status won't be able to write to it; its
10686
 
# output is simply discarded.  So we exec the FD to /dev/null,
10687
 
# effectively closing config.log, so it can be properly (re)opened and
10688
 
# appended to by config.status.  When coming back to configure, we
10689
 
# need to make the FD available again.
10690
 
if test "$no_create" != yes; then
10691
 
  ac_cs_success=:
10692
 
  ac_config_status_args=
10693
 
  test "$silent" = yes &&
10694
 
    ac_config_status_args="$ac_config_status_args --quiet"
10695
 
  exec 5>/dev/null
10696
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10697
 
  exec 5>>config.log
10698
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10699
 
  # would make configure fail if this is the last instruction.
10700
 
  $ac_cs_success || as_fn_exit $?
10701
 
fi
10702
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10703
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10704
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10705
 
fi
10706