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.61 for Recoll 1.6.
3
# Generated by GNU Autoconf 2.63 for Recoll 1.6.
4
#
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
9
## --------------------- ##
10
## M4sh Initialization.  ##
10
## M4sh Initialization.  ##
11
## --------------------- ##
11
## --------------------- ##
...
...
13
# Be more Bourne compatible
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
  emulate sh
16
  emulate sh
17
  NULLCMD=:
17
  NULLCMD=:
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
  # is contrary to our usage.  Disable this feature.
19
  # is contrary to our usage.  Disable this feature.
20
  alias -g '${1+"$@"}'='"$@"'
20
  alias -g '${1+"$@"}'='"$@"'
21
  setopt NO_GLOB_SUBST
21
  setopt NO_GLOB_SUBST
22
else
22
else
23
  case `(set -o) 2>/dev/null` in
23
  case `(set -o) 2>/dev/null` in
...
...
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
40
as_nl='
41
'
42
export as_nl
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='printf %s\n'
49
  as_echo_n='printf %s'
50
else
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
    as_echo_n_body='eval
57
      arg=$1;
58
      case $arg in
59
      *"$as_nl"*)
60
  expr "X$arg" : "X\\(.*\\)$as_nl";
61
  arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
      esac;
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
    '
65
    export as_echo_n_body
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
70
fi
71
40
# The user is always right.
72
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
73
if test "${PATH_SEPARATOR+set}" != set; then
42
  echo "#! /bin/sh" >conf$$.sh
74
  PATH_SEPARATOR=:
43
  echo  "exit 0"   >>conf$$.sh
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
44
  chmod +x conf$$.sh
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
    PATH_SEPARATOR=';'
77
      PATH_SEPARATOR=';'
47
  else
78
  }
48
    PATH_SEPARATOR=:
49
  fi
50
  rm -f conf$$.sh
51
fi
79
fi
52
80
53
# Support unset when possible.
81
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
  as_unset=unset
83
  as_unset=unset
...
...
61
# IFS
89
# IFS
62
# We need space, tab and new line, in precisely that order.  Quoting is
90
# We need space, tab and new line, in precisely that order.  Quoting is
63
# there to prevent editors from complaining about space-tab.
91
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
93
# splitting by setting IFS to empty value.)
66
as_nl='
67
'
68
IFS=" ""    $as_nl"
94
IFS=" ""    $as_nl"
69
95
70
# Find who we are.  Look in the path if we contain no directory separator.
96
# Find who we are.  Look in the path if we contain no directory separator.
71
case $0 in
97
case $0 in
72
  *[\\/]* ) as_myself=$0 ;;
98
  *[\\/]* ) as_myself=$0 ;;
...
...
85
# in which case we are not to be found in the path.
111
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
112
if test "x$as_myself" = x; then
87
  as_myself=$0
113
  as_myself=$0
88
fi
114
fi
89
if test ! -f "$as_myself"; then
115
if test ! -f "$as_myself"; then
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
  { (exit 1); exit 1; }
117
  { (exit 1); exit 1; }
92
fi
118
fi
93
119
94
# Work around bugs in pre-3.0 UWIN ksh.
120
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
121
for as_var in ENV MAIL MAILPATH
...
...
98
PS1='$ '
124
PS1='$ '
99
PS2='> '
125
PS2='> '
100
PS4='+ '
126
PS4='+ '
101
127
102
# NLS nuisances.
128
# NLS nuisances.
103
for as_var in \
129
LC_ALL=C
104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
130
export LC_ALL
105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
131
LANGUAGE=C
106
  LC_TELEPHONE LC_TIME
132
export LANGUAGE
107
do
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
    eval $as_var=C; export $as_var
110
  else
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
  fi
113
done
114
133
115
# Required to use basename.
134
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
136
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
  as_expr=expr
137
  as_expr=expr
...
...
130
# Name of the executable.
149
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
150
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
     X"$0" : 'X\(//\)$' \| \
152
     X"$0" : 'X\(//\)$' \| \
134
     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
153
     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
echo X/"$0" |
154
$as_echo X/"$0" |
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
        s//\1/
156
        s//\1/
138
        q
157
        q
139
      }
158
      }
140
      /^X\/\(\/\/\)$/{
159
      /^X\/\(\/\/\)$/{
...
...
156
  as_have_required=yes
175
  as_have_required=yes
157
else
176
else
158
  as_have_required=no
177
  as_have_required=no
159
fi
178
fi
160
179
161
  if test $as_have_required = yes &&      (eval ":
180
  if test $as_have_required = yes &&     (eval ":
162
(as_func_return () {
181
(as_func_return () {
163
  (exit \$1)
182
  (exit \$1)
164
}
183
}
165
as_func_success () {
184
as_func_success () {
166
  as_func_return 0
185
  as_func_return 0
...
...
238
     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
257
     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
        { ("$as_shell") 2> /dev/null <<\_ASEOF
258
        { ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
  emulate sh
260
  emulate sh
242
  NULLCMD=:
261
  NULLCMD=:
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
  # is contrary to our usage.  Disable this feature.
263
  # is contrary to our usage.  Disable this feature.
245
  alias -g '${1+"$@"}'='"$@"'
264
  alias -g '${1+"$@"}'='"$@"'
246
  setopt NO_GLOB_SUBST
265
  setopt NO_GLOB_SUBST
247
else
266
else
248
  case `(set -o) 2>/dev/null` in
267
  case `(set -o) 2>/dev/null` in
...
...
259
           as_have_required=yes
278
           as_have_required=yes
260
           if { "$as_shell" 2> /dev/null <<\_ASEOF
279
           if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
  emulate sh
281
  emulate sh
263
  NULLCMD=:
282
  NULLCMD=:
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
  # is contrary to our usage.  Disable this feature.
284
  # is contrary to our usage.  Disable this feature.
266
  alias -g '${1+"$@"}'='"$@"'
285
  alias -g '${1+"$@"}'='"$@"'
267
  setopt NO_GLOB_SUBST
286
  setopt NO_GLOB_SUBST
268
else
287
else
269
  case `(set -o) 2>/dev/null` in
288
  case `(set -o) 2>/dev/null` in
...
...
339
358
340
      done
359
      done
341
360
342
      if test "x$CONFIG_SHELL" != x; then
361
      if test "x$CONFIG_SHELL" != x; then
343
  for as_var in BASH_ENV ENV
362
  for as_var in BASH_ENV ENV
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
363
  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
        done
364
  done
346
        export CONFIG_SHELL
365
  export CONFIG_SHELL
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
366
  exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
fi
367
fi
349
368
350
369
351
    if test $as_have_required = no; then
370
    if test $as_have_required = no; then
352
  echo This script requires a shell more modern than all the
371
  echo This script requires a shell more modern than all the
...
...
411
  echo positional parameters were not saved.
430
  echo positional parameters were not saved.
412
fi
431
fi
413
432
414
test \$exitcode = 0") || {
433
test \$exitcode = 0") || {
415
  echo No shell found that supports shell functions.
434
  echo No shell found that supports shell functions.
416
  echo Please tell autoconf@gnu.org about your system,
435
  echo Please tell bug-autoconf@gnu.org about your system,
417
  echo including any error possibly output before this
436
  echo including any error possibly output before this message.
418
  echo message
437
  echo This can help us improve future autoconf versions.
438
  echo Configuration will now proceed without shell functions.
419
}
439
}
420
440
421
441
422
442
423
  as_lineno_1=$LINENO
443
  as_lineno_1=$LINENO
...
...
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
469
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450
      t loop
470
      t loop
451
      s/-\n.*//
471
      s/-\n.*//
452
    ' >$as_me.lineno &&
472
    ' >$as_me.lineno &&
453
  chmod +x "$as_me.lineno" ||
473
  chmod +x "$as_me.lineno" ||
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
   { (exit 1); exit 1; }; }
475
   { (exit 1); exit 1; }; }
456
476
457
  # Don't try to exec as it changes $[0], causing all sort of problems
477
  # Don't try to exec as it changes $[0], causing all sort of problems
458
  # (the dirname of $[0] is not the place where we might find the
478
  # (the dirname of $[0] is not the place where we might find the
459
  # original and so on.  Autoconf is especially sensitive to this).
479
  # original and so on.  Autoconf is especially sensitive to this).
...
...
477
  *)   ECHO_C='\c';;
497
  *)   ECHO_C='\c';;
478
  esac;;
498
  esac;;
479
*)
499
*)
480
  ECHO_N='-n';;
500
  ECHO_N='-n';;
481
esac
501
esac
482
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
  as_expr=expr
504
  as_expr=expr
486
else
505
else
487
  as_expr=false
506
  as_expr=false
...
...
490
rm -f conf$$ conf$$.exe conf$$.file
509
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
510
if test -d conf$$.dir; then
492
  rm -f conf$$.dir/conf$$.file
511
  rm -f conf$$.dir/conf$$.file
493
else
512
else
494
  rm -f conf$$.dir
513
  rm -f conf$$.dir
495
  mkdir conf$$.dir
514
  mkdir conf$$.dir 2>/dev/null
496
fi
515
fi
497
echo >conf$$.file
516
if (echo >conf$$.file) 2>/dev/null; then
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
499
  as_ln_s='ln -s'
518
    as_ln_s='ln -s'
500
  # ... but there are two gotchas:
519
    # ... but there are two gotchas:
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
  # In both cases, we have to default to `cp -p'.
522
    # In both cases, we have to default to `cp -p'.
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524
      as_ln_s='cp -p'
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
526
    as_ln_s=ln
527
  else
505
    as_ln_s='cp -p'
528
    as_ln_s='cp -p'
506
elif ln conf$$.file conf$$ 2>/dev/null; then
529
  fi
507
  as_ln_s=ln
508
else
530
else
509
  as_ln_s='cp -p'
531
  as_ln_s='cp -p'
510
fi
532
fi
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
534
rmdir conf$$.dir 2>/dev/null
...
...
527
    as_ls_L_option=
549
    as_ls_L_option=
528
  fi
550
  fi
529
  as_test_x='
551
  as_test_x='
530
    eval sh -c '\''
552
    eval sh -c '\''
531
      if test -d "$1"; then
553
      if test -d "$1"; then
532
        test -d "$1/.";
554
  test -d "$1/.";
533
      else
555
      else
534
    case $1 in
556
    case $1 in
535
        -*)set "./$1";;
557
  -*)set "./$1";;
536
    esac;
558
    esac;
537
    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
559
    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
    ???[sx]*):;;*)false;;esac;fi
560
    ???[sx]*):;;*)false;;esac;fi
539
    '\'' sh
561
    '\'' sh
540
  '
562
  '
...
...
611
#endif
633
#endif
612
#ifdef HAVE_UNISTD_H
634
#ifdef HAVE_UNISTD_H
613
# include <unistd.h>
635
# include <unistd.h>
614
#endif"
636
#endif"
615
637
616
ac_subst_vars='SHELL
638
ac_subst_vars='LTLIBOBJS
639
LIBOBJS
640
HAVE_MKDTEMP
641
XAPIANCXXFLAGS
642
QTRECOLL_DATADIR
643
QTGUI
644
QMAKE
645
LIBFAM
646
LIBXAPIAN
647
LIBICONV
648
INCICONV
649
X_EXTRA_LIBS
650
X_LIBS
651
X_PRE_LIBS
652
X_CFLAGS
653
CXXCPP
654
XMKMF
655
UIC3
656
QMAKEPATH
657
XAPIAN_CONFIG
658
ac_ct_CXX
659
CXXFLAGS
660
CXX
661
aspellProg
662
fileProg
663
EGREP
664
GREP
665
CPP
666
OBJEXT
667
EXEEXT
668
ac_ct_CC
669
CPPFLAGS
670
LDFLAGS
671
CFLAGS
672
CC
673
target_alias
674
host_alias
675
build_alias
676
LIBS
677
ECHO_T
678
ECHO_N
679
ECHO_C
680
DEFS
681
mandir
682
localedir
683
libdir
684
psdir
685
pdfdir
686
dvidir
687
htmldir
688
infodir
689
docdir
690
oldincludedir
691
includedir
692
localstatedir
693
sharedstatedir
694
sysconfdir
695
datadir
696
datarootdir
697
libexecdir
698
sbindir
699
bindir
700
program_transform_name
701
prefix
702
exec_prefix
703
PACKAGE_BUGREPORT
704
PACKAGE_STRING
705
PACKAGE_VERSION
706
PACKAGE_TARNAME
707
PACKAGE_NAME
617
PATH_SEPARATOR
708
PATH_SEPARATOR
618
PACKAGE_NAME
709
SHELL'
619
PACKAGE_TARNAME
620
PACKAGE_VERSION
621
PACKAGE_STRING
622
PACKAGE_BUGREPORT
623
exec_prefix
624
prefix
625
program_transform_name
626
bindir
627
sbindir
628
libexecdir
629
datarootdir
630
datadir
631
sysconfdir
632
sharedstatedir
633
localstatedir
634
includedir
635
oldincludedir
636
docdir
637
infodir
638
htmldir
639
dvidir
640
pdfdir
641
psdir
642
libdir
643
localedir
644
mandir
645
DEFS
646
ECHO_C
647
ECHO_N
648
ECHO_T
649
LIBS
650
build_alias
651
host_alias
652
target_alias
653
CC
654
CFLAGS
655
LDFLAGS
656
CPPFLAGS
657
ac_ct_CC
658
EXEEXT
659
OBJEXT
660
CPP
661
GREP
662
EGREP
663
aspellProg
664
CXX
665
CXXFLAGS
666
ac_ct_CXX
667
XAPIAN_CONFIG
668
QMAKEPATH
669
UIC3
670
XMKMF
671
CXXCPP
672
X_CFLAGS
673
X_PRE_LIBS
674
X_LIBS
675
X_EXTRA_LIBS
676
INCICONV
677
LIBICONV
678
LIBXAPIAN
679
LIBFAM
680
QMAKE
681
QTGUI
682
QTRECOLL_DATADIR
683
XAPIANCXXFLAGS
684
HAVE_MKDTEMP
685
LIBOBJS
686
LTLIBOBJS'
687
ac_subst_files=''
710
ac_subst_files=''
711
ac_user_opts='
712
enable_option_checking
713
with_file_command
714
with_aspell
715
with_fam
716
with_inotify
717
enable_xattr
718
with_x
719
'
688
      ac_precious_vars='build_alias
720
      ac_precious_vars='build_alias
689
host_alias
721
host_alias
690
target_alias
722
target_alias
691
CC
723
CC
692
CFLAGS
724
CFLAGS
...
...
702
734
703
735
704
# Initialize some variables set by options.
736
# Initialize some variables set by options.
705
ac_init_help=
737
ac_init_help=
706
ac_init_version=false
738
ac_init_version=false
739
ac_unrecognized_opts=
740
ac_unrecognized_sep=
707
# The variables have the same names as the options, with
741
# The variables have the same names as the options, with
708
# dashes changed to underlines.
742
# dashes changed to underlines.
709
cache_file=/dev/null
743
cache_file=/dev/null
710
exec_prefix=NONE
744
exec_prefix=NONE
711
no_create=
745
no_create=
...
...
800
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
834
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
835
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802
    datarootdir=$ac_optarg ;;
836
    datarootdir=$ac_optarg ;;
803
837
804
  -disable-* | --disable-*)
838
  -disable-* | --disable-*)
805
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
839
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806
    # Reject names that are not valid shell variable names.
840
    # Reject names that are not valid shell variable names.
807
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
841
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
842
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
809
   { (exit 1); exit 1; }; }
843
   { (exit 1); exit 1; }; }
844
    ac_useropt_orig=$ac_useropt
810
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
845
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
846
    case $ac_user_opts in
847
      *"
848
"enable_$ac_useropt"
849
"*) ;;
850
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
851
   ac_unrecognized_sep=', ';;
852
    esac
811
    eval enable_$ac_feature=no ;;
853
    eval enable_$ac_useropt=no ;;
812
854
813
  -docdir | --docdir | --docdi | --doc | --do)
855
  -docdir | --docdir | --docdi | --doc | --do)
814
    ac_prev=docdir ;;
856
    ac_prev=docdir ;;
815
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
857
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
816
    docdir=$ac_optarg ;;
858
    docdir=$ac_optarg ;;
...
...
819
    ac_prev=dvidir ;;
861
    ac_prev=dvidir ;;
820
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
862
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
821
    dvidir=$ac_optarg ;;
863
    dvidir=$ac_optarg ;;
822
864
823
  -enable-* | --enable-*)
865
  -enable-* | --enable-*)
824
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
866
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
825
    # Reject names that are not valid shell variable names.
867
    # Reject names that are not valid shell variable names.
826
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
868
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
827
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
869
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
828
   { (exit 1); exit 1; }; }
870
   { (exit 1); exit 1; }; }
871
    ac_useropt_orig=$ac_useropt
829
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
872
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
873
    case $ac_user_opts in
874
      *"
875
"enable_$ac_useropt"
876
"*) ;;
877
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
878
   ac_unrecognized_sep=', ';;
879
    esac
830
    eval enable_$ac_feature=\$ac_optarg ;;
880
    eval enable_$ac_useropt=\$ac_optarg ;;
831
881
832
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
882
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
833
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
883
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
834
  | --exec | --exe | --ex)
884
  | --exec | --exe | --ex)
835
    ac_prev=exec_prefix ;;
885
    ac_prev=exec_prefix ;;
...
...
1016
1066
1017
  -version | --version | --versio | --versi | --vers | -V)
1067
  -version | --version | --versio | --versi | --vers | -V)
1018
    ac_init_version=: ;;
1068
    ac_init_version=: ;;
1019
1069
1020
  -with-* | --with-*)
1070
  -with-* | --with-*)
1021
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1071
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1022
    # Reject names that are not valid shell variable names.
1072
    # Reject names that are not valid shell variable names.
1023
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1073
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1074
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1025
   { (exit 1); exit 1; }; }
1075
   { (exit 1); exit 1; }; }
1026
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1076
    ac_useropt_orig=$ac_useropt
1077
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078
    case $ac_user_opts in
1079
      *"
1080
"with_$ac_useropt"
1081
"*) ;;
1082
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1083
   ac_unrecognized_sep=', ';;
1084
    esac
1027
    eval with_$ac_package=\$ac_optarg ;;
1085
    eval with_$ac_useropt=\$ac_optarg ;;
1028
1086
1029
  -without-* | --without-*)
1087
  -without-* | --without-*)
1030
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1031
    # Reject names that are not valid shell variable names.
1089
    # Reject names that are not valid shell variable names.
1032
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1091
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1034
   { (exit 1); exit 1; }; }
1092
   { (exit 1); exit 1; }; }
1035
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1093
    ac_useropt_orig=$ac_useropt
1094
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095
    case $ac_user_opts in
1096
      *"
1097
"with_$ac_useropt"
1098
"*) ;;
1099
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1100
   ac_unrecognized_sep=', ';;
1101
    esac
1036
    eval with_$ac_package=no ;;
1102
    eval with_$ac_useropt=no ;;
1037
1103
1038
  --x)
1104
  --x)
1039
    # Obsolete; use --with-x.
1105
    # Obsolete; use --with-x.
1040
    with_x=yes ;;
1106
    with_x=yes ;;
1041
1107
...
...
1051
    ac_prev=x_libraries ;;
1117
    ac_prev=x_libraries ;;
1052
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1118
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1053
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1119
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1054
    x_libraries=$ac_optarg ;;
1120
    x_libraries=$ac_optarg ;;
1055
1121
1056
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1122
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1057
Try \`$0 --help' for more information." >&2
1123
Try \`$0 --help' for more information." >&2
1058
   { (exit 1); exit 1; }; }
1124
   { (exit 1); exit 1; }; }
1059
    ;;
1125
    ;;
1060
1126
1061
  *=*)
1127
  *=*)
1062
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1128
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1063
    # Reject names that are not valid shell variable names.
1129
    # Reject names that are not valid shell variable names.
1064
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1130
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1065
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1131
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1066
   { (exit 1); exit 1; }; }
1132
   { (exit 1); exit 1; }; }
1067
    eval $ac_envvar=\$ac_optarg
1133
    eval $ac_envvar=\$ac_optarg
1068
    export $ac_envvar ;;
1134
    export $ac_envvar ;;
1069
1135
1070
  *)
1136
  *)
1071
    # FIXME: should be removed in autoconf 3.0.
1137
    # FIXME: should be removed in autoconf 3.0.
1072
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1138
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1073
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1074
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1140
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1075
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1141
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1076
    ;;
1142
    ;;
1077
1143
1078
  esac
1144
  esac
1079
done
1145
done
1080
1146
1081
if test -n "$ac_prev"; then
1147
if test -n "$ac_prev"; then
1082
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1148
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1083
  { echo "$as_me: error: missing argument to $ac_option" >&2
1149
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1084
   { (exit 1); exit 1; }; }
1150
   { (exit 1); exit 1; }; }
1085
fi
1151
fi
1086
1152
1087
# Be sure to have absolute directory names.
1153
if test -n "$ac_unrecognized_opts"; then
1154
  case $enable_option_checking in
1155
    no) ;;
1156
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1157
   { (exit 1); exit 1; }; } ;;
1158
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1159
  esac
1160
fi
1161
1162
# Check all directory arguments for consistency.
1088
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1163
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1089
        datadir sysconfdir sharedstatedir localstatedir includedir \
1164
        datadir sysconfdir sharedstatedir localstatedir includedir \
1090
        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1165
        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1091
        libdir localedir mandir
1166
        libdir localedir mandir
1092
do
1167
do
1093
  eval ac_val=\$$ac_var
1168
  eval ac_val=\$$ac_var
1169
  # Remove trailing slashes.
1170
  case $ac_val in
1171
    */ )
1172
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173
      eval $ac_var=\$ac_val;;
1174
  esac
1175
  # Be sure to have absolute directory names.
1094
  case $ac_val in
1176
  case $ac_val in
1095
    [\\/$]* | ?:[\\/]* )  continue;;
1177
    [\\/$]* | ?:[\\/]* )  continue;;
1096
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1178
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1097
  esac
1179
  esac
1098
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1180
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1099
   { (exit 1); exit 1; }; }
1181
   { (exit 1); exit 1; }; }
1100
done
1182
done
1101
1183
1102
# There might be people who depend on the old broken behavior: `$host'
1184
# There might be people who depend on the old broken behavior: `$host'
1103
# used to hold the argument of --host etc.
1185
# used to hold the argument of --host etc.
...
...
1108
1190
1109
# FIXME: To remove some day.
1191
# FIXME: To remove some day.
1110
if test "x$host_alias" != x; then
1192
if test "x$host_alias" != x; then
1111
  if test "x$build_alias" = x; then
1193
  if test "x$build_alias" = x; then
1112
    cross_compiling=maybe
1194
    cross_compiling=maybe
1113
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1195
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1114
    If a cross compiler is detected then cross compile mode will be used." >&2
1196
    If a cross compiler is detected then cross compile mode will be used." >&2
1115
  elif test "x$build_alias" != "x$host_alias"; then
1197
  elif test "x$build_alias" != "x$host_alias"; then
1116
    cross_compiling=yes
1198
    cross_compiling=yes
1117
  fi
1199
  fi
1118
fi
1200
fi
...
...
1124
1206
1125
1207
1126
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1208
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1127
ac_ls_di=`ls -di .` &&
1209
ac_ls_di=`ls -di .` &&
1128
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1210
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1129
  { echo "$as_me: error: Working directory cannot be determined" >&2
1211
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1130
   { (exit 1); exit 1; }; }
1212
   { (exit 1); exit 1; }; }
1131
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1132
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1214
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1133
   { (exit 1); exit 1; }; }
1215
   { (exit 1); exit 1; }; }
1134
1216
1135
1217
1136
# Find the source files, if location was not specified.
1218
# Find the source files, if location was not specified.
1137
if test -z "$srcdir"; then
1219
if test -z "$srcdir"; then
1138
  ac_srcdir_defaulted=yes
1220
  ac_srcdir_defaulted=yes
1139
  # Try the directory containing this script, then the parent directory.
1221
  # Try the directory containing this script, then the parent directory.
1140
  ac_confdir=`$as_dirname -- "$0" ||
1222
  ac_confdir=`$as_dirname -- "$as_myself" ||
1141
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1223
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1142
     X"$0" : 'X\(//\)[^/]' \| \
1224
     X"$as_myself" : 'X\(//\)[^/]' \| \
1143
     X"$0" : 'X\(//\)$' \| \
1225
     X"$as_myself" : 'X\(//\)$' \| \
1144
     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1226
     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1145
echo X"$0" |
1227
$as_echo X"$as_myself" |
1146
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1228
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1147
        s//\1/
1229
        s//\1/
1148
        q
1230
        q
1149
      }
1231
      }
1150
      /^X\(\/\/\)[^/].*/{
1232
      /^X\(\/\/\)[^/].*/{
...
...
1167
else
1249
else
1168
  ac_srcdir_defaulted=no
1250
  ac_srcdir_defaulted=no
1169
fi
1251
fi
1170
if test ! -r "$srcdir/$ac_unique_file"; then
1252
if test ! -r "$srcdir/$ac_unique_file"; then
1171
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1253
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1172
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1254
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1173
   { (exit 1); exit 1; }; }
1255
   { (exit 1); exit 1; }; }
1174
fi
1256
fi
1175
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1257
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1176
ac_abs_confdir=`(
1258
ac_abs_confdir=`(
1177
    cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1259
    cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1178
   { (exit 1); exit 1; }; }
1260
   { (exit 1); exit 1; }; }
1179
    pwd)`
1261
    pwd)`
1180
# When building in place, set srcdir=.
1262
# When building in place, set srcdir=.
1181
if test "$ac_abs_confdir" = "$ac_pwd"; then
1263
if test "$ac_abs_confdir" = "$ac_pwd"; then
1182
  srcdir=.
1264
  srcdir=.
...
...
1221
  -n, --no-create         do not create output files
1303
  -n, --no-create         do not create output files
1222
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1304
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1223
1305
1224
Installation directories:
1306
Installation directories:
1225
  --prefix=PREFIX         install architecture-independent files in PREFIX
1307
  --prefix=PREFIX         install architecture-independent files in PREFIX
1226
            [$ac_default_prefix]
1308
                          [$ac_default_prefix]
1227
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1309
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1228
            [PREFIX]
1310
                          [PREFIX]
