X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=f460e0a956d8243793683583d1c2bac2386098a1;hb=0f5cebbe5d7468ffda331389b7c18938949d93a4;hp=967929539c754838439c7bcf4cf1a2888611f2b5;hpb=5ca2793d1c329ad7f1a21ced0c688a641467029e;p=platform%2Fcore%2Fuifw%2Flibtdm.git diff --git a/configure.ac b/configure.ac index 9679295..f460e0a 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,7 @@ AM_MAINTAINER_MODE([enable]) # Check for programs AC_PROG_CC +AC_PROG_CXX AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE @@ -30,6 +31,12 @@ LT_INIT([disable-static]) # Enable quiet compiles on automake 1.11. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +AC_ARG_WITH(utest, AS_HELP_STRING([--with-utest=yes/no], [whether build/run unit tests or not]), + [ utest="$withval" ], + [ utest="no" ]) + +AM_CONDITIONAL(HAVE_UTEST, test "x$utest" = "xyes") + AC_PATH_PROG([wayland_scanner], [wayland-scanner]) if test x$wayland_scanner = x; then AC_MSG_ERROR([wayland-scanner is needed to compile]) @@ -84,7 +91,8 @@ AC_OUTPUT([ src/Makefile client/libtdm-client.pc client/Makefile - tools/Makefile]) + tools/Makefile + ut/Makefile]) echo "" echo "$PACKAGE_STRING will be compiled with:"