X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=72890d86d3b18f7b86be0c56b79dea8abc555f05;hb=fe83d954f0a1a80e9e48008e0465edaaf0cd65ea;hp=120d72f20e8b0e0f419277233da30da76c3fa724;hpb=e86bdd95a8fd79f5d0e095dbfcfc383f75928dbe;p=framework%2Fconnectivity%2Fconnman.git diff --git a/configure.ac b/configure.ac index 120d72f..72890d8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.60) -AC_INIT(connman, 0.80) +AC_INIT(connman, 1.1) AM_INIT_AUTOMAKE([foreign subdir-objects color-tests]) AM_CONFIG_HEADER(config.h) @@ -61,10 +61,6 @@ AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads], [enable threading support]), [enable_threads=${enableval}], [enable_threads="no"]) -if (test "${enable_wifi}" != "no"); then - AC_PATH_PROG(WPASUPPLICANT, [wpa_supplicant], [], - $PATH:/sbin:/usr/sbin) -fi AC_ARG_ENABLE(hh2serial-gps, AC_HELP_STRING([--enable-hh2serial-gps], [enable hh2serial GPS support]), [enable_hh2serial_gps=${enableval}], [enable_hh2serial_gps="no"]) @@ -250,12 +246,6 @@ AC_ARG_ENABLE(iospm, AC_HELP_STRING([--enable-iospm], [enable Intel OSPM support]), [enable_iospm=${enableval}]) AM_CONDITIONAL(IOSPM, test "${enable_iospm}" = "yes") -AC_ARG_ENABLE(nmcompat, - AC_HELP_STRING([--enable-nmcompat], [enable nmcompat support]), - [enable_nmcompat=${enableval}], [enable_nmcompat="no"]) -AM_CONDITIONAL(NMCOMPAT, test "${enable_nmcompat}" != "no") -AM_CONDITIONAL(NMCOMPAT_BUILTIN, test "${enable_nmcompat}" = "builtin") - AC_ARG_ENABLE(tist, AC_HELP_STRING([--enable-tist], [enable TI Shared Transport support]), [enable_tist=${enableval}], [enable_tist="no"]) @@ -325,8 +315,17 @@ PKG_CHECK_MODULES(XTABLES, xtables, dummy=yes, AC_SUBST(XTABLES_CFLAGS) AC_SUBST(XTABLES_LIBS) -AC_ARG_ENABLE(polkit, - AC_HELP_STRING([--enable-polkit], [enable PolicyKit support]), +AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-test], + [enable test/example scripts]), [enable_test=${enableval}]) +AM_CONDITIONAL(TEST, test "${enable_test}" = "yes") + +AC_ARG_ENABLE(nmcompat, AC_HELP_STRING([--enable-nmcompat], + [enable Network Manager support]), + [enable_nmcompat=${enableval}], [enable_nmcompat="no"]) +AM_CONDITIONAL(NMCOMPAT, test "${enable_nmcompat}" != "no") + +AC_ARG_ENABLE(polkit, AC_HELP_STRING([--enable-polkit], + [enable PolicyKit support]), [enable_polkit=${enableval}], [enable_polkit="no"]) if (test "${enable_polkit}" != "no"); then POLKIT_DATADIR="`$PKG_CONFIG --variable=actiondir polkit`" @@ -337,38 +336,6 @@ if (test "${enable_polkit}" != "no"); then AC_SUBST(POLKIT_DATADIR) fi AM_CONDITIONAL(POLKIT, test "${enable_polkit}" != "no") -AM_CONDITIONAL(POLKIT_BUILTIN, test "${enable_polkit}" = "builtin") - -AC_ARG_ENABLE(client, AC_HELP_STRING([--enable-client], - [enable command line client]), [enable_client=${enableval}]) -AM_CONDITIONAL(CLIENT, test "${enable_client}" = "yes") - -AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools], - [enable testing tools]), [enable_tools=${enableval}]) -if (test "${enable_tools}" = "yes"); then - PKG_CHECK_MODULES(GNUTLS, gnutls, dummy=yes, - AC_MSG_ERROR(GnuTLS library is required)) - AC_SUBST(GNUTLS_CFLAGS) - AC_SUBST(GNUTLS_LIBS) - - AC_CHECK_HEADERS(linux/if_alg.h, dummy=yes, - AC_MSG_ERROR(User-space algorithm header files are required)) -fi -AM_CONDITIONAL(TOOLS, test "${enable_tools}" = "yes") - -AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-test], - [enable test/example scripts]), [enable_test=${enableval}]) -AM_CONDITIONAL(TEST, test "${enable_test}" = "yes") - -AC_ARG_ENABLE(capng, AC_HELP_STRING([--enable-capng], - [enable capabilities support]), [enable_capng=${enableval}]) -if (test "${enable_capng}" = "yes"); then - PKG_CHECK_MODULES(CAPNG, libcap-ng, dummy=yes, - AC_MSG_ERROR(Capabilities library is required)) - AC_SUBST(CAPNG_CFLAGS) - AC_SUBST(CAPNG_LIBS) - AC_DEFINE(HAVE_CAPNG, 1, [Define to 1 if you have capabilities library.]) -fi AC_ARG_ENABLE(loopback, AC_HELP_STRING([--disable-loopback], [disable loopback support]), @@ -385,7 +352,7 @@ AC_ARG_ENABLE(wifi, AC_HELP_STRING([--disable-wifi], [enable_wifi=${enableval}]) AM_CONDITIONAL(WIFI, test "${enable_wifi}" != "no") -AC_ARG_ENABLE(BLUETOOTH, AC_HELP_STRING([--disable-bluetooth], +AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--disable-bluetooth], [disable Bluetooth support]), [enable_bluetooth=${enableval}]) AM_CONDITIONAL(BLUETOOTH, test "${enable_bluetooth}" != "no") @@ -395,11 +362,41 @@ AC_ARG_ENABLE(ofono, AC_HELP_STRING([--disable-ofono], [enable_ofono=${enableval}]) AM_CONDITIONAL(OFONO, test "${enable_ofono}" != "no") +AC_ARG_ENABLE(dundee, AC_HELP_STRING([--disable-dundee], + [disable dundee support (Bluetooth DUN)]), + [enable_dundee=${enableval}]) +AM_CONDITIONAL(DUNDEE, test "${enable_dundee}" != "no") + AC_ARG_ENABLE(pacrunner, AC_HELP_STRING([--disable-pacrunner], [disable PACrunner support]), [enable_pacrunner=${enableval}]) AM_CONDITIONAL(PACRUNNER, test "${enable_pacrunner}" != "no") +AC_ARG_ENABLE(wispr, AC_HELP_STRING([--disable-wispr], + [disable WISPr support]), + [enable_wispr=${enableval}]) +AM_CONDITIONAL(WISPR, test "${enable_wispr}" != "no") + +AC_ARG_ENABLE(tools, AC_HELP_STRING([--disable-tools], + [disable testing tools]), + [enable_tools=${enableval}]) +AM_CONDITIONAL(TOOLS, test "${enable_tools}" != "no") + +AC_ARG_ENABLE(client, AC_HELP_STRING([--disable-client], + [disable command line client]), + [disable_client=${enableval}]) +AM_CONDITIONAL(CLIENT, test "${enable_client}" != "no") + +if (test "${enable_wispr}" != "no"); then + PKG_CHECK_MODULES(GNUTLS, gnutls, dummy=yes, + AC_MSG_ERROR(GnuTLS library is required)) +else + GNUTLS_CFLAGS="" + GNUTLS_LIBS="" +fi +AC_SUBST(GNUTLS_CFLAGS) +AC_SUBST(GNUTLS_LIBS) + if (test "${enable_loopback}" != "no"); then AC_CHECK_HEADERS(sys/inotify.h, dummy=yes, AC_MSG_ERROR(inotify header files are required))