This Is An App Called Blue Z It Makes Your Bluetooth Better On The Pre I Challenge Anyone Out There To Complete This App It Needs Some Work It's From John Tomawski On The Wiki Site And You Guys Be Sure To Give Him His Due For The Help and Your Selves If You Get This To Work The Wiki Link Is: New Bluetooth - WebOS Internals There You Can See How Far Along He Has Come














-#### BlueZ support (optional) ####
-
-# Check whether --enable-bluez was given.
-if test "${enable_bluez+set}" = set; then
- enableval=$enable_bluez;
- case "${enableval}" in
- yes) bluez=yes ;;
- no) bluez=no ;;
- *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-bluez" >&5
-$as_echo "$as_me: error: bad value ${enableval} for --disable-bluez" >&2;}
- { (exit 1); exit 1; }; } ;;
- esac
-
-else
- bluez=auto
-fi
-
-if test "x${bluez}" != xno ; then
-
-pkg_failed=no
-{ $as_echo "$as_me:$LINENO: checking for BLUEZ" >&5
-$as_echo_n "checking for BLUEZ... " >&6; }
-
-if test -n "$PKG_CONFIG"; then
- if test -n "$BLUEZ_CFLAGS"; then
- pkg_cv_BLUEZ_CFLAGS="$BLUEZ_CFLAGS"
- else
- if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" bluez >= 3.0 \"") >&5
- ($PKG_CONFIG --exists --print-errors " bluez >= 3.0 ") 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_BLUEZ_CFLAGS=`$PKG_CONFIG --cflags " bluez >= 3.0 " 2>/dev/null`
-else
- pkg_failed=yes
-fi
- fi
-else
- pkg_failed=untried
-fi
-if test -n "$PKG_CONFIG"; then
- if test -n "$BLUEZ_LIBS"; then
- pkg_cv_BLUEZ_LIBS="$BLUEZ_LIBS"
- else
- if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" bluez >= 3.0 \"") >&5
- ($PKG_CONFIG --exists --print-errors " bluez >= 3.0 ") 2>&5
- ac_status=$?
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- pkg_cv_BLUEZ_LIBS=`$PKG_CONFIG --libs " bluez >= 3.0 " 2>/dev/null`
-else
- pkg_failed=yes
-fi
- fi
-else
- pkg_failed=untried
-fi
-
-
-
-if test $pkg_failed = yes; then
-
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi
- if test $_pkg_short_errors_supported = yes; then
- BLUEZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " bluez >= 3.0 "`
- else
- BLUEZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " bluez >= 3.0 "`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$BLUEZ_PKG_ERRORS" >&5
-
- { $as_echo "$as_me:$LINENO: result: no" >&5
-$as_echo "no" >&6; }
-
- HAVE_BLUEZ=0
- if test "x$bluez" = xyes ; then
- { { $as_echo "$as_me:$LINENO: error: *** BLUEZ support not found" >&5
-$as_echo "$as_me: error: *** BLUEZ support not found" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-elif test $pkg_failed = untried; then
-
- HAVE_BLUEZ=0
- if test "x$bluez" = xyes ; then
- { { $as_echo "$as_me:$LINENO: error: *** BLUEZ support not found" >&5
-$as_echo "$as_me: error: *** BLUEZ support not found" >&2;}
- { (exit 1); exit 1; }; }
- fi
-
-else
- BLUEZ_CFLAGS=$pkg_cv_BLUEZ_CFLAGS
- BLUEZ_LIBS=$pkg_cv_BLUEZ_LIBS
- { $as_echo "$as_me:$LINENO: result: yes" >&5
-$as_echo "yes" >&6; }
- HAVE_BLUEZ=1
-fi
-else
- HAVE_BLUEZ=0
-fi
-
-
-
-
- if test "x$HAVE_BLUEZ" = x1; then
- HAVE_BLUEZ_TRUE=
- HAVE_BLUEZ_FALSE='#'
-else
- HAVE_BLUEZ_TRUE='#'
- HAVE_BLUEZ_FALSE=
-fi