~ubuntu-branches/ubuntu/quantal/xdaliclock/quantal

« back to all changes in this revision

Viewing changes to gtk/configure

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2010-04-20 08:42:20 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100420084220-j7ykvh34b2jx7hyv
Tags: 2.31-1
* New maintainer (Closes: #561233)
* New upstream release (Closes: #578379)
* debian/control:
  + Updated to Standards-Version 3.8.4
  + Added ${misc:Depends} to Depends
  + Updated debhelper dependency to 7
* debian/rules:
  + Do not do append to copyright file trick
  + Used dh_prep instead of dh_clean -k
* Converted package to new source format 3.0 (quilt)
* debian/copyright:
  + Added missing vroot.h copyright
  + Better copyright assignment, year for Author
* debian/patches/spelling-error-in-manpage_xdaliclock:
  + Added patch to fix manpage spelling mistake by Florian Ernst
    <florian@debian.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61.
 
3
# Generated by GNU Autoconf 2.63.
4
4
#
5
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
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
9
9
## --------------------- ##
15
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
16
  emulate sh
17
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
19
  # is contrary to our usage.  Disable this feature.
20
20
  alias -g '${1+"$@"}'='"$@"'
21
21
  setopt NO_GLOB_SUBST
37
37
as_cr_digits='0123456789'
38
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
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
 
  echo "#! /bin/sh" >conf$$.sh
43
 
  echo  "exit 0"   >>conf$$.sh
44
 
  chmod +x conf$$.sh
45
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
 
    PATH_SEPARATOR=';'
47
 
  else
48
 
    PATH_SEPARATOR=:
49
 
  fi
50
 
  rm -f conf$$.sh
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
51
79
fi
52
80
 
53
81
# Support unset when possible.
63
91
# there to prevent editors from complaining about space-tab.
64
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
93
# splitting by setting IFS to empty value.)
66
 
as_nl='
67
 
'
68
94
IFS=" ""        $as_nl"
69
95
 
70
96
# Find who we are.  Look in the path if we contain no directory separator.
87
113
  as_myself=$0
88
114
fi
89
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
117
  { (exit 1); exit 1; }
92
118
fi
93
119
 
100
126
PS4='+ '
101
127
 
102
128
# NLS nuisances.
103
 
for as_var in \
104
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
 
  LC_TELEPHONE LC_TIME
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
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
114
133
 
115
134
# Required to use basename.
116
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
132
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
152
         X"$0" : 'X\(//\)$' \| \
134
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
 
echo X/"$0" |
 
154
$as_echo X/"$0" |
136
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
156
            s//\1/
138
157
            q
158
177
  as_have_required=no
159
178
fi
160
179
 
161
 
  if test $as_have_required = yes &&     (eval ":
 
180
  if test $as_have_required = yes &&     (eval ":
162
181
(as_func_return () {
163
182
  (exit \$1)
164
183
}
240
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
260
  emulate sh
242
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
263
  # is contrary to our usage.  Disable this feature.
245
264
  alias -g '${1+"$@"}'='"$@"'
246
265
  setopt NO_GLOB_SUBST
261
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
281
  emulate sh
263
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
284
  # is contrary to our usage.  Disable this feature.
266
285
  alias -g '${1+"$@"}'='"$@"'
267
286
  setopt NO_GLOB_SUBST
341
360
 
342
361
      if test "x$CONFIG_SHELL" != x; then
343
362
  for as_var in BASH_ENV ENV
344
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
 
        done
346
 
        export CONFIG_SHELL
347
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
367
fi
349
368
 
350
369
 
413
432
 
414
433
test \$exitcode = 0") || {
415
434
  echo No shell found that supports shell functions.
416
 
  echo Please tell autoconf@gnu.org about your system,
417
 
  echo including any error possibly output before this
418
 
  echo message
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this 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
 
451
471
      s/-\n.*//
452
472
    ' >$as_me.lineno &&
453
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
475
   { (exit 1); exit 1; }; }
456
476
 
457
477
  # Don't try to exec as it changes $[0], causing all sort of problems
479
499
*)
480
500
  ECHO_N='-n';;
481
501
esac
482
 
 
483
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
504
  as_expr=expr
492
511
  rm -f conf$$.dir/conf$$.file
493
512
else
494
513
  rm -f conf$$.dir
495
 
  mkdir conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
496
515
fi
497
 
echo >conf$$.file
498
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
 
  as_ln_s='ln -s'
500
 
  # ... but there are two gotchas:
501
 
  # 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.
503
 
  # In both cases, we have to default to `cp -p'.
504
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
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
528
    as_ln_s='cp -p'
506
 
elif ln conf$$.file conf$$ 2>/dev/null; then
507
 
  as_ln_s=ln
 
529
  fi
508
530
else
509
531
  as_ln_s='cp -p'
510
532
fi
529
551
  as_test_x='
530
552
    eval sh -c '\''
531
553
      if test -d "$1"; then
532
 
        test -d "$1/.";
 
554
        test -d "$1/.";
533
555
      else
534
556
        case $1 in
535
 
        -*)set "./$1";;
 
557
        -*)set "./$1";;
536
558
        esac;
537
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
560
        ???[sx]*):;;*)false;;esac;fi
613
635
# include <unistd.h>
614
636
#endif"
615
637
 
616
 
ac_subst_vars='SHELL
 
638
ac_subst_vars='LTLIBOBJS
 
639
LIBOBJS
 
640
GTK_LIBS
 
641
INCLUDES
 
642
have_gnome_help
 
643
pkg_config
 
644
X_EXTRA_LIBS
 
645
X_LIBS
 
646
X_PRE_LIBS
 
647
X_CFLAGS
 
648
XMKMF
 
649
EGREP
 
650
GREP
 
651
SET_MAKE
 
652
INSTALL_DATA
 
653
INSTALL_SCRIPT
 
654
INSTALL_PROGRAM
 
655
CPP
 
656
OBJEXT
 
657
EXEEXT
 
658
ac_ct_CC
 
659
CPPFLAGS
 
660
LDFLAGS
 
661
CFLAGS
 
662
CC
 
663
host_os
 
664
host_vendor
 
665
host_cpu
 
666
host
 
667
build_os
 
668
build_vendor
 
669
build_cpu
 
670
build
 
671
target_alias
 
672
host_alias
 
673
build_alias
 
674
LIBS
 
675
ECHO_T
 
676
ECHO_N
 
677
ECHO_C
 
678
DEFS
 
679
mandir
 
680
localedir
 
681
libdir
 
682
psdir
 
683
pdfdir
 
684
dvidir
 
685
htmldir
 
686
infodir
 
687
docdir
 
688
oldincludedir
 
689
includedir
 
690
localstatedir
 
691
sharedstatedir
 
692
sysconfdir
 
693
datadir
 
694
datarootdir
 
695
libexecdir
 
696
sbindir
 
697
bindir
 
698
program_transform_name
 
699
prefix
 
700
exec_prefix
 
701
PACKAGE_BUGREPORT
 
702
PACKAGE_STRING
 
703
PACKAGE_VERSION
 
704
PACKAGE_TARNAME
 
705
PACKAGE_NAME
617
706
PATH_SEPARATOR
618
 
PACKAGE_NAME
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
 
build
654
 
build_cpu
655
 
build_vendor
656
 
build_os
657
 
host
658
 
host_cpu
659
 
host_vendor
660
 
host_os
661
 
CC
662
 
CFLAGS
663
 
LDFLAGS
664
 
CPPFLAGS
665
 
ac_ct_CC
666
 
EXEEXT
667
 
OBJEXT
668
 
CPP
669
 
INSTALL_PROGRAM
670
 
INSTALL_SCRIPT
671
 
INSTALL_DATA
672
 
SET_MAKE
673
 
GREP
674
 
EGREP
675
 
XMKMF
676
 
X_CFLAGS
677
 
X_PRE_LIBS
678
 
X_LIBS
679
 
X_EXTRA_LIBS
680
 
pkg_config
681
 
have_gnome_help
682
 
INCLUDES
683
 
GTK_LIBS
684
 
LIBOBJS
685
 
LTLIBOBJS'
 
707
SHELL'
686
708
ac_subst_files=''
 
709
ac_user_opts='
 
710
enable_option_checking
 
711
with_x
 
712
with_gtk
 
713
with_gnome
 
714
'
687
715
      ac_precious_vars='build_alias
688
716
host_alias
689
717
target_alias
699
727
# Initialize some variables set by options.
700
728
ac_init_help=
701
729
ac_init_version=false
 
730
ac_unrecognized_opts=
 
731
ac_unrecognized_sep=
702
732
# The variables have the same names as the options, with
703
733
# dashes changed to underlines.
704
734
cache_file=/dev/null
797
827
    datarootdir=$ac_optarg ;;
798
828
 
799
829
  -disable-* | --disable-*)
800
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
830
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801
831
    # Reject names that are not valid shell variable names.
802
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
832
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
833
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
804
834
   { (exit 1); exit 1; }; }
805
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
806
 
    eval enable_$ac_feature=no ;;
 
835
    ac_useropt_orig=$ac_useropt
 
836
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
837
    case $ac_user_opts in
 
838
      *"
 
839
"enable_$ac_useropt"
 
840
"*) ;;
 
841
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
842
         ac_unrecognized_sep=', ';;
 
843
    esac
 
844
    eval enable_$ac_useropt=no ;;
807
845
 
808
846
  -docdir | --docdir | --docdi | --doc | --do)
809
847
    ac_prev=docdir ;;
816
854
    dvidir=$ac_optarg ;;
817
855
 
818
856
  -enable-* | --enable-*)
819
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
857
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
820
858
    # Reject names that are not valid shell variable names.
821
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
822
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
859
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
860
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
823
861
   { (exit 1); exit 1; }; }
824
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
825
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
862
    ac_useropt_orig=$ac_useropt
 
863
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
864
    case $ac_user_opts in
 
865
      *"
 
866
"enable_$ac_useropt"
 
867
"*) ;;
 
868
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
869
         ac_unrecognized_sep=', ';;
 
870
    esac
 
871
    eval enable_$ac_useropt=\$ac_optarg ;;
826
872
 
827
873
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
828
874
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1013
1059
    ac_init_version=: ;;
1014
1060
 
1015
1061
  -with-* | --with-*)
1016
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1062
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017
1063
    # Reject names that are not valid shell variable names.
1018
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1064
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1065
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1020
1066
   { (exit 1); exit 1; }; }
1021
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1022
 
    eval with_$ac_package=\$ac_optarg ;;
 
1067
    ac_useropt_orig=$ac_useropt
 
1068
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1069
    case $ac_user_opts in
 
1070
      *"
 
1071
"with_$ac_useropt"
 
1072
"*) ;;
 
1073
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1074
         ac_unrecognized_sep=', ';;
 
1075
    esac
 
1076
    eval with_$ac_useropt=\$ac_optarg ;;
1023
1077
 
1024
1078
  -without-* | --without-*)
1025
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1079
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1026
1080
    # Reject names that are not valid shell variable names.
1027
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1081
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1082
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1029
1083
   { (exit 1); exit 1; }; }
1030
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1031
 
    eval with_$ac_package=no ;;
 
1084
    ac_useropt_orig=$ac_useropt
 
1085
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1086
    case $ac_user_opts in
 
1087
      *"
 
1088
"with_$ac_useropt"
 
1089
"*) ;;
 
1090
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1091
         ac_unrecognized_sep=', ';;
 
1092
    esac
 
1093
    eval with_$ac_useropt=no ;;
1032
1094
 
1033
1095
  --x)
1034
1096
    # Obsolete; use --with-x.
1048
1110
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1049
1111
    x_libraries=$ac_optarg ;;
1050
1112
 
1051
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1113
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1052
1114
Try \`$0 --help' for more information." >&2
1053
1115
   { (exit 1); exit 1; }; }
1054
1116
    ;;
1057
1119
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1058
1120
    # Reject names that are not valid shell variable names.
1059
1121
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1060
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1122
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1061
1123
   { (exit 1); exit 1; }; }
1062
1124
    eval $ac_envvar=\$ac_optarg
1063
1125
    export $ac_envvar ;;
1064
1126
 
1065
1127
  *)
1066
1128
    # FIXME: should be removed in autoconf 3.0.
1067
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1129
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1068
1130
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1131
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1070
1132
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1071
1133
    ;;
1072
1134
 
1075
1137
 
1076
1138
if test -n "$ac_prev"; then
1077
1139
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1078
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1140
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1079
1141
   { (exit 1); exit 1; }; }
1080
1142
fi
1081
1143
 
1082
 
# Be sure to have absolute directory names.
 
1144
if test -n "$ac_unrecognized_opts"; then
 
1145
  case $enable_option_checking in
 
1146
    no) ;;
 
1147
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1148
   { (exit 1); exit 1; }; } ;;
 
1149
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1150
  esac
 
1151
fi
 
1152
 
 
1153
# Check all directory arguments for consistency.
1083
1154
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1084
1155
                datadir sysconfdir sharedstatedir localstatedir includedir \
1085
1156
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1086
1157
                libdir localedir mandir
1087
1158
do
1088
1159
  eval ac_val=\$$ac_var
 
1160
  # Remove trailing slashes.
 
1161
  case $ac_val in
 
1162
    */ )
 
1163
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1164
      eval $ac_var=\$ac_val;;
 
1165
  esac
 
1166
  # Be sure to have absolute directory names.
1089
1167
  case $ac_val in
1090
1168
    [\\/$]* | ?:[\\/]* )  continue;;
1091
1169
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1092
1170
  esac
1093
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1171
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1094
1172
   { (exit 1); exit 1; }; }
1095
1173
done
1096
1174
 
1105
1183
if test "x$host_alias" != x; then
1106
1184
  if test "x$build_alias" = x; then
1107
1185
    cross_compiling=maybe
1108
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1186
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1109
1187
    If a cross compiler is detected then cross compile mode will be used." >&2
1110
1188
  elif test "x$build_alias" != "x$host_alias"; then
1111
1189
    cross_compiling=yes
1121
1199
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1122
1200
ac_ls_di=`ls -di .` &&
1123
1201
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1124
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1202
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1125
1203
   { (exit 1); exit 1; }; }
1126
1204
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1127
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1205
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1128
1206
   { (exit 1); exit 1; }; }
1129
1207
 
1130
1208
 
1132
1210
if test -z "$srcdir"; then
1133
1211
  ac_srcdir_defaulted=yes
1134
1212
  # Try the directory containing this script, then the parent directory.
1135
 
  ac_confdir=`$as_dirname -- "$0" ||
1136
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1137
 
         X"$0" : 'X\(//\)[^/]' \| \
1138
 
         X"$0" : 'X\(//\)$' \| \
1139
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1140
 
echo X"$0" |
 
1213
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1214
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1215
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1216
         X"$as_myself" : 'X\(//\)$' \| \
 
1217
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1218
$as_echo X"$as_myself" |
1141
1219
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1142
1220
            s//\1/
1143
1221
            q
1164
1242
fi
1165
1243
if test ! -r "$srcdir/$ac_unique_file"; then
1166
1244
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1167
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1245
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1168
1246
   { (exit 1); exit 1; }; }
1169
1247
fi
1170
1248
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1171
1249
ac_abs_confdir=`(
1172
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1250
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1173
1251
   { (exit 1); exit 1; }; }
1174
1252
        pwd)`
1175
1253
# When building in place, set srcdir=.
1218
1296
 
1219
1297
Installation directories:
1220
1298
  --prefix=PREFIX         install architecture-independent files in PREFIX
1221
 
                          [$ac_default_prefix]
 
1299
                          [$ac_default_prefix]
1222
1300
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1223
 
                          [PREFIX]
 
1301
                          [PREFIX]
1224
1302
 
