~ubuntu-branches/ubuntu/trusty/uim/trusty

« back to all changes in this revision

Viewing changes to .pc/ppc64el.diff/configure

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-03-28 14:30:55 UTC
  • mfrom: (15.1.26 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20140328143055-5j14c7vicvlxvkh6
Tags: 1:1.8.6-4ubuntu1
* Build using autotools-dev.
* Patch aclocal.m4 and configure for ppc64el.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.68 for uim 1.8.6.
 
4
#
 
5
# Report bugs to <uim-en@googlegroups.com>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
 
18
 
 
19
# Be more Bourne compatible
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22
  emulate sh
 
23
  NULLCMD=:
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
25
  # is contrary to our usage.  Disable this feature.
 
26
  alias -g '${1+"$@"}'='"$@"'
 
27
  setopt NO_GLOB_SUBST
 
28
else
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
 
34
esac
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
 
75
 
 
76
# The user is always right.
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
 
83
fi
 
84
 
 
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
IFS=" ""        $as_nl"
 
92
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
 
95
case $0 in #((
 
96
  *[\\/]* ) as_myself=$0 ;;
 
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
98
for as_dir in $PATH
 
99
do
 
100
  IFS=$as_save_IFS
 
101
  test -z "$as_dir" && as_dir=.
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
 
104
IFS=$as_save_IFS
 
105
 
 
106
     ;;
 
107
esac
 
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
109
# in which case we are not to be found in the path.
 
110
if test "x$as_myself" = x; then
 
111
  as_myself=$0
 
112
fi
 
113
if test ! -f "$as_myself"; then
 
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
115
  exit 1
 
116
fi
 
117
 
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
125
done
 
126
PS1='$ '
 
127
PS2='> '
 
128
PS4='+ '
 
129
 
 
130
# NLS nuisances.
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
 
135
 
 
136
# CDPATH.
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
138
 
 
139
if test "x$CONFIG_SHELL" = x; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
 
187
  as_have_required=yes
 
188
else
 
189
  as_have_required=no
 
190
fi
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
 
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
197
do
 
198
  IFS=$as_save_IFS
 
199
  test -z "$as_dir" && as_dir=.
 
200
  as_found=:
 
201
  case $as_dir in #(
 
202
         /*)
 
203
           for as_base in sh bash ksh sh5; do
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
 
213
           done;;
 
214
       esac
 
215
  as_found=false
 
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
 
221
IFS=$as_save_IFS
 
222
 
 
223
 
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
232
        export CONFIG_SHELL
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: uim-en@googlegroups.com about your system, including
 
251
$0: any error possibly output before this message. Then
 
252
$0: install a modern shell, or manually run the script
 
253
$0: under such a shell if you do have one."
 
254
  fi
 
255
  exit 1
 
256
fi
 
257
fi
 
258
fi
 
259
SHELL=${CONFIG_SHELL-/bin/sh}
 
260
export SHELL
 
261
# Unset more variables known to interfere with behavior of common tools.
 
262
CLICOLOR_FORCE= GREP_OPTIONS=
 
263
unset CLICOLOR_FORCE GREP_OPTIONS
 
264
 
 
265
## --------------------- ##
 
266
## M4sh Shell Functions. ##
 
267
## --------------------- ##
 
268
# as_fn_unset VAR
 
269
# ---------------
 
270
# Portably unset VAR.
 
271
as_fn_unset ()
 
272
{
 
273
  { eval $1=; unset $1;}
 
274
}
 
275
as_unset=as_fn_unset
 
276
 
 
277
# as_fn_set_status STATUS
 
278
# -----------------------
 
279
# Set $? to STATUS, without forking.
 
280
as_fn_set_status ()
 
281
{
 
282
  return $1
 
283
} # as_fn_set_status
 
284
 
 
285
# as_fn_exit STATUS
 
286
# -----------------
 
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
288
as_fn_exit ()
 
289
{
 
290
  set +e
 
291
  as_fn_set_status $1
 
292
  exit $1
 
293
} # as_fn_exit
 
294
 
 
295
# as_fn_mkdir_p
 
296
# -------------
 
297
# Create "$as_dir" as a directory, including parents if necessary.
 
298
as_fn_mkdir_p ()
 
299
{
 
300
 
 
301
  case $as_dir in #(
 
302
  -*) as_dir=./$as_dir;;
 
303
  esac
 
304
  test -d "$as_dir" || eval $as_mkdir_p || {
 
305
    as_dirs=
 
306
    while :; do
 
307
      case $as_dir in #(
 
308
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
309
      *) as_qdir=$as_dir;;
 
310
      esac
 
311
      as_dirs="'$as_qdir' $as_dirs"
 
312
      as_dir=`$as_dirname -- "$as_dir" ||
 
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
314
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
315
         X"$as_dir" : 'X\(//\)$' \| \
 
316
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
317
$as_echo X"$as_dir" |
 
318
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\/\)[^/].*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          /^X\(\/\/\)$/{
 
327
            s//\1/
 
328
            q
 
329
          }
 
330
          /^X\(\/\).*/{
 
331
            s//\1/
 
332
            q
 
333
          }
 
334
          s/.*/./; q'`
 
335
      test -d "$as_dir" && break
 
336
    done
 
337
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
338
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
339
 
 
340
 
 
341
} # as_fn_mkdir_p
 
342
# as_fn_append VAR VALUE
 
343
# ----------------------
 
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
345
# advantage of any shell optimizations that allow amortized linear growth over
 
346
# repeated appends, instead of the typical quadratic growth present in naive
 
347
# implementations.
 
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
349
  eval 'as_fn_append ()
 
350
  {
 
351
    eval $1+=\$2
 
352
  }'
 
353
else
 
354
  as_fn_append ()
 
355
  {
 
356
    eval $1=\$$1\$2
 
357
  }
 
358
fi # as_fn_append
 
359
 
 
360
# as_fn_arith ARG...
 
361
# ------------------
 
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
364
# must be portable across $(()) and expr.
 
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
366
  eval 'as_fn_arith ()
 
367
  {
 
368
    as_val=$(( $* ))
 
369
  }'
 
370
else
 
371
  as_fn_arith ()
 
372
  {
 
373
    as_val=`expr "$@" || test $? -eq 1`
 
374
  }
 
375
fi # as_fn_arith
 
376
 
 
377
 
 
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
379
# ----------------------------------------
 
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
382
# script with STATUS, using 1 if that was 0.
 
383
as_fn_error ()
 
384
{
 
385
  as_status=$1; test $as_status -eq 0 && as_status=1
 
386
  if test "$4"; then
 
387
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
388
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
389
  fi
 
390
  $as_echo "$as_me: error: $2" >&2
 
391
  as_fn_exit $as_status
 
392
} # as_fn_error
 
393
 
 
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
395
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
396
  as_expr=expr
 
397
else
 
398
  as_expr=false
 
399
fi
 
400
 
 
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
402
  as_basename=basename
 
403
else
 
404
  as_basename=false
 
405
fi
 
406
 
 
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
408
  as_dirname=dirname
 
409
else
 
410
  as_dirname=false
 
411
fi
 
412
 
 
413
as_me=`$as_basename -- "$0" ||
 
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
415
         X"$0" : 'X\(//\)$' \| \
 
416
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
417
$as_echo X/"$0" |
 
418
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          /^X\/\(\/\/\)$/{
 
423
            s//\1/
 
424
            q
 
425
          }
 
426
          /^X\/\(\/\).*/{
 
427
            s//\1/
 
428
            q
 
429
          }
 
430
          s/.*/./; q'`
 
431
 
 
432
# Avoid depending upon Character Ranges.
 
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
436
as_cr_digits='0123456789'
 
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
438
 
 
439
 
 
440
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
441
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
442
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
443
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
444
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
445
  sed -n '
 
446
    p
 
447
    /[$]LINENO/=
 
448
  ' <$as_myself |
 
449
    sed '
 
450
      s/[$]LINENO.*/&-/
 
451
      t lineno
 
452
      b
 
453
      :lineno
 
454
      N
 
455
      :loop
 
456
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
457
      t loop
 
458
      s/-\n.*//
 
459
    ' >$as_me.lineno &&
 
460
  chmod +x "$as_me.lineno" ||
 
461
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
462
 
 
463
  # Don't try to exec as it changes $[0], causing all sort of problems
 
464
  # (the dirname of $[0] is not the place where we might find the
 
465
  # original and so on.  Autoconf is especially sensitive to this).
 
466
  . "./$as_me.lineno"
 
467
  # Exit status is that of the last command.
 
468
  exit
 
469
}
 
470
 
 
471
ECHO_C= ECHO_N= ECHO_T=
 
472
case `echo -n x` in #(((((
 
473
-n*)
 
474
  case `echo 'xy\c'` in
 
475
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
476
  xy)  ECHO_C='\c';;
 
477
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
478
       ECHO_T=' ';;
 
479
  esac;;
 
480
*)
 
481
  ECHO_N='-n';;
 
482
esac
 
483
 
 
484
rm -f conf$$ conf$$.exe conf$$.file
 
485
if test -d conf$$.dir; then
 
486
  rm -f conf$$.dir/conf$$.file
 
487
else
 
488
  rm -f conf$$.dir
 
489
  mkdir conf$$.dir 2>/dev/null
 
490
fi
 
491
if (echo >conf$$.file) 2>/dev/null; then
 
492
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
493
    as_ln_s='ln -s'
 
494
    # ... but there are two gotchas:
 
495
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
496
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
497
    # In both cases, we have to default to `cp -p'.
 
498
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
499
      as_ln_s='cp -p'
 
500
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
501
    as_ln_s=ln
 
502
  else
 
503
    as_ln_s='cp -p'
 
504
  fi
 
505
else
 
506
  as_ln_s='cp -p'
 
507
fi
 
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
509
rmdir conf$$.dir 2>/dev/null
 
510
 
 
511
if mkdir -p . 2>/dev/null; then
 
512
  as_mkdir_p='mkdir -p "$as_dir"'
 
513
else
 
514
  test -d ./-p && rmdir ./-p
 
515
  as_mkdir_p=false
 
516
fi
 
517
 
 
518
if test -x / >/dev/null 2>&1; then
 
519
  as_test_x='test -x'
 
520
else
 
521
  if ls -dL / >/dev/null 2>&1; then
 
522
    as_ls_L_option=L
 
523
  else
 
524
    as_ls_L_option=
 
525
  fi
 
526
  as_test_x='
 
527
    eval sh -c '\''
 
528
      if test -d "$1"; then
 
529
        test -d "$1/.";
 
530
      else
 
531
        case $1 in #(
 
532
        -*)set "./$1";;
 
533
        esac;
 
534
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
535
        ???[sx]*):;;*)false;;esac;fi
 
536
    '\'' sh
 
537
  '
 
538
fi
 
539
as_executable_p=$as_test_x
 
540
 
 
541
# Sed expression to map a string onto a valid CPP name.
 
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
543
 
 
544
# Sed expression to map a string onto a valid variable name.
 
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
546
 
 
547
SHELL=${CONFIG_SHELL-/bin/sh}
 
548
 
 
549
 
 
550
test -n "$DJDIR" || exec 7<&0 </dev/null
 
551
exec 6>&1
 
552
 
 
553
# Name of the host.
 
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
555
# so uname gets run too.
 
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
557
 
 
558
#
 
559
# Initializations.
 
560
#
 
561
ac_default_prefix=/usr/local
 
562
ac_clean_files=
 
563
ac_config_libobj_dir=.
 
564
LIBOBJS=
 
565
cross_compiling=no
 
566
subdirs=
 
567
MFLAGS=
 
568
MAKEFLAGS=
 
569
 
 
570
# Identity of this package.
 
571
PACKAGE_NAME='uim'
 
572
PACKAGE_TARNAME='uim'
 
573
PACKAGE_VERSION='1.8.6'
 
574
PACKAGE_STRING='uim 1.8.6'
 
575
PACKAGE_BUGREPORT='uim-en@googlegroups.com'
 
576
PACKAGE_URL=''
 
577
 
 
578
ac_unique_file="uim/uim.c"
 
579
# Factoring default headers for most tests.
 
580
ac_includes_default="\
 
581
#include <stdio.h>
 
582
#ifdef HAVE_SYS_TYPES_H
 
583
# include <sys/types.h>
 
584
#endif
 
585
#ifdef HAVE_SYS_STAT_H
 
586
# include <sys/stat.h>
 
587
#endif
 
588
#ifdef STDC_HEADERS
 
589
# include <stdlib.h>
 
590
# include <stddef.h>
 
591
#else
 
592
# ifdef HAVE_STDLIB_H
 
593
#  include <stdlib.h>
 
594
# endif
 
595
#endif
 
596
#ifdef HAVE_STRING_H
 
597
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
598
#  include <memory.h>
 
599
# endif
 
600
# include <string.h>
 
601
#endif
 
602
#ifdef HAVE_STRINGS_H
 
603
# include <strings.h>
 
604
#endif
 
605
#ifdef HAVE_INTTYPES_H
 
606
# include <inttypes.h>
 
607
#endif
 
608
#ifdef HAVE_STDINT_H
 
609
# include <stdint.h>
 
610
#endif
 
611
#ifdef HAVE_UNISTD_H
 
612
# include <unistd.h>
 
613
#endif"
 
614
 
 
615
ac_c_werror_flag=
 
616
ac_header_list=
 
617
gt_needs=
 
618
ac_c_werror_flag=
 
619
ac_c_werror_flag=
 
620
ac_c_werror_flag=
 
621
enable_option_checking=no
 
622
ac_subst_vars='am__EXEEXT_FALSE
 
623
am__EXEEXT_TRUE
 
624
LTLIBOBJS
 
625
subdirs
 
626
abs_top_builddir
 
627
abs_top_srcdir
 
628
abs_builddir
 
629
abs_srcdir
 
630
DESTDIR
 
631
SRCDIR
 
632
INCLUDES
 
633
DO_CHECK_IN_TEST_FALSE
 
634
DO_CHECK_IN_TEST_TRUE
 
635
GAUCHE_CONFIG
 
636
GOSH
 
637
QT_CONFIG_OPTS
 
638
UIM_SCM_CFLAGS
 
639
GROWL_FALSE
 
640
GROWL_TRUE
 
641
KNOTIFY4_FALSE
 
642
KNOTIFY4_TRUE
 
643
KNOTIFY3_FALSE
 
644
KNOTIFY3_TRUE
 
645
LIBNOTIFY_FALSE
 
646
LIBNOTIFY_TRUE
 
647
NOTIFY_FALSE
 
648
NOTIFY_TRUE
 
649
KNOTIFY3_INCLUDE_DIR
 
650
KNOTIFY3_DATA_DIR
 
651
KNOTIFY3_LIB_DIR
 
652
KNOTIFY3_PREFIX
 
653
LIBNOTIFY_LIBS
 
654
LIBNOTIFY_CFLAGS
 
655
ENABLE_ANTHY_UTF8_STATIC_FALSE
 
656
ENABLE_ANTHY_UTF8_STATIC_TRUE
 
657
ENABLE_ANTHY_STATIC_FALSE
 
658
ENABLE_ANTHY_STATIC_TRUE
 
659
PREF_FALSE
 
660
PREF_TRUE
 
661
APPLET_KDE4_FALSE
 
662
APPLET_KDE4_TRUE
 
663
QT4_IMMODULE_FALSE
 
664
QT4_IMMODULE_TRUE
 
665
QT4_FALSE
 
666
QT4_TRUE
 
667
APPLET_KDE_FALSE
 
668
APPLET_KDE_TRUE
 
669
QT_IMMODULE_FALSE
 
670
QT_IMMODULE_TRUE
 
671
QT_FALSE
 
672
QT_TRUE
 
673
KDE4_CONFIG
 
674
CMAKE
 
675
KDE_INCLUDE_DIR
 
676
KDE_DATA_DIR
 
677
KDE_LIB_DIR
 
678
KDE_PREFIX
 
679
KDE_CONFIG
 
680
UIM_QT_LDFLAGS
 
681
UIM_QT_CXXFLAGS
 
682
UIC
 
683
MOC
 
684
QT_PLUGINSDIR
 
685
HOST_UIC
 
686
HOST_MOC
 
687
GTK3_LIBDIR
 
688
GTK3_BINARY_VERSION
 
689
GTK_LIBDIR
 
690
GTK_BINARY_VERSION
 
691
DATADIRNAME
 
692
ALL_LINGUAS
 
693
INTLTOOL_PERL
 
694
INTLTOOL_POLICY_RULE
 
695
INTLTOOL_SERVICE_RULE
 
696
INTLTOOL_THEME_RULE
 
