~ubuntu-branches/ubuntu/oneiric/gecko-mediaplayer/oneiric

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-05-27 15:19:19 UTC
  • Revision ID: james.westby@ubuntu.com-20110527151919-rkrubbf0f2od2js0
Tags: 1.0.0-0ubuntu3
* Don't use any Mozilla interfaces at all. The only interfaces used
  previously were nsIPrefBranch and nsIPrefService to change a preference
  which configured the UA string to "QuickTime/7.6.4". This functionality
  is Firefox specific anyway, and so doesn't work in any Webkit based browser
  (Chromium, Epiphany, Midori etc). It also doesn't work in Firefox 4
  and later since the plugin is running in a separate process, where setting
  prefs in the plugin process has no effect on the browser process at all
  - add debian/patches/dont_use_libxul.patch
  - add debian/patches/autotools.patch
  - update debian/patches/series
  - update debian/control to build-depend on firefox-dev
  - see https://blueprints.launchpad.net/ubuntu/+spec/
          desktop-o-mozilla-rapid-release-maintenance and
    https://lists.ubuntu.com/archives/ubuntu-devel/2011-May/033229.html

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.65.
 
3
# Generated by GNU Autoconf 2.68.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
 
# Inc.
 
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# Foundation, Inc.
9
9
#
10
10
#
11
11
# This configure script is free software; the Free Software Foundation
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
214
215
  # We cannot yet assume a decent shell, so we have to provide a
215
216
        # neutralization value for shells without unset; and this also
216
217
        # works around shells that cannot unset nonexistent variables.
 
218
        # Preserve -v and -x to the replacement shell.
217
219
        BASH_ENV=/dev/null
218
220
        ENV=/dev/null
219
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
222
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
223
        case $- in # ((((
 
224
          *v*x* | *x*v* ) as_opts=-vx ;;
 
225
          *v* ) as_opts=-v ;;
 
226
          *x* ) as_opts=-x ;;
 
227
          * ) as_opts= ;;
 
228
        esac
 
229
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
230
fi
223
231
 
224
232
    if test x$as_have_required = xno; then :
316
324
      test -d "$as_dir" && break
317
325
    done
318
326
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
327
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
328
 
321
329
 
322
330
} # as_fn_mkdir_p
356
364
fi # as_fn_arith
357
365
 
358
366
 
359
 
# as_fn_error ERROR [LINENO LOG_FD]
360
 
# ---------------------------------
 
367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
368
# ----------------------------------------
361
369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
 
# script with status $?, using 1 if that was 0.
 
371
# script with STATUS, using 1 if that was 0.
364
372
as_fn_error ()
365
373
{
366
 
  as_status=$?; test $as_status -eq 0 && as_status=1
367
 
  if test "$3"; then
368
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
374
  as_status=$1; test $as_status -eq 0 && as_status=1
 
375
  if test "$4"; then
 
376
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
377
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
378
  fi
371
 
  $as_echo "$as_me: error: $1" >&2
 
379
  $as_echo "$as_me: error: $2" >&2
372
380
  as_fn_exit $as_status
373
381
} # as_fn_error
374
382
 
530
538
exec 6>&1
531
539
 
532
540
# Name of the host.
533
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
541
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534
542
# so uname gets run too.
535
543
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
544
 
614
622
GECKO_CFLAGS
615
623
GLIB_LIBS
616
624
GLIB_CFLAGS
 
625
PKG_CONFIG_LIBDIR
 
626
PKG_CONFIG_PATH
617
627
PKG_CONFIG
618
628
MKINSTALLDIRS
619
629
POSUB
750
760
CXXFLAGS
751
761
CCC
752
762
PKG_CONFIG
 
763
PKG_CONFIG_PATH
 
764
PKG_CONFIG_LIBDIR
753
765
GLIB_CFLAGS
754
766
GLIB_LIBS
755
767
GECKO_CFLAGS
824
836
  fi
825
837
 
826
838
  case $ac_option in
827
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828
 
  *)    ac_optarg=yes ;;
 
839
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
840
  *=)   ac_optarg= ;;
 
841
  *)    ac_optarg=yes ;;
829
842
  esac
830
843
 
831
844
  # Accept the important Cygnus configure options, so we can diagnose typos.
870
883
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871
884
    # Reject names that are not valid shell variable names.
872
885
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873
 
      as_fn_error "invalid feature name: $ac_useropt"
 
886
      as_fn_error $? "invalid feature name: $ac_useropt"
874
887
    ac_useropt_orig=$ac_useropt
875
888
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876
889
    case $ac_user_opts in
896
909
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897
910
    # Reject names that are not valid shell variable names.
898
911
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899
 
      as_fn_error "invalid feature name: $ac_useropt"
 
912
      as_fn_error $? "invalid feature name: $ac_useropt"
900
913
    ac_useropt_orig=$ac_useropt
901
914
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902
915
    case $ac_user_opts in
1100
1113
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101
1114
    # Reject names that are not valid shell variable names.
1102
1115
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103
 
      as_fn_error "invalid package name: $ac_useropt"
 
1116
      as_fn_error $? "invalid package name: $ac_useropt"
1104
1117
    ac_useropt_orig=$ac_useropt
1105
1118
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106
1119
    case $ac_user_opts in
1116
1129
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117
1130
    # Reject names that are not valid shell variable names.
1118
1131
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119
 
      as_fn_error "invalid package name: $ac_useropt"
 
1132
      as_fn_error $? "invalid package name: $ac_useropt"
1120
1133
    ac_useropt_orig=$ac_useropt
1121
1134
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122
1135
    case $ac_user_opts in
1146
1159
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1147
1160
    x_libraries=$ac_optarg ;;
1148
1161
 
1149
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1150
 
Try \`$0 --help' for more information."
 
1162
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1163
Try \`$0 --help' for more information"
1151
1164
    ;;
1152
1165
 
1153
1166
  *=*)
1155
1168
    # Reject names that are not valid shell variable names.
1156
1169
    case $ac_envvar in #(
1157
1170
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1158
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1171
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1159
1172
    esac
1160
1173
    eval $ac_envvar=\$ac_optarg
1161
1174
    export $ac_envvar ;;
1165
1178
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166
1179
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1167
1180
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1181
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1169
1182
    ;;
1170
1183
 
1171
1184
  esac
1173
1186
 
1174
1187
if test -n "$ac_prev"; then
1175
1188
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1176
 
  as_fn_error "missing argument to $ac_option"
 
1189
  as_fn_error $? "missing argument to $ac_option"
1177
1190
fi
1178
1191
 
1179
1192
if test -n "$ac_unrecognized_opts"; then
1180
1193
  case $enable_option_checking in
1181
1194
    no) ;;
1182
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1195
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1183
1196
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184
1197
  esac
1185
1198
fi
1202
1215
    [\\/$]* | ?:[\\/]* )  continue;;
1203
1216
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204
1217
  esac
1205
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1218
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1206
1219
done
1207
1220
 
1208
1221
# There might be people who depend on the old broken behavior: `$host'
1216
1229
if test "x$host_alias" != x; then
1217
1230
  if test "x$build_alias" = x; then
1218
1231
    cross_compiling=maybe
1219
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1232
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1233
    If a cross compiler is detected then cross compile mode will be used" >&2
1221
1234
  elif test "x$build_alias" != "x$host_alias"; then
1222
1235
    cross_compiling=yes
1223
1236
  fi
1232
1245
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233
1246
ac_ls_di=`ls -di .` &&
1234
1247
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235
 
  as_fn_error "working directory cannot be determined"
 
1248
  as_fn_error $? "working directory cannot be determined"
1236
1249
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237
 
  as_fn_error "pwd does not report name of working directory"
 
1250
  as_fn_error $? "pwd does not report name of working directory"
1238
1251
 
1239
1252
 
1240
1253
# Find the source files, if location was not specified.
1273
1286
fi
1274
1287
if test ! -r "$srcdir/$ac_unique_file"; then
1275
1288
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1289
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1277
1290
fi
1278
1291
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279
1292
ac_abs_confdir=`(
1280
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1293
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281
1294
        pwd)`
1282
1295
# When building in place, set srcdir=.
1283
1296
if test "$ac_abs_confdir" = "$ac_pwd"; then
1317
1330
      --help=short        display options specific to this package
1318
1331
      --help=recursive    display the short help of all the included packages
1319
1332
  -V, --version           display version information and exit
1320
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1333
  -q, --quiet, --silent   do not print \`checking ...' messages
1321
1334
      --cache-file=FILE   cache test results in FILE [disabled]
1322
1335
  -C, --config-cache      alias for \`--cache-file=config.cache'
1323
1336
  -n, --no-create         do not create output files
1410
1423
  CXX         C++ compiler command
1411
1424
  CXXFLAGS    C++ compiler flags
1412
1425
  PKG_CONFIG  path to pkg-config utility
 
1426
  PKG_CONFIG_PATH
 
1427
              directories to add to pkg-config's search path
 
1428
  PKG_CONFIG_LIBDIR
 
1429
              path overriding pkg-config's built-in search path
1413
1430
  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1414
1431
  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1415
1432
  GECKO_CFLAGS
1492
1509
if $ac_init_version; then
1493
1510
  cat <<\_ACEOF
1494
1511
configure
1495
 
generated by GNU Autoconf 2.65
 
1512
generated by GNU Autoconf 2.68
1496
1513
 
1497
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1514
Copyright (C) 2010 Free Software Foundation, Inc.
1498
1515
This configure script is free software; the Free Software Foundation
1499
1516
gives unlimited permission to copy, distribute and modify it.
1500
1517
_ACEOF
1538
1555
 
1539
1556
        ac_retval=1
1540
1557
fi
1541
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1558
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1542
1559
  as_fn_set_status $ac_retval
1543
1560
 
1544
1561
} # ac_fn_c_try_compile
1584
1601
  # interfere with the next link command; also delete a directory that is
1585
1602
  # left behind by Apple's compiler.  We do this before executing the actions.
1586
1603
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1587
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1604
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588
1605
  as_fn_set_status $ac_retval
1589
1606
 
1590
1607
} # ac_fn_c_try_link
1610
1627
    mv -f conftest.er1 conftest.err
1611
1628
  fi
1612
1629
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613
 
  test $ac_status = 0; } >/dev/null && {
 
1630
  test $ac_status = 0; } > conftest.i && {
1614
1631
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1615
1632
         test ! -s conftest.err
1616
1633
       }; then :
1621
1638
 
1622
1639
    ac_retval=1
1623
1640
fi
1624
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1641
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625
1642
  as_fn_set_status $ac_retval
1626
1643
 
1627
1644
} # ac_fn_c_try_cpp
1663
1680
       ac_retval=$ac_status
1664
1681
fi
1665
1682
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1666
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1683
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667
1684
  as_fn_set_status $ac_retval
1668
1685
 
1669
1686
} # ac_fn_c_try_run
1701
1718
 
1702
1719
        ac_retval=1
1703
1720
fi
1704
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1721
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705
1722
  as_fn_set_status $ac_retval
1706
1723
 
1707
1724
} # ac_fn_cxx_try_compile
1714
1731
ac_fn_c_check_header_mongrel ()
1715
1732
{
1716
1733
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1734
  if eval \${$3+:} false; then :
1718
1735
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1719
1736
$as_echo_n "checking for $2... " >&6; }
1720
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1737
if eval \${$3+:} false; then :
1721
1738
  $as_echo_n "(cached) " >&6
1722
1739
fi
1723
1740
eval ac_res=\$$3
1753
1770
else
1754
1771
  ac_header_preproc=no
1755
1772
fi
1756
 
rm -f conftest.err conftest.$ac_ext
 
1773
rm -f conftest.err conftest.i conftest.$ac_ext
1757
1774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1758
1775
$as_echo "$ac_header_preproc" >&6; }
1759
1776
 
1780
1797
esac
1781
1798
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782
1799
$as_echo_n "checking for $2... " >&6; }
1783
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1800
if eval \${$3+:} false; then :
1784
1801
  $as_echo_n "(cached) " >&6
1785
1802
else
1786
1803
  eval "$3=\$ac_header_compiler"
1789
1806
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790
1807
$as_echo "$ac_res" >&6; }
1791
1808
fi
1792
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1809
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793
1810
 
1794
1811
} # ac_fn_c_check_header_mongrel
1795
1812
 
1802
1819
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803
1820
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804
1821
$as_echo_n "checking for $2... " >&6; }
1805
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1822
if eval \${$3+:} false; then :
1806
1823
  $as_echo_n "(cached) " >&6
1807
1824
else
1808
1825
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820
1837
eval ac_res=\$$3
1821
1838
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822
1839
$as_echo "$ac_res" >&6; }
1823
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1840
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824
1841
 
1825
1842
} # ac_fn_c_check_header_compile
1826
1843
 
1832
1849
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
1850
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834
1851
$as_echo_n "checking for $2... " >&6; }
1835
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1852
if eval \${$3+:} false; then :
1836
1853
  $as_echo_n "(cached) " >&6
1837
1854
else
1838
1855
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887
1904
eval ac_res=\$$3
1888
1905
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1889
1906
$as_echo "$ac_res" >&6; }
1890
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1907
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891
1908
 
1892
1909
} # ac_fn_c_check_func
1893
1910
cat >config.log <<_ACEOF
1895
1912
running configure, to aid debugging if configure makes a mistake.
1896
1913
 
1897
1914
It was created by $as_me, which was
1898
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
1915
generated by GNU Autoconf 2.68.  Invocation command line was
1899
1916
 
1900
1917
  $ $0 $@
1901
1918
 
2005
2022
  {
2006
2023
    echo
2007
2024
 
2008
 
    cat <<\_ASBOX
2009
 
## ---------------- ##
 
2025
    $as_echo "## ---------------- ##
2010
2026
## Cache variables. ##
2011
 
## ---------------- ##
2012
 
_ASBOX
 
2027
## ---------------- ##"
2013
2028
    echo
2014
2029
    # The following way of writing the cache mishandles newlines in values,
2015
2030
(
2043
2058
)
2044
2059
    echo
2045
2060
 
2046
 
    cat <<\_ASBOX
2047
 
## ----------------- ##
 
2061
    $as_echo "## ----------------- ##
2048
2062
## Output variables. ##
2049
 
## ----------------- ##
2050
 
_ASBOX
 
2063
## ----------------- ##"
2051
2064
    echo
2052
2065
    for ac_var in $ac_subst_vars
2053
2066
    do
2060
2073
    echo
2061
2074
 
2062
2075
    if test -n "$ac_subst_files"; then
2063
 
      cat <<\_ASBOX
2064
 
## ------------------- ##
 
2076
      $as_echo "## ------------------- ##
2065
2077
## File substitutions. ##
2066
 
## ------------------- ##
2067
 
_ASBOX
 
2078
## ------------------- ##"
2068
2079
      echo
2069
2080
      for ac_var in $ac_subst_files
2070
2081
      do
2078
2089
    fi
2079
2090
 
2080
2091
    if test -s confdefs.h; then
2081
 
      cat <<\_ASBOX
2082
 
## ----------- ##
 
2092
      $as_echo "## ----------- ##
2083
2093
## confdefs.h. ##
2084
 
## ----------- ##
2085
 
_ASBOX
 
2094
## ----------- ##"
2086
2095
      echo
2087
2096
      cat confdefs.h
2088
2097
      echo
2137
2146
ac_site_file1=NONE
2138
2147
ac_site_file2=NONE
2139
2148
if test -n "$CONFIG_SITE"; then
2140
 
  ac_site_file1=$CONFIG_SITE
 
2149
  # We do not want a PATH search for config.site.
 
2150
  case $CONFIG_SITE in #((
 
2151
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2152
    */*) ac_site_file1=$CONFIG_SITE;;
 
2153
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2154
  esac
2141
2155
elif test "x$prefix" != xNONE; then
2142
2156
  ac_site_file1=$prefix/share/config.site
2143
2157
  ac_site_file2=$prefix/etc/config.site
2152
2166
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2153
2167
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2154
2168
    sed 's/^/| /' "$ac_site_file" >&5
2155
 
    . "$ac_site_file"
 
2169
    . "$ac_site_file" \
 
2170
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2171
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2172
as_fn_error $? "failed to load site script $ac_site_file
 
2173
See \`config.log' for more details" "$LINENO" 5; }
2156
2174
  fi
2157
2175
done
2158
2176
 
2228
2246
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2229
2247
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2230
2248
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2231
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2249
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2232
2250
fi
2233
2251
## -------------------- ##
2234
2252
## Main body of script. ##
2245
2263
 
2246
2264
ac_aux_dir=
2247
2265
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2248
 
  for ac_t in install-sh install.sh shtool; do
2249
 
    if test -f "$ac_dir/$ac_t"; then
2250
 
      ac_aux_dir=$ac_dir
2251
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2252
 
      break 2
2253
 
    fi
2254
 
  done
 
2266
  if test -f "$ac_dir/install-sh"; then
 
2267
    ac_aux_dir=$ac_dir
 
2268
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2269
    break
 
2270
  elif test -f "$ac_dir/install.sh"; then
 
2271
    ac_aux_dir=$ac_dir
 
2272
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2273
    break
 
2274
  elif test -f "$ac_dir/shtool"; then
 
2275
    ac_aux_dir=$ac_dir
 
2276
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2277
    break
 
2278
  fi
2255
2279
done
2256
2280
if test -z "$ac_aux_dir"; then
2257
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2281
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2258
2282
fi
2259
2283
 
2260
2284
# These three variables are undocumented and unsupported,
2283
2307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2284
2308
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2285
2309
if test -z "$INSTALL"; then
2286
 
if test "${ac_cv_path_install+set}" = set; then :
 
2310
if ${ac_cv_path_install+:} false; then :
2287
2311
  $as_echo_n "(cached) " >&6
2288
2312
else
2289
2313
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370
2394
'
2371
2395
case `pwd` in
2372
2396
  *[\\\"\#\$\&\'\`$am_lf]*)
2373
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2397
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2374
2398
esac
2375
2399
case $srcdir in
2376
2400
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2377
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2401
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2378
2402
esac
2379
2403
 
2380
2404
# Do `set' in a subshell so we don't clobber the current shell's
2396
2420
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2397
2421
      # broken ls alias from the environment.  This has actually