1225
1303
By default, \`make install' will install all the files in
1226
1304
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1230
1308
For better control, use the options below.
1231
1309
 
1232
1310
Fine tuning of the installation directories:
1233
 
  --bindir=DIR           user executables [EPREFIX/bin]
1234
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1235
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1236
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1237
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1238
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1239
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1240
 
  --includedir=DIR       C header files [PREFIX/include]
1241
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1242
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1243
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1244
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1245
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1246
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1247
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1248
 
  --htmldir=DIR          html documentation [DOCDIR]
1249
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1250
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1251
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1311
  --bindir=DIR            user executables [EPREFIX/bin]
 
1312
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1313
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1314
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1315
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1316
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1317
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1318
  --includedir=DIR        C header files [PREFIX/include]
 
1319
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1320
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1321
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1322
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1323
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1324
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1325
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1326
  --htmldir=DIR           html documentation [DOCDIR]
 
1327
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1328
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1329
  --psdir=DIR             ps documentation [DOCDIR]
1252
1330
_ACEOF
1253
1331
 
1254
1332
  cat <<\_ACEOF
1295
1373
if test "$ac_init_help" = "recursive"; then
1296
1374
  # If there are subdirs, report their specific --help.
1297
1375
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1298
 
    test -d "$ac_dir" || continue
 
1376
    test -d "$ac_dir" ||
 
1377
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1378
      continue
1299
1379
    ac_builddir=.
1300
1380
 
1301
1381
case "$ac_dir" in
1302
1382
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303
1383
*)
1304
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1384
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1305
1385
  # A ".." for each directory in $ac_dir_suffix.
1306
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1386
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1307
1387
  case $ac_top_builddir_sub in
1308
1388
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309
1389
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1339
1419
      echo &&
1340
1420
      $SHELL "$ac_srcdir/configure" --help=recursive
1341
1421
    else
1342
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1422
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1343
1423
    fi || ac_status=$?
1344
1424
    cd "$ac_pwd" || { ac_status=$?; break; }
1345
1425
  done
1349
1429
if $ac_init_version; then
1350
1430
  cat <<\_ACEOF
1351
1431
configure
1352
 
generated by GNU Autoconf 2.61
 
1432
generated by GNU Autoconf 2.63
1353
1433
 
1354
1434
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1355
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1435
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1356
1436
This configure script is free software; the Free Software Foundation
1357
1437
gives unlimited permission to copy, distribute and modify it.
1358
1438
_ACEOF
1363
1443
running configure, to aid debugging if configure makes a mistake.
1364
1444
 
1365
1445
It was created by $as_me, which was
1366
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1446
generated by GNU Autoconf 2.63.  Invocation command line was
1367
1447
 
1368
1448
  $ $0 $@
1369
1449
 
1399
1479
do
1400
1480
  IFS=$as_save_IFS
1401
1481
  test -z "$as_dir" && as_dir=.
1402
 
  echo "PATH: $as_dir"
 
1482
  $as_echo "PATH: $as_dir"
1403
1483
done
1404
1484
IFS=$as_save_IFS
1405
1485
 
1434
1514
    | -silent | --silent | --silen | --sile | --sil)
1435
1515
      continue ;;
1436
1516
    *\'*)
1437
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1517
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1438
1518
    esac
1439
1519
    case $ac_pass in
1440
1520
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1486
1566
    case $ac_val in #(
1487
1567
    *${as_nl}*)
1488
1568
      case $ac_var in #(
1489
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1490
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1569
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1570
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1491
1571
      esac
1492
1572
      case $ac_var in #(
1493
1573
      _ | IFS | as_nl) ;; #(
 
1574
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1494
1575
      *) $as_unset $ac_var ;;
1495
1576
      esac ;;
1496
1577
    esac
1520
1601
    do
1521
1602
      eval ac_val=\$$ac_var
1522
1603
      case $ac_val in
1523
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1604
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1524
1605
      esac
1525
 
      echo "$ac_var='\''$ac_val'\''"
 
1606
      $as_echo "$ac_var='\''$ac_val'\''"
1526
1607
    done | sort
1527
1608
    echo
1528
1609
 
1537
1618
      do
1538
1619
        eval ac_val=\$$ac_var
1539
1620
        case $ac_val in
1540
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1621
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1541
1622
        esac
1542
 
        echo "$ac_var='\''$ac_val'\''"
 
1623
        $as_echo "$ac_var='\''$ac_val'\''"
1543
1624
      done | sort
1544
1625
      echo
1545
1626
    fi
1555
1636
      echo
1556
1637
    fi
1557
1638
    test "$ac_signal" != 0 &&
1558
 
      echo "$as_me: caught signal $ac_signal"
1559
 
    echo "$as_me: exit $exit_status"
 
1639
      $as_echo "$as_me: caught signal $ac_signal"
 
1640
    $as_echo "$as_me: exit $exit_status"
1560
1641
  } >&5
1561
1642
  rm -f core *.core core.conftest.* &&
1562
1643
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598
1679
 
1599
1680
 
1600
1681
# Let the site file select an alternate cache file if it wants to.
1601
 
# Prefer explicitly selected file to automatically selected ones.
 
1682
# Prefer an explicitly selected file to automatically selected ones.
 
1683
ac_site_file1=NONE
 
1684
ac_site_file2=NONE
1602
1685
if test -n "$CONFIG_SITE"; then
1603
 
  set x "$CONFIG_SITE"
 
1686
  ac_site_file1=$CONFIG_SITE
1604
1687
elif test "x$prefix" != xNONE; then
1605
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1688
  ac_site_file1=$prefix/share/config.site
 
1689
  ac_site_file2=$prefix/etc/config.site
1606
1690
else
1607
 
  set x "$ac_default_prefix/share/config.site" \
1608
 
        "$ac_default_prefix/etc/config.site"
 
1691
  ac_site_file1=$ac_default_prefix/share/config.site
 
1692
  ac_site_file2=$ac_default_prefix/etc/config.site
1609
1693
fi
1610
 
shift
1611
 
for ac_site_file
 
1694
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1612
1695
do
 
1696
  test "x$ac_site_file" = xNONE && continue
1613
1697
  if test -r "$ac_site_file"; then
1614
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1615
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1698
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1699
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1616
1700
    sed 's/^/| /' "$ac_site_file" >&5
1617
1701
    . "$ac_site_file"
1618
1702
  fi
1622
1706
  # Some versions of bash will fail to source /dev/null (special
1623
1707
  # files actually), so we avoid doing that.
1624
1708
  if test -f "$cache_file"; then
1625
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1626
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1709
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1710
$as_echo "$as_me: loading cache $cache_file" >&6;}
1627
1711
    case $cache_file in
1628
1712
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1629
1713
      *)                      . "./$cache_file";;
1630
1714
    esac
1631
1715
  fi
1632
1716
else
1633
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1634
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1717
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1718
$as_echo "$as_me: creating cache $cache_file" >&6;}
1635
1719
  >$cache_file
1636
1720
fi
1637
1721
 
1645
1729
  eval ac_new_val=\$ac_env_${ac_var}_value
1646
1730
  case $ac_old_set,$ac_new_set in
1647
1731
    set,)
1648
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1649
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1732
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1733
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1650
1734
      ac_cache_corrupted=: ;;
1651
1735
    ,set)
1652
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1653
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1736
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1737
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1654
1738
      ac_cache_corrupted=: ;;
1655
1739
    ,);;
1656
1740
    *)
1657
1741
      if test "x$ac_old_val" != "x$ac_new_val"; then
1658
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1659
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1660
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1661
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1662
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1663
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1664
 
        ac_cache_corrupted=:
 
1742
        # differences in whitespace do not lead to failure.
 
1743
        ac_old_val_w=`echo x $ac_old_val`
 
1744
        ac_new_val_w=`echo x $ac_new_val`
 
1745
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1746
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1747
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1748
          ac_cache_corrupted=:
 
1749
        else
 
1750
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1751
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1752
          eval $ac_var=\$ac_old_val
 
1753
        fi
 
1754
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1755
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1756
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1757
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1665
1758
      fi;;
1666
1759
  esac
1667
1760
  # Pass precious variables to config.status.
1668
1761
  if test "$ac_new_set" = set; then
1669
1762
    case $ac_new_val in
1670
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1763
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1671
1764
    *) ac_arg=$ac_var=$ac_new_val ;;
1672
1765
    esac
1673
1766
    case " $ac_configure_args " in
1677
1770
  fi
1678
1771
done
1679
1772
if $ac_cache_corrupted; then
1680
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1681
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1682
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1683
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1773
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1774
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1775
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1776
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1777
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1778
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1684
1779
   { (exit 1); exit 1; }; }
1685
1780
fi
1686
1781
 
1838
1933
  fi
1839
1934
done
1840
1935
if test -z "$ac_aux_dir"; then
1841
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1842
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1936
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1937
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1843
1938
   { (exit 1); exit 1; }; }
1844
1939
fi
1845
1940
 
1854
1949
 
1855
1950
# Make sure we can run config.sub.
1856
1951
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1857
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1858
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
1952
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
1953
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1859
1954
   { (exit 1); exit 1; }; }
1860
1955
 
1861
 
{ echo "$as_me:$LINENO: checking build system type" >&5
1862
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
1956
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
1957
$as_echo_n "checking build system type... " >&6; }
1863
1958
if test "${ac_cv_build+set}" = set; then
1864
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1959
  $as_echo_n "(cached) " >&6
1865
1960
else
1866
1961
  ac_build_alias=$build_alias
1867
1962
test "x$ac_build_alias" = x &&
1868
1963
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1869
1964
test "x$ac_build_alias" = x &&
1870
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1871
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
1965
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
1966
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1872
1967
   { (exit 1); exit 1; }; }
1873
1968
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1874
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1875
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
1969
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
1970
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1876
1971
   { (exit 1); exit 1; }; }
1877
1972
 
1878
1973
fi
1879
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1880
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
1974
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
1975
$as_echo "$ac_cv_build" >&6; }
1881
1976
case $ac_cv_build in
1882
1977
*-*-*) ;;
1883
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1884
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
1978
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
1979
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1885
1980
   { (exit 1); exit 1; }; };;
1886
1981
esac
1887
1982
build=$ac_cv_build
1898
1993
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1899
1994
 
1900
1995
 
1901
 
{ echo "$as_me:$LINENO: checking host system type" >&5
1902
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
1996
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
1997
$as_echo_n "checking host system type... " >&6; }
1903
1998
if test "${ac_cv_host+set}" = set; then
1904
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1999
  $as_echo_n "(cached) " >&6
1905
2000
else
1906
2001
  if test "x$host_alias" = x; then
1907
2002
  ac_cv_host=$ac_cv_build
1908
2003
else
1909
2004
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1910
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1911
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
2005
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2006
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1912
2007
   { (exit 1); exit 1; }; }
1913
2008
fi
1914
2009
 
1915
2010
fi
1916
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1917
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
2011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2012
$as_echo "$ac_cv_host" >&6; }
1918
2013
case $ac_cv_host in
1919
2014
*-*-*) ;;
1920
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1921
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
2015
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2016
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1922
2017
   { (exit 1); exit 1; }; };;
1923
2018
esac
1924
2019
host=$ac_cv_host
1944
2039
if test -n "$ac_tool_prefix"; then
1945
2040
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1946
2041
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1947
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1948
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2042
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2043
$as_echo_n "checking for $ac_word... " >&6; }
1949
2044
if test "${ac_cv_prog_CC+set}" = set; then
1950
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2045
  $as_echo_n "(cached) " >&6
1951
2046
else
1952
2047
  if test -n "$CC"; then
1953
2048
  ac_cv_prog_CC="$CC" # Let the user override the test.
1960
2055
  for ac_exec_ext in '' $ac_executable_extensions; do
1961
2056
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1962
2057
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1963
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2058
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1964
2059
    break 2
1965
2060
  fi
1966
2061
done
1971
2066
fi
1972
2067
CC=$ac_cv_prog_CC
1973
2068
if test -n "$CC"; then
1974
 
  { echo "$as_me:$LINENO: result: $CC" >&5
1975
 
echo "${ECHO_T}$CC" >&6; }
 
2069
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2070
$as_echo "$CC" >&6; }
1976
2071
else
1977
 
  { echo "$as_me:$LINENO: result: no" >&5
1978
 
echo "${ECHO_T}no" >&6; }
 
2072
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2073
$as_echo "no" >&6; }
1979
2074
fi
1980
2075
 
1981
2076
 
1984
2079
  ac_ct_CC=$CC
1985
2080
  # Extract the first word of "gcc", so it can be a program name with args.
1986
2081
set dummy gcc; ac_word=$2
1987
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1988
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2082
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2083
$as_echo_n "checking for $ac_word... " >&6; }
1989
2084
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2085
  $as_echo_n "(cached) " >&6
1991
2086
else
1992
2087
  if test -n "$ac_ct_CC"; then
1993
2088
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2000
2095
  for ac_exec_ext in '' $ac_executable_extensions; do
2001
2096
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2002
2097
    ac_cv_prog_ac_ct_CC="gcc"
2003
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2098
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004
2099
    break 2
2005
2100
  fi
2006
2101
done
2011
2106
fi
2012
2107
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2013
2108
if test -n "$ac_ct_CC"; then
2014
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2015
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2109
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2110
$as_echo "$ac_ct_CC" >&6; }
2016
2111
else
2017
 
  { echo "$as_me:$LINENO: result: no" >&5
2018
 
echo "${ECHO_T}no" >&6; }
 
2112
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2113
$as_echo "no" >&6; }
2019
2114
fi
2020
2115
 
2021
2116
  if test "x$ac_ct_CC" = x; then
2023
2118
  else
2024
2119
    case $cross_compiling:$ac_tool_warned in
2025
2120
yes:)
2026
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2027
 
whose name does not start with the host triplet.  If you think this
2028
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2029
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2030
 
whose name does not start with the host triplet.  If you think this
2031
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2121
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2122
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2032
2123
ac_tool_warned=yes ;;
2033
2124
esac
2034
2125
    CC=$ac_ct_CC
2041
2132
          if test -n "$ac_tool_prefix"; then
2042
2133
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2043
2134
set dummy ${ac_tool_prefix}cc; ac_word=$2
2044
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2045
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2135
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2136
$as_echo_n "checking for $ac_word... " >&6; }
2046
2137
if test "${ac_cv_prog_CC+set}" = set; then
2047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2138
  $as_echo_n "(cached) " >&6
2048
2139
else
2049
2140
  if test -n "$CC"; then
2050
2141
  ac_cv_prog_CC="$CC" # Let the user override the test.
2057
2148
  for ac_exec_ext in '' $ac_executable_extensions; do
2058
2149
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059
2150
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2060
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2151
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061
2152
    break 2
2062
2153
  fi
2063
2154
done
2068
2159
fi
2069
2160
CC=$ac_cv_prog_CC
2070
2161
if test -n "$CC"; then
2071
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2072
 
echo "${ECHO_T}$CC" >&6; }
 
2162
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2163
$as_echo "$CC" >&6; }
2073
2164
else
2074
 
  { echo "$as_me:$LINENO: result: no" >&5
2075
 
echo "${ECHO_T}no" >&6; }
 
2165
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2166
$as_echo "no" >&6; }
2076
2167
fi
2077
2168
 
2078
2169
 
2081
2172
if test -z "$CC"; then
2082
2173
  # Extract the first word of "cc", so it can be a program name with args.
2083
2174
set dummy cc; ac_word=$2
2084
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2085
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2175
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2176
$as_echo_n "checking for $ac_word... " >&6; }
2086
2177
if test "${ac_cv_prog_CC+set}" = set; then
2087
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2178
  $as_echo_n "(cached) " >&6
2088
2179
else
2089
2180
  if test -n "$CC"; then
2090
2181
  ac_cv_prog_CC="$CC" # Let the user override the test.
2102
2193
       continue
2103
2194
     fi
2104
2195
    ac_cv_prog_CC="cc"
2105
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2196
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106
2197
    break 2
2107
2198
  fi
2108
2199
done
2125
2216
fi
2126
2217
CC=$ac_cv_prog_CC
2127
2218
if test -n "$CC"; then
2128
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2129
 
echo "${ECHO_T}$CC" >&6; }
 
2219
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2220
$as_echo "$CC" >&6; }
2130
2221
else
2131
 
  { echo "$as_me:$LINENO: result: no" >&5
2132
 
echo "${ECHO_T}no" >&6; }
 
2222
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2223
$as_echo "no" >&6; }
2133
2224
fi
2134
2225
 
2135
2226
 
2140
2231
  do
2141
2232
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2142
2233
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2143
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2144
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2234
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2235
$as_echo_n "checking for $ac_word... " >&6; }
2145
2236
if test "${ac_cv_prog_CC+set}" = set; then
2146
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2237
  $as_echo_n "(cached) " >&6
2147
2238
else
2148
2239
  if test -n "$CC"; then
2149
2240
  ac_cv_prog_CC="$CC" # Let the user override the test.
2156
2247
  for ac_exec_ext in '' $ac_executable_extensions; do
2157
2248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158
2249
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2159
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2250
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160
2251
    break 2
2161
2252
  fi
2162
2253
done
2167
2258
fi
2168
2259
CC=$ac_cv_prog_CC
2169
2260
if test -n "$CC"; then
2170
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2171
 
echo "${ECHO_T}$CC" >&6; }
 
2261
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2262
$as_echo "$CC" >&6; }
2172
2263
else
2173
 
  { echo "$as_me:$LINENO: result: no" >&5
2174
 
echo "${ECHO_T}no" >&6; }
 
2264
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2265
$as_echo "no" >&6; }
2175
2266
fi
2176
2267
 
2177
2268
 
2184
2275
do
2185
2276
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2186
2277
set dummy $ac_prog; ac_word=$2
2187
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2188
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2278
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2279
$as_echo_n "checking for $ac_word... " >&6; }
2189
2280
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2190
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2281
  $as_echo_n "(cached) " >&6
2191
2282
else
2192
2283
  if test -n "$ac_ct_CC"; then
2193
2284
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2200
2291
  for ac_exec_ext in '' $ac_executable_extensions; do
2201
2292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202
2293
    ac_cv_prog_ac_ct_CC="$ac_prog"
2203
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2294
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204
2295
    break 2
2205
2296
  fi
2206
2297
done
2211
2302
fi
2212
2303
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2213
2304
if test -n "$ac_ct_CC"; then
2214
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2215
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2305
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2306
$as_echo "$ac_ct_CC" >&6; }
2216
2307
else
2217
 
  { echo "$as_me:$LINENO: result: no" >&5
2218
 
echo "${ECHO_T}no" >&6; }
 
2308
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2309
$as_echo "no" >&6; }
2219
2310
fi
2220
2311
 
2221
2312
 
2227
2318
  else
2228
2319
    case $cross_compiling:$ac_tool_warned in
2229
2320
yes:)
2230
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2231
 
whose name does not start with the host triplet.  If you think this
2232
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2233
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2234
 
whose name does not start with the host triplet.  If you think this
2235
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2321
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2322
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2236
2323
ac_tool_warned=yes ;;
2237
2324
esac
2238
2325
    CC=$ac_ct_CC
2242
2329
fi
2243
2330
 
2244
2331
 
2245
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2332
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2333
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2334
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2246
2335
See \`config.log' for more details." >&5
2247
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2336
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2248
2337
See \`config.log' for more details." >&2;}
2249
 
   { (exit 1); exit 1; }; }
 
2338
   { (exit 1); exit 1; }; }; }
2250
2339
 
2251
2340
# Provide some information about the compiler.
2252
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2253
 
ac_compiler=`set X $ac_compile; echo $2`
 
2341
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2342
set X $ac_compile
 
2343
ac_compiler=$2
2254
2344
{ (ac_try="$ac_compiler --version >&5"
2255
2345
case "(($ac_try" in
2256
2346
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257
2347
  *) ac_try_echo=$ac_try;;
2258
2348
esac
2259
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2349
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2350
$as_echo "$ac_try_echo") >&5
2260
2351
  (eval "$ac_compiler --version >&5") 2>&5
2261
2352
  ac_status=$?
2262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2353
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263
2354
  (exit $ac_status); }
2264
2355
{ (ac_try="$ac_compiler -v >&5"
2265
2356
case "(($ac_try" in
2266
2357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267
2358
  *) ac_try_echo=$ac_try;;
2268
2359
esac
2269
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2360
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2361
$as_echo "$ac_try_echo") >&5
2270
2362
  (eval "$ac_compiler -v >&5") 2>&5
2271
2363
  ac_status=$?
2272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2364
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273
2365
  (exit $ac_status); }
2274
2366
{ (ac_try="$ac_compiler -V >&5"
2275
2367
case "(($ac_try" in
2276
2368
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277
2369
  *) ac_try_echo=$ac_try;;
2278
2370
esac
2279
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2371
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2372
$as_echo "$ac_try_echo") >&5
2280
2373
  (eval "$ac_compiler -V >&5") 2>&5
2281
2374
  ac_status=$?
2282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2375
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283
2376
  (exit $ac_status); }
2284
2377
 
2285
2378
cat >conftest.$ac_ext <<_ACEOF
2298
2391
}
2299
2392
_ACEOF
2300
2393
ac_clean_files_save=$ac_clean_files
2301
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2394
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2302
2395
# Try to create an executable without -o first, disregard a.out.
2303
2396
# It will help us diagnose broken compilers, and finding out an intuition
2304
2397
# of exeext.
2305
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2306
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2307
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2308
 
#
2309
 
# List of possible output files, starting from the most likely.
2310
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2311
 
# only as a last resort.  b.out is created by i960 compilers.
2312
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2313
 
#
2314
 
# The IRIX 6 linker writes into existing files which may not be
2315
 
# executable, retaining their permissions.  Remove them first so a
2316
 
# subsequent execution test works.
 
2398
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2399
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2400
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2401
 
 
2402
# The possible output files:
 
2403
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2404
 
2317
2405
ac_rmfiles=
2318
2406
for ac_file in $ac_files
2319
2407
do
2320
2408
  case $ac_file in
2321
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2409
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2322
2410
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2323
2411
  esac
2324
2412
done
2329
2417
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330
2418
  *) ac_try_echo=$ac_try;;
2331
2419
esac
2332
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2420
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2421
$as_echo "$ac_try_echo") >&5
2333
2422
  (eval "$ac_link_default") 2>&5
2334
2423
  ac_status=$?
2335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2424
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336
2425
  (exit $ac_status); }; then
2337
2426
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2338
2427
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2343
2432
do
2344
2433
  test -f "$ac_file" || continue
2345
2434
  case $ac_file in
2346
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2435
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2347
2436
        ;;
2348
2437
    [ab].out )
2349
2438
        # We found the default executable, but exeext='' is most
2370
2459
  ac_file=''
2371
2460
fi
2372
2461
 
2373
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2374
 
echo "${ECHO_T}$ac_file" >&6; }
 
2462
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2463
$as_echo "$ac_file" >&6; }
2375
2464
if test -z "$ac_file"; then
2376
 
  echo "$as_me: failed program was:" >&5
 
2465
  $as_echo "$as_me: failed program was:" >&5
2377
2466
sed 's/^/| /' conftest.$ac_ext >&5
2378
2467
 
2379
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2468
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2469
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2470
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2380
2471
See \`config.log' for more details." >&5
2381
 
echo "$as_me: error: C compiler cannot create executables
 
2472
$as_echo "$as_me: error: C compiler cannot create executables
2382
2473
See \`config.log' for more details." >&2;}
2383
 
   { (exit 77); exit 77; }; }
 
2474
   { (exit 77); exit 77; }; }; }
2384
2475
fi
2385
2476
 
2386
2477
ac_exeext=$ac_cv_exeext
2387
2478
 
2388
2479
# Check that the compiler produces executables we can run.  If not, either
2389
2480
# the compiler is broken, or we cross compile.
2390
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2391
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2481
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2482
$as_echo_n "checking whether the C compiler works... " >&6; }
2392
2483
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2393
2484
# If not cross compiling, check that we can run a simple program.
2394
2485
if test "$cross_compiling" != yes; then
2397
2488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398
2489
  *) ac_try_echo=$ac_try;;
2399
2490
esac
2400
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2492
$as_echo "$ac_try_echo") >&5
2401
2493
  (eval "$ac_try") 2>&5
2402
2494
  ac_status=$?
2403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2495
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404
2496
  (exit $ac_status); }; }; then
2405
2497
    cross_compiling=no
2406
2498
  else
2407
2499
    if test "$cross_compiling" = maybe; then
2408
2500
        cross_compiling=yes
2409
2501
    else
2410
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2502
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2503
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2504
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2411
2505
If you meant to cross compile, use \`--host'.
2412
2506
See \`config.log' for more details." >&5
2413
 
echo "$as_me: error: cannot run C compiled programs.
 
2507
$as_echo "$as_me: error: cannot run C compiled programs.
2414
2508
If you meant to cross compile, use \`--host'.
2415
2509
See \`config.log' for more details." >&2;}
2416
 
   { (exit 1); exit 1; }; }
 
2510
   { (exit 1); exit 1; }; }; }
2417
2511
    fi
2418
2512
  fi
2419
2513
fi
2420
 
{ echo "$as_me:$LINENO: result: yes" >&5
2421
 
echo "${ECHO_T}yes" >&6; }
 
2514
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2515
$as_echo "yes" >&6; }
2422
2516
 
2423
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2517
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2424
2518
ac_clean_files=$ac_clean_files_save
2425
2519
# Check that the compiler produces executables we can run.  If not, either
2426
2520
# the compiler is broken, or we cross compile.
2427
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2428
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2429
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2430
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2521
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2522
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2523
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2524
$as_echo "$cross_compiling" >&6; }
2431
2525
 
2432
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2433
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2526
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2527
$as_echo_n "checking for suffix of executables... " >&6; }
2434
2528
if { (ac_try="$ac_link"
2435
2529
case "(($ac_try" in
2436
2530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437
2531
  *) ac_try_echo=$ac_try;;
2438
2532
esac
2439
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2533
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2534
$as_echo "$ac_try_echo") >&5
2440
2535
  (eval "$ac_link") 2>&5
2441
2536
  ac_status=$?
2442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443
2538
  (exit $ac_status); }; then
2444
2539
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2445
2540
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2448
2543
for ac_file in conftest.exe conftest conftest.*; do
2449
2544
  test -f "$ac_file" || continue
2450
2545
  case $ac_file in
2451
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2546
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2452
2547
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2453
2548
          break;;
2454
2549
    * ) break;;
2455
2550
  esac
2456
2551
done
2457
2552
else
2458
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2553
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2554
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2555
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2459
2556
See \`config.log' for more details." >&5
2460
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2557
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2461
2558
See \`config.log' for more details." >&2;}
2462
 
   { (exit 1); exit 1; }; }
 
2559
   { (exit 1); exit 1; }; }; }
2463
2560
fi
2464
2561
 
2465
2562
rm -f conftest$ac_cv_exeext
2466
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2467
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2563
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2564
$as_echo "$ac_cv_exeext" >&6; }
2468
2565
 
2469
2566
rm -f conftest.$ac_ext
2470
2567
EXEEXT=$ac_cv_exeext
2471
2568
ac_exeext=$EXEEXT
2472
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2473
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2569
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2570
$as_echo_n "checking for suffix of object files... " >&6; }
2474
2571
if test "${ac_cv_objext+set}" = set; then
2475
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2572
  $as_echo_n "(cached) " >&6
2476
2573
else
2477
2574
  cat >conftest.$ac_ext <<_ACEOF
2478
2575
/* confdefs.h.  */
2495
2592
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496
2593
  *) ac_try_echo=$ac_try;;
2497
2594
esac
2498
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2595
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2596
$as_echo "$ac_try_echo") >&5
2499
2597
  (eval "$ac_compile") 2>&5
2500
2598
  ac_status=$?
2501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2599
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502
2600
  (exit $ac_status); }; then
2503
2601
  for ac_file in conftest.o conftest.obj conftest.*; do
2504
2602
  test -f "$ac_file" || continue;
2505
2603
  case $ac_file in
2506
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2604
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2507
2605
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2508
2606
       break;;
2509
2607
  esac
2510
2608
done
2511
2609
else
2512
 
  echo "$as_me: failed program was:" >&5
 
2610
  $as_echo "$as_me: failed program was:" >&5
2513
2611
sed 's/^/| /' conftest.$ac_ext >&5
2514
2612
 
2515
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2613
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2614
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2615
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2516
2616
See \`config.log' for more details." >&5
2517
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2617
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2518
2618
See \`config.log' for more details." >&2;}
2519
 
   { (exit 1); exit 1; }; }
 
2619
   { (exit 1); exit 1; }; }; }
2520
2620
fi
2521
2621
 
2522
2622
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2523
2623
fi
2524
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2525
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2624
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2625
$as_echo "$ac_cv_objext" >&6; }
2526
2626
OBJEXT=$ac_cv_objext
2527
2627
ac_objext=$OBJEXT
2528
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2529
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2628
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2629
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2530
2630
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2531
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2631
  $as_echo_n "(cached) " >&6
2532
2632
else
2533
2633
  cat >conftest.$ac_ext <<_ACEOF
2534
2634
/* confdefs.h.  */
2554
2654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555
2655
  *) ac_try_echo=$ac_try;;
2556
2656
esac
2557
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2657
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2658
$as_echo "$ac_try_echo") >&5
2558
2659
  (eval "$ac_compile") 2>conftest.er1
2559
2660
  ac_status=$?
2560
2661
  grep -v '^ *+' conftest.er1 >conftest.err
2561
2662
  rm -f conftest.er1
2562
2663
  cat conftest.err >&5
2563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2664
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564
2665
  (exit $ac_status); } && {
2565
2666
         test -z "$ac_c_werror_flag" ||
2566
2667
         test ! -s conftest.err
2567
2668
       } && test -s conftest.$ac_objext; then
2568
2669
  ac_compiler_gnu=yes
2569
2670
else
2570
 
  echo "$as_me: failed program was:" >&5
 
2671
  $as_echo "$as_me: failed program was:" >&5
2571
2672
sed 's/^/| /' conftest.$ac_ext >&5
2572
2673
 
2573
2674
        ac_compiler_gnu=no
2577
2678
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2578
2679
 
2579
2680
fi
2580
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2581
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2582
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2681
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2682
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
2683
if test $ac_compiler_gnu = yes; then
 
2684
  GCC=yes
 
2685
else
 
2686
  GCC=
 
2687
fi
2583
2688
ac_test_CFLAGS=${CFLAGS+set}
2584
2689
ac_save_CFLAGS=$CFLAGS
2585
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2586
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
2690
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2691
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2587
2692
if test "${ac_cv_prog_cc_g+set}" = set; then
2588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2693
  $as_echo_n "(cached) " >&6
2589
2694
else
2590
2695
  ac_save_c_werror_flag=$ac_c_werror_flag
2591
2696
   ac_c_werror_flag=yes
2612
2717
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613
2718
  *) ac_try_echo=$ac_try;;
2614
2719
esac
2615
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2720
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2721
$as_echo "$ac_try_echo") >&5
2616
2722
  (eval "$ac_compile") 2>conftest.er1
2617
2723
  ac_status=$?
2618
2724
  grep -v '^ *+' conftest.er1 >conftest.err
2619
2725
  rm -f conftest.er1
2620
2726
  cat conftest.err >&5
2621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2727
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622
2728
  (exit $ac_status); } && {
2623
2729
         test -z "$ac_c_werror_flag" ||
2624
2730
         test ! -s conftest.err
2625
2731
       } && test -s conftest.$ac_objext; then
2626
2732
  ac_cv_prog_cc_g=yes
2627
2733
else
2628
 
  echo "$as_me: failed program was:" >&5
 
2734
  $as_echo "$as_me: failed program was:" >&5
2629
2735
sed 's/^/| /' conftest.$ac_ext >&5
2630
2736
 
2631
2737
        CFLAGS=""
2650
2756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651
2757
  *) ac_try_echo=$ac_try;;
2652
2758
esac
2653
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2759
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2760
$as_echo "$ac_try_echo") >&5
2654
2761
  (eval "$ac_compile") 2>conftest.er1
2655
2762
  ac_status=$?
2656
2763
  grep -v '^ *+' conftest.er1 >conftest.err
2657
2764
  rm -f conftest.er1
2658
2765
  cat conftest.err >&5
2659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2766
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660
2767
  (exit $ac_status); } && {
2661
2768
         test -z "$ac_c_werror_flag" ||
2662
2769
         test ! -s conftest.err
2663
2770
       } && test -s conftest.$ac_objext; then
2664
2771
  :
2665
2772
else
2666
 
  echo "$as_me: failed program was:" >&5
 
2773
  $as_echo "$as_me: failed program was:" >&5
2667
2774
sed 's/^/| /' conftest.$ac_ext >&5
2668
2775
 
2669
2776
        ac_c_werror_flag=$ac_save_c_werror_flag
2689
2796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690
2797
  *) ac_try_echo=$ac_try;;
2691
2798
esac
2692
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2799
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2800
$as_echo "$ac_try_echo") >&5
2693
2801
  (eval "$ac_compile") 2>conftest.er1
2694
2802
  ac_status=$?
2695
2803
  grep -v '^ *+' conftest.er1 >conftest.err
2696
2804
  rm -f conftest.er1
2697
2805
  cat conftest.err >&5
2698
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2806
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699
2807
  (exit $ac_status); } && {
2700
2808
         test -z "$ac_c_werror_flag" ||
2701
2809
         test ! -s conftest.err
2702
2810
       } && test -s conftest.$ac_objext; then
2703
2811
  ac_cv_prog_cc_g=yes
2704
2812
else
2705
 
  echo "$as_me: failed program was:" >&5
 
2813
  $as_echo "$as_me: failed program was:" >&5
2706
2814
sed 's/^/| /' conftest.$ac_ext >&5
2707
2815
 
2708
2816
 
2717
2825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718
2826
   ac_c_werror_flag=$ac_save_c_werror_flag
2719
2827
fi
2720
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2721
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
2828
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2829
$as_echo "$ac_cv_prog_cc_g" >&6; }
2722
2830
if test "$ac_test_CFLAGS" = set; then
2723
2831
  CFLAGS=$ac_save_CFLAGS
2724
2832
elif test $ac_cv_prog_cc_g = yes; then
2734
2842
    CFLAGS=
2735
2843
  fi
2736
2844
fi
2737
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2738
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2845
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2846
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2739
2847
if test "${ac_cv_prog_cc_c89+set}" = set; then
2740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2848
  $as_echo_n "(cached) " >&6
2741
2849
else
2742
2850
  ac_cv_prog_cc_c89=no
2743
2851
ac_save_CC=$CC
2808
2916
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809
2917
  *) ac_try_echo=$ac_try;;
2810
2918
esac
2811
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2919
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2920
$as_echo "$ac_try_echo") >&5
2812
2921
  (eval "$ac_compile") 2>conftest.er1
2813
2922
  ac_status=$?
2814
2923
  grep -v '^ *+' conftest.er1 >conftest.err
2815
2924
  rm -f conftest.er1
2816
2925
  cat conftest.err >&5
2817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2926
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818
2927
  (exit $ac_status); } && {
2819
2928
         test -z "$ac_c_werror_flag" ||
2820
2929
         test ! -s conftest.err
2821
2930
       } && test -s conftest.$ac_objext; then
2822
2931
  ac_cv_prog_cc_c89=$ac_arg
2823
2932
else
2824
 
  echo "$as_me: failed program was:" >&5
 
2933
  $as_echo "$as_me: failed program was:" >&5
2825
2934
sed 's/^/| /' conftest.$ac_ext >&5
2826
2935
 
2827
2936
 
2837
2946
# AC_CACHE_VAL
2838
2947
case "x$ac_cv_prog_cc_c89" in
2839
2948
  x)
2840
 
    { echo "$as_me:$LINENO: result: none needed" >&5
2841
 
echo "${ECHO_T}none needed" >&6; } ;;
 
2949
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
2950
$as_echo "none needed" >&6; } ;;
2842
2951
  xno)
2843
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
2844
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
2952
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
2953
$as_echo "unsupported" >&6; } ;;
2845
2954
  *)
2846
2955
    CC="$CC $ac_cv_prog_cc_c89"
2847
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2848
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
2956
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
2957
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2849
2958
esac
2850
2959
 
2851
2960
 
2857
2966
 
2858
2967
 
2859
2968
  if test -z "$GCC"; then
2860
 
    { echo "$as_me:$LINENO: checking how to request ANSI compilation" >&5
2861
 
echo $ECHO_N "checking how to request ANSI compilation... $ECHO_C" >&6; }
 
2969
    { $as_echo "$as_me:$LINENO: checking how to request ANSI compilation" >&5
 
2970
$as_echo_n "checking how to request ANSI compilation... " >&6; }
2862
2971
    case "$host" in
2863
2972
      *-hpux* )
2864
 
        { echo "$as_me:$LINENO: result: HPUX: adding -Ae" >&5
2865
 
echo "${ECHO_T}HPUX: adding -Ae" >&6; }
 
2973
        { $as_echo "$as_me:$LINENO: result: HPUX: adding -Ae" >&5
 
2974
$as_echo "HPUX: adding -Ae" >&6; }
2866
2975
        CC="$CC -Ae"
2867
2976
      ;;
2868
2977
      *-aix* )
2869
 
        { echo "$as_me:$LINENO: result: AIX: adding -qlanglvl=ansi -qhalt=e" >&5
2870
 
echo "${ECHO_T}AIX: adding -qlanglvl=ansi -qhalt=e" >&6; }
 
2978
        { $as_echo "$as_me:$LINENO: result: AIX: adding -qlanglvl=ansi -qhalt=e" >&5
 
2979
$as_echo "AIX: adding -qlanglvl=ansi -qhalt=e" >&6; }
2871
2980
        CC="$CC -qlanglvl=ansi -qhalt=e"
2872
2981
      ;;
2873
2982
 
2874
2983
      *-dec-* )
2875
 
        { echo "$as_me:$LINENO: result: DEC: adding -std1 -ieee" >&5
2876
 
echo "${ECHO_T}DEC: adding -std1 -ieee" >&6; }
 
2984
        { $as_echo "$as_me:$LINENO: result: DEC: adding -std1 -ieee" >&5
 
2985
$as_echo "DEC: adding -std1 -ieee" >&6; }
2877
2986
        CC="$CC -std1"
2878
2987
      ;;
2879
2988
 
2880
2989
      *)
2881
 
        { echo "$as_me:$LINENO: result: no idea" >&5
2882
 
echo "${ECHO_T}no idea" >&6; }
 
2990
        { $as_echo "$as_me:$LINENO: result: no idea" >&5
 
2991
$as_echo "no idea" >&6; }
2883
2992
      ;;
2884
2993
    esac
2885
2994
  fi
2886
2995
 
2887
 
  { echo "$as_me:$LINENO: checking whether the compiler works on ANSI C" >&5
2888
 
echo $ECHO_N "checking whether the compiler works on ANSI C... $ECHO_C" >&6; }
 
2996
  { $as_echo "$as_me:$LINENO: checking whether the compiler works on ANSI C" >&5
 
2997
$as_echo_n "checking whether the compiler works on ANSI C... " >&6; }
2889
2998
  if test "$cross_compiling" = yes; then
2890
 
  { { echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
2891
 
echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
 
2999
  { { $as_echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
 
3000
$as_echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
2892
3001
   { (exit 1); exit 1; }; }
2893
3002
else
2894
3003
  cat >conftest.$ac_ext <<_ACEOF
2905
3014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906
3015
  *) ac_try_echo=$ac_try;;
2907
3016
esac
2908
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3018
$as_echo "$ac_try_echo") >&5
2909
3019
  (eval "$ac_link") 2>&5
2910
3020
  ac_status=$?
2911
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3021
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
3022
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2913
3023
  { (case "(($ac_try" in
2914
3024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915
3025
  *) ac_try_echo=$ac_try;;
2916
3026
esac
2917
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3027
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3028
$as_echo "$ac_try_echo") >&5
2918
3029
  (eval "$ac_try") 2>&5
2919
3030
  ac_status=$?
2920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3031
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921
3032
  (exit $ac_status); }; }; then
2922
 
  { echo "$as_me:$LINENO: result: yes" >&5
2923
 
echo "${ECHO_T}yes" >&6; }
 
3033
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3034
$as_echo "yes" >&6; }
2924
3035
else
2925
 
  echo "$as_me: program exited with status $ac_status" >&5
2926
 
echo "$as_me: failed program was:" >&5
 
3036
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
3037
$as_echo "$as_me: failed program was:" >&5
2927
3038
sed 's/^/| /' conftest.$ac_ext >&5
2928
3039
 
2929
3040
( exit $ac_status )
2930
 
{ echo "$as_me:$LINENO: result: no" >&5
2931
 
echo "${ECHO_T}no" >&6; }
2932
 
     { { echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
2933
 
echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
 
3041
{ $as_echo "$as_me:$LINENO: result: no" >&5
 
3042
$as_echo "no" >&6; }
 
3043
     { { $as_echo "$as_me:$LINENO: error: Couldn't build even a trivial ANSI C program: check CC." >&5
 
3044
$as_echo "$as_me: error: Couldn't build even a trivial ANSI C program: check CC." >&2;}
2934
3045
   { (exit 1); exit 1; }; }
2935
3046
fi
 
3047
rm -rf conftest.dSYM
2936
3048
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2937
3049
fi
2938
3050
 
2939
3051
 
2940
3052
 
2941
3053
  if test -n "$GCC"; then
2942
 
    { echo "$as_me:$LINENO: result: Turning on gcc compiler warnings." >&5
2943
 
echo "${ECHO_T}Turning on gcc compiler warnings." >&6; }
 
3054
    { $as_echo "$as_me:$LINENO: result: Turning on gcc compiler warnings." >&5
 
3055
$as_echo "Turning on gcc compiler warnings." >&6; }
2944
3056
    CC="$CC -pedantic -Wall -Wnested-externs"
2945
3057
    # supposedly gcc 3.4 will have "-Wdeclaration-after-statement"
2946
3058
    # and then perhaps we can do without -pedantic?
2947
3059
  else
2948
3060
    case "$host" in
2949
3061
      *-irix5* |*-irix6.0-3* )
2950
 
        { echo "$as_me:$LINENO: result: Turning on SGI compiler warnings." >&5
2951
 
echo "${ECHO_T}Turning on SGI compiler warnings." >&6; }
 
3062
        { $as_echo "$as_me:$LINENO: result: Turning on SGI compiler warnings." >&5
 
3063
$as_echo "Turning on SGI compiler warnings." >&6; }
2952
3064
        CC="$CC -fullwarn -use_readonly_const -rdata_shared -g3"
2953
3065
      ;;
2954
3066
#     *-dec-osf* )
2962
3074
 
2963
3075
if test -n "$GCC"; then
2964
3076
   if test -n "$GCC"; then
2965
 
   { echo "$as_me:$LINENO: checking whether gcc accepts -std" >&5
2966
 
echo $ECHO_N "checking whether gcc accepts -std... $ECHO_C" >&6; }
 
3077
   { $as_echo "$as_me:$LINENO: checking whether gcc accepts -std" >&5
 
3078
$as_echo_n "checking whether gcc accepts -std... " >&6; }
2967
3079
if test "${ac_cv_gcc_accepts_std+set}" = set; then
2968
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3080
  $as_echo_n "(cached) " >&6
2969
3081
else
2970
3082
  if ( ( gcc -E -std=c89 - </dev/null >/dev/null ) 2>&1 | \
2971
3083
          grep unrecognized >/dev/null ); then
2974
3086
       ac_cv_gcc_accepts_std=yes
2975
3087
     fi
2976
3088
fi
2977
 
{ echo "$as_me:$LINENO: result: $ac_cv_gcc_accepts_std" >&5
2978
 
echo "${ECHO_T}$ac_cv_gcc_accepts_std" >&6; }
 
3089
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gcc_accepts_std" >&5
 
3090
$as_echo "$ac_cv_gcc_accepts_std" >&6; }
2979
3091
   ac_gcc_accepts_std="$ac_cv_gcc_accepts_std"
2980
3092
  fi
2981
3093
 
2982
 
   { echo "$as_me:$LINENO: result: Disabling C++ comments in ANSI C code." >&5
2983
 
echo "${ECHO_T}Disabling C++ comments in ANSI C code." >&6; }
 
3094
   { $as_echo "$as_me:$LINENO: result: Disabling C++ comments in ANSI C code." >&5
 
3095
$as_echo "Disabling C++ comments in ANSI C code." >&6; }
2984
3096
   #
2985
3097
   # The reason that // comments are banned from xscreensaver is that gcc is
2986
3098
   # basically the only compiler in the world that supports them in C code.
3012
3124
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3013
3125
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3014
3126
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3015
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3016
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3127
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3128
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3017
3129
# On Suns, sometimes $CPP names a directory.
3018
3130
if test -n "$CPP" && test -d "$CPP"; then
3019
3131
  CPP=
3020
3132
fi
3021
3133
if test -z "$CPP"; then
3022
3134
  if test "${ac_cv_prog_CPP+set}" = set; then
3023
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3135
  $as_echo_n "(cached) " >&6
3024
3136
else
3025
3137
      # Double quotes because CPP needs to be expanded
3026
3138
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3052
3164
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053
3165
  *) ac_try_echo=$ac_try;;
3054
3166
esac
3055
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3167
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3168
$as_echo "$ac_try_echo") >&5
3056
3169
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3057
3170
  ac_status=$?
3058
3171
  grep -v '^ *+' conftest.er1 >conftest.err
3059
3172
  rm -f conftest.er1
3060
3173
  cat conftest.err >&5
3061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3174
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062
3175
  (exit $ac_status); } >/dev/null && {
3063
3176
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3064
3177
         test ! -s conftest.err
3065
3178
       }; then
3066
3179
  :
3067
3180
else
3068
 
  echo "$as_me: failed program was:" >&5
 
3181
  $as_echo "$as_me: failed program was:" >&5
3069
3182
sed 's/^/| /' conftest.$ac_ext >&5
3070
3183
 
3071
3184
  # Broken: fails on valid input.
3089
3202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090
3203
  *) ac_try_echo=$ac_try;;
3091
3204
esac
3092
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3206
$as_echo "$ac_try_echo") >&5
3093
3207
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3094
3208
  ac_status=$?
3095
3209
  grep -v '^ *+' conftest.er1 >conftest.err
3096
3210
  rm -f conftest.er1
3097
3211
  cat conftest.err >&5
3098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099
3213
  (exit $ac_status); } >/dev/null && {
3100
3214
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3101
3215
         test ! -s conftest.err
3103
3217
  # Broken: success on invalid input.
3104
3218
continue
3105
3219
else
3106
 
  echo "$as_me: failed program was:" >&5
 
3220
  $as_echo "$as_me: failed program was:" >&5
3107
3221
sed 's/^/| /' conftest.$ac_ext >&5
3108
3222
 
3109
3223
  # Passes both tests.
3128
3242
else
3129
3243
  ac_cv_prog_CPP=$CPP
3130
3244
fi
3131
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3132
 
echo "${ECHO_T}$CPP" >&6; }
 
3245
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3246
$as_echo "$CPP" >&6; }
3133
3247
ac_preproc_ok=false
3134
3248
for ac_c_preproc_warn_flag in '' yes
3135
3249
do
3157
3271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158
3272
  *) ac_try_echo=$ac_try;;
3159
3273
esac
3160
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3274
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3275
$as_echo "$ac_try_echo") >&5
3161
3276
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3162
3277
  ac_status=$?
3163
3278
  grep -v '^ *+' conftest.er1 >conftest.err
3164
3279
  rm -f conftest.er1
3165
3280
  cat conftest.err >&5
3166
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3281
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167
3282
  (exit $ac_status); } >/dev/null && {
3168
3283
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3169
3284
         test ! -s conftest.err
3170
3285
       }; then
3171
3286
  :
3172
3287
else
3173
 
  echo "$as_me: failed program was:" >&5
 
3288
  $as_echo "$as_me: failed program was:" >&5
3174
3289
sed 's/^/| /' conftest.$ac_ext >&5
3175
3290
 
3176
3291
  # Broken: fails on valid input.
3194
3309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195
3310
  *) ac_try_echo=$ac_try;;
3196
3311
esac
3197
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3313
$as_echo "$ac_try_echo") >&5
3198
3314
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3199
3315
  ac_status=$?
3200
3316
  grep -v '^ *+' conftest.er1 >conftest.err
3201
3317
  rm -f conftest.er1
3202
3318
  cat conftest.err >&5
3203
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3319
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204
3320
  (exit $ac_status); } >/dev/null && {
3205
3321
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3206
3322
         test ! -s conftest.err
3208
3324
  # Broken: success on invalid input.
3209
3325
continue
3210
3326
else
3211
 
  echo "$as_me: failed program was:" >&5
 
3327
  $as_echo "$as_me: failed program was:" >&5
3212
3328
sed 's/^/| /' conftest.$ac_ext >&5
3213
3329
 
3214
3330
  # Passes both tests.
3224
3340
if $ac_preproc_ok; then
3225
3341
  :
3226
3342
else
3227
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3343
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3344
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3345
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3228
3346
See \`config.log' for more details." >&5
3229
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3347
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3230
3348
See \`config.log' for more details." >&2;}
3231
 
   { (exit 1); exit 1; }; }
 
3349
   { (exit 1); exit 1; }; }; }
3232
3350
fi
3233
3351
 
3234
3352
ac_ext=c
3237
3355
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3238
3356
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239
3357
 
3240
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3241
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
3358
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
3359
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3242
3360
if test "${ac_cv_c_const+set}" = set; then
3243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3361
  $as_echo_n "(cached) " >&6
3244
3362
else
3245
3363
  cat >conftest.$ac_ext <<_ACEOF
3246
3364
/* confdefs.h.  */
3312
3430
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313
3431
  *) ac_try_echo=$ac_try;;
3314
3432
esac
3315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3433
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3434
$as_echo "$ac_try_echo") >&5
3316
3435
  (eval "$ac_compile") 2>conftest.er1
3317
3436
  ac_status=$?
3318
3437
  grep -v '^ *+' conftest.er1 >conftest.err
3319
3438
  rm -f conftest.er1
3320
3439
  cat conftest.err >&5
3321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3440
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322
3441
  (exit $ac_status); } && {
3323
3442
         test -z "$ac_c_werror_flag" ||
3324
3443
         test ! -s conftest.err
3325
3444
       } && test -s conftest.$ac_objext; then
3326
3445
  ac_cv_c_const=yes
3327
3446
else
3328
 
  echo "$as_me: failed program was:" >&5
 
3447
  $as_echo "$as_me: failed program was:" >&5
3329
3448
sed 's/^/| /' conftest.$ac_ext >&5
3330
3449
 
3331
3450
        ac_cv_c_const=no
3333
3452
 
3334
3453
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3335
3454
fi
3336
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3337
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
3455
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
3456
$as_echo "$ac_cv_c_const" >&6; }
3338
3457
if test $ac_cv_c_const = no; then
3339
3458
 
3340
3459
cat >>confdefs.h <<\_ACEOF
3341
 
#define const
 
3460
#define const /**/
3342
3461
_ACEOF
3343
3462
 
3344
3463
fi
3345
3464
 
3346
 
{ echo "$as_me:$LINENO: checking for inline" >&5
3347
 
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
 
3465
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
3466
$as_echo_n "checking for inline... " >&6; }
3348
3467
if test "${ac_cv_c_inline+set}" = set; then
3349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3468
  $as_echo_n "(cached) " >&6
3350
3469
else
3351
3470
  ac_cv_c_inline=no
3352
3471
for ac_kw in inline __inline__ __inline; do
3369
3488
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370
3489
  *) ac_try_echo=$ac_try;;
3371
3490
esac
3372
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3492
$as_echo "$ac_try_echo") >&5
3373
3493
  (eval "$ac_compile") 2>conftest.er1
3374
3494
  ac_status=$?
3375
3495
  grep -v '^ *+' conftest.er1 >conftest.err
3376
3496
  rm -f conftest.er1
3377
3497
  cat conftest.err >&5
3378
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3498
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379
3499
  (exit $ac_status); } && {
3380
3500
         test -z "$ac_c_werror_flag" ||
3381
3501
         test ! -s conftest.err
3382
3502
       } && test -s conftest.$ac_objext; then
3383
3503
  ac_cv_c_inline=$ac_kw
3384
3504
else
3385
 
  echo "$as_me: failed program was:" >&5
 
3505
  $as_echo "$as_me: failed program was:" >&5
3386
3506
sed 's/^/| /' conftest.$ac_ext >&5
3387
3507
 
3388
3508
 
3393
3513
done
3394
3514
 
3395
3515
fi
3396
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3397
 
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
 
3516
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
3517
$as_echo "$ac_cv_c_inline" >&6; }
3398
3518
 
3399
3519
 
3400
3520
case $ac_cv_c_inline in
3428
3548
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3429
3549
# OS/2's system install, which has a completely different semantic
3430
3550
# ./install, which can be erroneously created by make from ./install.sh.
3431
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3432
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3551
# Reject install programs that cannot install multiple files.
 
3552
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3553
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3433
3554
if test -z "$INSTALL"; then
3434
3555
if test "${ac_cv_path_install+set}" = set; then
3435
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3556
  $as_echo_n "(cached) " >&6
3436
3557
else
3437
3558
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438
3559
for as_dir in $PATH
3461
3582
            # program-specific install script used by HP pwplus--don't use.
3462
3583
            :
3463
3584
          else
3464
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3465
 
            break 3
 
3585
            rm -rf conftest.one conftest.two conftest.dir
 
3586
            echo one > conftest.one
 
3587
            echo two > conftest.two
 
3588
            mkdir conftest.dir
 
3589
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3590
              test -s conftest.one && test -s conftest.two &&
 
3591
              test -s conftest.dir/conftest.one &&
 
3592
              test -s conftest.dir/conftest.two
 
3593
            then
 
3594
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3595
              break 3
 
3596
            fi
3466
3597
          fi
3467
3598
        fi
3468
3599
      done
3469
3600
    done
3470
3601
    ;;
3471
3602
esac
 
3603
 
3472
3604
done
3473
3605
IFS=$as_save_IFS
3474
3606
 
 
3607
rm -rf conftest.one conftest.two conftest.dir
3475
3608
 
3476
3609
fi
3477
3610
  if test "${ac_cv_path_install+set}" = set; then
3484
3617
    INSTALL=$ac_install_sh
3485
3618
  fi
3486
3619
fi
3487
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3488
 
echo "${ECHO_T}$INSTALL" >&6; }
 
3620
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3621
$as_echo "$INSTALL" >&6; }
3489
3622
 
3490
3623
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3491
3624
# It thinks the first close brace ends the variable substitution.
3495
3628
 
3496
3629
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3497
3630
 
3498
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3499
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3500
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3631
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3632
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3633
set x ${MAKE-make}
 
3634
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3501
3635
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3636
  $as_echo_n "(cached) " >&6
3503
3637
else
3504
3638
  cat >conftest.make <<\_ACEOF
3505
3639
SHELL = /bin/sh
3516
3650
rm -f conftest.make
3517
3651
fi
3518
3652
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3519
 
  { echo "$as_me:$LINENO: result: yes" >&5
3520
 
echo "${ECHO_T}yes" >&6; }
 
3653
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3654
$as_echo "yes" >&6; }
3521
3655
  SET_MAKE=
3522
3656
else
3523
 
  { echo "$as_me:$LINENO: result: no" >&5
3524
 
echo "${ECHO_T}no" >&6; }
 
3657
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3658
$as_echo "no" >&6; }
3525
3659
  SET_MAKE="MAKE=${MAKE-make}"
3526
3660
fi
3527
3661
 
3535
3669
 
3536
3670
# random libc stuff
3537
3671
 
3538
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3539
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3540
 
if test "${ac_cv_path_GREP+set}" = set; then
3541
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3542
 
else
3543
 
  # Extract the first word of "grep ggrep" to use in msg output
3544
 
if test -z "$GREP"; then
3545
 
set dummy grep ggrep; ac_prog_name=$2
3546
 
if test "${ac_cv_path_GREP+set}" = set; then
3547
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3548
 
else
 
3672
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3673
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3674
if test "${ac_cv_path_GREP+set}" = set; then
 
3675
  $as_echo_n "(cached) " >&6
 
3676
else
 
3677
  if test -z "$GREP"; then
3549
3678
  ac_path_GREP_found=false
3550
 
# Loop through the user's path and test for each of PROGNAME-LIST
3551
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3679
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3680
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552
3681
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3553
3682
do
3554
3683
  IFS=$as_save_IFS
3555
3684
  test -z "$as_dir" && as_dir=.
3556
3685
  for ac_prog in grep ggrep; do
3557
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3558
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3559
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3560
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
3686
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3687
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3688
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3689
# Check for GNU ac_path_GREP and select it if it is found.
3561
3690
  # Check for GNU $ac_path_GREP
3562
3691
case `"$ac_path_GREP" --version 2>&1` in
3563
3692
*GNU*)
3564
3693
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3565
3694
*)
3566
3695
  ac_count=0
3567
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3696
  $as_echo_n 0123456789 >"conftest.in"
3568
3697
  while :
3569
3698
  do
3570
3699
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3571
3700
    mv "conftest.tmp" "conftest.in"
3572
3701
    cp "conftest.in" "conftest.nl"
3573
 
    echo 'GREP' >> "conftest.nl"
 
3702
    $as_echo 'GREP' >> "conftest.nl"
3574
3703
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3575
3704
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3576
3705
    ac_count=`expr $ac_count + 1`
3585
3714
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3586
3715
esac
3587
3716
 
3588
 
 
3589
 
    $ac_path_GREP_found && break 3
 
3717
      $ac_path_GREP_found && break 3
 
3718
    done
3590
3719
  done
3591
3720
done
3592
 
 
3593
 
done
3594
3721
IFS=$as_save_IFS
3595
 
 
3596
 
 
3597
 
fi
3598
 
 
3599
 
GREP="$ac_cv_path_GREP"
3600
 
if test -z "$GREP"; then
3601
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3602
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3722
  if test -z "$ac_cv_path_GREP"; then
 
3723
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3724
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3603
3725
   { (exit 1); exit 1; }; }
3604
 
fi
3605
 
 
 
3726
  fi
3606
3727
else
3607
3728
  ac_cv_path_GREP=$GREP
3608
3729
fi
3609
3730
 
3610
 
 
3611
3731
fi
3612
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3613
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3732
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3733
$as_echo "$ac_cv_path_GREP" >&6; }
3614
3734
 GREP="$ac_cv_path_GREP"
3615
3735
 
3616
3736
 
3617
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3618
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3737
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3738
$as_echo_n "checking for egrep... " >&6; }
3619
3739
if test "${ac_cv_path_EGREP+set}" = set; then
3620
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3740
  $as_echo_n "(cached) " >&6
3621
3741
else
3622
3742
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3623
3743
   then ac_cv_path_EGREP="$GREP -E"
3624
3744
   else
3625
 
     # Extract the first word of "egrep" to use in msg output
3626
 
if test -z "$EGREP"; then
3627
 
set dummy egrep; ac_prog_name=$2
3628
 
if test "${ac_cv_path_EGREP+set}" = set; then
3629
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3630
 
else
 
3745
     if test -z "$EGREP"; then
3631
3746
  ac_path_EGREP_found=false
3632
 
# Loop through the user's path and test for each of PROGNAME-LIST
3633
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3747
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3748
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634
3749
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3635
3750
do
3636
3751
  IFS=$as_save_IFS
3637
3752
  test -z "$as_dir" && as_dir=.
3638
3753
  for ac_prog in egrep; do
3639
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3640
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3641
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3642
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3754
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3755
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3756
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3757
# Check for GNU ac_path_EGREP and select it if it is found.
3643
3758
  # Check for GNU $ac_path_EGREP
3644
3759
case `"$ac_path_EGREP" --version 2>&1` in
3645
3760
*GNU*)
3646
3761
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3647
3762
*)
3648
3763
  ac_count=0
3649
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3764
  $as_echo_n 0123456789 >"conftest.in"
3650
3765
  while :
3651
3766
  do
3652
3767
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3653
3768
    mv "conftest.tmp" "conftest.in"
3654
3769
    cp "conftest.in" "conftest.nl"
3655
 
    echo 'EGREP' >> "conftest.nl"
 
3770
    $as_echo 'EGREP' >> "conftest.nl"
3656
3771
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3657
3772
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3658
3773
    ac_count=`expr $ac_count + 1`
3667
3782
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3668
3783
esac
3669
3784
 
3670
 
 
3671
 
    $ac_path_EGREP_found && break 3
 
3785
      $ac_path_EGREP_found && break 3
 
3786
    done
3672
3787
  done
3673
3788
done
3674
 
 
3675
 
done
3676
3789
IFS=$as_save_IFS
3677
 
 
3678
 
 
3679
 
fi
3680
 
 
3681
 
EGREP="$ac_cv_path_EGREP"
3682
 
if test -z "$EGREP"; then
3683
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3684
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3790
  if test -z "$ac_cv_path_EGREP"; then
 
3791
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3792
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3685
3793
   { (exit 1); exit 1; }; }
3686
 
fi
3687
 
 
 
3794
  fi
3688
3795
else
3689
3796
  ac_cv_path_EGREP=$EGREP
3690
3797
fi
3691
3798
 
3692
 
 
3693
3799
   fi
3694
3800
fi
3695
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3696
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3801
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3802
$as_echo "$ac_cv_path_EGREP" >&6; }
3697
3803
 EGREP="$ac_cv_path_EGREP"
3698
3804
 
3699
3805
 
3700
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3701
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
3806
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3807
$as_echo_n "checking for ANSI C header files... " >&6; }
3702
3808
if test "${ac_cv_header_stdc+set}" = set; then
3703
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3809
  $as_echo_n "(cached) " >&6
3704
3810
else
3705
3811
  cat >conftest.$ac_ext <<_ACEOF
3706
3812
/* confdefs.h.  */
3727
3833
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3728
3834
  *) ac_try_echo=$ac_try;;
3729
3835
esac
3730
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3836
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3837
$as_echo "$ac_try_echo") >&5
3731
3838
  (eval "$ac_compile") 2>conftest.er1
3732
3839
  ac_status=$?
3733
3840
  grep -v '^ *+' conftest.er1 >conftest.err
3734
3841
  rm -f conftest.er1
3735
3842
  cat conftest.err >&5
3736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3843
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737
3844
  (exit $ac_status); } && {
3738
3845
         test -z "$ac_c_werror_flag" ||
3739
3846
         test ! -s conftest.err
3740
3847
       } && test -s conftest.$ac_objext; then
3741
3848
  ac_cv_header_stdc=yes
3742
3849
else
3743
 
  echo "$as_me: failed program was:" >&5
 
3850
  $as_echo "$as_me: failed program was:" >&5
3744
3851
sed 's/^/| /' conftest.$ac_ext >&5
3745
3852
 
3746
3853
        ac_cv_header_stdc=no
3832
3939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833
3940
  *) ac_try_echo=$ac_try;;
3834
3941
esac
3835
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3942
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3943
$as_echo "$ac_try_echo") >&5
3836
3944
  (eval "$ac_link") 2>&5
3837
3945
  ac_status=$?
3838
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3946
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839
3947
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3840
3948
  { (case "(($ac_try" in
3841
3949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842
3950
  *) ac_try_echo=$ac_try;;
3843
3951
esac
3844
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3952
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3953
$as_echo "$ac_try_echo") >&5
3845
3954
  (eval "$ac_try") 2>&5
3846
3955
  ac_status=$?
3847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3956
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848
3957
  (exit $ac_status); }; }; then
3849
3958
  :
3850
3959
else
3851
 
  echo "$as_me: program exited with status $ac_status" >&5
3852
 
echo "$as_me: failed program was:" >&5
 
3960
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
3961
$as_echo "$as_me: failed program was:" >&5
3853
3962
sed 's/^/| /' conftest.$ac_ext >&5
3854
3963
 
3855
3964
( exit $ac_status )
3856
3965
ac_cv_header_stdc=no
3857
3966
fi
 
3967
rm -rf conftest.dSYM
3858
3968
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3859
3969
fi
3860
3970
 
3861
3971
 
3862
3972
fi
3863
3973
fi
3864
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3865
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
3974
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3975
$as_echo "$ac_cv_header_stdc" >&6; }
3866
3976
if test $ac_cv_header_stdc = yes; then
3867
3977
 
3868
3978
cat >>confdefs.h <<\_ACEOF
3884
3994
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3885
3995
                  inttypes.h stdint.h unistd.h
3886
3996
do
3887
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3888
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3889
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
3997
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
3998
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3999
$as_echo_n "checking for $ac_header... " >&6; }
3890
4000
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3891
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4001
  $as_echo_n "(cached) " >&6
3892
4002
else
3893
4003
  cat >conftest.$ac_ext <<_ACEOF
3894
4004
/* confdefs.h.  */
3906
4016
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907
4017
  *) ac_try_echo=$ac_try;;
3908
4018
esac
3909
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4019
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4020
$as_echo "$ac_try_echo") >&5
3910
4021
  (eval "$ac_compile") 2>conftest.er1
3911
4022
  ac_status=$?
3912
4023
  grep -v '^ *+' conftest.er1 >conftest.err
3913
4024
  rm -f conftest.er1
3914
4025
  cat conftest.err >&5
3915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4026
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916
4027
  (exit $ac_status); } && {
3917
4028
         test -z "$ac_c_werror_flag" ||
3918
4029
         test ! -s conftest.err
3919
4030
       } && test -s conftest.$ac_objext; then
3920
4031
  eval "$as_ac_Header=yes"
3921
4032
else
3922
 
  echo "$as_me: failed program was:" >&5
 
4033
  $as_echo "$as_me: failed program was:" >&5
3923
4034
sed 's/^/| /' conftest.$ac_ext >&5
3924
4035
 
3925
4036
        eval "$as_ac_Header=no"
3927
4038
 
3928
4039
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929
4040
fi
3930
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3931
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3932
 
echo "${ECHO_T}$ac_res" >&6; }
3933
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4041
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4042
                 $as_echo "$as_val"'`
 