1229
1311
1230
By default, \`make install' will install all the files in
1312
By default, \`make install' will install all the files in
1231
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1313
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1232
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1233
for instance \`--prefix=\$HOME'.
1315
for instance \`--prefix=\$HOME'.
1234
1316
1235
For better control, use the options below.
1317
For better control, use the options below.
1236
1318
1237
Fine tuning of the installation directories:
1319
Fine tuning of the installation directories:
1238
  --bindir=DIR           user executables [EPREFIX/bin]
1320
  --bindir=DIR            user executables [EPREFIX/bin]
1239
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1321
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1240
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1322
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1241
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1323
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1242
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1324
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1243
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1325
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1244
  --libdir=DIR           object code libraries [EPREFIX/lib]
1326
  --libdir=DIR            object code libraries [EPREFIX/lib]
1245
  --includedir=DIR       C header files [PREFIX/include]
1327
  --includedir=DIR        C header files [PREFIX/include]
1246
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1328
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1247
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1329
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1248
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1330
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1249
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1331
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1250
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1332
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1251
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1333
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1252
  --docdir=DIR           documentation root [DATAROOTDIR/doc/recoll]
1334
  --docdir=DIR            documentation root [DATAROOTDIR/doc/recoll]
1253
  --htmldir=DIR          html documentation [DOCDIR]
1335
  --htmldir=DIR           html documentation [DOCDIR]
1254
  --dvidir=DIR           dvi documentation [DOCDIR]
1336
  --dvidir=DIR            dvi documentation [DOCDIR]
1255
  --pdfdir=DIR           pdf documentation [DOCDIR]
1337
  --pdfdir=DIR            pdf documentation [DOCDIR]
1256
  --psdir=DIR            ps documentation [DOCDIR]
1338
  --psdir=DIR             ps documentation [DOCDIR]
1257
_ACEOF
1339
_ACEOF
1258
1340
1259
  cat <<\_ACEOF
1341
  cat <<\_ACEOF
1260
1342
1261
X features:
1343
X features:
...
...
1269
     short | recursive ) echo "Configuration of Recoll 1.6:";;
1351
     short | recursive ) echo "Configuration of Recoll 1.6:";;
1270
   esac
1352
   esac
1271
  cat <<\_ACEOF
1353
  cat <<\_ACEOF
1272
1354
1273
Optional Features:
1355
Optional Features:
1356
  --disable-option-checking  ignore unrecognized --enable/--with options
1274
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1357
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1275
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1358
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1276
  --enable-xattr          Enable fetching metadata from file extended
1359
  --enable-xattr          Enable fetching metadata from file extended
1277
                          attributes. This is only useful if some application
1360
                          attributes. This is only useful if some application
1278
                          creates them on (part of) your data set. You also
1361
                          creates them on (part of) your data set. You also
...
...
1280
                          configuration.
1363
                          configuration.
1281
1364
1282
Optional Packages:
1365
Optional Packages:
1283
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1366
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1284
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1367
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1368
  --with-file-command     Specify version of 'file' command (ie:
1369
                          --with-file-command=/usr/local/bin/file)
1285
  --without-aspell        Disable use of aspell spelling package to provide
1370
  --without-aspell        Disable use of aspell spelling package to provide
1286
                          term expansion to other spellings
1371
                          term expansion to other spellings
1287
  --with-fam              Use File Alteration Monitor for almost real time
1372
  --with-fam              Use File Alteration Monitor for almost real time
1288
                          indexing of modified files. Give the fam/gamin
1373
                          indexing of modified files. Give the fam/gamin
1289
                          library as argument (ie: /usr/lib/libfam.so) if
1374
                          library as argument (ie: /usr/lib/libfam.so) if
...
...
1314
fi
1399
fi
1315
1400
1316
if test "$ac_init_help" = "recursive"; then
1401
if test "$ac_init_help" = "recursive"; then
1317
  # If there are subdirs, report their specific --help.
1402
  # If there are subdirs, report their specific --help.
1318
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1319
    test -d "$ac_dir" || continue
1404
    test -d "$ac_dir" ||
1405
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406
      continue
1320
    ac_builddir=.
1407
    ac_builddir=.
1321
1408
1322
case "$ac_dir" in
1409
case "$ac_dir" in
1323
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324
*)
1411
*)
1325
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1326
  # A ".." for each directory in $ac_dir_suffix.
1413
  # A ".." for each directory in $ac_dir_suffix.
1327
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328
  case $ac_top_builddir_sub in
1415
  case $ac_top_builddir_sub in
1329
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331
  esac ;;
1418
  esac ;;
1332
esac
1419
esac
...
...
1358
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1359
    elif test -f "$ac_srcdir/configure"; then
1446
    elif test -f "$ac_srcdir/configure"; then
1360
      echo &&
1447
      echo &&
1361
      $SHELL "$ac_srcdir/configure" --help=recursive
1448
      $SHELL "$ac_srcdir/configure" --help=recursive
1362
    else
1449
    else
1363
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1364
    fi || ac_status=$?
1451
    fi || ac_status=$?
1365
    cd "$ac_pwd" || { ac_status=$?; break; }
1452
    cd "$ac_pwd" || { ac_status=$?; break; }
1366
  done
1453
  done
1367
fi
1454
fi
1368
1455
1369
test -n "$ac_init_help" && exit $ac_status
1456
test -n "$ac_init_help" && exit $ac_status
1370
if $ac_init_version; then
1457
if $ac_init_version; then
1371
  cat <<\_ACEOF
1458
  cat <<\_ACEOF
1372
Recoll configure 1.6
1459
Recoll configure 1.6
1373
generated by GNU Autoconf 2.61
1460
generated by GNU Autoconf 2.63
1374
1461
1375
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1376
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1377
This configure script is free software; the Free Software Foundation
1464
This configure script is free software; the Free Software Foundation
1378
gives unlimited permission to copy, distribute and modify it.
1465
gives unlimited permission to copy, distribute and modify it.
1379
_ACEOF
1466
_ACEOF
1380
  exit
1467
  exit
1381
fi
1468
fi
1382
cat >config.log <<_ACEOF
1469
cat >config.log <<_ACEOF
1383
This file contains any messages produced by compilers while
1470
This file contains any messages produced by compilers while
1384
running configure, to aid debugging if configure makes a mistake.
1471
running configure, to aid debugging if configure makes a mistake.
1385
1472
1386
It was created by Recoll $as_me 1.6, which was
1473
It was created by Recoll $as_me 1.6, which was
1387
generated by GNU Autoconf 2.61.  Invocation command line was
1474
generated by GNU Autoconf 2.63.  Invocation command line was
1388
1475
1389
  $ $0 $@
1476
  $ $0 $@
1390
1477
1391
_ACEOF
1478
_ACEOF
1392
exec 5>>config.log
1479
exec 5>>config.log
...
...
1418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1419
for as_dir in $PATH
1506
for as_dir in $PATH
1420
do
1507
do
1421
  IFS=$as_save_IFS
1508
  IFS=$as_save_IFS
1422
  test -z "$as_dir" && as_dir=.
1509
  test -z "$as_dir" && as_dir=.
1423
  echo "PATH: $as_dir"
1510
  $as_echo "PATH: $as_dir"
1424
done
1511
done
1425
IFS=$as_save_IFS
1512
IFS=$as_save_IFS
1426
1513
1427
} >&5
1514
} >&5
1428
1515
...
...
1453
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1454
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1455
    | -silent | --silent | --silen | --sile | --sil)
1542
    | -silent | --silent | --silen | --sile | --sil)
1456
      continue ;;
1543
      continue ;;
1457
    *\'*)
1544
    *\'*)
1458
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1459
    esac
1546
    esac
1460
    case $ac_pass in
1547
    case $ac_pass in
1461
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1548
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1462
    2)
1549
    2)
1463
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
...
...
1505
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1506
    eval ac_val=\$$ac_var
1593
    eval ac_val=\$$ac_var
1507
    case $ac_val in #(
1594
    case $ac_val in #(
1508
    *${as_nl}*)
1595
    *${as_nl}*)
1509
      case $ac_var in #(
1596
      case $ac_var in #(
1510
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1511
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1512
      esac
1599
      esac
1513
      case $ac_var in #(
1600
      case $ac_var in #(
1514
      _ | IFS | as_nl) ;; #(
1601
      _ | IFS | as_nl) ;; #(
1602
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1515
      *) $as_unset $ac_var ;;
1603
      *) $as_unset $ac_var ;;
1516
      esac ;;
1604
      esac ;;
1517
    esac
1605
    esac
1518
  done
1606
  done
1519
  (set) 2>&1 |
1607
  (set) 2>&1 |
...
...
1539
    echo
1627
    echo
1540
    for ac_var in $ac_subst_vars
1628
    for ac_var in $ac_subst_vars
1541
    do
1629
    do
1542
      eval ac_val=\$$ac_var
1630
      eval ac_val=\$$ac_var
1543
      case $ac_val in
1631
      case $ac_val in
1544
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1545
      esac
1633
      esac
1546
      echo "$ac_var='\''$ac_val'\''"
1634
      $as_echo "$ac_var='\''$ac_val'\''"
1547
    done | sort
1635
    done | sort
1548
    echo
1636
    echo
1549
1637
1550
    if test -n "$ac_subst_files"; then
1638
    if test -n "$ac_subst_files"; then
1551
      cat <<\_ASBOX
1639
      cat <<\_ASBOX
...
...
1556
      echo
1644
      echo
1557
      for ac_var in $ac_subst_files
1645
      for ac_var in $ac_subst_files
1558
      do
1646
      do
1559
    eval ac_val=\$$ac_var
1647
    eval ac_val=\$$ac_var
1560
    case $ac_val in
1648
    case $ac_val in
1561
    *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649
    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1562
    esac
1650
    esac
1563
    echo "$ac_var='\''$ac_val'\''"
1651
    $as_echo "$ac_var='\''$ac_val'\''"
1564
      done | sort
1652
      done | sort
1565
      echo
1653
      echo
1566
    fi
1654
    fi
1567
1655
1568
    if test -s confdefs.h; then
1656
    if test -s confdefs.h; then
...
...
1574
      echo
1662
      echo
1575
      cat confdefs.h
1663
      cat confdefs.h
1576
      echo
1664
      echo
1577
    fi
1665
    fi
1578
    test "$ac_signal" != 0 &&
1666
    test "$ac_signal" != 0 &&
1579
      echo "$as_me: caught signal $ac_signal"
1667
      $as_echo "$as_me: caught signal $ac_signal"
1580
    echo "$as_me: exit $exit_status"
1668
    $as_echo "$as_me: exit $exit_status"
1581
  } >&5
1669
  } >&5
1582
  rm -f core *.core core.conftest.* &&
1670
  rm -f core *.core core.conftest.* &&
1583
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1584
    exit $exit_status
1672
    exit $exit_status
1585
' 0
1673
' 0
...
...
1617
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1618
_ACEOF
1706
_ACEOF
1619
1707
1620
1708
1621
# Let the site file select an alternate cache file if it wants to.
1709
# Let the site file select an alternate cache file if it wants to.
1622
# Prefer explicitly selected file to automatically selected ones.
1710
# Prefer an explicitly selected file to automatically selected ones.
1711
ac_site_file1=NONE
1712
ac_site_file2=NONE
1623
if test -n "$CONFIG_SITE"; then
1713
if test -n "$CONFIG_SITE"; then
1624
  set x "$CONFIG_SITE"
1714
  ac_site_file1=$CONFIG_SITE
1625
elif test "x$prefix" != xNONE; then
1715
elif test "x$prefix" != xNONE; then
1626
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1716
  ac_site_file1=$prefix/share/config.site
1717
  ac_site_file2=$prefix/etc/config.site
1627
else
1718
else
1628
  set x "$ac_default_prefix/share/config.site" \
1719
  ac_site_file1=$ac_default_prefix/share/config.site
1629
  "$ac_default_prefix/etc/config.site"
1720
  ac_site_file2=$ac_default_prefix/etc/config.site
1630
fi
1721
fi
1631
shift
1722
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1632
for ac_site_file
1633
do
1723
do
1724
  test "x$ac_site_file" = xNONE && continue
1634
  if test -r "$ac_site_file"; then
1725
  if test -r "$ac_site_file"; then
1635
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1726
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1636
echo "$as_me: loading site script $ac_site_file" >&6;}
1727
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1637
    sed 's/^/| /' "$ac_site_file" >&5
1728
    sed 's/^/| /' "$ac_site_file" >&5
1638
    . "$ac_site_file"
1729
    . "$ac_site_file"
1639
  fi
1730
  fi
1640
done
1731
done
1641
1732
1642
if test -r "$cache_file"; then
1733
if test -r "$cache_file"; then
1643
  # Some versions of bash will fail to source /dev/null (special
1734
  # Some versions of bash will fail to source /dev/null (special
1644
  # files actually), so we avoid doing that.
1735
  # files actually), so we avoid doing that.
1645
  if test -f "$cache_file"; then
1736
  if test -f "$cache_file"; then
1646
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1737
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1647
echo "$as_me: loading cache $cache_file" >&6;}
1738
$as_echo "$as_me: loading cache $cache_file" >&6;}
1648
    case $cache_file in
1739
    case $cache_file in
1649
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1740
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1650
      *)                      . "./$cache_file";;
1741
      *)                      . "./$cache_file";;
1651
    esac
1742
    esac
1652
  fi
1743
  fi
1653
else
1744
else
1654
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1745
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1655
echo "$as_me: creating cache $cache_file" >&6;}
1746
$as_echo "$as_me: creating cache $cache_file" >&6;}
1656
  >$cache_file
1747
  >$cache_file
1657
fi
1748
fi
1658
1749
1659
# Check that the precious variables saved in the cache have kept the same
1750
# Check that the precious variables saved in the cache have kept the same
1660
# value.
1751
# value.
...
...
1664
  eval ac_new_set=\$ac_env_${ac_var}_set
1755
  eval ac_new_set=\$ac_env_${ac_var}_set
1665
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1756
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1666
  eval ac_new_val=\$ac_env_${ac_var}_value
1757
  eval ac_new_val=\$ac_env_${ac_var}_value
1667
  case $ac_old_set,$ac_new_set in
1758
  case $ac_old_set,$ac_new_set in
1668
    set,)
1759
    set,)
1669
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1760
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1670
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1761
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1671
      ac_cache_corrupted=: ;;
1762
      ac_cache_corrupted=: ;;
1672
    ,set)
1763
    ,set)
1673
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1764
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1674
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1765
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1675
      ac_cache_corrupted=: ;;
1766
      ac_cache_corrupted=: ;;
1676
    ,);;
1767
    ,);;
1677
    *)
1768
    *)
1678
      if test "x$ac_old_val" != "x$ac_new_val"; then
1769
      if test "x$ac_old_val" != "x$ac_new_val"; then
1770
  # differences in whitespace do not lead to failure.
1771
  ac_old_val_w=`echo x $ac_old_val`
1772
  ac_new_val_w=`echo x $ac_new_val`
1773
  if test "$ac_old_val_w" != "$ac_new_val_w"; then
1679
    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1774
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1680
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1775
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1681
  { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1682
echo "$as_me:   former value:  $ac_old_val" >&2;}
1683
  { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1684
echo "$as_me:   current value: $ac_new_val" >&2;}
1685
    ac_cache_corrupted=:
1776
      ac_cache_corrupted=:
1777
  else
1778
    { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1779
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1780
    eval $ac_var=\$ac_old_val
1781
  fi
1782
  { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1783
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1784
  { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1785
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1686
      fi;;
1786
      fi;;
1687
  esac
1787
  esac
1688
  # Pass precious variables to config.status.
1788
  # Pass precious variables to config.status.
1689
  if test "$ac_new_set" = set; then
1789
  if test "$ac_new_set" = set; then
1690
    case $ac_new_val in
1790
    case $ac_new_val in
1691
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1791
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1692
    *) ac_arg=$ac_var=$ac_new_val ;;
1792
    *) ac_arg=$ac_var=$ac_new_val ;;
1693
    esac
1793
    esac
1694
    case " $ac_configure_args " in
1794
    case " $ac_configure_args " in
1695
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1795
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1696
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1796
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1697
    esac
1797
    esac
1698
  fi
1798
  fi
1699
done
1799
done
1700
if $ac_cache_corrupted; then
1800
if $ac_cache_corrupted; then
1801
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1802
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1701
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1803
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1702
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1804
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1703
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1805
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1704
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1806
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1705
   { (exit 1); exit 1; }; }
1807
   { (exit 1); exit 1; }; }
1706
fi
1808
fi
1707
1809
1708
1810
1709
1811
...
...
1759
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1861
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1760
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1761
if test -n "$ac_tool_prefix"; then
1863
if test -n "$ac_tool_prefix"; then
1762
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1864
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1763
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1865
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1764
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1866
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1765
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1867
$as_echo_n "checking for $ac_word... " >&6; }
1766
if test "${ac_cv_prog_CC+set}" = set; then
1868
if test "${ac_cv_prog_CC+set}" = set; then
1767
  echo $ECHO_N "(cached) $ECHO_C" >&6
1869
  $as_echo_n "(cached) " >&6
1768
else
1870
else
1769
  if test -n "$CC"; then
1871
  if test -n "$CC"; then
1770
  ac_cv_prog_CC="$CC" # Let the user override the test.
1872
  ac_cv_prog_CC="$CC" # Let the user override the test.
1771
else
1873
else
1772
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
1775
  IFS=$as_save_IFS
1877
  IFS=$as_save_IFS
1776
  test -z "$as_dir" && as_dir=.
1878
  test -z "$as_dir" && as_dir=.
1777
  for ac_exec_ext in '' $ac_executable_extensions; do
1879
  for ac_exec_ext in '' $ac_executable_extensions; do
1778
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1880
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1779
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1881
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1780
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1882
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781
    break 2
1883
    break 2
1782
  fi
1884
  fi
1783
done
1885
done
1784
done
1886
done
1785
IFS=$as_save_IFS
1887
IFS=$as_save_IFS
1786
1888
1787
fi
1889
fi
1788
fi
1890
fi
1789
CC=$ac_cv_prog_CC
1891
CC=$ac_cv_prog_CC
1790
if test -n "$CC"; then
1892
if test -n "$CC"; then
1791
  { echo "$as_me:$LINENO: result: $CC" >&5
1893
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
1792
echo "${ECHO_T}$CC" >&6; }
1894
$as_echo "$CC" >&6; }
1793
else
1895
else
1794
  { echo "$as_me:$LINENO: result: no" >&5
1896
  { $as_echo "$as_me:$LINENO: result: no" >&5
1795
echo "${ECHO_T}no" >&6; }
1897
$as_echo "no" >&6; }
1796
fi
1898
fi
1797
1899
1798
1900
1799
fi
1901
fi
1800
if test -z "$ac_cv_prog_CC"; then
1902
if test -z "$ac_cv_prog_CC"; then
1801
  ac_ct_CC=$CC
1903
  ac_ct_CC=$CC
1802
  # Extract the first word of "gcc", so it can be a program name with args.
1904
  # Extract the first word of "gcc", so it can be a program name with args.
1803
set dummy gcc; ac_word=$2
1905
set dummy gcc; ac_word=$2
1804
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1906
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1907
$as_echo_n "checking for $ac_word... " >&6; }
1806
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1908
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1807
  echo $ECHO_N "(cached) $ECHO_C" >&6
1909
  $as_echo_n "(cached) " >&6
1808
else
1910
else
1809
  if test -n "$ac_ct_CC"; then
1911
  if test -n "$ac_ct_CC"; then
1810
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1912
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1811
else
1913
else
1812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
1815
  IFS=$as_save_IFS
1917
  IFS=$as_save_IFS
1816
  test -z "$as_dir" && as_dir=.
1918
  test -z "$as_dir" && as_dir=.
1817
  for ac_exec_ext in '' $ac_executable_extensions; do
1919
  for ac_exec_ext in '' $ac_executable_extensions; do
1818
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1920
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1819
    ac_cv_prog_ac_ct_CC="gcc"
1921
    ac_cv_prog_ac_ct_CC="gcc"
1820
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1821
    break 2
1923
    break 2
1822
  fi
1924
  fi
1823
done
1925
done
1824
done
1926
done
1825
IFS=$as_save_IFS
1927
IFS=$as_save_IFS
1826
1928
1827
fi
1929
fi
1828
fi
1930
fi
1829
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1931
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1830
if test -n "$ac_ct_CC"; then
1932
if test -n "$ac_ct_CC"; then
1831
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1933
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1832
echo "${ECHO_T}$ac_ct_CC" >&6; }
1934
$as_echo "$ac_ct_CC" >&6; }
1833
else
1935
else
1834
  { echo "$as_me:$LINENO: result: no" >&5
1936
  { $as_echo "$as_me:$LINENO: result: no" >&5
1835
echo "${ECHO_T}no" >&6; }
1937
$as_echo "no" >&6; }
1836
fi
1938
fi
1837
1939
1838
  if test "x$ac_ct_CC" = x; then
1940
  if test "x$ac_ct_CC" = x; then
1839
    CC=""
1941
    CC=""
1840
  else
1942
  else
1841
    case $cross_compiling:$ac_tool_warned in
1943
    case $cross_compiling:$ac_tool_warned in
1842
yes:)
1944
yes:)
1843
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1945
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1844
whose name does not start with the host triplet.  If you think this
1946
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1845
configuration is useful to you, please write to autoconf@gnu.org." >&5
1846
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1847
whose name does not start with the host triplet.  If you think this
1848
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1849
ac_tool_warned=yes ;;
1947
ac_tool_warned=yes ;;
1850
esac
1948
esac
1851
    CC=$ac_ct_CC
1949
    CC=$ac_ct_CC
1852
  fi
1950
  fi
1853
else
1951
else
...
...
1856
1954
1857
if test -z "$CC"; then
1955
if test -z "$CC"; then
1858
          if test -n "$ac_tool_prefix"; then
1956
          if test -n "$ac_tool_prefix"; then
1859
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1957
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1860
set dummy ${ac_tool_prefix}cc; ac_word=$2
1958
set dummy ${ac_tool_prefix}cc; ac_word=$2
1861
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1959
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1862
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1960
$as_echo_n "checking for $ac_word... " >&6; }
1863
if test "${ac_cv_prog_CC+set}" = set; then
1961
if test "${ac_cv_prog_CC+set}" = set; then
1864
  echo $ECHO_N "(cached) $ECHO_C" >&6
1962
  $as_echo_n "(cached) " >&6
1865
else
1963
else
1866
  if test -n "$CC"; then
1964
  if test -n "$CC"; then
1867
  ac_cv_prog_CC="$CC" # Let the user override the test.
1965
  ac_cv_prog_CC="$CC" # Let the user override the test.
1868
else
1966
else
1869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
1872
  IFS=$as_save_IFS
1970
  IFS=$as_save_IFS
1873
  test -z "$as_dir" && as_dir=.
1971
  test -z "$as_dir" && as_dir=.
1874
  for ac_exec_ext in '' $ac_executable_extensions; do
1972
  for ac_exec_ext in '' $ac_executable_extensions; do
1875
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1973
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1876
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1974
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1877
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878
    break 2
1976
    break 2
1879
  fi
1977
  fi
1880
done
1978
done
1881
done
1979
done
1882
IFS=$as_save_IFS
1980
IFS=$as_save_IFS
1883
1981
1884
fi
1982
fi
1885
fi
1983
fi
1886
CC=$ac_cv_prog_CC
1984
CC=$ac_cv_prog_CC
1887
if test -n "$CC"; then
1985
if test -n "$CC"; then
1888
  { echo "$as_me:$LINENO: result: $CC" >&5
1986
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
1889
echo "${ECHO_T}$CC" >&6; }
1987
$as_echo "$CC" >&6; }
1890
else
1988
else
1891
  { echo "$as_me:$LINENO: result: no" >&5
1989
  { $as_echo "$as_me:$LINENO: result: no" >&5
1892
echo "${ECHO_T}no" >&6; }
1990
$as_echo "no" >&6; }
1893
fi
1991
fi
1894
1992
1895
1993
1896
  fi
1994
  fi
1897
fi
1995
fi
1898
if test -z "$CC"; then
1996
if test -z "$CC"; then
1899
  # Extract the first word of "cc", so it can be a program name with args.
1997
  # Extract the first word of "cc", so it can be a program name with args.
1900
set dummy cc; ac_word=$2
1998
set dummy cc; ac_word=$2
1901
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1999
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1902
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2000
$as_echo_n "checking for $ac_word... " >&6; }
1903
if test "${ac_cv_prog_CC+set}" = set; then
2001
if test "${ac_cv_prog_CC+set}" = set; then
1904
  echo $ECHO_N "(cached) $ECHO_C" >&6
2002
  $as_echo_n "(cached) " >&6
1905
else
2003
else
1906
  if test -n "$CC"; then
2004
  if test -n "$CC"; then
1907
  ac_cv_prog_CC="$CC" # Let the user override the test.
2005
  ac_cv_prog_CC="$CC" # Let the user override the test.
1908
else
2006
else
1909
  ac_prog_rejected=no
2007
  ac_prog_rejected=no
...
...
1917
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2015
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1918
       ac_prog_rejected=yes
2016
       ac_prog_rejected=yes
1919
       continue
2017
       continue
1920
     fi
2018
     fi
1921
    ac_cv_prog_CC="cc"
2019
    ac_cv_prog_CC="cc"
1922
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2020
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1923
    break 2
2021
    break 2
1924
  fi
2022
  fi
1925
done
2023
done
1926
done
2024
done
1927
IFS=$as_save_IFS
2025
IFS=$as_save_IFS
...
...
1940
fi
2038
fi
1941
fi
2039
fi
1942
fi
2040
fi
1943
CC=$ac_cv_prog_CC
2041
CC=$ac_cv_prog_CC
1944
if test -n "$CC"; then
2042
if test -n "$CC"; then
1945
  { echo "$as_me:$LINENO: result: $CC" >&5
2043
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
1946
echo "${ECHO_T}$CC" >&6; }
2044
$as_echo "$CC" >&6; }
1947
else
2045
else
1948
  { echo "$as_me:$LINENO: result: no" >&5
2046
  { $as_echo "$as_me:$LINENO: result: no" >&5
1949
echo "${ECHO_T}no" >&6; }
2047
$as_echo "no" >&6; }
1950
fi
2048
fi
1951
2049
1952
2050
1953
fi
2051
fi
1954
if test -z "$CC"; then
2052
if test -z "$CC"; then
1955
  if test -n "$ac_tool_prefix"; then
2053
  if test -n "$ac_tool_prefix"; then
1956
  for ac_prog in cl.exe
2054
  for ac_prog in cl.exe
1957
  do
2055
  do
1958
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2056
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1959
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2057
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1960
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2058
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1961
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2059
$as_echo_n "checking for $ac_word... " >&6; }
1962
if test "${ac_cv_prog_CC+set}" = set; then
2060
if test "${ac_cv_prog_CC+set}" = set; then
1963
  echo $ECHO_N "(cached) $ECHO_C" >&6
2061
  $as_echo_n "(cached) " >&6
1964
else
2062
else
1965
  if test -n "$CC"; then
2063
  if test -n "$CC"; then
1966
  ac_cv_prog_CC="$CC" # Let the user override the test.
2064
  ac_cv_prog_CC="$CC" # Let the user override the test.
1967
else
2065
else
1968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
1971
  IFS=$as_save_IFS
2069
  IFS=$as_save_IFS
1972
  test -z "$as_dir" && as_dir=.
2070
  test -z "$as_dir" && as_dir=.
1973
  for ac_exec_ext in '' $ac_executable_extensions; do
2071
  for ac_exec_ext in '' $ac_executable_extensions; do
1974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2072
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2073
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1976
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2074
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1977
    break 2
2075
    break 2
1978
  fi
2076
  fi
1979
done
2077
done
1980
done
2078
done
1981
IFS=$as_save_IFS
2079
IFS=$as_save_IFS
1982
2080
1983
fi
2081
fi
1984
fi
2082
fi
1985
CC=$ac_cv_prog_CC
2083
CC=$ac_cv_prog_CC
1986
if test -n "$CC"; then
2084
if test -n "$CC"; then
1987
  { echo "$as_me:$LINENO: result: $CC" >&5
2085
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
1988
echo "${ECHO_T}$CC" >&6; }
2086
$as_echo "$CC" >&6; }
1989
else
2087
else
1990
  { echo "$as_me:$LINENO: result: no" >&5
2088
  { $as_echo "$as_me:$LINENO: result: no" >&5
1991
echo "${ECHO_T}no" >&6; }
2089
$as_echo "no" >&6; }
1992
fi
2090
fi
1993
2091
1994
2092
1995
    test -n "$CC" && break
2093
    test -n "$CC" && break
1996
  done
2094
  done
...
...
1999
  ac_ct_CC=$CC
2097
  ac_ct_CC=$CC
2000
  for ac_prog in cl.exe
2098
  for ac_prog in cl.exe
2001
do
2099
do
2002
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2100
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2003
set dummy $ac_prog; ac_word=$2
2101
set dummy $ac_prog; ac_word=$2
2004
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2102
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2005
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2103
$as_echo_n "checking for $ac_word... " >&6; }
2006
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2007
  echo $ECHO_N "(cached) $ECHO_C" >&6
2105
  $as_echo_n "(cached) " >&6
2008
else
2106
else
2009
  if test -n "$ac_ct_CC"; then
2107
  if test -n "$ac_ct_CC"; then
2010
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2011
else
2109
else
2012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
2015
  IFS=$as_save_IFS
2113
  IFS=$as_save_IFS
2016
  test -z "$as_dir" && as_dir=.
2114
  test -z "$as_dir" && as_dir=.
2017
  for ac_exec_ext in '' $ac_executable_extensions; do
2115
  for ac_exec_ext in '' $ac_executable_extensions; do
2018
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2116
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2019
    ac_cv_prog_ac_ct_CC="$ac_prog"
2117
    ac_cv_prog_ac_ct_CC="$ac_prog"
2020
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2021
    break 2
2119
    break 2
2022
  fi
2120
  fi
2023
done
2121
done
2024
done
2122
done
2025
IFS=$as_save_IFS
2123
IFS=$as_save_IFS
2026
2124
2027
fi
2125
fi
2028
fi
2126
fi
2029
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2127
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2030
if test -n "$ac_ct_CC"; then
2128
if test -n "$ac_ct_CC"; then
2031
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2129
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2032
echo "${ECHO_T}$ac_ct_CC" >&6; }
2130
$as_echo "$ac_ct_CC" >&6; }
2033
else
2131
else
2034
  { echo "$as_me:$LINENO: result: no" >&5
2132
  { $as_echo "$as_me:$LINENO: result: no" >&5
2035
echo "${ECHO_T}no" >&6; }
2133
$as_echo "no" >&6; }
2036
fi
2134
fi
2037
2135
2038
2136
2039
  test -n "$ac_ct_CC" && break
2137
  test -n "$ac_ct_CC" && break
2040
done
2138
done
...
...
2042
  if test "x$ac_ct_CC" = x; then
2140
  if test "x$ac_ct_CC" = x; then
2043
    CC=""
2141
    CC=""
2044
  else
2142
  else
2045
    case $cross_compiling:$ac_tool_warned in
2143
    case $cross_compiling:$ac_tool_warned in
2046
yes:)
2144
yes:)
2047
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2145
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2048
whose name does not start with the host triplet.  If you think this
2146
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2049
configuration is useful to you, please write to autoconf@gnu.org." >&5
2050
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2051
whose name does not start with the host triplet.  If you think this
2052
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2053
ac_tool_warned=yes ;;
2147
ac_tool_warned=yes ;;
2054
esac
2148
esac
2055
    CC=$ac_ct_CC
2149
    CC=$ac_ct_CC
2056
  fi
2150
  fi
2057
fi
2151
fi
2058
2152
2059
fi
2153
fi
2060
2154
2061
2155
2156
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2157
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2062
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2158
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2063
See \`config.log' for more details." >&5
2159
See \`config.log' for more details." >&5
2064
echo "$as_me: error: no acceptable C compiler found in \$PATH
2160
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2065
See \`config.log' for more details." >&2;}
2161
See \`config.log' for more details." >&2;}
2066
   { (exit 1); exit 1; }; }
2162
   { (exit 1); exit 1; }; }; }
2067
2163
2068
# Provide some information about the compiler.
2164
# Provide some information about the compiler.
2069
echo "$as_me:$LINENO: checking for C compiler version" >&5
2165
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2070
ac_compiler=`set X $ac_compile; echo $2`
2166
set X $ac_compile
2167
ac_compiler=$2
2071
{ (ac_try="$ac_compiler --version >&5"
2168
{ (ac_try="$ac_compiler --version >&5"
2072
case "(($ac_try" in
2169
case "(($ac_try" in
2073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074
  *) ac_try_echo=$ac_try;;
2171
  *) ac_try_echo=$ac_try;;
2075
esac
2172
esac
2076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2174
$as_echo "$ac_try_echo") >&5
2077
  (eval "$ac_compiler --version >&5") 2>&5
2175
  (eval "$ac_compiler --version >&5") 2>&5
2078
  ac_status=$?
2176
  ac_status=$?
2079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080
  (exit $ac_status); }
2178
  (exit $ac_status); }
2081
{ (ac_try="$ac_compiler -v >&5"
2179
{ (ac_try="$ac_compiler -v >&5"
2082
case "(($ac_try" in
2180
case "(($ac_try" in
2083
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2084
  *) ac_try_echo=$ac_try;;
2182
  *) ac_try_echo=$ac_try;;
2085
esac
2183
esac
2086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2184
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2185
$as_echo "$ac_try_echo") >&5
2087
  (eval "$ac_compiler -v >&5") 2>&5
2186
  (eval "$ac_compiler -v >&5") 2>&5
2088
  ac_status=$?
2187
  ac_status=$?
2089
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090
  (exit $ac_status); }
2189
  (exit $ac_status); }
2091
{ (ac_try="$ac_compiler -V >&5"
2190
{ (ac_try="$ac_compiler -V >&5"
2092
case "(($ac_try" in
2191
case "(($ac_try" in
2093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2094
  *) ac_try_echo=$ac_try;;
2193
  *) ac_try_echo=$ac_try;;
2095
esac
2194
esac
2096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2196
$as_echo "$ac_try_echo") >&5
2097
  (eval "$ac_compiler -V >&5") 2>&5
2197
  (eval "$ac_compiler -V >&5") 2>&5
2098
  ac_status=$?
2198
  ac_status=$?
2099
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100
  (exit $ac_status); }
2200
  (exit $ac_status); }
2101
2201
2102
cat >conftest.$ac_ext <<_ACEOF
2202
cat >conftest.$ac_ext <<_ACEOF
2103
/* confdefs.h.  */
2203
/* confdefs.h.  */
2104
_ACEOF
2204
_ACEOF
...
...
2113
  ;
2213
  ;
2114
  return 0;
2214
  return 0;
2115
}
2215
}
2116
_ACEOF
2216
_ACEOF
2117
ac_clean_files_save=$ac_clean_files
2217
ac_clean_files_save=$ac_clean_files
2118
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2218
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2119
# Try to create an executable without -o first, disregard a.out.
2219
# Try to create an executable without -o first, disregard a.out.
2120
# It will help us diagnose broken compilers, and finding out an intuition
2220
# It will help us diagnose broken compilers, and finding out an intuition
2121
# of exeext.
2221
# of exeext.
2122
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2222
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2123
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2223
$as_echo_n "checking for C compiler default output file name... " >&6; }
2124
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2224
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2125
#
2225
2126
# List of possible output files, starting from the most likely.
2226
# The possible output files:
2127
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2227
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2128
# only as a last resort.  b.out is created by i960 compilers.
2228
2129
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2130
#
2131
# The IRIX 6 linker writes into existing files which may not be
2132
# executable, retaining their permissions.  Remove them first so a
2133
# subsequent execution test works.
2134
ac_rmfiles=
2229
ac_rmfiles=
2135
for ac_file in $ac_files
2230
for ac_file in $ac_files
2136
do
2231
do
2137
  case $ac_file in
2232
  case $ac_file in
2138
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2233
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2139
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2234
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2140
  esac
2235
  esac
2141
done
2236
done
2142
rm -f $ac_rmfiles
2237
rm -f $ac_rmfiles
2143
2238
2144
if { (ac_try="$ac_link_default"
2239
if { (ac_try="$ac_link_default"
2145
case "(($ac_try" in
2240
case "(($ac_try" in
2146
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147
  *) ac_try_echo=$ac_try;;
2242
  *) ac_try_echo=$ac_try;;
2148
esac
2243
esac
2149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2244
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2245
$as_echo "$ac_try_echo") >&5
2150
  (eval "$ac_link_default") 2>&5
2246
  (eval "$ac_link_default") 2>&5
2151
  ac_status=$?
2247
  ac_status=$?
2152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153
  (exit $ac_status); }; then
2249
  (exit $ac_status); }; then
2154
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2250
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2155
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2251
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2156
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2252
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2157
# so that the user can short-circuit this test for compilers unknown to
2253
# so that the user can short-circuit this test for compilers unknown to
2158
# Autoconf.
2254
# Autoconf.
2159
for ac_file in $ac_files ''
2255
for ac_file in $ac_files ''
2160
do
2256
do
2161
  test -f "$ac_file" || continue
2257
  test -f "$ac_file" || continue
2162
  case $ac_file in
2258
  case $ac_file in
2163
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2259
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2164
    ;;
2260
    ;;
2165
    [ab].out )
2261
    [ab].out )
2166
    # We found the default executable, but exeext='' is most
2262
    # We found the default executable, but exeext='' is most
2167
    # certainly right.
2263
    # certainly right.
2168
    break;;
2264
    break;;
...
...
2185
2281
2186
else
2282
else
2187
  ac_file=''
2283
  ac_file=''
2188
fi
2284
fi
2189
2285
2190
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2286
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2191
echo "${ECHO_T}$ac_file" >&6; }
2287
$as_echo "$ac_file" >&6; }
2192
if test -z "$ac_file"; then
2288
if test -z "$ac_file"; then
2193
  echo "$as_me: failed program was:" >&5
2289
  $as_echo "$as_me: failed program was:" >&5
2194
sed 's/^/| /' conftest.$ac_ext >&5
2290
sed 's/^/| /' conftest.$ac_ext >&5
2195
2291
2292
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2293
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2294
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2197
See \`config.log' for more details." >&5
2295
See \`config.log' for more details." >&5
2198
echo "$as_me: error: C compiler cannot create executables
2296
$as_echo "$as_me: error: C compiler cannot create executables
2199
See \`config.log' for more details." >&2;}
2297
See \`config.log' for more details." >&2;}
2200
   { (exit 77); exit 77; }; }
2298
   { (exit 77); exit 77; }; }; }
2201
fi
2299
fi
2202
2300
2203
ac_exeext=$ac_cv_exeext
2301
ac_exeext=$ac_cv_exeext
2204
2302
2205
# Check that the compiler produces executables we can run.  If not, either
2303
# Check that the compiler produces executables we can run.  If not, either
2206
# the compiler is broken, or we cross compile.
2304
# the compiler is broken, or we cross compile.
2207
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2305
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2208
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2306
$as_echo_n "checking whether the C compiler works... " >&6; }
2209
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2307
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2210
# If not cross compiling, check that we can run a simple program.
2308
# If not cross compiling, check that we can run a simple program.
2211
if test "$cross_compiling" != yes; then
2309
if test "$cross_compiling" != yes; then
2212
  if { ac_try='./$ac_file'
2310
  if { ac_try='./$ac_file'
2213
  { (case "(($ac_try" in
2311
  { (case "(($ac_try" in
2214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2215
  *) ac_try_echo=$ac_try;;
2313
  *) ac_try_echo=$ac_try;;
2216
esac
2314
esac
2217
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2316
$as_echo "$ac_try_echo") >&5
2218
  (eval "$ac_try") 2>&5
2317
  (eval "$ac_try") 2>&5
2219
  ac_status=$?
2318
  ac_status=$?
2220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221
  (exit $ac_status); }; }; then
2320
  (exit $ac_status); }; }; then
2222
    cross_compiling=no
2321
    cross_compiling=no
2223
  else
2322
  else
2224
    if test "$cross_compiling" = maybe; then
2323
    if test "$cross_compiling" = maybe; then
2225
    cross_compiling=yes
2324
    cross_compiling=yes
2226
    else
2325
    else
2326
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2227
  { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2328
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2228
If you meant to cross compile, use \`--host'.
2329
If you meant to cross compile, use \`--host'.
2229
See \`config.log' for more details." >&5
2330
See \`config.log' for more details." >&5
2230
echo "$as_me: error: cannot run C compiled programs.
2331
$as_echo "$as_me: error: cannot run C compiled programs.
2231
If you meant to cross compile, use \`--host'.
2332
If you meant to cross compile, use \`--host'.
2232
See \`config.log' for more details." >&2;}
2333
See \`config.log' for more details." >&2;}
2233
   { (exit 1); exit 1; }; }
2334
   { (exit 1); exit 1; }; }; }
2234
    fi
2335
    fi
2235
  fi
2336
  fi
2236
fi
2337
fi
2237
{ echo "$as_me:$LINENO: result: yes" >&5
2338
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2238
echo "${ECHO_T}yes" >&6; }
2339
$as_echo "yes" >&6; }
2239
2340
2240
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2341
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2241
ac_clean_files=$ac_clean_files_save
2342
ac_clean_files=$ac_clean_files_save
2242
# Check that the compiler produces executables we can run.  If not, either
2343
# Check that the compiler produces executables we can run.  If not, either
2243
# the compiler is broken, or we cross compile.
2344
# the compiler is broken, or we cross compile.
2244
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2345
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2245
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2346
$as_echo_n "checking whether we are cross compiling... " >&6; }
2246
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2347
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2247
echo "${ECHO_T}$cross_compiling" >&6; }
2348
$as_echo "$cross_compiling" >&6; }
2248
2349
2249
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2350
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2250
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2351
$as_echo_n "checking for suffix of executables... " >&6; }
2251
if { (ac_try="$ac_link"
2352
if { (ac_try="$ac_link"
2252
case "(($ac_try" in
2353
case "(($ac_try" in
2253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254
  *) ac_try_echo=$ac_try;;
2355
  *) ac_try_echo=$ac_try;;
2255
esac
2356
esac
2256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2357
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2358
$as_echo "$ac_try_echo") >&5
2257
  (eval "$ac_link") 2>&5
2359
  (eval "$ac_link") 2>&5
2258
  ac_status=$?
2360
  ac_status=$?
2259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260
  (exit $ac_status); }; then
2362
  (exit $ac_status); }; then
2261
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2363
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2262
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2364
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2263
# work properly (i.e., refer to `conftest.exe'), while it won't with
2365
# work properly (i.e., refer to `conftest.exe'), while it won't with
2264
# `rm'.
2366
# `rm'.
2265
for ac_file in conftest.exe conftest conftest.*; do
2367
for ac_file in conftest.exe conftest conftest.*; do
2266
  test -f "$ac_file" || continue
2368
  test -f "$ac_file" || continue
2267
  case $ac_file in
2369
  case $ac_file in
2268
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2370
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2269
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2371
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2270
      break;;
2372
      break;;
2271
    * ) break;;
2373
    * ) break;;
2272
  esac
2374
  esac
