~jfi/ubuntu/quantal/psensor/new-upstream

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-01-21 22:41:34 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120121224134-mty23d3917ng5ujd
Tags: 0.6.2.16-1ubuntu1
* Merge from Debian testing.  Remaining changes:
  + Modifed build-dep to add NVidia and Application Indicator support
  + Only add an nvidia-settings build-dep on i386 and amd64

* Add a patch to drop the deprecated g_thread_init() call
  - add debian/patches/drop_g_thread_init.patch
  - add debian/patches/series

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.67 for psensor 0.6.1.9.
 
3
# Generated by GNU Autoconf 2.68 for psensor 0.6.2.16.
4
4
#
5
 
# Report bugs to <wpitchoune@gmail.com>.
 
5
# Report bugs to <jeanfi@gmail.com>.
6
6
#
7
7
#
8
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216
217
  # We cannot yet assume a decent shell, so we have to provide a
217
218
        # neutralization value for shells without unset; and this also
218
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
219
221
        BASH_ENV=/dev/null
220
222
        ENV=/dev/null
221
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
224
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
232
fi
225
233
 
226
234
    if test x$as_have_required = xno; then :
230
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232
240
  else
233
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
234
 
$0: wpitchoune@gmail.com about your system, including any
235
 
$0: error possibly output before this message. Then install
236
 
$0: a modern shell, or manually run the script under such a
237
 
$0: shell if you do have one."
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and jeanfi@gmail.com
 
242
$0: about your system, including any error possibly output
 
243
$0: before this message. Then install a modern shell, or
 
244
$0: manually run the script under such a shell if you do
 
245
$0: have one."
238
246
  fi
239
247
  exit 1
240
248
fi
552
560
# Identity of this package.
553
561
PACKAGE_NAME='psensor'
554
562
PACKAGE_TARNAME='psensor'
555
 
PACKAGE_VERSION='0.6.1.9'
556
 
PACKAGE_STRING='psensor 0.6.1.9'
557
 
PACKAGE_BUGREPORT='wpitchoune@gmail.com'
 
563
PACKAGE_VERSION='0.6.2.16'
 
564
PACKAGE_STRING='psensor 0.6.2.16'
 
565
PACKAGE_BUGREPORT='jeanfi@gmail.com'
558
566
PACKAGE_URL='http://wpitchoune.net/psensor'
559
567
 
560
568
ac_unique_file="src/compat.h"
607
615
LIBMICROHTTPD_TRUE
608
616
LIBMICROHTTPD_LIBS
609
617
LIBMICROHTTPD_CFLAGS
610
 
LUA_FALSE
611
 
LUA_TRUE
612
 
LUA_LIBS
613
 
LUA_CFLAGS
 
618
LIBATIADL_LIBS
 
619
LIBATIADL_CFLAGS
 
620
LIBATIADL_FALSE
 
621
LIBATIADL_TRUE
 
622
UNITY_FALSE
 
623
UNITY_TRUE
 
624
UNITY_LIBS
 
625
UNITY_CFLAGS
614
626
NVIDIA_LIBS
615
627
NVIDIA_CFLAGS
616
628
NVIDIA_FALSE
633
645
LIBNOTIFY_CFLAGS
634
646
GCONF_LIBS
635
647
GCONF_CFLAGS
 
648
GTK_FALSE
 
649
GTK_TRUE
636
650
GTK_LIBS
637
651
GTK_CFLAGS
638
652
XEXT_LIBS
761
775
enable_rpath
762
776
with_libiconv_prefix
763
777
with_libintl_prefix
 
778
with_libatiadl
764
779
with_gtop
765
780
'
766
781
      ac_precious_vars='build_alias
792
807
CURL_LIBS
793
808
JSON_CFLAGS
794
809
JSON_LIBS
795
 
LUA_CFLAGS
796
 
LUA_LIBS
 
810
UNITY_CFLAGS
 
811
UNITY_LIBS
797
812
LIBMICROHTTPD_CFLAGS
798
813
LIBMICROHTTPD_LIBS
799
814
GTOP_CFLAGS
1202
1217
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1203
1218
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204
1219
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1205
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1220
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206
1221
    ;;
1207
1222
 
1208
1223
  esac
1340
1355
  # Omit some internal or obsolete options to make the list less imposing.
1341
1356
  # This message is too long to be a string in the A/UX 3.1 sh.
1342
1357
  cat <<_ACEOF
1343
 
\`configure' configures psensor 0.6.1.9 to adapt to many kinds of systems.
 
1358
\`configure' configures psensor 0.6.2.16 to adapt to many kinds of systems.
1344
1359
 
1345
1360
Usage: $0 [OPTION]... [VAR=VALUE]...
1346
1361
 
1414
1429
 
1415
1430
if test -n "$ac_init_help"; then
1416
1431
  case $ac_init_help in
1417
 
     short | recursive ) echo "Configuration of psensor 0.6.1.9:";;
 
1432
     short | recursive ) echo "Configuration of psensor 0.6.2.16:";;
1418
1433
   esac
1419
1434
  cat <<\_ACEOF
1420
1435
 
1436
1451
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1437
1452
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1438
1453
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1454
  --with-libatiadl=DIR   use libatiadlxx in DIR
1439
1455
  --with-gtop=yes|no   use gtop
1440
1456
 
1441
1457
Some influential environment variables:
1474
1490
  CURL_LIBS   linker flags for CURL, overriding pkg-config
1475
1491
  JSON_CFLAGS C compiler flags for JSON, overriding pkg-config
1476
1492
  JSON_LIBS   linker flags for JSON, overriding pkg-config
1477
 
  LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
1478
 
  LUA_LIBS    linker flags for LUA, overriding pkg-config
 
1493
  UNITY_CFLAGS
 
1494
              C compiler flags for UNITY, overriding pkg-config
 
1495
  UNITY_LIBS  linker flags for UNITY, overriding pkg-config
1479
1496
  LIBMICROHTTPD_CFLAGS
1480
1497
              C compiler flags for LIBMICROHTTPD, overriding pkg-config
1481
1498
  LIBMICROHTTPD_LIBS
1486
1503
Use these variables to override the choices made by `configure' or to help
1487
1504
it to find libraries and programs with nonstandard names/locations.
1488
1505
 
1489
 
Report bugs to <wpitchoune@gmail.com>.
 
1506
Report bugs to <jeanfi@gmail.com>.
1490
1507
psensor home page: <http://wpitchoune.net/psensor>.
1491
1508
_ACEOF
1492
1509
ac_status=$?
1550
1567
test -n "$ac_init_help" && exit $ac_status
1551
1568
if $ac_init_version; then
1552
1569
  cat <<\_ACEOF
1553
 
psensor configure 0.6.1.9
1554
 
generated by GNU Autoconf 2.67
 
1570
psensor configure 0.6.2.16
 
1571
generated by GNU Autoconf 2.68
1555
1572
 
1556
1573
Copyright (C) 2010 Free Software Foundation, Inc.
1557
1574
This configure script is free software; the Free Software Foundation
1597
1614
 
1598
1615
        ac_retval=1
1599
1616
fi
1600
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1617
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601
1618
  as_fn_set_status $ac_retval
1602
1619
 
1603
1620
} # ac_fn_c_try_compile
1634
1651
 
1635
1652
    ac_retval=1
1636
1653
fi
1637
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1654
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638
1655
  as_fn_set_status $ac_retval
1639
1656
 
1640
1657
} # ac_fn_c_try_cpp
1680
1697
  # interfere with the next link command; also delete a directory that is
1681
1698
  # left behind by Apple's compiler.  We do this before executing the actions.
1682
1699
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1683
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1700
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684
1701
  as_fn_set_status $ac_retval
1685
1702
 
1686
1703
} # ac_fn_c_try_link
1693
1710
ac_fn_c_check_header_mongrel ()
1694
1711
{
1695
1712
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1713
  if eval \${$3+:} false; then :
1697
1714
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698
1715
$as_echo_n "checking for $2... " >&6; }
1699
 
if eval "test \"\${$3+set}\"" = set; then :
 
1716
if eval \${$3+:} false; then :
1700
1717
  $as_echo_n "(cached) " >&6
1701
1718
fi
1702
1719
eval ac_res=\$$3
1755
1772
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1756
1773
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1757
1774
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1758
 
( $as_echo "## ----------------------------------- ##
1759
 
## Report this to wpitchoune@gmail.com ##
1760
 
## ----------------------------------- ##"
 
1775
( $as_echo "## ------------------------------- ##
 
1776
## Report this to jeanfi@gmail.com ##
 
1777
## ------------------------------- ##"
1761
1778
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1762
1779
    ;;
1763
1780
esac
1764
1781
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765
1782
$as_echo_n "checking for $2... " >&6; }
1766
 
if eval "test \"\${$3+set}\"" = set; then :
 
1783
if eval \${$3+:} false; then :
1767
1784
  $as_echo_n "(cached) " >&6
1768
1785
else
1769
1786
  eval "$3=\$ac_header_compiler"
1772
1789
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773
1790
$as_echo "$ac_res" >&6; }
1774
1791
fi
1775
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1792
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776
1793
 
1777
1794
} # ac_fn_c_check_header_mongrel
1778
1795
 
1813
1830
       ac_retval=$ac_status
1814
1831
fi
1815
1832
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1816
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1833
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817
1834
  as_fn_set_status $ac_retval
1818
1835
 
1819
1836
} # ac_fn_c_try_run
1827
1844
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828
1845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829
1846
$as_echo_n "checking for $2... " >&6; }
1830
 
if eval "test \"\${$3+set}\"" = set; then :
 
1847
if eval \${$3+:} false; then :
1831
1848
  $as_echo_n "(cached) " >&6
1832
1849
else
1833
1850
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845
1862
eval ac_res=\$$3
1846
1863
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847
1864
$as_echo "$ac_res" >&6; }
1848
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1865
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849
1866
 
1850
1867
} # ac_fn_c_check_header_compile
1851
1868
 
1858
1875
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859
1876
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860
1877
$as_echo_n "checking for $2... " >&6; }
1861
 
if eval "test \"\${$3+set}\"" = set; then :
 
