Switch to unified view

a/src/configure b/src/configure
1
#! /bin/sh
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.53 for Recoll 1.6.
3
# Generated by GNU Autoconf 2.59 for Recoll 1.6.
4
#
4
#
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
# Free Software Foundation, Inc.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
6
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
7
# gives unlimited permission to copy, distribute and modify it.
9
10
if expr a : '\(a\)' >/dev/null 2>&1; then
11
  as_expr=expr
12
else
13
  as_expr=false
14
fi
15
16
17
## --------------------- ##
8
## --------------------- ##
18
## M4sh Initialization.  ##
9
## M4sh Initialization.  ##
19
## --------------------- ##
10
## --------------------- ##
20
11
21
# Be Bourne compatible
12
# Be Bourne compatible
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23
  emulate sh
14
  emulate sh
24
  NULLCMD=:
15
  NULLCMD=:
16
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
  # is contrary to our usage.  Disable this feature.
18
  alias -g '${1+"$@"}'='"$@"'
25
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
  set -o posix
20
  set -o posix
27
fi
21
fi
22
DUALCASE=1; export DUALCASE # for MKS sh
23
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26
  as_unset=unset
27
else
28
  as_unset=false
29
fi
30
31
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
34
PS1='$ '
35
PS2='> '
36
PS4='+ '
28
37
29
# NLS nuisances.
38
# NLS nuisances.
30
# Support unset when possible.
39
for as_var in \
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
40
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
32
  as_unset=unset
41
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
  LC_TELEPHONE LC_TIME
43
do
44
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
    eval $as_var=C; export $as_var
33
else
46
  else
47
    $as_unset $as_var
48
  fi
49
done
50
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
53
  as_expr=expr
54
else
34
  as_unset=false
55
  as_expr=false
35
fi
56
fi
36
57
37
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
38
    { $as_unset LANG || test "${LANG+set}" != set; } ||
59
  as_basename=basename
39
      { LANG=C; export LANG; }
60
else
40
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
61
  as_basename=false
41
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
62
fi
42
      { LC_ALL=C; export LC_ALL; }
43
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45
      { LC_TIME=C; export LC_TIME; }
46
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48
      { LC_CTYPE=C; export LC_CTYPE; }
49
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51
      { LANGUAGE=C; export LANGUAGE; }
52
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54
      { LC_COLLATE=C; export LC_COLLATE; }
55
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57
      { LC_NUMERIC=C; export LC_NUMERIC; }
58
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60
      { LC_MESSAGES=C; export LC_MESSAGES; }
61
63
62
64
63
# Name of the executable.
65
# Name of the executable.
64
as_me=`(basename "$0") 2>/dev/null ||
66
as_me=`$as_basename "$0" ||
65
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66
     X"$0" : 'X\(//\)$' \| \
68
     X"$0" : 'X\(//\)$' \| \
67
     X"$0" : 'X\(/\)$' \| \
69
     X"$0" : 'X\(/\)$' \| \
68
     .     : '\(.\)' 2>/dev/null ||
70
     .     : '\(.\)' 2>/dev/null ||
69
echo X/"$0" |
71
echo X/"$0" |
70
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71
      /^X\/\(\/\/\)$/{ s//\1/; q; }
73
      /^X\/\(\/\/\)$/{ s//\1/; q; }
72
      /^X\/\(\/\).*/{ s//\1/; q; }
74
      /^X\/\(\/\).*/{ s//\1/; q; }
73
      s/.*/./; q'`
75
      s/.*/./; q'`
74
76
77
75
# PATH needs CR, and LINENO needs CR and PATH.
78
# PATH needs CR, and LINENO needs CR and PATH.
76
# Avoid depending upon Character Ranges.
79
# Avoid depending upon Character Ranges.
77
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80
as_cr_digits='0123456789'
83
as_cr_digits='0123456789'
81
as_cr_alnum=$as_cr_Letters$as_cr_digits
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
82
85
83
# The user is always right.
86
# The user is always right.
84
if test "${PATH_SEPARATOR+set}" != set; then
87
if test "${PATH_SEPARATOR+set}" != set; then
85
  echo "#! /bin/sh" >conftest.sh
88
  echo "#! /bin/sh" >conf$$.sh
86
  echo  "exit 0"   >>conftest.sh
89
  echo  "exit 0"   >>conf$$.sh
87
  chmod +x conftest.sh
90
  chmod +x conf$$.sh
88
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
91
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89
    PATH_SEPARATOR=';'
92
    PATH_SEPARATOR=';'
90
  else
93
  else
91
    PATH_SEPARATOR=:
94
    PATH_SEPARATOR=:
92
  fi
95
  fi
93
  rm -f conftest.sh
96
  rm -f conf$$.sh
94
fi
97
fi
95
98
96
99
97
  as_lineno_1=$LINENO
100
  as_lineno_1=$LINENO
98
  as_lineno_2=$LINENO
101
  as_lineno_2=$LINENO
...
...
136
  as_lineno_1=$LINENO
139
  as_lineno_1=$LINENO
137
  as_lineno_2=$LINENO
140
  as_lineno_2=$LINENO
138
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139
  test "x$as_lineno_1" != "x$as_lineno_2" &&
142
  test "x$as_lineno_1" != "x$as_lineno_2" &&
140
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
143
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
141
         CONFIG_SHELL=$as_dir/$as_base
146
         CONFIG_SHELL=$as_dir/$as_base
142
         export CONFIG_SHELL
147
         export CONFIG_SHELL
143
         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148
         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144
       fi;;
149
       fi;;
145
     esac
150
     esac
...
...
208
else
213
else
209
  as_ln_s='cp -p'
214
  as_ln_s='cp -p'
210
fi
215
fi
211
rm -f conf$$ conf$$.exe conf$$.file
216
rm -f conf$$ conf$$.exe conf$$.file
212
217
218
if mkdir -p . 2>/dev/null; then
219
  as_mkdir_p=:
220
else
221
  test -d ./-p && rmdir ./-p
222
  as_mkdir_p=false
223
fi
224
213
as_executable_p="test -f"
225
as_executable_p="test -f"
214
226
215
# Sed expression to map a string onto a valid CPP name.
227
# Sed expression to map a string onto a valid CPP name.
216
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
217
229
218
# Sed expression to map a string onto a valid variable name.
230
# Sed expression to map a string onto a valid variable name.
219
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
220
232
221
233
222
# IFS
234
# IFS
223
# We need space, tab and new line, in precisely that order.
235
# We need space, tab and new line, in precisely that order.
224
as_nl='
236
as_nl='
225
'
237
'
226
IFS="   $as_nl"
238
IFS="   $as_nl"
227
239
228
# CDPATH.
240
# CDPATH.
229
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
241
$as_unset CDPATH
230
242
231
243
232
# Name of the host.
244
# Name of the host.
233
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234
# so uname gets run too.
246
# so uname gets run too.
...
...
238
250
239
#
251
#
240
# Initializations.
252
# Initializations.
241
#
253
#
242
ac_default_prefix=/usr/local
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
243
cross_compiling=no
256
cross_compiling=no
244
subdirs=
257
subdirs=
245
MFLAGS=
258
MFLAGS=
246
MAKEFLAGS=
259
MAKEFLAGS=
247
SHELL=${CONFIG_SHELL-/bin/sh}
260
SHELL=${CONFIG_SHELL-/bin/sh}
...
...
257
PACKAGE_VERSION='1.6'
270
PACKAGE_VERSION='1.6'
258
PACKAGE_STRING='Recoll 1.6'
271
PACKAGE_STRING='Recoll 1.6'
259
PACKAGE_BUGREPORT=''
272
PACKAGE_BUGREPORT=''
260
273
261
ac_unique_file="index/recollindex.cpp"
274
ac_unique_file="index/recollindex.cpp"
275
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS aspellProg CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT XAPIAN_CONFIG QMAKE INCICONV LIBICONV LIBXAPIAN LIBFAM QTGUI QTRECOLL_DATADIR XAPIANCXXFLAGS LIBOBJS LTLIBOBJS'
276
ac_subst_files=''
262
277
263
# Initialize some variables set by options.
278
# Initialize some variables set by options.
264
ac_init_help=
279
ac_init_help=
265
ac_init_version=false
280
ac_init_version=false
266
# The variables have the same names as the options, with
281
# The variables have the same names as the options, with
...
...
614
  esac
629
  esac
615
done
630
done
616
631
617
# Be sure to have absolute paths.
632
# Be sure to have absolute paths.
618
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619
              localstatedir libdir includedir oldincludedir infodir mandir
634
        localstatedir libdir includedir oldincludedir infodir mandir
620
do
635
do
621
  eval ac_val=$`echo $ac_var`
636
  eval ac_val=$`echo $ac_var`
622
  case $ac_val in
637
  case $ac_val in
623
    [\\/$]* | ?:[\\/]* ) ;;
638
    [\\/$]* | ?:[\\/]* ) ;;
624
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
...
...
654
if test -z "$srcdir"; then
669
if test -z "$srcdir"; then
655
  ac_srcdir_defaulted=yes
670
  ac_srcdir_defaulted=yes
656
  # Try the directory containing this script, then its parent.
671
  # Try the directory containing this script, then its parent.
657
  ac_confdir=`(dirname "$0") 2>/dev/null ||
672
  ac_confdir=`(dirname "$0") 2>/dev/null ||
658
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659
         X"$0" : 'X\(//\)[^/]' \| \
674
   X"$0" : 'X\(//\)[^/]' \| \
660
         X"$0" : 'X\(//\)$' \| \
675
   X"$0" : 'X\(//\)$' \| \
661
         X"$0" : 'X\(/\)' \| \
676
   X"$0" : 'X\(/\)' \| \
662
         .     : '\(.\)' 2>/dev/null ||
677
   .     : '\(.\)' 2>/dev/null ||
663
echo X"$0" |
678
echo X"$0" |
664
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665
      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680
      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
666
      /^X\(\/\/\)$/{ s//\1/; q; }
681
      /^X\(\/\/\)$/{ s//\1/; q; }
667
      /^X\(\/\).*/{ s//\1/; q; }
682
      /^X\(\/\).*/{ s//\1/; q; }
...
...
680
  else
695
  else
681
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
682
   { (exit 1); exit 1; }; }
697
   { (exit 1); exit 1; }; }
683
  fi
698
  fi
684
fi
699
fi
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
   { (exit 1); exit 1; }; }
685
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686
ac_env_build_alias_set=${build_alias+set}
704
ac_env_build_alias_set=${build_alias+set}
687
ac_env_build_alias_value=$build_alias
705
ac_env_build_alias_value=$build_alias
688
ac_cv_env_build_alias_set=${build_alias+set}
706
ac_cv_env_build_alias_set=${build_alias+set}
689
ac_cv_env_build_alias_value=$build_alias
707
ac_cv_env_build_alias_value=$build_alias
...
...
742
_ACEOF
760
_ACEOF
743
761
744
  cat <<_ACEOF
762
  cat <<_ACEOF
745
Installation directories:
763
Installation directories:
746
  --prefix=PREFIX         install architecture-independent files in PREFIX
764
  --prefix=PREFIX         install architecture-independent files in PREFIX
747
                          [$ac_default_prefix]
765
            [$ac_default_prefix]
748
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
766
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
749
                          [PREFIX]
767
            [PREFIX]
750
768
751
By default, \`make install' will install all the files in
769
By default, \`make install' will install all the files in
752
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
770
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
753
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
771
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
754
for instance \`--prefix=\$HOME'.
772
for instance \`--prefix=\$HOME'.
...
...
839
    ac_top_srcdir=$srcdir ;;
857
    ac_top_srcdir=$srcdir ;;
840
  *) # Relative path.
858
  *) # Relative path.
841
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
859
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
842
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
860
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
843
esac
861
esac
844
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
862
845
# absolute.
863
# Do not use `cd foo && pwd` to compute absolute paths, because
846
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
864
# the directories may not exist.
847
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
865
case `pwd` in
848
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
866
.) ac_abs_builddir="$ac_dir";;
849
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
867
*)
868
  case "$ac_dir" in
869
  .) ac_abs_builddir=`pwd`;;
870
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
871
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
872
  esac;;
873
esac
874
case $ac_abs_builddir in
875
.) ac_abs_top_builddir=${ac_top_builddir}.;;
876
*)
877
  case ${ac_top_builddir}. in
878
  .) ac_abs_top_builddir=$ac_abs_builddir;;
879
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
880
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
881
  esac;;
882
esac
883
case $ac_abs_builddir in
884
.) ac_abs_srcdir=$ac_srcdir;;
885
*)
886
  case $ac_srcdir in
887
  .) ac_abs_srcdir=$ac_abs_builddir;;
888
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
889
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
890
  esac;;
891
esac
892
case $ac_abs_builddir in
893
.) ac_abs_top_srcdir=$ac_top_srcdir;;
894
*)
895
  case $ac_top_srcdir in
896
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
897
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
898
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
899
  esac;;
900
esac
850
901
851
    cd $ac_dir
902
    cd $ac_dir
852
    # Check for guested configure; otherwise get Cygnus style configure.
903
    # Check for guested configure; otherwise get Cygnus style configure.
853
    if test -f $ac_srcdir/configure.gnu; then
904
    if test -f $ac_srcdir/configure.gnu; then
854
      echo
905
      echo
855
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
906
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
856
    elif test -f $ac_srcdir/configure; then
907
    elif test -f $ac_srcdir/configure; then
857
      echo
908
      echo
858
      $SHELL $ac_srcdir/configure  --help=recursive
909
      $SHELL $ac_srcdir/configure  --help=recursive
859
    elif test -f $ac_srcdir/configure.ac ||
910
    elif test -f $ac_srcdir/configure.ac ||
860
           test -f $ac_srcdir/configure.in; then
911
     test -f $ac_srcdir/configure.in; then
861
      echo
912
      echo
862
      $ac_configure --help
913
      $ac_configure --help
863
    else
914
    else
864
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
915
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
865
    fi
916
    fi
...
...
869
920
870
test -n "$ac_init_help" && exit 0
921
test -n "$ac_init_help" && exit 0
871
if $ac_init_version; then
922
if $ac_init_version; then
872
  cat <<\_ACEOF
923
  cat <<\_ACEOF
873
Recoll configure 1.6
924
Recoll configure 1.6
874
generated by GNU Autoconf 2.53
925
generated by GNU Autoconf 2.59
875
926
876
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
877
Free Software Foundation, Inc.
927
Copyright (C) 2003 Free Software Foundation, Inc.
878
This configure script is free software; the Free Software Foundation
928
This configure script is free software; the Free Software Foundation
879
gives unlimited permission to copy, distribute and modify it.
929
gives unlimited permission to copy, distribute and modify it.
880
_ACEOF
930
_ACEOF
881
  exit 0
931
  exit 0
882
fi
932
fi
...
...
884
cat >&5 <<_ACEOF
934
cat >&5 <<_ACEOF
885
This file contains any messages produced by compilers while
935
This file contains any messages produced by compilers while
886
running configure, to aid debugging if configure makes a mistake.
936
running configure, to aid debugging if configure makes a mistake.
887
937
888
It was created by Recoll $as_me 1.6, which was
938
It was created by Recoll $as_me 1.6, which was
889
generated by GNU Autoconf 2.53.  Invocation command line was
939
generated by GNU Autoconf 2.59.  Invocation command line was
890
940
891
  $ $0 $@
941
  $ $0 $@
892
942
893
_ACEOF
943
_ACEOF
894
{
944
{
...
...
936
_ACEOF
986
_ACEOF
937
987
938
988
939
# Keep a trace of the command line.
989
# Keep a trace of the command line.
940
# Strip out --no-create and --no-recursion so they do not pile up.
990
# Strip out --no-create and --no-recursion so they do not pile up.
991
# Strip out --silent because we don't want to record it for future runs.
941
# Also quote any args containing shell meta-characters.
992
# Also quote any args containing shell meta-characters.
993
# Make two passes to allow for proper duplicate-argument suppression.
942
ac_configure_args=
994
ac_configure_args=
995
ac_configure_args0=
996
ac_configure_args1=
943
ac_sep=
997
ac_sep=
944
for ac_arg
998
ac_must_keep_next=false
999
for ac_pass in 1 2
945
do
1000
do
1001
  for ac_arg
1002
  do
946
  case $ac_arg in
1003
    case $ac_arg in
947
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1004
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
948
  | --no-cr | --no-c | -n ) continue ;;
1005
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
949
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1006
    | -silent | --silent | --silen | --sile | --sil)
950
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
951
    continue ;;
1007
      continue ;;
952
  *" "*|*"  "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1008
    *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
953
    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1009
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
954
  esac
1010
    esac
1011
    case $ac_pass in
1012
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1013
    2)
1014
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1015
      if test $ac_must_keep_next = true; then
1016
  ac_must_keep_next=false # Got value, back to normal.
1017
      else
1018
  case $ac_arg in
1019
    *=* | --config-cache | -C | -disable-* | --disable-* \
1020
    | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1021
    | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1022
    | -with-* | --with-* | -without-* | --without-* | --x)
955
  case " $ac_configure_args " in
1023
      case "$ac_configure_args0 " in
956
    *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1024
        "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1025
      esac
1026
      ;;
1027
    -* ) ac_must_keep_next=true ;;
1028
  esac
1029
      fi
957
    *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1030
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
958
       ac_sep=" " ;;
959
  esac
960
  # Get rid of the leading space.
1031
      # Get rid of the leading space.
1032
      ac_sep=" "
1033
      ;;
1034
    esac
961
done
1035
  done
1036
done
1037
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1038
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
962
1039
963
# When interrupted or exit'd, cleanup temporary files, and complete
1040
# When interrupted or exit'd, cleanup temporary files, and complete
964
# config.log.  We remove comments because anyway the quotes in there
1041
# config.log.  We remove comments because anyway the quotes in there
965
# would cause problems or look ugly.
1042
# would cause problems or look ugly.
966
# WARNING: Be sure not to use single quotes in there, as some shells,
1043
# WARNING: Be sure not to use single quotes in there, as some shells,
967
# such as our DU 5.0 friend, will then `close' the trap.
1044
# such as our DU 5.0 friend, will then `close' the trap.
968
trap 'exit_status=$?
1045
trap 'exit_status=$?
969
  # Save into config.log some information that might help in debugging.
1046
  # Save into config.log some information that might help in debugging.
970
  {
1047
  {
971
    echo
1048
    echo
1049
972
    cat <<\_ASBOX
1050
    cat <<\_ASBOX
973
## ---------------- ##
1051
## ---------------- ##
974
## Cache variables. ##
1052
## Cache variables. ##
975
## ---------------- ##
1053
## ---------------- ##
976
_ASBOX
1054
_ASBOX
...
...
979
{
1057
{
980
  (set) 2>&1 |
1058
  (set) 2>&1 |
981
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1059
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
982
    *ac_space=\ *)
1060
    *ac_space=\ *)
983
      sed -n \
1061
      sed -n \
984
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1062
  "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
985
       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1063
      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
986
      ;;
1064
      ;;
987
    *)
1065
    *)
988
      sed -n \
1066
      sed -n \
989
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1067
  "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
990
      ;;
1068
      ;;
991
    esac;
1069
    esac;
992
}
1070
}
993
    echo
1071
    echo
1072
1073
    cat <<\_ASBOX
1074
## ----------------- ##
1075
## Output variables. ##
1076
## ----------------- ##
1077
_ASBOX
1078
    echo
1079
    for ac_var in $ac_subst_vars
1080
    do
1081
      eval ac_val=$`echo $ac_var`
1082
      echo "$ac_var='"'"'$ac_val'"'"'"
1083
    done | sort
1084
    echo
1085
1086
    if test -n "$ac_subst_files"; then
1087
      cat <<\_ASBOX
1088
## ------------- ##
1089
## Output files. ##
1090
## ------------- ##
1091
_ASBOX
1092
      echo
1093
      for ac_var in $ac_subst_files
1094
      do
1095
  eval ac_val=$`echo $ac_var`
1096
  echo "$ac_var='"'"'$ac_val'"'"'"
1097
      done | sort
1098
      echo
1099
    fi
1100
994
    if test -s confdefs.h; then
1101
    if test -s confdefs.h; then
995
      cat <<\_ASBOX
1102
      cat <<\_ASBOX
996
## ----------- ##
1103
## ----------- ##
997
## confdefs.h. ##
1104
## confdefs.h. ##
998
## ----------- ##
1105
## ----------- ##
999
_ASBOX
1106
_ASBOX
1000
      echo
1107
      echo
1001
      sed "/^$/d" confdefs.h
1108
      sed "/^$/d" confdefs.h | sort
1002
      echo
1109
      echo
1003
    fi
1110
    fi
1004
    test "$ac_signal" != 0 &&
1111
    test "$ac_signal" != 0 &&
1005
      echo "$as_me: caught signal $ac_signal"
1112
      echo "$as_me: caught signal $ac_signal"
1006
    echo "$as_me: exit $exit_status"
1113
    echo "$as_me: exit $exit_status"
1007
  } >&5