2273
done
2375
done
2274
else
2376
else
2377
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2275
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2379
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2276
See \`config.log' for more details." >&5
2380
See \`config.log' for more details." >&5
2277
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2381
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2278
See \`config.log' for more details." >&2;}
2382
See \`config.log' for more details." >&2;}
2279
   { (exit 1); exit 1; }; }
2383
   { (exit 1); exit 1; }; }; }
2280
fi
2384
fi
2281
2385
2282
rm -f conftest$ac_cv_exeext
2386
rm -f conftest$ac_cv_exeext
2283
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2387
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2284
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2388
$as_echo "$ac_cv_exeext" >&6; }
2285
2389
2286
rm -f conftest.$ac_ext
2390
rm -f conftest.$ac_ext
2287
EXEEXT=$ac_cv_exeext
2391
EXEEXT=$ac_cv_exeext
2288
ac_exeext=$EXEEXT
2392
ac_exeext=$EXEEXT
2289
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2393
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2290
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2394
$as_echo_n "checking for suffix of object files... " >&6; }
2291
if test "${ac_cv_objext+set}" = set; then
2395
if test "${ac_cv_objext+set}" = set; then
2292
  echo $ECHO_N "(cached) $ECHO_C" >&6
2396
  $as_echo_n "(cached) " >&6
2293
else
2397
else
2294
  cat >conftest.$ac_ext <<_ACEOF
2398
  cat >conftest.$ac_ext <<_ACEOF
2295
/* confdefs.h.  */
2399
/* confdefs.h.  */
2296
_ACEOF
2400
_ACEOF
2297
cat confdefs.h >>conftest.$ac_ext
2401
cat confdefs.h >>conftest.$ac_ext
...
...
2310
if { (ac_try="$ac_compile"
2414
if { (ac_try="$ac_compile"
2311
case "(($ac_try" in
2415
case "(($ac_try" in
2312
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313
  *) ac_try_echo=$ac_try;;
2417
  *) ac_try_echo=$ac_try;;
2314
esac
2418
esac
2315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2419
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2420
$as_echo "$ac_try_echo") >&5
2316
  (eval "$ac_compile") 2>&5
2421
  (eval "$ac_compile") 2>&5
2317
  ac_status=$?
2422
  ac_status=$?
2318
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319
  (exit $ac_status); }; then
2424
  (exit $ac_status); }; then
2320
  for ac_file in conftest.o conftest.obj conftest.*; do
2425
  for ac_file in conftest.o conftest.obj conftest.*; do
2321
  test -f "$ac_file" || continue;
2426
  test -f "$ac_file" || continue;
2322
  case $ac_file in
2427
  case $ac_file in
2323
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2428
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2324
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2429
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2325
       break;;
2430
       break;;
2326
  esac
2431
  esac
2327
done
2432
done
2328
else
2433
else
2329
  echo "$as_me: failed program was:" >&5
2434
  $as_echo "$as_me: failed program was:" >&5
2330
sed 's/^/| /' conftest.$ac_ext >&5
2435
sed 's/^/| /' conftest.$ac_ext >&5
2331
2436
2437
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2438
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2332
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2439
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2333
See \`config.log' for more details." >&5
2440
See \`config.log' for more details." >&5
2334
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2441
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2335
See \`config.log' for more details." >&2;}
2442
See \`config.log' for more details." >&2;}
2336
   { (exit 1); exit 1; }; }
2443
   { (exit 1); exit 1; }; }; }
2337
fi
2444
fi
2338
2445
2339
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2446
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2340
fi
2447
fi
2341
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2448
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2342
echo "${ECHO_T}$ac_cv_objext" >&6; }
2449
$as_echo "$ac_cv_objext" >&6; }
2343
OBJEXT=$ac_cv_objext
2450
OBJEXT=$ac_cv_objext
2344
ac_objext=$OBJEXT
2451
ac_objext=$OBJEXT
2345
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2452
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2346
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2453
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2347
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2454
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2348
  echo $ECHO_N "(cached) $ECHO_C" >&6
2455
  $as_echo_n "(cached) " >&6
2349
else
2456
else
2350
  cat >conftest.$ac_ext <<_ACEOF
2457
  cat >conftest.$ac_ext <<_ACEOF
2351
/* confdefs.h.  */
2458
/* confdefs.h.  */
2352
_ACEOF
2459
_ACEOF
2353
cat confdefs.h >>conftest.$ac_ext
2460
cat confdefs.h >>conftest.$ac_ext
...
...
2369
if { (ac_try="$ac_compile"
2476
if { (ac_try="$ac_compile"
2370
case "(($ac_try" in
2477
case "(($ac_try" in
2371
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372
  *) ac_try_echo=$ac_try;;
2479
  *) ac_try_echo=$ac_try;;
2373
esac
2480
esac
2374
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2481
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2482
$as_echo "$ac_try_echo") >&5
2375
  (eval "$ac_compile") 2>conftest.er1
2483
  (eval "$ac_compile") 2>conftest.er1
2376
  ac_status=$?
2484
  ac_status=$?
2377
  grep -v '^ *+' conftest.er1 >conftest.err
2485
  grep -v '^ *+' conftest.er1 >conftest.err
2378
  rm -f conftest.er1
2486
  rm -f conftest.er1
2379
  cat conftest.err >&5
2487
  cat conftest.err >&5
2380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381
  (exit $ac_status); } && {
2489
  (exit $ac_status); } && {
2382
     test -z "$ac_c_werror_flag" ||
2490
     test -z "$ac_c_werror_flag" ||
2383
     test ! -s conftest.err
2491
     test ! -s conftest.err
2384
       } && test -s conftest.$ac_objext; then
2492
       } && test -s conftest.$ac_objext; then
2385
  ac_compiler_gnu=yes
2493
  ac_compiler_gnu=yes
2386
else
2494
else
2387
  echo "$as_me: failed program was:" >&5
2495
  $as_echo "$as_me: failed program was:" >&5
2388
sed 's/^/| /' conftest.$ac_ext >&5
2496
sed 's/^/| /' conftest.$ac_ext >&5
2389
2497
2390
    ac_compiler_gnu=no
2498
    ac_compiler_gnu=no
2391
fi
2499
fi
2392
2500
2393
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2502
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2395
2503
2396
fi
2504
fi
2397
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2505
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2398
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2506
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2399
GCC=`test $ac_compiler_gnu = yes && echo yes`
2507
if test $ac_compiler_gnu = yes; then
2508
  GCC=yes
2509
else
2510
  GCC=
2511
fi
2400
ac_test_CFLAGS=${CFLAGS+set}
2512
ac_test_CFLAGS=${CFLAGS+set}
2401
ac_save_CFLAGS=$CFLAGS
2513
ac_save_CFLAGS=$CFLAGS
2402
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2514
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2403
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2515
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2404
if test "${ac_cv_prog_cc_g+set}" = set; then
2516
if test "${ac_cv_prog_cc_g+set}" = set; then
2405
  echo $ECHO_N "(cached) $ECHO_C" >&6
2517
  $as_echo_n "(cached) " >&6
2406
else
2518
else
2407
  ac_save_c_werror_flag=$ac_c_werror_flag
2519
  ac_save_c_werror_flag=$ac_c_werror_flag
2408
   ac_c_werror_flag=yes
2520
   ac_c_werror_flag=yes
2409
   ac_cv_prog_cc_g=no
2521
   ac_cv_prog_cc_g=no
2410
   CFLAGS="-g"
2522
   CFLAGS="-g"
...
...
2427
if { (ac_try="$ac_compile"
2539
if { (ac_try="$ac_compile"
2428
case "(($ac_try" in
2540
case "(($ac_try" in
2429
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430
  *) ac_try_echo=$ac_try;;
2542
  *) ac_try_echo=$ac_try;;
2431
esac
2543
esac
2432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2544
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2545
$as_echo "$ac_try_echo") >&5
2433
  (eval "$ac_compile") 2>conftest.er1
2546
  (eval "$ac_compile") 2>conftest.er1
2434
  ac_status=$?
2547
  ac_status=$?
2435
  grep -v '^ *+' conftest.er1 >conftest.err
2548
  grep -v '^ *+' conftest.er1 >conftest.err
2436
  rm -f conftest.er1
2549
  rm -f conftest.er1
2437
  cat conftest.err >&5
2550
  cat conftest.err >&5
2438
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439
  (exit $ac_status); } && {
2552
  (exit $ac_status); } && {
2440
     test -z "$ac_c_werror_flag" ||
2553
     test -z "$ac_c_werror_flag" ||
2441
     test ! -s conftest.err
2554
     test ! -s conftest.err
2442
       } && test -s conftest.$ac_objext; then
2555
       } && test -s conftest.$ac_objext; then
2443
  ac_cv_prog_cc_g=yes
2556
  ac_cv_prog_cc_g=yes
2444
else
2557
else
2445
  echo "$as_me: failed program was:" >&5
2558
  $as_echo "$as_me: failed program was:" >&5
2446
sed 's/^/| /' conftest.$ac_ext >&5
2559
sed 's/^/| /' conftest.$ac_ext >&5
2447
2560
2448
    CFLAGS=""
2561
    CFLAGS=""
2449
      cat >conftest.$ac_ext <<_ACEOF
2562
      cat >conftest.$ac_ext <<_ACEOF
2450
/* confdefs.h.  */
2563
/* confdefs.h.  */
...
...
2465
if { (ac_try="$ac_compile"
2578
if { (ac_try="$ac_compile"
2466
case "(($ac_try" in
2579
case "(($ac_try" in
2467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468
  *) ac_try_echo=$ac_try;;
2581
  *) ac_try_echo=$ac_try;;
2469
esac
2582
esac
2470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2584
$as_echo "$ac_try_echo") >&5
2471
  (eval "$ac_compile") 2>conftest.er1
2585
  (eval "$ac_compile") 2>conftest.er1
2472
  ac_status=$?
2586
  ac_status=$?
2473
  grep -v '^ *+' conftest.er1 >conftest.err
2587
  grep -v '^ *+' conftest.er1 >conftest.err
2474
  rm -f conftest.er1
2588
  rm -f conftest.er1
2475
  cat conftest.err >&5
2589
  cat conftest.err >&5
2476
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477
  (exit $ac_status); } && {
2591
  (exit $ac_status); } && {
2478
     test -z "$ac_c_werror_flag" ||
2592
     test -z "$ac_c_werror_flag" ||
2479
     test ! -s conftest.err
2593
     test ! -s conftest.err
2480
       } && test -s conftest.$ac_objext; then
2594
       } && test -s conftest.$ac_objext; then
2481
  :
2595
  :
2482
else
2596
else
2483
  echo "$as_me: failed program was:" >&5
2597
  $as_echo "$as_me: failed program was:" >&5
2484
sed 's/^/| /' conftest.$ac_ext >&5
2598
sed 's/^/| /' conftest.$ac_ext >&5
2485
2599
2486
    ac_c_werror_flag=$ac_save_c_werror_flag
2600
    ac_c_werror_flag=$ac_save_c_werror_flag
2487
     CFLAGS="-g"
2601
     CFLAGS="-g"
2488
     cat >conftest.$ac_ext <<_ACEOF
2602
     cat >conftest.$ac_ext <<_ACEOF
...
...
2504
if { (ac_try="$ac_compile"
2618
if { (ac_try="$ac_compile"
2505
case "(($ac_try" in
2619
case "(($ac_try" in
2506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507
  *) ac_try_echo=$ac_try;;
2621
  *) ac_try_echo=$ac_try;;
2508
esac
2622
esac
2509
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2623
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2624
$as_echo "$ac_try_echo") >&5
2510
  (eval "$ac_compile") 2>conftest.er1
2625
  (eval "$ac_compile") 2>conftest.er1
2511
  ac_status=$?
2626
  ac_status=$?
2512
  grep -v '^ *+' conftest.er1 >conftest.err
2627
  grep -v '^ *+' conftest.er1 >conftest.err
2513
  rm -f conftest.er1
2628
  rm -f conftest.er1
2514
  cat conftest.err >&5
2629
  cat conftest.err >&5
2515
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516
  (exit $ac_status); } && {
2631
  (exit $ac_status); } && {
2517
     test -z "$ac_c_werror_flag" ||
2632
     test -z "$ac_c_werror_flag" ||
2518
     test ! -s conftest.err
2633
     test ! -s conftest.err
2519
       } && test -s conftest.$ac_objext; then
2634
       } && test -s conftest.$ac_objext; then
2520
  ac_cv_prog_cc_g=yes
2635
  ac_cv_prog_cc_g=yes
2521
else
2636
else
2522
  echo "$as_me: failed program was:" >&5
2637
  $as_echo "$as_me: failed program was:" >&5
2523
sed 's/^/| /' conftest.$ac_ext >&5
2638
sed 's/^/| /' conftest.$ac_ext >&5
2524
2639
2525
2640
2526
fi
2641
fi
2527
2642
...
...
2532
fi
2647
fi
2533
2648
2534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2649
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2535
   ac_c_werror_flag=$ac_save_c_werror_flag
2650
   ac_c_werror_flag=$ac_save_c_werror_flag
2536
fi
2651
fi
2537
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2652
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2538
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2653
$as_echo "$ac_cv_prog_cc_g" >&6; }
2539
if test "$ac_test_CFLAGS" = set; then
2654
if test "$ac_test_CFLAGS" = set; then
2540
  CFLAGS=$ac_save_CFLAGS
2655
  CFLAGS=$ac_save_CFLAGS
2541
elif test $ac_cv_prog_cc_g = yes; then
2656
elif test $ac_cv_prog_cc_g = yes; then
2542
  if test "$GCC" = yes; then
2657
  if test "$GCC" = yes; then
2543
    CFLAGS="-g -O2"
2658
    CFLAGS="-g -O2"
...
...
2549
    CFLAGS="-O2"
2664
    CFLAGS="-O2"
2550
  else
2665
  else
2551
    CFLAGS=
2666
    CFLAGS=
2552
  fi
2667
  fi
2553
fi
2668
fi
2554
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2669
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2555
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2670
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2556
if test "${ac_cv_prog_cc_c89+set}" = set; then
2671
if test "${ac_cv_prog_cc_c89+set}" = set; then
2557
  echo $ECHO_N "(cached) $ECHO_C" >&6
2672
  $as_echo_n "(cached) " >&6
2558
else
2673
else
2559
  ac_cv_prog_cc_c89=no
2674
  ac_cv_prog_cc_c89=no
2560
ac_save_CC=$CC
2675
ac_save_CC=$CC
2561
cat >conftest.$ac_ext <<_ACEOF
2676
cat >conftest.$ac_ext <<_ACEOF
2562
/* confdefs.h.  */
2677
/* confdefs.h.  */
...
...
2623
if { (ac_try="$ac_compile"
2738
if { (ac_try="$ac_compile"
2624
case "(($ac_try" in
2739
case "(($ac_try" in
2625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626
  *) ac_try_echo=$ac_try;;
2741
  *) ac_try_echo=$ac_try;;
2627
esac
2742
esac
2628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2744
$as_echo "$ac_try_echo") >&5
2629
  (eval "$ac_compile") 2>conftest.er1
2745
  (eval "$ac_compile") 2>conftest.er1
2630
  ac_status=$?
2746
  ac_status=$?
2631
  grep -v '^ *+' conftest.er1 >conftest.err
2747
  grep -v '^ *+' conftest.er1 >conftest.err
2632
  rm -f conftest.er1
2748
  rm -f conftest.er1
2633
  cat conftest.err >&5
2749
  cat conftest.err >&5
2634
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635
  (exit $ac_status); } && {
2751
  (exit $ac_status); } && {
2636
     test -z "$ac_c_werror_flag" ||
2752
     test -z "$ac_c_werror_flag" ||
2637
     test ! -s conftest.err
2753
     test ! -s conftest.err
2638
       } && test -s conftest.$ac_objext; then
2754
       } && test -s conftest.$ac_objext; then
2639
  ac_cv_prog_cc_c89=$ac_arg
2755
  ac_cv_prog_cc_c89=$ac_arg
2640
else
2756
else
2641
  echo "$as_me: failed program was:" >&5
2757
  $as_echo "$as_me: failed program was:" >&5
2642
sed 's/^/| /' conftest.$ac_ext >&5
2758
sed 's/^/| /' conftest.$ac_ext >&5
2643
2759
2644
2760
2645
fi
2761
fi
2646
2762
...
...
2652
2768
2653
fi
2769
fi
2654
# AC_CACHE_VAL
2770
# AC_CACHE_VAL
2655
case "x$ac_cv_prog_cc_c89" in
2771
case "x$ac_cv_prog_cc_c89" in
2656
  x)
2772
  x)
2657
    { echo "$as_me:$LINENO: result: none needed" >&5
2773
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
2658
echo "${ECHO_T}none needed" >&6; } ;;
2774
$as_echo "none needed" >&6; } ;;
2659
  xno)
2775
  xno)
2660
    { echo "$as_me:$LINENO: result: unsupported" >&5
2776
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2661
echo "${ECHO_T}unsupported" >&6; } ;;
2777
$as_echo "unsupported" >&6; } ;;
2662
  *)
2778
  *)
2663
    CC="$CC $ac_cv_prog_cc_c89"
2779
    CC="$CC $ac_cv_prog_cc_c89"
2664
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2780
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2665
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2781
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2666
esac
2782
esac
2667
2783
2668
2784
2669
ac_ext=c
2785
ac_ext=c
2670
ac_cpp='$CPP $CPPFLAGS'
2786
ac_cpp='$CPP $CPPFLAGS'
...
...
2676
ac_ext=c
2792
ac_ext=c
2677
ac_cpp='$CPP $CPPFLAGS'
2793
ac_cpp='$CPP $CPPFLAGS'
2678
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2794
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2679
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2795
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2680
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2796
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2681
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2797
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2682
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2798
$as_echo_n "checking how to run the C preprocessor... " >&6; }
2683
# On Suns, sometimes $CPP names a directory.
2799
# On Suns, sometimes $CPP names a directory.
2684
if test -n "$CPP" && test -d "$CPP"; then
2800
if test -n "$CPP" && test -d "$CPP"; then
2685
  CPP=
2801
  CPP=
2686
fi
2802
fi
2687
if test -z "$CPP"; then
2803
if test -z "$CPP"; then
2688
  if test "${ac_cv_prog_CPP+set}" = set; then
2804
  if test "${ac_cv_prog_CPP+set}" = set; then
2689
  echo $ECHO_N "(cached) $ECHO_C" >&6
2805
  $as_echo_n "(cached) " >&6
2690
else
2806
else
2691
      # Double quotes because CPP needs to be expanded
2807
      # Double quotes because CPP needs to be expanded
2692
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2808
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2693
    do
2809
    do
2694
      ac_preproc_ok=false
2810
      ac_preproc_ok=false
...
...
2716
if { (ac_try="$ac_cpp conftest.$ac_ext"
2832
if { (ac_try="$ac_cpp conftest.$ac_ext"
2717
case "(($ac_try" in
2833
case "(($ac_try" in
2718
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719
  *) ac_try_echo=$ac_try;;
2835
  *) ac_try_echo=$ac_try;;
2720
esac
2836
esac
2721
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2838
$as_echo "$ac_try_echo") >&5
2722
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2839
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2723
  ac_status=$?
2840
  ac_status=$?
2724
  grep -v '^ *+' conftest.er1 >conftest.err
2841
  grep -v '^ *+' conftest.er1 >conftest.err
2725
  rm -f conftest.er1
2842
  rm -f conftest.er1
2726
  cat conftest.err >&5
2843
  cat conftest.err >&5
2727
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728
  (exit $ac_status); } >/dev/null && {
2845
  (exit $ac_status); } >/dev/null && {
2729
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2846
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2730
     test ! -s conftest.err
2847
     test ! -s conftest.err
2731
       }; then
2848
       }; then
2732
  :
2849
  :
2733
else
2850
else
2734
  echo "$as_me: failed program was:" >&5
2851
  $as_echo "$as_me: failed program was:" >&5
2735
sed 's/^/| /' conftest.$ac_ext >&5
2852
sed 's/^/| /' conftest.$ac_ext >&5
2736
2853
2737
  # Broken: fails on valid input.
2854
  # Broken: fails on valid input.
2738
continue
2855
continue
2739
fi
2856
fi
...
...
2753
if { (ac_try="$ac_cpp conftest.$ac_ext"
2870
if { (ac_try="$ac_cpp conftest.$ac_ext"
2754
case "(($ac_try" in
2871
case "(($ac_try" in
2755
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756
  *) ac_try_echo=$ac_try;;
2873
  *) ac_try_echo=$ac_try;;
2757
esac
2874
esac
2758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2876
$as_echo "$ac_try_echo") >&5
2759
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2877
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2760
  ac_status=$?
2878
  ac_status=$?
2761
  grep -v '^ *+' conftest.er1 >conftest.err
2879
  grep -v '^ *+' conftest.er1 >conftest.err
2762
  rm -f conftest.er1
2880
  rm -f conftest.er1
2763
  cat conftest.err >&5
2881
  cat conftest.err >&5
2764
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
  (exit $ac_status); } >/dev/null && {
2883
  (exit $ac_status); } >/dev/null && {
2766
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2884
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2767
     test ! -s conftest.err
2885
     test ! -s conftest.err
2768
       }; then
2886
       }; then
2769
  # Broken: success on invalid input.
2887
  # Broken: success on invalid input.
2770
continue
2888
continue
2771
else
2889
else
2772
  echo "$as_me: failed program was:" >&5
2890
  $as_echo "$as_me: failed program was:" >&5
2773
sed 's/^/| /' conftest.$ac_ext >&5
2891
sed 's/^/| /' conftest.$ac_ext >&5
2774
2892
2775
  # Passes both tests.
2893
  # Passes both tests.
2776
ac_preproc_ok=:
2894
ac_preproc_ok=:
2777
break
2895
break
...
...
2792
fi
2910
fi
2793
  CPP=$ac_cv_prog_CPP
2911
  CPP=$ac_cv_prog_CPP
2794
else
2912
else
2795
  ac_cv_prog_CPP=$CPP
2913
  ac_cv_prog_CPP=$CPP
2796
fi
2914
fi
2797
{ echo "$as_me:$LINENO: result: $CPP" >&5
2915
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
2798
echo "${ECHO_T}$CPP" >&6; }
2916
$as_echo "$CPP" >&6; }
2799
ac_preproc_ok=false
2917
ac_preproc_ok=false
2800
for ac_c_preproc_warn_flag in '' yes
2918
for ac_c_preproc_warn_flag in '' yes
2801
do
2919
do
2802
  # Use a header file that comes with gcc, so configuring glibc
2920
  # Use a header file that comes with gcc, so configuring glibc
2803
  # with a fresh cross-compiler works.
2921
  # with a fresh cross-compiler works.
...
...
2821
if { (ac_try="$ac_cpp conftest.$ac_ext"
2939
if { (ac_try="$ac_cpp conftest.$ac_ext"
2822
case "(($ac_try" in
2940
case "(($ac_try" in
2823
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824
  *) ac_try_echo=$ac_try;;
2942
  *) ac_try_echo=$ac_try;;
2825
esac
2943
esac
2826
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2945
$as_echo "$ac_try_echo") >&5
2827
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2946
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2828
  ac_status=$?
2947
  ac_status=$?
2829
  grep -v '^ *+' conftest.er1 >conftest.err
2948
  grep -v '^ *+' conftest.er1 >conftest.err
2830
  rm -f conftest.er1
2949
  rm -f conftest.er1
2831
  cat conftest.err >&5
2950
  cat conftest.err >&5
2832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833
  (exit $ac_status); } >/dev/null && {
2952
  (exit $ac_status); } >/dev/null && {
2834
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2953
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2835
     test ! -s conftest.err
2954
     test ! -s conftest.err
2836
       }; then
2955
       }; then
2837
  :
2956
  :
2838
else
2957
else
2839
  echo "$as_me: failed program was:" >&5
2958
  $as_echo "$as_me: failed program was:" >&5
2840
sed 's/^/| /' conftest.$ac_ext >&5
2959
sed 's/^/| /' conftest.$ac_ext >&5
2841
2960
2842
  # Broken: fails on valid input.
2961
  # Broken: fails on valid input.
2843
continue
2962
continue
2844
fi
2963
fi
...
...
2858
if { (ac_try="$ac_cpp conftest.$ac_ext"
2977
if { (ac_try="$ac_cpp conftest.$ac_ext"
2859
case "(($ac_try" in
2978
case "(($ac_try" in
2860
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861
  *) ac_try_echo=$ac_try;;
2980
  *) ac_try_echo=$ac_try;;
2862
esac
2981
esac
2863
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2983
$as_echo "$ac_try_echo") >&5
2864
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2984
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2865
  ac_status=$?
2985
  ac_status=$?
2866
  grep -v '^ *+' conftest.er1 >conftest.err
2986
  grep -v '^ *+' conftest.er1 >conftest.err
2867
  rm -f conftest.er1
2987
  rm -f conftest.er1
2868
  cat conftest.err >&5
2988
  cat conftest.err >&5
2869
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870
  (exit $ac_status); } >/dev/null && {
2990
  (exit $ac_status); } >/dev/null && {
2871
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2991
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2872
     test ! -s conftest.err
2992
     test ! -s conftest.err
2873
       }; then
2993
       }; then
2874
  # Broken: success on invalid input.
2994
  # Broken: success on invalid input.
2875
continue
2995
continue
2876
else
2996
else
2877
  echo "$as_me: failed program was:" >&5
2997
  $as_echo "$as_me: failed program was:" >&5
2878
sed 's/^/| /' conftest.$ac_ext >&5
2998
sed 's/^/| /' conftest.$ac_ext >&5
2879
2999
2880
  # Passes both tests.
3000
  # Passes both tests.
2881
ac_preproc_ok=:
3001
ac_preproc_ok=:
2882
break
3002
break
...
...
2888
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3008
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2889
rm -f conftest.err conftest.$ac_ext
3009
rm -f conftest.err conftest.$ac_ext
2890
if $ac_preproc_ok; then
3010
if $ac_preproc_ok; then
2891
  :
3011
  :
2892
else
3012
else
3013
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3014
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2893
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3015
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2894
See \`config.log' for more details." >&5
3016
See \`config.log' for more details." >&5
2895
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3017
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2896
See \`config.log' for more details." >&2;}
3018
See \`config.log' for more details." >&2;}
2897
   { (exit 1); exit 1; }; }
3019
   { (exit 1); exit 1; }; }; }
2898
fi
3020
fi
2899
3021
2900
ac_ext=c
3022
ac_ext=c
2901
ac_cpp='$CPP $CPPFLAGS'
3023
ac_cpp='$CPP $CPPFLAGS'
2902
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2905
3027
2906
3028
2907
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3029
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2908
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3030
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2909
if test "${ac_cv_path_GREP+set}" = set; then
3031
if test "${ac_cv_path_GREP+set}" = set; then
2910
  echo $ECHO_N "(cached) $ECHO_C" >&6
3032
  $as_echo_n "(cached) " >&6
2911
else
3033
else
2912
  # Extract the first word of "grep ggrep" to use in msg output
2913
if test -z "$GREP"; then
3034
  if test -z "$GREP"; then
2914
set dummy grep ggrep; ac_prog_name=$2
2915
if test "${ac_cv_path_GREP+set}" = set; then
2916
  echo $ECHO_N "(cached) $ECHO_C" >&6
2917
else
2918
  ac_path_GREP_found=false
3035
  ac_path_GREP_found=false
2919
# Loop through the user's path and test for each of PROGNAME-LIST
3036
  # Loop through the user's path and test for each of PROGNAME-LIST
2920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3038
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2922
do
3039
do
2923
  IFS=$as_save_IFS
3040
  IFS=$as_save_IFS
2924
  test -z "$as_dir" && as_dir=.
3041
  test -z "$as_dir" && as_dir=.
2925
  for ac_prog in grep ggrep; do
3042
  for ac_prog in grep ggrep; do
2926
  for ac_exec_ext in '' $ac_executable_extensions; do
3043
    for ac_exec_ext in '' $ac_executable_extensions; do
2927
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3044
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2928
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3045
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2929
    # Check for GNU ac_path_GREP and select it if it is found.
3046
# Check for GNU ac_path_GREP and select it if it is found.
2930
  # Check for GNU $ac_path_GREP
3047
  # Check for GNU $ac_path_GREP
2931
case `"$ac_path_GREP" --version 2>&1` in
3048
case `"$ac_path_GREP" --version 2>&1` in
2932
*GNU*)
3049
*GNU*)
2933
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3050
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2934
*)
3051
*)
2935
  ac_count=0
3052
  ac_count=0
2936
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3053
  $as_echo_n 0123456789 >"conftest.in"
2937
  while :
3054
  while :
2938
  do
3055
  do
2939
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3056
    cat "conftest.in" "conftest.in" >"conftest.tmp"
2940
    mv "conftest.tmp" "conftest.in"
3057
    mv "conftest.tmp" "conftest.in"
2941
    cp "conftest.in" "conftest.nl"
3058
    cp "conftest.in" "conftest.nl"
2942
    echo 'GREP' >> "conftest.nl"
3059
    $as_echo 'GREP' >> "conftest.nl"
2943
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3060
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2944
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3061
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2945
    ac_count=`expr $ac_count + 1`
3062
    ac_count=`expr $ac_count + 1`
2946
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3063
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
2947
      # Best one so far, save it but keep looking for a better one
3064
      # Best one so far, save it but keep looking for a better one
...
...
2952
    test $ac_count -gt 10 && break
3069
    test $ac_count -gt 10 && break
2953
  done
3070
  done
2954
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3071
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2955
esac
3072
esac
2956
3073
2957
2958
    $ac_path_GREP_found && break 3
3074
      $ac_path_GREP_found && break 3
3075
    done
2959
  done
3076
  done
2960
done
3077
done
2961
2962
done
2963
IFS=$as_save_IFS
3078
IFS=$as_save_IFS
2964
2965
2966
fi
2967
2968
GREP="$ac_cv_path_GREP"
2969
if test -z "$GREP"; then
3079
  if test -z "$ac_cv_path_GREP"; then
2970
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3080
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2971
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3081
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2972
   { (exit 1); exit 1; }; }
3082
   { (exit 1); exit 1; }; }
2973
fi
3083
  fi
2974
2975
else
3084
else
2976
  ac_cv_path_GREP=$GREP
3085
  ac_cv_path_GREP=$GREP
2977
fi
3086
fi
2978
3087
2979
2980
fi
3088
fi
2981
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3089
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2982
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3090
$as_echo "$ac_cv_path_GREP" >&6; }
2983
 GREP="$ac_cv_path_GREP"
3091
 GREP="$ac_cv_path_GREP"
2984
3092
2985
3093
2986
{ echo "$as_me:$LINENO: checking for egrep" >&5
3094
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
2987
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3095
$as_echo_n "checking for egrep... " >&6; }
2988
if test "${ac_cv_path_EGREP+set}" = set; then
3096
if test "${ac_cv_path_EGREP+set}" = set; then
2989
  echo $ECHO_N "(cached) $ECHO_C" >&6
3097
  $as_echo_n "(cached) " >&6
2990
else
3098
else
2991
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3099
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2992
   then ac_cv_path_EGREP="$GREP -E"
3100
   then ac_cv_path_EGREP="$GREP -E"
2993
   else
3101
   else
2994
     # Extract the first word of "egrep" to use in msg output
2995
if test -z "$EGREP"; then
3102
     if test -z "$EGREP"; then
2996
set dummy egrep; ac_prog_name=$2
2997
if test "${ac_cv_path_EGREP+set}" = set; then
2998
  echo $ECHO_N "(cached) $ECHO_C" >&6
2999
else
3000
  ac_path_EGREP_found=false
3103
  ac_path_EGREP_found=false
3001
# Loop through the user's path and test for each of PROGNAME-LIST
3104
  # Loop through the user's path and test for each of PROGNAME-LIST
3002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3106
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3004
do
3107
do
3005
  IFS=$as_save_IFS
3108
  IFS=$as_save_IFS
3006
  test -z "$as_dir" && as_dir=.
3109
  test -z "$as_dir" && as_dir=.
3007
  for ac_prog in egrep; do
3110
  for ac_prog in egrep; do
3008
  for ac_exec_ext in '' $ac_executable_extensions; do
3111
    for ac_exec_ext in '' $ac_executable_extensions; do
3009
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3112
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3010
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3113
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3011
    # Check for GNU ac_path_EGREP and select it if it is found.
3114
# Check for GNU ac_path_EGREP and select it if it is found.
3012
  # Check for GNU $ac_path_EGREP
3115
  # Check for GNU $ac_path_EGREP
3013
case `"$ac_path_EGREP" --version 2>&1` in
3116
case `"$ac_path_EGREP" --version 2>&1` in
3014
*GNU*)
3117
*GNU*)
3015
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3118
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3016
*)
3119
*)
3017
  ac_count=0
3120
  ac_count=0
3018
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3121
  $as_echo_n 0123456789 >"conftest.in"
3019
  while :
3122
  while :
3020
  do
3123
  do
3021
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3124
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3022
    mv "conftest.tmp" "conftest.in"
3125
    mv "conftest.tmp" "conftest.in"
3023
    cp "conftest.in" "conftest.nl"
3126
    cp "conftest.in" "conftest.nl"
3024
    echo 'EGREP' >> "conftest.nl"
3127
    $as_echo 'EGREP' >> "conftest.nl"
3025
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3128
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3026
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3129
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3027
    ac_count=`expr $ac_count + 1`
3130
    ac_count=`expr $ac_count + 1`
3028
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3131
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3029
      # Best one so far, save it but keep looking for a better one
3132
      # Best one so far, save it but keep looking for a better one
...
...
3034
    test $ac_count -gt 10 && break
3137
    test $ac_count -gt 10 && break
3035
  done
3138
  done
3036
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3139
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3037
esac
3140
esac
3038
3141
3039
3040
    $ac_path_EGREP_found && break 3
3142
      $ac_path_EGREP_found && break 3
3143
    done
3041
  done
3144
  done
3042
done
3145
done
3043
3044
done
3045
IFS=$as_save_IFS
3146
IFS=$as_save_IFS
3046
3047
3048
fi
3049
3050
EGREP="$ac_cv_path_EGREP"
3051
if test -z "$EGREP"; then
3147
  if test -z "$ac_cv_path_EGREP"; then
3052
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3148
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3053
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3149
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3054
   { (exit 1); exit 1; }; }
3150
   { (exit 1); exit 1; }; }
3055
fi
3151
  fi
3056
3057
else
3152
else
3058
  ac_cv_path_EGREP=$EGREP
3153
  ac_cv_path_EGREP=$EGREP
3059
fi
3154
fi
3060
3155
3061
3062
   fi
3156
   fi
3063
fi
3157
fi
3064
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3158
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3065
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3159
$as_echo "$ac_cv_path_EGREP" >&6; }
3066
 EGREP="$ac_cv_path_EGREP"
3160
 EGREP="$ac_cv_path_EGREP"
3067
3161
3068
3162
3069
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3163
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3070
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3164
$as_echo_n "checking for ANSI C header files... " >&6; }
3071
if test "${ac_cv_header_stdc+set}" = set; then
3165
if test "${ac_cv_header_stdc+set}" = set; then
3072
  echo $ECHO_N "(cached) $ECHO_C" >&6
3166
  $as_echo_n "(cached) " >&6
3073
else
3167
else
3074
  cat >conftest.$ac_ext <<_ACEOF
3168
  cat >conftest.$ac_ext <<_ACEOF
3075
/* confdefs.h.  */
3169
/* confdefs.h.  */
3076
_ACEOF
3170
_ACEOF
3077
cat confdefs.h >>conftest.$ac_ext
3171
cat confdefs.h >>conftest.$ac_ext
...
...
3094
if { (ac_try="$ac_compile"
3188
if { (ac_try="$ac_compile"
3095
case "(($ac_try" in
3189
case "(($ac_try" in
3096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097
  *) ac_try_echo=$ac_try;;
3191
  *) ac_try_echo=$ac_try;;
3098
esac
3192
esac
3099
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3193
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3194
$as_echo "$ac_try_echo") >&5
3100
  (eval "$ac_compile") 2>conftest.er1
3195
  (eval "$ac_compile") 2>conftest.er1
3101
  ac_status=$?
3196
  ac_status=$?
3102
  grep -v '^ *+' conftest.er1 >conftest.err
3197
  grep -v '^ *+' conftest.er1 >conftest.err
3103
  rm -f conftest.er1
3198
  rm -f conftest.er1
3104
  cat conftest.err >&5
3199
  cat conftest.err >&5
3105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106
  (exit $ac_status); } && {
3201
  (exit $ac_status); } && {
3107
     test -z "$ac_c_werror_flag" ||
3202
     test -z "$ac_c_werror_flag" ||
3108
     test ! -s conftest.err
3203
     test ! -s conftest.err
3109
       } && test -s conftest.$ac_objext; then
3204
       } && test -s conftest.$ac_objext; then
3110
  ac_cv_header_stdc=yes
3205
  ac_cv_header_stdc=yes
3111
else
3206
else
3112
  echo "$as_me: failed program was:" >&5
3207
  $as_echo "$as_me: failed program was:" >&5
3113
sed 's/^/| /' conftest.$ac_ext >&5
3208
sed 's/^/| /' conftest.$ac_ext >&5
3114
3209
3115
    ac_cv_header_stdc=no
3210
    ac_cv_header_stdc=no
3116
fi
3211
fi
3117
3212
...
...
3199
if { (ac_try="$ac_link"
3294
if { (ac_try="$ac_link"
3200
case "(($ac_try" in
3295
case "(($ac_try" in
3201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202
  *) ac_try_echo=$ac_try;;
3297
  *) ac_try_echo=$ac_try;;
3203
esac
3298
esac
3204
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3299
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3300
$as_echo "$ac_try_echo") >&5
3205
  (eval "$ac_link") 2>&5
3301
  (eval "$ac_link") 2>&5
3206
  ac_status=$?
3302
  ac_status=$?
3207
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3304
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3209
  { (case "(($ac_try" in
3305
  { (case "(($ac_try" in
3210
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211
  *) ac_try_echo=$ac_try;;
3307
  *) ac_try_echo=$ac_try;;
3212
esac
3308
esac
3213
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3309
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3310
$as_echo "$ac_try_echo") >&5
3214
  (eval "$ac_try") 2>&5
3311
  (eval "$ac_try") 2>&5
3215
  ac_status=$?
3312
  ac_status=$?
3216
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217
  (exit $ac_status); }; }; then
3314
  (exit $ac_status); }; }; then
3218
  :
3315
  :
3219
else
3316
else
3220
  echo "$as_me: program exited with status $ac_status" >&5
3317
  $as_echo "$as_me: program exited with status $ac_status" >&5
3221
echo "$as_me: failed program was:" >&5
3318
$as_echo "$as_me: failed program was:" >&5
3222
sed 's/^/| /' conftest.$ac_ext >&5
3319
sed 's/^/| /' conftest.$ac_ext >&5
3223
3320
3224
( exit $ac_status )
3321
( exit $ac_status )
3225
ac_cv_header_stdc=no
3322
ac_cv_header_stdc=no
3226
fi
3323
fi
3324
rm -rf conftest.dSYM
3227
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3325
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3228
fi
3326
fi
3229
3327
3230
3328
3231
fi
3329
fi
3232
fi
3330
fi
3233
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3331
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3234
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3332
$as_echo "$ac_cv_header_stdc" >&6; }
3235
if test $ac_cv_header_stdc = yes; then
3333
if test $ac_cv_header_stdc = yes; then
3236
3334
3237
cat >>confdefs.h <<\_ACEOF
3335
cat >>confdefs.h <<\_ACEOF
3238
#define STDC_HEADERS 1
3336
#define STDC_HEADERS 1
3239
_ACEOF
3337
_ACEOF
...
...
3251
3349
3252
3350
3253
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3351
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3254
          inttypes.h stdint.h unistd.h
3352
          inttypes.h stdint.h unistd.h
3255
do
3353
do
3256
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3354
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3257
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3355
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3258
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3356
$as_echo_n "checking for $ac_header... " >&6; }
3259
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3357
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3260
  echo $ECHO_N "(cached) $ECHO_C" >&6
3358
  $as_echo_n "(cached) " >&6
3261
else
3359
else
3262
  cat >conftest.$ac_ext <<_ACEOF
3360
  cat >conftest.$ac_ext <<_ACEOF
3263
/* confdefs.h.  */
3361
/* confdefs.h.  */
3264
_ACEOF
3362
_ACEOF
3265
cat confdefs.h >>conftest.$ac_ext
3363
cat confdefs.h >>conftest.$ac_ext
...
...
3273
if { (ac_try="$ac_compile"
3371
if { (ac_try="$ac_compile"
3274
case "(($ac_try" in
3372
case "(($ac_try" in
3275
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276
  *) ac_try_echo=$ac_try;;
3374
  *) ac_try_echo=$ac_try;;
3277
esac
3375
esac
3278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3376
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3377
$as_echo "$ac_try_echo") >&5
3279
  (eval "$ac_compile") 2>conftest.er1
3378
  (eval "$ac_compile") 2>conftest.er1
3280
  ac_status=$?
3379
  ac_status=$?
3281
  grep -v '^ *+' conftest.er1 >conftest.err
3380
  grep -v '^ *+' conftest.er1 >conftest.err
3282
  rm -f conftest.er1
3381
  rm -f conftest.er1
3283
  cat conftest.err >&5
3382
  cat conftest.err >&5
3284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285
  (exit $ac_status); } && {
3384
  (exit $ac_status); } && {
3286
     test -z "$ac_c_werror_flag" ||
3385
     test -z "$ac_c_werror_flag" ||
3287
     test ! -s conftest.err
3386
     test ! -s conftest.err
3288
       } && test -s conftest.$ac_objext; then
3387
       } && test -s conftest.$ac_objext; then
3289
  eval "$as_ac_Header=yes"
3388
  eval "$as_ac_Header=yes"
3290
else
3389
else
3291
  echo "$as_me: failed program was:" >&5
3390
  $as_echo "$as_me: failed program was:" >&5
3292
sed 's/^/| /' conftest.$ac_ext >&5
3391
sed 's/^/| /' conftest.$ac_ext >&5
3293
3392
3294
    eval "$as_ac_Header=no"
3393
    eval "$as_ac_Header=no"
3295
fi
3394
fi
3296
3395
3297
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298
fi
3397
fi
3299
ac_res=`eval echo '${'$as_ac_Header'}'`
3398
ac_res=`eval 'as_val=${'$as_ac_Header'}
3399
       $as_echo "$as_val"'`
3300
           { echo "$as_me:$LINENO: result: $ac_res" >&5
3400
           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3301
echo "${ECHO_T}$ac_res" >&6; }
3401
$as_echo "$ac_res" >&6; }
3302
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3402
as_val=`eval 'as_val=${'$as_ac_Header'}
3403
       $as_echo "$as_val"'`
3404
   if test "x$as_val" = x""yes; then
3303
  cat >>confdefs.h <<_ACEOF
3405
  cat >>confdefs.h <<_ACEOF
3304
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3406
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3305
_ACEOF
3407
_ACEOF
3306
3408
3307
fi
3409
fi
3308
3410
3309
done
3411
done
...
...
3313
3415
3314
3416
3315
3417
3316
for ac_header in sys/mount.h sys/statfs.h sys/statvfs.h sys/vfs.h
3418
for ac_header in sys/mount.h sys/statfs.h sys/statvfs.h sys/vfs.h
3317
do
3419
do
3318
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3420
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3319
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3421
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3320
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
3422
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3321
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3423
$as_echo_n "checking for $ac_header... " >&6; }
3322
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3424
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3323
  echo $ECHO_N "(cached) $ECHO_C" >&6
3425
  $as_echo_n "(cached) " >&6
3324
fi
3426
fi
3325
ac_res=`eval echo '${'$as_ac_Header'}'`
3427
ac_res=`eval 'as_val=${'$as_ac_Header'}
3428
       $as_echo "$as_val"'`
3326
           { echo "$as_me:$LINENO: result: $ac_res" >&5
3429
           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3327
echo "${ECHO_T}$ac_res" >&6; }
3430
$as_echo "$ac_res" >&6; }
3328
else
3431
else
3329
  # Is the header compilable?
3432
  # Is the header compilable?
3330
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3433
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
3331
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3434
$as_echo_n "checking $ac_header usability... " >&6; }
3332
cat >conftest.$ac_ext <<_ACEOF
3435
cat >conftest.$ac_ext <<_ACEOF
3333
/* confdefs.h.  */
3436
/* confdefs.h.  */
3334
_ACEOF
3437
_ACEOF
3335
cat confdefs.h >>conftest.$ac_ext
3438
cat confdefs.h >>conftest.$ac_ext
3336
cat >>conftest.$ac_ext <<_ACEOF
3439
cat >>conftest.$ac_ext <<_ACEOF
...
...
3342
if { (ac_try="$ac_compile"
3445
if { (ac_try="$ac_compile"
3343
case "(($ac_try" in
3446
case "(($ac_try" in
3344
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345
  *) ac_try_echo=$ac_try;;
3448
  *) ac_try_echo=$ac_try;;
3346
esac
3449
esac
3347
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3450
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3451
$as_echo "$ac_try_echo") >&5
3348
  (eval "$ac_compile") 2>conftest.er1
3452
  (eval "$ac_compile") 2>conftest.er1
3349
  ac_status=$?
3453
  ac_status=$?
3350
  grep -v '^ *+' conftest.er1 >conftest.err
3454
  grep -v '^ *+' conftest.er1 >conftest.err
3351
  rm -f conftest.er1
3455
  rm -f conftest.er1
3352
  cat conftest.err >&5
3456
  cat conftest.err >&5
3353
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354
  (exit $ac_status); } && {
3458
  (exit $ac_status); } && {
3355
     test -z "$ac_c_werror_flag" ||
3459
     test -z "$ac_c_werror_flag" ||
3356
     test ! -s conftest.err
3460
     test ! -s conftest.err
3357
       } && test -s conftest.$ac_objext; then
3461
       } && test -s conftest.$ac_objext; then
3358
  ac_header_compiler=yes
3462
  ac_header_compiler=yes
3359
else
3463
else
3360
  echo "$as_me: failed program was:" >&5
3464
  $as_echo "$as_me: failed program was:" >&5
3361
sed 's/^/| /' conftest.$ac_ext >&5
3465
sed 's/^/| /' conftest.$ac_ext >&5
3362
3466
3363
    ac_header_compiler=no
3467
    ac_header_compiler=no