697
INTLTOOL_SCHEMAS_RULE
 
698
INTLTOOL_CAVES_RULE
 
699
INTLTOOL_XML_NOMERGE_RULE
 
700
INTLTOOL_XML_RULE
 
701
INTLTOOL_KBD_RULE
 
702
INTLTOOL_XAM_RULE
 
703
INTLTOOL_UI_RULE
 
704
INTLTOOL_SOUNDLIST_RULE
 
705
INTLTOOL_SHEET_RULE
 
706
INTLTOOL_SERVER_RULE
 
707
INTLTOOL_PONG_RULE
 
708
INTLTOOL_OAF_RULE
 
709
INTLTOOL_PROP_RULE
 
710
INTLTOOL_KEYS_RULE
 
711
INTLTOOL_DIRECTORY_RULE
 
712
INTLTOOL_DESKTOP_RULE
 
713
INTLTOOL_EXTRACT
 
714
INTLTOOL_MERGE
 
715
INTLTOOL_UPDATE
 
716
GXX_FALSE
 
717
GXX_TRUE
 
718
GCC_FALSE
 
719
GCC_TRUE
 
720
NEED_STRSEP_C_FALSE
 
721
NEED_STRSEP_C_TRUE
 
722
NEED_SETENV_C_FALSE
 
723
NEED_SETENV_C_TRUE
 
724
LIBUIM_X_UTIL_FALSE
 
725
LIBUIM_X_UTIL_TRUE
 
726
DEBUG_FALSE
 
727
DEBUG_TRUE
 
728
LIBEDIT_FALSE
 
729
LIBEDIT_TRUE
 
730
EB_FALSE
 
731
EB_TRUE
 
732
DICT_FALSE
 
733
DICT_TRUE
 
734
XIM_FALSE
 
735
XIM_TRUE
 
736
UIM_EL_FALSE
 
737
UIM_EL_TRUE
 
738
UIM_FEP_FALSE
 
739
UIM_FEP_TRUE
 
740
APPLET_GNOME3_FALSE
 
741
APPLET_GNOME3_TRUE
 
742
APPLET_GNOME_FALSE
 
743
APPLET_GNOME_TRUE
 
744
DEFAULT_TOOLKIT_QT4_FALSE
 
745
DEFAULT_TOOLKIT_QT4_TRUE
 
746
DEFAULT_TOOLKIT_QT_FALSE
 
747
DEFAULT_TOOLKIT_QT_TRUE
 
748
DEFAULT_TOOLKIT_GTK3_FALSE
 
749
DEFAULT_TOOLKIT_GTK3_TRUE
 
750
DEFAULT_TOOLKIT_GTK_FALSE
 
751
DEFAULT_TOOLKIT_GTK_TRUE
 
752
GTK3_FALSE
 
753
GTK3_TRUE
 
754
GTK2_4_FALSE
 
755
GTK2_4_TRUE
 
756
GTK2_FALSE
 
757
GTK2_TRUE
 
758
FFI_FALSE
 
759
FFI_TRUE
 
760
SQLITE3_FALSE
 
761
SQLITE3_TRUE
 
762
OPENSSL_FALSE
 
763
OPENSSL_TRUE
 
764
EXPAT_FALSE
 
765
EXPAT_TRUE
 
766
CURL_FALSE
 
767
CURL_TRUE
 
768
SKK_FALSE
 
769
SKK_TRUE
 
770
SJ3_FALSE
 
771
SJ3_TRUE
 
772
PRIME_FALSE
 
773
PRIME_TRUE
 
774
MANA_FALSE
 
775
MANA_TRUE
 
776
WNN_FALSE
 
777
WNN_TRUE
 
778
CANNA_FALSE
 
779
CANNA_TRUE
 
780
ANTHY_UTF8_FALSE
 
781
ANTHY_UTF8_TRUE
 
782
ANTHY_FALSE
 
783
ANTHY_TRUE
 
784
SCIM_FALSE
 
785
SCIM_TRUE
 
786
M17NLIB_FALSE
 
787
M17NLIB_TRUE
 
788
UI_XML_CANNA_END
 
789
UI_XML_CANNA_START
 
790
UI_XML_ANTHY_END
 
791
UI_XML_ANTHY_START
 
792
LIBEDIT_LIBS
 
793
OSX_DCS_FALSE
 
794
OSX_DCS_TRUE
 
795
EBCONF_INTLLIBS
 
796
EBCONF_INTLINCS
 
797
EBCONF_PTHREAD_LDFLAGS
 
798
EBCONF_PTHREAD_CFLAGS
 
799
EBCONF_PTHREAD_CPPFLAGS
 
800
EBCONF_ZLIBLIBS
 
801
EBCONF_ZLIBINCS
 
802
EBCONF_EBLIBS
 
803
EBCONF_EBINCS
 
804
DICT_CANNA_FALSE
 
805
DICT_CANNA_TRUE
 
806
DICT_LIBS
 
807
DICT_CFLAGS
 
808
UIMEL_LISP_DIR
 
809
lispdir
 
810
EMACSLOADPATH
 
811
EMACS
 
812
FEP_LIBADD
 
813
APPLET_GNOME3_LIBS
 
814
APPLET_GNOME3_CFLAGS
 
815
GTK3_LIBS
 
816
GTK3_CFLAGS
 
817
APPLET_2_14_LIBS
 
818
APPLET_2_14_CFLAGS
 
819
APPLET_GNOME_LIBS
 
820
APPLET_GNOME_CFLAGS
 
821
GTK2_4_LIBS
 
822
GTK2_4_CFLAGS
 
823
GTK2_LIBS
 
824
GTK2_CFLAGS
 
825
uim_pixmapsdir
 
826
UIM_LIBEXECDIR
 
827
POSUB
 
828
LTLIBINTL
 
829
LIBINTL
 
830
INTLLIBS
 
831
INTL_MACOSX_LIBS
 
832
XGETTEXT_EXTRA_OPTIONS
 
833
MSGMERGE
 
834
XGETTEXT_015
 
835
XGETTEXT
 
836
GMSGFMT_015
 
837
MSGFMT_015
 
838
GMSGFMT
 
839
MSGFMT
 
840
GETTEXT_MACRO_VERSION
 
841
USE_NLS
 
842
GETTEXT_PACKAGE
 
843
NETLIBS
 
844
ALLOCA
 
845
LIBOBJS
 
846
WITH_XFT_FALSE
 
847
WITH_XFT_TRUE
 
848
XFT_LIBS
 
849
XFT_CFLAGS
 
850
XFT_CONFIG
 
851
XIM_LIBS
 
852
XIM_CFLAGS
 
853
X_EXTRA_LIBS
 
854
X_LIBS
 
855
X_PRE_LIBS
 
856
X_CFLAGS
 
857
XMKMF
 
858
X11_LIBS
 
859
X11_CFLAGS
 
860
FFI_LIBS
 
861
FFI_CFLAGS
 
862
SQLITE3_LIBS
 
863
SQLITE3_CFLAGS
 
864
OPENSSL_LIBS
 
865
OPENSSL_CPPFLAGS
 
866
EXPAT_LIBS
 
867
EXPAT_CFLAGS
 
868
EXPAT_INSTALLED_FALSE
 
869
EXPAT_INSTALLED_TRUE
 
870
CURL_LIBS
 
871
CURL_CFLAGS
 
872
PRIME_LIBS
 
873
PRIME_CFLAGS
 
874
MANA
 
875
WNN_LIBADD
 
876
WNN_LIBS
 
877
WNN_CPPFLAGS
 
878
ANTHY_UTF8_LIBS
 
879
ANTHY_UTF8_CFLAGS
 
880
ANTHY_CFLAGS
 
881
ANTHY_LIBS
 
882
SCIM_LIBS
 
883
SCIM_CFLAGS
 
884
m17n_db_dir
 
885
M17NDB
 
886
M17NLIB_LIBS
 
887
M17NLIB_CFLAGS
 
888
PKG_CONFIG_LIBDIR
 
889
PKG_CONFIG_PATH
 
890
PKG_CONFIG
 
891
LTLIBICONV
 
892
LIBICONV
 
893
MAINT
 
894
MAINTAINER_MODE_FALSE
 
895
MAINTAINER_MODE_TRUE
 
896
QMAKE4
 
897
_QMAKE
 
898
_QMAKE4
 
899
SHA1
 
900
MD5
 
901
CSI
 
902
RSVG
 
903
SH
 
904
CXXCPP
 
905
OTOOL64
 
906
OTOOL
 
907
LIPO
 
908
NMEDIT
 
909
DSYMUTIL
 
910
MANIFEST_TOOL
 
911
RANLIB
 
912
ac_ct_AR
 
913
AR
 
914
DLLTOOL
 
915
OBJDUMP
 
916
NM
 
917
ac_ct_DUMPBIN
 
918
DUMPBIN
 
919
LD
 
920
FGREP
 
921
SED
 
922
host_os
 
923
host_vendor
 
924
host_cpu
 
925
host
 
926
build_os
 
927
build_vendor
 
928
build_cpu
 
929
build
 
930
LIBTOOL
 
931
LN_S
 
932
am__fastdepOBJC_FALSE
 
933
am__fastdepOBJC_TRUE
 
934
OBJCDEPMODE
 
935
ac_ct_OBJC
 
936
OBJCFLAGS
 
937
OBJC
 
938
am__fastdepCXX_FALSE
 
939
am__fastdepCXX_TRUE
 
940
CXXDEPMODE
 
941
ac_ct_CXX
 
942
CXXFLAGS
 
943
CXX
 
944
EGREP
 
945
GREP
 
946
CPP
 
947
am__fastdepCC_FALSE
 
948
am__fastdepCC_TRUE
 
949
CCDEPMODE
 
950
am__nodep
 
951
AMDEPBACKSLASH
 
952
AMDEP_FALSE
 
953
AMDEP_TRUE
 
954
am__quote
 
955
am__include
 
956
DEPDIR
 
957
OBJEXT
 
958
EXEEXT
 
959
ac_ct_CC
 
960
CPPFLAGS
 
961
LDFLAGS
 
962
CFLAGS
 
963
CC
 
964
UIM_VERSION_PATCHLEVEL
 
965
UIM_VERSION_MINOR
 
966
UIM_VERSION_MAJOR
 
967
am__untar
 
968
am__tar
 
969
AMTAR
 
970
am__leading_dot
 
971
SET_MAKE
 
972
AWK
 
973
mkdir_p
 
974
MKDIR_P
 
975
INSTALL_STRIP_PROGRAM
 
976
STRIP
 
977
install_sh
 
978
MAKEINFO
 
979
AUTOHEADER
 
980
AUTOMAKE
 
981
AUTOCONF
 
982
ACLOCAL
 
983
VERSION
 
984
PACKAGE
 
985
CYGPATH_W
 
986
am__isrc
 
987
INSTALL_DATA
 
988
INSTALL_SCRIPT
 
989
INSTALL_PROGRAM
 
990
target_alias
 
991
host_alias
 
992
build_alias
 
993
LIBS
 
994
ECHO_T
 
995
ECHO_N
 
996
ECHO_C
 
997
DEFS
 
998
mandir
 
999
localedir
 
1000
libdir
 
1001
psdir
 
1002
pdfdir
 
1003
dvidir
 
1004
htmldir
 
1005
infodir
 
1006
docdir
 
1007
oldincludedir
 
1008
includedir
 
1009
localstatedir
 
1010
sharedstatedir
 
1011
sysconfdir
 
1012
datadir
 
1013
datarootdir
 
1014
libexecdir
 
1015
sbindir
 
1016
bindir
 
1017
program_transform_name
 
1018
prefix
 
1019
exec_prefix
 
1020
PACKAGE_URL
 
1021
PACKAGE_BUGREPORT
 
1022
PACKAGE_STRING
 
1023
PACKAGE_VERSION
 
1024
PACKAGE_TARNAME
 
1025
PACKAGE_NAME
 
1026
PATH_SEPARATOR
 
1027
SHELL'
 
1028
ac_subst_files=''
 
1029
ac_user_opts='
 
1030
enable_option_checking
 
1031
enable_dependency_tracking
 
1032
enable_static
 
1033
enable_shared
 
1034
with_pic
 
1035
enable_fast_install
 
1036
with_gnu_ld
 
1037
with_sysroot
 
1038
enable_libtool_lock
 
1039
enable_maintainer_mode
 
1040
enable_rpath
 
1041
with_libiconv_prefix
 
1042
with_m17nlib
 
1043
with_scim
 
1044
with_anthy
 
1045
with_anthy_utf8
 
1046
with_canna
 
1047
with_wnn
 
1048
with_wnn_libraries
 
1049
with_wnn_includes
 
1050
with_mana
 
1051
with_prime
 
1052
with_sj3
 
1053
with_skk
 
1054
with_curl
 
1055
with_expat
 
1056
enable_openssl
 
1057
with_openssl_dir
 
1058
with_openssl_header_check
 
1059
with_ssl_engine
 
1060
with_sqlite3
 
1061
with_ffi
 
1062
with_x
 
1063
with_xft
 
1064
enable_nls
 
1065
with_libintl_prefix
 
1066
with_gtk2
 
1067
enable_gnome_applet
 
1068
with_gtk3
 
1069
enable_gnome3_applet
 
1070
with_qt
 
1071
with_qt_immodule
 
1072
with_qt4
 
1073
with_qt4_immodule
 
1074
enable_qt4_qt3support
 
1075
enable_default_toolkit
 
1076
enable_debug
 
1077
enable_fep
 
1078
enable_emacs
 
1079
with_lispdir
 
1080
enable_dict
 
1081
with_eb
 
1082
with_eb_conf
 
1083
with_osx_dcs
 
1084
with_libedit
 
1085
enable_kde_applet
 
1086
enable_kde4_applet
 
1087
enable_pref
 
1088
enable_anthy_static
 
1089
enable_anthy_utf8_static
 
1090
enable_notify
 
1091
enable_warnings_into_error
 
1092
'
 
1093
      ac_precious_vars='build_alias
 
1094
host_alias
 
1095
target_alias
 
1096
CC
 
1097
CFLAGS
 
1098
LDFLAGS
 
1099
LIBS
 
1100
CPPFLAGS
 
1101
CPP
 
1102
CXX
 
1103
CXXFLAGS
 
1104
CCC
 
1105
OBJC
 
1106
OBJCFLAGS
 
1107
CXXCPP
 
1108
PKG_CONFIG
 
1109
PKG_CONFIG_PATH
 
1110
PKG_CONFIG_LIBDIR
 
1111
M17NLIB_CFLAGS
 
1112
M17NLIB_LIBS
 
1113
SCIM_CFLAGS
 
1114
SCIM_LIBS
 
1115
ANTHY_UTF8_CFLAGS
 
1116
ANTHY_UTF8_LIBS
 
1117
PRIME_CFLAGS
 
1118
PRIME_LIBS
 
1119
CURL_CFLAGS
 
1120
CURL_LIBS
 
1121
SQLITE3_CFLAGS
 
1122
SQLITE3_LIBS
 
1123
FFI_CFLAGS
 
1124
FFI_LIBS
 
1125
X11_CFLAGS
 
1126
X11_LIBS
 
1127
XMKMF
 
1128
XIM_CFLAGS
 
1129
XIM_LIBS
 
1130
GTK2_CFLAGS
 
1131
GTK2_LIBS
 
1132
GTK2_4_CFLAGS
 
1133
GTK2_4_LIBS
 
1134
APPLET_GNOME_CFLAGS
 
1135
APPLET_GNOME_LIBS
 
1136
APPLET_2_14_CFLAGS
 
1137
APPLET_2_14_LIBS
 
1138
GTK3_CFLAGS
 
1139
GTK3_LIBS
 
1140
APPLET_GNOME3_CFLAGS
 
1141
APPLET_GNOME3_LIBS
 
1142
EMACS
 
1143
EMACSLOADPATH
 
1144
DICT_CFLAGS
 
1145
DICT_LIBS
 
1146
LIBNOTIFY_CFLAGS
 
1147
LIBNOTIFY_LIBS'
 
1148
ac_subdirs_all='sigscheme'
 
1149
 
 
1150
# Initialize some variables set by options.
 
1151
ac_init_help=
 
1152
ac_init_version=false
 
1153
ac_unrecognized_opts=
 
1154
ac_unrecognized_sep=
 
1155
# The variables have the same names as the options, with
 
1156
# dashes changed to underlines.
 
1157
cache_file=/dev/null
 
1158
exec_prefix=NONE
 
1159
no_create=
 
1160
no_recursion=
 
1161
prefix=NONE
 
1162
program_prefix=NONE
 
1163
program_suffix=NONE
 
