~cairo-dock-team/ubuntu/precise/cairo-dock/988102

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2008-09-14 16:26:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080914162612-t6aa8pr2o0qry48o
Tags: 1.6.2.3-0ubuntu1
* New upstream release.
* debian/control
 - Update to 3.8.0 (no change needed).
 - Add libxtst-dev as Build-Depends.
* debian/cairo-dock-data.install
 - Add usr/share/cairo-dock/emblems directory.
* debian/watch
 - Update location.
* debian/rules
 - Add a get-orig-source rule.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for cairo-dock 1.5.6-alpha0.
 
3
# Generated by GNU Autoconf 2.61 for cairo-dock 1.6.2.3.
4
4
#
5
5
# Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
6
6
#
728
728
# Identity of this package.
729
729
PACKAGE_NAME='cairo-dock'
730
730
PACKAGE_TARNAME='cairo-dock'
731
 
PACKAGE_VERSION='1.5.6-alpha0'
732
 
PACKAGE_STRING='cairo-dock 1.5.6-alpha0'
 
731
PACKAGE_VERSION='1.6.2.3'
 
732
PACKAGE_STRING='cairo-dock 1.6.2.3'
733
733
PACKAGE_BUGREPORT='Fabrice Rey (fabounet@users.berlios.de)'
734
734
 
735
735
ac_unique_file="config.h.in"
915
915
POSUB
916
916
MKINSTALLDIRS
917
917
GETTEXT_PACKAGE
918
 
COMPIL_VERBOSE_TRUE
919
 
COMPIL_VERBOSE_FALSE
920
 
COMPIL_WITH_GLITZ_TRUE
921
 
COMPIL_WITH_GLITZ_FALSE
922
918
PKG_CONFIG
923
919
PACKAGE_CFLAGS
924
920
PACKAGE_LIBS
 
921
XEXTEND_CFLAGS
 
922
XEXTEND_LIBS
 
923
xextend_required
 
924
WITH_XEXTEND_TRUE
 
925
WITH_XEXTEND_FALSE
925
926
GLITZ_CFLAGS
926
927
GLITZ_LIBS
 
928
glitz_required
 
929
WITH_GLITZ_TRUE
 
930
WITH_GLITZ_FALSE
927
931
LIBOBJS
928
932
LTLIBOBJS'
929
933
ac_subst_files=''
945
949
PKG_CONFIG
946
950
PACKAGE_CFLAGS
947
951
PACKAGE_LIBS
 
952
XEXTEND_CFLAGS
 
953
XEXTEND_LIBS
948
954
GLITZ_CFLAGS
949
955
GLITZ_LIBS'
950
956
 
1449
1455
  # Omit some internal or obsolete options to make the list less imposing.
1450
1456
  # This message is too long to be a string in the A/UX 3.1 sh.
1451
1457
  cat <<_ACEOF
1452
 
