~ubuntu-branches/ubuntu/maverick/gnome-nettool/maverick-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-09-24 18:21:16 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080924182116-apbraq1bq40hb1hn
Tags: 2.22.1-0ubuntu1
* New upstream version
* debian/patches/03_autoconf.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for GNOME Nettool 2.22.0.
 
3
# Generated by GNU Autoconf 2.62 for GNOME Nettool 2.22.1.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-nettool>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
11
## --------------------- ##
17
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
18
  emulate sh
19
19
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
21
  # is contrary to our usage.  Disable this feature.
22
22
  alias -g '${1+"$@"}'='"$@"'
23
23
  setopt NO_GLOB_SUBST
39
39
as_cr_digits='0123456789'
40
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
41
 
 
42
as_nl='
 
43
'
 
44
export as_nl
 
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
42
74
# The user is always right.
43
75
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
53
81
fi
54
82
 
55
83
# Support unset when possible.
65
93
# there to prevent editors from complaining about space-tab.
66
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
95
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
96
IFS=" ""        $as_nl"
71
97
 
72
98
# Find who we are.  Look in the path if we contain no directory separator.
89
115
  as_myself=$0
90
116
fi
91
117
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
119
  { (exit 1); exit 1; }
94
120
fi
95
121
 
102
128
PS4='+ '
103
129
 
104
130
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
116
135
 
117
136
# Required to use basename.
118
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
134
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
154
         X"$0" : 'X\(//\)$' \| \
136
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
 
156
$as_echo X/"$0" |
138
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
158
            s//\1/
140
159
            q
160
179
  as_have_required=no
161
180
fi
162
181
 
163
 
  if test $as_have_required = yes &&     (eval ":
 
182
  if test $as_have_required = yes &&     (eval ":
164
183
(as_func_return () {
165
184
  (exit \$1)
166
185
}
242
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
262
  emulate sh
244
263
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246
265
  # is contrary to our usage.  Disable this feature.
247
266
  alias -g '${1+"$@"}'='"$@"'
248
267
  setopt NO_GLOB_SUBST
263
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
283
  emulate sh
265
284
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
286
  # is contrary to our usage.  Disable this feature.
268
287
  alias -g '${1+"$@"}'='"$@"'
269
288
  setopt NO_GLOB_SUBST
343
362
 
344
363
      if test "x$CONFIG_SHELL" != x; then
345
364
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
366
        done
 
367
        export CONFIG_SHELL
 
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
369
fi
351
370
 
352
371
 
415
434
 
416
435
test \$exitcode = 0") || {
417
436
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
 
437
  echo Please tell bug-autoconf@gnu.org about your system,
 
438
  echo including any error possibly output before this message.
 
439
  echo This can help us improve future autoconf versions.
 
440
  echo Configuration will now proceed without shell functions.
421
441
}
422
442
 
423
443
 
453
473
      s/-\n.*//
454
474
    ' >$as_me.lineno &&
455
475
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
477
   { (exit 1); exit 1; }; }
458
478
 
459
479
  # Don't try to exec as it changes $[0], causing all sort of problems
481
501
*)
482
502
  ECHO_N='-n';;
483
503
esac
484
 
 
485
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
506
  as_expr=expr
494
513
  rm -f conf$$.dir/conf$$.file
495
514
else
496
515
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
498
517
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
518
if (echo >conf$$.file) 2>/dev/null; then
 
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
520
    as_ln_s='ln -s'
 
521
    # ... but there are two gotchas:
 
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
524
    # In both cases, we have to default to `cp -p'.
 
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
526
      as_ln_s='cp -p'
 
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
528
    as_ln_s=ln
 
529
  else
507
530
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
531
  fi
510
532
else
511
533
  as_ln_s='cp -p'
512
534
fi
531
553
  as_test_x='
532
554
    eval sh -c '\''
533
555
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
556
        test -d "$1/.";
535
557
      else
536
558
        case $1 in
537
 
        -*)set "./$1";;
 
559
        -*)set "./$1";;
538
560
        esac;
539
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
562
        ???[sx]*):;;*)false;;esac;fi
728
750
# Identity of this package.
729
751
PACKAGE_NAME='GNOME Nettool'
730
752
PACKAGE_TARNAME='gnome-nettool'
731
 
PACKAGE_VERSION='2.22.0'
732
 
PACKAGE_STRING='GNOME Nettool 2.22.0'
 
753
PACKAGE_VERSION='2.22.1'
 
754
PACKAGE_STRING='GNOME Nettool 2.22.1'
733
755
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-nettool'
734
756
 
735
757
ac_unique_file="src/ping.c"
822
844
install_sh
823
845
STRIP
824
846
INSTALL_STRIP_PROGRAM
 
847
MKDIR_P
825
848
mkdir_p
826
849
AWK
827
850
SET_MAKE
832
855
MAINTAINER_MODE_TRUE
833
856
MAINTAINER_MODE_FALSE
834
857
MAINT
 
858
INTLTOOL_UPDATE
 
859
INTLTOOL_MERGE
 
860
INTLTOOL_EXTRACT
835
861
INTLTOOL_DESKTOP_RULE
836
862
INTLTOOL_DIRECTORY_RULE
837
863
INTLTOOL_KEYS_RULE
854
880
XGETTEXT
855
881
MSGMERGE
856
882
MSGFMT
857
 
INTLTOOL_EXTRACT
858
 
INTLTOOL_MERGE
859
 
INTLTOOL_UPDATE
860
883
INTLTOOL_PERL
861
884
ALL_LINGUAS
862
885
CC
887
910
host_cpu
888
911
host_vendor
889
912
host_os
 
913
SED
890
914
LN_S
891
915
ECHO
892
916
AR
893
917
RANLIB
 
918
DSYMUTIL
 
919
NMEDIT
894
920
CXX
895
921
CXXFLAGS
896
922
ac_ct_CXX
931
957
LIBOBJS
932
958
LTLIBOBJS'
933
959
ac_subst_files=''
 
960
ac_user_opts='
 
961
enable_option_checking
 
962
enable_maintainer_mode
 
963
enable_dependency_tracking
 
964
enable_shared
 
965
enable_static
 
966
enable_fast_install
 
967
with_gnu_ld
 
968
enable_libtool_lock
 
969
with_pic
 
970
with_tags
 
971
enable_compile_warnings
 
972
enable_iso_c
 
973
with_help_dir
 
974
with_omf_dir
 
975
with_help_formats
 
976
enable_scrollkeeper
 
977
enable_debug
 
978
'
934
979
      ac_precious_vars='build_alias
935
980
host_alias
936
981
target_alias
954
999
# Initialize some variables set by options.
955
1000
ac_init_help=
956
1001
ac_init_version=false
 
1002
ac_unrecognized_opts=
 
1003
ac_unrecognized_sep=
957
1004
# The variables have the same names as the options, with
958
1005
# dashes changed to underlines.
959
1006
cache_file=/dev/null
1052
1099
    datarootdir=$ac_optarg ;;
1053
1100
 
1054
1101
  -disable-* | --disable-*)
1055
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1102
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056
1103
    # Reject names that are not valid shell variable names.
1057
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1058
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1104
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1105
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1059
1106
   { (exit 1); exit 1; }; }
1060
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1061
 
    eval enable_$ac_feature=no ;;
 
1107
    ac_useropt_orig=$ac_useropt
 
1108
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1109
    case $ac_user_opts in
 
1110
      *"
 
1111
"enable_$ac_useropt"
 
1112
"*) ;;
 
1113
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1114
         ac_unrecognized_sep=', ';;
 
1115
    esac
 
1116
    eval enable_$ac_useropt=no ;;
1062
1117
 
1063
1118
  -docdir | --docdir | --docdi | --doc | --do)
1064
1119
    ac_prev=docdir ;;
1071
1126
    dvidir=$ac_optarg ;;
1072
1127
 
1073
1128
  -enable-* | --enable-*)
1074
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1129
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1075
1130
    # Reject names that are not valid shell variable names.
1076
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1131
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1132
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1078
1133
   { (exit 1); exit 1; }; }
1079
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1080
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1134
    ac_useropt_orig=$ac_useropt
 
1135
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1136
    case $ac_user_opts in
 
1137
      *"
 
1138
"enable_$ac_useropt"
 
1139
"*) ;;
 
1140
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1141
         ac_unrecognized_sep=', ';;
 
1142
    esac
 
1143
    eval enable_$ac_useropt=\$ac_optarg ;;
1081
1144
 
1082
1145
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1083
1146
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1268
1331
    ac_init_version=: ;;
1269
1332
 
1270
1333
  -with-* | --with-*)
1271
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1334
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272
1335
    # Reject names that are not valid shell variable names.
1273
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1274
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1336
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1337
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1275
1338
   { (exit 1); exit 1; }; }
1276
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1277
 
    eval with_$ac_package=\$ac_optarg ;;
 
1339
    ac_useropt_orig=$ac_useropt
 
1340
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1341
    case $ac_user_opts in
 
1342
      *"
 
1343
"with_$ac_useropt"
 
1344
"*) ;;
 
1345
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1346
         ac_unrecognized_sep=', ';;
 
1347
    esac
 
1348
    eval with_$ac_useropt=\$ac_optarg ;;
1278
1349
 
1279
1350
  -without-* | --without-*)
1280
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1351
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1281
1352
    # Reject names that are not valid shell variable names.
1282
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1283
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1353
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1354
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1284
1355
   { (exit 1); exit 1; }; }
1285
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1286
 
    eval with_$ac_package=no ;;
 
1356
    ac_useropt_orig=$ac_useropt
 
1357
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1358
    case $ac_user_opts in
 
1359
      *"
 
1360
"with_$ac_useropt"
 
1361
"*) ;;
 
1362
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1363
         ac_unrecognized_sep=', ';;
 
1364
    esac
 
1365
    eval with_$ac_useropt=no ;;
1287
1366
 
1288
1367
  --x)
1289
1368
    # Obsolete; use --with-x.
1303
1382
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1304
1383
    x_libraries=$ac_optarg ;;
1305
1384
 
1306
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1385
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1307
1386
Try \`$0 --help' for more information." >&2
1308
1387
   { (exit 1); exit 1; }; }
1309
1388
    ;;
1312
1391
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1313
1392
    # Reject names that are not valid shell variable names.
1314
1393
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1315
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1394
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1316
1395
   { (exit 1); exit 1; }; }
1317
1396
    eval $ac_envvar=\$ac_optarg
1318
1397
    export $ac_envvar ;;
1319
1398
 
1320
1399
  *)
1321
1400
    # FIXME: should be removed in autoconf 3.0.
1322
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1401
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1323
1402
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1324
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1403
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1325
1404
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1326
1405
    ;;
1327
1406
 
1330
1409
 
1331
1410
if test -n "$ac_prev"; then
1332
1411
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1333
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1412
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1334
1413
   { (exit 1); exit 1; }; }
1335
1414
fi
1336
1415
 
1337
 
# Be sure to have absolute directory names.
 
1416
if test -n "$ac_unrecognized_opts"; then
 
1417
  case $enable_option_checking in
 
1418
    no) ;;
 
1419
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
 
1420
   { (exit 1); exit 1; }; } ;;
 
1421
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1422
  esac
 
1423
fi
 
1424
 
 
1425
# Check all directory arguments for consistency.
1338
1426
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339
1427
                datadir sysconfdir sharedstatedir localstatedir includedir \
1340
1428
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341
1429
                libdir localedir mandir
1342
1430
do
1343
1431
  eval ac_val=\$$ac_var
 
1432
  # Remove trailing slashes.
 
1433
  case $ac_val in
 
1434
    */ )
 
1435
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1436
      eval $ac_var=\$ac_val;;
 
1437
  esac
 
1438
  # Be sure to have absolute directory names.
1344
1439
  case $ac_val in
1345
1440
    [\\/$]* | ?:[\\/]* )  continue;;
1346
1441
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1347
1442
  esac
1348
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1443
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1349
1444
   { (exit 1); exit 1; }; }
1350
1445
done
1351
1446
 
1360
1455
if test "x$host_alias" != x; then
1361
1456
  if test "x$build_alias" = x; then
1362
1457
    cross_compiling=maybe
1363
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1458
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1364
1459
    If a cross compiler is detected then cross compile mode will be used." >&2
1365
1460
  elif test "x$build_alias" != "x$host_alias"; then
1366
1461
    cross_compiling=yes
1376
1471
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1377
1472
ac_ls_di=`ls -di .` &&
1378
1473
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1379
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1474
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1380
1475
   { (exit 1); exit 1; }; }
1381
1476
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1477
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1383
1478
   { (exit 1); exit 1; }; }
1384
1479
 
1385
1480
 
1387
1482
if test -z "$srcdir"; then
1388
1483
  ac_srcdir_defaulted=yes
1389
1484
  # Try the directory containing this script, then the parent directory.
1390
 
  ac_confdir=`$as_dirname -- "$0" ||
1391
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1392
 
         X"$0" : 'X\(//\)[^/]' \| \
1393
 
         X"$0" : 'X\(//\)$' \| \
1394
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1395
 
echo X"$0" |
 
1485
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1486
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1487
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1488
         X"$as_myself" : 'X\(//\)$' \| \
 
1489
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1490
$as_echo X"$as_myself" |
1396
1491
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397
1492
            s//\1/
1398
1493
            q
1419
1514
fi
1420
1515
if test ! -r "$srcdir/$ac_unique_file"; then
1421
1516
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1422
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1517
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1423
1518
   { (exit 1); exit 1; }; }
1424
1519
fi
1425
1520
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426
1521
ac_abs_confdir=`(
1427
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1522
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1428
1523
   { (exit 1); exit 1; }; }
1429
1524
        pwd)`
1430
1525
# When building in place, set srcdir=.
1451
1546
  # Omit some internal or obsolete options to make the list less imposing.
1452
1547
  # This message is too long to be a string in the A/UX 3.1 sh.
1453
1548
  cat <<_ACEOF
1454
 
\`configure' configures GNOME Nettool 2.22.0 to adapt to many kinds of systems.
 
1549
\`configure' configures GNOME Nettool 2.22.1 to adapt to many kinds of systems.
1455
1550
 
1456
1551
Usage: $0 [OPTION]... [VAR=VALUE]...
1457
1552
 
1473
1568
 
1474
1569
Installation directories:
1475
1570
  --prefix=PREFIX         install architecture-independent files in PREFIX
1476
 
                          [$ac_default_prefix]
 
1571
                          [$ac_default_prefix]
1477
1572
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1478
 
                          [PREFIX]
 
1573
                          [PREFIX]
1479
1574
 
1480
1575
By default, \`make install' will install all the files in
1481
1576
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1485
1580
For better control, use the options below.
1486
1581
 
1487
1582
Fine tuning of the installation directories:
1488
 
  --bindir=DIR           user executables [EPREFIX/bin]
1489
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1490
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1491
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1492
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1493
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1494
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1495
 
  --includedir=DIR       C header files [PREFIX/include]
1496
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1497
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1498
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1499
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1500
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1501
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1502
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gnome-nettool]
1503
 
  --htmldir=DIR          html documentation [DOCDIR]
1504
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1505
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1506
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1583
  --bindir=DIR            user executables [EPREFIX/bin]
 
1584
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1585
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1586
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1587
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1588
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1589
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1590
  --includedir=DIR        C header files [PREFIX/include]
 
1591
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1592
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1593
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1594
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1595
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1596
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1597
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gnome-nettool]
 
1598
  --htmldir=DIR           html documentation [DOCDIR]
 
1599
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1600
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1601
  --psdir=DIR             ps documentation [DOCDIR]
1507
1602
_ACEOF
1508
1603
 
1509
1604
  cat <<\_ACEOF
1521
1616
 
1522
1617
if test -n "$ac_init_help"; then
1523
1618
  case $ac_init_help in
1524
 
     short | recursive ) echo "Configuration of GNOME Nettool 2.22.0:";;
 
1619
     short | recursive ) echo "Configuration of GNOME Nettool 2.22.1:";;
1525
1620
   esac
1526
1621
  cat <<\_ACEOF
1527
1622
 
1528
1623
Optional Features:
 
1624
  --disable-option-checking  ignore unrecognized --enable/--with options
1529
1625
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1530
1626
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1531
1627
  --enable-maintainer-mode  enable make rules and dependencies not useful
1586
1682
if test "$ac_init_help" = "recursive"; then
1587
1683
  # If there are subdirs, report their specific --help.
1588
1684
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1589
 
    test -d "$ac_dir" || continue
 
1685
    test -d "$ac_dir" ||
 
1686
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1687
      continue
1590
1688
    ac_builddir=.
1591
1689
 
1592
1690
case "$ac_dir" in
1593
1691
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594
1692
*)
1595
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1693
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1596
1694
  # A ".." for each directory in $ac_dir_suffix.
1597
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1695
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1598
1696
  case $ac_top_builddir_sub in
1599
1697
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600
1698
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1630
1728
      echo &&
1631
1729
      $SHELL "$ac_srcdir/configure" --help=recursive
1632
1730
    else
1633
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1731
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634
1732
    fi || ac_status=$?
1635
1733
    cd "$ac_pwd" || { ac_status=$?; break; }
1636
1734
  done
1639
1737
test -n "$ac_init_help" && exit $ac_status
1640
1738
if $ac_init_version; then
1641
1739
  cat <<\_ACEOF
1642
 
GNOME Nettool configure 2.22.0
1643
 
generated by GNU Autoconf 2.61
 
1740
GNOME Nettool configure 2.22.1
 
1741
generated by GNU Autoconf 2.62
1644
1742
 
1645
1743
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1646
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1744
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1647
1745
This configure script is free software; the Free Software Foundation
1648
1746
gives unlimited permission to copy, distribute and modify it.
1649
1747
_ACEOF
1653
1751
This file contains any messages produced by compilers while
1654
1752
running configure, to aid debugging if configure makes a mistake.
1655
1753
 
1656
 
It was created by GNOME Nettool $as_me 2.22.0, which was
1657
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1754
It was created by GNOME Nettool $as_me 2.22.1, which was
 
1755
generated by GNU Autoconf 2.62.  Invocation command line was
1658
1756
 
1659
1757
  $ $0 $@
1660
1758
 
1690
1788
do
1691
1789
  IFS=$as_save_IFS
1692
1790
  test -z "$as_dir" && as_dir=.
1693
 
  echo "PATH: $as_dir"
 
1791
  $as_echo "PATH: $as_dir"
1694
1792
done
1695
1793
IFS=$as_save_IFS
1696
1794
 
1725
1823
    | -silent | --silent | --silen | --sile | --sil)
1726
1824
      continue ;;
1727
1825
    *\'*)
1728
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1826
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1729
1827
    esac
1730
1828
    case $ac_pass in
1731
1829
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1777
1875
    case $ac_val in #(
1778
1876
    *${as_nl}*)
1779
1877
      case $ac_var in #(
1780
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1781
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1878
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1879
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1782
1880
      esac
1783
1881
      case $ac_var in #(
1784
1882
      _ | IFS | as_nl) ;; #(
 
1883
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1785
1884
      *) $as_unset $ac_var ;;
1786
1885
      esac ;;
1787
1886
    esac
1811
1910
    do
1812
1911
      eval ac_val=\$$ac_var
1813
1912
      case $ac_val in
1814
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1913
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1815
1914
      esac
1816
 
      echo "$ac_var='\''$ac_val'\''"
 
1915
      $as_echo "$ac_var='\''$ac_val'\''"
1817
1916
    done | sort
1818
1917
    echo
1819
1918
 
1828
1927
      do
1829
1928
        eval ac_val=\$$ac_var
1830
1929
        case $ac_val in
1831
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1930
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1832
1931
        esac
1833
 
        echo "$ac_var='\''$ac_val'\''"
 
1932
        $as_echo "$ac_var='\''$ac_val'\''"
1834
1933
      done | sort
1835
1934
      echo
1836
1935
    fi
1846
1945
      echo
1847
1946
    fi
1848
1947
    test "$ac_signal" != 0 &&
1849
 
      echo "$as_me: caught signal $ac_signal"
1850
 
    echo "$as_me: exit $exit_status"
 
1948
      $as_echo "$as_me: caught signal $ac_signal"
 
1949
    $as_echo "$as_me: exit $exit_status"
1851
1950
  } >&5
1852
1951
  rm -f core *.core core.conftest.* &&
1853
1952
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1889
1988
 
1890
1989
 
1891
1990
# Let the site file select an alternate cache file if it wants to.
1892
 
# Prefer explicitly selected file to automatically selected ones.
 
1991
# Prefer an explicitly selected file to automatically selected ones.
 
1992
ac_site_file1=NONE
 
1993
ac_site_file2=NONE
1893
1994
if test -n "$CONFIG_SITE"; then
1894
 
  set x "$CONFIG_SITE"
 
1995
  ac_site_file1=$CONFIG_SITE
1895
1996
elif test "x$prefix" != xNONE; then
1896
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1997
  ac_site_file1=$prefix/share/config.site
 
1998
  ac_site_file2=$prefix/etc/config.site
1897
1999
else
1898
 
  set x "$ac_default_prefix/share/config.site" \
1899
 
        "$ac_default_prefix/etc/config.site"
 
2000
  ac_site_file1=$ac_default_prefix/share/config.site
 
2001
  ac_site_file2=$ac_default_prefix/etc/config.site
1900
2002
fi
1901
 
shift
1902
 
for ac_site_file
 
2003
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1903
2004
do
 
2005
  test "x$ac_site_file" = xNONE && continue
1904
2006
  if test -r "$ac_site_file"; then
1905
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1906
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2007
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2008
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1907
2009
    sed 's/^/| /' "$ac_site_file" >&5
1908
2010
    . "$ac_site_file"
1909
2011
  fi
1913
2015
  # Some versions of bash will fail to source /dev/null (special
1914
2016
  # files actually), so we avoid doing that.
1915
2017
  if test -f "$cache_file"; then
1916
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1917
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2018
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2019
$as_echo "$as_me: loading cache $cache_file" >&6;}
1918
2020
    case $cache_file in
1919
2021
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1920
2022
      *)                      . "./$cache_file";;
1921
2023
    esac
1922
2024
  fi
1923
2025
else
1924
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1925
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2026
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2027
$as_echo "$as_me: creating cache $cache_file" >&6;}
1926
2028
  >$cache_file
1927
2029
fi
1928
2030
 
1936
2038
  eval ac_new_val=\$ac_env_${ac_var}_value
1937
2039
  case $ac_old_set,$ac_new_set in
1938
2040
    set,)
1939
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1940
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2041
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2042
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1941
2043
      ac_cache_corrupted=: ;;
1942
2044
    ,set)
1943
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1944
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2045
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2046
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1945
2047
      ac_cache_corrupted=: ;;
1946
2048
    ,);;
1947
2049
    *)
1948
2050
      if test "x$ac_old_val" != "x$ac_new_val"; then
1949
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1950
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1951
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1952
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1953
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1954
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1955
 
        ac_cache_corrupted=:
 
2051
        # differences in whitespace do not lead to failure.
 
2052
        ac_old_val_w=`echo x $ac_old_val`
 
2053
        ac_new_val_w=`echo x $ac_new_val`
 
2054
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2055
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2056
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2057
          ac_cache_corrupted=:
 
2058
        else
 
2059
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2060
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2061
          eval $ac_var=\$ac_old_val
 
2062
        fi
 
2063
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2064
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2065
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2066
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1956
2067
      fi;;
1957
2068
  esac
1958
2069
  # Pass precious variables to config.status.
1959
2070
  if test "$ac_new_set" = set; then
1960
2071
    case $ac_new_val in
1961
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2072
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1962
2073
    *) ac_arg=$ac_var=$ac_new_val ;;
1963
2074
    esac
1964
2075
    case " $ac_configure_args " in
1968
2079
  fi
1969
2080
done
1970
2081
if $ac_cache_corrupted; then
1971
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1972
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1973
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1974
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2082
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2083
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2084
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2085
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1975
2086
   { (exit 1); exit 1; }; }
1976
2087
fi
1977
2088
 
2032
2143
  fi
2033
2144
done
2034
2145
if test -z "$ac_aux_dir"; then
2035
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2036
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2146
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2147
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2037
2148
   { (exit 1); exit 1; }; }
2038
2149
fi
2039
2150
 
2059
2170
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2060
2171
# OS/2's system install, which has a completely different semantic
2061
2172
# ./install, which can be erroneously created by make from ./install.sh.
2062
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2063
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2173
# Reject install programs that cannot install multiple files.
 
2174
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2175
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2064
2176
if test -z "$INSTALL"; then
2065
2177
if test "${ac_cv_path_install+set}" = set; then
2066
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2178
  $as_echo_n "(cached) " >&6
2067
2179
else
2068
2180
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069
2181
for as_dir in $PATH
2092
2204
            # program-specific install script used by HP pwplus--don't use.
2093
2205
            :
2094
2206
          else
2095
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2096
 
            break 3
 
2207
            rm -rf conftest.one conftest.two conftest.dir
 
2208
            echo one > conftest.one
 
2209
            echo two > conftest.two
 
2210
            mkdir conftest.dir
 
2211
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2212
              test -s conftest.one && test -s conftest.two &&
 
2213
              test -s conftest.dir/conftest.one &&
 
2214
              test -s conftest.dir/conftest.two
 
2215
            then
 
2216
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2217
              break 3
 
2218
            fi
2097
2219
          fi
2098
2220
        fi
2099
2221
      done
2100
2222
    done
2101
2223
    ;;
2102
2224
esac
 
2225
 
2103
2226
done
2104
2227
IFS=$as_save_IFS
2105
2228
 
 
2229
rm -rf conftest.one conftest.two conftest.dir
2106
2230
 
2107
2231
fi
2108
2232
  if test "${ac_cv_path_install+set}" = set; then
2115
2239
    INSTALL=$ac_install_sh
2116
2240
  fi
2117
2241
fi
2118
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2119
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2242
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2243
$as_echo "$INSTALL" >&6; }
2120
2244
 
2121
2245
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2122
2246
# It thinks the first close brace ends the variable substitution.
2126
2250
 
2127
2251
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2128
2252
 
2129
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2130
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2253
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2254
$as_echo_n "checking whether build environment is sane... " >&6; }
2131
2255
# Just in case
2132
2256
sleep 1
2133
2257
echo timestamp > conftest.file
2150
2274
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2151
2275
      # broken ls alias from the environment.  This has actually
2152
2276
      # happened.  Such a system could not be considered "sane".
2153
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2277
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2154
2278
alias in your environment" >&5
2155
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2279
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2156
2280
alias in your environment" >&2;}
2157
2281
   { (exit 1); exit 1; }; }
2158
2282
   fi
2163
2287
   # Ok.
2164
2288
   :
2165
2289
else
2166
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2290
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2167
2291
Check your system clock" >&5
2168
 
echo "$as_me: error: newly created file is older than distributed files!
 
2292
$as_echo "$as_me: error: newly created file is older than distributed files!
2169
2293
Check your system clock" >&2;}
2170
2294
   { (exit 1); exit 1; }; }
2171
2295
fi
2172
 
{ echo "$as_me:$LINENO: result: yes" >&5
2173
 
echo "${ECHO_T}yes" >&6; }
 
2296
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2297
$as_echo "yes" >&6; }
2174
2298
test "$program_prefix" != NONE &&
2175
2299
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2176
2300
# Use a double $ so make ignores it.
2177
2301
test "$program_suffix" != NONE &&
2178
2302
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2179
 
# Double any \ or $.  echo might interpret backslashes.
 
2303
# Double any \ or $.
2180
2304
# By default was `s,x,x', remove it if useless.
2181
 
cat <<\_ACEOF >conftest.sed
2182
 
s/[\\$]/&&/g;s/;s,x,x,$//
2183
 
_ACEOF
2184
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2185
 
rm -f conftest.sed
 
2305
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2306
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2186
2307
 
2187
2308
# expand $ac_aux_dir to an absolute path
2188
2309
am_aux_dir=`cd $ac_aux_dir && pwd`
2193
2314
  am_missing_run="$MISSING --run "
2194
2315
else
2195
2316
  am_missing_run=
2196
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2197
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2317
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2318
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2198
2319
fi
2199
2320
 
2200
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2201
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2321
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2322
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2202
2323
if test -z "$MKDIR_P"; then
2203
2324
  if test "${ac_cv_path_mkdir+set}" = set; then
2204
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2325
  $as_echo_n "(cached) " >&6
2205
2326
else
2206
2327
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207
2328
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2236
2357
    MKDIR_P="$ac_install_sh -d"
2237
2358
  fi
2238
2359
fi
2239
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2240
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2360
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2361
$as_echo "$MKDIR_P" >&6; }
2241
2362
 
2242
2363
mkdir_p="$MKDIR_P"
2243
2364
case $mkdir_p in
2249
2370
do
2250
2371
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2251
2372
set dummy $ac_prog; ac_word=$2
2252
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2253
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2373
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2374
$as_echo_n "checking for $ac_word... " >&6; }
2254
2375
if test "${ac_cv_prog_AWK+set}" = set; then
2255
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2376
  $as_echo_n "(cached) " >&6
2256
2377
else
2257
2378
  if test -n "$AWK"; then
2258
2379
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2265
2386
  for ac_exec_ext in '' $ac_executable_extensions; do
2266
2387
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2267
2388
    ac_cv_prog_AWK="$ac_prog"
2268
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2389
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269
2390
    break 2
2270
2391
  fi
2271
2392
done
2276
2397
fi
2277
2398
AWK=$ac_cv_prog_AWK
2278
2399
if test -n "$AWK"; then
2279
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2280
 
echo "${ECHO_T}$AWK" >&6; }
 
2400
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2401
$as_echo "$AWK" >&6; }
2281
2402
else
2282
 
  { echo "$as_me:$LINENO: result: no" >&5
2283
 
echo "${ECHO_T}no" >&6; }
 
2403
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2404
$as_echo "no" >&6; }
2284
2405
fi
2285
2406
 
2286
2407
 
2287
2408
  test -n "$AWK" && break
2288
2409
done
2289
2410
 
2290
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2291
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2292
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2411
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2412
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2413
set x ${MAKE-make}
 
2414
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2293
2415
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2416
  $as_echo_n "(cached) " >&6
2295
2417
else
2296
2418
  cat >conftest.make <<\_ACEOF
2297
2419
SHELL = /bin/sh
2308
2430
rm -f conftest.make
2309
2431
fi
2310
2432
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2311
 
  { echo "$as_me:$LINENO: result: yes" >&5
2312
 
echo "${ECHO_T}yes" >&6; }
 
2433
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2434
$as_echo "yes" >&6; }
2313
2435
  SET_MAKE=
2314
2436
else
2315
 
  { echo "$as_me:$LINENO: result: no" >&5
2316
 
echo "${ECHO_T}no" >&6; }
 
2437
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2438
$as_echo "no" >&6; }
2317
2439
  SET_MAKE="MAKE=${MAKE-make}"
2318
2440
fi
2319
2441
 
2332
2454
  am__isrc=' -I$(srcdir)'
2333
2455
  # test to see if srcdir already configured
2334
2456
  if test -f $srcdir/config.status; then
2335
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2336
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2457
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2458
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2337
2459
   { (exit 1); exit 1; }; }
2338
2460
  fi
2339
2461
fi
2350
2472
 
2351
2473
# Define the identity of the package.
2352
2474
 PACKAGE='gnome-nettool'
2353
 
 VERSION='2.22.0'
 
2475
 VERSION='2.22.1'
2354
2476
 
2355
2477
 
2356
2478
cat >>confdefs.h <<_ACEOF
2388
2510
  if test -n "$ac_tool_prefix"; then
2389
2511
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2390
2512
set dummy ${ac_tool_prefix}strip; ac_word=$2
2391
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2392
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2513
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2514
$as_echo_n "checking for $ac_word... " >&6; }
2393
2515
if test "${ac_cv_prog_STRIP+set}" = set; then
2394
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2516
  $as_echo_n "(cached) " >&6
2395
2517
else
2396
2518
  if test -n "$STRIP"; then
2397
2519
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2404
2526
  for ac_exec_ext in '' $ac_executable_extensions; do
2405
2527
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406
2528
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2407
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2529
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408
2530
    break 2
2409
2531
  fi
2410
2532
done
2415
2537
fi
2416
2538
STRIP=$ac_cv_prog_STRIP
2417
2539
if test -n "$STRIP"; then
2418
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2419
 
echo "${ECHO_T}$STRIP" >&6; }
 
2540
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2541
$as_echo "$STRIP" >&6; }
2420
2542
else
2421
 
  { echo "$as_me:$LINENO: result: no" >&5
2422
 
echo "${ECHO_T}no" >&6; }
 
2543
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2544
$as_echo "no" >&6; }
2423
2545
fi
2424
2546
 
2425
2547
 
2428
2550
  ac_ct_STRIP=$STRIP
2429
2551
  # Extract the first word of "strip", so it can be a program name with args.
2430
2552
set dummy strip; ac_word=$2
2431
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2432
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2553
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2554
$as_echo_n "checking for $ac_word... " >&6; }
2433
2555
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2556
  $as_echo_n "(cached) " >&6
2435
2557
else
2436
2558
  if test -n "$ac_ct_STRIP"; then
2437
2559
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2444
2566
  for ac_exec_ext in '' $ac_executable_extensions; do
2445
2567
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2446
2568
    ac_cv_prog_ac_ct_STRIP="strip"
2447
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2569
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448
2570
    break 2
2449
2571
  fi
2450
2572
done
2455
2577
fi
2456
2578
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2457
2579
if test -n "$ac_ct_STRIP"; then
2458
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2459
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2580
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2581
$as_echo "$ac_ct_STRIP" >&6; }
2460
2582
else
2461
 
  { echo "$as_me:$LINENO: result: no" >&5
2462
 
echo "${ECHO_T}no" >&6; }
 
2583
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2584
$as_echo "no" >&6; }
2463
2585
fi
2464
2586
 
2465
2587
  if test "x$ac_ct_STRIP" = x; then
2467
2589
  else
2468
2590
    case $cross_compiling:$ac_tool_warned in
2469
2591
yes:)
2470
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2592
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2471
2593
whose name does not start with the host triplet.  If you think this
2472
2594
configuration is useful to you, please write to autoconf@gnu.org." >&5
2473
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2595
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2474
2596
whose name does not start with the host triplet.  If you think this
2475
2597
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2476
2598
ac_tool_warned=yes ;;
2497
2619
 
2498
2620
 
2499
2621
 
2500
 
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2501
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2622
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2623
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2502
2624
    # Check whether --enable-maintainer-mode was given.
2503
2625
if test "${enable_maintainer_mode+set}" = set; then
2504
2626
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2506
2628
  USE_MAINTAINER_MODE=no
2507
2629
fi
2508
2630
 
2509
 
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2510
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2631
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2632
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2511
2633
   if test $USE_MAINTAINER_MODE = yes; then
2512
2634
  MAINTAINER_MODE_TRUE=
2513
2635
  MAINTAINER_MODE_FALSE='#'
2532
2654
.PHONY: am__doit
2533
2655
END
2534
2656
# If we don't find an include directive, just comment out the code.
2535
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2536
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
2657
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2658
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2537
2659
am__include="#"
2538
2660
am__quote=
2539
2661
_am_result=none
2560
2682
fi
2561
2683
 
2562
2684
 
2563
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2564
 
echo "${ECHO_T}$_am_result" >&6; }
 
2685
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
2686
$as_echo "$_am_result" >&6; }
2565
2687
rm -f confinc confmf
2566
2688
 
2567
2689
# Check whether --enable-dependency-tracking was given.
2590
2712
if test -n "$ac_tool_prefix"; then
2591
2713
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2592
2714
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2593
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2594
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2715
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2716
$as_echo_n "checking for $ac_word... " >&6; }
2595
2717
if test "${ac_cv_prog_CC+set}" = set; then
2596
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2718
  $as_echo_n "(cached) " >&6
2597
2719
else
2598
2720
  if test -n "$CC"; then
2599
2721
  ac_cv_prog_CC="$CC" # Let the user override the test.
2606
2728
  for ac_exec_ext in '' $ac_executable_extensions; do
2607
2729
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2608
2730
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2609
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2731
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2610
2732
    break 2
2611
2733
  fi
2612
2734
done
2617
2739
fi
2618
2740
CC=$ac_cv_prog_CC
2619
2741
if test -n "$CC"; then
2620
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2621
 
echo "${ECHO_T}$CC" >&6; }
 
2742
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2743
$as_echo "$CC" >&6; }
2622
2744
else
2623
 
  { echo "$as_me:$LINENO: result: no" >&5
2624
 
echo "${ECHO_T}no" >&6; }
 
2745
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2746
$as_echo "no" >&6; }
2625
2747
fi
2626
2748
 
2627
2749
 
2630
2752
  ac_ct_CC=$CC
2631
2753
  # Extract the first word of "gcc", so it can be a program name with args.
2632
2754
set dummy gcc; ac_word=$2
2633
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2634
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2755
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2756
$as_echo_n "checking for $ac_word... " >&6; }
2635
2757
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2636
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2758
  $as_echo_n "(cached) " >&6
2637
2759
else
2638
2760
  if test -n "$ac_ct_CC"; then
2639
2761
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2646
2768
  for ac_exec_ext in '' $ac_executable_extensions; do
2647
2769
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2648
2770
    ac_cv_prog_ac_ct_CC="gcc"
2649
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2771
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650
2772
    break 2
2651
2773
  fi
2652
2774
done
2657
2779
fi
2658
2780
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2659
2781
if test -n "$ac_ct_CC"; then
2660
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2661
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2782
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2783
$as_echo "$ac_ct_CC" >&6; }
2662
2784
else
2663
 
  { echo "$as_me:$LINENO: result: no" >&5
2664
 
echo "${ECHO_T}no" >&6; }
 
2785
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2786
$as_echo "no" >&6; }
2665
2787
fi
2666
2788
 
2667
2789
  if test "x$ac_ct_CC" = x; then
2669
2791
  else
2670
2792
    case $cross_compiling:$ac_tool_warned in
2671
2793
yes:)
2672
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2794
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2673
2795
whose name does not start with the host triplet.  If you think this
2674
2796
configuration is useful to you, please write to autoconf@gnu.org." >&5
2675
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2797
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2676
2798
whose name does not start with the host triplet.  If you think this
2677
2799
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2678
2800
ac_tool_warned=yes ;;
2687
2809
          if test -n "$ac_tool_prefix"; then
2688
2810
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2689
2811
set dummy ${ac_tool_prefix}cc; ac_word=$2
2690
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2691
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2812
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2813
$as_echo_n "checking for $ac_word... " >&6; }
2692
2814
if test "${ac_cv_prog_CC+set}" = set; then
2693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2815
  $as_echo_n "(cached) " >&6
2694
2816
else
2695
2817
  if test -n "$CC"; then
2696
2818
  ac_cv_prog_CC="$CC" # Let the user override the test.
2703
2825
  for ac_exec_ext in '' $ac_executable_extensions; do
2704
2826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705
2827
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2706
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2828
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2707
2829
    break 2
2708
2830
  fi
2709
2831
done
2714
2836
fi
2715
2837
CC=$ac_cv_prog_CC
2716
2838
if test -n "$CC"; then
2717
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2718
 
echo "${ECHO_T}$CC" >&6; }
 
2839
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2840
$as_echo "$CC" >&6; }
2719
2841
else
2720
 
  { echo "$as_me:$LINENO: result: no" >&5
2721
 
echo "${ECHO_T}no" >&6; }
 
2842
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2843
$as_echo "no" >&6; }
2722
2844
fi
2723
2845
 
2724
2846
 
2727
2849
if test -z "$CC"; then
2728
2850
  # Extract the first word of "cc", so it can be a program name with args.
2729
2851
set dummy cc; ac_word=$2
2730
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2731
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2852
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2853
$as_echo_n "checking for $ac_word... " >&6; }
2732
2854
if test "${ac_cv_prog_CC+set}" = set; then
2733
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2855
  $as_echo_n "(cached) " >&6
2734
2856
else
2735
2857
  if test -n "$CC"; then
2736
2858
  ac_cv_prog_CC="$CC" # Let the user override the test.
2748
2870
       continue
2749
2871
     fi
2750
2872
    ac_cv_prog_CC="cc"
2751
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2873
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752
2874
    break 2
2753
2875
  fi
2754
2876
done
2771
2893
fi
2772
2894
CC=$ac_cv_prog_CC
2773
2895
if test -n "$CC"; then
2774
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2775
 
echo "${ECHO_T}$CC" >&6; }
 
2896
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2897
$as_echo "$CC" >&6; }
2776
2898
else
2777
 
  { echo "$as_me:$LINENO: result: no" >&5
2778
 
echo "${ECHO_T}no" >&6; }
 
2899
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2900
$as_echo "no" >&6; }
2779
2901
fi
2780
2902
 
2781
2903
 
2786
2908
  do
2787
2909
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2788
2910
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2789
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2790
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2911
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2912
$as_echo_n "checking for $ac_word... " >&6; }
2791
2913
if test "${ac_cv_prog_CC+set}" = set; then
2792
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2914
  $as_echo_n "(cached) " >&6
2793
2915
else
2794
2916
  if test -n "$CC"; then
2795
2917
  ac_cv_prog_CC="$CC" # Let the user override the test.
2802
2924
  for ac_exec_ext in '' $ac_executable_extensions; do
2803
2925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804
2926
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2805
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2927
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2806
2928
    break 2
2807
2929
  fi
2808
2930
done
2813
2935
fi
2814
2936
CC=$ac_cv_prog_CC
2815
2937
if test -n "$CC"; then
2816
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2817
 
echo "${ECHO_T}$CC" >&6; }
 
2938
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2939
$as_echo "$CC" >&6; }
2818
2940
else
2819
 
  { echo "$as_me:$LINENO: result: no" >&5
2820
 
echo "${ECHO_T}no" >&6; }
 
2941
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2942
$as_echo "no" >&6; }
2821
2943
fi
2822
2944
 
2823
2945
 
2830
2952
do
2831
2953
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2832
2954
set dummy $ac_prog; ac_word=$2
2833
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2834
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2955
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2956
$as_echo_n "checking for $ac_word... " >&6; }
2835
2957
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2836
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2958
  $as_echo_n "(cached) " >&6
2837
2959
else
2838
2960
  if test -n "$ac_ct_CC"; then
2839
2961
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2846
2968
  for ac_exec_ext in '' $ac_executable_extensions; do
2847
2969
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848
2970
    ac_cv_prog_ac_ct_CC="$ac_prog"
2849
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2971
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850
2972
    break 2
2851
2973
  fi
2852
2974
done
2857
2979
fi
2858
2980
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2859
2981
if test -n "$ac_ct_CC"; then
2860
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2861
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2982
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2983
$as_echo "$ac_ct_CC" >&6; }
2862
2984
else
2863
 
  { echo "$as_me:$LINENO: result: no" >&5
2864
 
echo "${ECHO_T}no" >&6; }
 
2985
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2986
$as_echo "no" >&6; }
2865
2987
fi
2866
2988
 
2867
2989
 
2873
2995
  else
2874
2996
    case $cross_compiling:$ac_tool_warned in
2875
2997
yes:)
2876
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2998
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2877
2999
whose name does not start with the host triplet.  If you think this
2878
3000
configuration is useful to you, please write to autoconf@gnu.org." >&5
2879
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
3001
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2880
3002
whose name does not start with the host triplet.  If you think this
2881
3003
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2882
3004
ac_tool_warned=yes ;;
2888
3010
fi
2889
3011
 
2890
3012
 
2891
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3013
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2892
3014
See \`config.log' for more details." >&5
2893
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3015
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2894
3016
See \`config.log' for more details." >&2;}
2895
3017
   { (exit 1); exit 1; }; }
2896
3018
 
2897
3019
# Provide some information about the compiler.
2898
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2899
 
ac_compiler=`set X $ac_compile; echo $2`
 
3020
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3021
set X $ac_compile
 
3022
ac_compiler=$2
2900
3023
{ (ac_try="$ac_compiler --version >&5"
2901
3024
case "(($ac_try" in
2902
3025
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903
3026
  *) ac_try_echo=$ac_try;;
2904
3027
esac
2905
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3028
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3029
$as_echo "$ac_try_echo") >&5
2906
3030
  (eval "$ac_compiler --version >&5") 2>&5
2907
3031
  ac_status=$?
2908
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3032
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909
3033
  (exit $ac_status); }
2910
3034
{ (ac_try="$ac_compiler -v >&5"
2911
3035
case "(($ac_try" in
2912
3036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913
3037
  *) ac_try_echo=$ac_try;;
2914
3038
esac
2915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3039
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3040
$as_echo "$ac_try_echo") >&5
2916
3041
  (eval "$ac_compiler -v >&5") 2>&5
2917
3042
  ac_status=$?
2918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3043
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
3044
  (exit $ac_status); }
2920
3045
{ (ac_try="$ac_compiler -V >&5"
2921
3046
case "(($ac_try" in
2922
3047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923
3048
  *) ac_try_echo=$ac_try;;
2924
3049
esac
2925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3050
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3051
$as_echo "$ac_try_echo") >&5
2926
3052
  (eval "$ac_compiler -V >&5") 2>&5
2927
3053
  ac_status=$?
2928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3054
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929
3055
  (exit $ac_status); }
2930
3056
 
2931
3057
cat >conftest.$ac_ext <<_ACEOF
2944
3070
}
2945
3071
_ACEOF
2946
3072
ac_clean_files_save=$ac_clean_files
2947
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3073
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2948
3074
# Try to create an executable without -o first, disregard a.out.
2949
3075
# It will help us diagnose broken compilers, and finding out an intuition
2950
3076
# of exeext.
2951
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2952
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2953
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2954
 
#
2955
 
# List of possible output files, starting from the most likely.
2956
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2957
 
# only as a last resort.  b.out is created by i960 compilers.
2958
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2959
 
#
2960
 
# The IRIX 6 linker writes into existing files which may not be
2961
 
# executable, retaining their permissions.  Remove them first so a
2962
 
# subsequent execution test works.
 
3077
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3078
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3079
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3080
 
 
3081
# The possible output files:
 
3082
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3083
 
2963
3084
ac_rmfiles=
2964
3085
for ac_file in $ac_files
2965
3086
do
2966
3087
  case $ac_file in
2967
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3088
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2968
3089
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2969
3090
  esac
2970
3091
done
2975
3096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976
3097
  *) ac_try_echo=$ac_try;;
2977
3098
esac
2978
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3100
$as_echo "$ac_try_echo") >&5
2979
3101
  (eval "$ac_link_default") 2>&5
2980
3102
  ac_status=$?
2981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3103
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982
3104
  (exit $ac_status); }; then
2983
3105
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2984
3106
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2989
3111
do
2990
3112
  test -f "$ac_file" || continue
2991
3113
  case $ac_file in
2992
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3114
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2993
3115
        ;;
2994
3116
    [ab].out )
2995
3117
        # We found the default executable, but exeext='' is most
3016
3138
  ac_file=''
3017
3139
fi
3018
3140
 
3019
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3020
 
echo "${ECHO_T}$ac_file" >&6; }
 
3141
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3142
$as_echo "$ac_file" >&6; }
3021
3143
if test -z "$ac_file"; then
3022
 
  echo "$as_me: failed program was:" >&5
 
3144
  $as_echo "$as_me: failed program was:" >&5
3023
3145
sed 's/^/| /' conftest.$ac_ext >&5
3024
3146
 
3025
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3147
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3026
3148
See \`config.log' for more details." >&5
3027
 
echo "$as_me: error: C compiler cannot create executables
 
3149
$as_echo "$as_me: error: C compiler cannot create executables
3028
3150
See \`config.log' for more details." >&2;}
3029
3151
   { (exit 77); exit 77; }; }
3030
3152
fi
3033
3155
 
3034
3156
# Check that the compiler produces executables we can run.  If not, either
3035
3157
# the compiler is broken, or we cross compile.
3036
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3037
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3158
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3159
$as_echo_n "checking whether the C compiler works... " >&6; }
3038
3160
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3039
3161
# If not cross compiling, check that we can run a simple program.
3040
3162
if test "$cross_compiling" != yes; then
3043
3165
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044
3166
  *) ac_try_echo=$ac_try;;
3045
3167
esac
3046
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3168
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3169
$as_echo "$ac_try_echo") >&5
3047
3170
  (eval "$ac_try") 2>&5
3048
3171
  ac_status=$?
3049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3172
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050
3173
  (exit $ac_status); }; }; then
3051
3174
    cross_compiling=no
3052
3175
  else
3053
3176
    if test "$cross_compiling" = maybe; then
3054
3177
        cross_compiling=yes
3055
3178
    else
3056
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3179
        { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3057
3180
If you meant to cross compile, use \`--host'.
3058
3181
See \`config.log' for more details." >&5
3059
 
echo "$as_me: error: cannot run C compiled programs.
 
3182
$as_echo "$as_me: error: cannot run C compiled programs.
3060
3183
If you meant to cross compile, use \`--host'.
3061
3184
See \`config.log' for more details." >&2;}
3062
3185
   { (exit 1); exit 1; }; }
3063
3186
    fi
3064
3187
  fi
3065
3188
fi
3066
 
{ echo "$as_me:$LINENO: result: yes" >&5
3067
 
echo "${ECHO_T}yes" >&6; }
 
3189
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3190
$as_echo "yes" >&6; }
3068
3191
 
3069
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3192
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3070
3193
ac_clean_files=$ac_clean_files_save
3071
3194
# Check that the compiler produces executables we can run.  If not, either
3072
3195
# the compiler is broken, or we cross compile.
3073
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3074
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3075
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3076
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3196
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3197
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3198
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3199
$as_echo "$cross_compiling" >&6; }
3077
3200
 
3078
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3079
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3201
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3202
$as_echo_n "checking for suffix of executables... " >&6; }
3080
3203
if { (ac_try="$ac_link"
3081
3204
case "(($ac_try" in
3082
3205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083
3206
  *) ac_try_echo=$ac_try;;
3084
3207
esac
3085
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3208
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3209
$as_echo "$ac_try_echo") >&5
3086
3210
  (eval "$ac_link") 2>&5
3087
3211
  ac_status=$?
3088
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089
3213
  (exit $ac_status); }; then
3090
3214
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3091
3215
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3094
3218
for ac_file in conftest.exe conftest conftest.*; do
3095
3219
  test -f "$ac_file" || continue
3096
3220
  case $ac_file in
3097
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3221
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3098
3222
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3099
3223
          break;;
3100
3224
    * ) break;;
3101
3225
  esac
3102
3226
done
3103
3227
else
3104
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3228
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3105
3229
See \`config.log' for more details." >&5
3106
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3230
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3107
3231
See \`config.log' for more details." >&2;}
3108
3232
   { (exit 1); exit 1; }; }
3109
3233
fi
3110
3234
 
3111
3235
rm -f conftest$ac_cv_exeext
3112
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3113
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3236
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3237
$as_echo "$ac_cv_exeext" >&6; }
3114
3238
 
3115
3239
rm -f conftest.$ac_ext
3116
3240
EXEEXT=$ac_cv_exeext
3117
3241
ac_exeext=$EXEEXT
3118
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3119
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3242
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3243
$as_echo_n "checking for suffix of object files... " >&6; }
3120
3244
if test "${ac_cv_objext+set}" = set; then
3121
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3245
  $as_echo_n "(cached) " >&6
3122
3246
else
3123
3247
  cat >conftest.$ac_ext <<_ACEOF
3124
3248
/* confdefs.h.  */
3141
3265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3142
3266
  *) ac_try_echo=$ac_try;;
3143
3267
esac
3144
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3269
$as_echo "$ac_try_echo") >&5
3145
3270
  (eval "$ac_compile") 2>&5
3146
3271
  ac_status=$?
3147
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3272
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148
3273
  (exit $ac_status); }; then
3149
3274
  for ac_file in conftest.o conftest.obj conftest.*; do
3150
3275
  test -f "$ac_file" || continue;
3151
3276
  case $ac_file in
3152
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3277
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3153
3278
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3154
3279
       break;;
3155
3280
  esac
3156
3281
done
3157
3282
else
3158
 
  echo "$as_me: failed program was:" >&5
 
3283
  $as_echo "$as_me: failed program was:" >&5
3159
3284
sed 's/^/| /' conftest.$ac_ext >&5
3160
3285
 
3161
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3286
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3162
3287
See \`config.log' for more details." >&5
3163
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3288
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3164
3289
See \`config.log' for more details." >&2;}
3165
3290
   { (exit 1); exit 1; }; }
3166
3291
fi
3167
3292
 
3168
3293
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3169
3294
fi
3170
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3171
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3295
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3296
$as_echo "$ac_cv_objext" >&6; }
3172
3297
OBJEXT=$ac_cv_objext
3173
3298
ac_objext=$OBJEXT
3174
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3175
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3299
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3300
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3176
3301
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3177
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3302
  $as_echo_n "(cached) " >&6
3178
3303
else
3179
3304
  cat >conftest.$ac_ext <<_ACEOF
3180
3305
/* confdefs.h.  */
3200
3325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201
3326
  *) ac_try_echo=$ac_try;;
3202
3327
esac
3203
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3328
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3329
$as_echo "$ac_try_echo") >&5
3204
3330
  (eval "$ac_compile") 2>conftest.er1
3205
3331
  ac_status=$?
3206
3332
  grep -v '^ *+' conftest.er1 >conftest.err
3207
3333
  rm -f conftest.er1
3208
3334
  cat conftest.err >&5
3209
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3335
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210
3336
  (exit $ac_status); } && {
3211
3337
         test -z "$ac_c_werror_flag" ||
3212
3338
         test ! -s conftest.err
3213
3339
       } && test -s conftest.$ac_objext; then
3214
3340
  ac_compiler_gnu=yes
3215
3341
else
3216
 
  echo "$as_me: failed program was:" >&5
 
3342
  $as_echo "$as_me: failed program was:" >&5
3217
3343
sed 's/^/| /' conftest.$ac_ext >&5
3218
3344
 
3219
3345
        ac_compiler_gnu=no
3223
3349
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3224
3350
 
3225
3351
fi
3226
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3227
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3228
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3352
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3353
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3354
if test $ac_compiler_gnu = yes; then
 
3355
  GCC=yes
 
3356
else
 
3357
  GCC=
 
3358
fi
3229
3359
ac_test_CFLAGS=${CFLAGS+set}
3230
3360
ac_save_CFLAGS=$CFLAGS
3231
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3232
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3361
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3362
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3233
3363
if test "${ac_cv_prog_cc_g+set}" = set; then
3234
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3364
  $as_echo_n "(cached) " >&6
3235
3365
else
3236
3366
  ac_save_c_werror_flag=$ac_c_werror_flag
3237
3367
   ac_c_werror_flag=yes
3258
3388
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259
3389
  *) ac_try_echo=$ac_try;;
3260
3390
esac
3261
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3392
$as_echo "$ac_try_echo") >&5
3262
3393
  (eval "$ac_compile") 2>conftest.er1
3263
3394
  ac_status=$?
3264
3395
  grep -v '^ *+' conftest.er1 >conftest.err
3265
3396
  rm -f conftest.er1
3266
3397
  cat conftest.err >&5
3267
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3398
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268
3399
  (exit $ac_status); } && {
3269
3400
         test -z "$ac_c_werror_flag" ||
3270
3401
         test ! -s conftest.err
3271
3402
       } && test -s conftest.$ac_objext; then
3272
3403
  ac_cv_prog_cc_g=yes
3273
3404
else
3274
 
  echo "$as_me: failed program was:" >&5
 
3405
  $as_echo "$as_me: failed program was:" >&5
3275
3406
sed 's/^/| /' conftest.$ac_ext >&5
3276
3407
 
3277
3408
        CFLAGS=""
3296
3427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297
3428
  *) ac_try_echo=$ac_try;;
3298
3429
esac
3299
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3430
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3431
$as_echo "$ac_try_echo") >&5
3300
3432
  (eval "$ac_compile") 2>conftest.er1
3301
3433
  ac_status=$?
3302
3434
  grep -v '^ *+' conftest.er1 >conftest.err
3303
3435
  rm -f conftest.er1
3304
3436
  cat conftest.err >&5
3305
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3437
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306
3438
  (exit $ac_status); } && {
3307
3439
         test -z "$ac_c_werror_flag" ||
3308
3440
         test ! -s conftest.err
3309
3441
       } && test -s conftest.$ac_objext; then
3310
3442
  :
3311
3443
else
3312
 
  echo "$as_me: failed program was:" >&5
 
3444
  $as_echo "$as_me: failed program was:" >&5
3313
3445
sed 's/^/| /' conftest.$ac_ext >&5
3314
3446
 
3315
3447
        ac_c_werror_flag=$ac_save_c_werror_flag
3335
3467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336
3468
  *) ac_try_echo=$ac_try;;
3337
3469
esac
3338
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3470
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3471
$as_echo "$ac_try_echo") >&5
3339
3472
  (eval "$ac_compile") 2>conftest.er1
3340
3473
  ac_status=$?
3341
3474
  grep -v '^ *+' conftest.er1 >conftest.err
3342
3475
  rm -f conftest.er1
3343
3476
  cat conftest.err >&5
3344
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3477
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345
3478
  (exit $ac_status); } && {
3346
3479
         test -z "$ac_c_werror_flag" ||
3347
3480
         test ! -s conftest.err
3348
3481
       } && test -s conftest.$ac_objext; then
3349
3482
  ac_cv_prog_cc_g=yes
3350
3483
else
3351
 
  echo "$as_me: failed program was:" >&5
 
3484
  $as_echo "$as_me: failed program was:" >&5
3352
3485
sed 's/^/| /' conftest.$ac_ext >&5
3353
3486
 
3354
3487
 
3363
3496
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364
3497
   ac_c_werror_flag=$ac_save_c_werror_flag
3365
3498
fi
3366
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3367
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3499
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3500
$as_echo "$ac_cv_prog_cc_g" >&6; }
3368
3501
if test "$ac_test_CFLAGS" = set; then
3369
3502
  CFLAGS=$ac_save_CFLAGS
3370
3503
elif test $ac_cv_prog_cc_g = yes; then
3380
3513
    CFLAGS=
3381
3514
  fi
3382
3515
fi
3383
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3384
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3516
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3517
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3385
3518
if test "${ac_cv_prog_cc_c89+set}" = set; then
3386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3519
  $as_echo_n "(cached) " >&6
3387
3520
else
3388
3521
  ac_cv_prog_cc_c89=no
3389
3522
ac_save_CC=$CC
3454
3587
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455
3588
  *) ac_try_echo=$ac_try;;
3456
3589
esac
3457
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3590
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3591
$as_echo "$ac_try_echo") >&5
3458
3592
  (eval "$ac_compile") 2>conftest.er1
3459
3593
  ac_status=$?
3460
3594
  grep -v '^ *+' conftest.er1 >conftest.err
3461
3595
  rm -f conftest.er1
3462
3596
  cat conftest.err >&5
3463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3597
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464
3598
  (exit $ac_status); } && {
3465
3599
         test -z "$ac_c_werror_flag" ||
3466
3600
         test ! -s conftest.err
3467
3601
       } && test -s conftest.$ac_objext; then
3468
3602
  ac_cv_prog_cc_c89=$ac_arg
3469
3603
else
3470
 
  echo "$as_me: failed program was:" >&5
 
3604
  $as_echo "$as_me: failed program was:" >&5
3471
3605
sed 's/^/| /' conftest.$ac_ext >&5
3472
3606
 
3473
3607
 
3483
3617
# AC_CACHE_VAL
3484
3618
case "x$ac_cv_prog_cc_c89" in
3485
3619
  x)
3486
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3487
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3620
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3621
$as_echo "none needed" >&6; } ;;
3488
3622
  xno)
3489
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3490
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3623
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3624
$as_echo "unsupported" >&6; } ;;
3491
3625
  *)
3492
3626
    CC="$CC $ac_cv_prog_cc_c89"
3493
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3494
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3627
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3628
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3495
3629
esac
3496
3630
 
3497
3631
 
3503
3637
 
3504
3638
depcc="$CC"   am_compiler_list=
3505
3639
 
3506
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3507
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3640
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3641
$as_echo_n "checking dependency style of $depcc... " >&6; }
3508
3642
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3509
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3643
  $as_echo_n "(cached) " >&6
3510
3644
else
3511
3645
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3512
3646
  # We make a subdir and do the tests there.  Otherwise we can end up
3594
3728
fi
3595
3729
 
3596
3730
fi
3597
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3598
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3731
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3732
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3599
3733
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3600
3734
 
3601
3735
 if
3613
3747
 
3614
3748
case "$am__api_version" in
3615
3749
    1.01234)
3616
 
        { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3617
 
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
 
3750
        { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
 
3751
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3618
3752
   { (exit 1); exit 1; }; }
3619
3753
    ;;
3620
3754
    *)
3622
3756
esac
3623
3757
 
3624
3758
if test -n "0.35.0"; then
3625
 
    { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
3626
 
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
 
3759
    { $as_echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
 
3760
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3627
3761
 
3628
3762
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3629
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3630
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
 
3763
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
3764
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3631
3765
 
3632
 
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3633
 
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
 
3766
    { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
3767
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3634
3768
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3635
 
        { { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
3636
 
echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
 
3769
        { { $as_echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
 
3770
$as_echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
 
3771
   { (exit 1); exit 1; }; }
 
3772
fi
 
3773
 
 
3774
# Extract the first word of "intltool-update", so it can be a program name with args.
 
3775
set dummy intltool-update; ac_word=$2
 
3776
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3777
$as_echo_n "checking for $ac_word... " >&6; }
 
3778
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
 
3779
  $as_echo_n "(cached) " >&6
 
3780
else
 
3781
  case $INTLTOOL_UPDATE in
 
3782
  [\\/]* | ?:[\\/]*)
 
3783
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
3784
  ;;
 
3785
  *)
 
3786
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3787
for as_dir in $PATH
 
3788
do
 
3789
  IFS=$as_save_IFS
 
3790
  test -z "$as_dir" && as_dir=.
 
3791
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3792
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3793
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
3794
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3795
    break 2
 
3796
  fi
 
3797
done
 
3798
done
 
3799
IFS=$as_save_IFS
 
3800
 
 
3801
  ;;
 
3802
esac
 
3803
fi
 
3804
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
3805
if test -n "$INTLTOOL_UPDATE"; then
 
3806
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
 
3807
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
3808
else
 
3809
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3810
$as_echo "no" >&6; }
 
3811
fi
 
3812
 
 
3813
 
 
3814
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
3815
set dummy intltool-merge; ac_word=$2
 
3816
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3817
$as_echo_n "checking for $ac_word... " >&6; }
 
3818
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
 
3819
  $as_echo_n "(cached) " >&6
 
3820
else
 
3821
  case $INTLTOOL_MERGE in
 
3822
  [\\/]* | ?:[\\/]*)
 
3823
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
3824
  ;;
 
3825
  *)
 
3826
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3827
for as_dir in $PATH
 
3828
do
 
3829
  IFS=$as_save_IFS
 
3830
  test -z "$as_dir" && as_dir=.
 
3831
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3832
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3833
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
3834
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3835
    break 2
 
3836
  fi
 
3837
done
 
3838
done
 
3839
IFS=$as_save_IFS
 
3840
 
 
3841
  ;;
 
3842
esac
 
3843
fi
 
3844
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
3845
if test -n "$INTLTOOL_MERGE"; then
 
3846
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
 
3847
$as_echo "$INTLTOOL_MERGE" >&6; }
 
3848
else
 
3849
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3850
$as_echo "no" >&6; }
 
3851
fi
 
3852
 
 
3853
 
 
3854
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
3855
set dummy intltool-extract; ac_word=$2
 
3856
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3857
$as_echo_n "checking for $ac_word... " >&6; }
 
3858
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
 
3859
  $as_echo_n "(cached) " >&6
 
3860
else
 
3861
  case $INTLTOOL_EXTRACT in
 
3862
  [\\/]* | ?:[\\/]*)
 
3863
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
3864
  ;;
 
3865
  *)
 
3866
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3867
for as_dir in $PATH
 
3868
do
 
3869
  IFS=$as_save_IFS
 
3870
  test -z "$as_dir" && as_dir=.
 
3871
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3873
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
3874
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3875
    break 2
 
3876
  fi
 
3877
done
 
3878
done
 
3879
IFS=$as_save_IFS
 
3880
 
 
3881
  ;;
 
3882
esac
 
3883
fi
 
3884
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
3885
if test -n "$INTLTOOL_EXTRACT"; then
 
3886
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
 
3887
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
3888
else
 
3889
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3890
$as_echo "no" >&6; }
 
3891
fi
 
3892
 
 
3893
 
 
3894
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
3895
    { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
 
3896
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
3637
3897
   { (exit 1); exit 1; }; }
3638
3898
fi
3639
3899
 
3680
3940
# Check the gettext tools to make sure they are GNU
3681
3941
# Extract the first word of "xgettext", so it can be a program name with args.
3682
3942
set dummy xgettext; ac_word=$2
3683
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3684
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3943
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3944
$as_echo_n "checking for $ac_word... " >&6; }
3685
3945
if test "${ac_cv_path_XGETTEXT+set}" = set; then
3686
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3946
  $as_echo_n "(cached) " >&6
3687
3947
else
3688
3948
  case $XGETTEXT in
3689
3949
  [\\/]* | ?:[\\/]*)
3698
3958
  for ac_exec_ext in '' $ac_executable_extensions; do
3699
3959
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700
3960
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3701
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3961
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3702
3962
    break 2
3703
3963
  fi
3704
3964
done
3710
3970
fi
3711
3971
XGETTEXT=$ac_cv_path_XGETTEXT
3712
3972
if test -n "$XGETTEXT"; then
3713
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3714
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
3973
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
3974
$as_echo "$XGETTEXT" >&6; }
3715
3975
else
3716
 
  { echo "$as_me:$LINENO: result: no" >&5
3717
 
echo "${ECHO_T}no" >&6; }
 
3976
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3977
$as_echo "no" >&6; }
3718
3978
fi
3719
3979
 
3720
3980
 
3721
3981
# Extract the first word of "msgmerge", so it can be a program name with args.
3722
3982
set dummy msgmerge; ac_word=$2
3723
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3724
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3983
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3984
$as_echo_n "checking for $ac_word... " >&6; }
3725
3985
if test "${ac_cv_path_MSGMERGE+set}" = set; then
3726
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3986
  $as_echo_n "(cached) " >&6
3727
3987
else
3728
3988
  case $MSGMERGE in
3729
3989
  [\\/]* | ?:[\\/]*)
3738
3998
  for ac_exec_ext in '' $ac_executable_extensions; do
3739
3999
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740
4000
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3741
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4001
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3742
4002
    break 2
3743
4003
  fi
3744
4004
done
3750
4010
fi
3751
4011
MSGMERGE=$ac_cv_path_MSGMERGE
3752
4012
if test -n "$MSGMERGE"; then
3753
 
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3754
 
echo "${ECHO_T}$MSGMERGE" >&6; }
 
4013
  { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
4014
$as_echo "$MSGMERGE" >&6; }
3755
4015
else
3756
 
  { echo "$as_me:$LINENO: result: no" >&5
3757
 
echo "${ECHO_T}no" >&6; }
 
4016
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4017
$as_echo "no" >&6; }
3758
4018
fi
3759
4019
 
3760
4020
 
3761
4021
# Extract the first word of "msgfmt", so it can be a program name with args.
3762
4022
set dummy msgfmt; ac_word=$2
3763
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3764
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4023
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4024
$as_echo_n "checking for $ac_word... " >&6; }
3765
4025
if test "${ac_cv_path_MSGFMT+set}" = set; then
3766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4026
  $as_echo_n "(cached) " >&6
3767
4027
else
3768
4028
  case $MSGFMT in
3769
4029
  [\\/]* | ?:[\\/]*)
3778
4038
  for ac_exec_ext in '' $ac_executable_extensions; do
3779
4039
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780
4040
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3781
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4041
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782
4042
    break 2
3783
4043
  fi
3784
4044
done
3790
4050
fi
3791
4051
MSGFMT=$ac_cv_path_MSGFMT
3792
4052
if test -n "$MSGFMT"; then
3793
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
3794
 
echo "${ECHO_T}$MSGFMT" >&6; }
 
4053
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
4054
$as_echo "$MSGFMT" >&6; }
3795
4055
else
3796
 
  { echo "$as_me:$LINENO: result: no" >&5
3797
 
echo "${ECHO_T}no" >&6; }
 
4056
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4057
$as_echo "no" >&6; }
3798
4058
fi
3799
4059
 
3800
4060
 
3801
4061
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3802
 
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3803
 
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
4062
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
4063
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3804
4064
   { (exit 1); exit 1; }; }
3805
4065
fi
3806
4066
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3807
4067
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3808
4068
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3809
4069
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3810
 
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
3811
 
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
4070
    { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
4071
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
3812
4072
   { (exit 1); exit 1; }; }
3813
4073
fi
3814
4074
 
3815
 
# Use the tools built into the package, not the ones that are installed.
3816
 
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3817
 
 
3818
 
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3819
 
 
3820
 
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3821
 
 
3822
 
 
3823
4075
# Extract the first word of "perl", so it can be a program name with args.
3824
4076
set dummy perl; ac_word=$2
3825
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3826
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4077
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4078
$as_echo_n "checking for $ac_word... " >&6; }
3827
4079
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3828
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4080
  $as_echo_n "(cached) " >&6
3829
4081
else
3830
4082
  case $INTLTOOL_PERL in
3831
4083
  [\\/]* | ?:[\\/]*)
3840
4092
  for ac_exec_ext in '' $ac_executable_extensions; do
3841
4093
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3842
4094
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3843
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4095
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3844
4096
    break 2
3845
4097
  fi
3846
4098
done
3852
4104
fi
3853
4105
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3854
4106
if test -n "$INTLTOOL_PERL"; then
3855
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3856
 
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
 
4107
  { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
 
4108
$as_echo "$INTLTOOL_PERL" >&6; }
3857
4109
else
3858
 
  { echo "$as_me:$LINENO: result: no" >&5
3859
 
echo "${ECHO_T}no" >&6; }
 
4110
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4111
$as_echo "no" >&6; }
3860
4112
fi
3861
4113
 
3862
4114
 
3863
4115
if test -z "$INTLTOOL_PERL"; then
3864
 
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3865
 
echo "$as_me: error: perl not found; required for intltool" >&2;}
 
4116
   { { $as_echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
 
4117
$as_echo "$as_me: error: perl not found; required for intltool" >&2;}
3866
4118
   { (exit 1); exit 1; }; }
3867
4119
fi
3868
4120
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3869
 
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3870
 
echo "$as_me: error: perl 5.x required for intltool" >&2;}
 
4121
   { { $as_echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
 
4122
$as_echo "$as_me: error: perl 5.x required for intltool" >&2;}
3871
4123
   { (exit 1); exit 1; }; }
3872
4124
fi
3873
4125
if test "x" != "xno-xml"; then
3874
 
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
3875
 
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
 
4126
   { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
 
4127
$as_echo_n "checking for XML::Parser... " >&6; }
3876
4128
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3877
 
       { echo "$as_me:$LINENO: result: ok" >&5
3878
 
echo "${ECHO_T}ok" >&6; }
 
4129
       { $as_echo "$as_me:$LINENO: result: ok" >&5
 
4130
$as_echo "ok" >&6; }
3879
4131
   else
3880
 
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3881
 
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
 
4132
       { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
 
4133
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3882
4134
   { (exit 1); exit 1; }; }
3883
4135
   fi
3884
4136
fi
3911
4163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912
4164
  *) ac_try_echo=$ac_try;;
3913
4165
esac
3914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4167
$as_echo "$ac_try_echo") >&5
3915
4168
  (eval "$ac_link") 2>conftest.er1
3916
4169
  ac_status=$?
3917
4170
  grep -v '^ *+' conftest.er1 >conftest.err
3918
4171
  rm -f conftest.er1
3919
4172
  cat conftest.err >&5
3920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4173
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921
4174
  (exit $ac_status); } && {
3922
4175
         test -z "$ac_c_werror_flag" ||
3923
4176
         test ! -s conftest.err
3924
 
       } && test -s conftest$ac_exeext &&
3925
 
       $as_test_x conftest$ac_exeext; then
 
4177
       } && test -s conftest$ac_exeext && {
 
4178
         test "$cross_compiling" = yes ||
 
4179
         $as_test_x conftest$ac_exeext
 
4180
       }; then
3926
4181
  DATADIRNAME=share
3927
4182
else
3928
 
  echo "$as_me: failed program was:" >&5
 
4183
  $as_echo "$as_me: failed program was:" >&5
3929
4184
sed 's/^/| /' conftest.$ac_ext >&5
3930
4185
 
3931
4186
        case $host in
3932
4187
    *-*-solaris*)
3933
 
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
3934
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
4188
                        { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
4189
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
3935
4190
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
3936
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4191
  $as_echo_n "(cached) " >&6
3937
4192
else
3938
4193
  cat >conftest.$ac_ext <<_ACEOF
3939
4194
/* confdefs.h.  */
3986
4241
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987
4242
  *) ac_try_echo=$ac_try;;
3988
4243
esac
3989
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4244
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4245
$as_echo "$ac_try_echo") >&5
3990
4246
  (eval "$ac_link") 2>conftest.er1
3991
4247
  ac_status=$?
3992
4248
  grep -v '^ *+' conftest.er1 >conftest.err
3993
4249
  rm -f conftest.er1
3994
4250
  cat conftest.err >&5
3995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4251
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996
4252
  (exit $ac_status); } && {
3997
4253
         test -z "$ac_c_werror_flag" ||
3998
4254
         test ! -s conftest.err
3999
 
       } && test -s conftest$ac_exeext &&
4000
 
       $as_test_x conftest$ac_exeext; then
 
4255
       } && test -s conftest$ac_exeext && {
 
4256
         test "$cross_compiling" = yes ||
 
4257
         $as_test_x conftest$ac_exeext
 
4258
       }; then
4001
4259
  ac_cv_func_bind_textdomain_codeset=yes
4002
4260
else
4003
 
  echo "$as_me: failed program was:" >&5
 
4261
  $as_echo "$as_me: failed program was:" >&5
4004
4262
sed 's/^/| /' conftest.$ac_ext >&5
4005
4263
 
4006
4264
        ac_cv_func_bind_textdomain_codeset=no
4007
4265
fi
4008
4266
 
 
4267
rm -rf conftest.dSYM
4009
4268
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4010
4269
      conftest$ac_exeext conftest.$ac_ext
4011
4270
fi
4012
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4013
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 
4271
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
4272
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4014
4273
if test $ac_cv_func_bind_textdomain_codeset = yes; then
4015
4274
  DATADIRNAME=share
4016
4275
else
4024
4283
    esac
4025
4284
fi
4026
4285
 
 
4286
rm -rf conftest.dSYM
4027
4287
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028
4288
      conftest$ac_exeext conftest.$ac_ext
4029
4289
fi
4032
4292
 
4033
4293
 
4034
4294
 
4035
 
ac_config_commands="$ac_config_commands intltool"
4036
 
 
4037
 
 
4038
 
 
4039
 
 
4040
 
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
4041
 
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
 
4295
 
 
4296
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
4297
$as_echo_n "checking for library containing strerror... " >&6; }
4042
4298
if test "${ac_cv_search_strerror+set}" = set; then
4043
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4299
  $as_echo_n "(cached) " >&6
4044
4300
else
4045
4301
  ac_func_search_save_LIBS=$LIBS
4046
4302
cat >conftest.$ac_ext <<_ACEOF
4078
4334
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079
4335
  *) ac_try_echo=$ac_try;;
4080
4336
esac
4081
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4337
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4338
$as_echo "$ac_try_echo") >&5
4082
4339
  (eval "$ac_link") 2>conftest.er1
4083
4340
  ac_status=$?
4084
4341
  grep -v '^ *+' conftest.er1 >conftest.err
4085
4342
  rm -f conftest.er1
4086
4343
  cat conftest.err >&5
4087
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4344
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088
4345
  (exit $ac_status); } && {
4089
4346
         test -z "$ac_c_werror_flag" ||
4090
4347
         test ! -s conftest.err
4091
 
       } && test -s conftest$ac_exeext &&
4092
 
       $as_test_x conftest$ac_exeext; then
 
4348
       } && test -s conftest$ac_exeext && {
 
4349
         test "$cross_compiling" = yes ||
 
4350
         $as_test_x conftest$ac_exeext
 
4351
       }; then
4093
4352
  ac_cv_search_strerror=$ac_res
4094
4353
else
4095
 
  echo "$as_me: failed program was:" >&5
 
4354
  $as_echo "$as_me: failed program was:" >&5
4096
4355
sed 's/^/| /' conftest.$ac_ext >&5
4097
4356
 
4098
4357
 
4099
4358
fi
4100
4359
 
 
4360
rm -rf conftest.dSYM
4101
4361
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4102
4362
      conftest$ac_exeext
4103
4363
  if test "${ac_cv_search_strerror+set}" = set; then
4112
4372
rm conftest.$ac_ext
4113
4373
LIBS=$ac_func_search_save_LIBS
4114
4374
fi
4115
 
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4116
 
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
 
4375
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
4376
$as_echo "$ac_cv_search_strerror" >&6; }
4117
4377
ac_res=$ac_cv_search_strerror
4118
4378
if test "$ac_res" != no; then
4119
4379
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4128
4388
if test -n "$ac_tool_prefix"; then
4129
4389
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4130
4390
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4131
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4132
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4391
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4392
$as_echo_n "checking for $ac_word... " >&6; }
4133
4393
if test "${ac_cv_prog_CC+set}" = set; then
4134
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4394
  $as_echo_n "(cached) " >&6
4135
4395
else
4136
4396
  if test -n "$CC"; then
4137
4397
  ac_cv_prog_CC="$CC" # Let the user override the test.
4144
4404
  for ac_exec_ext in '' $ac_executable_extensions; do
4145
4405
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4146
4406
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4147
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4407
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4148
4408
    break 2
4149
4409
  fi
4150
4410
done
4155
4415
fi
4156
4416
CC=$ac_cv_prog_CC
4157
4417
if test -n "$CC"; then
4158
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4159
 
echo "${ECHO_T}$CC" >&6; }
 
4418
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4419
$as_echo "$CC" >&6; }
4160
4420
else
4161
 
  { echo "$as_me:$LINENO: result: no" >&5
4162
 
echo "${ECHO_T}no" >&6; }
 
4421
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4422
$as_echo "no" >&6; }
4163
4423
fi
4164
4424
 
4165
4425
 
4168
4428
  ac_ct_CC=$CC
4169
4429
  # Extract the first word of "gcc", so it can be a program name with args.
4170
4430
set dummy gcc; ac_word=$2
4171
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4172
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4431
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4432
$as_echo_n "checking for $ac_word... " >&6; }
4173
4433
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4174
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4434
  $as_echo_n "(cached) " >&6
4175
4435
else
4176
4436
  if test -n "$ac_ct_CC"; then
4177
4437
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4184
4444
  for ac_exec_ext in '' $ac_executable_extensions; do
4185
4445
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4186
4446
    ac_cv_prog_ac_ct_CC="gcc"
4187
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4447
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4188
4448
    break 2
4189
4449
  fi
4190
4450
done
4195
4455
fi
4196
4456
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4197
4457
if test -n "$ac_ct_CC"; then
4198
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4199
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4458
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4459
$as_echo "$ac_ct_CC" >&6; }
4200
4460
else
4201
 
  { echo "$as_me:$LINENO: result: no" >&5
4202
 
echo "${ECHO_T}no" >&6; }
 
4461
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4462
$as_echo "no" >&6; }
4203
4463
fi
4204
4464
 
4205
4465
  if test "x$ac_ct_CC" = x; then
4207
4467
  else
4208
4468
    case $cross_compiling:$ac_tool_warned in
4209
4469
yes:)
4210
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4470
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4211
4471
whose name does not start with the host triplet.  If you think this
4212
4472
configuration is useful to you, please write to autoconf@gnu.org." >&5
4213
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4473
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4214
4474
whose name does not start with the host triplet.  If you think this
4215
4475
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4216
4476
ac_tool_warned=yes ;;
4225
4485
          if test -n "$ac_tool_prefix"; then
4226
4486
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4227
4487
set dummy ${ac_tool_prefix}cc; ac_word=$2
4228
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4229
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4488
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4489
$as_echo_n "checking for $ac_word... " >&6; }
4230
4490
if test "${ac_cv_prog_CC+set}" = set; then
4231
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4491
  $as_echo_n "(cached) " >&6
4232
4492
else
4233
4493
  if test -n "$CC"; then
4234
4494
  ac_cv_prog_CC="$CC" # Let the user override the test.
4241
4501
  for ac_exec_ext in '' $ac_executable_extensions; do
4242
4502
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4243
4503
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4244
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4504
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4245
4505
    break 2
4246
4506
  fi
4247
4507
done
4252
4512
fi
4253
4513
CC=$ac_cv_prog_CC
4254
4514
if test -n "$CC"; then
4255
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4256
 
echo "${ECHO_T}$CC" >&6; }
 
4515
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4516
$as_echo "$CC" >&6; }
4257
4517
else
4258
 
  { echo "$as_me:$LINENO: result: no" >&5
4259
 
echo "${ECHO_T}no" >&6; }
 
4518
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4519
$as_echo "no" >&6; }
4260
4520
fi
4261
4521
 
4262
4522
 
4265
4525
if test -z "$CC"; then
4266
4526
  # Extract the first word of "cc", so it can be a program name with args.
4267
4527
set dummy cc; ac_word=$2
4268
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4269
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4528
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4529
$as_echo_n "checking for $ac_word... " >&6; }
4270
4530
if test "${ac_cv_prog_CC+set}" = set; then
4271
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4531
  $as_echo_n "(cached) " >&6
4272
4532
else
4273
4533
  if test -n "$CC"; then
4274
4534
  ac_cv_prog_CC="$CC" # Let the user override the test.
4286
4546
       continue
4287
4547
     fi
4288
4548
    ac_cv_prog_CC="cc"
4289
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4549
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4290
4550
    break 2
4291
4551
  fi
4292
4552
done
4309
4569
fi
4310
4570
CC=$ac_cv_prog_CC
4311
4571
if test -n "$CC"; then
4312
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4313
 
echo "${ECHO_T}$CC" >&6; }
 
4572
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4573
$as_echo "$CC" >&6; }
4314
4574
else
4315
 
  { echo "$as_me:$LINENO: result: no" >&5
4316
 
echo "${ECHO_T}no" >&6; }
 
4575
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4576
$as_echo "no" >&6; }
4317
4577
fi
4318
4578
 
4319
4579
 
4324
4584
  do
4325
4585
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4326
4586
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4327
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4328
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4587
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4588
$as_echo_n "checking for $ac_word... " >&6; }
4329
4589
if test "${ac_cv_prog_CC+set}" = set; then
4330
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4590
  $as_echo_n "(cached) " >&6
4331
4591
else
4332
4592
  if test -n "$CC"; then
4333
4593
  ac_cv_prog_CC="$CC" # Let the user override the test.
4340
4600
  for ac_exec_ext in '' $ac_executable_extensions; do
4341
4601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342
4602
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4343
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4603
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344
4604
    break 2
4345
4605
  fi
4346
4606
done
4351
4611
fi
4352
4612
CC=$ac_cv_prog_CC
4353
4613
if test -n "$CC"; then
4354
 
  { echo "$as_me:$LINENO: result: $CC" >&5
4355
 
echo "${ECHO_T}$CC" >&6; }
 
4614
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4615
$as_echo "$CC" >&6; }
4356
4616
else
4357
 
  { echo "$as_me:$LINENO: result: no" >&5
4358
 
echo "${ECHO_T}no" >&6; }
 
4617
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4618
$as_echo "no" >&6; }
4359
4619
fi
4360
4620
 
4361
4621
 
4368
4628
do
4369
4629
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4370
4630
set dummy $ac_prog; ac_word=$2
4371
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4372
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4631
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4632
$as_echo_n "checking for $ac_word... " >&6; }
4373
4633
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4374
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4634
  $as_echo_n "(cached) " >&6
4375
4635
else
4376
4636
  if test -n "$ac_ct_CC"; then
4377
4637
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4384
4644
  for ac_exec_ext in '' $ac_executable_extensions; do
4385
4645
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386
4646
    ac_cv_prog_ac_ct_CC="$ac_prog"
4387
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4647
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4388
4648
    break 2
4389
4649
  fi
4390
4650
done
4395
4655
fi
4396
4656
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4397
4657
if test -n "$ac_ct_CC"; then
4398
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4399
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
4658
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4659
$as_echo "$ac_ct_CC" >&6; }
4400
4660
else
4401
 
  { echo "$as_me:$LINENO: result: no" >&5
4402
 
echo "${ECHO_T}no" >&6; }
 
4661
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4662
$as_echo "no" >&6; }
4403
4663
fi
4404
4664
 
4405
4665
 
4411
4671
  else
4412
4672
    case $cross_compiling:$ac_tool_warned in
4413
4673
yes:)
4414
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4674
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4415
4675
whose name does not start with the host triplet.  If you think this
4416
4676
configuration is useful to you, please write to autoconf@gnu.org." >&5
4417
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4677
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4418
4678
whose name does not start with the host triplet.  If you think this
4419
4679
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4420
4680
ac_tool_warned=yes ;;
4426
4686
fi
4427
4687
 
4428
4688
 
4429
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4689
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4430
4690
See \`config.log' for more details." >&5
4431
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4691
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4432
4692
See \`config.log' for more details." >&2;}
4433
4693
   { (exit 1); exit 1; }; }
4434
4694
 
4435
4695
# Provide some information about the compiler.
4436
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
4437
 
ac_compiler=`set X $ac_compile; echo $2`
 
4696
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4697
set X $ac_compile
 
4698
ac_compiler=$2
4438
4699
{ (ac_try="$ac_compiler --version >&5"
4439
4700
case "(($ac_try" in
4440
4701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4441
4702
  *) ac_try_echo=$ac_try;;
4442
4703
esac
4443
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4704
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4705
$as_echo "$ac_try_echo") >&5
4444
4706
  (eval "$ac_compiler --version >&5") 2>&5
4445
4707
  ac_status=$?
4446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4708
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447
4709
  (exit $ac_status); }
4448
4710
{ (ac_try="$ac_compiler -v >&5"
4449
4711
case "(($ac_try" in
4450
4712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451
4713
  *) ac_try_echo=$ac_try;;
4452
4714
esac
4453
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4715
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4716
$as_echo "$ac_try_echo") >&5
4454
4717
  (eval "$ac_compiler -v >&5") 2>&5
4455
4718
  ac_status=$?
4456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4719
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457
4720
  (exit $ac_status); }
4458
4721
{ (ac_try="$ac_compiler -V >&5"
4459
4722
case "(($ac_try" in
4460
4723
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461
4724
  *) ac_try_echo=$ac_try;;
4462
4725
esac
4463
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4726
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4727
$as_echo "$ac_try_echo") >&5
4464
4728
  (eval "$ac_compiler -V >&5") 2>&5
4465
4729
  ac_status=$?
4466
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4730
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467
4731
  (exit $ac_status); }
4468
4732
 
4469
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4470
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
4733
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4734
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4471
4735
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4472
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4736
  $as_echo_n "(cached) " >&6
4473
4737
else
4474
4738
  cat >conftest.$ac_ext <<_ACEOF
4475
4739
/* confdefs.h.  */
4495
4759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4496
4760
  *) ac_try_echo=$ac_try;;
4497
4761
esac
4498
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4763
$as_echo "$ac_try_echo") >&5
4499
4764
  (eval "$ac_compile") 2>conftest.er1
4500
4765
  ac_status=$?
4501
4766
  grep -v '^ *+' conftest.er1 >conftest.err
4502
4767
  rm -f conftest.er1
4503
4768
  cat conftest.err >&5
4504
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4769
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505
4770
  (exit $ac_status); } && {
4506
4771
         test -z "$ac_c_werror_flag" ||
4507
4772
         test ! -s conftest.err
4508
4773
       } && test -s conftest.$ac_objext; then
4509
4774
  ac_compiler_gnu=yes
4510
4775
else
4511
 
  echo "$as_me: failed program was:" >&5
 
4776
  $as_echo "$as_me: failed program was:" >&5
4512
4777
sed 's/^/| /' conftest.$ac_ext >&5
4513
4778
 
4514
4779
        ac_compiler_gnu=no
4518
4783
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4519
4784
 
4520
4785
fi
4521
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4522
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4523
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4786
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4787
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4788
if test $ac_compiler_gnu = yes; then
 
4789
  GCC=yes
 
4790
else
 
4791
  GCC=
 
4792
fi
4524
4793
ac_test_CFLAGS=${CFLAGS+set}
4525
4794
ac_save_CFLAGS=$CFLAGS
4526
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4527
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
4795
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4796
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4528
4797
if test "${ac_cv_prog_cc_g+set}" = set; then
4529
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4798
  $as_echo_n "(cached) " >&6
4530
4799
else
4531
4800
  ac_save_c_werror_flag=$ac_c_werror_flag
4532
4801
   ac_c_werror_flag=yes
4553
4822
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554
4823
  *) ac_try_echo=$ac_try;;
4555
4824
esac
4556
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4825
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4826
$as_echo "$ac_try_echo") >&5
4557
4827
  (eval "$ac_compile") 2>conftest.er1
4558
4828
  ac_status=$?
4559
4829
  grep -v '^ *+' conftest.er1 >conftest.err
4560
4830
  rm -f conftest.er1
4561
4831
  cat conftest.err >&5
4562
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4832
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563
4833
  (exit $ac_status); } && {
4564
4834
         test -z "$ac_c_werror_flag" ||
4565
4835
         test ! -s conftest.err
4566
4836
       } && test -s conftest.$ac_objext; then
4567
4837
  ac_cv_prog_cc_g=yes
4568
4838
else
4569
 
  echo "$as_me: failed program was:" >&5
 
4839
  $as_echo "$as_me: failed program was:" >&5
4570
4840
sed 's/^/| /' conftest.$ac_ext >&5
4571
4841
 
4572
4842
        CFLAGS=""
4591
4861
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4592
4862
  *) ac_try_echo=$ac_try;;
4593
4863
esac
4594
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4864
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4865
$as_echo "$ac_try_echo") >&5
4595
4866
  (eval "$ac_compile") 2>conftest.er1
4596
4867
  ac_status=$?
4597
4868
  grep -v '^ *+' conftest.er1 >conftest.err
4598
4869
  rm -f conftest.er1
4599
4870
  cat conftest.err >&5
4600
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4871
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601
4872
  (exit $ac_status); } && {
4602
4873
         test -z "$ac_c_werror_flag" ||
4603
4874
         test ! -s conftest.err
4604
4875
       } && test -s conftest.$ac_objext; then
4605
4876
  :
4606
4877
else
4607
 
  echo "$as_me: failed program was:" >&5
 
4878
  $as_echo "$as_me: failed program was:" >&5
4608
4879
sed 's/^/| /' conftest.$ac_ext >&5
4609
4880
 
4610
4881
        ac_c_werror_flag=$ac_save_c_werror_flag
4630
4901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631
4902
  *) ac_try_echo=$ac_try;;
4632
4903
esac
4633
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4904
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4905
$as_echo "$ac_try_echo") >&5
4634
4906
  (eval "$ac_compile") 2>conftest.er1
4635
4907
  ac_status=$?
4636
4908
  grep -v '^ *+' conftest.er1 >conftest.err
4637
4909
  rm -f conftest.er1
4638
4910
  cat conftest.err >&5
4639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4911
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640
4912
  (exit $ac_status); } && {
4641
4913
         test -z "$ac_c_werror_flag" ||
4642
4914
         test ! -s conftest.err
4643
4915
       } && test -s conftest.$ac_objext; then
4644
4916
  ac_cv_prog_cc_g=yes
4645
4917
else
4646
 
  echo "$as_me: failed program was:" >&5
 
4918
  $as_echo "$as_me: failed program was:" >&5
4647
4919
sed 's/^/| /' conftest.$ac_ext >&5
4648
4920
 
4649
4921
 
4658
4930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659
4931
   ac_c_werror_flag=$ac_save_c_werror_flag
4660
4932
fi
4661
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4662
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
4933
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4934
$as_echo "$ac_cv_prog_cc_g" >&6; }
4663
4935
if test "$ac_test_CFLAGS" = set; then
4664
4936
  CFLAGS=$ac_save_CFLAGS
4665
4937
elif test $ac_cv_prog_cc_g = yes; then
4675
4947
    CFLAGS=
4676
4948
  fi
4677
4949
fi
4678
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4679
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
4950
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4951
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4680
4952
if test "${ac_cv_prog_cc_c89+set}" = set; then
4681
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4953
  $as_echo_n "(cached) " >&6
4682
4954
else
4683
4955
  ac_cv_prog_cc_c89=no
4684
4956
ac_save_CC=$CC
4749
5021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750
5022
  *) ac_try_echo=$ac_try;;
4751
5023
esac
4752
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5025
$as_echo "$ac_try_echo") >&5
4753
5026
  (eval "$ac_compile") 2>conftest.er1
4754
5027
  ac_status=$?
4755
5028
  grep -v '^ *+' conftest.er1 >conftest.err
4756
5029
  rm -f conftest.er1
4757
5030
  cat conftest.err >&5
4758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5031
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759
5032
  (exit $ac_status); } && {
4760
5033
         test -z "$ac_c_werror_flag" ||
4761
5034
         test ! -s conftest.err
4762
5035
       } && test -s conftest.$ac_objext; then
4763
5036
  ac_cv_prog_cc_c89=$ac_arg
4764
5037
else
4765
 
  echo "$as_me: failed program was:" >&5
 
5038
  $as_echo "$as_me: failed program was:" >&5
4766
5039
sed 's/^/| /' conftest.$ac_ext >&5
4767
5040
 
4768
5041
 
4778
5051
# AC_CACHE_VAL
4779
5052
case "x$ac_cv_prog_cc_c89" in
4780
5053
  x)
4781
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4782
 
echo "${ECHO_T}none needed" >&6; } ;;
 
5054
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5055
$as_echo "none needed" >&6; } ;;
4783
5056
  xno)
4784
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4785
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
5057
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5058
$as_echo "unsupported" >&6; } ;;
4786
5059
  *)
4787
5060
    CC="$CC $ac_cv_prog_cc_c89"
4788
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4789
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
5061
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5062
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4790
5063
esac
4791
5064
 
4792
5065
 
4798
5071
 
4799
5072
depcc="$CC"   am_compiler_list=
4800
5073
 
4801
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4802
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
5074
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5075
$as_echo_n "checking dependency style of $depcc... " >&6; }
4803
5076
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5077
  $as_echo_n "(cached) " >&6
4805
5078
else
4806
5079
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4807
5080
  # We make a subdir and do the tests there.  Otherwise we can end up
4889
5162
fi
4890
5163
 
4891
5164
fi
4892
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4893
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
5165
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5166
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4894
5167
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4895
5168
 
4896
5169
 if
4909
5182
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910
5183
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911
5184
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4913
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
 
5185
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
5186
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4914
5187
# On Suns, sometimes $CPP names a directory.
4915
5188
if test -n "$CPP" && test -d "$CPP"; then
4916
5189
  CPP=
4917
5190
fi
4918
5191
if test -z "$CPP"; then
4919
5192
  if test "${ac_cv_prog_CPP+set}" = set; then
4920
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5193
  $as_echo_n "(cached) " >&6
4921
5194
else
4922
5195
      # Double quotes because CPP needs to be expanded
4923
5196
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4949
5222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4950
5223
  *) ac_try_echo=$ac_try;;
4951
5224
esac
4952
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5225
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5226
$as_echo "$ac_try_echo") >&5
4953
5227
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4954
5228
  ac_status=$?
4955
5229
  grep -v '^ *+' conftest.er1 >conftest.err
4956
5230
  rm -f conftest.er1
4957
5231
  cat conftest.err >&5
4958
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5232
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959
5233
  (exit $ac_status); } >/dev/null && {
4960
5234
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4961
5235
         test ! -s conftest.err
4962
5236
       }; then
4963
5237
  :
4964
5238
else
4965
 
  echo "$as_me: failed program was:" >&5
 
5239
  $as_echo "$as_me: failed program was:" >&5
4966
5240
sed 's/^/| /' conftest.$ac_ext >&5
4967
5241
 
4968
5242
  # Broken: fails on valid input.
4986
5260
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987
5261
  *) ac_try_echo=$ac_try;;
4988
5262
esac
4989
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5263
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5264
$as_echo "$ac_try_echo") >&5
4990
5265
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4991
5266
  ac_status=$?
4992
5267
  grep -v '^ *+' conftest.er1 >conftest.err
4993
5268
  rm -f conftest.er1
4994
5269
  cat conftest.err >&5
4995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5270
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996
5271
  (exit $ac_status); } >/dev/null && {
4997
5272
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4998
5273
         test ! -s conftest.err
5000
5275
  # Broken: success on invalid input.
5001
5276
continue
5002
5277
else
5003
 
  echo "$as_me: failed program was:" >&5
 
5278
  $as_echo "$as_me: failed program was:" >&5
5004
5279
sed 's/^/| /' conftest.$ac_ext >&5
5005
5280
 
5006
5281
  # Passes both tests.
5025
5300
else
5026
5301
  ac_cv_prog_CPP=$CPP
5027
5302
fi
5028
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5029
 
echo "${ECHO_T}$CPP" >&6; }
 
5303
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
5304
$as_echo "$CPP" >&6; }
5030
5305
ac_preproc_ok=false
5031
5306
for ac_c_preproc_warn_flag in '' yes
5032
5307
do
5054
5329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5055
5330
  *) ac_try_echo=$ac_try;;
5056
5331
esac
5057
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5332
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5333
$as_echo "$ac_try_echo") >&5
5058
5334
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5059
5335
  ac_status=$?
5060
5336
  grep -v '^ *+' conftest.er1 >conftest.err
5061
5337
  rm -f conftest.er1
5062
5338
  cat conftest.err >&5
5063
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5339
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064
5340
  (exit $ac_status); } >/dev/null && {
5065
5341
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5066
5342
         test ! -s conftest.err
5067
5343
       }; then
5068
5344
  :
5069
5345
else
5070
 
  echo "$as_me: failed program was:" >&5
 
5346
  $as_echo "$as_me: failed program was:" >&5
5071
5347
sed 's/^/| /' conftest.$ac_ext >&5
5072
5348
 
5073
5349
  # Broken: fails on valid input.
5091
5367
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5092
5368
  *) ac_try_echo=$ac_try;;
5093
5369
esac
5094
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5370
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5371
$as_echo "$ac_try_echo") >&5
5095
5372
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5096
5373
  ac_status=$?
5097
5374
  grep -v '^ *+' conftest.er1 >conftest.err
5098
5375
  rm -f conftest.er1
5099
5376
  cat conftest.err >&5
5100
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5377
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101
5378
  (exit $ac_status); } >/dev/null && {
5102
5379
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5103
5380
         test ! -s conftest.err
5105
5382
  # Broken: success on invalid input.
5106
5383
continue
5107
5384
else
5108
 
  echo "$as_me: failed program was:" >&5
 
5385
  $as_echo "$as_me: failed program was:" >&5
5109
5386
sed 's/^/| /' conftest.$ac_ext >&5
5110
5387
 
5111
5388
  # Passes both tests.
5121
5398
if $ac_preproc_ok; then
5122
5399
  :
5123
5400
else
5124
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
5401
  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5125
5402
See \`config.log' for more details." >&5
5126
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
5403
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5127
5404
See \`config.log' for more details." >&2;}
5128
5405
   { (exit 1); exit 1; }; }
5129
5406
fi
5135
5412
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5136
5413
 
5137
5414
 
5138
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5139
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5140
 
if test "${ac_cv_path_GREP+set}" = set; then
5141
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5142
 
else
5143
 
  # Extract the first word of "grep ggrep" to use in msg output
5144
 
if test -z "$GREP"; then
5145
 
set dummy grep ggrep; ac_prog_name=$2
5146
 
if test "${ac_cv_path_GREP+set}" = set; then
5147
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5148
 
else
 
5415
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5416
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5417
if test "${ac_cv_path_GREP+set}" = set; then
 
5418
  $as_echo_n "(cached) " >&6
 
5419
else
 
5420
  if test -z "$GREP"; then
5149
5421
  ac_path_GREP_found=false
5150
 
# Loop through the user's path and test for each of PROGNAME-LIST
5151
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5422
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5423
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152
5424
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5153
5425
do
5154
5426
  IFS=$as_save_IFS
5155
5427
  test -z "$as_dir" && as_dir=.
5156
5428
  for ac_prog in grep ggrep; do
5157
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5158
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5159
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5160
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
5429
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5430
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5431
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5432
# Check for GNU ac_path_GREP and select it if it is found.
5161
5433
  # Check for GNU $ac_path_GREP
5162
5434
case `"$ac_path_GREP" --version 2>&1` in
5163
5435
*GNU*)
5164
5436
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5165
5437
*)
5166
5438
  ac_count=0
5167
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5439
  $as_echo_n 0123456789 >"conftest.in"
5168
5440
  while :
5169
5441
  do
5170
5442
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5171
5443
    mv "conftest.tmp" "conftest.in"
5172
5444
    cp "conftest.in" "conftest.nl"
5173
 
    echo 'GREP' >> "conftest.nl"
 
5445
    $as_echo 'GREP' >> "conftest.nl"
5174
5446
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5175
5447
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5176
5448
    ac_count=`expr $ac_count + 1`
5185
5457
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5186
5458
esac
5187
5459
 
5188
 
 
5189
 
    $ac_path_GREP_found && break 3
 
5460
      $ac_path_GREP_found && break 3
 
5461
    done
5190
5462
  done
5191
5463
done
5192
 
 
5193
 
done
5194
5464
IFS=$as_save_IFS
5195
 
 
5196
 
 
5197
 
fi
5198
 
 
5199
 
GREP="$ac_cv_path_GREP"
5200
 
if test -z "$GREP"; then
5201
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5202
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5465
  if test -z "$ac_cv_path_GREP"; then
 
5466
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5467
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5203
5468
   { (exit 1); exit 1; }; }
5204
 
fi
5205
 
 
 
5469
  fi
5206
5470
else
5207
5471
  ac_cv_path_GREP=$GREP
5208
5472
fi
5209
5473
 
5210
 
 
5211
5474
fi
5212
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5213
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
5475
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5476
$as_echo "$ac_cv_path_GREP" >&6; }
5214
5477
 GREP="$ac_cv_path_GREP"
5215
5478
 
5216
5479
 
5217
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
5218
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
5480
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5481
$as_echo_n "checking for egrep... " >&6; }
5219
5482
if test "${ac_cv_path_EGREP+set}" = set; then
5220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5483
  $as_echo_n "(cached) " >&6
5221
5484
else
5222
5485
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5223
5486
   then ac_cv_path_EGREP="$GREP -E"
5224
5487
   else
5225
 
     # Extract the first word of "egrep" to use in msg output
5226
 
if test -z "$EGREP"; then
5227
 
set dummy egrep; ac_prog_name=$2
5228
 
if test "${ac_cv_path_EGREP+set}" = set; then
5229
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5230
 
else
 
5488
     if test -z "$EGREP"; then
5231
5489
  ac_path_EGREP_found=false
5232
 
# Loop through the user's path and test for each of PROGNAME-LIST
5233
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5490
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5491
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234
5492
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5235
5493
do
5236
5494
  IFS=$as_save_IFS
5237
5495
  test -z "$as_dir" && as_dir=.
5238
5496
  for ac_prog in egrep; do
5239
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5240
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5241
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5242
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
5497
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5498
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5499
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5500
# Check for GNU ac_path_EGREP and select it if it is found.
5243
5501
  # Check for GNU $ac_path_EGREP
5244
5502
case `"$ac_path_EGREP" --version 2>&1` in
5245
5503
*GNU*)
5246
5504
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5247
5505
*)
5248
5506
  ac_count=0
5249
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5507
  $as_echo_n 0123456789 >"conftest.in"
5250
5508
  while :
5251
5509
  do
5252
5510
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5253
5511
    mv "conftest.tmp" "conftest.in"
5254
5512
    cp "conftest.in" "conftest.nl"
5255
 
    echo 'EGREP' >> "conftest.nl"
 
5513
    $as_echo 'EGREP' >> "conftest.nl"
5256
5514
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5257
5515
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5258
5516
    ac_count=`expr $ac_count + 1`
5267
5525
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5268
5526
esac
5269
5527
 
5270
 
 
5271
 
    $ac_path_EGREP_found && break 3
 
5528
      $ac_path_EGREP_found && break 3
 
5529
    done
5272
5530
  done
5273
5531
done
5274
 
 
5275
 
done
5276
5532
IFS=$as_save_IFS
5277
 
 
5278
 
 
5279
 
fi
5280
 
 
5281
 
EGREP="$ac_cv_path_EGREP"
5282
 
if test -z "$EGREP"; then
5283
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5284
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5533
  if test -z "$ac_cv_path_EGREP"; then
 
5534
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5535
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5285
5536
   { (exit 1); exit 1; }; }
5286
 
fi
5287
 
 
 
5537
  fi
5288
5538
else
5289
5539
  ac_cv_path_EGREP=$EGREP
5290
5540
fi
5291
5541
 
5292
 
 
5293
5542
   fi
5294
5543
fi
5295
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5296
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
5544
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5545
$as_echo "$ac_cv_path_EGREP" >&6; }
5297
5546
 EGREP="$ac_cv_path_EGREP"
5298
5547
 
5299
5548
 
5300
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5301
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
5549
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
5550
$as_echo_n "checking for ANSI C header files... " >&6; }
5302
5551
if test "${ac_cv_header_stdc+set}" = set; then
5303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5552
  $as_echo_n "(cached) " >&6
5304
5553
else
5305
5554
  cat >conftest.$ac_ext <<_ACEOF
5306
5555
/* confdefs.h.  */
5327
5576
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5328
5577
  *) ac_try_echo=$ac_try;;
5329
5578
esac
5330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5579
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5580
$as_echo "$ac_try_echo") >&5
5331
5581
  (eval "$ac_compile") 2>conftest.er1
5332
5582
  ac_status=$?
5333
5583
  grep -v '^ *+' conftest.er1 >conftest.err
5334
5584
  rm -f conftest.er1
5335
5585
  cat conftest.err >&5
5336
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5586
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337
5587
  (exit $ac_status); } && {
5338
5588
         test -z "$ac_c_werror_flag" ||
5339
5589
         test ! -s conftest.err
5340
5590
       } && test -s conftest.$ac_objext; then
5341
5591
  ac_cv_header_stdc=yes
5342
5592
else
5343
 
  echo "$as_me: failed program was:" >&5
 
5593
  $as_echo "$as_me: failed program was:" >&5
5344
5594
sed 's/^/| /' conftest.$ac_ext >&5
5345
5595
 
5346
5596
        ac_cv_header_stdc=no
5432
5682
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5433
5683
  *) ac_try_echo=$ac_try;;
5434
5684
esac
5435
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5685
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5686
$as_echo "$ac_try_echo") >&5
5436
5687
  (eval "$ac_link") 2>&5
5437
5688
  ac_status=$?
5438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5689
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439
5690
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5440
5691
  { (case "(($ac_try" in
5441
5692
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5442
5693
  *) ac_try_echo=$ac_try;;
5443
5694
esac
5444
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5695
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5696
$as_echo "$ac_try_echo") >&5
5445
5697
  (eval "$ac_try") 2>&5
5446
5698
  ac_status=$?
5447
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5699
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
5700
  (exit $ac_status); }; }; then
5449
5701
  :
5450
5702
else
5451
 
  echo "$as_me: program exited with status $ac_status" >&5
5452
 
echo "$as_me: failed program was:" >&5
 
5703
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
5704
$as_echo "$as_me: failed program was:" >&5
5453
5705
sed 's/^/| /' conftest.$ac_ext >&5
5454
5706
 
5455
5707
( exit $ac_status )
5456
5708
ac_cv_header_stdc=no
5457
5709
fi
 
5710
rm -rf conftest.dSYM
5458
5711
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5459
5712
fi
5460
5713
 
5461
5714
 
5462
5715
fi
5463
5716
fi
5464
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5465
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
5717
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
5718
$as_echo "$ac_cv_header_stdc" >&6; }
5466
5719
if test $ac_cv_header_stdc = yes; then
5467
5720
 
5468
5721
cat >>confdefs.h <<\_ACEOF
5484
5737
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5485
5738
                  inttypes.h stdint.h unistd.h
5486
5739
do
5487
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5488
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5489
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5740
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5741
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5742
$as_echo_n "checking for $ac_header... " >&6; }
5490
5743
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5491
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5744
  $as_echo_n "(cached) " >&6
5492
5745
else
5493
5746
  cat >conftest.$ac_ext <<_ACEOF
5494
5747
/* confdefs.h.  */
5506
5759
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5507
5760
  *) ac_try_echo=$ac_try;;
5508
5761
esac
5509
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5763
$as_echo "$ac_try_echo") >&5
5510
5764
  (eval "$ac_compile") 2>conftest.er1
5511
5765
  ac_status=$?
5512
5766
  grep -v '^ *+' conftest.er1 >conftest.err
5513
5767
  rm -f conftest.er1
5514
5768
  cat conftest.err >&5
5515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5769
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516
5770
  (exit $ac_status); } && {
5517
5771
         test -z "$ac_c_werror_flag" ||
5518
5772
         test ! -s conftest.err
5519
5773
       } && test -s conftest.$ac_objext; then
5520
5774
  eval "$as_ac_Header=yes"
5521
5775
else
5522
 
  echo "$as_me: failed program was:" >&5
 
5776
  $as_echo "$as_me: failed program was:" >&5
5523
5777
sed 's/^/| /' conftest.$ac_ext >&5
5524
5778
 
5525
5779
        eval "$as_ac_Header=no"
5527
5781
 
5528
5782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5529
5783
fi
5530
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5531
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5532
 
echo "${ECHO_T}$ac_res" >&6; }
5533
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5784
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5785
                 $as_echo "$as_val"'`
 
5786
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5787
$as_echo "$ac_res" >&6; }
 
5788
if test `eval 'as_val=${'$as_ac_Header'}
 
5789
                 $as_echo "$as_val"'` = yes; then
5534
5790
  cat >>confdefs.h <<_ACEOF
5535
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5791
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5536
5792
_ACEOF
5537
5793
 
5538
5794
fi
5543
5799
 
5544
5800
for ac_header in sys/sockio.h
5545
5801
do
5546
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5547
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5548
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5549
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5550
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5551
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5802
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5803
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5804
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5805
$as_echo_n "checking for $ac_header... " >&6; }
 
5806
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5807
  $as_echo_n "(cached) " >&6
5552
5808
fi
5553
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5554
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5555
 
echo "${ECHO_T}$ac_res" >&6; }
 
5809
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5810
                 $as_echo "$as_val"'`
 
5811
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5812
$as_echo "$ac_res" >&6; }
5556
5813
else
5557
5814
  # Is the header compilable?
5558
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5559
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5815
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5816
$as_echo_n "checking $ac_header usability... " >&6; }
5560
5817
cat >conftest.$ac_ext <<_ACEOF
5561
5818
/* confdefs.h.  */
5562
5819
_ACEOF
5572
5829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573
5830
  *) ac_try_echo=$ac_try;;
5574
5831
esac
5575
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5832
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5833
$as_echo "$ac_try_echo") >&5
5576
5834
  (eval "$ac_compile") 2>conftest.er1
5577
5835
  ac_status=$?
5578
5836
  grep -v '^ *+' conftest.er1 >conftest.err
5579
5837
  rm -f conftest.er1
5580
5838
  cat conftest.err >&5
5581
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5839
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582
5840
  (exit $ac_status); } && {
5583
5841
         test -z "$ac_c_werror_flag" ||
5584
5842
         test ! -s conftest.err
5585
5843
       } && test -s conftest.$ac_objext; then
5586
5844
  ac_header_compiler=yes
5587
5845
else
5588
 
  echo "$as_me: failed program was:" >&5
 
5846
  $as_echo "$as_me: failed program was:" >&5
5589
5847
sed 's/^/| /' conftest.$ac_ext >&5
5590
5848
 
5591
5849
        ac_header_compiler=no
5592
5850
fi
5593
5851
 
5594
5852
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5595
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5596
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
5853
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5854
$as_echo "$ac_header_compiler" >&6; }
5597
5855
 
5598
5856
# Is the header present?
5599
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5600
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
5857
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5858
$as_echo_n "checking $ac_header presence... " >&6; }
5601
5859
cat >conftest.$ac_ext <<_ACEOF
5602
5860
/* confdefs.h.  */
5603
5861
_ACEOF
5611
5869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5612
5870
  *) ac_try_echo=$ac_try;;
5613
5871
esac
5614
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5872
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5873
$as_echo "$ac_try_echo") >&5
5615
5874
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5616
5875
  ac_status=$?
5617
5876
  grep -v '^ *+' conftest.er1 >conftest.err
5618
5877
  rm -f conftest.er1
5619
5878
  cat conftest.err >&5
5620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5879
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621
5880
  (exit $ac_status); } >/dev/null && {
5622
5881
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5623
5882
         test ! -s conftest.err
5624
5883
       }; then
5625
5884
  ac_header_preproc=yes
5626
5885
else
5627
 
  echo "$as_me: failed program was:" >&5
 
5886
  $as_echo "$as_me: failed program was:" >&5
5628
5887
sed 's/^/| /' conftest.$ac_ext >&5
5629
5888
 
5630
5889
  ac_header_preproc=no
5631
5890
fi
5632
5891
 
5633
5892
rm -f conftest.err conftest.$ac_ext
5634
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5635
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
5893
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5894
$as_echo "$ac_header_preproc" >&6; }
5636
5895
 
5637
5896
# So?  What about this header?
5638
5897
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5639
5898
  yes:no: )
5640
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5641
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5642
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5643
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
5899
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
5900
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
5901
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
5902
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5644
5903
    ac_header_preproc=yes
5645
5904
    ;;
5646
5905
  no:yes:* )
5647
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5648
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5649
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5650
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5651
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5652
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5653
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5654
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5655
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5656
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5657
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5658
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
5906
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
5907
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
5908
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
5909
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
5910
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
5911
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
5912
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
5913
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
5914
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
5915
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
5916
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
5917
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5659
5918
    ( cat <<\_ASBOX
5660
5919
## ---------------------------------------------------------------------------- ##
5661
5920
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-nettool ##
5664
5923
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5665
5924
    ;;
5666
5925
esac
5667
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5668
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5926
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5927
$as_echo_n "checking for $ac_header... " >&6; }
5669
5928
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5670
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5929
  $as_echo_n "(cached) " >&6
5671
5930
else
5672
5931
  eval "$as_ac_Header=\$ac_header_preproc"
5673
5932
fi
5674
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5675
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5676
 
echo "${ECHO_T}$ac_res" >&6; }
 
5933
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5934
                 $as_echo "$as_val"'`
 
5935
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5936
$as_echo "$ac_res" >&6; }
5677
5937
 
5678
5938
fi
5679
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5939
if test `eval 'as_val=${'$as_ac_Header'}
 
5940
                 $as_echo "$as_val"'` = yes; then
5680
5941
  cat >>confdefs.h <<_ACEOF
5681
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5942
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5682
5943
_ACEOF
5683
5944
 
5684
5945
fi
5689
5950
 
5690
5951
for ac_header in sys/socket.h ifaddrs.h
5691
5952
do
5692
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5693
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5694
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5695
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5696
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5953
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5954
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5955
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5956
$as_echo_n "checking for $ac_header... " >&6; }
 
5957
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5958
  $as_echo_n "(cached) " >&6
5698
5959
fi
5699
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5700
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5701
 
echo "${ECHO_T}$ac_res" >&6; }
 
5960
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
5961
                 $as_echo "$as_val"'`
 
5962
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
5963
$as_echo "$ac_res" >&6; }
5702
5964
else
5703
5965
  # Is the header compilable?
5704
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5705
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
5966
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5967
$as_echo_n "checking $ac_header usability... " >&6; }
5706
5968
cat >conftest.$ac_ext <<_ACEOF
5707
5969
/* confdefs.h.  */
5708
5970
_ACEOF
5718
5980
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5719
5981
  *) ac_try_echo=$ac_try;;
5720
5982
esac
5721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5983
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
5984
$as_echo "$ac_try_echo") >&5
5722
5985
  (eval "$ac_compile") 2>conftest.er1
5723
5986
  ac_status=$?
5724
5987
  grep -v '^ *+' conftest.er1 >conftest.err
5725
5988
  rm -f conftest.er1
5726
5989
  cat conftest.err >&5
5727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5990
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728
5991
  (exit $ac_status); } && {
5729
5992
         test -z "$ac_c_werror_flag" ||
5730
5993
         test ! -s conftest.err
5731
5994
       } && test -s conftest.$ac_objext; then
5732
5995
  ac_header_compiler=yes
5733
5996
else
5734
 
  echo "$as_me: failed program was:" >&5
 
5997
  $as_echo "$as_me: failed program was:" >&5
5735
5998
sed 's/^/| /' conftest.$ac_ext >&5
5736
5999
 
5737
6000
        ac_header_compiler=no
5738
6001
fi
5739
6002
 
5740
6003
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5741
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5742
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6004
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6005
$as_echo "$ac_header_compiler" >&6; }
5743
6006
 
5744
6007
# Is the header present?
5745
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5746
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
6008
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
6009
$as_echo_n "checking $ac_header presence... " >&6; }
5747
6010
cat >conftest.$ac_ext <<_ACEOF
5748
6011
/* confdefs.h.  */
5749
6012
_ACEOF
5757
6020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5758
6021
  *) ac_try_echo=$ac_try;;
5759
6022
esac
5760
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6024
$as_echo "$ac_try_echo") >&5
5761
6025
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5762
6026
  ac_status=$?
5763
6027
  grep -v '^ *+' conftest.er1 >conftest.err
5764
6028
  rm -f conftest.er1
5765
6029
  cat conftest.err >&5
5766
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6030
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767
6031
  (exit $ac_status); } >/dev/null && {
5768
6032
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5769
6033
         test ! -s conftest.err
5770
6034
       }; then
5771
6035
  ac_header_preproc=yes
5772
6036
else
5773
 
  echo "$as_me: failed program was:" >&5
 
6037
  $as_echo "$as_me: failed program was:" >&5
5774
6038
sed 's/^/| /' conftest.$ac_ext >&5
5775
6039
 
5776
6040
  ac_header_preproc=no
5777
6041
fi
5778
6042
 
5779
6043
rm -f conftest.err conftest.$ac_ext
5780
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5781
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
6044
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
6045
$as_echo "$ac_header_preproc" >&6; }
5782
6046
 
5783
6047
# So?  What about this header?
5784
6048
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5785
6049
  yes:no: )
5786
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5787
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5788
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5789
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
6050
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
6051
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
6052
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
6053
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5790
6054
    ac_header_preproc=yes
5791
6055
    ;;
5792
6056
  no:yes:* )
5793
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5794
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5795
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5796
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5797
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5798
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5799
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5800
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5801
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5802
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5803
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5804
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
6057
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
6058
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
6059
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
6060
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
6061
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
6062
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
6063
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
6064
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
6065
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
6066
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
6067
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
6068
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5805
6069
    ( cat <<\_ASBOX
5806
6070
## ---------------------------------------------------------------------------- ##
5807
6071
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-nettool ##
5810
6074
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5811
6075
    ;;
5812
6076
esac
5813
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5814
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
6077
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6078
$as_echo_n "checking for $ac_header... " >&6; }
5815
6079
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6080
  $as_echo_n "(cached) " >&6
5817
6081
else
5818
6082
  eval "$as_ac_Header=\$ac_header_preproc"
5819
6083
fi
5820
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5821
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5822
 
echo "${ECHO_T}$ac_res" >&6; }
 
6084
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6085
                 $as_echo "$as_val"'`
 
6086
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6087
$as_echo "$ac_res" >&6; }
5823
6088
 
5824
6089
fi
5825
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
6090
if test `eval 'as_val=${'$as_ac_Header'}
 
6091
                 $as_echo "$as_val"'` = yes; then
5826
6092
  cat >>confdefs.h <<_ACEOF
5827
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
6093
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5828
6094
_ACEOF
5829
6095
 
5830
6096
else
5831
 
  { { echo "$as_me:$LINENO: error: Required header not found: $ac_header" >&5
5832
 
echo "$as_me: error: Required header not found: $ac_header" >&2;}
 
6097
  { { $as_echo "$as_me:$LINENO: error: Required header not found: $ac_header" >&5
 
6098
$as_echo "$as_me: error: Required header not found: $ac_header" >&2;}
5833
6099
   { (exit 1); exit 1; }; }
5834
6100
fi
5835
6101
 
5909
6175
 
5910
6176
# Make sure we can run config.sub.
5911
6177
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5912
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5913
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
6178
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
6179
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5914
6180
   { (exit 1); exit 1; }; }
5915
6181
 
5916
 
{ echo "$as_me:$LINENO: checking build system type" >&5
5917
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
6182
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
6183
$as_echo_n "checking build system type... " >&6; }
5918
6184
if test "${ac_cv_build+set}" = set; then
5919
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6185
  $as_echo_n "(cached) " >&6
5920
6186
else
5921
6187
  ac_build_alias=$build_alias
5922
6188
test "x$ac_build_alias" = x &&
5923
6189
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5924
6190
test "x$ac_build_alias" = x &&
5925
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5926
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
6191
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
6192
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5927
6193
   { (exit 1); exit 1; }; }
5928
6194
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5929
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5930
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
6195
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
6196
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5931
6197
   { (exit 1); exit 1; }; }
5932
6198
 
5933
6199
fi
5934
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5935
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
6200
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
6201
$as_echo "$ac_cv_build" >&6; }
5936
6202
case $ac_cv_build in
5937
6203
*-*-*) ;;
5938
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5939
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
6204
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
6205
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
5940
6206
   { (exit 1); exit 1; }; };;
5941
6207
esac
5942
6208
build=$ac_cv_build
5953
6219
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5954
6220
 
5955
6221
 
5956
 
{ echo "$as_me:$LINENO: checking host system type" >&5
5957
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
6222
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
6223
$as_echo_n "checking host system type... " >&6; }
5958
6224
if test "${ac_cv_host+set}" = set; then
5959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6225
  $as_echo_n "(cached) " >&6
5960
6226
else
5961
6227
  if test "x$host_alias" = x; then
5962
6228
  ac_cv_host=$ac_cv_build
5963
6229
else
5964
6230
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5965
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5966
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
6231
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
6232
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5967
6233
   { (exit 1); exit 1; }; }
5968
6234
fi
5969
6235
 
5970
6236
fi
5971
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5972
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
6237
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
6238
$as_echo "$ac_cv_host" >&6; }
5973
6239
case $ac_cv_host in
5974
6240
*-*-*) ;;
5975
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5976
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
6241
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
6242
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
5977
6243
   { (exit 1); exit 1; }; };;
5978
6244
esac
5979
6245
host=$ac_cv_host
5990
6256
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5991
6257
 
5992
6258
 
5993
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5994
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
 
6259
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
6260
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5995
6261
if test "${lt_cv_path_SED+set}" = set; then
5996
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6262
  $as_echo_n "(cached) " >&6
5997
6263
else
5998
6264
  # Loop through the user's path and test for sed and gsed.
5999
6265
# Then use that list of sed's as ones to test for truncation.
6004
6270
  test -z "$as_dir" && as_dir=.
6005
6271
  for lt_ac_prog in sed gsed; do
6006
6272
    for ac_exec_ext in '' $ac_executable_extensions; do
6007
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
6273
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6008
6274
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6009
6275
      fi
6010
6276
    done
6011
6277
  done
6012
6278
done
 
6279
IFS=$as_save_IFS
6013
6280
lt_ac_max=0
6014
6281
lt_ac_count=0
6015
6282
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6044
6311
fi
6045
6312
 
6046
6313
SED=$lt_cv_path_SED
6047
 
{ echo "$as_me:$LINENO: result: $SED" >&5
6048
 
echo "${ECHO_T}$SED" >&6; }
 
6314
 
 
6315
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
 
6316
$as_echo "$SED" >&6; }
6049
6317
 
6050
6318
 
6051
6319
# Check whether --with-gnu-ld was given.
6058
6326
ac_prog=ld
6059
6327
if test "$GCC" = yes; then
6060
6328
  # Check if gcc -print-prog-name=ld gives a path.
6061
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6062
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
6329
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
6330
$as_echo_n "checking for ld used by $CC... " >&6; }
6063
6331
  case $host in
6064
6332
  *-*-mingw*)
6065
6333
    # gcc leaves a trailing carriage return which upsets mingw
6088
6356
    ;;
6089
6357
  esac
6090
6358
elif test "$with_gnu_ld" = yes; then
6091
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
6092
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
6359
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
6360
$as_echo_n "checking for GNU ld... " >&6; }
6093
6361
else
6094
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6095
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
6362
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
6363
$as_echo_n "checking for non-GNU ld... " >&6; }
6096
6364
fi
6097
6365
if test "${lt_cv_path_LD+set}" = set; then
6098
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6366
  $as_echo_n "(cached) " >&6
6099
6367
else
6100
6368
  if test -z "$LD"; then
6101
6369
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6125
6393
 
6126
6394
LD="$lt_cv_path_LD"
6127
6395
if test -n "$LD"; then
6128
 
  { echo "$as_me:$LINENO: result: $LD" >&5
6129
 
echo "${ECHO_T}$LD" >&6; }
 
6396
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
6397
$as_echo "$LD" >&6; }
6130
6398
else
6131
 
  { echo "$as_me:$LINENO: result: no" >&5
6132
 
echo "${ECHO_T}no" >&6; }
 
6399
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6400
$as_echo "no" >&6; }
6133
6401
fi
6134
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6135
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
6402
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
6403
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6136
6404
   { (exit 1); exit 1; }; }
6137
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6138
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
6405
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
6406
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6139
6407
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6140
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6408
  $as_echo_n "(cached) " >&6
6141
6409
else
6142
6410
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6143
6411
case `$LD -v 2>&1 </dev/null` in
6149
6417
  ;;
6150
6418
esac
6151
6419
fi
6152
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6153
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
6420
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6421
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6154
6422
with_gnu_ld=$lt_cv_prog_gnu_ld
6155
6423
 
6156
6424
 
6157
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6158
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
 
6425
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6426
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6159
6427
if test "${lt_cv_ld_reload_flag+set}" = set; then
6160
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6428
  $as_echo_n "(cached) " >&6
6161
6429
else
6162
6430
  lt_cv_ld_reload_flag='-r'
6163
6431
fi
6164
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6165
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
 
6432
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6433
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6166
6434
reload_flag=$lt_cv_ld_reload_flag
6167
6435
case $reload_flag in
6168
6436
"" | " "*) ;;
6179
6447
    ;;
6180
6448
esac
6181
6449
 
6182
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6183
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
6450
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
6451
$as_echo_n "checking for BSD-compatible nm... " >&6; }
6184
6452
if test "${lt_cv_path_NM+set}" = set; then
6185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6453
  $as_echo_n "(cached) " >&6
6186
6454
else
6187
6455
  if test -n "$NM"; then
6188
6456
  # Let the user override the test.
6228
6496
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6229
6497
fi
6230
6498
fi
6231
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6232
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
 
6499
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6500
$as_echo "$lt_cv_path_NM" >&6; }
6233
6501
NM="$lt_cv_path_NM"
6234
6502
 
6235
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
6236
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
6503
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6504
$as_echo_n "checking whether ln -s works... " >&6; }
6237
6505
LN_S=$as_ln_s
6238
6506
if test "$LN_S" = "ln -s"; then
6239
 
  { echo "$as_me:$LINENO: result: yes" >&5
6240
 
echo "${ECHO_T}yes" >&6; }
 
6507
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6508
$as_echo "yes" >&6; }
6241
6509
else
6242
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6243
 
echo "${ECHO_T}no, using $LN_S" >&6; }
 
6510
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6511
$as_echo "no, using $LN_S" >&6; }
6244
6512
fi
6245
6513
 
6246
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6247
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
6514
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6515
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6248
6516
if test "${lt_cv_deplibs_check_method+set}" = set; then
6249
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6517
  $as_echo_n "(cached) " >&6
6250
6518
else
6251
6519
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6252
6520
lt_cv_file_magic_test_file=
6263
6531
# whether `pass_all' will *always* work, you probably want this one.
6264
6532
 
6265
6533
case $host_os in
6266
 
aix4* | aix5*)
 
6534
aix[4-9]*)
6267
6535
  lt_cv_deplibs_check_method=pass_all
6268
6536
  ;;
6269
6537
 
6285
6553
 
6286
6554
mingw* | pw32*)
6287
6555
  # Base MSYS/MinGW do not provide the 'file' command needed by
6288
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6289
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6290
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6556
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6557
  # unless we find 'file', for example because we are cross-compiling.
 
6558
  if ( file / ) >/dev/null 2>&1; then
 
6559
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6560
    lt_cv_file_magic_cmd='func_win32_libid'
 
6561
  else
 
6562
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6563
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6564
  fi
6291
6565
  ;;
6292
6566
 
6293
6567
darwin* | rhapsody*)
6294
6568
  lt_cv_deplibs_check_method=pass_all
6295
6569
  ;;
6296
6570
 
6297
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
6571
freebsd* | dragonfly*)
6298
6572
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6299
6573
    case $host_cpu in
6300
6574
    i*86 )
6332
6606
  esac
6333
6607
  ;;
6334
6608
 
6335
 
interix3*)
 
6609
interix[3-9]*)
6336
6610
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6337
6611
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6338
6612
  ;;
6348
6622
  ;;
6349
6623
 
6350
6624
# This must be Linux ELF.
6351
 
linux*)
 
6625
linux* | k*bsd*-gnu)
6352
6626
  lt_cv_deplibs_check_method=pass_all
6353
6627
  ;;
6354
6628
 
6382
6656
  lt_cv_deplibs_check_method=pass_all
6383
6657
  ;;
6384
6658
 
 
6659
rdos*)
 
6660
  lt_cv_deplibs_check_method=pass_all
 
6661
  ;;
 
6662
 
6385
6663
solaris*)
6386
6664
  lt_cv_deplibs_check_method=pass_all
6387
6665
  ;;
6419
6697
esac
6420
6698
 
6421
6699
fi
6422
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6423
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6700
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6701
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6424
6702
file_magic_cmd=$lt_cv_file_magic_cmd
6425
6703
deplibs_check_method=$lt_cv_deplibs_check_method
6426
6704
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6453
6731
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6454
6732
  (eval $ac_compile) 2>&5
6455
6733
  ac_status=$?
6456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6734
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457
6735
  (exit $ac_status); }; then
6458
6736
    case `/usr/bin/file conftest.$ac_objext` in
6459
6737
    *ELF-32*)
6468
6746
  ;;
6469
6747
*-*-irix6*)
6470
6748
  # Find out which ABI we are using.
6471
 
  echo '#line 6471 "configure"' > conftest.$ac_ext
 
6749
  echo '#line 6749 "configure"' > conftest.$ac_ext
6472
6750
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6473
6751
  (eval $ac_compile) 2>&5
6474
6752
  ac_status=$?
6475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6753
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476
6754
  (exit $ac_status); }; then
6477
6755
   if test "$lt_cv_prog_gnu_ld" = yes; then
6478
6756
    case `/usr/bin/file conftest.$ac_objext` in
6503
6781
  rm -rf conftest*
6504
6782
  ;;
6505
6783
 
6506
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
6784
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6785
s390*-*linux*|sparc*-*linux*)
6507
6786
  # Find out which ABI we are using.
6508
6787
  echo 'int i;' > conftest.$ac_ext
6509
6788
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6510
6789
  (eval $ac_compile) 2>&5
6511
6790
  ac_status=$?
6512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6791
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513
6792
  (exit $ac_status); }; then
6514
6793
    case `/usr/bin/file conftest.o` in
6515
6794
    *32-bit*)
6516
6795
      case $host in
 
6796
        x86_64-*kfreebsd*-gnu)
 
6797
          LD="${LD-ld} -m elf_i386_fbsd"
 
6798
          ;;
6517
6799
        x86_64-*linux*)
6518
6800
          LD="${LD-ld} -m elf_i386"
6519
6801
          ;;
6529
6811
      esac
6530
6812
      ;;
6531
6813
    *64-bit*)
 
6814
      libsuff=64
6532
6815
      case $host in
 
6816
        x86_64-*kfreebsd*-gnu)
 
6817
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
6818
          ;;
6533
6819
        x86_64-*linux*)
6534
6820
          LD="${LD-ld} -m elf_x86_64"
6535
6821
          ;;
6553
6839
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6554
6840
  SAVE_CFLAGS="$CFLAGS"
6555
6841
  CFLAGS="$CFLAGS -belf"
6556
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6557
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
 
6842
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6843
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6558
6844
if test "${lt_cv_cc_needs_belf+set}" = set; then
6559
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6845
  $as_echo_n "(cached) " >&6
6560
6846
else
6561
6847
  ac_ext=c
6562
6848
ac_cpp='$CPP $CPPFLAGS'
6585
6871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6586
6872
  *) ac_try_echo=$ac_try;;
6587
6873
esac
6588
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6874
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6875
$as_echo "$ac_try_echo") >&5
6589
6876
  (eval "$ac_link") 2>conftest.er1
6590
6877
  ac_status=$?
6591
6878
  grep -v '^ *+' conftest.er1 >conftest.err
6592
6879
  rm -f conftest.er1
6593
6880
  cat conftest.err >&5
6594
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6881
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595
6882
  (exit $ac_status); } && {
6596
6883
         test -z "$ac_c_werror_flag" ||
6597
6884
         test ! -s conftest.err
6598
 
       } && test -s conftest$ac_exeext &&
6599
 
       $as_test_x conftest$ac_exeext; then
 
6885
       } && test -s conftest$ac_exeext && {
 
6886
         test "$cross_compiling" = yes ||
 
6887
         $as_test_x conftest$ac_exeext
 
6888
       }; then
6600
6889
  lt_cv_cc_needs_belf=yes
6601
6890
else
6602
 
  echo "$as_me: failed program was:" >&5
 
6891
  $as_echo "$as_me: failed program was:" >&5
6603
6892
sed 's/^/| /' conftest.$ac_ext >&5
6604
6893
 
6605
6894
        lt_cv_cc_needs_belf=no
6606
6895
fi
6607
6896
 
 
6897
rm -rf conftest.dSYM
6608
6898
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6609
6899
      conftest$ac_exeext conftest.$ac_ext
6610
6900
     ac_ext=c
6614
6904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6615
6905
 
6616
6906
fi
6617
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6618
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
 
6907
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6908
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6619
6909
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6620
6910
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6621
6911
    CFLAGS="$SAVE_CFLAGS"
6627
6917
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6628
6918
  (eval $ac_compile) 2>&5
6629
6919
  ac_status=$?
6630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6920
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631
6921
  (exit $ac_status); }; then
6632
6922
    case `/usr/bin/file conftest.o` in
6633
6923
    *64-bit*)
6634
6924
      case $lt_cv_prog_gnu_ld in
6635
6925
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6636
 
      *)    LD="${LD-ld} -64" ;;
 
6926
      *)
 
6927
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6928
          LD="${LD-ld} -64"
 
6929
        fi
 
6930
        ;;
6637
6931
      esac
6638
6932
      ;;
6639
6933
    esac
6650
6944
 
6651
6945
for ac_header in dlfcn.h
6652
6946
do
6653
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6654
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6655
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6656
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6657
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6658
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6947
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
6948
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6949
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
6950
$as_echo_n "checking for $ac_header... " >&6; }
 
6951
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
6952
  $as_echo_n "(cached) " >&6
6659
6953
fi
6660
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6661
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6662
 
echo "${ECHO_T}$ac_res" >&6; }
 
6954
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
6955
                 $as_echo "$as_val"'`
 
6956
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
6957
$as_echo "$ac_res" >&6; }
6663
6958
else
6664
6959
  # Is the header compilable?
6665
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6666
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
6960
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
6961
$as_echo_n "checking $ac_header usability... " >&6; }
6667
6962
cat >conftest.$ac_ext <<_ACEOF
6668
6963
/* confdefs.h.  */
6669
6964
_ACEOF
6679
6974
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680
6975
  *) ac_try_echo=$ac_try;;
6681
6976
esac
6682
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6977
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6978
$as_echo "$ac_try_echo") >&5
6683
6979
  (eval "$ac_compile") 2>conftest.er1
6684
6980
  ac_status=$?
6685
6981
  grep -v '^ *+' conftest.er1 >conftest.err
6686
6982
  rm -f conftest.er1
6687
6983
  cat conftest.err >&5
6688
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6984
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689
6985
  (exit $ac_status); } && {
6690
6986
         test -z "$ac_c_werror_flag" ||
6691
6987
         test ! -s conftest.err
6692
6988
       } && test -s conftest.$ac_objext; then
6693
6989
  ac_header_compiler=yes
6694
6990
else
6695
 
  echo "$as_me: failed program was:" >&5
 
6991
  $as_echo "$as_me: failed program was:" >&5
6696
6992
sed 's/^/| /' conftest.$ac_ext >&5
6697
6993
 
6698
6994
        ac_header_compiler=no
6699
6995
fi
6700
6996
 
6701
6997
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6702
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6703
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
6998
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
6999
$as_echo "$ac_header_compiler" >&6; }
6704
7000
 
6705
7001
# Is the header present?
6706
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6707
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
7002
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
7003
$as_echo_n "checking $ac_header presence... " >&6; }
6708
7004
cat >conftest.$ac_ext <<_ACEOF
6709
7005
/* confdefs.h.  */
6710
7006
_ACEOF
6718
7014
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6719
7015
  *) ac_try_echo=$ac_try;;
6720
7016
esac
6721
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7017
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7018
$as_echo "$ac_try_echo") >&5
6722
7019
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6723
7020
  ac_status=$?
6724
7021
  grep -v '^ *+' conftest.er1 >conftest.err
6725
7022
  rm -f conftest.er1
6726
7023
  cat conftest.err >&5
6727
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7024
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728
7025
  (exit $ac_status); } >/dev/null && {
6729
7026
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6730
7027
         test ! -s conftest.err
6731
7028
       }; then
6732
7029
  ac_header_preproc=yes
6733
7030
else
6734
 
  echo "$as_me: failed program was:" >&5
 
7031
  $as_echo "$as_me: failed program was:" >&5
6735
7032
sed 's/^/| /' conftest.$ac_ext >&5
6736
7033
 
6737
7034
  ac_header_preproc=no
6738
7035
fi
6739
7036
 
6740
7037
rm -f conftest.err conftest.$ac_ext
6741
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6742
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
7038
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
7039
$as_echo "$ac_header_preproc" >&6; }
6743
7040
 
6744
7041
# So?  What about this header?
6745
7042
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6746
7043
  yes:no: )
6747
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6748
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6749
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6750
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
7044
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
7045
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
7046
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
7047
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6751
7048
    ac_header_preproc=yes
6752
7049
    ;;
6753
7050
  no:yes:* )
6754
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6755
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6756
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6757
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6758
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6759
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6760
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6761
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6762
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6763
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6764
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6765
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
7051
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
7052
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
7053
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
7054
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
7055
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
7056
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
7057
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
7058
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
7059
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
7060
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
7061
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
7062
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6766
7063
    ( cat <<\_ASBOX
6767
7064
## ---------------------------------------------------------------------------- ##
6768
7065
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-nettool ##
6771
7068
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6772
7069
    ;;
6773
7070
esac
6774
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6775
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
7071
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7072
$as_echo_n "checking for $ac_header... " >&6; }
6776
7073
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6777
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7074
  $as_echo_n "(cached) " >&6
6778
7075
else
6779
7076
  eval "$as_ac_Header=\$ac_header_preproc"
6780
7077
fi
6781
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6782
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6783
 
echo "${ECHO_T}$ac_res" >&6; }
 
7078
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7079
                 $as_echo "$as_val"'`
 
7080
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7081
$as_echo "$ac_res" >&6; }
6784
7082
 
6785
7083
fi
6786
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
7084
if test `eval 'as_val=${'$as_ac_Header'}
 
7085
                 $as_echo "$as_val"'` = yes; then
6787
7086
  cat >>confdefs.h <<_ACEOF
6788
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7087
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6789
7088
_ACEOF
6790
7089
 
6791
7090
fi
6806
7105
  do
6807
7106
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6808
7107
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6809
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6810
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7108
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7109
$as_echo_n "checking for $ac_word... " >&6; }
6811
7110
if test "${ac_cv_prog_CXX+set}" = set; then
6812
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7111
  $as_echo_n "(cached) " >&6
6813
7112
else
6814
7113
  if test -n "$CXX"; then
6815
7114
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6822
7121
  for ac_exec_ext in '' $ac_executable_extensions; do
6823
7122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6824
7123
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6825
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7124
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6826
7125
    break 2
6827
7126
  fi
6828
7127
done
6833
7132
fi
6834
7133
CXX=$ac_cv_prog_CXX
6835
7134
if test -n "$CXX"; then
6836
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6837
 
echo "${ECHO_T}$CXX" >&6; }
 
7135
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
7136
$as_echo "$CXX" >&6; }
6838
7137
else
6839
 
  { echo "$as_me:$LINENO: result: no" >&5
6840
 
echo "${ECHO_T}no" >&6; }
 
7138
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7139
$as_echo "no" >&6; }
6841
7140
fi
6842
7141
 
6843
7142
 
6850
7149
do
6851
7150
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6852
7151
set dummy $ac_prog; ac_word=$2
6853
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6854
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7152
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7153
$as_echo_n "checking for $ac_word... " >&6; }
6855
7154
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6856
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7155
  $as_echo_n "(cached) " >&6
6857
7156
else
6858
7157
  if test -n "$ac_ct_CXX"; then
6859
7158
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6866
7165
  for ac_exec_ext in '' $ac_executable_extensions; do
6867
7166
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6868
7167
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6869
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7168
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6870
7169
    break 2
6871
7170
  fi
6872
7171
done
6877
7176
fi
6878
7177
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6879
7178
if test -n "$ac_ct_CXX"; then
6880
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6881
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
 
7179
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
7180
$as_echo "$ac_ct_CXX" >&6; }
6882
7181
else
6883
 
  { echo "$as_me:$LINENO: result: no" >&5
6884
 
echo "${ECHO_T}no" >&6; }
 
7182
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7183
$as_echo "no" >&6; }
6885
7184
fi
6886
7185
 
6887
7186
 
6893
7192
  else
6894
7193
    case $cross_compiling:$ac_tool_warned in
6895
7194
yes:)
6896
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7195
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6897
7196
whose name does not start with the host triplet.  If you think this
6898
7197
configuration is useful to you, please write to autoconf@gnu.org." >&5
6899
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7198
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6900
7199
whose name does not start with the host triplet.  If you think this
6901
7200
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6902
7201
ac_tool_warned=yes ;;
6908
7207
  fi
6909
7208
fi
6910
7209
# Provide some information about the compiler.
6911
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6912
 
ac_compiler=`set X $ac_compile; echo $2`
 
7210
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
7211
set X $ac_compile
 
7212
ac_compiler=$2
6913
7213
{ (ac_try="$ac_compiler --version >&5"
6914
7214
case "(($ac_try" in
6915
7215
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6916
7216
  *) ac_try_echo=$ac_try;;
6917
7217
esac
6918
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7218
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7219
$as_echo "$ac_try_echo") >&5
6919
7220
  (eval "$ac_compiler --version >&5") 2>&5
6920
7221
  ac_status=$?
6921
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7222
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922
7223
  (exit $ac_status); }
6923
7224
{ (ac_try="$ac_compiler -v >&5"
6924
7225
case "(($ac_try" in
6925
7226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6926
7227
  *) ac_try_echo=$ac_try;;
6927
7228
esac
6928
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7229
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7230
$as_echo "$ac_try_echo") >&5
6929
7231
  (eval "$ac_compiler -v >&5") 2>&5
6930
7232
  ac_status=$?
6931
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7233
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932
7234
  (exit $ac_status); }
6933
7235
{ (ac_try="$ac_compiler -V >&5"
6934
7236
case "(($ac_try" in
6935
7237
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6936
7238
  *) ac_try_echo=$ac_try;;
6937
7239
esac
6938
 
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
6939
7242
  (eval "$ac_compiler -V >&5") 2>&5
6940
7243
  ac_status=$?
6941
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7244
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942
7245
  (exit $ac_status); }
6943
7246
 
6944
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6945
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
 
7247
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
7248
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6946
7249
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6947
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7250
  $as_echo_n "(cached) " >&6
6948
7251
else
6949
7252
  cat >conftest.$ac_ext <<_ACEOF
6950
7253
/* confdefs.h.  */
6970
7273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6971
7274
  *) ac_try_echo=$ac_try;;
6972
7275
esac
6973
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7276
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7277
$as_echo "$ac_try_echo") >&5
6974
7278
  (eval "$ac_compile") 2>conftest.er1
6975
7279
  ac_status=$?
6976
7280
  grep -v '^ *+' conftest.er1 >conftest.err
6977
7281
  rm -f conftest.er1
6978
7282
  cat conftest.err >&5
6979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7283
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980
7284
  (exit $ac_status); } && {
6981
7285
         test -z "$ac_cxx_werror_flag" ||
6982
7286
         test ! -s conftest.err
6983
7287
       } && test -s conftest.$ac_objext; then
6984
7288
  ac_compiler_gnu=yes
6985
7289
else
6986
 
  echo "$as_me: failed program was:" >&5
 
7290
  $as_echo "$as_me: failed program was:" >&5
6987
7291
sed 's/^/| /' conftest.$ac_ext >&5
6988
7292
 
6989
7293
        ac_compiler_gnu=no
6993
7297
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6994
7298
 
6995
7299
fi
6996
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6997
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6998
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
 
7300
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
7301
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
7302
if test $ac_compiler_gnu = yes; then
 
7303
  GXX=yes
 
7304
else
 
7305
  GXX=
 
7306
fi
6999
7307
ac_test_CXXFLAGS=${CXXFLAGS+set}
7000
7308
ac_save_CXXFLAGS=$CXXFLAGS
7001
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7002
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
 
7309
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
7310
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7003
7311
if test "${ac_cv_prog_cxx_g+set}" = set; then
7004
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7312
  $as_echo_n "(cached) " >&6
7005
7313
else
7006
7314
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7007
7315
   ac_cxx_werror_flag=yes
7028
7336
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7029
7337
  *) ac_try_echo=$ac_try;;
7030
7338
esac
7031
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7339
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7340
$as_echo "$ac_try_echo") >&5
7032
7341
  (eval "$ac_compile") 2>conftest.er1
7033
7342
  ac_status=$?
7034
7343
  grep -v '^ *+' conftest.er1 >conftest.err
7035
7344
  rm -f conftest.er1
7036
7345
  cat conftest.err >&5
7037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7346
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038
7347
  (exit $ac_status); } && {
7039
7348
         test -z "$ac_cxx_werror_flag" ||
7040
7349
         test ! -s conftest.err
7041
7350
       } && test -s conftest.$ac_objext; then
7042
7351
  ac_cv_prog_cxx_g=yes
7043
7352
else
7044
 
  echo "$as_me: failed program was:" >&5
 
7353
  $as_echo "$as_me: failed program was:" >&5
7045
7354
sed 's/^/| /' conftest.$ac_ext >&5
7046
7355
 
7047
7356
        CXXFLAGS=""
7066
7375
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7067
7376
  *) ac_try_echo=$ac_try;;
7068
7377
esac
7069
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7378
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7379
$as_echo "$ac_try_echo") >&5
7070
7380
  (eval "$ac_compile") 2>conftest.er1
7071
7381
  ac_status=$?
7072
7382
  grep -v '^ *+' conftest.er1 >conftest.err
7073
7383
  rm -f conftest.er1
7074
7384
  cat conftest.err >&5
7075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7385
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076
7386
  (exit $ac_status); } && {
7077
7387
         test -z "$ac_cxx_werror_flag" ||
7078
7388
         test ! -s conftest.err
7079
7389
       } && test -s conftest.$ac_objext; then
7080
7390
  :
7081
7391
else
7082
 
  echo "$as_me: failed program was:" >&5
 
7392
  $as_echo "$as_me: failed program was:" >&5
7083
7393
sed 's/^/| /' conftest.$ac_ext >&5
7084
7394
 
7085
7395
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7105
7415
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7106
7416
  *) ac_try_echo=$ac_try;;
7107
7417
esac
7108
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7418
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7419
$as_echo "$ac_try_echo") >&5
7109
7420
  (eval "$ac_compile") 2>conftest.er1
7110
7421
  ac_status=$?
7111
7422
  grep -v '^ *+' conftest.er1 >conftest.err
7112
7423
  rm -f conftest.er1
7113
7424
  cat conftest.err >&5
7114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7425
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115
7426
  (exit $ac_status); } && {
7116
7427
         test -z "$ac_cxx_werror_flag" ||
7117
7428
         test ! -s conftest.err
7118
7429
       } && test -s conftest.$ac_objext; then
7119
7430
  ac_cv_prog_cxx_g=yes
7120
7431
else
7121
 
  echo "$as_me: failed program was:" >&5
 
7432
  $as_echo "$as_me: failed program was:" >&5
7122
7433
sed 's/^/| /' conftest.$ac_ext >&5
7123
7434
 
7124
7435
 
7133
7444
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134
7445
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7135
7446
fi
7136
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7137
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
 
7447
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
7448
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7138
7449
if test "$ac_test_CXXFLAGS" = set; then
7139
7450
  CXXFLAGS=$ac_save_CXXFLAGS
7140
7451
elif test $ac_cv_prog_cxx_g = yes; then
7158
7469
 
7159
7470
depcc="$CXX"  am_compiler_list=
7160
7471
 
7161
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7162
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
7472
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
7473
$as_echo_n "checking dependency style of $depcc... " >&6; }
7163
7474
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7164
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7475
  $as_echo_n "(cached) " >&6
7165
7476
else
7166
7477
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7167
7478
  # We make a subdir and do the tests there.  Otherwise we can end up
7249
7560
fi
7250
7561
 
7251
7562
fi
7252
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
7253
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
 
7563
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
7564
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7254
7565
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7255
7566
 
7256
7567
 if
7274
7585
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7275
7586
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7276
7587
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7277
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7278
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
 
7588
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
7589
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7279
7590
if test -z "$CXXCPP"; then
7280
7591
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7281
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7592
  $as_echo_n "(cached) " >&6
7282
7593
else
7283
7594
      # Double quotes because CXXCPP needs to be expanded
7284
7595
    for CXXCPP in "$CXX -E" "/lib/cpp"
7310
7621
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7311
7622
  *) ac_try_echo=$ac_try;;
7312
7623
esac
7313
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7624
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7625
$as_echo "$ac_try_echo") >&5
7314
7626
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7315
7627
  ac_status=$?
7316
7628
  grep -v '^ *+' conftest.er1 >conftest.err
7317
7629
  rm -f conftest.er1
7318
7630
  cat conftest.err >&5
7319
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7631
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320
7632
  (exit $ac_status); } >/dev/null && {
7321
7633
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7322
7634
         test ! -s conftest.err
7323
7635
       }; then
7324
7636
  :
7325
7637
else
7326
 
  echo "$as_me: failed program was:" >&5
 
7638
  $as_echo "$as_me: failed program was:" >&5
7327
7639
sed 's/^/| /' conftest.$ac_ext >&5
7328
7640
 
7329
7641
  # Broken: fails on valid input.
7347
7659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7348
7660
  *) ac_try_echo=$ac_try;;
7349
7661
esac
7350
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7662
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7663
$as_echo "$ac_try_echo") >&5
7351
7664
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7352
7665
  ac_status=$?
7353
7666
  grep -v '^ *+' conftest.er1 >conftest.err
7354
7667
  rm -f conftest.er1
7355
7668
  cat conftest.err >&5
7356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357
7670
  (exit $ac_status); } >/dev/null && {
7358
7671
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7359
7672
         test ! -s conftest.err
7361
7674
  # Broken: success on invalid input.
7362
7675
continue
7363
7676
else
7364
 
  echo "$as_me: failed program was:" >&5
 
7677
  $as_echo "$as_me: failed program was:" >&5
7365
7678
sed 's/^/| /' conftest.$ac_ext >&5
7366
7679
 
7367
7680
  # Passes both tests.
7386
7699
else
7387
7700
  ac_cv_prog_CXXCPP=$CXXCPP
7388
7701
fi
7389
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7390
 
echo "${ECHO_T}$CXXCPP" >&6; }
 
7702
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
7703
$as_echo "$CXXCPP" >&6; }
7391
7704
ac_preproc_ok=false
7392
7705
for ac_cxx_preproc_warn_flag in '' yes
7393
7706
do
7415
7728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7416
7729
  *) ac_try_echo=$ac_try;;
7417
7730
esac
7418
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7732
$as_echo "$ac_try_echo") >&5
7419
7733
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7420
7734
  ac_status=$?
7421
7735
  grep -v '^ *+' conftest.er1 >conftest.err
7422
7736
  rm -f conftest.er1
7423
7737
  cat conftest.err >&5
7424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7738
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425
7739
  (exit $ac_status); } >/dev/null && {
7426
7740
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7427
7741
         test ! -s conftest.err
7428
7742
       }; then
7429
7743
  :
7430
7744
else
7431
 
  echo "$as_me: failed program was:" >&5
 
7745
  $as_echo "$as_me: failed program was:" >&5
7432
7746
sed 's/^/| /' conftest.$ac_ext >&5
7433
7747
 
7434
7748
  # Broken: fails on valid input.
7452
7766
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453
7767
  *) ac_try_echo=$ac_try;;
7454
7768
esac
7455
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7769
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7770
$as_echo "$ac_try_echo") >&5
7456
7771
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7457
7772
  ac_status=$?
7458
7773
  grep -v '^ *+' conftest.er1 >conftest.err
7459
7774
  rm -f conftest.er1
7460
7775
  cat conftest.err >&5
7461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7776
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462
7777
  (exit $ac_status); } >/dev/null && {
7463
7778
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7464
7779
         test ! -s conftest.err
7466
7781
  # Broken: success on invalid input.
7467
7782
continue
7468
7783
else
7469
 
  echo "$as_me: failed program was:" >&5
 
7784
  $as_echo "$as_me: failed program was:" >&5
7470
7785
sed 's/^/| /' conftest.$ac_ext >&5
7471
7786
 
7472
7787
  # Passes both tests.
7482
7797
if $ac_preproc_ok; then
7483
7798
  :
7484
7799
else
7485
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
7800
  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7486
7801
See \`config.log' for more details." >&5
7487
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
 
7802
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7488
7803
See \`config.log' for more details." >&2;}
7489
7804
   { (exit 1); exit 1; }; }
7490
7805
fi
7507
7822
  do
7508
7823
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7509
7824
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7510
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7511
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7825
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7826
$as_echo_n "checking for $ac_word... " >&6; }
7512
7827
if test "${ac_cv_prog_F77+set}" = set; then
7513
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7828
  $as_echo_n "(cached) " >&6
7514
7829
else
7515
7830
  if test -n "$F77"; then
7516
7831
  ac_cv_prog_F77="$F77" # Let the user override the test.
7523
7838
  for ac_exec_ext in '' $ac_executable_extensions; do
7524
7839
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525
7840
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7526
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7841
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7527
7842
    break 2
7528
7843
  fi
7529
7844
done
7534
7849
fi
7535
7850
F77=$ac_cv_prog_F77
7536
7851
if test -n "$F77"; then
7537
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7538
 
echo "${ECHO_T}$F77" >&6; }
 
7852
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
 
7853
$as_echo "$F77" >&6; }
7539
7854
else
7540
 
  { echo "$as_me:$LINENO: result: no" >&5
7541
 
echo "${ECHO_T}no" >&6; }
 
7855
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7856
$as_echo "no" >&6; }
7542
7857
fi
7543
7858
 
7544
7859
 
7551
7866
do
7552
7867
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7553
7868
set dummy $ac_prog; ac_word=$2
7554
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7555
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7869
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7870
$as_echo_n "checking for $ac_word... " >&6; }
7556
7871
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7872
  $as_echo_n "(cached) " >&6
7558
7873
else
7559
7874
  if test -n "$ac_ct_F77"; then
7560
7875
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7567
7882
  for ac_exec_ext in '' $ac_executable_extensions; do
7568
7883
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7569
7884
    ac_cv_prog_ac_ct_F77="$ac_prog"
7570
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7885
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7571
7886
    break 2
7572
7887
  fi
7573
7888
done
7578
7893
fi
7579
7894
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7580
7895
if test -n "$ac_ct_F77"; then
7581
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7582
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
 
7896
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
7897
$as_echo "$ac_ct_F77" >&6; }
7583
7898
else
7584
 
  { echo "$as_me:$LINENO: result: no" >&5
7585
 
echo "${ECHO_T}no" >&6; }
 
7899
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7900
$as_echo "no" >&6; }
7586
7901
fi
7587
7902
 
7588
7903
 
7594
7909
  else
7595
7910
    case $cross_compiling:$ac_tool_warned in
7596
7911
yes:)
7597
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7912
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7598
7913
whose name does not start with the host triplet.  If you think this
7599
7914
configuration is useful to you, please write to autoconf@gnu.org." >&5
7600
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7915
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7601
7916
whose name does not start with the host triplet.  If you think this
7602
7917
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7603
7918
ac_tool_warned=yes ;;
7608
7923
 
7609
7924
 
7610
7925
# Provide some information about the compiler.
7611
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7612
 
ac_compiler=`set X $ac_compile; echo $2`
 
7926
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
 
7927
set X $ac_compile
 
7928
ac_compiler=$2
7613
7929
{ (ac_try="$ac_compiler --version >&5"
7614
7930
case "(($ac_try" in
7615
7931
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7616
7932
  *) ac_try_echo=$ac_try;;
7617
7933
esac
7618
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7934
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7935
$as_echo "$ac_try_echo") >&5
7619
7936
  (eval "$ac_compiler --version >&5") 2>&5
7620
7937
  ac_status=$?
7621
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7938
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622
7939
  (exit $ac_status); }
7623
7940
{ (ac_try="$ac_compiler -v >&5"
7624
7941
case "(($ac_try" in
7625
7942
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7626
7943
  *) ac_try_echo=$ac_try;;
7627
7944
esac
7628
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7945
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7946
$as_echo "$ac_try_echo") >&5
7629
7947
  (eval "$ac_compiler -v >&5") 2>&5
7630
7948
  ac_status=$?
7631
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7949
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632
7950
  (exit $ac_status); }
7633
7951
{ (ac_try="$ac_compiler -V >&5"
7634
7952
case "(($ac_try" in
7635
7953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7636
7954
  *) ac_try_echo=$ac_try;;
7637
7955
esac
7638
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7956
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7957
$as_echo "$ac_try_echo") >&5
7639
7958
  (eval "$ac_compiler -V >&5") 2>&5
7640
7959
  ac_status=$?
7641
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7960
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642
7961
  (exit $ac_status); }
7643
7962
rm -f a.out
7644
7963
 
7646
7965
# input file.  (Note that this only needs to work for GNU compilers.)
7647
7966
ac_save_ext=$ac_ext
7648
7967
ac_ext=F
7649
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7650
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
 
7968
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
7969
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
7651
7970
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7652
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7971
  $as_echo_n "(cached) " >&6
7653
7972
else
7654
7973
  cat >conftest.$ac_ext <<_ACEOF
7655
7974
      program main
7665
7984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7666
7985
  *) ac_try_echo=$ac_try;;
7667
7986
esac
7668
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7987
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7988
$as_echo "$ac_try_echo") >&5
7669
7989
  (eval "$ac_compile") 2>conftest.er1
7670
7990
  ac_status=$?
7671
7991
  grep -v '^ *+' conftest.er1 >conftest.err
7672
7992
  rm -f conftest.er1
7673
7993
  cat conftest.err >&5
7674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7994
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675
7995
  (exit $ac_status); } && {
7676
7996
         test -z "$ac_f77_werror_flag" ||
7677
7997
         test ! -s conftest.err
7678
7998
       } && test -s conftest.$ac_objext; then
7679
7999
  ac_compiler_gnu=yes
7680
8000
else
7681
 
  echo "$as_me: failed program was:" >&5
 
8001
  $as_echo "$as_me: failed program was:" >&5
7682
8002
sed 's/^/| /' conftest.$ac_ext >&5
7683
8003
 
7684
8004
        ac_compiler_gnu=no
7688
8008
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7689
8009
 
7690
8010
fi
7691
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7692
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
 
8011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
8012
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
7693
8013
ac_ext=$ac_save_ext
7694
8014
ac_test_FFLAGS=${FFLAGS+set}
7695
8015
ac_save_FFLAGS=$FFLAGS
7696
8016
FFLAGS=
7697
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7698
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
 
8017
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
8018
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
7699
8019
if test "${ac_cv_prog_f77_g+set}" = set; then
7700
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8020
  $as_echo_n "(cached) " >&6
7701
8021
else
7702
8022
  FFLAGS=-g
7703
8023
cat >conftest.$ac_ext <<_ACEOF
7711
8031
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7712
8032
  *) ac_try_echo=$ac_try;;
7713
8033
esac
7714
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8034
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8035
$as_echo "$ac_try_echo") >&5
7715
8036
  (eval "$ac_compile") 2>conftest.er1
7716
8037
  ac_status=$?
7717
8038
  grep -v '^ *+' conftest.er1 >conftest.err
7718
8039
  rm -f conftest.er1
7719
8040
  cat conftest.err >&5
7720
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8041
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721
8042
  (exit $ac_status); } && {
7722
8043
         test -z "$ac_f77_werror_flag" ||
7723
8044
         test ! -s conftest.err
7724
8045
       } && test -s conftest.$ac_objext; then
7725
8046
  ac_cv_prog_f77_g=yes
7726
8047
else
7727
 
  echo "$as_me: failed program was:" >&5
 
8048
  $as_echo "$as_me: failed program was:" >&5
7728
8049
sed 's/^/| /' conftest.$ac_ext >&5
7729
8050
 
7730
8051
        ac_cv_prog_f77_g=no
7733
8054
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734
8055
 
7735
8056
fi
7736
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7737
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
 
8057
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
8058
$as_echo "$ac_cv_prog_f77_g" >&6; }
7738
8059
if test "$ac_test_FFLAGS" = set; then
7739
8060
  FFLAGS=$ac_save_FFLAGS
7740
8061
elif test $ac_cv_prog_f77_g = yes; then
7751
8072
  fi
7752
8073
fi
7753
8074
 
7754
 
G77=`test $ac_compiler_gnu = yes && echo yes`
 
8075
if test $ac_compiler_gnu = yes; then
 
8076
  G77=yes
 
8077
else
 
8078
  G77=
 
8079
fi
7755
8080
ac_ext=c
7756
8081
ac_cpp='$CPP $CPPFLAGS'
7757
8082
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7761
8086
 
7762
8087
 
7763
8088
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7764
 
 
7765
8089
# find the maximum length of command line arguments
7766
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7767
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
 
8090
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
8091
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7768
8092
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7769
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8093
  $as_echo_n "(cached) " >&6
7770
8094
else
7771
8095
    i=0
7772
8096
  teststring="ABCD"
7848
8172
    fi
7849
8173
    ;;
7850
8174
  *)
7851
 
    # If test is not a shell built-in, we'll probably end up computing a
7852
 
    # maximum length that is only half of the actual maximum length, but
7853
 
    # we can't tell.
7854
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7855
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
8175
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
8176
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
8177
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
8178
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
8179
    else
 
8180
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
8181
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7856
8182
               = "XX$teststring") >/dev/null 2>&1 &&
7857
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7858
 
            lt_cv_sys_max_cmd_len=$new_result &&
7859
 
            test $i != 17 # 1/2 MB should be enough
7860
 
    do
7861
 
      i=`expr $i + 1`
7862
 
      teststring=$teststring$teststring
7863
 
    done
7864
 
    teststring=
7865
 
    # Add a significant safety factor because C++ compilers can tack on massive
7866
 
    # amounts of additional arguments before passing them to the linker.
7867
 
    # It appears as though 1/2 is a usable value.
7868
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
8183
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
8184
              lt_cv_sys_max_cmd_len=$new_result &&
 
8185
              test $i != 17 # 1/2 MB should be enough
 
8186
      do
 
8187
        i=`expr $i + 1`
 
8188
        teststring=$teststring$teststring
 
8189
      done
 
8190
      teststring=
 
8191
      # Add a significant safety factor because C++ compilers can tack on massive
 
8192
      # amounts of additional arguments before passing them to the linker.
 
8193
      # It appears as though 1/2 is a usable value.
 
8194
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
8195
    fi
7869
8196
    ;;
7870
8197
  esac
7871
8198
 
7872
8199
fi
7873
8200
 
7874
8201
if test -n $lt_cv_sys_max_cmd_len ; then
7875
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7876
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
 
8202
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
8203
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7877
8204
else
7878
 
  { echo "$as_me:$LINENO: result: none" >&5
7879
 
echo "${ECHO_T}none" >&6; }
 
8205
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
8206
$as_echo "none" >&6; }
7880
8207
fi
7881
8208
 
7882
8209
 
7883
8210
 
7884
8211
 
 
8212
 
7885
8213
# Check for command to grab the raw symbol name followed by C symbol from nm.
7886
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7887
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
8214
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
8215
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7888
8216
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7889
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8217
  $as_echo_n "(cached) " >&6
7890
8218
else
7891
8219
 
7892
8220
# These are sane defaults that work on at least a few old systems.
7919
8247
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7920
8248
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7921
8249
  ;;
7922
 
linux*)
 
8250
linux* | k*bsd*-gnu)
7923
8251
  if test "$host_cpu" = ia64; then
7924
8252
    symcode='[ABCDGIRSTW]'
7925
8253
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7991
8319
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7992
8320
  (eval $ac_compile) 2>&5
7993
8321
  ac_status=$?
7994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8322
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995
8323
  (exit $ac_status); }; then
7996
8324
    # Now try to grab the symbols.
7997
8325
    nlist=conftest.nm
7998
8326
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7999
8327
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8000
8328
  ac_status=$?
8001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002
8330
  (exit $ac_status); } && test -s "$nlist"; then
8003
8331
      # Try sorting and uniquifying the output.
8004
8332
      if sort "$nlist" | uniq > "$nlist"T; then
8053
8381
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8054
8382
  (eval $ac_link) 2>&5
8055
8383
  ac_status=$?
8056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8384
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057
8385
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
8058
8386
            pipe_works=yes
8059
8387
          fi
8072
8400
    echo "$progname: failed program was:" >&5
8073
8401
    cat conftest.$ac_ext >&5
8074
8402
  fi
8075
 
  rm -f conftest* conftst*
 
8403
  rm -rf conftest* conftst*
8076
8404
 
8077
8405
  # Do not use the global_symbol_pipe unless it works.
8078
8406
  if test "$pipe_works" = yes; then
8088
8416
  lt_cv_sys_global_symbol_to_cdecl=
8089
8417
fi
8090
8418
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8091
 
  { echo "$as_me:$LINENO: result: failed" >&5
8092
 
echo "${ECHO_T}failed" >&6; }
 
8419
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
8420
$as_echo "failed" >&6; }
8093
8421
else
8094
 
  { echo "$as_me:$LINENO: result: ok" >&5
8095
 
echo "${ECHO_T}ok" >&6; }
 
8422
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
8423
$as_echo "ok" >&6; }
8096
8424
fi
8097
8425
 
8098
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
8099
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
8426
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8427
$as_echo_n "checking for objdir... " >&6; }
8100
8428
if test "${lt_cv_objdir+set}" = set; then
8101
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8429
  $as_echo_n "(cached) " >&6
8102
8430
else
8103
8431
  rm -f .libs 2>/dev/null
8104
8432
mkdir .libs 2>/dev/null
8110
8438
fi
8111
8439
rmdir .libs 2>/dev/null
8112
8440
fi
8113
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8114
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
8441
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8442
$as_echo "$lt_cv_objdir" >&6; }
8115
8443
objdir=$lt_cv_objdir
8116
8444
 
8117
8445
 
8162
8490
if test -n "$ac_tool_prefix"; then
8163
8491
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8164
8492
set dummy ${ac_tool_prefix}ar; ac_word=$2
8165
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8166
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8493
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8494
$as_echo_n "checking for $ac_word... " >&6; }
8167
8495
if test "${ac_cv_prog_AR+set}" = set; then
8168
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8496
  $as_echo_n "(cached) " >&6
8169
8497
else
8170
8498
  if test -n "$AR"; then
8171
8499
  ac_cv_prog_AR="$AR" # Let the user override the test.
8178
8506
  for ac_exec_ext in '' $ac_executable_extensions; do
8179
8507
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8180
8508
    ac_cv_prog_AR="${ac_tool_prefix}ar"
8181
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8509
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8182
8510
    break 2
8183
8511
  fi
8184
8512
done
8189
8517
fi
8190
8518
AR=$ac_cv_prog_AR
8191
8519
if test -n "$AR"; then
8192
 
  { echo "$as_me:$LINENO: result: $AR" >&5
8193
 
echo "${ECHO_T}$AR" >&6; }
 
8520
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
8521
$as_echo "$AR" >&6; }
8194
8522
else
8195
 
  { echo "$as_me:$LINENO: result: no" >&5
8196
 
echo "${ECHO_T}no" >&6; }
 
8523
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8524
$as_echo "no" >&6; }
8197
8525
fi
8198
8526
 
8199
8527
 
8202
8530
  ac_ct_AR=$AR
8203
8531
  # Extract the first word of "ar", so it can be a program name with args.
8204
8532
set dummy ar; ac_word=$2
8205
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8206
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8533
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8534
$as_echo_n "checking for $ac_word... " >&6; }
8207
8535
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8208
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8536
  $as_echo_n "(cached) " >&6
8209
8537
else
8210
8538
  if test -n "$ac_ct_AR"; then
8211
8539
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8218
8546
  for ac_exec_ext in '' $ac_executable_extensions; do
8219
8547
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8220
8548
    ac_cv_prog_ac_ct_AR="ar"
8221
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8549
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8222
8550
    break 2
8223
8551
  fi
8224
8552
done
8229
8557
fi
8230
8558
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8231
8559
if test -n "$ac_ct_AR"; then
8232
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8233
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
 
8560
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
8561
$as_echo "$ac_ct_AR" >&6; }
8234
8562
else
8235
 
  { echo "$as_me:$LINENO: result: no" >&5
8236
 
echo "${ECHO_T}no" >&6; }
 
8563
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8564
$as_echo "no" >&6; }
8237
8565
fi
8238
8566
 
8239
8567
  if test "x$ac_ct_AR" = x; then
8241
8569
  else
8242
8570
    case $cross_compiling:$ac_tool_warned in
8243
8571
yes:)
8244
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8572
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8245
8573
whose name does not start with the host triplet.  If you think this
8246
8574
configuration is useful to you, please write to autoconf@gnu.org." >&5
8247
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8575
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8248
8576
whose name does not start with the host triplet.  If you think this
8249
8577
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8250
8578
ac_tool_warned=yes ;;
8258
8586
if test -n "$ac_tool_prefix"; then
8259
8587
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8260
8588
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8261
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8262
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8590
$as_echo_n "checking for $ac_word... " >&6; }
8263
8591
if test "${ac_cv_prog_RANLIB+set}" = set; then
8264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8592
  $as_echo_n "(cached) " >&6
8265
8593
else
8266
8594
  if test -n "$RANLIB"; then
8267
8595
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8274
8602
  for ac_exec_ext in '' $ac_executable_extensions; do
8275
8603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8276
8604
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8277
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8278
8606
    break 2
8279
8607
  fi
8280
8608
done
8285
8613
fi
8286
8614
RANLIB=$ac_cv_prog_RANLIB
8287
8615
if test -n "$RANLIB"; then
8288
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
8289
 
echo "${ECHO_T}$RANLIB" >&6; }
 
8616
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
8617
$as_echo "$RANLIB" >&6; }
8290
8618
else
8291
 
  { echo "$as_me:$LINENO: result: no" >&5
8292
 
echo "${ECHO_T}no" >&6; }
 
8619
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8620
$as_echo "no" >&6; }
8293
8621
fi
8294
8622
 
8295
8623
 
8298
8626
  ac_ct_RANLIB=$RANLIB
8299
8627
  # Extract the first word of "ranlib", so it can be a program name with args.
8300
8628
set dummy ranlib; ac_word=$2
8301
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8302
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8629
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8630
$as_echo_n "checking for $ac_word... " >&6; }
8303
8631
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8304
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8632
  $as_echo_n "(cached) " >&6
8305
8633
else
8306
8634
  if test -n "$ac_ct_RANLIB"; then
8307
8635
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8314
8642
  for ac_exec_ext in '' $ac_executable_extensions; do
8315
8643
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8316
8644
    ac_cv_prog_ac_ct_RANLIB="ranlib"
8317
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8645
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8318
8646
    break 2
8319
8647
  fi
8320
8648
done
8325
8653
fi
8326
8654
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8327
8655
if test -n "$ac_ct_RANLIB"; then
8328
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8329
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
 
8656
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
8657
$as_echo "$ac_ct_RANLIB" >&6; }
8330
8658
else
8331
 
  { echo "$as_me:$LINENO: result: no" >&5
8332
 
echo "${ECHO_T}no" >&6; }
 
8659
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8660
$as_echo "no" >&6; }
8333
8661
fi
8334
8662
 
8335
8663
  if test "x$ac_ct_RANLIB" = x; then
8337
8665
  else
8338
8666
    case $cross_compiling:$ac_tool_warned in
8339
8667
yes:)
8340
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8668
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8341
8669
whose name does not start with the host triplet.  If you think this
8342
8670
configuration is useful to you, please write to autoconf@gnu.org." >&5
8343
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8671
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8344
8672
whose name does not start with the host triplet.  If you think this
8345
8673
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8346
8674
ac_tool_warned=yes ;;
8354
8682
if test -n "$ac_tool_prefix"; then
8355
8683
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8356
8684
set dummy ${ac_tool_prefix}strip; ac_word=$2
8357
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8358
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8685
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8686
$as_echo_n "checking for $ac_word... " >&6; }
8359
8687
if test "${ac_cv_prog_STRIP+set}" = set; then
8360
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8688
  $as_echo_n "(cached) " >&6
8361
8689
else
8362
8690
  if test -n "$STRIP"; then
8363
8691
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8370
8698
  for ac_exec_ext in '' $ac_executable_extensions; do
8371
8699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372
8700
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8373
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8701
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8374
8702
    break 2
8375
8703
  fi
8376
8704
done
8381
8709
fi
8382
8710
STRIP=$ac_cv_prog_STRIP
8383
8711
if test -n "$STRIP"; then
8384
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
8385
 
echo "${ECHO_T}$STRIP" >&6; }
 
8712
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
8713
$as_echo "$STRIP" >&6; }
8386
8714
else
8387
 
  { echo "$as_me:$LINENO: result: no" >&5
8388
 
echo "${ECHO_T}no" >&6; }
 
8715
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8716
$as_echo "no" >&6; }
8389
8717
fi
8390
8718
 
8391
8719
 
8394
8722
  ac_ct_STRIP=$STRIP
8395
8723
  # Extract the first word of "strip", so it can be a program name with args.
8396
8724
set dummy strip; ac_word=$2
8397
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8398
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8725
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8726
$as_echo_n "checking for $ac_word... " >&6; }
8399
8727
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8400
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8728
  $as_echo_n "(cached) " >&6
8401
8729
else
8402
8730
  if test -n "$ac_ct_STRIP"; then
8403
8731
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8410
8738
  for ac_exec_ext in '' $ac_executable_extensions; do
8411
8739
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8412
8740
    ac_cv_prog_ac_ct_STRIP="strip"
8413
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8741
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8414
8742
    break 2
8415
8743
  fi
8416
8744
done
8421
8749
fi
8422
8750
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8423
8751
if test -n "$ac_ct_STRIP"; then
8424
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8425
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
8752
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
8753
$as_echo "$ac_ct_STRIP" >&6; }
8426
8754
else
8427
 
  { echo "$as_me:$LINENO: result: no" >&5
8428
 
echo "${ECHO_T}no" >&6; }
 
8755
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8756
$as_echo "no" >&6; }
8429
8757
fi
8430
8758
 
8431
8759
  if test "x$ac_ct_STRIP" = x; then
8433
8761
  else
8434
8762
    case $cross_compiling:$ac_tool_warned in
8435
8763
yes:)
8436
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8764
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8437
8765
whose name does not start with the host triplet.  If you think this
8438
8766
configuration is useful to you, please write to autoconf@gnu.org." >&5
8439
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8767
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8440
8768
whose name does not start with the host triplet.  If you think this
8441
8769
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8442
8770
ac_tool_warned=yes ;;
8470
8798
test -z "$ac_objext" && ac_objext=o
8471
8799
 
8472
8800
# Determine commands to create old-style static archives.
8473
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
8801
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8474
8802
old_postinstall_cmds='chmod 644 $oldlib'
8475
8803
old_postuninstall_cmds=
8476
8804
 
8501
8829
case $deplibs_check_method in
8502
8830
file_magic*)
8503
8831
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8504
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8505
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
8832
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8833
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8506
8834
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8835
  $as_echo_n "(cached) " >&6
8508
8836
else
8509
8837
  case $MAGIC_CMD in
8510
8838
[\\/*] |  ?:[\\/]*)
8554
8882
 
8555
8883
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8556
8884
if test -n "$MAGIC_CMD"; then
8557
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8558
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8885
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8886
$as_echo "$MAGIC_CMD" >&6; }
8559
8887
else
8560
 
  { echo "$as_me:$LINENO: result: no" >&5
8561
 
echo "${ECHO_T}no" >&6; }
 
8888
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8889
$as_echo "no" >&6; }
8562
8890
fi
8563
8891
 
8564
8892
if test -z "$lt_cv_path_MAGIC_CMD"; then
8565
8893
  if test -n "$ac_tool_prefix"; then
8566
 
    { echo "$as_me:$LINENO: checking for file" >&5
8567
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
8894
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8895
$as_echo_n "checking for file... " >&6; }
8568
8896
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8569
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8897
  $as_echo_n "(cached) " >&6
8570
8898
else
8571
8899
  case $MAGIC_CMD in
8572
8900
[\\/*] |  ?:[\\/]*)
8616
8944
 
8617
8945
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8618
8946
if test -n "$MAGIC_CMD"; then
8619
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8620
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
8947
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8948
$as_echo "$MAGIC_CMD" >&6; }
8621
8949
else
8622
 
  { echo "$as_me:$LINENO: result: no" >&5
8623
 
echo "${ECHO_T}no" >&6; }
 
8950
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8951
$as_echo "no" >&6; }
8624
8952
fi
8625
8953
 
8626
8954
  else
8632
8960
  ;;
8633
8961
esac
8634
8962
 
 
8963
 
 
8964
  case $host_os in
 
8965
    rhapsody* | darwin*)
 
8966
    if test -n "$ac_tool_prefix"; then
 
8967
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8968
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8969
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8970
$as_echo_n "checking for $ac_word... " >&6; }
 
8971
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8972
  $as_echo_n "(cached) " >&6
 
8973
else
 
8974
  if test -n "$DSYMUTIL"; then
 
8975
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8976
else
 
8977
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8978
for as_dir in $PATH
 
8979
do
 
8980
  IFS=$as_save_IFS
 
8981
  test -z "$as_dir" && as_dir=.
 
8982
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8983
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8984
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8985
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8986
    break 2
 
8987
  fi
 
8988
done
 
8989
done
 
8990
IFS=$as_save_IFS
 
8991
 
 
8992
fi
 
8993
fi
 
8994
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8995
if test -n "$DSYMUTIL"; then
 
8996
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8997
$as_echo "$DSYMUTIL" >&6; }
 
8998
else
 
8999
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9000
$as_echo "no" >&6; }
 
9001
fi
 
9002
 
 
9003
 
 
9004
fi
 
9005
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
9006
  ac_ct_DSYMUTIL=$DSYMUTIL
 
9007
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
9008
set dummy dsymutil; ac_word=$2
 
9009
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9010
$as_echo_n "checking for $ac_word... " >&6; }
 
9011
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
9012
  $as_echo_n "(cached) " >&6
 
9013
else
 
9014
  if test -n "$ac_ct_DSYMUTIL"; then
 
9015
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
9016
else
 
9017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9018
for as_dir in $PATH
 
9019
do
 
9020
  IFS=$as_save_IFS
 
9021
  test -z "$as_dir" && as_dir=.
 
9022
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9023
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9024
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
9025
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9026
    break 2
 
9027
  fi
 
9028
done
 
9029
done
 
9030
IFS=$as_save_IFS
 
9031
 
 
9032
fi
 
9033
fi
 
9034
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
9035
if test -n "$ac_ct_DSYMUTIL"; then
 
9036
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
9037
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
9038
else
 
9039
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9040
$as_echo "no" >&6; }
 
9041
fi
 
9042
 
 
9043
  if test "x$ac_ct_DSYMUTIL" = x; then
 
9044
    DSYMUTIL=":"
 
9045
  else
 
9046
    case $cross_compiling:$ac_tool_warned in
 
9047
yes:)
 
9048
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9049
whose name does not start with the host triplet.  If you think this
 
9050
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9051
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9052
whose name does not start with the host triplet.  If you think this
 
9053
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9054
ac_tool_warned=yes ;;
 
9055
esac
 
9056
    DSYMUTIL=$ac_ct_DSYMUTIL
 
9057
  fi
 
9058
else
 
9059
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
9060
fi
 
9061
 
 
9062
    if test -n "$ac_tool_prefix"; then
 
9063
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
9064
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
9065
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9066
$as_echo_n "checking for $ac_word... " >&6; }
 
9067
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
9068
  $as_echo_n "(cached) " >&6
 
9069
else
 
9070
  if test -n "$NMEDIT"; then
 
9071
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
9072
else
 
9073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9074
for as_dir in $PATH
 
9075
do
 
9076
  IFS=$as_save_IFS
 
9077
  test -z "$as_dir" && as_dir=.
 
9078
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9079
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9080
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
9081
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9082
    break 2
 
9083
  fi
 
9084
done
 
9085
done
 
9086
IFS=$as_save_IFS
 
9087
 
 
9088
fi
 
9089
fi
 
9090
NMEDIT=$ac_cv_prog_NMEDIT
 
9091
if test -n "$NMEDIT"; then
 
9092
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
9093
$as_echo "$NMEDIT" >&6; }
 
9094
else
 
9095
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9096
$as_echo "no" >&6; }
 
9097
fi
 
9098
 
 
9099
 
 
9100
fi
 
9101
if test -z "$ac_cv_prog_NMEDIT"; then
 
9102
  ac_ct_NMEDIT=$NMEDIT
 
9103
  # Extract the first word of "nmedit", so it can be a program name with args.
 
9104
set dummy nmedit; ac_word=$2
 
9105
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9106
$as_echo_n "checking for $ac_word... " >&6; }
 
9107
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
9108
  $as_echo_n "(cached) " >&6
 
9109
else
 
9110
  if test -n "$ac_ct_NMEDIT"; then
 
9111
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
9112
else
 
9113
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9114
for as_dir in $PATH
 
9115
do
 
9116
  IFS=$as_save_IFS
 
9117
  test -z "$as_dir" && as_dir=.
 
9118
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9119
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9120
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
9121
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9122
    break 2
 
9123
  fi
 
9124
done
 
9125
done
 
9126
IFS=$as_save_IFS
 
9127
 
 
9128
fi
 
9129
fi
 
9130
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
9131
if test -n "$ac_ct_NMEDIT"; then
 
9132
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
9133
$as_echo "$ac_ct_NMEDIT" >&6; }
 
9134
else
 
9135
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9136
$as_echo "no" >&6; }
 
9137
fi
 
9138
 
 
9139
  if test "x$ac_ct_NMEDIT" = x; then
 
9140
    NMEDIT=":"
 
9141
  else
 
9142
    case $cross_compiling:$ac_tool_warned in
 
9143
yes:)
 
9144
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
9145
whose name does not start with the host triplet.  If you think this
 
9146
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
9147
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
9148
whose name does not start with the host triplet.  If you think this
 
9149
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
9150
ac_tool_warned=yes ;;
 
9151
esac
 
9152
    NMEDIT=$ac_ct_NMEDIT
 
9153
  fi
 
9154
else
 
9155
  NMEDIT="$ac_cv_prog_NMEDIT"
 
9156
fi
 
9157
 
 
9158
 
 
9159
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
9160
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9161
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
9162
  $as_echo_n "(cached) " >&6
 
9163
else
 
9164
  lt_cv_apple_cc_single_mod=no
 
9165
      if test -z "${LT_MULTI_MODULE}"; then
 
9166
   # By default we will add the -single_module flag. You can override
 
9167
   # by either setting the environment variable LT_MULTI_MODULE
 
9168
   # non-empty at configure time, or by adding -multi_module to the
 
9169
   # link flags.
 
9170
   echo "int foo(void){return 1;}" > conftest.c
 
9171
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9172
     -dynamiclib ${wl}-single_module conftest.c
 
9173
   if test -f libconftest.dylib; then
 
9174
     lt_cv_apple_cc_single_mod=yes
 
9175
     rm -rf libconftest.dylib*
 
9176
   fi
 
9177
   rm conftest.c
 
9178
      fi
 
9179
fi
 
9180
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
9181
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9182
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
9183
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9184
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
9185
  $as_echo_n "(cached) " >&6
 
9186
else
 
9187
  lt_cv_ld_exported_symbols_list=no
 
9188
      save_LDFLAGS=$LDFLAGS
 
9189
      echo "_main" > conftest.sym
 
9190
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9191
      cat >conftest.$ac_ext <<_ACEOF
 
9192
/* confdefs.h.  */
 
9193
_ACEOF
 
9194
cat confdefs.h >>conftest.$ac_ext
 
9195
cat >>conftest.$ac_ext <<_ACEOF
 
9196
/* end confdefs.h.  */
 
9197
 
 
9198
int
 
9199
main ()
 
9200
{
 
9201
 
 
9202
  ;
 
9203
  return 0;
 
9204
}
 
9205
_ACEOF
 
9206
rm -f conftest.$ac_objext conftest$ac_exeext
 
9207
if { (ac_try="$ac_link"
 
9208
case "(($ac_try" in
 
9209
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9210
  *) ac_try_echo=$ac_try;;
 
9211
esac
 
9212
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9213
$as_echo "$ac_try_echo") >&5
 
9214
  (eval "$ac_link") 2>conftest.er1
 
9215
  ac_status=$?
 
9216
  grep -v '^ *+' conftest.er1 >conftest.err
 
9217
  rm -f conftest.er1
 
9218
  cat conftest.err >&5
 
9219
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9220
  (exit $ac_status); } && {
 
9221
         test -z "$ac_c_werror_flag" ||
 
9222
         test ! -s conftest.err
 
9223
       } && test -s conftest$ac_exeext && {
 
9224
         test "$cross_compiling" = yes ||
 
9225
         $as_test_x conftest$ac_exeext
 
9226
       }; then
 
9227
  lt_cv_ld_exported_symbols_list=yes
 
9228
else
 
9229
  $as_echo "$as_me: failed program was:" >&5
 
9230
sed 's/^/| /' conftest.$ac_ext >&5
 
9231
 
 
9232
        lt_cv_ld_exported_symbols_list=no
 
9233
fi
 
9234
 
 
9235
rm -rf conftest.dSYM
 
9236
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9237
      conftest$ac_exeext conftest.$ac_ext
 
9238
   LDFLAGS="$save_LDFLAGS"
 
9239
 
 
9240
fi
 
9241
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
9242
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9243
    case $host_os in
 
9244
    rhapsody* | darwin1.[0123])
 
9245
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9246
    darwin1.*)
 
9247
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9248
    darwin*)
 
9249
      # if running on 10.5 or later, the deployment target defaults
 
9250
      # to the OS version, if on x86, and 10.4, the deployment
 
9251
      # target defaults to 10.4. Don't you love it?
 
9252
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9253
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9254
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9255
   10.[012]*)
 
9256
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9257
   10.*)
 
9258
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9259
      esac
 
9260
    ;;
 
9261
  esac
 
9262
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9263
      _lt_dar_single_mod='$single_module'
 
9264
    fi
 
9265
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9266
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9267
    else
 
9268
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
9269
    fi
 
9270
    if test "$DSYMUTIL" != ":"; then
 
9271
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
9272
    else
 
9273
      _lt_dsymutil=
 
9274
    fi
 
9275
    ;;
 
9276
  esac
 
9277
 
 
9278
 
8635
9279
enable_dlopen=no
8636
9280
enable_win32_dll=no
8637
9281
 
8670
9314
objext=$objext
8671
9315
 
8672
9316
# Code to be used in simple compile tests
8673
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
9317
lt_simple_compile_test_code="int some_variable = 0;"
8674
9318
 
8675
9319
# Code to be used in simple link tests
8676
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
9320
lt_simple_link_test_code='int main(){return(0);}'
8677
9321
 
8678
9322
 
8679
9323
# If no C compiler was specified, use CC.
8688
9332
 
8689
9333
# save warnings/boilerplate of simple test code
8690
9334
ac_outfile=conftest.$ac_objext
8691
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
9335
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8692
9336
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8693
9337
_lt_compiler_boilerplate=`cat conftest.err`
8694
9338
$rm conftest*
8695
9339
 
8696
9340
ac_outfile=conftest.$ac_objext
8697
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
9341
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8698
9342
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8699
9343
_lt_linker_boilerplate=`cat conftest.err`
8700
 
$rm conftest*
 
9344
$rm -r conftest*
8701
9345
 
8702
9346
 
8703
9347
 
8707
9351
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8708
9352
 
8709
9353
 
8710
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8711
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
9354
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9355
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8712
9356
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8713
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9357
  $as_echo_n "(cached) " >&6
8714
9358
else
8715
9359
  lt_cv_prog_compiler_rtti_exceptions=no
8716
9360
  ac_outfile=conftest.$ac_objext
8717
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9361
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8718
9362
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8719
9363
   # Insert the option either (1) after the last *FLAGS variable, or
8720
9364
   # (2) before a word containing "conftest.", or (3) at the end.
8725
9369
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8726
9370
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8727
9371
   -e 's:$: $lt_compiler_flag:'`
8728
 
   (eval echo "\"\$as_me:8728: $lt_compile\"" >&5)
 
9372
   (eval echo "\"\$as_me:9372: $lt_compile\"" >&5)
8729
9373
   (eval "$lt_compile" 2>conftest.err)
8730
9374
   ac_status=$?
8731
9375
   cat conftest.err >&5
8732
 
   echo "$as_me:8732: \$? = $ac_status" >&5
 
9376
   echo "$as_me:9376: \$? = $ac_status" >&5
8733
9377
   if (exit $ac_status) && test -s "$ac_outfile"; then
8734
9378
     # The compiler can only warn and ignore the option if not recognized
8735
9379
     # So say no if there are warnings other than the usual output.
8742
9386
   $rm conftest*
8743
9387
 
8744
9388
fi
8745
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8746
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
9389
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9390
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8747
9391
 
8748
9392
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8749
9393
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8757
9401
lt_prog_compiler_pic=
8758
9402
lt_prog_compiler_static=
8759
9403
 
8760
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8761
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
9404
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
9405
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8762
9406
 
8763
9407
  if test "$GCC" = yes; then
8764
9408
    lt_prog_compiler_wl='-Wl,'
8780
9424
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8781
9425
      ;;
8782
9426
 
8783
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
9427
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8784
9428
      # PIC is the default for these OSes.
8785
9429
      ;;
8786
9430
 
8787
 
    mingw* | pw32* | os2*)
 
9431
    mingw* | cygwin* | pw32* | os2*)
8788
9432
      # This hack is so that the source file can tell whether it is being
8789
9433
      # built for inclusion in a dll (and should export symbols for example).
 
9434
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
9435
      # (--disable-auto-import) libraries
8790
9436
      lt_prog_compiler_pic='-DDLL_EXPORT'
8791
9437
      ;;
8792
9438
 
8796
9442
      lt_prog_compiler_pic='-fno-common'
8797
9443
      ;;
8798
9444
 
8799
 
    interix3*)
 
9445
    interix[3-9]*)
8800
9446
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8801
9447
      # Instead, we relocate shared libraries at runtime.
8802
9448
      ;;
8854
9500
       esac
8855
9501
       ;;
8856
9502
 
8857
 
    mingw* | pw32* | os2*)
 
9503
    mingw* | cygwin* | pw32* | os2*)
8858
9504
      # This hack is so that the source file can tell whether it is being
8859
9505
      # built for inclusion in a dll (and should export symbols for example).
8860
9506
      lt_prog_compiler_pic='-DDLL_EXPORT'
8887
9533
      lt_prog_compiler_static='-Bstatic'
8888
9534
      ;;
8889
9535
 
8890
 
    linux*)
 
9536
    linux* | k*bsd*-gnu)
8891
9537
      case $cc_basename in
8892
9538
      icc* | ecc*)
8893
9539
        lt_prog_compiler_wl='-Wl,'
8906
9552
        # All Alpha code is PIC.
8907
9553
        lt_prog_compiler_static='-non_shared'
8908
9554
        ;;
 
9555
      *)
 
9556
        case `$CC -V 2>&1 | sed 5q` in
 
9557
        *Sun\ C*)
 
9558
          # Sun C 5.9
 
9559
          lt_prog_compiler_pic='-KPIC'
 
9560
          lt_prog_compiler_static='-Bstatic'
 
9561
          lt_prog_compiler_wl='-Wl,'
 
9562
          ;;
 
9563
        *Sun\ F*)
 
9564
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9565
          lt_prog_compiler_pic='-KPIC'
 
9566
          lt_prog_compiler_static='-Bstatic'
 
9567
          lt_prog_compiler_wl=''
 
9568
          ;;
 
9569
        esac
 
9570
        ;;
8909
9571
      esac
8910
9572
      ;;
8911
9573
 
8915
9577
      lt_prog_compiler_static='-non_shared'
8916
9578
      ;;
8917
9579
 
 
9580
    rdos*)
 
9581
      lt_prog_compiler_static='-non_shared'
 
9582
      ;;
 
9583
 
8918
9584
    solaris*)
8919
9585
      lt_prog_compiler_pic='-KPIC'
8920
9586
      lt_prog_compiler_static='-Bstatic'
8967
9633
    esac
8968
9634
  fi
8969
9635
 
8970
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8971
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
9636
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9637
$as_echo "$lt_prog_compiler_pic" >&6; }
8972
9638
 
8973
9639
#
8974
9640
# Check to make sure the PIC flag actually works.
8975
9641
#
8976
9642
if test -n "$lt_prog_compiler_pic"; then
8977
9643
 
8978
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8979
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8980
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
8981
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9644
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9645
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9646
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
9647
  $as_echo_n "(cached) " >&6
8982
9648
else
8983
 
  lt_prog_compiler_pic_works=no
 
9649
  lt_cv_prog_compiler_pic_works=no
8984
9650
  ac_outfile=conftest.$ac_objext
8985
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9651
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8986
9652
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8987
9653
   # Insert the option either (1) after the last *FLAGS variable, or
8988
9654
   # (2) before a word containing "conftest.", or (3) at the end.
8993
9659
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8994
9660
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8995
9661
   -e 's:$: $lt_compiler_flag:'`
8996
 
   (eval echo "\"\$as_me:8996: $lt_compile\"" >&5)
 
9662
   (eval echo "\"\$as_me:9662: $lt_compile\"" >&5)
8997
9663
   (eval "$lt_compile" 2>conftest.err)
8998
9664
   ac_status=$?
8999
9665
   cat conftest.err >&5
9000
 
   echo "$as_me:9000: \$? = $ac_status" >&5
 
9666
   echo "$as_me:9666: \$? = $ac_status" >&5
9001
9667
   if (exit $ac_status) && test -s "$ac_outfile"; then
9002
9668
     # The compiler can only warn and ignore the option if not recognized
9003
9669
     # So say no if there are warnings other than the usual output.
9004
9670
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9005
9671
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9006
9672
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9007
 
       lt_prog_compiler_pic_works=yes
 
9673
       lt_cv_prog_compiler_pic_works=yes
9008
9674
     fi
9009
9675
   fi
9010
9676
   $rm conftest*
9011
9677
 
9012
9678
fi
9013
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9014
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
9679
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9680
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9015
9681
 
9016
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
9682
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9017
9683
    case $lt_prog_compiler_pic in
9018
9684
     "" | " "*) ;;
9019
9685
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9038
9704
# Check to make sure the static flag actually works.
9039
9705
#
9040
9706
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9041
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9042
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9043
 
if test "${lt_prog_compiler_static_works+set}" = set; then
9044
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9707
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9708
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9709
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
9710
  $as_echo_n "(cached) " >&6
9045
9711
else
9046
 
  lt_prog_compiler_static_works=no
 
9712
  lt_cv_prog_compiler_static_works=no
9047
9713
   save_LDFLAGS="$LDFLAGS"
9048
9714
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9049
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
9715
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9050
9716
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9051
9717
     # The linker can only warn and ignore the option if not recognized
9052
9718
     # So say no if there are warnings
9056
9722
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9057
9723
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9058
9724
       if diff conftest.exp conftest.er2 >/dev/null; then
9059
 
         lt_prog_compiler_static_works=yes
 
9725
         lt_cv_prog_compiler_static_works=yes
9060
9726
       fi
9061
9727
     else
9062
 
       lt_prog_compiler_static_works=yes
 
9728
       lt_cv_prog_compiler_static_works=yes
9063
9729
     fi
9064
9730
   fi
9065
 
   $rm conftest*
 
9731
   $rm -r conftest*
9066
9732
   LDFLAGS="$save_LDFLAGS"
9067
9733
 
9068
9734
fi
9069
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9070
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9735
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9736
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9071
9737
 
9072
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9738
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9073
9739
    :
9074
9740
else
9075
9741
    lt_prog_compiler_static=
9076
9742
fi
9077
9743
 
9078
9744
 
9079
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9080
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
9745
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9746
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9081
9747
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9082
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9748
  $as_echo_n "(cached) " >&6
9083
9749
else
9084
9750
  lt_cv_prog_compiler_c_o=no
9085
9751
   $rm -r conftest 2>/dev/null
9086
9752
   mkdir conftest
9087
9753
   cd conftest
9088
9754
   mkdir out
9089
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9755
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9090
9756
 
9091
9757
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9092
9758
   # Insert the option either (1) after the last *FLAGS variable, or
9097
9763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9098
9764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9099
9765
   -e 's:$: $lt_compiler_flag:'`
9100
 
   (eval echo "\"\$as_me:9100: $lt_compile\"" >&5)
 
9766
   (eval echo "\"\$as_me:9766: $lt_compile\"" >&5)
9101
9767
   (eval "$lt_compile" 2>out/conftest.err)
9102
9768
   ac_status=$?
9103
9769
   cat out/conftest.err >&5
9104
 
   echo "$as_me:9104: \$? = $ac_status" >&5
 
9770
   echo "$as_me:9770: \$? = $ac_status" >&5
9105
9771
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9106
9772
   then
9107
9773
     # The compiler can only warn and ignore the option if not recognized
9123
9789
   $rm conftest*
9124
9790
 
9125
9791
fi
9126
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9127
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
9792
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9793
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9128
9794
 
9129
9795
 
9130
9796
hard_links="nottested"
9131
9797
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9132
9798
  # do not overwrite the value of need_locks provided by the user
9133
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9134
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9799
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9800
$as_echo_n "checking if we can lock with hard links... " >&6; }
9135
9801
  hard_links=yes
9136
9802
  $rm conftest*
9137
9803
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9138
9804
  touch conftest.a
9139
9805
  ln conftest.a conftest.b 2>&5 || hard_links=no
9140
9806
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
9142
 
echo "${ECHO_T}$hard_links" >&6; }
 
9807
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9808
$as_echo "$hard_links" >&6; }
9143
9809
  if test "$hard_links" = no; then
9144
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9145
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9810
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9811
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9146
9812
    need_locks=warn
9147
9813
  fi
9148
9814
else
9149
9815
  need_locks=no
9150
9816
fi
9151
9817
 
9152
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9153
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9818
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9819
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9154
9820
 
9155
9821
  runpath_var=
9156
9822
  allow_undefined_flag=
9181
9847
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9182
9848
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9183
9849
  # as well as any symbol that contains `d'.
9184
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9850
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9185
9851
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9186
9852
  # platforms (ab)use it in PIC code, but their linkers get confused if
9187
9853
  # the symbol is explicitly referenced.  Since portable code cannot
9188
9854
  # rely on this symbol name, it's probably fine to never include it in
9189
9855
  # preloaded symbol tables.
 
9856
  # Exclude shared library initialization/finalization symbols.
9190
9857
  extract_expsyms_cmds=
9191
9858
  # Just being paranoid about ensuring that cc_basename is set.
9192
9859
  for cc_temp in $compiler""; do
9245
9912
 
9246
9913
    # See if GNU ld supports shared libraries.
9247
9914
    case $host_os in
9248
 
    aix3* | aix4* | aix5*)
 
9915
    aix[3-9]*)
9249
9916
      # On AIX/PPC, the GNU linker is very broken
9250
9917
      if test "$host_cpu" != ia64; then
9251
9918
        ld_shlibs=no
9293
9960
      allow_undefined_flag=unsupported
9294
9961
      always_export_symbols=no
9295
9962
      enable_shared_with_static_runtimes=yes
9296
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9963
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9297
9964
 
9298
9965
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9299
9966
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9311
9978
      fi
9312
9979
      ;;
9313
9980
 
9314
 
    interix3*)
 
9981
    interix[3-9]*)
9315
9982
      hardcode_direct=no
9316
9983
      hardcode_shlibpath_var=no
9317
9984
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9326
9993
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9327
9994
      ;;
9328
9995
 
9329
 
    linux*)
 
9996
    gnu* | linux* | k*bsd*-gnu)
9330
9997
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9331
9998
        tmp_addflag=
9332
9999
        case $cc_basename,$host_cpu in
9344
10011
        ifc* | ifort*)                  # Intel Fortran compiler
9345
10012
          tmp_addflag=' -nofor_main' ;;
9346
10013
        esac
9347
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10014
        case `$CC -V 2>&1 | sed 5q` in
 
10015
        *Sun\ C*)                       # Sun C 5.9
 
10016
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
10017
          tmp_sharedflag='-G' ;;
 
10018
        *Sun\ F*)                       # Sun Fortran 8.3
 
10019
          tmp_sharedflag='-G' ;;
 
10020
        *)
 
10021
          tmp_sharedflag='-shared' ;;
 
10022
        esac
 
10023
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9348
10024
 
9349
10025
        if test $supports_anon_versioning = yes; then
9350
10026
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9351
10027
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9352
10028
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9353
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
10029
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9354
10030
        fi
9355
10031
      else
9356
10032
        ld_shlibs=no
9455
10131
      fi
9456
10132
      ;;
9457
10133
 
9458
 
    aix4* | aix5*)
 
10134
    aix[4-9]*)
9459
10135
      if test "$host_cpu" = ia64; then
9460
10136
        # On IA64, the linker does run time linking by default, so we don't
9461
10137
        # have to do anything special.
9475
10151
        # Test if we are trying to use run time linking or normal
9476
10152
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9477
10153
        # need to do runtime linking.
9478
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
10154
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9479
10155
          for ld_flag in $LDFLAGS; do
9480
10156
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9481
10157
            aix_use_runtimelinking=yes
9509
10185
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9510
10186
          then
9511
10187
          # We have reworked collect2
9512
 
          hardcode_direct=yes
 
10188
          :
9513
10189
          else
9514
10190
          # We have old collect2
9515
10191
          hardcode_direct=unsupported
9570
10246
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9571
10247
  *) ac_try_echo=$ac_try;;
9572
10248
esac
9573
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10249
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10250
$as_echo "$ac_try_echo") >&5
9574
10251
  (eval "$ac_link") 2>conftest.er1
9575
10252
  ac_status=$?
9576
10253
  grep -v '^ *+' conftest.er1 >conftest.err
9577
10254
  rm -f conftest.er1
9578
10255
  cat conftest.err >&5
9579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10256
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580
10257
  (exit $ac_status); } && {
9581
10258
         test -z "$ac_c_werror_flag" ||
9582
10259
         test ! -s conftest.err
9583
 
       } && test -s conftest$ac_exeext &&
9584
 
       $as_test_x conftest$ac_exeext; then
 
10260
       } && test -s conftest$ac_exeext && {
 
10261
         test "$cross_compiling" = yes ||
 
10262
         $as_test_x conftest$ac_exeext
 
10263
       }; then
9585
10264
 
9586
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9587
 
}'`
 
10265
lt_aix_libpath_sed='
 
10266
    /Import File Strings/,/^$/ {
 
10267
        /^0/ {
 
10268
            s/^0  *\(.*\)$/\1/
 
10269
            p
 
10270
        }
 
10271
    }'
 
10272
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588
10273
# Check for a 64-bit object if we didn't find anything.
9589
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9590
 
}'`; fi
 
10274
if test -z "$aix_libpath"; then
 
10275
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10276
fi
9591
10277
else
9592
 
  echo "$as_me: failed program was:" >&5
 
10278
  $as_echo "$as_me: failed program was:" >&5
9593
10279
sed 's/^/| /' conftest.$ac_ext >&5
9594
10280
 
9595
10281
 
9596
10282
fi
9597
10283
 
 
10284
rm -rf conftest.dSYM
9598
10285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9599
10286
      conftest$ac_exeext conftest.$ac_ext
9600
10287
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9629
10316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9630
10317
  *) ac_try_echo=$ac_try;;
9631
10318
esac
9632
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10320
$as_echo "$ac_try_echo") >&5
9633
10321
  (eval "$ac_link") 2>conftest.er1
9634
10322
  ac_status=$?
9635
10323
  grep -v '^ *+' conftest.er1 >conftest.err
9636
10324
  rm -f conftest.er1
9637
10325
  cat conftest.err >&5
9638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10326
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639
10327
  (exit $ac_status); } && {
9640
10328
         test -z "$ac_c_werror_flag" ||
9641
10329
         test ! -s conftest.err
9642
 
       } && test -s conftest$ac_exeext &&
9643
 
       $as_test_x conftest$ac_exeext; then
 
10330
       } && test -s conftest$ac_exeext && {
 
10331
         test "$cross_compiling" = yes ||
 
10332
         $as_test_x conftest$ac_exeext
 
10333
       }; then
9644
10334
 
9645
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9646
 
}'`
 
10335
lt_aix_libpath_sed='
 
10336
    /Import File Strings/,/^$/ {
 
10337
        /^0/ {
 
10338
            s/^0  *\(.*\)$/\1/
 
10339
            p
 
10340
        }
 
10341
    }'
 
10342
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9647
10343
# Check for a 64-bit object if we didn't find anything.
9648
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9649
 
}'`; fi
 
10344
if test -z "$aix_libpath"; then
 
10345
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10346
fi
9650
10347
else
9651
 
  echo "$as_me: failed program was:" >&5
 
10348
  $as_echo "$as_me: failed program was:" >&5
9652
10349
sed 's/^/| /' conftest.$ac_ext >&5
9653
10350
 
9654
10351
 
9655
10352
fi
9656
10353
 
 
10354
rm -rf conftest.dSYM
9657
10355
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9658
10356
      conftest$ac_exeext conftest.$ac_ext
9659
10357
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9700
10398
      # The linker will automatically build a .lib file if we build a DLL.
9701
10399
      old_archive_From_new_cmds='true'
9702
10400
      # FIXME: Should let the user specify the lib program.
9703
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
10401
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9704
10402
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9705
10403
      enable_shared_with_static_runtimes=yes
9706
10404
      ;;
9733
10431
      link_all_deplibs=yes
9734
10432
    if test "$GCC" = yes ; then
9735
10433
        output_verbose_link_cmd='echo'
9736
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9737
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9738
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9739
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9740
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10434
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10435
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10436
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
10437
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9741
10438
    else
9742
10439
      case $cc_basename in
9743
10440
        xlc*)
9744
10441
         output_verbose_link_cmd='echo'
9745
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
10442
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9746
10443
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9747
10444
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9748
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10445
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9749
10446
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9750
10447
          ;;
9751
10448
       *)
9785
10482
      ;;
9786
10483
 
9787
10484
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9788
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
10485
    freebsd* | dragonfly*)
9789
10486
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9790
10487
      hardcode_libdir_flag_spec='-R$libdir'
9791
10488
      hardcode_direct=yes
9907
10604
      ;;
9908
10605
 
9909
10606
    openbsd*)
9910
 
      hardcode_direct=yes
9911
 
      hardcode_shlibpath_var=no
9912
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9913
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9914
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9915
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9916
 
        export_dynamic_flag_spec='${wl}-E'
 
10607
      if test -f /usr/libexec/ld.so; then
 
10608
        hardcode_direct=yes
 
10609
        hardcode_shlibpath_var=no
 
10610
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10611
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10612
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
10613
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10614
          export_dynamic_flag_spec='${wl}-E'
 
10615
        else
 
10616
          case $host_os in
 
10617
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
10618
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10619
             hardcode_libdir_flag_spec='-R$libdir'
 
10620
             ;;
 
10621
           *)
 
10622
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10623
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10624
             ;;
 
10625
          esac
 
10626
        fi
9917
10627
      else
9918
 
       case $host_os in
9919
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9920
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9921
 
           hardcode_libdir_flag_spec='-R$libdir'
9922
 
           ;;
9923
 
         *)
9924
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9925
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9926
 
           ;;
9927
 
       esac
 
10628
        ld_shlibs=no
9928
10629
      fi
9929
10630
      ;;
9930
10631
 
9983
10684
      case $host_os in
9984
10685
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9985
10686
      *)
9986
 
        # The compiler driver will combine linker options so we
9987
 
        # cannot just pass the convience library names through
9988
 
        # without $wl, iff we do not link with $LD.
9989
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
10687
        # The compiler driver will combine and reorder linker options,
 
10688
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10689
        # but is careful enough not to reorder.
9990
10690
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9991
 
        case $wlarc in
9992
 
        '')
9993
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9994
 
        *)
9995
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
9996
 
        esac ;;
 
10691
        if test "$GCC" = yes; then
 
10692
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10693
        else
 
10694
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10695
        fi
 
10696
        ;;
9997
10697
      esac
9998
10698
      link_all_deplibs=yes
9999
10699
      ;;
10050
10750
      fi
10051
10751
      ;;
10052
10752
 
10053
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10753
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10054
10754
      no_undefined_flag='${wl}-z,text'
10055
10755
      archive_cmds_need_lc=no
10056
10756
      hardcode_shlibpath_var=no
10103
10803
    esac
10104
10804
  fi
10105
10805
 
10106
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10107
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10806
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10807
$as_echo "$ld_shlibs" >&6; }
10108
10808
test "$ld_shlibs" = no && can_build_shared=no
10109
10809
 
10110
10810
#
10124
10824
      # Test whether the compiler implicitly links with -lc since on some
10125
10825
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10126
10826
      # to ld, don't add -lc before -lgcc.
10127
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10128
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
10827
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10828
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10129
10829
      $rm conftest*
10130
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10830
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10131
10831
 
10132
10832
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10133
10833
  (eval $ac_compile) 2>&5
10134
10834
  ac_status=$?
10135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10835
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136
10836
  (exit $ac_status); } 2>conftest.err; then
10137
10837
        soname=conftest
10138
10838
        lib=conftest
10150
10850
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10151
10851
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10152
10852
  ac_status=$?
10153
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10853
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154
10854
  (exit $ac_status); }
10155
10855
        then
10156
10856
          archive_cmds_need_lc=no
10162
10862
        cat conftest.err 1>&5
10163
10863
      fi
10164
10864
      $rm conftest*
10165
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10166
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10865
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10866
$as_echo "$archive_cmds_need_lc" >&6; }
10167
10867
      ;;
10168
10868
    esac
10169
10869
  fi
10170
10870
  ;;
10171
10871
esac
10172
10872
 
10173
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10174
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
10873
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10874
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10175
10875
library_names_spec=
10176
10876
libname_spec='lib$name'
10177
10877
soname_spec=
10185
10885
version_type=none
10186
10886
dynamic_linker="$host_os ld.so"
10187
10887
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10888
 
10188
10889
if test "$GCC" = yes; then
10189
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10190
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
10890
  case $host_os in
 
10891
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10892
    *) lt_awk_arg="/^libraries:/" ;;
 
10893
  esac
 
10894
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10895
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10191
10896
    # if the path contains ";" then we assume it to be the separator
10192
10897
    # otherwise default to the standard path separator (i.e. ":") - it is
10193
10898
    # assumed that no part of a normal pathname contains ";" but that should
10194
10899
    # okay in the real world where ";" in dirpaths is itself problematic.
10195
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10900
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10196
10901
  else
10197
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10902
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10198
10903
  fi
 
10904
  # Ok, now we have the path, separated by spaces, we can step through it
 
10905
  # and add multilib dir if necessary.
 
10906
  lt_tmp_lt_search_path_spec=
 
10907
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10908
  for lt_sys_path in $lt_search_path_spec; do
 
10909
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10910
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10911
    else
 
10912
      test -d "$lt_sys_path" && \
 
10913
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10914
    fi
 
10915
  done
 
10916
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10917
BEGIN {RS=" "; FS="/|\n";} {
 
10918
  lt_foo="";
 
10919
  lt_count=0;
 
10920
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10921
    if ($lt_i != "" && $lt_i != ".") {
 
10922
      if ($lt_i == "..") {
 
10923
        lt_count++;
 
10924
      } else {
 
10925
        if (lt_count == 0) {
 
10926
          lt_foo="/" $lt_i lt_foo;
 
10927
        } else {
 
10928
          lt_count--;
 
10929
        }
 
10930
      }
 
10931
    }
 
10932
  }
 
10933
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10934
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10935
}'`
 
10936
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10199
10937
else
10200
10938
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10201
10939
fi
10216
10954
  soname_spec='${libname}${release}${shared_ext}$major'
10217
10955
  ;;
10218
10956
 
10219
 
aix4* | aix5*)
 
10957
aix[4-9]*)
10220
10958
  version_type=linux
10221
10959
  need_lib_prefix=no
10222
10960
  need_version=no
10355
11093
  shlibpath_overrides_runpath=yes
10356
11094
  shlibpath_var=DYLD_LIBRARY_PATH
10357
11095
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10358
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10359
 
  if test "$GCC" = yes; then
10360
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10361
 
  else
10362
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10363
 
  fi
 
11096
 
 
11097
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10364
11098
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10365
11099
  ;;
10366
11100
 
10377
11111
  dynamic_linker=no
10378
11112
  ;;
10379
11113
 
10380
 
kfreebsd*-gnu)
10381
 
  version_type=linux
10382
 
  need_lib_prefix=no
10383
 
  need_version=no
10384
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10385
 
  soname_spec='${libname}${release}${shared_ext}$major'
10386
 
  shlibpath_var=LD_LIBRARY_PATH
10387
 
  shlibpath_overrides_runpath=no
10388
 
  hardcode_into_libs=yes
10389
 
  dynamic_linker='GNU ld.so'
10390
 
  ;;
10391
 
 
10392
11114
freebsd* | dragonfly*)
10393
11115
  # DragonFly does not have aout.  When/if they implement a new
10394
11116
  # versioning mechanism, adjust this.
10426
11148
    shlibpath_overrides_runpath=no
10427
11149
    hardcode_into_libs=yes
10428
11150
    ;;
10429
 
  freebsd*) # from 4.6 on
 
11151
  *) # from 4.6 on, and DragonFly
10430
11152
    shlibpath_overrides_runpath=yes
10431
11153
    hardcode_into_libs=yes
10432
11154
    ;;
10489
11211
  postinstall_cmds='chmod 555 $lib'
10490
11212
  ;;
10491
11213
 
10492
 
interix3*)
 
11214
interix[3-9]*)
10493
11215
  version_type=linux
10494
11216
  need_lib_prefix=no
10495
11217
  need_version=no
10544
11266
  ;;
10545
11267
 
10546
11268
# This must be Linux ELF.
10547
 
linux*)
 
11269
linux* | k*bsd*-gnu)
10548
11270
  version_type=linux
10549
11271
  need_lib_prefix=no
10550
11272
  need_version=no
10557
11279
  # Some rework will be needed to allow for fast_install
10558
11280
  # before this can be enabled.
10559
11281
  hardcode_into_libs=yes
10560
 
 
10561
 
  # find out which ABI we are using
10562
 
  libsuff=
10563
 
  case "$host_cpu" in
10564
 
  x86_64*|s390x*|powerpc64*)
10565
 
    echo '#line 10565 "configure"' > conftest.$ac_ext
10566
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10567
 
  (eval $ac_compile) 2>&5
10568
 
  ac_status=$?
10569
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10570
 
  (exit $ac_status); }; then
10571
 
      case `/usr/bin/file conftest.$ac_objext` in
10572
 
      *64-bit*)
10573
 
        libsuff=64
10574
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10575
 
        ;;
10576
 
      esac
10577
 
    fi
10578
 
    rm -rf conftest*
10579
 
    ;;
10580
 
  esac
 
11282
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
11283
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10581
11284
 
10582
11285
  # Append ld.so.conf contents to the search path
10583
11286
  if test -f /etc/ld.so.conf; then
10584
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10585
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
11287
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
11288
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10586
11289
  fi
10587
11290
 
10588
11291
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10594
11297
  dynamic_linker='GNU/Linux ld.so'
10595
11298
  ;;
10596
11299
 
10597
 
knetbsd*-gnu)
10598
 
  version_type=linux
10599
 
  need_lib_prefix=no
10600
 
  need_version=no
10601
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10602
 
  soname_spec='${libname}${release}${shared_ext}$major'
10603
 
  shlibpath_var=LD_LIBRARY_PATH
10604
 
  shlibpath_overrides_runpath=no
10605
 
  hardcode_into_libs=yes
10606
 
  dynamic_linker='GNU ld.so'
10607
 
  ;;
10608
 
 
10609
11300
netbsd*)
10610
11301
  version_type=sunos
10611
11302
  need_lib_prefix=no
10687
11378
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10688
11379
  ;;
10689
11380
 
 
11381
rdos*)
 
11382
  dynamic_linker=no
 
11383
  ;;
 
11384
 
10690
11385
solaris*)
10691
11386
  version_type=linux
10692
11387
  need_lib_prefix=no
10779
11474
  dynamic_linker=no
10780
11475
  ;;
10781
11476
esac
10782
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10783
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11477
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11478
$as_echo "$dynamic_linker" >&6; }
10784
11479
test "$dynamic_linker" = no && can_build_shared=no
10785
11480
 
 
11481
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11482
  $as_echo_n "(cached) " >&6
 
11483
else
 
11484
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
11485
fi
 
11486
 
 
11487
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11488
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11489
  $as_echo_n "(cached) " >&6
 
11490
else
 
11491
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
11492
fi
 
11493
 
 
11494
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11495
 
10786
11496
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10787
11497
if test "$GCC" = yes; then
10788
11498
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10789
11499
fi
10790
11500
 
10791
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10792
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11501
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11502
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10793
11503
hardcode_action=
10794
11504
if test -n "$hardcode_libdir_flag_spec" || \
10795
11505
   test -n "$runpath_var" || \
10813
11523
  # directories.
10814
11524
  hardcode_action=unsupported
10815
11525
fi
10816
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10817
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11526
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11527
$as_echo "$hardcode_action" >&6; }
10818
11528
 
10819
11529
if test "$hardcode_action" = relink; then
10820
11530
  # Fast installation is not supported
10827
11537
 
10828
11538
striplib=
10829
11539
old_striplib=
10830
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10831
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
 
11540
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11541
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10832
11542
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10833
11543
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10834
11544
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10835
 
  { echo "$as_me:$LINENO: result: yes" >&5
10836
 
echo "${ECHO_T}yes" >&6; }
 
11545
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11546
$as_echo "yes" >&6; }
10837
11547
else
10838
11548
# FIXME - insert some real tests, host_os isn't really good enough
10839
11549
  case $host_os in
10840
11550
   darwin*)
10841
11551
       if test -n "$STRIP" ; then
10842
11552
         striplib="$STRIP -x"
10843
 
         { echo "$as_me:$LINENO: result: yes" >&5
10844
 
echo "${ECHO_T}yes" >&6; }
 
11553
         old_striplib="$STRIP -S"
 
11554
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11555
$as_echo "yes" >&6; }
10845
11556
       else
10846
 
  { echo "$as_me:$LINENO: result: no" >&5
10847
 
echo "${ECHO_T}no" >&6; }
 
11557
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11558
$as_echo "no" >&6; }
10848
11559
fi
10849
11560
       ;;
10850
11561
   *)
10851
 
  { echo "$as_me:$LINENO: result: no" >&5
10852
 
echo "${ECHO_T}no" >&6; }
 
11562
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11563
$as_echo "no" >&6; }
10853
11564
    ;;
10854
11565
  esac
10855
11566
fi
10881
11592
 
10882
11593
  darwin*)
10883
11594
  # if libdl is installed we need to link against it
10884
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10885
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11595
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11596
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10886
11597
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10887
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11598
  $as_echo_n "(cached) " >&6
10888
11599
else
10889
11600
  ac_check_lib_save_LIBS=$LIBS
10890
11601
LIBS="-ldl  $LIBS"
10916
11627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10917
11628
  *) ac_try_echo=$ac_try;;
10918
11629
esac
10919
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11630
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11631
$as_echo "$ac_try_echo") >&5
10920
11632
  (eval "$ac_link") 2>conftest.er1
10921
11633
  ac_status=$?
10922
11634
  grep -v '^ *+' conftest.er1 >conftest.err
10923
11635
  rm -f conftest.er1
10924
11636
  cat conftest.err >&5
10925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11637
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926
11638
  (exit $ac_status); } && {
10927
11639
         test -z "$ac_c_werror_flag" ||
10928
11640
         test ! -s conftest.err
10929
 
       } && test -s conftest$ac_exeext &&
10930
 
       $as_test_x conftest$ac_exeext; then
 
11641
       } && test -s conftest$ac_exeext && {
 
11642
         test "$cross_compiling" = yes ||
 
11643
         $as_test_x conftest$ac_exeext
 
11644
       }; then
10931
11645
  ac_cv_lib_dl_dlopen=yes
10932
11646
else
10933
 
  echo "$as_me: failed program was:" >&5
 
11647
  $as_echo "$as_me: failed program was:" >&5
10934
11648
sed 's/^/| /' conftest.$ac_ext >&5
10935
11649
 
10936
11650
        ac_cv_lib_dl_dlopen=no
10937
11651
fi
10938
11652
 
 
11653
rm -rf conftest.dSYM
10939
11654
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10940
11655
      conftest$ac_exeext conftest.$ac_ext
10941
11656
LIBS=$ac_check_lib_save_LIBS
10942
11657
fi
10943
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10944
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 
11658
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11659
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10945
11660
if test $ac_cv_lib_dl_dlopen = yes; then
10946
11661
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10947
11662
else
10955
11670
   ;;
10956
11671
 
10957
11672
  *)
10958
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10959
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
11673
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11674
$as_echo_n "checking for shl_load... " >&6; }
10960
11675
if test "${ac_cv_func_shl_load+set}" = set; then
10961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11676
  $as_echo_n "(cached) " >&6
10962
11677
else
10963
11678
  cat >conftest.$ac_ext <<_ACEOF
10964
11679
/* confdefs.h.  */
11011
11726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11012
11727
  *) ac_try_echo=$ac_try;;
11013
11728
esac
11014
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11730
$as_echo "$ac_try_echo") >&5
11015
11731
  (eval "$ac_link") 2>conftest.er1
11016
11732
  ac_status=$?
11017
11733
  grep -v '^ *+' conftest.er1 >conftest.err
11018
11734
  rm -f conftest.er1
11019
11735
  cat conftest.err >&5
11020
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11736
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021
11737
  (exit $ac_status); } && {
11022
11738
         test -z "$ac_c_werror_flag" ||
11023
11739
         test ! -s conftest.err
11024
 
       } && test -s conftest$ac_exeext &&
11025
 
       $as_test_x conftest$ac_exeext; then
 
11740
       } && test -s conftest$ac_exeext && {
 
11741
         test "$cross_compiling" = yes ||
 
11742
         $as_test_x conftest$ac_exeext
 
11743
       }; then
11026
11744
  ac_cv_func_shl_load=yes
11027
11745
else
11028
 
  echo "$as_me: failed program was:" >&5
 
11746
  $as_echo "$as_me: failed program was:" >&5
11029
11747
sed 's/^/| /' conftest.$ac_ext >&5
11030
11748
 
11031
11749
        ac_cv_func_shl_load=no
11032
11750
fi
11033
11751
 
 
11752
rm -rf conftest.dSYM
11034
11753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11035
11754
      conftest$ac_exeext conftest.$ac_ext
11036
11755
fi
11037
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11038
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
 
11756
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11757
$as_echo "$ac_cv_func_shl_load" >&6; }
11039
11758
if test $ac_cv_func_shl_load = yes; then
11040
11759
  lt_cv_dlopen="shl_load"
11041
11760
else
11042
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11043
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
11761
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11762
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11044
11763
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11764
  $as_echo_n "(cached) " >&6
11046
11765
else
11047
11766
  ac_check_lib_save_LIBS=$LIBS
11048
11767
LIBS="-ldld  $LIBS"
11074
11793
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11075
11794
  *) ac_try_echo=$ac_try;;
11076
11795
esac
11077
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11796
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11797
$as_echo "$ac_try_echo") >&5
11078
11798
  (eval "$ac_link") 2>conftest.er1
11079
11799
  ac_status=$?
11080
11800
  grep -v '^ *+' conftest.er1 >conftest.err
11081
11801
  rm -f conftest.er1
11082
11802
  cat conftest.err >&5
11083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11803
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084
11804
  (exit $ac_status); } && {
11085
11805
         test -z "$ac_c_werror_flag" ||
11086
11806
         test ! -s conftest.err
11087
 
       } && test -s conftest$ac_exeext &&
11088
 
       $as_test_x conftest$ac_exeext; then
 
11807
       } && test -s conftest$ac_exeext && {
 
11808
         test "$cross_compiling" = yes ||
 
11809
         $as_test_x conftest$ac_exeext
 
11810
       }; then
11089
11811
  ac_cv_lib_dld_shl_load=yes
11090
11812
else
11091
 
  echo "$as_me: failed program was:" >&5
 
11813
  $as_echo "$as_me: failed program was:" >&5
11092
11814
sed 's/^/| /' conftest.$ac_ext >&5
11093
11815
 
11094
11816
        ac_cv_lib_dld_shl_load=no
11095
11817
fi
11096
11818
 
 
11819
rm -rf conftest.dSYM
11097
11820
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11098
11821
      conftest$ac_exeext conftest.$ac_ext
11099
11822
LIBS=$ac_check_lib_save_LIBS
11100
11823
fi
11101
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11102
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
 
11824
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11825
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11103
11826
if test $ac_cv_lib_dld_shl_load = yes; then
11104
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
11827
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11105
11828
else
11106
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
11107
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
11829
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11830
$as_echo_n "checking for dlopen... " >&6; }
11108
11831
if test "${ac_cv_func_dlopen+set}" = set; then
11109
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11832
  $as_echo_n "(cached) " >&6
11110
11833
else
11111
11834
  cat >conftest.$ac_ext <<_ACEOF
11112
11835
/* confdefs.h.  */
11159
11882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11160
11883
  *) ac_try_echo=$ac_try;;
11161
11884
esac
11162
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11885
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11886
$as_echo "$ac_try_echo") >&5
11163
11887
  (eval "$ac_link") 2>conftest.er1
11164
11888
  ac_status=$?
11165
11889
  grep -v '^ *+' conftest.er1 >conftest.err
11166
11890
  rm -f conftest.er1
11167
11891
  cat conftest.err >&5
11168
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11892
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169
11893
  (exit $ac_status); } && {
11170
11894
         test -z "$ac_c_werror_flag" ||
11171
11895
         test ! -s conftest.err
11172
 
       } && test -s conftest$ac_exeext &&
11173
 
       $as_test_x conftest$ac_exeext; then
 
11896
       } && test -s conftest$ac_exeext && {
 
11897
         test "$cross_compiling" = yes ||
 
11898
         $as_test_x conftest$ac_exeext
 
11899
       }; then
11174
11900
  ac_cv_func_dlopen=yes
11175
11901
else
11176
 
  echo "$as_me: failed program was:" >&5
 
11902
  $as_echo "$as_me: failed program was:" >&5
11177
11903
sed 's/^/| /' conftest.$ac_ext >&5
11178
11904
 
11179
11905
        ac_cv_func_dlopen=no
11180
11906
fi
11181
11907
 
 
11908
rm -rf conftest.dSYM
11182
11909
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11183
11910
      conftest$ac_exeext conftest.$ac_ext
11184
11911
fi
11185
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11186
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
 
11912
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11913
$as_echo "$ac_cv_func_dlopen" >&6; }
11187
11914
if test $ac_cv_func_dlopen = yes; then
11188
11915
  lt_cv_dlopen="dlopen"
11189
11916
else
11190
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11191
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11917
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11918
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11192
11919
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11193
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11920
  $as_echo_n "(cached) " >&6
11194
11921
else
11195
11922
  ac_check_lib_save_LIBS=$LIBS
11196
11923
LIBS="-ldl  $LIBS"
11222
11949
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11223
11950
  *) ac_try_echo=$ac_try;;
11224
11951
esac
11225
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11952
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11953
$as_echo "$ac_try_echo") >&5
11226
11954
  (eval "$ac_link") 2>conftest.er1
11227
11955
  ac_status=$?
11228
11956
  grep -v '^ *+' conftest.er1 >conftest.err
11229
11957
  rm -f conftest.er1
11230
11958
  cat conftest.err >&5
11231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11959
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232
11960
  (exit $ac_status); } && {
11233
11961
         test -z "$ac_c_werror_flag" ||
11234
11962
         test ! -s conftest.err
11235
 
       } && test -s conftest$ac_exeext &&
11236
 
       $as_test_x conftest$ac_exeext; then
 
11963
       } && test -s conftest$ac_exeext && {
 
11964
         test "$cross_compiling" = yes ||
 
11965
         $as_test_x conftest$ac_exeext
 
11966
       }; then
11237
11967
  ac_cv_lib_dl_dlopen=yes
11238
11968
else
11239
 
  echo "$as_me: failed program was:" >&5
 
11969
  $as_echo "$as_me: failed program was:" >&5
11240
11970
sed 's/^/| /' conftest.$ac_ext >&5
11241
11971
 
11242
11972
        ac_cv_lib_dl_dlopen=no
11243
11973
fi
11244
11974
 
 
11975
rm -rf conftest.dSYM
11245
11976
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11246
11977
      conftest$ac_exeext conftest.$ac_ext
11247
11978
LIBS=$ac_check_lib_save_LIBS
11248
11979
fi
11249
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11250
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
 
11980
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11981
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11251
11982
if test $ac_cv_lib_dl_dlopen = yes; then
11252
11983
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11253
11984
else
11254
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11255
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
11985
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11986
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11256
11987
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11988
  $as_echo_n "(cached) " >&6
11258
11989
else
11259
11990
  ac_check_lib_save_LIBS=$LIBS
11260
11991
LIBS="-lsvld  $LIBS"
11286
12017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11287
12018
  *) ac_try_echo=$ac_try;;
11288
12019
esac
11289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12020
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12021
$as_echo "$ac_try_echo") >&5
11290
12022
  (eval "$ac_link") 2>conftest.er1
11291
12023
  ac_status=$?
11292
12024
  grep -v '^ *+' conftest.er1 >conftest.err
11293
12025
  rm -f conftest.er1
11294
12026
  cat conftest.err >&5
11295
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12027
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296
12028
  (exit $ac_status); } && {
11297
12029
         test -z "$ac_c_werror_flag" ||
11298
12030
         test ! -s conftest.err
11299
 
       } && test -s conftest$ac_exeext &&
11300
 
       $as_test_x conftest$ac_exeext; then
 
12031
       } && test -s conftest$ac_exeext && {
 
12032
         test "$cross_compiling" = yes ||
 
12033
         $as_test_x conftest$ac_exeext
 
12034
       }; then
11301
12035
  ac_cv_lib_svld_dlopen=yes
11302
12036
else
11303
 
  echo "$as_me: failed program was:" >&5
 
12037
  $as_echo "$as_me: failed program was:" >&5
11304
12038
sed 's/^/| /' conftest.$ac_ext >&5
11305
12039
 
11306
12040
        ac_cv_lib_svld_dlopen=no
11307
12041
fi
11308
12042
 
 
12043
rm -rf conftest.dSYM
11309
12044
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11310
12045
      conftest$ac_exeext conftest.$ac_ext
11311
12046
LIBS=$ac_check_lib_save_LIBS
11312
12047
fi
11313
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11314
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
 
12048
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12049
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11315
12050
if test $ac_cv_lib_svld_dlopen = yes; then
11316
12051
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11317
12052
else
11318
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11319
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
12053
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12054
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11320
12055
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11321
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12056
  $as_echo_n "(cached) " >&6
11322
12057
else
11323
12058
  ac_check_lib_save_LIBS=$LIBS
11324
12059
LIBS="-ldld  $LIBS"
11350
12085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351
12086
  *) ac_try_echo=$ac_try;;
11352
12087
esac
11353
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12088
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12089
$as_echo "$ac_try_echo") >&5
11354
12090
  (eval "$ac_link") 2>conftest.er1
11355
12091
  ac_status=$?
11356
12092
  grep -v '^ *+' conftest.er1 >conftest.err
11357
12093
  rm -f conftest.er1
11358
12094
  cat conftest.err >&5
11359
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12095
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360
12096
  (exit $ac_status); } && {
11361
12097
         test -z "$ac_c_werror_flag" ||
11362
12098
         test ! -s conftest.err
11363
 
       } && test -s conftest$ac_exeext &&
11364
 
       $as_test_x conftest$ac_exeext; then
 
12099
       } && test -s conftest$ac_exeext && {
 
12100
         test "$cross_compiling" = yes ||
 
12101
         $as_test_x conftest$ac_exeext
 
12102
       }; then
11365
12103
  ac_cv_lib_dld_dld_link=yes
11366
12104
else
11367
 
  echo "$as_me: failed program was:" >&5
 
12105
  $as_echo "$as_me: failed program was:" >&5
11368
12106
sed 's/^/| /' conftest.$ac_ext >&5
11369
12107
 
11370
12108
        ac_cv_lib_dld_dld_link=no
11371
12109
fi
11372
12110
 
 
12111
rm -rf conftest.dSYM
11373
12112
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11374
12113
      conftest$ac_exeext conftest.$ac_ext
11375
12114
LIBS=$ac_check_lib_save_LIBS
11376
12115
fi
11377
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11378
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
 
12116
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12117
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11379
12118
if test $ac_cv_lib_dld_dld_link = yes; then
11380
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
12119
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11381
12120
fi
11382
12121
 
11383
12122
 
11415
12154
    save_LIBS="$LIBS"
11416
12155
    LIBS="$lt_cv_dlopen_libs $LIBS"
11417
12156
 
11418
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11419
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
12157
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12158
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11420
12159
if test "${lt_cv_dlopen_self+set}" = set; then
11421
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12160
  $as_echo_n "(cached) " >&6
11422
12161
else
11423
12162
          if test "$cross_compiling" = yes; then :
11424
12163
  lt_cv_dlopen_self=cross
11426
12165
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11427
12166
  lt_status=$lt_dlunknown
11428
12167
  cat > conftest.$ac_ext <<EOF
11429
 
#line 11429 "configure"
 
12168
#line 12168 "configure"
11430
12169
#include "confdefs.h"
11431
12170
 
11432
12171
#if HAVE_DLFCN_H
11492
12231
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11493
12232
  (eval $ac_link) 2>&5
11494
12233
  ac_status=$?
11495
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12234
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496
12235
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11497
12236
    (./conftest; exit; ) >&5 2>/dev/null
11498
12237
    lt_status=$?
11510
12249
 
11511
12250
 
11512
12251
fi
11513
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11514
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
12252
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12253
$as_echo "$lt_cv_dlopen_self" >&6; }
11515
12254
 
11516
12255
    if test "x$lt_cv_dlopen_self" = xyes; then
11517
12256
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11518
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11519
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
12257
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12258
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11520
12259
if test "${lt_cv_dlopen_self_static+set}" = set; then
11521
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12260
  $as_echo_n "(cached) " >&6
11522
12261
else
11523
12262
          if test "$cross_compiling" = yes; then :
11524
12263
  lt_cv_dlopen_self_static=cross
11526
12265
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527
12266
  lt_status=$lt_dlunknown
11528
12267
  cat > conftest.$ac_ext <<EOF
11529
 
#line 11529 "configure"
 
12268
#line 12268 "configure"
11530
12269
#include "confdefs.h"
11531
12270
 
11532
12271
#if HAVE_DLFCN_H
11592
12331
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11593
12332
  (eval $ac_link) 2>&5
11594
12333
  ac_status=$?
11595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12334
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596
12335
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11597
12336
    (./conftest; exit; ) >&5 2>/dev/null
11598
12337
    lt_status=$?
11610
12349
 
11611
12350
 
11612
12351
fi
11613
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11614
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12352
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12353
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11615
12354
    fi
11616
12355
 
11617
12356
    CPPFLAGS="$save_CPPFLAGS"
11633
12372
 
11634
12373
 
11635
12374
# Report which library types will actually be built
11636
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11637
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11638
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11639
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
12375
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12376
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12377
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12378
$as_echo "$can_build_shared" >&6; }
11640
12379
 
11641
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11642
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
12380
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12381
$as_echo_n "checking whether to build shared libraries... " >&6; }
11643
12382
test "$can_build_shared" = "no" && enable_shared=no
11644
12383
 
11645
12384
# On AIX, shared libraries and static libraries use the same namespace, and
11653
12392
  fi
11654
12393
  ;;
11655
12394
 
11656
 
aix4* | aix5*)
 
12395
aix[4-9]*)
11657
12396
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11658
12397
    test "$enable_shared" = yes && enable_static=no
11659
12398
  fi
11660
12399
    ;;
11661
12400
esac
11662
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11663
 
echo "${ECHO_T}$enable_shared" >&6; }
 
12401
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12402
$as_echo "$enable_shared" >&6; }
11664
12403
 
11665
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11666
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
12404
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12405
$as_echo_n "checking whether to build static libraries... " >&6; }
11667
12406
# Make sure either enable_shared or enable_static is yes.
11668
12407
test "$enable_shared" = yes || enable_static=yes
11669
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11670
 
echo "${ECHO_T}$enable_static" >&6; }
 
12408
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12409
$as_echo "$enable_static" >&6; }
11671
12410
 
11672
12411
# The else clause should only fire when bootstrapping the
11673
12412
# libtool distribution, otherwise you forgot to ship ltmain.sh
11709
12448
    predeps \
11710
12449
    postdeps \
11711
12450
    compiler_lib_search_path \
 
12451
    compiler_lib_search_dirs \
11712
12452
    archive_cmds \
11713
12453
    archive_expsym_cmds \
11714
12454
    postinstall_cmds \
11724
12464
    module_cmds \
11725
12465
    module_expsym_cmds \
11726
12466
    lt_cv_prog_compiler_c_o \
 
12467
    fix_srcfile_path \
11727
12468
    exclude_expsyms \
11728
12469
    include_expsyms; do
11729
12470
 
11758
12499
cfgfile="${ofile}T"
11759
12500
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11760
12501
  $rm -f "$cfgfile"
11761
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11762
 
echo "$as_me: creating $ofile" >&6;}
 
12502
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 
12503
$as_echo "$as_me: creating $ofile" >&6;}
11763
12504
 
11764
12505
  cat <<__EOF__ >> "$cfgfile"
11765
12506
#! $SHELL
11768
12509
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11769
12510
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11770
12511
#
11771
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
12512
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11772
12513
# Free Software Foundation, Inc.
11773
12514
#
11774
12515
# This file is part of GNU Libtool:
12004
12745
# shared library.
12005
12746
postdeps=$lt_postdeps
12006
12747
 
 
12748
# The directories searched by this compiler when creating a shared
 
12749
# library
 
12750
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
12751
 
12007
12752
# The library search path used internally by the compiler when linking
12008
12753
# a shared library.
12009
12754
compiler_lib_search_path=$lt_compiler_lib_search_path
12092
12837
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12093
12838
 
12094
12839
# Fix the shell variable \$srcfile for the compiler.
12095
 
fix_srcfile_path="$fix_srcfile_path"
 
12840
fix_srcfile_path=$lt_fix_srcfile_path
12096
12841
 
12097
12842
# Set to yes if exported symbols are required.
12098
12843
always_export_symbols=$always_export_symbols
12167
12912
 
12168
12913
if test -f "$ltmain" && test -n "$tagnames"; then
12169
12914
  if test ! -f "${ofile}"; then
12170
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12171
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 
12915
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 
12916
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12172
12917
  fi
12173
12918
 
12174
12919
  if test -z "$LTCC"; then
12175
12920
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12176
12921
    if test -z "$LTCC"; then
12177
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12178
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 
12922
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 
12923
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12179
12924
    else
12180
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12181
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 
12925
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 
12926
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12182
12927
    fi
12183
12928
  fi
12184
12929
  if test -z "$LTCFLAGS"; then
12195
12940
    # Check whether tagname contains only valid characters
12196
12941
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12197
12942
    "") ;;
12198
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12199
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
 
12943
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 
12944
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
12200
12945
   { (exit 1); exit 1; }; }
12201
12946
        ;;
12202
12947
    esac
12203
12948
 
12204
12949
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12205
12950
    then
12206
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12207
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 
12951
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 
12952
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12208
12953
   { (exit 1); exit 1; }; }
12209
12954
    fi
12210
12955
 
12252
12997
predeps_CXX=
12253
12998
postdeps_CXX=
12254
12999
compiler_lib_search_path_CXX=
 
13000
compiler_lib_search_dirs_CXX=
12255
13001
 
12256
13002
# Source file extension for C++ test sources.
12257
13003
ac_ext=cpp
12261
13007
objext_CXX=$objext
12262
13008
 
12263
13009
# Code to be used in simple compile tests
12264
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
13010
lt_simple_compile_test_code="int some_variable = 0;"
12265
13011
 
12266
13012
# Code to be used in simple link tests
12267
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
13013
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12268
13014
 
12269
13015
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12270
13016
 
12280
13026
 
12281
13027
# save warnings/boilerplate of simple test code
12282
13028
ac_outfile=conftest.$ac_objext
12283
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13029
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12284
13030
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12285
13031
_lt_compiler_boilerplate=`cat conftest.err`
12286
13032
$rm conftest*
12287
13033
 
12288
13034
ac_outfile=conftest.$ac_objext
12289
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
13035
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12290
13036
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12291
13037
_lt_linker_boilerplate=`cat conftest.err`
12292
 
$rm conftest*
 
13038
$rm -r conftest*
12293
13039
 
12294
13040
 
12295
13041
# Allow CC to be a program name with arguments.
12346
13092
ac_prog=ld
12347
13093
if test "$GCC" = yes; then
12348
13094
  # Check if gcc -print-prog-name=ld gives a path.
12349
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12350
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
13095
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
13096
$as_echo_n "checking for ld used by $CC... " >&6; }
12351
13097
  case $host in
12352
13098
  *-*-mingw*)
12353
13099
    # gcc leaves a trailing carriage return which upsets mingw
12376
13122
    ;;
12377
13123
  esac
12378
13124
elif test "$with_gnu_ld" = yes; then
12379
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12380
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
13125
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
13126
$as_echo_n "checking for GNU ld... " >&6; }
12381
13127
else
12382
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12383
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
13128
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
13129
$as_echo_n "checking for non-GNU ld... " >&6; }
12384
13130
fi
12385
13131
if test "${lt_cv_path_LD+set}" = set; then
12386
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13132
  $as_echo_n "(cached) " >&6
12387
13133
else
12388
13134
  if test -z "$LD"; then
12389
13135
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12413
13159
 
12414
13160
LD="$lt_cv_path_LD"
12415
13161
if test -n "$LD"; then
12416
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12417
 
echo "${ECHO_T}$LD" >&6; }
 
13162
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
13163
$as_echo "$LD" >&6; }
12418
13164
else
12419
 
  { echo "$as_me:$LINENO: result: no" >&5
12420
 
echo "${ECHO_T}no" >&6; }
 
13165
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13166
$as_echo "no" >&6; }
12421
13167
fi
12422
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12423
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
13168
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
13169
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12424
13170
   { (exit 1); exit 1; }; }
12425
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12426
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
13171
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
13172
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12427
13173
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13174
  $as_echo_n "(cached) " >&6
12429
13175
else
12430
13176
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12431
13177
case `$LD -v 2>&1 </dev/null` in
12437
13183
  ;;
12438
13184
esac
12439
13185
fi
12440
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12441
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
13186
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
13187
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12442
13188
with_gnu_ld=$lt_cv_prog_gnu_ld
12443
13189
 
12444
13190
 
12488
13234
fi
12489
13235
 
12490
13236
# PORTME: fill in a description of your system's C++ link characteristics
12491
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12492
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
13237
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
13238
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12493
13239
ld_shlibs_CXX=yes
12494
13240
case $host_os in
12495
13241
  aix3*)
12496
13242
    # FIXME: insert proper C++ library support
12497
13243
    ld_shlibs_CXX=no
12498
13244
    ;;
12499
 
  aix4* | aix5*)
 
13245
  aix[4-9]*)
12500
13246
    if test "$host_cpu" = ia64; then
12501
13247
      # On IA64, the linker does run time linking by default, so we don't
12502
13248
      # have to do anything special.
12509
13255
      # Test if we are trying to use run time linking or normal
12510
13256
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12511
13257
      # need to do runtime linking.
12512
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
13258
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12513
13259
        for ld_flag in $LDFLAGS; do
12514
13260
          case $ld_flag in
12515
13261
          *-brtl*)
12545
13291
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12546
13292
        then
12547
13293
          # We have reworked collect2
12548
 
          hardcode_direct_CXX=yes
 
13294
          :
12549
13295
        else
12550
13296
          # We have old collect2
12551
13297
          hardcode_direct_CXX=unsupported
12606
13352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12607
13353
  *) ac_try_echo=$ac_try;;
12608
13354
esac
12609
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13355
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13356
$as_echo "$ac_try_echo") >&5
12610
13357
  (eval "$ac_link") 2>conftest.er1
12611
13358
  ac_status=$?
12612
13359
  grep -v '^ *+' conftest.er1 >conftest.err
12613
13360
  rm -f conftest.er1
12614
13361
  cat conftest.err >&5
12615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13362
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616
13363
  (exit $ac_status); } && {
12617
13364
         test -z "$ac_cxx_werror_flag" ||
12618
13365
         test ! -s conftest.err
12619
 
       } && test -s conftest$ac_exeext &&
12620
 
       $as_test_x conftest$ac_exeext; then
 
13366
       } && test -s conftest$ac_exeext && {
 
13367
         test "$cross_compiling" = yes ||
 
13368
         $as_test_x conftest$ac_exeext
 
13369
       }; then
12621
13370
 
12622
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12623
 
}'`
 
13371
lt_aix_libpath_sed='
 
13372
    /Import File Strings/,/^$/ {
 
13373
        /^0/ {
 
13374
            s/^0  *\(.*\)$/\1/
 
13375
            p
 
13376
        }
 
13377
    }'
 
13378
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12624
13379
# Check for a 64-bit object if we didn't find anything.
12625
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12626
 
}'`; fi
 
13380
if test -z "$aix_libpath"; then
 
13381
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13382
fi
12627
13383
else
12628
 
  echo "$as_me: failed program was:" >&5
 
13384
  $as_echo "$as_me: failed program was:" >&5
12629
13385
sed 's/^/| /' conftest.$ac_ext >&5
12630
13386
 
12631
13387
 
12632
13388
fi
12633
13389
 
 
13390
rm -rf conftest.dSYM
12634
13391
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12635
13392
      conftest$ac_exeext conftest.$ac_ext
12636
13393
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12666
13423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12667
13424
  *) ac_try_echo=$ac_try;;
12668
13425
esac
12669
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13426
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13427
$as_echo "$ac_try_echo") >&5
12670
13428
  (eval "$ac_link") 2>conftest.er1
12671
13429
  ac_status=$?
12672
13430
  grep -v '^ *+' conftest.er1 >conftest.err
12673
13431
  rm -f conftest.er1
12674
13432
  cat conftest.err >&5
12675
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13433
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676
13434
  (exit $ac_status); } && {
12677
13435
         test -z "$ac_cxx_werror_flag" ||
12678
13436
         test ! -s conftest.err
12679
 
       } && test -s conftest$ac_exeext &&
12680
 
       $as_test_x conftest$ac_exeext; then
 
13437
       } && test -s conftest$ac_exeext && {
 
13438
         test "$cross_compiling" = yes ||
 
13439
         $as_test_x conftest$ac_exeext
 
13440
       }; then
12681
13441
 
12682
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12683
 
}'`
 
13442
lt_aix_libpath_sed='
 
13443
    /Import File Strings/,/^$/ {
 
13444
        /^0/ {
 
13445
            s/^0  *\(.*\)$/\1/
 
13446
            p
 
13447
        }
 
13448
    }'
 
13449
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12684
13450
# Check for a 64-bit object if we didn't find anything.
12685
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12686
 
}'`; fi
 
13451
if test -z "$aix_libpath"; then
 
13452
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13453
fi
12687
13454
else
12688
 
  echo "$as_me: failed program was:" >&5
 
13455
  $as_echo "$as_me: failed program was:" >&5
12689
13456
sed 's/^/| /' conftest.$ac_ext >&5
12690
13457
 
12691
13458
 
12692
13459
fi
12693
13460
 
 
13461
rm -rf conftest.dSYM
12694
13462
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12695
13463
      conftest$ac_exeext conftest.$ac_ext
12696
13464
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12753
13521
    fi
12754
13522
  ;;
12755
13523
      darwin* | rhapsody*)
12756
 
        case $host_os in
12757
 
        rhapsody* | darwin1.[012])
12758
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12759
 
         ;;
12760
 
       *) # Darwin 1.3 on
12761
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12762
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12763
 
         else
12764
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12765
 
             10.[012])
12766
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12767
 
               ;;
12768
 
             10.*)
12769
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12770
 
               ;;
12771
 
           esac
12772
 
         fi
12773
 
         ;;
12774
 
        esac
12775
13524
      archive_cmds_need_lc_CXX=no
12776
13525
      hardcode_direct_CXX=no
12777
13526
      hardcode_automatic_CXX=yes
12778
13527
      hardcode_shlibpath_var_CXX=unsupported
12779
13528
      whole_archive_flag_spec_CXX=''
12780
13529
      link_all_deplibs_CXX=yes
12781
 
 
12782
 
    if test "$GXX" = yes ; then
12783
 
      lt_int_apple_cc_single_mod=no
 
13530
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
13531
      if test "$GXX" = yes ; then
12784
13532
      output_verbose_link_cmd='echo'
12785
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12786
 
       lt_int_apple_cc_single_mod=yes
 
13533
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
13534
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
13535
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
13536
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
13537
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
13538
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
13539
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12787
13540
      fi
12788
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12789
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12790
 
      else
12791
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12792
 
        fi
12793
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12794
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12795
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12796
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12797
 
          else
12798
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12799
 
          fi
12800
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12801
13541
      else
12802
13542
      case $cc_basename in
12803
13543
        xlc*)
12804
13544
         output_verbose_link_cmd='echo'
12805
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
13545
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12806
13546
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12807
13547
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12808
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
13548
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12809
13549
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12810
13550
          ;;
12811
13551
       *)
12839
13579
  freebsd-elf*)
12840
13580
    archive_cmds_need_lc_CXX=no
12841
13581
    ;;
12842
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
13582
  freebsd* | dragonfly*)
12843
13583
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12844
13584
    # conventions
12845
13585
    ld_shlibs_CXX=yes
12888
13628
      hardcode_libdir_separator_CXX=:
12889
13629
 
12890
13630
      case $host_cpu in
12891
 
      hppa*64*|ia64*)
12892
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12893
 
        ;;
 
13631
      hppa*64*|ia64*) ;;
12894
13632
      *)
12895
13633
        export_dynamic_flag_spec_CXX='${wl}-E'
12896
13634
        ;;
12958
13696
        ;;
12959
13697
    esac
12960
13698
    ;;
12961
 
  interix3*)
 
13699
  interix[3-9]*)
12962
13700
    hardcode_direct_CXX=no
12963
13701
    hardcode_shlibpath_var_CXX=no
12964
13702
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12998
13736
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12999
13737
    hardcode_libdir_separator_CXX=:
13000
13738
    ;;
13001
 
  linux*)
 
13739
  linux* | k*bsd*-gnu)
13002
13740
    case $cc_basename in
13003
13741
      KCC*)
13004
13742
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13050
13788
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13051
13789
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13052
13790
        ;;
13053
 
      pgCC*)
 
13791
      pgCC* | pgcpp*)
13054
13792
        # Portland Group C++ compiler
13055
13793
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13056
13794
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13078
13816
        # dependencies.
13079
13817
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13080
13818
        ;;
 
13819
      *)
 
13820
        case `$CC -V 2>&1 | sed 5q` in
 
13821
        *Sun\ C*)
 
13822
          # Sun C++ 5.9
 
13823
          no_undefined_flag_CXX=' -zdefs'
 
13824
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13825
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
13826
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13827
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
13828
 
 
13829
          # Not sure whether something based on
 
13830
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13831
          # would be better.
 
13832
          output_verbose_link_cmd='echo'
 
13833
 
 
13834
          # Archives containing C++ object files must be created using
 
13835
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13836
          # necessary to make sure instantiated templates are included
 
13837
          # in the archive.
 
13838
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13839
          ;;
 
13840
        esac
 
13841
        ;;
13081
13842
    esac
13082
13843
    ;;
13083
13844
  lynxos*)
13116
13877
    ld_shlibs_CXX=no
13117
13878
    ;;
13118
13879
  openbsd*)
13119
 
    hardcode_direct_CXX=yes
13120
 
    hardcode_shlibpath_var_CXX=no
13121
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13122
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13123
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13124
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13125
 
      export_dynamic_flag_spec_CXX='${wl}-E'
13126
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13880
    if test -f /usr/libexec/ld.so; then
 
13881
      hardcode_direct_CXX=yes
 
13882
      hardcode_shlibpath_var_CXX=no
 
13883
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13884
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13885
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13886
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13887
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13888
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13889
      fi
 
13890
      output_verbose_link_cmd='echo'
 
13891
    else
 
13892
      ld_shlibs_CXX=no
13127
13893
    fi
13128
 
    output_verbose_link_cmd='echo'
13129
13894
    ;;
13130
13895
  osf3*)
13131
13896
    case $cc_basename in
13287
14052
        case $host_os in
13288
14053
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13289
14054
          *)
13290
 
            # The C++ compiler is used as linker so we must use $wl
13291
 
            # flag to pass the commands to the underlying system
13292
 
            # linker. We must also pass each convience library through
13293
 
            # to the system linker between allextract/defaultextract.
13294
 
            # The C++ compiler will combine linker options so we
13295
 
            # cannot just pass the convience library names through
13296
 
            # without $wl.
 
14055
            # The compiler driver will combine and reorder linker options,
 
14056
            # but understands `-z linker_flag'.
13297
14057
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13298
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
14058
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13299
14059
            ;;
13300
14060
        esac
13301
14061
        link_all_deplibs_CXX=yes
13342
14102
          fi
13343
14103
 
13344
14104
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
14105
          case $host_os in
 
14106
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
14107
          *)
 
14108
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
14109
            ;;
 
14110
          esac
13345
14111
        fi
13346
14112
        ;;
13347
14113
    esac
13422
14188
    ld_shlibs_CXX=no
13423
14189
    ;;
13424
14190
esac
13425
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13426
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14191
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14192
$as_echo "$ld_shlibs_CXX" >&6; }
13427
14193
test "$ld_shlibs_CXX" = no && can_build_shared=no
13428
14194
 
13429
14195
GCC_CXX="$GXX"
13430
14196
LD_CXX="$LD"
13431
14197
 
13432
 
 
13433
14198
cat > conftest.$ac_ext <<EOF
13434
14199
class Foo
13435
14200
{
13443
14208
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13444
14209
  (eval $ac_compile) 2>&5
13445
14210
  ac_status=$?
13446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14211
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447
14212
  (exit $ac_status); }; then
13448
14213
  # Parse the compiler output and extract the necessary
13449
14214
  # objects, libraries and library flags.
13531
14296
 
13532
14297
$rm -f confest.$objext
13533
14298
 
 
14299
compiler_lib_search_dirs_CXX=
 
14300
if test -n "$compiler_lib_search_path_CXX"; then
 
14301
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
14302
fi
 
14303
 
13534
14304
# PORTME: override above test on systems where it is broken
13535
14305
case $host_os in
13536
 
interix3*)
 
14306
interix[3-9]*)
13537
14307
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13538
14308
  # hack all around it, let's just trust "g++" to DTRT.
13539
14309
  predep_objects_CXX=
13541
14311
  postdeps_CXX=
13542
14312
  ;;
13543
14313
 
 
14314
linux*)
 
14315
  case `$CC -V 2>&1 | sed 5q` in
 
14316
  *Sun\ C*)
 
14317
    # Sun C++ 5.9
 
14318
    #
 
14319
    # The more standards-conforming stlport4 library is
 
14320
    # incompatible with the Cstd library. Avoid specifying
 
14321
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14322
    # -library=stlport4 depends on it.
 
14323
    case " $CXX $CXXFLAGS " in
 
14324
    *" -library=stlport4 "*)
 
14325
      solaris_use_stlport4=yes
 
14326
      ;;
 
14327
    esac
 
14328
    if test "$solaris_use_stlport4" != yes; then
 
14329
      postdeps_CXX='-library=Cstd -library=Crun'
 
14330
    fi
 
14331
    ;;
 
14332
  esac
 
14333
  ;;
 
14334
 
13544
14335
solaris*)
13545
14336
  case $cc_basename in
13546
14337
  CC*)
 
14338
    # The more standards-conforming stlport4 library is
 
14339
    # incompatible with the Cstd library. Avoid specifying
 
14340
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14341
    # -library=stlport4 depends on it.
 
14342
    case " $CXX $CXXFLAGS " in
 
14343
    *" -library=stlport4 "*)
 
14344
      solaris_use_stlport4=yes
 
14345
      ;;
 
14346
    esac
 
14347
 
13547
14348
    # Adding this requires a known-good setup of shared libraries for
13548
14349
    # Sun compiler versions before 5.6, else PIC objects from an old
13549
14350
    # archive will be linked into the output, leading to subtle bugs.
13550
 
    postdeps_CXX='-lCstd -lCrun'
 
14351
    if test "$solaris_use_stlport4" != yes; then
 
14352
      postdeps_CXX='-library=Cstd -library=Crun'
 
14353
    fi
13551
14354
    ;;
13552
14355
  esac
13553
14356
  ;;
13554
14357
esac
13555
14358
 
13556
 
 
13557
14359
case " $postdeps_CXX " in
13558
14360
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13559
14361
esac
13562
14364
lt_prog_compiler_pic_CXX=
13563
14365
lt_prog_compiler_static_CXX=
13564
14366
 
13565
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13566
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
14367
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14368
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13567
14369
 
13568
14370
  # C++ specific cases for pic, static, wl, etc.
13569
14371
  if test "$GXX" = yes; then
13584
14386
      # like `-m68040'.
13585
14387
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13586
14388
      ;;
13587
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14389
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13588
14390
      # PIC is the default for these OSes.
13589
14391
      ;;
13590
 
    mingw* | os2* | pw32*)
 
14392
    mingw* | cygwin* | os2* | pw32*)
13591
14393
      # This hack is so that the source file can tell whether it is being
13592
14394
      # built for inclusion in a dll (and should export symbols for example).
 
14395
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14396
      # (--disable-auto-import) libraries
13593
14397
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13594
14398
      ;;
13595
14399
    darwin* | rhapsody*)
13601
14405
      # DJGPP does not support shared libraries at all
13602
14406
      lt_prog_compiler_pic_CXX=
13603
14407
      ;;
13604
 
    interix3*)
 
14408
    interix[3-9]*)
13605
14409
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13606
14410
      # Instead, we relocate shared libraries at runtime.
13607
14411
      ;;
13627
14431
    esac
13628
14432
  else
13629
14433
    case $host_os in
13630
 
      aix4* | aix5*)
 
14434
      aix[4-9]*)
13631
14435
        # All AIX code is PIC.
13632
14436
        if test "$host_cpu" = ia64; then
13633
14437
          # AIX 5 now supports IA64 processor
13667
14471
            ;;
13668
14472
        esac
13669
14473
        ;;
13670
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
14474
      freebsd* | dragonfly*)
13671
14475
        # FreeBSD uses GNU C++
13672
14476
        ;;
13673
14477
      hpux9* | hpux10* | hpux11*)
13710
14514
            ;;
13711
14515
        esac
13712
14516
        ;;
13713
 
      linux*)
 
14517
      linux* | k*bsd*-gnu)
13714
14518
        case $cc_basename in
13715
14519
          KCC*)
13716
14520
            # KAI C++ Compiler
13723
14527
            lt_prog_compiler_pic_CXX='-KPIC'
13724
14528
            lt_prog_compiler_static_CXX='-static'
13725
14529
            ;;
13726
 
          pgCC*)
 
14530
          pgCC* | pgcpp*)
13727
14531
            # Portland Group C++ compiler.
13728
14532
            lt_prog_compiler_wl_CXX='-Wl,'
13729
14533
            lt_prog_compiler_pic_CXX='-fpic'
13737
14541
            lt_prog_compiler_static_CXX='-non_shared'
13738
14542
            ;;
13739
14543
          *)
 
14544
            case `$CC -V 2>&1 | sed 5q` in
 
14545
            *Sun\ C*)
 
14546
              # Sun C++ 5.9
 
14547
              lt_prog_compiler_pic_CXX='-KPIC'
 
14548
              lt_prog_compiler_static_CXX='-Bstatic'
 
14549
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
14550
              ;;
 
14551
            esac
13740
14552
            ;;
13741
14553
        esac
13742
14554
        ;;
13836
14648
    esac
13837
14649
  fi
13838
14650
 
13839
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13840
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
 
14651
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
14652
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13841
14653
 
13842
14654
#
13843
14655
# Check to make sure the PIC flag actually works.
13844
14656
#
13845
14657
if test -n "$lt_prog_compiler_pic_CXX"; then
13846
14658
 
13847
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13848
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13849
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13850
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14659
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
14660
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
14661
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
14662
  $as_echo_n "(cached) " >&6
13851
14663
else
13852
 
  lt_prog_compiler_pic_works_CXX=no
 
14664
  lt_cv_prog_compiler_pic_works_CXX=no
13853
14665
  ac_outfile=conftest.$ac_objext
13854
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14666
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13855
14667
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13856
14668
   # Insert the option either (1) after the last *FLAGS variable, or
13857
14669
   # (2) before a word containing "conftest.", or (3) at the end.
13862
14674
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13863
14675
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13864
14676
   -e 's:$: $lt_compiler_flag:'`
13865
 
   (eval echo "\"\$as_me:13865: $lt_compile\"" >&5)
 
14677
   (eval echo "\"\$as_me:14677: $lt_compile\"" >&5)
13866
14678
   (eval "$lt_compile" 2>conftest.err)
13867
14679
   ac_status=$?
13868
14680
   cat conftest.err >&5
13869
 
   echo "$as_me:13869: \$? = $ac_status" >&5
 
14681
   echo "$as_me:14681: \$? = $ac_status" >&5
13870
14682
   if (exit $ac_status) && test -s "$ac_outfile"; then
13871
14683
     # The compiler can only warn and ignore the option if not recognized
13872
14684
     # So say no if there are warnings other than the usual output.
13873
14685
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13874
14686
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13875
14687
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13876
 
       lt_prog_compiler_pic_works_CXX=yes
 
14688
       lt_cv_prog_compiler_pic_works_CXX=yes
13877
14689
     fi
13878
14690
   fi
13879
14691
   $rm conftest*
13880
14692
 
13881
14693
fi
13882
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13883
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
14694
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14695
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13884
14696
 
13885
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
14697
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13886
14698
    case $lt_prog_compiler_pic_CXX in
13887
14699
     "" | " "*) ;;
13888
14700
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13907
14719
# Check to make sure the static flag actually works.
13908
14720
#
13909
14721
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13910
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13911
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13912
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14722
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14723
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
14724
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
14725
  $as_echo_n "(cached) " >&6
13914
14726
else
13915
 
  lt_prog_compiler_static_works_CXX=no
 
14727
  lt_cv_prog_compiler_static_works_CXX=no
13916
14728
   save_LDFLAGS="$LDFLAGS"
13917
14729
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13918
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14730
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13919
14731
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13920
14732
     # The linker can only warn and ignore the option if not recognized
13921
14733
     # So say no if there are warnings
13925
14737
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13926
14738
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13927
14739
       if diff conftest.exp conftest.er2 >/dev/null; then
13928
 
         lt_prog_compiler_static_works_CXX=yes
 
14740
         lt_cv_prog_compiler_static_works_CXX=yes
13929
14741
       fi
13930
14742
     else
13931
 
       lt_prog_compiler_static_works_CXX=yes
 
14743
       lt_cv_prog_compiler_static_works_CXX=yes
13932
14744
     fi
13933
14745
   fi
13934
 
   $rm conftest*
 
14746
   $rm -r conftest*
13935
14747
   LDFLAGS="$save_LDFLAGS"
13936
14748
 
13937
14749
fi
13938
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13939
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
14750
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14751
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13940
14752
 
13941
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14753
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13942
14754
    :
13943
14755
else
13944
14756
    lt_prog_compiler_static_CXX=
13945
14757
fi
13946
14758
 
13947
14759
 
13948
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13949
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
14760
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14761
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13950
14762
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13951
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14763
  $as_echo_n "(cached) " >&6
13952
14764
else
13953
14765
  lt_cv_prog_compiler_c_o_CXX=no
13954
14766
   $rm -r conftest 2>/dev/null
13955
14767
   mkdir conftest
13956
14768
   cd conftest
13957
14769
   mkdir out
13958
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14770
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13959
14771
 
13960
14772
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13961
14773
   # Insert the option either (1) after the last *FLAGS variable, or
13966
14778
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13967
14779
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13968
14780
   -e 's:$: $lt_compiler_flag:'`
13969
 
   (eval echo "\"\$as_me:13969: $lt_compile\"" >&5)
 
14781
   (eval echo "\"\$as_me:14781: $lt_compile\"" >&5)
13970
14782
   (eval "$lt_compile" 2>out/conftest.err)
13971
14783
   ac_status=$?
13972
14784
   cat out/conftest.err >&5
13973
 
   echo "$as_me:13973: \$? = $ac_status" >&5
 
14785
   echo "$as_me:14785: \$? = $ac_status" >&5
13974
14786
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13975
14787
   then
13976
14788
     # The compiler can only warn and ignore the option if not recognized
13992
14804
   $rm conftest*
13993
14805
 
13994
14806
fi
13995
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13996
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14807
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14808
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13997
14809
 
13998
14810
 
13999
14811
hard_links="nottested"
14000
14812
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14001
14813
  # do not overwrite the value of need_locks provided by the user
14002
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14003
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
14814
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14815
$as_echo_n "checking if we can lock with hard links... " >&6; }
14004
14816
  hard_links=yes
14005
14817
  $rm conftest*
14006
14818
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14007
14819
  touch conftest.a
14008
14820
  ln conftest.a conftest.b 2>&5 || hard_links=no
14009
14821
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14010
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14011
 
echo "${ECHO_T}$hard_links" >&6; }
 
14822
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
14823
$as_echo "$hard_links" >&6; }
14012
14824
  if test "$hard_links" = no; then
14013
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14014
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14825
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14826
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14015
14827
    need_locks=warn
14016
14828
  fi
14017
14829
else
14018
14830
  need_locks=no
14019
14831
fi
14020
14832
 
14021
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14022
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
14833
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14834
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14023
14835
 
14024
14836
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14025
14837
  case $host_os in
14026
 
  aix4* | aix5*)
 
14838
  aix[4-9]*)
14027
14839
    # If we're using GNU nm, then we don't want the "-C" option.
14028
14840
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14029
14841
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14036
14848
    export_symbols_cmds_CXX="$ltdll_cmds"
14037
14849
  ;;
14038
14850
  cygwin* | mingw*)
14039
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14851
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14040
14852
  ;;
14041
14853
  *)
14042
14854
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14043
14855
  ;;
14044
14856
  esac
 
14857
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14045
14858
 
14046
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14047
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
 
14859
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
14860
$as_echo "$ld_shlibs_CXX" >&6; }
14048
14861
test "$ld_shlibs_CXX" = no && can_build_shared=no
14049
14862
 
14050
14863
#
14064
14877
      # Test whether the compiler implicitly links with -lc since on some
14065
14878
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14066
14879
      # to ld, don't add -lc before -lgcc.
14067
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14068
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
14880
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
14881
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14069
14882
      $rm conftest*
14070
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14883
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14071
14884
 
14072
14885
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14073
14886
  (eval $ac_compile) 2>&5
14074
14887
  ac_status=$?
14075
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14888
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076
14889
  (exit $ac_status); } 2>conftest.err; then
14077
14890
        soname=conftest
14078
14891
        lib=conftest
14090
14903
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14091
14904
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14092
14905
  ac_status=$?
14093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14906
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094
14907
  (exit $ac_status); }
14095
14908
        then
14096
14909
          archive_cmds_need_lc_CXX=no
14102
14915
        cat conftest.err 1>&5
14103
14916
      fi
14104
14917
      $rm conftest*
14105
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14106
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
 
14918
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
14919
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14107
14920
      ;;
14108
14921
    esac
14109
14922
  fi
14110
14923
  ;;
14111
14924
esac
14112
14925
 
14113
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14114
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
14926
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
14927
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14115
14928
library_names_spec=
14116
14929
libname_spec='lib$name'
14117
14930
soname_spec=
14125
14938
version_type=none
14126
14939
dynamic_linker="$host_os ld.so"
14127
14940
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128
 
if test "$GCC" = yes; then
14129
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14130
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14131
 
    # if the path contains ";" then we assume it to be the separator
14132
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14133
 
    # assumed that no part of a normal pathname contains ";" but that should
14134
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14135
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14136
 
  else
14137
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14138
 
  fi
14139
 
else
14140
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14141
 
fi
 
14941
 
14142
14942
need_lib_prefix=unknown
14143
14943
hardcode_into_libs=no
14144
14944
 
14156
14956
  soname_spec='${libname}${release}${shared_ext}$major'
14157
14957
  ;;
14158
14958
 
14159
 
aix4* | aix5*)
 
14959
aix[4-9]*)
14160
14960
  version_type=linux
14161
14961
  need_lib_prefix=no
14162
14962
  need_version=no
14295
15095
  shlibpath_overrides_runpath=yes
14296
15096
  shlibpath_var=DYLD_LIBRARY_PATH
14297
15097
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14298
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14299
 
  if test "$GCC" = yes; then
14300
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14301
 
  else
14302
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14303
 
  fi
 
15098
 
14304
15099
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14305
15100
  ;;
14306
15101
 
14317
15112
  dynamic_linker=no
14318
15113
  ;;
14319
15114
 
14320
 
kfreebsd*-gnu)
14321
 
  version_type=linux
14322
 
  need_lib_prefix=no
14323
 
  need_version=no
14324
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14325
 
  soname_spec='${libname}${release}${shared_ext}$major'
14326
 
  shlibpath_var=LD_LIBRARY_PATH
14327
 
  shlibpath_overrides_runpath=no
14328
 
  hardcode_into_libs=yes
14329
 
  dynamic_linker='GNU ld.so'
14330
 
  ;;
14331
 
 
14332
15115
freebsd* | dragonfly*)
14333
15116
  # DragonFly does not have aout.  When/if they implement a new
14334
15117
  # versioning mechanism, adjust this.
14366
15149
    shlibpath_overrides_runpath=no
14367
15150
    hardcode_into_libs=yes
14368
15151
    ;;
14369
 
  freebsd*) # from 4.6 on
 
15152
  *) # from 4.6 on, and DragonFly
14370
15153
    shlibpath_overrides_runpath=yes
14371
15154
    hardcode_into_libs=yes
14372
15155
    ;;
14429
15212
  postinstall_cmds='chmod 555 $lib'
14430
15213
  ;;
14431
15214
 
14432
 
interix3*)
 
15215
interix[3-9]*)
14433
15216
  version_type=linux
14434
15217
  need_lib_prefix=no
14435
15218
  need_version=no
14484
15267
  ;;
14485
15268
 
14486
15269
# This must be Linux ELF.
14487
 
linux*)
 
15270
linux* | k*bsd*-gnu)
14488
15271
  version_type=linux
14489
15272
  need_lib_prefix=no
14490
15273
  need_version=no
14497
15280
  # Some rework will be needed to allow for fast_install
14498
15281
  # before this can be enabled.
14499
15282
  hardcode_into_libs=yes
14500
 
 
14501
 
  # find out which ABI we are using
14502
 
  libsuff=
14503
 
  case "$host_cpu" in
14504
 
  x86_64*|s390x*|powerpc64*)
14505
 
    echo '#line 14505 "configure"' > conftest.$ac_ext
14506
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14507
 
  (eval $ac_compile) 2>&5
14508
 
  ac_status=$?
14509
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510
 
  (exit $ac_status); }; then
14511
 
      case `/usr/bin/file conftest.$ac_objext` in
14512
 
      *64-bit*)
14513
 
        libsuff=64
14514
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14515
 
        ;;
14516
 
      esac
14517
 
    fi
14518
 
    rm -rf conftest*
14519
 
    ;;
14520
 
  esac
 
15283
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
15284
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14521
15285
 
14522
15286
  # Append ld.so.conf contents to the search path
14523
15287
  if test -f /etc/ld.so.conf; then
14524
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14525
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
15288
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15289
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14526
15290
  fi
14527
15291
 
14528
15292
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14534
15298
  dynamic_linker='GNU/Linux ld.so'
14535
15299
  ;;
14536
15300
 
14537
 
knetbsd*-gnu)
14538
 
  version_type=linux
14539
 
  need_lib_prefix=no
14540
 
  need_version=no
14541
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14542
 
  soname_spec='${libname}${release}${shared_ext}$major'
14543
 
  shlibpath_var=LD_LIBRARY_PATH
14544
 
  shlibpath_overrides_runpath=no
14545
 
  hardcode_into_libs=yes
14546
 
  dynamic_linker='GNU ld.so'
14547
 
  ;;
14548
 
 
14549
15301
netbsd*)
14550
15302
  version_type=sunos
14551
15303
  need_lib_prefix=no
14627
15379
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14628
15380
  ;;
14629
15381
 
 
15382
rdos*)
 
15383
  dynamic_linker=no
 
15384
  ;;
 
15385
 
14630
15386
solaris*)
14631
15387
  version_type=linux
14632
15388
  need_lib_prefix=no
14719
15475
  dynamic_linker=no
14720
15476
  ;;
14721
15477
esac
14722
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14723
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
15478
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
15479
$as_echo "$dynamic_linker" >&6; }
14724
15480
test "$dynamic_linker" = no && can_build_shared=no
14725
15481
 
 
15482
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
15483
  $as_echo_n "(cached) " >&6
 
15484
else
 
15485
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
15486
fi
 
15487
 
 
15488
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
15489
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
15490
  $as_echo_n "(cached) " >&6
 
15491
else
 
15492
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
15493
fi
 
15494
 
 
15495
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
15496
 
14726
15497
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727
15498
if test "$GCC" = yes; then
14728
15499
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14729
15500
fi
14730
15501
 
14731
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14732
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
15502
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
15503
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14733
15504
hardcode_action_CXX=
14734
15505
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14735
15506
   test -n "$runpath_var_CXX" || \
14753
15524
  # directories.
14754
15525
  hardcode_action_CXX=unsupported
14755
15526
fi
14756
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14757
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
 
15527
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
15528
$as_echo "$hardcode_action_CXX" >&6; }
14758
15529
 
14759
15530
if test "$hardcode_action_CXX" = relink; then
14760
15531
  # Fast installation is not supported
14806
15577
    predeps_CXX \
14807
15578
    postdeps_CXX \
14808
15579
    compiler_lib_search_path_CXX \
 
15580
    compiler_lib_search_dirs_CXX \
14809
15581
    archive_cmds_CXX \
14810
15582
    archive_expsym_cmds_CXX \
14811
15583
    postinstall_cmds_CXX \
14821
15593
    module_cmds_CXX \
14822
15594
    module_expsym_cmds_CXX \
14823
15595
    lt_cv_prog_compiler_c_o_CXX \
 
15596
    fix_srcfile_path_CXX \
14824
15597
    exclude_expsyms_CXX \
14825
15598
    include_expsyms_CXX; do
14826
15599
 
15053
15826
# shared library.
15054
15827
postdeps=$lt_postdeps_CXX
15055
15828
 
 
15829
# The directories searched by this compiler when creating a shared
 
15830
# library
 
15831
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
15832
 
15056
15833
# The library search path used internally by the compiler when linking
15057
15834
# a shared library.
15058
15835
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15141
15918
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15142
15919
 
15143
15920
# Fix the shell variable \$srcfile for the compiler.
15144
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
15921
fix_srcfile_path=$lt_fix_srcfile_path
15145
15922
 
15146
15923
# Set to yes if exported symbols are required.
15147
15924
always_export_symbols=$always_export_symbols_CXX
15232
16009
objext_F77=$objext
15233
16010
 
15234
16011
# Code to be used in simple compile tests
15235
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
16012
lt_simple_compile_test_code="\
 
16013
      subroutine t
 
16014
      return
 
16015
      end
 
16016
"
15236
16017
 
15237
16018
# Code to be used in simple link tests
15238
 
lt_simple_link_test_code="      program t\n      end\n"
 
16019
lt_simple_link_test_code="\
 
16020
      program t
 
16021
      end
 
16022
"
15239
16023
 
15240
16024
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15241
16025
 
15251
16035
 
15252
16036
# save warnings/boilerplate of simple test code
15253
16037
ac_outfile=conftest.$ac_objext
15254
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16038
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15255
16039
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15256
16040
_lt_compiler_boilerplate=`cat conftest.err`
15257
16041
$rm conftest*
15258
16042
 
15259
16043
ac_outfile=conftest.$ac_objext
15260
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16044
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15261
16045
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15262
16046
_lt_linker_boilerplate=`cat conftest.err`
15263
 
$rm conftest*
 
16047
$rm -r conftest*
15264
16048
 
15265
16049
 
15266
16050
# Allow CC to be a program name with arguments.
15279
16063
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15280
16064
 
15281
16065
 
15282
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15283
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15284
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15285
 
echo "${ECHO_T}$can_build_shared" >&6; }
 
16066
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
16067
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
16068
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
16069
$as_echo "$can_build_shared" >&6; }
15286
16070
 
15287
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15288
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
 
16071
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
16072
$as_echo_n "checking whether to build shared libraries... " >&6; }
15289
16073
test "$can_build_shared" = "no" && enable_shared=no
15290
16074
 
15291
16075
# On AIX, shared libraries and static libraries use the same namespace, and
15298
16082
    postinstall_cmds='$RANLIB $lib'
15299
16083
  fi
15300
16084
  ;;
15301
 
aix4* | aix5*)
 
16085
aix[4-9]*)
15302
16086
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15303
16087
    test "$enable_shared" = yes && enable_static=no
15304
16088
  fi
15305
16089
  ;;
15306
16090
esac
15307
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15308
 
echo "${ECHO_T}$enable_shared" >&6; }
 
16091
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
16092
$as_echo "$enable_shared" >&6; }
15309
16093
 
15310
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15311
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
 
16094
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
16095
$as_echo_n "checking whether to build static libraries... " >&6; }
15312
16096
# Make sure either enable_shared or enable_static is yes.
15313
16097
test "$enable_shared" = yes || enable_static=yes
15314
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15315
 
echo "${ECHO_T}$enable_static" >&6; }
 
16098
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
16099
$as_echo "$enable_static" >&6; }
15316
16100
 
15317
16101
GCC_F77="$G77"
15318
16102
LD_F77="$LD"
15321
16105
lt_prog_compiler_pic_F77=
15322
16106
lt_prog_compiler_static_F77=
15323
16107
 
15324
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15325
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
16108
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16109
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15326
16110
 
15327
16111
  if test "$GCC" = yes; then
15328
16112
    lt_prog_compiler_wl_F77='-Wl,'
15344
16128
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15345
16129
      ;;
15346
16130
 
15347
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16131
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15348
16132
      # PIC is the default for these OSes.
15349
16133
      ;;
15350
16134
 
15351
 
    mingw* | pw32* | os2*)
 
16135
    mingw* | cygwin* | pw32* | os2*)
15352
16136
      # This hack is so that the source file can tell whether it is being
15353
16137
      # built for inclusion in a dll (and should export symbols for example).
 
16138
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16139
      # (--disable-auto-import) libraries
15354
16140
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15355
16141
      ;;
15356
16142
 
15360
16146
      lt_prog_compiler_pic_F77='-fno-common'
15361
16147
      ;;
15362
16148
 
15363
 
    interix3*)
 
16149
    interix[3-9]*)
15364
16150
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15365
16151
      # Instead, we relocate shared libraries at runtime.
15366
16152
      ;;
15418
16204
       esac
15419
16205
       ;;
15420
16206
 
15421
 
    mingw* | pw32* | os2*)
 
16207
    mingw* | cygwin* | pw32* | os2*)
15422
16208
      # This hack is so that the source file can tell whether it is being
15423
16209
      # built for inclusion in a dll (and should export symbols for example).
15424
16210
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15451
16237
      lt_prog_compiler_static_F77='-Bstatic'
15452
16238
      ;;
15453
16239
 
15454
 
    linux*)
 
16240
    linux* | k*bsd*-gnu)
15455
16241
      case $cc_basename in
15456
16242
      icc* | ecc*)
15457
16243
        lt_prog_compiler_wl_F77='-Wl,'
15470
16256
        # All Alpha code is PIC.
15471
16257
        lt_prog_compiler_static_F77='-non_shared'
15472
16258
        ;;
 
16259
      *)
 
16260
        case `$CC -V 2>&1 | sed 5q` in
 
16261
        *Sun\ C*)
 
16262
          # Sun C 5.9
 
16263
          lt_prog_compiler_pic_F77='-KPIC'
 
16264
          lt_prog_compiler_static_F77='-Bstatic'
 
16265
          lt_prog_compiler_wl_F77='-Wl,'
 
16266
          ;;
 
16267
        *Sun\ F*)
 
16268
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16269
          lt_prog_compiler_pic_F77='-KPIC'
 
16270
          lt_prog_compiler_static_F77='-Bstatic'
 
16271
          lt_prog_compiler_wl_F77=''
 
16272
          ;;
 
16273
        esac
 
16274
        ;;
15473
16275
      esac
15474
16276
      ;;
15475
16277
 
15479
16281
      lt_prog_compiler_static_F77='-non_shared'
15480
16282
      ;;
15481
16283
 
 
16284
    rdos*)
 
16285
      lt_prog_compiler_static_F77='-non_shared'
 
16286
      ;;
 
16287
 
15482
16288
    solaris*)
15483
16289
      lt_prog_compiler_pic_F77='-KPIC'
15484
16290
      lt_prog_compiler_static_F77='-Bstatic'
15531
16337
    esac
15532
16338
  fi
15533
16339
 
15534
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15535
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
 
16340
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
16341
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
15536
16342
 
15537
16343
#
15538
16344
# Check to make sure the PIC flag actually works.
15539
16345
#
15540
16346
if test -n "$lt_prog_compiler_pic_F77"; then
15541
16347
 
15542
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15543
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15544
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15545
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16348
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
16349
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 
16350
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 
16351
  $as_echo_n "(cached) " >&6
15546
16352
else
15547
 
  lt_prog_compiler_pic_works_F77=no
 
16353
  lt_cv_prog_compiler_pic_works_F77=no
15548
16354
  ac_outfile=conftest.$ac_objext
15549
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16355
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15550
16356
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15551
16357
   # Insert the option either (1) after the last *FLAGS variable, or
15552
16358
   # (2) before a word containing "conftest.", or (3) at the end.
15557
16363
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15558
16364
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15559
16365
   -e 's:$: $lt_compiler_flag:'`
15560
 
   (eval echo "\"\$as_me:15560: $lt_compile\"" >&5)
 
16366
   (eval echo "\"\$as_me:16366: $lt_compile\"" >&5)
15561
16367
   (eval "$lt_compile" 2>conftest.err)
15562
16368
   ac_status=$?
15563
16369
   cat conftest.err >&5
15564
 
   echo "$as_me:15564: \$? = $ac_status" >&5
 
16370
   echo "$as_me:16370: \$? = $ac_status" >&5
15565
16371
   if (exit $ac_status) && test -s "$ac_outfile"; then
15566
16372
     # The compiler can only warn and ignore the option if not recognized
15567
16373
     # So say no if there are warnings other than the usual output.
15568
16374
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15569
16375
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15570
16376
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15571
 
       lt_prog_compiler_pic_works_F77=yes
 
16377
       lt_cv_prog_compiler_pic_works_F77=yes
15572
16378
     fi
15573
16379
   fi
15574
16380
   $rm conftest*
15575
16381
 
15576
16382
fi
15577
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15578
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
16383
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
16384
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
15579
16385
 
15580
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
16386
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15581
16387
    case $lt_prog_compiler_pic_F77 in
15582
16388
     "" | " "*) ;;
15583
16389
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15602
16408
# Check to make sure the static flag actually works.
15603
16409
#
15604
16410
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15605
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15606
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15607
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15608
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16411
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16412
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
16413
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 
16414
  $as_echo_n "(cached) " >&6
15609
16415
else
15610
 
  lt_prog_compiler_static_works_F77=no
 
16416
  lt_cv_prog_compiler_static_works_F77=no
15611
16417
   save_LDFLAGS="$LDFLAGS"
15612
16418
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15613
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16419
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15614
16420
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15615
16421
     # The linker can only warn and ignore the option if not recognized
15616
16422
     # So say no if there are warnings
15620
16426
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15621
16427
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15622
16428
       if diff conftest.exp conftest.er2 >/dev/null; then
15623
 
         lt_prog_compiler_static_works_F77=yes
 
16429
         lt_cv_prog_compiler_static_works_F77=yes
15624
16430
       fi
15625
16431
     else
15626
 
       lt_prog_compiler_static_works_F77=yes
 
16432
       lt_cv_prog_compiler_static_works_F77=yes
15627
16433
     fi
15628
16434
   fi
15629
 
   $rm conftest*
 
16435
   $rm -r conftest*
15630
16436
   LDFLAGS="$save_LDFLAGS"
15631
16437
 
15632
16438
fi
15633
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15634
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
16439
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
16440
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
15635
16441
 
15636
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
16442
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15637
16443
    :
15638
16444
else
15639
16445
    lt_prog_compiler_static_F77=
15640
16446
fi
15641
16447
 
15642
16448
 
15643
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15644
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
16449
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16450
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15645
16451
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16452
  $as_echo_n "(cached) " >&6
15647
16453
else
15648
16454
  lt_cv_prog_compiler_c_o_F77=no
15649
16455
   $rm -r conftest 2>/dev/null
15650
16456
   mkdir conftest
15651
16457
   cd conftest
15652
16458
   mkdir out
15653
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16459
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15654
16460
 
15655
16461
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15656
16462
   # Insert the option either (1) after the last *FLAGS variable, or
15661
16467
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15662
16468
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15663
16469
   -e 's:$: $lt_compiler_flag:'`
15664
 
   (eval echo "\"\$as_me:15664: $lt_compile\"" >&5)
 
16470
   (eval echo "\"\$as_me:16470: $lt_compile\"" >&5)
15665
16471
   (eval "$lt_compile" 2>out/conftest.err)
15666
16472
   ac_status=$?
15667
16473
   cat out/conftest.err >&5
15668
 
   echo "$as_me:15668: \$? = $ac_status" >&5
 
16474
   echo "$as_me:16474: \$? = $ac_status" >&5
15669
16475
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15670
16476
   then
15671
16477
     # The compiler can only warn and ignore the option if not recognized
15687
16493
   $rm conftest*
15688
16494
 
15689
16495
fi
15690
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15691
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
 
16496
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
16497
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
15692
16498
 
15693
16499
 
15694
16500
hard_links="nottested"
15695
16501
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15696
16502
  # do not overwrite the value of need_locks provided by the user
15697
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15698
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
16503
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16504
$as_echo_n "checking if we can lock with hard links... " >&6; }
15699
16505
  hard_links=yes
15700
16506
  $rm conftest*
15701
16507
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15702
16508
  touch conftest.a
15703
16509
  ln conftest.a conftest.b 2>&5 || hard_links=no
15704
16510
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15705
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15706
 
echo "${ECHO_T}$hard_links" >&6; }
 
16511
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
16512
$as_echo "$hard_links" >&6; }
15707
16513
  if test "$hard_links" = no; then
15708
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15709
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
16514
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
16515
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15710
16516
    need_locks=warn
15711
16517
  fi
15712
16518
else
15713
16519
  need_locks=no
15714
16520
fi
15715
16521
 
15716
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15717
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
16522
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16523
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15718
16524
 
15719
16525
  runpath_var=
15720
16526
  allow_undefined_flag_F77=
15745
16551
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15746
16552
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15747
16553
  # as well as any symbol that contains `d'.
15748
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
16554
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15749
16555
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15750
16556
  # platforms (ab)use it in PIC code, but their linkers get confused if
15751
16557
  # the symbol is explicitly referenced.  Since portable code cannot
15752
16558
  # rely on this symbol name, it's probably fine to never include it in
15753
16559
  # preloaded symbol tables.
 
16560
  # Exclude shared library initialization/finalization symbols.
15754
16561
  extract_expsyms_cmds=
15755
16562
  # Just being paranoid about ensuring that cc_basename is set.
15756
16563
  for cc_temp in $compiler""; do
15809
16616
 
15810
16617
    # See if GNU ld supports shared libraries.
15811
16618
    case $host_os in
15812
 
    aix3* | aix4* | aix5*)
 
16619
    aix[3-9]*)
15813
16620
      # On AIX/PPC, the GNU linker is very broken
15814
16621
      if test "$host_cpu" != ia64; then
15815
16622
        ld_shlibs_F77=no
15857
16664
      allow_undefined_flag_F77=unsupported
15858
16665
      always_export_symbols_F77=no
15859
16666
      enable_shared_with_static_runtimes_F77=yes
15860
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
16667
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15861
16668
 
15862
16669
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15863
16670
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15875
16682
      fi
15876
16683
      ;;
15877
16684
 
15878
 
    interix3*)
 
16685
    interix[3-9]*)
15879
16686
      hardcode_direct_F77=no
15880
16687
      hardcode_shlibpath_var_F77=no
15881
16688
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15890
16697
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15891
16698
      ;;
15892
16699
 
15893
 
    linux*)
 
16700
    gnu* | linux* | k*bsd*-gnu)
15894
16701
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15895
16702
        tmp_addflag=
15896
16703
        case $cc_basename,$host_cpu in
15908
16715
        ifc* | ifort*)                  # Intel Fortran compiler
15909
16716
          tmp_addflag=' -nofor_main' ;;
15910
16717
        esac
15911
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16718
        case `$CC -V 2>&1 | sed 5q` in
 
16719
        *Sun\ C*)                       # Sun C 5.9
 
16720
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16721
          tmp_sharedflag='-G' ;;
 
16722
        *Sun\ F*)                       # Sun Fortran 8.3
 
16723
          tmp_sharedflag='-G' ;;
 
16724
        *)
 
16725
          tmp_sharedflag='-shared' ;;
 
16726
        esac
 
16727
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15912
16728
 
15913
16729
        if test $supports_anon_versioning = yes; then
15914
16730
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15915
16731
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15916
16732
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15917
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16733
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15918
16734
        fi
15919
16735
      else
15920
16736
        ld_shlibs_F77=no
16019
16835
      fi
16020
16836
      ;;
16021
16837
 
16022
 
    aix4* | aix5*)
 
16838
    aix[4-9]*)
16023
16839
      if test "$host_cpu" = ia64; then
16024
16840
        # On IA64, the linker does run time linking by default, so we don't
16025
16841
        # have to do anything special.
16039
16855
        # Test if we are trying to use run time linking or normal
16040
16856
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16041
16857
        # need to do runtime linking.
16042
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
16858
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16043
16859
          for ld_flag in $LDFLAGS; do
16044
16860
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16045
16861
            aix_use_runtimelinking=yes
16073
16889
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16074
16890
          then
16075
16891
          # We have reworked collect2
16076
 
          hardcode_direct_F77=yes
 
16892
          :
16077
16893
          else
16078
16894
          # We have old collect2
16079
16895
          hardcode_direct_F77=unsupported
16124
16940
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16125
16941
  *) ac_try_echo=$ac_try;;
16126
16942
esac
16127
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
16943
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16944
$as_echo "$ac_try_echo") >&5
16128
16945
  (eval "$ac_link") 2>conftest.er1
16129
16946
  ac_status=$?
16130
16947
  grep -v '^ *+' conftest.er1 >conftest.err
16131
16948
  rm -f conftest.er1
16132
16949
  cat conftest.err >&5
16133
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16950
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134
16951
  (exit $ac_status); } && {
16135
16952
         test -z "$ac_f77_werror_flag" ||
16136
16953
         test ! -s conftest.err
16137
 
       } && test -s conftest$ac_exeext &&
16138
 
       $as_test_x conftest$ac_exeext; then
 
16954
       } && test -s conftest$ac_exeext && {
 
16955
         test "$cross_compiling" = yes ||
 
16956
         $as_test_x conftest$ac_exeext
 
16957
       }; then
16139
16958
 
16140
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16141
 
}'`
 
16959
lt_aix_libpath_sed='
 
16960
    /Import File Strings/,/^$/ {
 
16961
        /^0/ {
 
16962
            s/^0  *\(.*\)$/\1/
 
16963
            p
 
16964
        }
 
16965
    }'
 
16966
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16142
16967
# Check for a 64-bit object if we didn't find anything.
16143
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16144
 
}'`; fi
 
16968
if test -z "$aix_libpath"; then
 
16969
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16970
fi
16145
16971
else
16146
 
  echo "$as_me: failed program was:" >&5
 
16972
  $as_echo "$as_me: failed program was:" >&5
16147
16973
sed 's/^/| /' conftest.$ac_ext >&5
16148
16974
 
16149
16975
 
16150
16976
fi
16151
16977
 
 
16978
rm -rf conftest.dSYM
16152
16979
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16153
16980
      conftest$ac_exeext conftest.$ac_ext
16154
16981
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16173
17000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16174
17001
  *) ac_try_echo=$ac_try;;
16175
17002
esac
16176
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17003
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17004
$as_echo "$ac_try_echo") >&5
16177
17005
  (eval "$ac_link") 2>conftest.er1
16178
17006
  ac_status=$?
16179
17007
  grep -v '^ *+' conftest.er1 >conftest.err
16180
17008
  rm -f conftest.er1
16181
17009
  cat conftest.err >&5
16182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17010
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183
17011
  (exit $ac_status); } && {
16184
17012
         test -z "$ac_f77_werror_flag" ||
16185
17013
         test ! -s conftest.err
16186
 
       } && test -s conftest$ac_exeext &&
16187
 
       $as_test_x conftest$ac_exeext; then
 
17014
       } && test -s conftest$ac_exeext && {
 
17015
         test "$cross_compiling" = yes ||
 
17016
         $as_test_x conftest$ac_exeext
 
17017
       }; then
16188
17018
 
16189
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16190
 
}'`
 
17019
lt_aix_libpath_sed='
 
17020
    /Import File Strings/,/^$/ {
 
17021
        /^0/ {
 
17022
            s/^0  *\(.*\)$/\1/
 
17023
            p
 
17024
        }
 
17025
    }'
 
17026
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16191
17027
# Check for a 64-bit object if we didn't find anything.
16192
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16193
 
}'`; fi
 
17028
if test -z "$aix_libpath"; then
 
17029
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17030
fi
16194
17031
else
16195
 
  echo "$as_me: failed program was:" >&5
 
17032
  $as_echo "$as_me: failed program was:" >&5
16196
17033
sed 's/^/| /' conftest.$ac_ext >&5
16197
17034
 
16198
17035
 
16199
17036
fi
16200
17037
 
 
17038
rm -rf conftest.dSYM
16201
17039
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16202
17040
      conftest$ac_exeext conftest.$ac_ext
16203
17041
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16244
17082
      # The linker will automatically build a .lib file if we build a DLL.
16245
17083
      old_archive_From_new_cmds_F77='true'
16246
17084
      # FIXME: Should let the user specify the lib program.
16247
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17085
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16248
17086
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16249
17087
      enable_shared_with_static_runtimes_F77=yes
16250
17088
      ;;
16277
17115
      link_all_deplibs_F77=yes
16278
17116
    if test "$GCC" = yes ; then
16279
17117
        output_verbose_link_cmd='echo'
16280
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16281
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16282
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16283
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16284
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17118
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
17119
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17120
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
17121
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16285
17122
    else
16286
17123
      case $cc_basename in
16287
17124
        xlc*)
16288
17125
         output_verbose_link_cmd='echo'
16289
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17126
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16290
17127
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16291
17128
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16292
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17129
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16293
17130
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16294
17131
          ;;
16295
17132
       *)
16329
17166
      ;;
16330
17167
 
16331
17168
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16332
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17169
    freebsd* | dragonfly*)
16333
17170
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16334
17171
      hardcode_libdir_flag_spec_F77='-R$libdir'
16335
17172
      hardcode_direct_F77=yes
16451
17288
      ;;
16452
17289
 
16453
17290
    openbsd*)
16454
 
      hardcode_direct_F77=yes
16455
 
      hardcode_shlibpath_var_F77=no
16456
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16457
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16458
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16459
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16460
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
17291
      if test -f /usr/libexec/ld.so; then
 
17292
        hardcode_direct_F77=yes
 
17293
        hardcode_shlibpath_var_F77=no
 
17294
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17295
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17296
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17297
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17298
          export_dynamic_flag_spec_F77='${wl}-E'
 
17299
        else
 
17300
          case $host_os in
 
17301
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17302
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17303
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
17304
             ;;
 
17305
           *)
 
17306
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17307
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17308
             ;;
 
17309
          esac
 
17310
        fi
16461
17311
      else
16462
 
       case $host_os in
16463
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16464
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16465
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
16466
 
           ;;
16467
 
         *)
16468
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16469
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16470
 
           ;;
16471
 
       esac
 
17312
        ld_shlibs_F77=no
16472
17313
      fi
16473
17314
      ;;
16474
17315
 
16527
17368
      case $host_os in
16528
17369
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16529
17370
      *)
16530
 
        # The compiler driver will combine linker options so we
16531
 
        # cannot just pass the convience library names through
16532
 
        # without $wl, iff we do not link with $LD.
16533
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17371
        # The compiler driver will combine and reorder linker options,
 
17372
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17373
        # but is careful enough not to reorder.
16534
17374
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16535
 
        case $wlarc in
16536
 
        '')
16537
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16538
 
        *)
16539
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16540
 
        esac ;;
 
17375
        if test "$GCC" = yes; then
 
17376
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17377
        else
 
17378
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
17379
        fi
 
17380
        ;;
16541
17381
      esac
16542
17382
      link_all_deplibs_F77=yes
16543
17383
      ;;
16594
17434
      fi
16595
17435
      ;;
16596
17436
 
16597
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17437
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16598
17438
      no_undefined_flag_F77='${wl}-z,text'
16599
17439
      archive_cmds_need_lc_F77=no
16600
17440
      hardcode_shlibpath_var_F77=no
16647
17487
    esac
16648
17488
  fi
16649
17489
 
16650
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16651
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
 
17490
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
17491
$as_echo "$ld_shlibs_F77" >&6; }
16652
17492
test "$ld_shlibs_F77" = no && can_build_shared=no
16653
17493
 
16654
17494
#
16668
17508
      # Test whether the compiler implicitly links with -lc since on some
16669
17509
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16670
17510
      # to ld, don't add -lc before -lgcc.
16671
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16672
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
17511
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
17512
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16673
17513
      $rm conftest*
16674
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17514
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16675
17515
 
16676
17516
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677
17517
  (eval $ac_compile) 2>&5
16678
17518
  ac_status=$?
16679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17519
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680
17520
  (exit $ac_status); } 2>conftest.err; then
16681
17521
        soname=conftest
16682
17522
        lib=conftest
16694
17534
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16695
17535
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16696
17536
  ac_status=$?
16697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17537
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698
17538
  (exit $ac_status); }
16699
17539
        then
16700
17540
          archive_cmds_need_lc_F77=no
16706
17546
        cat conftest.err 1>&5
16707
17547
      fi
16708
17548
      $rm conftest*
16709
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16710
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
 
17549
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
17550
$as_echo "$archive_cmds_need_lc_F77" >&6; }
16711
17551
      ;;
16712
17552
    esac
16713
17553
  fi
16714
17554
  ;;
16715
17555
esac
16716
17556
 
16717
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16718
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
17557
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
17558
$as_echo_n "checking dynamic linker characteristics... " >&6; }
16719
17559
library_names_spec=
16720
17560
libname_spec='lib$name'
16721
17561
soname_spec=
16729
17569
version_type=none
16730
17570
dynamic_linker="$host_os ld.so"
16731
17571
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16732
 
if test "$GCC" = yes; then
16733
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16734
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16735
 
    # if the path contains ";" then we assume it to be the separator
16736
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16737
 
    # assumed that no part of a normal pathname contains ";" but that should
16738
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16739
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16740
 
  else
16741
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16742
 
  fi
16743
 
else
16744
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16745
 
fi
 
17572
 
16746
17573
need_lib_prefix=unknown
16747
17574
hardcode_into_libs=no
16748
17575
 
16760
17587
  soname_spec='${libname}${release}${shared_ext}$major'
16761
17588
  ;;
16762
17589
 
16763
 
aix4* | aix5*)
 
17590
aix[4-9]*)
16764
17591
  version_type=linux
16765
17592
  need_lib_prefix=no
16766
17593
  need_version=no
16899
17726
  shlibpath_overrides_runpath=yes
16900
17727
  shlibpath_var=DYLD_LIBRARY_PATH
16901
17728
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16902
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16903
 
  if test "$GCC" = yes; then
16904
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16905
 
  else
16906
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16907
 
  fi
 
17729
 
16908
17730
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16909
17731
  ;;
16910
17732
 
16921
17743
  dynamic_linker=no
16922
17744
  ;;
16923
17745
 
16924
 
kfreebsd*-gnu)
16925
 
  version_type=linux
16926
 
  need_lib_prefix=no
16927
 
  need_version=no
16928
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16929
 
  soname_spec='${libname}${release}${shared_ext}$major'
16930
 
  shlibpath_var=LD_LIBRARY_PATH
16931
 
  shlibpath_overrides_runpath=no
16932
 
  hardcode_into_libs=yes
16933
 
  dynamic_linker='GNU ld.so'
16934
 
  ;;
16935
 
 
16936
17746
freebsd* | dragonfly*)
16937
17747
  # DragonFly does not have aout.  When/if they implement a new
16938
17748
  # versioning mechanism, adjust this.
16970
17780
    shlibpath_overrides_runpath=no
16971
17781
    hardcode_into_libs=yes
16972
17782
    ;;
16973
 
  freebsd*) # from 4.6 on
 
17783
  *) # from 4.6 on, and DragonFly
16974
17784
    shlibpath_overrides_runpath=yes
16975
17785
    hardcode_into_libs=yes
16976
17786
    ;;
17033
17843
  postinstall_cmds='chmod 555 $lib'
17034
17844
  ;;
17035
17845
 
17036
 
interix3*)
 
17846
interix[3-9]*)
17037
17847
  version_type=linux
17038
17848
  need_lib_prefix=no
17039
17849
  need_version=no
17088
17898
  ;;
17089
17899
 
17090
17900
# This must be Linux ELF.
17091
 
linux*)
 
17901
linux* | k*bsd*-gnu)
17092
17902
  version_type=linux
17093
17903
  need_lib_prefix=no
17094
17904
  need_version=no
17101
17911
  # Some rework will be needed to allow for fast_install
17102
17912
  # before this can be enabled.
17103
17913
  hardcode_into_libs=yes
17104
 
 
17105
 
  # find out which ABI we are using
17106
 
  libsuff=
17107
 
  case "$host_cpu" in
17108
 
  x86_64*|s390x*|powerpc64*)
17109
 
    echo '#line 17109 "configure"' > conftest.$ac_ext
17110
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17111
 
  (eval $ac_compile) 2>&5
17112
 
  ac_status=$?
17113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114
 
  (exit $ac_status); }; then
17115
 
      case `/usr/bin/file conftest.$ac_objext` in
17116
 
      *64-bit*)
17117
 
        libsuff=64
17118
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17119
 
        ;;
17120
 
      esac
17121
 
    fi
17122
 
    rm -rf conftest*
17123
 
    ;;
17124
 
  esac
 
17914
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
17915
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17125
17916
 
17126
17917
  # Append ld.so.conf contents to the search path
17127
17918
  if test -f /etc/ld.so.conf; then
17128
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17129
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
17919
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
17920
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17130
17921
  fi
17131
17922
 
17132
17923
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17138
17929
  dynamic_linker='GNU/Linux ld.so'
17139
17930
  ;;
17140
17931
 
17141
 
knetbsd*-gnu)
17142
 
  version_type=linux
17143
 
  need_lib_prefix=no
17144
 
  need_version=no
17145
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17146
 
  soname_spec='${libname}${release}${shared_ext}$major'
17147
 
  shlibpath_var=LD_LIBRARY_PATH
17148
 
  shlibpath_overrides_runpath=no
17149
 
  hardcode_into_libs=yes
17150
 
  dynamic_linker='GNU ld.so'
17151
 
  ;;
17152
 
 
17153
17932
netbsd*)
17154
17933
  version_type=sunos
17155
17934
  need_lib_prefix=no
17231
18010
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17232
18011
  ;;
17233
18012
 
 
18013
rdos*)
 
18014
  dynamic_linker=no
 
18015
  ;;
 
18016
 
17234
18017
solaris*)
17235
18018
  version_type=linux
17236
18019
  need_lib_prefix=no
17323
18106
  dynamic_linker=no
17324
18107
  ;;
17325
18108
esac
17326
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17327
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
18109
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18110
$as_echo "$dynamic_linker" >&6; }
17328
18111
test "$dynamic_linker" = no && can_build_shared=no
17329
18112
 
 
18113
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18114
  $as_echo_n "(cached) " >&6
 
18115
else
 
18116
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18117
fi
 
18118
 
 
18119
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18120
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18121
  $as_echo_n "(cached) " >&6
 
18122
else
 
18123
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18124
fi
 
18125
 
 
18126
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18127
 
17330
18128
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17331
18129
if test "$GCC" = yes; then
17332
18130
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17333
18131
fi
17334
18132
 
17335
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17336
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
18133
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18134
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17337
18135
hardcode_action_F77=
17338
18136
if test -n "$hardcode_libdir_flag_spec_F77" || \
17339
18137
   test -n "$runpath_var_F77" || \
17357
18155
  # directories.
17358
18156
  hardcode_action_F77=unsupported
17359
18157
fi
17360
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17361
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
 
18158
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
18159
$as_echo "$hardcode_action_F77" >&6; }
17362
18160
 
17363
18161
if test "$hardcode_action_F77" = relink; then
17364
18162
  # Fast installation is not supported
17410
18208
    predeps_F77 \
17411
18209
    postdeps_F77 \
17412
18210
    compiler_lib_search_path_F77 \
 
18211
    compiler_lib_search_dirs_F77 \
17413
18212
    archive_cmds_F77 \
17414
18213
    archive_expsym_cmds_F77 \
17415
18214
    postinstall_cmds_F77 \
17425
18224
    module_cmds_F77 \
17426
18225
    module_expsym_cmds_F77 \
17427
18226
    lt_cv_prog_compiler_c_o_F77 \
 
18227
    fix_srcfile_path_F77 \
17428
18228
    exclude_expsyms_F77 \
17429
18229
    include_expsyms_F77; do
17430
18230
 
17657
18457
# shared library.
17658
18458
postdeps=$lt_postdeps_F77
17659
18459
 
 
18460
# The directories searched by this compiler when creating a shared
 
18461
# library
 
18462
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
18463
 
17660
18464
# The library search path used internally by the compiler when linking
17661
18465
# a shared library.
17662
18466
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17745
18549
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17746
18550
 
17747
18551
# Fix the shell variable \$srcfile for the compiler.
17748
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
18552
fix_srcfile_path=$lt_fix_srcfile_path
17749
18553
 
17750
18554
# Set to yes if exported symbols are required.
17751
18555
always_export_symbols=$always_export_symbols_F77
17803
18607
objext_GCJ=$objext
17804
18608
 
17805
18609
# Code to be used in simple compile tests
17806
 
lt_simple_compile_test_code="class foo {}\n"
 
18610
lt_simple_compile_test_code="class foo {}"
17807
18611
 
17808
18612
# Code to be used in simple link tests
17809
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
18613
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17810
18614
 
17811
18615
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17812
18616
 
17822
18626
 
17823
18627
# save warnings/boilerplate of simple test code
17824
18628
ac_outfile=conftest.$ac_objext
17825
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18629
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17826
18630
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17827
18631
_lt_compiler_boilerplate=`cat conftest.err`
17828
18632
$rm conftest*
17829
18633
 
17830
18634
ac_outfile=conftest.$ac_objext
17831
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18635
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17832
18636
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17833
18637
_lt_linker_boilerplate=`cat conftest.err`
17834
 
$rm conftest*
 
18638
$rm -r conftest*
17835
18639
 
17836
18640
 
17837
18641
# Allow CC to be a program name with arguments.
17862
18666
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17863
18667
 
17864
18668
 
17865
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17866
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
18669
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
18670
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17867
18671
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18672
  $as_echo_n "(cached) " >&6
17869
18673
else
17870
18674
  lt_cv_prog_compiler_rtti_exceptions=no
17871
18675
  ac_outfile=conftest.$ac_objext
17872
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18676
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17873
18677
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17874
18678
   # Insert the option either (1) after the last *FLAGS variable, or
17875
18679
   # (2) before a word containing "conftest.", or (3) at the end.
17880
18684
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17881
18685
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17882
18686
   -e 's:$: $lt_compiler_flag:'`
17883
 
   (eval echo "\"\$as_me:17883: $lt_compile\"" >&5)
 
18687
   (eval echo "\"\$as_me:18687: $lt_compile\"" >&5)
17884
18688
   (eval "$lt_compile" 2>conftest.err)
17885
18689
   ac_status=$?
17886
18690
   cat conftest.err >&5
17887
 
   echo "$as_me:17887: \$? = $ac_status" >&5
 
18691
   echo "$as_me:18691: \$? = $ac_status" >&5
17888
18692
   if (exit $ac_status) && test -s "$ac_outfile"; then
17889
18693
     # The compiler can only warn and ignore the option if not recognized
17890
18694
     # So say no if there are warnings other than the usual output.
17897
18701
   $rm conftest*
17898
18702
 
17899
18703
fi
17900
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17901
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
18704
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
18705
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17902
18706
 
17903
18707
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17904
18708
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17912
18716
lt_prog_compiler_pic_GCJ=
17913
18717
lt_prog_compiler_static_GCJ=
17914
18718
 
17915
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17916
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
18719
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
18720
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17917
18721
 
17918
18722
  if test "$GCC" = yes; then
17919
18723
    lt_prog_compiler_wl_GCJ='-Wl,'
17935
18739
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17936
18740
      ;;
17937
18741
 
17938
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
18742
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17939
18743
      # PIC is the default for these OSes.
17940
18744
      ;;
17941
18745
 
17942
 
    mingw* | pw32* | os2*)
 
18746
    mingw* | cygwin* | pw32* | os2*)
17943
18747
      # This hack is so that the source file can tell whether it is being
17944
18748
      # built for inclusion in a dll (and should export symbols for example).
17945
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18749
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
18750
      # (--disable-auto-import) libraries
 
18751
 
17946
18752
      ;;
17947
18753
 
17948
18754
    darwin* | rhapsody*)
17951
18757
      lt_prog_compiler_pic_GCJ='-fno-common'
17952
18758
      ;;
17953
18759
 
17954
 
    interix3*)
 
18760
    interix[3-9]*)
17955
18761
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17956
18762
      # Instead, we relocate shared libraries at runtime.
17957
18763
      ;;
18009
18815
       esac
18010
18816
       ;;
18011
18817
 
18012
 
    mingw* | pw32* | os2*)
 
18818
    mingw* | cygwin* | pw32* | os2*)
18013
18819
      # This hack is so that the source file can tell whether it is being
18014
18820
      # built for inclusion in a dll (and should export symbols for example).
18015
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18821
 
18016
18822
      ;;
18017
18823
 
18018
18824
    hpux9* | hpux10* | hpux11*)
18042
18848
      lt_prog_compiler_static_GCJ='-Bstatic'
18043
18849
      ;;
18044
18850
 
18045
 
    linux*)
 
18851
    linux* | k*bsd*-gnu)
18046
18852
      case $cc_basename in
18047
18853
      icc* | ecc*)
18048
18854
        lt_prog_compiler_wl_GCJ='-Wl,'
18061
18867
        # All Alpha code is PIC.
18062
18868
        lt_prog_compiler_static_GCJ='-non_shared'
18063
18869
        ;;
 
18870
      *)
 
18871
        case `$CC -V 2>&1 | sed 5q` in
 
18872
        *Sun\ C*)
 
18873
          # Sun C 5.9
 
18874
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18875
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18876
          lt_prog_compiler_wl_GCJ='-Wl,'
 
18877
          ;;
 
18878
        *Sun\ F*)
 
18879
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18880
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18881
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18882
          lt_prog_compiler_wl_GCJ=''
 
18883
          ;;
 
18884
        esac
 
18885
        ;;
18064
18886
      esac
18065
18887
      ;;
18066
18888
 
18070
18892
      lt_prog_compiler_static_GCJ='-non_shared'
18071
18893
      ;;
18072
18894
 
 
18895
    rdos*)
 
18896
      lt_prog_compiler_static_GCJ='-non_shared'
 
18897
      ;;
 
18898
 
18073
18899
    solaris*)
18074
18900
      lt_prog_compiler_pic_GCJ='-KPIC'
18075
18901
      lt_prog_compiler_static_GCJ='-Bstatic'
18122
18948
    esac
18123
18949
  fi
18124
18950
 
18125
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18126
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
 
18951
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
18952
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
18127
18953
 
18128
18954
#
18129
18955
# Check to make sure the PIC flag actually works.
18130
18956
#
18131
18957
if test -n "$lt_prog_compiler_pic_GCJ"; then
18132
18958
 
18133
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18134
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18135
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18136
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18959
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
18960
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 
18961
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 
18962
  $as_echo_n "(cached) " >&6
18137
18963
else
18138
 
  lt_prog_compiler_pic_works_GCJ=no
 
18964
  lt_cv_prog_compiler_pic_works_GCJ=no
18139
18965
  ac_outfile=conftest.$ac_objext
18140
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18966
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18141
18967
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18142
18968
   # Insert the option either (1) after the last *FLAGS variable, or
18143
18969
   # (2) before a word containing "conftest.", or (3) at the end.
18148
18974
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18149
18975
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18150
18976
   -e 's:$: $lt_compiler_flag:'`
18151
 
   (eval echo "\"\$as_me:18151: $lt_compile\"" >&5)
 
18977
   (eval echo "\"\$as_me:18977: $lt_compile\"" >&5)
18152
18978
   (eval "$lt_compile" 2>conftest.err)
18153
18979
   ac_status=$?
18154
18980
   cat conftest.err >&5
18155
 
   echo "$as_me:18155: \$? = $ac_status" >&5
 
18981
   echo "$as_me:18981: \$? = $ac_status" >&5
18156
18982
   if (exit $ac_status) && test -s "$ac_outfile"; then
18157
18983
     # The compiler can only warn and ignore the option if not recognized
18158
18984
     # So say no if there are warnings other than the usual output.
18159
18985
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18160
18986
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18161
18987
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18162
 
       lt_prog_compiler_pic_works_GCJ=yes
 
18988
       lt_cv_prog_compiler_pic_works_GCJ=yes
18163
18989
     fi
18164
18990
   fi
18165
18991
   $rm conftest*
18166
18992
 
18167
18993
fi
18168
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18169
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
18994
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
18995
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18170
18996
 
18171
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
18997
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18172
18998
    case $lt_prog_compiler_pic_GCJ in
18173
18999
     "" | " "*) ;;
18174
19000
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18193
19019
# Check to make sure the static flag actually works.
18194
19020
#
18195
19021
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18196
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18197
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18198
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18199
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19022
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
19023
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
19024
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 
19025
  $as_echo_n "(cached) " >&6
18200
19026
else
18201
 
  lt_prog_compiler_static_works_GCJ=no
 
19027
  lt_cv_prog_compiler_static_works_GCJ=no
18202
19028
   save_LDFLAGS="$LDFLAGS"
18203
19029
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18204
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
19030
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18205
19031
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18206
19032
     # The linker can only warn and ignore the option if not recognized
18207
19033
     # So say no if there are warnings
18211
19037
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18212
19038
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18213
19039
       if diff conftest.exp conftest.er2 >/dev/null; then
18214
 
         lt_prog_compiler_static_works_GCJ=yes
 
19040
         lt_cv_prog_compiler_static_works_GCJ=yes
18215
19041
       fi
18216
19042
     else
18217
 
       lt_prog_compiler_static_works_GCJ=yes
 
19043
       lt_cv_prog_compiler_static_works_GCJ=yes
18218
19044
     fi
18219
19045
   fi
18220
 
   $rm conftest*
 
19046
   $rm -r conftest*
18221
19047
   LDFLAGS="$save_LDFLAGS"
18222
19048
 
18223
19049
fi
18224
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18225
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
19050
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
19051
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18226
19052
 
18227
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
19053
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18228
19054
    :
18229
19055
else
18230
19056
    lt_prog_compiler_static_GCJ=
18231
19057
fi
18232
19058
 
18233
19059
 
18234
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18235
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
 
19060
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
19061
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18236
19062
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18237
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19063
  $as_echo_n "(cached) " >&6
18238
19064
else
18239
19065
  lt_cv_prog_compiler_c_o_GCJ=no
18240
19066
   $rm -r conftest 2>/dev/null
18241
19067
   mkdir conftest
18242
19068
   cd conftest
18243
19069
   mkdir out
18244
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19070
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18245
19071
 
18246
19072
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18247
19073
   # Insert the option either (1) after the last *FLAGS variable, or
18252
19078
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18253
19079
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18254
19080
   -e 's:$: $lt_compiler_flag:'`
18255
 
   (eval echo "\"\$as_me:18255: $lt_compile\"" >&5)
 
19081
   (eval echo "\"\$as_me:19081: $lt_compile\"" >&5)
18256
19082
   (eval "$lt_compile" 2>out/conftest.err)
18257
19083
   ac_status=$?
18258
19084
   cat out/conftest.err >&5
18259
 
   echo "$as_me:18259: \$? = $ac_status" >&5
 
19085
   echo "$as_me:19085: \$? = $ac_status" >&5
18260
19086
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18261
19087
   then
18262
19088
     # The compiler can only warn and ignore the option if not recognized
18278
19104
   $rm conftest*
18279
19105
 
18280
19106
fi
18281
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18282
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 
19107
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
19108
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18283
19109
 
18284
19110
 
18285
19111
hard_links="nottested"
18286
19112
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18287
19113
  # do not overwrite the value of need_locks provided by the user
18288
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18289
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
19114
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
19115
$as_echo_n "checking if we can lock with hard links... " >&6; }
18290
19116
  hard_links=yes
18291
19117
  $rm conftest*
18292
19118
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18293
19119
  touch conftest.a
18294
19120
  ln conftest.a conftest.b 2>&5 || hard_links=no
18295
19121
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18296
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18297
 
echo "${ECHO_T}$hard_links" >&6; }
 
19122
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
19123
$as_echo "$hard_links" >&6; }
18298
19124
  if test "$hard_links" = no; then
18299
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18300
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
19125
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
19126
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18301
19127
    need_locks=warn
18302
19128
  fi
18303
19129
else
18304
19130
  need_locks=no
18305
19131
fi
18306
19132
 
18307
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18308
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
19133
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
19134
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18309
19135
 
18310
19136
  runpath_var=
18311
19137
  allow_undefined_flag_GCJ=
18336
19162
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18337
19163
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18338
19164
  # as well as any symbol that contains `d'.
18339
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
19165
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18340
19166
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18341
19167
  # platforms (ab)use it in PIC code, but their linkers get confused if
18342
19168
  # the symbol is explicitly referenced.  Since portable code cannot
18343
19169
  # rely on this symbol name, it's probably fine to never include it in
18344
19170
  # preloaded symbol tables.
 
19171
  # Exclude shared library initialization/finalization symbols.
18345
19172
  extract_expsyms_cmds=
18346
19173
  # Just being paranoid about ensuring that cc_basename is set.
18347
19174
  for cc_temp in $compiler""; do
18400
19227
 
18401
19228
    # See if GNU ld supports shared libraries.
18402
19229
    case $host_os in
18403
 
    aix3* | aix4* | aix5*)
 
19230
    aix[3-9]*)
18404
19231
      # On AIX/PPC, the GNU linker is very broken
18405
19232
      if test "$host_cpu" != ia64; then
18406
19233
        ld_shlibs_GCJ=no
18448
19275
      allow_undefined_flag_GCJ=unsupported
18449
19276
      always_export_symbols_GCJ=no
18450
19277
      enable_shared_with_static_runtimes_GCJ=yes
18451
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
19278
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18452
19279
 
18453
19280
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18454
19281
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18466
19293
      fi
18467
19294
      ;;
18468
19295
 
18469
 
    interix3*)
 
19296
    interix[3-9]*)
18470
19297
      hardcode_direct_GCJ=no
18471
19298
      hardcode_shlibpath_var_GCJ=no
18472
19299
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18481
19308
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18482
19309
      ;;
18483
19310
 
18484
 
    linux*)
 
19311
    gnu* | linux* | k*bsd*-gnu)
18485
19312
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18486
19313
        tmp_addflag=
18487
19314
        case $cc_basename,$host_cpu in
18499
19326
        ifc* | ifort*)                  # Intel Fortran compiler
18500
19327
          tmp_addflag=' -nofor_main' ;;
18501
19328
        esac
18502
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19329
        case `$CC -V 2>&1 | sed 5q` in
 
19330
        *Sun\ C*)                       # Sun C 5.9
 
19331
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
19332
          tmp_sharedflag='-G' ;;
 
19333
        *Sun\ F*)                       # Sun Fortran 8.3
 
19334
          tmp_sharedflag='-G' ;;
 
19335
        *)
 
19336
          tmp_sharedflag='-shared' ;;
 
19337
        esac
 
19338
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18503
19339
 
18504
19340
        if test $supports_anon_versioning = yes; then
18505
19341
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18506
19342
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18507
19343
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18508
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
19344
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18509
19345
        fi
18510
19346
      else
18511
19347
        ld_shlibs_GCJ=no
18610
19446
      fi
18611
19447
      ;;
18612
19448
 
18613
 
    aix4* | aix5*)
 
19449
    aix[4-9]*)
18614
19450
      if test "$host_cpu" = ia64; then
18615
19451
        # On IA64, the linker does run time linking by default, so we don't
18616
19452
        # have to do anything special.
18630
19466
        # Test if we are trying to use run time linking or normal
18631
19467
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18632
19468
        # need to do runtime linking.
18633
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
19469
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18634
19470
          for ld_flag in $LDFLAGS; do
18635
19471
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18636
19472
            aix_use_runtimelinking=yes
18664
19500
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18665
19501
          then
18666
19502
          # We have reworked collect2
18667
 
          hardcode_direct_GCJ=yes
 
19503
          :
18668
19504
          else
18669
19505
          # We have old collect2
18670
19506
          hardcode_direct_GCJ=unsupported
18725
19561
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18726
19562
  *) ac_try_echo=$ac_try;;
18727
19563
esac
18728
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19564
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19565
$as_echo "$ac_try_echo") >&5
18729
19566
  (eval "$ac_link") 2>conftest.er1
18730
19567
  ac_status=$?
18731
19568
  grep -v '^ *+' conftest.er1 >conftest.err
18732
19569
  rm -f conftest.er1
18733
19570
  cat conftest.err >&5
18734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19571
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735
19572
  (exit $ac_status); } && {
18736
19573
         test -z "$ac_c_werror_flag" ||
18737
19574
         test ! -s conftest.err
18738
 
       } && test -s conftest$ac_exeext &&
18739
 
       $as_test_x conftest$ac_exeext; then
 
19575
       } && test -s conftest$ac_exeext && {
 
19576
         test "$cross_compiling" = yes ||
 
19577
         $as_test_x conftest$ac_exeext
 
19578
       }; then
18740
19579
 
18741
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18742
 
}'`
 
19580
lt_aix_libpath_sed='
 
19581
    /Import File Strings/,/^$/ {
 
19582
        /^0/ {
 
19583
            s/^0  *\(.*\)$/\1/
 
19584
            p
 
19585
        }
 
19586
    }'
 
19587
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18743
19588
# Check for a 64-bit object if we didn't find anything.
18744
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18745
 
}'`; fi
 
19589
if test -z "$aix_libpath"; then
 
19590
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19591
fi
18746
19592
else
18747
 
  echo "$as_me: failed program was:" >&5
 
19593
  $as_echo "$as_me: failed program was:" >&5
18748
19594
sed 's/^/| /' conftest.$ac_ext >&5
18749
19595
 
18750
19596
 
18751
19597
fi
18752
19598
 
 
19599
rm -rf conftest.dSYM
18753
19600
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18754
19601
      conftest$ac_exeext conftest.$ac_ext
18755
19602
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18784
19631
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18785
19632
  *) ac_try_echo=$ac_try;;
18786
19633
esac
18787
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
19634
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19635
$as_echo "$ac_try_echo") >&5
18788
19636
  (eval "$ac_link") 2>conftest.er1
18789
19637
  ac_status=$?
18790
19638
  grep -v '^ *+' conftest.er1 >conftest.err
18791
19639
  rm -f conftest.er1
18792
19640
  cat conftest.err >&5
18793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19641
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794
19642
  (exit $ac_status); } && {
18795
19643
         test -z "$ac_c_werror_flag" ||
18796
19644
         test ! -s conftest.err
18797
 
       } && test -s conftest$ac_exeext &&
18798
 
       $as_test_x conftest$ac_exeext; then
 
19645
       } && test -s conftest$ac_exeext && {
 
19646
         test "$cross_compiling" = yes ||
 
19647
         $as_test_x conftest$ac_exeext
 
19648
       }; then
18799
19649
 
18800
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18801
 
}'`
 
19650
lt_aix_libpath_sed='
 
19651
    /Import File Strings/,/^$/ {
 
19652
        /^0/ {
 
19653
            s/^0  *\(.*\)$/\1/
 
19654
            p
 
19655
        }
 
19656
    }'
 
19657
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18802
19658
# Check for a 64-bit object if we didn't find anything.
18803
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18804
 
}'`; fi
 
19659
if test -z "$aix_libpath"; then
 
19660
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19661
fi
18805
19662
else
18806
 
  echo "$as_me: failed program was:" >&5
 
19663
  $as_echo "$as_me: failed program was:" >&5
18807
19664
sed 's/^/| /' conftest.$ac_ext >&5
18808
19665
 
18809
19666
 
18810
19667
fi
18811
19668
 
 
19669
rm -rf conftest.dSYM
18812
19670
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18813
19671
      conftest$ac_exeext conftest.$ac_ext
18814
19672
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18855
19713
      # The linker will automatically build a .lib file if we build a DLL.
18856
19714
      old_archive_From_new_cmds_GCJ='true'
18857
19715
      # FIXME: Should let the user specify the lib program.
18858
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
19716
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18859
19717
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18860
19718
      enable_shared_with_static_runtimes_GCJ=yes
18861
19719
      ;;
18888
19746
      link_all_deplibs_GCJ=yes
18889
19747
    if test "$GCC" = yes ; then
18890
19748
        output_verbose_link_cmd='echo'
18891
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18892
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18893
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18894
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18895
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19749
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
19750
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
19751
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
19752
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18896
19753
    else
18897
19754
      case $cc_basename in
18898
19755
        xlc*)
18899
19756
         output_verbose_link_cmd='echo'
18900
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
19757
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18901
19758
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18902
19759
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18903
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19760
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18904
19761
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18905
19762
          ;;
18906
19763
       *)
18940
19797
      ;;
18941
19798
 
18942
19799
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18943
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
19800
    freebsd* | dragonfly*)
18944
19801
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18945
19802
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18946
19803
      hardcode_direct_GCJ=yes
19062
19919
      ;;
19063
19920
 
19064
19921
    openbsd*)
19065
 
      hardcode_direct_GCJ=yes
19066
 
      hardcode_shlibpath_var_GCJ=no
19067
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19068
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19069
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19070
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19071
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19922
      if test -f /usr/libexec/ld.so; then
 
19923
        hardcode_direct_GCJ=yes
 
19924
        hardcode_shlibpath_var_GCJ=no
 
19925
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19926
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19927
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19928
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19929
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19930
        else
 
19931
          case $host_os in
 
19932
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19933
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19934
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19935
             ;;
 
19936
           *)
 
19937
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19938
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19939
             ;;
 
19940
          esac
 
19941
        fi
19072
19942
      else
19073
 
       case $host_os in
19074
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19075
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19076
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
19077
 
           ;;
19078
 
         *)
19079
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19080
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19081
 
           ;;
19082
 
       esac
 
19943
        ld_shlibs_GCJ=no
19083
19944
      fi
19084
19945
      ;;
19085
19946
 
19138
19999
      case $host_os in
19139
20000
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19140
20001
      *)
19141
 
        # The compiler driver will combine linker options so we
19142
 
        # cannot just pass the convience library names through
19143
 
        # without $wl, iff we do not link with $LD.
19144
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
20002
        # The compiler driver will combine and reorder linker options,
 
20003
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
20004
        # but is careful enough not to reorder.
19145
20005
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19146
 
        case $wlarc in
19147
 
        '')
19148
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19149
 
        *)
19150
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
19151
 
        esac ;;
 
20006
        if test "$GCC" = yes; then
 
20007
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
20008
        else
 
20009
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
20010
        fi
 
20011
        ;;
19152
20012
      esac
19153
20013
      link_all_deplibs_GCJ=yes
19154
20014
      ;;
19205
20065
      fi
19206
20066
      ;;
19207
20067
 
19208
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
20068
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19209
20069
      no_undefined_flag_GCJ='${wl}-z,text'
19210
20070
      archive_cmds_need_lc_GCJ=no
19211
20071
      hardcode_shlibpath_var_GCJ=no
19258
20118
    esac
19259
20119
  fi
19260
20120
 
19261
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19262
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
 
20121
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
20122
$as_echo "$ld_shlibs_GCJ" >&6; }
19263
20123
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19264
20124
 
19265
20125
#
19279
20139
      # Test whether the compiler implicitly links with -lc since on some
19280
20140
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19281
20141
      # to ld, don't add -lc before -lgcc.
19282
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19283
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
 
20142
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
20143
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19284
20144
      $rm conftest*
19285
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
20145
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19286
20146
 
19287
20147
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19288
20148
  (eval $ac_compile) 2>&5
19289
20149
  ac_status=$?
19290
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20150
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291
20151
  (exit $ac_status); } 2>conftest.err; then
19292
20152
        soname=conftest
19293
20153
        lib=conftest
19305
20165
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19306
20166
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19307
20167
  ac_status=$?
19308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20168
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309
20169
  (exit $ac_status); }
19310
20170
        then
19311
20171
          archive_cmds_need_lc_GCJ=no
19317
20177
        cat conftest.err 1>&5
19318
20178
      fi
19319
20179
      $rm conftest*
19320
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19321
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
 
20180
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
20181
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
19322
20182
      ;;
19323
20183
    esac
19324
20184
  fi
19325
20185
  ;;
19326
20186
esac
19327
20187
 
19328
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19329
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
 
20188
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
20189
$as_echo_n "checking dynamic linker characteristics... " >&6; }
19330
20190
library_names_spec=
19331
20191
libname_spec='lib$name'
19332
20192
soname_spec=
19340
20200
version_type=none
19341
20201
dynamic_linker="$host_os ld.so"
19342
20202
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19343
 
if test "$GCC" = yes; then
19344
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19345
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19346
 
    # if the path contains ";" then we assume it to be the separator
19347
 
    # otherwise default to the standard path separator (i.e. ":") - it is
19348
 
    # assumed that no part of a normal pathname contains ";" but that should
19349
 
    # okay in the real world where ";" in dirpaths is itself problematic.
19350
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19351
 
  else
19352
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19353
 
  fi
19354
 
else
19355
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19356
 
fi
 
20203
 
19357
20204
need_lib_prefix=unknown
19358
20205
hardcode_into_libs=no
19359
20206
 
19371
20218
  soname_spec='${libname}${release}${shared_ext}$major'
19372
20219
  ;;
19373
20220
 
19374
 
aix4* | aix5*)
 
20221
aix[4-9]*)
19375
20222
  version_type=linux
19376
20223
  need_lib_prefix=no
19377
20224
  need_version=no
19510
20357
  shlibpath_overrides_runpath=yes
19511
20358
  shlibpath_var=DYLD_LIBRARY_PATH
19512
20359
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19513
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19514
 
  if test "$GCC" = yes; then
19515
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
19516
 
  else
19517
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19518
 
  fi
 
20360
 
19519
20361
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19520
20362
  ;;
19521
20363
 
19532
20374
  dynamic_linker=no
19533
20375
  ;;
19534
20376
 
19535
 
kfreebsd*-gnu)
19536
 
  version_type=linux
19537
 
  need_lib_prefix=no
19538
 
  need_version=no
19539
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19540
 
  soname_spec='${libname}${release}${shared_ext}$major'
19541
 
  shlibpath_var=LD_LIBRARY_PATH
19542
 
  shlibpath_overrides_runpath=no
19543
 
  hardcode_into_libs=yes
19544
 
  dynamic_linker='GNU ld.so'
19545
 
  ;;
19546
 
 
19547
20377
freebsd* | dragonfly*)
19548
20378
  # DragonFly does not have aout.  When/if they implement a new
19549
20379
  # versioning mechanism, adjust this.
19581
20411
    shlibpath_overrides_runpath=no
19582
20412
    hardcode_into_libs=yes
19583
20413
    ;;
19584
 
  freebsd*) # from 4.6 on
 
20414
  *) # from 4.6 on, and DragonFly
19585
20415
    shlibpath_overrides_runpath=yes
19586
20416
    hardcode_into_libs=yes
19587
20417
    ;;
19644
20474
  postinstall_cmds='chmod 555 $lib'
19645
20475
  ;;
19646
20476
 
19647
 
interix3*)
 
20477
interix[3-9]*)
19648
20478
  version_type=linux
19649
20479
  need_lib_prefix=no
19650
20480
  need_version=no
19699
20529
  ;;
19700
20530
 
19701
20531
# This must be Linux ELF.
19702
 
linux*)
 
20532
linux* | k*bsd*-gnu)
19703
20533
  version_type=linux
19704
20534
  need_lib_prefix=no
19705
20535
  need_version=no
19712
20542
  # Some rework will be needed to allow for fast_install
19713
20543
  # before this can be enabled.
19714
20544
  hardcode_into_libs=yes
19715
 
 
19716
 
  # find out which ABI we are using
19717
 
  libsuff=
19718
 
  case "$host_cpu" in
19719
 
  x86_64*|s390x*|powerpc64*)
19720
 
    echo '#line 19720 "configure"' > conftest.$ac_ext
19721
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19722
 
  (eval $ac_compile) 2>&5
19723
 
  ac_status=$?
19724
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725
 
  (exit $ac_status); }; then
19726
 
      case `/usr/bin/file conftest.$ac_objext` in
19727
 
      *64-bit*)
19728
 
        libsuff=64
19729
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19730
 
        ;;
19731
 
      esac
19732
 
    fi
19733
 
    rm -rf conftest*
19734
 
    ;;
19735
 
  esac
 
20545
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
20546
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19736
20547
 
19737
20548
  # Append ld.so.conf contents to the search path
19738
20549
  if test -f /etc/ld.so.conf; then
19739
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19740
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
20550
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
20551
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19741
20552
  fi
19742
20553
 
19743
20554
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19749
20560
  dynamic_linker='GNU/Linux ld.so'
19750
20561
  ;;
19751
20562
 
19752
 
knetbsd*-gnu)
19753
 
  version_type=linux
19754
 
  need_lib_prefix=no
19755
 
  need_version=no
19756
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19757
 
  soname_spec='${libname}${release}${shared_ext}$major'
19758
 
  shlibpath_var=LD_LIBRARY_PATH
19759
 
  shlibpath_overrides_runpath=no
19760
 
  hardcode_into_libs=yes
19761
 
  dynamic_linker='GNU ld.so'
19762
 
  ;;
19763
 
 
19764
20563
netbsd*)
19765
20564
  version_type=sunos
19766
20565
  need_lib_prefix=no
19842
20641
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19843
20642
  ;;
19844
20643
 
 
20644
rdos*)
 
20645
  dynamic_linker=no
 
20646
  ;;
 
20647
 
19845
20648
solaris*)
19846
20649
  version_type=linux
19847
20650
  need_lib_prefix=no
19934
20737
  dynamic_linker=no
19935
20738
  ;;
19936
20739
esac
19937
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19938
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
20740
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
20741
$as_echo "$dynamic_linker" >&6; }
19939
20742
test "$dynamic_linker" = no && can_build_shared=no
19940
20743
 
 
20744
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20745
  $as_echo_n "(cached) " >&6
 
20746
else
 
20747
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
20748
fi
 
20749
 
 
20750
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20751
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20752
  $as_echo_n "(cached) " >&6
 
20753
else
 
20754
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
20755
fi
 
20756
 
 
20757
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20758
 
19941
20759
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19942
20760
if test "$GCC" = yes; then
19943
20761
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19944
20762
fi
19945
20763
 
19946
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19947
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
20764
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
20765
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19948
20766
hardcode_action_GCJ=
19949
20767
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19950
20768
   test -n "$runpath_var_GCJ" || \
19968
20786
  # directories.
19969
20787
  hardcode_action_GCJ=unsupported
19970
20788
fi
19971
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19972
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
 
20789
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
20790
$as_echo "$hardcode_action_GCJ" >&6; }
19973
20791
 
19974
20792
if test "$hardcode_action_GCJ" = relink; then
19975
20793
  # Fast installation is not supported
20021
20839
    predeps_GCJ \
20022
20840
    postdeps_GCJ \
20023
20841
    compiler_lib_search_path_GCJ \
 
20842
    compiler_lib_search_dirs_GCJ \
20024
20843
    archive_cmds_GCJ \
20025
20844
    archive_expsym_cmds_GCJ \
20026
20845
    postinstall_cmds_GCJ \
20036
20855
    module_cmds_GCJ \
20037
20856
    module_expsym_cmds_GCJ \
20038
20857
    lt_cv_prog_compiler_c_o_GCJ \
 
20858
    fix_srcfile_path_GCJ \
20039
20859
    exclude_expsyms_GCJ \
20040
20860
    include_expsyms_GCJ; do
20041
20861
 
20268
21088
# shared library.
20269
21089
postdeps=$lt_postdeps_GCJ
20270
21090
 
 
21091
# The directories searched by this compiler when creating a shared
 
21092
# library
 
21093
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
21094
 
20271
21095
# The library search path used internally by the compiler when linking
20272
21096
# a shared library.
20273
21097
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20356
21180
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20357
21181
 
20358
21182
# Fix the shell variable \$srcfile for the compiler.
20359
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
21183
fix_srcfile_path=$lt_fix_srcfile_path
20360
21184
 
20361
21185
# Set to yes if exported symbols are required.
20362
21186
always_export_symbols=$always_export_symbols_GCJ
20413
21237
objext_RC=$objext
20414
21238
 
20415
21239
# Code to be used in simple compile tests
20416
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
21240
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20417
21241
 
20418
21242
# Code to be used in simple link tests
20419
21243
lt_simple_link_test_code="$lt_simple_compile_test_code"
20432
21256
 
20433
21257
# save warnings/boilerplate of simple test code
20434
21258
ac_outfile=conftest.$ac_objext
20435
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
21259
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20436
21260
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20437
21261
_lt_compiler_boilerplate=`cat conftest.err`
20438
21262
$rm conftest*
20439
21263
 
20440
21264
ac_outfile=conftest.$ac_objext
20441
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
21265
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20442
21266
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20443
21267
_lt_linker_boilerplate=`cat conftest.err`
20444
 
$rm conftest*
 
21268
$rm -r conftest*
20445
21269
 
20446
21270
 
20447
21271
# Allow CC to be a program name with arguments.
20501
21325
    predeps_RC \
20502
21326
    postdeps_RC \
20503
21327
    compiler_lib_search_path_RC \
 
21328
    compiler_lib_search_dirs_RC \
20504
21329
    archive_cmds_RC \
20505
21330
    archive_expsym_cmds_RC \
20506
21331
    postinstall_cmds_RC \
20516
21341
    module_cmds_RC \
20517
21342
    module_expsym_cmds_RC \
20518
21343
    lt_cv_prog_compiler_c_o_RC \
 
21344
    fix_srcfile_path_RC \
20519
21345
    exclude_expsyms_RC \
20520
21346
    include_expsyms_RC; do
20521
21347
 
20748
21574
# shared library.
20749
21575
postdeps=$lt_postdeps_RC
20750
21576
 
 
21577
# The directories searched by this compiler when creating a shared
 
21578
# library
 
21579
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
21580
 
20751
21581
# The library search path used internally by the compiler when linking
20752
21582
# a shared library.
20753
21583
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20836
21666
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20837
21667
 
20838
21668
# Fix the shell variable \$srcfile for the compiler.
20839
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
21669
fix_srcfile_path=$lt_fix_srcfile_path
20840
21670
 
20841
21671
# Set to yes if exported symbols are required.
20842
21672
always_export_symbols=$always_export_symbols_RC
20880
21710
        ;;
20881
21711
 
20882
21712
      *)
20883
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20884
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 
21713
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 
21714
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20885
21715
   { (exit 1); exit 1; }; }
20886
21716
        ;;
20887
21717
      esac
20900
21730
    chmod +x "$ofile"
20901
21731
  else
20902
21732
    rm -f "${ofile}T"
20903
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20904
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 
21733
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 
21734
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20905
21735
   { (exit 1); exit 1; }; }
20906
21736
  fi
20907
21737
fi
20970
21800
        for option in -Wno-sign-compare; do
20971
21801
                SAVE_CFLAGS="$CFLAGS"
20972
21802
                CFLAGS="$CFLAGS $option"
20973
 
                { echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
20974
 
echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
 
21803
                { $as_echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
 
21804
$as_echo_n "checking whether gcc understands $option... " >&6; }
20975
21805
                cat >conftest.$ac_ext <<_ACEOF
20976
21806
/* confdefs.h.  */
20977
21807
_ACEOF
20993
21823
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20994
21824
  *) ac_try_echo=$ac_try;;
20995
21825
esac
20996
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21826
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21827
$as_echo "$ac_try_echo") >&5
20997
21828
  (eval "$ac_compile") 2>conftest.er1
20998
21829
  ac_status=$?
20999
21830
  grep -v '^ *+' conftest.er1 >conftest.err
21000
21831
  rm -f conftest.er1
21001
21832
  cat conftest.err >&5
21002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21833
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003
21834
  (exit $ac_status); } && {
21004
21835
         test -z "$ac_c_werror_flag" ||
21005
21836
         test ! -s conftest.err
21006
21837
       } && test -s conftest.$ac_objext; then
21007
21838
  has_option=yes
21008
21839
else
21009
 
  echo "$as_me: failed program was:" >&5
 
21840
  $as_echo "$as_me: failed program was:" >&5
21010
21841
sed 's/^/| /' conftest.$ac_ext >&5
21011
21842
 
21012
21843
        has_option=no
21014
21845
 
21015
21846
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21016
21847
                CFLAGS="$SAVE_CFLAGS"
21017
 
                { echo "$as_me:$LINENO: result: $has_option" >&5
21018
 
echo "${ECHO_T}$has_option" >&6; }
 
21848
                { $as_echo "$as_me:$LINENO: result: $has_option" >&5
 
21849
$as_echo "$has_option" >&6; }
21019
21850
                if test $has_option = yes; then
21020
21851
                  warning_flags="$warning_flags $option"
21021
21852
                fi
21028
21859
        fi
21029
21860
        ;;
21030
21861
    *)
21031
 
        { { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
21032
 
echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
 
21862
        { { $as_echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
 
21863
$as_echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
21033
21864
   { (exit 1); exit 1; }; }
21034
21865
        ;;
21035
21866
    esac
21036
21867
    CFLAGS="$realsave_CFLAGS"
21037
 
    { echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
21038
 
echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6; }
21039
 
    { echo "$as_me:$LINENO: result: $warning_flags" >&5
21040
 
echo "${ECHO_T}$warning_flags" >&6; }
 
21868
    { $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
21869
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
 
21870
    { $as_echo "$as_me:$LINENO: result: $warning_flags" >&5
 
21871
$as_echo "$warning_flags" >&6; }
21041
21872
 
21042
21873
    # Check whether --enable-iso-c was given.
21043
21874
if test "${enable_iso_c+set}" = set; then
21047
21878
fi
21048
21879
 
21049
21880
 
21050
 
    { echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
21051
 
echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6; }
 
21881
    { $as_echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
 
21882
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
21052
21883
    complCFLAGS=
21053
21884
    if test "x$enable_iso_c" != "xno"; then
21054
21885
        if test "x$GCC" = "xyes"; then
21062
21893
        esac
21063
21894
        fi
21064
21895
    fi
21065
 
    { echo "$as_me:$LINENO: result: $complCFLAGS" >&5
21066
 
echo "${ECHO_T}$complCFLAGS" >&6; }
 
21896
    { $as_echo "$as_me:$LINENO: result: $complCFLAGS" >&5
 
21897
$as_echo "$complCFLAGS" >&6; }
21067
21898
 
21068
21899
    WARN_CFLAGS="$warning_flags $complCFLAGS"
21069
21900
 
21082
21913
        if test -n "$ac_tool_prefix"; then
21083
21914
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21084
21915
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21085
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21086
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21916
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21917
$as_echo_n "checking for $ac_word... " >&6; }
21087
21918
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21088
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21919
  $as_echo_n "(cached) " >&6
21089
21920
else
21090
21921
  case $PKG_CONFIG in
21091
21922
  [\\/]* | ?:[\\/]*)
21100
21931
  for ac_exec_ext in '' $ac_executable_extensions; do
21101
21932
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21102
21933
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21103
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21934
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21104
21935
    break 2
21105
21936
  fi
21106
21937
done
21112
21943
fi
21113
21944
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21114
21945
if test -n "$PKG_CONFIG"; then
21115
 
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21116
 
echo "${ECHO_T}$PKG_CONFIG" >&6; }
 
21946
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
21947
$as_echo "$PKG_CONFIG" >&6; }
21117
21948
else
21118
 
  { echo "$as_me:$LINENO: result: no" >&5
21119
 
echo "${ECHO_T}no" >&6; }
 
21949
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21950
$as_echo "no" >&6; }
21120
21951
fi
21121
21952
 
21122
21953
 
21125
21956
  ac_pt_PKG_CONFIG=$PKG_CONFIG
21126
21957
  # Extract the first word of "pkg-config", so it can be a program name with args.
21127
21958
set dummy pkg-config; ac_word=$2
21128
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21129
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21959
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21960
$as_echo_n "checking for $ac_word... " >&6; }
21130
21961
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21131
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21962
  $as_echo_n "(cached) " >&6
21132
21963
else
21133
21964
  case $ac_pt_PKG_CONFIG in
21134
21965
  [\\/]* | ?:[\\/]*)
21143
21974
  for ac_exec_ext in '' $ac_executable_extensions; do
21144
21975
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21145
21976
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21146
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21977
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21147
21978
    break 2
21148
21979
  fi
21149
21980
done
21155
21986
fi
21156
21987
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21157
21988
if test -n "$ac_pt_PKG_CONFIG"; then
21158
 
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21159
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 
21989
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
21990
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
21160
21991
else
21161
 
  { echo "$as_me:$LINENO: result: no" >&5
21162
 
echo "${ECHO_T}no" >&6; }
 
21992
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
21993
$as_echo "no" >&6; }
21163
21994
fi
21164
21995
 
21165
21996
  if test "x$ac_pt_PKG_CONFIG" = x; then
21167
21998
  else
21168
21999
    case $cross_compiling:$ac_tool_warned in
21169
22000
yes:)
21170
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
22001
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21171
22002
whose name does not start with the host triplet.  If you think this
21172
22003
configuration is useful to you, please write to autoconf@gnu.org." >&5
21173
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
22004
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21174
22005
whose name does not start with the host triplet.  If you think this
21175
22006
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21176
22007
ac_tool_warned=yes ;;
21184
22015
fi
21185
22016
if test -n "$PKG_CONFIG"; then
21186
22017
        _pkg_min_version=0.9.0
21187
 
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21188
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 
22018
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
22019
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
21189
22020
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21190
 
                { echo "$as_me:$LINENO: result: yes" >&5
21191
 
echo "${ECHO_T}yes" >&6; }
 
22021
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
22022
$as_echo "yes" >&6; }
21192
22023
        else
21193
 
                { echo "$as_me:$LINENO: result: no" >&5
21194
 
echo "${ECHO_T}no" >&6; }
 
22024
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
22025
$as_echo "no" >&6; }
21195
22026
                PKG_CONFIG=""
21196
22027
        fi
21197
22028
 
21198
22029
fi
21199
22030
 
21200
22031
pkg_failed=no
21201
 
{ echo "$as_me:$LINENO: checking for NETTOOL" >&5
21202
 
echo $ECHO_N "checking for NETTOOL... $ECHO_C" >&6; }
 
22032
{ $as_echo "$as_me:$LINENO: checking for NETTOOL" >&5
 
22033
$as_echo_n "checking for NETTOOL... " >&6; }
21203
22034
 
21204
 
if test -n "$PKG_CONFIG"; then
21205
 
    if test -n "$NETTOOL_CFLAGS"; then
21206
 
        pkg_cv_NETTOOL_CFLAGS="$NETTOOL_CFLAGS"
21207
 
    else
21208
 
        if test -n "$PKG_CONFIG" && \
21209
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0       >= \$GTK_REQUIRED
 
22035
if test -n "$NETTOOL_CFLAGS"; then
 
22036
    pkg_cv_NETTOOL_CFLAGS="$NETTOOL_CFLAGS"
 
22037
 elif test -n "$PKG_CONFIG"; then
 
22038
    if test -n "$PKG_CONFIG" && \
 
22039
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0       >= \$GTK_REQUIRED
21210
22040
                  libglade-2.0   >= \$LIBGLADE_REQUIRED
21211
22041
                  gconf-2.0      >= \$GCONF_REQUIRED
21212
22042
                  gnome-doc-utils\"") >&5
21215
22045
                  gconf-2.0      >= $GCONF_REQUIRED
21216
22046
                  gnome-doc-utils") 2>&5
21217
22047
  ac_status=$?
21218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22048
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219
22049
  (exit $ac_status); }; then
21220
22050
  pkg_cv_NETTOOL_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0       >= $GTK_REQUIRED
21221
22051
                  libglade-2.0   >= $LIBGLADE_REQUIRED
21224
22054
else
21225
22055
  pkg_failed=yes
21226
22056
fi
21227
 
    fi
21228
 
else
21229
 
        pkg_failed=untried
 
22057
 else
 
22058
    pkg_failed=untried
21230
22059
fi
21231
 
if test -n "$PKG_CONFIG"; then
21232
 
    if test -n "$NETTOOL_LIBS"; then
21233
 
        pkg_cv_NETTOOL_LIBS="$NETTOOL_LIBS"
21234
 
    else
21235
 
        if test -n "$PKG_CONFIG" && \
21236
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0       >= \$GTK_REQUIRED
 
22060
if test -n "$NETTOOL_LIBS"; then
 
22061
    pkg_cv_NETTOOL_LIBS="$NETTOOL_LIBS"
 
22062
 elif test -n "$PKG_CONFIG"; then
 
22063
    if test -n "$PKG_CONFIG" && \
 
22064
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0       >= \$GTK_REQUIRED
21237
22065
                  libglade-2.0   >= \$LIBGLADE_REQUIRED
21238
22066
                  gconf-2.0      >= \$GCONF_REQUIRED
21239
22067
                  gnome-doc-utils\"") >&5
21242
22070
                  gconf-2.0      >= $GCONF_REQUIRED
21243
22071
                  gnome-doc-utils") 2>&5
21244
22072
  ac_status=$?
21245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22073
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246
22074
  (exit $ac_status); }; then
21247
22075
  pkg_cv_NETTOOL_LIBS=`$PKG_CONFIG --libs "gtk+-2.0       >= $GTK_REQUIRED
21248
22076
                  libglade-2.0   >= $LIBGLADE_REQUIRED
21251
22079
else
21252
22080
  pkg_failed=yes
21253
22081
fi
21254
 
    fi
21255
 
else
21256
 
        pkg_failed=untried
 
22082
 else
 
22083
    pkg_failed=untried
21257
22084
fi
21258
22085
 
21259
22086
 
21266
22093
        _pkg_short_errors_supported=no
21267
22094
fi
21268
22095
        if test $_pkg_short_errors_supported = yes; then
21269
 
                NETTOOL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0       >= $GTK_REQUIRED
 
22096
                NETTOOL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0       >= $GTK_REQUIRED
21270
22097
                  libglade-2.0   >= $LIBGLADE_REQUIRED
21271
22098
                  gconf-2.0      >= $GCONF_REQUIRED
21272
 
                  gnome-doc-utils"`
 
22099
                  gnome-doc-utils" 2>&1`
21273
22100
        else
21274
 
                NETTOOL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0       >= $GTK_REQUIRED
 
22101
                NETTOOL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0       >= $GTK_REQUIRED
21275
22102
                  libglade-2.0   >= $LIBGLADE_REQUIRED
21276
22103
                  gconf-2.0      >= $GCONF_REQUIRED
21277
 
                  gnome-doc-utils"`
 
22104
                  gnome-doc-utils" 2>&1`
21278
22105
        fi
21279
22106
        # Put the nasty error message in config.log where it belongs
21280
22107
        echo "$NETTOOL_PKG_ERRORS" >&5
21281
22108
 
21282
 
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0       >= $GTK_REQUIRED
 
22109
        { { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0       >= $GTK_REQUIRED
21283
22110
                  libglade-2.0   >= $LIBGLADE_REQUIRED
21284
22111
                  gconf-2.0      >= $GCONF_REQUIRED
21285
22112
                  gnome-doc-utils) were not met:
21293
22120
and NETTOOL_LIBS to avoid the need to call pkg-config.
21294
22121
See the pkg-config man page for more details.
21295
22122
" >&5
21296
 
echo "$as_me: error: Package requirements (gtk+-2.0       >= $GTK_REQUIRED
 
22123
$as_echo "$as_me: error: Package requirements (gtk+-2.0       >= $GTK_REQUIRED
21297
22124
                  libglade-2.0   >= $LIBGLADE_REQUIRED
21298
22125
                  gconf-2.0      >= $GCONF_REQUIRED
21299
22126
                  gnome-doc-utils) were not met:
21309
22136
" >&2;}
21310
22137
   { (exit 1); exit 1; }; }
21311
22138
elif test $pkg_failed = untried; then
21312
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
22139
        { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
21313
22140
is in your PATH or set the PKG_CONFIG environment variable to the full
21314
22141
path to pkg-config.
21315
22142
 
21317
22144
and NETTOOL_LIBS to avoid the need to call pkg-config.
21318
22145
See the pkg-config man page for more details.
21319
22146
 
21320
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22147
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21321
22148
See \`config.log' for more details." >&5
21322
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
22149
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21323
22150
is in your PATH or set the PKG_CONFIG environment variable to the full
21324
22151
path to pkg-config.
21325
22152
 
21327
22154
and NETTOOL_LIBS to avoid the need to call pkg-config.
21328
22155
See the pkg-config man page for more details.
21329
22156
 
21330
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22157
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21331
22158
See \`config.log' for more details." >&2;}
21332
22159
   { (exit 1); exit 1; }; }
21333
22160
else
21334
22161
        NETTOOL_CFLAGS=$pkg_cv_NETTOOL_CFLAGS
21335
22162
        NETTOOL_LIBS=$pkg_cv_NETTOOL_LIBS
21336
 
        { echo "$as_me:$LINENO: result: yes" >&5
21337
 
echo "${ECHO_T}yes" >&6; }
 
22163
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
22164
$as_echo "yes" >&6; }
21338
22165
        :
21339
22166
fi
21340
22167
 
21351
22178
 
21352
22179
for ac_header in locale.h
21353
22180
do
21354
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21355
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21356
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
21357
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21358
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21359
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22181
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
22182
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22183
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22184
$as_echo_n "checking for $ac_header... " >&6; }
 
22185
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
22186
  $as_echo_n "(cached) " >&6
21360
22187
fi
21361
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21362
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21363
 
echo "${ECHO_T}$ac_res" >&6; }
 
22188
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
22189
                 $as_echo "$as_val"'`
 
22190
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22191
$as_echo "$ac_res" >&6; }
21364
22192
else
21365
22193
  # Is the header compilable?
21366
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21367
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
22194
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
22195
$as_echo_n "checking $ac_header usability... " >&6; }
21368
22196
cat >conftest.$ac_ext <<_ACEOF
21369
22197
/* confdefs.h.  */
21370
22198
_ACEOF
21380
22208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21381
22209
  *) ac_try_echo=$ac_try;;
21382
22210
esac
21383
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22211
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22212
$as_echo "$ac_try_echo") >&5
21384
22213
  (eval "$ac_compile") 2>conftest.er1
21385
22214
  ac_status=$?
21386
22215
  grep -v '^ *+' conftest.er1 >conftest.err
21387
22216
  rm -f conftest.er1
21388
22217
  cat conftest.err >&5
21389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22218
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390
22219
  (exit $ac_status); } && {
21391
22220
         test -z "$ac_c_werror_flag" ||
21392
22221
         test ! -s conftest.err
21393
22222
       } && test -s conftest.$ac_objext; then
21394
22223
  ac_header_compiler=yes
21395
22224
else
21396
 
  echo "$as_me: failed program was:" >&5
 
22225
  $as_echo "$as_me: failed program was:" >&5
21397
22226
sed 's/^/| /' conftest.$ac_ext >&5
21398
22227
 
21399
22228
        ac_header_compiler=no
21400
22229
fi
21401
22230
 
21402
22231
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21404
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
22232
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22233
$as_echo "$ac_header_compiler" >&6; }
21405
22234
 
21406
22235
# Is the header present?
21407
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21408
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
22236
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
22237
$as_echo_n "checking $ac_header presence... " >&6; }
21409
22238
cat >conftest.$ac_ext <<_ACEOF
21410
22239
/* confdefs.h.  */
21411
22240
_ACEOF
21419
22248
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420
22249
  *) ac_try_echo=$ac_try;;
21421
22250
esac
21422
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22252
$as_echo "$ac_try_echo") >&5
21423
22253
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21424
22254
  ac_status=$?
21425
22255
  grep -v '^ *+' conftest.er1 >conftest.err
21426
22256
  rm -f conftest.er1
21427
22257
  cat conftest.err >&5
21428
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22258
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429
22259
  (exit $ac_status); } >/dev/null && {
21430
22260
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21431
22261
         test ! -s conftest.err
21432
22262
       }; then
21433
22263
  ac_header_preproc=yes
21434
22264
else
21435
 
  echo "$as_me: failed program was:" >&5
 
22265
  $as_echo "$as_me: failed program was:" >&5
21436
22266
sed 's/^/| /' conftest.$ac_ext >&5
21437
22267
 
21438
22268
  ac_header_preproc=no
21439
22269
fi
21440
22270
 
21441
22271
rm -f conftest.err conftest.$ac_ext
21442
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21443
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
22272
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22273
$as_echo "$ac_header_preproc" >&6; }
21444
22274
 
21445
22275
# So?  What about this header?
21446
22276
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21447
22277
  yes:no: )
21448
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21449
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21450
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21451
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
22278
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
22279
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
22280
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
22281
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21452
22282
    ac_header_preproc=yes
21453
22283
    ;;
21454
22284
  no:yes:* )
21455
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21456
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21457
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21458
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21459
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21460
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21461
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21462
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21463
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21464
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21465
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21466
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
22285
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
22286
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
22287
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
22288
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
22289
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
22290
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
22291
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
22292
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
22293
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
22294
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
22295
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
22296
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21467
22297
    ( cat <<\_ASBOX
21468
22298
## ---------------------------------------------------------------------------- ##
21469
22299
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-nettool ##
21472
22302
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21473
22303
    ;;
21474
22304
esac
21475
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21476
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
22305
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
22306
$as_echo_n "checking for $ac_header... " >&6; }
21477
22307
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21478
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22308
  $as_echo_n "(cached) " >&6
21479
22309
else
21480
22310
  eval "$as_ac_Header=\$ac_header_preproc"
21481
22311
fi
21482
 
ac_res=`eval echo '${'$as_ac_Header'}'`
21483
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21484
 
echo "${ECHO_T}$ac_res" >&6; }
 
22312
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
22313
                 $as_echo "$as_val"'`
 
22314
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22315
$as_echo "$ac_res" >&6; }
21485
22316
 
21486
22317
fi
21487
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
22318
if test `eval 'as_val=${'$as_ac_Header'}
 
22319
                 $as_echo "$as_val"'` = yes; then
21488
22320
  cat >>confdefs.h <<_ACEOF
21489
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
22321
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21490
22322
_ACEOF
21491
22323
 
21492
22324
fi
21494
22326
done
21495
22327
 
21496
22328
    if test $ac_cv_header_locale_h = yes; then
21497
 
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21498
 
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
 
22329
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
22330
$as_echo_n "checking for LC_MESSAGES... " >&6; }
21499
22331
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21500
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22332
  $as_echo_n "(cached) " >&6
21501
22333
else
21502
22334
  cat >conftest.$ac_ext <<_ACEOF
21503
22335
/* confdefs.h.  */
21520
22352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21521
22353
  *) ac_try_echo=$ac_try;;
21522
22354
esac
21523
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22355
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22356
$as_echo "$ac_try_echo") >&5
21524
22357
  (eval "$ac_link") 2>conftest.er1
21525
22358
  ac_status=$?
21526
22359
  grep -v '^ *+' conftest.er1 >conftest.err
21527
22360
  rm -f conftest.er1
21528
22361
  cat conftest.err >&5
21529
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22362
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530
22363
  (exit $ac_status); } && {
21531
22364
         test -z "$ac_c_werror_flag" ||
21532
22365
         test ! -s conftest.err
21533
 
       } && test -s conftest$ac_exeext &&
21534
 
       $as_test_x conftest$ac_exeext; then
 
22366
       } && test -s conftest$ac_exeext && {
 
22367
         test "$cross_compiling" = yes ||
 
22368
         $as_test_x conftest$ac_exeext
 
22369
       }; then
21535
22370
  am_cv_val_LC_MESSAGES=yes
21536
22371
else
21537
 
  echo "$as_me: failed program was:" >&5
 
22372
  $as_echo "$as_me: failed program was:" >&5
21538
22373
sed 's/^/| /' conftest.$ac_ext >&5
21539
22374
 
21540
22375
        am_cv_val_LC_MESSAGES=no
21541
22376
fi
21542
22377
 
 
22378
rm -rf conftest.dSYM
21543
22379
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21544
22380
      conftest$ac_exeext conftest.$ac_ext
21545
22381
fi
21546
 
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21547
 
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
 
22382
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
22383
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21548
22384
    if test $am_cv_val_LC_MESSAGES = yes; then
21549
22385
 
21550
22386
cat >>confdefs.h <<\_ACEOF
21563
22399
    INTLLIBS=
21564
22400
 
21565
22401
    if test "${ac_cv_header_libintl_h+set}" = set; then
21566
 
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
21567
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 
22402
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
22403
$as_echo_n "checking for libintl.h... " >&6; }
21568
22404
if test "${ac_cv_header_libintl_h+set}" = set; then
21569
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22405
  $as_echo_n "(cached) " >&6
21570
22406
fi
21571
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21572
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 
22407
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
22408
$as_echo "$ac_cv_header_libintl_h" >&6; }
21573
22409
else
21574
22410
  # Is the header compilable?
21575
 
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
21576
 
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
 
22411
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 
22412
$as_echo_n "checking libintl.h usability... " >&6; }
21577
22413
cat >conftest.$ac_ext <<_ACEOF
21578
22414
/* confdefs.h.  */
21579
22415
_ACEOF
21589
22425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590
22426
  *) ac_try_echo=$ac_try;;
21591
22427
esac
21592
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22428
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22429
$as_echo "$ac_try_echo") >&5
21593
22430
  (eval "$ac_compile") 2>conftest.er1
21594
22431
  ac_status=$?
21595
22432
  grep -v '^ *+' conftest.er1 >conftest.err
21596
22433
  rm -f conftest.er1
21597
22434
  cat conftest.err >&5
21598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22435
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599
22436
  (exit $ac_status); } && {
21600
22437
         test -z "$ac_c_werror_flag" ||
21601
22438
         test ! -s conftest.err
21602
22439
       } && test -s conftest.$ac_objext; then
21603
22440
  ac_header_compiler=yes
21604
22441
else
21605
 
  echo "$as_me: failed program was:" >&5
 
22442
  $as_echo "$as_me: failed program was:" >&5
21606
22443
sed 's/^/| /' conftest.$ac_ext >&5
21607
22444
 
21608
22445
        ac_header_compiler=no
21609
22446
fi
21610
22447
 
21611
22448
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21613
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
22449
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
22450
$as_echo "$ac_header_compiler" >&6; }
21614
22451
 
21615
22452
# Is the header present?
21616
 
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
21617
 
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
 
22453
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 
22454
$as_echo_n "checking libintl.h presence... " >&6; }
21618
22455
cat >conftest.$ac_ext <<_ACEOF
21619
22456
/* confdefs.h.  */
21620
22457
_ACEOF
21628
22465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21629
22466
  *) ac_try_echo=$ac_try;;
21630
22467
esac
21631
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22468
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22469
$as_echo "$ac_try_echo") >&5
21632
22470
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21633
22471
  ac_status=$?
21634
22472
  grep -v '^ *+' conftest.er1 >conftest.err
21635
22473
  rm -f conftest.er1
21636
22474
  cat conftest.err >&5
21637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22475
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638
22476
  (exit $ac_status); } >/dev/null && {
21639
22477
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21640
22478
         test ! -s conftest.err
21641
22479
       }; then
21642
22480
  ac_header_preproc=yes
21643
22481
else
21644
 
  echo "$as_me: failed program was:" >&5
 
22482
  $as_echo "$as_me: failed program was:" >&5
21645
22483
sed 's/^/| /' conftest.$ac_ext >&5
21646
22484
 
21647
22485
  ac_header_preproc=no
21648
22486
fi
21649
22487
 
21650
22488
rm -f conftest.err conftest.$ac_ext
21651
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21652
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
22489
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
22490
$as_echo "$ac_header_preproc" >&6; }
21653
22491
 
21654
22492
# So?  What about this header?
21655
22493
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21656
22494
  yes:no: )
21657
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21658
 
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21659
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
21660
 
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 
22495
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
22496
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
22497
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 
22498
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
21661
22499
    ac_header_preproc=yes
21662
22500
    ;;
21663
22501
  no:yes:* )
21664
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21665
 
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21666
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
21667
 
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
21668
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21669
 
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21670
 
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
21671
 
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21672
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21673
 
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21674
 
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21675
 
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 
22502
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 
22503
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 
22504
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 
22505
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 
22506
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 
22507
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 
22508
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 
22509
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
22510
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 
22511
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 
22512
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 
22513
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21676
22514
    ( cat <<\_ASBOX
21677
22515
## ---------------------------------------------------------------------------- ##
21678
22516
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-nettool ##
21681
22519
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21682
22520
    ;;
21683
22521
esac
21684
 
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21685
 
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 
22522
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 
22523
$as_echo_n "checking for libintl.h... " >&6; }
21686
22524
if test "${ac_cv_header_libintl_h+set}" = set; then
21687
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22525
  $as_echo_n "(cached) " >&6
21688
22526
else
21689
22527
  ac_cv_header_libintl_h=$ac_header_preproc
21690
22528
fi
21691
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21692
 
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 
22529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 
22530
$as_echo "$ac_cv_header_libintl_h" >&6; }
21693
22531
 
21694
22532
fi
21695
22533
if test $ac_cv_header_libintl_h = yes; then
21699
22537
      #
21700
22538
      # First check in libc
21701
22539
      #
21702
 
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21703
 
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
 
22540
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
22541
$as_echo_n "checking for ngettext in libc... " >&6; }
21704
22542
if test "${gt_cv_func_ngettext_libc+set}" = set; then
21705
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22543
  $as_echo_n "(cached) " >&6
21706
22544
else
21707
22545
  cat >conftest.$ac_ext <<_ACEOF
21708
22546
/* confdefs.h.  */
21727
22565
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728
22566
  *) ac_try_echo=$ac_try;;
21729
22567
esac
21730
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22568
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22569
$as_echo "$ac_try_echo") >&5
21731
22570
  (eval "$ac_link") 2>conftest.er1
21732
22571
  ac_status=$?
21733
22572
  grep -v '^ *+' conftest.er1 >conftest.err
21734
22573
  rm -f conftest.er1
21735
22574
  cat conftest.err >&5
21736
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22575
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737
22576
  (exit $ac_status); } && {
21738
22577
         test -z "$ac_c_werror_flag" ||
21739
22578
         test ! -s conftest.err
21740
 
       } && test -s conftest$ac_exeext &&
21741
 
       $as_test_x conftest$ac_exeext; then
 
22579
       } && test -s conftest$ac_exeext && {
 
22580
         test "$cross_compiling" = yes ||
 
22581
         $as_test_x conftest$ac_exeext
 
22582
       }; then
21742
22583
  gt_cv_func_ngettext_libc=yes
21743
22584
else
21744
 
  echo "$as_me: failed program was:" >&5
 
22585
  $as_echo "$as_me: failed program was:" >&5
21745
22586
sed 's/^/| /' conftest.$ac_ext >&5
21746
22587
 
21747
22588
        gt_cv_func_ngettext_libc=no
21748
22589
fi
21749
22590
 
 
22591
rm -rf conftest.dSYM
21750
22592
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21751
22593
      conftest$ac_exeext conftest.$ac_ext
21752
22594
 
21753
22595
fi
21754
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21755
 
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
 
22596
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
22597
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
21756
22598
 
21757
22599
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21758
 
              { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21759
 
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
 
22600
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
22601
$as_echo_n "checking for dgettext in libc... " >&6; }
21760
22602
if test "${gt_cv_func_dgettext_libc+set}" = set; then
21761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22603
  $as_echo_n "(cached) " >&6
21762
22604
else
21763
22605
  cat >conftest.$ac_ext <<_ACEOF
21764
22606
/* confdefs.h.  */
21783
22625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21784
22626
  *) ac_try_echo=$ac_try;;
21785
22627
esac
21786
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22628
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22629
$as_echo "$ac_try_echo") >&5
21787
22630
  (eval "$ac_link") 2>conftest.er1
21788
22631
  ac_status=$?
21789
22632
  grep -v '^ *+' conftest.er1 >conftest.err
21790
22633
  rm -f conftest.er1
21791
22634
  cat conftest.err >&5
21792
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22635
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793
22636
  (exit $ac_status); } && {
21794
22637
         test -z "$ac_c_werror_flag" ||
21795
22638
         test ! -s conftest.err
21796
 
       } && test -s conftest$ac_exeext &&
21797
 
       $as_test_x conftest$ac_exeext; then
 
22639
       } && test -s conftest$ac_exeext && {
 
22640
         test "$cross_compiling" = yes ||
 
22641
         $as_test_x conftest$ac_exeext
 
22642
       }; then
21798
22643
  gt_cv_func_dgettext_libc=yes
21799
22644
else
21800
 
  echo "$as_me: failed program was:" >&5
 
22645
  $as_echo "$as_me: failed program was:" >&5
21801
22646
sed 's/^/| /' conftest.$ac_ext >&5
21802
22647
 
21803
22648
        gt_cv_func_dgettext_libc=no
21804
22649
fi
21805
22650
 
 
22651
rm -rf conftest.dSYM
21806
22652
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21807
22653
      conftest$ac_exeext conftest.$ac_ext
21808
22654
 
21809
22655
fi
21810
 
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21811
 
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
 
22656
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
22657
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
21812
22658
      fi
21813
22659
 
21814
22660
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21815
22661
 
21816
22662
for ac_func in bind_textdomain_codeset
21817
22663
do
21818
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21819
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21820
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
22664
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
22665
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
22666
$as_echo_n "checking for $ac_func... " >&6; }
21821
22667
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21822
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22668
  $as_echo_n "(cached) " >&6
21823
22669
else
21824
22670
  cat >conftest.$ac_ext <<_ACEOF
21825
22671
/* confdefs.h.  */
21872
22718
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21873
22719
  *) ac_try_echo=$ac_try;;
21874
22720
esac
21875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22721
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22722
$as_echo "$ac_try_echo") >&5
21876
22723
  (eval "$ac_link") 2>conftest.er1
21877
22724
  ac_status=$?
21878
22725
  grep -v '^ *+' conftest.er1 >conftest.err
21879
22726
  rm -f conftest.er1
21880
22727
  cat conftest.err >&5
21881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22728
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882
22729
  (exit $ac_status); } && {
21883
22730
         test -z "$ac_c_werror_flag" ||
21884
22731
         test ! -s conftest.err
21885
 
       } && test -s conftest$ac_exeext &&
21886
 
       $as_test_x conftest$ac_exeext; then
 
22732
       } && test -s conftest$ac_exeext && {
 
22733
         test "$cross_compiling" = yes ||
 
22734
         $as_test_x conftest$ac_exeext
 
22735
       }; then
21887
22736
  eval "$as_ac_var=yes"
21888
22737
else
21889
 
  echo "$as_me: failed program was:" >&5
 
22738
  $as_echo "$as_me: failed program was:" >&5
21890
22739
sed 's/^/| /' conftest.$ac_ext >&5
21891
22740
 
21892
22741
        eval "$as_ac_var=no"
21893
22742
fi
21894
22743
 
 
22744
rm -rf conftest.dSYM
21895
22745
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21896
22746
      conftest$ac_exeext conftest.$ac_ext
21897
22747
fi
21898
 
ac_res=`eval echo '${'$as_ac_var'}'`
21899
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21900
 
echo "${ECHO_T}$ac_res" >&6; }
21901
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
22748
ac_res=`eval 'as_val=${'$as_ac_var'}
 
22749
                 $as_echo "$as_val"'`
 
22750
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
22751
$as_echo "$ac_res" >&6; }
 
22752
if test `eval 'as_val=${'$as_ac_var'}
 
22753
                 $as_echo "$as_val"'` = yes; then
21902
22754
  cat >>confdefs.h <<_ACEOF
21903
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
22755
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21904
22756
_ACEOF
21905
22757
 
21906
22758
fi
21915
22767
         || test "$gt_cv_func_ngettext_libc" != "yes" \
21916
22768
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21917
22769
 
21918
 
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21919
 
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
 
22770
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
22771
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
21920
22772
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22773
  $as_echo_n "(cached) " >&6
21922
22774
else
21923
22775
  ac_check_lib_save_LIBS=$LIBS
21924
22776
LIBS="-lintl  $LIBS"
21950
22802
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21951
22803
  *) ac_try_echo=$ac_try;;
21952
22804
esac
21953
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22805
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22806
$as_echo "$ac_try_echo") >&5
21954
22807
  (eval "$ac_link") 2>conftest.er1
21955
22808
  ac_status=$?
21956
22809
  grep -v '^ *+' conftest.er1 >conftest.err
21957
22810
  rm -f conftest.er1
21958
22811
  cat conftest.err >&5
21959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22812
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960
22813
  (exit $ac_status); } && {
21961
22814
         test -z "$ac_c_werror_flag" ||
21962
22815
         test ! -s conftest.err
21963
 
       } && test -s conftest$ac_exeext &&
21964
 
       $as_test_x conftest$ac_exeext; then
 
22816
       } && test -s conftest$ac_exeext && {
 
22817
         test "$cross_compiling" = yes ||
 
22818
         $as_test_x conftest$ac_exeext
 
22819
       }; then
21965
22820
  ac_cv_lib_intl_bindtextdomain=yes
21966
22821
else
21967
 
  echo "$as_me: failed program was:" >&5
 
22822
  $as_echo "$as_me: failed program was:" >&5
21968
22823
sed 's/^/| /' conftest.$ac_ext >&5
21969
22824
 
21970
22825
        ac_cv_lib_intl_bindtextdomain=no
21971
22826
fi
21972
22827
 
 
22828
rm -rf conftest.dSYM
21973
22829
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21974
22830
      conftest$ac_exeext conftest.$ac_ext
21975
22831
LIBS=$ac_check_lib_save_LIBS
21976
22832
fi
21977
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21978
 
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
 
22833
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
22834
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
21979
22835
if test $ac_cv_lib_intl_bindtextdomain = yes; then
21980
 
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21981
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
22836
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
22837
$as_echo_n "checking for ngettext in -lintl... " >&6; }
21982
22838
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21983
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22839
  $as_echo_n "(cached) " >&6
21984
22840
else
21985
22841
  ac_check_lib_save_LIBS=$LIBS
21986
22842
LIBS="-lintl  $LIBS"
22012
22868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22013
22869
  *) ac_try_echo=$ac_try;;
22014
22870
esac
22015
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22872
$as_echo "$ac_try_echo") >&5
22016
22873
  (eval "$ac_link") 2>conftest.er1
22017
22874
  ac_status=$?
22018
22875
  grep -v '^ *+' conftest.er1 >conftest.err
22019
22876
  rm -f conftest.er1
22020
22877
  cat conftest.err >&5
22021
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22878
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022
22879
  (exit $ac_status); } && {
22023
22880
         test -z "$ac_c_werror_flag" ||
22024
22881
         test ! -s conftest.err
22025
 
       } && test -s conftest$ac_exeext &&
22026
 
       $as_test_x conftest$ac_exeext; then
 
22882
       } && test -s conftest$ac_exeext && {
 
22883
         test "$cross_compiling" = yes ||
 
22884
         $as_test_x conftest$ac_exeext
 
22885
       }; then
22027
22886
  ac_cv_lib_intl_ngettext=yes
22028
22887
else
22029
 
  echo "$as_me: failed program was:" >&5
 
22888
  $as_echo "$as_me: failed program was:" >&5
22030
22889
sed 's/^/| /' conftest.$ac_ext >&5
22031
22890
 
22032
22891
        ac_cv_lib_intl_ngettext=no
22033
22892
fi
22034
22893
 
 
22894
rm -rf conftest.dSYM
22035
22895
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22036
22896
      conftest$ac_exeext conftest.$ac_ext
22037
22897
LIBS=$ac_check_lib_save_LIBS
22038
22898
fi
22039
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22040
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 
22899
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
22900
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
22041
22901
if test $ac_cv_lib_intl_ngettext = yes; then
22042
 
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
22043
 
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
 
22902
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
22903
$as_echo_n "checking for dgettext in -lintl... " >&6; }
22044
22904
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
22045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22905
  $as_echo_n "(cached) " >&6
22046
22906
else
22047
22907
  ac_check_lib_save_LIBS=$LIBS
22048
22908
LIBS="-lintl  $LIBS"
22074
22934
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22075
22935
  *) ac_try_echo=$ac_try;;
22076
22936
esac
22077
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
22937
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
22938
$as_echo "$ac_try_echo") >&5
22078
22939
  (eval "$ac_link") 2>conftest.er1
22079
22940
  ac_status=$?
22080
22941
  grep -v '^ *+' conftest.er1 >conftest.err
22081
22942
  rm -f conftest.er1
22082
22943
  cat conftest.err >&5
22083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
22944
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084
22945
  (exit $ac_status); } && {
22085
22946
         test -z "$ac_c_werror_flag" ||
22086
22947
         test ! -s conftest.err
22087
 
       } && test -s conftest$ac_exeext &&
22088
 
       $as_test_x conftest$ac_exeext; then
 
22948
       } && test -s conftest$ac_exeext && {
 
22949
         test "$cross_compiling" = yes ||
 
22950
         $as_test_x conftest$ac_exeext
 
22951
       }; then
22089
22952
  ac_cv_lib_intl_dgettext=yes
22090
22953
else
22091
 
  echo "$as_me: failed program was:" >&5
 
22954
  $as_echo "$as_me: failed program was:" >&5
22092
22955
sed 's/^/| /' conftest.$ac_ext >&5
22093
22956
 
22094
22957
        ac_cv_lib_intl_dgettext=no
22095
22958
fi
22096
22959
 
 
22960
rm -rf conftest.dSYM
22097
22961
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22098
22962
      conftest$ac_exeext conftest.$ac_ext
22099
22963
LIBS=$ac_check_lib_save_LIBS
22100
22964
fi
22101
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
22102
 
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
 
22965
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
22966
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
22103
22967
if test $ac_cv_lib_intl_dgettext = yes; then
22104
22968
  gt_cv_func_dgettext_libintl=yes
22105
22969
fi
22110
22974
 
22111
22975
 
22112
22976
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
22113
 
          { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
22114
 
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
22115
 
          { echo "$as_me:$LINENO: result: " >&5
22116
 
echo "${ECHO_T}" >&6; }
22117
 
          { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
22118
 
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 
22977
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
22978
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
22979
          { $as_echo "$as_me:$LINENO: result: " >&5
 
22980
$as_echo "" >&6; }
 
22981
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
22982
$as_echo_n "checking for ngettext in -lintl... " >&6; }
22119
22983
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
22120
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22984
  $as_echo_n "(cached) " >&6
22121
22985
else
22122
22986
  ac_check_lib_save_LIBS=$LIBS
22123
22987
LIBS="-lintl -liconv $LIBS"
22149
23013
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22150
23014
  *) ac_try_echo=$ac_try;;
22151
23015
esac
22152
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23016
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23017
$as_echo "$ac_try_echo") >&5
22153
23018
  (eval "$ac_link") 2>conftest.er1
22154
23019
  ac_status=$?
22155
23020
  grep -v '^ *+' conftest.er1 >conftest.err
22156
23021
  rm -f conftest.er1
22157
23022
  cat conftest.err >&5
22158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23023
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159
23024
  (exit $ac_status); } && {
22160
23025
         test -z "$ac_c_werror_flag" ||
22161
23026
         test ! -s conftest.err
22162
 
       } && test -s conftest$ac_exeext &&
22163
 
       $as_test_x conftest$ac_exeext; then
 
23027
       } && test -s conftest$ac_exeext && {
 
23028
         test "$cross_compiling" = yes ||
 
23029
         $as_test_x conftest$ac_exeext
 
23030
       }; then
22164
23031
  ac_cv_lib_intl_ngettext=yes
22165
23032
else
22166
 
  echo "$as_me: failed program was:" >&5
 
23033
  $as_echo "$as_me: failed program was:" >&5
22167
23034
sed 's/^/| /' conftest.$ac_ext >&5
22168
23035
 
22169
23036
        ac_cv_lib_intl_ngettext=no
22170
23037
fi
22171
23038
 
 
23039
rm -rf conftest.dSYM
22172
23040
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22173
23041
      conftest$ac_exeext conftest.$ac_ext
22174
23042
LIBS=$ac_check_lib_save_LIBS
22175
23043
fi
22176
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
22177
 
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 
23044
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
23045
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
22178
23046
if test $ac_cv_lib_intl_ngettext = yes; then
22179
 
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
22180
 
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
 
23047
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
23048
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
22181
23049
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
22182
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23050
  $as_echo_n "(cached) " >&6
22183
23051
else
22184
23052
  ac_check_lib_save_LIBS=$LIBS
22185
23053
LIBS="-lintl -liconv $LIBS"
22211
23079
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22212
23080
  *) ac_try_echo=$ac_try;;
22213
23081
esac
22214
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23082
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23083
$as_echo "$ac_try_echo") >&5
22215
23084
  (eval "$ac_link") 2>conftest.er1
22216
23085
  ac_status=$?
22217
23086
  grep -v '^ *+' conftest.er1 >conftest.err
22218
23087
  rm -f conftest.er1
22219
23088
  cat conftest.err >&5
22220
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23089
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221
23090
  (exit $ac_status); } && {
22222
23091
         test -z "$ac_c_werror_flag" ||
22223
23092
         test ! -s conftest.err
22224
 
       } && test -s conftest$ac_exeext &&
22225
 
       $as_test_x conftest$ac_exeext; then
 
23093
       } && test -s conftest$ac_exeext && {
 
23094
         test "$cross_compiling" = yes ||
 
23095
         $as_test_x conftest$ac_exeext
 
23096
       }; then
22226
23097
  ac_cv_lib_intl_dcgettext=yes
22227
23098
else
22228
 
  echo "$as_me: failed program was:" >&5
 
23099
  $as_echo "$as_me: failed program was:" >&5
22229
23100
sed 's/^/| /' conftest.$ac_ext >&5
22230
23101
 
22231
23102
        ac_cv_lib_intl_dcgettext=no
22232
23103
fi
22233
23104
 
 
23105
rm -rf conftest.dSYM
22234
23106
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22235
23107
      conftest$ac_exeext conftest.$ac_ext
22236
23108
LIBS=$ac_check_lib_save_LIBS
22237
23109
fi
22238
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
22239
 
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
 
23110
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
23111
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
22240
23112
if test $ac_cv_lib_intl_dcgettext = yes; then
22241
23113
  gt_cv_func_dgettext_libintl=yes
22242
23114
                        libintl_extra_libs=-liconv
22262
23134
 
22263
23135
for ac_func in bind_textdomain_codeset
22264
23136
do
22265
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22266
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22267
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23137
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
23138
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23139
$as_echo_n "checking for $ac_func... " >&6; }
22268
23140
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22269
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23141
  $as_echo_n "(cached) " >&6
22270
23142
else
22271
23143
  cat >conftest.$ac_ext <<_ACEOF
22272
23144
/* confdefs.h.  */
22319
23191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22320
23192
  *) ac_try_echo=$ac_try;;
22321
23193
esac
22322
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23194
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23195
$as_echo "$ac_try_echo") >&5
22323
23196
  (eval "$ac_link") 2>conftest.er1
22324
23197
  ac_status=$?
22325
23198
  grep -v '^ *+' conftest.er1 >conftest.err
22326
23199
  rm -f conftest.er1
22327
23200
  cat conftest.err >&5
22328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23201
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329
23202
  (exit $ac_status); } && {
22330
23203
         test -z "$ac_c_werror_flag" ||
22331
23204
         test ! -s conftest.err
22332
 
       } && test -s conftest$ac_exeext &&
22333
 
       $as_test_x conftest$ac_exeext; then
 
23205
       } && test -s conftest$ac_exeext && {
 
23206
         test "$cross_compiling" = yes ||
 
23207
         $as_test_x conftest$ac_exeext
 
23208
       }; then
22334
23209
  eval "$as_ac_var=yes"
22335
23210
else
22336
 
  echo "$as_me: failed program was:" >&5
 
23211
  $as_echo "$as_me: failed program was:" >&5
22337
23212
sed 's/^/| /' conftest.$ac_ext >&5
22338
23213
 
22339
23214
        eval "$as_ac_var=no"
22340
23215
fi
22341
23216
 
 
23217
rm -rf conftest.dSYM
22342
23218
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22343
23219
      conftest$ac_exeext conftest.$ac_ext
22344
23220
fi
22345
 
ac_res=`eval echo '${'$as_ac_var'}'`
22346
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22347
 
echo "${ECHO_T}$ac_res" >&6; }
22348
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
23221
ac_res=`eval 'as_val=${'$as_ac_var'}
 
23222
                 $as_echo "$as_val"'`
 
23223
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
23224
$as_echo "$ac_res" >&6; }
 
23225
if test `eval 'as_val=${'$as_ac_var'}
 
23226
                 $as_echo "$as_val"'` = yes; then
22349
23227
  cat >>confdefs.h <<_ACEOF
22350
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
23228
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22351
23229
_ACEOF
22352
23230
 
22353
23231
fi
22383
23261
 
22384
23262
        # Extract the first word of "msgfmt", so it can be a program name with args.
22385
23263
set dummy msgfmt; ac_word=$2
22386
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22387
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
23264
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23265
$as_echo_n "checking for $ac_word... " >&6; }
22388
23266
if test "${ac_cv_path_MSGFMT+set}" = set; then
22389
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23267
  $as_echo_n "(cached) " >&6
22390
23268
else
22391
23269
  case "$MSGFMT" in
22392
23270
  /*)
22410
23288
fi
22411
23289
MSGFMT="$ac_cv_path_MSGFMT"
22412
23290
if test "$MSGFMT" != "no"; then
22413
 
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
22414
 
echo "${ECHO_T}$MSGFMT" >&6; }
 
23291
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
23292
$as_echo "$MSGFMT" >&6; }
22415
23293
else
22416
 
  { echo "$as_me:$LINENO: result: no" >&5
22417
 
echo "${ECHO_T}no" >&6; }
 
23294
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
23295
$as_echo "no" >&6; }
22418
23296
fi
22419
23297
        if test "$MSGFMT" != "no"; then
22420
23298
          glib_save_LIBS="$LIBS"
22422
23300
 
22423
23301
for ac_func in dcgettext
22424
23302
do
22425
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22426
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22427
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
23303
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
23304
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
23305
$as_echo_n "checking for $ac_func... " >&6; }
22428
23306
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22429
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23307
  $as_echo_n "(cached) " >&6
22430
23308
else
22431
23309
  cat >conftest.$ac_ext <<_ACEOF
22432
23310
/* confdefs.h.  */
22479
23357
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22480
23358
  *) ac_try_echo=$ac_try;;
22481
23359
esac
22482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23360
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23361
$as_echo "$ac_try_echo") >&5
22483
23362
  (eval "$ac_link") 2>conftest.er1
22484
23363
  ac_status=$?
22485
23364
  grep -v '^ *+' conftest.er1 >conftest.err
22486
23365
  rm -f conftest.er1
22487
23366
  cat conftest.err >&5
22488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23367
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489
23368
  (exit $ac_status); } && {
22490
23369
         test -z "$ac_c_werror_flag" ||
22491
23370
         test ! -s conftest.err
22492
 
       } && test -s conftest$ac_exeext &&
22493
 
       $as_test_x conftest$ac_exeext; then
 
23371
       } && test -s conftest$ac_exeext && {
 
23372
         test "$cross_compiling" = yes ||
 
23373
         $as_test_x conftest$ac_exeext
 
23374
       }; then
22494
23375
  eval "$as_ac_var=yes"
22495
23376
else
22496
 
  echo "$as_me: failed program was:" >&5
 
23377
  $as_echo "$as_me: failed program was:" >&5
22497
23378
sed 's/^/| /' conftest.$ac_ext >&5
22498
23379
 
22499
23380
        eval "$as_ac_var=no"
22500
23381
fi
22501
23382
 
 
23383
rm -rf conftest.dSYM
22502
23384
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22503
23385
      conftest$ac_exeext conftest.$ac_ext
22504
23386
fi
22505
 
ac_res=`eval echo '${'$as_ac_var'}'`
22506
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
22507
 
echo "${ECHO_T}$ac_res" >&6; }
22508
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
23387
ac_res=`eval 'as_val=${'$as_ac_var'}
 
23388
                 $as_echo "$as_val"'`
 
23389
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
23390
$as_echo "$ac_res" >&6; }
 
23391
if test `eval 'as_val=${'$as_ac_var'}
 
23392
                 $as_echo "$as_val"'` = yes; then
22509
23393
  cat >>confdefs.h <<_ACEOF
22510
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
23394
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22511
23395
_ACEOF
22512
23396
 
22513
23397
fi
22514
23398
done
22515
23399
 
22516
23400
          MSGFMT_OPTS=
22517
 
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22518
 
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 
23401
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
23402
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
22519
23403
          cat >conftest.foo <<_ACEOF
22520
23404
 
22521
23405
msgid ""
22529
23413
"Content-Transfer-Encoding: 8bit\n"
22530
23414
 
22531
23415
_ACEOF
22532
 
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
23416
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
22533
23417
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
22534
23418
  ac_status=$?
22535
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23419
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536
23420
  (exit $ac_status); }; then
22537
 
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22538
 
echo "${ECHO_T}yes" >&6; }
22539
 
else { echo "$as_me:$LINENO: result: no" >&5
22540
 
echo "${ECHO_T}no" >&6; }
 
23421
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
23422
$as_echo "yes" >&6; }
 
23423
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
23424
$as_echo "no" >&6; }
22541
23425
echo "$as_me: failed input was:" >&5
22542
23426
sed 's/^/| /' conftest.foo >&5
22543
23427
fi
22544
23428
 
22545
23429
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
22546
23430
set dummy gmsgfmt; ac_word=$2
22547
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22548
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
23431
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23432
$as_echo_n "checking for $ac_word... " >&6; }
22549
23433
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22550
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23434
  $as_echo_n "(cached) " >&6
22551
23435
else
22552
23436
  case $GMSGFMT in
22553
23437
  [\\/]* | ?:[\\/]*)
22562
23446
  for ac_exec_ext in '' $ac_executable_extensions; do
22563
23447
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22564
23448
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22565
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
23449
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22566
23450
    break 2
22567
23451
  fi
22568
23452
done
22575
23459
fi
22576
23460
GMSGFMT=$ac_cv_path_GMSGFMT
22577
23461
if test -n "$GMSGFMT"; then
22578
 
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22579
 
echo "${ECHO_T}$GMSGFMT" >&6; }
 
23462
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
23463
$as_echo "$GMSGFMT" >&6; }
22580
23464
else
22581
 
  { echo "$as_me:$LINENO: result: no" >&5
22582
 
echo "${ECHO_T}no" >&6; }
 
23465
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
23466
$as_echo "no" >&6; }
22583
23467
fi
22584
23468
 
22585
23469
 
22586
23470
          # Extract the first word of "xgettext", so it can be a program name with args.
22587
23471
set dummy xgettext; ac_word=$2
22588
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22589
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
23472
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
23473
$as_echo_n "checking for $ac_word... " >&6; }
22590
23474
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22591
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23475
  $as_echo_n "(cached) " >&6
22592
23476
else
22593
23477
  case "$XGETTEXT" in
22594
23478
  /*)
22612
23496
fi
22613
23497
XGETTEXT="$ac_cv_path_XGETTEXT"
22614
23498
if test "$XGETTEXT" != ":"; then
22615
 
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22616
 
echo "${ECHO_T}$XGETTEXT" >&6; }
 
23499
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
23500
$as_echo "$XGETTEXT" >&6; }
22617
23501
else
22618
 
  { echo "$as_me:$LINENO: result: no" >&5
22619
 
echo "${ECHO_T}no" >&6; }
 
23502
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
23503
$as_echo "no" >&6; }
22620
23504
fi
22621
23505
 
22622
23506
          cat >conftest.$ac_ext <<_ACEOF
22641
23525
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22642
23526
  *) ac_try_echo=$ac_try;;
22643
23527
esac
22644
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23528
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23529
$as_echo "$ac_try_echo") >&5
22645
23530
  (eval "$ac_link") 2>conftest.er1
22646
23531
  ac_status=$?
22647
23532
  grep -v '^ *+' conftest.er1 >conftest.err
22648
23533
  rm -f conftest.er1
22649
23534
  cat conftest.err >&5
22650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23535
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651
23536
  (exit $ac_status); } && {
22652
23537
         test -z "$ac_c_werror_flag" ||
22653
23538
         test ! -s conftest.err
22654
 
       } && test -s conftest$ac_exeext &&
22655
 
       $as_test_x conftest$ac_exeext; then
 
23539
       } && test -s conftest$ac_exeext && {
 
23540
         test "$cross_compiling" = yes ||
 
23541
         $as_test_x conftest$ac_exeext
 
23542
       }; then
22656
23543
  CATOBJEXT=.gmo
22657
23544
             DATADIRNAME=share
22658
23545
else
22659
 
  echo "$as_me: failed program was:" >&5
 
23546
  $as_echo "$as_me: failed program was:" >&5
22660
23547
sed 's/^/| /' conftest.$ac_ext >&5
22661
23548
 
22662
23549
        case $host in
22663
23550
            *-*-solaris*)
22664
 
                                                                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22665
 
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 
23551
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 
23552
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
22666
23553
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23554
  $as_echo_n "(cached) " >&6
22668
23555
else
22669
23556
  cat >conftest.$ac_ext <<_ACEOF
22670
23557
/* confdefs.h.  */
22717
23604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718
23605
  *) ac_try_echo=$ac_try;;
22719
23606
esac
22720
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23607
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
23608
$as_echo "$ac_try_echo") >&5
22721
23609
  (eval "$ac_link") 2>conftest.er1
22722
23610
  ac_status=$?
22723
23611
  grep -v '^ *+' conftest.er1 >conftest.err
22724
23612
  rm -f conftest.er1
22725
23613
  cat conftest.err >&5
22726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23614
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727
23615
  (exit $ac_status); } && {
22728
23616
         test -z "$ac_c_werror_flag" ||
22729
23617
         test ! -s conftest.err
22730
 
       } && test -s conftest$ac_exeext &&
22731
 
       $as_test_x conftest$ac_exeext; then
 
23618
       } && test -s conftest$ac_exeext && {
 
23619
         test "$cross_compiling" = yes ||
 
23620
         $as_test_x conftest$ac_exeext
 
23621
       }; then
22732
23622
  ac_cv_func_bind_textdomain_codeset=yes
22733
23623
else
22734
 
  echo "$as_me: failed program was:" >&5
 
23624
  $as_echo "$as_me: failed program was:" >&5
22735
23625
sed 's/^/| /' conftest.$ac_ext >&5
22736
23626
 
22737
23627
        ac_cv_func_bind_textdomain_codeset=no
22738
23628
fi
22739
23629
 
 
23630
rm -rf conftest.dSYM
22740
23631
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22741
23632
      conftest$ac_exeext conftest.$ac_ext
22742
23633
fi
22743
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22744
 
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 
23634
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 
23635
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
22745
23636
if test $ac_cv_func_bind_textdomain_codeset = yes; then
22746
23637
  CATOBJEXT=.gmo
22747
23638
               DATADIRNAME=share
22758
23649
            esac
22759
23650
fi
22760
23651
 
 
23652
rm -rf conftest.dSYM
22761
23653
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22762
23654
      conftest$ac_exeext conftest.$ac_ext
22763
23655
          LIBS="$glib_save_LIBS"
22783
23675
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22784
23676
        : ;
22785
23677
      else
22786
 
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22787
 
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
 
23678
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
23679
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
22788
23680
        XGETTEXT=":"
22789
23681
      fi
22790
23682
    fi
22816
23708
     if test "x$ALL_LINGUAS" = "x"; then
22817
23709
       LINGUAS=
22818
23710
     else
22819
 
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22820
 
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
 
23711
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
23712
$as_echo_n "checking for catalogs to be installed... " >&6; }
22821
23713
       NEW_LINGUAS=
22822
23714
       for presentlang in $ALL_LINGUAS; do
22823
23715
         useit=no
22841
23733
         fi
22842
23734
       done
22843
23735
       LINGUAS=$NEW_LINGUAS
22844
 
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
22845
 
echo "${ECHO_T}$LINGUAS" >&6; }
 
23736
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
23737
$as_echo "$LINGUAS" >&6; }
22846
23738
     fi
22847
23739
 
22848
23740
          if test -n "$LINGUAS"; then
22882
23774
gdu_cv_version_required=0.3.2
22883
23775
 
22884
23776
if test -n "$PKG_CONFIG" && \
22885
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
 
23777
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\"") >&5
22886
23778
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
22887
23779
  ac_status=$?
22888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23780
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889
23781
  (exit $ac_status); }; then
22890
23782
  gdu_cv_have_gdu=yes
22891
23783
else
22895
23787
if test "$gdu_cv_have_gdu" = "yes"; then
22896
23788
        :
22897
23789
else
22898
 
        { { echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
22899
 
echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
 
23790
        { { $as_echo "$as_me:$LINENO: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&5
 
23791
$as_echo "$as_me: error: gnome-doc-utils >= $gdu_cv_version_required not found" >&2;}
22900
23792
   { (exit 1); exit 1; }; }
22901
23793
fi
22902
23794
 
22971
23863
fi
22972
23864
 
22973
23865
 
22974
 
{ echo "$as_me:$LINENO: checking if debug messages are enabled" >&5
22975
 
echo $ECHO_N "checking if debug messages are enabled... $ECHO_C" >&6; }
 
23866
{ $as_echo "$as_me:$LINENO: checking if debug messages are enabled" >&5
 
23867
$as_echo_n "checking if debug messages are enabled... " >&6; }
22976
23868
if test "$set_debug" != "no"; then
22977
 
        { echo "$as_me:$LINENO: result: yes" >&5
22978
 
echo "${ECHO_T}yes" >&6; }
 
23869
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
23870
$as_echo "yes" >&6; }
22979
23871
        CFLAGS="-DGRD_DEBUG $CFLAGS"
22980
23872
else
22981
 
        { echo "$as_me:$LINENO: result: no" >&5
22982
 
echo "${ECHO_T}no" >&6; }
 
23873
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
23874
$as_echo "no" >&6; }
22983
23875
fi
22984
23876
 
22985
23877
ac_config_files="$ac_config_files Makefile po/Makefile.in pixmaps/Makefile pixmaps/icons/Makefile pixmaps/icons/16x16/Makefile pixmaps/icons/16x16/apps/Makefile pixmaps/icons/22x22/Makefile pixmaps/icons/22x22/apps/Makefile pixmaps/icons/24x24/Makefile pixmaps/icons/24x24/apps/Makefile pixmaps/icons/32x32/Makefile pixmaps/icons/32x32/apps/Makefile pixmaps/icons/scalable/Makefile pixmaps/icons/scalable/apps/Makefile help/Makefile src/Makefile src/gnome-nettool.desktop.in"
23011
23903
    case $ac_val in #(
23012
23904
    *${as_nl}*)
23013
23905
      case $ac_var in #(
23014
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23015
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
23906
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
23907
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23016
23908
      esac
23017
23909
      case $ac_var in #(
23018
23910
      _ | IFS | as_nl) ;; #(
 
23911
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23019
23912
      *) $as_unset $ac_var ;;
23020
23913
      esac ;;
23021
23914
    esac
23048
23941
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23049
23942
  if test -w "$cache_file"; then
23050
23943
    test "x$cache_file" != "x/dev/null" &&
23051
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23052
 
echo "$as_me: updating cache $cache_file" >&6;}
 
23944
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
23945
$as_echo "$as_me: updating cache $cache_file" >&6;}
23053
23946
    cat confcache >$cache_file
23054
23947
  else
23055
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23056
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
23948
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
23949
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23057
23950
  fi
23058
23951
fi
23059
23952
rm -f confcache
23069
23962
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23070
23963
  # 1. Remove the extension, and $U if already installed.
23071
23964
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23072
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
23965
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
23073
23966
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
23074
23967
  #    will be set to the directory where LIBOBJS objects are built.
23075
23968
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23081
23974
 
23082
23975
 
23083
23976
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23084
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 
23977
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23085
23978
Usually this means the macro was only invoked conditionally." >&5
23086
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 
23979
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23087
23980
Usually this means the macro was only invoked conditionally." >&2;}
23088
23981
   { (exit 1); exit 1; }; }
23089
23982
fi
23090
23983
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23091
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
23984
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23092
23985
Usually this means the macro was only invoked conditionally." >&5
23093
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
23986
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
23094
23987
Usually this means the macro was only invoked conditionally." >&2;}
23095
23988
   { (exit 1); exit 1; }; }
23096
23989
fi
23097
23990
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23098
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
23991
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23099
23992
Usually this means the macro was only invoked conditionally." >&5
23100
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
23993
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23101
23994
Usually this means the macro was only invoked conditionally." >&2;}
23102
23995
   { (exit 1); exit 1; }; }
23103
23996
fi
23106
23999
 
23107
24000
 
23108
24001
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23109
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
24002
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23110
24003
Usually this means the macro was only invoked conditionally." >&5
23111
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
24004
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23112
24005
Usually this means the macro was only invoked conditionally." >&2;}
23113
24006
   { (exit 1); exit 1; }; }
23114
24007
fi
23115
24008
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23116
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
24009
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23117
24010
Usually this means the macro was only invoked conditionally." >&5
23118
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
24011
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23119
24012
Usually this means the macro was only invoked conditionally." >&2;}
23120
24013
   { (exit 1); exit 1; }; }
23121
24014
fi
23122
24015
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
23123
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
 
24016
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
23124
24017
Usually this means the macro was only invoked conditionally." >&5
23125
 
echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
 
24018
$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
23126
24019
Usually this means the macro was only invoked conditionally." >&2;}
23127
24020
   { (exit 1); exit 1; }; }
23128
24021
fi
23129
24022
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
23130
 
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
24023
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
23131
24024
Usually this means the macro was only invoked conditionally." >&5
23132
 
echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
 
24025
$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
23133
24026
Usually this means the macro was only invoked conditionally." >&2;}
23134
24027
   { (exit 1); exit 1; }; }
23135
24028
fi
23136
24029
 
23137
24030
: ${CONFIG_STATUS=./config.status}
 
24031
ac_write_fail=0
23138
24032
ac_clean_files_save=$ac_clean_files
23139
24033
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23140
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23141
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
23142
 
cat >$CONFIG_STATUS <<_ACEOF
 
24034
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
24035
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
24036
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23143
24037
#! $SHELL
23144
24038
# Generated by $as_me.
23145
24039
# Run this file to recreate the current configuration.
23152
24046
SHELL=\${CONFIG_SHELL-$SHELL}
23153
24047
_ACEOF
23154
24048
 
23155
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24049
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23156
24050
## --------------------- ##
23157
24051
## M4sh Initialization.  ##
23158
24052
## --------------------- ##
23162
24056
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23163
24057
  emulate sh
23164
24058
  NULLCMD=:
23165
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
24059
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23166
24060
  # is contrary to our usage.  Disable this feature.
23167
24061
  alias -g '${1+"$@"}'='"$@"'
23168
24062
  setopt NO_GLOB_SUBST
23184
24078
as_cr_digits='0123456789'
23185
24079
as_cr_alnum=$as_cr_Letters$as_cr_digits
23186
24080
 
 
24081
as_nl='
 
24082
'
 
24083
export as_nl
 
24084
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
24085
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
24086
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
24087
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
24088
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
24089
  as_echo='printf %s\n'
 
24090
  as_echo_n='printf %s'
 
24091
else
 
24092
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
24093
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
24094
    as_echo_n='/usr/ucb/echo -n'
 
24095
  else
 
24096
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
24097
    as_echo_n_body='eval
 
24098
      arg=$1;
 
24099
      case $arg in
 
24100
      *"$as_nl"*)
 
24101
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
24102
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
24103
      esac;
 
24104
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
24105
    '
 
24106
    export as_echo_n_body
 
24107
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
24108
  fi
 
24109
  export as_echo_body
 
24110
  as_echo='sh -c $as_echo_body as_echo'
 
24111
fi
 
24112
 
23187
24113
# The user is always right.
23188
24114
if test "${PATH_SEPARATOR+set}" != set; then
23189
 
  echo "#! /bin/sh" >conf$$.sh
23190
 
  echo  "exit 0"   >>conf$$.sh
23191
 
  chmod +x conf$$.sh
23192
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23193
 
    PATH_SEPARATOR=';'
23194
 
  else
23195
 
    PATH_SEPARATOR=:
23196
 
  fi
23197
 
  rm -f conf$$.sh
 
24115
  PATH_SEPARATOR=:
 
24116
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
24117
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
24118
      PATH_SEPARATOR=';'
 
24119
  }
23198
24120
fi
23199
24121
 
23200
24122
# Support unset when possible.
23210
24132
# there to prevent editors from complaining about space-tab.
23211
24133
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
23212
24134
# splitting by setting IFS to empty value.)
23213
 
as_nl='
23214
 
'
23215
24135
IFS=" ""        $as_nl"
23216
24136
 
23217
24137
# Find who we are.  Look in the path if we contain no directory separator.
23234
24154
  as_myself=$0
23235
24155
fi
23236
24156
if test ! -f "$as_myself"; then
23237
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
24157
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23238
24158
  { (exit 1); exit 1; }
23239
24159
fi
23240
24160
 
23247
24167
PS4='+ '
23248
24168
 
23249
24169
# NLS nuisances.
23250
 
for as_var in \
23251
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23252
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23253
 
  LC_TELEPHONE LC_TIME
23254
 
do
23255
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23256
 
    eval $as_var=C; export $as_var
23257
 
  else
23258
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23259
 
  fi
23260
 
done
 
24170
LC_ALL=C
 
24171
export LC_ALL
 
24172
LANGUAGE=C
 
24173
export LANGUAGE
23261
24174
 
23262
24175
# Required to use basename.
23263
24176
if expr a : '\(a\)' >/dev/null 2>&1 &&
23279
24192
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23280
24193
         X"$0" : 'X\(//\)$' \| \
23281
24194
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23282
 
echo X/"$0" |
 
24195
$as_echo X/"$0" |
23283
24196
    sed '/^.*\/\([^/][^/]*\)\/*$/{
23284
24197
            s//\1/
23285
24198
            q
23330
24243
      s/-\n.*//
23331
24244
    ' >$as_me.lineno &&
23332
24245
  chmod +x "$as_me.lineno" ||
23333
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
24246
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23334
24247
   { (exit 1); exit 1; }; }
23335
24248
 
23336
24249
  # Don't try to exec as it changes $[0], causing all sort of problems
23358
24271
*)
23359
24272
  ECHO_N='-n';;
23360
24273
esac
23361
 
 
23362
24274
if expr a : '\(a\)' >/dev/null 2>&1 &&
23363
24275
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
23364
24276
  as_expr=expr
23371
24283
  rm -f conf$$.dir/conf$$.file
23372
24284
else
23373
24285
  rm -f conf$$.dir
23374
 
  mkdir conf$$.dir
 
24286
  mkdir conf$$.dir 2>/dev/null
23375
24287
fi
23376
 
echo >conf$$.file
23377
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
23378
 
  as_ln_s='ln -s'
23379
 
  # ... but there are two gotchas:
23380
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23381
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23382
 
  # In both cases, we have to default to `cp -p'.
23383
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
24288
if (echo >conf$$.file) 2>/dev/null; then
 
24289
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
24290
    as_ln_s='ln -s'
 
24291
    # ... but there are two gotchas:
 
24292
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
24293
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
24294
    # In both cases, we have to default to `cp -p'.
 
24295
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
24296
      as_ln_s='cp -p'
 
24297
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
24298
    as_ln_s=ln
 
24299
  else
23384
24300
    as_ln_s='cp -p'
23385
 
elif ln conf$$.file conf$$ 2>/dev/null; then
23386
 
  as_ln_s=ln
 
24301
  fi
23387
24302
else
23388
24303
  as_ln_s='cp -p'
23389
24304
fi
23408
24323
  as_test_x='
23409
24324
    eval sh -c '\''
23410
24325
      if test -d "$1"; then
23411
 
        test -d "$1/.";
 
24326
        test -d "$1/.";
23412
24327
      else
23413
24328
        case $1 in
23414
 
        -*)set "./$1";;
 
24329
        -*)set "./$1";;
23415
24330
        esac;
23416
24331
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23417
24332
        ???[sx]*):;;*)false;;esac;fi
23433
24348
# report actual input values of CONFIG_FILES etc. instead of their
23434
24349
# values after options handling.
23435
24350
ac_log="
23436
 
This file was extended by GNOME Nettool $as_me 2.22.0, which was
23437
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
24351
This file was extended by GNOME Nettool $as_me 2.22.1, which was
 
24352
generated by GNU Autoconf 2.62.  Invocation command line was
23438
24353
 
23439
24354
  CONFIG_FILES    = $CONFIG_FILES
23440
24355
  CONFIG_HEADERS  = $CONFIG_HEADERS
23447
24362
 
23448
24363
_ACEOF
23449
24364
 
23450
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24365
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23451
24366
# Files that config.status was made for.
23452
24367
config_files="$ac_config_files"
23453
24368
config_headers="$ac_config_headers"
23455
24370
 
23456
24371
_ACEOF
23457
24372
 
23458
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24373
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23459
24374
ac_cs_usage="\
23460
24375
\`$as_me' instantiates files from templates according to the
23461
24376
current configuration.
23468
24383
  -d, --debug      don't remove temporary files
23469
24384
      --recheck    update $as_me by reconfiguring in the same conditions
23470
24385
  --file=FILE[:TEMPLATE]
23471
 
                   instantiate the configuration file FILE
 
24386
                   instantiate the configuration file FILE
23472
24387
  --header=FILE[:TEMPLATE]
23473
 
                   instantiate the configuration header FILE
 
24388
                   instantiate the configuration header FILE
23474
24389
 
23475
24390
Configuration files:
23476
24391
$config_files
23484
24399
Report bugs to <bug-autoconf@gnu.org>."
23485
24400
 
23486
24401
_ACEOF
23487
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24402
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23488
24403
ac_cs_version="\\
23489
 
GNOME Nettool config.status 2.22.0
23490
 
configured by $0, generated by GNU Autoconf 2.61,
23491
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
24404
GNOME Nettool config.status 2.22.1
 
24405
configured by $0, generated by GNU Autoconf 2.62,
 
24406
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23492
24407
 
23493
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
24408
Copyright (C) 2008 Free Software Foundation, Inc.
23494
24409
This config.status script is free software; the Free Software Foundation
23495
24410
gives unlimited permission to copy, distribute and modify it."
23496
24411
 
23498
24413
srcdir='$srcdir'
23499
24414
INSTALL='$INSTALL'
23500
24415
MKDIR_P='$MKDIR_P'
 
24416
AWK='$AWK'
 
24417
test -n "\$AWK" || AWK=awk
23501
24418
_ACEOF
23502
24419
 
23503
 
cat >>$CONFIG_STATUS <<\_ACEOF
23504
 
# If no file are specified by the user, then we need to provide default
23505
 
# value.  By we need to know if files were specified by the user.
 
24420
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24421
# The default lists apply if the user does not specify any file.
23506
24422
ac_need_defaults=:
23507
24423
while test $# != 0
23508
24424
do
23524
24440
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23525
24441
    ac_cs_recheck=: ;;
23526
24442
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23527
 
    echo "$ac_cs_version"; exit ;;
 
24443
    $as_echo "$ac_cs_version"; exit ;;
23528
24444
  --debug | --debu | --deb | --de | --d | -d )
23529
24445
    debug=: ;;
23530
24446
  --file | --fil | --fi | --f )
23531
24447
    $ac_shift
23532
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
24448
    case $ac_optarg in
 
24449
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
24450
    esac
 
24451
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
23533
24452
    ac_need_defaults=false;;
23534
24453
  --header | --heade | --head | --hea )
23535
24454
    $ac_shift
23536
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
24455
    case $ac_optarg in
 
24456
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
24457
    esac
 
24458
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
23537
24459
    ac_need_defaults=false;;
23538
24460
  --he | --h)
23539
24461
    # Conflict between --help and --header
23540
 
    { echo "$as_me: error: ambiguous option: $1
 
24462
    { $as_echo "$as_me: error: ambiguous option: $1
23541
24463
Try \`$0 --help' for more information." >&2
23542
24464
   { (exit 1); exit 1; }; };;
23543
24465
  --help | --hel | -h )
23544
 
    echo "$ac_cs_usage"; exit ;;
 
24466
    $as_echo "$ac_cs_usage"; exit ;;
23545
24467
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23546
24468
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
23547
24469
    ac_cs_silent=: ;;
23548
24470
 
23549
24471
  # This is an error.
23550
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
24472
  -*) { $as_echo "$as_me: error: unrecognized option: $1
23551
24473
Try \`$0 --help' for more information." >&2
23552
24474
   { (exit 1); exit 1; }; } ;;
23553
24475
 
23566
24488
fi
23567
24489
 
23568
24490
_ACEOF
23569
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24491
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23570
24492
if \$ac_cs_recheck; then
23571
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23572
 
  CONFIG_SHELL=$SHELL
 
24493
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
24494
  shift
 
24495
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
24496
  CONFIG_SHELL='$SHELL'
23573
24497
  export CONFIG_SHELL
23574
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
24498
  exec "\$@"
23575
24499
fi
23576
24500
 
23577
24501
_ACEOF
23578
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24502
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23579
24503
exec 5>>config.log
23580
24504
{
23581
24505
  echo
23582
24506
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23583
24507
## Running $as_me. ##
23584
24508
_ASBOX
23585
 
  echo "$ac_log"
 
24509
  $as_echo "$ac_log"
23586
24510
} >&5
23587
24511
 
23588
24512
_ACEOF
23589
 
cat >>$CONFIG_STATUS <<_ACEOF
 
24513
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23590
24514
#
23591
24515
# INIT-COMMANDS
23592
24516
#
23593
24517
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23594
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
23595
 
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
23596
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
23597
24518
 
23598
24519
 
23599
24520
_ACEOF
23600
24521
 
23601
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24522
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23602
24523
 
23603
24524
# Handling of arguments.
23604
24525
for ac_config_target in $ac_config_targets
23606
24527
  case $ac_config_target in
23607
24528
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23608
24529
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23609
 
    "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
23610
24530
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
23611
24531
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23612
24532
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23627
24547
    "src/gnome-nettool.desktop.in") CONFIG_FILES="$CONFIG_FILES src/gnome-nettool.desktop.in" ;;
23628
24548
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23629
24549
 
23630
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23631
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
24550
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
24551
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23632
24552
   { (exit 1); exit 1; }; };;
23633
24553
  esac
23634
24554
done
23669
24589
  (umask 077 && mkdir "$tmp")
23670
24590
} ||
23671
24591
{
23672
 
   echo "$me: cannot create a temporary directory in ." >&2
 
24592
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
23673
24593
   { (exit 1); exit 1; }
23674
24594
}
23675
24595
 
23676
 
#
23677
 
# Set up the sed scripts for CONFIG_FILES section.
23678
 
#
23679
 
 
23680
 
# No need to generate the scripts if there are no CONFIG_FILES.
23681
 
# This happens for instance when ./config.status config.h
 
24596
# Set up the scripts for CONFIG_FILES section.
 
24597
# No need to generate them if there are no CONFIG_FILES.
 
24598
# This happens for instance with `./config.status config.h'.
23682
24599
if test -n "$CONFIG_FILES"; then
23683
24600
 
23684
 
_ACEOF
23685
 
 
23686
 
 
23687
 
 
23688
 
ac_delim='%!_!# '
23689
 
for ac_last_try in false false false false false :; do
23690
 
  cat >conf$$subs.sed <<_ACEOF
23691
 
SHELL!$SHELL$ac_delim
23692
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23693
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23694
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23695
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23696
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23697
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23698
 
exec_prefix!$exec_prefix$ac_delim
23699
 
prefix!$prefix$ac_delim
23700
 
program_transform_name!$program_transform_name$ac_delim
23701
 
bindir!$bindir$ac_delim
23702
 
sbindir!$sbindir$ac_delim
23703
 
libexecdir!$libexecdir$ac_delim
23704
 
datarootdir!$datarootdir$ac_delim
23705
 
datadir!$datadir$ac_delim
23706
 
sysconfdir!$sysconfdir$ac_delim
23707
 
sharedstatedir!$sharedstatedir$ac_delim
23708
 
localstatedir!$localstatedir$ac_delim
23709
 
includedir!$includedir$ac_delim
23710
 
oldincludedir!$oldincludedir$ac_delim
23711
 
docdir!$docdir$ac_delim
23712
 
infodir!$infodir$ac_delim
23713
 
htmldir!$htmldir$ac_delim
23714
 
dvidir!$dvidir$ac_delim
23715
 
pdfdir!$pdfdir$ac_delim
23716
 
psdir!$psdir$ac_delim
23717
 
libdir!$libdir$ac_delim
23718
 
localedir!$localedir$ac_delim
23719
 
mandir!$mandir$ac_delim
23720
 
DEFS!$DEFS$ac_delim
23721
 
ECHO_C!$ECHO_C$ac_delim
23722
 
ECHO_N!$ECHO_N$ac_delim
23723
 
ECHO_T!$ECHO_T$ac_delim
23724
 
LIBS!$LIBS$ac_delim
23725
 
build_alias!$build_alias$ac_delim
23726
 
host_alias!$host_alias$ac_delim
23727
 
target_alias!$target_alias$ac_delim
23728
 
ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
23729
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23730
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23731
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
23732
 
am__isrc!$am__isrc$ac_delim
23733
 
CYGPATH_W!$CYGPATH_W$ac_delim
23734
 
PACKAGE!$PACKAGE$ac_delim
23735
 
VERSION!$VERSION$ac_delim
23736
 
ACLOCAL!$ACLOCAL$ac_delim
23737
 
AUTOCONF!$AUTOCONF$ac_delim
23738
 
AUTOMAKE!$AUTOMAKE$ac_delim
23739
 
AUTOHEADER!$AUTOHEADER$ac_delim
23740
 
MAKEINFO!$MAKEINFO$ac_delim
23741
 
install_sh!$install_sh$ac_delim
23742
 
STRIP!$STRIP$ac_delim
23743
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23744
 
mkdir_p!$mkdir_p$ac_delim
23745
 
AWK!$AWK$ac_delim
23746
 
SET_MAKE!$SET_MAKE$ac_delim
23747
 
am__leading_dot!$am__leading_dot$ac_delim
23748
 
AMTAR!$AMTAR$ac_delim
23749
 
am__tar!$am__tar$ac_delim
23750
 
am__untar!$am__untar$ac_delim
23751
 
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23752
 
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23753
 
MAINT!$MAINT$ac_delim
23754
 
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23755
 
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23756
 
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23757
 
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23758
 
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23759
 
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23760
 
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23761
 
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23762
 
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23763
 
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23764
 
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23765
 
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23766
 
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23767
 
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23768
 
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23769
 
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23770
 
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23771
 
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23772
 
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
23773
 
XGETTEXT!$XGETTEXT$ac_delim
23774
 
MSGMERGE!$MSGMERGE$ac_delim
23775
 
MSGFMT!$MSGFMT$ac_delim
23776
 
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23777
 
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23778
 
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23779
 
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23780
 
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23781
 
CC!$CC$ac_delim
23782
 
CFLAGS!$CFLAGS$ac_delim
23783
 
LDFLAGS!$LDFLAGS$ac_delim
23784
 
CPPFLAGS!$CPPFLAGS$ac_delim
23785
 
ac_ct_CC!$ac_ct_CC$ac_delim
23786
 
EXEEXT!$EXEEXT$ac_delim
23787
 
OBJEXT!$OBJEXT$ac_delim
23788
 
_ACEOF
23789
 
 
23790
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23791
 
    break
23792
 
  elif $ac_last_try; then
23793
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23794
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23795
 
   { (exit 1); exit 1; }; }
23796
 
  else
23797
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23798
 
  fi
23799
 
done
23800
 
 
23801
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23802
 
if test -n "$ac_eof"; then
23803
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23804
 
  ac_eof=`expr $ac_eof + 1`
23805
 
fi
23806
 
 
23807
 
cat >>$CONFIG_STATUS <<_ACEOF
23808
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23809
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23810
 
_ACEOF
23811
 
sed '
23812
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23813
 
s/^/s,@/; s/!/@,|#_!!_#|/
23814
 
:n
23815
 
t n
23816
 
s/'"$ac_delim"'$/,g/; t
23817
 
s/$/\\/; p
23818
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23819
 
' >>$CONFIG_STATUS <conf$$subs.sed
23820
 
rm -f conf$$subs.sed
23821
 
cat >>$CONFIG_STATUS <<_ACEOF
23822
 
CEOF$ac_eof
23823
 
_ACEOF
23824
 
 
23825
 
 
23826
 
ac_delim='%!_!# '
23827
 
for ac_last_try in false false false false false :; do
23828
 
  cat >conf$$subs.sed <<_ACEOF
23829
 
DEPDIR!$DEPDIR$ac_delim
23830
 
am__include!$am__include$ac_delim
23831
 
am__quote!$am__quote$ac_delim
23832
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23833
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23834
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23835
 
CCDEPMODE!$CCDEPMODE$ac_delim
23836
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23837
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23838
 
DATADIRNAME!$DATADIRNAME$ac_delim
23839
 
CPP!$CPP$ac_delim
23840
 
GREP!$GREP$ac_delim
23841
 
EGREP!$EGREP$ac_delim
23842
 
build!$build$ac_delim
23843
 
build_cpu!$build_cpu$ac_delim
23844
 
build_vendor!$build_vendor$ac_delim
23845
 
build_os!$build_os$ac_delim
23846
 
host!$host$ac_delim
23847
 
host_cpu!$host_cpu$ac_delim
23848
 
host_vendor!$host_vendor$ac_delim
23849
 
host_os!$host_os$ac_delim
23850
 
LN_S!$LN_S$ac_delim
23851
 
ECHO!$ECHO$ac_delim
23852
 
AR!$AR$ac_delim
23853
 
RANLIB!$RANLIB$ac_delim
23854
 
CXX!$CXX$ac_delim
23855
 
CXXFLAGS!$CXXFLAGS$ac_delim
23856
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
23857
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
23858
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23859
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23860
 
CXXCPP!$CXXCPP$ac_delim
23861
 
F77!$F77$ac_delim
23862
 
FFLAGS!$FFLAGS$ac_delim
23863
 
ac_ct_F77!$ac_ct_F77$ac_delim
23864
 
LIBTOOL!$LIBTOOL$ac_delim
23865
 
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
23866
 
PKG_CONFIG!$PKG_CONFIG$ac_delim
23867
 
NETTOOL_CFLAGS!$NETTOOL_CFLAGS$ac_delim
23868
 
NETTOOL_LIBS!$NETTOOL_LIBS$ac_delim
23869
 
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23870
 
USE_NLS!$USE_NLS$ac_delim
23871
 
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
23872
 
GMSGFMT!$GMSGFMT$ac_delim
23873
 
CATALOGS!$CATALOGS$ac_delim
23874
 
CATOBJEXT!$CATOBJEXT$ac_delim
23875
 
GMOFILES!$GMOFILES$ac_delim
23876
 
INSTOBJEXT!$INSTOBJEXT$ac_delim
23877
 
INTLLIBS!$INTLLIBS$ac_delim
23878
 
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23879
 
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23880
 
POFILES!$POFILES$ac_delim
23881
 
POSUB!$POSUB$ac_delim
23882
 
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23883
 
HELP_DIR!$HELP_DIR$ac_delim
23884
 
OMF_DIR!$OMF_DIR$ac_delim
23885
 
DOC_USER_FORMATS!$DOC_USER_FORMATS$ac_delim
23886
 
ENABLE_SK_TRUE!$ENABLE_SK_TRUE$ac_delim
23887
 
ENABLE_SK_FALSE!$ENABLE_SK_FALSE$ac_delim
23888
 
DISTCHECK_CONFIGURE_FLAGS!$DISTCHECK_CONFIGURE_FLAGS$ac_delim
23889
 
HAVE_GNOME_DOC_UTILS_TRUE!$HAVE_GNOME_DOC_UTILS_TRUE$ac_delim
23890
 
HAVE_GNOME_DOC_UTILS_FALSE!$HAVE_GNOME_DOC_UTILS_FALSE$ac_delim
23891
 
LIBOBJS!$LIBOBJS$ac_delim
23892
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
23893
 
_ACEOF
23894
 
 
23895
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
23896
 
    break
23897
 
  elif $ac_last_try; then
23898
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23899
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23900
 
   { (exit 1); exit 1; }; }
23901
 
  else
23902
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23903
 
  fi
23904
 
done
23905
 
 
23906
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23907
 
if test -n "$ac_eof"; then
23908
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23909
 
  ac_eof=`expr $ac_eof + 1`
23910
 
fi
23911
 
 
23912
 
cat >>$CONFIG_STATUS <<_ACEOF
23913
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23914
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23915
 
_ACEOF
23916
 
sed '
23917
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23918
 
s/^/s,@/; s/!/@,|#_!!_#|/
23919
 
:n
23920
 
t n
23921
 
s/'"$ac_delim"'$/,g/; t
23922
 
s/$/\\/; p
23923
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23924
 
' >>$CONFIG_STATUS <conf$$subs.sed
23925
 
rm -f conf$$subs.sed
23926
 
cat >>$CONFIG_STATUS <<_ACEOF
23927
 
:end
23928
 
s/|#_!!_#|//g
23929
 
CEOF$ac_eof
23930
 
_ACEOF
23931
 
 
 
24601
 
 
24602
ac_cr='
 
 
b"'"
 
24603
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
24604
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
24605
  ac_cs_awk_cr='\\r'
 
24606
else
 
24607
  ac_cs_awk_cr=$ac_cr
 
24608
fi
 
24609
 
 
24610
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
24611
_ACEOF
 
24612
 
 
24613
 
 
24614
{
 
24615
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
24616
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
24617
  echo "_ACEOF"
 
24618
} >conf$$subs.sh ||
 
24619
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24620
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24621
   { (exit 1); exit 1; }; }
 
24622
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
24623
ac_delim='%!_!# '
 
24624
for ac_last_try in false false false false false :; do
 
24625
  . ./conf$$subs.sh ||
 
24626
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24627
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24628
   { (exit 1); exit 1; }; }
 
24629
 
 
24630
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 
24631
    break
 
24632
  elif $ac_last_try; then
 
24633
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24634
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24635
   { (exit 1); exit 1; }; }
 
24636
  else
 
24637
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24638
  fi
 
24639
done
 
24640
rm -f conf$$subs.sh
 
24641
 
 
24642
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24643
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
24644
_ACEOF
 
24645
sed -n '
 
24646
h
 
24647
s/^/S["/; s/!.*/"]=/
 
24648
p
 
24649
g
 
24650
s/^[^!]*!//
 
24651
:repl
 
24652
t repl
 
24653
s/'"$ac_delim"'$//
 
24654
t delim
 
24655
:nl
 
24656
h
 
24657
s/\(.\{148\}\).*/\1/
 
24658
t more1
 
24659
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
24660
p
 
24661
n
 
24662
b repl
 
24663
:more1
 
24664
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24665
p
 
24666
g
 
24667
s/.\{148\}//
 
24668
t nl
 
24669
:delim
 
24670
h
 
24671
s/\(.\{148\}\).*/\1/
 
24672
t more2
 
24673
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
24674
p
 
24675
b
 
24676
:more2
 
24677
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
24678
p
 
24679
g
 
24680
s/.\{148\}//
 
24681
t delim
 
24682
' <conf$$subs.awk | sed '
 
24683
/^[^""]/{
 
24684
  N
 
24685
  s/\n//
 
24686
}
 
24687
' >>$CONFIG_STATUS || ac_write_fail=1
 
24688
rm -f conf$$subs.awk
 
24689
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24690
_ACAWK
 
24691
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
24692
  for (key in S) S_is_set[key] = 1
 
24693
  FS = ""
 
24694
 
 
24695
}
 
24696
{
 
24697
  line = $ 0
 
24698
  nfields = split(line, field, "@")
 
24699
  substed = 0
 
24700
  len = length(field[1])
 
24701
  for (i = 2; i < nfields; i++) {
 
24702
    key = field[i]
 
24703
    keylen = length(key)
 
24704
    if (S_is_set[key]) {
 
24705
      value = S[key]
 
24706
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
24707
      len += length(value) + length(field[++i])
 
24708
      substed = 1
 
24709
    } else
 
24710
      len += 1 + keylen
 
24711
  }
 
24712
 
 
24713
  print line
 
24714
}
 
24715
 
 
24716
_ACAWK
 
24717
_ACEOF
 
24718
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24719
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
24720
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
24721
else
 
24722
  cat
 
24723
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
24724
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
24725
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
24726
   { (exit 1); exit 1; }; }
 
24727
_ACEOF
23932
24728
 
23933
24729
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23934
24730
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23945
24741
}'
23946
24742
fi
23947
24743
 
23948
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
24744
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23949
24745
fi # test -n "$CONFIG_FILES"
23950
24746
 
23951
 
 
23952
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
24747
# Set up the scripts for CONFIG_HEADERS section.
 
24748
# No need to generate them if there are no CONFIG_HEADERS.
 
24749
# This happens for instance with `./config.status Makefile'.
 
24750
if test -n "$CONFIG_HEADERS"; then
 
24751
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
24752
BEGIN {
 
24753
_ACEOF
 
24754
 
 
24755
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
24756
# here-document in config.status, that substitutes the proper values into
 
24757
# config.h.in to produce config.h.
 
24758
 
 
24759
# Create a delimiter string that does not exist in confdefs.h, to ease
 
24760
# handling of long lines.
 
24761
ac_delim='%!_!# '
 
24762
for ac_last_try in false false :; do
 
24763
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
24764
  if test -z "$ac_t"; then
 
24765
    break
 
24766
  elif $ac_last_try; then
 
24767
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
24768
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
24769
   { (exit 1); exit 1; }; }
 
24770
  else
 
24771
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24772
  fi
 
24773
done
 
24774
 
 
24775
# For the awk script, D is an array of macro values keyed by name,
 
24776
# likewise P contains macro parameters if any.  Preserve backslash
 
24777
# newline sequences.
 
24778
 
 
24779
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
24780
sed -n '
 
24781
s/.\{148\}/&'"$ac_delim"'/g
 
24782
t rset
 
24783
:rset
 
24784
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
24785
t def
 
24786
d
 
24787
:def
 
24788
s/\\$//
 
24789
t bsnl
 
24790
s/["\\]/\\&/g
 
24791
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
24792
D["\1"]=" \3"/p
 
24793
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
24794
d
 
24795
:bsnl
 
24796
s/["\\]/\\&/g
 
24797
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
24798
D["\1"]=" \3\\\\\\n"\\/p
 
24799
t cont
 
24800
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
24801
t cont
 
24802
d
 
24803
:cont
 
24804
n
 
24805
s/.\{148\}/&'"$ac_delim"'/g
 
24806
t clear
 
24807
:clear
 
24808
s/\\$//
 
24809
t bsnlc
 
24810
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
24811
d
 
24812
:bsnlc
 
24813
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
24814
b cont
 
24815
' <confdefs.h | sed '
 
24816
s/'"$ac_delim"'/"\\\
 
24817
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
24818
 
 
24819
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
24820
  for (key in D) D_is_set[key] = 1
 
24821
  FS = ""
 
24822
}
 
24823
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
24824
  line = \$ 0
 
24825
  split(line, arg, " ")
 
24826
  if (arg[1] == "#") {
 
24827
    defundef = arg[2]
 
24828
    mac1 = arg[3]
 
24829
  } else {
 
24830
    defundef = substr(arg[1], 2)
 
24831
    mac1 = arg[2]
 
24832
  }
 
24833
  split(mac1, mac2, "(") #)
 
24834
  macro = mac2[1]
 
24835
  if (D_is_set[macro]) {
 
24836
    # Preserve the white space surrounding the "#".
 
24837
    prefix = substr(line, 1, index(line, defundef) - 1)
 
24838
    print prefix "define", macro P[macro] D[macro]
 
24839
    next
 
24840
  } else {
 
24841
    # Replace #undef with comments.  This is necessary, for example,
 
24842
    # in the case of _POSIX_SOURCE, which is predefined and required
 
24843
    # on some systems where configure will not decide to define it.
 
24844
    if (defundef == "undef") {
 
24845
      print "/*", line, "*/"
 
24846
      next
 
24847
    }
 
24848
  }
 
24849
}
 
24850
{ print }
 
24851
_ACAWK
 
24852
_ACEOF
 
24853
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
24854
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
24855
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
24856
   { (exit 1); exit 1; }; }
 
24857
fi # test -n "$CONFIG_HEADERS"
 
24858
 
 
24859
 
 
24860
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
24861
shift
 
24862
for ac_tag
23953
24863
do
23954
24864
  case $ac_tag in
23955
24865
  :[FHLC]) ac_mode=$ac_tag; continue;;
23956
24866
  esac
23957
24867
  case $ac_mode$ac_tag in
23958
24868
  :[FHL]*:*);;
23959
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23960
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
24869
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
24870
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23961
24871
   { (exit 1); exit 1; }; };;
23962
24872
  :[FH]-) ac_tag=-:-;;
23963
24873
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23986
24896
           [\\/$]*) false;;
23987
24897
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23988
24898
           esac ||
23989
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23990
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
24899
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
24900
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23991
24901
   { (exit 1); exit 1; }; };;
23992
24902
      esac
23993
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
24903
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
24904
      ac_file_inputs="$ac_file_inputs '$ac_f'"
23994
24905
    done
23995
24906
 
23996
24907
    # Let's still pretend it is `configure' which instantiates (i.e., don't
23997
24908
    # use $as_me), people would be surprised to read:
23998
24909
    #    /* config.h.  Generated by config.status.  */
23999
 
    configure_input="Generated from "`IFS=:
24000
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
24910
    configure_input='Generated from '`
 
24911
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
24912
        `' by configure.'
24001
24913
    if test x"$ac_file" != x-; then
24002
24914
      configure_input="$ac_file.  $configure_input"
24003
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
24004
 
echo "$as_me: creating $ac_file" >&6;}
 
24915
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
24916
$as_echo "$as_me: creating $ac_file" >&6;}
24005
24917
    fi
 
24918
    # Neutralize special characters interpreted by sed in replacement strings.
 
24919
    case $configure_input in #(
 
24920
    *\&* | *\|* | *\\* )
 
24921
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
24922
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
24923
    *) ac_sed_conf_input=$configure_input;;
 
24924
    esac
24006
24925
 
24007
24926
    case $ac_tag in
24008
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
24927
    *:-:* | *:-) cat >"$tmp/stdin" \
 
24928
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
24929
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
24930
   { (exit 1); exit 1; }; } ;;
24009
24931
    esac
24010
24932
    ;;
24011
24933
  esac
24015
24937
         X"$ac_file" : 'X\(//\)[^/]' \| \
24016
24938
         X"$ac_file" : 'X\(//\)$' \| \
24017
24939
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24018
 
echo X"$ac_file" |
 
24940
$as_echo X"$ac_file" |
24019
24941
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24020
24942
            s//\1/
24021
24943
            q
24041
24963
    as_dirs=
24042
24964
    while :; do
24043
24965
      case $as_dir in #(
24044
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
24966
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24045
24967
      *) as_qdir=$as_dir;;
24046
24968
      esac
24047
24969
      as_dirs="'$as_qdir' $as_dirs"
24050
24972
         X"$as_dir" : 'X\(//\)[^/]' \| \
24051
24973
         X"$as_dir" : 'X\(//\)$' \| \
24052
24974
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24053
 
echo X"$as_dir" |
 
24975
$as_echo X"$as_dir" |
24054
24976
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24055
24977
            s//\1/
24056
24978
            q
24071
24993
      test -d "$as_dir" && break
24072
24994
    done
24073
24995
    test -z "$as_dirs" || eval "mkdir $as_dirs"
24074
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24075
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
24996
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
24997
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24076
24998
   { (exit 1); exit 1; }; }; }
24077
24999
  ac_builddir=.
24078
25000
 
24079
25001
case "$ac_dir" in
24080
25002
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24081
25003
*)
24082
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
25004
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24083
25005
  # A ".." for each directory in $ac_dir_suffix.
24084
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
25006
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24085
25007
  case $ac_top_builddir_sub in
24086
25008
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24087
25009
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24126
25048
  esac
24127
25049
_ACEOF
24128
25050
 
24129
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
25051
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24130
25052
# If the template does not know about datarootdir, expand it.
24131
25053
# FIXME: This hack should be removed a few years after 2.60.
24132
25054
ac_datarootdir_hack=; ac_datarootdir_seen=
24133
25055
 
24134
 
case `sed -n '/datarootdir/ {
 
25056
ac_sed_dataroot='
 
25057
/datarootdir/ {
24135
25058
  p
24136
25059
  q
24137
25060
}
24140
25063
/@infodir@/p
24141
25064
/@localedir@/p
24142
25065
/@mandir@/p
24143
 
' $ac_file_inputs` in
 
25066
'
 
25067
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24144
25068
*datarootdir*) ac_datarootdir_seen=yes;;
24145
25069
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24146
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24147
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
25070
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
25071
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24148
25072
_ACEOF
24149
 
cat >>$CONFIG_STATUS <<_ACEOF
 
25073
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24150
25074
  ac_datarootdir_hack='
24151
25075
  s&@datadir@&$datadir&g
24152
25076
  s&@docdir@&$docdir&g
24160
25084
# Neutralize VPATH when `$srcdir' = `.'.
24161
25085
# Shell code in configure.ac might set extrasub.
24162
25086
# FIXME: do we really want to maintain this feature?
24163
 
cat >>$CONFIG_STATUS <<_ACEOF
24164
 
  sed "$ac_vpsub
 
25087
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
25088
ac_sed_extra="$ac_vpsub
24165
25089
$extrasub
24166
25090
_ACEOF
24167
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
25091
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24168
25092
:t
24169
25093
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24170
 
s&@configure_input@&$configure_input&;t t
 
25094
s|@configure_input@|$ac_sed_conf_input|;t t
24171
25095
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
25096
s&@top_build_prefix@&$ac_top_build_prefix&;t t
24172
25097
s&@srcdir@&$ac_srcdir&;t t
24173
25098
s&@abs_srcdir@&$ac_abs_srcdir&;t t
24174
25099
s&@top_srcdir@&$ac_top_srcdir&;t t
24179
25104
s&@INSTALL@&$ac_INSTALL&;t t
24180
25105
s&@MKDIR_P@&$ac_MKDIR_P&;t t
24181
25106
$ac_datarootdir_hack
24182
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
25107
"
 
25108
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
25109
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25110
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25111
   { (exit 1); exit 1; }; }
24183
25112
 
24184
25113
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24185
25114
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24186
25115
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24187
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
25116
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24188
25117
which seems to be undefined.  Please make sure it is defined." >&5
24189
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
25118
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24190
25119
which seems to be undefined.  Please make sure it is defined." >&2;}
24191
25120
 
24192
25121
  rm -f "$tmp/stdin"
24193
25122
  case $ac_file in
24194
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
24195
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24196
 
  esac
 
25123
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
25124
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
25125
  esac \
 
25126
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25127
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25128
   { (exit 1); exit 1; }; }
24197
25129
 ;;
24198
25130
  :H)
24199
25131
  #
24200
25132
  # CONFIG_HEADER
24201
25133
  #
24202
 
_ACEOF
24203
 
 
24204
 
# Transform confdefs.h into a sed script `conftest.defines', that
24205
 
# substitutes the proper values into config.h.in to produce config.h.
24206
 
rm -f conftest.defines conftest.tail
24207
 
# First, append a space to every undef/define line, to ease matching.
24208
 
echo 's/$/ /' >conftest.defines
24209
 
# Then, protect against being on the right side of a sed subst, or in
24210
 
# an unquoted here document, in config.status.  If some macros were
24211
 
# called several times there might be several #defines for the same
24212
 
# symbol, which is useless.  But do not sort them, since the last
24213
 
# AC_DEFINE must be honored.
24214
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24215
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24216
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
24217
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
24218
 
# just an empty string.
24219
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
24220
 
ac_dB='\\)[      (].*,\\1define\\2'
24221
 
ac_dC=' '
24222
 
ac_dD=' ,'
24223
 
 
24224
 
uniq confdefs.h |
24225
 
  sed -n '
24226
 
        t rset
24227
 
        :rset
24228
 
        s/^[     ]*#[    ]*define[       ][      ]*//
24229
 
        t ok
24230
 
        d
24231
 
        :ok
24232
 
        s/[\\&,]/\\&/g
24233
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24234
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24235
 
  ' >>conftest.defines
24236
 
 
24237
 
# Remove the space that was appended to ease matching.
24238
 
# Then replace #undef with comments.  This is necessary, for
24239
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
24240
 
# on some systems where configure will not decide to define it.
24241
 
# (The regexp can be short, since the line contains either #define or #undef.)
24242
 
echo 's/ $//
24243
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
24244
 
 
24245
 
# Break up conftest.defines:
24246
 
ac_max_sed_lines=50
24247
 
 
24248
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24249
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24250
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24251
 
# et cetera.
24252
 
ac_in='$ac_file_inputs'
24253
 
ac_out='"$tmp/out1"'
24254
 
ac_nxt='"$tmp/out2"'
24255
 
 
24256
 
while :
24257
 
do
24258
 
  # Write a here document:
24259
 
    cat >>$CONFIG_STATUS <<_ACEOF
24260
 
    # First, check the format of the line:
24261
 
    cat >"\$tmp/defines.sed" <<\\CEOF
24262
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
24263
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
24264
 
b
24265
 
:def
24266
 
_ACEOF
24267
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24268
 
  echo 'CEOF
24269
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24270
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24271
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24272
 
  grep . conftest.tail >/dev/null || break
24273
 
  rm -f conftest.defines
24274
 
  mv conftest.tail conftest.defines
24275
 
done
24276
 
rm -f conftest.defines conftest.tail
24277
 
 
24278
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
24279
 
cat >>$CONFIG_STATUS <<\_ACEOF
24280
25134
  if test x"$ac_file" != x-; then
24281
 
    echo "/* $configure_input  */" >"$tmp/config.h"
24282
 
    cat "$ac_result" >>"$tmp/config.h"
24283
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24284
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24285
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
25135
    {
 
25136
      $as_echo "/* $configure_input  */" \
 
25137
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
25138
    } >"$tmp/config.h" \
 
25139
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25140
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25141
   { (exit 1); exit 1; }; }
 
25142
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
25143
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
25144
$as_echo "$as_me: $ac_file is unchanged" >&6;}
24286
25145
    else
24287
 
      rm -f $ac_file
24288
 
      mv "$tmp/config.h" $ac_file
 
25146
      rm -f "$ac_file"
 
25147
      mv "$tmp/config.h" "$ac_file" \
 
25148
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
25149
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
25150
   { (exit 1); exit 1; }; }
24289
25151
    fi
24290
25152
  else
24291
 
    echo "/* $configure_input  */"
24292
 
    cat "$ac_result"
 
25153
    $as_echo "/* $configure_input  */" \
 
25154
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
25155
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
25156
$as_echo "$as_me: error: could not create -" >&2;}
 
25157
   { (exit 1); exit 1; }; }
24293
25158
  fi
24294
 
  rm -f "$tmp/out12"
24295
 
# Compute $ac_file's index in $config_headers.
 
25159
# Compute "$ac_file"'s index in $config_headers.
 
25160
_am_arg="$ac_file"
24296
25161
_am_stamp_count=1
24297
25162
for _am_header in $config_headers :; do
24298
25163
  case $_am_header in
24299
 
    $ac_file | $ac_file:* )
 
25164
    $_am_arg | $_am_arg:* )
24300
25165
      break ;;
24301
25166
    * )
24302
25167
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24303
25168
  esac
24304
25169
done
24305
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24306
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24307
 
         X$ac_file : 'X\(//\)[^/]' \| \
24308
 
         X$ac_file : 'X\(//\)$' \| \
24309
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24310
 
echo X$ac_file |
 
25170
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
25171
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
25172
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
25173
         X"$_am_arg" : 'X\(//\)$' \| \
 
25174
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
25175
$as_echo X"$_am_arg" |
24311
25176
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24312
25177
            s//\1/
24313
25178
            q
24327
25192
          s/.*/./; q'`/stamp-h$_am_stamp_count
24328
25193
 ;;
24329
25194
 
24330
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24331
 
echo "$as_me: executing $ac_file commands" >&6;}
 
25195
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
25196
$as_echo "$as_me: executing $ac_file commands" >&6;}
24332
25197
 ;;
24333
25198
  esac
24334
25199
 
24344
25209
  # each Makefile.in and add a new line on top of each file to say so.
24345
25210
  # Grep'ing the whole file is not good either: AIX grep has a line
24346
25211
  # limit of 2048, but all sed's we know have understand at least 4000.
24347
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
25212
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24348
25213
    dirpart=`$as_dirname -- "$mf" ||
24349
25214
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24350
25215
         X"$mf" : 'X\(//\)[^/]' \| \
24351
25216
         X"$mf" : 'X\(//\)$' \| \
24352
25217
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24353
 
echo X"$mf" |
 
25218
$as_echo X"$mf" |
24354
25219
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24355
25220
            s//\1/
24356
25221
            q
24394
25259
         X"$file" : 'X\(//\)[^/]' \| \
24395
25260
         X"$file" : 'X\(//\)$' \| \
24396
25261
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24397
 
echo X"$file" |
 
25262
$as_echo X"$file" |
24398
25263
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24399
25264
            s//\1/
24400
25265
            q
24420
25285
    as_dirs=
24421
25286
    while :; do
24422
25287
      case $as_dir in #(
24423
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
25288
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24424
25289
      *) as_qdir=$as_dir;;
24425
25290
      esac
24426
25291
      as_dirs="'$as_qdir' $as_dirs"
24429
25294
         X"$as_dir" : 'X\(//\)[^/]' \| \
24430
25295
         X"$as_dir" : 'X\(//\)$' \| \
24431
25296
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24432
 
echo X"$as_dir" |
 
25297
$as_echo X"$as_dir" |
24433
25298
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24434
25299
            s//\1/
24435
25300
            q
24450
25315
      test -d "$as_dir" && break
24451
25316
    done
24452
25317
    test -z "$as_dirs" || eval "mkdir $as_dirs"
24453
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24454
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
25318
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
25319
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24455
25320
   { (exit 1); exit 1; }; }; }
24456
25321
    # echo "creating $dirpart/$file"
24457
25322
    echo '# dummy' > "$dirpart/$file"
24458
25323
  done
24459
25324
done
24460
25325
 ;;
24461
 
    "intltool":C)
24462
 
 
24463
 
for file in intltool-extract intltool-merge intltool-update; do
24464
 
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
24465
 
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
24466
 
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
24467
 
        < ${ac_aux_dir}/${file}.in > ${file}.out
24468
 
  if cmp -s ${file} ${file}.out 2>/dev/null; then
24469
 
    rm -f ${file}.out
24470
 
  else
24471
 
    mv -f ${file}.out ${file}
24472
 
  fi
24473
 
  chmod ugo+x ${file}
24474
 
  chmod u+w ${file}
24475
 
done
24476
 
 
24477
 
 ;;
24478
25326
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
24479
25327
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
24480
25328
      esac ;;
24488
25336
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
24489
25337
 
24490
25338
    if test ! -f "po/Makefile"; then
24491
 
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
24492
 
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
25339
      { { $as_echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
25340
$as_echo "$as_me: error: po/Makefile is not ready." >&2;}
24493
25341
   { (exit 1); exit 1; }; }
24494
25342
    fi
24495
25343
    mv "po/Makefile" "po/Makefile.tmp"
24511
25359
chmod +x $CONFIG_STATUS
24512
25360
ac_clean_files=$ac_clean_files_save
24513
25361
 
 
25362
test $ac_write_fail = 0 ||
 
25363
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
25364
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
25365
   { (exit 1); exit 1; }; }
 
25366
 
24514
25367
 
24515
25368
# configure is writing to config.log, and then calls config.status.
24516
25369
# config.status does its own redirection, appending to config.log.
24532
25385
  # would make configure fail if this is the last instruction.
24533
25386
  $ac_cs_success || { (exit 1); exit 1; }
24534
25387
fi
 
25388
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
25389
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 
25390
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 
25391
fi
24535
25392