1164
program_transform_name=s,x,x,
 
1165
silent=
 
1166
site=
 
1167
srcdir=
 
1168
verbose=
 
1169
x_includes=NONE
 
1170
x_libraries=NONE
 
1171
 
 
1172
# Installation directory options.
 
1173
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
1174
# and all the variables that are supposed to be based on exec_prefix
 
1175
# by default will actually change.
 
1176
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1177
# (The list follows the same order as the GNU Coding Standards.)
 
1178
bindir='${exec_prefix}/bin'
 
1179
sbindir='${exec_prefix}/sbin'
 
1180
libexecdir='${exec_prefix}/libexec'
 
1181
datarootdir='${prefix}/share'
 
1182
datadir='${datarootdir}'
 
1183
sysconfdir='${prefix}/etc'
 
1184
sharedstatedir='${prefix}/com'
 
1185
localstatedir='${prefix}/var'
 
1186
includedir='${prefix}/include'
 
1187
oldincludedir='/usr/include'
 
1188
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1189
infodir='${datarootdir}/info'
 
1190
htmldir='${docdir}'
 
1191
dvidir='${docdir}'
 
1192
pdfdir='${docdir}'
 
1193
psdir='${docdir}'
 
1194
libdir='${exec_prefix}/lib'
 
1195
localedir='${datarootdir}/locale'
 
1196
mandir='${datarootdir}/man'
 
1197
 
 
1198
ac_prev=
 
1199
ac_dashdash=
 
1200
for ac_option
 
1201
do
 
1202
  # If the previous option needs an argument, assign it.
 
1203
  if test -n "$ac_prev"; then
 
1204
    eval $ac_prev=\$ac_option
 
1205
    ac_prev=
 
1206
    continue
 
1207
  fi
 
1208
 
 
1209
  case $ac_option in
 
1210
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1211
  *=)   ac_optarg= ;;
 
1212
  *)    ac_optarg=yes ;;
 
1213
  esac
 
1214
 
 
1215
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1216
 
 
1217
  case $ac_dashdash$ac_option in
 
1218
  --)
 
1219
    ac_dashdash=yes ;;
 
1220
 
 
1221
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1222
    ac_prev=bindir ;;
 
1223
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1224
    bindir=$ac_optarg ;;
 
1225
 
 
1226
  -build | --build | --buil | --bui | --bu)
 
1227
    ac_prev=build_alias ;;
 
1228
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1229
    build_alias=$ac_optarg ;;
 
1230
 
 
1231
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1232
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1233
    ac_prev=cache_file ;;
 
1234
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1235
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1236
    cache_file=$ac_optarg ;;
 
1237
 
 
1238
  --config-cache | -C)
 
1239
    cache_file=config.cache ;;
 
1240
 
 
1241
  -datadir | --datadir | --datadi | --datad)
 
1242
    ac_prev=datadir ;;
 
1243
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1244
    datadir=$ac_optarg ;;
 
1245
 
 
1246
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1247
  | --dataroo | --dataro | --datar)
 
1248
    ac_prev=datarootdir ;;
 
1249
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1250
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1251
    datarootdir=$ac_optarg ;;
 
1252
 
 
1253
  -disable-* | --disable-*)
 
1254
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1255
    # Reject names that are not valid shell variable names.
 
1256
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1257
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1258
    ac_useropt_orig=$ac_useropt
 
1259
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1260
    case $ac_user_opts in
 
1261
      *"
 
1262
"enable_$ac_useropt"
 
1263
"*) ;;
 
1264
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1265
         ac_unrecognized_sep=', ';;
 
1266
    esac
 
1267
    eval enable_$ac_useropt=no ;;
 
1268
 
 
1269
  -docdir | --docdir | --docdi | --doc | --do)
 
1270
    ac_prev=docdir ;;
 
1271
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1272
    docdir=$ac_optarg ;;
 
1273
 
 
1274
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1275
    ac_prev=dvidir ;;
 
1276
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1277
    dvidir=$ac_optarg ;;
 
1278
 
 
1279
  -enable-* | --enable-*)
 
1280
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1281
    # Reject names that are not valid shell variable names.
 
1282
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1283
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1284
    ac_useropt_orig=$ac_useropt
 
1285
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1286
    case $ac_user_opts in
 
1287
      *"
 
1288
"enable_$ac_useropt"
 
1289
"*) ;;
 
1290
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1291
         ac_unrecognized_sep=', ';;
 
1292
    esac
 
1293
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1294
 
 
1295
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1296
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1297
  | --exec | --exe | --ex)
 
1298
    ac_prev=exec_prefix ;;
 
1299
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1300
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1301
  | --exec=* | --exe=* | --ex=*)
 
1302
    exec_prefix=$ac_optarg ;;
 
1303
 
 
1304
  -gas | --gas | --ga | --g)
 
1305
    # Obsolete; use --with-gas.
 
1306
    with_gas=yes ;;
 
1307
 
 
1308
  -help | --help | --hel | --he | -h)
 
1309
    ac_init_help=long ;;
 
1310
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1311
    ac_init_help=recursive ;;
 
1312
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1313
    ac_init_help=short ;;
 
1314
 
 
1315
  -host | --host | --hos | --ho)
 
1316
    ac_prev=host_alias ;;
 
1317
  -host=* | --host=* | --hos=* | --ho=*)
 
1318
    host_alias=$ac_optarg ;;
 
1319
 
 
1320
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1321
    ac_prev=htmldir ;;
 
1322
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1323
  | --ht=*)
 
1324
    htmldir=$ac_optarg ;;
 
1325
 
 
1326
  -includedir | --includedir | --includedi | --included | --include \
 
1327
  | --includ | --inclu | --incl | --inc)
 
1328
    ac_prev=includedir ;;
 
1329
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1330
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1331
    includedir=$ac_optarg ;;
 
1332
 
 
1333
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1334
    ac_prev=infodir ;;
 
1335
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1336
    infodir=$ac_optarg ;;
 
1337
 
 
1338
  -libdir | --libdir | --libdi | --libd)
 
1339
    ac_prev=libdir ;;
 
1340
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1341
    libdir=$ac_optarg ;;
 
1342
 
 
1343
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1344
  | --libexe | --libex | --libe)
 
1345
    ac_prev=libexecdir ;;
 
1346
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1347
  | --libexe=* | --libex=* | --libe=*)
 
1348
    libexecdir=$ac_optarg ;;
 
1349
 
 
1350
  -localedir | --localedir | --localedi | --localed | --locale)
 
1351
    ac_prev=localedir ;;
 
1352
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1353
    localedir=$ac_optarg ;;
 
1354
 
 
1355
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1356
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1357
    ac_prev=localstatedir ;;
 
1358
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1359
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1360
    localstatedir=$ac_optarg ;;
 
1361
 
 
1362
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1363
    ac_prev=mandir ;;
 
1364
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1365
    mandir=$ac_optarg ;;
 
1366
 
 
1367
  -nfp | --nfp | --nf)
 
1368
    # Obsolete; use --without-fp.
 
1369
    with_fp=no ;;
 
1370
 
 
1371
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1372
  | --no-cr | --no-c | -n)
 
1373
    no_create=yes ;;
 
1374
 
 
1375
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1376
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1377
    no_recursion=yes ;;
 
1378
 
 
1379
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1380
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1381
  | --oldin | --oldi | --old | --ol | --o)
 
1382
    ac_prev=oldincludedir ;;
 
1383
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1384
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1385
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1386
    oldincludedir=$ac_optarg ;;
 
1387
 
 
1388
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1389
    ac_prev=prefix ;;
 
1390
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1391
    prefix=$ac_optarg ;;
 
1392
 
 
1393
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1394
  | --program-pre | --program-pr | --program-p)
 
1395
    ac_prev=program_prefix ;;
 
1396
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1397
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1398
    program_prefix=$ac_optarg ;;
 
1399
 
 
1400
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1401
  | --program-suf | --program-su | --program-s)
 
1402
    ac_prev=program_suffix ;;
 
1403
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1404
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1405
    program_suffix=$ac_optarg ;;
 
1406
 
 
1407
  -program-transform-name | --program-transform-name \
 
1408
  | --program-transform-nam | --program-transform-na \
 
1409
  | --program-transform-n | --program-transform- \
 
1410
  | --program-transform | --program-transfor \
 
1411
  | --program-transfo | --program-transf \
 
1412
  | --program-trans | --program-tran \
 
1413
  | --progr-tra | --program-tr | --program-t)
 
1414
    ac_prev=program_transform_name ;;
 
1415
  -program-transform-name=* | --program-transform-name=* \
 
1416
  | --program-transform-nam=* | --program-transform-na=* \
 
1417
  | --program-transform-n=* | --program-transform-=* \
 
1418
  | --program-transform=* | --program-transfor=* \
 
1419
  | --program-transfo=* | --program-transf=* \
 
1420
  | --program-trans=* | --program-tran=* \
 
1421
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1422
    program_transform_name=$ac_optarg ;;
 
1423
 
 
1424
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1425
    ac_prev=pdfdir ;;
 
1426
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1427
    pdfdir=$ac_optarg ;;
 
1428
 
 
1429
  -psdir | --psdir | --psdi | --psd | --ps)
 
1430
    ac_prev=psdir ;;
 
1431
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1432
    psdir=$ac_optarg ;;
 
1433
 
 
1434
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1435
  | -silent | --silent | --silen | --sile | --sil)
 
1436
    silent=yes ;;
 
1437
 
 
1438
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1439
    ac_prev=sbindir ;;
 
1440
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1441
  | --sbi=* | --sb=*)
 
1442
    sbindir=$ac_optarg ;;
 
1443
 
 
1444
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1445
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1446
  | --sharedst | --shareds | --shared | --share | --shar \
 
1447
  | --sha | --sh)
 
1448
    ac_prev=sharedstatedir ;;
 
1449
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1450
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1451
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1452
  | --sha=* | --sh=*)
 
1453
    sharedstatedir=$ac_optarg ;;
 
1454
 
 
1455
  -site | --site | --sit)
 
1456
    ac_prev=site ;;
 
1457
  -site=* | --site=* | --sit=*)
 
1458
    site=$ac_optarg ;;
 
1459
 
 
1460
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1461
    ac_prev=srcdir ;;
 
1462
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1463
    srcdir=$ac_optarg ;;
 
1464
 
 
1465
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1466
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1467
    ac_prev=sysconfdir ;;
 
1468
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1469
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1470
    sysconfdir=$ac_optarg ;;
 
1471
 
 
1472
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1473
    ac_prev=target_alias ;;
 
1474
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1475
    target_alias=$ac_optarg ;;
 
1476
 
 
1477
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1478
    verbose=yes ;;
 
1479
 
 
1480
  -version | --version | --versio | --versi | --vers | -V)
 
1481
    ac_init_version=: ;;
 
1482
 
 
1483
  -with-* | --with-*)
 
1484
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1485
    # Reject names that are not valid shell variable names.
 
1486
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1487
      as_fn_error $? "invalid package name: $ac_useropt"
 
1488
    ac_useropt_orig=$ac_useropt
 
1489
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1490
    case $ac_user_opts in
 
1491
      *"
 
1492
"with_$ac_useropt"
 
1493
"*) ;;
 
1494
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1495
         ac_unrecognized_sep=', ';;
 
1496
    esac
 
1497
    eval with_$ac_useropt=\$ac_optarg ;;
 
1498
 
 
1499
  -without-* | --without-*)
 
1500
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1501
    # Reject names that are not valid shell variable names.
 
1502
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1503
      as_fn_error $? "invalid package name: $ac_useropt"
 
1504
    ac_useropt_orig=$ac_useropt
 
1505
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1506
    case $ac_user_opts in
 
1507
      *"
 
1508
"with_$ac_useropt"
 
1509
"*) ;;
 
1510
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1511
         ac_unrecognized_sep=', ';;
 
1512
    esac
 
1513
    eval with_$ac_useropt=no ;;
 
1514
 
 
1515
  --x)
 
1516
    # Obsolete; use --with-x.
 
1517
    with_x=yes ;;
 
1518
 
 
1519
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1520
  | --x-incl | --x-inc | --x-in | --x-i)
 
1521
    ac_prev=x_includes ;;
 
1522
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1523
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1524
    x_includes=$ac_optarg ;;
 
1525
 
 
1526
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1527
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1528
    ac_prev=x_libraries ;;
 
1529
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1530
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1531
    x_libraries=$ac_optarg ;;
 
1532
 
 
1533
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1534
Try \`$0 --help' for more information"
 
1535
    ;;
 
1536
 
 
1537
  *=*)
 
1538
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1539
    # Reject names that are not valid shell variable names.
 
1540
    case $ac_envvar in #(
 
1541
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1542
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1543
    esac
 
1544
    eval $ac_envvar=\$ac_optarg
 
1545
    export $ac_envvar ;;
 
1546
 
 
1547
  *)
 
1548
    # FIXME: should be removed in autoconf 3.0.
 
1549
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1550
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1551
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1552
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1553
    ;;
 
1554
 
 
1555
  esac
 
1556
done
 
1557
 
 
1558
if test -n "$ac_prev"; then
 
1559
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1560
  as_fn_error $? "missing argument to $ac_option"
 
1561
fi
 
1562
 
 
1563
if test -n "$ac_unrecognized_opts"; then
 
1564
  case $enable_option_checking in
 
1565
    no) ;;
 
1566
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1567
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1568
  esac
 
1569
fi
 
1570
 
 
1571
# Check all directory arguments for consistency.
 
1572
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1573
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1574
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1575
                libdir localedir mandir
 
1576
do
 
1577
  eval ac_val=\$$ac_var
 
1578
  # Remove trailing slashes.
 
1579
  case $ac_val in
 
1580
    */ )
 
1581
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1582
      eval $ac_var=\$ac_val;;
 
1583
  esac
 
1584
  # Be sure to have absolute directory names.
 
1585
  case $ac_val in
 
1586
    [\\/$]* | ?:[\\/]* )  continue;;
 
1587
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1588
  esac
 
1589
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1590
done
 
1591
 
 
1592
# There might be people who depend on the old broken behavior: `$host'
 
1593
# used to hold the argument of --host etc.
 
1594
# FIXME: To remove some day.
 
1595
build=$build_alias
 
1596
host=$host_alias
 
1597
target=$target_alias
 
1598
 
 
1599
# FIXME: To remove some day.
 
1600
if test "x$host_alias" != x; then
 
1601
  if test "x$build_alias" = x; then
 
1602
    cross_compiling=maybe
 
1603
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1604
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1605
  elif test "x$build_alias" != "x$host_alias"; then
 
1606
    cross_compiling=yes
 
1607
  fi
 
1608
fi
 
1609
 
 
1610
ac_tool_prefix=
 
1611
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1612
 
 
1613
test "$silent" = yes && exec 6>/dev/null
 
1614
 
 
1615
 
 
1616
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1617
ac_ls_di=`ls -di .` &&
 
1618
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1619
  as_fn_error $? "working directory cannot be determined"
 
1620
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1621
  as_fn_error $? "pwd does not report name of working directory"
 
1622
 
 
1623
 
 
1624
# Find the source files, if location was not specified.
 
1625
if test -z "$srcdir"; then
 
1626
  ac_srcdir_defaulted=yes
 
1627
  # Try the directory containing this script, then the parent directory.
 
1628
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1629
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1630
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1631
         X"$as_myself" : 'X\(//\)$' \| \
 
1632
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1633
$as_echo X"$as_myself" |
 
1634
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1635
            s//\1/
 
1636
            q
 
1637
          }
 
1638
          /^X\(\/\/\)[^/].*/{
 
1639
            s//\1/
 
1640
            q
 
1641
          }
 
1642
          /^X\(\/\/\)$/{
 
1643
            s//\1/
 
1644
            q
 
1645
          }
 
1646
          /^X\(\/\).*/{
 
1647
            s//\1/
 
1648
            q
 
1649
          }
 
1650
          s/.*/./; q'`
 
1651
  srcdir=$ac_confdir
 
1652
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1653
    srcdir=..
 
1654
  fi
 
1655
else
 
1656
  ac_srcdir_defaulted=no
 
1657
fi
 
1658
if test ! -r "$srcdir/$ac_unique_file"; then
 
1659
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1660
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1661
fi
 
1662
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1663
ac_abs_confdir=`(
 
1664
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1665
        pwd)`
 
1666
# When building in place, set srcdir=.
 
1667
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1668
  srcdir=.
 
1669
fi
 
1670
# Remove unnecessary trailing slashes from srcdir.
 
1671
# Double slashes in file names in object file debugging info
 
1672
# mess up M-x gdb in Emacs.
 
1673
case $srcdir in
 