\`configure' configures cairo-dock 1.5.6-alpha0 to adapt to many kinds of systems.
 
1458
\`configure' configures cairo-dock 1.6.2.3 to adapt to many kinds of systems.
1453
1459
 
1454
1460
Usage: $0 [OPTION]... [VAR=VALUE]...
1455
1461
 
1519
1525
 
1520
1526
if test -n "$ac_init_help"; then
1521
1527
  case $ac_init_help in
1522
 
     short | recursive ) echo "Configuration of cairo-dock 1.5.6-alpha0:";;
 
1528
     short | recursive ) echo "Configuration of cairo-dock 1.6.2.3:";;
1523
1529
   esac
1524
1530
  cat <<\_ACEOF
1525
1531
 
1533
1539
  --disable-dependency-tracking  speeds up one-time build
1534
1540
  --enable-dependency-tracking   do not reject slow dependency extractors
1535
1541
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1542
  --enable-xextend  :  Enable X Extensions
 
1543
  --enable-glitz  :  Turn on hardware acceleration
1536
1544
 
1537
1545
Optional Packages:
1538
1546
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1561
1569
              C compiler flags for PACKAGE, overriding pkg-config
1562
1570
  PACKAGE_LIBS
1563
1571
              linker flags for PACKAGE, overriding pkg-config
 
1572
  XEXTEND_CFLAGS
 
1573
              C compiler flags for XEXTEND, overriding pkg-config
 
1574
  XEXTEND_LIBS
 
1575
              linker flags for XEXTEND, overriding pkg-config
1564
1576
  GLITZ_CFLAGS
1565
1577
              C compiler flags for GLITZ, overriding pkg-config
1566
1578
  GLITZ_LIBS  linker flags for GLITZ, overriding pkg-config
1629
1641
test -n "$ac_init_help" && exit $ac_status
1630
1642
if $ac_init_version; then
1631
1643
  cat <<\_ACEOF
1632
 
cairo-dock configure 1.5.6-alpha0
 
1644
cairo-dock configure 1.6.2.3
1633
1645
generated by GNU Autoconf 2.61
1634
1646
 
1635
1647
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1643
1655
This file contains any messages produced by compilers while
1644
1656
running configure, to aid debugging if configure makes a mistake.
1645
1657
 
1646
 
It was created by cairo-dock $as_me 1.5.6-alpha0, which was
 
1658
It was created by cairo-dock $as_me 1.6.2.3, which was
1647
1659
generated by GNU Autoconf 2.61.  Invocation command line was
1648
1660
 
1649
1661
  $ $0 $@
2337
2349
 
2338
2350
# Define the identity of the package.
2339
2351
 PACKAGE='cairo-dock'
2340
 
 VERSION='1.5.6-alpha0'
 
2352
 VERSION='1.6.2.3'
2341
2353
 
2342
2354
 
2343
2355
cat >>confdefs.h <<_ACEOF
4380
4392
  ;;
4381
4393
*-*-irix6*)
4382
4394
  # Find out which ABI we are using.
4383
 
  echo '#line 4383 "configure"' > conftest.$ac_ext
 
4395
  echo '#line 4395 "configure"' > conftest.$ac_ext
4384
4396
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4385
4397
  (eval $ac_compile) 2>&5
4386
4398
  ac_status=$?
7437
7449
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7438
7450
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7439
7451
   -e 's:$: $lt_compiler_flag:'`
7440
 
   (eval echo "\"\$as_me:7440: $lt_compile\"" >&5)
 
7452
   (eval echo "\"\$as_me:7452: $lt_compile\"" >&5)
7441
7453
   (eval "$lt_compile" 2>conftest.err)
7442
7454
   ac_status=$?
7443
7455
   cat conftest.err >&5
7444
 
   echo "$as_me:7444: \$? = $ac_status" >&5
 
7456
   echo "$as_me:7456: \$? = $ac_status" >&5
7445
7457
   if (exit $ac_status) && test -s "$ac_outfile"; then
7446
7458
     # The compiler can only warn and ignore the option if not recognized
7447
7459
     # So say no if there are warnings other than the usual output.
7727
7739
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7728
7740
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7729
7741
   -e 's:$: $lt_compiler_flag:'`
7730
 
   (eval echo "\"\$as_me:7730: $lt_compile\"" >&5)
 
7742
   (eval echo "\"\$as_me:7742: $lt_compile\"" >&5)
7731
7743
   (eval "$lt_compile" 2>conftest.err)
7732
7744
   ac_status=$?
7733
7745
   cat conftest.err >&5
7734
 
   echo "$as_me:7734: \$? = $ac_status" >&5
 
7746
   echo "$as_me:7746: \$? = $ac_status" >&5
7735
7747
   if (exit $ac_status) && test -s "$ac_outfile"; then
7736
7748
     # The compiler can only warn and ignore the option if not recognized
7737
7749
     # So say no if there are warnings other than the usual output.
7831
7843
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7832
7844
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7833
7845
   -e 's:$: $lt_compiler_flag:'`
7834
 
   (eval echo "\"\$as_me:7834: $lt_compile\"" >&5)
 
7846
   (eval echo "\"\$as_me:7846: $lt_compile\"" >&5)
7835
7847
   (eval "$lt_compile" 2>out/conftest.err)
7836
7848
   ac_status=$?
7837
7849
   cat out/conftest.err >&5
7838
 
   echo "$as_me:7838: \$? = $ac_status" >&5
 
7850
   echo "$as_me:7850: \$? = $ac_status" >&5
7839
7851
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7840
7852
   then
7841
7853
     # The compiler can only warn and ignore the option if not recognized
10208
10220
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10209
10221
  lt_status=$lt_dlunknown
10210
10222
  cat > conftest.$ac_ext <<EOF
10211
 
#line 10211 "configure"
 
10223
#line 10223 "configure"
10212
10224
#include "confdefs.h"
10213
10225
 
10214
10226
#if HAVE_DLFCN_H
10308
10320
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10309
10321
  lt_status=$lt_dlunknown
10310
10322
  cat > conftest.$ac_ext <<EOF
10311
 
#line 10311 "configure"
 