1114
  } >&5
1008
  rm -f core core.* *.core &&
1115
  rm -f core *.core &&
1009
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1116
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1010
    exit $exit_status
1117
    exit $exit_status
1011
     ' 0
1118
     ' 0
1012
for ac_signal in 1 2 13 15; do
1119
for ac_signal in 1 2 13 15; do
1013
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1120
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
...
...
1083
1190
1084
# Check that the precious variables saved in the cache have kept the same
1191
# Check that the precious variables saved in the cache have kept the same
1085
# value.
1192
# value.
1086
ac_cache_corrupted=false
1193
ac_cache_corrupted=false
1087
for ac_var in `(set) 2>&1 |
1194
for ac_var in `(set) 2>&1 |
1088
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1195
         sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1089
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1196
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1090
  eval ac_new_set=\$ac_env_${ac_var}_set
1197
  eval ac_new_set=\$ac_env_${ac_var}_set
1091
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1198
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1092
  eval ac_new_val="\$ac_env_${ac_var}_value"
1199
  eval ac_new_val="\$ac_env_${ac_var}_value"
1093
  case $ac_old_set,$ac_new_set in
1200
  case $ac_old_set,$ac_new_set in
...
...
1100
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1207
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1101
      ac_cache_corrupted=: ;;
1208
      ac_cache_corrupted=: ;;
1102
    ,);;
1209
    ,);;
1103
    *)
1210
    *)
1104
      if test "x$ac_old_val" != "x$ac_new_val"; then
1211
      if test "x$ac_old_val" != "x$ac_new_val"; then
1105
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1212
  { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1106
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1213
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1107
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1214
  { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1108
echo "$as_me:   former value:  $ac_old_val" >&2;}
1215
echo "$as_me:   former value:  $ac_old_val" >&2;}
1109
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1216
  { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1110
echo "$as_me:   current value: $ac_new_val" >&2;}
1217
echo "$as_me:   current value: $ac_new_val" >&2;}
1111
        ac_cache_corrupted=:
1218
  ac_cache_corrupted=:
1112
      fi;;
1219
      fi;;
1113
  esac
1220
  esac
1114
  # Pass precious variables to config.status.
1221
  # Pass precious variables to config.status.
1115
  if test "$ac_new_set" = set; then
1222
  if test "$ac_new_set" = set; then
1116
    case $ac_new_val in
1223
    case $ac_new_val in
...
...
1161
1268
1162
1269
1163
1270
1164
1271
1165
1272
1273
1166
ac_config_headers="$ac_config_headers common/autoconfig.h"
1274
          ac_config_headers="$ac_config_headers common/autoconfig.h"
1167
1275
1168
1276
1169
1277
1170
1278
1171
sys=`uname`
1279
sys=`uname`
...
...
1237
     ;;
1345
     ;;
1238
     *) # The argument should be the path to the aspell program
1346
     *) # The argument should be the path to the aspell program
1239
     aspellProg=$withAspell
1347
     aspellProg=$withAspell
1240
     ;;
1348
     ;;
1241
esac
1349
esac
1242
# if
1350
echo withAspell = $withAspell
1351
1243
if test X$withAspell != Xno ; then
1352
if test X$withAspell != Xno ; then
1244
1353
1245
cat >>confdefs.h <<\_ACEOF
1354
cat >>confdefs.h <<\_ACEOF
1246
#define RCL_USE_ASPELL 1
1355
#define RCL_USE_ASPELL 1
1247
_ACEOF
1356
_ACEOF
1248
1357
1249
   if test X$aspellProg != X ; then
1358
   if test X$aspellProg != X ; then
1250
      aspellBase=`dirname $aspellProg`
1359
      aspellBase=`dirname $aspellProg`
1251
      aspellBase=`dirname $aspellBase`
1360
      aspellBase=`dirname $aspellBase`
1252
      if test ! -f $aspellBase/include/aspell.h ; then
1253
   { { echo "$as_me:$LINENO: error: aspell.h not found in $aspellBase/include. Specify --with-aspell=no to disable aspell support" >&5
1254
echo "$as_me: error: aspell.h not found in $aspellBase/include. Specify --with-aspell=no to disable aspell support" >&2;}
1255
   { (exit 1); exit 1; }; }
1256
      fi
1257
1361
1258
cat >>confdefs.h <<_ACEOF
1362
cat >>confdefs.h <<_ACEOF
1259
#define ASPELL_PROG "$aspellProg"
1363
#define ASPELL_PROG "$aspellProg"
1260
_ACEOF
1364
_ACEOF
1261
1365
1366
      if test -f $aspellBase/include/aspell.h ; then
1262
1367
1263
cat >>confdefs.h <<_ACEOF
1368
cat >>confdefs.h <<_ACEOF
1264
#define ASPELL_INCLUDE "$aspellBase/include/aspell.h"
1369
#define ASPELL_INCLUDE "$aspellBase/include/aspell.h"
1265
_ACEOF
1370
_ACEOF
1266
1371
1372
      else
1373
  { echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
1374
echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
1375
   cat >>confdefs.h <<\_ACEOF
1376
#define ASPELL_INCLUDE "aspell-local.h"
1377
_ACEOF
1378
1379
      fi
1267
   else
1380
   else
1268
     # aspell support enabled but no aspell install yet
1381
     # aspell support enabled but no aspell install yet
1269
    { echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
1382
    { echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
1270
echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
1383
echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
1271
    cat >>confdefs.h <<\_ACEOF
1384
    cat >>confdefs.h <<\_ACEOF
...
...
1569
  if test $# != 0; then
1682
  if test $# != 0; then
1570
    # We chose a different compiler from the bogus one.
1683
    # We chose a different compiler from the bogus one.
1571
    # However, it has the same basename, so the bogon will be chosen
1684
    # However, it has the same basename, so the bogon will be chosen
1572
    # first if we set CC to just the basename; use the full file name.
1685
    # first if we set CC to just the basename; use the full file name.
1573
    shift
1686
    shift
1574
    set dummy "$as_dir/$ac_word" ${1+"$@"}
1687
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1575
    shift
1576
    ac_cv_prog_CC="$@"
1577
  fi
1688
  fi
1578
fi
1689
fi
1579
fi
1690
fi
1580
fi
1691
fi
1581
CC=$ac_cv_prog_CC
1692
CC=$ac_cv_prog_CC
...
...
1676
fi
1787
fi
1677
1788
1678
fi
1789
fi
1679
1790
1680
1791
1681
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1792
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1793
See \`config.log' for more details." >&5
1682
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1794
echo "$as_me: error: no acceptable C compiler found in \$PATH
1795
See \`config.log' for more details." >&2;}
1683
   { (exit 1); exit 1; }; }
1796
   { (exit 1); exit 1; }; }
1684
1797
1685
# Provide some information about the compiler.
1798
# Provide some information about the compiler.
1686
echo "$as_me:$LINENO:" \
1799
echo "$as_me:$LINENO:" \
1687
     "checking for C compiler version" >&5
1800
     "checking for C compiler version" >&5
...
...
1701
  ac_status=$?
1814
  ac_status=$?
1702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1815
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703
  (exit $ac_status); }
1816
  (exit $ac_status); }
1704
1817
1705
cat >conftest.$ac_ext <<_ACEOF
1818
cat >conftest.$ac_ext <<_ACEOF
1706
#line $LINENO "configure"
1819
/* confdefs.h.  */
1707
#include "confdefs.h"
1820
_ACEOF
1821
cat confdefs.h >>conftest.$ac_ext
1822
cat >>conftest.$ac_ext <<_ACEOF
1823
/* end confdefs.h.  */
1708
1824
1709
#ifdef F77_DUMMY_MAIN
1710
#  ifdef __cplusplus
1711
     extern "C"
1712
#  endif
1713
   int F77_DUMMY_MAIN() { return 1; }
1714
#endif
1715
int
1825
int
1716
main ()
1826
main ()
1717
{
1827
{
1718
1828
1719
  ;
1829
  ;
1720
  return 0;
1830
  return 0;
1721
}
1831
}
1722
_ACEOF
1832
_ACEOF
1723
ac_clean_files_save=$ac_clean_files
1833
ac_clean_files_save=$ac_clean_files
1724
ac_clean_files="$ac_clean_files a.out a.exe"
1834
ac_clean_files="$ac_clean_files a.out a.exe b.out"
1725
# Try to create an executable without -o first, disregard a.out.
1835
# Try to create an executable without -o first, disregard a.out.
1726
# It will help us diagnose broken compilers, and finding out an intuition
1836
# It will help us diagnose broken compilers, and finding out an intuition
1727
# of exeext.
1837
# of exeext.
1728
echo "$as_me:$LINENO: checking for C compiler default output" >&5
1838
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1729
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1839
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1730
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1840
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1731
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1841
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1732
  (eval $ac_link_default) 2>&5
1842
  (eval $ac_link_default) 2>&5
1733
  ac_status=$?
1843
  ac_status=$?
1734
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
...
...
1738
# resort.
1848
# resort.
1739
1849
1740
# Be careful to initialize this variable, since it used to be cached.
1850
# Be careful to initialize this variable, since it used to be cached.
1741
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1851
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1742
ac_cv_exeext=
1852
ac_cv_exeext=
1743
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1853
# b.out is created by i960 compilers.
1744
                ls a.out conftest 2>/dev/null;
1854
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1745
                ls a.* conftest.* 2>/dev/null`; do
1855
do
1856
  test -f "$ac_file" || continue
1746
  case $ac_file in
1857
  case $ac_file in
1747
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1858
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1859
  ;;
1860
    conftest.$ac_ext )
1861
  # This is the source file.
1862
  ;;
1863
    [ab].out )
1748
    a.out ) # We found the default executable, but exeext='' is most