2398
2422
      # happened.  Such a system could not be considered "sane".
2399
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2423
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2400
2424
alias in your environment" "$LINENO" 5
2401
2425
   fi
2402
2426
 
2406
2430
   # Ok.
2407
2431
   :
2408
2432
else
2409
 
   as_fn_error "newly created file is older than distributed files!
 
2433
   as_fn_error $? "newly created file is older than distributed files!
2410
2434
Check your system clock" "$LINENO" 5
2411
2435
fi
2412
2436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2460
2484
set dummy ${ac_tool_prefix}strip; ac_word=$2
2461
2485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2462
2486
$as_echo_n "checking for $ac_word... " >&6; }
2463
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2487
if ${ac_cv_prog_STRIP+:} false; then :
2464
2488
  $as_echo_n "(cached) " >&6
2465
2489
else
2466
2490
  if test -n "$STRIP"; then
2500
2524
set dummy strip; ac_word=$2
2501
2525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502
2526
$as_echo_n "checking for $ac_word... " >&6; }
2503
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2527
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2504
2528
  $as_echo_n "(cached) " >&6
2505
2529
else
2506
2530
  if test -n "$ac_ct_STRIP"; then
2553
2577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2554
2578
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2555
2579
if test -z "$MKDIR_P"; then
2556
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2580
  if ${ac_cv_path_mkdir+:} false; then :
2557
2581
  $as_echo_n "(cached) " >&6
2558
2582
else
2559
2583
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604
2628
set dummy $ac_prog; ac_word=$2
2605
2629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
2630
$as_echo_n "checking for $ac_word... " >&6; }
2607
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2631
if ${ac_cv_prog_AWK+:} false; then :
2608
2632
  $as_echo_n "(cached) " >&6
2609
2633
else
2610
2634
  if test -n "$AWK"; then
2644
2668
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2645
2669
set x ${MAKE-make}
2646
2670
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2647
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2671
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2648
2672
  $as_echo_n "(cached) " >&6
2649
2673
else
2650
2674
  cat >conftest.make <<\_ACEOF
2652
2676
all:
2653
2677
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2654
2678
_ACEOF
2655
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2679
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2656
2680
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2657
2681
  *@@@%%%=?*=@@@%%%*)
2658
2682
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2686
2710
  am__isrc=' -I$(srcdir)'
2687
2711
  # test to see if srcdir already configured
2688
2712
  if test -f $srcdir/config.status; then
2689
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2713
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2690
2714
  fi
2691
2715
fi
2692
2716
 
2840
2864
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2841
2865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842
2866
$as_echo_n "checking for $ac_word... " >&6; }
2843
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2867
if ${ac_cv_prog_CC+:} false; then :
2844
2868
  $as_echo_n "(cached) " >&6
2845
2869
else
2846
2870
  if test -n "$CC"; then
2880
2904
set dummy gcc; ac_word=$2
2881
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
2906
$as_echo_n "checking for $ac_word... " >&6; }
2883
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2907
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2884
2908
  $as_echo_n "(cached) " >&6
2885
2909
else
2886
2910
  if test -n "$ac_ct_CC"; then
2933
2957
set dummy ${ac_tool_prefix}cc; ac_word=$2
2934
2958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935
2959
$as_echo_n "checking for $ac_word... " >&6; }
2936
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2960
if ${ac_cv_prog_CC+:} false; then :
2937
2961
  $as_echo_n "(cached) " >&6
2938
2962
else
2939
2963
  if test -n "$CC"; then
2973
2997
set dummy cc; ac_word=$2
2974
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975
2999
$as_echo_n "checking for $ac_word... " >&6; }
2976
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3000
if ${ac_cv_prog_CC+:} false; then :
2977
3001
  $as_echo_n "(cached) " >&6
2978
3002
else
2979
3003
  if test -n "$CC"; then
3032
3056
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
3058
$as_echo_n "checking for $ac_word... " >&6; }
3035
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3059
if ${ac_cv_prog_CC+:} false; then :
3036
3060
  $as_echo_n "(cached) " >&6
3037
3061
else
3038
3062
  if test -n "$CC"; then
3076
3100
set dummy $ac_prog; ac_word=$2
3077
3101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
3102
$as_echo_n "checking for $ac_word... " >&6; }
3079
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3103
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3080
3104
  $as_echo_n "(cached) " >&6
3081
3105
else
3082
3106
  if test -n "$ac_ct_CC"; then
3130
3154
 
3131
3155
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132
3156
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133
 
as_fn_error "no acceptable C compiler found in \$PATH
3134
 