4043
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4044
$as_echo "$ac_res" >&6; }
 
4045
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4046
                 $as_echo "$as_val"'`
 
4047
   if test "x$as_val" = x""yes; then
3934
4048
  cat >>confdefs.h <<_ACEOF
3935
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4049
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3936
4050
_ACEOF
3937
4051
 
3938
4052
fi
3943
4057
 
3944
4058
for ac_header in unistd.h
3945
4059
do
3946
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3947
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3948
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
3949
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3950
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3951
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4060
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4061
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4062
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4063
$as_echo_n "checking for $ac_header... " >&6; }
 
4064
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4065
  $as_echo_n "(cached) " >&6
3952
4066
fi
3953
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3954
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3955
 
echo "${ECHO_T}$ac_res" >&6; }
 
4067
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4068
                 $as_echo "$as_val"'`
 
4069
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4070
$as_echo "$ac_res" >&6; }
3956
4071
else
3957
4072
  # Is the header compilable?
3958
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3959
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4073
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4074
$as_echo_n "checking $ac_header usability... " >&6; }
3960
4075
cat >conftest.$ac_ext <<_ACEOF
3961
4076
/* confdefs.h.  */
3962
4077
_ACEOF
3972
4087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973
4088
  *) ac_try_echo=$ac_try;;
