~ubuntu-branches/ubuntu/oneiric/bluez/oneiric-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-05-17 15:06:36 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517150636-pezgm7pubhv251y6
Tags: 4.93-0ubuntu1
* New upstream release. (LP: #784218)
* debian/control: drop Build-Depends on libdbus-1-dev, pulled in by
  libdbus-glib-1-dev.
* debian/control: bump Standards-Version to 3.9.2.

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.63 for bluez 4.91.
 
3
# Generated by GNU Autoconf 2.63 for bluez 4.93.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
743
743
# Identity of this package.
744
744
PACKAGE_NAME='bluez'
745
745
PACKAGE_TARNAME='bluez'
746
 
PACKAGE_VERSION='4.91'
747
 
PACKAGE_STRING='bluez 4.91'
 
746
PACKAGE_VERSION='4.93'
 
747
PACKAGE_STRING='bluez 4.93'
748
748
PACKAGE_BUGREPORT=''
749
749
 
750
750
ac_default_prefix=/usr/local
824
824
PNATPLUGIN_TRUE
825
825
ECHOPLUGIN_FALSE
826
826
ECHOPLUGIN_TRUE
827
 
ATTRIBPLUGIN_FALSE
828
 
ATTRIBPLUGIN_TRUE
 
827
GATT_EXAMPLE_PLUGIN_FALSE
 
828
GATT_EXAMPLE_PLUGIN_TRUE
829
829
READLINE_FALSE
830
830
READLINE_TRUE
831
831
HAL_FALSE
861
861
READLINE_LIBS
862
862
SNDFILE_LIBS
863
863
SNDFILE_CFLAGS
 
864
UDEV_LIBS
 
865
UDEV_CFLAGS
864
866
USB_LIBS
865
867
USB_CFLAGS
866
868
GSTREAMER_PLUGINSDIR
921
923
LDFLAGS
922
924
CFLAGS
923
925
CC
924
 
UDEV_DATADIR
 
926
UDEV_DIR
925
927
STORAGEDIR
926
928
CONFIGDIR
927
929
PKG_CONFIG
1015
1017
enable_service
1016
1018
enable_health
1017
1019
enable_pnat
1018
 
enable_attrib
 
1020
enable_gatt_example
1019
1021
enable_gstreamer
1020
1022
enable_alsa
1021
1023
enable_usb
1061
1063
GSTREAMER_LIBS
1062
1064
USB_CFLAGS
1063
1065
USB_LIBS
 
1066
UDEV_CFLAGS
 
1067
UDEV_LIBS
1064
1068
SNDFILE_CFLAGS
1065
1069
SNDFILE_LIBS
1066
1070
CAPNG_CFLAGS
1617
1621
  # Omit some internal or obsolete options to make the list less imposing.
1618
1622
  # This message is too long to be a string in the A/UX 3.1 sh.
1619
1623
  cat <<_ACEOF
1620
 
\`configure' configures bluez 4.91 to adapt to many kinds of systems.
 
1624
\`configure' configures bluez 4.93 to adapt to many kinds of systems.
1621
1625
 
1622
1626
Usage: $0 [OPTION]... [VAR=VALUE]...
1623
1627
 
1687
1691
 
1688
1692
if test -n "$ac_init_help"; then
1689
1693
  case $ac_init_help in
1690
 
     short | recursive ) echo "Configuration of bluez 4.91:";;
 
1694
     short | recursive ) echo "Configuration of bluez 4.93:";;
1691
1695
   esac
1692
1696
  cat <<\_ACEOF
1693
1697
 
1717
1721
  --disable-service       disable service plugin
1718
1722
  --enable-health         enable health plugin
1719
1723
  --enable-pnat           enable pnat plugin
1720
 
  --enable-attrib         enable attrib plugin
 
1724
  --enable-gatt-example   enable GATT example plugin
1721
1725
  --enable-gstreamer      enable GStreamer support
1722
1726
  --enable-alsa           enable ALSA support
1723
1727
  --enable-usb            enable USB support
1777
1781
              linker flags for GSTREAMER, overriding pkg-config
1778
1782
  USB_CFLAGS  C compiler flags for USB, overriding pkg-config
1779
1783
  USB_LIBS    linker flags for USB, overriding pkg-config
 
1784
  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
 
1785
  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
1780
1786
  SNDFILE_CFLAGS
1781
1787
              C compiler flags for SNDFILE, overriding pkg-config
1782
1788
  SNDFILE_LIBS
1850
1856
test -n "$ac_init_help" && exit $ac_status
1851
1857
if $ac_init_version; then
1852
1858
  cat <<\_ACEOF
1853
 
bluez configure 4.91
 
1859
bluez configure 4.93
1854
1860
generated by GNU Autoconf 2.63
1855
1861
 
1856
1862
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1864
1870
This file contains any messages produced by compilers while
1865
1871
running configure, to aid debugging if configure makes a mistake.
1866
1872
 
1867
 
It was created by bluez $as_me 4.91, which was
 
1873
It was created by bluez $as_me 4.93, which was
1868
1874
generated by GNU Autoconf 2.63.  Invocation command line was
1869
1875
 
1870
1876
  $ $0 $@
2714
2720
 
2715
2721
# Define the identity of the package.
2716
2722
 PACKAGE='bluez'
2717
 
 VERSION='4.91'
 
2723
 VERSION='4.93'
2718
2724
 
2719
2725
 
2720
2726
cat >>confdefs.h <<_ACEOF
2972
2978
        STORAGEDIR="${storagedir}"
2973
2979
 
2974
2980
 
2975
 
        UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`"
2976
 
        if (test -z "${UDEV_DATADIR}"); then
2977
 
                UDEV_DATADIR="${sysconfdir}/udev/rules.d"
2978
 
        else
2979
 
                UDEV_DATADIR="${UDEV_DATADIR}/rules.d"
 
2981
        UDEV_DIR="`$PKG_CONFIG --variable=udevdir udev`"
 
2982
        if (test -z "${UDEV_DIR}"); then
 
2983
                UDEV_DIR="/lib/udev"
2980
2984
        fi
2981
2985
 
2982
2986
 
5373
5377
else
5374
5378
  lt_cv_nm_interface="BSD nm"
5375
5379
  echo "int some_variable = 0;" > conftest.$ac_ext
5376
 
  (eval echo "\"\$as_me:5376: $ac_compile\"" >&5)
 
5380
  (eval echo "\"\$as_me:5380: $ac_compile\"" >&5)
5377
5381
  (eval "$ac_compile" 2>conftest.err)
5378
5382
  cat conftest.err >&5
5379
 
  (eval echo "\"\$as_me:5379: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5383
  (eval echo "\"\$as_me:5383: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5380
5384
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5381
5385
  cat conftest.err >&5
5382
 
  (eval echo "\"\$as_me:5382: output\"" >&5)
 
5386
  (eval echo "\"\$as_me:5386: output\"" >&5)
5383
5387
  cat conftest.out >&5
5384
5388
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5385
5389
    lt_cv_nm_interface="MS dumpbin"
6584
6588
  ;;
6585
6589
*-*-irix6*)
6586
6590
  # Find out which ABI we are using.
6587
 
  echo '#line 6587 "configure"' > conftest.$ac_ext
 
6591
  echo '#line 6591 "configure"' > conftest.$ac_ext
6588
6592
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6589
6593
  (eval $ac_compile) 2>&5
6590
6594
  ac_status=$?
8407
8411
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8408
8412
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8409
8413
   -e 's:$: $lt_compiler_flag:'`
8410
 
   (eval echo "\"\$as_me:8410: $lt_compile\"" >&5)
 
8414
   (eval echo "\"\$as_me:8414: $lt_compile\"" >&5)
8411
8415
   (eval "$lt_compile" 2>conftest.err)
8412
8416
   ac_status=$?
8413
8417
   cat conftest.err >&5
8414
 
   echo "$as_me:8414: \$? = $ac_status" >&5
 
8418
   echo "$as_me:8418: \$? = $ac_status" >&5
8415
8419
   if (exit $ac_status) && test -s "$ac_outfile"; then
8416
8420
     # The compiler can only warn and ignore the option if not recognized
8417
8421
     # So say no if there are warnings other than the usual output.
8746
8750
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8747
8751
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8748
8752
   -e 's:$: $lt_compiler_flag:'`
8749
 
   (eval echo "\"\$as_me:8749: $lt_compile\"" >&5)
 
8753
   (eval echo "\"\$as_me:8753: $lt_compile\"" >&5)
8750
8754
   (eval "$lt_compile" 2>conftest.err)
8751
8755
   ac_status=$?
8752
8756
   cat conftest.err >&5
8753
 
   echo "$as_me:8753: \$? = $ac_status" >&5
 
8757
   echo "$as_me:8757: \$? = $ac_status" >&5
8754
8758
   if (exit $ac_status) && test -s "$ac_outfile"; then
8755
8759
     # The compiler can only warn and ignore the option if not recognized
8756
8760
     # So say no if there are warnings other than the usual output.
8851
8855
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8852
8856
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8853
8857
   -e 's:$: $lt_compiler_flag:'`
8854
 
   (eval echo "\"\$as_me:8854: $lt_compile\"" >&5)
 
8858
   (eval echo "\"\$as_me:8858: $lt_compile\"" >&5)
8855
8859
   (eval "$lt_compile" 2>out/conftest.err)
8856
8860
   ac_status=$?
8857
8861
   cat out/conftest.err >&5
8858
 
   echo "$as_me:8858: \$? = $ac_status" >&5
 
8862
   echo "$as_me:8862: \$? = $ac_status" >&5
8859
8863
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8860
8864
   then
8861
8865
     # The compiler can only warn and ignore the option if not recognized
8906
8910
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8907
8911
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8908
8912
   -e 's:$: $lt_compiler_flag:'`
8909
 
   (eval echo "\"\$as_me:8909: $lt_compile\"" >&5)
 
8913
   (eval echo "\"\$as_me:8913: $lt_compile\"" >&5)
8910
8914
   (eval "$lt_compile" 2>out/conftest.err)
8911
8915
   ac_status=$?
8912
8916
   cat out/conftest.err >&5
8913
 
   echo "$as_me:8913: \$? = $ac_status" >&5
 
8917
   echo "$as_me:8917: \$? = $ac_status" >&5
8914
8918
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8915
8919
   then
8916
8920
     # The compiler can only warn and ignore the option if not recognized
11709
11713
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11710
11714
  lt_status=$lt_dlunknown
11711
11715
  cat > conftest.$ac_ext <<_LT_EOF
11712
 
#line 11712 "configure"
 
11716
#line 11716 "configure"
11713
11717
#include "confdefs.h"
11714
11718
 
11715
11719
#if HAVE_DLFCN_H
11805
11809
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11806
11810
  lt_status=$lt_dlunknown
11807
11811
  cat > conftest.$ac_ext <<_LT_EOF
11808
 
#line 11808 "configure"
 
11812
#line 11812 "configure"
11809
11813
#include "confdefs.h"
11810
11814
 
11811
11815
#if HAVE_DLFCN_H
12946
12950
 
12947
12951
 
12948
12952
pkg_failed=no
 
12953
{ $as_echo "$as_me:$LINENO: checking for UDEV" >&5
 
12954
$as_echo_n "checking for UDEV... " >&6; }
 
12955
 
 
12956
if test -n "$UDEV_CFLAGS"; then
 
12957
    pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
 
12958
 elif test -n "$PKG_CONFIG"; then
 
12959
    if test -n "$PKG_CONFIG" && \
 
12960
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
 
12961
  ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
 
12962
  ac_status=$?
 
12963
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12964
  (exit $ac_status); }; then
 
12965
  pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
 
12966
else
 
12967
  pkg_failed=yes
 
12968
fi
 
12969
 else
 
12970
    pkg_failed=untried
 
12971
fi
 
12972
if test -n "$UDEV_LIBS"; then
 
12973
    pkg_cv_UDEV_LIBS="$UDEV_LIBS"
 
12974
 elif test -n "$PKG_CONFIG"; then
 
12975
    if test -n "$PKG_CONFIG" && \
 
12976
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
 
12977
  ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
 
12978
  ac_status=$?
 
12979
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12980
  (exit $ac_status); }; then
 