1864
  # We found the default executable, but exeext='' is most
1749
            # certainly right.
1865
  # certainly right.
1750
            break;;
1866
  break;;
1867
    *.* )
1751
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1868
  ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1752
          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1869
  # FIXME: I believe we export ac_cv_exeext for Libtool,
1870
  # but it would be cool to find out if it's true.  Does anybody
1871
  # maintain Libtool? --akim.
1753
          export ac_cv_exeext
1872
  export ac_cv_exeext
1754
          break;;
1873
  break;;
1755
    * ) break;;
1874
    * )
1875
  break;;
1756
  esac
1876
  esac
1757
done
1877
done
1758
else
1878
else
1759
  echo "$as_me: failed program was:" >&5
1879
  echo "$as_me: failed program was:" >&5
1760
cat conftest.$ac_ext >&5
1880
sed 's/^/| /' conftest.$ac_ext >&5
1881
1761
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1882
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1883
See \`config.log' for more details." >&5
1762
echo "$as_me: error: C compiler cannot create executables" >&2;}
1884
echo "$as_me: error: C compiler cannot create executables
1885
See \`config.log' for more details." >&2;}
1763
   { (exit 77); exit 77; }; }
1886
   { (exit 77); exit 77; }; }
1764
fi
1887
fi
1765
1888
1766
ac_exeext=$ac_cv_exeext
1889
ac_exeext=$ac_cv_exeext
1767
echo "$as_me:$LINENO: result: $ac_file" >&5
1890
echo "$as_me:$LINENO: result: $ac_file" >&5
...
...
1784
  else
1907
  else
1785
    if test "$cross_compiling" = maybe; then
1908
    if test "$cross_compiling" = maybe; then
1786
    cross_compiling=yes
1909
    cross_compiling=yes
1787
    else
1910
    else
1788
    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1911
    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1789
If you meant to cross compile, use \`--host'." >&5
1912
If you meant to cross compile, use \`--host'.
1913
See \`config.log' for more details." >&5
1790
echo "$as_me: error: cannot run C compiled programs.
1914
echo "$as_me: error: cannot run C compiled programs.
1791
If you meant to cross compile, use \`--host'." >&2;}
1915
If you meant to cross compile, use \`--host'.
1916
See \`config.log' for more details." >&2;}
1792
   { (exit 1); exit 1; }; }
1917
   { (exit 1); exit 1; }; }
1793
    fi
1918
    fi
1794
  fi
1919
  fi
1795
fi
1920
fi
1796
echo "$as_me:$LINENO: result: yes" >&5
1921
echo "$as_me:$LINENO: result: yes" >&5
1797
echo "${ECHO_T}yes" >&6
1922
echo "${ECHO_T}yes" >&6
1798
1923
1799
rm -f a.out a.exe conftest$ac_cv_exeext
1924
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1800
ac_clean_files=$ac_clean_files_save
1925
ac_clean_files=$ac_clean_files_save
1801
# Check the compiler produces executables we can run.  If not, either
1926
# Check the compiler produces executables we can run.  If not, either
1802
# the compiler is broken, or we cross compile.
1927
# the compiler is broken, or we cross compile.
1803
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1928
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1804
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1929
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
...
...
1814
  (exit $ac_status); }; then
1939
  (exit $ac_status); }; then
1815
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1940
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1816
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1941
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1817
# work properly (i.e., refer to `conftest.exe'), while it won't with
1942
# work properly (i.e., refer to `conftest.exe'), while it won't with
1818
# `rm'.
1943
# `rm'.
1819
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1944
for ac_file in conftest.exe conftest conftest.*; do
1945
  test -f "$ac_file" || continue
1820
  case $ac_file in
1946
  case $ac_file in
1821
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1947
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1822
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1948
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1823
          export ac_cv_exeext
1949
    export ac_cv_exeext
1824
          break;;
1950
    break;;
1825
    * ) break;;
1951
    * ) break;;
1826
  esac
1952
  esac
1827
done
1953
done
1828
else
1954
else
1829
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1955
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1956
See \`config.log' for more details." >&5
1830
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1957
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1958
See \`config.log' for more details." >&2;}
1831
   { (exit 1); exit 1; }; }
1959
   { (exit 1); exit 1; }; }
1832
fi
1960
fi
1833
1961
1834
rm -f conftest$ac_cv_exeext
1962
rm -f conftest$ac_cv_exeext
1835
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1963
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
...
...
1842
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1970
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1843
if test "${ac_cv_objext+set}" = set; then
1971
if test "${ac_cv_objext+set}" = set; then
1844
  echo $ECHO_N "(cached) $ECHO_C" >&6
1972
  echo $ECHO_N "(cached) $ECHO_C" >&6
1845
else
1973
else
1846
  cat >conftest.$ac_ext <<_ACEOF
1974
  cat >conftest.$ac_ext <<_ACEOF
1847
#line $LINENO "configure"
1975
/* confdefs.h.  */
1848
#include "confdefs.h"
1976
_ACEOF
1977
cat confdefs.h >>conftest.$ac_ext
1978
cat >>conftest.$ac_ext <<_ACEOF
1979
/* end confdefs.h.  */
1849
1980
1850
#ifdef F77_DUMMY_MAIN
1851
#  ifdef __cplusplus
1852
     extern "C"
1853
#  endif
1854
   int F77_DUMMY_MAIN() { return 1; }
1855
#endif
1856
int
1981
int
1857
main ()
1982
main ()
1858
{
1983
{
1859
1984
1860
  ;
1985
  ;
...
...
1867
  ac_status=$?
1992
  ac_status=$?
1868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869
  (exit $ac_status); }; then
1994
  (exit $ac_status); }; then
1870
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1995
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1871
  case $ac_file in
1996
  case $ac_file in
1872
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1997
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1873
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1998
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1874
       break;;
1999
       break;;
1875
  esac
2000
  esac
1876
done
2001
done
1877
else
2002
else
1878
  echo "$as_me: failed program was:" >&5
2003
  echo "$as_me: failed program was:" >&5
1879
cat conftest.$ac_ext >&5
2004
sed 's/^/| /' conftest.$ac_ext >&5
2005
1880
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2006
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2007
See \`config.log' for more details." >&5
1881
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2008
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2009
See \`config.log' for more details." >&2;}
1882
   { (exit 1); exit 1; }; }
2010
   { (exit 1); exit 1; }; }
1883
fi
2011
fi
1884
2012
1885
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2013
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1886
fi
2014
fi
...
...
1892
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2020
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1893
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2021
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1894
  echo $ECHO_N "(cached) $ECHO_C" >&6
2022
  echo $ECHO_N "(cached) $ECHO_C" >&6
1895
else
2023
else
1896
  cat >conftest.$ac_ext <<_ACEOF
2024
  cat >conftest.$ac_ext <<_ACEOF
1897
#line $LINENO "configure"
2025
/* confdefs.h.  */
1898
#include "confdefs.h"
2026
_ACEOF
2027
cat confdefs.h >>conftest.$ac_ext
2028
cat >>conftest.$ac_ext <<_ACEOF
2029
/* end confdefs.h.  */
1899
2030
1900
#ifdef F77_DUMMY_MAIN
1901
#  ifdef __cplusplus
1902
     extern "C"
1903
#  endif
1904
   int F77_DUMMY_MAIN() { return 1; }
1905
#endif
1906
int
2031
int
1907
main ()
2032
main ()
1908
{
2033
{
1909
#ifndef __GNUC__
2034
#ifndef __GNUC__
1910
       choke me
2035
       choke me
...
...
1914
  return 0;
2039
  return 0;
1915
}
2040
}
1916
_ACEOF
2041
_ACEOF
1917
rm -f conftest.$ac_objext
2042
rm -f conftest.$ac_objext
1918
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2043
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2044
  (eval $ac_compile) 2>conftest.er1
2045
  ac_status=$?
2046
  grep -v '^ *+' conftest.er1 >conftest.err
2047
  rm -f conftest.er1
2048
  cat conftest.err >&5
2049
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050
  (exit $ac_status); } &&
2051
   { ac_try='test -z "$ac_c_werror_flag"
2052
           || test ! -s conftest.err'
2053
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1919
  (eval $ac_compile) 2>&5
2054
  (eval $ac_try) 2>&5
1920
  ac_status=$?
2055
  ac_status=$?
1921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922
  (exit $ac_status); } &&
2057
  (exit $ac_status); }; } &&
1923
         { ac_try='test -s conftest.$ac_objext'
2058
   { ac_try='test -s conftest.$ac_objext'
1924
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1925
  (eval $ac_try) 2>&5
2060
  (eval $ac_try) 2>&5
1926
  ac_status=$?
2061
  ac_status=$?
1927
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928
  (exit $ac_status); }; }; then
2063
  (exit $ac_status); }; }; then
1929
  ac_compiler_gnu=yes
2064
  ac_compiler_gnu=yes
1930
else
2065
else
1931
  echo "$as_me: failed program was:" >&5
2066
  echo "$as_me: failed program was:" >&5
1932
cat conftest.$ac_ext >&5
2067
sed 's/^/| /' conftest.$ac_ext >&5
2068
1933
ac_compiler_gnu=no
2069
ac_compiler_gnu=no
1934
fi
2070
fi
1935
rm -f conftest.$ac_objext conftest.$ac_ext
2071
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1936
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2072
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1937
2073
1938
fi
2074
fi
1939
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2075
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1940
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2076
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
...
...
1946
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2082
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1947
if test "${ac_cv_prog_cc_g+set}" = set; then
2083
if test "${ac_cv_prog_cc_g+set}" = set; then
1948
  echo $ECHO_N "(cached) $ECHO_C" >&6
2084
  echo $ECHO_N "(cached) $ECHO_C" >&6
1949
else
2085
else
1950
  cat >conftest.$ac_ext <<_ACEOF
2086
  cat >conftest.$ac_ext <<_ACEOF
1951
#line $LINENO "configure"
2087
/* confdefs.h.  */
1952
#include "confdefs.h"
2088
_ACEOF
2089
cat confdefs.h >>conftest.$ac_ext
2090
cat >>conftest.$ac_ext <<_ACEOF
2091
/* end confdefs.h.  */
1953
2092
1954
#ifdef F77_DUMMY_MAIN
1955
#  ifdef __cplusplus
1956
     extern "C"
1957
#  endif
1958
   int F77_DUMMY_MAIN() { return 1; }
1959
#endif
1960
int
2093
int
1961
main ()
2094
main ()
1962
{
2095
{
1963
2096
1964
  ;
2097
  ;
1965
  return 0;
2098
  return 0;
1966
}
2099
}
1967
_ACEOF
2100
_ACEOF
1968
rm -f conftest.$ac_objext
2101
rm -f conftest.$ac_objext
1969
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2102
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2103
  (eval $ac_compile) 2>conftest.er1
2104
  ac_status=$?
2105
  grep -v '^ *+' conftest.er1 >conftest.err
2106
  rm -f conftest.er1
2107
  cat conftest.err >&5
2108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109
  (exit $ac_status); } &&
2110
   { ac_try='test -z "$ac_c_werror_flag"
2111
           || test ! -s conftest.err'
2112
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1970
  (eval $ac_compile) 2>&5
2113
  (eval $ac_try) 2>&5
1971
  ac_status=$?
2114
  ac_status=$?
1972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973
  (exit $ac_status); } &&
2116
  (exit $ac_status); }; } &&
1974
         { ac_try='test -s conftest.$ac_objext'
2117
   { ac_try='test -s conftest.$ac_objext'
1975
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1976
  (eval $ac_try) 2>&5
2119
  (eval $ac_try) 2>&5
1977
  ac_status=$?
2120
  ac_status=$?
1978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979
  (exit $ac_status); }; }; then
2122
  (exit $ac_status); }; }; then
1980
  ac_cv_prog_cc_g=yes
2123
  ac_cv_prog_cc_g=yes
1981
else
2124
else
1982
  echo "$as_me: failed program was:" >&5
2125
  echo "$as_me: failed program was:" >&5
1983
cat conftest.$ac_ext >&5
2126
sed 's/^/| /' conftest.$ac_ext >&5
2127
1984
ac_cv_prog_cc_g=no
2128
ac_cv_prog_cc_g=no
1985
fi
2129
fi
1986
rm -f conftest.$ac_objext conftest.$ac_ext
2130
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1987
fi
2131
fi
1988
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2132
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1989
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2133
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1990
if test "$ac_test_CFLAGS" = set; then
2134
if test "$ac_test_CFLAGS" = set; then
1991
  CFLAGS=$ac_save_CFLAGS
2135
  CFLAGS=$ac_save_CFLAGS
...
...
2000
    CFLAGS="-O2"
2144
    CFLAGS="-O2"
2001
  else
2145
  else
2002
    CFLAGS=
2146
    CFLAGS=
2003
  fi
2147
  fi
2004
fi
2148
fi
2149
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2150
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2151
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2152
  echo $ECHO_N "(cached) $ECHO_C" >&6
2153
else
2154
  ac_cv_prog_cc_stdc=no
2155
ac_save_CC=$CC
2156
cat >conftest.$ac_ext <<_ACEOF
2157
/* confdefs.h.  */
2158
_ACEOF
2159
cat confdefs.h >>conftest.$ac_ext
2160
cat >>conftest.$ac_ext <<_ACEOF
2161
/* end confdefs.h.  */
2162
#include <stdarg.h>
2163
#include <stdio.h>
2164
#include <sys/types.h>
2165
#include <sys/stat.h>
2166
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2167
struct buf { int x; };
2168
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2169
static char *e (p, i)
2170
     char **p;
2171
     int i;
2172
{
2173
  return p[i];
2174
}
2175
static char *f (char * (*g) (char **, int), char **p, ...)
2176
{
2177
  char *s;
2178
  va_list v;
2179
  va_start (v,p);
2180
  s = g (p, va_arg (v,int));
2181
  va_end (v);
2182
  return s;
2183
}
2184
2185
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2186
   function prototypes and stuff, but not '\xHH' hex character constants.
2187
   These don't provoke an error unfortunately, instead are silently treated
2188
   as 'x'.  The following induces an error, until -std1 is added to get
2189
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2190
   array size at least.  It's necessary to write '\x00'==0 to get something
2191
   that's true only with -std1.  */
2192
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2193
2194
int test (int i, double x);
2195
struct s1 {int (*f) (int a);};
2196
struct s2 {int (*f) (double a);};
2197
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2198
int argc;
2199
char **argv;
2200
int
2201
main ()
2202
{
2203
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2204
  ;
2205
  return 0;
2206
}
2207
_ACEOF
2208
# Don't try gcc -ansi; that turns off useful extensions and
2209
# breaks some systems' header files.
2210
# AIX         -qlanglvl=ansi
2211
# Ultrix and OSF/1    -std1
2212
# HP-UX 10.20 and later   -Ae
2213
# HP-UX older versions    -Aa -D_HPUX_SOURCE
2214
# SVR4            -Xc -D__EXTENSIONS__
2215
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2216
do
2217
  CC="$ac_save_CC $ac_arg"
2218
  rm -f conftest.$ac_objext
2219
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220
  (eval $ac_compile) 2>conftest.er1
2221
  ac_status=$?
2222
  grep -v '^ *+' conftest.er1 >conftest.err
2223
  rm -f conftest.er1
2224
  cat conftest.err >&5
2225
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226
  (exit $ac_status); } &&
2227
   { ac_try='test -z "$ac_c_werror_flag"
2228
           || test ! -s conftest.err'
2229
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230
  (eval $ac_try) 2>&5
2231
  ac_status=$?
2232
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233
  (exit $ac_status); }; } &&
2234
   { ac_try='test -s conftest.$ac_objext'
2235
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236
  (eval $ac_try) 2>&5
2237
  ac_status=$?
2238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239
  (exit $ac_status); }; }; then
2240
  ac_cv_prog_cc_stdc=$ac_arg
2241
break
2242
else
2243
  echo "$as_me: failed program was:" >&5
2244
sed 's/^/| /' conftest.$ac_ext >&5
2245
2246
fi
2247
rm -f conftest.err conftest.$ac_objext
2248
done
2249
rm -f conftest.$ac_ext conftest.$ac_objext
2250
CC=$ac_save_CC
2251
2252
fi
2253
2254
case "x$ac_cv_prog_cc_stdc" in
2255
  x|xno)
2256
    echo "$as_me:$LINENO: result: none needed" >&5
2257
echo "${ECHO_T}none needed" >&6 ;;
2258
  *)
2259
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2260
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2261
    CC="$CC $ac_cv_prog_cc_stdc" ;;
2262
esac
2263
2005
# Some people use a C++ compiler to compile C.  Since we use `exit',
2264
# Some people use a C++ compiler to compile C.  Since we use `exit',
2006
# in C++ we need to declare it.  In case someone uses the same compiler
2265
# in C++ we need to declare it.  In case someone uses the same compiler
2007
# for both compiling C and C++ we need to have the C++ compiler decide
2266
# for both compiling C and C++ we need to have the C++ compiler decide
2008
# the declaration of exit, since it's the most demanding environment.
2267
# the declaration of exit, since it's the most demanding environment.
2009
cat >conftest.$ac_ext <<_ACEOF
2268
cat >conftest.$ac_ext <<_ACEOF
...
...
2011
  choke me