3364
fi
3468
fi
3365
3469
3366
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3470
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3471
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3368
echo "${ECHO_T}$ac_header_compiler" >&6; }
3472
$as_echo "$ac_header_compiler" >&6; }
3369
3473
3370
# Is the header present?
3474
# Is the header present?
3371
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3475
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
3372
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3476
$as_echo_n "checking $ac_header presence... " >&6; }
3373
cat >conftest.$ac_ext <<_ACEOF
3477
cat >conftest.$ac_ext <<_ACEOF
3374
/* confdefs.h.  */
3478
/* confdefs.h.  */
3375
_ACEOF
3479
_ACEOF
3376
cat confdefs.h >>conftest.$ac_ext
3480
cat confdefs.h >>conftest.$ac_ext
3377
cat >>conftest.$ac_ext <<_ACEOF
3481
cat >>conftest.$ac_ext <<_ACEOF
...
...
3381
if { (ac_try="$ac_cpp conftest.$ac_ext"
3485
if { (ac_try="$ac_cpp conftest.$ac_ext"
3382
case "(($ac_try" in
3486
case "(($ac_try" in
3383
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384
  *) ac_try_echo=$ac_try;;
3488
  *) ac_try_echo=$ac_try;;
3385
esac
3489
esac
3386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3491
$as_echo "$ac_try_echo") >&5
3387
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3492
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3388
  ac_status=$?
3493
  ac_status=$?
3389
  grep -v '^ *+' conftest.er1 >conftest.err
3494
  grep -v '^ *+' conftest.er1 >conftest.err
3390
  rm -f conftest.er1
3495
  rm -f conftest.er1
3391
  cat conftest.err >&5
3496
  cat conftest.err >&5
3392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393
  (exit $ac_status); } >/dev/null && {
3498
  (exit $ac_status); } >/dev/null && {
3394
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3499
     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3395
     test ! -s conftest.err
3500
     test ! -s conftest.err
3396
       }; then
3501
       }; then
3397
  ac_header_preproc=yes
3502
  ac_header_preproc=yes
3398
else
3503
else
3399
  echo "$as_me: failed program was:" >&5
3504
  $as_echo "$as_me: failed program was:" >&5
3400
sed 's/^/| /' conftest.$ac_ext >&5
3505
sed 's/^/| /' conftest.$ac_ext >&5
3401
3506
3402
  ac_header_preproc=no
3507
  ac_header_preproc=no
3403
fi
3508
fi
3404
3509
3405
rm -f conftest.err conftest.$ac_ext
3510
rm -f conftest.err conftest.$ac_ext
3406
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3511
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3407
echo "${ECHO_T}$ac_header_preproc" >&6; }
3512
$as_echo "$ac_header_preproc" >&6; }
3408
3513
3409
# So?  What about this header?
3514
# So?  What about this header?
3410
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3515
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3411
  yes:no: )
3516
  yes:no: )
3412
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3517
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3413
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3518
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3414
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3519
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3415
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3520
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3416
    ac_header_preproc=yes
3521
    ac_header_preproc=yes
3417
    ;;
3522
    ;;
3418
  no:yes:* )
3523
  no:yes:* )
3419
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3524
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3420
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3525
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3421
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3526
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3422
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3527
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3423
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3528
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3424
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3529
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3425
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3530
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3426
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3531
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3427
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3532
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3428
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3533
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3429
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3534
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3430
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3535
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3431
3536
3432
    ;;
3537
    ;;
3433
esac
3538
esac
3434
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3539
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3435
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3540
$as_echo_n "checking for $ac_header... " >&6; }
3436
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3541
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3437
  echo $ECHO_N "(cached) $ECHO_C" >&6
3542
  $as_echo_n "(cached) " >&6
3438
else
3543
else
3439
  eval "$as_ac_Header=\$ac_header_preproc"
3544
  eval "$as_ac_Header=\$ac_header_preproc"
3440
fi
3545
fi
3441
ac_res=`eval echo '${'$as_ac_Header'}'`
3546
ac_res=`eval 'as_val=${'$as_ac_Header'}
3547
       $as_echo "$as_val"'`
3442
           { echo "$as_me:$LINENO: result: $ac_res" >&5
3548
           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3443
echo "${ECHO_T}$ac_res" >&6; }
3549
$as_echo "$ac_res" >&6; }
3444
3550
3445
fi
3551
fi
3446
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3552
as_val=`eval 'as_val=${'$as_ac_Header'}
3553
       $as_echo "$as_val"'`
3554
   if test "x$as_val" = x""yes; then
3447
  cat >>confdefs.h <<_ACEOF
3555
  cat >>confdefs.h <<_ACEOF
3448
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3556
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3449
_ACEOF
3557
_ACEOF
3450
3558
3451
fi
3559
fi
3452
3560
3453
done
3561
done
3562
3563
3564
# Use specific 'file' command ? (Useful on solaris to specify
3565
# /usr/local/bin/file instead of the system's which doesn't understand '-i'
3566
3567
# Check whether --with-file-command was given.
3568
if test "${with_file_command+set}" = set; then
3569
  withval=$with_file_command; withFileCommand=$withval
3570
else
3571
  withFileCommand=file
3572
fi
3573
3574
case $withFileCommand in
3575
  file)
3576
    # Extract the first word of "file", so it can be a program name with args.
3577
set dummy file; ac_word=$2
3578
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3579
$as_echo_n "checking for $ac_word... " >&6; }
3580
if test "${ac_cv_path_fileProg+set}" = set; then
3581
  $as_echo_n "(cached) " >&6
3582
else
3583
  case $fileProg in
3584
  [\\/]* | ?:[\\/]*)
3585
  ac_cv_path_fileProg="$fileProg" # Let the user override the test with a path.
3586
  ;;
3587
  *)
3588
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3589
for as_dir in $PATH
3590
do
3591
  IFS=$as_save_IFS
3592
  test -z "$as_dir" && as_dir=.
3593
  for ac_exec_ext in '' $ac_executable_extensions; do
3594
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3595
    ac_cv_path_fileProg="$as_dir/$ac_word$ac_exec_ext"
3596
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3597
    break 2
3598
  fi
3599
done
3600
done
3601
IFS=$as_save_IFS
3602
3603
  ;;
3604
esac
3605
fi
3606
fileProg=$ac_cv_path_fileProg
3607
if test -n "$fileProg"; then
3608
  { $as_echo "$as_me:$LINENO: result: $fileProg" >&5
3609
$as_echo "$fileProg" >&6; }
3610
else
3611
  { $as_echo "$as_me:$LINENO: result: no" >&5
3612
$as_echo "no" >&6; }
3613
fi
3614
3615
;;
3616
  *)
3617
    fileProg=$withFileCommand;;
3618
esac
3619
3620
if test ! -x "$fileProg"; then
3621
   { { $as_echo "$as_me:$LINENO: error: $fileProg does not exist or is not executable" >&5
3622
$as_echo "$as_me: error: $fileProg does not exist or is not executable" >&2;}
3623
   { (exit 1); exit 1; }; }
3624
fi
3625
3626
cat >>confdefs.h <<_ACEOF
3627
#define FILE_PROG "$fileProg"
3628
_ACEOF
3629
3630
3631
# Can't use Solaris standard 'file' command, it doesn't support -i
3632
if test X$sys != XSunOS -o X$fileProg != X/usr/bin/file; then
3633
   cat >>confdefs.h <<\_ACEOF
3634
#define USE_SYSTEM_FILE_COMMAND 1
3635
_ACEOF
3636
3637
fi
3454
3638
3455
3639
3456
# Use aspell to provide spelling expansions ?
3640
# Use aspell to provide spelling expansions ?
3457
# The default is yes. If we do find an aspell installation, we use it. Else
3641
# The default is yes. If we do find an aspell installation, we use it. Else
3458
# we do compile the aspell module using an internal copy of aspell.h
3642
# we do compile the aspell module using an internal copy of aspell.h
...
...
3468
case $withAspell in
3652
case $withAspell in
3469
     no);;
3653
     no);;
3470
     yes)
3654
     yes)
3471
     # Extract the first word of "aspell", so it can be a program name with args.
3655
     # Extract the first word of "aspell", so it can be a program name with args.
3472
set dummy aspell; ac_word=$2
3656
set dummy aspell; ac_word=$2
3473
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3657
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3474
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3658
$as_echo_n "checking for $ac_word... " >&6; }
3475
if test "${ac_cv_path_aspellProg+set}" = set; then
3659
if test "${ac_cv_path_aspellProg+set}" = set; then
3476
  echo $ECHO_N "(cached) $ECHO_C" >&6
3660
  $as_echo_n "(cached) " >&6
3477
else
3661
else
3478
  case $aspellProg in
3662
  case $aspellProg in
3479
  [\\/]* | ?:[\\/]*)
3663
  [\\/]* | ?:[\\/]*)
3480
  ac_cv_path_aspellProg="$aspellProg" # Let the user override the test with a path.
3664
  ac_cv_path_aspellProg="$aspellProg" # Let the user override the test with a path.
3481
  ;;
3665
  ;;
...
...
3486
  IFS=$as_save_IFS
3670
  IFS=$as_save_IFS
3487
  test -z "$as_dir" && as_dir=.
3671
  test -z "$as_dir" && as_dir=.
3488
  for ac_exec_ext in '' $ac_executable_extensions; do
3672
  for ac_exec_ext in '' $ac_executable_extensions; do
3489
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3490
    ac_cv_path_aspellProg="$as_dir/$ac_word$ac_exec_ext"
3674
    ac_cv_path_aspellProg="$as_dir/$ac_word$ac_exec_ext"
3491
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3492
    break 2
3676
    break 2
3493
  fi
3677
  fi
3494
done
3678
done
3495
done
3679
done
3496
IFS=$as_save_IFS
3680
IFS=$as_save_IFS
...
...
3498
  ;;
3682
  ;;
3499
esac
3683
esac
3500
fi
3684
fi
3501
aspellProg=$ac_cv_path_aspellProg
3685
aspellProg=$ac_cv_path_aspellProg
3502
if test -n "$aspellProg"; then
3686
if test -n "$aspellProg"; then
3503
  { echo "$as_me:$LINENO: result: $aspellProg" >&5
3687
  { $as_echo "$as_me:$LINENO: result: $aspellProg" >&5
3504
echo "${ECHO_T}$aspellProg" >&6; }
3688
$as_echo "$aspellProg" >&6; }
3505
else
3689
else
3506
  { echo "$as_me:$LINENO: result: no" >&5
3690
  { $as_echo "$as_me:$LINENO: result: no" >&5
3507
echo "${ECHO_T}no" >&6; }
3691
$as_echo "no" >&6; }
3508
fi
3692
fi
3509
3693
3510
3694
3511
     ;;
3695
     ;;
3512
     *) # The argument should be the path to the aspell program
3696
     *) # The argument should be the path to the aspell program
...
...
3533
cat >>confdefs.h <<_ACEOF
3717
cat >>confdefs.h <<_ACEOF
3534
#define ASPELL_INCLUDE "$aspellBase/include/aspell.h"
3718
#define ASPELL_INCLUDE "$aspellBase/include/aspell.h"
3535
_ACEOF
3719
_ACEOF
3536
3720
3537
      else
3721
      else
3538
    { echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
3722
    { $as_echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
3539
echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
3723
$as_echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
3540
     cat >>confdefs.h <<\_ACEOF
3724
     cat >>confdefs.h <<\_ACEOF
3541
#define ASPELL_INCLUDE "aspell-local.h"
3725
#define ASPELL_INCLUDE "aspell-local.h"
3542
_ACEOF
3726
_ACEOF
3543
3727
3544
      fi
3728
      fi
3545
   else
3729
   else
3546
     # aspell support enabled but no aspell install yet
3730
     # aspell support enabled but no aspell install yet
3547
    { echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
3731
    { $as_echo "$as_me:$LINENO: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&5
3548
echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
3732
$as_echo "$as_me: aspell support enabled but aspell package not found. Compiling with internal aspell interface file" >&6;}
3549
    cat >>confdefs.h <<\_ACEOF
3733
    cat >>confdefs.h <<\_ACEOF
3550
#define ASPELL_INCLUDE "aspell-local.h"
3734
#define ASPELL_INCLUDE "aspell-local.h"
3551
_ACEOF
3735
_ACEOF
3552
3736
3553
   fi
3737
   fi
...
...
3588
   if test X$famLib != X ; then
3772
   if test X$famLib != X ; then
3589
      famLibDir=`dirname $famLib`
3773
      famLibDir=`dirname $famLib`
3590
      famBase=`dirname $famLibDir`
3774
      famBase=`dirname $famLibDir`
3591
      famBLib=`basename $famLib .so | sed -e s/lib//`
3775
      famBLib=`basename $famLib .so | sed -e s/lib//`
3592
      if test ! -f $famBase/include/fam.h ; then
3776
      if test ! -f $famBase/include/fam.h ; then
3593
     { { echo "$as_me:$LINENO: error: fam.h not found in $famBase/include. Specify --with-fam=no to disable fam support" >&5
3777
     { { $as_echo "$as_me:$LINENO: error: fam.h not found in $famBase/include. Specify --with-fam=no to disable fam support" >&5
3594
echo "$as_me: error: fam.h not found in $famBase/include. Specify --with-fam=no to disable fam support" >&2;}
3778
$as_echo "$as_me: error: fam.h not found in $famBase/include. Specify --with-fam=no to disable fam support" >&2;}
3595
   { (exit 1); exit 1; }; }
3779
   { (exit 1); exit 1; }; }
3596
      fi
3780
      fi
3597
      LIBFAM="-L$famLibDir -l$famBLib"
3781
      LIBFAM="-L$famLibDir -l$famBLib"
3598
      { echo "$as_me:$LINENO: fam library directive: $LIBFAM" >&5
3782
      { $as_echo "$as_me:$LINENO: fam library directive: $LIBFAM" >&5
3599
echo "$as_me: fam library directive: $LIBFAM" >&6;}
3783
$as_echo "$as_me: fam library directive: $LIBFAM" >&6;}
3600
3784
3601
cat >>confdefs.h <<_ACEOF
3785
cat >>confdefs.h <<_ACEOF
3602
#define FAM_INCLUDE "$famBase/include/fam.h"
3786
#define FAM_INCLUDE "$famBase/include/fam.h"
3603
_ACEOF
3787
_ACEOF
3604
3788
3605
   else
3789
   else
3606
    { { echo "$as_me:$LINENO: error: fam library not found" >&5
3790
    { { $as_echo "$as_me:$LINENO: error: fam library not found" >&5
3607
echo "$as_me: error: fam library not found" >&2;}
3791
$as_echo "$as_me: error: fam library not found" >&2;}
3608
   { (exit 1); exit 1; }; }
3792
   { (exit 1); exit 1; }; }
3609
   fi
3793
   fi
3610
fi
3794
fi
3611
3795
3612
if test -f /usr/include/sys/inotify.h -a X$withFam = Xno ; then
3796
if test -f /usr/include/sys/inotify.h -a X$withFam = Xno ; then
...
...
3624
  withInotify=$inot_default
3808
  withInotify=$inot_default
3625
fi
3809
fi
3626
3810
3627
3811
3628
if test X$withInotify != Xno ; then
3812
if test X$withInotify != Xno ; then
3629
   { echo "$as_me:$LINENO: enabled support for inotify monitoring" >&5
3813
   { $as_echo "$as_me:$LINENO: enabled support for inotify monitoring" >&5
3630
echo "$as_me: enabled support for inotify monitoring" >&6;}
3814
$as_echo "$as_me: enabled support for inotify monitoring" >&6;}
3631
3815
3632
cat >>confdefs.h <<\_ACEOF
3816
cat >>confdefs.h <<\_ACEOF
3633
#define RCL_MONITOR 1
3817
#define RCL_MONITOR 1
3634
_ACEOF
3818
_ACEOF
3635
3819
...
...
3637
cat >>confdefs.h <<\_ACEOF
3821
cat >>confdefs.h <<\_ACEOF
3638
#define RCL_USE_INOTIFY 1
3822
#define RCL_USE_INOTIFY 1
3639
_ACEOF
3823
_ACEOF
3640
3824
3641
else
3825
else
3642
   { echo "$as_me:$LINENO: inotify monitoring disabled" >&5
3826
   { $as_echo "$as_me:$LINENO: inotify monitoring disabled" >&5
3643
echo "$as_me: inotify monitoring disabled" >&6;}
3827
$as_echo "$as_me: inotify monitoring disabled" >&6;}
3644
fi
3828
fi
3645
3829
3646
# Enable use of file extended attributes.
3830
# Enable use of file extended attributes.
3647
# Not by default as these are little used for now.
3831
# Not by default as these are little used for now.
3648
# Check whether --enable-xattr was given.
3832
# Check whether --enable-xattr was given.
...
...
3663
3847
3664
3848
3665
3849
3666
for ac_func in mkdtemp
3850
for ac_func in mkdtemp
3667
do
3851
do
3668
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3852
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3669
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
3853
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
3670
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3854
$as_echo_n "checking for $ac_func... " >&6; }
3671
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3855
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3672
  echo $ECHO_N "(cached) $ECHO_C" >&6
3856
  $as_echo_n "(cached) " >&6
3673
else
3857
else
3674
  cat >conftest.$ac_ext <<_ACEOF
3858
  cat >conftest.$ac_ext <<_ACEOF
3675
/* confdefs.h.  */
3859
/* confdefs.h.  */
3676
_ACEOF
3860
_ACEOF
3677
cat confdefs.h >>conftest.$ac_ext
3861
cat confdefs.h >>conftest.$ac_ext
...
...
3720
if { (ac_try="$ac_link"
3904
if { (ac_try="$ac_link"
3721
case "(($ac_try" in
3905
case "(($ac_try" in
3722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723
  *) ac_try_echo=$ac_try;;
3907
  *) ac_try_echo=$ac_try;;
3724
esac
3908
esac
3725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3910
$as_echo "$ac_try_echo") >&5
3726
  (eval "$ac_link") 2>conftest.er1
3911
  (eval "$ac_link") 2>conftest.er1
3727
  ac_status=$?
3912
  ac_status=$?
3728
  grep -v '^ *+' conftest.er1 >conftest.err
3913
  grep -v '^ *+' conftest.er1 >conftest.err
3729
  rm -f conftest.er1
3914
  rm -f conftest.er1
3730
  cat conftest.err >&5
3915
  cat conftest.err >&5
3731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732
  (exit $ac_status); } && {
3917
  (exit $ac_status); } && {
3733
     test -z "$ac_c_werror_flag" ||
3918
     test -z "$ac_c_werror_flag" ||
3734
     test ! -s conftest.err
3919
     test ! -s conftest.err
3735
       } && test -s conftest$ac_exeext &&
3920
       } && test -s conftest$ac_exeext && {
3921
   test "$cross_compiling" = yes ||
3736
       $as_test_x conftest$ac_exeext; then
3922
   $as_test_x conftest$ac_exeext
3923
       }; then
3737
  eval "$as_ac_var=yes"
3924
  eval "$as_ac_var=yes"
3738
else
3925
else
3739
  echo "$as_me: failed program was:" >&5
3926
  $as_echo "$as_me: failed program was:" >&5
3740
sed 's/^/| /' conftest.$ac_ext >&5
3927
sed 's/^/| /' conftest.$ac_ext >&5
3741
3928
3742
    eval "$as_ac_var=no"
3929
    eval "$as_ac_var=no"
3743
fi
3930
fi
3744
3931
3932
rm -rf conftest.dSYM
3745
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3933
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3746
      conftest$ac_exeext conftest.$ac_ext
3934
      conftest$ac_exeext conftest.$ac_ext
3747
fi
3935
fi
3748
ac_res=`eval echo '${'$as_ac_var'}'`
3936
ac_res=`eval 'as_val=${'$as_ac_var'}
3937
       $as_echo "$as_val"'`
3749
           { echo "$as_me:$LINENO: result: $ac_res" >&5
3938
           { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3750
echo "${ECHO_T}$ac_res" >&6; }
3939
$as_echo "$ac_res" >&6; }
3751
if test `eval echo '${'$as_ac_var'}'` = yes; then
3940
as_val=`eval 'as_val=${'$as_ac_var'}
3941
       $as_echo "$as_val"'`
3942
   if test "x$as_val" = x""yes; then
3752
  cat >>confdefs.h <<_ACEOF
3943
  cat >>confdefs.h <<_ACEOF
3753
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3944
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3754
_ACEOF
3945
_ACEOF
3755
3946
3756
fi
3947
fi
3757
done
3948
done
3758
3949
...
...
3782
    if test -n "$ac_tool_prefix"; then
3973
    if test -n "$ac_tool_prefix"; then
3783
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3974
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3784
  do
3975
  do
3785
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3976
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3786
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3977
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3787
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3978
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3788
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3979
$as_echo_n "checking for $ac_word... " >&6; }
3789
if test "${ac_cv_prog_CXX+set}" = set; then
3980
if test "${ac_cv_prog_CXX+set}" = set; then
3790
  echo $ECHO_N "(cached) $ECHO_C" >&6
3981
  $as_echo_n "(cached) " >&6
3791
else
3982
else
3792
  if test -n "$CXX"; then
3983
  if test -n "$CXX"; then
3793
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3984
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3794
else
3985
else
3795
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
3798
  IFS=$as_save_IFS
3989
  IFS=$as_save_IFS
3799
  test -z "$as_dir" && as_dir=.
3990
  test -z "$as_dir" && as_dir=.
3800
  for ac_exec_ext in '' $ac_executable_extensions; do
3991
  for ac_exec_ext in '' $ac_executable_extensions; do
3801
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3802
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3993
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3803
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3994
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3804
    break 2
3995
    break 2
3805
  fi
3996
  fi
3806
done
3997
done
3807
done
3998
done
3808
IFS=$as_save_IFS
3999
IFS=$as_save_IFS
3809
4000
3810
fi
4001
fi
3811
fi
4002
fi
3812
CXX=$ac_cv_prog_CXX
4003
CXX=$ac_cv_prog_CXX
3813
if test -n "$CXX"; then
4004
if test -n "$CXX"; then
3814
  { echo "$as_me:$LINENO: result: $CXX" >&5
4005
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3815
echo "${ECHO_T}$CXX" >&6; }
4006
$as_echo "$CXX" >&6; }
3816
else
4007
else
3817
  { echo "$as_me:$LINENO: result: no" >&5
4008
  { $as_echo "$as_me:$LINENO: result: no" >&5
3818
echo "${ECHO_T}no" >&6; }
4009
$as_echo "no" >&6; }
3819
fi
4010
fi
3820
4011
3821
4012
3822
    test -n "$CXX" && break
4013
    test -n "$CXX" && break
3823
  done
4014
  done
...
...
3826
  ac_ct_CXX=$CXX
4017
  ac_ct_CXX=$CXX
3827
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4018
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3828
do
4019
do
3829
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4020
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3830
set dummy $ac_prog; ac_word=$2
4021
set dummy $ac_prog; ac_word=$2
3831
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4022
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3832
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4023
$as_echo_n "checking for $ac_word... " >&6; }
3833
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4024
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3834
  echo $ECHO_N "(cached) $ECHO_C" >&6
4025
  $as_echo_n "(cached) " >&6
3835
else
4026
else
3836
  if test -n "$ac_ct_CXX"; then
4027
  if test -n "$ac_ct_CXX"; then
3837
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4028
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3838
else
4029
else
3839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
...
...
3842
  IFS=$as_save_IFS
4033
  IFS=$as_save_IFS
3843
  test -z "$as_dir" && as_dir=.
4034
  test -z "$as_dir" && as_dir=.
3844
  for ac_exec_ext in '' $ac_executable_extensions; do
4035
  for ac_exec_ext in '' $ac_executable_extensions; do
3845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4037
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3847
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4038
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3848
    break 2
4039
    break 2
3849
  fi
4040
  fi
3850
done
4041
done
3851
done
4042
done
3852
IFS=$as_save_IFS
4043
IFS=$as_save_IFS
3853
4044
3854
fi
4045
fi
3855
fi
4046
fi
3856
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4047
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3857
if test -n "$ac_ct_CXX"; then
4048
if test -n "$ac_ct_CXX"; then
3858
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4049
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3859
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4050
$as_echo "$ac_ct_CXX" >&6; }
3860
else
4051
else
3861
  { echo "$as_me:$LINENO: result: no" >&5
4052
  { $as_echo "$as_me:$LINENO: result: no" >&5
3862
echo "${ECHO_T}no" >&6; }
4053
$as_echo "no" >&6; }
3863
fi
4054
fi
3864
4055
3865
4056
3866
  test -n "$ac_ct_CXX" && break
4057
  test -n "$ac_ct_CXX" && break
3867
done
4058
done
...
...
3869
  if test "x$ac_ct_CXX" = x; then
4060
  if test "x$ac_ct_CXX" = x; then
3870
    CXX="g++"
4061
    CXX="g++"
3871
  else
4062
  else
3872
    case $cross_compiling:$ac_tool_warned in
4063
    case $cross_compiling:$ac_tool_warned in
3873
yes:)
4064
yes:)
3874
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4065
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3875
whose name does not start with the host triplet.  If you think this
4066
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3876
configuration is useful to you, please write to autoconf@gnu.org." >&5
3877
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3878
whose name does not start with the host triplet.  If you think this
3879
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3880
ac_tool_warned=yes ;;
4067
ac_tool_warned=yes ;;
3881
esac
4068
esac
3882
    CXX=$ac_ct_CXX
4069
    CXX=$ac_ct_CXX
3883
  fi
4070
  fi
3884
fi
4071
fi
3885
4072
3886
  fi
4073
  fi
3887
fi
4074
fi
3888
# Provide some information about the compiler.
4075
# Provide some information about the compiler.
3889
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4076
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3890
ac_compiler=`set X $ac_compile; echo $2`
4077
set X $ac_compile
4078
ac_compiler=$2
3891
{ (ac_try="$ac_compiler --version >&5"
4079
{ (ac_try="$ac_compiler --version >&5"
3892
case "(($ac_try" in
4080
case "(($ac_try" in
3893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894
  *) ac_try_echo=$ac_try;;
4082
  *) ac_try_echo=$ac_try;;
3895
esac
4083
esac
3896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4084
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4085
$as_echo "$ac_try_echo") >&5
3897
  (eval "$ac_compiler --version >&5") 2>&5
4086
  (eval "$ac_compiler --version >&5") 2>&5
3898
  ac_status=$?
4087
  ac_status=$?
3899
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900
  (exit $ac_status); }
4089
  (exit $ac_status); }
3901
{ (ac_try="$ac_compiler -v >&5"
4090
{ (ac_try="$ac_compiler -v >&5"
3902
case "(($ac_try" in
4091
case "(($ac_try" in
3903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3904
  *) ac_try_echo=$ac_try;;
4093
  *) ac_try_echo=$ac_try;;
3905
esac
4094
esac
3906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4095
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4096
$as_echo "$ac_try_echo") >&5
3907
  (eval "$ac_compiler -v >&5") 2>&5
4097
  (eval "$ac_compiler -v >&5") 2>&5
3908
  ac_status=$?
4098
  ac_status=$?
3909
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910
  (exit $ac_status); }
4100
  (exit $ac_status); }
3911
{ (ac_try="$ac_compiler -V >&5"
4101
{ (ac_try="$ac_compiler -V >&5"
3912
case "(($ac_try" in
4102
case "(($ac_try" in
3913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3914
  *) ac_try_echo=$ac_try;;
4104
  *) ac_try_echo=$ac_try;;
3915
esac
4105
esac
3916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4106
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4107
$as_echo "$ac_try_echo") >&5
3917
  (eval "$ac_compiler -V >&5") 2>&5
4108
  (eval "$ac_compiler -V >&5") 2>&5
3918
  ac_status=$?
4109
  ac_status=$?
3919
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920
  (exit $ac_status); }
4111
  (exit $ac_status); }
3921
4112
3922
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4113
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3923
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4114
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3924
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4115
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3925
  echo $ECHO_N "(cached) $ECHO_C" >&6
4116
  $as_echo_n "(cached) " >&6
3926
else
4117
else
3927
  cat >conftest.$ac_ext <<_ACEOF
4118
  cat >conftest.$ac_ext <<_ACEOF
3928
/* confdefs.h.  */
4119
/* confdefs.h.  */
3929
_ACEOF
4120
_ACEOF
3930
cat confdefs.h >>conftest.$ac_ext
4121
cat confdefs.h >>conftest.$ac_ext
...
...
3946
if { (ac_try="$ac_compile"
4137
if { (ac_try="$ac_compile"
3947
case "(($ac_try" in
4138
case "(($ac_try" in
3948
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949
  *) ac_try_echo=$ac_try;;
4140
  *) ac_try_echo=$ac_try;;
3950
esac
4141
esac
3951
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4142
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4143
$as_echo "$ac_try_echo") >&5
3952
  (eval "$ac_compile") 2>conftest.er1
4144
  (eval "$ac_compile") 2>conftest.er1
3953
  ac_status=$?
4145
  ac_status=$?
3954
  grep -v '^ *+' conftest.er1 >conftest.err
4146
  grep -v '^ *+' conftest.er1 >conftest.err
3955
  rm -f conftest.er1
4147
  rm -f conftest.er1
3956
  cat conftest.err >&5
4148
  cat conftest.err >&5
3957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958
  (exit $ac_status); } && {
4150
  (exit $ac_status); } && {
3959
     test -z "$ac_cxx_werror_flag" ||
4151
     test -z "$ac_cxx_werror_flag" ||
3960
     test ! -s conftest.err
4152
     test ! -s conftest.err
3961
       } && test -s conftest.$ac_objext; then
4153
       } && test -s conftest.$ac_objext; then
3962
  ac_compiler_gnu=yes
4154
  ac_compiler_gnu=yes
3963
else
4155
else
3964
  echo "$as_me: failed program was:" >&5
4156
  $as_echo "$as_me: failed program was:" >&5
3965
sed 's/^/| /' conftest.$ac_ext >&5
4157
sed 's/^/| /' conftest.$ac_ext >&5
3966
4158
3967
    ac_compiler_gnu=no
4159
    ac_compiler_gnu=no
3968
fi
4160
fi
3969
4161
3970
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4163
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3972
4164
3973
fi
4165
fi
3974
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4166
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3975
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4167
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3976
GXX=`test $ac_compiler_gnu = yes && echo yes`
4168
if test $ac_compiler_gnu = yes; then
4169
  GXX=yes
4170
else
4171
  GXX=
4172
fi
3977
ac_test_CXXFLAGS=${CXXFLAGS+set}
4173
ac_test_CXXFLAGS=${CXXFLAGS+set}
3978
ac_save_CXXFLAGS=$CXXFLAGS
4174
ac_save_CXXFLAGS=$CXXFLAGS
3979
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4175
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3980
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4176
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3981
if test "${ac_cv_prog_cxx_g+set}" = set; then
4177
if test "${ac_cv_prog_cxx_g+set}" = set; then
3982
  echo $ECHO_N "(cached) $ECHO_C" >&6
4178
  $as_echo_n "(cached) " >&6
3983
else
4179
else
3984
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4180
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3985
   ac_cxx_werror_flag=yes
4181
   ac_cxx_werror_flag=yes
3986
   ac_cv_prog_cxx_g=no
4182
   ac_cv_prog_cxx_g=no
3987
   CXXFLAGS="-g"
4183
   CXXFLAGS="-g"
...
...
4004
if { (ac_try="$ac_compile"
4200
if { (ac_try="$ac_compile"
4005
case "(($ac_try" in
4201
case "(($ac_try" in
4006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4007
  *) ac_try_echo=$ac_try;;
4203
  *) ac_try_echo=$ac_try;;
4008
esac
4204
esac
4009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4206
$as_echo "$ac_try_echo") >&5
4010
  (eval "$ac_compile") 2>conftest.er1
4207
  (eval "$ac_compile") 2>conftest.er1
4011
  ac_status=$?
4208
  ac_status=$?
4012
  grep -v '^ *+' conftest.er1 >conftest.err
4209
  grep -v '^ *+' conftest.er1 >conftest.err
4013
  rm -f conftest.er1
4210
  rm -f conftest.er1
4014
  cat conftest.err >&5
4211
  cat conftest.err >&5
4015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016
  (exit $ac_status); } && {
4213
  (exit $ac_status); } && {
4017
     test -z "$ac_cxx_werror_flag" ||
4214
     test -z "$ac_cxx_werror_flag" ||
4018
     test ! -s conftest.err
4215
     test ! -s conftest.err
4019
       } && test -s conftest.$ac_objext; then
4216
       } && test -s conftest.$ac_objext; then
4020
  ac_cv_prog_cxx_g=yes
4217
  ac_cv_prog_cxx_g=yes
4021
else
4218
else
4022
  echo "$as_me: failed program was:" >&5
4219
  $as_echo "$as_me: failed program was:" >&5
4023
sed 's/^/| /' conftest.$ac_ext >&5
4220
sed 's/^/| /' conftest.$ac_ext >&5
4024
4221
4025
    CXXFLAGS=""
4222
    CXXFLAGS=""
4026
      cat >conftest.$ac_ext <<_ACEOF
4223
      cat >conftest.$ac_ext <<_ACEOF
4027
/* confdefs.h.  */
4224
/* confdefs.h.  */
...
...
4042
if { (ac_try="$ac_compile"
4239
if { (ac_try="$ac_compile"
4043
case "(($ac_try" in
4240
case "(($ac_try" in
4044
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045
  *) ac_try_echo=$ac_try;;
4242
  *) ac_try_echo=$ac_try;;
4046
esac
4243
esac
4047
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4244
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4245
$as_echo "$ac_try_echo") >&5
4048
  (eval "$ac_compile") 2>conftest.er1
4246
  (eval "$ac_compile") 2>conftest.er1
4049
  ac_status=$?
4247
  ac_status=$?
4050
  grep -v '^ *+' conftest.er1 >conftest.err
4248
  grep -v '^ *+' conftest.er1 >conftest.err
4051
  rm -f conftest.er1
4249
  rm -f conftest.er1
4052
  cat conftest.err >&5
4250
  cat conftest.err >&5
4053
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054
  (exit $ac_status); } && {
4252
  (exit $ac_status); } && {
4055
     test -z "$ac_cxx_werror_flag" ||
4253
     test -z "$ac_cxx_werror_flag" ||
4056
     test ! -s conftest.err
4254
     test ! -s conftest.err
4057
       } && test -s conftest.$ac_objext; then
4255
       } && test -s conftest.$ac_objext; then
4058
  :
4256
  :
4059
else
4257
else
4060
  echo "$as_me: failed program was:" >&5
4258
  $as_echo "$as_me: failed program was:" >&5
4061
sed 's/^/| /' conftest.$ac_ext >&5
4259
sed 's/^/| /' conftest.$ac_ext >&5
4062
4260
4063
    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4261
    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4064
     CXXFLAGS="-g"
4262
     CXXFLAGS="-g"
4065
     cat >conftest.$ac_ext <<_ACEOF
4263
     cat >conftest.$ac_ext <<_ACEOF
...
...
4081
if { (ac_try="$ac_compile"
4279
if { (ac_try="$ac_compile"
4082
case "(($ac_try" in
4280
case "(($ac_try" in
4083
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4281
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084
  *) ac_try_echo=$ac_try;;
4282
  *) ac_try_echo=$ac_try;;
4085
esac
4283
esac
4086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4284
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4285
$as_echo "$ac_try_echo") >&5
4087
  (eval "$ac_compile") 2>conftest.er1
4286
  (eval "$ac_compile") 2>conftest.er1
4088
  ac_status=$?
4287
  ac_status=$?
4089
  grep -v '^ *+' conftest.er1 >conftest.err
4288
  grep -v '^ *+' conftest.er1 >conftest.err
4090
  rm -f conftest.er1
4289
  rm -f conftest.er1
4091
  cat conftest.err >&5
4290
  cat conftest.err >&5
4092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093
  (exit $ac_status); } && {
4292
  (exit $ac_status); } && {
4094
     test -z "$ac_cxx_werror_flag" ||
4293
     test -z "$ac_cxx_werror_flag" ||
4095
     test ! -s conftest.err
4294
     test ! -s conftest.err
4096
       } && test -s conftest.$ac_objext; then
4295
       } && test -s conftest.$ac_objext; then
4097
  ac_cv_prog_cxx_g=yes
4296
  ac_cv_prog_cxx_g=yes
4098
else
4297
else
4099
  echo "$as_me: failed program was:" >&5
4298
  $as_echo "$as_me: failed program was:" >&5
4100
sed 's/^/| /' conftest.$ac_ext >&5
4299
sed 's/^/| /' conftest.$ac_ext >&5
4101
4300
4102
4301
4103
fi
4302
fi
4104
4303
...
...
4109
fi
4308
fi
4110
4309
4111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4311
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4113
fi
4312
fi
4114
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4313
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4115
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4314
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4116
if test "$ac_test_CXXFLAGS" = set; then
4315
if test "$ac_test_CXXFLAGS" = set; then
4117
  CXXFLAGS=$ac_save_CXXFLAGS
4316
  CXXFLAGS=$ac_save_CXXFLAGS
4118
elif test $ac_cv_prog_cxx_g = yes; then
4317
elif test $ac_cv_prog_cxx_g = yes; then
4119
  if test "$GXX" = yes; then
4318
  if test "$GXX" = yes; then
4120
    CXXFLAGS="-g -O2"
4319
    CXXFLAGS="-g -O2"
...
...
4133
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4334
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4136
4335
4137
4336
4138
{ echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
4337
{ $as_echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
4139
echo $ECHO_N "checking for iconv_open in -liconv... $ECHO_C" >&6; }
4338
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
4140
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
4339
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
4141
  echo $ECHO_N "(cached) $ECHO_C" >&6
4340
  $as_echo_n "(cached) " >&6
4142
else
4341
else
4143
  ac_check_lib_save_LIBS=$LIBS
4342
  ac_check_lib_save_LIBS=$LIBS
4144
LIBS="-liconv  $LIBS"
4343
LIBS="-liconv  $LIBS"
4145
cat >conftest.$ac_ext <<_ACEOF
4344
cat >conftest.$ac_ext <<_ACEOF
4146
/* confdefs.h.  */
4345
/* confdefs.h.  */
...
...
4168
if { (ac_try="$ac_link"
4367
if { (ac_try="$ac_link"
4169
case "(($ac_try" in
4368
case "(($ac_try" in
4170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171
  *) ac_try_echo=$ac_try;;
4370
  *) ac_try_echo=$ac_try;;
4172
esac
4371
esac
4173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4373
$as_echo "$ac_try_echo") >&5
4174
  (eval "$ac_link") 2>conftest.er1
4374
  (eval "$ac_link") 2>conftest.er1
4175
  ac_status=$?
4375
  ac_status=$?
4176
  grep -v '^ *+' conftest.er1 >conftest.err
4376
  grep -v '^ *+' conftest.er1 >conftest.err
4177
  rm -f conftest.er1
4377
  rm -f conftest.er1
4178
  cat conftest.err >&5
4378
  cat conftest.err >&5
4179
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
  (exit $ac_status); } && {
4380
  (exit $ac_status); } && {
4181
     test -z "$ac_cxx_werror_flag" ||
4381
     test -z "$ac_cxx_werror_flag" ||
4182
     test ! -s conftest.err
4382
     test ! -s conftest.err
4183
       } && test -s conftest$ac_exeext &&
4383
       } && test -s conftest$ac_exeext && {
4384
   test "$cross_compiling" = yes ||
4184
       $as_test_x conftest$ac_exeext; then
4385
   $as_test_x conftest$ac_exeext
4386
       }; then
