~ubuntu-branches/ubuntu/lucid/recordmydesktop/lucid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Alan Pope
  • Date: 2009-04-21 10:57:22 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090421105722-w6l4gz958gva15wn
Tags: 0.3.8.1-0ubuntu1
* New upstream release (LP: #364674)
* debian/control: Fixed libjack0.100.0-dev dependancy
* debian/control: Fixed project home page

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 for recordmydesktop 0.3.8.1.
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
570
592
SHELL=${CONFIG_SHELL-/bin/sh}
571
593
 
572
594
# Identity of this package.
573
 
PACKAGE_NAME=
574
 
PACKAGE_TARNAME=
575
 
PACKAGE_VERSION=
576
 
PACKAGE_STRING=
577
 
PACKAGE_BUGREPORT=
 
595
PACKAGE_NAME='recordmydesktop'
 
596
PACKAGE_TARNAME='recordmydesktop'
 
597
PACKAGE_VERSION='0.3.8.1'
 
598
PACKAGE_STRING='recordmydesktop 0.3.8.1'
 
599
PACKAGE_BUGREPORT=''
578
600
 
579
 
ac_unique_file="src/recordmydesktop.c"
580
 
ac_unique_file="src/recordmydesktop.c"
 
601
ac_unique_file="src/rmd.c"
581
602
# Factoring default headers for most tests.
582
603
ac_includes_default="\
583
604
#include <stdio.h>
614
635
# include <unistd.h>
615
636
#endif"
616
637
 
617
 
ac_subst_vars='SHELL
618
 
PATH_SEPARATOR
619
 
PACKAGE_NAME
620
 
PACKAGE_TARNAME
621
 
PACKAGE_VERSION
622
 
PACKAGE_STRING
623
 
PACKAGE_BUGREPORT
624
 
exec_prefix
625
 
prefix
626
 
program_transform_name
627
 
bindir
628
 
sbindir
629
 
libexecdir
630
 
datarootdir
631
 
datadir
632
 
sysconfdir
633
 
sharedstatedir
634
 
localstatedir
635
 
includedir
636
 
oldincludedir
637
 
docdir
638
 
infodir
639
 
htmldir
640
 
dvidir
641
 
pdfdir
642
 
psdir
643
 
libdir
644
 
localedir
645
 
mandir
646
 
DEFS
647
 
ECHO_C
648
 
ECHO_N
649
 
ECHO_T
650
 
LIBS
651
 
build_alias
652
 
host_alias
653
 
target_alias
654
 
INSTALL_PROGRAM
655
 
INSTALL_SCRIPT
656
 
INSTALL_DATA
657
 
CYGPATH_W
658
 
PACKAGE
659
 
VERSION
660
 
ACLOCAL
661
 
AUTOCONF
662
 
AUTOMAKE
663
 
AUTOHEADER
664
 
MAKEINFO
 
638
ac_subst_vars='LTLIBOBJS
 
639
LIBOBJS
 
640
X_EXTRA_LIBS
 
641
X_LIBS
 
642
X_PRE_LIBS
 
643
X_CFLAGS
 
644
XMKMF
 
645
EGREP
 
646
GREP
 
647
CPP
 
648
host_os
 
649
host_vendor
 
650
host_cpu
 
651
host
 
652
build_os
 
653
build_vendor
 
654
build_cpu
 
655
build
 
656
am__fastdepCC_FALSE
 
657
am__fastdepCC_TRUE
 
658
CCDEPMODE
 
659
AMDEPBACKSLASH
 
660
AMDEP_FALSE
 
661
AMDEP_TRUE
 
662
am__quote
 
663
am__include
 
664
DEPDIR
 
665
OBJEXT
 
666
EXEEXT
 
667
ac_ct_CC
 
668
CPPFLAGS
 
669
LDFLAGS
 
670
CFLAGS
 
671
CC
 
672
am__untar
 
673
am__tar
665
674
AMTAR
 
675
am__leading_dot
 
676
SET_MAKE
 
677
AWK
 
678
mkdir_p
 
679
MKDIR_P
 
680
INSTALL_STRIP_PROGRAM
 
681
STRIP
666
682
install_sh
667
 
STRIP
668
 
INSTALL_STRIP_PROGRAM
669
 
AWK
670
 
SET_MAKE
671
 
am__leading_dot
672
 
CC
673
 
CFLAGS
674
 
LDFLAGS
675
 
CPPFLAGS
676
 
ac_ct_CC
677
 
EXEEXT
678
 
OBJEXT
679
 
DEPDIR
680
 
am__include
681
 
am__quote
682
 
AMDEP_TRUE
683
 
AMDEP_FALSE
684
 
AMDEPBACKSLASH
685
 
CCDEPMODE
686
 
am__fastdepCC_TRUE
687
 
am__fastdepCC_FALSE
688
 
build
689
 
build_cpu
690
 
build_vendor
691
 
build_os
692
 
host
693
 
host_cpu
694
 
host_vendor
695
 
host_os
696
 
CPP
697
 
GREP
698
 
EGREP
699
 
XMKMF
700
 
X_CFLAGS
701
 
X_PRE_LIBS
702
 
X_LIBS
703
 
X_EXTRA_LIBS
704
 
LIBOBJS
705
 
LTLIBOBJS'
 
683
MAKEINFO
 
684
AUTOHEADER
 
685
AUTOMAKE
 
686
AUTOCONF
 
687
ACLOCAL
 
688
VERSION
 
689
PACKAGE
 
690
CYGPATH_W
 
691
am__isrc
 
692
INSTALL_DATA
 
693
INSTALL_SCRIPT
 
694
INSTALL_PROGRAM
 
695
target_alias
 
696
host_alias
 
697
build_alias
 
698
LIBS
 
699
ECHO_T
 
700
ECHO_N
 
701
ECHO_C
 
702
DEFS
 
703
mandir
 
704
localedir
 
705
libdir
 
706
psdir
 
707
pdfdir
 
708
dvidir
 
709
htmldir
 
710
infodir
 
711
docdir
 
712
oldincludedir
 
713
includedir
 
714
localstatedir
 
715
sharedstatedir
 
716
sysconfdir
 
717
datadir
 
718
datarootdir
 
719
libexecdir
 
720
sbindir
 
721
bindir
 
722
program_transform_name
 
723
prefix
 
724
exec_prefix
 
725
PACKAGE_BUGREPORT
 
726
PACKAGE_STRING
 
727
PACKAGE_VERSION
 
728
PACKAGE_TARNAME
 
729
PACKAGE_NAME
 
730
PATH_SEPARATOR
 
731
SHELL'
706
732
ac_subst_files=''
 
733
ac_user_opts='
 
734
enable_option_checking
 
735
enable_dependency_tracking
 
736
with_x
 
737
enable_oss
 
738
enable_jack
 
739
'
707
740
      ac_precious_vars='build_alias
708
741
host_alias
709
742
target_alias
719
752
# Initialize some variables set by options.
720
753
ac_init_help=
721
754
ac_init_version=false
 
755
ac_unrecognized_opts=
 
756
ac_unrecognized_sep=
722
757
# The variables have the same names as the options, with
723
758
# dashes changed to underlines.
724
759
cache_file=/dev/null
752
787
localstatedir='${prefix}/var'
753
788
includedir='${prefix}/include'
754
789
oldincludedir='/usr/include'
755
 
docdir='${datarootdir}/doc/${PACKAGE}'
 
790
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
756
791
infodir='${datarootdir}/info'
757
792
htmldir='${docdir}'
758
793
dvidir='${docdir}'
817
852
    datarootdir=$ac_optarg ;;
818
853
 
819
854
  -disable-* | --disable-*)
820
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
855
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
821
856
    # Reject names that are not valid shell variable names.
822
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
823
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
857
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
858
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
824
859
   { (exit 1); exit 1; }; }
825
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
826
 
    eval enable_$ac_feature=no ;;
 
860
    ac_useropt_orig=$ac_useropt
 
861
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
862
    case $ac_user_opts in
 
863
      *"
 
864
"enable_$ac_useropt"
 
865
"*) ;;
 
866
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
867
         ac_unrecognized_sep=', ';;
 
868
    esac
 
869
    eval enable_$ac_useropt=no ;;
827
870
 
828
871
  -docdir | --docdir | --docdi | --doc | --do)
829
872
    ac_prev=docdir ;;
836
879
    dvidir=$ac_optarg ;;
837
880
 
838
881
  -enable-* | --enable-*)
839
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
882
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
840
883
    # Reject names that are not valid shell variable names.
841
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
842
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
884
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
885
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
843
886
   { (exit 1); exit 1; }; }
844
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
845
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
887
    ac_useropt_orig=$ac_useropt
 
888
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
889
    case $ac_user_opts in
 
890
      *"
 
891
"enable_$ac_useropt"
 
892
"*) ;;
 
893
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
894
         ac_unrecognized_sep=', ';;
 
895
    esac
 
896
    eval enable_$ac_useropt=\$ac_optarg ;;
846
897
 
847
898
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
848
899
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033
1084
    ac_init_version=: ;;
1034
1085
 
1035
1086
  -with-* | --with-*)
1036
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1087
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037
1088
    # Reject names that are not valid shell variable names.
1038
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1089
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1090
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1040
1091
   { (exit 1); exit 1; }; }
1041
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1042
 
    eval with_$ac_package=\$ac_optarg ;;
 
1092
    ac_useropt_orig=$ac_useropt
 
1093
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1094
    case $ac_user_opts in
 
1095
      *"
 
1096
"with_$ac_useropt"
 
1097
"*) ;;
 
1098
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1099
         ac_unrecognized_sep=', ';;
 
1100
    esac
 
1101
    eval with_$ac_useropt=\$ac_optarg ;;
1043
1102
 
1044
1103
  -without-* | --without-*)
1045
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1104
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046
1105
    # Reject names that are not valid shell variable names.
1047
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1106
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1107
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1049
1108
   { (exit 1); exit 1; }; }
1050
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1051
 
    eval with_$ac_package=no ;;
 
1109
    ac_useropt_orig=$ac_useropt
 
1110
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1111
    case $ac_user_opts in
 
1112
      *"
 
1113
"with_$ac_useropt"
 
1114
"*) ;;
 
1115
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1116
         ac_unrecognized_sep=', ';;
 
1117
    esac
 
1118
    eval with_$ac_useropt=no ;;
1052
1119
 
1053
1120
  --x)
1054
1121
    # Obsolete; use --with-x.
1068
1135
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1069
1136
    x_libraries=$ac_optarg ;;
1070
1137
 
1071
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1138
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1072
1139
Try \`$0 --help' for more information." >&2
1073
1140
   { (exit 1); exit 1; }; }
1074
1141
    ;;
1077
1144
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1078
1145
    # Reject names that are not valid shell variable names.
1079
1146
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1080
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1147
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1081
1148
   { (exit 1); exit 1; }; }
1082
1149
    eval $ac_envvar=\$ac_optarg
1083
1150
    export $ac_envvar ;;
1084
1151
 
1085
1152
  *)
1086
1153
    # FIXME: should be removed in autoconf 3.0.
1087
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1154
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1088
1155
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1089
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1156
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1090
1157
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1091
1158
    ;;
1092
1159
 
1095
1162
 
1096
1163
if test -n "$ac_prev"; then
1097
1164
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1098
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1165
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1099
1166
   { (exit 1); exit 1; }; }
1100
1167
fi
1101
1168
 
1102
 
# Be sure to have absolute directory names.
 
1169
if test -n "$ac_unrecognized_opts"; then
 
1170
  case $enable_option_checking in
 
1171
    no) ;;
 
1172
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1173
   { (exit 1); exit 1; }; } ;;
 
1174
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1175
  esac
 
1176
fi
 
1177
 
 
1178
# Check all directory arguments for consistency.
1103
1179
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104
1180
                datadir sysconfdir sharedstatedir localstatedir includedir \
1105
1181
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106
1182
                libdir localedir mandir
1107
1183
do
1108
1184
  eval ac_val=\$$ac_var
 
1185
  # Remove trailing slashes.
 
1186
  case $ac_val in
 
1187
    */ )
 
1188
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1189
      eval $ac_var=\$ac_val;;
 
1190
  esac
 
1191
  # Be sure to have absolute directory names.
1109
1192
  case $ac_val in
1110
1193
    [\\/$]* | ?:[\\/]* )  continue;;
1111
1194
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112
1195
  esac
1113
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1196
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1114
1197
   { (exit 1); exit 1; }; }
1115
1198
done
1116
1199
 
1125
1208
if test "x$host_alias" != x; then
1126
1209
  if test "x$build_alias" = x; then
1127
1210
    cross_compiling=maybe
1128
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1211
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129
1212
    If a cross compiler is detected then cross compile mode will be used." >&2
1130
1213
  elif test "x$build_alias" != "x$host_alias"; then
1131
1214
    cross_compiling=yes
1141
1224
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142
1225
ac_ls_di=`ls -di .` &&
1143
1226
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1144
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1227
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1145
1228
   { (exit 1); exit 1; }; }
1146
1229
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1147
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1230
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1148
1231
   { (exit 1); exit 1; }; }
1149
1232
 
1150
1233
 
1152
1235
if test -z "$srcdir"; then
1153
1236
  ac_srcdir_defaulted=yes
1154
1237
  # Try the directory containing this script, then the parent directory.
1155
 
  ac_confdir=`$as_dirname -- "$0" ||
1156
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1157
 
         X"$0" : 'X\(//\)[^/]' \| \
1158
 
         X"$0" : 'X\(//\)$' \| \
1159
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1160
 
echo X"$0" |
 
1238
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1239
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1240
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1241
         X"$as_myself" : 'X\(//\)$' \| \
 
1242
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1243
$as_echo X"$as_myself" |
1161
1244
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1162
1245
            s//\1/
1163
1246
            q
1184
1267
fi
1185
1268
if test ! -r "$srcdir/$ac_unique_file"; then
1186
1269
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1187
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1270
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1188
1271
   { (exit 1); exit 1; }; }
1189
1272
fi
1190
1273
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1191
1274
ac_abs_confdir=`(
1192
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1275
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1193
1276
   { (exit 1); exit 1; }; }
1194
1277
        pwd)`
1195
1278
# When building in place, set srcdir=.
1216
1299
  # Omit some internal or obsolete options to make the list less imposing.
1217
1300
  # This message is too long to be a string in the A/UX 3.1 sh.
1218
1301
  cat <<_ACEOF
1219
 
\`configure' configures this package to adapt to many kinds of systems.
 
1302
\`configure' configures recordmydesktop 0.3.8.1 to adapt to many kinds of systems.
1220
1303
 
1221
1304
Usage: $0 [OPTION]... [VAR=VALUE]...
1222
1305
 
1238
1321
 
1239
1322
Installation directories:
1240
1323
  --prefix=PREFIX         install architecture-independent files in PREFIX
1241
 
                          [$ac_default_prefix]
 
1324
                          [$ac_default_prefix]
1242
1325
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1243
 
                          [PREFIX]
 
1326
                          [PREFIX]
1244
1327
 
1245
1328
By default, \`make install' will install all the files in
1246
1329
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1250
1333
For better control, use the options below.
1251
1334
 
1252
1335
Fine tuning of the installation directories:
1253
 
  --bindir=DIR           user executables [EPREFIX/bin]
1254
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1255
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1256
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1257
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1258
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1259
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1260
 
  --includedir=DIR       C header files [PREFIX/include]
1261
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1262
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1263
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1264
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1265
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1266
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1267
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1268
 
  --htmldir=DIR          html documentation [DOCDIR]
1269
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1270
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1271
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1336
  --bindir=DIR            user executables [EPREFIX/bin]
 
1337
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1338
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1339
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1340
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1341
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1342
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1343
  --includedir=DIR        C header files [PREFIX/include]
 
1344
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1345
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1346
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1347
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1348
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1349
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1350
  --docdir=DIR            documentation root [DATAROOTDIR/doc/recordmydesktop]
 
1351
  --htmldir=DIR           html documentation [DOCDIR]
 
1352
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1353
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1354
  --psdir=DIR             ps documentation [DOCDIR]
1272
1355
_ACEOF
1273
1356
 
1274
1357
  cat <<\_ACEOF
1289
1372
fi
1290
1373
 
1291
1374
if test -n "$ac_init_help"; then
1292
 
 
 
1375
  case $ac_init_help in
 
1376
     short | recursive ) echo "Configuration of recordmydesktop 0.3.8.1:";;
 
1377
   esac
1293
1378
  cat <<\_ACEOF
1294
1379
 
1295
1380
Optional Features:
 
1381
  --disable-option-checking  ignore unrecognized --enable/--with options
1296
1382
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1297
1383
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1298
 
  --disable-dependency-tracking Speeds up one-time builds
1299
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1384
  --disable-dependency-tracking  speeds up one-time build
 
1385
  --enable-dependency-tracking   do not reject slow dependency extractors
1300
1386
  --enable-oss=yes    compile with OSS(don't check for ALSA)
1301
1387
  --enable-jack=yes    compile with Jack support
1302
1388
 
1326
1412
if test "$ac_init_help" = "recursive"; then
1327
1413
  # If there are subdirs, report their specific --help.
1328
1414
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329
 
    test -d "$ac_dir" || continue
 
1415
    test -d "$ac_dir" ||
 
1416
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1417
      continue
1330
1418
    ac_builddir=.
1331
1419
 
1332
1420
case "$ac_dir" in
1333
1421
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334
1422
*)
1335
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1423
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336
1424
  # A ".." for each directory in $ac_dir_suffix.
1337
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1425
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338
1426
  case $ac_top_builddir_sub in
1339
1427
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340
1428
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370
1458
      echo &&
1371
1459
      $SHELL "$ac_srcdir/configure" --help=recursive
1372
1460
    else
1373
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1461
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374
1462
    fi || ac_status=$?
1375
1463
    cd "$ac_pwd" || { ac_status=$?; break; }
1376
1464
  done
1379
1467
test -n "$ac_init_help" && exit $ac_status
1380
1468
if $ac_init_version; then
1381
1469
  cat <<\_ACEOF
1382
 
configure
1383
 
generated by GNU Autoconf 2.61
 
1470
recordmydesktop configure 0.3.8.1
 
1471
generated by GNU Autoconf 2.63
1384
1472
 
1385
1473
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1386
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1474
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1387
1475
This configure script is free software; the Free Software Foundation
1388
1476
gives unlimited permission to copy, distribute and modify it.
1389
1477
_ACEOF
1393
1481
This file contains any messages produced by compilers while
1394
1482
running configure, to aid debugging if configure makes a mistake.
1395
1483
 
1396
 
It was created by $as_me, which was
1397
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1484
It was created by recordmydesktop $as_me 0.3.8.1, which was
 
1485
generated by GNU Autoconf 2.63.  Invocation command line was
1398
1486
 
1399
1487
  $ $0 $@
1400
1488
 
1430
1518
do
1431
1519
  IFS=$as_save_IFS
1432
1520
  test -z "$as_dir" && as_dir=.
1433
 
  echo "PATH: $as_dir"
 
1521
  $as_echo "PATH: $as_dir"
1434
1522
done
1435
1523
IFS=$as_save_IFS
1436
1524
 
1465
1553
    | -silent | --silent | --silen | --sile | --sil)
1466
1554
      continue ;;
1467
1555
    *\'*)
1468
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1556
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1469
1557
    esac
1470
1558
    case $ac_pass in
1471
1559
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1517
1605
    case $ac_val in #(
1518
1606
    *${as_nl}*)
1519
1607
      case $ac_var in #(
1520
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1521
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1608
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1609
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1522
1610
      esac
1523
1611
      case $ac_var in #(
1524
1612
      _ | IFS | as_nl) ;; #(
 
1613
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1525
1614
      *) $as_unset $ac_var ;;
1526
1615
      esac ;;
1527
1616
    esac
1551
1640
    do
1552
1641
      eval ac_val=\$$ac_var
1553
1642
      case $ac_val in
1554
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1643
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1555
1644
      esac
1556
 
      echo "$ac_var='\''$ac_val'\''"
 
1645
      $as_echo "$ac_var='\''$ac_val'\''"
1557
1646
    done | sort
1558
1647
    echo
1559
1648
 
1568
1657
      do
1569
1658
        eval ac_val=\$$ac_var
1570
1659
        case $ac_val in
1571
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1660
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1572
1661
        esac
1573
 
        echo "$ac_var='\''$ac_val'\''"
 
1662
        $as_echo "$ac_var='\''$ac_val'\''"
1574
1663
      done | sort
1575
1664
      echo
1576
1665
    fi
1586
1675
      echo
1587
1676
    fi
1588
1677
    test "$ac_signal" != 0 &&
1589
 
      echo "$as_me: caught signal $ac_signal"
1590
 
    echo "$as_me: exit $exit_status"
 
1678
      $as_echo "$as_me: caught signal $ac_signal"
 
1679
    $as_echo "$as_me: exit $exit_status"
1591
1680
  } >&5
1592
1681
  rm -f core *.core core.conftest.* &&
1593
1682
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1629
1718
 
1630
1719
 
1631
1720
# Let the site file select an alternate cache file if it wants to.
1632
 
# Prefer explicitly selected file to automatically selected ones.
 
1721
# Prefer an explicitly selected file to automatically selected ones.
 
1722
ac_site_file1=NONE
 
1723
ac_site_file2=NONE
1633
1724
if test -n "$CONFIG_SITE"; then
1634
 
  set x "$CONFIG_SITE"
 
1725
  ac_site_file1=$CONFIG_SITE
1635
1726
elif test "x$prefix" != xNONE; then
1636
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1727
  ac_site_file1=$prefix/share/config.site
 
1728
  ac_site_file2=$prefix/etc/config.site
1637
1729
else
1638
 
  set x "$ac_default_prefix/share/config.site" \
1639
 
        "$ac_default_prefix/etc/config.site"
 
1730
  ac_site_file1=$ac_default_prefix/share/config.site
 
1731
  ac_site_file2=$ac_default_prefix/etc/config.site
1640
1732
fi
1641
 
shift
1642
 
for ac_site_file
 
1733
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1643
1734
do
 
1735
  test "x$ac_site_file" = xNONE && continue
1644
1736
  if test -r "$ac_site_file"; then
1645
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1646
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1737
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1738
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1647
1739
    sed 's/^/| /' "$ac_site_file" >&5
1648
1740
    . "$ac_site_file"
1649
1741
  fi
1653
1745
  # Some versions of bash will fail to source /dev/null (special
1654
1746
  # files actually), so we avoid doing that.
1655
1747
  if test -f "$cache_file"; then
1656
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1657
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1748
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1749
$as_echo "$as_me: loading cache $cache_file" >&6;}
1658
1750
    case $cache_file in
1659
1751
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660
1752
      *)                      . "./$cache_file";;
1661
1753
    esac
1662
1754
  fi
1663
1755
else
1664
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1665
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1756
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1757
$as_echo "$as_me: creating cache $cache_file" >&6;}
1666
1758
  >$cache_file
1667
1759
fi
1668
1760
 
1676
1768
  eval ac_new_val=\$ac_env_${ac_var}_value
1677
1769
  case $ac_old_set,$ac_new_set in
1678
1770
    set,)
1679
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1680
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1771
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1772
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1681
1773
      ac_cache_corrupted=: ;;
1682
1774
    ,set)
1683
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1684
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1775
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1776
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1685
1777
      ac_cache_corrupted=: ;;
1686
1778
    ,);;
1687
1779
    *)
1688
1780
      if test "x$ac_old_val" != "x$ac_new_val"; then
1689
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1690
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1691
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1692
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1693
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1694
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1695
 
        ac_cache_corrupted=:
 
1781
        # differences in whitespace do not lead to failure.
 
1782
        ac_old_val_w=`echo x $ac_old_val`
 
1783
        ac_new_val_w=`echo x $ac_new_val`
 
1784
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1785
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1786
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1787
          ac_cache_corrupted=:
 
1788
        else
 
1789
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1790
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1791
          eval $ac_var=\$ac_old_val
 
1792
        fi
 
1793
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1794
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1795
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1796
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1696
1797
      fi;;
1697
1798
  esac
1698
1799
  # Pass precious variables to config.status.
1699
1800
  if test "$ac_new_set" = set; then
1700
1801
    case $ac_new_val in
1701
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1802
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1702
1803
    *) ac_arg=$ac_var=$ac_new_val ;;
1703
1804
    esac
1704
1805
    case " $ac_configure_args " in
1708
1809
  fi
1709
1810
done
1710
1811
if $ac_cache_corrupted; then
1711
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1712
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1713
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1714
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1812
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1813
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1814
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1815
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1816
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1817
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1715
1818
   { (exit 1); exit 1; }; }
1716
1819
fi
1717
1820
 
1731
1834
 
1732
1835
 
1733
1836
 
 
1837
 
 
1838
 
 
1839
 
 
1840
 
 
1841
 
 
1842
 
 
1843
 
 
1844
 
1734
1845
ac_ext=c
1735
1846
ac_cpp='$CPP $CPPFLAGS'
1736
1847
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738
1849
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1739
1850
 
1740
1851
 
1741
 
am__api_version="1.7"
 
1852
am__api_version='1.10'
 
1853
 
1742
1854
ac_aux_dir=
1743
1855
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1744
1856
  if test -f "$ac_dir/install-sh"; then
1756
1868
  fi
1757
1869
done
1758
1870
if test -z "$ac_aux_dir"; then
1759
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1760
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
1871
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1872
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1761
1873
   { (exit 1); exit 1; }; }
1762
1874
fi
1763
1875
 
1783
1895
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784
1896
# OS/2's system install, which has a completely different semantic
1785
1897
# ./install, which can be erroneously created by make from ./install.sh.
1786
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1787
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
1898
# Reject install programs that cannot install multiple files.
 
1899
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1900
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1788
1901
if test -z "$INSTALL"; then
1789
1902
if test "${ac_cv_path_install+set}" = set; then
1790
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1903
  $as_echo_n "(cached) " >&6
1791
1904
else
1792
1905
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793
1906
for as_dir in $PATH
1816
1929
            # program-specific install script used by HP pwplus--don't use.
1817
1930
            :
1818
1931
          else
1819
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1820
 
            break 3
 
1932
            rm -rf conftest.one conftest.two conftest.dir
 
1933
            echo one > conftest.one
 
1934
            echo two > conftest.two
 
1935
            mkdir conftest.dir
 
1936
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
1937
              test -s conftest.one && test -s conftest.two &&
 
1938
              test -s conftest.dir/conftest.one &&
 
1939
              test -s conftest.dir/conftest.two
 
1940
            then
 
1941
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
1942
              break 3
 
1943
            fi
1821
1944
          fi
1822
1945
        fi
1823
1946
      done
1824
1947
    done
1825
1948
    ;;
1826
1949
esac
 
1950
 
1827
1951
done
1828
1952
IFS=$as_save_IFS
1829
1953
 
 
1954
rm -rf conftest.one conftest.two conftest.dir
1830
1955
 
1831
1956
fi
1832
1957
  if test "${ac_cv_path_install+set}" = set; then
1839
1964
    INSTALL=$ac_install_sh
1840
1965
  fi
1841
1966
fi
1842
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1843
 
echo "${ECHO_T}$INSTALL" >&6; }
 
1967
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1968
$as_echo "$INSTALL" >&6; }
1844
1969
 
1845
1970
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1846
1971
# It thinks the first close brace ends the variable substitution.
1850
1975
 
1851
1976
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1852
1977
 
1853
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1854
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
1978
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
1979
$as_echo_n "checking whether build environment is sane... " >&6; }
1855
1980
# Just in case
1856
1981
sleep 1
1857
1982
echo timestamp > conftest.file
1874
1999
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1875
2000
      # broken ls alias from the environment.  This has actually
1876
2001
      # happened.  Such a system could not be considered "sane".
1877
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2002
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1878
2003
alias in your environment" >&5
1879
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2004
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1880
2005
alias in your environment" >&2;}
1881
2006
   { (exit 1); exit 1; }; }
1882
2007
   fi
1887
2012
   # Ok.
1888
2013
   :
1889
2014
else
1890
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2015
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1891
2016
Check your system clock" >&5
1892
 
echo "$as_me: error: newly created file is older than distributed files!
 
2017
$as_echo "$as_me: error: newly created file is older than distributed files!
1893
2018
Check your system clock" >&2;}
1894
2019
   { (exit 1); exit 1; }; }
1895
2020
fi
1896
 
{ echo "$as_me:$LINENO: result: yes" >&5
1897
 
echo "${ECHO_T}yes" >&6; }
 
2021
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2022
$as_echo "yes" >&6; }
1898
2023
test "$program_prefix" != NONE &&
1899
2024
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1900
2025
# Use a double $ so make ignores it.
1901
2026
test "$program_suffix" != NONE &&
1902
2027
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1903
 
# Double any \ or $.  echo might interpret backslashes.
 
2028
# Double any \ or $.
1904
2029
# By default was `s,x,x', remove it if useless.
1905
 
cat <<\_ACEOF >conftest.sed
1906
 
s/[\\$]/&&/g;s/;s,x,x,$//
1907
 
_ACEOF
1908
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1909
 
rm -f conftest.sed
1910
 
 
 
2030
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2031
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1911
2032
 
1912
2033
# expand $ac_aux_dir to an absolute path
1913
2034
am_aux_dir=`cd $ac_aux_dir && pwd`
1918
2039
  am_missing_run="$MISSING --run "
1919
2040
else
1920
2041
  am_missing_run=
1921
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1922
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1923
 
fi
 
2042
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2043
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2044
fi
 
2045
 
 
2046
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2047
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2048
if test -z "$MKDIR_P"; then
 
2049
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2050
  $as_echo_n "(cached) " >&6
 
2051
else
 
2052
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2053
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2054
do
 
2055
  IFS=$as_save_IFS
 
2056
  test -z "$as_dir" && as_dir=.
 
2057
  for ac_prog in mkdir gmkdir; do
 
2058
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2059
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2060
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2061
             'mkdir (GNU coreutils) '* | \
 
2062
             'mkdir (coreutils) '* | \
 
2063
             'mkdir (fileutils) '4.1*)
 
2064
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2065
               break 3;;
 
2066
           esac
 
2067
         done
 
2068
       done
 
2069
done
 
2070
IFS=$as_save_IFS
 
2071
 
 
2072
fi
 
2073
 
 
2074
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2075
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2076
  else
 
2077
    # As a last resort, use the slow shell script.  Don't cache a
 
2078
    # value for MKDIR_P within a source directory, because that will
 
2079
    # break other packages using the cache if that directory is
 
2080
    # removed, or if the value is a relative name.
 
2081
    test -d ./--version && rmdir ./--version
 
2082
    MKDIR_P="$ac_install_sh -d"
 
2083
  fi
 
2084
fi
 
2085
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2086
$as_echo "$MKDIR_P" >&6; }
 
2087
 
 
2088
mkdir_p="$MKDIR_P"
 
2089
case $mkdir_p in
 
2090
  [\\/$]* | ?:[\\/]*) ;;
 
2091
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2092
esac
1924
2093
 
1925
2094
for ac_prog in gawk mawk nawk awk
1926
2095
do
1927
2096
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1928
2097
set dummy $ac_prog; ac_word=$2
1929
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1930
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2098
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2099
$as_echo_n "checking for $ac_word... " >&6; }
1931
2100
if test "${ac_cv_prog_AWK+set}" = set; then
1932
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2101
  $as_echo_n "(cached) " >&6
1933
2102
else
1934
2103
  if test -n "$AWK"; then
1935
2104
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1942
2111
  for ac_exec_ext in '' $ac_executable_extensions; do
1943
2112
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1944
2113
    ac_cv_prog_AWK="$ac_prog"
1945
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2114
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946
2115
    break 2
1947
2116
  fi
1948
2117
done
1953
2122
fi
1954
2123
AWK=$ac_cv_prog_AWK
1955
2124
if test -n "$AWK"; then
1956
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
1957
 
echo "${ECHO_T}$AWK" >&6; }
 
2125
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2126
$as_echo "$AWK" >&6; }
1958
2127
else
1959
 
  { echo "$as_me:$LINENO: result: no" >&5
1960
 
echo "${ECHO_T}no" >&6; }
 
2128
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2129
$as_echo "no" >&6; }
1961
2130
fi
1962
2131
 
1963
2132
 
1964
2133
  test -n "$AWK" && break
1965
2134
done
1966
2135
 
1967
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1968
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1969
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2136
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2137
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2138
set x ${MAKE-make}
 
2139
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1970
2140
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1971
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2141
  $as_echo_n "(cached) " >&6
1972
2142
else
1973
2143
  cat >conftest.make <<\_ACEOF
1974
2144
SHELL = /bin/sh
1985
2155
rm -f conftest.make
1986
2156
fi
1987
2157
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1988
 
  { echo "$as_me:$LINENO: result: yes" >&5
1989
 
echo "${ECHO_T}yes" >&6; }
 
2158
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2159
$as_echo "yes" >&6; }
1990
2160
  SET_MAKE=
1991
2161
else
1992
 
  { echo "$as_me:$LINENO: result: no" >&5
1993
 
echo "${ECHO_T}no" >&6; }
 
2162
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2163
$as_echo "no" >&6; }
1994
2164
  SET_MAKE="MAKE=${MAKE-make}"
1995
2165
fi
1996
2166
 
2003
2173
fi
2004
2174
rmdir .tst 2>/dev/null
2005
2175
 
2006
 
 # test to see if srcdir already configured
2007
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008
 
   test -f $srcdir/config.status; then
2009
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2176
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2177
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2178
  # is not polluted with repeated "-I."
 
2179
  am__isrc=' -I$(srcdir)'
 
2180
  # test to see if srcdir already configured
 
2181
  if test -f $srcdir/config.status; then
 
2182
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2183
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011
2184
   { (exit 1); exit 1; }; }
 
2185
  fi
2012
2186
fi
2013
2187
 
2014
2188
# test whether we have cygpath
2022
2196
 
2023
2197
 
2024
2198
# Define the identity of the package.
2025
 
 PACKAGE=recordmydesktop
2026
 
 VERSION=0.3.7.3
 
2199
 PACKAGE='recordmydesktop'
 
2200
 VERSION='0.3.8.1'
2027
2201
 
2028
2202
 
2029
2203
cat >>confdefs.h <<_ACEOF
2051
2225
 
2052
2226
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2053
2227
 
2054
 
 
2055
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2056
 
 
2057
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2228
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2058
2229
 
2059
2230
# Installed binaries are usually stripped using `strip' when the user
2060
2231
# run `make install-strip'.  However `strip' might not be the right
2064
2235
  if test -n "$ac_tool_prefix"; then
2065
2236
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066
2237
set dummy ${ac_tool_prefix}strip; ac_word=$2
2067
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2068
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2238
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2239
$as_echo_n "checking for $ac_word... " >&6; }
2069
2240
if test "${ac_cv_prog_STRIP+set}" = set; then
2070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2241
  $as_echo_n "(cached) " >&6
2071
2242
else
2072
2243
  if test -n "$STRIP"; then
2073
2244
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2080
2251
  for ac_exec_ext in '' $ac_executable_extensions; do
2081
2252
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082
2253
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2254
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084
2255
    break 2
2085
2256
  fi
2086
2257
done
2091
2262
fi
2092
2263
STRIP=$ac_cv_prog_STRIP
2093
2264
if test -n "$STRIP"; then
2094
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2095
 
echo "${ECHO_T}$STRIP" >&6; }
 
2265
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2266
$as_echo "$STRIP" >&6; }
2096
2267
else
2097
 
  { echo "$as_me:$LINENO: result: no" >&5
2098
 
echo "${ECHO_T}no" >&6; }
 
2268
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2269
$as_echo "no" >&6; }
2099
2270
fi
2100
2271
 
2101
2272
 
2104
2275
  ac_ct_STRIP=$STRIP
2105
2276
  # Extract the first word of "strip", so it can be a program name with args.
2106
2277
set dummy strip; ac_word=$2
2107
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2108
 
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; }
2109
2280
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2110
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2281
  $as_echo_n "(cached) " >&6
2111
2282
else
2112
2283
  if test -n "$ac_ct_STRIP"; then
2113
2284
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2120
2291
  for ac_exec_ext in '' $ac_executable_extensions; do
2121
2292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2122
2293
    ac_cv_prog_ac_ct_STRIP="strip"
2123
 
    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
2124
2295
    break 2
2125
2296
  fi
2126
2297
done
2131
2302
fi
2132
2303
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2133
2304
if test -n "$ac_ct_STRIP"; then
2134
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2135
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2305
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2306
$as_echo "$ac_ct_STRIP" >&6; }
2136
2307
else
2137
 
  { echo "$as_me:$LINENO: result: no" >&5
2138
 
echo "${ECHO_T}no" >&6; }
 
2308
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2309
$as_echo "no" >&6; }
2139
2310
fi
2140
2311
 
2141
2312
  if test "x$ac_ct_STRIP" = x; then
2143
2314
  else
2144
2315
    case $cross_compiling:$ac_tool_warned in
2145
2316
yes:)
2146
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2147
 
whose name does not start with the host triplet.  If you think this
2148
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2149
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2150
 
whose name does not start with the host triplet.  If you think this
2151
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2317
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2318
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2152
2319
ac_tool_warned=yes ;;
2153
2320
esac
2154
2321
    STRIP=$ac_ct_STRIP
2158
2325
fi
2159
2326
 
2160
2327
fi
2161
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2328
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2162
2329
 
2163
2330
# We need awk for the "check" target.  The system "awk" is bad on
2164
2331
# some platforms.
 
2332
# Always define AMTAR for backward compatibility.
 
2333
 
 
2334
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2335
 
 
2336
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2337
 
 
2338
 
2165
2339
 
2166
2340
 
2167
2341
 
2182
2356
if test -n "$ac_tool_prefix"; then
2183
2357
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2184
2358
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2185
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2186
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2359
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2360
$as_echo_n "checking for $ac_word... " >&6; }
2187
2361
if test "${ac_cv_prog_CC+set}" = set; then
2188
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2362
  $as_echo_n "(cached) " >&6
2189
2363
else
2190
2364
  if test -n "$CC"; then
2191
2365
  ac_cv_prog_CC="$CC" # Let the user override the test.
2198
2372
  for ac_exec_ext in '' $ac_executable_extensions; do
2199
2373
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200
2374
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2201
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2375
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202
2376
    break 2
2203
2377
  fi
2204
2378
done
2209
2383
fi
2210
2384
CC=$ac_cv_prog_CC
2211
2385
if test -n "$CC"; then
2212
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2213
 
echo "${ECHO_T}$CC" >&6; }
 
2386
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2387
$as_echo "$CC" >&6; }
2214
2388
else
2215
 
  { echo "$as_me:$LINENO: result: no" >&5
2216
 
echo "${ECHO_T}no" >&6; }
 
2389
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2390
$as_echo "no" >&6; }
2217
2391
fi
2218
2392
 
2219
2393
 
2222
2396
  ac_ct_CC=$CC
2223
2397
  # Extract the first word of "gcc", so it can be a program name with args.
2224
2398
set dummy gcc; ac_word=$2
2225
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2226
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2399
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2400
$as_echo_n "checking for $ac_word... " >&6; }
2227
2401
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2402
  $as_echo_n "(cached) " >&6
2229
2403
else
2230
2404
  if test -n "$ac_ct_CC"; then
2231
2405
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2238
2412
  for ac_exec_ext in '' $ac_executable_extensions; do
2239
2413
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240
2414
    ac_cv_prog_ac_ct_CC="gcc"
2241
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2415
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242
2416
    break 2
2243
2417
  fi
2244
2418
done
2249
2423
fi
2250
2424
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2251
2425
if test -n "$ac_ct_CC"; then
2252
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2253
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2426
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2427
$as_echo "$ac_ct_CC" >&6; }
2254
2428
else
2255
 
  { echo "$as_me:$LINENO: result: no" >&5
2256
 
echo "${ECHO_T}no" >&6; }
 
2429
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2430
$as_echo "no" >&6; }
2257
2431
fi
2258
2432
 
2259
2433
  if test "x$ac_ct_CC" = x; then
2261
2435
  else
2262
2436
    case $cross_compiling:$ac_tool_warned in
2263
2437
yes:)
2264
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2265
 
whose name does not start with the host triplet.  If you think this
2266
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2267
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2268
 
whose name does not start with the host triplet.  If you think this
2269
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2438
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2439
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2270
2440
ac_tool_warned=yes ;;
2271
2441
esac
2272
2442
    CC=$ac_ct_CC
2279
2449
          if test -n "$ac_tool_prefix"; then
2280
2450
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2281
2451
set dummy ${ac_tool_prefix}cc; ac_word=$2
2282
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2283
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2452
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2453
$as_echo_n "checking for $ac_word... " >&6; }
2284
2454
if test "${ac_cv_prog_CC+set}" = set; then
2285
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2455
  $as_echo_n "(cached) " >&6
2286
2456
else
2287
2457
  if test -n "$CC"; then
2288
2458
  ac_cv_prog_CC="$CC" # Let the user override the test.
2295
2465
  for ac_exec_ext in '' $ac_executable_extensions; do
2296
2466
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2297
2467
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2298
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2468
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299
2469
    break 2
2300
2470
  fi
2301
2471
done
2306
2476
fi
2307
2477
CC=$ac_cv_prog_CC
2308
2478
if test -n "$CC"; then
2309
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2310
 
echo "${ECHO_T}$CC" >&6; }
 
2479
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2480
$as_echo "$CC" >&6; }
2311
2481
else
2312
 
  { echo "$as_me:$LINENO: result: no" >&5
2313
 
echo "${ECHO_T}no" >&6; }
 
2482
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2483
$as_echo "no" >&6; }
2314
2484
fi
2315
2485
 
2316
2486
 
2319
2489
if test -z "$CC"; then
2320
2490
  # Extract the first word of "cc", so it can be a program name with args.
2321
2491
set dummy cc; ac_word=$2
2322
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2323
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2492
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2493
$as_echo_n "checking for $ac_word... " >&6; }
2324
2494
if test "${ac_cv_prog_CC+set}" = set; then
2325
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2495
  $as_echo_n "(cached) " >&6
2326
2496
else
2327
2497
  if test -n "$CC"; then
2328
2498
  ac_cv_prog_CC="$CC" # Let the user override the test.
2340
2510
       continue
2341
2511
     fi
2342
2512
    ac_cv_prog_CC="cc"
2343
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2513
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344
2514
    break 2
2345
2515
  fi
2346
2516
done
2363
2533
fi
2364
2534
CC=$ac_cv_prog_CC
2365
2535
if test -n "$CC"; then
2366
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2367
 
echo "${ECHO_T}$CC" >&6; }
 
2536
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2537
$as_echo "$CC" >&6; }
2368
2538
else
2369
 
  { echo "$as_me:$LINENO: result: no" >&5
2370
 
echo "${ECHO_T}no" >&6; }
 
2539
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2540
$as_echo "no" >&6; }
2371
2541
fi
2372
2542
 
2373
2543
 
2378
2548
  do
2379
2549
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2380
2550
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2381
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2382
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2551
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2552
$as_echo_n "checking for $ac_word... " >&6; }
2383
2553
if test "${ac_cv_prog_CC+set}" = set; then
2384
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2554
  $as_echo_n "(cached) " >&6
2385
2555
else
2386
2556
  if test -n "$CC"; then
2387
2557
  ac_cv_prog_CC="$CC" # Let the user override the test.
2394
2564
  for ac_exec_ext in '' $ac_executable_extensions; do
2395
2565
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396
2566
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2397
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2567
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2398
2568
    break 2
2399
2569
  fi
2400
2570
done
2405
2575
fi
2406
2576
CC=$ac_cv_prog_CC
2407
2577
if test -n "$CC"; then
2408
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2409
 
echo "${ECHO_T}$CC" >&6; }
 
2578
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2579
$as_echo "$CC" >&6; }
2410
2580
else
2411
 
  { echo "$as_me:$LINENO: result: no" >&5
2412
 
echo "${ECHO_T}no" >&6; }
 
2581
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2582
$as_echo "no" >&6; }
2413
2583
fi
2414
2584
 
2415
2585
 
2422
2592
do
2423
2593
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2424
2594
set dummy $ac_prog; ac_word=$2
2425
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2426
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2595
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2596
$as_echo_n "checking for $ac_word... " >&6; }
2427
2597
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2598
  $as_echo_n "(cached) " >&6
2429
2599
else
2430
2600
  if test -n "$ac_ct_CC"; then
2431
2601
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2438
2608
  for ac_exec_ext in '' $ac_executable_extensions; do
2439
2609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440
2610
    ac_cv_prog_ac_ct_CC="$ac_prog"
2441
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2611
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442
2612
    break 2
2443
2613
  fi
2444
2614
done
2449
2619
fi
2450
2620
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2451
2621
if test -n "$ac_ct_CC"; then
2452
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2453
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2622
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2623
$as_echo "$ac_ct_CC" >&6; }
2454
2624
else
2455
 
  { echo "$as_me:$LINENO: result: no" >&5
2456
 
echo "${ECHO_T}no" >&6; }
 
2625
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2626
$as_echo "no" >&6; }
2457
2627
fi
2458
2628
 
2459
2629
 
2465
2635
  else
2466
2636
    case $cross_compiling:$ac_tool_warned in
2467
2637
yes:)
2468
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2469
 
whose name does not start with the host triplet.  If you think this
2470
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2471
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2472
 
whose name does not start with the host triplet.  If you think this
2473
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2638
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2639
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474
2640
ac_tool_warned=yes ;;
2475
2641
esac
2476
2642
    CC=$ac_ct_CC
2480
2646
fi
2481
2647
 
2482
2648
 
2483
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2649
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2650
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2651
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2484
2652
See \`config.log' for more details." >&5
2485
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2653
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2486
2654
See \`config.log' for more details." >&2;}
2487
 
   { (exit 1); exit 1; }; }
 
2655
   { (exit 1); exit 1; }; }; }
2488
2656
 
2489
2657
# Provide some information about the compiler.
2490
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2491
 
ac_compiler=`set X $ac_compile; echo $2`
 
2658
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2659
set X $ac_compile
 
2660
ac_compiler=$2
2492
2661
{ (ac_try="$ac_compiler --version >&5"
2493
2662
case "(($ac_try" in
2494
2663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495
2664
  *) ac_try_echo=$ac_try;;
2496
2665
esac
2497
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2666
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2667
$as_echo "$ac_try_echo") >&5
2498
2668
  (eval "$ac_compiler --version >&5") 2>&5
2499
2669
  ac_status=$?
2500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2670
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501
2671
  (exit $ac_status); }
2502
2672
{ (ac_try="$ac_compiler -v >&5"
2503
2673
case "(($ac_try" in
2504
2674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2505
2675
  *) ac_try_echo=$ac_try;;
2506
2676
esac
2507
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2678
$as_echo "$ac_try_echo") >&5
2508
2679
  (eval "$ac_compiler -v >&5") 2>&5
2509
2680
  ac_status=$?
2510
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2681
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511
2682
  (exit $ac_status); }
2512
2683
{ (ac_try="$ac_compiler -V >&5"
2513
2684
case "(($ac_try" in
2514
2685
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515
2686
  *) ac_try_echo=$ac_try;;
2516
2687
esac
2517
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2688
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2689
$as_echo "$ac_try_echo") >&5
2518
2690
  (eval "$ac_compiler -V >&5") 2>&5
2519
2691
  ac_status=$?
2520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2692
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521
2693
  (exit $ac_status); }
2522
2694
 
2523
2695
cat >conftest.$ac_ext <<_ACEOF
2536
2708
}
2537
2709
_ACEOF
2538
2710
ac_clean_files_save=$ac_clean_files
2539
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2711
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2540
2712
# Try to create an executable without -o first, disregard a.out.
2541
2713
# It will help us diagnose broken compilers, and finding out an intuition
2542
2714
# of exeext.
2543
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2544
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2545
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2546
 
#
2547
 
# List of possible output files, starting from the most likely.
2548
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2549
 
# only as a last resort.  b.out is created by i960 compilers.
2550
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2551
 
#
2552
 
# The IRIX 6 linker writes into existing files which may not be
2553
 
# executable, retaining their permissions.  Remove them first so a
2554
 
# subsequent execution test works.
 
2715
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2716
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2717
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2718
 
 
2719
# The possible output files:
 
2720
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2721
 
2555
2722
ac_rmfiles=
2556
2723
for ac_file in $ac_files
2557
2724
do
2558
2725
  case $ac_file in
2559
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2726
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2560
2727
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2561
2728
  esac
2562
2729
done
2567
2734
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2568
2735
  *) ac_try_echo=$ac_try;;
2569
2736
esac
2570
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2737
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2738
$as_echo "$ac_try_echo") >&5
2571
2739
  (eval "$ac_link_default") 2>&5
2572
2740
  ac_status=$?
2573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2741
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574
2742
  (exit $ac_status); }; then
2575
2743
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2576
2744
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2581
2749
do
2582
2750
  test -f "$ac_file" || continue
2583
2751
  case $ac_file in
2584
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2752
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2585
2753
        ;;
2586
2754
    [ab].out )
2587
2755
        # We found the default executable, but exeext='' is most
2608
2776
  ac_file=''
2609
2777
fi
2610
2778
 
2611
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2612
 
echo "${ECHO_T}$ac_file" >&6; }
 
2779
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2780
$as_echo "$ac_file" >&6; }
2613
2781
if test -z "$ac_file"; then
2614
 
  echo "$as_me: failed program was:" >&5
 
2782
  $as_echo "$as_me: failed program was:" >&5
2615
2783
sed 's/^/| /' conftest.$ac_ext >&5
2616
2784
 
2617
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2785
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2786
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2787
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2618
2788
See \`config.log' for more details." >&5
2619
 
echo "$as_me: error: C compiler cannot create executables
 
2789
$as_echo "$as_me: error: C compiler cannot create executables
2620
2790
See \`config.log' for more details." >&2;}
2621
 
   { (exit 77); exit 77; }; }
 
2791
   { (exit 77); exit 77; }; }; }
2622
2792
fi
2623
2793
 
2624
2794
ac_exeext=$ac_cv_exeext
2625
2795
 
2626
2796
# Check that the compiler produces executables we can run.  If not, either
2627
2797
# the compiler is broken, or we cross compile.
2628
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2629
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2798
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2799
$as_echo_n "checking whether the C compiler works... " >&6; }
2630
2800
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2631
2801
# If not cross compiling, check that we can run a simple program.
2632
2802
if test "$cross_compiling" != yes; then
2635
2805
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2636
2806
  *) ac_try_echo=$ac_try;;
2637
2807
esac
2638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2808
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2809
$as_echo "$ac_try_echo") >&5
2639
2810
  (eval "$ac_try") 2>&5
2640
2811
  ac_status=$?
2641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2812
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642
2813
  (exit $ac_status); }; }; then
2643
2814
    cross_compiling=no
2644
2815
  else
2645
2816
    if test "$cross_compiling" = maybe; then
2646
2817
        cross_compiling=yes
2647
2818
    else
2648
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
2819
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2820
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2821
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2649
2822
If you meant to cross compile, use \`--host'.
2650
2823
See \`config.log' for more details." >&5
2651
 
echo "$as_me: error: cannot run C compiled programs.
 
2824
$as_echo "$as_me: error: cannot run C compiled programs.
2652
2825
If you meant to cross compile, use \`--host'.
2653
2826
See \`config.log' for more details." >&2;}
2654
 
   { (exit 1); exit 1; }; }
 
2827
   { (exit 1); exit 1; }; }; }
2655
2828
    fi
2656
2829
  fi
2657
2830
fi
2658
 
{ echo "$as_me:$LINENO: result: yes" >&5
2659
 
echo "${ECHO_T}yes" >&6; }
 
2831
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2832
$as_echo "yes" >&6; }
2660
2833
 
2661
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
2834
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2662
2835
ac_clean_files=$ac_clean_files_save
2663
2836
# Check that the compiler produces executables we can run.  If not, either
2664
2837
# the compiler is broken, or we cross compile.
2665
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2666
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2667
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2668
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
2838
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2839
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2840
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2841
$as_echo "$cross_compiling" >&6; }
2669
2842
 
2670
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2671
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2843
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2844
$as_echo_n "checking for suffix of executables... " >&6; }
2672
2845
if { (ac_try="$ac_link"
2673
2846
case "(($ac_try" in
2674
2847
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675
2848
  *) ac_try_echo=$ac_try;;
2676
2849
esac
2677
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2850
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2851
$as_echo "$ac_try_echo") >&5
2678
2852
  (eval "$ac_link") 2>&5
2679
2853
  ac_status=$?
2680
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2854
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681
2855
  (exit $ac_status); }; then
2682
2856
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2683
2857
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2686
2860
for ac_file in conftest.exe conftest conftest.*; do
2687
2861
  test -f "$ac_file" || continue
2688
2862
  case $ac_file in
2689
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2863
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2690
2864
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2691
2865
          break;;
2692
2866
    * ) break;;
2693
2867
  esac
2694
2868
done
2695
2869
else
2696
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
2870
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2871
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2872
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2697
2873
See \`config.log' for more details." >&5
2698
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
2874
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2699
2875
See \`config.log' for more details." >&2;}
2700
 
   { (exit 1); exit 1; }; }
 
2876
   { (exit 1); exit 1; }; }; }
2701
2877
fi
2702
2878
 
2703
2879
rm -f conftest$ac_cv_exeext
2704
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2705
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
2880
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2881
$as_echo "$ac_cv_exeext" >&6; }
2706
2882
 
2707
2883
rm -f conftest.$ac_ext
2708
2884
EXEEXT=$ac_cv_exeext
2709
2885
ac_exeext=$EXEEXT
2710
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2711
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
2886
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2887
$as_echo_n "checking for suffix of object files... " >&6; }
2712
2888
if test "${ac_cv_objext+set}" = set; then
2713
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2889
  $as_echo_n "(cached) " >&6
2714
2890
else
2715
2891
  cat >conftest.$ac_ext <<_ACEOF
2716
2892
/* confdefs.h.  */
2733
2909
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734
2910
  *) ac_try_echo=$ac_try;;
2735
2911
esac
2736
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2912
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2913
$as_echo "$ac_try_echo") >&5
2737
2914
  (eval "$ac_compile") 2>&5
2738
2915
  ac_status=$?
2739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2916
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740
2917
  (exit $ac_status); }; then
2741
2918
  for ac_file in conftest.o conftest.obj conftest.*; do
2742
2919
  test -f "$ac_file" || continue;
2743
2920
  case $ac_file in
2744
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
2921
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2745
2922
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2746
2923
       break;;
2747
2924
  esac
2748
2925
done
2749
2926
else
2750
 
  echo "$as_me: failed program was:" >&5
 
2927
  $as_echo "$as_me: failed program was:" >&5
2751
2928
sed 's/^/| /' conftest.$ac_ext >&5
2752
2929
 
2753
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
2930
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2931
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2932
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2754
2933
See \`config.log' for more details." >&5
2755
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
2934
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2756
2935
See \`config.log' for more details." >&2;}
2757
 
   { (exit 1); exit 1; }; }
 
2936
   { (exit 1); exit 1; }; }; }
2758
2937
fi
2759
2938
 
2760
2939
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2761
2940
fi
2762
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2763
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
2941
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2942
$as_echo "$ac_cv_objext" >&6; }
2764
2943
OBJEXT=$ac_cv_objext
2765
2944
ac_objext=$OBJEXT
2766
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2767
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
2945
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2946
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2768
2947
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2769
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2948
  $as_echo_n "(cached) " >&6
2770
2949
else
2771
2950
  cat >conftest.$ac_ext <<_ACEOF
2772
2951
/* confdefs.h.  */
2792
2971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793
2972
  *) ac_try_echo=$ac_try;;
2794
2973
esac
2795
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2974
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2975
$as_echo "$ac_try_echo") >&5
2796
2976
  (eval "$ac_compile") 2>conftest.er1
2797
2977
  ac_status=$?
2798
2978
  grep -v '^ *+' conftest.er1 >conftest.err
2799
2979
  rm -f conftest.er1
2800
2980
  cat conftest.err >&5
2801
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2981
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802
2982
  (exit $ac_status); } && {
2803
2983
         test -z "$ac_c_werror_flag" ||
2804
2984
         test ! -s conftest.err
2805
2985
       } && test -s conftest.$ac_objext; then
2806
2986
  ac_compiler_gnu=yes
2807
2987
else
2808
 
  echo "$as_me: failed program was:" >&5
 
2988
  $as_echo "$as_me: failed program was:" >&5
2809
2989
sed 's/^/| /' conftest.$ac_ext >&5
2810
2990
 
2811
2991
        ac_compiler_gnu=no
2815
2995
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2816
2996
 
2817
2997
fi
2818
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2819
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2820
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
2998
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2999
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3000
if test $ac_compiler_gnu = yes; then
 
3001
  GCC=yes
 
3002
else
 
3003
  GCC=
 
3004
fi
2821
3005
ac_test_CFLAGS=${CFLAGS+set}
2822
3006
ac_save_CFLAGS=$CFLAGS
2823
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2824
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3007
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3008
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2825
3009
if test "${ac_cv_prog_cc_g+set}" = set; then
2826
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3010
  $as_echo_n "(cached) " >&6
2827
3011
else
2828
3012
  ac_save_c_werror_flag=$ac_c_werror_flag
2829
3013
   ac_c_werror_flag=yes
2850
3034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2851
3035
  *) ac_try_echo=$ac_try;;
2852
3036
esac
2853
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3038
$as_echo "$ac_try_echo") >&5
2854
3039
  (eval "$ac_compile") 2>conftest.er1
2855
3040
  ac_status=$?
2856
3041
  grep -v '^ *+' conftest.er1 >conftest.err
2857
3042
  rm -f conftest.er1
2858
3043
  cat conftest.err >&5
2859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
3045
  (exit $ac_status); } && {
2861
3046
         test -z "$ac_c_werror_flag" ||
2862
3047
         test ! -s conftest.err
2863
3048
       } && test -s conftest.$ac_objext; then
2864
3049
  ac_cv_prog_cc_g=yes
2865
3050
else
2866
 
  echo "$as_me: failed program was:" >&5
 
3051
  $as_echo "$as_me: failed program was:" >&5
2867
3052
sed 's/^/| /' conftest.$ac_ext >&5
2868
3053
 
2869
3054
        CFLAGS=""
2888
3073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889
3074
  *) ac_try_echo=$ac_try;;
2890
3075
esac
2891
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3076
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3077
$as_echo "$ac_try_echo") >&5
2892
3078
  (eval "$ac_compile") 2>conftest.er1
2893
3079
  ac_status=$?
2894
3080
  grep -v '^ *+' conftest.er1 >conftest.err
2895
3081
  rm -f conftest.er1
2896
3082
  cat conftest.err >&5
2897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3083
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898
3084
  (exit $ac_status); } && {
2899
3085
         test -z "$ac_c_werror_flag" ||
2900
3086
         test ! -s conftest.err
2901
3087
       } && test -s conftest.$ac_objext; then
2902
3088
  :
2903
3089
else
2904
 
  echo "$as_me: failed program was:" >&5
 
3090
  $as_echo "$as_me: failed program was:" >&5
2905
3091
sed 's/^/| /' conftest.$ac_ext >&5
2906
3092
 
2907
3093
        ac_c_werror_flag=$ac_save_c_werror_flag
2927
3113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2928
3114
  *) ac_try_echo=$ac_try;;
2929
3115
esac
2930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3117
$as_echo "$ac_try_echo") >&5
2931
3118
  (eval "$ac_compile") 2>conftest.er1
2932
3119
  ac_status=$?
2933
3120
  grep -v '^ *+' conftest.er1 >conftest.err
2934
3121
  rm -f conftest.er1
2935
3122
  cat conftest.err >&5
2936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3123
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937
3124
  (exit $ac_status); } && {
2938
3125
         test -z "$ac_c_werror_flag" ||
2939
3126
         test ! -s conftest.err
2940
3127
       } && test -s conftest.$ac_objext; then
2941
3128
  ac_cv_prog_cc_g=yes
2942
3129
else
2943
 
  echo "$as_me: failed program was:" >&5
 
3130
  $as_echo "$as_me: failed program was:" >&5
2944
3131
sed 's/^/| /' conftest.$ac_ext >&5
2945
3132
 
2946
3133
 
2955
3142
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956
3143
   ac_c_werror_flag=$ac_save_c_werror_flag
2957
3144
fi
2958
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2959
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3145
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3146
$as_echo "$ac_cv_prog_cc_g" >&6; }
2960
3147
if test "$ac_test_CFLAGS" = set; then
2961
3148
  CFLAGS=$ac_save_CFLAGS
2962
3149
elif test $ac_cv_prog_cc_g = yes; then
2972
3159
    CFLAGS=
2973
3160
  fi
2974
3161
fi
2975
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2976
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3162
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3163
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2977
3164
if test "${ac_cv_prog_cc_c89+set}" = set; then
2978
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3165
  $as_echo_n "(cached) " >&6
2979
3166
else
2980
3167
  ac_cv_prog_cc_c89=no
2981
3168
ac_save_CC=$CC
3046
3233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047
3234
  *) ac_try_echo=$ac_try;;
3048
3235
esac
3049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3236
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3237
$as_echo "$ac_try_echo") >&5
3050
3238
  (eval "$ac_compile") 2>conftest.er1
3051
3239
  ac_status=$?
3052
3240
  grep -v '^ *+' conftest.er1 >conftest.err
3053
3241
  rm -f conftest.er1
3054
3242
  cat conftest.err >&5
3055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3243
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056
3244
  (exit $ac_status); } && {
3057
3245
         test -z "$ac_c_werror_flag" ||
3058
3246
         test ! -s conftest.err
3059
3247
       } && test -s conftest.$ac_objext; then
3060
3248
  ac_cv_prog_cc_c89=$ac_arg
3061
3249
else
3062
 
  echo "$as_me: failed program was:" >&5
 
3250
  $as_echo "$as_me: failed program was:" >&5
3063
3251
sed 's/^/| /' conftest.$ac_ext >&5
3064
3252
 
3065
3253
 
3075
3263
# AC_CACHE_VAL
3076
3264
case "x$ac_cv_prog_cc_c89" in
3077
3265
  x)
3078
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3079
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3266
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3267
$as_echo "none needed" >&6; } ;;
3080
3268
  xno)
3081
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3082
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3269
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3270
$as_echo "unsupported" >&6; } ;;
3083
3271
  *)
3084
3272
    CC="$CC $ac_cv_prog_cc_c89"
3085
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3086
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3273
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3274
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3087
3275
esac
3088
3276
 
3089
3277
 
3104
3292
.PHONY: am__doit
3105
3293
END
3106
3294
# If we don't find an include directive, just comment out the code.
3107
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3108
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3295
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3296
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3109
3297
am__include="#"
3110
3298
am__quote=
3111
3299
_am_result=none
3132
3320
fi
3133
3321
 
3134
3322
 
3135
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3136
 
echo "${ECHO_T}$_am_result" >&6; }
 
3323
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3324
$as_echo "$_am_result" >&6; }
3137
3325
rm -f confinc confmf
3138
3326
 
3139
3327
# Check whether --enable-dependency-tracking was given.
3145
3333
  am_depcomp="$ac_aux_dir/depcomp"
3146
3334
  AMDEPBACKSLASH='\'
3147
3335
fi
3148
 
 
3149
 
 
3150
 
if test "x$enable_dependency_tracking" != xno; then
 
3336
 if test "x$enable_dependency_tracking" != xno; then
3151
3337
  AMDEP_TRUE=
3152
3338
  AMDEP_FALSE='#'
3153
3339
else
3157
3343
 
3158
3344
 
3159
3345
 
3160
 
 
3161
3346
depcc="$CC"   am_compiler_list=
3162
3347
 
3163
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3164
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3348
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3349
$as_echo_n "checking dependency style of $depcc... " >&6; }
3165
3350
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3166
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3351
  $as_echo_n "(cached) " >&6
3167
3352
else
3168
3353
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3169
3354
  # We make a subdir and do the tests there.  Otherwise we can end up
3199
3384
    : > sub/conftest.c
3200
3385
    for i in 1 2 3 4 5 6; do
3201
3386
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3202
 
      : > sub/conftst$i.h
 
3387
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3388
      # Solaris 8's {/usr,}/bin/sh.
 
3389
      touch sub/conftst$i.h
3203
3390
    done
3204
3391
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3205
3392
 
3223
3410
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3224
3411
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3225
3412
         >/dev/null 2>conftest.err &&
 
3413
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3226
3414
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3227
3415
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3228
3416
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3229
3417
      # icc doesn't choke on unknown options, it will just issue warnings
3230
 
      # (even with -Werror).  So we grep stderr for any message
3231
 
      # that says an option was ignored.
3232
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3418
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3419
      # that says an option was ignored or not supported.
 
3420
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3421
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3422
      # The diagnosis changed in icc 8.0:
 
3423
      #   icc: Command line remark: option '-MP' not supported
 
3424
      if (grep 'ignoring option' conftest.err ||
 
3425
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3233
3426
        am_cv_CC_dependencies_compiler_type=$depmode
3234
3427
        break
3235
3428
      fi
3243
3436
fi
3244
3437
 
3245
3438
fi
3246
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3247
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3439
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3440
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3248
3441
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3249
3442
 
3250
 
 
3251
 
 
3252
 
if
 
3443
 if
3253
3444
  test "x$enable_dependency_tracking" != xno \
3254
3445
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3255
3446
  am__fastdepCC_TRUE=
3260
3451
fi
3261
3452
 
3262
3453
 
 
3454
if test "x$CC" != xcc; then
 
3455
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
3456
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
3457
else
 
3458
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
3459
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
3460
fi
 
3461
set dummy $CC; ac_cc=`$as_echo "$2" |
 
3462
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3463
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
3464
  $as_echo_n "(cached) " >&6
 
3465
else
 
3466
  cat >conftest.$ac_ext <<_ACEOF
 
3467
/* confdefs.h.  */
 
3468
_ACEOF
 
3469
cat confdefs.h >>conftest.$ac_ext
 
3470
cat >>conftest.$ac_ext <<_ACEOF
 
3471
/* end confdefs.h.  */
 
3472
 
 
3473
int
 
3474
main ()
 
3475
{
 
3476
 
 
3477
  ;
 
3478
  return 0;
 
3479
}
 
3480
_ACEOF
 
3481
# Make sure it works both with $CC and with simple cc.
 
3482
# We do the test twice because some compilers refuse to overwrite an
 
3483
# existing .o file with -o, though they will create one.
 
3484
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3485
rm -f conftest2.*
 
3486
if { (case "(($ac_try" in
 
3487
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3488
  *) ac_try_echo=$ac_try;;
 
3489
esac
 
3490
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3491
$as_echo "$ac_try_echo") >&5
 
3492
  (eval "$ac_try") 2>&5
 
3493
  ac_status=$?
 
3494
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3495
  (exit $ac_status); } &&
 
3496
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
3497
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3498
  *) ac_try_echo=$ac_try;;
 
3499
esac
 
3500
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3501
$as_echo "$ac_try_echo") >&5
 
3502
  (eval "$ac_try") 2>&5
 
3503
  ac_status=$?
 
3504
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3505
  (exit $ac_status); };
 
3506
then
 
3507
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
3508
  if test "x$CC" != xcc; then
 
3509
    # Test first that cc exists at all.
 
3510
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
3511
  { (case "(($ac_try" in
 
3512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3513
  *) ac_try_echo=$ac_try;;
 
3514
esac
 
3515
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3516
$as_echo "$ac_try_echo") >&5
 
3517
  (eval "$ac_try") 2>&5
 
3518
  ac_status=$?
 
3519
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3520
  (exit $ac_status); }; }; then
 
3521
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
3522
      rm -f conftest2.*
 
3523
      if { (case "(($ac_try" in
 
3524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3525
  *) ac_try_echo=$ac_try;;
 
3526
esac
 
3527
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3528
$as_echo "$ac_try_echo") >&5
 
3529
  (eval "$ac_try") 2>&5
 
3530
  ac_status=$?
 
3531
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3532
  (exit $ac_status); } &&
 
3533
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
3534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3535
  *) ac_try_echo=$ac_try;;
 
3536
esac
 
3537
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3538
$as_echo "$ac_try_echo") >&5
 
3539
  (eval "$ac_try") 2>&5
 
3540
  ac_status=$?
 
3541
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3542
  (exit $ac_status); };
 
3543
      then
 
3544
        # cc works too.
 
3545
        :
 
3546
      else
 
3547
        # cc exists but doesn't like -o.
 
3548
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3549
      fi
 
3550
    fi
 
3551
  fi
 
3552
else
 
3553
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
3554
fi
 
3555
rm -f core conftest*
 
3556
 
 
3557
fi
 
3558
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
3559
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3560
$as_echo "yes" >&6; }
 
3561
else
 
3562
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3563
$as_echo "no" >&6; }
 
3564
 
 
3565
cat >>confdefs.h <<\_ACEOF
 
3566
#define NO_MINUS_C_MINUS_O 1
 
3567
_ACEOF
 
3568
 
 
3569
fi
 
3570
 
 
3571
# FIXME: we rely on the cache variable name because
 
3572
# there is no other way.
 
3573
set dummy $CC
 
3574
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
3575
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
3576
if test "$am_t" != yes; then
 
3577
   # Losing compiler, so override with the script.
 
3578
   # FIXME: It is wrong to rewrite CC.
 
3579
   # But if we don't then we get into trouble of one sort or another.
 
3580
   # A longer-term fix would be to have automake use am__CC in this case,
 
3581
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
3582
   CC="$am_aux_dir/compile $CC"
 
3583
fi
 
3584
 
 
3585
 
3263
3586
 
3264
3587
# Make sure we can run config.sub.
3265
3588
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3266
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3267
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
3589
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3590
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3268
3591
   { (exit 1); exit 1; }; }
3269
3592
 
3270
 
{ echo "$as_me:$LINENO: checking build system type" >&5
3271
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
3593
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
3594
$as_echo_n "checking build system type... " >&6; }
3272
3595
if test "${ac_cv_build+set}" = set; then
3273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3596
  $as_echo_n "(cached) " >&6
3274
3597
else
3275
3598
  ac_build_alias=$build_alias
3276
3599
test "x$ac_build_alias" = x &&
3277
3600
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3278
3601
test "x$ac_build_alias" = x &&
3279
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3280
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
3602
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
3603
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3281
3604
   { (exit 1); exit 1; }; }
3282
3605
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3283
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3284
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
3606
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3607
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3285
3608
   { (exit 1); exit 1; }; }
3286
3609
 
3287
3610
fi
3288
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3289
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3611
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3612
$as_echo "$ac_cv_build" >&6; }
3290
3613
case $ac_cv_build in
3291
3614
*-*-*) ;;
3292
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3293
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3615
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3616
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3294
3617
   { (exit 1); exit 1; }; };;
3295
3618
esac
3296
3619
build=$ac_cv_build
3307
3630
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3308
3631
 
3309
3632
 
3310
 
{ echo "$as_me:$LINENO: checking host system type" >&5
3311
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
3633
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
3634
$as_echo_n "checking host system type... " >&6; }
3312
3635
if test "${ac_cv_host+set}" = set; then
3313
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3636
  $as_echo_n "(cached) " >&6
3314
3637
else
3315
3638
  if test "x$host_alias" = x; then
3316
3639
  ac_cv_host=$ac_cv_build
3317
3640
else
3318
3641
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3319
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3320
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
3642
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3643
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3321
3644
   { (exit 1); exit 1; }; }
3322
3645
fi
3323
3646
 
3324
3647
fi
3325
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3326
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3648
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3649
$as_echo "$ac_cv_host" >&6; }
3327
3650
case $ac_cv_host in
3328
3651
*-*-*) ;;
3329
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3330
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3652
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3653
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3331
3654
   { (exit 1); exit 1; }; };;
3332
3655
esac
3333
3656
host=$ac_cv_host
3350
3673
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351
3674
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352
3675
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3353
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3354
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
3676
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3677
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3355
3678
# On Suns, sometimes $CPP names a directory.
3356
3679
if test -n "$CPP" && test -d "$CPP"; then
3357
3680
  CPP=
3358
3681
fi
3359
3682
if test -z "$CPP"; then
3360
3683
  if test "${ac_cv_prog_CPP+set}" = set; then
3361
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3684
  $as_echo_n "(cached) " >&6
3362
3685
else
3363
3686
      # Double quotes because CPP needs to be expanded
3364
3687
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3390
3713
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391
3714
  *) ac_try_echo=$ac_try;;
3392
3715
esac
3393
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3716
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3717
$as_echo "$ac_try_echo") >&5
3394
3718
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3395
3719
  ac_status=$?
3396
3720
  grep -v '^ *+' conftest.er1 >conftest.err
3397
3721
  rm -f conftest.er1
3398
3722
  cat conftest.err >&5
3399
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3723
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400
3724
  (exit $ac_status); } >/dev/null && {
3401
3725
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3402
3726
         test ! -s conftest.err
3403
3727
       }; then
3404
3728
  :
3405
3729
else
3406
 
  echo "$as_me: failed program was:" >&5
 
3730
  $as_echo "$as_me: failed program was:" >&5
3407
3731
sed 's/^/| /' conftest.$ac_ext >&5
3408
3732
 
3409
3733
  # Broken: fails on valid input.
3427
3751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428
3752
  *) ac_try_echo=$ac_try;;
3429
3753
esac
3430
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3754
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3755
$as_echo "$ac_try_echo") >&5
3431
3756
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3432
3757
  ac_status=$?
3433
3758
  grep -v '^ *+' conftest.er1 >conftest.err
3434
3759
  rm -f conftest.er1
3435
3760
  cat conftest.err >&5
3436
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3761
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437
3762
  (exit $ac_status); } >/dev/null && {
3438
3763
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3439
3764
         test ! -s conftest.err
3441
3766
  # Broken: success on invalid input.
3442
3767
continue
3443
3768
else
3444
 
  echo "$as_me: failed program was:" >&5
 
3769
  $as_echo "$as_me: failed program was:" >&5
3445
3770
sed 's/^/| /' conftest.$ac_ext >&5
3446
3771
 
3447
3772
  # Passes both tests.
3466
3791
else
3467
3792
  ac_cv_prog_CPP=$CPP
3468
3793
fi
3469
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
3470
 
echo "${ECHO_T}$CPP" >&6; }
 
3794
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
3795
$as_echo "$CPP" >&6; }
3471
3796
ac_preproc_ok=false
3472
3797
for ac_c_preproc_warn_flag in '' yes
3473
3798
do
3495
3820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496
3821
  *) ac_try_echo=$ac_try;;
3497
3822
esac
3498
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3823
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3824
$as_echo "$ac_try_echo") >&5
3499
3825
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3500
3826
  ac_status=$?
3501
3827
  grep -v '^ *+' conftest.er1 >conftest.err
3502
3828
  rm -f conftest.er1
3503
3829
  cat conftest.err >&5
3504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3830
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505
3831
  (exit $ac_status); } >/dev/null && {
3506
3832
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3507
3833
         test ! -s conftest.err
3508
3834
       }; then
3509
3835
  :
3510
3836
else
3511
 
  echo "$as_me: failed program was:" >&5
 
3837
  $as_echo "$as_me: failed program was:" >&5
3512
3838
sed 's/^/| /' conftest.$ac_ext >&5
3513
3839
 
3514
3840
  # Broken: fails on valid input.
3532
3858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533
3859
  *) ac_try_echo=$ac_try;;
3534
3860
esac
3535
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3861
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3862
$as_echo "$ac_try_echo") >&5
3536
3863
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3537
3864
  ac_status=$?
3538
3865
  grep -v '^ *+' conftest.er1 >conftest.err
3539
3866
  rm -f conftest.er1
3540
3867
  cat conftest.err >&5
3541
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3868
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
3869
  (exit $ac_status); } >/dev/null && {
3543
3870
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3544
3871
         test ! -s conftest.err
3546
3873
  # Broken: success on invalid input.
3547
3874
continue
3548
3875
else
3549
 
  echo "$as_me: failed program was:" >&5
 
3876
  $as_echo "$as_me: failed program was:" >&5
3550
3877
sed 's/^/| /' conftest.$ac_ext >&5
3551
3878
 
3552
3879
  # Passes both tests.
3562
3889
if $ac_preproc_ok; then
3563
3890
  :
3564
3891
else
3565
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
3892
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3893
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3894
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3566
3895
See \`config.log' for more details." >&5
3567
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
3896
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3568
3897
See \`config.log' for more details." >&2;}
3569
 
   { (exit 1); exit 1; }; }
 
3898
   { (exit 1); exit 1; }; }; }
3570
3899
fi
3571
3900
 
3572
3901
ac_ext=c
3576
3905
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3577
3906
 
3578
3907
 
3579
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3580
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3581
 
if test "${ac_cv_path_GREP+set}" = set; then
3582
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3583
 
else
3584
 
  # Extract the first word of "grep ggrep" to use in msg output
3585
 
if test -z "$GREP"; then
3586
 
set dummy grep ggrep; ac_prog_name=$2
3587
 
if test "${ac_cv_path_GREP+set}" = set; then
3588
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3589
 
else
 
3908
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3909
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
3910
if test "${ac_cv_path_GREP+set}" = set; then
 
3911
  $as_echo_n "(cached) " >&6
 
3912
else
 
3913
  if test -z "$GREP"; then
3590
3914
  ac_path_GREP_found=false
3591
 
# Loop through the user's path and test for each of PROGNAME-LIST
3592
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3915
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3916
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593
3917
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3594
3918
do
3595
3919
  IFS=$as_save_IFS
3596
3920
  test -z "$as_dir" && as_dir=.
3597
3921
  for ac_prog in grep ggrep; do
3598
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3599
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3600
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3601
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
3922
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3923
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3924
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3925
# Check for GNU ac_path_GREP and select it if it is found.
3602
3926
  # Check for GNU $ac_path_GREP
3603
3927
case `"$ac_path_GREP" --version 2>&1` in
3604
3928
*GNU*)
3605
3929
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3606
3930
*)
3607
3931
  ac_count=0
3608
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3932
  $as_echo_n 0123456789 >"conftest.in"
3609
3933
  while :
3610
3934
  do
3611
3935
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3612
3936
    mv "conftest.tmp" "conftest.in"
3613
3937
    cp "conftest.in" "conftest.nl"
3614
 
    echo 'GREP' >> "conftest.nl"
 
3938
    $as_echo 'GREP' >> "conftest.nl"
3615
3939
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3616
3940
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3617
3941
    ac_count=`expr $ac_count + 1`
3626
3950
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3627
3951
esac
3628
3952
 
3629
 
 
3630
 
    $ac_path_GREP_found && break 3
 
3953
      $ac_path_GREP_found && break 3
 
3954
    done
3631
3955
  done
3632
3956
done
3633
 
 
3634
 
done
3635
3957
IFS=$as_save_IFS
3636
 
 
3637
 
 
3638
 
fi
3639
 
 
3640
 
GREP="$ac_cv_path_GREP"
3641
 
if test -z "$GREP"; then
3642
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3643
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3958
  if test -z "$ac_cv_path_GREP"; then
 
3959
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3960
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3644
3961
   { (exit 1); exit 1; }; }
3645
 
fi
3646
 
 
 
3962
  fi
3647
3963
else
3648
3964
  ac_cv_path_GREP=$GREP
3649
3965
fi
3650
3966
 
3651
 
 
3652
3967
fi
3653
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3654
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3968
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3969
$as_echo "$ac_cv_path_GREP" >&6; }
3655
3970
 GREP="$ac_cv_path_GREP"
3656
3971
 
3657
3972
 
3658
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3659
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3973
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
3974
$as_echo_n "checking for egrep... " >&6; }
3660
3975
if test "${ac_cv_path_EGREP+set}" = set; then
3661
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3976
  $as_echo_n "(cached) " >&6
3662
3977
else
3663
3978
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3664
3979
   then ac_cv_path_EGREP="$GREP -E"
3665
3980
   else
3666
 
     # Extract the first word of "egrep" to use in msg output
3667
 
if test -z "$EGREP"; then
3668
 
set dummy egrep; ac_prog_name=$2
3669
 
if test "${ac_cv_path_EGREP+set}" = set; then
3670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3671
 
else
 
3981
     if test -z "$EGREP"; then
3672
3982
  ac_path_EGREP_found=false
3673
 
# Loop through the user's path and test for each of PROGNAME-LIST
3674
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3983
  # Loop through the user's path and test for each of PROGNAME-LIST
 
3984
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675
3985
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3676
3986
do
3677
3987
  IFS=$as_save_IFS
3678
3988
  test -z "$as_dir" && as_dir=.
3679
3989
  for ac_prog in egrep; do
3680
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3681
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3682
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3683
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3990
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3991
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3992
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3993
# Check for GNU ac_path_EGREP and select it if it is found.
3684
3994
  # Check for GNU $ac_path_EGREP
3685
3995
case `"$ac_path_EGREP" --version 2>&1` in
3686
3996
*GNU*)
3687
3997
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3688
3998
*)
3689
3999
  ac_count=0
3690
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4000
  $as_echo_n 0123456789 >"conftest.in"
3691
4001
  while :
3692
4002
  do
3693
4003
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3694
4004
    mv "conftest.tmp" "conftest.in"
3695
4005
    cp "conftest.in" "conftest.nl"
3696
 
    echo 'EGREP' >> "conftest.nl"
 
4006
    $as_echo 'EGREP' >> "conftest.nl"
3697
4007
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3698
4008
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3699
4009
    ac_count=`expr $ac_count + 1`
3708
4018
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3709
4019
esac
3710
4020
 
3711
 
 
3712
 
    $ac_path_EGREP_found && break 3
 
4021
      $ac_path_EGREP_found && break 3
 
4022
    done
3713
4023
  done
3714
4024
done
3715
 
 
3716
 
done
3717
4025
IFS=$as_save_IFS
3718
 
 
3719
 
 
3720
 
fi
3721
 
 
3722
 
EGREP="$ac_cv_path_EGREP"
3723
 
if test -z "$EGREP"; then
3724
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3725
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4026
  if test -z "$ac_cv_path_EGREP"; then
 
4027
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4028
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3726
4029
   { (exit 1); exit 1; }; }
3727
 
fi
3728
 
 
 
4030
  fi
3729
4031
else
3730
4032
  ac_cv_path_EGREP=$EGREP
3731
4033
fi
3732
4034
 
3733
 
 
3734
4035
   fi
3735
4036
fi
3736
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3737
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4037
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4038
$as_echo "$ac_cv_path_EGREP" >&6; }
3738
4039
 EGREP="$ac_cv_path_EGREP"
3739
4040
 
3740
4041
 
3741
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3742
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4042
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4043
$as_echo_n "checking for ANSI C header files... " >&6; }
3743
4044
if test "${ac_cv_header_stdc+set}" = set; then
3744
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4045
  $as_echo_n "(cached) " >&6
3745
4046
else
3746
4047
  cat >conftest.$ac_ext <<_ACEOF
3747
4048
/* confdefs.h.  */
3768
4069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769
4070
  *) ac_try_echo=$ac_try;;
3770
4071
esac
3771
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4072
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4073
$as_echo "$ac_try_echo") >&5
3772
4074
  (eval "$ac_compile") 2>conftest.er1
3773
4075
  ac_status=$?
3774
4076
  grep -v '^ *+' conftest.er1 >conftest.err
3775
4077
  rm -f conftest.er1
3776
4078
  cat conftest.err >&5
3777
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4079
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778
4080
  (exit $ac_status); } && {
3779
4081
         test -z "$ac_c_werror_flag" ||
3780
4082
         test ! -s conftest.err
3781
4083
       } && test -s conftest.$ac_objext; then
3782
4084
  ac_cv_header_stdc=yes
3783
4085
else
3784
 
  echo "$as_me: failed program was:" >&5
 
4086
  $as_echo "$as_me: failed program was:" >&5
3785
4087
sed 's/^/| /' conftest.$ac_ext >&5
3786
4088
 
3787
4089
        ac_cv_header_stdc=no
3873
4175
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874
4176
  *) ac_try_echo=$ac_try;;
3875
4177
esac
3876
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4178
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4179
$as_echo "$ac_try_echo") >&5
3877
4180
  (eval "$ac_link") 2>&5
3878
4181
  ac_status=$?
3879
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4182
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880
4183
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3881
4184
  { (case "(($ac_try" in
3882
4185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883
4186
  *) ac_try_echo=$ac_try;;
3884
4187
esac
3885
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4188
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4189
$as_echo "$ac_try_echo") >&5
3886
4190
  (eval "$ac_try") 2>&5
3887
4191
  ac_status=$?
3888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4192
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889
4193
  (exit $ac_status); }; }; then
3890
4194
  :
3891
4195
else
3892
 
  echo "$as_me: program exited with status $ac_status" >&5
3893
 
echo "$as_me: failed program was:" >&5
 
4196
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4197
$as_echo "$as_me: failed program was:" >&5
3894
4198
sed 's/^/| /' conftest.$ac_ext >&5
3895
4199
 
3896
4200
( exit $ac_status )
3897
4201
ac_cv_header_stdc=no
3898
4202
fi
 
4203
rm -rf conftest.dSYM
3899
4204
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3900
4205
fi
3901
4206
 
3902
4207
 
3903
4208
fi
3904
4209
fi
3905
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3906
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
4210
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4211
$as_echo "$ac_cv_header_stdc" >&6; }
3907
4212
if test $ac_cv_header_stdc = yes; then
3908
4213
 
3909
4214
cat >>confdefs.h <<\_ACEOF
3925
4230
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3926
4231
                  inttypes.h stdint.h unistd.h
3927
4232
do
3928
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3929
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3930
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
4233
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4234
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
4235
$as_echo_n "checking for $ac_header... " >&6; }
3931
4236
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3932
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4237
  $as_echo_n "(cached) " >&6
3933
4238
else
3934
4239
  cat >conftest.$ac_ext <<_ACEOF
3935
4240
/* confdefs.h.  */
3947
4252
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948
4253
  *) ac_try_echo=$ac_try;;
3949
4254
esac
3950
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4255
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4256
$as_echo "$ac_try_echo") >&5
3951
4257
  (eval "$ac_compile") 2>conftest.er1
3952
4258
  ac_status=$?
3953
4259
  grep -v '^ *+' conftest.er1 >conftest.err
3954
4260
  rm -f conftest.er1
3955
4261
  cat conftest.err >&5
3956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4262
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957
4263
  (exit $ac_status); } && {
3958
4264
         test -z "$ac_c_werror_flag" ||
3959
4265
         test ! -s conftest.err
3960
4266
       } && test -s conftest.$ac_objext; then
3961
4267
  eval "$as_ac_Header=yes"
3962
4268
else
3963
 
  echo "$as_me: failed program was:" >&5
 
4269
  $as_echo "$as_me: failed program was:" >&5
3964
4270
sed 's/^/| /' conftest.$ac_ext >&5
3965
4271
 
3966
4272
        eval "$as_ac_Header=no"
3968
4274
 
3969
4275
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3970
4276
fi
3971
 
ac_res=`eval echo '${'$as_ac_Header'}'`
3972
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
3973
 
echo "${ECHO_T}$ac_res" >&6; }
3974
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4277
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4278
                 $as_echo "$as_val"'`
 
4279
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4280
$as_echo "$ac_res" >&6; }
 
4281
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4282
                 $as_echo "$as_val"'`
 
4283
   if test "x$as_val" = x""yes; then
3975
4284
  cat >>confdefs.h <<_ACEOF
3976
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4285
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3977
4286
_ACEOF
3978
4287
 
3979
4288
fi
3981
4290
done
3982
4291
 
3983
4292
 
3984
 
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3985
 
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
 
4293
 
 
4294
 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
 
4295
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3986
4296
if test "${ac_cv_c_bigendian+set}" = set; then
3987
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3988
 
else
3989
 
  # See if sys/param.h defines the BYTE_ORDER macro.
3990
 
cat >conftest.$ac_ext <<_ACEOF
 
4297
  $as_echo_n "(cached) " >&6
 
4298
else
 
4299
  ac_cv_c_bigendian=unknown
 
4300
    # See if we're dealing with a universal compiler.
 
4301
    cat >conftest.$ac_ext <<_ACEOF
 
4302
/* confdefs.h.  */
 
4303
_ACEOF
 
4304
cat confdefs.h >>conftest.$ac_ext
 
4305
cat >>conftest.$ac_ext <<_ACEOF
 
4306
/* end confdefs.h.  */
 
4307
#ifndef __APPLE_CC__
 
4308
               not a universal capable compiler
 
4309
             #endif
 
4310
             typedef int dummy;
 
4311
 
 
4312
_ACEOF
 
4313
rm -f conftest.$ac_objext
 
4314
if { (ac_try="$ac_compile"
 
4315
case "(($ac_try" in
 
4316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4317
  *) ac_try_echo=$ac_try;;
 
4318
esac
 
4319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4320
$as_echo "$ac_try_echo") >&5
 
4321
  (eval "$ac_compile") 2>conftest.er1
 
4322
  ac_status=$?
 
4323
  grep -v '^ *+' conftest.er1 >conftest.err
 
4324
  rm -f conftest.er1
 
4325
  cat conftest.err >&5
 
4326
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4327
  (exit $ac_status); } && {
 
4328
         test -z "$ac_c_werror_flag" ||
 
4329
         test ! -s conftest.err
 
4330
       } && test -s conftest.$ac_objext; then
 
4331
 
 
4332
        # Check for potential -arch flags.  It is not universal unless
 
4333
        # there are some -arch flags.  Note that *ppc* also matches
 
4334
        # ppc64.  This check is also rather less than ideal.
 
4335
        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
 
4336
          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
 
4337
        esac
 
4338
else
 
4339
  $as_echo "$as_me: failed program was:" >&5
 
4340
sed 's/^/| /' conftest.$ac_ext >&5
 
4341
 
 
4342
 
 
4343
fi
 
4344
 
 
4345
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4346
    if test $ac_cv_c_bigendian = unknown; then
 
4347
      # See if sys/param.h defines the BYTE_ORDER macro.
 
4348
      cat >conftest.$ac_ext <<_ACEOF
3991
4349
/* confdefs.h.  */
3992
4350
_ACEOF
3993
4351
cat confdefs.h >>conftest.$ac_ext
3994
4352
cat >>conftest.$ac_ext <<_ACEOF
3995
4353
/* end confdefs.h.  */
3996
4354
#include <sys/types.h>
3997
 
#include <sys/param.h>
 
4355
             #include <sys/param.h>
3998
4356
 
3999
4357
int
4000
4358
main ()
4001
4359
{
4002
 
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4003
 
        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4004
 
 bogus endian macros
4005
 
#endif
 
4360
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
4361
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
4362
                     && LITTLE_ENDIAN)
 
4363
              bogus endian macros
 
4364
             #endif
4006
4365
 
4007
4366
  ;
4008
4367
  return 0;
4014
4373
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015
4374
  *) ac_try_echo=$ac_try;;
4016
4375
esac
4017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4376
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4377
$as_echo "$ac_try_echo") >&5
4018
4378
  (eval "$ac_compile") 2>conftest.er1
4019
4379
  ac_status=$?
4020
4380
  grep -v '^ *+' conftest.er1 >conftest.err
4021
4381
  rm -f conftest.er1
4022
4382
  cat conftest.err >&5
4023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4383
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024
4384
  (exit $ac_status); } && {
4025
4385
         test -z "$ac_c_werror_flag" ||
4026
4386
         test ! -s conftest.err
4027
4387
       } && test -s conftest.$ac_objext; then
4028
4388
  # It does; now see whether it defined to BIG_ENDIAN or not.
4029
 
cat >conftest.$ac_ext <<_ACEOF
 
4389
         cat >conftest.$ac_ext <<_ACEOF
4030
4390
/* confdefs.h.  */
4031
4391
_ACEOF
4032
4392
cat confdefs.h >>conftest.$ac_ext
4033
4393
cat >>conftest.$ac_ext <<_ACEOF
4034
4394
/* end confdefs.h.  */
4035
4395
#include <sys/types.h>
4036
 
#include <sys/param.h>
 
4396
                #include <sys/param.h>
4037
4397
 
4038
4398
int
4039
4399
main ()
4040
4400
{
4041
4401
#if BYTE_ORDER != BIG_ENDIAN
4042
 
 not big endian
4043
 
#endif
4044
 
 
4045
 
  ;
4046
 
  return 0;
4047
 
}
4048
 
_ACEOF
4049
 
rm -f conftest.$ac_objext
4050
 
if { (ac_try="$ac_compile"
4051
 
case "(($ac_try" in
4052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053
 
  *) ac_try_echo=$ac_try;;
4054
 
esac
4055
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4056
 
  (eval "$ac_compile") 2>conftest.er1
4057
 
  ac_status=$?
4058
 
  grep -v '^ *+' conftest.er1 >conftest.err
4059
 
  rm -f conftest.er1
4060
 
  cat conftest.err >&5
4061
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062
 
  (exit $ac_status); } && {
4063
 
         test -z "$ac_c_werror_flag" ||
4064
 
         test ! -s conftest.err
4065
 
       } && test -s conftest.$ac_objext; then
4066
 
  ac_cv_c_bigendian=yes
4067
 
else
4068
 
  echo "$as_me: failed program was:" >&5
4069
 
sed 's/^/| /' conftest.$ac_ext >&5
4070
 
 
4071
 
        ac_cv_c_bigendian=no
4072
 
fi
4073
 
 
4074
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4075
 
else
4076
 
  echo "$as_me: failed program was:" >&5
4077
 
sed 's/^/| /' conftest.$ac_ext >&5
4078
 
 
4079
 
        # It does not; compile a test program.
4080
 
if test "$cross_compiling" = yes; then
4081
 
  # try to guess the endianness by grepping values into an object file
4082
 
  ac_cv_c_bigendian=unknown
4083
 
  cat >conftest.$ac_ext <<_ACEOF
4084
 
/* confdefs.h.  */
4085
 
_ACEOF
4086
 
cat confdefs.h >>conftest.$ac_ext
4087
 
cat >>conftest.$ac_ext <<_ACEOF
4088
 
/* end confdefs.h.  */
4089
 
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4090
 
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4091
 
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4092
 
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4093
 
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4094
 
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4095
 
int
4096
 
main ()
4097
 
{
4098
 
 _ascii (); _ebcdic ();
4099
 
  ;
4100
 
  return 0;
4101
 
}
4102
 
_ACEOF
4103
 
rm -f conftest.$ac_objext
4104
 
if { (ac_try="$ac_compile"
4105
 
case "(($ac_try" in
4106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107
 
  *) ac_try_echo=$ac_try;;
4108
 
esac
4109
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4110
 
  (eval "$ac_compile") 2>conftest.er1
4111
 
  ac_status=$?
4112
 
  grep -v '^ *+' conftest.er1 >conftest.err
4113
 
  rm -f conftest.er1
4114
 
  cat conftest.err >&5
4115
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116
 
  (exit $ac_status); } && {
4117
 
         test -z "$ac_c_werror_flag" ||
4118
 
         test ! -s conftest.err
4119
 
       } && test -s conftest.$ac_objext; then
4120
 
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4121
 
  ac_cv_c_bigendian=yes
4122
 
fi
4123
 
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4124
 
  if test "$ac_cv_c_bigendian" = unknown; then
4125
 
    ac_cv_c_bigendian=no
4126
 
  else
4127
 
    # finding both strings is unlikely to happen, but who knows?
4128
 
    ac_cv_c_bigendian=unknown
4129
 
  fi
4130
 
fi
4131
 
else
4132
 
  echo "$as_me: failed program was:" >&5
 
4402
                 not big endian
 
4403
                #endif
 
4404
 
 
4405
  ;
 
4406
  return 0;
 
4407
}
 
4408
_ACEOF
 
4409
rm -f conftest.$ac_objext
 
4410
if { (ac_try="$ac_compile"
 
4411
case "(($ac_try" in
 
4412
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4413
  *) ac_try_echo=$ac_try;;
 
4414
esac
 
4415
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4416
$as_echo "$ac_try_echo") >&5
 
4417
  (eval "$ac_compile") 2>conftest.er1
 
4418
  ac_status=$?
 
4419
  grep -v '^ *+' conftest.er1 >conftest.err
 
4420
  rm -f conftest.er1
 
4421
  cat conftest.err >&5
 
4422
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4423
  (exit $ac_status); } && {
 
4424
         test -z "$ac_c_werror_flag" ||
 
4425
         test ! -s conftest.err
 
4426
       } && test -s conftest.$ac_objext; then
 
4427
  ac_cv_c_bigendian=yes
 
4428
else
 
4429
  $as_echo "$as_me: failed program was:" >&5
 
4430
sed 's/^/| /' conftest.$ac_ext >&5
 
4431
 
 
4432
        ac_cv_c_bigendian=no
 
4433
fi
 
4434
 
 
4435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4436
else
 
4437
  $as_echo "$as_me: failed program was:" >&5
 
4438
sed 's/^/| /' conftest.$ac_ext >&5
 
4439
 
 
4440
 
 
4441
fi
 
4442
 
 
4443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4444
    fi
 
4445
    if test $ac_cv_c_bigendian = unknown; then
 
4446
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
4447
      cat >conftest.$ac_ext <<_ACEOF
 
4448
/* confdefs.h.  */
 
4449
_ACEOF
 
4450
cat confdefs.h >>conftest.$ac_ext
 
4451
cat >>conftest.$ac_ext <<_ACEOF
 
4452
/* end confdefs.h.  */
 
4453
#include <limits.h>
 
4454
 
 
4455
int
 
4456
main ()
 
4457
{
 
4458
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
4459
              bogus endian macros
 
4460
             #endif
 
4461
 
 
4462
  ;
 
4463
  return 0;
 
4464
}
 
4465
_ACEOF
 
4466
rm -f conftest.$ac_objext
 
4467
if { (ac_try="$ac_compile"
 
4468
case "(($ac_try" in
 
4469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4470
  *) ac_try_echo=$ac_try;;
 
4471
esac
 
4472
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4473
$as_echo "$ac_try_echo") >&5
 
4474
  (eval "$ac_compile") 2>conftest.er1
 
4475
  ac_status=$?
 
4476
  grep -v '^ *+' conftest.er1 >conftest.err
 
4477
  rm -f conftest.er1
 
4478
  cat conftest.err >&5
 
4479
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4480
  (exit $ac_status); } && {
 
4481
         test -z "$ac_c_werror_flag" ||
 
4482
         test ! -s conftest.err
 
4483
       } && test -s conftest.$ac_objext; then
 
4484
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
4485
         cat >conftest.$ac_ext <<_ACEOF
 
4486
/* confdefs.h.  */
 
4487
_ACEOF
 
4488
cat confdefs.h >>conftest.$ac_ext
 
4489
cat >>conftest.$ac_ext <<_ACEOF
 
4490
/* end confdefs.h.  */
 
4491
#include <limits.h>
 
4492
 
 
4493
int
 
4494
main ()
 
4495
{
 
4496
#ifndef _BIG_ENDIAN
 
4497
                 not big endian
 
4498
                #endif
 
4499
 
 
4500
  ;
 
4501
  return 0;
 
4502
}
 
4503
_ACEOF
 
4504
rm -f conftest.$ac_objext
 
4505
if { (ac_try="$ac_compile"
 
4506
case "(($ac_try" in
 
4507
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4508
  *) ac_try_echo=$ac_try;;
 
4509
esac
 
4510
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4511
$as_echo "$ac_try_echo") >&5
 
4512
  (eval "$ac_compile") 2>conftest.er1
 
4513
  ac_status=$?
 
4514
  grep -v '^ *+' conftest.er1 >conftest.err
 
4515
  rm -f conftest.er1
 
4516
  cat conftest.err >&5
 
4517
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4518
  (exit $ac_status); } && {
 
4519
         test -z "$ac_c_werror_flag" ||
 
4520
         test ! -s conftest.err
 
4521
       } && test -s conftest.$ac_objext; then
 
4522
  ac_cv_c_bigendian=yes
 
4523
else
 
4524
  $as_echo "$as_me: failed program was:" >&5
 
4525
sed 's/^/| /' conftest.$ac_ext >&5
 
4526
 
 
4527
        ac_cv_c_bigendian=no
 
4528
fi
 
4529
 
 
4530
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4531
else
 
4532
  $as_echo "$as_me: failed program was:" >&5
 
4533
sed 's/^/| /' conftest.$ac_ext >&5
 
4534
 
 
4535
 
 
4536
fi
 
4537
 
 
4538
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4539
    fi
 
4540
    if test $ac_cv_c_bigendian = unknown; then
 
4541
      # Compile a test program.
 
4542
      if test "$cross_compiling" = yes; then
 
4543
  # Try to guess by grepping values from an object file.
 
4544
         cat >conftest.$ac_ext <<_ACEOF
 
4545
/* confdefs.h.  */
 
4546
_ACEOF
 
4547
cat confdefs.h >>conftest.$ac_ext
 
4548
cat >>conftest.$ac_ext <<_ACEOF
 
4549
/* end confdefs.h.  */
 
4550
short int ascii_mm[] =
 
4551
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
4552
                short int ascii_ii[] =
 
4553
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
4554
                int use_ascii (int i) {
 
4555
                  return ascii_mm[i] + ascii_ii[i];
 
4556
                }
 
4557
                short int ebcdic_ii[] =
 
4558
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
4559
                short int ebcdic_mm[] =
 
4560
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
4561
                int use_ebcdic (int i) {
 
4562
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
4563
                }
 
4564
                extern int foo;
 
4565
 
 
4566
int
 
4567
main ()
 
4568
{
 
4569
return use_ascii (foo) == use_ebcdic (foo);
 
4570
  ;
 
4571
  return 0;
 
4572
}
 
4573
_ACEOF
 
4574
rm -f conftest.$ac_objext
 
4575
if { (ac_try="$ac_compile"
 
4576
case "(($ac_try" in
 
4577
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4578
  *) ac_try_echo=$ac_try;;
 
4579
esac
 
4580
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4581
$as_echo "$ac_try_echo") >&5
 
4582
  (eval "$ac_compile") 2>conftest.er1
 
4583
  ac_status=$?
 
4584
  grep -v '^ *+' conftest.er1 >conftest.err
 
4585
  rm -f conftest.er1
 
4586
  cat conftest.err >&5
 
4587
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4588
  (exit $ac_status); } && {
 
4589
         test -z "$ac_c_werror_flag" ||
 
4590
         test ! -s conftest.err
 
4591
       } && test -s conftest.$ac_objext; then
 
4592
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
4593
              ac_cv_c_bigendian=yes
 
4594
            fi
 
4595
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
4596
              if test "$ac_cv_c_bigendian" = unknown; then
 
4597
                ac_cv_c_bigendian=no
 
4598
              else
 
4599
                # finding both strings is unlikely to happen, but who knows?
 
4600
                ac_cv_c_bigendian=unknown
 
4601
              fi
 
4602
            fi
 
4603
else
 
4604
  $as_echo "$as_me: failed program was:" >&5
4133
4605
sed 's/^/| /' conftest.$ac_ext >&5
4134
4606
 
4135
4607
 
4148
4620
main ()
4149
4621
{
4150
4622
 
4151
 
  /* Are we little or big endian?  From Harbison&Steele.  */
4152
 
  union
4153
 
  {
4154
 
    long int l;
4155
 
    char c[sizeof (long int)];
4156
 
  } u;
4157
 
  u.l = 1;
4158
 
  return u.c[sizeof (long int) - 1] == 1;
 
4623
             /* Are we little or big endian?  From Harbison&Steele.  */
 
4624
             union
 
4625
             {
 
4626
               long int l;
 
4627
               char c[sizeof (long int)];
 
4628
             } u;
 
4629
             u.l = 1;
 
4630
             return u.c[sizeof (long int) - 1] == 1;
4159
4631
 
4160
4632
  ;
4161
4633
  return 0;
4167
4639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168
4640
  *) ac_try_echo=$ac_try;;
4169
4641
esac
4170
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4642
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4643
$as_echo "$ac_try_echo") >&5
4171
4644
  (eval "$ac_link") 2>&5
4172
4645
  ac_status=$?
4173
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4646
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174
4647
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4175
4648
  { (case "(($ac_try" in
4176
4649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177
4650
  *) ac_try_echo=$ac_try;;
4178
4651
esac
4179
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4652
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4653
$as_echo "$ac_try_echo") >&5
4180
4654
  (eval "$ac_try") 2>&5
4181
4655
  ac_status=$?
4182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4656
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183
4657
  (exit $ac_status); }; }; then
4184
4658
  ac_cv_c_bigendian=no
4185
4659
else
4186
 
  echo "$as_me: program exited with status $ac_status" >&5
4187
 
echo "$as_me: failed program was:" >&5
 
4660
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
4661
$as_echo "$as_me: failed program was:" >&5
4188
4662
sed 's/^/| /' conftest.$ac_ext >&5
4189
4663
 
4190
4664
( exit $ac_status )
4191
4665
ac_cv_c_bigendian=yes
4192
4666
fi
 
4667
rm -rf conftest.dSYM
4193
4668
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4194
4669
fi
4195
4670
 
4196
4671
 
4197
 
fi
4198
 
 
4199
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200
 
fi
4201
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4202
 
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4203
 
case $ac_cv_c_bigendian in
4204
 
  yes)
4205
 
 
4206
 
cat >>confdefs.h <<\_ACEOF
 
4672
    fi
 
4673
fi
 
4674
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
 
4675
$as_echo "$ac_cv_c_bigendian" >&6; }
 
4676
 case $ac_cv_c_bigendian in #(
 
4677
   yes)
 
4678
     cat >>confdefs.h <<\_ACEOF
4207
4679
#define WORDS_BIGENDIAN 1
4208
4680
_ACEOF
4209
 
 ;;
4210
 
  no)
4211
 
     ;;
4212
 
  *)
4213
 
    { { echo "$as_me:$LINENO: error: unknown endianness
4214
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4215
 
echo "$as_me: error: unknown endianness
4216
 
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
 
4681
;; #(
 
4682
   no)
 
4683
      ;; #(
 
4684
   universal)
 
4685
 
 
4686
cat >>confdefs.h <<\_ACEOF
 
4687
#define AC_APPLE_UNIVERSAL_BUILD 1
 
4688
_ACEOF
 
4689
 
 
4690
     ;; #(
 
4691
   *)
 
4692
     { { $as_echo "$as_me:$LINENO: error: unknown endianness
 
4693
 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
 
4694
$as_echo "$as_me: error: unknown endianness
 
4695
 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4217
4696
   { (exit 1); exit 1; }; } ;;
4218
 
esac
 
4697
 esac
4219
4698
 
4220
4699
# Checks for header files.
4221
4700
 
4226
4705
 
4227
4706
ac_header_dirent=no
4228
4707
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4229
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4230
 
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4231
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
 
4708
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
4709
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
4710
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4232
4711
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4233
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4712
  $as_echo_n "(cached) " >&6
4234
4713
else
4235
4714
  cat >conftest.$ac_ext <<_ACEOF
4236
4715
/* confdefs.h.  */
4256
4735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257
4736
  *) ac_try_echo=$ac_try;;
4258
4737
esac
4259
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4738
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4739
$as_echo "$ac_try_echo") >&5
4260
4740
  (eval "$ac_compile") 2>conftest.er1
4261
4741
  ac_status=$?
4262
4742
  grep -v '^ *+' conftest.er1 >conftest.err
4263
4743
  rm -f conftest.er1
4264
4744
  cat conftest.err >&5
4265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4745
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266
4746
  (exit $ac_status); } && {
4267
4747
         test -z "$ac_c_werror_flag" ||
4268
4748
         test ! -s conftest.err
4269
4749
       } && test -s conftest.$ac_objext; then
4270
4750
  eval "$as_ac_Header=yes"
4271
4751
else
4272
 
  echo "$as_me: failed program was:" >&5
 
4752
  $as_echo "$as_me: failed program was:" >&5
4273
4753
sed 's/^/| /' conftest.$ac_ext >&5
4274
4754
 
4275
4755
        eval "$as_ac_Header=no"
4277
4757
 
4278
4758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279
4759
fi
4280
 
ac_res=`eval echo '${'$as_ac_Header'}'`
4281
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
4282
 
echo "${ECHO_T}$ac_res" >&6; }
4283
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
4760
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
4761
                 $as_echo "$as_val"'`
 
4762
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
4763
$as_echo "$ac_res" >&6; }
 
4764
as_val=`eval 'as_val=${'$as_ac_Header'}
 
4765
                 $as_echo "$as_val"'`
 
4766
   if test "x$as_val" = x""yes; then
4284
4767
  cat >>confdefs.h <<_ACEOF
4285
 
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
4768
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4286
4769
_ACEOF
4287
4770
 
4288
4771
ac_header_dirent=$ac_hdr; break
4291
4774
done
4292
4775
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4293
4776
if test $ac_header_dirent = dirent.h; then
4294
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4295
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
4777
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
4778
$as_echo_n "checking for library containing opendir... " >&6; }
4296
4779
if test "${ac_cv_search_opendir+set}" = set; then
4297
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4780
  $as_echo_n "(cached) " >&6
4298
4781
else
4299
4782
  ac_func_search_save_LIBS=$LIBS
4300
4783
cat >conftest.$ac_ext <<_ACEOF
4332
4815
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333
4816
  *) ac_try_echo=$ac_try;;
4334
4817
esac
4335
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4818
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4819
$as_echo "$ac_try_echo") >&5
4336
4820
  (eval "$ac_link") 2>conftest.er1
4337
4821
  ac_status=$?
4338
4822
  grep -v '^ *+' conftest.er1 >conftest.err
4339
4823
  rm -f conftest.er1
4340
4824
  cat conftest.err >&5
4341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4825
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342
4826
  (exit $ac_status); } && {
4343
4827
         test -z "$ac_c_werror_flag" ||
4344
4828
         test ! -s conftest.err
4345
 
       } && test -s conftest$ac_exeext &&
4346
 
       $as_test_x conftest$ac_exeext; then
 
4829
       } && test -s conftest$ac_exeext && {
 
4830
         test "$cross_compiling" = yes ||
 
4831
         $as_test_x conftest$ac_exeext
 
4832
       }; then
4347
4833
  ac_cv_search_opendir=$ac_res
4348
4834
else
4349
 
  echo "$as_me: failed program was:" >&5
 
4835
  $as_echo "$as_me: failed program was:" >&5
4350
4836
sed 's/^/| /' conftest.$ac_ext >&5
4351
4837
 
4352
4838
 
4353
4839
fi
4354
4840
 
 
4841
rm -rf conftest.dSYM
4355
4842
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4356
4843
      conftest$ac_exeext
4357
4844
  if test "${ac_cv_search_opendir+set}" = set; then
4366
4853
rm conftest.$ac_ext
4367
4854
LIBS=$ac_func_search_save_LIBS
4368
4855
fi
4369
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4370
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
4856
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
4857
$as_echo "$ac_cv_search_opendir" >&6; }
4371
4858
ac_res=$ac_cv_search_opendir
4372
4859
if test "$ac_res" != no; then
4373
4860
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4375
4862
fi
4376
4863
 
4377
4864
else
4378
 
  { echo "$as_me:$LINENO: checking for library containing opendir" >&5
4379
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
 
4865
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
4866
$as_echo_n "checking for library containing opendir... " >&6; }
4380
4867
if test "${ac_cv_search_opendir+set}" = set; then
4381
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4868
  $as_echo_n "(cached) " >&6
4382
4869
else
4383
4870
  ac_func_search_save_LIBS=$LIBS
4384
4871
cat >conftest.$ac_ext <<_ACEOF
4416
4903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417
4904
  *) ac_try_echo=$ac_try;;
4418
4905
esac
4419
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4906
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4907
$as_echo "$ac_try_echo") >&5
4420
4908
  (eval "$ac_link") 2>conftest.er1
4421
4909
  ac_status=$?
4422
4910
  grep -v '^ *+' conftest.er1 >conftest.err
4423
4911
  rm -f conftest.er1
4424
4912
  cat conftest.err >&5
4425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4913
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426
4914
  (exit $ac_status); } && {
4427
4915
         test -z "$ac_c_werror_flag" ||
4428
4916
         test ! -s conftest.err
4429
 
       } && test -s conftest$ac_exeext &&
4430
 
       $as_test_x conftest$ac_exeext; then
 
4917
       } && test -s conftest$ac_exeext && {
 
4918
         test "$cross_compiling" = yes ||
 
4919
         $as_test_x conftest$ac_exeext
 
4920
       }; then
4431
4921
  ac_cv_search_opendir=$ac_res
4432
4922
else
4433
 
  echo "$as_me: failed program was:" >&5
 
4923
  $as_echo "$as_me: failed program was:" >&5
4434
4924
sed 's/^/| /' conftest.$ac_ext >&5
4435
4925
 
4436
4926
 
4437
4927
fi
4438
4928
 
 
4929
rm -rf conftest.dSYM
4439
4930
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4440
4931
      conftest$ac_exeext
4441
4932
  if test "${ac_cv_search_opendir+set}" = set; then
4450
4941
rm conftest.$ac_ext
4451
4942
LIBS=$ac_func_search_save_LIBS
4452
4943
fi
4453
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4454
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
 
4944
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
4945
$as_echo "$ac_cv_search_opendir" >&6; }
4455
4946
ac_res=$ac_cv_search_opendir
4456
4947
if test "$ac_res" != no; then
4457
4948
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4460
4951
 
4461
4952
fi
4462
4953
 
4463
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4464
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
4954
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4955
$as_echo_n "checking for ANSI C header files... " >&6; }
4465
4956
if test "${ac_cv_header_stdc+set}" = set; then
4466
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4957
  $as_echo_n "(cached) " >&6
4467
4958
else
4468
4959
  cat >conftest.$ac_ext <<_ACEOF
4469
4960
/* confdefs.h.  */
4490
4981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4491
4982
  *) ac_try_echo=$ac_try;;
4492
4983
esac
4493
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4985
$as_echo "$ac_try_echo") >&5
4494
4986
  (eval "$ac_compile") 2>conftest.er1
4495
4987
  ac_status=$?
4496
4988
  grep -v '^ *+' conftest.er1 >conftest.err
4497
4989
  rm -f conftest.er1
4498
4990
  cat conftest.err >&5
4499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4991
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500
4992
  (exit $ac_status); } && {
4501
4993
         test -z "$ac_c_werror_flag" ||
4502
4994
         test ! -s conftest.err
4503
4995
       } && test -s conftest.$ac_objext; then
4504
4996
  ac_cv_header_stdc=yes
4505
4997
else
4506
 
  echo "$as_me: failed program was:" >&5
 
4998
  $as_echo "$as_me: failed program was:" >&5
4507
4999
sed 's/^/| /' conftest.$ac_ext >&5
4508
5000
 
4509
5001
        ac_cv_header_stdc=no
4595
5087
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596
5088
  *) ac_try_echo=$ac_try;;
4597
5089
esac
4598
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5090
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5091
$as_echo "$ac_try_echo") >&5
4599
5092
  (eval "$ac_link") 2>&5
4600
5093
  ac_status=$?
4601
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5094
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602
5095
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4603
5096
  { (case "(($ac_try" in
4604
5097
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605
5098
  *) ac_try_echo=$ac_try;;
4606
5099
esac
4607
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5100
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5101
$as_echo "$ac_try_echo") >&5
4608
5102
  (eval "$ac_try") 2>&5
4609
5103
  ac_status=$?
4610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5104
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611
5105
  (exit $ac_status); }; }; then
4612
5106
  :
4613
5107
else
4614
 
  echo "$as_me: program exited with status $ac_status" >&5
4615
 
echo "$as_me: failed program was:" >&5
 
5108
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5109
$as_echo "$as_me: failed program was:" >&5
4616
5110
sed 's/^/| /' conftest.$ac_ext >&5
4617
5111
 
4618
5112
( exit $ac_status )
4619
5113
ac_cv_header_stdc=no
4620
5114
fi
 
5115
rm -rf conftest.dSYM
4621
5116
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4622
5117
fi
4623
5118
 
4624
5119
 
4625
5120
fi
4626
5121
fi
4627
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4628
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5122
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5123
$as_echo "$ac_cv_header_stdc" >&6; }
4629
5124
if test $ac_cv_header_stdc = yes; then
4630
5125
 
4631
5126
cat >>confdefs.h <<\_ACEOF
4635
5130
fi
4636
5131
 
4637
5132
 
4638
 
{ echo "$as_me:$LINENO: checking for X" >&5
4639
 
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
 
5133
{ $as_echo "$as_me:$LINENO: checking for X" >&5
 
5134
$as_echo_n "checking for X... " >&6; }
4640
5135
 
4641
5136
 
4642
5137
# Check whether --with-x was given.
4650
5145
  have_x=disabled
4651
5146
else
4652
5147
  case $x_includes,$x_libraries in #(
4653
 
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
4654
 
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
 
5148
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
 
5149
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
4655
5150
   { (exit 1); exit 1; }; };; #(
4656
5151
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
4657
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5152
  $as_echo_n "(cached) " >&6
4658
5153
else
4659
5154
  # One or both of the vars are not set, and there is no cached value.
4660
5155
ac_x_includes=no ac_x_libraries=no
4675
5170
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
4676
5171
    done
4677
5172
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4678
 
    for ac_extension in a so sl; do
 
5173
    for ac_extension in a so sl dylib la dll; do
4679
5174
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
4680
5175
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
4681
5176
        ac_im_usrlibdir=$ac_im_libdir; break
4689
5184
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
4690
5185
    esac
4691
5186
    case $ac_im_usrlibdir in
4692
 
        /usr/lib | /lib) ;;
 
5187
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
4693
5188
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4694
5189
    esac
4695
5190
  fi
4750
5245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751
5246
  *) ac_try_echo=$ac_try;;
4752
5247
esac
4753
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5248
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5249
$as_echo "$ac_try_echo") >&5
4754
5250
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4755
5251
  ac_status=$?
4756
5252
  grep -v '^ *+' conftest.er1 >conftest.err
4757
5253
  rm -f conftest.er1
4758
5254
  cat conftest.err >&5
4759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5255
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760
5256
  (exit $ac_status); } >/dev/null && {
4761
5257
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4762
5258
         test ! -s conftest.err
4764
5260
  # We can compile using X headers with no special include directory.
4765
5261
ac_x_includes=
4766
5262
else
4767
 
  echo "$as_me: failed program was:" >&5
 
5263
  $as_echo "$as_me: failed program was:" >&5
4768
5264
sed 's/^/| /' conftest.$ac_ext >&5
4769
5265
 
4770
5266
  for ac_dir in $ac_x_header_dirs; do
4805
5301
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4806
5302
  *) ac_try_echo=$ac_try;;
4807
5303
esac
4808
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5304
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5305
$as_echo "$ac_try_echo") >&5
4809
5306
  (eval "$ac_link") 2>conftest.er1
4810
5307
  ac_status=$?
4811
5308
  grep -v '^ *+' conftest.er1 >conftest.err
4812
5309
  rm -f conftest.er1
4813
5310
  cat conftest.err >&5
4814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5311
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815
5312
  (exit $ac_status); } && {
4816
5313
         test -z "$ac_c_werror_flag" ||
4817
5314
         test ! -s conftest.err
4818
 
       } && test -s conftest$ac_exeext &&
4819
 
       $as_test_x conftest$ac_exeext; then
 
5315
       } && test -s conftest$ac_exeext && {
 
5316
         test "$cross_compiling" = yes ||
 
5317
         $as_test_x conftest$ac_exeext
 
5318
       }; then
4820
5319
  LIBS=$ac_save_LIBS
4821
5320
# We can link X programs with no special library path.
4822
5321
ac_x_libraries=
4823
5322
else
4824
 
  echo "$as_me: failed program was:" >&5
 
5323
  $as_echo "$as_me: failed program was:" >&5
4825
5324
sed 's/^/| /' conftest.$ac_ext >&5
4826
5325
 
4827
5326
        LIBS=$ac_save_LIBS
4828
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
5327
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4829
5328
do
4830
5329
  # Don't even attempt the hair of trying to link an X program!
4831
 
  for ac_extension in a so sl; do
 
5330
  for ac_extension in a so sl dylib la dll; do
4832
5331
    if test -r "$ac_dir/libX11.$ac_extension"; then
4833
5332
      ac_x_libraries=$ac_dir
4834
5333
      break 2
4837
5336
done
4838
5337
fi
4839
5338
 
 
5339
rm -rf conftest.dSYM
4840
5340
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841
5341
      conftest$ac_exeext conftest.$ac_ext
4842
5342
fi # $ac_x_libraries = no
4859
5359
fi # $with_x != no
4860
5360
 
4861
5361
if test "$have_x" != yes; then
4862
 
  { echo "$as_me:$LINENO: result: $have_x" >&5
4863
 
echo "${ECHO_T}$have_x" >&6; }
 
5362
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
 
5363
$as_echo "$have_x" >&6; }
4864
5364
  no_x=yes
4865
5365
else
4866
5366
  # If each of the values was on the command line, it overrides each guess.
4870
5370
  ac_cv_have_x="have_x=yes\
4871
5371
        ac_x_includes='$x_includes'\
4872
5372
        ac_x_libraries='$x_libraries'"
4873
 
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4874
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
 
5373
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
5374
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4875
5375
fi
4876
5376
 
4877
5377
if test "$no_x" = yes; then
4892
5392
    X_LIBS="$X_LIBS -L$x_libraries"
4893
5393
    # For Solaris; some versions of Sun CC require a space after -R and
4894
5394
    # others require no space.  Words are not sufficient . . . .
4895
 
    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4896
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
 
5395
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
5396
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
4897
5397
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4898
5398
    ac_xsave_c_werror_flag=$ac_c_werror_flag
4899
5399
    ac_c_werror_flag=yes
4918
5418
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4919
5419
  *) ac_try_echo=$ac_try;;
4920
5420
esac
4921
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5421
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5422
$as_echo "$ac_try_echo") >&5
4922
5423
  (eval "$ac_link") 2>conftest.er1
4923
5424
  ac_status=$?
4924
5425
  grep -v '^ *+' conftest.er1 >conftest.err
4925
5426
  rm -f conftest.er1
4926
5427
  cat conftest.err >&5
4927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5428
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4928
5429
  (exit $ac_status); } && {
4929
5430
         test -z "$ac_c_werror_flag" ||
4930
5431
         test ! -s conftest.err
4931
 
       } && test -s conftest$ac_exeext &&
4932
 
       $as_test_x conftest$ac_exeext; then
4933
 
  { echo "$as_me:$LINENO: result: no" >&5
4934
 
echo "${ECHO_T}no" >&6; }
 
5432
       } && test -s conftest$ac_exeext && {
 
5433
         test "$cross_compiling" = yes ||
 
5434
         $as_test_x conftest$ac_exeext
 
5435
       }; then
 
5436
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5437
$as_echo "no" >&6; }
4935
5438
       X_LIBS="$X_LIBS -R$x_libraries"
4936
5439
else
4937
 
  echo "$as_me: failed program was:" >&5
 
5440
  $as_echo "$as_me: failed program was:" >&5
4938
5441
sed 's/^/| /' conftest.$ac_ext >&5
4939
5442
 
4940
5443
        LIBS="$ac_xsave_LIBS -R $x_libraries"
4959
5462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960
5463
  *) ac_try_echo=$ac_try;;
4961
5464
esac
4962
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5465
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5466
$as_echo "$ac_try_echo") >&5
4963
5467
  (eval "$ac_link") 2>conftest.er1
4964
5468
  ac_status=$?
4965
5469
  grep -v '^ *+' conftest.er1 >conftest.err
4966
5470
  rm -f conftest.er1
4967
5471
  cat conftest.err >&5
4968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5472
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969
5473
  (exit $ac_status); } && {
4970
5474
         test -z "$ac_c_werror_flag" ||
4971
5475
         test ! -s conftest.err
4972
 
       } && test -s conftest$ac_exeext &&
4973
 
       $as_test_x conftest$ac_exeext; then
4974
 
  { echo "$as_me:$LINENO: result: yes" >&5
4975
 
echo "${ECHO_T}yes" >&6; }
 
5476
       } && test -s conftest$ac_exeext && {
 
5477
         test "$cross_compiling" = yes ||
 
5478
         $as_test_x conftest$ac_exeext
 
5479
       }; then
 
5480
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5481
$as_echo "yes" >&6; }
4976
5482
          X_LIBS="$X_LIBS -R $x_libraries"
4977
5483
else
4978
 
  echo "$as_me: failed program was:" >&5
 
5484
  $as_echo "$as_me: failed program was:" >&5
4979
5485
sed 's/^/| /' conftest.$ac_ext >&5
4980
5486
 
4981
 
        { echo "$as_me:$LINENO: result: neither works" >&5
4982
 
echo "${ECHO_T}neither works" >&6; }
 
5487
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
 
5488
$as_echo "neither works" >&6; }
4983
5489
fi
4984
5490
 
 
5491
rm -rf conftest.dSYM
4985
5492
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4986
5493
      conftest$ac_exeext conftest.$ac_ext
4987
5494
fi
4988
5495
 
 
5496
rm -rf conftest.dSYM
4989
5497
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4990
5498
      conftest$ac_exeext conftest.$ac_ext
4991
5499
    ac_c_werror_flag=$ac_xsave_c_werror_flag
5031
5539
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032
5540
  *) ac_try_echo=$ac_try;;
5033
5541
esac
5034
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5542
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5543
$as_echo "$ac_try_echo") >&5
5035
5544
  (eval "$ac_link") 2>conftest.er1
5036
5545
  ac_status=$?
5037
5546
  grep -v '^ *+' conftest.er1 >conftest.err
5038
5547
  rm -f conftest.er1
5039
5548
  cat conftest.err >&5
5040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5549
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041
5550
  (exit $ac_status); } && {
5042
5551
         test -z "$ac_c_werror_flag" ||
5043
5552
         test ! -s conftest.err
5044
 
       } && test -s conftest$ac_exeext &&
5045
 
       $as_test_x conftest$ac_exeext; then
 
5553
       } && test -s conftest$ac_exeext && {
 
5554
         test "$cross_compiling" = yes ||
 
5555
         $as_test_x conftest$ac_exeext
 
5556
       }; then
5046
5557
  :
5047
5558
else
5048
 
  echo "$as_me: failed program was:" >&5
 
5559
  $as_echo "$as_me: failed program was:" >&5
5049
5560
sed 's/^/| /' conftest.$ac_ext >&5
5050
5561
 
5051
 
        { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5052
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
 
5562
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
5563
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
5053
5564
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5565
  $as_echo_n "(cached) " >&6
5055
5566
else
5056
5567
  ac_check_lib_save_LIBS=$LIBS
5057
5568
LIBS="-ldnet  $LIBS"
5083
5594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5084
5595
  *) ac_try_echo=$ac_try;;
5085
5596
esac
5086
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5597
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5598
$as_echo "$ac_try_echo") >&5
5087
5599
  (eval "$ac_link") 2>conftest.er1
5088
5600
  ac_status=$?
5089
5601
  grep -v '^ *+' conftest.er1 >conftest.err
5090
5602
  rm -f conftest.er1
5091
5603
  cat conftest.err >&5
5092
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5604
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093
5605
  (exit $ac_status); } && {
5094
5606
         test -z "$ac_c_werror_flag" ||
5095
5607
         test ! -s conftest.err
5096
 
       } && test -s conftest$ac_exeext &&
5097
 
       $as_test_x conftest$ac_exeext; then
 
5608
       } && test -s conftest$ac_exeext && {
 
5609
         test "$cross_compiling" = yes ||
 
5610
         $as_test_x conftest$ac_exeext
 
5611
       }; then
5098
5612
  ac_cv_lib_dnet_dnet_ntoa=yes
5099
5613
else
5100
 
  echo "$as_me: failed program was:" >&5
 
5614
  $as_echo "$as_me: failed program was:" >&5
5101
5615
sed 's/^/| /' conftest.$ac_ext >&5
5102
5616
 
5103
5617
        ac_cv_lib_dnet_dnet_ntoa=no
5104
5618
fi
5105
5619
 
 
5620
rm -rf conftest.dSYM
5106
5621
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5107
5622
      conftest$ac_exeext conftest.$ac_ext
5108
5623
LIBS=$ac_check_lib_save_LIBS
5109
5624
fi
5110
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5111
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
5112
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
5625
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
5626
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
5627
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
5113
5628
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
5114
5629
fi
5115
5630
 
5116
5631
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5117
 
      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5118
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
 
5632
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
5633
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
5119
5634
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5635
  $as_echo_n "(cached) " >&6
5121
5636
else
5122
5637
  ac_check_lib_save_LIBS=$LIBS
5123
5638
LIBS="-ldnet_stub  $LIBS"
5149
5664
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5150
5665
  *) ac_try_echo=$ac_try;;
5151
5666
esac
5152
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5667
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5668
$as_echo "$ac_try_echo") >&5
5153
5669
  (eval "$ac_link") 2>conftest.er1
5154
5670
  ac_status=$?
5155
5671
  grep -v '^ *+' conftest.er1 >conftest.err
5156
5672
  rm -f conftest.er1
5157
5673
  cat conftest.err >&5
5158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5674
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159
5675
  (exit $ac_status); } && {
5160
5676
         test -z "$ac_c_werror_flag" ||
5161
5677
         test ! -s conftest.err
5162
 
       } && test -s conftest$ac_exeext &&
5163
 
       $as_test_x conftest$ac_exeext; then
 
5678
       } && test -s conftest$ac_exeext && {
 
5679
         test "$cross_compiling" = yes ||
 
5680
         $as_test_x conftest$ac_exeext
 
5681
       }; then
5164
5682
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
5165
5683
else
5166
 
  echo "$as_me: failed program was:" >&5
 
5684
  $as_echo "$as_me: failed program was:" >&5
5167
5685
sed 's/^/| /' conftest.$ac_ext >&5
5168
5686
 
5169
5687
        ac_cv_lib_dnet_stub_dnet_ntoa=no
5170
5688
fi
5171
5689
 
 
5690
rm -rf conftest.dSYM
5172
5691
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5173
5692
      conftest$ac_exeext conftest.$ac_ext
5174
5693
LIBS=$ac_check_lib_save_LIBS
5175
5694
fi
5176
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5177
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
5178
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
5695
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
5696
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
5697
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
5179
5698
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
5180
5699
fi
5181
5700
 
5182
5701
    fi
5183
5702
fi
5184
5703
 
 
5704
rm -rf conftest.dSYM
5185
5705
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5186
5706
      conftest$ac_exeext conftest.$ac_ext
5187
5707
    LIBS="$ac_xsave_LIBS"
5194
5714
    # on Irix 5.2, according to T.E. Dickey.
5195
5715
    # The functions gethostbyname, getservbyname, and inet_addr are
5196
5716
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5197
 
    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
5198
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
 
5717
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
5718
$as_echo_n "checking for gethostbyname... " >&6; }
5199
5719
if test "${ac_cv_func_gethostbyname+set}" = set; then
5200
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5720
  $as_echo_n "(cached) " >&6
5201
5721
else
5202
5722
  cat >conftest.$ac_ext <<_ACEOF
5203
5723
/* confdefs.h.  */
5250
5770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5251
5771
  *) ac_try_echo=$ac_try;;
5252
5772
esac
5253
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5773
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5774
$as_echo "$ac_try_echo") >&5
5254
5775
  (eval "$ac_link") 2>conftest.er1
5255
5776
  ac_status=$?
5256
5777
  grep -v '^ *+' conftest.er1 >conftest.err
5257
5778
  rm -f conftest.er1
5258
5779
  cat conftest.err >&5
5259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5780
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260
5781
  (exit $ac_status); } && {
5261
5782
         test -z "$ac_c_werror_flag" ||
5262
5783
         test ! -s conftest.err
5263
 
       } && test -s conftest$ac_exeext &&
5264
 
       $as_test_x conftest$ac_exeext; then
 
5784
       } && test -s conftest$ac_exeext && {
 
5785
         test "$cross_compiling" = yes ||
 
5786
         $as_test_x conftest$ac_exeext
 
5787
       }; then
5265
5788
  ac_cv_func_gethostbyname=yes
5266
5789
else
5267
 
  echo "$as_me: failed program was:" >&5
 
5790
  $as_echo "$as_me: failed program was:" >&5
5268
5791
sed 's/^/| /' conftest.$ac_ext >&5
5269
5792
 
5270
5793
        ac_cv_func_gethostbyname=no
5271
5794
fi
5272
5795
 
 
5796
rm -rf conftest.dSYM
5273
5797
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5274
5798
      conftest$ac_exeext conftest.$ac_ext
5275
5799
fi
5276
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5277
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
5800
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
5801
$as_echo "$ac_cv_func_gethostbyname" >&6; }
5278
5802
 
5279
5803
    if test $ac_cv_func_gethostbyname = no; then
5280
 
      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5281
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
 
5804
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
5805
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5282
5806
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5283
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5807
  $as_echo_n "(cached) " >&6
5284
5808
else
5285
5809
  ac_check_lib_save_LIBS=$LIBS
5286
5810
LIBS="-lnsl  $LIBS"
5312
5836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313
5837
  *) ac_try_echo=$ac_try;;
5314
5838
esac
5315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5839
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5840
$as_echo "$ac_try_echo") >&5
5316
5841
  (eval "$ac_link") 2>conftest.er1
5317
5842
  ac_status=$?
5318
5843
  grep -v '^ *+' conftest.er1 >conftest.err
5319
5844
  rm -f conftest.er1
5320
5845
  cat conftest.err >&5
5321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322
5847
  (exit $ac_status); } && {
5323
5848
         test -z "$ac_c_werror_flag" ||
5324
5849
         test ! -s conftest.err
5325
 
       } && test -s conftest$ac_exeext &&
5326
 
       $as_test_x conftest$ac_exeext; then
 
5850
       } && test -s conftest$ac_exeext && {
 
5851
         test "$cross_compiling" = yes ||
 
5852
         $as_test_x conftest$ac_exeext
 
5853
       }; then
5327
5854
  ac_cv_lib_nsl_gethostbyname=yes
5328
5855
else
5329
 
  echo "$as_me: failed program was:" >&5
 
5856
  $as_echo "$as_me: failed program was:" >&5
5330
5857
sed 's/^/| /' conftest.$ac_ext >&5
5331
5858
 
5332
5859
        ac_cv_lib_nsl_gethostbyname=no
5333
5860
fi
5334
5861
 
 
5862
rm -rf conftest.dSYM
5335
5863
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5336
5864
      conftest$ac_exeext conftest.$ac_ext
5337
5865
LIBS=$ac_check_lib_save_LIBS
5338
5866
fi
5339
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5340
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
5341
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
5867
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
5868
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
5869
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
5342
5870
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
5343
5871
fi
5344
5872
 
5345
5873
      if test $ac_cv_lib_nsl_gethostbyname = no; then
5346
 
        { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5347
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
 
5874
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
5875
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
5348
5876
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5349
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5877
  $as_echo_n "(cached) " >&6
5350
5878
else
5351
5879
  ac_check_lib_save_LIBS=$LIBS
5352
5880
LIBS="-lbsd  $LIBS"
5378
5906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5379
5907
  *) ac_try_echo=$ac_try;;
5380
5908
esac
5381
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5910
$as_echo "$ac_try_echo") >&5
5382
5911
  (eval "$ac_link") 2>conftest.er1
5383
5912
  ac_status=$?
5384
5913
  grep -v '^ *+' conftest.er1 >conftest.err
5385
5914
  rm -f conftest.er1
5386
5915
  cat conftest.err >&5
5387
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5916
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388
5917
  (exit $ac_status); } && {
5389
5918
         test -z "$ac_c_werror_flag" ||
5390
5919
         test ! -s conftest.err
5391
 
       } && test -s conftest$ac_exeext &&
5392
 
       $as_test_x conftest$ac_exeext; then
 
5920
       } && test -s conftest$ac_exeext && {
 
5921
         test "$cross_compiling" = yes ||
 
5922
         $as_test_x conftest$ac_exeext
 
5923
       }; then
5393
5924
  ac_cv_lib_bsd_gethostbyname=yes
5394
5925
else
5395
 
  echo "$as_me: failed program was:" >&5
 
5926
  $as_echo "$as_me: failed program was:" >&5
5396
5927
sed 's/^/| /' conftest.$ac_ext >&5
5397
5928
 
5398
5929
        ac_cv_lib_bsd_gethostbyname=no
5399
5930
fi
5400
5931
 
 
5932
rm -rf conftest.dSYM
5401
5933
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5402
5934
      conftest$ac_exeext conftest.$ac_ext
5403
5935
LIBS=$ac_check_lib_save_LIBS
5404
5936
fi
5405
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5406
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
5407
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
5937
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
5938
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
5939
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
5408
5940
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
5409
5941
fi
5410
5942
 
5418
5950
    # variants that don't use the name server (or something).  -lsocket
5419
5951
    # must be given before -lnsl if both are needed.  We assume that
5420
5952
    # if connect needs -lnsl, so does gethostbyname.
5421
 
    { echo "$as_me:$LINENO: checking for connect" >&5
5422
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
 
5953
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
 
5954
$as_echo_n "checking for connect... " >&6; }
5423
5955
if test "${ac_cv_func_connect+set}" = set; then
5424
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5956
  $as_echo_n "(cached) " >&6
5425
5957
else
5426
5958
  cat >conftest.$ac_ext <<_ACEOF
5427
5959
/* confdefs.h.  */
5474
6006
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5475
6007
  *) ac_try_echo=$ac_try;;
5476
6008
esac
5477
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6009
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6010
$as_echo "$ac_try_echo") >&5
5478
6011
  (eval "$ac_link") 2>conftest.er1
5479
6012
  ac_status=$?
5480
6013
  grep -v '^ *+' conftest.er1 >conftest.err
5481
6014
  rm -f conftest.er1
5482
6015
  cat conftest.err >&5
5483
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6016
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484
6017
  (exit $ac_status); } && {
5485
6018
         test -z "$ac_c_werror_flag" ||
5486
6019
         test ! -s conftest.err
5487
 
       } && test -s conftest$ac_exeext &&
5488
 
       $as_test_x conftest$ac_exeext; then
 
6020
       } && test -s conftest$ac_exeext && {
 
6021
         test "$cross_compiling" = yes ||
 
6022
         $as_test_x conftest$ac_exeext
 
6023
       }; then
5489
6024
  ac_cv_func_connect=yes
5490
6025
else
5491
 
  echo "$as_me: failed program was:" >&5
 
6026
  $as_echo "$as_me: failed program was:" >&5
5492
6027
sed 's/^/| /' conftest.$ac_ext >&5
5493
6028
 
5494
6029
        ac_cv_func_connect=no
5495
6030
fi
5496
6031
 
 
6032
rm -rf conftest.dSYM
5497
6033
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5498
6034
      conftest$ac_exeext conftest.$ac_ext
5499
6035
fi
5500
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5501
 
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
6036
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
6037
$as_echo "$ac_cv_func_connect" >&6; }
5502
6038
 
5503
6039
    if test $ac_cv_func_connect = no; then
5504
 
      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5505
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
 
6040
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
6041
$as_echo_n "checking for connect in -lsocket... " >&6; }
5506
6042
if test "${ac_cv_lib_socket_connect+set}" = set; then
5507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6043
  $as_echo_n "(cached) " >&6
5508
6044
else
5509
6045
  ac_check_lib_save_LIBS=$LIBS
5510
6046
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
5536
6072
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5537
6073
  *) ac_try_echo=$ac_try;;
5538
6074
esac
5539
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6075
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6076
$as_echo "$ac_try_echo") >&5
5540
6077
  (eval "$ac_link") 2>conftest.er1
5541
6078
  ac_status=$?
5542
6079
  grep -v '^ *+' conftest.er1 >conftest.err
5543
6080
  rm -f conftest.er1
5544
6081
  cat conftest.err >&5
5545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6082
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546
6083
  (exit $ac_status); } && {
5547
6084
         test -z "$ac_c_werror_flag" ||
5548
6085
         test ! -s conftest.err
5549
 
       } && test -s conftest$ac_exeext &&
5550
 
       $as_test_x conftest$ac_exeext; then
 
6086
       } && test -s conftest$ac_exeext && {
 
6087
         test "$cross_compiling" = yes ||
 
6088
         $as_test_x conftest$ac_exeext
 
6089
       }; then
5551
6090
  ac_cv_lib_socket_connect=yes
5552
6091
else
5553
 
  echo "$as_me: failed program was:" >&5
 
6092
  $as_echo "$as_me: failed program was:" >&5
5554
6093
sed 's/^/| /' conftest.$ac_ext >&5
5555
6094
 
5556
6095
        ac_cv_lib_socket_connect=no
5557
6096
fi
5558
6097
 
 
6098
rm -rf conftest.dSYM
5559
6099
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5560
6100
      conftest$ac_exeext conftest.$ac_ext
5561
6101
LIBS=$ac_check_lib_save_LIBS
5562
6102
fi
5563
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5564
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
5565
 
if test $ac_cv_lib_socket_connect = yes; then
 
6103
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
6104
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
6105
if test "x$ac_cv_lib_socket_connect" = x""yes; then
5566
6106
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
5567
6107
fi
5568
6108
 
5569
6109
    fi
5570
6110
 
5571
6111
    # Guillermo Gomez says -lposix is necessary on A/UX.
5572
 
    { echo "$as_me:$LINENO: checking for remove" >&5
5573
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
 
6112
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
 
6113
$as_echo_n "checking for remove... " >&6; }
5574
6114
if test "${ac_cv_func_remove+set}" = set; then
5575
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6115
  $as_echo_n "(cached) " >&6
5576
6116
else
5577
6117
  cat >conftest.$ac_ext <<_ACEOF
5578
6118
/* confdefs.h.  */
5625
6165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5626
6166
  *) ac_try_echo=$ac_try;;
5627
6167
esac
5628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6168
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6169
$as_echo "$ac_try_echo") >&5
5629
6170
  (eval "$ac_link") 2>conftest.er1
5630
6171
  ac_status=$?
5631
6172
  grep -v '^ *+' conftest.er1 >conftest.err
5632
6173
  rm -f conftest.er1
5633
6174
  cat conftest.err >&5
5634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6175
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635
6176
  (exit $ac_status); } && {
5636
6177
         test -z "$ac_c_werror_flag" ||
5637
6178
         test ! -s conftest.err
5638
 
       } && test -s conftest$ac_exeext &&
5639
 
       $as_test_x conftest$ac_exeext; then
 
6179
       } && test -s conftest$ac_exeext && {
 
6180
         test "$cross_compiling" = yes ||
 
6181
         $as_test_x conftest$ac_exeext
 
6182
       }; then
5640
6183
  ac_cv_func_remove=yes
5641
6184
else
5642
 
  echo "$as_me: failed program was:" >&5
 
6185
  $as_echo "$as_me: failed program was:" >&5
5643
6186
sed 's/^/| /' conftest.$ac_ext >&5
5644
6187
 
5645
6188
        ac_cv_func_remove=no
5646
6189
fi
5647
6190
 
 
6191
rm -rf conftest.dSYM
5648
6192
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5649
6193
      conftest$ac_exeext conftest.$ac_ext
5650
6194
fi
5651
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5652
 
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
 
6195
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
6196
$as_echo "$ac_cv_func_remove" >&6; }
5653
6197
 
5654
6198
    if test $ac_cv_func_remove = no; then
5655
 
      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5656
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
 
6199
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
6200
$as_echo_n "checking for remove in -lposix... " >&6; }
5657
6201
if test "${ac_cv_lib_posix_remove+set}" = set; then
5658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6202
  $as_echo_n "(cached) " >&6
5659
6203
else
5660
6204
  ac_check_lib_save_LIBS=$LIBS
5661
6205
LIBS="-lposix  $LIBS"
5687
6231
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688
6232
  *) ac_try_echo=$ac_try;;
5689
6233
esac
5690
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6234
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6235
$as_echo "$ac_try_echo") >&5
5691
6236
  (eval "$ac_link") 2>conftest.er1
5692
6237
  ac_status=$?
5693
6238
  grep -v '^ *+' conftest.er1 >conftest.err
5694
6239
  rm -f conftest.er1
5695
6240
  cat conftest.err >&5
5696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6241
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697
6242
  (exit $ac_status); } && {
5698
6243
         test -z "$ac_c_werror_flag" ||
5699
6244
         test ! -s conftest.err
5700
 
       } && test -s conftest$ac_exeext &&
5701
 
       $as_test_x conftest$ac_exeext; then
 
6245
       } && test -s conftest$ac_exeext && {
 
6246
         test "$cross_compiling" = yes ||
 
6247
         $as_test_x conftest$ac_exeext
 
6248
       }; then
5702
6249
  ac_cv_lib_posix_remove=yes
5703
6250
else
5704
 
  echo "$as_me: failed program was:" >&5
 
6251
  $as_echo "$as_me: failed program was:" >&5
5705
6252
sed 's/^/| /' conftest.$ac_ext >&5
5706
6253
 
5707
6254
        ac_cv_lib_posix_remove=no
5708
6255
fi
5709
6256
 
 
6257
rm -rf conftest.dSYM
5710
6258
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5711
6259
      conftest$ac_exeext conftest.$ac_ext
5712
6260
LIBS=$ac_check_lib_save_LIBS
5713
6261
fi
5714
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5715
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5716
 
if test $ac_cv_lib_posix_remove = yes; then
 
6262
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
6263
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
6264
if test "x$ac_cv_lib_posix_remove" = x""yes; then
5717
6265
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5718
6266
fi
5719
6267
 
5720
6268
    fi
5721
6269
 
5722
6270
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5723
 
    { echo "$as_me:$LINENO: checking for shmat" >&5
5724
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
 
6271
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
 
6272
$as_echo_n "checking for shmat... " >&6; }
5725
6273
if test "${ac_cv_func_shmat+set}" = set; then
5726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6274
  $as_echo_n "(cached) " >&6
5727
6275
else
5728
6276
  cat >conftest.$ac_ext <<_ACEOF
5729
6277
/* confdefs.h.  */
5776
6324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5777
6325
  *) ac_try_echo=$ac_try;;
5778
6326
esac
5779
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6327
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6328
$as_echo "$ac_try_echo") >&5
5780
6329
  (eval "$ac_link") 2>conftest.er1
5781
6330
  ac_status=$?
5782
6331
  grep -v '^ *+' conftest.er1 >conftest.err
5783
6332
  rm -f conftest.er1
5784
6333
  cat conftest.err >&5
5785
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6334
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786
6335
  (exit $ac_status); } && {
5787
6336
         test -z "$ac_c_werror_flag" ||
5788
6337
         test ! -s conftest.err
5789
 
       } && test -s conftest$ac_exeext &&
5790
 
       $as_test_x conftest$ac_exeext; then
 
6338
       } && test -s conftest$ac_exeext && {
 
6339
         test "$cross_compiling" = yes ||
 
6340
         $as_test_x conftest$ac_exeext
 
6341
       }; then
5791
6342
  ac_cv_func_shmat=yes
5792
6343
else
5793
 
  echo "$as_me: failed program was:" >&5
 
6344
  $as_echo "$as_me: failed program was:" >&5
5794
6345
sed 's/^/| /' conftest.$ac_ext >&5
5795
6346
 
5796
6347
        ac_cv_func_shmat=no
5797
6348
fi
5798
6349
 
 
6350
rm -rf conftest.dSYM
5799
6351
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5800
6352
      conftest$ac_exeext conftest.$ac_ext
5801
6353
fi
5802
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5803
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 
6354
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
6355
$as_echo "$ac_cv_func_shmat" >&6; }
5804
6356
 
5805
6357
    if test $ac_cv_func_shmat = no; then
5806
 
      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5807
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
 
6358
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
6359
$as_echo_n "checking for shmat in -lipc... " >&6; }
5808
6360
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5809
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6361
  $as_echo_n "(cached) " >&6
5810
6362
else
5811
6363
  ac_check_lib_save_LIBS=$LIBS
5812
6364
LIBS="-lipc  $LIBS"
5838
6390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5839
6391
  *) ac_try_echo=$ac_try;;
5840
6392
esac
5841
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6393
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6394
$as_echo "$ac_try_echo") >&5
5842
6395
  (eval "$ac_link") 2>conftest.er1
5843
6396
  ac_status=$?
5844
6397
  grep -v '^ *+' conftest.er1 >conftest.err
5845
6398
  rm -f conftest.er1
5846
6399
  cat conftest.err >&5
5847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6400
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848
6401
  (exit $ac_status); } && {
5849
6402
         test -z "$ac_c_werror_flag" ||
5850
6403
         test ! -s conftest.err
5851
 
       } && test -s conftest$ac_exeext &&
5852
 
       $as_test_x conftest$ac_exeext; then
 
6404
       } && test -s conftest$ac_exeext && {
 
6405
         test "$cross_compiling" = yes ||
 
6406
         $as_test_x conftest$ac_exeext
 
6407
       }; then
5853
6408
  ac_cv_lib_ipc_shmat=yes
5854
6409
else
5855
 
  echo "$as_me: failed program was:" >&5
 
6410
  $as_echo "$as_me: failed program was:" >&5
5856
6411
sed 's/^/| /' conftest.$ac_ext >&5
5857
6412
 
5858
6413
        ac_cv_lib_ipc_shmat=no
5859
6414
fi
5860
6415
 
 
6416
rm -rf conftest.dSYM
5861
6417
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5862
6418
      conftest$ac_exeext conftest.$ac_ext
5863
6419
LIBS=$ac_check_lib_save_LIBS
5864
6420
fi
5865
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5866
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5867
 
if test $ac_cv_lib_ipc_shmat = yes; then
 
6421
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
6422
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
6423
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
5868
6424
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5869
6425
fi
5870
6426
 
5880
6436
  # These have to be linked with before -lX11, unlike the other
5881
6437
  # libraries we check for below, so use a different variable.
5882
6438
  # John Interrante, Karl Berry
5883
 
  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5884
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
 
6439
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
6440
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
5885
6441
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5886
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6442
  $as_echo_n "(cached) " >&6
5887
6443
else
5888
6444
  ac_check_lib_save_LIBS=$LIBS
5889
6445
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5915
6471
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5916
6472
  *) ac_try_echo=$ac_try;;
5917
6473
esac
5918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6474
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6475
$as_echo "$ac_try_echo") >&5
5919
6476
  (eval "$ac_link") 2>conftest.er1
5920
6477
  ac_status=$?
5921
6478
  grep -v '^ *+' conftest.er1 >conftest.err
5922
6479
  rm -f conftest.er1
5923
6480
  cat conftest.err >&5
5924
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6481
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925
6482
  (exit $ac_status); } && {
5926
6483
         test -z "$ac_c_werror_flag" ||
5927
6484
         test ! -s conftest.err
5928
 
       } && test -s conftest$ac_exeext &&
5929
 
       $as_test_x conftest$ac_exeext; then
 
6485
       } && test -s conftest$ac_exeext && {
 
6486
         test "$cross_compiling" = yes ||
 
6487
         $as_test_x conftest$ac_exeext
 
6488
       }; then
5930
6489
  ac_cv_lib_ICE_IceConnectionNumber=yes
5931
6490
else
5932
 
  echo "$as_me: failed program was:" >&5
 
6491
  $as_echo "$as_me: failed program was:" >&5
5933
6492
sed 's/^/| /' conftest.$ac_ext >&5
5934
6493
 
5935
6494
        ac_cv_lib_ICE_IceConnectionNumber=no
5936
6495
fi
5937
6496
 
 
6497
rm -rf conftest.dSYM
5938
6498
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5939
6499
      conftest$ac_exeext conftest.$ac_ext
5940
6500
LIBS=$ac_check_lib_save_LIBS
5941
6501
fi
5942
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5943
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5944
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
6502
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
6503
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
6504
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
5945
6505
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5946
6506
fi
5947
6507
 
5965
6525
  enableval=$enable_oss; case "${enableval}" in
5966
6526
       yes) oss=true ;;
5967
6527
       no)  oss=false ;;
5968
 
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-oss" >&5
5969
 
echo "$as_me: error: bad value ${enableval} for --enable-oss" >&2;}
 
6528
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-oss" >&5
 
6529
$as_echo "$as_me: error: bad value ${enableval} for --enable-oss" >&2;}
5970
6530
   { (exit 1); exit 1; }; } ;;
5971
6531
     esac
5972
6532
else
5979
6539
  enableval=$enable_jack; case "${enableval}" in
5980
6540
       yes) jack=true ;;
5981
6541
       no)  jack=false ;;
5982
 
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-jack" >&5
5983
 
echo "$as_me: error: bad value ${enableval} for --enable-jack" >&2;}
 
6542
       *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-jack" >&5
 
6543
$as_echo "$as_me: error: bad value ${enableval} for --enable-jack" >&2;}
5984
6544
   { (exit 1); exit 1; }; } ;;
5985
6545
     esac
5986
6546
else
5989
6549
 
5990
6550
 
5991
6551
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
5992
 
  { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
5993
 
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
 
6552
  { $as_echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
 
6553
$as_echo_n "checking for alsa/asoundlib.h... " >&6; }
5994
6554
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
5995
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6555
  $as_echo_n "(cached) " >&6
5996
6556
fi
5997
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
5998
 
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
 
6557
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
 
6558
$as_echo "$ac_cv_header_alsa_asoundlib_h" >&6; }
5999
6559
else
6000
6560
  # Is the header compilable?
6001
 
{ echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
6002
 
echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; }
 
6561
{ $as_echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
 
6562
$as_echo_n "checking alsa/asoundlib.h usability... " >&6; }
6003
6563
cat >conftest.$ac_ext <<_ACEOF
6004
6564
/* confdefs.h.  */
6005
6565
_ACEOF
6015
6575
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016
6576
  *) ac_try_echo=$ac_try;;
6017
6577
esac
6018
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6578
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6579
$as_echo "$ac_try_echo") >&5
6019
6580
  (eval "$ac_compile") 2>conftest.er1
6020
6581
  ac_status=$?
6021
6582
  grep -v '^ *+' conftest.er1 >conftest.err
6022
6583
  rm -f conftest.er1
6023
6584
  cat conftest.err >&5
6024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6585
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025
6586
  (exit $ac_status); } && {
6026
6587
         test -z "$ac_c_werror_flag" ||
6027
6588
         test ! -s conftest.err
6028
6589
       } && test -s conftest.$ac_objext; then
6029
6590
  ac_header_compiler=yes
6030
6591
else
6031
 
  echo "$as_me: failed program was:" >&5
 
6592
  $as_echo "$as_me: failed program was:" >&5
6032
6593
sed 's/^/| /' conftest.$ac_ext >&5
6033
6594
 
6034
6595
        ac_header_compiler=no
6035
6596
fi
6036
6597
 
6037
6598
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6038
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6039
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6599
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6600
$as_echo "$ac_header_compiler" >&6; }
6040
6601
 
6041
6602
# Is the header present?
6042
 
{ echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
6043
 
echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; }
 
6603
{ $as_echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
 
6604
$as_echo_n "checking alsa/asoundlib.h presence... " >&6; }
6044
6605
cat >conftest.$ac_ext <<_ACEOF
6045
6606
/* confdefs.h.  */
6046
6607
_ACEOF
6054
6615
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6055
6616
  *) ac_try_echo=$ac_try;;
6056
6617
esac
6057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6618
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6619
$as_echo "$ac_try_echo") >&5
6058
6620
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6059
6621
  ac_status=$?
6060
6622
  grep -v '^ *+' conftest.er1 >conftest.err
6061
6623
  rm -f conftest.er1
6062
6624
  cat conftest.err >&5
6063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6625
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064
6626
  (exit $ac_status); } >/dev/null && {
6065
6627
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6066
6628
         test ! -s conftest.err
6067
6629
       }; then
6068
6630
  ac_header_preproc=yes
6069
6631
else
6070
 
  echo "$as_me: failed program was:" >&5
 
6632
  $as_echo "$as_me: failed program was:" >&5
6071
6633
sed 's/^/| /' conftest.$ac_ext >&5
6072
6634
 
6073
6635
  ac_header_preproc=no
6074
6636
fi
6075
6637
 
6076
6638
rm -f conftest.err conftest.$ac_ext
6077
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6078
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
6639
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6640
$as_echo "$ac_header_preproc" >&6; }
6079
6641
 
6080
6642
# So?  What about this header?
6081
6643
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6082
6644
  yes:no: )
6083
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6084
 
echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6085
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
6086
 
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
 
6645
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
6646
$as_echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6647
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
 
6648
$as_echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
6087
6649
    ac_header_preproc=yes
6088
6650
    ;;
6089
6651
  no:yes:* )
6090
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
6091
 
echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
6092
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h:     check for missing prerequisite headers?" >&5
6093
 
echo "$as_me: WARNING: alsa/asoundlib.h:     check for missing prerequisite headers?" >&2;}
6094
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
6095
 
echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
6096
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h:     section \"Present But Cannot Be Compiled\"" >&5
6097
 
echo "$as_me: WARNING: alsa/asoundlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6098
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6099
 
echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6100
 
    { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
6101
 
echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
 
6652
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
 
6653
$as_echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
 
6654
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h:     check for missing prerequisite headers?" >&5
 
6655
$as_echo "$as_me: WARNING: alsa/asoundlib.h:     check for missing prerequisite headers?" >&2;}
 
6656
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
 
6657
$as_echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
 
6658
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h:     section \"Present But Cannot Be Compiled\"" >&5
 
6659
$as_echo "$as_me: WARNING: alsa/asoundlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6660
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
 
6661
$as_echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
 
6662
    { $as_echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
 
6663
$as_echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
6102
6664
 
6103
6665
    ;;
6104
6666
esac
6105
 
{ echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6106
 
echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
 
6667
{ $as_echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
 
6668
$as_echo_n "checking for alsa/asoundlib.h... " >&6; }
6107
6669
if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6670
  $as_echo_n "(cached) " >&6
6109
6671
else
6110
6672
  ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
6111
6673
fi
6112
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6113
 
echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
6114
 
 
6115
 
fi
6116
 
 
6117
 
 
6118
 
if test "${ac_cv_header_endian_h+set}" = set; then
6119
 
  { echo "$as_me:$LINENO: checking for endian.h" >&5
6120
 
echo $ECHO_N "checking for endian.h... $ECHO_C" >&6; }
6121
 
if test "${ac_cv_header_endian_h+set}" = set; then
6122
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6123
 
fi
6124
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
6125
 
echo "${ECHO_T}$ac_cv_header_endian_h" >&6; }
 
6674
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
 
6675
$as_echo "$ac_cv_header_alsa_asoundlib_h" >&6; }
 
6676
 
 
6677
fi
 
6678
 
 
6679
 
 
6680
if test "${ac_cv_header_endian_h+set}" = set; then
 
6681
  { $as_echo "$as_me:$LINENO: checking for endian.h" >&5
 
6682
$as_echo_n "checking for endian.h... " >&6; }
 
6683
if test "${ac_cv_header_endian_h+set}" = set; then
 
6684
  $as_echo_n "(cached) " >&6
 
6685
fi
 
6686
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
 
6687
$as_echo "$ac_cv_header_endian_h" >&6; }
6126
6688
else
6127
6689
  # Is the header compilable?
6128
 
{ echo "$as_me:$LINENO: checking endian.h usability" >&5
6129
 
echo $ECHO_N "checking endian.h usability... $ECHO_C" >&6; }
 
6690
{ $as_echo "$as_me:$LINENO: checking endian.h usability" >&5
 
6691
$as_echo_n "checking endian.h usability... " >&6; }
6130
6692
cat >conftest.$ac_ext <<_ACEOF
6131
6693
/* confdefs.h.  */
6132
6694
_ACEOF
6142
6704
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6143
6705
  *) ac_try_echo=$ac_try;;
6144
6706
esac
6145
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6707
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6708
$as_echo "$ac_try_echo") >&5
6146
6709
  (eval "$ac_compile") 2>conftest.er1
6147
6710
  ac_status=$?
6148
6711
  grep -v '^ *+' conftest.er1 >conftest.err
6149
6712
  rm -f conftest.er1
6150
6713
  cat conftest.err >&5
6151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6714
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152
6715
  (exit $ac_status); } && {
6153
6716
         test -z "$ac_c_werror_flag" ||
6154
6717
         test ! -s conftest.err
6155
6718
       } && test -s conftest.$ac_objext; then
6156
6719
  ac_header_compiler=yes
6157
6720
else
6158
 
  echo "$as_me: failed program was:" >&5
 
6721
  $as_echo "$as_me: failed program was:" >&5
6159
6722
sed 's/^/| /' conftest.$ac_ext >&5
6160
6723
 
6161
6724
        ac_header_compiler=no
6162
6725
fi
6163
6726
 
6164
6727
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6165
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6166
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6728
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6729
$as_echo "$ac_header_compiler" >&6; }
6167
6730
 
6168
6731
# Is the header present?
6169
 
{ echo "$as_me:$LINENO: checking endian.h presence" >&5
6170
 
echo $ECHO_N "checking endian.h presence... $ECHO_C" >&6; }
 
6732
{ $as_echo "$as_me:$LINENO: checking endian.h presence" >&5
 
6733
$as_echo_n "checking endian.h presence... " >&6; }
6171
6734
cat >conftest.$ac_ext <<_ACEOF
6172
6735
/* confdefs.h.  */
6173
6736
_ACEOF
6181
6744
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6182
6745
  *) ac_try_echo=$ac_try;;
6183
6746
esac
6184
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6747
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6748
$as_echo "$ac_try_echo") >&5
6185
6749
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6186
6750
  ac_status=$?
6187
6751
  grep -v '^ *+' conftest.er1 >conftest.err
6188
6752
  rm -f conftest.er1
6189
6753
  cat conftest.err >&5
6190
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6754
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191
6755
  (exit $ac_status); } >/dev/null && {
6192
6756
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6193
6757
         test ! -s conftest.err
6194
6758
       }; then
6195
6759
  ac_header_preproc=yes
6196
6760
else
6197
 
  echo "$as_me: failed program was:" >&5
 
6761
  $as_echo "$as_me: failed program was:" >&5
6198
6762
sed 's/^/| /' conftest.$ac_ext >&5
6199
6763
 
6200
6764
  ac_header_preproc=no
6201
6765
fi
6202
6766
 
6203
6767
rm -f conftest.err conftest.$ac_ext
6204
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6205
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
6768
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6769
$as_echo "$ac_header_preproc" >&6; }
6206
6770
 
6207
6771
# So?  What about this header?
6208
6772
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6209
6773
  yes:no: )
6210
 
    { echo "$as_me:$LINENO: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
6211
 
echo "$as_me: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6212
 
    { echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the compiler's result" >&5
6213
 
echo "$as_me: WARNING: endian.h: proceeding with the compiler's result" >&2;}
 
6774
    { $as_echo "$as_me:$LINENO: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
6775
$as_echo "$as_me: WARNING: endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6776
    { $as_echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the compiler's result" >&5
 
6777
$as_echo "$as_me: WARNING: endian.h: proceeding with the compiler's result" >&2;}
6214
6778
    ac_header_preproc=yes
6215
6779
    ;;
6216
6780
  no:yes:* )
6217
 
    { echo "$as_me:$LINENO: WARNING: endian.h: present but cannot be compiled" >&5
6218
 
echo "$as_me: WARNING: endian.h: present but cannot be compiled" >&2;}
6219
 
    { echo "$as_me:$LINENO: WARNING: endian.h:     check for missing prerequisite headers?" >&5
6220
 
echo "$as_me: WARNING: endian.h:     check for missing prerequisite headers?" >&2;}
6221
 
    { echo "$as_me:$LINENO: WARNING: endian.h: see the Autoconf documentation" >&5
6222
 
echo "$as_me: WARNING: endian.h: see the Autoconf documentation" >&2;}
6223
 
    { echo "$as_me:$LINENO: WARNING: endian.h:     section \"Present But Cannot Be Compiled\"" >&5
6224
 
echo "$as_me: WARNING: endian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6225
 
    { echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the preprocessor's result" >&5
6226
 
echo "$as_me: WARNING: endian.h: proceeding with the preprocessor's result" >&2;}
6227
 
    { echo "$as_me:$LINENO: WARNING: endian.h: in the future, the compiler will take precedence" >&5
6228
 
echo "$as_me: WARNING: endian.h: in the future, the compiler will take precedence" >&2;}
 
6781
    { $as_echo "$as_me:$LINENO: WARNING: endian.h: present but cannot be compiled" >&5
 
6782
$as_echo "$as_me: WARNING: endian.h: present but cannot be compiled" >&2;}
 
6783
    { $as_echo "$as_me:$LINENO: WARNING: endian.h:     check for missing prerequisite headers?" >&5
 
6784
$as_echo "$as_me: WARNING: endian.h:     check for missing prerequisite headers?" >&2;}
 
6785
    { $as_echo "$as_me:$LINENO: WARNING: endian.h: see the Autoconf documentation" >&5
 
6786
$as_echo "$as_me: WARNING: endian.h: see the Autoconf documentation" >&2;}
 
6787
    { $as_echo "$as_me:$LINENO: WARNING: endian.h:     section \"Present But Cannot Be Compiled\"" >&5
 
6788
$as_echo "$as_me: WARNING: endian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6789
    { $as_echo "$as_me:$LINENO: WARNING: endian.h: proceeding with the preprocessor's result" >&5
 
6790
$as_echo "$as_me: WARNING: endian.h: proceeding with the preprocessor's result" >&2;}
 
6791
    { $as_echo "$as_me:$LINENO: WARNING: endian.h: in the future, the compiler will take precedence" >&5
 
6792
$as_echo "$as_me: WARNING: endian.h: in the future, the compiler will take precedence" >&2;}
6229
6793
 
6230
6794
    ;;
6231
6795
esac
6232
 
{ echo "$as_me:$LINENO: checking for endian.h" >&5
6233
 
echo $ECHO_N "checking for endian.h... $ECHO_C" >&6; }
 
6796
{ $as_echo "$as_me:$LINENO: checking for endian.h" >&5
 
6797
$as_echo_n "checking for endian.h... " >&6; }
6234
6798
if test "${ac_cv_header_endian_h+set}" = set; then
6235
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6799
  $as_echo_n "(cached) " >&6
6236
6800
else
6237
6801
  ac_cv_header_endian_h=$ac_header_preproc
6238
6802
fi
6239
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
6240
 
echo "${ECHO_T}$ac_cv_header_endian_h" >&6; }
 
6803
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_endian_h" >&5
 
6804
$as_echo "$ac_cv_header_endian_h" >&6; }
6241
6805
 
6242
6806
fi
6243
 
if test $ac_cv_header_endian_h = yes; then
 
6807
if test "x$ac_cv_header_endian_h" = x""yes; then
6244
6808
  default_endian=true
6245
6809
fi
6246
6810
 
6247
6811
 
6248
6812
if test x$default_endian != xtrue; then
6249
6813
if test "${ac_cv_header_machine_endian_h+set}" = set; then
6250
 
  { echo "$as_me:$LINENO: checking for machine/endian.h" >&5
6251
 
echo $ECHO_N "checking for machine/endian.h... $ECHO_C" >&6; }
 
6814
  { $as_echo "$as_me:$LINENO: checking for machine/endian.h" >&5
 
6815
$as_echo_n "checking for machine/endian.h... " >&6; }
6252
6816
if test "${ac_cv_header_machine_endian_h+set}" = set; then
6253
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6817
  $as_echo_n "(cached) " >&6
6254
6818
fi
6255
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
6256
 
echo "${ECHO_T}$ac_cv_header_machine_endian_h" >&6; }
 
6819
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
 
6820
$as_echo "$ac_cv_header_machine_endian_h" >&6; }
6257
6821
else
6258
6822
  # Is the header compilable?
6259
 
{ echo "$as_me:$LINENO: checking machine/endian.h usability" >&5
6260
 
echo $ECHO_N "checking machine/endian.h usability... $ECHO_C" >&6; }
 
6823
{ $as_echo "$as_me:$LINENO: checking machine/endian.h usability" >&5
 
6824
$as_echo_n "checking machine/endian.h usability... " >&6; }
6261
6825
cat >conftest.$ac_ext <<_ACEOF
6262
6826
/* confdefs.h.  */
6263
6827
_ACEOF
6273
6837
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6274
6838
  *) ac_try_echo=$ac_try;;
6275
6839
esac
6276
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6840
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6841
$as_echo "$ac_try_echo") >&5
6277
6842
  (eval "$ac_compile") 2>conftest.er1
6278
6843
  ac_status=$?
6279
6844
  grep -v '^ *+' conftest.er1 >conftest.err
6280
6845
  rm -f conftest.er1
6281
6846
  cat conftest.err >&5
6282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6847
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283
6848
  (exit $ac_status); } && {
6284
6849
         test -z "$ac_c_werror_flag" ||
6285
6850
         test ! -s conftest.err
6286
6851
       } && test -s conftest.$ac_objext; then
6287
6852
  ac_header_compiler=yes
6288
6853
else
6289
 
  echo "$as_me: failed program was:" >&5
 
6854
  $as_echo "$as_me: failed program was:" >&5
6290
6855
sed 's/^/| /' conftest.$ac_ext >&5
6291
6856
 
6292
6857
        ac_header_compiler=no
6293
6858
fi
6294
6859
 
6295
6860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6296
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6297
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6861
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6862
$as_echo "$ac_header_compiler" >&6; }
6298
6863
 
6299
6864
# Is the header present?
6300
 
{ echo "$as_me:$LINENO: checking machine/endian.h presence" >&5
6301
 
echo $ECHO_N "checking machine/endian.h presence... $ECHO_C" >&6; }
 
6865
{ $as_echo "$as_me:$LINENO: checking machine/endian.h presence" >&5
 
6866
$as_echo_n "checking machine/endian.h presence... " >&6; }
6302
6867
cat >conftest.$ac_ext <<_ACEOF
6303
6868
/* confdefs.h.  */
6304
6869
_ACEOF
6312
6877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6313
6878
  *) ac_try_echo=$ac_try;;
6314
6879
esac
6315
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6880
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6881
$as_echo "$ac_try_echo") >&5
6316
6882
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6317
6883
  ac_status=$?
6318
6884
  grep -v '^ *+' conftest.er1 >conftest.err
6319
6885
  rm -f conftest.er1
6320
6886
  cat conftest.err >&5
6321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6887
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322
6888
  (exit $ac_status); } >/dev/null && {
6323
6889
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6324
6890
         test ! -s conftest.err
6325
6891
       }; then
6326
6892
  ac_header_preproc=yes
6327
6893
else
6328
 
  echo "$as_me: failed program was:" >&5
 
6894
  $as_echo "$as_me: failed program was:" >&5
6329
6895
sed 's/^/| /' conftest.$ac_ext >&5
6330
6896
 
6331
6897
  ac_header_preproc=no
6332
6898
fi
6333
6899
 
6334
6900
rm -f conftest.err conftest.$ac_ext
6335
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6336
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
6901
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6902
$as_echo "$ac_header_preproc" >&6; }
6337
6903
 
6338
6904
# So?  What about this header?
6339
6905
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6340
6906
  yes:no: )
6341
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
6342
 
echo "$as_me: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6343
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the compiler's result" >&5
6344
 
echo "$as_me: WARNING: machine/endian.h: proceeding with the compiler's result" >&2;}
 
6907
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
6908
$as_echo "$as_me: WARNING: machine/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6909
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the compiler's result" >&5
 
6910
$as_echo "$as_me: WARNING: machine/endian.h: proceeding with the compiler's result" >&2;}
6345
6911
    ac_header_preproc=yes
6346
6912
    ;;
6347
6913
  no:yes:* )
6348
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h: present but cannot be compiled" >&5
6349
 
echo "$as_me: WARNING: machine/endian.h: present but cannot be compiled" >&2;}
6350
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h:     check for missing prerequisite headers?" >&5
6351
 
echo "$as_me: WARNING: machine/endian.h:     check for missing prerequisite headers?" >&2;}
6352
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h: see the Autoconf documentation" >&5
6353
 
echo "$as_me: WARNING: machine/endian.h: see the Autoconf documentation" >&2;}
6354
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h:     section \"Present But Cannot Be Compiled\"" >&5
6355
 
echo "$as_me: WARNING: machine/endian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6356
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&5
6357
 
echo "$as_me: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&2;}
6358
 
    { echo "$as_me:$LINENO: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&5
6359
 
echo "$as_me: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&2;}
 
6914
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: present but cannot be compiled" >&5
 
6915
$as_echo "$as_me: WARNING: machine/endian.h: present but cannot be compiled" >&2;}
 
6916
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h:     check for missing prerequisite headers?" >&5
 
6917
$as_echo "$as_me: WARNING: machine/endian.h:     check for missing prerequisite headers?" >&2;}
 
6918
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: see the Autoconf documentation" >&5
 
6919
$as_echo "$as_me: WARNING: machine/endian.h: see the Autoconf documentation" >&2;}
 
6920
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h:     section \"Present But Cannot Be Compiled\"" >&5
 
6921
$as_echo "$as_me: WARNING: machine/endian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6922
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&5
 
6923
$as_echo "$as_me: WARNING: machine/endian.h: proceeding with the preprocessor's result" >&2;}
 
6924
    { $as_echo "$as_me:$LINENO: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&5
 
6925
$as_echo "$as_me: WARNING: machine/endian.h: in the future, the compiler will take precedence" >&2;}
6360
6926
 
6361
6927
    ;;
6362
6928
esac
6363
 
{ echo "$as_me:$LINENO: checking for machine/endian.h" >&5
6364
 
echo $ECHO_N "checking for machine/endian.h... $ECHO_C" >&6; }
 
6929
{ $as_echo "$as_me:$LINENO: checking for machine/endian.h" >&5
 
6930
$as_echo_n "checking for machine/endian.h... " >&6; }
6365
6931
if test "${ac_cv_header_machine_endian_h+set}" = set; then
6366
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6932
  $as_echo_n "(cached) " >&6
6367
6933
else
6368
6934
  ac_cv_header_machine_endian_h=$ac_header_preproc
6369
6935
fi
6370
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
6371
 
echo "${ECHO_T}$ac_cv_header_machine_endian_h" >&6; }
 
6936
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_endian_h" >&5
 
6937
$as_echo "$ac_cv_header_machine_endian_h" >&6; }
6372
6938
 
6373
6939
fi
6374
 
if test $ac_cv_header_machine_endian_h = yes; then
 
6940
if test "x$ac_cv_header_machine_endian_h" = x""yes; then
6375
6941
 
6376
6942
cat >>confdefs.h <<\_ACEOF
6377
6943
#define HAVE_MACHINE_ENDIAN_H 1
6383
6949
fi
6384
6950
 
6385
6951
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
6386
 
  { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
6387
 
echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
 
6952
  { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
 
6953
$as_echo_n "checking for sys/soundcard.h... " >&6; }
6388
6954
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
6389
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6955
  $as_echo_n "(cached) " >&6
6390
6956
fi
6391
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
6392
 
echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
 
6957
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
 
6958
$as_echo "$ac_cv_header_sys_soundcard_h" >&6; }
6393
6959
else
6394
6960
  # Is the header compilable?
6395
 
{ echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
6396
 
echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; }
 
6961
{ $as_echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
 
6962
$as_echo_n "checking sys/soundcard.h usability... " >&6; }
6397
6963
cat >conftest.$ac_ext <<_ACEOF
6398
6964
/* confdefs.h.  */
6399
6965
_ACEOF
6409
6975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6410
6976
  *) ac_try_echo=$ac_try;;
6411
6977
esac
6412
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6978
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6979
$as_echo "$ac_try_echo") >&5
6413
6980
  (eval "$ac_compile") 2>conftest.er1
6414
6981
  ac_status=$?
6415
6982
  grep -v '^ *+' conftest.er1 >conftest.err
6416
6983
  rm -f conftest.er1
6417
6984
  cat conftest.err >&5
6418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6985
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419
6986
  (exit $ac_status); } && {
6420
6987
         test -z "$ac_c_werror_flag" ||
6421
6988
         test ! -s conftest.err
6422
6989
       } && test -s conftest.$ac_objext; then
6423
6990
  ac_header_compiler=yes
6424
6991
else
6425
 
  echo "$as_me: failed program was:" >&5
 
6992
  $as_echo "$as_me: failed program was:" >&5
6426
6993
sed 's/^/| /' conftest.$ac_ext >&5
6427
6994
 
6428
6995
        ac_header_compiler=no
6429
6996
fi
6430
6997
 
6431
6998
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6432
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6433
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6999
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7000
$as_echo "$ac_header_compiler" >&6; }
6434
7001
 
6435
7002
# Is the header present?
6436
 
{ echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
6437
 
echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; }
 
7003
{ $as_echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
 
7004
$as_echo_n "checking sys/soundcard.h presence... " >&6; }
6438
7005
cat >conftest.$ac_ext <<_ACEOF
6439
7006
/* confdefs.h.  */
6440
7007
_ACEOF
6448
7015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449
7016
  *) ac_try_echo=$ac_try;;
6450
7017
esac
6451
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7018
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7019
$as_echo "$ac_try_echo") >&5
6452
7020
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6453
7021
  ac_status=$?
6454
7022
  grep -v '^ *+' conftest.er1 >conftest.err
6455
7023
  rm -f conftest.er1
6456
7024
  cat conftest.err >&5
6457
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7025
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458
7026
  (exit $ac_status); } >/dev/null && {
6459
7027
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6460
7028
         test ! -s conftest.err
6461
7029
       }; then
6462
7030
  ac_header_preproc=yes
6463
7031
else
6464
 
  echo "$as_me: failed program was:" >&5
 
7032
  $as_echo "$as_me: failed program was:" >&5
6465
7033
sed 's/^/| /' conftest.$ac_ext >&5
6466
7034
 
6467
7035
  ac_header_preproc=no
6468
7036
fi
6469
7037
 
6470
7038
rm -f conftest.err conftest.$ac_ext
6471
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6472
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
7039
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7040
$as_echo "$ac_header_preproc" >&6; }
6473
7041
 
6474
7042
# So?  What about this header?
6475
7043
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6476
7044
  yes:no: )
6477
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
6478
 
echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6479
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
6480
 
echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
 
7045
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
7046
$as_echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
7047
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
 
7048
$as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
6481
7049
    ac_header_preproc=yes
6482
7050
    ;;
6483
7051
  no:yes:* )
6484
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
6485
 
echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
6486
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5
6487
 
echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;}
6488
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
6489
 
echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
6490
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5
6491
 
echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6492
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
6493
 
echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
6494
 
    { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
6495
 
echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
 
7052
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
 
7053
$as_echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
 
7054
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&5
 
7055
$as_echo "$as_me: WARNING: sys/soundcard.h:     check for missing prerequisite headers?" >&2;}
 
7056
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
 
7057
$as_echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
 
7058
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&5
 
7059
$as_echo "$as_me: WARNING: sys/soundcard.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
7060
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
 
7061
$as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
 
7062
    { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
 
7063
$as_echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
6496
7064
 
6497
7065
    ;;
6498
7066
esac
6499
 
{ echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
6500
 
echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
 
7067
{ $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
 
7068
$as_echo_n "checking for sys/soundcard.h... " >&6; }
6501
7069
if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
6502
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7070
  $as_echo_n "(cached) " >&6
6503
7071
else
6504
7072
  ac_cv_header_sys_soundcard_h=$ac_header_preproc
6505
7073
fi
6506
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
6507
 
echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
6508
 
 
6509
 
fi
6510
 
 
6511
 
 
6512
 
if test "${ac_cv_header_dlfcn_h+set}" = set; then
6513
 
  { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
6514
 
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
6515
 
if test "${ac_cv_header_dlfcn_h+set}" = set; then
6516
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6517
 
fi
6518
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
6519
 
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
6520
 
else
6521
 
  # Is the header compilable?
6522
 
{ echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
6523
 
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
6524
 
cat >conftest.$ac_ext <<_ACEOF
6525
 
/* confdefs.h.  */
6526
 
_ACEOF
6527
 
cat confdefs.h >>conftest.$ac_ext
6528
 
cat >>conftest.$ac_ext <<_ACEOF
6529
 
/* end confdefs.h.  */
6530
 
$ac_includes_default
6531
 
#include <dlfcn.h>
6532
 
_ACEOF
6533
 
rm -f conftest.$ac_objext
6534
 
if { (ac_try="$ac_compile"
6535
 
case "(($ac_try" in
6536
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6537
 
  *) ac_try_echo=$ac_try;;
6538
 
esac
6539
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6540
 
  (eval "$ac_compile") 2>conftest.er1
6541
 
  ac_status=$?
6542
 
  grep -v '^ *+' conftest.er1 >conftest.err
6543
 
  rm -f conftest.er1
6544
 
  cat conftest.err >&5
6545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546
 
  (exit $ac_status); } && {
6547
 
         test -z "$ac_c_werror_flag" ||
6548
 
         test ! -s conftest.err
6549
 
       } && test -s conftest.$ac_objext; then
6550
 
  ac_header_compiler=yes
6551
 
else
6552
 
  echo "$as_me: failed program was:" >&5
6553
 
sed 's/^/| /' conftest.$ac_ext >&5
6554
 
 
6555
 
        ac_header_compiler=no
6556
 
fi
6557
 
 
6558
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6559
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6560
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6561
 
 
6562
 
# Is the header present?
6563
 
{ echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
6564
 
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
6565
 
cat >conftest.$ac_ext <<_ACEOF
6566
 
/* confdefs.h.  */
6567
 
_ACEOF
6568
 
cat confdefs.h >>conftest.$ac_ext
6569
 
cat >>conftest.$ac_ext <<_ACEOF
6570
 
/* end confdefs.h.  */
6571
 
#include <dlfcn.h>
6572
 
_ACEOF
6573
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6574
 
case "(($ac_try" in
6575
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6576
 
  *) ac_try_echo=$ac_try;;
6577
 
esac
6578
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6579
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6580
 
  ac_status=$?
6581
 
  grep -v '^ *+' conftest.er1 >conftest.err
6582
 
  rm -f conftest.er1
6583
 
  cat conftest.err >&5
6584
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585
 
  (exit $ac_status); } >/dev/null && {
6586
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6587
 
         test ! -s conftest.err
6588
 
       }; then
6589
 
  ac_header_preproc=yes
6590
 
else
6591
 
  echo "$as_me: failed program was:" >&5
6592
 
sed 's/^/| /' conftest.$ac_ext >&5
6593
 
 
6594
 
  ac_header_preproc=no
6595
 
fi
6596
 
 
6597
 
rm -f conftest.err conftest.$ac_ext
6598
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6599
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6600
 
 
6601
 
# So?  What about this header?
6602
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6603
 
  yes:no: )
6604
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
6605
 
echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6606
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
6607
 
echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
6608
 
    ac_header_preproc=yes
6609
 
    ;;
6610
 
  no:yes:* )
6611
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
6612
 
echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
6613
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
6614
 
echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
6615
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
6616
 
echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
6617
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
6618
 
echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6619
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
6620
 
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
6621
 
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
6622
 
echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
6623
 
 
6624
 
    ;;
6625
 
esac
6626
 
{ echo "$as_me:$LINENO: checking for dlfcn.h" >&5
6627
 
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
6628
 
if test "${ac_cv_header_dlfcn_h+set}" = set; then
6629
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6630
 
else
6631
 
  ac_cv_header_dlfcn_h=$ac_header_preproc
6632
 
fi
6633
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
6634
 
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
6635
 
 
6636
 
fi
6637
 
if test $ac_cv_header_dlfcn_h = yes; then
6638
 
  dlfcn_header=true
6639
 
fi
6640
 
 
6641
 
 
6642
 
 
6643
 
if test x$jack = xtrue && test x$dlfcn_header = xtrue; then
6644
 
if test "${ac_cv_header_jack_jack_h+set}" = set; then
6645
 
  { echo "$as_me:$LINENO: checking for jack/jack.h" >&5
6646
 
echo $ECHO_N "checking for jack/jack.h... $ECHO_C" >&6; }
6647
 
if test "${ac_cv_header_jack_jack_h+set}" = set; then
6648
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6649
 
fi
6650
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_jack_jack_h" >&5
6651
 
echo "${ECHO_T}$ac_cv_header_jack_jack_h" >&6; }
6652
 
else
6653
 
  # Is the header compilable?
6654
 
{ echo "$as_me:$LINENO: checking jack/jack.h usability" >&5
6655
 
echo $ECHO_N "checking jack/jack.h usability... $ECHO_C" >&6; }
6656
 
cat >conftest.$ac_ext <<_ACEOF
6657
 
/* confdefs.h.  */
6658
 
_ACEOF
6659
 
cat confdefs.h >>conftest.$ac_ext
6660
 
cat >>conftest.$ac_ext <<_ACEOF
6661
 
/* end confdefs.h.  */
6662
 
$ac_includes_default
6663
 
#include <jack/jack.h>
6664
 
_ACEOF
6665
 
rm -f conftest.$ac_objext
6666
 
if { (ac_try="$ac_compile"
6667
 
case "(($ac_try" in
6668
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6669
 
  *) ac_try_echo=$ac_try;;
6670
 
esac
6671
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672
 
  (eval "$ac_compile") 2>conftest.er1
6673
 
  ac_status=$?
6674
 
  grep -v '^ *+' conftest.er1 >conftest.err
6675
 
  rm -f conftest.er1
6676
 
  cat conftest.err >&5
6677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678
 
  (exit $ac_status); } && {
6679
 
         test -z "$ac_c_werror_flag" ||
6680
 
         test ! -s conftest.err
6681
 
       } && test -s conftest.$ac_objext; then
6682
 
  ac_header_compiler=yes
6683
 
else
6684
 
  echo "$as_me: failed program was:" >&5
6685
 
sed 's/^/| /' conftest.$ac_ext >&5
6686
 
 
6687
 
        ac_header_compiler=no
6688
 
fi
6689
 
 
6690
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6691
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6692
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6693
 
 
6694
 
# Is the header present?
6695
 
{ echo "$as_me:$LINENO: checking jack/jack.h presence" >&5
6696
 
echo $ECHO_N "checking jack/jack.h presence... $ECHO_C" >&6; }
6697
 
cat >conftest.$ac_ext <<_ACEOF
6698
 
/* confdefs.h.  */
6699
 
_ACEOF
6700
 
cat confdefs.h >>conftest.$ac_ext
6701
 
cat >>conftest.$ac_ext <<_ACEOF
6702
 
/* end confdefs.h.  */
6703
 
#include <jack/jack.h>
6704
 
_ACEOF
6705
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6706
 
case "(($ac_try" in
6707
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6708
 
  *) ac_try_echo=$ac_try;;
6709
 
esac
6710
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6711
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6712
 
  ac_status=$?
6713
 
  grep -v '^ *+' conftest.er1 >conftest.err
6714
 
  rm -f conftest.er1
6715
 
  cat conftest.err >&5
6716
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717
 
  (exit $ac_status); } >/dev/null && {
6718
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6719
 
         test ! -s conftest.err
6720
 
       }; then
6721
 
  ac_header_preproc=yes
6722
 
else
6723
 
  echo "$as_me: failed program was:" >&5
6724
 
sed 's/^/| /' conftest.$ac_ext >&5
6725
 
 
6726
 
  ac_header_preproc=no
6727
 
fi
6728
 
 
6729
 
rm -f conftest.err conftest.$ac_ext
6730
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6731
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6732
 
 
6733
 
# So?  What about this header?
6734
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6735
 
  yes:no: )
6736
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h: accepted by the compiler, rejected by the preprocessor!" >&5
6737
 
echo "$as_me: WARNING: jack/jack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6738
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h: proceeding with the compiler's result" >&5
6739
 
echo "$as_me: WARNING: jack/jack.h: proceeding with the compiler's result" >&2;}
6740
 
    ac_header_preproc=yes
6741
 
    ;;
6742
 
  no:yes:* )
6743
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h: present but cannot be compiled" >&5
6744
 
echo "$as_me: WARNING: jack/jack.h: present but cannot be compiled" >&2;}
6745
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h:     check for missing prerequisite headers?" >&5
6746
 
echo "$as_me: WARNING: jack/jack.h:     check for missing prerequisite headers?" >&2;}
6747
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h: see the Autoconf documentation" >&5
6748
 
echo "$as_me: WARNING: jack/jack.h: see the Autoconf documentation" >&2;}
6749
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h:     section \"Present But Cannot Be Compiled\"" >&5
6750
 
echo "$as_me: WARNING: jack/jack.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6751
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h: proceeding with the preprocessor's result" >&5
6752
 
echo "$as_me: WARNING: jack/jack.h: proceeding with the preprocessor's result" >&2;}
6753
 
    { echo "$as_me:$LINENO: WARNING: jack/jack.h: in the future, the compiler will take precedence" >&5
6754
 
echo "$as_me: WARNING: jack/jack.h: in the future, the compiler will take precedence" >&2;}
6755
 
 
6756
 
    ;;
6757
 
esac
6758
 
{ echo "$as_me:$LINENO: checking for jack/jack.h" >&5
6759
 
echo $ECHO_N "checking for jack/jack.h... $ECHO_C" >&6; }
6760
 
if test "${ac_cv_header_jack_jack_h+set}" = set; then
6761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6762
 
else
6763
 
  ac_cv_header_jack_jack_h=$ac_header_preproc
6764
 
fi
6765
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_jack_jack_h" >&5
6766
 
echo "${ECHO_T}$ac_cv_header_jack_jack_h" >&6; }
6767
 
 
6768
 
fi
6769
 
if test $ac_cv_header_jack_jack_h = yes; then
6770
 
  jack_headers_present=true
6771
 
fi
6772
 
 
6773
 
 
6774
 
fi
 
7074
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
 
7075
$as_echo "$ac_cv_header_sys_soundcard_h" >&6; }
 
7076
 
 
7077
fi
 
7078
 
 
7079
 
 
7080
 
6775
7081
 
6776
7082
 
6777
7083
 
6778
7084
 
6779
7085
for ac_header in sys/time.h unistd.h vorbis/vorbisfile.h fcntl.h
6780
7086
do
6781
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6782
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6783
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6784
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6785
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6786
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7087
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7088
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7089
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7090
$as_echo_n "checking for $ac_header... " >&6; }
 
7091
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7092
  $as_echo_n "(cached) " >&6
6787
7093
fi
6788
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6789
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6790
 
echo "${ECHO_T}$ac_res" >&6; }
 
7094
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7095
                 $as_echo "$as_val"'`
 
7096
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7097
$as_echo "$ac_res" >&6; }
6791
7098
else
6792
7099
  # Is the header compilable?
6793
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6794
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
7100
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
7101
$as_echo_n "checking $ac_header usability... " >&6; }
6795
7102
cat >conftest.$ac_ext <<_ACEOF
6796
7103
/* confdefs.h.  */
6797
7104
_ACEOF
6807
7114
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6808
7115
  *) ac_try_echo=$ac_try;;
6809
7116
esac
6810
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7117
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7118
$as_echo "$ac_try_echo") >&5
6811
7119
  (eval "$ac_compile") 2>conftest.er1
6812
7120
  ac_status=$?
6813
7121
  grep -v '^ *+' conftest.er1 >conftest.err
6814
7122
  rm -f conftest.er1
6815
7123
  cat conftest.err >&5
6816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7124
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817
7125
  (exit $ac_status); } && {
6818
7126
         test -z "$ac_c_werror_flag" ||
6819
7127
         test ! -s conftest.err
6820
7128
       } && test -s conftest.$ac_objext; then
6821
7129
  ac_header_compiler=yes
6822
7130
else
6823
 
  echo "$as_me: failed program was:" >&5
 
7131
  $as_echo "$as_me: failed program was:" >&5
6824
7132
sed 's/^/| /' conftest.$ac_ext >&5
6825
7133
 
6826
7134
        ac_header_compiler=no
6827
7135
fi
6828
7136
 
6829
7137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6830
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6831
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
7138
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
7139
$as_echo "$ac_header_compiler" >&6; }
6832
7140
 
6833
7141
# Is the header present?
6834
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6835
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
7142
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7143
$as_echo_n "checking $ac_header presence... " >&6; }
6836
7144
cat >conftest.$ac_ext <<_ACEOF
6837
7145
/* confdefs.h.  */
6838
7146
_ACEOF
6846
7154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6847
7155
  *) ac_try_echo=$ac_try;;
6848
7156
esac
6849
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7158
$as_echo "$ac_try_echo") >&5
6850
7159
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6851
7160
  ac_status=$?
6852
7161
  grep -v '^ *+' conftest.er1 >conftest.err
6853
7162
  rm -f conftest.er1
6854
7163
  cat conftest.err >&5
6855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7164
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856
7165
  (exit $ac_status); } >/dev/null && {
6857
7166
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6858
7167
         test ! -s conftest.err
6859
7168
       }; then
6860
7169
  ac_header_preproc=yes
6861
7170
else
6862
 
  echo "$as_me: failed program was:" >&5
 
7171
  $as_echo "$as_me: failed program was:" >&5
6863
7172
sed 's/^/| /' conftest.$ac_ext >&5
6864
7173
 
6865
7174
  ac_header_preproc=no
6866
7175
fi
6867
7176
 
6868
7177
rm -f conftest.err conftest.$ac_ext
6869
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6870
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
7178
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7179
$as_echo "$ac_header_preproc" >&6; }
6871
7180
 
6872
7181
# So?  What about this header?
6873
7182
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6874
7183
  yes:no: )
6875
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6876
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6877
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6878
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
7184
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
7185
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
7186
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
7187
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6879
7188
    ac_header_preproc=yes
6880
7189
    ;;
6881
7190
  no:yes:* )
6882
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6883
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6884
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6885
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6886
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6887
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6888
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6889
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6890
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6891
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6892
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6893
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
7191
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
7192
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
7193
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
7194
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
7195
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
7196
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
7197
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
7198
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
7199
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
7200
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
7201
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
7202
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6894
7203
 
6895
7204
    ;;
6896
7205
esac
6897
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6898
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7206
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7207
$as_echo_n "checking for $ac_header... " >&6; }
6899
7208
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6900
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7209
  $as_echo_n "(cached) " >&6
6901
7210
else
6902
7211
  eval "$as_ac_Header=\$ac_header_preproc"
6903
7212
fi
6904
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6905
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6906
 
echo "${ECHO_T}$ac_res" >&6; }
 
7213
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7214
                 $as_echo "$as_val"'`
 
7215
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7216
$as_echo "$ac_res" >&6; }
6907
7217
 
6908
7218
fi
6909
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7219
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7220
                 $as_echo "$as_val"'`
 
7221
   if test "x$as_val" = x""yes; then
6910
7222
  cat >>confdefs.h <<_ACEOF
6911
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7223
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6912
7224
_ACEOF
6913
7225
 
6914
7226
fi
6918
7230
 
6919
7231
 
6920
7232
 
6921
 
{ echo "$as_me:$LINENO: checking for u_int16_t" >&5
6922
 
echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
 
7233
{ $as_echo "$as_me:$LINENO: checking for u_int16_t" >&5
 
7234
$as_echo_n "checking for u_int16_t... " >&6; }
6923
7235
if test "${ac_cv_type_u_int16_t+set}" = set; then
6924
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7236
  $as_echo_n "(cached) " >&6
6925
7237
else
 
7238
  ac_cv_type_u_int16_t=no
 
7239
cat >conftest.$ac_ext <<_ACEOF
 
7240
/* confdefs.h.  */
 
7241
_ACEOF
 
7242
cat confdefs.h >>conftest.$ac_ext
 
7243
cat >>conftest.$ac_ext <<_ACEOF
 
7244
/* end confdefs.h.  */
 
7245
$ac_includes_default
 
7246
int
 
7247
main ()
 
7248
{
 
7249
if (sizeof (u_int16_t))
 
7250
       return 0;
 
7251
  ;
 
7252
  return 0;
 
7253
}
 
7254
_ACEOF
 
7255
rm -f conftest.$ac_objext
 
7256
if { (ac_try="$ac_compile"
 
7257
case "(($ac_try" in
 
7258
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7259
  *) ac_try_echo=$ac_try;;
 
7260
esac
 
7261
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7262
$as_echo "$ac_try_echo") >&5
 
7263
  (eval "$ac_compile") 2>conftest.er1
 
7264
  ac_status=$?
 
7265
  grep -v '^ *+' conftest.er1 >conftest.err
 
7266
  rm -f conftest.er1
 
7267
  cat conftest.err >&5
 
7268
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7269
  (exit $ac_status); } && {
 
7270
         test -z "$ac_c_werror_flag" ||
 
7271
         test ! -s conftest.err
 
7272
       } && test -s conftest.$ac_objext; then
6926
7273
  cat >conftest.$ac_ext <<_ACEOF
6927
7274
/* confdefs.h.  */
6928
7275
_ACEOF
6930
7277
cat >>conftest.$ac_ext <<_ACEOF
6931
7278
/* end confdefs.h.  */
6932
7279
$ac_includes_default
6933
 
typedef u_int16_t ac__type_new_;
6934
7280
int
6935
7281
main ()
6936
7282
{
6937
 
if ((ac__type_new_ *) 0)
6938
 
  return 0;
6939
 
if (sizeof (ac__type_new_))
6940
 
  return 0;
 
7283
if (sizeof ((u_int16_t)))
 
7284
          return 0;
6941
7285
  ;
6942
7286
  return 0;
6943
7287
}
6948
7292
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949
7293
  *) ac_try_echo=$ac_try;;
6950
7294
esac
6951
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7295
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7296
$as_echo "$ac_try_echo") >&5
6952
7297
  (eval "$ac_compile") 2>conftest.er1
6953
7298
  ac_status=$?
6954
7299
  grep -v '^ *+' conftest.er1 >conftest.err
6955
7300
  rm -f conftest.er1
6956
7301
  cat conftest.err >&5
6957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7302
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958
7303
  (exit $ac_status); } && {
6959
7304
         test -z "$ac_c_werror_flag" ||
6960
7305
         test ! -s conftest.err
6961
7306
       } && test -s conftest.$ac_objext; then
6962
 
  ac_cv_type_u_int16_t=yes
6963
 
else
6964
 
  echo "$as_me: failed program was:" >&5
6965
 
sed 's/^/| /' conftest.$ac_ext >&5
6966
 
 
6967
 
        ac_cv_type_u_int16_t=no
6968
 
fi
6969
 
 
6970
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6971
 
fi
6972
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
6973
 
echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
6974
 
if test $ac_cv_type_u_int16_t = yes; then
 
7307
  :
 
7308
else
 
7309
  $as_echo "$as_me: failed program was:" >&5
 
7310
sed 's/^/| /' conftest.$ac_ext >&5
 
7311
 
 
7312
        ac_cv_type_u_int16_t=yes
 
7313
fi
 
7314
 
 
7315
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7316
else
 
7317
  $as_echo "$as_me: failed program was:" >&5
 
7318
sed 's/^/| /' conftest.$ac_ext >&5
 
7319
 
 
7320
 
 
7321
fi
 
7322
 
 
7323
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7324
fi
 
7325
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
 
7326
$as_echo "$ac_cv_type_u_int16_t" >&6; }
 
7327
if test "x$ac_cv_type_u_int16_t" = x""yes; then
6975
7328
 
6976
7329
cat >>confdefs.h <<_ACEOF
6977
7330
#define HAVE_U_INT16_T 1
6979
7332
 
6980
7333
 
6981
7334
else
6982
 
  { { echo "$as_me:$LINENO: error: Type u_int16_t must be available!" >&5
6983
 
echo "$as_me: error: Type u_int16_t must be available!" >&2;}
 
7335
  { { $as_echo "$as_me:$LINENO: error: Type u_int16_t must be available!" >&5
 
7336
$as_echo "$as_me: error: Type u_int16_t must be available!" >&2;}
6984
7337
   { (exit 1); exit 1; }; }
6985
7338
fi
6986
7339
 
6987
 
{ echo "$as_me:$LINENO: checking for u_int32_t" >&5
6988
 
echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
 
7340
{ $as_echo "$as_me:$LINENO: checking for u_int32_t" >&5
 
7341
$as_echo_n "checking for u_int32_t... " >&6; }
6989
7342
if test "${ac_cv_type_u_int32_t+set}" = set; then
6990
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7343
  $as_echo_n "(cached) " >&6
6991
7344
else
 
7345
  ac_cv_type_u_int32_t=no
 
7346
cat >conftest.$ac_ext <<_ACEOF
 
7347
/* confdefs.h.  */
 
7348
_ACEOF
 
7349
cat confdefs.h >>conftest.$ac_ext
 
7350
cat >>conftest.$ac_ext <<_ACEOF
 
7351
/* end confdefs.h.  */
 
7352
$ac_includes_default
 
7353
int
 
7354
main ()
 
7355
{
 
7356
if (sizeof (u_int32_t))
 
7357
       return 0;
 
7358
  ;
 
7359
  return 0;
 
7360
}
 
7361
_ACEOF
 
7362
rm -f conftest.$ac_objext
 
7363
if { (ac_try="$ac_compile"
 
7364
case "(($ac_try" in
 
7365
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7366
  *) ac_try_echo=$ac_try;;
 
7367
esac
 
7368
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7369
$as_echo "$ac_try_echo") >&5
 
7370
  (eval "$ac_compile") 2>conftest.er1
 
7371
  ac_status=$?
 
7372
  grep -v '^ *+' conftest.er1 >conftest.err
 
7373
  rm -f conftest.er1
 
7374
  cat conftest.err >&5
 
7375
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7376
  (exit $ac_status); } && {
 
7377
         test -z "$ac_c_werror_flag" ||
 
7378
         test ! -s conftest.err
 
7379
       } && test -s conftest.$ac_objext; then
6992
7380
  cat >conftest.$ac_ext <<_ACEOF
6993
7381
/* confdefs.h.  */
6994
7382
_ACEOF
6996
7384
cat >>conftest.$ac_ext <<_ACEOF
6997
7385
/* end confdefs.h.  */
6998
7386
$ac_includes_default
6999
 
typedef u_int32_t ac__type_new_;
7000
7387
int
7001
7388
main ()
7002
7389
{
7003
 
if ((ac__type_new_ *) 0)
7004
 
  return 0;
7005
 
if (sizeof (ac__type_new_))
7006
 
  return 0;
 
7390
if (sizeof ((u_int32_t)))
 
7391
          return 0;
7007
7392
  ;
7008
7393
  return 0;
7009
7394
}
7014
7399
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7015
7400
  *) ac_try_echo=$ac_try;;
7016
7401
esac
7017
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7402
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7403
$as_echo "$ac_try_echo") >&5
7018
7404
  (eval "$ac_compile") 2>conftest.er1
7019
7405
  ac_status=$?
7020
7406
  grep -v '^ *+' conftest.er1 >conftest.err
7021
7407
  rm -f conftest.er1
7022
7408
  cat conftest.err >&5
7023
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7409
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024
7410
  (exit $ac_status); } && {
7025
7411
         test -z "$ac_c_werror_flag" ||
7026
7412
         test ! -s conftest.err
7027
7413
       } && test -s conftest.$ac_objext; then
7028
 
  ac_cv_type_u_int32_t=yes
7029
 
else
7030
 
  echo "$as_me: failed program was:" >&5
7031
 
sed 's/^/| /' conftest.$ac_ext >&5
7032
 
 
7033
 
        ac_cv_type_u_int32_t=no
7034
 
fi
7035
 
 
7036
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7037
 
fi
7038
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
7039
 
echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
7040
 
if test $ac_cv_type_u_int32_t = yes; then
 
7414
  :
 
7415
else
 
7416
  $as_echo "$as_me: failed program was:" >&5
 
7417
sed 's/^/| /' conftest.$ac_ext >&5
 
7418
 
 
7419
        ac_cv_type_u_int32_t=yes
 
7420
fi
 
7421
 
 
7422
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7423
else
 
7424
  $as_echo "$as_me: failed program was:" >&5
 
7425
sed 's/^/| /' conftest.$ac_ext >&5
 
7426
 
 
7427
 
 
7428
fi
 
7429
 
 
7430
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7431
fi
 
7432
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
 
7433
$as_echo "$ac_cv_type_u_int32_t" >&6; }
 
7434
if test "x$ac_cv_type_u_int32_t" = x""yes; then
7041
7435
 
7042
7436
cat >>confdefs.h <<_ACEOF
7043
7437
#define HAVE_U_INT32_T 1
7045
7439
 
7046
7440
 
7047
7441
else
7048
 
  { { echo "$as_me:$LINENO: error: Type u_int32_t must be available!" >&5
7049
 
echo "$as_me: error: Type u_int32_t must be available!" >&2;}
 
7442
  { { $as_echo "$as_me:$LINENO: error: Type u_int32_t must be available!" >&5
 
7443
$as_echo "$as_me: error: Type u_int32_t must be available!" >&2;}
7050
7444
   { (exit 1); exit 1; }; }
7051
7445
fi
7052
7446
 
7053
 
{ echo "$as_me:$LINENO: checking for u_int64_t" >&5
7054
 
echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
 
7447
{ $as_echo "$as_me:$LINENO: checking for u_int64_t" >&5
 
7448
$as_echo_n "checking for u_int64_t... " >&6; }
7055
7449
if test "${ac_cv_type_u_int64_t+set}" = set; then
7056
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7450
  $as_echo_n "(cached) " >&6
7057
7451
else
 
7452
  ac_cv_type_u_int64_t=no
 
7453
cat >conftest.$ac_ext <<_ACEOF
 
7454
/* confdefs.h.  */
 
7455
_ACEOF
 
7456
cat confdefs.h >>conftest.$ac_ext
 
7457
cat >>conftest.$ac_ext <<_ACEOF
 
7458
/* end confdefs.h.  */
 
7459
$ac_includes_default
 
7460
int
 
7461
main ()
 
7462
{
 
7463
if (sizeof (u_int64_t))
 
7464
       return 0;
 
7465
  ;
 
7466
  return 0;
 
7467
}
 
7468
_ACEOF
 
7469
rm -f conftest.$ac_objext
 
7470
if { (ac_try="$ac_compile"
 
7471
case "(($ac_try" in
 
7472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7473
  *) ac_try_echo=$ac_try;;
 
7474
esac
 
7475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7476
$as_echo "$ac_try_echo") >&5
 
7477
  (eval "$ac_compile") 2>conftest.er1
 
7478
  ac_status=$?
 
7479
  grep -v '^ *+' conftest.er1 >conftest.err
 
7480
  rm -f conftest.er1
 
7481
  cat conftest.err >&5
 
7482
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7483
  (exit $ac_status); } && {
 
7484
         test -z "$ac_c_werror_flag" ||
 
7485
         test ! -s conftest.err
 
7486
       } && test -s conftest.$ac_objext; then
7058
7487
  cat >conftest.$ac_ext <<_ACEOF
7059
7488
/* confdefs.h.  */
7060
7489
_ACEOF
7062
7491
cat >>conftest.$ac_ext <<_ACEOF
7063
7492
/* end confdefs.h.  */
7064
7493
$ac_includes_default
7065
 
typedef u_int64_t ac__type_new_;
7066
7494
int
7067
7495
main ()
7068
7496
{
7069
 
if ((ac__type_new_ *) 0)
7070
 
  return 0;
7071
 
if (sizeof (ac__type_new_))
7072
 
  return 0;
 
7497
if (sizeof ((u_int64_t)))
 
7498
          return 0;
7073
7499
  ;
7074
7500
  return 0;
7075
7501
}
7080
7506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7081
7507
  *) ac_try_echo=$ac_try;;
7082
7508
esac
7083
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7509
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7510
$as_echo "$ac_try_echo") >&5
7084
7511
  (eval "$ac_compile") 2>conftest.er1
7085
7512
  ac_status=$?
7086
7513
  grep -v '^ *+' conftest.er1 >conftest.err
7087
7514
  rm -f conftest.er1
7088
7515
  cat conftest.err >&5
7089
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7516
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090
7517
  (exit $ac_status); } && {
7091
7518
         test -z "$ac_c_werror_flag" ||
7092
7519
         test ! -s conftest.err
7093
7520
       } && test -s conftest.$ac_objext; then
7094
 
  ac_cv_type_u_int64_t=yes
7095
 
else
7096
 
  echo "$as_me: failed program was:" >&5
7097
 
sed 's/^/| /' conftest.$ac_ext >&5
7098
 
 
7099
 
        ac_cv_type_u_int64_t=no
7100
 
fi
7101
 
 
7102
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7103
 
fi
7104
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
7105
 
echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
7106
 
if test $ac_cv_type_u_int64_t = yes; then
 
7521
  :
 
7522
else
 
7523
  $as_echo "$as_me: failed program was:" >&5
 
7524
sed 's/^/| /' conftest.$ac_ext >&5
 
7525
 
 
7526
        ac_cv_type_u_int64_t=yes
 
7527
fi
 
7528
 
 
7529
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7530
else
 
7531
  $as_echo "$as_me: failed program was:" >&5
 
7532
sed 's/^/| /' conftest.$ac_ext >&5
 
7533
 
 
7534
 
 
7535
fi
 
7536
 
 
7537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7538
fi
 
7539
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
 
7540
$as_echo "$ac_cv_type_u_int64_t" >&6; }
 
7541
if test "x$ac_cv_type_u_int64_t" = x""yes; then
7107
7542
 
7108
7543
cat >>confdefs.h <<_ACEOF
7109
7544
#define HAVE_U_INT64_T 1
7116
7551
# Checks for libraries.
7117
7552
 
7118
7553
 
7119
 
{ echo "$as_me:$LINENO: checking for isnan in -lm" >&5
7120
 
echo $ECHO_N "checking for isnan in -lm... $ECHO_C" >&6; }
 
7554
{ $as_echo "$as_me:$LINENO: checking for isnan in -lm" >&5
 
7555
$as_echo_n "checking for isnan in -lm... " >&6; }
7121
7556
if test "${ac_cv_lib_m_isnan+set}" = set; then
7122
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7557
  $as_echo_n "(cached) " >&6
7123
7558
else
7124
7559
  ac_check_lib_save_LIBS=$LIBS
7125
7560
LIBS="-lm  $LIBS"
7151
7586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7152
7587
  *) ac_try_echo=$ac_try;;
7153
7588
esac
7154
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7589
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7590
$as_echo "$ac_try_echo") >&5
7155
7591
  (eval "$ac_link") 2>conftest.er1
7156
7592
  ac_status=$?
7157
7593
  grep -v '^ *+' conftest.er1 >conftest.err
7158
7594
  rm -f conftest.er1
7159
7595
  cat conftest.err >&5
7160
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7596
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161
7597
  (exit $ac_status); } && {
7162
7598
         test -z "$ac_c_werror_flag" ||
7163
7599
         test ! -s conftest.err
7164
 
       } && test -s conftest$ac_exeext &&
7165
 
       $as_test_x conftest$ac_exeext; then
 
7600
       } && test -s conftest$ac_exeext && {
 
7601
         test "$cross_compiling" = yes ||
 
7602
         $as_test_x conftest$ac_exeext
 
7603
       }; then
7166
7604
  ac_cv_lib_m_isnan=yes
7167
7605
else
7168
 
  echo "$as_me: failed program was:" >&5
 
7606
  $as_echo "$as_me: failed program was:" >&5
7169
7607
sed 's/^/| /' conftest.$ac_ext >&5
7170
7608
 
7171
7609
        ac_cv_lib_m_isnan=no
7172
7610
fi
7173
7611
 
 
7612
rm -rf conftest.dSYM
7174
7613
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7175
7614
      conftest$ac_exeext conftest.$ac_ext
7176
7615
LIBS=$ac_check_lib_save_LIBS
7177
7616
fi
7178
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5
7179
 
echo "${ECHO_T}$ac_cv_lib_m_isnan" >&6; }
7180
 
if test $ac_cv_lib_m_isnan = yes; then
 
7617
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5
 
7618
$as_echo "$ac_cv_lib_m_isnan" >&6; }
 
7619
if test "x$ac_cv_lib_m_isnan" = x""yes; then
7181
7620
  cat >>confdefs.h <<_ACEOF
7182
7621
#define HAVE_LIBM 1
7183
7622
_ACEOF
7187
7626
fi
7188
7627
 
7189
7628
 
7190
 
{ echo "$as_me:$LINENO: checking for deflate in -lz" >&5
7191
 
echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
 
7629
{ $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
 
7630
$as_echo_n "checking for deflate in -lz... " >&6; }
7192
7631
if test "${ac_cv_lib_z_deflate+set}" = set; then
7193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7632
  $as_echo_n "(cached) " >&6
7194
7633
else
7195
7634
  ac_check_lib_save_LIBS=$LIBS
7196
7635
LIBS="-lz  $LIBS"
7222
7661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7223
7662
  *) ac_try_echo=$ac_try;;
7224
7663
esac
7225
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7664
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7665
$as_echo "$ac_try_echo") >&5
7226
7666
  (eval "$ac_link") 2>conftest.er1
7227
7667
  ac_status=$?
7228
7668
  grep -v '^ *+' conftest.er1 >conftest.err
7229
7669
  rm -f conftest.er1
7230
7670
  cat conftest.err >&5
7231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7671
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232
7672
  (exit $ac_status); } && {
7233
7673
         test -z "$ac_c_werror_flag" ||
7234
7674
         test ! -s conftest.err
7235
 
       } && test -s conftest$ac_exeext &&
7236
 
       $as_test_x conftest$ac_exeext; then
 
7675
       } && test -s conftest$ac_exeext && {
 
7676
         test "$cross_compiling" = yes ||
 
7677
         $as_test_x conftest$ac_exeext
 
7678
       }; then
7237
7679
  ac_cv_lib_z_deflate=yes
7238
7680
else
7239
 
  echo "$as_me: failed program was:" >&5
 
7681
  $as_echo "$as_me: failed program was:" >&5
7240
7682
sed 's/^/| /' conftest.$ac_ext >&5
7241
7683
 
7242
7684
        ac_cv_lib_z_deflate=no
7243
7685
fi
7244
7686
 
 
7687
rm -rf conftest.dSYM
7245
7688
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7246
7689
      conftest$ac_exeext conftest.$ac_ext
7247
7690
LIBS=$ac_check_lib_save_LIBS
7248
7691
fi
7249
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
7250
 
echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
7251
 
if test $ac_cv_lib_z_deflate = yes; then
 
7692
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
 
7693
$as_echo "$ac_cv_lib_z_deflate" >&6; }
 
7694
if test "x$ac_cv_lib_z_deflate" = x""yes; then
7252
7695
  cat >>confdefs.h <<_ACEOF
7253
7696
#define HAVE_LIBZ 1
7254
7697
_ACEOF
7256
7699
  LIBS="-lz $LIBS"
7257
7700
 
7258
7701
else
7259
 
  { { echo "$as_me:$LINENO: error: Can't find zlib" >&5
7260
 
echo "$as_me: error: Can't find zlib" >&2;}
 
7702
  { { $as_echo "$as_me:$LINENO: error: Can't find zlib" >&5
 
7703
$as_echo "$as_me: error: Can't find zlib" >&2;}
7261
7704
   { (exit 1); exit 1; }; }
7262
7705
fi
7263
7706
 
7264
7707
 
7265
 
{ echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
7266
 
echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6; }
 
7708
{ $as_echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
 
7709
$as_echo_n "checking for IceOpenConnection in -lICE... " >&6; }
7267
7710
if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
7268
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7711
  $as_echo_n "(cached) " >&6
7269
7712
else
7270
7713
  ac_check_lib_save_LIBS=$LIBS
7271
7714
LIBS="-lICE  $LIBS"
7297
7740
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7298
7741
  *) ac_try_echo=$ac_try;;
7299
7742
esac
7300
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7743
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7744
$as_echo "$ac_try_echo") >&5
7301
7745
  (eval "$ac_link") 2>conftest.er1
7302
7746
  ac_status=$?
7303
7747
  grep -v '^ *+' conftest.er1 >conftest.err
7304
7748
  rm -f conftest.er1
7305
7749
  cat conftest.err >&5
7306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7750
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307
7751
  (exit $ac_status); } && {
7308
7752
         test -z "$ac_c_werror_flag" ||
7309
7753
         test ! -s conftest.err
7310
 
       } && test -s conftest$ac_exeext &&
7311
 
       $as_test_x conftest$ac_exeext; then
 
7754
       } && test -s conftest$ac_exeext && {
 
7755
         test "$cross_compiling" = yes ||
 
7756
         $as_test_x conftest$ac_exeext
 
7757
       }; then
7312
7758
  ac_cv_lib_ICE_IceOpenConnection=yes
7313
7759
else
7314
 
  echo "$as_me: failed program was:" >&5
 
7760
  $as_echo "$as_me: failed program was:" >&5
7315
7761
sed 's/^/| /' conftest.$ac_ext >&5
7316
7762
 
7317
7763
        ac_cv_lib_ICE_IceOpenConnection=no
7318
7764
fi
7319
7765
 
 
7766
rm -rf conftest.dSYM
7320
7767
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7321
7768
      conftest$ac_exeext conftest.$ac_ext
7322
7769
LIBS=$ac_check_lib_save_LIBS
7323
7770
fi
7324
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
7325
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6; }
7326
 
if test $ac_cv_lib_ICE_IceOpenConnection = yes; then
 
7771
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
 
7772
$as_echo "$ac_cv_lib_ICE_IceOpenConnection" >&6; }
 
7773
if test "x$ac_cv_lib_ICE_IceOpenConnection" = x""yes; then
7327
7774
  cat >>confdefs.h <<_ACEOF
7328
7775
#define HAVE_LIBICE 1
7329
7776
_ACEOF
7331
7778
  LIBS="-lICE $LIBS"
7332
7779
 
7333
7780
else
7334
 
  { { echo "$as_me:$LINENO: error: Can't find libICE" >&5
7335
 
echo "$as_me: error: Can't find libICE" >&2;}
 
7781
  { { $as_echo "$as_me:$LINENO: error: Can't find libICE" >&5
 
7782
$as_echo "$as_me: error: Can't find libICE" >&2;}
7336
7783
   { (exit 1); exit 1; }; }
7337
7784
fi
7338
7785
 
7339
7786
 
7340
 
{ echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
7341
 
echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
 
7787
{ $as_echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
 
7788
$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
7342
7789
if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7343
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7790
  $as_echo_n "(cached) " >&6
7344
7791
else
7345
7792
  ac_check_lib_save_LIBS=$LIBS
7346
7793
LIBS="-lSM  $LIBS"
7372
7819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7373
7820
  *) ac_try_echo=$ac_try;;
7374
7821
esac
7375
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7822
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7823
$as_echo "$ac_try_echo") >&5
7376
7824
  (eval "$ac_link") 2>conftest.er1
7377
7825
  ac_status=$?
7378
7826
  grep -v '^ *+' conftest.er1 >conftest.err
7379
7827
  rm -f conftest.er1
7380
7828
  cat conftest.err >&5
7381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7829
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382
7830
  (exit $ac_status); } && {
7383
7831
         test -z "$ac_c_werror_flag" ||
7384
7832
         test ! -s conftest.err
7385
 
       } && test -s conftest$ac_exeext &&
7386
 
       $as_test_x conftest$ac_exeext; then
 
7833
       } && test -s conftest$ac_exeext && {
 
7834
         test "$cross_compiling" = yes ||
 
7835
         $as_test_x conftest$ac_exeext
 
7836
       }; then
7387
7837
  ac_cv_lib_SM_SmcOpenConnection=yes
7388
7838
else
7389
 
  echo "$as_me: failed program was:" >&5
 
7839
  $as_echo "$as_me: failed program was:" >&5
7390
7840
sed 's/^/| /' conftest.$ac_ext >&5
7391
7841
 
7392
7842
        ac_cv_lib_SM_SmcOpenConnection=no
7393
7843
fi
7394
7844
 
 
7845
rm -rf conftest.dSYM
7395
7846
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7396
7847
      conftest$ac_exeext conftest.$ac_ext
7397
7848
LIBS=$ac_check_lib_save_LIBS
7398
7849
fi
7399
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7400
 
echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
7401
 
if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
 
7850
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
 
7851
$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
 
7852
if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then
7402
7853
  cat >>confdefs.h <<_ACEOF
7403
7854
#define HAVE_LIBSM 1
7404
7855
_ACEOF
7406
7857
  LIBS="-lSM $LIBS"
7407
7858
 
7408
7859
else
7409
 
  { { echo "$as_me:$LINENO: error: Can't find libSM" >&5
7410
 
echo "$as_me: error: Can't find libSM" >&2;}
 
7860
  { { $as_echo "$as_me:$LINENO: error: Can't find libSM" >&5
 
7861
$as_echo "$as_me: error: Can't find libSM" >&2;}
7411
7862
   { (exit 1); exit 1; }; }
7412
7863
fi
7413
7864
 
7414
7865
 
7415
 
{ echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
7416
 
echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6; }
 
7866
{ $as_echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
 
7867
$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
7417
7868
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
7418
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7869
  $as_echo_n "(cached) " >&6
7419
7870
else
7420
7871
  ac_check_lib_save_LIBS=$LIBS
7421
7872
LIBS="-lX11 -L$x_libraries $X_PRE_LIBS $LIBS"
7447
7898
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448
7899
  *) ac_try_echo=$ac_try;;
7449
7900
esac
7450
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7901
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7902
$as_echo "$ac_try_echo") >&5
7451
7903
  (eval "$ac_link") 2>conftest.er1
7452
7904
  ac_status=$?
7453
7905
  grep -v '^ *+' conftest.er1 >conftest.err
7454
7906
  rm -f conftest.er1
7455
7907
  cat conftest.err >&5
7456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7908
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457
7909
  (exit $ac_status); } && {
7458
7910
         test -z "$ac_c_werror_flag" ||
7459
7911
         test ! -s conftest.err
7460
 
       } && test -s conftest$ac_exeext &&
7461
 
       $as_test_x conftest$ac_exeext; then
 
7912
       } && test -s conftest$ac_exeext && {
 
7913
         test "$cross_compiling" = yes ||
 
7914
         $as_test_x conftest$ac_exeext
 
7915
       }; then
7462
7916
  ac_cv_lib_X11_XOpenDisplay=yes
7463
7917
else
7464
 
  echo "$as_me: failed program was:" >&5
 
7918
  $as_echo "$as_me: failed program was:" >&5
7465
7919
sed 's/^/| /' conftest.$ac_ext >&5
7466
7920
 
7467
7921
        ac_cv_lib_X11_XOpenDisplay=no
7468
7922
fi
7469
7923
 
 
7924
rm -rf conftest.dSYM
7470
7925
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7471
7926
      conftest$ac_exeext conftest.$ac_ext
7472
7927
LIBS=$ac_check_lib_save_LIBS
7473
7928
fi
7474
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
7475
 
echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6; }
7476
 
if test $ac_cv_lib_X11_XOpenDisplay = yes; then
 
7929
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
 
7930
$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
 
7931
if test "x$ac_cv_lib_X11_XOpenDisplay" = x""yes; then
7477
7932
  cat >>confdefs.h <<_ACEOF
7478
7933
#define HAVE_LIBX11 1
7479
7934
_ACEOF
7481
7936
  LIBS="-lX11 $LIBS"
7482
7937
 
7483
7938
else
7484
 
  { { echo "$as_me:$LINENO: error: Can't find libX11" >&5
7485
 
echo "$as_me: error: Can't find libX11" >&2;}
 
7939
  { { $as_echo "$as_me:$LINENO: error: Can't find libX11" >&5
 
7940
$as_echo "$as_me: error: Can't find libX11" >&2;}
7486
7941
   { (exit 1); exit 1; }; }
7487
7942
fi
7488
7943
 
7489
7944
 
7490
 
{ echo "$as_me:$LINENO: checking for XShmQueryVersion in -lXext" >&5
7491
 
echo $ECHO_N "checking for XShmQueryVersion in -lXext... $ECHO_C" >&6; }
 
7945
{ $as_echo "$as_me:$LINENO: checking for XShmQueryVersion in -lXext" >&5
 
7946
$as_echo_n "checking for XShmQueryVersion in -lXext... " >&6; }
7492
7947
if test "${ac_cv_lib_Xext_XShmQueryVersion+set}" = set; then
7493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7948
  $as_echo_n "(cached) " >&6
7494
7949
else
7495
7950
  ac_check_lib_save_LIBS=$LIBS
7496
7951
LIBS="-lXext  $LIBS"
7522
7977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7523
7978
  *) ac_try_echo=$ac_try;;
7524
7979
esac
7525
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7980
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7981
$as_echo "$ac_try_echo") >&5
7526
7982
  (eval "$ac_link") 2>conftest.er1
7527
7983
  ac_status=$?
7528
7984
  grep -v '^ *+' conftest.er1 >conftest.err
7529
7985
  rm -f conftest.er1
7530
7986
  cat conftest.err >&5
7531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532
7988
  (exit $ac_status); } && {
7533
7989
         test -z "$ac_c_werror_flag" ||
7534
7990
         test ! -s conftest.err
7535
 
       } && test -s conftest$ac_exeext &&
7536
 
       $as_test_x conftest$ac_exeext; then
 
7991
       } && test -s conftest$ac_exeext && {
 
7992
         test "$cross_compiling" = yes ||
 
7993
         $as_test_x conftest$ac_exeext
 
7994
       }; then
7537
7995
  ac_cv_lib_Xext_XShmQueryVersion=yes
7538
7996
else
7539
 
  echo "$as_me: failed program was:" >&5
 
7997
  $as_echo "$as_me: failed program was:" >&5
7540
7998
sed 's/^/| /' conftest.$ac_ext >&5
7541
7999
 
7542
8000
        ac_cv_lib_Xext_XShmQueryVersion=no
7543
8001
fi
7544
8002
 
 
8003
rm -rf conftest.dSYM
7545
8004
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7546
8005
      conftest$ac_exeext conftest.$ac_ext
7547
8006
LIBS=$ac_check_lib_save_LIBS
7548
8007
fi
7549
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryVersion" >&5
7550
 
echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryVersion" >&6; }
7551
 
if test $ac_cv_lib_Xext_XShmQueryVersion = yes; then
 
8008
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryVersion" >&5
 
8009
$as_echo "$ac_cv_lib_Xext_XShmQueryVersion" >&6; }
 
8010
if test "x$ac_cv_lib_Xext_XShmQueryVersion" = x""yes; then
7552
8011
  cat >>confdefs.h <<_ACEOF
7553
8012
#define HAVE_LIBXEXT 1
7554
8013
_ACEOF
7556
8015
  LIBS="-lXext $LIBS"
7557
8016
 
7558
8017
else
7559
 
  { { echo "$as_me:$LINENO: error: Can't find libXext" >&5
7560
 
echo "$as_me: error: Can't find libXext" >&2;}
 
8018
  { { $as_echo "$as_me:$LINENO: error: Can't find libXext" >&5
 
8019
$as_echo "$as_me: error: Can't find libXext" >&2;}
7561
8020
   { (exit 1); exit 1; }; }
7562
8021
fi
7563
8022
 
7564
8023
 
7565
 
{ echo "$as_me:$LINENO: checking for XFixesQueryExtension in -lXfixes" >&5
7566
 
echo $ECHO_N "checking for XFixesQueryExtension in -lXfixes... $ECHO_C" >&6; }
 
8024
{ $as_echo "$as_me:$LINENO: checking for XFixesQueryExtension in -lXfixes" >&5
 
8025
$as_echo_n "checking for XFixesQueryExtension in -lXfixes... " >&6; }
7567
8026
if test "${ac_cv_lib_Xfixes_XFixesQueryExtension+set}" = set; then
7568
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8027
  $as_echo_n "(cached) " >&6
7569
8028
else
7570
8029
  ac_check_lib_save_LIBS=$LIBS
7571
8030
LIBS="-lXfixes  $LIBS"
7597
8056
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7598
8057
  *) ac_try_echo=$ac_try;;
7599
8058
esac
7600
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8059
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8060
$as_echo "$ac_try_echo") >&5
7601
8061
  (eval "$ac_link") 2>conftest.er1
7602
8062
  ac_status=$?
7603
8063
  grep -v '^ *+' conftest.er1 >conftest.err
7604
8064
  rm -f conftest.er1
7605
8065
  cat conftest.err >&5
7606
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8066
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607
8067
  (exit $ac_status); } && {
7608
8068
         test -z "$ac_c_werror_flag" ||
7609
8069
         test ! -s conftest.err
7610
 
       } && test -s conftest$ac_exeext &&
7611
 
       $as_test_x conftest$ac_exeext; then
 
8070
       } && test -s conftest$ac_exeext && {
 
8071
         test "$cross_compiling" = yes ||
 
8072
         $as_test_x conftest$ac_exeext
 
8073
       }; then
7612
8074
  ac_cv_lib_Xfixes_XFixesQueryExtension=yes
7613
8075
else
7614
 
  echo "$as_me: failed program was:" >&5
 
8076
  $as_echo "$as_me: failed program was:" >&5
7615
8077
sed 's/^/| /' conftest.$ac_ext >&5
7616
8078
 
7617
8079
        ac_cv_lib_Xfixes_XFixesQueryExtension=no
7618
8080
fi
7619
8081
 
 
8082
rm -rf conftest.dSYM
7620
8083
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7621
8084
      conftest$ac_exeext conftest.$ac_ext
7622
8085
LIBS=$ac_check_lib_save_LIBS
7623
8086
fi
7624
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xfixes_XFixesQueryExtension" >&5
7625
 
echo "${ECHO_T}$ac_cv_lib_Xfixes_XFixesQueryExtension" >&6; }
7626
 
if test $ac_cv_lib_Xfixes_XFixesQueryExtension = yes; then
 
8087
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xfixes_XFixesQueryExtension" >&5
 
8088
$as_echo "$ac_cv_lib_Xfixes_XFixesQueryExtension" >&6; }
 
8089
if test "x$ac_cv_lib_Xfixes_XFixesQueryExtension" = x""yes; then
7627
8090
  cat >>confdefs.h <<_ACEOF
7628
8091
#define HAVE_LIBXFIXES 1
7629
8092
_ACEOF
7631
8094
  LIBS="-lXfixes $LIBS"
7632
8095
 
7633
8096
else
7634
 
  { { echo "$as_me:$LINENO: error: Can't find libXfixes" >&5
7635
 
echo "$as_me: error: Can't find libXfixes" >&2;}
 
8097
  { { $as_echo "$as_me:$LINENO: error: Can't find libXfixes" >&5
 
8098
$as_echo "$as_me: error: Can't find libXfixes" >&2;}
7636
8099
   { (exit 1); exit 1; }; }
7637
8100
fi
7638
8101
 
7639
8102
 
7640
 
{ echo "$as_me:$LINENO: checking for XDamageQueryExtension in -lXdamage" >&5
7641
 
echo $ECHO_N "checking for XDamageQueryExtension in -lXdamage... $ECHO_C" >&6; }
 
8103
{ $as_echo "$as_me:$LINENO: checking for XDamageQueryExtension in -lXdamage" >&5
 
8104
$as_echo_n "checking for XDamageQueryExtension in -lXdamage... " >&6; }
7642
8105
if test "${ac_cv_lib_Xdamage_XDamageQueryExtension+set}" = set; then
7643
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8106
  $as_echo_n "(cached) " >&6
7644
8107
else
7645
8108
  ac_check_lib_save_LIBS=$LIBS
7646
8109
LIBS="-lXdamage  $LIBS"
7672
8135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7673
8136
  *) ac_try_echo=$ac_try;;
7674
8137
esac
7675
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8138
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8139
$as_echo "$ac_try_echo") >&5
7676
8140
  (eval "$ac_link") 2>conftest.er1
7677
8141
  ac_status=$?
7678
8142
  grep -v '^ *+' conftest.er1 >conftest.err
7679
8143
  rm -f conftest.er1
7680
8144
  cat conftest.err >&5
7681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8145
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682
8146
  (exit $ac_status); } && {
7683
8147
         test -z "$ac_c_werror_flag" ||
7684
8148
         test ! -s conftest.err
7685
 
       } && test -s conftest$ac_exeext &&
7686
 
       $as_test_x conftest$ac_exeext; then
 
8149
       } && test -s conftest$ac_exeext && {
 
8150
         test "$cross_compiling" = yes ||
 
8151
         $as_test_x conftest$ac_exeext
 
8152
       }; then
7687
8153
  ac_cv_lib_Xdamage_XDamageQueryExtension=yes
7688
8154
else
7689
 
  echo "$as_me: failed program was:" >&5
 
8155
  $as_echo "$as_me: failed program was:" >&5
7690
8156
sed 's/^/| /' conftest.$ac_ext >&5
7691
8157
 
7692
8158
        ac_cv_lib_Xdamage_XDamageQueryExtension=no
7693
8159
fi
7694
8160
 
 
8161
rm -rf conftest.dSYM
7695
8162
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7696
8163
      conftest$ac_exeext conftest.$ac_ext
7697
8164
LIBS=$ac_check_lib_save_LIBS
7698
8165
fi
7699
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xdamage_XDamageQueryExtension" >&5
7700
 
echo "${ECHO_T}$ac_cv_lib_Xdamage_XDamageQueryExtension" >&6; }
7701
 
if test $ac_cv_lib_Xdamage_XDamageQueryExtension = yes; then
 
8166
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xdamage_XDamageQueryExtension" >&5
 
8167
$as_echo "$ac_cv_lib_Xdamage_XDamageQueryExtension" >&6; }
 
8168
if test "x$ac_cv_lib_Xdamage_XDamageQueryExtension" = x""yes; then
7702
8169
  cat >>confdefs.h <<_ACEOF
7703
8170
#define HAVE_LIBXDAMAGE 1
7704
8171
_ACEOF
7706
8173
  LIBS="-lXdamage $LIBS"
7707
8174
 
7708
8175
else
7709
 
  { { echo "$as_me:$LINENO: error: Can't find libXdamage" >&5
7710
 
echo "$as_me: error: Can't find libXdamage" >&2;}
 
8176
  { { $as_echo "$as_me:$LINENO: error: Can't find libXdamage" >&5
 
8177
$as_echo "$as_me: error: Can't find libXdamage" >&2;}
7711
8178
   { (exit 1); exit 1; }; }
7712
8179
fi
7713
8180
 
7714
8181
 
7715
 
{ echo "$as_me:$LINENO: checking for vorbis_info_clear in -lvorbis" >&5
7716
 
echo $ECHO_N "checking for vorbis_info_clear in -lvorbis... $ECHO_C" >&6; }
 
8182
{ $as_echo "$as_me:$LINENO: checking for vorbis_info_clear in -lvorbis" >&5
 
8183
$as_echo_n "checking for vorbis_info_clear in -lvorbis... " >&6; }
7717
8184
if test "${ac_cv_lib_vorbis_vorbis_info_clear+set}" = set; then
7718
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8185
  $as_echo_n "(cached) " >&6
7719
8186
else
7720
8187
  ac_check_lib_save_LIBS=$LIBS
7721
8188
LIBS="-lvorbis  $LIBS"
7747
8214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7748
8215
  *) ac_try_echo=$ac_try;;
7749
8216
esac
7750
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8217
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8218
$as_echo "$ac_try_echo") >&5
7751
8219
  (eval "$ac_link") 2>conftest.er1
7752
8220
  ac_status=$?
7753
8221
  grep -v '^ *+' conftest.er1 >conftest.err
7754
8222
  rm -f conftest.er1
7755
8223
  cat conftest.err >&5
7756
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8224
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757
8225
  (exit $ac_status); } && {
7758
8226
         test -z "$ac_c_werror_flag" ||
7759
8227
         test ! -s conftest.err
7760
 
       } && test -s conftest$ac_exeext &&
7761
 
       $as_test_x conftest$ac_exeext; then
 
8228
       } && test -s conftest$ac_exeext && {
 
8229
         test "$cross_compiling" = yes ||
 
8230
         $as_test_x conftest$ac_exeext
 
8231
       }; then
7762
8232
  ac_cv_lib_vorbis_vorbis_info_clear=yes
7763
8233
else
7764
 
  echo "$as_me: failed program was:" >&5
 
8234
  $as_echo "$as_me: failed program was:" >&5
7765
8235
sed 's/^/| /' conftest.$ac_ext >&5
7766
8236
 
7767
8237
        ac_cv_lib_vorbis_vorbis_info_clear=no
7768
8238
fi
7769
8239
 
 
8240
rm -rf conftest.dSYM
7770
8241
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7771
8242
      conftest$ac_exeext conftest.$ac_ext
7772
8243
LIBS=$ac_check_lib_save_LIBS
7773
8244
fi
7774
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_clear" >&5
7775
 
echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_clear" >&6; }
7776
 
if test $ac_cv_lib_vorbis_vorbis_info_clear = yes; then
 
8245
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_clear" >&5
 
8246
$as_echo "$ac_cv_lib_vorbis_vorbis_info_clear" >&6; }
 
8247
if test "x$ac_cv_lib_vorbis_vorbis_info_clear" = x""yes; then
7777
8248
  cat >>confdefs.h <<_ACEOF
7778
8249
#define HAVE_LIBVORBIS 1
7779
8250
_ACEOF
7781
8252
  LIBS="-lvorbis $LIBS"
7782
8253
 
7783
8254
else
7784
 
  { { echo "$as_me:$LINENO: error: Can't find libvorbis" >&5
7785
 
echo "$as_me: error: Can't find libvorbis" >&2;}
 
8255
  { { $as_echo "$as_me:$LINENO: error: Can't find libvorbis" >&5
 
8256
$as_echo "$as_me: error: Can't find libvorbis" >&2;}
7786
8257
   { (exit 1); exit 1; }; }
7787
8258
fi
7788
8259
 
7789
8260
 
7790
 
{ echo "$as_me:$LINENO: checking for ov_open in -lvorbisfile" >&5
7791
 
echo $ECHO_N "checking for ov_open in -lvorbisfile... $ECHO_C" >&6; }
 
8261
{ $as_echo "$as_me:$LINENO: checking for ov_open in -lvorbisfile" >&5
 
8262
$as_echo_n "checking for ov_open in -lvorbisfile... " >&6; }
7792
8263
if test "${ac_cv_lib_vorbisfile_ov_open+set}" = set; then
7793
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8264
  $as_echo_n "(cached) " >&6
7794
8265
else
7795
8266
  ac_check_lib_save_LIBS=$LIBS
7796
8267
LIBS="-lvorbisfile -lvorbis $LIBS"
7822
8293
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7823
8294
  *) ac_try_echo=$ac_try;;
7824
8295
esac
7825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8296
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8297
$as_echo "$ac_try_echo") >&5
7826
8298
  (eval "$ac_link") 2>conftest.er1
7827
8299
  ac_status=$?
7828
8300
  grep -v '^ *+' conftest.er1 >conftest.err
7829
8301
  rm -f conftest.er1
7830
8302
  cat conftest.err >&5
7831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8303
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832
8304
  (exit $ac_status); } && {
7833
8305
         test -z "$ac_c_werror_flag" ||
7834
8306
         test ! -s conftest.err
7835
 
       } && test -s conftest$ac_exeext &&
7836
 
       $as_test_x conftest$ac_exeext; then
 
8307
       } && test -s conftest$ac_exeext && {
 
8308
         test "$cross_compiling" = yes ||
 
8309
         $as_test_x conftest$ac_exeext
 
8310
       }; then
7837
8311
  ac_cv_lib_vorbisfile_ov_open=yes
7838
8312
else
7839
 
  echo "$as_me: failed program was:" >&5
 
8313
  $as_echo "$as_me: failed program was:" >&5
7840
8314
sed 's/^/| /' conftest.$ac_ext >&5
7841
8315
 
7842
8316
        ac_cv_lib_vorbisfile_ov_open=no
7843
8317
fi
7844
8318
 
 
8319
rm -rf conftest.dSYM
7845
8320
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7846
8321
      conftest$ac_exeext conftest.$ac_ext
7847
8322
LIBS=$ac_check_lib_save_LIBS
7848
8323
fi
7849
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open" >&5
7850
 
echo "${ECHO_T}$ac_cv_lib_vorbisfile_ov_open" >&6; }
7851
 
if test $ac_cv_lib_vorbisfile_ov_open = yes; then
 
8324
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open" >&5
 
8325
$as_echo "$ac_cv_lib_vorbisfile_ov_open" >&6; }
 
8326
if test "x$ac_cv_lib_vorbisfile_ov_open" = x""yes; then
7852
8327
  cat >>confdefs.h <<_ACEOF
7853
8328
#define HAVE_LIBVORBISFILE 1
7854
8329
_ACEOF
7856
8331
  LIBS="-lvorbisfile $LIBS"
7857
8332
 
7858
8333
else
7859
 
  { { echo "$as_me:$LINENO: error: Can't find libvorbisfile" >&5
7860
 
echo "$as_me: error: Can't find libvorbisfile" >&2;}
 
8334
  { { $as_echo "$as_me:$LINENO: error: Can't find libvorbisfile" >&5
 
8335
$as_echo "$as_me: error: Can't find libvorbisfile" >&2;}
7861
8336
   { (exit 1); exit 1; }; }
7862
8337
fi
7863
8338
 
7864
8339
 
7865
 
{ echo "$as_me:$LINENO: checking for vorbis_encode_init in -lvorbisenc" >&5
7866
 
echo $ECHO_N "checking for vorbis_encode_init in -lvorbisenc... $ECHO_C" >&6; }
 
8340
{ $as_echo "$as_me:$LINENO: checking for vorbis_encode_init in -lvorbisenc" >&5
 
8341
$as_echo_n "checking for vorbis_encode_init in -lvorbisenc... " >&6; }
7867
8342
if test "${ac_cv_lib_vorbisenc_vorbis_encode_init+set}" = set; then
7868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8343
  $as_echo_n "(cached) " >&6
7869
8344
else
7870
8345
  ac_check_lib_save_LIBS=$LIBS
7871
8346
LIBS="-lvorbisenc -lvorbis $LIBS"
7897
8372
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7898
8373
  *) ac_try_echo=$ac_try;;
7899
8374
esac
7900
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8375
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8376
$as_echo "$ac_try_echo") >&5
7901
8377
  (eval "$ac_link") 2>conftest.er1
7902
8378
  ac_status=$?
7903
8379
  grep -v '^ *+' conftest.er1 >conftest.err
7904
8380
  rm -f conftest.er1
7905
8381
  cat conftest.err >&5
7906
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8382
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907
8383
  (exit $ac_status); } && {
7908
8384
         test -z "$ac_c_werror_flag" ||
7909
8385
         test ! -s conftest.err
7910
 
       } && test -s conftest$ac_exeext &&
7911
 
       $as_test_x conftest$ac_exeext; then
 
8386
       } && test -s conftest$ac_exeext && {
 
8387
         test "$cross_compiling" = yes ||
 
8388
         $as_test_x conftest$ac_exeext
 
8389
       }; then
7912
8390
  ac_cv_lib_vorbisenc_vorbis_encode_init=yes
7913
8391
else
7914
 
  echo "$as_me: failed program was:" >&5
 
8392
  $as_echo "$as_me: failed program was:" >&5
7915
8393
sed 's/^/| /' conftest.$ac_ext >&5
7916
8394
 
7917
8395
        ac_cv_lib_vorbisenc_vorbis_encode_init=no
7918
8396
fi
7919
8397
 
 
8398
rm -rf conftest.dSYM
7920
8399
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7921
8400
      conftest$ac_exeext conftest.$ac_ext
7922
8401
LIBS=$ac_check_lib_save_LIBS
7923
8402
fi
7924
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisenc_vorbis_encode_init" >&5
7925
 
echo "${ECHO_T}$ac_cv_lib_vorbisenc_vorbis_encode_init" >&6; }
7926
 
if test $ac_cv_lib_vorbisenc_vorbis_encode_init = yes; then
 
8403
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisenc_vorbis_encode_init" >&5
 
8404
$as_echo "$ac_cv_lib_vorbisenc_vorbis_encode_init" >&6; }
 
8405
if test "x$ac_cv_lib_vorbisenc_vorbis_encode_init" = x""yes; then
7927
8406
  cat >>confdefs.h <<_ACEOF
7928
8407
#define HAVE_LIBVORBISENC 1
7929
8408
_ACEOF
7931
8410
  LIBS="-lvorbisenc $LIBS"
7932
8411
 
7933
8412
else
7934
 
  { { echo "$as_me:$LINENO: error: Can't find libvorbisenc" >&5
7935
 
echo "$as_me: error: Can't find libvorbisenc" >&2;}
 
8413
  { { $as_echo "$as_me:$LINENO: error: Can't find libvorbisenc" >&5
 
8414
$as_echo "$as_me: error: Can't find libvorbisenc" >&2;}
7936
8415
   { (exit 1); exit 1; }; }
7937
8416
fi
7938
8417
 
7939
8418
 
7940
 
{ echo "$as_me:$LINENO: checking for ogg_stream_init in -logg" >&5
7941
 
echo $ECHO_N "checking for ogg_stream_init in -logg... $ECHO_C" >&6; }
 
8419
{ $as_echo "$as_me:$LINENO: checking for ogg_stream_init in -logg" >&5
 
8420
$as_echo_n "checking for ogg_stream_init in -logg... " >&6; }
7942
8421
if test "${ac_cv_lib_ogg_ogg_stream_init+set}" = set; then
7943
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8422
  $as_echo_n "(cached) " >&6
7944
8423
else
7945
8424
  ac_check_lib_save_LIBS=$LIBS
7946
8425
LIBS="-logg  $LIBS"
7972
8451
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7973
8452
  *) ac_try_echo=$ac_try;;
7974
8453
esac
7975
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8454
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8455
$as_echo "$ac_try_echo") >&5
7976
8456
  (eval "$ac_link") 2>conftest.er1
7977
8457
  ac_status=$?
7978
8458
  grep -v '^ *+' conftest.er1 >conftest.err
7979
8459
  rm -f conftest.er1
7980
8460
  cat conftest.err >&5
7981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8461
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982
8462
  (exit $ac_status); } && {
7983
8463
         test -z "$ac_c_werror_flag" ||
7984
8464
         test ! -s conftest.err
7985
 
       } && test -s conftest$ac_exeext &&
7986
 
       $as_test_x conftest$ac_exeext; then
 
8465
       } && test -s conftest$ac_exeext && {
 
8466
         test "$cross_compiling" = yes ||
 
8467
         $as_test_x conftest$ac_exeext
 
8468
       }; then
7987
8469
  ac_cv_lib_ogg_ogg_stream_init=yes
7988
8470
else
7989
 
  echo "$as_me: failed program was:" >&5
 
8471
  $as_echo "$as_me: failed program was:" >&5
7990
8472
sed 's/^/| /' conftest.$ac_ext >&5
7991
8473
 
7992
8474
        ac_cv_lib_ogg_ogg_stream_init=no
7993
8475
fi
7994
8476
 
 
8477
rm -rf conftest.dSYM
7995
8478
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7996
8479
      conftest$ac_exeext conftest.$ac_ext
7997
8480
LIBS=$ac_check_lib_save_LIBS
7998
8481
fi
7999
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_stream_init" >&5
8000
 
echo "${ECHO_T}$ac_cv_lib_ogg_ogg_stream_init" >&6; }
8001
 
if test $ac_cv_lib_ogg_ogg_stream_init = yes; then
 
8482
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_stream_init" >&5
 
8483
$as_echo "$ac_cv_lib_ogg_ogg_stream_init" >&6; }
 
8484
if test "x$ac_cv_lib_ogg_ogg_stream_init" = x""yes; then
8002
8485
  cat >>confdefs.h <<_ACEOF
8003
8486
#define HAVE_LIBOGG 1
8004
8487
_ACEOF
8006
8489
  LIBS="-logg $LIBS"
8007
8490
 
8008
8491
else
8009
 
  { { echo "$as_me:$LINENO: error: Can't find libogg" >&5
8010
 
echo "$as_me: error: Can't find libogg" >&2;}
 
8492
  { { $as_echo "$as_me:$LINENO: error: Can't find libogg" >&5
 
8493
$as_echo "$as_me: error: Can't find libogg" >&2;}
8011
8494
   { (exit 1); exit 1; }; }
8012
8495
fi
8013
8496
 
8014
8497
 
8015
 
{ echo "$as_me:$LINENO: checking for theora_encode_YUVin in -ltheora" >&5
8016
 
echo $ECHO_N "checking for theora_encode_YUVin in -ltheora... $ECHO_C" >&6; }
 
8498
{ $as_echo "$as_me:$LINENO: checking for theora_encode_YUVin in -ltheora" >&5
 
8499
$as_echo_n "checking for theora_encode_YUVin in -ltheora... " >&6; }
8017
8500
if test "${ac_cv_lib_theora_theora_encode_YUVin+set}" = set; then
8018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8501
  $as_echo_n "(cached) " >&6
8019
8502
else
8020
8503
  ac_check_lib_save_LIBS=$LIBS
8021
8504
LIBS="-ltheora  $LIBS"
8047
8530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048
8531
  *) ac_try_echo=$ac_try;;
8049
8532
esac
8050
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8533
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8534
$as_echo "$ac_try_echo") >&5
8051
8535
  (eval "$ac_link") 2>conftest.er1
8052
8536
  ac_status=$?
8053
8537
  grep -v '^ *+' conftest.er1 >conftest.err
8054
8538
  rm -f conftest.er1
8055
8539
  cat conftest.err >&5
8056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8540
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057
8541
  (exit $ac_status); } && {
8058
8542
         test -z "$ac_c_werror_flag" ||
8059
8543
         test ! -s conftest.err
8060
 
       } && test -s conftest$ac_exeext &&
8061
 
       $as_test_x conftest$ac_exeext; then
 
8544
       } && test -s conftest$ac_exeext && {
 
8545
         test "$cross_compiling" = yes ||
 
8546
         $as_test_x conftest$ac_exeext
 
8547
       }; then
8062
8548
  ac_cv_lib_theora_theora_encode_YUVin=yes
8063
8549
else
8064
 
  echo "$as_me: failed program was:" >&5
 
8550
  $as_echo "$as_me: failed program was:" >&5
8065
8551
sed 's/^/| /' conftest.$ac_ext >&5
8066
8552
 
8067
8553
        ac_cv_lib_theora_theora_encode_YUVin=no
8068
8554
fi
8069
8555
 
 
8556
rm -rf conftest.dSYM
8070
8557
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8071
8558
      conftest$ac_exeext conftest.$ac_ext
8072
8559
LIBS=$ac_check_lib_save_LIBS
8073
8560
fi
8074
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_theora_theora_encode_YUVin" >&5
8075
 
echo "${ECHO_T}$ac_cv_lib_theora_theora_encode_YUVin" >&6; }
8076
 
if test $ac_cv_lib_theora_theora_encode_YUVin = yes; then
 
8561
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_theora_theora_encode_YUVin" >&5
 
8562
$as_echo "$ac_cv_lib_theora_theora_encode_YUVin" >&6; }
 
8563
if test "x$ac_cv_lib_theora_theora_encode_YUVin" = x""yes; then
8077
8564
  cat >>confdefs.h <<_ACEOF
8078
8565
#define HAVE_LIBTHEORA 1
8079
8566
_ACEOF
8081
8568
  LIBS="-ltheora $LIBS"
8082
8569
 
8083
8570
else
8084
 
  { { echo "$as_me:$LINENO: error: Can't find libtheora" >&5
8085
 
echo "$as_me: error: Can't find libtheora" >&2;}
 
8571
  { { $as_echo "$as_me:$LINENO: error: Can't find libtheora" >&5
 
8572
$as_echo "$as_me: error: Can't find libtheora" >&2;}
8086
8573
   { (exit 1); exit 1; }; }
8087
8574
fi
8088
8575
 
8089
8576
 
8090
 
{ echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
8091
 
echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6; }
 
8577
{ $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread" >&5
 
8578
$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
8092
8579
if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
8093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8580
  $as_echo_n "(cached) " >&6
8094
8581
else
8095
8582
  ac_check_lib_save_LIBS=$LIBS
8096
8583
LIBS="-lpthread  $LIBS"
8122
8609
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8123
8610
  *) ac_try_echo=$ac_try;;
8124
8611
esac
8125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8612
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8613
$as_echo "$ac_try_echo") >&5
8126
8614
  (eval "$ac_link") 2>conftest.er1
8127
8615
  ac_status=$?
8128
8616
  grep -v '^ *+' conftest.er1 >conftest.err
8129
8617
  rm -f conftest.er1
8130
8618
  cat conftest.err >&5
8131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8619
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132
8620
  (exit $ac_status); } && {
8133
8621
         test -z "$ac_c_werror_flag" ||
8134
8622
         test ! -s conftest.err
8135
 
       } && test -s conftest$ac_exeext &&
8136
 
       $as_test_x conftest$ac_exeext; then
 
8623
       } && test -s conftest$ac_exeext && {
 
8624
         test "$cross_compiling" = yes ||
 
8625
         $as_test_x conftest$ac_exeext
 
8626
       }; then
8137
8627
  ac_cv_lib_pthread_pthread_mutex_lock=yes
8138
8628
else
8139
 
  echo "$as_me: failed program was:" >&5
 
8629
  $as_echo "$as_me: failed program was:" >&5
8140
8630
sed 's/^/| /' conftest.$ac_ext >&5
8141
8631
 
8142
8632
        ac_cv_lib_pthread_pthread_mutex_lock=no
8143
8633
fi
8144
8634
 
 
8635
rm -rf conftest.dSYM
8145
8636
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8146
8637
      conftest$ac_exeext conftest.$ac_ext
8147
8638
LIBS=$ac_check_lib_save_LIBS
8148
8639
fi
8149
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
8150
 
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
8151
 
if test $ac_cv_lib_pthread_pthread_mutex_lock = yes; then
 
8640
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5
 
8641
$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; }
 
8642
if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = x""yes; then
8152
8643
  cat >>confdefs.h <<_ACEOF
8153
8644
#define HAVE_LIBPTHREAD 1
8154
8645
_ACEOF
8156
8647
  LIBS="-lpthread $LIBS"
8157
8648
 
8158
8649
else
8159
 
  { { echo "$as_me:$LINENO: error: Can't find libpthread" >&5
8160
 
echo "$as_me: error: Can't find libpthread" >&2;}
 
8650
  { { $as_echo "$as_me:$LINENO: error: Can't find libpthread" >&5
 
8651
$as_echo "$as_me: error: Can't find libpthread" >&2;}
8161
8652
   { (exit 1); exit 1; }; }
8162
8653
fi
8163
8654
 
8164
8655
 
 
8656
if test x$jack = xtrue ; then
 
8657
{ $as_echo "$as_me:$LINENO: checking for jack_activate in -ljack" >&5
 
8658
$as_echo_n "checking for jack_activate in -ljack... " >&6; }
 
8659
if test "${ac_cv_lib_jack_jack_activate+set}" = set; then
 
8660
  $as_echo_n "(cached) " >&6
 
8661
else
 
8662
  ac_check_lib_save_LIBS=$LIBS
 
8663
LIBS="-ljack  $LIBS"
 
8664
cat >conftest.$ac_ext <<_ACEOF
 
8665
/* confdefs.h.  */
 
8666
_ACEOF
 
8667
cat confdefs.h >>conftest.$ac_ext
 
8668
cat >>conftest.$ac_ext <<_ACEOF
 
8669
/* end confdefs.h.  */
 
8670
 
 
8671
/* Override any GCC internal prototype to avoid an error.
 
8672
   Use char because int might match the return type of a GCC
 
8673
   builtin and then its argument prototype would still apply.  */
 
8674
#ifdef __cplusplus
 
8675
extern "C"
 
8676
#endif
 
8677
char jack_activate ();
 
8678
int
 
8679
main ()
 
8680
{
 
8681
return jack_activate ();
 
8682
  ;
 
8683
  return 0;
 
8684
}
 
8685
_ACEOF
 
8686
rm -f conftest.$ac_objext conftest$ac_exeext
 
8687
if { (ac_try="$ac_link"
 
8688
case "(($ac_try" in
 
8689
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8690
  *) ac_try_echo=$ac_try;;
 
8691
esac
 
8692
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8693
$as_echo "$ac_try_echo") >&5
 
8694
  (eval "$ac_link") 2>conftest.er1
 
8695
  ac_status=$?
 
8696
  grep -v '^ *+' conftest.er1 >conftest.err
 
8697
  rm -f conftest.er1
 
8698
  cat conftest.err >&5
 
8699
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8700
  (exit $ac_status); } && {
 
8701
         test -z "$ac_c_werror_flag" ||
 
8702
         test ! -s conftest.err
 
8703
       } && test -s conftest$ac_exeext && {
 
8704
         test "$cross_compiling" = yes ||
 
8705
         $as_test_x conftest$ac_exeext
 
8706
       }; then
 
8707
  ac_cv_lib_jack_jack_activate=yes
 
8708
else
 
8709
  $as_echo "$as_me: failed program was:" >&5
 
8710
sed 's/^/| /' conftest.$ac_ext >&5
 
8711
 
 
8712
        ac_cv_lib_jack_jack_activate=no
 
8713
fi
 
8714
 
 
8715
rm -rf conftest.dSYM
 
8716
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8717
      conftest$ac_exeext conftest.$ac_ext
 
8718
LIBS=$ac_check_lib_save_LIBS
 
8719
fi
 
8720
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jack_jack_activate" >&5
 
8721
$as_echo "$ac_cv_lib_jack_jack_activate" >&6; }
 
8722
if test "x$ac_cv_lib_jack_jack_activate" = x""yes; then
 
8723
  jack_lib_found=true
 
8724
fi
 
8725
 
 
8726
fi
 
8727
 
8165
8728
if test x$oss = xfalse; then
8166
8729
 
8167
 
{ echo "$as_me:$LINENO: checking for snd_pcm_drain in -lasound" >&5
8168
 
echo $ECHO_N "checking for snd_pcm_drain in -lasound... $ECHO_C" >&6; }
 
8730
{ $as_echo "$as_me:$LINENO: checking for snd_pcm_drain in -lasound" >&5
 
8731
$as_echo_n "checking for snd_pcm_drain in -lasound... " >&6; }
8169
8732
if test "${ac_cv_lib_asound_snd_pcm_drain+set}" = set; then
8170
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8733
  $as_echo_n "(cached) " >&6
8171
8734
else
8172
8735
  ac_check_lib_save_LIBS=$LIBS
8173
8736
LIBS="-lasound  $LIBS"
8199
8762
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8200
8763
  *) ac_try_echo=$ac_try;;
8201
8764
esac
8202
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8765
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8766
$as_echo "$ac_try_echo") >&5
8203
8767
  (eval "$ac_link") 2>conftest.er1
8204
8768
  ac_status=$?
8205
8769
  grep -v '^ *+' conftest.er1 >conftest.err
8206
8770
  rm -f conftest.er1
8207
8771
  cat conftest.err >&5
8208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8772
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209
8773
  (exit $ac_status); } && {
8210
8774
         test -z "$ac_c_werror_flag" ||
8211
8775
         test ! -s conftest.err
8212
 
       } && test -s conftest$ac_exeext &&
8213
 
       $as_test_x conftest$ac_exeext; then
 
8776
       } && test -s conftest$ac_exeext && {
 
8777
         test "$cross_compiling" = yes ||
 
8778
         $as_test_x conftest$ac_exeext
 
8779
       }; then
8214
8780
  ac_cv_lib_asound_snd_pcm_drain=yes
8215
8781
else
8216
 
  echo "$as_me: failed program was:" >&5
 
8782
  $as_echo "$as_me: failed program was:" >&5
8217
8783
sed 's/^/| /' conftest.$ac_ext >&5
8218
8784
 
8219
8785
        ac_cv_lib_asound_snd_pcm_drain=no
8220
8786
fi
8221
8787
 
 
8788
rm -rf conftest.dSYM
8222
8789
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8223
8790
      conftest$ac_exeext conftest.$ac_ext
8224
8791
LIBS=$ac_check_lib_save_LIBS
8225
8792
fi
8226
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_drain" >&5
8227
 
echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_drain" >&6; }
8228
 
if test $ac_cv_lib_asound_snd_pcm_drain = yes; then
 
8793
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_drain" >&5
 
8794
$as_echo "$ac_cv_lib_asound_snd_pcm_drain" >&6; }
 
8795
if test "x$ac_cv_lib_asound_snd_pcm_drain" = x""yes; then
8229
8796
  cat >>confdefs.h <<_ACEOF
8230
8797
#define HAVE_LIBASOUND 1
8231
8798
_ACEOF
8240
8807
    audio_backend="OSS"
8241
8808
fi
8242
8809
 
8243
 
if test x$jack_headers_present = xtrue; then
8244
 
    case "$host_os" in
8245
 
    *bsd*)
8246
 
 
8247
 
{ echo "$as_me:$LINENO: checking for dlopen in -lc" >&5
8248
 
echo $ECHO_N "checking for dlopen in -lc... $ECHO_C" >&6; }
8249
 
if test "${ac_cv_lib_c_dlopen+set}" = set; then
8250
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8251
 
else
8252
 
  ac_check_lib_save_LIBS=$LIBS
8253
 
LIBS="-lc  $LIBS"
8254
 
cat >conftest.$ac_ext <<_ACEOF
8255
 
/* confdefs.h.  */
8256
 
_ACEOF
8257
 
cat confdefs.h >>conftest.$ac_ext
8258
 
cat >>conftest.$ac_ext <<_ACEOF
8259
 
/* end confdefs.h.  */
8260
 
 
8261
 
/* Override any GCC internal prototype to avoid an error.
8262
 
   Use char because int might match the return type of a GCC
8263
 
   builtin and then its argument prototype would still apply.  */
8264
 
#ifdef __cplusplus
8265
 
extern "C"
8266
 
#endif
8267
 
char dlopen ();
8268
 
int
8269
 
main ()
8270
 
{
8271
 
return dlopen ();
8272
 
  ;
8273
 
  return 0;
8274
 
}
8275
 
_ACEOF
8276
 
rm -f conftest.$ac_objext conftest$ac_exeext
8277
 
if { (ac_try="$ac_link"
8278
 
case "(($ac_try" in
8279
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8280
 
  *) ac_try_echo=$ac_try;;
8281
 
esac
8282
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8283
 
  (eval "$ac_link") 2>conftest.er1
8284
 
  ac_status=$?
8285
 
  grep -v '^ *+' conftest.er1 >conftest.err
8286
 
  rm -f conftest.er1
8287
 
  cat conftest.err >&5
8288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289
 
  (exit $ac_status); } && {
8290
 
         test -z "$ac_c_werror_flag" ||
8291
 
         test ! -s conftest.err
8292
 
       } && test -s conftest$ac_exeext &&
8293
 
       $as_test_x conftest$ac_exeext; then
8294
 
  ac_cv_lib_c_dlopen=yes
8295
 
else
8296
 
  echo "$as_me: failed program was:" >&5
8297
 
sed 's/^/| /' conftest.$ac_ext >&5
8298
 
 
8299
 
        ac_cv_lib_c_dlopen=no
8300
 
fi
8301
 
 
8302
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8303
 
      conftest$ac_exeext conftest.$ac_ext
8304
 
LIBS=$ac_check_lib_save_LIBS
8305
 
fi
8306
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_dlopen" >&5
8307
 
echo "${ECHO_T}$ac_cv_lib_c_dlopen" >&6; }
8308
 
if test $ac_cv_lib_c_dlopen = yes; then
8309
 
  cat >>confdefs.h <<_ACEOF
8310
 
#define HAVE_LIBC 1
8311
 
_ACEOF
8312
 
 
8313
 
  LIBS="-lc $LIBS"
8314
 
 
8315
 
else
8316
 
  libdl_np=true
8317
 
fi
8318
 
 
8319
 
    ;;
8320
 
    *)
8321
 
 
8322
 
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8323
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8324
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8325
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8326
 
else
8327
 
  ac_check_lib_save_LIBS=$LIBS
8328
 
LIBS="-ldl  $LIBS"
8329
 
cat >conftest.$ac_ext <<_ACEOF
8330
 
/* confdefs.h.  */
8331
 
_ACEOF
8332
 
cat confdefs.h >>conftest.$ac_ext
8333
 
cat >>conftest.$ac_ext <<_ACEOF
8334
 
/* end confdefs.h.  */
8335
 
 
8336
 
/* Override any GCC internal prototype to avoid an error.
8337
 
   Use char because int might match the return type of a GCC
8338
 
   builtin and then its argument prototype would still apply.  */
8339
 
#ifdef __cplusplus
8340
 
extern "C"
8341
 
#endif
8342
 
char dlopen ();
8343
 
int
8344
 
main ()
8345
 
{
8346
 
return dlopen ();
8347
 
  ;
8348
 
  return 0;
8349
 
}
8350
 
_ACEOF
8351
 
rm -f conftest.$ac_objext conftest$ac_exeext
8352
 
if { (ac_try="$ac_link"
8353
 
case "(($ac_try" in
8354
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8355
 
  *) ac_try_echo=$ac_try;;
8356
 
esac
8357
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8358
 
  (eval "$ac_link") 2>conftest.er1
8359
 
  ac_status=$?
8360
 
  grep -v '^ *+' conftest.er1 >conftest.err
8361
 
  rm -f conftest.er1
8362
 
  cat conftest.err >&5
8363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364
 
  (exit $ac_status); } && {
8365
 
         test -z "$ac_c_werror_flag" ||
8366
 
         test ! -s conftest.err
8367
 
       } && test -s conftest$ac_exeext &&
8368
 
       $as_test_x conftest$ac_exeext; then
8369
 
  ac_cv_lib_dl_dlopen=yes
8370
 
else
8371
 
  echo "$as_me: failed program was:" >&5
8372
 
sed 's/^/| /' conftest.$ac_ext >&5
8373
 
 
8374
 
        ac_cv_lib_dl_dlopen=no
8375
 
fi
8376
 
 
8377
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8378
 
      conftest$ac_exeext conftest.$ac_ext
8379
 
LIBS=$ac_check_lib_save_LIBS
8380
 
fi
8381
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8382
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8383
 
if test $ac_cv_lib_dl_dlopen = yes; then
8384
 
  cat >>confdefs.h <<_ACEOF
8385
 
#define HAVE_LIBDL 1
8386
 
_ACEOF
8387
 
 
8388
 
  LIBS="-ldl $LIBS"
8389
 
 
8390
 
else
8391
 
  libdl_np=true
8392
 
fi
8393
 
 
8394
 
    ;;
8395
 
    esac
8396
 
 
8397
 
    if test x$libdl_np != xtrue; then
8398
 
 
8399
 
cat >>confdefs.h <<\_ACEOF
8400
 
#define HAVE_JACK_H 1
8401
 
_ACEOF
8402
 
 
8403
 
    fi
8404
 
fi
8405
 
 
8406
 
 
8407
8810
# Checks for typedefs, structures, and compiler characteristics.
8408
8811
 
8409
8812
# Checks for library functions.
8410
 
{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
8411
 
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
 
8813
{ $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
 
8814
$as_echo_n "checking whether closedir returns void... " >&6; }
8412
8815
if test "${ac_cv_func_closedir_void+set}" = set; then
8413
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8816
  $as_echo_n "(cached) " >&6
8414
8817
else
8415
8818
  if test "$cross_compiling" = yes; then
8416
8819
  ac_cv_func_closedir_void=yes
8441
8844
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442
8845
  *) ac_try_echo=$ac_try;;
8443
8846
esac
8444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8847
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8848
$as_echo "$ac_try_echo") >&5
8445
8849
  (eval "$ac_link") 2>&5
8446
8850
  ac_status=$?
8447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8851
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448
8852
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8449
8853
  { (case "(($ac_try" in
8450
8854
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8451
8855
  *) ac_try_echo=$ac_try;;
8452
8856
esac
8453
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8857
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8858
$as_echo "$ac_try_echo") >&5
8454
8859
  (eval "$ac_try") 2>&5
8455
8860
  ac_status=$?
8456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8861
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457
8862
  (exit $ac_status); }; }; then
8458
8863
  ac_cv_func_closedir_void=no
8459
8864
else
8460
 
  echo "$as_me: program exited with status $ac_status" >&5
8461
 
echo "$as_me: failed program was:" >&5
 
8865
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
8866
$as_echo "$as_me: failed program was:" >&5
8462
8867
sed 's/^/| /' conftest.$ac_ext >&5
8463
8868
 
8464
8869
( exit $ac_status )
8465
8870
ac_cv_func_closedir_void=yes
8466
8871
fi
 
8872
rm -rf conftest.dSYM
8467
8873
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8468
8874
fi
8469
8875
 
8470
8876
 
8471
8877
fi
8472
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
8473
 
echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
 
8878
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
 
8879
$as_echo "$ac_cv_func_closedir_void" >&6; }
8474
8880
if test $ac_cv_func_closedir_void = yes; then
8475
8881
 
8476
8882
cat >>confdefs.h <<\_ACEOF
8482
8888
 
8483
8889
for ac_header in stdlib.h
8484
8890
do
8485
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8486
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8487
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8488
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8489
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8891
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8892
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8893
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8894
$as_echo_n "checking for $ac_header... " >&6; }
 
8895
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8896
  $as_echo_n "(cached) " >&6
8491
8897
fi
8492
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8493
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8494
 
echo "${ECHO_T}$ac_res" >&6; }
 
8898
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8899
                 $as_echo "$as_val"'`
 
8900
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8901
$as_echo "$ac_res" >&6; }
8495
8902
else
8496
8903
  # Is the header compilable?
8497
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8498
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
8904
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
8905
$as_echo_n "checking $ac_header usability... " >&6; }
8499
8906
cat >conftest.$ac_ext <<_ACEOF
8500
8907
/* confdefs.h.  */
8501
8908
_ACEOF
8511
8918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8512
8919
  *) ac_try_echo=$ac_try;;
8513
8920
esac
8514
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8921
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8922
$as_echo "$ac_try_echo") >&5
8515
8923
  (eval "$ac_compile") 2>conftest.er1
8516
8924
  ac_status=$?
8517
8925
  grep -v '^ *+' conftest.er1 >conftest.err
8518
8926
  rm -f conftest.er1
8519
8927
  cat conftest.err >&5
8520
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8928
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521
8929
  (exit $ac_status); } && {
8522
8930
         test -z "$ac_c_werror_flag" ||
8523
8931
         test ! -s conftest.err
8524
8932
       } && test -s conftest.$ac_objext; then
8525
8933
  ac_header_compiler=yes
8526
8934
else
8527
 
  echo "$as_me: failed program was:" >&5
 
8935
  $as_echo "$as_me: failed program was:" >&5
8528
8936
sed 's/^/| /' conftest.$ac_ext >&5
8529
8937
 
8530
8938
        ac_header_compiler=no
8531
8939
fi
8532
8940
 
8533
8941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8534
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8535
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
8942
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
8943
$as_echo "$ac_header_compiler" >&6; }
8536
8944
 
8537
8945
# Is the header present?
8538
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8539
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
8946
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
8947
$as_echo_n "checking $ac_header presence... " >&6; }
8540
8948
cat >conftest.$ac_ext <<_ACEOF
8541
8949
/* confdefs.h.  */
8542
8950
_ACEOF
8550
8958
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8551
8959
  *) ac_try_echo=$ac_try;;
8552
8960
esac
8553
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8961
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8962
$as_echo "$ac_try_echo") >&5
8554
8963
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8555
8964
  ac_status=$?
8556
8965
  grep -v '^ *+' conftest.er1 >conftest.err
8557
8966
  rm -f conftest.er1
8558
8967
  cat conftest.err >&5
8559
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8968
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560
8969
  (exit $ac_status); } >/dev/null && {
8561
8970
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8562
8971
         test ! -s conftest.err
8563
8972
       }; then
8564
8973
  ac_header_preproc=yes
8565
8974
else
8566
 
  echo "$as_me: failed program was:" >&5
 
8975
  $as_echo "$as_me: failed program was:" >&5
8567
8976
sed 's/^/| /' conftest.$ac_ext >&5
8568
8977
 
8569
8978
  ac_header_preproc=no
8570
8979
fi
8571
8980
 
8572
8981
rm -f conftest.err conftest.$ac_ext
8573
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8574
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
8982
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
8983
$as_echo "$ac_header_preproc" >&6; }
8575
8984
 
8576
8985
# So?  What about this header?
8577
8986
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8578
8987
  yes:no: )
8579
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8580
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8581
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8582
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
8988
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
8989
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
8990
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
8991
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8583
8992
    ac_header_preproc=yes
8584
8993
    ;;
8585
8994
  no:yes:* )
8586
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8587
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8588
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8589
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8590
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8591
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8592
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8593
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8594
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8595
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8596
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8597
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
8995
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
8996
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
8997
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
8998
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
8999
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
9000
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
9001
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
9002
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
9003
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
9004
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
9005
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
9006
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8598
9007
 
8599
9008
    ;;
8600
9009
esac
8601
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8602
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
9010
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
9011
$as_echo_n "checking for $ac_header... " >&6; }
8603
9012
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9013
  $as_echo_n "(cached) " >&6
8605
9014
else
8606
9015
  eval "$as_ac_Header=\$ac_header_preproc"
8607
9016
fi
8608
 
ac_res=`eval echo '${'$as_ac_Header'}'`
8609
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
8610
 
echo "${ECHO_T}$ac_res" >&6; }
 
9017
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
9018
                 $as_echo "$as_val"'`
 
9019
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
9020
$as_echo "$ac_res" >&6; }
8611
9021
 
8612
9022
fi
8613
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
9023
as_val=`eval 'as_val=${'$as_ac_Header'}
 
9024
                 $as_echo "$as_val"'`
 
9025
   if test "x$as_val" = x""yes; then
8614
9026
  cat >>confdefs.h <<_ACEOF
8615
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9027
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8616
9028
_ACEOF
8617
9029
 
8618
9030
fi
8619
9031
 
8620
9032
done
8621
9033
 
8622
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
8623
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
 
9034
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
9035
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
8624
9036
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
8625
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9037
  $as_echo_n "(cached) " >&6
8626
9038
else
8627
9039
  if test "$cross_compiling" = yes; then
8628
9040
  ac_cv_func_malloc_0_nonnull=no
8653
9065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8654
9066
  *) ac_try_echo=$ac_try;;
8655
9067
esac
8656
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9068
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9069
$as_echo "$ac_try_echo") >&5
8657
9070
  (eval "$ac_link") 2>&5
8658
9071
  ac_status=$?
8659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9072
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660
9073
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8661
9074
  { (case "(($ac_try" in
8662
9075
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663
9076
  *) ac_try_echo=$ac_try;;
8664
9077
esac
8665
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9078
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9079
$as_echo "$ac_try_echo") >&5
8666
9080
  (eval "$ac_try") 2>&5
8667
9081
  ac_status=$?
8668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9082
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669
9083
  (exit $ac_status); }; }; then
8670
9084
  ac_cv_func_malloc_0_nonnull=yes
8671
9085
else
8672
 
  echo "$as_me: program exited with status $ac_status" >&5
8673
 
echo "$as_me: failed program was:" >&5
 
9086
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
9087
$as_echo "$as_me: failed program was:" >&5
8674
9088
sed 's/^/| /' conftest.$ac_ext >&5
8675
9089
 
8676
9090
( exit $ac_status )
8677
9091
ac_cv_func_malloc_0_nonnull=no
8678
9092
fi
 
9093
rm -rf conftest.dSYM
8679
9094
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8680
9095
fi
8681
9096
 
8682
9097
 
8683
9098
fi
8684
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
8685
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
 
9099
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
9100
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
8686
9101
if test $ac_cv_func_malloc_0_nonnull = yes; then
8687
9102
 
8688
9103
cat >>confdefs.h <<\_ACEOF
8710
9125
 
8711
9126
 
8712
9127
 
8713
 
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile doc/Makefile"
 
9128
ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile"
8714
9129
 
8715
9130
cat >confcache <<\_ACEOF
8716
9131
# This file is a shell script that caches the results of configure
8739
9154
    case $ac_val in #(
8740
9155
    *${as_nl}*)
8741
9156
      case $ac_var in #(
8742
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8743
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
9157
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
9158
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8744
9159
      esac
8745
9160
      case $ac_var in #(
8746
9161
      _ | IFS | as_nl) ;; #(
 
9162
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8747
9163
      *) $as_unset $ac_var ;;
8748
9164
      esac ;;
8749
9165
    esac
8776
9192
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8777
9193
  if test -w "$cache_file"; then
8778
9194
    test "x$cache_file" != "x/dev/null" &&
8779
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8780
 
echo "$as_me: updating cache $cache_file" >&6;}
 
9195
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
9196
$as_echo "$as_me: updating cache $cache_file" >&6;}
8781
9197
    cat confcache >$cache_file
8782
9198
  else
8783
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8784
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
9199
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
9200
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8785
9201
  fi
8786
9202
fi
8787
9203
rm -f confcache
8797
9213
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8798
9214
  # 1. Remove the extension, and $U if already installed.
8799
9215
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8800
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
9216
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8801
9217
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8802
9218
  #    will be set to the directory where LIBOBJS objects are built.
8803
9219
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8809
9225
 
8810
9226
 
8811
9227
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8812
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
9228
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8813
9229
Usually this means the macro was only invoked conditionally." >&5
8814
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
9230
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
8815
9231
Usually this means the macro was only invoked conditionally." >&2;}
8816
9232
   { (exit 1); exit 1; }; }
8817
9233
fi
8818
9234
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8819
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
9235
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8820
9236
Usually this means the macro was only invoked conditionally." >&5
8821
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
9237
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8822
9238
Usually this means the macro was only invoked conditionally." >&2;}
8823
9239
   { (exit 1); exit 1; }; }
8824
9240
fi
8825
9241
 
 
9242
 
8826
9243
: ${CONFIG_STATUS=./config.status}
 
9244
ac_write_fail=0
8827
9245
ac_clean_files_save=$ac_clean_files
8828
9246
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8829
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8830
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
8831
 
cat >$CONFIG_STATUS <<_ACEOF
 
9247
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
9248
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
9249
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8832
9250
#! $SHELL
8833
9251
# Generated by $as_me.
8834
9252
# Run this file to recreate the current configuration.
8841
9259
SHELL=\${CONFIG_SHELL-$SHELL}
8842
9260
_ACEOF
8843
9261
 
8844
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9262
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8845
9263
## --------------------- ##
8846
9264
## M4sh Initialization.  ##
8847
9265
## --------------------- ##
8851
9269
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8852
9270
  emulate sh
8853
9271
  NULLCMD=:
8854
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
9272
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8855
9273
  # is contrary to our usage.  Disable this feature.
8856
9274
  alias -g '${1+"$@"}'='"$@"'
8857
9275
  setopt NO_GLOB_SUBST
8873
9291
as_cr_digits='0123456789'
8874
9292
as_cr_alnum=$as_cr_Letters$as_cr_digits
8875
9293
 
 
9294
as_nl='
 
9295
'
 
9296
export as_nl
 
9297
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
9298
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
9299
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
9300
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
9301
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
9302
  as_echo='printf %s\n'
 
9303
  as_echo_n='printf %s'
 
9304
else
 
9305
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
9306
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
9307
    as_echo_n='/usr/ucb/echo -n'
 
9308
  else
 
9309
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
9310
    as_echo_n_body='eval
 
9311
      arg=$1;
 
9312
      case $arg in
 
9313
      *"$as_nl"*)
 
9314
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
9315
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
9316
      esac;
 
9317
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
9318
    '
 
9319
    export as_echo_n_body
 
9320
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
9321
  fi
 
9322
  export as_echo_body
 
9323
  as_echo='sh -c $as_echo_body as_echo'
 
9324
fi
 
9325
 
8876
9326
# The user is always right.
8877
9327
if test "${PATH_SEPARATOR+set}" != set; then
8878
 
  echo "#! /bin/sh" >conf$$.sh
8879
 
  echo  "exit 0"   >>conf$$.sh
8880
 
  chmod +x conf$$.sh
8881
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8882
 
    PATH_SEPARATOR=';'
8883
 
  else
8884
 
    PATH_SEPARATOR=:
8885
 
  fi
8886
 
  rm -f conf$$.sh
 
9328
  PATH_SEPARATOR=:
 
9329
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
9330
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
9331
      PATH_SEPARATOR=';'
 
9332
  }
8887
9333
fi
8888
9334
 
8889
9335
# Support unset when possible.
8899
9345
# there to prevent editors from complaining about space-tab.
8900
9346
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8901
9347
# splitting by setting IFS to empty value.)
8902
 
as_nl='
8903
 
'
8904
9348
IFS=" ""        $as_nl"
8905
9349
 
8906
9350
# Find who we are.  Look in the path if we contain no directory separator.
8923
9367
  as_myself=$0
8924
9368
fi
8925
9369
if test ! -f "$as_myself"; then
8926
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
9370
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8927
9371
  { (exit 1); exit 1; }
8928
9372
fi
8929
9373
 
8936
9380
PS4='+ '
8937
9381
 
8938
9382
# NLS nuisances.
8939
 
for as_var in \
8940
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8941
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8942
 
  LC_TELEPHONE LC_TIME
8943
 
do
8944
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8945
 
    eval $as_var=C; export $as_var
8946
 
  else
8947
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8948
 
  fi
8949
 
done
 
9383
LC_ALL=C
 
9384
export LC_ALL
 
9385
LANGUAGE=C
 
9386
export LANGUAGE
8950
9387
 
8951
9388
# Required to use basename.
8952
9389
if expr a : '\(a\)' >/dev/null 2>&1 &&
8968
9405
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8969
9406
         X"$0" : 'X\(//\)$' \| \
8970
9407
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8971
 
echo X/"$0" |
 
9408
$as_echo X/"$0" |
8972
9409
    sed '/^.*\/\([^/][^/]*\)\/*$/{
8973
9410
            s//\1/
8974
9411
            q
9019
9456
      s/-\n.*//
9020
9457
    ' >$as_me.lineno &&
9021
9458
  chmod +x "$as_me.lineno" ||
9022
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
9459
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9023
9460
   { (exit 1); exit 1; }; }
9024
9461
 
9025
9462
  # Don't try to exec as it changes $[0], causing all sort of problems
9047
9484
*)
9048
9485
  ECHO_N='-n';;
9049
9486
esac
9050
 
 
9051
9487
if expr a : '\(a\)' >/dev/null 2>&1 &&
9052
9488
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
9053
9489
  as_expr=expr
9060
9496
  rm -f conf$$.dir/conf$$.file
9061
9497
else
9062
9498
  rm -f conf$$.dir
9063
 
  mkdir conf$$.dir
 
9499
  mkdir conf$$.dir 2>/dev/null
9064
9500
fi
9065
 
echo >conf$$.file
9066
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
9067
 
  as_ln_s='ln -s'
9068
 
  # ... but there are two gotchas:
9069
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9070
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9071
 
  # In both cases, we have to default to `cp -p'.
9072
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
9501
if (echo >conf$$.file) 2>/dev/null; then
 
9502
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
9503
    as_ln_s='ln -s'
 
9504
    # ... but there are two gotchas:
 
9505
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
9506
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
9507
    # In both cases, we have to default to `cp -p'.
 
9508
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
9509
      as_ln_s='cp -p'
 
9510
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
9511
    as_ln_s=ln
 
9512
  else
9073
9513
    as_ln_s='cp -p'
9074
 
elif ln conf$$.file conf$$ 2>/dev/null; then
9075
 
  as_ln_s=ln
 
9514
  fi
9076
9515
else
9077
9516
  as_ln_s='cp -p'
9078
9517
fi
9097
9536
  as_test_x='
9098
9537
    eval sh -c '\''
9099
9538
      if test -d "$1"; then
9100
 
        test -d "$1/.";
 
9539
        test -d "$1/.";
9101
9540
      else
9102
9541
        case $1 in
9103
 
        -*)set "./$1";;
 
9542
        -*)set "./$1";;
9104
9543
        esac;
9105
9544
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9106
9545
        ???[sx]*):;;*)false;;esac;fi
9122
9561
# report actual input values of CONFIG_FILES etc. instead of their
9123
9562
# values after options handling.
9124
9563
ac_log="
9125
 
This file was extended by $as_me, which was
9126
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
9564
This file was extended by recordmydesktop $as_me 0.3.8.1, which was
 
9565
generated by GNU Autoconf 2.63.  Invocation command line was
9127
9566
 
9128
9567
  CONFIG_FILES    = $CONFIG_FILES
9129
9568
  CONFIG_HEADERS  = $CONFIG_HEADERS
9136
9575
 
9137
9576
_ACEOF
9138
9577
 
9139
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9578
case $ac_config_files in *"
 
9579
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
9580
esac
 
9581
 
 
9582
case $ac_config_headers in *"
 
9583
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
9584
esac
 
9585
 
 
9586
 
 
9587
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9140
9588
# Files that config.status was made for.
9141
9589
config_files="$ac_config_files"
9142
9590
config_headers="$ac_config_headers"
9144
9592
 
9145
9593
_ACEOF
9146
9594
 
9147
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9595
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9148
9596
ac_cs_usage="\
9149
9597
\`$as_me' instantiates files from templates according to the
9150
9598
current configuration.
9151
9599
 
9152
 
Usage: $0 [OPTIONS] [FILE]...
 
9600
Usage: $0 [OPTION]... [FILE]...
9153
9601
 
9154
9602
  -h, --help       print this help, then exit
9155
9603
  -V, --version    print version number and configuration settings, then exit
9156
 
  -q, --quiet      do not print progress messages
 
9604
  -q, --quiet, --silent
 
9605
                   do not print progress messages
9157
9606
  -d, --debug      don't remove temporary files
9158
9607
      --recheck    update $as_me by reconfiguring in the same conditions
9159
 
  --file=FILE[:TEMPLATE]
9160
 
                   instantiate the configuration file FILE
9161
 
  --header=FILE[:TEMPLATE]
9162
 
                   instantiate the configuration header FILE
 
9608
      --file=FILE[:TEMPLATE]
 
9609
                   instantiate the configuration file FILE
 
9610
      --header=FILE[:TEMPLATE]
 
9611
                   instantiate the configuration header FILE
9163
9612
 
9164
9613
Configuration files:
9165
9614
$config_files
9173
9622
Report bugs to <bug-autoconf@gnu.org>."
9174
9623
 
9175
9624
_ACEOF
9176
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9625
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9177
9626
ac_cs_version="\\
9178
 
config.status
9179
 
configured by $0, generated by GNU Autoconf 2.61,
9180
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
9627
recordmydesktop config.status 0.3.8.1
 
9628
configured by $0, generated by GNU Autoconf 2.63,
 
9629
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9181
9630
 
9182
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
9631
Copyright (C) 2008 Free Software Foundation, Inc.
9183
9632
This config.status script is free software; the Free Software Foundation
9184
9633
gives unlimited permission to copy, distribute and modify it."
9185
9634
 
9186
9635
ac_pwd='$ac_pwd'
9187
9636
srcdir='$srcdir'
9188
9637
INSTALL='$INSTALL'
 
9638
MKDIR_P='$MKDIR_P'
 
9639
AWK='$AWK'
 
9640
test -n "\$AWK" || AWK=awk
9189
9641
_ACEOF
9190
9642
 
9191
 
cat >>$CONFIG_STATUS <<\_ACEOF
9192
 
# If no file are specified by the user, then we need to provide default
9193
 
# value.  By we need to know if files were specified by the user.
 
9643
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9644
# The default lists apply if the user does not specify any file.
9194
9645
ac_need_defaults=:
9195
9646
while test $# != 0
9196
9647
do
9212
9663
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9213
9664
    ac_cs_recheck=: ;;
9214
9665
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9215
 
    echo "$ac_cs_version"; exit ;;
 
9666
    $as_echo "$ac_cs_version"; exit ;;
9216
9667
  --debug | --debu | --deb | --de | --d | -d )
9217
9668
    debug=: ;;
9218
9669
  --file | --fil | --fi | --f )
9219
9670
    $ac_shift
9220
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
9671
    case $ac_optarg in
 
9672
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
9673
    esac
 
9674
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
9221
9675
    ac_need_defaults=false;;
9222
9676
  --header | --heade | --head | --hea )
9223
9677
    $ac_shift
9224
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
9678
    case $ac_optarg in
 
9679
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
9680
    esac
 
9681
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
9225
9682
    ac_need_defaults=false;;
9226
9683
  --he | --h)
9227
9684
    # Conflict between --help and --header
9228
 
    { echo "$as_me: error: ambiguous option: $1
 
9685
    { $as_echo "$as_me: error: ambiguous option: $1
9229
9686
Try \`$0 --help' for more information." >&2
9230
9687
   { (exit 1); exit 1; }; };;
9231
9688
  --help | --hel | -h )
9232
 
    echo "$ac_cs_usage"; exit ;;
 
9689
    $as_echo "$ac_cs_usage"; exit ;;
9233
9690
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9234
9691
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9235
9692
    ac_cs_silent=: ;;
9236
9693
 
9237
9694
  # This is an error.
9238
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
9695
  -*) { $as_echo "$as_me: error: unrecognized option: $1
9239
9696
Try \`$0 --help' for more information." >&2
9240
9697
   { (exit 1); exit 1; }; } ;;
9241
9698
 
9254
9711
fi
9255
9712
 
9256
9713
_ACEOF
9257
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9714
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9258
9715
if \$ac_cs_recheck; then
9259
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9260
 
  CONFIG_SHELL=$SHELL
 
9716
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
9717
  shift
 
9718
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
9719
  CONFIG_SHELL='$SHELL'
9261
9720
  export CONFIG_SHELL
9262
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
9721
  exec "\$@"
9263
9722
fi
9264
9723
 
9265
9724
_ACEOF
9266
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9725
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9267
9726
exec 5>>config.log
9268
9727
{
9269
9728
  echo
9270
9729
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9271
9730
## Running $as_me. ##
9272
9731
_ASBOX
9273
 
  echo "$ac_log"
 
9732
  $as_echo "$ac_log"
9274
9733
} >&5
9275
9734
 
9276
9735
_ACEOF
9277
 
cat >>$CONFIG_STATUS <<_ACEOF
 
9736
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9278
9737
#
9279
9738
# INIT-COMMANDS
9280
9739
#
9282
9741
 
9283
9742
_ACEOF
9284
9743
 
9285
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9744
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9286
9745
 
9287
9746
# Handling of arguments.
9288
9747
for ac_config_target in $ac_config_targets
9292
9751
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9293
9752
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9294
9753
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9295
 
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
9296
9754
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
9297
9755
 
9298
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9299
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
9756
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
9757
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9300
9758
   { (exit 1); exit 1; }; };;
9301
9759
  esac
9302
9760
done
9337
9795
  (umask 077 && mkdir "$tmp")
9338
9796
} ||
9339
9797
{
9340
 
   echo "$me: cannot create a temporary directory in ." >&2
 
9798
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
9341
9799
   { (exit 1); exit 1; }
9342
9800
}
9343
9801
 
9344
 
#
9345
 
# Set up the sed scripts for CONFIG_FILES section.
9346
 
#
9347
 
 
9348
 
# No need to generate the scripts if there are no CONFIG_FILES.
9349
 
# This happens for instance when ./config.status config.h
 
9802
# Set up the scripts for CONFIG_FILES section.
 
9803
# No need to generate them if there are no CONFIG_FILES.
 
9804
# This happens for instance with `./config.status config.h'.
9350
9805
if test -n "$CONFIG_FILES"; then
9351
9806
 
 
9807
 
 
9808
ac_cr='
 
 
b"'"
 
9809
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
9810
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
9811
  ac_cs_awk_cr='\\r'
 
9812
else
 
9813
  ac_cs_awk_cr=$ac_cr
 
9814
fi
 
9815
 
 
9816
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9352
9817
_ACEOF
9353
9818
 
9354
9819
 
9355
 
 
 
9820
{
 
9821
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
9822
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
9823
  echo "_ACEOF"
 
9824
} >conf$$subs.sh ||
 
9825
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
9826
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
9827
   { (exit 1); exit 1; }; }
 
9828
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9356
9829
ac_delim='%!_!# '
9357
9830
for ac_last_try in false false false false false :; do
9358
 
  cat >conf$$subs.sed <<_ACEOF
9359
 
SHELL!$SHELL$ac_delim
9360
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9361
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9362
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9363
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9364
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9365
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9366
 
exec_prefix!$exec_prefix$ac_delim
9367
 
prefix!$prefix$ac_delim
9368
 
program_transform_name!$program_transform_name$ac_delim
9369
 
bindir!$bindir$ac_delim
9370
 
sbindir!$sbindir$ac_delim
9371
 
libexecdir!$libexecdir$ac_delim
9372
 
datarootdir!$datarootdir$ac_delim
9373
 
datadir!$datadir$ac_delim
9374
 
sysconfdir!$sysconfdir$ac_delim
9375
 
sharedstatedir!$sharedstatedir$ac_delim
9376
 
localstatedir!$localstatedir$ac_delim
9377
 
includedir!$includedir$ac_delim
9378
 
oldincludedir!$oldincludedir$ac_delim
9379
 
docdir!$docdir$ac_delim
9380
 
infodir!$infodir$ac_delim
9381
 
htmldir!$htmldir$ac_delim
9382
 
dvidir!$dvidir$ac_delim
9383
 
pdfdir!$pdfdir$ac_delim
9384
 
psdir!$psdir$ac_delim
9385
 
libdir!$libdir$ac_delim
9386
 
localedir!$localedir$ac_delim
9387
 
mandir!$mandir$ac_delim
9388
 
DEFS!$DEFS$ac_delim
9389
 
ECHO_C!$ECHO_C$ac_delim
9390
 
ECHO_N!$ECHO_N$ac_delim
9391
 
ECHO_T!$ECHO_T$ac_delim
9392
 
LIBS!$LIBS$ac_delim
9393
 
build_alias!$build_alias$ac_delim
9394
 
host_alias!$host_alias$ac_delim
9395
 
target_alias!$target_alias$ac_delim
9396
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9397
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9398
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
9399
 
CYGPATH_W!$CYGPATH_W$ac_delim
9400
 
PACKAGE!$PACKAGE$ac_delim
9401
 
VERSION!$VERSION$ac_delim
9402
 
ACLOCAL!$ACLOCAL$ac_delim
9403
 
AUTOCONF!$AUTOCONF$ac_delim
9404
 
AUTOMAKE!$AUTOMAKE$ac_delim
9405
 
AUTOHEADER!$AUTOHEADER$ac_delim
9406
 
MAKEINFO!$MAKEINFO$ac_delim
9407
 
AMTAR!$AMTAR$ac_delim
9408
 
install_sh!$install_sh$ac_delim
9409
 
STRIP!$STRIP$ac_delim
9410
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9411
 
AWK!$AWK$ac_delim
9412
 
SET_MAKE!$SET_MAKE$ac_delim
9413
 
am__leading_dot!$am__leading_dot$ac_delim
9414
 
CC!$CC$ac_delim
9415
 
CFLAGS!$CFLAGS$ac_delim
9416
 
LDFLAGS!$LDFLAGS$ac_delim
9417
 
CPPFLAGS!$CPPFLAGS$ac_delim
9418
 
ac_ct_CC!$ac_ct_CC$ac_delim
9419
 
EXEEXT!$EXEEXT$ac_delim
9420
 
OBJEXT!$OBJEXT$ac_delim
9421
 
DEPDIR!$DEPDIR$ac_delim
9422
 
am__include!$am__include$ac_delim
9423
 
am__quote!$am__quote$ac_delim
9424
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9425
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9426
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9427
 
CCDEPMODE!$CCDEPMODE$ac_delim
9428
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9429
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9430
 
build!$build$ac_delim
9431
 
build_cpu!$build_cpu$ac_delim
9432
 
build_vendor!$build_vendor$ac_delim
9433
 
build_os!$build_os$ac_delim
9434
 
host!$host$ac_delim
9435
 
host_cpu!$host_cpu$ac_delim
9436
 
host_vendor!$host_vendor$ac_delim
9437
 
host_os!$host_os$ac_delim
9438
 
CPP!$CPP$ac_delim
9439
 
GREP!$GREP$ac_delim
9440
 
EGREP!$EGREP$ac_delim
9441
 
XMKMF!$XMKMF$ac_delim
9442
 
X_CFLAGS!$X_CFLAGS$ac_delim
9443
 
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
9444
 
X_LIBS!$X_LIBS$ac_delim
9445
 
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
9446
 
LIBOBJS!$LIBOBJS$ac_delim
9447
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
9448
 
_ACEOF
 
9831
  . ./conf$$subs.sh ||
 
9832
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
9833
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
9834
   { (exit 1); exit 1; }; }
9449
9835
 
9450
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
 
9836
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
9837
  if test $ac_delim_n = $ac_delim_num; then
9451
9838
    break
9452
9839
  elif $ac_last_try; then
9453
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9454
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
9840
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
9841
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9455
9842
   { (exit 1); exit 1; }; }
9456
9843
  else
9457
9844
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9458
9845
  fi
9459
9846
done
9460
 
 
9461
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9462
 
if test -n "$ac_eof"; then
9463
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9464
 
  ac_eof=`expr $ac_eof + 1`
9465
 
fi
9466
 
 
9467
 
cat >>$CONFIG_STATUS <<_ACEOF
9468
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9469
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9470
 
_ACEOF
9471
 
sed '
9472
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9473
 
s/^/s,@/; s/!/@,|#_!!_#|/
9474
 
:n
9475
 
t n
9476
 
s/'"$ac_delim"'$/,g/; t
9477
 
s/$/\\/; p
9478
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9479
 
' >>$CONFIG_STATUS <conf$$subs.sed
9480
 
rm -f conf$$subs.sed
9481
 
cat >>$CONFIG_STATUS <<_ACEOF
9482
 
:end
9483
 
s/|#_!!_#|//g
9484
 
CEOF$ac_eof
9485
 
_ACEOF
9486
 
 
 
9847
rm -f conf$$subs.sh
 
9848
 
 
9849
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9850
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
9851
_ACEOF
 
9852
sed -n '
 
9853
h
 
9854
s/^/S["/; s/!.*/"]=/
 
9855
p
 
9856
g
 
9857
s/^[^!]*!//
 
9858
:repl
 
9859
t repl
 
9860
s/'"$ac_delim"'$//
 
9861
t delim
 
9862
:nl
 
9863
h
 
9864
s/\(.\{148\}\).*/\1/
 
9865
t more1
 
9866
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
9867
p
 
9868
n
 
9869
b repl
 
9870
:more1
 
9871
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
9872
p
 
9873
g
 
9874
s/.\{148\}//
 
9875
t nl
 
9876
:delim
 
9877
h
 
9878
s/\(.\{148\}\).*/\1/
 
9879
t more2
 
9880
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
9881
p
 
9882
b
 
9883
:more2
 
9884
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
9885
p
 
9886
g
 
9887
s/.\{148\}//
 
9888
t delim
 
9889
' <conf$$subs.awk | sed '
 
9890
/^[^""]/{
 
9891
  N
 
9892
  s/\n//
 
9893
}
 
9894
' >>$CONFIG_STATUS || ac_write_fail=1
 
9895
rm -f conf$$subs.awk
 
9896
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
9897
_ACAWK
 
9898
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
9899
  for (key in S) S_is_set[key] = 1
 
9900
  FS = ""
 
9901
 
 
9902
}
 
9903
{
 
9904
  line = $ 0
 
9905
  nfields = split(line, field, "@")
 
9906
  substed = 0
 
9907
  len = length(field[1])
 
9908
  for (i = 2; i < nfields; i++) {
 
9909
    key = field[i]
 
9910
    keylen = length(key)
 
9911
    if (S_is_set[key]) {
 
9912
      value = S[key]
 
9913
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
9914
      len += length(value) + length(field[++i])
 
9915
      substed = 1
 
9916
    } else
 
9917
      len += 1 + keylen
 
9918
  }
 
9919
 
 
9920
  print line
 
9921
}
 
9922
 
 
9923
_ACAWK
 
9924
_ACEOF
 
9925
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
9926
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
9927
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
9928
else
 
9929
  cat
 
9930
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
9931
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
9932
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
9933
   { (exit 1); exit 1; }; }
 
9934
_ACEOF
9487
9935
 
9488
9936
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9489
9937
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9500
9948
}'
9501
9949
fi
9502
9950
 
9503
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
9951
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9504
9952
fi # test -n "$CONFIG_FILES"
9505
9953
 
9506
 
 
9507
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
9954
# Set up the scripts for CONFIG_HEADERS section.
 
9955
# No need to generate them if there are no CONFIG_HEADERS.
 
9956
# This happens for instance with `./config.status Makefile'.
 
9957
if test -n "$CONFIG_HEADERS"; then
 
9958
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
9959
BEGIN {
 
9960
_ACEOF
 
9961
 
 
9962
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
9963
# here-document in config.status, that substitutes the proper values into
 
9964
# config.h.in to produce config.h.
 
9965
 
 
9966
# Create a delimiter string that does not exist in confdefs.h, to ease
 
9967
# handling of long lines.
 
9968
ac_delim='%!_!# '
 
9969
for ac_last_try in false false :; do
 
9970
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
9971
  if test -z "$ac_t"; then
 
9972
    break
 
9973
  elif $ac_last_try; then
 
9974
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
9975
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
9976
   { (exit 1); exit 1; }; }
 
9977
  else
 
9978
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
9979
  fi
 
9980
done
 
9981
 
 
9982
# For the awk script, D is an array of macro values keyed by name,
 
9983
# likewise P contains macro parameters if any.  Preserve backslash
 
9984
# newline sequences.
 
9985
 
 
9986
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
9987
sed -n '
 
9988
s/.\{148\}/&'"$ac_delim"'/g
 
9989
t rset
 
9990
:rset
 
9991
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
9992
t def
 
9993
d
 
9994
:def
 
9995
s/\\$//
 
9996
t bsnl
 
9997
s/["\\]/\\&/g
 
9998
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
9999
D["\1"]=" \3"/p
 
10000
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
10001
d
 
10002
:bsnl
 
10003
s/["\\]/\\&/g
 
10004
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
10005
D["\1"]=" \3\\\\\\n"\\/p
 
10006
t cont
 
10007
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
10008
t cont
 
10009
d
 
10010
:cont
 
10011
n
 
10012
s/.\{148\}/&'"$ac_delim"'/g
 
10013
t clear
 
10014
:clear
 
10015
s/\\$//
 
10016
t bsnlc
 
10017
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
10018
d
 
10019
:bsnlc
 
10020
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
10021
b cont
 
10022
' <confdefs.h | sed '
 
10023
s/'"$ac_delim"'/"\\\
 
10024
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
10025
 
 
10026
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
10027
  for (key in D) D_is_set[key] = 1
 
10028
  FS = ""
 
10029
}
 
10030
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
10031
  line = \$ 0
 
10032
  split(line, arg, " ")
 
10033
  if (arg[1] == "#") {
 
10034
    defundef = arg[2]
 
10035
    mac1 = arg[3]
 
10036
  } else {
 
10037
    defundef = substr(arg[1], 2)
 
10038
    mac1 = arg[2]
 
10039
  }
 
10040
  split(mac1, mac2, "(") #)
 
10041
  macro = mac2[1]
 
10042
  prefix = substr(line, 1, index(line, defundef) - 1)
 
10043
  if (D_is_set[macro]) {
 
10044
    # Preserve the white space surrounding the "#".
 
10045
    print prefix "define", macro P[macro] D[macro]
 
10046
    next
 
10047
  } else {
 
10048
    # Replace #undef with comments.  This is necessary, for example,
 
10049
    # in the case of _POSIX_SOURCE, which is predefined and required
 
10050
    # on some systems where configure will not decide to define it.
 
10051
    if (defundef == "undef") {
 
10052
      print "/*", prefix defundef, macro, "*/"
 
10053
      next
 
10054
    }
 
10055
  }
 
10056
}
 
10057
{ print }
 
10058
_ACAWK
 
10059
_ACEOF
 
10060
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
10061
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
10062
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
10063
   { (exit 1); exit 1; }; }
 
10064
fi # test -n "$CONFIG_HEADERS"
 
10065
 
 
10066
 
 
10067
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
10068
shift
 
10069
for ac_tag
9508
10070
do
9509
10071
  case $ac_tag in
9510
10072
  :[FHLC]) ac_mode=$ac_tag; continue;;
9511
10073
  esac
9512
10074
  case $ac_mode$ac_tag in
9513
10075
  :[FHL]*:*);;
9514
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9515
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
10076
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
10077
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
9516
10078
   { (exit 1); exit 1; }; };;
9517
10079
  :[FH]-) ac_tag=-:-;;
9518
10080
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9541
10103
           [\\/$]*) false;;
9542
10104
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9543
10105
           esac ||
9544
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9545
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
10106
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
10107
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9546
10108
   { (exit 1); exit 1; }; };;
9547
10109
      esac
9548
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
10110
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
10111
      ac_file_inputs="$ac_file_inputs '$ac_f'"
9549
10112
    done
9550
10113
 
9551
10114
    # Let's still pretend it is `configure' which instantiates (i.e., don't
9552
10115
    # use $as_me), people would be surprised to read:
9553
10116
    #    /* config.h.  Generated by config.status.  */
9554
 
    configure_input="Generated from "`IFS=:
9555
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
10117
    configure_input='Generated from '`
 
10118
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
10119
        `' by configure.'
9556
10120
    if test x"$ac_file" != x-; then
9557
10121
      configure_input="$ac_file.  $configure_input"
9558
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
9559
 
echo "$as_me: creating $ac_file" >&6;}
 
10122
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
10123
$as_echo "$as_me: creating $ac_file" >&6;}
9560
10124
    fi
 
10125
    # Neutralize special characters interpreted by sed in replacement strings.
 
10126
    case $configure_input in #(
 
10127
    *\&* | *\|* | *\\* )
 
10128
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
10129
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
10130
    *) ac_sed_conf_input=$configure_input;;
 
10131
    esac
9561
10132
 
9562
10133
    case $ac_tag in
9563
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
10134
    *:-:* | *:-) cat >"$tmp/stdin" \
 
10135
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
10136
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
10137
   { (exit 1); exit 1; }; } ;;
9564
10138
    esac
9565
10139
    ;;
9566
10140
  esac
9570
10144
         X"$ac_file" : 'X\(//\)[^/]' \| \
9571
10145
         X"$ac_file" : 'X\(//\)$' \| \
9572
10146
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9573
 
echo X"$ac_file" |
 
10147
$as_echo X"$ac_file" |
9574
10148
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9575
10149
            s//\1/
9576
10150
            q
9596
10170
    as_dirs=
9597
10171
    while :; do
9598
10172
      case $as_dir in #(
9599
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
10173
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9600
10174
      *) as_qdir=$as_dir;;
9601
10175
      esac
9602
10176
      as_dirs="'$as_qdir' $as_dirs"
9605
10179
         X"$as_dir" : 'X\(//\)[^/]' \| \
9606
10180
         X"$as_dir" : 'X\(//\)$' \| \
9607
10181
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9608
 
echo X"$as_dir" |
 
10182
$as_echo X"$as_dir" |
9609
10183
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9610
10184
            s//\1/
9611
10185
            q
9626
10200
      test -d "$as_dir" && break
9627
10201
    done
9628
10202
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9629
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9630
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
10203
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
10204
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9631
10205
   { (exit 1); exit 1; }; }; }
9632
10206
  ac_builddir=.
9633
10207
 
9634
10208
case "$ac_dir" in
9635
10209
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9636
10210
*)
9637
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
10211
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9638
10212
  # A ".." for each directory in $ac_dir_suffix.
9639
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
10213
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9640
10214
  case $ac_top_builddir_sub in
9641
10215
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9642
10216
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9674
10248
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9675
10249
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9676
10250
  esac
 
10251
  ac_MKDIR_P=$MKDIR_P
 
10252
  case $MKDIR_P in
 
10253
  [\\/$]* | ?:[\\/]* ) ;;
 
10254
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
10255
  esac
9677
10256
_ACEOF
9678
10257
 
9679
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10258
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9680
10259
# If the template does not know about datarootdir, expand it.
9681
10260
# FIXME: This hack should be removed a few years after 2.60.
9682
10261
ac_datarootdir_hack=; ac_datarootdir_seen=
9683
10262
 
9684
 
case `sed -n '/datarootdir/ {
 
10263
ac_sed_dataroot='
 
10264
/datarootdir/ {
9685
10265
  p
9686
10266
  q
9687
10267
}
9690
10270
/@infodir@/p
9691
10271
/@localedir@/p
9692
10272
/@mandir@/p
9693
 
' $ac_file_inputs` in
 
10273
'
 
10274
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9694
10275
*datarootdir*) ac_datarootdir_seen=yes;;
9695
10276
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9696
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9697
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
10277
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
10278
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9698
10279
_ACEOF
9699
 
cat >>$CONFIG_STATUS <<_ACEOF
 
10280
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9700
10281
  ac_datarootdir_hack='
9701
10282
  s&@datadir@&$datadir&g
9702
10283
  s&@docdir@&$docdir&g
9710
10291
# Neutralize VPATH when `$srcdir' = `.'.
9711
10292
# Shell code in configure.ac might set extrasub.
9712
10293
# FIXME: do we really want to maintain this feature?
9713
 
cat >>$CONFIG_STATUS <<_ACEOF
9714
 
  sed "$ac_vpsub
 
10294
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
10295
ac_sed_extra="$ac_vpsub
9715
10296
$extrasub
9716
10297
_ACEOF
9717
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
10298
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9718
10299
:t
9719
10300
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9720
 
s&@configure_input@&$configure_input&;t t
 
10301
s|@configure_input@|$ac_sed_conf_input|;t t
9721
10302
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
10303
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9722
10304
s&@srcdir@&$ac_srcdir&;t t
9723
10305
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9724
10306
s&@top_srcdir@&$ac_top_srcdir&;t t
9727
10309
s&@abs_builddir@&$ac_abs_builddir&;t t
9728
10310
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9729
10311
s&@INSTALL@&$ac_INSTALL&;t t
 
10312
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9730
10313
$ac_datarootdir_hack
9731
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
10314
"
 
10315
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
10316
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
10317
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
10318
   { (exit 1); exit 1; }; }
9732
10319
 
9733
10320
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9734
10321
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9735
10322
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9736
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
10323
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9737
10324
which seems to be undefined.  Please make sure it is defined." >&5
9738
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
10325
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9739
10326
which seems to be undefined.  Please make sure it is defined." >&2;}
9740
10327
 
9741
10328
  rm -f "$tmp/stdin"
9742
10329
  case $ac_file in
9743
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
9744
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9745
 
  esac
 
10330
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
10331
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
10332
  esac \
 
10333
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
10334
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
10335
   { (exit 1); exit 1; }; }
9746
10336
 ;;
9747
10337
  :H)
9748
10338
  #
9749
10339
  # CONFIG_HEADER
9750
10340
  #
9751
 
_ACEOF
9752
 
 
9753
 
# Transform confdefs.h into a sed script `conftest.defines', that
9754
 
# substitutes the proper values into config.h.in to produce config.h.
9755
 
rm -f conftest.defines conftest.tail
9756
 
# First, append a space to every undef/define line, to ease matching.
9757
 
echo 's/$/ /' >conftest.defines
9758
 
# Then, protect against being on the right side of a sed subst, or in
9759
 
# an unquoted here document, in config.status.  If some macros were
9760
 
# called several times there might be several #defines for the same
9761
 
# symbol, which is useless.  But do not sort them, since the last
9762
 
# AC_DEFINE must be honored.
9763
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9764
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9765
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
9766
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
9767
 
# just an empty string.
9768
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
9769
 
ac_dB='\\)[      (].*,\\1define\\2'
9770
 
ac_dC=' '
9771
 
ac_dD=' ,'
9772
 
 
9773
 
uniq confdefs.h |
9774
 
  sed -n '
9775
 
        t rset
9776
 
        :rset
9777
 
        s/^[     ]*#[    ]*define[       ][      ]*//
9778
 
        t ok
9779
 
        d
9780
 
        :ok
9781
 
        s/[\\&,]/\\&/g
9782
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9783
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9784
 
  ' >>conftest.defines
9785
 
 
9786
 
# Remove the space that was appended to ease matching.
9787
 
# Then replace #undef with comments.  This is necessary, for
9788
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
9789
 
# on some systems where configure will not decide to define it.
9790
 
# (The regexp can be short, since the line contains either #define or #undef.)
9791
 
echo 's/ $//
9792
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
9793
 
 
9794
 
# Break up conftest.defines:
9795
 
ac_max_sed_lines=50
9796
 
 
9797
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9798
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9799
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9800
 
# et cetera.
9801
 
ac_in='$ac_file_inputs'
9802
 
ac_out='"$tmp/out1"'
9803
 
ac_nxt='"$tmp/out2"'
9804
 
 
9805
 
while :
9806
 
do
9807
 
  # Write a here document:
9808
 
    cat >>$CONFIG_STATUS <<_ACEOF
9809
 
    # First, check the format of the line:
9810
 
    cat >"\$tmp/defines.sed" <<\\CEOF
9811
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
9812
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
9813
 
b
9814
 
:def
9815
 
_ACEOF
9816
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9817
 
  echo 'CEOF
9818
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9819
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9820
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9821
 
  grep . conftest.tail >/dev/null || break
9822
 
  rm -f conftest.defines
9823
 
  mv conftest.tail conftest.defines
9824
 
done
9825
 
rm -f conftest.defines conftest.tail
9826
 
 
9827
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
9828
 
cat >>$CONFIG_STATUS <<\_ACEOF
9829
10341
  if test x"$ac_file" != x-; then
9830
 
    echo "/* $configure_input  */" >"$tmp/config.h"
9831
 
    cat "$ac_result" >>"$tmp/config.h"
9832
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9833
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9834
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
10342
    {
 
10343
      $as_echo "/* $configure_input  */" \
 
10344
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
10345
    } >"$tmp/config.h" \
 
10346
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
10347
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
10348
   { (exit 1); exit 1; }; }
 
10349
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
10350
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
10351
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9835
10352
    else
9836
 
      rm -f $ac_file
9837
 
      mv "$tmp/config.h" $ac_file
 
10353
      rm -f "$ac_file"
 
10354
      mv "$tmp/config.h" "$ac_file" \
 
10355
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
10356
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
10357
   { (exit 1); exit 1; }; }
9838
10358
    fi
9839
10359
  else
9840
 
    echo "/* $configure_input  */"
9841
 
    cat "$ac_result"
 
10360
    $as_echo "/* $configure_input  */" \
 
10361
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
10362
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
10363
$as_echo "$as_me: error: could not create -" >&2;}
 
10364
   { (exit 1); exit 1; }; }
9842
10365
  fi
9843
 
  rm -f "$tmp/out12"
9844
 
# Compute $ac_file's index in $config_headers.
 
10366
# Compute "$ac_file"'s index in $config_headers.
 
10367
_am_arg="$ac_file"
9845
10368
_am_stamp_count=1
9846
10369
for _am_header in $config_headers :; do
9847
10370
  case $_am_header in
9848
 
    $ac_file | $ac_file:* )
 
10371
    $_am_arg | $_am_arg:* )
9849
10372
      break ;;
9850
10373
    * )
9851
10374
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9852
10375
  esac
9853
10376
done
9854
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9855
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9856
 
         X$ac_file : 'X\(//\)[^/]' \| \
9857
 
         X$ac_file : 'X\(//\)$' \| \
9858
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
9859
 
echo X$ac_file |
 
10377
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
10378
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
10379
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
10380
         X"$_am_arg" : 'X\(//\)$' \| \
 
10381
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
10382
$as_echo X"$_am_arg" |
9860
10383
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9861
10384
            s//\1/
9862
10385
            q
9876
10399
          s/.*/./; q'`/stamp-h$_am_stamp_count
9877
10400
 ;;
9878
10401
 
9879
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9880
 
echo "$as_me: executing $ac_file commands" >&6;}
 
10402
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
10403
$as_echo "$as_me: executing $ac_file commands" >&6;}
9881
10404
 ;;
9882
10405
  esac
9883
10406
 
9884
10407
 
9885
10408
  case $ac_file$ac_mode in
9886
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
10409
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
10410
# are listed without --file.  Let's play safe and only enable the eval
 
10411
# if we detect the quoting.
 
10412
case $CONFIG_FILES in
 
10413
*\'*) eval set x "$CONFIG_FILES" ;;
 
10414
*)   set x $CONFIG_FILES ;;
 
10415
esac
 
10416
shift
 
10417
for mf
 
10418
do
9887
10419
  # Strip MF so we end up with the name of the file.
9888
10420
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9889
10421
  # Check whether this is an Automake generated Makefile or not.
9891
10423
  # some people rename them; so instead we look at the file content.
9892
10424
  # Grep'ing the first line is not enough: some people post-process
9893
10425
  # each Makefile.in and add a new line on top of each file to say so.
9894
 
  # So let's grep whole file.
9895
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
10426
  # Grep'ing the whole file is not good either: AIX grep has a line
 
10427
  # limit of 2048, but all sed's we know have understand at least 4000.
 
10428
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9896
10429
    dirpart=`$as_dirname -- "$mf" ||
9897
10430
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9898
10431
         X"$mf" : 'X\(//\)[^/]' \| \
9899
10432
         X"$mf" : 'X\(//\)$' \| \
9900
10433
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9901
 
echo X"$mf" |
 
10434
$as_echo X"$mf" |
9902
10435
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9903
10436
            s//\1/
9904
10437
            q
9919
10452
  else
9920
10453
    continue
9921
10454
  fi
9922
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9923
 
  # Extract the definition of DEP_FILES from the Makefile without
9924
 
  # running `make'.
9925
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
10455
  # Extract the definition of DEPDIR, am__include, and am__quote
 
10456
  # from the Makefile without running `make'.
 
10457
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9926
10458
  test -z "$DEPDIR" && continue
 
10459
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
10460
  test -z "am__include" && continue
 
10461
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9927
10462
  # When using ansi2knr, U may be empty or an underscore; expand it
9928
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
9929
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9930
 
  # We invoke sed twice because it is the simplest approach to
9931
 
  # changing $(DEPDIR) to its actual value in the expansion.
9932
 
  for file in `sed -n -e '
9933
 
    /^DEP_FILES = .*\\\\$/ {
9934
 
      s/^DEP_FILES = //
9935
 
      :loop
9936
 
        s/\\\\$//
9937
 
        p
9938
 
        n
9939
 
        /\\\\$/ b loop
9940
 
      p
9941
 
    }
9942
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
10463
  U=`sed -n 's/^U = //p' < "$mf"`
 
10464
  # Find all dependency output files, they are included files with
 
10465
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
10466
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
10467
  # expansion.
 
10468
  for file in `sed -n "
 
10469
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9943
10470
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9944
10471
    # Make sure the directory exists.
9945
10472
    test -f "$dirpart/$file" && continue
9948
10475
         X"$file" : 'X\(//\)[^/]' \| \
9949
10476
         X"$file" : 'X\(//\)$' \| \
9950
10477
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9951
 
echo X"$file" |
 
10478
$as_echo X"$file" |
9952
10479
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9953
10480
            s//\1/
9954
10481
            q
9974
10501
    as_dirs=
9975
10502
    while :; do
9976
10503
      case $as_dir in #(
9977
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
10504
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9978
10505
      *) as_qdir=$as_dir;;
9979
10506
      esac
9980
10507
      as_dirs="'$as_qdir' $as_dirs"
9983
10510
         X"$as_dir" : 'X\(//\)[^/]' \| \
9984
10511
         X"$as_dir" : 'X\(//\)$' \| \
9985
10512
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9986
 
echo X"$as_dir" |
 
10513
$as_echo X"$as_dir" |
9987
10514
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9988
10515
            s//\1/
9989
10516
            q
10004
10531
      test -d "$as_dir" && break
10005
10532
    done
10006
10533
    test -z "$as_dirs" || eval "mkdir $as_dirs"
10007
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10008
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
10534
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
10535
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10009
10536
   { (exit 1); exit 1; }; }; }
10010
10537
    # echo "creating $dirpart/$file"
10011
10538
    echo '# dummy' > "$dirpart/$file"
10022
10549
chmod +x $CONFIG_STATUS
10023
10550
ac_clean_files=$ac_clean_files_save
10024
10551
 
 
10552
test $ac_write_fail = 0 ||
 
10553
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
10554
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
10555
   { (exit 1); exit 1; }; }
 
10556
 
10025
10557
 
10026
10558
# configure is writing to config.log, and then calls config.status.
10027
10559
# config.status does its own redirection, appending to config.log.
10043
10575
  # would make configure fail if this is the last instruction.
10044
10576
  $ac_cs_success || { (exit 1); exit 1; }
10045
10577
fi
 
10578
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
10579
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
10580
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
10581
fi
10046
10582
 
10047
10583
 
10048
10584
if test x$audio_backend != xOSS; then
10049
10585
    audio_backend="ALSA"
10050
10586
fi
10051
 
if test x$jack_headers_present = xtrue && test x$libdl_np != xtrue; then
 
10587
if test x$jack_lib_found = xtrue ; then
10052
10588
    jack_support="Enabled"
10053
10589
else
10054
10590
    jack_support="Disabled"