See \`config.log' for more details." "$LINENO" 5; }
 
3157
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3158
See \`config.log' for more details" "$LINENO" 5; }
3135
3159
 
3136
3160
# Provide some information about the compiler.
3137
3161
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3245
3269
 
3246
3270
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247
3271
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248
 
{ as_fn_set_status 77
3249
 
as_fn_error "C compiler cannot create executables
3250
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3272
as_fn_error 77 "C compiler cannot create executables
 
3273
See \`config.log' for more details" "$LINENO" 5; }
3251
3274
else
3252
3275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3253
3276
$as_echo "yes" >&6; }
3289
3312
else
3290
3313
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291
3314
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3293
 
See \`config.log' for more details." "$LINENO" 5; }
 
3315
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3316
See \`config.log' for more details" "$LINENO" 5; }
3294
3317
fi
3295
3318
rm -f conftest conftest$ac_cv_exeext
3296
3319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3347
3370
    else
3348
3371
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349
3372
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350
 
as_fn_error "cannot run C compiled programs.
 
3373
as_fn_error $? "cannot run C compiled programs.
3351
3374
If you meant to cross compile, use \`--host'.
3352
 
See \`config.log' for more details." "$LINENO" 5; }
 
3375
See \`config.log' for more details" "$LINENO" 5; }
3353
3376
    fi
3354
3377
  fi
3355
3378
fi
3360
3383
ac_clean_files=$ac_clean_files_save
3361
3384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3362
3385
$as_echo_n "checking for suffix of object files... " >&6; }
3363
 
if test "${ac_cv_objext+set}" = set; then :
 
3386
if ${ac_cv_objext+:} false; then :
3364
3387
  $as_echo_n "(cached) " >&6
3365
3388
else
3366
3389
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400
3423
 
3401
3424
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402
3425
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403
 
as_fn_error "cannot compute suffix of object files: cannot compile
3404
 
See \`config.log' for more details." "$LINENO" 5; }
 
3426
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3427
See \`config.log' for more details" "$LINENO" 5; }
3405
3428
fi
3406
3429
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3407
3430
fi
3411
3434
ac_objext=$OBJEXT
3412
3435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3413
3436
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3414
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3437
if ${ac_cv_c_compiler_gnu+:} false; then :
3415
3438
  $as_echo_n "(cached) " >&6
3416
3439
else
3417
3440
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448
3471
ac_save_CFLAGS=$CFLAGS
3449
3472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3450
3473
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3451
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3474
if ${ac_cv_prog_cc_g+:} false; then :
3452
3475
  $as_echo_n "(cached) " >&6
3453
3476
else
3454
3477
  ac_save_c_werror_flag=$ac_c_werror_flag
3526
3549
fi
3527
3550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3528
3551
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3529
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3552
if ${ac_cv_prog_cc_c89+:} false; then :
3530
3553
  $as_echo_n "(cached) " >&6
3531
3554
else
3532
3555
  ac_cv_prog_cc_c89=no
3625
3648
 
3626
3649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3627
3650
$as_echo_n "checking dependency style of $depcc... " >&6; }
3628
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3651
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3629
3652
  $as_echo_n "(cached) " >&6
3630
3653
else
3631
3654
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3751
3774
 
3752
3775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3753
3776
$as_echo_n "checking for library containing strerror... " >&6; }
3754
 
if test "${ac_cv_search_strerror+set}" = set; then :
 
3777
if ${ac_cv_search_strerror+:} false; then :
3755
3778
  $as_echo_n "(cached) " >&6
3756
3779
else
3757
3780
  ac_func_search_save_LIBS=$LIBS
3785
3808
fi
3786
3809
rm -f core conftest.err conftest.$ac_objext \
3787
3810
    conftest$ac_exeext
3788
 
  if test "${ac_cv_search_strerror+set}" = set; then :
 
3811
  if ${ac_cv_search_strerror+:} false; then :
3789
3812
  break
3790
3813
fi
3791
3814
done
3792
 
if test "${ac_cv_search_strerror+set}" = set; then :
 
3815
if ${ac_cv_search_strerror+:} false; then :
3793
3816
 
3794
3817
else
3795
3818
  ac_cv_search_strerror=no
3815
3838
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3816
3839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817
3840
$as_echo_n "checking for $ac_word... " >&6; }
3818
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3841
if ${ac_cv_prog_CC+:} false; then :
3819
3842
  $as_echo_n "(cached) " >&6
3820
3843
else
3821
3844
  if test -n "$CC"; then
3855
3878
set dummy gcc; ac_word=$2
3856
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857
3880
$as_echo_n "checking for $ac_word... " >&6; }
3858
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3881
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3859
3882
  $as_echo_n "(cached) " >&6
3860
3883
else
3861
3884
  if test -n "$ac_ct_CC"; then
3908
3931
set dummy ${ac_tool_prefix}cc; ac_word=$2
3909
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910
3933
$as_echo_n "checking for $ac_word... " >&6; }
3911
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3934
if ${ac_cv_prog_CC+:} false; then :
3912
3935
  $as_echo_n "(cached) " >&6
3913
3936
else
3914
3937
  if test -n "$CC"; then
3948
3971
set dummy cc; ac_word=$2
3949
3972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950
3973
$as_echo_n "checking for $ac_word... " >&6; }
3951
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3974
if ${ac_cv_prog_CC+:} false; then :
3952
3975
  $as_echo_n "(cached) " >&6
3953
3976
else
3954
3977
  if test -n "$CC"; then
4007
4030
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4008
4031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009
4032
$as_echo_n "checking for $ac_word... " >&6; }
4010
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4033
if ${ac_cv_prog_CC+:} false; then :
4011
4034
  $as_echo_n "(cached) " >&6
4012
4035
else
4013
4036
  if test -n "$CC"; then
4051
4074
set dummy $ac_prog; ac_word=$2
4052
4075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053
4076
$as_echo_n "checking for $ac_word... " >&6; }
4054
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4077
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4055
4078
  $as_echo_n "(cached) " >&6
4056
4079
else
4057
4080
  if test -n "$ac_ct_CC"; then
4105
4128
 
4106
4129
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107
4130
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108
 
as_fn_error "no acceptable C compiler found in \$PATH
4109
 
See \`config.log' for more details." "$LINENO" 5; }
 
4131
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4132
See \`config.log' for more details" "$LINENO" 5; }
4110
4133
 
4111
4134
# Provide some information about the compiler.
4112
4135
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4135
4158
 
4136
4159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137
4160
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4161
if ${ac_cv_c_compiler_gnu+:} false; then :
4139
4162
  $as_echo_n "(cached) " >&6
4140
4163
else
4141
4164
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172
4195
ac_save_CFLAGS=$CFLAGS
4173
4196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174
4197
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4175
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4198
if ${ac_cv_prog_cc_g+:} false; then :
4176
4199
  $as_echo_n "(cached) " >&6
4177
4200
else
4178
4201
  ac_save_c_werror_flag=$ac_c_werror_flag
4250
4273
fi
4251
4274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252
4275
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4276
if ${ac_cv_prog_cc_c89+:} false; then :
4254
4277
  $as_echo_n "(cached) " >&6
4255
4278
else
4256
4279
  ac_cv_prog_cc_c89=no
4349
4372
 
4350
4373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4351
4374
$as_echo_n "checking dependency style of $depcc... " >&6; }
4352
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4375
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4353
4376
  $as_echo_n "(cached) " >&6
4354
4377
else
4355
4378
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4482
4505
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4483
4506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484
4507
$as_echo_n "checking for $ac_word... " >&6; }
4485
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4508
if ${ac_cv_prog_CC+:} false; then :
4486
4509
  $as_echo_n "(cached) " >&6
4487
4510
else
4488
4511
  if test -n "$CC"; then
4522
4545
set dummy gcc; ac_word=$2
4523
4546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524
4547
$as_echo_n "checking for $ac_word... " >&6; }
4525
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4548
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4526
4549
  $as_echo_n "(cached) " >&6
4527
4550
else
4528
4551
  if test -n "$ac_ct_CC"; then
4575
4598
set dummy ${ac_tool_prefix}cc; ac_word=$2
4576
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577
4600
$as_echo_n "checking for $ac_word... " >&6; }
4578
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4601
if ${ac_cv_prog_CC+:} false; then :
4579
4602
  $as_echo_n "(cached) " >&6
4580
4603
else
4581
4604
  if test -n "$CC"; then
4615
4638
set dummy cc; ac_word=$2
4616
4639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617
4640
$as_echo_n "checking for $ac_word... " >&6; }
4618
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4641
if ${ac_cv_prog_CC+:} false; then :
4619
4642
  $as_echo_n "(cached) " >&6
4620
4643
else
4621
4644
  if test -n "$CC"; then
4674
4697
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4675
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676
4699
$as_echo_n "checking for $ac_word... " >&6; }
4677
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4700
if ${ac_cv_prog_CC+:} false; then :
4678
4701
  $as_echo_n "(cached) " >&6
4679
4702
else
4680
4703
  if test -n "$CC"; then
4718
4741
set dummy $ac_prog; ac_word=$2
4719
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720
4743
$as_echo_n "checking for $ac_word... " >&6; }
4721
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4744
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4722
4745
  $as_echo_n "(cached) " >&6
4723
4746
else
4724
4747
  if test -n "$ac_ct_CC"; then
4772
4795
 
4773
4796
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4774
4797
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4775
 
as_fn_error "no acceptable C compiler found in \$PATH
4776
 
See \`config.log' for more details." "$LINENO" 5; }
 
4798
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4799
See \`config.log' for more details" "$LINENO" 5; }
4777
4800
 
4778
4801
# Provide some information about the compiler.
4779
4802
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4802
4825
 
4803
4826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4804
4827
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4805
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4828
if ${ac_cv_c_compiler_gnu+:} false; then :
4806
4829
  $as_echo_n "(cached) " >&6
4807
4830
else
4808
4831
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839
4862
ac_save_CFLAGS=$CFLAGS
4840
4863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4841
4864
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4842
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4865
if ${ac_cv_prog_cc_g+:} false; then :
4843
4866
  $as_echo_n "(cached) " >&6
4844
4867
else
4845
4868
  ac_save_c_werror_flag=$ac_c_werror_flag
4917
4940
fi
4918
4941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4919
4942
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4920
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4943
if ${ac_cv_prog_cc_c89+:} false; then :
4921
4944
  $as_echo_n "(cached) " >&6
4922
4945
else
4923
4946
  ac_cv_prog_cc_c89=no
5016
5039
 
5017
5040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5018
5041
$as_echo_n "checking dependency style of $depcc... " >&6; }
5019
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
5042
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5020
5043
  $as_echo_n "(cached) " >&6
5021
5044
else
5022
5045
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5154
5177
  CPP=
5155
5178
fi
5156
5179
if test -z "$CPP"; then
5157
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
5180
  if ${ac_cv_prog_CPP+:} false; then :
5158
5181
  $as_echo_n "(cached) " >&6
5159
5182
else
5160
5183
      # Double quotes because CPP needs to be expanded
5184
5207
  # Broken: fails on valid input.
5185
5208
continue
5186
5209
fi
5187
 
rm -f conftest.err conftest.$ac_ext
 
5210
rm -f conftest.err conftest.i conftest.$ac_ext
5188
5211
 
5189
5212
  # OK, works on sane cases.  Now check whether nonexistent headers
5190
5213
  # can be detected and how.
5200
5223
ac_preproc_ok=:
5201
5224
break
5202
5225
fi
5203
 
rm -f conftest.err conftest.$ac_ext
 
5226
rm -f conftest.err conftest.i conftest.$ac_ext
5204
5227
 
5205
5228
done
5206
5229
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5207
 
rm -f conftest.err conftest.$ac_ext
 
5230
rm -f conftest.i conftest.err conftest.$ac_ext
5208
5231
if $ac_preproc_ok; then :
5209
5232
  break
5210
5233
fi
5243
5266
  # Broken: fails on valid input.
5244
5267
continue
5245
5268
fi
5246
 
rm -f conftest.err conftest.$ac_ext
 
5269
rm -f conftest.err conftest.i conftest.$ac_ext
5247
5270
 
5248
5271
  # OK, works on sane cases.  Now check whether nonexistent headers
5249
5272
  # can be detected and how.
5259
5282
ac_preproc_ok=:
5260
5283
break
5261
5284
fi
5262
 
rm -f conftest.err conftest.$ac_ext
 
5285
rm -f conftest.err conftest.i conftest.$ac_ext
5263
5286
 
5264
5287
done
5265
5288
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5266
 
rm -f conftest.err conftest.$ac_ext
 
5289
rm -f conftest.i conftest.err conftest.$ac_ext
5267
5290
if $ac_preproc_ok; then :
5268
5291
 
5269
5292
else
5270
5293
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5271
5294
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5272
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5273
 
See \`config.log' for more details." "$LINENO" 5; }
 
5295
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5296
See \`config.log' for more details" "$LINENO" 5; }
5274
5297
fi
5275
5298
 
5276
5299
ac_ext=c
5282
5305
 
5283
5306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5284
5307
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5285
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
5308
if ${ac_cv_path_GREP+:} false; then :
5286
5309
  $as_echo_n "(cached) " >&6
5287
5310
else
5288
5311
  if test -z "$GREP"; then
5331
5354
  done
5332
5355
IFS=$as_save_IFS
5333
5356
  if test -z "$ac_cv_path_GREP"; then
5334
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5357
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5335
5358
  fi
5336
5359
else
5337
5360
  ac_cv_path_GREP=$GREP
5345
5368
 
5346
5369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5347
5370
$as_echo_n "checking for egrep... " >&6; }
5348
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5371
if ${ac_cv_path_EGREP+:} false; then :
5349
5372
  $as_echo_n "(cached) " >&6
5350
5373
else
5351
5374
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5397
5420
  done
5398
5421
IFS=$as_save_IFS
5399
5422
  if test -z "$ac_cv_path_EGREP"; then
5400
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5423
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5401
5424
  fi
5402
5425
else
5403
5426
  ac_cv_path_EGREP=$EGREP
5412
5435
 
5413
5436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5414
5437
$as_echo_n "checking for ANSI C header files... " >&6; }
5415
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
5438
if ${ac_cv_header_stdc+:} false; then :
5416
5439
  $as_echo_n "(cached) " >&6
5417
5440
else
5418
5441
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536
5559
  CPP=
5537
5560
fi
5538
5561
if test -z "$CPP"; then
5539
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
5562
  if ${ac_cv_prog_CPP+:} false; then :
5540
5563
  $as_echo_n "(cached) " >&6
5541
5564
else
5542
5565
      # Double quotes because CPP needs to be expanded
5566
5589
  # Broken: fails on valid input.
5567
5590
continue
5568
5591
fi
5569
 
rm -f conftest.err conftest.$ac_ext
 
5592
rm -f conftest.err conftest.i conftest.$ac_ext
5570
5593
 
5571
5594
  # OK, works on sane cases.  Now check whether nonexistent headers
5572
5595
  # can be detected and how.
5582
5605
ac_preproc_ok=:
5583
5606
break
5584
5607
fi
5585
 
rm -f conftest.err conftest.$ac_ext
 
5608
rm -f conftest.err conftest.i conftest.$ac_ext
5586
5609
 
5587
5610
done
5588
5611
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5589
 
rm -f conftest.err conftest.$ac_ext
 
5612
rm -f conftest.i conftest.err conftest.$ac_ext
5590
5613
if $ac_preproc_ok; then :
5591
5614
  break
5592
5615
fi
5625
5648
  # Broken: fails on valid input.
5626
5649
continue
5627
5650
fi
5628
 
rm -f conftest.err conftest.$ac_ext
 
5651
rm -f conftest.err conftest.i conftest.$ac_ext
5629
5652
 
5630
5653
  # OK, works on sane cases.  Now check whether nonexistent headers
5631
5654
  # can be detected and how.
5641
5664
ac_preproc_ok=:
5642
5665
break
5643
5666
fi
5644
 
rm -f conftest.err conftest.$ac_ext
 
5667
rm -f conftest.err conftest.i conftest.$ac_ext
5645
5668
 
5646
5669
done
5647
5670
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5648
 
rm -f conftest.err conftest.$ac_ext
 
5671
rm -f conftest.i conftest.err conftest.$ac_ext
5649
5672
if $ac_preproc_ok; then :
5650
5673
 
5651
5674
else
5652
5675
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5653
5676
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5654
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5655
 
See \`config.log' for more details." "$LINENO" 5; }
 
5677
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5678
See \`config.log' for more details" "$LINENO" 5; }
5656
5679
fi
5657
5680
 
5658
5681
ac_ext=c
5677
5700
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5678
5701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679
5702
$as_echo_n "checking for $ac_word... " >&6; }
5680
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
5703
if ${ac_cv_prog_CXX+:} false; then :
5681
5704
  $as_echo_n "(cached) " >&6
5682
5705
else
5683
5706
  if test -n "$CXX"; then
5721
5744
set dummy $ac_prog; ac_word=$2
5722
5745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723
5746
$as_echo_n "checking for $ac_word... " >&6; }
5724
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
5747
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5725
5748
  $as_echo_n "(cached) " >&6
5726
5749
else
5727
5750
  if test -n "$ac_ct_CXX"; then
5799
5822
 
5800
5823
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5801
5824
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5802
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
5825
if ${ac_cv_cxx_compiler_gnu+:} false; then :
5803
5826
  $as_echo_n "(cached) " >&6
5804
5827
else
5805
5828
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836
5859
ac_save_CXXFLAGS=$CXXFLAGS
5837
5860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5838
5861
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5839
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
5862
if ${ac_cv_prog_cxx_g+:} false; then :
5840
5863
  $as_echo_n "(cached) " >&6
5841
5864
else
5842
5865
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5922
5945
 
5923
5946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5924
5947
$as_echo_n "checking dependency style of $depcc... " >&6; }
5925
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
5948
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5926
5949
  $as_echo_n "(cached) " >&6
5927
5950
else
5928
5951
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6054
6077
fi
6055
6078
set dummy $CC; ac_cc=`$as_echo "$2" |
6056
6079
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
6057
 
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
 