4185
  ac_cv_lib_iconv_iconv_open=yes
4387
  ac_cv_lib_iconv_iconv_open=yes
4186
else
4388
else
4187
  echo "$as_me: failed program was:" >&5
4389
  $as_echo "$as_me: failed program was:" >&5
4188
sed 's/^/| /' conftest.$ac_ext >&5
4390
sed 's/^/| /' conftest.$ac_ext >&5
4189
4391
4190
    ac_cv_lib_iconv_iconv_open=no
4392
    ac_cv_lib_iconv_iconv_open=no
4191
fi
4393
fi
4192
4394
4395
rm -rf conftest.dSYM
4193
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4396
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4194
      conftest$ac_exeext conftest.$ac_ext
4397
      conftest$ac_exeext conftest.$ac_ext
4195
LIBS=$ac_check_lib_save_LIBS
4398
LIBS=$ac_check_lib_save_LIBS
4196
fi
4399
fi
4197
{ echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
4400
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
4198
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6; }
4401
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
4199
if test $ac_cv_lib_iconv_iconv_open = yes; then
4402
if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then
4200
  LIBICONV="-L$dir -liconv";INCICONV=-I/usr/local/include
4403
  LIBICONV="-L$dir -liconv";INCICONV=-I/usr/local/include
4201
fi
4404
fi
4202
4405
4203
if test A"$LIBICONV" = A ; then
4406
if test A"$LIBICONV" = A ; then
4204
  dir=${libdir}
4407
  dir=${libdir}
4205
  LDFLAGS="$S_LDFLAGS -L$dir"
4408
  LDFLAGS="$S_LDFLAGS -L$dir"
4206
  unset ac_cv_lib_iconv_iconv_open
4409
  unset ac_cv_lib_iconv_iconv_open
4207
  { echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
4410
  { $as_echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
4208
echo $ECHO_N "checking for iconv_open in -liconv... $ECHO_C" >&6; }
4411
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
4209
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
4412
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
4210
  echo $ECHO_N "(cached) $ECHO_C" >&6
4413
  $as_echo_n "(cached) " >&6
4211
else
4414
else
4212
  ac_check_lib_save_LIBS=$LIBS
4415
  ac_check_lib_save_LIBS=$LIBS
4213
LIBS="-liconv  $LIBS"
4416
LIBS="-liconv  $LIBS"
4214
cat >conftest.$ac_ext <<_ACEOF
4417
cat >conftest.$ac_ext <<_ACEOF
4215
/* confdefs.h.  */
4418
/* confdefs.h.  */
...
...
4237
if { (ac_try="$ac_link"
4440
if { (ac_try="$ac_link"
4238
case "(($ac_try" in
4441
case "(($ac_try" in
4239
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240
  *) ac_try_echo=$ac_try;;
4443
  *) ac_try_echo=$ac_try;;
4241
esac
4444
esac
4242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4446
$as_echo "$ac_try_echo") >&5
4243
  (eval "$ac_link") 2>conftest.er1
4447
  (eval "$ac_link") 2>conftest.er1
4244
  ac_status=$?
4448
  ac_status=$?
4245
  grep -v '^ *+' conftest.er1 >conftest.err
4449
  grep -v '^ *+' conftest.er1 >conftest.err
4246
  rm -f conftest.er1
4450
  rm -f conftest.er1
4247
  cat conftest.err >&5
4451
  cat conftest.err >&5
4248
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249
  (exit $ac_status); } && {
4453
  (exit $ac_status); } && {
4250
     test -z "$ac_cxx_werror_flag" ||
4454
     test -z "$ac_cxx_werror_flag" ||
4251
     test ! -s conftest.err
4455
     test ! -s conftest.err
4252
       } && test -s conftest$ac_exeext &&
4456
       } && test -s conftest$ac_exeext && {
4457
   test "$cross_compiling" = yes ||
4253
       $as_test_x conftest$ac_exeext; then
4458
   $as_test_x conftest$ac_exeext
4459
       }; then
4254
  ac_cv_lib_iconv_iconv_open=yes
4460
  ac_cv_lib_iconv_iconv_open=yes
4255
else
4461
else
4256
  echo "$as_me: failed program was:" >&5
4462
  $as_echo "$as_me: failed program was:" >&5
4257
sed 's/^/| /' conftest.$ac_ext >&5
4463
sed 's/^/| /' conftest.$ac_ext >&5
4258
4464
4259
    ac_cv_lib_iconv_iconv_open=no
4465
    ac_cv_lib_iconv_iconv_open=no
4260
fi
4466
fi
4261
4467
4468
rm -rf conftest.dSYM
4262
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4469
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4263
      conftest$ac_exeext conftest.$ac_ext
4470
      conftest$ac_exeext conftest.$ac_ext
4264
LIBS=$ac_check_lib_save_LIBS
4471
LIBS=$ac_check_lib_save_LIBS
4265
fi
4472
fi
4266
{ echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
4473
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
4267
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6; }
4474
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
4268
if test $ac_cv_lib_iconv_iconv_open = yes; then
4475
if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then
4269
  LIBICONV="-L$dir -liconv";INCICONV=-I/usr/include
4476
  LIBICONV="-L$dir -liconv";INCICONV=-I/usr/include
4270
fi
4477
fi
4271
4478
4272
  if test A"$LIBICONV" = A; then
4479
  if test A"$LIBICONV" = A; then
4273
    dir=${libdir}
4480
    dir=${libdir}
4274
    LDFLAGS="$S_LDFLAGS -L$dir"
4481
    LDFLAGS="$S_LDFLAGS -L$dir"
4275
    unset ac_cv_lib_iconv_iconv_open
4482
    unset ac_cv_lib_iconv_iconv_open
4276
    { echo "$as_me:$LINENO: checking for iconv_open in -lc" >&5
4483
    { $as_echo "$as_me:$LINENO: checking for iconv_open in -lc" >&5
4277
echo $ECHO_N "checking for iconv_open in -lc... $ECHO_C" >&6; }
4484
$as_echo_n "checking for iconv_open in -lc... " >&6; }
4278
if test "${ac_cv_lib_c_iconv_open+set}" = set; then
4485
if test "${ac_cv_lib_c_iconv_open+set}" = set; then
4279
  echo $ECHO_N "(cached) $ECHO_C" >&6
4486
  $as_echo_n "(cached) " >&6
4280
else
4487
else
4281
  ac_check_lib_save_LIBS=$LIBS
4488
  ac_check_lib_save_LIBS=$LIBS
4282
LIBS="-lc  $LIBS"
4489
LIBS="-lc  $LIBS"
4283
cat >conftest.$ac_ext <<_ACEOF
4490
cat >conftest.$ac_ext <<_ACEOF
4284
/* confdefs.h.  */
4491
/* confdefs.h.  */
...
...
4306
if { (ac_try="$ac_link"
4513
if { (ac_try="$ac_link"
4307
case "(($ac_try" in
4514
case "(($ac_try" in
4308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309
  *) ac_try_echo=$ac_try;;
4516
  *) ac_try_echo=$ac_try;;
4310
esac
4517
esac
4311
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4518
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4519
$as_echo "$ac_try_echo") >&5
4312
  (eval "$ac_link") 2>conftest.er1
4520
  (eval "$ac_link") 2>conftest.er1
4313
  ac_status=$?
4521
  ac_status=$?
4314
  grep -v '^ *+' conftest.er1 >conftest.err
4522
  grep -v '^ *+' conftest.er1 >conftest.err
4315
  rm -f conftest.er1
4523
  rm -f conftest.er1
4316
  cat conftest.err >&5
4524
  cat conftest.err >&5
4317
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318
  (exit $ac_status); } && {
4526
  (exit $ac_status); } && {
4319
     test -z "$ac_cxx_werror_flag" ||
4527
     test -z "$ac_cxx_werror_flag" ||
4320
     test ! -s conftest.err
4528
     test ! -s conftest.err
4321
       } && test -s conftest$ac_exeext &&
4529
       } && test -s conftest$ac_exeext && {
4530
   test "$cross_compiling" = yes ||
4322
       $as_test_x conftest$ac_exeext; then
4531
   $as_test_x conftest$ac_exeext
4532
       }; then
4323
  ac_cv_lib_c_iconv_open=yes
4533
  ac_cv_lib_c_iconv_open=yes
4324
else
4534
else
4325
  echo "$as_me: failed program was:" >&5
4535
  $as_echo "$as_me: failed program was:" >&5
4326
sed 's/^/| /' conftest.$ac_ext >&5
4536
sed 's/^/| /' conftest.$ac_ext >&5
4327
4537
4328
    ac_cv_lib_c_iconv_open=no
4538
    ac_cv_lib_c_iconv_open=no
4329
fi
4539
fi
4330
4540
4541
rm -rf conftest.dSYM
4331
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4332
      conftest$ac_exeext conftest.$ac_ext
4543
      conftest$ac_exeext conftest.$ac_ext
4333
LIBS=$ac_check_lib_save_LIBS
4544
LIBS=$ac_check_lib_save_LIBS
4334
fi
4545
fi
4335
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_iconv_open" >&5
4546
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_iconv_open" >&5
4336
echo "${ECHO_T}$ac_cv_lib_c_iconv_open" >&6; }
4547
$as_echo "$ac_cv_lib_c_iconv_open" >&6; }
4337
if test $ac_cv_lib_c_iconv_open = yes; then
4548
if test "x$ac_cv_lib_c_iconv_open" = x""yes; then
4338
  LIBICONV=NONE;INCICONV=-I/usr/include
4549
  LIBICONV=NONE;INCICONV=-I/usr/include
4339
fi
4550
fi
4340
4551
4341
  fi
4552
  fi
4342
fi
4553
fi
4343
LDFLAGS=$S_LDFLAGS
4554
LDFLAGS=$S_LDFLAGS
4344
if test A"$LIBICONV" = A ; then
4555
if test A"$LIBICONV" = A ; then
4345
   { { echo "$as_me:$LINENO: error: Cannot find iconv_open anywhere. Please install iconv" >&5
4556
   { { $as_echo "$as_me:$LINENO: error: Cannot find iconv_open anywhere. Please install iconv" >&5
4346
echo "$as_me: error: Cannot find iconv_open anywhere. Please install iconv" >&2;}
4557
$as_echo "$as_me: error: Cannot find iconv_open anywhere. Please install iconv" >&2;}
4347
   { (exit 1); exit 1; }; }
4558
   { (exit 1); exit 1; }; }
4348
   exit 1
4559
   exit 1
4349
fi
4560
fi
4350
if test A"$LIBICONV" = ANONE ; then
4561
if test A"$LIBICONV" = ANONE ; then
4351
   LIBICONV=""
4562
   LIBICONV=""
4352
fi
4563
fi
4353
#echo LIBICONV $LIBICONV
4564
#echo LIBICONV $LIBICONV
4354
#echo INCICONV $INCICONV
4565
#echo INCICONV $INCICONV
4355
4566
4356
CPPFLAGS="$CPPFLAGS $INCICONV"
4567
CPPFLAGS="$CPPFLAGS $INCICONV"
4357
{ echo "$as_me:$LINENO: checking for type of inbuf parameter to iconv" >&5
4568
{ $as_echo "$as_me:$LINENO: checking for type of inbuf parameter to iconv" >&5
4358
echo $ECHO_N "checking for type of inbuf parameter to iconv... $ECHO_C" >&6; }
4569
$as_echo_n "checking for type of inbuf parameter to iconv... " >&6; }
4359
cat >conftest.$ac_ext <<_ACEOF
4570
cat >conftest.$ac_ext <<_ACEOF
4360
/* confdefs.h.  */
4571
/* confdefs.h.  */
4361
_ACEOF
4572
_ACEOF
4362
cat confdefs.h >>conftest.$ac_ext
4573
cat confdefs.h >>conftest.$ac_ext
4363
cat >>conftest.$ac_ext <<_ACEOF
4574
cat >>conftest.$ac_ext <<_ACEOF
...
...
4380
if { (ac_try="$ac_compile"
4591
if { (ac_try="$ac_compile"
4381
case "(($ac_try" in
4592
case "(($ac_try" in
4382
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4383
  *) ac_try_echo=$ac_try;;
4594
  *) ac_try_echo=$ac_try;;
4384
esac
4595
esac
4385
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4596
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4597
$as_echo "$ac_try_echo") >&5
4386
  (eval "$ac_compile") 2>conftest.er1
4598
  (eval "$ac_compile") 2>conftest.er1
4387
  ac_status=$?
4599
  ac_status=$?
4388
  grep -v '^ *+' conftest.er1 >conftest.err
4600
  grep -v '^ *+' conftest.er1 >conftest.err
4389
  rm -f conftest.er1
4601
  rm -f conftest.er1
4390
  cat conftest.err >&5
4602
  cat conftest.err >&5
4391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392
  (exit $ac_status); } && {
4604
  (exit $ac_status); } && {
4393
     test -z "$ac_cxx_werror_flag" ||
4605
     test -z "$ac_cxx_werror_flag" ||
4394
     test ! -s conftest.err
4606
     test ! -s conftest.err
4395
       } && test -s conftest.$ac_objext; then
4607
       } && test -s conftest.$ac_objext; then
4396
  rcl_iconv_inbuf_const="1"
4608
  rcl_iconv_inbuf_const="1"
4397
else
4609
else
4398
  echo "$as_me: failed program was:" >&5
4610
  $as_echo "$as_me: failed program was:" >&5
4399
sed 's/^/| /' conftest.$ac_ext >&5
4611
sed 's/^/| /' conftest.$ac_ext >&5
4400
4612
4401
    rcl_iconv_inbuf_const="0"
4613
    rcl_iconv_inbuf_const="0"
4402
fi
4614
fi
4403
4615
...
...
4409
_ACEOF
4621
_ACEOF
4410
4622
4411
fi
4623
fi
4412
4624
4413
4625
4414
{ echo "$as_me:$LINENO: checking for type of string parameter to putenv" >&5
4626
{ $as_echo "$as_me:$LINENO: checking for type of string parameter to putenv" >&5
4415
echo $ECHO_N "checking for type of string parameter to putenv... $ECHO_C" >&6; }
4627
$as_echo_n "checking for type of string parameter to putenv... " >&6; }
4416
cat >conftest.$ac_ext <<_ACEOF
4628
cat >conftest.$ac_ext <<_ACEOF
4417
/* confdefs.h.  */
4629
/* confdefs.h.  */
4418
_ACEOF
4630
_ACEOF
4419
cat confdefs.h >>conftest.$ac_ext
4631
cat confdefs.h >>conftest.$ac_ext
4420
cat >>conftest.$ac_ext <<_ACEOF
4632
cat >>conftest.$ac_ext <<_ACEOF
...
...
4436
if { (ac_try="$ac_compile"
4648
if { (ac_try="$ac_compile"
4437
case "(($ac_try" in
4649
case "(($ac_try" in
4438
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439
  *) ac_try_echo=$ac_try;;
4651
  *) ac_try_echo=$ac_try;;
4440
esac
4652
esac
4441
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4653
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4654
$as_echo "$ac_try_echo") >&5
4442
  (eval "$ac_compile") 2>conftest.er1
4655
  (eval "$ac_compile") 2>conftest.er1
4443
  ac_status=$?
4656
  ac_status=$?
4444
  grep -v '^ *+' conftest.er1 >conftest.err
4657
  grep -v '^ *+' conftest.er1 >conftest.err
4445
  rm -f conftest.er1
4658
  rm -f conftest.er1
4446
  cat conftest.err >&5
4659
  cat conftest.err >&5
4447
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448
  (exit $ac_status); } && {
4661
  (exit $ac_status); } && {
4449
     test -z "$ac_cxx_werror_flag" ||
4662
     test -z "$ac_cxx_werror_flag" ||
4450
     test ! -s conftest.err
4663
     test ! -s conftest.err
4451
       } && test -s conftest.$ac_objext; then
4664
       } && test -s conftest.$ac_objext; then
4452
  rcl_putenv_string_const="1"
4665
  rcl_putenv_string_const="1"
4453
else
4666
else
4454
  echo "$as_me: failed program was:" >&5
4667
  $as_echo "$as_me: failed program was:" >&5
4455
sed 's/^/| /' conftest.$ac_ext >&5
4668
sed 's/^/| /' conftest.$ac_ext >&5
4456
4669
4457
    rcl_putenv_string_const="0"
4670
    rcl_putenv_string_const="0"
4458
fi
4671
fi
4459
4672
...
...
4467
fi
4680
fi
4468
4681
4469
#### Look for Xapian
4682
#### Look for Xapian
4470
# Extract the first word of "xapian-config", so it can be a program name with args.
4683
# Extract the first word of "xapian-config", so it can be a program name with args.
4471
set dummy xapian-config; ac_word=$2
4684
set dummy xapian-config; ac_word=$2
4472
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4685
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4473
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4686
$as_echo_n "checking for $ac_word... " >&6; }
4474
if test "${ac_cv_path_XAPIAN_CONFIG+set}" = set; then
4687
if test "${ac_cv_path_XAPIAN_CONFIG+set}" = set; then
4475
  echo $ECHO_N "(cached) $ECHO_C" >&6
4688
  $as_echo_n "(cached) " >&6
4476
else
4689
else
4477
  case $XAPIAN_CONFIG in
4690
  case $XAPIAN_CONFIG in
4478
  [\\/]* | ?:[\\/]*)
4691
  [\\/]* | ?:[\\/]*)
4479
  ac_cv_path_XAPIAN_CONFIG="$XAPIAN_CONFIG" # Let the user override the test with a path.
4692
  ac_cv_path_XAPIAN_CONFIG="$XAPIAN_CONFIG" # Let the user override the test with a path.
4480
  ;;
4693
  ;;
...
...
4485
  IFS=$as_save_IFS
4698
  IFS=$as_save_IFS
4486
  test -z "$as_dir" && as_dir=.
4699
  test -z "$as_dir" && as_dir=.
4487
  for ac_exec_ext in '' $ac_executable_extensions; do
4700
  for ac_exec_ext in '' $ac_executable_extensions; do
4488
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4489
    ac_cv_path_XAPIAN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4702
    ac_cv_path_XAPIAN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4490
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4703
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4491
    break 2
4704
    break 2
4492
  fi
4705
  fi
4493
done
4706
done
4494
done
4707
done
4495
IFS=$as_save_IFS
4708
IFS=$as_save_IFS
...
...
4498
  ;;
4711
  ;;
4499
esac
4712
esac
4500
fi
4713
fi
4501
XAPIAN_CONFIG=$ac_cv_path_XAPIAN_CONFIG
4714
XAPIAN_CONFIG=$ac_cv_path_XAPIAN_CONFIG
4502
if test -n "$XAPIAN_CONFIG"; then
4715
if test -n "$XAPIAN_CONFIG"; then
4503
  { echo "$as_me:$LINENO: result: $XAPIAN_CONFIG" >&5
4716
  { $as_echo "$as_me:$LINENO: result: $XAPIAN_CONFIG" >&5
4504
echo "${ECHO_T}$XAPIAN_CONFIG" >&6; }
4717
$as_echo "$XAPIAN_CONFIG" >&6; }
4505
else
4718
else
4506
  { echo "$as_me:$LINENO: result: no" >&5
4719
  { $as_echo "$as_me:$LINENO: result: no" >&5
4507
echo "${ECHO_T}no" >&6; }
4720
$as_echo "no" >&6; }
4508
fi
4721
fi
4509
4722
4510
4723
4511
if test "$XAPIAN_CONFIG" = "no" ; then
4724
if test "$XAPIAN_CONFIG" = "no" ; then
4512
   { { echo "$as_me:$LINENO: error: Cannot find xapian-config command in $PATH. Is
4725
   { { $as_echo "$as_me:$LINENO: error: Cannot find xapian-config command in $PATH. Is
4513
xapian-core installed ?" >&5
4726
xapian-core installed ?" >&5
4514
echo "$as_me: error: Cannot find xapian-config command in $PATH. Is
4727
$as_echo "$as_me: error: Cannot find xapian-config command in $PATH. Is
4515
xapian-core installed ?" >&2;}
4728
xapian-core installed ?" >&2;}
4516
   { (exit 1); exit 1; }; }
4729
   { (exit 1); exit 1; }; }
4517
   exit 1
4730
   exit 1
4518
fi
4731
fi
4519
LIBXAPIAN=`$XAPIAN_CONFIG --libs`
4732
LIBXAPIAN=`$XAPIAN_CONFIG --libs`
...
...
4565
   QMAKE=qmake
4778
   QMAKE=qmake
4566
fi
4779
fi
4567
4780
4568
# Extract the first word of "$QMAKE", so it can be a program name with args.
4781
# Extract the first word of "$QMAKE", so it can be a program name with args.
4569
set dummy $QMAKE; ac_word=$2
4782
set dummy $QMAKE; ac_word=$2
4570
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4783
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4571
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4784
$as_echo_n "checking for $ac_word... " >&6; }
4572
if test "${ac_cv_path_QMAKEPATH+set}" = set; then
4785
if test "${ac_cv_path_QMAKEPATH+set}" = set; then
4573
  echo $ECHO_N "(cached) $ECHO_C" >&6
4786
  $as_echo_n "(cached) " >&6
4574
else
4787
else
4575
  case $QMAKEPATH in
4788
  case $QMAKEPATH in
4576
  [\\/]* | ?:[\\/]*)
4789
  [\\/]* | ?:[\\/]*)
4577
  ac_cv_path_QMAKEPATH="$QMAKEPATH" # Let the user override the test with a path.
4790
  ac_cv_path_QMAKEPATH="$QMAKEPATH" # Let the user override the test with a path.
4578
  ;;
4791
  ;;
...
...
4583
  IFS=$as_save_IFS
4796
  IFS=$as_save_IFS
4584
  test -z "$as_dir" && as_dir=.
4797
  test -z "$as_dir" && as_dir=.
4585
  for ac_exec_ext in '' $ac_executable_extensions; do
4798
  for ac_exec_ext in '' $ac_executable_extensions; do
4586
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587
    ac_cv_path_QMAKEPATH="$as_dir/$ac_word$ac_exec_ext"
4800
    ac_cv_path_QMAKEPATH="$as_dir/$ac_word$ac_exec_ext"
4588
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4801
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4589
    break 2
4802
    break 2
4590
  fi
4803
  fi
4591
done
4804
done
4592
done
4805
done
4593
IFS=$as_save_IFS
4806
IFS=$as_save_IFS
...
...
4596
  ;;
4809
  ;;
4597
esac
4810
esac
4598
fi
4811
fi
4599
QMAKEPATH=$ac_cv_path_QMAKEPATH
4812
QMAKEPATH=$ac_cv_path_QMAKEPATH
4600
if test -n "$QMAKEPATH"; then
4813
if test -n "$QMAKEPATH"; then
4601
  { echo "$as_me:$LINENO: result: $QMAKEPATH" >&5
4814
  { $as_echo "$as_me:$LINENO: result: $QMAKEPATH" >&5
4602
echo "${ECHO_T}$QMAKEPATH" >&6; }
4815
$as_echo "$QMAKEPATH" >&6; }
4603
else
4816
else
4604
  { echo "$as_me:$LINENO: result: no" >&5
4817
  { $as_echo "$as_me:$LINENO: result: no" >&5
4605
echo "${ECHO_T}no" >&6; }
4818
$as_echo "no" >&6; }
4606
fi
4819
fi
4607
4820
4608
4821
4609
if test X$QMAKEPATH = XNOTFOUND ; then
4822
if test X$QMAKEPATH = XNOTFOUND ; then
4610
   { { echo "$as_me:$LINENO: error: Cannot find the qmake program. Maybe you need to install
4823
   { { $as_echo "$as_me:$LINENO: error: Cannot find the qmake program. Maybe you need to install
4611
qt development files and tools and/or set the QTDIR environment variable?" >&5
4824
qt development files and tools and/or set the QTDIR environment variable?" >&5
4612
echo "$as_me: error: Cannot find the qmake program. Maybe you need to install
4825
$as_echo "$as_me: error: Cannot find the qmake program. Maybe you need to install
4613
qt development files and tools and/or set the QTDIR environment variable?" >&2;}
4826
qt development files and tools and/or set the QTDIR environment variable?" >&2;}
4614
   { (exit 1); exit 1; }; }
4827
   { (exit 1); exit 1; }; }
4615
fi
4828
fi
4616
QMAKE=$QMAKEPATH
4829
QMAKE=$QMAKEPATH
4617
4830
...
...
4628
# depend on this. We try to detect the qt 4 version string instead.
4841
# depend on this. We try to detect the qt 4 version string instead.
4629
qmakevers="`${QMAKE} --version 2>&1`"
4842
qmakevers="`${QMAKE} --version 2>&1`"
4630
#echo "qmake version: $qmakevers"
4843
#echo "qmake version: $qmakevers"
4631
v4=`expr "$qmakevers" : '.*Qt  *version  *4.*'`
4844
v4=`expr "$qmakevers" : '.*Qt  *version  *4.*'`
4632
if test X$v4 = X0 ; then
4845
if test X$v4 = X0 ; then
4633
   { echo "$as_me:$LINENO: using qt version 3 user interface" >&5
4846
   { $as_echo "$as_me:$LINENO: using qt version 3 user interface" >&5
4634
echo "$as_me: using qt version 3 user interface" >&6;}
4847
$as_echo "$as_me: using qt version 3 user interface" >&6;}
4635
   QTGUI=qtgui
4848
   QTGUI=qtgui
4636
else
4849
else
4637
  { echo "$as_me:$LINENO: using qt version 4 user interface" >&5
4850
  { $as_echo "$as_me:$LINENO: using qt version 4 user interface" >&5
4638
echo "$as_me: using qt version 4 user interface" >&6;}
4851
$as_echo "$as_me: using qt version 4 user interface" >&6;}
4639
  QTGUI=qt4gui
4852
  QTGUI=qt4gui
4640
  # Extract the first word of "uic3", so it can be a program name with args.
4853
  # Extract the first word of "uic3", so it can be a program name with args.
4641
set dummy uic3; ac_word=$2
4854
set dummy uic3; ac_word=$2
4642
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4855
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4643
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4856
$as_echo_n "checking for $ac_word... " >&6; }
4644
if test "${ac_cv_path_UIC3+set}" = set; then
4857
if test "${ac_cv_path_UIC3+set}" = set; then
4645
  echo $ECHO_N "(cached) $ECHO_C" >&6
4858
  $as_echo_n "(cached) " >&6
4646
else
4859
else
4647
  case $UIC3 in
4860
  case $UIC3 in
4648
  [\\/]* | ?:[\\/]*)
4861
  [\\/]* | ?:[\\/]*)
4649
  ac_cv_path_UIC3="$UIC3" # Let the user override the test with a path.
4862
  ac_cv_path_UIC3="$UIC3" # Let the user override the test with a path.
4650
  ;;
4863
  ;;
...
...
4655
  IFS=$as_save_IFS
4868
  IFS=$as_save_IFS
4656
  test -z "$as_dir" && as_dir=.
4869
  test -z "$as_dir" && as_dir=.
4657
  for ac_exec_ext in '' $ac_executable_extensions; do
4870
  for ac_exec_ext in '' $ac_executable_extensions; do
4658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4871
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659
    ac_cv_path_UIC3="$as_dir/$ac_word$ac_exec_ext"
4872
    ac_cv_path_UIC3="$as_dir/$ac_word$ac_exec_ext"
4660
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4873
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4661
    break 2
4874
    break 2
4662
  fi
4875
  fi
4663
done
4876
done
4664
done
4877
done
4665
IFS=$as_save_IFS
4878
IFS=$as_save_IFS
...
...
4668
  ;;
4881
  ;;
4669
esac
4882
esac
4670
fi
4883
fi
4671
UIC3=$ac_cv_path_UIC3
4884
UIC3=$ac_cv_path_UIC3
4672
if test -n "$UIC3"; then
4885
if test -n "$UIC3"; then
4673
  { echo "$as_me:$LINENO: result: $UIC3" >&5
4886
  { $as_echo "$as_me:$LINENO: result: $UIC3" >&5
4674
echo "${ECHO_T}$UIC3" >&6; }
4887
$as_echo "$UIC3" >&6; }
4675
else
4888
else
4676
  { echo "$as_me:$LINENO: result: no" >&5
4889
  { $as_echo "$as_me:$LINENO: result: no" >&5
4677
echo "${ECHO_T}no" >&6; }
4890
$as_echo "no" >&6; }
4678
fi
4891
fi
4679
4892
4680
4893
4681
  if test X$UIC3 = XNOTFOUND ; then
4894
  if test X$UIC3 = XNOTFOUND ; then
4682
    { { echo "$as_me:$LINENO: error: Cannot find the uic3 program. Maybe you need to add
4895
    { { $as_echo "$as_me:$LINENO: error: Cannot find the uic3 program. Maybe you need to add
4683
    the qt3 compatibility libraries and tools to your qt4 installation ?" >&5
4896
    the qt3 compatibility libraries and tools to your qt4 installation ?" >&5
4684
echo "$as_me: error: Cannot find the uic3 program. Maybe you need to add
4897
$as_echo "$as_me: error: Cannot find the uic3 program. Maybe you need to add
4685
    the qt3 compatibility libraries and tools to your qt4 installation ?" >&2;}
4898
    the qt3 compatibility libraries and tools to your qt4 installation ?" >&2;}
4686
   { (exit 1); exit 1; }; }
4899
   { (exit 1); exit 1; }; }
4687
  fi
4900
  fi
4688
fi
4901
fi
4689
4902
...
...
4694
test -f recoll.pro && chmod +w recoll.pro
4907
test -f recoll.pro && chmod +w recoll.pro
4695
cp recoll.pro.in recoll.pro
4908
cp recoll.pro.in recoll.pro
4696
#echo QMAKE ${QMAKE}
4909
#echo QMAKE ${QMAKE}
4697
${QMAKE} recoll.pro
4910
${QMAKE} recoll.pro
4698
if test $? != 0 ; then
4911
if test $? != 0 ; then
4699
   { { echo "$as_me:$LINENO: error: Cannot use qmake to generate a Makefile. Maybe you need to
4912
   { { $as_echo "$as_me:$LINENO: error: Cannot use qmake to generate a Makefile. Maybe you need to
4700
check the QTDIR and QMAKESPEC environment variables?" >&5
4913
check the QTDIR and QMAKESPEC environment variables?" >&5
4701
echo "$as_me: error: Cannot use qmake to generate a Makefile. Maybe you need to
4914
$as_echo "$as_me: error: Cannot use qmake to generate a Makefile. Maybe you need to
4702
check the QTDIR and QMAKESPEC environment variables?" >&2;}
4915
check the QTDIR and QMAKESPEC environment variables?" >&2;}
4703
   { (exit 1); exit 1; }; }
4916
   { (exit 1); exit 1; }; }
4704
fi
4917
fi
4705
# is QTDIR set and do we actually need it ?
4918
# is QTDIR set and do we actually need it ?
4706
if test X$QTDIR = X ; then
4919
if test X$QTDIR = X ; then
4707
   QTDIRNEEDED=`grep INCPATH Makefile | grep = | grep QTDIR`
4920
   QTDIRNEEDED=`grep INCPATH Makefile | grep = | grep QTDIR`
4708
   if test "X$QTDIRNEEDED" != "X" ; then
4921
   if test "X$QTDIRNEEDED" != "X" ; then
4709
       { { echo "$as_me:$LINENO: error: You need to set the QTDIR variable to point to the QT
4922
       { { $as_echo "$as_me:$LINENO: error: You need to set the QTDIR variable to point to the QT
4710
installation. If there is no default mkspecs, you should also set QMAKESPEC" >&5
4923
installation. If there is no default mkspecs, you should also set QMAKESPEC" >&5
4711
echo "$as_me: error: You need to set the QTDIR variable to point to the QT
4924
$as_echo "$as_me: error: You need to set the QTDIR variable to point to the QT
4712
installation. If there is no default mkspecs, you should also set QMAKESPEC" >&2;}
4925
installation. If there is no default mkspecs, you should also set QMAKESPEC" >&2;}
4713
   { (exit 1); exit 1; }; }
4926
   { (exit 1); exit 1; }; }
4714
   fi
4927
   fi
4715
fi
4928
fi
4716
cd ..
4929
cd ..
...
...
4721
ac_ext=cpp
4934
ac_ext=cpp
4722
ac_cpp='$CXXCPP $CPPFLAGS'
4935
ac_cpp='$CXXCPP $CPPFLAGS'
4723
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4936
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4724
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4937
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4725
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4938
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4726
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4939
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4727
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4940
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4728
if test -z "$CXXCPP"; then
4941
if test -z "$CXXCPP"; then
4729
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4942
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
4730
  echo $ECHO_N "(cached) $ECHO_C" >&6
4943
  $as_echo_n "(cached) " >&6
4731
else
4944
else
4732
      # Double quotes because CXXCPP needs to be expanded
4945
      # Double quotes because CXXCPP needs to be expanded
4733
    for CXXCPP in "$CXX -E" "/lib/cpp"
4946
    for CXXCPP in "$CXX -E" "/lib/cpp"
4734
    do
4947
    do
4735
      ac_preproc_ok=false
4948
      ac_preproc_ok=false
...
...
4757
if { (ac_try="$ac_cpp conftest.$ac_ext"
4970
if { (ac_try="$ac_cpp conftest.$ac_ext"
4758
case "(($ac_try" in
4971
case "(($ac_try" in
4759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760
  *) ac_try_echo=$ac_try;;
4973
  *) ac_try_echo=$ac_try;;
4761
esac
4974
esac
4762
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4975
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4976
$as_echo "$ac_try_echo") >&5
4763
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4977
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4764
  ac_status=$?
4978
  ac_status=$?
4765
  grep -v '^ *+' conftest.er1 >conftest.err
4979
  grep -v '^ *+' conftest.er1 >conftest.err
4766
  rm -f conftest.er1
4980
  rm -f conftest.er1
4767
  cat conftest.err >&5
4981
  cat conftest.err >&5
4768
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769
  (exit $ac_status); } >/dev/null && {
4983
  (exit $ac_status); } >/dev/null && {
4770
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4984
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4771
     test ! -s conftest.err
4985
     test ! -s conftest.err
4772
       }; then
4986
       }; then
4773
  :
4987
  :
4774
else
4988
else
4775
  echo "$as_me: failed program was:" >&5
4989
  $as_echo "$as_me: failed program was:" >&5
4776
sed 's/^/| /' conftest.$ac_ext >&5
4990
sed 's/^/| /' conftest.$ac_ext >&5
4777
4991
4778
  # Broken: fails on valid input.
4992
  # Broken: fails on valid input.
4779
continue
4993
continue
4780
fi
4994
fi
...
...
4794
if { (ac_try="$ac_cpp conftest.$ac_ext"
5008
if { (ac_try="$ac_cpp conftest.$ac_ext"
4795
case "(($ac_try" in
5009
case "(($ac_try" in
4796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5010
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4797
  *) ac_try_echo=$ac_try;;
5011
  *) ac_try_echo=$ac_try;;
4798
esac
5012
esac
4799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5013
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5014
$as_echo "$ac_try_echo") >&5
4800
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5015
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4801
  ac_status=$?
5016
  ac_status=$?
4802
  grep -v '^ *+' conftest.er1 >conftest.err
5017
  grep -v '^ *+' conftest.er1 >conftest.err
4803
  rm -f conftest.er1
5018
  rm -f conftest.er1
4804
  cat conftest.err >&5
5019
  cat conftest.err >&5
4805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806
  (exit $ac_status); } >/dev/null && {
5021
  (exit $ac_status); } >/dev/null && {
4807
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5022
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4808
     test ! -s conftest.err
5023
     test ! -s conftest.err
4809
       }; then
5024
       }; then
4810
  # Broken: success on invalid input.
5025
  # Broken: success on invalid input.
4811
continue
5026
continue
4812
else
5027
else
4813
  echo "$as_me: failed program was:" >&5
5028
  $as_echo "$as_me: failed program was:" >&5
4814
sed 's/^/| /' conftest.$ac_ext >&5
5029
sed 's/^/| /' conftest.$ac_ext >&5
4815
5030
4816
  # Passes both tests.
5031
  # Passes both tests.
4817
ac_preproc_ok=:
5032
ac_preproc_ok=:
4818
break
5033
break
...
...
4833
fi
5048
fi
4834
  CXXCPP=$ac_cv_prog_CXXCPP
5049
  CXXCPP=$ac_cv_prog_CXXCPP
4835
else
5050
else
4836
  ac_cv_prog_CXXCPP=$CXXCPP
5051
  ac_cv_prog_CXXCPP=$CXXCPP
4837
fi
5052
fi
4838
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5053
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
4839
echo "${ECHO_T}$CXXCPP" >&6; }
5054
$as_echo "$CXXCPP" >&6; }
4840
ac_preproc_ok=false
5055
ac_preproc_ok=false
4841
for ac_cxx_preproc_warn_flag in '' yes
5056
for ac_cxx_preproc_warn_flag in '' yes
4842
do
5057
do
4843
  # Use a header file that comes with gcc, so configuring glibc
5058
  # Use a header file that comes with gcc, so configuring glibc
4844
  # with a fresh cross-compiler works.
5059
  # with a fresh cross-compiler works.
...
...
4862
if { (ac_try="$ac_cpp conftest.$ac_ext"
5077
if { (ac_try="$ac_cpp conftest.$ac_ext"
4863
case "(($ac_try" in
5078
case "(($ac_try" in
4864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865
  *) ac_try_echo=$ac_try;;
5080
  *) ac_try_echo=$ac_try;;
4866
esac
5081
esac
4867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5082
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5083
$as_echo "$ac_try_echo") >&5
4868
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5084
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4869
  ac_status=$?
5085
  ac_status=$?
4870
  grep -v '^ *+' conftest.er1 >conftest.err
5086
  grep -v '^ *+' conftest.er1 >conftest.err
4871
  rm -f conftest.er1
5087
  rm -f conftest.er1
4872
  cat conftest.err >&5
5088
  cat conftest.err >&5
4873
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874
  (exit $ac_status); } >/dev/null && {
5090
  (exit $ac_status); } >/dev/null && {
4875
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5091
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4876
     test ! -s conftest.err
5092
     test ! -s conftest.err
4877
       }; then
5093
       }; then
4878
  :
5094
  :
4879
else
5095
else
4880
  echo "$as_me: failed program was:" >&5
5096
  $as_echo "$as_me: failed program was:" >&5
4881
sed 's/^/| /' conftest.$ac_ext >&5
5097
sed 's/^/| /' conftest.$ac_ext >&5
4882
5098
4883
  # Broken: fails on valid input.
5099
  # Broken: fails on valid input.
4884
continue
5100
continue
4885
fi
5101
fi
...
...
4899
if { (ac_try="$ac_cpp conftest.$ac_ext"
5115
if { (ac_try="$ac_cpp conftest.$ac_ext"
4900
case "(($ac_try" in
5116
case "(($ac_try" in
4901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5117
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4902
  *) ac_try_echo=$ac_try;;
5118
  *) ac_try_echo=$ac_try;;
4903
esac
5119
esac
4904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5120
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5121
$as_echo "$ac_try_echo") >&5
4905
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5122
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4906
  ac_status=$?
5123
  ac_status=$?
4907
  grep -v '^ *+' conftest.er1 >conftest.err
5124
  grep -v '^ *+' conftest.er1 >conftest.err
4908
  rm -f conftest.er1
5125
  rm -f conftest.er1
4909
  cat conftest.err >&5
5126
  cat conftest.err >&5
4910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911
  (exit $ac_status); } >/dev/null && {
5128
  (exit $ac_status); } >/dev/null && {
4912
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5129
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4913
     test ! -s conftest.err
5130
     test ! -s conftest.err
4914
       }; then
5131
       }; then
