~ubuntu-branches/debian/sid/gsmartcontrol/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Giuseppe Iuculano
  • Date: 2013-05-31 11:41:52 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130531114152-5ljhkuswwpt4kdwo
Tags: 0.8.7-1
* [314881d] Updated debian/watch
* [18ebada] Imported Upstream version 0.8.7
* [c2a1f1b] debian/rules: Provide build-arch and build-indep
* [d3036a4] Enabled Hardening Options
* [2edfb87] Refreshed patches and removed patches apllied upstream
* [ac3b953] Bump to standard versions 3.9.4
* [292c276] Remove quilt from depends

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 for GSmartControl 0.8.6.
 
3
# Generated by GNU Autoconf 2.68 for GSmartControl 0.8.7.
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
 
549
557
# Identity of this package.
550
558
PACKAGE_NAME='GSmartControl'
551
559
PACKAGE_TARNAME='gsmartcontrol'
552
 
PACKAGE_VERSION='0.8.6'
553
 
PACKAGE_STRING='GSmartControl 0.8.6'
 
560
PACKAGE_VERSION='0.8.7'
 
561
PACKAGE_STRING='GSmartControl 0.8.7'
554
562
PACKAGE_BUGREPORT=''
555
563
PACKAGE_URL=''
556
564
 
901
909
  fi
902
910
 
903
911
  case $ac_option in
904
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905
 
  *)    ac_optarg=yes ;;
 
912
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
913
  *=)   ac_optarg= ;;
 
914
  *)    ac_optarg=yes ;;
906
915
  esac
907
916
 
908
917
  # Accept the important Cygnus configure options, so we can diagnose typos.
947
956
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948
957
    # Reject names that are not valid shell variable names.
949
958
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950
 
      as_fn_error "invalid feature name: $ac_useropt"
 
959
      as_fn_error $? "invalid feature name: $ac_useropt"
951
960
    ac_useropt_orig=$ac_useropt
952
961
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953
962
    case $ac_user_opts in
973
982
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974
983
    # Reject names that are not valid shell variable names.
975
984
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976
 
      as_fn_error "invalid feature name: $ac_useropt"
 
985
      as_fn_error $? "invalid feature name: $ac_useropt"
977
986
    ac_useropt_orig=$ac_useropt
978
987
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979
988
    case $ac_user_opts in
1177
1186
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178
1187
    # Reject names that are not valid shell variable names.
1179
1188
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180
 
      as_fn_error "invalid package name: $ac_useropt"
 
1189
      as_fn_error $? "invalid package name: $ac_useropt"
1181
1190
    ac_useropt_orig=$ac_useropt
1182
1191
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183
1192
    case $ac_user_opts in
1193
1202
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194
1203
    # Reject names that are not valid shell variable names.
1195
1204
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196
 
      as_fn_error "invalid package name: $ac_useropt"
 
1205
      as_fn_error $? "invalid package name: $ac_useropt"
1197
1206
    ac_useropt_orig=$ac_useropt
1198
1207
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199
1208
    case $ac_user_opts in
1223
1232
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224
1233
    x_libraries=$ac_optarg ;;
1225
1234
 
1226
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1227
 
Try \`$0 --help' for more information."
 
1235
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1236
Try \`$0 --help' for more information"
1228
1237
    ;;
1229
1238
 
1230
1239
  *=*)
1232
1241
    # Reject names that are not valid shell variable names.
1233
1242
    case $ac_envvar in #(
1234
1243
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1235
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1244
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1236
1245
    esac
1237
1246
    eval $ac_envvar=\$ac_optarg
1238
1247
    export $ac_envvar ;;
1242
1251
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243
1252
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244
1253
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1254
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246
1255
    ;;
1247
1256
 
1248
1257
  esac
1250
1259
 
1251
1260
if test -n "$ac_prev"; then
1252
1261
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253
 
  as_fn_error "missing argument to $ac_option"
 
1262
  as_fn_error $? "missing argument to $ac_option"
1254
1263
fi
1255
1264
 
1256
1265
if test -n "$ac_unrecognized_opts"; then
1257
1266
  case $enable_option_checking in
1258
1267
    no) ;;
1259
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1268
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260
1269
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261
1270
  esac
1262
1271
fi
1279
1288
    [\\/$]* | ?:[\\/]* )  continue;;
1280
1289
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281
1290
  esac
1282
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1291
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283
1292
done
1284
1293
 
1285
1294
# There might be people who depend on the old broken behavior: `$host'
1293
1302
if test "x$host_alias" != x; then
1294
1303
  if test "x$build_alias" = x; then
1295
1304
    cross_compiling=maybe
1296
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1297
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1305
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1306
    If a cross compiler is detected then cross compile mode will be used" >&2
1298
1307
  elif test "x$build_alias" != "x$host_alias"; then
1299
1308
    cross_compiling=yes
1300
1309
  fi
1309
1318
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1310
1319
ac_ls_di=`ls -di .` &&
1311
1320
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1312
 
  as_fn_error "working directory cannot be determined"
 
1321
  as_fn_error $? "working directory cannot be determined"
1313
1322
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314
 
  as_fn_error "pwd does not report name of working directory"
 
1323
  as_fn_error $? "pwd does not report name of working directory"
1315
1324
 
1316
1325
 
1317
1326
# Find the source files, if location was not specified.
1350
1359
fi
1351
1360
if test ! -r "$srcdir/$ac_unique_file"; then
1352
1361
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1353
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1362
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354
1363
fi
1355
1364
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1356
1365
ac_abs_confdir=`(
1357
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1366
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358
1367
        pwd)`
1359
1368
# When building in place, set srcdir=.
1360
1369
if test "$ac_abs_confdir" = "$ac_pwd"; then
1380
1389
  # Omit some internal or obsolete options to make the list less imposing.
1381
1390
  # This message is too long to be a string in the A/UX 3.1 sh.
1382
1391
  cat <<_ACEOF
1383
 
