Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 237150 | Differences between
and this patch

Collapse All | Expand All

(-)nmap-4.75-orig/configure (-1707 / +1988 lines)
Lines 1-9 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61.
3
# Generated by GNU Autoconf 2.62.
4
#
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
9
## --------------------- ##
Lines 15-21 Link Here
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
  emulate sh
16
  emulate sh
17
  NULLCMD=:
17
  NULLCMD=:
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
  # is contrary to our usage.  Disable this feature.
19
  # is contrary to our usage.  Disable this feature.
20
  alias -g '${1+"$@"}'='"$@"'
20
  alias -g '${1+"$@"}'='"$@"'
21
  setopt NO_GLOB_SUBST
21
  setopt NO_GLOB_SUBST
Lines 37-53 Link Here
37
as_cr_digits='0123456789'
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
39
40
# The user is always right.
40
as_nl='
41
if test "${PATH_SEPARATOR+set}" != set; then
41
'
42
  echo "#! /bin/sh" >conf$$.sh
42
export as_nl
43
  echo  "exit 0"   >>conf$$.sh
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
  chmod +x conf$$.sh
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
    PATH_SEPARATOR=';'
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'
47
  else
54
  else
48
    PATH_SEPARATOR=:
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'
49
  fi
67
  fi
50
  rm -f conf$$.sh
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
70
fi
71
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
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
fi
79
fi
52
80
53
# Support unset when possible.
81
# Support unset when possible.
Lines 63-70 Link Here
63
# there to prevent editors from complaining about space-tab.
91
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
93
# splitting by setting IFS to empty value.)
66
as_nl='
67
'
68
IFS=" ""	$as_nl"
94
IFS=" ""	$as_nl"
69
95
70
# Find who we are.  Look in the path if we contain no directory separator.
96
# Find who we are.  Look in the path if we contain no directory separator.
Lines 87-93 Link Here
87
  as_myself=$0
113
  as_myself=$0
88
fi
114
fi
89
if test ! -f "$as_myself"; then
115
if test ! -f "$as_myself"; then
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
  { (exit 1); exit 1; }
117
  { (exit 1); exit 1; }
92
fi
118
fi
93
119
Lines 100-116 Link Here
100
PS4='+ '
126
PS4='+ '
101
127
102
# NLS nuisances.
128
# NLS nuisances.
103
for as_var in \
129
LC_ALL=C
104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
130
export LC_ALL
105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
131
LANGUAGE=C
106
  LC_TELEPHONE LC_TIME
132
export LANGUAGE
107
do
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
    eval $as_var=C; export $as_var
110
  else
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
  fi
113
done
114
133
115
# Required to use basename.
134
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
Lines 132-138 Link Here
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
	 X"$0" : 'X\(//\)$' \| \
152
	 X"$0" : 'X\(//\)$' \| \
134
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
153
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
echo X/"$0" |
154
$as_echo X/"$0" |
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
	    s//\1/
156
	    s//\1/
138
	    q
157
	    q
Lines 158-164 Link Here
158
  as_have_required=no
177
  as_have_required=no
159
fi
178
fi
160
179
161
  if test $as_have_required = yes && 	 (eval ":
180
  if test $as_have_required = yes &&	 (eval ":
162
(as_func_return () {
181
(as_func_return () {
163
  (exit \$1)
182
  (exit \$1)
164
}
183
}
Lines 240-246 Link Here
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
  emulate sh
260
  emulate sh
242
  NULLCMD=:
261
  NULLCMD=:
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
244
  # is contrary to our usage.  Disable this feature.
263
  # is contrary to our usage.  Disable this feature.
245
  alias -g '${1+"$@"}'='"$@"'
264
  alias -g '${1+"$@"}'='"$@"'
246
  setopt NO_GLOB_SUBST
265
  setopt NO_GLOB_SUBST
Lines 261-267 Link Here
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
  emulate sh
281
  emulate sh
263
  NULLCMD=:
282
  NULLCMD=:
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
  # is contrary to our usage.  Disable this feature.
284
  # is contrary to our usage.  Disable this feature.
266
  alias -g '${1+"$@"}'='"$@"'
285
  alias -g '${1+"$@"}'='"$@"'
267
  setopt NO_GLOB_SUBST
286
  setopt NO_GLOB_SUBST
Lines 341-350 Link Here
341
360
342
      if test "x$CONFIG_SHELL" != x; then
361
      if test "x$CONFIG_SHELL" != x; then
343
  for as_var in BASH_ENV ENV
362
  for as_var in BASH_ENV ENV
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
363
	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
        done
364
	done
346
        export CONFIG_SHELL
365
	export CONFIG_SHELL
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
366
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
fi
367
fi
349
368
350
369
Lines 413-421 Link Here
413
432
414
test \$exitcode = 0") || {
433
test \$exitcode = 0") || {
415
  echo No shell found that supports shell functions.
434
  echo No shell found that supports shell functions.
416
  echo Please tell autoconf@gnu.org about your system,
435
  echo Please tell bug-autoconf@gnu.org about your system,
417
  echo including any error possibly output before this
436
  echo including any error possibly output before this message.
418
  echo message
437
  echo This can help us improve future autoconf versions.
438
  echo Configuration will now proceed without shell functions.
419
}
439
}
420
440
421
441
Lines 451-457 Link Here
451
      s/-\n.*//
471
      s/-\n.*//
452
    ' >$as_me.lineno &&
472
    ' >$as_me.lineno &&
453
  chmod +x "$as_me.lineno" ||
473
  chmod +x "$as_me.lineno" ||
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
   { (exit 1); exit 1; }; }
475
   { (exit 1); exit 1; }; }
456
476
457
  # Don't try to exec as it changes $[0], causing all sort of problems
477
  # Don't try to exec as it changes $[0], causing all sort of problems
Lines 479-485 Link Here
479
*)
499
*)
480
  ECHO_N='-n';;
500
  ECHO_N='-n';;
481
esac
501
esac
482
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
  as_expr=expr
504
  as_expr=expr
Lines 492-510 Link Here
492
  rm -f conf$$.dir/conf$$.file
511
  rm -f conf$$.dir/conf$$.file
493
else
512
else
494
  rm -f conf$$.dir
513
  rm -f conf$$.dir
495
  mkdir conf$$.dir
514
  mkdir conf$$.dir 2>/dev/null
496
fi
515
fi
497
echo >conf$$.file
516
if (echo >conf$$.file) 2>/dev/null; then
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
499
  as_ln_s='ln -s'
518
    as_ln_s='ln -s'
500
  # ... but there are two gotchas:
519
    # ... but there are two gotchas:
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
  # In both cases, we have to default to `cp -p'.
522
    # In both cases, we have to default to `cp -p'.
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524
      as_ln_s='cp -p'
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
526
    as_ln_s=ln
527
  else
505
    as_ln_s='cp -p'
528
    as_ln_s='cp -p'
506
elif ln conf$$.file conf$$ 2>/dev/null; then
529
  fi
507
  as_ln_s=ln
508
else
530
else
509
  as_ln_s='cp -p'
531
  as_ln_s='cp -p'
510
fi
532
fi
Lines 529-538 Link Here
529
  as_test_x='
551
  as_test_x='
530
    eval sh -c '\''
552
    eval sh -c '\''
531
      if test -d "$1"; then
553
      if test -d "$1"; then
532
        test -d "$1/.";
554
	test -d "$1/.";
533
      else
555
      else
534
	case $1 in
556
	case $1 in
535
        -*)set "./$1";;
557
	-*)set "./$1";;
536
	esac;
558
	esac;
537
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
559
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
	???[sx]*):;;*)false;;esac;fi
560
	???[sx]*):;;*)false;;esac;fi
Lines 613-618 Link Here
613
# include <unistd.h>
635
# include <unistd.h>
614
#endif"
636
#endif"
615
637
638
enable_option_checking=no
616
ac_subst_vars='SHELL
639
ac_subst_vars='SHELL
617
PATH_SEPARATOR
640
PATH_SEPARATOR
618
PACKAGE_NAME
641
PACKAGE_NAME
Lines 729-734 Link Here
729
LIBOBJS
752
LIBOBJS
730
LTLIBOBJS'
753
LTLIBOBJS'
731
ac_subst_files=''
754
ac_subst_files=''
755
ac_user_opts='
756
enable_option_checking
757
with_localdirs
758
with_zenmap
759
with_openssl
760
with_libpcap
761
with_libpcre
762
with_libdnet
763
with_liblua
764
with_libnbase
765
with_libnsock
766
'
732
      ac_precious_vars='build_alias
767
      ac_precious_vars='build_alias
733
host_alias
768
host_alias
734
target_alias
769
target_alias
Lines 750-755 Link Here
750
# Initialize some variables set by options.
785
# Initialize some variables set by options.
751
ac_init_help=
786
ac_init_help=
752
ac_init_version=false
787
ac_init_version=false
788
ac_unrecognized_opts=
789
ac_unrecognized_sep=
753
# The variables have the same names as the options, with
790
# The variables have the same names as the options, with
754
# dashes changed to underlines.
791
# dashes changed to underlines.
755
cache_file=/dev/null
792
cache_file=/dev/null
Lines 848-860 Link Here
848
    datarootdir=$ac_optarg ;;
885
    datarootdir=$ac_optarg ;;
849
886
850
  -disable-* | --disable-*)
887
  -disable-* | --disable-*)
851
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
852
    # Reject names that are not valid shell variable names.
889
    # Reject names that are not valid shell variable names.
853
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
890
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
854
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
891
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
855
   { (exit 1); exit 1; }; }
892
   { (exit 1); exit 1; }; }
856
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
893
    ac_useropt_orig=$ac_useropt
857
    eval enable_$ac_feature=no ;;
894
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895
    case $ac_user_opts in
896
      *"
897
"enable_$ac_useropt"
898
"*) ;;
899
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900
	 ac_unrecognized_sep=', ';;
901
    esac
902
    eval enable_$ac_useropt=no ;;
858
903
859
  -docdir | --docdir | --docdi | --doc | --do)
904
  -docdir | --docdir | --docdi | --doc | --do)
860
    ac_prev=docdir ;;
905
    ac_prev=docdir ;;
Lines 867-879 Link Here
867
    dvidir=$ac_optarg ;;
912
    dvidir=$ac_optarg ;;
868
913
869
  -enable-* | --enable-*)
914
  -enable-* | --enable-*)
870
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
871
    # Reject names that are not valid shell variable names.
916
    # Reject names that are not valid shell variable names.
872
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
874
   { (exit 1); exit 1; }; }
919
   { (exit 1); exit 1; }; }
875
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920
    ac_useropt_orig=$ac_useropt
876
    eval enable_$ac_feature=\$ac_optarg ;;
921
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922
    case $ac_user_opts in
923
      *"
924
"enable_$ac_useropt"
925
"*) ;;
926
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927
	 ac_unrecognized_sep=', ';;
928
    esac
929
    eval enable_$ac_useropt=\$ac_optarg ;;
877
930
878
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
879
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Lines 1064-1085 Link Here
1064
    ac_init_version=: ;;
1117
    ac_init_version=: ;;
1065
1118
1066
  -with-* | --with-*)
1119
  -with-* | --with-*)
1067
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1068
    # Reject names that are not valid shell variable names.
1121
    # Reject names that are not valid shell variable names.
1069
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1123
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1071
   { (exit 1); exit 1; }; }
1124
   { (exit 1); exit 1; }; }
1072
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125
    ac_useropt_orig=$ac_useropt
1073
    eval with_$ac_package=\$ac_optarg ;;
1126
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127
    case $ac_user_opts in
1128
      *"
1129
"with_$ac_useropt"
1130
"*) ;;
1131
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1132
	 ac_unrecognized_sep=', ';;
1133
    esac
1134
    eval with_$ac_useropt=\$ac_optarg ;;
1074
1135
1075
  -without-* | --without-*)
1136
  -without-* | --without-*)
1076
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1077
    # Reject names that are not valid shell variable names.
1138
    # Reject names that are not valid shell variable names.
1078
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1140
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1080
   { (exit 1); exit 1; }; }
1141
   { (exit 1); exit 1; }; }
1081
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1142
    ac_useropt_orig=$ac_useropt
1082
    eval with_$ac_package=no ;;
1143
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144
    case $ac_user_opts in
1145
      *"
1146
"with_$ac_useropt"
1147
"*) ;;
1148
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1149
	 ac_unrecognized_sep=', ';;
1150
    esac
1151
    eval with_$ac_useropt=no ;;
1083
1152
1084
  --x)
1153
  --x)
1085
    # Obsolete; use --with-x.
1154
    # Obsolete; use --with-x.
Lines 1099-1105 Link Here
1099
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1168
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1100
    x_libraries=$ac_optarg ;;
1169
    x_libraries=$ac_optarg ;;
1101
1170
1102
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1171
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1103
Try \`$0 --help' for more information." >&2
1172
Try \`$0 --help' for more information." >&2
1104
   { (exit 1); exit 1; }; }
1173
   { (exit 1); exit 1; }; }
1105
    ;;
1174
    ;;
Lines 1108-1123 Link Here
1108
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1177
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1109
    # Reject names that are not valid shell variable names.
1178
    # Reject names that are not valid shell variable names.
1110
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1179
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1111
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1180
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1112
   { (exit 1); exit 1; }; }
1181
   { (exit 1); exit 1; }; }
1113
    eval $ac_envvar=\$ac_optarg
1182
    eval $ac_envvar=\$ac_optarg
1114
    export $ac_envvar ;;
1183
    export $ac_envvar ;;
1115
1184
1116
  *)
1185
  *)
1117
    # FIXME: should be removed in autoconf 3.0.
1186
    # FIXME: should be removed in autoconf 3.0.
1118
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1119
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1188
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1121
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1190
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1122
    ;;
1191
    ;;
1123
1192
Lines 1126-1147 Link Here
1126
1195
1127
if test -n "$ac_prev"; then
1196
if test -n "$ac_prev"; then
1128
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1197
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1129
  { echo "$as_me: error: missing argument to $ac_option" >&2
1198
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1130
   { (exit 1); exit 1; }; }
1199
   { (exit 1); exit 1; }; }
1131
fi
1200
fi
1132
1201
1133
# Be sure to have absolute directory names.
1202
if test -n "$ac_unrecognized_opts"; then
1203
  case $enable_option_checking in
1204
    no) ;;
1205
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1206
   { (exit 1); exit 1; }; } ;;
1207
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1208
  esac
1209
fi
1210
1211
# Check all directory arguments for consistency.
1134
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135
		datadir sysconfdir sharedstatedir localstatedir includedir \
1213
		datadir sysconfdir sharedstatedir localstatedir includedir \
1136
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137
		libdir localedir mandir
1215
		libdir localedir mandir
1138
do
1216
do
1139
  eval ac_val=\$$ac_var
1217
  eval ac_val=\$$ac_var
1218
  # Remove trailing slashes.
1219
  case $ac_val in
1220
    */ )
1221
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222
      eval $ac_var=\$ac_val;;
1223
  esac
1224
  # Be sure to have absolute directory names.
1140
  case $ac_val in
1225
  case $ac_val in
1141
    [\\/$]* | ?:[\\/]* )  continue;;
1226
    [\\/$]* | ?:[\\/]* )  continue;;
1142
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1227
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1143
  esac
1228
  esac
1144
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1229
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1145
   { (exit 1); exit 1; }; }
1230
   { (exit 1); exit 1; }; }
1146
done
1231
done
1147
1232
Lines 1156-1162 Link Here
1156
if test "x$host_alias" != x; then
1241
if test "x$host_alias" != x; then
1157
  if test "x$build_alias" = x; then
1242
  if test "x$build_alias" = x; then
1158
    cross_compiling=maybe
1243
    cross_compiling=maybe
1159
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1244
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1160
    If a cross compiler is detected then cross compile mode will be used." >&2
1245
    If a cross compiler is detected then cross compile mode will be used." >&2
1161
  elif test "x$build_alias" != "x$host_alias"; then
1246
  elif test "x$build_alias" != "x$host_alias"; then
1162
    cross_compiling=yes
1247
    cross_compiling=yes
Lines 1172-1181 Link Here
1172
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1257
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1173
ac_ls_di=`ls -di .` &&
1258
ac_ls_di=`ls -di .` &&
1174
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1259
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1175
  { echo "$as_me: error: Working directory cannot be determined" >&2
1260
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1176
   { (exit 1); exit 1; }; }
1261
   { (exit 1); exit 1; }; }
1177
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1178
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1263
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1179
   { (exit 1); exit 1; }; }
1264
   { (exit 1); exit 1; }; }
1180
1265
1181
1266
Lines 1183-1194 Link Here
1183
if test -z "$srcdir"; then
1268
if test -z "$srcdir"; then
1184
  ac_srcdir_defaulted=yes
1269
  ac_srcdir_defaulted=yes
1185
  # Try the directory containing this script, then the parent directory.
1270
  # Try the directory containing this script, then the parent directory.
1186
  ac_confdir=`$as_dirname -- "$0" ||
1271
  ac_confdir=`$as_dirname -- "$as_myself" ||
1187
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188
	 X"$0" : 'X\(//\)[^/]' \| \
1273
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1189
	 X"$0" : 'X\(//\)$' \| \
1274
	 X"$as_myself" : 'X\(//\)$' \| \
1190
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1275
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191
echo X"$0" |
1276
$as_echo X"$as_myself" |
1192
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193
	    s//\1/
1278
	    s//\1/
1194
	    q
1279
	    q
Lines 1215-1226 Link Here
1215
fi
1300
fi
1216
if test ! -r "$srcdir/$ac_unique_file"; then
1301
if test ! -r "$srcdir/$ac_unique_file"; then
1217
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1303
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1219
   { (exit 1); exit 1; }; }
1304
   { (exit 1); exit 1; }; }
1220
fi
1305
fi
1221
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1306
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222
ac_abs_confdir=`(
1307
ac_abs_confdir=`(
1223
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1308
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1224
   { (exit 1); exit 1; }; }
1309
   { (exit 1); exit 1; }; }
1225
	pwd)`
1310
	pwd)`
1226
# When building in place, set srcdir=.
1311
# When building in place, set srcdir=.
Lines 1269-1277 Link Here
1269
1354
1270
Installation directories:
1355
Installation directories:
1271
  --prefix=PREFIX         install architecture-independent files in PREFIX
1356
  --prefix=PREFIX         install architecture-independent files in PREFIX
1272
			  [$ac_default_prefix]
1357
                          [$ac_default_prefix]
1273
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1358
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1274
			  [PREFIX]
1359
                          [PREFIX]
1275
1360
1276
By default, \`make install' will install all the files in
1361
By default, \`make install' will install all the files in
1277
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1362
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
Lines 1281-1305 Link Here
1281
For better control, use the options below.
1366
For better control, use the options below.
1282
1367
1283
Fine tuning of the installation directories:
1368
Fine tuning of the installation directories:
1284
  --bindir=DIR           user executables [EPREFIX/bin]
1369
  --bindir=DIR            user executables [EPREFIX/bin]
1285
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1370
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1286
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1371
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1287
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1372
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1288
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1373
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1289
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1374
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1290
  --libdir=DIR           object code libraries [EPREFIX/lib]
1375
  --libdir=DIR            object code libraries [EPREFIX/lib]
1291
  --includedir=DIR       C header files [PREFIX/include]
1376
  --includedir=DIR        C header files [PREFIX/include]
1292
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1377
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1293
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1378
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1294
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1379
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1295
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1380
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1296
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1381
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1297
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1382
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1298
  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1383
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1299
  --htmldir=DIR          html documentation [DOCDIR]
1384
  --htmldir=DIR           html documentation [DOCDIR]
1300
  --dvidir=DIR           dvi documentation [DOCDIR]
1385
  --dvidir=DIR            dvi documentation [DOCDIR]
1301
  --pdfdir=DIR           pdf documentation [DOCDIR]
1386
  --pdfdir=DIR            pdf documentation [DOCDIR]
1302
  --psdir=DIR            ps documentation [DOCDIR]
1387
  --psdir=DIR             ps documentation [DOCDIR]
1303
_ACEOF
1388
_ACEOF
1304
1389
1305
  cat <<\_ACEOF
1390
  cat <<\_ACEOF
Lines 1360-1374 Link Here
1360
if test "$ac_init_help" = "recursive"; then
1445
if test "$ac_init_help" = "recursive"; then
1361
  # If there are subdirs, report their specific --help.
1446
  # If there are subdirs, report their specific --help.
1362
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1447
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1363
    test -d "$ac_dir" || continue
1448
    test -d "$ac_dir" ||
1449
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1450
      continue
1364
    ac_builddir=.
1451
    ac_builddir=.
1365
1452
1366
case "$ac_dir" in
1453
case "$ac_dir" in
1367
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368
*)
1455
*)
1369
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1456
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1370
  # A ".." for each directory in $ac_dir_suffix.
1457
  # A ".." for each directory in $ac_dir_suffix.
1371
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1458
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1372
  case $ac_top_builddir_sub in
1459
  case $ac_top_builddir_sub in
1373
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1374
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1461
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
Lines 1404-1410 Link Here
1404
      echo &&
1491
      echo &&
1405
      $SHELL "$ac_srcdir/configure" --help=recursive
1492
      $SHELL "$ac_srcdir/configure" --help=recursive
1406
    else
1493
    else
1407
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1408
    fi || ac_status=$?
1495
    fi || ac_status=$?
1409
    cd "$ac_pwd" || { ac_status=$?; break; }
1496
    cd "$ac_pwd" || { ac_status=$?; break; }
1410
  done
1497
  done
Lines 1414-1423 Link Here
1414
if $ac_init_version; then
1501
if $ac_init_version; then
1415
  cat <<\_ACEOF
1502
  cat <<\_ACEOF
1416
configure
1503
configure
1417
generated by GNU Autoconf 2.61
1504
generated by GNU Autoconf 2.62
1418
1505
1419
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1506
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1420
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1507
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1421
This configure script is free software; the Free Software Foundation
1508
This configure script is free software; the Free Software Foundation
1422
gives unlimited permission to copy, distribute and modify it.
1509
gives unlimited permission to copy, distribute and modify it.
1423
_ACEOF
1510
_ACEOF
Lines 1428-1434 Link Here
1428
running configure, to aid debugging if configure makes a mistake.
1515
running configure, to aid debugging if configure makes a mistake.
1429
1516
1430
It was created by $as_me, which was
1517
It was created by $as_me, which was
1431
generated by GNU Autoconf 2.61.  Invocation command line was
1518
generated by GNU Autoconf 2.62.  Invocation command line was
1432
1519
1433
  $ $0 $@
1520
  $ $0 $@
1434
1521
Lines 1464-1470 Link Here
1464
do
1551
do
1465
  IFS=$as_save_IFS
1552
  IFS=$as_save_IFS
1466
  test -z "$as_dir" && as_dir=.
1553
  test -z "$as_dir" && as_dir=.
1467
  echo "PATH: $as_dir"
1554
  $as_echo "PATH: $as_dir"
1468
done
1555
done
1469
IFS=$as_save_IFS
1556
IFS=$as_save_IFS
1470
1557
Lines 1499-1505 Link Here
1499
    | -silent | --silent | --silen | --sile | --sil)
1586
    | -silent | --silent | --silen | --sile | --sil)
1500
      continue ;;
1587
      continue ;;
1501
    *\'*)
1588
    *\'*)
1502
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1589
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1503
    esac
1590
    esac
1504
    case $ac_pass in
1591
    case $ac_pass in
1505
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1592
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
Lines 1551-1561 Link Here
1551
    case $ac_val in #(
1638
    case $ac_val in #(
1552
    *${as_nl}*)
1639
    *${as_nl}*)
1553
      case $ac_var in #(
1640
      case $ac_var in #(
1554
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1641
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1555
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1642
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1556
      esac
1643
      esac
1557
      case $ac_var in #(
1644
      case $ac_var in #(
1558
      _ | IFS | as_nl) ;; #(
1645
      _ | IFS | as_nl) ;; #(
1646
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1559
      *) $as_unset $ac_var ;;
1647
      *) $as_unset $ac_var ;;
1560
      esac ;;
1648
      esac ;;
1561
    esac
1649
    esac
Lines 1585-1593 Link Here
1585
    do
1673
    do
1586
      eval ac_val=\$$ac_var
1674
      eval ac_val=\$$ac_var
1587
      case $ac_val in
1675
      case $ac_val in
1588
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589
      esac
1677
      esac
1590
      echo "$ac_var='\''$ac_val'\''"
1678
      $as_echo "$ac_var='\''$ac_val'\''"
1591
    done | sort
1679
    done | sort
1592
    echo
1680
    echo
1593
1681
Lines 1602-1610 Link Here
1602
      do
1690
      do
1603
	eval ac_val=\$$ac_var
1691
	eval ac_val=\$$ac_var
1604
	case $ac_val in
1692
	case $ac_val in
1605
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1693
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1606
	esac
1694
	esac
1607
	echo "$ac_var='\''$ac_val'\''"
1695
	$as_echo "$ac_var='\''$ac_val'\''"
1608
      done | sort
1696
      done | sort
1609
      echo
1697
      echo
1610
    fi
1698
    fi
Lines 1620-1627 Link Here
1620
      echo
1708
      echo
1621
    fi
1709
    fi
1622
    test "$ac_signal" != 0 &&
1710
    test "$ac_signal" != 0 &&
1623
      echo "$as_me: caught signal $ac_signal"
1711
      $as_echo "$as_me: caught signal $ac_signal"
1624
    echo "$as_me: exit $exit_status"
1712
    $as_echo "$as_me: exit $exit_status"
1625
  } >&5
1713
  } >&5
1626
  rm -f core *.core core.conftest.* &&
1714
  rm -f core *.core core.conftest.* &&
1627
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1715
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
Lines 1663-1683 Link Here
1663
1751
1664
1752
1665
# Let the site file select an alternate cache file if it wants to.
1753
# Let the site file select an alternate cache file if it wants to.
1666
# Prefer explicitly selected file to automatically selected ones.
1754
# Prefer an explicitly selected file to automatically selected ones.
1755
ac_site_file1=NONE
1756
ac_site_file2=NONE
1667
if test -n "$CONFIG_SITE"; then
1757
if test -n "$CONFIG_SITE"; then
1668
  set x "$CONFIG_SITE"
1758
  ac_site_file1=$CONFIG_SITE
1669
elif test "x$prefix" != xNONE; then
1759
elif test "x$prefix" != xNONE; then
1670
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1760
  ac_site_file1=$prefix/share/config.site
1761
  ac_site_file2=$prefix/etc/config.site
1671
else
1762
else
1672
  set x "$ac_default_prefix/share/config.site" \
1763
  ac_site_file1=$ac_default_prefix/share/config.site
1673
	"$ac_default_prefix/etc/config.site"
1764
  ac_site_file2=$ac_default_prefix/etc/config.site
1674
fi
1765
fi
1675
shift
1766
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1676
for ac_site_file
1677
do
1767
do
1768
  test "x$ac_site_file" = xNONE && continue
1678
  if test -r "$ac_site_file"; then
1769
  if test -r "$ac_site_file"; then
1679
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1770
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1680
echo "$as_me: loading site script $ac_site_file" >&6;}
1771
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1681
    sed 's/^/| /' "$ac_site_file" >&5
1772
    sed 's/^/| /' "$ac_site_file" >&5
1682
    . "$ac_site_file"
1773
    . "$ac_site_file"
1683
  fi
1774
  fi
Lines 1687-1702 Link Here
1687
  # Some versions of bash will fail to source /dev/null (special
1778
  # Some versions of bash will fail to source /dev/null (special
1688
  # files actually), so we avoid doing that.
1779
  # files actually), so we avoid doing that.
1689
  if test -f "$cache_file"; then
1780
  if test -f "$cache_file"; then
1690
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1781
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1691
echo "$as_me: loading cache $cache_file" >&6;}
1782
$as_echo "$as_me: loading cache $cache_file" >&6;}
1692
    case $cache_file in
1783
    case $cache_file in
1693
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1784
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1694
      *)                      . "./$cache_file";;
1785
      *)                      . "./$cache_file";;
1695
    esac
1786
    esac
1696
  fi
1787
  fi
1697
else
1788
else
1698
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1789
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1699
echo "$as_me: creating cache $cache_file" >&6;}
1790
$as_echo "$as_me: creating cache $cache_file" >&6;}
1700
  >$cache_file
1791
  >$cache_file
1701
fi
1792
fi
1702
1793
Lines 1710-1738 Link Here
1710
  eval ac_new_val=\$ac_env_${ac_var}_value
1801
  eval ac_new_val=\$ac_env_${ac_var}_value
1711
  case $ac_old_set,$ac_new_set in
1802
  case $ac_old_set,$ac_new_set in
1712
    set,)
1803
    set,)
1713
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1804
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1714
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1805
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1715
      ac_cache_corrupted=: ;;
1806
      ac_cache_corrupted=: ;;
1716
    ,set)
1807
    ,set)
1717
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1808
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1718
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1809
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1719
      ac_cache_corrupted=: ;;
1810
      ac_cache_corrupted=: ;;
1720
    ,);;
1811
    ,);;
1721
    *)
1812
    *)
1722
      if test "x$ac_old_val" != "x$ac_new_val"; then
1813
      if test "x$ac_old_val" != "x$ac_new_val"; then
1723
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1814
	# differences in whitespace do not lead to failure.
1724
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1815
	ac_old_val_w=`echo x $ac_old_val`
1725
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1816
	ac_new_val_w=`echo x $ac_new_val`
1726
echo "$as_me:   former value:  $ac_old_val" >&2;}
1817
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1727
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1818
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1728
echo "$as_me:   current value: $ac_new_val" >&2;}
1819
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1729
	ac_cache_corrupted=:
1820
	  ac_cache_corrupted=:
1821
	else
1822
	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1823
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1824
	  eval $ac_var=\$ac_old_val
1825
	fi
1826
	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1827
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1828
	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1829
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1730
      fi;;
1830
      fi;;
1731
  esac
1831
  esac
1732
  # Pass precious variables to config.status.
1832
  # Pass precious variables to config.status.
1733
  if test "$ac_new_set" = set; then
1833
  if test "$ac_new_set" = set; then
1734
    case $ac_new_val in
1834
    case $ac_new_val in
1735
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1835
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1736
    *) ac_arg=$ac_var=$ac_new_val ;;
1836
    *) ac_arg=$ac_var=$ac_new_val ;;
1737
    esac
1837
    esac
1738
    case " $ac_configure_args " in
1838
    case " $ac_configure_args " in
Lines 1742-1751 Link Here
1742
  fi
1842
  fi
1743
done
1843
done
1744
if $ac_cache_corrupted; then
1844
if $ac_cache_corrupted; then
1745
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1845
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1746
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1846
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1747
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1847
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1748
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1848
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1749
   { (exit 1); exit 1; }; }
1849
   { (exit 1); exit 1; }; }
1750
fi
1850
fi
1751
1851
Lines 1826-1833 Link Here
1826
  fi
1926
  fi
1827
done
1927
done
1828
if test -z "$ac_aux_dir"; then
1928
if test -z "$ac_aux_dir"; then
1829
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1929
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1830
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1930
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1831
   { (exit 1); exit 1; }; }
1931
   { (exit 1); exit 1; }; }
1832
fi
1932
fi
1833
1933
Lines 1842-1875 Link Here
1842
1942
1843
# Make sure we can run config.sub.
1943
# Make sure we can run config.sub.
1844
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1944
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1845
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1945
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1846
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1946
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1847
   { (exit 1); exit 1; }; }
1947
   { (exit 1); exit 1; }; }
1848
1948
1849
{ echo "$as_me:$LINENO: checking build system type" >&5
1949
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1850
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1950
$as_echo_n "checking build system type... " >&6; }
1851
if test "${ac_cv_build+set}" = set; then
1951
if test "${ac_cv_build+set}" = set; then
1852
  echo $ECHO_N "(cached) $ECHO_C" >&6
1952
  $as_echo_n "(cached) " >&6
1853
else
1953
else
1854
  ac_build_alias=$build_alias
1954
  ac_build_alias=$build_alias
1855
test "x$ac_build_alias" = x &&
1955
test "x$ac_build_alias" = x &&
1856
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1956
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1857
test "x$ac_build_alias" = x &&
1957
test "x$ac_build_alias" = x &&
1858
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1958
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1859
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1959
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1860
   { (exit 1); exit 1; }; }
1960
   { (exit 1); exit 1; }; }
1861
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1961
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1862
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1962
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1863
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1963
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1864
   { (exit 1); exit 1; }; }
1964
   { (exit 1); exit 1; }; }
1865
1965
1866
fi
1966
fi
1867
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1967
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1868
echo "${ECHO_T}$ac_cv_build" >&6; }
1968
$as_echo "$ac_cv_build" >&6; }
1869
case $ac_cv_build in
1969
case $ac_cv_build in
1870
*-*-*) ;;
1970
*-*-*) ;;
1871
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1971
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1872
echo "$as_me: error: invalid value of canonical build" >&2;}
1972
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1873
   { (exit 1); exit 1; }; };;
1973
   { (exit 1); exit 1; }; };;
1874
esac
1974
esac
1875
build=$ac_cv_build
1975
build=$ac_cv_build
Lines 1886-1912 Link Here
1886
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1986
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1887
1987
1888
1988
1889
{ echo "$as_me:$LINENO: checking host system type" >&5
1989
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
1890
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1990
$as_echo_n "checking host system type... " >&6; }
1891
if test "${ac_cv_host+set}" = set; then
1991
if test "${ac_cv_host+set}" = set; then
1892
  echo $ECHO_N "(cached) $ECHO_C" >&6
1992
  $as_echo_n "(cached) " >&6
1893
else
1993
else
1894
  if test "x$host_alias" = x; then
1994
  if test "x$host_alias" = x; then
1895
  ac_cv_host=$ac_cv_build
1995
  ac_cv_host=$ac_cv_build
1896
else
1996
else
1897
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1997
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1898
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1998
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1899
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1999
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1900
   { (exit 1); exit 1; }; }
2000
   { (exit 1); exit 1; }; }
1901
fi
2001
fi
1902
2002
1903
fi
2003
fi
1904
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2004
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1905
echo "${ECHO_T}$ac_cv_host" >&6; }
2005
$as_echo "$ac_cv_host" >&6; }
1906
case $ac_cv_host in
2006
case $ac_cv_host in
1907
*-*-*) ;;
2007
*-*-*) ;;
1908
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2008
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1909
echo "$as_me: error: invalid value of canonical host" >&2;}
2009
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1910
   { (exit 1); exit 1; }; };;
2010
   { (exit 1); exit 1; }; };;
1911
esac
2011
esac
1912
host=$ac_cv_host
2012
host=$ac_cv_host
Lines 1931-1940 Link Here
1931
if test -n "$ac_tool_prefix"; then
2031
if test -n "$ac_tool_prefix"; then
1932
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2032
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1933
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2033
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1934
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2034
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1935
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2035
$as_echo_n "checking for $ac_word... " >&6; }
1936
if test "${ac_cv_prog_CC+set}" = set; then
2036
if test "${ac_cv_prog_CC+set}" = set; then
1937
  echo $ECHO_N "(cached) $ECHO_C" >&6
2037
  $as_echo_n "(cached) " >&6
1938
else
2038
else
1939
  if test -n "$CC"; then
2039
  if test -n "$CC"; then
1940
  ac_cv_prog_CC="$CC" # Let the user override the test.
2040
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 1947-1953 Link Here
1947
  for ac_exec_ext in '' $ac_executable_extensions; do
2047
  for ac_exec_ext in '' $ac_executable_extensions; do
1948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2048
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1949
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2049
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1950
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951
    break 2
2051
    break 2
1952
  fi
2052
  fi
1953
done
2053
done
Lines 1958-1968 Link Here
1958
fi
2058
fi
1959
CC=$ac_cv_prog_CC
2059
CC=$ac_cv_prog_CC
1960
if test -n "$CC"; then
2060
if test -n "$CC"; then
1961
  { echo "$as_me:$LINENO: result: $CC" >&5
2061
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
1962
echo "${ECHO_T}$CC" >&6; }
2062
$as_echo "$CC" >&6; }
1963
else
2063
else
1964
  { echo "$as_me:$LINENO: result: no" >&5
2064
  { $as_echo "$as_me:$LINENO: result: no" >&5
1965
echo "${ECHO_T}no" >&6; }
2065
$as_echo "no" >&6; }
1966
fi
2066
fi
1967
2067
1968
2068
Lines 1971-1980 Link Here
1971
  ac_ct_CC=$CC
2071
  ac_ct_CC=$CC
1972
  # Extract the first word of "gcc", so it can be a program name with args.
2072
  # Extract the first word of "gcc", so it can be a program name with args.
1973
set dummy gcc; ac_word=$2
2073
set dummy gcc; ac_word=$2
1974
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2074
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1975
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2075
$as_echo_n "checking for $ac_word... " >&6; }
1976
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1977
  echo $ECHO_N "(cached) $ECHO_C" >&6
2077
  $as_echo_n "(cached) " >&6
1978
else
2078
else
1979
  if test -n "$ac_ct_CC"; then
2079
  if test -n "$ac_ct_CC"; then
1980
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2080
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 1987-1993 Link Here
1987
  for ac_exec_ext in '' $ac_executable_extensions; do
2087
  for ac_exec_ext in '' $ac_executable_extensions; do
1988
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2088
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1989
    ac_cv_prog_ac_ct_CC="gcc"
2089
    ac_cv_prog_ac_ct_CC="gcc"
1990
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991
    break 2
2091
    break 2
1992
  fi
2092
  fi
1993
done
2093
done
Lines 1998-2008 Link Here
1998
fi
2098
fi
1999
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2099
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2000
if test -n "$ac_ct_CC"; then
2100
if test -n "$ac_ct_CC"; then
2001
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2101
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2002
echo "${ECHO_T}$ac_ct_CC" >&6; }
2102
$as_echo "$ac_ct_CC" >&6; }
2003
else
2103
else
2004
  { echo "$as_me:$LINENO: result: no" >&5
2104
  { $as_echo "$as_me:$LINENO: result: no" >&5
2005
echo "${ECHO_T}no" >&6; }
2105
$as_echo "no" >&6; }
2006
fi
2106
fi
2007
2107
2008
  if test "x$ac_ct_CC" = x; then
2108
  if test "x$ac_ct_CC" = x; then
Lines 2010-2019 Link Here
2010
  else
2110
  else
2011
    case $cross_compiling:$ac_tool_warned in
2111
    case $cross_compiling:$ac_tool_warned in
2012
yes:)
2112
yes:)
2013
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2113
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2014
whose name does not start with the host triplet.  If you think this
2114
whose name does not start with the host triplet.  If you think this
2015
configuration is useful to you, please write to autoconf@gnu.org." >&5
2115
configuration is useful to you, please write to autoconf@gnu.org." >&5
2016
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2116
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2017
whose name does not start with the host triplet.  If you think this
2117
whose name does not start with the host triplet.  If you think this
2018
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2118
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2019
ac_tool_warned=yes ;;
2119
ac_tool_warned=yes ;;
Lines 2028-2037 Link Here
2028
          if test -n "$ac_tool_prefix"; then
2128
          if test -n "$ac_tool_prefix"; then
2029
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2129
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2030
set dummy ${ac_tool_prefix}cc; ac_word=$2
2130
set dummy ${ac_tool_prefix}cc; ac_word=$2
2031
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2131
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2032
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132
$as_echo_n "checking for $ac_word... " >&6; }
2033
if test "${ac_cv_prog_CC+set}" = set; then
2133
if test "${ac_cv_prog_CC+set}" = set; then
2034
  echo $ECHO_N "(cached) $ECHO_C" >&6
2134
  $as_echo_n "(cached) " >&6
2035
else
2135
else
2036
  if test -n "$CC"; then
2136
  if test -n "$CC"; then
2037
  ac_cv_prog_CC="$CC" # Let the user override the test.
2137
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2044-2050 Link Here
2044
  for ac_exec_ext in '' $ac_executable_extensions; do
2144
  for ac_exec_ext in '' $ac_executable_extensions; do
2045
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2046
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2146
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2047
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048
    break 2
2148
    break 2
2049
  fi
2149
  fi
2050
done
2150
done
Lines 2055-2065 Link Here
2055
fi
2155
fi
2056
CC=$ac_cv_prog_CC
2156
CC=$ac_cv_prog_CC
2057
if test -n "$CC"; then
2157
if test -n "$CC"; then
2058
  { echo "$as_me:$LINENO: result: $CC" >&5
2158
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2059
echo "${ECHO_T}$CC" >&6; }
2159
$as_echo "$CC" >&6; }
2060
else
2160
else
2061
  { echo "$as_me:$LINENO: result: no" >&5
2161
  { $as_echo "$as_me:$LINENO: result: no" >&5
2062
echo "${ECHO_T}no" >&6; }
2162
$as_echo "no" >&6; }
2063
fi
2163
fi
2064
2164
2065
2165
Lines 2068-2077 Link Here
2068
if test -z "$CC"; then
2168
if test -z "$CC"; then
2069
  # Extract the first word of "cc", so it can be a program name with args.
2169
  # Extract the first word of "cc", so it can be a program name with args.
2070
set dummy cc; ac_word=$2
2170
set dummy cc; ac_word=$2
2071
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2171
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2072
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172
$as_echo_n "checking for $ac_word... " >&6; }
2073
if test "${ac_cv_prog_CC+set}" = set; then
2173
if test "${ac_cv_prog_CC+set}" = set; then
2074
  echo $ECHO_N "(cached) $ECHO_C" >&6
2174
  $as_echo_n "(cached) " >&6
2075
else
2175
else
2076
  if test -n "$CC"; then
2176
  if test -n "$CC"; then
2077
  ac_cv_prog_CC="$CC" # Let the user override the test.
2177
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2089-2095 Link Here
2089
       continue
2189
       continue
2090
     fi
2190
     fi
2091
    ac_cv_prog_CC="cc"
2191
    ac_cv_prog_CC="cc"
2092
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093
    break 2
2193
    break 2
2094
  fi
2194
  fi
2095
done
2195
done
Lines 2112-2122 Link Here
2112
fi
2212
fi
2113
CC=$ac_cv_prog_CC
2213
CC=$ac_cv_prog_CC
2114
if test -n "$CC"; then
2214
if test -n "$CC"; then
2115
  { echo "$as_me:$LINENO: result: $CC" >&5
2215
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2116
echo "${ECHO_T}$CC" >&6; }
2216
$as_echo "$CC" >&6; }
2117
else
2217
else
2118
  { echo "$as_me:$LINENO: result: no" >&5
2218
  { $as_echo "$as_me:$LINENO: result: no" >&5
2119
echo "${ECHO_T}no" >&6; }
2219
$as_echo "no" >&6; }
2120
fi
2220
fi
2121
2221
2122
2222
Lines 2127-2136 Link Here
2127
  do
2227
  do
2128
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2129
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2229
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2130
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2230
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2131
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2231
$as_echo_n "checking for $ac_word... " >&6; }
2132
if test "${ac_cv_prog_CC+set}" = set; then
2232
if test "${ac_cv_prog_CC+set}" = set; then
2133
  echo $ECHO_N "(cached) $ECHO_C" >&6
2233
  $as_echo_n "(cached) " >&6
2134
else
2234
else
2135
  if test -n "$CC"; then
2235
  if test -n "$CC"; then
2136
  ac_cv_prog_CC="$CC" # Let the user override the test.
2236
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2143-2149 Link Here
2143
  for ac_exec_ext in '' $ac_executable_extensions; do
2243
  for ac_exec_ext in '' $ac_executable_extensions; do
2144
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2244
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2245
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2146
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147
    break 2
2247
    break 2
2148
  fi
2248
  fi
2149
done
2249
done
Lines 2154-2164 Link Here
2154
fi
2254
fi
2155
CC=$ac_cv_prog_CC
2255
CC=$ac_cv_prog_CC
2156
if test -n "$CC"; then
2256
if test -n "$CC"; then
2157
  { echo "$as_me:$LINENO: result: $CC" >&5
2257
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2158
echo "${ECHO_T}$CC" >&6; }
2258
$as_echo "$CC" >&6; }
2159
else
2259
else
2160
  { echo "$as_me:$LINENO: result: no" >&5
2260
  { $as_echo "$as_me:$LINENO: result: no" >&5
2161
echo "${ECHO_T}no" >&6; }
2261
$as_echo "no" >&6; }
2162
fi
2262
fi
2163
2263
2164
2264
Lines 2171-2180 Link Here
2171
do
2271
do
2172
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2272
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2173
set dummy $ac_prog; ac_word=$2
2273
set dummy $ac_prog; ac_word=$2
2174
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2274
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2175
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275
$as_echo_n "checking for $ac_word... " >&6; }
2176
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2276
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2177
  echo $ECHO_N "(cached) $ECHO_C" >&6
2277
  $as_echo_n "(cached) " >&6
2178
else
2278
else
2179
  if test -n "$ac_ct_CC"; then
2279
  if test -n "$ac_ct_CC"; then
2180
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 2187-2193 Link Here
2187
  for ac_exec_ext in '' $ac_executable_extensions; do
2287
  for ac_exec_ext in '' $ac_executable_extensions; do
2188
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2189
    ac_cv_prog_ac_ct_CC="$ac_prog"
2289
    ac_cv_prog_ac_ct_CC="$ac_prog"
2190
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191
    break 2
2291
    break 2
2192
  fi
2292
  fi
2193
done
2293
done
Lines 2198-2208 Link Here
2198
fi
2298
fi
2199
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2299
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2200
if test -n "$ac_ct_CC"; then
2300
if test -n "$ac_ct_CC"; then
2201
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2301
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2202
echo "${ECHO_T}$ac_ct_CC" >&6; }
2302
$as_echo "$ac_ct_CC" >&6; }
2203
else
2303
else
2204
  { echo "$as_me:$LINENO: result: no" >&5
2304
  { $as_echo "$as_me:$LINENO: result: no" >&5
2205
echo "${ECHO_T}no" >&6; }
2305
$as_echo "no" >&6; }
2206
fi
2306
fi
2207
2307
2208
2308
Lines 2214-2223 Link Here
2214
  else
2314
  else
2215
    case $cross_compiling:$ac_tool_warned in
2315
    case $cross_compiling:$ac_tool_warned in
2216
yes:)
2316
yes:)
2217
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2317
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2218
whose name does not start with the host triplet.  If you think this
2318
whose name does not start with the host triplet.  If you think this
2219
configuration is useful to you, please write to autoconf@gnu.org." >&5
2319
configuration is useful to you, please write to autoconf@gnu.org." >&5
2220
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2320
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2221
whose name does not start with the host triplet.  If you think this
2321
whose name does not start with the host triplet.  If you think this
2222
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2322
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2223
ac_tool_warned=yes ;;
2323
ac_tool_warned=yes ;;
Lines 2229-2272 Link Here
2229
fi
2329
fi
2230
2330
2231
2331
2232
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2332
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2233
See \`config.log' for more details." >&5
2333
See \`config.log' for more details." >&5
2234
echo "$as_me: error: no acceptable C compiler found in \$PATH
2334
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2235
See \`config.log' for more details." >&2;}
2335
See \`config.log' for more details." >&2;}
2236
   { (exit 1); exit 1; }; }
2336
   { (exit 1); exit 1; }; }
2237
2337
2238
# Provide some information about the compiler.
2338
# Provide some information about the compiler.
2239
echo "$as_me:$LINENO: checking for C compiler version" >&5
2339
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2240
ac_compiler=`set X $ac_compile; echo $2`
2340
set X $ac_compile
2341
ac_compiler=$2
2241
{ (ac_try="$ac_compiler --version >&5"
2342
{ (ac_try="$ac_compiler --version >&5"
2242
case "(($ac_try" in
2343
case "(($ac_try" in
2243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2344
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2244
  *) ac_try_echo=$ac_try;;
2345
  *) ac_try_echo=$ac_try;;
2245
esac
2346
esac
2246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2347
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2348
$as_echo "$ac_try_echo") >&5
2247
  (eval "$ac_compiler --version >&5") 2>&5
2349
  (eval "$ac_compiler --version >&5") 2>&5
2248
  ac_status=$?
2350
  ac_status=$?
2249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250
  (exit $ac_status); }
2352
  (exit $ac_status); }
2251
{ (ac_try="$ac_compiler -v >&5"
2353
{ (ac_try="$ac_compiler -v >&5"
2252
case "(($ac_try" in
2354
case "(($ac_try" in
2253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2355
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254
  *) ac_try_echo=$ac_try;;
2356
  *) ac_try_echo=$ac_try;;
2255
esac
2357
esac
2256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2358
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2359
$as_echo "$ac_try_echo") >&5
2257
  (eval "$ac_compiler -v >&5") 2>&5
2360
  (eval "$ac_compiler -v >&5") 2>&5
2258
  ac_status=$?
2361
  ac_status=$?
2259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260
  (exit $ac_status); }
2363
  (exit $ac_status); }
2261
{ (ac_try="$ac_compiler -V >&5"
2364
{ (ac_try="$ac_compiler -V >&5"
2262
case "(($ac_try" in
2365
case "(($ac_try" in
2263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2264
  *) ac_try_echo=$ac_try;;
2367
  *) ac_try_echo=$ac_try;;
2265
esac
2368
esac
2266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2370
$as_echo "$ac_try_echo") >&5
2267
  (eval "$ac_compiler -V >&5") 2>&5
2371
  (eval "$ac_compiler -V >&5") 2>&5
2268
  ac_status=$?
2372
  ac_status=$?
2269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270
  (exit $ac_status); }
2374
  (exit $ac_status); }
2271
2375
2272
cat >conftest.$ac_ext <<_ACEOF
2376
cat >conftest.$ac_ext <<_ACEOF
Lines 2285-2311 Link Here
2285
}
2389
}
2286
_ACEOF
2390
_ACEOF
2287
ac_clean_files_save=$ac_clean_files
2391
ac_clean_files_save=$ac_clean_files
2288
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2392
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2289
# Try to create an executable without -o first, disregard a.out.
2393
# Try to create an executable without -o first, disregard a.out.
2290
# It will help us diagnose broken compilers, and finding out an intuition
2394
# It will help us diagnose broken compilers, and finding out an intuition
2291
# of exeext.
2395
# of exeext.
2292
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2396
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2293
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2397
$as_echo_n "checking for C compiler default output file name... " >&6; }
2294
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2398
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2295
#
2399
2296
# List of possible output files, starting from the most likely.
2400
# The possible output files:
2297
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2401
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2298
# only as a last resort.  b.out is created by i960 compilers.
2402
2299
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2300
#
2301
# The IRIX 6 linker writes into existing files which may not be
2302
# executable, retaining their permissions.  Remove them first so a
2303
# subsequent execution test works.
2304
ac_rmfiles=
2403
ac_rmfiles=
2305
for ac_file in $ac_files
2404
for ac_file in $ac_files
2306
do
2405
do
2307
  case $ac_file in
2406
  case $ac_file in
2308
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2407
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2309
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2408
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2310
  esac
2409
  esac
2311
done
2410
done
Lines 2316-2325 Link Here
2316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2317
  *) ac_try_echo=$ac_try;;
2416
  *) ac_try_echo=$ac_try;;
2318
esac
2417
esac
2319
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2418
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2419
$as_echo "$ac_try_echo") >&5
2320
  (eval "$ac_link_default") 2>&5
2420
  (eval "$ac_link_default") 2>&5
2321
  ac_status=$?
2421
  ac_status=$?
2322
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
  (exit $ac_status); }; then
2423
  (exit $ac_status); }; then
2324
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2424
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2325
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2425
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
Lines 2330-2336 Link Here
2330
do
2430
do
2331
  test -f "$ac_file" || continue
2431
  test -f "$ac_file" || continue
2332
  case $ac_file in
2432
  case $ac_file in
2333
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2433
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2334
	;;
2434
	;;
2335
    [ab].out )
2435
    [ab].out )
2336
	# We found the default executable, but exeext='' is most
2436
	# We found the default executable, but exeext='' is most
Lines 2357-2371 Link Here
2357
  ac_file=''
2457
  ac_file=''
2358
fi
2458
fi
2359
2459
2360
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2460
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2361
echo "${ECHO_T}$ac_file" >&6; }
2461
$as_echo "$ac_file" >&6; }
2362
if test -z "$ac_file"; then
2462
if test -z "$ac_file"; then
2363
  echo "$as_me: failed program was:" >&5
2463
  $as_echo "$as_me: failed program was:" >&5
2364
sed 's/^/| /' conftest.$ac_ext >&5
2464
sed 's/^/| /' conftest.$ac_ext >&5
2365
2465
2366
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2466
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2367
See \`config.log' for more details." >&5
2467
See \`config.log' for more details." >&5
2368
echo "$as_me: error: C compiler cannot create executables
2468
$as_echo "$as_me: error: C compiler cannot create executables
2369
See \`config.log' for more details." >&2;}
2469
See \`config.log' for more details." >&2;}
2370
   { (exit 77); exit 77; }; }
2470
   { (exit 77); exit 77; }; }
2371
fi
2471
fi
Lines 2374-2381 Link Here
2374
2474
2375
# Check that the compiler produces executables we can run.  If not, either
2475
# Check that the compiler produces executables we can run.  If not, either
2376
# the compiler is broken, or we cross compile.
2476
# the compiler is broken, or we cross compile.
2377
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2477
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2378
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2478
$as_echo_n "checking whether the C compiler works... " >&6; }
2379
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2479
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2380
# If not cross compiling, check that we can run a simple program.
2480
# If not cross compiling, check that we can run a simple program.
2381
if test "$cross_compiling" != yes; then
2481
if test "$cross_compiling" != yes; then
Lines 2384-2432 Link Here
2384
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2385
  *) ac_try_echo=$ac_try;;
2485
  *) ac_try_echo=$ac_try;;
2386
esac
2486
esac
2387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2487
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2488
$as_echo "$ac_try_echo") >&5
2388
  (eval "$ac_try") 2>&5
2489
  (eval "$ac_try") 2>&5
2389
  ac_status=$?
2490
  ac_status=$?
2390
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391
  (exit $ac_status); }; }; then
2492
  (exit $ac_status); }; }; then
2392
    cross_compiling=no
2493
    cross_compiling=no
2393
  else
2494
  else
2394
    if test "$cross_compiling" = maybe; then
2495
    if test "$cross_compiling" = maybe; then
2395
	cross_compiling=yes
2496
	cross_compiling=yes
2396
    else
2497
    else
2397
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2498
	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2398
If you meant to cross compile, use \`--host'.
2499
If you meant to cross compile, use \`--host'.
2399
See \`config.log' for more details." >&5
2500
See \`config.log' for more details." >&5
2400
echo "$as_me: error: cannot run C compiled programs.
2501
$as_echo "$as_me: error: cannot run C compiled programs.
2401
If you meant to cross compile, use \`--host'.
2502
If you meant to cross compile, use \`--host'.
2402
See \`config.log' for more details." >&2;}
2503
See \`config.log' for more details." >&2;}
2403
   { (exit 1); exit 1; }; }
2504
   { (exit 1); exit 1; }; }
2404
    fi
2505
    fi
2405
  fi
2506
  fi
2406
fi
2507
fi
2407
{ echo "$as_me:$LINENO: result: yes" >&5
2508
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2408
echo "${ECHO_T}yes" >&6; }
2509
$as_echo "yes" >&6; }
2409
2510
2410
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2511
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2411
ac_clean_files=$ac_clean_files_save
2512
ac_clean_files=$ac_clean_files_save
2412
# Check that the compiler produces executables we can run.  If not, either
2513
# Check that the compiler produces executables we can run.  If not, either
2413
# the compiler is broken, or we cross compile.
2514
# the compiler is broken, or we cross compile.
2414
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2515
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2415
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2516
$as_echo_n "checking whether we are cross compiling... " >&6; }
2416
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2517
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2417
echo "${ECHO_T}$cross_compiling" >&6; }
2518
$as_echo "$cross_compiling" >&6; }
2418
2519
2419
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2520
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2420
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2521
$as_echo_n "checking for suffix of executables... " >&6; }
2421
if { (ac_try="$ac_link"
2522
if { (ac_try="$ac_link"
2422
case "(($ac_try" in
2523
case "(($ac_try" in
2423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424
  *) ac_try_echo=$ac_try;;
2525
  *) ac_try_echo=$ac_try;;
2425
esac
2526
esac
2426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2527
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2528
$as_echo "$ac_try_echo") >&5
2427
  (eval "$ac_link") 2>&5
2529
  (eval "$ac_link") 2>&5
2428
  ac_status=$?
2530
  ac_status=$?
2429
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430
  (exit $ac_status); }; then
2532
  (exit $ac_status); }; then
2431
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2533
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2432
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2534
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
Lines 2435-2465 Link Here
2435
for ac_file in conftest.exe conftest conftest.*; do
2537
for ac_file in conftest.exe conftest conftest.*; do
2436
  test -f "$ac_file" || continue
2538
  test -f "$ac_file" || continue
2437
  case $ac_file in
2539
  case $ac_file in
2438
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2540
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2439
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2541
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440
	  break;;
2542
	  break;;
2441
    * ) break;;
2543
    * ) break;;
2442
  esac
2544
  esac
2443
done
2545
done
2444
else
2546
else
2445
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2547
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2446
See \`config.log' for more details." >&5
2548
See \`config.log' for more details." >&5
2447
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2549
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2448
See \`config.log' for more details." >&2;}
2550
See \`config.log' for more details." >&2;}
2449
   { (exit 1); exit 1; }; }
2551
   { (exit 1); exit 1; }; }
2450
fi
2552
fi
2451
2553
2452
rm -f conftest$ac_cv_exeext
2554
rm -f conftest$ac_cv_exeext
2453
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2555
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2454
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2556
$as_echo "$ac_cv_exeext" >&6; }
2455
2557
2456
rm -f conftest.$ac_ext
2558
rm -f conftest.$ac_ext
2457
EXEEXT=$ac_cv_exeext
2559
EXEEXT=$ac_cv_exeext
2458
ac_exeext=$EXEEXT
2560
ac_exeext=$EXEEXT
2459
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2561
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2460
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2562
$as_echo_n "checking for suffix of object files... " >&6; }
2461
if test "${ac_cv_objext+set}" = set; then
2563
if test "${ac_cv_objext+set}" = set; then
2462
  echo $ECHO_N "(cached) $ECHO_C" >&6
2564
  $as_echo_n "(cached) " >&6
2463
else
2565
else
2464
  cat >conftest.$ac_ext <<_ACEOF
2566
  cat >conftest.$ac_ext <<_ACEOF
2465
/* confdefs.h.  */
2567
/* confdefs.h.  */
Lines 2482-2521 Link Here
2482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483
  *) ac_try_echo=$ac_try;;
2585
  *) ac_try_echo=$ac_try;;
2484
esac
2586
esac
2485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2587
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2588
$as_echo "$ac_try_echo") >&5
2486
  (eval "$ac_compile") 2>&5
2589
  (eval "$ac_compile") 2>&5
2487
  ac_status=$?
2590
  ac_status=$?
2488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489
  (exit $ac_status); }; then
2592
  (exit $ac_status); }; then
2490
  for ac_file in conftest.o conftest.obj conftest.*; do
2593
  for ac_file in conftest.o conftest.obj conftest.*; do
2491
  test -f "$ac_file" || continue;
2594
  test -f "$ac_file" || continue;
2492
  case $ac_file in
2595
  case $ac_file in
2493
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2596
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2494
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2597
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2495
       break;;
2598
       break;;
2496
  esac
2599
  esac
2497
done
2600
done
2498
else
2601
else
2499
  echo "$as_me: failed program was:" >&5
2602
  $as_echo "$as_me: failed program was:" >&5
2500
sed 's/^/| /' conftest.$ac_ext >&5
2603
sed 's/^/| /' conftest.$ac_ext >&5
2501
2604
2502
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2605
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2503
See \`config.log' for more details." >&5
2606
See \`config.log' for more details." >&5
2504
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2607
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2505
See \`config.log' for more details." >&2;}
2608
See \`config.log' for more details." >&2;}
2506
   { (exit 1); exit 1; }; }
2609
   { (exit 1); exit 1; }; }
2507
fi
2610
fi
2508
2611
2509
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2612
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2510
fi
2613
fi
2511
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2614
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2512
echo "${ECHO_T}$ac_cv_objext" >&6; }
2615
$as_echo "$ac_cv_objext" >&6; }
2513
OBJEXT=$ac_cv_objext
2616
OBJEXT=$ac_cv_objext
2514
ac_objext=$OBJEXT
2617
ac_objext=$OBJEXT
2515
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2618
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2516
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2619
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2517
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2620
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2518
  echo $ECHO_N "(cached) $ECHO_C" >&6
2621
  $as_echo_n "(cached) " >&6
2519
else
2622
else
2520
  cat >conftest.$ac_ext <<_ACEOF
2623
  cat >conftest.$ac_ext <<_ACEOF
2521
/* confdefs.h.  */
2624
/* confdefs.h.  */
Lines 2541-2560 Link Here
2541
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542
  *) ac_try_echo=$ac_try;;
2645
  *) ac_try_echo=$ac_try;;
2543
esac
2646
esac
2544
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2648
$as_echo "$ac_try_echo") >&5
2545
  (eval "$ac_compile") 2>conftest.er1
2649
  (eval "$ac_compile") 2>conftest.er1
2546
  ac_status=$?
2650
  ac_status=$?
2547
  grep -v '^ *+' conftest.er1 >conftest.err
2651
  grep -v '^ *+' conftest.er1 >conftest.err
2548
  rm -f conftest.er1
2652
  rm -f conftest.er1
2549
  cat conftest.err >&5
2653
  cat conftest.err >&5
2550
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551
  (exit $ac_status); } && {
2655
  (exit $ac_status); } && {
2552
	 test -z "$ac_c_werror_flag" ||
2656
	 test -z "$ac_c_werror_flag" ||
2553
	 test ! -s conftest.err
2657
	 test ! -s conftest.err
2554
       } && test -s conftest.$ac_objext; then
2658
       } && test -s conftest.$ac_objext; then
2555
  ac_compiler_gnu=yes
2659
  ac_compiler_gnu=yes
2556
else
2660
else
2557
  echo "$as_me: failed program was:" >&5
2661
  $as_echo "$as_me: failed program was:" >&5
2558
sed 's/^/| /' conftest.$ac_ext >&5
2662
sed 's/^/| /' conftest.$ac_ext >&5
2559
2663
2560
	ac_compiler_gnu=no
2664
	ac_compiler_gnu=no
Lines 2564-2578 Link Here
2564
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2668
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2565
2669
2566
fi
2670
fi
2567
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2671
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2568
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2672
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2569
GCC=`test $ac_compiler_gnu = yes && echo yes`
2673
if test $ac_compiler_gnu = yes; then
2674
  GCC=yes
2675
else
2676
  GCC=
2677
fi
2570
ac_test_CFLAGS=${CFLAGS+set}
2678
ac_test_CFLAGS=${CFLAGS+set}
2571
ac_save_CFLAGS=$CFLAGS
2679
ac_save_CFLAGS=$CFLAGS
2572
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2680
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2573
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2681
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2574
if test "${ac_cv_prog_cc_g+set}" = set; then
2682
if test "${ac_cv_prog_cc_g+set}" = set; then
2575
  echo $ECHO_N "(cached) $ECHO_C" >&6
2683
  $as_echo_n "(cached) " >&6
2576
else
2684
else
2577
  ac_save_c_werror_flag=$ac_c_werror_flag
2685
  ac_save_c_werror_flag=$ac_c_werror_flag
2578
   ac_c_werror_flag=yes
2686
   ac_c_werror_flag=yes
Lines 2599-2618 Link Here
2599
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600
  *) ac_try_echo=$ac_try;;
2708
  *) ac_try_echo=$ac_try;;
2601
esac
2709
esac
2602
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2711
$as_echo "$ac_try_echo") >&5
2603
  (eval "$ac_compile") 2>conftest.er1
2712
  (eval "$ac_compile") 2>conftest.er1
2604
  ac_status=$?
2713
  ac_status=$?
2605
  grep -v '^ *+' conftest.er1 >conftest.err
2714
  grep -v '^ *+' conftest.er1 >conftest.err
2606
  rm -f conftest.er1
2715
  rm -f conftest.er1
2607
  cat conftest.err >&5
2716
  cat conftest.err >&5
2608
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609
  (exit $ac_status); } && {
2718
  (exit $ac_status); } && {
2610
	 test -z "$ac_c_werror_flag" ||
2719
	 test -z "$ac_c_werror_flag" ||
2611
	 test ! -s conftest.err
2720
	 test ! -s conftest.err
2612
       } && test -s conftest.$ac_objext; then
2721
       } && test -s conftest.$ac_objext; then
2613
  ac_cv_prog_cc_g=yes
2722
  ac_cv_prog_cc_g=yes
2614
else
2723
else
2615
  echo "$as_me: failed program was:" >&5
2724
  $as_echo "$as_me: failed program was:" >&5
2616
sed 's/^/| /' conftest.$ac_ext >&5
2725
sed 's/^/| /' conftest.$ac_ext >&5
2617
2726
2618
	CFLAGS=""
2727
	CFLAGS=""
Lines 2637-2656 Link Here
2637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638
  *) ac_try_echo=$ac_try;;
2747
  *) ac_try_echo=$ac_try;;
2639
esac
2748
esac
2640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2750
$as_echo "$ac_try_echo") >&5
2641
  (eval "$ac_compile") 2>conftest.er1
2751
  (eval "$ac_compile") 2>conftest.er1
2642
  ac_status=$?
2752
  ac_status=$?
2643
  grep -v '^ *+' conftest.er1 >conftest.err
2753
  grep -v '^ *+' conftest.er1 >conftest.err
2644
  rm -f conftest.er1
2754
  rm -f conftest.er1
2645
  cat conftest.err >&5
2755
  cat conftest.err >&5
2646
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647
  (exit $ac_status); } && {
2757
  (exit $ac_status); } && {
2648
	 test -z "$ac_c_werror_flag" ||
2758
	 test -z "$ac_c_werror_flag" ||
2649
	 test ! -s conftest.err
2759
	 test ! -s conftest.err
2650
       } && test -s conftest.$ac_objext; then
2760
       } && test -s conftest.$ac_objext; then
2651
  :
2761
  :
2652
else
2762
else
2653
  echo "$as_me: failed program was:" >&5
2763
  $as_echo "$as_me: failed program was:" >&5
2654
sed 's/^/| /' conftest.$ac_ext >&5
2764
sed 's/^/| /' conftest.$ac_ext >&5
2655
2765
2656
	ac_c_werror_flag=$ac_save_c_werror_flag
2766
	ac_c_werror_flag=$ac_save_c_werror_flag
Lines 2676-2695 Link Here
2676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2786
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677
  *) ac_try_echo=$ac_try;;
2787
  *) ac_try_echo=$ac_try;;
2678
esac
2788
esac
2679
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2789
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2790
$as_echo "$ac_try_echo") >&5
2680
  (eval "$ac_compile") 2>conftest.er1
2791
  (eval "$ac_compile") 2>conftest.er1
2681
  ac_status=$?
2792
  ac_status=$?
2682
  grep -v '^ *+' conftest.er1 >conftest.err
2793
  grep -v '^ *+' conftest.er1 >conftest.err
2683
  rm -f conftest.er1
2794
  rm -f conftest.er1
2684
  cat conftest.err >&5
2795
  cat conftest.err >&5
2685
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686
  (exit $ac_status); } && {
2797
  (exit $ac_status); } && {
2687
	 test -z "$ac_c_werror_flag" ||
2798
	 test -z "$ac_c_werror_flag" ||
2688
	 test ! -s conftest.err
2799
	 test ! -s conftest.err
2689
       } && test -s conftest.$ac_objext; then
2800
       } && test -s conftest.$ac_objext; then
2690
  ac_cv_prog_cc_g=yes
2801
  ac_cv_prog_cc_g=yes
2691
else
2802
else
2692
  echo "$as_me: failed program was:" >&5
2803
  $as_echo "$as_me: failed program was:" >&5
2693
sed 's/^/| /' conftest.$ac_ext >&5
2804
sed 's/^/| /' conftest.$ac_ext >&5
2694
2805
2695
2806
Lines 2704-2711 Link Here
2704
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2705
   ac_c_werror_flag=$ac_save_c_werror_flag
2816
   ac_c_werror_flag=$ac_save_c_werror_flag
2706
fi
2817
fi
2707
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2818
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2708
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2819
$as_echo "$ac_cv_prog_cc_g" >&6; }
2709
if test "$ac_test_CFLAGS" = set; then
2820
if test "$ac_test_CFLAGS" = set; then
2710
  CFLAGS=$ac_save_CFLAGS
2821
  CFLAGS=$ac_save_CFLAGS
2711
elif test $ac_cv_prog_cc_g = yes; then
2822
elif test $ac_cv_prog_cc_g = yes; then
Lines 2721-2730 Link Here
2721
    CFLAGS=
2832
    CFLAGS=
2722
  fi
2833
  fi
2723
fi
2834
fi
2724
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2835
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2725
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2836
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2726
if test "${ac_cv_prog_cc_c89+set}" = set; then
2837
if test "${ac_cv_prog_cc_c89+set}" = set; then
2727
  echo $ECHO_N "(cached) $ECHO_C" >&6
2838
  $as_echo_n "(cached) " >&6
2728
else
2839
else
2729
  ac_cv_prog_cc_c89=no
2840
  ac_cv_prog_cc_c89=no
2730
ac_save_CC=$CC
2841
ac_save_CC=$CC
Lines 2795-2814 Link Here
2795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796
  *) ac_try_echo=$ac_try;;
2907
  *) ac_try_echo=$ac_try;;
2797
esac
2908
esac
2798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2910
$as_echo "$ac_try_echo") >&5
2799
  (eval "$ac_compile") 2>conftest.er1
2911
  (eval "$ac_compile") 2>conftest.er1
2800
  ac_status=$?
2912
  ac_status=$?
2801
  grep -v '^ *+' conftest.er1 >conftest.err
2913
  grep -v '^ *+' conftest.er1 >conftest.err
2802
  rm -f conftest.er1
2914
  rm -f conftest.er1
2803
  cat conftest.err >&5
2915
  cat conftest.err >&5
2804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805
  (exit $ac_status); } && {
2917
  (exit $ac_status); } && {
2806
	 test -z "$ac_c_werror_flag" ||
2918
	 test -z "$ac_c_werror_flag" ||
2807
	 test ! -s conftest.err
2919
	 test ! -s conftest.err
2808
       } && test -s conftest.$ac_objext; then
2920
       } && test -s conftest.$ac_objext; then
2809
  ac_cv_prog_cc_c89=$ac_arg
2921
  ac_cv_prog_cc_c89=$ac_arg
2810
else
2922
else
2811
  echo "$as_me: failed program was:" >&5
2923
  $as_echo "$as_me: failed program was:" >&5
2812
sed 's/^/| /' conftest.$ac_ext >&5
2924
sed 's/^/| /' conftest.$ac_ext >&5
2813
2925
2814
2926
Lines 2824-2838 Link Here
2824
# AC_CACHE_VAL
2936
# AC_CACHE_VAL
2825
case "x$ac_cv_prog_cc_c89" in
2937
case "x$ac_cv_prog_cc_c89" in
2826
  x)
2938
  x)
2827
    { echo "$as_me:$LINENO: result: none needed" >&5
2939
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
2828
echo "${ECHO_T}none needed" >&6; } ;;
2940
$as_echo "none needed" >&6; } ;;
2829
  xno)
2941
  xno)
2830
    { echo "$as_me:$LINENO: result: unsupported" >&5
2942
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2831
echo "${ECHO_T}unsupported" >&6; } ;;
2943
$as_echo "unsupported" >&6; } ;;
2832
  *)
2944
  *)
2833
    CC="$CC $ac_cv_prog_cc_c89"
2945
    CC="$CC $ac_cv_prog_cc_c89"
2834
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2946
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2835
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2947
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2836
esac
2948
esac
2837
2949
2838
2950
Lines 2843-2852 Link Here
2843
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2955
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2844
2956
2845
2957
2846
{ echo "$as_me:$LINENO: checking for inline" >&5
2958
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
2847
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
2959
$as_echo_n "checking for inline... " >&6; }
2848
if test "${ac_cv_c_inline+set}" = set; then
2960
if test "${ac_cv_c_inline+set}" = set; then
2849
  echo $ECHO_N "(cached) $ECHO_C" >&6
2961
  $as_echo_n "(cached) " >&6
2850
else
2962
else
2851
  ac_cv_c_inline=no
2963
  ac_cv_c_inline=no
2852
for ac_kw in inline __inline__ __inline; do
2964
for ac_kw in inline __inline__ __inline; do
Lines 2869-2888 Link Here
2869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870
  *) ac_try_echo=$ac_try;;
2982
  *) ac_try_echo=$ac_try;;
2871
esac
2983
esac
2872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2985
$as_echo "$ac_try_echo") >&5
2873
  (eval "$ac_compile") 2>conftest.er1
2986
  (eval "$ac_compile") 2>conftest.er1
2874
  ac_status=$?
2987
  ac_status=$?
2875
  grep -v '^ *+' conftest.er1 >conftest.err
2988
  grep -v '^ *+' conftest.er1 >conftest.err
2876
  rm -f conftest.er1
2989
  rm -f conftest.er1
2877
  cat conftest.err >&5
2990
  cat conftest.err >&5
2878
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879
  (exit $ac_status); } && {
2992
  (exit $ac_status); } && {
2880
	 test -z "$ac_c_werror_flag" ||
2993
	 test -z "$ac_c_werror_flag" ||
2881
	 test ! -s conftest.err
2994
	 test ! -s conftest.err
2882
       } && test -s conftest.$ac_objext; then
2995
       } && test -s conftest.$ac_objext; then
2883
  ac_cv_c_inline=$ac_kw
2996
  ac_cv_c_inline=$ac_kw
2884
else
2997
else
2885
  echo "$as_me: failed program was:" >&5
2998
  $as_echo "$as_me: failed program was:" >&5
2886
sed 's/^/| /' conftest.$ac_ext >&5
2999
sed 's/^/| /' conftest.$ac_ext >&5
2887
3000
2888
3001
Lines 2893-2900 Link Here
2893
done
3006
done
2894
3007
2895
fi
3008
fi
2896
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3009
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
2897
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3010
$as_echo "$ac_cv_c_inline" >&6; }
2898
3011
2899
3012
2900
case $ac_cv_c_inline in
3013
case $ac_cv_c_inline in
Lines 2921-2930 Link Here
2921
if test -n "$ac_tool_prefix"; then
3034
if test -n "$ac_tool_prefix"; then
2922
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3035
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2923
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3036
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2924
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3037
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3038
$as_echo_n "checking for $ac_word... " >&6; }
2926
if test "${ac_cv_prog_CC+set}" = set; then
3039
if test "${ac_cv_prog_CC+set}" = set; then
2927
  echo $ECHO_N "(cached) $ECHO_C" >&6
3040
  $as_echo_n "(cached) " >&6
2928
else
3041
else
2929
  if test -n "$CC"; then
3042
  if test -n "$CC"; then
2930
  ac_cv_prog_CC="$CC" # Let the user override the test.
3043
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2937-2943 Link Here
2937
  for ac_exec_ext in '' $ac_executable_extensions; do
3050
  for ac_exec_ext in '' $ac_executable_extensions; do
2938
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3052
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2940
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3053
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2941
    break 2
3054
    break 2
2942
  fi
3055
  fi
2943
done
3056
done
Lines 2948-2958 Link Here
2948
fi
3061
fi
2949
CC=$ac_cv_prog_CC
3062
CC=$ac_cv_prog_CC
2950
if test -n "$CC"; then
3063
if test -n "$CC"; then
2951
  { echo "$as_me:$LINENO: result: $CC" >&5
3064
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2952
echo "${ECHO_T}$CC" >&6; }
3065
$as_echo "$CC" >&6; }
2953
else
3066
else
2954
  { echo "$as_me:$LINENO: result: no" >&5
3067
  { $as_echo "$as_me:$LINENO: result: no" >&5
2955
echo "${ECHO_T}no" >&6; }
3068
$as_echo "no" >&6; }
2956
fi
3069
fi
2957
3070
2958
3071
Lines 2961-2970 Link Here
2961
  ac_ct_CC=$CC
3074
  ac_ct_CC=$CC
2962
  # Extract the first word of "gcc", so it can be a program name with args.
3075
  # Extract the first word of "gcc", so it can be a program name with args.
2963
set dummy gcc; ac_word=$2
3076
set dummy gcc; ac_word=$2
2964
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3077
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2965
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3078
$as_echo_n "checking for $ac_word... " >&6; }
2966
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3079
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2967
  echo $ECHO_N "(cached) $ECHO_C" >&6
3080
  $as_echo_n "(cached) " >&6
2968
else
3081
else
2969
  if test -n "$ac_ct_CC"; then
3082
  if test -n "$ac_ct_CC"; then
2970
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3083
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 2977-2983 Link Here
2977
  for ac_exec_ext in '' $ac_executable_extensions; do
3090
  for ac_exec_ext in '' $ac_executable_extensions; do
2978
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3091
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979
    ac_cv_prog_ac_ct_CC="gcc"
3092
    ac_cv_prog_ac_ct_CC="gcc"
2980
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3093
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2981
    break 2
3094
    break 2
2982
  fi
3095
  fi
2983
done
3096
done
Lines 2988-2998 Link Here
2988
fi
3101
fi
2989
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3102
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2990
if test -n "$ac_ct_CC"; then
3103
if test -n "$ac_ct_CC"; then
2991
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3104
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2992
echo "${ECHO_T}$ac_ct_CC" >&6; }
3105
$as_echo "$ac_ct_CC" >&6; }
2993
else
3106
else
2994
  { echo "$as_me:$LINENO: result: no" >&5
3107
  { $as_echo "$as_me:$LINENO: result: no" >&5
2995
echo "${ECHO_T}no" >&6; }
3108
$as_echo "no" >&6; }
2996
fi
3109
fi
2997
3110
2998
  if test "x$ac_ct_CC" = x; then
3111
  if test "x$ac_ct_CC" = x; then
Lines 3000-3009 Link Here
3000
  else
3113
  else
3001
    case $cross_compiling:$ac_tool_warned in
3114
    case $cross_compiling:$ac_tool_warned in
3002
yes:)
3115
yes:)
3003
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3116
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3004
whose name does not start with the host triplet.  If you think this
3117
whose name does not start with the host triplet.  If you think this
3005
configuration is useful to you, please write to autoconf@gnu.org." >&5
3118
configuration is useful to you, please write to autoconf@gnu.org." >&5
3006
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3119
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3007
whose name does not start with the host triplet.  If you think this
3120
whose name does not start with the host triplet.  If you think this
3008
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3121
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3009
ac_tool_warned=yes ;;
3122
ac_tool_warned=yes ;;
Lines 3018-3027 Link Here
3018
          if test -n "$ac_tool_prefix"; then
3131
          if test -n "$ac_tool_prefix"; then
3019
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3132
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3020
set dummy ${ac_tool_prefix}cc; ac_word=$2
3133
set dummy ${ac_tool_prefix}cc; ac_word=$2
3021
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3134
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3022
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3135
$as_echo_n "checking for $ac_word... " >&6; }
3023
if test "${ac_cv_prog_CC+set}" = set; then
3136
if test "${ac_cv_prog_CC+set}" = set; then
3024
  echo $ECHO_N "(cached) $ECHO_C" >&6
3137
  $as_echo_n "(cached) " >&6
3025
else
3138
else
3026
  if test -n "$CC"; then
3139
  if test -n "$CC"; then
3027
  ac_cv_prog_CC="$CC" # Let the user override the test.
3140
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 3034-3040 Link Here
3034
  for ac_exec_ext in '' $ac_executable_extensions; do
3147
  for ac_exec_ext in '' $ac_executable_extensions; do
3035
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3149
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3037
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3150
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3038
    break 2
3151
    break 2
3039
  fi
3152
  fi
3040
done
3153
done
Lines 3045-3055 Link Here
3045
fi
3158
fi
3046
CC=$ac_cv_prog_CC
3159
CC=$ac_cv_prog_CC
3047
if test -n "$CC"; then
3160
if test -n "$CC"; then
3048
  { echo "$as_me:$LINENO: result: $CC" >&5
3161
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3049
echo "${ECHO_T}$CC" >&6; }
3162
$as_echo "$CC" >&6; }
3050
else
3163
else
3051
  { echo "$as_me:$LINENO: result: no" >&5
3164
  { $as_echo "$as_me:$LINENO: result: no" >&5
3052
echo "${ECHO_T}no" >&6; }
3165
$as_echo "no" >&6; }
3053
fi
3166
fi
3054
3167
3055
3168
Lines 3058-3067 Link Here
3058
if test -z "$CC"; then
3171
if test -z "$CC"; then
3059
  # Extract the first word of "cc", so it can be a program name with args.
3172
  # Extract the first word of "cc", so it can be a program name with args.
3060
set dummy cc; ac_word=$2
3173
set dummy cc; ac_word=$2
3061
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3174
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3062
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3175
$as_echo_n "checking for $ac_word... " >&6; }
3063
if test "${ac_cv_prog_CC+set}" = set; then
3176
if test "${ac_cv_prog_CC+set}" = set; then
3064
  echo $ECHO_N "(cached) $ECHO_C" >&6
3177
  $as_echo_n "(cached) " >&6
3065
else
3178
else
3066
  if test -n "$CC"; then
3179
  if test -n "$CC"; then
3067
  ac_cv_prog_CC="$CC" # Let the user override the test.
3180
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 3079-3085 Link Here
3079
       continue
3192
       continue
3080
     fi
3193
     fi
3081
    ac_cv_prog_CC="cc"
3194
    ac_cv_prog_CC="cc"
3082
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3195
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3083
    break 2
3196
    break 2
3084
  fi
3197
  fi
3085
done
3198
done
Lines 3102-3112 Link Here
3102
fi
3215
fi
3103
CC=$ac_cv_prog_CC
3216
CC=$ac_cv_prog_CC
3104
if test -n "$CC"; then
3217
if test -n "$CC"; then
3105
  { echo "$as_me:$LINENO: result: $CC" >&5
3218
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3106
echo "${ECHO_T}$CC" >&6; }
3219
$as_echo "$CC" >&6; }
3107
else
3220
else
3108
  { echo "$as_me:$LINENO: result: no" >&5
3221
  { $as_echo "$as_me:$LINENO: result: no" >&5
3109
echo "${ECHO_T}no" >&6; }
3222
$as_echo "no" >&6; }
3110
fi
3223
fi
3111
3224
3112
3225
Lines 3117-3126 Link Here
3117
  do
3230
  do
3118
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3231
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3119
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3232
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3120
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3233
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3121
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3234
$as_echo_n "checking for $ac_word... " >&6; }
3122
if test "${ac_cv_prog_CC+set}" = set; then
3235
if test "${ac_cv_prog_CC+set}" = set; then
3123
  echo $ECHO_N "(cached) $ECHO_C" >&6
3236
  $as_echo_n "(cached) " >&6
3124
else
3237
else
3125
  if test -n "$CC"; then
3238
  if test -n "$CC"; then
3126
  ac_cv_prog_CC="$CC" # Let the user override the test.
3239
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 3133-3139 Link Here
3133
  for ac_exec_ext in '' $ac_executable_extensions; do
3246
  for ac_exec_ext in '' $ac_executable_extensions; do
3134
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3248
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3136
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3249
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3137
    break 2
3250
    break 2
3138
  fi
3251
  fi
3139
done
3252
done
Lines 3144-3154 Link Here
3144
fi
3257
fi
3145
CC=$ac_cv_prog_CC
3258
CC=$ac_cv_prog_CC
3146
if test -n "$CC"; then
3259
if test -n "$CC"; then
3147
  { echo "$as_me:$LINENO: result: $CC" >&5
3260
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
3148
echo "${ECHO_T}$CC" >&6; }
3261
$as_echo "$CC" >&6; }
3149
else
3262
else
3150
  { echo "$as_me:$LINENO: result: no" >&5
3263
  { $as_echo "$as_me:$LINENO: result: no" >&5
3151
echo "${ECHO_T}no" >&6; }
3264
$as_echo "no" >&6; }
3152
fi
3265
fi
3153
3266
3154
3267
Lines 3161-3170 Link Here
3161
do
3274
do
3162
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3275
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3163
set dummy $ac_prog; ac_word=$2
3276
set dummy $ac_prog; ac_word=$2
3164
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3277
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3165
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3278
$as_echo_n "checking for $ac_word... " >&6; }
3166
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3279
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3167
  echo $ECHO_N "(cached) $ECHO_C" >&6
3280
  $as_echo_n "(cached) " >&6
3168
else
3281
else
3169
  if test -n "$ac_ct_CC"; then
3282
  if test -n "$ac_ct_CC"; then
3170
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3283
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 3177-3183 Link Here
3177
  for ac_exec_ext in '' $ac_executable_extensions; do
3290
  for ac_exec_ext in '' $ac_executable_extensions; do
3178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3291
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179
    ac_cv_prog_ac_ct_CC="$ac_prog"
3292
    ac_cv_prog_ac_ct_CC="$ac_prog"
3180
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3293
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181
    break 2
3294
    break 2
3182
  fi
3295
  fi
3183
done
3296
done
Lines 3188-3198 Link Here
3188
fi
3301
fi
3189
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3302
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3190
if test -n "$ac_ct_CC"; then
3303
if test -n "$ac_ct_CC"; then
3191
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3304
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3192
echo "${ECHO_T}$ac_ct_CC" >&6; }
3305
$as_echo "$ac_ct_CC" >&6; }
3193
else
3306
else
3194
  { echo "$as_me:$LINENO: result: no" >&5
3307
  { $as_echo "$as_me:$LINENO: result: no" >&5
3195
echo "${ECHO_T}no" >&6; }
3308
$as_echo "no" >&6; }
3196
fi
3309
fi
3197
3310
3198
3311
Lines 3204-3213 Link Here
3204
  else
3317
  else
3205
    case $cross_compiling:$ac_tool_warned in
3318
    case $cross_compiling:$ac_tool_warned in
3206
yes:)
3319
yes:)
3207
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3320
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3208
whose name does not start with the host triplet.  If you think this
3321
whose name does not start with the host triplet.  If you think this
3209
configuration is useful to you, please write to autoconf@gnu.org." >&5
3322
configuration is useful to you, please write to autoconf@gnu.org." >&5
3210
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3323
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3211
whose name does not start with the host triplet.  If you think this
3324
whose name does not start with the host triplet.  If you think this
3212
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3325
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3213
ac_tool_warned=yes ;;
3326
ac_tool_warned=yes ;;
Lines 3219-3268 Link Here
3219
fi
3332
fi
3220
3333
3221
3334
3222
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3335
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3223
See \`config.log' for more details." >&5
3336
See \`config.log' for more details." >&5
3224
echo "$as_me: error: no acceptable C compiler found in \$PATH
3337
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3225
See \`config.log' for more details." >&2;}
3338
See \`config.log' for more details." >&2;}
3226
   { (exit 1); exit 1; }; }
3339
   { (exit 1); exit 1; }; }
3227
3340
3228
# Provide some information about the compiler.
3341
# Provide some information about the compiler.
3229
echo "$as_me:$LINENO: checking for C compiler version" >&5
3342
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3230
ac_compiler=`set X $ac_compile; echo $2`
3343
set X $ac_compile
3344
ac_compiler=$2
3231
{ (ac_try="$ac_compiler --version >&5"
3345
{ (ac_try="$ac_compiler --version >&5"
3232
case "(($ac_try" in
3346
case "(($ac_try" in
3233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234
  *) ac_try_echo=$ac_try;;
3348
  *) ac_try_echo=$ac_try;;
3235
esac
3349
esac
3236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3350
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3351
$as_echo "$ac_try_echo") >&5
3237
  (eval "$ac_compiler --version >&5") 2>&5
3352
  (eval "$ac_compiler --version >&5") 2>&5
3238
  ac_status=$?
3353
  ac_status=$?
3239
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240
  (exit $ac_status); }
3355
  (exit $ac_status); }
3241
{ (ac_try="$ac_compiler -v >&5"
3356
{ (ac_try="$ac_compiler -v >&5"
3242
case "(($ac_try" in
3357
case "(($ac_try" in
3243
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244
  *) ac_try_echo=$ac_try;;
3359
  *) ac_try_echo=$ac_try;;
3245
esac
3360
esac
3246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3362
$as_echo "$ac_try_echo") >&5
3247
  (eval "$ac_compiler -v >&5") 2>&5
3363
  (eval "$ac_compiler -v >&5") 2>&5
3248
  ac_status=$?
3364
  ac_status=$?
3249
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250
  (exit $ac_status); }
3366
  (exit $ac_status); }
3251
{ (ac_try="$ac_compiler -V >&5"
3367
{ (ac_try="$ac_compiler -V >&5"
3252
case "(($ac_try" in
3368
case "(($ac_try" in
3253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254
  *) ac_try_echo=$ac_try;;
3370
  *) ac_try_echo=$ac_try;;
3255
esac
3371
esac
3256
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3373
$as_echo "$ac_try_echo") >&5
3257
  (eval "$ac_compiler -V >&5") 2>&5
3374
  (eval "$ac_compiler -V >&5") 2>&5
3258
  ac_status=$?
3375
  ac_status=$?
3259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260
  (exit $ac_status); }
3377
  (exit $ac_status); }
3261
3378
3262
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3379
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3263
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3380
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3264
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3381
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3265
  echo $ECHO_N "(cached) $ECHO_C" >&6
3382
  $as_echo_n "(cached) " >&6
3266
else
3383
else
3267
  cat >conftest.$ac_ext <<_ACEOF
3384
  cat >conftest.$ac_ext <<_ACEOF
3268
/* confdefs.h.  */
3385
/* confdefs.h.  */
Lines 3288-3307 Link Here
3288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289
  *) ac_try_echo=$ac_try;;
3406
  *) ac_try_echo=$ac_try;;
3290
esac
3407
esac
3291
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3408
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3409
$as_echo "$ac_try_echo") >&5
3292
  (eval "$ac_compile") 2>conftest.er1
3410
  (eval "$ac_compile") 2>conftest.er1
3293
  ac_status=$?
3411
  ac_status=$?
3294
  grep -v '^ *+' conftest.er1 >conftest.err
3412
  grep -v '^ *+' conftest.er1 >conftest.err
3295
  rm -f conftest.er1
3413
  rm -f conftest.er1
3296
  cat conftest.err >&5
3414
  cat conftest.err >&5
3297
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298
  (exit $ac_status); } && {
3416
  (exit $ac_status); } && {
3299
	 test -z "$ac_c_werror_flag" ||
3417
	 test -z "$ac_c_werror_flag" ||
3300
	 test ! -s conftest.err
3418
	 test ! -s conftest.err
3301
       } && test -s conftest.$ac_objext; then
3419
       } && test -s conftest.$ac_objext; then
3302
  ac_compiler_gnu=yes
3420
  ac_compiler_gnu=yes
3303
else
3421
else
3304
  echo "$as_me: failed program was:" >&5
3422
  $as_echo "$as_me: failed program was:" >&5
3305
sed 's/^/| /' conftest.$ac_ext >&5
3423
sed 's/^/| /' conftest.$ac_ext >&5
3306
3424
3307
	ac_compiler_gnu=no
3425
	ac_compiler_gnu=no
Lines 3311-3325 Link Here
3311
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3429
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3312
3430
3313
fi
3431
fi
3314
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3432
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3315
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3433
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3316
GCC=`test $ac_compiler_gnu = yes && echo yes`
3434
if test $ac_compiler_gnu = yes; then
3435
  GCC=yes
3436
else
3437
  GCC=
3438
fi
3317
ac_test_CFLAGS=${CFLAGS+set}
3439
ac_test_CFLAGS=${CFLAGS+set}
3318
ac_save_CFLAGS=$CFLAGS
3440
ac_save_CFLAGS=$CFLAGS
3319
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3441
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3320
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3442
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3321
if test "${ac_cv_prog_cc_g+set}" = set; then
3443
if test "${ac_cv_prog_cc_g+set}" = set; then
3322
  echo $ECHO_N "(cached) $ECHO_C" >&6
3444
  $as_echo_n "(cached) " >&6
3323
else
3445
else
3324
  ac_save_c_werror_flag=$ac_c_werror_flag
3446
  ac_save_c_werror_flag=$ac_c_werror_flag
3325
   ac_c_werror_flag=yes
3447
   ac_c_werror_flag=yes
Lines 3346-3365 Link Here
3346
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3468
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347
  *) ac_try_echo=$ac_try;;
3469
  *) ac_try_echo=$ac_try;;
3348
esac
3470
esac
3349
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3471
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3472
$as_echo "$ac_try_echo") >&5
3350
  (eval "$ac_compile") 2>conftest.er1
3473
  (eval "$ac_compile") 2>conftest.er1
3351
  ac_status=$?
3474
  ac_status=$?
3352
  grep -v '^ *+' conftest.er1 >conftest.err
3475
  grep -v '^ *+' conftest.er1 >conftest.err
3353
  rm -f conftest.er1
3476
  rm -f conftest.er1
3354
  cat conftest.err >&5
3477
  cat conftest.err >&5
3355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356
  (exit $ac_status); } && {
3479
  (exit $ac_status); } && {
3357
	 test -z "$ac_c_werror_flag" ||
3480
	 test -z "$ac_c_werror_flag" ||
3358
	 test ! -s conftest.err
3481
	 test ! -s conftest.err
3359
       } && test -s conftest.$ac_objext; then
3482
       } && test -s conftest.$ac_objext; then
3360
  ac_cv_prog_cc_g=yes
3483
  ac_cv_prog_cc_g=yes
3361
else
3484
else
3362
  echo "$as_me: failed program was:" >&5
3485
  $as_echo "$as_me: failed program was:" >&5
3363
sed 's/^/| /' conftest.$ac_ext >&5
3486
sed 's/^/| /' conftest.$ac_ext >&5
3364
3487
3365
	CFLAGS=""
3488
	CFLAGS=""
Lines 3384-3403 Link Here
3384
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385
  *) ac_try_echo=$ac_try;;
3508
  *) ac_try_echo=$ac_try;;
3386
esac
3509
esac
3387
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3510
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3511
$as_echo "$ac_try_echo") >&5
3388
  (eval "$ac_compile") 2>conftest.er1
3512
  (eval "$ac_compile") 2>conftest.er1
3389
  ac_status=$?
3513
  ac_status=$?
3390
  grep -v '^ *+' conftest.er1 >conftest.err
3514
  grep -v '^ *+' conftest.er1 >conftest.err
3391
  rm -f conftest.er1
3515
  rm -f conftest.er1
3392
  cat conftest.err >&5
3516
  cat conftest.err >&5
3393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394
  (exit $ac_status); } && {
3518
  (exit $ac_status); } && {
3395
	 test -z "$ac_c_werror_flag" ||
3519
	 test -z "$ac_c_werror_flag" ||
3396
	 test ! -s conftest.err
3520
	 test ! -s conftest.err
3397
       } && test -s conftest.$ac_objext; then
3521
       } && test -s conftest.$ac_objext; then
3398
  :
3522
  :
3399
else
3523
else
3400
  echo "$as_me: failed program was:" >&5
3524
  $as_echo "$as_me: failed program was:" >&5
3401
sed 's/^/| /' conftest.$ac_ext >&5
3525
sed 's/^/| /' conftest.$ac_ext >&5
3402
3526
3403
	ac_c_werror_flag=$ac_save_c_werror_flag
3527
	ac_c_werror_flag=$ac_save_c_werror_flag
Lines 3423-3442 Link Here
3423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424
  *) ac_try_echo=$ac_try;;
3548
  *) ac_try_echo=$ac_try;;
3425
esac
3549
esac
3426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3550
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3551
$as_echo "$ac_try_echo") >&5
3427
  (eval "$ac_compile") 2>conftest.er1
3552
  (eval "$ac_compile") 2>conftest.er1
3428
  ac_status=$?
3553
  ac_status=$?
3429
  grep -v '^ *+' conftest.er1 >conftest.err
3554
  grep -v '^ *+' conftest.er1 >conftest.err
3430
  rm -f conftest.er1
3555
  rm -f conftest.er1
3431
  cat conftest.err >&5
3556
  cat conftest.err >&5
3432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3433
  (exit $ac_status); } && {
3558
  (exit $ac_status); } && {
3434
	 test -z "$ac_c_werror_flag" ||
3559
	 test -z "$ac_c_werror_flag" ||
3435
	 test ! -s conftest.err
3560
	 test ! -s conftest.err
3436
       } && test -s conftest.$ac_objext; then
3561
       } && test -s conftest.$ac_objext; then
3437
  ac_cv_prog_cc_g=yes
3562
  ac_cv_prog_cc_g=yes
3438
else
3563
else
3439
  echo "$as_me: failed program was:" >&5
3564
  $as_echo "$as_me: failed program was:" >&5
3440
sed 's/^/| /' conftest.$ac_ext >&5
3565
sed 's/^/| /' conftest.$ac_ext >&5
3441
3566
3442
3567
Lines 3451-3458 Link Here
3451
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452
   ac_c_werror_flag=$ac_save_c_werror_flag
3577
   ac_c_werror_flag=$ac_save_c_werror_flag
3453
fi
3578
fi
3454
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3579
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3455
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3580
$as_echo "$ac_cv_prog_cc_g" >&6; }
3456
if test "$ac_test_CFLAGS" = set; then
3581
if test "$ac_test_CFLAGS" = set; then
3457
  CFLAGS=$ac_save_CFLAGS
3582
  CFLAGS=$ac_save_CFLAGS
3458
elif test $ac_cv_prog_cc_g = yes; then
3583
elif test $ac_cv_prog_cc_g = yes; then
Lines 3468-3477 Link Here
3468
    CFLAGS=
3593
    CFLAGS=
3469
  fi
3594
  fi
3470
fi
3595
fi
3471
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3596
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3472
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3597
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3473
if test "${ac_cv_prog_cc_c89+set}" = set; then
3598
if test "${ac_cv_prog_cc_c89+set}" = set; then
3474
  echo $ECHO_N "(cached) $ECHO_C" >&6
3599
  $as_echo_n "(cached) " >&6
3475
else
3600
else
3476
  ac_cv_prog_cc_c89=no
3601
  ac_cv_prog_cc_c89=no
3477
ac_save_CC=$CC
3602
ac_save_CC=$CC
Lines 3542-3561 Link Here
3542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543
  *) ac_try_echo=$ac_try;;
3668
  *) ac_try_echo=$ac_try;;
3544
esac
3669
esac
3545
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3670
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3671
$as_echo "$ac_try_echo") >&5
3546
  (eval "$ac_compile") 2>conftest.er1
3672
  (eval "$ac_compile") 2>conftest.er1
3547
  ac_status=$?
3673
  ac_status=$?
3548
  grep -v '^ *+' conftest.er1 >conftest.err
3674
  grep -v '^ *+' conftest.er1 >conftest.err
3549
  rm -f conftest.er1
3675
  rm -f conftest.er1
3550
  cat conftest.err >&5
3676
  cat conftest.err >&5
3551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552
  (exit $ac_status); } && {
3678
  (exit $ac_status); } && {
3553
	 test -z "$ac_c_werror_flag" ||
3679
	 test -z "$ac_c_werror_flag" ||
3554
	 test ! -s conftest.err
3680
	 test ! -s conftest.err
3555
       } && test -s conftest.$ac_objext; then
3681
       } && test -s conftest.$ac_objext; then
3556
  ac_cv_prog_cc_c89=$ac_arg
3682
  ac_cv_prog_cc_c89=$ac_arg
3557
else
3683
else
3558
  echo "$as_me: failed program was:" >&5
3684
  $as_echo "$as_me: failed program was:" >&5
3559
sed 's/^/| /' conftest.$ac_ext >&5
3685
sed 's/^/| /' conftest.$ac_ext >&5
3560
3686
3561
3687
Lines 3571-3585 Link Here
3571
# AC_CACHE_VAL
3697
# AC_CACHE_VAL
3572
case "x$ac_cv_prog_cc_c89" in
3698
case "x$ac_cv_prog_cc_c89" in
3573
  x)
3699
  x)
3574
    { echo "$as_me:$LINENO: result: none needed" >&5
3700
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3575
echo "${ECHO_T}none needed" >&6; } ;;
3701
$as_echo "none needed" >&6; } ;;
3576
  xno)
3702
  xno)
3577
    { echo "$as_me:$LINENO: result: unsupported" >&5
3703
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3578
echo "${ECHO_T}unsupported" >&6; } ;;
3704
$as_echo "unsupported" >&6; } ;;
3579
  *)
3705
  *)
3580
    CC="$CC $ac_cv_prog_cc_c89"
3706
    CC="$CC $ac_cv_prog_cc_c89"
3581
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3707
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3582
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3708
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3583
esac
3709
esac
3584
3710
3585
3711
Lines 3603-3612 Link Here
3603
  do
3729
  do
3604
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3730
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3605
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3731
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3606
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3732
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3607
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3733
$as_echo_n "checking for $ac_word... " >&6; }
3608
if test "${ac_cv_prog_CXX+set}" = set; then
3734
if test "${ac_cv_prog_CXX+set}" = set; then
3609
  echo $ECHO_N "(cached) $ECHO_C" >&6
3735
  $as_echo_n "(cached) " >&6
3610
else
3736
else
3611
  if test -n "$CXX"; then
3737
  if test -n "$CXX"; then
3612
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3738
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
Lines 3619-3625 Link Here
3619
  for ac_exec_ext in '' $ac_executable_extensions; do
3745
  for ac_exec_ext in '' $ac_executable_extensions; do
3620
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3747
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3622
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3748
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3623
    break 2
3749
    break 2
3624
  fi
3750
  fi
3625
done
3751
done
Lines 3630-3640 Link Here
3630
fi
3756
fi
3631
CXX=$ac_cv_prog_CXX
3757
CXX=$ac_cv_prog_CXX
3632
if test -n "$CXX"; then
3758
if test -n "$CXX"; then
3633
  { echo "$as_me:$LINENO: result: $CXX" >&5
3759
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3634
echo "${ECHO_T}$CXX" >&6; }
3760
$as_echo "$CXX" >&6; }
3635
else
3761
else
3636
  { echo "$as_me:$LINENO: result: no" >&5
3762
  { $as_echo "$as_me:$LINENO: result: no" >&5
3637
echo "${ECHO_T}no" >&6; }
3763
$as_echo "no" >&6; }
3638
fi
3764
fi
3639
3765
3640
3766
Lines 3647-3656 Link Here
3647
do
3773
do
3648
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3774
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3649
set dummy $ac_prog; ac_word=$2
3775
set dummy $ac_prog; ac_word=$2
3650
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3776
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3651
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3777
$as_echo_n "checking for $ac_word... " >&6; }
3652
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3778
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3653
  echo $ECHO_N "(cached) $ECHO_C" >&6
3779
  $as_echo_n "(cached) " >&6
3654
else
3780
else
3655
  if test -n "$ac_ct_CXX"; then
3781
  if test -n "$ac_ct_CXX"; then
3656
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3782
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
Lines 3663-3669 Link Here
3663
  for ac_exec_ext in '' $ac_executable_extensions; do
3789
  for ac_exec_ext in '' $ac_executable_extensions; do
3664
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3665
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3791
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3666
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3667
    break 2
3793
    break 2
3668
  fi
3794
  fi
3669
done
3795
done
Lines 3674-3684 Link Here
3674
fi
3800
fi
3675
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3801
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3676
if test -n "$ac_ct_CXX"; then
3802
if test -n "$ac_ct_CXX"; then
3677
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3803
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3678
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3804
$as_echo "$ac_ct_CXX" >&6; }
3679
else
3805
else
3680
  { echo "$as_me:$LINENO: result: no" >&5
3806
  { $as_echo "$as_me:$LINENO: result: no" >&5
3681
echo "${ECHO_T}no" >&6; }
3807
$as_echo "no" >&6; }
3682
fi
3808
fi
3683
3809
3684
3810
Lines 3690-3699 Link Here
3690
  else
3816
  else
3691
    case $cross_compiling:$ac_tool_warned in
3817
    case $cross_compiling:$ac_tool_warned in
3692
yes:)
3818
yes:)
3693
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3819
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3694
whose name does not start with the host triplet.  If you think this
3820
whose name does not start with the host triplet.  If you think this
3695
configuration is useful to you, please write to autoconf@gnu.org." >&5
3821
configuration is useful to you, please write to autoconf@gnu.org." >&5
3696
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3822
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3697
whose name does not start with the host triplet.  If you think this
3823
whose name does not start with the host triplet.  If you think this
3698
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3824
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3699
ac_tool_warned=yes ;;
3825
ac_tool_warned=yes ;;
Lines 3705-3747 Link Here
3705
  fi
3831
  fi
3706
fi
3832
fi
3707
# Provide some information about the compiler.
3833
# Provide some information about the compiler.
3708
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3834
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3709
ac_compiler=`set X $ac_compile; echo $2`
3835
set X $ac_compile
3836
ac_compiler=$2
3710
{ (ac_try="$ac_compiler --version >&5"
3837
{ (ac_try="$ac_compiler --version >&5"
3711
case "(($ac_try" in
3838
case "(($ac_try" in
3712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3839
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713
  *) ac_try_echo=$ac_try;;
3840
  *) ac_try_echo=$ac_try;;
3714
esac
3841
esac
3715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3842
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3843
$as_echo "$ac_try_echo") >&5
3716
  (eval "$ac_compiler --version >&5") 2>&5
3844
  (eval "$ac_compiler --version >&5") 2>&5
3717
  ac_status=$?
3845
  ac_status=$?
3718
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719
  (exit $ac_status); }
3847
  (exit $ac_status); }
3720
{ (ac_try="$ac_compiler -v >&5"
3848
{ (ac_try="$ac_compiler -v >&5"
3721
case "(($ac_try" in
3849
case "(($ac_try" in
3722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723
  *) ac_try_echo=$ac_try;;
3851
  *) ac_try_echo=$ac_try;;
3724
esac
3852
esac
3725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3854
$as_echo "$ac_try_echo") >&5
3726
  (eval "$ac_compiler -v >&5") 2>&5
3855
  (eval "$ac_compiler -v >&5") 2>&5
3727
  ac_status=$?
3856
  ac_status=$?
3728
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729
  (exit $ac_status); }
3858
  (exit $ac_status); }
3730
{ (ac_try="$ac_compiler -V >&5"
3859
{ (ac_try="$ac_compiler -V >&5"
3731
case "(($ac_try" in
3860
case "(($ac_try" in
3732
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733
  *) ac_try_echo=$ac_try;;
3862
  *) ac_try_echo=$ac_try;;
3734
esac
3863
esac
3735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3864
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3865
$as_echo "$ac_try_echo") >&5
3736
  (eval "$ac_compiler -V >&5") 2>&5
3866
  (eval "$ac_compiler -V >&5") 2>&5
3737
  ac_status=$?
3867
  ac_status=$?
3738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739
  (exit $ac_status); }
3869
  (exit $ac_status); }
3740
3870
3741
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3871
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3742
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3872
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3743
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3873
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3744
  echo $ECHO_N "(cached) $ECHO_C" >&6
3874
  $as_echo_n "(cached) " >&6
3745
else
3875
else
3746
  cat >conftest.$ac_ext <<_ACEOF
3876
  cat >conftest.$ac_ext <<_ACEOF
3747
/* confdefs.h.  */
3877
/* confdefs.h.  */
Lines 3767-3786 Link Here
3767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768
  *) ac_try_echo=$ac_try;;
3898
  *) ac_try_echo=$ac_try;;
3769
esac
3899
esac
3770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3900
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3901
$as_echo "$ac_try_echo") >&5
3771
  (eval "$ac_compile") 2>conftest.er1
3902
  (eval "$ac_compile") 2>conftest.er1
3772
  ac_status=$?
3903
  ac_status=$?
3773
  grep -v '^ *+' conftest.er1 >conftest.err
3904
  grep -v '^ *+' conftest.er1 >conftest.err
3774
  rm -f conftest.er1
3905
  rm -f conftest.er1
3775
  cat conftest.err >&5
3906
  cat conftest.err >&5
3776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777
  (exit $ac_status); } && {
3908
  (exit $ac_status); } && {
3778
	 test -z "$ac_cxx_werror_flag" ||
3909
	 test -z "$ac_cxx_werror_flag" ||
3779
	 test ! -s conftest.err
3910
	 test ! -s conftest.err
3780
       } && test -s conftest.$ac_objext; then
3911
       } && test -s conftest.$ac_objext; then
3781
  ac_compiler_gnu=yes
3912
  ac_compiler_gnu=yes
3782
else
3913
else
3783
  echo "$as_me: failed program was:" >&5
3914
  $as_echo "$as_me: failed program was:" >&5
3784
sed 's/^/| /' conftest.$ac_ext >&5
3915
sed 's/^/| /' conftest.$ac_ext >&5
3785
3916
3786
	ac_compiler_gnu=no
3917
	ac_compiler_gnu=no
Lines 3790-3804 Link Here
3790
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3921
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3791
3922
3792
fi
3923
fi
3793
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3924
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3794
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3925
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3795
GXX=`test $ac_compiler_gnu = yes && echo yes`
3926
if test $ac_compiler_gnu = yes; then
3927
  GXX=yes
3928
else
3929
  GXX=
3930
fi
3796
ac_test_CXXFLAGS=${CXXFLAGS+set}
3931
ac_test_CXXFLAGS=${CXXFLAGS+set}
3797
ac_save_CXXFLAGS=$CXXFLAGS
3932
ac_save_CXXFLAGS=$CXXFLAGS
3798
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3933
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3799
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3934
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3800
if test "${ac_cv_prog_cxx_g+set}" = set; then
3935
if test "${ac_cv_prog_cxx_g+set}" = set; then
3801
  echo $ECHO_N "(cached) $ECHO_C" >&6
3936
  $as_echo_n "(cached) " >&6
3802
else
3937
else
3803
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3938
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3804
   ac_cxx_werror_flag=yes
3939
   ac_cxx_werror_flag=yes
Lines 3825-3844 Link Here
3825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826
  *) ac_try_echo=$ac_try;;
3961
  *) ac_try_echo=$ac_try;;
3827
esac
3962
esac
3828
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3964
$as_echo "$ac_try_echo") >&5
3829
  (eval "$ac_compile") 2>conftest.er1
3965
  (eval "$ac_compile") 2>conftest.er1
3830
  ac_status=$?
3966
  ac_status=$?
3831
  grep -v '^ *+' conftest.er1 >conftest.err
3967
  grep -v '^ *+' conftest.er1 >conftest.err
3832
  rm -f conftest.er1
3968
  rm -f conftest.er1
3833
  cat conftest.err >&5
3969
  cat conftest.err >&5
3834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835
  (exit $ac_status); } && {
3971
  (exit $ac_status); } && {
3836
	 test -z "$ac_cxx_werror_flag" ||
3972
	 test -z "$ac_cxx_werror_flag" ||
3837
	 test ! -s conftest.err
3973
	 test ! -s conftest.err
3838
       } && test -s conftest.$ac_objext; then
3974
       } && test -s conftest.$ac_objext; then
3839
  ac_cv_prog_cxx_g=yes
3975
  ac_cv_prog_cxx_g=yes
3840
else
3976
else
3841
  echo "$as_me: failed program was:" >&5
3977
  $as_echo "$as_me: failed program was:" >&5
3842
sed 's/^/| /' conftest.$ac_ext >&5
3978
sed 's/^/| /' conftest.$ac_ext >&5
3843
3979
3844
	CXXFLAGS=""
3980
	CXXFLAGS=""
Lines 3863-3882 Link Here
3863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864
  *) ac_try_echo=$ac_try;;
4000
  *) ac_try_echo=$ac_try;;
3865
esac
4001
esac
3866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4003
$as_echo "$ac_try_echo") >&5
3867
  (eval "$ac_compile") 2>conftest.er1
4004
  (eval "$ac_compile") 2>conftest.er1
3868
  ac_status=$?
4005
  ac_status=$?
3869
  grep -v '^ *+' conftest.er1 >conftest.err
4006
  grep -v '^ *+' conftest.er1 >conftest.err
3870
  rm -f conftest.er1
4007
  rm -f conftest.er1
3871
  cat conftest.err >&5
4008
  cat conftest.err >&5
3872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
  (exit $ac_status); } && {
4010
  (exit $ac_status); } && {
3874
	 test -z "$ac_cxx_werror_flag" ||
4011
	 test -z "$ac_cxx_werror_flag" ||
3875
	 test ! -s conftest.err
4012
	 test ! -s conftest.err
3876
       } && test -s conftest.$ac_objext; then
4013
       } && test -s conftest.$ac_objext; then
3877
  :
4014
  :
3878
else
4015
else
3879
  echo "$as_me: failed program was:" >&5
4016
  $as_echo "$as_me: failed program was:" >&5
3880
sed 's/^/| /' conftest.$ac_ext >&5
4017
sed 's/^/| /' conftest.$ac_ext >&5
3881
4018
3882
	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4019
	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
Lines 3902-3921 Link Here
3902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903
  *) ac_try_echo=$ac_try;;
4040
  *) ac_try_echo=$ac_try;;
3904
esac
4041
esac
3905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4043
$as_echo "$ac_try_echo") >&5
3906
  (eval "$ac_compile") 2>conftest.er1
4044
  (eval "$ac_compile") 2>conftest.er1
3907
  ac_status=$?
4045
  ac_status=$?
3908
  grep -v '^ *+' conftest.er1 >conftest.err
4046
  grep -v '^ *+' conftest.er1 >conftest.err
3909
  rm -f conftest.er1
4047
  rm -f conftest.er1
3910
  cat conftest.err >&5
4048
  cat conftest.err >&5
3911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912
  (exit $ac_status); } && {
4050
  (exit $ac_status); } && {
3913
	 test -z "$ac_cxx_werror_flag" ||
4051
	 test -z "$ac_cxx_werror_flag" ||
3914
	 test ! -s conftest.err
4052
	 test ! -s conftest.err
3915
       } && test -s conftest.$ac_objext; then
4053
       } && test -s conftest.$ac_objext; then
3916
  ac_cv_prog_cxx_g=yes
4054
  ac_cv_prog_cxx_g=yes
3917
else
4055
else
3918
  echo "$as_me: failed program was:" >&5
4056
  $as_echo "$as_me: failed program was:" >&5
3919
sed 's/^/| /' conftest.$ac_ext >&5
4057
sed 's/^/| /' conftest.$ac_ext >&5
3920
4058
3921
4059
Lines 3930-3937 Link Here
3930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4069
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3932
fi
4070
fi
3933
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4071
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3934
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4072
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3935
if test "$ac_test_CXXFLAGS" = set; then
4073
if test "$ac_test_CXXFLAGS" = set; then
3936
  CXXFLAGS=$ac_save_CXXFLAGS
4074
  CXXFLAGS=$ac_save_CXXFLAGS
3937
elif test $ac_cv_prog_cxx_g = yes; then
4075
elif test $ac_cv_prog_cxx_g = yes; then
Lines 3966-3976 Link Here
3966
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4104
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3967
# OS/2's system install, which has a completely different semantic
4105
# OS/2's system install, which has a completely different semantic
3968
# ./install, which can be erroneously created by make from ./install.sh.
4106
# ./install, which can be erroneously created by make from ./install.sh.
3969
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4107
# Reject install programs that cannot install multiple files.
3970
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4108
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4109
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3971
if test -z "$INSTALL"; then
4110
if test -z "$INSTALL"; then
3972
if test "${ac_cv_path_install+set}" = set; then
4111
if test "${ac_cv_path_install+set}" = set; then
3973
  echo $ECHO_N "(cached) $ECHO_C" >&6
4112
  $as_echo_n "(cached) " >&6
3974
else
4113
else
3975
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4114
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976
for as_dir in $PATH
4115
for as_dir in $PATH
Lines 3999-4015 Link Here
3999
	    # program-specific install script used by HP pwplus--don't use.
4138
	    # program-specific install script used by HP pwplus--don't use.
4000
	    :
4139
	    :
4001
	  else
4140
	  else
4002
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4141
	    rm -rf conftest.one conftest.two conftest.dir
4003
	    break 3
4142
	    echo one > conftest.one
4143
	    echo two > conftest.two
4144
	    mkdir conftest.dir
4145
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4146
	      test -s conftest.one && test -s conftest.two &&
4147
	      test -s conftest.dir/conftest.one &&
4148
	      test -s conftest.dir/conftest.two
4149
	    then
4150
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4151
	      break 3
4152
	    fi
4004
	  fi
4153
	  fi
4005
	fi
4154
	fi
4006
      done
4155
      done
4007
    done
4156
    done
4008
    ;;
4157
    ;;
4009
esac
4158
esac
4159
4010
done
4160
done
4011
IFS=$as_save_IFS
4161
IFS=$as_save_IFS
4012
4162
4163
rm -rf conftest.one conftest.two conftest.dir
4013
4164
4014
fi
4165
fi
4015
  if test "${ac_cv_path_install+set}" = set; then
4166
  if test "${ac_cv_path_install+set}" = set; then
Lines 4022-4029 Link Here
4022
    INSTALL=$ac_install_sh
4173
    INSTALL=$ac_install_sh
4023
  fi
4174
  fi
4024
fi
4175
fi
4025
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4176
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4026
echo "${ECHO_T}$INSTALL" >&6; }
4177
$as_echo "$INSTALL" >&6; }
4027
4178
4028
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4179
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4029
# It thinks the first close brace ends the variable substitution.
4180
# It thinks the first close brace ends the variable substitution.
Lines 4038-4048 Link Here
4038
      CXXFLAGS="$CXXFLAGS -Wall "
4189
      CXXFLAGS="$CXXFLAGS -Wall "
4039
 fi
4190
 fi
4040
4191
4041
{ echo "$as_me:$LINENO: checking whether the compiler is gcc 4 or greater" >&5
4192
{ $as_echo "$as_me:$LINENO: checking whether the compiler is gcc 4 or greater" >&5
4042
echo $ECHO_N "checking whether the compiler is gcc 4 or greater... $ECHO_C" >&6; }
4193
$as_echo_n "checking whether the compiler is gcc 4 or greater... " >&6; }
4043
if test x"$GXX" = xno; then
4194
if test x"$GXX" = xno; then
4044
  { echo "$as_me:$LINENO: result: no" >&5
4195
  { $as_echo "$as_me:$LINENO: result: no" >&5
4045
echo "${ECHO_T}no" >&6; }
4196
$as_echo "no" >&6; }
4046
else
4197
else
4047
  # On some distros, there are snapshots available as gcc4
4198
  # On some distros, there are snapshots available as gcc4
4048
  if test -z "$ac_cv_prog_CC" || test x"$CC" = xgcc4; then
4199
  if test -z "$ac_cv_prog_CC" || test x"$CC" = xgcc4; then
Lines 4059-4076 Link Here
4059
  esac
4210
  esac
4060
4211
4061
  if test 4 -ge $nmap_gcc_major_version; then
4212
  if test 4 -ge $nmap_gcc_major_version; then
4062
    { echo "$as_me:$LINENO: result: yes" >&5
4213
    { $as_echo "$as_me:$LINENO: result: yes" >&5
4063
echo "${ECHO_T}yes" >&6; }
4214
$as_echo "yes" >&6; }
4064
    CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
4215
    CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
4065
  else
4216
  else
4066
    { echo "$as_me:$LINENO: result: no" >&5
4217
    { $as_echo "$as_me:$LINENO: result: no" >&5
4067
echo "${ECHO_T}no" >&6; }
4218
$as_echo "no" >&6; }
4068
  fi
4219
  fi
4069
fi
4220
fi
4070
4221
4071
# Remember that all following tests will run with this CXXFLAGS by default
4222
# Remember that all following tests will run with this CXXFLAGS by default
4072
{ echo "$as_me:$LINENO: checking for __func__" >&5
4223
{ $as_echo "$as_me:$LINENO: checking for __func__" >&5
4073
echo $ECHO_N "checking for __func__... $ECHO_C" >&6; }
4224
$as_echo_n "checking for __func__... " >&6; }
4074
cat >conftest.$ac_ext <<_ACEOF
4225
cat >conftest.$ac_ext <<_ACEOF
4075
/* confdefs.h.  */
4226
/* confdefs.h.  */
4076
_ACEOF
4227
_ACEOF
Lines 4094-4113 Link Here
4094
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095
  *) ac_try_echo=$ac_try;;
4246
  *) ac_try_echo=$ac_try;;
4096
esac
4247
esac
4097
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4248
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4249
$as_echo "$ac_try_echo") >&5
4098
  (eval "$ac_compile") 2>conftest.er1
4250
  (eval "$ac_compile") 2>conftest.er1
4099
  ac_status=$?
4251
  ac_status=$?
4100
  grep -v '^ *+' conftest.er1 >conftest.err
4252
  grep -v '^ *+' conftest.er1 >conftest.err
4101
  rm -f conftest.er1
4253
  rm -f conftest.er1
4102
  cat conftest.err >&5
4254
  cat conftest.err >&5
4103
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104
  (exit $ac_status); } && {
4256
  (exit $ac_status); } && {
4105
	 test -z "$ac_c_werror_flag" ||
4257
	 test -z "$ac_c_werror_flag" ||
4106
	 test ! -s conftest.err
4258
	 test ! -s conftest.err
4107
       } && test -s conftest.$ac_objext; then
4259
       } && test -s conftest.$ac_objext; then
4108
  have_func=yes
4260
  have_func=yes
4109
else
4261
else
4110
  echo "$as_me: failed program was:" >&5
4262
  $as_echo "$as_me: failed program was:" >&5
4111
sed 's/^/| /' conftest.$ac_ext >&5
4263
sed 's/^/| /' conftest.$ac_ext >&5
4112
4264
4113
	have_func=no
4265
	have_func=no
Lines 4115-4127 Link Here
4115
4267
4116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117
if test "x$have_func" = "xyes"; then
4269
if test "x$have_func" = "xyes"; then
4118
   { echo "$as_me:$LINENO: result: yes" >&5
4270
   { $as_echo "$as_me:$LINENO: result: yes" >&5
4119
echo "${ECHO_T}yes" >&6; }
4271
$as_echo "yes" >&6; }
4120
else
4272
else
4121
   { echo "$as_me:$LINENO: result: no" >&5
4273
   { $as_echo "$as_me:$LINENO: result: no" >&5
4122
echo "${ECHO_T}no" >&6; }
4274
$as_echo "no" >&6; }
4123
   { echo "$as_me:$LINENO: checking for __FUNCTION__" >&5
4275
   { $as_echo "$as_me:$LINENO: checking for __FUNCTION__" >&5
4124
echo $ECHO_N "checking for __FUNCTION__... $ECHO_C" >&6; }
4276
$as_echo_n "checking for __FUNCTION__... " >&6; }
4125
   cat >conftest.$ac_ext <<_ACEOF
4277
   cat >conftest.$ac_ext <<_ACEOF
4126
/* confdefs.h.  */
4278
/* confdefs.h.  */
4127
_ACEOF
4279
_ACEOF
Lines 4145-4164 Link Here
4145
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146
  *) ac_try_echo=$ac_try;;
4298
  *) ac_try_echo=$ac_try;;
4147
esac
4299
esac
4148
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4300
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4301
$as_echo "$ac_try_echo") >&5
4149
  (eval "$ac_compile") 2>conftest.er1
4302
  (eval "$ac_compile") 2>conftest.er1
4150
  ac_status=$?
4303
  ac_status=$?
4151
  grep -v '^ *+' conftest.er1 >conftest.err
4304
  grep -v '^ *+' conftest.er1 >conftest.err
4152
  rm -f conftest.er1
4305
  rm -f conftest.er1
4153
  cat conftest.err >&5
4306
  cat conftest.err >&5
4154
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155
  (exit $ac_status); } && {
4308
  (exit $ac_status); } && {
4156
	 test -z "$ac_c_werror_flag" ||
4309
	 test -z "$ac_c_werror_flag" ||
4157
	 test ! -s conftest.err
4310
	 test ! -s conftest.err
4158
       } && test -s conftest.$ac_objext; then
4311
       } && test -s conftest.$ac_objext; then
4159
  have_function=yes
4312
  have_function=yes
4160
else
4313
else
4161
  echo "$as_me: failed program was:" >&5
4314
  $as_echo "$as_me: failed program was:" >&5
4162
sed 's/^/| /' conftest.$ac_ext >&5
4315
sed 's/^/| /' conftest.$ac_ext >&5
4163
4316
4164
	have_function=no
4317
	have_function=no
Lines 4166-4180 Link Here
4166
4319
4167
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4320
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168
   if test "x$have_function" = "xyes"; then
4321
   if test "x$have_function" = "xyes"; then
4169
      { echo "$as_me:$LINENO: result: yes" >&5
4322
      { $as_echo "$as_me:$LINENO: result: yes" >&5
4170
echo "${ECHO_T}yes" >&6; }
4323
$as_echo "yes" >&6; }
4171
      cat >>confdefs.h <<\_ACEOF
4324
      cat >>confdefs.h <<\_ACEOF
4172
#define __func__ __FUNCTION__
4325
#define __func__ __FUNCTION__
4173
_ACEOF
4326
_ACEOF
4174
4327
4175
   else
4328
   else
4176
      { echo "$as_me:$LINENO: result: no" >&5
4329
      { $as_echo "$as_me:$LINENO: result: no" >&5
4177
echo "${ECHO_T}no" >&6; }
4330
$as_echo "no" >&6; }
4178
      cat >>confdefs.h <<\_ACEOF
4331
      cat >>confdefs.h <<\_ACEOF
4179
#define __func__ __FILE__
4332
#define __func__ __FILE__
4180
_ACEOF
4333
_ACEOF
Lines 4188-4197 Link Here
4188
if test -n "$ac_tool_prefix"; then
4341
if test -n "$ac_tool_prefix"; then
4189
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4342
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4190
set dummy ${ac_tool_prefix}strip; ac_word=$2
4343
set dummy ${ac_tool_prefix}strip; ac_word=$2
4191
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4344
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4345
$as_echo_n "checking for $ac_word... " >&6; }
4193
if test "${ac_cv_path_STRIP+set}" = set; then
4346
if test "${ac_cv_path_STRIP+set}" = set; then
4194
  echo $ECHO_N "(cached) $ECHO_C" >&6
4347
  $as_echo_n "(cached) " >&6
4195
else
4348
else
4196
  case $STRIP in
4349
  case $STRIP in
4197
  [\\/]* | ?:[\\/]*)
4350
  [\\/]* | ?:[\\/]*)
Lines 4206-4212 Link Here
4206
  for ac_exec_ext in '' $ac_executable_extensions; do
4359
  for ac_exec_ext in '' $ac_executable_extensions; do
4207
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208
    ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext"
4361
    ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext"
4209
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4362
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4210
    break 2
4363
    break 2
4211
  fi
4364
  fi
4212
done
4365
done
Lines 4218-4228 Link Here
4218
fi
4371
fi
4219
STRIP=$ac_cv_path_STRIP
4372
STRIP=$ac_cv_path_STRIP
4220
if test -n "$STRIP"; then
4373
if test -n "$STRIP"; then
4221
  { echo "$as_me:$LINENO: result: $STRIP" >&5
4374
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4222
echo "${ECHO_T}$STRIP" >&6; }
4375
$as_echo "$STRIP" >&6; }
4223
else
4376
else
4224
  { echo "$as_me:$LINENO: result: no" >&5
4377
  { $as_echo "$as_me:$LINENO: result: no" >&5
4225
echo "${ECHO_T}no" >&6; }
4378
$as_echo "no" >&6; }
4226
fi
4379
fi
4227
4380
4228
4381
Lines 4231-4240 Link Here
4231
  ac_pt_STRIP=$STRIP
4384
  ac_pt_STRIP=$STRIP
4232
  # Extract the first word of "strip", so it can be a program name with args.
4385
  # Extract the first word of "strip", so it can be a program name with args.
4233
set dummy strip; ac_word=$2
4386
set dummy strip; ac_word=$2
4234
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4387
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4235
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4388
$as_echo_n "checking for $ac_word... " >&6; }
4236
if test "${ac_cv_path_ac_pt_STRIP+set}" = set; then
4389
if test "${ac_cv_path_ac_pt_STRIP+set}" = set; then
4237
  echo $ECHO_N "(cached) $ECHO_C" >&6
4390
  $as_echo_n "(cached) " >&6
4238
else
4391
else
4239
  case $ac_pt_STRIP in
4392
  case $ac_pt_STRIP in
4240
  [\\/]* | ?:[\\/]*)
4393
  [\\/]* | ?:[\\/]*)
Lines 4249-4255 Link Here
4249
  for ac_exec_ext in '' $ac_executable_extensions; do
4402
  for ac_exec_ext in '' $ac_executable_extensions; do
4250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4251
    ac_cv_path_ac_pt_STRIP="$as_dir/$ac_word$ac_exec_ext"
4404
    ac_cv_path_ac_pt_STRIP="$as_dir/$ac_word$ac_exec_ext"
4252
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4253
    break 2
4406
    break 2
4254
  fi
4407
  fi
4255
done
4408
done
Lines 4261-4271 Link Here
4261
fi
4414
fi
4262
ac_pt_STRIP=$ac_cv_path_ac_pt_STRIP
4415
ac_pt_STRIP=$ac_cv_path_ac_pt_STRIP
4263
if test -n "$ac_pt_STRIP"; then
4416
if test -n "$ac_pt_STRIP"; then
4264
  { echo "$as_me:$LINENO: result: $ac_pt_STRIP" >&5
4417
  { $as_echo "$as_me:$LINENO: result: $ac_pt_STRIP" >&5
4265
echo "${ECHO_T}$ac_pt_STRIP" >&6; }
4418
$as_echo "$ac_pt_STRIP" >&6; }
4266
else
4419
else
4267
  { echo "$as_me:$LINENO: result: no" >&5
4420
  { $as_echo "$as_me:$LINENO: result: no" >&5
4268
echo "${ECHO_T}no" >&6; }
4421
$as_echo "no" >&6; }
4269
fi
4422
fi
4270
4423
4271
  if test "x$ac_pt_STRIP" = x; then
4424
  if test "x$ac_pt_STRIP" = x; then
Lines 4273-4282 Link Here
4273
  else
4426
  else
4274
    case $cross_compiling:$ac_tool_warned in
4427
    case $cross_compiling:$ac_tool_warned in
4275
yes:)
4428
yes:)
4276
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4429
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4277
whose name does not start with the host triplet.  If you think this
4430
whose name does not start with the host triplet.  If you think this
4278
configuration is useful to you, please write to autoconf@gnu.org." >&5
4431
configuration is useful to you, please write to autoconf@gnu.org." >&5
4279
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4432
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4280
whose name does not start with the host triplet.  If you think this
4433
whose name does not start with the host triplet.  If you think this
4281
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4434
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4282
ac_tool_warned=yes ;;
4435
ac_tool_warned=yes ;;
Lines 4340-4349 Link Here
4340
    # To link with libnet and NM (/usr/lib/libnm.sl) library
4493
    # To link with libnet and NM (/usr/lib/libnm.sl) library
4341
    # on HP-UX 11.11 (other versions?) Mikhail Zakharov (zmey20000@yahoo.com)
4494
    # on HP-UX 11.11 (other versions?) Mikhail Zakharov (zmey20000@yahoo.com)
4342
4495
4343
{ echo "$as_me:$LINENO: checking for open_mib in -lnm" >&5
4496
{ $as_echo "$as_me:$LINENO: checking for open_mib in -lnm" >&5
4344
echo $ECHO_N "checking for open_mib in -lnm... $ECHO_C" >&6; }
4497
$as_echo_n "checking for open_mib in -lnm... " >&6; }
4345
if test "${ac_cv_lib_nm_open_mib+set}" = set; then
4498
if test "${ac_cv_lib_nm_open_mib+set}" = set; then
4346
  echo $ECHO_N "(cached) $ECHO_C" >&6
4499
  $as_echo_n "(cached) " >&6
4347
else
4500
else
4348
  ac_check_lib_save_LIBS=$LIBS
4501
  ac_check_lib_save_LIBS=$LIBS
4349
LIBS="-lnm  $LIBS"
4502
LIBS="-lnm  $LIBS"
Lines 4375-4406 Link Here
4375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376
  *) ac_try_echo=$ac_try;;
4529
  *) ac_try_echo=$ac_try;;
4377
esac
4530
esac
4378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4531
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4532
$as_echo "$ac_try_echo") >&5
4379
  (eval "$ac_link") 2>conftest.er1
4533
  (eval "$ac_link") 2>conftest.er1
4380
  ac_status=$?
4534
  ac_status=$?
4381
  grep -v '^ *+' conftest.er1 >conftest.err
4535
  grep -v '^ *+' conftest.er1 >conftest.err
4382
  rm -f conftest.er1
4536
  rm -f conftest.er1
4383
  cat conftest.err >&5
4537
  cat conftest.err >&5
4384
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385
  (exit $ac_status); } && {
4539
  (exit $ac_status); } && {
4386
	 test -z "$ac_c_werror_flag" ||
4540
	 test -z "$ac_c_werror_flag" ||
4387
	 test ! -s conftest.err
4541
	 test ! -s conftest.err
4388
       } && test -s conftest$ac_exeext &&
4542
       } && test -s conftest$ac_exeext && {
4389
       $as_test_x conftest$ac_exeext; then
4543
	 test "$cross_compiling" = yes ||
4544
	 $as_test_x conftest$ac_exeext
4545
       }; then
4390
  ac_cv_lib_nm_open_mib=yes
4546
  ac_cv_lib_nm_open_mib=yes
4391
else
4547
else
4392
  echo "$as_me: failed program was:" >&5
4548
  $as_echo "$as_me: failed program was:" >&5
4393
sed 's/^/| /' conftest.$ac_ext >&5
4549
sed 's/^/| /' conftest.$ac_ext >&5
4394
4550
4395
	ac_cv_lib_nm_open_mib=no
4551
	ac_cv_lib_nm_open_mib=no
4396
fi
4552
fi
4397
4553
4554
rm -rf conftest.dSYM
4398
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4555
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4399
      conftest$ac_exeext conftest.$ac_ext
4556
      conftest$ac_exeext conftest.$ac_ext
4400
LIBS=$ac_check_lib_save_LIBS
4557
LIBS=$ac_check_lib_save_LIBS
4401
fi
4558
fi
4402
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nm_open_mib" >&5
4559
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nm_open_mib" >&5
4403
echo "${ECHO_T}$ac_cv_lib_nm_open_mib" >&6; }
4560
$as_echo "$ac_cv_lib_nm_open_mib" >&6; }
4404
if test $ac_cv_lib_nm_open_mib = yes; then
4561
if test $ac_cv_lib_nm_open_mib = yes; then
4405
  cat >>confdefs.h <<_ACEOF
4562
  cat >>confdefs.h <<_ACEOF
4406
#define HAVE_LIBNM 1
4563
#define HAVE_LIBNM 1
Lines 4414-4423 Link Here
4414
  *-aix*)
4571
  *-aix*)
4415
    # use some AIX specific libraries
4572
    # use some AIX specific libraries
4416
4573
4417
{ echo "$as_me:$LINENO: checking for odm_initialize in -lodm" >&5
4574
{ $as_echo "$as_me:$LINENO: checking for odm_initialize in -lodm" >&5
4418
echo $ECHO_N "checking for odm_initialize in -lodm... $ECHO_C" >&6; }
4575
$as_echo_n "checking for odm_initialize in -lodm... " >&6; }
4419
if test "${ac_cv_lib_odm_odm_initialize+set}" = set; then
4576
if test "${ac_cv_lib_odm_odm_initialize+set}" = set; then
4420
  echo $ECHO_N "(cached) $ECHO_C" >&6
4577
  $as_echo_n "(cached) " >&6
4421
else
4578
else
4422
  ac_check_lib_save_LIBS=$LIBS
4579
  ac_check_lib_save_LIBS=$LIBS
4423
LIBS="-lodm  $LIBS"
4580
LIBS="-lodm  $LIBS"
Lines 4449-4480 Link Here
4449
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450
  *) ac_try_echo=$ac_try;;
4607
  *) ac_try_echo=$ac_try;;
4451
esac
4608
esac
4452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4609
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4610
$as_echo "$ac_try_echo") >&5
4453
  (eval "$ac_link") 2>conftest.er1
4611
  (eval "$ac_link") 2>conftest.er1
4454
  ac_status=$?
4612
  ac_status=$?
4455
  grep -v '^ *+' conftest.er1 >conftest.err
4613
  grep -v '^ *+' conftest.er1 >conftest.err
4456
  rm -f conftest.er1
4614
  rm -f conftest.er1
4457
  cat conftest.err >&5
4615
  cat conftest.err >&5
4458
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459
  (exit $ac_status); } && {
4617
  (exit $ac_status); } && {
4460
	 test -z "$ac_c_werror_flag" ||
4618
	 test -z "$ac_c_werror_flag" ||
4461
	 test ! -s conftest.err
4619
	 test ! -s conftest.err
4462
       } && test -s conftest$ac_exeext &&
4620
       } && test -s conftest$ac_exeext && {
4463
       $as_test_x conftest$ac_exeext; then
4621
	 test "$cross_compiling" = yes ||
4622
	 $as_test_x conftest$ac_exeext
4623
       }; then
4464
  ac_cv_lib_odm_odm_initialize=yes
4624
  ac_cv_lib_odm_odm_initialize=yes
4465
else
4625
else
4466
  echo "$as_me: failed program was:" >&5
4626
  $as_echo "$as_me: failed program was:" >&5
4467
sed 's/^/| /' conftest.$ac_ext >&5
4627
sed 's/^/| /' conftest.$ac_ext >&5
4468
4628
4469
	ac_cv_lib_odm_odm_initialize=no
4629
	ac_cv_lib_odm_odm_initialize=no
4470
fi
4630
fi
4471
4631
4632
rm -rf conftest.dSYM
4472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4633
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4473
      conftest$ac_exeext conftest.$ac_ext
4634
      conftest$ac_exeext conftest.$ac_ext
4474
LIBS=$ac_check_lib_save_LIBS
4635
LIBS=$ac_check_lib_save_LIBS
4475
fi
4636
fi
4476
{ echo "$as_me:$LINENO: result: $ac_cv_lib_odm_odm_initialize" >&5
4637
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_odm_odm_initialize" >&5
4477
echo "${ECHO_T}$ac_cv_lib_odm_odm_initialize" >&6; }
4638
$as_echo "$ac_cv_lib_odm_odm_initialize" >&6; }
4478
if test $ac_cv_lib_odm_odm_initialize = yes; then
4639
if test $ac_cv_lib_odm_odm_initialize = yes; then
4479
  cat >>confdefs.h <<_ACEOF
4640
  cat >>confdefs.h <<_ACEOF
4480
#define HAVE_LIBODM 1
4641
#define HAVE_LIBODM 1
Lines 4485-4494 Link Here
4485
fi
4646
fi
4486
4647
4487
4648
4488
{ echo "$as_me:$LINENO: checking for _system_configuration in -lcfg" >&5
4649
{ $as_echo "$as_me:$LINENO: checking for _system_configuration in -lcfg" >&5
4489
echo $ECHO_N "checking for _system_configuration in -lcfg... $ECHO_C" >&6; }
4650
$as_echo_n "checking for _system_configuration in -lcfg... " >&6; }
4490
if test "${ac_cv_lib_cfg__system_configuration+set}" = set; then
4651
if test "${ac_cv_lib_cfg__system_configuration+set}" = set; then
4491
  echo $ECHO_N "(cached) $ECHO_C" >&6
4652
  $as_echo_n "(cached) " >&6
4492
else
4653
else
4493
  ac_check_lib_save_LIBS=$LIBS
4654
  ac_check_lib_save_LIBS=$LIBS
4494
LIBS="-lcfg  $LIBS"
4655
LIBS="-lcfg  $LIBS"
Lines 4520-4551 Link Here
4520
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4681
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4521
  *) ac_try_echo=$ac_try;;
4682
  *) ac_try_echo=$ac_try;;
4522
esac
4683
esac
4523
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4684
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4685
$as_echo "$ac_try_echo") >&5
4524
  (eval "$ac_link") 2>conftest.er1
4686
  (eval "$ac_link") 2>conftest.er1
4525
  ac_status=$?
4687
  ac_status=$?
4526
  grep -v '^ *+' conftest.er1 >conftest.err
4688
  grep -v '^ *+' conftest.er1 >conftest.err
4527
  rm -f conftest.er1
4689
  rm -f conftest.er1
4528
  cat conftest.err >&5
4690
  cat conftest.err >&5
4529
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530
  (exit $ac_status); } && {
4692
  (exit $ac_status); } && {
4531
	 test -z "$ac_c_werror_flag" ||
4693
	 test -z "$ac_c_werror_flag" ||
4532
	 test ! -s conftest.err
4694
	 test ! -s conftest.err
4533
       } && test -s conftest$ac_exeext &&
4695
       } && test -s conftest$ac_exeext && {
4534
       $as_test_x conftest$ac_exeext; then
4696
	 test "$cross_compiling" = yes ||
4697
	 $as_test_x conftest$ac_exeext
4698
       }; then
4535
  ac_cv_lib_cfg__system_configuration=yes
4699
  ac_cv_lib_cfg__system_configuration=yes
4536
else
4700
else
4537
  echo "$as_me: failed program was:" >&5
4701
  $as_echo "$as_me: failed program was:" >&5
4538
sed 's/^/| /' conftest.$ac_ext >&5
4702
sed 's/^/| /' conftest.$ac_ext >&5
4539
4703
4540
	ac_cv_lib_cfg__system_configuration=no
4704
	ac_cv_lib_cfg__system_configuration=no
4541
fi
4705
fi
4542
4706
4707
rm -rf conftest.dSYM
4543
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4708
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4544
      conftest$ac_exeext conftest.$ac_ext
4709
      conftest$ac_exeext conftest.$ac_ext
4545
LIBS=$ac_check_lib_save_LIBS
4710
LIBS=$ac_check_lib_save_LIBS
4546
fi
4711
fi
4547
{ echo "$as_me:$LINENO: result: $ac_cv_lib_cfg__system_configuration" >&5
4712
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cfg__system_configuration" >&5
4548
echo "${ECHO_T}$ac_cv_lib_cfg__system_configuration" >&6; }
4713
$as_echo "$ac_cv_lib_cfg__system_configuration" >&6; }
4549
if test $ac_cv_lib_cfg__system_configuration = yes; then
4714
if test $ac_cv_lib_cfg__system_configuration = yes; then
4550
  cat >>confdefs.h <<_ACEOF
4715
  cat >>confdefs.h <<_ACEOF
4551
#define HAVE_LIBCFG 1
4716
#define HAVE_LIBCFG 1
Lines 4655-4664 Link Here
4655
_ACEOF
4820
_ACEOF
4656
4821
4657
4822
4658
{ echo "$as_me:$LINENO: checking for main in -lm" >&5
4823
{ $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
4659
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
4824
$as_echo_n "checking for main in -lm... " >&6; }
4660
if test "${ac_cv_lib_m_main+set}" = set; then
4825
if test "${ac_cv_lib_m_main+set}" = set; then
4661
  echo $ECHO_N "(cached) $ECHO_C" >&6
4826
  $as_echo_n "(cached) " >&6
4662
else
4827
else
4663
  ac_check_lib_save_LIBS=$LIBS
4828
  ac_check_lib_save_LIBS=$LIBS
4664
LIBS="-lm  $LIBS"
4829
LIBS="-lm  $LIBS"
Lines 4684-4715 Link Here
4684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685
  *) ac_try_echo=$ac_try;;
4850
  *) ac_try_echo=$ac_try;;
4686
esac
4851
esac
4687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4852
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4853
$as_echo "$ac_try_echo") >&5
4688
  (eval "$ac_link") 2>conftest.er1
4854
  (eval "$ac_link") 2>conftest.er1
4689
  ac_status=$?
4855
  ac_status=$?
4690
  grep -v '^ *+' conftest.er1 >conftest.err
4856
  grep -v '^ *+' conftest.er1 >conftest.err
4691
  rm -f conftest.er1
4857
  rm -f conftest.er1
4692
  cat conftest.err >&5
4858
  cat conftest.err >&5
4693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694
  (exit $ac_status); } && {
4860
  (exit $ac_status); } && {
4695
	 test -z "$ac_c_werror_flag" ||
4861
	 test -z "$ac_c_werror_flag" ||
4696
	 test ! -s conftest.err
4862
	 test ! -s conftest.err
4697
       } && test -s conftest$ac_exeext &&
4863
       } && test -s conftest$ac_exeext && {
4698
       $as_test_x conftest$ac_exeext; then
4864
	 test "$cross_compiling" = yes ||
4865
	 $as_test_x conftest$ac_exeext
4866
       }; then
4699
  ac_cv_lib_m_main=yes
4867
  ac_cv_lib_m_main=yes
4700
else
4868
else
4701
  echo "$as_me: failed program was:" >&5
4869
  $as_echo "$as_me: failed program was:" >&5
4702
sed 's/^/| /' conftest.$ac_ext >&5
4870
sed 's/^/| /' conftest.$ac_ext >&5
4703
4871
4704
	ac_cv_lib_m_main=no
4872
	ac_cv_lib_m_main=no
4705
fi
4873
fi
4706
4874
4875
rm -rf conftest.dSYM
4707
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4876
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4708
      conftest$ac_exeext conftest.$ac_ext
4877
      conftest$ac_exeext conftest.$ac_ext
4709
LIBS=$ac_check_lib_save_LIBS
4878
LIBS=$ac_check_lib_save_LIBS
4710
fi
4879
fi
4711
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4880
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4712
echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
4881
$as_echo "$ac_cv_lib_m_main" >&6; }
4713
if test $ac_cv_lib_m_main = yes; then
4882
if test $ac_cv_lib_m_main = yes; then
4714
  cat >>confdefs.h <<_ACEOF
4883
  cat >>confdefs.h <<_ACEOF
4715
#define HAVE_LIBM 1
4884
#define HAVE_LIBM 1
Lines 4731-4745 Link Here
4731
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4900
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4901
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4902
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4903
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4735
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4904
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4736
# On Suns, sometimes $CPP names a directory.
4905
# On Suns, sometimes $CPP names a directory.
4737
if test -n "$CPP" && test -d "$CPP"; then
4906
if test -n "$CPP" && test -d "$CPP"; then
4738
  CPP=
4907
  CPP=
4739
fi
4908
fi
4740
if test -z "$CPP"; then
4909
if test -z "$CPP"; then
4741
  if test "${ac_cv_prog_CPP+set}" = set; then
4910
  if test "${ac_cv_prog_CPP+set}" = set; then
4742
  echo $ECHO_N "(cached) $ECHO_C" >&6
4911
  $as_echo_n "(cached) " >&6
4743
else
4912
else
4744
      # Double quotes because CPP needs to be expanded
4913
      # Double quotes because CPP needs to be expanded
4745
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4914
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
Lines 4771-4790 Link Here
4771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4772
  *) ac_try_echo=$ac_try;;
4941
  *) ac_try_echo=$ac_try;;
4773
esac
4942
esac
4774
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4944
$as_echo "$ac_try_echo") >&5
4775
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4945
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4776
  ac_status=$?
4946
  ac_status=$?
4777
  grep -v '^ *+' conftest.er1 >conftest.err
4947
  grep -v '^ *+' conftest.er1 >conftest.err
4778
  rm -f conftest.er1
4948
  rm -f conftest.er1
4779
  cat conftest.err >&5
4949
  cat conftest.err >&5
4780
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781
  (exit $ac_status); } >/dev/null && {
4951
  (exit $ac_status); } >/dev/null && {
4782
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4952
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4783
	 test ! -s conftest.err
4953
	 test ! -s conftest.err
4784
       }; then
4954
       }; then
4785
  :
4955
  :
4786
else
4956
else
4787
  echo "$as_me: failed program was:" >&5
4957
  $as_echo "$as_me: failed program was:" >&5
4788
sed 's/^/| /' conftest.$ac_ext >&5
4958
sed 's/^/| /' conftest.$ac_ext >&5
4789
4959
4790
  # Broken: fails on valid input.
4960
  # Broken: fails on valid input.
Lines 4808-4820 Link Here
4808
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809
  *) ac_try_echo=$ac_try;;
4979
  *) ac_try_echo=$ac_try;;
4810
esac
4980
esac
4811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4981
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4982
$as_echo "$ac_try_echo") >&5
4812
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4983
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4813
  ac_status=$?
4984
  ac_status=$?
4814
  grep -v '^ *+' conftest.er1 >conftest.err
4985
  grep -v '^ *+' conftest.er1 >conftest.err
4815
  rm -f conftest.er1
4986
  rm -f conftest.er1
4816
  cat conftest.err >&5
4987
  cat conftest.err >&5
4817
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818
  (exit $ac_status); } >/dev/null && {
4989
  (exit $ac_status); } >/dev/null && {
4819
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4990
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4820
	 test ! -s conftest.err
4991
	 test ! -s conftest.err
Lines 4822-4828 Link Here
4822
  # Broken: success on invalid input.
4993
  # Broken: success on invalid input.
4823
continue
4994
continue
4824
else
4995
else
4825
  echo "$as_me: failed program was:" >&5
4996
  $as_echo "$as_me: failed program was:" >&5
4826
sed 's/^/| /' conftest.$ac_ext >&5
4997
sed 's/^/| /' conftest.$ac_ext >&5
4827
4998
4828
  # Passes both tests.
4999
  # Passes both tests.
Lines 4847-4854 Link Here
4847
else
5018
else
4848
  ac_cv_prog_CPP=$CPP
5019
  ac_cv_prog_CPP=$CPP
4849
fi
5020
fi
4850
{ echo "$as_me:$LINENO: result: $CPP" >&5
5021
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
4851
echo "${ECHO_T}$CPP" >&6; }
5022
$as_echo "$CPP" >&6; }
4852
ac_preproc_ok=false
5023
ac_preproc_ok=false
4853
for ac_c_preproc_warn_flag in '' yes
5024
for ac_c_preproc_warn_flag in '' yes
4854
do
5025
do
Lines 4876-4895 Link Here
4876
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877
  *) ac_try_echo=$ac_try;;
5048
  *) ac_try_echo=$ac_try;;
4878
esac
5049
esac
4879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5050
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5051
$as_echo "$ac_try_echo") >&5
4880
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5052
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4881
  ac_status=$?
5053
  ac_status=$?
4882
  grep -v '^ *+' conftest.er1 >conftest.err
5054
  grep -v '^ *+' conftest.er1 >conftest.err
4883
  rm -f conftest.er1
5055
  rm -f conftest.er1
4884
  cat conftest.err >&5
5056
  cat conftest.err >&5
4885
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886
  (exit $ac_status); } >/dev/null && {
5058
  (exit $ac_status); } >/dev/null && {
4887
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5059
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4888
	 test ! -s conftest.err
5060
	 test ! -s conftest.err
4889
       }; then
5061
       }; then
4890
  :
5062
  :
4891
else
5063
else
4892
  echo "$as_me: failed program was:" >&5
5064
  $as_echo "$as_me: failed program was:" >&5
4893
sed 's/^/| /' conftest.$ac_ext >&5
5065
sed 's/^/| /' conftest.$ac_ext >&5
4894
5066
4895
  # Broken: fails on valid input.
5067
  # Broken: fails on valid input.
Lines 4913-4925 Link Here
4913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4914
  *) ac_try_echo=$ac_try;;
5086
  *) ac_try_echo=$ac_try;;
4915
esac
5087
esac
4916
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5089
$as_echo "$ac_try_echo") >&5
4917
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5090
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4918
  ac_status=$?
5091
  ac_status=$?
4919
  grep -v '^ *+' conftest.er1 >conftest.err
5092
  grep -v '^ *+' conftest.er1 >conftest.err
4920
  rm -f conftest.er1
5093
  rm -f conftest.er1
4921
  cat conftest.err >&5
5094
  cat conftest.err >&5
4922
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
  (exit $ac_status); } >/dev/null && {
5096
  (exit $ac_status); } >/dev/null && {
4924
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5097
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4925
	 test ! -s conftest.err
5098
	 test ! -s conftest.err
Lines 4927-4933 Link Here
4927
  # Broken: success on invalid input.
5100
  # Broken: success on invalid input.
4928
continue
5101
continue
4929
else
5102
else
4930
  echo "$as_me: failed program was:" >&5
5103
  $as_echo "$as_me: failed program was:" >&5
4931
sed 's/^/| /' conftest.$ac_ext >&5
5104
sed 's/^/| /' conftest.$ac_ext >&5
4932
5105
4933
  # Passes both tests.
5106
  # Passes both tests.
Lines 4943-4951 Link Here
4943
if $ac_preproc_ok; then
5116
if $ac_preproc_ok; then
4944
  :
5117
  :
4945
else
5118
else
4946
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5119
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4947
See \`config.log' for more details." >&5
5120
See \`config.log' for more details." >&5
4948
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5121
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4949
See \`config.log' for more details." >&2;}
5122
See \`config.log' for more details." >&2;}
4950
   { (exit 1); exit 1; }; }
5123
   { (exit 1); exit 1; }; }
4951
fi
5124
fi
Lines 4957-4998 Link Here
4957
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5130
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4958
5131
4959
5132
4960
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5133
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4961
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5134
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4962
if test "${ac_cv_path_GREP+set}" = set; then
4963
  echo $ECHO_N "(cached) $ECHO_C" >&6
4964
else
4965
  # Extract the first word of "grep ggrep" to use in msg output
4966
if test -z "$GREP"; then
4967
set dummy grep ggrep; ac_prog_name=$2
4968
if test "${ac_cv_path_GREP+set}" = set; then
5135
if test "${ac_cv_path_GREP+set}" = set; then
4969
  echo $ECHO_N "(cached) $ECHO_C" >&6
5136
  $as_echo_n "(cached) " >&6
4970
else
5137
else
5138
  if test -z "$GREP"; then
4971
  ac_path_GREP_found=false
5139
  ac_path_GREP_found=false
4972
# Loop through the user's path and test for each of PROGNAME-LIST
5140
  # Loop through the user's path and test for each of PROGNAME-LIST
4973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5142
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4975
do
5143
do
4976
  IFS=$as_save_IFS
5144
  IFS=$as_save_IFS
4977
  test -z "$as_dir" && as_dir=.
5145
  test -z "$as_dir" && as_dir=.
4978
  for ac_prog in grep ggrep; do
5146
  for ac_prog in grep ggrep; do
4979
  for ac_exec_ext in '' $ac_executable_extensions; do
5147
    for ac_exec_ext in '' $ac_executable_extensions; do
4980
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5148
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4981
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5149
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4982
    # Check for GNU ac_path_GREP and select it if it is found.
5150
# Check for GNU ac_path_GREP and select it if it is found.
4983
  # Check for GNU $ac_path_GREP
5151
  # Check for GNU $ac_path_GREP
4984
case `"$ac_path_GREP" --version 2>&1` in
5152
case `"$ac_path_GREP" --version 2>&1` in
4985
*GNU*)
5153
*GNU*)
4986
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5154
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4987
*)
5155
*)
4988
  ac_count=0
5156
  ac_count=0
4989
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5157
  $as_echo_n 0123456789 >"conftest.in"
4990
  while :
5158
  while :
4991
  do
5159
  do
4992
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5160
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4993
    mv "conftest.tmp" "conftest.in"
5161
    mv "conftest.tmp" "conftest.in"
4994
    cp "conftest.in" "conftest.nl"
5162
    cp "conftest.in" "conftest.nl"
4995
    echo 'GREP' >> "conftest.nl"
5163
    $as_echo 'GREP' >> "conftest.nl"
4996
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5164
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4997
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5165
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4998
    ac_count=`expr $ac_count + 1`
5166
    ac_count=`expr $ac_count + 1`
Lines 5007-5080 Link Here
5007
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5175
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5008
esac
5176
esac
5009
5177
5010
5178
      $ac_path_GREP_found && break 3
5011
    $ac_path_GREP_found && break 3
5179
    done
5012
  done
5180
  done
5013
done
5181
done
5014
5015
done
5016
IFS=$as_save_IFS
5182
IFS=$as_save_IFS
5017
5183
  if test -z "$ac_cv_path_GREP"; then
5018
5184
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5019
fi
5185
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5020
5021
GREP="$ac_cv_path_GREP"
5022
if test -z "$GREP"; then
5023
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5024
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5025
   { (exit 1); exit 1; }; }
5186
   { (exit 1); exit 1; }; }
5026
fi
5187
  fi
5027
5028
else
5188
else
5029
  ac_cv_path_GREP=$GREP
5189
  ac_cv_path_GREP=$GREP
5030
fi
5190
fi
5031
5191
5032
5033
fi
5192
fi
5034
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5193
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5035
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5194
$as_echo "$ac_cv_path_GREP" >&6; }
5036
 GREP="$ac_cv_path_GREP"
5195
 GREP="$ac_cv_path_GREP"
5037
5196
5038
5197
5039
{ echo "$as_me:$LINENO: checking for egrep" >&5
5198
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
5040
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5199
$as_echo_n "checking for egrep... " >&6; }
5041
if test "${ac_cv_path_EGREP+set}" = set; then
5200
if test "${ac_cv_path_EGREP+set}" = set; then
5042
  echo $ECHO_N "(cached) $ECHO_C" >&6
5201
  $as_echo_n "(cached) " >&6
5043
else
5202
else
5044
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5203
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5045
   then ac_cv_path_EGREP="$GREP -E"
5204
   then ac_cv_path_EGREP="$GREP -E"
5046
   else
5205
   else
5047
     # Extract the first word of "egrep" to use in msg output
5206
     if test -z "$EGREP"; then
5048
if test -z "$EGREP"; then
5049
set dummy egrep; ac_prog_name=$2
5050
if test "${ac_cv_path_EGREP+set}" = set; then
5051
  echo $ECHO_N "(cached) $ECHO_C" >&6
5052
else
5053
  ac_path_EGREP_found=false
5207
  ac_path_EGREP_found=false
5054
# Loop through the user's path and test for each of PROGNAME-LIST
5208
  # Loop through the user's path and test for each of PROGNAME-LIST
5055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5210
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5057
do
5211
do
5058
  IFS=$as_save_IFS
5212
  IFS=$as_save_IFS
5059
  test -z "$as_dir" && as_dir=.
5213
  test -z "$as_dir" && as_dir=.
5060
  for ac_prog in egrep; do
5214
  for ac_prog in egrep; do
5061
  for ac_exec_ext in '' $ac_executable_extensions; do
5215
    for ac_exec_ext in '' $ac_executable_extensions; do
5062
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5216
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5063
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5217
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5064
    # Check for GNU ac_path_EGREP and select it if it is found.
5218
# Check for GNU ac_path_EGREP and select it if it is found.
5065
  # Check for GNU $ac_path_EGREP
5219
  # Check for GNU $ac_path_EGREP
5066
case `"$ac_path_EGREP" --version 2>&1` in
5220
case `"$ac_path_EGREP" --version 2>&1` in
5067
*GNU*)
5221
*GNU*)
5068
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5222
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5069
*)
5223
*)
5070
  ac_count=0
5224
  ac_count=0
5071
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5225
  $as_echo_n 0123456789 >"conftest.in"
5072
  while :
5226
  while :
5073
  do
5227
  do
5074
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5228
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5075
    mv "conftest.tmp" "conftest.in"
5229
    mv "conftest.tmp" "conftest.in"
5076
    cp "conftest.in" "conftest.nl"
5230
    cp "conftest.in" "conftest.nl"
5077
    echo 'EGREP' >> "conftest.nl"
5231
    $as_echo 'EGREP' >> "conftest.nl"
5078
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5232
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5079
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5233
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5080
    ac_count=`expr $ac_count + 1`
5234
    ac_count=`expr $ac_count + 1`
Lines 5089-5128 Link Here
5089
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5243
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5090
esac
5244
esac
5091
5245
5092
5246
      $ac_path_EGREP_found && break 3
5093
    $ac_path_EGREP_found && break 3
5247
    done
5094
  done
5248
  done
5095
done
5249
done
5096
5097
done
5098
IFS=$as_save_IFS
5250
IFS=$as_save_IFS
5099
5251
  if test -z "$ac_cv_path_EGREP"; then
5100
5252
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5101
fi
5253
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5102
5103
EGREP="$ac_cv_path_EGREP"
5104
if test -z "$EGREP"; then
5105
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5106
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5107
   { (exit 1); exit 1; }; }
5254
   { (exit 1); exit 1; }; }
5108
fi
5255
  fi
5109
5110
else
5256
else
5111
  ac_cv_path_EGREP=$EGREP
5257
  ac_cv_path_EGREP=$EGREP
5112
fi
5258
fi
5113
5259
5114
5115
   fi
5260
   fi
5116
fi
5261
fi
5117
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5262
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5118
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5263
$as_echo "$ac_cv_path_EGREP" >&6; }
5119
 EGREP="$ac_cv_path_EGREP"
5264
 EGREP="$ac_cv_path_EGREP"
5120
5265
5121
5266
5122
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5267
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5123
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5268
$as_echo_n "checking for ANSI C header files... " >&6; }
5124
if test "${ac_cv_header_stdc+set}" = set; then
5269
if test "${ac_cv_header_stdc+set}" = set; then
5125
  echo $ECHO_N "(cached) $ECHO_C" >&6
5270
  $as_echo_n "(cached) " >&6
5126
else
5271
else
5127
  cat >conftest.$ac_ext <<_ACEOF
5272
  cat >conftest.$ac_ext <<_ACEOF
5128
/* confdefs.h.  */
5273
/* confdefs.h.  */
Lines 5149-5168 Link Here
5149
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5150
  *) ac_try_echo=$ac_try;;
5295
  *) ac_try_echo=$ac_try;;
5151
esac
5296
esac
5152
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5298
$as_echo "$ac_try_echo") >&5
5153
  (eval "$ac_compile") 2>conftest.er1
5299
  (eval "$ac_compile") 2>conftest.er1
5154
  ac_status=$?
5300
  ac_status=$?
5155
  grep -v '^ *+' conftest.er1 >conftest.err
5301
  grep -v '^ *+' conftest.er1 >conftest.err
5156
  rm -f conftest.er1
5302
  rm -f conftest.er1
5157
  cat conftest.err >&5
5303
  cat conftest.err >&5
5158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159
  (exit $ac_status); } && {
5305
  (exit $ac_status); } && {
5160
	 test -z "$ac_c_werror_flag" ||
5306
	 test -z "$ac_c_werror_flag" ||
5161
	 test ! -s conftest.err
5307
	 test ! -s conftest.err
5162
       } && test -s conftest.$ac_objext; then
5308
       } && test -s conftest.$ac_objext; then
5163
  ac_cv_header_stdc=yes
5309
  ac_cv_header_stdc=yes
5164
else
5310
else
5165
  echo "$as_me: failed program was:" >&5
5311
  $as_echo "$as_me: failed program was:" >&5
5166
sed 's/^/| /' conftest.$ac_ext >&5
5312
sed 's/^/| /' conftest.$ac_ext >&5
5167
5313
5168
	ac_cv_header_stdc=no
5314
	ac_cv_header_stdc=no
Lines 5254-5290 Link Here
5254
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5400
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5255
  *) ac_try_echo=$ac_try;;
5401
  *) ac_try_echo=$ac_try;;
5256
esac
5402
esac
5257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5403
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5404
$as_echo "$ac_try_echo") >&5
5258
  (eval "$ac_link") 2>&5
5405
  (eval "$ac_link") 2>&5
5259
  ac_status=$?
5406
  ac_status=$?
5260
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5408
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5262
  { (case "(($ac_try" in
5409
  { (case "(($ac_try" in
5263
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5410
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5264
  *) ac_try_echo=$ac_try;;
5411
  *) ac_try_echo=$ac_try;;
5265
esac
5412
esac
5266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5414
$as_echo "$ac_try_echo") >&5
5267
  (eval "$ac_try") 2>&5
5415
  (eval "$ac_try") 2>&5
5268
  ac_status=$?
5416
  ac_status=$?
5269
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270
  (exit $ac_status); }; }; then
5418
  (exit $ac_status); }; }; then
5271
  :
5419
  :
5272
else
5420
else
5273
  echo "$as_me: program exited with status $ac_status" >&5
5421
  $as_echo "$as_me: program exited with status $ac_status" >&5
5274
echo "$as_me: failed program was:" >&5
5422
$as_echo "$as_me: failed program was:" >&5
5275
sed 's/^/| /' conftest.$ac_ext >&5
5423
sed 's/^/| /' conftest.$ac_ext >&5
5276
5424
5277
( exit $ac_status )
5425
( exit $ac_status )
5278
ac_cv_header_stdc=no
5426
ac_cv_header_stdc=no
5279
fi
5427
fi
5428
rm -rf conftest.dSYM
5280
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5429
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5281
fi
5430
fi
5282
5431
5283
5432
5284
fi
5433
fi
5285
fi
5434
fi
5286
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5435
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5287
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5436
$as_echo "$ac_cv_header_stdc" >&6; }
5288
if test $ac_cv_header_stdc = yes; then
5437
if test $ac_cv_header_stdc = yes; then
5289
5438
5290
cat >>confdefs.h <<\_ACEOF
5439
cat >>confdefs.h <<\_ACEOF
Lines 5306-5316 Link Here
5306
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5455
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5307
		  inttypes.h stdint.h unistd.h
5456
		  inttypes.h stdint.h unistd.h
5308
do
5457
do
5309
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5458
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5310
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5459
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5311
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5460
$as_echo_n "checking for $ac_header... " >&6; }
5312
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5461
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5313
  echo $ECHO_N "(cached) $ECHO_C" >&6
5462
  $as_echo_n "(cached) " >&6
5314
else
5463
else
5315
  cat >conftest.$ac_ext <<_ACEOF
5464
  cat >conftest.$ac_ext <<_ACEOF
5316
/* confdefs.h.  */
5465
/* confdefs.h.  */
Lines 5328-5347 Link Here
5328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5477
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5329
  *) ac_try_echo=$ac_try;;
5478
  *) ac_try_echo=$ac_try;;
5330
esac
5479
esac
5331
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5480
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5481
$as_echo "$ac_try_echo") >&5
5332
  (eval "$ac_compile") 2>conftest.er1
5482
  (eval "$ac_compile") 2>conftest.er1
5333
  ac_status=$?
5483
  ac_status=$?
5334
  grep -v '^ *+' conftest.er1 >conftest.err
5484
  grep -v '^ *+' conftest.er1 >conftest.err
5335
  rm -f conftest.er1
5485
  rm -f conftest.er1
5336
  cat conftest.err >&5
5486
  cat conftest.err >&5
5337
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338
  (exit $ac_status); } && {
5488
  (exit $ac_status); } && {
5339
	 test -z "$ac_c_werror_flag" ||
5489
	 test -z "$ac_c_werror_flag" ||
5340
	 test ! -s conftest.err
5490
	 test ! -s conftest.err
5341
       } && test -s conftest.$ac_objext; then
5491
       } && test -s conftest.$ac_objext; then
5342
  eval "$as_ac_Header=yes"
5492
  eval "$as_ac_Header=yes"
5343
else
5493
else
5344
  echo "$as_me: failed program was:" >&5
5494
  $as_echo "$as_me: failed program was:" >&5
5345
sed 's/^/| /' conftest.$ac_ext >&5
5495
sed 's/^/| /' conftest.$ac_ext >&5
5346
5496
5347
	eval "$as_ac_Header=no"
5497
	eval "$as_ac_Header=no"
Lines 5349-5360 Link Here
5349
5499
5350
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351
fi
5501
fi
5352
ac_res=`eval echo '${'$as_ac_Header'}'`
5502
ac_res=`eval 'as_val=${'$as_ac_Header'}
5353
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5503
		 $as_echo "$as_val"'`
5354
echo "${ECHO_T}$ac_res" >&6; }
5504
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5355
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5505
$as_echo "$ac_res" >&6; }
5506
if test `eval 'as_val=${'$as_ac_Header'}
5507
		 $as_echo "$as_val"'` = yes; then
5356
  cat >>confdefs.h <<_ACEOF
5508
  cat >>confdefs.h <<_ACEOF
5357
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5509
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5358
_ACEOF
5510
_ACEOF
5359
5511
5360
fi
5512
fi
Lines 5367-5386 Link Here
5367
5519
5368
for ac_header in pwd.h termios.h sys/sockio.h
5520
for ac_header in pwd.h termios.h sys/sockio.h
5369
do
5521
do
5370
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5522
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5371
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5523
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5372
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5524
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5373
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5525
$as_echo_n "checking for $ac_header... " >&6; }
5374
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5526
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5375
  echo $ECHO_N "(cached) $ECHO_C" >&6
5527
  $as_echo_n "(cached) " >&6
5376
fi
5528
fi
5377
ac_res=`eval echo '${'$as_ac_Header'}'`
5529
ac_res=`eval 'as_val=${'$as_ac_Header'}
5378
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5530
		 $as_echo "$as_val"'`
5379
echo "${ECHO_T}$ac_res" >&6; }
5531
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5532
$as_echo "$ac_res" >&6; }
5380
else
5533
else
5381
  # Is the header compilable?
5534
  # Is the header compilable?
5382
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5535
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5383
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5536
$as_echo_n "checking $ac_header usability... " >&6; }
5384
cat >conftest.$ac_ext <<_ACEOF
5537
cat >conftest.$ac_ext <<_ACEOF
5385
/* confdefs.h.  */
5538
/* confdefs.h.  */
5386
_ACEOF
5539
_ACEOF
Lines 5396-5427 Link Here
5396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5397
  *) ac_try_echo=$ac_try;;
5550
  *) ac_try_echo=$ac_try;;
5398
esac
5551
esac
5399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5552
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5553
$as_echo "$ac_try_echo") >&5
5400
  (eval "$ac_compile") 2>conftest.er1
5554
  (eval "$ac_compile") 2>conftest.er1
5401
  ac_status=$?
5555
  ac_status=$?
5402
  grep -v '^ *+' conftest.er1 >conftest.err
5556
  grep -v '^ *+' conftest.er1 >conftest.err
5403
  rm -f conftest.er1
5557
  rm -f conftest.er1
5404
  cat conftest.err >&5
5558
  cat conftest.err >&5
5405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406
  (exit $ac_status); } && {
5560
  (exit $ac_status); } && {
5407
	 test -z "$ac_c_werror_flag" ||
5561
	 test -z "$ac_c_werror_flag" ||
5408
	 test ! -s conftest.err
5562
	 test ! -s conftest.err
5409
       } && test -s conftest.$ac_objext; then
5563
       } && test -s conftest.$ac_objext; then
5410
  ac_header_compiler=yes
5564
  ac_header_compiler=yes
5411
else
5565
else
5412
  echo "$as_me: failed program was:" >&5
5566
  $as_echo "$as_me: failed program was:" >&5
5413
sed 's/^/| /' conftest.$ac_ext >&5
5567
sed 's/^/| /' conftest.$ac_ext >&5
5414
5568
5415
	ac_header_compiler=no
5569
	ac_header_compiler=no
5416
fi
5570
fi
5417
5571
5418
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5419
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5573
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5420
echo "${ECHO_T}$ac_header_compiler" >&6; }
5574
$as_echo "$ac_header_compiler" >&6; }
5421
5575
5422
# Is the header present?
5576
# Is the header present?
5423
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5577
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5424
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5578
$as_echo_n "checking $ac_header presence... " >&6; }
5425
cat >conftest.$ac_ext <<_ACEOF
5579
cat >conftest.$ac_ext <<_ACEOF
5426
/* confdefs.h.  */
5580
/* confdefs.h.  */
5427
_ACEOF
5581
_ACEOF
Lines 5435-5503 Link Here
5435
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5589
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5436
  *) ac_try_echo=$ac_try;;
5590
  *) ac_try_echo=$ac_try;;
5437
esac
5591
esac
5438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5592
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5593
$as_echo "$ac_try_echo") >&5
5439
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5594
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5440
  ac_status=$?
5595
  ac_status=$?
5441
  grep -v '^ *+' conftest.er1 >conftest.err
5596
  grep -v '^ *+' conftest.er1 >conftest.err
5442
  rm -f conftest.er1
5597
  rm -f conftest.er1
5443
  cat conftest.err >&5
5598
  cat conftest.err >&5
5444
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445
  (exit $ac_status); } >/dev/null && {
5600
  (exit $ac_status); } >/dev/null && {
5446
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5601
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5447
	 test ! -s conftest.err
5602
	 test ! -s conftest.err
5448
       }; then
5603
       }; then
5449
  ac_header_preproc=yes
5604
  ac_header_preproc=yes
5450
else
5605
else
5451
  echo "$as_me: failed program was:" >&5
5606
  $as_echo "$as_me: failed program was:" >&5
5452
sed 's/^/| /' conftest.$ac_ext >&5
5607
sed 's/^/| /' conftest.$ac_ext >&5
5453
5608
5454
  ac_header_preproc=no
5609
  ac_header_preproc=no
5455
fi
5610
fi
5456
5611
5457
rm -f conftest.err conftest.$ac_ext
5612
rm -f conftest.err conftest.$ac_ext
5458
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5613
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5459
echo "${ECHO_T}$ac_header_preproc" >&6; }
5614
$as_echo "$ac_header_preproc" >&6; }
5460
5615
5461
# So?  What about this header?
5616
# So?  What about this header?
5462
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5617
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5463
  yes:no: )
5618
  yes:no: )
5464
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5619
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5465
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5620
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5466
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5621
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5467
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5622
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5468
    ac_header_preproc=yes
5623
    ac_header_preproc=yes
5469
    ;;
5624
    ;;
5470
  no:yes:* )
5625
  no:yes:* )
5471
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5626
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5472
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5627
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5473
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5628
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5474
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5629
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5475
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5630
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5476
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5631
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5477
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5632
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5478
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5633
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5479
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5634
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5480
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5635
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5481
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5636
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5482
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5637
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5483
5638
5484
    ;;
5639
    ;;
5485
esac
5640
esac
5486
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5641
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5487
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5642
$as_echo_n "checking for $ac_header... " >&6; }
5488
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5643
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5489
  echo $ECHO_N "(cached) $ECHO_C" >&6
5644
  $as_echo_n "(cached) " >&6
5490
else
5645
else
5491
  eval "$as_ac_Header=\$ac_header_preproc"
5646
  eval "$as_ac_Header=\$ac_header_preproc"
5492
fi
5647
fi
5493
ac_res=`eval echo '${'$as_ac_Header'}'`
5648
ac_res=`eval 'as_val=${'$as_ac_Header'}
5494
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5649
		 $as_echo "$as_val"'`
5495
echo "${ECHO_T}$ac_res" >&6; }
5650
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5651
$as_echo "$ac_res" >&6; }
5496
5652
5497
fi
5653
fi
5498
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5654
if test `eval 'as_val=${'$as_ac_Header'}
5655
		 $as_echo "$as_val"'` = yes; then
5499
  cat >>confdefs.h <<_ACEOF
5656
  cat >>confdefs.h <<_ACEOF
5500
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5657
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5501
_ACEOF
5658
_ACEOF
5502
5659
5503
fi
5660
fi
Lines 5505-5514 Link Here
5505
done
5662
done
5506
5663
5507
5664
5508
{ echo "$as_me:$LINENO: checking for library containing setsockopt" >&5
5665
{ $as_echo "$as_me:$LINENO: checking for library containing setsockopt" >&5
5509
echo $ECHO_N "checking for library containing setsockopt... $ECHO_C" >&6; }
5666
$as_echo_n "checking for library containing setsockopt... " >&6; }
5510
if test "${ac_cv_search_setsockopt+set}" = set; then
5667
if test "${ac_cv_search_setsockopt+set}" = set; then
5511
  echo $ECHO_N "(cached) $ECHO_C" >&6
5668
  $as_echo_n "(cached) " >&6
5512
else
5669
else
5513
  ac_func_search_save_LIBS=$LIBS
5670
  ac_func_search_save_LIBS=$LIBS
5514
cat >conftest.$ac_ext <<_ACEOF
5671
cat >conftest.$ac_ext <<_ACEOF
Lines 5546-5571 Link Here
5546
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5547
  *) ac_try_echo=$ac_try;;
5704
  *) ac_try_echo=$ac_try;;
5548
esac
5705
esac
5549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5706
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5707
$as_echo "$ac_try_echo") >&5
5550
  (eval "$ac_link") 2>conftest.er1
5708
  (eval "$ac_link") 2>conftest.er1
5551
  ac_status=$?
5709
  ac_status=$?
5552
  grep -v '^ *+' conftest.er1 >conftest.err
5710
  grep -v '^ *+' conftest.er1 >conftest.err
5553
  rm -f conftest.er1
5711
  rm -f conftest.er1
5554
  cat conftest.err >&5
5712
  cat conftest.err >&5
5555
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556
  (exit $ac_status); } && {
5714
  (exit $ac_status); } && {
5557
	 test -z "$ac_c_werror_flag" ||
5715
	 test -z "$ac_c_werror_flag" ||
5558
	 test ! -s conftest.err
5716
	 test ! -s conftest.err
5559
       } && test -s conftest$ac_exeext &&
5717
       } && test -s conftest$ac_exeext && {
5560
       $as_test_x conftest$ac_exeext; then
5718
	 test "$cross_compiling" = yes ||
5719
	 $as_test_x conftest$ac_exeext
5720
       }; then
5561
  ac_cv_search_setsockopt=$ac_res
5721
  ac_cv_search_setsockopt=$ac_res
5562
else
5722
else
5563
  echo "$as_me: failed program was:" >&5
5723
  $as_echo "$as_me: failed program was:" >&5
5564
sed 's/^/| /' conftest.$ac_ext >&5
5724
sed 's/^/| /' conftest.$ac_ext >&5
5565
5725
5566
5726
5567
fi
5727
fi
5568
5728
5729
rm -rf conftest.dSYM
5569
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5730
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5570
      conftest$ac_exeext
5731
      conftest$ac_exeext
5571
  if test "${ac_cv_search_setsockopt+set}" = set; then
5732
  if test "${ac_cv_search_setsockopt+set}" = set; then
Lines 5580-5597 Link Here
5580
rm conftest.$ac_ext
5741
rm conftest.$ac_ext
5581
LIBS=$ac_func_search_save_LIBS
5742
LIBS=$ac_func_search_save_LIBS
5582
fi
5743
fi
5583
{ echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5
5744
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5
5584
echo "${ECHO_T}$ac_cv_search_setsockopt" >&6; }
5745
$as_echo "$ac_cv_search_setsockopt" >&6; }
5585
ac_res=$ac_cv_search_setsockopt
5746
ac_res=$ac_cv_search_setsockopt
5586
if test "$ac_res" != no; then
5747
if test "$ac_res" != no; then
5587
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5748
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5588
5749
5589
fi
5750
fi
5590
5751
5591
{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5752
{ $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5592
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
5753
$as_echo_n "checking for library containing gethostbyname... " >&6; }
5593
if test "${ac_cv_search_gethostbyname+set}" = set; then
5754
if test "${ac_cv_search_gethostbyname+set}" = set; then
5594
  echo $ECHO_N "(cached) $ECHO_C" >&6
5755
  $as_echo_n "(cached) " >&6
5595
else
5756
else
5596
  ac_func_search_save_LIBS=$LIBS
5757
  ac_func_search_save_LIBS=$LIBS
5597
cat >conftest.$ac_ext <<_ACEOF
5758
cat >conftest.$ac_ext <<_ACEOF
Lines 5629-5654 Link Here
5629
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5630
  *) ac_try_echo=$ac_try;;
5791
  *) ac_try_echo=$ac_try;;
5631
esac
5792
esac
5632
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5794
$as_echo "$ac_try_echo") >&5
5633
  (eval "$ac_link") 2>conftest.er1
5795
  (eval "$ac_link") 2>conftest.er1
5634
  ac_status=$?
5796
  ac_status=$?
5635
  grep -v '^ *+' conftest.er1 >conftest.err
5797
  grep -v '^ *+' conftest.er1 >conftest.err
5636
  rm -f conftest.er1
5798
  rm -f conftest.er1
5637
  cat conftest.err >&5
5799
  cat conftest.err >&5
5638
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639
  (exit $ac_status); } && {
5801
  (exit $ac_status); } && {
5640
	 test -z "$ac_c_werror_flag" ||
5802
	 test -z "$ac_c_werror_flag" ||
5641
	 test ! -s conftest.err
5803
	 test ! -s conftest.err
5642
       } && test -s conftest$ac_exeext &&
5804
       } && test -s conftest$ac_exeext && {
5643
       $as_test_x conftest$ac_exeext; then
5805
	 test "$cross_compiling" = yes ||
5806
	 $as_test_x conftest$ac_exeext
5807
       }; then
5644
  ac_cv_search_gethostbyname=$ac_res
5808
  ac_cv_search_gethostbyname=$ac_res
5645
else
5809
else
5646
  echo "$as_me: failed program was:" >&5
5810
  $as_echo "$as_me: failed program was:" >&5
5647
sed 's/^/| /' conftest.$ac_ext >&5
5811
sed 's/^/| /' conftest.$ac_ext >&5
5648
5812
5649
5813
5650
fi
5814
fi
5651
5815
5816
rm -rf conftest.dSYM
5652
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5817
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5653
      conftest$ac_exeext
5818
      conftest$ac_exeext
5654
  if test "${ac_cv_search_gethostbyname+set}" = set; then
5819
  if test "${ac_cv_search_gethostbyname+set}" = set; then
Lines 5663-5670 Link Here
5663
rm conftest.$ac_ext
5828
rm conftest.$ac_ext
5664
LIBS=$ac_func_search_save_LIBS
5829
LIBS=$ac_func_search_save_LIBS
5665
fi
5830
fi
5666
{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5831
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5667
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
5832
$as_echo "$ac_cv_search_gethostbyname" >&6; }
5668
ac_res=$ac_cv_search_gethostbyname
5833
ac_res=$ac_cv_search_gethostbyname
5669
if test "$ac_res" != no; then
5834
if test "$ac_res" != no; then
5670
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5835
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
Lines 5689-5696 Link Here
5689
5854
5690
        if test -n "$PYTHON"; then
5855
        if test -n "$PYTHON"; then
5691
      # If the user set $PYTHON, use it and don't search something else.
5856
      # If the user set $PYTHON, use it and don't search something else.
5692
      { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5
5857
      { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.4" >&5
5693
echo $ECHO_N "checking whether $PYTHON version >= 2.4... $ECHO_C" >&6; }
5858
$as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; }
5694
      prog="import sys, string
5859
      prog="import sys, string
5695
# split strings by '.' and convert to numeric.  Append some zeros
5860
# split strings by '.' and convert to numeric.  Append some zeros
5696
# because we need at least 4 digits for the hex conversion.
5861
# because we need at least 4 digits for the hex conversion.
Lines 5703-5713 Link Here
5703
   ac_status=$?
5868
   ac_status=$?
5704
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705
   (exit $ac_status); }; then
5870
   (exit $ac_status); }; then
5706
  { echo "$as_me:$LINENO: result: yes" >&5
5871
  { $as_echo "$as_me:$LINENO: result: yes" >&5
5707
echo "${ECHO_T}yes" >&6; }
5872
$as_echo "yes" >&6; }
5708
else
5873
else
5709
  { { echo "$as_me:$LINENO: error: too old" >&5
5874
  { { $as_echo "$as_me:$LINENO: error: too old" >&5
5710
echo "$as_me: error: too old" >&2;}
5875
$as_echo "$as_me: error: too old" >&2;}
5711
   { (exit 1); exit 1; }; }
5876
   { (exit 1); exit 1; }; }
5712
fi
5877
fi
5713
5878
Lines 5715-5724 Link Here
5715
    else
5880
    else
5716
      # Otherwise, try each interpreter until we find one that satisfies
5881
      # Otherwise, try each interpreter until we find one that satisfies
5717
      # VERSION.
5882
      # VERSION.
5718
      { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.4" >&5
5883
      { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.4" >&5
5719
echo $ECHO_N "checking for a Python interpreter with version >= 2.4... $ECHO_C" >&6; }
5884
$as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; }
5720
if test "${am_cv_pathless_PYTHON+set}" = set; then
5885
if test "${am_cv_pathless_PYTHON+set}" = set; then
5721
  echo $ECHO_N "(cached) $ECHO_C" >&6
5886
  $as_echo_n "(cached) " >&6
5722
else
5887
else
5723
5888
5724
	for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
5889
	for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
Lines 5740-5757 Link Here
5740
5905
5741
	done
5906
	done
5742
fi
5907
fi
5743
{ echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5908
{ $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5744
echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5909
$as_echo "$am_cv_pathless_PYTHON" >&6; }
5745
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5910
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5746
      if test "$am_cv_pathless_PYTHON" = none; then
5911
      if test "$am_cv_pathless_PYTHON" = none; then
5747
	PYTHON=:
5912
	PYTHON=:
5748
      else
5913
      else
5749
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5914
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5750
set dummy $am_cv_pathless_PYTHON; ac_word=$2
5915
set dummy $am_cv_pathless_PYTHON; ac_word=$2
5751
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5916
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5752
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5917
$as_echo_n "checking for $ac_word... " >&6; }
5753
if test "${ac_cv_path_PYTHON+set}" = set; then
5918
if test "${ac_cv_path_PYTHON+set}" = set; then
5754
  echo $ECHO_N "(cached) $ECHO_C" >&6
5919
  $as_echo_n "(cached) " >&6
5755
else
5920
else
5756
  case $PYTHON in
5921
  case $PYTHON in
5757
  [\\/]* | ?:[\\/]*)
5922
  [\\/]* | ?:[\\/]*)
Lines 5766-5772 Link Here
5766
  for ac_exec_ext in '' $ac_executable_extensions; do
5931
  for ac_exec_ext in '' $ac_executable_extensions; do
5767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
5933
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
5769
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5934
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5770
    break 2
5935
    break 2
5771
  fi
5936
  fi
5772
done
5937
done
Lines 5778-5788 Link Here
5778
fi
5943
fi
5779
PYTHON=$ac_cv_path_PYTHON
5944
PYTHON=$ac_cv_path_PYTHON
5780
if test -n "$PYTHON"; then
5945
if test -n "$PYTHON"; then
5781
  { echo "$as_me:$LINENO: result: $PYTHON" >&5
5946
  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
5782
echo "${ECHO_T}$PYTHON" >&6; }
5947
$as_echo "$PYTHON" >&6; }
5783
else
5948
else
5784
  { echo "$as_me:$LINENO: result: no" >&5
5949
  { $as_echo "$as_me:$LINENO: result: no" >&5
5785
echo "${ECHO_T}no" >&6; }
5950
$as_echo "no" >&6; }
5786
fi
5951
fi
5787
5952
5788
5953
Lines 5793-5804 Link Here
5793
5958
5794
  if test "$PYTHON" = :; then
5959
  if test "$PYTHON" = :; then
5795
      if test "$with_zenmap" = "check"; then
5960
      if test "$with_zenmap" = "check"; then
5796
     { echo "$as_me:$LINENO: WARNING: Not building Zenmap because Python 2.4 or later was not found" >&5
5961
     { $as_echo "$as_me:$LINENO: WARNING: Not building Zenmap because Python 2.4 or later was not found" >&5
5797
echo "$as_me: WARNING: Not building Zenmap because Python 2.4 or later was not found" >&2;}
5962
$as_echo "$as_me: WARNING: Not building Zenmap because Python 2.4 or later was not found" >&2;}
5798
   else
5963
   else
5799
     { { echo "$as_me:$LINENO: error: --with-zenmap requires Python 2.4 or later
5964
     { { $as_echo "$as_me:$LINENO: error: --with-zenmap requires Python 2.4 or later
5800
See \`config.log' for more details." >&5
5965
See \`config.log' for more details." >&5
5801
echo "$as_me: error: --with-zenmap requires Python 2.4 or later
5966
$as_echo "$as_me: error: --with-zenmap requires Python 2.4 or later
5802
See \`config.log' for more details." >&2;}
5967
See \`config.log' for more details." >&2;}
5803
   { (exit 1); exit 1; }; }
5968
   { (exit 1); exit 1; }; }
5804
   fi
5969
   fi
Lines 5806-5820 Link Here
5806
  else
5971
  else
5807
5972
5808
5973
5809
  { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5974
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5810
echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5975
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5811
if test "${am_cv_python_version+set}" = set; then
5976
if test "${am_cv_python_version+set}" = set; then
5812
  echo $ECHO_N "(cached) $ECHO_C" >&6
5977
  $as_echo_n "(cached) " >&6
5813
else
5978
else
5814
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
5979
  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
5815
fi
5980
fi
5816
{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5981
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5817
echo "${ECHO_T}$am_cv_python_version" >&6; }
5982
$as_echo "$am_cv_python_version" >&6; }
5818
  PYTHON_VERSION=$am_cv_python_version
5983
  PYTHON_VERSION=$am_cv_python_version
5819
5984
5820
5985
Lines 5825-5854 Link Here
5825
5990
5826
5991
5827
5992
5828
  { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5993
  { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5829
echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5994
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5830
if test "${am_cv_python_platform+set}" = set; then
5995
if test "${am_cv_python_platform+set}" = set; then
5831
  echo $ECHO_N "(cached) $ECHO_C" >&6
5996
  $as_echo_n "(cached) " >&6
5832
else
5997
else
5833
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
5998
  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
5834
fi
5999
fi
5835
{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
6000
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5836
echo "${ECHO_T}$am_cv_python_platform" >&6; }
6001
$as_echo "$am_cv_python_platform" >&6; }
5837
  PYTHON_PLATFORM=$am_cv_python_platform
6002
  PYTHON_PLATFORM=$am_cv_python_platform
5838
6003
5839
6004
5840
6005
5841
6006
5842
                { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
6007
                { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5843
echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
6008
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5844
if test "${am_cv_python_pythondir+set}" = set; then
6009
if test "${am_cv_python_pythondir+set}" = set; then
5845
  echo $ECHO_N "(cached) $ECHO_C" >&6
6010
  $as_echo_n "(cached) " >&6
5846
else
6011
else
5847
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
6012
  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5848
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
6013
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5849
fi
6014
fi
5850
{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
6015
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5851
echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
6016
$as_echo "$am_cv_python_pythondir" >&6; }
5852
  pythondir=$am_cv_python_pythondir
6017
  pythondir=$am_cv_python_pythondir
5853
6018
5854
6019
Lines 5856-5871 Link Here
5856
  pkgpythondir=\${pythondir}/$PACKAGE
6021
  pkgpythondir=\${pythondir}/$PACKAGE
5857
6022
5858
6023
5859
            { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
6024
            { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5860
echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
6025
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5861
if test "${am_cv_python_pyexecdir+set}" = set; then
6026
if test "${am_cv_python_pyexecdir+set}" = set; then
5862
  echo $ECHO_N "(cached) $ECHO_C" >&6
6027
  $as_echo_n "(cached) " >&6
5863
else
6028
else
5864
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
6029
  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5865
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
6030
     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5866
fi
6031
fi
5867
{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
6032
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5868
echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
6033
$as_echo "$am_cv_python_pyexecdir" >&6; }
5869
  pyexecdir=$am_cv_python_pyexecdir
6034
  pyexecdir=$am_cv_python_pyexecdir
5870
6035
5871
6036
Lines 5922-5938 Link Here
5922
# If they didn't specify it, we try to find it
6087
# If they didn't specify it, we try to find it
5923
if test "$use_openssl" = "yes" -a -z "$specialssldir"; then
6088
if test "$use_openssl" = "yes" -a -z "$specialssldir"; then
5924
  if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
6089
  if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
5925
  { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
6090
  { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
5926
echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
6091
$as_echo_n "checking for openssl/ssl.h... " >&6; }
5927
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
6092
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
5928
  echo $ECHO_N "(cached) $ECHO_C" >&6
6093
  $as_echo_n "(cached) " >&6
5929
fi
6094
fi
5930
{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
6095
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
5931
echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
6096
$as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
5932
else
6097
else
5933
  # Is the header compilable?
6098
  # Is the header compilable?
5934
{ echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
6099
{ $as_echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
5935
echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; }
6100
$as_echo_n "checking openssl/ssl.h usability... " >&6; }
5936
cat >conftest.$ac_ext <<_ACEOF
6101
cat >conftest.$ac_ext <<_ACEOF
5937
/* confdefs.h.  */
6102
/* confdefs.h.  */
5938
_ACEOF
6103
_ACEOF
Lines 5948-5979 Link Here
5948
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6113
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5949
  *) ac_try_echo=$ac_try;;
6114
  *) ac_try_echo=$ac_try;;
5950
esac
6115
esac
5951
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6117
$as_echo "$ac_try_echo") >&5
5952
  (eval "$ac_compile") 2>conftest.er1
6118
  (eval "$ac_compile") 2>conftest.er1
5953
  ac_status=$?
6119
  ac_status=$?
5954
  grep -v '^ *+' conftest.er1 >conftest.err
6120
  grep -v '^ *+' conftest.er1 >conftest.err
5955
  rm -f conftest.er1
6121
  rm -f conftest.er1
5956
  cat conftest.err >&5
6122
  cat conftest.err >&5
5957
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958
  (exit $ac_status); } && {
6124
  (exit $ac_status); } && {
5959
	 test -z "$ac_c_werror_flag" ||
6125
	 test -z "$ac_c_werror_flag" ||
5960
	 test ! -s conftest.err
6126
	 test ! -s conftest.err
5961
       } && test -s conftest.$ac_objext; then
6127
       } && test -s conftest.$ac_objext; then
5962
  ac_header_compiler=yes
6128
  ac_header_compiler=yes
5963
else
6129
else
5964
  echo "$as_me: failed program was:" >&5
6130
  $as_echo "$as_me: failed program was:" >&5
5965
sed 's/^/| /' conftest.$ac_ext >&5
6131
sed 's/^/| /' conftest.$ac_ext >&5
5966
6132
5967
	ac_header_compiler=no
6133
	ac_header_compiler=no
5968
fi
6134
fi
5969
6135
5970
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6136
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5971
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6137
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5972
echo "${ECHO_T}$ac_header_compiler" >&6; }
6138
$as_echo "$ac_header_compiler" >&6; }
5973
6139
5974
# Is the header present?
6140
# Is the header present?
5975
{ echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
6141
{ $as_echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
5976
echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; }
6142
$as_echo_n "checking openssl/ssl.h presence... " >&6; }
5977
cat >conftest.$ac_ext <<_ACEOF
6143
cat >conftest.$ac_ext <<_ACEOF
5978
/* confdefs.h.  */
6144
/* confdefs.h.  */
5979
_ACEOF
6145
_ACEOF
Lines 5987-6067 Link Here
5987
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5988
  *) ac_try_echo=$ac_try;;
6154
  *) ac_try_echo=$ac_try;;
5989
esac
6155
esac
5990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6156
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6157
$as_echo "$ac_try_echo") >&5
5991
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6158
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5992
  ac_status=$?
6159
  ac_status=$?
5993
  grep -v '^ *+' conftest.er1 >conftest.err
6160
  grep -v '^ *+' conftest.er1 >conftest.err
5994
  rm -f conftest.er1
6161
  rm -f conftest.er1
5995
  cat conftest.err >&5
6162
  cat conftest.err >&5
5996
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997
  (exit $ac_status); } >/dev/null && {
6164
  (exit $ac_status); } >/dev/null && {
5998
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6165
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5999
	 test ! -s conftest.err
6166
	 test ! -s conftest.err
6000
       }; then
6167
       }; then
6001
  ac_header_preproc=yes
6168
  ac_header_preproc=yes
6002
else
6169
else
6003
  echo "$as_me: failed program was:" >&5
6170
  $as_echo "$as_me: failed program was:" >&5
6004
sed 's/^/| /' conftest.$ac_ext >&5
6171
sed 's/^/| /' conftest.$ac_ext >&5
6005
6172
6006
  ac_header_preproc=no
6173
  ac_header_preproc=no
6007
fi
6174
fi
6008
6175
6009
rm -f conftest.err conftest.$ac_ext
6176
rm -f conftest.err conftest.$ac_ext
6010
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6177
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6011
echo "${ECHO_T}$ac_header_preproc" >&6; }
6178
$as_echo "$ac_header_preproc" >&6; }
6012
6179
6013
# So?  What about this header?
6180
# So?  What about this header?
6014
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6181
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6015
  yes:no: )
6182
  yes:no: )
6016
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6183
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6017
echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6184
$as_echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6018
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
6185
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
6019
echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
6186
$as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
6020
    ac_header_preproc=yes
6187
    ac_header_preproc=yes
6021
    ;;
6188
    ;;
6022
  no:yes:* )
6189
  no:yes:* )
6023
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
6190
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
6024
echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
6191
$as_echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
6025
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5
6192
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&5
6026
echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;}
6193
$as_echo "$as_me: WARNING: openssl/ssl.h:     check for missing prerequisite headers?" >&2;}
6027
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
6194
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
6028
echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
6195
$as_echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
6029
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5
6196
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&5
6030
echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6197
$as_echo "$as_me: WARNING: openssl/ssl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6031
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
6198
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
6032
echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
6199
$as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
6033
    { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
6200
    { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
6034
echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
6201
$as_echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
6035
6202
6036
    ;;
6203
    ;;
6037
esac
6204
esac
6038
{ echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
6205
{ $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
6039
echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
6206
$as_echo_n "checking for openssl/ssl.h... " >&6; }
6040
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
6207
if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
6041
  echo $ECHO_N "(cached) $ECHO_C" >&6
6208
  $as_echo_n "(cached) " >&6
6042
else
6209
else
6043
  ac_cv_header_openssl_ssl_h=$ac_header_preproc
6210
  ac_cv_header_openssl_ssl_h=$ac_header_preproc
6044
fi
6211
fi
6045
{ echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
6212
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
6046
echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
6213
$as_echo "$ac_cv_header_openssl_ssl_h" >&6; }
6047
6214
6048
fi
6215
fi
6049
if test $ac_cv_header_openssl_ssl_h = yes; then
6216
if test $ac_cv_header_openssl_ssl_h = yes; then
6050
  :
6217
  :
6051
else
6218
else
6052
   use_openssl="no"
6219
   use_openssl="no"
6053
    { echo "$as_me:$LINENO: WARNING: Failed to find openssl/ssl.h so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&5
6220
    { $as_echo "$as_me:$LINENO: WARNING: Failed to find openssl/ssl.h so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&5
6054
echo "$as_me: WARNING: Failed to find openssl/ssl.h so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&2;}
6221
$as_echo "$as_me: WARNING: Failed to find openssl/ssl.h so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&2;}
6055
fi
6222
fi
6056
6223
6057
6224
6058
6225
6059
# use_openssl="yes" given explicitly in next 2 rules to avoid adding lib to $LIBS
6226
# use_openssl="yes" given explicitly in next 2 rules to avoid adding lib to $LIBS
6060
 if test "$use_openssl" = "yes"; then
6227
 if test "$use_openssl" = "yes"; then
6061
   { echo "$as_me:$LINENO: checking for BIO_int_ctrl in -lcrypto" >&5
6228
   { $as_echo "$as_me:$LINENO: checking for BIO_int_ctrl in -lcrypto" >&5
6062
echo $ECHO_N "checking for BIO_int_ctrl in -lcrypto... $ECHO_C" >&6; }
6229
$as_echo_n "checking for BIO_int_ctrl in -lcrypto... " >&6; }
6063
if test "${ac_cv_lib_crypto_BIO_int_ctrl+set}" = set; then
6230
if test "${ac_cv_lib_crypto_BIO_int_ctrl+set}" = set; then
6064
  echo $ECHO_N "(cached) $ECHO_C" >&6
6231
  $as_echo_n "(cached) " >&6
6065
else
6232
else
6066
  ac_check_lib_save_LIBS=$LIBS
6233
  ac_check_lib_save_LIBS=$LIBS
6067
LIBS="-lcrypto  $LIBS"
6234
LIBS="-lcrypto  $LIBS"
Lines 6093-6139 Link Here
6093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6094
  *) ac_try_echo=$ac_try;;
6261
  *) ac_try_echo=$ac_try;;
6095
esac
6262
esac
6096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6263
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6264
$as_echo "$ac_try_echo") >&5
6097
  (eval "$ac_link") 2>conftest.er1
6265
  (eval "$ac_link") 2>conftest.er1
6098
  ac_status=$?
6266
  ac_status=$?
6099
  grep -v '^ *+' conftest.er1 >conftest.err
6267
  grep -v '^ *+' conftest.er1 >conftest.err
6100
  rm -f conftest.er1
6268
  rm -f conftest.er1
6101
  cat conftest.err >&5
6269
  cat conftest.err >&5
6102
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103
  (exit $ac_status); } && {
6271
  (exit $ac_status); } && {
6104
	 test -z "$ac_c_werror_flag" ||
6272
	 test -z "$ac_c_werror_flag" ||
6105
	 test ! -s conftest.err
6273
	 test ! -s conftest.err
6106
       } && test -s conftest$ac_exeext &&
6274
       } && test -s conftest$ac_exeext && {
6107
       $as_test_x conftest$ac_exeext; then
6275
	 test "$cross_compiling" = yes ||
6276
	 $as_test_x conftest$ac_exeext
6277
       }; then
6108
  ac_cv_lib_crypto_BIO_int_ctrl=yes
6278
  ac_cv_lib_crypto_BIO_int_ctrl=yes
6109
else
6279
else
6110
  echo "$as_me: failed program was:" >&5
6280
  $as_echo "$as_me: failed program was:" >&5
6111
sed 's/^/| /' conftest.$ac_ext >&5
6281
sed 's/^/| /' conftest.$ac_ext >&5
6112
6282
6113
	ac_cv_lib_crypto_BIO_int_ctrl=no
6283
	ac_cv_lib_crypto_BIO_int_ctrl=no
6114
fi
6284
fi
6115
6285
6286
rm -rf conftest.dSYM
6116
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6287
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6117
      conftest$ac_exeext conftest.$ac_ext
6288
      conftest$ac_exeext conftest.$ac_ext
6118
LIBS=$ac_check_lib_save_LIBS
6289
LIBS=$ac_check_lib_save_LIBS
6119
fi
6290
fi
6120
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_BIO_int_ctrl" >&5
6291
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_BIO_int_ctrl" >&5
6121
echo "${ECHO_T}$ac_cv_lib_crypto_BIO_int_ctrl" >&6; }
6292
$as_echo "$ac_cv_lib_crypto_BIO_int_ctrl" >&6; }
6122
if test $ac_cv_lib_crypto_BIO_int_ctrl = yes; then
6293
if test $ac_cv_lib_crypto_BIO_int_ctrl = yes; then
6123
   use_openssl="yes"
6294
   use_openssl="yes"
6124
else
6295
else
6125
   use_openssl="no"
6296
   use_openssl="no"
6126
    { echo "$as_me:$LINENO: WARNING: Failed to find libcrypto so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&5
6297
    { $as_echo "$as_me:$LINENO: WARNING: Failed to find libcrypto so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&5
6127
echo "$as_me: WARNING: Failed to find libcrypto so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&2;}
6298
$as_echo "$as_me: WARNING: Failed to find libcrypto so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&2;}
6128
fi
6299
fi
6129
6300
6130
 fi
6301
 fi
6131
6302
6132
 if test "$use_openssl" = "yes"; then
6303
 if test "$use_openssl" = "yes"; then
6133
   { echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
6304
   { $as_echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
6134
echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6; }
6305
$as_echo_n "checking for SSL_new in -lssl... " >&6; }
6135
if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
6306
if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
6136
  echo $ECHO_N "(cached) $ECHO_C" >&6
6307
  $as_echo_n "(cached) " >&6
6137
else
6308
else
6138
  ac_check_lib_save_LIBS=$LIBS
6309
  ac_check_lib_save_LIBS=$LIBS
6139
LIBS="-lssl  -lcrypto  $LIBS"
6310
LIBS="-lssl  -lcrypto  $LIBS"
Lines 6165-6202 Link Here
6165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6166
  *) ac_try_echo=$ac_try;;
6337
  *) ac_try_echo=$ac_try;;
6167
esac
6338
esac
6168
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6339
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6340
$as_echo "$ac_try_echo") >&5
6169
  (eval "$ac_link") 2>conftest.er1
6341
  (eval "$ac_link") 2>conftest.er1
6170
  ac_status=$?
6342
  ac_status=$?
6171
  grep -v '^ *+' conftest.er1 >conftest.err
6343
  grep -v '^ *+' conftest.er1 >conftest.err
6172
  rm -f conftest.er1
6344
  rm -f conftest.er1
6173
  cat conftest.err >&5
6345
  cat conftest.err >&5
6174
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175
  (exit $ac_status); } && {
6347
  (exit $ac_status); } && {
6176
	 test -z "$ac_c_werror_flag" ||
6348
	 test -z "$ac_c_werror_flag" ||
6177
	 test ! -s conftest.err
6349
	 test ! -s conftest.err
6178
       } && test -s conftest$ac_exeext &&
6350
       } && test -s conftest$ac_exeext && {
6179
       $as_test_x conftest$ac_exeext; then
6351
	 test "$cross_compiling" = yes ||
6352
	 $as_test_x conftest$ac_exeext
6353
       }; then
6180
  ac_cv_lib_ssl_SSL_new=yes
6354
  ac_cv_lib_ssl_SSL_new=yes
6181
else
6355
else
6182
  echo "$as_me: failed program was:" >&5
6356
  $as_echo "$as_me: failed program was:" >&5
6183
sed 's/^/| /' conftest.$ac_ext >&5
6357
sed 's/^/| /' conftest.$ac_ext >&5
6184
6358
6185
	ac_cv_lib_ssl_SSL_new=no
6359
	ac_cv_lib_ssl_SSL_new=no
6186
fi
6360
fi
6187
6361
6362
rm -rf conftest.dSYM
6188
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6363
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6189
      conftest$ac_exeext conftest.$ac_ext
6364
      conftest$ac_exeext conftest.$ac_ext
6190
LIBS=$ac_check_lib_save_LIBS
6365
LIBS=$ac_check_lib_save_LIBS
6191
fi
6366
fi
6192
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
6367
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
6193
echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6; }
6368
$as_echo "$ac_cv_lib_ssl_SSL_new" >&6; }
6194
if test $ac_cv_lib_ssl_SSL_new = yes; then
6369
if test $ac_cv_lib_ssl_SSL_new = yes; then
6195
   use_openssl="yes"
6370
   use_openssl="yes"
6196
else
6371
else
6197
   use_openssl="no"
6372
   use_openssl="no"
6198
    { echo "$as_me:$LINENO: WARNING: Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&5
6373
    { $as_echo "$as_me:$LINENO: WARNING: Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&5
6199
echo "$as_me: WARNING: Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&2;}
6374
$as_echo "$as_me: WARNING: Failed to find libssl so OpenSSL will not be used. If it is installed you can try the --with-openssl=DIR argument" >&2;}
6200
fi
6375
fi
6201
6376
6202
 fi
6377
 fi
Lines 6224-6240 Link Here
6224
  withval=$with_libpcap;   case "$with_libpcap" in
6399
  withval=$with_libpcap;   case "$with_libpcap" in
6225
  yes)
6400
  yes)
6226
    if test "${ac_cv_header_pcap_h+set}" = set; then
6401
    if test "${ac_cv_header_pcap_h+set}" = set; then
6227
  { echo "$as_me:$LINENO: checking for pcap.h" >&5
6402
  { $as_echo "$as_me:$LINENO: checking for pcap.h" >&5
6228
echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
6403
$as_echo_n "checking for pcap.h... " >&6; }
6229
if test "${ac_cv_header_pcap_h+set}" = set; then
6404
if test "${ac_cv_header_pcap_h+set}" = set; then
6230
  echo $ECHO_N "(cached) $ECHO_C" >&6
6405
  $as_echo_n "(cached) " >&6
6231
fi
6406
fi
6232
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6407
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6233
echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
6408
$as_echo "$ac_cv_header_pcap_h" >&6; }
6234
else
6409
else
6235
  # Is the header compilable?
6410
  # Is the header compilable?
6236
{ echo "$as_me:$LINENO: checking pcap.h usability" >&5
6411
{ $as_echo "$as_me:$LINENO: checking pcap.h usability" >&5
6237
echo $ECHO_N "checking pcap.h usability... $ECHO_C" >&6; }
6412
$as_echo_n "checking pcap.h usability... " >&6; }
6238
cat >conftest.$ac_ext <<_ACEOF
6413
cat >conftest.$ac_ext <<_ACEOF
6239
/* confdefs.h.  */
6414
/* confdefs.h.  */
6240
_ACEOF
6415
_ACEOF
Lines 6250-6281 Link Here
6250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6251
  *) ac_try_echo=$ac_try;;
6426
  *) ac_try_echo=$ac_try;;
6252
esac
6427
esac
6253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6429
$as_echo "$ac_try_echo") >&5
6254
  (eval "$ac_compile") 2>conftest.er1
6430
  (eval "$ac_compile") 2>conftest.er1
6255
  ac_status=$?
6431
  ac_status=$?
6256
  grep -v '^ *+' conftest.er1 >conftest.err
6432
  grep -v '^ *+' conftest.er1 >conftest.err
6257
  rm -f conftest.er1
6433
  rm -f conftest.er1
6258
  cat conftest.err >&5
6434
  cat conftest.err >&5
6259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260
  (exit $ac_status); } && {
6436
  (exit $ac_status); } && {
6261
	 test -z "$ac_c_werror_flag" ||
6437
	 test -z "$ac_c_werror_flag" ||
6262
	 test ! -s conftest.err
6438
	 test ! -s conftest.err
6263
       } && test -s conftest.$ac_objext; then
6439
       } && test -s conftest.$ac_objext; then
6264
  ac_header_compiler=yes
6440
  ac_header_compiler=yes
6265
else
6441
else
6266
  echo "$as_me: failed program was:" >&5
6442
  $as_echo "$as_me: failed program was:" >&5
6267
sed 's/^/| /' conftest.$ac_ext >&5
6443
sed 's/^/| /' conftest.$ac_ext >&5
6268
6444
6269
	ac_header_compiler=no
6445
	ac_header_compiler=no
6270
fi
6446
fi
6271
6447
6272
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6448
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6273
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6449
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6274
echo "${ECHO_T}$ac_header_compiler" >&6; }
6450
$as_echo "$ac_header_compiler" >&6; }
6275
6451
6276
# Is the header present?
6452
# Is the header present?
6277
{ echo "$as_me:$LINENO: checking pcap.h presence" >&5
6453
{ $as_echo "$as_me:$LINENO: checking pcap.h presence" >&5
6278
echo $ECHO_N "checking pcap.h presence... $ECHO_C" >&6; }
6454
$as_echo_n "checking pcap.h presence... " >&6; }
6279
cat >conftest.$ac_ext <<_ACEOF
6455
cat >conftest.$ac_ext <<_ACEOF
6280
/* confdefs.h.  */
6456
/* confdefs.h.  */
6281
_ACEOF
6457
_ACEOF
Lines 6289-6359 Link Here
6289
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6290
  *) ac_try_echo=$ac_try;;
6466
  *) ac_try_echo=$ac_try;;
6291
esac
6467
esac
6292
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6468
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6469
$as_echo "$ac_try_echo") >&5
6293
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6470
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6294
  ac_status=$?
6471
  ac_status=$?
6295
  grep -v '^ *+' conftest.er1 >conftest.err
6472
  grep -v '^ *+' conftest.er1 >conftest.err
6296
  rm -f conftest.er1
6473
  rm -f conftest.er1
6297
  cat conftest.err >&5
6474
  cat conftest.err >&5
6298
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299
  (exit $ac_status); } >/dev/null && {
6476
  (exit $ac_status); } >/dev/null && {
6300
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6477
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6301
	 test ! -s conftest.err
6478
	 test ! -s conftest.err
6302
       }; then
6479
       }; then
6303
  ac_header_preproc=yes
6480
  ac_header_preproc=yes
6304
else
6481
else
6305
  echo "$as_me: failed program was:" >&5
6482
  $as_echo "$as_me: failed program was:" >&5
6306
sed 's/^/| /' conftest.$ac_ext >&5
6483
sed 's/^/| /' conftest.$ac_ext >&5
6307
6484
6308
  ac_header_preproc=no
6485
  ac_header_preproc=no
6309
fi
6486
fi
6310
6487
6311
rm -f conftest.err conftest.$ac_ext
6488
rm -f conftest.err conftest.$ac_ext
6312
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6489
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6313
echo "${ECHO_T}$ac_header_preproc" >&6; }
6490
$as_echo "$ac_header_preproc" >&6; }
6314
6491
6315
# So?  What about this header?
6492
# So?  What about this header?
6316
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6493
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6317
  yes:no: )
6494
  yes:no: )
6318
    { echo "$as_me:$LINENO: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6495
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6319
echo "$as_me: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6496
$as_echo "$as_me: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6320
    { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the compiler's result" >&5
6497
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the compiler's result" >&5
6321
echo "$as_me: WARNING: pcap.h: proceeding with the compiler's result" >&2;}
6498
$as_echo "$as_me: WARNING: pcap.h: proceeding with the compiler's result" >&2;}
6322
    ac_header_preproc=yes
6499
    ac_header_preproc=yes
6323
    ;;
6500
    ;;
6324
  no:yes:* )
6501
  no:yes:* )
6325
    { echo "$as_me:$LINENO: WARNING: pcap.h: present but cannot be compiled" >&5
6502
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: present but cannot be compiled" >&5
6326
echo "$as_me: WARNING: pcap.h: present but cannot be compiled" >&2;}
6503
$as_echo "$as_me: WARNING: pcap.h: present but cannot be compiled" >&2;}
6327
    { echo "$as_me:$LINENO: WARNING: pcap.h:     check for missing prerequisite headers?" >&5
6504
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h:     check for missing prerequisite headers?" >&5
6328
echo "$as_me: WARNING: pcap.h:     check for missing prerequisite headers?" >&2;}
6505
$as_echo "$as_me: WARNING: pcap.h:     check for missing prerequisite headers?" >&2;}
6329
    { echo "$as_me:$LINENO: WARNING: pcap.h: see the Autoconf documentation" >&5
6506
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: see the Autoconf documentation" >&5
6330
echo "$as_me: WARNING: pcap.h: see the Autoconf documentation" >&2;}
6507
$as_echo "$as_me: WARNING: pcap.h: see the Autoconf documentation" >&2;}
6331
    { echo "$as_me:$LINENO: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&5
6508
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&5
6332
echo "$as_me: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6509
$as_echo "$as_me: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6333
    { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the preprocessor's result" >&5
6510
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the preprocessor's result" >&5
6334
echo "$as_me: WARNING: pcap.h: proceeding with the preprocessor's result" >&2;}
6511
$as_echo "$as_me: WARNING: pcap.h: proceeding with the preprocessor's result" >&2;}
6335
    { echo "$as_me:$LINENO: WARNING: pcap.h: in the future, the compiler will take precedence" >&5
6512
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: in the future, the compiler will take precedence" >&5
6336
echo "$as_me: WARNING: pcap.h: in the future, the compiler will take precedence" >&2;}
6513
$as_echo "$as_me: WARNING: pcap.h: in the future, the compiler will take precedence" >&2;}
6337
6514
6338
    ;;
6515
    ;;
6339
esac
6516
esac
6340
{ echo "$as_me:$LINENO: checking for pcap.h" >&5
6517
{ $as_echo "$as_me:$LINENO: checking for pcap.h" >&5
6341
echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
6518
$as_echo_n "checking for pcap.h... " >&6; }
6342
if test "${ac_cv_header_pcap_h+set}" = set; then
6519
if test "${ac_cv_header_pcap_h+set}" = set; then
6343
  echo $ECHO_N "(cached) $ECHO_C" >&6
6520
  $as_echo_n "(cached) " >&6
6344
else
6521
else
6345
  ac_cv_header_pcap_h=$ac_header_preproc
6522
  ac_cv_header_pcap_h=$ac_header_preproc
6346
fi
6523
fi
6347
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6524
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6348
echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
6525
$as_echo "$ac_cv_header_pcap_h" >&6; }
6349
6526
6350
fi
6527
fi
6351
if test $ac_cv_header_pcap_h = yes; then
6528
if test $ac_cv_header_pcap_h = yes; then
6352
6529
6353
      { echo "$as_me:$LINENO: checking for pcap_datalink in -lpcap" >&5
6530
      { $as_echo "$as_me:$LINENO: checking for pcap_datalink in -lpcap" >&5
6354
echo $ECHO_N "checking for pcap_datalink in -lpcap... $ECHO_C" >&6; }
6531
$as_echo_n "checking for pcap_datalink in -lpcap... " >&6; }
6355
if test "${ac_cv_lib_pcap_pcap_datalink+set}" = set; then
6532
if test "${ac_cv_lib_pcap_pcap_datalink+set}" = set; then
6356
  echo $ECHO_N "(cached) $ECHO_C" >&6
6533
  $as_echo_n "(cached) " >&6
6357
else
6534
else
6358
  ac_check_lib_save_LIBS=$LIBS
6535
  ac_check_lib_save_LIBS=$LIBS
6359
LIBS="-lpcap  $LIBS"
6536
LIBS="-lpcap  $LIBS"
Lines 6385-6416 Link Here
6385
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6386
  *) ac_try_echo=$ac_try;;
6563
  *) ac_try_echo=$ac_try;;
6387
esac
6564
esac
6388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6566
$as_echo "$ac_try_echo") >&5
6389
  (eval "$ac_link") 2>conftest.er1
6567
  (eval "$ac_link") 2>conftest.er1
6390
  ac_status=$?
6568
  ac_status=$?
6391
  grep -v '^ *+' conftest.er1 >conftest.err
6569
  grep -v '^ *+' conftest.er1 >conftest.err
6392
  rm -f conftest.er1
6570
  rm -f conftest.er1
6393
  cat conftest.err >&5
6571
  cat conftest.err >&5
6394
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395
  (exit $ac_status); } && {
6573
  (exit $ac_status); } && {
6396
	 test -z "$ac_c_werror_flag" ||
6574
	 test -z "$ac_c_werror_flag" ||
6397
	 test ! -s conftest.err
6575
	 test ! -s conftest.err
6398
       } && test -s conftest$ac_exeext &&
6576
       } && test -s conftest$ac_exeext && {
6399
       $as_test_x conftest$ac_exeext; then
6577
	 test "$cross_compiling" = yes ||
6578
	 $as_test_x conftest$ac_exeext
6579
       }; then
6400
  ac_cv_lib_pcap_pcap_datalink=yes
6580
  ac_cv_lib_pcap_pcap_datalink=yes
6401
else
6581
else
6402
  echo "$as_me: failed program was:" >&5
6582
  $as_echo "$as_me: failed program was:" >&5
6403
sed 's/^/| /' conftest.$ac_ext >&5
6583
sed 's/^/| /' conftest.$ac_ext >&5
6404
6584
6405
	ac_cv_lib_pcap_pcap_datalink=no
6585
	ac_cv_lib_pcap_pcap_datalink=no
6406
fi
6586
fi
6407
6587
6588
rm -rf conftest.dSYM
6408
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6589
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6409
      conftest$ac_exeext conftest.$ac_ext
6590
      conftest$ac_exeext conftest.$ac_ext
6410
LIBS=$ac_check_lib_save_LIBS
6591
LIBS=$ac_check_lib_save_LIBS
6411
fi
6592
fi
6412
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_datalink" >&5
6593
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_datalink" >&5
6413
echo "${ECHO_T}$ac_cv_lib_pcap_pcap_datalink" >&6; }
6594
$as_echo "$ac_cv_lib_pcap_pcap_datalink" >&6; }
6414
if test $ac_cv_lib_pcap_pcap_datalink = yes; then
6595
if test $ac_cv_lib_pcap_pcap_datalink = yes; then
6415
  have_libpcap=yes
6596
  have_libpcap=yes
6416
fi
6597
fi
Lines 6430-6446 Link Here
6430
    LDFLAGS="-L$with_libpcap/lib $LDFLAGS"
6611
    LDFLAGS="-L$with_libpcap/lib $LDFLAGS"
6431
6612
6432
    if test "${ac_cv_header_pcap_h+set}" = set; then
6613
    if test "${ac_cv_header_pcap_h+set}" = set; then
6433
  { echo "$as_me:$LINENO: checking for pcap.h" >&5
6614
  { $as_echo "$as_me:$LINENO: checking for pcap.h" >&5
6434
echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
6615
$as_echo_n "checking for pcap.h... " >&6; }
6435
if test "${ac_cv_header_pcap_h+set}" = set; then
6616
if test "${ac_cv_header_pcap_h+set}" = set; then
6436
  echo $ECHO_N "(cached) $ECHO_C" >&6
6617
  $as_echo_n "(cached) " >&6
6437
fi
6618
fi
6438
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6619
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6439
echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
6620
$as_echo "$ac_cv_header_pcap_h" >&6; }
6440
else
6621
else
6441
  # Is the header compilable?
6622
  # Is the header compilable?
6442
{ echo "$as_me:$LINENO: checking pcap.h usability" >&5
6623
{ $as_echo "$as_me:$LINENO: checking pcap.h usability" >&5
6443
echo $ECHO_N "checking pcap.h usability... $ECHO_C" >&6; }
6624
$as_echo_n "checking pcap.h usability... " >&6; }
6444
cat >conftest.$ac_ext <<_ACEOF
6625
cat >conftest.$ac_ext <<_ACEOF
6445
/* confdefs.h.  */
6626
/* confdefs.h.  */
6446
_ACEOF
6627
_ACEOF
Lines 6456-6487 Link Here
6456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6457
  *) ac_try_echo=$ac_try;;
6638
  *) ac_try_echo=$ac_try;;
6458
esac
6639
esac
6459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6641
$as_echo "$ac_try_echo") >&5
6460
  (eval "$ac_compile") 2>conftest.er1
6642
  (eval "$ac_compile") 2>conftest.er1
6461
  ac_status=$?
6643
  ac_status=$?
6462
  grep -v '^ *+' conftest.er1 >conftest.err
6644
  grep -v '^ *+' conftest.er1 >conftest.err
6463
  rm -f conftest.er1
6645
  rm -f conftest.er1
6464
  cat conftest.err >&5
6646
  cat conftest.err >&5
6465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466
  (exit $ac_status); } && {
6648
  (exit $ac_status); } && {
6467
	 test -z "$ac_c_werror_flag" ||
6649
	 test -z "$ac_c_werror_flag" ||
6468
	 test ! -s conftest.err
6650
	 test ! -s conftest.err
6469
       } && test -s conftest.$ac_objext; then
6651
       } && test -s conftest.$ac_objext; then
6470
  ac_header_compiler=yes
6652
  ac_header_compiler=yes
6471
else
6653
else
6472
  echo "$as_me: failed program was:" >&5
6654
  $as_echo "$as_me: failed program was:" >&5
6473
sed 's/^/| /' conftest.$ac_ext >&5
6655
sed 's/^/| /' conftest.$ac_ext >&5
6474
6656
6475
	ac_header_compiler=no
6657
	ac_header_compiler=no
6476
fi
6658
fi
6477
6659
6478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6479
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6661
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6480
echo "${ECHO_T}$ac_header_compiler" >&6; }
6662
$as_echo "$ac_header_compiler" >&6; }
6481
6663
6482
# Is the header present?
6664
# Is the header present?
6483
{ echo "$as_me:$LINENO: checking pcap.h presence" >&5
6665
{ $as_echo "$as_me:$LINENO: checking pcap.h presence" >&5
6484
echo $ECHO_N "checking pcap.h presence... $ECHO_C" >&6; }
6666
$as_echo_n "checking pcap.h presence... " >&6; }
6485
cat >conftest.$ac_ext <<_ACEOF
6667
cat >conftest.$ac_ext <<_ACEOF
6486
/* confdefs.h.  */
6668
/* confdefs.h.  */
6487
_ACEOF
6669
_ACEOF
Lines 6495-6565 Link Here
6495
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6496
  *) ac_try_echo=$ac_try;;
6678
  *) ac_try_echo=$ac_try;;
6497
esac
6679
esac
6498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6681
$as_echo "$ac_try_echo") >&5
6499
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6682
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6500
  ac_status=$?
6683
  ac_status=$?
6501
  grep -v '^ *+' conftest.er1 >conftest.err
6684
  grep -v '^ *+' conftest.er1 >conftest.err
6502
  rm -f conftest.er1
6685
  rm -f conftest.er1
6503
  cat conftest.err >&5
6686
  cat conftest.err >&5
6504
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505
  (exit $ac_status); } >/dev/null && {
6688
  (exit $ac_status); } >/dev/null && {
6506
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6689
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6507
	 test ! -s conftest.err
6690
	 test ! -s conftest.err
6508
       }; then
6691
       }; then
6509
  ac_header_preproc=yes
6692
  ac_header_preproc=yes
6510
else
6693
else
6511
  echo "$as_me: failed program was:" >&5
6694
  $as_echo "$as_me: failed program was:" >&5
6512
sed 's/^/| /' conftest.$ac_ext >&5
6695
sed 's/^/| /' conftest.$ac_ext >&5
6513
6696
6514
  ac_header_preproc=no
6697
  ac_header_preproc=no
6515
fi
6698
fi
6516
6699
6517
rm -f conftest.err conftest.$ac_ext
6700
rm -f conftest.err conftest.$ac_ext
6518
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6701
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6519
echo "${ECHO_T}$ac_header_preproc" >&6; }
6702
$as_echo "$ac_header_preproc" >&6; }
6520
6703
6521
# So?  What about this header?
6704
# So?  What about this header?
6522
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6705
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6523
  yes:no: )
6706
  yes:no: )
6524
    { echo "$as_me:$LINENO: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6707
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
6525
echo "$as_me: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6708
$as_echo "$as_me: WARNING: pcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6526
    { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the compiler's result" >&5
6709
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the compiler's result" >&5
6527
echo "$as_me: WARNING: pcap.h: proceeding with the compiler's result" >&2;}
6710
$as_echo "$as_me: WARNING: pcap.h: proceeding with the compiler's result" >&2;}
6528
    ac_header_preproc=yes
6711
    ac_header_preproc=yes
6529
    ;;
6712
    ;;
6530
  no:yes:* )
6713
  no:yes:* )
6531
    { echo "$as_me:$LINENO: WARNING: pcap.h: present but cannot be compiled" >&5
6714
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: present but cannot be compiled" >&5
6532
echo "$as_me: WARNING: pcap.h: present but cannot be compiled" >&2;}
6715
$as_echo "$as_me: WARNING: pcap.h: present but cannot be compiled" >&2;}
6533
    { echo "$as_me:$LINENO: WARNING: pcap.h:     check for missing prerequisite headers?" >&5
6716
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h:     check for missing prerequisite headers?" >&5
6534
echo "$as_me: WARNING: pcap.h:     check for missing prerequisite headers?" >&2;}
6717
$as_echo "$as_me: WARNING: pcap.h:     check for missing prerequisite headers?" >&2;}
6535
    { echo "$as_me:$LINENO: WARNING: pcap.h: see the Autoconf documentation" >&5
6718
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: see the Autoconf documentation" >&5
6536
echo "$as_me: WARNING: pcap.h: see the Autoconf documentation" >&2;}
6719
$as_echo "$as_me: WARNING: pcap.h: see the Autoconf documentation" >&2;}
6537
    { echo "$as_me:$LINENO: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&5
6720
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&5
6538
echo "$as_me: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6721
$as_echo "$as_me: WARNING: pcap.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6539
    { echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the preprocessor's result" >&5
6722
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: proceeding with the preprocessor's result" >&5
6540
echo "$as_me: WARNING: pcap.h: proceeding with the preprocessor's result" >&2;}
6723
$as_echo "$as_me: WARNING: pcap.h: proceeding with the preprocessor's result" >&2;}
6541
    { echo "$as_me:$LINENO: WARNING: pcap.h: in the future, the compiler will take precedence" >&5
6724
    { $as_echo "$as_me:$LINENO: WARNING: pcap.h: in the future, the compiler will take precedence" >&5
6542
echo "$as_me: WARNING: pcap.h: in the future, the compiler will take precedence" >&2;}
6725
$as_echo "$as_me: WARNING: pcap.h: in the future, the compiler will take precedence" >&2;}
6543
6726
6544
    ;;
6727
    ;;
6545
esac
6728
esac
6546
{ echo "$as_me:$LINENO: checking for pcap.h" >&5
6729
{ $as_echo "$as_me:$LINENO: checking for pcap.h" >&5
6547
echo $ECHO_N "checking for pcap.h... $ECHO_C" >&6; }
6730
$as_echo_n "checking for pcap.h... " >&6; }
6548
if test "${ac_cv_header_pcap_h+set}" = set; then
6731
if test "${ac_cv_header_pcap_h+set}" = set; then
6549
  echo $ECHO_N "(cached) $ECHO_C" >&6
6732
  $as_echo_n "(cached) " >&6
6550
else
6733
else
6551
  ac_cv_header_pcap_h=$ac_header_preproc
6734
  ac_cv_header_pcap_h=$ac_header_preproc
6552
fi
6735
fi
6553
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6736
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcap_h" >&5
6554
echo "${ECHO_T}$ac_cv_header_pcap_h" >&6; }
6737
$as_echo "$ac_cv_header_pcap_h" >&6; }
6555
6738
6556
fi
6739
fi
6557
if test $ac_cv_header_pcap_h = yes; then
6740
if test $ac_cv_header_pcap_h = yes; then
6558
6741
6559
      { echo "$as_me:$LINENO: checking for pcap_datalink in -lpcap" >&5
6742
      { $as_echo "$as_me:$LINENO: checking for pcap_datalink in -lpcap" >&5
6560
echo $ECHO_N "checking for pcap_datalink in -lpcap... $ECHO_C" >&6; }
6743
$as_echo_n "checking for pcap_datalink in -lpcap... " >&6; }
6561
if test "${ac_cv_lib_pcap_pcap_datalink+set}" = set; then
6744
if test "${ac_cv_lib_pcap_pcap_datalink+set}" = set; then
6562
  echo $ECHO_N "(cached) $ECHO_C" >&6
6745
  $as_echo_n "(cached) " >&6
6563
else
6746
else
6564
  ac_check_lib_save_LIBS=$LIBS
6747
  ac_check_lib_save_LIBS=$LIBS
6565
LIBS="-lpcap  $LIBS"
6748
LIBS="-lpcap  $LIBS"
Lines 6591-6622 Link Here
6591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6774
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6592
  *) ac_try_echo=$ac_try;;
6775
  *) ac_try_echo=$ac_try;;
6593
esac
6776
esac
6594
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6777
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6778
$as_echo "$ac_try_echo") >&5
6595
  (eval "$ac_link") 2>conftest.er1
6779
  (eval "$ac_link") 2>conftest.er1
6596
  ac_status=$?
6780
  ac_status=$?
6597
  grep -v '^ *+' conftest.er1 >conftest.err
6781
  grep -v '^ *+' conftest.er1 >conftest.err
6598
  rm -f conftest.er1
6782
  rm -f conftest.er1
6599
  cat conftest.err >&5
6783
  cat conftest.err >&5
6600
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601
  (exit $ac_status); } && {
6785
  (exit $ac_status); } && {
6602
	 test -z "$ac_c_werror_flag" ||
6786
	 test -z "$ac_c_werror_flag" ||
6603
	 test ! -s conftest.err
6787
	 test ! -s conftest.err
6604
       } && test -s conftest$ac_exeext &&
6788
       } && test -s conftest$ac_exeext && {
6605
       $as_test_x conftest$ac_exeext; then
6789
	 test "$cross_compiling" = yes ||
6790
	 $as_test_x conftest$ac_exeext
6791
       }; then
6606
  ac_cv_lib_pcap_pcap_datalink=yes
6792
  ac_cv_lib_pcap_pcap_datalink=yes
6607
else
6793
else
6608
  echo "$as_me: failed program was:" >&5
6794
  $as_echo "$as_me: failed program was:" >&5
6609
sed 's/^/| /' conftest.$ac_ext >&5
6795
sed 's/^/| /' conftest.$ac_ext >&5
6610
6796
6611
	ac_cv_lib_pcap_pcap_datalink=no
6797
	ac_cv_lib_pcap_pcap_datalink=no
6612
fi
6798
fi
6613
6799
6800
rm -rf conftest.dSYM
6614
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6801
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6615
      conftest$ac_exeext conftest.$ac_ext
6802
      conftest$ac_exeext conftest.$ac_ext
6616
LIBS=$ac_check_lib_save_LIBS
6803
LIBS=$ac_check_lib_save_LIBS
6617
fi
6804
fi
6618
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_datalink" >&5
6805
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_datalink" >&5
6619
echo "${ECHO_T}$ac_cv_lib_pcap_pcap_datalink" >&6; }
6806
$as_echo "$ac_cv_lib_pcap_pcap_datalink" >&6; }
6620
if test $ac_cv_lib_pcap_pcap_datalink = yes; then
6807
if test $ac_cv_lib_pcap_pcap_datalink = yes; then
6621
  have_libpcap=yes
6808
  have_libpcap=yes
6622
	LIBPCAP_INC=$with_libpcap/include
6809
	LIBPCAP_INC=$with_libpcap/include
Lines 6651-6662 Link Here
6651
  # link with -lpcap for the purposes of this test
6838
  # link with -lpcap for the purposes of this test
6652
  LIBS_OLD="$LIBS"
6839
  LIBS_OLD="$LIBS"
6653
  LIBS="$LIBS -lpcap"
6840
  LIBS="$LIBS -lpcap"
6654
  { echo "$as_me:$LINENO: checking if libpcap version is recent enough" >&5
6841
  { $as_echo "$as_me:$LINENO: checking if libpcap version is recent enough" >&5
6655
echo $ECHO_N "checking if libpcap version is recent enough... $ECHO_C" >&6; }
6842
$as_echo_n "checking if libpcap version is recent enough... " >&6; }
6656
  if test "$cross_compiling" = yes; then
6843
  if test "$cross_compiling" = yes; then
6657
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6844
  { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6658
See \`config.log' for more details." >&5
6845
See \`config.log' for more details." >&5
6659
echo "$as_me: error: cannot run test program while cross compiling
6846
$as_echo "$as_me: error: cannot run test program while cross compiling
6660
See \`config.log' for more details." >&2;}
6847
See \`config.log' for more details." >&2;}
6661
   { (exit 1); exit 1; }; }
6848
   { (exit 1); exit 1; }; }
6662
else
6849
else
Lines 6687-6717 Link Here
6687
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6688
  *) ac_try_echo=$ac_try;;
6875
  *) ac_try_echo=$ac_try;;
6689
esac
6876
esac
6690
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6878
$as_echo "$ac_try_echo") >&5
6691
  (eval "$ac_link") 2>&5
6879
  (eval "$ac_link") 2>&5
6692
  ac_status=$?
6880
  ac_status=$?
6693
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6882
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6695
  { (case "(($ac_try" in
6883
  { (case "(($ac_try" in
6696
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6697
  *) ac_try_echo=$ac_try;;
6885
  *) ac_try_echo=$ac_try;;
6698
esac
6886
esac
6699
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6888
$as_echo "$ac_try_echo") >&5
6700
  (eval "$ac_try") 2>&5
6889
  (eval "$ac_try") 2>&5
6701
  ac_status=$?
6890
  ac_status=$?
6702
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703
  (exit $ac_status); }; }; then
6892
  (exit $ac_status); }; }; then
6704
  { echo "$as_me:$LINENO: result: yes" >&5
6893
  { $as_echo "$as_me:$LINENO: result: yes" >&5
6705
echo "${ECHO_T}yes" >&6; }; have_libpcap=yes
6894
$as_echo "yes" >&6; }; have_libpcap=yes
6706
else
6895
else
6707
  echo "$as_me: program exited with status $ac_status" >&5
6896
  $as_echo "$as_me: program exited with status $ac_status" >&5
6708
echo "$as_me: failed program was:" >&5
6897
$as_echo "$as_me: failed program was:" >&5
6709
sed 's/^/| /' conftest.$ac_ext >&5
6898
sed 's/^/| /' conftest.$ac_ext >&5
6710
6899
6711
( exit $ac_status )
6900
( exit $ac_status )
6712
{ echo "$as_me:$LINENO: result: no" >&5
6901
{ $as_echo "$as_me:$LINENO: result: no" >&5
6713
echo "${ECHO_T}no" >&6; }; have_libpcap=no
6902
$as_echo "no" >&6; }; have_libpcap=no
6714
fi
6903
fi
6904
rm -rf conftest.dSYM
6715
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6905
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6716
fi
6906
fi
6717
6907
Lines 6750-6756 Link Here
6750
6940
6751
6941
6752
if test $have_libpcap != yes ; then
6942
if test $have_libpcap != yes ; then
6753
        subdirs="$subdirs libpcap"
6943
6944
6945
subdirs="$subdirs libpcap"
6754
6946
6755
fi
6947
fi
6756
6948
Lines 6781-6797 Link Here
6781
# If they didn't specify it, we try to find it
6973
# If they didn't specify it, we try to find it
6782
if test $have_pcre != yes -a $requested_included_pcre != yes ; then
6974
if test $have_pcre != yes -a $requested_included_pcre != yes ; then
6783
  if test "${ac_cv_header_pcre_h+set}" = set; then
6975
  if test "${ac_cv_header_pcre_h+set}" = set; then
6784
  { echo "$as_me:$LINENO: checking for pcre.h" >&5
6976
  { $as_echo "$as_me:$LINENO: checking for pcre.h" >&5
6785
echo $ECHO_N "checking for pcre.h... $ECHO_C" >&6; }
6977
$as_echo_n "checking for pcre.h... " >&6; }
6786
if test "${ac_cv_header_pcre_h+set}" = set; then
6978
if test "${ac_cv_header_pcre_h+set}" = set; then
6787
  echo $ECHO_N "(cached) $ECHO_C" >&6
6979
  $as_echo_n "(cached) " >&6
6788
fi
6980
fi
6789
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcre_h" >&5
6981
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcre_h" >&5
6790
echo "${ECHO_T}$ac_cv_header_pcre_h" >&6; }
6982
$as_echo "$ac_cv_header_pcre_h" >&6; }
6791
else
6983
else
6792
  # Is the header compilable?
6984
  # Is the header compilable?
6793
{ echo "$as_me:$LINENO: checking pcre.h usability" >&5
6985
{ $as_echo "$as_me:$LINENO: checking pcre.h usability" >&5
6794
echo $ECHO_N "checking pcre.h usability... $ECHO_C" >&6; }
6986
$as_echo_n "checking pcre.h usability... " >&6; }
6795
cat >conftest.$ac_ext <<_ACEOF
6987
cat >conftest.$ac_ext <<_ACEOF
6796
/* confdefs.h.  */
6988
/* confdefs.h.  */
6797
_ACEOF
6989
_ACEOF
Lines 6807-6838 Link Here
6807
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6808
  *) ac_try_echo=$ac_try;;
7000
  *) ac_try_echo=$ac_try;;
6809
esac
7001
esac
6810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7003
$as_echo "$ac_try_echo") >&5
6811
  (eval "$ac_compile") 2>conftest.er1
7004
  (eval "$ac_compile") 2>conftest.er1
6812
  ac_status=$?
7005
  ac_status=$?
6813
  grep -v '^ *+' conftest.er1 >conftest.err
7006
  grep -v '^ *+' conftest.er1 >conftest.err
6814
  rm -f conftest.er1
7007
  rm -f conftest.er1
6815
  cat conftest.err >&5
7008
  cat conftest.err >&5
6816
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817
  (exit $ac_status); } && {
7010
  (exit $ac_status); } && {
6818
	 test -z "$ac_c_werror_flag" ||
7011
	 test -z "$ac_c_werror_flag" ||
6819
	 test ! -s conftest.err
7012
	 test ! -s conftest.err
6820
       } && test -s conftest.$ac_objext; then
7013
       } && test -s conftest.$ac_objext; then
6821
  ac_header_compiler=yes
7014
  ac_header_compiler=yes
6822
else
7015
else
6823
  echo "$as_me: failed program was:" >&5
7016
  $as_echo "$as_me: failed program was:" >&5
6824
sed 's/^/| /' conftest.$ac_ext >&5
7017
sed 's/^/| /' conftest.$ac_ext >&5
6825
7018
6826
	ac_header_compiler=no
7019
	ac_header_compiler=no
6827
fi
7020
fi
6828
7021
6829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6830
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7023
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6831
echo "${ECHO_T}$ac_header_compiler" >&6; }
7024
$as_echo "$ac_header_compiler" >&6; }
6832
7025
6833
# Is the header present?
7026
# Is the header present?
6834
{ echo "$as_me:$LINENO: checking pcre.h presence" >&5
7027
{ $as_echo "$as_me:$LINENO: checking pcre.h presence" >&5
6835
echo $ECHO_N "checking pcre.h presence... $ECHO_C" >&6; }
7028
$as_echo_n "checking pcre.h presence... " >&6; }
6836
cat >conftest.$ac_ext <<_ACEOF
7029
cat >conftest.$ac_ext <<_ACEOF
6837
/* confdefs.h.  */
7030
/* confdefs.h.  */
6838
_ACEOF
7031
_ACEOF
Lines 6846-6915 Link Here
6846
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6847
  *) ac_try_echo=$ac_try;;
7040
  *) ac_try_echo=$ac_try;;
6848
esac
7041
esac
6849
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7043
$as_echo "$ac_try_echo") >&5
6850
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7044
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6851
  ac_status=$?
7045
  ac_status=$?
6852
  grep -v '^ *+' conftest.er1 >conftest.err
7046
  grep -v '^ *+' conftest.er1 >conftest.err
6853
  rm -f conftest.er1
7047
  rm -f conftest.er1
6854
  cat conftest.err >&5
7048
  cat conftest.err >&5
6855
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856
  (exit $ac_status); } >/dev/null && {
7050
  (exit $ac_status); } >/dev/null && {
6857
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7051
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6858
	 test ! -s conftest.err
7052
	 test ! -s conftest.err
6859
       }; then
7053
       }; then
6860
  ac_header_preproc=yes
7054
  ac_header_preproc=yes
6861
else
7055
else
6862
  echo "$as_me: failed program was:" >&5
7056
  $as_echo "$as_me: failed program was:" >&5
6863
sed 's/^/| /' conftest.$ac_ext >&5
7057
sed 's/^/| /' conftest.$ac_ext >&5
6864
7058
6865
  ac_header_preproc=no
7059
  ac_header_preproc=no
6866
fi
7060
fi
6867
7061
6868
rm -f conftest.err conftest.$ac_ext
7062
rm -f conftest.err conftest.$ac_ext
6869
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7063
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6870
echo "${ECHO_T}$ac_header_preproc" >&6; }
7064
$as_echo "$ac_header_preproc" >&6; }
6871
7065
6872
# So?  What about this header?
7066
# So?  What about this header?
6873
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7067
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6874
  yes:no: )
7068
  yes:no: )
6875
    { echo "$as_me:$LINENO: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!" >&5
7069
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!" >&5
6876
echo "$as_me: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7070
$as_echo "$as_me: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6877
    { echo "$as_me:$LINENO: WARNING: pcre.h: proceeding with the compiler's result" >&5
7071
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h: proceeding with the compiler's result" >&5
6878
echo "$as_me: WARNING: pcre.h: proceeding with the compiler's result" >&2;}
7072
$as_echo "$as_me: WARNING: pcre.h: proceeding with the compiler's result" >&2;}
6879
    ac_header_preproc=yes
7073
    ac_header_preproc=yes
6880
    ;;
7074
    ;;
6881
  no:yes:* )
7075
  no:yes:* )
6882
    { echo "$as_me:$LINENO: WARNING: pcre.h: present but cannot be compiled" >&5
7076
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h: present but cannot be compiled" >&5
6883
echo "$as_me: WARNING: pcre.h: present but cannot be compiled" >&2;}
7077
$as_echo "$as_me: WARNING: pcre.h: present but cannot be compiled" >&2;}
6884
    { echo "$as_me:$LINENO: WARNING: pcre.h:     check for missing prerequisite headers?" >&5
7078
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h:     check for missing prerequisite headers?" >&5
6885
echo "$as_me: WARNING: pcre.h:     check for missing prerequisite headers?" >&2;}
7079
$as_echo "$as_me: WARNING: pcre.h:     check for missing prerequisite headers?" >&2;}
6886
    { echo "$as_me:$LINENO: WARNING: pcre.h: see the Autoconf documentation" >&5
7080
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h: see the Autoconf documentation" >&5
6887
echo "$as_me: WARNING: pcre.h: see the Autoconf documentation" >&2;}
7081
$as_echo "$as_me: WARNING: pcre.h: see the Autoconf documentation" >&2;}
6888
    { echo "$as_me:$LINENO: WARNING: pcre.h:     section \"Present But Cannot Be Compiled\"" >&5
7082
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h:     section \"Present But Cannot Be Compiled\"" >&5
6889
echo "$as_me: WARNING: pcre.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7083
$as_echo "$as_me: WARNING: pcre.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6890
    { echo "$as_me:$LINENO: WARNING: pcre.h: proceeding with the preprocessor's result" >&5
7084
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h: proceeding with the preprocessor's result" >&5
6891
echo "$as_me: WARNING: pcre.h: proceeding with the preprocessor's result" >&2;}
7085
$as_echo "$as_me: WARNING: pcre.h: proceeding with the preprocessor's result" >&2;}
6892
    { echo "$as_me:$LINENO: WARNING: pcre.h: in the future, the compiler will take precedence" >&5
7086
    { $as_echo "$as_me:$LINENO: WARNING: pcre.h: in the future, the compiler will take precedence" >&5
6893
echo "$as_me: WARNING: pcre.h: in the future, the compiler will take precedence" >&2;}
7087
$as_echo "$as_me: WARNING: pcre.h: in the future, the compiler will take precedence" >&2;}
6894
7088
6895
    ;;
7089
    ;;
6896
esac
7090
esac
6897
{ echo "$as_me:$LINENO: checking for pcre.h" >&5
7091
{ $as_echo "$as_me:$LINENO: checking for pcre.h" >&5
6898
echo $ECHO_N "checking for pcre.h... $ECHO_C" >&6; }
7092
$as_echo_n "checking for pcre.h... " >&6; }
6899
if test "${ac_cv_header_pcre_h+set}" = set; then
7093
if test "${ac_cv_header_pcre_h+set}" = set; then
6900
  echo $ECHO_N "(cached) $ECHO_C" >&6
7094
  $as_echo_n "(cached) " >&6
6901
else
7095
else
6902
  ac_cv_header_pcre_h=$ac_header_preproc
7096
  ac_cv_header_pcre_h=$ac_header_preproc
6903
fi
7097
fi
6904
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcre_h" >&5
7098
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcre_h" >&5
6905
echo "${ECHO_T}$ac_cv_header_pcre_h" >&6; }
7099
$as_echo "$ac_cv_header_pcre_h" >&6; }
6906
7100
6907
fi
7101
fi
6908
if test $ac_cv_header_pcre_h = yes; then
7102
if test $ac_cv_header_pcre_h = yes; then
6909
  { echo "$as_me:$LINENO: checking for pcre_version in -lpcre" >&5
7103
  { $as_echo "$as_me:$LINENO: checking for pcre_version in -lpcre" >&5
6910
echo $ECHO_N "checking for pcre_version in -lpcre... $ECHO_C" >&6; }
7104
$as_echo_n "checking for pcre_version in -lpcre... " >&6; }
6911
if test "${ac_cv_lib_pcre_pcre_version+set}" = set; then
7105
if test "${ac_cv_lib_pcre_pcre_version+set}" = set; then
6912
  echo $ECHO_N "(cached) $ECHO_C" >&6
7106
  $as_echo_n "(cached) " >&6
6913
else
7107
else
6914
  ac_check_lib_save_LIBS=$LIBS
7108
  ac_check_lib_save_LIBS=$LIBS
6915
LIBS="-lpcre  $LIBS"
7109
LIBS="-lpcre  $LIBS"
Lines 6941-6989 Link Here
6941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7135
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6942
  *) ac_try_echo=$ac_try;;
7136
  *) ac_try_echo=$ac_try;;
6943
esac
7137
esac
6944
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7138
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7139
$as_echo "$ac_try_echo") >&5
6945
  (eval "$ac_link") 2>conftest.er1
7140
  (eval "$ac_link") 2>conftest.er1
6946
  ac_status=$?
7141
  ac_status=$?
6947
  grep -v '^ *+' conftest.er1 >conftest.err
7142
  grep -v '^ *+' conftest.er1 >conftest.err
6948
  rm -f conftest.er1
7143
  rm -f conftest.er1
6949
  cat conftest.err >&5
7144
  cat conftest.err >&5
6950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951
  (exit $ac_status); } && {
7146
  (exit $ac_status); } && {
6952
	 test -z "$ac_c_werror_flag" ||
7147
	 test -z "$ac_c_werror_flag" ||
6953
	 test ! -s conftest.err
7148
	 test ! -s conftest.err
6954
       } && test -s conftest$ac_exeext &&
7149
       } && test -s conftest$ac_exeext && {
6955
       $as_test_x conftest$ac_exeext; then
7150
	 test "$cross_compiling" = yes ||
7151
	 $as_test_x conftest$ac_exeext
7152
       }; then
6956
  ac_cv_lib_pcre_pcre_version=yes
7153
  ac_cv_lib_pcre_pcre_version=yes
6957
else
7154
else
6958
  echo "$as_me: failed program was:" >&5
7155
  $as_echo "$as_me: failed program was:" >&5
6959
sed 's/^/| /' conftest.$ac_ext >&5
7156
sed 's/^/| /' conftest.$ac_ext >&5
6960
7157
6961
	ac_cv_lib_pcre_pcre_version=no
7158
	ac_cv_lib_pcre_pcre_version=no
6962
fi
7159
fi
6963
7160
7161
rm -rf conftest.dSYM
6964
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7162
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6965
      conftest$ac_exeext conftest.$ac_ext
7163
      conftest$ac_exeext conftest.$ac_ext
6966
LIBS=$ac_check_lib_save_LIBS
7164
LIBS=$ac_check_lib_save_LIBS
6967
fi
7165
fi
6968
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_version" >&5
7166
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_version" >&5
6969
echo "${ECHO_T}$ac_cv_lib_pcre_pcre_version" >&6; }
7167
$as_echo "$ac_cv_lib_pcre_pcre_version" >&6; }
6970
if test $ac_cv_lib_pcre_pcre_version = yes; then
7168
if test $ac_cv_lib_pcre_pcre_version = yes; then
6971
  have_pcre=yes
7169
  have_pcre=yes
6972
fi
7170
fi
6973
7171
6974
else
7172
else
6975
  if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
7173
  if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
6976
  { echo "$as_me:$LINENO: checking for pcre/pcre.h" >&5
7174
  { $as_echo "$as_me:$LINENO: checking for pcre/pcre.h" >&5
6977
echo $ECHO_N "checking for pcre/pcre.h... $ECHO_C" >&6; }
7175
$as_echo_n "checking for pcre/pcre.h... " >&6; }
6978
if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
7176
if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
6979
  echo $ECHO_N "(cached) $ECHO_C" >&6
7177
  $as_echo_n "(cached) " >&6
6980
fi
7178
fi
6981
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcre_h" >&5
7179
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcre_h" >&5
6982
echo "${ECHO_T}$ac_cv_header_pcre_pcre_h" >&6; }
7180
$as_echo "$ac_cv_header_pcre_pcre_h" >&6; }
6983
else
7181
else
6984
  # Is the header compilable?
7182
  # Is the header compilable?
6985
{ echo "$as_me:$LINENO: checking pcre/pcre.h usability" >&5
7183
{ $as_echo "$as_me:$LINENO: checking pcre/pcre.h usability" >&5
6986
echo $ECHO_N "checking pcre/pcre.h usability... $ECHO_C" >&6; }
7184
$as_echo_n "checking pcre/pcre.h usability... " >&6; }
6987
cat >conftest.$ac_ext <<_ACEOF
7185
cat >conftest.$ac_ext <<_ACEOF
6988
/* confdefs.h.  */
7186
/* confdefs.h.  */
6989
_ACEOF
7187
_ACEOF
Lines 6999-7030 Link Here
6999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000
  *) ac_try_echo=$ac_try;;
7198
  *) ac_try_echo=$ac_try;;
7001
esac
7199
esac
7002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7201
$as_echo "$ac_try_echo") >&5
7003
  (eval "$ac_compile") 2>conftest.er1
7202
  (eval "$ac_compile") 2>conftest.er1
7004
  ac_status=$?
7203
  ac_status=$?
7005
  grep -v '^ *+' conftest.er1 >conftest.err
7204
  grep -v '^ *+' conftest.er1 >conftest.err
7006
  rm -f conftest.er1
7205
  rm -f conftest.er1
7007
  cat conftest.err >&5
7206
  cat conftest.err >&5
7008
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009
  (exit $ac_status); } && {
7208
  (exit $ac_status); } && {
7010
	 test -z "$ac_c_werror_flag" ||
7209
	 test -z "$ac_c_werror_flag" ||
7011
	 test ! -s conftest.err
7210
	 test ! -s conftest.err
7012
       } && test -s conftest.$ac_objext; then
7211
       } && test -s conftest.$ac_objext; then
7013
  ac_header_compiler=yes
7212
  ac_header_compiler=yes
7014
else
7213
else
7015
  echo "$as_me: failed program was:" >&5
7214
  $as_echo "$as_me: failed program was:" >&5
7016
sed 's/^/| /' conftest.$ac_ext >&5
7215
sed 's/^/| /' conftest.$ac_ext >&5
7017
7216
7018
	ac_header_compiler=no
7217
	ac_header_compiler=no
7019
fi
7218
fi
7020
7219
7021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7220
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7022
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7221
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7023
echo "${ECHO_T}$ac_header_compiler" >&6; }
7222
$as_echo "$ac_header_compiler" >&6; }
7024
7223
7025
# Is the header present?
7224
# Is the header present?
7026
{ echo "$as_me:$LINENO: checking pcre/pcre.h presence" >&5
7225
{ $as_echo "$as_me:$LINENO: checking pcre/pcre.h presence" >&5
7027
echo $ECHO_N "checking pcre/pcre.h presence... $ECHO_C" >&6; }
7226
$as_echo_n "checking pcre/pcre.h presence... " >&6; }
7028
cat >conftest.$ac_ext <<_ACEOF
7227
cat >conftest.$ac_ext <<_ACEOF
7029
/* confdefs.h.  */
7228
/* confdefs.h.  */
7030
_ACEOF
7229
_ACEOF
Lines 7038-7107 Link Here
7038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7039
  *) ac_try_echo=$ac_try;;
7238
  *) ac_try_echo=$ac_try;;
7040
esac
7239
esac
7041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7240
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7241
$as_echo "$ac_try_echo") >&5
7042
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7242
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7043
  ac_status=$?
7243
  ac_status=$?
7044
  grep -v '^ *+' conftest.er1 >conftest.err
7244
  grep -v '^ *+' conftest.er1 >conftest.err
7045
  rm -f conftest.er1
7245
  rm -f conftest.er1
7046
  cat conftest.err >&5
7246
  cat conftest.err >&5
7047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048
  (exit $ac_status); } >/dev/null && {
7248
  (exit $ac_status); } >/dev/null && {
7049
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7249
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7050
	 test ! -s conftest.err
7250
	 test ! -s conftest.err
7051
       }; then
7251
       }; then
7052
  ac_header_preproc=yes
7252
  ac_header_preproc=yes
7053
else
7253
else
7054
  echo "$as_me: failed program was:" >&5
7254
  $as_echo "$as_me: failed program was:" >&5
7055
sed 's/^/| /' conftest.$ac_ext >&5
7255
sed 's/^/| /' conftest.$ac_ext >&5
7056
7256
7057
  ac_header_preproc=no
7257
  ac_header_preproc=no
7058
fi
7258
fi
7059
7259
7060
rm -f conftest.err conftest.$ac_ext
7260
rm -f conftest.err conftest.$ac_ext
7061
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7261
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7062
echo "${ECHO_T}$ac_header_preproc" >&6; }
7262
$as_echo "$ac_header_preproc" >&6; }
7063
7263
7064
# So?  What about this header?
7264
# So?  What about this header?
7065
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7265
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7066
  yes:no: )
7266
  yes:no: )
7067
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: accepted by the compiler, rejected by the preprocessor!" >&5
7267
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h: accepted by the compiler, rejected by the preprocessor!" >&5
7068
echo "$as_me: WARNING: pcre/pcre.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7268
$as_echo "$as_me: WARNING: pcre/pcre.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7069
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: proceeding with the compiler's result" >&5
7269
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h: proceeding with the compiler's result" >&5
7070
echo "$as_me: WARNING: pcre/pcre.h: proceeding with the compiler's result" >&2;}
7270
$as_echo "$as_me: WARNING: pcre/pcre.h: proceeding with the compiler's result" >&2;}
7071
    ac_header_preproc=yes
7271
    ac_header_preproc=yes
7072
    ;;
7272
    ;;
7073
  no:yes:* )
7273
  no:yes:* )
7074
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: present but cannot be compiled" >&5
7274
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h: present but cannot be compiled" >&5
7075
echo "$as_me: WARNING: pcre/pcre.h: present but cannot be compiled" >&2;}
7275
$as_echo "$as_me: WARNING: pcre/pcre.h: present but cannot be compiled" >&2;}
7076
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h:     check for missing prerequisite headers?" >&5
7276
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h:     check for missing prerequisite headers?" >&5
7077
echo "$as_me: WARNING: pcre/pcre.h:     check for missing prerequisite headers?" >&2;}
7277
$as_echo "$as_me: WARNING: pcre/pcre.h:     check for missing prerequisite headers?" >&2;}
7078
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: see the Autoconf documentation" >&5
7278
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h: see the Autoconf documentation" >&5
7079
echo "$as_me: WARNING: pcre/pcre.h: see the Autoconf documentation" >&2;}
7279
$as_echo "$as_me: WARNING: pcre/pcre.h: see the Autoconf documentation" >&2;}
7080
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h:     section \"Present But Cannot Be Compiled\"" >&5
7280
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h:     section \"Present But Cannot Be Compiled\"" >&5
7081
echo "$as_me: WARNING: pcre/pcre.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7281
$as_echo "$as_me: WARNING: pcre/pcre.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7082
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: proceeding with the preprocessor's result" >&5
7282
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h: proceeding with the preprocessor's result" >&5
7083
echo "$as_me: WARNING: pcre/pcre.h: proceeding with the preprocessor's result" >&2;}
7283
$as_echo "$as_me: WARNING: pcre/pcre.h: proceeding with the preprocessor's result" >&2;}
7084
    { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: in the future, the compiler will take precedence" >&5
7284
    { $as_echo "$as_me:$LINENO: WARNING: pcre/pcre.h: in the future, the compiler will take precedence" >&5
7085
echo "$as_me: WARNING: pcre/pcre.h: in the future, the compiler will take precedence" >&2;}
7285
$as_echo "$as_me: WARNING: pcre/pcre.h: in the future, the compiler will take precedence" >&2;}
7086
7286
7087
    ;;
7287
    ;;
7088
esac
7288
esac
7089
{ echo "$as_me:$LINENO: checking for pcre/pcre.h" >&5
7289
{ $as_echo "$as_me:$LINENO: checking for pcre/pcre.h" >&5
7090
echo $ECHO_N "checking for pcre/pcre.h... $ECHO_C" >&6; }
7290
$as_echo_n "checking for pcre/pcre.h... " >&6; }
7091
if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
7291
if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
7092
  echo $ECHO_N "(cached) $ECHO_C" >&6
7292
  $as_echo_n "(cached) " >&6
7093
else
7293
else
7094
  ac_cv_header_pcre_pcre_h=$ac_header_preproc
7294
  ac_cv_header_pcre_pcre_h=$ac_header_preproc
7095
fi
7295
fi
7096
{ echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcre_h" >&5
7296
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcre_h" >&5
7097
echo "${ECHO_T}$ac_cv_header_pcre_pcre_h" >&6; }
7297
$as_echo "$ac_cv_header_pcre_pcre_h" >&6; }
7098
7298
7099
fi
7299
fi
7100
if test $ac_cv_header_pcre_pcre_h = yes; then
7300
if test $ac_cv_header_pcre_pcre_h = yes; then
7101
  { echo "$as_me:$LINENO: checking for pcre_version in -lpcre" >&5
7301
  { $as_echo "$as_me:$LINENO: checking for pcre_version in -lpcre" >&5
7102
echo $ECHO_N "checking for pcre_version in -lpcre... $ECHO_C" >&6; }
7302
$as_echo_n "checking for pcre_version in -lpcre... " >&6; }
7103
if test "${ac_cv_lib_pcre_pcre_version+set}" = set; then
7303
if test "${ac_cv_lib_pcre_pcre_version+set}" = set; then
7104
  echo $ECHO_N "(cached) $ECHO_C" >&6
7304
  $as_echo_n "(cached) " >&6
7105
else
7305
else
7106
  ac_check_lib_save_LIBS=$LIBS
7306
  ac_check_lib_save_LIBS=$LIBS
7107
LIBS="-lpcre  $LIBS"
7307
LIBS="-lpcre  $LIBS"
Lines 7133-7164 Link Here
7133
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7134
  *) ac_try_echo=$ac_try;;
7334
  *) ac_try_echo=$ac_try;;
7135
esac
7335
esac
7136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7337
$as_echo "$ac_try_echo") >&5
7137
  (eval "$ac_link") 2>conftest.er1
7338
  (eval "$ac_link") 2>conftest.er1
7138
  ac_status=$?
7339
  ac_status=$?
7139
  grep -v '^ *+' conftest.er1 >conftest.err
7340
  grep -v '^ *+' conftest.er1 >conftest.err
7140
  rm -f conftest.er1
7341
  rm -f conftest.er1
7141
  cat conftest.err >&5
7342
  cat conftest.err >&5
7142
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143
  (exit $ac_status); } && {
7344
  (exit $ac_status); } && {
7144
	 test -z "$ac_c_werror_flag" ||
7345
	 test -z "$ac_c_werror_flag" ||
7145
	 test ! -s conftest.err
7346
	 test ! -s conftest.err
7146
       } && test -s conftest$ac_exeext &&
7347
       } && test -s conftest$ac_exeext && {
7147
       $as_test_x conftest$ac_exeext; then
7348
	 test "$cross_compiling" = yes ||
7349
	 $as_test_x conftest$ac_exeext
7350
       }; then
7148
  ac_cv_lib_pcre_pcre_version=yes
7351
  ac_cv_lib_pcre_pcre_version=yes
7149
else
7352
else
7150
  echo "$as_me: failed program was:" >&5
7353
  $as_echo "$as_me: failed program was:" >&5
7151
sed 's/^/| /' conftest.$ac_ext >&5
7354
sed 's/^/| /' conftest.$ac_ext >&5
7152
7355
7153
	ac_cv_lib_pcre_pcre_version=no
7356
	ac_cv_lib_pcre_pcre_version=no
7154
fi
7357
fi
7155
7358
7359
rm -rf conftest.dSYM
7156
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7157
      conftest$ac_exeext conftest.$ac_ext
7361
      conftest$ac_exeext conftest.$ac_ext
7158
LIBS=$ac_check_lib_save_LIBS
7362
LIBS=$ac_check_lib_save_LIBS
7159
fi
7363
fi
7160
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_version" >&5
7364
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_version" >&5
7161
echo "${ECHO_T}$ac_cv_lib_pcre_pcre_version" >&6; }
7365
$as_echo "$ac_cv_lib_pcre_pcre_version" >&6; }
7162
if test $ac_cv_lib_pcre_pcre_version = yes; then
7366
if test $ac_cv_lib_pcre_pcre_version = yes; then
7163
  have_pcre=yes
7367
  have_pcre=yes
7164
fi
7368
fi
Lines 7188-7207 Link Here
7188
7392
7189
for ac_header in pcre/pcre.h
7393
for ac_header in pcre/pcre.h
7190
do
7394
do
7191
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7395
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7192
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7396
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7193
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7397
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7194
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7398
$as_echo_n "checking for $ac_header... " >&6; }
7195
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7399
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7196
  echo $ECHO_N "(cached) $ECHO_C" >&6
7400
  $as_echo_n "(cached) " >&6
7197
fi
7401
fi
7198
ac_res=`eval echo '${'$as_ac_Header'}'`
7402
ac_res=`eval 'as_val=${'$as_ac_Header'}
7199
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7403
		 $as_echo "$as_val"'`
7200
echo "${ECHO_T}$ac_res" >&6; }
7404
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7405
$as_echo "$ac_res" >&6; }
7201
else
7406
else
7202
  # Is the header compilable?
7407
  # Is the header compilable?
7203
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7408
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7204
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7409
$as_echo_n "checking $ac_header usability... " >&6; }
7205
cat >conftest.$ac_ext <<_ACEOF
7410
cat >conftest.$ac_ext <<_ACEOF
7206
/* confdefs.h.  */
7411
/* confdefs.h.  */
7207
_ACEOF
7412
_ACEOF
Lines 7217-7248 Link Here
7217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7422
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7218
  *) ac_try_echo=$ac_try;;
7423
  *) ac_try_echo=$ac_try;;
7219
esac
7424
esac
7220
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7425
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7426
$as_echo "$ac_try_echo") >&5
7221
  (eval "$ac_compile") 2>conftest.er1
7427
  (eval "$ac_compile") 2>conftest.er1
7222
  ac_status=$?
7428
  ac_status=$?
7223
  grep -v '^ *+' conftest.er1 >conftest.err
7429
  grep -v '^ *+' conftest.er1 >conftest.err
7224
  rm -f conftest.er1
7430
  rm -f conftest.er1
7225
  cat conftest.err >&5
7431
  cat conftest.err >&5
7226
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227
  (exit $ac_status); } && {
7433
  (exit $ac_status); } && {
7228
	 test -z "$ac_c_werror_flag" ||
7434
	 test -z "$ac_c_werror_flag" ||
7229
	 test ! -s conftest.err
7435
	 test ! -s conftest.err
7230
       } && test -s conftest.$ac_objext; then
7436
       } && test -s conftest.$ac_objext; then
7231
  ac_header_compiler=yes
7437
  ac_header_compiler=yes
7232
else
7438
else
7233
  echo "$as_me: failed program was:" >&5
7439
  $as_echo "$as_me: failed program was:" >&5
7234
sed 's/^/| /' conftest.$ac_ext >&5
7440
sed 's/^/| /' conftest.$ac_ext >&5
7235
7441
7236
	ac_header_compiler=no
7442
	ac_header_compiler=no
7237
fi
7443
fi
7238
7444
7239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7445
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7240
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7446
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7241
echo "${ECHO_T}$ac_header_compiler" >&6; }
7447
$as_echo "$ac_header_compiler" >&6; }
7242
7448
7243
# Is the header present?
7449
# Is the header present?
7244
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7450
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7245
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7451
$as_echo_n "checking $ac_header presence... " >&6; }
7246
cat >conftest.$ac_ext <<_ACEOF
7452
cat >conftest.$ac_ext <<_ACEOF
7247
/* confdefs.h.  */
7453
/* confdefs.h.  */
7248
_ACEOF
7454
_ACEOF
Lines 7256-7324 Link Here
7256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7257
  *) ac_try_echo=$ac_try;;
7463
  *) ac_try_echo=$ac_try;;
7258
esac
7464
esac
7259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7466
$as_echo "$ac_try_echo") >&5
7260
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7467
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7261
  ac_status=$?
7468
  ac_status=$?
7262
  grep -v '^ *+' conftest.er1 >conftest.err
7469
  grep -v '^ *+' conftest.er1 >conftest.err
7263
  rm -f conftest.er1
7470
  rm -f conftest.er1
7264
  cat conftest.err >&5
7471
  cat conftest.err >&5
7265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266
  (exit $ac_status); } >/dev/null && {
7473
  (exit $ac_status); } >/dev/null && {
7267
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7474
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7268
	 test ! -s conftest.err
7475
	 test ! -s conftest.err
7269
       }; then
7476
       }; then
7270
  ac_header_preproc=yes
7477
  ac_header_preproc=yes
7271
else
7478
else
7272
  echo "$as_me: failed program was:" >&5
7479
  $as_echo "$as_me: failed program was:" >&5
7273
sed 's/^/| /' conftest.$ac_ext >&5
7480
sed 's/^/| /' conftest.$ac_ext >&5
7274
7481
7275
  ac_header_preproc=no
7482
  ac_header_preproc=no
7276
fi
7483
fi
7277
7484
7278
rm -f conftest.err conftest.$ac_ext
7485
rm -f conftest.err conftest.$ac_ext
7279
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7486
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7280
echo "${ECHO_T}$ac_header_preproc" >&6; }
7487
$as_echo "$ac_header_preproc" >&6; }
7281
7488
7282
# So?  What about this header?
7489
# So?  What about this header?
7283
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7490
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7284
  yes:no: )
7491
  yes:no: )
7285
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7492
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7286
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7493
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7287
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7494
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7288
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7495
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7289
    ac_header_preproc=yes
7496
    ac_header_preproc=yes
7290
    ;;
7497
    ;;
7291
  no:yes:* )
7498
  no:yes:* )
7292
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7499
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7293
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7500
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7294
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7501
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7295
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7502
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7296
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7503
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7297
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7504
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7298
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7505
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7299
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7506
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7300
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7507
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7301
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7508
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7302
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7509
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7303
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7510
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7304
7511
7305
    ;;
7512
    ;;
7306
esac
7513
esac
7307
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7514
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7308
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7515
$as_echo_n "checking for $ac_header... " >&6; }
7309
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7516
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7310
  echo $ECHO_N "(cached) $ECHO_C" >&6
7517
  $as_echo_n "(cached) " >&6
7311
else
7518
else
7312
  eval "$as_ac_Header=\$ac_header_preproc"
7519
  eval "$as_ac_Header=\$ac_header_preproc"
7313
fi
7520
fi
7314
ac_res=`eval echo '${'$as_ac_Header'}'`
7521
ac_res=`eval 'as_val=${'$as_ac_Header'}
7315
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7522
		 $as_echo "$as_val"'`
7316
echo "${ECHO_T}$ac_res" >&6; }
7523
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7524
$as_echo "$ac_res" >&6; }
7317
7525
7318
fi
7526
fi
7319
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7527
if test `eval 'as_val=${'$as_ac_Header'}
7528
		 $as_echo "$as_val"'` = yes; then
7320
  cat >>confdefs.h <<_ACEOF
7529
  cat >>confdefs.h <<_ACEOF
7321
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7530
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7322
_ACEOF
7531
_ACEOF
7323
7532
7324
fi
7533
fi
Lines 7401-7407 Link Here
7401
7610
7402
# Check whether --with-liblua was given.
7611
# Check whether --with-liblua was given.
7403
if test "${with_liblua+set}" = set; then
7612
if test "${with_liblua+set}" = set; then
7404
  withval=$with_liblua;   case "$with_liblua" in
7613
  withval=$with_liblua;   case "$liblua" in
7405
  yes)
7614
  yes)
7406
  ;;
7615
  ;;
7407
  included)
7616
  included)
Lines 7438-7447 Link Here
7438
7647
7439
else
7648
else
7440
  # NSE C modules are loaded with dlopen.
7649
  # NSE C modules are loaded with dlopen.
7441
  { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
7650
  { $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
7442
echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
7651
$as_echo_n "checking for library containing dlopen... " >&6; }
7443
if test "${ac_cv_search_dlopen+set}" = set; then
7652
if test "${ac_cv_search_dlopen+set}" = set; then
7444
  echo $ECHO_N "(cached) $ECHO_C" >&6
7653
  $as_echo_n "(cached) " >&6
7445
else
7654
else
7446
  ac_func_search_save_LIBS=$LIBS
7655
  ac_func_search_save_LIBS=$LIBS
7447
cat >conftest.$ac_ext <<_ACEOF
7656
cat >conftest.$ac_ext <<_ACEOF
Lines 7479-7504 Link Here
7479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7480
  *) ac_try_echo=$ac_try;;
7689
  *) ac_try_echo=$ac_try;;
7481
esac
7690
esac
7482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7691
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7692
$as_echo "$ac_try_echo") >&5
7483
  (eval "$ac_link") 2>conftest.er1
7693
  (eval "$ac_link") 2>conftest.er1
7484
  ac_status=$?
7694
  ac_status=$?
7485
  grep -v '^ *+' conftest.er1 >conftest.err
7695
  grep -v '^ *+' conftest.er1 >conftest.err
7486
  rm -f conftest.er1
7696
  rm -f conftest.er1
7487
  cat conftest.err >&5
7697
  cat conftest.err >&5
7488
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489
  (exit $ac_status); } && {
7699
  (exit $ac_status); } && {
7490
	 test -z "$ac_c_werror_flag" ||
7700
	 test -z "$ac_c_werror_flag" ||
7491
	 test ! -s conftest.err
7701
	 test ! -s conftest.err
7492
       } && test -s conftest$ac_exeext &&
7702
       } && test -s conftest$ac_exeext && {
7493
       $as_test_x conftest$ac_exeext; then
7703
	 test "$cross_compiling" = yes ||
7704
	 $as_test_x conftest$ac_exeext
7705
       }; then
7494
  ac_cv_search_dlopen=$ac_res
7706
  ac_cv_search_dlopen=$ac_res
7495
else
7707
else
7496
  echo "$as_me: failed program was:" >&5
7708
  $as_echo "$as_me: failed program was:" >&5
7497
sed 's/^/| /' conftest.$ac_ext >&5
7709
sed 's/^/| /' conftest.$ac_ext >&5
7498
7710
7499
7711
7500
fi
7712
fi
7501
7713
7714
rm -rf conftest.dSYM
7502
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7715
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7503
      conftest$ac_exeext
7716
      conftest$ac_exeext
7504
  if test "${ac_cv_search_dlopen+set}" = set; then
7717
  if test "${ac_cv_search_dlopen+set}" = set; then
Lines 7513-7520 Link Here
7513
rm conftest.$ac_ext
7726
rm conftest.$ac_ext
7514
LIBS=$ac_func_search_save_LIBS
7727
LIBS=$ac_func_search_save_LIBS
7515
fi
7728
fi
7516
{ echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
7729
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
7517
echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
7730
$as_echo "$ac_cv_search_dlopen" >&6; }
7518
ac_res=$ac_cv_search_dlopen
7731
ac_res=$ac_cv_search_dlopen
7519
if test "$ac_res" != no; then
7732
if test "$ac_res" != no; then
7520
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7733
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
Lines 7528-7547 Link Here
7528
7741
7529
for ac_header in lua.h lua/lua.h
7742
for ac_header in lua.h lua/lua.h
7530
do
7743
do
7531
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7744
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7532
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7745
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7533
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
7746
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7534
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7747
$as_echo_n "checking for $ac_header... " >&6; }
7535
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7748
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7536
  echo $ECHO_N "(cached) $ECHO_C" >&6
7749
  $as_echo_n "(cached) " >&6
7537
fi
7750
fi
7538
ac_res=`eval echo '${'$as_ac_Header'}'`
7751
ac_res=`eval 'as_val=${'$as_ac_Header'}
7539
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7752
		 $as_echo "$as_val"'`
7540
echo "${ECHO_T}$ac_res" >&6; }
7753
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7754
$as_echo "$ac_res" >&6; }
7541
else
7755
else
7542
  # Is the header compilable?
7756
  # Is the header compilable?
7543
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7757
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7544
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7758
$as_echo_n "checking $ac_header usability... " >&6; }
7545
cat >conftest.$ac_ext <<_ACEOF
7759
cat >conftest.$ac_ext <<_ACEOF
7546
/* confdefs.h.  */
7760
/* confdefs.h.  */
7547
_ACEOF
7761
_ACEOF
Lines 7557-7588 Link Here
7557
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7558
  *) ac_try_echo=$ac_try;;
7772
  *) ac_try_echo=$ac_try;;
7559
esac
7773
esac
7560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7774
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7775
$as_echo "$ac_try_echo") >&5
7561
  (eval "$ac_compile") 2>conftest.er1
7776
  (eval "$ac_compile") 2>conftest.er1
7562
  ac_status=$?
7777
  ac_status=$?
7563
  grep -v '^ *+' conftest.er1 >conftest.err
7778
  grep -v '^ *+' conftest.er1 >conftest.err
7564
  rm -f conftest.er1
7779
  rm -f conftest.er1
7565
  cat conftest.err >&5
7780
  cat conftest.err >&5
7566
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567
  (exit $ac_status); } && {
7782
  (exit $ac_status); } && {
7568
	 test -z "$ac_c_werror_flag" ||
7783
	 test -z "$ac_c_werror_flag" ||
7569
	 test ! -s conftest.err
7784
	 test ! -s conftest.err
7570
       } && test -s conftest.$ac_objext; then
7785
       } && test -s conftest.$ac_objext; then
7571
  ac_header_compiler=yes
7786
  ac_header_compiler=yes
7572
else
7787
else
7573
  echo "$as_me: failed program was:" >&5
7788
  $as_echo "$as_me: failed program was:" >&5
7574
sed 's/^/| /' conftest.$ac_ext >&5
7789
sed 's/^/| /' conftest.$ac_ext >&5
7575
7790
7576
	ac_header_compiler=no
7791
	ac_header_compiler=no
7577
fi
7792
fi
7578
7793
7579
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7580
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7795
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7581
echo "${ECHO_T}$ac_header_compiler" >&6; }
7796
$as_echo "$ac_header_compiler" >&6; }
7582
7797
7583
# Is the header present?
7798
# Is the header present?
7584
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7799
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7585
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7800
$as_echo_n "checking $ac_header presence... " >&6; }
7586
cat >conftest.$ac_ext <<_ACEOF
7801
cat >conftest.$ac_ext <<_ACEOF
7587
/* confdefs.h.  */
7802
/* confdefs.h.  */
7588
_ACEOF
7803
_ACEOF
Lines 7596-7669 Link Here
7596
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7597
  *) ac_try_echo=$ac_try;;
7812
  *) ac_try_echo=$ac_try;;
7598
esac
7813
esac
7599
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7815
$as_echo "$ac_try_echo") >&5
7600
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7816
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7601
  ac_status=$?
7817
  ac_status=$?
7602
  grep -v '^ *+' conftest.er1 >conftest.err
7818
  grep -v '^ *+' conftest.er1 >conftest.err
7603
  rm -f conftest.er1
7819
  rm -f conftest.er1
7604
  cat conftest.err >&5
7820
  cat conftest.err >&5
7605
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606
  (exit $ac_status); } >/dev/null && {
7822
  (exit $ac_status); } >/dev/null && {
7607
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7823
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7608
	 test ! -s conftest.err
7824
	 test ! -s conftest.err
7609
       }; then
7825
       }; then
7610
  ac_header_preproc=yes
7826
  ac_header_preproc=yes
7611
else
7827
else
7612
  echo "$as_me: failed program was:" >&5
7828
  $as_echo "$as_me: failed program was:" >&5
7613
sed 's/^/| /' conftest.$ac_ext >&5
7829
sed 's/^/| /' conftest.$ac_ext >&5
7614
7830
7615
  ac_header_preproc=no
7831
  ac_header_preproc=no
7616
fi
7832
fi
7617
7833
7618
rm -f conftest.err conftest.$ac_ext
7834
rm -f conftest.err conftest.$ac_ext
7619
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7835
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7620
echo "${ECHO_T}$ac_header_preproc" >&6; }
7836
$as_echo "$ac_header_preproc" >&6; }
7621
7837
7622
# So?  What about this header?
7838
# So?  What about this header?
7623
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7839
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7624
  yes:no: )
7840
  yes:no: )
7625
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7841
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7626
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7842
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7627
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7843
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7628
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7844
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7629
    ac_header_preproc=yes
7845
    ac_header_preproc=yes
7630
    ;;
7846
    ;;
7631
  no:yes:* )
7847
  no:yes:* )
7632
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7848
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7633
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7849
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7634
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7850
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7635
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7851
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7636
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7852
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7637
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7853
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7638
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7854
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7639
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7855
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7640
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7856
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7641
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7857
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7642
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7858
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7643
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7859
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7644
7860
7645
    ;;
7861
    ;;
7646
esac
7862
esac
7647
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7863
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7648
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7864
$as_echo_n "checking for $ac_header... " >&6; }
7649
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7865
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7650
  echo $ECHO_N "(cached) $ECHO_C" >&6
7866
  $as_echo_n "(cached) " >&6
7651
else
7867
else
7652
  eval "$as_ac_Header=\$ac_header_preproc"
7868
  eval "$as_ac_Header=\$ac_header_preproc"
7653
fi
7869
fi
7654
ac_res=`eval echo '${'$as_ac_Header'}'`
7870
ac_res=`eval 'as_val=${'$as_ac_Header'}
7655
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7871
		 $as_echo "$as_val"'`
7656
echo "${ECHO_T}$ac_res" >&6; }
7872
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7873
$as_echo "$ac_res" >&6; }
7657
7874
7658
fi
7875
fi
7659
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7876
if test `eval 'as_val=${'$as_ac_Header'}
7877
		 $as_echo "$as_val"'` = yes; then
7660
  cat >>confdefs.h <<_ACEOF
7878
  cat >>confdefs.h <<_ACEOF
7661
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7879
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662
_ACEOF
7880
_ACEOF
7663
 { echo "$as_me:$LINENO: checking for lua_call in -llua" >&5
7881
 { $as_echo "$as_me:$LINENO: checking for lua_call in -llua" >&5
7664
echo $ECHO_N "checking for lua_call in -llua... $ECHO_C" >&6; }
7882
$as_echo_n "checking for lua_call in -llua... " >&6; }
7665
if test "${ac_cv_lib_lua_lua_call+set}" = set; then
7883
if test "${ac_cv_lib_lua_lua_call+set}" = set; then
7666
  echo $ECHO_N "(cached) $ECHO_C" >&6
7884
  $as_echo_n "(cached) " >&6
7667
else
7885
else
7668
  ac_check_lib_save_LIBS=$LIBS
7886
  ac_check_lib_save_LIBS=$LIBS
7669
LIBS="-llua -lm $LIBS"
7887
LIBS="-llua -lm $LIBS"
Lines 7695-7726 Link Here
7695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7696
  *) ac_try_echo=$ac_try;;
7914
  *) ac_try_echo=$ac_try;;
7697
esac
7915
esac
7698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7917
$as_echo "$ac_try_echo") >&5
7699
  (eval "$ac_link") 2>conftest.er1
7918
  (eval "$ac_link") 2>conftest.er1
7700
  ac_status=$?
7919
  ac_status=$?
7701
  grep -v '^ *+' conftest.er1 >conftest.err
7920
  grep -v '^ *+' conftest.er1 >conftest.err
7702
  rm -f conftest.er1
7921
  rm -f conftest.er1
7703
  cat conftest.err >&5
7922
  cat conftest.err >&5
7704
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705
  (exit $ac_status); } && {
7924
  (exit $ac_status); } && {
7706
	 test -z "$ac_c_werror_flag" ||
7925
	 test -z "$ac_c_werror_flag" ||
7707
	 test ! -s conftest.err
7926
	 test ! -s conftest.err
7708
       } && test -s conftest$ac_exeext &&
7927
       } && test -s conftest$ac_exeext && {
7709
       $as_test_x conftest$ac_exeext; then
7928
	 test "$cross_compiling" = yes ||
7929
	 $as_test_x conftest$ac_exeext
7930
       }; then
7710
  ac_cv_lib_lua_lua_call=yes
7931
  ac_cv_lib_lua_lua_call=yes
7711
else
7932
else
7712
  echo "$as_me: failed program was:" >&5
7933
  $as_echo "$as_me: failed program was:" >&5
7713
sed 's/^/| /' conftest.$ac_ext >&5
7934
sed 's/^/| /' conftest.$ac_ext >&5
7714
7935
7715
	ac_cv_lib_lua_lua_call=no
7936
	ac_cv_lib_lua_lua_call=no
7716
fi
7937
fi
7717
7938
7939
rm -rf conftest.dSYM
7718
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7940
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7719
      conftest$ac_exeext conftest.$ac_ext
7941
      conftest$ac_exeext conftest.$ac_ext
7720
LIBS=$ac_check_lib_save_LIBS
7942
LIBS=$ac_check_lib_save_LIBS
7721
fi
7943
fi
7722
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lua_lua_call" >&5
7944
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lua_lua_call" >&5
7723
echo "${ECHO_T}$ac_cv_lib_lua_lua_call" >&6; }
7945
$as_echo "$ac_cv_lib_lua_lua_call" >&6; }
7724
if test $ac_cv_lib_lua_lua_call = yes; then
7946
if test $ac_cv_lib_lua_lua_call = yes; then
7725
  have_lua=yes; break
7947
  have_lua=yes; break
7726
fi
7948
fi
Lines 7736-7748 Link Here
7736
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7958
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7737
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7959
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7738
7960
7739
    { echo "$as_me:$LINENO: checking for lua version >= 501" >&5
7961
    { $as_echo "$as_me:$LINENO: checking for lua version >= 501" >&5
7740
echo $ECHO_N "checking for lua version >= 501... $ECHO_C" >&6; }
7962
$as_echo_n "checking for lua version >= 501... " >&6; }
7741
7963
7742
if test "$cross_compiling" = yes; then
7964
if test "$cross_compiling" = yes; then
7743
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7965
  { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7744
See \`config.log' for more details." >&5
7966
See \`config.log' for more details." >&5
7745
echo "$as_me: error: cannot run test program while cross compiling
7967
$as_echo "$as_me: error: cannot run test program while cross compiling
7746
See \`config.log' for more details." >&2;}
7968
See \`config.log' for more details." >&2;}
7747
   { (exit 1); exit 1; }; }
7969
   { (exit 1); exit 1; }; }
7748
else
7970
else
Lines 7767-7795 Link Here
7767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7989
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7768
  *) ac_try_echo=$ac_try;;
7990
  *) ac_try_echo=$ac_try;;
7769
esac
7991
esac
7770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7993
$as_echo "$ac_try_echo") >&5
7771
  (eval "$ac_link") 2>&5
7994
  (eval "$ac_link") 2>&5
7772
  ac_status=$?
7995
  ac_status=$?
7773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7997
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7775
  { (case "(($ac_try" in
7998
  { (case "(($ac_try" in
7776
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7777
  *) ac_try_echo=$ac_try;;
8000
  *) ac_try_echo=$ac_try;;
7778
esac
8001
esac
7779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8003
$as_echo "$ac_try_echo") >&5
7780
  (eval "$ac_try") 2>&5
8004
  (eval "$ac_try") 2>&5
7781
  ac_status=$?
8005
  ac_status=$?
7782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783
  (exit $ac_status); }; }; then
8007
  (exit $ac_status); }; }; then
7784
  have_lua=yes
8008
  have_lua=yes
7785
else
8009
else
7786
  echo "$as_me: program exited with status $ac_status" >&5
8010
  $as_echo "$as_me: program exited with status $ac_status" >&5
7787
echo "$as_me: failed program was:" >&5
8011
$as_echo "$as_me: failed program was:" >&5
7788
sed 's/^/| /' conftest.$ac_ext >&5
8012
sed 's/^/| /' conftest.$ac_ext >&5
7789
8013
7790
( exit $ac_status )
8014
( exit $ac_status )
7791
have_lua=no
8015
have_lua=no
7792
fi
8016
fi
8017
rm -rf conftest.dSYM
7793
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8018
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7794
fi
8019
fi
7795
8020
Lines 7810-7817 Link Here
7810
8035
7811
  # if we didn't find we use our own
8036
  # if we didn't find we use our own
7812
  if test $have_lua != yes; then
8037
  if test $have_lua != yes; then
7813
    { echo "$as_me:$LINENO: result: no" >&5
8038
    { $as_echo "$as_me:$LINENO: result: no" >&5
7814
echo "${ECHO_T}no" >&6; }
8039
$as_echo "no" >&6; }
7815
    CPPFLAGS="-I$LIBLUADIR $CPPFLAGS"
8040
    CPPFLAGS="-I$LIBLUADIR $CPPFLAGS"
7816
    LIBLUA_LIBS="$LIBLUADIR/liblua.a"
8041
    LIBLUA_LIBS="$LIBLUADIR/liblua.a"
7817
    LUA_DEPENDS="$LIBLUADIR/liblua.a"
8042
    LUA_DEPENDS="$LIBLUADIR/liblua.a"
Lines 7819-7826 Link Here
7819
    LUA_CLEAN="lua_clean"
8044
    LUA_CLEAN="lua_clean"
7820
    LUA_DIST_CLEAN="lua_dist_clean"
8045
    LUA_DIST_CLEAN="lua_dist_clean"
7821
  else
8046
  else
7822
    { echo "$as_me:$LINENO: result: yes" >&5
8047
    { $as_echo "$as_me:$LINENO: result: yes" >&5
7823
echo "${ECHO_T}yes" >&6; }
8048
$as_echo "yes" >&6; }
7824
  fi
8049
  fi
7825
8050
7826
  INSTALLNSE="install-nse"
8051
  INSTALLNSE="install-nse"
Lines 7835-7844 Link Here
7835
8060
7836
8061
7837
8062
7838
{ echo "$as_me:$LINENO: checking if sockaddr{} has sa_len member" >&5
8063
{ $as_echo "$as_me:$LINENO: checking if sockaddr{} has sa_len member" >&5
7839
echo $ECHO_N "checking if sockaddr{} has sa_len member... $ECHO_C" >&6; }
8064
$as_echo_n "checking if sockaddr{} has sa_len member... " >&6; }
7840
if test "${ac_cv_sockaddr_has_sa_len+set}" = set; then
8065
if test "${ac_cv_sockaddr_has_sa_len+set}" = set; then
7841
  echo $ECHO_N "(cached) $ECHO_C" >&6
8066
  $as_echo_n "(cached) " >&6
7842
else
8067
else
7843
  cat >conftest.$ac_ext <<_ACEOF
8068
  cat >conftest.$ac_ext <<_ACEOF
7844
/* confdefs.h.  */
8069
/* confdefs.h.  */
Lines 7863-7882 Link Here
7863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7864
  *) ac_try_echo=$ac_try;;
8089
  *) ac_try_echo=$ac_try;;
7865
esac
8090
esac
7866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8092
$as_echo "$ac_try_echo") >&5
7867
  (eval "$ac_compile") 2>conftest.er1
8093
  (eval "$ac_compile") 2>conftest.er1
7868
  ac_status=$?
8094
  ac_status=$?
7869
  grep -v '^ *+' conftest.er1 >conftest.err
8095
  grep -v '^ *+' conftest.er1 >conftest.err
7870
  rm -f conftest.er1
8096
  rm -f conftest.er1
7871
  cat conftest.err >&5
8097
  cat conftest.err >&5
7872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873
  (exit $ac_status); } && {
8099
  (exit $ac_status); } && {
7874
	 test -z "$ac_c_werror_flag" ||
8100
	 test -z "$ac_c_werror_flag" ||
7875
	 test ! -s conftest.err
8101
	 test ! -s conftest.err
7876
       } && test -s conftest.$ac_objext; then
8102
       } && test -s conftest.$ac_objext; then
7877
  ac_cv_sockaddr_has_sa_len=yes
8103
  ac_cv_sockaddr_has_sa_len=yes
7878
else
8104
else
7879
  echo "$as_me: failed program was:" >&5
8105
  $as_echo "$as_me: failed program was:" >&5
7880
sed 's/^/| /' conftest.$ac_ext >&5
8106
sed 's/^/| /' conftest.$ac_ext >&5
7881
8107
7882
	ac_cv_sockaddr_has_sa_len=no
8108
	ac_cv_sockaddr_has_sa_len=no
Lines 7884-7891 Link Here
7884
8110
7885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7886
fi
8112
fi
7887
{ echo "$as_me:$LINENO: result: $ac_cv_sockaddr_has_sa_len" >&5
8113
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sockaddr_has_sa_len" >&5
7888
echo "${ECHO_T}$ac_cv_sockaddr_has_sa_len" >&6; }
8114
$as_echo "$ac_cv_sockaddr_has_sa_len" >&6; }
7889
if test $ac_cv_sockaddr_has_sa_len = yes ; then
8115
if test $ac_cv_sockaddr_has_sa_len = yes ; then
7890
        cat >>confdefs.h <<\_ACEOF
8116
        cat >>confdefs.h <<\_ACEOF
7891
#define HAVE_SOCKADDR_SA_LEN 1
8117
#define HAVE_SOCKADDR_SA_LEN 1
Lines 7894-7903 Link Here
7894
fi
8120
fi
7895
8121
7896
#dnl check endedness
8122
#dnl check endedness
7897
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8123
{ $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7898
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
8124
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7899
if test "${ac_cv_c_bigendian+set}" = set; then
8125
if test "${ac_cv_c_bigendian+set}" = set; then
7900
  echo $ECHO_N "(cached) $ECHO_C" >&6
8126
  $as_echo_n "(cached) " >&6
7901
else
8127
else
7902
  # See if sys/param.h defines the BYTE_ORDER macro.
8128
  # See if sys/param.h defines the BYTE_ORDER macro.
7903
cat >conftest.$ac_ext <<_ACEOF
8129
cat >conftest.$ac_ext <<_ACEOF
Lines 7927-7939 Link Here
7927
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928
  *) ac_try_echo=$ac_try;;
8154
  *) ac_try_echo=$ac_try;;
7929
esac
8155
esac
7930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8156
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8157
$as_echo "$ac_try_echo") >&5
7931
  (eval "$ac_compile") 2>conftest.er1
8158
  (eval "$ac_compile") 2>conftest.er1
7932
  ac_status=$?
8159
  ac_status=$?
7933
  grep -v '^ *+' conftest.er1 >conftest.err
8160
  grep -v '^ *+' conftest.er1 >conftest.err
7934
  rm -f conftest.er1
8161
  rm -f conftest.er1
7935
  cat conftest.err >&5
8162
  cat conftest.err >&5
7936
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937
  (exit $ac_status); } && {
8164
  (exit $ac_status); } && {
7938
	 test -z "$ac_c_werror_flag" ||
8165
	 test -z "$ac_c_werror_flag" ||
7939
	 test ! -s conftest.err
8166
	 test ! -s conftest.err
Lines 7965-7984 Link Here
7965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8192
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7966
  *) ac_try_echo=$ac_try;;
8193
  *) ac_try_echo=$ac_try;;
7967
esac
8194
esac
7968
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8196
$as_echo "$ac_try_echo") >&5
7969
  (eval "$ac_compile") 2>conftest.er1
8197
  (eval "$ac_compile") 2>conftest.er1
7970
  ac_status=$?
8198
  ac_status=$?
7971
  grep -v '^ *+' conftest.er1 >conftest.err
8199
  grep -v '^ *+' conftest.er1 >conftest.err
7972
  rm -f conftest.er1
8200
  rm -f conftest.er1
7973
  cat conftest.err >&5
8201
  cat conftest.err >&5
7974
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975
  (exit $ac_status); } && {
8203
  (exit $ac_status); } && {
7976
	 test -z "$ac_c_werror_flag" ||
8204
	 test -z "$ac_c_werror_flag" ||
7977
	 test ! -s conftest.err
8205
	 test ! -s conftest.err
7978
       } && test -s conftest.$ac_objext; then
8206
       } && test -s conftest.$ac_objext; then
7979
  ac_cv_c_bigendian=yes
8207
  ac_cv_c_bigendian=yes
7980
else
8208
else
7981
  echo "$as_me: failed program was:" >&5
8209
  $as_echo "$as_me: failed program was:" >&5
7982
sed 's/^/| /' conftest.$ac_ext >&5
8210
sed 's/^/| /' conftest.$ac_ext >&5
7983
8211
7984
	ac_cv_c_bigendian=no
8212
	ac_cv_c_bigendian=no
Lines 7986-7992 Link Here
7986
8214
7987
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7988
else
8216
else
7989
  echo "$as_me: failed program was:" >&5
8217
  $as_echo "$as_me: failed program was:" >&5
7990
sed 's/^/| /' conftest.$ac_ext >&5
8218
sed 's/^/| /' conftest.$ac_ext >&5
7991
8219
7992
	# It does not; compile a test program.
8220
	# It does not; compile a test program.
Lines 8019-8031 Link Here
8019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8020
  *) ac_try_echo=$ac_try;;
8248
  *) ac_try_echo=$ac_try;;
8021
esac
8249
esac
8022
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8250
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8251
$as_echo "$ac_try_echo") >&5
8023
  (eval "$ac_compile") 2>conftest.er1
8252
  (eval "$ac_compile") 2>conftest.er1
8024
  ac_status=$?
8253
  ac_status=$?
8025
  grep -v '^ *+' conftest.er1 >conftest.err
8254
  grep -v '^ *+' conftest.er1 >conftest.err
8026
  rm -f conftest.er1
8255
  rm -f conftest.er1
8027
  cat conftest.err >&5
8256
  cat conftest.err >&5
8028
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029
  (exit $ac_status); } && {
8258
  (exit $ac_status); } && {
8030
	 test -z "$ac_c_werror_flag" ||
8259
	 test -z "$ac_c_werror_flag" ||
8031
	 test ! -s conftest.err
8260
	 test ! -s conftest.err
Lines 8042-8048 Link Here
8042
  fi
8271
  fi
8043
fi
8272
fi
8044
else
8273
else
8045
  echo "$as_me: failed program was:" >&5
8274
  $as_echo "$as_me: failed program was:" >&5
8046
sed 's/^/| /' conftest.$ac_ext >&5
8275
sed 's/^/| /' conftest.$ac_ext >&5
8047
8276
8048
8277
Lines 8080-8108 Link Here
8080
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8081
  *) ac_try_echo=$ac_try;;
8310
  *) ac_try_echo=$ac_try;;
8082
esac
8311
esac
8083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8312
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8313
$as_echo "$ac_try_echo") >&5
8084
  (eval "$ac_link") 2>&5
8314
  (eval "$ac_link") 2>&5
8085
  ac_status=$?
8315
  ac_status=$?
8086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8317
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8088
  { (case "(($ac_try" in
8318
  { (case "(($ac_try" in
8089
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8090
  *) ac_try_echo=$ac_try;;
8320
  *) ac_try_echo=$ac_try;;
8091
esac
8321
esac
8092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8323
$as_echo "$ac_try_echo") >&5
8093
  (eval "$ac_try") 2>&5
8324
  (eval "$ac_try") 2>&5
8094
  ac_status=$?
8325
  ac_status=$?
8095
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096
  (exit $ac_status); }; }; then
8327
  (exit $ac_status); }; }; then
8097
  ac_cv_c_bigendian=no
8328
  ac_cv_c_bigendian=no
8098
else
8329
else
8099
  echo "$as_me: program exited with status $ac_status" >&5
8330
  $as_echo "$as_me: program exited with status $ac_status" >&5
8100
echo "$as_me: failed program was:" >&5
8331
$as_echo "$as_me: failed program was:" >&5
8101
sed 's/^/| /' conftest.$ac_ext >&5
8332
sed 's/^/| /' conftest.$ac_ext >&5
8102
8333
8103
( exit $ac_status )
8334
( exit $ac_status )
8104
ac_cv_c_bigendian=yes
8335
ac_cv_c_bigendian=yes
8105
fi
8336
fi
8337
rm -rf conftest.dSYM
8106
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8338
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8107
fi
8339
fi
8108
8340
Lines 8111-8118 Link Here
8111
8343
8112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8344
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8113
fi
8345
fi
8114
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8346
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8115
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
8347
$as_echo "$ac_cv_c_bigendian" >&6; }
8116
case $ac_cv_c_bigendian in
8348
case $ac_cv_c_bigendian in
8117
  yes)
8349
  yes)
8118
8350
Lines 8123-8138 Link Here
8123
  no)
8355
  no)
8124
     ;;
8356
     ;;
8125
  *)
8357
  *)
8126
    { { echo "$as_me:$LINENO: error: unknown endianness
8358
    { { $as_echo "$as_me:$LINENO: error: unknown endianness
8127
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8359
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
8128
echo "$as_me: error: unknown endianness
8360
$as_echo "$as_me: error: unknown endianness
8129
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8361
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
8130
   { (exit 1); exit 1; }; } ;;
8362
   { (exit 1); exit 1; }; } ;;
8131
esac
8363
esac
8132
8364
8133
8365
8134
{ echo "$as_me:$LINENO: checking if struct in_addr is a wacky huge structure (some Sun boxes)" >&5
8366
{ $as_echo "$as_me:$LINENO: checking if struct in_addr is a wacky huge structure (some Sun boxes)" >&5
8135
echo $ECHO_N "checking if struct in_addr is a wacky huge structure (some Sun boxes)... $ECHO_C" >&6; }
8367
$as_echo_n "checking if struct in_addr is a wacky huge structure (some Sun boxes)... " >&6; }
8136
8368
8137
cat >conftest.$ac_ext <<_ACEOF
8369
cat >conftest.$ac_ext <<_ACEOF
8138
/* confdefs.h.  */
8370
/* confdefs.h.  */
Lines 8155-8167 Link Here
8155
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8156
  *) ac_try_echo=$ac_try;;
8388
  *) ac_try_echo=$ac_try;;
8157
esac
8389
esac
8158
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8390
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8391
$as_echo "$ac_try_echo") >&5
8159
  (eval "$ac_compile") 2>conftest.er1
8392
  (eval "$ac_compile") 2>conftest.er1
8160
  ac_status=$?
8393
  ac_status=$?
8161
  grep -v '^ *+' conftest.er1 >conftest.err
8394
  grep -v '^ *+' conftest.er1 >conftest.err
8162
  rm -f conftest.er1
8395
  rm -f conftest.er1
8163
  cat conftest.err >&5
8396
  cat conftest.err >&5
8164
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165
  (exit $ac_status); } && {
8398
  (exit $ac_status); } && {
8166
	 test -z "$ac_c_werror_flag" ||
8399
	 test -z "$ac_c_werror_flag" ||
8167
	 test ! -s conftest.err
8400
	 test ! -s conftest.err
Lines 8171-8180 Link Here
8171
#define IN_ADDR_DEEPSTRUCT 1
8404
#define IN_ADDR_DEEPSTRUCT 1
8172
_ACEOF
8405
_ACEOF
8173
 \
8406
 \
8174
             { echo "$as_me:$LINENO: result: yes" >&5
8407
             { $as_echo "$as_me:$LINENO: result: yes" >&5
8175
echo "${ECHO_T}yes" >&6; }
8408
$as_echo "yes" >&6; }
8176
else
8409
else
8177
  echo "$as_me: failed program was:" >&5
8410
  $as_echo "$as_me: failed program was:" >&5
8178
sed 's/^/| /' conftest.$ac_ext >&5
8411
sed 's/^/| /' conftest.$ac_ext >&5
8179
8412
8180
	\
8413
	\
Lines 8200-8212 Link Here
8200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8201
  *) ac_try_echo=$ac_try;;
8434
  *) ac_try_echo=$ac_try;;
8202
esac
8435
esac
8203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8436
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8437
$as_echo "$ac_try_echo") >&5
8204
  (eval "$ac_compile") 2>conftest.er1
8438
  (eval "$ac_compile") 2>conftest.er1
8205
  ac_status=$?
8439
  ac_status=$?
8206
  grep -v '^ *+' conftest.er1 >conftest.err
8440
  grep -v '^ *+' conftest.er1 >conftest.err
8207
  rm -f conftest.er1
8441
  rm -f conftest.er1
8208
  cat conftest.err >&5
8442
  cat conftest.err >&5
8209
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210
  (exit $ac_status); } && {
8444
  (exit $ac_status); } && {
8211
	 test -z "$ac_c_werror_flag" ||
8445
	 test -z "$ac_c_werror_flag" ||
8212
	 test ! -s conftest.err
8446
	 test ! -s conftest.err
Lines 8216-8230 Link Here
8216
#define IN_ADDR_DEEPSTRUCT 1
8450
#define IN_ADDR_DEEPSTRUCT 1
8217
_ACEOF
8451
_ACEOF
8218
 \
8452
 \
8219
                             { echo "$as_me:$LINENO: result: yes" >&5
8453
                             { $as_echo "$as_me:$LINENO: result: yes" >&5
8220
echo "${ECHO_T}yes" >&6; }
8454
$as_echo "yes" >&6; }
8221
else
8455
else
8222
  echo "$as_me: failed program was:" >&5
8456
  $as_echo "$as_me: failed program was:" >&5
8223
sed 's/^/| /' conftest.$ac_ext >&5
8457
sed 's/^/| /' conftest.$ac_ext >&5
8224
8458
8225
	\
8459
	\
8226
                             { echo "$as_me:$LINENO: result: no" >&5
8460
                             { $as_echo "$as_me:$LINENO: result: no" >&5
8227
echo "${ECHO_T}no" >&6; };
8461
$as_echo "no" >&6; };
8228
fi
8462
fi
8229
8463
8230
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8464
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Lines 8232-8241 Link Here
8232
8466
8233
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8467
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8234
8468
8235
{ echo "$as_me:$LINENO: checking if struct icmp exists" >&5
8469
{ $as_echo "$as_me:$LINENO: checking if struct icmp exists" >&5
8236
echo $ECHO_N "checking if struct icmp exists... $ECHO_C" >&6; }
8470
$as_echo_n "checking if struct icmp exists... " >&6; }
8237
if test "${ac_cv_struct_icmp_exists+set}" = set; then
8471
if test "${ac_cv_struct_icmp_exists+set}" = set; then
8238
  echo $ECHO_N "(cached) $ECHO_C" >&6
8472
  $as_echo_n "(cached) " >&6
8239
else
8473
else
8240
  cat >conftest.$ac_ext <<_ACEOF
8474
  cat >conftest.$ac_ext <<_ACEOF
8241
/* confdefs.h.  */
8475
/* confdefs.h.  */
Lines 8267-8286 Link Here
8267
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8268
  *) ac_try_echo=$ac_try;;
8502
  *) ac_try_echo=$ac_try;;
8269
esac
8503
esac
8270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8504
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8505
$as_echo "$ac_try_echo") >&5
8271
  (eval "$ac_compile") 2>conftest.er1
8506
  (eval "$ac_compile") 2>conftest.er1
8272
  ac_status=$?
8507
  ac_status=$?
8273
  grep -v '^ *+' conftest.er1 >conftest.err
8508
  grep -v '^ *+' conftest.er1 >conftest.err
8274
  rm -f conftest.er1
8509
  rm -f conftest.er1
8275
  cat conftest.err >&5
8510
  cat conftest.err >&5
8276
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277
  (exit $ac_status); } && {
8512
  (exit $ac_status); } && {
8278
	 test -z "$ac_c_werror_flag" ||
8513
	 test -z "$ac_c_werror_flag" ||
8279
	 test ! -s conftest.err
8514
	 test ! -s conftest.err
8280
       } && test -s conftest.$ac_objext; then
8515
       } && test -s conftest.$ac_objext; then
8281
  ac_cv_struct_icmp_exists=yes
8516
  ac_cv_struct_icmp_exists=yes
8282
else
8517
else
8283
  echo "$as_me: failed program was:" >&5
8518
  $as_echo "$as_me: failed program was:" >&5
8284
sed 's/^/| /' conftest.$ac_ext >&5
8519
sed 's/^/| /' conftest.$ac_ext >&5
8285
8520
8286
	ac_cv_struct_icmp_exists=no
8521
	ac_cv_struct_icmp_exists=no
Lines 8288-8295 Link Here
8288
8523
8289
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8524
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8290
fi
8525
fi
8291
{ echo "$as_me:$LINENO: result: $ac_cv_struct_icmp_exists" >&5
8526
{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_icmp_exists" >&5
8292
echo "${ECHO_T}$ac_cv_struct_icmp_exists" >&6; }
8527
$as_echo "$ac_cv_struct_icmp_exists" >&6; }
8293
if test $ac_cv_struct_icmp_exists = yes ; then
8528
if test $ac_cv_struct_icmp_exists = yes ; then
8294
        cat >>confdefs.h <<\_ACEOF
8529
        cat >>confdefs.h <<\_ACEOF
8295
#define HAVE_STRUCT_ICMP 1
8530
#define HAVE_STRUCT_ICMP 1
Lines 8297-8306 Link Here
8297
8532
8298
fi
8533
fi
8299
8534
8300
{ echo "$as_me:$LINENO: checking if struct ip exists" >&5
8535
{ $as_echo "$as_me:$LINENO: checking if struct ip exists" >&5
8301
echo $ECHO_N "checking if struct ip exists... $ECHO_C" >&6; }
8536
$as_echo_n "checking if struct ip exists... " >&6; }
8302
if test "${ac_cv_struct_ip_exists+set}" = set; then
8537
if test "${ac_cv_struct_ip_exists+set}" = set; then
8303
  echo $ECHO_N "(cached) $ECHO_C" >&6
8538
  $as_echo_n "(cached) " >&6
8304
else
8539
else
8305
  cat >conftest.$ac_ext <<_ACEOF
8540
  cat >conftest.$ac_ext <<_ACEOF
8306
/* confdefs.h.  */
8541
/* confdefs.h.  */
Lines 8331-8350 Link Here
8331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8332
  *) ac_try_echo=$ac_try;;
8567
  *) ac_try_echo=$ac_try;;
8333
esac
8568
esac
8334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8570
$as_echo "$ac_try_echo") >&5
8335
  (eval "$ac_compile") 2>conftest.er1
8571
  (eval "$ac_compile") 2>conftest.er1
8336
  ac_status=$?
8572
  ac_status=$?
8337
  grep -v '^ *+' conftest.er1 >conftest.err
8573
  grep -v '^ *+' conftest.er1 >conftest.err
8338
  rm -f conftest.er1
8574
  rm -f conftest.er1
8339
  cat conftest.err >&5
8575
  cat conftest.err >&5
8340
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341
  (exit $ac_status); } && {
8577
  (exit $ac_status); } && {
8342
	 test -z "$ac_c_werror_flag" ||
8578
	 test -z "$ac_c_werror_flag" ||
8343
	 test ! -s conftest.err
8579
	 test ! -s conftest.err
8344
       } && test -s conftest.$ac_objext; then
8580
       } && test -s conftest.$ac_objext; then
8345
  ac_cv_struct_ip_exists=yes
8581
  ac_cv_struct_ip_exists=yes
8346
else
8582
else
8347
  echo "$as_me: failed program was:" >&5
8583
  $as_echo "$as_me: failed program was:" >&5
8348
sed 's/^/| /' conftest.$ac_ext >&5
8584
sed 's/^/| /' conftest.$ac_ext >&5
8349
8585
8350
	ac_cv_struct_ip_exists=no
8586
	ac_cv_struct_ip_exists=no
Lines 8352-8359 Link Here
8352
8588
8353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8354
fi
8590
fi
8355
{ echo "$as_me:$LINENO: result: $ac_cv_struct_ip_exists" >&5
8591
{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_ip_exists" >&5
8356
echo "${ECHO_T}$ac_cv_struct_ip_exists" >&6; }
8592
$as_echo "$ac_cv_struct_ip_exists" >&6; }
8357
if test $ac_cv_struct_ip_exists = yes ; then
8593
if test $ac_cv_struct_ip_exists = yes ; then
8358
        cat >>confdefs.h <<\_ACEOF
8594
        cat >>confdefs.h <<\_ACEOF
8359
#define HAVE_STRUCT_IP 1
8595
#define HAVE_STRUCT_IP 1
Lines 8361-8370 Link Here
8361
8597
8362
fi
8598
fi
8363
8599
8364
{ echo "$as_me:$LINENO: checking if struct ip has ip_sum member" >&5
8600
{ $as_echo "$as_me:$LINENO: checking if struct ip has ip_sum member" >&5
8365
echo $ECHO_N "checking if struct ip has ip_sum member... $ECHO_C" >&6; }
8601
$as_echo_n "checking if struct ip has ip_sum member... " >&6; }
8366
if test "${ac_cv_ip_has_ip_sum+set}" = set; then
8602
if test "${ac_cv_ip_has_ip_sum+set}" = set; then
8367
  echo $ECHO_N "(cached) $ECHO_C" >&6
8603
  $as_echo_n "(cached) " >&6
8368
else
8604
else
8369
  cat >conftest.$ac_ext <<_ACEOF
8605
  cat >conftest.$ac_ext <<_ACEOF
8370
/* confdefs.h.  */
8606
/* confdefs.h.  */
Lines 8396-8415 Link Here
8396
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8632
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8397
  *) ac_try_echo=$ac_try;;
8633
  *) ac_try_echo=$ac_try;;
8398
esac
8634
esac
8399
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8635
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8636
$as_echo "$ac_try_echo") >&5
8400
  (eval "$ac_compile") 2>conftest.er1
8637
  (eval "$ac_compile") 2>conftest.er1
8401
  ac_status=$?
8638
  ac_status=$?
8402
  grep -v '^ *+' conftest.er1 >conftest.err
8639
  grep -v '^ *+' conftest.er1 >conftest.err
8403
  rm -f conftest.er1
8640
  rm -f conftest.er1
8404
  cat conftest.err >&5
8641
  cat conftest.err >&5
8405
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406
  (exit $ac_status); } && {
8643
  (exit $ac_status); } && {
8407
	 test -z "$ac_c_werror_flag" ||
8644
	 test -z "$ac_c_werror_flag" ||
8408
	 test ! -s conftest.err
8645
	 test ! -s conftest.err
8409
       } && test -s conftest.$ac_objext; then
8646
       } && test -s conftest.$ac_objext; then
8410
  ac_cv_ip_has_ip_sum=yes
8647
  ac_cv_ip_has_ip_sum=yes
8411
else
8648
else
8412
  echo "$as_me: failed program was:" >&5
8649
  $as_echo "$as_me: failed program was:" >&5
8413
sed 's/^/| /' conftest.$ac_ext >&5
8650
sed 's/^/| /' conftest.$ac_ext >&5
8414
8651
8415
	ac_cv_ip_has_ip_sum=no
8652
	ac_cv_ip_has_ip_sum=no
Lines 8417-8424 Link Here
8417
8654
8418
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8655
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8419
fi
8656
fi
8420
{ echo "$as_me:$LINENO: result: $ac_cv_ip_has_ip_sum" >&5
8657
{ $as_echo "$as_me:$LINENO: result: $ac_cv_ip_has_ip_sum" >&5
8421
echo "${ECHO_T}$ac_cv_ip_has_ip_sum" >&6; }
8658
$as_echo "$ac_cv_ip_has_ip_sum" >&6; }
8422
if test $ac_cv_ip_has_ip_sum = yes ; then
8659
if test $ac_cv_ip_has_ip_sum = yes ; then
8423
        cat >>confdefs.h <<\_ACEOF
8660
        cat >>confdefs.h <<\_ACEOF
8424
#define HAVE_IP_IP_SUM 1
8661
#define HAVE_IP_IP_SUM 1
Lines 8429-8439 Link Here
8429
8666
8430
for ac_func in strerror
8667
for ac_func in strerror
8431
do
8668
do
8432
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8669
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8433
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8670
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8434
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8671
$as_echo_n "checking for $ac_func... " >&6; }
8435
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8672
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8436
  echo $ECHO_N "(cached) $ECHO_C" >&6
8673
  $as_echo_n "(cached) " >&6
8437
else
8674
else
8438
  cat >conftest.$ac_ext <<_ACEOF
8675
  cat >conftest.$ac_ext <<_ACEOF
8439
/* confdefs.h.  */
8676
/* confdefs.h.  */
Lines 8486-8520 Link Here
8486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8487
  *) ac_try_echo=$ac_try;;
8724
  *) ac_try_echo=$ac_try;;
8488
esac
8725
esac
8489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8726
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8727
$as_echo "$ac_try_echo") >&5
8490
  (eval "$ac_link") 2>conftest.er1
8728
  (eval "$ac_link") 2>conftest.er1
8491
  ac_status=$?
8729
  ac_status=$?
8492
  grep -v '^ *+' conftest.er1 >conftest.err
8730
  grep -v '^ *+' conftest.er1 >conftest.err
8493
  rm -f conftest.er1
8731
  rm -f conftest.er1
8494
  cat conftest.err >&5
8732
  cat conftest.err >&5
8495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496
  (exit $ac_status); } && {
8734
  (exit $ac_status); } && {
8497
	 test -z "$ac_c_werror_flag" ||
8735
	 test -z "$ac_c_werror_flag" ||
8498
	 test ! -s conftest.err
8736
	 test ! -s conftest.err
8499
       } && test -s conftest$ac_exeext &&
8737
       } && test -s conftest$ac_exeext && {
8500
       $as_test_x conftest$ac_exeext; then
8738
	 test "$cross_compiling" = yes ||
8739
	 $as_test_x conftest$ac_exeext
8740
       }; then
8501
  eval "$as_ac_var=yes"
8741
  eval "$as_ac_var=yes"
8502
else
8742
else
8503
  echo "$as_me: failed program was:" >&5
8743
  $as_echo "$as_me: failed program was:" >&5
8504
sed 's/^/| /' conftest.$ac_ext >&5
8744
sed 's/^/| /' conftest.$ac_ext >&5
8505
8745
8506
	eval "$as_ac_var=no"
8746
	eval "$as_ac_var=no"
8507
fi
8747
fi
8508
8748
8749
rm -rf conftest.dSYM
8509
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8750
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8510
      conftest$ac_exeext conftest.$ac_ext
8751
      conftest$ac_exeext conftest.$ac_ext
8511
fi
8752
fi
8512
ac_res=`eval echo '${'$as_ac_var'}'`
8753
ac_res=`eval 'as_val=${'$as_ac_var'}
8513
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
8754
		 $as_echo "$as_val"'`
8514
echo "${ECHO_T}$ac_res" >&6; }
8755
	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8515
if test `eval echo '${'$as_ac_var'}'` = yes; then
8756
$as_echo "$ac_res" >&6; }
8757
if test `eval 'as_val=${'$as_ac_var'}
8758
		 $as_echo "$as_val"'` = yes; then
8516
  cat >>confdefs.h <<_ACEOF
8759
  cat >>confdefs.h <<_ACEOF
8517
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8760
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8518
_ACEOF
8761
_ACEOF
8519
8762
8520
fi
8763
fi
Lines 8527-8534 Link Here
8527
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8770
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8528
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8771
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8529
8772
8530
   { echo "$as_me:$LINENO: checking for type of 6th argument to recvfrom()" >&5
8773
   { $as_echo "$as_me:$LINENO: checking for type of 6th argument to recvfrom()" >&5
8531
echo $ECHO_N "checking for type of 6th argument to recvfrom()... $ECHO_C" >&6; }
8774
$as_echo_n "checking for type of 6th argument to recvfrom()... " >&6; }
8532
   recvfrom6_t=
8775
   recvfrom6_t=
8533
   for t in socklen_t int; do
8776
   for t in socklen_t int; do
8534
     cat >conftest.$ac_ext <<_ACEOF
8777
     cat >conftest.$ac_ext <<_ACEOF
Lines 8558-8570 Link Here
8558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8559
  *) ac_try_echo=$ac_try;;
8802
  *) ac_try_echo=$ac_try;;
8560
esac
8803
esac
8561
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8804
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8805
$as_echo "$ac_try_echo") >&5
8562
  (eval "$ac_compile") 2>conftest.er1
8806
  (eval "$ac_compile") 2>conftest.er1
8563
  ac_status=$?
8807
  ac_status=$?
8564
  grep -v '^ *+' conftest.er1 >conftest.err
8808
  grep -v '^ *+' conftest.er1 >conftest.err
8565
  rm -f conftest.er1
8809
  rm -f conftest.er1
8566
  cat conftest.err >&5
8810
  cat conftest.err >&5
8567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568
  (exit $ac_status); } && {
8812
  (exit $ac_status); } && {
8569
	 test -z "$ac_cxx_werror_flag" ||
8813
	 test -z "$ac_cxx_werror_flag" ||
8570
	 test ! -s conftest.err
8814
	 test ! -s conftest.err
Lines 8573-8579 Link Here
8573
      recvfrom6_t="$t"
8817
      recvfrom6_t="$t"
8574
      break
8818
      break
8575
else
8819
else
8576
  echo "$as_me: failed program was:" >&5
8820
  $as_echo "$as_me: failed program was:" >&5
8577
sed 's/^/| /' conftest.$ac_ext >&5
8821
sed 's/^/| /' conftest.$ac_ext >&5
8578
8822
8579
8823
Lines 8583-8595 Link Here
8583
   done
8827
   done
8584
8828
8585
   if test "x$recvfrom6_t" = x; then
8829
   if test "x$recvfrom6_t" = x; then
8586
     { echo "$as_me:$LINENO: WARNING: Cannot find type for 6th argument to recvfrom(). Using socklen_t ptr" >&5
8830
     { $as_echo "$as_me:$LINENO: WARNING: Cannot find type for 6th argument to recvfrom(). Using socklen_t ptr" >&5
8587
echo "$as_me: WARNING: Cannot find type for 6th argument to recvfrom(). Using socklen_t ptr" >&2;}
8831
$as_echo "$as_me: WARNING: Cannot find type for 6th argument to recvfrom(). Using socklen_t ptr" >&2;}
8588
     recvfrom6_t="socklen_t"
8832
     recvfrom6_t="socklen_t"
8589
   fi
8833
   fi
8590
8834
8591
   { echo "$as_me:$LINENO: result: $recvfrom6_t" >&5
8835
   { $as_echo "$as_me:$LINENO: result: $recvfrom6_t" >&5
8592
echo "${ECHO_T}$recvfrom6_t" >&6; }
8836
$as_echo "$recvfrom6_t" >&6; }
8593
8837
8594
cat >>confdefs.h <<_ACEOF
8838
cat >>confdefs.h <<_ACEOF
8595
#define recvfrom6_t $recvfrom6_t
8839
#define recvfrom6_t $recvfrom6_t
Lines 8689-8699 Link Here
8689
    case $ac_val in #(
8933
    case $ac_val in #(
8690
    *${as_nl}*)
8934
    *${as_nl}*)
8691
      case $ac_var in #(
8935
      case $ac_var in #(
8692
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8936
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8693
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8937
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8694
      esac
8938
      esac
8695
      case $ac_var in #(
8939
      case $ac_var in #(
8696
      _ | IFS | as_nl) ;; #(
8940
      _ | IFS | as_nl) ;; #(
8941
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8697
      *) $as_unset $ac_var ;;
8942
      *) $as_unset $ac_var ;;
8698
      esac ;;
8943
      esac ;;
8699
    esac
8944
    esac
Lines 8726-8737 Link Here
8726
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8971
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8727
  if test -w "$cache_file"; then
8972
  if test -w "$cache_file"; then
8728
    test "x$cache_file" != "x/dev/null" &&
8973
    test "x$cache_file" != "x/dev/null" &&
8729
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8974
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
8730
echo "$as_me: updating cache $cache_file" >&6;}
8975
$as_echo "$as_me: updating cache $cache_file" >&6;}
8731
    cat confcache >$cache_file
8976
    cat confcache >$cache_file
8732
  else
8977
  else
8733
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8978
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8734
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8979
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8735
  fi
8980
  fi
8736
fi
8981
fi
8737
rm -f confcache
8982
rm -f confcache
Lines 8747-8753 Link Here
8747
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8992
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8748
  # 1. Remove the extension, and $U if already installed.
8993
  # 1. Remove the extension, and $U if already installed.
8749
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8994
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8750
  ac_i=`echo "$ac_i" | sed "$ac_script"`
8995
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8751
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8996
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
8752
  #    will be set to the directory where LIBOBJS objects are built.
8997
  #    will be set to the directory where LIBOBJS objects are built.
8753
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8998
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
Lines 8760-8770 Link Here
8760
9005
8761
9006
8762
: ${CONFIG_STATUS=./config.status}
9007
: ${CONFIG_STATUS=./config.status}
9008
ac_write_fail=0
8763
ac_clean_files_save=$ac_clean_files
9009
ac_clean_files_save=$ac_clean_files
8764
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9010
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8765
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9011
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8766
echo "$as_me: creating $CONFIG_STATUS" >&6;}
9012
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8767
cat >$CONFIG_STATUS <<_ACEOF
9013
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8768
#! $SHELL
9014
#! $SHELL
8769
# Generated by $as_me.
9015
# Generated by $as_me.
8770
# Run this file to recreate the current configuration.
9016
# Run this file to recreate the current configuration.
Lines 8777-8783 Link Here
8777
SHELL=\${CONFIG_SHELL-$SHELL}
9023
SHELL=\${CONFIG_SHELL-$SHELL}
8778
_ACEOF
9024
_ACEOF
8779
9025
8780
cat >>$CONFIG_STATUS <<\_ACEOF
9026
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8781
## --------------------- ##
9027
## --------------------- ##
8782
## M4sh Initialization.  ##
9028
## M4sh Initialization.  ##
8783
## --------------------- ##
9029
## --------------------- ##
Lines 8787-8793 Link Here
8787
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9033
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8788
  emulate sh
9034
  emulate sh
8789
  NULLCMD=:
9035
  NULLCMD=:
8790
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9036
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8791
  # is contrary to our usage.  Disable this feature.
9037
  # is contrary to our usage.  Disable this feature.
8792
  alias -g '${1+"$@"}'='"$@"'
9038
  alias -g '${1+"$@"}'='"$@"'
8793
  setopt NO_GLOB_SUBST
9039
  setopt NO_GLOB_SUBST
Lines 8809-8825 Link Here
8809
as_cr_digits='0123456789'
9055
as_cr_digits='0123456789'
8810
as_cr_alnum=$as_cr_Letters$as_cr_digits
9056
as_cr_alnum=$as_cr_Letters$as_cr_digits
8811
9057
8812
# The user is always right.
9058
as_nl='
8813
if test "${PATH_SEPARATOR+set}" != set; then
9059
'
8814
  echo "#! /bin/sh" >conf$$.sh
9060
export as_nl
8815
  echo  "exit 0"   >>conf$$.sh
9061
# Printing a long string crashes Solaris 7 /usr/bin/printf.
8816
  chmod +x conf$$.sh
9062
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8817
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9063
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8818
    PATH_SEPARATOR=';'
9064
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9065
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9066
  as_echo='printf %s\n'
9067
  as_echo_n='printf %s'
9068
else
9069
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9070
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9071
    as_echo_n='/usr/ucb/echo -n'
8819
  else
9072
  else
8820
    PATH_SEPARATOR=:
9073
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9074
    as_echo_n_body='eval
9075
      arg=$1;
9076
      case $arg in
9077
      *"$as_nl"*)
9078
	expr "X$arg" : "X\\(.*\\)$as_nl";
9079
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9080
      esac;
9081
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9082
    '
9083
    export as_echo_n_body
9084
    as_echo_n='sh -c $as_echo_n_body as_echo'
8821
  fi
9085
  fi
8822
  rm -f conf$$.sh
9086
  export as_echo_body
9087
  as_echo='sh -c $as_echo_body as_echo'
9088
fi
9089
9090
# The user is always right.
9091
if test "${PATH_SEPARATOR+set}" != set; then
9092
  PATH_SEPARATOR=:
9093
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9094
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9095
      PATH_SEPARATOR=';'
9096
  }
8823
fi
9097
fi
8824
9098
8825
# Support unset when possible.
9099
# Support unset when possible.
Lines 8835-8842 Link Here
8835
# there to prevent editors from complaining about space-tab.
9109
# there to prevent editors from complaining about space-tab.
8836
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
9110
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8837
# splitting by setting IFS to empty value.)
9111
# splitting by setting IFS to empty value.)
8838
as_nl='
8839
'
8840
IFS=" ""	$as_nl"
9112
IFS=" ""	$as_nl"
8841
9113
8842
# Find who we are.  Look in the path if we contain no directory separator.
9114
# Find who we are.  Look in the path if we contain no directory separator.
Lines 8859-8865 Link Here
8859
  as_myself=$0
9131
  as_myself=$0
8860
fi
9132
fi
8861
if test ! -f "$as_myself"; then
9133
if test ! -f "$as_myself"; then
8862
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9134
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8863
  { (exit 1); exit 1; }
9135
  { (exit 1); exit 1; }
8864
fi
9136
fi
8865
9137
Lines 8872-8888 Link Here
8872
PS4='+ '
9144
PS4='+ '
8873
9145
8874
# NLS nuisances.
9146
# NLS nuisances.
8875
for as_var in \
9147
LC_ALL=C
8876
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9148
export LC_ALL
8877
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9149
LANGUAGE=C
8878
  LC_TELEPHONE LC_TIME
9150
export LANGUAGE
8879
do
8880
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8881
    eval $as_var=C; export $as_var
8882
  else
8883
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8884
  fi
8885
done
8886
9151
8887
# Required to use basename.
9152
# Required to use basename.
8888
if expr a : '\(a\)' >/dev/null 2>&1 &&
9153
if expr a : '\(a\)' >/dev/null 2>&1 &&
Lines 8904-8910 Link Here
8904
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9169
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8905
	 X"$0" : 'X\(//\)$' \| \
9170
	 X"$0" : 'X\(//\)$' \| \
8906
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9171
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8907
echo X/"$0" |
9172
$as_echo X/"$0" |
8908
    sed '/^.*\/\([^/][^/]*\)\/*$/{
9173
    sed '/^.*\/\([^/][^/]*\)\/*$/{
8909
	    s//\1/
9174
	    s//\1/
8910
	    q
9175
	    q
Lines 8955-8961 Link Here
8955
      s/-\n.*//
9220
      s/-\n.*//
8956
    ' >$as_me.lineno &&
9221
    ' >$as_me.lineno &&
8957
  chmod +x "$as_me.lineno" ||
9222
  chmod +x "$as_me.lineno" ||
8958
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9223
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8959
   { (exit 1); exit 1; }; }
9224
   { (exit 1); exit 1; }; }
8960
9225
8961
  # Don't try to exec as it changes $[0], causing all sort of problems
9226
  # Don't try to exec as it changes $[0], causing all sort of problems
Lines 8983-8989 Link Here
8983
*)
9248
*)
8984
  ECHO_N='-n';;
9249
  ECHO_N='-n';;
8985
esac
9250
esac
8986
8987
if expr a : '\(a\)' >/dev/null 2>&1 &&
9251
if expr a : '\(a\)' >/dev/null 2>&1 &&
8988
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
9252
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
8989
  as_expr=expr
9253
  as_expr=expr
Lines 8996-9014 Link Here
8996
  rm -f conf$$.dir/conf$$.file
9260
  rm -f conf$$.dir/conf$$.file
8997
else
9261
else
8998
  rm -f conf$$.dir
9262
  rm -f conf$$.dir
8999
  mkdir conf$$.dir
9263
  mkdir conf$$.dir 2>/dev/null
9000
fi
9264
fi
9001
echo >conf$$.file
9265
if (echo >conf$$.file) 2>/dev/null; then
9002
if ln -s conf$$.file conf$$ 2>/dev/null; then
9266
  if ln -s conf$$.file conf$$ 2>/dev/null; then
9003
  as_ln_s='ln -s'
9267
    as_ln_s='ln -s'
9004
  # ... but there are two gotchas:
9268
    # ... but there are two gotchas:
9005
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9269
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9006
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9270
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9007
  # In both cases, we have to default to `cp -p'.
9271
    # In both cases, we have to default to `cp -p'.
9008
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9272
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9273
      as_ln_s='cp -p'
9274
  elif ln conf$$.file conf$$ 2>/dev/null; then
9275
    as_ln_s=ln
9276
  else
9009
    as_ln_s='cp -p'
9277
    as_ln_s='cp -p'
9010
elif ln conf$$.file conf$$ 2>/dev/null; then
9278
  fi
9011
  as_ln_s=ln
9012
else
9279
else
9013
  as_ln_s='cp -p'
9280
  as_ln_s='cp -p'
9014
fi
9281
fi
Lines 9033-9042 Link Here
9033
  as_test_x='
9300
  as_test_x='
9034
    eval sh -c '\''
9301
    eval sh -c '\''
9035
      if test -d "$1"; then
9302
      if test -d "$1"; then
9036
        test -d "$1/.";
9303
	test -d "$1/.";
9037
      else
9304
      else
9038
	case $1 in
9305
	case $1 in
9039
        -*)set "./$1";;
9306
	-*)set "./$1";;
9040
	esac;
9307
	esac;
9041
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9308
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9042
	???[sx]*):;;*)false;;esac;fi
9309
	???[sx]*):;;*)false;;esac;fi
Lines 9059-9065 Link Here
9059
# values after options handling.
9326
# values after options handling.
9060
ac_log="
9327
ac_log="
9061
This file was extended by $as_me, which was
9328
This file was extended by $as_me, which was
9062
generated by GNU Autoconf 2.61.  Invocation command line was
9329
generated by GNU Autoconf 2.62.  Invocation command line was
9063
9330
9064
  CONFIG_FILES    = $CONFIG_FILES
9331
  CONFIG_FILES    = $CONFIG_FILES
9065
  CONFIG_HEADERS  = $CONFIG_HEADERS
9332
  CONFIG_HEADERS  = $CONFIG_HEADERS
Lines 9072-9085 Link Here
9072
9339
9073
_ACEOF
9340
_ACEOF
9074
9341
9075
cat >>$CONFIG_STATUS <<_ACEOF
9342
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9076
# Files that config.status was made for.
9343
# Files that config.status was made for.
9077
config_files="$ac_config_files"
9344
config_files="`echo $ac_config_files`"
9078
config_headers="$ac_config_headers"
9345
config_headers="`echo $ac_config_headers`"
9079
9346
9080
_ACEOF
9347
_ACEOF
9081
9348
9082
cat >>$CONFIG_STATUS <<\_ACEOF
9349
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9083
ac_cs_usage="\
9350
ac_cs_usage="\
9084
\`$as_me' instantiates files from templates according to the
9351
\`$as_me' instantiates files from templates according to the
9085
current configuration.
9352
current configuration.
Lines 9092-9100 Link Here
9092
  -d, --debug      don't remove temporary files
9359
  -d, --debug      don't remove temporary files
9093
      --recheck    update $as_me by reconfiguring in the same conditions
9360
      --recheck    update $as_me by reconfiguring in the same conditions
9094
  --file=FILE[:TEMPLATE]
9361
  --file=FILE[:TEMPLATE]
9095
		   instantiate the configuration file FILE
9362
                   instantiate the configuration file FILE
9096
  --header=FILE[:TEMPLATE]
9363
  --header=FILE[:TEMPLATE]
9097
		   instantiate the configuration header FILE
9364
                   instantiate the configuration header FILE
9098
9365
9099
Configuration files:
9366
Configuration files:
9100
$config_files
9367
$config_files
Lines 9105-9128 Link Here
9105
Report bugs to <bug-autoconf@gnu.org>."
9372
Report bugs to <bug-autoconf@gnu.org>."
9106
9373
9107
_ACEOF
9374
_ACEOF
9108
cat >>$CONFIG_STATUS <<_ACEOF
9375
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9109
ac_cs_version="\\
9376
ac_cs_version="\\
9110
config.status
9377
config.status
9111
configured by $0, generated by GNU Autoconf 2.61,
9378
configured by $0, generated by GNU Autoconf 2.62,
9112
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9379
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9113
9380
9114
Copyright (C) 2006 Free Software Foundation, Inc.
9381
Copyright (C) 2008 Free Software Foundation, Inc.
9115
This config.status script is free software; the Free Software Foundation
9382
This config.status script is free software; the Free Software Foundation
9116
gives unlimited permission to copy, distribute and modify it."
9383
gives unlimited permission to copy, distribute and modify it."
9117
9384
9118
ac_pwd='$ac_pwd'
9385
ac_pwd='$ac_pwd'
9119
srcdir='$srcdir'
9386
srcdir='$srcdir'
9120
INSTALL='$INSTALL'
9387
INSTALL='$INSTALL'
9388
test -n "\$AWK" || AWK=awk
9121
_ACEOF
9389
_ACEOF
9122
9390
9123
cat >>$CONFIG_STATUS <<\_ACEOF
9391
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9124
# If no file are specified by the user, then we need to provide default
9392
# The default lists apply if the user does not specify any file.
9125
# value.  By we need to know if files were specified by the user.
9126
ac_need_defaults=:
9393
ac_need_defaults=:
9127
while test $# != 0
9394
while test $# != 0
9128
do
9395
do
Lines 9144-9173 Link Here
9144
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9411
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9145
    ac_cs_recheck=: ;;
9412
    ac_cs_recheck=: ;;
9146
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9413
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9147
    echo "$ac_cs_version"; exit ;;
9414
    $as_echo "$ac_cs_version"; exit ;;
9148
  --debug | --debu | --deb | --de | --d | -d )
9415
  --debug | --debu | --deb | --de | --d | -d )
9149
    debug=: ;;
9416
    debug=: ;;
9150
  --file | --fil | --fi | --f )
9417
  --file | --fil | --fi | --f )
9151
    $ac_shift
9418
    $ac_shift
9152
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9419
    case $ac_optarg in
9420
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9421
    esac
9422
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
9153
    ac_need_defaults=false;;
9423
    ac_need_defaults=false;;
9154
  --header | --heade | --head | --hea )
9424
  --header | --heade | --head | --hea )
9155
    $ac_shift
9425
    $ac_shift
9156
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9426
    case $ac_optarg in
9427
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9428
    esac
9429
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
9157
    ac_need_defaults=false;;
9430
    ac_need_defaults=false;;
9158
  --he | --h)
9431
  --he | --h)
9159
    # Conflict between --help and --header
9432
    # Conflict between --help and --header
9160
    { echo "$as_me: error: ambiguous option: $1
9433
    { $as_echo "$as_me: error: ambiguous option: $1
9161
Try \`$0 --help' for more information." >&2
9434
Try \`$0 --help' for more information." >&2
9162
   { (exit 1); exit 1; }; };;
9435
   { (exit 1); exit 1; }; };;
9163
  --help | --hel | -h )
9436
  --help | --hel | -h )
9164
    echo "$ac_cs_usage"; exit ;;
9437
    $as_echo "$ac_cs_usage"; exit ;;
9165
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9438
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9166
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9439
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9167
    ac_cs_silent=: ;;
9440
    ac_cs_silent=: ;;
9168
9441
9169
  # This is an error.
9442
  # This is an error.
9170
  -*) { echo "$as_me: error: unrecognized option: $1
9443
  -*) { $as_echo "$as_me: error: unrecognized option: $1
9171
Try \`$0 --help' for more information." >&2
9444
Try \`$0 --help' for more information." >&2
9172
   { (exit 1); exit 1; }; } ;;
9445
   { (exit 1); exit 1; }; } ;;
9173
9446
Lines 9186-9215 Link Here
9186
fi
9459
fi
9187
9460
9188
_ACEOF
9461
_ACEOF
9189
cat >>$CONFIG_STATUS <<_ACEOF
9462
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9190
if \$ac_cs_recheck; then
9463
if \$ac_cs_recheck; then
9191
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9464
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9192
  CONFIG_SHELL=$SHELL
9465
  shift
9466
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9467
  CONFIG_SHELL='$SHELL'
9193
  export CONFIG_SHELL
9468
  export CONFIG_SHELL
9194
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9469
  exec "\$@"
9195
fi
9470
fi
9196
9471
9197
_ACEOF
9472
_ACEOF
9198
cat >>$CONFIG_STATUS <<\_ACEOF
9473
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9199
exec 5>>config.log
9474
exec 5>>config.log
9200
{
9475
{
9201
  echo
9476
  echo
9202
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9477
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9203
## Running $as_me. ##
9478
## Running $as_me. ##
9204
_ASBOX
9479
_ASBOX
9205
  echo "$ac_log"
9480
  $as_echo "$ac_log"
9206
} >&5
9481
} >&5
9207
9482
9208
_ACEOF
9483
_ACEOF
9209
cat >>$CONFIG_STATUS <<_ACEOF
9484
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9210
_ACEOF
9485
_ACEOF
9211
9486
9212
cat >>$CONFIG_STATUS <<\_ACEOF
9487
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9213
9488
9214
# Handling of arguments.
9489
# Handling of arguments.
9215
for ac_config_target in $ac_config_targets
9490
for ac_config_target in $ac_config_targets
Lines 9218-9225 Link Here
9218
    "nmap_config.h") CONFIG_HEADERS="$CONFIG_HEADERS nmap_config.h" ;;
9493
    "nmap_config.h") CONFIG_HEADERS="$CONFIG_HEADERS nmap_config.h" ;;
9219
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9494
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9220
9495
9221
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9496
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9222
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9497
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9223
   { (exit 1); exit 1; }; };;
9498
   { (exit 1); exit 1; }; };;
9224
  esac
9499
  esac
9225
done
9500
done
Lines 9259-9478 Link Here
9259
  (umask 077 && mkdir "$tmp")
9534
  (umask 077 && mkdir "$tmp")
9260
} ||
9535
} ||
9261
{
9536
{
9262
   echo "$me: cannot create a temporary directory in ." >&2
9537
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
9263
   { (exit 1); exit 1; }
9538
   { (exit 1); exit 1; }
9264
}
9539
}
9265
9540
9266
#
9541
# Set up the scripts for CONFIG_FILES section.
9267
# Set up the sed scripts for CONFIG_FILES section.
9542
# No need to generate them if there are no CONFIG_FILES.
9268
#
9543
# This happens for instance with `./config.status config.h'.
9269
9270
# No need to generate the scripts if there are no CONFIG_FILES.
9271
# This happens for instance when ./config.status config.h
9272
if test -n "$CONFIG_FILES"; then
9544
if test -n "$CONFIG_FILES"; then
9273
9545
9274
_ACEOF
9275
9276
9277
9278
ac_delim='%!_!# '
9279
for ac_last_try in false false false false false :; do
9280
  cat >conf$$subs.sed <<_ACEOF
9281
SHELL!$SHELL$ac_delim
9282
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9283
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9284
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9285
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9286
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9287
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9288
exec_prefix!$exec_prefix$ac_delim
9289
prefix!$prefix$ac_delim
9290
program_transform_name!$program_transform_name$ac_delim
9291
bindir!$bindir$ac_delim
9292
sbindir!$sbindir$ac_delim
9293
libexecdir!$libexecdir$ac_delim
9294
datarootdir!$datarootdir$ac_delim
9295
datadir!$datadir$ac_delim
9296
sysconfdir!$sysconfdir$ac_delim
9297
sharedstatedir!$sharedstatedir$ac_delim
9298
localstatedir!$localstatedir$ac_delim
9299
includedir!$includedir$ac_delim
9300
oldincludedir!$oldincludedir$ac_delim
9301
docdir!$docdir$ac_delim
9302
infodir!$infodir$ac_delim
9303
htmldir!$htmldir$ac_delim
9304
dvidir!$dvidir$ac_delim
9305
pdfdir!$pdfdir$ac_delim
9306
psdir!$psdir$ac_delim
9307
libdir!$libdir$ac_delim
9308
localedir!$localedir$ac_delim
9309
mandir!$mandir$ac_delim
9310
DEFS!$DEFS$ac_delim
9311
ECHO_C!$ECHO_C$ac_delim
9312
ECHO_N!$ECHO_N$ac_delim
9313
ECHO_T!$ECHO_T$ac_delim
9314
LIBS!$LIBS$ac_delim
9315
build_alias!$build_alias$ac_delim
9316
host_alias!$host_alias$ac_delim
9317
target_alias!$target_alias$ac_delim
9318
libpcapdir!$libpcapdir$ac_delim
9319
pcredir!$pcredir$ac_delim
9320
build!$build$ac_delim
9321
build_cpu!$build_cpu$ac_delim
9322
build_vendor!$build_vendor$ac_delim
9323
build_os!$build_os$ac_delim
9324
host!$host$ac_delim
9325
host_cpu!$host_cpu$ac_delim
9326
host_vendor!$host_vendor$ac_delim
9327
host_os!$host_os$ac_delim
9328
CC!$CC$ac_delim
9329
CFLAGS!$CFLAGS$ac_delim
9330
LDFLAGS!$LDFLAGS$ac_delim
9331
CPPFLAGS!$CPPFLAGS$ac_delim
9332
ac_ct_CC!$ac_ct_CC$ac_delim
9333
EXEEXT!$EXEEXT$ac_delim
9334
OBJEXT!$OBJEXT$ac_delim
9335
CXX!$CXX$ac_delim
9336
CXXFLAGS!$CXXFLAGS$ac_delim
9337
ac_ct_CXX!$ac_ct_CXX$ac_delim
9338
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9339
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9340
INSTALL_DATA!$INSTALL_DATA$ac_delim
9341
COMPAT_OBJS!$COMPAT_OBJS$ac_delim
9342
COMPAT_SRCS!$COMPAT_SRCS$ac_delim
9343
STRIP!$STRIP$ac_delim
9344
LUA_CFLAGS!$LUA_CFLAGS$ac_delim
9345
CPP!$CPP$ac_delim
9346
GREP!$GREP$ac_delim
9347
EGREP!$EGREP$ac_delim
9348
PYTHON!$PYTHON$ac_delim
9349
PYTHON_VERSION!$PYTHON_VERSION$ac_delim
9350
PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
9351
PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
9352
PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
9353
pythondir!$pythondir$ac_delim
9354
pkgpythondir!$pkgpythondir$ac_delim
9355
pyexecdir!$pyexecdir$ac_delim
9356
pkgpyexecdir!$pkgpyexecdir$ac_delim
9357
BUILDZENMAP!$BUILDZENMAP$ac_delim
9358
INSTALLZENMAP!$INSTALLZENMAP$ac_delim
9359
UNINSTALLZENMAP!$UNINSTALLZENMAP$ac_delim
9360
ZENMAP_CLEAN!$ZENMAP_CLEAN$ac_delim
9361
ZENMAP_DIST_CLEAN!$ZENMAP_DIST_CLEAN$ac_delim
9362
OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim
9363
PCAP_DEPENDS!$PCAP_DEPENDS$ac_delim
9364
PCAP_BUILD!$PCAP_BUILD$ac_delim
9365
PCAP_CLEAN!$PCAP_CLEAN$ac_delim
9366
PCAP_DIST_CLEAN!$PCAP_DIST_CLEAN$ac_delim
9367
LIBPCAP_LIBS!$LIBPCAP_LIBS$ac_delim
9368
subdirs!$subdirs$ac_delim
9369
LIBPCRE_LIBS!$LIBPCRE_LIBS$ac_delim
9370
LIBPCREDIR!$LIBPCREDIR$ac_delim
9371
PCRE_DEPENDS!$PCRE_DEPENDS$ac_delim
9372
PCRE_BUILD!$PCRE_BUILD$ac_delim
9373
PCRE_CLEAN!$PCRE_CLEAN$ac_delim
9374
PCRE_DIST_CLEAN!$PCRE_DIST_CLEAN$ac_delim
9375
LIBDNET_LIBS!$LIBDNET_LIBS$ac_delim
9376
LIBDNETDIR!$LIBDNETDIR$ac_delim
9377
DNET_DEPENDS!$DNET_DEPENDS$ac_delim
9378
_ACEOF
9379
9546
9380
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9547
ac_cr='
'
9381
    break
9548
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9382
  elif $ac_last_try; then
9549
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9383
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9550
  ac_cs_awk_cr='\\r'
9384
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9551
else
9385
   { (exit 1); exit 1; }; }
9552
  ac_cs_awk_cr=$ac_cr
9386
  else
9387
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9388
  fi
9389
done
9390
9391
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9392
if test -n "$ac_eof"; then
9393
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9394
  ac_eof=`expr $ac_eof + 1`
9395
fi
9553
fi
9396
9554
9397
cat >>$CONFIG_STATUS <<_ACEOF
9555
echo 'BEGIN {' >"$tmp/subs1.awk" &&
9398
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9399
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9400
_ACEOF
9401
sed '
9402
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9403
s/^/s,@/; s/!/@,|#_!!_#|/
9404
:n
9405
t n
9406
s/'"$ac_delim"'$/,g/; t
9407
s/$/\\/; p
9408
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9409
' >>$CONFIG_STATUS <conf$$subs.sed
9410
rm -f conf$$subs.sed
9411
cat >>$CONFIG_STATUS <<_ACEOF
9412
CEOF$ac_eof
9413
_ACEOF
9556
_ACEOF
9414
9557
9415
9558
9559
{
9560
  echo "cat >conf$$subs.awk <<_ACEOF" &&
9561
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9562
  echo "_ACEOF"
9563
} >conf$$subs.sh ||
9564
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9565
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9566
   { (exit 1); exit 1; }; }
9567
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9416
ac_delim='%!_!# '
9568
ac_delim='%!_!# '
9417
for ac_last_try in false false false false false :; do
9569
for ac_last_try in false false false false false :; do
9418
  cat >conf$$subs.sed <<_ACEOF
9570
  . ./conf$$subs.sh ||
9419
DNET_BUILD!$DNET_BUILD$ac_delim
9571
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9420
DNET_CLEAN!$DNET_CLEAN$ac_delim
9572
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9421
DNET_DIST_CLEAN!$DNET_DIST_CLEAN$ac_delim
9573
   { (exit 1); exit 1; }; }
9422
LIBLUA_LIBS!$LIBLUA_LIBS$ac_delim
9423
LIBLUADIR!$LIBLUADIR$ac_delim
9424
LUA_DEPENDS!$LUA_DEPENDS$ac_delim
9425
LUA_BUILD!$LUA_BUILD$ac_delim
9426
LUA_CLEAN!$LUA_CLEAN$ac_delim
9427
LUA_DIST_CLEAN!$LUA_DIST_CLEAN$ac_delim
9428
INSTALLNSE!$INSTALLNSE$ac_delim
9429
NBASEDIR!$NBASEDIR$ac_delim
9430
NBASE_BUILD!$NBASE_BUILD$ac_delim
9431
LIBNBASE_LIBS!$LIBNBASE_LIBS$ac_delim
9432
NSOCKDIR!$NSOCKDIR$ac_delim
9433
NSOCK_BUILD!$NSOCK_BUILD$ac_delim
9434
LIBNSOCK_LIBS!$LIBNSOCK_LIBS$ac_delim
9435
LIBOBJS!$LIBOBJS$ac_delim
9436
LTLIBOBJS!$LTLIBOBJS$ac_delim
9437
_ACEOF
9438
9574
9439
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then
9575
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
9440
    break
9576
    break
9441
  elif $ac_last_try; then
9577
  elif $ac_last_try; then
9442
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9578
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9443
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9579
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9444
   { (exit 1); exit 1; }; }
9580
   { (exit 1); exit 1; }; }
9445
  else
9581
  else
9446
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9582
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9447
  fi
9583
  fi
9448
done
9584
done
9585
rm -f conf$$subs.sh
9449
9586
9450
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9587
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9451
if test -n "$ac_eof"; then
9588
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9452
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9453
  ac_eof=`expr $ac_eof + 1`
9454
fi
9455
9456
cat >>$CONFIG_STATUS <<_ACEOF
9457
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9458
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9459
_ACEOF
9460
sed '
9461
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9462
s/^/s,@/; s/!/@,|#_!!_#|/
9463
:n
9464
t n
9465
s/'"$ac_delim"'$/,g/; t
9466
s/$/\\/; p
9467
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9468
' >>$CONFIG_STATUS <conf$$subs.sed
9469
rm -f conf$$subs.sed
9470
cat >>$CONFIG_STATUS <<_ACEOF
9471
:end
9472
s/|#_!!_#|//g
9473
CEOF$ac_eof
9474
_ACEOF
9589
_ACEOF
9590
sed -n '
9591
h
9592
s/^/S["/; s/!.*/"]=/
9593
p
9594
g
9595
s/^[^!]*!//
9596
:repl
9597
t repl
9598
s/'"$ac_delim"'$//
9599
t delim
9600
:nl
9601
h
9602
s/\(.\{148\}\).*/\1/
9603
t more1
9604
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9605
p
9606
n
9607
b repl
9608
:more1
9609
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9610
p
9611
g
9612
s/.\{148\}//
9613
t nl
9614
:delim
9615
h
9616
s/\(.\{148\}\).*/\1/
9617
t more2
9618
s/["\\]/\\&/g; s/^/"/; s/$/"/
9619
p
9620
b
9621
:more2
9622
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9623
p
9624
g
9625
s/.\{148\}//
9626
t delim
9627
' <conf$$subs.awk | sed '
9628
/^[^""]/{
9629
  N
9630
  s/\n//
9631
}
9632
' >>$CONFIG_STATUS || ac_write_fail=1
9633
rm -f conf$$subs.awk
9634
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9635
_ACAWK
9636
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9637
  for (key in S) S_is_set[key] = 1
9638
  FS = ""
9475
9639
9640
}
9641
{
9642
  line = $ 0
9643
  nfields = split(line, field, "@")
9644
  substed = 0
9645
  len = length(field[1])
9646
  for (i = 2; i < nfields; i++) {
9647
    key = field[i]
9648
    keylen = length(key)
9649
    if (S_is_set[key]) {
9650
      value = S[key]
9651
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9652
      len += length(value) + length(field[++i])
9653
      substed = 1
9654
    } else
9655
      len += 1 + keylen
9656
  }
9657
9658
  print line
9659
}
9660
9661
_ACAWK
9662
_ACEOF
9663
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9664
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9665
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9666
else
9667
  cat
9668
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9669
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
9670
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
9671
   { (exit 1); exit 1; }; }
9672
_ACEOF
9476
9673
9477
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9674
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9478
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9675
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
Lines 9489-9507 Link Here
9489
}'
9686
}'
9490
fi
9687
fi
9491
9688
9492
cat >>$CONFIG_STATUS <<\_ACEOF
9689
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9493
fi # test -n "$CONFIG_FILES"
9690
fi # test -n "$CONFIG_FILES"
9494
9691
9692
# Set up the scripts for CONFIG_HEADERS section.
9693
# No need to generate them if there are no CONFIG_HEADERS.
9694
# This happens for instance with `./config.status Makefile'.
9695
if test -n "$CONFIG_HEADERS"; then
9696
cat >"$tmp/defines.awk" <<\_ACAWK ||
9697
BEGIN {
9698
_ACEOF
9699
9700
# Transform confdefs.h into an awk script `defines.awk', embedded as
9701
# here-document in config.status, that substitutes the proper values into
9702
# config.h.in to produce config.h.
9703
9704
# Create a delimiter string that does not exist in confdefs.h, to ease
9705
# handling of long lines.
9706
ac_delim='%!_!# '
9707
for ac_last_try in false false :; do
9708
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9709
  if test -z "$ac_t"; then
9710
    break
9711
  elif $ac_last_try; then
9712
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
9713
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
9714
   { (exit 1); exit 1; }; }
9715
  else
9716
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9717
  fi
9718
done
9719
9720
# For the awk script, D is an array of macro values keyed by name,
9721
# likewise P contains macro parameters if any.  Preserve backslash
9722
# newline sequences.
9723
9724
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9725
sed -n '
9726
s/.\{148\}/&'"$ac_delim"'/g
9727
t rset
9728
:rset
9729
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
9730
t def
9731
d
9732
:def
9733
s/\\$//
9734
t bsnl
9735
s/["\\]/\\&/g
9736
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
9737
D["\1"]=" \3"/p
9738
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
9739
d
9740
:bsnl
9741
s/["\\]/\\&/g
9742
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
9743
D["\1"]=" \3\\\\\\n"\\/p
9744
t cont
9745
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
9746
t cont
9747
d
9748
:cont
9749
n
9750
s/.\{148\}/&'"$ac_delim"'/g
9751
t clear
9752
:clear
9753
s/\\$//
9754
t bsnlc
9755
s/["\\]/\\&/g; s/^/"/; s/$/"/p
9756
d
9757
:bsnlc
9758
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
9759
b cont
9760
' <confdefs.h | sed '
9761
s/'"$ac_delim"'/"\\\
9762
"/g' >>$CONFIG_STATUS || ac_write_fail=1
9763
9764
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9765
  for (key in D) D_is_set[key] = 1
9766
  FS = ""
9767
}
9768
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
9769
  line = \$ 0
9770
  split(line, arg, " ")
9771
  if (arg[1] == "#") {
9772
    defundef = arg[2]
9773
    mac1 = arg[3]
9774
  } else {
9775
    defundef = substr(arg[1], 2)
9776
    mac1 = arg[2]
9777
  }
9778
  split(mac1, mac2, "(") #)
9779
  macro = mac2[1]
9780
  if (D_is_set[macro]) {
9781
    # Preserve the white space surrounding the "#".
9782
    prefix = substr(line, 1, index(line, defundef) - 1)
9783
    print prefix "define", macro P[macro] D[macro]
9784
    next
9785
  } else {
9786
    # Replace #undef with comments.  This is necessary, for example,
9787
    # in the case of _POSIX_SOURCE, which is predefined and required
9788
    # on some systems where configure will not decide to define it.
9789
    if (defundef == "undef") {
9790
      print "/*", line, "*/"
9791
      next
9792
    }
9793
  }
9794
}
9795
{ print }
9796
_ACAWK
9797
_ACEOF
9798
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9799
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
9800
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
9801
   { (exit 1); exit 1; }; }
9802
fi # test -n "$CONFIG_HEADERS"
9803
9495
9804
9496
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
9805
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
9806
shift
9807
for ac_tag
9497
do
9808
do
9498
  case $ac_tag in
9809
  case $ac_tag in
9499
  :[FHLC]) ac_mode=$ac_tag; continue;;
9810
  :[FHLC]) ac_mode=$ac_tag; continue;;
9500
  esac
9811
  esac
9501
  case $ac_mode$ac_tag in
9812
  case $ac_mode$ac_tag in
9502
  :[FHL]*:*);;
9813
  :[FHL]*:*);;
9503
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9814
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9504
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9815
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9505
   { (exit 1); exit 1; }; };;
9816
   { (exit 1); exit 1; }; };;
9506
  :[FH]-) ac_tag=-:-;;
9817
  :[FH]-) ac_tag=-:-;;
9507
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9818
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
Lines 9530-9555 Link Here
9530
	   [\\/$]*) false;;
9841
	   [\\/$]*) false;;
9531
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9842
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9532
	   esac ||
9843
	   esac ||
9533
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9844
	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9534
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9845
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9535
   { (exit 1); exit 1; }; };;
9846
   { (exit 1); exit 1; }; };;
9536
      esac
9847
      esac
9537
      ac_file_inputs="$ac_file_inputs $ac_f"
9848
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9849
      ac_file_inputs="$ac_file_inputs '$ac_f'"
9538
    done
9850
    done
9539
9851
9540
    # Let's still pretend it is `configure' which instantiates (i.e., don't
9852
    # Let's still pretend it is `configure' which instantiates (i.e., don't
9541
    # use $as_me), people would be surprised to read:
9853
    # use $as_me), people would be surprised to read:
9542
    #    /* config.h.  Generated by config.status.  */
9854
    #    /* config.h.  Generated by config.status.  */
9543
    configure_input="Generated from "`IFS=:
9855
    configure_input='Generated from '`
9544
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9856
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9857
	`' by configure.'
9545
    if test x"$ac_file" != x-; then
9858
    if test x"$ac_file" != x-; then
9546
      configure_input="$ac_file.  $configure_input"
9859
      configure_input="$ac_file.  $configure_input"
9547
      { echo "$as_me:$LINENO: creating $ac_file" >&5
9860
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
9548
echo "$as_me: creating $ac_file" >&6;}
9861
$as_echo "$as_me: creating $ac_file" >&6;}
9549
    fi
9862
    fi
9863
    # Neutralize special characters interpreted by sed in replacement strings.
9864
    case $configure_input in #(
9865
    *\&* | *\|* | *\\* )
9866
       ac_sed_conf_input=`$as_echo "$configure_input" |
9867
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
9868
    *) ac_sed_conf_input=$configure_input;;
9869
    esac
9550
9870
9551
    case $ac_tag in
9871
    case $ac_tag in
9552
    *:-:* | *:-) cat >"$tmp/stdin";;
9872
    *:-:* | *:-) cat >"$tmp/stdin" \
9873
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
9874
$as_echo "$as_me: error: could not create $ac_file" >&2;}
9875
   { (exit 1); exit 1; }; } ;;
9553
    esac
9876
    esac
9554
    ;;
9877
    ;;
9555
  esac
9878
  esac
Lines 9559-9565 Link Here
9559
	 X"$ac_file" : 'X\(//\)[^/]' \| \
9882
	 X"$ac_file" : 'X\(//\)[^/]' \| \
9560
	 X"$ac_file" : 'X\(//\)$' \| \
9883
	 X"$ac_file" : 'X\(//\)$' \| \
9561
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9884
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9562
echo X"$ac_file" |
9885
$as_echo X"$ac_file" |
9563
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9886
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9564
	    s//\1/
9887
	    s//\1/
9565
	    q
9888
	    q
Lines 9585-9591 Link Here
9585
    as_dirs=
9908
    as_dirs=
9586
    while :; do
9909
    while :; do
9587
      case $as_dir in #(
9910
      case $as_dir in #(
9588
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9911
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9589
      *) as_qdir=$as_dir;;
9912
      *) as_qdir=$as_dir;;
9590
      esac
9913
      esac
9591
      as_dirs="'$as_qdir' $as_dirs"
9914
      as_dirs="'$as_qdir' $as_dirs"
Lines 9594-9600 Link Here
9594
	 X"$as_dir" : 'X\(//\)[^/]' \| \
9917
	 X"$as_dir" : 'X\(//\)[^/]' \| \
9595
	 X"$as_dir" : 'X\(//\)$' \| \
9918
	 X"$as_dir" : 'X\(//\)$' \| \
9596
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9919
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9597
echo X"$as_dir" |
9920
$as_echo X"$as_dir" |
9598
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9921
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9599
	    s//\1/
9922
	    s//\1/
9600
	    q
9923
	    q
Lines 9615-9631 Link Here
9615
      test -d "$as_dir" && break
9938
      test -d "$as_dir" && break
9616
    done
9939
    done
9617
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9940
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9618
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9941
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9619
echo "$as_me: error: cannot create directory $as_dir" >&2;}
9942
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9620
   { (exit 1); exit 1; }; }; }
9943
   { (exit 1); exit 1; }; }; }
9621
  ac_builddir=.
9944
  ac_builddir=.
9622
9945
9623
case "$ac_dir" in
9946
case "$ac_dir" in
9624
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9947
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9625
*)
9948
*)
9626
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9949
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9627
  # A ".." for each directory in $ac_dir_suffix.
9950
  # A ".." for each directory in $ac_dir_suffix.
9628
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9951
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9629
  case $ac_top_builddir_sub in
9952
  case $ac_top_builddir_sub in
9630
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9953
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9631
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9954
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
Lines 9665-9676 Link Here
9665
  esac
9988
  esac
9666
_ACEOF
9989
_ACEOF
9667
9990
9668
cat >>$CONFIG_STATUS <<\_ACEOF
9991
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9669
# If the template does not know about datarootdir, expand it.
9992
# If the template does not know about datarootdir, expand it.
9670
# FIXME: This hack should be removed a few years after 2.60.
9993
# FIXME: This hack should be removed a few years after 2.60.
9671
ac_datarootdir_hack=; ac_datarootdir_seen=
9994
ac_datarootdir_hack=; ac_datarootdir_seen=
9672
9995
9673
case `sed -n '/datarootdir/ {
9996
ac_sed_dataroot='
9997
/datarootdir/ {
9674
  p
9998
  p
9675
  q
9999
  q
9676
}
10000
}
Lines 9679-9691 Link Here
9679
/@infodir@/p
10003
/@infodir@/p
9680
/@localedir@/p
10004
/@localedir@/p
9681
/@mandir@/p
10005
/@mandir@/p
9682
' $ac_file_inputs` in
10006
'
10007
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9683
*datarootdir*) ac_datarootdir_seen=yes;;
10008
*datarootdir*) ac_datarootdir_seen=yes;;
9684
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10009
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9685
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10010
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9686
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10011
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9687
_ACEOF
10012
_ACEOF
9688
cat >>$CONFIG_STATUS <<_ACEOF
10013
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9689
  ac_datarootdir_hack='
10014
  ac_datarootdir_hack='
9690
  s&@datadir@&$datadir&g
10015
  s&@datadir@&$datadir&g
9691
  s&@docdir@&$docdir&g
10016
  s&@docdir@&$docdir&g
Lines 9699-9713 Link Here
9699
# Neutralize VPATH when `$srcdir' = `.'.
10024
# Neutralize VPATH when `$srcdir' = `.'.
9700
# Shell code in configure.ac might set extrasub.
10025
# Shell code in configure.ac might set extrasub.
9701
# FIXME: do we really want to maintain this feature?
10026
# FIXME: do we really want to maintain this feature?
9702
cat >>$CONFIG_STATUS <<_ACEOF
10027
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9703
  sed "$ac_vpsub
10028
ac_sed_extra="$ac_vpsub
9704
$extrasub
10029
$extrasub
9705
_ACEOF
10030
_ACEOF
9706
cat >>$CONFIG_STATUS <<\_ACEOF
10031
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9707
:t
10032
:t
9708
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10033
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9709
s&@configure_input@&$configure_input&;t t
10034
s|@configure_input@|$ac_sed_conf_input|;t t
9710
s&@top_builddir@&$ac_top_builddir_sub&;t t
10035
s&@top_builddir@&$ac_top_builddir_sub&;t t
10036
s&@top_build_prefix@&$ac_top_build_prefix&;t t
9711
s&@srcdir@&$ac_srcdir&;t t
10037
s&@srcdir@&$ac_srcdir&;t t
9712
s&@abs_srcdir@&$ac_abs_srcdir&;t t
10038
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9713
s&@top_srcdir@&$ac_top_srcdir&;t t
10039
s&@top_srcdir@&$ac_top_srcdir&;t t
Lines 9717-9835 Link Here
9717
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10043
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9718
s&@INSTALL@&$ac_INSTALL&;t t
10044
s&@INSTALL@&$ac_INSTALL&;t t
9719
$ac_datarootdir_hack
10045
$ac_datarootdir_hack
9720
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
10046
"
10047
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10048
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10049
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10050
   { (exit 1); exit 1; }; }
9721
10051
9722
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10052
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9723
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10053
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9724
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
10054
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9725
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10055
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9726
which seems to be undefined.  Please make sure it is defined." >&5
10056
which seems to be undefined.  Please make sure it is defined." >&5
9727
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10057
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9728
which seems to be undefined.  Please make sure it is defined." >&2;}
10058
which seems to be undefined.  Please make sure it is defined." >&2;}
9729
10059
9730
  rm -f "$tmp/stdin"
10060
  rm -f "$tmp/stdin"
9731
  case $ac_file in
10061
  case $ac_file in
9732
  -) cat "$tmp/out"; rm -f "$tmp/out";;
10062
  -) cat "$tmp/out" && rm -f "$tmp/out";;
9733
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10063
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9734
  esac
10064
  esac \
10065
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10066
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10067
   { (exit 1); exit 1; }; }
9735
 ;;
10068
 ;;
9736
  :H)
10069
  :H)
9737
  #
10070
  #
9738
  # CONFIG_HEADER
10071
  # CONFIG_HEADER
9739
  #
10072
  #
9740
_ACEOF
9741
9742
# Transform confdefs.h into a sed script `conftest.defines', that
9743
# substitutes the proper values into config.h.in to produce config.h.
9744
rm -f conftest.defines conftest.tail
9745
# First, append a space to every undef/define line, to ease matching.
9746
echo 's/$/ /' >conftest.defines
9747
# Then, protect against being on the right side of a sed subst, or in
9748
# an unquoted here document, in config.status.  If some macros were
9749
# called several times there might be several #defines for the same
9750
# symbol, which is useless.  But do not sort them, since the last
9751
# AC_DEFINE must be honored.
9752
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9753
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9754
# NAME is the cpp macro being defined, VALUE is the value it is being given.
9755
# PARAMS is the parameter list in the macro definition--in most cases, it's
9756
# just an empty string.
9757
ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
9758
ac_dB='\\)[	 (].*,\\1define\\2'
9759
ac_dC=' '
9760
ac_dD=' ,'
9761
9762
uniq confdefs.h |
9763
  sed -n '
9764
	t rset
9765
	:rset
9766
	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
9767
	t ok
9768
	d
9769
	:ok
9770
	s/[\\&,]/\\&/g
9771
	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9772
	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9773
  ' >>conftest.defines
9774
9775
# Remove the space that was appended to ease matching.
9776
# Then replace #undef with comments.  This is necessary, for
9777
# example, in the case of _POSIX_SOURCE, which is predefined and required
9778
# on some systems where configure will not decide to define it.
9779
# (The regexp can be short, since the line contains either #define or #undef.)
9780
echo 's/ $//
9781
s,^[	 #]*u.*,/* & */,' >>conftest.defines
9782
9783
# Break up conftest.defines:
9784
ac_max_sed_lines=50
9785
9786
# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9787
# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9788
# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9789
# et cetera.
9790
ac_in='$ac_file_inputs'
9791
ac_out='"$tmp/out1"'
9792
ac_nxt='"$tmp/out2"'
9793
9794
while :
9795
do
9796
  # Write a here document:
9797
    cat >>$CONFIG_STATUS <<_ACEOF
9798
    # First, check the format of the line:
9799
    cat >"\$tmp/defines.sed" <<\\CEOF
9800
/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
9801
/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
9802
b
9803
:def
9804
_ACEOF
9805
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9806
  echo 'CEOF
9807
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9808
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9809
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9810
  grep . conftest.tail >/dev/null || break
9811
  rm -f conftest.defines
9812
  mv conftest.tail conftest.defines
9813
done
9814
rm -f conftest.defines conftest.tail
9815
9816
echo "ac_result=$ac_in" >>$CONFIG_STATUS
9817
cat >>$CONFIG_STATUS <<\_ACEOF
9818
  if test x"$ac_file" != x-; then
10073
  if test x"$ac_file" != x-; then
9819
    echo "/* $configure_input  */" >"$tmp/config.h"
10074
    {
9820
    cat "$ac_result" >>"$tmp/config.h"
10075
      $as_echo "/* $configure_input  */" \
9821
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
10076
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9822
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10077
    } >"$tmp/config.h" \
9823
echo "$as_me: $ac_file is unchanged" >&6;}
10078
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10079
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10080
   { (exit 1); exit 1; }; }
10081
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10082
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10083
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9824
    else
10084
    else
9825
      rm -f $ac_file
10085
      rm -f "$ac_file"
9826
      mv "$tmp/config.h" $ac_file
10086
      mv "$tmp/config.h" "$ac_file" \
10087
	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10088
$as_echo "$as_me: error: could not create $ac_file" >&2;}
10089
   { (exit 1); exit 1; }; }
9827
    fi
10090
    fi
9828
  else
10091
  else
9829
    echo "/* $configure_input  */"
10092
    $as_echo "/* $configure_input  */" \
9830
    cat "$ac_result"
10093
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10094
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10095
$as_echo "$as_me: error: could not create -" >&2;}
10096
   { (exit 1); exit 1; }; }
9831
  fi
10097
  fi
9832
  rm -f "$tmp/out12"
9833
 ;;
10098
 ;;
9834
10099
9835
10100
Lines 9843-9848 Link Here
9843
chmod +x $CONFIG_STATUS
10108
chmod +x $CONFIG_STATUS
9844
ac_clean_files=$ac_clean_files_save
10109
ac_clean_files=$ac_clean_files_save
9845
10110
10111
test $ac_write_fail = 0 ||
10112
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10113
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10114
   { (exit 1); exit 1; }; }
10115
9846
10116
9847
# configure is writing to config.log, and then calls config.status.
10117
# configure is writing to config.log, and then calls config.status.
9848
# config.status does its own redirection, appending to config.log.
10118
# config.status does its own redirection, appending to config.log.
Lines 9870-9876 Link Here
9870
#
10140
#
9871
if test "$no_recursion" != yes; then
10141
if test "$no_recursion" != yes; then
9872
10142
9873
  # Remove --cache-file and --srcdir arguments so they do not pile up.
10143
  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
10144
  # so they do not pile up.
9874
  ac_sub_configure_args=
10145
  ac_sub_configure_args=
9875
  ac_prev=
10146
  ac_prev=
9876
  eval "set x $ac_configure_args"
10147
  eval "set x $ac_configure_args"
Lines 9899-9907 Link Here
9899
      ac_prev=prefix ;;
10170
      ac_prev=prefix ;;
9900
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
10171
    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
9901
      ;;
10172
      ;;
10173
    --disable-option-checking)
10174
      ;;
9902
    *)
10175
    *)
9903
      case $ac_arg in
10176
      case $ac_arg in
9904
      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10177
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9905
      esac
10178
      esac
9906
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
10179
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
9907
    esac
10180
    esac
Lines 9911-9917 Link Here
9911
  # in subdir configurations.
10184
  # in subdir configurations.
9912
  ac_arg="--prefix=$prefix"
10185
  ac_arg="--prefix=$prefix"
9913
  case $ac_arg in
10186
  case $ac_arg in
9914
  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10187
  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
9915
  esac
10188
  esac
9916
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
10189
  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
9917
10190
Lines 9920-9925 Link Here
9920
    ac_sub_configure_args="--silent $ac_sub_configure_args"
10193
    ac_sub_configure_args="--silent $ac_sub_configure_args"
9921
  fi
10194
  fi
9922
10195
10196
  # Always prepend --disable-option-checking to silence warnings, since
10197
  # different subdirs can have different --enable and --with options.
10198
  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
10199
9923
  ac_popdir=`pwd`
10200
  ac_popdir=`pwd`
9924
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
10201
  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
9925
10202
Lines 9928-9935 Link Here
9928
    test -d "$srcdir/$ac_dir" || continue
10205
    test -d "$srcdir/$ac_dir" || continue
9929
10206
9930
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
10207
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
9931
    echo "$as_me:$LINENO: $ac_msg" >&5
10208
    $as_echo "$as_me:$LINENO: $ac_msg" >&5
9932
    echo "$ac_msg" >&6
10209
    $as_echo "$ac_msg" >&6
9933
    { as_dir="$ac_dir"
10210
    { as_dir="$ac_dir"
9934
  case $as_dir in #(
10211
  case $as_dir in #(
9935
  -*) as_dir=./$as_dir;;
10212
  -*) as_dir=./$as_dir;;
Lines 9938-9944 Link Here
9938
    as_dirs=
10215
    as_dirs=
9939
    while :; do
10216
    while :; do
9940
      case $as_dir in #(
10217
      case $as_dir in #(
9941
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10218
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9942
      *) as_qdir=$as_dir;;
10219
      *) as_qdir=$as_dir;;
9943
      esac
10220
      esac
9944
      as_dirs="'$as_qdir' $as_dirs"
10221
      as_dirs="'$as_qdir' $as_dirs"
Lines 9947-9953 Link Here
9947
	 X"$as_dir" : 'X\(//\)[^/]' \| \
10224
	 X"$as_dir" : 'X\(//\)[^/]' \| \
9948
	 X"$as_dir" : 'X\(//\)$' \| \
10225
	 X"$as_dir" : 'X\(//\)$' \| \
9949
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10226
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9950
echo X"$as_dir" |
10227
$as_echo X"$as_dir" |
9951
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10228
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9952
	    s//\1/
10229
	    s//\1/
9953
	    q
10230
	    q
Lines 9968-9984 Link Here
9968
      test -d "$as_dir" && break
10245
      test -d "$as_dir" && break
9969
    done
10246
    done
9970
    test -z "$as_dirs" || eval "mkdir $as_dirs"
10247
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9971
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10248
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9972
echo "$as_me: error: cannot create directory $as_dir" >&2;}
10249
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
9973
   { (exit 1); exit 1; }; }; }
10250
   { (exit 1); exit 1; }; }; }
9974
    ac_builddir=.
10251
    ac_builddir=.
9975
10252
9976
case "$ac_dir" in
10253
case "$ac_dir" in
9977
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10254
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9978
*)
10255
*)
9979
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10256
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9980
  # A ".." for each directory in $ac_dir_suffix.
10257
  # A ".." for each directory in $ac_dir_suffix.
9981
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10258
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9982
  case $ac_top_builddir_sub in
10259
  case $ac_top_builddir_sub in
9983
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10260
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9984
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10261
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
Lines 10017-10024 Link Here
10017
      # This should be Cygnus configure.
10294
      # This should be Cygnus configure.
10018
      ac_sub_configure=$ac_aux_dir/configure
10295
      ac_sub_configure=$ac_aux_dir/configure
10019
    else
10296
    else
10020
      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10297
      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
10021
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10298
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
10022
      ac_sub_configure=
10299
      ac_sub_configure=
10023
    fi
10300
    fi
10024
10301
Lines 10031-10049 Link Here
10031
	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10308
	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
10032
      esac
10309
      esac
10033
10310
10034
      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10311
      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
10035
echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10312
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
10036
      # The eval makes quoting arguments work.
10313
      # The eval makes quoting arguments work.
10037
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10314
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
10038
	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10315
	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
10039
	{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10316
	{ { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
10040
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10317
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
10041
   { (exit 1); exit 1; }; }
10318
   { (exit 1); exit 1; }; }
10042
    fi
10319
    fi
10043
10320
10044
    cd "$ac_popdir"
10321
    cd "$ac_popdir"
10045
  done
10322
  done
10046
fi
10323
fi
10324
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10325
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
10326
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
10327
fi
10047
10328
10048
# Krad ASCII ART#!#@$!@#$
10329
# Krad ASCII ART#!#@$!@#$
10049
if test -f docs/leet-nmap-ascii-art.txt; then
10330
if test -f docs/leet-nmap-ascii-art.txt; then
(-)nmap-4.75-orig/configure.ac (-1 / +1 lines)
Lines 501-507 Link Here
501
AC_HELP_STRING([--with-liblua=DIR], [Use an existing (compiled) lua lib from DIR/include and DIR/lib.])
501
AC_HELP_STRING([--with-liblua=DIR], [Use an existing (compiled) lua lib from DIR/include and DIR/lib.])
502
AC_HELP_STRING([--with-liblua=included], [Use the liblua version included with Nmap])
502
AC_HELP_STRING([--with-liblua=included], [Use the liblua version included with Nmap])
503
AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all of NSE from compilation)]),
503
AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all of NSE from compilation)]),
504
[  case "$with_liblua" in
504
[  case "$liblua" in
505
  yes)
505
  yes)
506
  ;;
506
  ;;
507
  included)
507
  included)

Return to bug 237150