4915
  # Broken: success on invalid input.
5132
  # Broken: success on invalid input.
4916
continue
5133
continue
4917
else
5134
else
4918
  echo "$as_me: failed program was:" >&5
5135
  $as_echo "$as_me: failed program was:" >&5
4919
sed 's/^/| /' conftest.$ac_ext >&5
5136
sed 's/^/| /' conftest.$ac_ext >&5
4920
5137
4921
  # Passes both tests.
5138
  # Passes both tests.
4922
ac_preproc_ok=:
5139
ac_preproc_ok=:
4923
break
5140
break
...
...
4929
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5146
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4930
rm -f conftest.err conftest.$ac_ext
5147
rm -f conftest.err conftest.$ac_ext
4931
if $ac_preproc_ok; then
5148
if $ac_preproc_ok; then
4932
  :
5149
  :
4933
else
5150
else
5151
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4934
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5153
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4935
See \`config.log' for more details." >&5
5154
See \`config.log' for more details." >&5
4936
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5155
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4937
See \`config.log' for more details." >&2;}
5156
See \`config.log' for more details." >&2;}
4938
   { (exit 1); exit 1; }; }
5157
   { (exit 1); exit 1; }; }; }
4939
fi
5158
fi
4940
5159
4941
ac_ext=cpp
5160
ac_ext=cpp
4942
ac_cpp='$CXXCPP $CPPFLAGS'
5161
ac_cpp='$CXXCPP $CPPFLAGS'
4943
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4944
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4945
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5164
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4946
5165
4947
5166
4948
{ echo "$as_me:$LINENO: checking for X" >&5
5167
{ $as_echo "$as_me:$LINENO: checking for X" >&5
4949
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
5168
$as_echo_n "checking for X... " >&6; }
4950
5169
4951
5170
4952
# Check whether --with-x was given.
5171
# Check whether --with-x was given.
4953
if test "${with_x+set}" = set; then
5172
if test "${with_x+set}" = set; then
4954
  withval=$with_x;
5173
  withval=$with_x;
...
...
4958
if test "x$with_x" = xno; then
5177
if test "x$with_x" = xno; then
4959
  # The user explicitly disabled X.
5178
  # The user explicitly disabled X.
4960
  have_x=disabled
5179
  have_x=disabled
4961
else
5180
else
4962
  case $x_includes,$x_libraries in #(
5181
  case $x_includes,$x_libraries in #(
4963
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
5182
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
4964
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
5183
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
4965
   { (exit 1); exit 1; }; };; #(
5184
   { (exit 1); exit 1; }; };; #(
4966
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
5185
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
4967
  echo $ECHO_N "(cached) $ECHO_C" >&6
5186
  $as_echo_n "(cached) " >&6
4968
else
5187
else
4969
  # One or both of the vars are not set, and there is no cached value.
5188
  # One or both of the vars are not set, and there is no cached value.
4970
ac_x_includes=no ac_x_libraries=no
5189
ac_x_includes=no ac_x_libraries=no
4971
rm -f -r conftest.dir
5190
rm -f -r conftest.dir
4972
if mkdir conftest.dir; then
5191
if mkdir conftest.dir; then
...
...
4983
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5202
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4984
    for ac_var in incroot usrlibdir libdir; do
5203
    for ac_var in incroot usrlibdir libdir; do
4985
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
5204
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4986
    done
5205
    done
4987
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5206
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4988
    for ac_extension in a so sl; do
5207
    for ac_extension in a so sl dylib la dll; do
4989
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
5208
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4990
     test -f "$ac_im_libdir/libX11.$ac_extension"; then
5209
     test -f "$ac_im_libdir/libX11.$ac_extension"; then
4991
    ac_im_usrlibdir=$ac_im_libdir; break
5210
    ac_im_usrlibdir=$ac_im_libdir; break
4992
      fi
5211
      fi
4993
    done
5212
    done
...
...
4997
    case $ac_im_incroot in
5216
    case $ac_im_incroot in
4998
    /usr/include) ac_x_includes= ;;
5217
    /usr/include) ac_x_includes= ;;
4999
    *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5218
    *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5000
    esac
5219
    esac
5001
    case $ac_im_usrlibdir in
5220
    case $ac_im_usrlibdir in
5002
  /usr/lib | /lib) ;;
5221
  /usr/lib | /usr/lib64 | /lib | /lib64) ;;
5003
    *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5222
    *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5004
    esac
5223
    esac
5005
  fi
5224
  fi
5006
  cd ..
5225
  cd ..
5007
  rm -f -r conftest.dir
5226
  rm -f -r conftest.dir
...
...
5058
if { (ac_try="$ac_cpp conftest.$ac_ext"
5277
if { (ac_try="$ac_cpp conftest.$ac_ext"
5059
case "(($ac_try" in
5278
case "(($ac_try" in
5060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5061
  *) ac_try_echo=$ac_try;;
5280
  *) ac_try_echo=$ac_try;;
5062
esac
5281
esac
5063
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5283
$as_echo "$ac_try_echo") >&5
5064
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5284
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5065
  ac_status=$?
5285
  ac_status=$?
5066
  grep -v '^ *+' conftest.er1 >conftest.err
5286
  grep -v '^ *+' conftest.er1 >conftest.err
5067
  rm -f conftest.er1
5287
  rm -f conftest.er1
5068
  cat conftest.err >&5
5288
  cat conftest.err >&5
5069
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
  (exit $ac_status); } >/dev/null && {
5290
  (exit $ac_status); } >/dev/null && {
5071
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5291
     test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5072
     test ! -s conftest.err
5292
     test ! -s conftest.err
5073
       }; then
5293
       }; then
5074
  # We can compile using X headers with no special include directory.
5294
  # We can compile using X headers with no special include directory.
5075
ac_x_includes=
5295
ac_x_includes=
5076
else
5296
else
5077
  echo "$as_me: failed program was:" >&5
5297
  $as_echo "$as_me: failed program was:" >&5
5078
sed 's/^/| /' conftest.$ac_ext >&5
5298
sed 's/^/| /' conftest.$ac_ext >&5
5079
5299
5080
  for ac_dir in $ac_x_header_dirs; do
5300
  for ac_dir in $ac_x_header_dirs; do
5081
  if test -r "$ac_dir/X11/Xlib.h"; then
5301
  if test -r "$ac_dir/X11/Xlib.h"; then
5082
    ac_x_includes=$ac_dir
5302
    ac_x_includes=$ac_dir
...
...
5113
if { (ac_try="$ac_link"
5333
if { (ac_try="$ac_link"
5114
case "(($ac_try" in
5334
case "(($ac_try" in
5115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5335
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5116
  *) ac_try_echo=$ac_try;;
5336
  *) ac_try_echo=$ac_try;;
5117
esac
5337
esac
5118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5338
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5339
$as_echo "$ac_try_echo") >&5
5119
  (eval "$ac_link") 2>conftest.er1
5340
  (eval "$ac_link") 2>conftest.er1
5120
  ac_status=$?
5341
  ac_status=$?
5121
  grep -v '^ *+' conftest.er1 >conftest.err
5342
  grep -v '^ *+' conftest.er1 >conftest.err
5122
  rm -f conftest.er1
5343
  rm -f conftest.er1
5123
  cat conftest.err >&5
5344
  cat conftest.err >&5
5124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125
  (exit $ac_status); } && {
5346
  (exit $ac_status); } && {
5126
     test -z "$ac_cxx_werror_flag" ||
5347
     test -z "$ac_cxx_werror_flag" ||
5127
     test ! -s conftest.err
5348
     test ! -s conftest.err
5128
       } && test -s conftest$ac_exeext &&
5349
       } && test -s conftest$ac_exeext && {
5350
   test "$cross_compiling" = yes ||
5129
       $as_test_x conftest$ac_exeext; then
5351
   $as_test_x conftest$ac_exeext
5352
       }; then
5130
  LIBS=$ac_save_LIBS
5353
  LIBS=$ac_save_LIBS
5131
# We can link X programs with no special library path.
5354
# We can link X programs with no special library path.
5132
ac_x_libraries=
5355
ac_x_libraries=
5133
else
5356
else
5134
  echo "$as_me: failed program was:" >&5
5357
  $as_echo "$as_me: failed program was:" >&5
5135
sed 's/^/| /' conftest.$ac_ext >&5
5358
sed 's/^/| /' conftest.$ac_ext >&5
5136
5359
5137
    LIBS=$ac_save_LIBS
5360
    LIBS=$ac_save_LIBS
5138
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5361
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5139
do
5362
do
5140
  # Don't even attempt the hair of trying to link an X program!
5363
  # Don't even attempt the hair of trying to link an X program!
5141
  for ac_extension in a so sl; do
5364
  for ac_extension in a so sl dylib la dll; do
5142
    if test -r "$ac_dir/libX11.$ac_extension"; then
5365
    if test -r "$ac_dir/libX11.$ac_extension"; then
5143
      ac_x_libraries=$ac_dir
5366
      ac_x_libraries=$ac_dir
5144
      break 2
5367
      break 2
5145
    fi
5368
    fi
5146
  done
5369
  done
5147
done
5370
done
5148
fi
5371
fi
5149
5372
5373
rm -rf conftest.dSYM
5150
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5374
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5151
      conftest$ac_exeext conftest.$ac_ext
5375
      conftest$ac_exeext conftest.$ac_ext
5152
fi # $ac_x_libraries = no
5376
fi # $ac_x_libraries = no
5153
5377
5154
case $ac_x_includes,$ac_x_libraries in #(
5378
case $ac_x_includes,$ac_x_libraries in #(
...
...
5167
  esac
5391
  esac
5168
  eval "$ac_cv_have_x"
5392
  eval "$ac_cv_have_x"
5169
fi # $with_x != no
5393
fi # $with_x != no
5170
5394
5171
if test "$have_x" != yes; then
5395
if test "$have_x" != yes; then
5172
  { echo "$as_me:$LINENO: result: $have_x" >&5
5396
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
5173
echo "${ECHO_T}$have_x" >&6; }
5397
$as_echo "$have_x" >&6; }
5174
  no_x=yes
5398
  no_x=yes
5175
else
5399
else
5176
  # If each of the values was on the command line, it overrides each guess.
5400
  # If each of the values was on the command line, it overrides each guess.
5177
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5401
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5178
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5402
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5179
  # Update the cache value to reflect the command line values.
5403
  # Update the cache value to reflect the command line values.
5180
  ac_cv_have_x="have_x=yes\
5404
  ac_cv_have_x="have_x=yes\
5181
    ac_x_includes='$x_includes'\
5405
    ac_x_includes='$x_includes'\
5182
    ac_x_libraries='$x_libraries'"
5406
    ac_x_libraries='$x_libraries'"
5183
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5407
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5184
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
5408
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
5185
fi
5409
fi
5186
5410
5187
if test "$no_x" = yes; then
5411
if test "$no_x" = yes; then
5188
  # Not all programs may use this symbol, but it does not hurt to define it.
5412
  # Not all programs may use this symbol, but it does not hurt to define it.
5189
5413
...
...
5200
  # It would also be nice to do this for all -L options, not just this one.
5424
  # It would also be nice to do this for all -L options, not just this one.
5201
  if test -n "$x_libraries"; then
5425
  if test -n "$x_libraries"; then
5202
    X_LIBS="$X_LIBS -L$x_libraries"
5426
    X_LIBS="$X_LIBS -L$x_libraries"
5203
    # For Solaris; some versions of Sun CC require a space after -R and
5427
    # For Solaris; some versions of Sun CC require a space after -R and
5204
    # others require no space.  Words are not sufficient . . . .
5428
    # others require no space.  Words are not sufficient . . . .
5205
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5429
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5206
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
5430
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
5207
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5431
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
5208
    ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
5432
    ac_xsave_cxx_werror_flag=$ac_cxx_werror_flag
5209
    ac_cxx_werror_flag=yes
5433
    ac_cxx_werror_flag=yes
5210
    cat >conftest.$ac_ext <<_ACEOF
5434
    cat >conftest.$ac_ext <<_ACEOF
5211
/* confdefs.h.  */
5435
/* confdefs.h.  */
...
...
5226
if { (ac_try="$ac_link"
5450
if { (ac_try="$ac_link"
5227
case "(($ac_try" in
5451
case "(($ac_try" in
5228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5229
  *) ac_try_echo=$ac_try;;
5453
  *) ac_try_echo=$ac_try;;
5230
esac
5454
esac
5231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5456
$as_echo "$ac_try_echo") >&5
5232
  (eval "$ac_link") 2>conftest.er1
5457
  (eval "$ac_link") 2>conftest.er1
5233
  ac_status=$?
5458
  ac_status=$?
5234
  grep -v '^ *+' conftest.er1 >conftest.err
5459
  grep -v '^ *+' conftest.er1 >conftest.err
5235
  rm -f conftest.er1
5460
  rm -f conftest.er1
5236
  cat conftest.err >&5
5461
  cat conftest.err >&5
5237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238
  (exit $ac_status); } && {
5463
  (exit $ac_status); } && {
5239
     test -z "$ac_cxx_werror_flag" ||
5464
     test -z "$ac_cxx_werror_flag" ||
5240
     test ! -s conftest.err
5465
     test ! -s conftest.err
5241
       } && test -s conftest$ac_exeext &&
5466
       } && test -s conftest$ac_exeext && {
5467
   test "$cross_compiling" = yes ||
5242
       $as_test_x conftest$ac_exeext; then
5468
   $as_test_x conftest$ac_exeext
5469
       }; then
5243
  { echo "$as_me:$LINENO: result: no" >&5
5470
  { $as_echo "$as_me:$LINENO: result: no" >&5
5244
echo "${ECHO_T}no" >&6; }
5471
$as_echo "no" >&6; }
5245
       X_LIBS="$X_LIBS -R$x_libraries"
5472
       X_LIBS="$X_LIBS -R$x_libraries"
5246
else
5473
else
5247
  echo "$as_me: failed program was:" >&5
5474
  $as_echo "$as_me: failed program was:" >&5
5248
sed 's/^/| /' conftest.$ac_ext >&5
5475
sed 's/^/| /' conftest.$ac_ext >&5
5249
5476
5250
    LIBS="$ac_xsave_LIBS -R $x_libraries"
5477
    LIBS="$ac_xsave_LIBS -R $x_libraries"
5251
       cat >conftest.$ac_ext <<_ACEOF
5478
       cat >conftest.$ac_ext <<_ACEOF
5252
/* confdefs.h.  */
5479
/* confdefs.h.  */
...
...
5267
if { (ac_try="$ac_link"
5494
if { (ac_try="$ac_link"
5268
case "(($ac_try" in
5495
case "(($ac_try" in
5269
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5496
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5270
  *) ac_try_echo=$ac_try;;
5497
  *) ac_try_echo=$ac_try;;
5271
esac
5498
esac
5272
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5499
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5500
$as_echo "$ac_try_echo") >&5
5273
  (eval "$ac_link") 2>conftest.er1
5501
  (eval "$ac_link") 2>conftest.er1
5274
  ac_status=$?
5502
  ac_status=$?
5275
  grep -v '^ *+' conftest.er1 >conftest.err
5503
  grep -v '^ *+' conftest.er1 >conftest.err
5276
  rm -f conftest.er1
5504
  rm -f conftest.er1
5277
  cat conftest.err >&5
5505
  cat conftest.err >&5
5278
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279
  (exit $ac_status); } && {
5507
  (exit $ac_status); } && {
5280
     test -z "$ac_cxx_werror_flag" ||
5508
     test -z "$ac_cxx_werror_flag" ||
5281
     test ! -s conftest.err
5509
     test ! -s conftest.err
5282
       } && test -s conftest$ac_exeext &&
5510
       } && test -s conftest$ac_exeext && {
5511
   test "$cross_compiling" = yes ||
5283
       $as_test_x conftest$ac_exeext; then
5512
   $as_test_x conftest$ac_exeext
5513
       }; then
5284
  { echo "$as_me:$LINENO: result: yes" >&5
5514
  { $as_echo "$as_me:$LINENO: result: yes" >&5
5285
echo "${ECHO_T}yes" >&6; }
5515
$as_echo "yes" >&6; }
5286
      X_LIBS="$X_LIBS -R $x_libraries"
5516
      X_LIBS="$X_LIBS -R $x_libraries"
5287
else
5517
else
5288
  echo "$as_me: failed program was:" >&5
5518
  $as_echo "$as_me: failed program was:" >&5
5289
sed 's/^/| /' conftest.$ac_ext >&5
5519
sed 's/^/| /' conftest.$ac_ext >&5
5290
5520
5291
    { echo "$as_me:$LINENO: result: neither works" >&5
5521
    { $as_echo "$as_me:$LINENO: result: neither works" >&5
5292
echo "${ECHO_T}neither works" >&6; }
5522
$as_echo "neither works" >&6; }
5293
fi
5523
fi
5294
5524
5525
rm -rf conftest.dSYM
5295
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5526
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5296
      conftest$ac_exeext conftest.$ac_ext
5527
      conftest$ac_exeext conftest.$ac_ext
5297
fi
5528
fi
5298
5529
5530
rm -rf conftest.dSYM
5299
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5531
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5300
      conftest$ac_exeext conftest.$ac_ext
5532
      conftest$ac_exeext conftest.$ac_ext
5301
    ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
5533
    ac_cxx_werror_flag=$ac_xsave_cxx_werror_flag
5302
    LIBS=$ac_xsave_LIBS
5534
    LIBS=$ac_xsave_LIBS
5303
  fi
5535
  fi
...
...
5339
if { (ac_try="$ac_link"
5571
if { (ac_try="$ac_link"
5340
case "(($ac_try" in
5572
case "(($ac_try" in
5341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342
  *) ac_try_echo=$ac_try;;
5574
  *) ac_try_echo=$ac_try;;
5343
esac
5575
esac
5344
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5576
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5577
$as_echo "$ac_try_echo") >&5
5345
  (eval "$ac_link") 2>conftest.er1
5578
  (eval "$ac_link") 2>conftest.er1
5346
  ac_status=$?
5579
  ac_status=$?
5347
  grep -v '^ *+' conftest.er1 >conftest.err
5580
  grep -v '^ *+' conftest.er1 >conftest.err
5348
  rm -f conftest.er1
5581
  rm -f conftest.er1
5349
  cat conftest.err >&5
5582
  cat conftest.err >&5
5350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351
  (exit $ac_status); } && {
5584
  (exit $ac_status); } && {
5352
     test -z "$ac_cxx_werror_flag" ||
5585
     test -z "$ac_cxx_werror_flag" ||
5353
     test ! -s conftest.err
5586
     test ! -s conftest.err
5354
       } && test -s conftest$ac_exeext &&
5587
       } && test -s conftest$ac_exeext && {
5588
   test "$cross_compiling" = yes ||
5355
       $as_test_x conftest$ac_exeext; then
5589
   $as_test_x conftest$ac_exeext
5590
       }; then
5356
  :
5591
  :
5357
else
5592
else
5358
  echo "$as_me: failed program was:" >&5
5593
  $as_echo "$as_me: failed program was:" >&5
5359
sed 's/^/| /' conftest.$ac_ext >&5
5594
sed 's/^/| /' conftest.$ac_ext >&5
5360
5595
5361
    { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5596
    { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5362
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
5597
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5363
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5598
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5364
  echo $ECHO_N "(cached) $ECHO_C" >&6
5599
  $as_echo_n "(cached) " >&6
5365
else
5600
else
5366
  ac_check_lib_save_LIBS=$LIBS
5601
  ac_check_lib_save_LIBS=$LIBS
5367
LIBS="-ldnet  $LIBS"
5602
LIBS="-ldnet  $LIBS"
5368
cat >conftest.$ac_ext <<_ACEOF
5603
cat >conftest.$ac_ext <<_ACEOF
5369
/* confdefs.h.  */
5604
/* confdefs.h.  */
...
...
5391
if { (ac_try="$ac_link"
5626
if { (ac_try="$ac_link"
5392
case "(($ac_try" in
5627
case "(($ac_try" in
5393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5628
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5394
  *) ac_try_echo=$ac_try;;
5629
  *) ac_try_echo=$ac_try;;
5395
esac
5630
esac
5396
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5632
$as_echo "$ac_try_echo") >&5
5397
  (eval "$ac_link") 2>conftest.er1
5633
  (eval "$ac_link") 2>conftest.er1
5398
  ac_status=$?
5634
  ac_status=$?
5399
  grep -v '^ *+' conftest.er1 >conftest.err
5635
  grep -v '^ *+' conftest.er1 >conftest.err
5400
  rm -f conftest.er1
5636
  rm -f conftest.er1
5401
  cat conftest.err >&5
5637
  cat conftest.err >&5
5402
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403
  (exit $ac_status); } && {
5639
  (exit $ac_status); } && {
5404
     test -z "$ac_cxx_werror_flag" ||
5640
     test -z "$ac_cxx_werror_flag" ||
5405
     test ! -s conftest.err
5641
     test ! -s conftest.err
5406
       } && test -s conftest$ac_exeext &&
5642
       } && test -s conftest$ac_exeext && {
5643
   test "$cross_compiling" = yes ||
5407
       $as_test_x conftest$ac_exeext; then
5644
   $as_test_x conftest$ac_exeext
5645
       }; then
5408
  ac_cv_lib_dnet_dnet_ntoa=yes
5646
  ac_cv_lib_dnet_dnet_ntoa=yes
5409
else
5647
else
5410
  echo "$as_me: failed program was:" >&5
5648
  $as_echo "$as_me: failed program was:" >&5
5411
sed 's/^/| /' conftest.$ac_ext >&5
5649
sed 's/^/| /' conftest.$ac_ext >&5
5412
5650
5413
    ac_cv_lib_dnet_dnet_ntoa=no
5651
    ac_cv_lib_dnet_dnet_ntoa=no
5414
fi
5652
fi
5415
5653
5654
rm -rf conftest.dSYM
5416
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5655
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5417
      conftest$ac_exeext conftest.$ac_ext
5656
      conftest$ac_exeext conftest.$ac_ext
5418
LIBS=$ac_check_lib_save_LIBS
5657
LIBS=$ac_check_lib_save_LIBS
5419
fi
5658
fi
5420
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5659
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5421
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5660
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5422
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5661
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
5423
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5662
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5424
fi
5663
fi
5425
5664
5426
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5665
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5427
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5666
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5428
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
5667
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5429
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5668
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5430
  echo $ECHO_N "(cached) $ECHO_C" >&6
5669
  $as_echo_n "(cached) " >&6
5431
else
5670
else
5432
  ac_check_lib_save_LIBS=$LIBS
5671
  ac_check_lib_save_LIBS=$LIBS
5433
LIBS="-ldnet_stub  $LIBS"
5672
LIBS="-ldnet_stub  $LIBS"
5434
cat >conftest.$ac_ext <<_ACEOF
5673
cat >conftest.$ac_ext <<_ACEOF
5435
/* confdefs.h.  */
5674
/* confdefs.h.  */
...
...
5457
if { (ac_try="$ac_link"
5696
if { (ac_try="$ac_link"
5458
case "(($ac_try" in
5697
case "(($ac_try" in
5459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5460
  *) ac_try_echo=$ac_try;;
5699
  *) ac_try_echo=$ac_try;;
5461
esac
5700
esac
5462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5701
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5702
$as_echo "$ac_try_echo") >&5
5463
  (eval "$ac_link") 2>conftest.er1
5703
  (eval "$ac_link") 2>conftest.er1
5464
  ac_status=$?
5704
  ac_status=$?
5465
  grep -v '^ *+' conftest.er1 >conftest.err
5705
  grep -v '^ *+' conftest.er1 >conftest.err
5466
  rm -f conftest.er1
5706
  rm -f conftest.er1
5467
  cat conftest.err >&5
5707
  cat conftest.err >&5
5468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469
  (exit $ac_status); } && {
5709
  (exit $ac_status); } && {
5470
     test -z "$ac_cxx_werror_flag" ||
5710
     test -z "$ac_cxx_werror_flag" ||
5471
     test ! -s conftest.err
5711
     test ! -s conftest.err
5472
       } && test -s conftest$ac_exeext &&
5712
       } && test -s conftest$ac_exeext && {
5713
   test "$cross_compiling" = yes ||
5473
       $as_test_x conftest$ac_exeext; then
5714
   $as_test_x conftest$ac_exeext
5715
       }; then
5474
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
5716
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
5475
else
5717
else
5476
  echo "$as_me: failed program was:" >&5
5718
  $as_echo "$as_me: failed program was:" >&5
5477
sed 's/^/| /' conftest.$ac_ext >&5
5719
sed 's/^/| /' conftest.$ac_ext >&5
5478
5720
5479
    ac_cv_lib_dnet_stub_dnet_ntoa=no
5721
    ac_cv_lib_dnet_stub_dnet_ntoa=no
5480
fi
5722
fi
5481
5723
5724
rm -rf conftest.dSYM
5482
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5725
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5483
      conftest$ac_exeext conftest.$ac_ext
5726
      conftest$ac_exeext conftest.$ac_ext
5484
LIBS=$ac_check_lib_save_LIBS
5727
LIBS=$ac_check_lib_save_LIBS
5485
fi
5728
fi
5486
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5729
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5487
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5730
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5488
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5731
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
5489
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5732
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5490
fi
5733
fi
5491
5734
5492
    fi
5735
    fi
5493
fi
5736
fi
5494
5737
5738
rm -rf conftest.dSYM
5495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5739
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5496
      conftest$ac_exeext conftest.$ac_ext
5740
      conftest$ac_exeext conftest.$ac_ext
5497
    LIBS="$ac_xsave_LIBS"
5741
    LIBS="$ac_xsave_LIBS"
5498
5742
5499
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5743
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
...
...
5502
    # needs -lnsl.
5746
    # needs -lnsl.
5503
    # The nsl library prevents programs from opening the X display
5747
    # The nsl library prevents programs from opening the X display
5504
    # on Irix 5.2, according to T.E. Dickey.
5748
    # on Irix 5.2, according to T.E. Dickey.
5505
    # The functions gethostbyname, getservbyname, and inet_addr are
5749
    # The functions gethostbyname, getservbyname, and inet_addr are
5506
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5750
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5507
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
5751
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
5508
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
5752
$as_echo_n "checking for gethostbyname... " >&6; }
5509
if test "${ac_cv_func_gethostbyname+set}" = set; then
5753
if test "${ac_cv_func_gethostbyname+set}" = set; then
5510
  echo $ECHO_N "(cached) $ECHO_C" >&6
5754
  $as_echo_n "(cached) " >&6
5511
else
5755
else
5512
  cat >conftest.$ac_ext <<_ACEOF
5756
  cat >conftest.$ac_ext <<_ACEOF
5513
/* confdefs.h.  */
5757
/* confdefs.h.  */
5514
_ACEOF
5758
_ACEOF
5515
cat confdefs.h >>conftest.$ac_ext
5759
cat confdefs.h >>conftest.$ac_ext
...
...
5558
if { (ac_try="$ac_link"
5802
if { (ac_try="$ac_link"
5559
case "(($ac_try" in
5803
case "(($ac_try" in
5560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5561
  *) ac_try_echo=$ac_try;;
5805
  *) ac_try_echo=$ac_try;;
5562
esac
5806
esac
5563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5808
$as_echo "$ac_try_echo") >&5
5564
  (eval "$ac_link") 2>conftest.er1
5809
  (eval "$ac_link") 2>conftest.er1
5565
  ac_status=$?
5810
  ac_status=$?
5566
  grep -v '^ *+' conftest.er1 >conftest.err
5811
  grep -v '^ *+' conftest.er1 >conftest.err
5567
  rm -f conftest.er1
5812
  rm -f conftest.er1
5568
  cat conftest.err >&5
5813
  cat conftest.err >&5
5569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570
  (exit $ac_status); } && {
5815
  (exit $ac_status); } && {
5571
     test -z "$ac_cxx_werror_flag" ||
5816
     test -z "$ac_cxx_werror_flag" ||
5572
     test ! -s conftest.err
5817
     test ! -s conftest.err
5573
       } && test -s conftest$ac_exeext &&
5818
       } && test -s conftest$ac_exeext && {
5819
   test "$cross_compiling" = yes ||
5574
       $as_test_x conftest$ac_exeext; then
5820
   $as_test_x conftest$ac_exeext
5821
       }; then
5575
  ac_cv_func_gethostbyname=yes
5822
  ac_cv_func_gethostbyname=yes
5576
else
5823
else
5577
  echo "$as_me: failed program was:" >&5
5824
  $as_echo "$as_me: failed program was:" >&5
5578
sed 's/^/| /' conftest.$ac_ext >&5
5825
sed 's/^/| /' conftest.$ac_ext >&5
5579
5826
5580
    ac_cv_func_gethostbyname=no
5827
    ac_cv_func_gethostbyname=no
5581
fi
5828
fi
5582
5829
5830
rm -rf conftest.dSYM
5583
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5831
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5584
      conftest$ac_exeext conftest.$ac_ext
5832
      conftest$ac_exeext conftest.$ac_ext
5585
fi
5833
fi
5586
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5834
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5587
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
5835
$as_echo "$ac_cv_func_gethostbyname" >&6; }
5588
5836
5589
    if test $ac_cv_func_gethostbyname = no; then
5837
    if test $ac_cv_func_gethostbyname = no; then
5590
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5838
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5591
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
5839
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5592
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5840
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5593
  echo $ECHO_N "(cached) $ECHO_C" >&6
5841
  $as_echo_n "(cached) " >&6
5594
else
5842
else
5595
  ac_check_lib_save_LIBS=$LIBS
5843
  ac_check_lib_save_LIBS=$LIBS
5596
LIBS="-lnsl  $LIBS"
5844
LIBS="-lnsl  $LIBS"
5597
cat >conftest.$ac_ext <<_ACEOF
5845
cat >conftest.$ac_ext <<_ACEOF
5598
/* confdefs.h.  */
5846
/* confdefs.h.  */
...
...
5620
if { (ac_try="$ac_link"
5868
if { (ac_try="$ac_link"
5621
case "(($ac_try" in
5869
case "(($ac_try" in
5622
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5623
  *) ac_try_echo=$ac_try;;
5871
  *) ac_try_echo=$ac_try;;
5624
esac
5872
esac
5625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5873
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5874
$as_echo "$ac_try_echo") >&5
5626
  (eval "$ac_link") 2>conftest.er1
5875
  (eval "$ac_link") 2>conftest.er1
5627
  ac_status=$?
5876
  ac_status=$?
5628
  grep -v '^ *+' conftest.er1 >conftest.err
5877
  grep -v '^ *+' conftest.er1 >conftest.err
5629
  rm -f conftest.er1
5878
  rm -f conftest.er1
5630
  cat conftest.err >&5
5879
  cat conftest.err >&5
5631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632
  (exit $ac_status); } && {
5881
  (exit $ac_status); } && {
5633
     test -z "$ac_cxx_werror_flag" ||
5882
     test -z "$ac_cxx_werror_flag" ||
5634
     test ! -s conftest.err
5883
     test ! -s conftest.err
5635
       } && test -s conftest$ac_exeext &&
5884
       } && test -s conftest$ac_exeext && {
5885
   test "$cross_compiling" = yes ||
5636
       $as_test_x conftest$ac_exeext; then
5886
   $as_test_x conftest$ac_exeext
5887
       }; then
5637
  ac_cv_lib_nsl_gethostbyname=yes
5888
  ac_cv_lib_nsl_gethostbyname=yes
5638
else
5889
else
5639
  echo "$as_me: failed program was:" >&5
5890
  $as_echo "$as_me: failed program was:" >&5
5640
sed 's/^/| /' conftest.$ac_ext >&5
5891
sed 's/^/| /' conftest.$ac_ext >&5
5641
5892
5642
    ac_cv_lib_nsl_gethostbyname=no
5893
    ac_cv_lib_nsl_gethostbyname=no
5643
fi
5894
fi
5644
5895
5896
rm -rf conftest.dSYM
5645
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5897
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5646
      conftest$ac_exeext conftest.$ac_ext
5898
      conftest$ac_exeext conftest.$ac_ext
5647
LIBS=$ac_check_lib_save_LIBS
5899
LIBS=$ac_check_lib_save_LIBS
5648
fi
5900
fi
5649
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5901
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5650
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5902
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5651
if test $ac_cv_lib_nsl_gethostbyname = yes; then
5903
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
5652
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5904
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5653
fi
5905
fi
5654
5906
5655
      if test $ac_cv_lib_nsl_gethostbyname = no; then
5907
      if test $ac_cv_lib_nsl_gethostbyname = no; then
5656
    { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5908
    { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5657
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
5909
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5658
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5910
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5659
  echo $ECHO_N "(cached) $ECHO_C" >&6
5911
  $as_echo_n "(cached) " >&6
5660
else
5912
else
5661
  ac_check_lib_save_LIBS=$LIBS
5913
  ac_check_lib_save_LIBS=$LIBS
5662
LIBS="-lbsd  $LIBS"
5914
LIBS="-lbsd  $LIBS"
5663
cat >conftest.$ac_ext <<_ACEOF
5915
cat >conftest.$ac_ext <<_ACEOF
5664
/* confdefs.h.  */
5916
/* confdefs.h.  */
...
...
5686
if { (ac_try="$ac_link"
5938
if { (ac_try="$ac_link"
5687
case "(($ac_try" in
5939
case "(($ac_try" in
5688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5689
  *) ac_try_echo=$ac_try;;
5941
  *) ac_try_echo=$ac_try;;
5690
esac
5942
esac
5691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5943
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5944
$as_echo "$ac_try_echo") >&5
5692
  (eval "$ac_link") 2>conftest.er1
5945
  (eval "$ac_link") 2>conftest.er1
5693
  ac_status=$?
5946
  ac_status=$?
5694
  grep -v '^ *+' conftest.er1 >conftest.err
5947
  grep -v '^ *+' conftest.er1 >conftest.err
5695
  rm -f conftest.er1
5948
  rm -f conftest.er1
5696
  cat conftest.err >&5
5949
  cat conftest.err >&5
5697
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698
  (exit $ac_status); } && {
5951
  (exit $ac_status); } && {
5699
     test -z "$ac_cxx_werror_flag" ||
5952
     test -z "$ac_cxx_werror_flag" ||
5700
     test ! -s conftest.err
5953
     test ! -s conftest.err
5701
       } && test -s conftest$ac_exeext &&
5954
       } && test -s conftest$ac_exeext && {
5955
   test "$cross_compiling" = yes ||
5702
       $as_test_x conftest$ac_exeext; then
5956
   $as_test_x conftest$ac_exeext
5957
       }; then
5703
  ac_cv_lib_bsd_gethostbyname=yes
5958
  ac_cv_lib_bsd_gethostbyname=yes
5704
else
5959
else
5705
  echo "$as_me: failed program was:" >&5
5960
  $as_echo "$as_me: failed program was:" >&5
5706
sed 's/^/| /' conftest.$ac_ext >&5
5961
sed 's/^/| /' conftest.$ac_ext >&5
5707
5962
5708
    ac_cv_lib_bsd_gethostbyname=no
5963
    ac_cv_lib_bsd_gethostbyname=no
5709
fi
5964
fi
5710
5965
5966
rm -rf conftest.dSYM
5711
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5967
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5712
      conftest$ac_exeext conftest.$ac_ext
5968
      conftest$ac_exeext conftest.$ac_ext
5713
LIBS=$ac_check_lib_save_LIBS
5969
LIBS=$ac_check_lib_save_LIBS
5714
fi
5970
fi
5715
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5971
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5716
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
5972
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
5717
if test $ac_cv_lib_bsd_gethostbyname = yes; then
5973
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
5718
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5974
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5719
fi
5975
fi
5720
5976
5721
      fi
5977
      fi
5722
    fi
5978
    fi
...
...
5726
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
5982
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
5727
    # on later versions), says Simon Leinen: it contains gethostby*
5983
    # on later versions), says Simon Leinen: it contains gethostby*
5728
    # variants that don't use the name server (or something).  -lsocket
5984
    # variants that don't use the name server (or something).  -lsocket
5729
    # must be given before -lnsl if both are needed.  We assume that
5985
    # must be given before -lnsl if both are needed.  We assume that
5730
    # if connect needs -lnsl, so does gethostbyname.
5986
    # if connect needs -lnsl, so does gethostbyname.
5731
    { echo "$as_me:$LINENO: checking for connect" >&5
5987
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
5732
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
5988
$as_echo_n "checking for connect... " >&6; }
5733
if test "${ac_cv_func_connect+set}" = set; then
5989
if test "${ac_cv_func_connect+set}" = set; then
5734
  echo $ECHO_N "(cached) $ECHO_C" >&6
5990
  $as_echo_n "(cached) " >&6
5735
else
5991
else
5736
  cat >conftest.$ac_ext <<_ACEOF
5992
  cat >conftest.$ac_ext <<_ACEOF
5737
/* confdefs.h.  */
5993
/* confdefs.h.  */
5738
_ACEOF
5994
_ACEOF
5739
cat confdefs.h >>conftest.$ac_ext
5995
cat confdefs.h >>conftest.$ac_ext
...
...
5782
if { (ac_try="$ac_link"
6038
if { (ac_try="$ac_link"
5783
case "(($ac_try" in
6039
case "(($ac_try" in
5784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5785
  *) ac_try_echo=$ac_try;;
6041
  *) ac_try_echo=$ac_try;;
5786
esac
6042
esac
5787
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6043
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6044
$as_echo "$ac_try_echo") >&5
5788
  (eval "$ac_link") 2>conftest.er1
6045
  (eval "$ac_link") 2>conftest.er1
5789
  ac_status=$?
6046
  ac_status=$?
5790
  grep -v '^ *+' conftest.er1 >conftest.err
6047
  grep -v '^ *+' conftest.er1 >conftest.err
5791
  rm -f conftest.er1
6048
  rm -f conftest.er1
5792
  cat conftest.err >&5
6049
  cat conftest.err >&5
5793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794
  (exit $ac_status); } && {
6051
  (exit $ac_status); } && {
5795
     test -z "$ac_cxx_werror_flag" ||
6052
     test -z "$ac_cxx_werror_flag" ||
5796
     test ! -s conftest.err
6053
     test ! -s conftest.err
5797
       } && test -s conftest$ac_exeext &&
6054
       } && test -s conftest$ac_exeext && {
6055
   test "$cross_compiling" = yes ||
5798
       $as_test_x conftest$ac_exeext; then
6056
   $as_test_x conftest$ac_exeext
6057
       }; then
5799
  ac_cv_func_connect=yes
6058
  ac_cv_func_connect=yes
5800
else
6059
else
5801
  echo "$as_me: failed program was:" >&5
6060
  $as_echo "$as_me: failed program was:" >&5
5802
sed 's/^/| /' conftest.$ac_ext >&5
6061
sed 's/^/| /' conftest.$ac_ext >&5
5803
6062
5804
    ac_cv_func_connect=no
6063
    ac_cv_func_connect=no
5805
fi
6064
fi
5806
6065
6066
rm -rf conftest.dSYM
5807
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6067
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5808
      conftest$ac_exeext conftest.$ac_ext
6068
      conftest$ac_exeext conftest.$ac_ext
5809
fi
6069
fi
5810
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6070
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5811
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
6071
$as_echo "$ac_cv_func_connect" >&6; }
5812
6072
5813
    if test $ac_cv_func_connect = no; then
6073
    if test $ac_cv_func_connect = no; then
5814
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6074
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5815
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
6075
$as_echo_n "checking for connect in -lsocket... " >&6; }
5816
if test "${ac_cv_lib_socket_connect+set}" = set; then
6076
if test "${ac_cv_lib_socket_connect+set}" = set; then
5817
  echo $ECHO_N "(cached) $ECHO_C" >&6
6077
  $as_echo_n "(cached) " >&6
5818
else
6078
else
5819
  ac_check_lib_save_LIBS=$LIBS
6079
  ac_check_lib_save_LIBS=$LIBS
5820
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
6080
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5821
cat >conftest.$ac_ext <<_ACEOF
6081
cat >conftest.$ac_ext <<_ACEOF
5822
/* confdefs.h.  */
6082
/* confdefs.h.  */
...
...
5844
if { (ac_try="$ac_link"
6104
if { (ac_try="$ac_link"
5845
case "(($ac_try" in
6105
case "(($ac_try" in
5846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6106
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5847
  *) ac_try_echo=$ac_try;;
6107
  *) ac_try_echo=$ac_try;;
5848
esac
6108
esac
5849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6109
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6110
$as_echo "$ac_try_echo") >&5
5850
  (eval "$ac_link") 2>conftest.er1
6111
  (eval "$ac_link") 2>conftest.er1
5851
  ac_status=$?
6112
  ac_status=$?
5852
  grep -v '^ *+' conftest.er1 >conftest.err
6113
  grep -v '^ *+' conftest.er1 >conftest.err
5853
  rm -f conftest.er1
6114
  rm -f conftest.er1
5854
  cat conftest.err >&5
6115
  cat conftest.err >&5
5855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856
  (exit $ac_status); } && {
6117
  (exit $ac_status); } && {
5857
     test -z "$ac_cxx_werror_flag" ||
6118
     test -z "$ac_cxx_werror_flag" ||
5858
     test ! -s conftest.err
6119
     test ! -s conftest.err
5859
       } && test -s conftest$ac_exeext &&
6120
       } && test -s conftest$ac_exeext && {
6121
   test "$cross_compiling" = yes ||
5860
       $as_test_x conftest$ac_exeext; then
6122
   $as_test_x conftest$ac_exeext
6123
       }; then
5861
  ac_cv_lib_socket_connect=yes
6124
  ac_cv_lib_socket_connect=yes
5862
else
6125
else
5863
  echo "$as_me: failed program was:" >&5
6126
  $as_echo "$as_me: failed program was:" >&5
5864
sed 's/^/| /' conftest.$ac_ext >&5
6127
sed 's/^/| /' conftest.$ac_ext >&5
5865
6128
5866
    ac_cv_lib_socket_connect=no
6129
    ac_cv_lib_socket_connect=no
5867
fi
6130
fi
5868
6131
6132
rm -rf conftest.dSYM
5869
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6133
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5870
      conftest$ac_exeext conftest.$ac_ext
6134
      conftest$ac_exeext conftest.$ac_ext
5871
LIBS=$ac_check_lib_save_LIBS
6135
LIBS=$ac_check_lib_save_LIBS
5872
fi
6136
fi
5873
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6137
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5874
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
6138
$as_echo "$ac_cv_lib_socket_connect" >&6; }
5875
if test $ac_cv_lib_socket_connect = yes; then
6139
if test "x$ac_cv_lib_socket_connect" = x""yes; then
5876
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
6140
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5877
fi
6141
fi
5878
6142
5879
    fi
6143
    fi
5880
6144
5881
    # Guillermo Gomez says -lposix is necessary on A/UX.
6145
    # Guillermo Gomez says -lposix is necessary on A/UX.
5882
    { echo "$as_me:$LINENO: checking for remove" >&5
6146
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
5883
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
6147
$as_echo_n "checking for remove... " >&6; }
5884
if test "${ac_cv_func_remove+set}" = set; then
6148
if test "${ac_cv_func_remove+set}" = set; then
5885
  echo $ECHO_N "(cached) $ECHO_C" >&6
6149
  $as_echo_n "(cached) " >&6
5886
else
6150
else
5887
  cat >conftest.$ac_ext <<_ACEOF
6151
  cat >conftest.$ac_ext <<_ACEOF
5888
/* confdefs.h.  */
6152
/* confdefs.h.  */
5889
_ACEOF
6153
_ACEOF
5890
cat confdefs.h >>conftest.$ac_ext
6154
cat confdefs.h >>conftest.$ac_ext
...
...
5933
if { (ac_try="$ac_link"
6197
if { (ac_try="$ac_link"
5934
case "(($ac_try" in
6198
case "(($ac_try" in
5935
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6199
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5936
  *) ac_try_echo=$ac_try;;
6200
  *) ac_try_echo=$ac_try;;
5937
esac
6201
esac
5938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6202
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6203
$as_echo "$ac_try_echo") >&5
5939
  (eval "$ac_link") 2>conftest.er1
6204
  (eval "$ac_link") 2>conftest.er1
5940
  ac_status=$?
6205
  ac_status=$?
5941
  grep -v '^ *+' conftest.er1 >conftest.err
6206
  grep -v '^ *+' conftest.er1 >conftest.err
5942
  rm -f conftest.er1
6207
  rm -f conftest.er1
5943
  cat conftest.err >&5
6208
  cat conftest.err >&5
5944
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945
  (exit $ac_status); } && {
6210
  (exit $ac_status); } && {
5946
     test -z "$ac_cxx_werror_flag" ||
6211
     test -z "$ac_cxx_werror_flag" ||
5947
     test ! -s conftest.err
6212
     test ! -s conftest.err
5948
       } && test -s conftest$ac_exeext &&
6213
       } && test -s conftest$ac_exeext && {
6214
   test "$cross_compiling" = yes ||
5949
       $as_test_x conftest$ac_exeext; then
6215
   $as_test_x conftest$ac_exeext
6216
       }; then
5950
  ac_cv_func_remove=yes
6217
  ac_cv_func_remove=yes
5951
else
6218
else
5952
  echo "$as_me: failed program was:" >&5
6219
  $as_echo "$as_me: failed program was:" >&5
5953
sed 's/^/| /' conftest.$ac_ext >&5
6220
sed 's/^/| /' conftest.$ac_ext >&5
5954
6221
5955
    ac_cv_func_remove=no
6222
    ac_cv_func_remove=no
5956
fi
6223
fi
5957
6224
6225
rm -rf conftest.dSYM
5958
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6226
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5959
      conftest$ac_exeext conftest.$ac_ext
6227
      conftest$ac_exeext conftest.$ac_ext
5960
fi
6228
fi
5961
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6229
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5962
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
6230
$as_echo "$ac_cv_func_remove" >&6; }
5963
6231
5964
    if test $ac_cv_func_remove = no; then
6232
    if test $ac_cv_func_remove = no; then
5965
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6233
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5966
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
6234
$as_echo_n "checking for remove in -lposix... " >&6; }
5967
if test "${ac_cv_lib_posix_remove+set}" = set; then
6235
if test "${ac_cv_lib_posix_remove+set}" = set; then
5968
  echo $ECHO_N "(cached) $ECHO_C" >&6
6236
  $as_echo_n "(cached) " >&6
5969
else
6237
else
5970
  ac_check_lib_save_LIBS=$LIBS
6238
  ac_check_lib_save_LIBS=$LIBS
5971
LIBS="-lposix  $LIBS"
6239
LIBS="-lposix  $LIBS"
5972
cat >conftest.$ac_ext <<_ACEOF
6240
cat >conftest.$ac_ext <<_ACEOF
5973
/* confdefs.h.  */
6241
/* confdefs.h.  */
...
...
5995
if { (ac_try="$ac_link"
6263
if { (ac_try="$ac_link"
5996
case "(($ac_try" in
6264
case "(($ac_try" in
5997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5998
  *) ac_try_echo=$ac_try;;
6266
  *) ac_try_echo=$ac_try;;
5999
esac
6267
esac
6000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6269
$as_echo "$ac_try_echo") >&5
6001
  (eval "$ac_link") 2>conftest.er1
6270
  (eval "$ac_link") 2>conftest.er1
6002
  ac_status=$?
6271
  ac_status=$?
6003
  grep -v '^ *+' conftest.er1 >conftest.err
6272
  grep -v '^ *+' conftest.er1 >conftest.err
6004
  rm -f conftest.er1
6273
  rm -f conftest.er1
6005
  cat conftest.err >&5
6274
  cat conftest.err >&5
6006
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007
  (exit $ac_status); } && {
6276
  (exit $ac_status); } && {
6008
     test -z "$ac_cxx_werror_flag" ||
6277
     test -z "$ac_cxx_werror_flag" ||
6009
     test ! -s conftest.err
6278
     test ! -s conftest.err
6010
       } && test -s conftest$ac_exeext &&
6279
       } && test -s conftest$ac_exeext && {
6280
   test "$cross_compiling" = yes ||
6011
       $as_test_x conftest$ac_exeext; then
6281
   $as_test_x conftest$ac_exeext
6282
       }; then
6012
  ac_cv_lib_posix_remove=yes
6283
  ac_cv_lib_posix_remove=yes
6013
else
6284
else
6014
  echo "$as_me: failed program was:" >&5
6285
  $as_echo "$as_me: failed program was:" >&5
6015
sed 's/^/| /' conftest.$ac_ext >&5
6286
sed 's/^/| /' conftest.$ac_ext >&5
6016
6287
6017
    ac_cv_lib_posix_remove=no
6288
    ac_cv_lib_posix_remove=no
6018
fi
6289
fi
6019
6290
6291
rm -rf conftest.dSYM
6020
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6292
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6021
      conftest$ac_exeext conftest.$ac_ext
6293
      conftest$ac_exeext conftest.$ac_ext
6022
LIBS=$ac_check_lib_save_LIBS
6294
LIBS=$ac_check_lib_save_LIBS
6023
fi
6295
fi
6024
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6296
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6025
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
6297
$as_echo "$ac_cv_lib_posix_remove" >&6; }
6026
if test $ac_cv_lib_posix_remove = yes; then
6298
if test "x$ac_cv_lib_posix_remove" = x""yes; then
6027
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6299
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
6028
fi
6300
fi
6029
6301
6030
    fi
6302
    fi
6031
6303
6032
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6304
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6033
    { echo "$as_me:$LINENO: checking for shmat" >&5
6305
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
6034
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
6306
$as_echo_n "checking for shmat... " >&6; }
6035
if test "${ac_cv_func_shmat+set}" = set; then
6307
if test "${ac_cv_func_shmat+set}" = set; then
6036
  echo $ECHO_N "(cached) $ECHO_C" >&6
6308
  $as_echo_n "(cached) " >&6
6037
else
6309
else
6038
  cat >conftest.$ac_ext <<_ACEOF
6310
  cat >conftest.$ac_ext <<_ACEOF
6039
/* confdefs.h.  */
6311
/* confdefs.h.  */
6040
_ACEOF
6312
_ACEOF
6041
cat confdefs.h >>conftest.$ac_ext
6313
cat confdefs.h >>conftest.$ac_ext
...
...
6084
if { (ac_try="$ac_link"
6356
if { (ac_try="$ac_link"
6085
case "(($ac_try" in
6357
case "(($ac_try" in
6086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6087
  *) ac_try_echo=$ac_try;;
6359
  *) ac_try_echo=$ac_try;;
6088
esac
6360
esac
6089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6361
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6362
$as_echo "$ac_try_echo") >&5
6090
  (eval "$ac_link") 2>conftest.er1
6363
  (eval "$ac_link") 2>conftest.er1
6091
  ac_status=$?
6364
  ac_status=$?
6092
  grep -v '^ *+' conftest.er1 >conftest.err
6365
  grep -v '^ *+' conftest.er1 >conftest.err
6093
  rm -f conftest.er1
6366
  rm -f conftest.er1
6094
  cat conftest.err >&5
6367
  cat conftest.err >&5
6095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096
  (exit $ac_status); } && {
6369
  (exit $ac_status); } && {
6097
     test -z "$ac_cxx_werror_flag" ||
6370
     test -z "$ac_cxx_werror_flag" ||
6098
     test ! -s conftest.err
6371
     test ! -s conftest.err
6099
       } && test -s conftest$ac_exeext &&
6372
       } && test -s conftest$ac_exeext && {
6373
   test "$cross_compiling" = yes ||
6100
       $as_test_x conftest$ac_exeext; then
6374
   $as_test_x conftest$ac_exeext
6375
       }; then
6101
  ac_cv_func_shmat=yes
6376
  ac_cv_func_shmat=yes
6102
else
6377
else
6103
  echo "$as_me: failed program was:" >&5
6378
  $as_echo "$as_me: failed program was:" >&5
6104
sed 's/^/| /' conftest.$ac_ext >&5
6379
sed 's/^/| /' conftest.$ac_ext >&5
6105
6380
6106
    ac_cv_func_shmat=no
6381
    ac_cv_func_shmat=no
6107
fi
6382
fi
6108
6383
6384
rm -rf conftest.dSYM
6109
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6385
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6110
      conftest$ac_exeext conftest.$ac_ext
6386
      conftest$ac_exeext conftest.$ac_ext
6111
fi
6387
fi
6112
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6388
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6113
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
6389
$as_echo "$ac_cv_func_shmat" >&6; }
6114
6390
6115
    if test $ac_cv_func_shmat = no; then
6391
    if test $ac_cv_func_shmat = no; then
6116
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6392
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6117
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
6393
$as_echo_n "checking for shmat in -lipc... " >&6; }
6118
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6394
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6119
  echo $ECHO_N "(cached) $ECHO_C" >&6
6395
  $as_echo_n "(cached) " >&6
6120
else
6396
else
6121
  ac_check_lib_save_LIBS=$LIBS
6397
  ac_check_lib_save_LIBS=$LIBS
6122
LIBS="-lipc  $LIBS"
6398
LIBS="-lipc  $LIBS"
6123
cat >conftest.$ac_ext <<_ACEOF
6399
cat >conftest.$ac_ext <<_ACEOF
6124
/* confdefs.h.  */
6400
/* confdefs.h.  */
...
...
6146
if { (ac_try="$ac_link"
6422
if { (ac_try="$ac_link"
6147
case "(($ac_try" in
6423
case "(($ac_try" in
6148
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6424
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6149
  *) ac_try_echo=$ac_try;;
6425
  *) ac_try_echo=$ac_try;;
6150
esac
6426
esac
6151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6427
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6428
$as_echo "$ac_try_echo") >&5
6152
  (eval "$ac_link") 2>conftest.er1
6429
  (eval "$ac_link") 2>conftest.er1
6153
  ac_status=$?
6430
  ac_status=$?
6154
  grep -v '^ *+' conftest.er1 >conftest.err
6431
  grep -v '^ *+' conftest.er1 >conftest.err
6155
  rm -f conftest.er1
6432
  rm -f conftest.er1
6156
  cat conftest.err >&5
6433
  cat conftest.err >&5
6157
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158
  (exit $ac_status); } && {
6435
  (exit $ac_status); } && {
6159
     test -z "$ac_cxx_werror_flag" ||
6436
     test -z "$ac_cxx_werror_flag" ||
6160
     test ! -s conftest.err
6437
     test ! -s conftest.err
6161
       } && test -s conftest$ac_exeext &&
6438
       } && test -s conftest$ac_exeext && {
6439
   test "$cross_compiling" = yes ||
6162
       $as_test_x conftest$ac_exeext; then
6440
   $as_test_x conftest$ac_exeext
6441
       }; then
6163
  ac_cv_lib_ipc_shmat=yes
6442
  ac_cv_lib_ipc_shmat=yes
6164
else
6443
else
6165
  echo "$as_me: failed program was:" >&5
6444
  $as_echo "$as_me: failed program was:" >&5
6166
sed 's/^/| /' conftest.$ac_ext >&5
6445
sed 's/^/| /' conftest.$ac_ext >&5
6167
6446
6168
    ac_cv_lib_ipc_shmat=no
6447
    ac_cv_lib_ipc_shmat=no
6169
fi
6448
fi
6170
6449
6450
rm -rf conftest.dSYM
6171
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6451
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6172
      conftest$ac_exeext conftest.$ac_ext
6452
      conftest$ac_exeext conftest.$ac_ext
6173
LIBS=$ac_check_lib_save_LIBS
6453
LIBS=$ac_check_lib_save_LIBS
6174
fi
6454
fi
6175
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6455
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6176
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
6456
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
6177
if test $ac_cv_lib_ipc_shmat = yes; then
6457
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
6178
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6458
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
6179
fi
6459
fi
6180
6460
6181
    fi
6461
    fi
6182
  fi
6462
  fi
...
...
6188
  # check for ICE first), but we must link in the order -lSM -lICE or
6468
  # check for ICE first), but we must link in the order -lSM -lICE or
6189
  # we get undefined symbols.  So assume we have SM if we have ICE.
6469
  # we get undefined symbols.  So assume we have SM if we have ICE.
6190
  # These have to be linked with before -lX11, unlike the other
6470
  # These have to be linked with before -lX11, unlike the other
6191
  # libraries we check for below, so use a different variable.
6471
  # libraries we check for below, so use a different variable.
6192
  # John Interrante, Karl Berry
6472
  # John Interrante, Karl Berry
6193
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6473
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6194
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
6474
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
6195
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6475
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6196
  echo $ECHO_N "(cached) $ECHO_C" >&6
6476
  $as_echo_n "(cached) " >&6
6197
else
6477
else
6198
  ac_check_lib_save_LIBS=$LIBS
6478
  ac_check_lib_save_LIBS=$LIBS
6199
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6479
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
6200
cat >conftest.$ac_ext <<_ACEOF
6480
cat >conftest.$ac_ext <<_ACEOF
6201
/* confdefs.h.  */
6481
/* confdefs.h.  */
...
...
6223
if { (ac_try="$ac_link"
6503
if { (ac_try="$ac_link"
6224
case "(($ac_try" in
6504
case "(($ac_try" in
6225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6505
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6226
  *) ac_try_echo=$ac_try;;
6506
  *) ac_try_echo=$ac_try;;
6227
esac
6507
esac
6228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6509
$as_echo "$ac_try_echo") >&5
6229
  (eval "$ac_link") 2>conftest.er1
6510
  (eval "$ac_link") 2>conftest.er1
6230
  ac_status=$?
6511
  ac_status=$?
6231
  grep -v '^ *+' conftest.er1 >conftest.err
6512
  grep -v '^ *+' conftest.er1 >conftest.err
6232
  rm -f conftest.er1
6513
  rm -f conftest.er1
6233
  cat conftest.err >&5
6514
  cat conftest.err >&5
6234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235
  (exit $ac_status); } && {
6516
  (exit $ac_status); } && {
6236
     test -z "$ac_cxx_werror_flag" ||
6517
     test -z "$ac_cxx_werror_flag" ||
6237
     test ! -s conftest.err
6518
     test ! -s conftest.err
6238
       } && test -s conftest$ac_exeext &&
6519
       } && test -s conftest$ac_exeext && {
6520
   test "$cross_compiling" = yes ||
6239
       $as_test_x conftest$ac_exeext; then
6521
   $as_test_x conftest$ac_exeext
6522
       }; then
6240
  ac_cv_lib_ICE_IceConnectionNumber=yes
6523
  ac_cv_lib_ICE_IceConnectionNumber=yes
6241
else
6524
else
6242
  echo "$as_me: failed program was:" >&5
6525
  $as_echo "$as_me: failed program was:" >&5
6243
sed 's/^/| /' conftest.$ac_ext >&5
6526
sed 's/^/| /' conftest.$ac_ext >&5
6244
6527
6245
    ac_cv_lib_ICE_IceConnectionNumber=no
6528
    ac_cv_lib_ICE_IceConnectionNumber=no
6246
fi
6529
fi
6247
6530
6531
rm -rf conftest.dSYM
6248
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6532
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6249
      conftest$ac_exeext conftest.$ac_ext
6533
      conftest$ac_exeext conftest.$ac_ext
6250
LIBS=$ac_check_lib_save_LIBS
6534
LIBS=$ac_check_lib_save_LIBS
6251
fi
6535
fi
6252
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6536
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6253
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6537
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
6254
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6538
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
6255
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
6539
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
6256
fi
6540
fi
6257
6541
6258
  LDFLAGS=$ac_save_LDFLAGS
6542
  LDFLAGS=$ac_save_LDFLAGS
6259
6543
...
...
6327
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6611
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6328
    eval ac_val=\$$ac_var
6612
    eval ac_val=\$$ac_var
6329
    case $ac_val in #(
6613
    case $ac_val in #(
6330
    *${as_nl}*)
6614
    *${as_nl}*)
6331
      case $ac_var in #(
6615
      case $ac_var in #(
6332
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6616
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
6333
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6617
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6334
      esac
6618
      esac
6335
      case $ac_var in #(
6619
      case $ac_var in #(
6336
      _ | IFS | as_nl) ;; #(
6620
      _ | IFS | as_nl) ;; #(
6621
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6337
      *) $as_unset $ac_var ;;
6622
      *) $as_unset $ac_var ;;
6338
      esac ;;
6623
      esac ;;
6339
    esac
6624
    esac
6340
  done
6625
  done
6341
6626
...
...
6364
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6649
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6365
     :end' >>confcache
6650
     :end' >>confcache
6366
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6651
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6367
  if test -w "$cache_file"; then
6652
  if test -w "$cache_file"; then
6368
    test "x$cache_file" != "x/dev/null" &&
6653
    test "x$cache_file" != "x/dev/null" &&
6369
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6654
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
6370
echo "$as_me: updating cache $cache_file" >&6;}
6655
$as_echo "$as_me: updating cache $cache_file" >&6;}
6371
    cat confcache >$cache_file
6656
    cat confcache >$cache_file
6372
  else
6657
  else
6373
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6658
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6374
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6659
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6375
  fi
6660
  fi
6376
fi
6661
fi
6377
rm -f confcache
6662
rm -f confcache
6378
6663
6379
test "x$prefix" = xNONE && prefix=$ac_default_prefix
6664
test "x$prefix" = xNONE && prefix=$ac_default_prefix
...
...
6385
ac_libobjs=
6670
ac_libobjs=
6386
ac_ltlibobjs=
6671
ac_ltlibobjs=
6387
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6672
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6388
  # 1. Remove the extension, and $U if already installed.
6673
  # 1. Remove the extension, and $U if already installed.
6389
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6674
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6390
  ac_i=`echo "$ac_i" | sed "$ac_script"`
6675
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6391
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6676
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6392
  #    will be set to the directory where LIBOBJS objects are built.
6677
  #    will be set to the directory where LIBOBJS objects are built.
6393
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6678
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6394
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6679
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6395
done
6680
done
...
...
6398
LTLIBOBJS=$ac_ltlibobjs
6683
LTLIBOBJS=$ac_ltlibobjs
6399
6684
6400
6685
6401
6686
6402
: ${CONFIG_STATUS=./config.status}
6687
: ${CONFIG_STATUS=./config.status}
6688
ac_write_fail=0
6403
ac_clean_files_save=$ac_clean_files
6689
ac_clean_files_save=$ac_clean_files
6404
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6690
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6405
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6691
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6406
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6692
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6407
cat >$CONFIG_STATUS <<_ACEOF
6693
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6408
#! $SHELL
6694
#! $SHELL
6409
# Generated by $as_me.
6695
# Generated by $as_me.
6410
# Run this file to recreate the current configuration.
6696
# Run this file to recreate the current configuration.
6411
# Compiler output produced by configure, useful for debugging
6697
# Compiler output produced by configure, useful for debugging
6412
# configure, is in config.log if it exists.
6698
# configure, is in config.log if it exists.
...
...
6415
ac_cs_recheck=false
6701
ac_cs_recheck=false
6416
ac_cs_silent=false
6702
ac_cs_silent=false
6417
SHELL=\${CONFIG_SHELL-$SHELL}
6703
SHELL=\${CONFIG_SHELL-$SHELL}
6418
_ACEOF
6704
_ACEOF
6419
6705
6420
cat >>$CONFIG_STATUS <<\_ACEOF
6706
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6421
## --------------------- ##
6707
## --------------------- ##
6422
## M4sh Initialization.  ##
6708
## M4sh Initialization.  ##
6423
## --------------------- ##
6709
## --------------------- ##
6424
6710
6425
# Be more Bourne compatible
6711
# Be more Bourne compatible
6426
DUALCASE=1; export DUALCASE # for MKS sh
6712
DUALCASE=1; export DUALCASE # for MKS sh
6427
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6713
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6428
  emulate sh
6714
  emulate sh
6429
  NULLCMD=:
6715
  NULLCMD=:
6430
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6716
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6431
  # is contrary to our usage.  Disable this feature.
6717
  # is contrary to our usage.  Disable this feature.
6432
  alias -g '${1+"$@"}'='"$@"'
6718
  alias -g '${1+"$@"}'='"$@"'
6433
  setopt NO_GLOB_SUBST
6719
  setopt NO_GLOB_SUBST
6434
else
6720
else
6435
  case `(set -o) 2>/dev/null` in
6721
  case `(set -o) 2>/dev/null` in
...
...
6447
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6733
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6448
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6734
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6449
as_cr_digits='0123456789'
6735
as_cr_digits='0123456789'
6450
as_cr_alnum=$as_cr_Letters$as_cr_digits
6736
as_cr_alnum=$as_cr_Letters$as_cr_digits
6451
6737
6738
as_nl='
6739
'
6740
export as_nl
6741
# Printing a long string crashes Solaris 7 /usr/bin/printf.
6742
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6743
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6744
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6745
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6746
  as_echo='printf %s\n'
6747
  as_echo_n='printf %s'
6748
else
6749
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6750
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6751
    as_echo_n='/usr/ucb/echo -n'
6752
  else
6753
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6754
    as_echo_n_body='eval
6755
      arg=$1;
6756
      case $arg in
6757
      *"$as_nl"*)
6758
  expr "X$arg" : "X\\(.*\\)$as_nl";
6759
  arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6760
      esac;
6761
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6762
    '
6763
    export as_echo_n_body
6764
    as_echo_n='sh -c $as_echo_n_body as_echo'
6765
  fi
6766
  export as_echo_body
6767
  as_echo='sh -c $as_echo_body as_echo'
6768
fi
6769
6452
# The user is always right.
6770
# The user is always right.
6453
if test "${PATH_SEPARATOR+set}" != set; then
6771
if test "${PATH_SEPARATOR+set}" != set; then
6454
  echo "#! /bin/sh" >conf$$.sh
6772
  PATH_SEPARATOR=:
6455
  echo  "exit 0"   >>conf$$.sh
6773
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6456
  chmod +x conf$$.sh
6774
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6457
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6458
    PATH_SEPARATOR=';'
6775
      PATH_SEPARATOR=';'
6459
  else
6776
  }
6460
    PATH_SEPARATOR=:
6461
  fi
6462
  rm -f conf$$.sh
6463
fi
6777
fi
6464
6778
6465
# Support unset when possible.
6779
# Support unset when possible.
6466
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6780
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6467
  as_unset=unset
6781
  as_unset=unset
...
...
6473
# IFS
6787
# IFS
6474
# We need space, tab and new line, in precisely that order.  Quoting is
6788
# We need space, tab and new line, in precisely that order.  Quoting is
6475
# there to prevent editors from complaining about space-tab.
6789
# there to prevent editors from complaining about space-tab.
6476
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6790
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6477
# splitting by setting IFS to empty value.)
6791
# splitting by setting IFS to empty value.)
6478
as_nl='
6479
'
6480
IFS=" ""    $as_nl"
6792
IFS=" ""    $as_nl"
6481
6793
6482
# Find who we are.  Look in the path if we contain no directory separator.
6794
# Find who we are.  Look in the path if we contain no directory separator.
6483
case $0 in
6795
case $0 in
6484
  *[\\/]* ) as_myself=$0 ;;
6796
  *[\\/]* ) as_myself=$0 ;;
...
...
6497
# in which case we are not to be found in the path.
6809
# in which case we are not to be found in the path.
6498
if test "x$as_myself" = x; then
6810
if test "x$as_myself" = x; then
6499
  as_myself=$0
6811
  as_myself=$0
6500
fi
6812
fi
6501
if test ! -f "$as_myself"; then
6813
if test ! -f "$as_myself"; then
6502
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6814
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6503
  { (exit 1); exit 1; }
6815
  { (exit 1); exit 1; }
6504
fi
6816
fi
6505
6817
6506
# Work around bugs in pre-3.0 UWIN ksh.
6818
# Work around bugs in pre-3.0 UWIN ksh.
6507
for as_var in ENV MAIL MAILPATH
6819
for as_var in ENV MAIL MAILPATH
...
...
6510
PS1='$ '
6822
PS1='$ '
6511
PS2='> '
6823
PS2='> '
6512
PS4='+ '
6824
PS4='+ '
6513
6825
6514
# NLS nuisances.
6826
# NLS nuisances.
6515
for as_var in \
6827
LC_ALL=C
6516
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6828
export LC_ALL
6517
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6829
LANGUAGE=C
6518
  LC_TELEPHONE LC_TIME
6830
export LANGUAGE
6519
do
6520
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6521
    eval $as_var=C; export $as_var
6522
  else
6523
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6524
  fi
6525
done
6526
6831
6527
# Required to use basename.
6832
# Required to use basename.
6528
if expr a : '\(a\)' >/dev/null 2>&1 &&
6833
if expr a : '\(a\)' >/dev/null 2>&1 &&
6529
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6834
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6530
  as_expr=expr
6835
  as_expr=expr
...
...
6542
# Name of the executable.
6847
# Name of the executable.
6543
as_me=`$as_basename -- "$0" ||
6848
as_me=`$as_basename -- "$0" ||
6544
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6849
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6545
     X"$0" : 'X\(//\)$' \| \
6850
     X"$0" : 'X\(//\)$' \| \
6546
     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6851
     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6547
echo X/"$0" |
6852
$as_echo X/"$0" |
6548
    sed '/^.*\/\([^/][^/]*\)\/*$/{
6853
    sed '/^.*\/\([^/][^/]*\)\/*$/{
6549
        s//\1/
6854
        s//\1/
6550
        q
6855
        q
6551
      }
6856
      }
6552
      /^X\/\(\/\/\)$/{
6857
      /^X\/\(\/\/\)$/{
...
...
6593
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6898
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6594
      t loop
6899
      t loop
6595
      s/-\n.*//
6900
      s/-\n.*//
6596
    ' >$as_me.lineno &&
6901
    ' >$as_me.lineno &&
6597
  chmod +x "$as_me.lineno" ||
6902
  chmod +x "$as_me.lineno" ||
6598
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6903
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6599
   { (exit 1); exit 1; }; }
6904
   { (exit 1); exit 1; }; }
6600
6905
6601
  # Don't try to exec as it changes $[0], causing all sort of problems
6906
  # Don't try to exec as it changes $[0], causing all sort of problems
6602
  # (the dirname of $[0] is not the place where we might find the
6907
  # (the dirname of $[0] is not the place where we might find the
6603
  # original and so on.  Autoconf is especially sensitive to this).
6908
  # original and so on.  Autoconf is especially sensitive to this).
...
...
6621
  *)   ECHO_C='\c';;
6926
  *)   ECHO_C='\c';;
6622
  esac;;
6927
  esac;;
6623
*)
6928
*)
6624
  ECHO_N='-n';;
6929
  ECHO_N='-n';;
6625
esac
6930
esac
6626
6627
if expr a : '\(a\)' >/dev/null 2>&1 &&
6931
if expr a : '\(a\)' >/dev/null 2>&1 &&
6628
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6932
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6629
  as_expr=expr
6933
  as_expr=expr
6630
else
6934
else
6631
  as_expr=false
6935
  as_expr=false
...
...
6634
rm -f conf$$ conf$$.exe conf$$.file
6938
rm -f conf$$ conf$$.exe conf$$.file
6635
if test -d conf$$.dir; then
6939
if test -d conf$$.dir; then
6636
  rm -f conf$$.dir/conf$$.file
6940
  rm -f conf$$.dir/conf$$.file
6637
else
6941
else
6638
  rm -f conf$$.dir
6942
  rm -f conf$$.dir
6639
  mkdir conf$$.dir
6943
  mkdir conf$$.dir 2>/dev/null
6640
fi
6944
fi
6641
echo >conf$$.file
6945
if (echo >conf$$.file) 2>/dev/null; then
6642
if ln -s conf$$.file conf$$ 2>/dev/null; then
6946
  if ln -s conf$$.file conf$$ 2>/dev/null; then
6643
  as_ln_s='ln -s'
6947
    as_ln_s='ln -s'
6644
  # ... but there are two gotchas:
6948
    # ... but there are two gotchas:
6645
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6949
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6646
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6950
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6647
  # In both cases, we have to default to `cp -p'.
