~ubuntu-branches/ubuntu/trusty/fluxbox/trusty-proposed

« back to all changes in this revision

Viewing changes to autom4te.cache/output.1

  • Committer: Package Import Robot
  • Author(s): Paul Tagliamonte
  • Date: 2010-08-12 21:16:02 UTC
  • mfrom: (0.1.1) (1.1.10)
  • Revision ID: package-import@ubuntu.com-20100812211602-3tsmzl9in5nmwz7z
Tags: 1.1.1+git20100807.0cc08f9-1
* debian/ dir has been cleaned out, complete repackage
  of most files.
* pulled new archive from git.fluxbox.org HEAD, saved as
  tar.gz.
* Added in fluxbox.* files from the old dfsg tree.
* Added in system.fluxbox-menu file from the old dfsg tree
* Added the source/format file to bump package source
  version from 1.0 to 3.0 (quilt). 
* Changed rules file to match the old dfsg setup so that
  fluxbox behaves nicely.
* Removed entries from copyright that no longer apply.
* Added theme based on Denis Brand ( naran )'s old theme.
* Added a background I whipped up.
* Changed compile flags to point to debian theme by default
* Adding a patch to have fluxbox use x-terminal-emulator
  over xterm. Closes: #591694 (LP: #580485)
* Adding a patch to allow titlebar-window dragging.
* Changed the flags in rules to pull from a script. This script
  lets us un-hardcode what theme is default. Be sure there
  is a theme pack!
* Added comments to my patches.
* Removing debian/docs, empty file.
* Fixing fluxbox.desktop to remove all the warnings from
  desktop-file-validate
* Fixing libtool issue by running an update before
  configure in the rules script.
* Added a compile flag script to auto-detect what platform
  we are running on, and apply the correct theme. This
  should solve Ubuntnu issues later on.
* adding in a get-orig-source rule
* fixing the upstream version number to pinpoint
  the commit ( thanks, lfaraone ).
* adding a rule for get-orig-source. ( thanks again,
  lfaraone ).
* Updated rules to actually allow us to do a build from it
* Removed Denis from the uploaders ( as per an email
  conversation )
* Removing madduck from the uploaders ( thanks for asking,
  lfaraone. ). Thanks for your hard work, madduck.

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