\`configure' configures GSmartControl 0.8.6 to adapt to many kinds of systems.
 
1392
\`configure' configures GSmartControl 0.8.7 to adapt to many kinds of systems.
1384
1393
 
1385
1394
Usage: $0 [OPTION]... [VAR=VALUE]...
1386
1395
 
1394
1403
      --help=short        display options specific to this package
1395
1404
      --help=recursive    display the short help of all the included packages
1396
1405
  -V, --version           display version information and exit
1397
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1406
  -q, --quiet, --silent   do not print \`checking ...' messages
1398
1407
      --cache-file=FILE   cache test results in FILE [disabled]
1399
1408
  -C, --config-cache      alias for \`--cache-file=config.cache'
1400
1409
  -n, --no-create         do not create output files
1451
1460
 
1452
1461
if test -n "$ac_init_help"; then
1453
1462
  case $ac_init_help in
1454
 
     short | recursive ) echo "Configuration of GSmartControl 0.8.6:";;
 
1463
     short | recursive ) echo "Configuration of GSmartControl 0.8.7:";;
1455
1464
   esac
1456
1465
  cat <<\_ACEOF
1457
1466
 
1465
1474
  --enable-dependency-tracking   do not reject slow dependency extractors
1466
1475
  --enable-common-options=<compiler>|auto|none
1467
1476
                          enable useful compilation options (warnings,
1468
 
                          mostly). Accepted values are auto, none, gnu, intel,
1469
 
                          sun. (Default: auto)
 
1477
                          mostly). Accepted values are auto, none, gnu, clang,
 
1478
                          intel, sun. (Default: auto)
1470
1479
  --enable-debug-options=<compiler>|auto|none
1471
1480
                          enable debug build options. Accepted values are
1472
 
                          auto, none, gnu, intel, sun. (Default: none)
 
1481
                          auto, none, gnu, clang, intel, sun. (Default: none)
1473
1482
  --enable-optimize-options=<compiler>|auto|none
1474
1483
                          enable optimized build options. Accepted values are
1475
 
                          auto, none, gnu, intel, sun. (Default: none)
 
1484
                          auto, none, gnu, clang, intel, sun. (Default: none)
1476
1485
  --enable-gcc-pch        enable precompiled header support (pch make target)
1477
1486
                          (GCC only) (default: disabled) (use "make gch" to
1478
1487
                          speed up the compilation, but don't enable it if you
1606
1615
test -n "$ac_init_help" && exit $ac_status
1607
1616
if $ac_init_version; then
1608
1617
  cat <<\_ACEOF
1609
 
GSmartControl configure 0.8.6
1610
 
generated by GNU Autoconf 2.65
 
1618
GSmartControl configure 0.8.7
 
1619
generated by GNU Autoconf 2.68
1611
1620
 
1612
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1621
Copyright (C) 2010 Free Software Foundation, Inc.
1613
1622
This configure script is free software; the Free Software Foundation
1614
1623
gives unlimited permission to copy, distribute and modify it.
1615
1624
_ACEOF
1653
1662
 
1654
1663
        ac_retval=1
1655
1664
fi
1656
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1665
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657
1666
  as_fn_set_status $ac_retval
1658
1667
 
1659
1668
} # ac_fn_c_try_compile
1691
1700
 
1692
1701
        ac_retval=1
1693
1702
fi
1694
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1703
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695
1704
  as_fn_set_status $ac_retval
1696
1705
 
1697
1706
} # ac_fn_cxx_try_compile
1717
1726
    mv -f conftest.er1 conftest.err
1718
1727
  fi
1719
1728
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720
 
  test $ac_status = 0; } >/dev/null && {
 
1729
  test $ac_status = 0; } > conftest.i && {
1721
1730
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1722
1731
         test ! -s conftest.err
1723
1732
       }; then :
1728
1737
 
1729
1738
    ac_retval=1
1730
1739
fi
1731
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1740
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1732
1741
  as_fn_set_status $ac_retval
1733
1742
 
1734
1743
} # ac_fn_cxx_try_cpp
1770
1779
       ac_retval=$ac_status
1771
1780
fi
1772
1781
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1782
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774
1783
  as_fn_set_status $ac_retval
1775
1784
 
1776
1785
} # ac_fn_cxx_try_run
1784
1793
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785
1794
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786
1795
$as_echo_n "checking for $2... " >&6; }
1787
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1796
if eval \${$3+:} false; then :
1788
1797
  $as_echo_n "(cached) " >&6
1789
1798
else
1790
1799
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802
1811
eval ac_res=\$$3
1803
1812
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804
1813
$as_echo "$ac_res" >&6; }
1805
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1814
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806
1815
 
1807
1816
} # ac_fn_cxx_check_header_compile
1808
1817
 
1815
1824
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816
1825
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1817
1826
$as_echo_n "checking for int$2_t... " >&6; }
1818
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1827
if eval \${$3+:} false; then :
1819
1828
  $as_echo_n "(cached) " >&6
1820
1829
else
1821
1830
  eval "$3=no"
1826
1835
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827
1836
/* end confdefs.h.  */
1828
1837
$ac_includes_default
 
1838
             enum { N = $2 / 2 - 1 };
1829
1839
int
1830
1840
main ()
1831
1841
{
1832
 
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
1833
 
             0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
 
1842
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1834
1843
test_array [0] = 0
1835
1844
 
1836
1845
  ;
1841
1850
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842
1851
/* end confdefs.h.  */
1843
1852
$ac_includes_default
 
1853
                enum { N = $2 / 2 - 1 };
1844
1854
int
1845
1855
main ()
1846
1856
{
1847
 
static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 };
1848
 
                ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
 
1857
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1849
1858
                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1850
1859
test_array [0] = 0
1851
1860
 
1866
1875
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1867
1876
fi
1868
1877
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1869
 
       eval as_val=\$$3
1870
 
   if test "x$as_val" = x""no; then :
 
1878
       if eval test \"x\$"$3"\" = x"no"; then :
1871
1879
 
1872
1880
else
1873
1881
  break
1877
1885
eval ac_res=\$$3
1878
1886
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879
1887
$as_echo "$ac_res" >&6; }
1880
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1888
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1889
 
1882
1890
} # ac_fn_c_find_intX_t
1883
1891
 
1890
1898
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891
1899
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1892
1900
$as_echo_n "checking for uint$2_t... " >&6; }
1893
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1901
if eval \${$3+:} false; then :
1894
1902
  $as_echo_n "(cached) " >&6
1895
1903
else
1896
1904
  eval "$3=no"
1920
1928
esac
1921
1929
fi
1922
1930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923
 
       eval as_val=\$$3
1924
 
   if test "x$as_val" = x""no; then :
 
1931
       if eval test \"x\$"$3"\" = x"no"; then :
1925
1932
 
1926
1933
else
1927
1934
  break
1931
1938
eval ac_res=\$$3
1932
1939
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933
1940
$as_echo "$ac_res" >&6; }
1934
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1941
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935
1942
 
1936
1943
} # ac_fn_c_find_uintX_t
1937
1944
 
1976
1983
  # interfere with the next link command; also delete a directory that is
1977
1984
  # left behind by Apple's compiler.  We do this before executing the actions.
1978
1985
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1986
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980
1987
  as_fn_set_status $ac_retval
1981
1988
 
1982
1989
} # ac_fn_cxx_try_link
1990
1997
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991
1998
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1992
1999
$as_echo_n "checking for $2... " >&6; }
1993
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2000
if eval \${$3+:} false; then :
1994
2001
  $as_echo_n "(cached) " >&6
1995
2002
else
1996
2003
  eval "$3=no"
2031
2038
eval ac_res=\$$3
2032
2039
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033
2040
$as_echo "$ac_res" >&6; }
2034
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2041
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035
2042
 
2036
2043
} # ac_fn_cxx_check_type
2037
2044
 
2043
2050
ac_fn_cxx_check_header_mongrel ()
2044
2051
{
2045
2052
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2046
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2053
  if eval \${$3+:} false; then :
2047
2054
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048
2055
$as_echo_n "checking for $2... " >&6; }
2049
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2056
if eval \${$3+:} false; then :
2050
2057
  $as_echo_n "(cached) " >&6
2051
2058
fi
2052
2059
eval ac_res=\$$3
2082
2089
else
2083
2090
  ac_header_preproc=no
2084
2091
fi
2085
 
rm -f conftest.err conftest.$ac_ext
 
2092
rm -f conftest.err conftest.i conftest.$ac_ext
2086
2093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2087
2094
$as_echo "$ac_header_preproc" >&6; }
2088
2095
 
2109
2116
esac
2110
2117
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111
2118
$as_echo_n "checking for $2... " >&6; }
2112
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2119
if eval \${$3+:} false; then :
2113
2120
  $as_echo_n "(cached) " >&6
2114
2121
else
2115
2122
  eval "$3=\$ac_header_compiler"
2118
2125
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119
2126
$as_echo "$ac_res" >&6; }
2120
2127
fi
2121
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2128
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122
2129
 
2123
2130
} # ac_fn_cxx_check_header_mongrel
2124
2131
 
2130
2137
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131
2138
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132
2139
$as_echo_n "checking for $2... " >&6; }
2133
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2140
if eval \${$3+:} false; then :
2134
2141
  $as_echo_n "(cached) " >&6
2135
2142
else
2136
2143
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185
2192
eval ac_res=\$$3
2186
2193
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2187
2194
$as_echo "$ac_res" >&6; }
2188
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2195
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189
2196
 
2190
2197
} # ac_fn_cxx_check_func
2191
2198
 
2192
 
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
2193
 
# --------------------------------------
2194
 
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
 
2199
# ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
 
2200
# -----------------------------------------------
 
2201
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
2202
# accordingly.
2195
2203
ac_fn_cxx_check_decl ()
2196
2204
{
2197
2205
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2199
 
$as_echo_n "checking whether $2 is declared... " >&6; }
2200
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2206
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
2207
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
2208
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
2209
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
2210
if eval \${$3+:} false; then :
2201
2211
  $as_echo_n "(cached) " >&6
2202
2212
else
2203
2213
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206
2216
int
2207
2217
main ()
2208
2218
{
2209
 
#ifndef $2
2210
 
  (void) $2;
 
2219
#ifndef $as_decl_name
 
2220
#ifdef __cplusplus
 
2221
  (void) $as_decl_use;
 
2222
#else
 
2223
  (void) $as_decl_name;
 
2224
#endif
2211
2225
#endif
2212
2226
 
2213
2227
  ;
2224
2238
eval ac_res=\$$3
2225
2239
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226
2240
$as_echo "$ac_res" >&6; }
2227
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2241
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2228
2242
 
2229
2243
} # ac_fn_cxx_check_decl
2230
2244
cat >config.log <<_ACEOF
2231
2245
This file contains any messages produced by compilers while
2232
2246
running configure, to aid debugging if configure makes a mistake.
2233
2247
 
2234
 
It was created by GSmartControl $as_me 0.8.6, which was
2235
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
2248
It was created by GSmartControl $as_me 0.8.7, which was
 
2249
generated by GNU Autoconf 2.68.  Invocation command line was
2236
2250
 
2237
2251
  $ $0 $@
2238
2252
 
2342
2356
  {
2343
2357
    echo
2344
2358
 
2345
 
    cat <<\_ASBOX
2346
 
## ---------------- ##
 
2359
    $as_echo "## ---------------- ##
2347
2360
## Cache variables. ##
2348
 
## ---------------- ##
2349
 
_ASBOX
 
2361
## ---------------- ##"
2350
2362
    echo
2351
2363
    # The following way of writing the cache mishandles newlines in values,
2352
2364
(
2380
2392
)
2381
2393
    echo
2382
2394
 
2383
 
    cat <<\_ASBOX
2384
 
## ----------------- ##
 
2395
    $as_echo "## ----------------- ##
2385
2396
## Output variables. ##
2386
 
## ----------------- ##
2387
 
_ASBOX
 
2397
## ----------------- ##"
2388
2398
    echo
2389
2399
    for ac_var in $ac_subst_vars
2390
2400
    do
2397
2407
    echo
2398
2408
 
2399
2409
    if test -n "$ac_subst_files"; then
2400
 
      cat <<\_ASBOX
2401
 
## ------------------- ##
 
2410
      $as_echo "## ------------------- ##
2402
2411
## File substitutions. ##
2403
 
## ------------------- ##
2404
 
_ASBOX
 
2412
## ------------------- ##"
2405
2413
      echo
2406
2414
      for ac_var in $ac_subst_files
2407
2415
      do
2415
2423
    fi
2416
2424
 
2417
2425
    if test -s confdefs.h; then
2418
 
      cat <<\_ASBOX
2419
 
## ----------- ##
 
2426
      $as_echo "## ----------- ##
2420
2427
## confdefs.h. ##
2421
 
## ----------- ##
2422
 
_ASBOX
 
2428
## ----------- ##"
2423
2429
      echo
2424
2430
      cat confdefs.h
2425
2431
      echo
2474
2480
ac_site_file1=NONE
2475
2481
ac_site_file2=NONE
2476
2482
if test -n "$CONFIG_SITE"; then
2477
 
  ac_site_file1=$CONFIG_SITE
 
2483
  # We do not want a PATH search for config.site.
 
2484
  case $CONFIG_SITE in #((
 
2485
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2486
    */*) ac_site_file1=$CONFIG_SITE;;
 
2487
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2488
  esac
2478
2489
elif test "x$prefix" != xNONE; then
2479
2490
  ac_site_file1=$prefix/share/config.site
2480
2491
  ac_site_file2=$prefix/etc/config.site
2489
2500
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2490
2501
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2491
2502
    sed 's/^/| /' "$ac_site_file" >&5
2492
 
    . "$ac_site_file"
 
2503
    . "$ac_site_file" \
 
2504
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2505
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2506
as_fn_error $? "failed to load site script $ac_site_file
 
2507
See \`config.log' for more details" "$LINENO" 5; }
2493
2508
  fi
2494
2509
done
2495
2510
 
2565
2580
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2566
2581
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2567
2582
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2568
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2583
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2569
2584
fi
2570
2585
## -------------------- ##
2571
2586
## Main body of script. ##
2585
2600
 
2586
2601
ac_aux_dir=
2587
2602
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2588
 
  for ac_t in install-sh install.sh shtool; do
2589
 
    if test -f "$ac_dir/$ac_t"; then
2590
 
      ac_aux_dir=$ac_dir
2591
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2592
 
      break 2
2593
 
    fi
2594
 
  done
 
2603
  if test -f "$ac_dir/install-sh"; then
 
2604
    ac_aux_dir=$ac_dir
 
2605
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2606
    break
 
2607
  elif test -f "$ac_dir/install.sh"; then
 
2608
    ac_aux_dir=$ac_dir
 
2609
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2610
    break
 
2611
  elif test -f "$ac_dir/shtool"; then
 
2612
    ac_aux_dir=$ac_dir
 
2613
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2614
    break
 
2615
  fi
2595
2616
done
2596
2617
if test -z "$ac_aux_dir"; then
2597
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2618
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2598
2619
fi
2599
2620
 
2600
2621
# These three variables are undocumented and unsupported,
2608
2629
 
2609
2630
# Make sure we can run config.sub.
2610
2631
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2611
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2632
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2612
2633
 
2613
2634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2614
2635
$as_echo_n "checking build system type... " >&6; }
2615
 
if test "${ac_cv_build+set}" = set; then :
 
2636
if ${ac_cv_build+:} false; then :
2616
2637
  $as_echo_n "(cached) " >&6
2617
2638
else
2618
2639
  ac_build_alias=$build_alias
2619
2640
test "x$ac_build_alias" = x &&
2620
2641
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2621
2642
test "x$ac_build_alias" = x &&
2622
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2643
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2623
2644
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2624
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2645
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2625
2646
 
2626
2647
fi
2627
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2628
2649
$as_echo "$ac_cv_build" >&6; }
2629
2650
case $ac_cv_build in
2630
2651
*-*-*) ;;
2631
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2652
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2632
2653
esac
2633
2654
build=$ac_cv_build
2634
2655
ac_save_IFS=$IFS; IFS='-'
2646
2667
 
2647
2668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2648
2669
$as_echo_n "checking host system type... " >&6; }
2649
 
if test "${ac_cv_host+set}" = set; then :
 
2670
if ${ac_cv_host+:} false; then :
2650
2671
  $as_echo_n "(cached) " >&6
2651
2672
else
2652
2673
  if test "x$host_alias" = x; then
2653
2674
  ac_cv_host=$ac_cv_build
2654
2675
else
2655
2676
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2656
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
2677
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2657
2678
fi
2658
2679
 
2659
2680
fi
2661
2682
$as_echo "$ac_cv_host" >&6; }
2662
2683
case $ac_cv_host in
2663
2684
*-*-*) ;;
2664
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
2685
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2665
2686
esac
2666
2687
host=$ac_cv_host
2667
2688
ac_save_IFS=$IFS; IFS='-'
2679
2700
 
2680
2701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2681
2702
$as_echo_n "checking target system type... " >&6; }
2682
 
if test "${ac_cv_target+set}" = set; then :
 
2703
if ${ac_cv_target+:} false; then :
2683
2704
  $as_echo_n "(cached) " >&6
2684
2705
else
2685
2706
  if test "x$target_alias" = x; then
2686
2707
  ac_cv_target=$ac_cv_host
2687
2708
else
2688
2709
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2689
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 
2710
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2690
2711
fi
2691
2712
 
2692
2713
fi
2694
2715
$as_echo "$ac_cv_target" >&6; }
2695
2716
case $ac_cv_target in
2696
2717
*-*-*) ;;
2697
 
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
 
2718
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2698
2719
esac
2699
2720
target=$ac_cv_target
2700
2721
ac_save_IFS=$IFS; IFS='-'
2736
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2737
2758
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2738
2759
if test -z "$INSTALL"; then
2739
 
if test "${ac_cv_path_install+set}" = set; then :
 
2760
if ${ac_cv_path_install+:} false; then :
2740
2761
  $as_echo_n "(cached) " >&6
2741
2762
else
2742
2763
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2823
2844
'
2824
2845
case `pwd` in
2825
2846
  *[\\\"\#\$\&\'\`$am_lf]*)
2826
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2847
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2827
2848
esac
2828
2849
case $srcdir in
2829
2850
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2830
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2851
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2831
2852
esac
2832
2853
 
2833
2854
# Do `set' in a subshell so we don't clobber the current shell's
2849
2870
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2850
2871
      # broken ls alias from the environment.  This has actually
2851
2872
      # happened.  Such a system could not be considered "sane".
2852
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2873
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2853
2874
alias in your environment" "$LINENO" 5
2854
2875
   fi
2855
2876
 
2859
2880
   # Ok.
2860
2881
   :
2861
2882
else
2862
 
   as_fn_error "newly created file is older than distributed files!
 
2883
   as_fn_error $? "newly created file is older than distributed files!
2863
2884
Check your system clock" "$LINENO" 5
2864
2885
fi
2865
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2913
2934
set dummy ${ac_tool_prefix}strip; ac_word=$2
2914
2935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915
2936
$as_echo_n "checking for $ac_word... " >&6; }
2916
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2937
if ${ac_cv_prog_STRIP+:} false; then :
2917
2938
  $as_echo_n "(cached) " >&6
2918
2939
else
2919
2940
  if test -n "$STRIP"; then
2953
2974
set dummy strip; ac_word=$2
2954
2975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955
2976
$as_echo_n "checking for $ac_word... " >&6; }
2956
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2977
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2957
2978
  $as_echo_n "(cached) " >&6
2958
2979
else
2959
2980
  if test -n "$ac_ct_STRIP"; then
3006
3027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3007
3028
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3008
3029
if test -z "$MKDIR_P"; then
3009
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3030
  if ${ac_cv_path_mkdir+:} false; then :
3010
3031
  $as_echo_n "(cached) " >&6
3011
3032
else
3012
3033
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057
3078
set dummy $ac_prog; ac_word=$2
3058
3079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059
3080
$as_echo_n "checking for $ac_word... " >&6; }
3060
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3081
if ${ac_cv_prog_AWK+:} false; then :
3061
3082
  $as_echo_n "(cached) " >&6
3062
3083
else
3063
3084
  if test -n "$AWK"; then
3097
3118
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3098
3119
set x ${MAKE-make}
3099
3120
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3100
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
3121
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3101
3122
  $as_echo_n "(cached) " >&6