2270
  choke me
2012
#endif
2271
#endif
2013
_ACEOF
2272
_ACEOF
2014
rm -f conftest.$ac_objext
2273
rm -f conftest.$ac_objext
2015
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2274
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2275
  (eval $ac_compile) 2>conftest.er1
2276
  ac_status=$?
2277
  grep -v '^ *+' conftest.er1 >conftest.err
2278
  rm -f conftest.er1
2279
  cat conftest.err >&5
2280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281
  (exit $ac_status); } &&
2282
   { ac_try='test -z "$ac_c_werror_flag"
2283
           || test ! -s conftest.err'
2284
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016
  (eval $ac_compile) 2>&5
2285
  (eval $ac_try) 2>&5
2017
  ac_status=$?
2286
  ac_status=$?
2018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019
  (exit $ac_status); } &&
2288
  (exit $ac_status); }; } &&
2020
         { ac_try='test -s conftest.$ac_objext'
2289
   { ac_try='test -s conftest.$ac_objext'
2021
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2290
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2022
  (eval $ac_try) 2>&5
2291
  (eval $ac_try) 2>&5
2023
  ac_status=$?
2292
  ac_status=$?
2024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025
  (exit $ac_status); }; }; then
2294
  (exit $ac_status); }; }; then
2026
  for ac_declaration in \
2295
  for ac_declaration in \
2027
   ''\
2296
   '' \
2028
   '#include <stdlib.h>' \
2029
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2297
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2030
   'extern "C" void std::exit (int); using std::exit;' \
2298
   'extern "C" void std::exit (int); using std::exit;' \
2031
   'extern "C" void exit (int) throw ();' \
2299
   'extern "C" void exit (int) throw ();' \
2032
   'extern "C" void exit (int);' \
2300
   'extern "C" void exit (int);' \
2033
   'void exit (int);'
2301
   'void exit (int);'
2034
do
2302
do
2035
  cat >conftest.$ac_ext <<_ACEOF
2303
  cat >conftest.$ac_ext <<_ACEOF
2036
#line $LINENO "configure"
2304
/* confdefs.h.  */
2037
#include "confdefs.h"
2305
_ACEOF
2306
cat confdefs.h >>conftest.$ac_ext
2307
cat >>conftest.$ac_ext <<_ACEOF
2308
/* end confdefs.h.  */
2309
$ac_declaration
2038
#include <stdlib.h>
2310
#include <stdlib.h>
2039
$ac_declaration
2040
#ifdef F77_DUMMY_MAIN
2041
#  ifdef __cplusplus
2042
     extern "C"
2043
#  endif
2044
   int F77_DUMMY_MAIN() { return 1; }
2045
#endif
2046
int
2311
int
2047
main ()
2312
main ()
2048
{
2313
{
2049
exit (42);
2314
exit (42);
2050
  ;
2315
  ;
2051
  return 0;
2316
  return 0;
2052
}
2317
}
2053
_ACEOF
2318
_ACEOF
2054
rm -f conftest.$ac_objext
2319
rm -f conftest.$ac_objext
2055
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2320
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2321
  (eval $ac_compile) 2>conftest.er1
2322
  ac_status=$?
2323
  grep -v '^ *+' conftest.er1 >conftest.err
2324
  rm -f conftest.er1
2325
  cat conftest.err >&5
2326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327
  (exit $ac_status); } &&
2328
   { ac_try='test -z "$ac_c_werror_flag"
2329
           || test ! -s conftest.err'
2330
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2056
  (eval $ac_compile) 2>&5
2331
  (eval $ac_try) 2>&5
2057
  ac_status=$?
2332
  ac_status=$?
2058
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059
  (exit $ac_status); } &&
2334
  (exit $ac_status); }; } &&
2060
         { ac_try='test -s conftest.$ac_objext'
2335
   { ac_try='test -s conftest.$ac_objext'
2061
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062
  (eval $ac_try) 2>&5
2337
  (eval $ac_try) 2>&5
2063
  ac_status=$?
2338
  ac_status=$?
2064
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065
  (exit $ac_status); }; }; then
2340
  (exit $ac_status); }; }; then
2066
  :
2341
  :
2067
else
2342
else
2068
  echo "$as_me: failed program was:" >&5
2343
  echo "$as_me: failed program was:" >&5
2069
cat conftest.$ac_ext >&5
2344
sed 's/^/| /' conftest.$ac_ext >&5
2345
2070
continue
2346
continue
2071
fi
2347
fi
2072
rm -f conftest.$ac_objext conftest.$ac_ext
2348
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2073
  cat >conftest.$ac_ext <<_ACEOF
2349
  cat >conftest.$ac_ext <<_ACEOF
2074
#line $LINENO "configure"
2350
/* confdefs.h.  */
2075
#include "confdefs.h"
2351
_ACEOF
2352
cat confdefs.h >>conftest.$ac_ext
2353
cat >>conftest.$ac_ext <<_ACEOF
2354
/* end confdefs.h.  */
2076
$ac_declaration
2355
$ac_declaration
2077
#ifdef F77_DUMMY_MAIN
2078
#  ifdef __cplusplus
2079
     extern "C"
2080
#  endif
2081
   int F77_DUMMY_MAIN() { return 1; }
2082
#endif
2083
int
2356
int
2084
main ()
2357
main ()
2085
{
2358
{
2086
exit (42);
2359
exit (42);
2087
  ;
2360
  ;
2088
  return 0;
2361
  return 0;
2089
}
2362
}
2090
_ACEOF
2363
_ACEOF
2091
rm -f conftest.$ac_objext
2364
rm -f conftest.$ac_objext
2092
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2366
  (eval $ac_compile) 2>conftest.er1
2367
  ac_status=$?
2368
  grep -v '^ *+' conftest.er1 >conftest.err
2369
  rm -f conftest.er1
2370
  cat conftest.err >&5
2371
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372
  (exit $ac_status); } &&
2373
   { ac_try='test -z "$ac_c_werror_flag"
2374
           || test ! -s conftest.err'
2375
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2093
  (eval $ac_compile) 2>&5
2376
  (eval $ac_try) 2>&5
2094
  ac_status=$?
2377
  ac_status=$?
2095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096
  (exit $ac_status); } &&
2379
  (exit $ac_status); }; } &&
2097
         { ac_try='test -s conftest.$ac_objext'
2380
   { ac_try='test -s conftest.$ac_objext'
2098
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2099
  (eval $ac_try) 2>&5
2382
  (eval $ac_try) 2>&5
2100
  ac_status=$?
2383
  ac_status=$?
2101
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102
  (exit $ac_status); }; }; then
2385
  (exit $ac_status); }; }; then
2103
  break
2386
  break
2104
else
2387
else
2105
  echo "$as_me: failed program was:" >&5
2388
  echo "$as_me: failed program was:" >&5
2106
cat conftest.$ac_ext >&5
2389
sed 's/^/| /' conftest.$ac_ext >&5
2390
2107
fi
2391
fi
2108
rm -f conftest.$ac_objext conftest.$ac_ext
2392
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2109
done
2393
done
2110
rm -f conftest*
2394
rm -f conftest*
2111
if test -n "$ac_declaration"; then
2395
if test -n "$ac_declaration"; then
2112
  echo '#ifdef __cplusplus' >>confdefs.h
2396
  echo '#ifdef __cplusplus' >>confdefs.h
2113
  echo $ac_declaration      >>confdefs.h
2397
  echo $ac_declaration      >>confdefs.h
2114
  echo '#endif'             >>confdefs.h
2398
  echo '#endif'             >>confdefs.h
2115
fi
2399
fi
2116
2400
2117
else
2401
else
2118
  echo "$as_me: failed program was:" >&5
2402
  echo "$as_me: failed program was:" >&5
2119
cat conftest.$ac_ext >&5
2403
sed 's/^/| /' conftest.$ac_ext >&5
2404
2120
fi
2405
fi
2121
rm -f conftest.$ac_objext conftest.$ac_ext
2406
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2122
ac_ext=c
2407
ac_ext=c
2123
ac_cpp='$CPP $CPPFLAGS'
2408
ac_cpp='$CPP $CPPFLAGS'
2124
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2409
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2125
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2410
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2126
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2411
ac_compiler_gnu=$ac_cv_c_compiler_gnu
...
...
2132
  echo $ECHO_N "(cached) $ECHO_C" >&6
2417
  echo $ECHO_N "(cached) $ECHO_C" >&6
2133
else
2418
else
2134
  ac_check_lib_save_LIBS=$LIBS
2419
  ac_check_lib_save_LIBS=$LIBS
2135
LIBS="-liconv  $LIBS"
2420
LIBS="-liconv  $LIBS"
2136
cat >conftest.$ac_ext <<_ACEOF
2421
cat >conftest.$ac_ext <<_ACEOF
2137
#line $LINENO "configure"
2422
/* confdefs.h.  */
2138
#include "confdefs.h"
2423
_ACEOF
2424
cat confdefs.h >>conftest.$ac_ext
2425
cat >>conftest.$ac_ext <<_ACEOF
2426
/* end confdefs.h.  */
2139
2427
2140
/* Override any gcc2 internal prototype to avoid an error.  */
2428
/* Override any gcc2 internal prototype to avoid an error.  */
2141
#ifdef __cplusplus
2429
#ifdef __cplusplus
2142
extern "C"
2430
extern "C"
2143
#endif
2431
#endif
2144
/* We use char because int might match the return type of a gcc2
2432
/* We use char because int might match the return type of a gcc2
2145
   builtin and then its argument prototype would still apply.  */