6951
    # In both cases, we have to default to `cp -p'.
6648
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6952
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6953
      as_ln_s='cp -p'
6954
  elif ln conf$$.file conf$$ 2>/dev/null; then
6955
    as_ln_s=ln
6956
  else
6649
    as_ln_s='cp -p'
6957
    as_ln_s='cp -p'
6650
elif ln conf$$.file conf$$ 2>/dev/null; then
6958
  fi
6651
  as_ln_s=ln
6652
else
6959
else
6653
  as_ln_s='cp -p'
6960
  as_ln_s='cp -p'
6654
fi
6961
fi
6655
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6962
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6656
rmdir conf$$.dir 2>/dev/null
6963
rmdir conf$$.dir 2>/dev/null
...
...
6671
    as_ls_L_option=
6978
    as_ls_L_option=
6672
  fi
6979
  fi
6673
  as_test_x='
6980
  as_test_x='
6674
    eval sh -c '\''
6981
    eval sh -c '\''
6675
      if test -d "$1"; then
6982
      if test -d "$1"; then
6676
        test -d "$1/.";
6983
  test -d "$1/.";
6677
      else
6984
      else
6678
    case $1 in
6985
    case $1 in
6679
        -*)set "./$1";;
6986
  -*)set "./$1";;
6680
    esac;
6987
    esac;
6681
    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6988
    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6682
    ???[sx]*):;;*)false;;esac;fi
6989
    ???[sx]*):;;*)false;;esac;fi
6683
    '\'' sh
6990
    '\'' sh
6684
  '
6991
  '
...
...
6697
# Save the log message, to keep $[0] and so on meaningful, and to
7004
# Save the log message, to keep $[0] and so on meaningful, and to
6698
# report actual input values of CONFIG_FILES etc. instead of their
7005
# report actual input values of CONFIG_FILES etc. instead of their
6699
# values after options handling.
7006
# values after options handling.
6700
ac_log="
7007
ac_log="
6701
This file was extended by Recoll $as_me 1.6, which was
7008
This file was extended by Recoll $as_me 1.6, which was
6702
generated by GNU Autoconf 2.61.  Invocation command line was
7009
generated by GNU Autoconf 2.63.  Invocation command line was
6703
7010
6704
  CONFIG_FILES    = $CONFIG_FILES
7011
  CONFIG_FILES    = $CONFIG_FILES
6705
  CONFIG_HEADERS  = $CONFIG_HEADERS
7012
  CONFIG_HEADERS  = $CONFIG_HEADERS
6706
  CONFIG_LINKS    = $CONFIG_LINKS
7013
  CONFIG_LINKS    = $CONFIG_LINKS
6707
  CONFIG_COMMANDS = $CONFIG_COMMANDS
7014
  CONFIG_COMMANDS = $CONFIG_COMMANDS