1878
if eval \${$3+:} false; then :
1862
1879
  $as_echo_n "(cached) " >&6
1863
1880
else
1864
1881
  eval "$3=no"
1899
1916
eval ac_res=\$$3
1900
1917
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901
1918
$as_echo "$ac_res" >&6; }
1902
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1919
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903
1920
 
1904
1921
} # ac_fn_c_check_type
1905
1922
 
1911
1928
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912
1929
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913
1930
$as_echo_n "checking for $2... " >&6; }
1914
 
if eval "test \"\${$3+set}\"" = set; then :
 
1931
if eval \${$3+:} false; then :
1915
1932
  $as_echo_n "(cached) " >&6
1916
1933
else
1917
1934
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966
1983
eval ac_res=\$$3
1967
1984
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968
1985
$as_echo "$ac_res" >&6; }
1969
 
  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
1970
1987
 
1971
1988
} # ac_fn_c_check_func
1972
1989
cat >config.log <<_ACEOF
1973
1990
This file contains any messages produced by compilers while
1974
1991
running configure, to aid debugging if configure makes a mistake.
1975
1992
 
1976
 
It was created by psensor $as_me 0.6.1.9, which was
1977
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1993
It was created by psensor $as_me 0.6.2.16, which was
 
1994
generated by GNU Autoconf 2.68.  Invocation command line was
1978
1995
 
1979
1996
  $ $0 $@
1980
1997
 
2232
2249
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233
2250
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234
2251
as_fn_error $? "failed to load site script $ac_site_file
2235
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2252
See \`config.log' for more details" "$LINENO" 5; }
2236
2253
  fi
2237
2254
done
2238
2255
 
2371
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2372
2389
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2373
2390
if test -z "$INSTALL"; then
2374
 
if test "${ac_cv_path_install+set}" = set; then :
 
2391
if ${ac_cv_path_install+:} false; then :
2375
2392
  $as_echo_n "(cached) " >&6
2376
2393
else
2377
2394
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458
2475
'
2459
2476
case `pwd` in
2460
2477
  *[\\\"\#\$\&\'\`$am_lf]*)
2461
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2478
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2462
2479
esac
2463
2480
case $srcdir in
2464
2481
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2465
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2482
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2466
2483
esac
2467
2484
 
2468
2485
# Do `set' in a subshell so we don't clobber the current shell's
2548
2565
set dummy ${ac_tool_prefix}strip; ac_word=$2
2549
2566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550
2567
$as_echo_n "checking for $ac_word... " >&6; }
2551
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2568
if ${ac_cv_prog_STRIP+:} false; then :
2552
2569
  $as_echo_n "(cached) " >&6
2553
2570
else
2554
2571
  if test -n "$STRIP"; then
2588
2605
set dummy strip; ac_word=$2
2589
2606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590
2607
$as_echo_n "checking for $ac_word... " >&6; }
2591
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2608
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2592
2609
  $as_echo_n "(cached) " >&6
2593
2610
else
2594
2611
  if test -n "$ac_ct_STRIP"; then
2641
2658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2642
2659
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2643
2660
if test -z "$MKDIR_P"; then
2644
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2661
  if ${ac_cv_path_mkdir+:} false; then :
2645
2662
  $as_echo_n "(cached) " >&6
2646
2663
else
2647
2664
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692
2709
set dummy $ac_prog; ac_word=$2
2693
2710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694
2711
$as_echo_n "checking for $ac_word... " >&6; }
2695
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2712
if ${ac_cv_prog_AWK+:} false; then :
2696
2713
  $as_echo_n "(cached) " >&6
2697
2714
else
2698
2715
  if test -n "$AWK"; then
2732
2749
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2733
2750
set x ${MAKE-make}
2734
2751
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2735
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2752
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2736
2753
  $as_echo_n "(cached) " >&6
2737
2754
else
2738
2755
  cat >conftest.make <<\_ACEOF
2790
2807
 
2791
2808
# Define the identity of the package.
2792
2809
 PACKAGE='psensor'
2793
 
 VERSION='0.6.1.9'
 
2810
 VERSION='0.6.2.16'
2794
2811
 
2795
2812
 
2796
2813
cat >>confdefs.h <<_ACEOF
2846
2863
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2847
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848
2865
$as_echo_n "checking for $ac_word... " >&6; }
2849
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2866
if ${ac_cv_prog_CC+:} false; then :
2850
2867
  $as_echo_n "(cached) " >&6
2851
2868
else
2852
2869
  if test -n "$CC"; then
2886
2903
set dummy gcc; ac_word=$2
2887
2904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888
2905
$as_echo_n "checking for $ac_word... " >&6; }
2889
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2906
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2890
2907
  $as_echo_n "(cached) " >&6
2891
2908
else
2892
2909
  if test -n "$ac_ct_CC"; then
2939
2956
set dummy ${ac_tool_prefix}cc; ac_word=$2
2940
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941
2958
$as_echo_n "checking for $ac_word... " >&6; }
2942
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2959
if ${ac_cv_prog_CC+:} false; then :
2943
2960
  $as_echo_n "(cached) " >&6
2944
2961
else
2945
2962
  if test -n "$CC"; then
2979
2996
set dummy cc; ac_word=$2
2980
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981
2998
$as_echo_n "checking for $ac_word... " >&6; }
2982
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2999
if ${ac_cv_prog_CC+:} false; then :
2983
3000
  $as_echo_n "(cached) " >&6
2984
3001
else
2985
3002
  if test -n "$CC"; then
3038
3055
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3039
3056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3040
3057
$as_echo_n "checking for $ac_word... " >&6; }
3041
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3058
if ${ac_cv_prog_CC+:} false; then :
3042
3059
  $as_echo_n "(cached) " >&6
3043
3060
else
3044
3061
  if test -n "$CC"; then
3082
3099
set dummy $ac_prog; ac_word=$2
3083
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084
3101
$as_echo_n "checking for $ac_word... " >&6; }
3085
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3102
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3086
3103
  $as_echo_n "(cached) " >&6
3087
3104
else
3088
3105
  if test -n "$ac_ct_CC"; then
3137
3154
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138
3155
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139
3156
as_fn_error $? "no acceptable C compiler found in \$PATH
3140
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3157
See \`config.log' for more details" "$LINENO" 5; }
3141
3158
 
3142
3159
# Provide some information about the compiler.
3143
3160
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3252
3269
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3253
3270
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3254
3271
as_fn_error 77 "C compiler cannot create executables
3255
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3272
See \`config.log' for more details" "$LINENO" 5; }
3256
3273
else
3257
3274
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3258
3275
$as_echo "yes" >&6; }
3295
3312
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296
3313
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297
3314
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3298
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3315
See \`config.log' for more details" "$LINENO" 5; }
3299
3316
fi
3300
3317
rm -f conftest conftest$ac_cv_exeext
3301
3318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3354
3371
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355
3372
as_fn_error $? "cannot run C compiled programs.
3356
3373
If you meant to cross compile, use \`--host'.
3357
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3374
See \`config.log' for more details" "$LINENO" 5; }
3358
3375
    fi
3359
3376
  fi
3360
3377
fi
3365
3382
ac_clean_files=$ac_clean_files_save
3366
3383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3367
3384
$as_echo_n "checking for suffix of object files... " >&6; }
3368
 
if test "${ac_cv_objext+set}" = set; then :
 
3385
if ${ac_cv_objext+:} false; then :
3369
3386
  $as_echo_n "(cached) " >&6
3370
3387
else
3371
3388
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406
3423
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3407
3424
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3408
3425
as_fn_error $? "cannot compute suffix of object files: cannot compile
3409
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3426
See \`config.log' for more details" "$LINENO" 5; }
3410
3427
fi
3411
3428
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3412
3429
fi
3416
3433
ac_objext=$OBJEXT
3417
3434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3418
3435
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3419
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3436
if ${ac_cv_c_compiler_gnu+:} false; then :
3420
3437
  $as_echo_n "(cached) " >&6
3421
3438
else
3422
3439
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453
3470
ac_save_CFLAGS=$CFLAGS
3454
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3455
3472
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3456
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3473
if ${ac_cv_prog_cc_g+:} false; then :
3457
3474
  $as_echo_n "(cached) " >&6
3458
3475
else
3459
3476
  ac_save_c_werror_flag=$ac_c_werror_flag
3531
3548
fi
3532
3549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3533
3550
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3534
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3551
if ${ac_cv_prog_cc_c89+:} false; then :
3535
3552
  $as_echo_n "(cached) " >&6
3536
3553
else
3537
3554
  ac_cv_prog_cc_c89=no
3692
3709
 
3693
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3694
3711
$as_echo_n "checking dependency style of $depcc... " >&6; }
3695
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3712
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3696
3713
  $as_echo_n "(cached) " >&6
3697
3714
else
3698
3715
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3824
3841
fi
3825
3842
set dummy $CC; ac_cc=`$as_echo "$2" |
3826
3843
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3827
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
3844
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3828
3845
  $as_echo_n "(cached) " >&6
3829
3846
else
3830
3847
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948
3965
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3949
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950
3967
$as_echo_n "checking for $ac_word... " >&6; }
3951
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
3968
if ${ac_cv_prog_RANLIB+:} false; then :
3952
3969
  $as_echo_n "(cached) " >&6
3953
3970
else
3954
3971
  if test -n "$RANLIB"; then
3988
4005
set dummy ranlib; ac_word=$2
3989
4006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990
4007
$as_echo_n "checking for $ac_word... " >&6; }
3991
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
4008
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3992
4009
  $as_echo_n "(cached) " >&6
3993
4010
else
3994
4011
  if test -n "$ac_ct_RANLIB"; then
4050
4067
  CPP=
4051
4068
fi
4052
4069
if test -z "$CPP"; then
4053
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4070
  if ${ac_cv_prog_CPP+:} false; then :
4054
4071
  $as_echo_n "(cached) " >&6
4055
4072
else
4056
4073
      # Double quotes because CPP needs to be expanded