1674
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1675
esac
 
1676
for ac_var in $ac_precious_vars; do
 
1677
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1678
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1679
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1680
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1681
done
 
1682
 
 
1683
#
 
1684
# Report the --help message.
 
1685
#
 
1686
if test "$ac_init_help" = "long"; then
 
1687
  # Omit some internal or obsolete options to make the list less imposing.
 
1688
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1689
  cat <<_ACEOF
 
1690
\`configure' configures uim 1.8.6 to adapt to many kinds of systems.
 
1691
 
 
1692
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1693
 
 
1694
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1695
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1696
 
 
1697
Defaults for the options are specified in brackets.
 
1698
 
 
1699
Configuration:
 
1700
  -h, --help              display this help and exit
 
1701
      --help=short        display options specific to this package
 
1702
      --help=recursive    display the short help of all the included packages
 
1703
  -V, --version           display version information and exit
 
1704
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1705
      --cache-file=FILE   cache test results in FILE [disabled]
 
1706
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1707
  -n, --no-create         do not create output files
 
1708
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1709
 
 
1710
Installation directories:
 
1711
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1712
                          [$ac_default_prefix]
 
1713
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1714
                          [PREFIX]
 
1715
 
 
1716
By default, \`make install' will install all the files in
 
1717
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1718
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1719
for instance \`--prefix=\$HOME'.
 
1720
 
 
1721
For better control, use the options below.
 
1722
 
 
1723
Fine tuning of the installation directories:
 
1724
  --bindir=DIR            user executables [EPREFIX/bin]
 
1725
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1726
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1727
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1728
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1729
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1730
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1731
  --includedir=DIR        C header files [PREFIX/include]
 
1732
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1733
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1734
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1735
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1736
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1737
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1738
  --docdir=DIR            documentation root [DATAROOTDIR/doc/uim]
 
1739
  --htmldir=DIR           html documentation [DOCDIR]
 
1740
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1741
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1742
  --psdir=DIR             ps documentation [DOCDIR]
 
1743
_ACEOF
 
1744
 
 
1745
  cat <<\_ACEOF
 
1746
 
 
1747
Program names:
 
1748
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1749
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1750
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1751
 
 
1752
X features:
 
1753
  --x-includes=DIR    X include files are in DIR
 
1754
  --x-libraries=DIR   X library files are in DIR
 
1755
 
 
1756
System types:
 
1757
  --build=BUILD     configure for building on BUILD [guessed]
 
1758
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1759
_ACEOF
 
1760
fi
 
1761
 
 
1762
if test -n "$ac_init_help"; then
 
1763
  case $ac_init_help in
 
1764
     short | recursive ) echo "Configuration of uim 1.8.6:";;
 
1765
   esac
 
1766
  cat <<\_ACEOF
 
1767
 
 
1768
Optional Features:
 
1769
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1770
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1771
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1772
  --disable-dependency-tracking  speeds up one-time build
 
1773
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1774
  --enable-static[=PKGS]  build static libraries [default=no]
 
1775
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1776
  --enable-fast-install[=PKGS]
 
1777
                          optimize for fast installation [default=yes]
 
1778
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1779
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1780
                          (and sometimes confusing) to the casual installer
 
1781
  --disable-rpath         do not hardcode runtime library paths
 
1782
  --enable-openssl        enable openssl [default=no]
 
1783
  --disable-nls           do not use Native Language Support
 
1784
  --disable-gnome-applet  disable uim applet for Gnome panel
 
1785
  --enable-gnome3-applet  enable uim applet for Gnome3 panel [default=yes]
 
1786
  --enable-qt4-qt3support enable support for Qt3Support module in Qt4
 
1787
                          [default=yes]
 
1788
  --enable-default-toolkit
 
1789
                          Determine default toolkit (gtk, gtk3, qt, or qt4)
 
1790
                          [default=gtk]
 
1791
  --enable-debug          enable debugging [default=no]
 
1792
  --disable-fep           disable uim-fep
 
1793
  --disable-emacs         disable uim.el
 
1794
  --enable-dict           build dictionary utility for uim (Anthy and Canna)
 
1795
                          [default=no]
 
1796
  --enable-kde-applet     build uim applet for KDE panel [default=yes]
 
1797
  --enable-kde4-applet    build uim applet for KDE4 panel (experimental)
 
1798
                          [default=no]
 
1799
  --enable-pref           build graphical utility to edit user settings
 
1800
                          [default=yes]
 
1801
  --enable-anthy-static   [default=no]
 
1802
  --enable-anthy-utf8-static
 
1803
                          [default=no]
 
1804
  --enable-notify[=agent-list] (HIGHLY EXPERIMENTAL)
 
1805
                          enable system message notification for users
 
1806
                          (specify comma separated notification agent list
 
1807
                          from stderr, libnotify, knotify3, knotify4 and
 
1808
                          growl)
 
1809
  --enable-warnings-into-error
 
1810
                          Treat compiler warnings as error [default=no if
 
1811
                          !debug]
 
1812
 
 
1813
Optional Packages:
 
1814
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1815
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1816
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1817
                          both]
 
1818
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1819
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1820
                        (or the compiler's sysroot if not specified).
 
1821
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1822
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1823
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1824
  --without-m17nlib       Don't build against m17nlib
 
1825
  --with-scim             build against SCIM (broken) [default=no]
 
1826
  --without-anthy         Don't build with libanthy
 
1827
  --with-anthy-utf8       build with libanthy (UTF-8) [default=no]
 
1828
  --with-canna            Use Canna [default=no]
 
1829
  --with-wnn              Build with libwnn [default=no]
 
1830
  --with-wnn-libraries=DIR Directory where wnn library is installed (optional)
 
1831
  --with-wnn-includes=DIR  Directory where wnn header files are installed (optional)
 
1832
  --with-mana             Build a plugin for Mana [default=yes]
 
1833
  --with-prime            Build a plugin for PRIME [default=yes]
 
1834
  --with-sj3              Use SJ3 [default=no]
 
1835
  --with-skk              Build a plugin for SKK [default=yes]
 
1836
  --with-curl             Build with libcurl [default=no]
 
1837
  --with-expat=PREFIX     Use system Expat library
 
1838
  --with-openssl-dir=PATH     Specify path to OpenSSL installation
 
1839
  --without-openssl-header-check Disable OpenSSL version consistency check
 
1840
  --with-ssl-engine       Enable OpenSSL (hardware) ENGINE support
 
1841
  --with-sqlite3          Build with SQLite3 [default=no]
 
1842
  --with-ffi              Build with libffi [default=no]
 
1843
  --with-x                use the X Window System
 
1844
  --with-xft              Xft (antialias) support (default=yes)
 
1845
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1846
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1847
  --without-gtk2          don't build against Gtk+2
 
1848
  --with-gtk3             build GTK+3 immodule and helper applications
 
1849
                          [default=yes]
 
1850
  --with-qt               build qt helper applications [default=no]
 
1851
  --with-qt-immodule      Build qt-immodule extension [default=no]
 
1852
  --with-qt4              build qt4 helper applications [default=no]
 
1853
  --with-qt4-immodule     Build qt4-immodule extension [default=no]
 
1854
  --with-lispdir          override the default lisp directory
 
1855
  --with-eb               Build with EB [default=no]
 
1856
  --with-eb-conf=FILE     eb.conf file is FILE [[SYSCONFDIR/eb.conf]]
 
1857
  --with-osx-dcs          Build with OS X Dictionary Services [default=no]
 
1858
  --with-libedit=DIR, Enable libedit support
 
1859
                                      [default=yes]
 
1860
 
 
1861
 
 
1862
Some influential environment variables:
 
1863
  CC          C compiler command
 
1864
  CFLAGS      C compiler flags
 
1865
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1866
              nonstandard directory <lib dir>
 
1867
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1868
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1869
              you have headers in a nonstandard directory <include dir>
 
1870
  CPP         C preprocessor
 
1871
  CXX         C++ compiler command
 
1872
  CXXFLAGS    C++ compiler flags
 
1873
  OBJC        Objective C compiler command
 
1874
  OBJCFLAGS   Objective C compiler flags
 
1875
  CXXCPP      C++ preprocessor
 
1876
  PKG_CONFIG  path to pkg-config utility
 
1877
  PKG_CONFIG_PATH
 
1878
              directories to add to pkg-config's search path
 
1879
  PKG_CONFIG_LIBDIR
 
1880
              path overriding pkg-config's built-in search path
 
1881
  M17NLIB_CFLAGS
 
1882
              C compiler flags for M17NLIB, overriding pkg-config
 
1883
  M17NLIB_LIBS
 
1884
              linker flags for M17NLIB, overriding pkg-config
 
1885
  SCIM_CFLAGS C compiler flags for SCIM, overriding pkg-config
 
1886
  SCIM_LIBS   linker flags for SCIM, overriding pkg-config
 
1887
  ANTHY_UTF8_CFLAGS
 
1888
              C compiler flags for ANTHY_UTF8, overriding pkg-config
 
1889
  ANTHY_UTF8_LIBS
 
1890
              linker flags for ANTHY_UTF8, overriding pkg-config
 
1891
  PRIME_CFLAGS
 
1892
              C compiler flags for PRIME, overriding pkg-config
 
1893
  PRIME_LIBS  linker flags for PRIME, overriding pkg-config
 
1894
  CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
 
1895
  CURL_LIBS   linker flags for CURL, overriding pkg-config
 
1896
  SQLITE3_CFLAGS
 
1897
              C compiler flags for SQLITE3, overriding pkg-config
 
1898
  SQLITE3_LIBS
 
1899
              linker flags for SQLITE3, overriding pkg-config
 
1900
  FFI_CFLAGS  C compiler flags for FFI, overriding pkg-config
 
1901
  FFI_LIBS    linker flags for FFI, overriding pkg-config
 
1902
  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
 
1903
  X11_LIBS    linker flags for X11, overriding pkg-config
 
1904
  XMKMF       Path to xmkmf, Makefile generator for X Window System
 
1905
  XIM_CFLAGS  C compiler flags for XIM, overriding pkg-config
 
1906
  XIM_LIBS    linker flags for XIM, overriding pkg-config
 
1907
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
 
1908
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
 
1909
  GTK2_4_CFLAGS
 
1910
              C compiler flags for GTK2_4, overriding pkg-config
 
1911
  GTK2_4_LIBS linker flags for GTK2_4, overriding pkg-config
 
1912
  APPLET_GNOME_CFLAGS
 
1913
              C compiler flags for APPLET_GNOME, overriding pkg-config
 
1914
  APPLET_GNOME_LIBS
 
1915
              linker flags for APPLET_GNOME, overriding pkg-config
 
1916
  APPLET_2_14_CFLAGS
 
1917
              C compiler flags for APPLET_2_14, overriding pkg-config
 
1918
  APPLET_2_14_LIBS
 
1919
              linker flags for APPLET_2_14, overriding pkg-config
 
1920
  GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
 
1921
  GTK3_LIBS   linker flags for GTK3, overriding pkg-config
 
1922
  APPLET_GNOME3_CFLAGS
 
1923
              C compiler flags for APPLET_GNOME3, overriding pkg-config
 
1924
  APPLET_GNOME3_LIBS
 
1925
              linker flags for APPLET_GNOME3, overriding pkg-config
 
1926
  EMACS       the Emacs editor command
 
1927
  EMACSLOADPATH
 
1928
              the Emacs library search path
 
1929
  DICT_CFLAGS C compiler flags for DICT, overriding pkg-config
 
1930
  DICT_LIBS   linker flags for DICT, overriding pkg-config
 
1931
  LIBNOTIFY_CFLAGS
 
1932
              C compiler flags for LIBNOTIFY, overriding pkg-config
 
1933
  LIBNOTIFY_LIBS
 
1934
              linker flags for LIBNOTIFY, overriding pkg-config
 
1935
 
 
1936
Use these variables to override the choices made by `configure' or to help
 
1937
it to find libraries and programs with nonstandard names/locations.
 
1938
 
 
1939
Report bugs to <uim-en@googlegroups.com>.
 
1940
_ACEOF
 
1941
ac_status=$?
 
1942
fi
 
1943
 
 
1944
if test "$ac_init_help" = "recursive"; then
 
1945
  # If there are subdirs, report their specific --help.
 
1946
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1947
    test -d "$ac_dir" ||
 
1948
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1949
      continue
 
1950
    ac_builddir=.
 
1951
 
 
1952
case "$ac_dir" in
 
1953
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1954
*)
 
1955
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1956
  # A ".." for each directory in $ac_dir_suffix.
 
1957
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1958
  case $ac_top_builddir_sub in
 
1959
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1960
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1961
  esac ;;
 
1962
esac
 
1963
ac_abs_top_builddir=$ac_pwd
 
1964
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1965
# for backward compatibility:
 
1966
ac_top_builddir=$ac_top_build_prefix
 
1967
 
 
1968
case $srcdir in
 
1969
  .)  # We are building in place.
 
1970
    ac_srcdir=.
 
1971
    ac_top_srcdir=$ac_top_builddir_sub
 
1972
    ac_abs_top_srcdir=$ac_pwd ;;
 
1973
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1974
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1975
    ac_top_srcdir=$srcdir
 
1976
    ac_abs_top_srcdir=$srcdir ;;
 
1977
  *) # Relative name.
 
1978
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1979
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1980
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1981
esac
 
1982
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1983
 
 
1984
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1985
    # Check for guested configure.
 
1986
    if test -f "$ac_srcdir/configure.gnu"; then
 
1987
      echo &&
 
1988
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1989
    elif test -f "$ac_srcdir/configure"; then
 
1990
      echo &&
 
1991
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1992
    else
 
1993
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1994
    fi || ac_status=$?
 
1995
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1996
  done
 
1997
fi
 
1998
 
 
1999
test -n "$ac_init_help" && exit $ac_status
 
2000
if $ac_init_version; then
 
2001
  cat <<\_ACEOF
 
2002
uim configure 1.8.6
 
2003
generated by GNU Autoconf 2.68
 
2004
 
 
2005
Copyright (C) 2010 Free Software Foundation, Inc.
 
2006
This configure script is free software; the Free Software Foundation
 
2007
gives unlimited permission to copy, distribute and modify it.
 
2008
_ACEOF
 
2009
  exit
 
2010
fi
 
2011
 
 
2012
## ------------------------ ##
 
2013
## Autoconf initialization. ##
 
2014
## ------------------------ ##
 
2015
 
 
2016
# ac_fn_c_try_compile LINENO
 
2017
# --------------------------
 
2018
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
2019
ac_fn_c_try_compile ()
 
2020
{
 
2021
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2022
  rm -f conftest.$ac_objext
 
2023
  if { { ac_try="$ac_compile"
 
2024
case "(($ac_try" in
 
2025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2026
  *) ac_try_echo=$ac_try;;
 
2027
esac
 
2028
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2029
$as_echo "$ac_try_echo"; } >&5
 
2030
  (eval "$ac_compile") 2>conftest.err
 
2031
  ac_status=$?
 
2032
  if test -s conftest.err; then
 
2033
    grep -v '^ *+' conftest.err >conftest.er1
 
2034
    cat conftest.er1 >&5
 
2035
    mv -f conftest.er1 conftest.err
 
2036
  fi
 
2037
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2038
  test $ac_status = 0; } && {
 
2039
         test -z "$ac_c_werror_flag" ||
 
2040
         test ! -s conftest.err
 
2041
       } && test -s conftest.$ac_objext; then :
 
2042
  ac_retval=0
 
2043
else
 
2044
  $as_echo "$as_me: failed program was:" >&5
 
2045
sed 's/^/| /' conftest.$ac_ext >&5
 
2046
 
 
2047
        ac_retval=1
 
2048
fi
 
2049
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2050
  as_fn_set_status $ac_retval
 
2051
 
 
2052
} # ac_fn_c_try_compile
 
2053
 
 
2054
# ac_fn_c_try_cpp LINENO
 
2055
# ----------------------
 
2056
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2057
ac_fn_c_try_cpp ()
 
2058
{
 
2059
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2060
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2061
case "(($ac_try" in
 
2062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2063
  *) ac_try_echo=$ac_try;;
 
2064
esac
 
2065
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2066
$as_echo "$ac_try_echo"; } >&5
 
2067
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2068
  ac_status=$?
 
2069
  if test -s conftest.err; then
 
2070
    grep -v '^ *+' conftest.err >conftest.er1
 
2071
    cat conftest.er1 >&5
 
2072
    mv -f conftest.er1 conftest.err
 
2073
  fi
 
2074
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2075
  test $ac_status = 0; } > conftest.i && {
 
2076
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
2077
         test ! -s conftest.err
 
2078
       }; then :
 
2079
  ac_retval=0
 
2080
else
 
2081
  $as_echo "$as_me: failed program was:" >&5
 
2082
sed 's/^/| /' conftest.$ac_ext >&5
 
2083
 
 
2084
    ac_retval=1
 
2085
fi
 
2086
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2087
  as_fn_set_status $ac_retval
 
2088
 
 
2089
} # ac_fn_c_try_cpp
 
2090
 
 
2091
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2092
# -------------------------------------------------------
 
2093
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2094
# the include files in INCLUDES and setting the cache variable VAR
 
2095
# accordingly.
 
2096
ac_fn_c_check_header_mongrel ()
 
2097
{
 
2098
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2099
  if eval \${$3+:} false; then :
 
2100
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2101
$as_echo_n "checking for $2... " >&6; }
 
2102
if eval \${$3+:} false; then :
 
2103
  $as_echo_n "(cached) " >&6
 
2104
fi
 
2105
eval ac_res=\$$3
 
2106
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2107
$as_echo "$ac_res" >&6; }
 
2108
else
 
2109
  # Is the header compilable?
 
2110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2111
$as_echo_n "checking $2 usability... " >&6; }
 
2112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2113
/* end confdefs.h.  */
 
2114
$4
 
2115
#include <$2>
 
2116
_ACEOF
 
2117
if ac_fn_c_try_compile "$LINENO"; then :
 
2118
  ac_header_compiler=yes
 
2119
else
 
2120
  ac_header_compiler=no
 
2121
fi
 
2122
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2124
$as_echo "$ac_header_compiler" >&6; }
 
2125
 
 
2126
# Is the header present?
 
2127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2128
$as_echo_n "checking $2 presence... " >&6; }
 
2129
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2130
/* end confdefs.h.  */
 
2131
#include <$2>
 
2132
_ACEOF
 
2133
if ac_fn_c_try_cpp "$LINENO"; then :
 
2134
  ac_header_preproc=yes
 
2135
else
 
2136
  ac_header_preproc=no
 
2137
fi
 
2138
rm -f conftest.err conftest.i conftest.$ac_ext
 
2139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2140
$as_echo "$ac_header_preproc" >&6; }
 
2141
 
 
2142
# So?  What about this header?
 
2143
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2144
  yes:no: )
 
2145
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2146
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2147
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2148
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2149
    ;;
 
2150
  no:yes:* )
 
2151
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2152
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2153
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2154
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2155
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2156
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2157
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2158
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2159
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2160
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2161
( $as_echo "## -------------------------------------- ##
 
2162
## Report this to uim-en@googlegroups.com ##
 
2163
## -------------------------------------- ##"
 
2164
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2165
    ;;
 
2166
esac
 
2167
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2168
$as_echo_n "checking for $2... " >&6; }
 
2169
if eval \${$3+:} false; then :
 
2170
  $as_echo_n "(cached) " >&6
 
2171
else
 
2172
  eval "$3=\$ac_header_compiler"
 
2173
fi
 
2174
eval ac_res=\$$3
 
2175
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2176
$as_echo "$ac_res" >&6; }
 
2177
fi
 
2178
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2179
 
 
2180
} # ac_fn_c_check_header_mongrel
 
2181
 
 
2182
# ac_fn_c_try_run LINENO
 
2183
# ----------------------
 
2184
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2185
# that executables *can* be run.
 
2186
ac_fn_c_try_run ()
 
2187
{
 
2188
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2189
  if { { ac_try="$ac_link"
 
2190
case "(($ac_try" in
 
2191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2192
  *) ac_try_echo=$ac_try;;
 
2193
esac
 
2194
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2195
$as_echo "$ac_try_echo"; } >&5
 
2196
  (eval "$ac_link") 2>&5
 
2197
  ac_status=$?
 
2198
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2199
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2200
  { { case "(($ac_try" in
 
2201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2202
  *) ac_try_echo=$ac_try;;
 
2203
esac
 
2204
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2205
$as_echo "$ac_try_echo"; } >&5
 
2206
  (eval "$ac_try") 2>&5
 
2207
  ac_status=$?
 
2208
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2209
  test $ac_status = 0; }; }; then :
 
2210
  ac_retval=0
 
2211
else
 
2212
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2213
       $as_echo "$as_me: failed program was:" >&5
 
2214
sed 's/^/| /' conftest.$ac_ext >&5
 
2215
 
 
2216
       ac_retval=$ac_status
 
2217
fi
 
2218
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2219
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2220
  as_fn_set_status $ac_retval
 
2221
 
 
2222
} # ac_fn_c_try_run
 
2223
 
 
2224
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
2225
# -------------------------------------------------------
 
2226
# Tests whether HEADER exists and can be compiled using the include files in
 
2227
# INCLUDES, setting the cache variable VAR accordingly.
 
2228
ac_fn_c_check_header_compile ()
 
2229
{
 
2230
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2231
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2232
$as_echo_n "checking for $2... " >&6; }
 
2233
if eval \${$3+:} false; then :
 
2234
  $as_echo_n "(cached) " >&6
 
2235
else
 
2236
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2237
/* end confdefs.h.  */
 
2238
$4
 
2239
#include <$2>
 
2240
_ACEOF
 
2241
if ac_fn_c_try_compile "$LINENO"; then :
 
2242
  eval "$3=yes"
 
2243
else
 
2244
  eval "$3=no"
 
2245
fi
 
2246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2247
fi
 
2248
eval ac_res=\$$3
 
2249
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2250
$as_echo "$ac_res" >&6; }
 
2251
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2252
 
 
2253
} # ac_fn_c_check_header_compile
 
2254
 
 
2255
# ac_fn_cxx_try_compile LINENO
 
2256
# ----------------------------
 
2257
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
2258
ac_fn_cxx_try_compile ()
 
2259
{
 
2260
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2261
  rm -f conftest.$ac_objext
 
2262
  if { { ac_try="$ac_compile"
 
2263
case "(($ac_try" in
 
2264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2265
  *) ac_try_echo=$ac_try;;
 
2266
esac
 
2267
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2268
$as_echo "$ac_try_echo"; } >&5
 
2269
  (eval "$ac_compile") 2>conftest.err
 
2270
  ac_status=$?
 
2271
  if test -s conftest.err; then
 
2272
    grep -v '^ *+' conftest.err >conftest.er1
 
2273
    cat conftest.er1 >&5
 
2274
    mv -f conftest.er1 conftest.err
 
2275
  fi
 
2276
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2277
  test $ac_status = 0; } && {
 
2278
         test -z "$ac_cxx_werror_flag" ||
 
2279
         test ! -s conftest.err
 
2280
       } && test -s conftest.$ac_objext; then :
 
2281
  ac_retval=0
 
2282
else
 
2283
  $as_echo "$as_me: failed program was:" >&5
 
2284
sed 's/^/| /' conftest.$ac_ext >&5
 
2285
 
 
2286
        ac_retval=1
 
2287
fi
 
2288
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2289
  as_fn_set_status $ac_retval
 
2290
 
 
2291
} # ac_fn_cxx_try_compile
 
2292
 
 
2293
# ac_fn_objc_try_compile LINENO
 
2294
# -----------------------------
 
2295
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
2296
ac_fn_objc_try_compile ()
 
2297
{
 
2298
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2299
  rm -f conftest.$ac_objext
 
2300
  if { { ac_try="$ac_compile"
 
2301
case "(($ac_try" in
 
2302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2303
  *) ac_try_echo=$ac_try;;
 
2304
esac
 
2305
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2306
$as_echo "$ac_try_echo"; } >&5
 
2307
  (eval "$ac_compile") 2>conftest.err
 
2308
  ac_status=$?
 
2309
  if test -s conftest.err; then
 
2310
    grep -v '^ *+' conftest.err >conftest.er1
 
2311
    cat conftest.er1 >&5
 
2312
    mv -f conftest.er1 conftest.err
 
2313
  fi
 
2314
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2315
  test $ac_status = 0; } && {
 
2316
         test -z "$ac_objc_werror_flag" ||
 
2317
         test ! -s conftest.err
 
2318
       } && test -s conftest.$ac_objext; then :
 
2319
  ac_retval=0
 
2320
else
 
2321
  $as_echo "$as_me: failed program was:" >&5
 
2322
sed 's/^/| /' conftest.$ac_ext >&5
 
2323
 
 
2324
        ac_retval=1
 
2325
fi
 
2326
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2327
  as_fn_set_status $ac_retval
 
2328
 
 
2329
} # ac_fn_objc_try_compile
 
2330
 
 
2331
# ac_fn_c_try_link LINENO
 
2332
# -----------------------
 
2333
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2334
ac_fn_c_try_link ()
 
2335
{
 
2336
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2337
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2338
  if { { ac_try="$ac_link"
 
2339
case "(($ac_try" in
 
2340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2341
  *) ac_try_echo=$ac_try;;
 
2342
esac
 
2343
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2344
$as_echo "$ac_try_echo"; } >&5
 
2345
  (eval "$ac_link") 2>conftest.err
 
2346
  ac_status=$?
 
2347
  if test -s conftest.err; then
 
2348
    grep -v '^ *+' conftest.err >conftest.er1
 
2349
    cat conftest.er1 >&5
 
2350
    mv -f conftest.er1 conftest.err
 
2351
  fi
 
2352
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2353
  test $ac_status = 0; } && {
 
2354
         test -z "$ac_c_werror_flag" ||
 
2355
         test ! -s conftest.err
 
2356
       } && test -s conftest$ac_exeext && {
 
2357
         test "$cross_compiling" = yes ||
 
2358
         $as_test_x conftest$ac_exeext
 
2359
       }; then :
 
2360
  ac_retval=0
 
2361
else
 
2362
  $as_echo "$as_me: failed program was:" >&5
 
2363
sed 's/^/| /' conftest.$ac_ext >&5
 
2364
 
 
2365
        ac_retval=1
 
2366
fi
 
2367
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2368
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2369
  # interfere with the next link command; also delete a directory that is
 
2370
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2371
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2372
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2373
  as_fn_set_status $ac_retval
 
2374
 
 
2375
} # ac_fn_c_try_link
 
2376
 
 
2377
# ac_fn_c_check_func LINENO FUNC VAR
 
2378
# ----------------------------------
 
2379
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2380
ac_fn_c_check_func ()
 
2381
{
 
2382
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2383
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2384
$as_echo_n "checking for $2... " >&6; }
 
2385
if eval \${$3+:} false; then :
 
2386
  $as_echo_n "(cached) " >&6
 
2387
else
 
2388
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2389
/* end confdefs.h.  */
 
2390
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2391
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2392
#define $2 innocuous_$2
 
2393
 
 
2394
/* System header to define __stub macros and hopefully few prototypes,
 
2395
    which can conflict with char $2 (); below.
 
2396
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2397
    <limits.h> exists even on freestanding compilers.  */
 
2398
 
 
2399
#ifdef __STDC__
 
2400
# include <limits.h>
 
2401
#else
 
2402
# include <assert.h>
 
2403
#endif
 
2404
 
 
2405
#undef $2
 
2406
 
 
2407
/* Override any GCC internal prototype to avoid an error.
 
2408
   Use char because int might match the return type of a GCC
 
2409
   builtin and then its argument prototype would still apply.  */
 
2410
#ifdef __cplusplus
 
2411
extern "C"
 
2412
#endif
 
2413
char $2 ();
 
2414
/* The GNU C library defines this for functions which it implements
 
2415
    to always fail with ENOSYS.  Some functions are actually named
 
2416
    something starting with __ and the normal name is an alias.  */
 
2417
#if defined __stub_$2 || defined __stub___$2
 
2418
choke me
 
2419
#endif
 
2420
 
 
2421
int
 
2422
main ()
 
2423
{
 
2424
return $2 ();
 
2425
  ;
 
2426
  return 0;
 
2427
}
 
2428
_ACEOF
 
2429
if ac_fn_c_try_link "$LINENO"; then :
 
2430
  eval "$3=yes"
 
2431
else
 
2432
  eval "$3=no"
 
2433
fi
 
2434
rm -f core conftest.err conftest.$ac_objext \
 
2435
    conftest$ac_exeext conftest.$ac_ext
 
2436
fi
 
2437
eval ac_res=\$$3
 
2438
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2439
$as_echo "$ac_res" >&6; }
 
2440
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2441
 
 
2442
} # ac_fn_c_check_func
 
2443
 
 
2444
# ac_fn_cxx_try_cpp LINENO
 
2445
# ------------------------
 
2446
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2447
ac_fn_cxx_try_cpp ()
 
2448
{
 
2449
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2450
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2451
case "(($ac_try" in
 
2452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2453
  *) ac_try_echo=$ac_try;;
 
2454
esac
 
2455
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2456
$as_echo "$ac_try_echo"; } >&5
 
2457
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2458
  ac_status=$?
 
2459
  if test -s conftest.err; then
 
2460
    grep -v '^ *+' conftest.err >conftest.er1
 
2461
    cat conftest.er1 >&5
 
2462
    mv -f conftest.er1 conftest.err
 
2463
  fi
 
2464
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2465
  test $ac_status = 0; } > conftest.i && {
 
2466
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2467
         test ! -s conftest.err
 
2468
       }; then :
 
2469
  ac_retval=0
 
2470
else
 
2471
  $as_echo "$as_me: failed program was:" >&5
 
2472
sed 's/^/| /' conftest.$ac_ext >&5
 
2473
 
 
2474
    ac_retval=1
 
2475
fi
 
2476
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2477
  as_fn_set_status $ac_retval
 
2478
 
 
2479
} # ac_fn_cxx_try_cpp
 
2480
 
 
2481
# ac_fn_cxx_try_link LINENO
 
2482
# -------------------------
 
2483
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2484
ac_fn_cxx_try_link ()
 
2485
{
 
2486
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2487
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2488
  if { { ac_try="$ac_link"
 
2489
case "(($ac_try" in
 
2490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2491
  *) ac_try_echo=$ac_try;;
 
2492
esac
 
2493
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2494
$as_echo "$ac_try_echo"; } >&5
 
2495
  (eval "$ac_link") 2>conftest.err
 
2496
  ac_status=$?
 
2497
  if test -s conftest.err; then
 
2498
    grep -v '^ *+' conftest.err >conftest.er1
 
2499
    cat conftest.er1 >&5
 
2500
    mv -f conftest.er1 conftest.err
 
2501
  fi
 
2502
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2503
  test $ac_status = 0; } && {
 
2504
         test -z "$ac_cxx_werror_flag" ||
 
2505
         test ! -s conftest.err
 
2506
       } && test -s conftest$ac_exeext && {
 
2507
         test "$cross_compiling" = yes ||
 
2508
         $as_test_x conftest$ac_exeext
 
2509
       }; then :
 
2510
  ac_retval=0
 
2511
else
 
2512
  $as_echo "$as_me: failed program was:" >&5
 
2513
sed 's/^/| /' conftest.$ac_ext >&5
 
2514
 
 
2515
        ac_retval=1
 
2516
fi
 
2517
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2518
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2519
  # interfere with the next link command; also delete a directory that is
 
2520
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2521
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2522
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2523
  as_fn_set_status $ac_retval
 
2524
 
 
2525
} # ac_fn_cxx_try_link
 
2526
 
 
2527
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2528
# -------------------------------------------
 
2529
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2530
# variable VAR accordingly.
 
2531
ac_fn_c_check_type ()
 
2532
{
 
2533
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2534
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2535
$as_echo_n "checking for $2... " >&6; }
 
2536
if eval \${$3+:} false; then :
 
2537
  $as_echo_n "(cached) " >&6
 
2538
else
 
2539
  eval "$3=no"
 
2540
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2541
/* end confdefs.h.  */
 
2542
$4
 
2543
int
 
2544
main ()
 
2545
{
 
2546
if (sizeof ($2))
 
2547
         return 0;
 
2548
  ;
 
2549
  return 0;
 
2550
}
 
2551
_ACEOF
 
2552
if ac_fn_c_try_compile "$LINENO"; then :
 
2553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2554
/* end confdefs.h.  */
 
2555
$4
 
2556
int
 
2557
main ()
 
2558
{
 
2559
if (sizeof (($2)))
 
2560
            return 0;
 
2561
  ;
 
2562
  return 0;
 
2563
}
 
2564
_ACEOF
 
2565
if ac_fn_c_try_compile "$LINENO"; then :
 
2566
 
 
2567
else
 
2568
  eval "$3=yes"
 
2569
fi
 
2570
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2571
fi
 
2572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2573
fi
 
2574
eval ac_res=\$$3
 
2575
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2576
$as_echo "$ac_res" >&6; }
 