2433
   builtin and then its argument prototype would still apply.  */
2146
char iconv_open ();
2434
char iconv_open ();
2147
#ifdef F77_DUMMY_MAIN
2148
#  ifdef __cplusplus
2149
     extern "C"
2150
#  endif
2151
   int F77_DUMMY_MAIN() { return 1; }
2152
#endif
2153
int
2435
int
2154
main ()
2436
main ()
2155
{
2437
{
2156
iconv_open ();
2438
iconv_open ();
2157
  ;
2439
  ;
2158
  return 0;
2440
  return 0;
2159
}
2441
}
2160
_ACEOF
2442
_ACEOF
2161
rm -f conftest.$ac_objext conftest$ac_exeext
2443
rm -f conftest.$ac_objext conftest$ac_exeext
2162
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2444
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2445
  (eval $ac_link) 2>conftest.er1
2446
  ac_status=$?
2447
  grep -v '^ *+' conftest.er1 >conftest.err
2448
  rm -f conftest.er1
2449
  cat conftest.err >&5
2450
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451
  (exit $ac_status); } &&
2452
   { ac_try='test -z "$ac_c_werror_flag"
2453
           || test ! -s conftest.err'
2454
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163
  (eval $ac_link) 2>&5
2455
  (eval $ac_try) 2>&5
2164
  ac_status=$?
2456
  ac_status=$?
2165
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166
  (exit $ac_status); } &&
2458
  (exit $ac_status); }; } &&
2167
         { ac_try='test -s conftest$ac_exeext'
2459
   { ac_try='test -s conftest$ac_exeext'
2168
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2169
  (eval $ac_try) 2>&5
2461
  (eval $ac_try) 2>&5
2170
  ac_status=$?
2462
  ac_status=$?
2171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172
  (exit $ac_status); }; }; then
2464
  (exit $ac_status); }; }; then
2173
  ac_cv_lib_iconv_iconv_open=yes
2465
  ac_cv_lib_iconv_iconv_open=yes
2174
else
2466
else
2175
  echo "$as_me: failed program was:" >&5
2467
  echo "$as_me: failed program was:" >&5
2176
cat conftest.$ac_ext >&5
2468
sed 's/^/| /' conftest.$ac_ext >&5
2469
2177
ac_cv_lib_iconv_iconv_open=no
2470
ac_cv_lib_iconv_iconv_open=no
2178
fi
2471
fi
2179
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2472
rm -f conftest.err conftest.$ac_objext \
2473
      conftest$ac_exeext conftest.$ac_ext
2180
LIBS=$ac_check_lib_save_LIBS
2474
LIBS=$ac_check_lib_save_LIBS
2181
fi
2475
fi
2182
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
2476
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
2183
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
2477
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
2184
if test $ac_cv_lib_iconv_iconv_open = yes; then
2478
if test $ac_cv_lib_iconv_iconv_open = yes; then
...
...
2195
  echo $ECHO_N "(cached) $ECHO_C" >&6
2489
  echo $ECHO_N "(cached) $ECHO_C" >&6
2196
else
2490
else
2197
  ac_check_lib_save_LIBS=$LIBS
2491
  ac_check_lib_save_LIBS=$LIBS
2198
LIBS="-liconv  $LIBS"
2492
LIBS="-liconv  $LIBS"
2199
cat >conftest.$ac_ext <<_ACEOF
2493
cat >conftest.$ac_ext <<_ACEOF
2200
#line $LINENO "configure"
2494
/* confdefs.h.  */
2201
#include "confdefs.h"
2495
_ACEOF
2496
cat confdefs.h >>conftest.$ac_ext
2497
cat >>conftest.$ac_ext <<_ACEOF
2498
/* end confdefs.h.  */
2202
2499
2203
/* Override any gcc2 internal prototype to avoid an error.  */
2500
/* Override any gcc2 internal prototype to avoid an error.  */
2204
#ifdef __cplusplus
2501
#ifdef __cplusplus
2205
extern "C"
2502
extern "C"
2206
#endif
2503
#endif
2207
/* We use char because int might match the return type of a gcc2
2504
/* We use char because int might match the return type of a gcc2
2208
   builtin and then its argument prototype would still apply.  */
2505
   builtin and then its argument prototype would still apply.  */
2209
char iconv_open ();
2506
char iconv_open ();
2210
#ifdef F77_DUMMY_MAIN
2211
#  ifdef __cplusplus
2212
     extern "C"
2213
#  endif
2214
   int F77_DUMMY_MAIN() { return 1; }
2215
#endif
2216
int
2507
int
2217
main ()
2508
main ()
2218
{
2509
{
2219
iconv_open ();
2510
iconv_open ();
2220
  ;
2511
  ;
2221
  return 0;
2512
  return 0;
2222
}
2513
}
2223
_ACEOF
2514
_ACEOF
2224
rm -f conftest.$ac_objext conftest$ac_exeext
2515
rm -f conftest.$ac_objext conftest$ac_exeext
2225
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2516
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2517
  (eval $ac_link) 2>conftest.er1
2518
  ac_status=$?
2519
  grep -v '^ *+' conftest.er1 >conftest.err
2520
  rm -f conftest.er1
2521
  cat conftest.err >&5
2522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523
  (exit $ac_status); } &&
2524
   { ac_try='test -z "$ac_c_werror_flag"
2525
           || test ! -s conftest.err'
2526
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226
  (eval $ac_link) 2>&5
2527
  (eval $ac_try) 2>&5
2227
  ac_status=$?
2528
  ac_status=$?
2228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229
  (exit $ac_status); } &&
2530
  (exit $ac_status); }; } &&
2230
         { ac_try='test -s conftest$ac_exeext'
2531
   { ac_try='test -s conftest$ac_exeext'
2231
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232
  (eval $ac_try) 2>&5
2533
  (eval $ac_try) 2>&5
2233
  ac_status=$?
2534
  ac_status=$?
2234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235
  (exit $ac_status); }; }; then
2536
  (exit $ac_status); }; }; then
2236
  ac_cv_lib_iconv_iconv_open=yes
2537
  ac_cv_lib_iconv_iconv_open=yes
2237
else
2538
else
2238
  echo "$as_me: failed program was:" >&5
2539
  echo "$as_me: failed program was:" >&5
2239
cat conftest.$ac_ext >&5
2540
sed 's/^/| /' conftest.$ac_ext >&5
2541
2240
ac_cv_lib_iconv_iconv_open=no
2542
ac_cv_lib_iconv_iconv_open=no
2241
fi
2543
fi
2242
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2544
rm -f conftest.err conftest.$ac_objext \
2545
      conftest$ac_exeext conftest.$ac_ext
2243
LIBS=$ac_check_lib_save_LIBS
2546
LIBS=$ac_check_lib_save_LIBS
2244
fi
2547
fi
2245
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
2548
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
2246
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
2549
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
2247
if test $ac_cv_lib_iconv_iconv_open = yes; then
2550
if test $ac_cv_lib_iconv_iconv_open = yes; then
...
...
2258
  echo $ECHO_N "(cached) $ECHO_C" >&6
2561
  echo $ECHO_N "(cached) $ECHO_C" >&6
2259
else
2562
else
2260
  ac_check_lib_save_LIBS=$LIBS
2563
  ac_check_lib_save_LIBS=$LIBS
2261
LIBS="-lc  $LIBS"
2564
LIBS="-lc  $LIBS"
2262
cat >conftest.$ac_ext <<_ACEOF
2565
cat >conftest.$ac_ext <<_ACEOF
2263
#line $LINENO "configure"
2566
/* confdefs.h.  */
2264
#include "confdefs.h"
2567
_ACEOF
2568
cat confdefs.h >>conftest.$ac_ext
2569
cat >>conftest.$ac_ext <<_ACEOF
2570
/* end confdefs.h.  */
2265
2571
2266
/* Override any gcc2 internal prototype to avoid an error.  */
2572
/* Override any gcc2 internal prototype to avoid an error.  */
2267
#ifdef __cplusplus
2573
#ifdef __cplusplus
2268
extern "C"
2574
extern "C"
2269
#endif
2575
#endif
2270
/* We use char because int might match the return type of a gcc2
2576
/* We use char because int might match the return type of a gcc2
2271
   builtin and then its argument prototype would still apply.  */
2577
   builtin and then its argument prototype would still apply.  */
2272
char iconv_open ();
2578
char iconv_open ();
2273
#ifdef F77_DUMMY_MAIN
2274
#  ifdef __cplusplus
2275
     extern "C"
2276
#  endif
2277
   int F77_DUMMY_MAIN() { return 1; }
2278
#endif
2279
int
2579
int
2280
main ()
2580
main ()
2281
{
2581
{
2282
iconv_open ();
2582
iconv_open ();
2283
  ;
2583
  ;
2284
  return 0;
2584
  return 0;
2285
}
2585
}
2286
_ACEOF
2586
_ACEOF
2287
rm -f conftest.$ac_objext conftest$ac_exeext
2587
rm -f conftest.$ac_objext conftest$ac_exeext
2288
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2588
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2589
  (eval $ac_link) 2>conftest.er1
2590
  ac_status=$?
2591
  grep -v '^ *+' conftest.er1 >conftest.err
2592
  rm -f conftest.er1
2593
  cat conftest.err >&5
2594
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595
  (exit $ac_status); } &&
2596
   { ac_try='test -z "$ac_c_werror_flag"
2597
           || test ! -s conftest.err'
2598
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289
  (eval $ac_link) 2>&5
2599
  (eval $ac_try) 2>&5
2290
  ac_status=$?
2600
  ac_status=$?
2291
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292
  (exit $ac_status); } &&
2602
  (exit $ac_status); }; } &&
2293
         { ac_try='test -s conftest$ac_exeext'
2603
   { ac_try='test -s conftest$ac_exeext'
2294
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295
  (eval $ac_try) 2>&5
2605
  (eval $ac_try) 2>&5
2296
  ac_status=$?
2606
  ac_status=$?
2297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298
  (exit $ac_status); }; }; then
2608
  (exit $ac_status); }; }; then
2299
  ac_cv_lib_c_iconv_open=yes
2609
  ac_cv_lib_c_iconv_open=yes
2300
else
2610
else
2301
  echo "$as_me: failed program was:" >&5
2611
  echo "$as_me: failed program was:" >&5
2302
cat conftest.$ac_ext >&5
2612
sed 's/^/| /' conftest.$ac_ext >&5
2613
2303
ac_cv_lib_c_iconv_open=no
2614
ac_cv_lib_c_iconv_open=no
2304
fi
2615
fi
2305
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2616
rm -f conftest.err conftest.$ac_objext \
2617
      conftest$ac_exeext conftest.$ac_ext
2306
LIBS=$ac_check_lib_save_LIBS
2618
LIBS=$ac_check_lib_save_LIBS
2307
fi
2619
fi
2308
echo "$as_me:$LINENO: result: $ac_cv_lib_c_iconv_open" >&5
2620
echo "$as_me:$LINENO: result: $ac_cv_lib_c_iconv_open" >&5
2309
echo "${ECHO_T}$ac_cv_lib_c_iconv_open" >&6
2621
echo "${ECHO_T}$ac_cv_lib_c_iconv_open" >&6
2310
if test $ac_cv_lib_c_iconv_open = yes; then
2622
if test $ac_cv_lib_c_iconv_open = yes; then
...
...
2527
2839
2528
2840
2529
2841
2530
2842
2531
2843
2532
ac_config_files="$ac_config_files mk/localdefs"
2844
          ac_config_files="$ac_config_files mk/localdefs"
2533
2845
2534
ac_config_files="$ac_config_files recollinstall"
2846
          ac_config_files="$ac_config_files recollinstall"
2535
2847
2536
ac_config_files="$ac_config_files Makefile"
2848
          ac_config_files="$ac_config_files Makefile"
2537
2849
2538
ac_config_files="$ac_config_files sampleconf/recoll.conf"
2850
          ac_config_files="$ac_config_files sampleconf/recoll.conf"
2539
2851
2540
ac_config_files="$ac_config_files $QTGUI/recoll.pro"
2852
          ac_config_files="$ac_config_files $QTGUI/recoll.pro"
2541
2853
2542
2854
2543
for d in bincimapmime index lib query
2855
for d in bincimapmime index lib query
2544
do
2856
do
2545
    rm -f $d/alldeps.stamp
2857
    rm -f $d/alldeps.stamp
...
...
2556
# want to keep, you may remove or edit it.
2868
# want to keep, you may remove or edit it.
2557
#
2869
#
2558
# config.status only pays attention to the cache file if you give it
2870
# config.status only pays attention to the cache file if you give it
2559
# the --recheck option to rerun configure.
2871
# the --recheck option to rerun configure.
2560
#
2872
#
2561
# `ac_cv_env_foo' variables (set or unset) will be overriden when
2873
# `ac_cv_env_foo' variables (set or unset) will be overridden when
2562
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2874
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2563
# following values.
2875
# following values.
2564
2876
2565
_ACEOF
2877
_ACEOF
2566
2878
...
...
2574
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2886
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2575
    *ac_space=\ *)
2887
    *ac_space=\ *)
2576
      # `set' does not quote correctly, so add quotes (double-quote
2888
      # `set' does not quote correctly, so add quotes (double-quote
2577
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2889
      # substitution turns \\\\ into \\, and sed turns \\ into \).
2578
      sed -n \
2890
      sed -n \
2579
        "s/'/'\\\\''/g;
2891
  "s/'/'\\\\''/g;
2580
       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2892
      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2581
      ;;
2893
      ;;
2582
    *)
2894
    *)
2583
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2895
      # `set' quotes correctly as required by POSIX, so do not add quotes.
2584
      sed -n \
2896
      sed -n \
2585
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2897
  "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2586
      ;;
2898
      ;;
2587
    esac;
2899
    esac;
2588
} |
2900
} |
2589
  sed '
2901
  sed '
2590
     t clear
2902
     t clear
2591
     : clear
2903
     : clear
2592
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2904
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2593
     t end
2905
     t end
2594
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2906
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2595
     : end' >>confcache
2907
     : end' >>confcache
2596
if cmp -s $cache_file confcache; then :; else
2908
if diff $cache_file confcache >/dev/null 2>&1; then :; else
2597
  if test -w $cache_file; then