4166
4183
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4167
4184
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4168
4185
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4169
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4186
See \`config.log' for more details" "$LINENO" 5; }
4170
4187
fi
4171
4188
 
4172
4189
ac_ext=c
4191
4208
  have_x=disabled
4192
4209
else
4193
4210
  case $x_includes,$x_libraries in #(
4194
 
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
4195
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
4211
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
4212
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
4196
4213
  $as_echo_n "(cached) " >&6
4197
4214
else
4198
4215
  # One or both of the vars are not set, and there is no cached value.
4371
4388
 
4372
4389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4373
4390
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4374
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4391
if ${ac_cv_path_GREP+:} false; then :
4375
4392
  $as_echo_n "(cached) " >&6
4376
4393
else
4377
4394
  if test -z "$GREP"; then
4434
4451
 
4435
4452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4436
4453
$as_echo_n "checking for egrep... " >&6; }
4437
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4454
if ${ac_cv_path_EGREP+:} false; then :
4438
4455
  $as_echo_n "(cached) " >&6
4439
4456
else
4440
4457
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4501
4518
 
4502
4519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4503
4520
$as_echo_n "checking for ANSI C header files... " >&6; }
4504
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4521
if ${ac_cv_header_stdc+:} false; then :
4505
4522
  $as_echo_n "(cached) " >&6
4506
4523
else
4507
4524
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644
4661
 
4645
4662
# Checks for typedefs, structures, and compiler characteristics.
4646
4663
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4647
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
4664
if test "x$ac_cv_type_size_t" = xyes; then :
4648
4665
 
4649
4666
else
4650
4667
 
4655
4672
fi
4656
4673
 
4657
4674
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4658
 
if test "x$ac_cv_type_ssize_t" = x""yes; then :
 
4675
if test "x$ac_cv_type_ssize_t" = xyes; then :
4659
4676
 
4660
4677
else
4661
4678
 
4670
4687
for ac_header in stdlib.h
4671
4688
do :
4672
4689
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4673
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
4690
if test "x$ac_cv_header_stdlib_h" = xyes; then :
4674
4691
  cat >>confdefs.h <<_ACEOF
4675
4692
#define HAVE_STDLIB_H 1
4676
4693
_ACEOF
4681
4698
 
4682
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4683
4700
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4684
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
4701
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4685
4702
  $as_echo_n "(cached) " >&6
4686
4703
else
4687
4704
  if test "$cross_compiling" = yes; then :
4737
4754
for ac_header in stdlib.h
4738
4755
do :
4739
4756
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4740
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
4757
if test "x$ac_cv_header_stdlib_h" = xyes; then :
4741
4758
  cat >>confdefs.h <<_ACEOF
4742
4759
#define HAVE_STDLIB_H 1
4743
4760
_ACEOF
4748
4765
 
4749
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4750
4767
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4751
 
if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then :
 
4768
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
4752
4769
  $as_echo_n "(cached) " >&6
4753
4770
else
4754
4771
  if test "$cross_compiling" = yes; then :
4868
4885
set dummy msgfmt; ac_word=$2
4869
4886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870
4887
$as_echo_n "checking for $ac_word... " >&6; }
4871
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
4888
if ${ac_cv_path_MSGFMT+:} false; then :
4872
4889
  $as_echo_n "(cached) " >&6
4873
4890
else
4874
4891
  case "$MSGFMT" in
4909
4926
set dummy gmsgfmt; ac_word=$2
4910
4927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911
4928
$as_echo_n "checking for $ac_word... " >&6; }
4912
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
4929
if ${ac_cv_path_GMSGFMT+:} false; then :
4913
4930
  $as_echo_n "(cached) " >&6
4914
4931
else
4915
4932
  case $GMSGFMT in
4991
5008
set dummy xgettext; ac_word=$2
4992
5009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993
5010
$as_echo_n "checking for $ac_word... " >&6; }
4994
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
5011
if ${ac_cv_path_XGETTEXT+:} false; then :
4995
5012
  $as_echo_n "(cached) " >&6
4996
5013
else
4997
5014
  case "$XGETTEXT" in
5069
5086
set dummy msgmerge; ac_word=$2
5070
5087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071
5088
$as_echo_n "checking for $ac_word... " >&6; }
5072
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
5089
if ${ac_cv_path_MSGMERGE+:} false; then :
5073
5090
  $as_echo_n "(cached) " >&6
5074
5091
else
5075
5092
  case "$MSGMERGE" in
5137
5154
 
5138
5155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5139
5156
$as_echo_n "checking build system type... " >&6; }
5140
 
if test "${ac_cv_build+set}" = set; then :
 
5157
if ${ac_cv_build+:} false; then :
5141
5158
  $as_echo_n "(cached) " >&6
5142
5159
else
5143
5160
  ac_build_alias=$build_alias
5153
5170
$as_echo "$ac_cv_build" >&6; }
5154
5171
case $ac_cv_build in
5155
5172
*-*-*) ;;
5156
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
5173
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5157
5174
esac
5158
5175
build=$ac_cv_build
5159
5176
ac_save_IFS=$IFS; IFS='-'
5171
5188
 
5172
5189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5173
5190
$as_echo_n "checking host system type... " >&6; }
5174
 
if test "${ac_cv_host+set}" = set; then :
 
5191
if ${ac_cv_host+:} false; then :
5175
5192
  $as_echo_n "(cached) " >&6
5176
5193
else
5177
5194
  if test "x$host_alias" = x; then
5186
5203
$as_echo "$ac_cv_host" >&6; }
5187
5204
case $ac_cv_host in
5188
5205
*-*-*) ;;
5189
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
5206
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5190
5207
esac
5191
5208
host=$ac_cv_host
5192
5209
ac_save_IFS=$IFS; IFS='-'
5262
5279
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5263
5280
$as_echo_n "checking for non-GNU ld... " >&6; }
5264
5281
fi
5265
 
if test "${acl_cv_path_LD+set}" = set; then :
 
5282
if ${acl_cv_path_LD+:} false; then :
5266
5283
  $as_echo_n "(cached) " >&6
5267
5284
else
5268
5285
  if test -z "$LD"; then
5299
5316
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5300
5317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5301
5318
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5302
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
5319
if ${acl_cv_prog_gnu_ld+:} false; then :
5303
5320
  $as_echo_n "(cached) " >&6
5304
5321
else
5305
5322
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5319
5336
 
5320
5337
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
5321
5338
$as_echo_n "checking for shared library run path origin... " >&6; }
5322
 
if test "${acl_cv_rpath+set}" = set; then :
 
5339
if ${acl_cv_rpath+:} false; then :
5323
5340
  $as_echo_n "(cached) " >&6
5324
5341
else
5325
5342
 
5357
5374
    solaris*)
5358
5375
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
5359
5376
$as_echo_n "checking for 64-bit host... " >&6; }
5360
 
if test "${gl_cv_solaris_64bit+set}" = set; then :
 
5377
if ${gl_cv_solaris_64bit+:} false; then :
5361
5378
  $as_echo_n "(cached) " >&6
5362
5379
else
5363
5380
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904
5921
 
5905
5922
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5906
5923
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5907
 
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
5924
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5908
5925
  $as_echo_n "(cached) " >&6
5909
5926
else
5910
5927
  gt_save_LIBS="$LIBS"
5938
5955
  fi
5939
5956
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5940
5957
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5941
 
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
5958
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5942
5959
  $as_echo_n "(cached) " >&6
5943
5960
else
5944
5961
  gt_save_LIBS="$LIBS"
6014
6031
 
6015
6032
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
6016
6033
$as_echo_n "checking for GNU gettext in libc... " >&6; }
6017
 
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
 
6034
if eval \${$gt_func_gnugettext_libc+:} false; then :
6018
6035
  $as_echo_n "(cached) " >&6
6019
6036
else
6020
6037
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6077
6094
 
6078
6095
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
6079
6096
$as_echo_n "checking for iconv... " >&6; }
6080
 
if test "${am_cv_func_iconv+set}" = set; then :
 
6097
if ${am_cv_func_iconv+:} false; then :
6081
6098
  $as_echo_n "(cached) " >&6
6082
6099
else
6083
6100
 
6134
6151
  if test "$am_cv_func_iconv" = yes; then
6135
6152
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
6136
6153
$as_echo_n "checking for working iconv... " >&6; }
6137
 
if test "${am_cv_func_iconv_works+set}" = set; then :
 
6154
if ${am_cv_func_iconv_works+:} false; then :
6138
6155
  $as_echo_n "(cached) " >&6
6139
6156
else
6140
6157
 
6730
6747
 
6731
6748
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6732
6749
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
6733
 
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
 
6750
if eval \${$gt_func_gnugettext_libintl+:} false; then :
6734
6751
  $as_echo_n "(cached) " >&6
6735
6752
else
6736
6753
  gt_save_CPPFLAGS="$CPPFLAGS"
6911
6928
# Checks sensors, required by psensor and psensor-server
6912
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_init in -lsensors" >&5
6913
6930
$as_echo_n "checking for sensors_init in -lsensors... " >&6; }
6914
 
if test "${ac_cv_lib_sensors_sensors_init+set}" = set; then :
 
6931
if ${ac_cv_lib_sensors_sensors_init+:} false; then :
6915
6932
  $as_echo_n "(cached) " >&6
6916
6933
else
6917
6934
  ac_check_lib_save_LIBS=$LIBS
6945
6962
fi
6946
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_init" >&5
6947
6964
$as_echo "$ac_cv_lib_sensors_sensors_init" >&6; }
6948
 
if test "x$ac_cv_lib_sensors_sensors_init" = x""yes; then :
 
6965
if test "x$ac_cv_lib_sensors_sensors_init" = xyes; then :
6949
6966
  cat >>confdefs.h <<_ACEOF
6950
6967
#define HAVE_LIBSENSORS 1
6951
6968
_ACEOF
6980
6997
 
6981
6998
 
6982
6999
 
 
7000
 
6983
7001
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6984
7002
        if test -n "$ac_tool_prefix"; then
6985
7003
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6986
7004
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6987
7005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988
7006
$as_echo_n "checking for $ac_word... " >&6; }
6989
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
7007
if ${ac_cv_path_PKG_CONFIG+:} false; then :
6990
7008
  $as_echo_n "(cached) " >&6
6991
7009
else
6992
7010
  case $PKG_CONFIG in
7029
7047
set dummy pkg-config; ac_word=$2
7030
7048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031
7049
$as_echo_n "checking for $ac_word... " >&6; }
7032
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
7050
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7033
7051
  $as_echo_n "(cached) " >&6
7034
7052
else
7035
7053
  case $ac_pt_PKG_CONFIG in
7108
7126
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7109
7127
  test $ac_status = 0; }; then
7110
7128
  pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
 
7129
                      test "x$?" != "x0" && pkg_failed=yes
7111
7130
else
7112
7131
  pkg_failed=yes
7113
7132
fi
7124
7143
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7125
7144
  test $ac_status = 0; }; then
7126
7145
  pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
 
7146
                      test "x$?" != "x0" && pkg_failed=yes
7127
7147
else
7128
7148
  pkg_failed=yes
7129
7149
fi
7143
7163
        _pkg_short_errors_supported=no
7144
7164
fi
7145
7165
        if test $_pkg_short_errors_supported = yes; then
7146
 
                X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
 
7166
                X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
7147
7167
        else
7148
 
                X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
 
7168
                X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
7149
7169
        fi
7150
7170
        # Put the nasty error message in config.log where it belongs
7151
7171
        echo "$X11_PKG_ERRORS" >&5
7174
7194
See the pkg-config man page for more details.
7175
7195
 
7176
7196
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7177
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7197
See \`config.log' for more details" "$LINENO" 5; }
7178
7198
else
7179
7199
        X11_CFLAGS=$pkg_cv_X11_CFLAGS
7180
7200
        X11_LIBS=$pkg_cv_X11_LIBS
7200
7220
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201
7221
  test $ac_status = 0; }; then
7202
7222
  pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
 
7223
                      test "x$?" != "x0" && pkg_failed=yes
7203
7224
else
7204
7225
  pkg_failed=yes
7205
7226
fi
7216
7237
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7217
7238
  test $ac_status = 0; }; then
7218
7239
  pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
 
7240
                      test "x$?" != "x0" && pkg_failed=yes
7219
7241
else
7220
7242
  pkg_failed=yes
7221
7243
fi
7235
7257
        _pkg_short_errors_supported=no
7236
7258
fi
7237
7259
        if test $_pkg_short_errors_supported = yes; then
7238
 
                XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xext" 2>&1`
 
7260
                XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1`
7239
7261
        else
7240
 
                XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xext" 2>&1`
 
7262
                XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1`
7241
7263
        fi
7242
7264
        # Put the nasty error message in config.log where it belongs
7243
7265
        echo "$XEXT_PKG_ERRORS" >&5
7266
7288
See the pkg-config man page for more details.
7267
7289
 
7268
7290
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7269
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7291
See \`config.log' for more details" "$LINENO" 5; }
7270
7292
else
7271
7293
        XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
7272
7294
        XEXT_LIBS=$pkg_cv_XEXT_LIBS
7278
7300
 
7279
7301
 
7280
7302
# Checks GTK
7281
 
 
7282
 
pkg_failed=no
7283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7284
 
$as_echo_n "checking for GTK... " >&6; }
7285
 
 
7286
 
if test -n "$GTK_CFLAGS"; then
7287
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7288
 
 elif test -n "$PKG_CONFIG"; then
7289
 
    if test -n "$PKG_CONFIG" && \
7290
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 \""; } >&5
7291
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 ") 2>&5
7292
 
  ac_status=$?
7293
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294
 
  test $ac_status = 0; }; then
7295
 
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 " 2>/dev/null`
7296
 
else
7297
 
  pkg_failed=yes
7298
 
fi
7299
 
 else
7300
 
    pkg_failed=untried
7301
 
fi
7302
 
if test -n "$GTK_LIBS"; then
7303
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
7304
 
 elif test -n "$PKG_CONFIG"; then
7305
 
    if test -n "$PKG_CONFIG" && \
7306
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 \""; } >&5
7307
 
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 ") 2>&5
7308
 
  ac_status=$?
7309
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7310
 
  test $ac_status = 0; }; then
7311
 
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 " 2>/dev/null`
7312
 
else
7313
 
  pkg_failed=yes
7314
 
fi
7315
 
 else
7316
 
    pkg_failed=untried
7317
 
fi
7318
 
 
7319
 
 
7320
 
 
7321
 
if test $pkg_failed = yes; then
7322
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323
 
$as_echo "no" >&6; }
7324
 
 
7325
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7326
 
        _pkg_short_errors_supported=yes
7327
 
else
7328
 
        _pkg_short_errors_supported=no
7329
 
fi
7330
 
        if test $_pkg_short_errors_supported = yes; then
7331
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 " 2>&1`
7332
 
        else
7333
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 " 2>&1`
7334
 
        fi
7335
 
        # Put the nasty error message in config.log where it belongs
7336
 
        echo "$GTK_PKG_ERRORS" >&5
7337
 
 
7338
 
        as_fn_error $? "Package requirements (gtk+-2.0 ) were not met:
 
7303
GTK_LIBS=
 
7304
 
 
7305
pkg_failed=no
 
7306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
7307
$as_echo_n "checking for GTK... " >&6; }
 
7308
 
 
7309
if test -n "$GTK_CFLAGS"; then
 
7310
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
7311
 elif test -n "$PKG_CONFIG"; then
 
7312
    if test -n "$PKG_CONFIG" && \
 
7313
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
 
7314
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
 
7315
  ac_status=$?
 
7316
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7317
  test $ac_status = 0; }; then
 
7318
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
 
7319
                      test "x$?" != "x0" && pkg_failed=yes
 
7320
else
 
7321
  pkg_failed=yes
 
7322
fi
 
7323
 else
 
7324
    pkg_failed=untried
 
7325
fi
 
7326
if test -n "$GTK_LIBS"; then
 
7327
    pkg_cv_GTK_LIBS="$GTK_LIBS"
 
7328
 elif test -n "$PKG_CONFIG"; then
 
7329
    if test -n "$PKG_CONFIG" && \
 
7330
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
 
7331
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
 
7332
  ac_status=$?
 
7333
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7334
  test $ac_status = 0; }; then
 
7335
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
 
7336
                      test "x$?" != "x0" && pkg_failed=yes
 
7337
else
 
7338
  pkg_failed=yes
 
7339
fi
 
7340
 else
 
7341
    pkg_failed=untried
 
7342
fi
 
7343
 
 
7344
 
 
7345
 
 
7346
if test $pkg_failed = yes; then
 
7347
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7348
$as_echo "no" >&6; }
 
7349
 
 
7350
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7351
        _pkg_short_errors_supported=yes
 
7352
else
 
7353
        _pkg_short_errors_supported=no
 
7354
fi
 
7355
        if test $_pkg_short_errors_supported = yes; then
 
7356
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
 
7357
        else
 
7358
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
 
7359
        fi
 
7360
        # Put the nasty error message in config.log where it belongs
 
7361
        echo "$GTK_PKG_ERRORS" >&5
 
7362
 
 
7363
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"GTK+ 3 not present\"" >&5
 
7364
$as_echo "$as_me: WARNING: \"GTK+ 3 not present\"" >&2;}
 
7365
elif test $pkg_failed = untried; then
 
7366
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7367
$as_echo "no" >&6; }
 
7368
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"GTK+ 3 not present\"" >&5
 
7369
$as_echo "$as_me: WARNING: \"GTK+ 3 not present\"" >&2;}
 
7370
else
 
7371
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
7372
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
7373
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7374
$as_echo "yes" >&6; }
 
7375
 
 
7376
$as_echo "#define HAVE_GTK3 1" >>confdefs.h
 
7377
 
 
7378
fi
 
7379
 if test -n "$GTK_LIBS"; then
 
7380
  GTK_TRUE=
 
7381
  GTK_FALSE='#'
 
7382
else
 
7383
  GTK_TRUE='#'
 
7384
  GTK_FALSE=
 
7385
fi
 
7386
 
 
7387
 
 
7388
 
 
7389
 
 
7390
if test "$GTK_LIBS" == ""; then
 
7391
 
 
7392
pkg_failed=no
 
7393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
7394
$as_echo_n "checking for GTK... " >&6; }
 
7395
 
 
7396
if test -n "$GTK_CFLAGS"; then
 
7397
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
7398
 elif test -n "$PKG_CONFIG"; then
 
7399
    if test -n "$PKG_CONFIG" && \
 
7400
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
 
7401
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
 
7402
  ac_status=$?
 
7403
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7404
  test $ac_status = 0; }; then
 
7405
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
 
7406
                      test "x$?" != "x0" && pkg_failed=yes
 
7407
else
 
7408
  pkg_failed=yes
 
7409
fi
 
7410
 else
 
7411
    pkg_failed=untried
 
7412
fi
 
7413
if test -n "$GTK_LIBS"; then
 
7414
    pkg_cv_GTK_LIBS="$GTK_LIBS"
 
7415
 elif test -n "$PKG_CONFIG"; then
 
7416
    if test -n "$PKG_CONFIG" && \
 
7417
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
 
7418
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
 
7419
  ac_status=$?
 
7420
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7421
  test $ac_status = 0; }; then
 
7422
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
 
7423
                      test "x$?" != "x0" && pkg_failed=yes
 
7424
else
 
7425
  pkg_failed=yes
 
7426
fi
 
7427
 else
 
7428
    pkg_failed=untried
 
7429
fi
 
7430
 
 
7431
 
 
7432
 
 
7433
if test $pkg_failed = yes; then
 
7434
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7435
$as_echo "no" >&6; }
 
7436
 
 
7437
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7438
        _pkg_short_errors_supported=yes
 
7439
else
 
7440
        _pkg_short_errors_supported=no
 
7441
fi
 
7442
        if test $_pkg_short_errors_supported = yes; then
 
7443
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
 
7444
        else
 
7445
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
 
7446
        fi
 
7447
        # Put the nasty error message in config.log where it belongs
 
7448
        echo "$GTK_PKG_ERRORS" >&5
 
7449
 
 
7450
        as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
7339
7451
 
7340
7452
$GTK_PKG_ERRORS
7341
7453
 
7359
7471
See the pkg-config man page for more details.
7360
7472
 
7361
7473
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7362
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7474
See \`config.log' for more details" "$LINENO" 5; }
7363
7475
else
7364
7476
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7365
7477
        GTK_LIBS=$pkg_cv_GTK_LIBS
7367
7479
$as_echo "yes" >&6; }
7368
7480
 
7369
7481
fi
7370
 
 
7371
 
 
 
7482
    if test -n "$GTK_LIBS"; then
 
7483
  GTK_TRUE=
 
7484
  GTK_FALSE='#'
 
7485
else
 
7486
  GTK_TRUE='#'
 
7487
  GTK_FALSE=
 
7488
fi
 
7489
 
 
7490
 
 
7491
 
 
7492
fi
7372
7493
 
7373
7494
# Check GCONF
7374
7495
 
7386
7507
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7387
7508
  test $ac_status = 0; }; then
7388
7509
  pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
 
7510
                      test "x$?" != "x0" && pkg_failed=yes
7389
7511
else
7390
7512
  pkg_failed=yes
7391
7513
fi
7402
7524
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7403
7525
  test $ac_status = 0; }; then
7404
7526
  pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
 
7527
                      test "x$?" != "x0" && pkg_failed=yes
7405
7528
else
7406
7529
  pkg_failed=yes
7407
7530
fi
7421
7544
        _pkg_short_errors_supported=no
7422
7545
fi
7423
7546
        if test $_pkg_short_errors_supported = yes; then
7424
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0" 2>&1`
 
7547
                GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
7425
7548
        else
7426
 
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0" 2>&1`
 
7549
                GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
7427
7550
        fi
7428
7551
        # Put the nasty error message in config.log where it belongs
7429
7552
        echo "$GCONF_PKG_ERRORS" >&5
7452
7575
See the pkg-config man page for more details.
7453
7576
 
7454
7577
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
7455
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
7578
See \`config.log' for more details" "$LINENO" 5; }
7456
7579
else
7457
7580
        GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
7458
7581
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
7482
7605
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7483
7606
  test $ac_status = 0; }; then
7484
7607
  pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
 
7608
                      test "x$?" != "x0" && pkg_failed=yes
7485
7609
else
7486
7610
  pkg_failed=yes
7487
7611
fi
7498
7622
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7499
7623
  test $ac_status = 0; }; then
7500
7624
  pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
 
7625
                      test "x$?" != "x0" && pkg_failed=yes
7501
7626
else
7502
7627
  pkg_failed=yes
7503
7628
fi
7517
7642
        _pkg_short_errors_supported=no
7518
7643
fi
7519
7644
        if test $_pkg_short_errors_supported = yes; then
7520
 
                LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify" 2>&1`
 
7645
                LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
7521
7646
        else
7522
 
                LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify" 2>&1`
 
7647
                LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
7523
7648
        fi
7524
7649
        # Put the nasty error message in config.log where it belongs
7525
7650
        echo "$LIBNOTIFY_PKG_ERRORS" >&5
7551
7676
 
7552
7677
 
7553
7678
 
7554
 
 
7555
7679
# Checks AppIndicator
7556
 
 APPINDICATOR_LIBS=
7557
 
 
7558
 
pkg_failed=no
7559
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7560
 
$as_echo_n "checking for APPINDICATOR... " >&6; }
7561
 
 
7562
 
if test -n "$APPINDICATOR_CFLAGS"; then
7563
 
    pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7564
 
 elif test -n "$PKG_CONFIG"; then
7565
 
    if test -n "$PKG_CONFIG" && \
7566
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 = 0.2.9 \""; } >&5
7567
 
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 = 0.2.9 ") 2>&5
7568
 
  ac_status=$?
7569
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7570
 
  test $ac_status = 0; }; then
7571
 
  pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 = 0.2.9 " 2>/dev/null`
7572
 
else
7573
 
  pkg_failed=yes
7574
 
fi
7575
 
 else
7576
 
    pkg_failed=untried
7577
 
fi
7578
 
if test -n "$APPINDICATOR_LIBS"; then
7579
 
    pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7580
 
 elif test -n "$PKG_CONFIG"; then
7581
 
    if test -n "$PKG_CONFIG" && \
7582
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 = 0.2.9 \""; } >&5
7583
 
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 = 0.2.9 ") 2>&5
7584
 
  ac_status=$?
7585
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7586
 
  test $ac_status = 0; }; then
7587
 
  pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 = 0.2.9 " 2>/dev/null`
7588
 
else
7589
 
  pkg_failed=yes
7590
 
fi
7591
 
 else
7592
 
    pkg_failed=untried
7593
 
fi
7594
 
 
7595
 
 
7596
 
 
7597
 
if test $pkg_failed = yes; then
7598
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599
 
$as_echo "no" >&6; }
7600
 
 
7601
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7602
 
        _pkg_short_errors_supported=yes
7603
 
else
7604
 
        _pkg_short_errors_supported=no
7605
 
fi
7606
 
        if test $_pkg_short_errors_supported = yes; then
7607
 
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "appindicator-0.1 = 0.2.9 " 2>&1`
7608
 
        else
7609
 
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "appindicator-0.1 = 0.2.9 " 2>&1`
 
7680
APPINDICATOR_LIBS=
 
7681
 
 
7682
 
 
7683
pkg_failed=no
 
7684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
 
7685
$as_echo_n "checking for APPINDICATOR... " >&6; }
 
7686
 
 
7687
if test -n "$APPINDICATOR_CFLAGS"; then
 
7688
    pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
 
7689
 elif test -n "$PKG_CONFIG"; then
 
7690
    if test -n "$PKG_CONFIG" && \
 
7691
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
 
7692
  ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
 
7693
  ac_status=$?
 
7694
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7695
  test $ac_status = 0; }; then
 
7696
  pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
 
7697
                      test "x$?" != "x0" && pkg_failed=yes
 
7698
else
 
7699
  pkg_failed=yes
 
7700
fi
 
7701
 else
 
7702
    pkg_failed=untried
 
7703
fi
 
7704
if test -n "$APPINDICATOR_LIBS"; then
 
7705
    pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
 
7706
 elif test -n "$PKG_CONFIG"; then
 
7707
    if test -n "$PKG_CONFIG" && \
 
7708
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
 
7709
  ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
 
7710
  ac_status=$?
 
7711
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7712
  test $ac_status = 0; }; then
 
7713
  pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
 
7714
                      test "x$?" != "x0" && pkg_failed=yes
 
7715
else
 
7716
  pkg_failed=yes
 
7717
fi
 
7718
 else
 
7719
    pkg_failed=untried
 
7720
fi
 
7721
 
 
7722
 
 
7723
 
 
7724
if test $pkg_failed = yes; then
 
7725
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7726
$as_echo "no" >&6; }
 
7727
 
 
7728
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7729
        _pkg_short_errors_supported=yes
 
7730
else
 
7731
        _pkg_short_errors_supported=no
 
7732
fi
 
7733
        if test $_pkg_short_errors_supported = yes; then
 
7734
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
 
7735
        else
 
7736
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
 
7737
        fi
 
7738
        # Put the nasty error message in config.log where it belongs
 
7739
        echo "$APPINDICATOR_PKG_ERRORS" >&5
 
7740
 
 
7741
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
 
7742
$as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
 
7743
elif test $pkg_failed = untried; then
 
7744
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7745
$as_echo "no" >&6; }
 
7746
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
 
7747
$as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
 
7748
else
 
7749
        APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
 
7750
        APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
 
7751
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7752
$as_echo "yes" >&6; }
 
7753
 
 
7754
$as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
 
7755
 
 
7756
fi
 
7757
 
 
7758
if test "$APPINDICATOR_LIBS" == ""; then
 
7759
 
 
7760
pkg_failed=no
 
7761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
 
7762
$as_echo_n "checking for APPINDICATOR... " >&6; }
 
7763
 
 
7764
if test -n "$APPINDICATOR_CFLAGS"; then
 
7765
    pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
 
7766
 elif test -n "$PKG_CONFIG"; then
 
7767
    if test -n "$PKG_CONFIG" && \
 
7768
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
 
7769
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
 
7770
  ac_status=$?
 
7771
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7772
  test $ac_status = 0; }; then
 
7773
  pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
 
7774
                      test "x$?" != "x0" && pkg_failed=yes
 
7775
else
 
7776
  pkg_failed=yes
 
7777
fi
 
7778
 else
 
7779
    pkg_failed=untried
 
7780
fi
 
7781
if test -n "$APPINDICATOR_LIBS"; then
 
7782
    pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
 
7783
 elif test -n "$PKG_CONFIG"; then
 
7784
    if test -n "$PKG_CONFIG" && \
 
7785
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
 
7786
  ($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
 
7787
  ac_status=$?
 
7788
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7789
  test $ac_status = 0; }; then
 
7790
  pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
 
7791
                      test "x$?" != "x0" && pkg_failed=yes
 
7792
else
 
7793
  pkg_failed=yes
 
7794
fi
 
7795
 else
 
7796
    pkg_failed=untried
 
7797
fi
 
7798
 
 
7799
 
 
7800
 
 
7801
if test $pkg_failed = yes; then
 
7802
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7803
$as_echo "no" >&6; }
 
7804
 
 
7805
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
7806
        _pkg_short_errors_supported=yes
 
7807
else
 
7808
        _pkg_short_errors_supported=no
 
7809
fi
 
7810
        if test $_pkg_short_errors_supported = yes; then
 
7811
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
 
7812
        else
 
7813
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7610
7814
        fi
7611
7815
        # Put the nasty error message in config.log where it belongs
7612
7816
        echo "$APPINDICATOR_PKG_ERRORS" >&5
7631
7835
 
7632
7836
 
7633
7837
fi
 
7838
fi
7634
7839
 
7635
7840
if test "$APPINDICATOR_LIBS" == ""; then
7636
7841
 
7648
7853
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7649
7854
  test $ac_status = 0; }; then
7650
7855
  pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 > 0.2.9" 2>/dev/null`
 
7856
                      test "x$?" != "x0" && pkg_failed=yes