2577
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2578
 
 
2579
} # ac_fn_c_check_type
 
2580
 
 
2581
# ac_fn_c_find_intX_t LINENO BITS VAR
 
2582
# -----------------------------------
 
2583
# Finds a signed integer type with width BITS, setting cache variable VAR
 
2584
# accordingly.
 
2585
ac_fn_c_find_intX_t ()
 
2586
{
 
2587
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2588
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
 
2589
$as_echo_n "checking for int$2_t... " >&6; }
 
2590
if eval \${$3+:} false; then :
 
2591
  $as_echo_n "(cached) " >&6
 
2592
else
 
2593
  eval "$3=no"
 
2594
     # Order is important - never check a type that is potentially smaller
 
2595
     # than half of the expected target width.
 
2596
     for ac_type in int$2_t 'int' 'long int' \
 
2597
         'long long int' 'short int' 'signed char'; do
 
2598
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2599
/* end confdefs.h.  */
 
2600
$ac_includes_default
 
2601
             enum { N = $2 / 2 - 1 };
 
2602
int
 
2603
main ()
 
2604
{
 
2605
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 
2606
test_array [0] = 0
 
2607
 
 
2608
  ;
 
2609
  return 0;
 
2610
}
 
2611
_ACEOF
 
2612
if ac_fn_c_try_compile "$LINENO"; then :
 
2613
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2614
/* end confdefs.h.  */
 
2615
$ac_includes_default
 
2616
                enum { N = $2 / 2 - 1 };
 
2617
int
 
2618
main ()
 
2619
{
 
2620
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 
2621
                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
 
2622
test_array [0] = 0
 
2623
 
 
2624
  ;
 
2625
  return 0;
 
2626
}
 
2627
_ACEOF
 
2628
if ac_fn_c_try_compile "$LINENO"; then :
 
2629
 
 
2630
else
 
2631
  case $ac_type in #(
 
2632
  int$2_t) :
 
2633
    eval "$3=yes" ;; #(
 
2634
  *) :
 
2635
    eval "$3=\$ac_type" ;;
 
2636
esac
 
2637
fi
 
2638
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2639
fi
 
2640
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2641
       if eval test \"x\$"$3"\" = x"no"; then :
 
2642
 
 
2643
else
 
2644
  break
 
2645
fi
 
2646
     done
 
2647
fi
 
2648
eval ac_res=\$$3
 
2649
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2650
$as_echo "$ac_res" >&6; }
 
2651
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2652
 
 
2653
} # ac_fn_c_find_intX_t
 
2654
 
 
2655
# ac_fn_c_find_uintX_t LINENO BITS VAR
 
2656
# ------------------------------------
 
2657
# Finds an unsigned integer type with width BITS, setting cache variable VAR
 
2658
# accordingly.
 
2659
ac_fn_c_find_uintX_t ()
 
2660
{
 
2661
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2662
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
 
2663
$as_echo_n "checking for uint$2_t... " >&6; }
 
2664
if eval \${$3+:} false; then :
 
2665
  $as_echo_n "(cached) " >&6
 
2666
else
 
2667
  eval "$3=no"
 
2668
     # Order is important - never check a type that is potentially smaller
 
2669
     # than half of the expected target width.
 
2670
     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
 
2671
         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
 
2672
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2673
/* end confdefs.h.  */
 
2674
$ac_includes_default
 
2675
int
 
2676
main ()
 
2677
{
 
2678
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
 
2679
test_array [0] = 0
 
2680
 
 
2681
  ;
 
2682
  return 0;
 
2683
}
 
2684
_ACEOF
 
2685
if ac_fn_c_try_compile "$LINENO"; then :
 
2686
  case $ac_type in #(
 
2687
  uint$2_t) :
 
2688
    eval "$3=yes" ;; #(
 
2689
  *) :
 
2690
    eval "$3=\$ac_type" ;;
 
2691
esac
 
2692
fi
 
2693
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2694
       if eval test \"x\$"$3"\" = x"no"; then :
 
2695
 
 
2696
else
 
2697
  break
 
2698
fi
 
2699
     done
 
2700
fi
 
2701
eval ac_res=\$$3
 
2702
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2703
$as_echo "$ac_res" >&6; }
 
2704
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2705
 
 
2706
} # ac_fn_c_find_uintX_t
 
2707
 
 
2708
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
2709
# ---------------------------------------------
 
2710
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
2711
# accordingly.
 
2712
ac_fn_c_check_decl ()
 
2713
{
 
2714
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2715
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
2716
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
2717
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
2718
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
2719
if eval \${$3+:} false; then :
 
2720
  $as_echo_n "(cached) " >&6
 
2721
else
 
2722
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2723
/* end confdefs.h.  */
 
2724
$4
 
2725
int
 
2726
main ()
 
2727
{
 
2728
#ifndef $as_decl_name
 
2729
#ifdef __cplusplus
 
2730
  (void) $as_decl_use;
 
2731
#else
 
2732
  (void) $as_decl_name;
 
2733
#endif
 
2734
#endif
 
2735
 
 
2736
  ;
 
2737
  return 0;
 
2738
}
 
2739
_ACEOF
 
2740
if ac_fn_c_try_compile "$LINENO"; then :
 
2741
  eval "$3=yes"
 
2742
else
 
2743
  eval "$3=no"
 
2744
fi
 
2745
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2746
fi
 
2747
eval ac_res=\$$3
 
2748
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2749
$as_echo "$ac_res" >&6; }
 
2750
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2751
 
 
2752
} # ac_fn_c_check_decl
 
2753
 
 
2754
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2755
# ---------------------------------------------------------
 
2756
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2757
# the include files in INCLUDES and setting the cache variable VAR
 
2758
# accordingly.
 
2759
ac_fn_cxx_check_header_mongrel ()
 
2760
{
 
2761
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2762
  if eval \${$3+:} false; then :
 
2763
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2764
$as_echo_n "checking for $2... " >&6; }
 
2765
if eval \${$3+:} false; then :
 
2766
  $as_echo_n "(cached) " >&6
 
2767
fi
 
2768
eval ac_res=\$$3
 
2769
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2770
$as_echo "$ac_res" >&6; }
 
2771
else
 
2772
  # Is the header compilable?
 
2773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2774
$as_echo_n "checking $2 usability... " >&6; }
 
2775
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2776
/* end confdefs.h.  */
 
2777
$4
 
2778
#include <$2>
 
2779
_ACEOF
 
2780
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2781
  ac_header_compiler=yes
 
2782
else
 
2783
  ac_header_compiler=no
 
2784
fi
 
2785
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2787
$as_echo "$ac_header_compiler" >&6; }
 
2788
 
 
2789
# Is the header present?
 
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2791
$as_echo_n "checking $2 presence... " >&6; }
 
2792
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2793
/* end confdefs.h.  */
 
2794
#include <$2>
 
2795
_ACEOF
 
2796
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
2797
  ac_header_preproc=yes
 
2798
else
 
2799
  ac_header_preproc=no
 
2800
fi
 
2801
rm -f conftest.err conftest.i conftest.$ac_ext
 
2802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2803
$as_echo "$ac_header_preproc" >&6; }
 
2804
 
 
2805
# So?  What about this header?
 
2806
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
2807
  yes:no: )
 
2808
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2809
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2810
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2811
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2812
    ;;
 
2813
  no:yes:* )
 
2814
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2815
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2816
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2817
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2818
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2819
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2820
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2821
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2822
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2823
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2824
( $as_echo "## -------------------------------------- ##
 
2825
## Report this to uim-en@googlegroups.com ##
 
2826
## -------------------------------------- ##"
 
2827
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2828
    ;;
 
2829
esac
 
2830
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2831
$as_echo_n "checking for $2... " >&6; }
 
2832
if eval \${$3+:} false; then :
 
2833
  $as_echo_n "(cached) " >&6
 
2834
else
 
2835
  eval "$3=\$ac_header_compiler"
 
2836
fi
 
2837
eval ac_res=\$$3
 
2838
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2839
$as_echo "$ac_res" >&6; }
 
2840
fi
 
2841
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2842
 
 
2843
} # ac_fn_cxx_check_header_mongrel
 
2844
cat >config.log <<_ACEOF
 
2845
This file contains any messages produced by compilers while
 
2846
running configure, to aid debugging if configure makes a mistake.
 
2847
 
 
2848
It was created by uim $as_me 1.8.6, which was
 
2849
generated by GNU Autoconf 2.68.  Invocation command line was
 
2850
 
 
2851
  $ $0 $@
 
2852
 
 
2853
_ACEOF
 
2854
exec 5>>config.log
 
2855
{
 
2856
cat <<_ASUNAME
 
2857
## --------- ##
 
2858
## Platform. ##
 
2859
## --------- ##
 
2860
 
 
2861
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2862
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2863
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2864
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2865
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2866
 
 
2867
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2868
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2869
 
 
2870
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2871
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2872
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2873
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2874
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2875
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2876
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2877
 
 
2878
_ASUNAME
 
2879
 
 
2880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2881
for as_dir in $PATH
 
2882
do
 
2883
  IFS=$as_save_IFS
 
2884
  test -z "$as_dir" && as_dir=.
 
2885
    $as_echo "PATH: $as_dir"
 
2886
  done
 
2887
IFS=$as_save_IFS
 
2888
 
 
2889
} >&5
 
2890
 
 
2891
cat >&5 <<_ACEOF
 
2892
 
 
2893
 
 
2894
## ----------- ##
 
2895
## Core tests. ##
 
2896
## ----------- ##
 
2897
 
 
2898
_ACEOF
 
2899
 
 
2900
 
 
2901
# Keep a trace of the command line.
 
2902
# Strip out --no-create and --no-recursion so they do not pile up.
 
2903
# Strip out --silent because we don't want to record it for future runs.
 
2904
# Also quote any args containing shell meta-characters.
 
2905
# Make two passes to allow for proper duplicate-argument suppression.
 
2906
ac_configure_args=
 
2907
ac_configure_args0=
 
2908
ac_configure_args1=
 
2909
ac_must_keep_next=false
 
2910
for ac_pass in 1 2
 
2911
do
 
2912
  for ac_arg
 
2913
  do
 
2914
    case $ac_arg in
 
2915
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2916
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2917
    | -silent | --silent | --silen | --sile | --sil)
 
2918
      continue ;;
 
2919
    *\'*)
 
2920
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2921
    esac
 
2922
    case $ac_pass in
 
2923
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2924
    2)
 
2925
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2926
      if test $ac_must_keep_next = true; then
 
2927
        ac_must_keep_next=false # Got value, back to normal.
 
2928
      else
 
2929
        case $ac_arg in
 
2930
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2931
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2932
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2933
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2934
            case "$ac_configure_args0 " in
 
2935
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2936
            esac
 
2937
            ;;
 
2938
          -* ) ac_must_keep_next=true ;;
 
2939
        esac
 
2940
      fi
 
2941
      as_fn_append ac_configure_args " '$ac_arg'"
 
2942
      ;;
 
2943
    esac
 
2944
  done
 
2945
done
 
2946
{ ac_configure_args0=; unset ac_configure_args0;}
 
2947
{ ac_configure_args1=; unset ac_configure_args1;}
 
2948
 
 
2949
# When interrupted or exit'd, cleanup temporary files, and complete
 
2950
# config.log.  We remove comments because anyway the quotes in there
 
2951
# would cause problems or look ugly.
 
2952
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2953
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2954
trap 'exit_status=$?
 
2955
  # Save into config.log some information that might help in debugging.
 
2956
  {
 
2957
    echo
 
2958
 
 
2959
    $as_echo "## ---------------- ##
 
2960
## Cache variables. ##
 
2961
## ---------------- ##"
 
2962
    echo
 
2963
    # The following way of writing the cache mishandles newlines in values,
 
2964
(
 
2965
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2966
    eval ac_val=\$$ac_var
 
2967
    case $ac_val in #(
 
2968
    *${as_nl}*)
 
2969
      case $ac_var in #(
 
2970
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2971
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2972
      esac
 
2973
      case $ac_var in #(
 
2974
      _ | IFS | as_nl) ;; #(
 
2975
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2976
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2977
      esac ;;
 
2978
    esac
 
2979
  done
 
2980
  (set) 2>&1 |
 
2981
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2982
    *${as_nl}ac_space=\ *)
 
2983
      sed -n \
 
2984
        "s/'\''/'\''\\\\'\'''\''/g;
 
2985
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2986
      ;; #(
 
2987
    *)
 
2988
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2989
      ;;
 
2990
    esac |
 
2991
    sort
 
2992
)
 
2993
    echo
 
2994
 
 
2995
    $as_echo "## ----------------- ##
 
2996
## Output variables. ##
 
2997
## ----------------- ##"
 
2998
    echo
 
2999
    for ac_var in $ac_subst_vars
 
3000
    do
 
3001
      eval ac_val=\$$ac_var
 
3002
      case $ac_val in
 
3003
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
3004
      esac
 
3005
      $as_echo "$ac_var='\''$ac_val'\''"
 
3006
    done | sort
 
3007
    echo
 
3008
 
 
3009
    if test -n "$ac_subst_files"; then
 
3010
      $as_echo "## ------------------- ##
 
3011
## File substitutions. ##
 
3012
## ------------------- ##"
 
3013
      echo
 
3014
      for ac_var in $ac_subst_files
 
3015
      do
 
3016
        eval ac_val=\$$ac_var
 
3017
        case $ac_val in
 
3018
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
3019
        esac
 
3020
        $as_echo "$ac_var='\''$ac_val'\''"
 
3021
      done | sort
 
3022
      echo
 
3023
    fi
 
3024
 
 
3025
    if test -s confdefs.h; then
 
3026
      $as_echo "## ----------- ##
 
3027
## confdefs.h. ##
 
3028
## ----------- ##"
 
3029
      echo
 
3030
      cat confdefs.h
 
3031
      echo
 
3032
    fi
 
3033
    test "$ac_signal" != 0 &&
 
3034
      $as_echo "$as_me: caught signal $ac_signal"
 
3035
    $as_echo "$as_me: exit $exit_status"
 
3036
  } >&5
 
3037
  rm -f core *.core core.conftest.* &&
 
3038
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
3039
    exit $exit_status
 
3040
' 0
 
3041
for ac_signal in 1 2 13 15; do
 
3042
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
3043
done
 
3044
ac_signal=0
 
3045
 
 
3046
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
3047
rm -f -r conftest* confdefs.h
 
3048
 
 
3049
$as_echo "/* confdefs.h */" > confdefs.h
 
3050
 
 
3051
# Predefined preprocessor variables.
 
3052
 
 
3053
cat >>confdefs.h <<_ACEOF
 
3054
#define PACKAGE_NAME "$PACKAGE_NAME"
 
3055
_ACEOF
 
3056
 
 
3057
cat >>confdefs.h <<_ACEOF
 
3058
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
3059
_ACEOF
 
3060
 
 
3061
cat >>confdefs.h <<_ACEOF
 
3062
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
3063
_ACEOF
 
3064
 
 
3065
cat >>confdefs.h <<_ACEOF
 
3066
#define PACKAGE_STRING "$PACKAGE_STRING"
 
3067
_ACEOF
 
3068
 
 
3069
cat >>confdefs.h <<_ACEOF
 
3070
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
3071
_ACEOF
 
3072
 
 
3073
cat >>confdefs.h <<_ACEOF
 
3074
#define PACKAGE_URL "$PACKAGE_URL"
 
3075
_ACEOF
 
3076
 
 
3077
 
 
3078
# Let the site file select an alternate cache file if it wants to.
 
3079
# Prefer an explicitly selected file to automatically selected ones.
 
3080
ac_site_file1=NONE
 
3081
ac_site_file2=NONE
 
3082
if test -n "$CONFIG_SITE"; then
 
3083
  # We do not want a PATH search for config.site.
 
3084
  case $CONFIG_SITE in #((
 
