2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for apertium-pt-gl 0.9.0.
5
# Report bugs to <oscar@imaxin.com>.
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
## --------------------- ##
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
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+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
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
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
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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
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 \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
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
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
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
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
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'"
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'"
554
exec 7<&0 </dev/null 6>&1
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`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
572
SHELL=${CONFIG_SHELL-/bin/sh}
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'
590
program_transform_name
631
INSTALL_STRIP_PROGRAM
648
ac_precious_vars='build_alias
656
# Initialize some variables set by options.
658
ac_init_version=false
659
# The variables have the same names as the options, with
660
# dashes changed to underlines.
668
program_transform_name=s,x,x,
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'
698
libdir='${exec_prefix}/lib'
699
localedir='${datarootdir}/locale'
700
mandir='${datarootdir}/man'
706
# If the previous option needs an argument, assign it.
707
if test -n "$ac_prev"; then
708
eval $ac_prev=\$ac_option
714
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
718
# Accept the important Cygnus configure options, so we can diagnose typos.
720
case $ac_dashdash$ac_option in
724
-bindir | --bindir | --bindi | --bind | --bin | --bi)
726
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
729
-build | --build | --buil | --bui | --bu)
730
ac_prev=build_alias ;;
731
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
732
build_alias=$ac_optarg ;;
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 ;;
742
cache_file=config.cache ;;
744
-datadir | --datadir | --datadi | --datad)
746
-datadir=* | --datadir=* | --datadi=* | --datad=*)
747
datadir=$ac_optarg ;;
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 ;;
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 ;;
765
-docdir | --docdir | --docdi | --doc | --do)
767
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
770
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
772
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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 ;;
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 ;;
793
-gas | --gas | --ga | --g)
794
# Obsolete; use --with-gas.
797
-help | --help | --hel | --he | -h)
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 ;;
804
-host | --host | --hos | --ho)
805
ac_prev=host_alias ;;
806
-host=* | --host=* | --hos=* | --ho=*)
807
host_alias=$ac_optarg ;;
809
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
811
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
813
htmldir=$ac_optarg ;;
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 ;;
822
-infodir | --infodir | --infodi | --infod | --info | --inf)
824
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
825
infodir=$ac_optarg ;;
827
-libdir | --libdir | --libdi | --libd)
829
-libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
839
-localedir | --localedir | --localedi | --localed | --locale)
841
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
842
localedir=$ac_optarg ;;
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 ;;
851
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
853
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
857
# Obsolete; use --without-fp.
860
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
861
| --no-cr | --no-c | -n)
864
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
865
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
877
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
879
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
913
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
915
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
918
-psdir | --psdir | --psdi | --psd | --ps)
920
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
923
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
924
| -silent | --silent | --silen | --sile | --sil)
927
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
929
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
931
sbindir=$ac_optarg ;;
933
-sharedstatedir | --sharedstatedir | --sharedstatedi \
934
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
935
| --sharedst | --shareds | --shared | --share | --shar \
937
ac_prev=sharedstatedir ;;
938
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
939
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
940
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
942
sharedstatedir=$ac_optarg ;;
944
-site | --site | --sit)
946
-site=* | --site=* | --sit=*)
949
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
951
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
966
-v | -verbose | --verbose | --verbos | --verbo | --verb)
969
-version | --version | --versio | --versi | --vers | -V)
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 ;;
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 ;;
991
# Obsolete; use --with-x.
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 ;;
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 ;;
1008
-*) { echo "$as_me: error: unrecognized option: $ac_option
1009
Try \`$0 --help' for more information." >&2
1010
{ (exit 1); exit 1; }; }
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 ;;
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}
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; }; }
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
1045
eval ac_val=\$$ac_var
1047
[\\/$]* | ?:[\\/]* ) continue;;
1048
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1050
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1051
{ (exit 1); exit 1; }; }
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.
1059
target=$target_alias
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
1073
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1075
test "$silent" = yes && exec 6>/dev/null
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; }; }
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 ||
1098
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1116
if test ! -r "$srcdir/$ac_unique_file"; then
1120
ac_srcdir_defaulted=no
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; }; }
1127
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1129
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1130
{ (exit 1); exit 1; }; }
1132
# When building in place, set srcdir=.
1133
if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1140
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1150
# Report the --help message.
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.
1156
\`configure' configures apertium-pt-gl 0.9.0 to adapt to many kinds of systems.
1158
Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1163
Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1187
For better control, use the options below.
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]
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
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:";;
1226
Some influential environment variables:
1227
PKG_CONFIG path to pkg-config utility
1229
C compiler flags for APERTIUM, overriding pkg-config
1231
linker flags for APERTIUM, overriding pkg-config
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.
1236
Report bugs to <oscar@imaxin.com>.
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
1248
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1264
.) # We are building in place.
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 ;;
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 ;;
1277
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1279
cd "$ac_dir" || { ac_status=$?; continue; }
1280
# Check for guested configure.
1281
if test -f "$ac_srcdir/configure.gnu"; then
1283
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1284
elif test -f "$ac_srcdir/configure"; then
1286
$SHELL "$ac_srcdir/configure" --help=recursive
1288
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1290
cd "$ac_pwd" || { ac_status=$?; break; }
1294
test -n "$ac_init_help" && exit $ac_status
1295
if $ac_init_version; then
1297
apertium-pt-gl configure 0.9.0
1298
generated by GNU Autoconf 2.61
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.
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.
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
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`
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`
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`
1343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1347
test -z "$as_dir" && as_dir=.
1348
echo "PATH: $as_dir"
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.
1372
ac_must_keep_next=false
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)
1383
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1386
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1401
-* ) ac_must_keep_next=true ;;
1404
ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1423
## ---------------- ##
1424
## Cache variables. ##
1425
## ---------------- ##
1428
# The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1439
_ | IFS | as_nl) ;; #(
1440
*) $as_unset $ac_var ;;
1445
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1446
*${as_nl}ac_space=\ *)
1448
"s/'\''/'\''\\\\'\'''\''/g;
1449
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1452
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1460
## ----------------- ##
1461
## Output variables. ##
1462
## ----------------- ##
1465
for ac_var in $ac_subst_vars
1467
eval ac_val=\$$ac_var
1469
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1471
echo "$ac_var='\''$ac_val'\''"
1475
if test -n "$ac_subst_files"; then
1477
## ------------------- ##
1478
## File substitutions. ##
1479
## ------------------- ##
1482
for ac_var in $ac_subst_files
1484
eval ac_val=\$$ac_var
1486
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1488
echo "$ac_var='\''$ac_val'\''"
1493
if test -s confdefs.h; then
1503
test "$ac_signal" != 0 &&
1504
echo "$as_me: caught signal $ac_signal"
1505
echo "$as_me: exit $exit_status"
1507
rm -f core *.core core.conftest.* &&
1508
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1511
for ac_signal in 1 2 13 15; do
1512
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1516
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1517
rm -f -r conftest* confdefs.h
1519
# Predefined preprocessor variables.
1521
cat >>confdefs.h <<_ACEOF
1522
#define PACKAGE_NAME "$PACKAGE_NAME"
1526
cat >>confdefs.h <<_ACEOF
1527
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1531
cat >>confdefs.h <<_ACEOF
1532
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1536
cat >>confdefs.h <<_ACEOF
1537
#define PACKAGE_STRING "$PACKAGE_STRING"
1541
cat >>confdefs.h <<_ACEOF
1542
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1553
set x "$ac_default_prefix/share/config.site" \
1554
"$ac_default_prefix/etc/config.site"
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
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;}
1574
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1575
*) . "./$cache_file";;
1579
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1580
echo "$as_me: creating cache $cache_file" >&6;}
1584
# Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1613
# Pass precious variables to config.status.
1614
if test "$ac_new_set" = set; then
1616
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1617
*) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1664
am__api_version="1.9"
1666
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1667
if test -f "$ac_dir/install-sh"; then
1669
ac_install_sh="$ac_aux_dir/install-sh -c"
1671
elif test -f "$ac_dir/install.sh"; then
1673
ac_install_sh="$ac_aux_dir/install.sh -c"
1675
elif test -f "$ac_dir/shtool"; then
1677
ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
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
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
1715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719
test -z "$as_dir" && as_dir=.
1720
# Account for people who put trailing slashes in PATH elements.
1722
./ | .// | /cC/* | \
1723
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1724
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
1742
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1755
if test "${ac_cv_path_install+set}" = set; then
1756
INSTALL=$ac_cv_path_install
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
1765
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1766
echo "${ECHO_T}$INSTALL" >&6; }
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}'
1772
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1774
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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; }
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
1787
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1788
if test "$*" = "X"; then
1790
set X `ls -t $srcdir/configure conftest.file`
1793
if test "$*" != "X $srcdir/configure conftest.file" \
1794
&& test "$*" != "X conftest.file $srcdir/configure"; then
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; }; }
1807
test "$2" = conftest.file
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; }; }
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,$//
1831
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1834
# expand $ac_aux_dir to an absolute path
1835
am_aux_dir=`cd $ac_aux_dir && pwd`
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 "
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;}
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
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 --'
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
1868
for d in ./-p ./--version;
1870
test -d $d && rmdir $d
1872
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1873
if test -f "$ac_aux_dir/mkinstalldirs"; then
1874
mkdir_p='$(mkinstalldirs)'
1876
mkdir_p='$(install_sh) -d'
1880
for ac_prog in gawk mawk nawk awk
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
1889
if test -n "$AWK"; then
1890
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1892
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1910
if test -n "$AWK"; then
1911
{ echo "$as_me:$LINENO: result: $AWK" >&5
1912
echo "${ECHO_T}$AWK" >&6; }
1914
{ echo "$as_me:$LINENO: result: no" >&5
1915
echo "${ECHO_T}no" >&6; }
1919
test -n "$AWK" && break
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
1928
cat >conftest.make <<\_ACEOF
1931
@echo '@@@%%%=$(MAKE)=@@@%%%'
1933
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1934
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1936
eval ac_cv_prog_make_${ac_make}_set=yes;;
1938
eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
1947
{ echo "$as_me:$LINENO: result: no" >&5
1948
echo "${ECHO_T}no" >&6; }
1949
SET_MAKE="MAKE=${MAKE-make}"
1952
rm -rf .tst 2>/dev/null
1953
mkdir .tst 2>/dev/null
1954
if test -d .tst; then
1959
rmdir .tst 2>/dev/null
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; }; }
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'
1979
# Define the identity of the package.
1980
PACKAGE=apertium-pt-gl
1984
# Some tools Automake needs.
1986
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1989
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1992
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1995
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1998
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2000
install_sh=${install_sh-"$am_aux_dir/install-sh"}
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
2015
if test -n "$STRIP"; then
2016
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2040
{ echo "$as_me:$LINENO: result: no" >&5
2041
echo "${ECHO_T}no" >&6; }
2046
if test -z "$ac_cv_prog_STRIP"; then
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
2055
if test -n "$ac_ct_STRIP"; then
2056
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2080
{ echo "$as_me:$LINENO: result: no" >&5
2081
echo "${ECHO_T}no" >&6; }
2084
if test "x$ac_ct_STRIP" = x; then
2087
case $cross_compiling:$ac_tool_warned in
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 ;;
2100
STRIP="$ac_cv_prog_STRIP"
2104
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2106
# We need awk for the "check" target. The system "awk" is bad on
2108
# Always define AMTAR for backward compatibility.
2110
AMTAR=${AMTAR-"${am_missing_run}tar"}
2112
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2118
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
2119
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2121
if test "$LN_S" = "ln -s"; then
2122
{ echo "$as_me:$LINENO: result: yes" >&5
2123
echo "${ECHO_T}yes" >&6; }
2125
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2126
echo "${ECHO_T}no, using $LN_S" >&6; }
2129
for ac_prog in gawk mawk nawk awk
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
2138
if test -n "$AWK"; then
2139
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2141
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2159
if test -n "$AWK"; then
2160
{ echo "$as_me:$LINENO: result: $AWK" >&5
2161
echo "${ECHO_T}$AWK" >&6; }
2163
{ echo "$as_me:$LINENO: result: no" >&5
2164
echo "${ECHO_T}no" >&6; }
2168
test -n "$AWK" && break
2171
ac_config_headers="$ac_config_headers config"
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
2189
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2215
{ echo "$as_me:$LINENO: result: no" >&5
2216
echo "${ECHO_T}no" >&6; }
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
2230
case $ac_pt_PKG_CONFIG in
2232
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2235
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2258
{ echo "$as_me:$LINENO: result: no" >&5
2259
echo "${ECHO_T}no" >&6; }
2262
if test "x$ac_pt_PKG_CONFIG" = x; then
2265
case $cross_compiling:$ac_tool_warned in
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 ;;
2275
PKG_CONFIG=$ac_pt_PKG_CONFIG
2278
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
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; }
2290
{ echo "$as_me:$LINENO: result: no" >&5
2291
echo "${ECHO_T}no" >&6; }
2300
{ echo "$as_me:$LINENO: checking for APERTIUM" >&5
2301
echo $ECHO_N "checking for APERTIUM... $ECHO_C" >&6; }
2303
if test -n "$PKG_CONFIG"; then
2304
if test -n "$APERTIUM_CFLAGS"; then
2305
pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS"
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
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`
2321
if test -n "$PKG_CONFIG"; then
2322
if test -n "$APERTIUM_LIBS"; then
2323
pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS"
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
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`
2342
if test $pkg_failed = yes; then
2344
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2345
_pkg_short_errors_supported=yes
2347
_pkg_short_errors_supported=no
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"`
2352
APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-1.0 >= 0.9.0"`
2354
# Put the nasty error message in config.log where it belongs
2355
echo "$APERTIUM_PKG_ERRORS" >&5
2357
{ echo "$as_me:$LINENO: result: no" >&5
2358
echo "${ECHO_T}no" >&6; }
2362
{ echo "$as_me:$LINENO: checking for APERTIUM" >&5
2363
echo $ECHO_N "checking for APERTIUM... $ECHO_C" >&6; }
2365
if test -n "$PKG_CONFIG"; then
2366
if test -n "$APERTIUM_CFLAGS"; then
2367
pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS"
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
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`
2383
if test -n "$PKG_CONFIG"; then
2384
if test -n "$APERTIUM_LIBS"; then
2385
pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS"
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
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`
2404
if test $pkg_failed = yes; then
2406
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2407
_pkg_short_errors_supported=yes
2409
_pkg_short_errors_supported=no
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"`
2414
APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-2.0 >= 2.0.0"`
2416
# Put the nasty error message in config.log where it belongs
2417
echo "$APERTIUM_PKG_ERRORS" >&5
2419
{ echo "$as_me:$LINENO: result: no" >&5
2420
echo "${ECHO_T}no" >&6; }
2424
{ echo "$as_me:$LINENO: checking for APERTIUM" >&5
2425
echo $ECHO_N "checking for APERTIUM... $ECHO_C" >&6; }
2427
if test -n "$PKG_CONFIG"; then
2428
if test -n "$APERTIUM_CFLAGS"; then
2429
pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS"
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
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`
2445
if test -n "$PKG_CONFIG"; then
2446
if test -n "$APERTIUM_LIBS"; then
2447
pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS"
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
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`
2466
if test $pkg_failed = yes; then
2468
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2469
_pkg_short_errors_supported=yes
2471
_pkg_short_errors_supported=no
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"`
2476
APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-3.0 >= 3.0.0"`
2478
# Put the nasty error message in config.log where it belongs
2479
echo "$APERTIUM_PKG_ERRORS" >&5
2481
{ { echo "$as_me:$LINENO: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2483
$APERTIUM_PKG_ERRORS
2485
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2486
installed software in a non-standard prefix.
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.
2492
echo "$as_me: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2494
$APERTIUM_PKG_ERRORS
2496
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2497
installed software in a non-standard prefix.
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.
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
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.
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
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.
2523
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2524
See \`config.log' for more details." >&2;}
2525
{ (exit 1); exit 1; }; }
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; }
2535
elif test $pkg_failed = untried; then
2539
{ echo "$as_me:$LINENO: checking for APERTIUM" >&5
2540
echo $ECHO_N "checking for APERTIUM... $ECHO_C" >&6; }
2542
if test -n "$PKG_CONFIG"; then
2543
if test -n "$APERTIUM_CFLAGS"; then
2544
pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS"
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
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`
2560
if test -n "$PKG_CONFIG"; then
2561
if test -n "$APERTIUM_LIBS"; then
2562
pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS"
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
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`
2581
if test $pkg_failed = yes; then
2583
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2584
_pkg_short_errors_supported=yes
2586
_pkg_short_errors_supported=no
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"`
2591
APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-3.0 >= 3.0.0"`
2593
# Put the nasty error message in config.log where it belongs
2594
echo "$APERTIUM_PKG_ERRORS" >&5
2596
{ { echo "$as_me:$LINENO: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2598
$APERTIUM_PKG_ERRORS
2600
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2601
installed software in a non-standard prefix.
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.
2607
echo "$as_me: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2609
$APERTIUM_PKG_ERRORS
2611
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2612
installed software in a non-standard prefix.
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.
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
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.
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
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.
2638
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2639
See \`config.log' for more details." >&2;}
2640
{ (exit 1); exit 1; }; }
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; }
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; }
2660
elif test $pkg_failed = untried; then
2664
{ echo "$as_me:$LINENO: checking for APERTIUM" >&5
2665
echo $ECHO_N "checking for APERTIUM... $ECHO_C" >&6; }
2667
if test -n "$PKG_CONFIG"; then
2668
if test -n "$APERTIUM_CFLAGS"; then
2669
pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS"
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
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`
2685
if test -n "$PKG_CONFIG"; then
2686
if test -n "$APERTIUM_LIBS"; then
2687
pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS"
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
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`
2706
if test $pkg_failed = yes; then
2708
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2709
_pkg_short_errors_supported=yes
2711
_pkg_short_errors_supported=no
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"`
2716
APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-2.0 >= 2.0.0"`
2718
# Put the nasty error message in config.log where it belongs
2719
echo "$APERTIUM_PKG_ERRORS" >&5
2721
{ echo "$as_me:$LINENO: result: no" >&5
2722
echo "${ECHO_T}no" >&6; }
2726
{ echo "$as_me:$LINENO: checking for APERTIUM" >&5
2727
echo $ECHO_N "checking for APERTIUM... $ECHO_C" >&6; }
2729
if test -n "$PKG_CONFIG"; then
2730
if test -n "$APERTIUM_CFLAGS"; then
2731
pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS"
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
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`
2747
if test -n "$PKG_CONFIG"; then
2748
if test -n "$APERTIUM_LIBS"; then
2749
pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS"
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
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`
2768
if test $pkg_failed = yes; then
2770
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2771
_pkg_short_errors_supported=yes
2773
_pkg_short_errors_supported=no
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"`
2778
APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-3.0 >= 3.0.0"`
2780
# Put the nasty error message in config.log where it belongs
2781
echo "$APERTIUM_PKG_ERRORS" >&5
2783
{ { echo "$as_me:$LINENO: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2785
$APERTIUM_PKG_ERRORS
2787
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2788
installed software in a non-standard prefix.
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.
2794
echo "$as_me: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2796
$APERTIUM_PKG_ERRORS
2798
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2799
installed software in a non-standard prefix.
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.
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
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.
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
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.
2825
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2826
See \`config.log' for more details." >&2;}
2827
{ (exit 1); exit 1; }; }
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; }
2837
elif test $pkg_failed = untried; then
2841
{ echo "$as_me:$LINENO: checking for APERTIUM" >&5
2842
echo $ECHO_N "checking for APERTIUM... $ECHO_C" >&6; }
2844
if test -n "$PKG_CONFIG"; then
2845
if test -n "$APERTIUM_CFLAGS"; then
2846
pkg_cv_APERTIUM_CFLAGS="$APERTIUM_CFLAGS"
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
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`
2862
if test -n "$PKG_CONFIG"; then
2863
if test -n "$APERTIUM_LIBS"; then
2864
pkg_cv_APERTIUM_LIBS="$APERTIUM_LIBS"
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
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`
2883
if test $pkg_failed = yes; then
2885
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
2886
_pkg_short_errors_supported=yes
2888
_pkg_short_errors_supported=no
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"`
2893
APERTIUM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "apertium-3.0 >= 3.0.0"`
2895
# Put the nasty error message in config.log where it belongs
2896
echo "$APERTIUM_PKG_ERRORS" >&5
2898
{ { echo "$as_me:$LINENO: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2900
$APERTIUM_PKG_ERRORS
2902
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2903
installed software in a non-standard prefix.
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.
2909
echo "$as_me: error: Package requirements (apertium-3.0 >= 3.0.0) were not met:
2911
$APERTIUM_PKG_ERRORS
2913
Consider adjusting the PKG_CONFIG_PATH environment variable if you
2914
installed software in a non-standard prefix.
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.
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
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.
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
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.
2940
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
2941
See \`config.log' for more details." >&2;}
2942
{ (exit 1); exit 1; }; }
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; }
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; }
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; }
2974
if test $APERTIUM_VER = 10;
2982
ac_config_files="$ac_config_files Makefile"
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.
2991
# config.status only pays attention to the cache file if you give it
2992
# the --recheck option to rerun configure.
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
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.
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
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;} ;;
3015
_ | IFS | as_nl) ;; #(
3016
*) $as_unset $ac_var ;;
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 \).
3028
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3031
# `set' quotes correctly as required by POSIX, so do not add quotes.
3032
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3041
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3043
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
3052
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3053
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3058
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3059
# Let make expand exec_prefix.
3060
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3062
DEFS=-DHAVE_CONFIG_H
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'
3077
LTLIBOBJS=$ac_ltlibobjs
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
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.
3096
SHELL=\${CONFIG_SHELL-$SHELL}
3099
cat >>$CONFIG_STATUS <<\_ACEOF
3100
## --------------------- ##
3101
## M4sh Initialization. ##
3102
## --------------------- ##
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
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
3114
case `(set -o) 2>/dev/null` in
3115
*posix*) set -o posix ;;
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
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
3136
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3144
# Support unset when possible.
3145
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
3161
# Find who we are. Look in the path if we contain no directory separator.
3163
*[\\/]* ) as_myself=$0 ;;
3164
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168
test -z "$as_dir" && as_dir=.
3169
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
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
3199
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3200
eval $as_var=C; export $as_var
3202
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3206
# Required to use basename.
3207
if expr a : '\(a\)' >/dev/null 2>&1 &&
3208
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3214
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3215
as_basename=basename
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 ||
3227
sed '/^.*\/\([^/][^/]*\)\/*$/{
3248
test "x$as_lineno_1" != "x$as_lineno_2" &&
3249
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
3272
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
3284
# Exit status is that of the last command.
3289
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3295
ECHO_C= ECHO_N= ECHO_T=
3298
case `echo 'x\c'` in
3299
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
3306
if expr a : '\(a\)' >/dev/null 2>&1 &&
3307
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3313
rm -f conf$$ conf$$.exe conf$$.file
3314
if test -d conf$$.dir; then
3315
rm -f conf$$.dir/conf$$.file
3321
if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
3329
elif ln conf$$.file conf$$ 2>/dev/null; then
3334
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3335
rmdir conf$$.dir 2>/dev/null
3337
if mkdir -p . 2>/dev/null; then
3340
test -d ./-p && rmdir ./-p
3344
if test -x / >/dev/null 2>&1; then
3347
if ls -dL / >/dev/null 2>&1; then
3354
if test -d "$1"; then
3360
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3361
???[sx]*):;;*)false;;esac;fi
3365
as_executable_p=$as_test_x
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'"
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'"
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.
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
3383
CONFIG_FILES = $CONFIG_FILES
3384
CONFIG_HEADERS = $CONFIG_HEADERS
3385
CONFIG_LINKS = $CONFIG_LINKS
3386
CONFIG_COMMANDS = $CONFIG_COMMANDS
3389
on `(hostname || uname -n) 2>/dev/null | sed 1q`
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"
3401
cat >>$CONFIG_STATUS <<\_ACEOF
3403
\`$as_me' instantiates files from templates according to the
3404
current configuration.
3406
Usage: $0 [OPTIONS] [FILE]...
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
3418
Configuration files:
3421
Configuration headers:
3424
Report bugs to <bug-autoconf@gnu.org>."
3427
cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
3450
ac_option=`expr "X$1" : 'X\([^=]*\)='`
3451
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3462
# Handling of the options.
3463
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3465
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3466
echo "$ac_cs_version"; exit ;;
3467
--debug | --debu | --deb | --de | --d | -d )
3469
--file | --fil | --fi | --f )
3471
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3472
ac_need_defaults=false;;
3473
--header | --heade | --head | --hea )
3475
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3476
ac_need_defaults=false;;
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)
3489
-*) { echo "$as_me: error: unrecognized option: $1
3490
Try \`$0 --help' for more information." >&2
3491
{ (exit 1); exit 1; }; } ;;
3493
*) ac_config_targets="$ac_config_targets $1"
3494
ac_need_defaults=false ;;
3500
ac_configure_extra_args=
3502
if $ac_cs_silent; then
3504
ac_configure_extra_args="$ac_configure_extra_args --silent"
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
3513
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3517
cat >>$CONFIG_STATUS <<\_ACEOF
3521
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3522
## Running $as_me. ##
3528
cat >>$CONFIG_STATUS <<_ACEOF
3531
cat >>$CONFIG_STATUS <<\_ACEOF
3533
# Handling of arguments.
3534
for ac_config_target in $ac_config_targets
3536
case $ac_config_target in
3537
"config") CONFIG_HEADERS="$CONFIG_HEADERS config" ;;
3538
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
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; }; };;
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
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'.
3565
trap 'exit_status=$?
3566
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3568
trap '{ (exit 1); exit 1; }' 1 2 13 15
3570
# Create a (secure) tmp directory for tmp files.
3573
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3574
test -n "$tmp" && test -d "$tmp"
3577
tmp=./conf$$-$RANDOM
3578
(umask 077 && mkdir "$tmp")
3581
echo "$me: cannot create a temporary directory in ." >&2
3582
{ (exit 1); exit 1; }
3586
# Set up the sed scripts for CONFIG_FILES section.
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
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
3630
ECHO_C!$ECHO_C$ac_delim
3631
ECHO_N!$ECHO_N$ac_delim
3632
ECHO_T!$ECHO_T$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
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
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
3668
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
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; }; }
3675
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
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`
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
3690
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3691
s/^/s,@/; s/!/@,|#_!!_#|/
3694
s/'"$ac_delim"'$/,g/; t
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
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[ ]*=/{
3715
s/^\([^=]*=[ ]*\):*/\1/
3721
cat >>$CONFIG_STATUS <<\_ACEOF
3722
fi # test -n "$CONFIG_FILES"
3725
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
3728
:[FHLC]) ac_mode=$ac_tag; continue;;
3730
case $ac_mode$ac_tag in
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;;
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 `:'.
3760
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
3766
ac_file_inputs="$ac_file_inputs $ac_f"
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;}
3781
*:-:* | *:-) cat >"$tmp/stdin";;
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 ||
3792
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3811
-*) as_dir=./$as_dir;;
3813
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3817
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3818
*) as_qdir=$as_dir;;
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 ||
3827
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3844
test -d "$as_dir" && break
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; }; }; }
3853
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
3869
.) # We are building in place.
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 ;;
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 ;;
3882
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3892
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3893
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
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=
3902
case `sed -n '/datarootdir/ {
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;}
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' ;;
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
3935
cat >>$CONFIG_STATUS <<\_ACEOF
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
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;}
3961
-) cat "$tmp/out"; rm -f "$tmp/out";;
3962
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
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'
3995
s/^[ ]*#[ ]*define[ ][ ]*//
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
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.)
4010
s,^[ #]*u.*,/* & */,' >>conftest.defines
4012
# Break up conftest.defines:
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"
4019
ac_in='$ac_file_inputs'
4020
ac_out='"$tmp/out1"'
4021
ac_nxt='"$tmp/out2"'
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
4034
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
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
4043
rm -f conftest.defines conftest.tail
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;}
4055
mv "$tmp/config.h" $ac_file
4058
echo "/* $configure_input */"
4062
# Compute $ac_file's index in $config_headers.
4064
for _am_header in $config_headers :; do
4066
$ac_file | $ac_file:* )
4069
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
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 ||
4078
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4094
s/.*/./; q'`/stamp-h$_am_stamp_count
4103
{ (exit 0); exit 0; }
4105
chmod +x $CONFIG_STATUS
4106
ac_clean_files=$ac_clean_files_save
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
4119
ac_config_status_args=
4120
test "$silent" = yes &&
4121
ac_config_status_args="$ac_config_status_args --quiet"
4123
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }