~ubuntu-branches/ubuntu/quantal/apertium-pt-gl/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Francis Tyers
  • Date: 2008-06-10 10:24:41 UTC
  • Revision ID: james.westby@ubuntu.com-20080610102441-sv1sq51bjeioclz3
Tags: upstream-0.9.0
ImportĀ upstreamĀ versionĀ 0.9.0

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