3974
4089
esac
3975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4090
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4091
$as_echo "$ac_try_echo") >&5
3976
4092
  (eval "$ac_compile") 2>conftest.er1
3977
4093
  ac_status=$?
3978
4094
  grep -v '^ *+' conftest.er1 >conftest.err
3979
4095
  rm -f conftest.er1
3980
4096
  cat conftest.err >&5
3981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4097
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982
4098
  (exit $ac_status); } && {
3983
4099
         test -z "$ac_c_werror_flag" ||
3984
4100
         test ! -s conftest.err
3985
4101
       } && test -s conftest.$ac_objext; then
3986
4102
  ac_header_compiler=yes
3987
4103
else
3988
 
  echo "$as_me: failed program was:" >&5
 
4104
  $as_echo "$as_me: failed program was:" >&5
3989
4105
sed 's/^/| /' conftest.$ac_ext >&5
3990
4106
 
3991
4107
        ac_header_compiler=no
3992
4108
fi
3993
4109
 
3994
4110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3995
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3996
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4111
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4112
$as_echo "$ac_header_compiler" >&6; }
3997
4113
 
3998
4114
# Is the header present?
3999
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4000
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4115
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4116
$as_echo_n "checking $ac_header presence... " >&6; }
4001
4117
cat >conftest.$ac_ext <<_ACEOF
4002
4118
/* confdefs.h.  */
4003
4119
_ACEOF
4011
4127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4012
4128
  *) ac_try_echo=$ac_try;;
4013
4129
esac
4014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4130
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4131
$as_echo "$ac_try_echo") >&5
4015
4132
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4016
4133
  ac_status=$?
4017
4134
  grep -v '^ *+' conftest.er1 >conftest.err
4018
4135
  rm -f conftest.er1
4019
4136
  cat conftest.err >&5
4020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4137
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021
4138
  (exit $ac_status); } >/dev/null && {
4022
4139
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4023
4140
         test ! -s conftest.err
4024
4141
       }; then
4025
4142
  ac_header_preproc=yes
4026
4143
else
4027
 
  echo "$as_me: failed program was:" >&5
 
4144
  $as_echo "$as_me: failed program was:" >&5
4028
4145
sed 's/^/| /' conftest.$ac_ext >&5
4029
4146
 
4030
4147
  ac_header_preproc=no
4031
4148
fi
4032
4149
 
4033
4150
rm -f conftest.err conftest.$ac_ext
4034
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4035
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4151
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4152
$as_echo "$ac_header_preproc" >&6; }
4036
4153
 
4037
4154
# So?  What about this header?
4038
4155
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4039
4156
  yes:no: )
4040
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4041
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4042
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4043
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4157
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4158
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4159
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4160
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4044
4161
    ac_header_preproc=yes
4045
4162
    ;;
4046
4163
  no:yes:* )
4047
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4048
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4049
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4050
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4051
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4052
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4053
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4054
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4055
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4056
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4057
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4058
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4164
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4165
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4166
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4167
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4168
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4169
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4170
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4171
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4172
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4173
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4174
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4175
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4059
4176
 
4060
4177
    ;;
4061
4178
esac
4062
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4063
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4179
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4180
$as_echo_n "checking for $ac_header... " >&6; }
4064
4181
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4065
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4182
  $as_echo_n "(cached) " >&6
4066
4183
else
4067
4184
  eval "$as_ac_Header=\$ac_header_preproc"
4068
4185
fi
4069
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4070
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4071
 
echo "${ECHO_T}$ac_res" >&6; }
 
4186
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4187
                 $as_echo "$as_val"'`
 
4188
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4189
$as_echo "$ac_res" >&6; }
4072
4190
 
4073
4191
fi
4074
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4192
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4193
                 $as_echo "$as_val"'`
 
4194
   if test "x$as_val" = x""yes; then
4075
4195
  cat >>confdefs.h <<_ACEOF
4076
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4196
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4077
4197
_ACEOF
4078
4198
 
4079
4199
fi
4080
4200
 
4081
4201
done
4082
4202
 
4083
 
{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4084
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
 
4203
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
4204
$as_echo_n "checking return type of signal handlers... " >&6; }
4085
4205
if test "${ac_cv_type_signal+set}" = set; then
4086
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4206
  $as_echo_n "(cached) " >&6
4087
4207
else
4088
4208
  cat >conftest.$ac_ext <<_ACEOF
4089
4209
/* confdefs.h.  */
4108
4228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109
4229
  *) ac_try_echo=$ac_try;;
4110
4230
esac
4111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4231
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4232
$as_echo "$ac_try_echo") >&5
4112
4233
  (eval "$ac_compile") 2>conftest.er1
4113
4234
  ac_status=$?
4114
4235
  grep -v '^ *+' conftest.er1 >conftest.err
4115
4236
  rm -f conftest.er1
4116
4237
  cat conftest.err >&5
4117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4238
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118
4239
  (exit $ac_status); } && {
4119
4240
         test -z "$ac_c_werror_flag" ||
4120
4241
         test ! -s conftest.err
4121
4242
       } && test -s conftest.$ac_objext; then
4122
4243
  ac_cv_type_signal=int
4123
4244
else
4124
 
  echo "$as_me: failed program was:" >&5
 
4245
  $as_echo "$as_me: failed program was:" >&5
4125
4246
sed 's/^/| /' conftest.$ac_ext >&5
4126
4247
 
4127
4248
        ac_cv_type_signal=void
4129
4250
 
4130
4251
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131
4252
fi
4132
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4133
 
echo "${ECHO_T}$ac_cv_type_signal" >&6; }
 
4253
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
4254
$as_echo "$ac_cv_type_signal" >&6; }
4134
4255
 
4135
4256
cat >>confdefs.h <<_ACEOF
4136
4257
#define RETSIGTYPE $ac_cv_type_signal
4137
4258
_ACEOF
4138
4259
 
4139
4260
 
4140
 
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4141
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
 
4261
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
4262
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4142
4263
if test "${ac_cv_header_time+set}" = set; then
4143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4264
  $as_echo_n "(cached) " >&6
4144
4265
else
4145
4266
  cat >conftest.$ac_ext <<_ACEOF
4146
4267
/* confdefs.h.  */
4167
4288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168
4289
  *) ac_try_echo=$ac_try;;
4169
4290
esac
4170
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4292
$as_echo "$ac_try_echo") >&5
4171
4293
  (eval "$ac_compile") 2>conftest.er1
4172
4294
  ac_status=$?
4173
4295
  grep -v '^ *+' conftest.er1 >conftest.err
4174
4296
  rm -f conftest.er1
4175
4297
  cat conftest.err >&5
4176
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4298
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177
4299
  (exit $ac_status); } && {
4178
4300
         test -z "$ac_c_werror_flag" ||
4179
4301
         test ! -s conftest.err
4180
4302
       } && test -s conftest.$ac_objext; then
4181
4303
  ac_cv_header_time=yes
4182
4304
else
4183
 
  echo "$as_me: failed program was:" >&5
 
4305
  $as_echo "$as_me: failed program was:" >&5
4184
4306
sed 's/^/| /' conftest.$ac_ext >&5
4185
4307
 
4186
4308
        ac_cv_header_time=no
4188
4310
 
4189
4311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4190
4312
fi
4191
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4192
 
echo "${ECHO_T}$ac_cv_header_time" >&6; }
 
4313
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
4314
$as_echo "$ac_cv_header_time" >&6; }
4193
4315
if test $ac_cv_header_time = yes; then
4194
4316
 
4195
4317
cat >>confdefs.h <<\_ACEOF
4198
4320
 
4199
4321
fi
4200
4322
 
4201
 
{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4202
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
 
4323
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
4324
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4203
4325
if test "${ac_cv_header_sys_wait_h+set}" = set; then
4204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4326
  $as_echo_n "(cached) " >&6
4205
4327
else
4206
4328
  cat >conftest.$ac_ext <<_ACEOF
4207
4329
/* confdefs.h.  */
4234
4356
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235
4357
  *) ac_try_echo=$ac_try;;
4236
4358
esac
4237
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4359
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4360
$as_echo "$ac_try_echo") >&5
4238
4361
  (eval "$ac_compile") 2>conftest.er1
4239
4362
  ac_status=$?
4240
4363
  grep -v '^ *+' conftest.er1 >conftest.err
4241
4364
  rm -f conftest.er1
4242
4365
  cat conftest.err >&5
4243
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4366
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244
4367
  (exit $ac_status); } && {
4245
4368
         test -z "$ac_c_werror_flag" ||
4246
4369
         test ! -s conftest.err
4247
4370
       } && test -s conftest.$ac_objext; then
4248
4371
  ac_cv_header_sys_wait_h=yes
4249
4372
else
4250
 
  echo "$as_me: failed program was:" >&5
 
4373
  $as_echo "$as_me: failed program was:" >&5
4251
4374
sed 's/^/| /' conftest.$ac_ext >&5
4252
4375
 
4253
4376
        ac_cv_header_sys_wait_h=no
4255
4378
 
4256
4379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4257
4380
fi
4258
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4259
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
 
4381
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
4382
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
4260
4383
if test $ac_cv_header_sys_wait_h = yes; then
4261
4384
 
4262
4385
cat >>confdefs.h <<\_ACEOF
4268
4391
 
4269
4392
for ac_func in select
4270
4393
do
4271
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4272
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4273
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
4394
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
4395
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
4396
$as_echo_n "checking for $ac_func... " >&6; }
4274
4397
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4275
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4398
  $as_echo_n "(cached) " >&6
4276
4399
else
4277
4400
  cat >conftest.$ac_ext <<_ACEOF
4278
4401
/* confdefs.h.  */
4325
4448
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326
4449
  *) ac_try_echo=$ac_try;;
4327
4450
esac
4328
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4451
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4452
$as_echo "$ac_try_echo") >&5
4329
4453
  (eval "$ac_link") 2>conftest.er1
4330
4454
  ac_status=$?
4331
4455
  grep -v '^ *+' conftest.er1 >conftest.err
4332
4456
  rm -f conftest.er1
4333
4457
  cat conftest.err >&5
4334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4458
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
4459
  (exit $ac_status); } && {
4336
4460
         test -z "$ac_c_werror_flag" ||
4337
4461
         test ! -s conftest.err
4338
 
       } && test -s conftest$ac_exeext &&
4339
 
       $as_test_x conftest$ac_exeext; then
 
4462
       } && test -s conftest$ac_exeext && {
 
4463
         test "$cross_compiling" = yes ||
 
4464
         $as_test_x conftest$ac_exeext
 
4465
       }; then
4340
4466
  eval "$as_ac_var=yes"
4341
4467
else
4342
 
  echo "$as_me: failed program was:" >&5
 
4468
  $as_echo "$as_me: failed program was:" >&5
4343
4469
sed 's/^/| /' conftest.$ac_ext >&5
4344
4470
 
4345
4471
        eval "$as_ac_var=no"
4346
4472
fi
4347
4473
 
 
4474
rm -rf conftest.dSYM
4348
4475
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4349
4476
      conftest$ac_exeext conftest.$ac_ext
4350
4477
fi
4351
 
ac_res=`eval echo '${'$as_ac_var'}'`
4352
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4353
 
echo "${ECHO_T}$ac_res" >&6; }
4354
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
4478
ac_res=`eval 'as_val=${'$as_ac_var'}
 
4479
                 $as_echo "$as_val"'`
 
4480
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4481
$as_echo "$ac_res" >&6; }
 
4482
as_val=`eval 'as_val=${'$as_ac_var'}
 
4483
                 $as_echo "$as_val"'`
 
4484
   if test "x$as_val" = x""yes; then
4355
4485
  cat >>confdefs.h <<_ACEOF
4356
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
4486
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4357
4487
_ACEOF
4358
4488
 
4359
4489
fi
4362
4492
 
4363
4493
for ac_header in sys/select.h
4364
4494
do
4365
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4366
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4367
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4368
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4369
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4370
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4495
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4496
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4497
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4498
$as_echo_n "checking for $ac_header... " >&6; }
 
4499
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
4500
  $as_echo_n "(cached) " >&6
4371
4501
fi
4372
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4373
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4374
 
echo "${ECHO_T}$ac_res" >&6; }
 
4502
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4503
                 $as_echo "$as_val"'`
 
4504
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4505
$as_echo "$ac_res" >&6; }
4375
4506
else
4376
4507
  # Is the header compilable?
4377
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4378
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
4508
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
4509
$as_echo_n "checking $ac_header usability... " >&6; }
4379
4510
cat >conftest.$ac_ext <<_ACEOF
4380
4511
/* confdefs.h.  */
4381
4512
_ACEOF
4391
4522
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392
4523
  *) ac_try_echo=$ac_try;;
4393
4524
esac
4394
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4525
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4526
$as_echo "$ac_try_echo") >&5
4395
4527
  (eval "$ac_compile") 2>conftest.er1
4396
4528
  ac_status=$?
4397
4529
  grep -v '^ *+' conftest.er1 >conftest.err
4398
4530
  rm -f conftest.er1
4399
4531
  cat conftest.err >&5