7651
7857
else
7652
7858
  pkg_failed=yes
7653
7859
fi
7664
7870
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7665
7871
  test $ac_status = 0; }; then
7666
7872
  pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 > 0.2.9" 2>/dev/null`
 
7873
                      test "x$?" != "x0" && pkg_failed=yes
7667
7874
else
7668
7875
  pkg_failed=yes
7669
7876
fi
7683
7890
        _pkg_short_errors_supported=no
7684
7891
fi
7685
7892
        if test $_pkg_short_errors_supported = yes; then
7686
 
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "appindicator-0.1 > 0.2.9" 2>&1`
 
7893
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7687
7894
        else
7688
 
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "appindicator-0.1 > 0.2.9" 2>&1`
 
7895
                APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 > 0.2.9" 2>&1`
7689
7896
        fi
7690
7897
        # Put the nasty error message in config.log where it belongs
7691
7898
        echo "$APPINDICATOR_PKG_ERRORS" >&5
7735
7942
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7736
7943
  test $ac_status = 0; }; then
7737
7944
  pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
 
7945
                      test "x$?" != "x0" && pkg_failed=yes
7738
7946
else
7739
7947
  pkg_failed=yes
7740
7948
fi
7751
7959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7752
7960
  test $ac_status = 0; }; then
7753
7961
  pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
 
7962
                      test "x$?" != "x0" && pkg_failed=yes
7754
7963
else
7755
7964
  pkg_failed=yes
7756
7965
fi
7770
7979
        _pkg_short_errors_supported=no
7771
7980
fi
7772
7981
        if test $_pkg_short_errors_supported = yes; then
7773
 
                CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
 
7982
                CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
7774
7983
        else
7775
 
                CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
 
7984
                CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
7776
7985
        fi
7777
7986
        # Put the nasty error message in config.log where it belongs
7778
7987
        echo "$CURL_PKG_ERRORS" >&5
7821
8030
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7822
8031
  test $ac_status = 0; }; then
7823
8032
  pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
 
8033
                      test "x$?" != "x0" && pkg_failed=yes
7824
8034
else
7825
8035
  pkg_failed=yes
7826
8036
fi
7837
8047
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7838
8048
  test $ac_status = 0; }; then
7839
8049
  pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
 
8050
                      test "x$?" != "x0" && pkg_failed=yes
7840
8051
else
7841
8052
  pkg_failed=yes
7842
8053
fi
7856
8067
        _pkg_short_errors_supported=no
7857
8068
fi
7858
8069
        if test $_pkg_short_errors_supported = yes; then
7859
 
                JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "json" 2>&1`
 
8070
                JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
7860
8071
        else
7861
 
                JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors "json" 2>&1`
 
8072
                JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
7862
8073
        fi
7863
8074
        # Put the nasty error message in config.log where it belongs
7864
8075
        echo "$JSON_PKG_ERRORS" >&5
7924
8135
if test "${HAVE_NVIDIA}" = "true"; then
7925
8136
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNVCTRLQueryExtension in -lXNVCtrl" >&5
7926
8137
$as_echo_n "checking for XNVCTRLQueryExtension in -lXNVCtrl... " >&6; }
7927
 
if test "${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+set}" = set; then :
 
8138
if ${ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension+:} false; then :
7928
8139
  $as_echo_n "(cached) " >&6
7929
8140
else
7930
8141
  ac_check_lib_save_LIBS=$LIBS
7958
8169
fi
7959
8170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&5
7960
8171
$as_echo "$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" >&6; }
7961
 
if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = x""yes; then :
 
8172
if test "x$ac_cv_lib_XNVCtrl_XNVCTRLQueryExtension" = xyes; then :
7962
8173
  NVIDIA_LIBS="-lXNVCtrl -lX11 -lXext"
7963
8174
 
7964
8175
$as_echo "#define HAVE_NVIDIA 1" >>confdefs.h
7979
8190
 
7980
8191
 
7981
8192
 
 
8193
# Checks Unity
 
8194
 
 
8195
pkg_failed=no
 
8196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
 
8197
$as_echo_n "checking for UNITY... " >&6; }
 
8198
 
 
8199
if test -n "$UNITY_CFLAGS"; then
 
8200
    pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
 
8201
 elif test -n "$PKG_CONFIG"; then
 
8202
    if test -n "$PKG_CONFIG" && \
 
8203
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
 
8204
  ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
 
8205
  ac_status=$?
 
8206
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8207
  test $ac_status = 0; }; then
 
8208
  pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
 
8209
                      test "x$?" != "x0" && pkg_failed=yes
 
8210
else
 
8211
  pkg_failed=yes
 
8212
fi
 
8213
 else
 
8214
    pkg_failed=untried
 
8215
fi
 
8216
if test -n "$UNITY_LIBS"; then
 
8217
    pkg_cv_UNITY_LIBS="$UNITY_LIBS"
 
8218
 elif test -n "$PKG_CONFIG"; then
 
8219
    if test -n "$PKG_CONFIG" && \
 
8220
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
 
8221
  ($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
 
8222
  ac_status=$?
 
8223
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8224
  test $ac_status = 0; }; then
 
8225
  pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
 
8226
                      test "x$?" != "x0" && pkg_failed=yes
 
8227
else
 
8228
  pkg_failed=yes
 
8229
fi
 
8230
 else
 
8231
    pkg_failed=untried
 
8232
fi
 
8233
 
 
8234
 
 
8235
 
 
8236
if test $pkg_failed = yes; then
 
8237
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8238
$as_echo "no" >&6; }
 
8239
 
 
8240
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
8241
        _pkg_short_errors_supported=yes
 
8242
else
 
8243
        _pkg_short_errors_supported=no
 
8244
fi
 
8245
        if test $_pkg_short_errors_supported = yes; then
 
8246
                UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
 
8247
        else
 
8248
                UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
 
8249
        fi
 
8250
        # Put the nasty error message in config.log where it belongs
 
8251
        echo "$UNITY_PKG_ERRORS" >&5
 
8252
 
 
8253
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
 
8254
$as_echo "$as_me: WARNING: Unity not present" >&2;}
 
8255
elif test $pkg_failed = untried; then
 
8256
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8257
$as_echo "no" >&6; }
 
8258
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
 
8259
$as_echo "$as_me: WARNING: Unity not present" >&2;}
 
8260
else
 
8261
        UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
 
8262
        UNITY_LIBS=$pkg_cv_UNITY_LIBS
 
8263
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
8264
$as_echo "yes" >&6; }
 
8265
 
 
8266
$as_echo "#define HAVE_UNITY 1" >>confdefs.h
 
8267
 
 
8268
fi
 
8269
 
 
8270
 
 
8271
 if test -n "$UNITY_LIBS"; then
 
8272
  UNITY_TRUE=
 
8273
  UNITY_FALSE='#'
 
8274
else
 
8275
  UNITY_TRUE='#'
 
8276
  UNITY_FALSE=
 
8277
fi
 
8278
 
 
8279
 
 
8280
# libatiadl
 
8281
 
 
8282
# Check whether --with-libatiadl was given.
 
8283
if test "${with_libatiadl+set}" = set; then :
 
8284
  withval=$with_libatiadl;
 
8285
                   ATIADL_DIR=${withval}
 
8286
                   CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
 
8287
                   LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
 
8288
 
 
8289
 
 
8290
fi
 
8291
 
 
8292
 
 
8293
for ac_header in adl_defines.h
 
8294
do :
 
8295
  ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
 
8296
if test "x$ac_cv_header_adl_defines_h" = xyes; then :
 
8297
  cat >>confdefs.h <<_ACEOF
 
8298
#define HAVE_ADL_DEFINES_H 1
 
8299
_ACEOF
 
8300
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
 
8301
$as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
 
8302
if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
 
8303
  $as_echo_n "(cached) " >&6
 
8304
else
 
8305
  ac_check_lib_save_LIBS=$LIBS
 
8306
LIBS="-latiadlxx  $LIBS"
 
8307
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8308
/* end confdefs.h.  */
 
8309
 
 
8310
/* Override any GCC internal prototype to avoid an error.
 
8311
   Use char because int might match the return type of a GCC
 
8312
   builtin and then its argument prototype would still apply.  */
 
8313
#ifdef __cplusplus
 
8314
extern "C"
 
8315
#endif
 
8316
char ADL_Main_Control_Refresh ();
 
8317
int
 
8318
main ()
 
8319
{
 
8320
return ADL_Main_Control_Refresh ();
 
8321
  ;
 
8322
  return 0;
 
8323
}
 
8324
_ACEOF
 
8325
if ac_fn_c_try_link "$LINENO"; then :
 
8326
  ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
 
8327
else
 
8328
  ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
 
8329
fi
 
8330
rm -f core conftest.err conftest.$ac_objext \
 
8331
    conftest$ac_exeext conftest.$ac_ext
 
8332
LIBS=$ac_check_lib_save_LIBS
 
8333
fi
 
8334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
 
8335
$as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
 
8336
if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
 
8337
 
 
8338
 
 
8339
$as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
 
8340
 
 
8341
                        LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
 
8342
                        LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
 
8343
 
 
8344
fi
 
8345
 
 
8346
fi
 
8347
 
 
8348
done
 
8349
 
 
8350
 
 
8351
 if test -n "$LIBATIADL_LIBS"; then
 
8352
  LIBATIADL_TRUE=
 
8353
  LIBATIADL_FALSE='#'
 
8354
else
 
8355
  LIBATIADL_TRUE='#'
 
8356
  LIBATIADL_FALSE=
 
8357
fi
 
8358
 
 
8359
 
 
8360
 
 
8361
 
7982
8362
############### psensor-server
7983
8363
 
7984
 
# Checks Lua 5.1 (required)
7985
 
LUA_LIBS=
7986
 
 
7987
 
pkg_failed=no
7988
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
7989
 
$as_echo_n "checking for LUA... " >&6; }
7990
 
 
7991
 
if test -n "$LUA_CFLAGS"; then
7992
 
    pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
7993
 
 elif test -n "$PKG_CONFIG"; then
7994
 
    if test -n "$PKG_CONFIG" && \
