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