3102
3123
else
3103
3124
  cat >conftest.make <<\_ACEOF
3105
3126
all:
3106
3127
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3107
3128
_ACEOF
3108
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3129
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3109
3130
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3110
3131
  *@@@%%%=?*=@@@%%%*)
3111
3132
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3139
3160
  am__isrc=' -I$(srcdir)'
3140
3161
  # test to see if srcdir already configured
3141
3162
  if test -f $srcdir/config.status; then
3142
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3163
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3143
3164
  fi
3144
3165
fi
3145
3166
 
3155
3176
 
3156
3177
# Define the identity of the package.
3157
3178
 PACKAGE='gsmartcontrol'
3158
 
 VERSION='0.8.6'
 
3179
 VERSION='0.8.7'
3159
3180
 
3160
3181
 
3161
3182
cat >>confdefs.h <<_ACEOF
3232
3253
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3233
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234
3255
$as_echo_n "checking for $ac_word... " >&6; }
3235
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3256
if ${ac_cv_prog_CC+:} false; then :
3236
3257
  $as_echo_n "(cached) " >&6
3237
3258
else
3238
3259
  if test -n "$CC"; then
3272
3293
set dummy gcc; ac_word=$2
3273
3294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274
3295
$as_echo_n "checking for $ac_word... " >&6; }
3275
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3296
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3276
3297
  $as_echo_n "(cached) " >&6
3277
3298
else
3278
3299
  if test -n "$ac_ct_CC"; then
3325
3346
set dummy ${ac_tool_prefix}cc; ac_word=$2
3326
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327
3348
$as_echo_n "checking for $ac_word... " >&6; }
3328
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3349
if ${ac_cv_prog_CC+:} false; then :
3329
3350
  $as_echo_n "(cached) " >&6
3330
3351
else
3331
3352
  if test -n "$CC"; then
3365
3386
set dummy cc; ac_word=$2
3366
3387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367
3388
$as_echo_n "checking for $ac_word... " >&6; }
3368
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3389
if ${ac_cv_prog_CC+:} false; then :
3369
3390
  $as_echo_n "(cached) " >&6
3370
3391
else
3371
3392
  if test -n "$CC"; then
3424
3445
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3425
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426
3447
$as_echo_n "checking for $ac_word... " >&6; }
3427
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3448
if ${ac_cv_prog_CC+:} false; then :
3428
3449
  $as_echo_n "(cached) " >&6
3429
3450
else
3430
3451
  if test -n "$CC"; then
3468
3489
set dummy $ac_prog; ac_word=$2
3469
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470
3491
$as_echo_n "checking for $ac_word... " >&6; }
3471
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3492
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3472
3493
  $as_echo_n "(cached) " >&6
3473
3494
else
3474
3495
  if test -n "$ac_ct_CC"; then
3522
3543
 
3523
3544
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524
3545
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525
 
as_fn_error "no acceptable C compiler found in \$PATH
3526
 