...
...
6710
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7017
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6711
"
7018
"
6712
7019
6713
_ACEOF
7020
_ACEOF
6714
7021
7022
case $ac_config_files in *"
7023
"*) set x $ac_config_files; shift; ac_config_files=$*;;
7024
esac
7025
7026
case $ac_config_headers in *"
7027
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7028
esac
7029
7030
6715
cat >>$CONFIG_STATUS <<_ACEOF
7031
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6716
# Files that config.status was made for.
7032
# Files that config.status was made for.
6717
config_files="$ac_config_files"
7033
config_files="$ac_config_files"
6718
config_headers="$ac_config_headers"
7034
config_headers="$ac_config_headers"
6719
7035
6720
_ACEOF
7036
_ACEOF
6721
7037
6722
cat >>$CONFIG_STATUS <<\_ACEOF
7038
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6723
ac_cs_usage="\
7039
ac_cs_usage="\
6724
\`$as_me' instantiates files from templates according to the
7040
\`$as_me' instantiates files from templates according to the
6725
current configuration.
7041
current configuration.
6726
7042
6727
Usage: $0 [OPTIONS] [FILE]...
7043
Usage: $0 [OPTION]... [FILE]...
6728
7044
6729
  -h, --help       print this help, then exit
7045
  -h, --help       print this help, then exit
6730
  -V, --version    print version number and configuration settings, then exit
7046
  -V, --version    print version number and configuration settings, then exit
7047
  -q, --quiet, --silent
6731
  -q, --quiet      do not print progress messages
7048
                   do not print progress messages
6732
  -d, --debug      don't remove temporary files
7049
  -d, --debug      don't remove temporary files
6733
      --recheck    update $as_me by reconfiguring in the same conditions
7050
      --recheck    update $as_me by reconfiguring in the same conditions
6734
  --file=FILE[:TEMPLATE]
7051
      --file=FILE[:TEMPLATE]
6735
         instantiate the configuration file FILE
7052
                   instantiate the configuration file FILE
6736
  --header=FILE[:TEMPLATE]
7053
      --header=FILE[:TEMPLATE]
6737
         instantiate the configuration header FILE
7054
                   instantiate the configuration header FILE
6738
7055
6739
Configuration files:
7056
Configuration files:
6740
$config_files
7057
$config_files
6741
7058
6742
Configuration headers:
7059
Configuration headers:
6743
$config_headers
7060
$config_headers
6744
7061
6745
Report bugs to <bug-autoconf@gnu.org>."
7062
Report bugs to <bug-autoconf@gnu.org>."
6746
7063
6747
_ACEOF
7064
_ACEOF
6748
cat >>$CONFIG_STATUS <<_ACEOF
7065
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6749
ac_cs_version="\\
7066
ac_cs_version="\\
6750
Recoll config.status 1.6
7067
Recoll config.status 1.6
6751
configured by $0, generated by GNU Autoconf 2.61,
7068
configured by $0, generated by GNU Autoconf 2.63,
6752
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7069
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6753
7070
6754
Copyright (C) 2006 Free Software Foundation, Inc.
7071
Copyright (C) 2008 Free Software Foundation, Inc.
6755
This config.status script is free software; the Free Software Foundation
7072
This config.status script is free software; the Free Software Foundation
6756
gives unlimited permission to copy, distribute and modify it."
7073
gives unlimited permission to copy, distribute and modify it."
6757
7074
6758
ac_pwd='$ac_pwd'
7075
ac_pwd='$ac_pwd'
6759
srcdir='$srcdir'
7076
srcdir='$srcdir'
7077
test -n "\$AWK" || AWK=awk
6760
_ACEOF
7078
_ACEOF
6761
7079
6762
cat >>$CONFIG_STATUS <<\_ACEOF
7080
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6763
# If no file are specified by the user, then we need to provide default
7081
# The default lists apply if the user does not specify any file.
6764
# value.  By we need to know if files were specified by the user.
6765
ac_need_defaults=:
7082
ac_need_defaults=:
6766
while test $# != 0
7083
while test $# != 0
6767
do
7084
do
6768
  case $1 in
7085
  case $1 in
6769
  --*=*)
7086
  --*=*)
...
...
6781
  case $ac_option in
7098
  case $ac_option in
6782
  # Handling of the options.
7099
  # Handling of the options.
6783
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7100
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6784
    ac_cs_recheck=: ;;
7101
    ac_cs_recheck=: ;;
6785
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7102
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6786
    echo "$ac_cs_version"; exit ;;
7103
    $as_echo "$ac_cs_version"; exit ;;
6787
  --debug | --debu | --deb | --de | --d | -d )
7104
  --debug | --debu | --deb | --de | --d | -d )
6788
    debug=: ;;
7105
    debug=: ;;
6789
  --file | --fil | --fi | --f )
7106
  --file | --fil | --fi | --f )
6790
    $ac_shift
7107
    $ac_shift
7108
    case $ac_optarg in
7109
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7110
    esac
6791
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7111
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6792
    ac_need_defaults=false;;
7112
    ac_need_defaults=false;;
6793
  --header | --heade | --head | --hea )
7113
  --header | --heade | --head | --hea )
6794
    $ac_shift
7114
    $ac_shift
7115
    case $ac_optarg in
7116
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7117
    esac
6795
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7118
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6796
    ac_need_defaults=false;;
7119
    ac_need_defaults=false;;
6797
  --he | --h)
7120
  --he | --h)
6798
    # Conflict between --help and --header
7121
    # Conflict between --help and --header
6799
    { echo "$as_me: error: ambiguous option: $1
7122
    { $as_echo "$as_me: error: ambiguous option: $1
6800
Try \`$0 --help' for more information." >&2
7123
Try \`$0 --help' for more information." >&2
6801
   { (exit 1); exit 1; }; };;
7124
   { (exit 1); exit 1; }; };;
6802
  --help | --hel | -h )
7125
  --help | --hel | -h )
6803
    echo "$ac_cs_usage"; exit ;;
7126
    $as_echo "$ac_cs_usage"; exit ;;
6804
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7127
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6805
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7128
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6806
    ac_cs_silent=: ;;
7129
    ac_cs_silent=: ;;
6807
7130
6808
  # This is an error.
7131
  # This is an error.
6809
  -*) { echo "$as_me: error: unrecognized option: $1
7132
  -*) { $as_echo "$as_me: error: unrecognized option: $1
6810
Try \`$0 --help' for more information." >&2
7133
Try \`$0 --help' for more information." >&2
6811
   { (exit 1); exit 1; }; } ;;
7134
   { (exit 1); exit 1; }; } ;;
6812
7135
6813
  *) ac_config_targets="$ac_config_targets $1"
7136
  *) ac_config_targets="$ac_config_targets $1"
6814
     ac_need_defaults=false ;;
7137
     ac_need_defaults=false ;;
...
...
6823
  exec 6>/dev/null
7146
  exec 6>/dev/null
6824
  ac_configure_extra_args="$ac_configure_extra_args --silent"
7147
  ac_configure_extra_args="$ac_configure_extra_args --silent"
6825
fi
7148
fi
6826
7149
6827
_ACEOF
7150
_ACEOF
6828
cat >>$CONFIG_STATUS <<_ACEOF
7151
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6829
if \$ac_cs_recheck; then
7152
if \$ac_cs_recheck; then
6830
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7153
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7154
  shift
7155
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6831
  CONFIG_SHELL=$SHELL
7156
  CONFIG_SHELL='$SHELL'
6832
  export CONFIG_SHELL
7157
  export CONFIG_SHELL
6833
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7158
  exec "\$@"
6834
fi
7159
fi
6835
7160
6836
_ACEOF
7161
_ACEOF
6837
cat >>$CONFIG_STATUS <<\_ACEOF
7162
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6838
exec 5>>config.log
7163
exec 5>>config.log
6839
{
7164
{
6840
  echo
7165
  echo
6841
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7166
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6842
## Running $as_me. ##
7167
## Running $as_me. ##
6843
_ASBOX
7168
_ASBOX
6844
  echo "$ac_log"
7169
  $as_echo "$ac_log"
6845
} >&5
7170
} >&5
6846
7171
6847
_ACEOF
7172
_ACEOF
6848
cat >>$CONFIG_STATUS <<_ACEOF
7173
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6849
_ACEOF
7174
_ACEOF
6850
7175
6851
cat >>$CONFIG_STATUS <<\_ACEOF
7176
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6852
7177
6853
# Handling of arguments.
7178
# Handling of arguments.
6854
for ac_config_target in $ac_config_targets
7179
for ac_config_target in $ac_config_targets
6855
do
7180
do
6856
  case $ac_config_target in
7181
  case $ac_config_target in
...
...
6859
    "recollinstall") CONFIG_FILES="$CONFIG_FILES recollinstall" ;;
7184
    "recollinstall") CONFIG_FILES="$CONFIG_FILES recollinstall" ;;
6860
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7185
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6861
    "sampleconf/recoll.conf") CONFIG_FILES="$CONFIG_FILES sampleconf/recoll.conf" ;;
7186
    "sampleconf/recoll.conf") CONFIG_FILES="$CONFIG_FILES sampleconf/recoll.conf" ;;
6862
    "$QTGUI/recoll.pro") CONFIG_FILES="$CONFIG_FILES $QTGUI/recoll.pro" ;;
7187
    "$QTGUI/recoll.pro") CONFIG_FILES="$CONFIG_FILES $QTGUI/recoll.pro" ;;
6863
7188
6864
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7189
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6865
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7190
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6866
   { (exit 1); exit 1; }; };;
7191
   { (exit 1); exit 1; }; };;
6867
  esac
7192
  esac
6868
done
7193
done
6869
7194
6870
7195
...
...
6900
{
7225
{
6901
  tmp=./conf$$-$RANDOM
7226
  tmp=./conf$$-$RANDOM
6902
  (umask 077 && mkdir "$tmp")
7227
  (umask 077 && mkdir "$tmp")
6903
} ||
7228
} ||
6904
{
7229
{
6905
   echo "$me: cannot create a temporary directory in ." >&2
7230
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6906
   { (exit 1); exit 1; }
7231
   { (exit 1); exit 1; }
6907
}
7232
}
6908
7233
6909
#
6910
# Set up the sed scripts for CONFIG_FILES section.
7234
# Set up the scripts for CONFIG_FILES section.
6911
#
6912
6913
# No need to generate the scripts if there are no CONFIG_FILES.
7235
# No need to generate them if there are no CONFIG_FILES.
6914
# This happens for instance when ./config.status config.h
7236
# This happens for instance with `./config.status config.h'.
6915
if test -n "$CONFIG_FILES"; then
7237
if test -n "$CONFIG_FILES"; then
6916
7238
6917
_ACEOF
6918
7239
7240
ac_cr='
'
7241
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7242
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7243
  ac_cs_awk_cr='\\r'
7244
else
7245
  ac_cs_awk_cr=$ac_cr
7246
fi
6919
7247
7248
echo 'BEGIN {' >"$tmp/subs1.awk" &&
7249
_ACEOF
6920
7250
7251
7252
{
7253
  echo "cat >conf$$subs.awk <<_ACEOF" &&
7254
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7255
  echo "_ACEOF"
7256
} >conf$$subs.sh ||
7257
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7258
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7259
   { (exit 1); exit 1; }; }
7260
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6921
ac_delim='%!_!# '
7261
ac_delim='%!_!# '
6922
for ac_last_try in false false false false false :; do
7262
for ac_last_try in false false false false false :; do
6923
  cat >conf$$subs.sed <<_ACEOF
7263
  . ./conf$$subs.sh ||
6924
SHELL!$SHELL$ac_delim
7264
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6925
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7265
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6926
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7266
   { (exit 1); exit 1; }; }
6927
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6928
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6929
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6930
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6931
exec_prefix!$exec_prefix$ac_delim
6932
prefix!$prefix$ac_delim
6933
program_transform_name!$program_transform_name$ac_delim
6934
bindir!$bindir$ac_delim
6935
sbindir!$sbindir$ac_delim
6936
libexecdir!$libexecdir$ac_delim
6937
datarootdir!$datarootdir$ac_delim
6938
datadir!$datadir$ac_delim
6939
sysconfdir!$sysconfdir$ac_delim
6940
sharedstatedir!$sharedstatedir$ac_delim
6941
localstatedir!$localstatedir$ac_delim
6942
includedir!$includedir$ac_delim
6943
oldincludedir!$oldincludedir$ac_delim
6944
docdir!$docdir$ac_delim
6945
infodir!$infodir$ac_delim
6946
htmldir!$htmldir$ac_delim
6947
dvidir!$dvidir$ac_delim
6948
pdfdir!$pdfdir$ac_delim
6949
psdir!$psdir$ac_delim
6950
libdir!$libdir$ac_delim
6951
localedir!$localedir$ac_delim
6952
mandir!$mandir$ac_delim
6953
DEFS!$DEFS$ac_delim
6954
ECHO_C!$ECHO_C$ac_delim
6955
ECHO_N!$ECHO_N$ac_delim
6956
ECHO_T!$ECHO_T$ac_delim
6957
LIBS!$LIBS$ac_delim
6958
build_alias!$build_alias$ac_delim
6959
host_alias!$host_alias$ac_delim
6960
target_alias!$target_alias$ac_delim
6961
CC!$CC$ac_delim
6962
CFLAGS!$CFLAGS$ac_delim
6963
LDFLAGS!$LDFLAGS$ac_delim
6964
CPPFLAGS!$CPPFLAGS$ac_delim
6965
ac_ct_CC!$ac_ct_CC$ac_delim
6966
EXEEXT!$EXEEXT$ac_delim
6967
OBJEXT!$OBJEXT$ac_delim
6968
CPP!$CPP$ac_delim
6969
GREP!$GREP$ac_delim
6970
EGREP!$EGREP$ac_delim
6971
aspellProg!$aspellProg$ac_delim
6972
CXX!$CXX$ac_delim
6973
CXXFLAGS!$CXXFLAGS$ac_delim
6974
ac_ct_CXX!$ac_ct_CXX$ac_delim
6975
XAPIAN_CONFIG!$XAPIAN_CONFIG$ac_delim
6976
QMAKEPATH!$QMAKEPATH$ac_delim
6977
UIC3!$UIC3$ac_delim
6978
XMKMF!$XMKMF$ac_delim
6979
CXXCPP!$CXXCPP$ac_delim
6980
X_CFLAGS!$X_CFLAGS$ac_delim
6981
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
6982
X_LIBS!$X_LIBS$ac_delim
6983
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
6984
INCICONV!$INCICONV$ac_delim
6985
LIBICONV!$LIBICONV$ac_delim
6986
LIBXAPIAN!$LIBXAPIAN$ac_delim
6987
LIBFAM!$LIBFAM$ac_delim
6988
QMAKE!$QMAKE$ac_delim
6989
QTGUI!$QTGUI$ac_delim
6990
QTRECOLL_DATADIR!$QTRECOLL_DATADIR$ac_delim
6991
XAPIANCXXFLAGS!$XAPIANCXXFLAGS$ac_delim
6992
HAVE_MKDTEMP!$HAVE_MKDTEMP$ac_delim
6993
LIBOBJS!$LIBOBJS$ac_delim
6994
LTLIBOBJS!$LTLIBOBJS$ac_delim
6995
_ACEOF
6996
7267
6997
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
7268
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7269
  if test $ac_delim_n = $ac_delim_num; then
6998
    break
7270
    break
6999
  elif $ac_last_try; then
7271
  elif $ac_last_try; then
7000
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7272
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7001
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7273
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7002
   { (exit 1); exit 1; }; }
7274
   { (exit 1); exit 1; }; }
7003
  else
7275
  else
7004
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7276
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7005
  fi
7277
  fi
7006
done
7278
done
7007
7008
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7009
if test -n "$ac_eof"; then
7010
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7011
  ac_eof=`expr $ac_eof + 1`
7012
fi
7013
7014
cat >>$CONFIG_STATUS <<_ACEOF
7015
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7016
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7017
_ACEOF
7018
sed '
7019
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7020
s/^/s,@/; s/!/@,|#_!!_#|/
7021
:n
7022
t n
7023
s/'"$ac_delim"'$/,g/; t
7024
s/$/\\/; p
7025
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7026
' >>$CONFIG_STATUS <conf$$subs.sed
7027
rm -f conf$$subs.sed
7279
rm -f conf$$subs.sh
7280
7028
cat >>$CONFIG_STATUS <<_ACEOF
7281
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7029
:end
7282
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7030
s/|#_!!_#|//g
7031
CEOF$ac_eof
7032
_ACEOF
7283
_ACEOF
7284
sed -n '
7285
h
7286
s/^/S["/; s/!.*/"]=/
7287
p
7288
g
7289
s/^[^!]*!//
7290
:repl
7291
t repl
7292
s/'"$ac_delim"'$//
7293
t delim
7294
:nl
7295
h
7296
s/\(.\{148\}\).*/\1/
7297
t more1
7298
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7299
p
7300
n
7301
b repl
7302
:more1
7303
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7304
p
7305
g
7306
s/.\{148\}//
7307
t nl
7308
:delim
7309
h
7310
s/\(.\{148\}\).*/\1/
7311
t more2
7312
s/["\\]/\\&/g; s/^/"/; s/$/"/
7313
p
7314
b
7315
:more2
7316
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7317
p
7318
g
7319
s/.\{148\}//
7320
t delim
7321
' <conf$$subs.awk | sed '
7322
/^[^""]/{
7323
  N
7324
  s/\n//
7325
}
7326
' >>$CONFIG_STATUS || ac_write_fail=1
7327
rm -f conf$$subs.awk
7328
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7329
_ACAWK
7330
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7331
  for (key in S) S_is_set[key] = 1
7332
  FS = ""
7033
7333
7334
}
7335
{
7336
  line = $ 0
7337
  nfields = split(line, field, "@")
7338
  substed = 0
7339
  len = length(field[1])
7340
  for (i = 2; i < nfields; i++) {
7341
    key = field[i]
7342
    keylen = length(key)
7343
    if (S_is_set[key]) {
7344
      value = S[key]
7345
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7346
      len += length(value) + length(field[++i])
7347
      substed = 1
7348
    } else
7349
      len += 1 + keylen
7350
  }
7351
7352
  print line
7353
}
7354
7355
_ACAWK
7356
_ACEOF
7357
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7358
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7359
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7360
else
7361
  cat
7362
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7363
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7364
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
7365
   { (exit 1); exit 1; }; }
7366
_ACEOF
7034
7367
7035
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7368
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7036
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7369
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7037
# trailing colons and then remove the whole line if VPATH becomes empty
7370
# trailing colons and then remove the whole line if VPATH becomes empty
7038
# (actually we leave an empty line to preserve line numbers).
7371
# (actually we leave an empty line to preserve line numbers).
...
...
7045
s/:*$//
7378
s/:*$//
7046
s/^[^=]*=[   ]*$//
7379
s/^[^=]*=[   ]*$//
7047
}'
7380
}'
7048
fi
7381
fi
7049
7382
7050
cat >>$CONFIG_STATUS <<\_ACEOF
7383
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7051
fi # test -n "$CONFIG_FILES"
7384
fi # test -n "$CONFIG_FILES"
7052
7385
7386
# Set up the scripts for CONFIG_HEADERS section.
7387
# No need to generate them if there are no CONFIG_HEADERS.
7388
# This happens for instance with `./config.status Makefile'.
7389
if test -n "$CONFIG_HEADERS"; then
7390
cat >"$tmp/defines.awk" <<\_ACAWK ||
7391
BEGIN {
7392
_ACEOF
7053
7393
7394
# Transform confdefs.h into an awk script `defines.awk', embedded as
7395
# here-document in config.status, that substitutes the proper values into
7396
# config.h.in to produce config.h.
7397
7398
# Create a delimiter string that does not exist in confdefs.h, to ease
7399
# handling of long lines.
7400
ac_delim='%!_!# '
7401
for ac_last_try in false false :; do
7402
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7403
  if test -z "$ac_t"; then
7404
    break
7405
  elif $ac_last_try; then
7406
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
7407
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
7408
   { (exit 1); exit 1; }; }
7409
  else
7410
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7411
  fi
7412
done
7413
7414
# For the awk script, D is an array of macro values keyed by name,
7415
# likewise P contains macro parameters if any.  Preserve backslash
7416
# newline sequences.
7417
7418
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7419
sed -n '
7420
s/.\{148\}/&'"$ac_delim"'/g
7421
t rset
7422
:rset
7423
s/^[   ]*#[    ]*define[   ][  ]*/ /
7424
t def
7425
d
7426
:def
7427
s/\\$//
7428
t bsnl
7429
s/["\\]/\\&/g
7430
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[   ]*\(.*\)/P["\1"]="\2"\
7431
D["\1"]=" \3"/p
7432
s/^ \('"$ac_word_re"'\)[   ]*\(.*\)/D["\1"]=" \2"/p
7433
d
7434
:bsnl
7435
s/["\\]/\\&/g
7436
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[   ]*\(.*\)/P["\1"]="\2"\
7437
D["\1"]=" \3\\\\\\n"\\/p
7438
t cont
7439
s/^ \('"$ac_word_re"'\)[   ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7440
t cont
7441
d
7442
:cont
7443
n
7444
s/.\{148\}/&'"$ac_delim"'/g
7445
t clear
7446
:clear
7447
s/\\$//
7448
t bsnlc
7449
s/["\\]/\\&/g; s/^/"/; s/$/"/p
7450
d
7451
:bsnlc
7452
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7453
b cont
7454
' <confdefs.h | sed '
7455
s/'"$ac_delim"'/"\\\
7456
"/g' >>$CONFIG_STATUS || ac_write_fail=1
7457
7458
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7459
  for (key in D) D_is_set[key] = 1
7460
  FS = ""
7461
}
7462
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7463
  line = \$ 0
7464
  split(line, arg, " ")
7465
  if (arg[1] == "#") {
7466
    defundef = arg[2]
7467
    mac1 = arg[3]
7468
  } else {
7469
    defundef = substr(arg[1], 2)
7470
    mac1 = arg[2]
7471
  }
7472
  split(mac1, mac2, "(") #)
7473
  macro = mac2[1]
7474
  prefix = substr(line, 1, index(line, defundef) - 1)
7475
  if (D_is_set[macro]) {
7476
    # Preserve the white space surrounding the "#".
7477
    print prefix "define", macro P[macro] D[macro]
7478
    next
7479
  } else {
7480
    # Replace #undef with comments.  This is necessary, for example,
7481
    # in the case of _POSIX_SOURCE, which is predefined and required
7482
    # on some systems where configure will not decide to define it.
7483
    if (defundef == "undef") {
7484
      print "/*", prefix defundef, macro, "*/"
7485
      next
7486
    }
7487
  }
7488
}
7489
{ print }
7490
_ACAWK
7491
_ACEOF
7492
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7493
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
7494
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
7495
   { (exit 1); exit 1; }; }
7496
fi # test -n "$CONFIG_HEADERS"
7497
7498
7054
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
7499
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
7500
shift
7501
for ac_tag
7055
do
7502
do
7056
  case $ac_tag in
7503
  case $ac_tag in
7057
  :[FHLC]) ac_mode=$ac_tag; continue;;
7504
  :[FHLC]) ac_mode=$ac_tag; continue;;
7058
  esac
7505
  esac
7059
  case $ac_mode$ac_tag in
7506
  case $ac_mode$ac_tag in
7060
  :[FHL]*:*);;
7507
  :[FHL]*:*);;
7061
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7508
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7062
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7509
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7063
   { (exit 1); exit 1; }; };;
7510
   { (exit 1); exit 1; }; };;
7064
  :[FH]-) ac_tag=-:-;;
7511
  :[FH]-) ac_tag=-:-;;
7065
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7512
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7066
  esac
7513
  esac
7067
  ac_save_IFS=$IFS
7514
  ac_save_IFS=$IFS
...
...
7086
     test -f "$ac_f" ||
7533
     test -f "$ac_f" ||
7087
       case $ac_f in
7534
       case $ac_f in
7088
       [\\/$]*) false;;
7535
       [\\/$]*) false;;
7089
       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7536
       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7090
       esac ||
7537
       esac ||
7091
       { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7538
       { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7092
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7539
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7093
   { (exit 1); exit 1; }; };;
7540
   { (exit 1); exit 1; }; };;
7094
      esac
7541
      esac
7542
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7095
      ac_file_inputs="$ac_file_inputs $ac_f"
7543
      ac_file_inputs="$ac_file_inputs '$ac_f'"
7096
    done
7544
    done
7097
7545
7098
    # Let's still pretend it is `configure' which instantiates (i.e., don't
7546
    # Let's still pretend it is `configure' which instantiates (i.e., don't
7099
    # use $as_me), people would be surprised to read:
7547
    # use $as_me), people would be surprised to read:
7100
    #    /* config.h.  Generated by config.status.  */
7548
    #    /* config.h.  Generated by config.status.  */
7101
    configure_input="Generated from "`IFS=:
7549
    configure_input='Generated from '`
7102
      echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7550
      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7551
  `' by configure.'
7103
    if test x"$ac_file" != x-; then
7552
    if test x"$ac_file" != x-; then
7104
      configure_input="$ac_file.  $configure_input"
7553
      configure_input="$ac_file.  $configure_input"
7105
      { echo "$as_me:$LINENO: creating $ac_file" >&5
7554
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
7106
echo "$as_me: creating $ac_file" >&6;}
7555
$as_echo "$as_me: creating $ac_file" >&6;}
7107
    fi
7556
    fi
7557
    # Neutralize special characters interpreted by sed in replacement strings.
7558
    case $configure_input in #(
7559
    *\&* | *\|* | *\\* )
7560
       ac_sed_conf_input=`$as_echo "$configure_input" |
7561
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7562
    *) ac_sed_conf_input=$configure_input;;
7563
    esac
7108
7564
7109
    case $ac_tag in
7565
    case $ac_tag in
7110
    *:-:* | *:-) cat >"$tmp/stdin";;
7566
    *:-:* | *:-) cat >"$tmp/stdin" \
7567
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7568
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7569
   { (exit 1); exit 1; }; } ;;
7111
    esac
7570
    esac
7112
    ;;
7571
    ;;
7113
  esac
7572
  esac
7114
7573
7115
  ac_dir=`$as_dirname -- "$ac_file" ||
7574
  ac_dir=`$as_dirname -- "$ac_file" ||
7116
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7575
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7117
     X"$ac_file" : 'X\(//\)[^/]' \| \
7576
     X"$ac_file" : 'X\(//\)[^/]' \| \
7118
     X"$ac_file" : 'X\(//\)$' \| \
7577
     X"$ac_file" : 'X\(//\)$' \| \
7119
     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7578
     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7120
echo X"$ac_file" |
7579
$as_echo X"$ac_file" |
7121
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7580
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7122
        s//\1/
7581
        s//\1/
7123
        q
7582
        q
7124
      }
7583
      }
7125
      /^X\(\/\/\)[^/].*/{
7584
      /^X\(\/\/\)[^/].*/{
...
...
7141
  esac
7600
  esac
7142
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7601
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7143
    as_dirs=
7602
    as_dirs=
7144
    while :; do
7603
    while :; do
7145
      case $as_dir in #(
7604
      case $as_dir in #(
7146
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7605
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7147
      *) as_qdir=$as_dir;;
7606
      *) as_qdir=$as_dir;;
7148
      esac
7607
      esac
7149
      as_dirs="'$as_qdir' $as_dirs"
7608
      as_dirs="'$as_qdir' $as_dirs"
7150
      as_dir=`$as_dirname -- "$as_dir" ||
7609
      as_dir=`$as_dirname -- "$as_dir" ||
7151
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7610
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7152
     X"$as_dir" : 'X\(//\)[^/]' \| \
7611
     X"$as_dir" : 'X\(//\)[^/]' \| \
7153
     X"$as_dir" : 'X\(//\)$' \| \
7612
     X"$as_dir" : 'X\(//\)$' \| \
7154
     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7613
     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7155
echo X"$as_dir" |
7614
$as_echo X"$as_dir" |
7156
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7615
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7157
        s//\1/
7616
        s//\1/
7158
        q
7617
        q
7159
      }
7618
      }
7160
      /^X\(\/\/\)[^/].*/{
7619
      /^X\(\/\/\)[^/].*/{
...
...
7171
      }
7630
      }
7172
      s/.*/./; q'`
7631
      s/.*/./; q'`
7173
      test -d "$as_dir" && break
7632
      test -d "$as_dir" && break
7174
    done
7633
    done
7175
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7634
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7176
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7635
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7177
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7636
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7178
   { (exit 1); exit 1; }; }; }
7637
   { (exit 1); exit 1; }; }; }
7179
  ac_builddir=.
7638
  ac_builddir=.
7180
7639
7181
case "$ac_dir" in
7640
case "$ac_dir" in
7182
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7641
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7183
*)
7642
*)
7184
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7643
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7185
  # A ".." for each directory in $ac_dir_suffix.
7644
  # A ".." for each directory in $ac_dir_suffix.
7186
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7645
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7187
  case $ac_top_builddir_sub in
7646
  case $ac_top_builddir_sub in
7188
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7647
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7189
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7648
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7190
  esac ;;
7649
  esac ;;
7191
esac
7650
esac
...
...
7217
  # CONFIG_FILE
7676
  # CONFIG_FILE
7218
  #
7677
  #
7219
7678
7220
_ACEOF
7679
_ACEOF
7221
7680
7222
cat >>$CONFIG_STATUS <<\_ACEOF
7681
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7223
# If the template does not know about datarootdir, expand it.
7682
# If the template does not know about datarootdir, expand it.
7224
# FIXME: This hack should be removed a few years after 2.60.
7683
# FIXME: This hack should be removed a few years after 2.60.
7225
ac_datarootdir_hack=; ac_datarootdir_seen=
7684
ac_datarootdir_hack=; ac_datarootdir_seen=
7226
7685
7227
case `sed -n '/datarootdir/ {
7686
ac_sed_dataroot='
7687
/datarootdir/ {
7228
  p
7688
  p
7229
  q
7689
  q
7230
}
7690
}
7231
/@datadir@/p
7691
/@datadir@/p
7232
/@docdir@/p
7692
/@docdir@/p
7233
/@infodir@/p
7693
/@infodir@/p
7234
/@localedir@/p
7694
/@localedir@/p
7235
/@mandir@/p
7695
/@mandir@/p
7236
' $ac_file_inputs` in
7696
'
7697
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7237
*datarootdir*) ac_datarootdir_seen=yes;;
7698
*datarootdir*) ac_datarootdir_seen=yes;;
7238
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7699
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7239
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7700
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7240
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7701
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7241
_ACEOF
7702
_ACEOF
7242
cat >>$CONFIG_STATUS <<_ACEOF
7703
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7243
  ac_datarootdir_hack='
7704
  ac_datarootdir_hack='
7244
  s&@datadir@&$datadir&g
7705
  s&@datadir@&$datadir&g
7245
  s&@docdir@&$docdir&g
7706
  s&@docdir@&$docdir&g
7246
  s&@infodir@&$infodir&g
7707
  s&@infodir@&$infodir&g
7247
  s&@localedir@&$localedir&g
7708
  s&@localedir@&$localedir&g
...
...
7251
_ACEOF
7712
_ACEOF
7252
7713
7253
# Neutralize VPATH when `$srcdir' = `.'.
7714
# Neutralize VPATH when `$srcdir' = `.'.
7254
# Shell code in configure.ac might set extrasub.
7715
# Shell code in configure.ac might set extrasub.
7255
# FIXME: do we really want to maintain this feature?
7716
# FIXME: do we really want to maintain this feature?
7256
cat >>$CONFIG_STATUS <<_ACEOF
7717
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7257
  sed "$ac_vpsub
7718
ac_sed_extra="$ac_vpsub
7258
$extrasub
7719
$extrasub
7259
_ACEOF
7720
_ACEOF
7260
cat >>$CONFIG_STATUS <<\_ACEOF
7721
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7261
:t
7722
:t
7262
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7723
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7263
s&@configure_input@&$configure_input&;t t
7724
s|@configure_input@|$ac_sed_conf_input|;t t
7264
s&@top_builddir@&$ac_top_builddir_sub&;t t
7725
s&@top_builddir@&$ac_top_builddir_sub&;t t
7726
s&@top_build_prefix@&$ac_top_build_prefix&;t t
7265
s&@srcdir@&$ac_srcdir&;t t
7727
s&@srcdir@&$ac_srcdir&;t t
7266
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7728
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7267
s&@top_srcdir@&$ac_top_srcdir&;t t
7729
s&@top_srcdir@&$ac_top_srcdir&;t t
7268
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7730
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7269
s&@builddir@&$ac_builddir&;t t
7731
s&@builddir@&$ac_builddir&;t t
7270
s&@abs_builddir@&$ac_abs_builddir&;t t
7732
s&@abs_builddir@&$ac_abs_builddir&;t t
7271
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7733
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7272
$ac_datarootdir_hack
7734
$ac_datarootdir_hack
7273
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7735
"
7736
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7737
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7738
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7739
   { (exit 1); exit 1; }; }
7274
7740
7275
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7741
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7276
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7742
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7277
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7743
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7278
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7744
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7279
which seems to be undefined.  Please make sure it is defined." >&5
7745
which seems to be undefined.  Please make sure it is defined." >&5
7280
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7746
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7281
which seems to be undefined.  Please make sure it is defined." >&2;}
7747
which seems to be undefined.  Please make sure it is defined." >&2;}
7282
7748
7283
  rm -f "$tmp/stdin"
7749
  rm -f "$tmp/stdin"
7284
  case $ac_file in
7750
  case $ac_file in
7285
  -) cat "$tmp/out"; rm -f "$tmp/out";;
7751
  -) cat "$tmp/out" && rm -f "$tmp/out";;
7286
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7752
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7287
  esac
7753
  esac \
7754
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7755
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7756
   { (exit 1); exit 1; }; }
7288
 ;;
7757
 ;;
7289
  :H)
7758
  :H)
7290
  #
7759
  #
7291
  # CONFIG_HEADER
7760
  # CONFIG_HEADER
7292
  #
7761
  #
7293
_ACEOF
7294
7295
# Transform confdefs.h into a sed script `conftest.defines', that
7296
# substitutes the proper values into config.h.in to produce config.h.
7297
rm -f conftest.defines conftest.tail
7298
# First, append a space to every undef/define line, to ease matching.
7299
echo 's/$/ /' >conftest.defines
7300
# Then, protect against being on the right side of a sed subst, or in
7301
# an unquoted here document, in config.status.  If some macros were
7302
# called several times there might be several #defines for the same
7303
# symbol, which is useless.  But do not sort them, since the last
7304
# AC_DEFINE must be honored.
7305
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7306
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7307
# NAME is the cpp macro being defined, VALUE is the value it is being given.
7308
# PARAMS is the parameter list in the macro definition--in most cases, it's
7309
# just an empty string.
7310
ac_dA='s,^\\([     #]*\\)[^    ]*\\([  ]*'
7311
ac_dB='\\)[    (].*,\\1define\\2'
7312
ac_dC=' '
7313
ac_dD=' ,'
7314
7315
uniq confdefs.h |
7316
  sed -n '
7317
  t rset
7318
  :rset
7319
  s/^[     ]*#[    ]*define[   ][  ]*//
7320
  t ok
7321
  d
7322
  :ok
7323
  s/[\\&,]/\\&/g
7324
  s/^\('"$ac_word_re"'\)\(([^()]*)\)[  ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7325
  s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7326
  ' >>conftest.defines
7327
7328
# Remove the space that was appended to ease matching.
7329
# Then replace #undef with comments.  This is necessary, for
7330
# example, in the case of _POSIX_SOURCE, which is predefined and required
7331
# on some systems where configure will not decide to define it.
7332
# (The regexp can be short, since the line contains either #define or #undef.)
7333
echo 's/ $//
7334
s,^[   #]*u.*,/* & */,' >>conftest.defines
7335
7336
# Break up conftest.defines:
7337
ac_max_sed_lines=50
7338
7339
# First sed command is:    sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7340
# Second one is:   sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7341
# Third one will be:   sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7342
# et cetera.
7343
ac_in='$ac_file_inputs'
7344
ac_out='"$tmp/out1"'
7345
ac_nxt='"$tmp/out2"'
7346
7347
while :
7348
do
7349
  # Write a here document:
7350
    cat >>$CONFIG_STATUS <<_ACEOF
7351
    # First, check the format of the line:
7352
    cat >"\$tmp/defines.sed" <<\\CEOF
7353
/^[    ]*#[    ]*undef[    ][  ]*$ac_word_re[  ]*\$/b def
7354
/^[    ]*#[    ]*define[   ][  ]*$ac_word_re[(     ]/b def
7355
b
7356
:def
7357
_ACEOF
7358
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7359
  echo 'CEOF
7360
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7361
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7362
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7363
  grep . conftest.tail >/dev/null || break
7364
  rm -f conftest.defines
7365
  mv conftest.tail conftest.defines
7366
done
7367
rm -f conftest.defines conftest.tail
7368
7369
echo "ac_result=$ac_in" >>$CONFIG_STATUS
7370
cat >>$CONFIG_STATUS <<\_ACEOF
7371
  if test x"$ac_file" != x-; then
7762
  if test x"$ac_file" != x-; then
7763
    {
7372
    echo "/* $configure_input  */" >"$tmp/config.h"
7764
      $as_echo "/* $configure_input  */" \
7373
    cat "$ac_result" >>"$tmp/config.h"
7765
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7766
    } >"$tmp/config.h" \
7767
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7768
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7769
   { (exit 1); exit 1; }; }
7374
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7770
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7375
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7771
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7376
echo "$as_me: $ac_file is unchanged" >&6;}
7772
$as_echo "$as_me: $ac_file is unchanged" >&6;}
7377
    else
7773
    else
7378
      rm -f $ac_file
7774
      rm -f "$ac_file"
7379
      mv "$tmp/config.h" $ac_file
7775
      mv "$tmp/config.h" "$ac_file" \
7776
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7777
$as_echo "$as_me: error: could not create $ac_file" >&2;}
7778
   { (exit 1); exit 1; }; }
7380
    fi
7779
    fi
7381
  else
7780
  else
7382
    echo "/* $configure_input  */"
7781
    $as_echo "/* $configure_input  */" \
7383
    cat "$ac_result"
7782
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7783
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7784
$as_echo "$as_me: error: could not create -" >&2;}
7785
   { (exit 1); exit 1; }; }
7384
  fi
7786
  fi
7385
  rm -f "$tmp/out12"
7386
 ;;
7787
 ;;
7387
7788
7388
7789
7389
  esac
7790
  esac
7390
7791
...
...
7393
7794
7394
{ (exit 0); exit 0; }
7795
{ (exit 0); exit 0; }
7395
_ACEOF
7796
_ACEOF
7396
chmod +x $CONFIG_STATUS
7797
chmod +x $CONFIG_STATUS
7397
ac_clean_files=$ac_clean_files_save
7798
ac_clean_files=$ac_clean_files_save
7799
7800
test $ac_write_fail = 0 ||
7801
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7802
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7803
   { (exit 1); exit 1; }; }
7398
7804
7399
7805
7400
# configure is writing to config.log, and then calls config.status.
7806
# configure is writing to config.log, and then calls config.status.
7401
# config.status does its own redirection, appending to config.log.
7807
# config.status does its own redirection, appending to config.log.
7402
# Unfortunately, on DOS this fails, as config.log is still kept open
7808
# Unfortunately, on DOS this fails, as config.log is still kept open
...
...
7415
  exec 5>>config.log
7821
  exec 5>>config.log
7416
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7822
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7417
  # would make configure fail if this is the last instruction.
7823
  # would make configure fail if this is the last instruction.
7418
  $ac_cs_success || { (exit 1); exit 1; }
7824
  $ac_cs_success || { (exit 1); exit 1; }
7419
fi
7825
fi
7826
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7827
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7828
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7829
fi
7420
7830
7421
chmod a+x recollinstall
7831
chmod a+x recollinstall