2909
  if test -w $cache_file; then
2598
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2910
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2599
    cat confcache >$cache_file
2911
    cat confcache >$cache_file
2600
  else
2912
  else
2601
    echo "not updating unwritable cache $cache_file"
2913
    echo "not updating unwritable cache $cache_file"
...
...
2610
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2922
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2611
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2923
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2612
# trailing colons and then remove the whole line if VPATH becomes empty
2924
# trailing colons and then remove the whole line if VPATH becomes empty
2613
# (actually we leave an empty line to preserve line numbers).
2925
# (actually we leave an empty line to preserve line numbers).
2614
if test "x$srcdir" = x.; then
2926
if test "x$srcdir" = x.; then
2615
  ac_vpsub='/^[   ]*VPATH[     ]*=/{
2927
  ac_vpsub='/^[    ]*VPATH[     ]*=/{
2616
s/:*\$(srcdir):*/:/;
2928
s/:*\$(srcdir):*/:/;
2617
s/:*\${srcdir}:*/:/;
2929
s/:*\${srcdir}:*/:/;
2618
s/:*@srcdir@:*/:/;
2930
s/:*@srcdir@:*/:/;
2619
s/^\([^=]*=[  ]*\):*/\1/;
2931
s/^\([^=]*=[   ]*\):*/\1/;
2620
s/:*$//;
2932
s/:*$//;
2621
s/^[^=]*=[    ]*$//;
2933
s/^[^=]*=[     ]*$//;
2622
}'
2934
}'
2623
fi
2935
fi
2624
2936
2625
DEFS=-DHAVE_CONFIG_H
2937
DEFS=-DHAVE_CONFIG_H
2938
2939
ac_libobjs=
2940
ac_ltlibobjs=
2941
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2942
  # 1. Remove the extension, and $U if already installed.
2943
  ac_i=`echo "$ac_i" |
2944
   sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2945
  # 2. Add them.
2946
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2947
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2948
done
2949
LIBOBJS=$ac_libobjs
2950
2951
LTLIBOBJS=$ac_ltlibobjs
2952
2626
2953
2627
2954
2628
: ${CONFIG_STATUS=./config.status}
2955
: ${CONFIG_STATUS=./config.status}
2629
ac_clean_files_save=$ac_clean_files
2956
ac_clean_files_save=$ac_clean_files
2630
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2957
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
...
...
2636
# Run this file to recreate the current configuration.
2963
# Run this file to recreate the current configuration.
2637
# Compiler output produced by configure, useful for debugging
2964
# Compiler output produced by configure, useful for debugging
2638
# configure, is in config.log if it exists.
2965
# configure, is in config.log if it exists.
2639
2966
2640
debug=false
2967
debug=false
2968
ac_cs_recheck=false
2969
ac_cs_silent=false
2641
SHELL=\${CONFIG_SHELL-$SHELL}
2970
SHELL=\${CONFIG_SHELL-$SHELL}
2642
_ACEOF
2971
_ACEOF
2643
2972
2644
cat >>$CONFIG_STATUS <<\_ACEOF
2973
cat >>$CONFIG_STATUS <<\_ACEOF
2645
2646
## --------------------- ##
2974
## --------------------- ##
2647
## M4sh Initialization.  ##
2975
## M4sh Initialization.  ##
2648
## --------------------- ##
2976
## --------------------- ##
2649
2977
2650
# Be Bourne compatible
2978
# Be Bourne compatible
2651
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2979
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2652
  emulate sh
2980
  emulate sh
2653
  NULLCMD=:
2981
  NULLCMD=:
2982
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2983
  # is contrary to our usage.  Disable this feature.
2984
  alias -g '${1+"$@"}'='"$@"'
2654
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2985
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2655
  set -o posix
2986
  set -o posix
2656
fi
2987
fi
2988
DUALCASE=1; export DUALCASE # for MKS sh
2989
2990
# Support unset when possible.
2991
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2992
  as_unset=unset
2993
else
2994
  as_unset=false
2995
fi
2996
2997
2998
# Work around bugs in pre-3.0 UWIN ksh.
2999
$as_unset ENV MAIL MAILPATH
3000
PS1='$ '
3001
PS2='> '
3002
PS4='+ '
2657
3003
2658
# NLS nuisances.
3004
# NLS nuisances.
2659
# Support unset when possible.
3005
for as_var in \
2660
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3006
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2661
  as_unset=unset
3007
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3008
  LC_TELEPHONE LC_TIME
3009
do
3010
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3011
    eval $as_var=C; export $as_var
2662
else
3012
  else
3013
    $as_unset $as_var
3014
  fi
3015
done
3016
3017
# Required to use basename.
3018
if expr a : '\(a\)' >/dev/null 2>&1; then
3019
  as_expr=expr
3020
else
2663
  as_unset=false
3021
  as_expr=false
2664
fi
3022
fi
2665
3023
2666
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3024
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2667
    { $as_unset LANG || test "${LANG+set}" != set; } ||
3025
  as_basename=basename
2668
      { LANG=C; export LANG; }
3026
else
2669
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3027
  as_basename=false
2670
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3028
fi
2671
      { LC_ALL=C; export LC_ALL; }
2672
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2673
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2674
      { LC_TIME=C; export LC_TIME; }
2675
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2676
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2677
      { LC_CTYPE=C; export LC_CTYPE; }
2678
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2679
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2680
      { LANGUAGE=C; export LANGUAGE; }
2681
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2682
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2683
      { LC_COLLATE=C; export LC_COLLATE; }
2684
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2685
    { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2686
      { LC_NUMERIC=C; export LC_NUMERIC; }
2687
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2688
    { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2689
      { LC_MESSAGES=C; export LC_MESSAGES; }
2690
3029
2691
3030
2692
# Name of the executable.
3031
# Name of the executable.
2693
as_me=`(basename "$0") 2>/dev/null ||
3032
as_me=`$as_basename "$0" ||
2694
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3033
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2695
     X"$0" : 'X\(//\)$' \| \
3034
     X"$0" : 'X\(//\)$' \| \
2696
     X"$0" : 'X\(/\)$' \| \
3035
     X"$0" : 'X\(/\)$' \| \
2697
     .     : '\(.\)' 2>/dev/null ||
3036
     .     : '\(.\)' 2>/dev/null ||
2698
echo X/"$0" |
3037
echo X/"$0" |
2699
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3038
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2700
      /^X\/\(\/\/\)$/{ s//\1/; q; }
3039
      /^X\/\(\/\/\)$/{ s//\1/; q; }
2701
      /^X\/\(\/\).*/{ s//\1/; q; }
3040
      /^X\/\(\/\).*/{ s//\1/; q; }
2702
      s/.*/./; q'`
3041
      s/.*/./; q'`
2703
3042
3043
2704
# PATH needs CR, and LINENO needs CR and PATH.
3044
# PATH needs CR, and LINENO needs CR and PATH.
2705
# Avoid depending upon Character Ranges.
3045
# Avoid depending upon Character Ranges.
2706
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3046
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2707
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3047
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2708
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3048
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2709
as_cr_digits='0123456789'
3049
as_cr_digits='0123456789'
2710
as_cr_alnum=$as_cr_Letters$as_cr_digits
3050
as_cr_alnum=$as_cr_Letters$as_cr_digits
2711
3051
2712
# The user is always right.
3052
# The user is always right.
2713
if test "${PATH_SEPARATOR+set}" != set; then
3053
if test "${PATH_SEPARATOR+set}" != set; then
2714
  echo "#! /bin/sh" >conftest.sh
3054
  echo "#! /bin/sh" >conf$$.sh
2715
  echo  "exit 0"   >>conftest.sh
3055
  echo  "exit 0"   >>conf$$.sh
2716
  chmod +x conftest.sh
3056
  chmod +x conf$$.sh
2717
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3057
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2718
    PATH_SEPARATOR=';'
3058
    PATH_SEPARATOR=';'
2719
  else
3059
  else
2720
    PATH_SEPARATOR=:
3060
    PATH_SEPARATOR=:
2721
  fi
3061
  fi
2722
  rm -f conftest.sh
3062
  rm -f conf$$.sh
2723
fi
3063
fi
2724
3064
2725
3065
2726
  as_lineno_1=$LINENO
3066
  as_lineno_1=$LINENO
2727
  as_lineno_2=$LINENO
3067
  as_lineno_2=$LINENO
...
...
2766
  as_lineno_1=$LINENO
3106
  as_lineno_1=$LINENO
2767
  as_lineno_2=$LINENO
3107
  as_lineno_2=$LINENO
2768
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3108
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2769
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3109
  test "x$as_lineno_1" != "x$as_lineno_2" &&
2770
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3110
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3111
       $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3112
       $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2771
         CONFIG_SHELL=$as_dir/$as_base
3113
         CONFIG_SHELL=$as_dir/$as_base
2772
         export CONFIG_SHELL
3114
         export CONFIG_SHELL
2773
         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3115
         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2774
       fi;;
3116
       fi;;
2775
     esac
3117
     esac
...
...
2839
else
3181
else
2840
  as_ln_s='cp -p'
3182
  as_ln_s='cp -p'
2841
fi
3183
fi
2842
rm -f conf$$ conf$$.exe conf$$.file
3184
rm -f conf$$ conf$$.exe conf$$.file
2843
3185
3186
if mkdir -p . 2>/dev/null; then
3187
  as_mkdir_p=:
3188
else
3189
  test -d ./-p && rmdir ./-p
3190
  as_mkdir_p=false
3191
fi
3192
2844
as_executable_p="test -f"
3193
as_executable_p="test -f"
2845
3194
2846
# Sed expression to map a string onto a valid CPP name.
3195
# Sed expression to map a string onto a valid CPP name.
2847
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3196
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2848
3197
2849
# Sed expression to map a string onto a valid variable name.
3198
# Sed expression to map a string onto a valid variable name.
2850
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3199
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2851
3200
2852
3201
2853
# IFS
3202
# IFS
2854
# We need space, tab and new line, in precisely that order.
3203
# We need space, tab and new line, in precisely that order.
2855
as_nl='
3204
as_nl='
2856
'
3205
'
2857
IFS="   $as_nl"
3206
IFS="   $as_nl"
2858
3207
2859
# CDPATH.
3208
# CDPATH.
2860
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3209
$as_unset CDPATH
2861
3210
2862
exec 6>&1
3211
exec 6>&1
2863
3212
2864
# Open the log real soon, to keep \$[0] and so on meaningful, and to
3213
# Open the log real soon, to keep \$[0] and so on meaningful, and to
2865
# report actual input values of CONFIG_FILES etc. instead of their
3214
# report actual input values of CONFIG_FILES etc. instead of their
...
...
2872
_ASBOX
3221
_ASBOX
2873
} >&5
3222
} >&5
2874
cat >&5 <<_CSEOF
3223
cat >&5 <<_CSEOF
2875
3224
2876
This file was extended by Recoll $as_me 1.6, which was
3225
This file was extended by Recoll $as_me 1.6, which was
2877
generated by GNU Autoconf 2.53.  Invocation command line was
3226
generated by GNU Autoconf 2.59.  Invocation command line was
2878
3227
2879
  CONFIG_FILES    = $CONFIG_FILES
3228
  CONFIG_FILES    = $CONFIG_FILES
2880
  CONFIG_HEADERS  = $CONFIG_HEADERS
3229
  CONFIG_HEADERS  = $CONFIG_HEADERS
2881
  CONFIG_LINKS    = $CONFIG_LINKS
3230
  CONFIG_LINKS    = $CONFIG_LINKS
2882
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3231
  CONFIG_COMMANDS = $CONFIG_COMMANDS
...
...
2912
3261
2913
Usage: $0 [OPTIONS] [FILE]...
3262
Usage: $0 [OPTIONS] [FILE]...
2914
3263
2915
  -h, --help       print this help, then exit
3264
  -h, --help       print this help, then exit
2916
  -V, --version    print version number, then exit
3265
  -V, --version    print version number, then exit
3266
  -q, --quiet      do not print progress messages
2917
  -d, --debug      don't remove temporary files
3267
  -d, --debug      don't remove temporary files
2918
      --recheck    update $as_me by reconfiguring in the same conditions
3268
      --recheck    update $as_me by reconfiguring in the same conditions
2919
  --file=FILE[:TEMPLATE]
3269
  --file=FILE[:TEMPLATE]
2920
                   instantiate the configuration file FILE
3270
         instantiate the configuration file FILE
2921
  --header=FILE[:TEMPLATE]
3271
  --header=FILE[:TEMPLATE]
2922
                   instantiate the configuration header FILE
3272
         instantiate the configuration header FILE
2923
3273
2924
Configuration files:
3274
Configuration files:
2925
$config_files
3275
$config_files
2926
3276
2927
Configuration headers:
3277
Configuration headers:
...
...
2931
_ACEOF
3281
_ACEOF
2932
3282
2933
cat >>$CONFIG_STATUS <<_ACEOF
3283
cat >>$CONFIG_STATUS <<_ACEOF
2934
ac_cs_version="\\
3284
ac_cs_version="\\
2935
Recoll config.status 1.6
3285
Recoll config.status 1.6
2936
configured by $0, generated by GNU Autoconf 2.53,
3286
configured by $0, generated by GNU Autoconf 2.59,
2937
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3287
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2938
3288
2939
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2940
Free Software Foundation, Inc.
3289
Copyright (C) 2003 Free Software Foundation, Inc.
2941
This config.status script is free software; the Free Software Foundation
3290
This config.status script is free software; the Free Software Foundation
2942
gives unlimited permission to copy, distribute and modify it."
3291
gives unlimited permission to copy, distribute and modify it."
2943
srcdir=$srcdir
3292
srcdir=$srcdir
2944
_ACEOF
3293
_ACEOF
2945
3294
...
...
2951
do
3300
do
2952
  case $1 in
3301
  case $1 in
2953
  --*=*)
3302
  --*=*)
2954
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3303
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2955
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3304
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2956
    shift
3305
    ac_shift=:
2957
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2958
    shift
2959
    ;;
3306
    ;;
2960
  -*);;
3307
  -*)
3308
    ac_option=$1
3309
    ac_optarg=$2
3310
    ac_shift=shift
3311
    ;;
2961
  *) # This is not an option, so the user has probably given explicit
3312
  *) # This is not an option, so the user has probably given explicit
2962
     # arguments.
