#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ofono 1.8.
+# Generated by GNU Autoconf 2.69 for ofono 1.12.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# Identity of this package.
PACKAGE_NAME='ofono'
PACKAGE_TARNAME='ofono'
-PACKAGE_VERSION='1.8'
-PACKAGE_STRING='ofono 1.8'
+PACKAGE_VERSION='1.12'
+PACKAGE_STRING='ofono 1.12'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
CDMAMODEM_TRUE
ATMODEM_FALSE
ATMODEM_TRUE
+UDEV_FALSE
+UDEV_TRUE
+UDEV_DATADIR
+UDEV_LIBS
+UDEV_CFLAGS
DUNDEE_FALSE
DUNDEE_TRUE
TOOLS_FALSE
TOOLS_TRUE
USB_LIBS
USB_CFLAGS
-UDEV_FALSE
-UDEV_TRUE
-UDEV_DATADIR
-UDEV_LIBS
-UDEV_CFLAGS
+TEST_FALSE
+TEST_TRUE
SYSTEMD_FALSE
SYSTEMD_TRUE
SYSTEMD_UNITDIR
GTHREAD_CFLAGS
GLIB_LIBS
GLIB_CFLAGS
-TEST_FALSE
-TEST_TRUE
CPP
OTOOL64
OTOOL
enable_libtool_lock
enable_optimization
enable_debug
-enable_test
enable_pie
enable_threads
with_dbusconfdir
with_dbusdatadir
with_systemdunitdir
-enable_udev
+enable_test
enable_tools
enable_dundee
+enable_udev
enable_atmodem
enable_cdmamodem
enable_phonesim
GTHREAD_LIBS
DBUS_CFLAGS
DBUS_LIBS
-UDEV_CFLAGS
-UDEV_LIBS
USB_CFLAGS
USB_LIBS
+UDEV_CFLAGS
+UDEV_LIBS
BLUEZ_CFLAGS
BLUEZ_LIBS'
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures ofono 1.8 to adapt to many kinds of systems.
+\`configure' configures ofono 1.12 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of ofono 1.8:";;
+ short | recursive ) echo "Configuration of ofono 1.12:";;
esac
cat <<\_ACEOF
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-optimization disable code optimization through compiler
--enable-debug enable compiling with debugging information
- --enable-test enable test/example scripts
--enable-pie enable position independent executables flag
--enable-threads enable threading support
- --disable-udev don't use udev support even if available
+ --enable-test enable test/example scripts
--enable-tools enable testing tools
- --enable-dundee enable DUN deamon support
+ --enable-dundee enable dialup deamon support
+ --disable-udev disable udev modem detection support
--disable-atmodem disable ETSI AT modem support
--disable-cdmamodem disable CDMA AT modem support
--disable-phonesim disable Phone simulator support
linker flags for GTHREAD, overriding pkg-config
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
DBUS_LIBS linker flags for DBUS, overriding pkg-config
- UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
- UDEV_LIBS linker flags for UDEV, overriding pkg-config
USB_CFLAGS C compiler flags for USB, overriding pkg-config
USB_LIBS linker flags for USB, overriding pkg-config
+ UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
+ UDEV_LIBS linker flags for UDEV, overriding pkg-config
BLUEZ_CFLAGS
C compiler flags for BLUEZ, overriding pkg-config
BLUEZ_LIBS linker flags for BLUEZ, overriding pkg-config
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-ofono configure 1.8
+ofono configure 1.12
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by ofono $as_me 1.8, which was
+It was created by ofono $as_me 1.12, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='ofono'
- VERSION='1.8'
+ VERSION='1.12'
cat >>confdefs.h <<_ACEOF
$as_echo "$ac_cv_prog_cc_pie" >&6; }
-mkdir_p="$MKDIR_P"
-case $mkdir_p in
- [\\/$]* | ?:[\\/]*) ;;
- */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
fi
;;
-gnu*)
- lt_cv_deplibs_check_method=pass_all
- ;;
-
haiku*)
lt_cv_deplibs_check_method=pass_all
;;
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
lt_cv_deplibs_check_method=pass_all
;;
lt_prog_compiler_static='-non_shared'
;;
- linux* | k*bsd*-gnu | kopensolaris*-gnu)
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
# old Intel for x86_64 which still supported -KPIC.
ecc*)
esac
;;
-gnu*)
- version_type=linux # correct to gnu/linux during the next big refactor
- need_lib_prefix=no
- need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
- soname_spec='${libname}${release}${shared_ext}$major'
- shlibpath_var=LD_LIBRARY_PATH
- shlibpath_overrides_runpath=no
- hardcode_into_libs=yes
- ;;
-
haiku*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
;;
# This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
version_type=linux # correct to gnu/linux during the next big refactor
need_lib_prefix=no
need_version=no
fi
-# Check whether --enable-test was given.
-if test "${enable_test+set}" = set; then :
- enableval=$enable_test; enable_test=${enableval}
-fi
-
- if test "${enable_test}" = "yes"; then
- TEST_TRUE=
- TEST_FALSE='#'
-else
- TEST_TRUE='#'
- TEST_FALSE=
-fi
-
-
# Check whether --enable-pie was given.
if test "${enable_pie+set}" = set; then :
enableval=$enable_pie;
fi
-# Check whether --enable-udev was given.
-if test "${enable_udev+set}" = set; then :
- enableval=$enable_udev; enable_udev=${enableval}
+# Check whether --enable-test was given.
+if test "${enable_test+set}" = set; then :
+ enableval=$enable_test; enable_test=${enableval}
+fi
+
+ if test "${enable_test}" = "yes"; then
+ TEST_TRUE=
+ TEST_FALSE='#'
+else
+ TEST_TRUE='#'
+ TEST_FALSE=
fi
-if (test "${enable_udev}" != "no"); then
+
+# Check whether --enable-tools was given.
+if test "${enable_tools+set}" = set; then :
+ enableval=$enable_tools; enable_tools=${enableval}
+fi
+
+if (test "${enable_tools}" = "yes"); then
pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
-$as_echo_n "checking for UDEV... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB" >&5
+$as_echo_n "checking for USB... " >&6; }
-if test -n "$UDEV_CFLAGS"; then
- pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
+if test -n "$USB_CFLAGS"; then
+ pkg_cv_USB_CFLAGS="$USB_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 143" 2>/dev/null`
+ pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
else
pkg_failed=untried
fi
-if test -n "$UDEV_LIBS"; then
- pkg_cv_UDEV_LIBS="$UDEV_LIBS"
+if test -n "$USB_LIBS"; then
+ pkg_cv_USB_LIBS="$USB_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev >= 143" 2>/dev/null`
+ pkg_cv_USB_LIBS=`$PKG_CONFIG --libs "libusb-1.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev >= 143" 2>&1`
+ USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libusb-1.0" 2>&1`
else
- UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev >= 143" 2>&1`
+ USB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libusb-1.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
- echo "$UDEV_PKG_ERRORS" >&5
+ echo "$USB_PKG_ERRORS" >&5
- as_fn_error $? "libudev >= 143 is required" "$LINENO" 5
+ as_fn_error $? "USB library is required" "$LINENO" 5
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- as_fn_error $? "libudev >= 143 is required" "$LINENO" 5
+ as_fn_error $? "USB library is required" "$LINENO" 5
else
- UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
- UDEV_LIBS=$pkg_cv_UDEV_LIBS
+ USB_CFLAGS=$pkg_cv_USB_CFLAGS
+ USB_LIBS=$pkg_cv_USB_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- enable_udev="yes"
+ dummy=yes
fi
- UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`"
- if (test -z "${UDEV_DATADIR}"); then
- UDEV_DATADIR="${sysconfdir}/udev/rules.d"
- else
- UDEV_DATADIR="${UDEV_DATADIR}/rules.d"
- fi
+
+fi
+ if test "${enable_tools}" = "yes"; then
+ TOOLS_TRUE=
+ TOOLS_FALSE='#'
+else
+ TOOLS_TRUE='#'
+ TOOLS_FALSE=
fi
- if test "${enable_udev}" = "yes"; then
- UDEV_TRUE=
- UDEV_FALSE='#'
+# Check whether --enable-dundee was given.
+if test "${enable_dundee+set}" = set; then :
+ enableval=$enable_dundee; enable_dundee=${enableval}
+fi
+
+ if test "${enable_dundee}" = "yes"; then
+ DUNDEE_TRUE=
+ DUNDEE_FALSE='#'
else
- UDEV_TRUE='#'
- UDEV_FALSE=
+ DUNDEE_TRUE='#'
+ DUNDEE_FALSE=
fi
-# Check whether --enable-tools was given.
-if test "${enable_tools+set}" = set; then :
- enableval=$enable_tools; enable_tools=${enableval}
+# Check whether --enable-udev was given.
+if test "${enable_udev+set}" = set; then :
+ enableval=$enable_udev; enable_udev=${enableval}
fi
-if (test "${enable_tools}" = "yes"); then
+if (test "${enable_udev}" != "no"); then
pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for USB" >&5
-$as_echo_n "checking for USB... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
+$as_echo_n "checking for UDEV... " >&6; }
-if test -n "$USB_CFLAGS"; then
- pkg_cv_USB_CFLAGS="$USB_CFLAGS"
+if test -n "$UDEV_CFLAGS"; then
+ pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_USB_CFLAGS=`$PKG_CONFIG --cflags "libusb-1.0" 2>/dev/null`
+ pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 143" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
else
pkg_failed=untried
fi
-if test -n "$USB_LIBS"; then
- pkg_cv_USB_LIBS="$USB_LIBS"
+if test -n "$UDEV_LIBS"; then
+ pkg_cv_UDEV_LIBS="$UDEV_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libusb-1.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "libusb-1.0") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_USB_LIBS=`$PKG_CONFIG --libs "libusb-1.0" 2>/dev/null`
+ pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev >= 143" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- USB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libusb-1.0" 2>&1`
+ UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev >= 143" 2>&1`
else
- USB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libusb-1.0" 2>&1`
+ UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev >= 143" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
- echo "$USB_PKG_ERRORS" >&5
+ echo "$UDEV_PKG_ERRORS" >&5
- as_fn_error $? "USB library is required" "$LINENO" 5
+ as_fn_error $? "libudev >= 143 is required" "$LINENO" 5
elif test $pkg_failed = untried; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- as_fn_error $? "USB library is required" "$LINENO" 5
+ as_fn_error $? "libudev >= 143 is required" "$LINENO" 5
else
- USB_CFLAGS=$pkg_cv_USB_CFLAGS
- USB_LIBS=$pkg_cv_USB_LIBS
+ UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
+ UDEV_LIBS=$pkg_cv_UDEV_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- dummy=yes
+ enable_udev="yes"
fi
+ UDEV_DATADIR="`$PKG_CONFIG --variable=udevdir udev`"
+ if (test -z "${UDEV_DATADIR}"); then
+ UDEV_DATADIR="${sysconfdir}/udev/rules.d"
+ else
+ UDEV_DATADIR="${UDEV_DATADIR}/rules.d"
+ fi
-
-fi
- if test "${enable_tools}" = "yes"; then
- TOOLS_TRUE=
- TOOLS_FALSE='#'
-else
- TOOLS_TRUE='#'
- TOOLS_FALSE=
fi
-# Check whether --enable-dundee was given.
-if test "${enable_dundee+set}" = set; then :
- enableval=$enable_dundee; enable_dundee=${enableval}
-fi
-
- if test "${enable_dundee}" = "yes"; then
- DUNDEE_TRUE=
- DUNDEE_FALSE='#'
+ if test "${enable_udev}" = "yes"; then
+ UDEV_TRUE=
+ UDEV_FALSE='#'
else
- DUNDEE_TRUE='#'
- DUNDEE_FALSE=
+ UDEV_TRUE='#'
+ UDEV_FALSE=
fi
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
-if test -z "${TEST_TRUE}" && test -z "${TEST_FALSE}"; then
- as_fn_error $? "conditional \"TEST\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
if test -z "${SYSTEMD_TRUE}" && test -z "${SYSTEMD_FALSE}"; then
as_fn_error $? "conditional \"SYSTEMD\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
-if test -z "${UDEV_TRUE}" && test -z "${UDEV_FALSE}"; then
- as_fn_error $? "conditional \"UDEV\" was never defined.
+if test -z "${TEST_TRUE}" && test -z "${TEST_FALSE}"; then
+ as_fn_error $? "conditional \"TEST\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TOOLS_TRUE}" && test -z "${TOOLS_FALSE}"; then
as_fn_error $? "conditional \"DUNDEE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${UDEV_TRUE}" && test -z "${UDEV_FALSE}"; then
+ as_fn_error $? "conditional \"UDEV\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${ATMODEM_TRUE}" && test -z "${ATMODEM_FALSE}"; then
as_fn_error $? "conditional \"ATMODEM\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by ofono $as_me 1.8, which was
+This file was extended by ofono $as_me 1.12, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-ofono config.status 1.8
+ofono config.status 1.12
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"