6080
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
6058
6081
  $as_echo_n "(cached) " >&6
6059
6082
else
6060
6083
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6176
6199
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6177
6200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178
6201
$as_echo_n "checking for $ac_word... " >&6; }
6179
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6202
if ${ac_cv_prog_RANLIB+:} false; then :
6180
6203
  $as_echo_n "(cached) " >&6
6181
6204
else
6182
6205
  if test -n "$RANLIB"; then
6216
6239
set dummy ranlib; ac_word=$2
6217
6240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218
6241
$as_echo_n "checking for $ac_word... " >&6; }
6219
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6242
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6220
6243
  $as_echo_n "(cached) " >&6
6221
6244
else
6222
6245
  if test -n "$ac_ct_RANLIB"; then
6280
6303
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6281
6304
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6282
6305
"
6283
 
eval as_val=\$$as_ac_Header
6284
 
   if test "x$as_val" = x""yes; then :
 
6306
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6285
6307
  cat >>confdefs.h <<_ACEOF
6286
6308
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6287
6309
_ACEOF
6295
6317
   for ac_header in locale.h
6296
6318
do :
6297
6319
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
6298
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
6320
if test "x$ac_cv_header_locale_h" = xyes; then :
6299
6321
  cat >>confdefs.h <<_ACEOF
6300
6322
#define HAVE_LOCALE_H 1
6301
6323
_ACEOF
6307
6329
    if test $ac_cv_header_locale_h = yes; then
6308
6330
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
6309
6331
$as_echo_n "checking for LC_MESSAGES... " >&6; }
6310
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
6332
if ${am_cv_val_LC_MESSAGES+:} false; then :
6311
6333
  $as_echo_n "(cached) " >&6
6312
6334
else
6313
6335
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6347
6369
    INTLLIBS=
6348
6370
 
6349
6371
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
6350
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
6372
if test "x$ac_cv_header_libintl_h" = xyes; then :
6351
6373
  gt_cv_func_dgettext_libintl="no"
6352
6374
      libintl_extra_libs=""
6353
6375
 
6356
6378
      #
6357
6379
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
6358
6380
$as_echo_n "checking for ngettext in libc... " >&6; }
6359
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
6381
if ${gt_cv_func_ngettext_libc+:} false; then :
6360
6382
  $as_echo_n "(cached) " >&6
6361
6383
else
6362
6384
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6387
6409
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6388
6410
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
6389
6411
$as_echo_n "checking for dgettext in libc... " >&6; }
6390
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
6412
if ${gt_cv_func_dgettext_libc+:} false; then :
6391
6413
  $as_echo_n "(cached) " >&6
6392
6414
else
6393
6415
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6420
6442
        for ac_func in bind_textdomain_codeset
6421
6443
do :
6422
6444
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6423
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
6445
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6424
6446
  cat >>confdefs.h <<_ACEOF
6425
6447
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6426
6448
_ACEOF
6439
6461
 
6440
6462
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
6441
6463
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
6442
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
6464
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
6443
6465
  $as_echo_n "(cached) " >&6
6444
6466
else
6445
6467
  ac_check_lib_save_LIBS=$LIBS
6473
6495
fi
6474
6496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6475
6497
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6476
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
6498
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
6477
6499
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6478
6500
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6479
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
6501
if ${ac_cv_lib_intl_ngettext+:} false; then :
6480
6502
  $as_echo_n "(cached) " >&6
6481
6503
else
6482
6504
  ac_check_lib_save_LIBS=$LIBS
6510
6532
fi
6511
6533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6512
6534
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6513
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
6535
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6514
6536
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6515
6537
$as_echo_n "checking for dgettext in -lintl... " >&6; }
6516
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
6538
if ${ac_cv_lib_intl_dgettext+:} false; then :
6517
6539
  $as_echo_n "(cached) " >&6
6518
6540
else
6519
6541
  ac_check_lib_save_LIBS=$LIBS
6547
6569
fi
6548
6570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6549
6571
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6550
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
6572
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
6551
6573
  gt_cv_func_dgettext_libintl=yes
6552
6574
fi
6553
6575
 
6563
6585
$as_echo "" >&6; }
6564
6586
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6565
6587
$as_echo_n "checking for ngettext in -lintl... " >&6; }
6566
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
6588
if ${ac_cv_lib_intl_ngettext+:} false; then :
6567
6589
  $as_echo_n "(cached) " >&6
6568
6590
else
6569
6591
  ac_check_lib_save_LIBS=$LIBS
6597
6619
fi
6598
6620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6599
6621
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6600
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
6622
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
6601
6623
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6602
6624
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
6603
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
6625
if ${ac_cv_lib_intl_dcgettext+:} false; then :
6604
6626
  $as_echo_n "(cached) " >&6
6605
6627
else
6606
6628
  ac_check_lib_save_LIBS=$LIBS
6634
6656
fi
6635
6657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6636
6658
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6637
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
6659
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
6638
6660
  gt_cv_func_dgettext_libintl=yes
6639
6661
                        libintl_extra_libs=-liconv
6640
6662
else
6659
6681
          for ac_func in bind_textdomain_codeset
6660
6682
do :
6661
6683
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6662
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
6684
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6663
6685
  cat >>confdefs.h <<_ACEOF
6664
6686
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6665
6687
_ACEOF
6697
6719
set dummy msgfmt; ac_word=$2
6698
6720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699
6721
$as_echo_n "checking for $ac_word... " >&6; }
6700
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
6722
if ${ac_cv_path_MSGFMT+:} false; then :
6701
6723
  $as_echo_n "(cached) " >&6
6702
6724
else
6703
6725
  case "$MSGFMT" in
6734
6756
          for ac_func in dcgettext
6735
6757
do :
6736
6758
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6737
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
6759
if test "x$ac_cv_func_dcgettext" = xyes; then :
6738
6760
  cat >>confdefs.h <<_ACEOF
6739
6761
#define HAVE_DCGETTEXT 1
6740
6762
_ACEOF
6775
6797
set dummy gmsgfmt; ac_word=$2
6776
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777
6799
$as_echo_n "checking for $ac_word... " >&6; }
6778
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
6800
if ${ac_cv_path_GMSGFMT+:} false; then :
6779
6801
  $as_echo_n "(cached) " >&6
6780
6802
else
6781
6803
  case $GMSGFMT in
6816
6838
set dummy xgettext; ac_word=$2
6817
6839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818
6840
$as_echo_n "checking for $ac_word... " >&6; }
6819
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
6841
if ${ac_cv_path_XGETTEXT+:} false; then :
6820
6842
  $as_echo_n "(cached) " >&6
6821
6843
else
6822
6844
  case "$XGETTEXT" in
6867
6889
  case $host in
6868
6890
            *-*-solaris*)
6869
6891
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6870
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
6892
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6871
6893
  CATOBJEXT=.gmo
6872
6894
               DATADIRNAME=share
6873
6895
else
6998
7020
 
6999
7021
 
7000
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
7001
7028
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7002
7029
        if test -n "$ac_tool_prefix"; then
7003
7030
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7004
7031
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7005
7032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006
7033
$as_echo_n "checking for $ac_word... " >&6; }
7007
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
7034
if ${ac_cv_path_PKG_CONFIG+:} false; then :
7008
7035
  $as_echo_n "(cached) " >&6
7009
7036
else
7010
7037
  case $PKG_CONFIG in
7047
7074
set dummy pkg-config; ac_word=$2
7048
7075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049
7076
$as_echo_n "checking for $ac_word... " >&6; }
7050
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
7077
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7051
7078
  $as_echo_n "(cached) " >&6
7052
7079
else
7053
7080
  case $ac_pt_PKG_CONFIG in
7110
7137
$as_echo "no" >&6; }
7111
7138
                PKG_CONFIG=""
7112
7139
        fi
7113
 
 
7114
7140
fi
7115
7141
 
7116
7142
pkg_failed=no
7127
7153
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7128
7154
  test $ac_status = 0; }; then
7129
7155
  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 " 2>/dev/null`
 
7156
                      test "x$?" != "x0" && pkg_failed=yes
7130
7157
else
7131
7158
  pkg_failed=yes
7132
7159
fi
7143
7170
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7144
7171
  test $ac_status = 0; }; then
7145
7172
  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 " 2>/dev/null`
 
7173
                      test "x$?" != "x0" && pkg_failed=yes
7146
7174
else
7147
7175
  pkg_failed=yes
7148
7176
fi
7153
7181
 
7154
7182
 
7155
7183
if test $pkg_failed = yes; then
 
7184
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7185
$as_echo "no" >&6; }
7156
7186
 
7157
7187
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7158
7188
        _pkg_short_errors_supported=yes
7160
7190
        _pkg_short_errors_supported=no
7161
7191
fi
7162
7192
        if test $_pkg_short_errors_supported = yes; then
7163
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 " 2>&1`
 
7193
                GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 " 2>&1`
7164
7194
        else
7165
 
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 " 2>&1`
 
7195
                GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 " 2>&1`
7166
7196
        fi
7167
7197
        # Put the nasty error message in config.log where it belongs
7168
7198
        echo "$GLIB_PKG_ERRORS" >&5
7169
7199
 
7170
 
        as_fn_error "Package requirements (glib-2.0 ) were not met:
 
7200
        as_fn_error $? "Package requirements (glib-2.0 ) were not met:
7171
7201
 
7172
7202
$GLIB_PKG_ERRORS
7173
7203
 
7176
7206
 
7177
7207
Alternatively, you may set the environment variables GLIB_CFLAGS
7178
7208
and GLIB_LIBS to avoid the need to call pkg-config.
7179
 
See the pkg-config man page for more details.
7180
 
" "$LINENO" 5
 
7209
See the pkg-config man page for more details." "$LINENO" 5
7181
7210
elif test $pkg_failed = untried; then
 
7211
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7212
$as_echo "no" >&6; }
7182
7213
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7183
7214
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7184
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
7215
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
7185
7216
is in your PATH or set the PKG_CONFIG environment variable to the full
7186
7217
path to pkg-config.
7187
7218
 
7190
7221
See the pkg-config man page for more details.
7191
7222
 
7192
7223
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7193
 
See \`config.log' for more details." "$LINENO" 5; }
 
7224
See \`config.log' for more details" "$LINENO" 5; }
7194
7225
else
7195
7226
        GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
7196
7227
        GLIB_LIBS=$pkg_cv_GLIB_LIBS
7197
7228
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7198
7229
$as_echo "yes" >&6; }
7199
 
        :
 
7230
 
7200
7231
fi
7201
7232
 
7202
7233
 
7206
7237
if test "${with_xulrunner_sdk+set}" = set; then :
7207
7238
  withval=$with_xulrunner_sdk;
7208
7239
        XULRUNNER_SDK_PREFIX=$with_xulrunner_sdk
7209
 
        GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/plugin -I$XULRUNNER_SDK_PREFIX/include/nspr -I$XULRUNNER_SDK_PREFIX/include/xpcom -I$XULRUNNER_SDK_PREFIX/include/string -I$XULRUNNER_SDK_PREFIX/include/java"
7210
 
        GECKO_LIBS="-L$XULRUNNER_SDK_PREFIX/lib -lxpcomglue_s -lxul -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl"
 
7240
        GECKO_CFLAGS="-I$XULRUNNER_SDK_PREFIX/include -I$XULRUNNER_SDK_PREFIX/include/nspr"
 
7241
 
7211
7242
        # Check whether --enable-new-libxul was given.
7212
7243
if test "${enable_new_libxul+set}" = set; then :
7213
 
  enableval=$enable_new_libxul; usenewlibxul=$enableval
7214
 
else
7215
 
  usenewlibxul=no
7216
 
fi
7217
 
 
7218
 
 
7219
 
        if test $usenewlibxul == yes; then
7220
 
                GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7221
 
 
7222
 
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7223
 
 
7224
 
        fi
7225
 
 
7226
 
 
7227
 
fi
7228
 
 
7229
 
 
7230
 
if test "$GECKO_CFLAGS" = ""; then
7231
 
 
7232
 
pkg_failed=no
7233
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7234
 
$as_echo_n "checking for GECKO... " >&6; }
7235
 
 
7236
 
if test -n "$GECKO_CFLAGS"; then
7237
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7238
 
 elif test -n "$PKG_CONFIG"; then
7239
 
    if test -n "$PKG_CONFIG" && \
7240
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5
7241
 
  ($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5
7242
 
  ac_status=$?
7243
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244
 
  test $ac_status = 0; }; then
7245
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 2.0" 2>/dev/null`
7246
 
else
7247
 
  pkg_failed=yes
7248
 
fi
7249
 
 else
7250
 
    pkg_failed=untried
7251
 
fi
7252
 
if test -n "$GECKO_LIBS"; then
7253
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7254
 
 elif test -n "$PKG_CONFIG"; then
7255
 
    if test -n "$PKG_CONFIG" && \
7256
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 2.0\""; } >&5
7257
 
  ($PKG_CONFIG --exists --print-errors "libxul >= 2.0") 2>&5
7258
 
  ac_status=$?
7259
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7260
 
  test $ac_status = 0; }; then
7261
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 2.0" 2>/dev/null`
7262
 
else
7263
 
  pkg_failed=yes
7264
 
fi
7265
 
 else
7266
 
    pkg_failed=untried
7267
 
fi
7268
 
 
7269
 
 
7270
 
 
7271
 
if test $pkg_failed = yes; then
7272
 
 
7273
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7274
 
        _pkg_short_errors_supported=yes
7275
 
else
7276
 
        _pkg_short_errors_supported=no
7277
 
fi
7278
 
        if test $_pkg_short_errors_supported = yes; then
7279
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 2.0" 2>&1`
7280
 
        else
7281
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 2.0" 2>&1`
7282
 
        fi
7283
 
        # Put the nasty error message in config.log where it belongs
7284
 
        echo "$GECKO_PKG_ERRORS" >&5
7285
 
 
7286
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7287
 
$as_echo "no" >&6; }
7288
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5
7289
 
$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;}
7290
 
elif test $pkg_failed = untried; then
7291
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 2.0 beta 5 not found, trying another" >&5
7292
 
$as_echo "$as_me: libxul >= 2.0 beta 5 not found, trying another" >&6;}
7293
 
else
7294
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7295
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7296
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7297
 
$as_echo "yes" >&6; }
7298
 
        GECKO_CFLAGS="$GECKO_CFLAGS -DMOZ_NO_MOZALLOC"
7299
 
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7300
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 2.0 beta 5" >&5
7301
 
$as_echo "$as_me: Using libxul >= 2.0 beta 5" >&6;}
7302
 
 
7303
 
fi
7304
 
fi
7305
 
 
7306
 
if test "$GECKO_CFLAGS" = ""; then
7307
 
 
7308
 
pkg_failed=no
7309
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7310
 
$as_echo_n "checking for GECKO... " >&6; }
7311
 
 
7312
 
if test -n "$GECKO_CFLAGS"; then
7313
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7314
 
 elif test -n "$PKG_CONFIG"; then
7315
 
    if test -n "$PKG_CONFIG" && \
7316
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7317
 
  ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7318
 
  ac_status=$?
7319
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7320
 
  test $ac_status = 0; }; then
7321
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul < 1.9.2" 2>/dev/null`
7322
 
else
7323
 
  pkg_failed=yes
7324
 
fi
7325
 
 else
7326
 
    pkg_failed=untried
7327
 
fi
7328
 
if test -n "$GECKO_LIBS"; then
7329
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7330
 
 elif test -n "$PKG_CONFIG"; then
7331
 
    if test -n "$PKG_CONFIG" && \
7332
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul < 1.9.2\""; } >&5
7333
 
  ($PKG_CONFIG --exists --print-errors "libxul < 1.9.2") 2>&5
7334
 
  ac_status=$?
7335
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7336
 
  test $ac_status = 0; }; then
7337
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul < 1.9.2" 2>/dev/null`
7338
 
else
7339
 
  pkg_failed=yes
7340
 
fi
7341
 
 else
7342
 
    pkg_failed=untried
7343
 
fi
7344
 
 
7345
 
 
7346
 
 
7347
 
if test $pkg_failed = yes; then
7348
 
 
7349
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7350
 
        _pkg_short_errors_supported=yes
7351
 
else
7352
 
        _pkg_short_errors_supported=no
7353
 
fi
7354
 
        if test $_pkg_short_errors_supported = yes; then
7355
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul < 1.9.2" 2>&1`
7356
 
        else
7357
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul < 1.9.2" 2>&1`
7358
 
        fi
7359
 
        # Put the nasty error message in config.log where it belongs
7360
 
        echo "$GECKO_PKG_ERRORS" >&5
7361
 
 
7362
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363
 
$as_echo "no" >&6; }
7364
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7365
 
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7366
 
elif test $pkg_failed = untried; then
7367
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul < 1.9.2 not found, trying another" >&5
7368
 
$as_echo "$as_me: WARNING: libxul < 1.9.2 not found, trying another" >&2;}
7369
 
else
7370
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7371
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7372
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7373
 
$as_echo "yes" >&6; }
7374
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul < 1.9.2" >&5
7375
 
$as_echo "$as_me: Using libxul < 1.9.2" >&6;}
7376
 
 
7377
 
fi
7378
 
fi
7379
 
if test "$GECKO_CFLAGS" = ""; then
7380
 
 
7381
 
pkg_failed=no
7382
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7383
 
$as_echo_n "checking for GECKO... " >&6; }
7384
 
 
7385
 
if test -n "$GECKO_CFLAGS"; then
7386
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7387
 
 elif test -n "$PKG_CONFIG"; then
7388
 
    if test -n "$PKG_CONFIG" && \
7389
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7390
 
  ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7391
 
  ac_status=$?
7392
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7393
 
  test $ac_status = 0; }; then
7394
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul >= 1.9.2" 2>/dev/null`
7395
 
else
7396
 
  pkg_failed=yes
7397
 
fi
7398
 
 else
7399
 
    pkg_failed=untried
7400
 
fi
7401
 
if test -n "$GECKO_LIBS"; then
7402
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7403
 
 elif test -n "$PKG_CONFIG"; then
7404
 
    if test -n "$PKG_CONFIG" && \
7405
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul >= 1.9.2\""; } >&5
7406
 
  ($PKG_CONFIG --exists --print-errors "libxul >= 1.9.2") 2>&5
7407
 
  ac_status=$?
7408
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7409
 
  test $ac_status = 0; }; then
7410
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul >= 1.9.2" 2>/dev/null`
7411
 
else
7412
 
  pkg_failed=yes
7413
 
fi
7414
 
 else
7415
 
    pkg_failed=untried
7416
 
fi
7417
 
 
7418
 
 
7419
 
 
7420
 
if test $pkg_failed = yes; then
7421
 
 
7422
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7423
 
        _pkg_short_errors_supported=yes
7424
 
else
7425
 
        _pkg_short_errors_supported=no
7426
 
fi
7427
 
        if test $_pkg_short_errors_supported = yes; then
7428
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul >= 1.9.2" 2>&1`
7429
 
        else
7430
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul >= 1.9.2" 2>&1`
7431
 
        fi
7432
 
        # Put the nasty error message in config.log where it belongs
7433
 
        echo "$GECKO_PKG_ERRORS" >&5
7434
 
 
7435
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436
 
$as_echo "no" >&6; }
7437
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7438
 
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7439
 
elif test $pkg_failed = untried; then
7440
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: libxul >= 1.9.2 not found, trying another" >&5
7441
 
$as_echo "$as_me: libxul >= 1.9.2 not found, trying another" >&6;}
7442
 
else
7443
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7444
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7445
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7446
 
$as_echo "yes" >&6; }
7447
 
 
7448
 
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
7449
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul >= 1.9.2" >&5
7450
 
$as_echo "$as_me: Using libxul >= 1.9.2" >&6;}
7451
 
 
7452
 
fi
7453
 
fi
7454
 
 
7455
 
if test "$GECKO_CFLAGS" = ""; then
7456
 
 
7457
 
pkg_failed=no
7458
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7459
 
$as_echo_n "checking for GECKO... " >&6; }
7460
 
 
7461
 
if test -n "$GECKO_CFLAGS"; then
7462
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7463
 
 elif test -n "$PKG_CONFIG"; then
7464
 
    if test -n "$PKG_CONFIG" && \
7465
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7466
 
  ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7467
 
  ac_status=$?
7468
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7469
 
  test $ac_status = 0; }; then
7470
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "libxul-unstable" 2>/dev/null`
7471
 
else
7472
 
  pkg_failed=yes
7473
 
fi
7474
 
 else
7475
 
    pkg_failed=untried
7476
 
fi
7477
 
if test -n "$GECKO_LIBS"; then
7478
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7479
 
 elif test -n "$PKG_CONFIG"; then
7480
 
    if test -n "$PKG_CONFIG" && \
7481
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxul-unstable\""; } >&5
7482
 
  ($PKG_CONFIG --exists --print-errors "libxul-unstable") 2>&5
7483
 
  ac_status=$?
7484
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7485
 
  test $ac_status = 0; }; then
7486
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "libxul-unstable" 2>/dev/null`
7487
 
else
7488
 
  pkg_failed=yes
7489
 
fi
7490
 
 else
7491
 
    pkg_failed=untried
7492
 
fi
7493
 
 
7494
 
 
7495
 
 
7496
 
if test $pkg_failed = yes; then
7497
 
 
7498
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7499
 
        _pkg_short_errors_supported=yes
7500
 
else
7501
 
        _pkg_short_errors_supported=no
7502
 
fi
7503
 
        if test $_pkg_short_errors_supported = yes; then
7504
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxul-unstable" 2>&1`
7505
 
        else
7506
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxul-unstable" 2>&1`
7507
 
        fi
7508
 
        # Put the nasty error message in config.log where it belongs
7509
 
        echo "$GECKO_PKG_ERRORS" >&5
7510
 
 
7511
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512
 
$as_echo "no" >&6; }
7513
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7514
 
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7515
 
elif test $pkg_failed = untried; then
7516
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxul-unstable not found, trying another" >&5
7517
 
$as_echo "$as_me: WARNING: libxul-unstable not found, trying another" >&2;}
7518
 
else
7519
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7520
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7521
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7522
 
$as_echo "yes" >&6; }
7523
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using libxul-unstable" >&5
7524
 
$as_echo "$as_me: Using libxul-unstable" >&6;}
7525
 
 
7526
 
fi
7527
 
fi
7528
 
 
7529
 
if test "$GECKO_CFLAGS" = ""; then
7530
 
 
7531
 
pkg_failed=no
7532
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7533
 
$as_echo_n "checking for GECKO... " >&6; }
7534
 
 
7535
 
if test -n "$GECKO_CFLAGS"; then
7536
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7537
 
 elif test -n "$PKG_CONFIG"; then
7538
 
    if test -n "$PKG_CONFIG" && \
7539
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7540
 
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7541
 
  ac_status=$?
7542
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7543
 
  test $ac_status = 0; }; then
7544
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7545
 
else
7546
 
  pkg_failed=yes
7547
 
fi
7548
 
 else
7549
 
    pkg_failed=untried
7550
 
fi
7551
 
if test -n "$GECKO_LIBS"; then
7552
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7553
 
 elif test -n "$PKG_CONFIG"; then
7554
 
    if test -n "$PKG_CONFIG" && \
7555
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin mozilla-xpcom\""; } >&5
7556
 
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin mozilla-xpcom") 2>&5
7557
 
  ac_status=$?
7558
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7559
 
  test $ac_status = 0; }; then
7560
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin mozilla-xpcom" 2>/dev/null`
7561
 
else
7562
 
  pkg_failed=yes
7563
 
fi
7564
 
 else
7565
 
    pkg_failed=untried
7566
 
fi
7567
 
 
7568
 
 
7569
 
 
7570
 
if test $pkg_failed = yes; then
7571
 
 
7572
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7573
 
        _pkg_short_errors_supported=yes
7574
 
else
7575
 
        _pkg_short_errors_supported=no
7576
 
fi
7577
 
        if test $_pkg_short_errors_supported = yes; then
7578
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7579
 
        else
7580
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "mozilla-plugin mozilla-xpcom" 2>&1`
7581
 
        fi
7582
 
        # Put the nasty error message in config.log where it belongs
7583
 
        echo "$GECKO_PKG_ERRORS" >&5
7584
 
 
7585
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586
 
$as_echo "no" >&6; }
7587
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7588
 
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
7589
 
elif test $pkg_failed = untried; then
7590
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin not found, trying another" >&5
7591
 
$as_echo "$as_me: WARNING: mozilla-plugin not found, trying another" >&2;}
 
7244
  enableval=$enable_new_libxul;
 
7245
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
 
7246
 
 
7247
fi
 
7248
 
 
7249
 
 
7250
fi
 
7251
 
 
7252
 
 
7253
if test "$GECKO_CFLAGS" = ""; then
 
7254
 
 
7255
pkg_failed=no
 
7256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7257
$as_echo_n "checking for GECKO... " >&6; }
 
7258
 
 
7259
if test -n "$GECKO_CFLAGS"; then
 
7260
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
 
7261
 elif test -n "$PKG_CONFIG"; then
 
7262
    if test -n "$PKG_CONFIG" && \
 
7263
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= 2.0\""; } >&5
 
7264
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= 2.0") 2>&5
 
7265
  ac_status=$?
 
7266
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7267
  test $ac_status = 0; }; then
 
7268
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin >= 2.0" 2>/dev/null`
 