4400
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4532
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401
4533
  (exit $ac_status); } && {
4402
4534
         test -z "$ac_c_werror_flag" ||
4403
4535
         test ! -s conftest.err
4404
4536
       } && test -s conftest.$ac_objext; then
4405
4537
  ac_header_compiler=yes
4406
4538
else
4407
 
  echo "$as_me: failed program was:" >&5
 
4539
  $as_echo "$as_me: failed program was:" >&5
4408
4540
sed 's/^/| /' conftest.$ac_ext >&5
4409
4541
 
4410
4542
        ac_header_compiler=no
4411
4543
fi
4412
4544
 
4413
4545
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4415
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
4546
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
4547
$as_echo "$ac_header_compiler" >&6; }
4416
4548
 
4417
4549
# Is the header present?
4418
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4419
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
4550
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
4551
$as_echo_n "checking $ac_header presence... " >&6; }
4420
4552
cat >conftest.$ac_ext <<_ACEOF
4421
4553
/* confdefs.h.  */
4422
4554
_ACEOF
4430
4562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431
4563
  *) ac_try_echo=$ac_try;;
4432
4564
esac
4433
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4566
$as_echo "$ac_try_echo") >&5
4434
4567
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4435
4568
  ac_status=$?
4436
4569
  grep -v '^ *+' conftest.er1 >conftest.err
4437
4570
  rm -f conftest.er1
4438
4571
  cat conftest.err >&5
4439
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440
4573
  (exit $ac_status); } >/dev/null && {
4441
4574
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4442
4575
         test ! -s conftest.err
4443
4576
       }; then
4444
4577
  ac_header_preproc=yes
4445
4578
else
4446
 
  echo "$as_me: failed program was:" >&5
 
4579
  $as_echo "$as_me: failed program was:" >&5
4447
4580
sed 's/^/| /' conftest.$ac_ext >&5
4448
4581
 
4449
4582
  ac_header_preproc=no
4450
4583
fi
4451
4584
 
4452
4585
rm -f conftest.err conftest.$ac_ext
4453
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4454
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
4586
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
4587
$as_echo "$ac_header_preproc" >&6; }
4455
4588
 
4456
4589
# So?  What about this header?
4457
4590
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4458
4591
  yes:no: )
4459
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4460
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4461
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4462
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
4592
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
4593
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
4594
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
4595
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4463
4596
    ac_header_preproc=yes
4464
4597
    ;;
4465
4598
  no:yes:* )
4466
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4467
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4468
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4469
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4470
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4471
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4472
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4473
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4474
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4475
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4476
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4477
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
4599
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
4600
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
4601
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
4602
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
4603
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
4604
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
4605
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
4606
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
4607
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
4608
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
4609
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
4610
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4478
4611
 
4479
4612
    ;;
4480
4613
esac
4481
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4482
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4614
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4615
$as_echo_n "checking for $ac_header... " >&6; }
4483
4616
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4617
  $as_echo_n "(cached) " >&6
4485
4618
else
4486
4619
  eval "$as_ac_Header=\$ac_header_preproc"
4487
4620
fi
4488
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4489
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4490
 
echo "${ECHO_T}$ac_res" >&6; }
 
4621
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4622
                 $as_echo "$as_val"'`
 
4623
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4624
$as_echo "$ac_res" >&6; }
4491
4625
 
4492
4626
fi
4493
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4627
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4628
                 $as_echo "$as_val"'`
 
4629
   if test "x$as_val" = x""yes; then
4494
4630
  cat >>confdefs.h <<_ACEOF
4495
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4631
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4496
4632
_ACEOF
4497
4633
 
4498
4634
fi
4499
4635
 
4500
4636
done
4501
4637
 
4502
 
{ echo "$as_me:$LINENO: checking how to call gettimeofday" >&5
4503
 
echo $ECHO_N "checking how to call gettimeofday... $ECHO_C" >&6; }
 
4638
{ $as_echo "$as_me:$LINENO: checking how to call gettimeofday" >&5
 
4639
$as_echo_n "checking how to call gettimeofday... " >&6; }
4504
4640
  if test "${ac_cv_gettimeofday_args+set}" = set; then
4505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4641
  $as_echo_n "(cached) " >&6
4506
4642
else
4507
4643
  cat >conftest.$ac_ext <<_ACEOF
4508
4644
/* confdefs.h.  */
4527
4663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4528
4664
  *) ac_try_echo=$ac_try;;
4529
4665
esac
4530
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4666
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4667
$as_echo "$ac_try_echo") >&5
4531
4668
  (eval "$ac_compile") 2>conftest.er1
4532
4669
  ac_status=$?
4533
4670
  grep -v '^ *+' conftest.er1 >conftest.err
4534
4671
  rm -f conftest.er1
4535
4672
  cat conftest.err >&5
4536
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4673
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537
4674
  (exit $ac_status); } && {
4538
4675
         test -z "$ac_c_werror_flag" ||
4539
4676
         test ! -s conftest.err
4540
4677
       } && test -s conftest.$ac_objext; then
4541
4678
  ac_gettimeofday_args=2
4542
4679
else
4543
 
  echo "$as_me: failed program was:" >&5
 
4680
  $as_echo "$as_me: failed program was:" >&5
4544
4681
sed 's/^/| /' conftest.$ac_ext >&5
4545
4682
 
4546
4683
        cat >conftest.$ac_ext <<_ACEOF
4565
4702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4566
4703
  *) ac_try_echo=$ac_try;;
4567
4704
esac
4568
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4706
$as_echo "$ac_try_echo") >&5
4569
4707
  (eval "$ac_compile") 2>conftest.er1
4570
4708
  ac_status=$?
4571
4709
  grep -v '^ *+' conftest.er1 >conftest.err
4572
4710
  rm -f conftest.er1
4573
4711
  cat conftest.err >&5
4574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4712
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575
4713
  (exit $ac_status); } && {
4576
4714
         test -z "$ac_c_werror_flag" ||
4577
4715
         test ! -s conftest.err
4578
4716
       } && test -s conftest.$ac_objext; then
4579
4717
  ac_gettimeofday_args=1
4580
4718
else
4581
 
  echo "$as_me: failed program was:" >&5
 
4719
  $as_echo "$as_me: failed program was:" >&5
4582
4720
sed 's/^/| /' conftest.$ac_ext >&5
4583
4721
 
4584
4722
        ac_gettimeofday_args=0
4597
4735
#define HAVE_GETTIMEOFDAY 1
4598
4736
_ACEOF
4599
4737
 
4600
 
    { echo "$as_me:$LINENO: result: one argument" >&5
4601
 
echo "${ECHO_T}one argument" >&6; }
 
4738
    { $as_echo "$as_me:$LINENO: result: one argument" >&5
 
4739
$as_echo "one argument" >&6; }
4602
4740
  elif test "$ac_gettimeofday_args" = 2 ; then
4603
4741
    cat >>confdefs.h <<\_ACEOF
4604
4742
#define HAVE_GETTIMEOFDAY 1
4608
4746
#define GETTIMEOFDAY_TWO_ARGS 1
4609
4747
_ACEOF
4610
4748
 
4611
 
    { echo "$as_me:$LINENO: result: two arguments" >&5
4612
 
echo "${ECHO_T}two arguments" >&6; }
 
4749
    { $as_echo "$as_me:$LINENO: result: two arguments" >&5
 
4750
$as_echo "two arguments" >&6; }
4613
4751
  else
4614
 
    { echo "$as_me:$LINENO: result: unknown" >&5
4615
 
echo "${ECHO_T}unknown" >&6; }
 
4752
    { $as_echo "$as_me:$LINENO: result: unknown" >&5
 
4753
$as_echo "unknown" >&6; }
4616
4754
  fi
4617
4755
 
4618
 
{ echo "$as_me:$LINENO: checking for X" >&5
4619
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
4756
{ $as_echo "$as_me:$LINENO: checking for X" >&5
 
4757
$as_echo_n "checking for X... " >&6; }
4620
4758
 
4621
4759
 
4622
4760
# Check whether --with-x was given.
4630
4768
  have_x=disabled
4631
4769
else
4632
4770
  case $x_includes,$x_libraries in #(
4633
 
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
4634
 
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
 
4771
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
 
4772
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
4635
4773
   { (exit 1); exit 1; }; };; #(
4636
4774
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
4637
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4775
  $as_echo_n "(cached) " >&6
4638
4776
else
4639
4777
  # One or both of the vars are not set, and there is no cached value.
4640
4778
ac_x_includes=no ac_x_libraries=no
4655
4793
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4656
4794
    done
4657
4795
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4658
 
    for ac_extension in a so sl; do
 
4796
    for ac_extension in a so sl dylib la dll; do
4659
4797
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4660
4798
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
4661
4799
        ac_im_usrlibdir=$ac_im_libdir; break
4669
4807
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4670
4808
    esac
4671
4809
    case $ac_im_usrlibdir in
4672
 
        /usr/lib | /lib) ;;
 
4810
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4673
4811
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4674
4812
    esac
4675
4813
  fi
4730
4868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731
4869
  *) ac_try_echo=$ac_try;;
4732
4870
esac
4733
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4872
$as_echo "$ac_try_echo") >&5
4734
4873
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4735
4874
  ac_status=$?
4736
4875
  grep -v '^ *+' conftest.er1 >conftest.err
4737
4876
  rm -f conftest.er1
4738
4877
  cat conftest.err >&5
4739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4878
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740
4879
  (exit $ac_status); } >/dev/null && {
4741
4880
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4742
4881
         test ! -s conftest.err
4744
4883
  # We can compile using X headers with no special include directory.
4745
4884
ac_x_includes=
4746
4885
else
4747
 
  echo "$as_me: failed program was:" >&5
 
4886
  $as_echo "$as_me: failed program was:" >&5
4748
4887
sed 's/^/| /' conftest.$ac_ext >&5
4749
4888
 
4750
4889
  for ac_dir in $ac_x_header_dirs; do
4785
4924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786
4925
  *) ac_try_echo=$ac_try;;
4787
4926
esac
4788
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4927
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4928
$as_echo "$ac_try_echo") >&5
4789
4929
  (eval "$ac_link") 2>conftest.er1
4790
4930
  ac_status=$?
4791
4931
  grep -v '^ *+' conftest.er1 >conftest.err
4792
4932
  rm -f conftest.er1
4793
4933
  cat conftest.err >&5
4794
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4934
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795
4935
  (exit $ac_status); } && {
4796
4936
         test -z "$ac_c_werror_flag" ||
4797
4937
         test ! -s conftest.err
4798
 
       } && test -s conftest$ac_exeext &&
4799
 
       $as_test_x conftest$ac_exeext; then
 
4938
       } && test -s conftest$ac_exeext && {
 
4939
         test "$cross_compiling" = yes ||
 
4940
         $as_test_x conftest$ac_exeext
 
4941
       }; then
4800
4942
  LIBS=$ac_save_LIBS
4801
4943
# We can link X programs with no special library path.
4802
4944
ac_x_libraries=
4803
4945
else
4804
 
  echo "$as_me: failed program was:" >&5
 
4946
  $as_echo "$as_me: failed program was:" >&5
4805
4947
sed 's/^/| /' conftest.$ac_ext >&5
4806
4948
 
4807
4949
        LIBS=$ac_save_LIBS
4808
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
4950
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4809
4951
do
4810
4952
  # Don't even attempt the hair of trying to link an X program!
4811
 
  for ac_extension in a so sl; do
 
4953
  for ac_extension in a so sl dylib la dll; do
4812
4954
    if test -r "$ac_dir/libX11.$ac_extension"; then
4813
4955
      ac_x_libraries=$ac_dir
4814
4956
      break 2
4817
4959
done
4818
4960
fi
4819
4961
 
 
4962
rm -rf conftest.dSYM
4820
4963
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4821
4964
      conftest$ac_exeext conftest.$ac_ext
4822
4965
fi # $ac_x_libraries = no
4839
4982
fi # $with_x != no
4840
4983
 
4841
4984
if test "$have_x" != yes; then
4842
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
4843
 
echo "${ECHO_T}$have_x" >&6; }
 
4985
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
 
4986
$as_echo "$have_x" >&6; }
4844
4987
  no_x=yes
4845
4988
else
4846
4989
  # If each of the values was on the command line, it overrides each guess.
4850
4993
  ac_cv_have_x="have_x=yes\
4851
4994
        ac_x_includes='$x_includes'\
4852
4995
        ac_x_libraries='$x_libraries'"
4853
 
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4854
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
 
4996
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
4997
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4855
4998
fi
4856
4999
 
4857
5000
if test "$no_x" = yes; then
4872
5015
    X_LIBS="$X_LIBS -L$x_libraries"
4873
5016
    # For Solaris; some versions of Sun CC require a space after -R and
4874
5017
    # others require no space.  Words are not sufficient . . . .
4875
 
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4876
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
5018
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
5019
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
4877
5020
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4878
5021
    ac_xsave_c_werror_flag=$ac_c_werror_flag
4879
5022
    ac_c_werror_flag=yes
4898
5041
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899
5042
  *) ac_try_echo=$ac_try;;
4900
5043
esac
4901
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5044
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5045
$as_echo "$ac_try_echo") >&5
4902
5046
  (eval "$ac_link") 2>conftest.er1
4903
5047
  ac_status=$?
4904
5048
  grep -v '^ *+' conftest.er1 >conftest.err
4905
5049
  rm -f conftest.er1
4906
5050
  cat conftest.err >&5
4907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5051
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908
5052
  (exit $ac_status); } && {
4909
5053
         test -z "$ac_c_werror_flag" ||
4910
5054
         test ! -s conftest.err
4911
 
       } && test -s conftest$ac_exeext &&
4912
 
       $as_test_x conftest$ac_exeext; then
4913
 
  { echo "$as_me:$LINENO: result: no" >&5
4914
 
echo "${ECHO_T}no" >&6; }
 
5055
       } && test -s conftest$ac_exeext && {
 
5056
         test "$cross_compiling" = yes ||
 
5057
         $as_test_x conftest$ac_exeext
 
5058
       }; then
 
5059
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5060
$as_echo "no" >&6; }
4915
5061
       X_LIBS="$X_LIBS -R$x_libraries"
4916
5062
else
4917
 
  echo "$as_me: failed program was:" >&5
 
5063
  $as_echo "$as_me: failed program was:" >&5
4918
5064
sed 's/^/| /' conftest.$ac_ext >&5
4919
5065
 
4920
5066
        LIBS="$ac_xsave_LIBS -R $x_libraries"
4939
5085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940
5086
  *) ac_try_echo=$ac_try;;
4941
5087
esac
4942
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5088
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5089
$as_echo "$ac_try_echo") >&5
4943
5090
  (eval "$ac_link") 2>conftest.er1
4944
5091
  ac_status=$?
4945
5092
  grep -v '^ *+' conftest.er1 >conftest.err
4946
5093
  rm -f conftest.er1
4947
5094
  cat conftest.err >&5
4948
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5095
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949
5096
  (exit $ac_status); } && {
4950
5097
         test -z "$ac_c_werror_flag" ||
4951
5098
         test ! -s conftest.err
4952
 
       } && test -s conftest$ac_exeext &&
4953
 
       $as_test_x conftest$ac_exeext; then
4954
 
  { echo "$as_me:$LINENO: result: yes" >&5
4955
 
echo "${ECHO_T}yes" >&6; }
 
5099
       } && test -s conftest$ac_exeext && {
 
5100
         test "$cross_compiling" = yes ||
 
5101
         $as_test_x conftest$ac_exeext
 
5102
       }; then
 
5103
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5104
$as_echo "yes" >&6; }
4956
5105
          X_LIBS="$X_LIBS -R $x_libraries"
4957
5106
else
4958
 
  echo "$as_me: failed program was:" >&5
 
5107
  $as_echo "$as_me: failed program was:" >&5
4959
5108
sed 's/^/| /' conftest.$ac_ext >&5
4960
5109
 
4961
 
        { echo "$as_me:$LINENO: result: neither works" >&5
4962
 
echo "${ECHO_T}neither works" >&6; }
 
5110
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
 
5111
$as_echo "neither works" >&6; }
4963
5112
fi
4964
5113
 
 
5114
rm -rf conftest.dSYM
4965
5115
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4966
5116
      conftest$ac_exeext conftest.$ac_ext
4967
5117
fi
4968
5118
 
 
5119
rm -rf conftest.dSYM
4969
5120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4970
5121
      conftest$ac_exeext conftest.$ac_ext
4971
5122
    ac_c_werror_flag=$ac_xsave_c_werror_flag
5011
5162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012
5163
  *) ac_try_echo=$ac_try;;
5013
5164
esac
5014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5165
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5166
$as_echo "$ac_try_echo") >&5
5015
5167
  (eval "$ac_link") 2>conftest.er1
5016
5168
  ac_status=$?
5017
5169
  grep -v '^ *+' conftest.er1 >conftest.err
5018
5170
  rm -f conftest.er1
5019
5171
  cat conftest.err >&5
5020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5172
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021
5173
  (exit $ac_status); } && {
5022
5174
         test -z "$ac_c_werror_flag" ||
5023
5175
         test ! -s conftest.err
5024
 
       } && test -s conftest$ac_exeext &&
5025
 
       $as_test_x conftest$ac_exeext; then
 
5176
       } && test -s conftest$ac_exeext && {
 
5177
         test "$cross_compiling" = yes ||
 
5178
         $as_test_x conftest$ac_exeext
 
5179
       }; then
5026
5180
  :
5027
5181
else
5028
 
  echo "$as_me: failed program was:" >&5
 
5182
  $as_echo "$as_me: failed program was:" >&5
5029
5183
sed 's/^/| /' conftest.$ac_ext >&5
5030
5184
 
5031
 
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5032
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
 
5185
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
5186
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5033
5187
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5188
  $as_echo_n "(cached) " >&6
5035
5189
else
5036
5190
  ac_check_lib_save_LIBS=$LIBS
5037
5191
LIBS="-ldnet  $LIBS"
5063
5217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5064
5218
  *) ac_try_echo=$ac_try;;
5065
5219
esac
5066
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5220
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5221
$as_echo "$ac_try_echo") >&5
5067
5222
  (eval "$ac_link") 2>conftest.er1
5068
5223
  ac_status=$?
5069
5224
  grep -v '^ *+' conftest.er1 >conftest.err
5070
5225
  rm -f conftest.er1
5071
5226
  cat conftest.err >&5
5072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5227
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073
5228
  (exit $ac_status); } && {
5074
5229
         test -z "$ac_c_werror_flag" ||
5075
5230
         test ! -s conftest.err
5076
 
       } && test -s conftest$ac_exeext &&
5077
 
       $as_test_x conftest$ac_exeext; then
 
5231
       } && test -s conftest$ac_exeext && {
 
5232
         test "$cross_compiling" = yes ||
 
5233
         $as_test_x conftest$ac_exeext
 
5234
       }; then
5078
5235
  ac_cv_lib_dnet_dnet_ntoa=yes
5079
5236
else
5080
 
  echo "$as_me: failed program was:" >&5
 
5237
  $as_echo "$as_me: failed program was:" >&5
5081
5238
sed 's/^/| /' conftest.$ac_ext >&5
5082
5239
 
5083
5240
        ac_cv_lib_dnet_dnet_ntoa=no
5084
5241
fi
5085
5242
 
 
5243
rm -rf conftest.dSYM
5086
5244
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5087
5245
      conftest$ac_exeext conftest.$ac_ext
5088
5246
LIBS=$ac_check_lib_save_LIBS
5089
5247
fi
5090
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5091
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5092
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
5248
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
5249
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
5250
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
5093
5251
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5094
5252
fi
5095
5253
 
5096
5254
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5097
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5098
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
 
5255
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
5256
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5099
5257
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5100
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5258
  $as_echo_n "(cached) " >&6
5101
5259
else
5102
5260
  ac_check_lib_save_LIBS=$LIBS
5103
5261
LIBS="-ldnet_stub  $LIBS"
5129
5287
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5130
5288
  *) ac_try_echo=$ac_try;;
5131
5289
esac
5132
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5290
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5291
$as_echo "$ac_try_echo") >&5
5133
5292
  (eval "$ac_link") 2>conftest.er1
5134
5293
  ac_status=$?
5135
5294
  grep -v '^ *+' conftest.er1 >conftest.err
5136
5295
  rm -f conftest.er1
5137
5296
  cat conftest.err >&5
5138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5297
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139
5298
  (exit $ac_status); } && {
5140
5299
         test -z "$ac_c_werror_flag" ||
5141
5300
         test ! -s conftest.err
5142
 
       } && test -s conftest$ac_exeext &&
5143
 
       $as_test_x conftest$ac_exeext; then
 
5301
       } && test -s conftest$ac_exeext && {
 
5302
         test "$cross_compiling" = yes ||
 
5303
         $as_test_x conftest$ac_exeext
 
5304
       }; then
5144
5305
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
5145
5306
else
5146
 
  echo "$as_me: failed program was:" >&5
 
5307
  $as_echo "$as_me: failed program was:" >&5
5147
5308
sed 's/^/| /' conftest.$ac_ext >&5
5148
5309
 
5149
5310
        ac_cv_lib_dnet_stub_dnet_ntoa=no
5150
5311
fi
5151
5312
 
 
5313
rm -rf conftest.dSYM
5152
5314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5153
5315
      conftest$ac_exeext conftest.$ac_ext
5154
5316
LIBS=$ac_check_lib_save_LIBS
5155
5317
fi
5156
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5157
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5158
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
5318
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
5319
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
5320
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
5159
5321
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5160
5322
fi
5161
5323
 
5162
5324
    fi
5163
5325
fi
5164
5326
 
 
5327
rm -rf conftest.dSYM
5165
5328
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5166
5329
      conftest$ac_exeext conftest.$ac_ext
5167
5330
    LIBS="$ac_xsave_LIBS"
5174
5337
    # on Irix 5.2, according to T.E. Dickey.
5175
5338
    # The functions gethostbyname, getservbyname, and inet_addr are
5176
5339
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5177
 
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
5178
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
 
5340
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
5341
$as_echo_n "checking for gethostbyname... " >&6; }
5179
5342
if test "${ac_cv_func_gethostbyname+set}" = set; then
5180
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5343
  $as_echo_n "(cached) " >&6
5181
5344
else
5182
5345
  cat >conftest.$ac_ext <<_ACEOF
5183
5346
/* confdefs.h.  */
5230
5393
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231
5394
  *) ac_try_echo=$ac_try;;
5232
5395
esac
5233
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5396
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5397
$as_echo "$ac_try_echo") >&5
5234
5398
  (eval "$ac_link") 2>conftest.er1
5235
5399
  ac_status=$?
5236
5400
  grep -v '^ *+' conftest.er1 >conftest.err
5237
5401
  rm -f conftest.er1
5238
5402
  cat conftest.err >&5
5239
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5403
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240
5404
  (exit $ac_status); } && {
5241
5405
         test -z "$ac_c_werror_flag" ||
5242
5406
         test ! -s conftest.err
5243
 
       } && test -s conftest$ac_exeext &&
5244
 
       $as_test_x conftest$ac_exeext; then
 
5407
       } && test -s conftest$ac_exeext && {
 
5408
         test "$cross_compiling" = yes ||
 
5409
         $as_test_x conftest$ac_exeext
 
5410
       }; then
5245
5411
  ac_cv_func_gethostbyname=yes
5246
5412
else
5247
 
  echo "$as_me: failed program was:" >&5
 
5413
  $as_echo "$as_me: failed program was:" >&5
5248
5414
sed 's/^/| /' conftest.$ac_ext >&5
5249
5415
 
5250
5416
        ac_cv_func_gethostbyname=no
5251
5417
fi
5252
5418
 
 
5419
rm -rf conftest.dSYM
5253
5420
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5254
5421
      conftest$ac_exeext conftest.$ac_ext
5255
5422
fi
5256
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5257
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
5423
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
5424
$as_echo "$ac_cv_func_gethostbyname" >&6; }
5258
5425
 
5259
5426
    if test $ac_cv_func_gethostbyname = no; then
5260
 
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5261
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 
5427
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
5428
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5262
5429
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5430
  $as_echo_n "(cached) " >&6