See \`config.log' for more details." "$LINENO" 5; }
 
3546
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3547
See \`config.log' for more details" "$LINENO" 5; }
3527
3548
 
3528
3549
# Provide some information about the compiler.
3529
3550
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3637
3658
 
3638
3659
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3639
3660
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3640
 
{ as_fn_set_status 77
3641
 
as_fn_error "C compiler cannot create executables
3642
 
See \`config.log' for more details." "$LINENO" 5; }; }
 
3661
as_fn_error 77 "C compiler cannot create executables
 
3662
See \`config.log' for more details" "$LINENO" 5; }
3643
3663
else
3644
3664
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3645
3665
$as_echo "yes" >&6; }
3681
3701
else
3682
3702
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3683
3703
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3684
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3685
 
See \`config.log' for more details." "$LINENO" 5; }
 
3704
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3705
See \`config.log' for more details" "$LINENO" 5; }
3686
3706
fi
3687
3707
rm -f conftest conftest$ac_cv_exeext
3688
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3739
3759
    else
3740
3760
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3741
3761
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3742
 
as_fn_error "cannot run C compiled programs.
 
3762
as_fn_error $? "cannot run C compiled programs.
3743
3763
If you meant to cross compile, use \`--host'.
3744
 
See \`config.log' for more details." "$LINENO" 5; }
 
3764
See \`config.log' for more details" "$LINENO" 5; }
3745
3765
    fi
3746
3766
  fi
3747
3767
fi
3752
3772
ac_clean_files=$ac_clean_files_save
3753
3773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3754
3774
$as_echo_n "checking for suffix of object files... " >&6; }
3755
 
if test "${ac_cv_objext+set}" = set; then :
 
3775
if ${ac_cv_objext+:} false; then :
3756
3776
  $as_echo_n "(cached) " >&6
3757
3777
else
3758
3778
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792
3812
 
3793
3813
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794
3814
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795
 
as_fn_error "cannot compute suffix of object files: cannot compile
3796
 
See \`config.log' for more details." "$LINENO" 5; }
 
3815
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3816
See \`config.log' for more details" "$LINENO" 5; }
3797
3817
fi
3798
3818
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3799
3819
fi
3803
3823
ac_objext=$OBJEXT
3804
3824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3805
3825
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3806
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3826
if ${ac_cv_c_compiler_gnu+:} false; then :
3807
3827
  $as_echo_n "(cached) " >&6
3808
3828
else
3809
3829
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840
3860
ac_save_CFLAGS=$CFLAGS
3841
3861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3842
3862
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3843
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3863
if ${ac_cv_prog_cc_g+:} false; then :
3844
3864
  $as_echo_n "(cached) " >&6
3845
3865
else
3846
3866
  ac_save_c_werror_flag=$ac_c_werror_flag
3918
3938
fi
3919
3939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3920
3940
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3921
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3941
if ${ac_cv_prog_cc_c89+:} false; then :
3922
3942
  $as_echo_n "(cached) " >&6
3923
3943
else
3924
3944
  ac_cv_prog_cc_c89=no
4079
4099
 
4080
4100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4081
4101
$as_echo_n "checking dependency style of $depcc... " >&6; }
4082
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4102
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4083
4103
  $as_echo_n "(cached) " >&6
4084
4104
else
4085
4105
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4222
4242
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4223
4243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224
4244
$as_echo_n "checking for $ac_word... " >&6; }
4225
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4245
if ${ac_cv_prog_CXX+:} false; then :
4226
4246
  $as_echo_n "(cached) " >&6
4227
4247
else
4228
4248
  if test -n "$CXX"; then
4266
4286
set dummy $ac_prog; ac_word=$2
4267
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268
4288
$as_echo_n "checking for $ac_word... " >&6; }
4269
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4289
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4270
4290
  $as_echo_n "(cached) " >&6
4271
4291
else
4272
4292
  if test -n "$ac_ct_CXX"; then
4344
4364
 
4345
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4346
4366
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4347
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4367
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4348
4368
  $as_echo_n "(cached) " >&6
4349
4369
else
4350
4370
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381
4401
ac_save_CXXFLAGS=$CXXFLAGS
4382
4402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4383
4403
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4384
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
4404
if ${ac_cv_prog_cxx_g+:} false; then :
4385
4405
  $as_echo_n "(cached) " >&6
4386
4406
else
4387
4407
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4467
4487
 
4468
4488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4469
4489
$as_echo_n "checking dependency style of $depcc... " >&6; }
4470
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4490
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4471
4491
  $as_echo_n "(cached) " >&6
4472
4492
else
4473
4493
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4609
4629
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4610
4630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611
4631
$as_echo_n "checking for $ac_word... " >&6; }
4612
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
4632
if ${ac_cv_prog_RANLIB+:} false; then :
4613
4633
  $as_echo_n "(cached) " >&6
4614
4634
else
4615
4635
  if test -n "$RANLIB"; then
4649
4669
set dummy ranlib; ac_word=$2
4650
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651
4671
$as_echo_n "checking for $ac_word... " >&6; }
4652
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
4672
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4653
4673
  $as_echo_n "(cached) " >&6
4654
4674
else
4655
4675
  if test -n "$ac_ct_RANLIB"; then
4703
4723
set dummy ${ac_tool_prefix}windres; ac_word=$2
4704
4724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705
4725
$as_echo_n "checking for $ac_word... " >&6; }
4706
 
if test "${ac_cv_prog_WINDRES+set}" = set; then :
 
4726
if ${ac_cv_prog_WINDRES+:} false; then :
4707
4727
  $as_echo_n "(cached) " >&6
4708
4728
else
4709
4729
  if test -n "$WINDRES"; then
4743
4763
set dummy windres; ac_word=$2
4744
4764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745
4765
$as_echo_n "checking for $ac_word... " >&6; }
4746
 
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
 
4766
if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
4747
4767
  $as_echo_n "(cached) " >&6
4748
4768
else
4749
4769
  if test -n "$ac_ct_WINDRES"; then
4821
4841
 
4822
4842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler vendor" >&5
4823
4843
$as_echo_n "checking for C++ compiler vendor... " >&6; }
4824
 
if test "${ax_cv_cxx_compiler_vendor+set}" = set; then :
 
4844
if ${ax_cv_cxx_compiler_vendor+:} false; then :
4825
4845
  $as_echo_n "(cached) " >&6
4826
4846
else
4827
4847
  ax_cv_cxx_compiler_vendor=unknown
4828
4848
  # note: don't check for gcc first since some other compilers define __GNUC__
4829
 
  for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
 
4849
  for ventest in clang:__clang__ intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
4830
4850
    vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
4831
4851
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832
4852
/* end confdefs.h.  */
4872
4892
                # msg_result is needed to print the checking... message.
4873
4893
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
4874
4894
$as_echo "error" >&6; }
4875
 
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
 
4895
                as_fn_error $? "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
4876
4896
        fi
4877
4897
 
4878
4898
        # "build" - the type of system on which the package is being configured and compiled.
4883
4903
                # msg_result is needed to print the checking... message.
4884
4904
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
4885
4905
$as_echo "error" >&6; }
4886
 
                as_fn_error "Triplet name must be build, host or target." "$LINENO" 5
 
4906
                as_fn_error $? "Triplet name must be build, host or target." "$LINENO" 5
4887
4907
        fi
4888
4908
 
4889
4909
        case "$target" in
5170
5190
                # msg_result is needed to print the checking... message.
5171
5191
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5172
5192
$as_echo "error" >&6; }
5173
 
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
 
5193
                as_fn_error $? "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
5174
5194
        fi
5175
5195
 
5176
5196
        # "build" - the type of system on which the package is being configured and compiled.
5181
5201
                # msg_result is needed to print the checking... message.
5182
5202
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5183
5203
$as_echo "error" >&6; }
5184
 
                as_fn_error "Triplet name must be build, host or target." "$LINENO" 5
 
5204
                as_fn_error $? "Triplet name must be build, host or target." "$LINENO" 5
5185
5205
        fi
5186
5206
 
5187
5207
        case "$target" in
5441
5461
                # msg_result is needed to print the checking... message.
5442
5462
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5443
5463
$as_echo "error" >&6; }
5444
 
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
 
5464
                as_fn_error $? "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
5445
5465
        fi
5446
5466
 
5447
5467
        # "build" - the type of system on which the package is being configured and compiled.
5452
5472
                # msg_result is needed to print the checking... message.
5453
5473
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
5454
5474
$as_echo "error" >&6; }
5455
 
                as_fn_error "Triplet name must be build, host or target." "$LINENO" 5
 
5475
                as_fn_error $? "Triplet name must be build, host or target." "$LINENO" 5
5456
5476
        fi
5457
5477
 
5458
5478
        case "$build" in
5763
5783
 
5764
5784
        if test "x$app_cv_compiler_common_options" != "xnone"; then
5765
5785
 
5766
 
                # gcc / gnu environment, mingw, cygwin.
5767
 
                if test "x$app_cv_compiler_common_options" = "xgnu"; then
 
5786
                # gcc (or clang) / gnu environment, mingw, cygwin.
 
5787
                if test "x$app_cv_compiler_common_options" = "xgnu" ||  test "x$app_cv_compiler_common_options" = "xclang"; then
5768
5788
 
5769
5789
                        if test "x$app_cv_target_os_env" = "xmingw32" || test "x$app_cv_target_os_env" = "xmingw64" \
5770
5790
                                        || test "x$app_cv_target_os_env" = "xcygwin"; then
5779
5799
                        app_cv_compiler_tmp_var="-Wall -Wcast-align -Wcast-qual -Wconversion \
5780
5800
-Wctor-dtor-privacy -Wfloat-equal -Wnon-virtual-dtor -Woverloaded-virtual \
5781
5801
-Wpointer-arith -Wshadow -Wsign-compare -Wsign-promo -Wundef -Wwrite-strings";
 
5802
                        if test "x$app_cv_compiler_common_options" = "xclang"; then
 
5803
                                # these are really annoying
 
5804
                                app_cv_compiler_tmp_var="$app_cv_compiler_tmp_var -Wno-sign-conversion -Wno-format-security"
 
5805
                        fi
5782
5806
                        app_cv_compiler_options_cflags="$app_cv_compiler_options_cflags $app_cv_compiler_tmp_var";
5783
5807
                        app_cv_compiler_options_cxxflags="$app_cv_compiler_options_cxxflags $app_cv_compiler_tmp_var";
5784
5808
 
5849
5873
 
5850
5874
 
5851
5875
                # gcc, mingw
5852
 
                if test "x$app_cv_compiler_debug_options" = "xgnu"; then
 
5876
                if test "x$app_cv_compiler_debug_options" = "xgnu" || test "x$app_cv_compiler_debug_options" = "xclang"; then
5853
5877
                        # We could put libstdc++ debug options here, but it generates binary-incompatible
5854
5878
                        # C++ code, which leads to runtime errors with e.g. libsigc++.
5855
5879
                        app_cv_compiler_options_cflags="$app_cv_compiler_options_cflags -g3 -O0";
5902
5926
        if test "x$app_cv_compiler_optimize_options" != "xnone"; then
5903
5927
 
5904
5928
                # gcc, mingw
5905
 
                if test "x$app_cv_compiler_optimize_options" = "xgnu"; then
 
5929
                if test "x$app_cv_compiler_optimize_options" = "xgnu" || test "x$app_cv_compiler_optimize_options" = "xclang"; then
5906
5930
                        # -mtune=generic is since gcc 4.0 iirc
5907
5931
                        if test "x$app_cv_target_os_env" = "xmingw32"; then
5908
5932
                                app_cv_compiler_options_cflags="$app_cv_compiler_options_cflags -g0 -O3 -s -march=i686";
6047
6071
                # msg_result is needed to print the checking... message.
6048
6072
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6049
6073
$as_echo "error" >&6; }
6050
 
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
 
6074
                as_fn_error $? "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
6051
6075
        fi
6052
6076
        if test "x${app_cv_target_os_kernel}" = "x"; then
6053
6077
                # msg_result is needed to print the checking... message.
6054
6078
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6055
6079
$as_echo "error" >&6; }
6056
 
                as_fn_error "app_cv_target_os_kernel not set." "$LINENO" 5
 
6080
                as_fn_error $? "app_cv_target_os_kernel not set." "$LINENO" 5
6057
6081
        fi
6058
6082
        if test "x${app_cv_target_os_env}" = "x"; then
6059
6083
                # msg_result is needed to print the checking... message.
6060
6084
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6061
6085
$as_echo "error" >&6; }
6062
 
                as_fn_error "app_cv_target_os_env not set." "$LINENO" 5
 
6086
                as_fn_error $? "app_cv_target_os_env not set." "$LINENO" 5
6063
6087
        fi
6064
6088
 
6065
6089
 
6071
6095
                linux)
6072
6096
                        # glibc manual says that defining either _REENTRANT or _THREAD_SAFE
6073
6097
                        # enables some thread-safe implementations of glibc functions.
6074
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "intel" \
6075
 
                                        || test "$ax_cv_cxx_compiler_vendor" = "pathscale"; then
 
6098
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang" \
 
6099
                                        || test "$ax_cv_cxx_compiler_vendor" = "intel" || test "$ax_cv_cxx_compiler_vendor" = "pathscale"; then
6076
6100
                                app_cv_target_thread_cflags="-pthread -D_MT -D_THREAD_SAFE"
6077
6101
                                app_cv_target_thread_cxxflags="-pthread -D_MT -D_THREAD_SAFE"
6078
6102
                                app_cv_target_thread_libs="-pthread"
6093
6117
                        ;;
6094
6118
 
6095
6119
                windows*)
6096
 
                        # NOTE: Not sure about cygwin.
 
6120
                        # NOTE: Not sure about cygwin or clang.
6097
6121
                        # NOTE: This only enables multithreaded code generation. For linking
6098
6122
                        # with pthreads-win32 you need additional flags.
6099
6123
                        # gcc man page: -mthreads: Support thread-safe exception handling on Mingw32.
6100
6124
                        # -mthreads defines -D_MT, and links with -lmingwthrd.
6101
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu"; then
 
6125
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang"; then
6102
6126
                                app_cv_target_thread_cflags="-mthreads -D_THREAD_SAFE"
6103
6127
                                app_cv_target_thread_cxxflags="-mthreads -D_THREAD_SAFE"
6104
6128
                                app_cv_target_thread_libs="-mthreads"
6120
6144
                        # NOTE: Not sure about debian gnu/kfreebsd and gnu/netbsd.
6121
6145
                        # Freebsd had -kthread, but it has been discontinued (afaik).
6122
6146
                        # For freebsd -pthread replaces libc with libc_r.
6123
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu"; then
 
6147
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang"; then
6124
6148
                                app_cv_target_thread_cflags="-pthread -D_MT -D_THREAD_SAFE"
6125
6149
                                app_cv_target_thread_cxxflags="-pthread -D_MT -D_THREAD_SAFE"
6126
6150
                                app_cv_target_thread_libs="-pthread"
6129
6153
                        ;;
6130
6154
 
6131
6155
                openbsd)
6132
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu"; then
 
6156
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang"; then
6133
6157
                                app_cv_target_thread_cflags="-pthread -D_REENTRANT"
6134
6158
                                app_cv_target_thread_cxxflags="-pthread -D_REENTRANT"
6135
6159
                                app_cv_target_thread_libs="-pthread"
6139
6163
 
6140
6164
                netbsd)
6141
6165
                        # See sys/featuretest.h
6142
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu"; then
 
6166
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang"; then
6143
6167
                                app_cv_target_thread_cflags="-pthread -D_REENTRANT"
6144
6168
                                app_cv_target_thread_cxxflags="-pthread -D_REENTRANT"
6145
6169
                                app_cv_target_thread_libs="-pthread"
6148
6172
                        ;;
6149
6173
 
6150
6174
                solaris)
6151
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu"; then
 
6175
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang"; then
6152
6176
                                # gnu documentation mentions -threads (and its aliases, -pthreads and -pthread).
6153
6177
                                # _REENTRANT is needed to enable some thread-safe equivalents of standard
6154
6178
                                # functions.
6175
6199
                        ;;
6176
6200
 
6177
6201
                darwin)
6178
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu"; then
 
6202
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang"; then
6179
6203
                                # Darwin produces mt code by default, and -pthread is an error.
6180
6204
                                app_cv_target_thread_found="yes"
6181
6205
                        fi
6182
6206
                        ;;
6183
6207
 
6184
6208
                qnx)
6185
 
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu"; then
 
6209
                        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang"; then
6186
6210
                                # afaik, gcc/qnx produces mt code by default (at least on newer qnx releases),
6187
6211
                                # so no flags are needed.
6188
6212
                                app_cv_target_thread_found="yes"
6240
6264
                # msg_result is needed to print the checking... message.
6241
6265
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6242
6266
$as_echo "error" >&6; }
6243
 
                as_fn_error "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
 
6267
                as_fn_error $? "ax_cv_cxx_compiler_vendor not set." "$LINENO" 5
6244
6268
        fi
6245
6269
        if test "x${app_cv_target_os_kernel}" = "x"; then
6246
6270
                # msg_result is needed to print the checking... message.
6247
6271
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6248
6272
$as_echo "error" >&6; }
6249
 
                as_fn_error "app_cv_target_os_kernel not set." "$LINENO" 5
 
6273
                as_fn_error $? "app_cv_target_os_kernel not set." "$LINENO" 5
6250
6274
        fi
6251
6275
        if test "x${app_cv_target_os_env}" = "x"; then
6252
6276
                # msg_result is needed to print the checking... message.
6253
6277
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: error" >&5
6254
6278
$as_echo "error" >&6; }
6255
 
                as_fn_error "app_cv_target_os_env not set." "$LINENO" 5
 
6279
                as_fn_error $? "app_cv_target_os_env not set." "$LINENO" 5
6256
6280
        fi
6257
6281
 
6258
6282
 
6348
6372
 
6349
6373
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6350
6374
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6351
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
 
6375
if ${ac_cv_sys_largefile_CC+:} false; then :
6352
6376
  $as_echo_n "(cached) " >&6
6353
6377
else
6354
6378
  ac_cv_sys_largefile_CC=no
6399
6423
 
6400
6424
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6401
6425
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6402
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
 
6426
if ${ac_cv_sys_file_offset_bits+:} false; then :
6403
6427
  $as_echo_n "(cached) " >&6
6404
6428
else
6405
6429
  while :; do
6468
6492
  if test $ac_cv_sys_file_offset_bits = unknown; then
6469
6493
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6470
6494
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6471
 
if test "${ac_cv_sys_large_files+set}" = set; then :
 
6495
if ${ac_cv_sys_large_files+:} false; then :
6472
6496
  $as_echo_n "(cached) " >&6
6473
6497
else
6474
6498
  while :; do
6551
6575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
6552
6576
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6553
6577
if test -z "$CXXCPP"; then
6554
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
6578
  if ${ac_cv_prog_CXXCPP+:} false; then :
6555
6579
  $as_echo_n "(cached) " >&6
6556
6580
else
6557
6581
      # Double quotes because CXXCPP needs to be expanded
6581
6605
  # Broken: fails on valid input.
6582
6606
continue
6583
6607
fi
6584
 
rm -f conftest.err conftest.$ac_ext
 
6608
rm -f conftest.err conftest.i conftest.$ac_ext
6585
6609
 
6586
6610
  # OK, works on sane cases.  Now check whether nonexistent headers
6587
6611
  # can be detected and how.
6597
6621
ac_preproc_ok=:
6598
6622
break
6599
6623
fi
6600
 
rm -f conftest.err conftest.$ac_ext
 
6624
rm -f conftest.err conftest.i conftest.$ac_ext
6601
6625
 
6602
6626
done
6603
6627
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6604
 
rm -f conftest.err conftest.$ac_ext
 
6628
rm -f conftest.i conftest.err conftest.$ac_ext
6605
6629
if $ac_preproc_ok; then :
6606
6630
  break
6607
6631
fi
6640
6664
  # Broken: fails on valid input.
6641
6665
continue
6642
6666
fi
6643
 
rm -f conftest.err conftest.$ac_ext
 
6667
rm -f conftest.err conftest.i conftest.$ac_ext
6644
6668
 
6645
6669
  # OK, works on sane cases.  Now check whether nonexistent headers
6646
6670
  # can be detected and how.
6656
6680
ac_preproc_ok=:
6657
6681
break
6658
6682
fi
6659
 
rm -f conftest.err conftest.$ac_ext
 
6683
rm -f conftest.err conftest.i conftest.$ac_ext
6660
6684
 
6661
6685
done
6662
6686
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6663
 
rm -f conftest.err conftest.$ac_ext
 
6687
rm -f conftest.i conftest.err conftest.$ac_ext
6664
6688
if $ac_preproc_ok; then :
6665
6689
 
6666
6690
else
6667
6691
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6668
6692
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6669
 
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
6670
 
See \`config.log' for more details." "$LINENO" 5; }
 
6693
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
6694
See \`config.log' for more details" "$LINENO" 5; }
6671
6695
fi
6672
6696
 
6673
6697
ac_ext=cpp
6679
6703
 
6680
6704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6681
6705
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6682
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
6706
if ${ac_cv_path_GREP+:} false; then :
6683
6707
  $as_echo_n "(cached) " >&6
6684
6708
else
6685
6709
  if test -z "$GREP"; then
6728
6752
  done
6729
6753
IFS=$as_save_IFS
6730
6754
  if test -z "$ac_cv_path_GREP"; then
6731
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6755
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6732
6756
  fi
6733
6757
else
6734
6758
  ac_cv_path_GREP=$GREP
6742
6766
 
6743
6767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6744
6768
$as_echo_n "checking for egrep... " >&6; }
6745
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
6769
if ${ac_cv_path_EGREP+:} false; then :
6746
6770
  $as_echo_n "(cached) " >&6
6747
6771
else
6748
6772
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6794
6818
  done
6795
6819
IFS=$as_save_IFS
6796
6820
  if test -z "$ac_cv_path_EGREP"; then
6797
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6821
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6798
6822
  fi
6799
6823
else
6800
6824
  ac_cv_path_EGREP=$EGREP
6809
6833
 
6810
6834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6811
6835
$as_echo_n "checking for ANSI C header files... " >&6; }
6812
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
6836
if ${ac_cv_header_stdc+:} false; then :
6813
6837
  $as_echo_n "(cached) " >&6
6814
6838
else
6815
6839
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926
6950
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6927
6951
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6928
6952
"
6929
 
eval as_val=\$$as_ac_Header
6930
 
   if test "x$as_val" = x""yes; then :
 
6953
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6931
6954
  cat >>confdefs.h <<_ACEOF
6932
6955
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6933
6956
_ACEOF
7038
7061
 
7039
7062
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
7040
7063
$as_echo_n "checking for long long int... " >&6; }
7041
 
if test "${ac_cv_type_long_long_int+set}" = set; then :
 
7064
if ${ac_cv_type_long_long_int+:} false; then :
7042
7065
  $as_echo_n "(cached) " >&6
7043
7066
else
7044
7067
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045
7068
/* end confdefs.h.  */
7046
7069
 
7047
 
  /* Test preprocessor.  */
7048
 
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7049
 
        error in preprocessor;
7050
 
      #endif
7051
 
      #if ! (18446744073709551615ULL <= -1ull)
7052
 
        error in preprocessor;
7053
 
      #endif
 
7070
  /* For now, do not test the preprocessor; as of 2007 there are too many
 
7071
         implementations with broken preprocessors.  Perhaps this can
 
7072
         be revisited in 2012.  In the meantime, code should not expect
 
7073
         #if to work with literals wider than 32 bits.  */
7054
7074
      /* Test literals.  */
7055
7075
      long long int ll = 9223372036854775807ll;
7056
7076
      long long int nll = -9223372036854775807LL;
7057
7077
      unsigned long long int ull = 18446744073709551615ULL;
7058
7078
      /* Test constant expressions.   */
7059
7079
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7060
 
                     ? 1 : -1)];
 
7080
                     ? 1 : -1)];
7061
7081
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
7062
 
                     ? 1 : -1)];
 
7082
                     ? 1 : -1)];
7063
7083
      int i = 63;
7064
7084
int
7065
7085
main ()
7068
7088
      long long int llmax = 9223372036854775807ll;
7069
7089
      unsigned long long int ullmax = 18446744073709551615ull;
7070
7090
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
7071
 
              | (llmax / ll) | (llmax % ll)
7072
 
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
7073
 
              | (ullmax / ull) | (ullmax % ull));
 
7091
              | (llmax / ll) | (llmax % ll)
 
7092
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
 
7093
              | (ullmax / ull) | (ullmax % ull));
7074
7094
  ;
7075
7095
  return 0;
7076
7096
}
7077
7097
 
7078
7098
_ACEOF
7079
7099
if ac_fn_cxx_try_link "$LINENO"; then :
7080
 
                        if test "$cross_compiling" = yes; then :
 
7100
                          if test "$cross_compiling" = yes; then :
7081
7101
  ac_cv_type_long_long_int=yes
7082
7102
else
7083
7103
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7084
7104
/* end confdefs.h.  */
7085
7105
#include <limits.h>
7086
 
               #ifndef LLONG_MAX
7087
 
               # define HALF \
7088
 
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
7089
 
               # define LLONG_MAX (HALF - 1 + HALF)
7090
 
               #endif
 
7106
               #ifndef LLONG_MAX
 
7107
               # define HALF \
 
7108
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
 
7109
               # define LLONG_MAX (HALF - 1 + HALF)
 
7110
               #endif
7091
7111
int
7092
7112
main ()
7093
7113
{
7094
7114
long long int n = 1;
7095
 
               int i;
7096
 
               for (i = 0; ; i++)
7097
 
                 {
7098
 
                   long long int m = n << i;
7099
 
                   if (m >> i != n)
7100
 
                     return 1;
7101
 
                   if (LLONG_MAX / 2 < m)
7102
 
                     break;
7103
 
                 }
7104
 
               return 0;
 
7115
               int i;
 
7116
               for (i = 0; ; i++)
 
7117
                 {
 
7118
                   long long int m = n << i;
 
7119
                   if (m >> i != n)
 
7120
                     return 1;
 
7121
                   if (LLONG_MAX / 2 < m)
 
7122
                     break;
 
7123
                 }
 
7124
               return 0;
7105
7125
  ;
7106
7126
  return 0;
7107
7127
}
7132
7152
 
7133
7153
 
7134
7154
  ac_fn_cxx_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
7135
 
if test "x$ac_cv_type_intmax_t" = x""yes; then :
 
7155
if test "x$ac_cv_type_intmax_t" = xyes; then :
7136
7156
 
7137
7157
$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h
7138
7158
 
7151
7171
 
7152
7172
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
7153
7173
$as_echo_n "checking for unsigned long long int... " >&6; }
7154
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
 
7174
if ${ac_cv_type_unsigned_long_long_int+:} false; then :
7155
7175
  $as_echo_n "(cached) " >&6
7156
7176
else
7157
7177
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158
7178
/* end confdefs.h.  */
7159
7179
 
7160
 
  /* Test preprocessor.  */
7161
 
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7162
 
        error in preprocessor;
7163
 
      #endif
7164
 
      #if ! (18446744073709551615ULL <= -1ull)
7165
 
        error in preprocessor;
7166
 
      #endif
 
7180
  /* For now, do not test the preprocessor; as of 2007 there are too many
 
7181
         implementations with broken preprocessors.  Perhaps this can
 
7182
         be revisited in 2012.  In the meantime, code should not expect
 
7183
         #if to work with literals wider than 32 bits.  */
7167
7184
      /* Test literals.  */
7168
7185
      long long int ll = 9223372036854775807ll;
7169
7186
      long long int nll = -9223372036854775807LL;
7170
7187
      unsigned long long int ull = 18446744073709551615ULL;
7171
7188
      /* Test constant expressions.   */
7172
7189
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7173
 
                     ? 1 : -1)];
 
7190
                     ? 1 : -1)];
7174
7191
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
7175
 
                     ? 1 : -1)];
 
7192
                     ? 1 : -1)];
7176
7193
      int i = 63;
7177
7194
int
7178
7195
main ()
7181
7198
      long long int llmax = 9223372036854775807ll;
7182
7199
      unsigned long long int ullmax = 18446744073709551615ull;
7183
7200
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
7184
 
              | (llmax / ll) | (llmax % ll)
7185
 
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
7186
 
              | (ullmax / ull) | (ullmax % ull));
 
7201
              | (llmax / ll) | (llmax % ll)
 
7202
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
 
7203
              | (ullmax / ull) | (ullmax % ull));
7187
7204
  ;
7188
7205
  return 0;
7189
7206
}
7208
7225
 
7209
7226
 
7210
7227
  ac_fn_cxx_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default"
7211
 
if test "x$ac_cv_type_uintmax_t" = x""yes; then :
 
7228
if test "x$ac_cv_type_uintmax_t" = xyes; then :
7212
7229
 
7213
7230
$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h
7214
7231
 
7228
7245
 
7229
7246
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
7230
7247
$as_echo_n "checking for long long int... " >&6; }
7231
 
if test "${ac_cv_type_long_long_int+set}" = set; then :
 
7248
if ${ac_cv_type_long_long_int+:} false; then :
7232
7249
  $as_echo_n "(cached) " >&6
7233
7250
else
7234
7251
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7235
7252
/* end confdefs.h.  */
7236
7253
 
7237
 
  /* Test preprocessor.  */
7238
 
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7239
 
        error in preprocessor;
7240
 
      #endif
7241
 
      #if ! (18446744073709551615ULL <= -1ull)
7242
 
        error in preprocessor;
7243
 
      #endif
 
7254
  /* For now, do not test the preprocessor; as of 2007 there are too many
 
7255
         implementations with broken preprocessors.  Perhaps this can
 
7256
         be revisited in 2012.  In the meantime, code should not expect
 
7257
         #if to work with literals wider than 32 bits.  */
7244
7258
      /* Test literals.  */
7245
7259
      long long int ll = 9223372036854775807ll;
7246
7260
      long long int nll = -9223372036854775807LL;
7247
7261
      unsigned long long int ull = 18446744073709551615ULL;
7248
7262
      /* Test constant expressions.   */
7249
7263
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7250
 
                     ? 1 : -1)];
 
7264
                     ? 1 : -1)];
7251
7265
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
7252
 
                     ? 1 : -1)];
 
7266
                     ? 1 : -1)];
7253
7267
      int i = 63;
7254
7268
int
7255
7269
main ()
7258
7272
      long long int llmax = 9223372036854775807ll;
7259
7273
      unsigned long long int ullmax = 18446744073709551615ull;
7260
7274
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
7261
 
              | (llmax / ll) | (llmax % ll)
7262
 
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
7263
 
              | (ullmax / ull) | (ullmax % ull));
 
7275
              | (llmax / ll) | (llmax % ll)
 
7276
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
 
7277
              | (ullmax / ull) | (ullmax % ull));
7264
7278
  ;
7265
7279
  return 0;
7266
7280
}
7267
7281
 
7268
7282
_ACEOF
7269
7283
if ac_fn_cxx_try_link "$LINENO"; then :
7270
 
                        if test "$cross_compiling" = yes; then :
 
7284
                          if test "$cross_compiling" = yes; then :
7271
7285
  ac_cv_type_long_long_int=yes
7272
7286
else
7273
7287
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274
7288
/* end confdefs.h.  */
7275
7289
#include <limits.h>
7276
 
               #ifndef LLONG_MAX
7277
 
               # define HALF \
7278
 
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
7279
 
               # define LLONG_MAX (HALF - 1 + HALF)
7280
 
               #endif
 
7290
               #ifndef LLONG_MAX
 
7291
               # define HALF \
 
7292
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
 
7293
               # define LLONG_MAX (HALF - 1 + HALF)
 
7294
               #endif
7281
7295
int
7282
7296
main ()
7283
7297
{
7284
7298
long long int n = 1;
7285
 
               int i;
7286
 
               for (i = 0; ; i++)
7287
 
                 {
7288
 
                   long long int m = n << i;
7289
 
                   if (m >> i != n)
7290
 
                     return 1;
7291
 
                   if (LLONG_MAX / 2 < m)
7292
 
                     break;
7293
 
                 }
7294
 
               return 0;
 
7299
               int i;
 
7300
               for (i = 0; ; i++)
 
7301
                 {
 
7302
                   long long int m = n << i;
 
7303
                   if (m >> i != n)
 
7304
                     return 1;
 
7305
                   if (LLONG_MAX / 2 < m)
 
7306
                     break;
 
7307
                 }
 
7308
               return 0;
7295
7309
  ;
7296
7310
  return 0;
7297
7311
}
7322
7336
 
7323
7337
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
7324
7338
$as_echo_n "checking for unsigned long long int... " >&6; }
7325
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
 
7339
if ${ac_cv_type_unsigned_long_long_int+:} false; then :
7326
7340
  $as_echo_n "(cached) " >&6
7327
7341
else
7328
7342
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329
7343
/* end confdefs.h.  */
7330
7344
 
7331
 
  /* Test preprocessor.  */
7332
 
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7333
 
        error in preprocessor;
7334
 
      #endif
7335
 
      #if ! (18446744073709551615ULL <= -1ull)
7336
 
        error in preprocessor;
7337
 
      #endif
 
7345
  /* For now, do not test the preprocessor; as of 2007 there are too many
 
7346
         implementations with broken preprocessors.  Perhaps this can
 
7347
         be revisited in 2012.  In the meantime, code should not expect
 
7348
         #if to work with literals wider than 32 bits.  */
7338
7349
      /* Test literals.  */
7339
7350
      long long int ll = 9223372036854775807ll;
7340
7351
      long long int nll = -9223372036854775807LL;
7341
7352
      unsigned long long int ull = 18446744073709551615ULL;
7342
7353
      /* Test constant expressions.   */
7343
7354
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7344
 
                     ? 1 : -1)];
 
7355
                     ? 1 : -1)];
7345
7356
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
7346
 
                     ? 1 : -1)];
 
7357
                     ? 1 : -1)];
7347
7358
      int i = 63;
7348
7359
int
7349
7360
main ()
7352
7363
      long long int llmax = 9223372036854775807ll;
7353
7364
      unsigned long long int ullmax = 18446744073709551615ull;
7354
7365
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
7355
 
              | (llmax / ll) | (llmax % ll)
7356
 
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
7357
 
              | (ullmax / ull) | (ullmax % ull));
 
7366
              | (llmax / ll) | (llmax % ll)
 
7367
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
 
7368
              | (ullmax / ull) | (ullmax % ull));
7358
7369
  ;
7359
7370
  return 0;
7360
7371
}
7384
7395
# detect RTTI (defines HAVE_RTTI)
7385
7396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports Run-Time Type Identification" >&5
7386
7397
$as_echo_n "checking whether the compiler supports Run-Time Type Identification... " >&6; }
7387
 
if test "${ac_cv_cxx_rtti+set}" = set; then :
 
7398
if ${ac_cv_cxx_rtti+:} false; then :
7388
7399
  $as_echo_n "(cached) " >&6
7389
7400
else
7390
7401
  ac_ext=cpp
7449
7460
# detect exception support (defines HAVE_EXCEPTIONS)
7450
7461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports exceptions" >&5
7451
7462
$as_echo_n "checking whether the compiler supports exceptions... " >&6; }
7452
 
if test "${ac_cv_cxx_exceptions+set}" = set; then :
 
7463
if ${ac_cv_cxx_exceptions+:} false; then :
7453
7464
  $as_echo_n "(cached) " >&6
7454
7465
else
7455
7466
  ac_ext=cpp
7501
7512
# detect abi::__cxa_demangle (defines HAVE_GCC_ABI_DEMANGLE)
7502
7513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GCC C++ ABI name demangling" >&5
7503
7514
$as_echo_n "checking whether the compiler supports GCC C++ ABI name demangling... " >&6; }
7504
 
if test "${ac_cv_cxx_gcc_abi_demangle+set}" = set; then :
 
7515
if ${ac_cv_cxx_gcc_abi_demangle+:} false; then :
7505
7516
  $as_echo_n "(cached) " >&6
7506
7517
else
7507
7518
  ac_ext=cpp
7570
7581
# detect __gnu_cxx::__verbose_terminate_handler (defines HAVE_VERBOSE_TERMINATE_HANDLER.)
7571
7582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler implements namespaces" >&5
7572
7583
$as_echo_n "checking whether the compiler implements namespaces... " >&6; }
7573
 
if test "${ac_cv_cxx_namespaces+set}" = set; then :
 
7584
if ${ac_cv_cxx_namespaces+:} false; then :
7574
7585
  $as_echo_n "(cached) " >&6
7575
7586
else
7576
7587
  ac_ext=cpp
7618
7629
 
7619
7630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler has __gnu_cxx::__verbose_terminate_handler" >&5
7620
7631
$as_echo_n "checking whether the compiler has __gnu_cxx::__verbose_terminate_handler... " >&6; }
7621
 
if test "${ac_cv_verbose_terminate_handler+set}" = set; then :
 
7632
if ${ac_cv_verbose_terminate_handler+:} false; then :
7622
7633
  $as_echo_n "(cached) " >&6
7623
7634
else
7624
7635
 
7672
7683
 
7673
7684
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX recognizes __func__" >&5
7674
7685
$as_echo_n "checking whether $CXX recognizes __func__... " >&6; }
7675
 
if test "${app_cv_cxx___func__+set}" = set; then :
 
7686
if ${app_cv_cxx___func__+:} false; then :
7676
7687
  $as_echo_n "(cached) " >&6
7677
7688
else
7678
7689
 
7724
7735
 
7725
7736
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX recognizes __FUNCTION__" >&5
7726
7737
$as_echo_n "checking whether $CXX recognizes __FUNCTION__... " >&6; }
7727
 
if test "${app_cv_cxx___FUNCTION__+set}" = set; then :
 
7738
if ${app_cv_cxx___FUNCTION__+:} false; then :
7728
7739
  $as_echo_n "(cached) " >&6
7729
7740
else
7730
7741
 
7777
7788
 
7778
7789
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts extern C function pointer overload" >&5
7779
7790
$as_echo_n "checking whether $CXX accepts extern C function pointer overload... " >&6; }
7780
 
if test "${ac_cv_cxx_extern_c_overload+set}" = set; then :
 
7791
if ${ac_cv_cxx_extern_c_overload+:} false; then :
7781
7792
  $as_echo_n "(cached) " >&6
7782
7793
else
7783
7794
 
7835
7846
for ac_header in stdc++.h
7836
7847
do :
7837
7848
  ac_fn_cxx_check_header_mongrel "$LINENO" "stdc++.h" "ac_cv_header_stdcpp_h" "$ac_includes_default"
7838
 
if test "x$ac_cv_header_stdcpp_h" = x""yes; then :
 
7849
if test "x$ac_cv_header_stdcpp_h" = xyes; then :
7839
7850
  cat >>confdefs.h <<_ACEOF
7840
7851
#define HAVE_STDC___H 1
7841
7852
_ACEOF
7850
7861
do :
7851
7862
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7852
7863
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
7853
 
eval as_val=\$$as_ac_var
7854
 
   if test "x$as_val" = x""yes; then :
 
7864
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7855
7865
  cat >>confdefs.h <<_ACEOF
7856
7866
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7857
7867
_ACEOF
7868
7878
# This defines HAVE_DECL_<symbol> to 1 or 0.
7869
7879
ac_fn_cxx_check_decl "$LINENO" "strtof" "ac_cv_have_decl_strtof" "#include <stdlib.h>
7870
7880
"
7871
 
if test "x$ac_cv_have_decl_strtof" = x""yes; then :
 
7881
if test "x$ac_cv_have_decl_strtof" = xyes; then :
7872
7882
  ac_have_decl=1
7873
7883
else
7874
7884
  ac_have_decl=0
7879
7889
_ACEOF
7880
7890
ac_fn_cxx_check_decl "$LINENO" "strtold" "ac_cv_have_decl_strtold" "#include <stdlib.h>
7881
7891
"
7882
 
if test "x$ac_cv_have_decl_strtold" = x""yes; then :
 
7892
if test "x$ac_cv_have_decl_strtold" = xyes; then :
7883
7893
  ac_have_decl=1
7884
7894
else
7885
7895
  ac_have_decl=0
7903
7913
# getrawpartition() for netbsd and openbsd in -lutil.
7904
7914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getrawpartition in -lutil" >&5
7905
7915
$as_echo_n "checking for getrawpartition in -lutil... " >&6; }
7906
 
if test "${ac_cv_lib_util_getrawpartition+set}" = set; then :
 
7916
if ${ac_cv_lib_util_getrawpartition+:} false; then :
7907
7917
  $as_echo_n "(cached) " >&6
7908
7918
else
7909
7919
  ac_check_lib_save_LIBS=$LIBS
7937
7947
fi
7938
7948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_getrawpartition" >&5
7939
7949
$as_echo "$ac_cv_lib_util_getrawpartition" >&6; }
7940
 
if test "x$ac_cv_lib_util_getrawpartition" = x""yes; then :
 
7950
if test "x$ac_cv_lib_util_getrawpartition" = xyes; then :
7941
7951
        LIBS="$LIBS -lutil"
7942
7952
fi
7943
7953
 
7997
8007
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7998
8008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999
8009
$as_echo_n "checking for $ac_word... " >&6; }
8000
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
8010
if ${ac_cv_path_PKG_CONFIG+:} false; then :
8001
8011
  $as_echo_n "(cached) " >&6
8002
8012
else
8003
8013
  case $PKG_CONFIG in
8040
8050
set dummy pkg-config; ac_word=$2
8041
8051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042
8052
$as_echo_n "checking for $ac_word... " >&6; }
8043
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
8053
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
8044
8054
  $as_echo_n "(cached) " >&6
8045
8055
else
8046
8056
  case $ac_pt_PKG_CONFIG in
8196
8206
                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The program will be unable to compile fully." >&5
8197
8207
$as_echo "$as_me: WARNING: The program will be unable to compile fully." >&2;}
8198
8208
        else
8199
 
                as_fn_error "$GTKMM_PKG_ERRORS" "$LINENO" 5
 
8209
                as_fn_error $? "$GTKMM_PKG_ERRORS" "$LINENO" 5
8200
8210
        fi
8201
8211
fi
8202
8212
 
8272
8282
fi
8273
8283
        fi
8274
8284
        if test "$with_libglade" = "no" && test "$app_cv_gld_reader" = "none"; then
8275
 
                as_fn_error "GtkBuilder support not found (you need $app_cv_gld_reader_gtk_name version 2.12 or higher). Try using $app_cv_gld_reader_libglade_name instead." "$LINENO" 5
 
8285
                as_fn_error $? "GtkBuilder support not found (you need $app_cv_gld_reader_gtk_name version 2.12 or higher). Try using $app_cv_gld_reader_libglade_name instead." "$LINENO" 5
8276
8286
        fi
8277
8287
 
8278
8288
        # libglade specified, or auto and no gtkbuilder. gtkmm2.4-compatible libglademm is >= 2.4.0.
8433
8443
        fi
8434
8444
 
8435
8445
        if test "x$with_libglade" = "xyes" && test "x$app_cv_gld_reader" = "xnone"; then
8436
 
                as_fn_error "$app_cv_gld_reader_libglade_name not found. Try building with GtkBuilder support (you need $app_cv_gld_reader_gtk_name version 2.12 or higher)." "$LINENO" 5
 
8446
                as_fn_error $? "$app_cv_gld_reader_libglade_name not found. Try building with GtkBuilder support (you need $app_cv_gld_reader_gtk_name version 2.12 or higher)." "$LINENO" 5
8437
8447
        fi
8438
8448
 
8439
8449
        # still not found.
8446
8456
                else
8447
8457
                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found." >&5
8448
8458
$as_echo "$as_me: WARNING: Neither GtkBuilder nor $app_cv_gld_reader_libglade_name found." >&2;}
8449
 
                        as_fn_error "$LIBGLADE_PKG_ERRORS" "$LINENO" 5
 
8459
                        as_fn_error $? "$LIBGLADE_PKG_ERRORS" "$LINENO" 5
8450
8460
                fi
8451
8461
        fi
8452
8462
 
8609
8619
set dummy pcre-config; ac_word=$2
8610
8620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8611
8621
$as_echo_n "checking for $ac_word... " >&6; }
8612
 
if test "${ac_cv_path_pcre_config_binary+set}" = set; then :
 
8622
if ${ac_cv_path_pcre_config_binary+:} false; then :
8613
8623
  $as_echo_n "(cached) " >&6
8614
8624
else
8615
8625
  case $pcre_config_binary in
8650
8660
                PCRE_LIBS="`pcre-config --libs`"
8651
8661
        else
8652
8662
                # AC_MSG_ERROR([Could not find pcre through pkg-config and pcre-config. Make sure the pcre libraries are installed])
8653
 
                as_fn_error "$PCRE_PKG_ERRORS" "$LINENO" 5
 
8663
                as_fn_error $? "$PCRE_PKG_ERRORS" "$LINENO" 5
8654
8664
        fi
8655
8665
fi
8656
8666
 
8904
8914
# (e.g. gccfss (gcc frontend / sun backend), etc...).
8905
8915
# We use -include only when using pch.
8906
8916
if test "x$app_cv_compiler_gcc_pch" = "xyes"; then
8907
 
        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "intel" || test "$ax_cv_cxx_compiler_vendor" = "pathscale"; then
 
8917
        if test "$ax_cv_cxx_compiler_vendor" = "gnu" || test "$ax_cv_cxx_compiler_vendor" = "clang" \
 
8918
                        || test "$ax_cv_cxx_compiler_vendor" = "intel" || test "$ax_cv_cxx_compiler_vendor" = "pathscale"; then
8908
8919
                # This auto-includes this file when compiling any file. Benefits include pch support.
8909
8920
                ADDITIONAL_INCLUDES="$ADDITIONAL_INCLUDES -include global_macros.h"
8910
8921
        fi
9064
9075
     :end' >>confcache
9065
9076
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9066
9077
  if test -w "$cache_file"; then
9067
 
    test "x$cache_file" != "x/dev/null" &&
 
9078
    if test "x$cache_file" != "x/dev/null"; then
9068
9079
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9069
9080
$as_echo "$as_me: updating cache $cache_file" >&6;}
9070
 
    cat confcache >$cache_file
 
9081
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
9082
        cat confcache >"$cache_file"
 
9083
      else
 
9084
        case $cache_file in #(
 
9085
        */* | ?:*)
 
9086
          mv -f confcache "$cache_file"$$ &&
 
9087
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
9088
        *)
 
9089
          mv -f confcache "$cache_file" ;;
 
9090
        esac
 
9091
      fi
 
9092
    fi
9071
9093
  else
9072
9094
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9073
9095
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9083
9105
 
9084
9106
ac_libobjs=
9085
9107
ac_ltlibobjs=
 
9108
U=
9086
9109
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9087
9110
  # 1. Remove the extension, and $U if already installed.
9088
9111
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9106
9129
fi
9107
9130
 
9108
9131
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9109
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
9132
  as_fn_error $? "conditional \"AMDEP\" was never defined.
9110
9133
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9111
9134
fi
9112
9135
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9113
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
9136
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9114
9137
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9115
9138
fi
9116
9139
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
9117
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
9140
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
9118
9141
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9119
9142
fi
9120
9143
if test -z "${TARGET_OS_KERNEL_LINUX_TRUE}" && test -z "${TARGET_OS_KERNEL_LINUX_FALSE}"; then
9121
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_LINUX\" was never defined.
 
9144
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_LINUX\" was never defined.
9122
9145
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9123
9146
fi
9124
9147
if test -z "${TARGET_OS_KERNEL_WINDOWS32_TRUE}" && test -z "${TARGET_OS_KERNEL_WINDOWS32_FALSE}"; then
9125
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_WINDOWS32\" was never defined.
 
9148
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_WINDOWS32\" was never defined.
9126
9149
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9127
9150
fi
9128
9151
if test -z "${TARGET_OS_KERNEL_WINDOWS64_TRUE}" && test -z "${TARGET_OS_KERNEL_WINDOWS64_FALSE}"; then
9129
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_WINDOWS64\" was never defined.
 
9152
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_WINDOWS64\" was never defined.
9130
9153
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9131
9154
fi
9132
9155
if test -z "${TARGET_OS_KERNEL_INTERIX_TRUE}" && test -z "${TARGET_OS_KERNEL_INTERIX_FALSE}"; then
9133
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_INTERIX\" was never defined.
 
9156
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_INTERIX\" was never defined.
9134
9157
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9135
9158
fi
9136
9159
if test -z "${TARGET_OS_KERNEL_FREEBSD_TRUE}" && test -z "${TARGET_OS_KERNEL_FREEBSD_FALSE}"; then
9137
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_FREEBSD\" was never defined.
 
9160
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_FREEBSD\" was never defined.
9138
9161
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9139
9162
fi
9140
9163
if test -z "${TARGET_OS_KERNEL_DRAGONFLY_TRUE}" && test -z "${TARGET_OS_KERNEL_DRAGONFLY_FALSE}"; then
9141
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_DRAGONFLY\" was never defined.
 
9164
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_DRAGONFLY\" was never defined.
9142
9165
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9143
9166
fi
9144
9167
if test -z "${TARGET_OS_KERNEL_OPENBSD_TRUE}" && test -z "${TARGET_OS_KERNEL_OPENBSD_FALSE}"; then
9145
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_OPENBSD\" was never defined.
 
9168
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_OPENBSD\" was never defined.
9146
9169
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9147
9170
fi
9148
9171
if test -z "${TARGET_OS_KERNEL_NETBSD_TRUE}" && test -z "${TARGET_OS_KERNEL_NETBSD_FALSE}"; then
9149
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_NETBSD\" was never defined.
 
9172
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_NETBSD\" was never defined.
9150
9173
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9151
9174
fi
9152
9175
if test -z "${TARGET_OS_KERNEL_SOLARIS_TRUE}" && test -z "${TARGET_OS_KERNEL_SOLARIS_FALSE}"; then
9153
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_SOLARIS\" was never defined.
 
9176
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_SOLARIS\" was never defined.
9154
9177
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9155
9178
fi
9156
9179
if test -z "${TARGET_OS_KERNEL_DARWIN_TRUE}" && test -z "${TARGET_OS_KERNEL_DARWIN_FALSE}"; then
9157
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_DARWIN\" was never defined.
 
9180
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_DARWIN\" was never defined.
9158
9181
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9159
9182
fi
9160
9183
if test -z "${TARGET_OS_KERNEL_QNX_TRUE}" && test -z "${TARGET_OS_KERNEL_QNX_FALSE}"; then
9161
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_QNX\" was never defined.
 
9184
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_QNX\" was never defined.
9162
9185
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9163
9186
fi
9164
9187
if test -z "${TARGET_OS_KERNEL_UNKNOWN_TRUE}" && test -z "${TARGET_OS_KERNEL_UNKNOWN_FALSE}"; then
9165
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_UNKNOWN\" was never defined.
 
9188
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_UNKNOWN\" was never defined.
9166
9189
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9167
9190
fi
9168
9191
if test -z "${TARGET_OS_KERNEL_FAMILY_WINDOWS_TRUE}" && test -z "${TARGET_OS_KERNEL_FAMILY_WINDOWS_FALSE}"; then
9169
 
  as_fn_error "conditional \"TARGET_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
 
9192
  as_fn_error $? "conditional \"TARGET_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
9170
9193
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9171
9194
fi
9172
9195
if test -z "${TARGET_OS_ENV_CYGWIN_TRUE}" && test -z "${TARGET_OS_ENV_CYGWIN_FALSE}"; then
9173
 
  as_fn_error "conditional \"TARGET_OS_ENV_CYGWIN\" was never defined.
 
9196
  as_fn_error $? "conditional \"TARGET_OS_ENV_CYGWIN\" was never defined.
9174
9197
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9175
9198
fi
9176
9199
if test -z "${TARGET_OS_ENV_MINGW32_TRUE}" && test -z "${TARGET_OS_ENV_MINGW32_FALSE}"; then
9177
 
  as_fn_error "conditional \"TARGET_OS_ENV_MINGW32\" was never defined.
 
9200
  as_fn_error $? "conditional \"TARGET_OS_ENV_MINGW32\" was never defined.
9178
9201
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9179
9202
fi
9180
9203
if test -z "${TARGET_OS_ENV_MINGW64_TRUE}" && test -z "${TARGET_OS_ENV_MINGW64_FALSE}"; then
9181
 
  as_fn_error "conditional \"TARGET_OS_ENV_MINGW64\" was never defined.
 
9204
  as_fn_error $? "conditional \"TARGET_OS_ENV_MINGW64\" was never defined.
9182
9205
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9183
9206
fi
9184
9207
if test -z "${TARGET_OS_ENV_INTERIX_TRUE}" && test -z "${TARGET_OS_ENV_INTERIX_FALSE}"; then
9185
 
  as_fn_error "conditional \"TARGET_OS_ENV_INTERIX\" was never defined.
 
9208
  as_fn_error $? "conditional \"TARGET_OS_ENV_INTERIX\" was never defined.
9186
9209
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9187
9210
fi
9188
9211
if test -z "${TARGET_OS_ENV_GNU_TRUE}" && test -z "${TARGET_OS_ENV_GNU_FALSE}"; then
9189
 
  as_fn_error "conditional \"TARGET_OS_ENV_GNU\" was never defined.
 
9212
  as_fn_error $? "conditional \"TARGET_OS_ENV_GNU\" was never defined.
9190
9213
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9191
9214
fi
9192
9215
if test -z "${TARGET_OS_ENV_FREEBSD_TRUE}" && test -z "${TARGET_OS_ENV_FREEBSD_FALSE}"; then
9193
 
  as_fn_error "conditional \"TARGET_OS_ENV_FREEBSD\" was never defined.
 
9216
  as_fn_error $? "conditional \"TARGET_OS_ENV_FREEBSD\" was never defined.
9194
9217
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9195
9218
fi
9196
9219
if test -z "${TARGET_OS_ENV_DRAGONFLY_TRUE}" && test -z "${TARGET_OS_ENV_DRAGONFLY_FALSE}"; then
9197
 
  as_fn_error "conditional \"TARGET_OS_ENV_DRAGONFLY\" was never defined.
 
9220
  as_fn_error $? "conditional \"TARGET_OS_ENV_DRAGONFLY\" was never defined.
9198
9221
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9199
9222
fi
9200
9223
if test -z "${TARGET_OS_ENV_OPENBSD_TRUE}" && test -z "${TARGET_OS_ENV_OPENBSD_FALSE}"; then
9201
 
  as_fn_error "conditional \"TARGET_OS_ENV_OPENBSD\" was never defined.
 
9224
  as_fn_error $? "conditional \"TARGET_OS_ENV_OPENBSD\" was never defined.
9202
9225
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9203
9226
fi
9204
9227
if test -z "${TARGET_OS_ENV_NETBSD_TRUE}" && test -z "${TARGET_OS_ENV_NETBSD_FALSE}"; then
9205
 
  as_fn_error "conditional \"TARGET_OS_ENV_NETBSD\" was never defined.
 
9228
  as_fn_error $? "conditional \"TARGET_OS_ENV_NETBSD\" was never defined.
9206
9229
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9207
9230
fi
9208
9231
if test -z "${TARGET_OS_ENV_SOLARIS_TRUE}" && test -z "${TARGET_OS_ENV_SOLARIS_FALSE}"; then
9209
 
  as_fn_error "conditional \"TARGET_OS_ENV_SOLARIS\" was never defined.
 
9232
  as_fn_error $? "conditional \"TARGET_OS_ENV_SOLARIS\" was never defined.
9210
9233
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9211
9234
fi
9212
9235
if test -z "${TARGET_OS_ENV_DARWIN_TRUE}" && test -z "${TARGET_OS_ENV_DARWIN_FALSE}"; then
9213
 
  as_fn_error "conditional \"TARGET_OS_ENV_DARWIN\" was never defined.
 
9236
  as_fn_error $? "conditional \"TARGET_OS_ENV_DARWIN\" was never defined.
9214
9237
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9215
9238
fi
9216
9239
if test -z "${TARGET_OS_ENV_QNX_TRUE}" && test -z "${TARGET_OS_ENV_QNX_FALSE}"; then
9217
 
  as_fn_error "conditional \"TARGET_OS_ENV_QNX\" was never defined.
 
9240
  as_fn_error $? "conditional \"TARGET_OS_ENV_QNX\" was never defined.
9218
9241
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9219
9242
fi
9220
9243
if test -z "${TARGET_OS_ENV_UNKNOWN_TRUE}" && test -z "${TARGET_OS_ENV_UNKNOWN_FALSE}"; then
9221
 
  as_fn_error "conditional \"TARGET_OS_ENV_UNKNOWN\" was never defined.
 
9244
  as_fn_error $? "conditional \"TARGET_OS_ENV_UNKNOWN\" was never defined.
9222
9245
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9223
9246
fi
9224
9247
if test -z "${BUILD_OS_KERNEL_LINUX_TRUE}" && test -z "${BUILD_OS_KERNEL_LINUX_FALSE}"; then
9225
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_LINUX\" was never defined.
 
9248
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_LINUX\" was never defined.
9226
9249
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9227
9250
fi
9228
9251
if test -z "${BUILD_OS_KERNEL_WINDOWS32_TRUE}" && test -z "${BUILD_OS_KERNEL_WINDOWS32_FALSE}"; then
9229
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_WINDOWS32\" was never defined.
 
9252
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_WINDOWS32\" was never defined.
9230
9253
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9231
9254
fi
9232
9255
if test -z "${BUILD_OS_KERNEL_WINDOWS64_TRUE}" && test -z "${BUILD_OS_KERNEL_WINDOWS64_FALSE}"; then
9233
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_WINDOWS64\" was never defined.
 
9256
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_WINDOWS64\" was never defined.
9234
9257
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9235
9258
fi
9236
9259
if test -z "${BUILD_OS_KERNEL_INTERIX_TRUE}" && test -z "${BUILD_OS_KERNEL_INTERIX_FALSE}"; then
9237
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_INTERIX\" was never defined.
 
9260
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_INTERIX\" was never defined.
9238
9261
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9239
9262
fi
9240
9263
if test -z "${BUILD_OS_KERNEL_FREEBSD_TRUE}" && test -z "${BUILD_OS_KERNEL_FREEBSD_FALSE}"; then
9241
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_FREEBSD\" was never defined.
 
9264
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_FREEBSD\" was never defined.
9242
9265
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9243
9266
fi
9244
9267
if test -z "${BUILD_OS_KERNEL_DRAGONFLY_TRUE}" && test -z "${BUILD_OS_KERNEL_DRAGONFLY_FALSE}"; then
9245
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_DRAGONFLY\" was never defined.
 
9268
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_DRAGONFLY\" was never defined.
9246
9269
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9247
9270
fi
9248
9271
if test -z "${BUILD_OS_KERNEL_OPENBSD_TRUE}" && test -z "${BUILD_OS_KERNEL_OPENBSD_FALSE}"; then
9249
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_OPENBSD\" was never defined.
 
9272
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_OPENBSD\" was never defined.
9250
9273
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9251
9274
fi
9252
9275
if test -z "${BUILD_OS_KERNEL_NETBSD_TRUE}" && test -z "${BUILD_OS_KERNEL_NETBSD_FALSE}"; then
9253
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_NETBSD\" was never defined.
 
9276
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_NETBSD\" was never defined.
9254
9277
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9255
9278
fi
9256
9279
if test -z "${BUILD_OS_KERNEL_SOLARIS_TRUE}" && test -z "${BUILD_OS_KERNEL_SOLARIS_FALSE}"; then
9257
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_SOLARIS\" was never defined.
 
9280
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_SOLARIS\" was never defined.
9258
9281
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9259
9282
fi
9260
9283
if test -z "${BUILD_OS_KERNEL_DARWIN_TRUE}" && test -z "${BUILD_OS_KERNEL_DARWIN_FALSE}"; then
9261
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_DARWIN\" was never defined.
 
9284
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_DARWIN\" was never defined.
9262
9285
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9263
9286
fi
9264
9287
if test -z "${BUILD_OS_KERNEL_QNX_TRUE}" && test -z "${BUILD_OS_KERNEL_QNX_FALSE}"; then
9265
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_QNX\" was never defined.
 
9288
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_QNX\" was never defined.
9266
9289
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9267
9290
fi
9268
9291
if test -z "${BUILD_OS_KERNEL_UNKNOWN_TRUE}" && test -z "${BUILD_OS_KERNEL_UNKNOWN_FALSE}"; then
9269
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_UNKNOWN\" was never defined.
 
9292
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_UNKNOWN\" was never defined.
9270
9293
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9271
9294
fi
9272
9295
if test -z "${BUILD_OS_KERNEL_FAMILY_WINDOWS_TRUE}" && test -z "${BUILD_OS_KERNEL_FAMILY_WINDOWS_FALSE}"; then
9273
 
  as_fn_error "conditional \"BUILD_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
 
9296
  as_fn_error $? "conditional \"BUILD_OS_KERNEL_FAMILY_WINDOWS\" was never defined.
9274
9297
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9275
9298
fi
9276
9299
if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
9277
 
  as_fn_error "conditional \"ENABLE_TESTS\" was never defined.
 
9300
  as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
9278
9301
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9279
9302
fi
9280
9303
if test -z "${ENABLE_LIBGLADE_TRUE}" && test -z "${ENABLE_LIBGLADE_FALSE}"; then
9281
 
  as_fn_error "conditional \"ENABLE_LIBGLADE\" was never defined.
 
9304
  as_fn_error $? "conditional \"ENABLE_LIBGLADE\" was never defined.
9282
9305
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9283
9306
fi
9284
9307
if test -z "${ENABLE_GTKBUILDER_TRUE}" && test -z "${ENABLE_GTKBUILDER_FALSE}"; then
9285
 
  as_fn_error "conditional \"ENABLE_GTKBUILDER\" was never defined.
 
9308
  as_fn_error $? "conditional \"ENABLE_GTKBUILDER\" was never defined.
9286
9309
Usually this means the macro was only invoked conditionally." "$LINENO" 5
9287
9310
fi
9288
9311
 
9289
 
: ${CONFIG_STATUS=./config.status}
 
9312
: "${CONFIG_STATUS=./config.status}"
9290
9313
ac_write_fail=0
9291
9314
ac_clean_files_save=$ac_clean_files
9292
9315
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9387
9410
IFS=" ""        $as_nl"
9388
9411
 
9389
9412
# Find who we are.  Look in the path if we contain no directory separator.
 
9413
as_myself=
9390
9414
case $0 in #((
9391
9415
  *[\\/]* ) as_myself=$0 ;;
9392
9416
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432
9456
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9433
9457
 
9434
9458
 
9435
 
# as_fn_error ERROR [LINENO LOG_FD]
9436
 
# ---------------------------------
 
9459
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
9460
# ----------------------------------------
9437
9461
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9438
9462
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9439
 
# script with status $?, using 1 if that was 0.
 
9463
# script with STATUS, using 1 if that was 0.
9440
9464
as_fn_error ()
9441
9465
{
9442
 
  as_status=$?; test $as_status -eq 0 && as_status=1
9443
 
  if test "$3"; then
9444
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9445
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
9466
  as_status=$1; test $as_status -eq 0 && as_status=1
 
9467
  if test "$4"; then
 
9468
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
9469
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9446
9470
  fi
9447
 
  $as_echo "$as_me: error: $1" >&2
 
9471
  $as_echo "$as_me: error: $2" >&2
9448
9472
  as_fn_exit $as_status
9449
9473
} # as_fn_error
9450
9474
 
9640
9664
      test -d "$as_dir" && break
9641
9665
    done
9642
9666
    test -z "$as_dirs" || eval "mkdir $as_dirs"
9643
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
9667
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9644
9668
 
9645
9669
 
9646
9670
} # as_fn_mkdir_p
9693
9717
# report actual input values of CONFIG_FILES etc. instead of their
9694
9718
# values after options handling.
9695
9719
ac_log="
9696
 
This file was extended by GSmartControl $as_me 0.8.6, which was
9697
 
generated by GNU Autoconf 2.65.  Invocation command line was
 
9720
This file was extended by GSmartControl $as_me 0.8.7, which was
 
9721
generated by GNU Autoconf 2.68.  Invocation command line was
9698
9722
 
9699
9723
  CONFIG_FILES    = $CONFIG_FILES
9700
9724
  CONFIG_HEADERS  = $CONFIG_HEADERS
9759
9783
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9760
9784
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9761
9785
ac_cs_version="\\
9762
 
GSmartControl config.status 0.8.6
9763
 
configured by $0, generated by GNU Autoconf 2.65,
 
9786
GSmartControl config.status 0.8.7
 
9787
configured by $0, generated by GNU Autoconf 2.68,
9764
9788
  with options \\"\$ac_cs_config\\"
9765
9789
 
9766
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
9790
Copyright (C) 2010 Free Software Foundation, Inc.
9767
9791
This config.status script is free software; the Free Software Foundation
9768
9792
gives unlimited permission to copy, distribute and modify it."
9769
9793
 
9781
9805
while test $# != 0
9782
9806
do
9783
9807
  case $1 in
9784
 
  --*=*)
 
9808
  --*=?*)
9785
9809
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
9786
9810
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9787
9811
    ac_shift=:
9788
9812
    ;;
 
9813
  --*=)
 
9814
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
9815
    ac_optarg=
 
9816
    ac_shift=:
 
9817
    ;;
9789
9818
  *)
9790
9819
    ac_option=$1
9791
9820
    ac_optarg=$2
9807
9836
    $ac_shift
9808
9837
    case $ac_optarg in
9809
9838
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
9839
    '') as_fn_error $? "missing file argument" ;;
9810
9840
    esac
9811
9841
    as_fn_append CONFIG_FILES " '$ac_optarg'"
9812
9842
    ac_need_defaults=false;;
9819
9849
    ac_need_defaults=false;;
9820
9850
  --he | --h)
9821
9851
    # Conflict between --help and --header
9822
 
    as_fn_error "ambiguous option: \`$1'
 
9852
    as_fn_error $? "ambiguous option: \`$1'
9823
9853
Try \`$0 --help' for more information.";;
9824
9854
  --help | --hel | -h )
9825
9855
    $as_echo "$ac_cs_usage"; exit ;;
9828
9858
    ac_cs_silent=: ;;
9829
9859
 
9830
9860
  # This is an error.
9831
 
  -*) as_fn_error "unrecognized option: \`$1'
 
9861
  -*) as_fn_error $? "unrecognized option: \`$1'
9832
9862
Try \`$0 --help' for more information." ;;
9833
9863
 
9834
9864
  *) as_fn_append ac_config_targets " $1"
9916
9946
    "data/nsis/Makefile") CONFIG_FILES="$CONFIG_FILES data/nsis/Makefile" ;;
9917
9947
    "debian.dist/Makefile") CONFIG_FILES="$CONFIG_FILES debian.dist/Makefile" ;;
9918
9948
 
9919
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
9949
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9920
9950
  esac
9921
9951
done
9922
9952
 
9939
9969
# after its creation but before its name has been assigned to `$tmp'.
9940
9970
$debug ||
9941
9971
{
9942
 
  tmp=
 
9972
  tmp= ac_tmp=
9943
9973
  trap 'exit_status=$?
9944
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
9974
  : "${ac_tmp:=$tmp}"
 
9975
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9945
9976
' 0
9946
9977
  trap 'as_fn_exit 1' 1 2 13 15
9947
9978
}
9949
9980
 