10323
#line 10323 "configure"
10312
10324
#include "confdefs.h"
10313
10325
 
10314
10326
#if HAVE_DLFCN_H
12709
12721
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12710
12722
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12711
12723
   -e 's:$: $lt_compiler_flag:'`
12712
 
   (eval echo "\"\$as_me:12712: $lt_compile\"" >&5)
 
12724
   (eval echo "\"\$as_me:12724: $lt_compile\"" >&5)
12713
12725
   (eval "$lt_compile" 2>conftest.err)
12714
12726
   ac_status=$?
12715
12727
   cat conftest.err >&5
12716
 
   echo "$as_me:12716: \$? = $ac_status" >&5
 
12728
   echo "$as_me:12728: \$? = $ac_status" >&5
12717
12729
   if (exit $ac_status) && test -s "$ac_outfile"; then
12718
12730
     # The compiler can only warn and ignore the option if not recognized
12719
12731
     # So say no if there are warnings other than the usual output.
12813
12825
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12814
12826
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12815
12827
   -e 's:$: $lt_compiler_flag:'`
12816
 
   (eval echo "\"\$as_me:12816: $lt_compile\"" >&5)
 
12828
   (eval echo "\"\$as_me:12828: $lt_compile\"" >&5)
12817
12829
   (eval "$lt_compile" 2>out/conftest.err)
12818
12830
   ac_status=$?
12819
12831
   cat out/conftest.err >&5
12820
 
   echo "$as_me:12820: \$? = $ac_status" >&5
 
12832
   echo "$as_me:12832: \$? = $ac_status" >&5
12821
12833
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12822
12834
   then
12823
12835
     # The compiler can only warn and ignore the option if not recognized
14411
14423
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14412
14424
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14413
14425
   -e 's:$: $lt_compiler_flag:'`
14414
 
   (eval echo "\"\$as_me:14414: $lt_compile\"" >&5)
 
14426
   (eval echo "\"\$as_me:14426: $lt_compile\"" >&5)
14415
14427
   (eval "$lt_compile" 2>conftest.err)
14416
14428
   ac_status=$?
14417
14429
   cat conftest.err >&5
14418
 
   echo "$as_me:14418: \$? = $ac_status" >&5
 
14430
   echo "$as_me:14430: \$? = $ac_status" >&5
14419
14431
   if (exit $ac_status) && test -s "$ac_outfile"; then
14420
14432
     # The compiler can only warn and ignore the option if not recognized
14421
14433
     # So say no if there are warnings other than the usual output.
14515
14527
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14516
14528
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14517
14529
   -e 's:$: $lt_compiler_flag:'`
14518
 
   (eval echo "\"\$as_me:14518: $lt_compile\"" >&5)
 
14530
   (eval echo "\"\$as_me:14530: $lt_compile\"" >&5)
14519
14531
   (eval "$lt_compile" 2>out/conftest.err)
14520
14532
   ac_status=$?
14521
14533
   cat out/conftest.err >&5
14522
 
   echo "$as_me:14522: \$? = $ac_status" >&5
 
14534
   echo "$as_me:14534: \$? = $ac_status" >&5
14523
14535
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14524
14536
   then
14525
14537
     # The compiler can only warn and ignore the option if not recognized
16735
16747
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16736
16748
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16737
16749
   -e 's:$: $lt_compiler_flag:'`
16738
 
   (eval echo "\"\$as_me:16738: $lt_compile\"" >&5)
 
16750
   (eval echo "\"\$as_me:16750: $lt_compile\"" >&5)
16739
16751
   (eval "$lt_compile" 2>conftest.err)
16740
16752
   ac_status=$?
16741
16753
   cat conftest.err >&5
16742
 
   echo "$as_me:16742: \$? = $ac_status" >&5
 
16754
   echo "$as_me:16754: \$? = $ac_status" >&5
16743
16755
   if (exit $ac_status) && test -s "$ac_outfile"; then
16744
16756
     # The compiler can only warn and ignore the option if not recognized
16745
16757
     # So say no if there are warnings other than the usual output.
17025
17037
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17026
17038
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17027
17039
   -e 's:$: $lt_compiler_flag:'`
17028
 
   (eval echo "\"\$as_me:17028: $lt_compile\"" >&5)
 
17040
   (eval echo "\"\$as_me:17040: $lt_compile\"" >&5)
17029
17041
   (eval "$lt_compile" 2>conftest.err)
17030
17042
   ac_status=$?
17031
17043
   cat conftest.err >&5
17032
 
   echo "$as_me:17032: \$? = $ac_status" >&5
 
17044
   echo "$as_me:17044: \$? = $ac_status" >&5
17033
17045
   if (exit $ac_status) && test -s "$ac_outfile"; then
17034
17046
     # The compiler can only warn and ignore the option if not recognized
17035
17047
     # So say no if there are warnings other than the usual output.
17129
17141
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17130
17142
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17131
17143
   -e 's:$: $lt_compiler_flag:'`
17132
 
   (eval echo "\"\$as_me:17132: $lt_compile\"" >&5)
 
17144
   (eval echo "\"\$as_me:17144: $lt_compile\"" >&5)
17133
17145
   (eval "$lt_compile" 2>out/conftest.err)
17134
17146
   ac_status=$?
17135
17147
   cat out/conftest.err >&5
17136
 
   echo "$as_me:17136: \$? = $ac_status" >&5
 
17148
   echo "$as_me:17148: \$? = $ac_status" >&5
17137
17149
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17138
17150
   then
17139
17151
     # The compiler can only warn and ignore the option if not recognized
22899
22911
# AC_CHECK_FUNCS([sscanf])
22900
22912
 
22901
22913
 
22902
 
 if test x$enable_verbose = xyes; then
22903
 
  COMPIL_VERBOSE_TRUE=
22904
 
  COMPIL_VERBOSE_FALSE='#'
22905
 
else
22906
 
  COMPIL_VERBOSE_TRUE='#'
22907
 
  COMPIL_VERBOSE_FALSE=
22908
 
fi
22909
 
 
22910
 
 if test x$enable_glitz = xyes; then
22911
 
  COMPIL_WITH_GLITZ_TRUE=
22912
 
  COMPIL_WITH_GLITZ_FALSE='#'
22913
 
else
22914
 
  COMPIL_WITH_GLITZ_TRUE='#'
22915
 
  COMPIL_WITH_GLITZ_FALSE=
22916
 
fi
22917
 
 
22918
 
 
22919
 
 
22920
 
 
22921
22914
 
22922
22915
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22923
22916
        if test -n "$ac_tool_prefix"; then
23149
23142
        :
23150
23143
fi
23151
23144
 
 
23145
# Check whether --enable-xextend was given.
 
23146
if test "${enable_xextend+set}" = set; then
 
23147
  enableval=$enable_xextend; case "${enableval}" in
 
23148
                yes) usexextend=true ;;
 
23149
                no)  usexextend=false ;;
 
23150
                *) echo "bad value ${enableval} for --enable-xextend" ;;
 
23151
        esac
 
23152
else
 
23153
  usexextend=true
 
23154
fi
 
23155
 
 
23156
 
 
23157
if test "$usexextend" = "true" ; then
 
23158
 
 
23159
pkg_failed=no
 
23160
{ echo "$as_me:$LINENO: checking for XEXTEND" >&5
 
23161
echo $ECHO_N "checking for XEXTEND... $ECHO_C" >&6; }
 
23162
 
 
23163
if test -n "$PKG_CONFIG"; then
 
23164
    if test -n "$XEXTEND_CFLAGS"; then
 
23165
        pkg_cv_XEXTEND_CFLAGS="$XEXTEND_CFLAGS"
 
23166
    else
 
23167
        if test -n "$PKG_CONFIG" && \
 
23168
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"xtst xrender\"\"") >&5
 
23169
  ($PKG_CONFIG --exists --print-errors ""xtst xrender"") 2>&5
 
23170
  ac_status=$?
 
23171
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23172
  (exit $ac_status); }; then
 
23173
  pkg_cv_XEXTEND_CFLAGS=`$PKG_CONFIG --cflags ""xtst xrender"" 2>/dev/null`
 
23174
else
 
23175
  pkg_failed=yes
 
23176
fi
 
23177
    fi
 
23178
else
 
23179
        pkg_failed=untried
 
23180
fi
 
23181
if test -n "$PKG_CONFIG"; then
 
23182
    if test -n "$XEXTEND_LIBS"; then
 
23183
        pkg_cv_XEXTEND_LIBS="$XEXTEND_LIBS"
 
23184
    else
 
23185
        if test -n "$PKG_CONFIG" && \
 
23186
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"xtst xrender\"\"") >&5
 
23187
  ($PKG_CONFIG --exists --print-errors ""xtst xrender"") 2>&5
 
23188
  ac_status=$?
 
23189
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23190
  (exit $ac_status); }; then
 
23191
  pkg_cv_XEXTEND_LIBS=`$PKG_CONFIG --libs ""xtst xrender"" 2>/dev/null`
 
23192
else
 
23193
  pkg_failed=yes
 
23194
fi
 
23195
    fi
 
23196
else
 
23197
        pkg_failed=untried
 
23198
fi
 
23199
 
 
23200
 
 
23201
 
 
23202
if test $pkg_failed = yes; then
 
23203
 
 
23204
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
23205
        _pkg_short_errors_supported=yes
 
23206
else
 
23207
        _pkg_short_errors_supported=no
 
23208
fi
 
23209
        if test $_pkg_short_errors_supported = yes; then
 
23210
                XEXTEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""xtst xrender""`
 