7269
                      test "x$?" != "x0" && pkg_failed=yes
 
7270
else
 
7271
  pkg_failed=yes
 
7272
fi
 
7273
 else
 
7274
    pkg_failed=untried
 
7275
fi
 
7276
if test -n "$GECKO_LIBS"; then
 
7277
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
 
7278
 elif test -n "$PKG_CONFIG"; then
 
7279
    if test -n "$PKG_CONFIG" && \
 
7280
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin >= 2.0\""; } >&5
 
7281
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin >= 2.0") 2>&5
 
7282
  ac_status=$?
 
7283
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7284
  test $ac_status = 0; }; then
 
7285
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin >= 2.0" 2>/dev/null`
 
7286
                      test "x$?" != "x0" && pkg_failed=yes
 
7287
else
 
7288
  pkg_failed=yes
 
7289
fi
 
7290
 else
 
7291
    pkg_failed=untried
 
7292
fi
 
7293
 
 
7294
 
 
7295
 
 
7296
if test $pkg_failed = yes; then
 
7297
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7298
$as_echo "no" >&6; }
 
7299
 
 
7300
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7301
        _pkg_short_errors_supported=yes
 
7302
else
 
7303
        _pkg_short_errors_supported=no
 
7304
fi
 
7305
        if test $_pkg_short_errors_supported = yes; then
 
7306
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin >= 2.0" 2>&1`
 
7307
        else
 
7308
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin >= 2.0" 2>&1`
 
7309
        fi
 
7310
        # Put the nasty error message in config.log where it belongs
 
7311
        echo "$GECKO_PKG_ERRORS" >&5
 
7312
 
 
7313
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&5
 
7314
$as_echo "$as_me: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&2;}
 
7315
elif test $pkg_failed = untried; then
 
7316
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7317
$as_echo "no" >&6; }
 
7318
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&5
 
7319
$as_echo "$as_me: WARNING: mozilla-plugin >= 2.0 not found. Trying another" >&2;}
 
7320
else
 
7321
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
 
7322
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
 
7323
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7324
$as_echo "yes" >&6; }
 
7325
 
 
7326
$as_echo "#define HAVE_NEW_XULRUNNER 1" >>confdefs.h
 
7327
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using mozilla" >&5
 
7328
$as_echo "$as_me: Using mozilla" >&6;}
 
7329
 
 
7330
fi
 
7331
fi
 
7332
 
 
7333
if test "$GECKO_CFLAGS" = ""; then
 
7334
 
 
7335
pkg_failed=no
 
7336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
 
7337
$as_echo_n "checking for GECKO... " >&6; }
 
7338
 
 
7339
if test -n "$GECKO_CFLAGS"; then
 
7340
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
 
7341
 elif test -n "$PKG_CONFIG"; then
 
7342
    if test -n "$PKG_CONFIG" && \
 
7343
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
 
7344
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
 
7345
  ac_status=$?
 
7346
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7347
  test $ac_status = 0; }; then
 
7348
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "mozilla-plugin" 2>/dev/null`
 
7349
                      test "x$?" != "x0" && pkg_failed=yes
 
7350
else
 
7351
  pkg_failed=yes
 
7352
fi
 
7353
 else
 
7354
    pkg_failed=untried
 
7355
fi
 
7356
if test -n "$GECKO_LIBS"; then
 
7357
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
 
7358
 elif test -n "$PKG_CONFIG"; then
 
7359
    if test -n "$PKG_CONFIG" && \
 
7360
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mozilla-plugin\""; } >&5
 
7361
  ($PKG_CONFIG --exists --print-errors "mozilla-plugin") 2>&5
 
7362
  ac_status=$?
 
7363
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7364
  test $ac_status = 0; }; then
 
7365
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "mozilla-plugin" 2>/dev/null`
 
7366
                      test "x$?" != "x0" && pkg_failed=yes
 
7367
else
 
7368
  pkg_failed=yes
 
7369
fi
 
7370
 else
 
7371
    pkg_failed=untried
 
7372
fi
 
7373
 
 
7374
 
 
7375
 
 
7376
if test $pkg_failed = yes; then
 
7377
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7378
$as_echo "no" >&6; }
 
7379
 
 
7380
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7381
        _pkg_short_errors_supported=yes
 
7382
else
 
7383
        _pkg_short_errors_supported=no
 
7384
fi
 
7385
        if test $_pkg_short_errors_supported = yes; then
 
7386
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mozilla-plugin" 2>&1`
 
7387
        else
 
7388
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mozilla-plugin" 2>&1`
 
7389
        fi
 
7390
        # Put the nasty error message in config.log where it belongs
 
7391
        echo "$GECKO_PKG_ERRORS" >&5
 
7392
 
 
7393
        as_fn_error $? "mozilla-plugin not found. Try passing --with-xulrunner-sdk" "$LINENO" 5
 
7394
elif test $pkg_failed = untried; then
 
7395
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7396
$as_echo "no" >&6; }
 
7397
        as_fn_error $? "mozilla-plugin not found. Try passing --with-xulrunner-sdk" "$LINENO" 5
7592
7398
else
7593
7399
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7594
7400
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7600
7406
fi
7601
7407
fi
7602
7408
 
7603
 
if test "$GECKO_CFLAGS" = ""; then
7604
 
 
7605
 
pkg_failed=no
7606
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7607
 
$as_echo_n "checking for GECKO... " >&6; }
7608
 
 
7609
 
if test -n "$GECKO_CFLAGS"; then
7610
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7611
 
 elif test -n "$PKG_CONFIG"; then
7612
 
    if test -n "$PKG_CONFIG" && \
7613
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7614
 
  ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7615
 
  ac_status=$?
7616
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7617
 
  test $ac_status = 0; }; then
7618
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "firefox-plugin firefox-xpcom" 2>/dev/null`
7619
 
else
7620
 
  pkg_failed=yes
7621
 
fi
7622
 
 else
7623
 
    pkg_failed=untried
7624
 
fi
7625
 
if test -n "$GECKO_LIBS"; then
7626
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7627
 
 elif test -n "$PKG_CONFIG"; then
7628
 
    if test -n "$PKG_CONFIG" && \
7629
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"firefox-plugin firefox-xpcom\""; } >&5
7630
 
  ($PKG_CONFIG --exists --print-errors "firefox-plugin firefox-xpcom") 2>&5
7631
 
  ac_status=$?
7632
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7633
 
  test $ac_status = 0; }; then
7634
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "firefox-plugin firefox-xpcom" 2>/dev/null`
7635
 
else
7636
 
  pkg_failed=yes
7637
 
fi
7638
 
 else
7639
 
    pkg_failed=untried
7640
 
fi
7641
 
 
7642
 
 
7643
 
 
7644
 
if test $pkg_failed = yes; then
7645
 
 
7646
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7647
 
        _pkg_short_errors_supported=yes
7648
 
else
7649
 
        _pkg_short_errors_supported=no
7650
 
fi
7651
 
        if test $_pkg_short_errors_supported = yes; then
7652
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7653
 
        else
7654
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "firefox-plugin firefox-xpcom" 2>&1`
7655
 
        fi
7656
 
        # Put the nasty error message in config.log where it belongs
7657
 
        echo "$GECKO_PKG_ERRORS" >&5
7658
 
 
7659
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660
 
$as_echo "no" >&6; }
7661
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7662
 
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7663
 
elif test $pkg_failed = untried; then
7664
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: firefox-plugin not found, trying another" >&5
7665
 
$as_echo "$as_me: WARNING: firefox-plugin not found, trying another" >&2;}
7666
 
else
7667
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7668
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7669
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7670
 
$as_echo "yes" >&6; }
7671
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using firefox" >&5
7672
 
$as_echo "$as_me: Using firefox" >&6;}
7673
 
 
7674
 
fi
7675
 
fi
7676
 
 
7677
 
if test "$GECKO_CFLAGS" = ""; then
7678
 
 
7679
 
pkg_failed=no
7680
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7681
 
$as_echo_n "checking for GECKO... " >&6; }
7682
 
 
7683
 
if test -n "$GECKO_CFLAGS"; then
7684
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7685
 
 elif test -n "$PKG_CONFIG"; then
7686
 
    if test -n "$PKG_CONFIG" && \
7687
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7688
 
  ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7689
 
  ac_status=$?
7690
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7691
 
  test $ac_status = 0; }; then
7692
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7693
 
else
7694
 
  pkg_failed=yes
7695
 
fi
7696
 
 else
7697
 
    pkg_failed=untried
7698
 
fi
7699
 
if test -n "$GECKO_LIBS"; then
7700
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7701
 
 elif test -n "$PKG_CONFIG"; then
7702
 
    if test -n "$PKG_CONFIG" && \
7703
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"seamonkey-plugin seamonkey-xpcom\""; } >&5
7704
 
  ($PKG_CONFIG --exists --print-errors "seamonkey-plugin seamonkey-xpcom") 2>&5
7705
 
  ac_status=$?
7706
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7707
 
  test $ac_status = 0; }; then
7708
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "seamonkey-plugin seamonkey-xpcom" 2>/dev/null`
7709
 
else
7710
 
  pkg_failed=yes
7711
 
fi
7712
 
 else
7713
 
    pkg_failed=untried
7714
 
fi
7715
 
 
7716
 
 
7717
 
 
7718
 
if test $pkg_failed = yes; then
7719
 
 
7720
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7721
 
        _pkg_short_errors_supported=yes
7722
 
else
7723
 
        _pkg_short_errors_supported=no
7724
 
fi
7725
 
        if test $_pkg_short_errors_supported = yes; then
7726
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7727
 
        else
7728
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "seamonkey-plugin seamonkey-xpcom" 2>&1`
7729
 
        fi
7730
 
        # Put the nasty error message in config.log where it belongs
7731
 
        echo "$GECKO_PKG_ERRORS" >&5
7732
 
 
7733
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734
 
$as_echo "no" >&6; }
7735
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7736
 
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7737
 
elif test $pkg_failed = untried; then
7738
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: seamokey-plugin not found, trying another" >&5
7739
 
$as_echo "$as_me: WARNING: seamokey-plugin not found, trying another" >&2;}
7740
 
else
7741
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7742
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7743
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7744
 
$as_echo "yes" >&6; }
7745
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using seamonkey" >&5
7746
 
$as_echo "$as_me: Using seamonkey" >&6;}
7747
 
 
7748
 
fi
7749
 
fi
7750
 
 
7751
 
if test "$GECKO_CFLAGS" = ""; then
7752
 
 
7753
 
pkg_failed=no
7754
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7755
 
$as_echo_n "checking for GECKO... " >&6; }
7756
 
 
7757
 
if test -n "$GECKO_CFLAGS"; then
7758
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7759
 
 elif test -n "$PKG_CONFIG"; then
7760
 
    if test -n "$PKG_CONFIG" && \
7761
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7762
 
  ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7763
 
  ac_status=$?
7764
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7765
 
  test $ac_status = 0; }; then
7766
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7767
 
else
7768
 
  pkg_failed=yes
7769
 
fi
7770
 
 else
7771
 
    pkg_failed=untried
7772
 
fi
7773
 
if test -n "$GECKO_LIBS"; then
7774
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7775
 
 elif test -n "$PKG_CONFIG"; then
7776
 
    if test -n "$PKG_CONFIG" && \
7777
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xulrunner-plugin xulrunner-xpcom\""; } >&5
7778
 
  ($PKG_CONFIG --exists --print-errors "xulrunner-plugin xulrunner-xpcom") 2>&5
7779
 
  ac_status=$?
7780
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7781
 
  test $ac_status = 0; }; then
7782
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "xulrunner-plugin xulrunner-xpcom" 2>/dev/null`
7783
 
else
7784
 
  pkg_failed=yes
7785
 
fi
7786
 
 else
7787
 
    pkg_failed=untried
7788
 
fi
7789
 
 
7790
 
 
7791
 
 
7792
 
if test $pkg_failed = yes; then
7793
 
 
7794
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7795
 
        _pkg_short_errors_supported=yes
7796
 
else
7797
 
        _pkg_short_errors_supported=no
7798
 
fi
7799
 
        if test $_pkg_short_errors_supported = yes; then
7800
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7801
 
        else
7802
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xulrunner-plugin xulrunner-xpcom" 2>&1`
7803
 
        fi
7804
 
        # Put the nasty error message in config.log where it belongs
7805
 
        echo "$GECKO_PKG_ERRORS" >&5
7806
 
 
7807
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7808
 
$as_echo "no" >&6; }
7809
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7810
 
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7811
 
elif test $pkg_failed = untried; then
7812
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xulrunner-plugin not found, trying another" >&5
7813
 
$as_echo "$as_me: WARNING: xulrunner-plugin not found, trying another" >&2;}
7814
 
else
7815
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7816
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7817
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7818
 
$as_echo "yes" >&6; }
7819
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using xulrunner" >&5
7820
 
$as_echo "$as_me: Using xulrunner" >&6;}
7821
 
 
7822
 
fi
7823
 
fi
7824
 
 
7825
 
if test "$GECKO_CFLAGS" = ""; then
7826
 
 
7827
 
pkg_failed=no
7828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GECKO" >&5
7829
 
$as_echo_n "checking for GECKO... " >&6; }
7830
 
 
7831
 
if test -n "$GECKO_CFLAGS"; then
7832
 
    pkg_cv_GECKO_CFLAGS="$GECKO_CFLAGS"