7995
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua\""; } >&5
7996
 
  ($PKG_CONFIG --exists --print-errors "lua") 2>&5
7997
 
  ac_status=$?
7998
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7999
 
  test $ac_status = 0; }; then
8000
 
  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua" 2>/dev/null`
8001
 
else
8002
 
  pkg_failed=yes
8003
 
fi
8004
 
 else
8005
 
    pkg_failed=untried
8006
 
fi
8007
 
if test -n "$LUA_LIBS"; then
8008
 
    pkg_cv_LUA_LIBS="$LUA_LIBS"
8009
 
 elif test -n "$PKG_CONFIG"; then
8010
 
    if test -n "$PKG_CONFIG" && \
8011
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua\""; } >&5
8012
 
  ($PKG_CONFIG --exists --print-errors "lua") 2>&5
8013
 
  ac_status=$?
8014
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8015
 
  test $ac_status = 0; }; then
8016
 
  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua" 2>/dev/null`
8017
 
else
8018
 
  pkg_failed=yes
8019
 
fi
8020
 
 else
8021
 
    pkg_failed=untried
8022
 
fi
8023
 
 
8024
 
 
8025
 
 
8026
 
if test $pkg_failed = yes; then
8027
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028
 
$as_echo "no" >&6; }
8029
 
 
8030
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8031
 
        _pkg_short_errors_supported=yes
8032
 
else
8033
 
        _pkg_short_errors_supported=no
8034
 
fi
8035
 
        if test $_pkg_short_errors_supported = yes; then
8036
 
                LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua" 2>&1`
8037
 
        else
8038
 
                LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua" 2>&1`
8039
 
        fi
8040
 
        # Put the nasty error message in config.log where it belongs
8041
 
        echo "$LUA_PKG_ERRORS" >&5
8042
 
 
8043
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua not present" >&5
8044
 
$as_echo "$as_me: WARNING: Lua not present" >&2;}
8045
 
elif test $pkg_failed = untried; then
8046
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047
 
$as_echo "no" >&6; }
8048
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua not present" >&5
8049
 
$as_echo "$as_me: WARNING: Lua not present" >&2;}
8050
 
else
8051
 
        LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
8052
 
        LUA_LIBS=$pkg_cv_LUA_LIBS
8053
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8054
 
$as_echo "yes" >&6; }
8055
 
 
8056
 
$as_echo "#define HAVE_LUA 1" >>confdefs.h
8057
 
 
8058
 
fi
8059
 
 
8060
 
# Ubuntu pkg module is lua5.1 not lua
8061
 
if test "$LUA_LIBS" == ""; then
8062
 
 
8063
 
pkg_failed=no
8064
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
8065
 
$as_echo_n "checking for LUA... " >&6; }
8066
 
 
8067
 
if test -n "$LUA_CFLAGS"; then
8068
 
    pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
8069
 
 elif test -n "$PKG_CONFIG"; then
8070
 
    if test -n "$PKG_CONFIG" && \
8071
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5
8072
 
  ($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5
8073
 
  ac_status=$?
8074
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8075
 
  test $ac_status = 0; }; then
8076
 
  pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1" 2>/dev/null`
8077
 
else
8078
 
  pkg_failed=yes
8079
 
fi
8080
 
 else
8081
 
    pkg_failed=untried
8082
 
fi
8083
 
if test -n "$LUA_LIBS"; then
8084
 
    pkg_cv_LUA_LIBS="$LUA_LIBS"
8085
 
 elif test -n "$PKG_CONFIG"; then
8086
 
    if test -n "$PKG_CONFIG" && \
8087
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5
8088
 
  ($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5
8089
 
  ac_status=$?
8090
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8091
 
  test $ac_status = 0; }; then
8092
 
  pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1" 2>/dev/null`
8093
 
else
8094
 
  pkg_failed=yes
8095
 
fi
8096
 
 else
8097
 
    pkg_failed=untried
8098
 
fi
8099
 
 
8100
 
 
8101
 
 
8102
 
if test $pkg_failed = yes; then
8103
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104
 
$as_echo "no" >&6; }
8105
 
 
8106
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8107
 
        _pkg_short_errors_supported=yes
8108
 
else
8109
 
        _pkg_short_errors_supported=no
8110
 
fi
8111
 
        if test $_pkg_short_errors_supported = yes; then
8112
 
                LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1" 2>&1`
8113
 
        else
8114
 
                LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1" 2>&1`
8115
 
        fi
8116
 
        # Put the nasty error message in config.log where it belongs
8117
 
        echo "$LUA_PKG_ERRORS" >&5
8118
 
 
8119
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua5.1 not present" >&5
8120
 
$as_echo "$as_me: WARNING: Lua5.1 not present" >&2;}
8121
 
elif test $pkg_failed = untried; then
8122
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123
 
$as_echo "no" >&6; }
8124
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua5.1 not present" >&5
8125
 
$as_echo "$as_me: WARNING: Lua5.1 not present" >&2;}
8126
 
else
8127
 
        LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
8128
 
        LUA_LIBS=$pkg_cv_LUA_LIBS
8129
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8130
 
$as_echo "yes" >&6; }
8131
 
 
8132
 
$as_echo "#define HAVE_LUA 1" >>confdefs.h
8133
 
 
8134
 
fi
8135
 
fi
8136
 
 if test -n "$LUA_LIBS"; then
8137
 
  LUA_TRUE=
8138
 
  LUA_FALSE='#'
8139
 
else
8140
 
  LUA_TRUE='#'
8141
 
  LUA_FALSE=
8142
 
fi
8143
 
 
8144
 
 
8145
 
 
8146
 
 
8147
8364
# libmicrohttpd, mandatory for psensor-server
8148
8365
LIBMICROHTTPD_LIBS=
8149
8366
 
8161
8378
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8162
8379
  test $ac_status = 0; }; then
8163
8380
  pkg_cv_LIBMICROHTTPD_CFLAGS=`$PKG_CONFIG --cflags "libmicrohttpd" 2>/dev/null`
 
8381
                      test "x$?" != "x0" && pkg_failed=yes
8164
8382
else
8165
8383
  pkg_failed=yes
8166
8384
fi
8177
8395
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8178
8396
  test $ac_status = 0; }; then
8179
8397
  pkg_cv_LIBMICROHTTPD_LIBS=`$PKG_CONFIG --libs "libmicrohttpd" 2>/dev/null`
 
8398
                      test "x$?" != "x0" && pkg_failed=yes
8180
8399
else
8181
8400
  pkg_failed=yes
8182
8401
fi
8196
8415
        _pkg_short_errors_supported=no
8197
8416
fi
8198
8417
        if test $_pkg_short_errors_supported = yes; then
8199
 
                LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libmicrohttpd" 2>&1`
 
8418
                LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8200
8419
        else
8201
 
                LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors "libmicrohttpd" 2>&1`
 
8420
                LIBMICROHTTPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmicrohttpd" 2>&1`
8202
8421
        fi
8203
8422
        # Put the nasty error message in config.log where it belongs
8204
8423
        echo "$LIBMICROHTTPD_PKG_ERRORS" >&5
8261
8480
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8262
8481
  test $ac_status = 0; }; then
8263
8482
  pkg_cv_GTOP_CFLAGS=`$PKG_CONFIG --cflags "libgtop-2.0" 2>/dev/null`
 
8483
                      test "x$?" != "x0" && pkg_failed=yes
8264
8484
else
8265
8485
  pkg_failed=yes
8266
8486
fi
8277
8497
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8278
8498
  test $ac_status = 0; }; then
8279
8499
  pkg_cv_GTOP_LIBS=`$PKG_CONFIG --libs "libgtop-2.0" 2>/dev/null`
 
8500
                      test "x$?" != "x0" && pkg_failed=yes
8280
8501
else
8281
8502
  pkg_failed=yes
8282
8503
fi
8296
8517
        _pkg_short_errors_supported=no
8297
8518
fi
8298
8519
        if test $_pkg_short_errors_supported = yes; then
8299
 
                GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libgtop-2.0" 2>&1`
 
8520
                GTOP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8300
8521
        else
8301
 
                GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libgtop-2.0" 2>&1`
 
8522
                GTOP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgtop-2.0" 2>&1`
8302
8523
        fi
8303
8524
        # Put the nasty error message in config.log where it belongs
8304
8525
        echo "$GTOP_PKG_ERRORS" >&5
8331
8552
 
8332
8553
 
8333
8554
 
8334
 
ac_config_files="$ac_config_files Makefile src/Makefile src/plib/Makefile src/lib/Makefile src/libpsensor_json/Makefile src/server/Makefile pixmaps/scalable/Makefile pixmaps/48x48/Makefile www/Makefile po/Makefile.in tests/Makefile"
 
8555
ac_config_files="$ac_config_files Makefile src/Makefile src/glade/Makefile src/lib/Makefile src/server/Makefile icons/hicolor/scalable/Makefile icons/hicolor/14x14/Makefile icons/hicolor/16x16/Makefile icons/hicolor/22x22/Makefile icons/hicolor/24x24/Makefile icons/hicolor/32x32/Makefile icons/hicolor/48x48/Makefile icons/hicolor/64x64/Makefile icons/ubuntu-mono-dark/status/22/Makefile icons/ubuntu-mono-light/status/22/Makefile icons/ubuntu-mono-dark/apps/22/Makefile www/Makefile po/Makefile.in tests/Makefile"
8335
8556
 
8336
8557
 
8337
8558
for ac_prog in help2man
8340
8561
set dummy $ac_prog; ac_word=$2
8341
8562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342
8563
$as_echo_n "checking for $ac_word... " >&6; }
8343
 
if test "${ac_cv_prog_HELP2MAN+set}" = set; then :
 
8564
if ${ac_cv_prog_HELP2MAN+:} false; then :
8344
8565
  $as_echo_n "(cached) " >&6
8345
8566
else
8346
8567
  if test -n "$HELP2MAN"; then
8441
8662
     :end' >>confcache
8442
8663
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8443
8664
  if test -w "$cache_file"; then
8444
 
    test "x$cache_file" != "x/dev/null" &&
 