9950
9981
{
9951
9982
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9952
 
  test -n "$tmp" && test -d "$tmp"
 
9983
  test -d "$tmp"
9953
9984
}  ||
9954
9985
{
9955
9986
  tmp=./conf$$-$RANDOM
9956
9987
  (umask 077 && mkdir "$tmp")
9957
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
9988
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
9989
ac_tmp=$tmp
9958
9990
 
9959
9991
# Set up the scripts for CONFIG_FILES section.
9960
9992
# No need to generate them if there are no CONFIG_FILES.
9971
10003
fi
9972
10004
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9973
10005
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9974
 
  ac_cs_awk_cr='\r'
 
10006
  ac_cs_awk_cr='\\r'
9975
10007
else
9976
10008
  ac_cs_awk_cr=$ac_cr
9977
10009
fi
9978
10010
 
9979
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
10011
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9980
10012
_ACEOF
9981
10013
 
9982
10014
 
9985
10017
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9986
10018
  echo "_ACEOF"
9987
10019
} >conf$$subs.sh ||
9988
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9989
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
10020
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
10021
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9990
10022
ac_delim='%!_!# '
9991
10023
for ac_last_try in false false false false false :; do
9992
10024
  . ./conf$$subs.sh ||
9993
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
10025
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9994
10026
 