7833
 
 elif test -n "$PKG_CONFIG"; then
7834
 
    if test -n "$PKG_CONFIG" && \
7835
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
7836
 
  ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
7837
 
  ac_status=$?
7838
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7839
 
  test $ac_status = 0; }; then
7840
 
  pkg_cv_GECKO_CFLAGS=`$PKG_CONFIG --cflags "iceape-plugin iceape-xpcom" 2>/dev/null`
7841
 
else
7842
 
  pkg_failed=yes
7843
 
fi
7844
 
 else
7845
 
    pkg_failed=untried
7846
 
fi
7847
 
if test -n "$GECKO_LIBS"; then
7848
 
    pkg_cv_GECKO_LIBS="$GECKO_LIBS"
7849
 
 elif test -n "$PKG_CONFIG"; then
7850
 
    if test -n "$PKG_CONFIG" && \
7851
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iceape-plugin iceape-xpcom\""; } >&5
7852
 
  ($PKG_CONFIG --exists --print-errors "iceape-plugin iceape-xpcom") 2>&5
7853
 
  ac_status=$?
7854
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7855
 
  test $ac_status = 0; }; then
7856
 
  pkg_cv_GECKO_LIBS=`$PKG_CONFIG --libs "iceape-plugin iceape-xpcom" 2>/dev/null`
7857
 
else
7858
 
  pkg_failed=yes
7859
 
fi
7860
 
 else
7861
 
    pkg_failed=untried
7862
 
fi
7863
 
 
7864
 
 
7865
 
 
7866
 
if test $pkg_failed = yes; then
7867
 
 
7868
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7869
 
        _pkg_short_errors_supported=yes
7870
 
else
7871
 
        _pkg_short_errors_supported=no
7872
 
fi
7873
 
        if test $_pkg_short_errors_supported = yes; then
7874
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "iceape-plugin iceape-xpcom" 2>&1`
7875
 
        else
7876
 
                GECKO_PKG_ERRORS=`$PKG_CONFIG --print-errors "iceape-plugin iceape-xpcom" 2>&1`
7877
 
        fi
7878
 
        # Put the nasty error message in config.log where it belongs
7879
 
        echo "$GECKO_PKG_ERRORS" >&5
7880
 
 
7881
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882
 
$as_echo "no" >&6; }
7883
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
7884
 
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
7885
 
elif test $pkg_failed = untried; then
7886
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iceape-plugin not found, trying another" >&5
7887
 
$as_echo "$as_me: WARNING: iceape-plugin not found, trying another" >&2;}
7888
 
else
7889
 
        GECKO_CFLAGS=$pkg_cv_GECKO_CFLAGS
7890
 
        GECKO_LIBS=$pkg_cv_GECKO_LIBS
7891
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7892
 
$as_echo "yes" >&6; }
7893
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: Using iceape" >&5
7894
 
$as_echo "$as_me: Using iceape" >&6;}
7895
 
 
7896
 
fi
7897
 
fi
7898
 
 
7899
7409
 
7900
7410
pkg_failed=no
7901
7411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSPR" >&5
7911
7421
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7912
7422
  test $ac_status = 0; }; then
7913
7423
  pkg_cv_NSPR_CFLAGS=`$PKG_CONFIG --cflags "nspr" 2>/dev/null`
 
7424
                      test "x$?" != "x0" && pkg_failed=yes
7914
7425
else
7915
7426
  pkg_failed=yes
7916
7427
fi
7927
7438
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7928
7439
  test $ac_status = 0; }; then
7929
7440
  pkg_cv_NSPR_LIBS=`$PKG_CONFIG --libs "nspr" 2>/dev/null`
 
7441
                      test "x$?" != "x0" && pkg_failed=yes
7930
7442
else
7931
7443
  pkg_failed=yes
7932
7444
fi
7937
7449
 
7938
7450
 
7939
7451
if test $pkg_failed = yes; then
 
7452
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7453
$as_echo "no" >&6; }
7940
7454
 
7941
7455
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7942
7456
        _pkg_short_errors_supported=yes
7944
7458
        _pkg_short_errors_supported=no
7945
7459
fi
7946
7460
        if test $_pkg_short_errors_supported = yes; then
7947
 
                NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nspr" 2>&1`
 
7461
                NSPR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nspr" 2>&1`
7948
7462
        else
7949
 
                NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors "nspr" 2>&1`
 
7463
                NSPR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nspr" 2>&1`
7950
7464
        fi
7951
7465
        # Put the nasty error message in config.log where it belongs
7952
7466
        echo "$NSPR_PKG_ERRORS" >&5
7953
7467
 
7954
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7468
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
 
7469
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
 
7470
elif test $pkg_failed = untried; then
 
7471
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955
7472
$as_echo "no" >&6; }
7956
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
7957
 
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
7958
 
elif test $pkg_failed = untried; then
7959
7473
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: nspr not found, may not be needed" >&5
7960
7474
$as_echo "$as_me: WARNING: nspr not found, may not be needed" >&2;}
7961
7475
else
7988
7502
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7989
7503
  test $ac_status = 0; }; then
7990
7504
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
 
7505
                      test "x$?" != "x0" && pkg_failed=yes
7991
7506
else
7992
7507
  pkg_failed=yes
7993
7508
fi
8004
7519
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8005
7520
  test $ac_status = 0; }; then
8006
7521
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>/dev/null`
 
7522
                      test "x$?" != "x0" && pkg_failed=yes
8007
7523
else
8008
7524
  pkg_failed=yes
8009
7525
fi
8014
7530
 
8015
7531
 
8016
7532
if test $pkg_failed = yes; then
 
7533
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7534
$as_echo "no" >&6; }
8017
7535
 
8018
7536
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8019
7537
        _pkg_short_errors_supported=yes
8021
7539
        _pkg_short_errors_supported=no
8022
7540
fi
8023
7541
        if test $_pkg_short_errors_supported = yes; then
8024
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
 
7542
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8025
7543
        else
8026
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
 
7544
                DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.95 dbus-glib-1 >= 0.70" 2>&1`
8027
7545
        fi
8028
7546
        # Put the nasty error message in config.log where it belongs
8029
7547
        echo "$DBUS_PKG_ERRORS" >&5
8030
7548
 
8031
 
        as_fn_error "Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met:
 
7549
        as_fn_error $? "Package requirements (dbus-1 >= 0.95 dbus-glib-1 >= 0.70) were not met:
8032
7550
 
8033
7551
$DBUS_PKG_ERRORS
8034
7552
 
8037
7555
 
8038
7556
Alternatively, you may set the environment variables DBUS_CFLAGS
8039
7557
and DBUS_LIBS to avoid the need to call pkg-config.
8040
 
See the pkg-config man page for more details.
8041
 
" "$LINENO" 5
 
7558
See the pkg-config man page for more details." "$LINENO" 5
8042
7559
elif test $pkg_failed = untried; then
 
7560
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7561
$as_echo "no" >&6; }
8043
7562
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8044
7563
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8045
 
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
7564
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
8046
7565
is in your PATH or set the PKG_CONFIG environment variable to the full
8047
7566
path to pkg-config.
8048
7567
 
8051
7570
See the pkg-config man page for more details.
8052
7571
 
8053
7572
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
8054
 
See \`config.log' for more details." "$LINENO" 5; }
 
7573
See \`config.log' for more details" "$LINENO" 5; }
8055
7574
else
8056
7575
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
8057
7576
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
8058
7577
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8059
7578
$as_echo "yes" >&6; }
8060
 
        :
 
7579
 
8061
7580
fi
8062
7581
 
8063
7582
 
8093
7612
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8094
7613
  test $ac_status = 0; }; then
8095
7614
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
 
7615
                      test "x$?" != "x0" && pkg_failed=yes
8096
7616
else
8097
7617
  pkg_failed=yes
8098
7618
fi
8109
7629
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8110
7630
  test $ac_status = 0; }; then
8111
7631
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
 
7632
                      test "x$?" != "x0" && pkg_failed=yes
8112
7633
else
8113
7634
  pkg_failed=yes
8114
7635
fi
8119
7640
 
8120
7641
 
8121
7642
if test $pkg_failed = yes; then
 
7643
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7644
$as_echo "no" >&6; }
8122
7645
 
8123
7646
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8124
7647
        _pkg_short_errors_supported=yes
8126
7649
        _pkg_short_errors_supported=no
8127
7650
fi
8128
7651
        if test $_pkg_short_errors_supported = yes; then
8129
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
 
7652
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
8130
7653
        else
8131
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
 
7654
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
8132
7655
        fi
8133
7656
        # Put the nasty error message in config.log where it belongs
8134
7657
        echo "$GCONF_PKG_ERRORS" >&5
8135
7658
 
8136
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7659
         if false; then
 
7660
  GCONF_SCHEMAS_INSTALL_TRUE=
 
7661
  GCONF_SCHEMAS_INSTALL_FALSE='#'
 
7662
else
 
7663
  GCONF_SCHEMAS_INSTALL_TRUE='#'
 
7664
  GCONF_SCHEMAS_INSTALL_FALSE=
 
7665
fi
 
7666
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
 
7667
$as_echo "$as_me: Using keystore for preferences" >&6;}
 
7668
elif test $pkg_failed = untried; then
 
7669
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137
7670
$as_echo "no" >&6; }
8138
 
                 if false; then
8139
 
  GCONF_SCHEMAS_INSTALL_TRUE=
8140
 
  GCONF_SCHEMAS_INSTALL_FALSE='#'
8141
 
else
8142
 
  GCONF_SCHEMAS_INSTALL_TRUE='#'
8143
 
  GCONF_SCHEMAS_INSTALL_FALSE=
8144
 
fi
8145
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: Using keystore for preferences" >&5
8146
 
$as_echo "$as_me: Using keystore for preferences" >&6;}
8147
 
elif test $pkg_failed = untried; then
8148
7671
         if false; then
8149
7672
  GCONF_SCHEMAS_INSTALL_TRUE=
8150
7673
  GCONF_SCHEMAS_INSTALL_FALSE='#'
8196
7719
if test "${enable_schemas_install+set}" = set; then :
8197
7720
  enableval=$enable_schemas_install; case ${enableval} in
8198
7721
       yes|no) ;;
8199
 
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
 
7722
       *) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
8200
7723
      esac
8201
7724
fi
8202
7725
 
8243
7766
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8244
7767
  test $ac_status = 0; }; then
8245
7768
  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0" 2>/dev/null`
 
7769
                      test "x$?" != "x0" && pkg_failed=yes
8246
7770
else
8247
7771
  pkg_failed=yes
8248
7772
fi
8259
7783
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8260
7784
  test $ac_status = 0; }; then
8261
7785
  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0" 2>/dev/null`
 
7786
                      test "x$?" != "x0" && pkg_failed=yes
8262
7787
else
8263
7788
  pkg_failed=yes
8264
7789
fi
8269
7794
 
8270
7795
 
8271
7796
if test $pkg_failed = yes; then
 
7797
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7798
$as_echo "no" >&6; }
8272
7799
 
8273
7800
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8274
7801
        _pkg_short_errors_supported=yes
8276
7803
        _pkg_short_errors_supported=no
8277
7804
fi
8278
7805
        if test $_pkg_short_errors_supported = yes; then
8279
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0" 2>&1`
 
7806
                GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0" 2>&1`
8280
7807
        else
8281
 
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0" 2>&1`
 
7808
                GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0" 2>&1`
8282
7809
        fi
8283
7810
        # Put the nasty error message in config.log where it belongs
8284
7811
        echo "$GIO_PKG_ERRORS" >&5
8285
7812
 
8286
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7813
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
 
7814
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
 
7815
elif test $pkg_failed = untried; then
 
7816
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287
7817
$as_echo "no" >&6; }
8288
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8289
 
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8290
 
elif test $pkg_failed = untried; then
8291
7818
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiling without gio support" >&5
8292
7819
$as_echo "$as_me: WARNING: Compiling without gio support" >&2;}
8293
7820
else
8395
7922
     :end' >>confcache
8396
7923
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8397
7924
  if test -w "$cache_file"; then
8398
 
    test "x$cache_file" != "x/dev/null" &&
 
7925
    if test "x$cache_file" != "x/dev/null"; then
8399
7926
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8400
7927
$as_echo "$as_me: updating cache $cache_file" >&6;}
8401
 
    cat confcache >$cache_file
 
7928
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
7929
        cat confcache >"$cache_file"
 
7930
      else
 
7931
        case $cache_file in #(
 