23211
        else
 
23212
                XEXTEND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""xtst xrender""`
 
23213
        fi
 
23214
        # Put the nasty error message in config.log where it belongs
 
23215
        echo "$XEXTEND_PKG_ERRORS" >&5
 
23216
 
 
23217
        { echo "$as_me:$LINENO: result: no" >&5
 
23218
echo "${ECHO_T}no" >&6; }
 
23219
                XExt_detected=false; { echo "$as_me:$LINENO: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts and display window thumbnails." >&5
 
23220
echo "$as_me: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts and display window thumbnails." >&2;}
 
23221
elif test $pkg_failed = untried; then
 
23222
        XExt_detected=false; { echo "$as_me:$LINENO: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts and display window thumbnails." >&5
 
23223
echo "$as_me: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts and display window thumbnails." >&2;}
 
23224
else
 
23225
        XEXTEND_CFLAGS=$pkg_cv_XEXTEND_CFLAGS
 
23226
        XEXTEND_LIBS=$pkg_cv_XEXTEND_LIBS
 
23227
        { echo "$as_me:$LINENO: result: yes" >&5
 
23228
echo "${ECHO_T}yes" >&6; }
 
23229
        XExt_detected=true
 
23230
fi
 
23231
 
 
23232
 
 
23233
 
 
23234
        if test ! "$XExt_detected" = "false" ; then
 
23235
 
 
23236
cat >>confdefs.h <<\_ACEOF
 
23237
#define HAVE_XEXTEND "1"
 
23238
_ACEOF
 
23239
 
 
23240
        fi
 
23241
fi
 
23242
if test "$XExt_detected" = "true"; then
 
23243
        xextend_required="xtst xrender"
 
23244
else
 
23245
        xextend_required=""
 
23246
fi
 
23247
 
 
23248
 
 
23249
 if test "$XExt_detected" = "true" ; then
 
23250
  WITH_XEXTEND_TRUE=
 
23251
  WITH_XEXTEND_FALSE='#'
 
23252
else
 
23253
  WITH_XEXTEND_TRUE='#'
 
23254
  WITH_XEXTEND_FALSE=
 
23255
fi
 
23256
 
 
23257
 
 
23258
# Check whether --enable-glitz was given.
 
23259
if test "${enable_glitz+set}" = set; then
 
23260
  enableval=$enable_glitz; case "${enableval}" in
 
23261
                yes) useglitz=true ;;
 
23262
                no)  useglitz=false ;;
 
23263
                *) echo "bad value ${enableval} for --enable-glitz" ;;
 
23264
        esac
 
23265
else
 
23266
  useglitz=false
 
23267
fi
 
23268
 
 
23269
 
 
23270
if test "$useglitz" = "true" ; then
 
23271
 
23152
23272
pkg_failed=no
23153
23273
{ echo "$as_me:$LINENO: checking for GLITZ" >&5
23154
23274
echo $ECHO_N "checking for GLITZ... $ECHO_C" >&6; }
23158
23278
        pkg_cv_GLITZ_CFLAGS="$GLITZ_CFLAGS"
23159
23279
    else
23160
23280
        if test -n "$PKG_CONFIG" && \
23161
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"glitz-glx\"\"") >&5
23162
 
  ($PKG_CONFIG --exists --print-errors ""glitz-glx"") 2>&5
 
23281
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx\"") >&5
 
23282
  ($PKG_CONFIG --exists --print-errors "glitz-glx") 2>&5
23163
23283
  ac_status=$?
23164
23284
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165
23285
  (exit $ac_status); }; then
23166
 
  pkg_cv_GLITZ_CFLAGS=`$PKG_CONFIG --cflags ""glitz-glx"" 2>/dev/null`
 
23286
  pkg_cv_GLITZ_CFLAGS=`$PKG_CONFIG --cflags "glitz-glx" 2>/dev/null`
23167
23287
else
23168
23288
  pkg_failed=yes
23169
23289
fi
23176
23296
        pkg_cv_GLITZ_LIBS="$GLITZ_LIBS"
23177
23297
    else
23178
23298
        if test -n "$PKG_CONFIG" && \
23179
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\"glitz-glx\"\"") >&5
23180
 
  ($PKG_CONFIG --exists --print-errors ""glitz-glx"") 2>&5
 
23299
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glitz-glx\"") >&5
 
23300
  ($PKG_CONFIG --exists --print-errors "glitz-glx") 2>&5
23181
23301
  ac_status=$?
23182
23302
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183
23303
  (exit $ac_status); }; then
23184
 
  pkg_cv_GLITZ_LIBS=`$PKG_CONFIG --libs ""glitz-glx"" 2>/dev/null`
 
23304
  pkg_cv_GLITZ_LIBS=`$PKG_CONFIG --libs "glitz-glx" 2>/dev/null`
23185
23305
else
23186
23306
  pkg_failed=yes
23187
23307
fi
23200
23320
        _pkg_short_errors_supported=no
23201
23321
fi
23202
23322
        if test $_pkg_short_errors_supported = yes; then
23203
 
                GLITZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""glitz-glx""`
 