9995
10027
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9996
10028
  if test $ac_delim_n = $ac_delim_num; then
9997
10029
    break
9998
10030
  elif $ac_last_try; then
9999
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
10031
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
10000
10032
  else
10001
10033
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10002
10034
  fi
10004
10036
rm -f conf$$subs.sh
10005
10037
 
10006
10038
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10007
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
10039
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
10008
10040
_ACEOF
10009
10041
sed -n '
10010
10042
h
10052
10084
rm -f conf$$subs.awk
10053
10085
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10054
10086
_ACAWK
10055
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
10087
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10056
10088
  for (key in S) S_is_set[key] = 1
10057
10089
  FS = ""
10058
10090
 
10084
10116
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10085
10117
else
10086
10118
  cat
10087
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
10088
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
10119
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
10120
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10089
10121
_ACEOF
10090
10122
 
10091
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
10092
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
10123
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
10124
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10093
10125
# trailing colons and then remove the whole line if VPATH becomes empty
10094
10126
# (actually we leave an empty line to preserve line numbers).
10095
10127
if test "x$srcdir" = x.; then
10096
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10097
 
s/:*\$(srcdir):*/:/
10098
 
s/:*\${srcdir}:*/:/
10099
 
s/:*@srcdir@:*/:/
10100
 
s/^\([^=]*=[     ]*\):*/\1/
 