12981
  pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
 
12982
else
 
12983
  pkg_failed=yes
 
12984
fi
 
12985
 else
 
12986
    pkg_failed=untried
 
12987
fi
 
12988
 
 
12989
 
 
12990
 
 
12991
if test $pkg_failed = yes; then
 
12992
 
 
12993
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12994
        _pkg_short_errors_supported=yes
 
12995
else
 
12996
        _pkg_short_errors_supported=no
 
12997
fi
 
12998
        if test $_pkg_short_errors_supported = yes; then
 
12999
                UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libudev" 2>&1`
 
13000
        else
 
13001
                UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "libudev" 2>&1`
 
13002
        fi
 
13003
        # Put the nasty error message in config.log where it belongs
 
13004
        echo "$UDEV_PKG_ERRORS" >&5
 
13005
 
 
13006
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
13007
$as_echo "no" >&6; }
 
13008
                udev_found=no
 
13009
elif test $pkg_failed = untried; then
 
13010
        udev_found=no
 
13011
else
 
13012
        UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
 
13013
        UDEV_LIBS=$pkg_cv_UDEV_LIBS
 
13014
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13015
$as_echo "yes" >&6; }
 
13016
        udev_found=yes
 
13017
fi
 
13018
 
 
13019
 
 
13020
 
 
13021
 
 
13022
 
 
13023
pkg_failed=no
12949
13024
{ $as_echo "$as_me:$LINENO: checking for SNDFILE" >&5
12950
13025
$as_echo_n "checking for SNDFILE... " >&6; }
12951
13026
 
13249
13324
        service_enable=yes
13250
13325
        health_enable=no
13251
13326
        pnat_enable=no
13252
 
        attrib_enable=no
 
13327
        gatt_example_enable=no
13253
13328
        tracer_enable=no
13254
13329
        tools_enable=yes
13255
13330
        hidd_enable=no
13367
13442
fi
13368
13443
 
13369
13444
 
13370
 
        # Check whether --enable-attrib was given.
13371
 
if test "${enable_attrib+set}" = set; then
13372
 
  enableval=$enable_attrib;
13373
 
                attrib_enable=${enableval}
 
13445
        # Check whether --enable-gatt-example was given.
 
13446
if test "${enable_gatt_example+set}" = set; then
 
13447
  enableval=$enable_gatt_example;
 
13448
                gatt_example_enable=${enableval}
13374
13449
 
13375
13450
fi
13376
13451
 
13693
13768
  READLINE_FALSE=
13694
13769
fi
13695
13770
 
13696
 
         if test "${attrib_enable}" = "yes"; then
13697
 
  ATTRIBPLUGIN_TRUE=
13698
 
  ATTRIBPLUGIN_FALSE='#'
 
13771
         if test "${gatt_example_enable}" = "yes"; then
 
13772
  GATT_EXAMPLE_PLUGIN_TRUE=
 
13773
  GATT_EXAMPLE_PLUGIN_FALSE='#'
13699
13774
else
13700
 
  ATTRIBPLUGIN_TRUE='#'
13701
 
  ATTRIBPLUGIN_FALSE=
 
13775
  GATT_EXAMPLE_PLUGIN_TRUE='#'
 
13776
  GATT_EXAMPLE_PLUGIN_FALSE=
13702
13777
fi
13703
13778
 
13704
13779
         if test "no" = "yes"; then
14158
14233
Usually this means the macro was only invoked conditionally." >&2;}
14159
14234
   { (exit 1); exit 1; }; }
14160
14235
fi
14161
 
if test -z "${ATTRIBPLUGIN_TRUE}" && test -z "${ATTRIBPLUGIN_FALSE}"; then
14162
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ATTRIBPLUGIN\" was never defined.
 
14236
if test -z "${GATT_EXAMPLE_PLUGIN_TRUE}" && test -z "${GATT_EXAMPLE_PLUGIN_FALSE}"; then
 
14237
  { { $as_echo "$as_me:$LINENO: error: conditional \"GATT_EXAMPLE_PLUGIN\" was never defined.
14163
14238
Usually this means the macro was only invoked conditionally." >&5
14164
 
$as_echo "$as_me: error: conditional \"ATTRIBPLUGIN\" was never defined.
 
14239
$as_echo "$as_me: error: conditional \"GATT_EXAMPLE_PLUGIN\" was never defined.
14165
14240
Usually this means the macro was only invoked conditionally." >&2;}
14166
14241
   { (exit 1); exit 1; }; }
14167
14242
fi
14606
14681
# report actual input values of CONFIG_FILES etc. instead of their
14607
14682
# values after options handling.
14608
14683
ac_log="
14609
 
This file was extended by bluez $as_me 4.91, which was
 
14684
This file was extended by bluez $as_me 4.93, which was
14610
14685
generated by GNU Autoconf 2.63.  Invocation command line was
14611
14686
 
14612
14687
  CONFIG_FILES    = $CONFIG_FILES
14669
14744
_ACEOF
14670
14745
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14671
14746
ac_cs_version="\\
14672
 
bluez config.status 4.91
 
14747
bluez config.status 4.93
14673
14748
configured by $0, generated by GNU Autoconf 2.63,
14674
14749
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14675
14750