8665
    if test "x$cache_file" != "x/dev/null"; then
8445
8666
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8446
8667
$as_echo "$as_me: updating cache $cache_file" >&6;}
8447
 
    cat confcache >$cache_file
 
8668
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
8669
        cat confcache >"$cache_file"
 
8670
      else
 
8671
        case $cache_file in #(
 
8672
        */* | ?:*)
 
8673
          mv -f confcache "$cache_file"$$ &&
 
8674
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
8675
        *)
 
8676
          mv -f confcache "$cache_file" ;;
 
8677
        esac
 
8678
      fi
 
8679
    fi
8448
8680
  else
8449
8681
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8450
8682
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8491
8723
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8492
8724
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8493
8725
fi
 
8726
if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
 
8727
  as_fn_error $? "conditional \"GTK\" was never defined.
 
8728
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8729
fi
 
8730
if test -z "${GTK_TRUE}" && test -z "${GTK_FALSE}"; then
 
8731
  as_fn_error $? "conditional \"GTK\" was never defined.
 
8732
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8733
fi
8494
8734
if test -z "${LIBNOTIFY_TRUE}" && test -z "${LIBNOTIFY_FALSE}"; then
8495
8735
  as_fn_error $? "conditional \"LIBNOTIFY\" was never defined.
8496
8736
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8511
8751
  as_fn_error $? "conditional \"NVIDIA\" was never defined.
8512
8752
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8513
8753
fi
8514
 
if test -z "${LUA_TRUE}" && test -z "${LUA_FALSE}"; then
8515
 
  as_fn_error $? "conditional \"LUA\" was never defined.
 
8754
if test -z "${UNITY_TRUE}" && test -z "${UNITY_FALSE}"; then
 
8755
  as_fn_error $? "conditional \"UNITY\" was never defined.
 
8756
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
8757
fi
 
8758
if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
 
8759
  as_fn_error $? "conditional \"LIBATIADL\" was never defined.
8516
8760
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8517
8761
fi
8518
8762
if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
8524
8768
Usually this means the macro was only invoked conditionally." "$LINENO" 5
8525
8769
fi
8526
8770
 
8527
 
: ${CONFIG_STATUS=./config.status}
 
8771
: "${CONFIG_STATUS=./config.status}"
8528
8772
ac_write_fail=0
8529
8773
ac_clean_files_save=$ac_clean_files
8530
8774
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8625
8869
IFS=" ""        $as_nl"
8626
8870
 
8627
8871
# Find who we are.  Look in the path if we contain no directory separator.
 
8872
as_myself=
8628
8873
case $0 in #((
8629
8874
  *[\\/]* ) as_myself=$0 ;;
8630
8875
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8931
9176
# report actual input values of CONFIG_FILES etc. instead of their
8932
9177
# values after options handling.
8933
9178
ac_log="
8934
 
This file was extended by psensor $as_me 0.6.1.9, which was
8935
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
9179
This file was extended by psensor $as_me 0.6.2.16, which was
 
9180
generated by GNU Autoconf 2.68.  Invocation command line was
8936
9181
 
8937
9182
  CONFIG_FILES    = $CONFIG_FILES
8938
9183
  CONFIG_HEADERS  = $CONFIG_HEADERS
8991
9236
Configuration commands:
8992
9237
$config_commands
8993
9238
 
8994
 
Report bugs to <wpitchoune@gmail.com>.
 
9239
Report bugs to <jeanfi@gmail.com>.
8995
9240
psensor home page: <http://wpitchoune.net/psensor>."
8996
9241
 
8997
9242
_ACEOF
8998
9243
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8999
9244
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9000
9245
ac_cs_version="\\
9001
 
psensor config.status 0.6.1.9
9002
 
configured by $0, generated by GNU Autoconf 2.67,
 
9246
psensor config.status 0.6.2.16
 
9247
configured by $0, generated by GNU Autoconf 2.68,
9003
9248
  with options \\"\$ac_cs_config\\"
9004
9249
 
9005
9250
Copyright (C) 2010 Free Software Foundation, Inc.
9139
9384
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9140
9385
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9141
9386
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9142
 
    "src/plib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plib/Makefile" ;;
 
9387
    "src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9143
9388
    "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9144
 
    "src/libpsensor_json/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpsensor_json/Makefile" ;;
9145
9389
    "src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9146
 
    "pixmaps/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/scalable/Makefile" ;;
9147
 
    "pixmaps/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/48x48/Makefile" ;;
 
9390
    "icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
 
9391
    "icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
 
9392
    "icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
 
9393
    "icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
 
9394
    "icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
 
9395
    "icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
 
9396
    "icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
 
9397
    "icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
 
9398
    "icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
 
9399
    "icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
 
9400
    "icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9148
9401
    "www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9149
9402
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9150
9403
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9151
9404
 
9152
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
9405
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9153
9406
  esac
9154
9407
done
9155
9408
 
9172
9425
# after its creation but before its name has been assigned to `$tmp'.
9173
9426
$debug ||
9174
9427
{
9175
 
  tmp=
 
9428
  tmp= ac_tmp=
9176
9429
  trap 'exit_status=$?
9177
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
9430
  : "${ac_tmp:=$tmp}"
 
9431
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9178
9432
' 0
9179
9433
  trap 'as_fn_exit 1' 1 2 13 15
9180
9434
}
9182
9436
 
9183
9437
{
9184
9438
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9185
 
  test -n "$tmp" && test -d "$tmp"
 
9439
  test -d "$tmp"
9186
9440
}  ||
9187
9441
{
9188
9442
  tmp=./conf$$-$RANDOM
9189
9443
  (umask 077 && mkdir "$tmp")
9190
9444
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
9445
ac_tmp=$tmp
9191
9446
 
9192
9447
# Set up the scripts for CONFIG_FILES section.
9193
9448
# No need to generate them if there are no CONFIG_FILES.
9209
9464
  ac_cs_awk_cr=$ac_cr
9210
9465
fi
9211
9466
 
9212
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
9467
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9213
9468
_ACEOF
9214
9469
 
9215
9470
 
9237
9492
rm -f conf$$subs.sh
9238
9493
 
9239
9494
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9240
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
9495
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9241
9496
_ACEOF
9242
9497
sed -n '
9243
9498
h
9285
9540
rm -f conf$$subs.awk
9286
9541
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9287
9542
_ACAWK
9288
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
9543
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9289
9544
  for (key in S) S_is_set[key] = 1
9290
9545
  FS = ""
9291
9546
 
9317
9572
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9318
9573
else
9319
9574
  cat
9320
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
9575
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9321
9576
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9322
9577
_ACEOF
9323
9578
 
9351
9606
# No need to generate them if there are no CONFIG_HEADERS.
9352
9607
# This happens for instance with `./config.status Makefile'.
9353
9608
if test -n "$CONFIG_HEADERS"; then
9354
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
9609
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
9355
9610
BEGIN {
9356
9611
_ACEOF
9357
9612
 
9363
9618
# handling of long lines.
9364
9619
ac_delim='%!_!# '
9365
9620
for ac_last_try in false false :; do
9366
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
9367
 
  if test -z "$ac_t"; then
 
9621
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
9622
  if test -z "$ac_tt"; then
9368
9623
    break
9369
9624
  elif $ac_last_try; then
9370
9625
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
9465
9720
  esac
9466
9721
  case $ac_mode$ac_tag in
9467
9722
  :[FHL]*:*);;
9468
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
9723
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9469
9724
  :[FH]-) ac_tag=-:-;;
9470
9725
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9471
9726
  esac
9484
9739
    for ac_f
9485
9740
    do
9486
9741
      case $ac_f in
9487
 
      -) ac_f="$tmp/stdin";;
 
9742
      -) ac_f="$ac_tmp/stdin";;
9488
9743
      *) # Look for the file first in the build tree, then in the source tree
9489
9744
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
9490
9745
         # because $ac_f cannot contain `:'.
9493
9748
           [\\/$]*) false;;
9494
9749
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9495
9750
           esac ||
9496
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
9751
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9497
9752
      esac
9498
9753
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9499
9754
      as_fn_append ac_file_inputs " '$ac_f'"
9519
9774
    esac
9520
9775
 
9521
9776
    case $ac_tag in
9522
 
    *:-:* | *:-) cat >"$tmp/stdin" \
9523
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
9777
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
9778
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9524
9779
    esac
9525
9780
    ;;
9526
9781
  esac
9656
9911
s&@MKDIR_P@&$ac_MKDIR_P&;t t
9657
9912
$ac_datarootdir_hack
9658
9913
"
9659
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9660
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
9914
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
9915
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9661
9916
 
9662
9917
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9663
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9664
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
9918
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
9919
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
9920
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
9665
9921
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9666
9922
which seems to be undefined.  Please make sure it is defined" >&5
9667
9923
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9668
9924
which seems to be undefined.  Please make sure it is defined" >&2;}
9669
9925
 
9670
 
  rm -f "$tmp/stdin"
 
9926
  rm -f "$ac_tmp/stdin"
9671
9927
  case $ac_file in
9672
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
9673
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
9928
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
9929
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9674
9930
  esac \
9675
9931
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9676
9932
 ;;
9681
9937
  if test x"$ac_file" != x-; then
9682
9938
    {
9683
9939
      $as_echo "/* $configure_input  */" \
9684
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9685
 
    } >"$tmp/config.h" \
 
9940
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
9941
    } >"$ac_tmp/config.h" \
9686
9942
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9687
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
9943
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
9688
9944
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9689
9945
$as_echo "$as_me: $ac_file is unchanged" >&6;}
9690
9946
    else
9691
9947
      rm -f "$ac_file"
9692
 
      mv "$tmp/config.h" "$ac_file" \
 
9948
      mv "$ac_tmp/config.h" "$ac_file" \
9693
9949
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9694
9950
    fi
9695
9951
  else
9696
9952
    $as_echo "/* $configure_input  */" \
9697
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
9953
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
9698
9954
      || as_fn_error $? "could not create -" "$LINENO" 5
9699
9955
  fi
9700
9956
# Compute "$ac_file"'s index in $config_headers.