10128
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
10129
h
 
10130
s///
 
10131
s/^/:/
 
10132
s/[      ]*$/:/
 
10133
s/:\$(srcdir):/:/g
 
10134
s/:\${srcdir}:/:/g
 
10135
s/:@srcdir@:/:/g
 
10136
s/^:*//
10101
10137
s/:*$//
 
10138
x
 
10139
s/\(=[   ]*\).*/\1/
 
10140
G
 
10141
s/\n//
10102
10142
s/^[^=]*=[       ]*$//
10103
10143
}'
10104
10144
fi
10110
10150
# No need to generate them if there are no CONFIG_HEADERS.
10111
10151
# This happens for instance with `./config.status Makefile'.
10112
10152
if test -n "$CONFIG_HEADERS"; then
10113
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
10153
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10114
10154
BEGIN {
10115
10155
_ACEOF
10116
10156
 
10122
10162
# handling of long lines.
10123
10163
ac_delim='%!_!# '
10124
10164
for ac_last_try in false false :; do
10125
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
10126
 
  if test -z "$ac_t"; then
 
10165
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
10166
  if test -z "$ac_tt"; then
10127
10167
    break
10128
10168
  elif $ac_last_try; then
10129
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
10169
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10130
10170
  else
10131
10171
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10132
10172
  fi
10211
10251
_ACAWK
10212
10252
_ACEOF
10213
10253
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10214
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
10254
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10215
10255
fi # test -n "$CONFIG_HEADERS"
10216
10256
 
10217
10257
 
10224
10264
  esac
10225
10265
  case $ac_mode$ac_tag in
10226
10266
  :[FHL]*:*);;