7932
        */* | ?:*)
 
7933
          mv -f confcache "$cache_file"$$ &&
 
7934
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
7935
        *)
 
7936
          mv -f confcache "$cache_file" ;;
 
7937
        esac
 
7938
      fi
 
7939
    fi
8402
7940
  else
8403
7941
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8404
7942
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8414
7952
 
8415
7953
ac_libobjs=
8416
7954
ac_ltlibobjs=
 
7955
U=
8417
7956
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8418
7957
  # 1. Remove the extension, and $U if already installed.
8419
7958
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8437
7976
fi
8438
7977
 
8439
7978
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8440
 
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
7979
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
8441
7980
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8442
7981
fi
8443
7982
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8444
 
  as_fn_error "conditional \"AMDEP\" was never defined.
8445
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8446
 
fi
8447
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8448
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
8449
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8450
 
fi
8451
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8452
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
8453
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8454
 
fi
8455
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8456
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
7983
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
7984
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
7985
fi
 
7986
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
7987
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
7988
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
7989
fi
 
7990
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
7991
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
7992
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
7993
fi
 
7994
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
7995
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8457
7996
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8458
7997
fi
8459
7998
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8460
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
8461
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8462
 
fi
8463
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8464
 
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8465
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8466
 
fi
8467
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8468
 
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8469
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8470
 
fi
8471
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8472
 
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8473
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8474
 
fi
8475
 
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
8476
 
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
7999
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
8000
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8001
fi
 
8002
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8003
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
8004
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8005
fi
 
8006
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8007
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
8008
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8009
fi
 
8010
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8011
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
 
8012
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8013
fi
 
8014
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
 
8015
  as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
8477
8016
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8478
8017
fi
8479
8018
 
8480
 
: ${CONFIG_STATUS=./config.status}
 
8019
: "${CONFIG_STATUS=./config.status}"
8481
8020
ac_write_fail=0
8482
8021
ac_clean_files_save=$ac_clean_files
8483
8022
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8578
8117
IFS=" ""        $as_nl"
8579
8118
 
8580
8119
# Find who we are.  Look in the path if we contain no directory separator.
 
8120
as_myself=
8581
8121
case $0 in #((
8582
8122
  *[\\/]* ) as_myself=$0 ;;
8583
8123
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8623
8163
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8624
8164
 
8625
8165
 
8626
 
# as_fn_error ERROR [LINENO LOG_FD]
8627
 
# ---------------------------------
 
8166
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
8167
# ----------------------------------------
8628
8168
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8629
8169
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8630
 
# script with status $?, using 1 if that was 0.
 
8170
# script with STATUS, using 1 if that was 0.
8631
8171
as_fn_error ()
8632
8172
{
8633
 
  as_status=$?; test $as_status -eq 0 && as_status=1
8634
 
  if test "$3"; then
8635
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8636
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
8173
  as_status=$1; test $as_status -eq 0 && as_status=1
 
8174
  if test "$4"; then
 
8175
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
8176
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8637
8177
  fi
8638
 
  $as_echo "$as_me: error: $1" >&2
 
8178
  $as_echo "$as_me: error: $2" >&2
8639
8179
  as_fn_exit $as_status
8640
8180
} # as_fn_error
8641
8181
 
8831
8371
      test -d "$as_dir" && break
8832
8372
    done
8833
8373
    test -z "$as_dirs" || eval "mkdir $as_dirs"
8834
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
8374
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8835
8375
 
8836
8376
 
8837
8377
} # as_fn_mkdir_p
8885
8425
# values after options handling.
8886
8426
ac_log="
8887
8427
This file was extended by $as_me, which was
8888
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
8428
generated by GNU Autoconf 2.68.  Invocation command line was
8889
8429
 
8890
8430
  CONFIG_FILES    = $CONFIG_FILES
8891
8431
  CONFIG_HEADERS  = $CONFIG_HEADERS
8951
8491
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8952
8492
ac_cs_version="\\
8953
8493
config.status
8954
 
configured by $0, generated by GNU Autoconf 2.65,
 
8494
configured by $0, generated by GNU Autoconf 2.68,
8955
8495
  with options \\"\$ac_cs_config\\"
8956
8496
 
8957
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
8497
Copyright (C) 2010 Free Software Foundation, Inc.
8958
8498
This config.status script is free software; the Free Software Foundation
8959
8499
gives unlimited permission to copy, distribute and modify it."
8960
8500
 
8972
8512
while test $# != 0
8973
8513
do
8974
8514
  case $1 in
8975
 
  --*=*)
 
8515
  --*=?*)
8976
8516
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
8977
8517
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8978
8518
    ac_shift=:
8979
8519
    ;;
 
8520
  --*=)
 
8521
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
8522
    ac_optarg=
 
8523
    ac_shift=:
 
8524
    ;;
8980
8525
  *)
8981
8526
    ac_option=$1
8982
8527
    ac_optarg=$2
8998
8543
    $ac_shift
8999
8544
    case $ac_optarg in
9000
8545
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
8546
    '') as_fn_error $? "missing file argument" ;;
9001
8547
    esac
9002
8548
    as_fn_append CONFIG_FILES " '$ac_optarg'"
9003
8549
    ac_need_defaults=false;;
9010
8556
    ac_need_defaults=false;;
9011
8557
  --he | --h)
9012
8558
    # Conflict between --help and --header
9013
 
    as_fn_error "ambiguous option: \`$1'
 
8559
    as_fn_error $? "ambiguous option: \`$1'
9014
8560
Try \`$0 --help' for more information.";;
9015
8561
  --help | --hel | -h )
9016
8562
    $as_echo "$ac_cs_usage"; exit ;;
9019
8565
    ac_cs_silent=: ;;
9020
8566
 
9021
8567
  # This is an error.
9022
 
  -*) as_fn_error "unrecognized option: \`$1'
 
8568
  -*) as_fn_error $? "unrecognized option: \`$1'
9023
8569
Try \`$0 --help' for more information." ;;
9024
8570
 
9025
8571
  *) as_fn_append ac_config_targets " $1"
9083
8629
    "src/libgmlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/libgmlib/Makefile" ;;
9084
8630
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9085
8631
 
9086
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
8632
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9087
8633
  esac
9088
8634
done
9089
8635
 
9106
8652
# after its creation but before its name has been assigned to `$tmp'.
9107
8653
$debug ||
9108
8654
{
9109
 
  tmp=
 
8655
  tmp= ac_tmp=
9110
8656
  trap 'exit_status=$?
9111
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
8657
  : "${ac_tmp:=$tmp}"
 
8658
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9112
8659
' 0
9113
8660
  trap 'as_fn_exit 1' 1 2 13 15
9114
8661
}
9116
8663
 
9117
8664
{
9118
8665
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9119
 
  test -n "$tmp" && test -d "$tmp"
 
8666
  test -d "$tmp"
9120
8667
}  ||
9121
8668
{
9122
8669
  tmp=./conf$$-$RANDOM
9123
8670
  (umask 077 && mkdir "$tmp")
9124
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
8671
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
8672
ac_tmp=$tmp
9125
8673
 
9126
8674
# Set up the scripts for CONFIG_FILES section.
9127
8675
# No need to generate them if there are no CONFIG_FILES.
9138
8686
fi
9139
8687
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9140
8688
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9141
 
  ac_cs_awk_cr='\r'
 
8689
  ac_cs_awk_cr='\\r'
9142
8690
else
9143
8691
  ac_cs_awk_cr=$ac_cr
9144
8692
fi
9145
8693
 
9146
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
8694
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9147
8695
_ACEOF
9148
8696
 
9149
8697
 
9152
8700
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9153
8701
  echo "_ACEOF"
9154
8702
} >conf$$subs.sh ||
9155
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9156
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
8703
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
8704
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9157
8705
ac_delim='%!_!# '
9158
8706
for ac_last_try in false false false false false :; do
9159
8707
  . ./conf$$subs.sh ||
9160
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
8708
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9161
8709
 
9162
8710
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9163
8711
  if test $ac_delim_n = $ac_delim_num; then
9164
8712
    break
9165
8713
  elif $ac_last_try; then
9166
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
8714
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9167
8715
  else
9168
8716
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9169
8717
  fi
9171
8719
rm -f conf$$subs.sh
9172
8720
 
9173
8721
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9174
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
8722
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9175
8723
_ACEOF
9176
8724
sed -n '
9177
8725
h
9219
8767
rm -f conf$$subs.awk
9220
8768
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9221
8769
_ACAWK
9222
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
8770
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9223
8771
  for (key in S) S_is_set[key] = 1
9224
8772
  FS = ""
9225
8773
 
9251
8799
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9252
8800
else
9253
8801
  cat
9254
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9255
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
8802
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
8803
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9256
8804
_ACEOF
9257
8805
 
9258
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9259
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
8806
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
8807
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9260
8808
# trailing colons and then remove the whole line if VPATH becomes empty
9261
8809
# (actually we leave an empty line to preserve line numbers).
9262
8810
if test "x$srcdir" = x.; then
9263
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
9264
 
s/:*\$(srcdir):*/:/
9265
 
s/:*\${srcdir}:*/:/
9266
 
s/:*@srcdir@:*/:/
9267
 
s/^\([^=]*=[     ]*\):*/\1/
 
8811
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
8812
h
 
8813
s///
 
8814
s/^/:/
 
8815
s/[      ]*$/:/
 
8816
s/:\$(srcdir):/:/g
 
8817
s/:\${srcdir}:/:/g
 
8818
s/:@srcdir@:/:/g
 
8819
s/^:*//
9268
8820
s/:*$//
 
8821
x
 
8822
s/\(=[   ]*\).*/\1/
 
8823
G
 
8824
s/\n//
9269
8825
s/^[^=]*=[       ]*$//
9270
8826
}'
9271
8827
fi
9277
8833
# No need to generate them if there are no CONFIG_HEADERS.
9278
8834
# This happens for instance with `./config.status Makefile'.
9279
8835
if test -n "$CONFIG_HEADERS"; then
9280
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
8836
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9281
8837
BEGIN {
9282
8838
_ACEOF
9283
8839
 
9289
8845
# handling of long lines.
9290
8846
ac_delim='%!_!# '
9291
8847
for ac_last_try in false false :; do
9292
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9293
 
  if test -z "$ac_t"; then
 
8848
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
8849
  if test -z "$ac_tt"; then
9294
8850
    break
9295
8851
  elif $ac_last_try; then
9296
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
8852
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9297
8853
  else
9298
8854
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9299
8855
  fi
9378
8934
_ACAWK
9379
8935
_ACEOF
9380
8936
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9381
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
8937
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
9382
8938
fi # test -n "$CONFIG_HEADERS"
9383
8939
 
9384
8940
 
9391
8947
  esac
9392
8948
  case $ac_mode$ac_tag in
9393
8949
  :[FHL]*:*);;
9394
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
8950
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9395
8951
  :[FH]-) ac_tag=-:-;;
9396
8952
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9397
8953
  esac
9410
8966
    for ac_f
9411
8967
    do
9412
8968
      case $ac_f in
9413
 
      -) ac_f="$tmp/stdin";;
 
8969
      -) ac_f="$ac_tmp/stdin";;
9414
8970
      *) # Look for the file first in the build tree, then in the source tree
9415
8971
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
9416
8972
         # because $ac_f cannot contain `:'.
9419
8975
           [\\/$]*) false;;
9420
8976
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9421
8977
           esac ||
9422
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
8978
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9423
8979
      esac
9424
8980
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9425
8981
      as_fn_append ac_file_inputs " '$ac_f'"
9445
9001
    esac
9446
9002
 
9447
9003
    case $ac_tag in
9448
 
    *:-:* | *:-) cat >"$tmp/stdin" \
9449
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
9004
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
9005
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9450
9006
    esac
9451
9007
    ;;
9452
9008
  esac
9582
9138
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9583
9139
$ac_datarootdir_hack
9584
9140
"
9585
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9586
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
9141
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
9142
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9587
9143
 
9588
9144
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9589
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9590
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
9145
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
9146
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
9147
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
9591
9148
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9592
 
which seems to be undefined.  Please make sure it is defined." >&5
 
9149
which seems to be undefined.  Please make sure it is defined" >&5
9593
9150
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9594
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
9151
which seems to be undefined.  Please make sure it is defined" >&2;}
9595
9152
 
9596
 
  rm -f "$tmp/stdin"
 
9153
  rm -f "$ac_tmp/stdin"
9597
9154
  case $ac_file in
9598
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
9599
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
9155
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
9156
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9600
9157
  esac \
9601
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
9158
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9602
9159
 ;;
9603
9160
  :H)
9604
9161
  #
9607
9164
  if test x"$ac_file" != x-; then
9608
9165
    {
9609
9166
      $as_echo "/* $configure_input  */" \
9610
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9611
 
    } >"$tmp/config.h" \
9612
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
9613
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
9167
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
9168
    } >"$ac_tmp/config.h" \
 
9169
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
9170
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9614
9171
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9615
9172
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9616
9173
    else
9617
9174
      rm -f "$ac_file"
9618
 
      mv "$tmp/config.h" "$ac_file" \
9619
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
9175
      mv "$ac_tmp/config.h" "$ac_file" \
 
9176
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9620
9177
    fi
9621
9178
  else
9622
9179
    $as_echo "/* $configure_input  */" \
9623
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9624
 
      || as_fn_error "could not create -" "$LINENO" 5
 
9180
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
9181
      || as_fn_error $? "could not create -" "$LINENO" 5
9625
9182
  fi
9626
9183
# Compute "$ac_file"'s index in $config_headers.
9627
9184
_am_arg="$ac_file"
9774
9331
ac_clean_files=$ac_clean_files_save
9775
9332
 
9776
9333
test $ac_write_fail = 0 ||
9777
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
9334
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9778
9335
 
9779
9336
 
9780
9337
# configure is writing to config.log, and then calls config.status.
9795
9352
  exec 5>>config.log
9796
9353
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9797
9354
  # would make configure fail if this is the last instruction.
9798
 
  $ac_cs_success || as_fn_exit $?
 
9355
  $ac_cs_success || as_fn_exit 1
9799
9356
fi
9800
9357
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9801
9358
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5