5264
5431
else
5265
5432
  ac_check_lib_save_LIBS=$LIBS
5266
5433
LIBS="-lnsl  $LIBS"
5292
5459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5293
5460
  *) ac_try_echo=$ac_try;;
5294
5461
esac
5295
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5462
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5463
$as_echo "$ac_try_echo") >&5
5296
5464
  (eval "$ac_link") 2>conftest.er1
5297
5465
  ac_status=$?
5298
5466
  grep -v '^ *+' conftest.er1 >conftest.err
5299
5467
  rm -f conftest.er1
5300
5468
  cat conftest.err >&5
5301
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5469
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302
5470
  (exit $ac_status); } && {
5303
5471
         test -z "$ac_c_werror_flag" ||
5304
5472
         test ! -s conftest.err
5305
 
       } && test -s conftest$ac_exeext &&
5306
 
       $as_test_x conftest$ac_exeext; then
 
5473
       } && test -s conftest$ac_exeext && {
 
5474
         test "$cross_compiling" = yes ||
 
5475
         $as_test_x conftest$ac_exeext
 
5476
       }; then
5307
5477
  ac_cv_lib_nsl_gethostbyname=yes
5308
5478
else
5309
 
  echo "$as_me: failed program was:" >&5
 
5479
  $as_echo "$as_me: failed program was:" >&5
5310
5480
sed 's/^/| /' conftest.$ac_ext >&5
5311
5481
 
5312
5482
        ac_cv_lib_nsl_gethostbyname=no
5313
5483
fi
5314
5484
 
 
5485
rm -rf conftest.dSYM
5315
5486
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5316
5487
      conftest$ac_exeext conftest.$ac_ext
5317
5488
LIBS=$ac_check_lib_save_LIBS
5318
5489
fi
5319
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5320
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5321
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
5490
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
5491
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
5492
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
5322
5493
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5323
5494
fi
5324
5495
 
5325
5496
      if test $ac_cv_lib_nsl_gethostbyname = no; then
5326
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5327
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
 
5497
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
5498
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5328
5499
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5329
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5500
  $as_echo_n "(cached) " >&6
5330
5501
else
5331
5502
  ac_check_lib_save_LIBS=$LIBS
5332
5503
LIBS="-lbsd  $LIBS"
5358
5529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5359
5530
  *) ac_try_echo=$ac_try;;
5360
5531
esac
5361
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5533
$as_echo "$ac_try_echo") >&5
5362
5534
  (eval "$ac_link") 2>conftest.er1
5363
5535
  ac_status=$?
5364
5536
  grep -v '^ *+' conftest.er1 >conftest.err
5365
5537
  rm -f conftest.er1
5366
5538
  cat conftest.err >&5
5367
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5539
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368
5540
  (exit $ac_status); } && {
5369
5541
         test -z "$ac_c_werror_flag" ||
5370
5542
         test ! -s conftest.err
5371
 
       } && test -s conftest$ac_exeext &&
5372
 
       $as_test_x conftest$ac_exeext; then
 
5543
       } && test -s conftest$ac_exeext && {
 
5544
         test "$cross_compiling" = yes ||
 
5545
         $as_test_x conftest$ac_exeext
 
5546
       }; then
5373
5547
  ac_cv_lib_bsd_gethostbyname=yes
5374
5548
else
5375
 
  echo "$as_me: failed program was:" >&5
 
5549
  $as_echo "$as_me: failed program was:" >&5
5376
5550
sed 's/^/| /' conftest.$ac_ext >&5
5377
5551
 
5378
5552
        ac_cv_lib_bsd_gethostbyname=no
5379
5553
fi
5380
5554
 
 
5555
rm -rf conftest.dSYM
5381
5556
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5382
5557
      conftest$ac_exeext conftest.$ac_ext
5383
5558
LIBS=$ac_check_lib_save_LIBS
5384
5559
fi
5385
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5386
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
5387
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
5560
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
5561
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
5562
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
5388
5563
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5389
5564
fi
5390
5565
 
5398
5573
    # variants that don't use the name server (or something).  -lsocket
5399
5574
    # must be given before -lnsl if both are needed.  We assume that
5400
5575
    # if connect needs -lnsl, so does gethostbyname.
5401
 
    { echo "$as_me:$LINENO: checking for connect" >&5
5402
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
 
5576
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
 
5577
$as_echo_n "checking for connect... " >&6; }
5403
5578
if test "${ac_cv_func_connect+set}" = set; then
5404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5579
  $as_echo_n "(cached) " >&6
5405
5580
else
5406
5581
  cat >conftest.$ac_ext <<_ACEOF
5407
5582
/* confdefs.h.  */
5454
5629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455
5630
  *) ac_try_echo=$ac_try;;
5456
5631
esac
5457
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5632
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5633
$as_echo "$ac_try_echo") >&5
5458
5634
  (eval "$ac_link") 2>conftest.er1
5459
5635
  ac_status=$?
5460
5636
  grep -v '^ *+' conftest.er1 >conftest.err
5461
5637
  rm -f conftest.er1
5462
5638
  cat conftest.err >&5
5463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5639
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464
5640
  (exit $ac_status); } && {
5465
5641
         test -z "$ac_c_werror_flag" ||
5466
5642
         test ! -s conftest.err
5467
 
       } && test -s conftest$ac_exeext &&
5468
 
       $as_test_x conftest$ac_exeext; then
 
5643
       } && test -s conftest$ac_exeext && {
 
5644
         test "$cross_compiling" = yes ||
 
5645
         $as_test_x conftest$ac_exeext
 
5646
       }; then
5469
5647
  ac_cv_func_connect=yes
5470
5648
else
5471
 
  echo "$as_me: failed program was:" >&5
 
5649
  $as_echo "$as_me: failed program was:" >&5
5472
5650
sed 's/^/| /' conftest.$ac_ext >&5
5473
5651
 
5474
5652
        ac_cv_func_connect=no
5475
5653
fi
5476
5654
 
 
5655
rm -rf conftest.dSYM
5477
5656
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5478
5657
      conftest$ac_exeext conftest.$ac_ext
5479
5658
fi
5480
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5481
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
5659
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
5660
$as_echo "$ac_cv_func_connect" >&6; }
5482
5661
 
5483
5662
    if test $ac_cv_func_connect = no; then
5484
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5485
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
 
5663
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
5664
$as_echo_n "checking for connect in -lsocket... " >&6; }
5486
5665
if test "${ac_cv_lib_socket_connect+set}" = set; then
5487
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5666
  $as_echo_n "(cached) " >&6
5488
5667
else
5489
5668
  ac_check_lib_save_LIBS=$LIBS
5490
5669
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5516
5695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5517
5696
  *) ac_try_echo=$ac_try;;
5518
5697
esac
5519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5698
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5699
$as_echo "$ac_try_echo") >&5
5520
5700
  (eval "$ac_link") 2>conftest.er1
5521
5701
  ac_status=$?
5522
5702
  grep -v '^ *+' conftest.er1 >conftest.err
5523
5703
  rm -f conftest.er1
5524
5704
  cat conftest.err >&5
5525
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5705
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5526
5706
  (exit $ac_status); } && {
5527
5707
         test -z "$ac_c_werror_flag" ||
5528
5708
         test ! -s conftest.err
5529
 
       } && test -s conftest$ac_exeext &&
5530
 
       $as_test_x conftest$ac_exeext; then
 
5709
       } && test -s conftest$ac_exeext && {
 
5710
         test "$cross_compiling" = yes ||
 
5711
         $as_test_x conftest$ac_exeext
 
5712
       }; then
5531
5713
  ac_cv_lib_socket_connect=yes
5532
5714
else
5533
 
  echo "$as_me: failed program was:" >&5
 
5715
  $as_echo "$as_me: failed program was:" >&5
5534
5716
sed 's/^/| /' conftest.$ac_ext >&5
5535
5717
 
5536
5718
        ac_cv_lib_socket_connect=no
5537
5719
fi
5538
5720
 
 
5721
rm -rf conftest.dSYM
5539
5722
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5540
5723
      conftest$ac_exeext conftest.$ac_ext
5541
5724
LIBS=$ac_check_lib_save_LIBS
5542
5725
fi
5543
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5544
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
5545
 
if test $ac_cv_lib_socket_connect = yes; then
 
5726
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
5727
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
5728
if test "x$ac_cv_lib_socket_connect" = x""yes; then
5546
5729
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5547
5730
fi
5548
5731
 
5549
5732
    fi
5550
5733
 
5551
5734
    # Guillermo Gomez says -lposix is necessary on A/UX.
5552
 
    { echo "$as_me:$LINENO: checking for remove" >&5
5553
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
 
5735
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
 
5736
$as_echo_n "checking for remove... " >&6; }
5554
5737
if test "${ac_cv_func_remove+set}" = set; then
5555
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5738
  $as_echo_n "(cached) " >&6
5556
5739
else
5557
5740
  cat >conftest.$ac_ext <<_ACEOF
5558
5741
/* confdefs.h.  */
5605
5788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5606
5789
  *) ac_try_echo=$ac_try;;
5607
5790
esac
5608
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5792
$as_echo "$ac_try_echo") >&5
5609
5793
  (eval "$ac_link") 2>conftest.er1
5610
5794
  ac_status=$?
5611
5795
  grep -v '^ *+' conftest.er1 >conftest.err
5612
5796
  rm -f conftest.er1
5613
5797
  cat conftest.err >&5
5614
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5798
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615
5799
  (exit $ac_status); } && {
5616
5800
         test -z "$ac_c_werror_flag" ||
5617
5801
         test ! -s conftest.err
5618
 
       } && test -s conftest$ac_exeext &&
5619
 
       $as_test_x conftest$ac_exeext; then
 
5802
       } && test -s conftest$ac_exeext && {
 
5803
         test "$cross_compiling" = yes ||
 
5804
         $as_test_x conftest$ac_exeext
 
5805
       }; then
5620
5806
  ac_cv_func_remove=yes
5621
5807
else
5622
 
  echo "$as_me: failed program was:" >&5
 
5808
  $as_echo "$as_me: failed program was:" >&5
5623
5809
sed 's/^/| /' conftest.$ac_ext >&5
5624
5810
 
5625
5811
        ac_cv_func_remove=no
5626
5812
fi
5627
5813
 
 
5814
rm -rf conftest.dSYM
5628
5815
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5629
5816
      conftest$ac_exeext conftest.$ac_ext
5630
5817
fi
5631
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5632
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
 
5818
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
5819
$as_echo "$ac_cv_func_remove" >&6; }
5633
5820
 
5634
5821
    if test $ac_cv_func_remove = no; then
5635
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5636
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
 
5822
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
5823
$as_echo_n "checking for remove in -lposix... " >&6; }
5637
5824
if test "${ac_cv_lib_posix_remove+set}" = set; then
5638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5825
  $as_echo_n "(cached) " >&6
5639
5826
else
5640
5827
  ac_check_lib_save_LIBS=$LIBS
5641
5828
LIBS="-lposix  $LIBS"
5667
5854
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668
5855
  *) ac_try_echo=$ac_try;;
5669
5856
esac
5670
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5857
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5858
$as_echo "$ac_try_echo") >&5
5671
5859
  (eval "$ac_link") 2>conftest.er1
5672
5860
  ac_status=$?
5673
5861
  grep -v '^ *+' conftest.er1 >conftest.err
5674
5862
  rm -f conftest.er1
5675
5863
  cat conftest.err >&5
5676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5864
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
5865
  (exit $ac_status); } && {
5678
5866
         test -z "$ac_c_werror_flag" ||
5679
5867
         test ! -s conftest.err
5680
 
       } && test -s conftest$ac_exeext &&
5681
 
       $as_test_x conftest$ac_exeext; then
 
5868
       } && test -s conftest$ac_exeext && {
 
5869
         test "$cross_compiling" = yes ||
 
5870
         $as_test_x conftest$ac_exeext
 
5871
       }; then
5682
5872
  ac_cv_lib_posix_remove=yes
5683
5873
else
5684
 
  echo "$as_me: failed program was:" >&5
 
5874
  $as_echo "$as_me: failed program was:" >&5
5685
5875
sed 's/^/| /' conftest.$ac_ext >&5
5686
5876
 
5687
5877
        ac_cv_lib_posix_remove=no
5688
5878
fi
5689
5879
 
 
5880
rm -rf conftest.dSYM
5690
5881
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5691
5882
      conftest$ac_exeext conftest.$ac_ext
5692
5883
LIBS=$ac_check_lib_save_LIBS
5693
5884
fi
5694
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5695
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5696
 
if test $ac_cv_lib_posix_remove = yes; then
 
5885
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
5886
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
5887
if test "x$ac_cv_lib_posix_remove" = x""yes; then
5697
5888
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5698
5889
fi
5699
5890
 
5700
5891
    fi
5701
5892
 
5702
5893
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5703
 
    { echo "$as_me:$LINENO: checking for shmat" >&5
5704
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
 
5894
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
 
5895
$as_echo_n "checking for shmat... " >&6; }
5705
5896
if test "${ac_cv_func_shmat+set}" = set; then
5706
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5897
  $as_echo_n "(cached) " >&6
5707
5898
else
5708
5899
  cat >conftest.$ac_ext <<_ACEOF
5709
5900
/* confdefs.h.  */
5756
5947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5757
5948
  *) ac_try_echo=$ac_try;;
5758
5949
esac
5759
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5951
$as_echo "$ac_try_echo") >&5
5760
5952
  (eval "$ac_link") 2>conftest.er1
5761
5953
  ac_status=$?
5762
5954
  grep -v '^ *+' conftest.er1 >conftest.err
5763
5955
  rm -f conftest.er1
5764
5956
  cat conftest.err >&5
5765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5957
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766
5958
  (exit $ac_status); } && {
5767
5959
         test -z "$ac_c_werror_flag" ||
5768
5960
         test ! -s conftest.err
5769
 
       } && test -s conftest$ac_exeext &&
5770
 
       $as_test_x conftest$ac_exeext; then
 
5961
       } && test -s conftest$ac_exeext && {
 
5962
         test "$cross_compiling" = yes ||
 
5963
         $as_test_x conftest$ac_exeext
 
5964
       }; then
5771
5965
  ac_cv_func_shmat=yes
5772
5966
else
5773
 
  echo "$as_me: failed program was:" >&5
 
5967
  $as_echo "$as_me: failed program was:" >&5
5774
5968
sed 's/^/| /' conftest.$ac_ext >&5
5775
5969
 
5776
5970
        ac_cv_func_shmat=no
5777
5971
fi
5778
5972
 
 
5973
rm -rf conftest.dSYM
5779
5974
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5780
5975
      conftest$ac_exeext conftest.$ac_ext
5781
5976
fi
5782
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5783
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 
5977
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
5978
$as_echo "$ac_cv_func_shmat" >&6; }
5784
5979
 
5785
5980
    if test $ac_cv_func_shmat = no; then
5786
 
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5787
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
 
5981
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
5982
$as_echo_n "checking for shmat in -lipc... " >&6; }
5788
5983
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5789
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5984
  $as_echo_n "(cached) " >&6
5790
5985
else
5791
5986
  ac_check_lib_save_LIBS=$LIBS
5792
5987
LIBS="-lipc  $LIBS"
5818
6013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819
6014
  *) ac_try_echo=$ac_try;;
5820
6015
esac
5821
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6017
$as_echo "$ac_try_echo") >&5
5822
6018
  (eval "$ac_link") 2>conftest.er1
5823
6019
  ac_status=$?
5824
6020
  grep -v '^ *+' conftest.er1 >conftest.err
5825
6021
  rm -f conftest.er1
5826
6022
  cat conftest.err >&5
5827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6023
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
6024
  (exit $ac_status); } && {
5829
6025
         test -z "$ac_c_werror_flag" ||
5830
6026
         test ! -s conftest.err
5831
 
       } && test -s conftest$ac_exeext &&
5832
 
       $as_test_x conftest$ac_exeext; then
 
6027
       } && test -s conftest$ac_exeext && {
 
6028
         test "$cross_compiling" = yes ||
 
6029
         $as_test_x conftest$ac_exeext
 
6030
       }; then
5833
6031
  ac_cv_lib_ipc_shmat=yes
5834
6032
else
5835
 
  echo "$as_me: failed program was:" >&5
 
6033
  $as_echo "$as_me: failed program was:" >&5
5836
6034
sed 's/^/| /' conftest.$ac_ext >&5
5837
6035
 
5838
6036
        ac_cv_lib_ipc_shmat=no
5839
6037
fi
5840
6038
 
 
6039
rm -rf conftest.dSYM
5841
6040
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5842
6041
      conftest$ac_exeext conftest.$ac_ext
5843
6042
LIBS=$ac_check_lib_save_LIBS
5844
6043
fi
5845
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5846
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5847
 
if test $ac_cv_lib_ipc_shmat = yes; then
 
6044
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
6045
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
6046
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
5848
6047
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5849
6048
fi
5850
6049
 
5860
6059
  # These have to be linked with before -lX11, unlike the other
5861
6060
  # libraries we check for below, so use a different variable.
5862
6061
  # John Interrante, Karl Berry
5863
 
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5864
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
 
6062
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
6063
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5865
6064
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5866
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6065
  $as_echo_n "(cached) " >&6
5867
6066
else
5868
6067
  ac_check_lib_save_LIBS=$LIBS
5869
6068
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5895
6094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896
6095
  *) ac_try_echo=$ac_try;;
5897
6096
esac
5898
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6097
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6098
$as_echo "$ac_try_echo") >&5
5899
6099
  (eval "$ac_link") 2>conftest.er1
5900
6100
  ac_status=$?
5901
6101
  grep -v '^ *+' conftest.er1 >conftest.err
5902
6102
  rm -f conftest.er1
5903
6103
  cat conftest.err >&5
5904
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6104
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905
6105
  (exit $ac_status); } && {
5906
6106
         test -z "$ac_c_werror_flag" ||
5907
6107
         test ! -s conftest.err
5908
 
       } && test -s conftest$ac_exeext &&
5909
 
       $as_test_x conftest$ac_exeext; then
 
6108
       } && test -s conftest$ac_exeext && {
 
6109
         test "$cross_compiling" = yes ||
 
6110
         $as_test_x conftest$ac_exeext
 
6111
       }; then
5910
6112
  ac_cv_lib_ICE_IceConnectionNumber=yes
5911
6113
else
5912
 
  echo "$as_me: failed program was:" >&5
 
6114
  $as_echo "$as_me: failed program was:" >&5
5913
6115
sed 's/^/| /' conftest.$ac_ext >&5
5914
6116
 
5915
6117
        ac_cv_lib_ICE_IceConnectionNumber=no
5916
6118
fi
5917
6119
 
 
6120
rm -rf conftest.dSYM
5918
6121
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5919
6122
      conftest$ac_exeext conftest.$ac_ext
5920
6123
LIBS=$ac_check_lib_save_LIBS
5921
6124
fi
5922
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5923
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5924
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
6125
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
6126
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
6127
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
5925
6128
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5926
6129
fi
5927
6130
 
5930
6133
fi
5931
6134
 
5932
6135
 
5933
 
{ echo "$as_me:$LINENO: checking whether this is MacOS X" >&5
5934
 
echo $ECHO_N "checking whether this is MacOS X... $ECHO_C" >&6; }
 
6136
{ $as_echo "$as_me:$LINENO: checking whether this is MacOS X" >&5
 
6137
$as_echo_n "checking whether this is MacOS X... " >&6; }
5935
6138
  ac_macosx=no
5936
6139
  case "$host" in
5937
6140
    *-apple-darwin* )
5938
6141
      ac_macosx=yes
5939
6142
    ;;
5940
6143
  esac
5941
 
{ echo "$as_me:$LINENO: result: $ac_macosx" >&5
5942
 
echo "${ECHO_T}$ac_macosx" >&6; }
 
6144
{ $as_echo "$as_me:$LINENO: result: $ac_macosx" >&5
 
6145
$as_echo "$ac_macosx" >&6; }
5943
6146
 
5944
6147
 
5945
6148
if test "$ac_macosx" = yes; then
5946
6149
  if test -n "$GCC"; then
5947
6150
    # Without these, every link against libGL gets a bunch of useless warnings.
5948
6151
    osx_crud="-bind_at_load -multiply_defined suppress"
5949
 
    { echo "$as_me:$LINENO: result: adding \"$osx_crud\" to LDFLAGS" >&5
5950
 
echo "${ECHO_T}adding \"$osx_crud\" to LDFLAGS" >&6; }
 
6152
    { $as_echo "$as_me:$LINENO: result: adding \"$osx_crud\" to LDFLAGS" >&5
 
6153
$as_echo "adding \"$osx_crud\" to LDFLAGS" >&6; }
5951
6154
     LDFLAGS="$LDFLAGS $osx_crud"
5952
6155
  fi
5953
6156
fi
5954
6157
 
5955
6158
 
5956
6159
if test "$have_x" != yes; then
5957
 
  { { echo "$as_me:$LINENO: error: Couldn't find X11 headers/libs.  Try \`$0 --help'." >&5
5958
 
echo "$as_me: error: Couldn't find X11 headers/libs.  Try \`$0 --help'." >&2;}
 
6160
  { { $as_echo "$as_me:$LINENO: error: Couldn't find X11 headers/libs.  Try \`$0 --help'." >&5
 
6161
$as_echo "$as_me: error: Couldn't find X11 headers/libs.  Try \`$0 --help'." >&2;}
5959
6162
   { (exit 1); exit 1; }; }
5960
6163
fi
5961
6164
 
5996
6199
    no)  ;;
5997
6200
 