3313
     # arguments.
3314
     ac_option=$1
2963
     ac_need_defaults=false;;
3315
     ac_need_defaults=false;;
2964
  esac
3316
  esac
2965
3317
2966
  case $1 in
3318
  case $ac_option in
2967
  # Handling of the options.
3319
  # Handling of the options.
2968
_ACEOF
3320
_ACEOF
2969
cat >>$CONFIG_STATUS <<_ACEOF
3321
cat >>$CONFIG_STATUS <<\_ACEOF
2970
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3322
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2971
    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3323
    ac_cs_recheck=: ;;
2972
    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2973
_ACEOF
2974
cat >>$CONFIG_STATUS <<\_ACEOF
2975
  --version | --vers* | -V )
3324
  --version | --vers* | -V )
2976
    echo "$ac_cs_version"; exit 0 ;;
3325
    echo "$ac_cs_version"; exit 0 ;;
2977
  --he | --h)
3326
  --he | --h)
2978
    # Conflict between --help and --header
3327
    # Conflict between --help and --header
2979
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3328
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
...
...
2984
  --help | --hel | -h )
3333
  --help | --hel | -h )
2985
    echo "$ac_cs_usage"; exit 0 ;;
3334
    echo "$ac_cs_usage"; exit 0 ;;
2986
  --debug | --d* | -d )
3335
  --debug | --d* | -d )
2987
    debug=: ;;
3336
    debug=: ;;
2988
  --file | --fil | --fi | --f )
3337
  --file | --fil | --fi | --f )
2989
    shift
3338
    $ac_shift
2990
    CONFIG_FILES="$CONFIG_FILES $1"
3339
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2991
    ac_need_defaults=false;;
3340
    ac_need_defaults=false;;
2992
  --header | --heade | --head | --hea )
3341
  --header | --heade | --head | --hea )
2993
    shift
3342
    $ac_shift
2994
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
3343
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2995
    ac_need_defaults=false;;
3344
    ac_need_defaults=false;;
3345
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3346
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3347
    ac_cs_silent=: ;;
2996
3348
2997
  # This is an error.
3349
  # This is an error.
2998
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3350
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2999
Try \`$0 --help' for more information." >&5
3351
Try \`$0 --help' for more information." >&5
3000
echo "$as_me: error: unrecognized option: $1
3352
echo "$as_me: error: unrecognized option: $1
...
...
3004
  *) ac_config_targets="$ac_config_targets $1" ;;
3356
  *) ac_config_targets="$ac_config_targets $1" ;;
3005
3357
3006
  esac
3358
  esac
3007
  shift
3359
  shift
3008
done
3360
done
3361
3362
ac_configure_extra_args=
3363
3364
if $ac_cs_silent; then
3365
  exec 6>/dev/null
3366
  ac_configure_extra_args="$ac_configure_extra_args --silent"
3367
fi
3368
3369
_ACEOF
3370
cat >>$CONFIG_STATUS <<_ACEOF
3371
if \$ac_cs_recheck; then
3372
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3373
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3374
fi
3009
3375
3010
_ACEOF
3376
_ACEOF
3011
3377
3012
3378
3013
3379
...
...
3037
if $ac_need_defaults; then
3403
if $ac_need_defaults; then
3038
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3404
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3039
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3405
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3040
fi
3406
fi
3041
3407
3408
# Have a temporary directory for convenience.  Make it in the build tree
3409
# simply because there is no reason to put it here, and in addition,
3410
# creating and moving files from /tmp can sometimes cause problems.
3042
# Create a temporary directory, and hook for its removal unless debugging.
3411
# Create a temporary directory, and hook for its removal unless debugging.
3043
$debug ||
3412
$debug ||
3044
{
3413
{
3045
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3414
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3046
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3415
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3047
}
3416
}
3048
3417
3049
# Create a (secure) tmp directory for tmp files.
3418
# Create a (secure) tmp directory for tmp files.
3050
: ${TMPDIR=/tmp}
3419
3051
{
3420
{
3052
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3421
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3053
  test -n "$tmp" && test -d "$tmp"
3422
  test -n "$tmp" && test -d "$tmp"
3054
}  ||
3423
}  ||
3055
{
3424
{
3056
  tmp=$TMPDIR/cs$$-$RANDOM
3425
  tmp=./confstat$$-$RANDOM
3057
  (umask 077 && mkdir $tmp)
3426
  (umask 077 && mkdir $tmp)
3058
} ||
3427
} ||
3059
{
3428
{
3060
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3429
   echo "$me: cannot create a temporary directory in ." >&2
3061
   { (exit 1); exit 1; }
3430
   { (exit 1); exit 1; }
3062
}
3431
}
3063
3432
3064
_ACEOF
3433
_ACEOF
3065
3434
...
...
3120
s,@LIBXAPIAN@,$LIBXAPIAN,;t t
3489
s,@LIBXAPIAN@,$LIBXAPIAN,;t t
3121
s,@LIBFAM@,$LIBFAM,;t t
3490
s,@LIBFAM@,$LIBFAM,;t t
3122
s,@QTGUI@,$QTGUI,;t t
3491
s,@QTGUI@,$QTGUI,;t t
3123
s,@QTRECOLL_DATADIR@,$QTRECOLL_DATADIR,;t t
3492
s,@QTRECOLL_DATADIR@,$QTRECOLL_DATADIR,;t t
3124
s,@XAPIANCXXFLAGS@,$XAPIANCXXFLAGS,;t t
3493
s,@XAPIANCXXFLAGS@,$XAPIANCXXFLAGS,;t t
3494
s,@LIBOBJS@,$LIBOBJS,;t t
3495
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3125
CEOF
3496
CEOF
3126
3497
3127
_ACEOF
3498
_ACEOF
3128
3499
3129
  cat >>$CONFIG_STATUS <<\_ACEOF
3500
  cat >>$CONFIG_STATUS <<\_ACEOF
...
...
3149
      # is no need to browse any of the substitutions).
3520
      # is no need to browse any of the substitutions).
3150
      # These are the two extra sed commands mentioned above.
3521
      # These are the two extra sed commands mentioned above.
3151
      (echo ':t
3522
      (echo ':t
3152
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3523
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3153
      if test -z "$ac_sed_cmds"; then
3524
      if test -z "$ac_sed_cmds"; then
3154
     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3525
    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3155
      else
3526
      else
3156
     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3527
    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3157
      fi
3528
      fi
3158
      ac_sed_frag=`expr $ac_sed_frag + 1`
3529
      ac_sed_frag=`expr $ac_sed_frag + 1`
3159
      ac_beg=$ac_end
3530
      ac_beg=$ac_end
3160
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3531
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3161
    fi
3532
    fi
...
...
3169
cat >>$CONFIG_STATUS <<\_ACEOF
3540
cat >>$CONFIG_STATUS <<\_ACEOF
3170
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3541
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3171
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3542
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3172
  case $ac_file in
3543
  case $ac_file in
3173
  - | *:- | *:-:* ) # input from stdin
3544
  - | *:- | *:-:* ) # input from stdin
3174
        cat >$tmp/stdin
3545
  cat >$tmp/stdin
3175
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3546
  ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3176
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3547
  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3177
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3548
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3178
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3549
  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3179
  * )   ac_file_in=$ac_file.in ;;
3550
  * )   ac_file_in=$ac_file.in ;;
3180
  esac
3551
  esac
3181
3552
3182
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3553
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3183
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3554
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3184
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3555
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3185
         X"$ac_file" : 'X\(//\)[^/]' \| \
3556
   X"$ac_file" : 'X\(//\)[^/]' \| \
3186
         X"$ac_file" : 'X\(//\)$' \| \
3557
   X"$ac_file" : 'X\(//\)$' \| \
3187
         X"$ac_file" : 'X\(/\)' \| \
3558
   X"$ac_file" : 'X\(/\)' \| \
3188
         .     : '\(.\)' 2>/dev/null ||
3559
   .     : '\(.\)' 2>/dev/null ||
3189
echo X"$ac_file" |
3560
echo X"$ac_file" |
3190
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3561
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3191
      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3562
      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3192
      /^X\(\/\/\)$/{ s//\1/; q; }
3563
      /^X\(\/\/\)$/{ s//\1/; q; }
3193
      /^X\(\/\).*/{ s//\1/; q; }
3564
      /^X\(\/\).*/{ s//\1/; q; }
3194
      s/.*/./; q'`
3565
      s/.*/./; q'`
3195
  { case "$ac_dir" in
3566
  { if $as_mkdir_p; then
3196
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3567
    mkdir -p "$ac_dir"
3197
  *)                      as_incr_dir=.;;
3568
  else
3198
esac
3199
as_dummy="$ac_dir"
3569
    as_dir="$ac_dir"
3200
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3570
    as_dirs=
3201
  case $as_mkdir_dir in
3571
    while test ! -d "$as_dir"; do
3202
    # Skip DOS drivespec
3572
      as_dirs="$as_dir $as_dirs"
3203
    ?:) as_incr_dir=$as_mkdir_dir ;;
3573
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3204
    *)
3574
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3205
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3575
   X"$as_dir" : 'X\(//\)[^/]' \| \
3206
      test -d "$as_incr_dir" ||
3576
   X"$as_dir" : 'X\(//\)$' \| \
3207
        mkdir "$as_incr_dir" ||
3577
   X"$as_dir" : 'X\(/\)' \| \
3578
   .     : '\(.\)' 2>/dev/null ||
3579
echo X"$as_dir" |
3580
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3581
        /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3582
        /^X\(\/\/\)$/{ s//\1/; q; }
3583
        /^X\(\/\).*/{ s//\1/; q; }
3584
        s/.*/./; q'`
3585
    done
3586
    test ! -n "$as_dirs" || mkdir $as_dirs
3208
  { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3587
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3209
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3588
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3210
   { (exit 1); exit 1; }; }
3589
   { (exit 1); exit 1; }; }; }
3211
    ;;
3212
  esac
3213
done; }
3214
3590
3215
  ac_builddir=.
3591
  ac_builddir=.
3216
3592
3217
if test "$ac_dir" != .; then
3593
if test "$ac_dir" != .; then
3218
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3594
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
...
...
3235
    ac_top_srcdir=$srcdir ;;
3611
    ac_top_srcdir=$srcdir ;;
3236
  *) # Relative path.
3612
  *) # Relative path.
3237
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3613
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3238
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3614
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3239
esac
3615
esac
3240
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3616
3241
# absolute.
3617
# Do not use `cd foo && pwd` to compute absolute paths, because
3242
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3618
# the directories may not exist.
3243
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3619
case `pwd` in
3244
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3620
.) ac_abs_builddir="$ac_dir";;
3245
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3621
*)
3622
  case "$ac_dir" in
3623
  .) ac_abs_builddir=`pwd`;;
3624
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3625
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3626
  esac;;
3627
esac
3628
case $ac_abs_builddir in
3629
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3630
*)
3631
  case ${ac_top_builddir}. in
3632
  .) ac_abs_top_builddir=$ac_abs_builddir;;
3633
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3634
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3635
  esac;;
3636
esac
3637
case $ac_abs_builddir in
3638
.) ac_abs_srcdir=$ac_srcdir;;
3639
*)
3640
  case $ac_srcdir in
3641
  .) ac_abs_srcdir=$ac_abs_builddir;;
3642
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3643
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3644
  esac;;
3645
esac
3646
case $ac_abs_builddir in
3647
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3648
*)
3649
  case $ac_top_srcdir in
3650
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3651
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3652
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3653
  esac;;
3654
esac
3246
3655
3247
3656
3248
3657
3249
  if test x"$ac_file" != x-; then
3658
  if test x"$ac_file" != x-; then
3250
    { echo "$as_me:$LINENO: creating $ac_file" >&5
3659
    { echo "$as_me:$LINENO: creating $ac_file" >&5
...
...
3258
    configure_input=
3667
    configure_input=
3259
  else
3668
  else
3260
    configure_input="$ac_file.  "
3669
    configure_input="$ac_file.  "
3261
  fi
3670
  fi
3262
  configure_input=$configure_input"Generated from `echo $ac_file_in |
3671
  configure_input=$configure_input"Generated from `echo $ac_file_in |
3263
                                     sed 's,.*/,,'` by configure."
3672
                   sed 's,.*/,,'` by configure."
3264
3673
3265
  # First look for the input files in the build tree, otherwise in the
3674
  # First look for the input files in the build tree, otherwise in the
3266
  # src tree.
3675
  # src tree.
3267
  ac_file_inputs=`IFS=:
3676
  ac_file_inputs=`IFS=:
3268
    for f in $ac_file_in; do
3677
    for f in $ac_file_in; do
3269
      case $f in
3678
      case $f in
3270
      -) echo $tmp/stdin ;;
3679
      -) echo $tmp/stdin ;;
3271
      [\\/$]*)
3680
      [\\/$]*)
3272
         # Absolute (can't be DOS-style, as IFS=:)
3681
   # Absolute (can't be DOS-style, as IFS=:)
3273
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3682
   test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3274
echo "$as_me: error: cannot find input file: $f" >&2;}
3683
echo "$as_me: error: cannot find input file: $f" >&2;}
3275
   { (exit 1); exit 1; }; }
3684
   { (exit 1); exit 1; }; }
3276
         echo $f;;
3685
   echo "$f";;
3277
      *) # Relative
3686
      *) # Relative
3278
         if test -f "$f"; then
3687
   if test -f "$f"; then
3279
           # Build tree
3688
     # Build tree
3280
           echo $f
3689
     echo "$f"
3281
         elif test -f "$srcdir/$f"; then
3690
   elif test -f "$srcdir/$f"; then
3282
           # Source tree
3691
     # Source tree
3283
           echo $srcdir/$f
3692
     echo "$srcdir/$f"
3284
         else
3693
   else
3285
           # /dev/null tree
3694
     # /dev/null tree
3286
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3695
     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3287
echo "$as_me: error: cannot find input file: $f" >&2;}
3696
echo "$as_me: error: cannot find input file: $f" >&2;}
3288
   { (exit 1); exit 1; }; }
3697
   { (exit 1); exit 1; }; }
3289
         fi;;
3698
   fi;;
3290
      esac
3699
      esac
3291
    done` || { (exit 1); exit 1; }
3700
    done` || { (exit 1); exit 1; }