3085
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
3086
    */*) ac_site_file1=$CONFIG_SITE;;
 
3087
    *)   ac_site_file1=./$CONFIG_SITE;;
 
3088
  esac
 
3089
elif test "x$prefix" != xNONE; then
 
3090
  ac_site_file1=$prefix/share/config.site
 
3091
  ac_site_file2=$prefix/etc/config.site
 
3092
else
 
3093
  ac_site_file1=$ac_default_prefix/share/config.site
 
3094
  ac_site_file2=$ac_default_prefix/etc/config.site
 
3095
fi
 
3096
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
3097
do
 
3098
  test "x$ac_site_file" = xNONE && continue
 
3099
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
3100
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
3101
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
3102
    sed 's/^/| /' "$ac_site_file" >&5
 
3103
    . "$ac_site_file" \
 
3104
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3105
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3106
as_fn_error $? "failed to load site script $ac_site_file
 
3107
See \`config.log' for more details" "$LINENO" 5; }
 
3108
  fi
 
3109
done
 
3110
 
 
3111
if test -r "$cache_file"; then
 
3112
  # Some versions of bash will fail to source /dev/null (special files
 
3113
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
3114
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
3115
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
3116
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
3117
    case $cache_file in
 
3118
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
3119
      *)                      . "./$cache_file";;
 
3120
    esac
 
3121
  fi
 
3122
else
 
3123
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
3124
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
3125
  >$cache_file
 
3126
fi
 
3127
 
 
3128
as_fn_append ac_header_list " stdlib.h"
 
3129
as_fn_append ac_header_list " unistd.h"
 
3130
as_fn_append ac_header_list " sys/param.h"
 
3131
gt_needs="$gt_needs need-ngettext"
 
3132
# Check that the precious variables saved in the cache have kept the same
 
3133
# value.
 
3134
ac_cache_corrupted=false
 
3135
for ac_var in $ac_precious_vars; do
 
3136
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
3137
  eval ac_new_set=\$ac_env_${ac_var}_set
 
3138
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
3139
  eval ac_new_val=\$ac_env_${ac_var}_value
 
3140
  case $ac_old_set,$ac_new_set in
 
3141
    set,)
 
3142
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
3143
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
3144
      ac_cache_corrupted=: ;;
 
3145
    ,set)
 
3146
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
3147
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
3148
      ac_cache_corrupted=: ;;
 
3149
    ,);;
 
3150
    *)
 
3151
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
3152
        # differences in whitespace do not lead to failure.
 
3153
        ac_old_val_w=`echo x $ac_old_val`
 
3154
        ac_new_val_w=`echo x $ac_new_val`
 
3155
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
3156
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
3157
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
3158
          ac_cache_corrupted=:
 
3159
        else
 
3160
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
3161
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
3162
          eval $ac_var=\$ac_old_val
 
3163
        fi
 
3164
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
3165
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
3166
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
3167
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
3168
      fi;;
 
3169
  esac
 
3170
  # Pass precious variables to config.status.
 
3171
  if test "$ac_new_set" = set; then
 
3172
    case $ac_new_val in
 
3173
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
3174
    *) ac_arg=$ac_var=$ac_new_val ;;
 
3175
    esac
 
3176
    case " $ac_configure_args " in
 
3177
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
3178
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
3179
    esac
 
3180
  fi
 
3181
done
 
3182
if $ac_cache_corrupted; then
 
3183
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3184
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3185
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
3186
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
3187
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
3188
fi
 
3189
## -------------------- ##
 
3190
## Main body of script. ##
 
3191
## -------------------- ##
 
3192
 
 
3193
ac_ext=c
 
3194
ac_cpp='$CPP $CPPFLAGS'
 
3195
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3196
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3197
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3198
 
 
3199
 
 
3200
 
 
3201
ac_config_headers="$ac_config_headers uim/config.h"
 
3202
 
 
3203
am__api_version='1.11'
 
3204
 
 
3205
ac_aux_dir=
 
3206
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
3207
  if test -f "$ac_dir/install-sh"; then
 
3208
    ac_aux_dir=$ac_dir
 
3209
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
3210
    break
 
3211
  elif test -f "$ac_dir/install.sh"; then
 
3212
    ac_aux_dir=$ac_dir
 
3213
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
3214
    break
 
3215
  elif test -f "$ac_dir/shtool"; then
 
3216
    ac_aux_dir=$ac_dir
 
3217
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
3218
    break
 
3219
  fi
 
3220
done
 
3221
if test -z "$ac_aux_dir"; then
 
3222
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
3223
fi
 
3224
 
 
3225
# These three variables are undocumented and unsupported,
 
3226
# and are intended to be withdrawn in a future Autoconf release.
 
3227
# They can cause serious problems if a builder's source tree is in a directory
 
3228
# whose full name contains unusual characters.
 
3229
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
3230
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
3231
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
3232
 
 
3233
 
 
3234
# Find a good install program.  We prefer a C program (faster),
 
3235
# so one script is as good as another.  But avoid the broken or
 
3236
# incompatible versions:
 
3237
# SysV /etc/install, /usr/sbin/install
 
3238
# SunOS /usr/etc/install
 
3239
# IRIX /sbin/install
 
3240
# AIX /bin/install
 
3241
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
3242
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
3243
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
3244
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
3245
# OS/2's system install, which has a completely different semantic
 
3246
# ./install, which can be erroneously created by make from ./install.sh.
 
3247
# Reject install programs that cannot install multiple files.
 
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
3249
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
3250
if test -z "$INSTALL"; then
 
3251
if ${ac_cv_path_install+:} false; then :
 
3252
  $as_echo_n "(cached) " >&6
 
3253
else
 
3254
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3255
for as_dir in $PATH
 
3256
do
 
3257
  IFS=$as_save_IFS
 
3258
  test -z "$as_dir" && as_dir=.
 
3259
    # Account for people who put trailing slashes in PATH elements.
 
3260
case $as_dir/ in #((
 
3261
  ./ | .// | /[cC]/* | \
 
3262
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
3263
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
3264
  /usr/ucb/* ) ;;
 
3265
  *)
 
3266
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
3267
    # Don't use installbsd from OSF since it installs stuff as root
 
3268
    # by default.
 
3269
    for ac_prog in ginstall scoinst install; do
 
3270
      for ac_exec_ext in '' $ac_executable_extensions; do
 
3271
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
3272
          if test $ac_prog = install &&
 
3273
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3274
            # AIX install.  It has an incompatible calling convention.
 
3275
            :
 
3276
          elif test $ac_prog = install &&
 
3277
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
3278
            # program-specific install script used by HP pwplus--don't use.
 
3279
            :
 
3280
          else
 
3281
            rm -rf conftest.one conftest.two conftest.dir
 
3282
            echo one > conftest.one
 
3283
            echo two > conftest.two
 
3284
            mkdir conftest.dir
 
3285
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3286
              test -s conftest.one && test -s conftest.two &&
 
3287
              test -s conftest.dir/conftest.one &&
 
3288
              test -s conftest.dir/conftest.two
 
3289
            then
 
3290
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3291
              break 3
 
3292
            fi
 
3293
          fi
 
3294
        fi
 
3295
      done
 
3296
    done
 
3297
    ;;
 
3298
esac
 
3299
 
 
3300
  done
 
3301
IFS=$as_save_IFS
 
3302
 
 
3303
rm -rf conftest.one conftest.two conftest.dir
 
3304
 
 
3305
fi
 
3306
  if test "${ac_cv_path_install+set}" = set; then
 
3307
    INSTALL=$ac_cv_path_install
 
3308
  else
 
3309
    # As a last resort, use the slow shell script.  Don't cache a
 
3310
    # value for INSTALL within a source directory, because that will
 
3311
    # break other packages using the cache if that directory is
 
3312
    # removed, or if the value is a relative name.
 
3313
    INSTALL=$ac_install_sh
 
3314
  fi
 
3315
fi
 
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
3317
$as_echo "$INSTALL" >&6; }
 
3318
 
 
3319
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
3320
# It thinks the first close brace ends the variable substitution.
 
3321
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
3322
 
 
3323
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
3324
 
 
3325
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
3326
 
 
3327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
3328
$as_echo_n "checking whether build environment is sane... " >&6; }
 
3329
# Just in case
 
3330
sleep 1
 
3331
echo timestamp > conftest.file
 
3332
# Reject unsafe characters in $srcdir or the absolute working directory
 
3333
# name.  Accept space and tab only in the latter.
 
3334
am_lf='
 
3335
'
 
3336
case `pwd` in
 
3337
  *[\\\"\#\$\&\'\`$am_lf]*)
 
3338
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
3339
esac
 
3340
case $srcdir in
 
3341
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
3342
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
3343
esac
 
3344
 
 
3345
# Do `set' in a subshell so we don't clobber the current shell's
 
3346
# arguments.  Must try -L first in case configure is actually a
 
3347
# symlink; some systems play weird games with the mod time of symlinks
 
3348
# (eg FreeBSD returns the mod time of the symlink's containing
 
3349
# directory).
 
3350
if (
 
3351
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
3352
   if test "$*" = "X"; then
 
3353
      # -L didn't work.
 
3354
      set X `ls -t "$srcdir/configure" conftest.file`
 
3355
   fi
 
3356
   rm -f conftest.file
 
3357
   if test "$*" != "X $srcdir/configure conftest.file" \
 
3358
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
3359
 
 
3360
      # If neither matched, then we have a broken ls.  This can happen
 
3361
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
3362
      # broken ls alias from the environment.  This has actually
 
3363
      # happened.  Such a system could not be considered "sane".
 
3364
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
3365
alias in your environment" "$LINENO" 5
 
3366
   fi
 
3367
 
 
3368
   test "$2" = conftest.file
 
3369
   )
 
3370
then
 
3371
   # Ok.
 
3372
   :
 
3373
else
 
3374
   as_fn_error $? "newly created file is older than distributed files!
 
3375
Check your system clock" "$LINENO" 5
 
3376
fi
 
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3378
$as_echo "yes" >&6; }
 
3379
test "$program_prefix" != NONE &&
 
3380
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
3381
# Use a double $ so make ignores it.
 
3382
test "$program_suffix" != NONE &&
 
3383
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
3384
# Double any \ or $.
 
3385
# By default was `s,x,x', remove it if useless.
 
3386
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
3387
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
3388
 
 
3389
# expand $ac_aux_dir to an absolute path
 
3390
am_aux_dir=`cd $ac_aux_dir && pwd`
 
3391
 
 
3392
if test x"${MISSING+set}" != xset; then
 
3393
  case $am_aux_dir in
 
3394
  *\ * | *\     *)
 
3395
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
3396
  *)
 
3397
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
3398
  esac
 
3399
fi
 
3400
# Use eval to expand $SHELL
 
3401
if eval "$MISSING --run true"; then
 
3402
  am_missing_run="$MISSING --run "
 
3403
else
 
3404
  am_missing_run=
 
3405
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
3406
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
3407
fi
 
3408
 
 
3409
if test x"${install_sh}" != xset; then
 
3410
  case $am_aux_dir in
 
3411
  *\ * | *\     *)
 
3412
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
3413
  *)
 
3414
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
3415
  esac
 
3416
fi
 
3417
 
 
3418
# Installed binaries are usually stripped using `strip' when the user
 
3419
# run `make install-strip'.  However `strip' might not be the right
 
3420
# tool to use in cross-compilation environments, therefore Automake
 
3421
# will honor the `STRIP' environment variable to overrule this program.
 
3422
if test "$cross_compiling" != no; then
 
3423
  if test -n "$ac_tool_prefix"; then
 
3424
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3425
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3427
$as_echo_n "checking for $ac_word... " >&6; }
 
3428
if ${ac_cv_prog_STRIP+:} false; then :
 
3429
  $as_echo_n "(cached) " >&6
 
3430
else
 
3431
  if test -n "$STRIP"; then
 
3432
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3433
else
 
3434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3435
for as_dir in $PATH
 
3436
do
 
3437
  IFS=$as_save_IFS
 
3438
  test -z "$as_dir" && as_dir=.
 
3439
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3440
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3441
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3442
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3443
    break 2
 
3444
  fi
 
3445
done
 
3446
  done
 
3447
IFS=$as_save_IFS
 
3448
 
 
3449
fi
 
3450
fi
 
3451
STRIP=$ac_cv_prog_STRIP
 
3452
if test -n "$STRIP"; then
 
3453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3454
$as_echo "$STRIP" >&6; }
 
3455
else
 
3456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3457
$as_echo "no" >&6; }
 
3458
fi
 
3459
 
 
3460
 
 
3461
fi
 
3462
if test -z "$ac_cv_prog_STRIP"; then
 
3463
  ac_ct_STRIP=$STRIP
 
3464
  # Extract the first word of "strip", so it can be a program name with args.
 
3465
set dummy strip; ac_word=$2
 
3466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3467
$as_echo_n "checking for $ac_word... " >&6; }
 
3468
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
3469
  $as_echo_n "(cached) " >&6
 
3470
else
 
3471
  if test -n "$ac_ct_STRIP"; then
 
3472
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3473
else
 
3474
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3475
for as_dir in $PATH
 
3476
do
 
3477
  IFS=$as_save_IFS
 
3478
  test -z "$as_dir" && as_dir=.
 
3479
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3481
    ac_cv_prog_ac_ct_STRIP="strip"
 
3482
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3483
    break 2
 
3484
  fi
 
3485
done
 
3486
  done
 
3487
IFS=$as_save_IFS
 
3488
 
 
3489
fi
 
3490
fi
 
3491
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3492
if test -n "$ac_ct_STRIP"; then
 
3493
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3494
$as_echo "$ac_ct_STRIP" >&6; }
 
3495
else
 
3496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3497
$as_echo "no" >&6; }
 
3498
fi
 
3499
 
 
3500
  if test "x$ac_ct_STRIP" = x; then
 
3501
    STRIP=":"
 
3502
  else
 
3503
    case $cross_compiling:$ac_tool_warned in
 
3504
yes:)
 
3505
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3506
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3507
ac_tool_warned=yes ;;
 
3508
esac
 
3509
    STRIP=$ac_ct_STRIP
 
3510
  fi
 
3511
else
 
3512
  STRIP="$ac_cv_prog_STRIP"
 
3513
fi
 
3514
 
 
3515
fi
 
3516
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3517
 
 
3518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3519
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
3520
if test -z "$MKDIR_P"; then
 
3521
  if ${ac_cv_path_mkdir+:} false; then :
 
3522
  $as_echo_n "(cached) " >&6
 
3523
else
 
3524
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3525
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
3526
do
 
3527
  IFS=$as_save_IFS
 
3528
  test -z "$as_dir" && as_dir=.
 
3529
    for ac_prog in mkdir gmkdir; do
 
3530
         for ac_exec_ext in '' $ac_executable_extensions; do
 
3531
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
3532
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
3533
             'mkdir (GNU coreutils) '* | \
 
3534
             'mkdir (coreutils) '* | \
 
3535
             'mkdir (fileutils) '4.1*)
 
3536
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
3537
               break 3;;
 
3538
           esac
 
3539
         done
 
3540
       done
 
3541
  done
 
3542
IFS=$as_save_IFS
 
3543
 
 
3544
fi
 
3545
 
 
3546
  test -d ./--version && rmdir ./--version
 
3547
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3548
    MKDIR_P="$ac_cv_path_mkdir -p"
 
3549
  else
 
3550
    # As a last resort, use the slow shell script.  Don't cache a
 
3551
    # value for MKDIR_P within a source directory, because that will
 
3552
    # break other packages using the cache if that directory is
 
3553
    # removed, or if the value is a relative name.
 
3554
    MKDIR_P="$ac_install_sh -d"
 
3555
  fi
 
3556
fi
 
3557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3558
$as_echo "$MKDIR_P" >&6; }
 
3559
 
 
3560
mkdir_p="$MKDIR_P"
 
3561
case $mkdir_p in
 
3562
  [\\/$]* | ?:[\\/]*) ;;
 
3563
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
3564
esac
 
3565
 
 
3566
for ac_prog in gawk mawk nawk awk
 
3567
do
 
3568
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3569
set dummy $ac_prog; ac_word=$2
 
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3571
$as_echo_n "checking for $ac_word... " >&6; }
 
3572
if ${ac_cv_prog_AWK+:} false; then :
 
3573
  $as_echo_n "(cached) " >&6
 
3574
else
 
3575
  if test -n "$AWK"; then
 
3576
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
3577
else
 
3578
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3579
for as_dir in $PATH
 
3580
do
 
3581
  IFS=$as_save_IFS
 
3582
  test -z "$as_dir" && as_dir=.
 
3583
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3584
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3585
    ac_cv_prog_AWK="$ac_prog"
 
3586
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3587
    break 2
 
3588
  fi
 
3589
done
 
3590
  done
 
3591
IFS=$as_save_IFS
 
3592
 
 
3593
fi
 
3594
fi
 
3595
AWK=$ac_cv_prog_AWK
 
3596
if test -n "$AWK"; then
 
3597
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3598
$as_echo "$AWK" >&6; }
 
3599
else
 
3600
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3601
$as_echo "no" >&6; }
 
3602
fi
 
3603
 
 
3604
 
 
3605
  test -n "$AWK" && break
 
3606
done
 
3607
 
 
3608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3609
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3610
set x ${MAKE-make}
 
3611
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3612
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
3613
  $as_echo_n "(cached) " >&6
 
3614
else
 
3615
  cat >conftest.make <<\_ACEOF
 
3616
SHELL = /bin/sh
 
3617
all:
 
3618
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3619
_ACEOF
 
3620
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
3621
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3622
  *@@@%%%=?*=@@@%%%*)
 
3623
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3624
  *)
 
3625
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3626
esac
 
3627
rm -f conftest.make
 
3628
fi
 
3629
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3631
$as_echo "yes" >&6; }
 
3632
  SET_MAKE=
 
3633
else
 
3634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3635
$as_echo "no" >&6; }
 
3636
  SET_MAKE="MAKE=${MAKE-make}"
 
3637
fi
 
3638
 
 
3639
rm -rf .tst 2>/dev/null
 
3640
mkdir .tst 2>/dev/null
 
3641
if test -d .tst; then
 
3642
  am__leading_dot=.
 
3643
else
 
3644
  am__leading_dot=_
 
3645
fi
 
3646
rmdir .tst 2>/dev/null
 
3647
 
 
3648
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3649
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3650
  # is not polluted with repeated "-I."
 
3651
  am__isrc=' -I$(srcdir)'
 
3652
  # test to see if srcdir already configured
 
3653
  if test -f $srcdir/config.status; then
 
3654
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3655
  fi
 
3656
fi
 
3657
 
 
3658
# test whether we have cygpath
 
3659
if test -z "$CYGPATH_W"; then
 
3660
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3661
    CYGPATH_W='cygpath -w'
 
3662
  else
 
3663
    CYGPATH_W=echo
 
3664
  fi
 
3665
fi
 
3666
 
 
3667
 
 
3668
# Define the identity of the package.
 
3669
 PACKAGE='uim'
 
3670
 VERSION='1.8.6'
 
3671
 
 
3672
 
 
3673
cat >>confdefs.h <<_ACEOF
 
3674
#define PACKAGE "$PACKAGE"
 
3675
_ACEOF
 
3676
 
 
3677
 
 
3678
cat >>confdefs.h <<_ACEOF
 
3679
#define VERSION "$VERSION"
 
3680
_ACEOF
 
3681
 
 
3682
# Some tools Automake needs.
 
3683
 
 
3684
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3685
 
 
3686
 
 
3687
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3688
 
 
3689
 
 
3690
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3691
 
 
3692
 
 
3693
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3694
 
 
3695
 
 
3696
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3697
 
 
3698
# We need awk for the "check" target.  The system "awk" is bad on
 
3699
# some platforms.
 
3700
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
3701
# in the wild :-(  We should find a proper way to deprecate it ...
 
3702
AMTAR='$${TAR-tar}'
 
3703
 
 
3704
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
3705
 
 
3706
 
 
3707
 
 
3708
 
 
3709
 
 
3710
 
 
3711
UIM_VERSION_MAJOR=1
 
3712
 
 
3713
UIM_VERSION_MINOR=8
 
3714
 
 
3715
UIM_VERSION_PATCHLEVEL=6
 
3716
 
 
3717
 
 
3718
# Enable GNU extensions such as asprintf(3), BSD-originated functions,
 
3719
# POSIX features and more on glibc (and some other
 
3720
# implementations). See features.h. This macro should be placed here.
 
3721
DEPDIR="${am__leading_dot}deps"
 
3722
 
 
3723
ac_config_commands="$ac_config_commands depfiles"
 
3724
 
 
3725
 
 
3726
am_make=${MAKE-make}
 
3727
cat > confinc << 'END'
 
3728
am__doit:
 
3729
        @echo this is the am__doit target
 
3730
.PHONY: am__doit
 
3731
END
 
3732
# If we don't find an include directive, just comment out the code.
 
3733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3734
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3735
am__include="#"
 
3736
am__quote=
 
3737
_am_result=none
 
3738
# First try GNU make style include.
 
3739
echo "include confinc" > confmf
 
3740
# Ignore all kinds of additional output from `make'.
 
3741
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3742
*the\ am__doit\ target*)
 
3743
  am__include=include
 
3744
  am__quote=
 
3745
  _am_result=GNU
 
3746
  ;;
 
3747
esac
 
3748
# Now try BSD make style include.
 
3749
if test "$am__include" = "#"; then
 
3750
   echo '.include "confinc"' > confmf
 
3751
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3752
   *the\ am__doit\ target*)
 
3753
     am__include=.include
 
3754
     am__quote="\""
 
3755
     _am_result=BSD
 
3756
     ;;
 
3757
   esac
 
3758
fi
 
3759
 
 
3760
 
 
3761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3762
$as_echo "$_am_result" >&6; }
 
3763
rm -f confinc confmf
 
3764
 
 
3765
# Check whether --enable-dependency-tracking was given.
 
3766
if test "${enable_dependency_tracking+set}" = set; then :
 
3767
  enableval=$enable_dependency_tracking;
 
3768
fi
 
3769
 
 
3770
if test "x$enable_dependency_tracking" != xno; then
 
3771
  am_depcomp="$ac_aux_dir/depcomp"
 
3772
  AMDEPBACKSLASH='\'
 
3773
  am__nodep='_no'
 
3774
fi
 
3775
 if test "x$enable_dependency_tracking" != xno; then
 
3776
  AMDEP_TRUE=
 
3777
  AMDEP_FALSE='#'
 
3778
else
 
3779
  AMDEP_TRUE='#'
 
3780
  AMDEP_FALSE=
 
3781
fi
 
3782
 
 
3783
 
 
3784
ac_ext=c
 
3785
ac_cpp='$CPP $CPPFLAGS'
 
3786
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3787
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3788
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3789
if test -n "$ac_tool_prefix"; then
 
3790
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3791
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3793
$as_echo_n "checking for $ac_word... " >&6; }
 
3794
if ${ac_cv_prog_CC+:} false; then :
 
3795
  $as_echo_n "(cached) " >&6
 
3796
else
 
3797
  if test -n "$CC"; then
 
3798
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3799
else
 
3800
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3801
for as_dir in $PATH
 
3802
do
 
3803
  IFS=$as_save_IFS
 
3804
  test -z "$as_dir" && as_dir=.
 
3805
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3806
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3807
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3808
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3809
    break 2
 
3810
  fi
 
3811
done
 
3812
  done
 
3813
IFS=$as_save_IFS
 
3814
 
 
3815
fi
 
3816
fi
 
3817
CC=$ac_cv_prog_CC
 
3818
if test -n "$CC"; then
 
3819
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3820
$as_echo "$CC" >&6; }
 
3821
else
 
3822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3823
$as_echo "no" >&6; }
 
3824
fi
 
3825
 
 
3826
 
 
3827
fi
 
3828
if test -z "$ac_cv_prog_CC"; then
 
3829
  ac_ct_CC=$CC
 
3830
  # Extract the first word of "gcc", so it can be a program name with args.
 
3831
set dummy gcc; ac_word=$2
 
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3833
$as_echo_n "checking for $ac_word... " >&6; }
 
3834
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3835
  $as_echo_n "(cached) " >&6
 
3836
else
 
3837
  if test -n "$ac_ct_CC"; then
 
3838
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3839
else
 
3840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3841
for as_dir in $PATH
 
3842
do
 
3843
  IFS=$as_save_IFS
 
3844
  test -z "$as_dir" && as_dir=.
 
3845
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3846
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3847
    ac_cv_prog_ac_ct_CC="gcc"
 
3848
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3849
    break 2
 
3850
  fi
 
3851
done
 
3852
  done
 
3853
IFS=$as_save_IFS
 
3854
 
 
3855
fi
 
3856
fi
 
3857
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3858
if test -n "$ac_ct_CC"; then
 
3859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3860
$as_echo "$ac_ct_CC" >&6; }
 
3861
else
 
3862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3863
$as_echo "no" >&6; }
 
3864
fi
 
3865
 
 
3866
  if test "x$ac_ct_CC" = x; then
 
3867
    CC=""
 
3868
  else
 
3869
    case $cross_compiling:$ac_tool_warned in
 
3870
yes:)
 
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3872
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3873
ac_tool_warned=yes ;;
 
3874
esac
 
3875
    CC=$ac_ct_CC
 
3876
  fi
 
3877
else
 
3878
  CC="$ac_cv_prog_CC"
 
3879
fi
 
3880
 
 
3881
if test -z "$CC"; then
 
3882
          if test -n "$ac_tool_prefix"; then
 
3883
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3884
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3886
$as_echo_n "checking for $ac_word... " >&6; }
 
3887
if ${ac_cv_prog_CC+:} false; then :
 
3888
  $as_echo_n "(cached) " >&6
 
3889
else
 
3890
  if test -n "$CC"; then
 
3891
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3892
else
 
3893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3894
for as_dir in $PATH
 
3895
do
 
3896
  IFS=$as_save_IFS
 
3897
  test -z "$as_dir" && as_dir=.
 
3898
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3900
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3901
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3902
    break 2
 
3903
  fi
 
3904
done
 
3905
  done
 
3906
IFS=$as_save_IFS
 
3907
 
 
3908
fi
 
3909
fi
 
3910
CC=$ac_cv_prog_CC
 
3911
if test -n "$CC"; then
 
3912
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3913
$as_echo "$CC" >&6; }
 
3914
else
 
3915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3916
$as_echo "no" >&6; }
 
3917
fi
 
3918
 
 
3919
 
 
3920
  fi
 
3921
fi
 
3922
if test -z "$CC"; then
 
3923
  # Extract the first word of "cc", so it can be a program name with args.
 
3924
set dummy cc; ac_word=$2
 
3925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3926
$as_echo_n "checking for $ac_word... " >&6; }
 
3927
if ${ac_cv_prog_CC+:} false; then :
 
3928
  $as_echo_n "(cached) " >&6
 
3929
else
 
3930
  if test -n "$CC"; then
 
3931
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3932
else
 
3933
  ac_prog_rejected=no
 
3934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3935
for as_dir in $PATH
 
3936
do
 
3937
  IFS=$as_save_IFS
 
3938
  test -z "$as_dir" && as_dir=.
 
3939
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3940
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3941
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3942
       ac_prog_rejected=yes
 
3943
       continue
 
3944
     fi
 
3945
    ac_cv_prog_CC="cc"
 
3946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3947
    break 2
 
3948
  fi
 
3949
done
 
3950
  done
 
3951
IFS=$as_save_IFS
 
3952
 
 
3953
if test $ac_prog_rejected = yes; then
 
3954
  # We found a bogon in the path, so make sure we never use it.
 
3955
  set dummy $ac_cv_prog_CC
 
3956
  shift
 
3957
  if test $# != 0; then
 
3958
    # We chose a different compiler from the bogus one.
 
3959
    # However, it has the same basename, so the bogon will be chosen
 
3960
    # first if we set CC to just the basename; use the full file name.
 
3961
    shift
 
3962
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3963
  fi
 
3964
fi
 
3965
fi
 
3966
fi
 
3967
CC=$ac_cv_prog_CC
 
3968
if test -n "$CC"; then
 
3969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3970
$as_echo "$CC" >&6; }
 
3971
else
 
3972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3973
$as_echo "no" >&6; }
 
3974
fi
 
3975
 
 
3976
 
 
3977
fi
 
3978
if test -z "$CC"; then
 
3979
  if test -n "$ac_tool_prefix"; then
 
3980
  for ac_prog in cl.exe
 
3981
  do
 
3982
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3983
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3985
$as_echo_n "checking for $ac_word... " >&6; }
 
3986
if ${ac_cv_prog_CC+:} false; then :
 
3987
  $as_echo_n "(cached) " >&6
 
3988
else
 
3989
  if test -n "$CC"; then
 
3990
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3991
else
 
3992
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3993
for as_dir in $PATH
 
3994
do
 
3995
  IFS=$as_save_IFS
 
3996
  test -z "$as_dir" && as_dir=.
 
3997
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3998
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3999
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4000
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4001
    break 2
 
4002
  fi
 
4003
done
 
4004
  done
 
4005
IFS=$as_save_IFS
 
4006
 
 
4007
fi
 
4008
fi
 
4009
CC=$ac_cv_prog_CC
 
4010
if test -n "$CC"; then
 
4011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4012
$as_echo "$CC" >&6; }
 
4013
else
 
4014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4015
$as_echo "no" >&6; }
 
4016
fi
 
4017
 
 
4018
 
 
4019
    test -n "$CC" && break
 
4020
  done
 
4021
fi
 
4022
if test -z "$CC"; then
 
4023
  ac_ct_CC=$CC
 
4024
  for ac_prog in cl.exe
 
4025
do
 
4026
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4027
set dummy $ac_prog; ac_word=$2
 
4028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4029
$as_echo_n "checking for $ac_word... " >&6; }
 
4030
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4031
  $as_echo_n "(cached) " >&6
 
4032
else
 
4033
  if test -n "$ac_ct_CC"; then
 
4034
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4035
else
 
4036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4037
for as_dir in $PATH
 
4038
do
 
4039
  IFS=$as_save_IFS
 
4040
  test -z "$as_dir" && as_dir=.
 
4041
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4042
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4043
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4044
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4045
    break 2
 
4046
  fi
 
4047
done
 
4048
  done
 
4049
IFS=$as_save_IFS
 
4050
 
 
4051
fi
 
4052
fi
 
4053
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4054
if test -n "$ac_ct_CC"; then
 
4055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4056
$as_echo "$ac_ct_CC" >&6; }
 
4057
else
 
4058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4059
$as_echo "no" >&6; }
 
4060
fi
 
4061
 
 
4062
 
 
4063
  test -n "$ac_ct_CC" && break
 
4064
done
 
4065
 
 
4066
  if test "x$ac_ct_CC" = x; then
 
4067
    CC=""
 
4068
  else
 
4069
    case $cross_compiling:$ac_tool_warned in
 
4070
yes:)
 
4071
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4072
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4073
ac_tool_warned=yes ;;
 
4074
esac
 
4075
    CC=$ac_ct_CC
 
4076
  fi
 
4077
fi
 
4078
 
 
4079
fi
 
4080
 
 
4081
 
 
4082
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4083
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4084
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4085
See \`config.log' for more details" "$LINENO" 5; }
 
4086
 
 
4087
# Provide some information about the compiler.
 
4088
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4089
set X $ac_compile
 
4090
ac_compiler=$2
 
4091
for ac_option in --version -v -V -qversion; do
 
4092
  { { ac_try="$ac_compiler $ac_option >&5"
 
4093
case "(($ac_try" in
 
4094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4095
  *) ac_try_echo=$ac_try;;
 
4096
esac
 
4097
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4098
$as_echo "$ac_try_echo"; } >&5
 
4099
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4100
  ac_status=$?
 
4101
  if test -s conftest.err; then
 
4102
    sed '10a\
 
4103
... rest of stderr output deleted ...
 
4104
         10q' conftest.err >conftest.er1
 
4105
    cat conftest.er1 >&5
 
4106
  fi
 
4107
  rm -f conftest.er1 conftest.err
 
4108
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4109
  test $ac_status = 0; }
 
4110
done
 
4111
 
 
4112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4113
/* end confdefs.h.  */
 