5998
6201
    /*)
5999
 
     { echo "$as_me:$LINENO: checking for Gtk headers" >&5
6000
 
echo $ECHO_N "checking for Gtk headers... $ECHO_C" >&6; }
 
6202
     { $as_echo "$as_me:$LINENO: checking for Gtk headers" >&5
 
6203
$as_echo_n "checking for Gtk headers... " >&6; }
6001
6204
     d=$with_gtk/include
6002
6205
     if test -d $d; then
6003
6206
       X_CFLAGS="-I$d $X_CFLAGS"
6004
 
       { echo "$as_me:$LINENO: result: $d" >&5
6005
 
echo "${ECHO_T}$d" >&6; }
 
6207
       { $as_echo "$as_me:$LINENO: result: $d" >&5
 
6208
$as_echo "$d" >&6; }
6006
6209
     else
6007
 
       { echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6008
 
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
 
6210
       { $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
 
6211
$as_echo "not found ($d: no such directory)" >&6; }
6009
6212
     fi
6010
6213
 
6011
 
     { echo "$as_me:$LINENO: checking for Gtk libs" >&5
6012
 
echo $ECHO_N "checking for Gtk libs... $ECHO_C" >&6; }
 
6214
     { $as_echo "$as_me:$LINENO: checking for Gtk libs" >&5
 
6215
$as_echo_n "checking for Gtk libs... " >&6; }
6013
6216
     d=$with_gtk/lib
6014
6217
     if test -d $d; then
6015
6218
       X_LIBS="-L$d $X_LIBS"
6016
 
       { echo "$as_me:$LINENO: result: $d" >&5
6017
 
echo "${ECHO_T}$d" >&6; }
 
6219
       { $as_echo "$as_me:$LINENO: result: $d" >&5
 
6220
$as_echo "$d" >&6; }
6018
6221
     else
6019
 
       { echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6020
 
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
 
6222
       { $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
 
6223
$as_echo "not found ($d: no such directory)" >&6; }
6021
6224
     fi
6022
6225
 
6023
6226
     # replace the directory string with "yes".
6068
6271
    no)  ;;
6069
6272
 
6070
6273
    /*)
6071
 
     { echo "$as_me:$LINENO: checking for Gnome headers" >&5
6072
 
echo $ECHO_N "checking for Gnome headers... $ECHO_C" >&6; }
 
6274
     { $as_echo "$as_me:$LINENO: checking for Gnome headers" >&5
 
6275
$as_echo_n "checking for Gnome headers... " >&6; }
6073
6276
     d=$with_gnome/include
6074
6277
     if test -d $d; then
6075
6278
       X_CFLAGS="-I$d $X_CFLAGS"
6076
 
       { echo "$as_me:$LINENO: result: $d" >&5
6077
 
echo "${ECHO_T}$d" >&6; }
 
6279
       { $as_echo "$as_me:$LINENO: result: $d" >&5
 
6280
$as_echo "$d" >&6; }
6078
6281
     else
6079
 
       { echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6080
 
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
 
6282
       { $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
 
6283
$as_echo "not found ($d: no such directory)" >&6; }
6081
6284
     fi
6082
6285
 
6083
 
     { echo "$as_me:$LINENO: checking for Gnome libs" >&5
6084
 
echo $ECHO_N "checking for Gnome libs... $ECHO_C" >&6; }
 
6286
     { $as_echo "$as_me:$LINENO: checking for Gnome libs" >&5
 
6287
$as_echo_n "checking for Gnome libs... " >&6; }
6085
6288
     d=$with_gnome/lib
6086
6289
     if test -d $d; then
6087
6290
       X_LIBS="-L$d $X_LIBS"
6088
 
       { echo "$as_me:$LINENO: result: $d" >&5
6089
 
echo "${ECHO_T}$d" >&6; }
 
6291
       { $as_echo "$as_me:$LINENO: result: $d" >&5
 
6292
$as_echo "$d" >&6; }
6090
6293
     else
6091
 
       { echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
6092
 
echo "${ECHO_T}not found ($d: no such directory)" >&6; }
 
6294
       { $as_echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
 
6295
$as_echo "not found ($d: no such directory)" >&6; }
6093
6296
     fi
6094
6297
 
6095
6298
     # replace the directory string with "yes".
6137
6340
do
6138
6341
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6139
6342
set dummy $ac_prog; ac_word=$2
6140
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6141
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6343
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6344
$as_echo_n "checking for $ac_word... " >&6; }
6142
6345
if test "${ac_cv_path_pkg_config+set}" = set; then
6143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6346
  $as_echo_n "(cached) " >&6
6144
6347
else
6145
6348
  case $pkg_config in
6146
6349
  [\\/]* | ?:[\\/]*)
6155
6358
  for ac_exec_ext in '' $ac_executable_extensions; do
6156
6359
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6157
6360
    ac_cv_path_pkg_config="$as_dir/$ac_word$ac_exec_ext"
6158
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6361
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6159
6362
    break 2
6160
6363
  fi
6161
6364
done
6167
6370
fi
6168
6371
pkg_config=$ac_cv_path_pkg_config
6169
6372
if test -n "$pkg_config"; then
6170
 
  { echo "$as_me:$LINENO: result: $pkg_config" >&5
6171
 
echo "${ECHO_T}$pkg_config" >&6; }
 
6373
  { $as_echo "$as_me:$LINENO: result: $pkg_config" >&5
 
6374
$as_echo "$pkg_config" >&6; }
6172
6375
else
6173
 
  { echo "$as_me:$LINENO: result: no" >&5
6174
 
echo "${ECHO_T}no" >&6; }
 
6376
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6377
$as_echo "no" >&6; }
6175
6378
fi
6176
6379
 
6177
6380
 
6180
6383
 
6181
6384
 
6182
6385
  if ! test -n "$pkg_config" ; then
6183
 
    { { echo "$as_me:$LINENO: error: Couldn't find pkg-config program." >&5
6184
 
echo "$as_me: error: Couldn't find pkg-config program." >&2;}
 
6386
    { { $as_echo "$as_me:$LINENO: error: Couldn't find pkg-config program." >&5
 
6387
$as_echo "$as_me: error: Couldn't find pkg-config program." >&2;}
6185
6388
   { (exit 1); exit 1; }; }
6186
6389
  fi
6187
6390
 
6190
6393
    if test "$ok" = yes ; then
6191
6394
      req="$1"
6192
6395
      min="$2"
6193
 
      { echo "$as_me:$LINENO: checking for $req" >&5
6194
 
echo $ECHO_N "checking for $req... $ECHO_C" >&6; }
 
6396
      { $as_echo "$as_me:$LINENO: checking for $req" >&5
 
6397
$as_echo_n "checking for $req... " >&6; }
6195
6398
      if $pkg_config --exists "$req" ; then
6196
6399
        vers=`$pkg_config --modversion "$req"`
6197
6400
        if $pkg_config --exists "$req >= $min" ; then
6198
 
          { echo "$as_me:$LINENO: result: $vers" >&5
6199
 
echo "${ECHO_T}$vers" >&6; }
 
6401
          { $as_echo "$as_me:$LINENO: result: $vers" >&5
 
6402
$as_echo "$vers" >&6; }
6200
6403
          pkgs="$pkgs $req"
6201
6404
          return 1
6202
6405
        else
6203
 
          { echo "$as_me:$LINENO: result: $vers (wanted >= $min)" >&5
6204
 
echo "${ECHO_T}$vers (wanted >= $min)" >&6; }
 
6406
          { $as_echo "$as_me:$LINENO: result: $vers (wanted >= $min)" >&5
 
6407
$as_echo "$vers (wanted >= $min)" >&6; }
6205
6408
          ok=no
6206
6409
          return 0
6207
6410
        fi
6208
6411
      else
6209
 
        { echo "$as_me:$LINENO: result: no" >&5
6210
 
echo "${ECHO_T}no" >&6; }
 
6412
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
6413
$as_echo "no" >&6; }
6211
6414
        ok=no
6212
6415
        return 0
6213
6416
      fi
6214
6417
    fi
6215
6418
  }
6216
6419
 
6217
 
  { echo "$as_me:$LINENO: result: checking for GTK 2.x with pkg-config based tests..." >&5
6218
 
echo "${ECHO_T}checking for GTK 2.x with pkg-config based tests..." >&6; }
 
6420
  { $as_echo "$as_me:$LINENO: result: checking for GTK 2.x with pkg-config based tests..." >&5
 
6421
$as_echo "checking for GTK 2.x with pkg-config based tests..." >&6; }
6219
6422
 
6220
6423
  ok="yes"
6221
6424
  pkg_check_version       gtk+-2.0  2.0.1  ; ac_gtk_version_string="$vers"
6227
6430
  have_gtk="$ok"
6228
6431
 
6229
6432
  if test "$have_gtk" = no; then
6230
 
    { { echo "$as_me:$LINENO: error: required GTK stuff is missing." >&5
6231
 
echo "$as_me: error: required GTK stuff is missing." >&2;}
 
6433
    { { $as_echo "$as_me:$LINENO: error: required GTK stuff is missing." >&5
 
6434
$as_echo "$as_me: error: required GTK stuff is missing." >&2;}
6232
6435
   { (exit 1); exit 1; }; }
6233
6436
  fi
6234
6437
 
6235
 
  { echo "$as_me:$LINENO: checking for Gtk includes" >&5
6236
 
echo $ECHO_N "checking for Gtk includes... $ECHO_C" >&6; }
 
6438
  { $as_echo "$as_me:$LINENO: checking for Gtk includes" >&5
 
6439
$as_echo_n "checking for Gtk includes... " >&6; }
6237
6440
if test "${ac_cv_gtk_config_cflags+set}" = set; then
6238
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6441
  $as_echo_n "(cached) " >&6
6239
6442
else
6240
6443
  ac_cv_gtk_config_cflags=`$pkg_config --cflags $pkgs`
6241
6444
fi
6242
 
{ echo "$as_me:$LINENO: result: $ac_cv_gtk_config_cflags" >&5
6243
 
echo "${ECHO_T}$ac_cv_gtk_config_cflags" >&6; }
6244
 
  { echo "$as_me:$LINENO: checking for Gtk libs" >&5
6245
 
echo $ECHO_N "checking for Gtk libs... $ECHO_C" >&6; }
 
6445
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gtk_config_cflags" >&5
 
6446
$as_echo "$ac_cv_gtk_config_cflags" >&6; }
 
6447
  { $as_echo "$as_me:$LINENO: checking for Gtk libs" >&5
 
6448
$as_echo_n "checking for Gtk libs... " >&6; }
6246
6449
if test "${ac_cv_gtk_config_libs+set}" = set; then
6247
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6450
  $as_echo_n "(cached) " >&6
6248
6451
else
6249
6452
  ac_cv_gtk_config_libs=`$pkg_config --libs $pkgs`
6250
6453
fi
6251
 
{ echo "$as_me:$LINENO: result: $ac_cv_gtk_config_libs" >&5
6252
 
echo "${ECHO_T}$ac_cv_gtk_config_libs" >&6; }
 
6454
{ $as_echo "$as_me:$LINENO: result: $ac_cv_gtk_config_libs" >&5
 
6455
$as_echo "$ac_cv_gtk_config_libs" >&6; }
6253
6456
  ac_gtk_config_cflags=$ac_cv_gtk_config_cflags
6254
6457
 ac_gtk_config_libs=$ac_cv_gtk_config_libs
6255
6458
 
6271
6474
if test "$have_gnome" = yes; then
6272
6475
  # Extract the first word of "gnome-help-browser", so it can be a program name with args.
6273
6476
set dummy gnome-help-browser; ac_word=$2
6274
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6275
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6477
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6478
$as_echo_n "checking for $ac_word... " >&6; }
6276
6479
if test "${ac_cv_prog_have_gnome_help+set}" = set; then
6277
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6480
  $as_echo_n "(cached) " >&6
6278
6481
else
6279
6482
  if test -n "$have_gnome_help"; then
6280
6483
  ac_cv_prog_have_gnome_help="$have_gnome_help" # Let the user override the test.
6287
6490
  for ac_exec_ext in '' $ac_executable_extensions; do
6288
6491
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6289
6492
    ac_cv_prog_have_gnome_help="yes"
6290
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6493
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6291
6494
    break 2
6292
6495
  fi
6293
6496
done
6299
6502
fi
6300
6503
have_gnome_help=$ac_cv_prog_have_gnome_help
6301
6504
if test -n "$have_gnome_help"; then
6302
 
  { echo "$as_me:$LINENO: result: $have_gnome_help" >&5
6303
 
echo "${ECHO_T}$have_gnome_help" >&6; }
 
6505
  { $as_echo "$as_me:$LINENO: result: $have_gnome_help" >&5
 
6506
$as_echo "$have_gnome_help" >&6; }
6304
6507
else
6305
 
  { echo "$as_me:$LINENO: result: no" >&5
6306
 
echo "${ECHO_T}no" >&6; }
 
6508
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6509
$as_echo "no" >&6; }
6307
6510
fi
6308
6511
 
6309
6512
 
6370
6573
    case $ac_val in #(
6371
6574
    *${as_nl}*)
6372
6575
      case $ac_var in #(
6373
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6374
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
6576
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
6577
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6375
6578
      esac
6376
6579
      case $ac_var in #(
6377
6580
      _ | IFS | as_nl) ;; #(
 
6581
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6378
6582
      *) $as_unset $ac_var ;;
6379
6583
      esac ;;
6380
6584
    esac
6407
6611
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6408
6612
  if test -w "$cache_file"; then
6409
6613
    test "x$cache_file" != "x/dev/null" &&
6410
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6411
 
echo "$as_me: updating cache $cache_file" >&6;}
 
6614
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
6615
$as_echo "$as_me: updating cache $cache_file" >&6;}
6412
6616
    cat confcache >$cache_file
6413
6617
  else
6414
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6415
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
6618
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
6619
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6416
6620
  fi
6417
6621
fi
6418
6622
rm -f confcache
6428
6632
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6429
6633
  # 1. Remove the extension, and $U if already installed.
6430
6634
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6431
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
6635
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6432
6636
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6433
6637
  #    will be set to the directory where LIBOBJS objects are built.
6434
6638
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6441
6645
 
6442
6646
 
6443
6647
: ${CONFIG_STATUS=./config.status}
 
6648
ac_write_fail=0
6444
6649
ac_clean_files_save=$ac_clean_files
6445
6650
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6446
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6447
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6448
 
cat >$CONFIG_STATUS <<_ACEOF
 
6651
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
6652
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
6653
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6449
6654
#! $SHELL
6450
6655
# Generated by $as_me.
6451
6656
# Run this file to recreate the current configuration.
6458
6663
SHELL=\${CONFIG_SHELL-$SHELL}
6459
6664
_ACEOF
6460
6665
 
6461
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6666
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6462
6667
## --------------------- ##
6463
6668
## M4sh Initialization.  ##
6464
6669
## --------------------- ##
6468
6673
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6469
6674
  emulate sh
6470
6675
  NULLCMD=:
6471
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
6676
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6472
6677
  # is contrary to our usage.  Disable this feature.
6473
6678
  alias -g '${1+"$@"}'='"$@"'
6474
6679
  setopt NO_GLOB_SUBST
6490
6695
as_cr_digits='0123456789'
6491
6696
as_cr_alnum=$as_cr_Letters$as_cr_digits
6492
6697
 
 
6698
as_nl='
 
6699
'
 
6700
export as_nl
 
6701
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
6702
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6703
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
6704
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
6705
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
6706
  as_echo='printf %s\n'
 
6707
  as_echo_n='printf %s'
 
6708
else
 
6709
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
6710
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
6711
    as_echo_n='/usr/ucb/echo -n'
 
6712
  else
 
6713
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
6714
    as_echo_n_body='eval
 
6715
      arg=$1;
 
6716
      case $arg in
 
6717
      *"$as_nl"*)
 
6718
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
6719
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
6720
      esac;
 
6721
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
6722
    '
 
6723
    export as_echo_n_body
 
6724
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
6725
  fi
 
6726
  export as_echo_body
 
6727
  as_echo='sh -c $as_echo_body as_echo'
 
6728
fi
 
6729
 
6493
6730
# The user is always right.
6494
6731
if test "${PATH_SEPARATOR+set}" != set; then
6495
 
  echo "#! /bin/sh" >conf$$.sh
6496
 
  echo  "exit 0"   >>conf$$.sh
6497
 
  chmod +x conf$$.sh
6498
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6499
 
    PATH_SEPARATOR=';'
6500
 
  else
6501
 
    PATH_SEPARATOR=:
6502
 
  fi
6503
 
  rm -f conf$$.sh
 
6732
  PATH_SEPARATOR=:
 
6733
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
6734
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
6735
      PATH_SEPARATOR=';'
 
6736
  }
6504
6737
fi
6505
6738
 
6506
6739
# Support unset when possible.
6516
6749
# there to prevent editors from complaining about space-tab.
6517
6750
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6518
6751
# splitting by setting IFS to empty value.)
6519
 
as_nl='
6520
 
'
6521
6752
IFS=" ""        $as_nl"
6522
6753
 
6523
6754
# Find who we are.  Look in the path if we contain no directory separator.
6540
6771
  as_myself=$0
6541
6772
fi
6542
6773
if test ! -f "$as_myself"; then
6543
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
6774
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6544
6775
  { (exit 1); exit 1; }
6545
6776
fi
6546
6777
 
6553
6784
PS4='+ '
6554
6785
 
6555
6786
# NLS nuisances.
6556
 
for as_var in \
6557
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6558
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6559
 
  LC_TELEPHONE LC_TIME
6560
 
do
6561
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6562
 
    eval $as_var=C; export $as_var
6563
 
  else
6564
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6565
 
  fi
6566
 
done
 
6787
LC_ALL=C
 
6788
export LC_ALL
 
6789
LANGUAGE=C
 
6790
export LANGUAGE
6567
6791
 
6568
6792
# Required to use basename.
6569
6793
if expr a : '\(a\)' >/dev/null 2>&1 &&
6585
6809
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6586
6810
         X"$0" : 'X\(//\)$' \| \
6587
6811
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6588
 
echo X/"$0" |
 
6812
$as_echo X/"$0" |
6589
6813
    sed '/^.*\/\([^/][^/]*\)\/*$/{
6590
6814
            s//\1/
6591
6815
            q
6636
6860
      s/-\n.*//
6637
6861
    ' >$as_me.lineno &&
6638
6862
  chmod +x "$as_me.lineno" ||
6639
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
6863
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6640
6864
   { (exit 1); exit 1; }; }
6641
6865
 
6642
6866
  # Don't try to exec as it changes $[0], causing all sort of problems
6664
6888
*)
6665
6889
  ECHO_N='-n';;
6666
6890
esac
6667
 
 
6668
6891
if expr a : '\(a\)' >/dev/null 2>&1 &&
6669
6892
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6670
6893
  as_expr=expr
6677
6900
  rm -f conf$$.dir/conf$$.file
6678
6901
else
6679
6902
  rm -f conf$$.dir
6680
 
  mkdir conf$$.dir
 
6903
  mkdir conf$$.dir 2>/dev/null
6681
6904
fi
6682
 
echo >conf$$.file
6683
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
6684
 
  as_ln_s='ln -s'
6685
 
  # ... but there are two gotchas:
6686
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6687
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6688
 
  # In both cases, we have to default to `cp -p'.
6689
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6905
if (echo >conf$$.file) 2>/dev/null; then
 
6906
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
6907
    as_ln_s='ln -s'
 
6908
    # ... but there are two gotchas:
 
6909
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
6910
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
6911
    # In both cases, we have to default to `cp -p'.
 
6912
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
6913
      as_ln_s='cp -p'
 
6914
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
6915
    as_ln_s=ln
 
6916
  else
6690
6917
    as_ln_s='cp -p'
6691
 
elif ln conf$$.file conf$$ 2>/dev/null; then
6692
 
  as_ln_s=ln
 
6918
  fi
6693
6919
else
6694
6920
  as_ln_s='cp -p'
6695
6921
fi
6714
6940
  as_test_x='
6715
6941
    eval sh -c '\''
6716
6942
      if test -d "$1"; then
6717
 
        test -d "$1/.";
 
6943
        test -d "$1/.";
6718
6944
      else
6719
6945
        case $1 in
6720
 
        -*)set "./$1";;
 
6946
        -*)set "./$1";;
6721
6947
        esac;
6722
6948
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6723
6949
        ???[sx]*):;;*)false;;esac;fi
6740
6966
# values after options handling.
6741
6967
ac_log="
6742
6968
This file was extended by $as_me, which was
6743
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
6969
generated by GNU Autoconf 2.63.  Invocation command line was
6744
6970
 
6745
6971
  CONFIG_FILES    = $CONFIG_FILES
6746
6972
  CONFIG_HEADERS  = $CONFIG_HEADERS
6753
6979
 
6754
6980
_ACEOF
6755
6981
 
6756
 
cat >>$CONFIG_STATUS <<_ACEOF
 
6982
case $ac_config_files in *"
 
6983
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
6984
esac
 
6985
 
 
6986
case $ac_config_headers in *"
 
6987
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
6988
esac
 
6989
 
 
6990
 
 
6991
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6757
6992
# Files that config.status was made for.
6758
6993
config_files="$ac_config_files"
6759
6994
config_headers="$ac_config_headers"
6760
6995
 
6761
6996
_ACEOF
6762
6997
 
6763
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
6998
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6764
6999
ac_cs_usage="\
6765
7000
\`$as_me' instantiates files from templates according to the
6766
7001
current configuration.
6767
7002
 
6768
 
Usage: $0 [OPTIONS] [FILE]...
 
7003
Usage: $0 [OPTION]... [FILE]...
6769
7004
 
6770
7005
  -h, --help       print this help, then exit
6771
7006
  -V, --version    print version number and configuration settings, then exit
6772
 
  -q, --quiet      do not print progress messages
 
7007
  -q, --quiet, --silent
 
7008
                   do not print progress messages
6773
7009
  -d, --debug      don't remove temporary files
6774
7010
      --recheck    update $as_me by reconfiguring in the same conditions
6775
 
  --file=FILE[:TEMPLATE]
6776
 
                   instantiate the configuration file FILE
6777
 
  --header=FILE[:TEMPLATE]
6778
 
                   instantiate the configuration header FILE
 
7011
      --file=FILE[:TEMPLATE]
 
7012
                   instantiate the configuration file FILE
 
7013
      --header=FILE[:TEMPLATE]
 
7014
                   instantiate the configuration header FILE
6779
7015
 
6780
7016
Configuration files:
6781
7017
$config_files
6786
7022
Report bugs to <bug-autoconf@gnu.org>."
6787
7023
 
6788
7024
_ACEOF
6789
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7025
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6790
7026
ac_cs_version="\\
6791
7027
config.status
6792
 
configured by $0, generated by GNU Autoconf 2.61,
6793
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
7028
configured by $0, generated by GNU Autoconf 2.63,
 
7029
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6794
7030
 
6795
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
7031
Copyright (C) 2008 Free Software Foundation, Inc.
6796
7032
This config.status script is free software; the Free Software Foundation
6797
7033
gives unlimited permission to copy, distribute and modify it."
6798
7034
 
6799
7035
ac_pwd='$ac_pwd'
6800
7036
srcdir='$srcdir'
6801
7037
INSTALL='$INSTALL'
 
7038
test -n "\$AWK" || AWK=awk
6802
7039
_ACEOF
6803
7040
 
6804
 
cat >>$CONFIG_STATUS <<\_ACEOF
6805
 
# If no file are specified by the user, then we need to provide default
6806
 
# value.  By we need to know if files were specified by the user.
 
7041
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7042
# The default lists apply if the user does not specify any file.
6807
7043
ac_need_defaults=:
6808
7044
while test $# != 0
6809
7045
do
6825
7061
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6826
7062
    ac_cs_recheck=: ;;
6827
7063
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6828
 
    echo "$ac_cs_version"; exit ;;
 
7064
    $as_echo "$ac_cs_version"; exit ;;
6829
7065
  --debug | --debu | --deb | --de | --d | -d )
6830
7066
    debug=: ;;
6831
7067
  --file | --fil | --fi | --f )
6832
7068
    $ac_shift
6833
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
7069
    case $ac_optarg in
 
7070
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
7071
    esac
 
7072
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6834
7073
    ac_need_defaults=false;;
6835
7074
  --header | --heade | --head | --hea )
6836
7075
    $ac_shift
6837
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
7076
    case $ac_optarg in
 
7077
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
7078
    esac
 
7079
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6838
7080
    ac_need_defaults=false;;
6839
7081
  --he | --h)
6840
7082
    # Conflict between --help and --header
6841
 
    { echo "$as_me: error: ambiguous option: $1
 
7083
    { $as_echo "$as_me: error: ambiguous option: $1
6842
7084
Try \`$0 --help' for more information." >&2
6843
7085
   { (exit 1); exit 1; }; };;
6844
7086
  --help | --hel | -h )
6845
 
    echo "$ac_cs_usage"; exit ;;
 
7087
    $as_echo "$ac_cs_usage"; exit ;;
6846
7088
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6847
7089
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6848
7090
    ac_cs_silent=: ;;
6849
7091
 
6850
7092
  # This is an error.
6851
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
7093
  -*) { $as_echo "$as_me: error: unrecognized option: $1
6852
7094
Try \`$0 --help' for more information." >&2
6853
7095
   { (exit 1); exit 1; }; } ;;
6854
7096
 
6867
7109
fi
6868
7110
 
6869
7111
_ACEOF
6870
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7112
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6871
7113
if \$ac_cs_recheck; then
6872
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6873
 
  CONFIG_SHELL=$SHELL
 
7114
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
7115
  shift
 
7116
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
7117
  CONFIG_SHELL='$SHELL'
6874
7118
  export CONFIG_SHELL
6875
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
7119
  exec "\$@"
6876
7120
fi
6877
7121
 
6878
7122
_ACEOF
6879
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7123
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6880
7124
exec 5>>config.log
6881
7125
{
6882
7126
  echo
6883
7127
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6884
7128
## Running $as_me. ##
6885
7129
_ASBOX
6886
 
  echo "$ac_log"
 
7130
  $as_echo "$ac_log"
6887
7131
} >&5
6888
7132
 
6889
7133
_ACEOF
6890
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7134
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6891
7135
_ACEOF
6892
7136
 
6893
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7137
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6894
7138
 
6895
7139
# Handling of arguments.
6896
7140
for ac_config_target in $ac_config_targets
6899
7143
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6900
7144
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6901
7145
 
6902
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6903
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
7146
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
7147
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6904
7148
   { (exit 1); exit 1; }; };;
6905
7149
  esac
6906
7150
done
6940
7184
  (umask 077 && mkdir "$tmp")
6941
7185
} ||
6942
7186
{
6943
 
   echo "$me: cannot create a temporary directory in ." >&2
 
7187
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6944
7188
   { (exit 1); exit 1; }
6945
7189
}
6946
7190
 
6947
 
#
6948
 
# Set up the sed scripts for CONFIG_FILES section.
6949
 
#
6950
 
 
6951
 
# No need to generate the scripts if there are no CONFIG_FILES.
6952
 
# This happens for instance when ./config.status config.h
 
7191
# Set up the scripts for CONFIG_FILES section.
 
7192
# No need to generate them if there are no CONFIG_FILES.
 
7193
# This happens for instance with `./config.status config.h'.
6953
7194
if test -n "$CONFIG_FILES"; then
6954
7195
 
 
7196
 
 
7197
ac_cr='
 
 
b"'"
 
