~ubuntu-branches/ubuntu/natty/sawfish/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Luis Rodrigo Gallardo Cruz
  • Date: 2009-11-23 09:05:20 UTC
  • mfrom: (1.2.10 upstream) (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20091123090520-3u8sefrr4lmfsiem
Tags: 1:1.5.3-2
* Remove reference to sawMILL in 00debian.jl (Closes: #557250).
* Remove empty doc dirs and replace them with symlinks (Closes: #556991).
* Rename sawfish maintainer scripts with the binary package name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# From configure.in Revision: 1.141 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.63.
 
4
# Generated by GNU Autoconf 2.64.
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
8
# Foundation, Inc.
 
9
#
8
10
# This configure script is free software; the Free Software Foundation
9
11
# gives unlimited permission to copy, distribute and modify it.
10
 
## --------------------- ##
11
 
## M4sh Initialization.  ##
12
 
## --------------------- ##
 
12
## -------------------- ##
 
13
## M4sh Initialization. ##
 
14
## -------------------- ##
13
15
 
14
16
# Be more Bourne compatible
15
17
DUALCASE=1; export DUALCASE # for MKS sh
16
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17
19
  emulate sh
18
20
  NULLCMD=:
19
21
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
23
  alias -g '${1+"$@"}'='"$@"'
22
24
  setopt NO_GLOB_SUBST
23
25
else
24
 
  case `(set -o) 2>/dev/null` in
25
 
  *posix*) set -o posix ;;
 
26
  case `(set -o) 2>/dev/null` in #(
 
27
  *posix*) :
 
28
    set -o posix ;; #(
 
29
  *) :
 
30
     ;;
26
31
esac
27
 
 
28
32
fi
29
33
 
30
34
 
31
 
 
32
 
 
33
 
# PATH needs CR
34
 
# Avoid depending upon Character Ranges.
35
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38
 
as_cr_digits='0123456789'
39
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
 
 
41
35
as_nl='
42
36
'
43
37
export as_nl
45
39
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
42
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
43
# but without wasting forks for bash or zsh.
 
44
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
45
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
46
  as_echo='print -r --'
 
47
  as_echo_n='print -rn --'
 
48
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49
49
  as_echo='printf %s\n'
50
50
  as_echo_n='printf %s'
51
51
else
56
56
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57
57
    as_echo_n_body='eval
58
58
      arg=$1;
59
 
      case $arg in
 
59
      case $arg in #(
60
60
      *"$as_nl"*)
61
61
        expr "X$arg" : "X\\(.*\\)$as_nl";
62
62
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79
79
  }
80
80
fi
81
81
 
82
 
# Support unset when possible.
83
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84
 
  as_unset=unset
85
 
else
86
 
  as_unset=false
87
 
fi
88
 
 
89
82
 
90
83
# IFS
91
84
# We need space, tab and new line, in precisely that order.  Quoting is
95
88
IFS=" ""        $as_nl"
96
89
 
97
90
# Find who we are.  Look in the path if we contain no directory separator.
98
 
case $0 in
 
91
case $0 in #((
99
92
  *[\\/]* ) as_myself=$0 ;;
100
93
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
94
for as_dir in $PATH
102
95
do
103
96
  IFS=$as_save_IFS
104
97
  test -z "$as_dir" && as_dir=.
105
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
 
done
 
98
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
99
  done
107
100
IFS=$as_save_IFS
108
101
 
109
102
     ;;
115
108
fi
116
109
if test ! -f "$as_myself"; then
117
110
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
 
  { (exit 1); exit 1; }
 
111
  exit 1
119
112
fi
120
113
 
121
 
# Work around bugs in pre-3.0 UWIN ksh.
122
 
for as_var in ENV MAIL MAILPATH
123
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
114
# Unset variables that we do not need and which cause bugs (e.g. in
 
115
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
116
# suppresses any "Segmentation fault" message there.  '((' could
 
117
# trigger a bug in pdksh 5.2.14.
 
118
for as_var in BASH_ENV ENV MAIL MAILPATH
 
119
do eval test x\${$as_var+set} = xset \
 
120
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124
121
done
125
122
PS1='$ '
126
123
PS2='> '
132
129
LANGUAGE=C
133
130
export LANGUAGE
134
131
 
135
 
# Required to use basename.
136
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
137
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
138
 
  as_expr=expr
139
 
else
140
 
  as_expr=false
141
 
fi
142
 
 
143
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
144
 
  as_basename=basename
145
 
else
146
 
  as_basename=false
147
 
fi
148
 
 
149
 
 
150
 
# Name of the executable.
151
 
as_me=`$as_basename -- "$0" ||
152
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153
 
         X"$0" : 'X\(//\)$' \| \
154
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
 
$as_echo X/"$0" |
156
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
157
 
            s//\1/
158
 
            q
159
 
          }
160
 
          /^X\/\(\/\/\)$/{
161
 
            s//\1/
162
 
            q
163
 
          }
164
 
          /^X\/\(\/\).*/{
165
 
            s//\1/
166
 
            q
167
 
          }
168
 
          s/.*/./; q'`
169
 
 
170
132
# CDPATH.
171
 
$as_unset CDPATH
172
 
 
 
133
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
134
 
174
135
if test "x$CONFIG_SHELL" = x; then
175
 
  if (eval ":") 2>/dev/null; then
 
136
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
137
  emulate sh
 
138
  NULLCMD=:
 
139
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
140
  # is contrary to our usage.  Disable this feature.
 
141
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
142
  setopt NO_GLOB_SUBST
 
143
else
 
144
  case \`(set -o) 2>/dev/null\` in #(
 
145
  *posix*) :
 
146
    set -o posix ;; #(
 
147
  *) :
 
148
     ;;
 
149
esac
 
150
fi
 
151
"
 
152
  as_required="as_fn_return () { (exit \$1); }
 
153
as_fn_success () { as_fn_return 0; }
 
154
as_fn_failure () { as_fn_return 1; }
 
155
as_fn_ret_success () { return 0; }
 
156
as_fn_ret_failure () { return 1; }
 
157
 
 
158
exitcode=0
 
159
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
160
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
161
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
162
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
163
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
164
 
 
165
else
 
166
  exitcode=1; echo positional parameters were not saved.
 
167
fi
 
168
test x\$exitcode = x0 || exit 1"
 
169
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
170
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
171
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
172
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
173
test \$(( 1 + 1 )) = 2 || exit 1"
 
174
  if (eval "$as_required") 2>/dev/null; then :
176
175
  as_have_required=yes
177
176
else
178
177
  as_have_required=no
179
178
fi
180
 
 
181
 
  if test $as_have_required = yes &&     (eval ":
182
 
(as_func_return () {
183
 
  (exit \$1)
184
 
}
185
 
as_func_success () {
186
 
  as_func_return 0
187
 
}
188
 
as_func_failure () {
189
 
  as_func_return 1
190
 
}
191
 
as_func_ret_success () {
192
 
  return 0
193
 
}
194
 
as_func_ret_failure () {
195
 
  return 1
196
 
}
197
 
 
198
 
exitcode=0
199
 
if as_func_success; then
200
 
  :
201
 
else
202
 
  exitcode=1
203
 
  echo as_func_success failed.
204
 
fi
205
 
 
206
 
if as_func_failure; then
207
 
  exitcode=1
208
 
  echo as_func_failure succeeded.
209
 
fi
210
 
 
211
 
if as_func_ret_success; then
212
 
  :
213
 
else
214
 
  exitcode=1
215
 
  echo as_func_ret_success failed.
216
 
fi
217
 
 
218
 
if as_func_ret_failure; then
219
 
  exitcode=1
220
 
  echo as_func_ret_failure succeeded.
221
 
fi
222
 
 
223
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224
 
  :
225
 
else
226
 
  exitcode=1
227
 
  echo positional parameters were not saved.
228
 
fi
229
 
 
230
 
test \$exitcode = 0) || { (exit 1); exit 1; }
231
 
 
232
 
(
233
 
  as_lineno_1=\$LINENO
234
 
  as_lineno_2=\$LINENO
235
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237
 
") 2> /dev/null; then
238
 
  :
239
 
else
240
 
  as_candidate_shells=
241
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
179
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
180
 
 
181
else
 
182
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
183
as_found=false
242
184
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243
185
do
244
186
  IFS=$as_save_IFS
245
187
  test -z "$as_dir" && as_dir=.
246
 
  case $as_dir in
 
188
  as_found=:
 
189
  case $as_dir in #(
247
190
         /*)
248
191
           for as_base in sh bash ksh sh5; do
249
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
192
             # Try only shells that exist, to save several forks.
 
193
             as_shell=$as_dir/$as_base
 
194
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
195
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
196
  CONFIG_SHELL=$as_shell as_have_required=yes
 
197
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
198
  break 2
 
199
fi
 
200
fi
250
201
           done;;
251
202
       esac
 
203
  as_found=false
252
204
done
 
205
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
206
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
207
  CONFIG_SHELL=$SHELL as_have_required=yes
 
208
fi; }
253
209
IFS=$as_save_IFS
254
210
 
255
211
 
256
 
      for as_shell in $as_candidate_shells $SHELL; do
257
 
         # Try only shells that exist, to save several forks.
258
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
260
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261
 
  emulate sh
262
 
  NULLCMD=:
263
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264
 
  # is contrary to our usage.  Disable this feature.
265
 
  alias -g '${1+"$@"}'='"$@"'
266
 
  setopt NO_GLOB_SUBST
267
 
else
268
 
  case `(set -o) 2>/dev/null` in
269
 
  *posix*) set -o posix ;;
270
 
esac
271
 
 
272
 
fi
273
 
 
274
 
 
275
 
:
276
 
_ASEOF
277
 
}; then
278
 
  CONFIG_SHELL=$as_shell
279
 
               as_have_required=yes
280
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
281
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282
 
  emulate sh
283
 
  NULLCMD=:
284
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285
 
  # is contrary to our usage.  Disable this feature.
286
 
  alias -g '${1+"$@"}'='"$@"'
287
 
  setopt NO_GLOB_SUBST
288
 
else
289
 
  case `(set -o) 2>/dev/null` in
290
 
  *posix*) set -o posix ;;
291
 
esac
292
 
 
293
 
fi
294
 
 
295
 
 
296
 
:
297
 
(as_func_return () {
298
 
  (exit $1)
299
 
}
300
 
as_func_success () {
301
 
  as_func_return 0
302
 
}
303
 
as_func_failure () {
304
 
  as_func_return 1
305
 
}
306
 
as_func_ret_success () {
307
 
  return 0
308
 
}
309
 
as_func_ret_failure () {
310
 
  return 1
311
 
}
312
 
 
313
 
exitcode=0
314
 
if as_func_success; then
315
 
  :
316
 
else
317
 
  exitcode=1
318
 
  echo as_func_success failed.
319
 
fi
320
 
 
321
 
if as_func_failure; then
322
 
  exitcode=1
323
 
  echo as_func_failure succeeded.
324
 
fi
325
 
 
326
 
if as_func_ret_success; then
327
 
  :
328
 
else
329
 
  exitcode=1
330
 
  echo as_func_ret_success failed.
331
 
fi
332
 
 
333
 
if as_func_ret_failure; then
334
 
  exitcode=1
335
 
  echo as_func_ret_failure succeeded.
336
 
fi
337
 
 
338
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
339
 
  :
340
 
else
341
 
  exitcode=1
342
 
  echo positional parameters were not saved.
343
 
fi
344
 
 
345
 
test $exitcode = 0) || { (exit 1); exit 1; }
346
 
 
347
 
(
348
 
  as_lineno_1=$LINENO
349
 
  as_lineno_2=$LINENO
350
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
351
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
 
 
353
 
_ASEOF
354
 
}; then
355
 
  break
356
 
fi
357
 
 
358
 
fi
359
 
 
360
 
      done
361
 
 
362
 
      if test "x$CONFIG_SHELL" != x; then
363
 
  for as_var in BASH_ENV ENV
364
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365
 
        done
 
212
      if test "x$CONFIG_SHELL" != x; then :
 
213
  # We cannot yet assume a decent shell, so we have to provide a
 
214
        # neutralization value for shells without unset; and this also
 
215
        # works around shells that cannot unset nonexistent variables.
 
216
        BASH_ENV=/dev/null
 
217
        ENV=/dev/null
 
218
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
366
219
        export CONFIG_SHELL
367
220
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368
221
fi
369
222
 
370
 
 
371
 
    if test $as_have_required = no; then
372
 
  echo This script requires a shell more modern than all the
373
 
      echo shells that I found on your system.  Please install a
374
 
      echo modern shell, or manually run the script under such a
375
 
      echo shell if you do have one.
376
 
      { (exit 1); exit 1; }
377
 
fi
378
 
 
379
 
 
380
 
fi
381
 
 
382
 
fi
383
 
 
384
 
 
385
 
 
386
 
(eval "as_func_return () {
387
 
  (exit \$1)
388
 
}
389
 
as_func_success () {
390
 
  as_func_return 0
391
 
}
392
 
as_func_failure () {
393
 
  as_func_return 1
394
 
}
395
 
as_func_ret_success () {
396
 
  return 0
397
 
}
398
 
as_func_ret_failure () {
399
 
  return 1
400
 
}
401
 
 
402
 
exitcode=0
403
 
if as_func_success; then
404
 
  :
405
 
else
406
 
  exitcode=1
407
 
  echo as_func_success failed.
408
 
fi
409
 
 
410
 
if as_func_failure; then
411
 
  exitcode=1
412
 
  echo as_func_failure succeeded.
413
 
fi
414
 
 
415
 
if as_func_ret_success; then
416
 
  :
417
 
else
418
 
  exitcode=1
419
 
  echo as_func_ret_success failed.
420
 
fi
421
 
 
422
 
if as_func_ret_failure; then
423
 
  exitcode=1
424
 
  echo as_func_ret_failure succeeded.
425
 
fi
426
 
 
427
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428
 
  :
429
 
else
430
 
  exitcode=1
431
 
  echo positional parameters were not saved.
432
 
fi
433
 
 
434
 
test \$exitcode = 0") || {
435
 
  echo No shell found that supports shell functions.
436
 
  echo Please tell bug-autoconf@gnu.org about your system,
437
 
  echo including any error possibly output before this message.
438
 
  echo This can help us improve future autoconf versions.
439
 
  echo Configuration will now proceed without shell functions.
440
 
}
441
 
 
442
 
 
443
 
 
444
 
  as_lineno_1=$LINENO
445
 
  as_lineno_2=$LINENO
446
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
447
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
 
 
449
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
450
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
451
 
  # line-number line after each line using $LINENO; the second 'sed'
452
 
  # does the real work.  The second script uses 'N' to pair each
453
 
  # line-number line with the line containing $LINENO, and appends
454
 
  # trailing '-' during substitution so that $LINENO is not a special
455
 
  # case at line end.
456
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
457
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
458
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
223
    if test x$as_have_required = xno; then :
 
224
  $as_echo "$0: This script requires a shell more modern than all"
 
225
  $as_echo "$0: the shells that I found on your system."
 
226
  if test x${ZSH_VERSION+set} = xset ; then
 
227
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
228
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
229
  else
 
230
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
231
$0: including any error possibly output before this
 
232
$0: message. Then install a modern shell, or manually run
 
233
$0: the script under such a shell if you do have one."
 
234
  fi
 
235
  exit 1
 
236
fi
 
237
fi
 
238
fi
 
239
SHELL=${CONFIG_SHELL-/bin/sh}
 
240
export SHELL
 
241
# Unset more variables known to interfere with behavior of common tools.
 
242
CLICOLOR_FORCE= GREP_OPTIONS=
 
243
unset CLICOLOR_FORCE GREP_OPTIONS
 
244
 
 
245
## --------------------- ##
 
246
## M4sh Shell Functions. ##
 
247
## --------------------- ##
 
248
# as_fn_unset VAR
 
249
# ---------------
 
250
# Portably unset VAR.
 
251
as_fn_unset ()
 
252
{
 
253
  { eval $1=; unset $1;}
 
254
}
 
255
as_unset=as_fn_unset
 
256
 
 
257
# as_fn_set_status STATUS
 
258
# -----------------------
 
259
# Set $? to STATUS, without forking.
 
260
as_fn_set_status ()
 
261
{
 
262
  return $1
 
263
} # as_fn_set_status
 
264
 
 
265
# as_fn_exit STATUS
 
266
# -----------------
 
267
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
268
as_fn_exit ()
 
269
{
 
270
  set +e
 
271
  as_fn_set_status $1
 
272
  exit $1
 
273
} # as_fn_exit
 
274
 
 
275
# as_fn_mkdir_p
 
276
# -------------
 
277
# Create "$as_dir" as a directory, including parents if necessary.
 
278
as_fn_mkdir_p ()
 
279
{
 
280
 
 
281
  case $as_dir in #(
 
282
  -*) as_dir=./$as_dir;;
 
283
  esac
 
284
  test -d "$as_dir" || eval $as_mkdir_p || {
 
285
    as_dirs=
 
286
    while :; do
 
287
      case $as_dir in #(
 
288
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
289
      *) as_qdir=$as_dir;;
 
290
      esac
 
291
      as_dirs="'$as_qdir' $as_dirs"
 
292
      as_dir=`$as_dirname -- "$as_dir" ||
 
293
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
294
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
295
         X"$as_dir" : 'X\(//\)$' \| \
 
296
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
297
$as_echo X"$as_dir" |
 
298
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
299
            s//\1/
 
300
            q
 
301
          }
 
302
          /^X\(\/\/\)[^/].*/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)$/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\).*/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          s/.*/./; q'`
 
315
      test -d "$as_dir" && break
 
316
    done
 
317
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
318
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
319
 
 
320
 
 
321
} # as_fn_mkdir_p
 
322
# as_fn_append VAR VALUE
 
323
# ----------------------
 
324
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
325
# advantage of any shell optimizations that allow amortized linear growth over
 
326
# repeated appends, instead of the typical quadratic growth present in naive
 
327
# implementations.
 
328
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
329
  eval 'as_fn_append ()
 
330
  {
 
331
    eval $1+=\$2
 
332
  }'
 
333
else
 
334
  as_fn_append ()
 
335
  {
 
336
    eval $1=\$$1\$2
 
337
  }
 
338
fi # as_fn_append
 
339
 
 
340
# as_fn_arith ARG...
 
341
# ------------------
 
342
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
343
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
344
# must be portable across $(()) and expr.
 
345
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
346
  eval 'as_fn_arith ()
 
347
  {
 
348
    as_val=$(( $* ))
 
349
  }'
 
350
else
 
351
  as_fn_arith ()
 
352
  {
 
353
    as_val=`expr "$@" || test $? -eq 1`
 
354
  }
 
355
fi # as_fn_arith
 
356
 
 
357
 
 
358
# as_fn_error ERROR [LINENO LOG_FD]
 
359
# ---------------------------------
 
360
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
361
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
362
# script with status $?, using 1 if that was 0.
 
363
as_fn_error ()
 
364
{
 
365
  as_status=$?; test $as_status -eq 0 && as_status=1
 
366
  if test "$3"; then
 
367
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
368
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
369
  fi
 
370
  $as_echo "$as_me: error: $1" >&2
 
371
  as_fn_exit $as_status
 
372
} # as_fn_error
 
373
 
 
374
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
375
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
376
  as_expr=expr
 
377
else
 
378
  as_expr=false
 
379
fi
 
380
 
 
381
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
382
  as_basename=basename
 
383
else
 
384
  as_basename=false
 
385
fi
 
386
 
 
387
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
388
  as_dirname=dirname
 
389
else
 
390
  as_dirname=false
 
391
fi
 
392
 
 
393
as_me=`$as_basename -- "$0" ||
 
394
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
395
         X"$0" : 'X\(//\)$' \| \
 
396
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
397
$as_echo X/"$0" |
 
398
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
399
            s//\1/
 
400
            q
 
401
          }
 
402
          /^X\/\(\/\/\)$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\).*/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          s/.*/./; q'`
 
411
 
 
412
# Avoid depending upon Character Ranges.
 
413
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
414
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
415
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
416
as_cr_digits='0123456789'
 
417
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
418
 
 
419
 
 
420
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
421
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
422
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
423
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
424
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
459
425
  sed -n '
460
426
    p
461
427
    /[$]LINENO/=
472
438
      s/-\n.*//
473
439
    ' >$as_me.lineno &&
474
440
  chmod +x "$as_me.lineno" ||
475
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
476
 
   { (exit 1); exit 1; }; }
 
441
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
477
442
 
478
443
  # Don't try to exec as it changes $[0], causing all sort of problems
479
444
  # (the dirname of $[0] is not the place where we might find the
483
448
  exit
484
449
}
485
450
 
486
 
 
487
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488
 
  as_dirname=dirname
489
 
else
490
 
  as_dirname=false
491
 
fi
492
 
 
493
451
ECHO_C= ECHO_N= ECHO_T=
494
 
case `echo -n x` in
 
452
case `echo -n x` in #(((((
495
453
-n*)
496
 
  case `echo 'x\c'` in
 
454
  case `echo 'xy\c'` in
497
455
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
498
 
  *)   ECHO_C='\c';;
 
456
  xy)  ECHO_C='\c';;
 
457
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
458
       ECHO_T=' ';;
499
459
  esac;;
500
460
*)
501
461
  ECHO_N='-n';;
502
462
esac
503
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
504
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
505
 
  as_expr=expr
506
 
else
507
 
  as_expr=false
508
 
fi
509
463
 
510
464
rm -f conf$$ conf$$.exe conf$$.file
511
465
if test -d conf$$.dir; then
535
489
rmdir conf$$.dir 2>/dev/null
536
490
 
537
491
if mkdir -p . 2>/dev/null; then
538
 
  as_mkdir_p=:
 
492
  as_mkdir_p='mkdir -p "$as_dir"'
539
493
else
540
494
  test -d ./-p && rmdir ./-p
541
495
  as_mkdir_p=false
554
508
      if test -d "$1"; then
555
509
        test -d "$1/.";
556
510
      else
557
 
        case $1 in
 
511
        case $1 in #(
558
512
        -*)set "./$1";;
559
513
        esac;
560
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
514
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
561
515
        ???[sx]*):;;*)false;;esac;fi
562
516
    '\'' sh
563
517
  '
572
526
 
573
527
 
574
528
 
575
 
 
576
529
# Check that we are running under the correct shell.
577
530
SHELL=${CONFIG_SHELL-/bin/sh}
578
531
 
739
692
subdirs=
740
693
MFLAGS=
741
694
MAKEFLAGS=
742
 
SHELL=${CONFIG_SHELL-/bin/sh}
743
695
 
744
696
# Identity of this package.
745
697
PACKAGE_NAME=
747
699
PACKAGE_VERSION=
748
700
PACKAGE_STRING=
749
701
PACKAGE_BUGREPORT=
 
702
PACKAGE_URL=
750
703
 
751
 
ac_unique_file="src/sawmill.h"
 
704
ac_unique_file="src/sawfish.h"
752
705
# Factoring default headers for most tests.
753
706
ac_includes_default="\
754
707
#include <stdio.h>
787
740
 
788
741
ac_subst_vars='LTLIBOBJS
789
742
LIBOBJS
 
743
LINGUAS
 
744
GETTEXT_PACKAGE
 
745
PACKAGE
 
746
VERSION
 
747
ESD_MIN_VER
 
748
AUDIOFILE_MIN_VER
 
749
REP_GTK_MIN_VER
 
750
REP_MIN_VER
 
751
GTK_MIN_VER
 
752
IMAGE_CFLAGS
 
753
IMAGE_LIBS
790
754
REP_MSGFMT
791
755
REP_VERSION
792
756
REP_LIBS
793
757
REP_CFLAGS
794
758
REP_EXECDIR
 
759
PANGO_MIN_VER
 
760
XRANDR_LIBS
 
761
XINERAMA_LIBS
 
762
IMLIB_LIBS
 
763
IMLIB_CFLAGS
 
764
X_EXTRA_LIBS
 
765
X_LIBS
 
766
X_CFLAGS
795
767
HAVE_X11
 
768
SUBDIRS
 
769
GNOMEDIR
 
770
MAKEDEP
 
771
install_sh
796
772
lispdir
797
773
sawfishexecdir
798
774
sawfishdir
799
775
subversion
800
776
version
801
 
LINGUAS
802
 
MAKEDEP
803
 
ALLOCA
804
 
GNOMEDIR
805
 
REP_GTK_GNOME
806
777
ESD_LIBS
807
778
ESD_CFLAGS
808
779
AUDIOFILE_LIBS
809
780
AUDIOFILE_CFLAGS
 
781
IMLIB1_LIBS
 
782
IMLIB1_CFLAGS
 
783
GDK_PIXBUF_LIBS
 
784
GDK_PIXBUF_CFLAGS
810
785
GTK_LIBS
811
786
GTK_CFLAGS
812
 
IMAGE_CFLAGS
813
 
IMAGE_LIBS
814
 
IMLIB_LIBS
815
 
IMLIB_CFLAGS
816
 
IMLIB_VERSION
817
 
IMLIB_CONFIG
818
 
GDK_PIXBUF_VERSION
819
 
GDK_PIXBUF_LIBS
820
 
GDK_PIXBUF_CFLAGS
821
787
REP_GTK_LIBS
822
788
REP_GTK_CFLAGS
823
789
LIBREP_LIBS
824
790
LIBREP_CFLAGS
 
791
PANGOXFT_LIBS
 
792
PANGOXFT_CFLAGS
825
793
have_pango_xft
 
794
PANGOX_LIBS
 
795
PANGOX_CFLAGS
826
796
PANGO_LIBS
827
797
PANGO_CFLAGS
 
798
XFT_LIBS
 
799
XFT_CFLAGS
 
800
libSM_LIBS
 
801
libSM_CFLAGS
 
802
libICE_LIBS
 
803
libICE_CFLAGS
 
804
libX11_LIBS
 
805
libX11_CFLAGS
 
806
libXft_LIBS
 
807
libXft_CFLAGS
 
808
libXRandR_LIBS
 
809
libXRandR_CFLAGS
 
810
libXineRama_LIBS
 
811
libXineRama_CFLAGS
828
812
PKG_CONFIG
829
 
XFT_CFLAGS
830
 
XFT_LIBS
831
 
XRANDR_LIBS
832
 
XINERAMA_LIBS
833
 
X_EXTRA_LIBS
834
 
X_LIBS
835
 
X_PRE_LIBS
836
 
X_CFLAGS
837
 
XMKMF
838
 
SET_MAKE
839
813
INSTALL_DATA
840
814
INSTALL_SCRIPT
841
815
INSTALL_PROGRAM
842
 
SUBDIRS
 
816
ALLOCA
843
817
CPP
844
818
OTOOL64
845
819
OTOOL
906
880
program_transform_name
907
881
prefix
908
882
exec_prefix
 
883
PACKAGE_URL
909
884
PACKAGE_BUGREPORT
910
885
PACKAGE_STRING
911
886
PACKAGE_VERSION
922
897
enable_fast_install
923
898
with_gnu_ld
924
899
enable_libtool_lock
925
 
with_x
 
900
with_xorg_x11r7
 
901
with_pango
926
902
with_gdk_pixbuf
927
 
enable_gtktest
928
903
with_audiofile
929
904
with_esd
930
 
enable_gnome_widgets
 
905
with_nls
931
906
with_gnome_prefix
932
907
enable_linguas
933
908
'
940
915
LIBS
941
916
CPPFLAGS
942
917
CPP
943
 
XMKMF
944
918
PKG_CONFIG
 
919
libXineRama_CFLAGS
 
920
libXineRama_LIBS
 
921
libXRandR_CFLAGS
 
922
libXRandR_LIBS
 
923
libXft_CFLAGS
 
924
libXft_LIBS
 
925
libX11_CFLAGS
 
926
libX11_LIBS
 
927
libICE_CFLAGS
 
928
libICE_LIBS
 
929
libSM_CFLAGS
 
930
libSM_LIBS
945
931
XFT_CFLAGS
946
932
XFT_LIBS
947
933
PANGO_CFLAGS
948
934
PANGO_LIBS
 
935
PANGOX_CFLAGS
 
936
PANGOX_LIBS
 
937
PANGOXFT_CFLAGS
 
938
PANGOXFT_LIBS
949
939
LIBREP_CFLAGS
950
940
LIBREP_LIBS
951
941
REP_GTK_CFLAGS
952
942
REP_GTK_LIBS
 
943
GTK_CFLAGS
 
944
GTK_LIBS
953
945
GDK_PIXBUF_CFLAGS
954
946
GDK_PIXBUF_LIBS
 
947
IMLIB1_CFLAGS
 
948
IMLIB1_LIBS
955
949
AUDIOFILE_CFLAGS
956
950
AUDIOFILE_LIBS
957
951
ESD_CFLAGS
1064
1058
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1065
1059
    # Reject names that are not valid shell variable names.
1066
1060
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1068
 
   { (exit 1); exit 1; }; }
 
1061
      as_fn_error "invalid feature name: $ac_useropt"
1069
1062
    ac_useropt_orig=$ac_useropt
1070
1063
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071
1064
    case $ac_user_opts in
1091
1084
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1092
1085
    # Reject names that are not valid shell variable names.
1093
1086
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1095
 
   { (exit 1); exit 1; }; }
 
1087
      as_fn_error "invalid feature name: $ac_useropt"
1096
1088
    ac_useropt_orig=$ac_useropt
1097
1089
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098
1090
    case $ac_user_opts in
1296
1288
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1297
1289
    # Reject names that are not valid shell variable names.
1298
1290
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1299
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1300
 
   { (exit 1); exit 1; }; }
 
1291
      as_fn_error "invalid package name: $ac_useropt"
1301
1292
    ac_useropt_orig=$ac_useropt
1302
1293
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303
1294
    case $ac_user_opts in
1313
1304
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1314
1305
    # Reject names that are not valid shell variable names.
1315
1306
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1316
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1317
 
   { (exit 1); exit 1; }; }
 
1307
      as_fn_error "invalid package name: $ac_useropt"
1318
1308
    ac_useropt_orig=$ac_useropt
1319
1309
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320
1310
    case $ac_user_opts in
1344
1334
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1345
1335
    x_libraries=$ac_optarg ;;
1346
1336
 
1347
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1348
 
Try \`$0 --help' for more information." >&2
1349
 
   { (exit 1); exit 1; }; }
 
1337
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1338
Try \`$0 --help' for more information."
1350
1339
    ;;
1351
1340
 
1352
1341
  *=*)
1353
1342
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1354
1343
    # Reject names that are not valid shell variable names.
1355
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1356
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1357
 
   { (exit 1); exit 1; }; }
 
1344
    case $ac_envvar in #(
 
1345
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1346
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1347
    esac
1358
1348
    eval $ac_envvar=\$ac_optarg
1359
1349
    export $ac_envvar ;;
1360
1350
 
1371
1361
 
1372
1362
if test -n "$ac_prev"; then
1373
1363
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1374
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1375
 
   { (exit 1); exit 1; }; }
 
1364
  as_fn_error "missing argument to $ac_option"
1376
1365
fi
1377
1366
 
1378
1367
if test -n "$ac_unrecognized_opts"; then
1379
1368
  case $enable_option_checking in
1380
1369
    no) ;;
1381
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1382
 
   { (exit 1); exit 1; }; } ;;
 
1370
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1383
1371
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1384
1372
  esac
1385
1373
fi
1402
1390
    [\\/$]* | ?:[\\/]* )  continue;;
1403
1391
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1404
1392
  esac
1405
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1406
 
   { (exit 1); exit 1; }; }
 
1393
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1407
1394
done
1408
1395
 
1409
1396
# There might be people who depend on the old broken behavior: `$host'
1433
1420
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1434
1421
ac_ls_di=`ls -di .` &&
1435
1422
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1436
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1437
 
   { (exit 1); exit 1; }; }
 
1423
  as_fn_error "working directory cannot be determined"
1438
1424
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1439
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1440
 
   { (exit 1); exit 1; }; }
 
1425
  as_fn_error "pwd does not report name of working directory"
1441
1426
 
1442
1427
 
1443
1428
# Find the source files, if location was not specified.
1476
1461
fi
1477
1462
if test ! -r "$srcdir/$ac_unique_file"; then
1478
1463
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1480
 
   { (exit 1); exit 1; }; }
 
1464
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1481
1465
fi
1482
1466
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1483
1467
ac_abs_confdir=`(
1484
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1485
 
   { (exit 1); exit 1; }; }
 
1468
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1486
1469
        pwd)`
1487
1470
# When building in place, set srcdir=.
1488
1471
if test "$ac_abs_confdir" = "$ac_pwd"; then
1565
1548
 
1566
1549
  cat <<\_ACEOF
1567
1550
 
1568
 
X features:
1569
 
  --x-includes=DIR    X include files are in DIR
1570
 
  --x-libraries=DIR   X library files are in DIR
1571
 
 
1572
1551
System types:
1573
1552
  --build=BUILD     configure for building on BUILD [guessed]
1574
1553
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1588
1567
  --enable-fast-install[=PKGS]
1589
1568
                          optimize for fast installation [default=yes]
1590
1569
  --disable-libtool-lock  avoid locking (might break parallel builds)
1591
 
  --disable-gtktest       do not try to compile and run a test GTK+ program
1592
 
  --enable-gnome-widgets  Use GNOME widgets in places default
1593
 
  --disable-gnome-widgets Don't use GNOME widgets
1594
1570
  --enable-linguas=LANGS... Install language catalogs for language codes LANGS
1595
1571
 
1596
1572
Optional Packages:
1599
1575
  --with-pic              try to use only PIC/non-PIC objects [default=use
1600
1576
                          both]
1601
1577
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1602
 
  --with-x                use the X Window System
 
1578
  --with-xorg-x11r7       Use X.Org X11R7
 
1579
             --without-xorg-x11r7         Use X.Org/XFree86 X11R6 instead
 
1580
  --with-pango Use Pango instead of Xft
 
1581
  --without-pango
1603
1582
  --with-gdk-pixbuf       Use gdk-pixbuf for image management
1604
 
  --without-gdk-pixbuf    Use Imlib1 instead
 
1583
             --without-gdk-pixbuf         Use Imlib1 instead
1605
1584
  --with-audiofile        Use libaudiofile for sound manipulation
1606
 
  --without-audiofile
1607
 
  --with-esd              Use the Enlightened Sound Daemon
1608
 
  --without-esd
 
1585
             --without-audiofile
 
1586
  --with-esd      Use the Enlightened Sound Daemon
 
1587
             --without-esd
 
1588
 --with-nls             Install translations
 
1589
            --without-nls
1609
1590
  --with-gnome-prefix=DIR Root of GNOME installation
1610
1591
 
1611
1592
Some influential environment variables:
1617
1598
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1618
1599
              you have headers in a nonstandard directory <include dir>
1619
1600
  CPP         C preprocessor
1620
 
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1621
1601
  PKG_CONFIG  path to pkg-config utility
 
1602
  libXineRama_CFLAGS
 
1603
              C compiler flags for libXineRama, overriding pkg-config
 
1604
  libXineRama_LIBS
 
1605
              linker flags for libXineRama, overriding pkg-config
 
1606
  libXRandR_CFLAGS
 
1607
              C compiler flags for libXRandR, overriding pkg-config
 
1608
  libXRandR_LIBS
 
1609
              linker flags for libXRandR, overriding pkg-config
 
1610
  libXft_CFLAGS
 
1611
              C compiler flags for libXft, overriding pkg-config
 
1612
  libXft_LIBS linker flags for libXft, overriding pkg-config
 
1613
  libX11_CFLAGS
 
1614
              C compiler flags for libX11, overriding pkg-config
 
1615
  libX11_LIBS linker flags for libX11, overriding pkg-config
 
1616
  libICE_CFLAGS
 
1617
              C compiler flags for libICE, overriding pkg-config
 
1618
  libICE_LIBS linker flags for libICE, overriding pkg-config
 
1619
  libSM_CFLAGS
 
1620
              C compiler flags for libSM, overriding pkg-config
 
1621
  libSM_LIBS  linker flags for libSM, overriding pkg-config
1622
1622
  XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
1623
1623
  XFT_LIBS    linker flags for XFT, overriding pkg-config
1624
1624
  PANGO_CFLAGS
1625
1625
              C compiler flags for PANGO, overriding pkg-config
1626
1626
  PANGO_LIBS  linker flags for PANGO, overriding pkg-config
 
1627
  PANGOX_CFLAGS
 
1628
              C compiler flags for PANGOX, overriding pkg-config
 
1629
  PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
 
1630
  PANGOXFT_CFLAGS
 
1631
              C compiler flags for PANGOXFT, overriding pkg-config
 
1632
  PANGOXFT_LIBS
 
1633
              linker flags for PANGOXFT, overriding pkg-config
1627
1634
  LIBREP_CFLAGS
1628
1635
              C compiler flags for LIBREP, overriding pkg-config
1629
1636
  LIBREP_LIBS linker flags for LIBREP, overriding pkg-config
1631
1638
              C compiler flags for REP_GTK, overriding pkg-config
1632
1639
  REP_GTK_LIBS
1633
1640
              linker flags for REP_GTK, overriding pkg-config
 
1641
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
 
1642
  GTK_LIBS    linker flags for GTK, overriding pkg-config
1634
1643
  GDK_PIXBUF_CFLAGS
1635
1644
              C compiler flags for GDK_PIXBUF, overriding pkg-config
1636
1645
  GDK_PIXBUF_LIBS
1637
1646
              linker flags for GDK_PIXBUF, overriding pkg-config
 
1647
  IMLIB1_CFLAGS
 
1648
              C compiler flags for IMLIB1, overriding pkg-config
 
1649
  IMLIB1_LIBS linker flags for IMLIB1, overriding pkg-config
1638
1650
  AUDIOFILE_CFLAGS
1639
1651
              C compiler flags for AUDIOFILE, overriding pkg-config
1640
1652
  AUDIOFILE_LIBS
1645
1657
Use these variables to override the choices made by `configure' or to help
1646
1658
it to find libraries and programs with nonstandard names/locations.
1647
1659
 
 
1660
Report bugs to the package provider.
1648
1661
_ACEOF
1649
1662
ac_status=$?
1650
1663
fi
1708
1721
if $ac_init_version; then
1709
1722
  cat <<\_ACEOF
1710
1723
configure
1711
 
generated by GNU Autoconf 2.63
 
1724
generated by GNU Autoconf 2.64
1712
1725
 
1713
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1714
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1726
Copyright (C) 2009 Free Software Foundation, Inc.
1715
1727
This configure script is free software; the Free Software Foundation
1716
1728
gives unlimited permission to copy, distribute and modify it.
1717
1729
_ACEOF
1718
1730
  exit
1719
1731
fi
 
1732
 
 
1733
## ------------------------ ##
 
1734
## Autoconf initialization. ##
 
1735
## ------------------------ ##
 
1736
 
 
1737
# ac_fn_c_try_compile LINENO
 
1738
# --------------------------
 
1739
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1740
ac_fn_c_try_compile ()
 
1741
{
 
1742
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1743
  rm -f conftest.$ac_objext
 
1744
  if { { ac_try="$ac_compile"
 
1745
case "(($ac_try" in
 
1746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1747
  *) ac_try_echo=$ac_try;;
 
1748
esac
 
1749
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1750
$as_echo "$ac_try_echo"; } >&5
 
1751
  (eval "$ac_compile") 2>conftest.err
 
1752
  ac_status=$?
 
1753
  if test -s conftest.err; then
 
1754
    grep -v '^ *+' conftest.err >conftest.er1
 
1755
    cat conftest.er1 >&5
 
1756
    mv -f conftest.er1 conftest.err
 
1757
  fi
 
1758
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1759
  test $ac_status = 0; } && {
 
1760
         test -z "$ac_c_werror_flag" ||
 
1761
         test ! -s conftest.err
 
1762
       } && test -s conftest.$ac_objext; then :
 
1763
  ac_retval=0
 
1764
else
 
1765
  $as_echo "$as_me: failed program was:" >&5
 
1766
sed 's/^/| /' conftest.$ac_ext >&5
 
1767
 
 
1768
        ac_retval=1
 
1769
fi
 
1770
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1771
  return $ac_retval
 
1772
 
 
1773
} # ac_fn_c_try_compile
 
1774
 
 
1775
# ac_fn_c_try_link LINENO
 
1776
# -----------------------
 
1777
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1778
ac_fn_c_try_link ()
 
1779
{
 
1780
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1781
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1782
  if { { ac_try="$ac_link"
 
1783
case "(($ac_try" in
 
1784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1785
  *) ac_try_echo=$ac_try;;
 
1786
esac
 
1787
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1788
$as_echo "$ac_try_echo"; } >&5
 
1789
  (eval "$ac_link") 2>conftest.err
 
1790
  ac_status=$?
 
1791
  if test -s conftest.err; then
 
1792
    grep -v '^ *+' conftest.err >conftest.er1
 
1793
    cat conftest.er1 >&5
 
1794
    mv -f conftest.er1 conftest.err
 
1795
  fi
 
1796
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1797
  test $ac_status = 0; } && {
 
1798
         test -z "$ac_c_werror_flag" ||
 
1799
         test ! -s conftest.err
 
1800
       } && test -s conftest$ac_exeext && {
 
1801
         test "$cross_compiling" = yes ||
 
1802
         $as_test_x conftest$ac_exeext
 
1803
       }; then :
 
1804
  ac_retval=0
 
1805
else
 
1806
  $as_echo "$as_me: failed program was:" >&5
 
1807
sed 's/^/| /' conftest.$ac_ext >&5
 
1808
 
 
1809
        ac_retval=1
 
1810
fi
 
1811
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1812
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1813
  # interfere with the next link command; also delete a directory that is
 
1814
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1815
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1816
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1817
  return $ac_retval
 
1818
 
 
1819
} # ac_fn_c_try_link
 
1820
 
 
1821
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1822
# -------------------------------------------------------
 
1823
# Tests whether HEADER exists and can be compiled using the include files in
 
1824
# INCLUDES, setting the cache variable VAR accordingly.
 
1825
ac_fn_c_check_header_compile ()
 
1826
{
 
1827
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1828
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1829
$as_echo_n "checking for $2... " >&6; }
 
1830
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1831
  $as_echo_n "(cached) " >&6
 
1832
else
 
1833
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1834
/* end confdefs.h.  */
 
1835
$4
 
1836
#include <$2>
 
1837
_ACEOF
 
1838
if ac_fn_c_try_compile "$LINENO"; then :
 
1839
  eval "$3=yes"
 
1840
else
 
1841
  eval "$3=no"
 
1842
fi
 
1843
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1844
fi
 
1845
eval ac_res=\$$3
 
1846
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1847
$as_echo "$ac_res" >&6; }
 
1848
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1849
 
 
1850
} # ac_fn_c_check_header_compile
 
1851
 
 
1852
# ac_fn_c_try_cpp LINENO
 
1853
# ----------------------
 
1854
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1855
ac_fn_c_try_cpp ()
 
1856
{
 
1857
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1858
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
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_cpp conftest.$ac_ext") 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; } >/dev/null && {
 
1874
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1875
         test ! -s conftest.err
 
1876
       }; then :
 
1877
  ac_retval=0
 
1878
else
 
1879
  $as_echo "$as_me: failed program was:" >&5
 
1880
sed 's/^/| /' conftest.$ac_ext >&5
 
1881
 
 
1882
    ac_retval=1
 
1883
fi
 
1884
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1885
  return $ac_retval
 
1886
 
 
1887
} # ac_fn_c_try_cpp
 
1888
 
 
1889
# ac_fn_c_try_run LINENO
 
1890
# ----------------------
 
1891
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1892
# that executables *can* be run.
 
1893
ac_fn_c_try_run ()
 
1894
{
 
1895
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1896
  if { { ac_try="$ac_link"
 
1897
case "(($ac_try" in
 
1898
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1899
  *) ac_try_echo=$ac_try;;
 
1900
esac
 
1901
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1902
$as_echo "$ac_try_echo"; } >&5
 
1903
  (eval "$ac_link") 2>&5
 
1904
  ac_status=$?
 
1905
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1906
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1907
  { { case "(($ac_try" in
 
1908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1909
  *) ac_try_echo=$ac_try;;
 
1910
esac
 
1911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1912
$as_echo "$ac_try_echo"; } >&5
 
1913
  (eval "$ac_try") 2>&5
 
1914
  ac_status=$?
 
1915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1916
  test $ac_status = 0; }; }; then :
 
1917
  ac_retval=0
 
1918
else
 
1919
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1920
       $as_echo "$as_me: failed program was:" >&5
 
1921
sed 's/^/| /' conftest.$ac_ext >&5
 
1922
 
 
1923
       ac_retval=$ac_status
 
1924
fi
 
1925
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1926
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1927
  return $ac_retval
 
1928
 
 
1929
} # ac_fn_c_try_run
 
1930
 
 
1931
# ac_fn_c_check_func LINENO FUNC VAR
 
1932
# ----------------------------------
 
1933
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1934
ac_fn_c_check_func ()
 
1935
{
 
1936
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1937
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1938
$as_echo_n "checking for $2... " >&6; }
 
1939
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1940
  $as_echo_n "(cached) " >&6
 
1941
else
 
1942
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1943
/* end confdefs.h.  */
 
1944
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1945
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1946
#define $2 innocuous_$2
 
1947
 
 
1948
/* System header to define __stub macros and hopefully few prototypes,
 
1949
    which can conflict with char $2 (); below.
 
1950
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1951
    <limits.h> exists even on freestanding compilers.  */
 
1952
 
 
1953
#ifdef __STDC__
 
1954
# include <limits.h>
 
1955
#else
 
1956
# include <assert.h>
 
1957
#endif
 
1958
 
 
1959
#undef $2
 
1960
 
 
1961
/* Override any GCC internal prototype to avoid an error.
 
1962
   Use char because int might match the return type of a GCC
 
1963
   builtin and then its argument prototype would still apply.  */
 
1964
#ifdef __cplusplus
 
1965
extern "C"
 
1966
#endif
 
1967
char $2 ();
 
1968
/* The GNU C library defines this for functions which it implements
 
1969
    to always fail with ENOSYS.  Some functions are actually named
 
1970
    something starting with __ and the normal name is an alias.  */
 
1971
#if defined __stub_$2 || defined __stub___$2
 
1972
choke me
 
1973
#endif
 
1974
 
 
1975
int
 
1976
main ()
 
1977
{
 
1978
return $2 ();
 
1979
  ;
 
1980
  return 0;
 
1981
}
 
1982
_ACEOF
 
1983
if ac_fn_c_try_link "$LINENO"; then :
 
1984
  eval "$3=yes"
 
1985
else
 
1986
  eval "$3=no"
 
1987
fi
 
1988
rm -f core conftest.err conftest.$ac_objext \
 
1989
    conftest$ac_exeext conftest.$ac_ext
 
1990
fi
 
1991
eval ac_res=\$$3
 
1992
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1993
$as_echo "$ac_res" >&6; }
 
1994
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1995
 
 
1996
} # ac_fn_c_check_func
 
1997
 
 
1998
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
1999
# -------------------------------------------
 
2000
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2001
# variable VAR accordingly.
 
2002
ac_fn_c_check_type ()
 
2003
{
 
2004
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2005
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2006
$as_echo_n "checking for $2... " >&6; }
 
2007
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2008
  $as_echo_n "(cached) " >&6
 
2009
else
 
2010
  eval "$3=no"
 
2011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2012
/* end confdefs.h.  */
 
2013
$4
 
2014
int
 
2015
main ()
 
2016
{
 
2017
if (sizeof ($2))
 
2018
         return 0;
 
2019
  ;
 
2020
  return 0;
 
2021
}
 
2022
_ACEOF
 
2023
if ac_fn_c_try_compile "$LINENO"; then :
 
2024
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2025
/* end confdefs.h.  */
 
2026
$4
 
2027
int
 
2028
main ()
 
2029
{
 
2030
if (sizeof (($2)))
 
2031
            return 0;
 
2032
  ;
 
2033
  return 0;
 
2034
}
 
2035
_ACEOF
 
2036
if ac_fn_c_try_compile "$LINENO"; then :
 
2037
 
 
2038
else
 
2039
  eval "$3=yes"
 
2040
fi
 
2041
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2042
fi
 
2043
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2044
fi
 
2045
eval ac_res=\$$3
 
2046
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2047
$as_echo "$ac_res" >&6; }
 
2048
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2049
 
 
2050
} # ac_fn_c_check_type
 
2051
 
 
2052
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2053
# -------------------------------------------------------
 
2054
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2055
# the include files in INCLUDES and setting the cache variable VAR
 
2056
# accordingly.
 
2057
ac_fn_c_check_header_mongrel ()
 
2058
{
 
2059
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2060
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2061
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2062
$as_echo_n "checking for $2... " >&6; }
 
2063
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2064
  $as_echo_n "(cached) " >&6
 
2065
fi
 
2066
eval ac_res=\$$3
 
2067
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2068
$as_echo "$ac_res" >&6; }
 
2069
else
 
2070
  # Is the header compilable?
 
2071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2072
$as_echo_n "checking $2 usability... " >&6; }
 
2073
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2074
/* end confdefs.h.  */
 
2075
$4
 
2076
#include <$2>
 
2077
_ACEOF
 
2078
if ac_fn_c_try_compile "$LINENO"; then :
 
2079
  ac_header_compiler=yes
 
2080
else
 
2081
  ac_header_compiler=no
 
2082
fi
 
2083
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2085
$as_echo "$ac_header_compiler" >&6; }
 
2086
 
 
2087
# Is the header present?
 
2088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2089
$as_echo_n "checking $2 presence... " >&6; }
 
2090
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2091
/* end confdefs.h.  */
 
2092
#include <$2>
 
2093
_ACEOF
 
2094
if ac_fn_c_try_cpp "$LINENO"; then :
 
2095
  ac_header_preproc=yes
 
2096
else
 
2097
  ac_header_preproc=no
 
2098
fi
 
2099
rm -f conftest.err conftest.$ac_ext
 
2100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2101
$as_echo "$ac_header_preproc" >&6; }
 
2102
 
 
2103
# So?  What about this header?
 
2104
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2105
  yes:no: )
 
2106
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2107
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2108
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2109
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2110
    ;;
 
2111
  no:yes:* )
 
2112
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2113
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2114
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2115
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2116
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2117
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2118
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2119
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2120
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2121
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2122
    ;;
 
2123
esac
 
2124
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2125
$as_echo_n "checking for $2... " >&6; }
 
2126
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2127
  $as_echo_n "(cached) " >&6
 
2128
else
 
2129
  eval "$3=\$ac_header_compiler"
 
2130
fi
 
2131
eval ac_res=\$$3
 
2132
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2133
$as_echo "$ac_res" >&6; }
 
2134
fi
 
2135
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2136
 
 
2137
} # ac_fn_c_check_header_mongrel
1720
2138
cat >config.log <<_ACEOF
1721
2139
This file contains any messages produced by compilers while
1722
2140
running configure, to aid debugging if configure makes a mistake.
1723
2141
 
1724
2142
It was created by $as_me, which was
1725
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2143
generated by GNU Autoconf 2.64.  Invocation command line was
1726
2144
 
1727
2145
  $ $0 $@
1728
2146
 
1758
2176
do
1759
2177
  IFS=$as_save_IFS
1760
2178
  test -z "$as_dir" && as_dir=.
1761
 
  $as_echo "PATH: $as_dir"
1762
 
done
 
2179
    $as_echo "PATH: $as_dir"
 
2180
  done
1763
2181
IFS=$as_save_IFS
1764
2182
 
1765
2183
} >&5
1796
2214
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1797
2215
    esac
1798
2216
    case $ac_pass in
1799
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2217
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1800
2218
    2)
1801
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2219
      as_fn_append ac_configure_args1 " '$ac_arg'"
1802
2220
      if test $ac_must_keep_next = true; then
1803
2221
        ac_must_keep_next=false # Got value, back to normal.
1804
2222
      else
1814
2232
          -* ) ac_must_keep_next=true ;;
1815
2233
        esac
1816
2234
      fi
1817
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2235
      as_fn_append ac_configure_args " '$ac_arg'"
1818
2236
      ;;
1819
2237
    esac
1820
2238
  done
1821
2239
done
1822
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1823
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2240
{ ac_configure_args0=; unset ac_configure_args0;}
 
2241
{ ac_configure_args1=; unset ac_configure_args1;}
1824
2242
 
1825
2243
# When interrupted or exit'd, cleanup temporary files, and complete
1826
2244
# config.log.  We remove comments because anyway the quotes in there
1845
2263
    case $ac_val in #(
1846
2264
    *${as_nl}*)
1847
2265
      case $ac_var in #(
1848
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2266
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1849
2267
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1850
2268
      esac
1851
2269
      case $ac_var in #(
1852
2270
      _ | IFS | as_nl) ;; #(
1853
2271
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1854
 
      *) $as_unset $ac_var ;;
 
2272
      *) { eval $ac_var=; unset $ac_var;} ;;
1855
2273
      esac ;;
1856
2274
    esac
1857
2275
  done
1923
2341
    exit $exit_status
1924
2342
' 0
1925
2343
for ac_signal in 1 2 13 15; do
1926
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2344
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1927
2345
done
1928
2346
ac_signal=0
1929
2347
 
1930
2348
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1931
2349
rm -f -r conftest* confdefs.h
1932
2350
 
 
2351
$as_echo "/* confdefs.h */" > confdefs.h
 
2352
 
1933
2353
# Predefined preprocessor variables.
1934
2354
 
1935
2355
cat >>confdefs.h <<_ACEOF
1936
2356
#define PACKAGE_NAME "$PACKAGE_NAME"
1937
2357
_ACEOF
1938
2358
 
1939
 
 
1940
2359
cat >>confdefs.h <<_ACEOF
1941
2360
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1942
2361
_ACEOF
1943
2362
 
1944
 
 
1945
2363
cat >>confdefs.h <<_ACEOF
1946
2364
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1947
2365
_ACEOF
1948
2366
 
1949
 
 
1950
2367
cat >>confdefs.h <<_ACEOF
1951
2368
#define PACKAGE_STRING "$PACKAGE_STRING"
1952
2369
_ACEOF
1953
2370
 
1954
 
 
1955
2371
cat >>confdefs.h <<_ACEOF
1956
2372
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1957
2373
_ACEOF
1958
2374
 
 
2375
cat >>confdefs.h <<_ACEOF
 
2376
#define PACKAGE_URL "$PACKAGE_URL"
 
2377
_ACEOF
 
2378
 
1959
2379
 
1960
2380
# Let the site file select an alternate cache file if it wants to.
1961
2381
# Prefer an explicitly selected file to automatically selected ones.
1974
2394
do
1975
2395
  test "x$ac_site_file" = xNONE && continue
1976
2396
  if test -r "$ac_site_file"; then
1977
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2397
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1978
2398
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1979
2399
    sed 's/^/| /' "$ac_site_file" >&5
1980
2400
    . "$ac_site_file"
1985
2405
  # Some versions of bash will fail to source /dev/null (special
1986
2406
  # files actually), so we avoid doing that.
1987
2407
  if test -f "$cache_file"; then
1988
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2408
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1989
2409
$as_echo "$as_me: loading cache $cache_file" >&6;}
1990
2410
    case $cache_file in
1991
2411
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1993
2413
    esac
1994
2414
  fi
1995
2415
else
1996
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2416
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1997
2417
$as_echo "$as_me: creating cache $cache_file" >&6;}
1998
2418
  >$cache_file
1999
2419
fi
2008
2428
  eval ac_new_val=\$ac_env_${ac_var}_value
2009
2429
  case $ac_old_set,$ac_new_set in
2010
2430
    set,)
2011
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2431
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2012
2432
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2013
2433
      ac_cache_corrupted=: ;;
2014
2434
    ,set)
2015
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2435
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2016
2436
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2017
2437
      ac_cache_corrupted=: ;;
2018
2438
    ,);;
2022
2442
        ac_old_val_w=`echo x $ac_old_val`
2023
2443
        ac_new_val_w=`echo x $ac_new_val`
2024
2444
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2025
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2445
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2026
2446
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2027
2447
          ac_cache_corrupted=:
2028
2448
        else
2029
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2449
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2030
2450
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2031
2451
          eval $ac_var=\$ac_old_val
2032
2452
        fi
2033
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2453
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2034
2454
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2035
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2455
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2036
2456
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2037
2457
      fi;;
2038
2458
  esac
2044
2464
    esac
2045
2465
    case " $ac_configure_args " in
2046
2466
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2047
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2467
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2048
2468
    esac
2049
2469
  fi
2050
2470
done
2051
2471
if $ac_cache_corrupted; then
2052
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2472
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2053
2473
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2054
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2474
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2055
2475
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2056
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2057
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2058
 
   { (exit 1); exit 1; }; }
 
2476
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2059
2477
fi
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
2069
 
 
2070
 
 
2071
 
 
2072
 
 
2073
 
 
2074
 
 
2075
 
 
 
2478
## -------------------- ##
 
2479
## Main body of script. ##
 
2480
## -------------------- ##
2076
2481
 
2077
2482
ac_ext=c
2078
2483
ac_cpp='$CPP $CPPFLAGS'
2081
2486
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2082
2487
 
2083
2488
 
 
2489
 
2084
2490
ac_config_headers="$ac_config_headers config.h"
2085
2491
 
 
2492
 
 
2493
 
 
2494
case `pwd` in
 
2495
  *\ * | *\     *)
 
2496
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2497
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2498
esac
 
2499
 
 
2500
 
 
2501
 
 
2502
macro_version='2.2.6'
 
2503
macro_revision='1.3012'
 
2504
 
 
2505
 
 
2506
 
 
2507
 
 
2508
 
 
2509
 
 
2510
 
 
2511
 
 
2512
 
 
2513
 
 
2514
 
 
2515
 
 
2516
 
 
2517
ltmain="$ac_aux_dir/ltmain.sh"
 
2518
 
2086
2519
ac_aux_dir=
2087
 
for ac_dir in etc "$srcdir"/etc; do
2088
 
  if test -f "$ac_dir/install-sh"; then
2089
 
    ac_aux_dir=$ac_dir
2090
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2091
 
    break
2092
 
  elif test -f "$ac_dir/install.sh"; then
2093
 
    ac_aux_dir=$ac_dir
2094
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2095
 
    break
2096
 
  elif test -f "$ac_dir/shtool"; then
2097
 
    ac_aux_dir=$ac_dir
2098
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2099
 
    break
2100
 
  fi
 
2520
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2521
  for ac_t in install-sh install.sh shtool; do
 
2522
    if test -f "$ac_dir/$ac_t"; then
 
2523
      ac_aux_dir=$ac_dir
 
2524
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2525
      break 2
 
2526
    fi
 
2527
  done
2101
2528
done
2102
2529
if test -z "$ac_aux_dir"; then
2103
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in etc \"$srcdir\"/etc" >&5
2104
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in etc \"$srcdir\"/etc" >&2;}
2105
 
   { (exit 1); exit 1; }; }
 
2530
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2106
2531
fi
2107
2532
 
2108
2533
# These three variables are undocumented and unsupported,
2114
2539
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2115
2540
 
2116
2541
 
2117
 
 
2118
 
case `pwd` in
2119
 
  *\ * | *\     *)
2120
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2121
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2122
 
esac
2123
 
 
2124
 
 
2125
 
 
2126
 
macro_version='2.2.6'
2127
 
macro_revision='1.3012'
2128
 
 
2129
 
 
2130
 
 
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
 
2137
 
 
2138
 
 
2139
 
 
2140
 
 
2141
 
ltmain="$ac_aux_dir/ltmain.sh"
2142
 
 
2143
2542
# Make sure we can run config.sub.
2144
2543
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2145
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2146
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2147
 
   { (exit 1); exit 1; }; }
 
2544
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2148
2545
 
2149
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2150
2547
$as_echo_n "checking build system type... " >&6; }
2151
 
if test "${ac_cv_build+set}" = set; then
 
2548
if test "${ac_cv_build+set}" = set; then :
2152
2549
  $as_echo_n "(cached) " >&6
2153
2550
else
2154
2551
  ac_build_alias=$build_alias
2155
2552
test "x$ac_build_alias" = x &&
2156
2553
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2157
2554
test "x$ac_build_alias" = x &&
2158
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2159
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2160
 
   { (exit 1); exit 1; }; }
 
2555
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2161
2556
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2162
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2163
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2164
 
   { (exit 1); exit 1; }; }
 
2557
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2165
2558
 
2166
2559
fi
2167
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2168
2561
$as_echo "$ac_cv_build" >&6; }
2169
2562
case $ac_cv_build in
2170
2563
*-*-*) ;;
2171
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2172
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2173
 
   { (exit 1); exit 1; }; };;
 
2564
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2174
2565
esac
2175
2566
build=$ac_cv_build
2176
2567
ac_save_IFS=$IFS; IFS='-'
2186
2577
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2187
2578
 
2188
2579
 
2189
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2190
2581
$as_echo_n "checking host system type... " >&6; }
2191
 
if test "${ac_cv_host+set}" = set; then
 
2582
if test "${ac_cv_host+set}" = set; then :
2192
2583
  $as_echo_n "(cached) " >&6
2193
2584
else
2194
2585
  if test "x$host_alias" = x; then
2195
2586
  ac_cv_host=$ac_cv_build
2196
2587
else
2197
2588
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2198
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2199
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2200
 
   { (exit 1); exit 1; }; }
 
2589
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2201
2590
fi
2202
2591
 
2203
2592
fi
2204
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2205
2594
$as_echo "$ac_cv_host" >&6; }
2206
2595
case $ac_cv_host in
2207
2596
*-*-*) ;;
2208
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2209
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2210
 
   { (exit 1); exit 1; }; };;
 
2597
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2211
2598
esac
2212
2599
host=$ac_cv_host
2213
2600
ac_save_IFS=$IFS; IFS='-'
2231
2618
if test -n "$ac_tool_prefix"; then
2232
2619
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2233
2620
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2234
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2235
2622
$as_echo_n "checking for $ac_word... " >&6; }
2236
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2623
if test "${ac_cv_prog_CC+set}" = set; then :
2237
2624
  $as_echo_n "(cached) " >&6
2238
2625
else
2239
2626
  if test -n "$CC"; then
2244
2631
do
2245
2632
  IFS=$as_save_IFS
2246
2633
  test -z "$as_dir" && as_dir=.
2247
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2634
    for ac_exec_ext in '' $ac_executable_extensions; do
2248
2635
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2249
2636
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2250
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2637
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2251
2638
    break 2
2252
2639
  fi
2253
2640
done
2254
 
done
 
2641
  done
2255
2642
IFS=$as_save_IFS
2256
2643
 
2257
2644
fi
2258
2645
fi
2259
2646
CC=$ac_cv_prog_CC
2260
2647
if test -n "$CC"; then
2261
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2262
2649
$as_echo "$CC" >&6; }
2263
2650
else
2264
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2265
2652
$as_echo "no" >&6; }
2266
2653
fi
2267
2654
 
2271
2658
  ac_ct_CC=$CC
2272
2659
  # Extract the first word of "gcc", so it can be a program name with args.
2273
2660
set dummy gcc; ac_word=$2
2274
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2275
2662
$as_echo_n "checking for $ac_word... " >&6; }
2276
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2663
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2277
2664
  $as_echo_n "(cached) " >&6
2278
2665
else
2279
2666
  if test -n "$ac_ct_CC"; then
2284
2671
do
2285
2672
  IFS=$as_save_IFS
2286
2673
  test -z "$as_dir" && as_dir=.
2287
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2674
    for ac_exec_ext in '' $ac_executable_extensions; do
2288
2675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2289
2676
    ac_cv_prog_ac_ct_CC="gcc"
2290
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2291
2678
    break 2
2292
2679
  fi
2293
2680
done
2294
 
done
 
2681
  done
2295
2682
IFS=$as_save_IFS
2296
2683
 
2297
2684
fi
2298
2685
fi
2299
2686
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2300
2687
if test -n "$ac_ct_CC"; then
2301
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2302
2689
$as_echo "$ac_ct_CC" >&6; }
2303
2690
else
2304
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2305
2692
$as_echo "no" >&6; }
2306
2693
fi
2307
2694
 
2310
2697
  else
2311
2698
    case $cross_compiling:$ac_tool_warned in
2312
2699
yes:)
2313
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2314
2701
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2315
2702
ac_tool_warned=yes ;;
2316
2703
esac
2324
2711
          if test -n "$ac_tool_prefix"; then
2325
2712
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2326
2713
set dummy ${ac_tool_prefix}cc; ac_word=$2
2327
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2328
2715
$as_echo_n "checking for $ac_word... " >&6; }
2329
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2716
if test "${ac_cv_prog_CC+set}" = set; then :
2330
2717
  $as_echo_n "(cached) " >&6
2331
2718
else
2332
2719
  if test -n "$CC"; then
2337
2724
do
2338
2725
  IFS=$as_save_IFS
2339
2726
  test -z "$as_dir" && as_dir=.
2340
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2727
    for ac_exec_ext in '' $ac_executable_extensions; do
2341
2728
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342
2729
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2343
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2730
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2344
2731
    break 2
2345
2732
  fi
2346
2733
done
2347
 
done
 
2734
  done
2348
2735
IFS=$as_save_IFS
2349
2736
 
2350
2737
fi
2351
2738
fi
2352
2739
CC=$ac_cv_prog_CC
2353
2740
if test -n "$CC"; then
2354
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2355
2742
$as_echo "$CC" >&6; }
2356
2743
else
2357
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2744
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2358
2745
$as_echo "no" >&6; }
2359
2746
fi
2360
2747
 
2364
2751
if test -z "$CC"; then
2365
2752
  # Extract the first word of "cc", so it can be a program name with args.
2366
2753
set dummy cc; ac_word=$2
2367
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2368
2755
$as_echo_n "checking for $ac_word... " >&6; }
2369
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2756
if test "${ac_cv_prog_CC+set}" = set; then :
2370
2757
  $as_echo_n "(cached) " >&6
2371
2758
else
2372
2759
  if test -n "$CC"; then
2378
2765
do
2379
2766
  IFS=$as_save_IFS
2380
2767
  test -z "$as_dir" && as_dir=.
2381
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2768
    for ac_exec_ext in '' $ac_executable_extensions; do
2382
2769
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383
2770
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2384
2771
       ac_prog_rejected=yes
2385
2772
       continue
2386
2773
     fi
2387
2774
    ac_cv_prog_CC="cc"
2388
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2775
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2389
2776
    break 2
2390
2777
  fi
2391
2778
done
2392
 
done
 
2779
  done
2393
2780
IFS=$as_save_IFS
2394
2781
 
2395
2782
if test $ac_prog_rejected = yes; then
2408
2795
fi
2409
2796
CC=$ac_cv_prog_CC
2410
2797
if test -n "$CC"; then
2411
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2412
2799
$as_echo "$CC" >&6; }
2413
2800
else
2414
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2415
2802
$as_echo "no" >&6; }
2416
2803
fi
2417
2804
 
2423
2810
  do
2424
2811
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2425
2812
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2426
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2427
2814
$as_echo_n "checking for $ac_word... " >&6; }
2428
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2815
if test "${ac_cv_prog_CC+set}" = set; then :
2429
2816
  $as_echo_n "(cached) " >&6
2430
2817
else
2431
2818
  if test -n "$CC"; then
2436
2823
do
2437
2824
  IFS=$as_save_IFS
2438
2825
  test -z "$as_dir" && as_dir=.
2439
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2826
    for ac_exec_ext in '' $ac_executable_extensions; do
2440
2827
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441
2828
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2442
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2829
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2443
2830
    break 2
2444
2831
  fi
2445
2832
done
2446
 
done
 
2833
  done
2447
2834
IFS=$as_save_IFS
2448
2835
 
2449
2836
fi
2450
2837
fi
2451
2838
CC=$ac_cv_prog_CC
2452
2839
if test -n "$CC"; then
2453
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2454
2841
$as_echo "$CC" >&6; }
2455
2842
else
2456
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2457
2844
$as_echo "no" >&6; }
2458
2845
fi
2459
2846
 
2467
2854
do
2468
2855
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2469
2856
set dummy $ac_prog; ac_word=$2
2470
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2471
2858
$as_echo_n "checking for $ac_word... " >&6; }
2472
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2859
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2473
2860
  $as_echo_n "(cached) " >&6
2474
2861
else
2475
2862
  if test -n "$ac_ct_CC"; then
2480
2867
do
2481
2868
  IFS=$as_save_IFS
2482
2869
  test -z "$as_dir" && as_dir=.
2483
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2870
    for ac_exec_ext in '' $ac_executable_extensions; do
2484
2871
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2485
2872
    ac_cv_prog_ac_ct_CC="$ac_prog"
2486
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2873
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2487
2874
    break 2
2488
2875
  fi
2489
2876
done
2490
 
done
 
2877
  done
2491
2878
IFS=$as_save_IFS
2492
2879
 
2493
2880
fi
2494
2881
fi
2495
2882
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2496
2883
if test -n "$ac_ct_CC"; then
2497
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2498
2885
$as_echo "$ac_ct_CC" >&6; }
2499
2886
else
2500
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501
2888
$as_echo "no" >&6; }
2502
2889
fi
2503
2890
 
2510
2897
  else
2511
2898
    case $cross_compiling:$ac_tool_warned in
2512
2899
yes:)
2513
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2514
2901
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2515
2902
ac_tool_warned=yes ;;
2516
2903
esac
2521
2908
fi
2522
2909
 
2523
2910
 
2524
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2911
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2525
2912
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2527
 
See \`config.log' for more details." >&5
2528
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2529
 
See \`config.log' for more details." >&2;}
2530
 
   { (exit 1); exit 1; }; }; }
 
2913
as_fn_error "no acceptable C compiler found in \$PATH
 
2914
See \`config.log' for more details." "$LINENO" 5; }
2531
2915
 
2532
2916
# Provide some information about the compiler.
2533
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2917
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2534
2918
set X $ac_compile
2535
2919
ac_compiler=$2
2536
 
{ (ac_try="$ac_compiler --version >&5"
2537
 
case "(($ac_try" in
2538
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539
 
  *) ac_try_echo=$ac_try;;
2540
 
esac
2541
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2542
 
$as_echo "$ac_try_echo") >&5
2543
 
  (eval "$ac_compiler --version >&5") 2>&5
2544
 
  ac_status=$?
2545
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546
 
  (exit $ac_status); }
2547
 
{ (ac_try="$ac_compiler -v >&5"
2548
 
case "(($ac_try" in
2549
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550
 
  *) ac_try_echo=$ac_try;;
2551
 
esac
2552
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2553
 
$as_echo "$ac_try_echo") >&5
2554
 
  (eval "$ac_compiler -v >&5") 2>&5
2555
 
  ac_status=$?
2556
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557
 
  (exit $ac_status); }
2558
 
{ (ac_try="$ac_compiler -V >&5"
2559
 
case "(($ac_try" in
2560
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561
 
  *) ac_try_echo=$ac_try;;
2562
 
esac
2563
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2564
 
$as_echo "$ac_try_echo") >&5
2565
 
  (eval "$ac_compiler -V >&5") 2>&5
2566
 
  ac_status=$?
2567
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568
 
  (exit $ac_status); }
 
2920
for ac_option in --version -v -V -qversion; do
 
2921
  { { ac_try="$ac_compiler $ac_option >&5"
 
2922
case "(($ac_try" in
 
2923
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2924
  *) ac_try_echo=$ac_try;;
 
2925
esac
 
2926
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2927
$as_echo "$ac_try_echo"; } >&5
 
2928
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2929
  ac_status=$?
 
2930
  if test -s conftest.err; then
 
2931
    sed '10a\
 
2932
... rest of stderr output deleted ...
 
2933
         10q' conftest.err >conftest.er1
 
2934
    cat conftest.er1 >&5
 
2935
    rm -f conftest.er1 conftest.err
 
2936
  fi
 
2937
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2938
  test $ac_status = 0; }
 
2939
done
2569
2940
 
2570
 
cat >conftest.$ac_ext <<_ACEOF
2571
 
/* confdefs.h.  */
2572
 
_ACEOF
2573
 
cat confdefs.h >>conftest.$ac_ext
2574
 
cat >>conftest.$ac_ext <<_ACEOF
 
2941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575
2942
/* end confdefs.h.  */
2576
 
 
 
2943
#include <stdio.h>
2577
2944
int
2578
2945
main ()
2579
2946
{
 
2947
FILE *f = fopen ("conftest.out", "w");
 
2948
 return ferror (f) || fclose (f) != 0;
2580
2949
 
2581
2950
  ;
2582
2951
  return 0;
2583
2952
}
2584
2953
_ACEOF
2585
2954
ac_clean_files_save=$ac_clean_files
2586
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2955
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2587
2956
# Try to create an executable without -o first, disregard a.out.
2588
2957
# It will help us diagnose broken compilers, and finding out an intuition
2589
2958
# of exeext.
2590
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2591
2960
$as_echo_n "checking for C compiler default output file name... " >&6; }
2592
2961
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2593
2962
 
2604
2973
done
2605
2974
rm -f $ac_rmfiles
2606
2975
 
2607
 
if { (ac_try="$ac_link_default"
 
2976
if { { ac_try="$ac_link_default"
2608
2977
case "(($ac_try" in
2609
2978
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610
2979
  *) ac_try_echo=$ac_try;;
2611
2980
esac
2612
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2613
 
$as_echo "$ac_try_echo") >&5
 
2981
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2982
$as_echo "$ac_try_echo"; } >&5
2614
2983
  (eval "$ac_link_default") 2>&5
2615
2984
  ac_status=$?
2616
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
 
  (exit $ac_status); }; then
 
2985
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2986
  test $ac_status = 0; }; then :
2618
2987
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2619
2988
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2620
2989
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2631
3000
        # certainly right.
2632
3001
        break;;
2633
3002
    *.* )
2634
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3003
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2635
3004
        then :; else
2636
3005
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2637
3006
        fi
2650
3019
else
2651
3020
  ac_file=''
2652
3021
fi
2653
 
 
2654
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2655
3023
$as_echo "$ac_file" >&6; }
2656
 
if test -z "$ac_file"; then
 
3024
if test -z "$ac_file"; then :
2657
3025
  $as_echo "$as_me: failed program was:" >&5
2658
3026
sed 's/^/| /' conftest.$ac_ext >&5
2659
3027
 
2660
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3028
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2661
3029
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2663
 
See \`config.log' for more details." >&5
2664
 
$as_echo "$as_me: error: C compiler cannot create executables
2665
 
See \`config.log' for more details." >&2;}
2666
 
   { (exit 77); exit 77; }; }; }
 
3030
{ as_fn_set_status 77
 
3031
as_fn_error "C compiler cannot create executables
 
3032
See \`config.log' for more details." "$LINENO" 5; }; }
2667
3033
fi
2668
 
 
2669
3034
ac_exeext=$ac_cv_exeext
2670
3035
 
2671
3036
# Check that the compiler produces executables we can run.  If not, either
2672
3037
# the compiler is broken, or we cross compile.
2673
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2674
3039
$as_echo_n "checking whether the C compiler works... " >&6; }
2675
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2676
3040
# If not cross compiling, check that we can run a simple program.
2677
3041
if test "$cross_compiling" != yes; then
2678
3042
  if { ac_try='./$ac_file'
2679
 
  { (case "(($ac_try" in
 
3043
  { { case "(($ac_try" in
2680
3044
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681
3045
  *) ac_try_echo=$ac_try;;
2682
3046
esac
2683
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2684
 
$as_echo "$ac_try_echo") >&5
 
3047
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3048
$as_echo "$ac_try_echo"; } >&5
2685
3049
  (eval "$ac_try") 2>&5
2686
3050
  ac_status=$?
2687
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688
 
  (exit $ac_status); }; }; then
 
3051
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3052
  test $ac_status = 0; }; }; then
2689
3053
    cross_compiling=no
2690
3054
  else
2691
3055
    if test "$cross_compiling" = maybe; then
2692
3056
        cross_compiling=yes
2693
3057
    else
2694
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3058
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2695
3059
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2696
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2697
 
If you meant to cross compile, use \`--host'.
2698
 
See \`config.log' for more details." >&5
2699
 
$as_echo "$as_me: error: cannot run C compiled programs.
2700
 
If you meant to cross compile, use \`--host'.
2701
 
See \`config.log' for more details." >&2;}
2702
 
   { (exit 1); exit 1; }; }; }
 
3060
as_fn_error "cannot run C compiled programs.
 
3061
If you meant to cross compile, use \`--host'.
 
3062
See \`config.log' for more details." "$LINENO" 5; }
2703
3063
    fi
2704
3064
  fi
2705
3065
fi
2706
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707
3067
$as_echo "yes" >&6; }
2708
3068
 
2709
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3069
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2710
3070
ac_clean_files=$ac_clean_files_save
2711
3071
# Check that the compiler produces executables we can run.  If not, either
2712
3072
# the compiler is broken, or we cross compile.
2713
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2714
3074
$as_echo_n "checking whether we are cross compiling... " >&6; }
2715
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2716
3076
$as_echo "$cross_compiling" >&6; }
2717
3077
 
2718
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2719
3079
$as_echo_n "checking for suffix of executables... " >&6; }
2720
 
if { (ac_try="$ac_link"
 
3080
if { { ac_try="$ac_link"
2721
3081
case "(($ac_try" in
2722
3082
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723
3083
  *) ac_try_echo=$ac_try;;
2724
3084
esac
2725
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2726
 
$as_echo "$ac_try_echo") >&5
 
3085
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3086
$as_echo "$ac_try_echo"; } >&5
2727
3087
  (eval "$ac_link") 2>&5
2728
3088
  ac_status=$?
2729
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730
 
  (exit $ac_status); }; then
 
3089
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3090
  test $ac_status = 0; }; then :
2731
3091
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2732
3092
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2733
3093
# work properly (i.e., refer to `conftest.exe'), while it won't with
2742
3102
  esac
2743
3103
done
2744
3104
else
2745
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3105
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2746
3106
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2747
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2748
 
See \`config.log' for more details." >&5
2749
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2750
 
See \`config.log' for more details." >&2;}
2751
 
   { (exit 1); exit 1; }; }; }
 
3107
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3108
See \`config.log' for more details." "$LINENO" 5; }
2752
3109
fi
2753
 
 
2754
3110
rm -f conftest$ac_cv_exeext
2755
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2756
3112
$as_echo "$ac_cv_exeext" >&6; }
2757
3113
 
2758
3114
rm -f conftest.$ac_ext
2759
3115
EXEEXT=$ac_cv_exeext
2760
3116
ac_exeext=$EXEEXT
2761
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2762
3118
$as_echo_n "checking for suffix of object files... " >&6; }
2763
 
if test "${ac_cv_objext+set}" = set; then
 
3119
if test "${ac_cv_objext+set}" = set; then :
2764
3120
  $as_echo_n "(cached) " >&6
2765
3121
else
2766
 
  cat >conftest.$ac_ext <<_ACEOF
2767
 
/* confdefs.h.  */
2768
 
_ACEOF
2769
 
cat confdefs.h >>conftest.$ac_ext
2770
 
cat >>conftest.$ac_ext <<_ACEOF
 
3122
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2771
3123
/* end confdefs.h.  */
2772
3124
 
2773
3125
int
2779
3131
}
2780
3132
_ACEOF
2781
3133
rm -f conftest.o conftest.obj
2782
 
if { (ac_try="$ac_compile"
 
3134
if { { ac_try="$ac_compile"
2783
3135
case "(($ac_try" in
2784
3136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785
3137
  *) ac_try_echo=$ac_try;;
2786
3138
esac
2787
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2788
 
$as_echo "$ac_try_echo") >&5
 
3139
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3140
$as_echo "$ac_try_echo"; } >&5
2789
3141
  (eval "$ac_compile") 2>&5
2790
3142
  ac_status=$?
2791
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792
 
  (exit $ac_status); }; then
 
3143
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3144
  test $ac_status = 0; }; then :
2793
3145
  for ac_file in conftest.o conftest.obj conftest.*; do
2794
3146
  test -f "$ac_file" || continue;
2795
3147
  case $ac_file in
2802
3154
  $as_echo "$as_me: failed program was:" >&5
2803
3155
sed 's/^/| /' conftest.$ac_ext >&5
2804
3156
 
2805
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3157
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2806
3158
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2807
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2808
 
See \`config.log' for more details." >&5
2809
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2810
 
See \`config.log' for more details." >&2;}
2811
 
   { (exit 1); exit 1; }; }; }
 
3159
as_fn_error "cannot compute suffix of object files: cannot compile
 
3160
See \`config.log' for more details." "$LINENO" 5; }
2812
3161
fi
2813
 
 
2814
3162
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2815
3163
fi
2816
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2817
3165
$as_echo "$ac_cv_objext" >&6; }
2818
3166
OBJEXT=$ac_cv_objext
2819
3167
ac_objext=$OBJEXT
2820
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2821
3169
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2822
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3170
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2823
3171
  $as_echo_n "(cached) " >&6
2824
3172
else
2825
 
  cat >conftest.$ac_ext <<_ACEOF
2826
 
/* confdefs.h.  */
2827
 
_ACEOF
2828
 
cat confdefs.h >>conftest.$ac_ext
2829
 
cat >>conftest.$ac_ext <<_ACEOF
 
3173
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830
3174
/* end confdefs.h.  */
2831
3175
 
2832
3176
int
2840
3184
  return 0;
2841
3185
}
2842
3186
_ACEOF
2843
 
rm -f conftest.$ac_objext
2844
 
if { (ac_try="$ac_compile"
2845
 
case "(($ac_try" in
2846
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847
 
  *) ac_try_echo=$ac_try;;
2848
 
esac
2849
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2850
 
$as_echo "$ac_try_echo") >&5
2851
 
  (eval "$ac_compile") 2>conftest.er1
2852
 
  ac_status=$?
2853
 
  grep -v '^ *+' conftest.er1 >conftest.err
2854
 
  rm -f conftest.er1
2855
 
  cat conftest.err >&5
2856
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857
 
  (exit $ac_status); } && {
2858
 
         test -z "$ac_c_werror_flag" ||
2859
 
         test ! -s conftest.err
2860
 
       } && test -s conftest.$ac_objext; then
 
3187
if ac_fn_c_try_compile "$LINENO"; then :
2861
3188
  ac_compiler_gnu=yes
2862
3189
else
2863
 
  $as_echo "$as_me: failed program was:" >&5
2864
 
sed 's/^/| /' conftest.$ac_ext >&5
2865
 
 
2866
 
        ac_compiler_gnu=no
 
3190
  ac_compiler_gnu=no
2867
3191
fi
2868
 
 
2869
3192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870
3193
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2871
3194
 
2872
3195
fi
2873
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2874
3197
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2875
3198
if test $ac_compiler_gnu = yes; then
2876
3199
  GCC=yes
2879
3202
fi
2880
3203
ac_test_CFLAGS=${CFLAGS+set}
2881
3204
ac_save_CFLAGS=$CFLAGS
2882
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2883
3206
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2884
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3207
if test "${ac_cv_prog_cc_g+set}" = set; then :
2885
3208
  $as_echo_n "(cached) " >&6
2886
3209
else
2887
3210
  ac_save_c_werror_flag=$ac_c_werror_flag
2888
3211
   ac_c_werror_flag=yes
2889
3212
   ac_cv_prog_cc_g=no
2890
3213
   CFLAGS="-g"
2891
 
   cat >conftest.$ac_ext <<_ACEOF
2892
 
/* confdefs.h.  */
2893
 
_ACEOF
2894
 
cat confdefs.h >>conftest.$ac_ext
2895
 
cat >>conftest.$ac_ext <<_ACEOF
 
3214
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896
3215
/* end confdefs.h.  */
2897
3216
 
2898
3217
int
2903
3222
  return 0;
2904
3223
}
2905
3224
_ACEOF
2906
 
rm -f conftest.$ac_objext
2907
 
if { (ac_try="$ac_compile"
2908
 
case "(($ac_try" in
2909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910
 
  *) ac_try_echo=$ac_try;;
2911
 
esac
2912
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2913
 
$as_echo "$ac_try_echo") >&5
2914
 
  (eval "$ac_compile") 2>conftest.er1
2915
 
  ac_status=$?
2916
 
  grep -v '^ *+' conftest.er1 >conftest.err
2917
 
  rm -f conftest.er1
2918
 
  cat conftest.err >&5
2919
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920
 
  (exit $ac_status); } && {
2921
 
         test -z "$ac_c_werror_flag" ||
2922
 
         test ! -s conftest.err
2923
 
       } && test -s conftest.$ac_objext; then
 
3225
if ac_fn_c_try_compile "$LINENO"; then :
2924
3226
  ac_cv_prog_cc_g=yes
2925
3227
else
2926
 
  $as_echo "$as_me: failed program was:" >&5
2927
 
sed 's/^/| /' conftest.$ac_ext >&5
2928
 
 
2929
 
        CFLAGS=""
2930
 
      cat >conftest.$ac_ext <<_ACEOF
2931
 
/* confdefs.h.  */
2932
 
_ACEOF
2933
 
cat confdefs.h >>conftest.$ac_ext
2934
 
cat >>conftest.$ac_ext <<_ACEOF
 
3228
  CFLAGS=""
 
3229
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935
3230
/* end confdefs.h.  */
2936
3231
 
2937
3232
int
2942
3237
  return 0;
2943
3238
}
2944
3239
_ACEOF
2945
 
rm -f conftest.$ac_objext
2946
 
if { (ac_try="$ac_compile"
2947
 
case "(($ac_try" in
2948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949
 
  *) ac_try_echo=$ac_try;;
2950
 
esac
2951
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2952
 
$as_echo "$ac_try_echo") >&5
2953
 
  (eval "$ac_compile") 2>conftest.er1
2954
 
  ac_status=$?
2955
 
  grep -v '^ *+' conftest.er1 >conftest.err
2956
 
  rm -f conftest.er1
2957
 
  cat conftest.err >&5
2958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
 
  (exit $ac_status); } && {
2960
 
         test -z "$ac_c_werror_flag" ||
2961
 
         test ! -s conftest.err
2962
 
       } && test -s conftest.$ac_objext; then
2963
 
  :
 
3240
if ac_fn_c_try_compile "$LINENO"; then :
 
3241
 
2964
3242
else
2965
 
  $as_echo "$as_me: failed program was:" >&5
2966
 
sed 's/^/| /' conftest.$ac_ext >&5
2967
 
 
2968
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3243
  ac_c_werror_flag=$ac_save_c_werror_flag
2969
3244
         CFLAGS="-g"
2970
 
         cat >conftest.$ac_ext <<_ACEOF
2971
 
/* confdefs.h.  */
2972
 
_ACEOF
2973
 
cat confdefs.h >>conftest.$ac_ext
2974
 
cat >>conftest.$ac_ext <<_ACEOF
 
3245
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975
3246
/* end confdefs.h.  */
2976
3247
 
2977
3248
int
2982
3253
  return 0;
2983
3254
}
2984
3255
_ACEOF
2985
 
rm -f conftest.$ac_objext
2986
 
if { (ac_try="$ac_compile"
2987
 
case "(($ac_try" in
2988
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989
 
  *) ac_try_echo=$ac_try;;
2990
 
esac
2991
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2992
 
$as_echo "$ac_try_echo") >&5
2993
 
  (eval "$ac_compile") 2>conftest.er1
2994
 
  ac_status=$?
2995
 
  grep -v '^ *+' conftest.er1 >conftest.err
2996
 
  rm -f conftest.er1
2997
 
  cat conftest.err >&5
2998
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999
 
  (exit $ac_status); } && {
3000
 
         test -z "$ac_c_werror_flag" ||
3001
 
         test ! -s conftest.err
3002
 
       } && test -s conftest.$ac_objext; then
 
3256
if ac_fn_c_try_compile "$LINENO"; then :
3003
3257
  ac_cv_prog_cc_g=yes
3004
 
else
3005
 
  $as_echo "$as_me: failed program was:" >&5
3006
 
sed 's/^/| /' conftest.$ac_ext >&5
3007
 
 
3008
 
 
3009
 
fi
3010
 
 
3011
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012
 
fi
3013
 
 
3014
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015
 
fi
3016
 
 
 
3258
fi
 
3259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3260
fi
 
3261
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3262
fi
3017
3263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3018
3264
   ac_c_werror_flag=$ac_save_c_werror_flag
3019
3265
fi
3020
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3021
3267
$as_echo "$ac_cv_prog_cc_g" >&6; }
3022
3268
if test "$ac_test_CFLAGS" = set; then
3023
3269
  CFLAGS=$ac_save_CFLAGS
3034
3280
    CFLAGS=
3035
3281
  fi
3036
3282
fi
3037
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3038
3284
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3039
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3285
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3040
3286
  $as_echo_n "(cached) " >&6
3041
3287
else
3042
3288
  ac_cv_prog_cc_c89=no
3043
3289
ac_save_CC=$CC
3044
 
cat >conftest.$ac_ext <<_ACEOF
3045
 
/* confdefs.h.  */
3046
 
_ACEOF
3047
 
cat confdefs.h >>conftest.$ac_ext
3048
 
cat >>conftest.$ac_ext <<_ACEOF
 
3290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049
3291
/* end confdefs.h.  */
3050
3292
#include <stdarg.h>
3051
3293
#include <stdio.h>
3102
3344
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3103
3345
do
3104
3346
  CC="$ac_save_CC $ac_arg"
3105
 
  rm -f conftest.$ac_objext
3106
 
if { (ac_try="$ac_compile"
3107
 
case "(($ac_try" in
3108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109
 
  *) ac_try_echo=$ac_try;;
3110
 
esac
3111
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3112
 
$as_echo "$ac_try_echo") >&5
3113
 
  (eval "$ac_compile") 2>conftest.er1
3114
 
  ac_status=$?
3115
 
  grep -v '^ *+' conftest.er1 >conftest.err
3116
 
  rm -f conftest.er1
3117
 
  cat conftest.err >&5
3118
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119
 
  (exit $ac_status); } && {
3120
 
         test -z "$ac_c_werror_flag" ||
3121
 
         test ! -s conftest.err
3122
 
       } && test -s conftest.$ac_objext; then
 
3347
  if ac_fn_c_try_compile "$LINENO"; then :
3123
3348
  ac_cv_prog_cc_c89=$ac_arg
3124
 
else
3125
 
  $as_echo "$as_me: failed program was:" >&5
3126
 
sed 's/^/| /' conftest.$ac_ext >&5
3127
 
 
3128
 
 
3129
3349
fi
3130
 
 
3131
3350
rm -f core conftest.err conftest.$ac_objext
3132
3351
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3133
3352
done
3138
3357
# AC_CACHE_VAL
3139
3358
case "x$ac_cv_prog_cc_c89" in
3140
3359
  x)
3141
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3360
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3142
3361
$as_echo "none needed" >&6; } ;;
3143
3362
  xno)
3144
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3363
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3145
3364
$as_echo "unsupported" >&6; } ;;
3146
3365
  *)
3147
3366
    CC="$CC $ac_cv_prog_cc_c89"
3148
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3367
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3149
3368
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3150
3369
esac
 
3370
if test "x$ac_cv_prog_cc_c89" != xno; then :
3151
3371
 
 
3372
fi
3152
3373
 
3153
3374
ac_ext=c
3154
3375
ac_cpp='$CPP $CPPFLAGS'
3156
3377
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3157
3378
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3158
3379
 
3159
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3160
3381
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3161
 
if test "${ac_cv_path_SED+set}" = set; then
 
3382
if test "${ac_cv_path_SED+set}" = set; then :
3162
3383
  $as_echo_n "(cached) " >&6
3163
3384
else
3164
3385
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3166
3387
       ac_script="$ac_script$as_nl$ac_script"
3167
3388
     done
3168
3389
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3169
 
     $as_unset ac_script || ac_script=
 
3390
     { ac_script=; unset ac_script;}
3170
3391
     if test -z "$SED"; then
3171
3392
  ac_path_SED_found=false
3172
3393
  # Loop through the user's path and test for each of PROGNAME-LIST
3175
3396
do
3176
3397
  IFS=$as_save_IFS
3177
3398
  test -z "$as_dir" && as_dir=.
3178
 
  for ac_prog in sed gsed; do
 
3399
    for ac_prog in sed gsed; do
3179
3400
    for ac_exec_ext in '' $ac_executable_extensions; do
3180
3401
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3181
3402
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3195
3416
    $as_echo '' >> "conftest.nl"
3196
3417
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3197
3418
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3198
 
    ac_count=`expr $ac_count + 1`
 
3419
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3199
3420
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3200
3421
      # Best one so far, save it but keep looking for a better one
3201
3422
      ac_cv_path_SED="$ac_path_SED"
3210
3431
      $ac_path_SED_found && break 3
3211
3432
    done
3212
3433
  done
3213
 
done
 
3434
  done
3214
3435
IFS=$as_save_IFS
3215
3436
  if test -z "$ac_cv_path_SED"; then
3216
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3217
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3218
 
   { (exit 1); exit 1; }; }
 
3437
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3219
3438
  fi
3220
3439
else
3221
3440
  ac_cv_path_SED=$SED
3222
3441
fi
3223
3442
 
3224
3443
fi
3225
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
3444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3226
3445
$as_echo "$ac_cv_path_SED" >&6; }
3227
3446
 SED="$ac_cv_path_SED"
3228
3447
  rm -f conftest.sed
3240
3459
 
3241
3460
 
3242
3461
 
3243
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3244
3463
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3245
 
if test "${ac_cv_path_GREP+set}" = set; then
 
3464
if test "${ac_cv_path_GREP+set}" = set; then :
3246
3465
  $as_echo_n "(cached) " >&6
3247
3466
else
3248
3467
  if test -z "$GREP"; then
3253
3472
do
3254
3473
  IFS=$as_save_IFS
3255
3474
  test -z "$as_dir" && as_dir=.
3256
 
  for ac_prog in grep ggrep; do
 
3475
    for ac_prog in grep ggrep; do
3257
3476
    for ac_exec_ext in '' $ac_executable_extensions; do
3258
3477
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3259
3478
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3273
3492
    $as_echo 'GREP' >> "conftest.nl"
3274
3493
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3275
3494
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3276
 
    ac_count=`expr $ac_count + 1`
 
3495
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3277
3496
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3278
3497
      # Best one so far, save it but keep looking for a better one
3279
3498
      ac_cv_path_GREP="$ac_path_GREP"
3288
3507
      $ac_path_GREP_found && break 3
3289
3508
    done
3290
3509
  done
3291
 
done
 
3510
  done
3292
3511
IFS=$as_save_IFS
3293
3512
  if test -z "$ac_cv_path_GREP"; then
3294
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3295
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3296
 
   { (exit 1); exit 1; }; }
 
3513
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3297
3514
  fi
3298
3515
else
3299
3516
  ac_cv_path_GREP=$GREP
3300
3517
fi
3301
3518
 
3302
3519
fi
3303
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3304
3521
$as_echo "$ac_cv_path_GREP" >&6; }
3305
3522
 GREP="$ac_cv_path_GREP"
3306
3523
 
3307
3524
 
3308
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3309
3526
$as_echo_n "checking for egrep... " >&6; }
3310
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
3527
if test "${ac_cv_path_EGREP+set}" = set; then :
3311
3528
  $as_echo_n "(cached) " >&6
3312
3529
else
3313
3530
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3321
3538
do
3322
3539
  IFS=$as_save_IFS
3323
3540
  test -z "$as_dir" && as_dir=.
3324
 
  for ac_prog in egrep; do
 
3541
    for ac_prog in egrep; do
3325
3542
    for ac_exec_ext in '' $ac_executable_extensions; do
3326
3543
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3327
3544
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3341
3558
    $as_echo 'EGREP' >> "conftest.nl"
3342
3559
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3343
3560
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3344
 
    ac_count=`expr $ac_count + 1`
 
3561
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3345
3562
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3346
3563
      # Best one so far, save it but keep looking for a better one
3347
3564
      ac_cv_path_EGREP="$ac_path_EGREP"
3356
3573
      $ac_path_EGREP_found && break 3
3357
3574
    done
3358
3575
  done
3359
 
done
 
3576
  done
3360
3577
IFS=$as_save_IFS
3361
3578
  if test -z "$ac_cv_path_EGREP"; then
3362
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3363
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3364
 
   { (exit 1); exit 1; }; }
 
3579
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3365
3580
  fi
3366
3581
else
3367
3582
  ac_cv_path_EGREP=$EGREP
3369
3584
 
3370
3585
   fi
3371
3586
fi
3372
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3373
3588
$as_echo "$ac_cv_path_EGREP" >&6; }
3374
3589
 EGREP="$ac_cv_path_EGREP"
3375
3590
 
3376
3591
 
3377
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
3592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3378
3593
$as_echo_n "checking for fgrep... " >&6; }
3379
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
3594
if test "${ac_cv_path_FGREP+set}" = set; then :
3380
3595
  $as_echo_n "(cached) " >&6
3381
3596
else
3382
3597
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3390
3605
do
3391
3606
  IFS=$as_save_IFS
3392
3607
  test -z "$as_dir" && as_dir=.
3393
 
  for ac_prog in fgrep; do
 
3608
    for ac_prog in fgrep; do
3394
3609
    for ac_exec_ext in '' $ac_executable_extensions; do
3395
3610
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3396
3611
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3410
3625
    $as_echo 'FGREP' >> "conftest.nl"
3411
3626
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3412
3627
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3413
 
    ac_count=`expr $ac_count + 1`
 
3628
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3414
3629
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3415
3630
      # Best one so far, save it but keep looking for a better one
3416
3631
      ac_cv_path_FGREP="$ac_path_FGREP"
3425
3640
      $ac_path_FGREP_found && break 3
3426
3641
    done
3427
3642
  done
3428
 
done
 
3643
  done
3429
3644
IFS=$as_save_IFS
3430
3645
  if test -z "$ac_cv_path_FGREP"; then
3431
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3432
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3433
 
   { (exit 1); exit 1; }; }
 
3646
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3434
3647
  fi
3435
3648
else
3436
3649
  ac_cv_path_FGREP=$FGREP
3438
3651
 
3439
3652
   fi
3440
3653
fi
3441
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3442
3655
$as_echo "$ac_cv_path_FGREP" >&6; }
3443
3656
 FGREP="$ac_cv_path_FGREP"
3444
3657
 
3464
3677
 
3465
3678
 
3466
3679
# Check whether --with-gnu-ld was given.
3467
 
if test "${with_gnu_ld+set}" = set; then
 
3680
if test "${with_gnu_ld+set}" = set; then :
3468
3681
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3469
3682
else
3470
3683
  with_gnu_ld=no
3473
3686
ac_prog=ld
3474
3687
if test "$GCC" = yes; then
3475
3688
  # Check if gcc -print-prog-name=ld gives a path.
3476
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3689
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3477
3690
$as_echo_n "checking for ld used by $CC... " >&6; }
3478
3691
  case $host in
3479
3692
  *-*-mingw*)
3503
3716
    ;;
3504
3717
  esac
3505
3718
elif test "$with_gnu_ld" = yes; then
3506
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
3719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3507
3720
$as_echo_n "checking for GNU ld... " >&6; }
3508
3721
else
3509
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
3722
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3510
3723
$as_echo_n "checking for non-GNU ld... " >&6; }
3511
3724
fi
3512
 
if test "${lt_cv_path_LD+set}" = set; then
 
3725
if test "${lt_cv_path_LD+set}" = set; then :
3513
3726
  $as_echo_n "(cached) " >&6
3514
3727
else
3515
3728
  if test -z "$LD"; then
3540
3753
 
3541
3754
LD="$lt_cv_path_LD"
3542
3755
if test -n "$LD"; then
3543
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
3756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3544
3757
$as_echo "$LD" >&6; }
3545
3758
else
3546
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3759
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547
3760
$as_echo "no" >&6; }
3548
3761
fi
3549
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3550
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3551
 
   { (exit 1); exit 1; }; }
3552
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
3762
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
3763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3553
3764
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3554
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
3765
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3555
3766
  $as_echo_n "(cached) " >&6
3556
3767
else
3557
3768
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3564
3775
  ;;
3565
3776
esac
3566
3777
fi
3567
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
3778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3568
3779
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
3569
3780
with_gnu_ld=$lt_cv_prog_gnu_ld
3570
3781
 
3576
3787
 
3577
3788
 
3578
3789
 
3579
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3580
3791
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3581
 
if test "${lt_cv_path_NM+set}" = set; then
 
3792
if test "${lt_cv_path_NM+set}" = set; then :
3582
3793
  $as_echo_n "(cached) " >&6
3583
3794
else
3584
3795
  if test -n "$NM"; then
3625
3836
  : ${lt_cv_path_NM=no}
3626
3837
fi
3627
3838
fi
3628
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
3839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3629
3840
$as_echo "$lt_cv_path_NM" >&6; }
3630
3841
if test "$lt_cv_path_NM" != "no"; then
3631
3842
  NM="$lt_cv_path_NM"
3636
3847
  do
3637
3848
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3638
3849
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3639
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640
3851
$as_echo_n "checking for $ac_word... " >&6; }
3641
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
3852
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3642
3853
  $as_echo_n "(cached) " >&6
3643
3854
else
3644
3855
  if test -n "$DUMPBIN"; then
3649
3860
do
3650
3861
  IFS=$as_save_IFS
3651
3862
  test -z "$as_dir" && as_dir=.
3652
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3863
    for ac_exec_ext in '' $ac_executable_extensions; do
3653
3864
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654
3865
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3655
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3866
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656
3867
    break 2
3657
3868
  fi
3658
3869
done
3659
 
done
 
3870
  done
3660
3871
IFS=$as_save_IFS
3661
3872
 
3662
3873
fi
3663
3874
fi
3664
3875
DUMPBIN=$ac_cv_prog_DUMPBIN
3665
3876
if test -n "$DUMPBIN"; then
3666
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
3877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3667
3878
$as_echo "$DUMPBIN" >&6; }
3668
3879
else
3669
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670
3881
$as_echo "no" >&6; }
3671
3882
fi
3672
3883
 
3680
3891
do
3681
3892
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3682
3893
set dummy $ac_prog; ac_word=$2
3683
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684
3895
$as_echo_n "checking for $ac_word... " >&6; }
3685
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
3896
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3686
3897
  $as_echo_n "(cached) " >&6
3687
3898
else
3688
3899
  if test -n "$ac_ct_DUMPBIN"; then
3693
3904
do
3694
3905
  IFS=$as_save_IFS
3695
3906
  test -z "$as_dir" && as_dir=.
3696
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3907
    for ac_exec_ext in '' $ac_executable_extensions; do
3697
3908
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3698
3909
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3699
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3910
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700
3911
    break 2
3701
3912
  fi
3702
3913
done
3703
 
done
 
3914
  done
3704
3915
IFS=$as_save_IFS
3705
3916
 
3706
3917
fi
3707
3918
fi
3708
3919
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3709
3920
if test -n "$ac_ct_DUMPBIN"; then
3710
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
3921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
3711
3922
$as_echo "$ac_ct_DUMPBIN" >&6; }
3712
3923
else
3713
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3714
3925
$as_echo "no" >&6; }
3715
3926
fi
3716
3927
 
3723
3934
  else
3724
3935
    case $cross_compiling:$ac_tool_warned in
3725
3936
yes:)
3726
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3937
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3727
3938
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3728
3939
ac_tool_warned=yes ;;
3729
3940
esac
3743
3954
 
3744
3955
 
3745
3956
 
3746
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
3957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
3747
3958
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
3748
 
if test "${lt_cv_nm_interface+set}" = set; then
 
3959
if test "${lt_cv_nm_interface+set}" = set; then :
3749
3960
  $as_echo_n "(cached) " >&6
3750
3961
else
3751
3962
  lt_cv_nm_interface="BSD nm"
3752
3963
  echo "int some_variable = 0;" > conftest.$ac_ext
3753
 
  (eval echo "\"\$as_me:3753: $ac_compile\"" >&5)
 
3964
  (eval echo "\"\$as_me:3964: $ac_compile\"" >&5)
3754
3965
  (eval "$ac_compile" 2>conftest.err)
3755
3966
  cat conftest.err >&5
3756
 
  (eval echo "\"\$as_me:3756: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
3967
  (eval echo "\"\$as_me:3967: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3757
3968
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3758
3969
  cat conftest.err >&5
3759
 
  (eval echo "\"\$as_me:3759: output\"" >&5)
 
3970
  (eval echo "\"\$as_me:3970: output\"" >&5)
3760
3971
  cat conftest.out >&5
3761
3972
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3762
3973
    lt_cv_nm_interface="MS dumpbin"
3763
3974
  fi
3764
3975
  rm -f conftest*
3765
3976
fi
3766
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
3977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
3767
3978
$as_echo "$lt_cv_nm_interface" >&6; }
3768
3979
 
3769
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
3980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3770
3981
$as_echo_n "checking whether ln -s works... " >&6; }
3771
3982
LN_S=$as_ln_s
3772
3983
if test "$LN_S" = "ln -s"; then
3773
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3774
3985
$as_echo "yes" >&6; }
3775
3986
else
3776
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
3987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3777
3988
$as_echo "no, using $LN_S" >&6; }
3778
3989
fi
3779
3990
 
3780
3991
# find the maximum length of command line arguments
3781
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
3992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
3782
3993
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
3783
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
3994
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
3784
3995
  $as_echo_n "(cached) " >&6
3785
3996
else
3786
3997
    i=0
3898
4109
fi
3899
4110
 
3900
4111
if test -n $lt_cv_sys_max_cmd_len ; then
3901
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4112
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
3902
4113
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3903
4114
else
3904
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
3905
4116
$as_echo "none" >&6; }
3906
4117
fi
3907
4118
max_cmd_len=$lt_cv_sys_max_cmd_len
3915
4126
: ${MV="mv -f"}
3916
4127
: ${RM="rm -f"}
3917
4128
 
3918
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
3919
4130
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3920
4131
# Try some XSI features
3921
4132
xsi_shell=no
3925
4136
    && eval 'test $(( 1 + 1 )) -eq 2 \
3926
4137
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3927
4138
  && xsi_shell=yes
3928
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
3929
4140
$as_echo "$xsi_shell" >&6; }
3930
4141
 
3931
4142
 
3932
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
3933
4144
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
3934
4145
lt_shell_append=no
3935
4146
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
3936
4147
    >/dev/null 2>&1 \
3937
4148
  && lt_shell_append=yes
3938
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
3939
4150
$as_echo "$lt_shell_append" >&6; }
3940
4151
 
3941
4152
 
3970
4181
 
3971
4182
 
3972
4183
 
3973
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
3974
4185
$as_echo_n "checking for $LD option to reload object files... " >&6; }
3975
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4186
if test "${lt_cv_ld_reload_flag+set}" = set; then :
3976
4187
  $as_echo_n "(cached) " >&6
3977
4188
else
3978
4189
  lt_cv_ld_reload_flag='-r'
3979
4190
fi
3980
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
3981
4192
$as_echo "$lt_cv_ld_reload_flag" >&6; }
3982
4193
reload_flag=$lt_cv_ld_reload_flag
3983
4194
case $reload_flag in
4006
4217
if test -n "$ac_tool_prefix"; then
4007
4218
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4008
4219
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4009
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010
4221
$as_echo_n "checking for $ac_word... " >&6; }
4011
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4222
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4012
4223
  $as_echo_n "(cached) " >&6
4013
4224
else
4014
4225
  if test -n "$OBJDUMP"; then
4019
4230
do
4020
4231
  IFS=$as_save_IFS
4021
4232
  test -z "$as_dir" && as_dir=.
4022
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4233
    for ac_exec_ext in '' $ac_executable_extensions; do
4023
4234
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024
4235
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4025
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4236
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026
4237
    break 2
4027
4238
  fi
4028
4239
done
4029
 
done
 
4240
  done
4030
4241
IFS=$as_save_IFS
4031
4242
 
4032
4243
fi
4033
4244
fi
4034
4245
OBJDUMP=$ac_cv_prog_OBJDUMP
4035
4246
if test -n "$OBJDUMP"; then
4036
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4037
4248
$as_echo "$OBJDUMP" >&6; }
4038
4249
else
4039
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040
4251
$as_echo "no" >&6; }
4041
4252
fi
4042
4253
 
4046
4257
  ac_ct_OBJDUMP=$OBJDUMP
4047
4258
  # Extract the first word of "objdump", so it can be a program name with args.
4048
4259
set dummy objdump; ac_word=$2
4049
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050
4261
$as_echo_n "checking for $ac_word... " >&6; }
4051
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4262
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4052
4263
  $as_echo_n "(cached) " >&6
4053
4264
else
4054
4265
  if test -n "$ac_ct_OBJDUMP"; then
4059
4270
do
4060
4271
  IFS=$as_save_IFS
4061
4272
  test -z "$as_dir" && as_dir=.
4062
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4273
    for ac_exec_ext in '' $ac_executable_extensions; do
4063
4274
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4064
4275
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4065
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4276
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066
4277
    break 2
4067
4278
  fi
4068
4279
done
4069
 
done
 
4280
  done
4070
4281
IFS=$as_save_IFS
4071
4282
 
4072
4283
fi
4073
4284
fi
4074
4285
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4075
4286
if test -n "$ac_ct_OBJDUMP"; then
4076
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4077
4288
$as_echo "$ac_ct_OBJDUMP" >&6; }
4078
4289
else
4079
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080
4291
$as_echo "no" >&6; }
4081
4292
fi
4082
4293
 
4085
4296
  else
4086
4297
    case $cross_compiling:$ac_tool_warned in
4087
4298
yes:)
4088
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4299
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4089
4300
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4090
4301
ac_tool_warned=yes ;;
4091
4302
esac
4105
4316
 
4106
4317
 
4107
4318
 
4108
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4109
4320
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4110
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
4321
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4111
4322
  $as_echo_n "(cached) " >&6
4112
4323
else
4113
4324
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4301
4512
esac
4302
4513
 
4303
4514
fi
4304
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4305
4516
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4306
4517
file_magic_cmd=$lt_cv_file_magic_cmd
4307
4518
deplibs_check_method=$lt_cv_deplibs_check_method
4321
4532
if test -n "$ac_tool_prefix"; then
4322
4533
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4323
4534
set dummy ${ac_tool_prefix}ar; ac_word=$2
4324
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325
4536
$as_echo_n "checking for $ac_word... " >&6; }
4326
 
if test "${ac_cv_prog_AR+set}" = set; then
 
4537
if test "${ac_cv_prog_AR+set}" = set; then :
4327
4538
  $as_echo_n "(cached) " >&6
4328
4539
else
4329
4540
  if test -n "$AR"; then
4334
4545
do
4335
4546
  IFS=$as_save_IFS
4336
4547
  test -z "$as_dir" && as_dir=.
4337
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4548
    for ac_exec_ext in '' $ac_executable_extensions; do
4338
4549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4339
4550
    ac_cv_prog_AR="${ac_tool_prefix}ar"
4340
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4551
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4341
4552
    break 2
4342
4553
  fi
4343
4554
done
4344
 
done
 
4555
  done
4345
4556
IFS=$as_save_IFS
4346
4557
 
4347
4558
fi
4348
4559
fi
4349
4560
AR=$ac_cv_prog_AR
4350
4561
if test -n "$AR"; then
4351
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
4562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4352
4563
$as_echo "$AR" >&6; }
4353
4564
else
4354
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4355
4566
$as_echo "no" >&6; }
4356
4567
fi
4357
4568
 
4361
4572
  ac_ct_AR=$AR
4362
4573
  # Extract the first word of "ar", so it can be a program name with args.
4363
4574
set dummy ar; ac_word=$2
4364
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365
4576
$as_echo_n "checking for $ac_word... " >&6; }
4366
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
4577
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4367
4578
  $as_echo_n "(cached) " >&6
4368
4579
else
4369
4580
  if test -n "$ac_ct_AR"; then
4374
4585
do
4375
4586
  IFS=$as_save_IFS
4376
4587
  test -z "$as_dir" && as_dir=.
4377
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4588
    for ac_exec_ext in '' $ac_executable_extensions; do
4378
4589
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379
4590
    ac_cv_prog_ac_ct_AR="ar"
4380
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4591
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381
4592
    break 2
4382
4593
  fi
4383
4594
done
4384
 
done
 
4595
  done
4385
4596
IFS=$as_save_IFS
4386
4597
 
4387
4598
fi
4388
4599
fi
4389
4600
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4390
4601
if test -n "$ac_ct_AR"; then
4391
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
4602
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4392
4603
$as_echo "$ac_ct_AR" >&6; }
4393
4604
else
4394
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395
4606
$as_echo "no" >&6; }
4396
4607
fi
4397
4608
 
4400
4611
  else
4401
4612
    case $cross_compiling:$ac_tool_warned in
4402
4613
yes:)
4403
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4404
4615
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4405
4616
ac_tool_warned=yes ;;
4406
4617
esac
4426
4637
if test -n "$ac_tool_prefix"; then
4427
4638
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4428
4639
set dummy ${ac_tool_prefix}strip; ac_word=$2
4429
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430
4641
$as_echo_n "checking for $ac_word... " >&6; }
4431
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
4642
if test "${ac_cv_prog_STRIP+set}" = set; then :
4432
4643
  $as_echo_n "(cached) " >&6
4433
4644
else
4434
4645
  if test -n "$STRIP"; then
4439
4650
do
4440
4651
  IFS=$as_save_IFS
4441
4652
  test -z "$as_dir" && as_dir=.
4442
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4653
    for ac_exec_ext in '' $ac_executable_extensions; do
4443
4654
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4444
4655
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4445
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4656
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446
4657
    break 2
4447
4658
  fi
4448
4659
done
4449
 
done
 
4660
  done
4450
4661
IFS=$as_save_IFS
4451
4662
 
4452
4663
fi
4453
4664
fi
4454
4665
STRIP=$ac_cv_prog_STRIP
4455
4666
if test -n "$STRIP"; then
4456
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
4667
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4457
4668
$as_echo "$STRIP" >&6; }
4458
4669
else
4459
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460
4671
$as_echo "no" >&6; }
4461
4672
fi
4462
4673
 
4466
4677
  ac_ct_STRIP=$STRIP
4467
4678
  # Extract the first word of "strip", so it can be a program name with args.
4468
4679
set dummy strip; ac_word=$2
4469
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470
4681
$as_echo_n "checking for $ac_word... " >&6; }
4471
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
4682
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4472
4683
  $as_echo_n "(cached) " >&6
4473
4684
else
4474
4685
  if test -n "$ac_ct_STRIP"; then
4479
4690
do
4480
4691
  IFS=$as_save_IFS
4481
4692
  test -z "$as_dir" && as_dir=.
4482
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4693
    for ac_exec_ext in '' $ac_executable_extensions; do
4483
4694
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4484
4695
    ac_cv_prog_ac_ct_STRIP="strip"
4485
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4696
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486
4697
    break 2
4487
4698
  fi
4488
4699
done
4489
 
done
 
4700
  done
4490
4701
IFS=$as_save_IFS
4491
4702
 
4492
4703
fi
4493
4704
fi
4494
4705
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4495
4706
if test -n "$ac_ct_STRIP"; then
4496
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
4707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4497
4708
$as_echo "$ac_ct_STRIP" >&6; }
4498
4709
else
4499
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500
4711
$as_echo "no" >&6; }
4501
4712
fi
4502
4713
 
4505
4716
  else
4506
4717
    case $cross_compiling:$ac_tool_warned in
4507
4718
yes:)
4508
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4719
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4509
4720
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4510
4721
ac_tool_warned=yes ;;
4511
4722
esac
4525
4736
if test -n "$ac_tool_prefix"; then
4526
4737
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4527
4738
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4528
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4529
4740
$as_echo_n "checking for $ac_word... " >&6; }
4530
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
4741
if test "${ac_cv_prog_RANLIB+set}" = set; then :
4531
4742
  $as_echo_n "(cached) " >&6
4532
4743
else
4533
4744
  if test -n "$RANLIB"; then
4538
4749
do
4539
4750
  IFS=$as_save_IFS
4540
4751
  test -z "$as_dir" && as_dir=.
4541
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4752
    for ac_exec_ext in '' $ac_executable_extensions; do
4542
4753
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4543
4754
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4544
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4755
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545
4756
    break 2
4546
4757
  fi
4547
4758
done
4548
 
done
 
4759
  done
4549
4760
IFS=$as_save_IFS
4550
4761
 
4551
4762
fi
4552
4763
fi
4553
4764
RANLIB=$ac_cv_prog_RANLIB
4554
4765
if test -n "$RANLIB"; then
4555
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
4766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4556
4767
$as_echo "$RANLIB" >&6; }
4557
4768
else
4558
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4559
4770
$as_echo "no" >&6; }
4560
4771
fi
4561
4772
 
4565
4776
  ac_ct_RANLIB=$RANLIB
4566
4777
  # Extract the first word of "ranlib", so it can be a program name with args.
4567
4778
set dummy ranlib; ac_word=$2
4568
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569
4780
$as_echo_n "checking for $ac_word... " >&6; }
4570
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
4781
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4571
4782
  $as_echo_n "(cached) " >&6
4572
4783
else
4573
4784
  if test -n "$ac_ct_RANLIB"; then
4578
4789
do
4579
4790
  IFS=$as_save_IFS
4580
4791
  test -z "$as_dir" && as_dir=.
4581
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4792
    for ac_exec_ext in '' $ac_executable_extensions; do
4582
4793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583
4794
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4584
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4795
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585
4796
    break 2
4586
4797
  fi
4587
4798
done
4588
 
done
 
4799
  done
4589
4800
IFS=$as_save_IFS
4590
4801
 
4591
4802
fi
4592
4803
fi
4593
4804
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4594
4805
if test -n "$ac_ct_RANLIB"; then
4595
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
4806
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4596
4807
$as_echo "$ac_ct_RANLIB" >&6; }
4597
4808
else
4598
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599
4810
$as_echo "no" >&6; }
4600
4811
fi
4601
4812
 
4604
4815
  else
4605
4816
    case $cross_compiling:$ac_tool_warned in
4606
4817
yes:)
4607
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4608
4819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4609
4820
ac_tool_warned=yes ;;
4610
4821
esac
4682
4893
 
4683
4894
 
4684
4895
# Check for command to grab the raw symbol name followed by C symbol from nm.
4685
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
4896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4686
4897
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4687
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
4898
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4688
4899
  $as_echo_n "(cached) " >&6
4689
4900
else
4690
4901
 
4800
5011
int main(){nm_test_var='a';nm_test_func();return(0);}
4801
5012
_LT_EOF
4802
5013
 
4803
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5014
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4804
5015
  (eval $ac_compile) 2>&5
4805
5016
  ac_status=$?
4806
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807
 
  (exit $ac_status); }; then
 
5017
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5018
  test $ac_status = 0; }; then
4808
5019
    # Now try to grab the symbols.
4809
5020
    nlist=conftest.nm
4810
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
5021
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
4811
5022
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4812
5023
  ac_status=$?
4813
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814
 
  (exit $ac_status); } && test -s "$nlist"; then
 
5024
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5025
  test $ac_status = 0; } && test -s "$nlist"; then
4815
5026
      # Try sorting and uniquifying the output.
4816
5027
      if sort "$nlist" | uniq > "$nlist"T; then
4817
5028
        mv -f "$nlist"T "$nlist"
4864
5075
          lt_save_CFLAGS="$CFLAGS"
4865
5076
          LIBS="conftstm.$ac_objext"
4866
5077
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4867
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5078
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4868
5079
  (eval $ac_link) 2>&5
4869
5080
  ac_status=$?
4870
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
5081
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5082
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
4872
5083
            pipe_works=yes
4873
5084
          fi
4874
5085
          LIBS="$lt_save_LIBS"
4902
5113
  lt_cv_sys_global_symbol_to_cdecl=
4903
5114
fi
4904
5115
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4905
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5116
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
4906
5117
$as_echo "failed" >&6; }
4907
5118
else
4908
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5119
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4909
5120
$as_echo "ok" >&6; }
4910
5121
fi
4911
5122
 
4932
5143
 
4933
5144
 
4934
5145
# Check whether --enable-libtool-lock was given.
4935
 
if test "${enable_libtool_lock+set}" = set; then
 
5146
if test "${enable_libtool_lock+set}" = set; then :
4936
5147
  enableval=$enable_libtool_lock;
4937
5148
fi
4938
5149
 
4944
5155
ia64-*-hpux*)
4945
5156
  # Find out which ABI we are using.
4946
5157
  echo 'int i;' > conftest.$ac_ext
4947
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5158
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4948
5159
  (eval $ac_compile) 2>&5
4949
5160
  ac_status=$?
4950
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951
 
  (exit $ac_status); }; then
 
5161
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5162
  test $ac_status = 0; }; then
4952
5163
    case `/usr/bin/file conftest.$ac_objext` in
4953
5164
      *ELF-32*)
4954
5165
        HPUX_IA64_MODE="32"
4962
5173
  ;;
4963
5174
*-*-irix6*)
4964
5175
  # Find out which ABI we are using.
4965
 
  echo '#line 4965 "configure"' > conftest.$ac_ext
4966
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5176
  echo '#line 5176 "configure"' > conftest.$ac_ext
 
5177
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
4967
5178
  (eval $ac_compile) 2>&5
4968
5179
  ac_status=$?
4969
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970
 
  (exit $ac_status); }; then
 
5180
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5181
  test $ac_status = 0; }; then
4971
5182
    if test "$lt_cv_prog_gnu_ld" = yes; then
4972
5183
      case `/usr/bin/file conftest.$ac_objext` in
4973
5184
        *32-bit*)
5001
5212
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5002
5213
  # Find out which ABI we are using.
5003
5214
  echo 'int i;' > conftest.$ac_ext
5004
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5215
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5005
5216
  (eval $ac_compile) 2>&5
5006
5217
  ac_status=$?
5007
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008
 
  (exit $ac_status); }; then
 
5218
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5219
  test $ac_status = 0; }; then
5009
5220
    case `/usr/bin/file conftest.o` in
5010
5221
      *32-bit*)
5011
5222
        case $host in
5054
5265
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5055
5266
  SAVE_CFLAGS="$CFLAGS"
5056
5267
  CFLAGS="$CFLAGS -belf"
5057
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
5268
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5058
5269
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5059
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
5270
if test "${lt_cv_cc_needs_belf+set}" = set; then :
5060
5271
  $as_echo_n "(cached) " >&6
5061
5272
else
5062
5273
  ac_ext=c
5065
5276
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066
5277
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067
5278
 
5068
 
     cat >conftest.$ac_ext <<_ACEOF
5069
 
/* confdefs.h.  */
5070
 
_ACEOF
5071
 
cat confdefs.h >>conftest.$ac_ext
5072
 
cat >>conftest.$ac_ext <<_ACEOF
 
5279
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073
5280
/* end confdefs.h.  */
5074
5281
 
5075
5282
int
5080
5287
  return 0;
5081
5288
}
5082
5289
_ACEOF
5083
 
rm -f conftest.$ac_objext conftest$ac_exeext
5084
 
if { (ac_try="$ac_link"
5085
 
case "(($ac_try" in
5086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5087
 
  *) ac_try_echo=$ac_try;;
5088
 
esac
5089
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5090
 
$as_echo "$ac_try_echo") >&5
5091
 
  (eval "$ac_link") 2>conftest.er1
5092
 
  ac_status=$?
5093
 
  grep -v '^ *+' conftest.er1 >conftest.err
5094
 
  rm -f conftest.er1
5095
 
  cat conftest.err >&5
5096
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097
 
  (exit $ac_status); } && {
5098
 
         test -z "$ac_c_werror_flag" ||
5099
 
         test ! -s conftest.err
5100
 
       } && test -s conftest$ac_exeext && {
5101
 
         test "$cross_compiling" = yes ||
5102
 
         $as_test_x conftest$ac_exeext
5103
 
       }; then
 
5290
if ac_fn_c_try_link "$LINENO"; then :
5104
5291
  lt_cv_cc_needs_belf=yes
5105
5292
else
5106
 
  $as_echo "$as_me: failed program was:" >&5
5107
 
sed 's/^/| /' conftest.$ac_ext >&5
5108
 
 
5109
 
        lt_cv_cc_needs_belf=no
 
5293
  lt_cv_cc_needs_belf=no
5110
5294
fi
5111
 
 
5112
 
rm -rf conftest.dSYM
5113
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5114
 
      conftest$ac_exeext conftest.$ac_ext
 
5295
rm -f core conftest.err conftest.$ac_objext \
 
5296
    conftest$ac_exeext conftest.$ac_ext
5115
5297
     ac_ext=c
5116
5298
ac_cpp='$CPP $CPPFLAGS'
5117
5299
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5119
5301
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5120
5302
 
5121
5303
fi
5122
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
5304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5123
5305
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5124
5306
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5125
5307
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5129
5311
sparc*-*solaris*)
5130
5312
  # Find out which ABI we are using.
5131
5313
  echo 'int i;' > conftest.$ac_ext
5132
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5314
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5133
5315
  (eval $ac_compile) 2>&5
5134
5316
  ac_status=$?
5135
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136
 
  (exit $ac_status); }; then
 
5317
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5318
  test $ac_status = 0; }; then
5137
5319
    case `/usr/bin/file conftest.o` in
5138
5320
    *64-bit*)
5139
5321
      case $lt_cv_prog_gnu_ld in
5159
5341
    if test -n "$ac_tool_prefix"; then
5160
5342
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5161
5343
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5162
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163
5345
$as_echo_n "checking for $ac_word... " >&6; }
5164
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
5346
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5165
5347
  $as_echo_n "(cached) " >&6
5166
5348
else
5167
5349
  if test -n "$DSYMUTIL"; then
5172
5354
do
5173
5355
  IFS=$as_save_IFS
5174
5356
  test -z "$as_dir" && as_dir=.
5175
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5357
    for ac_exec_ext in '' $ac_executable_extensions; do
5176
5358
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177
5359
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5178
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5360
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179
5361
    break 2
5180
5362
  fi
5181
5363
done
5182
 
done
 
5364
  done
5183
5365
IFS=$as_save_IFS
5184
5366
 
5185
5367
fi
5186
5368
fi
5187
5369
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5188
5370
if test -n "$DSYMUTIL"; then
5189
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
5371
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5190
5372
$as_echo "$DSYMUTIL" >&6; }
5191
5373
else
5192
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193
5375
$as_echo "no" >&6; }
5194
5376
fi
5195
5377
 
5199
5381
  ac_ct_DSYMUTIL=$DSYMUTIL
5200
5382
  # Extract the first word of "dsymutil", so it can be a program name with args.
5201
5383
set dummy dsymutil; ac_word=$2
5202
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5203
5385
$as_echo_n "checking for $ac_word... " >&6; }
5204
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
5386
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5205
5387
  $as_echo_n "(cached) " >&6
5206
5388
else
5207
5389
  if test -n "$ac_ct_DSYMUTIL"; then
5212
5394
do
5213
5395
  IFS=$as_save_IFS
5214
5396
  test -z "$as_dir" && as_dir=.
5215
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5397
    for ac_exec_ext in '' $ac_executable_extensions; do
5216
5398
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217
5399
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5218
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5400
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5219
5401
    break 2
5220
5402
  fi
5221
5403
done
5222
 
done
 
5404
  done
5223
5405
IFS=$as_save_IFS
5224
5406
 
5225
5407
fi
5226
5408
fi
5227
5409
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5228
5410
if test -n "$ac_ct_DSYMUTIL"; then
5229
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
5411
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5230
5412
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5231
5413
else
5232
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233
5415
$as_echo "no" >&6; }
5234
5416
fi
5235
5417
 
5238
5420
  else
5239
5421
    case $cross_compiling:$ac_tool_warned in
5240
5422
yes:)
5241
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5423
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5242
5424
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5243
5425
ac_tool_warned=yes ;;
5244
5426
esac
5251
5433
    if test -n "$ac_tool_prefix"; then
5252
5434
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5253
5435
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5254
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255
5437
$as_echo_n "checking for $ac_word... " >&6; }
5256
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
5438
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5257
5439
  $as_echo_n "(cached) " >&6
5258
5440
else
5259
5441
  if test -n "$NMEDIT"; then
5264
5446
do
5265
5447
  IFS=$as_save_IFS
5266
5448
  test -z "$as_dir" && as_dir=.
5267
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5449
    for ac_exec_ext in '' $ac_executable_extensions; do
5268
5450
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5269
5451
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5270
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5452
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271
5453
    break 2
5272
5454
  fi
5273
5455
done
5274
 
done
 
5456
  done
5275
5457
IFS=$as_save_IFS
5276
5458
 
5277
5459
fi
5278
5460
fi
5279
5461
NMEDIT=$ac_cv_prog_NMEDIT
5280
5462
if test -n "$NMEDIT"; then
5281
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
5463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5282
5464
$as_echo "$NMEDIT" >&6; }
5283
5465
else
5284
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285
5467
$as_echo "no" >&6; }
5286
5468
fi
5287
5469
 
5291
5473
  ac_ct_NMEDIT=$NMEDIT
5292
5474
  # Extract the first word of "nmedit", so it can be a program name with args.
5293
5475
set dummy nmedit; ac_word=$2
5294
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295
5477
$as_echo_n "checking for $ac_word... " >&6; }
5296
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
5478
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5297
5479
  $as_echo_n "(cached) " >&6
5298
5480
else
5299
5481
  if test -n "$ac_ct_NMEDIT"; then
5304
5486
do
5305
5487
  IFS=$as_save_IFS
5306
5488
  test -z "$as_dir" && as_dir=.
5307
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5489
    for ac_exec_ext in '' $ac_executable_extensions; do
5308
5490
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309
5491
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
5310
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5492
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5311
5493
    break 2
5312
5494
  fi
5313
5495
done
5314
 
done
 
5496
  done
5315
5497
IFS=$as_save_IFS
5316
5498
 
5317
5499
fi
5318
5500
fi
5319
5501
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5320
5502
if test -n "$ac_ct_NMEDIT"; then
5321
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
5503
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5322
5504
$as_echo "$ac_ct_NMEDIT" >&6; }
5323
5505
else
5324
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325
5507
$as_echo "no" >&6; }
5326
5508
fi
5327
5509
 
5330
5512
  else
5331
5513
    case $cross_compiling:$ac_tool_warned in
5332
5514
yes:)
5333
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5515
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5334
5516
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5335
5517
ac_tool_warned=yes ;;
5336
5518
esac
5343
5525
    if test -n "$ac_tool_prefix"; then
5344
5526
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5345
5527
set dummy ${ac_tool_prefix}lipo; ac_word=$2
5346
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5347
5529
$as_echo_n "checking for $ac_word... " >&6; }
5348
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
5530
if test "${ac_cv_prog_LIPO+set}" = set; then :
5349
5531
  $as_echo_n "(cached) " >&6
5350
5532
else
5351
5533
  if test -n "$LIPO"; then
5356
5538
do
5357
5539
  IFS=$as_save_IFS
5358
5540
  test -z "$as_dir" && as_dir=.
5359
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5541
    for ac_exec_ext in '' $ac_executable_extensions; do
5360
5542
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5361
5543
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5362
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5544
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363
5545
    break 2
5364
5546
  fi
5365
5547
done
5366
 
done
 
5548
  done
5367
5549
IFS=$as_save_IFS
5368
5550
 
5369
5551
fi
5370
5552
fi
5371
5553
LIPO=$ac_cv_prog_LIPO
5372
5554
if test -n "$LIPO"; then
5373
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
5555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5374
5556
$as_echo "$LIPO" >&6; }
5375
5557
else
5376
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377
5559
$as_echo "no" >&6; }
5378
5560
fi
5379
5561
 
5383
5565
  ac_ct_LIPO=$LIPO
5384
5566
  # Extract the first word of "lipo", so it can be a program name with args.
5385
5567
set dummy lipo; ac_word=$2
5386
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387
5569
$as_echo_n "checking for $ac_word... " >&6; }
5388
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
5570
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5389
5571
  $as_echo_n "(cached) " >&6
5390
5572
else
5391
5573
  if test -n "$ac_ct_LIPO"; then
5396
5578
do
5397
5579
  IFS=$as_save_IFS
5398
5580
  test -z "$as_dir" && as_dir=.
5399
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5581
    for ac_exec_ext in '' $ac_executable_extensions; do
5400
5582
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5401
5583
    ac_cv_prog_ac_ct_LIPO="lipo"
5402
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5584
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5403
5585
    break 2
5404
5586
  fi
5405
5587
done
5406
 
done
 
5588
  done
5407
5589
IFS=$as_save_IFS
5408
5590
 
5409
5591
fi
5410
5592
fi
5411
5593
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5412
5594
if test -n "$ac_ct_LIPO"; then
5413
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
5595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5414
5596
$as_echo "$ac_ct_LIPO" >&6; }
5415
5597
else
5416
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417
5599
$as_echo "no" >&6; }
5418
5600
fi
5419
5601
 
5422
5604
  else
5423
5605
    case $cross_compiling:$ac_tool_warned in
5424
5606
yes:)
5425
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5607
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5426
5608
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5427
5609
ac_tool_warned=yes ;;
5428
5610
esac
5435
5617
    if test -n "$ac_tool_prefix"; then
5436
5618
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5437
5619
set dummy ${ac_tool_prefix}otool; ac_word=$2
5438
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439
5621
$as_echo_n "checking for $ac_word... " >&6; }
5440
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
5622
if test "${ac_cv_prog_OTOOL+set}" = set; then :
5441
5623
  $as_echo_n "(cached) " >&6
5442
5624
else
5443
5625
  if test -n "$OTOOL"; then
5448
5630
do
5449
5631
  IFS=$as_save_IFS
5450
5632
  test -z "$as_dir" && as_dir=.
5451
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5633
    for ac_exec_ext in '' $ac_executable_extensions; do
5452
5634
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5453
5635
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5454
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5636
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455
5637
    break 2
5456
5638
  fi
5457
5639
done
5458
 
done
 
5640
  done
5459
5641
IFS=$as_save_IFS
5460
5642
 
5461
5643
fi
5462
5644
fi
5463
5645
OTOOL=$ac_cv_prog_OTOOL
5464
5646
if test -n "$OTOOL"; then
5465
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
5647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5466
5648
$as_echo "$OTOOL" >&6; }
5467
5649
else
5468
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5650
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469
5651
$as_echo "no" >&6; }
5470
5652
fi
5471
5653
 
5475
5657
  ac_ct_OTOOL=$OTOOL
5476
5658
  # Extract the first word of "otool", so it can be a program name with args.
5477
5659
set dummy otool; ac_word=$2
5478
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479
5661
$as_echo_n "checking for $ac_word... " >&6; }
5480
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
5662
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5481
5663
  $as_echo_n "(cached) " >&6
5482
5664
else
5483
5665
  if test -n "$ac_ct_OTOOL"; then
5488
5670
do
5489
5671
  IFS=$as_save_IFS
5490
5672
  test -z "$as_dir" && as_dir=.
5491
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5673
    for ac_exec_ext in '' $ac_executable_extensions; do
5492
5674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5493
5675
    ac_cv_prog_ac_ct_OTOOL="otool"
5494
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5676
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495
5677
    break 2
5496
5678
  fi
5497
5679
done
5498
 
done
 
5680
  done
5499
5681
IFS=$as_save_IFS
5500
5682
 
5501
5683
fi
5502
5684
fi
5503
5685
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5504
5686
if test -n "$ac_ct_OTOOL"; then
5505
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
5687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5506
5688
$as_echo "$ac_ct_OTOOL" >&6; }
5507
5689
else
5508
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509
5691
$as_echo "no" >&6; }
5510
5692
fi
5511
5693
 
5514
5696
  else
5515
5697
    case $cross_compiling:$ac_tool_warned in
5516
5698
yes:)
5517
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5518
5700
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5519
5701
ac_tool_warned=yes ;;
5520
5702
esac
5527
5709
    if test -n "$ac_tool_prefix"; then
5528
5710
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5529
5711
set dummy ${ac_tool_prefix}otool64; ac_word=$2
5530
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531
5713
$as_echo_n "checking for $ac_word... " >&6; }
5532
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
5714
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5533
5715
  $as_echo_n "(cached) " >&6
5534
5716
else
5535
5717
  if test -n "$OTOOL64"; then
5540
5722
do
5541
5723
  IFS=$as_save_IFS
5542
5724
  test -z "$as_dir" && as_dir=.
5543
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5725
    for ac_exec_ext in '' $ac_executable_extensions; do
5544
5726
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545
5727
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
5546
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5728
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547
5729
    break 2
5548
5730
  fi
5549
5731
done
5550
 
done
 
5732
  done
5551
5733
IFS=$as_save_IFS
5552
5734
 
5553
5735
fi
5554
5736
fi
5555
5737
OTOOL64=$ac_cv_prog_OTOOL64
5556
5738
if test -n "$OTOOL64"; then
5557
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
5739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5558
5740
$as_echo "$OTOOL64" >&6; }
5559
5741
else
5560
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5742
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561
5743
$as_echo "no" >&6; }
5562
5744
fi
5563
5745
 
5567
5749
  ac_ct_OTOOL64=$OTOOL64
5568
5750
  # Extract the first word of "otool64", so it can be a program name with args.
5569
5751
set dummy otool64; ac_word=$2
5570
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571
5753
$as_echo_n "checking for $ac_word... " >&6; }
5572
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
5754
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5573
5755
  $as_echo_n "(cached) " >&6
5574
5756
else
5575
5757
  if test -n "$ac_ct_OTOOL64"; then
5580
5762
do
5581
5763
  IFS=$as_save_IFS
5582
5764
  test -z "$as_dir" && as_dir=.
5583
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5765
    for ac_exec_ext in '' $ac_executable_extensions; do
5584
5766
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585
5767
    ac_cv_prog_ac_ct_OTOOL64="otool64"
5586
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5768
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587
5769
    break 2
5588
5770
  fi
5589
5771
done
5590
 
done
 
5772
  done
5591
5773
IFS=$as_save_IFS
5592
5774
 
5593
5775
fi
5594
5776
fi
5595
5777
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5596
5778
if test -n "$ac_ct_OTOOL64"; then
5597
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
5779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5598
5780
$as_echo "$ac_ct_OTOOL64" >&6; }
5599
5781
else
5600
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601
5783
$as_echo "no" >&6; }
5602
5784
fi
5603
5785
 
5606
5788
  else
5607
5789
    case $cross_compiling:$ac_tool_warned in
5608
5790
yes:)
5609
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5610
5792
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5611
5793
ac_tool_warned=yes ;;
5612
5794
esac
5642
5824
 
5643
5825
 
5644
5826
 
5645
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
5827
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5646
5828
$as_echo_n "checking for -single_module linker flag... " >&6; }
5647
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
5829
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5648
5830
  $as_echo_n "(cached) " >&6
5649
5831
else
5650
5832
  lt_cv_apple_cc_single_mod=no
5669
5851
        rm -f conftest.*
5670
5852
      fi
5671
5853
fi
5672
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5673
5855
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5674
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
5856
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5675
5857
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5676
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
5858
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5677
5859
  $as_echo_n "(cached) " >&6
5678
5860
else
5679
5861
  lt_cv_ld_exported_symbols_list=no
5680
5862
      save_LDFLAGS=$LDFLAGS
5681
5863
      echo "_main" > conftest.sym
5682
5864
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5683
 
      cat >conftest.$ac_ext <<_ACEOF
5684
 
/* confdefs.h.  */
5685
 
_ACEOF
5686
 
cat confdefs.h >>conftest.$ac_ext
5687
 
cat >>conftest.$ac_ext <<_ACEOF
 
5865
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688
5866
/* end confdefs.h.  */
5689
5867
 
5690
5868
int
5695
5873
  return 0;
5696
5874
}
5697
5875
_ACEOF
5698
 
rm -f conftest.$ac_objext conftest$ac_exeext
5699
 
if { (ac_try="$ac_link"
5700
 
case "(($ac_try" in
5701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702
 
  *) ac_try_echo=$ac_try;;
5703
 
esac
5704
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5705
 
$as_echo "$ac_try_echo") >&5
5706
 
  (eval "$ac_link") 2>conftest.er1
5707
 
  ac_status=$?
5708
 
  grep -v '^ *+' conftest.er1 >conftest.err
5709
 
  rm -f conftest.er1
5710
 
  cat conftest.err >&5
5711
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712
 
  (exit $ac_status); } && {
5713
 
         test -z "$ac_c_werror_flag" ||
5714
 
         test ! -s conftest.err
5715
 
       } && test -s conftest$ac_exeext && {
5716
 
         test "$cross_compiling" = yes ||
5717
 
         $as_test_x conftest$ac_exeext
5718
 
       }; then
 
5876
if ac_fn_c_try_link "$LINENO"; then :
5719
5877
  lt_cv_ld_exported_symbols_list=yes
5720
5878
else
5721
 
  $as_echo "$as_me: failed program was:" >&5
5722
 
sed 's/^/| /' conftest.$ac_ext >&5
5723
 
 
5724
 
        lt_cv_ld_exported_symbols_list=no
 
5879
  lt_cv_ld_exported_symbols_list=no
5725
5880
fi
5726
 
 
5727
 
rm -rf conftest.dSYM
5728
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5729
 
      conftest$ac_exeext conftest.$ac_ext
 
5881
rm -f core conftest.err conftest.$ac_objext \
 
5882
    conftest$ac_exeext conftest.$ac_ext
5730
5883
        LDFLAGS="$save_LDFLAGS"
5731
5884
 
5732
5885
fi
5733
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
5886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5734
5887
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5735
5888
    case $host_os in
5736
5889
    rhapsody* | darwin1.[012])
5772
5925
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5773
5926
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5774
5927
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5775
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5776
5929
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5777
5930
# On Suns, sometimes $CPP names a directory.
5778
5931
if test -n "$CPP" && test -d "$CPP"; then
5779
5932
  CPP=
5780
5933
fi
5781
5934
if test -z "$CPP"; then
5782
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
5935
  if test "${ac_cv_prog_CPP+set}" = set; then :
5783
5936
  $as_echo_n "(cached) " >&6
5784
5937
else
5785
5938
      # Double quotes because CPP needs to be expanded
5794
5947
  # <limits.h> exists even on freestanding compilers.
5795
5948
  # On the NeXT, cc -E runs the code through the compiler's parser,
5796
5949
  # not just through cpp. "Syntax error" is here to catch this case.
5797
 
  cat >conftest.$ac_ext <<_ACEOF
5798
 
/* confdefs.h.  */
5799
 
_ACEOF
5800
 
cat confdefs.h >>conftest.$ac_ext
5801
 
cat >>conftest.$ac_ext <<_ACEOF
 
5950
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802
5951
/* end confdefs.h.  */
5803
5952
#ifdef __STDC__
5804
5953
# include <limits.h>
5807
5956
#endif
5808
5957
                     Syntax error
5809
5958
_ACEOF
5810
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5811
 
case "(($ac_try" in
5812
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5813
 
  *) ac_try_echo=$ac_try;;
5814
 
esac
5815
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5816
 
$as_echo "$ac_try_echo") >&5
5817
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5818
 
  ac_status=$?
5819
 
  grep -v '^ *+' conftest.er1 >conftest.err
5820
 
  rm -f conftest.er1
5821
 
  cat conftest.err >&5
5822
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823
 
  (exit $ac_status); } >/dev/null && {
5824
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5825
 
         test ! -s conftest.err
5826
 
       }; then
5827
 
  :
 
5959
if ac_fn_c_try_cpp "$LINENO"; then :
 
5960
 
5828
5961
else
5829
 
  $as_echo "$as_me: failed program was:" >&5
5830
 
sed 's/^/| /' conftest.$ac_ext >&5
5831
 
 
5832
5962
  # Broken: fails on valid input.
5833
5963
continue
5834
5964
fi
5835
 
 
5836
5965
rm -f conftest.err conftest.$ac_ext
5837
5966
 
5838
5967
  # OK, works on sane cases.  Now check whether nonexistent headers
5839
5968
  # can be detected and how.
5840
 
  cat >conftest.$ac_ext <<_ACEOF
5841
 
/* confdefs.h.  */
5842
 
_ACEOF
5843
 
cat confdefs.h >>conftest.$ac_ext
5844
 
cat >>conftest.$ac_ext <<_ACEOF
 
5969
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5845
5970
/* end confdefs.h.  */
5846
5971
#include <ac_nonexistent.h>
5847
5972
_ACEOF
5848
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5849
 
case "(($ac_try" in
5850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5851
 
  *) ac_try_echo=$ac_try;;
5852
 
esac
5853
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5854
 
$as_echo "$ac_try_echo") >&5
5855
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5856
 
  ac_status=$?
5857
 
  grep -v '^ *+' conftest.er1 >conftest.err
5858
 
  rm -f conftest.er1
5859
 
  cat conftest.err >&5
5860
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861
 
  (exit $ac_status); } >/dev/null && {
5862
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5863
 
         test ! -s conftest.err
5864
 
       }; then
 
5973
if ac_fn_c_try_cpp "$LINENO"; then :
5865
5974
  # Broken: success on invalid input.
5866
5975
continue
5867
5976
else
5868
 
  $as_echo "$as_me: failed program was:" >&5
5869
 
sed 's/^/| /' conftest.$ac_ext >&5
5870
 
 
5871
5977
  # Passes both tests.
5872
5978
ac_preproc_ok=:
5873
5979
break
5874
5980
fi
5875
 
 
5876
5981
rm -f conftest.err conftest.$ac_ext
5877
5982
 
5878
5983
done
5879
5984
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5880
5985
rm -f conftest.err conftest.$ac_ext
5881
 
if $ac_preproc_ok; then
 
5986
if $ac_preproc_ok; then :
5882
5987
  break
5883
5988
fi
5884
5989
 
5890
5995
else
5891
5996
  ac_cv_prog_CPP=$CPP
5892
5997
fi
5893
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5894
5999
$as_echo "$CPP" >&6; }
5895
6000
ac_preproc_ok=false
5896
6001
for ac_c_preproc_warn_flag in '' yes
5901
6006
  # <limits.h> exists even on freestanding compilers.
5902
6007
  # On the NeXT, cc -E runs the code through the compiler's parser,
5903
6008
  # not just through cpp. "Syntax error" is here to catch this case.
5904
 
  cat >conftest.$ac_ext <<_ACEOF
5905
 
/* confdefs.h.  */
5906
 
_ACEOF
5907
 
cat confdefs.h >>conftest.$ac_ext
5908
 
cat >>conftest.$ac_ext <<_ACEOF
 
6009
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5909
6010
/* end confdefs.h.  */
5910
6011
#ifdef __STDC__
5911
6012
# include <limits.h>
5914
6015
#endif
5915
6016
                     Syntax error
5916
6017
_ACEOF
5917
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5918
 
case "(($ac_try" in
5919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5920
 
  *) ac_try_echo=$ac_try;;
5921
 
esac
5922
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5923
 
$as_echo "$ac_try_echo") >&5
5924
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5925
 
  ac_status=$?
5926
 
  grep -v '^ *+' conftest.er1 >conftest.err
5927
 
  rm -f conftest.er1
5928
 
  cat conftest.err >&5
5929
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930
 
  (exit $ac_status); } >/dev/null && {
5931
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5932
 
         test ! -s conftest.err
5933
 
       }; then
5934
 
  :
 
6018
if ac_fn_c_try_cpp "$LINENO"; then :
 
6019
 
5935
6020
else
5936
 
  $as_echo "$as_me: failed program was:" >&5
5937
 
sed 's/^/| /' conftest.$ac_ext >&5
5938
 
 
5939
6021
  # Broken: fails on valid input.
5940
6022
continue
5941
6023
fi
5942
 
 
5943
6024
rm -f conftest.err conftest.$ac_ext
5944
6025
 
5945
6026
  # OK, works on sane cases.  Now check whether nonexistent headers
5946
6027
  # can be detected and how.
5947
 
  cat >conftest.$ac_ext <<_ACEOF
5948
 
/* confdefs.h.  */
5949
 
_ACEOF
5950
 
cat confdefs.h >>conftest.$ac_ext
5951
 
cat >>conftest.$ac_ext <<_ACEOF
 
6028
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5952
6029
/* end confdefs.h.  */
5953
6030
#include <ac_nonexistent.h>
5954
6031
_ACEOF
5955
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5956
 
case "(($ac_try" in
5957
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5958
 
  *) ac_try_echo=$ac_try;;
5959
 
esac
5960
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5961
 
$as_echo "$ac_try_echo") >&5
5962
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5963
 
  ac_status=$?
5964
 
  grep -v '^ *+' conftest.er1 >conftest.err
5965
 
  rm -f conftest.er1
5966
 
  cat conftest.err >&5
5967
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968
 
  (exit $ac_status); } >/dev/null && {
5969
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5970
 
         test ! -s conftest.err
5971
 
       }; then
 
6032
if ac_fn_c_try_cpp "$LINENO"; then :
5972
6033
  # Broken: success on invalid input.
5973
6034
continue
5974
6035
else
5975
 
  $as_echo "$as_me: failed program was:" >&5
5976
 
sed 's/^/| /' conftest.$ac_ext >&5
5977
 
 
5978
6036
  # Passes both tests.
5979
6037
ac_preproc_ok=:
5980
6038
break
5981
6039
fi
5982
 
 
5983
6040
rm -f conftest.err conftest.$ac_ext
5984
6041
 
5985
6042
done
5986
6043
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5987
6044
rm -f conftest.err conftest.$ac_ext
5988
 
if $ac_preproc_ok; then
5989
 
  :
 
6045
if $ac_preproc_ok; then :
 
6046
 
5990
6047
else
5991
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
6048
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5992
6049
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5993
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5994
 
See \`config.log' for more details." >&5
5995
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5996
 
See \`config.log' for more details." >&2;}
5997
 
   { (exit 1); exit 1; }; }; }
 
6050
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
6051
See \`config.log' for more details." "$LINENO" 5; }
5998
6052
fi
5999
6053
 
6000
6054
ac_ext=c
6004
6058
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6005
6059
 
6006
6060
 
6007
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6008
6062
$as_echo_n "checking for ANSI C header files... " >&6; }
6009
 
if test "${ac_cv_header_stdc+set}" = set; then
 
6063
if test "${ac_cv_header_stdc+set}" = set; then :
6010
6064
  $as_echo_n "(cached) " >&6
6011
6065
else
6012
 
  cat >conftest.$ac_ext <<_ACEOF
6013
 
/* confdefs.h.  */
6014
 
_ACEOF
6015
 
cat confdefs.h >>conftest.$ac_ext
6016
 
cat >>conftest.$ac_ext <<_ACEOF
 
6066
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017
6067
/* end confdefs.h.  */
6018
6068
#include <stdlib.h>
6019
6069
#include <stdarg.h>
6028
6078
  return 0;
6029
6079
}
6030
6080
_ACEOF
6031
 
rm -f conftest.$ac_objext
6032
 
if { (ac_try="$ac_compile"
6033
 
case "(($ac_try" in
6034
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6035
 
  *) ac_try_echo=$ac_try;;
6036
 
esac
6037
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6038
 
$as_echo "$ac_try_echo") >&5
6039
 
  (eval "$ac_compile") 2>conftest.er1
6040
 
  ac_status=$?
6041
 
  grep -v '^ *+' conftest.er1 >conftest.err
6042
 
  rm -f conftest.er1
6043
 
  cat conftest.err >&5
6044
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045
 
  (exit $ac_status); } && {
6046
 
         test -z "$ac_c_werror_flag" ||
6047
 
         test ! -s conftest.err
6048
 
       } && test -s conftest.$ac_objext; then
 
6081
if ac_fn_c_try_compile "$LINENO"; then :
6049
6082
  ac_cv_header_stdc=yes
6050
6083
else
6051
 
  $as_echo "$as_me: failed program was:" >&5
6052
 
sed 's/^/| /' conftest.$ac_ext >&5
6053
 
 
6054
 
        ac_cv_header_stdc=no
 
6084
  ac_cv_header_stdc=no
6055
6085
fi
6056
 
 
6057
6086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6058
6087
 
6059
6088
if test $ac_cv_header_stdc = yes; then
6060
6089
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6061
 
  cat >conftest.$ac_ext <<_ACEOF
6062
 
/* confdefs.h.  */
6063
 
_ACEOF
6064
 
cat confdefs.h >>conftest.$ac_ext
6065
 
cat >>conftest.$ac_ext <<_ACEOF
 
6090
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6066
6091
/* end confdefs.h.  */
6067
6092
#include <string.h>
6068
6093
 
6069
6094
_ACEOF
6070
6095
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6071
 
  $EGREP "memchr" >/dev/null 2>&1; then
6072
 
  :
 
6096
  $EGREP "memchr" >/dev/null 2>&1; then :
 
6097
 
6073
6098
else
6074
6099
  ac_cv_header_stdc=no
6075
6100
fi
6079
6104
 
6080
6105
if test $ac_cv_header_stdc = yes; then
6081
6106
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6082
 
  cat >conftest.$ac_ext <<_ACEOF
6083
 
/* confdefs.h.  */
6084
 
_ACEOF
6085
 
cat confdefs.h >>conftest.$ac_ext
6086
 
cat >>conftest.$ac_ext <<_ACEOF
 
6107
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087
6108
/* end confdefs.h.  */
6088
6109
#include <stdlib.h>
6089
6110
 
6090
6111
_ACEOF
6091
6112
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6092
 
  $EGREP "free" >/dev/null 2>&1; then
6093
 
  :
 
6113
  $EGREP "free" >/dev/null 2>&1; then :
 
6114
 
6094
6115
else
6095
6116
  ac_cv_header_stdc=no
6096
6117
fi
6100
6121
 
6101
6122
if test $ac_cv_header_stdc = yes; then
6102
6123
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6103
 
  if test "$cross_compiling" = yes; then
 
6124
  if test "$cross_compiling" = yes; then :
6104
6125
  :
6105
6126
else
6106
 
  cat >conftest.$ac_ext <<_ACEOF
6107
 
/* confdefs.h.  */
6108
 
_ACEOF
6109
 
cat confdefs.h >>conftest.$ac_ext
6110
 
cat >>conftest.$ac_ext <<_ACEOF
 
6127
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111
6128
/* end confdefs.h.  */
6112
6129
#include <ctype.h>
6113
6130
#include <stdlib.h>
6134
6151
  return 0;
6135
6152
}
6136
6153
_ACEOF
6137
 
rm -f conftest$ac_exeext
6138
 
if { (ac_try="$ac_link"
6139
 
case "(($ac_try" in
6140
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6141
 
  *) ac_try_echo=$ac_try;;
6142
 
esac
6143
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6144
 
$as_echo "$ac_try_echo") >&5
6145
 
  (eval "$ac_link") 2>&5
6146
 
  ac_status=$?
6147
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6149
 
  { (case "(($ac_try" in
6150
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6151
 
  *) ac_try_echo=$ac_try;;
6152
 
esac
6153
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6154
 
$as_echo "$ac_try_echo") >&5
6155
 
  (eval "$ac_try") 2>&5
6156
 
  ac_status=$?
6157
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158
 
  (exit $ac_status); }; }; then
6159
 
  :
 
6154
if ac_fn_c_try_run "$LINENO"; then :
 
6155
 
6160
6156
else
6161
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6162
 
$as_echo "$as_me: failed program was:" >&5
6163
 
sed 's/^/| /' conftest.$ac_ext >&5
6164
 
 
6165
 
( exit $ac_status )
6166
 
ac_cv_header_stdc=no
6167
 
fi
6168
 
rm -rf conftest.dSYM
6169
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6170
 
fi
6171
 
 
6172
 
 
6173
 
fi
6174
 
fi
6175
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
6157
  ac_cv_header_stdc=no
 
6158
fi
 
6159
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6160
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6161
fi
 
6162
 
 
6163
fi
 
6164
fi
 
6165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6176
6166
$as_echo "$ac_cv_header_stdc" >&6; }
6177
6167
if test $ac_cv_header_stdc = yes; then
6178
6168
 
6179
 
cat >>confdefs.h <<\_ACEOF
6180
 
#define STDC_HEADERS 1
6181
 
_ACEOF
 
6169
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6182
6170
 
6183
6171
fi
6184
6172
 
6185
6173
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6186
 
 
6187
 
 
6188
 
 
6189
 
 
6190
 
 
6191
 
 
6192
 
 
6193
 
 
6194
 
 
6195
6174
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6196
6175
                  inttypes.h stdint.h unistd.h
6197
 
do
6198
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6199
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6200
 
$as_echo_n "checking for $ac_header... " >&6; }
6201
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6202
 
  $as_echo_n "(cached) " >&6
6203
 
else
6204
 
  cat >conftest.$ac_ext <<_ACEOF
6205
 
/* confdefs.h.  */
6206
 
_ACEOF
6207
 
cat confdefs.h >>conftest.$ac_ext
6208
 
cat >>conftest.$ac_ext <<_ACEOF
6209
 
/* end confdefs.h.  */
6210
 
$ac_includes_default
6211
 
 
6212
 
#include <$ac_header>
6213
 
_ACEOF
6214
 
rm -f conftest.$ac_objext
6215
 
if { (ac_try="$ac_compile"
6216
 
case "(($ac_try" in
6217
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6218
 
  *) ac_try_echo=$ac_try;;
6219
 
esac
6220
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6221
 
$as_echo "$ac_try_echo") >&5
6222
 
  (eval "$ac_compile") 2>conftest.er1
6223
 
  ac_status=$?
6224
 
  grep -v '^ *+' conftest.er1 >conftest.err
6225
 
  rm -f conftest.er1
6226
 
  cat conftest.err >&5
6227
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228
 
  (exit $ac_status); } && {
6229
 
         test -z "$ac_c_werror_flag" ||
6230
 
         test ! -s conftest.err
6231
 
       } && test -s conftest.$ac_objext; then
6232
 
  eval "$as_ac_Header=yes"
6233
 
else
6234
 
  $as_echo "$as_me: failed program was:" >&5
6235
 
sed 's/^/| /' conftest.$ac_ext >&5
6236
 
 
6237
 
        eval "$as_ac_Header=no"
6238
 
fi
6239
 
 
6240
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6241
 
fi
6242
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6243
 
                 $as_echo "$as_val"'`
6244
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6245
 
$as_echo "$ac_res" >&6; }
6246
 
as_val=`eval 'as_val=${'$as_ac_Header'}
6247
 
                 $as_echo "$as_val"'`
6248
 
   if test "x$as_val" = x""yes; then
 
6176
do :
 
6177
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6178
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
6179
"
 
6180
eval as_val=\$$as_ac_Header
 
6181
   if test "x$as_val" = x""yes; then :
6249
6182
  cat >>confdefs.h <<_ACEOF
6250
6183
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6251
6184
_ACEOF
6255
6188
done
6256
6189
 
6257
6190
 
6258
 
 
6259
6191
for ac_header in dlfcn.h
6260
 
do
6261
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6262
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6263
 
$as_echo_n "checking for $ac_header... " >&6; }
6264
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6265
 
  $as_echo_n "(cached) " >&6
6266
 
else
6267
 
  cat >conftest.$ac_ext <<_ACEOF
6268
 
/* confdefs.h.  */
6269
 
_ACEOF
6270
 
cat confdefs.h >>conftest.$ac_ext
6271
 
cat >>conftest.$ac_ext <<_ACEOF
6272
 
/* end confdefs.h.  */
6273
 
$ac_includes_default
6274
 
 
6275
 
#include <$ac_header>
6276
 
_ACEOF
6277
 
rm -f conftest.$ac_objext
6278
 
if { (ac_try="$ac_compile"
6279
 
case "(($ac_try" in
6280
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281
 
  *) ac_try_echo=$ac_try;;
6282
 
esac
6283
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6284
 
$as_echo "$ac_try_echo") >&5
6285
 
  (eval "$ac_compile") 2>conftest.er1
6286
 
  ac_status=$?
6287
 
  grep -v '^ *+' conftest.er1 >conftest.err
6288
 
  rm -f conftest.er1
6289
 
  cat conftest.err >&5
6290
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291
 
  (exit $ac_status); } && {
6292
 
         test -z "$ac_c_werror_flag" ||
6293
 
         test ! -s conftest.err
6294
 
       } && test -s conftest.$ac_objext; then
6295
 
  eval "$as_ac_Header=yes"
6296
 
else
6297
 
  $as_echo "$as_me: failed program was:" >&5
6298
 
sed 's/^/| /' conftest.$ac_ext >&5
6299
 
 
6300
 
        eval "$as_ac_Header=no"
6301
 
fi
6302
 
 
6303
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6304
 
fi
6305
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6306
 
                 $as_echo "$as_val"'`
6307
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6308
 
$as_echo "$ac_res" >&6; }
6309
 
as_val=`eval 'as_val=${'$as_ac_Header'}
6310
 
                 $as_echo "$as_val"'`
6311
 
   if test "x$as_val" = x""yes; then
 
6192
do :
 
6193
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
6194
"
 
6195
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6312
6196
  cat >>confdefs.h <<_ACEOF
6313
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6197
#define HAVE_DLFCN_H 1
6314
6198
_ACEOF
6315
6199
 
6316
6200
fi
6330
6214
 
6331
6215
 
6332
6216
            # Check whether --enable-shared was given.
6333
 
if test "${enable_shared+set}" = set; then
 
6217
if test "${enable_shared+set}" = set; then :
6334
6218
  enableval=$enable_shared; p=${PACKAGE-default}
6335
6219
    case $enableval in
6336
6220
    yes) enable_shared=yes ;;
6361
6245
 
6362
6246
 
6363
6247
  # Check whether --enable-static was given.
6364
 
if test "${enable_static+set}" = set; then
 
6248
if test "${enable_static+set}" = set; then :
6365
6249
  enableval=$enable_static; p=${PACKAGE-default}
6366
6250
    case $enableval in
6367
6251
    yes) enable_static=yes ;;
6393
6277
 
6394
6278
 
6395
6279
# Check whether --with-pic was given.
6396
 
if test "${with_pic+set}" = set; then
 
6280
if test "${with_pic+set}" = set; then :
6397
6281
  withval=$with_pic; pic_mode="$withval"
6398
6282
else
6399
6283
  pic_mode=default
6409
6293
 
6410
6294
 
6411
6295
  # Check whether --enable-fast-install was given.
6412
 
if test "${enable_fast_install+set}" = set; then
 
6296
if test "${enable_fast_install+set}" = set; then :
6413
6297
  enableval=$enable_fast_install; p=${PACKAGE-default}
6414
6298
    case $enableval in
6415
6299
    yes) enable_fast_install=yes ;;
6490
6374
   setopt NO_GLOB_SUBST
6491
6375
fi
6492
6376
 
6493
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
6377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6494
6378
$as_echo_n "checking for objdir... " >&6; }
6495
 
if test "${lt_cv_objdir+set}" = set; then
 
6379
if test "${lt_cv_objdir+set}" = set; then :
6496
6380
  $as_echo_n "(cached) " >&6
6497
6381
else
6498
6382
  rm -f .libs 2>/dev/null
6505
6389
fi
6506
6390
rmdir .libs 2>/dev/null
6507
6391
fi
6508
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6509
6393
$as_echo "$lt_cv_objdir" >&6; }
6510
6394
objdir=$lt_cv_objdir
6511
6395
 
6598
6482
case $deplibs_check_method in
6599
6483
file_magic*)
6600
6484
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6601
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6485
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6602
6486
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6603
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
6487
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6604
6488
  $as_echo_n "(cached) " >&6
6605
6489
else
6606
6490
  case $MAGIC_CMD in
6651
6535
 
6652
6536
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6653
6537
if test -n "$MAGIC_CMD"; then
6654
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6538
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6655
6539
$as_echo "$MAGIC_CMD" >&6; }
6656
6540
else
6657
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6541
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658
6542
$as_echo "no" >&6; }
6659
6543
fi
6660
6544
 
6664
6548
 
6665
6549
if test -z "$lt_cv_path_MAGIC_CMD"; then
6666
6550
  if test -n "$ac_tool_prefix"; then
6667
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
6551
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6668
6552
$as_echo_n "checking for file... " >&6; }
6669
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
6553
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6670
6554
  $as_echo_n "(cached) " >&6
6671
6555
else
6672
6556
  case $MAGIC_CMD in
6717
6601
 
6718
6602
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6719
6603
if test -n "$MAGIC_CMD"; then
6720
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6721
6605
$as_echo "$MAGIC_CMD" >&6; }
6722
6606
else
6723
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724
6608
$as_echo "no" >&6; }
6725
6609
fi
6726
6610
 
6801
6685
if test "$GCC" = yes; then
6802
6686
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6803
6687
 
6804
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
6688
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6805
6689
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6806
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
6690
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6807
6691
  $as_echo_n "(cached) " >&6
6808
6692
else
6809
6693
  lt_cv_prog_compiler_rtti_exceptions=no
6819
6703
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6820
6704
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6821
6705
   -e 's:$: $lt_compiler_flag:'`
6822
 
   (eval echo "\"\$as_me:6822: $lt_compile\"" >&5)
 
6706
   (eval echo "\"\$as_me:6706: $lt_compile\"" >&5)
6823
6707
   (eval "$lt_compile" 2>conftest.err)
6824
6708
   ac_status=$?
6825
6709
   cat conftest.err >&5
6826
 
   echo "$as_me:6826: \$? = $ac_status" >&5
 
6710
   echo "$as_me:6710: \$? = $ac_status" >&5
6827
6711
   if (exit $ac_status) && test -s "$ac_outfile"; then
6828
6712
     # The compiler can only warn and ignore the option if not recognized
6829
6713
     # So say no if there are warnings other than the usual output.
6836
6720
   $RM conftest*
6837
6721
 
6838
6722
fi
6839
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
6723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6840
6724
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6841
6725
 
6842
6726
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6856
6740
lt_prog_compiler_pic=
6857
6741
lt_prog_compiler_static=
6858
6742
 
6859
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
6743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6860
6744
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6861
6745
 
6862
6746
  if test "$GCC" = yes; then
7128
7012
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7129
7013
    ;;
7130
7014
esac
7131
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7132
7016
$as_echo "$lt_prog_compiler_pic" >&6; }
7133
7017
 
7134
7018
 
7140
7024
# Check to make sure the PIC flag actually works.
7141
7025
#
7142
7026
if test -n "$lt_prog_compiler_pic"; then
7143
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7027
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7144
7028
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7145
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
7029
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7146
7030
  $as_echo_n "(cached) " >&6
7147
7031
else
7148
7032
  lt_cv_prog_compiler_pic_works=no
7158
7042
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7159
7043
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7160
7044
   -e 's:$: $lt_compiler_flag:'`
7161
 
   (eval echo "\"\$as_me:7161: $lt_compile\"" >&5)
 
7045
   (eval echo "\"\$as_me:7045: $lt_compile\"" >&5)
7162
7046
   (eval "$lt_compile" 2>conftest.err)
7163
7047
   ac_status=$?
7164
7048
   cat conftest.err >&5
7165
 
   echo "$as_me:7165: \$? = $ac_status" >&5
 
7049
   echo "$as_me:7049: \$? = $ac_status" >&5
7166
7050
   if (exit $ac_status) && test -s "$ac_outfile"; then
7167
7051
     # The compiler can only warn and ignore the option if not recognized
7168
7052
     # So say no if there are warnings other than the usual output.
7175
7059
   $RM conftest*
7176
7060
 
7177
7061
fi
7178
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7179
7063
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7180
7064
 
7181
7065
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7199
7083
# Check to make sure the static flag actually works.
7200
7084
#
7201
7085
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7202
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7203
7087
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7204
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
7088
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7205
7089
  $as_echo_n "(cached) " >&6
7206
7090
else
7207
7091
  lt_cv_prog_compiler_static_works=no
7227
7111
   LDFLAGS="$save_LDFLAGS"
7228
7112
 
7229
7113
fi
7230
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7231
7115
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7232
7116
 
7233
7117
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7242
7126
 
7243
7127
 
7244
7128
 
7245
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7129
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7246
7130
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7247
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7131
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7248
7132
  $as_echo_n "(cached) " >&6
7249
7133
else
7250
7134
  lt_cv_prog_compiler_c_o=no
7263
7147
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7264
7148
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7265
7149
   -e 's:$: $lt_compiler_flag:'`
7266
 
   (eval echo "\"\$as_me:7266: $lt_compile\"" >&5)
 
7150
   (eval echo "\"\$as_me:7150: $lt_compile\"" >&5)
7267
7151
   (eval "$lt_compile" 2>out/conftest.err)
7268
7152
   ac_status=$?
7269
7153
   cat out/conftest.err >&5
7270
 
   echo "$as_me:7270: \$? = $ac_status" >&5
 
7154
   echo "$as_me:7154: \$? = $ac_status" >&5
7271
7155
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7272
7156
   then
7273
7157
     # The compiler can only warn and ignore the option if not recognized
7289
7173
   $RM conftest*
7290
7174
 
7291
7175
fi
7292
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7293
7177
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7294
7178
 
7295
7179
 
7297
7181
 
7298
7182
 
7299
7183
 
7300
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7184
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7301
7185
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7302
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
7186
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7303
7187
  $as_echo_n "(cached) " >&6
7304
7188
else
7305
7189
  lt_cv_prog_compiler_c_o=no
7318
7202
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7319
7203
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7320
7204
   -e 's:$: $lt_compiler_flag:'`
7321
 
   (eval echo "\"\$as_me:7321: $lt_compile\"" >&5)
 
7205
   (eval echo "\"\$as_me:7205: $lt_compile\"" >&5)
7322
7206
   (eval "$lt_compile" 2>out/conftest.err)
7323
7207
   ac_status=$?
7324
7208
   cat out/conftest.err >&5
7325
 
   echo "$as_me:7325: \$? = $ac_status" >&5
 
7209
   echo "$as_me:7209: \$? = $ac_status" >&5
7326
7210
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7327
7211
   then
7328
7212
     # The compiler can only warn and ignore the option if not recognized
7344
7228
   $RM conftest*
7345
7229
 
7346
7230
fi
7347
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7348
7232
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7349
7233
 
7350
7234
 
7353
7237
hard_links="nottested"
7354
7238
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7355
7239
  # do not overwrite the value of need_locks provided by the user
7356
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7240
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7357
7241
$as_echo_n "checking if we can lock with hard links... " >&6; }
7358
7242
  hard_links=yes
7359
7243
  $RM conftest*
7361
7245
  touch conftest.a
7362
7246
  ln conftest.a conftest.b 2>&5 || hard_links=no
7363
7247
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7364
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
7248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7365
7249
$as_echo "$hard_links" >&6; }
7366
7250
  if test "$hard_links" = no; then
7367
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
7251
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7368
7252
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7369
7253
    need_locks=warn
7370
7254
  fi
7377
7261
 
7378
7262
 
7379
7263
 
7380
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7264
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7381
7265
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7382
7266
 
7383
7267
  runpath_var=
7437
7321
  openbsd*)
7438
7322
    with_gnu_ld=no
7439
7323
    ;;
 
7324
  linux* | k*bsd*-gnu)
 
7325
    link_all_deplibs=no
 
7326
    ;;
7440
7327
  esac
7441
7328
 
7442
7329
  ld_shlibs=yes
7820
7707
        allow_undefined_flag='-berok'
7821
7708
        # Determine the default libpath from the value encoded in an
7822
7709
        # empty executable.
7823
 
        cat >conftest.$ac_ext <<_ACEOF
7824
 
/* confdefs.h.  */
7825
 
_ACEOF
7826
 
cat confdefs.h >>conftest.$ac_ext
7827
 
cat >>conftest.$ac_ext <<_ACEOF
 
7710
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7828
7711
/* end confdefs.h.  */
7829
7712
 
7830
7713
int
7835
7718
  return 0;
7836
7719
}
7837
7720
_ACEOF
7838
 
rm -f conftest.$ac_objext conftest$ac_exeext
7839
 
if { (ac_try="$ac_link"
7840
 
case "(($ac_try" in
7841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7842
 
  *) ac_try_echo=$ac_try;;
7843
 
esac
7844
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7845
 
$as_echo "$ac_try_echo") >&5
7846
 
  (eval "$ac_link") 2>conftest.er1
7847
 
  ac_status=$?
7848
 
  grep -v '^ *+' conftest.er1 >conftest.err
7849
 
  rm -f conftest.er1
7850
 
  cat conftest.err >&5
7851
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852
 
  (exit $ac_status); } && {
7853
 
         test -z "$ac_c_werror_flag" ||
7854
 
         test ! -s conftest.err
7855
 
       } && test -s conftest$ac_exeext && {
7856
 
         test "$cross_compiling" = yes ||
7857
 
         $as_test_x conftest$ac_exeext
7858
 
       }; then
 
7721
if ac_fn_c_try_link "$LINENO"; then :
7859
7722
 
7860
7723
lt_aix_libpath_sed='
7861
7724
    /Import File Strings/,/^$/ {
7869
7732
if test -z "$aix_libpath"; then
7870
7733
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7871
7734
fi
7872
 
else
7873
 
  $as_echo "$as_me: failed program was:" >&5
7874
 
sed 's/^/| /' conftest.$ac_ext >&5
7875
 
 
7876
 
 
7877
7735
fi
7878
 
 
7879
 
rm -rf conftest.dSYM
7880
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7881
 
      conftest$ac_exeext conftest.$ac_ext
 
7736
rm -f core conftest.err conftest.$ac_objext \
 
7737
    conftest$ac_exeext conftest.$ac_ext
7882
7738
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7883
7739
 
7884
7740
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7891
7747
        else
7892
7748
         # Determine the default libpath from the value encoded in an
7893
7749
         # empty executable.
7894
 
         cat >conftest.$ac_ext <<_ACEOF
7895
 
/* confdefs.h.  */
7896
 
_ACEOF
7897
 
cat confdefs.h >>conftest.$ac_ext
7898
 
cat >>conftest.$ac_ext <<_ACEOF
 
7750
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899
7751
/* end confdefs.h.  */
7900
7752
 
7901
7753
int
7906
7758
  return 0;
7907
7759
}
7908
7760
_ACEOF
7909
 
rm -f conftest.$ac_objext conftest$ac_exeext
7910
 
if { (ac_try="$ac_link"
7911
 
case "(($ac_try" in
7912
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7913
 
  *) ac_try_echo=$ac_try;;
7914
 
esac
7915
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7916
 
$as_echo "$ac_try_echo") >&5
7917
 
  (eval "$ac_link") 2>conftest.er1
7918
 
  ac_status=$?
7919
 
  grep -v '^ *+' conftest.er1 >conftest.err
7920
 
  rm -f conftest.er1
7921
 
  cat conftest.err >&5
7922
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923
 
  (exit $ac_status); } && {
7924
 
         test -z "$ac_c_werror_flag" ||
7925
 
         test ! -s conftest.err
7926
 
       } && test -s conftest$ac_exeext && {
7927
 
         test "$cross_compiling" = yes ||
7928
 
         $as_test_x conftest$ac_exeext
7929
 
       }; then
 
7761
if ac_fn_c_try_link "$LINENO"; then :
7930
7762
 
7931
7763
lt_aix_libpath_sed='
7932
7764
    /Import File Strings/,/^$/ {
7940
7772
if test -z "$aix_libpath"; then
7941
7773
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7942
7774
fi
7943
 
else
7944
 
  $as_echo "$as_me: failed program was:" >&5
7945
 
sed 's/^/| /' conftest.$ac_ext >&5
7946
 
 
7947
 
 
7948
7775
fi
7949
 
 
7950
 
rm -rf conftest.dSYM
7951
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7952
 
      conftest$ac_exeext conftest.$ac_ext
 
7776
rm -f core conftest.err conftest.$ac_objext \
 
7777
    conftest$ac_exeext conftest.$ac_ext
7953
7778
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7954
7779
 
7955
7780
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8161
7986
        # implicitly export all symbols.
8162
7987
        save_LDFLAGS="$LDFLAGS"
8163
7988
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8164
 
        cat >conftest.$ac_ext <<_ACEOF
 
7989
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7990
/* end confdefs.h.  */
8165
7991
int foo(void) {}
8166
7992
_ACEOF
8167
 
rm -f conftest.$ac_objext conftest$ac_exeext
8168
 
if { (ac_try="$ac_link"
8169
 
case "(($ac_try" in
8170
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8171
 
  *) ac_try_echo=$ac_try;;
8172
 
esac
8173
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8174
 
$as_echo "$ac_try_echo") >&5
8175
 
  (eval "$ac_link") 2>conftest.er1
8176
 
  ac_status=$?
8177
 
  grep -v '^ *+' conftest.er1 >conftest.err
8178
 
  rm -f conftest.er1
8179
 
  cat conftest.err >&5
8180
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181
 
  (exit $ac_status); } && {
8182
 
         test -z "$ac_c_werror_flag" ||
8183
 
         test ! -s conftest.err
8184
 
       } && test -s conftest$ac_exeext && {
8185
 
         test "$cross_compiling" = yes ||
8186
 
         $as_test_x conftest$ac_exeext
8187
 
       }; then
 
7993
if ac_fn_c_try_link "$LINENO"; then :
8188
7994
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8189
7995
 
8190
 
else
8191
 
  $as_echo "$as_me: failed program was:" >&5
8192
 
sed 's/^/| /' conftest.$ac_ext >&5
8193
 
 
8194
 
 
8195
7996
fi
8196
 
 
8197
 
rm -rf conftest.dSYM
8198
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8199
 
      conftest$ac_exeext conftest.$ac_ext
 
7997
rm -f core conftest.err conftest.$ac_objext \
 
7998
    conftest$ac_exeext conftest.$ac_ext
8200
7999
        LDFLAGS="$save_LDFLAGS"
8201
8000
      else
8202
8001
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8452
8251
    fi
8453
8252
  fi
8454
8253
 
8455
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8456
8255
$as_echo "$ld_shlibs" >&6; }
8457
8256
test "$ld_shlibs" = no && can_build_shared=no
8458
8257
 
8489
8288
      # Test whether the compiler implicitly links with -lc since on some
8490
8289
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8491
8290
      # to ld, don't add -lc before -lgcc.
8492
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8291
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8493
8292
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8494
8293
      $RM conftest*
8495
8294
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8496
8295
 
8497
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8296
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8498
8297
  (eval $ac_compile) 2>&5
8499
8298
  ac_status=$?
8500
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501
 
  (exit $ac_status); } 2>conftest.err; then
 
8299
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8300
  test $ac_status = 0; } 2>conftest.err; then
8502
8301
        soname=conftest
8503
8302
        lib=conftest
8504
8303
        libobjs=conftest.$ac_objext
8512
8311
        libname=conftest
8513
8312
        lt_save_allow_undefined_flag=$allow_undefined_flag
8514
8313
        allow_undefined_flag=
8515
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
8314
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8516
8315
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8517
8316
  ac_status=$?
8518
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519
 
  (exit $ac_status); }
 
8317
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8318
  test $ac_status = 0; }
8520
8319
        then
8521
8320
          archive_cmds_need_lc=no
8522
8321
        else
8527
8326
        cat conftest.err 1>&5
8528
8327
      fi
8529
8328
      $RM conftest*
8530
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8329
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8531
8330
$as_echo "$archive_cmds_need_lc" >&6; }
8532
8331
      ;;
8533
8332
    esac
8691
8490
 
8692
8491
 
8693
8492
 
8694
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8493
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8695
8494
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8696
8495
 
8697
8496
if test "$GCC" = yes; then
9113
8912
  save_libdir=$libdir
9114
8913
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9115
8914
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9116
 
  cat >conftest.$ac_ext <<_ACEOF
9117
 
/* confdefs.h.  */
9118
 
_ACEOF
9119
 
cat confdefs.h >>conftest.$ac_ext
9120
 
cat >>conftest.$ac_ext <<_ACEOF
 
8915
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121
8916
/* end confdefs.h.  */
9122
8917
 
9123
8918
int
9128
8923
  return 0;
9129
8924
}
9130
8925
_ACEOF
9131
 
rm -f conftest.$ac_objext conftest$ac_exeext
9132
 
if { (ac_try="$ac_link"
9133
 
case "(($ac_try" in
9134
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9135
 
  *) ac_try_echo=$ac_try;;
9136
 
esac
9137
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9138
 
$as_echo "$ac_try_echo") >&5
9139
 
  (eval "$ac_link") 2>conftest.er1
9140
 
  ac_status=$?
9141
 
  grep -v '^ *+' conftest.er1 >conftest.err
9142
 
  rm -f conftest.er1
9143
 
  cat conftest.err >&5
9144
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145
 
  (exit $ac_status); } && {
9146
 
         test -z "$ac_c_werror_flag" ||
9147
 
         test ! -s conftest.err
9148
 
       } && test -s conftest$ac_exeext && {
9149
 
         test "$cross_compiling" = yes ||
9150
 
         $as_test_x conftest$ac_exeext
9151
 
       }; then
9152
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
8926
if ac_fn_c_try_link "$LINENO"; then :
 
8927
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9153
8928
  shlibpath_overrides_runpath=yes
9154
8929
fi
9155
 
 
9156
 
else
9157
 
  $as_echo "$as_me: failed program was:" >&5
9158
 
sed 's/^/| /' conftest.$ac_ext >&5
9159
 
 
9160
 
 
9161
8930
fi
9162
 
 
9163
 
rm -rf conftest.dSYM
9164
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9165
 
      conftest$ac_exeext conftest.$ac_ext
 
8931
rm -f core conftest.err conftest.$ac_objext \
 
8932
    conftest$ac_exeext conftest.$ac_ext
9166
8933
  LDFLAGS=$save_LDFLAGS
9167
8934
  libdir=$save_libdir
9168
8935
 
9386
9153
  dynamic_linker=no
9387
9154
  ;;
9388
9155
esac
9389
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9390
9157
$as_echo "$dynamic_linker" >&6; }
9391
9158
test "$dynamic_linker" = no && can_build_shared=no
9392
9159
 
9488
9255
 
9489
9256
 
9490
9257
 
9491
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9258
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9492
9259
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9493
9260
hardcode_action=
9494
9261
if test -n "$hardcode_libdir_flag_spec" ||
9513
9280
  # directories.
9514
9281
  hardcode_action=unsupported
9515
9282
fi
9516
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9517
9284
$as_echo "$hardcode_action" >&6; }
9518
9285
 
9519
9286
if test "$hardcode_action" = relink ||
9558
9325
 
9559
9326
  darwin*)
9560
9327
  # if libdl is installed we need to link against it
9561
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9328
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9562
9329
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9563
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
9330
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9564
9331
  $as_echo_n "(cached) " >&6
9565
9332
else
9566
9333
  ac_check_lib_save_LIBS=$LIBS
9567
9334
LIBS="-ldl  $LIBS"
9568
 
cat >conftest.$ac_ext <<_ACEOF
9569
 
/* confdefs.h.  */
9570
 
_ACEOF
9571
 
cat confdefs.h >>conftest.$ac_ext
9572
 
cat >>conftest.$ac_ext <<_ACEOF
 
9335
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573
9336
/* end confdefs.h.  */
9574
9337
 
9575
9338
/* Override any GCC internal prototype to avoid an error.
9587
9350
  return 0;
9588
9351
}
9589
9352
_ACEOF
9590
 
rm -f conftest.$ac_objext conftest$ac_exeext
9591
 
if { (ac_try="$ac_link"
9592
 
case "(($ac_try" in
9593
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9594
 
  *) ac_try_echo=$ac_try;;
9595
 
esac
9596
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9597
 
$as_echo "$ac_try_echo") >&5
9598
 
  (eval "$ac_link") 2>conftest.er1
9599
 
  ac_status=$?
9600
 
  grep -v '^ *+' conftest.er1 >conftest.err
9601
 
  rm -f conftest.er1
9602
 
  cat conftest.err >&5
9603
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604
 
  (exit $ac_status); } && {
9605
 
         test -z "$ac_c_werror_flag" ||
9606
 
         test ! -s conftest.err
9607
 
       } && test -s conftest$ac_exeext && {
9608
 
         test "$cross_compiling" = yes ||
9609
 
         $as_test_x conftest$ac_exeext
9610
 
       }; then
 
9353
if ac_fn_c_try_link "$LINENO"; then :
9611
9354
  ac_cv_lib_dl_dlopen=yes
9612
9355
else
9613
 
  $as_echo "$as_me: failed program was:" >&5
9614
 
sed 's/^/| /' conftest.$ac_ext >&5
9615
 
 
9616
 
        ac_cv_lib_dl_dlopen=no
 
9356
  ac_cv_lib_dl_dlopen=no
9617
9357
fi
9618
 
 
9619
 
rm -rf conftest.dSYM
9620
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9621
 
      conftest$ac_exeext conftest.$ac_ext
 
9358
rm -f core conftest.err conftest.$ac_objext \
 
9359
    conftest$ac_exeext conftest.$ac_ext
9622
9360
LIBS=$ac_check_lib_save_LIBS
9623
9361
fi
9624
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9625
9363
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9626
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
9364
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9627
9365
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9628
9366
else
9629
9367
 
9636
9374
    ;;
9637
9375
 
9638
9376
  *)
9639
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9640
 
$as_echo_n "checking for shl_load... " >&6; }
9641
 
if test "${ac_cv_func_shl_load+set}" = set; then
9642
 
  $as_echo_n "(cached) " >&6
9643
 
else
9644
 
  cat >conftest.$ac_ext <<_ACEOF
9645
 
/* confdefs.h.  */
9646
 
_ACEOF
9647
 
cat confdefs.h >>conftest.$ac_ext
9648
 
cat >>conftest.$ac_ext <<_ACEOF
9649
 
/* end confdefs.h.  */
9650
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9651
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9652
 
#define shl_load innocuous_shl_load
9653
 
 
9654
 
/* System header to define __stub macros and hopefully few prototypes,
9655
 
    which can conflict with char shl_load (); below.
9656
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9657
 
    <limits.h> exists even on freestanding compilers.  */
9658
 
 
9659
 
#ifdef __STDC__
9660
 
# include <limits.h>
9661
 
#else
9662
 
# include <assert.h>
9663
 
#endif
9664
 
 
9665
 
#undef shl_load
9666
 
 
9667
 
/* Override any GCC internal prototype to avoid an error.
9668
 
   Use char because int might match the return type of a GCC
9669
 
   builtin and then its argument prototype would still apply.  */
9670
 
#ifdef __cplusplus
9671
 
extern "C"
9672
 
#endif
9673
 
char shl_load ();
9674
 
/* The GNU C library defines this for functions which it implements
9675
 
    to always fail with ENOSYS.  Some functions are actually named
9676
 
    something starting with __ and the normal name is an alias.  */
9677
 
#if defined __stub_shl_load || defined __stub___shl_load
9678
 
choke me
9679
 
#endif
9680
 
 
9681
 
int
9682
 
main ()
9683
 
{
9684
 
return shl_load ();
9685
 
  ;
9686
 
  return 0;
9687
 
}
9688
 
_ACEOF
9689
 
rm -f conftest.$ac_objext conftest$ac_exeext
9690
 
if { (ac_try="$ac_link"
9691
 
case "(($ac_try" in
9692
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693
 
  *) ac_try_echo=$ac_try;;
9694
 
esac
9695
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9696
 
$as_echo "$ac_try_echo") >&5
9697
 
  (eval "$ac_link") 2>conftest.er1
9698
 
  ac_status=$?
9699
 
  grep -v '^ *+' conftest.er1 >conftest.err
9700
 
  rm -f conftest.er1
9701
 
  cat conftest.err >&5
9702
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703
 
  (exit $ac_status); } && {
9704
 
         test -z "$ac_c_werror_flag" ||
9705
 
         test ! -s conftest.err
9706
 
       } && test -s conftest$ac_exeext && {
9707
 
         test "$cross_compiling" = yes ||
9708
 
         $as_test_x conftest$ac_exeext
9709
 
       }; then
9710
 
  ac_cv_func_shl_load=yes
9711
 
else
9712
 
  $as_echo "$as_me: failed program was:" >&5
9713
 
sed 's/^/| /' conftest.$ac_ext >&5
9714
 
 
9715
 
        ac_cv_func_shl_load=no
9716
 
fi
9717
 
 
9718
 
rm -rf conftest.dSYM
9719
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9720
 
      conftest$ac_exeext conftest.$ac_ext
9721
 
fi
9722
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9723
 
$as_echo "$ac_cv_func_shl_load" >&6; }
9724
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
9377
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
9378
if test "x$ac_cv_func_shl_load" = x""yes; then :
9725
9379
  lt_cv_dlopen="shl_load"
9726
9380
else
9727
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9381
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9728
9382
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9729
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
9383
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9730
9384
  $as_echo_n "(cached) " >&6
9731
9385
else
9732
9386
  ac_check_lib_save_LIBS=$LIBS
9733
9387
LIBS="-ldld  $LIBS"
9734
 
cat >conftest.$ac_ext <<_ACEOF
9735
 
/* confdefs.h.  */
9736
 
_ACEOF
9737
 
cat confdefs.h >>conftest.$ac_ext
9738
 
cat >>conftest.$ac_ext <<_ACEOF
 
9388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739
9389
/* end confdefs.h.  */
9740
9390
 
9741
9391
/* Override any GCC internal prototype to avoid an error.
9753
9403
  return 0;
9754
9404
}
9755
9405
_ACEOF
9756
 
rm -f conftest.$ac_objext conftest$ac_exeext
9757
 
if { (ac_try="$ac_link"
9758
 
case "(($ac_try" in
9759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9760
 
  *) ac_try_echo=$ac_try;;
9761
 
esac
9762
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9763
 
$as_echo "$ac_try_echo") >&5
9764
 
  (eval "$ac_link") 2>conftest.er1
9765
 
  ac_status=$?
9766
 
  grep -v '^ *+' conftest.er1 >conftest.err
9767
 
  rm -f conftest.er1
9768
 
  cat conftest.err >&5
9769
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770
 
  (exit $ac_status); } && {
9771
 
         test -z "$ac_c_werror_flag" ||
9772
 
         test ! -s conftest.err
9773
 
       } && test -s conftest$ac_exeext && {
9774
 
         test "$cross_compiling" = yes ||
9775
 
         $as_test_x conftest$ac_exeext
9776
 
       }; then
 
9406
if ac_fn_c_try_link "$LINENO"; then :
9777
9407
  ac_cv_lib_dld_shl_load=yes
9778
9408
else
9779
 
  $as_echo "$as_me: failed program was:" >&5
9780
 
sed 's/^/| /' conftest.$ac_ext >&5
9781
 
 
9782
 
        ac_cv_lib_dld_shl_load=no
 
9409
  ac_cv_lib_dld_shl_load=no
9783
9410
fi
9784
 
 
9785
 
rm -rf conftest.dSYM
9786
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9787
 
      conftest$ac_exeext conftest.$ac_ext
 
9411
rm -f core conftest.err conftest.$ac_objext \
 
9412
    conftest$ac_exeext conftest.$ac_ext
9788
9413
LIBS=$ac_check_lib_save_LIBS
9789
9414
fi
9790
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9791
9416
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9792
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
9417
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
9793
9418
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9794
9419
else
9795
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9796
 
$as_echo_n "checking for dlopen... " >&6; }
9797
 
if test "${ac_cv_func_dlopen+set}" = set; then
9798
 
  $as_echo_n "(cached) " >&6
9799
 
else
9800
 
  cat >conftest.$ac_ext <<_ACEOF
9801
 
/* confdefs.h.  */
9802
 
_ACEOF
9803
 
cat confdefs.h >>conftest.$ac_ext
9804
 
cat >>conftest.$ac_ext <<_ACEOF
9805
 
/* end confdefs.h.  */
9806
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9807
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9808
 
#define dlopen innocuous_dlopen
9809
 
 
9810
 
/* System header to define __stub macros and hopefully few prototypes,
9811
 
    which can conflict with char dlopen (); below.
9812
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9813
 
    <limits.h> exists even on freestanding compilers.  */
9814
 
 
9815
 
#ifdef __STDC__
9816
 
# include <limits.h>
9817
 
#else
9818
 
# include <assert.h>
9819
 
#endif
9820
 
 
9821
 
#undef dlopen
9822
 
 
9823
 
/* Override any GCC internal prototype to avoid an error.
9824
 
   Use char because int might match the return type of a GCC
9825
 
   builtin and then its argument prototype would still apply.  */
9826
 
#ifdef __cplusplus
9827
 
extern "C"
9828
 
#endif
9829
 
char dlopen ();
9830
 
/* The GNU C library defines this for functions which it implements
9831
 
    to always fail with ENOSYS.  Some functions are actually named
9832
 
    something starting with __ and the normal name is an alias.  */
9833
 
#if defined __stub_dlopen || defined __stub___dlopen
9834
 
choke me
9835
 
#endif
9836
 
 
9837
 
int
9838
 
main ()
9839
 
{
9840
 
return dlopen ();
9841
 
  ;
9842
 
  return 0;
9843
 
}
9844
 
_ACEOF
9845
 
rm -f conftest.$ac_objext conftest$ac_exeext
9846
 
if { (ac_try="$ac_link"
9847
 
case "(($ac_try" in
9848
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9849
 
  *) ac_try_echo=$ac_try;;
9850
 
esac
9851
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9852
 
$as_echo "$ac_try_echo") >&5
9853
 
  (eval "$ac_link") 2>conftest.er1
9854
 
  ac_status=$?
9855
 
  grep -v '^ *+' conftest.er1 >conftest.err
9856
 
  rm -f conftest.er1
9857
 
  cat conftest.err >&5
9858
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859
 
  (exit $ac_status); } && {
9860
 
         test -z "$ac_c_werror_flag" ||
9861
 
         test ! -s conftest.err
9862
 
       } && test -s conftest$ac_exeext && {
9863
 
         test "$cross_compiling" = yes ||
9864
 
         $as_test_x conftest$ac_exeext
9865
 
       }; then
9866
 
  ac_cv_func_dlopen=yes
9867
 
else
9868
 
  $as_echo "$as_me: failed program was:" >&5
9869
 
sed 's/^/| /' conftest.$ac_ext >&5
9870
 
 
9871
 
        ac_cv_func_dlopen=no
9872
 
fi
9873
 
 
9874
 
rm -rf conftest.dSYM
9875
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9876
 
      conftest$ac_exeext conftest.$ac_ext
9877
 
fi
9878
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9879
 
$as_echo "$ac_cv_func_dlopen" >&6; }
9880
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
9420
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
9421
if test "x$ac_cv_func_dlopen" = x""yes; then :
9881
9422
  lt_cv_dlopen="dlopen"
9882
9423
else
9883
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9424
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9884
9425
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9885
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
9426
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9886
9427
  $as_echo_n "(cached) " >&6
9887
9428
else
9888
9429
  ac_check_lib_save_LIBS=$LIBS
9889
9430
LIBS="-ldl  $LIBS"
9890
 
cat >conftest.$ac_ext <<_ACEOF
9891
 
/* confdefs.h.  */
9892
 
_ACEOF
9893
 
cat confdefs.h >>conftest.$ac_ext
9894
 
cat >>conftest.$ac_ext <<_ACEOF
 
9431
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895
9432
/* end confdefs.h.  */
9896
9433
 
9897
9434
/* Override any GCC internal prototype to avoid an error.
9909
9446
  return 0;
9910
9447
}
9911
9448
_ACEOF
9912
 
rm -f conftest.$ac_objext conftest$ac_exeext
9913
 
if { (ac_try="$ac_link"
9914
 
case "(($ac_try" in
9915
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9916
 
  *) ac_try_echo=$ac_try;;
9917
 
esac
9918
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9919
 
$as_echo "$ac_try_echo") >&5
9920
 
  (eval "$ac_link") 2>conftest.er1
9921
 
  ac_status=$?
9922
 
  grep -v '^ *+' conftest.er1 >conftest.err
9923
 
  rm -f conftest.er1
9924
 
  cat conftest.err >&5
9925
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926
 
  (exit $ac_status); } && {
9927
 
         test -z "$ac_c_werror_flag" ||
9928
 
         test ! -s conftest.err
9929
 
       } && test -s conftest$ac_exeext && {
9930
 
         test "$cross_compiling" = yes ||
9931
 
         $as_test_x conftest$ac_exeext
9932
 
       }; then
 
9449
if ac_fn_c_try_link "$LINENO"; then :
9933
9450
  ac_cv_lib_dl_dlopen=yes
9934
9451
else
9935
 
  $as_echo "$as_me: failed program was:" >&5
9936
 
sed 's/^/| /' conftest.$ac_ext >&5
9937
 
 
9938
 
        ac_cv_lib_dl_dlopen=no
 
9452
  ac_cv_lib_dl_dlopen=no
9939
9453
fi
9940
 
 
9941
 
rm -rf conftest.dSYM
9942
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9943
 
      conftest$ac_exeext conftest.$ac_ext
 
9454
rm -f core conftest.err conftest.$ac_objext \
 
9455
    conftest$ac_exeext conftest.$ac_ext
9944
9456
LIBS=$ac_check_lib_save_LIBS
9945
9457
fi
9946
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9947
9459
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9948
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
9460
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9949
9461
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9950
9462
else
9951
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
9463
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9952
9464
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9953
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
9465
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9954
9466
  $as_echo_n "(cached) " >&6
9955
9467
else
9956
9468
  ac_check_lib_save_LIBS=$LIBS
9957
9469
LIBS="-lsvld  $LIBS"
9958
 
cat >conftest.$ac_ext <<_ACEOF
9959
 
/* confdefs.h.  */
9960
 
_ACEOF
9961
 
cat confdefs.h >>conftest.$ac_ext
9962
 
cat >>conftest.$ac_ext <<_ACEOF
 
9470
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963
9471
/* end confdefs.h.  */
9964
9472
 
9965
9473
/* Override any GCC internal prototype to avoid an error.
9977
9485
  return 0;
9978
9486
}
9979
9487
_ACEOF
9980
 
rm -f conftest.$ac_objext conftest$ac_exeext
9981
 
if { (ac_try="$ac_link"
9982
 
case "(($ac_try" in
9983
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9984
 
  *) ac_try_echo=$ac_try;;
9985
 
esac
9986
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9987
 
$as_echo "$ac_try_echo") >&5
9988
 
  (eval "$ac_link") 2>conftest.er1
9989
 
  ac_status=$?
9990
 
  grep -v '^ *+' conftest.er1 >conftest.err
9991
 
  rm -f conftest.er1
9992
 
  cat conftest.err >&5
9993
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994
 
  (exit $ac_status); } && {
9995
 
         test -z "$ac_c_werror_flag" ||
9996
 
         test ! -s conftest.err
9997
 
       } && test -s conftest$ac_exeext && {
9998
 
         test "$cross_compiling" = yes ||
9999
 
         $as_test_x conftest$ac_exeext
10000
 
       }; then
 
9488
if ac_fn_c_try_link "$LINENO"; then :
10001
9489
  ac_cv_lib_svld_dlopen=yes
10002
9490
else
10003
 
  $as_echo "$as_me: failed program was:" >&5
10004
 
sed 's/^/| /' conftest.$ac_ext >&5
10005
 
 
10006
 
        ac_cv_lib_svld_dlopen=no
 
9491
  ac_cv_lib_svld_dlopen=no
10007
9492
fi
10008
 
 
10009
 
rm -rf conftest.dSYM
10010
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10011
 
      conftest$ac_exeext conftest.$ac_ext
 
9493
rm -f core conftest.err conftest.$ac_objext \
 
9494
    conftest$ac_exeext conftest.$ac_ext
10012
9495
LIBS=$ac_check_lib_save_LIBS
10013
9496
fi
10014
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
9497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10015
9498
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10016
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
9499
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10017
9500
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10018
9501
else
10019
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
9502
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10020
9503
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10021
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
9504
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10022
9505
  $as_echo_n "(cached) " >&6
10023
9506
else
10024
9507
  ac_check_lib_save_LIBS=$LIBS
10025
9508
LIBS="-ldld  $LIBS"
10026
 
cat >conftest.$ac_ext <<_ACEOF
10027
 
/* confdefs.h.  */
10028
 
_ACEOF
10029
 
cat confdefs.h >>conftest.$ac_ext
10030
 
cat >>conftest.$ac_ext <<_ACEOF
 
9509
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031
9510
/* end confdefs.h.  */
10032
9511
 
10033
9512
/* Override any GCC internal prototype to avoid an error.
10045
9524
  return 0;
10046
9525
}
10047
9526
_ACEOF
10048
 
rm -f conftest.$ac_objext conftest$ac_exeext
10049
 
if { (ac_try="$ac_link"
10050
 
case "(($ac_try" in
10051
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10052
 
  *) ac_try_echo=$ac_try;;
10053
 
esac
10054
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10055
 
$as_echo "$ac_try_echo") >&5
10056
 
  (eval "$ac_link") 2>conftest.er1
10057
 
  ac_status=$?
10058
 
  grep -v '^ *+' conftest.er1 >conftest.err
10059
 
  rm -f conftest.er1
10060
 
  cat conftest.err >&5
10061
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062
 
  (exit $ac_status); } && {
10063
 
         test -z "$ac_c_werror_flag" ||
10064
 
         test ! -s conftest.err
10065
 
       } && test -s conftest$ac_exeext && {
10066
 
         test "$cross_compiling" = yes ||
10067
 
         $as_test_x conftest$ac_exeext
10068
 
       }; then
 
9527
if ac_fn_c_try_link "$LINENO"; then :
10069
9528
  ac_cv_lib_dld_dld_link=yes
10070
9529
else
10071
 
  $as_echo "$as_me: failed program was:" >&5
10072
 
sed 's/^/| /' conftest.$ac_ext >&5
10073
 
 
10074
 
        ac_cv_lib_dld_dld_link=no
 
9530
  ac_cv_lib_dld_dld_link=no
10075
9531
fi
10076
 
 
10077
 
rm -rf conftest.dSYM
10078
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10079
 
      conftest$ac_exeext conftest.$ac_ext
 
9532
rm -f core conftest.err conftest.$ac_objext \
 
9533
    conftest$ac_exeext conftest.$ac_ext
10080
9534
LIBS=$ac_check_lib_save_LIBS
10081
9535
fi
10082
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
9536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10083
9537
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10084
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
9538
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10085
9539
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10086
9540
fi
10087
9541
 
10120
9574
    save_LIBS="$LIBS"
10121
9575
    LIBS="$lt_cv_dlopen_libs $LIBS"
10122
9576
 
10123
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
9577
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10124
9578
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10125
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
9579
if test "${lt_cv_dlopen_self+set}" = set; then :
10126
9580
  $as_echo_n "(cached) " >&6
10127
9581
else
10128
9582
          if test "$cross_compiling" = yes; then :
10131
9585
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10132
9586
  lt_status=$lt_dlunknown
10133
9587
  cat > conftest.$ac_ext <<_LT_EOF
10134
 
#line 10134 "configure"
 
9588
#line 9588 "configure"
10135
9589
#include "confdefs.h"
10136
9590
 
10137
9591
#if HAVE_DLFCN_H
10190
9644
  return status;
10191
9645
}
10192
9646
_LT_EOF
10193
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9647
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10194
9648
  (eval $ac_link) 2>&5
10195
9649
  ac_status=$?
10196
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
9650
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9651
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10198
9652
    (./conftest; exit; ) >&5 2>/dev/null
10199
9653
    lt_status=$?
10200
9654
    case x$lt_status in
10211
9665
 
10212
9666
 
10213
9667
fi
10214
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
9668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10215
9669
$as_echo "$lt_cv_dlopen_self" >&6; }
10216
9670
 
10217
9671
    if test "x$lt_cv_dlopen_self" = xyes; then
10218
9672
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10219
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
9673
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10220
9674
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10221
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
9675
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10222
9676
  $as_echo_n "(cached) " >&6
10223
9677
else
10224
9678
          if test "$cross_compiling" = yes; then :
10227
9681
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10228
9682
  lt_status=$lt_dlunknown
10229
9683
  cat > conftest.$ac_ext <<_LT_EOF
10230
 
#line 10230 "configure"
 
9684
#line 9684 "configure"
10231
9685
#include "confdefs.h"
10232
9686
 
10233
9687
#if HAVE_DLFCN_H
10286
9740
  return status;
10287
9741
}
10288
9742
_LT_EOF
10289
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
9743
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10290
9744
  (eval $ac_link) 2>&5
10291
9745
  ac_status=$?
10292
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
9746
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9747
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10294
9748
    (./conftest; exit; ) >&5 2>/dev/null
10295
9749
    lt_status=$?
10296
9750
    case x$lt_status in
10307
9761
 
10308
9762
 
10309
9763
fi
10310
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
9764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10311
9765
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10312
9766
    fi
10313
9767
 
10346
9800
 
10347
9801
striplib=
10348
9802
old_striplib=
10349
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10350
9804
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10351
9805
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10352
9806
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10353
9807
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10354
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10355
9809
$as_echo "yes" >&6; }
10356
9810
else
10357
9811
# FIXME - insert some real tests, host_os isn't really good enough
10360
9814
    if test -n "$STRIP" ; then
10361
9815
      striplib="$STRIP -x"
10362
9816
      old_striplib="$STRIP -S"
10363
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
9817
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10364
9818
$as_echo "yes" >&6; }
10365
9819
    else
10366
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
9820
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10367
9821
$as_echo "no" >&6; }
10368
9822
    fi
10369
9823
    ;;
10370
9824
  *)
10371
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
9825
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10372
9826
$as_echo "no" >&6; }
10373
9827
    ;;
10374
9828
  esac
10386
9840
 
10387
9841
 
10388
9842
  # Report which library types will actually be built
10389
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
9843
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10390
9844
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10391
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
9845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10392
9846
$as_echo "$can_build_shared" >&6; }
10393
9847
 
10394
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
9848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10395
9849
$as_echo_n "checking whether to build shared libraries... " >&6; }
10396
9850
  test "$can_build_shared" = "no" && enable_shared=no
10397
9851
 
10412
9866
    fi
10413
9867
    ;;
10414
9868
  esac
10415
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
9869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10416
9870
$as_echo "$enable_shared" >&6; }
10417
9871
 
10418
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
9872
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10419
9873
$as_echo_n "checking whether to build static libraries... " >&6; }
10420
9874
  # Make sure either enable_shared or enable_static is yes.
10421
9875
  test "$enable_shared" = yes || enable_static=yes
10422
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
9876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10423
9877
$as_echo "$enable_static" >&6; }
10424
9878
 
10425
9879
 
10455
9909
 
10456
9910
 
10457
9911
 
 
9912
#IT_PROG_INTLTOOL([0.40.0])
10458
9913
 
10459
 
version="1.3.5.2"
 
9914
version="1.5.3"
10460
9915
subversion=""
10461
 
 
10462
 
output_files="src/Makefile lisp/Makefile scripts/Makefile themes/Makefile\
10463
 
 lisp/sawfish/ui/Makefile lisp/sawfish/gtk/Makefile sounds/Makefile\
10464
 
 man/Makefile po/Makefile Makedefs Makefile sawfish.spec\
10465
 
 lisp/sawfish/gtk/widgets/font.jl"
10466
 
 
10467
 
SUBDIRS="src lisp scripts themes sounds man po"
10468
 
 
10469
 
 
10470
 
add_subdir () {
10471
 
  sub=$1; shift
10472
 
  SUBDIRS="$SUBDIRS $sub"
10473
 
  output_files="$output_files $sub/Makefile"
10474
 
  for ext in $*; do
10475
 
    output_files="$output_files $sub/$ext"
10476
 
  done
10477
 
  unset sub
10478
 
}
10479
 
 
10480
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
10481
 
$as_echo_n "checking host system type... " >&6; }
10482
 
if test "${ac_cv_host+set}" = set; then
10483
 
  $as_echo_n "(cached) " >&6
10484
 
else
10485
 
  if test "x$host_alias" = x; then
10486
 
  ac_cv_host=$ac_cv_build
10487
 
else
10488
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
10489
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
10490
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
10491
 
   { (exit 1); exit 1; }; }
10492
 
fi
10493
 
 
10494
 
fi
10495
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
10496
 
$as_echo "$ac_cv_host" >&6; }
10497
 
case $ac_cv_host in
10498
 
*-*-*) ;;
10499
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
10500
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
10501
 
   { (exit 1); exit 1; }; };;
10502
 
esac
10503
 
host=$ac_cv_host
10504
 
ac_save_IFS=$IFS; IFS='-'
10505
 
set x $ac_cv_host
10506
 
shift
10507
 
host_cpu=$1
10508
 
host_vendor=$2
10509
 
shift; shift
10510
 
# Remember, the first character of IFS is used to create $*,
10511
 
# except with old shells:
10512
 
host_os=$*
10513
 
IFS=$ac_save_IFS
10514
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
10515
 
 
10516
 
 
10517
 
 
10518
 
case "${prefix}" in
10519
 
  */)
10520
 
    prefix=`echo ${prefix} | sed -e 's/^\(.*\)\/$/\1/'`
10521
 
    ;;
10522
 
esac
 
9916
codename="24 hours a day - 12 months a year"
 
9917
 
 
9918
VERSION=${version}
 
9919
 
 
9920
PACKAGE="sawfish"
 
9921
GETTEXT_PACKAGE=${PACKAGE}
 
9922
 
 
9923
install_sh=../install-sh
 
9924
 
 
9925
SUBDIRS="src lisp scripts themes sounds man"
10523
9926
 
10524
9927
sawfishdir='${datadir}/sawfish'
10525
9928
lispdir='${sawfishdir}/${version}/lisp'
10526
9929
localedir='${datadir}/locale'
10527
9930
sawfishexecdir='${libexecdir}/sawfish/${version}/${host_type}'
10528
9931
 
10529
 
ac_ext=c
10530
 
ac_cpp='$CPP $CPPFLAGS'
10531
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10532
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10533
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10534
 
if test -n "$ac_tool_prefix"; then
10535
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10536
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
10537
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10538
 
$as_echo_n "checking for $ac_word... " >&6; }
10539
 
if test "${ac_cv_prog_CC+set}" = set; then
10540
 
  $as_echo_n "(cached) " >&6
10541
 
else
10542
 
  if test -n "$CC"; then
10543
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
10544
 
else
10545
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10546
 
for as_dir in $PATH
10547
 
do
10548
 
  IFS=$as_save_IFS
10549
 
  test -z "$as_dir" && as_dir=.
10550
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10551
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10552
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
10553
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10554
 
    break 2
10555
 
  fi
10556
 
done
10557
 
done
10558
 
IFS=$as_save_IFS
10559
 
 
10560
 
fi
10561
 
fi
10562
 
CC=$ac_cv_prog_CC
10563
 
if test -n "$CC"; then
10564
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
10565
 
$as_echo "$CC" >&6; }
10566
 
else
10567
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10568
 
$as_echo "no" >&6; }
10569
 
fi
10570
 
 
10571
 
 
10572
 
fi
10573
 
if test -z "$ac_cv_prog_CC"; then
10574
 
  ac_ct_CC=$CC
10575
 
  # Extract the first word of "gcc", so it can be a program name with args.
10576
 
set dummy gcc; ac_word=$2
10577
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10578
 
$as_echo_n "checking for $ac_word... " >&6; }
10579
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10580
 
  $as_echo_n "(cached) " >&6
10581
 
else
10582
 
  if test -n "$ac_ct_CC"; then
10583
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10584
 
else
10585
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10586
 
for as_dir in $PATH
10587
 
do
10588
 
  IFS=$as_save_IFS
10589
 
  test -z "$as_dir" && as_dir=.
10590
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10591
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10592
 
    ac_cv_prog_ac_ct_CC="gcc"
10593
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10594
 
    break 2
10595
 
  fi
10596
 
done
10597
 
done
10598
 
IFS=$as_save_IFS
10599
 
 
10600
 
fi
10601
 
fi
10602
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
10603
 
if test -n "$ac_ct_CC"; then
10604
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10605
 
$as_echo "$ac_ct_CC" >&6; }
10606
 
else
10607
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10608
 
$as_echo "no" >&6; }
10609
 
fi
10610
 
 
10611
 
  if test "x$ac_ct_CC" = x; then
10612
 
    CC=""
10613
 
  else
10614
 
    case $cross_compiling:$ac_tool_warned in
10615
 
yes:)
10616
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10617
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10618
 
ac_tool_warned=yes ;;
 
9932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
 
9933
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 
9934
if test "${ac_cv_c_const+set}" = set; then :
 
9935
  $as_echo_n "(cached) " >&6
 
9936
else
 
9937
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9938
/* end confdefs.h.  */
 
9939
 
 
9940
int
 
9941
main ()
 
9942
{
 
9943
/* FIXME: Include the comments suggested by Paul. */
 
9944
#ifndef __cplusplus
 
9945
  /* Ultrix mips cc rejects this.  */
 
9946
  typedef int charset[2];
 
9947
  const charset cs;
 
9948
  /* SunOS 4.1.1 cc rejects this.  */
 
9949
  char const *const *pcpcc;
 
9950
  char **ppc;
 
9951
  /* NEC SVR4.0.2 mips cc rejects this.  */
 
9952
  struct point {int x, y;};
 
9953
  static struct point const zero = {0,0};
 
9954
  /* AIX XL C 1.02.0.0 rejects this.
 
9955
     It does not let you subtract one const X* pointer from another in
 
9956
     an arm of an if-expression whose if-part is not a constant
 
9957
     expression */
 
9958
  const char *g = "string";
 
9959
  pcpcc = &g + (g ? g-g : 0);
 
9960
  /* HPUX 7.0 cc rejects these. */
 
9961
  ++pcpcc;
 
9962
  ppc = (char**) pcpcc;
 
9963
  pcpcc = (char const *const *) ppc;
 
9964
  { /* SCO 3.2v4 cc rejects this.  */
 
9965
    char *t;
 
9966
    char const *s = 0 ? (char *) 0 : (char const *) 0;
 
9967
 
 
9968
    *t++ = 0;
 
9969
    if (s) return 0;
 
9970
  }
 
9971
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 
9972
    int x[] = {25, 17};
 
9973
    const int *foo = &x[0];
 
9974
    ++foo;
 
9975
  }
 
9976
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 
9977
    typedef const int *iptr;
 
9978
    iptr p = 0;
 
9979
    ++p;
 
9980
  }
 
9981
  { /* AIX XL C 1.02.0.0 rejects this saying
 
9982
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 
9983
    struct s { int j; const int *ap[3]; };
 
9984
    struct s *b; b->j = 5;
 
9985
  }
 
9986
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 
9987
    const int foo = 10;
 
9988
    if (!foo) return 0;
 
9989
  }
 
9990
  return !cs[0] && !zero.x;
 
9991
#endif
 
9992
 
 
9993
  ;
 
9994
  return 0;
 
9995
}
 
9996
_ACEOF
 
9997
if ac_fn_c_try_compile "$LINENO"; then :
 
9998
  ac_cv_c_const=yes
 
9999
else
 
10000
  ac_cv_c_const=no
 
10001
fi
 
10002
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10003
fi
 
10004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
 
10005
$as_echo "$ac_cv_c_const" >&6; }
 
10006
if test $ac_cv_c_const = no; then
 
10007
 
 
10008
$as_echo "#define const /**/" >>confdefs.h
 
10009
 
 
10010
fi
 
10011
 
 
10012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
 
10013
$as_echo_n "checking for inline... " >&6; }
 
10014
if test "${ac_cv_c_inline+set}" = set; then :
 
10015
  $as_echo_n "(cached) " >&6
 
10016
else
 
10017
  ac_cv_c_inline=no
 
10018
for ac_kw in inline __inline__ __inline; do
 
10019
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10020
/* end confdefs.h.  */
 
10021
#ifndef __cplusplus
 
10022
typedef int foo_t;
 
10023
static $ac_kw foo_t static_foo () {return 0; }
 
10024
$ac_kw foo_t foo () {return 0; }
 
10025
#endif
 
10026
 
 
10027
_ACEOF
 
10028
if ac_fn_c_try_compile "$LINENO"; then :
 
10029
  ac_cv_c_inline=$ac_kw
 
10030
fi
 
10031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10032
  test "$ac_cv_c_inline" != no && break
 
10033
done
 
10034
 
 
10035
fi
 
10036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
 
10037
$as_echo "$ac_cv_c_inline" >&6; }
 
10038
 
 
10039
case $ac_cv_c_inline in
 
10040
  inline | yes) ;;
 
10041
  *)
 
10042
    case $ac_cv_c_inline in
 
10043
      no) ac_val=;;
 
10044
      *) ac_val=$ac_cv_c_inline;;
 
10045
    esac
 
10046
    cat >>confdefs.h <<_ACEOF
 
10047
#ifndef __cplusplus
 
10048
#define inline $ac_val
 
10049
#endif
 
10050
_ACEOF
 
10051
    ;;
10619
10052
esac
10620
 
    CC=$ac_ct_CC
10621
 
  fi
10622
 
else
10623
 
  CC="$ac_cv_prog_CC"
10624
 
fi
10625
 
 
10626
 
if test -z "$CC"; then
10627
 
          if test -n "$ac_tool_prefix"; then
10628
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10629
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
10630
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10631
 
$as_echo_n "checking for $ac_word... " >&6; }
10632
 
if test "${ac_cv_prog_CC+set}" = set; then
10633
 
  $as_echo_n "(cached) " >&6
10634
 
else
10635
 
  if test -n "$CC"; then
10636
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
10637
 
else
10638
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10639
 
for as_dir in $PATH
10640
 
do
10641
 
  IFS=$as_save_IFS
10642
 
  test -z "$as_dir" && as_dir=.
10643
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10644
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10645
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
10646
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10647
 
    break 2
10648
 
  fi
10649
 
done
10650
 
done
10651
 
IFS=$as_save_IFS
10652
 
 
10653
 
fi
10654
 
fi
10655
 
CC=$ac_cv_prog_CC
10656
 
if test -n "$CC"; then
10657
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
10658
 
$as_echo "$CC" >&6; }
10659
 
else
10660
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10661
 
$as_echo "no" >&6; }
10662
 
fi
10663
 
 
10664
 
 
10665
 
  fi
10666
 
fi
10667
 
if test -z "$CC"; then
10668
 
  # Extract the first word of "cc", so it can be a program name with args.
10669
 
set dummy cc; ac_word=$2
10670
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10671
 
$as_echo_n "checking for $ac_word... " >&6; }
10672
 
if test "${ac_cv_prog_CC+set}" = set; then
10673
 
  $as_echo_n "(cached) " >&6
10674
 
else
10675
 
  if test -n "$CC"; then
10676
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
10677
 
else
10678
 
  ac_prog_rejected=no
10679
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10680
 
for as_dir in $PATH
10681
 
do
10682
 
  IFS=$as_save_IFS
10683
 
  test -z "$as_dir" && as_dir=.
10684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10685
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10686
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10687
 
       ac_prog_rejected=yes
10688
 
       continue
10689
 
     fi
10690
 
    ac_cv_prog_CC="cc"
10691
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10692
 
    break 2
10693
 
  fi
10694
 
done
10695
 
done
10696
 
IFS=$as_save_IFS
10697
 
 
10698
 
if test $ac_prog_rejected = yes; then
10699
 
  # We found a bogon in the path, so make sure we never use it.
10700
 
  set dummy $ac_cv_prog_CC
10701
 
  shift
10702
 
  if test $# != 0; then
10703
 
    # We chose a different compiler from the bogus one.
10704
 
    # However, it has the same basename, so the bogon will be chosen
10705
 
    # first if we set CC to just the basename; use the full file name.
10706
 
    shift
10707
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10708
 
  fi
10709
 
fi
10710
 
fi
10711
 
fi
10712
 
CC=$ac_cv_prog_CC
10713
 
if test -n "$CC"; then
10714
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
10715
 
$as_echo "$CC" >&6; }
10716
 
else
10717
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10718
 
$as_echo "no" >&6; }
10719
 
fi
10720
 
 
10721
 
 
10722
 
fi
10723
 
if test -z "$CC"; then
10724
 
  if test -n "$ac_tool_prefix"; then
10725
 
  for ac_prog in cl.exe
10726
 
  do
10727
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10728
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10729
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10730
 
$as_echo_n "checking for $ac_word... " >&6; }
10731
 
if test "${ac_cv_prog_CC+set}" = set; then
10732
 
  $as_echo_n "(cached) " >&6
10733
 
else
10734
 
  if test -n "$CC"; then
10735
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
10736
 
else
10737
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10738
 
for as_dir in $PATH
10739
 
do
10740
 
  IFS=$as_save_IFS
10741
 
  test -z "$as_dir" && as_dir=.
10742
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10743
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10744
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10745
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10746
 
    break 2
10747
 
  fi
10748
 
done
10749
 
done
10750
 
IFS=$as_save_IFS
10751
 
 
10752
 
fi
10753
 
fi
10754
 
CC=$ac_cv_prog_CC
10755
 
if test -n "$CC"; then
10756
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
10757
 
$as_echo "$CC" >&6; }
10758
 
else
10759
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10760
 
$as_echo "no" >&6; }
10761
 
fi
10762
 
 
10763
 
 
10764
 
    test -n "$CC" && break
 
10053
 
 
10054
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 
10055
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 
10056
if test "${ac_cv_c_bigendian+set}" = set; then :
 
10057
  $as_echo_n "(cached) " >&6
 
10058
else
 
10059
  ac_cv_c_bigendian=unknown
 
10060
    # See if we're dealing with a universal compiler.
 
10061
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10062
/* end confdefs.h.  */
 
10063
#ifndef __APPLE_CC__
 
10064
               not a universal capable compiler
 
10065
             #endif
 
10066
             typedef int dummy;
 
10067
 
 
10068
_ACEOF
 
10069
if ac_fn_c_try_compile "$LINENO"; then :
 
10070
 
 
10071
        # Check for potential -arch flags.  It is not universal unless
 
10072
        # there are at least two -arch flags with different values.
 
10073
        ac_arch=
 
10074
        ac_prev=
 
10075
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
10076
         if test -n "$ac_prev"; then
 
10077
           case $ac_word in
 
10078
             i?86 | x86_64 | ppc | ppc64)
 
10079
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
10080
                 ac_arch=$ac_word
 
10081
               else
 
10082
                 ac_cv_c_bigendian=universal
 
10083
                 break
 
10084
               fi
 
10085
               ;;
 
10086
           esac
 
10087
           ac_prev=
 
10088
         elif test "x$ac_word" = "x-arch"; then
 
10089
           ac_prev=arch
 
10090
         fi
 
10091
       done
 
10092
fi
 
10093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10094
    if test $ac_cv_c_bigendian = unknown; then
 
10095
      # See if sys/param.h defines the BYTE_ORDER macro.
 
10096
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10097
/* end confdefs.h.  */
 
10098
#include <sys/types.h>
 
10099
             #include <sys/param.h>
 
10100
 
 
10101
int
 
10102
main ()
 
10103
{
 
10104
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
10105
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
10106
                     && LITTLE_ENDIAN)
 
10107
              bogus endian macros
 
10108
             #endif
 
10109
 
 
10110
  ;
 
10111
  return 0;
 
10112
}
 
10113
_ACEOF
 
10114
if ac_fn_c_try_compile "$LINENO"; then :
 
10115
  # It does; now see whether it defined to BIG_ENDIAN or not.
 
10116
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10117
/* end confdefs.h.  */
 
10118
#include <sys/types.h>
 
10119
                #include <sys/param.h>
 
10120
 
 
10121
int
 
10122
main ()
 
10123
{
 
10124
#if BYTE_ORDER != BIG_ENDIAN
 
10125
                 not big endian
 
10126
                #endif
 
10127
 
 
10128
  ;
 
10129
  return 0;
 
10130
}
 
10131
_ACEOF
 
10132
if ac_fn_c_try_compile "$LINENO"; then :
 
10133
  ac_cv_c_bigendian=yes
 
10134
else
 
10135
  ac_cv_c_bigendian=no
 
10136
fi
 
10137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10138
fi
 
10139
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10140
    fi
 
10141
    if test $ac_cv_c_bigendian = unknown; then
 
10142
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
10143
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10144
/* end confdefs.h.  */
 
10145
#include <limits.h>
 
10146
 
 
10147
int
 
10148
main ()
 
10149
{
 
10150
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
10151
              bogus endian macros
 
10152
             #endif
 
10153
 
 
10154
  ;
 
10155
  return 0;
 
10156
}
 
10157
_ACEOF
 
10158
if ac_fn_c_try_compile "$LINENO"; then :
 
10159
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
10160
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10161
/* end confdefs.h.  */
 
10162
#include <limits.h>
 
10163
 
 
10164
int
 
10165
main ()
 
10166
{
 
10167
#ifndef _BIG_ENDIAN
 
10168
                 not big endian
 
10169
                #endif
 
10170
 
 
10171
  ;
 
10172
  return 0;
 
10173
}
 
10174
_ACEOF
 
10175
if ac_fn_c_try_compile "$LINENO"; then :
 
10176
  ac_cv_c_bigendian=yes
 
10177
else
 
10178
  ac_cv_c_bigendian=no
 
10179
fi
 
10180
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10181
fi
 
10182
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10183
    fi
 
10184
    if test $ac_cv_c_bigendian = unknown; then
 
10185
      # Compile a test program.
 
10186
      if test "$cross_compiling" = yes; then :
 
10187
  # Try to guess by grepping values from an object file.
 
10188
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10189
/* end confdefs.h.  */
 
10190
short int ascii_mm[] =
 
10191
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
10192
                short int ascii_ii[] =
 
10193
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
10194
                int use_ascii (int i) {
 
10195
                  return ascii_mm[i] + ascii_ii[i];
 
10196
                }
 
10197
                short int ebcdic_ii[] =
 
10198
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
10199
                short int ebcdic_mm[] =
 
10200
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
10201
                int use_ebcdic (int i) {
 
10202
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
10203
                }
 
10204
                extern int foo;
 
10205
 
 
10206
int
 
10207
main ()
 
10208
{
 
10209
return use_ascii (foo) == use_ebcdic (foo);
 
10210
  ;
 
10211
  return 0;
 
10212
}
 
10213
_ACEOF
 
10214
if ac_fn_c_try_compile "$LINENO"; then :
 
10215
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
10216
              ac_cv_c_bigendian=yes
 
10217
            fi
 
10218
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
10219
              if test "$ac_cv_c_bigendian" = unknown; then
 
10220
                ac_cv_c_bigendian=no
 
10221
              else
 
10222
                # finding both strings is unlikely to happen, but who knows?
 
10223
                ac_cv_c_bigendian=unknown
 
10224
              fi
 
10225
            fi
 
10226
fi
 
10227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10228
else
 
10229
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10230
/* end confdefs.h.  */
 
10231
$ac_includes_default
 
10232
int
 
10233
main ()
 
10234
{
 
10235
 
 
10236
             /* Are we little or big endian?  From Harbison&Steele.  */
 
10237
             union
 
10238
             {
 
10239
               long int l;
 
10240
               char c[sizeof (long int)];
 
10241
             } u;
 
10242
             u.l = 1;
 
10243
             return u.c[sizeof (long int) - 1] == 1;
 
10244
 
 
10245
  ;
 
10246
  return 0;
 
10247
}
 
10248
_ACEOF
 
10249
if ac_fn_c_try_run "$LINENO"; then :
 
10250
  ac_cv_c_bigendian=no
 
10251
else
 
10252
  ac_cv_c_bigendian=yes
 
10253
fi
 
10254
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
10255
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
10256
fi
 
10257
 
 
10258
    fi
 
10259
fi
 
10260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 
10261
$as_echo "$ac_cv_c_bigendian" >&6; }
 
10262
 case $ac_cv_c_bigendian in #(
 
10263
   yes)
 
10264
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 
10265
;; #(
 
10266
   no)
 
10267
      ;; #(
 
10268
   universal)
 
10269
 
 
10270
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
10271
 
 
10272
     ;; #(
 
10273
   *)
 
10274
     as_fn_error "unknown endianness
 
10275
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 
10276
 esac
 
10277
 
 
10278
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
10279
if test "x$ac_cv_type_size_t" = x""yes; then :
 
10280
 
 
10281
else
 
10282
 
 
10283
cat >>confdefs.h <<_ACEOF
 
10284
#define size_t unsigned int
 
10285
_ACEOF
 
10286
 
 
10287
fi
 
10288
 
 
10289
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 
10290
# for constant arguments.  Useless!
 
10291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
 
10292
$as_echo_n "checking for working alloca.h... " >&6; }
 
10293
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
10294
  $as_echo_n "(cached) " >&6
 
10295
else
 
10296
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10297
/* end confdefs.h.  */
 
10298
#include <alloca.h>
 
10299
int
 
10300
main ()
 
10301
{
 
10302
char *p = (char *) alloca (2 * sizeof (int));
 
10303
                          if (p) return 0;
 
10304
  ;
 
10305
  return 0;
 
10306
}
 
10307
_ACEOF
 
10308
if ac_fn_c_try_link "$LINENO"; then :
 
10309
  ac_cv_working_alloca_h=yes
 
10310
else
 
10311
  ac_cv_working_alloca_h=no
 
10312
fi
 
10313
rm -f core conftest.err conftest.$ac_objext \
 
10314
    conftest$ac_exeext conftest.$ac_ext
 
10315
fi
 
10316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
 
10317
$as_echo "$ac_cv_working_alloca_h" >&6; }
 
10318
if test $ac_cv_working_alloca_h = yes; then
 
10319
 
 
10320
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
 
10321
 
 
10322
fi
 
10323
 
 
10324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
 
10325
$as_echo_n "checking for alloca... " >&6; }
 
10326
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
10327
  $as_echo_n "(cached) " >&6
 
10328
else
 
10329
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10330
/* end confdefs.h.  */
 
10331
#ifdef __GNUC__
 
10332
# define alloca __builtin_alloca
 
10333
#else
 
10334
# ifdef _MSC_VER
 
10335
#  include <malloc.h>
 
10336
#  define alloca _alloca
 
10337
# else
 
10338
#  ifdef HAVE_ALLOCA_H
 
10339
#   include <alloca.h>
 
10340
#  else
 
10341
#   ifdef _AIX
 
10342
 #pragma alloca
 
10343
#   else
 
10344
#    ifndef alloca /* predefined by HP cc +Olibcalls */
 
10345
char *alloca ();
 
10346
#    endif
 
10347
#   endif
 
10348
#  endif
 
10349
# endif
 
10350
#endif
 
10351
 
 
10352
int
 
10353
main ()
 
10354
{
 
10355
char *p = (char *) alloca (1);
 
10356
                                    if (p) return 0;
 
10357
  ;
 
10358
  return 0;
 
10359
}
 
10360
_ACEOF
 
10361
if ac_fn_c_try_link "$LINENO"; then :
 
10362
  ac_cv_func_alloca_works=yes
 
10363
else
 
10364
  ac_cv_func_alloca_works=no
 
10365
fi
 
10366
rm -f core conftest.err conftest.$ac_objext \
 
10367
    conftest$ac_exeext conftest.$ac_ext
 
10368
fi
 
10369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
 
10370
$as_echo "$ac_cv_func_alloca_works" >&6; }
 
10371
 
 
10372
if test $ac_cv_func_alloca_works = yes; then
 
10373
 
 
10374
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
 
10375
 
 
10376
else
 
10377
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
 
10378
# that cause trouble.  Some versions do not even contain alloca or
 
10379
# contain a buggy version.  If you still want to use their alloca,
 
10380
# use ar to extract alloca.o from them instead of compiling alloca.c.
 
10381
 
 
10382
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
 
10383
 
 
10384
$as_echo "#define C_ALLOCA 1" >>confdefs.h
 
10385
 
 
10386
 
 
10387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
 
10388
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
 
10389
if test "${ac_cv_os_cray+set}" = set; then :
 
10390
  $as_echo_n "(cached) " >&6
 
10391
else
 
10392
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10393
/* end confdefs.h.  */
 
10394
#if defined CRAY && ! defined CRAY2
 
10395
webecray
 
10396
#else
 
10397
wenotbecray
 
10398
#endif
 
10399
 
 
10400
_ACEOF
 
10401
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
10402
  $EGREP "webecray" >/dev/null 2>&1; then :
 
10403
  ac_cv_os_cray=yes
 
10404
else
 
10405
  ac_cv_os_cray=no
 
10406
fi
 
10407
rm -f conftest*
 
10408
 
 
10409
fi
 
10410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
 
10411
$as_echo "$ac_cv_os_cray" >&6; }
 
10412
if test $ac_cv_os_cray = yes; then
 
10413
  for ac_func in _getb67 GETB67 getb67; do
 
10414
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
10415
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
10416
eval as_val=\$$as_ac_var
 
10417
   if test "x$as_val" = x""yes; then :
 
10418
 
 
10419
cat >>confdefs.h <<_ACEOF
 
10420
#define CRAY_STACKSEG_END $ac_func
 
10421
_ACEOF
 
10422
 
 
10423
    break
 
10424
fi
 
10425
 
10765
10426
  done
10766
10427
fi
10767
 
if test -z "$CC"; then
10768
 
  ac_ct_CC=$CC
10769
 
  for ac_prog in cl.exe
10770
 
do
10771
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
10772
 
set dummy $ac_prog; ac_word=$2
10773
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10774
 
$as_echo_n "checking for $ac_word... " >&6; }
10775
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10776
 
  $as_echo_n "(cached) " >&6
10777
 
else
10778
 
  if test -n "$ac_ct_CC"; then
10779
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10780
 
else
10781
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10782
 
for as_dir in $PATH
10783
 
do
10784
 
  IFS=$as_save_IFS
10785
 
  test -z "$as_dir" && as_dir=.
10786
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10787
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10788
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
10789
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10790
 
    break 2
10791
 
  fi
10792
 
done
10793
 
done
10794
 
IFS=$as_save_IFS
10795
 
 
10796
 
fi
10797
 
fi
10798
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
10799
 
if test -n "$ac_ct_CC"; then
10800
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10801
 
$as_echo "$ac_ct_CC" >&6; }
10802
 
else
10803
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10804
 
$as_echo "no" >&6; }
10805
 
fi
10806
 
 
10807
 
 
10808
 
  test -n "$ac_ct_CC" && break
10809
 
done
10810
 
 
10811
 
  if test "x$ac_ct_CC" = x; then
10812
 
    CC=""
10813
 
  else
10814
 
    case $cross_compiling:$ac_tool_warned in
10815
 
yes:)
10816
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10817
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10818
 
ac_tool_warned=yes ;;
10819
 
esac
10820
 
    CC=$ac_ct_CC
10821
 
  fi
10822
 
fi
10823
 
 
10824
 
fi
10825
 
 
10826
 
 
10827
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
10828
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10829
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10830
 
See \`config.log' for more details." >&5
10831
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
10832
 
See \`config.log' for more details." >&2;}
10833
 
   { (exit 1); exit 1; }; }; }
10834
 
 
10835
 
# Provide some information about the compiler.
10836
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
10837
 
set X $ac_compile
10838
 
ac_compiler=$2
10839
 
{ (ac_try="$ac_compiler --version >&5"
10840
 
case "(($ac_try" in
10841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842
 
  *) ac_try_echo=$ac_try;;
10843
 
esac
10844
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10845
 
$as_echo "$ac_try_echo") >&5
10846
 
  (eval "$ac_compiler --version >&5") 2>&5
10847
 
  ac_status=$?
10848
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849
 
  (exit $ac_status); }
10850
 
{ (ac_try="$ac_compiler -v >&5"
10851
 
case "(($ac_try" in
10852
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10853
 
  *) ac_try_echo=$ac_try;;
10854
 
esac
10855
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10856
 
$as_echo "$ac_try_echo") >&5
10857
 
  (eval "$ac_compiler -v >&5") 2>&5
10858
 
  ac_status=$?
10859
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860
 
  (exit $ac_status); }
10861
 
{ (ac_try="$ac_compiler -V >&5"
10862
 
case "(($ac_try" in
10863
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864
 
  *) ac_try_echo=$ac_try;;
10865
 
esac
10866
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10867
 
$as_echo "$ac_try_echo") >&5
10868
 
  (eval "$ac_compiler -V >&5") 2>&5
10869
 
  ac_status=$?
10870
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10871
 
  (exit $ac_status); }
10872
 
 
10873
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10874
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10875
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
10876
 
  $as_echo_n "(cached) " >&6
10877
 
else
10878
 
  cat >conftest.$ac_ext <<_ACEOF
10879
 
/* confdefs.h.  */
10880
 
_ACEOF
10881
 
cat confdefs.h >>conftest.$ac_ext
10882
 
cat >>conftest.$ac_ext <<_ACEOF
10883
 
/* end confdefs.h.  */
10884
 
 
10885
 
int
10886
 
main ()
10887
 
{
10888
 
#ifndef __GNUC__
10889
 
       choke me
10890
 
#endif
10891
 
 
10892
 
  ;
10893
 
  return 0;
10894
 
}
10895
 
_ACEOF
10896
 
rm -f conftest.$ac_objext
10897
 
if { (ac_try="$ac_compile"
10898
 
case "(($ac_try" in
10899
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10900
 
  *) ac_try_echo=$ac_try;;
10901
 
esac
10902
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10903
 
$as_echo "$ac_try_echo") >&5
10904
 
  (eval "$ac_compile") 2>conftest.er1
10905
 
  ac_status=$?
10906
 
  grep -v '^ *+' conftest.er1 >conftest.err
10907
 
  rm -f conftest.er1
10908
 
  cat conftest.err >&5
10909
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910
 
  (exit $ac_status); } && {
10911
 
         test -z "$ac_c_werror_flag" ||
10912
 
         test ! -s conftest.err
10913
 
       } && test -s conftest.$ac_objext; then
10914
 
  ac_compiler_gnu=yes
10915
 
else
10916
 
  $as_echo "$as_me: failed program was:" >&5
10917
 
sed 's/^/| /' conftest.$ac_ext >&5
10918
 
 
10919
 
        ac_compiler_gnu=no
10920
 
fi
10921
 
 
10922
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10923
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
10924
 
 
10925
 
fi
10926
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10927
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
10928
 
if test $ac_compiler_gnu = yes; then
10929
 
  GCC=yes
10930
 
else
10931
 
  GCC=
10932
 
fi
10933
 
ac_test_CFLAGS=${CFLAGS+set}
10934
 
ac_save_CFLAGS=$CFLAGS
10935
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10936
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
10937
 
if test "${ac_cv_prog_cc_g+set}" = set; then
10938
 
  $as_echo_n "(cached) " >&6
10939
 
else
10940
 
  ac_save_c_werror_flag=$ac_c_werror_flag
10941
 
   ac_c_werror_flag=yes
10942
 
   ac_cv_prog_cc_g=no
10943
 
   CFLAGS="-g"
10944
 
   cat >conftest.$ac_ext <<_ACEOF
10945
 
/* confdefs.h.  */
10946
 
_ACEOF
10947
 
cat confdefs.h >>conftest.$ac_ext
10948
 
cat >>conftest.$ac_ext <<_ACEOF
10949
 
/* end confdefs.h.  */
10950
 
 
10951
 
int
10952
 
main ()
10953
 
{
10954
 
 
10955
 
  ;
10956
 
  return 0;
10957
 
}
10958
 
_ACEOF
10959
 
rm -f conftest.$ac_objext
10960
 
if { (ac_try="$ac_compile"
10961
 
case "(($ac_try" in
10962
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10963
 
  *) ac_try_echo=$ac_try;;
10964
 
esac
10965
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10966
 
$as_echo "$ac_try_echo") >&5
10967
 
  (eval "$ac_compile") 2>conftest.er1
10968
 
  ac_status=$?
10969
 
  grep -v '^ *+' conftest.er1 >conftest.err
10970
 
  rm -f conftest.er1
10971
 
  cat conftest.err >&5
10972
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973
 
  (exit $ac_status); } && {
10974
 
         test -z "$ac_c_werror_flag" ||
10975
 
         test ! -s conftest.err
10976
 
       } && test -s conftest.$ac_objext; then
10977
 
  ac_cv_prog_cc_g=yes
10978
 
else
10979
 
  $as_echo "$as_me: failed program was:" >&5
10980
 
sed 's/^/| /' conftest.$ac_ext >&5
10981
 
 
10982
 
        CFLAGS=""
10983
 
      cat >conftest.$ac_ext <<_ACEOF
10984
 
/* confdefs.h.  */
10985
 
_ACEOF
10986
 
cat confdefs.h >>conftest.$ac_ext
10987
 
cat >>conftest.$ac_ext <<_ACEOF
10988
 
/* end confdefs.h.  */
10989
 
 
10990
 
int
10991
 
main ()
10992
 
{
10993
 
 
10994
 
  ;
10995
 
  return 0;
10996
 
}
10997
 
_ACEOF
10998
 
rm -f conftest.$ac_objext
10999
 
if { (ac_try="$ac_compile"
11000
 
case "(($ac_try" in
11001
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11002
 
  *) ac_try_echo=$ac_try;;
11003
 
esac
11004
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11005
 
$as_echo "$ac_try_echo") >&5
11006
 
  (eval "$ac_compile") 2>conftest.er1
11007
 
  ac_status=$?
11008
 
  grep -v '^ *+' conftest.er1 >conftest.err
11009
 
  rm -f conftest.er1
11010
 
  cat conftest.err >&5
11011
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012
 
  (exit $ac_status); } && {
11013
 
         test -z "$ac_c_werror_flag" ||
11014
 
         test ! -s conftest.err
11015
 
       } && test -s conftest.$ac_objext; then
11016
 
  :
11017
 
else
11018
 
  $as_echo "$as_me: failed program was:" >&5
11019
 
sed 's/^/| /' conftest.$ac_ext >&5
11020
 
 
11021
 
        ac_c_werror_flag=$ac_save_c_werror_flag
11022
 
         CFLAGS="-g"
11023
 
         cat >conftest.$ac_ext <<_ACEOF
11024
 
/* confdefs.h.  */
11025
 
_ACEOF
11026
 
cat confdefs.h >>conftest.$ac_ext
11027
 
cat >>conftest.$ac_ext <<_ACEOF
11028
 
/* end confdefs.h.  */
11029
 
 
11030
 
int
11031
 
main ()
11032
 
{
11033
 
 
11034
 
  ;
11035
 
  return 0;
11036
 
}
11037
 
_ACEOF
11038
 
rm -f conftest.$ac_objext
11039
 
if { (ac_try="$ac_compile"
11040
 
case "(($ac_try" in
11041
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11042
 
  *) ac_try_echo=$ac_try;;
11043
 
esac
11044
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11045
 
$as_echo "$ac_try_echo") >&5
11046
 
  (eval "$ac_compile") 2>conftest.er1
11047
 
  ac_status=$?
11048
 
  grep -v '^ *+' conftest.er1 >conftest.err
11049
 
  rm -f conftest.er1
11050
 
  cat conftest.err >&5
11051
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052
 
  (exit $ac_status); } && {
11053
 
         test -z "$ac_c_werror_flag" ||
11054
 
         test ! -s conftest.err
11055
 
       } && test -s conftest.$ac_objext; then
11056
 
  ac_cv_prog_cc_g=yes
11057
 
else
11058
 
  $as_echo "$as_me: failed program was:" >&5
11059
 
sed 's/^/| /' conftest.$ac_ext >&5
11060
 
 
11061
 
 
11062
 
fi
11063
 
 
11064
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11065
 
fi
11066
 
 
11067
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11068
 
fi
11069
 
 
11070
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11071
 
   ac_c_werror_flag=$ac_save_c_werror_flag
11072
 
fi
11073
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11074
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
11075
 
if test "$ac_test_CFLAGS" = set; then
11076
 
  CFLAGS=$ac_save_CFLAGS
11077
 
elif test $ac_cv_prog_cc_g = yes; then
11078
 
  if test "$GCC" = yes; then
11079
 
    CFLAGS="-g -O2"
11080
 
  else
11081
 
    CFLAGS="-g"
11082
 
  fi
11083
 
else
11084
 
  if test "$GCC" = yes; then
11085
 
    CFLAGS="-O2"
11086
 
  else
11087
 
    CFLAGS=
11088
 
  fi
11089
 
fi
11090
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
11091
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11092
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
11093
 
  $as_echo_n "(cached) " >&6
11094
 
else
11095
 
  ac_cv_prog_cc_c89=no
11096
 
ac_save_CC=$CC
11097
 
cat >conftest.$ac_ext <<_ACEOF
11098
 
/* confdefs.h.  */
11099
 
_ACEOF
11100
 
cat confdefs.h >>conftest.$ac_ext
11101
 
cat >>conftest.$ac_ext <<_ACEOF
11102
 
/* end confdefs.h.  */
11103
 
#include <stdarg.h>
11104
 
#include <stdio.h>
11105
 
#include <sys/types.h>
11106
 
#include <sys/stat.h>
11107
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11108
 
struct buf { int x; };
11109
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
11110
 
static char *e (p, i)
11111
 
     char **p;
11112
 
     int i;
11113
 
{
11114
 
  return p[i];
11115
 
}
11116
 
static char *f (char * (*g) (char **, int), char **p, ...)
11117
 
{
11118
 
  char *s;
11119
 
  va_list v;
11120
 
  va_start (v,p);
11121
 
  s = g (p, va_arg (v,int));
11122
 
  va_end (v);
11123
 
  return s;
11124
 
}
11125
 
 
11126
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11127
 
   function prototypes and stuff, but not '\xHH' hex character constants.
11128
 
   These don't provoke an error unfortunately, instead are silently treated
11129
 
   as 'x'.  The following induces an error, until -std is added to get
11130
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11131
 
   array size at least.  It's necessary to write '\x00'==0 to get something
11132
 
   that's true only with -std.  */
11133
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11134
 
 
11135
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11136
 
   inside strings and character constants.  */
11137
 
#define FOO(x) 'x'
11138
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11139
 
 
11140
 
int test (int i, double x);
11141
 
struct s1 {int (*f) (int a);};
11142
 
struct s2 {int (*f) (double a);};
11143
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11144
 
int argc;
11145
 
char **argv;
11146
 
int
11147
 
main ()
11148
 
{
11149
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11150
 
  ;
11151
 
  return 0;
11152
 
}
11153
 
_ACEOF
11154
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11155
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11156
 
do
11157
 
  CC="$ac_save_CC $ac_arg"
11158
 
  rm -f conftest.$ac_objext
11159
 
if { (ac_try="$ac_compile"
11160
 
case "(($ac_try" in
11161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11162
 
  *) ac_try_echo=$ac_try;;
11163
 
esac
11164
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11165
 
$as_echo "$ac_try_echo") >&5
11166
 
  (eval "$ac_compile") 2>conftest.er1
11167
 
  ac_status=$?
11168
 
  grep -v '^ *+' conftest.er1 >conftest.err
11169
 
  rm -f conftest.er1
11170
 
  cat conftest.err >&5
11171
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172
 
  (exit $ac_status); } && {
11173
 
         test -z "$ac_c_werror_flag" ||
11174
 
         test ! -s conftest.err
11175
 
       } && test -s conftest.$ac_objext; then
11176
 
  ac_cv_prog_cc_c89=$ac_arg
11177
 
else
11178
 
  $as_echo "$as_me: failed program was:" >&5
11179
 
sed 's/^/| /' conftest.$ac_ext >&5
11180
 
 
11181
 
 
11182
 
fi
11183
 
 
11184
 
rm -f core conftest.err conftest.$ac_objext
11185
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
11186
 
done
11187
 
rm -f conftest.$ac_ext
11188
 
CC=$ac_save_CC
11189
 
 
11190
 
fi
11191
 
# AC_CACHE_VAL
11192
 
case "x$ac_cv_prog_cc_c89" in
11193
 
  x)
11194
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
11195
 
$as_echo "none needed" >&6; } ;;
11196
 
  xno)
11197
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
11198
 
$as_echo "unsupported" >&6; } ;;
11199
 
  *)
11200
 
    CC="$CC $ac_cv_prog_cc_c89"
11201
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
11202
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11203
 
esac
11204
 
 
11205
 
 
11206
 
ac_ext=c
11207
 
ac_cpp='$CPP $CPPFLAGS'
11208
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11209
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11210
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11211
 
 
11212
 
ac_ext=c
11213
 
ac_cpp='$CPP $CPPFLAGS'
11214
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11215
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11216
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11217
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11218
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
11219
 
# On Suns, sometimes $CPP names a directory.
11220
 
if test -n "$CPP" && test -d "$CPP"; then
11221
 
  CPP=
11222
 
fi
11223
 
if test -z "$CPP"; then
11224
 
  if test "${ac_cv_prog_CPP+set}" = set; then
11225
 
  $as_echo_n "(cached) " >&6
11226
 
else
11227
 
      # Double quotes because CPP needs to be expanded
11228
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11229
 
    do
11230
 
      ac_preproc_ok=false
11231
 
for ac_c_preproc_warn_flag in '' yes
11232
 
do
11233
 
  # Use a header file that comes with gcc, so configuring glibc
11234
 
  # with a fresh cross-compiler works.
11235
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11236
 
  # <limits.h> exists even on freestanding compilers.
11237
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
11238
 
  # not just through cpp. "Syntax error" is here to catch this case.
11239
 
  cat >conftest.$ac_ext <<_ACEOF
11240
 
/* confdefs.h.  */
11241
 
_ACEOF
11242
 
cat confdefs.h >>conftest.$ac_ext
11243
 
cat >>conftest.$ac_ext <<_ACEOF
11244
 
/* end confdefs.h.  */
11245
 
#ifdef __STDC__
11246
 
# include <limits.h>
11247
 
#else
11248
 
# include <assert.h>
11249
 
#endif
11250
 
                     Syntax error
11251
 
_ACEOF
11252
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11253
 
case "(($ac_try" in
11254
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11255
 
  *) ac_try_echo=$ac_try;;
11256
 
esac
11257
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11258
 
$as_echo "$ac_try_echo") >&5
11259
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11260
 
  ac_status=$?
11261
 
  grep -v '^ *+' conftest.er1 >conftest.err
11262
 
  rm -f conftest.er1
11263
 
  cat conftest.err >&5
11264
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265
 
  (exit $ac_status); } >/dev/null && {
11266
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11267
 
         test ! -s conftest.err
11268
 
       }; then
11269
 
  :
11270
 
else
11271
 
  $as_echo "$as_me: failed program was:" >&5
11272
 
sed 's/^/| /' conftest.$ac_ext >&5
11273
 
 
11274
 
  # Broken: fails on valid input.
11275
 
continue
11276
 
fi
11277
 
 
11278
 
rm -f conftest.err conftest.$ac_ext
11279
 
 
11280
 
  # OK, works on sane cases.  Now check whether nonexistent headers
11281
 
  # can be detected and how.
11282
 
  cat >conftest.$ac_ext <<_ACEOF
11283
 
/* confdefs.h.  */
11284
 
_ACEOF
11285
 
cat confdefs.h >>conftest.$ac_ext
11286
 
cat >>conftest.$ac_ext <<_ACEOF
11287
 
/* end confdefs.h.  */
11288
 
#include <ac_nonexistent.h>
11289
 
_ACEOF
11290
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11291
 
case "(($ac_try" in
11292
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11293
 
  *) ac_try_echo=$ac_try;;
11294
 
esac
11295
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11296
 
$as_echo "$ac_try_echo") >&5
11297
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11298
 
  ac_status=$?
11299
 
  grep -v '^ *+' conftest.er1 >conftest.err
11300
 
  rm -f conftest.er1
11301
 
  cat conftest.err >&5
11302
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303
 
  (exit $ac_status); } >/dev/null && {
11304
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11305
 
         test ! -s conftest.err
11306
 
       }; then
11307
 
  # Broken: success on invalid input.
11308
 
continue
11309
 
else
11310
 
  $as_echo "$as_me: failed program was:" >&5
11311
 
sed 's/^/| /' conftest.$ac_ext >&5
11312
 
 
11313
 
  # Passes both tests.
11314
 
ac_preproc_ok=:
11315
 
break
11316
 
fi
11317
 
 
11318
 
rm -f conftest.err conftest.$ac_ext
11319
 
 
11320
 
done
11321
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11322
 
rm -f conftest.err conftest.$ac_ext
11323
 
if $ac_preproc_ok; then
11324
 
  break
11325
 
fi
11326
 
 
11327
 
    done
11328
 
    ac_cv_prog_CPP=$CPP
11329
 
 
11330
 
fi
11331
 
  CPP=$ac_cv_prog_CPP
11332
 
else
11333
 
  ac_cv_prog_CPP=$CPP
11334
 
fi
11335
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
11336
 
$as_echo "$CPP" >&6; }
11337
 
ac_preproc_ok=false
11338
 
for ac_c_preproc_warn_flag in '' yes
11339
 
do
11340
 
  # Use a header file that comes with gcc, so configuring glibc
11341
 
  # with a fresh cross-compiler works.
11342
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11343
 
  # <limits.h> exists even on freestanding compilers.
11344
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
11345
 
  # not just through cpp. "Syntax error" is here to catch this case.
11346
 
  cat >conftest.$ac_ext <<_ACEOF
11347
 
/* confdefs.h.  */
11348
 
_ACEOF
11349
 
cat confdefs.h >>conftest.$ac_ext
11350
 
cat >>conftest.$ac_ext <<_ACEOF
11351
 
/* end confdefs.h.  */
11352
 
#ifdef __STDC__
11353
 
# include <limits.h>
11354
 
#else
11355
 
# include <assert.h>
11356
 
#endif
11357
 
                     Syntax error
11358
 
_ACEOF
11359
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11360
 
case "(($ac_try" in
11361
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11362
 
  *) ac_try_echo=$ac_try;;
11363
 
esac
11364
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11365
 
$as_echo "$ac_try_echo") >&5
11366
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11367
 
  ac_status=$?
11368
 
  grep -v '^ *+' conftest.er1 >conftest.err
11369
 
  rm -f conftest.er1
11370
 
  cat conftest.err >&5
11371
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372
 
  (exit $ac_status); } >/dev/null && {
11373
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11374
 
         test ! -s conftest.err
11375
 
       }; then
11376
 
  :
11377
 
else
11378
 
  $as_echo "$as_me: failed program was:" >&5
11379
 
sed 's/^/| /' conftest.$ac_ext >&5
11380
 
 
11381
 
  # Broken: fails on valid input.
11382
 
continue
11383
 
fi
11384
 
 
11385
 
rm -f conftest.err conftest.$ac_ext
11386
 
 
11387
 
  # OK, works on sane cases.  Now check whether nonexistent headers
11388
 
  # can be detected and how.
11389
 
  cat >conftest.$ac_ext <<_ACEOF
11390
 
/* confdefs.h.  */
11391
 
_ACEOF
11392
 
cat confdefs.h >>conftest.$ac_ext
11393
 
cat >>conftest.$ac_ext <<_ACEOF
11394
 
/* end confdefs.h.  */
11395
 
#include <ac_nonexistent.h>
11396
 
_ACEOF
11397
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11398
 
case "(($ac_try" in
11399
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11400
 
  *) ac_try_echo=$ac_try;;
11401
 
esac
11402
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11403
 
$as_echo "$ac_try_echo") >&5
11404
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11405
 
  ac_status=$?
11406
 
  grep -v '^ *+' conftest.er1 >conftest.err
11407
 
  rm -f conftest.er1
11408
 
  cat conftest.err >&5
11409
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410
 
  (exit $ac_status); } >/dev/null && {
11411
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11412
 
         test ! -s conftest.err
11413
 
       }; then
11414
 
  # Broken: success on invalid input.
11415
 
continue
11416
 
else
11417
 
  $as_echo "$as_me: failed program was:" >&5
11418
 
sed 's/^/| /' conftest.$ac_ext >&5
11419
 
 
11420
 
  # Passes both tests.
11421
 
ac_preproc_ok=:
11422
 
break
11423
 
fi
11424
 
 
11425
 
rm -f conftest.err conftest.$ac_ext
11426
 
 
11427
 
done
11428
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11429
 
rm -f conftest.err conftest.$ac_ext
11430
 
if $ac_preproc_ok; then
11431
 
  :
11432
 
else
11433
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11434
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11435
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11436
 
See \`config.log' for more details." >&5
11437
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11438
 
See \`config.log' for more details." >&2;}
11439
 
   { (exit 1); exit 1; }; }; }
11440
 
fi
11441
 
 
11442
 
ac_ext=c
11443
 
ac_cpp='$CPP $CPPFLAGS'
11444
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11445
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11446
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10428
 
 
10429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
 
10430
$as_echo_n "checking stack direction for C alloca... " >&6; }
 
10431
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
10432
  $as_echo_n "(cached) " >&6
 
10433
else
 
10434
  if test "$cross_compiling" = yes; then :
 
10435
  ac_cv_c_stack_direction=0
 
10436
else
 
10437
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10438
/* end confdefs.h.  */
 
10439
$ac_includes_default
 
10440
int
 
10441
find_stack_direction ()
 
10442
{
 
10443
  static char *addr = 0;
 
10444
  auto char dummy;
 
10445
  if (addr == 0)
 
10446
    {
 
10447
      addr = &dummy;
 
10448
      return find_stack_direction ();
 
10449
    }
 
10450
  else
 
10451
    return (&dummy > addr) ? 1 : -1;
 
10452
}
 
10453
 
 
10454
int
 
10455
main ()
 
10456
{
 
10457
  return find_stack_direction () < 0;
 
10458
}
 
10459
_ACEOF
 
10460
if ac_fn_c_try_run "$LINENO"; then :
 
10461
  ac_cv_c_stack_direction=1
 
10462
else
 
10463
  ac_cv_c_stack_direction=-1
 
10464
fi
 
10465
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
10466
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
10467
fi
 
10468
 
 
10469
fi
 
10470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
 
10471
$as_echo "$ac_cv_c_stack_direction" >&6; }
 
10472
cat >>confdefs.h <<_ACEOF
 
10473
#define STACK_DIRECTION $ac_cv_c_stack_direction
 
10474
_ACEOF
 
10475
 
 
10476
 
 
10477
fi
 
10478
 
 
10479
for ac_func in vprintf
 
10480
do :
 
10481
  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
 
10482
if test "x$ac_cv_func_vprintf" = x""yes; then :
 
10483
  cat >>confdefs.h <<_ACEOF
 
10484
#define HAVE_VPRINTF 1
 
10485
_ACEOF
 
10486
 
 
10487
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
 
10488
if test "x$ac_cv_func__doprnt" = x""yes; then :
 
10489
 
 
10490
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
 
10491
 
 
10492
fi
 
10493
 
 
10494
fi
 
10495
done
 
10496
 
 
10497
 
 
10498
for ac_func in gethostname socket snprintf getpagesize
 
10499
do :
 
10500
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
10501
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
10502
eval as_val=\$$as_ac_var
 
10503
   if test "x$as_val" = x""yes; then :
 
10504
  cat >>confdefs.h <<_ACEOF
 
10505
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
10506
_ACEOF
 
10507
 
 
10508
fi
 
10509
done
11447
10510
 
11448
10511
# Find a good install program.  We prefer a C program (faster),
11449
10512
# so one script is as good as another.  But avoid the broken or
11459
10522
# OS/2's system install, which has a completely different semantic
11460
10523
# ./install, which can be erroneously created by make from ./install.sh.
11461
10524
# Reject install programs that cannot install multiple files.
11462
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
10525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11463
10526
$as_echo_n "checking for a BSD-compatible install... " >&6; }
11464
10527
if test -z "$INSTALL"; then
11465
 
if test "${ac_cv_path_install+set}" = set; then
 
10528
if test "${ac_cv_path_install+set}" = set; then :
11466
10529
  $as_echo_n "(cached) " >&6
11467
10530
else
11468
10531
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11470
10533
do
11471
10534
  IFS=$as_save_IFS
11472
10535
  test -z "$as_dir" && as_dir=.
11473
 
  # Account for people who put trailing slashes in PATH elements.
11474
 
case $as_dir/ in
11475
 
  ./ | .// | /cC/* | \
 
10536
    # Account for people who put trailing slashes in PATH elements.
 
10537
case $as_dir/ in #((
 
10538
  ./ | .// | /[cC]/* | \
11476
10539
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11477
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
10540
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
11478
10541
  /usr/ucb/* ) ;;
11479
10542
  *)
11480
10543
    # OSF1 and SCO ODT 3.0 have their own names for install.
11511
10574
    ;;
11512
10575
esac
11513
10576
 
11514
 
done
 
10577
  done
11515
10578
IFS=$as_save_IFS
11516
10579
 
11517
10580
rm -rf conftest.one conftest.two conftest.dir
11527
10590
    INSTALL=$ac_install_sh
11528
10591
  fi
11529
10592
fi
11530
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
10593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11531
10594
$as_echo "$INSTALL" >&6; }
11532
10595
 
11533
10596
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11538
10601
 
11539
10602
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11540
10603
 
11541
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
11542
 
$as_echo_n "checking whether ln -s works... " >&6; }
11543
 
LN_S=$as_ln_s
11544
 
if test "$LN_S" = "ln -s"; then
11545
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
11546
 
$as_echo "yes" >&6; }
11547
 
else
11548
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11549
 
$as_echo "no, using $LN_S" >&6; }
11550
 
fi
11551
 
 
11552
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11553
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11554
 
set x ${MAKE-make}
11555
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11556
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
11557
 
  $as_echo_n "(cached) " >&6
11558
 
else
11559
 
  cat >conftest.make <<\_ACEOF
11560
 
SHELL = /bin/sh
11561
 
all:
11562
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
11563
 
_ACEOF
11564
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11565
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
11566
 
  *@@@%%%=?*=@@@%%%*)
11567
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
11568
 
  *)
11569
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
11570
 
esac
11571
 
rm -f conftest.make
11572
 
fi
11573
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11574
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
11575
 
$as_echo "yes" >&6; }
11576
 
  SET_MAKE=
11577
 
else
11578
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11579
 
$as_echo "no" >&6; }
11580
 
  SET_MAKE="MAKE=${MAKE-make}"
11581
 
fi
11582
 
 
11583
 
if test $ac_cv_c_compiler_gnu = yes; then
11584
 
    { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11585
 
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
11586
 
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11587
 
  $as_echo_n "(cached) " >&6
11588
 
else
11589
 
    ac_pattern="Autoconf.*'x'"
11590
 
  cat >conftest.$ac_ext <<_ACEOF
11591
 
/* confdefs.h.  */
11592
 
_ACEOF
11593
 
cat confdefs.h >>conftest.$ac_ext
11594
 
cat >>conftest.$ac_ext <<_ACEOF
11595
 
/* end confdefs.h.  */
11596
 
#include <sgtty.h>
11597
 
Autoconf TIOCGETP
11598
 
_ACEOF
11599
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11600
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
11601
 
  ac_cv_prog_gcc_traditional=yes
11602
 
else
11603
 
  ac_cv_prog_gcc_traditional=no
11604
 
fi
11605
 
rm -f conftest*
11606
 
 
11607
 
 
11608
 
  if test $ac_cv_prog_gcc_traditional = no; then
11609
 
    cat >conftest.$ac_ext <<_ACEOF
11610
 
/* confdefs.h.  */
11611
 
_ACEOF
11612
 
cat confdefs.h >>conftest.$ac_ext
11613
 
cat >>conftest.$ac_ext <<_ACEOF
11614
 
/* end confdefs.h.  */
11615
 
#include <termio.h>
11616
 
Autoconf TCGETA
11617
 
_ACEOF
11618
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11619
 
  $EGREP "$ac_pattern" >/dev/null 2>&1; then
11620
 
  ac_cv_prog_gcc_traditional=yes
11621
 
fi
11622
 
rm -f conftest*
11623
 
 
11624
 
  fi
11625
 
fi
11626
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11627
 
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11628
 
  if test $ac_cv_prog_gcc_traditional = yes; then
11629
 
    CC="$CC -traditional"
11630
 
  fi
11631
 
fi
11632
 
 
11633
 
 
11634
 
if test "$INSTALL" = "$ac_install_sh"; then
11635
 
    INSTALL='\${top_srcdir}/etc/install-sh -c'
11636
 
fi
11637
 
 
11638
 
 
11639
 
{ $as_echo "$as_me:$LINENO: checking for xdr_void in -lnsl" >&5
 
10604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xdr_void in -lnsl" >&5
11640
10605
$as_echo_n "checking for xdr_void in -lnsl... " >&6; }
11641
 
if test "${ac_cv_lib_nsl_xdr_void+set}" = set; then
 
10606
if test "${ac_cv_lib_nsl_xdr_void+set}" = set; then :
11642
10607
  $as_echo_n "(cached) " >&6
11643
10608
else
11644
10609
  ac_check_lib_save_LIBS=$LIBS
11645
10610
LIBS="-lnsl  $LIBS"
11646
 
cat >conftest.$ac_ext <<_ACEOF
11647
 
/* confdefs.h.  */
11648
 
_ACEOF
11649
 
cat confdefs.h >>conftest.$ac_ext
11650
 
cat >>conftest.$ac_ext <<_ACEOF
 
10611
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651
10612
/* end confdefs.h.  */
11652
10613
 
11653
10614
/* Override any GCC internal prototype to avoid an error.
11665
10626
  return 0;
11666
10627
}
11667
10628
_ACEOF
11668
 
rm -f conftest.$ac_objext conftest$ac_exeext
11669
 
if { (ac_try="$ac_link"
11670
 
case "(($ac_try" in
11671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11672
 
  *) ac_try_echo=$ac_try;;
11673
 
esac
11674
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11675
 
$as_echo "$ac_try_echo") >&5
11676
 
  (eval "$ac_link") 2>conftest.er1
11677
 
  ac_status=$?
11678
 
  grep -v '^ *+' conftest.er1 >conftest.err
11679
 
  rm -f conftest.er1
11680
 
  cat conftest.err >&5
11681
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682
 
  (exit $ac_status); } && {
11683
 
         test -z "$ac_c_werror_flag" ||
11684
 
         test ! -s conftest.err
11685
 
       } && test -s conftest$ac_exeext && {
11686
 
         test "$cross_compiling" = yes ||
11687
 
         $as_test_x conftest$ac_exeext
11688
 
       }; then
 
10629
if ac_fn_c_try_link "$LINENO"; then :
11689
10630
  ac_cv_lib_nsl_xdr_void=yes
11690
10631
else
11691
 
  $as_echo "$as_me: failed program was:" >&5
11692
 
sed 's/^/| /' conftest.$ac_ext >&5
11693
 
 
11694
 
        ac_cv_lib_nsl_xdr_void=no
 
10632
  ac_cv_lib_nsl_xdr_void=no
11695
10633
fi
11696
 
 
11697
 
rm -rf conftest.dSYM
11698
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11699
 
      conftest$ac_exeext conftest.$ac_ext
 
10634
rm -f core conftest.err conftest.$ac_objext \
 
10635
    conftest$ac_exeext conftest.$ac_ext
11700
10636
LIBS=$ac_check_lib_save_LIBS
11701
10637
fi
11702
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_xdr_void" >&5
 
10638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_xdr_void" >&5
11703
10639
$as_echo "$ac_cv_lib_nsl_xdr_void" >&6; }
11704
 
if test "x$ac_cv_lib_nsl_xdr_void" = x""yes; then
 
10640
if test "x$ac_cv_lib_nsl_xdr_void" = x""yes; then :
11705
10641
  cat >>confdefs.h <<_ACEOF
11706
10642
#define HAVE_LIBNSL 1
11707
10643
_ACEOF
11710
10646
 
11711
10647
fi
11712
10648
 
11713
 
 
11714
 
{ $as_echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
 
10649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bind in -lsocket" >&5
11715
10650
$as_echo_n "checking for bind in -lsocket... " >&6; }
11716
 
if test "${ac_cv_lib_socket_bind+set}" = set; then
 
10651
if test "${ac_cv_lib_socket_bind+set}" = set; then :
11717
10652
  $as_echo_n "(cached) " >&6
11718
10653
else
11719
10654
  ac_check_lib_save_LIBS=$LIBS
11720
10655
LIBS="-lsocket  $LIBS"
11721
 
cat >conftest.$ac_ext <<_ACEOF
11722
 
/* confdefs.h.  */
11723
 
_ACEOF
11724
 
cat confdefs.h >>conftest.$ac_ext
11725
 
cat >>conftest.$ac_ext <<_ACEOF
 
10656
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726
10657
/* end confdefs.h.  */
11727
10658
 
11728
10659
/* Override any GCC internal prototype to avoid an error.
11740
10671
  return 0;
11741
10672
}
11742
10673
_ACEOF
11743
 
rm -f conftest.$ac_objext conftest$ac_exeext
11744
 
if { (ac_try="$ac_link"
11745
 
case "(($ac_try" in
11746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11747
 
  *) ac_try_echo=$ac_try;;
11748
 
esac
11749
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11750
 
$as_echo "$ac_try_echo") >&5
11751
 
  (eval "$ac_link") 2>conftest.er1
11752
 
  ac_status=$?
11753
 
  grep -v '^ *+' conftest.er1 >conftest.err
11754
 
  rm -f conftest.er1
11755
 
  cat conftest.err >&5
11756
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757
 
  (exit $ac_status); } && {
11758
 
         test -z "$ac_c_werror_flag" ||
11759
 
         test ! -s conftest.err
11760
 
       } && test -s conftest$ac_exeext && {
11761
 
         test "$cross_compiling" = yes ||
11762
 
         $as_test_x conftest$ac_exeext
11763
 
       }; then
 
10674
if ac_fn_c_try_link "$LINENO"; then :
11764
10675
  ac_cv_lib_socket_bind=yes
11765
10676
else
11766
 
  $as_echo "$as_me: failed program was:" >&5
11767
 
sed 's/^/| /' conftest.$ac_ext >&5
11768
 
 
11769
 
        ac_cv_lib_socket_bind=no
 
10677
  ac_cv_lib_socket_bind=no
11770
10678
fi
11771
 
 
11772
 
rm -rf conftest.dSYM
11773
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11774
 
      conftest$ac_exeext conftest.$ac_ext
 
10679
rm -f core conftest.err conftest.$ac_objext \
 
10680
    conftest$ac_exeext conftest.$ac_ext
11775
10681
LIBS=$ac_check_lib_save_LIBS
11776
10682
fi
11777
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
 
10683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_bind" >&5
11778
10684
$as_echo "$ac_cv_lib_socket_bind" >&6; }
11779
 
if test "x$ac_cv_lib_socket_bind" = x""yes; then
 
10685
if test "x$ac_cv_lib_socket_bind" = x""yes; then :
11780
10686
  cat >>confdefs.h <<_ACEOF
11781
10687
#define HAVE_LIBSOCKET 1
11782
10688
_ACEOF
11785
10691
 
11786
10692
fi
11787
10693
 
11788
 
 
11789
 
{ $as_echo "$as_me:$LINENO: checking for X" >&5
11790
 
$as_echo_n "checking for X... " >&6; }
11791
 
 
11792
 
 
11793
 
# Check whether --with-x was given.
11794
 
if test "${with_x+set}" = set; then
11795
 
  withval=$with_x;
11796
 
fi
11797
 
 
11798
 
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11799
 
if test "x$with_x" = xno; then
11800
 
  # The user explicitly disabled X.
11801
 
  have_x=disabled
11802
 
else
11803
 
  case $x_includes,$x_libraries in #(
11804
 
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
11805
 
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
11806
 
   { (exit 1); exit 1; }; };; #(
11807
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11808
 
  $as_echo_n "(cached) " >&6
11809
 
else
11810
 
  # One or both of the vars are not set, and there is no cached value.
11811
 
ac_x_includes=no ac_x_libraries=no
11812
 
rm -f -r conftest.dir
11813
 
if mkdir conftest.dir; then
11814
 
  cd conftest.dir
11815
 
  cat >Imakefile <<'_ACEOF'
11816
 
incroot:
11817
 
        @echo incroot='${INCROOT}'
11818
 
usrlibdir:
11819
 
        @echo usrlibdir='${USRLIBDIR}'
11820
 
libdir:
11821
 
        @echo libdir='${LIBDIR}'
11822
 
_ACEOF
11823
 
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11824
 
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11825
 
    for ac_var in incroot usrlibdir libdir; do
11826
 
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11827
 
    done
11828
 
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11829
 
    for ac_extension in a so sl dylib la dll; do
11830
 
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11831
 
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
11832
 
        ac_im_usrlibdir=$ac_im_libdir; break
11833
 
      fi
11834
 
    done
11835
 
    # Screen out bogus values from the imake configuration.  They are
11836
 
    # bogus both because they are the default anyway, and because
11837
 
    # using them would break gcc on systems where it needs fixed includes.
11838
 
    case $ac_im_incroot in
11839
 
        /usr/include) ac_x_includes= ;;
11840
 
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11841
 
    esac
11842
 
    case $ac_im_usrlibdir in
11843
 
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
11844
 
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11845
 
    esac
11846
 
  fi
11847
 
  cd ..
11848
 
  rm -f -r conftest.dir
11849
 
fi
11850
 
 
11851
 
# Standard set of common directories for X headers.
11852
 
# Check X11 before X11Rn because it is often a symlink to the current release.
11853
 
ac_x_header_dirs='
11854
 
/usr/X11/include
11855
 
/usr/X11R6/include
11856
 
/usr/X11R5/include
11857
 
/usr/X11R4/include
11858
 
 
11859
 
/usr/include/X11
11860
 
/usr/include/X11R6
11861
 
/usr/include/X11R5
11862
 
/usr/include/X11R4
11863
 
 
11864
 
/usr/local/X11/include
11865
 
/usr/local/X11R6/include
11866
 
/usr/local/X11R5/include
11867
 
/usr/local/X11R4/include
11868
 
 
11869
 
/usr/local/include/X11
11870
 
/usr/local/include/X11R6
11871
 
/usr/local/include/X11R5
11872
 
/usr/local/include/X11R4
11873
 
 
11874
 
/usr/X386/include
11875
 
/usr/x386/include
11876
 
/usr/XFree86/include/X11
11877
 
 
11878
 
/usr/include
11879
 
/usr/local/include
11880
 
/usr/unsupported/include
11881
 
/usr/athena/include
11882
 
/usr/local/x11r5/include
11883
 
/usr/lpp/Xamples/include
11884
 
 
11885
 
/usr/openwin/include
11886
 
/usr/openwin/share/include'
11887
 
 
11888
 
if test "$ac_x_includes" = no; then
11889
 
  # Guess where to find include files, by looking for Xlib.h.
11890
 
  # First, try using that file with no special directory specified.
11891
 
  cat >conftest.$ac_ext <<_ACEOF
11892
 
/* confdefs.h.  */
11893
 
_ACEOF
11894
 
cat confdefs.h >>conftest.$ac_ext
11895
 
cat >>conftest.$ac_ext <<_ACEOF
11896
 
/* end confdefs.h.  */
11897
 
#include <X11/Xlib.h>
11898
 
_ACEOF
11899
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
11900
 
case "(($ac_try" in
11901
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11902
 
  *) ac_try_echo=$ac_try;;
11903
 
esac
11904
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11905
 
$as_echo "$ac_try_echo") >&5
11906
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11907
 
  ac_status=$?
11908
 
  grep -v '^ *+' conftest.er1 >conftest.err
11909
 
  rm -f conftest.er1
11910
 
  cat conftest.err >&5
11911
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912
 
  (exit $ac_status); } >/dev/null && {
11913
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11914
 
         test ! -s conftest.err
11915
 
       }; then
11916
 
  # We can compile using X headers with no special include directory.
11917
 
ac_x_includes=
11918
 
else
11919
 
  $as_echo "$as_me: failed program was:" >&5
11920
 
sed 's/^/| /' conftest.$ac_ext >&5
11921
 
 
11922
 
  for ac_dir in $ac_x_header_dirs; do
11923
 
  if test -r "$ac_dir/X11/Xlib.h"; then
11924
 
    ac_x_includes=$ac_dir
11925
 
    break
11926
 
  fi
11927
 
done
11928
 
fi
11929
 
 
11930
 
rm -f conftest.err conftest.$ac_ext
11931
 
fi # $ac_x_includes = no
11932
 
 
11933
 
if test "$ac_x_libraries" = no; then
11934
 
  # Check for the libraries.
11935
 
  # See if we find them without any special options.
11936
 
  # Don't add to $LIBS permanently.
11937
 
  ac_save_LIBS=$LIBS
11938
 
  LIBS="-lX11 $LIBS"
11939
 
  cat >conftest.$ac_ext <<_ACEOF
11940
 
/* confdefs.h.  */
11941
 
_ACEOF
11942
 
cat confdefs.h >>conftest.$ac_ext
11943
 
cat >>conftest.$ac_ext <<_ACEOF
11944
 
/* end confdefs.h.  */
11945
 
#include <X11/Xlib.h>
11946
 
int
11947
 
main ()
11948
 
{
11949
 
XrmInitialize ()
11950
 
  ;
11951
 
  return 0;
11952
 
}
11953
 
_ACEOF
11954
 
rm -f conftest.$ac_objext conftest$ac_exeext
11955
 
if { (ac_try="$ac_link"
11956
 
case "(($ac_try" in
11957
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11958
 
  *) ac_try_echo=$ac_try;;
11959
 
esac
11960
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11961
 
$as_echo "$ac_try_echo") >&5
11962
 
  (eval "$ac_link") 2>conftest.er1
11963
 
  ac_status=$?
11964
 
  grep -v '^ *+' conftest.er1 >conftest.err
11965
 
  rm -f conftest.er1
11966
 
  cat conftest.err >&5
11967
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968
 
  (exit $ac_status); } && {
11969
 
         test -z "$ac_c_werror_flag" ||
11970
 
         test ! -s conftest.err
11971
 
       } && test -s conftest$ac_exeext && {
11972
 
         test "$cross_compiling" = yes ||
11973
 
         $as_test_x conftest$ac_exeext
11974
 
       }; then
11975
 
  LIBS=$ac_save_LIBS
11976
 
# We can link X programs with no special library path.
11977
 
ac_x_libraries=
11978
 
else
11979
 
  $as_echo "$as_me: failed program was:" >&5
11980
 
sed 's/^/| /' conftest.$ac_ext >&5
11981
 
 
11982
 
        LIBS=$ac_save_LIBS
11983
 
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11984
 
do
11985
 
  # Don't even attempt the hair of trying to link an X program!
11986
 
  for ac_extension in a so sl dylib la dll; do
11987
 
    if test -r "$ac_dir/libX11.$ac_extension"; then
11988
 
      ac_x_libraries=$ac_dir
11989
 
      break 2
11990
 
    fi
11991
 
  done
11992
 
done
11993
 
fi
11994
 
 
11995
 
rm -rf conftest.dSYM
11996
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11997
 
      conftest$ac_exeext conftest.$ac_ext
11998
 
fi # $ac_x_libraries = no
11999
 
 
12000
 
case $ac_x_includes,$ac_x_libraries in #(
12001
 
  no,* | *,no | *\'*)
12002
 
    # Didn't find X, or a directory has "'" in its name.
12003
 
    ac_cv_have_x="have_x=no";; #(
12004
 
  *)
12005
 
    # Record where we found X for the cache.
12006
 
    ac_cv_have_x="have_x=yes\
12007
 
        ac_x_includes='$ac_x_includes'\
12008
 
        ac_x_libraries='$ac_x_libraries'"
12009
 
esac
12010
 
fi
12011
 
;; #(
12012
 
    *) have_x=yes;;
12013
 
  esac
12014
 
  eval "$ac_cv_have_x"
12015
 
fi # $with_x != no
12016
 
 
12017
 
if test "$have_x" != yes; then
12018
 
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
12019
 
$as_echo "$have_x" >&6; }
12020
 
  no_x=yes
12021
 
else
12022
 
  # If each of the values was on the command line, it overrides each guess.
12023
 
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12024
 
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12025
 
  # Update the cache value to reflect the command line values.
12026
 
  ac_cv_have_x="have_x=yes\
12027
 
        ac_x_includes='$x_includes'\
12028
 
        ac_x_libraries='$x_libraries'"
12029
 
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
12030
 
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12031
 
fi
12032
 
 
12033
 
if test "$no_x" = yes; then
12034
 
  # Not all programs may use this symbol, but it does not hurt to define it.
12035
 
 
12036
 
cat >>confdefs.h <<\_ACEOF
12037
 
#define X_DISPLAY_MISSING 1
12038
 
_ACEOF
12039
 
 
12040
 
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12041
 
else
12042
 
  if test -n "$x_includes"; then
12043
 
    X_CFLAGS="$X_CFLAGS -I$x_includes"
12044
 
  fi
12045
 
 
12046
 
  # It would also be nice to do this for all -L options, not just this one.
12047
 
  if test -n "$x_libraries"; then
12048
 
    X_LIBS="$X_LIBS -L$x_libraries"
12049
 
    # For Solaris; some versions of Sun CC require a space after -R and
12050
 
    # others require no space.  Words are not sufficient . . . .
12051
 
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
12052
 
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
12053
 
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12054
 
    ac_xsave_c_werror_flag=$ac_c_werror_flag
12055
 
    ac_c_werror_flag=yes
12056
 
    cat >conftest.$ac_ext <<_ACEOF
12057
 
/* confdefs.h.  */
12058
 
_ACEOF
12059
 
cat confdefs.h >>conftest.$ac_ext
12060
 
cat >>conftest.$ac_ext <<_ACEOF
12061
 
/* end confdefs.h.  */
12062
 
 
12063
 
int
12064
 
main ()
12065
 
{
12066
 
 
12067
 
  ;
12068
 
  return 0;
12069
 
}
12070
 
_ACEOF
12071
 
rm -f conftest.$ac_objext conftest$ac_exeext
12072
 
if { (ac_try="$ac_link"
12073
 
case "(($ac_try" in
12074
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12075
 
  *) ac_try_echo=$ac_try;;
12076
 
esac
12077
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12078
 
$as_echo "$ac_try_echo") >&5
12079
 
  (eval "$ac_link") 2>conftest.er1
12080
 
  ac_status=$?
12081
 
  grep -v '^ *+' conftest.er1 >conftest.err
12082
 
  rm -f conftest.er1
12083
 
  cat conftest.err >&5
12084
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085
 
  (exit $ac_status); } && {
12086
 
         test -z "$ac_c_werror_flag" ||
12087
 
         test ! -s conftest.err
12088
 
       } && test -s conftest$ac_exeext && {
12089
 
         test "$cross_compiling" = yes ||
12090
 
         $as_test_x conftest$ac_exeext
12091
 
       }; then
12092
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
12093
 
$as_echo "no" >&6; }
12094
 
       X_LIBS="$X_LIBS -R$x_libraries"
12095
 
else
12096
 
  $as_echo "$as_me: failed program was:" >&5
12097
 
sed 's/^/| /' conftest.$ac_ext >&5
12098
 
 
12099
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
12100
 
       cat >conftest.$ac_ext <<_ACEOF
12101
 
/* confdefs.h.  */
12102
 
_ACEOF
12103
 
cat confdefs.h >>conftest.$ac_ext
12104
 
cat >>conftest.$ac_ext <<_ACEOF
12105
 
/* end confdefs.h.  */
12106
 
 
12107
 
int
12108
 
main ()
12109
 
{
12110
 
 
12111
 
  ;
12112
 
  return 0;
12113
 
}
12114
 
_ACEOF
12115
 
rm -f conftest.$ac_objext conftest$ac_exeext
12116
 
if { (ac_try="$ac_link"
12117
 
case "(($ac_try" in
12118
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12119
 
  *) ac_try_echo=$ac_try;;
12120
 
esac
12121
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12122
 
$as_echo "$ac_try_echo") >&5
12123
 
  (eval "$ac_link") 2>conftest.er1
12124
 
  ac_status=$?
12125
 
  grep -v '^ *+' conftest.er1 >conftest.err
12126
 
  rm -f conftest.er1
12127
 
  cat conftest.err >&5
12128
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129
 
  (exit $ac_status); } && {
12130
 
         test -z "$ac_c_werror_flag" ||
12131
 
         test ! -s conftest.err
12132
 
       } && test -s conftest$ac_exeext && {
12133
 
         test "$cross_compiling" = yes ||
12134
 
         $as_test_x conftest$ac_exeext
12135
 
       }; then
12136
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
12137
 
$as_echo "yes" >&6; }
12138
 
          X_LIBS="$X_LIBS -R $x_libraries"
12139
 
else
12140
 
  $as_echo "$as_me: failed program was:" >&5
12141
 
sed 's/^/| /' conftest.$ac_ext >&5
12142
 
 
12143
 
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
12144
 
$as_echo "neither works" >&6; }
12145
 
fi
12146
 
 
12147
 
rm -rf conftest.dSYM
12148
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12149
 
      conftest$ac_exeext conftest.$ac_ext
12150
 
fi
12151
 
 
12152
 
rm -rf conftest.dSYM
12153
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12154
 
      conftest$ac_exeext conftest.$ac_ext
12155
 
    ac_c_werror_flag=$ac_xsave_c_werror_flag
12156
 
    LIBS=$ac_xsave_LIBS
12157
 
  fi
12158
 
 
12159
 
  # Check for system-dependent libraries X programs must link with.
12160
 
  # Do this before checking for the system-independent R6 libraries
12161
 
  # (-lICE), since we may need -lsocket or whatever for X linking.
12162
 
 
12163
 
  if test "$ISC" = yes; then
12164
 
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12165
 
  else
12166
 
    # Martyn Johnson says this is needed for Ultrix, if the X
12167
 
    # libraries were built with DECnet support.  And Karl Berry says
12168
 
    # the Alpha needs dnet_stub (dnet does not exist).
12169
 
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12170
 
    cat >conftest.$ac_ext <<_ACEOF
12171
 
/* confdefs.h.  */
12172
 
_ACEOF
12173
 
cat confdefs.h >>conftest.$ac_ext
12174
 
cat >>conftest.$ac_ext <<_ACEOF
12175
 
/* end confdefs.h.  */
12176
 
 
12177
 
/* Override any GCC internal prototype to avoid an error.
12178
 
   Use char because int might match the return type of a GCC
12179
 
   builtin and then its argument prototype would still apply.  */
12180
 
#ifdef __cplusplus
12181
 
extern "C"
12182
 
#endif
12183
 
char XOpenDisplay ();
12184
 
int
12185
 
main ()
12186
 
{
12187
 
return XOpenDisplay ();
12188
 
  ;
12189
 
  return 0;
12190
 
}
12191
 
_ACEOF
12192
 
rm -f conftest.$ac_objext conftest$ac_exeext
12193
 
if { (ac_try="$ac_link"
12194
 
case "(($ac_try" in
12195
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12196
 
  *) ac_try_echo=$ac_try;;
12197
 
esac
12198
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12199
 
$as_echo "$ac_try_echo") >&5
12200
 
  (eval "$ac_link") 2>conftest.er1
12201
 
  ac_status=$?
12202
 
  grep -v '^ *+' conftest.er1 >conftest.err
12203
 
  rm -f conftest.er1
12204
 
  cat conftest.err >&5
12205
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206
 
  (exit $ac_status); } && {
12207
 
         test -z "$ac_c_werror_flag" ||
12208
 
         test ! -s conftest.err
12209
 
       } && test -s conftest$ac_exeext && {
12210
 
         test "$cross_compiling" = yes ||
12211
 
         $as_test_x conftest$ac_exeext
12212
 
       }; then
12213
 
  :
12214
 
else
12215
 
  $as_echo "$as_me: failed program was:" >&5
12216
 
sed 's/^/| /' conftest.$ac_ext >&5
12217
 
 
12218
 
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
12219
 
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12220
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
12221
 
  $as_echo_n "(cached) " >&6
12222
 
else
12223
 
  ac_check_lib_save_LIBS=$LIBS
12224
 
LIBS="-ldnet  $LIBS"
12225
 
cat >conftest.$ac_ext <<_ACEOF
12226
 
/* confdefs.h.  */
12227
 
_ACEOF
12228
 
cat confdefs.h >>conftest.$ac_ext
12229
 
cat >>conftest.$ac_ext <<_ACEOF
12230
 
/* end confdefs.h.  */
12231
 
 
12232
 
/* Override any GCC internal prototype to avoid an error.
12233
 
   Use char because int might match the return type of a GCC
12234
 
   builtin and then its argument prototype would still apply.  */
12235
 
#ifdef __cplusplus
12236
 
extern "C"
12237
 
#endif
12238
 
char dnet_ntoa ();
12239
 
int
12240
 
main ()
12241
 
{
12242
 
return dnet_ntoa ();
12243
 
  ;
12244
 
  return 0;
12245
 
}
12246
 
_ACEOF
12247
 
rm -f conftest.$ac_objext conftest$ac_exeext
12248
 
if { (ac_try="$ac_link"
12249
 
case "(($ac_try" in
12250
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12251
 
  *) ac_try_echo=$ac_try;;
12252
 
esac
12253
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12254
 
$as_echo "$ac_try_echo") >&5
12255
 
  (eval "$ac_link") 2>conftest.er1
12256
 
  ac_status=$?
12257
 
  grep -v '^ *+' conftest.er1 >conftest.err
12258
 
  rm -f conftest.er1
12259
 
  cat conftest.err >&5
12260
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261
 
  (exit $ac_status); } && {
12262
 
         test -z "$ac_c_werror_flag" ||
12263
 
         test ! -s conftest.err
12264
 
       } && test -s conftest$ac_exeext && {
12265
 
         test "$cross_compiling" = yes ||
12266
 
         $as_test_x conftest$ac_exeext
12267
 
       }; then
12268
 
  ac_cv_lib_dnet_dnet_ntoa=yes
12269
 
else
12270
 
  $as_echo "$as_me: failed program was:" >&5
12271
 
sed 's/^/| /' conftest.$ac_ext >&5
12272
 
 
12273
 
        ac_cv_lib_dnet_dnet_ntoa=no
12274
 
fi
12275
 
 
12276
 
rm -rf conftest.dSYM
12277
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12278
 
      conftest$ac_exeext conftest.$ac_ext
12279
 
LIBS=$ac_check_lib_save_LIBS
12280
 
fi
12281
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12282
 
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12283
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
12284
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12285
 
fi
12286
 
 
12287
 
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12288
 
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
12289
 
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12290
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
12291
 
  $as_echo_n "(cached) " >&6
12292
 
else
12293
 
  ac_check_lib_save_LIBS=$LIBS
12294
 
LIBS="-ldnet_stub  $LIBS"
12295
 
cat >conftest.$ac_ext <<_ACEOF
12296
 
/* confdefs.h.  */
12297
 
_ACEOF
12298
 
cat confdefs.h >>conftest.$ac_ext
12299
 
cat >>conftest.$ac_ext <<_ACEOF
12300
 
/* end confdefs.h.  */
12301
 
 
12302
 
/* Override any GCC internal prototype to avoid an error.
12303
 
   Use char because int might match the return type of a GCC
12304
 
   builtin and then its argument prototype would still apply.  */
12305
 
#ifdef __cplusplus
12306
 
extern "C"
12307
 
#endif
12308
 
char dnet_ntoa ();
12309
 
int
12310
 
main ()
12311
 
{
12312
 
return dnet_ntoa ();
12313
 
  ;
12314
 
  return 0;
12315
 
}
12316
 
_ACEOF
12317
 
rm -f conftest.$ac_objext conftest$ac_exeext
12318
 
if { (ac_try="$ac_link"
12319
 
case "(($ac_try" in
12320
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12321
 
  *) ac_try_echo=$ac_try;;
12322
 
esac
12323
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12324
 
$as_echo "$ac_try_echo") >&5
12325
 
  (eval "$ac_link") 2>conftest.er1
12326
 
  ac_status=$?
12327
 
  grep -v '^ *+' conftest.er1 >conftest.err
12328
 
  rm -f conftest.er1
12329
 
  cat conftest.err >&5
12330
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331
 
  (exit $ac_status); } && {
12332
 
         test -z "$ac_c_werror_flag" ||
12333
 
         test ! -s conftest.err
12334
 
       } && test -s conftest$ac_exeext && {
12335
 
         test "$cross_compiling" = yes ||
12336
 
         $as_test_x conftest$ac_exeext
12337
 
       }; then
12338
 
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
12339
 
else
12340
 
  $as_echo "$as_me: failed program was:" >&5
12341
 
sed 's/^/| /' conftest.$ac_ext >&5
12342
 
 
12343
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
12344
 
fi
12345
 
 
12346
 
rm -rf conftest.dSYM
12347
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12348
 
      conftest$ac_exeext conftest.$ac_ext
12349
 
LIBS=$ac_check_lib_save_LIBS
12350
 
fi
12351
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12352
 
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12353
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
12354
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12355
 
fi
12356
 
 
12357
 
    fi
12358
 
fi
12359
 
 
12360
 
rm -rf conftest.dSYM
12361
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12362
 
      conftest$ac_exeext conftest.$ac_ext
12363
 
    LIBS="$ac_xsave_LIBS"
12364
 
 
12365
 
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12366
 
    # to get the SysV transport functions.
12367
 
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
12368
 
    # needs -lnsl.
12369
 
    # The nsl library prevents programs from opening the X display
12370
 
    # on Irix 5.2, according to T.E. Dickey.
12371
 
    # The functions gethostbyname, getservbyname, and inet_addr are
12372
 
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12373
 
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
12374
 
$as_echo_n "checking for gethostbyname... " >&6; }
12375
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
12376
 
  $as_echo_n "(cached) " >&6
12377
 
else
12378
 
  cat >conftest.$ac_ext <<_ACEOF
12379
 
/* confdefs.h.  */
12380
 
_ACEOF
12381
 
cat confdefs.h >>conftest.$ac_ext
12382
 
cat >>conftest.$ac_ext <<_ACEOF
12383
 
/* end confdefs.h.  */
12384
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
12385
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12386
 
#define gethostbyname innocuous_gethostbyname
12387
 
 
12388
 
/* System header to define __stub macros and hopefully few prototypes,
12389
 
    which can conflict with char gethostbyname (); below.
12390
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12391
 
    <limits.h> exists even on freestanding compilers.  */
12392
 
 
12393
 
#ifdef __STDC__
12394
 
# include <limits.h>
12395
 
#else
12396
 
# include <assert.h>
12397
 
#endif
12398
 
 
12399
 
#undef gethostbyname
12400
 
 
12401
 
/* Override any GCC internal prototype to avoid an error.
12402
 
   Use char because int might match the return type of a GCC
12403
 
   builtin and then its argument prototype would still apply.  */
12404
 
#ifdef __cplusplus
12405
 
extern "C"
12406
 
#endif
12407
 
char gethostbyname ();
12408
 
/* The GNU C library defines this for functions which it implements
12409
 
    to always fail with ENOSYS.  Some functions are actually named
12410
 
    something starting with __ and the normal name is an alias.  */
12411
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
12412
 
choke me
12413
 
#endif
12414
 
 
12415
 
int
12416
 
main ()
12417
 
{
12418
 
return gethostbyname ();
12419
 
  ;
12420
 
  return 0;
12421
 
}
12422
 
_ACEOF
12423
 
rm -f conftest.$ac_objext conftest$ac_exeext
12424
 
if { (ac_try="$ac_link"
12425
 
case "(($ac_try" in
12426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12427
 
  *) ac_try_echo=$ac_try;;
12428
 
esac
12429
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12430
 
$as_echo "$ac_try_echo") >&5
12431
 
  (eval "$ac_link") 2>conftest.er1
12432
 
  ac_status=$?
12433
 
  grep -v '^ *+' conftest.er1 >conftest.err
12434
 
  rm -f conftest.er1
12435
 
  cat conftest.err >&5
12436
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437
 
  (exit $ac_status); } && {
12438
 
         test -z "$ac_c_werror_flag" ||
12439
 
         test ! -s conftest.err
12440
 
       } && test -s conftest$ac_exeext && {
12441
 
         test "$cross_compiling" = yes ||
12442
 
         $as_test_x conftest$ac_exeext
12443
 
       }; then
12444
 
  ac_cv_func_gethostbyname=yes
12445
 
else
12446
 
  $as_echo "$as_me: failed program was:" >&5
12447
 
sed 's/^/| /' conftest.$ac_ext >&5
12448
 
 
12449
 
        ac_cv_func_gethostbyname=no
12450
 
fi
12451
 
 
12452
 
rm -rf conftest.dSYM
12453
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12454
 
      conftest$ac_exeext conftest.$ac_ext
12455
 
fi
12456
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
12457
 
$as_echo "$ac_cv_func_gethostbyname" >&6; }
12458
 
 
12459
 
    if test $ac_cv_func_gethostbyname = no; then
12460
 
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
12461
 
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12462
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
12463
 
  $as_echo_n "(cached) " >&6
12464
 
else
12465
 
  ac_check_lib_save_LIBS=$LIBS
12466
 
LIBS="-lnsl  $LIBS"
12467
 
cat >conftest.$ac_ext <<_ACEOF
12468
 
/* confdefs.h.  */
12469
 
_ACEOF
12470
 
cat confdefs.h >>conftest.$ac_ext
12471
 
cat >>conftest.$ac_ext <<_ACEOF
12472
 
/* end confdefs.h.  */
12473
 
 
12474
 
/* Override any GCC internal prototype to avoid an error.
12475
 
   Use char because int might match the return type of a GCC
12476
 
   builtin and then its argument prototype would still apply.  */
12477
 
#ifdef __cplusplus
12478
 
extern "C"
12479
 
#endif
12480
 
char gethostbyname ();
12481
 
int
12482
 
main ()
12483
 
{
12484
 
return gethostbyname ();
12485
 
  ;
12486
 
  return 0;
12487
 
}
12488
 
_ACEOF
12489
 
rm -f conftest.$ac_objext conftest$ac_exeext
12490
 
if { (ac_try="$ac_link"
12491
 
case "(($ac_try" in
12492
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12493
 
  *) ac_try_echo=$ac_try;;
12494
 
esac
12495
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12496
 
$as_echo "$ac_try_echo") >&5
12497
 
  (eval "$ac_link") 2>conftest.er1
12498
 
  ac_status=$?
12499
 
  grep -v '^ *+' conftest.er1 >conftest.err
12500
 
  rm -f conftest.er1
12501
 
  cat conftest.err >&5
12502
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503
 
  (exit $ac_status); } && {
12504
 
         test -z "$ac_c_werror_flag" ||
12505
 
         test ! -s conftest.err
12506
 
       } && test -s conftest$ac_exeext && {
12507
 
         test "$cross_compiling" = yes ||
12508
 
         $as_test_x conftest$ac_exeext
12509
 
       }; then
12510
 
  ac_cv_lib_nsl_gethostbyname=yes
12511
 
else
12512
 
  $as_echo "$as_me: failed program was:" >&5
12513
 
sed 's/^/| /' conftest.$ac_ext >&5
12514
 
 
12515
 
        ac_cv_lib_nsl_gethostbyname=no
12516
 
fi
12517
 
 
12518
 
rm -rf conftest.dSYM
12519
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12520
 
      conftest$ac_exeext conftest.$ac_ext
12521
 
LIBS=$ac_check_lib_save_LIBS
12522
 
fi
12523
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
12524
 
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12525
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
12526
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12527
 
fi
12528
 
 
12529
 
      if test $ac_cv_lib_nsl_gethostbyname = no; then
12530
 
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
12531
 
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12532
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
12533
 
  $as_echo_n "(cached) " >&6
12534
 
else
12535
 
  ac_check_lib_save_LIBS=$LIBS
12536
 
LIBS="-lbsd  $LIBS"
12537
 
cat >conftest.$ac_ext <<_ACEOF
12538
 
/* confdefs.h.  */
12539
 
_ACEOF
12540
 
cat confdefs.h >>conftest.$ac_ext
12541
 
cat >>conftest.$ac_ext <<_ACEOF
12542
 
/* end confdefs.h.  */
12543
 
 
12544
 
/* Override any GCC internal prototype to avoid an error.
12545
 
   Use char because int might match the return type of a GCC
12546
 
   builtin and then its argument prototype would still apply.  */
12547
 
#ifdef __cplusplus
12548
 
extern "C"
12549
 
#endif
12550
 
char gethostbyname ();
12551
 
int
12552
 
main ()
12553
 
{
12554
 
return gethostbyname ();
12555
 
  ;
12556
 
  return 0;
12557
 
}
12558
 
_ACEOF
12559
 
rm -f conftest.$ac_objext conftest$ac_exeext
12560
 
if { (ac_try="$ac_link"
12561
 
case "(($ac_try" in
12562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12563
 
  *) ac_try_echo=$ac_try;;
12564
 
esac
12565
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12566
 
$as_echo "$ac_try_echo") >&5
12567
 
  (eval "$ac_link") 2>conftest.er1
12568
 
  ac_status=$?
12569
 
  grep -v '^ *+' conftest.er1 >conftest.err
12570
 
  rm -f conftest.er1
12571
 
  cat conftest.err >&5
12572
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573
 
  (exit $ac_status); } && {
12574
 
         test -z "$ac_c_werror_flag" ||
12575
 
         test ! -s conftest.err
12576
 
       } && test -s conftest$ac_exeext && {
12577
 
         test "$cross_compiling" = yes ||
12578
 
         $as_test_x conftest$ac_exeext
12579
 
       }; then
12580
 
  ac_cv_lib_bsd_gethostbyname=yes
12581
 
else
12582
 
  $as_echo "$as_me: failed program was:" >&5
12583
 
sed 's/^/| /' conftest.$ac_ext >&5
12584
 
 
12585
 
        ac_cv_lib_bsd_gethostbyname=no
12586
 
fi
12587
 
 
12588
 
rm -rf conftest.dSYM
12589
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12590
 
      conftest$ac_exeext conftest.$ac_ext
12591
 
LIBS=$ac_check_lib_save_LIBS
12592
 
fi
12593
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
12594
 
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12595
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
12596
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12597
 
fi
12598
 
 
12599
 
      fi
12600
 
    fi
12601
 
 
12602
 
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
12603
 
    # socket/setsockopt and other routines are undefined under SCO ODT
12604
 
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
12605
 
    # on later versions), says Simon Leinen: it contains gethostby*
12606
 
    # variants that don't use the name server (or something).  -lsocket
12607
 
    # must be given before -lnsl if both are needed.  We assume that
12608
 
    # if connect needs -lnsl, so does gethostbyname.
12609
 
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
12610
 
$as_echo_n "checking for connect... " >&6; }
12611
 
if test "${ac_cv_func_connect+set}" = set; then
12612
 
  $as_echo_n "(cached) " >&6
12613
 
else
12614
 
  cat >conftest.$ac_ext <<_ACEOF
12615
 
/* confdefs.h.  */
12616
 
_ACEOF
12617
 
cat confdefs.h >>conftest.$ac_ext
12618
 
cat >>conftest.$ac_ext <<_ACEOF
12619
 
/* end confdefs.h.  */
12620
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
12621
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12622
 
#define connect innocuous_connect
12623
 
 
12624
 
/* System header to define __stub macros and hopefully few prototypes,
12625
 
    which can conflict with char connect (); below.
12626
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12627
 
    <limits.h> exists even on freestanding compilers.  */
12628
 
 
12629
 
#ifdef __STDC__
12630
 
# include <limits.h>
12631
 
#else
12632
 
# include <assert.h>
12633
 
#endif
12634
 
 
12635
 
#undef connect
12636
 
 
12637
 
/* Override any GCC internal prototype to avoid an error.
12638
 
   Use char because int might match the return type of a GCC
12639
 
   builtin and then its argument prototype would still apply.  */
12640
 
#ifdef __cplusplus
12641
 
extern "C"
12642
 
#endif
12643
 
char connect ();
12644
 
/* The GNU C library defines this for functions which it implements
12645
 
    to always fail with ENOSYS.  Some functions are actually named
12646
 
    something starting with __ and the normal name is an alias.  */
12647
 
#if defined __stub_connect || defined __stub___connect
12648
 
choke me
12649
 
#endif
12650
 
 
12651
 
int
12652
 
main ()
12653
 
{
12654
 
return connect ();
12655
 
  ;
12656
 
  return 0;
12657
 
}
12658
 
_ACEOF
12659
 
rm -f conftest.$ac_objext conftest$ac_exeext
12660
 
if { (ac_try="$ac_link"
12661
 
case "(($ac_try" in
12662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12663
 
  *) ac_try_echo=$ac_try;;
12664
 
esac
12665
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12666
 
$as_echo "$ac_try_echo") >&5
12667
 
  (eval "$ac_link") 2>conftest.er1
12668
 
  ac_status=$?
12669
 
  grep -v '^ *+' conftest.er1 >conftest.err
12670
 
  rm -f conftest.er1
12671
 
  cat conftest.err >&5
12672
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673
 
  (exit $ac_status); } && {
12674
 
         test -z "$ac_c_werror_flag" ||
12675
 
         test ! -s conftest.err
12676
 
       } && test -s conftest$ac_exeext && {
12677
 
         test "$cross_compiling" = yes ||
12678
 
         $as_test_x conftest$ac_exeext
12679
 
       }; then
12680
 
  ac_cv_func_connect=yes
12681
 
else
12682
 
  $as_echo "$as_me: failed program was:" >&5
12683
 
sed 's/^/| /' conftest.$ac_ext >&5
12684
 
 
12685
 
        ac_cv_func_connect=no
12686
 
fi
12687
 
 
12688
 
rm -rf conftest.dSYM
12689
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12690
 
      conftest$ac_exeext conftest.$ac_ext
12691
 
fi
12692
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
12693
 
$as_echo "$ac_cv_func_connect" >&6; }
12694
 
 
12695
 
    if test $ac_cv_func_connect = no; then
12696
 
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
12697
 
$as_echo_n "checking for connect in -lsocket... " >&6; }
12698
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
12699
 
  $as_echo_n "(cached) " >&6
12700
 
else
12701
 
  ac_check_lib_save_LIBS=$LIBS
12702
 
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12703
 
cat >conftest.$ac_ext <<_ACEOF
12704
 
/* confdefs.h.  */
12705
 
_ACEOF
12706
 
cat confdefs.h >>conftest.$ac_ext
12707
 
cat >>conftest.$ac_ext <<_ACEOF
12708
 
/* end confdefs.h.  */
12709
 
 
12710
 
/* Override any GCC internal prototype to avoid an error.
12711
 
   Use char because int might match the return type of a GCC
12712
 
   builtin and then its argument prototype would still apply.  */
12713
 
#ifdef __cplusplus
12714
 
extern "C"
12715
 
#endif
12716
 
char connect ();
12717
 
int
12718
 
main ()
12719
 
{
12720
 
return connect ();
12721
 
  ;
12722
 
  return 0;
12723
 
}
12724
 
_ACEOF
12725
 
rm -f conftest.$ac_objext conftest$ac_exeext
12726
 
if { (ac_try="$ac_link"
12727
 
case "(($ac_try" in
12728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12729
 
  *) ac_try_echo=$ac_try;;
12730
 
esac
12731
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12732
 
$as_echo "$ac_try_echo") >&5
12733
 
  (eval "$ac_link") 2>conftest.er1
12734
 
  ac_status=$?
12735
 
  grep -v '^ *+' conftest.er1 >conftest.err
12736
 
  rm -f conftest.er1
12737
 
  cat conftest.err >&5
12738
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739
 
  (exit $ac_status); } && {
12740
 
         test -z "$ac_c_werror_flag" ||
12741
 
         test ! -s conftest.err
12742
 
       } && test -s conftest$ac_exeext && {
12743
 
         test "$cross_compiling" = yes ||
12744
 
         $as_test_x conftest$ac_exeext
12745
 
       }; then
12746
 
  ac_cv_lib_socket_connect=yes
12747
 
else
12748
 
  $as_echo "$as_me: failed program was:" >&5
12749
 
sed 's/^/| /' conftest.$ac_ext >&5
12750
 
 
12751
 
        ac_cv_lib_socket_connect=no
12752
 
fi
12753
 
 
12754
 
rm -rf conftest.dSYM
12755
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12756
 
      conftest$ac_exeext conftest.$ac_ext
12757
 
LIBS=$ac_check_lib_save_LIBS
12758
 
fi
12759
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
12760
 
$as_echo "$ac_cv_lib_socket_connect" >&6; }
12761
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then
12762
 
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12763
 
fi
12764
 
 
12765
 
    fi
12766
 
 
12767
 
    # Guillermo Gomez says -lposix is necessary on A/UX.
12768
 
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
12769
 
$as_echo_n "checking for remove... " >&6; }
12770
 
if test "${ac_cv_func_remove+set}" = set; then
12771
 
  $as_echo_n "(cached) " >&6
12772
 
else
12773
 
  cat >conftest.$ac_ext <<_ACEOF
12774
 
/* confdefs.h.  */
12775
 
_ACEOF
12776
 
cat confdefs.h >>conftest.$ac_ext
12777
 
cat >>conftest.$ac_ext <<_ACEOF
12778
 
/* end confdefs.h.  */
12779
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
12780
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12781
 
#define remove innocuous_remove
12782
 
 
12783
 
/* System header to define __stub macros and hopefully few prototypes,
12784
 
    which can conflict with char remove (); below.
12785
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12786
 
    <limits.h> exists even on freestanding compilers.  */
12787
 
 
12788
 
#ifdef __STDC__
12789
 
# include <limits.h>
12790
 
#else
12791
 
# include <assert.h>
12792
 
#endif
12793
 
 
12794
 
#undef remove
12795
 
 
12796
 
/* Override any GCC internal prototype to avoid an error.
12797
 
   Use char because int might match the return type of a GCC
12798
 
   builtin and then its argument prototype would still apply.  */
12799
 
#ifdef __cplusplus
12800
 
extern "C"
12801
 
#endif
12802
 
char remove ();
12803
 
/* The GNU C library defines this for functions which it implements
12804
 
    to always fail with ENOSYS.  Some functions are actually named
12805
 
    something starting with __ and the normal name is an alias.  */
12806
 
#if defined __stub_remove || defined __stub___remove
12807
 
choke me
12808
 
#endif
12809
 
 
12810
 
int
12811
 
main ()
12812
 
{
12813
 
return remove ();
12814
 
  ;
12815
 
  return 0;
12816
 
}
12817
 
_ACEOF
12818
 
rm -f conftest.$ac_objext conftest$ac_exeext
12819
 
if { (ac_try="$ac_link"
12820
 
case "(($ac_try" in
12821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12822
 
  *) ac_try_echo=$ac_try;;
12823
 
esac
12824
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12825
 
$as_echo "$ac_try_echo") >&5
12826
 
  (eval "$ac_link") 2>conftest.er1
12827
 
  ac_status=$?
12828
 
  grep -v '^ *+' conftest.er1 >conftest.err
12829
 
  rm -f conftest.er1
12830
 
  cat conftest.err >&5
12831
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832
 
  (exit $ac_status); } && {
12833
 
         test -z "$ac_c_werror_flag" ||
12834
 
         test ! -s conftest.err
12835
 
       } && test -s conftest$ac_exeext && {
12836
 
         test "$cross_compiling" = yes ||
12837
 
         $as_test_x conftest$ac_exeext
12838
 
       }; then
12839
 
  ac_cv_func_remove=yes
12840
 
else
12841
 
  $as_echo "$as_me: failed program was:" >&5
12842
 
sed 's/^/| /' conftest.$ac_ext >&5
12843
 
 
12844
 
        ac_cv_func_remove=no
12845
 
fi
12846
 
 
12847
 
rm -rf conftest.dSYM
12848
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12849
 
      conftest$ac_exeext conftest.$ac_ext
12850
 
fi
12851
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
12852
 
$as_echo "$ac_cv_func_remove" >&6; }
12853
 
 
12854
 
    if test $ac_cv_func_remove = no; then
12855
 
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
12856
 
$as_echo_n "checking for remove in -lposix... " >&6; }
12857
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
12858
 
  $as_echo_n "(cached) " >&6
12859
 
else
12860
 
  ac_check_lib_save_LIBS=$LIBS
12861
 
LIBS="-lposix  $LIBS"
12862
 
cat >conftest.$ac_ext <<_ACEOF
12863
 
/* confdefs.h.  */
12864
 
_ACEOF
12865
 
cat confdefs.h >>conftest.$ac_ext
12866
 
cat >>conftest.$ac_ext <<_ACEOF
12867
 
/* end confdefs.h.  */
12868
 
 
12869
 
/* Override any GCC internal prototype to avoid an error.
12870
 
   Use char because int might match the return type of a GCC
12871
 
   builtin and then its argument prototype would still apply.  */
12872
 
#ifdef __cplusplus
12873
 
extern "C"
12874
 
#endif
12875
 
char remove ();
12876
 
int
12877
 
main ()
12878
 
{
12879
 
return remove ();
12880
 
  ;
12881
 
  return 0;
12882
 
}
12883
 
_ACEOF
12884
 
rm -f conftest.$ac_objext conftest$ac_exeext
12885
 
if { (ac_try="$ac_link"
12886
 
case "(($ac_try" in
12887
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12888
 
  *) ac_try_echo=$ac_try;;
12889
 
esac
12890
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12891
 
$as_echo "$ac_try_echo") >&5
12892
 
  (eval "$ac_link") 2>conftest.er1
12893
 
  ac_status=$?
12894
 
  grep -v '^ *+' conftest.er1 >conftest.err
12895
 
  rm -f conftest.er1
12896
 
  cat conftest.err >&5
12897
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898
 
  (exit $ac_status); } && {
12899
 
         test -z "$ac_c_werror_flag" ||
12900
 
         test ! -s conftest.err
12901
 
       } && test -s conftest$ac_exeext && {
12902
 
         test "$cross_compiling" = yes ||
12903
 
         $as_test_x conftest$ac_exeext
12904
 
       }; then
12905
 
  ac_cv_lib_posix_remove=yes
12906
 
else
12907
 
  $as_echo "$as_me: failed program was:" >&5
12908
 
sed 's/^/| /' conftest.$ac_ext >&5
12909
 
 
12910
 
        ac_cv_lib_posix_remove=no
12911
 
fi
12912
 
 
12913
 
rm -rf conftest.dSYM
12914
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12915
 
      conftest$ac_exeext conftest.$ac_ext
12916
 
LIBS=$ac_check_lib_save_LIBS
12917
 
fi
12918
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
12919
 
$as_echo "$ac_cv_lib_posix_remove" >&6; }
12920
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then
12921
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12922
 
fi
12923
 
 
12924
 
    fi
12925
 
 
12926
 
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12927
 
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
12928
 
$as_echo_n "checking for shmat... " >&6; }
12929
 
if test "${ac_cv_func_shmat+set}" = set; then
12930
 
  $as_echo_n "(cached) " >&6
12931
 
else
12932
 
  cat >conftest.$ac_ext <<_ACEOF
12933
 
/* confdefs.h.  */
12934
 
_ACEOF
12935
 
cat confdefs.h >>conftest.$ac_ext
12936
 
cat >>conftest.$ac_ext <<_ACEOF
12937
 
/* end confdefs.h.  */
12938
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
12939
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12940
 
#define shmat innocuous_shmat
12941
 
 
12942
 
/* System header to define __stub macros and hopefully few prototypes,
12943
 
    which can conflict with char shmat (); below.
12944
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12945
 
    <limits.h> exists even on freestanding compilers.  */
12946
 
 
12947
 
#ifdef __STDC__
12948
 
# include <limits.h>
12949
 
#else
12950
 
# include <assert.h>
12951
 
#endif
12952
 
 
12953
 
#undef shmat
12954
 
 
12955
 
/* Override any GCC internal prototype to avoid an error.
12956
 
   Use char because int might match the return type of a GCC
12957
 
   builtin and then its argument prototype would still apply.  */
12958
 
#ifdef __cplusplus
12959
 
extern "C"
12960
 
#endif
12961
 
char shmat ();
12962
 
/* The GNU C library defines this for functions which it implements
12963
 
    to always fail with ENOSYS.  Some functions are actually named
12964
 
    something starting with __ and the normal name is an alias.  */
12965
 
#if defined __stub_shmat || defined __stub___shmat
12966
 
choke me
12967
 
#endif
12968
 
 
12969
 
int
12970
 
main ()
12971
 
{
12972
 
return shmat ();
12973
 
  ;
12974
 
  return 0;
12975
 
}
12976
 
_ACEOF
12977
 
rm -f conftest.$ac_objext conftest$ac_exeext
12978
 
if { (ac_try="$ac_link"
12979
 
case "(($ac_try" in
12980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12981
 
  *) ac_try_echo=$ac_try;;
12982
 
esac
12983
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12984
 
$as_echo "$ac_try_echo") >&5
12985
 
  (eval "$ac_link") 2>conftest.er1
12986
 
  ac_status=$?
12987
 
  grep -v '^ *+' conftest.er1 >conftest.err
12988
 
  rm -f conftest.er1
12989
 
  cat conftest.err >&5
12990
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991
 
  (exit $ac_status); } && {
12992
 
         test -z "$ac_c_werror_flag" ||
12993
 
         test ! -s conftest.err
12994
 
       } && test -s conftest$ac_exeext && {
12995
 
         test "$cross_compiling" = yes ||
12996
 
         $as_test_x conftest$ac_exeext
12997
 
       }; then
12998
 
  ac_cv_func_shmat=yes
12999
 
else
13000
 
  $as_echo "$as_me: failed program was:" >&5
13001
 
sed 's/^/| /' conftest.$ac_ext >&5
13002
 
 
13003
 
        ac_cv_func_shmat=no
13004
 
fi
13005
 
 
13006
 
rm -rf conftest.dSYM
13007
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13008
 
      conftest$ac_exeext conftest.$ac_ext
13009
 
fi
13010
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
13011
 
$as_echo "$ac_cv_func_shmat" >&6; }
13012
 
 
13013
 
    if test $ac_cv_func_shmat = no; then
13014
 
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
13015
 
$as_echo_n "checking for shmat in -lipc... " >&6; }
13016
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
13017
 
  $as_echo_n "(cached) " >&6
13018
 
else
13019
 
  ac_check_lib_save_LIBS=$LIBS
13020
 
LIBS="-lipc  $LIBS"
13021
 
cat >conftest.$ac_ext <<_ACEOF
13022
 
/* confdefs.h.  */
13023
 
_ACEOF
13024
 
cat confdefs.h >>conftest.$ac_ext
13025
 
cat >>conftest.$ac_ext <<_ACEOF
13026
 
/* end confdefs.h.  */
13027
 
 
13028
 
/* Override any GCC internal prototype to avoid an error.
13029
 
   Use char because int might match the return type of a GCC
13030
 
   builtin and then its argument prototype would still apply.  */
13031
 
#ifdef __cplusplus
13032
 
extern "C"
13033
 
#endif
13034
 
char shmat ();
13035
 
int
13036
 
main ()
13037
 
{
13038
 
return shmat ();
13039
 
  ;
13040
 
  return 0;
13041
 
}
13042
 
_ACEOF
13043
 
rm -f conftest.$ac_objext conftest$ac_exeext
13044
 
if { (ac_try="$ac_link"
13045
 
case "(($ac_try" in
13046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13047
 
  *) ac_try_echo=$ac_try;;
13048
 
esac
13049
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13050
 
$as_echo "$ac_try_echo") >&5
13051
 
  (eval "$ac_link") 2>conftest.er1
13052
 
  ac_status=$?
13053
 
  grep -v '^ *+' conftest.er1 >conftest.err
13054
 
  rm -f conftest.er1
13055
 
  cat conftest.err >&5
13056
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057
 
  (exit $ac_status); } && {
13058
 
         test -z "$ac_c_werror_flag" ||
13059
 
         test ! -s conftest.err
13060
 
       } && test -s conftest$ac_exeext && {
13061
 
         test "$cross_compiling" = yes ||
13062
 
         $as_test_x conftest$ac_exeext
13063
 
       }; then
13064
 
  ac_cv_lib_ipc_shmat=yes
13065
 
else
13066
 
  $as_echo "$as_me: failed program was:" >&5
13067
 
sed 's/^/| /' conftest.$ac_ext >&5
13068
 
 
13069
 
        ac_cv_lib_ipc_shmat=no
13070
 
fi
13071
 
 
13072
 
rm -rf conftest.dSYM
13073
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13074
 
      conftest$ac_exeext conftest.$ac_ext
13075
 
LIBS=$ac_check_lib_save_LIBS
13076
 
fi
13077
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
13078
 
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13079
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
13080
 
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13081
 
fi
13082
 
 
13083
 
    fi
13084
 
  fi
13085
 
 
13086
 
  # Check for libraries that X11R6 Xt/Xaw programs need.
13087
 
  ac_save_LDFLAGS=$LDFLAGS
13088
 
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13089
 
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13090
 
  # check for ICE first), but we must link in the order -lSM -lICE or
13091
 
  # we get undefined symbols.  So assume we have SM if we have ICE.
13092
 
  # These have to be linked with before -lX11, unlike the other
13093
 
  # libraries we check for below, so use a different variable.
13094
 
  # John Interrante, Karl Berry
13095
 
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
13096
 
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13097
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
13098
 
  $as_echo_n "(cached) " >&6
13099
 
else
13100
 
  ac_check_lib_save_LIBS=$LIBS
13101
 
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13102
 
cat >conftest.$ac_ext <<_ACEOF
13103
 
/* confdefs.h.  */
13104
 
_ACEOF
13105
 
cat confdefs.h >>conftest.$ac_ext
13106
 
cat >>conftest.$ac_ext <<_ACEOF
13107
 
/* end confdefs.h.  */
13108
 
 
13109
 
/* Override any GCC internal prototype to avoid an error.
13110
 
   Use char because int might match the return type of a GCC
13111
 
   builtin and then its argument prototype would still apply.  */
13112
 
#ifdef __cplusplus
13113
 
extern "C"
13114
 
#endif
13115
 
char IceConnectionNumber ();
13116
 
int
13117
 
main ()
13118
 
{
13119
 
return IceConnectionNumber ();
13120
 
  ;
13121
 
  return 0;
13122
 
}
13123
 
_ACEOF
13124
 
rm -f conftest.$ac_objext conftest$ac_exeext
13125
 
if { (ac_try="$ac_link"
13126
 
case "(($ac_try" in
13127
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13128
 
  *) ac_try_echo=$ac_try;;
13129
 
esac
13130
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13131
 
$as_echo "$ac_try_echo") >&5
13132
 
  (eval "$ac_link") 2>conftest.er1
13133
 
  ac_status=$?
13134
 
  grep -v '^ *+' conftest.er1 >conftest.err
13135
 
  rm -f conftest.er1
13136
 
  cat conftest.err >&5
13137
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138
 
  (exit $ac_status); } && {
13139
 
         test -z "$ac_c_werror_flag" ||
13140
 
         test ! -s conftest.err
13141
 
       } && test -s conftest$ac_exeext && {
13142
 
         test "$cross_compiling" = yes ||
13143
 
         $as_test_x conftest$ac_exeext
13144
 
       }; then
13145
 
  ac_cv_lib_ICE_IceConnectionNumber=yes
13146
 
else
13147
 
  $as_echo "$as_me: failed program was:" >&5
13148
 
sed 's/^/| /' conftest.$ac_ext >&5
13149
 
 
13150
 
        ac_cv_lib_ICE_IceConnectionNumber=no
13151
 
fi
13152
 
 
13153
 
rm -rf conftest.dSYM
13154
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13155
 
      conftest$ac_exeext conftest.$ac_ext
13156
 
LIBS=$ac_check_lib_save_LIBS
13157
 
fi
13158
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13159
 
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13160
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
13161
 
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13162
 
fi
13163
 
 
13164
 
  LDFLAGS=$ac_save_LDFLAGS
13165
 
 
13166
 
fi
13167
 
 
13168
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13169
 
$as_echo_n "checking for ANSI C header files... " >&6; }
13170
 
if test "${ac_cv_header_stdc+set}" = set; then
13171
 
  $as_echo_n "(cached) " >&6
13172
 
else
13173
 
  cat >conftest.$ac_ext <<_ACEOF
13174
 
/* confdefs.h.  */
13175
 
_ACEOF
13176
 
cat confdefs.h >>conftest.$ac_ext
13177
 
cat >>conftest.$ac_ext <<_ACEOF
13178
 
/* end confdefs.h.  */
13179
 
#include <stdlib.h>
13180
 
#include <stdarg.h>
13181
 
#include <string.h>
13182
 
#include <float.h>
13183
 
 
13184
 
int
13185
 
main ()
13186
 
{
13187
 
 
13188
 
  ;
13189
 
  return 0;
13190
 
}
13191
 
_ACEOF
13192
 
rm -f conftest.$ac_objext
13193
 
if { (ac_try="$ac_compile"
13194
 
case "(($ac_try" in
13195
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13196
 
  *) ac_try_echo=$ac_try;;
13197
 
esac
13198
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13199
 
$as_echo "$ac_try_echo") >&5
13200
 
  (eval "$ac_compile") 2>conftest.er1
13201
 
  ac_status=$?
13202
 
  grep -v '^ *+' conftest.er1 >conftest.err
13203
 
  rm -f conftest.er1
13204
 
  cat conftest.err >&5
13205
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206
 
  (exit $ac_status); } && {
13207
 
         test -z "$ac_c_werror_flag" ||
13208
 
         test ! -s conftest.err
13209
 
       } && test -s conftest.$ac_objext; then
13210
 
  ac_cv_header_stdc=yes
13211
 
else
13212
 
  $as_echo "$as_me: failed program was:" >&5
13213
 
sed 's/^/| /' conftest.$ac_ext >&5
13214
 
 
13215
 
        ac_cv_header_stdc=no
13216
 
fi
13217
 
 
13218
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219
 
 
13220
 
if test $ac_cv_header_stdc = yes; then
13221
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13222
 
  cat >conftest.$ac_ext <<_ACEOF
13223
 
/* confdefs.h.  */
13224
 
_ACEOF
13225
 
cat confdefs.h >>conftest.$ac_ext
13226
 
cat >>conftest.$ac_ext <<_ACEOF
13227
 
/* end confdefs.h.  */
13228
 
#include <string.h>
13229
 
 
13230
 
_ACEOF
13231
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13232
 
  $EGREP "memchr" >/dev/null 2>&1; then
13233
 
  :
13234
 
else
13235
 
  ac_cv_header_stdc=no
13236
 
fi
13237
 
rm -f conftest*
13238
 
 
13239
 
fi
13240
 
 
13241
 
if test $ac_cv_header_stdc = yes; then
13242
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13243
 
  cat >conftest.$ac_ext <<_ACEOF
13244
 
/* confdefs.h.  */
13245
 
_ACEOF
13246
 
cat confdefs.h >>conftest.$ac_ext
13247
 
cat >>conftest.$ac_ext <<_ACEOF
13248
 
/* end confdefs.h.  */
13249
 
#include <stdlib.h>
13250
 
 
13251
 
_ACEOF
13252
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13253
 
  $EGREP "free" >/dev/null 2>&1; then
13254
 
  :
13255
 
else
13256
 
  ac_cv_header_stdc=no
13257
 
fi
13258
 
rm -f conftest*
13259
 
 
13260
 
fi
13261
 
 
13262
 
if test $ac_cv_header_stdc = yes; then
13263
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13264
 
  if test "$cross_compiling" = yes; then
13265
 
  :
13266
 
else
13267
 
  cat >conftest.$ac_ext <<_ACEOF
13268
 
/* confdefs.h.  */
13269
 
_ACEOF
13270
 
cat confdefs.h >>conftest.$ac_ext
13271
 
cat >>conftest.$ac_ext <<_ACEOF
13272
 
/* end confdefs.h.  */
13273
 
#include <ctype.h>
13274
 
#include <stdlib.h>
13275
 
#if ((' ' & 0x0FF) == 0x020)
13276
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13277
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13278
 
#else
13279
 
# define ISLOWER(c) \
13280
 
                   (('a' <= (c) && (c) <= 'i') \
13281
 
                     || ('j' <= (c) && (c) <= 'r') \
13282
 
                     || ('s' <= (c) && (c) <= 'z'))
13283
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13284
 
#endif
13285
 
 
13286
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13287
 
int
13288
 
main ()
13289
 
{
13290
 
  int i;
13291
 
  for (i = 0; i < 256; i++)
13292
 
    if (XOR (islower (i), ISLOWER (i))
13293
 
        || toupper (i) != TOUPPER (i))
13294
 
      return 2;
13295
 
  return 0;
13296
 
}
13297
 
_ACEOF
13298
 
rm -f conftest$ac_exeext
13299
 
if { (ac_try="$ac_link"
13300
 
case "(($ac_try" in
13301
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13302
 
  *) ac_try_echo=$ac_try;;
13303
 
esac
13304
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13305
 
$as_echo "$ac_try_echo") >&5
13306
 
  (eval "$ac_link") 2>&5
13307
 
  ac_status=$?
13308
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13310
 
  { (case "(($ac_try" in
13311
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13312
 
  *) ac_try_echo=$ac_try;;
13313
 
esac
13314
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13315
 
$as_echo "$ac_try_echo") >&5
13316
 
  (eval "$ac_try") 2>&5
13317
 
  ac_status=$?
13318
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319
 
  (exit $ac_status); }; }; then
13320
 
  :
13321
 
else
13322
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
13323
 
$as_echo "$as_me: failed program was:" >&5
13324
 
sed 's/^/| /' conftest.$ac_ext >&5
13325
 
 
13326
 
( exit $ac_status )
13327
 
ac_cv_header_stdc=no
13328
 
fi
13329
 
rm -rf conftest.dSYM
13330
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13331
 
fi
13332
 
 
13333
 
 
13334
 
fi
13335
 
fi
13336
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13337
 
$as_echo "$ac_cv_header_stdc" >&6; }
13338
 
if test $ac_cv_header_stdc = yes; then
13339
 
 
13340
 
cat >>confdefs.h <<\_ACEOF
13341
 
#define STDC_HEADERS 1
13342
 
_ACEOF
13343
 
 
13344
 
fi
13345
 
 
13346
 
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
13347
 
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
13348
 
if test "${ac_cv_header_time+set}" = set; then
13349
 
  $as_echo_n "(cached) " >&6
13350
 
else
13351
 
  cat >conftest.$ac_ext <<_ACEOF
13352
 
/* confdefs.h.  */
13353
 
_ACEOF
13354
 
cat confdefs.h >>conftest.$ac_ext
13355
 
cat >>conftest.$ac_ext <<_ACEOF
13356
 
/* end confdefs.h.  */
13357
 
#include <sys/types.h>
13358
 
#include <sys/time.h>
13359
 
#include <time.h>
13360
 
 
13361
 
int
13362
 
main ()
13363
 
{
13364
 
if ((struct tm *) 0)
13365
 
return 0;
13366
 
  ;
13367
 
  return 0;
13368
 
}
13369
 
_ACEOF
13370
 
rm -f conftest.$ac_objext
13371
 
if { (ac_try="$ac_compile"
13372
 
case "(($ac_try" in
13373
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13374
 
  *) ac_try_echo=$ac_try;;
13375
 
esac
13376
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13377
 
$as_echo "$ac_try_echo") >&5
13378
 
  (eval "$ac_compile") 2>conftest.er1
13379
 
  ac_status=$?
13380
 
  grep -v '^ *+' conftest.er1 >conftest.err
13381
 
  rm -f conftest.er1
13382
 
  cat conftest.err >&5
13383
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384
 
  (exit $ac_status); } && {
13385
 
         test -z "$ac_c_werror_flag" ||
13386
 
         test ! -s conftest.err
13387
 
       } && test -s conftest.$ac_objext; then
13388
 
  ac_cv_header_time=yes
13389
 
else
13390
 
  $as_echo "$as_me: failed program was:" >&5
13391
 
sed 's/^/| /' conftest.$ac_ext >&5
13392
 
 
13393
 
        ac_cv_header_time=no
13394
 
fi
13395
 
 
13396
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13397
 
fi
13398
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
13399
 
$as_echo "$ac_cv_header_time" >&6; }
13400
 
if test $ac_cv_header_time = yes; then
13401
 
 
13402
 
cat >>confdefs.h <<\_ACEOF
13403
 
#define TIME_WITH_SYS_TIME 1
13404
 
_ACEOF
13405
 
 
13406
 
fi
13407
 
 
13408
 
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
10694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
13409
10695
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
13410
 
if test "${ac_cv_header_sys_wait_h+set}" = set; then
 
10696
if test "${ac_cv_header_sys_wait_h+set}" = set; then :
13411
10697
  $as_echo_n "(cached) " >&6
13412
10698
else
13413
 
  cat >conftest.$ac_ext <<_ACEOF
13414
 
/* confdefs.h.  */
13415
 
_ACEOF
13416
 
cat confdefs.h >>conftest.$ac_ext
13417
 
cat >>conftest.$ac_ext <<_ACEOF
 
10699
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13418
10700
/* end confdefs.h.  */
13419
10701
#include <sys/types.h>
13420
10702
#include <sys/wait.h>
13435
10717
  return 0;
13436
10718
}
13437
10719
_ACEOF
13438
 
rm -f conftest.$ac_objext
13439
 
if { (ac_try="$ac_compile"
13440
 
case "(($ac_try" in
13441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442
 
  *) ac_try_echo=$ac_try;;
13443
 
esac
13444
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13445
 
$as_echo "$ac_try_echo") >&5
13446
 
  (eval "$ac_compile") 2>conftest.er1
13447
 
  ac_status=$?
13448
 
  grep -v '^ *+' conftest.er1 >conftest.err
13449
 
  rm -f conftest.er1
13450
 
  cat conftest.err >&5
13451
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452
 
  (exit $ac_status); } && {
13453
 
         test -z "$ac_c_werror_flag" ||
13454
 
         test ! -s conftest.err
13455
 
       } && test -s conftest.$ac_objext; then
 
10720
if ac_fn_c_try_compile "$LINENO"; then :
13456
10721
  ac_cv_header_sys_wait_h=yes
13457
10722
else
13458
 
  $as_echo "$as_me: failed program was:" >&5
13459
 
sed 's/^/| /' conftest.$ac_ext >&5
13460
 
 
13461
 
        ac_cv_header_sys_wait_h=no
 
10723
  ac_cv_header_sys_wait_h=no
13462
10724
fi
13463
 
 
13464
10725
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13465
10726
fi
13466
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
10727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
13467
10728
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
13468
10729
if test $ac_cv_header_sys_wait_h = yes; then
13469
10730
 
13470
 
cat >>confdefs.h <<\_ACEOF
13471
 
#define HAVE_SYS_WAIT_H 1
13472
 
_ACEOF
 
10731
$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
13473
10732
 
13474
10733
fi
13475
10734
 
13476
 
 
13477
 
 
13478
 
 
13479
 
 
13480
 
 
13481
 
for ac_header in fcntl.h sys/time.h sys/utsname.h unistd.h memory.h
13482
 
do
13483
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13484
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13485
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13486
 
$as_echo_n "checking for $ac_header... " >&6; }
13487
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
10735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
 
10736
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
 
10737
if test "${ac_cv_header_time+set}" = set; then :
13488
10738
  $as_echo_n "(cached) " >&6
13489
 
fi
13490
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13491
 
                 $as_echo "$as_val"'`
13492
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13493
 
$as_echo "$ac_res" >&6; }
13494
10739
else
13495
 
  # Is the header compilable?
13496
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13497
 
$as_echo_n "checking $ac_header usability... " >&6; }
13498
 
cat >conftest.$ac_ext <<_ACEOF
13499
 
/* confdefs.h.  */
13500
 
_ACEOF
13501
 
cat confdefs.h >>conftest.$ac_ext
13502
 
cat >>conftest.$ac_ext <<_ACEOF
 
10740
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503
10741
/* end confdefs.h.  */
13504
 
$ac_includes_default
13505
 
#include <$ac_header>
 
10742
#include <sys/types.h>
 
10743
#include <sys/time.h>
 
10744
#include <time.h>
 
10745
 
 
10746
int
 
10747
main ()
 
10748
{
 
10749
if ((struct tm *) 0)
 
10750
return 0;
 
10751
  ;
 
10752
  return 0;
 
10753
}
13506
10754
_ACEOF
13507
 
rm -f conftest.$ac_objext
13508
 
if { (ac_try="$ac_compile"
13509
 
case "(($ac_try" in
13510
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13511
 
  *) ac_try_echo=$ac_try;;
13512
 
esac
13513
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13514
 
$as_echo "$ac_try_echo") >&5
13515
 
  (eval "$ac_compile") 2>conftest.er1
13516
 
  ac_status=$?
13517
 
  grep -v '^ *+' conftest.er1 >conftest.err
13518
 
  rm -f conftest.er1
13519
 
  cat conftest.err >&5
13520
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521
 
  (exit $ac_status); } && {
13522
 
         test -z "$ac_c_werror_flag" ||
13523
 
         test ! -s conftest.err
13524
 
       } && test -s conftest.$ac_objext; then
13525
 
  ac_header_compiler=yes
 
10755
if ac_fn_c_try_compile "$LINENO"; then :
 
10756
  ac_cv_header_time=yes
13526
10757
else
13527
 
  $as_echo "$as_me: failed program was:" >&5
13528
 
sed 's/^/| /' conftest.$ac_ext >&5
13529
 
 
13530
 
        ac_header_compiler=no
 
10758
  ac_cv_header_time=no
13531
10759
fi
13532
 
 
13533
10760
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13534
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13535
 
$as_echo "$ac_header_compiler" >&6; }
13536
 
 
13537
 
# Is the header present?
13538
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13539
 
$as_echo_n "checking $ac_header presence... " >&6; }
13540
 
cat >conftest.$ac_ext <<_ACEOF
13541
 
/* confdefs.h.  */
13542
 
_ACEOF
13543
 
cat confdefs.h >>conftest.$ac_ext
13544
 
cat >>conftest.$ac_ext <<_ACEOF
13545
 
/* end confdefs.h.  */
13546
 
#include <$ac_header>
13547
 
_ACEOF
13548
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13549
 
case "(($ac_try" in
13550
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13551
 
  *) ac_try_echo=$ac_try;;
13552
 
esac
13553
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13554
 
$as_echo "$ac_try_echo") >&5
13555
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13556
 
  ac_status=$?
13557
 
  grep -v '^ *+' conftest.er1 >conftest.err
13558
 
  rm -f conftest.er1
13559
 
  cat conftest.err >&5
13560
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561
 
  (exit $ac_status); } >/dev/null && {
13562
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13563
 
         test ! -s conftest.err
13564
 
       }; then
13565
 
  ac_header_preproc=yes
13566
 
else
13567
 
  $as_echo "$as_me: failed program was:" >&5
13568
 
sed 's/^/| /' conftest.$ac_ext >&5
13569
 
 
13570
 
  ac_header_preproc=no
13571
 
fi
13572
 
 
13573
 
rm -f conftest.err conftest.$ac_ext
13574
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13575
 
$as_echo "$ac_header_preproc" >&6; }
13576
 
 
13577
 
# So?  What about this header?
13578
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13579
 
  yes:no: )
13580
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13581
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13582
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13583
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13584
 
    ac_header_preproc=yes
13585
 
    ;;
13586
 
  no:yes:* )
13587
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13588
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13589
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13590
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13591
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13592
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13593
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13594
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13595
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13596
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13597
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13598
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13599
 
 
13600
 
    ;;
13601
 
esac
13602
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13603
 
$as_echo_n "checking for $ac_header... " >&6; }
13604
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13605
 
  $as_echo_n "(cached) " >&6
13606
 
else
13607
 
  eval "$as_ac_Header=\$ac_header_preproc"
13608
 
fi
13609
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13610
 
                 $as_echo "$as_val"'`
13611
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13612
 
$as_echo "$ac_res" >&6; }
13613
 
 
13614
 
fi
13615
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13616
 
                 $as_echo "$as_val"'`
13617
 
   if test "x$as_val" = x""yes; then
 
10761
fi
 
10762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
 
10763
$as_echo "$ac_cv_header_time" >&6; }
 
10764
if test $ac_cv_header_time = yes; then
 
10765
 
 
10766
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
 
10767
 
 
10768
fi
 
10769
 
 
10770
for ac_header in fcntl.h sys/time.h sys/utsname.h
 
10771
do :
 
10772
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
10773
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
10774
eval as_val=\$$as_ac_Header
 
10775
   if test "x$as_val" = x""yes; then :
13618
10776
  cat >>confdefs.h <<_ACEOF
13619
10777
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13620
10778
_ACEOF
13623
10781
 
13624
10782
done
13625
10783
 
 
10784
# Extract the first word of "pkg-config", so it can be a program name with args.
 
10785
set dummy pkg-config; ac_word=$2
 
10786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10787
$as_echo_n "checking for $ac_word... " >&6; }
 
10788
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
10789
  $as_echo_n "(cached) " >&6
 
10790
else
 
10791
  case $PKG_CONFIG in
 
10792
  [\\/]* | ?:[\\/]*)
 
10793
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
10794
  ;;
 
10795
  *)
 
10796
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10797
for as_dir in $PATH
 
10798
do
 
10799
  IFS=$as_save_IFS
 
10800
  test -z "$as_dir" && as_dir=.
 
10801
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10803
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
10804
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10805
    break 2
 
10806
  fi
 
10807
done
 
10808
  done
 
10809
IFS=$as_save_IFS
 
10810
 
 
10811
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
 
10812
  ;;
 
10813
esac
 
10814
fi
 
10815
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
10816
if test -n "$PKG_CONFIG"; then
 
10817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
10818
$as_echo "$PKG_CONFIG" >&6; }
 
10819
else
 
10820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10821
$as_echo "no" >&6; }
 
10822
fi
 
10823
 
 
10824
 
13626
10825
 
13627
10826
_cppflags="${CPPFLAGS}"
13628
10827
CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
13629
10828
 
13630
10829
 
13631
 
 
13632
 
for ac_header in X11/SM/SMlib.h X11/extensions/Xdbe.h
13633
 
do
13634
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13635
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13636
 
$as_echo_n "checking for $ac_header... " >&6; }
13637
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13638
 
  $as_echo_n "(cached) " >&6
13639
 
else
13640
 
  cat >conftest.$ac_ext <<_ACEOF
13641
 
/* confdefs.h.  */
13642
 
_ACEOF
13643
 
cat confdefs.h >>conftest.$ac_ext
13644
 
cat >>conftest.$ac_ext <<_ACEOF
13645
 
/* end confdefs.h.  */
13646
 
#include <X11/Xlib.h>
13647
 
 
13648
 
#include <$ac_header>
13649
 
_ACEOF
13650
 
rm -f conftest.$ac_objext
13651
 
if { (ac_try="$ac_compile"
13652
 
case "(($ac_try" in
13653
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13654
 
  *) ac_try_echo=$ac_try;;
13655
 
esac
13656
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13657
 
$as_echo "$ac_try_echo") >&5
13658
 
  (eval "$ac_compile") 2>conftest.er1
13659
 
  ac_status=$?
13660
 
  grep -v '^ *+' conftest.er1 >conftest.err
13661
 
  rm -f conftest.er1
13662
 
  cat conftest.err >&5
13663
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664
 
  (exit $ac_status); } && {
13665
 
         test -z "$ac_c_werror_flag" ||
13666
 
         test ! -s conftest.err
13667
 
       } && test -s conftest.$ac_objext; then
13668
 
  eval "$as_ac_Header=yes"
13669
 
else
13670
 
  $as_echo "$as_me: failed program was:" >&5
13671
 
sed 's/^/| /' conftest.$ac_ext >&5
13672
 
 
13673
 
        eval "$as_ac_Header=no"
13674
 
fi
13675
 
 
13676
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13677
 
fi
13678
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13679
 
                 $as_echo "$as_val"'`
13680
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13681
 
$as_echo "$ac_res" >&6; }
13682
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13683
 
                 $as_echo "$as_val"'`
13684
 
   if test "x$as_val" = x""yes; then
 
10830
# Check whether --with-xorg-x11r7 was given.
 
10831
if test "${with_xorg_x11r7+set}" = set; then :
 
10832
  withval=$with_xorg_x11r7;
 
10833
else
 
10834
  with_xorg_x11r7=yes
 
10835
fi
 
10836
 
 
10837
 
 
10838
if test "$with_xorg_x11r7" != "no"; then
 
10839
 
 
10840
for ac_header in X11/extensions/Xdbe.h
 
10841
do :
 
10842
  ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdbe.h" "ac_cv_header_X11_extensions_Xdbe_h" "#include <X11/Xlib.h>
 
10843
"
 
10844
if test "x$ac_cv_header_X11_extensions_Xdbe_h" = x""yes; then :
13685
10845
  cat >>confdefs.h <<_ACEOF
13686
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
10846
#define HAVE_X11_EXTENSIONS_XDBE_H 1
13687
10847
_ACEOF
13688
10848
 
13689
10849
fi
13698
10858
 
13699
10859
 
13700
10860
 
13701
 
 
13702
 
 
13703
 
 
13704
 
{ $as_echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
13705
 
$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
13706
 
if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
13707
 
  $as_echo_n "(cached) " >&6
13708
 
else
13709
 
  ac_check_lib_save_LIBS=$LIBS
13710
 
LIBS="-lXinerama $X_LIBS -lX11 -lXext $LIBS"
13711
 
cat >conftest.$ac_ext <<_ACEOF
13712
 
/* confdefs.h.  */
13713
 
_ACEOF
13714
 
cat confdefs.h >>conftest.$ac_ext
13715
 
cat >>conftest.$ac_ext <<_ACEOF
13716
 
/* end confdefs.h.  */
13717
 
 
13718
 
/* Override any GCC internal prototype to avoid an error.
13719
 
   Use char because int might match the return type of a GCC
13720
 
   builtin and then its argument prototype would still apply.  */
13721
 
#ifdef __cplusplus
13722
 
extern "C"
13723
 
#endif
13724
 
char XineramaQueryScreens ();
13725
 
int
13726
 
main ()
13727
 
{
13728
 
return XineramaQueryScreens ();
13729
 
  ;
13730
 
  return 0;
13731
 
}
13732
 
_ACEOF
13733
 
rm -f conftest.$ac_objext conftest$ac_exeext
13734
 
if { (ac_try="$ac_link"
13735
 
case "(($ac_try" in
13736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13737
 
  *) ac_try_echo=$ac_try;;
13738
 
esac
13739
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13740
 
$as_echo "$ac_try_echo") >&5
13741
 
  (eval "$ac_link") 2>conftest.er1
13742
 
  ac_status=$?
13743
 
  grep -v '^ *+' conftest.er1 >conftest.err
13744
 
  rm -f conftest.er1
13745
 
  cat conftest.err >&5
13746
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747
 
  (exit $ac_status); } && {
13748
 
         test -z "$ac_c_werror_flag" ||
13749
 
         test ! -s conftest.err
13750
 
       } && test -s conftest$ac_exeext && {
13751
 
         test "$cross_compiling" = yes ||
13752
 
         $as_test_x conftest$ac_exeext
13753
 
       }; then
13754
 
  ac_cv_lib_Xinerama_XineramaQueryScreens=yes
13755
 
else
13756
 
  $as_echo "$as_me: failed program was:" >&5
13757
 
sed 's/^/| /' conftest.$ac_ext >&5
13758
 
 
13759
 
        ac_cv_lib_Xinerama_XineramaQueryScreens=no
13760
 
fi
13761
 
 
13762
 
rm -rf conftest.dSYM
13763
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13764
 
      conftest$ac_exeext conftest.$ac_ext
13765
 
LIBS=$ac_check_lib_save_LIBS
13766
 
fi
13767
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
13768
 
$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
13769
 
if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then
13770
 
  XINERAMA_LIBS="-lXinerama"
13771
 
 
13772
 
for ac_header in X11/extensions/Xinerama.h
13773
 
do
13774
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13775
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13776
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13777
 
$as_echo_n "checking for $ac_header... " >&6; }
13778
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13779
 
  $as_echo_n "(cached) " >&6
13780
 
fi
13781
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13782
 
                 $as_echo "$as_val"'`
13783
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13784
 
$as_echo "$ac_res" >&6; }
13785
 
else
13786
 
  # Is the header compilable?
13787
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13788
 
$as_echo_n "checking $ac_header usability... " >&6; }
13789
 
cat >conftest.$ac_ext <<_ACEOF
13790
 
/* confdefs.h.  */
13791
 
_ACEOF
13792
 
cat confdefs.h >>conftest.$ac_ext
13793
 
cat >>conftest.$ac_ext <<_ACEOF
13794
 
/* end confdefs.h.  */
13795
 
$ac_includes_default
13796
 
#include <$ac_header>
13797
 
_ACEOF
13798
 
rm -f conftest.$ac_objext
13799
 
if { (ac_try="$ac_compile"
13800
 
case "(($ac_try" in
13801
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13802
 
  *) ac_try_echo=$ac_try;;
13803
 
esac
13804
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13805
 
$as_echo "$ac_try_echo") >&5
13806
 
  (eval "$ac_compile") 2>conftest.er1
13807
 
  ac_status=$?
13808
 
  grep -v '^ *+' conftest.er1 >conftest.err
13809
 
  rm -f conftest.er1
13810
 
  cat conftest.err >&5
13811
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812
 
  (exit $ac_status); } && {
13813
 
         test -z "$ac_c_werror_flag" ||
13814
 
         test ! -s conftest.err
13815
 
       } && test -s conftest.$ac_objext; then
13816
 
  ac_header_compiler=yes
13817
 
else
13818
 
  $as_echo "$as_me: failed program was:" >&5
13819
 
sed 's/^/| /' conftest.$ac_ext >&5
13820
 
 
13821
 
        ac_header_compiler=no
13822
 
fi
13823
 
 
13824
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13825
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13826
 
$as_echo "$ac_header_compiler" >&6; }
13827
 
 
13828
 
# Is the header present?
13829
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13830
 
$as_echo_n "checking $ac_header presence... " >&6; }
13831
 
cat >conftest.$ac_ext <<_ACEOF
13832
 
/* confdefs.h.  */
13833
 
_ACEOF
13834
 
cat confdefs.h >>conftest.$ac_ext
13835
 
cat >>conftest.$ac_ext <<_ACEOF
13836
 
/* end confdefs.h.  */
13837
 
#include <$ac_header>
13838
 
_ACEOF
13839
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13840
 
case "(($ac_try" in
13841
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13842
 
  *) ac_try_echo=$ac_try;;
13843
 
esac
13844
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13845
 
$as_echo "$ac_try_echo") >&5
13846
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13847
 
  ac_status=$?
13848
 
  grep -v '^ *+' conftest.er1 >conftest.err
13849
 
  rm -f conftest.er1
13850
 
  cat conftest.err >&5
13851
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852
 
  (exit $ac_status); } >/dev/null && {
13853
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13854
 
         test ! -s conftest.err
13855
 
       }; then
13856
 
  ac_header_preproc=yes
13857
 
else
13858
 
  $as_echo "$as_me: failed program was:" >&5
13859
 
sed 's/^/| /' conftest.$ac_ext >&5
13860
 
 
13861
 
  ac_header_preproc=no
13862
 
fi
13863
 
 
13864
 
rm -f conftest.err conftest.$ac_ext
13865
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13866
 
$as_echo "$ac_header_preproc" >&6; }
13867
 
 
13868
 
# So?  What about this header?
13869
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13870
 
  yes:no: )
13871
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13872
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13873
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13874
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13875
 
    ac_header_preproc=yes
13876
 
    ;;
13877
 
  no:yes:* )
13878
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13879
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13880
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13881
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13882
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13883
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13884
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13885
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13886
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13887
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13888
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13889
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13890
 
 
13891
 
    ;;
13892
 
esac
13893
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13894
 
$as_echo_n "checking for $ac_header... " >&6; }
13895
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13896
 
  $as_echo_n "(cached) " >&6
13897
 
else
13898
 
  eval "$as_ac_Header=\$ac_header_preproc"
13899
 
fi
13900
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13901
 
                 $as_echo "$as_val"'`
13902
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13903
 
$as_echo "$ac_res" >&6; }
13904
 
 
13905
 
fi
13906
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13907
 
                 $as_echo "$as_val"'`
13908
 
   if test "x$as_val" = x""yes; then
13909
 
  cat >>confdefs.h <<_ACEOF
13910
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13911
 
_ACEOF
13912
 
 
13913
 
fi
13914
 
 
13915
 
done
13916
 
 
13917
 
fi
13918
 
 
13919
 
 
13920
 
{ $as_echo "$as_me:$LINENO: checking for XRRUpdateConfiguration in -lXrandr" >&5
13921
 
$as_echo_n "checking for XRRUpdateConfiguration in -lXrandr... " >&6; }
13922
 
if test "${ac_cv_lib_Xrandr_XRRUpdateConfiguration+set}" = set; then
13923
 
  $as_echo_n "(cached) " >&6
13924
 
else
13925
 
  ac_check_lib_save_LIBS=$LIBS
13926
 
LIBS="-lXrandr $X_LIBS -lX11 -lXext $LIBS"
13927
 
cat >conftest.$ac_ext <<_ACEOF
13928
 
/* confdefs.h.  */
13929
 
_ACEOF
13930
 
cat confdefs.h >>conftest.$ac_ext
13931
 
cat >>conftest.$ac_ext <<_ACEOF
13932
 
/* end confdefs.h.  */
13933
 
 
13934
 
/* Override any GCC internal prototype to avoid an error.
13935
 
   Use char because int might match the return type of a GCC
13936
 
   builtin and then its argument prototype would still apply.  */
13937
 
#ifdef __cplusplus
13938
 
extern "C"
13939
 
#endif
13940
 
char XRRUpdateConfiguration ();
13941
 
int
13942
 
main ()
13943
 
{
13944
 
return XRRUpdateConfiguration ();
13945
 
  ;
13946
 
  return 0;
13947
 
}
13948
 
_ACEOF
13949
 
rm -f conftest.$ac_objext conftest$ac_exeext
13950
 
if { (ac_try="$ac_link"
13951
 
case "(($ac_try" in
13952
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13953
 
  *) ac_try_echo=$ac_try;;
13954
 
esac
13955
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13956
 
$as_echo "$ac_try_echo") >&5
13957
 
  (eval "$ac_link") 2>conftest.er1
13958
 
  ac_status=$?
13959
 
  grep -v '^ *+' conftest.er1 >conftest.err
13960
 
  rm -f conftest.er1
13961
 
  cat conftest.err >&5
13962
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963
 
  (exit $ac_status); } && {
13964
 
         test -z "$ac_c_werror_flag" ||
13965
 
         test ! -s conftest.err
13966
 
       } && test -s conftest$ac_exeext && {
13967
 
         test "$cross_compiling" = yes ||
13968
 
         $as_test_x conftest$ac_exeext
13969
 
       }; then
13970
 
  ac_cv_lib_Xrandr_XRRUpdateConfiguration=yes
13971
 
else
13972
 
  $as_echo "$as_me: failed program was:" >&5
13973
 
sed 's/^/| /' conftest.$ac_ext >&5
13974
 
 
13975
 
        ac_cv_lib_Xrandr_XRRUpdateConfiguration=no
13976
 
fi
13977
 
 
13978
 
rm -rf conftest.dSYM
13979
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13980
 
      conftest$ac_exeext conftest.$ac_ext
13981
 
LIBS=$ac_check_lib_save_LIBS
13982
 
fi
13983
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&5
13984
 
$as_echo "$ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&6; }
13985
 
if test "x$ac_cv_lib_Xrandr_XRRUpdateConfiguration" = x""yes; then
13986
 
  XRANDR_LIBS="-lXrandr"
13987
 
 
13988
 
for ac_header in X11/extensions/Xrandr.h
13989
 
do
13990
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13991
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13992
 
$as_echo_n "checking for $ac_header... " >&6; }
13993
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13994
 
  $as_echo_n "(cached) " >&6
13995
 
else
13996
 
  cat >conftest.$ac_ext <<_ACEOF
13997
 
/* confdefs.h.  */
13998
 
_ACEOF
13999
 
cat confdefs.h >>conftest.$ac_ext
14000
 
cat >>conftest.$ac_ext <<_ACEOF
14001
 
/* end confdefs.h.  */
14002
 
#include <X11/Xlib.h>
14003
 
 
14004
 
#include <$ac_header>
14005
 
_ACEOF
14006
 
rm -f conftest.$ac_objext
14007
 
if { (ac_try="$ac_compile"
14008
 
case "(($ac_try" in
14009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14010
 
  *) ac_try_echo=$ac_try;;
14011
 
esac
14012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14013
 
$as_echo "$ac_try_echo") >&5
14014
 
  (eval "$ac_compile") 2>conftest.er1
14015
 
  ac_status=$?
14016
 
  grep -v '^ *+' conftest.er1 >conftest.err
14017
 
  rm -f conftest.er1
14018
 
  cat conftest.err >&5
14019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020
 
  (exit $ac_status); } && {
14021
 
         test -z "$ac_c_werror_flag" ||
14022
 
         test ! -s conftest.err
14023
 
       } && test -s conftest.$ac_objext; then
14024
 
  eval "$as_ac_Header=yes"
14025
 
else
14026
 
  $as_echo "$as_me: failed program was:" >&5
14027
 
sed 's/^/| /' conftest.$ac_ext >&5
14028
 
 
14029
 
        eval "$as_ac_Header=no"
14030
 
fi
14031
 
 
14032
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14033
 
fi
14034
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14035
 
                 $as_echo "$as_val"'`
14036
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14037
 
$as_echo "$ac_res" >&6; }
14038
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14039
 
                 $as_echo "$as_val"'`
14040
 
   if test "x$as_val" = x""yes; then
14041
 
  cat >>confdefs.h <<_ACEOF
14042
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14043
 
_ACEOF
14044
 
 
14045
 
fi
14046
 
 
14047
 
done
14048
 
 
14049
 
fi
14050
 
 
14051
 
 
14052
 
 
14053
 
 
14054
10861
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14055
10862
        if test -n "$ac_tool_prefix"; then
14056
10863
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14057
10864
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14058
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14059
10866
$as_echo_n "checking for $ac_word... " >&6; }
14060
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
10867
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14061
10868
  $as_echo_n "(cached) " >&6
14062
10869
else
14063
10870
  case $PKG_CONFIG in
14070
10877
do
14071
10878
  IFS=$as_save_IFS
14072
10879
  test -z "$as_dir" && as_dir=.
14073
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10880
    for ac_exec_ext in '' $ac_executable_extensions; do
14074
10881
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14075
10882
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14076
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10883
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14077
10884
    break 2
14078
10885
  fi
14079
10886
done
14080
 
done
 
10887
  done
14081
10888
IFS=$as_save_IFS
14082
10889
 
14083
10890
  ;;
14085
10892
fi
14086
10893
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14087
10894
if test -n "$PKG_CONFIG"; then
14088
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
10895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14089
10896
$as_echo "$PKG_CONFIG" >&6; }
14090
10897
else
14091
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14092
10899
$as_echo "no" >&6; }
14093
10900
fi
14094
10901
 
14098
10905
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14099
10906
  # Extract the first word of "pkg-config", so it can be a program name with args.
14100
10907
set dummy pkg-config; ac_word=$2
14101
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14102
10909
$as_echo_n "checking for $ac_word... " >&6; }
14103
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
10910
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14104
10911
  $as_echo_n "(cached) " >&6
14105
10912
else
14106
10913
  case $ac_pt_PKG_CONFIG in
14113
10920
do
14114
10921
  IFS=$as_save_IFS
14115
10922
  test -z "$as_dir" && as_dir=.
14116
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10923
    for ac_exec_ext in '' $ac_executable_extensions; do
14117
10924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14118
10925
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14119
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10926
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14120
10927
    break 2
14121
10928
  fi
14122
10929
done
14123
 
done
 
10930
  done
14124
10931
IFS=$as_save_IFS
14125
10932
 
14126
10933
  ;;
14128
10935
fi
14129
10936
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14130
10937
if test -n "$ac_pt_PKG_CONFIG"; then
14131
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
10938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14132
10939
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14133
10940
else
14134
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14135
10942
$as_echo "no" >&6; }
14136
10943
fi
14137
10944
 
14140
10947
  else
14141
10948
    case $cross_compiling:$ac_tool_warned in
14142
10949
yes:)
14143
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10950
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14144
10951
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14145
10952
ac_tool_warned=yes ;;
14146
10953
esac
14153
10960
fi
14154
10961
if test -n "$PKG_CONFIG"; then
14155
10962
        _pkg_min_version=0.9.0
14156
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
10963
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14157
10964
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14158
10965
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14159
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10966
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14160
10967
$as_echo "yes" >&6; }
14161
10968
        else
14162
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
10969
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14163
10970
$as_echo "no" >&6; }
14164
10971
                PKG_CONFIG=""
14165
10972
        fi
14167
10974
fi
14168
10975
 
14169
10976
pkg_failed=no
14170
 
{ $as_echo "$as_me:$LINENO: checking for XFT" >&5
 
10977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXineRama" >&5
 
10978
$as_echo_n "checking for libXineRama... " >&6; }
 
10979
 
 
10980
if test -n "$PKG_CONFIG"; then
 
10981
    if test -n "$libXineRama_CFLAGS"; then
 
10982
        pkg_cv_libXineRama_CFLAGS="$libXineRama_CFLAGS"
 
10983
    else
 
10984
        if test -n "$PKG_CONFIG" && \
 
10985
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama >= 1.0
 
10986
                  \""; } >&5
 
10987
  ($PKG_CONFIG --exists --print-errors "xinerama >= 1.0
 
10988
                  ") 2>&5
 
10989
  ac_status=$?
 
10990
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10991
  test $ac_status = 0; }; then
 
10992
  pkg_cv_libXineRama_CFLAGS=`$PKG_CONFIG --cflags "xinerama >= 1.0
 
10993
                  " 2>/dev/null`
 
10994
else
 
10995
  pkg_failed=yes
 
10996
fi
 
10997
    fi
 
10998
else
 
10999
        pkg_failed=untried
 
11000
fi
 
11001
if test -n "$PKG_CONFIG"; then
 
11002
    if test -n "$libXineRama_LIBS"; then
 
11003
        pkg_cv_libXineRama_LIBS="$libXineRama_LIBS"
 
11004
    else
 
11005
        if test -n "$PKG_CONFIG" && \
 
11006
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama >= 1.0
 
11007
                  \""; } >&5
 
11008
  ($PKG_CONFIG --exists --print-errors "xinerama >= 1.0
 
11009
                  ") 2>&5
 
11010
  ac_status=$?
 
11011
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11012
  test $ac_status = 0; }; then
 
11013
  pkg_cv_libXineRama_LIBS=`$PKG_CONFIG --libs "xinerama >= 1.0
 
11014
                  " 2>/dev/null`
 
11015
else
 
11016
  pkg_failed=yes
 
11017
fi
 
11018
    fi
 
11019
else
 
11020
        pkg_failed=untried
 
11021
fi
 
11022
 
 
11023
 
 
11024
 
 
11025
if test $pkg_failed = yes; then
 
11026
 
 
11027
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11028
        _pkg_short_errors_supported=yes
 
11029
else
 
11030
        _pkg_short_errors_supported=no
 
11031
fi
 
11032
        if test $_pkg_short_errors_supported = yes; then
 
11033
                libXineRama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xinerama >= 1.0
 
11034
                  "`
 
11035
        else
 
11036
                libXineRama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xinerama >= 1.0
 
11037
                  "`
 
11038
        fi
 
11039
        # Put the nasty error message in config.log where it belongs
 
11040
        echo "$libXineRama_PKG_ERRORS" >&5
 
11041
 
 
11042
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11043
$as_echo "no" >&6; }
 
11044
                as_fn_error "cannot locate libXineRama" "$LINENO" 5
 
11045
elif test $pkg_failed = untried; then
 
11046
        as_fn_error "cannot locate libXineRama" "$LINENO" 5
 
11047
else
 
11048
        libXineRama_CFLAGS=$pkg_cv_libXineRama_CFLAGS
 
11049
        libXineRama_LIBS=$pkg_cv_libXineRama_LIBS
 
11050
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11051
$as_echo "yes" >&6; }
 
11052
        XINERAMA_LIBS="-lXinerama"
 
11053
 
 
11054
$as_echo "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
 
11055
 
 
11056
 
 
11057
fi
 
11058
 
 
11059
 
 
11060
pkg_failed=no
 
11061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXRandR" >&5
 
11062
$as_echo_n "checking for libXRandR... " >&6; }
 
11063
 
 
11064
if test -n "$PKG_CONFIG"; then
 
11065
    if test -n "$libXRandR_CFLAGS"; then
 
11066
        pkg_cv_libXRandR_CFLAGS="$libXRandR_CFLAGS"
 
11067
    else
 
11068
        if test -n "$PKG_CONFIG" && \
 
11069
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.0
 
11070
                  \""; } >&5
 
11071
  ($PKG_CONFIG --exists --print-errors "xrandr >= 1.0
 
11072
                  ") 2>&5
 
11073
  ac_status=$?
 
11074
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11075
  test $ac_status = 0; }; then
 
11076
  pkg_cv_libXRandR_CFLAGS=`$PKG_CONFIG --cflags "xrandr >= 1.0
 
11077
                  " 2>/dev/null`
 
11078
else
 
11079
  pkg_failed=yes
 
11080
fi
 
11081
    fi
 
11082
else
 
11083
        pkg_failed=untried
 
11084
fi
 
11085
if test -n "$PKG_CONFIG"; then
 
11086
    if test -n "$libXRandR_LIBS"; then
 
11087
        pkg_cv_libXRandR_LIBS="$libXRandR_LIBS"
 
11088
    else
 
11089
        if test -n "$PKG_CONFIG" && \
 
11090
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr >= 1.0
 
11091
                  \""; } >&5
 
11092
  ($PKG_CONFIG --exists --print-errors "xrandr >= 1.0
 
11093
                  ") 2>&5
 
11094
  ac_status=$?
 
11095
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11096
  test $ac_status = 0; }; then
 
11097
  pkg_cv_libXRandR_LIBS=`$PKG_CONFIG --libs "xrandr >= 1.0
 
11098
                  " 2>/dev/null`
 
11099
else
 
11100
  pkg_failed=yes
 
11101
fi
 
11102
    fi
 
11103
else
 
11104
        pkg_failed=untried
 
11105
fi
 
11106
 
 
11107
 
 
11108
 
 
11109
if test $pkg_failed = yes; then
 
11110
 
 
11111
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11112
        _pkg_short_errors_supported=yes
 
11113
else
 
11114
        _pkg_short_errors_supported=no
 
11115
fi
 
11116
        if test $_pkg_short_errors_supported = yes; then
 
11117
                libXRandR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xrandr >= 1.0
 
11118
                  "`
 
11119
        else
 
11120
                libXRandR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xrandr >= 1.0
 
11121
                  "`
 
11122
        fi
 
11123
        # Put the nasty error message in config.log where it belongs
 
11124
        echo "$libXRandR_PKG_ERRORS" >&5
 
11125
 
 
11126
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11127
$as_echo "no" >&6; }
 
11128
                as_fn_error "cannot locate libXRandR" "$LINENO" 5
 
11129
elif test $pkg_failed = untried; then
 
11130
        as_fn_error "cannot locate libXRandR" "$LINENO" 5
 
11131
else
 
11132
        libXRandR_CFLAGS=$pkg_cv_libXRandR_CFLAGS
 
11133
        libXRandR_LIBS=$pkg_cv_libXRandR_LIBS
 
11134
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11135
$as_echo "yes" >&6; }
 
11136
        XRANDR_LIBS="-lXrandr"
 
11137
 
 
11138
$as_echo "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
 
11139
 
 
11140
 
 
11141
fi
 
11142
 
 
11143
 
 
11144
pkg_failed=no
 
11145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libXft" >&5
 
11146
$as_echo_n "checking for libXft... " >&6; }
 
11147
 
 
11148
if test -n "$PKG_CONFIG"; then
 
11149
    if test -n "$libXft_CFLAGS"; then
 
11150
        pkg_cv_libXft_CFLAGS="$libXft_CFLAGS"
 
11151
    else
 
11152
        if test -n "$PKG_CONFIG" && \
 
11153
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 1.0
 
11154
                  \""; } >&5
 
11155
  ($PKG_CONFIG --exists --print-errors "xft >= 1.0
 
11156
                  ") 2>&5
 
11157
  ac_status=$?
 
11158
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11159
  test $ac_status = 0; }; then
 
11160
  pkg_cv_libXft_CFLAGS=`$PKG_CONFIG --cflags "xft >= 1.0
 
11161
                  " 2>/dev/null`
 
11162
else
 
11163
  pkg_failed=yes
 
11164
fi
 
11165
    fi
 
11166
else
 
11167
        pkg_failed=untried
 
11168
fi
 
11169
if test -n "$PKG_CONFIG"; then
 
11170
    if test -n "$libXft_LIBS"; then
 
11171
        pkg_cv_libXft_LIBS="$libXft_LIBS"
 
11172
    else
 
11173
        if test -n "$PKG_CONFIG" && \
 
11174
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 1.0
 
11175
                  \""; } >&5
 
11176
  ($PKG_CONFIG --exists --print-errors "xft >= 1.0
 
11177
                  ") 2>&5
 
11178
  ac_status=$?
 
11179
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11180
  test $ac_status = 0; }; then
 
11181
  pkg_cv_libXft_LIBS=`$PKG_CONFIG --libs "xft >= 1.0
 
11182
                  " 2>/dev/null`
 
11183
else
 
11184
  pkg_failed=yes
 
11185
fi
 
11186
    fi
 
11187
else
 
11188
        pkg_failed=untried
 
11189
fi
 
11190
 
 
11191
 
 
11192
 
 
11193
if test $pkg_failed = yes; then
 
11194
 
 
11195
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11196
        _pkg_short_errors_supported=yes
 
11197
else
 
11198
        _pkg_short_errors_supported=no
 
11199
fi
 
11200
        if test $_pkg_short_errors_supported = yes; then
 
11201
                libXft_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xft >= 1.0
 
11202
                  "`
 
11203
        else
 
11204
                libXft_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xft >= 1.0
 
11205
                  "`
 
11206
        fi
 
11207
        # Put the nasty error message in config.log where it belongs
 
11208
        echo "$libXft_PKG_ERRORS" >&5
 
11209
 
 
11210
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11211
$as_echo "no" >&6; }
 
11212
                as_fn_error "cannot locate libXft" "$LINENO" 5
 
11213
elif test $pkg_failed = untried; then
 
11214
        as_fn_error "cannot locate libXft" "$LINENO" 5
 
11215
else
 
11216
        libXft_CFLAGS=$pkg_cv_libXft_CFLAGS
 
11217
        libXft_LIBS=$pkg_cv_libXft_LIBS
 
11218
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11219
$as_echo "yes" >&6; }
 
11220
        XFT_LIBS="-lXft"
 
11221
                  XFT_CFLAGS="`pkg-config --cflags xft`"
 
11222
 
 
11223
$as_echo "#define HAVE_X11_XFT_XFT_H 1" >>confdefs.h
 
11224
 
 
11225
 
 
11226
fi
 
11227
 
 
11228
X_LIBS=""
 
11229
 
 
11230
 
 
11231
pkg_failed=no
 
11232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libX11" >&5
 
11233
$as_echo_n "checking for libX11... " >&6; }
 
11234
 
 
11235
if test -n "$PKG_CONFIG"; then
 
11236
    if test -n "$libX11_CFLAGS"; then
 
11237
        pkg_cv_libX11_CFLAGS="$libX11_CFLAGS"
 
11238
    else
 
11239
        if test -n "$PKG_CONFIG" && \
 
11240
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.0
 
11241
                  \""; } >&5
 
11242
  ($PKG_CONFIG --exists --print-errors "x11 >= 1.0
 
11243
                  ") 2>&5
 
11244
  ac_status=$?
 
11245
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11246
  test $ac_status = 0; }; then
 
11247
  pkg_cv_libX11_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.0
 
11248
                  " 2>/dev/null`
 
11249
else
 
11250
  pkg_failed=yes
 
11251
fi
 
11252
    fi
 
11253
else
 
11254
        pkg_failed=untried
 
11255
fi
 
11256
if test -n "$PKG_CONFIG"; then
 
11257
    if test -n "$libX11_LIBS"; then
 
11258
        pkg_cv_libX11_LIBS="$libX11_LIBS"
 
11259
    else
 
11260
        if test -n "$PKG_CONFIG" && \
 
11261
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.0
 
11262
                  \""; } >&5
 
11263
  ($PKG_CONFIG --exists --print-errors "x11 >= 1.0
 
11264
                  ") 2>&5
 
11265
  ac_status=$?
 
11266
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11267
  test $ac_status = 0; }; then
 
11268
  pkg_cv_libX11_LIBS=`$PKG_CONFIG --libs "x11 >= 1.0
 
11269
                  " 2>/dev/null`
 
11270
else
 
11271
  pkg_failed=yes
 
11272
fi
 
11273
    fi
 
11274
else
 
11275
        pkg_failed=untried
 
11276
fi
 
11277
 
 
11278
 
 
11279
 
 
11280
if test $pkg_failed = yes; then
 
11281
 
 
11282
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11283
        _pkg_short_errors_supported=yes
 
11284
else
 
11285
        _pkg_short_errors_supported=no
 
11286
fi
 
11287
        if test $_pkg_short_errors_supported = yes; then
 
11288
                libX11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 >= 1.0
 
11289
                  "`
 
11290
        else
 
11291
                libX11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 >= 1.0
 
11292
                  "`
 
11293
        fi
 
11294
        # Put the nasty error message in config.log where it belongs
 
11295
        echo "$libX11_PKG_ERRORS" >&5
 
11296
 
 
11297
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11298
$as_echo "no" >&6; }
 
11299
                as_fn_error "cannot locate libX11" "$LINENO" 5
 
11300
elif test $pkg_failed = untried; then
 
11301
        as_fn_error "cannot locate libX11" "$LINENO" 5
 
11302
else
 
11303
        libX11_CFLAGS=$pkg_cv_libX11_CFLAGS
 
11304
        libX11_LIBS=$pkg_cv_libX11_LIBS
 
11305
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11306
$as_echo "yes" >&6; }
 
11307
 
 
11308
$as_echo "#define HAVE_X11 1" >>confdefs.h
 
11309
 
 
11310
                  X_LIBS="`pkg-config --libs x11`"
 
11311
                  X_CFLAGS="`pkg-config --cflags x11`"
 
11312
 
 
11313
$as_echo "#define X_DISPLAY_MISSING 0" >>confdefs.h
 
11314
 
 
11315
 
 
11316
fi
 
11317
 
 
11318
X_LIBS="${X_LIBS} -lXext -lXrender"
 
11319
 
 
11320
X_EXTRA_LIBS=""
 
11321
 
 
11322
 
 
11323
pkg_failed=no
 
11324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libICE" >&5
 
11325
$as_echo_n "checking for libICE... " >&6; }
 
11326
 
 
11327
if test -n "$PKG_CONFIG"; then
 
11328
    if test -n "$libICE_CFLAGS"; then
 
11329
        pkg_cv_libICE_CFLAGS="$libICE_CFLAGS"
 
11330
    else
 
11331
        if test -n "$PKG_CONFIG" && \
 
11332
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.0
 
11333
                  \""; } >&5
 
11334
  ($PKG_CONFIG --exists --print-errors "ice >= 1.0
 
11335
                  ") 2>&5
 
11336
  ac_status=$?
 
11337
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11338
  test $ac_status = 0; }; then
 
11339
  pkg_cv_libICE_CFLAGS=`$PKG_CONFIG --cflags "ice >= 1.0
 
11340
                  " 2>/dev/null`
 
11341
else
 
11342
  pkg_failed=yes
 
11343
fi
 
11344
    fi
 
11345
else
 
11346
        pkg_failed=untried
 
11347
fi
 
11348
if test -n "$PKG_CONFIG"; then
 
11349
    if test -n "$libICE_LIBS"; then
 
11350
        pkg_cv_libICE_LIBS="$libICE_LIBS"
 
11351
    else
 
11352
        if test -n "$PKG_CONFIG" && \
 
11353
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.0
 
11354
                  \""; } >&5
 
11355
  ($PKG_CONFIG --exists --print-errors "ice >= 1.0
 
11356
                  ") 2>&5
 
11357
  ac_status=$?
 
11358
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11359
  test $ac_status = 0; }; then
 
11360
  pkg_cv_libICE_LIBS=`$PKG_CONFIG --libs "ice >= 1.0
 
11361
                  " 2>/dev/null`
 
11362
else
 
11363
  pkg_failed=yes
 
11364
fi
 
11365
    fi
 
11366
else
 
11367
        pkg_failed=untried
 
11368
fi
 
11369
 
 
11370
 
 
11371
 
 
11372
if test $pkg_failed = yes; then
 
11373
 
 
11374
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11375
        _pkg_short_errors_supported=yes
 
11376
else
 
11377
        _pkg_short_errors_supported=no
 
11378
fi
 
11379
        if test $_pkg_short_errors_supported = yes; then
 
11380
                libICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ice >= 1.0
 
11381
                  "`
 
11382
        else
 
11383
                libICE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ice >= 1.0
 
11384
                  "`
 
11385
        fi
 
11386
        # Put the nasty error message in config.log where it belongs
 
11387
        echo "$libICE_PKG_ERRORS" >&5
 
11388
 
 
11389
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11390
$as_echo "no" >&6; }
 
11391
                as_fn_error "cannot locate libICE" "$LINENO" 5
 
11392
elif test $pkg_failed = untried; then
 
11393
        as_fn_error "cannot locate libICE" "$LINENO" 5
 
11394
else
 
11395
        libICE_CFLAGS=$pkg_cv_libICE_CFLAGS
 
11396
        libICE_LIBS=$pkg_cv_libICE_LIBS
 
11397
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11398
$as_echo "yes" >&6; }
 
11399
        X_EXTRA_LIBS="${X_EXTRA_LIBS} -lICE"
 
11400
 
 
11401
$as_echo "#define HAVE_X11_ICE_ICE_H 1" >>confdefs.h
 
11402
 
 
11403
 
 
11404
fi
 
11405
 
 
11406
 
 
11407
pkg_failed=no
 
11408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libSM" >&5
 
11409
$as_echo_n "checking for libSM... " >&6; }
 
11410
 
 
11411
if test -n "$PKG_CONFIG"; then
 
11412
    if test -n "$libSM_CFLAGS"; then
 
11413
        pkg_cv_libSM_CFLAGS="$libSM_CFLAGS"
 
11414
    else
 
11415
        if test -n "$PKG_CONFIG" && \
 
11416
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm >= 1.0
 
11417
                  \""; } >&5
 
11418
  ($PKG_CONFIG --exists --print-errors "sm >= 1.0
 
11419
                  ") 2>&5
 
11420
  ac_status=$?
 
11421
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11422
  test $ac_status = 0; }; then
 
11423
  pkg_cv_libSM_CFLAGS=`$PKG_CONFIG --cflags "sm >= 1.0
 
11424
                  " 2>/dev/null`
 
11425
else
 
11426
  pkg_failed=yes
 
11427
fi
 
11428
    fi
 
11429
else
 
11430
        pkg_failed=untried
 
11431
fi
 
11432
if test -n "$PKG_CONFIG"; then
 
11433
    if test -n "$libSM_LIBS"; then
 
11434
        pkg_cv_libSM_LIBS="$libSM_LIBS"
 
11435
    else
 
11436
        if test -n "$PKG_CONFIG" && \
 
11437
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm >= 1.0
 
11438
                  \""; } >&5
 
11439
  ($PKG_CONFIG --exists --print-errors "sm >= 1.0
 
11440
                  ") 2>&5
 
11441
  ac_status=$?
 
11442
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11443
  test $ac_status = 0; }; then
 
11444
  pkg_cv_libSM_LIBS=`$PKG_CONFIG --libs "sm >= 1.0
 
11445
                  " 2>/dev/null`
 
11446
else
 
11447
  pkg_failed=yes
 
11448
fi
 
11449
    fi
 
11450
else
 
11451
        pkg_failed=untried
 
11452
fi
 
11453
 
 
11454
 
 
11455
 
 
11456
if test $pkg_failed = yes; then
 
11457
 
 
11458
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11459
        _pkg_short_errors_supported=yes
 
11460
else
 
11461
        _pkg_short_errors_supported=no
 
11462
fi
 
11463
        if test $_pkg_short_errors_supported = yes; then
 
11464
                libSM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sm >= 1.0
 
11465
                  "`
 
11466
        else
 
11467
                libSM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sm >= 1.0
 
11468
                  "`
 
11469
        fi
 
11470
        # Put the nasty error message in config.log where it belongs
 
11471
        echo "$libSM_PKG_ERRORS" >&5
 
11472
 
 
11473
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11474
$as_echo "no" >&6; }
 
11475
                as_fn_error "cannot locate libSM" "$LINENO" 5
 
11476
elif test $pkg_failed = untried; then
 
11477
        as_fn_error "cannot locate libSM" "$LINENO" 5
 
11478
else
 
11479
        libSM_CFLAGS=$pkg_cv_libSM_CFLAGS
 
11480
        libSM_LIBS=$pkg_cv_libSM_LIBS
 
11481
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11482
$as_echo "yes" >&6; }
 
11483
        X_EXTRA_LIBS="${X_EXTRA_LIBS} -lSM"
 
11484
 
 
11485
$as_echo "#define HAVE_X11_SM_SMLIB_H 1" >>confdefs.h
 
11486
 
 
11487
 
 
11488
fi
 
11489
 
 
11490
X_SERVER="X.Org X11R7"
 
11491
 
 
11492
CPPFLAGS="${_cppflags}"
 
11493
 
 
11494
else
 
11495
 
 
11496
for ac_header in X11/ICE/ICE.h X11/SM/SMlib.h X11/extensions/Xdbe.h
 
11497
do :
 
11498
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
11499
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <X11/Xlib.h>
 
11500
"
 
11501
eval as_val=\$$as_ac_Header
 
11502
   if test "x$as_val" = x""yes; then :
 
11503
  cat >>confdefs.h <<_ACEOF
 
11504
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11505
_ACEOF
 
11506
 
 
11507
fi
 
11508
 
 
11509
done
 
11510
 
 
11511
 
 
11512
XINERAMA_LIBS=""
 
11513
XRANDR_LIBS=""
 
11514
XFT_LIBS=""
 
11515
XFT_CFLAGS=""
 
11516
 
 
11517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
 
11518
$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
 
11519
if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
 
11520
  $as_echo_n "(cached) " >&6
 
11521
else
 
11522
  ac_check_lib_save_LIBS=$LIBS
 
11523
LIBS="-lXinerama $X_LIBS -lX11 -lXext $LIBS"
 
11524
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11525
/* end confdefs.h.  */
 
11526
 
 
11527
/* Override any GCC internal prototype to avoid an error.
 
11528
   Use char because int might match the return type of a GCC
 
11529
   builtin and then its argument prototype would still apply.  */
 
11530
#ifdef __cplusplus
 
11531
extern "C"
 
11532
#endif
 
11533
char XineramaQueryScreens ();
 
11534
int
 
11535
main ()
 
11536
{
 
11537
return XineramaQueryScreens ();
 
11538
  ;
 
11539
  return 0;
 
11540
}
 
11541
_ACEOF
 
11542
if ac_fn_c_try_link "$LINENO"; then :
 
11543
  ac_cv_lib_Xinerama_XineramaQueryScreens=yes
 
11544
else
 
11545
  ac_cv_lib_Xinerama_XineramaQueryScreens=no
 
11546
fi
 
11547
rm -f core conftest.err conftest.$ac_objext \
 
11548
    conftest$ac_exeext conftest.$ac_ext
 
11549
LIBS=$ac_check_lib_save_LIBS
 
11550
fi
 
11551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
 
11552
$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
 
11553
if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
 
11554
  XINERAMA_LIBS="-lXinerama"
 
11555
              for ac_header in X11/extensions/Xinerama.h
 
11556
do :
 
11557
  ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$ac_includes_default"
 
11558
if test "x$ac_cv_header_X11_extensions_Xinerama_h" = x""yes; then :
 
11559
  cat >>confdefs.h <<_ACEOF
 
11560
#define HAVE_X11_EXTENSIONS_XINERAMA_H 1
 
11561
_ACEOF
 
11562
 
 
11563
fi
 
11564
 
 
11565
done
 
11566
 
 
11567
fi
 
11568
 
 
11569
 
 
11570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRUpdateConfiguration in -lXrandr" >&5
 
11571
$as_echo_n "checking for XRRUpdateConfiguration in -lXrandr... " >&6; }
 
11572
if test "${ac_cv_lib_Xrandr_XRRUpdateConfiguration+set}" = set; then :
 
11573
  $as_echo_n "(cached) " >&6
 
11574
else
 
11575
  ac_check_lib_save_LIBS=$LIBS
 
11576
LIBS="-lXrandr $X_LIBS -lX11 -lXext $LIBS"
 
11577
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11578
/* end confdefs.h.  */
 
11579
 
 
11580
/* Override any GCC internal prototype to avoid an error.
 
11581
   Use char because int might match the return type of a GCC
 
11582
   builtin and then its argument prototype would still apply.  */
 
11583
#ifdef __cplusplus
 
11584
extern "C"
 
11585
#endif
 
11586
char XRRUpdateConfiguration ();
 
11587
int
 
11588
main ()
 
11589
{
 
11590
return XRRUpdateConfiguration ();
 
11591
  ;
 
11592
  return 0;
 
11593
}
 
11594
_ACEOF
 
11595
if ac_fn_c_try_link "$LINENO"; then :
 
11596
  ac_cv_lib_Xrandr_XRRUpdateConfiguration=yes
 
11597
else
 
11598
  ac_cv_lib_Xrandr_XRRUpdateConfiguration=no
 
11599
fi
 
11600
rm -f core conftest.err conftest.$ac_objext \
 
11601
    conftest$ac_exeext conftest.$ac_ext
 
11602
LIBS=$ac_check_lib_save_LIBS
 
11603
fi
 
11604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&5
 
11605
$as_echo "$ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&6; }
 
11606
if test "x$ac_cv_lib_Xrandr_XRRUpdateConfiguration" = x""yes; then :
 
11607
  XRANDR_LIBS="-lXrandr"
 
11608
              for ac_header in X11/extensions/Xrandr.h
 
11609
do :
 
11610
  ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#include <X11/Xlib.h>
 
11611
"
 
11612
if test "x$ac_cv_header_X11_extensions_Xrandr_h" = x""yes; then :
 
11613
  cat >>confdefs.h <<_ACEOF
 
11614
#define HAVE_X11_EXTENSIONS_XRANDR_H 1
 
11615
_ACEOF
 
11616
 
 
11617
fi
 
11618
 
 
11619
done
 
11620
 
 
11621
fi
 
11622
 
 
11623
 
 
11624
 
 
11625
pkg_failed=no
 
11626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
14171
11627
$as_echo_n "checking for XFT... " >&6; }
14172
11628
 
14173
11629
if test -n "$PKG_CONFIG"; then
14175
11631
        pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
14176
11632
    else
14177
11633
        if test -n "$PKG_CONFIG" && \
14178
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 1.0\"") >&5
 
11634
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 1.0\""; } >&5
14179
11635
  ($PKG_CONFIG --exists --print-errors "xft >= 1.0") 2>&5
14180
11636
  ac_status=$?
14181
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182
 
  (exit $ac_status); }; then
 
11637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11638
  test $ac_status = 0; }; then
14183
11639
  pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft >= 1.0" 2>/dev/null`
14184
11640
else
14185
11641
  pkg_failed=yes
14193
11649
        pkg_cv_XFT_LIBS="$XFT_LIBS"
14194
11650
    else
14195
11651
        if test -n "$PKG_CONFIG" && \
14196
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xft >= 1.0\"") >&5
 
11652
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft >= 1.0\""; } >&5
14197
11653
  ($PKG_CONFIG --exists --print-errors "xft >= 1.0") 2>&5
14198
11654
  ac_status=$?
14199
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200
 
  (exit $ac_status); }; then
 
11655
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11656
  test $ac_status = 0; }; then
14201
11657
  pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft >= 1.0" 2>/dev/null`
14202
11658
else
14203
11659
  pkg_failed=yes
14224
11680
        # Put the nasty error message in config.log where it belongs
14225
11681
        echo "$XFT_PKG_ERRORS" >&5
14226
11682
 
14227
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
11683
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14228
11684
$as_echo "no" >&6; }
14229
 
                { $as_echo "$as_me:$LINENO: checking for XftDrawCreate in -lXft" >&5
 
11685
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawCreate in -lXft" >&5
14230
11686
$as_echo_n "checking for XftDrawCreate in -lXft... " >&6; }
14231
 
if test "${ac_cv_lib_Xft_XftDrawCreate+set}" = set; then
 
11687
if test "${ac_cv_lib_Xft_XftDrawCreate+set}" = set; then :
14232
11688
  $as_echo_n "(cached) " >&6
14233
11689
else
14234
11690
  ac_check_lib_save_LIBS=$LIBS
14235
11691
LIBS="-lXft $X_LIBS -lX11 -lXext $LIBS"
14236
 
cat >conftest.$ac_ext <<_ACEOF
14237
 
/* confdefs.h.  */
14238
 
_ACEOF
14239
 
cat confdefs.h >>conftest.$ac_ext
14240
 
cat >>conftest.$ac_ext <<_ACEOF
 
11692
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241
11693
/* end confdefs.h.  */
14242
11694
 
14243
11695
/* Override any GCC internal prototype to avoid an error.
14255
11707
  return 0;
14256
11708
}
14257
11709
_ACEOF
14258
 
rm -f conftest.$ac_objext conftest$ac_exeext
14259
 
if { (ac_try="$ac_link"
14260
 
case "(($ac_try" in
14261
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14262
 
  *) ac_try_echo=$ac_try;;
14263
 
esac
14264
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14265
 
$as_echo "$ac_try_echo") >&5
14266
 
  (eval "$ac_link") 2>conftest.er1
14267
 
  ac_status=$?
14268
 
  grep -v '^ *+' conftest.er1 >conftest.err
14269
 
  rm -f conftest.er1
14270
 
  cat conftest.err >&5
14271
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272
 
  (exit $ac_status); } && {
14273
 
         test -z "$ac_c_werror_flag" ||
14274
 
         test ! -s conftest.err
14275
 
       } && test -s conftest$ac_exeext && {
14276
 
         test "$cross_compiling" = yes ||
14277
 
         $as_test_x conftest$ac_exeext
14278
 
       }; then
 
11710
if ac_fn_c_try_link "$LINENO"; then :
14279
11711
  ac_cv_lib_Xft_XftDrawCreate=yes
14280
11712
else
14281
 
  $as_echo "$as_me: failed program was:" >&5
14282
 
sed 's/^/| /' conftest.$ac_ext >&5
14283
 
 
14284
 
        ac_cv_lib_Xft_XftDrawCreate=no
 
11713
  ac_cv_lib_Xft_XftDrawCreate=no
14285
11714
fi
14286
 
 
14287
 
rm -rf conftest.dSYM
14288
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14289
 
      conftest$ac_exeext conftest.$ac_ext
 
11715
rm -f core conftest.err conftest.$ac_objext \
 
11716
    conftest$ac_exeext conftest.$ac_ext
14290
11717
LIBS=$ac_check_lib_save_LIBS
14291
11718
fi
14292
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawCreate" >&5
 
11719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawCreate" >&5
14293
11720
$as_echo "$ac_cv_lib_Xft_XftDrawCreate" >&6; }
14294
 
if test "x$ac_cv_lib_Xft_XftDrawCreate" = x""yes; then
 
11721
if test "x$ac_cv_lib_Xft_XftDrawCreate" = x""yes; then :
14295
11722
  XFT_LIBS="-lXft -lXrender"
14296
 
 
14297
 
for ac_header in X11/Xft/Xft.h
14298
 
do
14299
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14300
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14301
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14302
 
$as_echo_n "checking for $ac_header... " >&6; }
14303
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14304
 
  $as_echo_n "(cached) " >&6
14305
 
fi
14306
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14307
 
                 $as_echo "$as_val"'`
14308
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14309
 
$as_echo "$ac_res" >&6; }
14310
 
else
14311
 
  # Is the header compilable?
14312
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14313
 
$as_echo_n "checking $ac_header usability... " >&6; }
14314
 
cat >conftest.$ac_ext <<_ACEOF
14315
 
/* confdefs.h.  */
14316
 
_ACEOF
14317
 
cat confdefs.h >>conftest.$ac_ext
14318
 
cat >>conftest.$ac_ext <<_ACEOF
14319
 
/* end confdefs.h.  */
14320
 
$ac_includes_default
14321
 
#include <$ac_header>
14322
 
_ACEOF
14323
 
rm -f conftest.$ac_objext
14324
 
if { (ac_try="$ac_compile"
14325
 
case "(($ac_try" in
14326
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14327
 
  *) ac_try_echo=$ac_try;;
14328
 
esac
14329
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14330
 
$as_echo "$ac_try_echo") >&5
14331
 
  (eval "$ac_compile") 2>conftest.er1
14332
 
  ac_status=$?
14333
 
  grep -v '^ *+' conftest.er1 >conftest.err
14334
 
  rm -f conftest.er1
14335
 
  cat conftest.err >&5
14336
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337
 
  (exit $ac_status); } && {
14338
 
         test -z "$ac_c_werror_flag" ||
14339
 
         test ! -s conftest.err
14340
 
       } && test -s conftest.$ac_objext; then
14341
 
  ac_header_compiler=yes
14342
 
else
14343
 
  $as_echo "$as_me: failed program was:" >&5
14344
 
sed 's/^/| /' conftest.$ac_ext >&5
14345
 
 
14346
 
        ac_header_compiler=no
14347
 
fi
14348
 
 
14349
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14350
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14351
 
$as_echo "$ac_header_compiler" >&6; }
14352
 
 
14353
 
# Is the header present?
14354
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14355
 
$as_echo_n "checking $ac_header presence... " >&6; }
14356
 
cat >conftest.$ac_ext <<_ACEOF
14357
 
/* confdefs.h.  */
14358
 
_ACEOF
14359
 
cat confdefs.h >>conftest.$ac_ext
14360
 
cat >>conftest.$ac_ext <<_ACEOF
14361
 
/* end confdefs.h.  */
14362
 
#include <$ac_header>
14363
 
_ACEOF
14364
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14365
 
case "(($ac_try" in
14366
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14367
 
  *) ac_try_echo=$ac_try;;
14368
 
esac
14369
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14370
 
$as_echo "$ac_try_echo") >&5
14371
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14372
 
  ac_status=$?
14373
 
  grep -v '^ *+' conftest.er1 >conftest.err
14374
 
  rm -f conftest.er1
14375
 
  cat conftest.err >&5
14376
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377
 
  (exit $ac_status); } >/dev/null && {
14378
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14379
 
         test ! -s conftest.err
14380
 
       }; then
14381
 
  ac_header_preproc=yes
14382
 
else
14383
 
  $as_echo "$as_me: failed program was:" >&5
14384
 
sed 's/^/| /' conftest.$ac_ext >&5
14385
 
 
14386
 
  ac_header_preproc=no
14387
 
fi
14388
 
 
14389
 
rm -f conftest.err conftest.$ac_ext
14390
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14391
 
$as_echo "$ac_header_preproc" >&6; }
14392
 
 
14393
 
# So?  What about this header?
14394
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14395
 
  yes:no: )
14396
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14397
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14398
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14399
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14400
 
    ac_header_preproc=yes
14401
 
    ;;
14402
 
  no:yes:* )
14403
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14404
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14405
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14406
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14407
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14408
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14409
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14410
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14411
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14412
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14413
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14414
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14415
 
 
14416
 
    ;;
14417
 
esac
14418
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14419
 
$as_echo_n "checking for $ac_header... " >&6; }
14420
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14421
 
  $as_echo_n "(cached) " >&6
14422
 
else
14423
 
  eval "$as_ac_Header=\$ac_header_preproc"
14424
 
fi
14425
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14426
 
                 $as_echo "$as_val"'`
14427
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14428
 
$as_echo "$ac_res" >&6; }
14429
 
 
14430
 
fi
14431
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14432
 
                 $as_echo "$as_val"'`
14433
 
   if test "x$as_val" = x""yes; then
 
11723
               for ac_header in X11/Xft/Xft.h
 
11724
do :
 
11725
  ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
 
11726
if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
14434
11727
  cat >>confdefs.h <<_ACEOF
14435
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11728
#define HAVE_X11_XFT_XFT_H 1
14436
11729
_ACEOF
14437
11730
 
14438
11731
fi
14442
11735
fi
14443
11736
 
14444
11737
elif test $pkg_failed = untried; then
14445
 
        { $as_echo "$as_me:$LINENO: checking for XftDrawCreate in -lXft" >&5
 
11738
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftDrawCreate in -lXft" >&5
14446
11739
$as_echo_n "checking for XftDrawCreate in -lXft... " >&6; }
14447
 
if test "${ac_cv_lib_Xft_XftDrawCreate+set}" = set; then
 
11740
if test "${ac_cv_lib_Xft_XftDrawCreate+set}" = set; then :
14448
11741
  $as_echo_n "(cached) " >&6
14449
11742
else
14450
11743
  ac_check_lib_save_LIBS=$LIBS
14451
11744
LIBS="-lXft $X_LIBS -lX11 -lXext $LIBS"
14452
 
cat >conftest.$ac_ext <<_ACEOF
14453
 
/* confdefs.h.  */
14454
 
_ACEOF
14455
 
cat confdefs.h >>conftest.$ac_ext
14456
 
cat >>conftest.$ac_ext <<_ACEOF
 
11745
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457
11746
/* end confdefs.h.  */
14458
11747
 
14459
11748
/* Override any GCC internal prototype to avoid an error.
14471
11760
  return 0;
14472
11761
}
14473
11762
_ACEOF
14474
 
rm -f conftest.$ac_objext conftest$ac_exeext
14475
 
if { (ac_try="$ac_link"
14476
 
case "(($ac_try" in
14477
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14478
 
  *) ac_try_echo=$ac_try;;
14479
 
esac
14480
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14481
 
$as_echo "$ac_try_echo") >&5
14482
 
  (eval "$ac_link") 2>conftest.er1
14483
 
  ac_status=$?
14484
 
  grep -v '^ *+' conftest.er1 >conftest.err
14485
 
  rm -f conftest.er1
14486
 
  cat conftest.err >&5
14487
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488
 
  (exit $ac_status); } && {
14489
 
         test -z "$ac_c_werror_flag" ||
14490
 
         test ! -s conftest.err
14491
 
       } && test -s conftest$ac_exeext && {
14492
 
         test "$cross_compiling" = yes ||
14493
 
         $as_test_x conftest$ac_exeext
14494
 
       }; then
 
11763
if ac_fn_c_try_link "$LINENO"; then :
14495
11764
  ac_cv_lib_Xft_XftDrawCreate=yes
14496
11765
else
14497
 
  $as_echo "$as_me: failed program was:" >&5
14498
 
sed 's/^/| /' conftest.$ac_ext >&5
14499
 
 
14500
 
        ac_cv_lib_Xft_XftDrawCreate=no
 
11766
  ac_cv_lib_Xft_XftDrawCreate=no
14501
11767
fi
14502
 
 
14503
 
rm -rf conftest.dSYM
14504
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14505
 
      conftest$ac_exeext conftest.$ac_ext
 
11768
rm -f core conftest.err conftest.$ac_objext \
 
11769
    conftest$ac_exeext conftest.$ac_ext
14506
11770
LIBS=$ac_check_lib_save_LIBS
14507
11771
fi
14508
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawCreate" >&5
 
11772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftDrawCreate" >&5
14509
11773
$as_echo "$ac_cv_lib_Xft_XftDrawCreate" >&6; }
14510
 
if test "x$ac_cv_lib_Xft_XftDrawCreate" = x""yes; then
 
11774
if test "x$ac_cv_lib_Xft_XftDrawCreate" = x""yes; then :
14511
11775
  XFT_LIBS="-lXft -lXrender"
14512
 
 
14513
 
for ac_header in X11/Xft/Xft.h
14514
 
do
14515
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14516
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14517
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14518
 
$as_echo_n "checking for $ac_header... " >&6; }
14519
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14520
 
  $as_echo_n "(cached) " >&6
14521
 
fi
14522
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14523
 
                 $as_echo "$as_val"'`
14524
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14525
 
$as_echo "$ac_res" >&6; }
14526
 
else
14527
 
  # Is the header compilable?
14528
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14529
 
$as_echo_n "checking $ac_header usability... " >&6; }
14530
 
cat >conftest.$ac_ext <<_ACEOF
14531
 
/* confdefs.h.  */
14532
 
_ACEOF
14533
 
cat confdefs.h >>conftest.$ac_ext
14534
 
cat >>conftest.$ac_ext <<_ACEOF
14535
 
/* end confdefs.h.  */
14536
 
$ac_includes_default
14537
 
#include <$ac_header>
14538
 
_ACEOF
14539
 
rm -f conftest.$ac_objext
14540
 
if { (ac_try="$ac_compile"
14541
 
case "(($ac_try" in
14542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14543
 
  *) ac_try_echo=$ac_try;;
14544
 
esac
14545
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14546
 
$as_echo "$ac_try_echo") >&5
14547
 
  (eval "$ac_compile") 2>conftest.er1
14548
 
  ac_status=$?
14549
 
  grep -v '^ *+' conftest.er1 >conftest.err
14550
 
  rm -f conftest.er1
14551
 
  cat conftest.err >&5
14552
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553
 
  (exit $ac_status); } && {
14554
 
         test -z "$ac_c_werror_flag" ||
14555
 
         test ! -s conftest.err
14556
 
       } && test -s conftest.$ac_objext; then
14557
 
  ac_header_compiler=yes
14558
 
else
14559
 
  $as_echo "$as_me: failed program was:" >&5
14560
 
sed 's/^/| /' conftest.$ac_ext >&5
14561
 
 
14562
 
        ac_header_compiler=no
14563
 
fi
14564
 
 
14565
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14566
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14567
 
$as_echo "$ac_header_compiler" >&6; }
14568
 
 
14569
 
# Is the header present?
14570
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14571
 
$as_echo_n "checking $ac_header presence... " >&6; }
14572
 
cat >conftest.$ac_ext <<_ACEOF
14573
 
/* confdefs.h.  */
14574
 
_ACEOF
14575
 
cat confdefs.h >>conftest.$ac_ext
14576
 
cat >>conftest.$ac_ext <<_ACEOF
14577
 
/* end confdefs.h.  */
14578
 
#include <$ac_header>
14579
 
_ACEOF
14580
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14581
 
case "(($ac_try" in
14582
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14583
 
  *) ac_try_echo=$ac_try;;
14584
 
esac
14585
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14586
 
$as_echo "$ac_try_echo") >&5
14587
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14588
 
  ac_status=$?
14589
 
  grep -v '^ *+' conftest.er1 >conftest.err
14590
 
  rm -f conftest.er1
14591
 
  cat conftest.err >&5
14592
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593
 
  (exit $ac_status); } >/dev/null && {
14594
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14595
 
         test ! -s conftest.err
14596
 
       }; then
14597
 
  ac_header_preproc=yes
14598
 
else
14599
 
  $as_echo "$as_me: failed program was:" >&5
14600
 
sed 's/^/| /' conftest.$ac_ext >&5
14601
 
 
14602
 
  ac_header_preproc=no
14603
 
fi
14604
 
 
14605
 
rm -f conftest.err conftest.$ac_ext
14606
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14607
 
$as_echo "$ac_header_preproc" >&6; }
14608
 
 
14609
 
# So?  What about this header?
14610
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14611
 
  yes:no: )
14612
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14613
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14614
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14615
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14616
 
    ac_header_preproc=yes
14617
 
    ;;
14618
 
  no:yes:* )
14619
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14620
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14621
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14622
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14623
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14624
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14625
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14626
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14627
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14628
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14629
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14630
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14631
 
 
14632
 
    ;;
14633
 
esac
14634
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14635
 
$as_echo_n "checking for $ac_header... " >&6; }
14636
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14637
 
  $as_echo_n "(cached) " >&6
14638
 
else
14639
 
  eval "$as_ac_Header=\$ac_header_preproc"
14640
 
fi
14641
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14642
 
                 $as_echo "$as_val"'`
14643
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14644
 
$as_echo "$ac_res" >&6; }
14645
 
 
14646
 
fi
14647
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14648
 
                 $as_echo "$as_val"'`
14649
 
   if test "x$as_val" = x""yes; then
 
11776
               for ac_header in X11/Xft/Xft.h
 
11777
do :
 
11778
  ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
 
11779
if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
14650
11780
  cat >>confdefs.h <<_ACEOF
14651
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11781
#define HAVE_X11_XFT_XFT_H 1
14652
11782
_ACEOF
14653
11783
 
14654
11784
fi
14660
11790
else
14661
11791
        XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
14662
11792
        XFT_LIBS=$pkg_cv_XFT_LIBS
14663
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11793
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14664
11794
$as_echo "yes" >&6; }
14665
11795
        _cppflags=$CPPFLAGS
14666
11796
  CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
14667
 
 
14668
 
for ac_header in X11/Xft/Xft.h
14669
 
do
14670
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14671
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14672
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14673
 
$as_echo_n "checking for $ac_header... " >&6; }
14674
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14675
 
  $as_echo_n "(cached) " >&6
14676
 
fi
14677
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14678
 
                 $as_echo "$as_val"'`
14679
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14680
 
$as_echo "$ac_res" >&6; }
14681
 
else
14682
 
  # Is the header compilable?
14683
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14684
 
$as_echo_n "checking $ac_header usability... " >&6; }
14685
 
cat >conftest.$ac_ext <<_ACEOF
14686
 
/* confdefs.h.  */
14687
 
_ACEOF
14688
 
cat confdefs.h >>conftest.$ac_ext
14689
 
cat >>conftest.$ac_ext <<_ACEOF
14690
 
/* end confdefs.h.  */
14691
 
$ac_includes_default
14692
 
#include <$ac_header>
14693
 
_ACEOF
14694
 
rm -f conftest.$ac_objext
14695
 
if { (ac_try="$ac_compile"
14696
 
case "(($ac_try" in
14697
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14698
 
  *) ac_try_echo=$ac_try;;
14699
 
esac
14700
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14701
 
$as_echo "$ac_try_echo") >&5
14702
 
  (eval "$ac_compile") 2>conftest.er1
14703
 
  ac_status=$?
14704
 
  grep -v '^ *+' conftest.er1 >conftest.err
14705
 
  rm -f conftest.er1
14706
 
  cat conftest.err >&5
14707
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708
 
  (exit $ac_status); } && {
14709
 
         test -z "$ac_c_werror_flag" ||
14710
 
         test ! -s conftest.err
14711
 
       } && test -s conftest.$ac_objext; then
14712
 
  ac_header_compiler=yes
14713
 
else
14714
 
  $as_echo "$as_me: failed program was:" >&5
14715
 
sed 's/^/| /' conftest.$ac_ext >&5
14716
 
 
14717
 
        ac_header_compiler=no
14718
 
fi
14719
 
 
14720
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14721
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14722
 
$as_echo "$ac_header_compiler" >&6; }
14723
 
 
14724
 
# Is the header present?
14725
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14726
 
$as_echo_n "checking $ac_header presence... " >&6; }
14727
 
cat >conftest.$ac_ext <<_ACEOF
14728
 
/* confdefs.h.  */
14729
 
_ACEOF
14730
 
cat confdefs.h >>conftest.$ac_ext
14731
 
cat >>conftest.$ac_ext <<_ACEOF
14732
 
/* end confdefs.h.  */
14733
 
#include <$ac_header>
14734
 
_ACEOF
14735
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
14736
 
case "(($ac_try" in
14737
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14738
 
  *) ac_try_echo=$ac_try;;
14739
 
esac
14740
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14741
 
$as_echo "$ac_try_echo") >&5
14742
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14743
 
  ac_status=$?
14744
 
  grep -v '^ *+' conftest.er1 >conftest.err
14745
 
  rm -f conftest.er1
14746
 
  cat conftest.err >&5
14747
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748
 
  (exit $ac_status); } >/dev/null && {
14749
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14750
 
         test ! -s conftest.err
14751
 
       }; then
14752
 
  ac_header_preproc=yes
14753
 
else
14754
 
  $as_echo "$as_me: failed program was:" >&5
14755
 
sed 's/^/| /' conftest.$ac_ext >&5
14756
 
 
14757
 
  ac_header_preproc=no
14758
 
fi
14759
 
 
14760
 
rm -f conftest.err conftest.$ac_ext
14761
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14762
 
$as_echo "$ac_header_preproc" >&6; }
14763
 
 
14764
 
# So?  What about this header?
14765
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14766
 
  yes:no: )
14767
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14768
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14769
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14770
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14771
 
    ac_header_preproc=yes
14772
 
    ;;
14773
 
  no:yes:* )
14774
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14775
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14776
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14777
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14778
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14779
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14780
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14781
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14782
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14783
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14784
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14785
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14786
 
 
14787
 
    ;;
14788
 
esac
14789
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14790
 
$as_echo_n "checking for $ac_header... " >&6; }
14791
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14792
 
  $as_echo_n "(cached) " >&6
14793
 
else
14794
 
  eval "$as_ac_Header=\$ac_header_preproc"
14795
 
fi
14796
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
14797
 
                 $as_echo "$as_val"'`
14798
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14799
 
$as_echo "$ac_res" >&6; }
14800
 
 
14801
 
fi
14802
 
as_val=`eval 'as_val=${'$as_ac_Header'}
14803
 
                 $as_echo "$as_val"'`
14804
 
   if test "x$as_val" = x""yes; then
 
11797
  for ac_header in X11/Xft/Xft.h
 
11798
do :
 
11799
  ac_fn_c_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
 
11800
if test "x$ac_cv_header_X11_Xft_Xft_h" = x""yes; then :
14805
11801
  cat >>confdefs.h <<_ACEOF
14806
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11802
#define HAVE_X11_XFT_XFT_H 1
14807
11803
_ACEOF
14808
11804
 
14809
11805
fi
14813
11809
  CPPFLAGS=$_cppflags
14814
11810
fi
14815
11811
 
 
11812
if test "${no_x}" != "yes"; then
 
11813
 
 
11814
$as_echo "#define HAVE_X11 1" >>confdefs.h
 
11815
 
 
11816
  X_LIBS="${X_LIBS} -lXext -lXrender -lSM -lICE"
 
11817
  X_EXTRA_LIBS=""
 
11818
else
 
11819
  as_fn_error "You need X11 for sawfish" "$LINENO" 5
 
11820
fi
 
11821
 
 
11822
X_SERVER="X.Org/XFree86 X11R6"
 
11823
 
14816
11824
CPPFLAGS="${_cppflags}"
14817
11825
 
 
11826
fi
 
11827
 
 
11828
 
 
11829
 
 
11830
# Check whether --with-pango was given.
 
11831
if test "${with_pango+set}" = set; then :
 
11832
  withval=$with_pango;
 
11833
else
 
11834
  with_pango=yes
 
11835
fi
 
11836
 
 
11837
 
 
11838
if test "$with_pango" = "yes"; then
 
11839
 
 
11840
PANGO_MIN_VER="1.8.0"
 
11841
 
 
11842
PANGO_MODULES="pango "
 
11843
 
14818
11844
 
14819
11845
pkg_failed=no
14820
 
{ $as_echo "$as_me:$LINENO: checking for PANGO" >&5
 
11846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
14821
11847
$as_echo_n "checking for PANGO... " >&6; }
14822
11848
 
14823
11849
if test -n "$PKG_CONFIG"; then
14825
11851
        pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
14826
11852
    else
14827
11853
        if test -n "$PKG_CONFIG" && \
14828
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.8.0\"") >&5
14829
 
  ($PKG_CONFIG --exists --print-errors "pango >= 1.8.0") 2>&5
 
11854
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \${PANGO_MIN_VER}
 
11855
                  \""; } >&5
 
11856
  ($PKG_CONFIG --exists --print-errors "pango >= ${PANGO_MIN_VER}
 
11857
                  ") 2>&5
14830
11858
  ac_status=$?
14831
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832
 
  (exit $ac_status); }; then
14833
 
  pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= 1.8.0" 2>/dev/null`
 
11859
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11860
  test $ac_status = 0; }; then
 
11861
  pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= ${PANGO_MIN_VER}
 
11862
                  " 2>/dev/null`
14834
11863
else
14835
11864
  pkg_failed=yes
14836
11865
fi
14843
11872
        pkg_cv_PANGO_LIBS="$PANGO_LIBS"
14844
11873
    else
14845
11874
        if test -n "$PKG_CONFIG" && \
14846
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango >= 1.8.0\"") >&5
14847
 
  ($PKG_CONFIG --exists --print-errors "pango >= 1.8.0") 2>&5
 
11875
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \${PANGO_MIN_VER}
 
11876
                  \""; } >&5
 
11877
  ($PKG_CONFIG --exists --print-errors "pango >= ${PANGO_MIN_VER}
 
11878
                  ") 2>&5
14848
11879
  ac_status=$?
14849
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850
 
  (exit $ac_status); }; then
14851
 
  pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= 1.8.0" 2>/dev/null`
 
11880
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11881
  test $ac_status = 0; }; then
 
11882
  pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= ${PANGO_MIN_VER}
 
11883
                  " 2>/dev/null`
14852
11884
else
14853
11885
  pkg_failed=yes
14854
11886
fi
14867
11899
        _pkg_short_errors_supported=no
14868
11900
fi
14869
11901
        if test $_pkg_short_errors_supported = yes; then
14870
 
                PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= 1.8.0"`
 
11902
                PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango >= ${PANGO_MIN_VER}
 
11903
                  "`
14871
11904
        else
14872
 
                PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= 1.8.0"`
 
11905
                PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango >= ${PANGO_MIN_VER}
 
11906
                  "`
14873
11907
        fi
14874
11908
        # Put the nasty error message in config.log where it belongs
14875
11909
        echo "$PANGO_PKG_ERRORS" >&5
14876
11910
 
14877
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
11911
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14878
11912
$as_echo "no" >&6; }
14879
 
                : nothing
 
11913
                as_fn_error "cannot locate pango" "$LINENO" 5
14880
11914
elif test $pkg_failed = untried; then
14881
 
        : nothing
 
11915
        as_fn_error "cannot locate pango" "$LINENO" 5
14882
11916
else
14883
11917
        PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
14884
11918
        PANGO_LIBS=$pkg_cv_PANGO_LIBS
14885
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
14886
 
$as_echo "yes" >&6; }
14887
 
        if $PKG_CONFIG --exists pangoxft; then
14888
 
     cat >>confdefs.h <<\_ACEOF
14889
 
#define HAVE_PANGO_XFT 1
14890
 
_ACEOF
14891
 
 
14892
 
     PANGO_MODULES="pangoxft pangox"
14893
 
          have_pango_xft=yes
14894
 
 
14895
 
   fi
14896
 
   if test "x$PANGO_MODULES" != x; then
14897
 
     cat >>confdefs.h <<\_ACEOF
14898
 
#define HAVE_PANGO 1
14899
 
_ACEOF
14900
 
 
14901
 
     cat >>confdefs.h <<\_ACEOF
14902
 
#define HAVE_PANGO_X 1
14903
 
_ACEOF
14904
 
 
14905
 
     PANGO_LIBS=`$PKG_CONFIG --libs $PANGO_MODULES`
14906
 
     PANGO_CFLAGS=`$PKG_CONFIG --cflags $PANGO_MODULES`
14907
 
   fi
14908
 
fi
14909
 
 
14910
 
REP_MIN_VER="0.17.3"
14911
 
 
14912
 
 
14913
 
pkg_failed=no
14914
 
{ $as_echo "$as_me:$LINENO: checking for LIBREP" >&5
 
11919
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11920
$as_echo "yes" >&6; }
 
11921
 
 
11922
$as_echo "#define HAVE_PANGO 1" >>confdefs.h
 
11923
 FONT_LOADER="Pango"
 
11924
 
 
11925
fi
 
11926
 
 
11927
 
 
11928
pkg_failed=no
 
11929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
 
11930
$as_echo_n "checking for PANGOX... " >&6; }
 
11931
 
 
11932
if test -n "$PKG_CONFIG"; then
 
11933
    if test -n "$PANGOX_CFLAGS"; then
 
11934
        pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
 
11935
    else
 
11936
        if test -n "$PKG_CONFIG" && \
 
11937
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox >= \${PANGO_MIN_VER}
 
11938
                  \""; } >&5
 
11939
  ($PKG_CONFIG --exists --print-errors "pangox >= ${PANGO_MIN_VER}
 
11940
                  ") 2>&5
 
11941
  ac_status=$?
 
11942
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11943
  test $ac_status = 0; }; then
 
11944
  pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox >= ${PANGO_MIN_VER}
 
11945
                  " 2>/dev/null`
 
11946
else
 
11947
  pkg_failed=yes
 
11948
fi
 
11949
    fi
 
11950
else
 
11951
        pkg_failed=untried
 
11952
fi
 
11953
if test -n "$PKG_CONFIG"; then
 
11954
    if test -n "$PANGOX_LIBS"; then
 
11955
        pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
 
11956
    else
 
11957
        if test -n "$PKG_CONFIG" && \
 
11958
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox >= \${PANGO_MIN_VER}
 
11959
                  \""; } >&5
 
11960
  ($PKG_CONFIG --exists --print-errors "pangox >= ${PANGO_MIN_VER}
 
11961
                  ") 2>&5
 
11962
  ac_status=$?
 
11963
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11964
  test $ac_status = 0; }; then
 
11965
  pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox >= ${PANGO_MIN_VER}
 
11966
                  " 2>/dev/null`
 
11967
else
 
11968
  pkg_failed=yes
 
11969
fi
 
11970
    fi
 
11971
else
 
11972
        pkg_failed=untried
 
11973
fi
 
11974
 
 
11975
 
 
11976
 
 
11977
if test $pkg_failed = yes; then
 
11978
 
 
11979
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
11980
        _pkg_short_errors_supported=yes
 
11981
else
 
11982
        _pkg_short_errors_supported=no
 
11983
fi
 
11984
        if test $_pkg_short_errors_supported = yes; then
 
11985
                PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox >= ${PANGO_MIN_VER}
 
11986
                  "`
 
11987
        else
 
11988
                PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox >= ${PANGO_MIN_VER}
 
11989
                  "`
 
11990
        fi
 
11991
        # Put the nasty error message in config.log where it belongs
 
11992
        echo "$PANGOX_PKG_ERRORS" >&5
 
11993
 
 
11994
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11995
$as_echo "no" >&6; }
 
11996
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pango x support not available" >&5
 
11997
$as_echo "$as_me: WARNING: pango x support not available" >&2;}
 
11998
elif test $pkg_failed = untried; then
 
11999
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pango x support not available" >&5
 
12000
$as_echo "$as_me: WARNING: pango x support not available" >&2;}
 
12001
else
 
12002
        PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
 
12003
        PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
 
12004
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12005
$as_echo "yes" >&6; }
 
12006
 
 
12007
$as_echo "#define HAVE_PANGO_X 1" >>confdefs.h
 
12008
 PANGO_MODULES="${PANGO_MODULES} pangox" FONT_LOADER="Pango X"
 
12009
 
 
12010
fi
 
12011
 
 
12012
 
 
12013
pkg_failed=no
 
12014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
 
12015
$as_echo_n "checking for PANGOXFT... " >&6; }
 
12016
 
 
12017
if test -n "$PKG_CONFIG"; then
 
12018
    if test -n "$PANGOXFT_CFLAGS"; then
 
12019
        pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
 
12020
    else
 
12021
        if test -n "$PKG_CONFIG" && \
 
12022
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft >= \${PANGO_MIN_VER}
 
12023
                  \""; } >&5
 
12024
  ($PKG_CONFIG --exists --print-errors "pangoxft >= ${PANGO_MIN_VER}
 
12025
                  ") 2>&5
 
12026
  ac_status=$?
 
12027
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12028
  test $ac_status = 0; }; then
 
12029
  pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft >= ${PANGO_MIN_VER}
 
12030
                  " 2>/dev/null`
 
12031
else
 
12032
  pkg_failed=yes
 
12033
fi
 
12034
    fi
 
12035
else
 
12036
        pkg_failed=untried
 
12037
fi
 
12038
if test -n "$PKG_CONFIG"; then
 
12039
    if test -n "$PANGOXFT_LIBS"; then
 
12040
        pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
 
12041
    else
 
12042
        if test -n "$PKG_CONFIG" && \
 
12043
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft >= \${PANGO_MIN_VER}
 
12044
                  \""; } >&5
 
12045
  ($PKG_CONFIG --exists --print-errors "pangoxft >= ${PANGO_MIN_VER}
 
12046
                  ") 2>&5
 
12047
  ac_status=$?
 
12048
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12049
  test $ac_status = 0; }; then
 
12050
  pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft >= ${PANGO_MIN_VER}
 
12051
                  " 2>/dev/null`
 
12052
else
 
12053
  pkg_failed=yes
 
12054
fi
 
12055
    fi
 
12056
else
 
12057
        pkg_failed=untried
 
12058
fi
 
12059
 
 
12060
 
 
12061
 
 
12062
if test $pkg_failed = yes; then
 
12063
 
 
12064
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12065
        _pkg_short_errors_supported=yes
 
12066
else
 
12067
        _pkg_short_errors_supported=no
 
12068
fi
 
12069
        if test $_pkg_short_errors_supported = yes; then
 
12070
                PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft >= ${PANGO_MIN_VER}
 
12071
                  "`
 
12072
        else
 
12073
                PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft >= ${PANGO_MIN_VER}
 
12074
                  "`
 
12075
        fi
 
12076
        # Put the nasty error message in config.log where it belongs
 
12077
        echo "$PANGOXFT_PKG_ERRORS" >&5
 
12078
 
 
12079
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12080
$as_echo "no" >&6; }
 
12081
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pango xft support not available" >&5
 
12082
$as_echo "$as_me: WARNING: pango xft support not available" >&2;}
 
12083
elif test $pkg_failed = untried; then
 
12084
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pango xft support not available" >&5
 
12085
$as_echo "$as_me: WARNING: pango xft support not available" >&2;}
 
12086
else
 
12087
        PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
 
12088
        PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
 
12089
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12090
$as_echo "yes" >&6; }
 
12091
 
 
12092
$as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
 
12093
 PANGO_MODULES="${PANGO_MODULES} pangoxft" have_pango_xft="yes" FONT_LOADER="Pango XFT"
 
12094
 
 
12095
fi
 
12096
 
 
12097
PANGO_LIBS=`pkg-config --libs $PANGO_MODULES`
 
12098
PANGO_CFLAGS=`pkg-config --cflags $PANGO_MODULES`
 
12099
 
 
12100
else FONT_LOADER="X.Org"
 
12101
fi
 
12102
 
 
12103
REP_MIN_VER="0.90.0"
 
12104
 
 
12105
 
 
12106
pkg_failed=no
 
12107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBREP" >&5
14915
12108
$as_echo_n "checking for LIBREP... " >&6; }
14916
12109
 
14917
12110
if test -n "$PKG_CONFIG"; then
14919
12112
        pkg_cv_LIBREP_CFLAGS="$LIBREP_CFLAGS"
14920
12113
    else
14921
12114
        if test -n "$PKG_CONFIG" && \
14922
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librep >= \${REP_MIN_VER}
14923
 
                  \"") >&5
 
12115
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librep >= \${REP_MIN_VER}
 
12116
                  \""; } >&5
14924
12117
  ($PKG_CONFIG --exists --print-errors "librep >= ${REP_MIN_VER}
14925
12118
                  ") 2>&5
14926
12119
  ac_status=$?
14927
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928
 
  (exit $ac_status); }; then
 
12120
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12121
  test $ac_status = 0; }; then
14929
12122
  pkg_cv_LIBREP_CFLAGS=`$PKG_CONFIG --cflags "librep >= ${REP_MIN_VER}
14930
12123
                  " 2>/dev/null`
14931
12124
else
14940
12133
        pkg_cv_LIBREP_LIBS="$LIBREP_LIBS"
14941
12134
    else
14942
12135
        if test -n "$PKG_CONFIG" && \
14943
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librep >= \${REP_MIN_VER}
14944
 
                  \"") >&5
 
12136
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librep >= \${REP_MIN_VER}
 
12137
                  \""; } >&5
14945
12138
  ($PKG_CONFIG --exists --print-errors "librep >= ${REP_MIN_VER}
14946
12139
                  ") 2>&5
14947
12140
  ac_status=$?
14948
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949
 
  (exit $ac_status); }; then
 
12141
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12142
  test $ac_status = 0; }; then
14950
12143
  pkg_cv_LIBREP_LIBS=`$PKG_CONFIG --libs "librep >= ${REP_MIN_VER}
14951
12144
                  " 2>/dev/null`
14952
12145
else
14976
12169
        # Put the nasty error message in config.log where it belongs
14977
12170
        echo "$LIBREP_PKG_ERRORS" >&5
14978
12171
 
14979
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12172
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14980
12173
$as_echo "no" >&6; }
14981
 
                { { $as_echo "$as_me:$LINENO: error: can not locate librep" >&5
14982
 
$as_echo "$as_me: error: can not locate librep" >&2;}
14983
 
   { (exit 1); exit 1; }; }
 
12174
                as_fn_error "cannot locate librep" "$LINENO" 5
14984
12175
elif test $pkg_failed = untried; then
14985
 
        { { $as_echo "$as_me:$LINENO: error: can not locate librep" >&5
14986
 
$as_echo "$as_me: error: can not locate librep" >&2;}
14987
 
   { (exit 1); exit 1; }; }
 
12176
        as_fn_error "cannot locate librep" "$LINENO" 5
14988
12177
else
14989
12178
        LIBREP_CFLAGS=$pkg_cv_LIBREP_CFLAGS
14990
12179
        LIBREP_LIBS=$pkg_cv_LIBREP_LIBS
14991
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12180
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14992
12181
$as_echo "yes" >&6; }
14993
12182
        REP_EXECDIR="`pkg-config --variable=repcommonexecdir librep`"
14994
12183
                  REP_CFLAGS="`pkg-config --cflags librep`"
14998
12187
 
14999
12188
fi
15000
12189
 
15001
 
REP_GTK_MIN_VER="0.18.4"
 
12190
REP_GTK_MIN_VER="0.90.0"
15002
12191
 
15003
12192
 
15004
12193
pkg_failed=no
15005
 
{ $as_echo "$as_me:$LINENO: checking for REP_GTK" >&5
 
12194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for REP_GTK" >&5
15006
12195
$as_echo_n "checking for REP_GTK... " >&6; }
15007
12196
 
15008
12197
if test -n "$PKG_CONFIG"; then
15010
12199
        pkg_cv_REP_GTK_CFLAGS="$REP_GTK_CFLAGS"
15011
12200
    else
15012
12201
        if test -n "$PKG_CONFIG" && \
15013
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"rep-gtk >= 0.18.4
15014
 
                  \"") >&5
15015
 
  ($PKG_CONFIG --exists --print-errors "rep-gtk >= 0.18.4
 
12202
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rep-gtk >= \${REP_GTK_MIN_VER}
 
12203
                  \""; } >&5
 
12204
  ($PKG_CONFIG --exists --print-errors "rep-gtk >= ${REP_GTK_MIN_VER}
15016
12205
                  ") 2>&5
15017
12206
  ac_status=$?
15018
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019
 
  (exit $ac_status); }; then
15020
 
  pkg_cv_REP_GTK_CFLAGS=`$PKG_CONFIG --cflags "rep-gtk >= 0.18.4
 
12207
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12208
  test $ac_status = 0; }; then
 
12209
  pkg_cv_REP_GTK_CFLAGS=`$PKG_CONFIG --cflags "rep-gtk >= ${REP_GTK_MIN_VER}
15021
12210
                  " 2>/dev/null`
15022
12211
else
15023
12212
  pkg_failed=yes
15031
12220
        pkg_cv_REP_GTK_LIBS="$REP_GTK_LIBS"
15032
12221
    else
15033
12222
        if test -n "$PKG_CONFIG" && \
15034
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"rep-gtk >= 0.18.4
15035
 
                  \"") >&5
15036
 
  ($PKG_CONFIG --exists --print-errors "rep-gtk >= 0.18.4
 
12223
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rep-gtk >= \${REP_GTK_MIN_VER}
 
12224
                  \""; } >&5
 
12225
  ($PKG_CONFIG --exists --print-errors "rep-gtk >= ${REP_GTK_MIN_VER}
15037
12226
                  ") 2>&5
15038
12227
  ac_status=$?
15039
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040
 
  (exit $ac_status); }; then
15041
 
  pkg_cv_REP_GTK_LIBS=`$PKG_CONFIG --libs "rep-gtk >= 0.18.4
 
12228
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12229
  test $ac_status = 0; }; then
 
12230
  pkg_cv_REP_GTK_LIBS=`$PKG_CONFIG --libs "rep-gtk >= ${REP_GTK_MIN_VER}
15042
12231
                  " 2>/dev/null`
15043
12232
else
15044
12233
  pkg_failed=yes
15058
12247
        _pkg_short_errors_supported=no
15059
12248
fi
15060
12249
        if test $_pkg_short_errors_supported = yes; then
15061
 
                REP_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "rep-gtk >= 0.18.4
 
12250
                REP_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "rep-gtk >= ${REP_GTK_MIN_VER}
15062
12251
                  "`
15063
12252
        else
15064
 
                REP_GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "rep-gtk >= 0.18.4
 
12253
                REP_GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "rep-gtk >= ${REP_GTK_MIN_VER}
15065
12254
                  "`
15066
12255
        fi
15067
12256
        # Put the nasty error message in config.log where it belongs
15068
12257
        echo "$REP_GTK_PKG_ERRORS" >&5
15069
12258
 
15070
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12259
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15071
12260
$as_echo "no" >&6; }
15072
 
                { { $as_echo "$as_me:$LINENO: error: can not locate rep-gtk" >&5
15073
 
$as_echo "$as_me: error: can not locate rep-gtk" >&2;}
15074
 
   { (exit 1); exit 1; }; }
 
12261
                as_fn_error "cannot locate rep-gtk" "$LINENO" 5
15075
12262
elif test $pkg_failed = untried; then
15076
 
        { { $as_echo "$as_me:$LINENO: error: can not locate rep-gtk" >&5
15077
 
$as_echo "$as_me: error: can not locate rep-gtk" >&2;}
15078
 
   { (exit 1); exit 1; }; }
 
12263
        as_fn_error "cannot locate rep-gtk" "$LINENO" 5
15079
12264
else
15080
12265
        REP_GTK_CFLAGS=$pkg_cv_REP_GTK_CFLAGS
15081
12266
        REP_GTK_LIBS=$pkg_cv_REP_GTK_LIBS
15082
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12267
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15083
12268
$as_echo "yes" >&6; }
15084
12269
        :
15085
12270
fi
15086
12271
 
15087
 
if test "${no_x}" != "yes"; then
15088
 
 
15089
 
cat >>confdefs.h <<\_ACEOF
15090
 
#define HAVE_X11 1
15091
 
_ACEOF
15092
 
 
15093
 
else
15094
 
  { { $as_echo "$as_me:$LINENO: error: You need X11 for sawfish" >&5
15095
 
$as_echo "$as_me: error: You need X11 for sawfish" >&2;}
15096
 
   { (exit 1); exit 1; }; }
 
12272
GTK_MIN_VER="2.6.0"
 
12273
 
 
12274
 
 
12275
pkg_failed=no
 
12276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
12277
$as_echo_n "checking for GTK... " >&6; }
 
12278
 
 
12279
if test -n "$PKG_CONFIG"; then
 
12280
    if test -n "$GTK_CFLAGS"; then
 
12281
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
12282
    else
 
12283
        if test -n "$PKG_CONFIG" && \
 
12284
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${GTK_MIN_VER}
 
12285
                  \""; } >&5
 
12286
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${GTK_MIN_VER}
 
12287
                  ") 2>&5
 
12288
  ac_status=$?
 
12289
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12290
  test $ac_status = 0; }; then
 
12291
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= ${GTK_MIN_VER}
 
12292
                  " 2>/dev/null`
 
12293
else
 
12294
  pkg_failed=yes
 
12295
fi
 
12296
    fi
 
12297
else
 
12298
        pkg_failed=untried
 
12299
fi
 
12300
if test -n "$PKG_CONFIG"; then
 
12301
    if test -n "$GTK_LIBS"; then
 
12302
        pkg_cv_GTK_LIBS="$GTK_LIBS"
 
12303
    else
 
12304
        if test -n "$PKG_CONFIG" && \
 
12305
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \${GTK_MIN_VER}
 
12306
                  \""; } >&5
 
12307
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= ${GTK_MIN_VER}
 
12308
                  ") 2>&5
 
12309
  ac_status=$?
 
12310
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12311
  test $ac_status = 0; }; then
 
12312
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= ${GTK_MIN_VER}
 
12313
                  " 2>/dev/null`
 
12314
else
 
12315
  pkg_failed=yes
 
12316
fi
 
12317
    fi
 
12318
else
 
12319
        pkg_failed=untried
 
12320
fi
 
12321
 
 
12322
 
 
12323
 
 
12324
if test $pkg_failed = yes; then
 
12325
 
 
12326
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12327
        _pkg_short_errors_supported=yes
 
12328
else
 
12329
        _pkg_short_errors_supported=no
 
12330
fi
 
12331
        if test $_pkg_short_errors_supported = yes; then
 
12332
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= ${GTK_MIN_VER}
 
12333
                  "`
 
12334
        else
 
12335
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= ${GTK_MIN_VER}
 
12336
                  "`
 
12337
        fi
 
12338
        # Put the nasty error message in config.log where it belongs
 
12339
        echo "$GTK_PKG_ERRORS" >&5
 
12340
 
 
12341
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12342
$as_echo "no" >&6; }
 
12343
                as_fn_error "cannot locate gtk+2" "$LINENO" 5
 
12344
elif test $pkg_failed = untried; then
 
12345
        as_fn_error "cannot locate gtk+2" "$LINENO" 5
 
12346
else
 
12347
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
12348
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
12349
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12350
$as_echo "yes" >&6; }
 
12351
        GTK_LIBS="`pkg-config --libs gtk+-2.0`"
 
12352
                  GTK_CFLAGS="`pkg-config --cflags gtk+-2.0`"
 
12353
 
 
12354
$as_echo "#define HAVE_GTK 1" >>confdefs.h
 
12355
 
 
12356
 
15097
12357
fi
15098
12358
 
15099
12359
 
15100
12360
# Check whether --with-gdk-pixbuf was given.
15101
 
if test "${with_gdk_pixbuf+set}" = set; then
 
12361
if test "${with_gdk_pixbuf+set}" = set; then :
15102
12362
  withval=$with_gdk_pixbuf;
15103
12363
else
15104
12364
  with_gdk_pixbuf=yes
15105
12365
fi
15106
12366
 
 
12367
 
15107
12368
if test "$with_gdk_pixbuf" != "no"; then
15108
 
  { $as_echo "$as_me:$LINENO: checking for gdk_pixbuf (xlib version)" >&5
15109
 
$as_echo_n "checking for gdk_pixbuf (xlib version)... " >&6; }
15110
12369
 
15111
12370
pkg_failed=no
15112
 
{ $as_echo "$as_me:$LINENO: checking for GDK_PIXBUF" >&5
 
12371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
15113
12372
$as_echo_n "checking for GDK_PIXBUF... " >&6; }
15114
12373
 
15115
12374
if test -n "$PKG_CONFIG"; then
15117
12376
        pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
15118
12377
    else
15119
12378
        if test -n "$PKG_CONFIG" && \
15120
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-xlib-2.0 >= 2.6.0\"") >&5
15121
 
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-xlib-2.0 >= 2.6.0") 2>&5
 
12379
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-xlib-2.0 >= \${GTK_MIN_VER}
 
12380
                          \""; } >&5
 
12381
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-xlib-2.0 >= ${GTK_MIN_VER}
 
12382
                          ") 2>&5
15122
12383
  ac_status=$?
15123
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124
 
  (exit $ac_status); }; then
15125
 
  pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-xlib-2.0 >= 2.6.0" 2>/dev/null`
 
12384
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12385
  test $ac_status = 0; }; then
 
12386
  pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-xlib-2.0 >= ${GTK_MIN_VER}
 
12387
                          " 2>/dev/null`
15126
12388
else
15127
12389
  pkg_failed=yes
15128
12390
fi
15135
12397
        pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
15136
12398
    else
15137
12399
        if test -n "$PKG_CONFIG" && \
15138
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-xlib-2.0 >= 2.6.0\"") >&5
15139
 
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-xlib-2.0 >= 2.6.0") 2>&5
 
12400
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-xlib-2.0 >= \${GTK_MIN_VER}
 
12401
                          \""; } >&5
 
12402
  ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-xlib-2.0 >= ${GTK_MIN_VER}
 
12403
                          ") 2>&5
15140
12404
  ac_status=$?
15141
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142
 
  (exit $ac_status); }; then
15143
 
  pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-xlib-2.0 >= 2.6.0" 2>/dev/null`
 
12405
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12406
  test $ac_status = 0; }; then
 
12407
  pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-xlib-2.0 >= ${GTK_MIN_VER}
 
12408
                          " 2>/dev/null`
15144
12409
else
15145
12410
  pkg_failed=yes
15146
12411
fi
15159
12424
        _pkg_short_errors_supported=no
15160
12425
fi
15161
12426
        if test $_pkg_short_errors_supported = yes; then
15162
 
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-xlib-2.0 >= 2.6.0"`
 
12427
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-xlib-2.0 >= ${GTK_MIN_VER}
 
12428
                          "`
15163
12429
        else
15164
 
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-xlib-2.0 >= 2.6.0"`
 
12430
                GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-xlib-2.0 >= ${GTK_MIN_VER}
 
12431
                          "`
15165
12432
        fi
15166
12433
        # Put the nasty error message in config.log where it belongs
15167
12434
        echo "$GDK_PIXBUF_PKG_ERRORS" >&5
15168
12435
 
15169
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gdk-pixbuf-xlib-2.0 >= 2.6.0) were not met:
15170
 
 
15171
 
$GDK_PIXBUF_PKG_ERRORS
15172
 
 
15173
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15174
 
installed software in a non-standard prefix.
15175
 
 
15176
 
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
15177
 
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
15178
 
See the pkg-config man page for more details.
15179
 
" >&5
15180
 
$as_echo "$as_me: error: Package requirements (gdk-pixbuf-xlib-2.0 >= 2.6.0) were not met:
15181
 
 
15182
 
$GDK_PIXBUF_PKG_ERRORS
15183
 
 
15184
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15185
 
installed software in a non-standard prefix.
15186
 
 
15187
 
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
15188
 
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
15189
 
See the pkg-config man page for more details.
15190
 
" >&2;}
15191
 
   { (exit 1); exit 1; }; }
 
12436
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12437
$as_echo "no" >&6; }
 
12438
                as_fn_error "cannot locate gdk-pixbuf-xlib" "$LINENO" 5
 
12439
                          with_gdk_pixbuf=no
15192
12440
elif test $pkg_failed = untried; then
15193
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15194
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15195
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15196
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15197
 
path to pkg-config.
15198
 
 
15199
 
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
15200
 
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
15201
 
See the pkg-config man page for more details.
15202
 
 
15203
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15204
 
See \`config.log' for more details." >&5
15205
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15206
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15207
 
path to pkg-config.
15208
 
 
15209
 
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
15210
 
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
15211
 
See the pkg-config man page for more details.
15212
 
 
15213
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15214
 
See \`config.log' for more details." >&2;}
15215
 
   { (exit 1); exit 1; }; }; }
 
12441
        as_fn_error "cannot locate gdk-pixbuf-xlib" "$LINENO" 5
 
12442
                          with_gdk_pixbuf=no
15216
12443
else
15217
12444
        GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
15218
12445
        GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
15219
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12446
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15220
12447
$as_echo "yes" >&6; }
15221
 
        :
15222
 
fi
15223
 
    GDK_PIXBUF_VERSION=`pkg-config --modversion gdk-pixbuf-xlib-2.0`
15224
 
 
15225
 
 
15226
 
 
15227
 
 
15228
 
cat >>confdefs.h <<\_ACEOF
15229
 
#define HAVE_GDK_PIXBUF 1
15230
 
_ACEOF
15231
 
 
15232
 
 
15233
 
cat >>confdefs.h <<\_ACEOF
15234
 
#define NEED_PIXMAP_CACHE 1
15235
 
_ACEOF
15236
 
 
15237
 
    IMAGE_LIBS='${GDK_PIXBUF_LIBS}'
15238
 
    IMAGE_CFLAGS='${GDK_PIXBUF_CFLAGS}'
15239
 
    with_gdk_pixbuf=yes
15240
 
  else
15241
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
15242
 
$as_echo "no" >&6; }
15243
 
    if test "$with_gdk_pixbuf" = "yes"; then
15244
 
      { { $as_echo "$as_me:$LINENO: error: can't locate gdk-pixbuf-xlib library" >&5
15245
 
$as_echo "$as_me: error: can't locate gdk-pixbuf-xlib library" >&2;}
15246
 
   { (exit 1); exit 1; }; }
15247
 
    else
15248
 
      with_gdk_pixbuf=no
15249
 
    fi
15250
 
fi
 
12448
        GDK_PIXBUF_CFLAGS="`pkg-config --cflags gdk-pixbuf-xlib-2.0`"
 
12449
                          GDK_PIXBUF_LIBS="`pkg-config --libs gdk-pixbuf-xlib-2.0`"
 
12450
 
 
12451
$as_echo "#define HAVE_GDK_PIXBUF 1" >>confdefs.h
 
12452
 
 
12453
 
 
12454
$as_echo "#define NEED_PIXMAP_CACHE 1" >>confdefs.h
 
12455
 
 
12456
                          IMAGE_LIBS='${GDK_PIXBUF_LIBS}'
 
12457
                          IMAGE_CFLAGS='${GDK_PIXBUF_CFLAGS}'
 
12458
                          IMAGE_LOADER="GDK Pixbuf Xlib"
 
12459
                          with_gdk_pixbuf=yes
 
12460
 
 
12461
fi
 
12462
fi
 
12463
 
15251
12464
if test "$with_gdk_pixbuf" = "no"; then
15252
 
  # Extract the first word of "imlib-config", so it can be a program name with args.
15253
 
set dummy imlib-config; ac_word=$2
15254
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15255
 
$as_echo_n "checking for $ac_word... " >&6; }
15256
 
if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then
15257
 
  $as_echo_n "(cached) " >&6
15258
 
else
15259
 
  case $IMLIB_CONFIG in
15260
 
  [\\/]* | ?:[\\/]*)
15261
 
  ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path.
15262
 
  ;;
15263
 
  *)
15264
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15265
 
for as_dir in $PATH
15266
 
do
15267
 
  IFS=$as_save_IFS
15268
 
  test -z "$as_dir" && as_dir=.
15269
 
  for ac_exec_ext in '' $ac_executable_extensions; do
15270
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15271
 
    ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15272
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15273
 
    break 2
15274
 
  fi
15275
 
done
15276
 
done
15277
 
IFS=$as_save_IFS
15278
 
 
15279
 
  test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no"
15280
 
  ;;
15281
 
esac
15282
 
fi
15283
 
IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG
15284
 
if test -n "$IMLIB_CONFIG"; then
15285
 
  { $as_echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5
15286
 
$as_echo "$IMLIB_CONFIG" >&6; }
15287
 
else
15288
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
15289
 
$as_echo "no" >&6; }
15290
 
fi
15291
 
 
15292
 
 
15293
 
  { $as_echo "$as_me:$LINENO: checking for Imlib" >&5
15294
 
$as_echo_n "checking for Imlib... " >&6; }
15295
 
  if test "$IMLIB_CONFIG" = "no"; then
15296
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
15297
 
$as_echo "no" >&6; }
15298
 
    { { $as_echo "$as_me:$LINENO: error: can't find imlib-config" >&5
15299
 
$as_echo "$as_me: error: can't find imlib-config" >&2;}
15300
 
   { (exit 1); exit 1; }; }
15301
 
  else
15302
 
    IMLIB_VERSION=`$IMLIB_CONFIG --version`
15303
 
        { $as_echo "$as_me:$LINENO: result: version $IMLIB_VERSION" >&5
15304
 
$as_echo "version $IMLIB_VERSION" >&6; }
15305
 
    IMLIB_CFLAGS=`$IMLIB_CONFIG --cflags`
15306
 
    IMLIB_LIBS=`$IMLIB_CONFIG --libs`
15307
 
    if $IMLIB_CONFIG --libs | grep " -lpng" >/dev/null 2>&1; then true; else
15308
 
      { { $as_echo "$as_me:$LINENO: error: imlib must be built with support for png images" >&5
15309
 
$as_echo "$as_me: error: imlib must be built with support for png images" >&2;}
15310
 
   { (exit 1); exit 1; }; }
15311
 
    fi
15312
 
 
15313
 
cat >>confdefs.h <<\_ACEOF
15314
 
#define HAVE_IMLIB 1
15315
 
_ACEOF
15316
 
 
15317
 
    IMAGE_LIBS='${IMLIB_LIBS}'
15318
 
    IMAGE_CFLAGS='${IMLIB_CFLAGS}'
15319
 
 
15320
 
 
15321
 
 
15322
 
  fi
15323
 
fi
15324
 
 
15325
 
 
15326
 
 
15327
 
# Check whether --enable-gtktest was given.
15328
 
if test "${enable_gtktest+set}" = set; then
15329
 
  enableval=$enable_gtktest;
15330
 
else
15331
 
  enable_gtktest=yes
15332
 
fi
15333
 
 
15334
 
 
15335
 
  pkg_config_args=gtk+-2.0
15336
 
  for module in .
15337
 
  do
15338
 
      case "$module" in
15339
 
         gthread)
15340
 
             pkg_config_args="$pkg_config_args gthread-2.0"
15341
 
         ;;
15342
 
      esac
15343
 
  done
15344
 
 
15345
 
  no_gtk=""
15346
 
 
15347
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
15348
 
set dummy pkg-config; ac_word=$2
15349
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15350
 
$as_echo_n "checking for $ac_word... " >&6; }
15351
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15352
 
  $as_echo_n "(cached) " >&6
15353
 
else
15354
 
  case $PKG_CONFIG in
15355
 
  [\\/]* | ?:[\\/]*)
15356
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15357
 
  ;;
15358
 
  *)
15359
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15360
 
for as_dir in $PATH
15361
 
do
15362
 
  IFS=$as_save_IFS
15363
 
  test -z "$as_dir" && as_dir=.
15364
 
  for ac_exec_ext in '' $ac_executable_extensions; do
15365
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15366
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15367
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15368
 
    break 2
15369
 
  fi
15370
 
done
15371
 
done
15372
 
IFS=$as_save_IFS
15373
 
 
15374
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15375
 
  ;;
15376
 
esac
15377
 
fi
15378
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15379
 
if test -n "$PKG_CONFIG"; then
15380
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15381
 
$as_echo "$PKG_CONFIG" >&6; }
15382
 
else
15383
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
15384
 
$as_echo "no" >&6; }
15385
 
fi
15386
 
 
15387
 
 
15388
 
 
15389
 
  if test x$PKG_CONFIG != xno ; then
15390
 
    if pkg-config --atleast-pkgconfig-version 0.7 ; then
15391
 
      :
15392
 
    else
15393
 
      echo "*** pkg-config too old; version 0.7 or better required."
15394
 
      no_gtk=yes
15395
 
      PKG_CONFIG=no
15396
 
    fi
15397
 
  else
15398
 
    no_gtk=yes
15399
 
  fi
15400
 
 
15401
 
  min_gtk_version=2.6.0
15402
 
  { $as_echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
15403
 
$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
15404
 
 
15405
 
  if test x$PKG_CONFIG != xno ; then
15406
 
    ## don't try to run the test against uninstalled libtool libs
15407
 
    if $PKG_CONFIG --uninstalled $pkg_config_args; then
15408
 
          echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
15409
 
          enable_gtktest=no
15410
 
    fi
15411
 
 
15412
 
    if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
15413
 
          :
15414
 
    else
15415
 
          no_gtk=yes
15416
 
    fi
15417
 
  fi
15418
 
 
15419
 
  if test x"$no_gtk" = x ; then
15420
 
    GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
15421
 
    GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
15422
 
    gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
15423
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15424
 
    gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
15425
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15426
 
    gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
15427
 
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15428
 
    if test "x$enable_gtktest" = "xyes" ; then
15429
 
      ac_save_CFLAGS="$CFLAGS"
15430
 
      ac_save_LIBS="$LIBS"
15431
 
      CFLAGS="$CFLAGS $GTK_CFLAGS"
15432
 
      LIBS="$GTK_LIBS $LIBS"
15433
 
      rm -f conf.gtktest
15434
 
      if test "$cross_compiling" = yes; then
15435
 
  echo $ac_n "cross compiling; assumed OK... $ac_c"
15436
 
else
15437
 
  cat >conftest.$ac_ext <<_ACEOF
15438
 
/* confdefs.h.  */
15439
 
_ACEOF
15440
 
cat confdefs.h >>conftest.$ac_ext
15441
 
cat >>conftest.$ac_ext <<_ACEOF
15442
 
/* end confdefs.h.  */
15443
 
 
15444
 
#include <gtk/gtk.h>
15445
 
#include <stdio.h>
15446
 
#include <stdlib.h>
15447
 
 
15448
 
int
15449
 
main ()
15450
 
{
15451
 
  int major, minor, micro;
15452
 
  char *tmp_version;
15453
 
 
15454
 
  system ("touch conf.gtktest");
15455
 
 
15456
 
  /* HP/UX 9 (%@#!) writes to sscanf strings */
15457
 
  tmp_version = g_strdup("$min_gtk_version");
15458
 
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
15459
 
     printf("%s, bad version string\n", "$min_gtk_version");
15460
 
     exit(1);
15461
 
   }
15462
 
 
15463
 
  if ((gtk_major_version != $gtk_config_major_version) ||
15464
 
      (gtk_minor_version != $gtk_config_minor_version) ||
15465
 
      (gtk_micro_version != $gtk_config_micro_version))
15466
 
    {
15467
 
      printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
15468
 
             $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
15469
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
15470
 
      printf ("*** was found! If pkg-config was correct, then it is best\n");
15471
 
      printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
15472
 
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15473
 
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15474
 
      printf("*** required on your system.\n");
15475
 
      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
15476
 
      printf("*** to point to the correct configuration files\n");
15477
 
    }
15478
 
  else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
15479
 
           (gtk_minor_version != GTK_MINOR_VERSION) ||
15480
 
           (gtk_micro_version != GTK_MICRO_VERSION))
15481
 
    {
15482
 
      printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
15483
 
             GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
15484
 
      printf("*** library (version %d.%d.%d)\n",
15485
 
             gtk_major_version, gtk_minor_version, gtk_micro_version);
15486
 
    }
15487
 
  else
15488
 
    {
15489
 
      if ((gtk_major_version > major) ||
15490
 
        ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
15491
 
        ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
15492
 
      {
15493
 
        return 0;
15494
 
       }
15495
 
     else
15496
 
      {
15497
 
        printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
15498
 
               gtk_major_version, gtk_minor_version, gtk_micro_version);
15499
 
        printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
15500
 
               major, minor, micro);
15501
 
        printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
15502
 
        printf("***\n");
15503
 
        printf("*** If you have already installed a sufficiently new version, this error\n");
15504
 
        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
15505
 
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
15506
 
        printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
15507
 
        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
15508
 
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15509
 
        printf("*** so that the correct libraries are found at run-time))\n");
15510
 
      }
15511
 
    }
15512
 
  return 1;
15513
 
}
15514
 
 
15515
 
_ACEOF
15516
 
rm -f conftest$ac_exeext
15517
 
if { (ac_try="$ac_link"
15518
 
case "(($ac_try" in
15519
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15520
 
  *) ac_try_echo=$ac_try;;
15521
 
esac
15522
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15523
 
$as_echo "$ac_try_echo") >&5
15524
 
  (eval "$ac_link") 2>&5
15525
 
  ac_status=$?
15526
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15528
 
  { (case "(($ac_try" in
15529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15530
 
  *) ac_try_echo=$ac_try;;
15531
 
esac
15532
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15533
 
$as_echo "$ac_try_echo") >&5
15534
 
  (eval "$ac_try") 2>&5
15535
 
  ac_status=$?
15536
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537
 
  (exit $ac_status); }; }; then
15538
 
  :
15539
 
else
15540
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
15541
 
$as_echo "$as_me: failed program was:" >&5
15542
 
sed 's/^/| /' conftest.$ac_ext >&5
15543
 
 
15544
 
( exit $ac_status )
15545
 
no_gtk=yes
15546
 
fi
15547
 
rm -rf conftest.dSYM
15548
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15549
 
fi
15550
 
 
15551
 
 
15552
 
       CFLAGS="$ac_save_CFLAGS"
15553
 
       LIBS="$ac_save_LIBS"
15554
 
     fi
15555
 
  fi
15556
 
  if test "x$no_gtk" = x ; then
15557
 
     { $as_echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
15558
 
$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
15559
 
     :
15560
 
  else
15561
 
     { $as_echo "$as_me:$LINENO: result: no" >&5
15562
 
$as_echo "no" >&6; }
15563
 
     if test "$PKG_CONFIG" = "no" ; then
15564
 
       echo "*** A new enough version of pkg-config was not found."
15565
 
       echo "*** See http://pkgconfig.sourceforge.net"
15566
 
     else
15567
 
       if test -f conf.gtktest ; then
15568
 
        :
15569
 
       else
15570
 
          echo "*** Could not run GTK+ test program, checking why..."
15571
 
          ac_save_CFLAGS="$CFLAGS"
15572
 
          ac_save_LIBS="$LIBS"
15573
 
          CFLAGS="$CFLAGS $GTK_CFLAGS"
15574
 
          LIBS="$LIBS $GTK_LIBS"
15575
 
          cat >conftest.$ac_ext <<_ACEOF
15576
 
/* confdefs.h.  */
15577
 
_ACEOF
15578
 
cat confdefs.h >>conftest.$ac_ext
15579
 
cat >>conftest.$ac_ext <<_ACEOF
15580
 
/* end confdefs.h.  */
15581
 
 
15582
 
#include <gtk/gtk.h>
15583
 
#include <stdio.h>
15584
 
 
15585
 
int
15586
 
main ()
15587
 
{
15588
 
 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
15589
 
  ;
15590
 
  return 0;
15591
 
}
15592
 
_ACEOF
15593
 
rm -f conftest.$ac_objext conftest$ac_exeext
15594
 
if { (ac_try="$ac_link"
15595
 
case "(($ac_try" in
15596
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15597
 
  *) ac_try_echo=$ac_try;;
15598
 
esac
15599
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15600
 
$as_echo "$ac_try_echo") >&5
15601
 
  (eval "$ac_link") 2>conftest.er1
15602
 
  ac_status=$?
15603
 
  grep -v '^ *+' conftest.er1 >conftest.err
15604
 
  rm -f conftest.er1
15605
 
  cat conftest.err >&5
15606
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607
 
  (exit $ac_status); } && {
15608
 
         test -z "$ac_c_werror_flag" ||
15609
 
         test ! -s conftest.err
15610
 
       } && test -s conftest$ac_exeext && {
15611
 
         test "$cross_compiling" = yes ||
15612
 
         $as_test_x conftest$ac_exeext
15613
 
       }; then
15614
 
   echo "*** The test program compiled, but did not run. This usually means"
15615
 
          echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
15616
 
          echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
15617
 
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15618
 
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
15619
 
          echo "*** is required on your system"
15620
 
          echo "***"
15621
 
          echo "*** If you have an old version installed, it is best to remove it, although"
15622
 
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15623
 
else
15624
 
  $as_echo "$as_me: failed program was:" >&5
15625
 
sed 's/^/| /' conftest.$ac_ext >&5
15626
 
 
15627
 
         echo "*** The test program failed to compile or link. See the file config.log for the"
15628
 
          echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
15629
 
fi
15630
 
 
15631
 
rm -rf conftest.dSYM
15632
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15633
 
      conftest$ac_exeext conftest.$ac_ext
15634
 
          CFLAGS="$ac_save_CFLAGS"
15635
 
          LIBS="$ac_save_LIBS"
15636
 
       fi
15637
 
     fi
15638
 
     GTK_CFLAGS=""
15639
 
     GTK_LIBS=""
15640
 
     :
15641
 
  fi
15642
 
 
15643
 
 
15644
 
  rm -f conf.gtktest
15645
 
 
 
12465
 
 
12466
pkg_failed=no
 
12467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB1" >&5
 
12468
$as_echo_n "checking for IMLIB1... " >&6; }
 
12469
 
 
12470
if test -n "$PKG_CONFIG"; then
 
12471
    if test -n "$IMLIB1_CFLAGS"; then
 
12472
        pkg_cv_IMLIB1_CFLAGS="$IMLIB1_CFLAGS"
 
12473
    else
 
12474
        if test -n "$PKG_CONFIG" && \
 
12475
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib >= 1.9
 
12476
                          \""; } >&5
 
12477
  ($PKG_CONFIG --exists --print-errors "imlib >= 1.9
 
12478
                          ") 2>&5
 
12479
  ac_status=$?
 
12480
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12481
  test $ac_status = 0; }; then
 
12482
  pkg_cv_IMLIB1_CFLAGS=`$PKG_CONFIG --cflags "imlib >= 1.9
 
12483
                          " 2>/dev/null`
 
12484
else
 
12485
  pkg_failed=yes
 
12486
fi
 
12487
    fi
 
12488
else
 
12489
        pkg_failed=untried
 
12490
fi
 
12491
if test -n "$PKG_CONFIG"; then
 
12492
    if test -n "$IMLIB1_LIBS"; then
 
12493
        pkg_cv_IMLIB1_LIBS="$IMLIB1_LIBS"
 
12494
    else
 
12495
        if test -n "$PKG_CONFIG" && \
 
12496
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"imlib >= 1.9
 
12497
                          \""; } >&5
 
12498
  ($PKG_CONFIG --exists --print-errors "imlib >= 1.9
 
12499
                          ") 2>&5
 
12500
  ac_status=$?
 
12501
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12502
  test $ac_status = 0; }; then
 
12503
  pkg_cv_IMLIB1_LIBS=`$PKG_CONFIG --libs "imlib >= 1.9
 
12504
                          " 2>/dev/null`
 
12505
else
 
12506
  pkg_failed=yes
 
12507
fi
 
12508
    fi
 
12509
else
 
12510
        pkg_failed=untried
 
12511
fi
 
12512
 
 
12513
 
 
12514
 
 
12515
if test $pkg_failed = yes; then
 
12516
 
 
12517
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12518
        _pkg_short_errors_supported=yes
 
12519
else
 
12520
        _pkg_short_errors_supported=no
 
12521
fi
 
12522
        if test $_pkg_short_errors_supported = yes; then
 
12523
                IMLIB1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "imlib >= 1.9
 
12524
                          "`
 
12525
        else
 
12526
                IMLIB1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "imlib >= 1.9
 
12527
                          "`
 
12528
        fi
 
12529
        # Put the nasty error message in config.log where it belongs
 
12530
        echo "$IMLIB1_PKG_ERRORS" >&5
 
12531
 
 
12532
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12533
$as_echo "no" >&6; }
 
12534
                as_fn_error "cannot locate imlib1 library" "$LINENO" 5
 
12535
elif test $pkg_failed = untried; then
 
12536
        as_fn_error "cannot locate imlib1 library" "$LINENO" 5
 
12537
else
 
12538
        IMLIB1_CFLAGS=$pkg_cv_IMLIB1_CFLAGS
 
12539
        IMLIB1_LIBS=$pkg_cv_IMLIB1_LIBS
 
12540
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12541
$as_echo "yes" >&6; }
 
12542
        IMLIB_CFLAGS="`pkg-config --cflags imlib`"
 
12543
                          IMLIB_LIBS="`pkg-config --libs imlib`"
 
12544
 
 
12545
$as_echo "#define HAVE_IMLIB 1" >>confdefs.h
 
12546
 
 
12547
                          IMAGE_LIBS='${IMLIB1_LIBS}'
 
12548
                          IMAGE_CFLAGS='${IMLIB1_CFLAGS}'
 
12549
                          IMLIB_VERSION="`pkg-config --modversion imlib`"
 
12550
                          IMAGE_LOADER="IMLIB 1"
 
12551
 
 
12552
fi
 
12553
fi
 
12554
 
 
12555
AUDIOFILE_MIN_VER="0.2.3"
15646
12556
 
15647
12557
 
15648
12558
# Check whether --with-audiofile was given.
15649
 
if test "${with_audiofile+set}" = set; then
 
12559
if test "${with_audiofile+set}" = set; then :
15650
12560
  withval=$with_audiofile;
15651
12561
else
15652
12562
  with_audiofile=yes
15653
12563
fi
15654
12564
 
 
12565
 
15655
12566
if test "$with_audiofile" = "yes"; then
15656
12567
 
15657
12568
pkg_failed=no
15658
 
{ $as_echo "$as_me:$LINENO: checking for AUDIOFILE" >&5
 
12569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AUDIOFILE" >&5
15659
12570
$as_echo_n "checking for AUDIOFILE... " >&6; }
15660
12571
 
15661
12572
if test -n "$PKG_CONFIG"; then
15663
12574
        pkg_cv_AUDIOFILE_CFLAGS="$AUDIOFILE_CFLAGS"
15664
12575
    else
15665
12576
        if test -n "$PKG_CONFIG" && \
15666
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"audiofile >= 0.2.3\"") >&5
15667
 
  ($PKG_CONFIG --exists --print-errors "audiofile >= 0.2.3") 2>&5
 
12577
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"audiofile >= \${AUDIOFILE_MIN_VER}\""; } >&5
 
12578
  ($PKG_CONFIG --exists --print-errors "audiofile >= ${AUDIOFILE_MIN_VER}") 2>&5
15668
12579
  ac_status=$?
15669
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670
 
  (exit $ac_status); }; then
15671
 
  pkg_cv_AUDIOFILE_CFLAGS=`$PKG_CONFIG --cflags "audiofile >= 0.2.3" 2>/dev/null`
 
12580
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12581
  test $ac_status = 0; }; then
 
12582
  pkg_cv_AUDIOFILE_CFLAGS=`$PKG_CONFIG --cflags "audiofile >= ${AUDIOFILE_MIN_VER}" 2>/dev/null`
15672
12583
else
15673
12584
  pkg_failed=yes
15674
12585
fi
15681
12592
        pkg_cv_AUDIOFILE_LIBS="$AUDIOFILE_LIBS"
15682
12593
    else
15683
12594
        if test -n "$PKG_CONFIG" && \
15684
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"audiofile >= 0.2.3\"") >&5
15685
 
  ($PKG_CONFIG --exists --print-errors "audiofile >= 0.2.3") 2>&5
 
12595
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"audiofile >= \${AUDIOFILE_MIN_VER}\""; } >&5
 
12596
  ($PKG_CONFIG --exists --print-errors "audiofile >= ${AUDIOFILE_MIN_VER}") 2>&5
15686
12597
  ac_status=$?
15687
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688
 
  (exit $ac_status); }; then
15689
 
  pkg_cv_AUDIOFILE_LIBS=`$PKG_CONFIG --libs "audiofile >= 0.2.3" 2>/dev/null`
 
12598
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12599
  test $ac_status = 0; }; then
 
12600
  pkg_cv_AUDIOFILE_LIBS=`$PKG_CONFIG --libs "audiofile >= ${AUDIOFILE_MIN_VER}" 2>/dev/null`
15690
12601
else
15691
12602
  pkg_failed=yes
15692
12603
fi
15705
12616
        _pkg_short_errors_supported=no
15706
12617
fi
15707
12618
        if test $_pkg_short_errors_supported = yes; then
15708
 
                AUDIOFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "audiofile >= 0.2.3"`
 
12619
                AUDIOFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "audiofile >= ${AUDIOFILE_MIN_VER}"`
15709
12620
        else
15710
 
                AUDIOFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "audiofile >= 0.2.3"`
 
12621
                AUDIOFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "audiofile >= ${AUDIOFILE_MIN_VER}"`
15711
12622
        fi
15712
12623
        # Put the nasty error message in config.log where it belongs
15713
12624
        echo "$AUDIOFILE_PKG_ERRORS" >&5
15714
12625
 
15715
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (audiofile >= 0.2.3) were not met:
15716
 
 
15717
 
$AUDIOFILE_PKG_ERRORS
15718
 
 
15719
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15720
 
installed software in a non-standard prefix.
15721
 
 
15722
 
Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
15723
 
and AUDIOFILE_LIBS to avoid the need to call pkg-config.
15724
 
See the pkg-config man page for more details.
15725
 
" >&5
15726
 
$as_echo "$as_me: error: Package requirements (audiofile >= 0.2.3) were not met:
15727
 
 
15728
 
$AUDIOFILE_PKG_ERRORS
15729
 
 
15730
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15731
 
installed software in a non-standard prefix.
15732
 
 
15733
 
Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
15734
 
and AUDIOFILE_LIBS to avoid the need to call pkg-config.
15735
 
See the pkg-config man page for more details.
15736
 
" >&2;}
15737
 
   { (exit 1); exit 1; }; }
 
12626
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12627
$as_echo "no" >&6; }
 
12628
                AUDIOFILE_LIBS="`pkg-config --libs audiofile`"
 
12629
                      AUDIOFILE_CFLAGS="`pkg-config --cflags audiofile`"
 
12630
 
 
12631
$as_echo "#define HAVE_LIBAUDIOFILE 1" >>confdefs.h
 
12632
 
 
12633
 
15738
12634
elif test $pkg_failed = untried; then
15739
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15740
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15741
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15742
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15743
 
path to pkg-config.
15744
 
 
15745
 
Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
15746
 
and AUDIOFILE_LIBS to avoid the need to call pkg-config.
15747
 
See the pkg-config man page for more details.
15748
 
 
15749
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15750
 
See \`config.log' for more details." >&5
15751
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15752
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15753
 
path to pkg-config.
15754
 
 
15755
 
Alternatively, you may set the environment variables AUDIOFILE_CFLAGS
15756
 
and AUDIOFILE_LIBS to avoid the need to call pkg-config.
15757
 
See the pkg-config man page for more details.
15758
 
 
15759
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15760
 
See \`config.log' for more details." >&2;}
15761
 
   { (exit 1); exit 1; }; }; }
 
12635
        AUDIOFILE_LIBS="`pkg-config --libs audiofile`"
 
12636
                      AUDIOFILE_CFLAGS="`pkg-config --cflags audiofile`"
 
12637
 
 
12638
$as_echo "#define HAVE_LIBAUDIOFILE 1" >>confdefs.h
 
12639
 
 
12640
 
15762
12641
else
15763
12642
        AUDIOFILE_CFLAGS=$pkg_cv_AUDIOFILE_CFLAGS
15764
12643
        AUDIOFILE_LIBS=$pkg_cv_AUDIOFILE_LIBS
15765
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12644
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15766
12645
$as_echo "yes" >&6; }
15767
12646
        :
15768
12647
fi
15769
 
 
15770
 
 
15771
 
 
15772
 
cat >>confdefs.h <<\_ACEOF
15773
 
#define HAVE_LIBAUDIOFILE 1
15774
 
_ACEOF
15775
 
 
15776
12648
fi
15777
12649
 
 
12650
ESD_MIN_VER="0.2.23"
 
12651
 
15778
12652
 
15779
12653
# Check whether --with-esd was given.
15780
 
if test "${with_esd+set}" = set; then
 
12654
if test "${with_esd+set}" = set; then :
15781
12655
  withval=$with_esd;
15782
12656
else
15783
12657
  with_esd=yes
15784
12658
fi
15785
12659
 
 
12660
 
15786
12661
if test "$with_esd" = "yes"; then
15787
12662
 
15788
12663
pkg_failed=no
15789
 
{ $as_echo "$as_me:$LINENO: checking for ESD" >&5
 
12664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD" >&5
15790
12665
$as_echo_n "checking for ESD... " >&6; }
15791
12666
 
15792
12667
if test -n "$PKG_CONFIG"; then
15794
12669
        pkg_cv_ESD_CFLAGS="$ESD_CFLAGS"
15795
12670
    else
15796
12671
        if test -n "$PKG_CONFIG" && \
15797
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound >= 0.2.23\"") >&5
15798
 
  ($PKG_CONFIG --exists --print-errors "esound >= 0.2.23") 2>&5
 
12672
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esound >= \${ESD_MIN_VER}
 
12673
                      \""; } >&5
 
12674
  ($PKG_CONFIG --exists --print-errors "esound >= ${ESD_MIN_VER}
 
12675
                      ") 2>&5
15799
12676
  ac_status=$?
15800
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801
 
  (exit $ac_status); }; then
15802
 
  pkg_cv_ESD_CFLAGS=`$PKG_CONFIG --cflags "esound >= 0.2.23" 2>/dev/null`
 
12677
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12678
  test $ac_status = 0; }; then
 
12679
  pkg_cv_ESD_CFLAGS=`$PKG_CONFIG --cflags "esound >= ${ESD_MIN_VER}
 
12680
                      " 2>/dev/null`
15803
12681
else
15804
12682
  pkg_failed=yes
15805
12683
fi
15812
12690
        pkg_cv_ESD_LIBS="$ESD_LIBS"
15813
12691
    else
15814
12692
        if test -n "$PKG_CONFIG" && \
15815
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound >= 0.2.23\"") >&5
15816
 
  ($PKG_CONFIG --exists --print-errors "esound >= 0.2.23") 2>&5
 
12693
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esound >= \${ESD_MIN_VER}
 
12694
                      \""; } >&5
 
12695
  ($PKG_CONFIG --exists --print-errors "esound >= ${ESD_MIN_VER}
 
12696
                      ") 2>&5
15817
12697
  ac_status=$?
15818
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819
 
  (exit $ac_status); }; then
15820
 
  pkg_cv_ESD_LIBS=`$PKG_CONFIG --libs "esound >= 0.2.23" 2>/dev/null`
 
12698
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12699
  test $ac_status = 0; }; then
 
12700
  pkg_cv_ESD_LIBS=`$PKG_CONFIG --libs "esound >= ${ESD_MIN_VER}
 
12701
                      " 2>/dev/null`
15821
12702
else
15822
12703
  pkg_failed=yes
15823
12704
fi
15836
12717
        _pkg_short_errors_supported=no
15837
12718
fi
15838
12719
        if test $_pkg_short_errors_supported = yes; then
15839
 
                ESD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound >= 0.2.23"`
 
12720
                ESD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound >= ${ESD_MIN_VER}
 
12721
                      "`
15840
12722
        else
15841
 
                ESD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound >= 0.2.23"`
 
12723
                ESD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound >= ${ESD_MIN_VER}
 
12724
                      "`
15842
12725
        fi
15843
12726
        # Put the nasty error message in config.log where it belongs
15844
12727
        echo "$ESD_PKG_ERRORS" >&5
15845
12728
 
15846
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (esound >= 0.2.23) were not met:
15847
 
 
15848
 
$ESD_PKG_ERRORS
15849
 
 
15850
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15851
 
installed software in a non-standard prefix.
15852
 
 
15853
 
Alternatively, you may set the environment variables ESD_CFLAGS
15854
 
and ESD_LIBS to avoid the need to call pkg-config.
15855
 
See the pkg-config man page for more details.
15856
 
" >&5
15857
 
$as_echo "$as_me: error: Package requirements (esound >= 0.2.23) were not met:
15858
 
 
15859
 
$ESD_PKG_ERRORS
15860
 
 
15861
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15862
 
installed software in a non-standard prefix.
15863
 
 
15864
 
Alternatively, you may set the environment variables ESD_CFLAGS
15865
 
and ESD_LIBS to avoid the need to call pkg-config.
15866
 
See the pkg-config man page for more details.
15867
 
" >&2;}
15868
 
   { (exit 1); exit 1; }; }
 
12729
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12730
$as_echo "no" >&6; }
 
12731
                as_fn_error "cannot locate esound" "$LINENO" 5
15869
12732
elif test $pkg_failed = untried; then
15870
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15871
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15872
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15873
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15874
 
path to pkg-config.
15875
 
 
15876
 
Alternatively, you may set the environment variables ESD_CFLAGS
15877
 
and ESD_LIBS to avoid the need to call pkg-config.
15878
 
See the pkg-config man page for more details.
15879
 
 
15880
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15881
 
See \`config.log' for more details." >&5
15882
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15883
 
is in your PATH or set the PKG_CONFIG environment variable to the full
15884
 
path to pkg-config.
15885
 
 
15886
 
Alternatively, you may set the environment variables ESD_CFLAGS
15887
 
and ESD_LIBS to avoid the need to call pkg-config.
15888
 
See the pkg-config man page for more details.
15889
 
 
15890
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15891
 
See \`config.log' for more details." >&2;}
15892
 
   { (exit 1); exit 1; }; }; }
 
12733
        as_fn_error "cannot locate esound" "$LINENO" 5
15893
12734
else
15894
12735
        ESD_CFLAGS=$pkg_cv_ESD_CFLAGS
15895
12736
        ESD_LIBS=$pkg_cv_ESD_LIBS
15896
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
15897
 
$as_echo "yes" >&6; }
15898
 
        :
15899
 
fi
15900
 
 
15901
 
 
15902
 
 
15903
 
cat >>confdefs.h <<\_ACEOF
15904
 
#define HAVE_ESD 1
15905
 
_ACEOF
15906
 
 
15907
 
fi
15908
 
 
15909
 
# Check whether --enable-gnome-widgets was given.
15910
 
if test "${enable_gnome_widgets+set}" = set; then
15911
 
  enableval=$enable_gnome_widgets;
15912
 
else
15913
 
  enable_gnome_widgets=no
15914
 
fi
15915
 
 
15916
 
 
15917
 
if test "$enable_gnome_widgets" != "no"; then
15918
 
  { $as_echo "$as_me:$LINENO: checking for rep-gtk GNOME wrappers" >&5
15919
 
$as_echo_n "checking for rep-gtk GNOME wrappers... " >&6; }
15920
 
  if REP_GTK_DONT_INITIALIZE=1 rep --batch -l gui.gtk-2.gnome-ui 2>&5; then
15921
 
    { $as_echo "$as_me:$LINENO: result: yes" >&5
15922
 
$as_echo "yes" >&6; }
15923
 
    REP_GTK_GNOME=yes
15924
 
  else
15925
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
15926
 
$as_echo "no" >&6; }
15927
 
    REP_GTK_GNOME=no
15928
 
    { $as_echo "$as_me:$LINENO: WARNING: Can't load rep's gnome wrappers" >&5
15929
 
$as_echo "$as_me: WARNING: Can't load rep's gnome wrappers" >&2;}
15930
 
  fi
15931
 
else
15932
 
  REP_GTK_GNOME=no
15933
 
fi
15934
 
 
 
12737
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12738
$as_echo "yes" >&6; }
 
12739
        ESD_LIBS="`pkg-config --libs esound`"
 
12740
                      ESD_CFLAGS="`pkg-config --cflags esound`"
 
12741
 
 
12742
$as_echo "#define HAVE_ESD 1" >>confdefs.h
 
12743
 
 
12744
 
 
12745
fi
 
12746
fi
 
12747
 
 
12748
 
 
12749
 
 
12750
# Check whether --with-nls was given.
 
12751
if test "${with_nls+set}" = set; then :
 
12752
  withval=$with_nls;
 
12753
else
 
12754
  with_nls=yes
 
12755
fi
 
12756
 
 
12757
 
 
12758
if test "$with_nls" = "yes"; then
 
12759
        SUBDIRS="${SUBDIRS} po"
 
12760
fi
15935
12761
 
15936
12762
doug_lea_malloc=yes
15937
 
{ $as_echo "$as_me:$LINENO: checking for malloc_get_state" >&5
15938
 
$as_echo_n "checking for malloc_get_state... " >&6; }
15939
 
if test "${ac_cv_func_malloc_get_state+set}" = set; then
15940
 
  $as_echo_n "(cached) " >&6
15941
 
else
15942
 
  cat >conftest.$ac_ext <<_ACEOF
15943
 
/* confdefs.h.  */
15944
 
_ACEOF
15945
 
cat confdefs.h >>conftest.$ac_ext
15946
 
cat >>conftest.$ac_ext <<_ACEOF
15947
 
/* end confdefs.h.  */
15948
 
/* Define malloc_get_state to an innocuous variant, in case <limits.h> declares malloc_get_state.
15949
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15950
 
#define malloc_get_state innocuous_malloc_get_state
15951
 
 
15952
 
/* System header to define __stub macros and hopefully few prototypes,
15953
 
    which can conflict with char malloc_get_state (); below.
15954
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15955
 
    <limits.h> exists even on freestanding compilers.  */
15956
 
 
15957
 
#ifdef __STDC__
15958
 
# include <limits.h>
15959
 
#else
15960
 
# include <assert.h>
15961
 
#endif
15962
 
 
15963
 
#undef malloc_get_state
15964
 
 
15965
 
/* Override any GCC internal prototype to avoid an error.
15966
 
   Use char because int might match the return type of a GCC
15967
 
   builtin and then its argument prototype would still apply.  */
15968
 
#ifdef __cplusplus
15969
 
extern "C"
15970
 
#endif
15971
 
char malloc_get_state ();
15972
 
/* The GNU C library defines this for functions which it implements
15973
 
    to always fail with ENOSYS.  Some functions are actually named
15974
 
    something starting with __ and the normal name is an alias.  */
15975
 
#if defined __stub_malloc_get_state || defined __stub___malloc_get_state
15976
 
choke me
15977
 
#endif
15978
 
 
15979
 
int
15980
 
main ()
15981
 
{
15982
 
return malloc_get_state ();
15983
 
  ;
15984
 
  return 0;
15985
 
}
15986
 
_ACEOF
15987
 
rm -f conftest.$ac_objext conftest$ac_exeext
15988
 
if { (ac_try="$ac_link"
15989
 
case "(($ac_try" in
15990
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15991
 
  *) ac_try_echo=$ac_try;;
15992
 
esac
15993
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15994
 
$as_echo "$ac_try_echo") >&5
15995
 
  (eval "$ac_link") 2>conftest.er1
15996
 
  ac_status=$?
15997
 
  grep -v '^ *+' conftest.er1 >conftest.err
15998
 
  rm -f conftest.er1
15999
 
  cat conftest.err >&5
16000
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001
 
  (exit $ac_status); } && {
16002
 
         test -z "$ac_c_werror_flag" ||
16003
 
         test ! -s conftest.err
16004
 
       } && test -s conftest$ac_exeext && {
16005
 
         test "$cross_compiling" = yes ||
16006
 
         $as_test_x conftest$ac_exeext
16007
 
       }; then
16008
 
  ac_cv_func_malloc_get_state=yes
16009
 
else
16010
 
  $as_echo "$as_me: failed program was:" >&5
16011
 
sed 's/^/| /' conftest.$ac_ext >&5
16012
 
 
16013
 
        ac_cv_func_malloc_get_state=no
16014
 
fi
16015
 
 
16016
 
rm -rf conftest.dSYM
16017
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16018
 
      conftest$ac_exeext conftest.$ac_ext
16019
 
fi
16020
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5
16021
 
$as_echo "$ac_cv_func_malloc_get_state" >&6; }
16022
 
if test "x$ac_cv_func_malloc_get_state" = x""yes; then
16023
 
  :
 
12763
ac_fn_c_check_func "$LINENO" "malloc_get_state" "ac_cv_func_malloc_get_state"
 
12764
if test "x$ac_cv_func_malloc_get_state" = x""yes; then :
 
12765
 
16024
12766
else
16025
12767
  doug_lea_malloc=no
16026
12768
fi
16027
12769
 
16028
 
{ $as_echo "$as_me:$LINENO: checking for malloc_set_state" >&5
16029
 
$as_echo_n "checking for malloc_set_state... " >&6; }
16030
 
if test "${ac_cv_func_malloc_set_state+set}" = set; then
16031
 
  $as_echo_n "(cached) " >&6
16032
 
else
16033
 
  cat >conftest.$ac_ext <<_ACEOF
16034
 
/* confdefs.h.  */
16035
 
_ACEOF
16036
 
cat confdefs.h >>conftest.$ac_ext
16037
 
cat >>conftest.$ac_ext <<_ACEOF
16038
 
/* end confdefs.h.  */
16039
 
/* Define malloc_set_state to an innocuous variant, in case <limits.h> declares malloc_set_state.
16040
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16041
 
#define malloc_set_state innocuous_malloc_set_state
16042
 
 
16043
 
/* System header to define __stub macros and hopefully few prototypes,
16044
 
    which can conflict with char malloc_set_state (); below.
16045
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16046
 
    <limits.h> exists even on freestanding compilers.  */
16047
 
 
16048
 
#ifdef __STDC__
16049
 
# include <limits.h>
16050
 
#else
16051
 
# include <assert.h>
16052
 
#endif
16053
 
 
16054
 
#undef malloc_set_state
16055
 
 
16056
 
/* Override any GCC internal prototype to avoid an error.
16057
 
   Use char because int might match the return type of a GCC
16058
 
   builtin and then its argument prototype would still apply.  */
16059
 
#ifdef __cplusplus
16060
 
extern "C"
16061
 
#endif
16062
 
char malloc_set_state ();
16063
 
/* The GNU C library defines this for functions which it implements
16064
 
    to always fail with ENOSYS.  Some functions are actually named
16065
 
    something starting with __ and the normal name is an alias.  */
16066
 
#if defined __stub_malloc_set_state || defined __stub___malloc_set_state
16067
 
choke me
16068
 
#endif
16069
 
 
16070
 
int
16071
 
main ()
16072
 
{
16073
 
return malloc_set_state ();
16074
 
  ;
16075
 
  return 0;
16076
 
}
16077
 
_ACEOF
16078
 
rm -f conftest.$ac_objext conftest$ac_exeext
16079
 
if { (ac_try="$ac_link"
16080
 
case "(($ac_try" in
16081
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16082
 
  *) ac_try_echo=$ac_try;;
16083
 
esac
16084
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16085
 
$as_echo "$ac_try_echo") >&5
16086
 
  (eval "$ac_link") 2>conftest.er1
16087
 
  ac_status=$?
16088
 
  grep -v '^ *+' conftest.er1 >conftest.err
16089
 
  rm -f conftest.er1
16090
 
  cat conftest.err >&5
16091
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092
 
  (exit $ac_status); } && {
16093
 
         test -z "$ac_c_werror_flag" ||
16094
 
         test ! -s conftest.err
16095
 
       } && test -s conftest$ac_exeext && {
16096
 
         test "$cross_compiling" = yes ||
16097
 
         $as_test_x conftest$ac_exeext
16098
 
       }; then
16099
 
  ac_cv_func_malloc_set_state=yes
16100
 
else
16101
 
  $as_echo "$as_me: failed program was:" >&5
16102
 
sed 's/^/| /' conftest.$ac_ext >&5
16103
 
 
16104
 
        ac_cv_func_malloc_set_state=no
16105
 
fi
16106
 
 
16107
 
rm -rf conftest.dSYM
16108
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16109
 
      conftest$ac_exeext conftest.$ac_ext
16110
 
fi
16111
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5
16112
 
$as_echo "$ac_cv_func_malloc_set_state" >&6; }
16113
 
if test "x$ac_cv_func_malloc_set_state" = x""yes; then
16114
 
  :
 
12770
ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
 
12771
if test "x$ac_cv_func_malloc_set_state" = x""yes; then :
 
12772
 
16115
12773
else
16116
12774
  doug_lea_malloc=no
16117
12775
fi
16118
12776
 
16119
12777
if test "$doug_lea_malloc" = "no"; then
16120
12778
 
16121
 
cat >>confdefs.h <<\_ACEOF
16122
 
#define LIBC_MALLOC 1
16123
 
_ACEOF
 
12779
$as_echo "#define LIBC_MALLOC 1" >>confdefs.h
16124
12780
 
16125
12781
else
16126
12782
 
16127
 
cat >>confdefs.h <<\_ACEOF
16128
 
#define DOUG_LEA_MALLOC 1
16129
 
_ACEOF
16130
 
 
16131
 
 
16132
 
cat >>confdefs.h <<\_ACEOF
16133
 
#define LIBC_MALLOC 1
16134
 
_ACEOF
 
12783
$as_echo "#define DOUG_LEA_MALLOC 1" >>confdefs.h
 
12784
 
 
12785
 
 
12786
$as_echo "#define LIBC_MALLOC 1" >>confdefs.h
16135
12787
 
16136
12788
fi
16137
12789
 
16138
12790
 
16139
12791
# Check whether --with-gnome_prefix was given.
16140
 
if test "${with_gnome_prefix+set}" = set; then
 
12792
if test "${with_gnome_prefix+set}" = set; then :
16141
12793
  withval=$with_gnome_prefix;
16142
12794
else
16143
12795
   with_gnome_prefix=""
16144
12796
fi
16145
12797
 
16146
 
{ $as_echo "$as_me:$LINENO: checking for GNOME prefix" >&5
 
12798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME prefix" >&5
16147
12799
$as_echo_n "checking for GNOME prefix... " >&6; }
16148
12800
if test "x$with_gnome_prefix" = "x"; then
16149
12801
  with_gnome_prefix='${prefix}'
16150
12802
fi
16151
 
{ $as_echo "$as_me:$LINENO: result: $with_gnome_prefix" >&5
 
12803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gnome_prefix" >&5
16152
12804
$as_echo "$with_gnome_prefix" >&6; }
16153
12805
GNOMEDIR=$with_gnome_prefix
16154
12806
 
16155
 
 
16156
 
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16157
 
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16158
 
if test "${ac_cv_c_const+set}" = set; then
16159
 
  $as_echo_n "(cached) " >&6
16160
 
else
16161
 
  cat >conftest.$ac_ext <<_ACEOF
16162
 
/* confdefs.h.  */
16163
 
_ACEOF
16164
 
cat confdefs.h >>conftest.$ac_ext
16165
 
cat >>conftest.$ac_ext <<_ACEOF
16166
 
/* end confdefs.h.  */
16167
 
 
16168
 
int
16169
 
main ()
16170
 
{
16171
 
/* FIXME: Include the comments suggested by Paul. */
16172
 
#ifndef __cplusplus
16173
 
  /* Ultrix mips cc rejects this.  */
16174
 
  typedef int charset[2];
16175
 
  const charset cs;
16176
 
  /* SunOS 4.1.1 cc rejects this.  */
16177
 
  char const *const *pcpcc;
16178
 
  char **ppc;
16179
 
  /* NEC SVR4.0.2 mips cc rejects this.  */
16180
 
  struct point {int x, y;};
16181
 
  static struct point const zero = {0,0};
16182
 
  /* AIX XL C 1.02.0.0 rejects this.
16183
 
     It does not let you subtract one const X* pointer from another in
16184
 
     an arm of an if-expression whose if-part is not a constant
16185
 
     expression */
16186
 
  const char *g = "string";
16187
 
  pcpcc = &g + (g ? g-g : 0);
16188
 
  /* HPUX 7.0 cc rejects these. */
16189
 
  ++pcpcc;
16190
 
  ppc = (char**) pcpcc;
16191
 
  pcpcc = (char const *const *) ppc;
16192
 
  { /* SCO 3.2v4 cc rejects this.  */
16193
 
    char *t;
16194
 
    char const *s = 0 ? (char *) 0 : (char const *) 0;
16195
 
 
16196
 
    *t++ = 0;
16197
 
    if (s) return 0;
16198
 
  }
16199
 
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16200
 
    int x[] = {25, 17};
16201
 
    const int *foo = &x[0];
16202
 
    ++foo;
16203
 
  }
16204
 
  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16205
 
    typedef const int *iptr;
16206
 
    iptr p = 0;
16207
 
    ++p;
16208
 
  }
16209
 
  { /* AIX XL C 1.02.0.0 rejects this saying
16210
 
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16211
 
    struct s { int j; const int *ap[3]; };
16212
 
    struct s *b; b->j = 5;
16213
 
  }
16214
 
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16215
 
    const int foo = 10;
16216
 
    if (!foo) return 0;
16217
 
  }
16218
 
  return !cs[0] && !zero.x;
16219
 
#endif
16220
 
 
16221
 
  ;
16222
 
  return 0;
16223
 
}
16224
 
_ACEOF
16225
 
rm -f conftest.$ac_objext
16226
 
if { (ac_try="$ac_compile"
16227
 
case "(($ac_try" in
16228
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229
 
  *) ac_try_echo=$ac_try;;
16230
 
esac
16231
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16232
 
$as_echo "$ac_try_echo") >&5
16233
 
  (eval "$ac_compile") 2>conftest.er1
16234
 
  ac_status=$?
16235
 
  grep -v '^ *+' conftest.er1 >conftest.err
16236
 
  rm -f conftest.er1
16237
 
  cat conftest.err >&5
16238
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239
 
  (exit $ac_status); } && {
16240
 
         test -z "$ac_c_werror_flag" ||
16241
 
         test ! -s conftest.err
16242
 
       } && test -s conftest.$ac_objext; then
16243
 
  ac_cv_c_const=yes
16244
 
else
16245
 
  $as_echo "$as_me: failed program was:" >&5
16246
 
sed 's/^/| /' conftest.$ac_ext >&5
16247
 
 
16248
 
        ac_cv_c_const=no
16249
 
fi
16250
 
 
16251
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16252
 
fi
16253
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16254
 
$as_echo "$ac_cv_c_const" >&6; }
16255
 
if test $ac_cv_c_const = no; then
16256
 
 
16257
 
cat >>confdefs.h <<\_ACEOF
16258
 
#define const /**/
16259
 
_ACEOF
16260
 
 
16261
 
fi
16262
 
 
16263
 
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
16264
 
$as_echo_n "checking for inline... " >&6; }
16265
 
if test "${ac_cv_c_inline+set}" = set; then
16266
 
  $as_echo_n "(cached) " >&6
16267
 
else
16268
 
  ac_cv_c_inline=no
16269
 
for ac_kw in inline __inline__ __inline; do
16270
 
  cat >conftest.$ac_ext <<_ACEOF
16271
 
/* confdefs.h.  */
16272
 
_ACEOF
16273
 
cat confdefs.h >>conftest.$ac_ext
16274
 
cat >>conftest.$ac_ext <<_ACEOF
16275
 
/* end confdefs.h.  */
16276
 
#ifndef __cplusplus
16277
 
typedef int foo_t;
16278
 
static $ac_kw foo_t static_foo () {return 0; }
16279
 
$ac_kw foo_t foo () {return 0; }
16280
 
#endif
16281
 
 
16282
 
_ACEOF
16283
 
rm -f conftest.$ac_objext
16284
 
if { (ac_try="$ac_compile"
16285
 
case "(($ac_try" in
16286
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16287
 
  *) ac_try_echo=$ac_try;;
16288
 
esac
16289
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16290
 
$as_echo "$ac_try_echo") >&5
16291
 
  (eval "$ac_compile") 2>conftest.er1
16292
 
  ac_status=$?
16293
 
  grep -v '^ *+' conftest.er1 >conftest.err
16294
 
  rm -f conftest.er1
16295
 
  cat conftest.err >&5
16296
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297
 
  (exit $ac_status); } && {
16298
 
         test -z "$ac_c_werror_flag" ||
16299
 
         test ! -s conftest.err
16300
 
       } && test -s conftest.$ac_objext; then
16301
 
  ac_cv_c_inline=$ac_kw
16302
 
else
16303
 
  $as_echo "$as_me: failed program was:" >&5
16304
 
sed 's/^/| /' conftest.$ac_ext >&5
16305
 
 
16306
 
 
16307
 
fi
16308
 
 
16309
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16310
 
  test "$ac_cv_c_inline" != no && break
16311
 
done
16312
 
 
16313
 
fi
16314
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16315
 
$as_echo "$ac_cv_c_inline" >&6; }
16316
 
 
16317
 
 
16318
 
case $ac_cv_c_inline in
16319
 
  inline | yes) ;;
16320
 
  *)
16321
 
    case $ac_cv_c_inline in
16322
 
      no) ac_val=;;
16323
 
      *) ac_val=$ac_cv_c_inline;;
16324
 
    esac
16325
 
    cat >>confdefs.h <<_ACEOF
16326
 
#ifndef __cplusplus
16327
 
#define inline $ac_val
16328
 
#endif
16329
 
_ACEOF
16330
 
    ;;
16331
 
esac
16332
 
 
16333
 
 
16334
 
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16335
 
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16336
 
if test "${ac_cv_c_bigendian+set}" = set; then
16337
 
  $as_echo_n "(cached) " >&6
16338
 
else
16339
 
  ac_cv_c_bigendian=unknown
16340
 
    # See if we're dealing with a universal compiler.
16341
 
    cat >conftest.$ac_ext <<_ACEOF
16342
 
/* confdefs.h.  */
16343
 
_ACEOF
16344
 
cat confdefs.h >>conftest.$ac_ext
16345
 
cat >>conftest.$ac_ext <<_ACEOF
16346
 
/* end confdefs.h.  */
16347
 
#ifndef __APPLE_CC__
16348
 
               not a universal capable compiler
16349
 
             #endif
16350
 
             typedef int dummy;
16351
 
 
16352
 
_ACEOF
16353
 
rm -f conftest.$ac_objext
16354
 
if { (ac_try="$ac_compile"
16355
 
case "(($ac_try" in
16356
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16357
 
  *) ac_try_echo=$ac_try;;
16358
 
esac
16359
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16360
 
$as_echo "$ac_try_echo") >&5
16361
 
  (eval "$ac_compile") 2>conftest.er1
16362
 
  ac_status=$?
16363
 
  grep -v '^ *+' conftest.er1 >conftest.err
16364
 
  rm -f conftest.er1
16365
 
  cat conftest.err >&5
16366
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367
 
  (exit $ac_status); } && {
16368
 
         test -z "$ac_c_werror_flag" ||
16369
 
         test ! -s conftest.err
16370
 
       } && test -s conftest.$ac_objext; then
16371
 
 
16372
 
        # Check for potential -arch flags.  It is not universal unless
16373
 
        # there are some -arch flags.  Note that *ppc* also matches
16374
 
        # ppc64.  This check is also rather less than ideal.
16375
 
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
16376
 
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
16377
 
        esac
16378
 
else
16379
 
  $as_echo "$as_me: failed program was:" >&5
16380
 
sed 's/^/| /' conftest.$ac_ext >&5
16381
 
 
16382
 
 
16383
 
fi
16384
 
 
16385
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16386
 
    if test $ac_cv_c_bigendian = unknown; then
16387
 
      # See if sys/param.h defines the BYTE_ORDER macro.
16388
 
      cat >conftest.$ac_ext <<_ACEOF
16389
 
/* confdefs.h.  */
16390
 
_ACEOF
16391
 
cat confdefs.h >>conftest.$ac_ext
16392
 
cat >>conftest.$ac_ext <<_ACEOF
16393
 
/* end confdefs.h.  */
16394
 
#include <sys/types.h>
16395
 
             #include <sys/param.h>
16396
 
 
16397
 
int
16398
 
main ()
16399
 
{
16400
 
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16401
 
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16402
 
                     && LITTLE_ENDIAN)
16403
 
              bogus endian macros
16404
 
             #endif
16405
 
 
16406
 
  ;
16407
 
  return 0;
16408
 
}
16409
 
_ACEOF
16410
 
rm -f conftest.$ac_objext
16411
 
if { (ac_try="$ac_compile"
16412
 
case "(($ac_try" in
16413
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16414
 
  *) ac_try_echo=$ac_try;;
16415
 
esac
16416
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16417
 
$as_echo "$ac_try_echo") >&5
16418
 
  (eval "$ac_compile") 2>conftest.er1
16419
 
  ac_status=$?
16420
 
  grep -v '^ *+' conftest.er1 >conftest.err
16421
 
  rm -f conftest.er1
16422
 
  cat conftest.err >&5
16423
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424
 
  (exit $ac_status); } && {
16425
 
         test -z "$ac_c_werror_flag" ||
16426
 
         test ! -s conftest.err
16427
 
       } && test -s conftest.$ac_objext; then
16428
 
  # It does; now see whether it defined to BIG_ENDIAN or not.
16429
 
         cat >conftest.$ac_ext <<_ACEOF
16430
 
/* confdefs.h.  */
16431
 
_ACEOF
16432
 
cat confdefs.h >>conftest.$ac_ext
16433
 
cat >>conftest.$ac_ext <<_ACEOF
16434
 
/* end confdefs.h.  */
16435
 
#include <sys/types.h>
16436
 
                #include <sys/param.h>
16437
 
 
16438
 
int
16439
 
main ()
16440
 
{
16441
 
#if BYTE_ORDER != BIG_ENDIAN
16442
 
                 not big endian
16443
 
                #endif
16444
 
 
16445
 
  ;
16446
 
  return 0;
16447
 
}
16448
 
_ACEOF
16449
 
rm -f conftest.$ac_objext
16450
 
if { (ac_try="$ac_compile"
16451
 
case "(($ac_try" in
16452
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16453
 
  *) ac_try_echo=$ac_try;;
16454
 
esac
16455
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16456
 
$as_echo "$ac_try_echo") >&5
16457
 
  (eval "$ac_compile") 2>conftest.er1
16458
 
  ac_status=$?
16459
 
  grep -v '^ *+' conftest.er1 >conftest.err
16460
 
  rm -f conftest.er1
16461
 
  cat conftest.err >&5
16462
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463
 
  (exit $ac_status); } && {
16464
 
         test -z "$ac_c_werror_flag" ||
16465
 
         test ! -s conftest.err
16466
 
       } && test -s conftest.$ac_objext; then
16467
 
  ac_cv_c_bigendian=yes
16468
 
else
16469
 
  $as_echo "$as_me: failed program was:" >&5
16470
 
sed 's/^/| /' conftest.$ac_ext >&5
16471
 
 
16472
 
        ac_cv_c_bigendian=no
16473
 
fi
16474
 
 
16475
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16476
 
else
16477
 
  $as_echo "$as_me: failed program was:" >&5
16478
 
sed 's/^/| /' conftest.$ac_ext >&5
16479
 
 
16480
 
 
16481
 
fi
16482
 
 
16483
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16484
 
    fi
16485
 
    if test $ac_cv_c_bigendian = unknown; then
16486
 
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16487
 
      cat >conftest.$ac_ext <<_ACEOF
16488
 
/* confdefs.h.  */
16489
 
_ACEOF
16490
 
cat confdefs.h >>conftest.$ac_ext
16491
 
cat >>conftest.$ac_ext <<_ACEOF
16492
 
/* end confdefs.h.  */
16493
 
#include <limits.h>
16494
 
 
16495
 
int
16496
 
main ()
16497
 
{
16498
 
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16499
 
              bogus endian macros
16500
 
             #endif
16501
 
 
16502
 
  ;
16503
 
  return 0;
16504
 
}
16505
 
_ACEOF
16506
 
rm -f conftest.$ac_objext
16507
 
if { (ac_try="$ac_compile"
16508
 
case "(($ac_try" in
16509
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510
 
  *) ac_try_echo=$ac_try;;
16511
 
esac
16512
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16513
 
$as_echo "$ac_try_echo") >&5
16514
 
  (eval "$ac_compile") 2>conftest.er1
16515
 
  ac_status=$?
16516
 
  grep -v '^ *+' conftest.er1 >conftest.err
16517
 
  rm -f conftest.er1
16518
 
  cat conftest.err >&5
16519
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520
 
  (exit $ac_status); } && {
16521
 
         test -z "$ac_c_werror_flag" ||
16522
 
         test ! -s conftest.err
16523
 
       } && test -s conftest.$ac_objext; then
16524
 
  # It does; now see whether it defined to _BIG_ENDIAN or not.
16525
 
         cat >conftest.$ac_ext <<_ACEOF
16526
 
/* confdefs.h.  */
16527
 
_ACEOF
16528
 
cat confdefs.h >>conftest.$ac_ext
16529
 
cat >>conftest.$ac_ext <<_ACEOF
16530
 
/* end confdefs.h.  */
16531
 
#include <limits.h>
16532
 
 
16533
 
int
16534
 
main ()
16535
 
{
16536
 
#ifndef _BIG_ENDIAN
16537
 
                 not big endian
16538
 
                #endif
16539
 
 
16540
 
  ;
16541
 
  return 0;
16542
 
}
16543
 
_ACEOF
16544
 
rm -f conftest.$ac_objext
16545
 
if { (ac_try="$ac_compile"
16546
 
case "(($ac_try" in
16547
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16548
 
  *) ac_try_echo=$ac_try;;
16549
 
esac
16550
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16551
 
$as_echo "$ac_try_echo") >&5
16552
 
  (eval "$ac_compile") 2>conftest.er1
16553
 
  ac_status=$?
16554
 
  grep -v '^ *+' conftest.er1 >conftest.err
16555
 
  rm -f conftest.er1
16556
 
  cat conftest.err >&5
16557
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558
 
  (exit $ac_status); } && {
16559
 
         test -z "$ac_c_werror_flag" ||
16560
 
         test ! -s conftest.err
16561
 
       } && test -s conftest.$ac_objext; then
16562
 
  ac_cv_c_bigendian=yes
16563
 
else
16564
 
  $as_echo "$as_me: failed program was:" >&5
16565
 
sed 's/^/| /' conftest.$ac_ext >&5
16566
 
 
16567
 
        ac_cv_c_bigendian=no
16568
 
fi
16569
 
 
16570
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16571
 
else
16572
 
  $as_echo "$as_me: failed program was:" >&5
16573
 
sed 's/^/| /' conftest.$ac_ext >&5
16574
 
 
16575
 
 
16576
 
fi
16577
 
 
16578
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16579
 
    fi
16580
 
    if test $ac_cv_c_bigendian = unknown; then
16581
 
      # Compile a test program.
16582
 
      if test "$cross_compiling" = yes; then
16583
 
  # Try to guess by grepping values from an object file.
16584
 
         cat >conftest.$ac_ext <<_ACEOF
16585
 
/* confdefs.h.  */
16586
 
_ACEOF
16587
 
cat confdefs.h >>conftest.$ac_ext
16588
 
cat >>conftest.$ac_ext <<_ACEOF
16589
 
/* end confdefs.h.  */
16590
 
short int ascii_mm[] =
16591
 
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16592
 
                short int ascii_ii[] =
16593
 
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16594
 
                int use_ascii (int i) {
16595
 
                  return ascii_mm[i] + ascii_ii[i];
16596
 
                }
16597
 
                short int ebcdic_ii[] =
16598
 
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16599
 
                short int ebcdic_mm[] =
16600
 
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16601
 
                int use_ebcdic (int i) {
16602
 
                  return ebcdic_mm[i] + ebcdic_ii[i];
16603
 
                }
16604
 
                extern int foo;
16605
 
 
16606
 
int
16607
 
main ()
16608
 
{
16609
 
return use_ascii (foo) == use_ebcdic (foo);
16610
 
  ;
16611
 
  return 0;
16612
 
}
16613
 
_ACEOF
16614
 
rm -f conftest.$ac_objext
16615
 
if { (ac_try="$ac_compile"
16616
 
case "(($ac_try" in
16617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16618
 
  *) ac_try_echo=$ac_try;;
16619
 
esac
16620
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16621
 
$as_echo "$ac_try_echo") >&5
16622
 
  (eval "$ac_compile") 2>conftest.er1
16623
 
  ac_status=$?
16624
 
  grep -v '^ *+' conftest.er1 >conftest.err
16625
 
  rm -f conftest.er1
16626
 
  cat conftest.err >&5
16627
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628
 
  (exit $ac_status); } && {
16629
 
         test -z "$ac_c_werror_flag" ||
16630
 
         test ! -s conftest.err
16631
 
       } && test -s conftest.$ac_objext; then
16632
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16633
 
              ac_cv_c_bigendian=yes
16634
 
            fi
16635
 
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16636
 
              if test "$ac_cv_c_bigendian" = unknown; then
16637
 
                ac_cv_c_bigendian=no
16638
 
              else
16639
 
                # finding both strings is unlikely to happen, but who knows?
16640
 
                ac_cv_c_bigendian=unknown
16641
 
              fi
16642
 
            fi
16643
 
else
16644
 
  $as_echo "$as_me: failed program was:" >&5
16645
 
sed 's/^/| /' conftest.$ac_ext >&5
16646
 
 
16647
 
 
16648
 
fi
16649
 
 
16650
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16651
 
else
16652
 
  cat >conftest.$ac_ext <<_ACEOF
16653
 
/* confdefs.h.  */
16654
 
_ACEOF
16655
 
cat confdefs.h >>conftest.$ac_ext
16656
 
cat >>conftest.$ac_ext <<_ACEOF
16657
 
/* end confdefs.h.  */
16658
 
$ac_includes_default
16659
 
int
16660
 
main ()
16661
 
{
16662
 
 
16663
 
             /* Are we little or big endian?  From Harbison&Steele.  */
16664
 
             union
16665
 
             {
16666
 
               long int l;
16667
 
               char c[sizeof (long int)];
16668
 
             } u;
16669
 
             u.l = 1;
16670
 
             return u.c[sizeof (long int) - 1] == 1;
16671
 
 
16672
 
  ;
16673
 
  return 0;
16674
 
}
16675
 
_ACEOF
16676
 
rm -f conftest$ac_exeext
16677
 
if { (ac_try="$ac_link"
16678
 
case "(($ac_try" in
16679
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16680
 
  *) ac_try_echo=$ac_try;;
16681
 
esac
16682
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16683
 
$as_echo "$ac_try_echo") >&5
16684
 
  (eval "$ac_link") 2>&5
16685
 
  ac_status=$?
16686
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16688
 
  { (case "(($ac_try" in
16689
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16690
 
  *) ac_try_echo=$ac_try;;
16691
 
esac
16692
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16693
 
$as_echo "$ac_try_echo") >&5
16694
 
  (eval "$ac_try") 2>&5
16695
 
  ac_status=$?
16696
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697
 
  (exit $ac_status); }; }; then
16698
 
  ac_cv_c_bigendian=no
16699
 
else
16700
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
16701
 
$as_echo "$as_me: failed program was:" >&5
16702
 
sed 's/^/| /' conftest.$ac_ext >&5
16703
 
 
16704
 
( exit $ac_status )
16705
 
ac_cv_c_bigendian=yes
16706
 
fi
16707
 
rm -rf conftest.dSYM
16708
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16709
 
fi
16710
 
 
16711
 
 
16712
 
    fi
16713
 
fi
16714
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16715
 
$as_echo "$ac_cv_c_bigendian" >&6; }
16716
 
 case $ac_cv_c_bigendian in #(
16717
 
   yes)
16718
 
     cat >>confdefs.h <<\_ACEOF
16719
 
#define WORDS_BIGENDIAN 1
16720
 
_ACEOF
16721
 
;; #(
16722
 
   no)
16723
 
      ;; #(
16724
 
   universal)
16725
 
 
16726
 
cat >>confdefs.h <<\_ACEOF
16727
 
#define AC_APPLE_UNIVERSAL_BUILD 1
16728
 
_ACEOF
16729
 
 
16730
 
     ;; #(
16731
 
   *)
16732
 
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
16733
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
16734
 
$as_echo "$as_me: error: unknown endianness
16735
 
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
16736
 
   { (exit 1); exit 1; }; } ;;
16737
 
 esac
16738
 
 
16739
 
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
16740
 
$as_echo_n "checking for size_t... " >&6; }
16741
 
if test "${ac_cv_type_size_t+set}" = set; then
16742
 
  $as_echo_n "(cached) " >&6
16743
 
else
16744
 
  ac_cv_type_size_t=no
16745
 
cat >conftest.$ac_ext <<_ACEOF
16746
 
/* confdefs.h.  */
16747
 
_ACEOF
16748
 
cat confdefs.h >>conftest.$ac_ext
16749
 
cat >>conftest.$ac_ext <<_ACEOF
16750
 
/* end confdefs.h.  */
16751
 
$ac_includes_default
16752
 
int
16753
 
main ()
16754
 
{
16755
 
if (sizeof (size_t))
16756
 
       return 0;
16757
 
  ;
16758
 
  return 0;
16759
 
}
16760
 
_ACEOF
16761
 
rm -f conftest.$ac_objext
16762
 
if { (ac_try="$ac_compile"
16763
 
case "(($ac_try" in
16764
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765
 
  *) ac_try_echo=$ac_try;;
16766
 
esac
16767
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16768
 
$as_echo "$ac_try_echo") >&5
16769
 
  (eval "$ac_compile") 2>conftest.er1
16770
 
  ac_status=$?
16771
 
  grep -v '^ *+' conftest.er1 >conftest.err
16772
 
  rm -f conftest.er1
16773
 
  cat conftest.err >&5
16774
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775
 
  (exit $ac_status); } && {
16776
 
         test -z "$ac_c_werror_flag" ||
16777
 
         test ! -s conftest.err
16778
 
       } && test -s conftest.$ac_objext; then
16779
 
  cat >conftest.$ac_ext <<_ACEOF
16780
 
/* confdefs.h.  */
16781
 
_ACEOF
16782
 
cat confdefs.h >>conftest.$ac_ext
16783
 
cat >>conftest.$ac_ext <<_ACEOF
16784
 
/* end confdefs.h.  */
16785
 
$ac_includes_default
16786
 
int
16787
 
main ()
16788
 
{
16789
 
if (sizeof ((size_t)))
16790
 
          return 0;
16791
 
  ;
16792
 
  return 0;
16793
 
}
16794
 
_ACEOF
16795
 
rm -f conftest.$ac_objext
16796
 
if { (ac_try="$ac_compile"
16797
 
case "(($ac_try" in
16798
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16799
 
  *) ac_try_echo=$ac_try;;
16800
 
esac
16801
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16802
 
$as_echo "$ac_try_echo") >&5
16803
 
  (eval "$ac_compile") 2>conftest.er1
16804
 
  ac_status=$?
16805
 
  grep -v '^ *+' conftest.er1 >conftest.err
16806
 
  rm -f conftest.er1
16807
 
  cat conftest.err >&5
16808
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809
 
  (exit $ac_status); } && {
16810
 
         test -z "$ac_c_werror_flag" ||
16811
 
         test ! -s conftest.err
16812
 
       } && test -s conftest.$ac_objext; then
16813
 
  :
16814
 
else
16815
 
  $as_echo "$as_me: failed program was:" >&5
16816
 
sed 's/^/| /' conftest.$ac_ext >&5
16817
 
 
16818
 
        ac_cv_type_size_t=yes
16819
 
fi
16820
 
 
16821
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16822
 
else
16823
 
  $as_echo "$as_me: failed program was:" >&5
16824
 
sed 's/^/| /' conftest.$ac_ext >&5
16825
 
 
16826
 
 
16827
 
fi
16828
 
 
16829
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830
 
fi
16831
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16832
 
$as_echo "$ac_cv_type_size_t" >&6; }
16833
 
if test "x$ac_cv_type_size_t" = x""yes; then
16834
 
  :
16835
 
else
16836
 
 
16837
 
cat >>confdefs.h <<_ACEOF
16838
 
#define size_t unsigned int
16839
 
_ACEOF
16840
 
 
16841
 
fi
16842
 
 
16843
 
 
16844
 
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16845
 
# for constant arguments.  Useless!
16846
 
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
16847
 
$as_echo_n "checking for working alloca.h... " >&6; }
16848
 
if test "${ac_cv_working_alloca_h+set}" = set; then
16849
 
  $as_echo_n "(cached) " >&6
16850
 
else
16851
 
  cat >conftest.$ac_ext <<_ACEOF
16852
 
/* confdefs.h.  */
16853
 
_ACEOF
16854
 
cat confdefs.h >>conftest.$ac_ext
16855
 
cat >>conftest.$ac_ext <<_ACEOF
16856
 
/* end confdefs.h.  */
16857
 
#include <alloca.h>
16858
 
int
16859
 
main ()
16860
 
{
16861
 
char *p = (char *) alloca (2 * sizeof (int));
16862
 
                          if (p) return 0;
16863
 
  ;
16864
 
  return 0;
16865
 
}
16866
 
_ACEOF
16867
 
rm -f conftest.$ac_objext conftest$ac_exeext
16868
 
if { (ac_try="$ac_link"
16869
 
case "(($ac_try" in
16870
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871
 
  *) ac_try_echo=$ac_try;;
16872
 
esac
16873
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16874
 
$as_echo "$ac_try_echo") >&5
16875
 
  (eval "$ac_link") 2>conftest.er1
16876
 
  ac_status=$?
16877
 
  grep -v '^ *+' conftest.er1 >conftest.err
16878
 
  rm -f conftest.er1
16879
 
  cat conftest.err >&5
16880
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881
 
  (exit $ac_status); } && {
16882
 
         test -z "$ac_c_werror_flag" ||
16883
 
         test ! -s conftest.err
16884
 
       } && test -s conftest$ac_exeext && {
16885
 
         test "$cross_compiling" = yes ||
16886
 
         $as_test_x conftest$ac_exeext
16887
 
       }; then
16888
 
  ac_cv_working_alloca_h=yes
16889
 
else
16890
 
  $as_echo "$as_me: failed program was:" >&5
16891
 
sed 's/^/| /' conftest.$ac_ext >&5
16892
 
 
16893
 
        ac_cv_working_alloca_h=no
16894
 
fi
16895
 
 
16896
 
rm -rf conftest.dSYM
16897
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16898
 
      conftest$ac_exeext conftest.$ac_ext
16899
 
fi
16900
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16901
 
$as_echo "$ac_cv_working_alloca_h" >&6; }
16902
 
if test $ac_cv_working_alloca_h = yes; then
16903
 
 
16904
 
cat >>confdefs.h <<\_ACEOF
16905
 
#define HAVE_ALLOCA_H 1
16906
 
_ACEOF
16907
 
 
16908
 
fi
16909
 
 
16910
 
{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
16911
 
$as_echo_n "checking for alloca... " >&6; }
16912
 
if test "${ac_cv_func_alloca_works+set}" = set; then
16913
 
  $as_echo_n "(cached) " >&6
16914
 
else
16915
 
  cat >conftest.$ac_ext <<_ACEOF
16916
 
/* confdefs.h.  */
16917
 
_ACEOF
16918
 
cat confdefs.h >>conftest.$ac_ext
16919
 
cat >>conftest.$ac_ext <<_ACEOF
16920
 
/* end confdefs.h.  */
16921
 
#ifdef __GNUC__
16922
 
# define alloca __builtin_alloca
16923
 
#else
16924
 
# ifdef _MSC_VER
16925
 
#  include <malloc.h>
16926
 
#  define alloca _alloca
16927
 
# else
16928
 
#  ifdef HAVE_ALLOCA_H
16929
 
#   include <alloca.h>
16930
 
#  else
16931
 
#   ifdef _AIX
16932
 
 #pragma alloca
16933
 
#   else
16934
 
#    ifndef alloca /* predefined by HP cc +Olibcalls */
16935
 
char *alloca ();
16936
 
#    endif
16937
 
#   endif
16938
 
#  endif
16939
 
# endif
16940
 
#endif
16941
 
 
16942
 
int
16943
 
main ()
16944
 
{
16945
 
char *p = (char *) alloca (1);
16946
 
                                    if (p) return 0;
16947
 
  ;
16948
 
  return 0;
16949
 
}
16950
 
_ACEOF
16951
 
rm -f conftest.$ac_objext conftest$ac_exeext
16952
 
if { (ac_try="$ac_link"
16953
 
case "(($ac_try" in
16954
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16955
 
  *) ac_try_echo=$ac_try;;
16956
 
esac
16957
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16958
 
$as_echo "$ac_try_echo") >&5
16959
 
  (eval "$ac_link") 2>conftest.er1
16960
 
  ac_status=$?
16961
 
  grep -v '^ *+' conftest.er1 >conftest.err
16962
 
  rm -f conftest.er1
16963
 
  cat conftest.err >&5
16964
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965
 
  (exit $ac_status); } && {
16966
 
         test -z "$ac_c_werror_flag" ||
16967
 
         test ! -s conftest.err
16968
 
       } && test -s conftest$ac_exeext && {
16969
 
         test "$cross_compiling" = yes ||
16970
 
         $as_test_x conftest$ac_exeext
16971
 
       }; then
16972
 
  ac_cv_func_alloca_works=yes
16973
 
else
16974
 
  $as_echo "$as_me: failed program was:" >&5
16975
 
sed 's/^/| /' conftest.$ac_ext >&5
16976
 
 
16977
 
        ac_cv_func_alloca_works=no
16978
 
fi
16979
 
 
16980
 
rm -rf conftest.dSYM
16981
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16982
 
      conftest$ac_exeext conftest.$ac_ext
16983
 
fi
16984
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16985
 
$as_echo "$ac_cv_func_alloca_works" >&6; }
16986
 
 
16987
 
if test $ac_cv_func_alloca_works = yes; then
16988
 
 
16989
 
cat >>confdefs.h <<\_ACEOF
16990
 
#define HAVE_ALLOCA 1
16991
 
_ACEOF
16992
 
 
16993
 
else
16994
 
  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16995
 
# that cause trouble.  Some versions do not even contain alloca or
16996
 
# contain a buggy version.  If you still want to use their alloca,
16997
 
# use ar to extract alloca.o from them instead of compiling alloca.c.
16998
 
 
16999
 
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
17000
 
 
17001
 
cat >>confdefs.h <<\_ACEOF
17002
 
#define C_ALLOCA 1
17003
 
_ACEOF
17004
 
 
17005
 
 
17006
 
{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
17007
 
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
17008
 
if test "${ac_cv_os_cray+set}" = set; then
17009
 
  $as_echo_n "(cached) " >&6
17010
 
else
17011
 
  cat >conftest.$ac_ext <<_ACEOF
17012
 
/* confdefs.h.  */
17013
 
_ACEOF
17014
 
cat confdefs.h >>conftest.$ac_ext
17015
 
cat >>conftest.$ac_ext <<_ACEOF
17016
 
/* end confdefs.h.  */
17017
 
#if defined CRAY && ! defined CRAY2
17018
 
webecray
17019
 
#else
17020
 
wenotbecray
17021
 
#endif
17022
 
 
17023
 
_ACEOF
17024
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17025
 
  $EGREP "webecray" >/dev/null 2>&1; then
17026
 
  ac_cv_os_cray=yes
17027
 
else
17028
 
  ac_cv_os_cray=no
17029
 
fi
17030
 
rm -f conftest*
17031
 
 
17032
 
fi
17033
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
17034
 
$as_echo "$ac_cv_os_cray" >&6; }
17035
 
if test $ac_cv_os_cray = yes; then
17036
 
  for ac_func in _getb67 GETB67 getb67; do
17037
 
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17038
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17039
 
$as_echo_n "checking for $ac_func... " >&6; }
17040
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17041
 
  $as_echo_n "(cached) " >&6
17042
 
else
17043
 
  cat >conftest.$ac_ext <<_ACEOF
17044
 
/* confdefs.h.  */
17045
 
_ACEOF
17046
 
cat confdefs.h >>conftest.$ac_ext
17047
 
cat >>conftest.$ac_ext <<_ACEOF
17048
 
/* end confdefs.h.  */
17049
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17050
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17051
 
#define $ac_func innocuous_$ac_func
17052
 
 
17053
 
/* System header to define __stub macros and hopefully few prototypes,
17054
 
    which can conflict with char $ac_func (); below.
17055
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17056
 
    <limits.h> exists even on freestanding compilers.  */
17057
 
 
17058
 
#ifdef __STDC__
17059
 
# include <limits.h>
17060
 
#else
17061
 
# include <assert.h>
17062
 
#endif
17063
 
 
17064
 
#undef $ac_func
17065
 
 
17066
 
/* Override any GCC internal prototype to avoid an error.
17067
 
   Use char because int might match the return type of a GCC
17068
 
   builtin and then its argument prototype would still apply.  */
17069
 
#ifdef __cplusplus
17070
 
extern "C"
17071
 
#endif
17072
 
char $ac_func ();
17073
 
/* The GNU C library defines this for functions which it implements
17074
 
    to always fail with ENOSYS.  Some functions are actually named
17075
 
    something starting with __ and the normal name is an alias.  */
17076
 
#if defined __stub_$ac_func || defined __stub___$ac_func
17077
 
choke me
17078
 
#endif
17079
 
 
17080
 
int
17081
 
main ()
17082
 
{
17083
 
return $ac_func ();
17084
 
  ;
17085
 
  return 0;
17086
 
}
17087
 
_ACEOF
17088
 
rm -f conftest.$ac_objext conftest$ac_exeext
17089
 
if { (ac_try="$ac_link"
17090
 
case "(($ac_try" in
17091
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092
 
  *) ac_try_echo=$ac_try;;
17093
 
esac
17094
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17095
 
$as_echo "$ac_try_echo") >&5
17096
 
  (eval "$ac_link") 2>conftest.er1
17097
 
  ac_status=$?
17098
 
  grep -v '^ *+' conftest.er1 >conftest.err
17099
 
  rm -f conftest.er1
17100
 
  cat conftest.err >&5
17101
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102
 
  (exit $ac_status); } && {
17103
 
         test -z "$ac_c_werror_flag" ||
17104
 
         test ! -s conftest.err
17105
 
       } && test -s conftest$ac_exeext && {
17106
 
         test "$cross_compiling" = yes ||
17107
 
         $as_test_x conftest$ac_exeext
17108
 
       }; then
17109
 
  eval "$as_ac_var=yes"
17110
 
else
17111
 
  $as_echo "$as_me: failed program was:" >&5
17112
 
sed 's/^/| /' conftest.$ac_ext >&5
17113
 
 
17114
 
        eval "$as_ac_var=no"
17115
 
fi
17116
 
 
17117
 
rm -rf conftest.dSYM
17118
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17119
 
      conftest$ac_exeext conftest.$ac_ext
17120
 
fi
17121
 
ac_res=`eval 'as_val=${'$as_ac_var'}
17122
 
                 $as_echo "$as_val"'`
17123
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17124
 
$as_echo "$ac_res" >&6; }
17125
 
as_val=`eval 'as_val=${'$as_ac_var'}
17126
 
                 $as_echo "$as_val"'`
17127
 
   if test "x$as_val" = x""yes; then
17128
 
 
17129
 
cat >>confdefs.h <<_ACEOF
17130
 
#define CRAY_STACKSEG_END $ac_func
17131
 
_ACEOF
17132
 
 
17133
 
    break
17134
 
fi
17135
 
 
17136
 
  done
17137
 
fi
17138
 
 
17139
 
{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
17140
 
$as_echo_n "checking stack direction for C alloca... " >&6; }
17141
 
if test "${ac_cv_c_stack_direction+set}" = set; then
17142
 
  $as_echo_n "(cached) " >&6
17143
 
else
17144
 
  if test "$cross_compiling" = yes; then
17145
 
  ac_cv_c_stack_direction=0
17146
 
else
17147
 
  cat >conftest.$ac_ext <<_ACEOF
17148
 
/* confdefs.h.  */
17149
 
_ACEOF
17150
 
cat confdefs.h >>conftest.$ac_ext
17151
 
cat >>conftest.$ac_ext <<_ACEOF
17152
 
/* end confdefs.h.  */
17153
 
$ac_includes_default
17154
 
int
17155
 
find_stack_direction ()
17156
 
{
17157
 
  static char *addr = 0;
17158
 
  auto char dummy;
17159
 
  if (addr == 0)
17160
 
    {
17161
 
      addr = &dummy;
17162
 
      return find_stack_direction ();
17163
 
    }
17164
 
  else
17165
 
    return (&dummy > addr) ? 1 : -1;
17166
 
}
17167
 
 
17168
 
int
17169
 
main ()
17170
 
{
17171
 
  return find_stack_direction () < 0;
17172
 
}
17173
 
_ACEOF
17174
 
rm -f conftest$ac_exeext
17175
 
if { (ac_try="$ac_link"
17176
 
case "(($ac_try" in
17177
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17178
 
  *) ac_try_echo=$ac_try;;
17179
 
esac
17180
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17181
 
$as_echo "$ac_try_echo") >&5
17182
 
  (eval "$ac_link") 2>&5
17183
 
  ac_status=$?
17184
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17186
 
  { (case "(($ac_try" in
17187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17188
 
  *) ac_try_echo=$ac_try;;
17189
 
esac
17190
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17191
 
$as_echo "$ac_try_echo") >&5
17192
 
  (eval "$ac_try") 2>&5
17193
 
  ac_status=$?
17194
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195
 
  (exit $ac_status); }; }; then
17196
 
  ac_cv_c_stack_direction=1
17197
 
else
17198
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
17199
 
$as_echo "$as_me: failed program was:" >&5
17200
 
sed 's/^/| /' conftest.$ac_ext >&5
17201
 
 
17202
 
( exit $ac_status )
17203
 
ac_cv_c_stack_direction=-1
17204
 
fi
17205
 
rm -rf conftest.dSYM
17206
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17207
 
fi
17208
 
 
17209
 
 
17210
 
fi
17211
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
17212
 
$as_echo "$ac_cv_c_stack_direction" >&6; }
17213
 
 
17214
 
cat >>confdefs.h <<_ACEOF
17215
 
#define STACK_DIRECTION $ac_cv_c_stack_direction
17216
 
_ACEOF
17217
 
 
17218
 
 
17219
 
fi
17220
 
 
17221
 
 
17222
 
for ac_func in vprintf
17223
 
do
17224
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17225
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17226
 
$as_echo_n "checking for $ac_func... " >&6; }
17227
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17228
 
  $as_echo_n "(cached) " >&6
17229
 
else
17230
 
  cat >conftest.$ac_ext <<_ACEOF
17231
 
/* confdefs.h.  */
17232
 
_ACEOF
17233
 
cat confdefs.h >>conftest.$ac_ext
17234
 
cat >>conftest.$ac_ext <<_ACEOF
17235
 
/* end confdefs.h.  */
17236
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17237
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17238
 
#define $ac_func innocuous_$ac_func
17239
 
 
17240
 
/* System header to define __stub macros and hopefully few prototypes,
17241
 
    which can conflict with char $ac_func (); below.
17242
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17243
 
    <limits.h> exists even on freestanding compilers.  */
17244
 
 
17245
 
#ifdef __STDC__
17246
 
# include <limits.h>
17247
 
#else
17248
 
# include <assert.h>
17249
 
#endif
17250
 
 
17251
 
#undef $ac_func
17252
 
 
17253
 
/* Override any GCC internal prototype to avoid an error.
17254
 
   Use char because int might match the return type of a GCC
17255
 
   builtin and then its argument prototype would still apply.  */
17256
 
#ifdef __cplusplus
17257
 
extern "C"
17258
 
#endif
17259
 
char $ac_func ();
17260
 
/* The GNU C library defines this for functions which it implements
17261
 
    to always fail with ENOSYS.  Some functions are actually named
17262
 
    something starting with __ and the normal name is an alias.  */
17263
 
#if defined __stub_$ac_func || defined __stub___$ac_func
17264
 
choke me
17265
 
#endif
17266
 
 
17267
 
int
17268
 
main ()
17269
 
{
17270
 
return $ac_func ();
17271
 
  ;
17272
 
  return 0;
17273
 
}
17274
 
_ACEOF
17275
 
rm -f conftest.$ac_objext conftest$ac_exeext
17276
 
if { (ac_try="$ac_link"
17277
 
case "(($ac_try" in
17278
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17279
 
  *) ac_try_echo=$ac_try;;
17280
 
esac
17281
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17282
 
$as_echo "$ac_try_echo") >&5
17283
 
  (eval "$ac_link") 2>conftest.er1
17284
 
  ac_status=$?
17285
 
  grep -v '^ *+' conftest.er1 >conftest.err
17286
 
  rm -f conftest.er1
17287
 
  cat conftest.err >&5
17288
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289
 
  (exit $ac_status); } && {
17290
 
         test -z "$ac_c_werror_flag" ||
17291
 
         test ! -s conftest.err
17292
 
       } && test -s conftest$ac_exeext && {
17293
 
         test "$cross_compiling" = yes ||
17294
 
         $as_test_x conftest$ac_exeext
17295
 
       }; then
17296
 
  eval "$as_ac_var=yes"
17297
 
else
17298
 
  $as_echo "$as_me: failed program was:" >&5
17299
 
sed 's/^/| /' conftest.$ac_ext >&5
17300
 
 
17301
 
        eval "$as_ac_var=no"
17302
 
fi
17303
 
 
17304
 
rm -rf conftest.dSYM
17305
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17306
 
      conftest$ac_exeext conftest.$ac_ext
17307
 
fi
17308
 
ac_res=`eval 'as_val=${'$as_ac_var'}
17309
 
                 $as_echo "$as_val"'`
17310
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17311
 
$as_echo "$ac_res" >&6; }
17312
 
as_val=`eval 'as_val=${'$as_ac_var'}
17313
 
                 $as_echo "$as_val"'`
17314
 
   if test "x$as_val" = x""yes; then
17315
 
  cat >>confdefs.h <<_ACEOF
17316
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17317
 
_ACEOF
17318
 
 
17319
 
{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
17320
 
$as_echo_n "checking for _doprnt... " >&6; }
17321
 
if test "${ac_cv_func__doprnt+set}" = set; then
17322
 
  $as_echo_n "(cached) " >&6
17323
 
else
17324
 
  cat >conftest.$ac_ext <<_ACEOF
17325
 
/* confdefs.h.  */
17326
 
_ACEOF
17327
 
cat confdefs.h >>conftest.$ac_ext
17328
 
cat >>conftest.$ac_ext <<_ACEOF
17329
 
/* end confdefs.h.  */
17330
 
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
17331
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17332
 
#define _doprnt innocuous__doprnt
17333
 
 
17334
 
/* System header to define __stub macros and hopefully few prototypes,
17335
 
    which can conflict with char _doprnt (); below.
17336
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17337
 
    <limits.h> exists even on freestanding compilers.  */
17338
 
 
17339
 
#ifdef __STDC__
17340
 
# include <limits.h>
17341
 
#else
17342
 
# include <assert.h>
17343
 
#endif
17344
 
 
17345
 
#undef _doprnt
17346
 
 
17347
 
/* Override any GCC internal prototype to avoid an error.
17348
 
   Use char because int might match the return type of a GCC
17349
 
   builtin and then its argument prototype would still apply.  */
17350
 
#ifdef __cplusplus
17351
 
extern "C"
17352
 
#endif
17353
 
char _doprnt ();
17354
 
/* The GNU C library defines this for functions which it implements
17355
 
    to always fail with ENOSYS.  Some functions are actually named
17356
 
    something starting with __ and the normal name is an alias.  */
17357
 
#if defined __stub__doprnt || defined __stub____doprnt
17358
 
choke me
17359
 
#endif
17360
 
 
17361
 
int
17362
 
main ()
17363
 
{
17364
 
return _doprnt ();
17365
 
  ;
17366
 
  return 0;
17367
 
}
17368
 
_ACEOF
17369
 
rm -f conftest.$ac_objext conftest$ac_exeext
17370
 
if { (ac_try="$ac_link"
17371
 
case "(($ac_try" in
17372
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17373
 
  *) ac_try_echo=$ac_try;;
17374
 
esac
17375
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17376
 
$as_echo "$ac_try_echo") >&5
17377
 
  (eval "$ac_link") 2>conftest.er1
17378
 
  ac_status=$?
17379
 
  grep -v '^ *+' conftest.er1 >conftest.err
17380
 
  rm -f conftest.er1
17381
 
  cat conftest.err >&5
17382
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383
 
  (exit $ac_status); } && {
17384
 
         test -z "$ac_c_werror_flag" ||
17385
 
         test ! -s conftest.err
17386
 
       } && test -s conftest$ac_exeext && {
17387
 
         test "$cross_compiling" = yes ||
17388
 
         $as_test_x conftest$ac_exeext
17389
 
       }; then
17390
 
  ac_cv_func__doprnt=yes
17391
 
else
17392
 
  $as_echo "$as_me: failed program was:" >&5
17393
 
sed 's/^/| /' conftest.$ac_ext >&5
17394
 
 
17395
 
        ac_cv_func__doprnt=no
17396
 
fi
17397
 
 
17398
 
rm -rf conftest.dSYM
17399
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17400
 
      conftest$ac_exeext conftest.$ac_ext
17401
 
fi
17402
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
17403
 
$as_echo "$ac_cv_func__doprnt" >&6; }
17404
 
if test "x$ac_cv_func__doprnt" = x""yes; then
17405
 
 
17406
 
cat >>confdefs.h <<\_ACEOF
17407
 
#define HAVE_DOPRNT 1
17408
 
_ACEOF
17409
 
 
17410
 
fi
17411
 
 
17412
 
fi
17413
 
done
17414
 
 
17415
 
 
17416
 
 
17417
 
 
17418
 
 
17419
 
 
17420
 
for ac_func in gethostname socket snprintf getpagesize
17421
 
do
17422
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17423
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17424
 
$as_echo_n "checking for $ac_func... " >&6; }
17425
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17426
 
  $as_echo_n "(cached) " >&6
17427
 
else
17428
 
  cat >conftest.$ac_ext <<_ACEOF
17429
 
/* confdefs.h.  */
17430
 
_ACEOF
17431
 
cat confdefs.h >>conftest.$ac_ext
17432
 
cat >>conftest.$ac_ext <<_ACEOF
17433
 
/* end confdefs.h.  */
17434
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17435
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17436
 
#define $ac_func innocuous_$ac_func
17437
 
 
17438
 
/* System header to define __stub macros and hopefully few prototypes,
17439
 
    which can conflict with char $ac_func (); below.
17440
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17441
 
    <limits.h> exists even on freestanding compilers.  */
17442
 
 
17443
 
#ifdef __STDC__
17444
 
# include <limits.h>
17445
 
#else
17446
 
# include <assert.h>
17447
 
#endif
17448
 
 
17449
 
#undef $ac_func
17450
 
 
17451
 
/* Override any GCC internal prototype to avoid an error.
17452
 
   Use char because int might match the return type of a GCC
17453
 
   builtin and then its argument prototype would still apply.  */
17454
 
#ifdef __cplusplus
17455
 
extern "C"
17456
 
#endif
17457
 
char $ac_func ();
17458
 
/* The GNU C library defines this for functions which it implements
17459
 
    to always fail with ENOSYS.  Some functions are actually named
17460
 
    something starting with __ and the normal name is an alias.  */
17461
 
#if defined __stub_$ac_func || defined __stub___$ac_func
17462
 
choke me
17463
 
#endif
17464
 
 
17465
 
int
17466
 
main ()
17467
 
{
17468
 
return $ac_func ();
17469
 
  ;
17470
 
  return 0;
17471
 
}
17472
 
_ACEOF
17473
 
rm -f conftest.$ac_objext conftest$ac_exeext
17474
 
if { (ac_try="$ac_link"
17475
 
case "(($ac_try" in
17476
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17477
 
  *) ac_try_echo=$ac_try;;
17478
 
esac
17479
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17480
 
$as_echo "$ac_try_echo") >&5
17481
 
  (eval "$ac_link") 2>conftest.er1
17482
 
  ac_status=$?
17483
 
  grep -v '^ *+' conftest.er1 >conftest.err
17484
 
  rm -f conftest.er1
17485
 
  cat conftest.err >&5
17486
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487
 
  (exit $ac_status); } && {
17488
 
         test -z "$ac_c_werror_flag" ||
17489
 
         test ! -s conftest.err
17490
 
       } && test -s conftest$ac_exeext && {
17491
 
         test "$cross_compiling" = yes ||
17492
 
         $as_test_x conftest$ac_exeext
17493
 
       }; then
17494
 
  eval "$as_ac_var=yes"
17495
 
else
17496
 
  $as_echo "$as_me: failed program was:" >&5
17497
 
sed 's/^/| /' conftest.$ac_ext >&5
17498
 
 
17499
 
        eval "$as_ac_var=no"
17500
 
fi
17501
 
 
17502
 
rm -rf conftest.dSYM
17503
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17504
 
      conftest$ac_exeext conftest.$ac_ext
17505
 
fi
17506
 
ac_res=`eval 'as_val=${'$as_ac_var'}
17507
 
                 $as_echo "$as_val"'`
17508
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17509
 
$as_echo "$ac_res" >&6; }
17510
 
as_val=`eval 'as_val=${'$as_ac_var'}
17511
 
                 $as_echo "$as_val"'`
17512
 
   if test "x$as_val" = x""yes; then
17513
 
  cat >>confdefs.h <<_ACEOF
17514
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17515
 
_ACEOF
17516
 
 
17517
 
fi
17518
 
done
17519
 
 
17520
 
 
17521
 
 
17522
12807
if test "x${GCC}" = "xyes"; then
17523
12808
  MAKEDEP='$(CC) -MM'
17524
12809
else
17535
12820
  esac
17536
12821
fi
17537
12822
 
17538
 
 
17539
 
if test "x${GCC}" = "xyes" -a "x$CFLAGS" = "x-g -O2"; then
17540
 
  CFLAGS="${CFLAGS} -Wall -Wmissing-prototypes -Wno-implicit-int"
17541
 
fi
17542
 
 
17543
 
{ $as_echo "$as_me:$LINENO: checking for languages to install" >&5
 
12823
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for languages to install" >&5
17544
12824
$as_echo_n "checking for languages to install... " >&6; }
17545
12825
# Check whether --enable-linguas was given.
17546
 
if test "${enable_linguas+set}" = set; then
 
12826
if test "${enable_linguas+set}" = set; then :
17547
12827
  enableval=$enable_linguas;  LINGUAS="$enableval"
17548
12828
else
17549
12829
   LINGUAS=""
17557
12837
if test $REP_MSGFMT = true; then
17558
12838
  LINGUAS=""
17559
12839
fi
17560
 
{ $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
12840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
17561
12841
$as_echo "$LINGUAS" >&6; }
17562
12842
 
17563
12843
 
17582
12862
 
17583
12863
 
17584
12864
 
17585
 
ac_config_files="$ac_config_files ${output_files}"
 
12865
 
 
12866
 
 
12867
 
 
12868
 
 
12869
 
 
12870
 
 
12871
 
 
12872
 
 
12873
 
 
12874
 
 
12875
 
 
12876
 
 
12877
 
 
12878
 
 
12879
 
 
12880
 
 
12881
 
 
12882
 
 
12883
 
 
12884
 
 
12885
 
 
12886
 
 
12887
 
 
12888
 
 
12889
 
 
12890
 
 
12891
 
 
12892
 
 
12893
 
 
12894
 
 
12895
ac_config_files="$ac_config_files Makedefs Makefile sawfish.ebuild sawfish.pc sawfish.spec lisp/Makefile lisp/sawfish/ui/Makefile lisp/sawfish/gtk/Makefile lisp/sawfish/gtk/widgets/font.jl man/Makefile po/Makefile scripts/Makefile sounds/Makefile src/Makefile themes/Makefile"
 
12896
 
17586
12897
 
17587
12898
cat >confcache <<\_ACEOF
17588
12899
# This file is a shell script that caches the results of configure
17611
12922
    case $ac_val in #(
17612
12923
    *${as_nl}*)
17613
12924
      case $ac_var in #(
17614
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
12925
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17615
12926
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17616
12927
      esac
17617
12928
      case $ac_var in #(
17618
12929
      _ | IFS | as_nl) ;; #(
17619
12930
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17620
 
      *) $as_unset $ac_var ;;
 
12931
      *) { eval $ac_var=; unset $ac_var;} ;;
17621
12932
      esac ;;
17622
12933
    esac
17623
12934
  done
17625
12936
  (set) 2>&1 |
17626
12937
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
17627
12938
    *${as_nl}ac_space=\ *)
17628
 
      # `set' does not quote correctly, so add quotes (double-quote
17629
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
12939
      # `set' does not quote correctly, so add quotes: double-quote
 
12940
      # substitution turns \\\\ into \\, and sed turns \\ into \.
17630
12941
      sed -n \
17631
12942
        "s/'/'\\\\''/g;
17632
12943
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17649
12960
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17650
12961
  if test -w "$cache_file"; then
17651
12962
    test "x$cache_file" != "x/dev/null" &&
17652
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
12963
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17653
12964
$as_echo "$as_me: updating cache $cache_file" >&6;}
17654
12965
    cat confcache >$cache_file
17655
12966
  else
17656
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
12967
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17657
12968
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17658
12969
  fi
17659
12970
fi
17673
12984
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17674
12985
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
17675
12986
  #    will be set to the directory where LIBOBJS objects are built.
17676
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17677
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
12987
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
12988
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17678
12989
done
17679
12990
LIBOBJS=$ac_libobjs
17680
12991
 
17687
12998
ac_write_fail=0
17688
12999
ac_clean_files_save=$ac_clean_files
17689
13000
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17690
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13001
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17691
13002
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17692
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13003
as_write_fail=0
 
13004
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17693
13005
#! $SHELL
17694
13006
# Generated by $as_me.
17695
13007
# Run this file to recreate the current configuration.
17699
13011
debug=false
17700
13012
ac_cs_recheck=false
17701
13013
ac_cs_silent=false
 
13014
 
17702
13015
SHELL=\${CONFIG_SHELL-$SHELL}
17703
 
_ACEOF
17704
 
 
17705
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17706
 
## --------------------- ##
17707
 
## M4sh Initialization.  ##
17708
 
## --------------------- ##
 
13016
export SHELL
 
13017
_ASEOF
 
13018
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13019
## -------------------- ##
 
13020
## M4sh Initialization. ##
 
13021
## -------------------- ##
17709
13022
 
17710
13023
# Be more Bourne compatible
17711
13024
DUALCASE=1; export DUALCASE # for MKS sh
17712
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13025
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17713
13026
  emulate sh
17714
13027
  NULLCMD=:
17715
13028
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17717
13030
  alias -g '${1+"$@"}'='"$@"'
17718
13031
  setopt NO_GLOB_SUBST
17719
13032
else
17720
 
  case `(set -o) 2>/dev/null` in
17721
 
  *posix*) set -o posix ;;
 
13033
  case `(set -o) 2>/dev/null` in #(
 
13034
  *posix*) :
 
13035
    set -o posix ;; #(
 
13036
  *) :
 
13037
     ;;
17722
13038
esac
17723
 
 
17724
13039
fi
17725
13040
 
17726
13041
 
17727
 
 
17728
 
 
17729
 
# PATH needs CR
17730
 
# Avoid depending upon Character Ranges.
17731
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17732
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17733
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17734
 
as_cr_digits='0123456789'
17735
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
17736
 
 
17737
13042
as_nl='
17738
13043
'
17739
13044
export as_nl
17741
13046
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17742
13047
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17743
13048
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17744
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13049
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13050
# but without wasting forks for bash or zsh.
 
13051
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13052
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13053
  as_echo='print -r --'
 
13054
  as_echo_n='print -rn --'
 
13055
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17745
13056
  as_echo='printf %s\n'
17746
13057
  as_echo_n='printf %s'
17747
13058
else
17752
13063
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17753
13064
    as_echo_n_body='eval
17754
13065
      arg=$1;
17755
 
      case $arg in
 
13066
      case $arg in #(
17756
13067
      *"$as_nl"*)
17757
13068
        expr "X$arg" : "X\\(.*\\)$as_nl";
17758
13069
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17775
13086
  }
17776
13087
fi
17777
13088
 
17778
 
# Support unset when possible.
17779
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17780
 
  as_unset=unset
17781
 
else
17782
 
  as_unset=false
17783
 
fi
17784
 
 
17785
13089
 
17786
13090
# IFS
17787
13091
# We need space, tab and new line, in precisely that order.  Quoting is
17791
13095
IFS=" ""        $as_nl"
17792
13096
 
17793
13097
# Find who we are.  Look in the path if we contain no directory separator.
17794
 
case $0 in
 
13098
case $0 in #((
17795
13099
  *[\\/]* ) as_myself=$0 ;;
17796
13100
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17797
13101
for as_dir in $PATH
17798
13102
do
17799
13103
  IFS=$as_save_IFS
17800
13104
  test -z "$as_dir" && as_dir=.
17801
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17802
 
done
 
13105
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13106
  done
17803
13107
IFS=$as_save_IFS
17804
13108
 
17805
13109
     ;;
17811
13115
fi
17812
13116
if test ! -f "$as_myself"; then
17813
13117
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17814
 
  { (exit 1); exit 1; }
 
13118
  exit 1
17815
13119
fi
17816
13120
 
17817
 
# Work around bugs in pre-3.0 UWIN ksh.
17818
 
for as_var in ENV MAIL MAILPATH
17819
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
13121
# Unset variables that we do not need and which cause bugs (e.g. in
 
13122
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13123
# suppresses any "Segmentation fault" message there.  '((' could
 
13124
# trigger a bug in pdksh 5.2.14.
 
13125
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13126
do eval test x\${$as_var+set} = xset \
 
13127
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17820
13128
done
17821
13129
PS1='$ '
17822
13130
PS2='> '
17828
13136
LANGUAGE=C
17829
13137
export LANGUAGE
17830
13138
 
17831
 
# Required to use basename.
 
13139
# CDPATH.
 
13140
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13141
 
 
13142
 
 
13143
# as_fn_error ERROR [LINENO LOG_FD]
 
13144
# ---------------------------------
 
13145
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13146
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13147
# script with status $?, using 1 if that was 0.
 
13148
as_fn_error ()
 
13149
{
 
13150
  as_status=$?; test $as_status -eq 0 && as_status=1
 
13151
  if test "$3"; then
 
13152
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13153
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
13154
  fi
 
13155
  $as_echo "$as_me: error: $1" >&2
 
13156
  as_fn_exit $as_status
 
13157
} # as_fn_error
 
13158
 
 
13159
 
 
13160
# as_fn_set_status STATUS
 
13161
# -----------------------
 
13162
# Set $? to STATUS, without forking.
 
13163
as_fn_set_status ()
 
13164
{
 
13165
  return $1
 
13166
} # as_fn_set_status
 
13167
 
 
13168
# as_fn_exit STATUS
 
13169
# -----------------
 
13170
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13171
as_fn_exit ()
 
13172
{
 
13173
  set +e
 
13174
  as_fn_set_status $1
 
13175
  exit $1
 
13176
} # as_fn_exit
 
13177
 
 
13178
# as_fn_unset VAR
 
13179
# ---------------
 
13180
# Portably unset VAR.
 
13181
as_fn_unset ()
 
13182
{
 
13183
  { eval $1=; unset $1;}
 
13184
}
 
13185
as_unset=as_fn_unset
 
13186
# as_fn_append VAR VALUE
 
13187
# ----------------------
 
13188
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13189
# advantage of any shell optimizations that allow amortized linear growth over
 
13190
# repeated appends, instead of the typical quadratic growth present in naive
 
13191
# implementations.
 
13192
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13193
  eval 'as_fn_append ()
 
13194
  {
 
13195
    eval $1+=\$2
 
13196
  }'
 
13197
else
 
13198
  as_fn_append ()
 
13199
  {
 
13200
    eval $1=\$$1\$2
 
13201
  }
 
13202
fi # as_fn_append
 
13203
 
 
13204
# as_fn_arith ARG...
 
13205
# ------------------
 
13206
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13207
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13208
# must be portable across $(()) and expr.
 
13209
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13210
  eval 'as_fn_arith ()
 
13211
  {
 
13212
    as_val=$(( $* ))
 
13213
  }'
 
13214
else
 
13215
  as_fn_arith ()
 
13216
  {
 
13217
    as_val=`expr "$@" || test $? -eq 1`
 
13218
  }
 
13219
fi # as_fn_arith
 
13220
 
 
13221
 
17832
13222
if expr a : '\(a\)' >/dev/null 2>&1 &&
17833
13223
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17834
13224
  as_expr=expr
17842
13232
  as_basename=false
17843
13233
fi
17844
13234
 
 
13235
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13236
  as_dirname=dirname
 
13237
else
 
13238
  as_dirname=false
 
13239
fi
17845
13240
 
17846
 
# Name of the executable.
17847
13241
as_me=`$as_basename -- "$0" ||
17848
13242
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17849
13243
         X"$0" : 'X\(//\)$' \| \
17863
13257
          }
17864
13258
          s/.*/./; q'`
17865
13259
 
17866
 
# CDPATH.
17867
 
$as_unset CDPATH
17868
 
 
17869
 
 
17870
 
 
17871
 
  as_lineno_1=$LINENO
17872
 
  as_lineno_2=$LINENO
17873
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
17874
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17875
 
 
17876
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17877
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
17878
 
  # line-number line after each line using $LINENO; the second 'sed'
17879
 
  # does the real work.  The second script uses 'N' to pair each
17880
 
  # line-number line with the line containing $LINENO, and appends
17881
 
  # trailing '-' during substitution so that $LINENO is not a special
17882
 
  # case at line end.
17883
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17884
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
17885
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
17886
 
  sed -n '
17887
 
    p
17888
 
    /[$]LINENO/=
17889
 
  ' <$as_myself |
17890
 
    sed '
17891
 
      s/[$]LINENO.*/&-/
17892
 
      t lineno
17893
 
      b
17894
 
      :lineno
17895
 
      N
17896
 
      :loop
17897
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17898
 
      t loop
17899
 
      s/-\n.*//
17900
 
    ' >$as_me.lineno &&
17901
 
  chmod +x "$as_me.lineno" ||
17902
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17903
 
   { (exit 1); exit 1; }; }
17904
 
 
17905
 
  # Don't try to exec as it changes $[0], causing all sort of problems
17906
 
  # (the dirname of $[0] is not the place where we might find the
17907
 
  # original and so on.  Autoconf is especially sensitive to this).
17908
 
  . "./$as_me.lineno"
17909
 
  # Exit status is that of the last command.
17910
 
  exit
17911
 
}
17912
 
 
17913
 
 
17914
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17915
 
  as_dirname=dirname
17916
 
else
17917
 
  as_dirname=false
17918
 
fi
 
13260
# Avoid depending upon Character Ranges.
 
13261
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
13262
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
13263
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
13264
as_cr_digits='0123456789'
 
13265
as_cr_alnum=$as_cr_Letters$as_cr_digits
17919
13266
 
17920
13267
ECHO_C= ECHO_N= ECHO_T=
17921
 
case `echo -n x` in
 
13268
case `echo -n x` in #(((((
17922
13269
-n*)
17923
 
  case `echo 'x\c'` in
 
13270
  case `echo 'xy\c'` in
17924
13271
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17925
 
  *)   ECHO_C='\c';;
 
13272
  xy)  ECHO_C='\c';;
 
13273
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
13274
       ECHO_T=' ';;
17926
13275
  esac;;
17927
13276
*)
17928
13277
  ECHO_N='-n';;
17929
13278
esac
17930
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
17931
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17932
 
  as_expr=expr
17933
 
else
17934
 
  as_expr=false
17935
 
fi
17936
13279
 
17937
13280
rm -f conf$$ conf$$.exe conf$$.file
17938
13281
if test -d conf$$.dir; then
17961
13304
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17962
13305
rmdir conf$$.dir 2>/dev/null
17963
13306
 
 
13307
 
 
13308
# as_fn_mkdir_p
 
13309
# -------------
 
13310
# Create "$as_dir" as a directory, including parents if necessary.
 
13311
as_fn_mkdir_p ()
 
13312
{
 
13313
 
 
13314
  case $as_dir in #(
 
13315
  -*) as_dir=./$as_dir;;
 
13316
  esac
 
13317
  test -d "$as_dir" || eval $as_mkdir_p || {
 
13318
    as_dirs=
 
13319
    while :; do
 
13320
      case $as_dir in #(
 
13321
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
13322
      *) as_qdir=$as_dir;;
 
13323
      esac
 
13324
      as_dirs="'$as_qdir' $as_dirs"
 
13325
      as_dir=`$as_dirname -- "$as_dir" ||
 
13326
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13327
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
13328
         X"$as_dir" : 'X\(//\)$' \| \
 
13329
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
13330
$as_echo X"$as_dir" |
 
13331
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13332
            s//\1/
 
13333
            q
 
13334
          }
 
13335
          /^X\(\/\/\)[^/].*/{
 
13336
            s//\1/
 
13337
            q
 
13338
          }
 
13339
          /^X\(\/\/\)$/{
 
13340
            s//\1/
 
13341
            q
 
13342
          }
 
13343
          /^X\(\/\).*/{
 
13344
            s//\1/
 
13345
            q
 
13346
          }
 
13347
          s/.*/./; q'`
 
13348
      test -d "$as_dir" && break
 
13349
    done
 
13350
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
13351
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
13352
 
 
13353
 
 
13354
} # as_fn_mkdir_p
17964
13355
if mkdir -p . 2>/dev/null; then
17965
 
  as_mkdir_p=:
 
13356
  as_mkdir_p='mkdir -p "$as_dir"'
17966
13357
else
17967
13358
  test -d ./-p && rmdir ./-p
17968
13359
  as_mkdir_p=false
17981
13372
      if test -d "$1"; then
17982
13373
        test -d "$1/.";
17983
13374
      else
17984
 
        case $1 in
 
13375
        case $1 in #(
17985
13376
        -*)set "./$1";;
17986
13377
        esac;
17987
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
13378
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17988
13379
        ???[sx]*):;;*)false;;esac;fi
17989
13380
    '\'' sh
17990
13381
  '
17999
13390
 
18000
13391
 
18001
13392
exec 6>&1
 
13393
## ----------------------------------- ##
 
13394
## Main body of $CONFIG_STATUS script. ##
 
13395
## ----------------------------------- ##
 
13396
_ASEOF
 
13397
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18002
13398
 
18003
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
13399
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13400
# Save the log message, to keep $0 and so on meaningful, and to
18004
13401
# report actual input values of CONFIG_FILES etc. instead of their
18005
13402
# values after options handling.
18006
13403
ac_log="
18007
13404
This file was extended by $as_me, which was
18008
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
13405
generated by GNU Autoconf 2.64.  Invocation command line was
18009
13406
 
18010
13407
  CONFIG_FILES    = $CONFIG_FILES
18011
13408
  CONFIG_HEADERS  = $CONFIG_HEADERS
18037
13434
 
18038
13435
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18039
13436
ac_cs_usage="\
18040
 
\`$as_me' instantiates files from templates according to the
18041
 
current configuration.
 
13437
\`$as_me' instantiates files and other configuration actions
 
13438
from templates according to the current configuration.  Unless the files
 
13439
and actions are specified as TAGs, all are instantiated by default.
18042
13440
 
18043
 
Usage: $0 [OPTION]... [FILE]...
 
13441
Usage: $0 [OPTION]... [TAG]...
18044
13442
 
18045
13443
  -h, --help       print this help, then exit
18046
13444
  -V, --version    print version number and configuration settings, then exit
18062
13460
Configuration commands:
18063
13461
$config_commands
18064
13462
 
18065
 
Report bugs to <bug-autoconf@gnu.org>."
 
13463
Report bugs to the package provider."
18066
13464
 
18067
13465
_ACEOF
18068
13466
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18069
13467
ac_cs_version="\\
18070
13468
config.status
18071
 
configured by $0, generated by GNU Autoconf 2.63,
 
13469
configured by $0, generated by GNU Autoconf 2.64,
18072
13470
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18073
13471
 
18074
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
13472
Copyright (C) 2009 Free Software Foundation, Inc.
18075
13473
This config.status script is free software; the Free Software Foundation
18076
13474
gives unlimited permission to copy, distribute and modify it."
18077
13475
 
18112
13510
    case $ac_optarg in
18113
13511
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18114
13512
    esac
18115
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
13513
    as_fn_append CONFIG_FILES " '$ac_optarg'"
18116
13514
    ac_need_defaults=false;;
18117
13515
  --header | --heade | --head | --hea )
18118
13516
    $ac_shift
18119
13517
    case $ac_optarg in
18120
13518
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18121
13519
    esac
18122
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
13520
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18123
13521
    ac_need_defaults=false;;
18124
13522
  --he | --h)
18125
13523
    # Conflict between --help and --header
18126
 
    { $as_echo "$as_me: error: ambiguous option: $1
18127
 
Try \`$0 --help' for more information." >&2
18128
 
   { (exit 1); exit 1; }; };;
 
13524
    as_fn_error "ambiguous option: \`$1'
 
13525
Try \`$0 --help' for more information.";;
18129
13526
  --help | --hel | -h )
18130
13527
    $as_echo "$ac_cs_usage"; exit ;;
18131
13528
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18133
13530
    ac_cs_silent=: ;;
18134
13531
 
18135
13532
  # This is an error.
18136
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
18137
 
Try \`$0 --help' for more information." >&2
18138
 
   { (exit 1); exit 1; }; } ;;
 
13533
  -*) as_fn_error "unrecognized option: \`$1'
 
13534
Try \`$0 --help' for more information." ;;
18139
13535
 
18140
 
  *) ac_config_targets="$ac_config_targets $1"
 
13536
  *) as_fn_append ac_config_targets " $1"
18141
13537
     ac_need_defaults=false ;;
18142
13538
 
18143
13539
  esac
18444
13840
  case $ac_config_target in
18445
13841
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18446
13842
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18447
 
    "${output_files}") CONFIG_FILES="$CONFIG_FILES ${output_files}" ;;
 
13843
    "Makedefs") CONFIG_FILES="$CONFIG_FILES Makedefs" ;;
 
13844
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
13845
    "sawfish.ebuild") CONFIG_FILES="$CONFIG_FILES sawfish.ebuild" ;;
 
13846
    "sawfish.pc") CONFIG_FILES="$CONFIG_FILES sawfish.pc" ;;
 
13847
    "sawfish.spec") CONFIG_FILES="$CONFIG_FILES sawfish.spec" ;;
 
13848
    "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
 
13849
    "lisp/sawfish/ui/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/sawfish/ui/Makefile" ;;
 
13850
    "lisp/sawfish/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/sawfish/gtk/Makefile" ;;
 
13851
    "lisp/sawfish/gtk/widgets/font.jl") CONFIG_FILES="$CONFIG_FILES lisp/sawfish/gtk/widgets/font.jl" ;;
 
13852
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
13853
    "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
 
13854
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
 
13855
    "sounds/Makefile") CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;;
 
13856
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
13857
    "themes/Makefile") CONFIG_FILES="$CONFIG_FILES themes/Makefile" ;;
18448
13858
 
18449
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18450
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18451
 
   { (exit 1); exit 1; }; };;
 
13859
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18452
13860
  esac
18453
13861
done
18454
13862
 
18475
13883
  trap 'exit_status=$?
18476
13884
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18477
13885
' 0
18478
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
13886
  trap 'as_fn_exit 1' 1 2 13 15
18479
13887
}
18480
13888
# Create a (secure) tmp directory for tmp files.
18481
13889
 
18486
13894
{
18487
13895
  tmp=./conf$$-$RANDOM
18488
13896
  (umask 077 && mkdir "$tmp")
18489
 
} ||
18490
 
{
18491
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
18492
 
   { (exit 1); exit 1; }
18493
 
}
 
13897
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
18494
13898
 
18495
13899
# Set up the scripts for CONFIG_FILES section.
18496
13900
# No need to generate them if there are no CONFIG_FILES.
18498
13902
if test -n "$CONFIG_FILES"; then
18499
13903
 
18500
13904
 
18501
 
ac_cr='
 
 
b"'"
 
13905
ac_cr=`echo X | tr X '\015'`
 
13906
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
13907
# But we know of no other shell where ac_cr would be empty at this
 
13908
# point, so we can use a bashism as a fallback.
 
13909
if test "x$ac_cr" = x; then
 
13910
  eval ac_cr=\$\'\\r\'
 
13911
fi
18502
13912
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18503
13913
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18504
 
  ac_cs_awk_cr='\\r'
 
13914
  ac_cs_awk_cr='\r'
18505
13915
else
18506
13916
  ac_cs_awk_cr=$ac_cr
18507
13917
fi
18515
13925
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18516
13926
  echo "_ACEOF"
18517
13927
} >conf$$subs.sh ||
18518
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18519
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18520
 
   { (exit 1); exit 1; }; }
 
13928
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18521
13929
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18522
13930
ac_delim='%!_!# '
18523
13931
for ac_last_try in false false false false false :; do
18524
13932
  . ./conf$$subs.sh ||
18525
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18526
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18527
 
   { (exit 1); exit 1; }; }
 
13933
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18528
13934
 
18529
13935
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18530
13936
  if test $ac_delim_n = $ac_delim_num; then
18531
13937
    break
18532
13938
  elif $ac_last_try; then
18533
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18534
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18535
 
   { (exit 1); exit 1; }; }
 
13939
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18536
13940
  else
18537
13941
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18538
13942
  fi
18621
14025
else
18622
14026
  cat
18623
14027
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18624
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18625
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
18626
 
   { (exit 1); exit 1; }; }
 
14028
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
18627
14029
_ACEOF
18628
14030
 
18629
14031
# VPATH may cause trouble with some makes, so we remove $(srcdir),
18664
14066
  if test -z "$ac_t"; then
18665
14067
    break
18666
14068
  elif $ac_last_try; then
18667
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18668
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18669
 
   { (exit 1); exit 1; }; }
 
14069
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
18670
14070
  else
18671
14071
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18672
14072
  fi
18751
14151
_ACAWK
18752
14152
_ACEOF
18753
14153
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18754
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18755
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18756
 
   { (exit 1); exit 1; }; }
 
14154
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
18757
14155
fi # test -n "$CONFIG_HEADERS"
18758
14156
 
18759
14157
 
18766
14164
  esac
18767
14165
  case $ac_mode$ac_tag in
18768
14166
  :[FHL]*:*);;
18769
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18770
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18771
 
   { (exit 1); exit 1; }; };;
 
14167
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
18772
14168
  :[FH]-) ac_tag=-:-;;
18773
14169
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18774
14170
  esac
18796
14192
           [\\/$]*) false;;
18797
14193
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18798
14194
           esac ||
18799
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18800
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18801
 
   { (exit 1); exit 1; }; };;
 
14195
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18802
14196
      esac
18803
14197
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18804
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
14198
      as_fn_append ac_file_inputs " '$ac_f'"
18805
14199
    done
18806
14200
 
18807
14201
    # Let's still pretend it is `configure' which instantiates (i.e., don't
18812
14206
        `' by configure.'
18813
14207
    if test x"$ac_file" != x-; then
18814
14208
      configure_input="$ac_file.  $configure_input"
18815
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14209
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18816
14210
$as_echo "$as_me: creating $ac_file" >&6;}
18817
14211
    fi
18818
14212
    # Neutralize special characters interpreted by sed in replacement strings.
18825
14219
 
18826
14220
    case $ac_tag in
18827
14221
    *:-:* | *:-) cat >"$tmp/stdin" \
18828
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18829
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
18830
 
   { (exit 1); exit 1; }; } ;;
 
14222
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
18831
14223
    esac
18832
14224
    ;;
18833
14225
  esac
18855
14247
            q
18856
14248
          }
18857
14249
          s/.*/./; q'`
18858
 
  { as_dir="$ac_dir"
18859
 
  case $as_dir in #(
18860
 
  -*) as_dir=./$as_dir;;
18861
 
  esac
18862
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18863
 
    as_dirs=
18864
 
    while :; do
18865
 
      case $as_dir in #(
18866
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18867
 
      *) as_qdir=$as_dir;;
18868
 
      esac
18869
 
      as_dirs="'$as_qdir' $as_dirs"
18870
 
      as_dir=`$as_dirname -- "$as_dir" ||
18871
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18872
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
18873
 
         X"$as_dir" : 'X\(//\)$' \| \
18874
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18875
 
$as_echo X"$as_dir" |
18876
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18877
 
            s//\1/
18878
 
            q
18879
 
          }
18880
 
          /^X\(\/\/\)[^/].*/{
18881
 
            s//\1/
18882
 
            q
18883
 
          }
18884
 
          /^X\(\/\/\)$/{
18885
 
            s//\1/
18886
 
            q
18887
 
          }
18888
 
          /^X\(\/\).*/{
18889
 
            s//\1/
18890
 
            q
18891
 
          }
18892
 
          s/.*/./; q'`
18893
 
      test -d "$as_dir" && break
18894
 
    done
18895
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18896
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18897
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18898
 
   { (exit 1); exit 1; }; }; }
 
14250
  as_dir="$ac_dir"; as_fn_mkdir_p
18899
14251
  ac_builddir=.
18900
14252
 
18901
14253
case "$ac_dir" in
18947
14299
# If the template does not know about datarootdir, expand it.
18948
14300
# FIXME: This hack should be removed a few years after 2.60.
18949
14301
ac_datarootdir_hack=; ac_datarootdir_seen=
18950
 
 
18951
14302
ac_sed_dataroot='
18952
14303
/datarootdir/ {
18953
14304
  p
18957
14308
/@docdir@/p
18958
14309
/@infodir@/p
18959
14310
/@localedir@/p
18960
 
/@mandir@/p
18961
 
'
 
14311
/@mandir@/p'
18962
14312
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18963
14313
*datarootdir*) ac_datarootdir_seen=yes;;
18964
14314
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18965
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14315
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18966
14316
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18967
14317
_ACEOF
18968
14318
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18972
14322
  s&@infodir@&$infodir&g
18973
14323
  s&@localedir@&$localedir&g
18974
14324
  s&@mandir@&$mandir&g
18975
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
14325
  s&\\\${datarootdir}&$datarootdir&g' ;;
18976
14326
esac
18977
14327
_ACEOF
18978
14328
 
19000
14350
$ac_datarootdir_hack
19001
14351
"
19002
14352
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19003
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19004
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19005
 
   { (exit 1); exit 1; }; }
 
14353
  || as_fn_error "could not create $ac_file" "$LINENO" 5
19006
14354
 
19007
14355
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19008
14356
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19009
14357
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19010
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14358
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19011
14359
which seems to be undefined.  Please make sure it is defined." >&5
19012
14360
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19013
14361
which seems to be undefined.  Please make sure it is defined." >&2;}
19017
14365
  -) cat "$tmp/out" && rm -f "$tmp/out";;
19018
14366
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19019
14367
  esac \
19020
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19021
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19022
 
   { (exit 1); exit 1; }; }
 
14368
  || as_fn_error "could not create $ac_file" "$LINENO" 5
19023
14369
 ;;
19024
14370
  :H)
19025
14371
  #
19030
14376
      $as_echo "/* $configure_input  */" \
19031
14377
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19032
14378
    } >"$tmp/config.h" \
19033
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19034
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19035
 
   { (exit 1); exit 1; }; }
 
14379
      || as_fn_error "could not create $ac_file" "$LINENO" 5
19036
14380
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19037
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14381
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19038
14382
$as_echo "$as_me: $ac_file is unchanged" >&6;}
19039
14383
    else
19040
14384
      rm -f "$ac_file"
19041
14385
      mv "$tmp/config.h" "$ac_file" \
19042
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19043
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
19044
 
   { (exit 1); exit 1; }; }
 
14386
        || as_fn_error "could not create $ac_file" "$LINENO" 5
19045
14387
    fi
19046
14388
  else
19047
14389
    $as_echo "/* $configure_input  */" \
19048
14390
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19049
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19050
 
$as_echo "$as_me: error: could not create -" >&2;}
19051
 
   { (exit 1); exit 1; }; }
 
14391
      || as_fn_error "could not create -" "$LINENO" 5
19052
14392
  fi
19053
14393
 ;;
19054
14394
 
19055
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14395
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19056
14396
$as_echo "$as_me: executing $ac_file commands" >&6;}
19057
14397
 ;;
19058
14398
  esac
19699
15039
done # for ac_tag
19700
15040
 
19701
15041
 
19702
 
{ (exit 0); exit 0; }
 
15042
as_fn_exit 0
19703
15043
_ACEOF
19704
 
chmod +x $CONFIG_STATUS
19705
15044
ac_clean_files=$ac_clean_files_save
19706
15045
 
19707
15046
test $ac_write_fail = 0 ||
19708
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19709
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19710
 
   { (exit 1); exit 1; }; }
 
15047
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
19711
15048
 
19712
15049
 
19713
15050
# configure is writing to config.log, and then calls config.status.
19728
15065
  exec 5>>config.log
19729
15066
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19730
15067
  # would make configure fail if this is the last instruction.
19731
 
  $ac_cs_success || { (exit 1); exit 1; }
 
15068
  $ac_cs_success || as_fn_exit $?
19732
15069
fi
19733
15070
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19734
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15071
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19735
15072
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19736
15073
fi
19737
15074
 
19738
15075
 
 
15076
mv sawfish.ebuild sawfish-$version.ebuild
 
15077
 
 
15078
REP_VERSION="`pkg-config --modversion librep`"
 
15079
REP_GTK_VERSION="`pkg-config --modversion rep-gtk`"
 
15080
GLIB_VERSION="`pkg-config --modversion glib-2.0`"
 
15081
PANGO_VERSION="`pkg-config --modversion pango`"
 
15082
 
 
15083
if $PKG_CONFIG --exists cairo; then
 
15084
        CAIRO_VERSION="`pkg-config --modversion cairo`"
 
15085
fi
 
15086
 
 
15087
GTK_VERSION="`pkg-config --modversion gtk+-2.0`"
 
15088
 
 
15089
echo "
 
15090
  == == == == == == == == == == == == ==
 
15091
 
 
15092
  sawfish:      $version '$codename'
 
15093
 
 
15094
  == == == == == == == == == == == == ==
 
15095
 
 
15096
  prefix:       $prefix
 
15097
  exec_prefix:  $exec_prefix
 
15098
  libdir:       $libdir
 
15099
  libexecdir:   $libexecdir
 
15100
 
 
15101
  == == == == == == == == == == == == ==
 
15102
 
 
15103
  compiler:     $CC
 
15104
  cflags:       $CFLAGS $DEVELOPMENT_CFLAGS
 
15105
  preprocessor: $CPP
 
15106
  cppflags:     $CPPFLAGS
 
15107
  ldflags:      $LDFLAGS
 
15108
  makeflags:    $MAKEFLAGS
 
15109
 
 
15110
  == == == == == == == == == == == == ==
 
15111
 
 
15112
  rep:          $REP_VERSION
 
15113
  rep-gtk:      $REP_GTK_VERSION
 
15114
  glib:         $GLIB_VERSION"
 
15115
 
 
15116
if $PKG_CONFIG --exists cairo; then
 
15117
        echo "  cairo:  $CAIRO_VERSION"
 
15118
fi
 
15119
 
 
15120
echo "  pango:  $PANGO_VERSION
 
15121
  gtk+:         $GTK_VERSION"
 
15122
 
 
15123
if test "$with_gdk_pixbuf" = "no"; then
 
15124
echo "  imlib1: $IMLIB_VERSION"
 
15125
fi
 
15126
 
 
15127
echo "
 
15128
  == == == == == == == == == == == == ==
 
15129
 
 
15130
  xserver:      $X_SERVER
 
15131
 
 
15132
  == == == == == == == == == == == == ==
 
15133
 
 
15134
  image loader: $IMAGE_LOADER
 
15135
 
 
15136
  == == == == == == == == == == == == ==
 
15137
 
 
15138
  font loader:  $FONT_LOADER
 
15139
 
 
15140
  == == == == == == == == == == == == ==
 
15141
 
 
15142
  Please read README.IMPORTANT
 
15143
 
 
15144
  == == == == == == == == == == == == ==
 
15145
  "
 
15146
 
19739
15147
tem=`make --version -f /dev/null 2>&1 | grep GNU`
19740
15148
if test "x$tem" = "x"; then
19741
 
  { $as_echo "$as_me:$LINENO: WARNING: You need to use GNU Make when compiling sawfish" >&5
 
15149
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need to use GNU Make when compiling sawfish" >&5
19742
15150
$as_echo "$as_me: WARNING: You need to use GNU Make when compiling sawfish" >&2;}
19743
15151
fi
19744
15152