23323
                GLITZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glitz-glx"`
23204
23324
        else
23205
 
                GLITZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""glitz-glx""`
 
23325
                GLITZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glitz-glx"`
23206
23326
        fi
23207
23327
        # Put the nasty error message in config.log where it belongs
23208
23328
        echo "$GLITZ_PKG_ERRORS" >&5
23209
23329
 
23210
 
        { { echo "$as_me:$LINENO: error: Package requirements (\"glitz-glx\") were not met:
23211
 
 
23212
 
$GLITZ_PKG_ERRORS
23213
 
 
23214
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23215
 
installed software in a non-standard prefix.
23216
 
 
23217
 
Alternatively, you may set the environment variables GLITZ_CFLAGS
23218
 
and GLITZ_LIBS to avoid the need to call pkg-config.
23219
 
See the pkg-config man page for more details.
23220
 
" >&5
23221
 
echo "$as_me: error: Package requirements (\"glitz-glx\") were not met:
23222
 
 
23223
 
$GLITZ_PKG_ERRORS
23224
 
 
23225
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23226
 
installed software in a non-standard prefix.
23227
 
 
23228
 
Alternatively, you may set the environment variables GLITZ_CFLAGS
23229
 
and GLITZ_LIBS to avoid the need to call pkg-config.
23230
 
See the pkg-config man page for more details.
23231
 
" >&2;}
23232
 
   { (exit 1); exit 1; }; }
 
23330
        { echo "$as_me:$LINENO: result: no" >&5
 
23331
echo "${ECHO_T}no" >&6; }
 
23332
                 glitz_detected=false; { echo "$as_me:$LINENO: WARNING: Could not find glitz-glx; Cairo-Dock won't be built with hardware acceleration." >&5
 
23333
echo "$as_me: WARNING: Could not find glitz-glx; Cairo-Dock won't be built with hardware acceleration." >&2;}
23233
23334
elif test $pkg_failed = untried; then
23234
 
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
23235
 
is in your PATH or set the PKG_CONFIG environment variable to the full
23236
 
path to pkg-config.
23237
 
 
23238
 
Alternatively, you may set the environment variables GLITZ_CFLAGS
23239
 
and GLITZ_LIBS to avoid the need to call pkg-config.
23240
 
See the pkg-config man page for more details.
23241
 
 
23242
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23243
 
See \`config.log' for more details." >&5
23244
 
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23245
 
is in your PATH or set the PKG_CONFIG environment variable to the full
23246
 
path to pkg-config.
23247
 
 
23248
 
Alternatively, you may set the environment variables GLITZ_CFLAGS
23249
 
and GLITZ_LIBS to avoid the need to call pkg-config.
23250
 
See the pkg-config man page for more details.
23251
 
 
23252
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23253
 
See \`config.log' for more details." >&2;}
23254
 
   { (exit 1); exit 1; }; }
 
23335
         glitz_detected=false; { echo "$as_me:$LINENO: WARNING: Could not find glitz-glx; Cairo-Dock won't be built with hardware acceleration." >&5
 
23336
echo "$as_me: WARNING: Could not find glitz-glx; Cairo-Dock won't be built with hardware acceleration." >&2;}
23255
23337
else
23256
23338
        GLITZ_CFLAGS=$pkg_cv_GLITZ_CFLAGS
23257
23339
        GLITZ_LIBS=$pkg_cv_GLITZ_LIBS
23258
23340
        { echo "$as_me:$LINENO: result: yes" >&5
23259
23341
echo "${ECHO_T}yes" >&6; }
23260
 
        :
23261
 
fi
23262
 
 
23263
 
ac_config_files="$ac_config_files Makefile cairo-dock.pc src/Makefile po/Makefile.in data/Makefile data/cairo-dock.conf data/main-dock.conf data/default-theme/Makefile data/default-theme/launchers/Makefile data/gauges/Makefile data/gauges/radium/Makefile data/gauges/radium-fuel/Makefile data/gauges/battery/Makefile data/gauges/old-square/Makefile data/gauges/turbo-night/Makefile data/gauges/turbo-night-fuel/Makefile data/gauges/turbo-night-dual/Makefile data/gauges/rainbow/Makefile data/gauges/tomato/Makefile"
 
23342
        glitz_detected=true
 
23343
fi
 
23344
 
 
23345
 
 
23346
 
 
23347
        if test ! "$glitz_detected" = "false" ; then
 
23348
 
 
23349
cat >>confdefs.h <<\_ACEOF
 
23350
#define HAVE_GLITZ "1"
 
23351
_ACEOF
 
23352
 
 
23353
        fi
 
23354
fi
 
23355
 
 
23356
if test "$glitz_detected" = "true"; then
 
23357
        glitz_required="glitz-glx"
 
23358
else
 
23359
        glitz_required=""
 
23360
fi
 
23361
 
 
23362
 
 
23363
 if test "$glitz_detected" = "true" ; then
 
23364
  WITH_GLITZ_TRUE=
 
23365
  WITH_GLITZ_FALSE='#'
 
23366
else
 
23367
  WITH_GLITZ_TRUE='#'
 
23368
  WITH_GLITZ_FALSE=
 
23369
fi
 
23370
 
 
23371
 
 
23372
 
 
23373
ac_config_files="$ac_config_files Makefile cairo-dock.pc src/Makefile po/Makefile.in data/Makefile data/cairo-dock.conf data/main-dock.conf data/default-theme/Makefile data/default-theme/launchers/Makefile data/gauges/Makefile data/gauges/radium/Makefile data/gauges/radium-fuel/Makefile data/gauges/battery/Makefile data/gauges/old-square/Makefile data/gauges/turbo-night/Makefile data/gauges/turbo-night-fuel/Makefile data/gauges/turbo-night-dual/Makefile data/gauges/rainbow/Makefile data/gauges/tomato/Makefile data/gauges/Circle/Makefile data/emblems/Makefile data/explosion/Makefile"
23264
23374
 
23265
23375
cat >confcache <<\_ACEOF
23266
23376
# This file is a shell script that caches the results of configure
23390
23500
Usually this means the macro was only invoked conditionally." >&2;}
23391
23501
   { (exit 1); exit 1; }; }
23392
23502
fi
23393
 
if test -z "${COMPIL_VERBOSE_TRUE}" && test -z "${COMPIL_VERBOSE_FALSE}"; then
23394
 
  { { echo "$as_me:$LINENO: error: conditional \"COMPIL_VERBOSE\" was never defined.
 
23503
if test -z "${WITH_XEXTEND_TRUE}" && test -z "${WITH_XEXTEND_FALSE}"; then
 
23504
  { { echo "$as_me:$LINENO: error: conditional \"WITH_XEXTEND\" was never defined.
23395
23505
Usually this means the macro was only invoked conditionally." >&5
23396
 
echo "$as_me: error: conditional \"COMPIL_VERBOSE\" was never defined.
 
23506
echo "$as_me: error: conditional \"WITH_XEXTEND\" was never defined.
23397
23507
Usually this means the macro was only invoked conditionally." >&2;}
23398
23508
   { (exit 1); exit 1; }; }
23399
23509
fi
23400
 
if test -z "${COMPIL_WITH_GLITZ_TRUE}" && test -z "${COMPIL_WITH_GLITZ_FALSE}"; then
23401
 
  { { echo "$as_me:$LINENO: error: conditional \"COMPIL_WITH_GLITZ\" was never defined.
 
23510
if test -z "${WITH_GLITZ_TRUE}" && test -z "${WITH_GLITZ_FALSE}"; then
 
23511
  { { echo "$as_me:$LINENO: error: conditional \"WITH_GLITZ\" was never defined.
23402
23512
Usually this means the macro was only invoked conditionally." >&5
23403
 
echo "$as_me: error: conditional \"COMPIL_WITH_GLITZ\" was never defined.
 
23513
echo "$as_me: error: conditional \"WITH_GLITZ\" was never defined.
23404
23514
Usually this means the macro was only invoked conditionally." >&2;}
23405
23515
   { (exit 1); exit 1; }; }
23406
23516
fi
23704
23814
# report actual input values of CONFIG_FILES etc. instead of their
23705
23815
# values after options handling.
23706
23816
ac_log="
23707
 
This file was extended by cairo-dock $as_me 1.5.6-alpha0, which was
 
23817
This file was extended by cairo-dock $as_me 1.6.2.3, which was
23708
23818
generated by GNU Autoconf 2.61.  Invocation command line was
23709
23819
 
23710
23820
  CONFIG_FILES    = $CONFIG_FILES
23757
23867
_ACEOF
23758
23868
cat >>$CONFIG_STATUS <<_ACEOF
23759
23869
ac_cs_version="\\
23760
 
cairo-dock config.status 1.5.6-alpha0
 
23870
cairo-dock config.status 1.6.2.3
23761
23871
configured by $0, generated by GNU Autoconf 2.61,
23762
23872
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23763
23873
 
23898
24008
    "data/gauges/turbo-night-dual/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/turbo-night-dual/Makefile" ;;
23899
24009
    "data/gauges/rainbow/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/rainbow/Makefile" ;;
23900
24010
    "data/gauges/tomato/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/tomato/Makefile" ;;
 
24011
    "data/gauges/Circle/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/Circle/Makefile" ;;
 
24012
    "data/emblems/Makefile") CONFIG_FILES="$CONFIG_FILES data/emblems/Makefile" ;;
 
24013
    "data/explosion/Makefile") CONFIG_FILES="$CONFIG_FILES data/explosion/Makefile" ;;
23901
24014
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23902
24015
 
23903
24016
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24148
24261
POSUB!$POSUB$ac_delim
24149
24262
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
24150
24263
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24151
 
COMPIL_VERBOSE_TRUE!$COMPIL_VERBOSE_TRUE$ac_delim
24152
 
COMPIL_VERBOSE_FALSE!$COMPIL_VERBOSE_FALSE$ac_delim
24153
 
COMPIL_WITH_GLITZ_TRUE!$COMPIL_WITH_GLITZ_TRUE$ac_delim
24154
 
COMPIL_WITH_GLITZ_FALSE!$COMPIL_WITH_GLITZ_FALSE$ac_delim
24155
24264
PKG_CONFIG!$PKG_CONFIG$ac_delim
24156
24265
PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
24157
24266
PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
 
24267
XEXTEND_CFLAGS!$XEXTEND_CFLAGS$ac_delim
 
24268
XEXTEND_LIBS!$XEXTEND_LIBS$ac_delim
 
24269
xextend_required!$xextend_required$ac_delim
 
24270
WITH_XEXTEND_TRUE!$WITH_XEXTEND_TRUE$ac_delim
 
24271
WITH_XEXTEND_FALSE!$WITH_XEXTEND_FALSE$ac_delim
24158
24272
GLITZ_CFLAGS!$GLITZ_CFLAGS$ac_delim
24159
24273
GLITZ_LIBS!$GLITZ_LIBS$ac_delim
 
24274
glitz_required!$glitz_required$ac_delim
 
24275
WITH_GLITZ_TRUE!$WITH_GLITZ_TRUE$ac_delim
 
24276
WITH_GLITZ_FALSE!$WITH_GLITZ_FALSE$ac_delim
24160
24277
LIBOBJS!$LIBOBJS$ac_delim
24161
24278
LTLIBOBJS!$LTLIBOBJS$ac_delim
24162
24279
_ACEOF
24163
24280
 
24164
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
 
24281
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
24165
24282
    break
24166
24283
  elif $ac_last_try; then
24167
24284
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24803
24920
  $ac_cs_success || { (exit 1); exit 1; }
24804
24921
fi
24805
24922
 
 
24923
 
 
24924
 
 
24925
 
 
24926
echo "Cairo-Dock will be compiled with the following options :"
 
24927
if test "$XExt_detected" = "true"; then
 
24928
        echo " * Use X Extensions : yes"
 
24929
else
 
24930
        echo " * Use X Extensions : no"
 
24931
fi
 
24932
if test "$glitz_detected" = "true"; then
 
24933
        echo " * Hardware Acceleration : yes"
 
24934
else
 
24935
        echo " * Hardware Acceleration : no"
 
24936
fi