7198
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
7199
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
7200
  ac_cs_awk_cr='\\r'
 
7201
else
 
7202
  ac_cs_awk_cr=$ac_cr
 
7203
fi
 
7204
 
 
7205
echo 'BEGIN {' >"$tmp/subs1.awk" &&
6955
7206
_ACEOF
6956
7207
 
6957
7208
 
6958
 
 
 
7209
{
 
7210
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
7211
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
7212
  echo "_ACEOF"
 
7213
} >conf$$subs.sh ||
 
7214
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
7215
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
7216
   { (exit 1); exit 1; }; }
 
7217
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6959
7218
ac_delim='%!_!# '
6960
7219
for ac_last_try in false false false false false :; do
6961
 
  cat >conf$$subs.sed <<_ACEOF
6962
 
SHELL!$SHELL$ac_delim
6963
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6964
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6965
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6966
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6967
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6968
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6969
 
exec_prefix!$exec_prefix$ac_delim
6970
 
prefix!$prefix$ac_delim
6971
 
program_transform_name!$program_transform_name$ac_delim
6972
 
bindir!$bindir$ac_delim
6973
 
sbindir!$sbindir$ac_delim
6974
 
libexecdir!$libexecdir$ac_delim
6975
 
datarootdir!$datarootdir$ac_delim
6976
 
datadir!$datadir$ac_delim
6977
 
sysconfdir!$sysconfdir$ac_delim
6978
 
sharedstatedir!$sharedstatedir$ac_delim
6979
 
localstatedir!$localstatedir$ac_delim
6980
 
includedir!$includedir$ac_delim
6981
 
oldincludedir!$oldincludedir$ac_delim
6982
 
docdir!$docdir$ac_delim
6983
 
infodir!$infodir$ac_delim
6984
 
htmldir!$htmldir$ac_delim
6985
 
dvidir!$dvidir$ac_delim
6986
 
pdfdir!$pdfdir$ac_delim
6987
 
psdir!$psdir$ac_delim
6988
 
libdir!$libdir$ac_delim
6989
 
localedir!$localedir$ac_delim
6990
 
mandir!$mandir$ac_delim
6991
 
DEFS!$DEFS$ac_delim
6992
 
ECHO_C!$ECHO_C$ac_delim
6993
 
ECHO_N!$ECHO_N$ac_delim
6994
 
ECHO_T!$ECHO_T$ac_delim
6995
 
LIBS!$LIBS$ac_delim
6996
 
build_alias!$build_alias$ac_delim
6997
 
host_alias!$host_alias$ac_delim
6998
 
target_alias!$target_alias$ac_delim
6999
 
build!$build$ac_delim
7000
 
build_cpu!$build_cpu$ac_delim
7001
 
build_vendor!$build_vendor$ac_delim
7002
 
build_os!$build_os$ac_delim
7003
 
host!$host$ac_delim
7004
 
host_cpu!$host_cpu$ac_delim
7005
 
host_vendor!$host_vendor$ac_delim
7006
 
host_os!$host_os$ac_delim
7007
 
CC!$CC$ac_delim
7008
 
CFLAGS!$CFLAGS$ac_delim
7009
 
LDFLAGS!$LDFLAGS$ac_delim
7010
 
CPPFLAGS!$CPPFLAGS$ac_delim
7011
 
ac_ct_CC!$ac_ct_CC$ac_delim
7012
 
EXEEXT!$EXEEXT$ac_delim
7013
 
OBJEXT!$OBJEXT$ac_delim
7014
 
CPP!$CPP$ac_delim
7015
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7016
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7017
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
7018
 
SET_MAKE!$SET_MAKE$ac_delim
7019
 
GREP!$GREP$ac_delim
7020
 
EGREP!$EGREP$ac_delim
7021
 
XMKMF!$XMKMF$ac_delim
7022
 
X_CFLAGS!$X_CFLAGS$ac_delim
7023
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
7024
 
X_LIBS!$X_LIBS$ac_delim
7025
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
7026
 
pkg_config!$pkg_config$ac_delim
7027
 
have_gnome_help!$have_gnome_help$ac_delim
7028
 
INCLUDES!$INCLUDES$ac_delim
7029
 
GTK_LIBS!$GTK_LIBS$ac_delim
7030
 
LIBOBJS!$LIBOBJS$ac_delim
7031
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
7032
 
_ACEOF
 
7220
  . ./conf$$subs.sh ||
 
7221
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
7222
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
7223
   { (exit 1); exit 1; }; }
7033
7224
 
7034
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
 
7225
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
7226
  if test $ac_delim_n = $ac_delim_num; then
7035
7227
    break
7036
7228
  elif $ac_last_try; then
7037
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7038
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
7229
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
7230
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7039
7231
   { (exit 1); exit 1; }; }
7040
7232
  else
7041
7233
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7042
7234
  fi
7043
7235
done
7044
 
 
7045
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7046
 
if test -n "$ac_eof"; then
7047
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7048
 
  ac_eof=`expr $ac_eof + 1`
7049
 
fi
7050
 
 
7051
 
cat >>$CONFIG_STATUS <<_ACEOF
7052
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7053
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7054
 
_ACEOF
7055
 
sed '
7056
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7057
 
s/^/s,@/; s/!/@,|#_!!_#|/
7058
 
:n
7059
 
t n
7060
 
s/'"$ac_delim"'$/,g/; t
7061
 
s/$/\\/; p
7062
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7063
 
' >>$CONFIG_STATUS <conf$$subs.sed
7064
 
rm -f conf$$subs.sed
7065
 
cat >>$CONFIG_STATUS <<_ACEOF
7066
 
:end
7067
 
s/|#_!!_#|//g
7068
 
CEOF$ac_eof
7069
 
_ACEOF
7070
 
 
 
7236
rm -f conf$$subs.sh
 
7237
 
 
7238
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7239
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
7240
_ACEOF
 
7241
sed -n '
 
7242
h
 
7243
s/^/S["/; s/!.*/"]=/
 
7244
p
 
7245
g
 
7246
s/^[^!]*!//
 
7247
:repl
 
7248
t repl
 
7249
s/'"$ac_delim"'$//
 
7250
t delim
 
7251
:nl
 
7252
h
 
7253
s/\(.\{148\}\).*/\1/
 
7254
t more1
 
7255
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
7256
p
 
7257
n
 
7258
b repl
 
7259
:more1
 
7260
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7261
p
 
7262
g
 
7263
s/.\{148\}//
 
7264
t nl
 
7265
:delim
 
7266
h
 
7267
s/\(.\{148\}\).*/\1/
 
7268
t more2
 
7269
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
7270
p
 
7271
b
 
7272
:more2
 
7273
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
7274
p
 
7275
g
 
7276
s/.\{148\}//
 
7277
t delim
 
7278
' <conf$$subs.awk | sed '
 
7279
/^[^""]/{
 
7280
  N
 
7281
  s/\n//
 
7282
}
 
7283
' >>$CONFIG_STATUS || ac_write_fail=1
 
7284
rm -f conf$$subs.awk
 
7285
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7286
_ACAWK
 
7287
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
7288
  for (key in S) S_is_set[key] = 1
 
7289
  FS = ""
 
7290
 
 
7291
}
 
7292
{
 
7293
  line = $ 0
 
7294
  nfields = split(line, field, "@")
 
7295
  substed = 0
 
7296
  len = length(field[1])
 
7297
  for (i = 2; i < nfields; i++) {
 
7298
    key = field[i]
 
7299
    keylen = length(key)
 
7300
    if (S_is_set[key]) {
 
7301
      value = S[key]
 
7302
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
7303
      len += length(value) + length(field[++i])
 
7304
      substed = 1
 
7305
    } else
 
7306
      len += 1 + keylen
 
7307
  }
 
7308
 
 
7309
  print line
 
7310
}
 
7311
 
 
7312
_ACAWK
 
7313
_ACEOF
 
7314
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7315
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
7316
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
7317
else
 
7318
  cat
 
7319
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
7320
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
7321
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
7322
   { (exit 1); exit 1; }; }
 
7323
_ACEOF
7071
7324
 
7072
7325
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7073
7326
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7084
7337
}'
7085
7338
fi
7086
7339
 
7087
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7340
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7088
7341
fi # test -n "$CONFIG_FILES"
7089
7342
 
7090
 
 
7091
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
 
7343
# Set up the scripts for CONFIG_HEADERS section.
 
7344
# No need to generate them if there are no CONFIG_HEADERS.
 
7345
# This happens for instance with `./config.status Makefile'.
 
7346
if test -n "$CONFIG_HEADERS"; then
 
7347
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
7348
BEGIN {
 
7349
_ACEOF
 
7350
 
 
7351
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
7352
# here-document in config.status, that substitutes the proper values into
 
7353
# config.h.in to produce config.h.
 
7354
 
 
7355
# Create a delimiter string that does not exist in confdefs.h, to ease
 
7356
# handling of long lines.
 
7357
ac_delim='%!_!# '
 
7358
for ac_last_try in false false :; do
 
7359
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
7360
  if test -z "$ac_t"; then
 
7361
    break
 
7362
  elif $ac_last_try; then
 
7363
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
7364
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
7365
   { (exit 1); exit 1; }; }
 
7366
  else
 
7367
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
7368
  fi
 
7369
done
 
7370
 
 
7371
# For the awk script, D is an array of macro values keyed by name,
 
7372
# likewise P contains macro parameters if any.  Preserve backslash
 
7373
# newline sequences.
 
7374
 
 
7375
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
7376
sed -n '
 
7377
s/.\{148\}/&'"$ac_delim"'/g
 
7378
t rset
 
7379
:rset
 
7380
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
7381
t def
 
7382
d
 
7383
:def
 
7384
s/\\$//
 
7385
t bsnl
 
7386
s/["\\]/\\&/g
 
7387
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7388
D["\1"]=" \3"/p
 
7389
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
7390
d
 
7391
:bsnl
 
7392
s/["\\]/\\&/g
 
7393
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
7394
D["\1"]=" \3\\\\\\n"\\/p
 
7395
t cont
 
7396
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
7397
t cont
 
7398
d
 
7399
:cont
 
7400
n
 
7401
s/.\{148\}/&'"$ac_delim"'/g
 
7402
t clear
 
7403
:clear
 
7404
s/\\$//
 
7405
t bsnlc
 
7406
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
7407
d
 
7408
:bsnlc
 
7409
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
7410
b cont
 
7411
' <confdefs.h | sed '
 
7412
s/'"$ac_delim"'/"\\\
 
7413
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
7414
 
 
7415
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7416
  for (key in D) D_is_set[key] = 1
 
7417
  FS = ""
 
7418
}
 
7419
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
7420
  line = \$ 0
 
7421
  split(line, arg, " ")
 
7422
  if (arg[1] == "#") {
 
7423
    defundef = arg[2]
 
7424
    mac1 = arg[3]
 
7425
  } else {
 
7426
    defundef = substr(arg[1], 2)
 
7427
    mac1 = arg[2]
 
7428
  }
 
7429
  split(mac1, mac2, "(") #)
 
7430
  macro = mac2[1]
 
7431
  prefix = substr(line, 1, index(line, defundef) - 1)
 
7432
  if (D_is_set[macro]) {
 
7433
    # Preserve the white space surrounding the "#".
 
7434
    print prefix "define", macro P[macro] D[macro]
 
7435
    next
 
7436
  } else {
 
7437
    # Replace #undef with comments.  This is necessary, for example,
 
7438
    # in the case of _POSIX_SOURCE, which is predefined and required
 
7439
    # on some systems where configure will not decide to define it.
 
7440
    if (defundef == "undef") {
 
7441
      print "/*", prefix defundef, macro, "*/"
 
7442
      next
 
7443
    }
 
7444
  }
 
7445
}
 
7446
{ print }
 
7447
_ACAWK
 
7448
_ACEOF
 
7449
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
7450
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
7451
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
7452
   { (exit 1); exit 1; }; }
 
7453
fi # test -n "$CONFIG_HEADERS"
 
7454
 
 
7455
 
 
7456
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
 
7457
shift
 
7458
for ac_tag
7092
7459
do
7093
7460
  case $ac_tag in
7094
7461
  :[FHLC]) ac_mode=$ac_tag; continue;;
7095
7462
  esac
7096
7463
  case $ac_mode$ac_tag in
7097
7464
  :[FHL]*:*);;
7098
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7099
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
7465
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
7466
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7100
7467
   { (exit 1); exit 1; }; };;
7101
7468
  :[FH]-) ac_tag=-:-;;
7102
7469
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7125
7492
           [\\/$]*) false;;
7126
7493
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7127
7494
           esac ||
7128
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7129
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
7495
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
7496
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7130
7497
   { (exit 1); exit 1; }; };;
7131
7498
      esac
7132
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
7499
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
7500
      ac_file_inputs="$ac_file_inputs '$ac_f'"
7133
7501
    done
7134
7502
 
7135
7503
    # Let's still pretend it is `configure' which instantiates (i.e., don't
7136
7504
    # use $as_me), people would be surprised to read:
7137
7505
    #    /* config.h.  Generated by config.status.  */
7138
 
    configure_input="Generated from "`IFS=:
7139
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
7506
    configure_input='Generated from '`
 
7507
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
7508
        `' by configure.'
7140
7509
    if test x"$ac_file" != x-; then
7141
7510
      configure_input="$ac_file.  $configure_input"
7142
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
7143
 
echo "$as_me: creating $ac_file" >&6;}
 
7511
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
7512
$as_echo "$as_me: creating $ac_file" >&6;}
7144
7513
    fi
 
7514
    # Neutralize special characters interpreted by sed in replacement strings.
 
7515
    case $configure_input in #(
 
7516
    *\&* | *\|* | *\\* )
 
7517
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
7518
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
7519
    *) ac_sed_conf_input=$configure_input;;
 
7520
    esac
7145
7521
 
7146
7522
    case $ac_tag in
7147
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
7523
    *:-:* | *:-) cat >"$tmp/stdin" \
 
7524
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7525
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7526
   { (exit 1); exit 1; }; } ;;
7148
7527
    esac
7149
7528
    ;;
7150
7529
  esac
7154
7533
         X"$ac_file" : 'X\(//\)[^/]' \| \
7155
7534
         X"$ac_file" : 'X\(//\)$' \| \
7156
7535
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7157
 
echo X"$ac_file" |
 
7536
$as_echo X"$ac_file" |
7158
7537
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7159
7538
            s//\1/
7160
7539
            q
7180
7559
    as_dirs=
7181
7560
    while :; do
7182
7561
      case $as_dir in #(
7183
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
7562
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7184
7563
      *) as_qdir=$as_dir;;
7185
7564
      esac
7186
7565
      as_dirs="'$as_qdir' $as_dirs"
7189
7568
         X"$as_dir" : 'X\(//\)[^/]' \| \
7190
7569
         X"$as_dir" : 'X\(//\)$' \| \
7191
7570
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7192
 
echo X"$as_dir" |
 
7571
$as_echo X"$as_dir" |
7193
7572
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7194
7573
            s//\1/
7195
7574
            q
7210
7589
      test -d "$as_dir" && break
7211
7590
    done
7212
7591
    test -z "$as_dirs" || eval "mkdir $as_dirs"
7213
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7214
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
7592
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
7593
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7215
7594
   { (exit 1); exit 1; }; }; }
7216
7595
  ac_builddir=.
7217
7596
 
7218
7597
case "$ac_dir" in
7219
7598
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7220
7599
*)
7221
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
7600
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7222
7601
  # A ".." for each directory in $ac_dir_suffix.
7223
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
7602
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7224
7603
  case $ac_top_builddir_sub in
7225
7604
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7226
7605
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7260
7639
  esac
7261
7640
_ACEOF
7262
7641
 
7263
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7642
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7264
7643
# If the template does not know about datarootdir, expand it.
7265
7644
# FIXME: This hack should be removed a few years after 2.60.
7266
7645
ac_datarootdir_hack=; ac_datarootdir_seen=
7267
7646
 
7268
 
case `sed -n '/datarootdir/ {
 
7647
ac_sed_dataroot='
 
7648
/datarootdir/ {
7269
7649
  p
7270
7650
  q
7271
7651
}
7274
7654
/@infodir@/p
7275
7655
/@localedir@/p
7276
7656
/@mandir@/p
7277
 
' $ac_file_inputs` in
 
7657
'
 
7658
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7278
7659
*datarootdir*) ac_datarootdir_seen=yes;;
7279
7660
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7280
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7281
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
7661
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
7662
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7282
7663
_ACEOF
7283
 
cat >>$CONFIG_STATUS <<_ACEOF
 
7664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7284
7665
  ac_datarootdir_hack='
7285
7666
  s&@datadir@&$datadir&g
7286
7667
  s&@docdir@&$docdir&g
7294
7675
# Neutralize VPATH when `$srcdir' = `.'.
7295
7676
# Shell code in configure.ac might set extrasub.
7296
7677
# FIXME: do we really want to maintain this feature?
7297
 
cat >>$CONFIG_STATUS <<_ACEOF
7298
 
  sed "$ac_vpsub
 
7678
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
7679
ac_sed_extra="$ac_vpsub
7299
7680
$extrasub
7300
7681
_ACEOF
7301
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
7682
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7302
7683
:t
7303
7684
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7304
 
s&@configure_input@&$configure_input&;t t
 
7685
s|@configure_input@|$ac_sed_conf_input|;t t
7305
7686
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
7687
s&@top_build_prefix@&$ac_top_build_prefix&;t t
7306
7688
s&@srcdir@&$ac_srcdir&;t t
7307
7689
s&@abs_srcdir@&$ac_abs_srcdir&;t t
7308
7690
s&@top_srcdir@&$ac_top_srcdir&;t t
7312
7694
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7313
7695
s&@INSTALL@&$ac_INSTALL&;t t
7314
7696
$ac_datarootdir_hack
7315
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
7697
"
 
7698
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
7699
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7700
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7701
   { (exit 1); exit 1; }; }
7316
7702
 
7317
7703
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7318
7704
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7319
7705
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7320
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7706
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7321
7707
which seems to be undefined.  Please make sure it is defined." >&5
7322
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
7708
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7323
7709
which seems to be undefined.  Please make sure it is defined." >&2;}
7324
7710
 
7325
7711
  rm -f "$tmp/stdin"
7326
7712
  case $ac_file in
7327
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
7328
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7329
 
  esac
 
7713
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
7714
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
7715
  esac \
 
7716
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7717
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7718
   { (exit 1); exit 1; }; }
7330
7719
 ;;
7331
7720
  :H)
7332
7721
  #
7333
7722
  # CONFIG_HEADER
7334
7723
  #
7335
 
_ACEOF
7336
 
 
7337
 
# Transform confdefs.h into a sed script `conftest.defines', that
7338
 
# substitutes the proper values into config.h.in to produce config.h.
7339
 
rm -f conftest.defines conftest.tail
7340
 
# First, append a space to every undef/define line, to ease matching.
7341
 
echo 's/$/ /' >conftest.defines
7342
 
# Then, protect against being on the right side of a sed subst, or in
7343
 
# an unquoted here document, in config.status.  If some macros were
7344
 
# called several times there might be several #defines for the same
7345
 
# symbol, which is useless.  But do not sort them, since the last
7346
 
# AC_DEFINE must be honored.
7347
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7348
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7349
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
7350
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
7351
 
# just an empty string.
7352
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
7353
 
ac_dB='\\)[      (].*,\\1define\\2'
7354
 
ac_dC=' '
7355
 
ac_dD=' ,'
7356
 
 
7357
 
uniq confdefs.h |
7358
 
  sed -n '
7359
 
        t rset
7360
 
        :rset
7361
 
        s/^[     ]*#[    ]*define[       ][      ]*//
7362
 
        t ok
7363
 
        d
7364
 
        :ok
7365
 
        s/[\\&,]/\\&/g
7366
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7367
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7368
 
  ' >>conftest.defines
7369
 
 
7370
 
# Remove the space that was appended to ease matching.
7371
 
# Then replace #undef with comments.  This is necessary, for
7372
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
7373
 
# on some systems where configure will not decide to define it.
7374
 
# (The regexp can be short, since the line contains either #define or #undef.)
7375
 
echo 's/ $//
7376
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
7377
 
 
7378
 
# Break up conftest.defines:
7379
 
ac_max_sed_lines=50
7380
 
 
7381
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7382
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7383
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7384
 
# et cetera.
7385
 
ac_in='$ac_file_inputs'
7386
 
ac_out='"$tmp/out1"'
7387
 
ac_nxt='"$tmp/out2"'
7388
 
 
7389
 
while :
7390
 
do
7391
 
  # Write a here document:
7392
 
    cat >>$CONFIG_STATUS <<_ACEOF
7393
 
    # First, check the format of the line:
7394
 
    cat >"\$tmp/defines.sed" <<\\CEOF
7395
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
7396
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
7397
 
b
7398
 
:def
7399
 
_ACEOF
7400
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7401
 
  echo 'CEOF
7402
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7403
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7404
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7405
 
  grep . conftest.tail >/dev/null || break
7406
 
  rm -f conftest.defines
7407
 
  mv conftest.tail conftest.defines
7408
 
done
7409
 
rm -f conftest.defines conftest.tail
7410
 
 
7411
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
7412
 
cat >>$CONFIG_STATUS <<\_ACEOF
7413
7724
  if test x"$ac_file" != x-; then
7414
 
    echo "/* $configure_input  */" >"$tmp/config.h"
7415
 
    cat "$ac_result" >>"$tmp/config.h"
7416
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7417
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7418
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
7725
    {
 
7726
      $as_echo "/* $configure_input  */" \
 
7727
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
7728
    } >"$tmp/config.h" \
 
7729
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7730
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7731
   { (exit 1); exit 1; }; }
 
7732
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
7733
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
7734
$as_echo "$as_me: $ac_file is unchanged" >&6;}
7419
7735
    else
7420
 
      rm -f $ac_file
7421
 
      mv "$tmp/config.h" $ac_file
 
7736
      rm -f "$ac_file"
 
7737
      mv "$tmp/config.h" "$ac_file" \
 
7738
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
7739
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
7740
   { (exit 1); exit 1; }; }
7422
7741
    fi
7423
7742
  else
7424
 
    echo "/* $configure_input  */"
7425
 
    cat "$ac_result"
 
7743
    $as_echo "/* $configure_input  */" \
 
7744
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
7745
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
7746
$as_echo "$as_me: error: could not create -" >&2;}
 
7747
   { (exit 1); exit 1; }; }
7426
7748
  fi
7427
 
  rm -f "$tmp/out12"
7428
7749
 ;;
7429
7750
 
7430
7751
 
7438
7759
chmod +x $CONFIG_STATUS
7439
7760
ac_clean_files=$ac_clean_files_save
7440
7761
 
 
7762
test $ac_write_fail = 0 ||
 
7763
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
7764
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
7765
   { (exit 1); exit 1; }; }
 
7766
 
7441
7767
 
7442
7768
# configure is writing to config.log, and then calls config.status.
7443
7769
# config.status does its own redirection, appending to config.log.
7459
7785
  # would make configure fail if this is the last instruction.
7460
7786
  $ac_cs_success || { (exit 1); exit 1; }
7461
7787
fi
 
7788
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
7789
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
7790
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
7791
fi
7462
7792