4114
 
 
4115
int
 
4116
main ()
 
4117
{
 
4118
 
 
4119
  ;
 
4120
  return 0;
 
4121
}
 
4122
_ACEOF
 
4123
ac_clean_files_save=$ac_clean_files
 
4124
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
4125
# Try to create an executable without -o first, disregard a.out.
 
4126
# It will help us diagnose broken compilers, and finding out an intuition
 
4127
# of exeext.
 
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
4129
$as_echo_n "checking whether the C compiler works... " >&6; }
 
4130
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
4131
 
 
4132
# The possible output files:
 
4133
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
4134
 
 
4135
ac_rmfiles=
 
4136
for ac_file in $ac_files
 
4137
do
 
4138
  case $ac_file in
 
4139
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
4140
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
4141
  esac
 
4142
done
 
4143
rm -f $ac_rmfiles
 
4144
 
 
4145
if { { ac_try="$ac_link_default"
 
4146
case "(($ac_try" in
 
4147
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4148
  *) ac_try_echo=$ac_try;;
 
4149
esac
 
4150
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4151
$as_echo "$ac_try_echo"; } >&5
 
4152
  (eval "$ac_link_default") 2>&5
 
4153
  ac_status=$?
 
4154
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4155
  test $ac_status = 0; }; then :
 
4156
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
4157
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
4158
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
4159
# so that the user can short-circuit this test for compilers unknown to
 
4160
# Autoconf.
 
4161
for ac_file in $ac_files ''
 
4162
do
 
4163
  test -f "$ac_file" || continue
 
4164
  case $ac_file in
 
4165
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
4166
        ;;
 
4167
    [ab].out )