3292
_ACEOF
3701
_ACEOF
3293
cat >>$CONFIG_STATUS <<_ACEOF
3702
cat >>$CONFIG_STATUS <<_ACEOF
3294
  sed "$ac_vpsub
3703
  sed "$ac_vpsub
...
...
3325
3734
3326
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3735
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3327
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3736
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3328
#
3737
#
3329
# ac_d sets the value in "#define NAME VALUE" lines.
3738
# ac_d sets the value in "#define NAME VALUE" lines.
3330
ac_dA='s,^\([     ]*\)#\([     ]*define[    ][   ]*\)'
3739
ac_dA='s,^\([  ]*\)#\([     ]*define[    ][   ]*\)'
3331
ac_dB='[  ].*$,\1#\2'
3740
ac_dB='[   ].*$,\1#\2'
3332
ac_dC=' '
3741
ac_dC=' '
3333
ac_dD=',;t'
3742
ac_dD=',;t'
3334
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3743
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3335
ac_uA='s,^\([     ]*\)#\([     ]*\)undef\([     ][   ]*\)'
3744
ac_uA='s,^\([  ]*\)#\([     ]*\)undef\([     ][   ]*\)'
3336
ac_uB='$,\1#\2define\3'
3745
ac_uB='$,\1#\2define\3'
3337
ac_uC=' '
3746
ac_uC=' '
3338
ac_uD=',;t'
3747
ac_uD=',;t'
3339
3748
3340
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3749
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3341
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3750
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3342
  case $ac_file in
3751
  case $ac_file in
3343
  - | *:- | *:-:* ) # input from stdin
3752
  - | *:- | *:-:* ) # input from stdin
3344
        cat >$tmp/stdin
3753
  cat >$tmp/stdin
3345
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3754
  ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3346
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3755
  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3347
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3756
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3348
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3757
  ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3349
  * )   ac_file_in=$ac_file.in ;;
3758
  * )   ac_file_in=$ac_file.in ;;
3350
  esac
3759
  esac
3351
3760
3352
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3761
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3353
echo "$as_me: creating $ac_file" >&6;}
3762
echo "$as_me: creating $ac_file" >&6;}
...
...
3357
  ac_file_inputs=`IFS=:
3766
  ac_file_inputs=`IFS=:
3358
    for f in $ac_file_in; do
3767
    for f in $ac_file_in; do
3359
      case $f in
3768
      case $f in
3360
      -) echo $tmp/stdin ;;
3769
      -) echo $tmp/stdin ;;
3361
      [\\/$]*)
3770
      [\\/$]*)
3362
         # Absolute (can't be DOS-style, as IFS=:)
3771
   # Absolute (can't be DOS-style, as IFS=:)
3363
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3772
   test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3364
echo "$as_me: error: cannot find input file: $f" >&2;}
3773
echo "$as_me: error: cannot find input file: $f" >&2;}
3365
   { (exit 1); exit 1; }; }
3774
   { (exit 1); exit 1; }; }
3366
         echo $f;;
3775
   # Do quote $f, to prevent DOS paths from being IFS'd.
3776
   echo "$f";;
3367
      *) # Relative
3777
      *) # Relative
3368
         if test -f "$f"; then
3778
   if test -f "$f"; then
3369
           # Build tree
3779
     # Build tree
3370
           echo $f
3780
     echo "$f"
3371
         elif test -f "$srcdir/$f"; then
3781
   elif test -f "$srcdir/$f"; then
3372
           # Source tree
3782
     # Source tree
3373
           echo $srcdir/$f
3783
     echo "$srcdir/$f"
3374
         else
3784
   else
3375
           # /dev/null tree
3785
     # /dev/null tree
3376
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3786
     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3377
echo "$as_me: error: cannot find input file: $f" >&2;}
3787
echo "$as_me: error: cannot find input file: $f" >&2;}
3378
   { (exit 1); exit 1; }; }
3788
   { (exit 1); exit 1; }; }
3379
         fi;;
3789
   fi;;
3380
      esac
3790
      esac
3381
    done` || { (exit 1); exit 1; }
3791
    done` || { (exit 1); exit 1; }
3382
  # Remove the trailing spaces.
3792
  # Remove the trailing spaces.
3383
  sed 's/[    ]*$//' $ac_file_inputs >$tmp/in
3793
  sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
3384
3794
3385
_ACEOF
3795
_ACEOF
3386
3796
3387
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3797
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3388
# `conftest.undefs', that substitutes the proper values into
3798
# `conftest.undefs', that substitutes the proper values into
...
...
3401
cat >confdef2sed.sed <<\_ACEOF
3811
cat >confdef2sed.sed <<\_ACEOF
3402
s/[\\&,]/\\&/g
3812
s/[\\&,]/\\&/g
3403
s,[\\$`],\\&,g
3813
s,[\\$`],\\&,g
3404
t clear
3814
t clear
3405
: clear
3815
: clear
3406
s,^[  ]*#[     ]*define[    ][   ]*\([^   (][^     (]*\)\(([^)]*)\)[    ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3816
s,^[   ]*#[     ]*define[    ][   ]*\([^   (][^     (]*\)\(([^)]*)\)[    ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3407
t end
3817
t end
3408
s,^[  ]*#[     ]*define[    ][   ]*\([^   ][^  ]*\)[    ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3818
s,^[   ]*#[     ]*define[    ][   ]*\([^   ][^  ]*\)[    ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3409
: end
3819
: end
3410
_ACEOF
3820
_ACEOF
3411
# If some macros were called several times there might be several times
3821
# If some macros were called several times there might be several times
3412
# the same #defines, which is useless.  Nevertheless, we may not want to
3822
# the same #defines, which is useless.  Nevertheless, we may not want to
3413
# sort them, since we want the *last* AC-DEFINE to be honored.
3823
# sort them, since we want the *last* AC-DEFINE to be honored.
...
...
3417
3827
3418
# This sed command replaces #undef with comments.  This is necessary, for
3828
# This sed command replaces #undef with comments.  This is necessary, for
3419
# example, in the case of _POSIX_SOURCE, which is predefined and required
3829
# example, in the case of _POSIX_SOURCE, which is predefined and required
3420
# on some systems where configure will not decide to define it.
3830
# on some systems where configure will not decide to define it.
3421
cat >>conftest.undefs <<\_ACEOF
3831
cat >>conftest.undefs <<\_ACEOF
3422
s,^[  ]*#[     ]*undef[     ][   ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3832
s,^[   ]*#[     ]*undef[     ][   ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3423
_ACEOF
3833
_ACEOF
3424
3834
3425
# Break up conftest.defines because some shells have a limit on the size
3835
# Break up conftest.defines because some shells have a limit on the size
3426
# of here documents, and old seds have small limits too (100 cmds).
3836
# of here documents, and old seds have small limits too (100 cmds).
3427
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3837
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3428
echo '  if egrep "^[   ]*#[     ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3838
echo '  if grep "^[    ]*#[     ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3429
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3839
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3430
echo '  :' >>$CONFIG_STATUS
3840
echo '  :' >>$CONFIG_STATUS
3431
rm -f conftest.tail
3841
rm -f conftest.tail
3432
while grep . conftest.defines >/dev/null
3842
while grep . conftest.defines >/dev/null
3433
do
3843
do
3434
  # Write a limited-size here document to $tmp/defines.sed.
3844
  # Write a limited-size here document to $tmp/defines.sed.
3435
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3845
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3436
  # Speed up: don't consider the non `#define' lines.
3846
  # Speed up: don't consider the non `#define' lines.
3437
  echo '/^[   ]*#[     ]*define/!b' >>$CONFIG_STATUS
3847
  echo '/^[    ]*#[     ]*define/!b' >>$CONFIG_STATUS
3438
  # Work around the forget-to-reset-the-flag bug.
3848
  # Work around the forget-to-reset-the-flag bug.
3439
  echo 't clr' >>$CONFIG_STATUS
3849
  echo 't clr' >>$CONFIG_STATUS
3440
  echo ': clr' >>$CONFIG_STATUS
3850
  echo ': clr' >>$CONFIG_STATUS
3441
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3851
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3442
  echo 'CEOF
3852
  echo 'CEOF
...
...
3447
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3857
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3448
  rm -f conftest.defines
3858
  rm -f conftest.defines
3449
  mv conftest.tail conftest.defines
3859
  mv conftest.tail conftest.defines
3450
done
3860
done
3451
rm -f conftest.defines
3861
rm -f conftest.defines
3452
echo '  fi # egrep' >>$CONFIG_STATUS
3862
echo '  fi # grep' >>$CONFIG_STATUS
3453
echo >>$CONFIG_STATUS
3863
echo >>$CONFIG_STATUS
3454
3864
3455
# Break up conftest.undefs because some shells have a limit on the size
3865
# Break up conftest.undefs because some shells have a limit on the size
3456
# of here documents, and old seds have small limits too (100 cmds).
3866
# of here documents, and old seds have small limits too (100 cmds).
3457
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
3867
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
...
...
3459
while grep . conftest.undefs >/dev/null
3869
while grep . conftest.undefs >/dev/null
3460
do
3870
do
3461
  # Write a limited-size here document to $tmp/undefs.sed.
3871
  # Write a limited-size here document to $tmp/undefs.sed.
3462
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3872
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3463
  # Speed up: don't consider the non `#undef'
3873
  # Speed up: don't consider the non `#undef'
3464
  echo '/^[   ]*#[     ]*undef/!b' >>$CONFIG_STATUS
3874
  echo '/^[    ]*#[     ]*undef/!b' >>$CONFIG_STATUS
3465
  # Work around the forget-to-reset-the-flag bug.
3875
  # Work around the forget-to-reset-the-flag bug.
3466
  echo 't clr' >>$CONFIG_STATUS
3876
  echo 't clr' >>$CONFIG_STATUS
3467
  echo ': clr' >>$CONFIG_STATUS
3877
  echo ': clr' >>$CONFIG_STATUS
3468
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3878
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3469
  echo 'CEOF
3879
  echo 'CEOF
...
...
3487
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
3897
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
3488
  fi
3898
  fi
3489
  cat $tmp/in >>$tmp/config.h
3899
  cat $tmp/in >>$tmp/config.h
3490
  rm -f $tmp/in
3900
  rm -f $tmp/in
3491
  if test x"$ac_file" != x-; then
3901
  if test x"$ac_file" != x-; then
3492
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3902
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3493
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3903
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3494
echo "$as_me: $ac_file is unchanged" >&6;}
3904
echo "$as_me: $ac_file is unchanged" >&6;}
3495
    else
3905
    else
3496
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3906
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3497
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3907
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3498
         X"$ac_file" : 'X\(//\)[^/]' \| \
3908
   X"$ac_file" : 'X\(//\)[^/]' \| \
3499
         X"$ac_file" : 'X\(//\)$' \| \
3909
   X"$ac_file" : 'X\(//\)$' \| \
3500
         X"$ac_file" : 'X\(/\)' \| \
3910
   X"$ac_file" : 'X\(/\)' \| \
3501
         .     : '\(.\)' 2>/dev/null ||
3911
   .     : '\(.\)' 2>/dev/null ||
3502
echo X"$ac_file" |
3912
echo X"$ac_file" |
3503
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3913
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3504
      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3914
      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3505
      /^X\(\/\/\)$/{ s//\1/; q; }
3915
      /^X\(\/\/\)$/{ s//\1/; q; }
3506
      /^X\(\/\).*/{ s//\1/; q; }
3916
      /^X\(\/\).*/{ s//\1/; q; }
3507
      s/.*/./; q'`
3917
      s/.*/./; q'`
3508
      { case "$ac_dir" in
3918
      { if $as_mkdir_p; then
3509
  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3919
    mkdir -p "$ac_dir"
3510
  *)                      as_incr_dir=.;;
3920
  else
3511
esac
3512
as_dummy="$ac_dir"
3921
    as_dir="$ac_dir"
3513
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3922
    as_dirs=
3514
  case $as_mkdir_dir in
3923
    while test ! -d "$as_dir"; do
3515
    # Skip DOS drivespec
3924
      as_dirs="$as_dir $as_dirs"
3516
    ?:) as_incr_dir=$as_mkdir_dir ;;
3925
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3517
    *)
3926
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3518
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
3927
   X"$as_dir" : 'X\(//\)[^/]' \| \
3519
      test -d "$as_incr_dir" ||
3928
   X"$as_dir" : 'X\(//\)$' \| \
3520
        mkdir "$as_incr_dir" ||
3929
   X"$as_dir" : 'X\(/\)' \| \
3930
   .     : '\(.\)' 2>/dev/null ||
3931
echo X"$as_dir" |
3932
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3933
        /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3934
        /^X\(\/\/\)$/{ s//\1/; q; }
3935
        /^X\(\/\).*/{ s//\1/; q; }
3936
        s/.*/./; q'`
3937
    done
3938
    test ! -n "$as_dirs" || mkdir $as_dirs
3521
  { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3939
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3522
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3940
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3523
   { (exit 1); exit 1; }; }
3941
   { (exit 1); exit 1; }; }; }
3524
    ;;
3525
  esac
3526
done; }
3527
3942
3528
      rm -f $ac_file
3943
      rm -f $ac_file
3529
      mv $tmp/config.h $ac_file
3944
      mv $tmp/config.h $ac_file
3530
    fi
3945
    fi
3531
  else
3946
  else
...
...
3551
# effectively closing config.log, so it can be properly (re)opened and
3966
# effectively closing config.log, so it can be properly (re)opened and
3552
# appended to by config.status.  When coming back to configure, we
3967
# appended to by config.status.  When coming back to configure, we
3553
# need to make the FD available again.
3968
# need to make the FD available again.
3554
if test "$no_create" != yes; then
3969
if test "$no_create" != yes; then
3555
  ac_cs_success=:
3970
  ac_cs_success=:
3971
  ac_config_status_args=
3972
  test "$silent" = yes &&
3973
    ac_config_status_args="$ac_config_status_args --quiet"
3556
  exec 5>/dev/null
3974
  exec 5>/dev/null
3557
  $SHELL $CONFIG_STATUS || ac_cs_success=false
3975
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3558
  exec 5>>config.log
3976
  exec 5>>config.log
3559
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3977
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3560
  # would make configure fail if this is the last instruction.
3978
  # would make configure fail if this is the last instruction.
3561
  $ac_cs_success || { (exit 1); exit 1; }
3979
  $ac_cs_success || { (exit 1); exit 1; }
3562
fi
3980
fi