10227
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
10267
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10228
10268
  :[FH]-) ac_tag=-:-;;
10229
10269
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10230
10270
  esac
10243
10283
    for ac_f
10244
10284
    do
10245
10285
      case $ac_f in
10246
 
      -) ac_f="$tmp/stdin";;
 
10286
      -) ac_f="$ac_tmp/stdin";;
10247
10287
      *) # Look for the file first in the build tree, then in the source tree
10248
10288
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
10249
10289
         # because $ac_f cannot contain `:'.
10252
10292
           [\\/$]*) false;;
10253
10293
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10254
10294
           esac ||
10255
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
10295
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10256
10296
      esac
10257
10297
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10258
10298
      as_fn_append ac_file_inputs " '$ac_f'"
10278
10318
    esac
10279
10319
 
10280
10320
    case $ac_tag in
10281
 
    *:-:* | *:-) cat >"$tmp/stdin" \
10282
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
10321
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
10322
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10283
10323
    esac
10284
10324
    ;;
10285
10325
  esac
10415
10455
s&@MKDIR_P@&$ac_MKDIR_P&;t t
10416
10456
$ac_datarootdir_hack
10417
10457
"
10418
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
10419
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
10458
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
10459
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10420
10460
 
10421
10461
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10422
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
10423
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
10462
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
10463
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
10464
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
10424
10465
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10425
 
which seems to be undefined.  Please make sure it is defined." >&5
 
10466
which seems to be undefined.  Please make sure it is defined" >&5
10426
10467
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10427
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
10468
which seems to be undefined.  Please make sure it is defined" >&2;}
10428
10469
 
10429
 
  rm -f "$tmp/stdin"
 
10470
  rm -f "$ac_tmp/stdin"
10430
10471
  case $ac_file in
10431
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
10432
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
10472
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
10473
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10433
10474
  esac \
10434
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
10475
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10435
10476
 ;;
10436
10477
  :H)
10437
10478
  #
10440
10481
  if test x"$ac_file" != x-; then
10441
10482
    {
10442
10483
      $as_echo "/* $configure_input  */" \
10443
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10444
 
    } >"$tmp/config.h" \
10445
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
10446
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
10484
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
10485
    } >"$ac_tmp/config.h" \
 
10486
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
10487
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10447
10488
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10448
10489
$as_echo "$as_me: $ac_file is unchanged" >&6;}
10449
10490
    else
10450
10491
      rm -f "$ac_file"
10451
 
      mv "$tmp/config.h" "$ac_file" \
10452
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
10492
      mv "$ac_tmp/config.h" "$ac_file" \
 
10493
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10453
10494
    fi
10454
10495
  else
10455
10496
    $as_echo "/* $configure_input  */" \
10456
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10457
 
      || as_fn_error "could not create -" "$LINENO" 5
 
10497
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
10498
      || as_fn_error $? "could not create -" "$LINENO" 5
10458
10499
  fi
10459
10500
# Compute "$ac_file"'s index in $config_headers.
10460
10501
_am_arg="$ac_file"
10605
10646
ac_clean_files=$ac_clean_files_save
10606
10647
 
10607
10648
test $ac_write_fail = 0 ||
10608
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
10649
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10609
10650
 
10610
10651
 
10611
10652
# configure is writing to config.log, and then calls config.status.
10626
10667
  exec 5>>config.log
10627
10668
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10628
10669
  # would make configure fail if this is the last instruction.
10629
 
  $ac_cs_success || as_fn_exit $?
 
10670
  $ac_cs_success || as_fn_exit 1
10630
10671
fi
10631
10672
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10632
10673
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5